github.com/gravitational/teleport/api@v0.0.0-20240507183017-3110591cbafc/types/types.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: teleport/legacy/types/types.proto 3 4 package types 5 6 import ( 7 bytes "bytes" 8 encoding_binary "encoding/binary" 9 fmt "fmt" 10 _ "github.com/gogo/protobuf/gogoproto" 11 proto "github.com/gogo/protobuf/proto" 12 github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" 13 github_com_gravitational_teleport_api_constants "github.com/gravitational/teleport/api/constants" 14 v1 "github.com/gravitational/teleport/api/gen/proto/go/attestation/v1" 15 _ "github.com/gravitational/teleport/api/types/wrappers" 16 github_com_gravitational_teleport_api_types_wrappers "github.com/gravitational/teleport/api/types/wrappers" 17 _ "google.golang.org/protobuf/types/known/timestamppb" 18 io "io" 19 math "math" 20 math_bits "math/bits" 21 time "time" 22 ) 23 24 // Reference imports to suppress errors if they are not otherwise used. 25 var _ = proto.Marshal 26 var _ = fmt.Errorf 27 var _ = math.Inf 28 var _ = time.Kitchen 29 30 // This is a compile-time assertion to ensure that this generated file 31 // is compatible with the proto package it is being compiled against. 32 // A compilation error at this line likely means your copy of the 33 // proto package needs to be updated. 34 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 35 36 // IAMPolicyStatus represents states that describe if an AWS database 37 // has its IAM policy properly configured or not. 38 // This enum is set in a Sync.Map during an IAM task that checks for the 39 // validity of IAM policy, and the database gets updated with the value 40 // from this map during a heartbeat. 41 type IAMPolicyStatus int32 42 43 const ( 44 // IAM_POLICY_STATUS_UNSPECIFIED represents a zero value where 45 // nothing has been attempted yet. 46 IAMPolicyStatus_IAM_POLICY_STATUS_UNSPECIFIED IAMPolicyStatus = 0 47 // IAM_POLICY_STATUS_PENDING represents a state where iam policy status 48 // is pending to be checked. This enum value is set at the start of 49 // registering a database -> IAM setup (before the db heartbeat starts). 50 // 51 // This state was required for two reasons: 52 // 1) To be able to tell apart from an older service that do not update 53 // the IAMPolicyStatus (in which case the enum value will remain the 54 // zero value). 55 // 2) When starting a database, the heartbeat and its IAM task starts, 56 // and the heartbeat may run first before the IAM task finishes. 57 IAMPolicyStatus_IAM_POLICY_STATUS_PENDING IAMPolicyStatus = 1 58 // IAM_POLICY_STATUS_FAILED represents a state where an error occured 59 // while checking for IAM policy status eg: no AWS credentials provider found 60 // or the policy was misconfigured. 61 IAMPolicyStatus_IAM_POLICY_STATUS_FAILED IAMPolicyStatus = 2 62 // IAM_POLICY_STATUS_SUCCESS represents a state where IAM policy was configured 63 // correctly. 64 IAMPolicyStatus_IAM_POLICY_STATUS_SUCCESS IAMPolicyStatus = 3 65 ) 66 67 var IAMPolicyStatus_name = map[int32]string{ 68 0: "IAM_POLICY_STATUS_UNSPECIFIED", 69 1: "IAM_POLICY_STATUS_PENDING", 70 2: "IAM_POLICY_STATUS_FAILED", 71 3: "IAM_POLICY_STATUS_SUCCESS", 72 } 73 74 var IAMPolicyStatus_value = map[string]int32{ 75 "IAM_POLICY_STATUS_UNSPECIFIED": 0, 76 "IAM_POLICY_STATUS_PENDING": 1, 77 "IAM_POLICY_STATUS_FAILED": 2, 78 "IAM_POLICY_STATUS_SUCCESS": 3, 79 } 80 81 func (x IAMPolicyStatus) String() string { 82 return proto.EnumName(IAMPolicyStatus_name, int32(x)) 83 } 84 85 func (IAMPolicyStatus) EnumDescriptor() ([]byte, []int) { 86 return fileDescriptor_9198ee693835762e, []int{0} 87 } 88 89 // DatabaseTLSMode represents the level of TLS verification performed by 90 // DB agent when connecting to a database. 91 type DatabaseTLSMode int32 92 93 const ( 94 // VERIFY_FULL performs full certificate validation. 95 DatabaseTLSMode_VERIFY_FULL DatabaseTLSMode = 0 96 // VERIFY_CA works the same as VERIFY_FULL, but it skips the hostname check. 97 DatabaseTLSMode_VERIFY_CA DatabaseTLSMode = 1 98 // INSECURE accepts any certificate provided by server. This is the least secure option. 99 DatabaseTLSMode_INSECURE DatabaseTLSMode = 2 100 ) 101 102 var DatabaseTLSMode_name = map[int32]string{ 103 0: "VERIFY_FULL", 104 1: "VERIFY_CA", 105 2: "INSECURE", 106 } 107 108 var DatabaseTLSMode_value = map[string]int32{ 109 "VERIFY_FULL": 0, 110 "VERIFY_CA": 1, 111 "INSECURE": 2, 112 } 113 114 func (x DatabaseTLSMode) String() string { 115 return proto.EnumName(DatabaseTLSMode_name, int32(x)) 116 } 117 118 func (DatabaseTLSMode) EnumDescriptor() ([]byte, []int) { 119 return fileDescriptor_9198ee693835762e, []int{1} 120 } 121 122 // PrivateKeyType is the storage type of a private key. 123 type PrivateKeyType int32 124 125 const ( 126 // RAW is a plaintext private key. 127 PrivateKeyType_RAW PrivateKeyType = 0 128 // PKCS11 is a private key backed by a PKCS11 device such as HSM. 129 PrivateKeyType_PKCS11 PrivateKeyType = 1 130 // GCP_KMS is a private key backed by GCP KMS. 131 PrivateKeyType_GCP_KMS PrivateKeyType = 2 132 // AWS_KMS is a private key backed by AWS KMS. 133 PrivateKeyType_AWS_KMS PrivateKeyType = 3 134 ) 135 136 var PrivateKeyType_name = map[int32]string{ 137 0: "RAW", 138 1: "PKCS11", 139 2: "GCP_KMS", 140 3: "AWS_KMS", 141 } 142 143 var PrivateKeyType_value = map[string]int32{ 144 "RAW": 0, 145 "PKCS11": 1, 146 "GCP_KMS": 2, 147 "AWS_KMS": 3, 148 } 149 150 func (x PrivateKeyType) String() string { 151 return proto.EnumName(PrivateKeyType_name, int32(x)) 152 } 153 154 func (PrivateKeyType) EnumDescriptor() ([]byte, []int) { 155 return fileDescriptor_9198ee693835762e, []int{2} 156 } 157 158 // ProxyListenerMode represents the cluster proxy listener mode. 159 type ProxyListenerMode int32 160 161 const ( 162 // Separate is the proxy listener mode indicating that proxies are running 163 // in separate listener mode where Teleport Proxy services use different listeners. 164 ProxyListenerMode_Separate ProxyListenerMode = 0 165 // Multiplex is the proxy listener mode indicating the proxy should use multiplex mode 166 // where all proxy services are multiplexed on a single proxy port. 167 ProxyListenerMode_Multiplex ProxyListenerMode = 1 168 ) 169 170 var ProxyListenerMode_name = map[int32]string{ 171 0: "Separate", 172 1: "Multiplex", 173 } 174 175 var ProxyListenerMode_value = map[string]int32{ 176 "Separate": 0, 177 "Multiplex": 1, 178 } 179 180 func (x ProxyListenerMode) String() string { 181 return proto.EnumName(ProxyListenerMode_name, int32(x)) 182 } 183 184 func (ProxyListenerMode) EnumDescriptor() ([]byte, []int) { 185 return fileDescriptor_9198ee693835762e, []int{3} 186 } 187 188 // RoutingStrategy determines the strategy used to route to nodes. 189 type RoutingStrategy int32 190 191 const ( 192 // UnambiguousMatch only routes to distinct nodes. 193 RoutingStrategy_UNAMBIGUOUS_MATCH RoutingStrategy = 0 194 // MostRecent routes to the most recently heartbeated node if duplicates are present. 195 RoutingStrategy_MOST_RECENT RoutingStrategy = 1 196 ) 197 198 var RoutingStrategy_name = map[int32]string{ 199 0: "UNAMBIGUOUS_MATCH", 200 1: "MOST_RECENT", 201 } 202 203 var RoutingStrategy_value = map[string]int32{ 204 "UNAMBIGUOUS_MATCH": 0, 205 "MOST_RECENT": 1, 206 } 207 208 func (x RoutingStrategy) String() string { 209 return proto.EnumName(RoutingStrategy_name, int32(x)) 210 } 211 212 func (RoutingStrategy) EnumDescriptor() ([]byte, []int) { 213 return fileDescriptor_9198ee693835762e, []int{4} 214 } 215 216 // UserTokenUsage contains additional information about the intended usage of a user token. 217 type UserTokenUsage int32 218 219 const ( 220 // Default value that implies token usage was not set. 221 UserTokenUsage_USER_TOKEN_USAGE_UNSPECIFIED UserTokenUsage = 0 222 // USER_TOKEN_RECOVER_PASSWORD is a request to recover password. 223 UserTokenUsage_USER_TOKEN_RECOVER_PASSWORD UserTokenUsage = 1 224 // USER_TOKEN_RECOVER_MFA is a request to recover a MFA. 225 UserTokenUsage_USER_TOKEN_RECOVER_MFA UserTokenUsage = 2 226 // USER_TOKEN_RENEWAL_BOT is a request to generate certificates 227 // for a bot user. 228 UserTokenUsage_USER_TOKEN_RENEWAL_BOT UserTokenUsage = 3 229 ) 230 231 var UserTokenUsage_name = map[int32]string{ 232 0: "USER_TOKEN_USAGE_UNSPECIFIED", 233 1: "USER_TOKEN_RECOVER_PASSWORD", 234 2: "USER_TOKEN_RECOVER_MFA", 235 3: "USER_TOKEN_RENEWAL_BOT", 236 } 237 238 var UserTokenUsage_value = map[string]int32{ 239 "USER_TOKEN_USAGE_UNSPECIFIED": 0, 240 "USER_TOKEN_RECOVER_PASSWORD": 1, 241 "USER_TOKEN_RECOVER_MFA": 2, 242 "USER_TOKEN_RENEWAL_BOT": 3, 243 } 244 245 func (x UserTokenUsage) String() string { 246 return proto.EnumName(UserTokenUsage_name, int32(x)) 247 } 248 249 func (UserTokenUsage) EnumDescriptor() ([]byte, []int) { 250 return fileDescriptor_9198ee693835762e, []int{5} 251 } 252 253 // RequestState represents the state of a request for escalated privilege. 254 type RequestState int32 255 256 const ( 257 // NONE variant exists to allow RequestState to be explicitly omitted 258 // in certain circumstances (e.g. in an AccessRequestFilter). 259 RequestState_NONE RequestState = 0 260 // PENDING variant is the default for newly created requests. 261 RequestState_PENDING RequestState = 1 262 // APPROVED variant indicates that a request has been accepted by 263 // an administrating party. 264 RequestState_APPROVED RequestState = 2 265 // DENIED variant indicates that a request has been rejected by 266 // an administrating party. 267 RequestState_DENIED RequestState = 3 268 // PROMOTED variant indicates that a request has been promoted to 269 // an access list. 270 RequestState_PROMOTED RequestState = 4 271 ) 272 273 var RequestState_name = map[int32]string{ 274 0: "NONE", 275 1: "PENDING", 276 2: "APPROVED", 277 3: "DENIED", 278 4: "PROMOTED", 279 } 280 281 var RequestState_value = map[string]int32{ 282 "NONE": 0, 283 "PENDING": 1, 284 "APPROVED": 2, 285 "DENIED": 3, 286 "PROMOTED": 4, 287 } 288 289 func (x RequestState) String() string { 290 return proto.EnumName(RequestState_name, int32(x)) 291 } 292 293 func (RequestState) EnumDescriptor() ([]byte, []int) { 294 return fileDescriptor_9198ee693835762e, []int{6} 295 } 296 297 type AccessRequestScope int32 298 299 const ( 300 // DEFAULT allows all requests to be viewed 301 AccessRequestScope_DEFAULT AccessRequestScope = 0 302 // MY_REQUESTS will return only requests created by the requester 303 AccessRequestScope_MY_REQUESTS AccessRequestScope = 1 304 // NEEDS_REVIEW will return only requests that were not created by 305 // the requester and do not include a review made by the requester 306 AccessRequestScope_NEEDS_REVIEW AccessRequestScope = 2 307 // REVIEWED will return only requests that were not created by 308 // the requester and have a review submitted by the requester. This 309 // can include requests that have no yet been completely approved/denied. 310 AccessRequestScope_REVIEWED AccessRequestScope = 3 311 ) 312 313 var AccessRequestScope_name = map[int32]string{ 314 0: "DEFAULT", 315 1: "MY_REQUESTS", 316 2: "NEEDS_REVIEW", 317 3: "REVIEWED", 318 } 319 320 var AccessRequestScope_value = map[string]int32{ 321 "DEFAULT": 0, 322 "MY_REQUESTS": 1, 323 "NEEDS_REVIEW": 2, 324 "REVIEWED": 3, 325 } 326 327 func (x AccessRequestScope) String() string { 328 return proto.EnumName(AccessRequestScope_name, int32(x)) 329 } 330 331 func (AccessRequestScope) EnumDescriptor() ([]byte, []int) { 332 return fileDescriptor_9198ee693835762e, []int{7} 333 } 334 335 // CreateHostUserMode determines whether host user creation should be 336 // disabled or if host users should be cleaned up or kept after 337 // sessions end. 338 type CreateHostUserMode int32 339 340 const ( 341 CreateHostUserMode_HOST_USER_MODE_UNSPECIFIED CreateHostUserMode = 0 342 // HOST_USER_MODE_OFF disables host user creation. 343 CreateHostUserMode_HOST_USER_MODE_OFF CreateHostUserMode = 1 344 // HOST_USER_MODE_DROP enables host user creation and deletes users at session end. 345 // Deprecated: replaced by HOST_USER_MODE_INSECURE_DROP. 346 CreateHostUserMode_HOST_USER_MODE_DROP CreateHostUserMode = 2 // Deprecated: Do not use. 347 // HOST_USER_MODE_KEEP enables host user creation and leaves users behind at session end. 348 CreateHostUserMode_HOST_USER_MODE_KEEP CreateHostUserMode = 3 349 // HOST_USER_MODE_INSECURE_DROP enables host user creation without a home directory and deletes 350 // users at session end. 351 CreateHostUserMode_HOST_USER_MODE_INSECURE_DROP CreateHostUserMode = 4 352 ) 353 354 var CreateHostUserMode_name = map[int32]string{ 355 0: "HOST_USER_MODE_UNSPECIFIED", 356 1: "HOST_USER_MODE_OFF", 357 2: "HOST_USER_MODE_DROP", 358 3: "HOST_USER_MODE_KEEP", 359 4: "HOST_USER_MODE_INSECURE_DROP", 360 } 361 362 var CreateHostUserMode_value = map[string]int32{ 363 "HOST_USER_MODE_UNSPECIFIED": 0, 364 "HOST_USER_MODE_OFF": 1, 365 "HOST_USER_MODE_DROP": 2, 366 "HOST_USER_MODE_KEEP": 3, 367 "HOST_USER_MODE_INSECURE_DROP": 4, 368 } 369 370 func (x CreateHostUserMode) String() string { 371 return proto.EnumName(CreateHostUserMode_name, int32(x)) 372 } 373 374 func (CreateHostUserMode) EnumDescriptor() ([]byte, []int) { 375 return fileDescriptor_9198ee693835762e, []int{8} 376 } 377 378 // CreateDatabaseUserMode determines whether database user creation should be 379 // disabled or if users should be cleaned up or kept after sessions end. 380 type CreateDatabaseUserMode int32 381 382 const ( 383 CreateDatabaseUserMode_DB_USER_MODE_UNSPECIFIED CreateDatabaseUserMode = 0 384 // DB_USER_MODE_OFF disables user creation. 385 CreateDatabaseUserMode_DB_USER_MODE_OFF CreateDatabaseUserMode = 1 386 // DB_USER_MODE_KEEP allows user creation and disable users at session end. 387 CreateDatabaseUserMode_DB_USER_MODE_KEEP CreateDatabaseUserMode = 2 388 // DB_USER_MODE_BEST_EFFORT_DROP allows user creation and tries to drop user 389 // at session end. If the drop fails, fallback to disabling them. 390 CreateDatabaseUserMode_DB_USER_MODE_BEST_EFFORT_DROP CreateDatabaseUserMode = 3 391 ) 392 393 var CreateDatabaseUserMode_name = map[int32]string{ 394 0: "DB_USER_MODE_UNSPECIFIED", 395 1: "DB_USER_MODE_OFF", 396 2: "DB_USER_MODE_KEEP", 397 3: "DB_USER_MODE_BEST_EFFORT_DROP", 398 } 399 400 var CreateDatabaseUserMode_value = map[string]int32{ 401 "DB_USER_MODE_UNSPECIFIED": 0, 402 "DB_USER_MODE_OFF": 1, 403 "DB_USER_MODE_KEEP": 2, 404 "DB_USER_MODE_BEST_EFFORT_DROP": 3, 405 } 406 407 func (x CreateDatabaseUserMode) String() string { 408 return proto.EnumName(CreateDatabaseUserMode_name, int32(x)) 409 } 410 411 func (CreateDatabaseUserMode) EnumDescriptor() ([]byte, []int) { 412 return fileDescriptor_9198ee693835762e, []int{9} 413 } 414 415 // CertExtensionMode specifies the type of extension to use in the cert. 416 type CertExtensionMode int32 417 418 const ( 419 // EXTENSION represents a cert extension that may or may not be 420 // honored by the server. 421 CertExtensionMode_EXTENSION CertExtensionMode = 0 422 ) 423 424 var CertExtensionMode_name = map[int32]string{ 425 0: "EXTENSION", 426 } 427 428 var CertExtensionMode_value = map[string]int32{ 429 "EXTENSION": 0, 430 } 431 432 func (x CertExtensionMode) String() string { 433 return proto.EnumName(CertExtensionMode_name, int32(x)) 434 } 435 436 func (CertExtensionMode) EnumDescriptor() ([]byte, []int) { 437 return fileDescriptor_9198ee693835762e, []int{10} 438 } 439 440 // CertExtensionType represents the certificate type the extension is for. 441 // Currently only ssh is supported. 442 type CertExtensionType int32 443 444 const ( 445 // SSH is used when extending an ssh certificate 446 CertExtensionType_SSH CertExtensionType = 0 447 ) 448 449 var CertExtensionType_name = map[int32]string{ 450 0: "SSH", 451 } 452 453 var CertExtensionType_value = map[string]int32{ 454 "SSH": 0, 455 } 456 457 func (x CertExtensionType) String() string { 458 return proto.EnumName(CertExtensionType_name, int32(x)) 459 } 460 461 func (CertExtensionType) EnumDescriptor() ([]byte, []int) { 462 return fileDescriptor_9198ee693835762e, []int{11} 463 } 464 465 // PasswordState indicates what is known about existence of user's password. 466 type PasswordState int32 467 468 const ( 469 // Unable to tell whether the password has been configured. 470 PasswordState_PASSWORD_STATE_UNSPECIFIED PasswordState = 0 471 // Password is known to be not configured. 472 PasswordState_PASSWORD_STATE_UNSET PasswordState = 1 473 // Password is known to be configured. 474 PasswordState_PASSWORD_STATE_SET PasswordState = 2 475 ) 476 477 var PasswordState_name = map[int32]string{ 478 0: "PASSWORD_STATE_UNSPECIFIED", 479 1: "PASSWORD_STATE_UNSET", 480 2: "PASSWORD_STATE_SET", 481 } 482 483 var PasswordState_value = map[string]int32{ 484 "PASSWORD_STATE_UNSPECIFIED": 0, 485 "PASSWORD_STATE_UNSET": 1, 486 "PASSWORD_STATE_SET": 2, 487 } 488 489 func (x PasswordState) String() string { 490 return proto.EnumName(PasswordState_name, int32(x)) 491 } 492 493 func (PasswordState) EnumDescriptor() ([]byte, []int) { 494 return fileDescriptor_9198ee693835762e, []int{12} 495 } 496 497 // SessionState represents the state of a session. 498 type SessionState int32 499 500 const ( 501 // Pending variant represents a session that is waiting on participants to fulfill the criteria 502 // to start the session. 503 SessionState_SessionStatePending SessionState = 0 504 // Running variant represents a session that has had it's criteria for starting 505 // fulfilled at least once and has transitioned to a RUNNING state. 506 SessionState_SessionStateRunning SessionState = 1 507 // Terminated variant represents a session that is no longer running and due for removal. 508 SessionState_SessionStateTerminated SessionState = 2 509 ) 510 511 var SessionState_name = map[int32]string{ 512 0: "SessionStatePending", 513 1: "SessionStateRunning", 514 2: "SessionStateTerminated", 515 } 516 517 var SessionState_value = map[string]int32{ 518 "SessionStatePending": 0, 519 "SessionStateRunning": 1, 520 "SessionStateTerminated": 2, 521 } 522 523 func (x SessionState) String() string { 524 return proto.EnumName(SessionState_name, int32(x)) 525 } 526 527 func (SessionState) EnumDescriptor() ([]byte, []int) { 528 return fileDescriptor_9198ee693835762e, []int{13} 529 } 530 531 // AlertSeverity represents how problematic/urgent an alert is, and is used to assist 532 // in sorting alerts for display. 533 type AlertSeverity int32 534 535 const ( 536 AlertSeverity_LOW AlertSeverity = 0 537 AlertSeverity_MEDIUM AlertSeverity = 5 538 AlertSeverity_HIGH AlertSeverity = 10 539 ) 540 541 var AlertSeverity_name = map[int32]string{ 542 0: "LOW", 543 5: "MEDIUM", 544 10: "HIGH", 545 } 546 547 var AlertSeverity_value = map[string]int32{ 548 "LOW": 0, 549 "MEDIUM": 5, 550 "HIGH": 10, 551 } 552 553 func (x AlertSeverity) String() string { 554 return proto.EnumName(AlertSeverity_name, int32(x)) 555 } 556 557 func (AlertSeverity) EnumDescriptor() ([]byte, []int) { 558 return fileDescriptor_9198ee693835762e, []int{14} 559 } 560 561 // RequireMFAType is a type of MFA requirement enforced outside of login, 562 // such as per-session MFA or per-request PIV touch. 563 type RequireMFAType int32 564 565 const ( 566 // OFF means additional MFA enforcement is not enabled. 567 RequireMFAType_OFF RequireMFAType = 0 568 // SESSION means MFA is required to begin server sessions. 569 RequireMFAType_SESSION RequireMFAType = 1 570 // SESSION_AND_HARDWARE_KEY means MFA is required to begin server sessions, 571 // and login sessions must use a private key backed by a hardware key. 572 RequireMFAType_SESSION_AND_HARDWARE_KEY RequireMFAType = 2 573 // HARDWARE_KEY_TOUCH means login sessions must use a hardware private key that 574 // requires touch to be used. 575 RequireMFAType_HARDWARE_KEY_TOUCH RequireMFAType = 3 576 // HARDWARE_KEY_PIN means login sessions must use a hardware private key that 577 // requires pin to be used. 578 RequireMFAType_HARDWARE_KEY_PIN RequireMFAType = 4 579 // HARDWARE_KEY_TOUCH_AND_PIN means login sessions must use a hardware private key that 580 // requires touch and pin to be used. 581 RequireMFAType_HARDWARE_KEY_TOUCH_AND_PIN RequireMFAType = 5 582 ) 583 584 var RequireMFAType_name = map[int32]string{ 585 0: "OFF", 586 1: "SESSION", 587 2: "SESSION_AND_HARDWARE_KEY", 588 3: "HARDWARE_KEY_TOUCH", 589 4: "HARDWARE_KEY_PIN", 590 5: "HARDWARE_KEY_TOUCH_AND_PIN", 591 } 592 593 var RequireMFAType_value = map[string]int32{ 594 "OFF": 0, 595 "SESSION": 1, 596 "SESSION_AND_HARDWARE_KEY": 2, 597 "HARDWARE_KEY_TOUCH": 3, 598 "HARDWARE_KEY_PIN": 4, 599 "HARDWARE_KEY_TOUCH_AND_PIN": 5, 600 } 601 602 func (x RequireMFAType) String() string { 603 return proto.EnumName(RequireMFAType_name, int32(x)) 604 } 605 606 func (RequireMFAType) EnumDescriptor() ([]byte, []int) { 607 return fileDescriptor_9198ee693835762e, []int{15} 608 } 609 610 type PluginStatusCode int32 611 612 const ( 613 // UNKNOWN is the default value when the plugin has not reported its status yet. 614 PluginStatusCode_UNKNOWN PluginStatusCode = 0 615 // RUNNING means the plugin reports running successfully. 616 PluginStatusCode_RUNNING PluginStatusCode = 1 617 // OTHER_ERROR indicates that an otherwise-unspecified error has been encountered. 618 PluginStatusCode_OTHER_ERROR PluginStatusCode = 2 619 // UNAUTHORIZED indicates that plugin is not able to authenticate to the 3rd party API. 620 // This could be a result of e.g. the user revoking the authorization on the API provider's side. 621 PluginStatusCode_UNAUTHORIZED PluginStatusCode = 3 622 // SLACK_NOT_IN_CHANNEL is a Slack-specific status code that indicates 623 // that the bot has not been invited to a channel that it is configured to post in. 624 PluginStatusCode_SLACK_NOT_IN_CHANNEL PluginStatusCode = 10 625 ) 626 627 var PluginStatusCode_name = map[int32]string{ 628 0: "UNKNOWN", 629 1: "RUNNING", 630 2: "OTHER_ERROR", 631 3: "UNAUTHORIZED", 632 10: "SLACK_NOT_IN_CHANNEL", 633 } 634 635 var PluginStatusCode_value = map[string]int32{ 636 "UNKNOWN": 0, 637 "RUNNING": 1, 638 "OTHER_ERROR": 2, 639 "UNAUTHORIZED": 3, 640 "SLACK_NOT_IN_CHANNEL": 10, 641 } 642 643 func (x PluginStatusCode) String() string { 644 return proto.EnumName(PluginStatusCode_name, int32(x)) 645 } 646 647 func (PluginStatusCode) EnumDescriptor() ([]byte, []int) { 648 return fileDescriptor_9198ee693835762e, []int{16} 649 } 650 651 // HeadlessAuthenticationState is a headless authentication state. 652 type HeadlessAuthenticationState int32 653 654 const ( 655 HeadlessAuthenticationState_HEADLESS_AUTHENTICATION_STATE_UNSPECIFIED HeadlessAuthenticationState = 0 656 // authentication pending. 657 HeadlessAuthenticationState_HEADLESS_AUTHENTICATION_STATE_PENDING HeadlessAuthenticationState = 1 658 // authentication denied. 659 HeadlessAuthenticationState_HEADLESS_AUTHENTICATION_STATE_DENIED HeadlessAuthenticationState = 2 660 // authentication approved. 661 HeadlessAuthenticationState_HEADLESS_AUTHENTICATION_STATE_APPROVED HeadlessAuthenticationState = 3 662 ) 663 664 var HeadlessAuthenticationState_name = map[int32]string{ 665 0: "HEADLESS_AUTHENTICATION_STATE_UNSPECIFIED", 666 1: "HEADLESS_AUTHENTICATION_STATE_PENDING", 667 2: "HEADLESS_AUTHENTICATION_STATE_DENIED", 668 3: "HEADLESS_AUTHENTICATION_STATE_APPROVED", 669 } 670 671 var HeadlessAuthenticationState_value = map[string]int32{ 672 "HEADLESS_AUTHENTICATION_STATE_UNSPECIFIED": 0, 673 "HEADLESS_AUTHENTICATION_STATE_PENDING": 1, 674 "HEADLESS_AUTHENTICATION_STATE_DENIED": 2, 675 "HEADLESS_AUTHENTICATION_STATE_APPROVED": 3, 676 } 677 678 func (x HeadlessAuthenticationState) String() string { 679 return proto.EnumName(HeadlessAuthenticationState_name, int32(x)) 680 } 681 682 func (HeadlessAuthenticationState) EnumDescriptor() ([]byte, []int) { 683 return fileDescriptor_9198ee693835762e, []int{17} 684 } 685 686 // The type of a KeepAlive. When adding a new type, please double-check 687 // lib/usagereporter/teleport to see if we need any change in the resource 688 // heartbeat event. 689 type KeepAlive_KeepAliveType int32 690 691 const ( 692 KeepAlive_UNKNOWN KeepAlive_KeepAliveType = 0 693 // "node", KindNode. For the sake of correct usage reporting, it shouldn't 694 // be used for OpenSSH nodes. 695 KeepAlive_NODE KeepAlive_KeepAliveType = 1 696 // "app_server", KindAppServer 697 KeepAlive_APP KeepAlive_KeepAliveType = 2 698 // "db_server", KindDatabaseServer 699 KeepAlive_DATABASE KeepAlive_KeepAliveType = 3 700 // "windows_desktop_service", KindWindowsDesktopService 701 KeepAlive_WINDOWS_DESKTOP KeepAlive_KeepAliveType = 4 702 // "kube_server", KindKubeServer 703 KeepAlive_KUBERNETES KeepAlive_KeepAliveType = 5 704 // "db_service", KindDatabaseService 705 KeepAlive_DATABASE_SERVICE KeepAlive_KeepAliveType = 6 706 ) 707 708 var KeepAlive_KeepAliveType_name = map[int32]string{ 709 0: "UNKNOWN", 710 1: "NODE", 711 2: "APP", 712 3: "DATABASE", 713 4: "WINDOWS_DESKTOP", 714 5: "KUBERNETES", 715 6: "DATABASE_SERVICE", 716 } 717 718 var KeepAlive_KeepAliveType_value = map[string]int32{ 719 "UNKNOWN": 0, 720 "NODE": 1, 721 "APP": 2, 722 "DATABASE": 3, 723 "WINDOWS_DESKTOP": 4, 724 "KUBERNETES": 5, 725 "DATABASE_SERVICE": 6, 726 } 727 728 func (x KeepAlive_KeepAliveType) String() string { 729 return proto.EnumName(KeepAlive_KeepAliveType_name, int32(x)) 730 } 731 732 func (KeepAlive_KeepAliveType) EnumDescriptor() ([]byte, []int) { 733 return fileDescriptor_9198ee693835762e, []int{0, 0} 734 } 735 736 // SigningAlg is the algorithm used for signing new SSH certificates using 737 // SigningKeys. 738 type CertAuthoritySpecV2_SigningAlgType int32 739 740 const ( 741 CertAuthoritySpecV2_UNKNOWN CertAuthoritySpecV2_SigningAlgType = 0 742 CertAuthoritySpecV2_RSA_SHA1 CertAuthoritySpecV2_SigningAlgType = 1 743 CertAuthoritySpecV2_RSA_SHA2_256 CertAuthoritySpecV2_SigningAlgType = 2 744 CertAuthoritySpecV2_RSA_SHA2_512 CertAuthoritySpecV2_SigningAlgType = 3 745 ) 746 747 var CertAuthoritySpecV2_SigningAlgType_name = map[int32]string{ 748 0: "UNKNOWN", 749 1: "RSA_SHA1", 750 2: "RSA_SHA2_256", 751 3: "RSA_SHA2_512", 752 } 753 754 var CertAuthoritySpecV2_SigningAlgType_value = map[string]int32{ 755 "UNKNOWN": 0, 756 "RSA_SHA1": 1, 757 "RSA_SHA2_256": 2, 758 "RSA_SHA2_512": 3, 759 } 760 761 func (x CertAuthoritySpecV2_SigningAlgType) String() string { 762 return proto.EnumName(CertAuthoritySpecV2_SigningAlgType_name, int32(x)) 763 } 764 765 func (CertAuthoritySpecV2_SigningAlgType) EnumDescriptor() ([]byte, []int) { 766 return fileDescriptor_9198ee693835762e, []int{51, 0} 767 } 768 769 // FIPSEndpointState represents an AWS FIPS endpoint state. 770 type ClusterAuditConfigSpecV2_FIPSEndpointState int32 771 772 const ( 773 // FIPS_UNSET allows setting FIPS state for AWS S3/Dynamo using configuration files or 774 // environment variables 775 ClusterAuditConfigSpecV2_FIPS_UNSET ClusterAuditConfigSpecV2_FIPSEndpointState = 0 776 // FIPS_ENABLED explicitly enables FIPS support for AWS S3/Dynamo 777 ClusterAuditConfigSpecV2_FIPS_ENABLED ClusterAuditConfigSpecV2_FIPSEndpointState = 1 778 // FIPS_DISABLED explicitly disables FIPS support for AWS S3/Dynamo 779 ClusterAuditConfigSpecV2_FIPS_DISABLED ClusterAuditConfigSpecV2_FIPSEndpointState = 2 780 ) 781 782 var ClusterAuditConfigSpecV2_FIPSEndpointState_name = map[int32]string{ 783 0: "FIPS_UNSET", 784 1: "FIPS_ENABLED", 785 2: "FIPS_DISABLED", 786 } 787 788 var ClusterAuditConfigSpecV2_FIPSEndpointState_value = map[string]int32{ 789 "FIPS_UNSET": 0, 790 "FIPS_ENABLED": 1, 791 "FIPS_DISABLED": 2, 792 } 793 794 func (x ClusterAuditConfigSpecV2_FIPSEndpointState) String() string { 795 return proto.EnumName(ClusterAuditConfigSpecV2_FIPSEndpointState_name, int32(x)) 796 } 797 798 func (ClusterAuditConfigSpecV2_FIPSEndpointState) EnumDescriptor() ([]byte, []int) { 799 return fileDescriptor_9198ee693835762e, []int{72, 0} 800 } 801 802 // TraceType is an identification of the checkpoint. 803 type ConnectionDiagnosticTrace_TraceType int32 804 805 const ( 806 ConnectionDiagnosticTrace_TRACE_TYPE_UNSPECIFIED ConnectionDiagnosticTrace_TraceType = 0 807 // UNKNOWN_ERROR is used when we don't know the error. 808 // It's not always possible to offer guidance based on the received error. 809 // This trace type should be used when the error is too generic given the context we 810 // have. 811 ConnectionDiagnosticTrace_UNKNOWN_ERROR ConnectionDiagnosticTrace_TraceType = 1 812 // RBAC_NODE is for RBAC checks for the node. 813 ConnectionDiagnosticTrace_RBAC_NODE ConnectionDiagnosticTrace_TraceType = 2 814 // CONNECTIVITY is for network connectivity checks. 815 ConnectionDiagnosticTrace_CONNECTIVITY ConnectionDiagnosticTrace_TraceType = 3 816 // RBAC_PRINCIPAL is used when checking if the principal is allowed per RBAC rules. 817 ConnectionDiagnosticTrace_RBAC_PRINCIPAL ConnectionDiagnosticTrace_TraceType = 4 818 // NODE_PRINCIPAL is used when checking if the Node has the requested principal. 819 ConnectionDiagnosticTrace_NODE_PRINCIPAL ConnectionDiagnosticTrace_TraceType = 5 820 // RBAC_KUBE is for RBAC checks to kubernetes the cluster. 821 ConnectionDiagnosticTrace_RBAC_KUBE ConnectionDiagnosticTrace_TraceType = 6 822 // KUBE_PRINCIPAL is used when checking if the Kube Cluster has at least one user principals. 823 ConnectionDiagnosticTrace_KUBE_PRINCIPAL ConnectionDiagnosticTrace_TraceType = 7 824 // RBAC_DATABASE is for RBAC checks to database access (db_labels). 825 ConnectionDiagnosticTrace_RBAC_DATABASE ConnectionDiagnosticTrace_TraceType = 8 826 // RBAC_DATABASE_LOGIN is for RBAC checks to database login (db_name and db_user). 827 ConnectionDiagnosticTrace_RBAC_DATABASE_LOGIN ConnectionDiagnosticTrace_TraceType = 9 828 // DATABASE_DB_USER is used when checking whether the Database has the requested Database User. 829 ConnectionDiagnosticTrace_DATABASE_DB_USER ConnectionDiagnosticTrace_TraceType = 10 830 // DATABASE_DB_NAME is used when checking whether the Database has the requested Database Name. 831 ConnectionDiagnosticTrace_DATABASE_DB_NAME ConnectionDiagnosticTrace_TraceType = 11 832 ) 833 834 var ConnectionDiagnosticTrace_TraceType_name = map[int32]string{ 835 0: "TRACE_TYPE_UNSPECIFIED", 836 1: "UNKNOWN_ERROR", 837 2: "RBAC_NODE", 838 3: "CONNECTIVITY", 839 4: "RBAC_PRINCIPAL", 840 5: "NODE_PRINCIPAL", 841 6: "RBAC_KUBE", 842 7: "KUBE_PRINCIPAL", 843 8: "RBAC_DATABASE", 844 9: "RBAC_DATABASE_LOGIN", 845 10: "DATABASE_DB_USER", 846 11: "DATABASE_DB_NAME", 847 } 848 849 var ConnectionDiagnosticTrace_TraceType_value = map[string]int32{ 850 "TRACE_TYPE_UNSPECIFIED": 0, 851 "UNKNOWN_ERROR": 1, 852 "RBAC_NODE": 2, 853 "CONNECTIVITY": 3, 854 "RBAC_PRINCIPAL": 4, 855 "NODE_PRINCIPAL": 5, 856 "RBAC_KUBE": 6, 857 "KUBE_PRINCIPAL": 7, 858 "RBAC_DATABASE": 8, 859 "RBAC_DATABASE_LOGIN": 9, 860 "DATABASE_DB_USER": 10, 861 "DATABASE_DB_NAME": 11, 862 } 863 864 func (x ConnectionDiagnosticTrace_TraceType) String() string { 865 return proto.EnumName(ConnectionDiagnosticTrace_TraceType_name, int32(x)) 866 } 867 868 func (ConnectionDiagnosticTrace_TraceType) EnumDescriptor() ([]byte, []int) { 869 return fileDescriptor_9198ee693835762e, []int{241, 0} 870 } 871 872 // StatusType describes whether this was a success or a failure. 873 type ConnectionDiagnosticTrace_StatusType int32 874 875 const ( 876 ConnectionDiagnosticTrace_STATUS_UNSPECIFIED ConnectionDiagnosticTrace_StatusType = 0 877 ConnectionDiagnosticTrace_SUCCESS ConnectionDiagnosticTrace_StatusType = 1 878 ConnectionDiagnosticTrace_FAILED ConnectionDiagnosticTrace_StatusType = 2 879 ) 880 881 var ConnectionDiagnosticTrace_StatusType_name = map[int32]string{ 882 0: "STATUS_UNSPECIFIED", 883 1: "SUCCESS", 884 2: "FAILED", 885 } 886 887 var ConnectionDiagnosticTrace_StatusType_value = map[string]int32{ 888 "STATUS_UNSPECIFIED": 0, 889 "SUCCESS": 1, 890 "FAILED": 2, 891 } 892 893 func (x ConnectionDiagnosticTrace_StatusType) String() string { 894 return proto.EnumName(ConnectionDiagnosticTrace_StatusType_name, int32(x)) 895 } 896 897 func (ConnectionDiagnosticTrace_StatusType) EnumDescriptor() ([]byte, []int) { 898 return fileDescriptor_9198ee693835762e, []int{241, 1} 899 } 900 901 // OktaAssignmentStatus represents the status of an Okta assignment. 902 type OktaAssignmentSpecV1_OktaAssignmentStatus int32 903 904 const ( 905 // UNKNOWN indicates the status is not set. 906 OktaAssignmentSpecV1_UNKNOWN OktaAssignmentSpecV1_OktaAssignmentStatus = 0 907 // PENDING indicates the action has not yet been applied. 908 OktaAssignmentSpecV1_PENDING OktaAssignmentSpecV1_OktaAssignmentStatus = 1 909 // PROCESSSING indicates that the assignment is being applied. 910 OktaAssignmentSpecV1_PROCESSING OktaAssignmentSpecV1_OktaAssignmentStatus = 2 911 // SUCCESSFUL indicates the action was applied successfully. 912 OktaAssignmentSpecV1_SUCCESSFUL OktaAssignmentSpecV1_OktaAssignmentStatus = 3 913 // FAILED indicates the action was not applied successfully. It will be retried. 914 OktaAssignmentSpecV1_FAILED OktaAssignmentSpecV1_OktaAssignmentStatus = 4 915 ) 916 917 var OktaAssignmentSpecV1_OktaAssignmentStatus_name = map[int32]string{ 918 0: "UNKNOWN", 919 1: "PENDING", 920 2: "PROCESSING", 921 3: "SUCCESSFUL", 922 4: "FAILED", 923 } 924 925 var OktaAssignmentSpecV1_OktaAssignmentStatus_value = map[string]int32{ 926 "UNKNOWN": 0, 927 "PENDING": 1, 928 "PROCESSING": 2, 929 "SUCCESSFUL": 3, 930 "FAILED": 4, 931 } 932 933 func (x OktaAssignmentSpecV1_OktaAssignmentStatus) String() string { 934 return proto.EnumName(OktaAssignmentSpecV1_OktaAssignmentStatus_name, int32(x)) 935 } 936 937 func (OktaAssignmentSpecV1_OktaAssignmentStatus) EnumDescriptor() ([]byte, []int) { 938 return fileDescriptor_9198ee693835762e, []int{301, 0} 939 } 940 941 // OktaAssignmentTargetType is the type of Okta object that an assignment is targeting. 942 type OktaAssignmentTargetV1_OktaAssignmentTargetType int32 943 944 const ( 945 // UNKNOWN indicates the target is unknown. 946 OktaAssignmentTargetV1_UNKNOWN OktaAssignmentTargetV1_OktaAssignmentTargetType = 0 947 // APPLICATION indicates the target is an application. 948 OktaAssignmentTargetV1_APPLICATION OktaAssignmentTargetV1_OktaAssignmentTargetType = 1 949 // GROUP indicates the target is a group. 950 OktaAssignmentTargetV1_GROUP OktaAssignmentTargetV1_OktaAssignmentTargetType = 2 951 ) 952 953 var OktaAssignmentTargetV1_OktaAssignmentTargetType_name = map[int32]string{ 954 0: "UNKNOWN", 955 1: "APPLICATION", 956 2: "GROUP", 957 } 958 959 var OktaAssignmentTargetV1_OktaAssignmentTargetType_value = map[string]int32{ 960 "UNKNOWN": 0, 961 "APPLICATION": 1, 962 "GROUP": 2, 963 } 964 965 func (x OktaAssignmentTargetV1_OktaAssignmentTargetType) String() string { 966 return proto.EnumName(OktaAssignmentTargetV1_OktaAssignmentTargetType_name, int32(x)) 967 } 968 969 func (OktaAssignmentTargetV1_OktaAssignmentTargetType) EnumDescriptor() ([]byte, []int) { 970 return fileDescriptor_9198ee693835762e, []int{302, 0} 971 } 972 973 type KeepAlive struct { 974 // Name of the resource to keep alive. 975 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"server_name"` 976 // Namespace is the namespace of the resource. 977 Namespace string `protobuf:"bytes,2,opt,name=Namespace,proto3" json:"namespace"` 978 // LeaseID is ID of the lease. 979 LeaseID int64 `protobuf:"varint,3,opt,name=LeaseID,proto3" json:"lease_id"` 980 // Expires is set to update expiry time of the resource. 981 Expires time.Time `protobuf:"bytes,4,opt,name=Expires,proto3,stdtime" json:"expires"` 982 // Type is the type (or kind) of the resource that's being kept alive. 983 Type KeepAlive_KeepAliveType `protobuf:"varint,9,opt,name=Type,proto3,enum=types.KeepAlive_KeepAliveType" json:"type"` 984 // HostID is an optional UUID of the host the resource belongs to. 985 HostID string `protobuf:"bytes,10,opt,name=HostID,proto3" json:"host_id,omitempty"` 986 XXX_NoUnkeyedLiteral struct{} `json:"-"` 987 XXX_unrecognized []byte `json:"-"` 988 XXX_sizecache int32 `json:"-"` 989 } 990 991 func (m *KeepAlive) Reset() { *m = KeepAlive{} } 992 func (m *KeepAlive) String() string { return proto.CompactTextString(m) } 993 func (*KeepAlive) ProtoMessage() {} 994 func (*KeepAlive) Descriptor() ([]byte, []int) { 995 return fileDescriptor_9198ee693835762e, []int{0} 996 } 997 func (m *KeepAlive) XXX_Unmarshal(b []byte) error { 998 return m.Unmarshal(b) 999 } 1000 func (m *KeepAlive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1001 if deterministic { 1002 return xxx_messageInfo_KeepAlive.Marshal(b, m, deterministic) 1003 } else { 1004 b = b[:cap(b)] 1005 n, err := m.MarshalToSizedBuffer(b) 1006 if err != nil { 1007 return nil, err 1008 } 1009 return b[:n], nil 1010 } 1011 } 1012 func (m *KeepAlive) XXX_Merge(src proto.Message) { 1013 xxx_messageInfo_KeepAlive.Merge(m, src) 1014 } 1015 func (m *KeepAlive) XXX_Size() int { 1016 return m.Size() 1017 } 1018 func (m *KeepAlive) XXX_DiscardUnknown() { 1019 xxx_messageInfo_KeepAlive.DiscardUnknown(m) 1020 } 1021 1022 var xxx_messageInfo_KeepAlive proto.InternalMessageInfo 1023 1024 // Metadata is resource metadata 1025 type Metadata struct { 1026 // Name is an object name 1027 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 1028 // Namespace is object namespace. The field should be called "namespace" 1029 // when it returns in Teleport 2.4. 1030 Namespace string `protobuf:"bytes,2,opt,name=Namespace,proto3" json:"-"` 1031 // Description is object description 1032 Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"description,omitempty"` 1033 // Labels is a set of labels 1034 Labels map[string]string `protobuf:"bytes,5,rep,name=Labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1035 // Expires is a global expiry time header can be set on any resource in the 1036 // system. 1037 Expires *time.Time `protobuf:"bytes,6,opt,name=Expires,proto3,stdtime" json:"expires,omitempty"` 1038 // ID is a record ID. 1039 // Deprecated: Use revision instead. 1040 ID int64 `protobuf:"varint,7,opt,name=ID,proto3" json:"id,omitempty"` // Deprecated: Do not use. 1041 // Revision is an opaque identifier which tracks the versions of a resource 1042 // over time. Clients should ignore and not alter its value but must return 1043 // the revision in any updates of a resource. 1044 Revision string `protobuf:"bytes,8,opt,name=Revision,proto3" json:"revision,omitempty"` 1045 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1046 XXX_unrecognized []byte `json:"-"` 1047 XXX_sizecache int32 `json:"-"` 1048 } 1049 1050 func (m *Metadata) Reset() { *m = Metadata{} } 1051 func (m *Metadata) String() string { return proto.CompactTextString(m) } 1052 func (*Metadata) ProtoMessage() {} 1053 func (*Metadata) Descriptor() ([]byte, []int) { 1054 return fileDescriptor_9198ee693835762e, []int{1} 1055 } 1056 func (m *Metadata) XXX_Unmarshal(b []byte) error { 1057 return m.Unmarshal(b) 1058 } 1059 func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1060 if deterministic { 1061 return xxx_messageInfo_Metadata.Marshal(b, m, deterministic) 1062 } else { 1063 b = b[:cap(b)] 1064 n, err := m.MarshalToSizedBuffer(b) 1065 if err != nil { 1066 return nil, err 1067 } 1068 return b[:n], nil 1069 } 1070 } 1071 func (m *Metadata) XXX_Merge(src proto.Message) { 1072 xxx_messageInfo_Metadata.Merge(m, src) 1073 } 1074 func (m *Metadata) XXX_Size() int { 1075 return m.Size() 1076 } 1077 func (m *Metadata) XXX_DiscardUnknown() { 1078 xxx_messageInfo_Metadata.DiscardUnknown(m) 1079 } 1080 1081 var xxx_messageInfo_Metadata proto.InternalMessageInfo 1082 1083 // Rotation is a status of the rotation of the certificate authority 1084 type Rotation struct { 1085 // State could be one of "init" or "in_progress". 1086 State string `protobuf:"bytes,1,opt,name=State,proto3" json:"state,omitempty"` 1087 // Phase is the current rotation phase. 1088 Phase string `protobuf:"bytes,2,opt,name=Phase,proto3" json:"phase,omitempty"` 1089 // Mode sets manual or automatic rotation mode. 1090 Mode string `protobuf:"bytes,3,opt,name=Mode,proto3" json:"mode,omitempty"` 1091 // CurrentID is the ID of the rotation operation 1092 // to differentiate between rotation attempts. 1093 CurrentID string `protobuf:"bytes,4,opt,name=CurrentID,proto3" json:"current_id"` 1094 // Started is set to the time when rotation has been started 1095 // in case if the state of the rotation is "in_progress". 1096 Started time.Time `protobuf:"bytes,5,opt,name=Started,proto3,stdtime" json:"started,omitempty"` 1097 // GracePeriod is a period during which old and new CA 1098 // are valid for checking purposes, but only new CA is issuing certificates. 1099 GracePeriod Duration `protobuf:"varint,6,opt,name=GracePeriod,proto3,casttype=Duration" json:"grace_period,omitempty"` 1100 // LastRotated specifies the last time of the completed rotation. 1101 LastRotated time.Time `protobuf:"bytes,7,opt,name=LastRotated,proto3,stdtime" json:"last_rotated,omitempty"` 1102 // Schedule is a rotation schedule - used in 1103 // automatic mode to switch between phases. 1104 Schedule RotationSchedule `protobuf:"bytes,8,opt,name=Schedule,proto3" json:"schedule,omitempty"` 1105 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1106 XXX_unrecognized []byte `json:"-"` 1107 XXX_sizecache int32 `json:"-"` 1108 } 1109 1110 func (m *Rotation) Reset() { *m = Rotation{} } 1111 func (*Rotation) ProtoMessage() {} 1112 func (*Rotation) Descriptor() ([]byte, []int) { 1113 return fileDescriptor_9198ee693835762e, []int{2} 1114 } 1115 func (m *Rotation) XXX_Unmarshal(b []byte) error { 1116 return m.Unmarshal(b) 1117 } 1118 func (m *Rotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1119 if deterministic { 1120 return xxx_messageInfo_Rotation.Marshal(b, m, deterministic) 1121 } else { 1122 b = b[:cap(b)] 1123 n, err := m.MarshalToSizedBuffer(b) 1124 if err != nil { 1125 return nil, err 1126 } 1127 return b[:n], nil 1128 } 1129 } 1130 func (m *Rotation) XXX_Merge(src proto.Message) { 1131 xxx_messageInfo_Rotation.Merge(m, src) 1132 } 1133 func (m *Rotation) XXX_Size() int { 1134 return m.Size() 1135 } 1136 func (m *Rotation) XXX_DiscardUnknown() { 1137 xxx_messageInfo_Rotation.DiscardUnknown(m) 1138 } 1139 1140 var xxx_messageInfo_Rotation proto.InternalMessageInfo 1141 1142 // RotationSchedule is a rotation schedule setting time switches 1143 // for different phases. 1144 type RotationSchedule struct { 1145 // UpdateClients specifies time to switch to the "Update clients" phase 1146 UpdateClients time.Time `protobuf:"bytes,1,opt,name=UpdateClients,proto3,stdtime" json:"update_clients,omitempty"` 1147 // UpdateServers specifies time to switch to the "Update servers" phase. 1148 UpdateServers time.Time `protobuf:"bytes,2,opt,name=UpdateServers,proto3,stdtime" json:"update_servers,omitempty"` 1149 // Standby specifies time to switch to the "Standby" phase. 1150 Standby time.Time `protobuf:"bytes,3,opt,name=Standby,proto3,stdtime" json:"standby,omitempty"` 1151 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1152 XXX_unrecognized []byte `json:"-"` 1153 XXX_sizecache int32 `json:"-"` 1154 } 1155 1156 func (m *RotationSchedule) Reset() { *m = RotationSchedule{} } 1157 func (m *RotationSchedule) String() string { return proto.CompactTextString(m) } 1158 func (*RotationSchedule) ProtoMessage() {} 1159 func (*RotationSchedule) Descriptor() ([]byte, []int) { 1160 return fileDescriptor_9198ee693835762e, []int{3} 1161 } 1162 func (m *RotationSchedule) XXX_Unmarshal(b []byte) error { 1163 return m.Unmarshal(b) 1164 } 1165 func (m *RotationSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1166 if deterministic { 1167 return xxx_messageInfo_RotationSchedule.Marshal(b, m, deterministic) 1168 } else { 1169 b = b[:cap(b)] 1170 n, err := m.MarshalToSizedBuffer(b) 1171 if err != nil { 1172 return nil, err 1173 } 1174 return b[:n], nil 1175 } 1176 } 1177 func (m *RotationSchedule) XXX_Merge(src proto.Message) { 1178 xxx_messageInfo_RotationSchedule.Merge(m, src) 1179 } 1180 func (m *RotationSchedule) XXX_Size() int { 1181 return m.Size() 1182 } 1183 func (m *RotationSchedule) XXX_DiscardUnknown() { 1184 xxx_messageInfo_RotationSchedule.DiscardUnknown(m) 1185 } 1186 1187 var xxx_messageInfo_RotationSchedule proto.InternalMessageInfo 1188 1189 // ResourceHeader is a shared resource header 1190 // used in cases when only type and name is known 1191 type ResourceHeader struct { 1192 // Kind is a resource kind 1193 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind,omitempty"` 1194 // SubKind is an optional resource sub kind, used in some resources 1195 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 1196 // Version is the API version used to create the resource. It must be 1197 // specified. Based on this version, Teleport will apply different defaults on 1198 // resource creation or deletion. It must be an integer prefixed by "v". 1199 // For example: `v1` 1200 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version,omitempty"` 1201 // Metadata is resource metadata 1202 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata,omitempty"` 1203 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1204 XXX_unrecognized []byte `json:"-"` 1205 XXX_sizecache int32 `json:"-"` 1206 } 1207 1208 func (m *ResourceHeader) Reset() { *m = ResourceHeader{} } 1209 func (m *ResourceHeader) String() string { return proto.CompactTextString(m) } 1210 func (*ResourceHeader) ProtoMessage() {} 1211 func (*ResourceHeader) Descriptor() ([]byte, []int) { 1212 return fileDescriptor_9198ee693835762e, []int{4} 1213 } 1214 func (m *ResourceHeader) XXX_Unmarshal(b []byte) error { 1215 return m.Unmarshal(b) 1216 } 1217 func (m *ResourceHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1218 if deterministic { 1219 return xxx_messageInfo_ResourceHeader.Marshal(b, m, deterministic) 1220 } else { 1221 b = b[:cap(b)] 1222 n, err := m.MarshalToSizedBuffer(b) 1223 if err != nil { 1224 return nil, err 1225 } 1226 return b[:n], nil 1227 } 1228 } 1229 func (m *ResourceHeader) XXX_Merge(src proto.Message) { 1230 xxx_messageInfo_ResourceHeader.Merge(m, src) 1231 } 1232 func (m *ResourceHeader) XXX_Size() int { 1233 return m.Size() 1234 } 1235 func (m *ResourceHeader) XXX_DiscardUnknown() { 1236 xxx_messageInfo_ResourceHeader.DiscardUnknown(m) 1237 } 1238 1239 var xxx_messageInfo_ResourceHeader proto.InternalMessageInfo 1240 1241 // DatabaseServerV3 represents a database access server. 1242 type DatabaseServerV3 struct { 1243 // Kind is the database server resource kind. 1244 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 1245 // SubKind is an optional resource subkind. 1246 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 1247 // Version is the resource version. 1248 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 1249 // Metadata is the database server metadata. 1250 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 1251 // Spec is the database server spec. 1252 Spec DatabaseServerSpecV3 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 1253 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1254 XXX_unrecognized []byte `json:"-"` 1255 XXX_sizecache int32 `json:"-"` 1256 } 1257 1258 func (m *DatabaseServerV3) Reset() { *m = DatabaseServerV3{} } 1259 func (*DatabaseServerV3) ProtoMessage() {} 1260 func (*DatabaseServerV3) Descriptor() ([]byte, []int) { 1261 return fileDescriptor_9198ee693835762e, []int{5} 1262 } 1263 func (m *DatabaseServerV3) XXX_Unmarshal(b []byte) error { 1264 return m.Unmarshal(b) 1265 } 1266 func (m *DatabaseServerV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1267 if deterministic { 1268 return xxx_messageInfo_DatabaseServerV3.Marshal(b, m, deterministic) 1269 } else { 1270 b = b[:cap(b)] 1271 n, err := m.MarshalToSizedBuffer(b) 1272 if err != nil { 1273 return nil, err 1274 } 1275 return b[:n], nil 1276 } 1277 } 1278 func (m *DatabaseServerV3) XXX_Merge(src proto.Message) { 1279 xxx_messageInfo_DatabaseServerV3.Merge(m, src) 1280 } 1281 func (m *DatabaseServerV3) XXX_Size() int { 1282 return m.Size() 1283 } 1284 func (m *DatabaseServerV3) XXX_DiscardUnknown() { 1285 xxx_messageInfo_DatabaseServerV3.DiscardUnknown(m) 1286 } 1287 1288 var xxx_messageInfo_DatabaseServerV3 proto.InternalMessageInfo 1289 1290 // DatabaseServerSpecV3 is the database server spec. 1291 type DatabaseServerSpecV3 struct { 1292 // Version is the Teleport version that the server is running. 1293 Version string `protobuf:"bytes,6,opt,name=Version,proto3" json:"version"` 1294 // Hostname is the database server hostname. 1295 Hostname string `protobuf:"bytes,7,opt,name=Hostname,proto3" json:"hostname"` 1296 // HostID is the ID of the host the database server is running on. 1297 HostID string `protobuf:"bytes,8,opt,name=HostID,proto3" json:"host_id"` 1298 // Rotation contains the server CA rotation information. 1299 Rotation Rotation `protobuf:"bytes,10,opt,name=Rotation,proto3" json:"rotation,omitempty"` 1300 // Database is the database proxied by this database server. 1301 Database *DatabaseV3 `protobuf:"bytes,12,opt,name=Database,proto3" json:"database,omitempty"` 1302 // ProxyIDs is a list of proxy IDs this server is expected to be connected to. 1303 ProxyIDs []string `protobuf:"bytes,13,rep,name=ProxyIDs,proto3" json:"proxy_ids,omitempty"` 1304 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1305 XXX_unrecognized []byte `json:"-"` 1306 XXX_sizecache int32 `json:"-"` 1307 } 1308 1309 func (m *DatabaseServerSpecV3) Reset() { *m = DatabaseServerSpecV3{} } 1310 func (m *DatabaseServerSpecV3) String() string { return proto.CompactTextString(m) } 1311 func (*DatabaseServerSpecV3) ProtoMessage() {} 1312 func (*DatabaseServerSpecV3) Descriptor() ([]byte, []int) { 1313 return fileDescriptor_9198ee693835762e, []int{6} 1314 } 1315 func (m *DatabaseServerSpecV3) XXX_Unmarshal(b []byte) error { 1316 return m.Unmarshal(b) 1317 } 1318 func (m *DatabaseServerSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1319 if deterministic { 1320 return xxx_messageInfo_DatabaseServerSpecV3.Marshal(b, m, deterministic) 1321 } else { 1322 b = b[:cap(b)] 1323 n, err := m.MarshalToSizedBuffer(b) 1324 if err != nil { 1325 return nil, err 1326 } 1327 return b[:n], nil 1328 } 1329 } 1330 func (m *DatabaseServerSpecV3) XXX_Merge(src proto.Message) { 1331 xxx_messageInfo_DatabaseServerSpecV3.Merge(m, src) 1332 } 1333 func (m *DatabaseServerSpecV3) XXX_Size() int { 1334 return m.Size() 1335 } 1336 func (m *DatabaseServerSpecV3) XXX_DiscardUnknown() { 1337 xxx_messageInfo_DatabaseServerSpecV3.DiscardUnknown(m) 1338 } 1339 1340 var xxx_messageInfo_DatabaseServerSpecV3 proto.InternalMessageInfo 1341 1342 // DatabaseV3List represents a list of databases. 1343 type DatabaseV3List struct { 1344 // Databases is a list of database resources. 1345 Databases []*DatabaseV3 `protobuf:"bytes,1,rep,name=Databases,proto3" json:"Databases,omitempty"` 1346 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1347 XXX_unrecognized []byte `json:"-"` 1348 XXX_sizecache int32 `json:"-"` 1349 } 1350 1351 func (m *DatabaseV3List) Reset() { *m = DatabaseV3List{} } 1352 func (m *DatabaseV3List) String() string { return proto.CompactTextString(m) } 1353 func (*DatabaseV3List) ProtoMessage() {} 1354 func (*DatabaseV3List) Descriptor() ([]byte, []int) { 1355 return fileDescriptor_9198ee693835762e, []int{7} 1356 } 1357 func (m *DatabaseV3List) XXX_Unmarshal(b []byte) error { 1358 return m.Unmarshal(b) 1359 } 1360 func (m *DatabaseV3List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1361 if deterministic { 1362 return xxx_messageInfo_DatabaseV3List.Marshal(b, m, deterministic) 1363 } else { 1364 b = b[:cap(b)] 1365 n, err := m.MarshalToSizedBuffer(b) 1366 if err != nil { 1367 return nil, err 1368 } 1369 return b[:n], nil 1370 } 1371 } 1372 func (m *DatabaseV3List) XXX_Merge(src proto.Message) { 1373 xxx_messageInfo_DatabaseV3List.Merge(m, src) 1374 } 1375 func (m *DatabaseV3List) XXX_Size() int { 1376 return m.Size() 1377 } 1378 func (m *DatabaseV3List) XXX_DiscardUnknown() { 1379 xxx_messageInfo_DatabaseV3List.DiscardUnknown(m) 1380 } 1381 1382 var xxx_messageInfo_DatabaseV3List proto.InternalMessageInfo 1383 1384 // DatabaseV3 represents a single proxied database. 1385 type DatabaseV3 struct { 1386 // Kind is the database resource kind. 1387 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 1388 // SubKind is an optional resource subkind. 1389 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 1390 // Version is the resource version. It must be specified. 1391 // Supported values are: `v3`. 1392 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 1393 // Metadata is the database metadata. 1394 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 1395 // Spec is the database spec. 1396 Spec DatabaseSpecV3 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 1397 // Status is the database runtime information. 1398 Status DatabaseStatusV3 `protobuf:"bytes,6,opt,name=Status,proto3" json:"status"` 1399 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1400 XXX_unrecognized []byte `json:"-"` 1401 XXX_sizecache int32 `json:"-"` 1402 } 1403 1404 func (m *DatabaseV3) Reset() { *m = DatabaseV3{} } 1405 func (*DatabaseV3) ProtoMessage() {} 1406 func (*DatabaseV3) Descriptor() ([]byte, []int) { 1407 return fileDescriptor_9198ee693835762e, []int{8} 1408 } 1409 func (m *DatabaseV3) XXX_Unmarshal(b []byte) error { 1410 return m.Unmarshal(b) 1411 } 1412 func (m *DatabaseV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1413 if deterministic { 1414 return xxx_messageInfo_DatabaseV3.Marshal(b, m, deterministic) 1415 } else { 1416 b = b[:cap(b)] 1417 n, err := m.MarshalToSizedBuffer(b) 1418 if err != nil { 1419 return nil, err 1420 } 1421 return b[:n], nil 1422 } 1423 } 1424 func (m *DatabaseV3) XXX_Merge(src proto.Message) { 1425 xxx_messageInfo_DatabaseV3.Merge(m, src) 1426 } 1427 func (m *DatabaseV3) XXX_Size() int { 1428 return m.Size() 1429 } 1430 func (m *DatabaseV3) XXX_DiscardUnknown() { 1431 xxx_messageInfo_DatabaseV3.DiscardUnknown(m) 1432 } 1433 1434 var xxx_messageInfo_DatabaseV3 proto.InternalMessageInfo 1435 1436 // DatabaseSpecV3 is the database spec. 1437 type DatabaseSpecV3 struct { 1438 // Protocol is the database protocol: postgres, mysql, mongodb, etc. 1439 Protocol string `protobuf:"bytes,1,opt,name=Protocol,proto3" json:"protocol"` 1440 // URI is the database connection endpoint. 1441 URI string `protobuf:"bytes,2,opt,name=URI,proto3" json:"uri"` 1442 // CACert is the PEM-encoded database CA certificate. 1443 // 1444 // DEPRECATED: Moved to TLS.CACert. DELETE IN 10.0. 1445 CACert string `protobuf:"bytes,3,opt,name=CACert,proto3" json:"ca_cert,omitempty"` // Deprecated: Do not use. 1446 // DynamicLabels is the database dynamic labels. 1447 DynamicLabels map[string]CommandLabelV2 `protobuf:"bytes,4,rep,name=DynamicLabels,proto3" json:"dynamic_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1448 // AWS contains AWS specific settings for RDS/Aurora/Redshift databases. 1449 AWS AWS `protobuf:"bytes,5,opt,name=AWS,proto3" json:"aws,omitempty"` 1450 // GCP contains parameters specific to GCP Cloud SQL databases. 1451 GCP GCPCloudSQL `protobuf:"bytes,6,opt,name=GCP,proto3" json:"gcp,omitempty"` 1452 // Azure contains Azure specific database metadata. 1453 Azure Azure `protobuf:"bytes,7,opt,name=Azure,proto3" json:"azure,omitempty"` 1454 // TLS is the TLS configuration used when establishing connection to target database. 1455 // Allows to provide custom CA cert or override server name. 1456 TLS DatabaseTLS `protobuf:"bytes,8,opt,name=TLS,proto3" json:"tls,omitempty"` 1457 // AD is the Active Directory configuration for the database. 1458 AD AD `protobuf:"bytes,9,opt,name=AD,proto3" json:"ad,omitempty"` 1459 // MySQL is an additional section with MySQL database options. 1460 MySQL MySQLOptions `protobuf:"bytes,10,opt,name=MySQL,proto3" json:"mysql,omitempty"` 1461 // AdminUser is the database admin user for automatic user provisioning. 1462 AdminUser *DatabaseAdminUser `protobuf:"bytes,11,opt,name=AdminUser,proto3" json:"admin_user,omitempty"` 1463 // MongoAtlas contains Atlas metadata about the database. 1464 MongoAtlas MongoAtlas `protobuf:"bytes,12,opt,name=MongoAtlas,proto3" json:"mongo_atlas,omitempty"` 1465 // Oracle is an additional Oracle configuration options. 1466 Oracle OracleOptions `protobuf:"bytes,13,opt,name=Oracle,proto3" json:"oracle,omitempty"` 1467 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1468 XXX_unrecognized []byte `json:"-"` 1469 XXX_sizecache int32 `json:"-"` 1470 } 1471 1472 func (m *DatabaseSpecV3) Reset() { *m = DatabaseSpecV3{} } 1473 func (m *DatabaseSpecV3) String() string { return proto.CompactTextString(m) } 1474 func (*DatabaseSpecV3) ProtoMessage() {} 1475 func (*DatabaseSpecV3) Descriptor() ([]byte, []int) { 1476 return fileDescriptor_9198ee693835762e, []int{9} 1477 } 1478 func (m *DatabaseSpecV3) XXX_Unmarshal(b []byte) error { 1479 return m.Unmarshal(b) 1480 } 1481 func (m *DatabaseSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1482 if deterministic { 1483 return xxx_messageInfo_DatabaseSpecV3.Marshal(b, m, deterministic) 1484 } else { 1485 b = b[:cap(b)] 1486 n, err := m.MarshalToSizedBuffer(b) 1487 if err != nil { 1488 return nil, err 1489 } 1490 return b[:n], nil 1491 } 1492 } 1493 func (m *DatabaseSpecV3) XXX_Merge(src proto.Message) { 1494 xxx_messageInfo_DatabaseSpecV3.Merge(m, src) 1495 } 1496 func (m *DatabaseSpecV3) XXX_Size() int { 1497 return m.Size() 1498 } 1499 func (m *DatabaseSpecV3) XXX_DiscardUnknown() { 1500 xxx_messageInfo_DatabaseSpecV3.DiscardUnknown(m) 1501 } 1502 1503 var xxx_messageInfo_DatabaseSpecV3 proto.InternalMessageInfo 1504 1505 // DatabaseAdminUser contains information about privileged database user used 1506 // for automatic user provisioning. 1507 type DatabaseAdminUser struct { 1508 // Name is the username of the privileged database user. 1509 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 1510 // DefaultDatabase is the database that the privileged database user logs 1511 // into by default. 1512 // 1513 // Depending on the database type, this database may be used to store 1514 // procedures or data for managing database users. 1515 DefaultDatabase string `protobuf:"bytes,2,opt,name=DefaultDatabase,proto3" json:"default_database"` 1516 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1517 XXX_unrecognized []byte `json:"-"` 1518 XXX_sizecache int32 `json:"-"` 1519 } 1520 1521 func (m *DatabaseAdminUser) Reset() { *m = DatabaseAdminUser{} } 1522 func (m *DatabaseAdminUser) String() string { return proto.CompactTextString(m) } 1523 func (*DatabaseAdminUser) ProtoMessage() {} 1524 func (*DatabaseAdminUser) Descriptor() ([]byte, []int) { 1525 return fileDescriptor_9198ee693835762e, []int{10} 1526 } 1527 func (m *DatabaseAdminUser) XXX_Unmarshal(b []byte) error { 1528 return m.Unmarshal(b) 1529 } 1530 func (m *DatabaseAdminUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1531 if deterministic { 1532 return xxx_messageInfo_DatabaseAdminUser.Marshal(b, m, deterministic) 1533 } else { 1534 b = b[:cap(b)] 1535 n, err := m.MarshalToSizedBuffer(b) 1536 if err != nil { 1537 return nil, err 1538 } 1539 return b[:n], nil 1540 } 1541 } 1542 func (m *DatabaseAdminUser) XXX_Merge(src proto.Message) { 1543 xxx_messageInfo_DatabaseAdminUser.Merge(m, src) 1544 } 1545 func (m *DatabaseAdminUser) XXX_Size() int { 1546 return m.Size() 1547 } 1548 func (m *DatabaseAdminUser) XXX_DiscardUnknown() { 1549 xxx_messageInfo_DatabaseAdminUser.DiscardUnknown(m) 1550 } 1551 1552 var xxx_messageInfo_DatabaseAdminUser proto.InternalMessageInfo 1553 1554 // OracleOptions contains information about privileged database user used 1555 // for database audit. 1556 type OracleOptions struct { 1557 // AuditUser is the Oracle database user privilege to access internal Oracle audit trail. 1558 AuditUser string `protobuf:"bytes,1,opt,name=AuditUser,proto3" json:"audit_user"` 1559 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1560 XXX_unrecognized []byte `json:"-"` 1561 XXX_sizecache int32 `json:"-"` 1562 } 1563 1564 func (m *OracleOptions) Reset() { *m = OracleOptions{} } 1565 func (m *OracleOptions) String() string { return proto.CompactTextString(m) } 1566 func (*OracleOptions) ProtoMessage() {} 1567 func (*OracleOptions) Descriptor() ([]byte, []int) { 1568 return fileDescriptor_9198ee693835762e, []int{11} 1569 } 1570 func (m *OracleOptions) XXX_Unmarshal(b []byte) error { 1571 return m.Unmarshal(b) 1572 } 1573 func (m *OracleOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1574 if deterministic { 1575 return xxx_messageInfo_OracleOptions.Marshal(b, m, deterministic) 1576 } else { 1577 b = b[:cap(b)] 1578 n, err := m.MarshalToSizedBuffer(b) 1579 if err != nil { 1580 return nil, err 1581 } 1582 return b[:n], nil 1583 } 1584 } 1585 func (m *OracleOptions) XXX_Merge(src proto.Message) { 1586 xxx_messageInfo_OracleOptions.Merge(m, src) 1587 } 1588 func (m *OracleOptions) XXX_Size() int { 1589 return m.Size() 1590 } 1591 func (m *OracleOptions) XXX_DiscardUnknown() { 1592 xxx_messageInfo_OracleOptions.DiscardUnknown(m) 1593 } 1594 1595 var xxx_messageInfo_OracleOptions proto.InternalMessageInfo 1596 1597 // DatabaseStatusV3 contains runtime information about the database. 1598 type DatabaseStatusV3 struct { 1599 // CACert is the auto-downloaded cloud database CA certificate. 1600 CACert string `protobuf:"bytes,1,opt,name=CACert,proto3" json:"ca_cert,omitempty"` 1601 // AWS is the auto-discovered AWS cloud database metadata. 1602 AWS AWS `protobuf:"bytes,2,opt,name=AWS,proto3" json:"aws"` 1603 // MySQL is an additional section with MySQL runtime database information. 1604 MySQL MySQLOptions `protobuf:"bytes,3,opt,name=MySQL,proto3" json:"mysql,omitempty"` 1605 // ManagedUsers is a list of database users that are managed by Teleport. 1606 ManagedUsers []string `protobuf:"bytes,4,rep,name=ManagedUsers,proto3" json:"managed_users,omitempty"` 1607 // Azure is the auto-discovered Azure cloud database metadata. 1608 Azure Azure `protobuf:"bytes,5,opt,name=Azure,proto3" json:"azure"` 1609 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1610 XXX_unrecognized []byte `json:"-"` 1611 XXX_sizecache int32 `json:"-"` 1612 } 1613 1614 func (m *DatabaseStatusV3) Reset() { *m = DatabaseStatusV3{} } 1615 func (m *DatabaseStatusV3) String() string { return proto.CompactTextString(m) } 1616 func (*DatabaseStatusV3) ProtoMessage() {} 1617 func (*DatabaseStatusV3) Descriptor() ([]byte, []int) { 1618 return fileDescriptor_9198ee693835762e, []int{12} 1619 } 1620 func (m *DatabaseStatusV3) XXX_Unmarshal(b []byte) error { 1621 return m.Unmarshal(b) 1622 } 1623 func (m *DatabaseStatusV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1624 if deterministic { 1625 return xxx_messageInfo_DatabaseStatusV3.Marshal(b, m, deterministic) 1626 } else { 1627 b = b[:cap(b)] 1628 n, err := m.MarshalToSizedBuffer(b) 1629 if err != nil { 1630 return nil, err 1631 } 1632 return b[:n], nil 1633 } 1634 } 1635 func (m *DatabaseStatusV3) XXX_Merge(src proto.Message) { 1636 xxx_messageInfo_DatabaseStatusV3.Merge(m, src) 1637 } 1638 func (m *DatabaseStatusV3) XXX_Size() int { 1639 return m.Size() 1640 } 1641 func (m *DatabaseStatusV3) XXX_DiscardUnknown() { 1642 xxx_messageInfo_DatabaseStatusV3.DiscardUnknown(m) 1643 } 1644 1645 var xxx_messageInfo_DatabaseStatusV3 proto.InternalMessageInfo 1646 1647 // AWS contains AWS metadata about the database. 1648 type AWS struct { 1649 // Region is a AWS cloud region. 1650 Region string `protobuf:"bytes,1,opt,name=Region,proto3" json:"region,omitempty"` 1651 // Redshift contains Redshift specific metadata. 1652 Redshift Redshift `protobuf:"bytes,2,opt,name=Redshift,proto3" json:"redshift,omitempty"` 1653 // RDS contains RDS specific metadata. 1654 RDS RDS `protobuf:"bytes,3,opt,name=RDS,proto3" json:"rds,omitempty"` 1655 // AccountID is the AWS account ID this database belongs to. 1656 AccountID string `protobuf:"bytes,4,opt,name=AccountID,proto3" json:"account_id,omitempty"` 1657 // ElastiCache contains AWS ElastiCache Redis specific metadata. 1658 ElastiCache ElastiCache `protobuf:"bytes,5,opt,name=ElastiCache,proto3" json:"elasticache,omitempty"` 1659 // SecretStore contains secret store configurations. 1660 SecretStore SecretStore `protobuf:"bytes,6,opt,name=SecretStore,proto3" json:"secret_store,omitempty"` 1661 // MemoryDB contains AWS MemoryDB specific metadata. 1662 MemoryDB MemoryDB `protobuf:"bytes,7,opt,name=MemoryDB,proto3" json:"memorydb,omitempty"` 1663 // RDSProxy contains AWS Proxy specific metadata. 1664 RDSProxy RDSProxy `protobuf:"bytes,8,opt,name=RDSProxy,proto3" json:"rdsproxy,omitempty"` 1665 // RedshiftServerless contains AWS Redshift Serverless specific metadata. 1666 RedshiftServerless RedshiftServerless `protobuf:"bytes,9,opt,name=RedshiftServerless,proto3" json:"redshift_serverless,omitempty"` 1667 // ExternalID is an optional AWS external ID used to enable assuming an AWS role across accounts. 1668 ExternalID string `protobuf:"bytes,10,opt,name=ExternalID,proto3" json:"external_id,omitempty"` 1669 // AssumeRoleARN is an optional AWS role ARN to assume when accessing a database. 1670 // Set this field and ExternalID to enable access across AWS accounts. 1671 AssumeRoleARN string `protobuf:"bytes,11,opt,name=AssumeRoleARN,proto3" json:"assume_role_arn,omitempty"` 1672 // OpenSearch contains AWS OpenSearch specific metadata. 1673 OpenSearch OpenSearch `protobuf:"bytes,12,opt,name=OpenSearch,proto3" json:"opensearch,omitempty"` 1674 // IAMPolicyStatus indicates whether the IAM Policy is configured properly for database access. 1675 // If not, the user must update the AWS profile identity to allow access to the Database. 1676 // Eg for an RDS Database: the underlying AWS profile allows for `rds-db:connect` for the Database. 1677 IAMPolicyStatus IAMPolicyStatus `protobuf:"varint,14,opt,name=IAMPolicyStatus,proto3,enum=types.IAMPolicyStatus" json:"iam_policy_status"` 1678 // SessionTags is a list of AWS STS session tags. 1679 SessionTags map[string]string `protobuf:"bytes,15,rep,name=SessionTags,proto3" json:"session_tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1680 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1681 XXX_unrecognized []byte `json:"-"` 1682 XXX_sizecache int32 `json:"-"` 1683 } 1684 1685 func (m *AWS) Reset() { *m = AWS{} } 1686 func (m *AWS) String() string { return proto.CompactTextString(m) } 1687 func (*AWS) ProtoMessage() {} 1688 func (*AWS) Descriptor() ([]byte, []int) { 1689 return fileDescriptor_9198ee693835762e, []int{13} 1690 } 1691 func (m *AWS) XXX_Unmarshal(b []byte) error { 1692 return m.Unmarshal(b) 1693 } 1694 func (m *AWS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1695 if deterministic { 1696 return xxx_messageInfo_AWS.Marshal(b, m, deterministic) 1697 } else { 1698 b = b[:cap(b)] 1699 n, err := m.MarshalToSizedBuffer(b) 1700 if err != nil { 1701 return nil, err 1702 } 1703 return b[:n], nil 1704 } 1705 } 1706 func (m *AWS) XXX_Merge(src proto.Message) { 1707 xxx_messageInfo_AWS.Merge(m, src) 1708 } 1709 func (m *AWS) XXX_Size() int { 1710 return m.Size() 1711 } 1712 func (m *AWS) XXX_DiscardUnknown() { 1713 xxx_messageInfo_AWS.DiscardUnknown(m) 1714 } 1715 1716 var xxx_messageInfo_AWS proto.InternalMessageInfo 1717 1718 // SecretStore contains secret store configurations. 1719 type SecretStore struct { 1720 // KeyPrefix specifies the secret key prefix. 1721 KeyPrefix string `protobuf:"bytes,1,opt,name=KeyPrefix,proto3" json:"key_prefix,omitempty"` 1722 // KMSKeyID specifies the AWS KMS key for encryption. 1723 KMSKeyID string `protobuf:"bytes,2,opt,name=KMSKeyID,proto3" json:"kms_key_id,omitempty"` 1724 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1725 XXX_unrecognized []byte `json:"-"` 1726 XXX_sizecache int32 `json:"-"` 1727 } 1728 1729 func (m *SecretStore) Reset() { *m = SecretStore{} } 1730 func (m *SecretStore) String() string { return proto.CompactTextString(m) } 1731 func (*SecretStore) ProtoMessage() {} 1732 func (*SecretStore) Descriptor() ([]byte, []int) { 1733 return fileDescriptor_9198ee693835762e, []int{14} 1734 } 1735 func (m *SecretStore) XXX_Unmarshal(b []byte) error { 1736 return m.Unmarshal(b) 1737 } 1738 func (m *SecretStore) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1739 if deterministic { 1740 return xxx_messageInfo_SecretStore.Marshal(b, m, deterministic) 1741 } else { 1742 b = b[:cap(b)] 1743 n, err := m.MarshalToSizedBuffer(b) 1744 if err != nil { 1745 return nil, err 1746 } 1747 return b[:n], nil 1748 } 1749 } 1750 func (m *SecretStore) XXX_Merge(src proto.Message) { 1751 xxx_messageInfo_SecretStore.Merge(m, src) 1752 } 1753 func (m *SecretStore) XXX_Size() int { 1754 return m.Size() 1755 } 1756 func (m *SecretStore) XXX_DiscardUnknown() { 1757 xxx_messageInfo_SecretStore.DiscardUnknown(m) 1758 } 1759 1760 var xxx_messageInfo_SecretStore proto.InternalMessageInfo 1761 1762 // Redshift contains AWS Redshift specific database metadata. 1763 type Redshift struct { 1764 // ClusterID is the Redshift cluster identifier. 1765 ClusterID string `protobuf:"bytes,1,opt,name=ClusterID,proto3" json:"cluster_id,omitempty"` 1766 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1767 XXX_unrecognized []byte `json:"-"` 1768 XXX_sizecache int32 `json:"-"` 1769 } 1770 1771 func (m *Redshift) Reset() { *m = Redshift{} } 1772 func (m *Redshift) String() string { return proto.CompactTextString(m) } 1773 func (*Redshift) ProtoMessage() {} 1774 func (*Redshift) Descriptor() ([]byte, []int) { 1775 return fileDescriptor_9198ee693835762e, []int{15} 1776 } 1777 func (m *Redshift) XXX_Unmarshal(b []byte) error { 1778 return m.Unmarshal(b) 1779 } 1780 func (m *Redshift) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1781 if deterministic { 1782 return xxx_messageInfo_Redshift.Marshal(b, m, deterministic) 1783 } else { 1784 b = b[:cap(b)] 1785 n, err := m.MarshalToSizedBuffer(b) 1786 if err != nil { 1787 return nil, err 1788 } 1789 return b[:n], nil 1790 } 1791 } 1792 func (m *Redshift) XXX_Merge(src proto.Message) { 1793 xxx_messageInfo_Redshift.Merge(m, src) 1794 } 1795 func (m *Redshift) XXX_Size() int { 1796 return m.Size() 1797 } 1798 func (m *Redshift) XXX_DiscardUnknown() { 1799 xxx_messageInfo_Redshift.DiscardUnknown(m) 1800 } 1801 1802 var xxx_messageInfo_Redshift proto.InternalMessageInfo 1803 1804 // RDS contains AWS RDS specific database metadata. 1805 type RDS struct { 1806 // InstanceID is the RDS instance identifier. 1807 InstanceID string `protobuf:"bytes,1,opt,name=InstanceID,proto3" json:"instance_id,omitempty"` 1808 // ClusterID is the RDS cluster (Aurora) identifier. 1809 ClusterID string `protobuf:"bytes,2,opt,name=ClusterID,proto3" json:"cluster_id,omitempty"` 1810 // ResourceID is the RDS instance resource identifier (db-xxx). 1811 ResourceID string `protobuf:"bytes,3,opt,name=ResourceID,proto3" json:"resource_id,omitempty"` 1812 // IAMAuth indicates whether database IAM authentication is enabled. 1813 IAMAuth bool `protobuf:"varint,4,opt,name=IAMAuth,proto3" json:"iam_auth"` 1814 // Subnets is a list of subnets for the RDS instance. 1815 Subnets []string `protobuf:"bytes,5,rep,name=Subnets,proto3" json:"subnets,omitempty"` 1816 // VPCID is the VPC where the RDS is running. 1817 VPCID string `protobuf:"bytes,6,opt,name=VPCID,proto3" json:"vpc_id,omitempty"` 1818 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1819 XXX_unrecognized []byte `json:"-"` 1820 XXX_sizecache int32 `json:"-"` 1821 } 1822 1823 func (m *RDS) Reset() { *m = RDS{} } 1824 func (m *RDS) String() string { return proto.CompactTextString(m) } 1825 func (*RDS) ProtoMessage() {} 1826 func (*RDS) Descriptor() ([]byte, []int) { 1827 return fileDescriptor_9198ee693835762e, []int{16} 1828 } 1829 func (m *RDS) XXX_Unmarshal(b []byte) error { 1830 return m.Unmarshal(b) 1831 } 1832 func (m *RDS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1833 if deterministic { 1834 return xxx_messageInfo_RDS.Marshal(b, m, deterministic) 1835 } else { 1836 b = b[:cap(b)] 1837 n, err := m.MarshalToSizedBuffer(b) 1838 if err != nil { 1839 return nil, err 1840 } 1841 return b[:n], nil 1842 } 1843 } 1844 func (m *RDS) XXX_Merge(src proto.Message) { 1845 xxx_messageInfo_RDS.Merge(m, src) 1846 } 1847 func (m *RDS) XXX_Size() int { 1848 return m.Size() 1849 } 1850 func (m *RDS) XXX_DiscardUnknown() { 1851 xxx_messageInfo_RDS.DiscardUnknown(m) 1852 } 1853 1854 var xxx_messageInfo_RDS proto.InternalMessageInfo 1855 1856 // RDSProxy contains AWS RDS Proxy specific database metadata. 1857 type RDSProxy struct { 1858 // Name is the identifier of an RDS Proxy. 1859 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name,omitempty"` 1860 // CustomEndpointName is the identifier of an RDS Proxy custom endpoint. 1861 CustomEndpointName string `protobuf:"bytes,2,opt,name=CustomEndpointName,proto3" json:"custom_endpoint_name,omitempty"` 1862 // ResourceID is the RDS instance resource identifier (prx-xxx). 1863 ResourceID string `protobuf:"bytes,3,opt,name=ResourceID,proto3" json:"resource_id,omitempty"` 1864 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1865 XXX_unrecognized []byte `json:"-"` 1866 XXX_sizecache int32 `json:"-"` 1867 } 1868 1869 func (m *RDSProxy) Reset() { *m = RDSProxy{} } 1870 func (m *RDSProxy) String() string { return proto.CompactTextString(m) } 1871 func (*RDSProxy) ProtoMessage() {} 1872 func (*RDSProxy) Descriptor() ([]byte, []int) { 1873 return fileDescriptor_9198ee693835762e, []int{17} 1874 } 1875 func (m *RDSProxy) XXX_Unmarshal(b []byte) error { 1876 return m.Unmarshal(b) 1877 } 1878 func (m *RDSProxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1879 if deterministic { 1880 return xxx_messageInfo_RDSProxy.Marshal(b, m, deterministic) 1881 } else { 1882 b = b[:cap(b)] 1883 n, err := m.MarshalToSizedBuffer(b) 1884 if err != nil { 1885 return nil, err 1886 } 1887 return b[:n], nil 1888 } 1889 } 1890 func (m *RDSProxy) XXX_Merge(src proto.Message) { 1891 xxx_messageInfo_RDSProxy.Merge(m, src) 1892 } 1893 func (m *RDSProxy) XXX_Size() int { 1894 return m.Size() 1895 } 1896 func (m *RDSProxy) XXX_DiscardUnknown() { 1897 xxx_messageInfo_RDSProxy.DiscardUnknown(m) 1898 } 1899 1900 var xxx_messageInfo_RDSProxy proto.InternalMessageInfo 1901 1902 // ElastiCache contains AWS ElastiCache Redis specific metadata. 1903 type ElastiCache struct { 1904 // ReplicationGroupID is the Redis replication group ID. 1905 ReplicationGroupID string `protobuf:"bytes,1,opt,name=ReplicationGroupID,proto3" json:"replication_group_id,omitempty"` 1906 // UserGroupIDs is a list of user group IDs. 1907 UserGroupIDs []string `protobuf:"bytes,2,rep,name=UserGroupIDs,proto3" json:"user_group_ids,omitempty"` 1908 // TransitEncryptionEnabled indicates whether in-transit encryption (TLS) is enabled. 1909 TransitEncryptionEnabled bool `protobuf:"varint,3,opt,name=TransitEncryptionEnabled,proto3" json:"transit_encryption_enabled,omitempty"` 1910 // EndpointType is the type of the endpoint. 1911 EndpointType string `protobuf:"bytes,4,opt,name=EndpointType,proto3" json:"endpoint_type,omitempty"` 1912 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1913 XXX_unrecognized []byte `json:"-"` 1914 XXX_sizecache int32 `json:"-"` 1915 } 1916 1917 func (m *ElastiCache) Reset() { *m = ElastiCache{} } 1918 func (m *ElastiCache) String() string { return proto.CompactTextString(m) } 1919 func (*ElastiCache) ProtoMessage() {} 1920 func (*ElastiCache) Descriptor() ([]byte, []int) { 1921 return fileDescriptor_9198ee693835762e, []int{18} 1922 } 1923 func (m *ElastiCache) XXX_Unmarshal(b []byte) error { 1924 return m.Unmarshal(b) 1925 } 1926 func (m *ElastiCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1927 if deterministic { 1928 return xxx_messageInfo_ElastiCache.Marshal(b, m, deterministic) 1929 } else { 1930 b = b[:cap(b)] 1931 n, err := m.MarshalToSizedBuffer(b) 1932 if err != nil { 1933 return nil, err 1934 } 1935 return b[:n], nil 1936 } 1937 } 1938 func (m *ElastiCache) XXX_Merge(src proto.Message) { 1939 xxx_messageInfo_ElastiCache.Merge(m, src) 1940 } 1941 func (m *ElastiCache) XXX_Size() int { 1942 return m.Size() 1943 } 1944 func (m *ElastiCache) XXX_DiscardUnknown() { 1945 xxx_messageInfo_ElastiCache.DiscardUnknown(m) 1946 } 1947 1948 var xxx_messageInfo_ElastiCache proto.InternalMessageInfo 1949 1950 // MemoryDB contains AWS MemoryDB specific metadata. 1951 type MemoryDB struct { 1952 // ClusterName is the name of the MemoryDB cluster. 1953 ClusterName string `protobuf:"bytes,1,opt,name=ClusterName,proto3" json:"cluster_name,omitempty"` 1954 // ACLName is the name of the ACL associated with the cluster. 1955 ACLName string `protobuf:"bytes,2,opt,name=ACLName,proto3" json:"acl_name,omitempty"` 1956 // TLSEnabled indicates whether in-transit encryption (TLS) is enabled. 1957 TLSEnabled bool `protobuf:"varint,3,opt,name=TLSEnabled,proto3" json:"tls_enabled,omitempty"` 1958 // EndpointType is the type of the endpoint. 1959 EndpointType string `protobuf:"bytes,4,opt,name=EndpointType,proto3" json:"endpoint_type,omitempty"` 1960 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1961 XXX_unrecognized []byte `json:"-"` 1962 XXX_sizecache int32 `json:"-"` 1963 } 1964 1965 func (m *MemoryDB) Reset() { *m = MemoryDB{} } 1966 func (m *MemoryDB) String() string { return proto.CompactTextString(m) } 1967 func (*MemoryDB) ProtoMessage() {} 1968 func (*MemoryDB) Descriptor() ([]byte, []int) { 1969 return fileDescriptor_9198ee693835762e, []int{19} 1970 } 1971 func (m *MemoryDB) XXX_Unmarshal(b []byte) error { 1972 return m.Unmarshal(b) 1973 } 1974 func (m *MemoryDB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1975 if deterministic { 1976 return xxx_messageInfo_MemoryDB.Marshal(b, m, deterministic) 1977 } else { 1978 b = b[:cap(b)] 1979 n, err := m.MarshalToSizedBuffer(b) 1980 if err != nil { 1981 return nil, err 1982 } 1983 return b[:n], nil 1984 } 1985 } 1986 func (m *MemoryDB) XXX_Merge(src proto.Message) { 1987 xxx_messageInfo_MemoryDB.Merge(m, src) 1988 } 1989 func (m *MemoryDB) XXX_Size() int { 1990 return m.Size() 1991 } 1992 func (m *MemoryDB) XXX_DiscardUnknown() { 1993 xxx_messageInfo_MemoryDB.DiscardUnknown(m) 1994 } 1995 1996 var xxx_messageInfo_MemoryDB proto.InternalMessageInfo 1997 1998 // RedshiftServerless contains AWS Redshift Serverless specific metadata. 1999 type RedshiftServerless struct { 2000 // WorkgroupName is the workgroup name. 2001 WorkgroupName string `protobuf:"bytes,1,opt,name=WorkgroupName,proto3" json:"workgroup_name,omitempty"` 2002 // EndpointName is the VPC endpoint name. 2003 EndpointName string `protobuf:"bytes,2,opt,name=EndpointName,proto3" json:"endpoint_name,omitempty"` 2004 // WorkgroupID is the workgroup ID. 2005 WorkgroupID string `protobuf:"bytes,3,opt,name=WorkgroupID,proto3" json:"workgroup_id,omitempty"` 2006 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2007 XXX_unrecognized []byte `json:"-"` 2008 XXX_sizecache int32 `json:"-"` 2009 } 2010 2011 func (m *RedshiftServerless) Reset() { *m = RedshiftServerless{} } 2012 func (m *RedshiftServerless) String() string { return proto.CompactTextString(m) } 2013 func (*RedshiftServerless) ProtoMessage() {} 2014 func (*RedshiftServerless) Descriptor() ([]byte, []int) { 2015 return fileDescriptor_9198ee693835762e, []int{20} 2016 } 2017 func (m *RedshiftServerless) XXX_Unmarshal(b []byte) error { 2018 return m.Unmarshal(b) 2019 } 2020 func (m *RedshiftServerless) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2021 if deterministic { 2022 return xxx_messageInfo_RedshiftServerless.Marshal(b, m, deterministic) 2023 } else { 2024 b = b[:cap(b)] 2025 n, err := m.MarshalToSizedBuffer(b) 2026 if err != nil { 2027 return nil, err 2028 } 2029 return b[:n], nil 2030 } 2031 } 2032 func (m *RedshiftServerless) XXX_Merge(src proto.Message) { 2033 xxx_messageInfo_RedshiftServerless.Merge(m, src) 2034 } 2035 func (m *RedshiftServerless) XXX_Size() int { 2036 return m.Size() 2037 } 2038 func (m *RedshiftServerless) XXX_DiscardUnknown() { 2039 xxx_messageInfo_RedshiftServerless.DiscardUnknown(m) 2040 } 2041 2042 var xxx_messageInfo_RedshiftServerless proto.InternalMessageInfo 2043 2044 // OpenSearch contains AWS OpenSearch specific metadata. 2045 type OpenSearch struct { 2046 // DomainName is the name of the domain. 2047 DomainName string `protobuf:"bytes,1,opt,name=DomainName,proto3" json:"domain_name,omitempty"` 2048 // DomainID is the ID of the domain. 2049 DomainID string `protobuf:"bytes,2,opt,name=DomainID,proto3" json:"domain_id,omitempty"` 2050 // EndpointType is the type of the endpoint. 2051 EndpointType string `protobuf:"bytes,3,opt,name=EndpointType,proto3" json:"endpoint_type,omitempty"` 2052 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2053 XXX_unrecognized []byte `json:"-"` 2054 XXX_sizecache int32 `json:"-"` 2055 } 2056 2057 func (m *OpenSearch) Reset() { *m = OpenSearch{} } 2058 func (m *OpenSearch) String() string { return proto.CompactTextString(m) } 2059 func (*OpenSearch) ProtoMessage() {} 2060 func (*OpenSearch) Descriptor() ([]byte, []int) { 2061 return fileDescriptor_9198ee693835762e, []int{21} 2062 } 2063 func (m *OpenSearch) XXX_Unmarshal(b []byte) error { 2064 return m.Unmarshal(b) 2065 } 2066 func (m *OpenSearch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2067 if deterministic { 2068 return xxx_messageInfo_OpenSearch.Marshal(b, m, deterministic) 2069 } else { 2070 b = b[:cap(b)] 2071 n, err := m.MarshalToSizedBuffer(b) 2072 if err != nil { 2073 return nil, err 2074 } 2075 return b[:n], nil 2076 } 2077 } 2078 func (m *OpenSearch) XXX_Merge(src proto.Message) { 2079 xxx_messageInfo_OpenSearch.Merge(m, src) 2080 } 2081 func (m *OpenSearch) XXX_Size() int { 2082 return m.Size() 2083 } 2084 func (m *OpenSearch) XXX_DiscardUnknown() { 2085 xxx_messageInfo_OpenSearch.DiscardUnknown(m) 2086 } 2087 2088 var xxx_messageInfo_OpenSearch proto.InternalMessageInfo 2089 2090 // GCPCloudSQL contains parameters specific to GCP Cloud SQL databases. 2091 type GCPCloudSQL struct { 2092 // ProjectID is the GCP project ID the Cloud SQL instance resides in. 2093 ProjectID string `protobuf:"bytes,1,opt,name=ProjectID,proto3" json:"project_id,omitempty"` 2094 // InstanceID is the Cloud SQL instance ID. 2095 InstanceID string `protobuf:"bytes,2,opt,name=InstanceID,proto3" json:"instance_id,omitempty"` 2096 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2097 XXX_unrecognized []byte `json:"-"` 2098 XXX_sizecache int32 `json:"-"` 2099 } 2100 2101 func (m *GCPCloudSQL) Reset() { *m = GCPCloudSQL{} } 2102 func (m *GCPCloudSQL) String() string { return proto.CompactTextString(m) } 2103 func (*GCPCloudSQL) ProtoMessage() {} 2104 func (*GCPCloudSQL) Descriptor() ([]byte, []int) { 2105 return fileDescriptor_9198ee693835762e, []int{22} 2106 } 2107 func (m *GCPCloudSQL) XXX_Unmarshal(b []byte) error { 2108 return m.Unmarshal(b) 2109 } 2110 func (m *GCPCloudSQL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2111 if deterministic { 2112 return xxx_messageInfo_GCPCloudSQL.Marshal(b, m, deterministic) 2113 } else { 2114 b = b[:cap(b)] 2115 n, err := m.MarshalToSizedBuffer(b) 2116 if err != nil { 2117 return nil, err 2118 } 2119 return b[:n], nil 2120 } 2121 } 2122 func (m *GCPCloudSQL) XXX_Merge(src proto.Message) { 2123 xxx_messageInfo_GCPCloudSQL.Merge(m, src) 2124 } 2125 func (m *GCPCloudSQL) XXX_Size() int { 2126 return m.Size() 2127 } 2128 func (m *GCPCloudSQL) XXX_DiscardUnknown() { 2129 xxx_messageInfo_GCPCloudSQL.DiscardUnknown(m) 2130 } 2131 2132 var xxx_messageInfo_GCPCloudSQL proto.InternalMessageInfo 2133 2134 // Azure contains Azure specific database metadata. 2135 type Azure struct { 2136 // Name is the Azure database server name. 2137 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name,omitempty"` 2138 // ResourceID is the Azure fully qualified ID for the resource. 2139 ResourceID string `protobuf:"bytes,2,opt,name=ResourceID,proto3" json:"resource_id,omitempty"` 2140 // Redis contains Azure Cache for Redis specific database metadata. 2141 Redis AzureRedis `protobuf:"bytes,3,opt,name=Redis,proto3" json:"redis,omitempty"` 2142 // IsFlexiServer is true if the database is an Azure Flexible server. 2143 IsFlexiServer bool `protobuf:"varint,4,opt,name=IsFlexiServer,proto3" json:"is_flexi_server,omitempty"` 2144 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2145 XXX_unrecognized []byte `json:"-"` 2146 XXX_sizecache int32 `json:"-"` 2147 } 2148 2149 func (m *Azure) Reset() { *m = Azure{} } 2150 func (m *Azure) String() string { return proto.CompactTextString(m) } 2151 func (*Azure) ProtoMessage() {} 2152 func (*Azure) Descriptor() ([]byte, []int) { 2153 return fileDescriptor_9198ee693835762e, []int{23} 2154 } 2155 func (m *Azure) XXX_Unmarshal(b []byte) error { 2156 return m.Unmarshal(b) 2157 } 2158 func (m *Azure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2159 if deterministic { 2160 return xxx_messageInfo_Azure.Marshal(b, m, deterministic) 2161 } else { 2162 b = b[:cap(b)] 2163 n, err := m.MarshalToSizedBuffer(b) 2164 if err != nil { 2165 return nil, err 2166 } 2167 return b[:n], nil 2168 } 2169 } 2170 func (m *Azure) XXX_Merge(src proto.Message) { 2171 xxx_messageInfo_Azure.Merge(m, src) 2172 } 2173 func (m *Azure) XXX_Size() int { 2174 return m.Size() 2175 } 2176 func (m *Azure) XXX_DiscardUnknown() { 2177 xxx_messageInfo_Azure.DiscardUnknown(m) 2178 } 2179 2180 var xxx_messageInfo_Azure proto.InternalMessageInfo 2181 2182 // AzureRedis contains Azure Cache for Redis specific database metadata. 2183 type AzureRedis struct { 2184 // ClusteringPolicy is the clustering policy for Redis Enterprise. 2185 ClusteringPolicy string `protobuf:"bytes,1,opt,name=ClusteringPolicy,proto3" json:"clustering_policy,omitempty"` 2186 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2187 XXX_unrecognized []byte `json:"-"` 2188 XXX_sizecache int32 `json:"-"` 2189 } 2190 2191 func (m *AzureRedis) Reset() { *m = AzureRedis{} } 2192 func (m *AzureRedis) String() string { return proto.CompactTextString(m) } 2193 func (*AzureRedis) ProtoMessage() {} 2194 func (*AzureRedis) Descriptor() ([]byte, []int) { 2195 return fileDescriptor_9198ee693835762e, []int{24} 2196 } 2197 func (m *AzureRedis) XXX_Unmarshal(b []byte) error { 2198 return m.Unmarshal(b) 2199 } 2200 func (m *AzureRedis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2201 if deterministic { 2202 return xxx_messageInfo_AzureRedis.Marshal(b, m, deterministic) 2203 } else { 2204 b = b[:cap(b)] 2205 n, err := m.MarshalToSizedBuffer(b) 2206 if err != nil { 2207 return nil, err 2208 } 2209 return b[:n], nil 2210 } 2211 } 2212 func (m *AzureRedis) XXX_Merge(src proto.Message) { 2213 xxx_messageInfo_AzureRedis.Merge(m, src) 2214 } 2215 func (m *AzureRedis) XXX_Size() int { 2216 return m.Size() 2217 } 2218 func (m *AzureRedis) XXX_DiscardUnknown() { 2219 xxx_messageInfo_AzureRedis.DiscardUnknown(m) 2220 } 2221 2222 var xxx_messageInfo_AzureRedis proto.InternalMessageInfo 2223 2224 // AD contains Active Directory specific database configuration. 2225 type AD struct { 2226 // KeytabFile is the path to the Kerberos keytab file. 2227 KeytabFile string `protobuf:"bytes,1,opt,name=KeytabFile,proto3" json:"keytab_file,omitempty"` 2228 // Krb5File is the path to the Kerberos configuration file. Defaults to /etc/krb5.conf. 2229 Krb5File string `protobuf:"bytes,2,opt,name=Krb5File,proto3" json:"krb5_file,omitempty"` 2230 // Domain is the Active Directory domain the database resides in. 2231 Domain string `protobuf:"bytes,3,opt,name=Domain,proto3" json:"domain"` 2232 // SPN is the service principal name for the database. 2233 SPN string `protobuf:"bytes,4,opt,name=SPN,proto3" json:"spn"` 2234 // LDAPCert is a certificate from Windows LDAP/AD, optional; only for x509 Authentication. 2235 LDAPCert string `protobuf:"bytes,5,opt,name=LDAPCert,proto3" json:"ldap_cert,omitempty"` 2236 // KDCHostName is the host name for a KDC for x509 Authentication. 2237 KDCHostName string `protobuf:"bytes,6,opt,name=KDCHostName,proto3" json:"kdc_host_name,omitempty"` 2238 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2239 XXX_unrecognized []byte `json:"-"` 2240 XXX_sizecache int32 `json:"-"` 2241 } 2242 2243 func (m *AD) Reset() { *m = AD{} } 2244 func (m *AD) String() string { return proto.CompactTextString(m) } 2245 func (*AD) ProtoMessage() {} 2246 func (*AD) Descriptor() ([]byte, []int) { 2247 return fileDescriptor_9198ee693835762e, []int{25} 2248 } 2249 func (m *AD) XXX_Unmarshal(b []byte) error { 2250 return m.Unmarshal(b) 2251 } 2252 func (m *AD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2253 if deterministic { 2254 return xxx_messageInfo_AD.Marshal(b, m, deterministic) 2255 } else { 2256 b = b[:cap(b)] 2257 n, err := m.MarshalToSizedBuffer(b) 2258 if err != nil { 2259 return nil, err 2260 } 2261 return b[:n], nil 2262 } 2263 } 2264 func (m *AD) XXX_Merge(src proto.Message) { 2265 xxx_messageInfo_AD.Merge(m, src) 2266 } 2267 func (m *AD) XXX_Size() int { 2268 return m.Size() 2269 } 2270 func (m *AD) XXX_DiscardUnknown() { 2271 xxx_messageInfo_AD.DiscardUnknown(m) 2272 } 2273 2274 var xxx_messageInfo_AD proto.InternalMessageInfo 2275 2276 // DatabaseTLS contains TLS configuration options. 2277 type DatabaseTLS struct { 2278 // Mode is a TLS connection mode. 2279 // 0 is "verify-full"; 1 is "verify-ca", 2 is "insecure". 2280 Mode DatabaseTLSMode `protobuf:"varint,1,opt,name=Mode,proto3,enum=types.DatabaseTLSMode" json:"mode"` 2281 // CACert is an optional user provided CA certificate used for verifying 2282 // database TLS connection. 2283 CACert string `protobuf:"bytes,2,opt,name=CACert,proto3" json:"ca_cert,omitempty"` 2284 // ServerName allows to provide custom hostname. This value will override the 2285 // servername/hostname on a certificate during validation. 2286 ServerName string `protobuf:"bytes,3,opt,name=ServerName,proto3" json:"server_name,omitempty"` 2287 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2288 XXX_unrecognized []byte `json:"-"` 2289 XXX_sizecache int32 `json:"-"` 2290 } 2291 2292 func (m *DatabaseTLS) Reset() { *m = DatabaseTLS{} } 2293 func (m *DatabaseTLS) String() string { return proto.CompactTextString(m) } 2294 func (*DatabaseTLS) ProtoMessage() {} 2295 func (*DatabaseTLS) Descriptor() ([]byte, []int) { 2296 return fileDescriptor_9198ee693835762e, []int{26} 2297 } 2298 func (m *DatabaseTLS) XXX_Unmarshal(b []byte) error { 2299 return m.Unmarshal(b) 2300 } 2301 func (m *DatabaseTLS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2302 if deterministic { 2303 return xxx_messageInfo_DatabaseTLS.Marshal(b, m, deterministic) 2304 } else { 2305 b = b[:cap(b)] 2306 n, err := m.MarshalToSizedBuffer(b) 2307 if err != nil { 2308 return nil, err 2309 } 2310 return b[:n], nil 2311 } 2312 } 2313 func (m *DatabaseTLS) XXX_Merge(src proto.Message) { 2314 xxx_messageInfo_DatabaseTLS.Merge(m, src) 2315 } 2316 func (m *DatabaseTLS) XXX_Size() int { 2317 return m.Size() 2318 } 2319 func (m *DatabaseTLS) XXX_DiscardUnknown() { 2320 xxx_messageInfo_DatabaseTLS.DiscardUnknown(m) 2321 } 2322 2323 var xxx_messageInfo_DatabaseTLS proto.InternalMessageInfo 2324 2325 // MySQLOptions are additional MySQL database options. 2326 type MySQLOptions struct { 2327 // ServerVersion is the server version reported by DB proxy if the runtime information is 2328 // not available. 2329 ServerVersion string `protobuf:"bytes,1,opt,name=ServerVersion,proto3" json:"server_version,omitempty"` 2330 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2331 XXX_unrecognized []byte `json:"-"` 2332 XXX_sizecache int32 `json:"-"` 2333 } 2334 2335 func (m *MySQLOptions) Reset() { *m = MySQLOptions{} } 2336 func (m *MySQLOptions) String() string { return proto.CompactTextString(m) } 2337 func (*MySQLOptions) ProtoMessage() {} 2338 func (*MySQLOptions) Descriptor() ([]byte, []int) { 2339 return fileDescriptor_9198ee693835762e, []int{27} 2340 } 2341 func (m *MySQLOptions) XXX_Unmarshal(b []byte) error { 2342 return m.Unmarshal(b) 2343 } 2344 func (m *MySQLOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2345 if deterministic { 2346 return xxx_messageInfo_MySQLOptions.Marshal(b, m, deterministic) 2347 } else { 2348 b = b[:cap(b)] 2349 n, err := m.MarshalToSizedBuffer(b) 2350 if err != nil { 2351 return nil, err 2352 } 2353 return b[:n], nil 2354 } 2355 } 2356 func (m *MySQLOptions) XXX_Merge(src proto.Message) { 2357 xxx_messageInfo_MySQLOptions.Merge(m, src) 2358 } 2359 func (m *MySQLOptions) XXX_Size() int { 2360 return m.Size() 2361 } 2362 func (m *MySQLOptions) XXX_DiscardUnknown() { 2363 xxx_messageInfo_MySQLOptions.DiscardUnknown(m) 2364 } 2365 2366 var xxx_messageInfo_MySQLOptions proto.InternalMessageInfo 2367 2368 // MongoAtlas contains Atlas metadata about the database. 2369 type MongoAtlas struct { 2370 // Name is the Atlas database instance name. 2371 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name,omitempty"` 2372 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2373 XXX_unrecognized []byte `json:"-"` 2374 XXX_sizecache int32 `json:"-"` 2375 } 2376 2377 func (m *MongoAtlas) Reset() { *m = MongoAtlas{} } 2378 func (m *MongoAtlas) String() string { return proto.CompactTextString(m) } 2379 func (*MongoAtlas) ProtoMessage() {} 2380 func (*MongoAtlas) Descriptor() ([]byte, []int) { 2381 return fileDescriptor_9198ee693835762e, []int{28} 2382 } 2383 func (m *MongoAtlas) XXX_Unmarshal(b []byte) error { 2384 return m.Unmarshal(b) 2385 } 2386 func (m *MongoAtlas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2387 if deterministic { 2388 return xxx_messageInfo_MongoAtlas.Marshal(b, m, deterministic) 2389 } else { 2390 b = b[:cap(b)] 2391 n, err := m.MarshalToSizedBuffer(b) 2392 if err != nil { 2393 return nil, err 2394 } 2395 return b[:n], nil 2396 } 2397 } 2398 func (m *MongoAtlas) XXX_Merge(src proto.Message) { 2399 xxx_messageInfo_MongoAtlas.Merge(m, src) 2400 } 2401 func (m *MongoAtlas) XXX_Size() int { 2402 return m.Size() 2403 } 2404 func (m *MongoAtlas) XXX_DiscardUnknown() { 2405 xxx_messageInfo_MongoAtlas.DiscardUnknown(m) 2406 } 2407 2408 var xxx_messageInfo_MongoAtlas proto.InternalMessageInfo 2409 2410 // InstanceV1 represents the state of a running teleport instance independent 2411 // of the specific services that instance exposes. 2412 type InstanceV1 struct { 2413 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 2414 Spec InstanceSpecV1 `protobuf:"bytes,2,opt,name=Spec,proto3" json:"spec"` 2415 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2416 XXX_unrecognized []byte `json:"-"` 2417 XXX_sizecache int32 `json:"-"` 2418 } 2419 2420 func (m *InstanceV1) Reset() { *m = InstanceV1{} } 2421 func (m *InstanceV1) String() string { return proto.CompactTextString(m) } 2422 func (*InstanceV1) ProtoMessage() {} 2423 func (*InstanceV1) Descriptor() ([]byte, []int) { 2424 return fileDescriptor_9198ee693835762e, []int{29} 2425 } 2426 func (m *InstanceV1) XXX_Unmarshal(b []byte) error { 2427 return m.Unmarshal(b) 2428 } 2429 func (m *InstanceV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2430 if deterministic { 2431 return xxx_messageInfo_InstanceV1.Marshal(b, m, deterministic) 2432 } else { 2433 b = b[:cap(b)] 2434 n, err := m.MarshalToSizedBuffer(b) 2435 if err != nil { 2436 return nil, err 2437 } 2438 return b[:n], nil 2439 } 2440 } 2441 func (m *InstanceV1) XXX_Merge(src proto.Message) { 2442 xxx_messageInfo_InstanceV1.Merge(m, src) 2443 } 2444 func (m *InstanceV1) XXX_Size() int { 2445 return m.Size() 2446 } 2447 func (m *InstanceV1) XXX_DiscardUnknown() { 2448 xxx_messageInfo_InstanceV1.DiscardUnknown(m) 2449 } 2450 2451 var xxx_messageInfo_InstanceV1 proto.InternalMessageInfo 2452 2453 type InstanceSpecV1 struct { 2454 // Version is the version of teleport this instance most recently advertised. 2455 Version string `protobuf:"bytes,1,opt,name=Version,proto3" json:"version,omitempty"` 2456 // Services is the list of active services this instance most recently advertised. 2457 Services []SystemRole `protobuf:"bytes,2,rep,name=Services,proto3,casttype=SystemRole" json:"services,omitempty"` 2458 // Hostname is the hostname this instance most recently advertised. 2459 Hostname string `protobuf:"bytes,3,opt,name=Hostname,proto3" json:"hostname,omitempty"` 2460 // AuthID is the ID of the auth server that most recently observed this instance. 2461 AuthID string `protobuf:"bytes,4,opt,name=AuthID,proto3" json:"auth_id,omitempty"` 2462 // LastSeen is the last time an auth server reported observing this instance. 2463 LastSeen time.Time `protobuf:"bytes,5,opt,name=LastSeen,proto3,stdtime" json:"last_seen,omitempty"` 2464 // ControlLog is the log of recent important instance control events related to this instance. See comments 2465 // on the InstanceControlLogEntry type for details. 2466 ControlLog []InstanceControlLogEntry `protobuf:"bytes,6,rep,name=ControlLog,proto3" json:"control_log,omitempty"` 2467 // ExternalUpgrader identifies the external upgrader that the instance is configured to 2468 // export schedules to (e.g. 'kube'). Empty if no upgrader is defined. 2469 ExternalUpgrader string `protobuf:"bytes,7,opt,name=ExternalUpgrader,proto3" json:"ext_upgrader,omitempty"` 2470 // ExternalUpgraderVersion identifies the external upgrader version. Empty if no upgrader is defined. 2471 ExternalUpgraderVersion string `protobuf:"bytes,8,opt,name=ExternalUpgraderVersion,proto3" json:"ext_upgrader_version,omitempty"` 2472 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2473 XXX_unrecognized []byte `json:"-"` 2474 XXX_sizecache int32 `json:"-"` 2475 } 2476 2477 func (m *InstanceSpecV1) Reset() { *m = InstanceSpecV1{} } 2478 func (m *InstanceSpecV1) String() string { return proto.CompactTextString(m) } 2479 func (*InstanceSpecV1) ProtoMessage() {} 2480 func (*InstanceSpecV1) Descriptor() ([]byte, []int) { 2481 return fileDescriptor_9198ee693835762e, []int{30} 2482 } 2483 func (m *InstanceSpecV1) XXX_Unmarshal(b []byte) error { 2484 return m.Unmarshal(b) 2485 } 2486 func (m *InstanceSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2487 if deterministic { 2488 return xxx_messageInfo_InstanceSpecV1.Marshal(b, m, deterministic) 2489 } else { 2490 b = b[:cap(b)] 2491 n, err := m.MarshalToSizedBuffer(b) 2492 if err != nil { 2493 return nil, err 2494 } 2495 return b[:n], nil 2496 } 2497 } 2498 func (m *InstanceSpecV1) XXX_Merge(src proto.Message) { 2499 xxx_messageInfo_InstanceSpecV1.Merge(m, src) 2500 } 2501 func (m *InstanceSpecV1) XXX_Size() int { 2502 return m.Size() 2503 } 2504 func (m *InstanceSpecV1) XXX_DiscardUnknown() { 2505 xxx_messageInfo_InstanceSpecV1.DiscardUnknown(m) 2506 } 2507 2508 var xxx_messageInfo_InstanceSpecV1 proto.InternalMessageInfo 2509 2510 // InstanceControlLogEntry represents an entry in a given instance's control log. The control log of 2511 // an instance is protected by CompareAndSwap semantics, allowing entries to function as a means of 2512 // synchronization as well as recordkeeping. For example, an auth server intending to trigger an upgrade 2513 // for a given instance can check its control log for 'upgrade-attempt' entries. If no such entry exists, 2514 // it can attempt to write an 'upgrade-attempt' entry of its own. If that entry successfully writes without 2515 // hitting a CompareFailed, the auth server knows that no other auth servers will make concurrent upgrade 2516 // attempts while that entry persists. 2517 // 2518 // NOTE: Due to resource size and backend throughput limitations, care should be taken to minimize the 2519 // use and size of instance control log entries. 2520 type InstanceControlLogEntry struct { 2521 // Type represents the type of control log entry this is (e.g. 'upgrade-attempt'). 2522 Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"type,omitempty"` 2523 // ID is a random identifier used to assist in uniquely identifying entries. This value may 2524 // be unique, or it may be used to associate a collection of related entries (e.g. an upgrade 2525 // attempt entry may use the same ID as an associated upgrade failure entry if appropriate). 2526 ID uint64 `protobuf:"varint,2,opt,name=ID,proto3" json:"id,omitempty"` 2527 // Time is the time at which the event represented by this entry occurred (used in determining 2528 // ordering and expiry). 2529 Time time.Time `protobuf:"bytes,3,opt,name=Time,proto3,stdtime" json:"time,omitempty"` 2530 // TTL is an optional custom time to live for this control log entry. Some control log entries 2531 // (e.g. an upgrade failure) may require longer than normal TTLs in order to ensure visibility. 2532 // If a log entry's TTL results in it having an intended expiry further in the future than the 2533 // expiry of the enclosing Instance resource, the instance resource's expiry will be bumped 2534 // to accommodate preservation of the log. Because of this fact, custom entry TTLs should be 2535 // used sparingly, as excess usage could result in unexpected backend growth for high churn 2536 // clusters. 2537 TTL time.Duration `protobuf:"varint,4,opt,name=TTL,proto3,casttype=time.Duration" json:"ttl,omitempty"` 2538 // Labels is an arbitrary collection of key-value pairs. The expected labels are determined by the 2539 // type of the entry. Use of labels is preferable to adding new fields in some cases in order to 2540 // preserve fields across auth downgrades (this is mostly relevant for the version-control system). 2541 Labels map[string]string `protobuf:"bytes,5,rep,name=Labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 2542 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2543 XXX_unrecognized []byte `json:"-"` 2544 XXX_sizecache int32 `json:"-"` 2545 } 2546 2547 func (m *InstanceControlLogEntry) Reset() { *m = InstanceControlLogEntry{} } 2548 func (m *InstanceControlLogEntry) String() string { return proto.CompactTextString(m) } 2549 func (*InstanceControlLogEntry) ProtoMessage() {} 2550 func (*InstanceControlLogEntry) Descriptor() ([]byte, []int) { 2551 return fileDescriptor_9198ee693835762e, []int{31} 2552 } 2553 func (m *InstanceControlLogEntry) XXX_Unmarshal(b []byte) error { 2554 return m.Unmarshal(b) 2555 } 2556 func (m *InstanceControlLogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2557 if deterministic { 2558 return xxx_messageInfo_InstanceControlLogEntry.Marshal(b, m, deterministic) 2559 } else { 2560 b = b[:cap(b)] 2561 n, err := m.MarshalToSizedBuffer(b) 2562 if err != nil { 2563 return nil, err 2564 } 2565 return b[:n], nil 2566 } 2567 } 2568 func (m *InstanceControlLogEntry) XXX_Merge(src proto.Message) { 2569 xxx_messageInfo_InstanceControlLogEntry.Merge(m, src) 2570 } 2571 func (m *InstanceControlLogEntry) XXX_Size() int { 2572 return m.Size() 2573 } 2574 func (m *InstanceControlLogEntry) XXX_DiscardUnknown() { 2575 xxx_messageInfo_InstanceControlLogEntry.DiscardUnknown(m) 2576 } 2577 2578 var xxx_messageInfo_InstanceControlLogEntry proto.InternalMessageInfo 2579 2580 // InstanceFilter matches instance resources. 2581 type InstanceFilter struct { 2582 // ServerID matches exactly one instance by server ID if specified. 2583 ServerID string `protobuf:"bytes,1,opt,name=ServerID,proto3" json:"ServerID,omitempty"` 2584 // Version matches instance version if specified. 2585 Version string `protobuf:"bytes,2,opt,name=Version,proto3" json:"Version,omitempty"` 2586 // Services matches the instance services if specified. Note that this field matches all instances which 2587 // expose *at least* one of the listed services. This is in contrast to service matching in version 2588 // directives which match instances that expose a *at most* the listed services. 2589 Services []SystemRole `protobuf:"bytes,3,rep,name=Services,proto3,casttype=SystemRole" json:"Services,omitempty"` 2590 // ExternalUpgrader matches instance upgrader if specified. 2591 ExternalUpgrader string `protobuf:"bytes,4,opt,name=ExternalUpgrader,proto3" json:"ExternalUpgrader,omitempty"` 2592 // NoExtUpgrader explicitly matches instances for which no upgrader is defined. 2593 NoExtUpgrader bool `protobuf:"varint,5,opt,name=NoExtUpgrader,proto3" json:"NoExtUpgrader,omitempty"` 2594 // OlderThanVersion is an optional exclusive upper version bound. 2595 OlderThanVersion string `protobuf:"bytes,6,opt,name=OlderThanVersion,proto3" json:"OlderThanVersion,omitempty"` 2596 // NewerThanVersion is an optional exclusive lower version bound. 2597 NewerThanVersion string `protobuf:"bytes,7,opt,name=NewerThanVersion,proto3" json:"NewerThanVersion,omitempty"` 2598 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2599 XXX_unrecognized []byte `json:"-"` 2600 XXX_sizecache int32 `json:"-"` 2601 } 2602 2603 func (m *InstanceFilter) Reset() { *m = InstanceFilter{} } 2604 func (m *InstanceFilter) String() string { return proto.CompactTextString(m) } 2605 func (*InstanceFilter) ProtoMessage() {} 2606 func (*InstanceFilter) Descriptor() ([]byte, []int) { 2607 return fileDescriptor_9198ee693835762e, []int{32} 2608 } 2609 func (m *InstanceFilter) XXX_Unmarshal(b []byte) error { 2610 return m.Unmarshal(b) 2611 } 2612 func (m *InstanceFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2613 if deterministic { 2614 return xxx_messageInfo_InstanceFilter.Marshal(b, m, deterministic) 2615 } else { 2616 b = b[:cap(b)] 2617 n, err := m.MarshalToSizedBuffer(b) 2618 if err != nil { 2619 return nil, err 2620 } 2621 return b[:n], nil 2622 } 2623 } 2624 func (m *InstanceFilter) XXX_Merge(src proto.Message) { 2625 xxx_messageInfo_InstanceFilter.Merge(m, src) 2626 } 2627 func (m *InstanceFilter) XXX_Size() int { 2628 return m.Size() 2629 } 2630 func (m *InstanceFilter) XXX_DiscardUnknown() { 2631 xxx_messageInfo_InstanceFilter.DiscardUnknown(m) 2632 } 2633 2634 var xxx_messageInfo_InstanceFilter proto.InternalMessageInfo 2635 2636 // ServerV2 represents a Node, App, Database, Proxy or Auth server in a Teleport cluster. 2637 type ServerV2 struct { 2638 // Kind is a resource kind 2639 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 2640 // SubKind is an optional resource sub kind, used in some resources 2641 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 2642 // Version is version 2643 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 2644 // Metadata is resource metadata 2645 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 2646 // Spec is a server spec 2647 Spec ServerSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 2648 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2649 XXX_unrecognized []byte `json:"-"` 2650 XXX_sizecache int32 `json:"-"` 2651 } 2652 2653 func (m *ServerV2) Reset() { *m = ServerV2{} } 2654 func (*ServerV2) ProtoMessage() {} 2655 func (*ServerV2) Descriptor() ([]byte, []int) { 2656 return fileDescriptor_9198ee693835762e, []int{33} 2657 } 2658 func (m *ServerV2) XXX_Unmarshal(b []byte) error { 2659 return m.Unmarshal(b) 2660 } 2661 func (m *ServerV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2662 if deterministic { 2663 return xxx_messageInfo_ServerV2.Marshal(b, m, deterministic) 2664 } else { 2665 b = b[:cap(b)] 2666 n, err := m.MarshalToSizedBuffer(b) 2667 if err != nil { 2668 return nil, err 2669 } 2670 return b[:n], nil 2671 } 2672 } 2673 func (m *ServerV2) XXX_Merge(src proto.Message) { 2674 xxx_messageInfo_ServerV2.Merge(m, src) 2675 } 2676 func (m *ServerV2) XXX_Size() int { 2677 return m.Size() 2678 } 2679 func (m *ServerV2) XXX_DiscardUnknown() { 2680 xxx_messageInfo_ServerV2.DiscardUnknown(m) 2681 } 2682 2683 var xxx_messageInfo_ServerV2 proto.InternalMessageInfo 2684 2685 // ServerSpecV2 is a specification for V2 Server 2686 type ServerSpecV2 struct { 2687 // Addr is a host:port address where this server can be reached. 2688 Addr string `protobuf:"bytes,1,opt,name=Addr,proto3" json:"addr"` 2689 // Hostname is server hostname 2690 Hostname string `protobuf:"bytes,3,opt,name=Hostname,proto3" json:"hostname"` 2691 // CmdLabels is server dynamic labels 2692 CmdLabels map[string]CommandLabelV2 `protobuf:"bytes,4,rep,name=CmdLabels,proto3" json:"cmd_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 2693 // Rotation specifies server rotation 2694 Rotation Rotation `protobuf:"bytes,5,opt,name=Rotation,proto3" json:"rotation,omitempty"` 2695 // UseTunnel indicates that connections to this server should occur over a 2696 // reverse tunnel. 2697 UseTunnel bool `protobuf:"varint,6,opt,name=UseTunnel,proto3" json:"use_tunnel,omitempty"` 2698 // TeleportVersion is the teleport version that the server is running on 2699 Version string `protobuf:"bytes,7,opt,name=Version,proto3" json:"version"` 2700 // PeerAddr is the address a proxy server is reachable at by its peer proxies. 2701 PeerAddr string `protobuf:"bytes,11,opt,name=PeerAddr,proto3" json:"peer_addr,omitempty"` 2702 // ProxyIDs is a list of proxy IDs this server is expected to be connected to. 2703 ProxyIDs []string `protobuf:"bytes,12,rep,name=ProxyIDs,proto3" json:"proxy_ids,omitempty"` 2704 // PublicAddrs is a list of public addresses where this server can be reached. 2705 PublicAddrs []string `protobuf:"bytes,13,rep,name=public_addrs,json=publicAddrs,proto3" json:"public_addrs,omitempty"` 2706 // CloudMetadata contains info about the cloud instance the server is running 2707 // on, if any. 2708 CloudMetadata *CloudMetadata `protobuf:"bytes,14,opt,name=CloudMetadata,proto3" json:"cloud_metadata,omitempty"` 2709 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2710 XXX_unrecognized []byte `json:"-"` 2711 XXX_sizecache int32 `json:"-"` 2712 } 2713 2714 func (m *ServerSpecV2) Reset() { *m = ServerSpecV2{} } 2715 func (m *ServerSpecV2) String() string { return proto.CompactTextString(m) } 2716 func (*ServerSpecV2) ProtoMessage() {} 2717 func (*ServerSpecV2) Descriptor() ([]byte, []int) { 2718 return fileDescriptor_9198ee693835762e, []int{34} 2719 } 2720 func (m *ServerSpecV2) XXX_Unmarshal(b []byte) error { 2721 return m.Unmarshal(b) 2722 } 2723 func (m *ServerSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2724 if deterministic { 2725 return xxx_messageInfo_ServerSpecV2.Marshal(b, m, deterministic) 2726 } else { 2727 b = b[:cap(b)] 2728 n, err := m.MarshalToSizedBuffer(b) 2729 if err != nil { 2730 return nil, err 2731 } 2732 return b[:n], nil 2733 } 2734 } 2735 func (m *ServerSpecV2) XXX_Merge(src proto.Message) { 2736 xxx_messageInfo_ServerSpecV2.Merge(m, src) 2737 } 2738 func (m *ServerSpecV2) XXX_Size() int { 2739 return m.Size() 2740 } 2741 func (m *ServerSpecV2) XXX_DiscardUnknown() { 2742 xxx_messageInfo_ServerSpecV2.DiscardUnknown(m) 2743 } 2744 2745 var xxx_messageInfo_ServerSpecV2 proto.InternalMessageInfo 2746 2747 // AWSInfo contains attributes to match to an EC2 instance. 2748 type AWSInfo struct { 2749 // AccountID is an AWS account ID. 2750 AccountID string `protobuf:"bytes,1,opt,name=AccountID,proto3" json:"account_id"` 2751 // InstanceID is an EC2 instance ID. 2752 InstanceID string `protobuf:"bytes,2,opt,name=InstanceID,proto3" json:"instance_id"` 2753 // Region is the AWS EC2 Instance Region. 2754 Region string `protobuf:"bytes,3,opt,name=Region,proto3" json:"region,omitempty"` 2755 // VPCID is the AWS VPC ID where the Instance is running. 2756 VPCID string `protobuf:"bytes,4,opt,name=VPCID,proto3" json:"vpc_id,omitempty"` 2757 // Integration is the integration name that added this Node. 2758 // When connecting to it, it will use this integration to issue AWS API calls in order to set up the connection. 2759 // This includes sending an SSH Key and then opening a tunnel (EC2 Instance Connect Endpoint) so Teleport can connect to it. 2760 Integration string `protobuf:"bytes,5,opt,name=Integration,proto3" json:"integration,omitempty"` 2761 // SubnetID is the Subnet ID in use by the instance. 2762 SubnetID string `protobuf:"bytes,6,opt,name=SubnetID,proto3" json:"subnet_id,omitempty"` 2763 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2764 XXX_unrecognized []byte `json:"-"` 2765 XXX_sizecache int32 `json:"-"` 2766 } 2767 2768 func (m *AWSInfo) Reset() { *m = AWSInfo{} } 2769 func (m *AWSInfo) String() string { return proto.CompactTextString(m) } 2770 func (*AWSInfo) ProtoMessage() {} 2771 func (*AWSInfo) Descriptor() ([]byte, []int) { 2772 return fileDescriptor_9198ee693835762e, []int{35} 2773 } 2774 func (m *AWSInfo) XXX_Unmarshal(b []byte) error { 2775 return m.Unmarshal(b) 2776 } 2777 func (m *AWSInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2778 if deterministic { 2779 return xxx_messageInfo_AWSInfo.Marshal(b, m, deterministic) 2780 } else { 2781 b = b[:cap(b)] 2782 n, err := m.MarshalToSizedBuffer(b) 2783 if err != nil { 2784 return nil, err 2785 } 2786 return b[:n], nil 2787 } 2788 } 2789 func (m *AWSInfo) XXX_Merge(src proto.Message) { 2790 xxx_messageInfo_AWSInfo.Merge(m, src) 2791 } 2792 func (m *AWSInfo) XXX_Size() int { 2793 return m.Size() 2794 } 2795 func (m *AWSInfo) XXX_DiscardUnknown() { 2796 xxx_messageInfo_AWSInfo.DiscardUnknown(m) 2797 } 2798 2799 var xxx_messageInfo_AWSInfo proto.InternalMessageInfo 2800 2801 // CloudMetadata contains info about the cloud instance a server is running 2802 // on, if any. 2803 type CloudMetadata struct { 2804 // AWSInfo contains attributes to match to an EC2 instance. 2805 AWS *AWSInfo `protobuf:"bytes,1,opt,name=AWS,proto3" json:"aws,omitempty"` 2806 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2807 XXX_unrecognized []byte `json:"-"` 2808 XXX_sizecache int32 `json:"-"` 2809 } 2810 2811 func (m *CloudMetadata) Reset() { *m = CloudMetadata{} } 2812 func (m *CloudMetadata) String() string { return proto.CompactTextString(m) } 2813 func (*CloudMetadata) ProtoMessage() {} 2814 func (*CloudMetadata) Descriptor() ([]byte, []int) { 2815 return fileDescriptor_9198ee693835762e, []int{36} 2816 } 2817 func (m *CloudMetadata) XXX_Unmarshal(b []byte) error { 2818 return m.Unmarshal(b) 2819 } 2820 func (m *CloudMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2821 if deterministic { 2822 return xxx_messageInfo_CloudMetadata.Marshal(b, m, deterministic) 2823 } else { 2824 b = b[:cap(b)] 2825 n, err := m.MarshalToSizedBuffer(b) 2826 if err != nil { 2827 return nil, err 2828 } 2829 return b[:n], nil 2830 } 2831 } 2832 func (m *CloudMetadata) XXX_Merge(src proto.Message) { 2833 xxx_messageInfo_CloudMetadata.Merge(m, src) 2834 } 2835 func (m *CloudMetadata) XXX_Size() int { 2836 return m.Size() 2837 } 2838 func (m *CloudMetadata) XXX_DiscardUnknown() { 2839 xxx_messageInfo_CloudMetadata.DiscardUnknown(m) 2840 } 2841 2842 var xxx_messageInfo_CloudMetadata proto.InternalMessageInfo 2843 2844 // AppServerV3 represents a single proxied web app. 2845 type AppServerV3 struct { 2846 // Kind is the app server resource kind. Always "app_server". 2847 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 2848 // SubKind is an optional resource subkind. 2849 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 2850 // Version is the resource version. 2851 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 2852 // Metadata is the app server metadata. 2853 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 2854 // Spec is the app server spec. 2855 Spec AppServerSpecV3 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 2856 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2857 XXX_unrecognized []byte `json:"-"` 2858 XXX_sizecache int32 `json:"-"` 2859 } 2860 2861 func (m *AppServerV3) Reset() { *m = AppServerV3{} } 2862 func (*AppServerV3) ProtoMessage() {} 2863 func (*AppServerV3) Descriptor() ([]byte, []int) { 2864 return fileDescriptor_9198ee693835762e, []int{37} 2865 } 2866 func (m *AppServerV3) XXX_Unmarshal(b []byte) error { 2867 return m.Unmarshal(b) 2868 } 2869 func (m *AppServerV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2870 if deterministic { 2871 return xxx_messageInfo_AppServerV3.Marshal(b, m, deterministic) 2872 } else { 2873 b = b[:cap(b)] 2874 n, err := m.MarshalToSizedBuffer(b) 2875 if err != nil { 2876 return nil, err 2877 } 2878 return b[:n], nil 2879 } 2880 } 2881 func (m *AppServerV3) XXX_Merge(src proto.Message) { 2882 xxx_messageInfo_AppServerV3.Merge(m, src) 2883 } 2884 func (m *AppServerV3) XXX_Size() int { 2885 return m.Size() 2886 } 2887 func (m *AppServerV3) XXX_DiscardUnknown() { 2888 xxx_messageInfo_AppServerV3.DiscardUnknown(m) 2889 } 2890 2891 var xxx_messageInfo_AppServerV3 proto.InternalMessageInfo 2892 2893 // AppServerSpecV3 is the app access server spec. 2894 type AppServerSpecV3 struct { 2895 // Version is the Teleport version that the server is running. 2896 Version string `protobuf:"bytes,1,opt,name=Version,proto3" json:"version"` 2897 // Hostname is the app server hostname. 2898 Hostname string `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"hostname"` 2899 // HostID is the app server host uuid. 2900 HostID string `protobuf:"bytes,3,opt,name=HostID,proto3" json:"host_id"` 2901 // Rotation contains the app server CA rotation information. 2902 Rotation Rotation `protobuf:"bytes,4,opt,name=Rotation,proto3" json:"rotation,omitempty"` 2903 // App is the app proxied by this app server. 2904 App *AppV3 `protobuf:"bytes,5,opt,name=App,proto3" json:"app"` 2905 // ProxyIDs is a list of proxy IDs this server is expected to be connected to. 2906 ProxyIDs []string `protobuf:"bytes,6,rep,name=ProxyIDs,proto3" json:"proxy_ids,omitempty"` 2907 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2908 XXX_unrecognized []byte `json:"-"` 2909 XXX_sizecache int32 `json:"-"` 2910 } 2911 2912 func (m *AppServerSpecV3) Reset() { *m = AppServerSpecV3{} } 2913 func (m *AppServerSpecV3) String() string { return proto.CompactTextString(m) } 2914 func (*AppServerSpecV3) ProtoMessage() {} 2915 func (*AppServerSpecV3) Descriptor() ([]byte, []int) { 2916 return fileDescriptor_9198ee693835762e, []int{38} 2917 } 2918 func (m *AppServerSpecV3) XXX_Unmarshal(b []byte) error { 2919 return m.Unmarshal(b) 2920 } 2921 func (m *AppServerSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2922 if deterministic { 2923 return xxx_messageInfo_AppServerSpecV3.Marshal(b, m, deterministic) 2924 } else { 2925 b = b[:cap(b)] 2926 n, err := m.MarshalToSizedBuffer(b) 2927 if err != nil { 2928 return nil, err 2929 } 2930 return b[:n], nil 2931 } 2932 } 2933 func (m *AppServerSpecV3) XXX_Merge(src proto.Message) { 2934 xxx_messageInfo_AppServerSpecV3.Merge(m, src) 2935 } 2936 func (m *AppServerSpecV3) XXX_Size() int { 2937 return m.Size() 2938 } 2939 func (m *AppServerSpecV3) XXX_DiscardUnknown() { 2940 xxx_messageInfo_AppServerSpecV3.DiscardUnknown(m) 2941 } 2942 2943 var xxx_messageInfo_AppServerSpecV3 proto.InternalMessageInfo 2944 2945 // AppV3List represents a list of app resources. 2946 type AppV3List struct { 2947 // Apps is a list of app resources. 2948 Apps []*AppV3 `protobuf:"bytes,1,rep,name=Apps,proto3" json:"Apps,omitempty"` 2949 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2950 XXX_unrecognized []byte `json:"-"` 2951 XXX_sizecache int32 `json:"-"` 2952 } 2953 2954 func (m *AppV3List) Reset() { *m = AppV3List{} } 2955 func (m *AppV3List) String() string { return proto.CompactTextString(m) } 2956 func (*AppV3List) ProtoMessage() {} 2957 func (*AppV3List) Descriptor() ([]byte, []int) { 2958 return fileDescriptor_9198ee693835762e, []int{39} 2959 } 2960 func (m *AppV3List) XXX_Unmarshal(b []byte) error { 2961 return m.Unmarshal(b) 2962 } 2963 func (m *AppV3List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2964 if deterministic { 2965 return xxx_messageInfo_AppV3List.Marshal(b, m, deterministic) 2966 } else { 2967 b = b[:cap(b)] 2968 n, err := m.MarshalToSizedBuffer(b) 2969 if err != nil { 2970 return nil, err 2971 } 2972 return b[:n], nil 2973 } 2974 } 2975 func (m *AppV3List) XXX_Merge(src proto.Message) { 2976 xxx_messageInfo_AppV3List.Merge(m, src) 2977 } 2978 func (m *AppV3List) XXX_Size() int { 2979 return m.Size() 2980 } 2981 func (m *AppV3List) XXX_DiscardUnknown() { 2982 xxx_messageInfo_AppV3List.DiscardUnknown(m) 2983 } 2984 2985 var xxx_messageInfo_AppV3List proto.InternalMessageInfo 2986 2987 // AppV3 represents an app resource. 2988 type AppV3 struct { 2989 // Kind is the app resource kind. Always "app". 2990 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 2991 // SubKind is an optional resource subkind. 2992 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 2993 // Version is the resource version. It must be specified. 2994 // Supported values are:`v3`. 2995 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 2996 // Metadata is the app resource metadata. 2997 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 2998 // Spec is the app resource spec. 2999 Spec AppSpecV3 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 3000 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3001 XXX_unrecognized []byte `json:"-"` 3002 XXX_sizecache int32 `json:"-"` 3003 } 3004 3005 func (m *AppV3) Reset() { *m = AppV3{} } 3006 func (*AppV3) ProtoMessage() {} 3007 func (*AppV3) Descriptor() ([]byte, []int) { 3008 return fileDescriptor_9198ee693835762e, []int{40} 3009 } 3010 func (m *AppV3) XXX_Unmarshal(b []byte) error { 3011 return m.Unmarshal(b) 3012 } 3013 func (m *AppV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3014 if deterministic { 3015 return xxx_messageInfo_AppV3.Marshal(b, m, deterministic) 3016 } else { 3017 b = b[:cap(b)] 3018 n, err := m.MarshalToSizedBuffer(b) 3019 if err != nil { 3020 return nil, err 3021 } 3022 return b[:n], nil 3023 } 3024 } 3025 func (m *AppV3) XXX_Merge(src proto.Message) { 3026 xxx_messageInfo_AppV3.Merge(m, src) 3027 } 3028 func (m *AppV3) XXX_Size() int { 3029 return m.Size() 3030 } 3031 func (m *AppV3) XXX_DiscardUnknown() { 3032 xxx_messageInfo_AppV3.DiscardUnknown(m) 3033 } 3034 3035 var xxx_messageInfo_AppV3 proto.InternalMessageInfo 3036 3037 // AppSpecV3 is the AppV3 resource spec. 3038 type AppSpecV3 struct { 3039 // URI is the web app endpoint. 3040 URI string `protobuf:"bytes,1,opt,name=URI,proto3" json:"uri"` 3041 // PublicAddr is the public address the application is accessible at. 3042 PublicAddr string `protobuf:"bytes,2,opt,name=PublicAddr,proto3" json:"public_addr,omitempty"` 3043 // DynamicLabels are the app's command labels. 3044 DynamicLabels map[string]CommandLabelV2 `protobuf:"bytes,3,rep,name=DynamicLabels,proto3" json:"dynamic_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 3045 // InsecureSkipVerify disables app's TLS certificate verification. 3046 InsecureSkipVerify bool `protobuf:"varint,4,opt,name=InsecureSkipVerify,proto3" json:"insecure_skip_verify"` 3047 // Rewrite is a list of rewriting rules to apply to requests and responses. 3048 Rewrite *Rewrite `protobuf:"bytes,5,opt,name=Rewrite,proto3" json:"rewrite,omitempty"` 3049 // AWS contains additional options for AWS applications. 3050 AWS *AppAWS `protobuf:"bytes,6,opt,name=AWS,proto3" json:"aws,omitempty"` 3051 // Cloud identifies the cloud instance the app represents. 3052 Cloud string `protobuf:"bytes,7,opt,name=Cloud,proto3" json:"cloud,omitempty"` 3053 // UserGroups are a list of user group IDs that this app is associated with. 3054 UserGroups []string `protobuf:"bytes,8,rep,name=UserGroups,proto3" json:"UserGroups,omitempty"` 3055 // Integration is the integration name that must be used to access this Application. 3056 // Only applicable to AWS App Access. 3057 // If present, the Application must use the Integration's credentials instead of ambient credentials to access Cloud APIs. 3058 Integration string `protobuf:"bytes,9,opt,name=Integration,proto3" json:"integration,omitempty"` 3059 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3060 XXX_unrecognized []byte `json:"-"` 3061 XXX_sizecache int32 `json:"-"` 3062 } 3063 3064 func (m *AppSpecV3) Reset() { *m = AppSpecV3{} } 3065 func (m *AppSpecV3) String() string { return proto.CompactTextString(m) } 3066 func (*AppSpecV3) ProtoMessage() {} 3067 func (*AppSpecV3) Descriptor() ([]byte, []int) { 3068 return fileDescriptor_9198ee693835762e, []int{41} 3069 } 3070 func (m *AppSpecV3) XXX_Unmarshal(b []byte) error { 3071 return m.Unmarshal(b) 3072 } 3073 func (m *AppSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3074 if deterministic { 3075 return xxx_messageInfo_AppSpecV3.Marshal(b, m, deterministic) 3076 } else { 3077 b = b[:cap(b)] 3078 n, err := m.MarshalToSizedBuffer(b) 3079 if err != nil { 3080 return nil, err 3081 } 3082 return b[:n], nil 3083 } 3084 } 3085 func (m *AppSpecV3) XXX_Merge(src proto.Message) { 3086 xxx_messageInfo_AppSpecV3.Merge(m, src) 3087 } 3088 func (m *AppSpecV3) XXX_Size() int { 3089 return m.Size() 3090 } 3091 func (m *AppSpecV3) XXX_DiscardUnknown() { 3092 xxx_messageInfo_AppSpecV3.DiscardUnknown(m) 3093 } 3094 3095 var xxx_messageInfo_AppSpecV3 proto.InternalMessageInfo 3096 3097 // AppServerOrSAMLIdPServiceProviderV1 holds either an AppServerV3 or a SAMLIdPServiceProviderV1 resource (never both). 3098 // Used in application listings that request both app servers and saml apps. 3099 // 3100 // DEPRECATED: Use AppServer and SAMLIdPServiceProvider type individually. 3101 // 3102 // Deprecated: Do not use. 3103 type AppServerOrSAMLIdPServiceProviderV1 struct { 3104 // Kind is the resource kind. Always "app_server_saml_idp_sp". 3105 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 3106 // The AppServer or SAMLIdPServiceProvider resource. 3107 // 3108 // Types that are valid to be assigned to Resource: 3109 // *AppServerOrSAMLIdPServiceProviderV1_AppServer 3110 // *AppServerOrSAMLIdPServiceProviderV1_SAMLIdPServiceProvider 3111 Resource isAppServerOrSAMLIdPServiceProviderV1_Resource `protobuf_oneof:"Resource"` 3112 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3113 XXX_unrecognized []byte `json:"-"` 3114 XXX_sizecache int32 `json:"-"` 3115 } 3116 3117 func (m *AppServerOrSAMLIdPServiceProviderV1) Reset() { *m = AppServerOrSAMLIdPServiceProviderV1{} } 3118 func (*AppServerOrSAMLIdPServiceProviderV1) ProtoMessage() {} 3119 func (*AppServerOrSAMLIdPServiceProviderV1) Descriptor() ([]byte, []int) { 3120 return fileDescriptor_9198ee693835762e, []int{42} 3121 } 3122 func (m *AppServerOrSAMLIdPServiceProviderV1) XXX_Unmarshal(b []byte) error { 3123 return m.Unmarshal(b) 3124 } 3125 func (m *AppServerOrSAMLIdPServiceProviderV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3126 if deterministic { 3127 return xxx_messageInfo_AppServerOrSAMLIdPServiceProviderV1.Marshal(b, m, deterministic) 3128 } else { 3129 b = b[:cap(b)] 3130 n, err := m.MarshalToSizedBuffer(b) 3131 if err != nil { 3132 return nil, err 3133 } 3134 return b[:n], nil 3135 } 3136 } 3137 func (m *AppServerOrSAMLIdPServiceProviderV1) XXX_Merge(src proto.Message) { 3138 xxx_messageInfo_AppServerOrSAMLIdPServiceProviderV1.Merge(m, src) 3139 } 3140 func (m *AppServerOrSAMLIdPServiceProviderV1) XXX_Size() int { 3141 return m.Size() 3142 } 3143 func (m *AppServerOrSAMLIdPServiceProviderV1) XXX_DiscardUnknown() { 3144 xxx_messageInfo_AppServerOrSAMLIdPServiceProviderV1.DiscardUnknown(m) 3145 } 3146 3147 var xxx_messageInfo_AppServerOrSAMLIdPServiceProviderV1 proto.InternalMessageInfo 3148 3149 type isAppServerOrSAMLIdPServiceProviderV1_Resource interface { 3150 isAppServerOrSAMLIdPServiceProviderV1_Resource() 3151 MarshalTo([]byte) (int, error) 3152 Size() int 3153 } 3154 3155 type AppServerOrSAMLIdPServiceProviderV1_AppServer struct { 3156 AppServer *AppServerV3 `protobuf:"bytes,2,opt,name=AppServer,proto3,oneof" json:"app_server,omitempty"` 3157 } 3158 type AppServerOrSAMLIdPServiceProviderV1_SAMLIdPServiceProvider struct { 3159 SAMLIdPServiceProvider *SAMLIdPServiceProviderV1 `protobuf:"bytes,3,opt,name=SAMLIdPServiceProvider,proto3,oneof" json:"saml_idp_service_provider,omitempty"` 3160 } 3161 3162 func (*AppServerOrSAMLIdPServiceProviderV1_AppServer) isAppServerOrSAMLIdPServiceProviderV1_Resource() { 3163 } 3164 func (*AppServerOrSAMLIdPServiceProviderV1_SAMLIdPServiceProvider) isAppServerOrSAMLIdPServiceProviderV1_Resource() { 3165 } 3166 3167 func (m *AppServerOrSAMLIdPServiceProviderV1) GetResource() isAppServerOrSAMLIdPServiceProviderV1_Resource { 3168 if m != nil { 3169 return m.Resource 3170 } 3171 return nil 3172 } 3173 3174 func (m *AppServerOrSAMLIdPServiceProviderV1) GetAppServer() *AppServerV3 { 3175 if x, ok := m.GetResource().(*AppServerOrSAMLIdPServiceProviderV1_AppServer); ok { 3176 return x.AppServer 3177 } 3178 return nil 3179 } 3180 3181 func (m *AppServerOrSAMLIdPServiceProviderV1) GetSAMLIdPServiceProvider() *SAMLIdPServiceProviderV1 { 3182 if x, ok := m.GetResource().(*AppServerOrSAMLIdPServiceProviderV1_SAMLIdPServiceProvider); ok { 3183 return x.SAMLIdPServiceProvider 3184 } 3185 return nil 3186 } 3187 3188 // XXX_OneofWrappers is for the internal use of the proto package. 3189 func (*AppServerOrSAMLIdPServiceProviderV1) XXX_OneofWrappers() []interface{} { 3190 return []interface{}{ 3191 (*AppServerOrSAMLIdPServiceProviderV1_AppServer)(nil), 3192 (*AppServerOrSAMLIdPServiceProviderV1_SAMLIdPServiceProvider)(nil), 3193 } 3194 } 3195 3196 // Rewrite is a list of rewriting rules to apply to requests and responses. 3197 type Rewrite struct { 3198 // Redirect defines a list of hosts which will be rewritten to the public 3199 // address of the application if they occur in the "Location" header. 3200 Redirect []string `protobuf:"bytes,1,rep,name=Redirect,proto3" json:"redirect,omitempty"` 3201 // Headers is a list of headers to inject when passing the request over 3202 // to the application. 3203 Headers []*Header `protobuf:"bytes,2,rep,name=Headers,proto3" json:"headers,omitempty"` 3204 // JWTClaims configures whether roles/traits are included in the JWT token. 3205 JWTClaims string `protobuf:"bytes,3,opt,name=JWTClaims,proto3" json:"jwt_claims,omitempty"` 3206 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3207 XXX_unrecognized []byte `json:"-"` 3208 XXX_sizecache int32 `json:"-"` 3209 } 3210 3211 func (m *Rewrite) Reset() { *m = Rewrite{} } 3212 func (m *Rewrite) String() string { return proto.CompactTextString(m) } 3213 func (*Rewrite) ProtoMessage() {} 3214 func (*Rewrite) Descriptor() ([]byte, []int) { 3215 return fileDescriptor_9198ee693835762e, []int{43} 3216 } 3217 func (m *Rewrite) XXX_Unmarshal(b []byte) error { 3218 return m.Unmarshal(b) 3219 } 3220 func (m *Rewrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3221 if deterministic { 3222 return xxx_messageInfo_Rewrite.Marshal(b, m, deterministic) 3223 } else { 3224 b = b[:cap(b)] 3225 n, err := m.MarshalToSizedBuffer(b) 3226 if err != nil { 3227 return nil, err 3228 } 3229 return b[:n], nil 3230 } 3231 } 3232 func (m *Rewrite) XXX_Merge(src proto.Message) { 3233 xxx_messageInfo_Rewrite.Merge(m, src) 3234 } 3235 func (m *Rewrite) XXX_Size() int { 3236 return m.Size() 3237 } 3238 func (m *Rewrite) XXX_DiscardUnknown() { 3239 xxx_messageInfo_Rewrite.DiscardUnknown(m) 3240 } 3241 3242 var xxx_messageInfo_Rewrite proto.InternalMessageInfo 3243 3244 // Header represents a single http header passed over to the proxied application. 3245 type Header struct { 3246 // Name is the http header name. 3247 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 3248 // Value is the http header value. 3249 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"value"` 3250 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3251 XXX_unrecognized []byte `json:"-"` 3252 XXX_sizecache int32 `json:"-"` 3253 } 3254 3255 func (m *Header) Reset() { *m = Header{} } 3256 func (m *Header) String() string { return proto.CompactTextString(m) } 3257 func (*Header) ProtoMessage() {} 3258 func (*Header) Descriptor() ([]byte, []int) { 3259 return fileDescriptor_9198ee693835762e, []int{44} 3260 } 3261 func (m *Header) XXX_Unmarshal(b []byte) error { 3262 return m.Unmarshal(b) 3263 } 3264 func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3265 if deterministic { 3266 return xxx_messageInfo_Header.Marshal(b, m, deterministic) 3267 } else { 3268 b = b[:cap(b)] 3269 n, err := m.MarshalToSizedBuffer(b) 3270 if err != nil { 3271 return nil, err 3272 } 3273 return b[:n], nil 3274 } 3275 } 3276 func (m *Header) XXX_Merge(src proto.Message) { 3277 xxx_messageInfo_Header.Merge(m, src) 3278 } 3279 func (m *Header) XXX_Size() int { 3280 return m.Size() 3281 } 3282 func (m *Header) XXX_DiscardUnknown() { 3283 xxx_messageInfo_Header.DiscardUnknown(m) 3284 } 3285 3286 var xxx_messageInfo_Header proto.InternalMessageInfo 3287 3288 // CommandLabelV2 is a label that has a value as a result of the 3289 // output generated by running command, e.g. hostname 3290 type CommandLabelV2 struct { 3291 // Period is a time between command runs 3292 Period Duration `protobuf:"varint,1,opt,name=Period,proto3,casttype=Duration" json:"period"` 3293 // Command is a command to run 3294 Command []string `protobuf:"bytes,2,rep,name=Command,proto3" json:"command"` 3295 // Result captures standard output 3296 Result string `protobuf:"bytes,3,opt,name=Result,proto3" json:"result"` 3297 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3298 XXX_unrecognized []byte `json:"-"` 3299 XXX_sizecache int32 `json:"-"` 3300 } 3301 3302 func (m *CommandLabelV2) Reset() { *m = CommandLabelV2{} } 3303 func (m *CommandLabelV2) String() string { return proto.CompactTextString(m) } 3304 func (*CommandLabelV2) ProtoMessage() {} 3305 func (*CommandLabelV2) Descriptor() ([]byte, []int) { 3306 return fileDescriptor_9198ee693835762e, []int{45} 3307 } 3308 func (m *CommandLabelV2) XXX_Unmarshal(b []byte) error { 3309 return m.Unmarshal(b) 3310 } 3311 func (m *CommandLabelV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3312 if deterministic { 3313 return xxx_messageInfo_CommandLabelV2.Marshal(b, m, deterministic) 3314 } else { 3315 b = b[:cap(b)] 3316 n, err := m.MarshalToSizedBuffer(b) 3317 if err != nil { 3318 return nil, err 3319 } 3320 return b[:n], nil 3321 } 3322 } 3323 func (m *CommandLabelV2) XXX_Merge(src proto.Message) { 3324 xxx_messageInfo_CommandLabelV2.Merge(m, src) 3325 } 3326 func (m *CommandLabelV2) XXX_Size() int { 3327 return m.Size() 3328 } 3329 func (m *CommandLabelV2) XXX_DiscardUnknown() { 3330 xxx_messageInfo_CommandLabelV2.DiscardUnknown(m) 3331 } 3332 3333 var xxx_messageInfo_CommandLabelV2 proto.InternalMessageInfo 3334 3335 // AppAWS contains additional options for AWS applications. 3336 type AppAWS struct { 3337 // ExternalID is the AWS External ID used when assuming roles in this app. 3338 ExternalID string `protobuf:"bytes,1,opt,name=ExternalID,proto3" json:"external_id,omitempty"` 3339 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3340 XXX_unrecognized []byte `json:"-"` 3341 XXX_sizecache int32 `json:"-"` 3342 } 3343 3344 func (m *AppAWS) Reset() { *m = AppAWS{} } 3345 func (m *AppAWS) String() string { return proto.CompactTextString(m) } 3346 func (*AppAWS) ProtoMessage() {} 3347 func (*AppAWS) Descriptor() ([]byte, []int) { 3348 return fileDescriptor_9198ee693835762e, []int{46} 3349 } 3350 func (m *AppAWS) XXX_Unmarshal(b []byte) error { 3351 return m.Unmarshal(b) 3352 } 3353 func (m *AppAWS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3354 if deterministic { 3355 return xxx_messageInfo_AppAWS.Marshal(b, m, deterministic) 3356 } else { 3357 b = b[:cap(b)] 3358 n, err := m.MarshalToSizedBuffer(b) 3359 if err != nil { 3360 return nil, err 3361 } 3362 return b[:n], nil 3363 } 3364 } 3365 func (m *AppAWS) XXX_Merge(src proto.Message) { 3366 xxx_messageInfo_AppAWS.Merge(m, src) 3367 } 3368 func (m *AppAWS) XXX_Size() int { 3369 return m.Size() 3370 } 3371 func (m *AppAWS) XXX_DiscardUnknown() { 3372 xxx_messageInfo_AppAWS.DiscardUnknown(m) 3373 } 3374 3375 var xxx_messageInfo_AppAWS proto.InternalMessageInfo 3376 3377 // SSHKeyPair is an SSH CA key pair. 3378 type SSHKeyPair struct { 3379 // PublicKey is the SSH public key. 3380 PublicKey []byte `protobuf:"bytes,1,opt,name=PublicKey,proto3" json:"public_key,omitempty"` 3381 // PrivateKey is the SSH private key. 3382 PrivateKey []byte `protobuf:"bytes,2,opt,name=PrivateKey,proto3" json:"private_key,omitempty"` 3383 // PrivateKeyType is the type of the PrivateKey. 3384 PrivateKeyType PrivateKeyType `protobuf:"varint,3,opt,name=PrivateKeyType,proto3,enum=types.PrivateKeyType" json:"private_key_type,omitempty"` 3385 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3386 XXX_unrecognized []byte `json:"-"` 3387 XXX_sizecache int32 `json:"-"` 3388 } 3389 3390 func (m *SSHKeyPair) Reset() { *m = SSHKeyPair{} } 3391 func (m *SSHKeyPair) String() string { return proto.CompactTextString(m) } 3392 func (*SSHKeyPair) ProtoMessage() {} 3393 func (*SSHKeyPair) Descriptor() ([]byte, []int) { 3394 return fileDescriptor_9198ee693835762e, []int{47} 3395 } 3396 func (m *SSHKeyPair) XXX_Unmarshal(b []byte) error { 3397 return m.Unmarshal(b) 3398 } 3399 func (m *SSHKeyPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3400 if deterministic { 3401 return xxx_messageInfo_SSHKeyPair.Marshal(b, m, deterministic) 3402 } else { 3403 b = b[:cap(b)] 3404 n, err := m.MarshalToSizedBuffer(b) 3405 if err != nil { 3406 return nil, err 3407 } 3408 return b[:n], nil 3409 } 3410 } 3411 func (m *SSHKeyPair) XXX_Merge(src proto.Message) { 3412 xxx_messageInfo_SSHKeyPair.Merge(m, src) 3413 } 3414 func (m *SSHKeyPair) XXX_Size() int { 3415 return m.Size() 3416 } 3417 func (m *SSHKeyPair) XXX_DiscardUnknown() { 3418 xxx_messageInfo_SSHKeyPair.DiscardUnknown(m) 3419 } 3420 3421 var xxx_messageInfo_SSHKeyPair proto.InternalMessageInfo 3422 3423 // TLSKeyPair is a TLS key pair 3424 type TLSKeyPair struct { 3425 // Cert is a PEM encoded TLS cert 3426 Cert []byte `protobuf:"bytes,1,opt,name=Cert,proto3" json:"cert,omitempty"` 3427 // Key is a PEM encoded TLS key 3428 Key []byte `protobuf:"bytes,2,opt,name=Key,proto3" json:"key,omitempty"` 3429 // KeyType is the type of the Key. 3430 KeyType PrivateKeyType `protobuf:"varint,3,opt,name=KeyType,proto3,enum=types.PrivateKeyType" json:"key_type,omitempty"` 3431 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3432 XXX_unrecognized []byte `json:"-"` 3433 XXX_sizecache int32 `json:"-"` 3434 } 3435 3436 func (m *TLSKeyPair) Reset() { *m = TLSKeyPair{} } 3437 func (m *TLSKeyPair) String() string { return proto.CompactTextString(m) } 3438 func (*TLSKeyPair) ProtoMessage() {} 3439 func (*TLSKeyPair) Descriptor() ([]byte, []int) { 3440 return fileDescriptor_9198ee693835762e, []int{48} 3441 } 3442 func (m *TLSKeyPair) XXX_Unmarshal(b []byte) error { 3443 return m.Unmarshal(b) 3444 } 3445 func (m *TLSKeyPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3446 if deterministic { 3447 return xxx_messageInfo_TLSKeyPair.Marshal(b, m, deterministic) 3448 } else { 3449 b = b[:cap(b)] 3450 n, err := m.MarshalToSizedBuffer(b) 3451 if err != nil { 3452 return nil, err 3453 } 3454 return b[:n], nil 3455 } 3456 } 3457 func (m *TLSKeyPair) XXX_Merge(src proto.Message) { 3458 xxx_messageInfo_TLSKeyPair.Merge(m, src) 3459 } 3460 func (m *TLSKeyPair) XXX_Size() int { 3461 return m.Size() 3462 } 3463 func (m *TLSKeyPair) XXX_DiscardUnknown() { 3464 xxx_messageInfo_TLSKeyPair.DiscardUnknown(m) 3465 } 3466 3467 var xxx_messageInfo_TLSKeyPair proto.InternalMessageInfo 3468 3469 // JWTKeyPair is a PEM encoded keypair used for signing JWT tokens. 3470 type JWTKeyPair struct { 3471 // PublicKey is a PEM encoded public key. 3472 PublicKey []byte `protobuf:"bytes,1,opt,name=PublicKey,proto3" json:"public_key,omitempty"` 3473 // PrivateKey is a PEM encoded private key. 3474 PrivateKey []byte `protobuf:"bytes,2,opt,name=PrivateKey,proto3" json:"private_key,omitempty"` 3475 // PrivateKeyType is the type of the PrivateKey. 3476 PrivateKeyType PrivateKeyType `protobuf:"varint,3,opt,name=PrivateKeyType,proto3,enum=types.PrivateKeyType" json:"private_key_type,omitempty"` 3477 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3478 XXX_unrecognized []byte `json:"-"` 3479 XXX_sizecache int32 `json:"-"` 3480 } 3481 3482 func (m *JWTKeyPair) Reset() { *m = JWTKeyPair{} } 3483 func (m *JWTKeyPair) String() string { return proto.CompactTextString(m) } 3484 func (*JWTKeyPair) ProtoMessage() {} 3485 func (*JWTKeyPair) Descriptor() ([]byte, []int) { 3486 return fileDescriptor_9198ee693835762e, []int{49} 3487 } 3488 func (m *JWTKeyPair) XXX_Unmarshal(b []byte) error { 3489 return m.Unmarshal(b) 3490 } 3491 func (m *JWTKeyPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3492 if deterministic { 3493 return xxx_messageInfo_JWTKeyPair.Marshal(b, m, deterministic) 3494 } else { 3495 b = b[:cap(b)] 3496 n, err := m.MarshalToSizedBuffer(b) 3497 if err != nil { 3498 return nil, err 3499 } 3500 return b[:n], nil 3501 } 3502 } 3503 func (m *JWTKeyPair) XXX_Merge(src proto.Message) { 3504 xxx_messageInfo_JWTKeyPair.Merge(m, src) 3505 } 3506 func (m *JWTKeyPair) XXX_Size() int { 3507 return m.Size() 3508 } 3509 func (m *JWTKeyPair) XXX_DiscardUnknown() { 3510 xxx_messageInfo_JWTKeyPair.DiscardUnknown(m) 3511 } 3512 3513 var xxx_messageInfo_JWTKeyPair proto.InternalMessageInfo 3514 3515 // CertAuthorityV2 is version 2 resource spec for Cert Authority 3516 type CertAuthorityV2 struct { 3517 // Kind is a resource kind 3518 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 3519 // SubKind is an optional resource sub kind, used in some resources 3520 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 3521 // Version is version 3522 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 3523 // Metadata is connector metadata 3524 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 3525 // Spec contains cert authority specification 3526 Spec CertAuthoritySpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 3527 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3528 XXX_unrecognized []byte `json:"-"` 3529 XXX_sizecache int32 `json:"-"` 3530 } 3531 3532 func (m *CertAuthorityV2) Reset() { *m = CertAuthorityV2{} } 3533 func (*CertAuthorityV2) ProtoMessage() {} 3534 func (*CertAuthorityV2) Descriptor() ([]byte, []int) { 3535 return fileDescriptor_9198ee693835762e, []int{50} 3536 } 3537 func (m *CertAuthorityV2) XXX_Unmarshal(b []byte) error { 3538 return m.Unmarshal(b) 3539 } 3540 func (m *CertAuthorityV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3541 if deterministic { 3542 return xxx_messageInfo_CertAuthorityV2.Marshal(b, m, deterministic) 3543 } else { 3544 b = b[:cap(b)] 3545 n, err := m.MarshalToSizedBuffer(b) 3546 if err != nil { 3547 return nil, err 3548 } 3549 return b[:n], nil 3550 } 3551 } 3552 func (m *CertAuthorityV2) XXX_Merge(src proto.Message) { 3553 xxx_messageInfo_CertAuthorityV2.Merge(m, src) 3554 } 3555 func (m *CertAuthorityV2) XXX_Size() int { 3556 return m.Size() 3557 } 3558 func (m *CertAuthorityV2) XXX_DiscardUnknown() { 3559 xxx_messageInfo_CertAuthorityV2.DiscardUnknown(m) 3560 } 3561 3562 var xxx_messageInfo_CertAuthorityV2 proto.InternalMessageInfo 3563 3564 // CertAuthoritySpecV2 is a host or user certificate authority that 3565 // can check and if it has private key stored as well, sign it too 3566 type CertAuthoritySpecV2 struct { 3567 // Type is either user or host certificate authority 3568 Type CertAuthType `protobuf:"bytes,1,opt,name=Type,proto3,casttype=CertAuthType" json:"type"` 3569 // DELETE IN(2.7.0) this field is deprecated, 3570 // as resource name matches cluster name after migrations. 3571 // and this property is enforced by the auth server code. 3572 // ClusterName identifies cluster name this authority serves, 3573 // for host authorities that means base hostname of all servers, 3574 // for user authorities that means organization name 3575 ClusterName string `protobuf:"bytes,2,opt,name=ClusterName,proto3" json:"cluster_name"` 3576 // Roles is a list of roles assumed by users signed by this CA 3577 Roles []string `protobuf:"bytes,5,rep,name=Roles,proto3" json:"roles,omitempty"` 3578 // RoleMap specifies role mappings to remote roles 3579 RoleMap []RoleMapping `protobuf:"bytes,6,rep,name=RoleMap,proto3" json:"role_map,omitempty"` 3580 // Rotation is a status of the certificate authority rotation 3581 Rotation *Rotation `protobuf:"bytes,8,opt,name=Rotation,proto3" json:"rotation,omitempty"` 3582 SigningAlg CertAuthoritySpecV2_SigningAlgType `protobuf:"varint,9,opt,name=SigningAlg,proto3,enum=types.CertAuthoritySpecV2_SigningAlgType" json:"signing_alg,omitempty"` 3583 // ActiveKeys are the CA key sets used to sign any new certificates. 3584 ActiveKeys CAKeySet `protobuf:"bytes,11,opt,name=ActiveKeys,proto3" json:"active_keys,omitempty"` 3585 // AdditionalTrustedKeys are additional CA key sets that can be used to 3586 // verify certificates. Certificates should be verified with 3587 // AdditionalTrustedKeys and ActiveKeys combined. 3588 AdditionalTrustedKeys CAKeySet `protobuf:"bytes,12,opt,name=AdditionalTrustedKeys,proto3" json:"additional_trusted_keys,omitempty"` 3589 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3590 XXX_unrecognized []byte `json:"-"` 3591 XXX_sizecache int32 `json:"-"` 3592 } 3593 3594 func (m *CertAuthoritySpecV2) Reset() { *m = CertAuthoritySpecV2{} } 3595 func (m *CertAuthoritySpecV2) String() string { return proto.CompactTextString(m) } 3596 func (*CertAuthoritySpecV2) ProtoMessage() {} 3597 func (*CertAuthoritySpecV2) Descriptor() ([]byte, []int) { 3598 return fileDescriptor_9198ee693835762e, []int{51} 3599 } 3600 func (m *CertAuthoritySpecV2) XXX_Unmarshal(b []byte) error { 3601 return m.Unmarshal(b) 3602 } 3603 func (m *CertAuthoritySpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3604 if deterministic { 3605 return xxx_messageInfo_CertAuthoritySpecV2.Marshal(b, m, deterministic) 3606 } else { 3607 b = b[:cap(b)] 3608 n, err := m.MarshalToSizedBuffer(b) 3609 if err != nil { 3610 return nil, err 3611 } 3612 return b[:n], nil 3613 } 3614 } 3615 func (m *CertAuthoritySpecV2) XXX_Merge(src proto.Message) { 3616 xxx_messageInfo_CertAuthoritySpecV2.Merge(m, src) 3617 } 3618 func (m *CertAuthoritySpecV2) XXX_Size() int { 3619 return m.Size() 3620 } 3621 func (m *CertAuthoritySpecV2) XXX_DiscardUnknown() { 3622 xxx_messageInfo_CertAuthoritySpecV2.DiscardUnknown(m) 3623 } 3624 3625 var xxx_messageInfo_CertAuthoritySpecV2 proto.InternalMessageInfo 3626 3627 // CAKeySet is the set of CA keys. 3628 type CAKeySet struct { 3629 // SSH contains SSH CA key pairs. 3630 SSH []*SSHKeyPair `protobuf:"bytes,1,rep,name=SSH,proto3" json:"ssh,omitempty"` 3631 // TLS contains TLS CA key/cert pairs. 3632 TLS []*TLSKeyPair `protobuf:"bytes,2,rep,name=TLS,proto3" json:"tls,omitempty"` 3633 // JWT contains JWT signing key pairs. 3634 JWT []*JWTKeyPair `protobuf:"bytes,3,rep,name=JWT,proto3" json:"jwt,omitempty"` 3635 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3636 XXX_unrecognized []byte `json:"-"` 3637 XXX_sizecache int32 `json:"-"` 3638 } 3639 3640 func (m *CAKeySet) Reset() { *m = CAKeySet{} } 3641 func (m *CAKeySet) String() string { return proto.CompactTextString(m) } 3642 func (*CAKeySet) ProtoMessage() {} 3643 func (*CAKeySet) Descriptor() ([]byte, []int) { 3644 return fileDescriptor_9198ee693835762e, []int{52} 3645 } 3646 func (m *CAKeySet) XXX_Unmarshal(b []byte) error { 3647 return m.Unmarshal(b) 3648 } 3649 func (m *CAKeySet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3650 if deterministic { 3651 return xxx_messageInfo_CAKeySet.Marshal(b, m, deterministic) 3652 } else { 3653 b = b[:cap(b)] 3654 n, err := m.MarshalToSizedBuffer(b) 3655 if err != nil { 3656 return nil, err 3657 } 3658 return b[:n], nil 3659 } 3660 } 3661 func (m *CAKeySet) XXX_Merge(src proto.Message) { 3662 xxx_messageInfo_CAKeySet.Merge(m, src) 3663 } 3664 func (m *CAKeySet) XXX_Size() int { 3665 return m.Size() 3666 } 3667 func (m *CAKeySet) XXX_DiscardUnknown() { 3668 xxx_messageInfo_CAKeySet.DiscardUnknown(m) 3669 } 3670 3671 var xxx_messageInfo_CAKeySet proto.InternalMessageInfo 3672 3673 // RoleMapping provides mapping of remote roles to local roles 3674 // for trusted clusters 3675 type RoleMapping struct { 3676 // Remote specifies remote role name to map from 3677 Remote string `protobuf:"bytes,1,opt,name=Remote,proto3" json:"remote"` 3678 // Local specifies local roles to map to 3679 Local []string `protobuf:"bytes,2,rep,name=Local,proto3" json:"local"` 3680 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3681 XXX_unrecognized []byte `json:"-"` 3682 XXX_sizecache int32 `json:"-"` 3683 } 3684 3685 func (m *RoleMapping) Reset() { *m = RoleMapping{} } 3686 func (m *RoleMapping) String() string { return proto.CompactTextString(m) } 3687 func (*RoleMapping) ProtoMessage() {} 3688 func (*RoleMapping) Descriptor() ([]byte, []int) { 3689 return fileDescriptor_9198ee693835762e, []int{53} 3690 } 3691 func (m *RoleMapping) XXX_Unmarshal(b []byte) error { 3692 return m.Unmarshal(b) 3693 } 3694 func (m *RoleMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3695 if deterministic { 3696 return xxx_messageInfo_RoleMapping.Marshal(b, m, deterministic) 3697 } else { 3698 b = b[:cap(b)] 3699 n, err := m.MarshalToSizedBuffer(b) 3700 if err != nil { 3701 return nil, err 3702 } 3703 return b[:n], nil 3704 } 3705 } 3706 func (m *RoleMapping) XXX_Merge(src proto.Message) { 3707 xxx_messageInfo_RoleMapping.Merge(m, src) 3708 } 3709 func (m *RoleMapping) XXX_Size() int { 3710 return m.Size() 3711 } 3712 func (m *RoleMapping) XXX_DiscardUnknown() { 3713 xxx_messageInfo_RoleMapping.DiscardUnknown(m) 3714 } 3715 3716 var xxx_messageInfo_RoleMapping proto.InternalMessageInfo 3717 3718 // ProvisionTokenV1 is a provisioning token V1 3719 type ProvisionTokenV1 struct { 3720 // Roles is a list of roles associated with the token, 3721 // that will be converted to metadata in the SSH and X509 3722 // certificates issued to the user of the token 3723 Roles []SystemRole `protobuf:"bytes,1,rep,name=Roles,proto3,casttype=SystemRole" json:"roles"` 3724 // Expires is a global expiry time header can be set on any resource in the 3725 // system. 3726 Expires time.Time `protobuf:"bytes,2,opt,name=Expires,proto3,stdtime" json:"expires,omitempty"` 3727 // Token is a token name 3728 Token string `protobuf:"bytes,3,opt,name=Token,proto3" json:"token"` 3729 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3730 XXX_unrecognized []byte `json:"-"` 3731 XXX_sizecache int32 `json:"-"` 3732 } 3733 3734 func (m *ProvisionTokenV1) Reset() { *m = ProvisionTokenV1{} } 3735 func (*ProvisionTokenV1) ProtoMessage() {} 3736 func (*ProvisionTokenV1) Descriptor() ([]byte, []int) { 3737 return fileDescriptor_9198ee693835762e, []int{54} 3738 } 3739 func (m *ProvisionTokenV1) XXX_Unmarshal(b []byte) error { 3740 return m.Unmarshal(b) 3741 } 3742 func (m *ProvisionTokenV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3743 if deterministic { 3744 return xxx_messageInfo_ProvisionTokenV1.Marshal(b, m, deterministic) 3745 } else { 3746 b = b[:cap(b)] 3747 n, err := m.MarshalToSizedBuffer(b) 3748 if err != nil { 3749 return nil, err 3750 } 3751 return b[:n], nil 3752 } 3753 } 3754 func (m *ProvisionTokenV1) XXX_Merge(src proto.Message) { 3755 xxx_messageInfo_ProvisionTokenV1.Merge(m, src) 3756 } 3757 func (m *ProvisionTokenV1) XXX_Size() int { 3758 return m.Size() 3759 } 3760 func (m *ProvisionTokenV1) XXX_DiscardUnknown() { 3761 xxx_messageInfo_ProvisionTokenV1.DiscardUnknown(m) 3762 } 3763 3764 var xxx_messageInfo_ProvisionTokenV1 proto.InternalMessageInfo 3765 3766 // ProvisionTokenV2 specifies provisioning token 3767 type ProvisionTokenV2 struct { 3768 // Kind is a resource kind 3769 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 3770 // SubKind is an optional resource sub kind, used in some resources 3771 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 3772 // Version is the resource version. It must be specified. 3773 // Supported values are:`v2`. 3774 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 3775 // Metadata is resource metadata 3776 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 3777 // Spec is a provisioning token V2 spec 3778 Spec ProvisionTokenSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 3779 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3780 XXX_unrecognized []byte `json:"-"` 3781 XXX_sizecache int32 `json:"-"` 3782 } 3783 3784 func (m *ProvisionTokenV2) Reset() { *m = ProvisionTokenV2{} } 3785 func (*ProvisionTokenV2) ProtoMessage() {} 3786 func (*ProvisionTokenV2) Descriptor() ([]byte, []int) { 3787 return fileDescriptor_9198ee693835762e, []int{55} 3788 } 3789 func (m *ProvisionTokenV2) XXX_Unmarshal(b []byte) error { 3790 return m.Unmarshal(b) 3791 } 3792 func (m *ProvisionTokenV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3793 if deterministic { 3794 return xxx_messageInfo_ProvisionTokenV2.Marshal(b, m, deterministic) 3795 } else { 3796 b = b[:cap(b)] 3797 n, err := m.MarshalToSizedBuffer(b) 3798 if err != nil { 3799 return nil, err 3800 } 3801 return b[:n], nil 3802 } 3803 } 3804 func (m *ProvisionTokenV2) XXX_Merge(src proto.Message) { 3805 xxx_messageInfo_ProvisionTokenV2.Merge(m, src) 3806 } 3807 func (m *ProvisionTokenV2) XXX_Size() int { 3808 return m.Size() 3809 } 3810 func (m *ProvisionTokenV2) XXX_DiscardUnknown() { 3811 xxx_messageInfo_ProvisionTokenV2.DiscardUnknown(m) 3812 } 3813 3814 var xxx_messageInfo_ProvisionTokenV2 proto.InternalMessageInfo 3815 3816 // ProvisionTokenV2List is a list of provisioning tokens. 3817 type ProvisionTokenV2List struct { 3818 // ProvisionTokens is a list of provisioning tokens. 3819 ProvisionTokens []*ProvisionTokenV2 `protobuf:"bytes,1,rep,name=ProvisionTokens,proto3" json:"ProvisionTokens,omitempty"` 3820 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3821 XXX_unrecognized []byte `json:"-"` 3822 XXX_sizecache int32 `json:"-"` 3823 } 3824 3825 func (m *ProvisionTokenV2List) Reset() { *m = ProvisionTokenV2List{} } 3826 func (m *ProvisionTokenV2List) String() string { return proto.CompactTextString(m) } 3827 func (*ProvisionTokenV2List) ProtoMessage() {} 3828 func (*ProvisionTokenV2List) Descriptor() ([]byte, []int) { 3829 return fileDescriptor_9198ee693835762e, []int{56} 3830 } 3831 func (m *ProvisionTokenV2List) XXX_Unmarshal(b []byte) error { 3832 return m.Unmarshal(b) 3833 } 3834 func (m *ProvisionTokenV2List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3835 if deterministic { 3836 return xxx_messageInfo_ProvisionTokenV2List.Marshal(b, m, deterministic) 3837 } else { 3838 b = b[:cap(b)] 3839 n, err := m.MarshalToSizedBuffer(b) 3840 if err != nil { 3841 return nil, err 3842 } 3843 return b[:n], nil 3844 } 3845 } 3846 func (m *ProvisionTokenV2List) XXX_Merge(src proto.Message) { 3847 xxx_messageInfo_ProvisionTokenV2List.Merge(m, src) 3848 } 3849 func (m *ProvisionTokenV2List) XXX_Size() int { 3850 return m.Size() 3851 } 3852 func (m *ProvisionTokenV2List) XXX_DiscardUnknown() { 3853 xxx_messageInfo_ProvisionTokenV2List.DiscardUnknown(m) 3854 } 3855 3856 var xxx_messageInfo_ProvisionTokenV2List proto.InternalMessageInfo 3857 3858 // TokenRule is a rule that a joining node must match in order to use the 3859 // associated token. 3860 type TokenRule struct { 3861 // AWSAccount is the AWS account ID. 3862 AWSAccount string `protobuf:"bytes,1,opt,name=AWSAccount,proto3" json:"aws_account,omitempty"` 3863 // AWSRegions is used for the EC2 join method and is a list of AWS regions a 3864 // node is allowed to join from. 3865 AWSRegions []string `protobuf:"bytes,2,rep,name=AWSRegions,proto3" json:"aws_regions,omitempty"` 3866 // AWSRole is used for the EC2 join method and is the ARN of the AWS 3867 // role that the auth server will assume in order to call the ec2 API. 3868 AWSRole string `protobuf:"bytes,3,opt,name=AWSRole,proto3" json:"aws_role,omitempty"` 3869 // AWSARN is used for the IAM join method, the AWS identity of joining nodes 3870 // must match this ARN. Supports wildcards "*" and "?". 3871 AWSARN string `protobuf:"bytes,4,opt,name=AWSARN,proto3" json:"aws_arn,omitempty"` 3872 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3873 XXX_unrecognized []byte `json:"-"` 3874 XXX_sizecache int32 `json:"-"` 3875 } 3876 3877 func (m *TokenRule) Reset() { *m = TokenRule{} } 3878 func (m *TokenRule) String() string { return proto.CompactTextString(m) } 3879 func (*TokenRule) ProtoMessage() {} 3880 func (*TokenRule) Descriptor() ([]byte, []int) { 3881 return fileDescriptor_9198ee693835762e, []int{57} 3882 } 3883 func (m *TokenRule) XXX_Unmarshal(b []byte) error { 3884 return m.Unmarshal(b) 3885 } 3886 func (m *TokenRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3887 if deterministic { 3888 return xxx_messageInfo_TokenRule.Marshal(b, m, deterministic) 3889 } else { 3890 b = b[:cap(b)] 3891 n, err := m.MarshalToSizedBuffer(b) 3892 if err != nil { 3893 return nil, err 3894 } 3895 return b[:n], nil 3896 } 3897 } 3898 func (m *TokenRule) XXX_Merge(src proto.Message) { 3899 xxx_messageInfo_TokenRule.Merge(m, src) 3900 } 3901 func (m *TokenRule) XXX_Size() int { 3902 return m.Size() 3903 } 3904 func (m *TokenRule) XXX_DiscardUnknown() { 3905 xxx_messageInfo_TokenRule.DiscardUnknown(m) 3906 } 3907 3908 var xxx_messageInfo_TokenRule proto.InternalMessageInfo 3909 3910 // ProvisionTokenSpecV2 is a specification for V2 token 3911 type ProvisionTokenSpecV2 struct { 3912 // Roles is a list of roles associated with the token, 3913 // that will be converted to metadata in the SSH and X509 3914 // certificates issued to the user of the token 3915 Roles []SystemRole `protobuf:"bytes,1,rep,name=Roles,proto3,casttype=SystemRole" json:"roles"` 3916 // Allow is a list of TokenRules, nodes using this token must match one 3917 // allow rule to use this token. 3918 Allow []*TokenRule `protobuf:"bytes,2,rep,name=Allow,proto3" json:"allow,omitempty"` 3919 // AWSIIDTTL is the TTL to use for AWS EC2 Instance Identity Documents used 3920 // to join the cluster with this token. 3921 AWSIIDTTL Duration `protobuf:"varint,3,opt,name=AWSIIDTTL,proto3,casttype=Duration" json:"aws_iid_ttl,omitempty"` 3922 // JoinMethod is the joining method required in order to use this token. 3923 // Supported joining methods include "token", "ec2", and "iam". 3924 JoinMethod JoinMethod `protobuf:"bytes,4,opt,name=JoinMethod,proto3,casttype=JoinMethod" json:"join_method"` 3925 // BotName is the name of the bot this token grants access to, if any 3926 BotName string `protobuf:"bytes,5,opt,name=BotName,proto3" json:"bot_name,omitempty"` 3927 // SuggestedLabels is a set of labels that resources should set when using this token to enroll 3928 // themselves in the cluster. 3929 // Currently, only node-join scripts create a configuration according to the suggestion. 3930 SuggestedLabels Labels `protobuf:"bytes,6,opt,name=SuggestedLabels,proto3,customtype=Labels" json:"suggested_labels,omitempty"` 3931 // GitHub allows the configuration of options specific to the "github" join method. 3932 GitHub *ProvisionTokenSpecV2GitHub `protobuf:"bytes,7,opt,name=GitHub,proto3" json:"github,omitempty"` 3933 // CircleCI allows the configuration of options specific to the "circleci" join method. 3934 CircleCI *ProvisionTokenSpecV2CircleCI `protobuf:"bytes,8,opt,name=CircleCI,proto3" json:"circleci,omitempty"` 3935 // SuggestedAgentMatcherLabels is a set of labels to be used by agents to match on resources. 3936 // When an agent uses this token, the agent should monitor resources that match those labels. 3937 // For databases, this means adding the labels to `db_service.resources.labels`. 3938 // Currently, only node-join scripts create a configuration according to the suggestion. 3939 SuggestedAgentMatcherLabels Labels `protobuf:"bytes,9,opt,name=SuggestedAgentMatcherLabels,proto3,customtype=Labels" json:"suggested_agent_matcher_labels,omitempty"` 3940 // Kubernetes allows the configuration of options specific to the "kubernetes" join method. 3941 Kubernetes *ProvisionTokenSpecV2Kubernetes `protobuf:"bytes,10,opt,name=Kubernetes,proto3" json:"kubernetes,omitempty"` 3942 // Azure allows the configuration of options specific to the "azure" join method. 3943 Azure *ProvisionTokenSpecV2Azure `protobuf:"bytes,11,opt,name=Azure,proto3" json:"azure,omitempty"` 3944 // GitLab allows the configuration of options specific to the "gitlab" join method. 3945 GitLab *ProvisionTokenSpecV2GitLab `protobuf:"bytes,12,opt,name=GitLab,proto3" json:"gitlab,omitempty"` 3946 // GCP allows the configuration of options specific to the "gcp" join method. 3947 GCP *ProvisionTokenSpecV2GCP `protobuf:"bytes,13,opt,name=GCP,proto3" json:"gcp,omitempty"` 3948 // Spacelift allows the configuration of options specific to the "spacelift" join method. 3949 Spacelift *ProvisionTokenSpecV2Spacelift `protobuf:"bytes,14,opt,name=Spacelift,proto3" json:"spacelift,omitempty"` 3950 // TPM allows the configuration of options specific to the "tpm" join method. 3951 TPM *ProvisionTokenSpecV2TPM `protobuf:"bytes,15,opt,name=TPM,proto3" json:"tpm,omitempty"` 3952 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3953 XXX_unrecognized []byte `json:"-"` 3954 XXX_sizecache int32 `json:"-"` 3955 } 3956 3957 func (m *ProvisionTokenSpecV2) Reset() { *m = ProvisionTokenSpecV2{} } 3958 func (m *ProvisionTokenSpecV2) String() string { return proto.CompactTextString(m) } 3959 func (*ProvisionTokenSpecV2) ProtoMessage() {} 3960 func (*ProvisionTokenSpecV2) Descriptor() ([]byte, []int) { 3961 return fileDescriptor_9198ee693835762e, []int{58} 3962 } 3963 func (m *ProvisionTokenSpecV2) XXX_Unmarshal(b []byte) error { 3964 return m.Unmarshal(b) 3965 } 3966 func (m *ProvisionTokenSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3967 if deterministic { 3968 return xxx_messageInfo_ProvisionTokenSpecV2.Marshal(b, m, deterministic) 3969 } else { 3970 b = b[:cap(b)] 3971 n, err := m.MarshalToSizedBuffer(b) 3972 if err != nil { 3973 return nil, err 3974 } 3975 return b[:n], nil 3976 } 3977 } 3978 func (m *ProvisionTokenSpecV2) XXX_Merge(src proto.Message) { 3979 xxx_messageInfo_ProvisionTokenSpecV2.Merge(m, src) 3980 } 3981 func (m *ProvisionTokenSpecV2) XXX_Size() int { 3982 return m.Size() 3983 } 3984 func (m *ProvisionTokenSpecV2) XXX_DiscardUnknown() { 3985 xxx_messageInfo_ProvisionTokenSpecV2.DiscardUnknown(m) 3986 } 3987 3988 var xxx_messageInfo_ProvisionTokenSpecV2 proto.InternalMessageInfo 3989 3990 // ProvisionTokenSpecV2TPM contains the TPM-specific part of the 3991 // ProvisionTokenSpecV2 3992 type ProvisionTokenSpecV2TPM struct { 3993 // Allow is a list of Rules, the presented delegated identity must match one 3994 // allow rule to permit joining. 3995 Allow []*ProvisionTokenSpecV2TPM_Rule `protobuf:"bytes,1,rep,name=Allow,proto3" json:"allow,omitempty"` 3996 // EKCertAllowedCAs is a list of CA certificates that will be used to validate 3997 // TPM EKCerts. 3998 // When specified, joining TPMs must present an EKCert signed by one of the 3999 // specified CAs. TPMs that do not present an EKCert will be not permitted to 4000 // join. 4001 // When unspecified, TPMs will be allowed to join with either an EKCert or an 4002 // EKPubHash. 4003 EKCertAllowedCAs []string `protobuf:"bytes,2,rep,name=EKCertAllowedCAs,proto3" json:"ekcert_allowed_cas,omitempty"` 4004 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4005 XXX_unrecognized []byte `json:"-"` 4006 XXX_sizecache int32 `json:"-"` 4007 } 4008 4009 func (m *ProvisionTokenSpecV2TPM) Reset() { *m = ProvisionTokenSpecV2TPM{} } 4010 func (m *ProvisionTokenSpecV2TPM) String() string { return proto.CompactTextString(m) } 4011 func (*ProvisionTokenSpecV2TPM) ProtoMessage() {} 4012 func (*ProvisionTokenSpecV2TPM) Descriptor() ([]byte, []int) { 4013 return fileDescriptor_9198ee693835762e, []int{59} 4014 } 4015 func (m *ProvisionTokenSpecV2TPM) XXX_Unmarshal(b []byte) error { 4016 return m.Unmarshal(b) 4017 } 4018 func (m *ProvisionTokenSpecV2TPM) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4019 if deterministic { 4020 return xxx_messageInfo_ProvisionTokenSpecV2TPM.Marshal(b, m, deterministic) 4021 } else { 4022 b = b[:cap(b)] 4023 n, err := m.MarshalToSizedBuffer(b) 4024 if err != nil { 4025 return nil, err 4026 } 4027 return b[:n], nil 4028 } 4029 } 4030 func (m *ProvisionTokenSpecV2TPM) XXX_Merge(src proto.Message) { 4031 xxx_messageInfo_ProvisionTokenSpecV2TPM.Merge(m, src) 4032 } 4033 func (m *ProvisionTokenSpecV2TPM) XXX_Size() int { 4034 return m.Size() 4035 } 4036 func (m *ProvisionTokenSpecV2TPM) XXX_DiscardUnknown() { 4037 xxx_messageInfo_ProvisionTokenSpecV2TPM.DiscardUnknown(m) 4038 } 4039 4040 var xxx_messageInfo_ProvisionTokenSpecV2TPM proto.InternalMessageInfo 4041 4042 type ProvisionTokenSpecV2TPM_Rule struct { 4043 // Description is a human-readable description of the rule. It has no 4044 // bearing on whether or not a TPM is allowed to join, but can be used 4045 // to associate a rule with a specific host (e.g the asset tag of the server 4046 // in which the TPM resides). 4047 // Example: "build-server-100" 4048 Description string `protobuf:"bytes,1,opt,name=Description,proto3" json:"description,omitempty"` 4049 // EKPublicHash is the SHA256 hash of the EKPub marshaled in PKIX format 4050 // and encoded in hexadecimal. This value will also be checked when a TPM 4051 // has submitted an EKCert, and the public key in the EKCert will be used 4052 // for this check. 4053 // Example: d4b45864d9d6fabfc568d74f26c35ababde2105337d7af9a6605e1c56c891aa6 4054 EKPublicHash string `protobuf:"bytes,4,opt,name=EKPublicHash,proto3" json:"ek_public_hash,omitempty"` 4055 // EKCertificateSerial is the serial number of the EKCert in hexadecimal 4056 // with colon separated nibbles. This value will not be checked when a TPM 4057 // does not have an EKCert configured. 4058 // Example: 73:df:dc:bd:af:ef:8a:d8:15:2e:96:71:7a:3e:7f:a4 4059 EKCertificateSerial string `protobuf:"bytes,5,opt,name=EKCertificateSerial,proto3" json:"ek_certificate_serial,omitempty"` 4060 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4061 XXX_unrecognized []byte `json:"-"` 4062 XXX_sizecache int32 `json:"-"` 4063 } 4064 4065 func (m *ProvisionTokenSpecV2TPM_Rule) Reset() { *m = ProvisionTokenSpecV2TPM_Rule{} } 4066 func (m *ProvisionTokenSpecV2TPM_Rule) String() string { return proto.CompactTextString(m) } 4067 func (*ProvisionTokenSpecV2TPM_Rule) ProtoMessage() {} 4068 func (*ProvisionTokenSpecV2TPM_Rule) Descriptor() ([]byte, []int) { 4069 return fileDescriptor_9198ee693835762e, []int{59, 0} 4070 } 4071 func (m *ProvisionTokenSpecV2TPM_Rule) XXX_Unmarshal(b []byte) error { 4072 return m.Unmarshal(b) 4073 } 4074 func (m *ProvisionTokenSpecV2TPM_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4075 if deterministic { 4076 return xxx_messageInfo_ProvisionTokenSpecV2TPM_Rule.Marshal(b, m, deterministic) 4077 } else { 4078 b = b[:cap(b)] 4079 n, err := m.MarshalToSizedBuffer(b) 4080 if err != nil { 4081 return nil, err 4082 } 4083 return b[:n], nil 4084 } 4085 } 4086 func (m *ProvisionTokenSpecV2TPM_Rule) XXX_Merge(src proto.Message) { 4087 xxx_messageInfo_ProvisionTokenSpecV2TPM_Rule.Merge(m, src) 4088 } 4089 func (m *ProvisionTokenSpecV2TPM_Rule) XXX_Size() int { 4090 return m.Size() 4091 } 4092 func (m *ProvisionTokenSpecV2TPM_Rule) XXX_DiscardUnknown() { 4093 xxx_messageInfo_ProvisionTokenSpecV2TPM_Rule.DiscardUnknown(m) 4094 } 4095 4096 var xxx_messageInfo_ProvisionTokenSpecV2TPM_Rule proto.InternalMessageInfo 4097 4098 // ProvisionTokenSpecV2Github contains the GitHub-specific part of the 4099 // ProvisionTokenSpecV2 4100 type ProvisionTokenSpecV2GitHub struct { 4101 // Allow is a list of TokenRules, nodes using this token must match one 4102 // allow rule to use this token. 4103 Allow []*ProvisionTokenSpecV2GitHub_Rule `protobuf:"bytes,1,rep,name=Allow,proto3" json:"allow,omitempty"` 4104 // EnterpriseServerHost allows joining from runners associated with a 4105 // GitHub Enterprise Server instance. When unconfigured, tokens will be 4106 // validated against github.com, but when configured to the host of a GHES 4107 // instance, then the tokens will be validated against host. 4108 // 4109 // This value should be the hostname of the GHES instance, and should not 4110 // include the scheme or a path. The instance must be accessible over HTTPS 4111 // at this hostname and the certificate must be trusted by the Auth Server. 4112 EnterpriseServerHost string `protobuf:"bytes,2,opt,name=EnterpriseServerHost,proto3" json:"enterprise_server_host,omitempty"` 4113 // EnterpriseSlug allows the slug of a GitHub Enterprise organisation to be 4114 // included in the expected issuer of the OIDC tokens. This is for 4115 // compatibility with the `include_enterprise_slug` option in GHE. 4116 // 4117 // This field should be set to the slug of your enterprise if this is enabled. If 4118 // this is not enabled, then this field must be left empty. This field cannot 4119 // be specified if `enterprise_server_host` is specified. 4120 // 4121 // See https://docs.github.com/en/enterprise-cloud@latest/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect#customizing-the-issuer-value-for-an-enterprise 4122 // for more information about customized issuer values. 4123 EnterpriseSlug string `protobuf:"bytes,3,opt,name=EnterpriseSlug,proto3" json:"enterprise_slug,omitempty"` 4124 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4125 XXX_unrecognized []byte `json:"-"` 4126 XXX_sizecache int32 `json:"-"` 4127 } 4128 4129 func (m *ProvisionTokenSpecV2GitHub) Reset() { *m = ProvisionTokenSpecV2GitHub{} } 4130 func (m *ProvisionTokenSpecV2GitHub) String() string { return proto.CompactTextString(m) } 4131 func (*ProvisionTokenSpecV2GitHub) ProtoMessage() {} 4132 func (*ProvisionTokenSpecV2GitHub) Descriptor() ([]byte, []int) { 4133 return fileDescriptor_9198ee693835762e, []int{60} 4134 } 4135 func (m *ProvisionTokenSpecV2GitHub) XXX_Unmarshal(b []byte) error { 4136 return m.Unmarshal(b) 4137 } 4138 func (m *ProvisionTokenSpecV2GitHub) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4139 if deterministic { 4140 return xxx_messageInfo_ProvisionTokenSpecV2GitHub.Marshal(b, m, deterministic) 4141 } else { 4142 b = b[:cap(b)] 4143 n, err := m.MarshalToSizedBuffer(b) 4144 if err != nil { 4145 return nil, err 4146 } 4147 return b[:n], nil 4148 } 4149 } 4150 func (m *ProvisionTokenSpecV2GitHub) XXX_Merge(src proto.Message) { 4151 xxx_messageInfo_ProvisionTokenSpecV2GitHub.Merge(m, src) 4152 } 4153 func (m *ProvisionTokenSpecV2GitHub) XXX_Size() int { 4154 return m.Size() 4155 } 4156 func (m *ProvisionTokenSpecV2GitHub) XXX_DiscardUnknown() { 4157 xxx_messageInfo_ProvisionTokenSpecV2GitHub.DiscardUnknown(m) 4158 } 4159 4160 var xxx_messageInfo_ProvisionTokenSpecV2GitHub proto.InternalMessageInfo 4161 4162 // Rule includes fields mapped from `lib/githubactions.IDToken` 4163 // Not all fields should be included, only ones that we expect to be useful 4164 // when trying to create rules around which workflows should be allowed to 4165 // authenticate against a cluster. 4166 type ProvisionTokenSpecV2GitHub_Rule struct { 4167 // Sub also known as Subject is a string that roughly uniquely identifies 4168 // the workload. The format of this varies depending on the type of 4169 // github action run. 4170 Sub string `protobuf:"bytes,1,opt,name=Sub,proto3" json:"sub,omitempty"` 4171 // The repository from where the workflow is running. 4172 // This includes the name of the owner e.g `gravitational/teleport` 4173 Repository string `protobuf:"bytes,2,opt,name=Repository,proto3" json:"repository,omitempty"` 4174 // The name of the organization in which the repository is stored. 4175 RepositoryOwner string `protobuf:"bytes,3,opt,name=RepositoryOwner,proto3" json:"repository_owner,omitempty"` 4176 // The name of the workflow. 4177 Workflow string `protobuf:"bytes,4,opt,name=Workflow,proto3" json:"workflow,omitempty"` 4178 // The name of the environment used by the job. 4179 Environment string `protobuf:"bytes,5,opt,name=Environment,proto3" json:"environment,omitempty"` 4180 // The personal account that initiated the workflow run. 4181 Actor string `protobuf:"bytes,6,opt,name=Actor,proto3" json:"actor,omitempty"` 4182 // The git ref that triggered the workflow run. 4183 Ref string `protobuf:"bytes,7,opt,name=Ref,proto3" json:"ref,omitempty"` 4184 // The type of ref, for example: "branch". 4185 RefType string `protobuf:"bytes,8,opt,name=RefType,proto3" json:"ref_type,omitempty"` 4186 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4187 XXX_unrecognized []byte `json:"-"` 4188 XXX_sizecache int32 `json:"-"` 4189 } 4190 4191 func (m *ProvisionTokenSpecV2GitHub_Rule) Reset() { *m = ProvisionTokenSpecV2GitHub_Rule{} } 4192 func (m *ProvisionTokenSpecV2GitHub_Rule) String() string { return proto.CompactTextString(m) } 4193 func (*ProvisionTokenSpecV2GitHub_Rule) ProtoMessage() {} 4194 func (*ProvisionTokenSpecV2GitHub_Rule) Descriptor() ([]byte, []int) { 4195 return fileDescriptor_9198ee693835762e, []int{60, 0} 4196 } 4197 func (m *ProvisionTokenSpecV2GitHub_Rule) XXX_Unmarshal(b []byte) error { 4198 return m.Unmarshal(b) 4199 } 4200 func (m *ProvisionTokenSpecV2GitHub_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4201 if deterministic { 4202 return xxx_messageInfo_ProvisionTokenSpecV2GitHub_Rule.Marshal(b, m, deterministic) 4203 } else { 4204 b = b[:cap(b)] 4205 n, err := m.MarshalToSizedBuffer(b) 4206 if err != nil { 4207 return nil, err 4208 } 4209 return b[:n], nil 4210 } 4211 } 4212 func (m *ProvisionTokenSpecV2GitHub_Rule) XXX_Merge(src proto.Message) { 4213 xxx_messageInfo_ProvisionTokenSpecV2GitHub_Rule.Merge(m, src) 4214 } 4215 func (m *ProvisionTokenSpecV2GitHub_Rule) XXX_Size() int { 4216 return m.Size() 4217 } 4218 func (m *ProvisionTokenSpecV2GitHub_Rule) XXX_DiscardUnknown() { 4219 xxx_messageInfo_ProvisionTokenSpecV2GitHub_Rule.DiscardUnknown(m) 4220 } 4221 4222 var xxx_messageInfo_ProvisionTokenSpecV2GitHub_Rule proto.InternalMessageInfo 4223 4224 // ProvisionTokenSpecV2GitLab contains the GitLab-specific part of the 4225 // ProvisionTokenSpecV2 4226 type ProvisionTokenSpecV2GitLab struct { 4227 // Allow is a list of TokenRules, nodes using this token must match one 4228 // allow rule to use this token. 4229 Allow []*ProvisionTokenSpecV2GitLab_Rule `protobuf:"bytes,1,rep,name=Allow,proto3" json:"allow,omitempty"` 4230 // Domain is the domain of your GitLab instance. This will default to 4231 // `gitlab.com` - but can be set to the domain of your self-hosted GitLab 4232 // e.g `gitlab.example.com`. 4233 Domain string `protobuf:"bytes,2,opt,name=Domain,proto3" json:"domain,omitempty"` 4234 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4235 XXX_unrecognized []byte `json:"-"` 4236 XXX_sizecache int32 `json:"-"` 4237 } 4238 4239 func (m *ProvisionTokenSpecV2GitLab) Reset() { *m = ProvisionTokenSpecV2GitLab{} } 4240 func (m *ProvisionTokenSpecV2GitLab) String() string { return proto.CompactTextString(m) } 4241 func (*ProvisionTokenSpecV2GitLab) ProtoMessage() {} 4242 func (*ProvisionTokenSpecV2GitLab) Descriptor() ([]byte, []int) { 4243 return fileDescriptor_9198ee693835762e, []int{61} 4244 } 4245 func (m *ProvisionTokenSpecV2GitLab) XXX_Unmarshal(b []byte) error { 4246 return m.Unmarshal(b) 4247 } 4248 func (m *ProvisionTokenSpecV2GitLab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4249 if deterministic { 4250 return xxx_messageInfo_ProvisionTokenSpecV2GitLab.Marshal(b, m, deterministic) 4251 } else { 4252 b = b[:cap(b)] 4253 n, err := m.MarshalToSizedBuffer(b) 4254 if err != nil { 4255 return nil, err 4256 } 4257 return b[:n], nil 4258 } 4259 } 4260 func (m *ProvisionTokenSpecV2GitLab) XXX_Merge(src proto.Message) { 4261 xxx_messageInfo_ProvisionTokenSpecV2GitLab.Merge(m, src) 4262 } 4263 func (m *ProvisionTokenSpecV2GitLab) XXX_Size() int { 4264 return m.Size() 4265 } 4266 func (m *ProvisionTokenSpecV2GitLab) XXX_DiscardUnknown() { 4267 xxx_messageInfo_ProvisionTokenSpecV2GitLab.DiscardUnknown(m) 4268 } 4269 4270 var xxx_messageInfo_ProvisionTokenSpecV2GitLab proto.InternalMessageInfo 4271 4272 type ProvisionTokenSpecV2GitLab_Rule struct { 4273 // Sub roughly uniquely identifies the workload. Example: 4274 // `project_path:mygroup/my-project:ref_type:branch:ref:main` 4275 // project_path:GROUP/PROJECT:ref_type:TYPE:ref:BRANCH_NAME 4276 // 4277 // This field supports simple "glob-style" matching: 4278 // - Use '*' to match zero or more characters. 4279 // - Use '?' to match any single character. 4280 Sub string `protobuf:"bytes,1,opt,name=Sub,proto3" json:"sub,omitempty"` 4281 // Ref allows access to be limited to jobs triggered by a specific git ref. 4282 // Ensure this is used in combination with ref_type. 4283 // 4284 // This field supports simple "glob-style" matching: 4285 // - Use '*' to match zero or more characters. 4286 // - Use '?' to match any single character. 4287 Ref string `protobuf:"bytes,2,opt,name=Ref,proto3" json:"ref,omitempty"` 4288 // RefType allows access to be limited to jobs triggered by a specific git 4289 // ref type. Example: 4290 // `branch` or `tag` 4291 RefType string `protobuf:"bytes,3,opt,name=RefType,proto3" json:"ref_type,omitempty"` 4292 // NamespacePath is used to limit access to jobs in a group or user's 4293 // projects. 4294 // Example: 4295 // `mygroup` 4296 // 4297 // This field supports simple "glob-style" matching: 4298 // - Use '*' to match zero or more characters. 4299 // - Use '?' to match any single character. 4300 NamespacePath string `protobuf:"bytes,4,opt,name=NamespacePath,proto3" json:"namespace_path,omitempty"` 4301 // ProjectPath is used to limit access to jobs belonging to an individual 4302 // project. Example: 4303 // `mygroup/myproject` 4304 // 4305 // This field supports simple "glob-style" matching: 4306 // - Use '*' to match zero or more characters. 4307 // - Use '?' to match any single character. 4308 ProjectPath string `protobuf:"bytes,5,opt,name=ProjectPath,proto3" json:"project_path,omitempty"` 4309 // PipelineSource limits access by the job pipeline source type. 4310 // https://docs.gitlab.com/ee/ci/jobs/job_control.html#common-if-clauses-for-rules 4311 // Example: `web` 4312 PipelineSource string `protobuf:"bytes,6,opt,name=PipelineSource,proto3" json:"pipeline_source,omitempty"` 4313 // Environment limits access by the environment the job deploys to 4314 // (if one is associated) 4315 Environment string `protobuf:"bytes,7,opt,name=Environment,proto3" json:"environment,omitempty"` 4316 // UserLogin is the username of the user executing the job 4317 UserLogin string `protobuf:"bytes,8,opt,name=UserLogin,proto3" json:"user_login,omitempty"` 4318 // UserID is the ID of the user executing the job 4319 UserID string `protobuf:"bytes,9,opt,name=UserID,proto3" json:"user_id,omitempty"` 4320 // UserEmail is the email of the user executing the job 4321 UserEmail string `protobuf:"bytes,10,opt,name=UserEmail,proto3" json:"user_email,omitempty"` 4322 // RefProtected is true if the Git ref is protected, false otherwise. 4323 RefProtected *BoolOption `protobuf:"bytes,11,opt,name=RefProtected,proto3,customtype=BoolOption" json:"ref_protected,omitempty"` 4324 // EnvironmentProtected is true if the Git ref is protected, false otherwise. 4325 EnvironmentProtected *BoolOption `protobuf:"bytes,12,opt,name=EnvironmentProtected,proto3,customtype=BoolOption" json:"environment_protected,omitempty"` 4326 // CIConfigSHA is the git commit SHA for the ci_config_ref_uri. 4327 CIConfigSHA string `protobuf:"bytes,13,opt,name=CIConfigSHA,proto3" json:"ci_config_sha,omitempty"` 4328 // CIConfigRefURI is the ref path to the top-level pipeline definition, for example, 4329 // gitlab.example.com/my-group/my-project//.gitlab-ci.yml@refs/heads/main. 4330 CIConfigRefURI string `protobuf:"bytes,14,opt,name=CIConfigRefURI,proto3" json:"ci_config_ref_uri,omitempty"` 4331 // DeploymentTier is the deployment tier of the environment the job specifies 4332 DeploymentTier string `protobuf:"bytes,15,opt,name=DeploymentTier,proto3" json:"deployment_tier,omitempty"` 4333 // ProjectVisibility is the visibility of the project where the pipeline is running. 4334 // Can be internal, private, or public. 4335 ProjectVisibility string `protobuf:"bytes,16,opt,name=ProjectVisibility,proto3" json:"project_visibility,omitempty"` 4336 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4337 XXX_unrecognized []byte `json:"-"` 4338 XXX_sizecache int32 `json:"-"` 4339 } 4340 4341 func (m *ProvisionTokenSpecV2GitLab_Rule) Reset() { *m = ProvisionTokenSpecV2GitLab_Rule{} } 4342 func (m *ProvisionTokenSpecV2GitLab_Rule) String() string { return proto.CompactTextString(m) } 4343 func (*ProvisionTokenSpecV2GitLab_Rule) ProtoMessage() {} 4344 func (*ProvisionTokenSpecV2GitLab_Rule) Descriptor() ([]byte, []int) { 4345 return fileDescriptor_9198ee693835762e, []int{61, 0} 4346 } 4347 func (m *ProvisionTokenSpecV2GitLab_Rule) XXX_Unmarshal(b []byte) error { 4348 return m.Unmarshal(b) 4349 } 4350 func (m *ProvisionTokenSpecV2GitLab_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4351 if deterministic { 4352 return xxx_messageInfo_ProvisionTokenSpecV2GitLab_Rule.Marshal(b, m, deterministic) 4353 } else { 4354 b = b[:cap(b)] 4355 n, err := m.MarshalToSizedBuffer(b) 4356 if err != nil { 4357 return nil, err 4358 } 4359 return b[:n], nil 4360 } 4361 } 4362 func (m *ProvisionTokenSpecV2GitLab_Rule) XXX_Merge(src proto.Message) { 4363 xxx_messageInfo_ProvisionTokenSpecV2GitLab_Rule.Merge(m, src) 4364 } 4365 func (m *ProvisionTokenSpecV2GitLab_Rule) XXX_Size() int { 4366 return m.Size() 4367 } 4368 func (m *ProvisionTokenSpecV2GitLab_Rule) XXX_DiscardUnknown() { 4369 xxx_messageInfo_ProvisionTokenSpecV2GitLab_Rule.DiscardUnknown(m) 4370 } 4371 4372 var xxx_messageInfo_ProvisionTokenSpecV2GitLab_Rule proto.InternalMessageInfo 4373 4374 // ProvisionTokenSpecV2CircleCI contains the CircleCI-specific part of the 4375 // ProvisionTokenSpecV2 4376 type ProvisionTokenSpecV2CircleCI struct { 4377 // Allow is a list of TokenRules, nodes using this token must match one 4378 // allow rule to use this token. 4379 Allow []*ProvisionTokenSpecV2CircleCI_Rule `protobuf:"bytes,1,rep,name=Allow,proto3" json:"allow,omitempty"` 4380 OrganizationID string `protobuf:"bytes,2,opt,name=OrganizationID,proto3" json:"organization_id,omitempty"` 4381 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4382 XXX_unrecognized []byte `json:"-"` 4383 XXX_sizecache int32 `json:"-"` 4384 } 4385 4386 func (m *ProvisionTokenSpecV2CircleCI) Reset() { *m = ProvisionTokenSpecV2CircleCI{} } 4387 func (m *ProvisionTokenSpecV2CircleCI) String() string { return proto.CompactTextString(m) } 4388 func (*ProvisionTokenSpecV2CircleCI) ProtoMessage() {} 4389 func (*ProvisionTokenSpecV2CircleCI) Descriptor() ([]byte, []int) { 4390 return fileDescriptor_9198ee693835762e, []int{62} 4391 } 4392 func (m *ProvisionTokenSpecV2CircleCI) XXX_Unmarshal(b []byte) error { 4393 return m.Unmarshal(b) 4394 } 4395 func (m *ProvisionTokenSpecV2CircleCI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4396 if deterministic { 4397 return xxx_messageInfo_ProvisionTokenSpecV2CircleCI.Marshal(b, m, deterministic) 4398 } else { 4399 b = b[:cap(b)] 4400 n, err := m.MarshalToSizedBuffer(b) 4401 if err != nil { 4402 return nil, err 4403 } 4404 return b[:n], nil 4405 } 4406 } 4407 func (m *ProvisionTokenSpecV2CircleCI) XXX_Merge(src proto.Message) { 4408 xxx_messageInfo_ProvisionTokenSpecV2CircleCI.Merge(m, src) 4409 } 4410 func (m *ProvisionTokenSpecV2CircleCI) XXX_Size() int { 4411 return m.Size() 4412 } 4413 func (m *ProvisionTokenSpecV2CircleCI) XXX_DiscardUnknown() { 4414 xxx_messageInfo_ProvisionTokenSpecV2CircleCI.DiscardUnknown(m) 4415 } 4416 4417 var xxx_messageInfo_ProvisionTokenSpecV2CircleCI proto.InternalMessageInfo 4418 4419 type ProvisionTokenSpecV2CircleCI_Rule struct { 4420 ProjectID string `protobuf:"bytes,1,opt,name=ProjectID,proto3" json:"project_id,omitempty"` 4421 ContextID string `protobuf:"bytes,2,opt,name=ContextID,proto3" json:"context_id,omitempty"` 4422 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4423 XXX_unrecognized []byte `json:"-"` 4424 XXX_sizecache int32 `json:"-"` 4425 } 4426 4427 func (m *ProvisionTokenSpecV2CircleCI_Rule) Reset() { *m = ProvisionTokenSpecV2CircleCI_Rule{} } 4428 func (m *ProvisionTokenSpecV2CircleCI_Rule) String() string { return proto.CompactTextString(m) } 4429 func (*ProvisionTokenSpecV2CircleCI_Rule) ProtoMessage() {} 4430 func (*ProvisionTokenSpecV2CircleCI_Rule) Descriptor() ([]byte, []int) { 4431 return fileDescriptor_9198ee693835762e, []int{62, 0} 4432 } 4433 func (m *ProvisionTokenSpecV2CircleCI_Rule) XXX_Unmarshal(b []byte) error { 4434 return m.Unmarshal(b) 4435 } 4436 func (m *ProvisionTokenSpecV2CircleCI_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4437 if deterministic { 4438 return xxx_messageInfo_ProvisionTokenSpecV2CircleCI_Rule.Marshal(b, m, deterministic) 4439 } else { 4440 b = b[:cap(b)] 4441 n, err := m.MarshalToSizedBuffer(b) 4442 if err != nil { 4443 return nil, err 4444 } 4445 return b[:n], nil 4446 } 4447 } 4448 func (m *ProvisionTokenSpecV2CircleCI_Rule) XXX_Merge(src proto.Message) { 4449 xxx_messageInfo_ProvisionTokenSpecV2CircleCI_Rule.Merge(m, src) 4450 } 4451 func (m *ProvisionTokenSpecV2CircleCI_Rule) XXX_Size() int { 4452 return m.Size() 4453 } 4454 func (m *ProvisionTokenSpecV2CircleCI_Rule) XXX_DiscardUnknown() { 4455 xxx_messageInfo_ProvisionTokenSpecV2CircleCI_Rule.DiscardUnknown(m) 4456 } 4457 4458 var xxx_messageInfo_ProvisionTokenSpecV2CircleCI_Rule proto.InternalMessageInfo 4459 4460 // ProvisionTokenSpecV2Spacelift contains the Spacelift-specific part of the 4461 // ProvisionTokenSpecV2 4462 type ProvisionTokenSpecV2Spacelift struct { 4463 // Allow is a list of Rules, nodes using this token must match one 4464 // allow rule to use this token. 4465 Allow []*ProvisionTokenSpecV2Spacelift_Rule `protobuf:"bytes,1,rep,name=Allow,proto3" json:"allow,omitempty"` 4466 // Hostname is the hostname of the Spacelift tenant that tokens 4467 // will originate from. E.g `example.app.spacelift.io` 4468 Hostname string `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"hostname,omitempty"` 4469 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4470 XXX_unrecognized []byte `json:"-"` 4471 XXX_sizecache int32 `json:"-"` 4472 } 4473 4474 func (m *ProvisionTokenSpecV2Spacelift) Reset() { *m = ProvisionTokenSpecV2Spacelift{} } 4475 func (m *ProvisionTokenSpecV2Spacelift) String() string { return proto.CompactTextString(m) } 4476 func (*ProvisionTokenSpecV2Spacelift) ProtoMessage() {} 4477 func (*ProvisionTokenSpecV2Spacelift) Descriptor() ([]byte, []int) { 4478 return fileDescriptor_9198ee693835762e, []int{63} 4479 } 4480 func (m *ProvisionTokenSpecV2Spacelift) XXX_Unmarshal(b []byte) error { 4481 return m.Unmarshal(b) 4482 } 4483 func (m *ProvisionTokenSpecV2Spacelift) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4484 if deterministic { 4485 return xxx_messageInfo_ProvisionTokenSpecV2Spacelift.Marshal(b, m, deterministic) 4486 } else { 4487 b = b[:cap(b)] 4488 n, err := m.MarshalToSizedBuffer(b) 4489 if err != nil { 4490 return nil, err 4491 } 4492 return b[:n], nil 4493 } 4494 } 4495 func (m *ProvisionTokenSpecV2Spacelift) XXX_Merge(src proto.Message) { 4496 xxx_messageInfo_ProvisionTokenSpecV2Spacelift.Merge(m, src) 4497 } 4498 func (m *ProvisionTokenSpecV2Spacelift) XXX_Size() int { 4499 return m.Size() 4500 } 4501 func (m *ProvisionTokenSpecV2Spacelift) XXX_DiscardUnknown() { 4502 xxx_messageInfo_ProvisionTokenSpecV2Spacelift.DiscardUnknown(m) 4503 } 4504 4505 var xxx_messageInfo_ProvisionTokenSpecV2Spacelift proto.InternalMessageInfo 4506 4507 type ProvisionTokenSpecV2Spacelift_Rule struct { 4508 // SpaceID is the ID of the space in which the run that owns the token was 4509 // executed. 4510 SpaceID string `protobuf:"bytes,1,opt,name=SpaceID,proto3" json:"space_id,omitempty"` 4511 // CallerID is the ID of the caller, ie. the stack or module that generated 4512 // the run. 4513 CallerID string `protobuf:"bytes,2,opt,name=CallerID,proto3" json:"caller_id,omitempty"` 4514 // CallerType is the type of the caller, ie. the entity that owns the run - 4515 // either `stack` or `module`. 4516 CallerType string `protobuf:"bytes,3,opt,name=CallerType,proto3" json:"caller_type,omitempty"` 4517 // Scope is the scope of the token - either `read` or `write`. 4518 // See https://docs.spacelift.io/integrations/cloud-providers/oidc/#about-scopes 4519 Scope string `protobuf:"bytes,4,opt,name=Scope,proto3" json:"scope,omitempty"` 4520 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4521 XXX_unrecognized []byte `json:"-"` 4522 XXX_sizecache int32 `json:"-"` 4523 } 4524 4525 func (m *ProvisionTokenSpecV2Spacelift_Rule) Reset() { *m = ProvisionTokenSpecV2Spacelift_Rule{} } 4526 func (m *ProvisionTokenSpecV2Spacelift_Rule) String() string { return proto.CompactTextString(m) } 4527 func (*ProvisionTokenSpecV2Spacelift_Rule) ProtoMessage() {} 4528 func (*ProvisionTokenSpecV2Spacelift_Rule) Descriptor() ([]byte, []int) { 4529 return fileDescriptor_9198ee693835762e, []int{63, 0} 4530 } 4531 func (m *ProvisionTokenSpecV2Spacelift_Rule) XXX_Unmarshal(b []byte) error { 4532 return m.Unmarshal(b) 4533 } 4534 func (m *ProvisionTokenSpecV2Spacelift_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4535 if deterministic { 4536 return xxx_messageInfo_ProvisionTokenSpecV2Spacelift_Rule.Marshal(b, m, deterministic) 4537 } else { 4538 b = b[:cap(b)] 4539 n, err := m.MarshalToSizedBuffer(b) 4540 if err != nil { 4541 return nil, err 4542 } 4543 return b[:n], nil 4544 } 4545 } 4546 func (m *ProvisionTokenSpecV2Spacelift_Rule) XXX_Merge(src proto.Message) { 4547 xxx_messageInfo_ProvisionTokenSpecV2Spacelift_Rule.Merge(m, src) 4548 } 4549 func (m *ProvisionTokenSpecV2Spacelift_Rule) XXX_Size() int { 4550 return m.Size() 4551 } 4552 func (m *ProvisionTokenSpecV2Spacelift_Rule) XXX_DiscardUnknown() { 4553 xxx_messageInfo_ProvisionTokenSpecV2Spacelift_Rule.DiscardUnknown(m) 4554 } 4555 4556 var xxx_messageInfo_ProvisionTokenSpecV2Spacelift_Rule proto.InternalMessageInfo 4557 4558 // ProvisionTokenSpecV2Kubernetes contains the Kubernetes-specific part of the 4559 // ProvisionTokenSpecV2 4560 type ProvisionTokenSpecV2Kubernetes struct { 4561 // Allow is a list of Rules, nodes using this token must match one 4562 // allow rule to use this token. 4563 Allow []*ProvisionTokenSpecV2Kubernetes_Rule `protobuf:"bytes,1,rep,name=Allow,proto3" json:"allow,omitempty"` 4564 // Type controls which behavior should be used for validating the Kubernetes 4565 // Service Account token. Support values: 4566 // - `in_cluster` 4567 // - `static_jwks` 4568 // If unset, this defaults to `in_cluster`. 4569 Type KubernetesJoinType `protobuf:"bytes,2,opt,name=Type,proto3,casttype=KubernetesJoinType" json:"type,omitempty"` 4570 // StaticJWKS is the configuration specific to the `static_jwks` type. 4571 StaticJWKS *ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig `protobuf:"bytes,3,opt,name=StaticJWKS,proto3" json:"static_jwks,omitempty"` 4572 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4573 XXX_unrecognized []byte `json:"-"` 4574 XXX_sizecache int32 `json:"-"` 4575 } 4576 4577 func (m *ProvisionTokenSpecV2Kubernetes) Reset() { *m = ProvisionTokenSpecV2Kubernetes{} } 4578 func (m *ProvisionTokenSpecV2Kubernetes) String() string { return proto.CompactTextString(m) } 4579 func (*ProvisionTokenSpecV2Kubernetes) ProtoMessage() {} 4580 func (*ProvisionTokenSpecV2Kubernetes) Descriptor() ([]byte, []int) { 4581 return fileDescriptor_9198ee693835762e, []int{64} 4582 } 4583 func (m *ProvisionTokenSpecV2Kubernetes) XXX_Unmarshal(b []byte) error { 4584 return m.Unmarshal(b) 4585 } 4586 func (m *ProvisionTokenSpecV2Kubernetes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4587 if deterministic { 4588 return xxx_messageInfo_ProvisionTokenSpecV2Kubernetes.Marshal(b, m, deterministic) 4589 } else { 4590 b = b[:cap(b)] 4591 n, err := m.MarshalToSizedBuffer(b) 4592 if err != nil { 4593 return nil, err 4594 } 4595 return b[:n], nil 4596 } 4597 } 4598 func (m *ProvisionTokenSpecV2Kubernetes) XXX_Merge(src proto.Message) { 4599 xxx_messageInfo_ProvisionTokenSpecV2Kubernetes.Merge(m, src) 4600 } 4601 func (m *ProvisionTokenSpecV2Kubernetes) XXX_Size() int { 4602 return m.Size() 4603 } 4604 func (m *ProvisionTokenSpecV2Kubernetes) XXX_DiscardUnknown() { 4605 xxx_messageInfo_ProvisionTokenSpecV2Kubernetes.DiscardUnknown(m) 4606 } 4607 4608 var xxx_messageInfo_ProvisionTokenSpecV2Kubernetes proto.InternalMessageInfo 4609 4610 type ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig struct { 4611 // JWKS should be the JSON Web Key Set formatted public keys of that the 4612 // Kubernetes Cluster uses to sign service account tokens. 4613 // This can be fetched from /openid/v1/jwks on the Kubernetes API Server. 4614 JWKS string `protobuf:"bytes,1,opt,name=JWKS,proto3" json:"jwks,omitempty"` 4615 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4616 XXX_unrecognized []byte `json:"-"` 4617 XXX_sizecache int32 `json:"-"` 4618 } 4619 4620 func (m *ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig) Reset() { 4621 *m = ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig{} 4622 } 4623 func (m *ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig) String() string { 4624 return proto.CompactTextString(m) 4625 } 4626 func (*ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig) ProtoMessage() {} 4627 func (*ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig) Descriptor() ([]byte, []int) { 4628 return fileDescriptor_9198ee693835762e, []int{64, 0} 4629 } 4630 func (m *ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig) XXX_Unmarshal(b []byte) error { 4631 return m.Unmarshal(b) 4632 } 4633 func (m *ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4634 if deterministic { 4635 return xxx_messageInfo_ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig.Marshal(b, m, deterministic) 4636 } else { 4637 b = b[:cap(b)] 4638 n, err := m.MarshalToSizedBuffer(b) 4639 if err != nil { 4640 return nil, err 4641 } 4642 return b[:n], nil 4643 } 4644 } 4645 func (m *ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig) XXX_Merge(src proto.Message) { 4646 xxx_messageInfo_ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig.Merge(m, src) 4647 } 4648 func (m *ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig) XXX_Size() int { 4649 return m.Size() 4650 } 4651 func (m *ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig) XXX_DiscardUnknown() { 4652 xxx_messageInfo_ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig.DiscardUnknown(m) 4653 } 4654 4655 var xxx_messageInfo_ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig proto.InternalMessageInfo 4656 4657 // Rule is a set of properties the Kubernetes-issued token might have to be 4658 // allowed to use this ProvisionToken 4659 type ProvisionTokenSpecV2Kubernetes_Rule struct { 4660 // ServiceAccount is the namespaced name of the Kubernetes service account. 4661 // Its format is "namespace:service-account". 4662 ServiceAccount string `protobuf:"bytes,1,opt,name=ServiceAccount,proto3" json:"service_account,omitempty"` 4663 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4664 XXX_unrecognized []byte `json:"-"` 4665 XXX_sizecache int32 `json:"-"` 4666 } 4667 4668 func (m *ProvisionTokenSpecV2Kubernetes_Rule) Reset() { *m = ProvisionTokenSpecV2Kubernetes_Rule{} } 4669 func (m *ProvisionTokenSpecV2Kubernetes_Rule) String() string { return proto.CompactTextString(m) } 4670 func (*ProvisionTokenSpecV2Kubernetes_Rule) ProtoMessage() {} 4671 func (*ProvisionTokenSpecV2Kubernetes_Rule) Descriptor() ([]byte, []int) { 4672 return fileDescriptor_9198ee693835762e, []int{64, 1} 4673 } 4674 func (m *ProvisionTokenSpecV2Kubernetes_Rule) XXX_Unmarshal(b []byte) error { 4675 return m.Unmarshal(b) 4676 } 4677 func (m *ProvisionTokenSpecV2Kubernetes_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4678 if deterministic { 4679 return xxx_messageInfo_ProvisionTokenSpecV2Kubernetes_Rule.Marshal(b, m, deterministic) 4680 } else { 4681 b = b[:cap(b)] 4682 n, err := m.MarshalToSizedBuffer(b) 4683 if err != nil { 4684 return nil, err 4685 } 4686 return b[:n], nil 4687 } 4688 } 4689 func (m *ProvisionTokenSpecV2Kubernetes_Rule) XXX_Merge(src proto.Message) { 4690 xxx_messageInfo_ProvisionTokenSpecV2Kubernetes_Rule.Merge(m, src) 4691 } 4692 func (m *ProvisionTokenSpecV2Kubernetes_Rule) XXX_Size() int { 4693 return m.Size() 4694 } 4695 func (m *ProvisionTokenSpecV2Kubernetes_Rule) XXX_DiscardUnknown() { 4696 xxx_messageInfo_ProvisionTokenSpecV2Kubernetes_Rule.DiscardUnknown(m) 4697 } 4698 4699 var xxx_messageInfo_ProvisionTokenSpecV2Kubernetes_Rule proto.InternalMessageInfo 4700 4701 // ProvisionTokenSpecV2Azure contains the Azure-specific part of the 4702 // ProvisionTokenSpecV2. 4703 type ProvisionTokenSpecV2Azure struct { 4704 // Allow is a list of Rules, nodes using this token must match one 4705 // allow rule to use this token. 4706 Allow []*ProvisionTokenSpecV2Azure_Rule `protobuf:"bytes,1,rep,name=Allow,proto3" json:"allow,omitempty"` 4707 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4708 XXX_unrecognized []byte `json:"-"` 4709 XXX_sizecache int32 `json:"-"` 4710 } 4711 4712 func (m *ProvisionTokenSpecV2Azure) Reset() { *m = ProvisionTokenSpecV2Azure{} } 4713 func (m *ProvisionTokenSpecV2Azure) String() string { return proto.CompactTextString(m) } 4714 func (*ProvisionTokenSpecV2Azure) ProtoMessage() {} 4715 func (*ProvisionTokenSpecV2Azure) Descriptor() ([]byte, []int) { 4716 return fileDescriptor_9198ee693835762e, []int{65} 4717 } 4718 func (m *ProvisionTokenSpecV2Azure) XXX_Unmarshal(b []byte) error { 4719 return m.Unmarshal(b) 4720 } 4721 func (m *ProvisionTokenSpecV2Azure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4722 if deterministic { 4723 return xxx_messageInfo_ProvisionTokenSpecV2Azure.Marshal(b, m, deterministic) 4724 } else { 4725 b = b[:cap(b)] 4726 n, err := m.MarshalToSizedBuffer(b) 4727 if err != nil { 4728 return nil, err 4729 } 4730 return b[:n], nil 4731 } 4732 } 4733 func (m *ProvisionTokenSpecV2Azure) XXX_Merge(src proto.Message) { 4734 xxx_messageInfo_ProvisionTokenSpecV2Azure.Merge(m, src) 4735 } 4736 func (m *ProvisionTokenSpecV2Azure) XXX_Size() int { 4737 return m.Size() 4738 } 4739 func (m *ProvisionTokenSpecV2Azure) XXX_DiscardUnknown() { 4740 xxx_messageInfo_ProvisionTokenSpecV2Azure.DiscardUnknown(m) 4741 } 4742 4743 var xxx_messageInfo_ProvisionTokenSpecV2Azure proto.InternalMessageInfo 4744 4745 // Rule is a set of properties the Azure-issued token might have to be 4746 // allowed to use this ProvisionToken. 4747 type ProvisionTokenSpecV2Azure_Rule struct { 4748 // Subscription is the Azure subscription. 4749 Subscription string `protobuf:"bytes,1,opt,name=Subscription,proto3" json:"subscription,omitempty"` 4750 // ResourceGroups is a list of Azure resource groups the node is allowed 4751 // to join from. 4752 ResourceGroups []string `protobuf:"bytes,2,rep,name=ResourceGroups,proto3" json:"resource_groups,omitempty"` 4753 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4754 XXX_unrecognized []byte `json:"-"` 4755 XXX_sizecache int32 `json:"-"` 4756 } 4757 4758 func (m *ProvisionTokenSpecV2Azure_Rule) Reset() { *m = ProvisionTokenSpecV2Azure_Rule{} } 4759 func (m *ProvisionTokenSpecV2Azure_Rule) String() string { return proto.CompactTextString(m) } 4760 func (*ProvisionTokenSpecV2Azure_Rule) ProtoMessage() {} 4761 func (*ProvisionTokenSpecV2Azure_Rule) Descriptor() ([]byte, []int) { 4762 return fileDescriptor_9198ee693835762e, []int{65, 0} 4763 } 4764 func (m *ProvisionTokenSpecV2Azure_Rule) XXX_Unmarshal(b []byte) error { 4765 return m.Unmarshal(b) 4766 } 4767 func (m *ProvisionTokenSpecV2Azure_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4768 if deterministic { 4769 return xxx_messageInfo_ProvisionTokenSpecV2Azure_Rule.Marshal(b, m, deterministic) 4770 } else { 4771 b = b[:cap(b)] 4772 n, err := m.MarshalToSizedBuffer(b) 4773 if err != nil { 4774 return nil, err 4775 } 4776 return b[:n], nil 4777 } 4778 } 4779 func (m *ProvisionTokenSpecV2Azure_Rule) XXX_Merge(src proto.Message) { 4780 xxx_messageInfo_ProvisionTokenSpecV2Azure_Rule.Merge(m, src) 4781 } 4782 func (m *ProvisionTokenSpecV2Azure_Rule) XXX_Size() int { 4783 return m.Size() 4784 } 4785 func (m *ProvisionTokenSpecV2Azure_Rule) XXX_DiscardUnknown() { 4786 xxx_messageInfo_ProvisionTokenSpecV2Azure_Rule.DiscardUnknown(m) 4787 } 4788 4789 var xxx_messageInfo_ProvisionTokenSpecV2Azure_Rule proto.InternalMessageInfo 4790 4791 // ProvisionTokenSpecV2GCP contains the GCP-specific part of the 4792 // ProvisionTokenSpecV2. 4793 type ProvisionTokenSpecV2GCP struct { 4794 // Allow is a list of Rules, nodes using this token must match one 4795 // allow rule to use this token. 4796 Allow []*ProvisionTokenSpecV2GCP_Rule `protobuf:"bytes,1,rep,name=Allow,proto3" json:"allow,omitempty"` 4797 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4798 XXX_unrecognized []byte `json:"-"` 4799 XXX_sizecache int32 `json:"-"` 4800 } 4801 4802 func (m *ProvisionTokenSpecV2GCP) Reset() { *m = ProvisionTokenSpecV2GCP{} } 4803 func (m *ProvisionTokenSpecV2GCP) String() string { return proto.CompactTextString(m) } 4804 func (*ProvisionTokenSpecV2GCP) ProtoMessage() {} 4805 func (*ProvisionTokenSpecV2GCP) Descriptor() ([]byte, []int) { 4806 return fileDescriptor_9198ee693835762e, []int{66} 4807 } 4808 func (m *ProvisionTokenSpecV2GCP) XXX_Unmarshal(b []byte) error { 4809 return m.Unmarshal(b) 4810 } 4811 func (m *ProvisionTokenSpecV2GCP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4812 if deterministic { 4813 return xxx_messageInfo_ProvisionTokenSpecV2GCP.Marshal(b, m, deterministic) 4814 } else { 4815 b = b[:cap(b)] 4816 n, err := m.MarshalToSizedBuffer(b) 4817 if err != nil { 4818 return nil, err 4819 } 4820 return b[:n], nil 4821 } 4822 } 4823 func (m *ProvisionTokenSpecV2GCP) XXX_Merge(src proto.Message) { 4824 xxx_messageInfo_ProvisionTokenSpecV2GCP.Merge(m, src) 4825 } 4826 func (m *ProvisionTokenSpecV2GCP) XXX_Size() int { 4827 return m.Size() 4828 } 4829 func (m *ProvisionTokenSpecV2GCP) XXX_DiscardUnknown() { 4830 xxx_messageInfo_ProvisionTokenSpecV2GCP.DiscardUnknown(m) 4831 } 4832 4833 var xxx_messageInfo_ProvisionTokenSpecV2GCP proto.InternalMessageInfo 4834 4835 // Rule is a set of properties the GCP-ussued token might have to be allowed 4836 // to use this ProvisionToken. 4837 type ProvisionTokenSpecV2GCP_Rule struct { 4838 // ProjectIDs is a list of project IDs (e.g. "<example-id-123456>"). 4839 ProjectIDs []string `protobuf:"bytes,1,rep,name=ProjectIDs,proto3" json:"project_ids,omitempty"` 4840 // Locations is a list of regions (e.g. "us-west1") and/or zones (e.g. 4841 // "us-west1-b"). 4842 Locations []string `protobuf:"bytes,2,rep,name=Locations,proto3" json:"locations,omitempty"` 4843 // ServiceAccounts is a list of service account emails (e.g. 4844 // "<project-number>-compute@developer.gserviceaccount.com"). 4845 ServiceAccounts []string `protobuf:"bytes,3,rep,name=ServiceAccounts,proto3" json:"service_accounts,omitempty"` 4846 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4847 XXX_unrecognized []byte `json:"-"` 4848 XXX_sizecache int32 `json:"-"` 4849 } 4850 4851 func (m *ProvisionTokenSpecV2GCP_Rule) Reset() { *m = ProvisionTokenSpecV2GCP_Rule{} } 4852 func (m *ProvisionTokenSpecV2GCP_Rule) String() string { return proto.CompactTextString(m) } 4853 func (*ProvisionTokenSpecV2GCP_Rule) ProtoMessage() {} 4854 func (*ProvisionTokenSpecV2GCP_Rule) Descriptor() ([]byte, []int) { 4855 return fileDescriptor_9198ee693835762e, []int{66, 0} 4856 } 4857 func (m *ProvisionTokenSpecV2GCP_Rule) XXX_Unmarshal(b []byte) error { 4858 return m.Unmarshal(b) 4859 } 4860 func (m *ProvisionTokenSpecV2GCP_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4861 if deterministic { 4862 return xxx_messageInfo_ProvisionTokenSpecV2GCP_Rule.Marshal(b, m, deterministic) 4863 } else { 4864 b = b[:cap(b)] 4865 n, err := m.MarshalToSizedBuffer(b) 4866 if err != nil { 4867 return nil, err 4868 } 4869 return b[:n], nil 4870 } 4871 } 4872 func (m *ProvisionTokenSpecV2GCP_Rule) XXX_Merge(src proto.Message) { 4873 xxx_messageInfo_ProvisionTokenSpecV2GCP_Rule.Merge(m, src) 4874 } 4875 func (m *ProvisionTokenSpecV2GCP_Rule) XXX_Size() int { 4876 return m.Size() 4877 } 4878 func (m *ProvisionTokenSpecV2GCP_Rule) XXX_DiscardUnknown() { 4879 xxx_messageInfo_ProvisionTokenSpecV2GCP_Rule.DiscardUnknown(m) 4880 } 4881 4882 var xxx_messageInfo_ProvisionTokenSpecV2GCP_Rule proto.InternalMessageInfo 4883 4884 // StaticTokensV2 implements the StaticTokens interface. 4885 type StaticTokensV2 struct { 4886 // Kind is a resource kind 4887 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 4888 // SubKind is an optional resource sub kind, used in some resources 4889 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 4890 // Version is version 4891 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 4892 // Metadata is resource metadata 4893 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 4894 // Spec is a provisioning token V2 spec 4895 Spec StaticTokensSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 4896 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4897 XXX_unrecognized []byte `json:"-"` 4898 XXX_sizecache int32 `json:"-"` 4899 } 4900 4901 func (m *StaticTokensV2) Reset() { *m = StaticTokensV2{} } 4902 func (*StaticTokensV2) ProtoMessage() {} 4903 func (*StaticTokensV2) Descriptor() ([]byte, []int) { 4904 return fileDescriptor_9198ee693835762e, []int{67} 4905 } 4906 func (m *StaticTokensV2) XXX_Unmarshal(b []byte) error { 4907 return m.Unmarshal(b) 4908 } 4909 func (m *StaticTokensV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4910 if deterministic { 4911 return xxx_messageInfo_StaticTokensV2.Marshal(b, m, deterministic) 4912 } else { 4913 b = b[:cap(b)] 4914 n, err := m.MarshalToSizedBuffer(b) 4915 if err != nil { 4916 return nil, err 4917 } 4918 return b[:n], nil 4919 } 4920 } 4921 func (m *StaticTokensV2) XXX_Merge(src proto.Message) { 4922 xxx_messageInfo_StaticTokensV2.Merge(m, src) 4923 } 4924 func (m *StaticTokensV2) XXX_Size() int { 4925 return m.Size() 4926 } 4927 func (m *StaticTokensV2) XXX_DiscardUnknown() { 4928 xxx_messageInfo_StaticTokensV2.DiscardUnknown(m) 4929 } 4930 4931 var xxx_messageInfo_StaticTokensV2 proto.InternalMessageInfo 4932 4933 // StaticTokensSpecV2 is the actual data we care about for StaticTokensSpecV2. 4934 type StaticTokensSpecV2 struct { 4935 // StaticTokens is a list of tokens that can be used to add nodes to the 4936 // cluster. 4937 StaticTokens []ProvisionTokenV1 `protobuf:"bytes,1,rep,name=StaticTokens,proto3" json:"static_tokens"` 4938 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4939 XXX_unrecognized []byte `json:"-"` 4940 XXX_sizecache int32 `json:"-"` 4941 } 4942 4943 func (m *StaticTokensSpecV2) Reset() { *m = StaticTokensSpecV2{} } 4944 func (m *StaticTokensSpecV2) String() string { return proto.CompactTextString(m) } 4945 func (*StaticTokensSpecV2) ProtoMessage() {} 4946 func (*StaticTokensSpecV2) Descriptor() ([]byte, []int) { 4947 return fileDescriptor_9198ee693835762e, []int{68} 4948 } 4949 func (m *StaticTokensSpecV2) XXX_Unmarshal(b []byte) error { 4950 return m.Unmarshal(b) 4951 } 4952 func (m *StaticTokensSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4953 if deterministic { 4954 return xxx_messageInfo_StaticTokensSpecV2.Marshal(b, m, deterministic) 4955 } else { 4956 b = b[:cap(b)] 4957 n, err := m.MarshalToSizedBuffer(b) 4958 if err != nil { 4959 return nil, err 4960 } 4961 return b[:n], nil 4962 } 4963 } 4964 func (m *StaticTokensSpecV2) XXX_Merge(src proto.Message) { 4965 xxx_messageInfo_StaticTokensSpecV2.Merge(m, src) 4966 } 4967 func (m *StaticTokensSpecV2) XXX_Size() int { 4968 return m.Size() 4969 } 4970 func (m *StaticTokensSpecV2) XXX_DiscardUnknown() { 4971 xxx_messageInfo_StaticTokensSpecV2.DiscardUnknown(m) 4972 } 4973 4974 var xxx_messageInfo_StaticTokensSpecV2 proto.InternalMessageInfo 4975 4976 // ClusterNameV2 implements the ClusterName interface. 4977 type ClusterNameV2 struct { 4978 // Kind is a resource kind 4979 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 4980 // SubKind is an optional resource sub kind, used in some resources 4981 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 4982 // Version is version 4983 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 4984 // Metadata is resource metadata 4985 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 4986 // Spec is a cluster name V2 spec 4987 Spec ClusterNameSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 4988 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4989 XXX_unrecognized []byte `json:"-"` 4990 XXX_sizecache int32 `json:"-"` 4991 } 4992 4993 func (m *ClusterNameV2) Reset() { *m = ClusterNameV2{} } 4994 func (*ClusterNameV2) ProtoMessage() {} 4995 func (*ClusterNameV2) Descriptor() ([]byte, []int) { 4996 return fileDescriptor_9198ee693835762e, []int{69} 4997 } 4998 func (m *ClusterNameV2) XXX_Unmarshal(b []byte) error { 4999 return m.Unmarshal(b) 5000 } 5001 func (m *ClusterNameV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5002 if deterministic { 5003 return xxx_messageInfo_ClusterNameV2.Marshal(b, m, deterministic) 5004 } else { 5005 b = b[:cap(b)] 5006 n, err := m.MarshalToSizedBuffer(b) 5007 if err != nil { 5008 return nil, err 5009 } 5010 return b[:n], nil 5011 } 5012 } 5013 func (m *ClusterNameV2) XXX_Merge(src proto.Message) { 5014 xxx_messageInfo_ClusterNameV2.Merge(m, src) 5015 } 5016 func (m *ClusterNameV2) XXX_Size() int { 5017 return m.Size() 5018 } 5019 func (m *ClusterNameV2) XXX_DiscardUnknown() { 5020 xxx_messageInfo_ClusterNameV2.DiscardUnknown(m) 5021 } 5022 5023 var xxx_messageInfo_ClusterNameV2 proto.InternalMessageInfo 5024 5025 // ClusterNameSpecV2 is the actual data we care about for ClusterName. 5026 type ClusterNameSpecV2 struct { 5027 // ClusterName is the name of the cluster. Changing this value once the 5028 // cluster is setup can and will cause catastrophic problems. 5029 ClusterName string `protobuf:"bytes,1,opt,name=ClusterName,proto3" json:"cluster_name"` 5030 // ClusterID is the unique cluster ID that is set once during the first 5031 // auth server startup. 5032 ClusterID string `protobuf:"bytes,2,opt,name=ClusterID,proto3" json:"cluster_id"` 5033 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5034 XXX_unrecognized []byte `json:"-"` 5035 XXX_sizecache int32 `json:"-"` 5036 } 5037 5038 func (m *ClusterNameSpecV2) Reset() { *m = ClusterNameSpecV2{} } 5039 func (m *ClusterNameSpecV2) String() string { return proto.CompactTextString(m) } 5040 func (*ClusterNameSpecV2) ProtoMessage() {} 5041 func (*ClusterNameSpecV2) Descriptor() ([]byte, []int) { 5042 return fileDescriptor_9198ee693835762e, []int{70} 5043 } 5044 func (m *ClusterNameSpecV2) XXX_Unmarshal(b []byte) error { 5045 return m.Unmarshal(b) 5046 } 5047 func (m *ClusterNameSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5048 if deterministic { 5049 return xxx_messageInfo_ClusterNameSpecV2.Marshal(b, m, deterministic) 5050 } else { 5051 b = b[:cap(b)] 5052 n, err := m.MarshalToSizedBuffer(b) 5053 if err != nil { 5054 return nil, err 5055 } 5056 return b[:n], nil 5057 } 5058 } 5059 func (m *ClusterNameSpecV2) XXX_Merge(src proto.Message) { 5060 xxx_messageInfo_ClusterNameSpecV2.Merge(m, src) 5061 } 5062 func (m *ClusterNameSpecV2) XXX_Size() int { 5063 return m.Size() 5064 } 5065 func (m *ClusterNameSpecV2) XXX_DiscardUnknown() { 5066 xxx_messageInfo_ClusterNameSpecV2.DiscardUnknown(m) 5067 } 5068 5069 var xxx_messageInfo_ClusterNameSpecV2 proto.InternalMessageInfo 5070 5071 // ClusterAuditConfigV2 represents audit log settings in the cluster. 5072 type ClusterAuditConfigV2 struct { 5073 // Kind is a resource kind 5074 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 5075 // SubKind is an optional resource sub kind, used in some resources 5076 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 5077 // Version is a resource version 5078 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 5079 // Metadata is resource metadata 5080 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 5081 // Spec is a ClusterAuditConfig specification 5082 Spec ClusterAuditConfigSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 5083 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5084 XXX_unrecognized []byte `json:"-"` 5085 XXX_sizecache int32 `json:"-"` 5086 } 5087 5088 func (m *ClusterAuditConfigV2) Reset() { *m = ClusterAuditConfigV2{} } 5089 func (m *ClusterAuditConfigV2) String() string { return proto.CompactTextString(m) } 5090 func (*ClusterAuditConfigV2) ProtoMessage() {} 5091 func (*ClusterAuditConfigV2) Descriptor() ([]byte, []int) { 5092 return fileDescriptor_9198ee693835762e, []int{71} 5093 } 5094 func (m *ClusterAuditConfigV2) XXX_Unmarshal(b []byte) error { 5095 return m.Unmarshal(b) 5096 } 5097 func (m *ClusterAuditConfigV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5098 if deterministic { 5099 return xxx_messageInfo_ClusterAuditConfigV2.Marshal(b, m, deterministic) 5100 } else { 5101 b = b[:cap(b)] 5102 n, err := m.MarshalToSizedBuffer(b) 5103 if err != nil { 5104 return nil, err 5105 } 5106 return b[:n], nil 5107 } 5108 } 5109 func (m *ClusterAuditConfigV2) XXX_Merge(src proto.Message) { 5110 xxx_messageInfo_ClusterAuditConfigV2.Merge(m, src) 5111 } 5112 func (m *ClusterAuditConfigV2) XXX_Size() int { 5113 return m.Size() 5114 } 5115 func (m *ClusterAuditConfigV2) XXX_DiscardUnknown() { 5116 xxx_messageInfo_ClusterAuditConfigV2.DiscardUnknown(m) 5117 } 5118 5119 var xxx_messageInfo_ClusterAuditConfigV2 proto.InternalMessageInfo 5120 5121 // ClusterAuditConfigSpecV2 is the actual data we care about 5122 // for ClusterAuditConfig. 5123 type ClusterAuditConfigSpecV2 struct { 5124 // Type is audit backend type 5125 Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"type,omitempty"` 5126 // Region is a region setting for audit sessions used by cloud providers 5127 Region string `protobuf:"bytes,2,opt,name=Region,proto3" json:"region,omitempty"` 5128 // AuditSessionsURI is a parameter where to upload sessions 5129 AuditSessionsURI string `protobuf:"bytes,3,opt,name=AuditSessionsURI,proto3" json:"audit_sessions_uri,omitempty"` 5130 // AuditEventsURI is a parameter with all supported outputs 5131 // for audit events 5132 AuditEventsURI github_com_gravitational_teleport_api_types_wrappers.Strings `protobuf:"bytes,4,opt,name=AuditEventsURI,proto3,customtype=github.com/gravitational/teleport/api/types/wrappers.Strings" json:"audit_events_uri,omitempty"` 5133 // EnableContinuousBackups is used to enable (or disable) PITR (Point-In-Time Recovery). 5134 EnableContinuousBackups bool `protobuf:"varint,6,opt,name=EnableContinuousBackups,proto3" json:"continuous_backups,omitempty"` 5135 // EnableAutoScaling is used to enable (or disable) auto scaling policy. 5136 EnableAutoScaling bool `protobuf:"varint,7,opt,name=EnableAutoScaling,proto3" json:"auto_scaling,omitempty"` 5137 // ReadMaxCapacity is the maximum provisioned read capacity. 5138 ReadMaxCapacity int64 `protobuf:"varint,8,opt,name=ReadMaxCapacity,proto3" json:"read_max_capacity,omitempty"` 5139 // ReadMinCapacity is the minimum provisioned read capacity. 5140 ReadMinCapacity int64 `protobuf:"varint,9,opt,name=ReadMinCapacity,proto3" json:"read_min_capacity,omitempty"` 5141 // ReadTargetValue is the ratio of consumed read to provisioned capacity. 5142 ReadTargetValue float64 `protobuf:"fixed64,10,opt,name=ReadTargetValue,proto3" json:"read_target_value,omitempty"` 5143 // WriteMaxCapacity is the maximum provisioned write capacity. 5144 WriteMaxCapacity int64 `protobuf:"varint,11,opt,name=WriteMaxCapacity,proto3" json:"write_max_capacity,omitempty"` 5145 // WriteMinCapacity is the minimum provisioned write capacity. 5146 WriteMinCapacity int64 `protobuf:"varint,12,opt,name=WriteMinCapacity,proto3" json:"write_min_capacity,omitempty"` 5147 // WriteTargetValue is the ratio of consumed write to provisioned capacity. 5148 WriteTargetValue float64 `protobuf:"fixed64,13,opt,name=WriteTargetValue,proto3" json:"write_target_value,omitempty"` 5149 // RetentionPeriod is the retention period for audit events. 5150 RetentionPeriod Duration `protobuf:"varint,14,opt,name=RetentionPeriod,proto3,casttype=Duration" json:"retention_period"` 5151 // UseFIPSEndpoint configures AWS endpoints to use FIPS. 5152 UseFIPSEndpoint ClusterAuditConfigSpecV2_FIPSEndpointState `protobuf:"varint,15,opt,name=UseFIPSEndpoint,proto3,enum=types.ClusterAuditConfigSpecV2_FIPSEndpointState" json:"use_fips_endpoint,omitempty"` 5153 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5154 XXX_unrecognized []byte `json:"-"` 5155 XXX_sizecache int32 `json:"-"` 5156 } 5157 5158 func (m *ClusterAuditConfigSpecV2) Reset() { *m = ClusterAuditConfigSpecV2{} } 5159 func (m *ClusterAuditConfigSpecV2) String() string { return proto.CompactTextString(m) } 5160 func (*ClusterAuditConfigSpecV2) ProtoMessage() {} 5161 func (*ClusterAuditConfigSpecV2) Descriptor() ([]byte, []int) { 5162 return fileDescriptor_9198ee693835762e, []int{72} 5163 } 5164 func (m *ClusterAuditConfigSpecV2) XXX_Unmarshal(b []byte) error { 5165 return m.Unmarshal(b) 5166 } 5167 func (m *ClusterAuditConfigSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5168 if deterministic { 5169 return xxx_messageInfo_ClusterAuditConfigSpecV2.Marshal(b, m, deterministic) 5170 } else { 5171 b = b[:cap(b)] 5172 n, err := m.MarshalToSizedBuffer(b) 5173 if err != nil { 5174 return nil, err 5175 } 5176 return b[:n], nil 5177 } 5178 } 5179 func (m *ClusterAuditConfigSpecV2) XXX_Merge(src proto.Message) { 5180 xxx_messageInfo_ClusterAuditConfigSpecV2.Merge(m, src) 5181 } 5182 func (m *ClusterAuditConfigSpecV2) XXX_Size() int { 5183 return m.Size() 5184 } 5185 func (m *ClusterAuditConfigSpecV2) XXX_DiscardUnknown() { 5186 xxx_messageInfo_ClusterAuditConfigSpecV2.DiscardUnknown(m) 5187 } 5188 5189 var xxx_messageInfo_ClusterAuditConfigSpecV2 proto.InternalMessageInfo 5190 5191 // ClusterNetworkingConfigV2 contains cluster-wide networking configuration. 5192 type ClusterNetworkingConfigV2 struct { 5193 // Kind is a resource kind 5194 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 5195 // SubKind is an optional resource sub kind, used in some resources 5196 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 5197 // Version is the resource version. It must be specified. 5198 // Supported values are:`v2`. 5199 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 5200 // Metadata is resource metadata 5201 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 5202 // Spec is a ClusterNetworkingConfig specification 5203 Spec ClusterNetworkingConfigSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 5204 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5205 XXX_unrecognized []byte `json:"-"` 5206 XXX_sizecache int32 `json:"-"` 5207 } 5208 5209 func (m *ClusterNetworkingConfigV2) Reset() { *m = ClusterNetworkingConfigV2{} } 5210 func (m *ClusterNetworkingConfigV2) String() string { return proto.CompactTextString(m) } 5211 func (*ClusterNetworkingConfigV2) ProtoMessage() {} 5212 func (*ClusterNetworkingConfigV2) Descriptor() ([]byte, []int) { 5213 return fileDescriptor_9198ee693835762e, []int{73} 5214 } 5215 func (m *ClusterNetworkingConfigV2) XXX_Unmarshal(b []byte) error { 5216 return m.Unmarshal(b) 5217 } 5218 func (m *ClusterNetworkingConfigV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5219 if deterministic { 5220 return xxx_messageInfo_ClusterNetworkingConfigV2.Marshal(b, m, deterministic) 5221 } else { 5222 b = b[:cap(b)] 5223 n, err := m.MarshalToSizedBuffer(b) 5224 if err != nil { 5225 return nil, err 5226 } 5227 return b[:n], nil 5228 } 5229 } 5230 func (m *ClusterNetworkingConfigV2) XXX_Merge(src proto.Message) { 5231 xxx_messageInfo_ClusterNetworkingConfigV2.Merge(m, src) 5232 } 5233 func (m *ClusterNetworkingConfigV2) XXX_Size() int { 5234 return m.Size() 5235 } 5236 func (m *ClusterNetworkingConfigV2) XXX_DiscardUnknown() { 5237 xxx_messageInfo_ClusterNetworkingConfigV2.DiscardUnknown(m) 5238 } 5239 5240 var xxx_messageInfo_ClusterNetworkingConfigV2 proto.InternalMessageInfo 5241 5242 // ClusterNetworkingConfigSpecV2 is the actual data we care about 5243 // for ClusterNetworkingConfig. 5244 type ClusterNetworkingConfigSpecV2 struct { 5245 // ClientIdleTimeout sets global cluster default setting for client idle 5246 // timeouts. 5247 ClientIdleTimeout Duration `protobuf:"varint,1,opt,name=ClientIdleTimeout,proto3,casttype=Duration" json:"client_idle_timeout"` 5248 // KeepAliveInterval is the interval at which the server sends keep-alive messages 5249 // to the client. 5250 KeepAliveInterval Duration `protobuf:"varint,2,opt,name=KeepAliveInterval,proto3,casttype=Duration" json:"keep_alive_interval"` 5251 // KeepAliveCountMax is the number of keep-alive messages that can be 5252 // missed before the server disconnects the connection to the client. 5253 KeepAliveCountMax int64 `protobuf:"varint,3,opt,name=KeepAliveCountMax,proto3" json:"keep_alive_count_max"` 5254 // SessionControlTimeout is the session control lease expiry and defines 5255 // the upper limit of how long a node may be out of contact with the auth 5256 // server before it begins terminating controlled sessions. 5257 SessionControlTimeout Duration `protobuf:"varint,4,opt,name=SessionControlTimeout,proto3,casttype=Duration" json:"session_control_timeout"` 5258 // ClientIdleTimeoutMessage is the message sent to the user when a connection times out. 5259 ClientIdleTimeoutMessage string `protobuf:"bytes,5,opt,name=ClientIdleTimeoutMessage,proto3" json:"idle_timeout_message"` 5260 // WebIdleTimeout sets global cluster default setting for the web UI idle 5261 // timeouts. 5262 WebIdleTimeout Duration `protobuf:"varint,6,opt,name=WebIdleTimeout,proto3,casttype=Duration" json:"web_idle_timeout"` 5263 // ProxyListenerMode is proxy listener mode used by Teleport Proxies. 5264 // 0 is "separate"; 1 is "multiplex". 5265 ProxyListenerMode ProxyListenerMode `protobuf:"varint,7,opt,name=ProxyListenerMode,proto3,enum=types.ProxyListenerMode" json:"proxy_listener_mode,omitempty"` 5266 // RoutingStrategy determines the strategy used to route to nodes. 5267 // 0 is "unambiguous_match"; 1 is "most_recent". 5268 RoutingStrategy RoutingStrategy `protobuf:"varint,8,opt,name=RoutingStrategy,proto3,enum=types.RoutingStrategy" json:"routing_strategy,omitempty"` 5269 // TunnelStrategyV1 determines the tunnel strategy used in the cluster. 5270 TunnelStrategy *TunnelStrategyV1 `protobuf:"bytes,9,opt,name=TunnelStrategy,proto3" json:"tunnel_strategy,omitempty"` 5271 // ProxyPingInterval defines in which interval the TLS routing ping message 5272 // should be sent. This is applicable only when using ping-wrapped 5273 // connections, regular TLS routing connections are not affected. 5274 ProxyPingInterval Duration `protobuf:"varint,10,opt,name=ProxyPingInterval,proto3,casttype=Duration" json:"proxy_ping_interval,omitempty"` 5275 // AssistCommandExecutionWorkers determines the number of workers that will 5276 // execute arbitrary Assist commands on servers in parallel 5277 AssistCommandExecutionWorkers int32 `protobuf:"varint,11,opt,name=AssistCommandExecutionWorkers,proto3" json:"assist_command_execution_workers,omitempty"` 5278 // CaseInsensitiveRouting causes proxies to use case-insensitive hostname matching. 5279 CaseInsensitiveRouting bool `protobuf:"varint,12,opt,name=CaseInsensitiveRouting,proto3" json:"case_insensitive_routing,omitempty"` 5280 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5281 XXX_unrecognized []byte `json:"-"` 5282 XXX_sizecache int32 `json:"-"` 5283 } 5284 5285 func (m *ClusterNetworkingConfigSpecV2) Reset() { *m = ClusterNetworkingConfigSpecV2{} } 5286 func (m *ClusterNetworkingConfigSpecV2) String() string { return proto.CompactTextString(m) } 5287 func (*ClusterNetworkingConfigSpecV2) ProtoMessage() {} 5288 func (*ClusterNetworkingConfigSpecV2) Descriptor() ([]byte, []int) { 5289 return fileDescriptor_9198ee693835762e, []int{74} 5290 } 5291 func (m *ClusterNetworkingConfigSpecV2) XXX_Unmarshal(b []byte) error { 5292 return m.Unmarshal(b) 5293 } 5294 func (m *ClusterNetworkingConfigSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5295 if deterministic { 5296 return xxx_messageInfo_ClusterNetworkingConfigSpecV2.Marshal(b, m, deterministic) 5297 } else { 5298 b = b[:cap(b)] 5299 n, err := m.MarshalToSizedBuffer(b) 5300 if err != nil { 5301 return nil, err 5302 } 5303 return b[:n], nil 5304 } 5305 } 5306 func (m *ClusterNetworkingConfigSpecV2) XXX_Merge(src proto.Message) { 5307 xxx_messageInfo_ClusterNetworkingConfigSpecV2.Merge(m, src) 5308 } 5309 func (m *ClusterNetworkingConfigSpecV2) XXX_Size() int { 5310 return m.Size() 5311 } 5312 func (m *ClusterNetworkingConfigSpecV2) XXX_DiscardUnknown() { 5313 xxx_messageInfo_ClusterNetworkingConfigSpecV2.DiscardUnknown(m) 5314 } 5315 5316 var xxx_messageInfo_ClusterNetworkingConfigSpecV2 proto.InternalMessageInfo 5317 5318 // TunnelStrategyV1 defines possible tunnel strategy types. 5319 type TunnelStrategyV1 struct { 5320 // Types that are valid to be assigned to Strategy: 5321 // 5322 // *TunnelStrategyV1_AgentMesh 5323 // *TunnelStrategyV1_ProxyPeering 5324 Strategy isTunnelStrategyV1_Strategy `protobuf_oneof:"Strategy"` 5325 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5326 XXX_unrecognized []byte `json:"-"` 5327 XXX_sizecache int32 `json:"-"` 5328 } 5329 5330 func (m *TunnelStrategyV1) Reset() { *m = TunnelStrategyV1{} } 5331 func (m *TunnelStrategyV1) String() string { return proto.CompactTextString(m) } 5332 func (*TunnelStrategyV1) ProtoMessage() {} 5333 func (*TunnelStrategyV1) Descriptor() ([]byte, []int) { 5334 return fileDescriptor_9198ee693835762e, []int{75} 5335 } 5336 func (m *TunnelStrategyV1) XXX_Unmarshal(b []byte) error { 5337 return m.Unmarshal(b) 5338 } 5339 func (m *TunnelStrategyV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5340 if deterministic { 5341 return xxx_messageInfo_TunnelStrategyV1.Marshal(b, m, deterministic) 5342 } else { 5343 b = b[:cap(b)] 5344 n, err := m.MarshalToSizedBuffer(b) 5345 if err != nil { 5346 return nil, err 5347 } 5348 return b[:n], nil 5349 } 5350 } 5351 func (m *TunnelStrategyV1) XXX_Merge(src proto.Message) { 5352 xxx_messageInfo_TunnelStrategyV1.Merge(m, src) 5353 } 5354 func (m *TunnelStrategyV1) XXX_Size() int { 5355 return m.Size() 5356 } 5357 func (m *TunnelStrategyV1) XXX_DiscardUnknown() { 5358 xxx_messageInfo_TunnelStrategyV1.DiscardUnknown(m) 5359 } 5360 5361 var xxx_messageInfo_TunnelStrategyV1 proto.InternalMessageInfo 5362 5363 type isTunnelStrategyV1_Strategy interface { 5364 isTunnelStrategyV1_Strategy() 5365 MarshalTo([]byte) (int, error) 5366 Size() int 5367 } 5368 5369 type TunnelStrategyV1_AgentMesh struct { 5370 AgentMesh *AgentMeshTunnelStrategy `protobuf:"bytes,1,opt,name=AgentMesh,proto3,oneof" json:"agent_mesh,omitempty"` 5371 } 5372 type TunnelStrategyV1_ProxyPeering struct { 5373 ProxyPeering *ProxyPeeringTunnelStrategy `protobuf:"bytes,2,opt,name=ProxyPeering,proto3,oneof" json:"proxy_peering,omitempty"` 5374 } 5375 5376 func (*TunnelStrategyV1_AgentMesh) isTunnelStrategyV1_Strategy() {} 5377 func (*TunnelStrategyV1_ProxyPeering) isTunnelStrategyV1_Strategy() {} 5378 5379 func (m *TunnelStrategyV1) GetStrategy() isTunnelStrategyV1_Strategy { 5380 if m != nil { 5381 return m.Strategy 5382 } 5383 return nil 5384 } 5385 5386 func (m *TunnelStrategyV1) GetAgentMesh() *AgentMeshTunnelStrategy { 5387 if x, ok := m.GetStrategy().(*TunnelStrategyV1_AgentMesh); ok { 5388 return x.AgentMesh 5389 } 5390 return nil 5391 } 5392 5393 func (m *TunnelStrategyV1) GetProxyPeering() *ProxyPeeringTunnelStrategy { 5394 if x, ok := m.GetStrategy().(*TunnelStrategyV1_ProxyPeering); ok { 5395 return x.ProxyPeering 5396 } 5397 return nil 5398 } 5399 5400 // XXX_OneofWrappers is for the internal use of the proto package. 5401 func (*TunnelStrategyV1) XXX_OneofWrappers() []interface{} { 5402 return []interface{}{ 5403 (*TunnelStrategyV1_AgentMesh)(nil), 5404 (*TunnelStrategyV1_ProxyPeering)(nil), 5405 } 5406 } 5407 5408 // AgentMeshTunnelStrategy requires reverse tunnels to dial every proxy. 5409 type AgentMeshTunnelStrategy struct { 5410 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5411 XXX_unrecognized []byte `json:"-"` 5412 XXX_sizecache int32 `json:"-"` 5413 } 5414 5415 func (m *AgentMeshTunnelStrategy) Reset() { *m = AgentMeshTunnelStrategy{} } 5416 func (m *AgentMeshTunnelStrategy) String() string { return proto.CompactTextString(m) } 5417 func (*AgentMeshTunnelStrategy) ProtoMessage() {} 5418 func (*AgentMeshTunnelStrategy) Descriptor() ([]byte, []int) { 5419 return fileDescriptor_9198ee693835762e, []int{76} 5420 } 5421 func (m *AgentMeshTunnelStrategy) XXX_Unmarshal(b []byte) error { 5422 return m.Unmarshal(b) 5423 } 5424 func (m *AgentMeshTunnelStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5425 if deterministic { 5426 return xxx_messageInfo_AgentMeshTunnelStrategy.Marshal(b, m, deterministic) 5427 } else { 5428 b = b[:cap(b)] 5429 n, err := m.MarshalToSizedBuffer(b) 5430 if err != nil { 5431 return nil, err 5432 } 5433 return b[:n], nil 5434 } 5435 } 5436 func (m *AgentMeshTunnelStrategy) XXX_Merge(src proto.Message) { 5437 xxx_messageInfo_AgentMeshTunnelStrategy.Merge(m, src) 5438 } 5439 func (m *AgentMeshTunnelStrategy) XXX_Size() int { 5440 return m.Size() 5441 } 5442 func (m *AgentMeshTunnelStrategy) XXX_DiscardUnknown() { 5443 xxx_messageInfo_AgentMeshTunnelStrategy.DiscardUnknown(m) 5444 } 5445 5446 var xxx_messageInfo_AgentMeshTunnelStrategy proto.InternalMessageInfo 5447 5448 // ProxyPeeringTunnelStrategy requires reverse tunnels to dial a fixed number of proxies. 5449 type ProxyPeeringTunnelStrategy struct { 5450 AgentConnectionCount int64 `protobuf:"varint,1,opt,name=AgentConnectionCount,proto3" json:"agent_connection_count,omitempty"` 5451 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5452 XXX_unrecognized []byte `json:"-"` 5453 XXX_sizecache int32 `json:"-"` 5454 } 5455 5456 func (m *ProxyPeeringTunnelStrategy) Reset() { *m = ProxyPeeringTunnelStrategy{} } 5457 func (m *ProxyPeeringTunnelStrategy) String() string { return proto.CompactTextString(m) } 5458 func (*ProxyPeeringTunnelStrategy) ProtoMessage() {} 5459 func (*ProxyPeeringTunnelStrategy) Descriptor() ([]byte, []int) { 5460 return fileDescriptor_9198ee693835762e, []int{77} 5461 } 5462 func (m *ProxyPeeringTunnelStrategy) XXX_Unmarshal(b []byte) error { 5463 return m.Unmarshal(b) 5464 } 5465 func (m *ProxyPeeringTunnelStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5466 if deterministic { 5467 return xxx_messageInfo_ProxyPeeringTunnelStrategy.Marshal(b, m, deterministic) 5468 } else { 5469 b = b[:cap(b)] 5470 n, err := m.MarshalToSizedBuffer(b) 5471 if err != nil { 5472 return nil, err 5473 } 5474 return b[:n], nil 5475 } 5476 } 5477 func (m *ProxyPeeringTunnelStrategy) XXX_Merge(src proto.Message) { 5478 xxx_messageInfo_ProxyPeeringTunnelStrategy.Merge(m, src) 5479 } 5480 func (m *ProxyPeeringTunnelStrategy) XXX_Size() int { 5481 return m.Size() 5482 } 5483 func (m *ProxyPeeringTunnelStrategy) XXX_DiscardUnknown() { 5484 xxx_messageInfo_ProxyPeeringTunnelStrategy.DiscardUnknown(m) 5485 } 5486 5487 var xxx_messageInfo_ProxyPeeringTunnelStrategy proto.InternalMessageInfo 5488 5489 // SessionRecordingConfigV2 contains session recording configuration. 5490 type SessionRecordingConfigV2 struct { 5491 // Kind is a resource kind 5492 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 5493 // SubKind is an optional resource sub kind, used in some resources 5494 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 5495 // Version is the resource version. It must be specified. 5496 // Supported values are:`v2`. 5497 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 5498 // Metadata is resource metadata 5499 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 5500 // Spec is a SessionRecordingConfig specification 5501 Spec SessionRecordingConfigSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 5502 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5503 XXX_unrecognized []byte `json:"-"` 5504 XXX_sizecache int32 `json:"-"` 5505 } 5506 5507 func (m *SessionRecordingConfigV2) Reset() { *m = SessionRecordingConfigV2{} } 5508 func (m *SessionRecordingConfigV2) String() string { return proto.CompactTextString(m) } 5509 func (*SessionRecordingConfigV2) ProtoMessage() {} 5510 func (*SessionRecordingConfigV2) Descriptor() ([]byte, []int) { 5511 return fileDescriptor_9198ee693835762e, []int{78} 5512 } 5513 func (m *SessionRecordingConfigV2) XXX_Unmarshal(b []byte) error { 5514 return m.Unmarshal(b) 5515 } 5516 func (m *SessionRecordingConfigV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5517 if deterministic { 5518 return xxx_messageInfo_SessionRecordingConfigV2.Marshal(b, m, deterministic) 5519 } else { 5520 b = b[:cap(b)] 5521 n, err := m.MarshalToSizedBuffer(b) 5522 if err != nil { 5523 return nil, err 5524 } 5525 return b[:n], nil 5526 } 5527 } 5528 func (m *SessionRecordingConfigV2) XXX_Merge(src proto.Message) { 5529 xxx_messageInfo_SessionRecordingConfigV2.Merge(m, src) 5530 } 5531 func (m *SessionRecordingConfigV2) XXX_Size() int { 5532 return m.Size() 5533 } 5534 func (m *SessionRecordingConfigV2) XXX_DiscardUnknown() { 5535 xxx_messageInfo_SessionRecordingConfigV2.DiscardUnknown(m) 5536 } 5537 5538 var xxx_messageInfo_SessionRecordingConfigV2 proto.InternalMessageInfo 5539 5540 // SessionRecordingConfigSpecV2 is the actual data we care about 5541 // for SessionRecordingConfig. 5542 type SessionRecordingConfigSpecV2 struct { 5543 // Mode controls where (or if) the session is recorded. 5544 Mode string `protobuf:"bytes,1,opt,name=Mode,proto3" json:"mode"` 5545 // ProxyChecksHostKeys is used to control if the proxy will check host keys 5546 // when in recording mode. 5547 ProxyChecksHostKeys *BoolOption `protobuf:"bytes,2,opt,name=ProxyChecksHostKeys,proto3,customtype=BoolOption" json:"proxy_checks_host_keys"` 5548 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5549 XXX_unrecognized []byte `json:"-"` 5550 XXX_sizecache int32 `json:"-"` 5551 } 5552 5553 func (m *SessionRecordingConfigSpecV2) Reset() { *m = SessionRecordingConfigSpecV2{} } 5554 func (m *SessionRecordingConfigSpecV2) String() string { return proto.CompactTextString(m) } 5555 func (*SessionRecordingConfigSpecV2) ProtoMessage() {} 5556 func (*SessionRecordingConfigSpecV2) Descriptor() ([]byte, []int) { 5557 return fileDescriptor_9198ee693835762e, []int{79} 5558 } 5559 func (m *SessionRecordingConfigSpecV2) XXX_Unmarshal(b []byte) error { 5560 return m.Unmarshal(b) 5561 } 5562 func (m *SessionRecordingConfigSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5563 if deterministic { 5564 return xxx_messageInfo_SessionRecordingConfigSpecV2.Marshal(b, m, deterministic) 5565 } else { 5566 b = b[:cap(b)] 5567 n, err := m.MarshalToSizedBuffer(b) 5568 if err != nil { 5569 return nil, err 5570 } 5571 return b[:n], nil 5572 } 5573 } 5574 func (m *SessionRecordingConfigSpecV2) XXX_Merge(src proto.Message) { 5575 xxx_messageInfo_SessionRecordingConfigSpecV2.Merge(m, src) 5576 } 5577 func (m *SessionRecordingConfigSpecV2) XXX_Size() int { 5578 return m.Size() 5579 } 5580 func (m *SessionRecordingConfigSpecV2) XXX_DiscardUnknown() { 5581 xxx_messageInfo_SessionRecordingConfigSpecV2.DiscardUnknown(m) 5582 } 5583 5584 var xxx_messageInfo_SessionRecordingConfigSpecV2 proto.InternalMessageInfo 5585 5586 // AuthPreferenceV2 implements the AuthPreference interface. 5587 type AuthPreferenceV2 struct { 5588 // Kind is a resource kind 5589 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 5590 // SubKind is an optional resource sub kind, used in some resources 5591 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 5592 // Version is the resource version. It must be specified. 5593 // Supported values are: `v2`. 5594 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 5595 // Metadata is resource metadata 5596 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 5597 // Spec is an AuthPreference specification 5598 Spec AuthPreferenceSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 5599 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5600 XXX_unrecognized []byte `json:"-"` 5601 XXX_sizecache int32 `json:"-"` 5602 } 5603 5604 func (m *AuthPreferenceV2) Reset() { *m = AuthPreferenceV2{} } 5605 func (*AuthPreferenceV2) ProtoMessage() {} 5606 func (*AuthPreferenceV2) Descriptor() ([]byte, []int) { 5607 return fileDescriptor_9198ee693835762e, []int{80} 5608 } 5609 func (m *AuthPreferenceV2) XXX_Unmarshal(b []byte) error { 5610 return m.Unmarshal(b) 5611 } 5612 func (m *AuthPreferenceV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5613 if deterministic { 5614 return xxx_messageInfo_AuthPreferenceV2.Marshal(b, m, deterministic) 5615 } else { 5616 b = b[:cap(b)] 5617 n, err := m.MarshalToSizedBuffer(b) 5618 if err != nil { 5619 return nil, err 5620 } 5621 return b[:n], nil 5622 } 5623 } 5624 func (m *AuthPreferenceV2) XXX_Merge(src proto.Message) { 5625 xxx_messageInfo_AuthPreferenceV2.Merge(m, src) 5626 } 5627 func (m *AuthPreferenceV2) XXX_Size() int { 5628 return m.Size() 5629 } 5630 func (m *AuthPreferenceV2) XXX_DiscardUnknown() { 5631 xxx_messageInfo_AuthPreferenceV2.DiscardUnknown(m) 5632 } 5633 5634 var xxx_messageInfo_AuthPreferenceV2 proto.InternalMessageInfo 5635 5636 // AuthPreferenceSpecV2 is the actual data we care about for AuthPreference. 5637 type AuthPreferenceSpecV2 struct { 5638 // Type is the type of authentication. 5639 Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"type"` 5640 // SecondFactor is the type of second factor. 5641 SecondFactor github_com_gravitational_teleport_api_constants.SecondFactorType `protobuf:"bytes,2,opt,name=SecondFactor,proto3,casttype=github.com/gravitational/teleport/api/constants.SecondFactorType" json:"second_factor,omitempty"` 5642 // ConnectorName is the name of the OIDC or SAML connector. If this value is 5643 // not set the first connector in the backend will be used. 5644 ConnectorName string `protobuf:"bytes,3,opt,name=ConnectorName,proto3" json:"connector_name,omitempty"` 5645 // U2F are the settings for the U2F device. 5646 U2F *U2F `protobuf:"bytes,4,opt,name=U2F,proto3" json:"u2f,omitempty"` 5647 // DisconnectExpiredCert provides disconnect expired certificate setting - 5648 // if true, connections with expired client certificates will get disconnected 5649 DisconnectExpiredCert *BoolOption `protobuf:"bytes,6,opt,name=DisconnectExpiredCert,proto3,customtype=BoolOption" json:"disconnect_expired_cert,omitempty"` 5650 // AllowLocalAuth is true if local authentication is enabled. 5651 AllowLocalAuth *BoolOption `protobuf:"bytes,7,opt,name=AllowLocalAuth,proto3,customtype=BoolOption" json:"allow_local_auth,omitempty"` 5652 MessageOfTheDay string `protobuf:"bytes,8,opt,name=MessageOfTheDay,proto3" json:"message_of_the_day,omitempty"` 5653 // LockingMode is the cluster-wide locking mode default. 5654 LockingMode github_com_gravitational_teleport_api_constants.LockingMode `protobuf:"bytes,9,opt,name=LockingMode,proto3,casttype=github.com/gravitational/teleport/api/constants.LockingMode" json:"locking_mode,omitempty"` 5655 // Webauthn are the settings for server-side Web Authentication support. 5656 Webauthn *Webauthn `protobuf:"bytes,10,opt,name=Webauthn,proto3" json:"webauthn,omitempty"` 5657 // AllowPasswordless enables/disables passwordless support. 5658 // Passwordless requires Webauthn to work. 5659 // Defaults to true if the Webauthn is configured, defaults to false 5660 // otherwise. 5661 AllowPasswordless *BoolOption `protobuf:"bytes,11,opt,name=AllowPasswordless,proto3,customtype=BoolOption" json:"allow_passwordless,omitempty"` 5662 // RequireMFAType is the type of MFA requirement enforced for this cluster. 5663 // 0 is "OFF", 1 is "SESSION", 2 is "SESSION_AND_HARDWARE_KEY", 3 is "HARDWARE_KEY_TOUCH", 5664 // 4 is "HARDWARE_KEY_PIN", 5 is "HARDWARE_KEY_TOUCH_AND_PIN". 5665 RequireMFAType RequireMFAType `protobuf:"varint,12,opt,name=RequireMFAType,proto3,enum=types.RequireMFAType" json:"require_session_mfa,omitempty"` 5666 // DeviceTrust holds settings related to trusted device verification. 5667 // Requires Teleport Enterprise. 5668 DeviceTrust *DeviceTrust `protobuf:"bytes,13,opt,name=DeviceTrust,proto3" json:"device_trust,omitempty"` 5669 // IDP is a set of options related to accessing IdPs within Teleport. 5670 // Requires Teleport Enterprise. 5671 IDP *IdPOptions `protobuf:"bytes,14,opt,name=IDP,proto3" json:"idp,omitempty"` 5672 // AllowHeadless enables/disables headless support. 5673 // Headless authentication requires Webauthn to work. 5674 // Defaults to true if the Webauthn is configured, defaults to false 5675 // otherwise. 5676 AllowHeadless *BoolOption `protobuf:"bytes,15,opt,name=AllowHeadless,proto3,customtype=BoolOption" json:"allow_headless,omitempty"` 5677 // DefaultSessionTTL is the TTL to use for user certs when 5678 // an explicit TTL is not requested. 5679 DefaultSessionTTL Duration `protobuf:"varint,16,opt,name=DefaultSessionTTL,proto3,casttype=Duration" json:"default_session_ttl,omitempty"` 5680 // Okta is a set of options related to the Okta service in Teleport. 5681 // Requires Teleport Enterprise. 5682 Okta *OktaOptions `protobuf:"bytes,17,opt,name=Okta,proto3" json:"okta,omitempty"` 5683 // TODO(Joerger): DELETE IN 17.0.0 5684 // Deprecated, replaced by HardwareKey settings. 5685 PIVSlot string `protobuf:"bytes,18,opt,name=PIVSlot,proto3" json:"piv_slot,omitempty"` // Deprecated: Do not use. 5686 // HardwareKey are the settings for hardware key support. 5687 HardwareKey *HardwareKey `protobuf:"bytes,19,opt,name=HardwareKey,proto3" json:"hardware_key,omitempty"` 5688 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5689 XXX_unrecognized []byte `json:"-"` 5690 XXX_sizecache int32 `json:"-"` 5691 } 5692 5693 func (m *AuthPreferenceSpecV2) Reset() { *m = AuthPreferenceSpecV2{} } 5694 func (m *AuthPreferenceSpecV2) String() string { return proto.CompactTextString(m) } 5695 func (*AuthPreferenceSpecV2) ProtoMessage() {} 5696 func (*AuthPreferenceSpecV2) Descriptor() ([]byte, []int) { 5697 return fileDescriptor_9198ee693835762e, []int{81} 5698 } 5699 func (m *AuthPreferenceSpecV2) XXX_Unmarshal(b []byte) error { 5700 return m.Unmarshal(b) 5701 } 5702 func (m *AuthPreferenceSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5703 if deterministic { 5704 return xxx_messageInfo_AuthPreferenceSpecV2.Marshal(b, m, deterministic) 5705 } else { 5706 b = b[:cap(b)] 5707 n, err := m.MarshalToSizedBuffer(b) 5708 if err != nil { 5709 return nil, err 5710 } 5711 return b[:n], nil 5712 } 5713 } 5714 func (m *AuthPreferenceSpecV2) XXX_Merge(src proto.Message) { 5715 xxx_messageInfo_AuthPreferenceSpecV2.Merge(m, src) 5716 } 5717 func (m *AuthPreferenceSpecV2) XXX_Size() int { 5718 return m.Size() 5719 } 5720 func (m *AuthPreferenceSpecV2) XXX_DiscardUnknown() { 5721 xxx_messageInfo_AuthPreferenceSpecV2.DiscardUnknown(m) 5722 } 5723 5724 var xxx_messageInfo_AuthPreferenceSpecV2 proto.InternalMessageInfo 5725 5726 // U2F defines settings for U2F device. 5727 // Deprecated: U2F is transparently converted to WebAuthn by Teleport. Prefer 5728 // using WebAuthn instead. 5729 type U2F struct { 5730 // AppID returns the application ID for universal second factor. 5731 AppID string `protobuf:"bytes,1,opt,name=AppID,proto3" json:"app_id,omitempty"` 5732 // Facets returns the facets for universal second factor. 5733 // Deprecated: Kept for backwards compatibility reasons, but Facets have no 5734 // effect since Teleport v10, when Webauthn replaced the U2F implementation. 5735 Facets []string `protobuf:"bytes,2,rep,name=Facets,proto3" json:"facets,omitempty"` 5736 // DeviceAttestationCAs contains the trusted attestation CAs for U2F 5737 // devices. 5738 DeviceAttestationCAs []string `protobuf:"bytes,3,rep,name=DeviceAttestationCAs,proto3" json:"device_attestation_cas,omitempty"` 5739 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5740 XXX_unrecognized []byte `json:"-"` 5741 XXX_sizecache int32 `json:"-"` 5742 } 5743 5744 func (m *U2F) Reset() { *m = U2F{} } 5745 func (m *U2F) String() string { return proto.CompactTextString(m) } 5746 func (*U2F) ProtoMessage() {} 5747 func (*U2F) Descriptor() ([]byte, []int) { 5748 return fileDescriptor_9198ee693835762e, []int{82} 5749 } 5750 func (m *U2F) XXX_Unmarshal(b []byte) error { 5751 return m.Unmarshal(b) 5752 } 5753 func (m *U2F) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5754 if deterministic { 5755 return xxx_messageInfo_U2F.Marshal(b, m, deterministic) 5756 } else { 5757 b = b[:cap(b)] 5758 n, err := m.MarshalToSizedBuffer(b) 5759 if err != nil { 5760 return nil, err 5761 } 5762 return b[:n], nil 5763 } 5764 } 5765 func (m *U2F) XXX_Merge(src proto.Message) { 5766 xxx_messageInfo_U2F.Merge(m, src) 5767 } 5768 func (m *U2F) XXX_Size() int { 5769 return m.Size() 5770 } 5771 func (m *U2F) XXX_DiscardUnknown() { 5772 xxx_messageInfo_U2F.DiscardUnknown(m) 5773 } 5774 5775 var xxx_messageInfo_U2F proto.InternalMessageInfo 5776 5777 // Webauthn defines user-visible settings for server-side Web Authentication 5778 // support. 5779 type Webauthn struct { 5780 // RPID is the ID of the Relying Party. 5781 // It should be set to the domain name of the Teleport installation. 5782 // 5783 // IMPORTANT: RPID must never change in the lifetime of the cluster, because 5784 // it's recorded in the registration data on the WebAuthn device. If the 5785 // RPID changes, all existing WebAuthn key registrations will become invalid 5786 // and all users who use WebAuthn as the second factor will need to 5787 // re-register. 5788 RPID string `protobuf:"bytes,1,opt,name=RPID,proto3" json:"rp_id,omitempty"` 5789 // Allow list of device attestation CAs in PEM format. 5790 // If present, only devices whose attestation certificates match the 5791 // certificates specified here may be registered (existing registrations are 5792 // unchanged). 5793 // If supplied in conjunction with AttestationDeniedCAs, then both 5794 // conditions need to be true for registration to be allowed (the device 5795 // MUST match an allowed CA and MUST NOT match a denied CA). 5796 // By default all devices are allowed. 5797 AttestationAllowedCAs []string `protobuf:"bytes,2,rep,name=AttestationAllowedCAs,proto3" json:"attestation_allowed_cas,omitempty"` 5798 // Deny list of device attestation CAs in PEM format. 5799 // If present, only devices whose attestation certificates don't match the 5800 // certificates specified here may be registered (existing registrations are 5801 // unchanged). 5802 // If supplied in conjunction with AttestationAllowedCAs, then both 5803 // conditions need to be true for registration to be allowed (the device 5804 // MUST match an allowed CA and MUST NOT match a denied CA). 5805 // By default no devices are denied. 5806 AttestationDeniedCAs []string `protobuf:"bytes,3,rep,name=AttestationDeniedCAs,proto3" json:"attestation_denied_cas,omitempty"` 5807 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5808 XXX_unrecognized []byte `json:"-"` 5809 XXX_sizecache int32 `json:"-"` 5810 } 5811 5812 func (m *Webauthn) Reset() { *m = Webauthn{} } 5813 func (m *Webauthn) String() string { return proto.CompactTextString(m) } 5814 func (*Webauthn) ProtoMessage() {} 5815 func (*Webauthn) Descriptor() ([]byte, []int) { 5816 return fileDescriptor_9198ee693835762e, []int{83} 5817 } 5818 func (m *Webauthn) XXX_Unmarshal(b []byte) error { 5819 return m.Unmarshal(b) 5820 } 5821 func (m *Webauthn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5822 if deterministic { 5823 return xxx_messageInfo_Webauthn.Marshal(b, m, deterministic) 5824 } else { 5825 b = b[:cap(b)] 5826 n, err := m.MarshalToSizedBuffer(b) 5827 if err != nil { 5828 return nil, err 5829 } 5830 return b[:n], nil 5831 } 5832 } 5833 func (m *Webauthn) XXX_Merge(src proto.Message) { 5834 xxx_messageInfo_Webauthn.Merge(m, src) 5835 } 5836 func (m *Webauthn) XXX_Size() int { 5837 return m.Size() 5838 } 5839 func (m *Webauthn) XXX_DiscardUnknown() { 5840 xxx_messageInfo_Webauthn.DiscardUnknown(m) 5841 } 5842 5843 var xxx_messageInfo_Webauthn proto.InternalMessageInfo 5844 5845 // DeviceTrust holds settings related to trusted device verification. 5846 // Requires Teleport Enterprise. 5847 type DeviceTrust struct { 5848 // Mode of verification for trusted devices. 5849 // 5850 // The following modes are supported: 5851 // 5852 // - "off": disables both device authentication and authorization. 5853 // - "optional": allows both device authentication and authorization, but 5854 // doesn't enforce the presence of device extensions for sensitive 5855 // endpoints. 5856 // - "required": enforces the presence of device extensions for sensitive 5857 // endpoints. 5858 // 5859 // Mode is always "off" for OSS. 5860 // Defaults to "optional" for Enterprise. 5861 Mode string `protobuf:"bytes,1,opt,name=Mode,proto3" json:"mode,omitempty"` 5862 // Enable device auto-enroll. 5863 // Auto-enroll lets any user issue a device enrollment token for a known 5864 // device that is not already enrolled. 5865 // `tsh` takes advantage of auto-enroll to automatically enroll devices on 5866 // user login, when appropriate. 5867 // The effective cluster Mode still applies: AutoEnroll=true is meaningless if 5868 // Mode="off". 5869 AutoEnroll bool `protobuf:"varint,2,opt,name=AutoEnroll,proto3" json:"auto_enroll,omitempty"` 5870 // Allow list of EKCert CAs in PEM format. 5871 // If present, only TPM devices that present an EKCert that is signed by a 5872 // CA specified here may be enrolled (existing enrollments are 5873 // unchanged). 5874 // 5875 // If not present, then the CA of TPM EKCerts will not be checked during 5876 // enrollment, this allows any device to enroll. 5877 EKCertAllowedCAs []string `protobuf:"bytes,3,rep,name=EKCertAllowedCAs,proto3" json:"ekcert_allowed_cas,omitempty"` 5878 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5879 XXX_unrecognized []byte `json:"-"` 5880 XXX_sizecache int32 `json:"-"` 5881 } 5882 5883 func (m *DeviceTrust) Reset() { *m = DeviceTrust{} } 5884 func (m *DeviceTrust) String() string { return proto.CompactTextString(m) } 5885 func (*DeviceTrust) ProtoMessage() {} 5886 func (*DeviceTrust) Descriptor() ([]byte, []int) { 5887 return fileDescriptor_9198ee693835762e, []int{84} 5888 } 5889 func (m *DeviceTrust) XXX_Unmarshal(b []byte) error { 5890 return m.Unmarshal(b) 5891 } 5892 func (m *DeviceTrust) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5893 if deterministic { 5894 return xxx_messageInfo_DeviceTrust.Marshal(b, m, deterministic) 5895 } else { 5896 b = b[:cap(b)] 5897 n, err := m.MarshalToSizedBuffer(b) 5898 if err != nil { 5899 return nil, err 5900 } 5901 return b[:n], nil 5902 } 5903 } 5904 func (m *DeviceTrust) XXX_Merge(src proto.Message) { 5905 xxx_messageInfo_DeviceTrust.Merge(m, src) 5906 } 5907 func (m *DeviceTrust) XXX_Size() int { 5908 return m.Size() 5909 } 5910 func (m *DeviceTrust) XXX_DiscardUnknown() { 5911 xxx_messageInfo_DeviceTrust.DiscardUnknown(m) 5912 } 5913 5914 var xxx_messageInfo_DeviceTrust proto.InternalMessageInfo 5915 5916 // HardwareKey holds settings related to hardware key support. 5917 // Requires Teleport Enterprise. 5918 type HardwareKey struct { 5919 // PIVSlot is a PIV slot that Teleport clients should use instead of the 5920 // default based on private key policy. For example, "9a" or "9e". 5921 PIVSlot string `protobuf:"bytes,1,opt,name=PIVSlot,proto3" json:"piv_slot,omitempty"` 5922 // SerialNumberValidation holds settings for hardware key serial number validation. 5923 // By default, serial number validation is disabled. 5924 SerialNumberValidation *HardwareKeySerialNumberValidation `protobuf:"bytes,2,opt,name=SerialNumberValidation,proto3" json:"serial_number_validation,omitempty"` 5925 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5926 XXX_unrecognized []byte `json:"-"` 5927 XXX_sizecache int32 `json:"-"` 5928 } 5929 5930 func (m *HardwareKey) Reset() { *m = HardwareKey{} } 5931 func (m *HardwareKey) String() string { return proto.CompactTextString(m) } 5932 func (*HardwareKey) ProtoMessage() {} 5933 func (*HardwareKey) Descriptor() ([]byte, []int) { 5934 return fileDescriptor_9198ee693835762e, []int{85} 5935 } 5936 func (m *HardwareKey) XXX_Unmarshal(b []byte) error { 5937 return m.Unmarshal(b) 5938 } 5939 func (m *HardwareKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5940 if deterministic { 5941 return xxx_messageInfo_HardwareKey.Marshal(b, m, deterministic) 5942 } else { 5943 b = b[:cap(b)] 5944 n, err := m.MarshalToSizedBuffer(b) 5945 if err != nil { 5946 return nil, err 5947 } 5948 return b[:n], nil 5949 } 5950 } 5951 func (m *HardwareKey) XXX_Merge(src proto.Message) { 5952 xxx_messageInfo_HardwareKey.Merge(m, src) 5953 } 5954 func (m *HardwareKey) XXX_Size() int { 5955 return m.Size() 5956 } 5957 func (m *HardwareKey) XXX_DiscardUnknown() { 5958 xxx_messageInfo_HardwareKey.DiscardUnknown(m) 5959 } 5960 5961 var xxx_messageInfo_HardwareKey proto.InternalMessageInfo 5962 5963 type HardwareKeySerialNumberValidation struct { 5964 // Enabled indicates whether hardware key serial number validation is enabled. 5965 Enabled bool `protobuf:"varint,1,opt,name=Enabled,proto3" json:"enabled,omitempty"` 5966 // SerialNumberTraitName is an optional custom user trait name for hardware key 5967 // serial numbers to replace the default: "hardware_key_serial_numbers". 5968 // 5969 // Note: Values for this user trait should be a comma-separated list of serial numbers, 5970 // or a list of comm-separated lists. e.g ["123", "345,678"] 5971 SerialNumberTraitName string `protobuf:"bytes,2,opt,name=SerialNumberTraitName,proto3" json:"serial_number_trait_name,omitempty"` 5972 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5973 XXX_unrecognized []byte `json:"-"` 5974 XXX_sizecache int32 `json:"-"` 5975 } 5976 5977 func (m *HardwareKeySerialNumberValidation) Reset() { *m = HardwareKeySerialNumberValidation{} } 5978 func (m *HardwareKeySerialNumberValidation) String() string { return proto.CompactTextString(m) } 5979 func (*HardwareKeySerialNumberValidation) ProtoMessage() {} 5980 func (*HardwareKeySerialNumberValidation) Descriptor() ([]byte, []int) { 5981 return fileDescriptor_9198ee693835762e, []int{86} 5982 } 5983 func (m *HardwareKeySerialNumberValidation) XXX_Unmarshal(b []byte) error { 5984 return m.Unmarshal(b) 5985 } 5986 func (m *HardwareKeySerialNumberValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5987 if deterministic { 5988 return xxx_messageInfo_HardwareKeySerialNumberValidation.Marshal(b, m, deterministic) 5989 } else { 5990 b = b[:cap(b)] 5991 n, err := m.MarshalToSizedBuffer(b) 5992 if err != nil { 5993 return nil, err 5994 } 5995 return b[:n], nil 5996 } 5997 } 5998 func (m *HardwareKeySerialNumberValidation) XXX_Merge(src proto.Message) { 5999 xxx_messageInfo_HardwareKeySerialNumberValidation.Merge(m, src) 6000 } 6001 func (m *HardwareKeySerialNumberValidation) XXX_Size() int { 6002 return m.Size() 6003 } 6004 func (m *HardwareKeySerialNumberValidation) XXX_DiscardUnknown() { 6005 xxx_messageInfo_HardwareKeySerialNumberValidation.DiscardUnknown(m) 6006 } 6007 6008 var xxx_messageInfo_HardwareKeySerialNumberValidation proto.InternalMessageInfo 6009 6010 // Namespace represents namespace resource specification 6011 type Namespace struct { 6012 // Kind is a resource kind 6013 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 6014 // SubKind is an optional resource sub kind, used in some resources 6015 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 6016 // Version is version 6017 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 6018 // Metadata is resource metadata 6019 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 6020 // Spec is a namespace spec 6021 Spec NamespaceSpec `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 6022 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6023 XXX_unrecognized []byte `json:"-"` 6024 XXX_sizecache int32 `json:"-"` 6025 } 6026 6027 func (m *Namespace) Reset() { *m = Namespace{} } 6028 func (m *Namespace) String() string { return proto.CompactTextString(m) } 6029 func (*Namespace) ProtoMessage() {} 6030 func (*Namespace) Descriptor() ([]byte, []int) { 6031 return fileDescriptor_9198ee693835762e, []int{87} 6032 } 6033 func (m *Namespace) XXX_Unmarshal(b []byte) error { 6034 return m.Unmarshal(b) 6035 } 6036 func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6037 if deterministic { 6038 return xxx_messageInfo_Namespace.Marshal(b, m, deterministic) 6039 } else { 6040 b = b[:cap(b)] 6041 n, err := m.MarshalToSizedBuffer(b) 6042 if err != nil { 6043 return nil, err 6044 } 6045 return b[:n], nil 6046 } 6047 } 6048 func (m *Namespace) XXX_Merge(src proto.Message) { 6049 xxx_messageInfo_Namespace.Merge(m, src) 6050 } 6051 func (m *Namespace) XXX_Size() int { 6052 return m.Size() 6053 } 6054 func (m *Namespace) XXX_DiscardUnknown() { 6055 xxx_messageInfo_Namespace.DiscardUnknown(m) 6056 } 6057 6058 var xxx_messageInfo_Namespace proto.InternalMessageInfo 6059 6060 // NamespaceSpec is a namespace specification 6061 type NamespaceSpec struct { 6062 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6063 XXX_unrecognized []byte `json:"-"` 6064 XXX_sizecache int32 `json:"-"` 6065 } 6066 6067 func (m *NamespaceSpec) Reset() { *m = NamespaceSpec{} } 6068 func (m *NamespaceSpec) String() string { return proto.CompactTextString(m) } 6069 func (*NamespaceSpec) ProtoMessage() {} 6070 func (*NamespaceSpec) Descriptor() ([]byte, []int) { 6071 return fileDescriptor_9198ee693835762e, []int{88} 6072 } 6073 func (m *NamespaceSpec) XXX_Unmarshal(b []byte) error { 6074 return m.Unmarshal(b) 6075 } 6076 func (m *NamespaceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6077 if deterministic { 6078 return xxx_messageInfo_NamespaceSpec.Marshal(b, m, deterministic) 6079 } else { 6080 b = b[:cap(b)] 6081 n, err := m.MarshalToSizedBuffer(b) 6082 if err != nil { 6083 return nil, err 6084 } 6085 return b[:n], nil 6086 } 6087 } 6088 func (m *NamespaceSpec) XXX_Merge(src proto.Message) { 6089 xxx_messageInfo_NamespaceSpec.Merge(m, src) 6090 } 6091 func (m *NamespaceSpec) XXX_Size() int { 6092 return m.Size() 6093 } 6094 func (m *NamespaceSpec) XXX_DiscardUnknown() { 6095 xxx_messageInfo_NamespaceSpec.DiscardUnknown(m) 6096 } 6097 6098 var xxx_messageInfo_NamespaceSpec proto.InternalMessageInfo 6099 6100 type UserTokenV3 struct { 6101 // Kind is a resource kind 6102 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 6103 // SubKind is a resource sub kind, used to define the type of user token. 6104 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 6105 // Version is version 6106 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 6107 // Metadata is resource metadata 6108 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 6109 // Spec is an resource specification 6110 Spec UserTokenSpecV3 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 6111 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6112 XXX_unrecognized []byte `json:"-"` 6113 XXX_sizecache int32 `json:"-"` 6114 } 6115 6116 func (m *UserTokenV3) Reset() { *m = UserTokenV3{} } 6117 func (*UserTokenV3) ProtoMessage() {} 6118 func (*UserTokenV3) Descriptor() ([]byte, []int) { 6119 return fileDescriptor_9198ee693835762e, []int{89} 6120 } 6121 func (m *UserTokenV3) XXX_Unmarshal(b []byte) error { 6122 return m.Unmarshal(b) 6123 } 6124 func (m *UserTokenV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6125 if deterministic { 6126 return xxx_messageInfo_UserTokenV3.Marshal(b, m, deterministic) 6127 } else { 6128 b = b[:cap(b)] 6129 n, err := m.MarshalToSizedBuffer(b) 6130 if err != nil { 6131 return nil, err 6132 } 6133 return b[:n], nil 6134 } 6135 } 6136 func (m *UserTokenV3) XXX_Merge(src proto.Message) { 6137 xxx_messageInfo_UserTokenV3.Merge(m, src) 6138 } 6139 func (m *UserTokenV3) XXX_Size() int { 6140 return m.Size() 6141 } 6142 func (m *UserTokenV3) XXX_DiscardUnknown() { 6143 xxx_messageInfo_UserTokenV3.DiscardUnknown(m) 6144 } 6145 6146 var xxx_messageInfo_UserTokenV3 proto.InternalMessageInfo 6147 6148 type UserTokenSpecV3 struct { 6149 // User is user name associated with this token 6150 User string `protobuf:"bytes,1,opt,name=User,proto3" json:"user"` 6151 // URL is this token URL 6152 URL string `protobuf:"bytes,2,opt,name=URL,proto3" json:"url"` 6153 // Usage is an optional field that provides more information about how this token will be used. 6154 Usage UserTokenUsage `protobuf:"varint,3,opt,name=Usage,proto3,enum=types.UserTokenUsage" json:"usage,omitempty"` 6155 // Created holds information about when the token was created 6156 Created time.Time `protobuf:"bytes,4,opt,name=Created,proto3,stdtime" json:"created,omitempty"` 6157 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6158 XXX_unrecognized []byte `json:"-"` 6159 XXX_sizecache int32 `json:"-"` 6160 } 6161 6162 func (m *UserTokenSpecV3) Reset() { *m = UserTokenSpecV3{} } 6163 func (m *UserTokenSpecV3) String() string { return proto.CompactTextString(m) } 6164 func (*UserTokenSpecV3) ProtoMessage() {} 6165 func (*UserTokenSpecV3) Descriptor() ([]byte, []int) { 6166 return fileDescriptor_9198ee693835762e, []int{90} 6167 } 6168 func (m *UserTokenSpecV3) XXX_Unmarshal(b []byte) error { 6169 return m.Unmarshal(b) 6170 } 6171 func (m *UserTokenSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6172 if deterministic { 6173 return xxx_messageInfo_UserTokenSpecV3.Marshal(b, m, deterministic) 6174 } else { 6175 b = b[:cap(b)] 6176 n, err := m.MarshalToSizedBuffer(b) 6177 if err != nil { 6178 return nil, err 6179 } 6180 return b[:n], nil 6181 } 6182 } 6183 func (m *UserTokenSpecV3) XXX_Merge(src proto.Message) { 6184 xxx_messageInfo_UserTokenSpecV3.Merge(m, src) 6185 } 6186 func (m *UserTokenSpecV3) XXX_Size() int { 6187 return m.Size() 6188 } 6189 func (m *UserTokenSpecV3) XXX_DiscardUnknown() { 6190 xxx_messageInfo_UserTokenSpecV3.DiscardUnknown(m) 6191 } 6192 6193 var xxx_messageInfo_UserTokenSpecV3 proto.InternalMessageInfo 6194 6195 type UserTokenSecretsV3 struct { 6196 // Kind is a resource kind 6197 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 6198 // SubKind is an optional resource sub kind, used in some resources 6199 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 6200 // Version is version 6201 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 6202 // Metadata is resource metadata 6203 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 6204 // Spec is an resource specification 6205 Spec UserTokenSecretsSpecV3 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 6206 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6207 XXX_unrecognized []byte `json:"-"` 6208 XXX_sizecache int32 `json:"-"` 6209 } 6210 6211 func (m *UserTokenSecretsV3) Reset() { *m = UserTokenSecretsV3{} } 6212 func (*UserTokenSecretsV3) ProtoMessage() {} 6213 func (*UserTokenSecretsV3) Descriptor() ([]byte, []int) { 6214 return fileDescriptor_9198ee693835762e, []int{91} 6215 } 6216 func (m *UserTokenSecretsV3) XXX_Unmarshal(b []byte) error { 6217 return m.Unmarshal(b) 6218 } 6219 func (m *UserTokenSecretsV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6220 if deterministic { 6221 return xxx_messageInfo_UserTokenSecretsV3.Marshal(b, m, deterministic) 6222 } else { 6223 b = b[:cap(b)] 6224 n, err := m.MarshalToSizedBuffer(b) 6225 if err != nil { 6226 return nil, err 6227 } 6228 return b[:n], nil 6229 } 6230 } 6231 func (m *UserTokenSecretsV3) XXX_Merge(src proto.Message) { 6232 xxx_messageInfo_UserTokenSecretsV3.Merge(m, src) 6233 } 6234 func (m *UserTokenSecretsV3) XXX_Size() int { 6235 return m.Size() 6236 } 6237 func (m *UserTokenSecretsV3) XXX_DiscardUnknown() { 6238 xxx_messageInfo_UserTokenSecretsV3.DiscardUnknown(m) 6239 } 6240 6241 var xxx_messageInfo_UserTokenSecretsV3 proto.InternalMessageInfo 6242 6243 type UserTokenSecretsSpecV3 struct { 6244 // OTPKey is is a secret value of one time password secret generator 6245 OTPKey string `protobuf:"bytes,1,opt,name=OTPKey,proto3" json:"opt_key"` 6246 // OTPKey is is a secret value of one time password secret generator 6247 QRCode string `protobuf:"bytes,2,opt,name=QRCode,proto3" json:"qr_code,omitempty"` 6248 // Created holds information about when the token was created 6249 Created time.Time `protobuf:"bytes,3,opt,name=Created,proto3,stdtime" json:"created,omitempty"` 6250 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6251 XXX_unrecognized []byte `json:"-"` 6252 XXX_sizecache int32 `json:"-"` 6253 } 6254 6255 func (m *UserTokenSecretsSpecV3) Reset() { *m = UserTokenSecretsSpecV3{} } 6256 func (m *UserTokenSecretsSpecV3) String() string { return proto.CompactTextString(m) } 6257 func (*UserTokenSecretsSpecV3) ProtoMessage() {} 6258 func (*UserTokenSecretsSpecV3) Descriptor() ([]byte, []int) { 6259 return fileDescriptor_9198ee693835762e, []int{92} 6260 } 6261 func (m *UserTokenSecretsSpecV3) XXX_Unmarshal(b []byte) error { 6262 return m.Unmarshal(b) 6263 } 6264 func (m *UserTokenSecretsSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6265 if deterministic { 6266 return xxx_messageInfo_UserTokenSecretsSpecV3.Marshal(b, m, deterministic) 6267 } else { 6268 b = b[:cap(b)] 6269 n, err := m.MarshalToSizedBuffer(b) 6270 if err != nil { 6271 return nil, err 6272 } 6273 return b[:n], nil 6274 } 6275 } 6276 func (m *UserTokenSecretsSpecV3) XXX_Merge(src proto.Message) { 6277 xxx_messageInfo_UserTokenSecretsSpecV3.Merge(m, src) 6278 } 6279 func (m *UserTokenSecretsSpecV3) XXX_Size() int { 6280 return m.Size() 6281 } 6282 func (m *UserTokenSecretsSpecV3) XXX_DiscardUnknown() { 6283 xxx_messageInfo_UserTokenSecretsSpecV3.DiscardUnknown(m) 6284 } 6285 6286 var xxx_messageInfo_UserTokenSecretsSpecV3 proto.InternalMessageInfo 6287 6288 // AccessRequest represents an access request resource specification 6289 type AccessRequestV3 struct { 6290 // Kind is a resource kind 6291 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 6292 // SubKind is an optional resource sub kind, used in some resources 6293 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 6294 // Version is version 6295 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 6296 // Metadata is AccessRequest metadata 6297 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 6298 // Spec is an AccessRequest specification 6299 Spec AccessRequestSpecV3 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 6300 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6301 XXX_unrecognized []byte `json:"-"` 6302 XXX_sizecache int32 `json:"-"` 6303 } 6304 6305 func (m *AccessRequestV3) Reset() { *m = AccessRequestV3{} } 6306 func (*AccessRequestV3) ProtoMessage() {} 6307 func (*AccessRequestV3) Descriptor() ([]byte, []int) { 6308 return fileDescriptor_9198ee693835762e, []int{93} 6309 } 6310 func (m *AccessRequestV3) XXX_Unmarshal(b []byte) error { 6311 return m.Unmarshal(b) 6312 } 6313 func (m *AccessRequestV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6314 if deterministic { 6315 return xxx_messageInfo_AccessRequestV3.Marshal(b, m, deterministic) 6316 } else { 6317 b = b[:cap(b)] 6318 n, err := m.MarshalToSizedBuffer(b) 6319 if err != nil { 6320 return nil, err 6321 } 6322 return b[:n], nil 6323 } 6324 } 6325 func (m *AccessRequestV3) XXX_Merge(src proto.Message) { 6326 xxx_messageInfo_AccessRequestV3.Merge(m, src) 6327 } 6328 func (m *AccessRequestV3) XXX_Size() int { 6329 return m.Size() 6330 } 6331 func (m *AccessRequestV3) XXX_DiscardUnknown() { 6332 xxx_messageInfo_AccessRequestV3.DiscardUnknown(m) 6333 } 6334 6335 var xxx_messageInfo_AccessRequestV3 proto.InternalMessageInfo 6336 6337 // AccessReviewThreshold describes a filter used to match access reviews, 6338 // as well as approval/denial counts which trigger state-transitions. This type 6339 // can be used to describe policies such as "can be approved by 2 admins" 6340 // or "can be denied by any non-contractor". 6341 type AccessReviewThreshold struct { 6342 // Name is the optional human-readable name of the threshold. 6343 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name,omitempty"` 6344 // Filter is an optional predicate used to determine which reviews 6345 // count toward this threshold. 6346 Filter string `protobuf:"bytes,2,opt,name=Filter,proto3" json:"filter,omitempty"` 6347 // Approve is the number of matching approvals needed for state-transition. 6348 Approve uint32 `protobuf:"varint,3,opt,name=Approve,proto3" json:"approve,omitempty"` 6349 // Deny is the number of denials needed for state-transition. 6350 Deny uint32 `protobuf:"varint,4,opt,name=Deny,proto3" json:"deny,omitempty"` 6351 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6352 XXX_unrecognized []byte `json:"-"` 6353 XXX_sizecache int32 `json:"-"` 6354 } 6355 6356 func (m *AccessReviewThreshold) Reset() { *m = AccessReviewThreshold{} } 6357 func (m *AccessReviewThreshold) String() string { return proto.CompactTextString(m) } 6358 func (*AccessReviewThreshold) ProtoMessage() {} 6359 func (*AccessReviewThreshold) Descriptor() ([]byte, []int) { 6360 return fileDescriptor_9198ee693835762e, []int{94} 6361 } 6362 func (m *AccessReviewThreshold) XXX_Unmarshal(b []byte) error { 6363 return m.Unmarshal(b) 6364 } 6365 func (m *AccessReviewThreshold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6366 if deterministic { 6367 return xxx_messageInfo_AccessReviewThreshold.Marshal(b, m, deterministic) 6368 } else { 6369 b = b[:cap(b)] 6370 n, err := m.MarshalToSizedBuffer(b) 6371 if err != nil { 6372 return nil, err 6373 } 6374 return b[:n], nil 6375 } 6376 } 6377 func (m *AccessReviewThreshold) XXX_Merge(src proto.Message) { 6378 xxx_messageInfo_AccessReviewThreshold.Merge(m, src) 6379 } 6380 func (m *AccessReviewThreshold) XXX_Size() int { 6381 return m.Size() 6382 } 6383 func (m *AccessReviewThreshold) XXX_DiscardUnknown() { 6384 xxx_messageInfo_AccessReviewThreshold.DiscardUnknown(m) 6385 } 6386 6387 var xxx_messageInfo_AccessReviewThreshold proto.InternalMessageInfo 6388 6389 // PromotedAccessList is a minimal access list representation used for 6390 // promoting access requests to access lists. 6391 type PromotedAccessList struct { 6392 // Name is the name of the access list. 6393 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 6394 // Title is the title of the access list. 6395 Title string `protobuf:"bytes,2,opt,name=Title,proto3" json:"title"` 6396 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6397 XXX_unrecognized []byte `json:"-"` 6398 XXX_sizecache int32 `json:"-"` 6399 } 6400 6401 func (m *PromotedAccessList) Reset() { *m = PromotedAccessList{} } 6402 func (m *PromotedAccessList) String() string { return proto.CompactTextString(m) } 6403 func (*PromotedAccessList) ProtoMessage() {} 6404 func (*PromotedAccessList) Descriptor() ([]byte, []int) { 6405 return fileDescriptor_9198ee693835762e, []int{95} 6406 } 6407 func (m *PromotedAccessList) XXX_Unmarshal(b []byte) error { 6408 return m.Unmarshal(b) 6409 } 6410 func (m *PromotedAccessList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6411 if deterministic { 6412 return xxx_messageInfo_PromotedAccessList.Marshal(b, m, deterministic) 6413 } else { 6414 b = b[:cap(b)] 6415 n, err := m.MarshalToSizedBuffer(b) 6416 if err != nil { 6417 return nil, err 6418 } 6419 return b[:n], nil 6420 } 6421 } 6422 func (m *PromotedAccessList) XXX_Merge(src proto.Message) { 6423 xxx_messageInfo_PromotedAccessList.Merge(m, src) 6424 } 6425 func (m *PromotedAccessList) XXX_Size() int { 6426 return m.Size() 6427 } 6428 func (m *PromotedAccessList) XXX_DiscardUnknown() { 6429 xxx_messageInfo_PromotedAccessList.DiscardUnknown(m) 6430 } 6431 6432 var xxx_messageInfo_PromotedAccessList proto.InternalMessageInfo 6433 6434 // AccessReview is a review to be applied to an access request. 6435 type AccessReview struct { 6436 // Author is the teleport username of the review author. 6437 Author string `protobuf:"bytes,1,opt,name=Author,proto3" json:"author"` 6438 // Roles is a list used for role-subselection (not yet fully supported). 6439 Roles []string `protobuf:"bytes,2,rep,name=Roles,proto3" json:"roles,omitempty"` 6440 // ProposedState is the proposed state (must be APPROVED or DENIED). 6441 ProposedState RequestState `protobuf:"varint,3,opt,name=ProposedState,proto3,enum=types.RequestState" json:"proposed_state,omitempty"` 6442 // Reason is an optional human-readable reason for why the above state 6443 // is being proposed. 6444 Reason string `protobuf:"bytes,4,opt,name=Reason,proto3" json:"reason,omitempty"` 6445 // Created is the time at which the review was created. 6446 Created time.Time `protobuf:"bytes,5,opt,name=Created,proto3,stdtime" json:"created,omitempty"` 6447 // Annotations is the proposed value of the request's resolve_annotations field. 6448 Annotations github_com_gravitational_teleport_api_types_wrappers.Traits `protobuf:"bytes,6,opt,name=Annotations,proto3,customtype=github.com/gravitational/teleport/api/types/wrappers.Traits" json:"annotations,omitempty"` 6449 // ThresholdIndexes stores the indexes of thresholds which this review matches 6450 // (internal use only). 6451 ThresholdIndexes []uint32 `protobuf:"varint,7,rep,packed,name=ThresholdIndexes,proto3" json:"i,omitempty"` 6452 // AccessList is the access list that this request was promoted to. 6453 // This field is only populated when the request is in the PROMOTED state. 6454 AccessList *PromotedAccessList `protobuf:"bytes,9,opt,name=accessList,proto3" json:"access_list,omitempty"` 6455 // AssumeStartTime is the time the requested roles can be assumed. 6456 AssumeStartTime *time.Time `protobuf:"bytes,10,opt,name=AssumeStartTime,proto3,stdtime" json:"assume_start_time,omitempty"` 6457 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6458 XXX_unrecognized []byte `json:"-"` 6459 XXX_sizecache int32 `json:"-"` 6460 } 6461 6462 func (m *AccessReview) Reset() { *m = AccessReview{} } 6463 func (m *AccessReview) String() string { return proto.CompactTextString(m) } 6464 func (*AccessReview) ProtoMessage() {} 6465 func (*AccessReview) Descriptor() ([]byte, []int) { 6466 return fileDescriptor_9198ee693835762e, []int{96} 6467 } 6468 func (m *AccessReview) XXX_Unmarshal(b []byte) error { 6469 return m.Unmarshal(b) 6470 } 6471 func (m *AccessReview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6472 if deterministic { 6473 return xxx_messageInfo_AccessReview.Marshal(b, m, deterministic) 6474 } else { 6475 b = b[:cap(b)] 6476 n, err := m.MarshalToSizedBuffer(b) 6477 if err != nil { 6478 return nil, err 6479 } 6480 return b[:n], nil 6481 } 6482 } 6483 func (m *AccessReview) XXX_Merge(src proto.Message) { 6484 xxx_messageInfo_AccessReview.Merge(m, src) 6485 } 6486 func (m *AccessReview) XXX_Size() int { 6487 return m.Size() 6488 } 6489 func (m *AccessReview) XXX_DiscardUnknown() { 6490 xxx_messageInfo_AccessReview.DiscardUnknown(m) 6491 } 6492 6493 var xxx_messageInfo_AccessReview proto.InternalMessageInfo 6494 6495 // AccessReviewSubmission encodes the necessary parameters for submitting 6496 // a new access review. 6497 type AccessReviewSubmission struct { 6498 // RequestID is the unique ID of the request to be reviewed. 6499 RequestID string `protobuf:"bytes,1,opt,name=RequestID,proto3" json:"id,omitempty"` 6500 // Review is the review to be applied. 6501 Review AccessReview `protobuf:"bytes,2,opt,name=Review,proto3" json:"review,omitempty"` 6502 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6503 XXX_unrecognized []byte `json:"-"` 6504 XXX_sizecache int32 `json:"-"` 6505 } 6506 6507 func (m *AccessReviewSubmission) Reset() { *m = AccessReviewSubmission{} } 6508 func (m *AccessReviewSubmission) String() string { return proto.CompactTextString(m) } 6509 func (*AccessReviewSubmission) ProtoMessage() {} 6510 func (*AccessReviewSubmission) Descriptor() ([]byte, []int) { 6511 return fileDescriptor_9198ee693835762e, []int{97} 6512 } 6513 func (m *AccessReviewSubmission) XXX_Unmarshal(b []byte) error { 6514 return m.Unmarshal(b) 6515 } 6516 func (m *AccessReviewSubmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6517 if deterministic { 6518 return xxx_messageInfo_AccessReviewSubmission.Marshal(b, m, deterministic) 6519 } else { 6520 b = b[:cap(b)] 6521 n, err := m.MarshalToSizedBuffer(b) 6522 if err != nil { 6523 return nil, err 6524 } 6525 return b[:n], nil 6526 } 6527 } 6528 func (m *AccessReviewSubmission) XXX_Merge(src proto.Message) { 6529 xxx_messageInfo_AccessReviewSubmission.Merge(m, src) 6530 } 6531 func (m *AccessReviewSubmission) XXX_Size() int { 6532 return m.Size() 6533 } 6534 func (m *AccessReviewSubmission) XXX_DiscardUnknown() { 6535 xxx_messageInfo_AccessReviewSubmission.DiscardUnknown(m) 6536 } 6537 6538 var xxx_messageInfo_AccessReviewSubmission proto.InternalMessageInfo 6539 6540 // ThresholdIndexSet encodes a list of threshold indexes. One of the listed thresholds 6541 // must pass for the set to be considered to have passed (i.e. this is an `or` operator). 6542 type ThresholdIndexSet struct { 6543 // Indexes are the indexes of thresholds which relate to the role. 6544 Indexes []uint32 `protobuf:"varint,1,rep,packed,name=Indexes,proto3" json:"i,omitempty"` 6545 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6546 XXX_unrecognized []byte `json:"-"` 6547 XXX_sizecache int32 `json:"-"` 6548 } 6549 6550 func (m *ThresholdIndexSet) Reset() { *m = ThresholdIndexSet{} } 6551 func (m *ThresholdIndexSet) String() string { return proto.CompactTextString(m) } 6552 func (*ThresholdIndexSet) ProtoMessage() {} 6553 func (*ThresholdIndexSet) Descriptor() ([]byte, []int) { 6554 return fileDescriptor_9198ee693835762e, []int{98} 6555 } 6556 func (m *ThresholdIndexSet) XXX_Unmarshal(b []byte) error { 6557 return m.Unmarshal(b) 6558 } 6559 func (m *ThresholdIndexSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6560 if deterministic { 6561 return xxx_messageInfo_ThresholdIndexSet.Marshal(b, m, deterministic) 6562 } else { 6563 b = b[:cap(b)] 6564 n, err := m.MarshalToSizedBuffer(b) 6565 if err != nil { 6566 return nil, err 6567 } 6568 return b[:n], nil 6569 } 6570 } 6571 func (m *ThresholdIndexSet) XXX_Merge(src proto.Message) { 6572 xxx_messageInfo_ThresholdIndexSet.Merge(m, src) 6573 } 6574 func (m *ThresholdIndexSet) XXX_Size() int { 6575 return m.Size() 6576 } 6577 func (m *ThresholdIndexSet) XXX_DiscardUnknown() { 6578 xxx_messageInfo_ThresholdIndexSet.DiscardUnknown(m) 6579 } 6580 6581 var xxx_messageInfo_ThresholdIndexSet proto.InternalMessageInfo 6582 6583 // ThresholdIndexSets is a list of threshold index sets. Each of the individual 6584 // sets must pass (i.e. this is an `and` operator). 6585 type ThresholdIndexSets struct { 6586 // Sets are the sets that make up this group. 6587 Sets []ThresholdIndexSet `protobuf:"bytes,1,rep,name=Sets,proto3" json:"s,omitempty"` 6588 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6589 XXX_unrecognized []byte `json:"-"` 6590 XXX_sizecache int32 `json:"-"` 6591 } 6592 6593 func (m *ThresholdIndexSets) Reset() { *m = ThresholdIndexSets{} } 6594 func (m *ThresholdIndexSets) String() string { return proto.CompactTextString(m) } 6595 func (*ThresholdIndexSets) ProtoMessage() {} 6596 func (*ThresholdIndexSets) Descriptor() ([]byte, []int) { 6597 return fileDescriptor_9198ee693835762e, []int{99} 6598 } 6599 func (m *ThresholdIndexSets) XXX_Unmarshal(b []byte) error { 6600 return m.Unmarshal(b) 6601 } 6602 func (m *ThresholdIndexSets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6603 if deterministic { 6604 return xxx_messageInfo_ThresholdIndexSets.Marshal(b, m, deterministic) 6605 } else { 6606 b = b[:cap(b)] 6607 n, err := m.MarshalToSizedBuffer(b) 6608 if err != nil { 6609 return nil, err 6610 } 6611 return b[:n], nil 6612 } 6613 } 6614 func (m *ThresholdIndexSets) XXX_Merge(src proto.Message) { 6615 xxx_messageInfo_ThresholdIndexSets.Merge(m, src) 6616 } 6617 func (m *ThresholdIndexSets) XXX_Size() int { 6618 return m.Size() 6619 } 6620 func (m *ThresholdIndexSets) XXX_DiscardUnknown() { 6621 xxx_messageInfo_ThresholdIndexSets.DiscardUnknown(m) 6622 } 6623 6624 var xxx_messageInfo_ThresholdIndexSets proto.InternalMessageInfo 6625 6626 // AccessRequestSpec is the specification for AccessRequest 6627 type AccessRequestSpecV3 struct { 6628 // User is the name of the user to whom the roles will be applied. 6629 User string `protobuf:"bytes,1,opt,name=User,proto3" json:"user"` 6630 // Roles is the name of the roles being requested. 6631 Roles []string `protobuf:"bytes,2,rep,name=Roles,proto3" json:"roles"` 6632 // State is the current state of this access request. 6633 State RequestState `protobuf:"varint,3,opt,name=State,proto3,enum=types.RequestState" json:"state,omitempty"` 6634 // Created encodes the time at which the request was registered with the auth 6635 // server. 6636 Created time.Time `protobuf:"bytes,4,opt,name=Created,proto3,stdtime" json:"created,omitempty"` 6637 // Expires constrains the maximum lifetime of any login session for which this 6638 // request is active. 6639 Expires time.Time `protobuf:"bytes,5,opt,name=Expires,proto3,stdtime" json:"expires,omitempty"` 6640 // RequestReason is an optional message explaining the reason for the request. 6641 RequestReason string `protobuf:"bytes,6,opt,name=RequestReason,proto3" json:"request_reason,omitempty"` 6642 // ResolveReason is an optional message explaining the reason for the resolution 6643 // of the request (approval, denial, etc...). 6644 ResolveReason string `protobuf:"bytes,7,opt,name=ResolveReason,proto3" json:"resolve_reason,omitempty"` 6645 // ResolveAnnotations is a set of arbitrary values received from plugins or other 6646 // resolving parties during approval/denial. Importantly, these annotations are 6647 // included in the access_request.update event, allowing plugins to propagate 6648 // arbitrary structured data to the audit log. 6649 ResolveAnnotations github_com_gravitational_teleport_api_types_wrappers.Traits `protobuf:"bytes,8,opt,name=ResolveAnnotations,proto3,customtype=github.com/gravitational/teleport/api/types/wrappers.Traits" json:"resolve_annotations,omitempty"` 6650 // SystemAnnotations is a set of programmatically generated annotations attached 6651 // to pending access requests by teleport. These annotations are generated by 6652 // applying variable interpolation to the RoleConditions.Request.Annotations block 6653 // of a user's role(s). These annotations serve as a mechanism for administrators 6654 // to pass extra information to plugins when they process pending access requests. 6655 SystemAnnotations github_com_gravitational_teleport_api_types_wrappers.Traits `protobuf:"bytes,9,opt,name=SystemAnnotations,proto3,customtype=github.com/gravitational/teleport/api/types/wrappers.Traits" json:"system_annotations,omitempty"` 6656 // Thresholds is a list of review thresholds relevant to this request. Order must be 6657 // preserved, as thresholds are referenced by index (internal use only). 6658 Thresholds []AccessReviewThreshold `protobuf:"bytes,10,rep,name=Thresholds,proto3" json:"thresholds,omitempty"` 6659 // RoleThresholdMapping encodes the relationship between the requested roles and 6660 // the review threshold requirements for the given role (internal use only). 6661 // By storing a representation of which thresholds must pass for each requested role, we 6662 // both eliminate the need to cache the requestor's roles directly, and allow future 6663 // versions of teleport to become smarter about calculating more granular requirements 6664 // in a backwards-compatible manner (i.e. calculation can become smarter in minor releases). 6665 // Storing this relationship on the request is necessary in order to avoid unexpected or 6666 // inconsistent behavior due to review submission timing. 6667 RoleThresholdMapping map[string]ThresholdIndexSets `protobuf:"bytes,11,rep,name=RoleThresholdMapping,proto3" json:"rtm,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 6668 // Reviews is a list of reviews applied to this request (internal use only). 6669 Reviews []AccessReview `protobuf:"bytes,12,rep,name=Reviews,proto3" json:"reviews,omitempty"` 6670 // SuggestedReviewers is a list of reviewer suggestions. These can be teleport usernames, but 6671 // that is not a requirement. 6672 SuggestedReviewers []string `protobuf:"bytes,13,rep,name=SuggestedReviewers,proto3" json:"suggested_reviewers,omitempty"` 6673 // RequestedResourceIDs is a set of resources to which access is being requested. 6674 RequestedResourceIDs []ResourceID `protobuf:"bytes,14,rep,name=RequestedResourceIDs,proto3" json:"resource_ids,omitempty"` 6675 // LoginHint is used as a hint for search-based access requests to select 6676 // roles based on the login the user is attempting. 6677 LoginHint string `protobuf:"bytes,15,opt,name=LoginHint,proto3" json:"login_hint,omitempty"` 6678 // DryRun indicates that the request should not actually be created, the 6679 // auth server should only validate the access request. 6680 DryRun bool `protobuf:"varint,16,opt,name=DryRun,proto3" json:"dry_run,omitempty"` 6681 // MaxDuration indicates how long the access should be granted for. 6682 MaxDuration time.Time `protobuf:"bytes,17,opt,name=MaxDuration,proto3,stdtime" json:"max_duration,omitempty"` 6683 // SessionTLL indicated how long a certificate for a session should be valid for. 6684 SessionTTL time.Time `protobuf:"bytes,18,opt,name=SessionTTL,proto3,stdtime" json:"session_ttl,omitempty"` 6685 // PromotedAccessListTitle is the title of the access list that this request 6686 // was promoted to. Used by WebUI to display the title of the access list. 6687 // This field is only populated when the request is in the PROMOTED state. 6688 AccessList *PromotedAccessList `protobuf:"bytes,20,opt,name=accessList,proto3" json:"access_list,omitempty"` 6689 // AssumeStartTime is the time the requested roles can be assumed. 6690 AssumeStartTime *time.Time `protobuf:"bytes,21,opt,name=AssumeStartTime,proto3,stdtime" json:"assume_start_time,omitempty"` 6691 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6692 XXX_unrecognized []byte `json:"-"` 6693 XXX_sizecache int32 `json:"-"` 6694 } 6695 6696 func (m *AccessRequestSpecV3) Reset() { *m = AccessRequestSpecV3{} } 6697 func (m *AccessRequestSpecV3) String() string { return proto.CompactTextString(m) } 6698 func (*AccessRequestSpecV3) ProtoMessage() {} 6699 func (*AccessRequestSpecV3) Descriptor() ([]byte, []int) { 6700 return fileDescriptor_9198ee693835762e, []int{100} 6701 } 6702 func (m *AccessRequestSpecV3) XXX_Unmarshal(b []byte) error { 6703 return m.Unmarshal(b) 6704 } 6705 func (m *AccessRequestSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6706 if deterministic { 6707 return xxx_messageInfo_AccessRequestSpecV3.Marshal(b, m, deterministic) 6708 } else { 6709 b = b[:cap(b)] 6710 n, err := m.MarshalToSizedBuffer(b) 6711 if err != nil { 6712 return nil, err 6713 } 6714 return b[:n], nil 6715 } 6716 } 6717 func (m *AccessRequestSpecV3) XXX_Merge(src proto.Message) { 6718 xxx_messageInfo_AccessRequestSpecV3.Merge(m, src) 6719 } 6720 func (m *AccessRequestSpecV3) XXX_Size() int { 6721 return m.Size() 6722 } 6723 func (m *AccessRequestSpecV3) XXX_DiscardUnknown() { 6724 xxx_messageInfo_AccessRequestSpecV3.DiscardUnknown(m) 6725 } 6726 6727 var xxx_messageInfo_AccessRequestSpecV3 proto.InternalMessageInfo 6728 6729 // AccessRequestFilter encodes filter params for access requests. 6730 type AccessRequestFilter struct { 6731 // ID specifies a request ID if set. 6732 ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"id,omitempty"` 6733 // User specifies a username if set. 6734 User string `protobuf:"bytes,2,opt,name=User,proto3" json:"user,omitempty"` 6735 // RequestState filters for requests in a specific state. 6736 State RequestState `protobuf:"varint,3,opt,name=State,proto3,enum=types.RequestState" json:"state,omitempty"` 6737 // SearchKeywords is a list of search keywords to match against resource field values. 6738 // The matcher goes through select field values from a resource 6739 // and tries to match against the list of search values, ignoring case and order. 6740 // Returns true if all search vals were matched (or if nil search vals). 6741 // Returns false if no or partial match (or nil field values). 6742 SearchKeywords []string `protobuf:"bytes,4,rep,name=SearchKeywords,proto3" json:"search,omitempty"` 6743 // Scope is an aditional filter to view requests based on needs review, reviewed, my requests 6744 Scope AccessRequestScope `protobuf:"varint,5,opt,name=Scope,proto3,enum=types.AccessRequestScope" json:"scope,omitempty"` 6745 // Requester is the requester of the api call. This is set by the auth server 6746 // Use User for the requester of the request. 6747 Requester string `protobuf:"bytes,6,opt,name=Requester,proto3" json:"requester,omitempty"` 6748 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6749 XXX_unrecognized []byte `json:"-"` 6750 XXX_sizecache int32 `json:"-"` 6751 } 6752 6753 func (m *AccessRequestFilter) Reset() { *m = AccessRequestFilter{} } 6754 func (m *AccessRequestFilter) String() string { return proto.CompactTextString(m) } 6755 func (*AccessRequestFilter) ProtoMessage() {} 6756 func (*AccessRequestFilter) Descriptor() ([]byte, []int) { 6757 return fileDescriptor_9198ee693835762e, []int{101} 6758 } 6759 func (m *AccessRequestFilter) XXX_Unmarshal(b []byte) error { 6760 return m.Unmarshal(b) 6761 } 6762 func (m *AccessRequestFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6763 if deterministic { 6764 return xxx_messageInfo_AccessRequestFilter.Marshal(b, m, deterministic) 6765 } else { 6766 b = b[:cap(b)] 6767 n, err := m.MarshalToSizedBuffer(b) 6768 if err != nil { 6769 return nil, err 6770 } 6771 return b[:n], nil 6772 } 6773 } 6774 func (m *AccessRequestFilter) XXX_Merge(src proto.Message) { 6775 xxx_messageInfo_AccessRequestFilter.Merge(m, src) 6776 } 6777 func (m *AccessRequestFilter) XXX_Size() int { 6778 return m.Size() 6779 } 6780 func (m *AccessRequestFilter) XXX_DiscardUnknown() { 6781 xxx_messageInfo_AccessRequestFilter.DiscardUnknown(m) 6782 } 6783 6784 var xxx_messageInfo_AccessRequestFilter proto.InternalMessageInfo 6785 6786 // AccessCapabilities is a summary of capabilities that a user 6787 // is granted via their dynamic access privileges which may not be 6788 // calculable by directly examining the user's own static roles. 6789 type AccessCapabilities struct { 6790 // RequestableRoles is a list of existent roles which the user is allowed to request. 6791 RequestableRoles []string `protobuf:"bytes,1,rep,name=RequestableRoles,proto3" json:"requestable_roles,omitempty"` 6792 // SuggestedReviewers is a list of all reviewers which are suggested by the user's roles. 6793 SuggestedReviewers []string `protobuf:"bytes,2,rep,name=SuggestedReviewers,proto3" json:"suggested_reviewers,omitempty"` 6794 // ApplicableRolesForResources is a list of the roles applicable for access to a given set of resources. 6795 ApplicableRolesForResources []string `protobuf:"bytes,3,rep,name=ApplicableRolesForResources,proto3" json:"applicable_roles,omitempty"` 6796 // RequestPrompt is an optional message which tells users what they aught to request. 6797 RequestPrompt string `protobuf:"bytes,4,opt,name=RequestPrompt,proto3" json:"request_prompt,omitempty"` 6798 // RequireReason indicates whether the request strategy is one that requires 6799 // users to always supply reasons with their requests. 6800 RequireReason bool `protobuf:"varint,5,opt,name=RequireReason,proto3" json:"require_reason,omitempty"` 6801 // AutoRequest indicates whether the request strategy indicates that a 6802 // request should be automatically generated on login. 6803 AutoRequest bool `protobuf:"varint,6,opt,name=AutoRequest,proto3" json:"auto_request,omitempty"` 6804 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6805 XXX_unrecognized []byte `json:"-"` 6806 XXX_sizecache int32 `json:"-"` 6807 } 6808 6809 func (m *AccessCapabilities) Reset() { *m = AccessCapabilities{} } 6810 func (m *AccessCapabilities) String() string { return proto.CompactTextString(m) } 6811 func (*AccessCapabilities) ProtoMessage() {} 6812 func (*AccessCapabilities) Descriptor() ([]byte, []int) { 6813 return fileDescriptor_9198ee693835762e, []int{102} 6814 } 6815 func (m *AccessCapabilities) XXX_Unmarshal(b []byte) error { 6816 return m.Unmarshal(b) 6817 } 6818 func (m *AccessCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6819 if deterministic { 6820 return xxx_messageInfo_AccessCapabilities.Marshal(b, m, deterministic) 6821 } else { 6822 b = b[:cap(b)] 6823 n, err := m.MarshalToSizedBuffer(b) 6824 if err != nil { 6825 return nil, err 6826 } 6827 return b[:n], nil 6828 } 6829 } 6830 func (m *AccessCapabilities) XXX_Merge(src proto.Message) { 6831 xxx_messageInfo_AccessCapabilities.Merge(m, src) 6832 } 6833 func (m *AccessCapabilities) XXX_Size() int { 6834 return m.Size() 6835 } 6836 func (m *AccessCapabilities) XXX_DiscardUnknown() { 6837 xxx_messageInfo_AccessCapabilities.DiscardUnknown(m) 6838 } 6839 6840 var xxx_messageInfo_AccessCapabilities proto.InternalMessageInfo 6841 6842 // AccessCapabilitiesRequest encodes parameters for the GetAccessCapabilities method. 6843 type AccessCapabilitiesRequest struct { 6844 // User is the name of the user whose capabilities we are interested in (defaults to 6845 // the caller's own username). 6846 User string `protobuf:"bytes,1,opt,name=User,proto3" json:"user,omitempty"` 6847 // RequestableRoles is a flag indicating that we would like to view the list of roles 6848 // that the user is able to request. 6849 RequestableRoles bool `protobuf:"varint,2,opt,name=RequestableRoles,proto3" json:"requestable_roles,omitempty"` 6850 // SuggestedReviewers is a flag indicating that we would like to view the list of all 6851 // reviewers which are suggested by the user's roles. 6852 SuggestedReviewers bool `protobuf:"varint,3,opt,name=SuggestedReviewers,proto3" json:"suggested_reviewers,omitempty"` 6853 // ResourceIDs is the list of the ResourceIDs of the resources we would like to view 6854 // the necessary roles for. 6855 ResourceIDs []ResourceID `protobuf:"bytes,4,rep,name=ResourceIDs,proto3" json:"resource_ids,omitempty"` 6856 // Login is the host login the user is requesting access for. 6857 Login string `protobuf:"bytes,5,opt,name=Login,proto3" json:"login,omitempty"` 6858 // FilterRequestableRolesByResource is a flag indicating that the returned 6859 // list of roles that the user can request should be filtered to only include 6860 // roles that allow access to the provided ResourceIDs. 6861 FilterRequestableRolesByResource bool `protobuf:"varint,6,opt,name=FilterRequestableRolesByResource,proto3" json:"filter_requestable_roles_by_resource,omitempty"` 6862 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6863 XXX_unrecognized []byte `json:"-"` 6864 XXX_sizecache int32 `json:"-"` 6865 } 6866 6867 func (m *AccessCapabilitiesRequest) Reset() { *m = AccessCapabilitiesRequest{} } 6868 func (m *AccessCapabilitiesRequest) String() string { return proto.CompactTextString(m) } 6869 func (*AccessCapabilitiesRequest) ProtoMessage() {} 6870 func (*AccessCapabilitiesRequest) Descriptor() ([]byte, []int) { 6871 return fileDescriptor_9198ee693835762e, []int{103} 6872 } 6873 func (m *AccessCapabilitiesRequest) XXX_Unmarshal(b []byte) error { 6874 return m.Unmarshal(b) 6875 } 6876 func (m *AccessCapabilitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6877 if deterministic { 6878 return xxx_messageInfo_AccessCapabilitiesRequest.Marshal(b, m, deterministic) 6879 } else { 6880 b = b[:cap(b)] 6881 n, err := m.MarshalToSizedBuffer(b) 6882 if err != nil { 6883 return nil, err 6884 } 6885 return b[:n], nil 6886 } 6887 } 6888 func (m *AccessCapabilitiesRequest) XXX_Merge(src proto.Message) { 6889 xxx_messageInfo_AccessCapabilitiesRequest.Merge(m, src) 6890 } 6891 func (m *AccessCapabilitiesRequest) XXX_Size() int { 6892 return m.Size() 6893 } 6894 func (m *AccessCapabilitiesRequest) XXX_DiscardUnknown() { 6895 xxx_messageInfo_AccessCapabilitiesRequest.DiscardUnknown(m) 6896 } 6897 6898 var xxx_messageInfo_AccessCapabilitiesRequest proto.InternalMessageInfo 6899 6900 // ResourceID is a unique identifier for a teleport resource. 6901 type ResourceID struct { 6902 // ClusterName is the name of the cluster the resource is in. 6903 ClusterName string `protobuf:"bytes,1,opt,name=ClusterName,proto3" json:"cluster"` 6904 // Kind is the resource kind. 6905 Kind string `protobuf:"bytes,2,opt,name=Kind,proto3" json:"kind"` 6906 // Name is the name of the specific resource. 6907 Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"name"` 6908 // SubResourceName is the resource belonging to resource identified by "Name" 6909 // that the user is allowed to access to. 6910 // When granting access to a subresource, access to other resources is limited. 6911 // Currently it just supports resources of Kind=pod and the format is the following 6912 // "<kube_namespace>/<kube_pod>". 6913 SubResourceName string `protobuf:"bytes,4,opt,name=SubResourceName,proto3" json:"sub_resource,omitempty"` 6914 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6915 XXX_unrecognized []byte `json:"-"` 6916 XXX_sizecache int32 `json:"-"` 6917 } 6918 6919 func (m *ResourceID) Reset() { *m = ResourceID{} } 6920 func (m *ResourceID) String() string { return proto.CompactTextString(m) } 6921 func (*ResourceID) ProtoMessage() {} 6922 func (*ResourceID) Descriptor() ([]byte, []int) { 6923 return fileDescriptor_9198ee693835762e, []int{104} 6924 } 6925 func (m *ResourceID) XXX_Unmarshal(b []byte) error { 6926 return m.Unmarshal(b) 6927 } 6928 func (m *ResourceID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6929 if deterministic { 6930 return xxx_messageInfo_ResourceID.Marshal(b, m, deterministic) 6931 } else { 6932 b = b[:cap(b)] 6933 n, err := m.MarshalToSizedBuffer(b) 6934 if err != nil { 6935 return nil, err 6936 } 6937 return b[:n], nil 6938 } 6939 } 6940 func (m *ResourceID) XXX_Merge(src proto.Message) { 6941 xxx_messageInfo_ResourceID.Merge(m, src) 6942 } 6943 func (m *ResourceID) XXX_Size() int { 6944 return m.Size() 6945 } 6946 func (m *ResourceID) XXX_DiscardUnknown() { 6947 xxx_messageInfo_ResourceID.DiscardUnknown(m) 6948 } 6949 6950 var xxx_messageInfo_ResourceID proto.InternalMessageInfo 6951 6952 // PluginData stores a collection of values associated with a specific resource. 6953 type PluginDataV3 struct { 6954 // Kind is a resource kind 6955 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 6956 // SubKind is an optional resource sub kind, used in some resources 6957 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 6958 // Version is version 6959 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 6960 // Metadata is PluginData metadata 6961 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 6962 // Spec is a PluginData specification 6963 Spec PluginDataSpecV3 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 6964 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6965 XXX_unrecognized []byte `json:"-"` 6966 XXX_sizecache int32 `json:"-"` 6967 } 6968 6969 func (m *PluginDataV3) Reset() { *m = PluginDataV3{} } 6970 func (*PluginDataV3) ProtoMessage() {} 6971 func (*PluginDataV3) Descriptor() ([]byte, []int) { 6972 return fileDescriptor_9198ee693835762e, []int{105} 6973 } 6974 func (m *PluginDataV3) XXX_Unmarshal(b []byte) error { 6975 return m.Unmarshal(b) 6976 } 6977 func (m *PluginDataV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6978 if deterministic { 6979 return xxx_messageInfo_PluginDataV3.Marshal(b, m, deterministic) 6980 } else { 6981 b = b[:cap(b)] 6982 n, err := m.MarshalToSizedBuffer(b) 6983 if err != nil { 6984 return nil, err 6985 } 6986 return b[:n], nil 6987 } 6988 } 6989 func (m *PluginDataV3) XXX_Merge(src proto.Message) { 6990 xxx_messageInfo_PluginDataV3.Merge(m, src) 6991 } 6992 func (m *PluginDataV3) XXX_Size() int { 6993 return m.Size() 6994 } 6995 func (m *PluginDataV3) XXX_DiscardUnknown() { 6996 xxx_messageInfo_PluginDataV3.DiscardUnknown(m) 6997 } 6998 6999 var xxx_messageInfo_PluginDataV3 proto.InternalMessageInfo 7000 7001 // PluginDataEntry wraps a mapping of arbitrary string values used by 7002 // plugins to store per-resource information. 7003 type PluginDataEntry struct { 7004 // Data is a mapping of arbitrary string values. 7005 Data map[string]string `protobuf:"bytes,1,rep,name=Data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 7006 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7007 XXX_unrecognized []byte `json:"-"` 7008 XXX_sizecache int32 `json:"-"` 7009 } 7010 7011 func (m *PluginDataEntry) Reset() { *m = PluginDataEntry{} } 7012 func (m *PluginDataEntry) String() string { return proto.CompactTextString(m) } 7013 func (*PluginDataEntry) ProtoMessage() {} 7014 func (*PluginDataEntry) Descriptor() ([]byte, []int) { 7015 return fileDescriptor_9198ee693835762e, []int{106} 7016 } 7017 func (m *PluginDataEntry) XXX_Unmarshal(b []byte) error { 7018 return m.Unmarshal(b) 7019 } 7020 func (m *PluginDataEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7021 if deterministic { 7022 return xxx_messageInfo_PluginDataEntry.Marshal(b, m, deterministic) 7023 } else { 7024 b = b[:cap(b)] 7025 n, err := m.MarshalToSizedBuffer(b) 7026 if err != nil { 7027 return nil, err 7028 } 7029 return b[:n], nil 7030 } 7031 } 7032 func (m *PluginDataEntry) XXX_Merge(src proto.Message) { 7033 xxx_messageInfo_PluginDataEntry.Merge(m, src) 7034 } 7035 func (m *PluginDataEntry) XXX_Size() int { 7036 return m.Size() 7037 } 7038 func (m *PluginDataEntry) XXX_DiscardUnknown() { 7039 xxx_messageInfo_PluginDataEntry.DiscardUnknown(m) 7040 } 7041 7042 var xxx_messageInfo_PluginDataEntry proto.InternalMessageInfo 7043 7044 // PluginData stores a collection of values associated with a specific resource. 7045 type PluginDataSpecV3 struct { 7046 // Entries is a collection of PluginData values organized by plugin name. 7047 Entries map[string]*PluginDataEntry `protobuf:"bytes,1,rep,name=Entries,proto3" json:"entries" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 7048 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7049 XXX_unrecognized []byte `json:"-"` 7050 XXX_sizecache int32 `json:"-"` 7051 } 7052 7053 func (m *PluginDataSpecV3) Reset() { *m = PluginDataSpecV3{} } 7054 func (m *PluginDataSpecV3) String() string { return proto.CompactTextString(m) } 7055 func (*PluginDataSpecV3) ProtoMessage() {} 7056 func (*PluginDataSpecV3) Descriptor() ([]byte, []int) { 7057 return fileDescriptor_9198ee693835762e, []int{107} 7058 } 7059 func (m *PluginDataSpecV3) XXX_Unmarshal(b []byte) error { 7060 return m.Unmarshal(b) 7061 } 7062 func (m *PluginDataSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7063 if deterministic { 7064 return xxx_messageInfo_PluginDataSpecV3.Marshal(b, m, deterministic) 7065 } else { 7066 b = b[:cap(b)] 7067 n, err := m.MarshalToSizedBuffer(b) 7068 if err != nil { 7069 return nil, err 7070 } 7071 return b[:n], nil 7072 } 7073 } 7074 func (m *PluginDataSpecV3) XXX_Merge(src proto.Message) { 7075 xxx_messageInfo_PluginDataSpecV3.Merge(m, src) 7076 } 7077 func (m *PluginDataSpecV3) XXX_Size() int { 7078 return m.Size() 7079 } 7080 func (m *PluginDataSpecV3) XXX_DiscardUnknown() { 7081 xxx_messageInfo_PluginDataSpecV3.DiscardUnknown(m) 7082 } 7083 7084 var xxx_messageInfo_PluginDataSpecV3 proto.InternalMessageInfo 7085 7086 // PluginDataFilter encodes filter params for plugin data. 7087 type PluginDataFilter struct { 7088 // Kind is the kind of resource that the target plugin data 7089 // is associated with. 7090 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind,omitempty"` 7091 // Resource matches a specific resource name if set. 7092 Resource string `protobuf:"bytes,2,opt,name=Resource,proto3" json:"resource,omitempty"` 7093 // Plugin matches a specific plugin name if set. 7094 Plugin string `protobuf:"bytes,3,opt,name=Plugin,proto3" json:"plugin,omitempty"` 7095 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7096 XXX_unrecognized []byte `json:"-"` 7097 XXX_sizecache int32 `json:"-"` 7098 } 7099 7100 func (m *PluginDataFilter) Reset() { *m = PluginDataFilter{} } 7101 func (m *PluginDataFilter) String() string { return proto.CompactTextString(m) } 7102 func (*PluginDataFilter) ProtoMessage() {} 7103 func (*PluginDataFilter) Descriptor() ([]byte, []int) { 7104 return fileDescriptor_9198ee693835762e, []int{108} 7105 } 7106 func (m *PluginDataFilter) XXX_Unmarshal(b []byte) error { 7107 return m.Unmarshal(b) 7108 } 7109 func (m *PluginDataFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7110 if deterministic { 7111 return xxx_messageInfo_PluginDataFilter.Marshal(b, m, deterministic) 7112 } else { 7113 b = b[:cap(b)] 7114 n, err := m.MarshalToSizedBuffer(b) 7115 if err != nil { 7116 return nil, err 7117 } 7118 return b[:n], nil 7119 } 7120 } 7121 func (m *PluginDataFilter) XXX_Merge(src proto.Message) { 7122 xxx_messageInfo_PluginDataFilter.Merge(m, src) 7123 } 7124 func (m *PluginDataFilter) XXX_Size() int { 7125 return m.Size() 7126 } 7127 func (m *PluginDataFilter) XXX_DiscardUnknown() { 7128 xxx_messageInfo_PluginDataFilter.DiscardUnknown(m) 7129 } 7130 7131 var xxx_messageInfo_PluginDataFilter proto.InternalMessageInfo 7132 7133 // PluginDataUpdateParams encodes parameters for updating a PluginData field. 7134 type PluginDataUpdateParams struct { 7135 // Kind is the kind of resource that the target plugin data 7136 // is associated with. 7137 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 7138 // Resource indicates the name of the target resource. 7139 Resource string `protobuf:"bytes,2,opt,name=Resource,proto3" json:"resource"` 7140 // Plugin is the name of the plugin that owns the data. 7141 Plugin string `protobuf:"bytes,3,opt,name=Plugin,proto3" json:"plugin"` 7142 // Set indicates the fields which should be set by this operation. 7143 Set map[string]string `protobuf:"bytes,4,rep,name=Set,proto3" json:"set,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 7144 // Expect optionally indicates the expected state of fields prior to this update. 7145 Expect map[string]string `protobuf:"bytes,5,rep,name=Expect,proto3" json:"expect,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 7146 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7147 XXX_unrecognized []byte `json:"-"` 7148 XXX_sizecache int32 `json:"-"` 7149 } 7150 7151 func (m *PluginDataUpdateParams) Reset() { *m = PluginDataUpdateParams{} } 7152 func (m *PluginDataUpdateParams) String() string { return proto.CompactTextString(m) } 7153 func (*PluginDataUpdateParams) ProtoMessage() {} 7154 func (*PluginDataUpdateParams) Descriptor() ([]byte, []int) { 7155 return fileDescriptor_9198ee693835762e, []int{109} 7156 } 7157 func (m *PluginDataUpdateParams) XXX_Unmarshal(b []byte) error { 7158 return m.Unmarshal(b) 7159 } 7160 func (m *PluginDataUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7161 if deterministic { 7162 return xxx_messageInfo_PluginDataUpdateParams.Marshal(b, m, deterministic) 7163 } else { 7164 b = b[:cap(b)] 7165 n, err := m.MarshalToSizedBuffer(b) 7166 if err != nil { 7167 return nil, err 7168 } 7169 return b[:n], nil 7170 } 7171 } 7172 func (m *PluginDataUpdateParams) XXX_Merge(src proto.Message) { 7173 xxx_messageInfo_PluginDataUpdateParams.Merge(m, src) 7174 } 7175 func (m *PluginDataUpdateParams) XXX_Size() int { 7176 return m.Size() 7177 } 7178 func (m *PluginDataUpdateParams) XXX_DiscardUnknown() { 7179 xxx_messageInfo_PluginDataUpdateParams.DiscardUnknown(m) 7180 } 7181 7182 var xxx_messageInfo_PluginDataUpdateParams proto.InternalMessageInfo 7183 7184 // RoleFilter matches role resources. 7185 type RoleFilter struct { 7186 // SearchKeywords is a list of search keywords to match against resource field values. 7187 SearchKeywords []string `protobuf:"bytes,1,rep,name=SearchKeywords,proto3" json:"search_keywords,omitempty"` 7188 // SkipSystemRoles filters out teleport system roles from the results. 7189 SkipSystemRoles bool `protobuf:"varint,2,opt,name=SkipSystemRoles,proto3" json:"skip_system_roles,omitempty"` 7190 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7191 XXX_unrecognized []byte `json:"-"` 7192 XXX_sizecache int32 `json:"-"` 7193 } 7194 7195 func (m *RoleFilter) Reset() { *m = RoleFilter{} } 7196 func (m *RoleFilter) String() string { return proto.CompactTextString(m) } 7197 func (*RoleFilter) ProtoMessage() {} 7198 func (*RoleFilter) Descriptor() ([]byte, []int) { 7199 return fileDescriptor_9198ee693835762e, []int{110} 7200 } 7201 func (m *RoleFilter) XXX_Unmarshal(b []byte) error { 7202 return m.Unmarshal(b) 7203 } 7204 func (m *RoleFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7205 if deterministic { 7206 return xxx_messageInfo_RoleFilter.Marshal(b, m, deterministic) 7207 } else { 7208 b = b[:cap(b)] 7209 n, err := m.MarshalToSizedBuffer(b) 7210 if err != nil { 7211 return nil, err 7212 } 7213 return b[:n], nil 7214 } 7215 } 7216 func (m *RoleFilter) XXX_Merge(src proto.Message) { 7217 xxx_messageInfo_RoleFilter.Merge(m, src) 7218 } 7219 func (m *RoleFilter) XXX_Size() int { 7220 return m.Size() 7221 } 7222 func (m *RoleFilter) XXX_DiscardUnknown() { 7223 xxx_messageInfo_RoleFilter.DiscardUnknown(m) 7224 } 7225 7226 var xxx_messageInfo_RoleFilter proto.InternalMessageInfo 7227 7228 // RoleV6 represents role resource specification 7229 type RoleV6 struct { 7230 // Kind is a resource kind 7231 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 7232 // SubKind is an optional resource sub kind, used in some resources 7233 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 7234 // Version is the resource version. It must be specified. 7235 // Supported values are: `v3`, `v4`, `v5`, `v6`, `v7`. 7236 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 7237 // Metadata is resource metadata 7238 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 7239 // Spec is a role specification 7240 Spec RoleSpecV6 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 7241 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7242 XXX_unrecognized []byte `json:"-"` 7243 XXX_sizecache int32 `json:"-"` 7244 } 7245 7246 func (m *RoleV6) Reset() { *m = RoleV6{} } 7247 func (*RoleV6) ProtoMessage() {} 7248 func (*RoleV6) Descriptor() ([]byte, []int) { 7249 return fileDescriptor_9198ee693835762e, []int{111} 7250 } 7251 func (m *RoleV6) XXX_Unmarshal(b []byte) error { 7252 return m.Unmarshal(b) 7253 } 7254 func (m *RoleV6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7255 if deterministic { 7256 return xxx_messageInfo_RoleV6.Marshal(b, m, deterministic) 7257 } else { 7258 b = b[:cap(b)] 7259 n, err := m.MarshalToSizedBuffer(b) 7260 if err != nil { 7261 return nil, err 7262 } 7263 return b[:n], nil 7264 } 7265 } 7266 func (m *RoleV6) XXX_Merge(src proto.Message) { 7267 xxx_messageInfo_RoleV6.Merge(m, src) 7268 } 7269 func (m *RoleV6) XXX_Size() int { 7270 return m.Size() 7271 } 7272 func (m *RoleV6) XXX_DiscardUnknown() { 7273 xxx_messageInfo_RoleV6.DiscardUnknown(m) 7274 } 7275 7276 var xxx_messageInfo_RoleV6 proto.InternalMessageInfo 7277 7278 // RoleSpecV6 is role specification for RoleV6. 7279 type RoleSpecV6 struct { 7280 // Options is for OpenSSH options like agent forwarding. 7281 Options RoleOptions `protobuf:"bytes,1,opt,name=Options,proto3" json:"options,omitempty"` 7282 // Allow is the set of conditions evaluated to grant access. 7283 Allow RoleConditions `protobuf:"bytes,2,opt,name=Allow,proto3" json:"allow,omitempty"` 7284 // Deny is the set of conditions evaluated to deny access. Deny takes priority 7285 // over allow. 7286 Deny RoleConditions `protobuf:"bytes,3,opt,name=Deny,proto3" json:"deny,omitempty"` 7287 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7288 XXX_unrecognized []byte `json:"-"` 7289 XXX_sizecache int32 `json:"-"` 7290 } 7291 7292 func (m *RoleSpecV6) Reset() { *m = RoleSpecV6{} } 7293 func (m *RoleSpecV6) String() string { return proto.CompactTextString(m) } 7294 func (*RoleSpecV6) ProtoMessage() {} 7295 func (*RoleSpecV6) Descriptor() ([]byte, []int) { 7296 return fileDescriptor_9198ee693835762e, []int{112} 7297 } 7298 func (m *RoleSpecV6) XXX_Unmarshal(b []byte) error { 7299 return m.Unmarshal(b) 7300 } 7301 func (m *RoleSpecV6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7302 if deterministic { 7303 return xxx_messageInfo_RoleSpecV6.Marshal(b, m, deterministic) 7304 } else { 7305 b = b[:cap(b)] 7306 n, err := m.MarshalToSizedBuffer(b) 7307 if err != nil { 7308 return nil, err 7309 } 7310 return b[:n], nil 7311 } 7312 } 7313 func (m *RoleSpecV6) XXX_Merge(src proto.Message) { 7314 xxx_messageInfo_RoleSpecV6.Merge(m, src) 7315 } 7316 func (m *RoleSpecV6) XXX_Size() int { 7317 return m.Size() 7318 } 7319 func (m *RoleSpecV6) XXX_DiscardUnknown() { 7320 xxx_messageInfo_RoleSpecV6.DiscardUnknown(m) 7321 } 7322 7323 var xxx_messageInfo_RoleSpecV6 proto.InternalMessageInfo 7324 7325 // RoleOptions is a set of role options 7326 type RoleOptions struct { 7327 // ForwardAgent is SSH agent forwarding. 7328 ForwardAgent Bool `protobuf:"varint,1,opt,name=ForwardAgent,proto3,casttype=Bool" json:"forward_agent"` 7329 // MaxSessionTTL defines how long a SSH session can last for. 7330 MaxSessionTTL Duration `protobuf:"varint,2,opt,name=MaxSessionTTL,proto3,casttype=Duration" json:"max_session_ttl,omitempty"` 7331 // PortForwarding defines if the certificate will have 7332 // "permit-port-forwarding" 7333 // in the certificate. PortForwarding is "yes" if not set, 7334 // that's why this is a pointer 7335 PortForwarding *BoolOption `protobuf:"bytes,3,opt,name=PortForwarding,proto3,customtype=BoolOption" json:"port_forwarding,omitempty"` 7336 // CertificateFormat defines the format of the user certificate to allow 7337 // compatibility with older versions of OpenSSH. 7338 CertificateFormat string `protobuf:"bytes,4,opt,name=CertificateFormat,proto3" json:"cert_format"` 7339 // ClientIdleTimeout sets disconnect clients on idle timeout behavior, 7340 // if set to 0 means do not disconnect, otherwise is set to the idle 7341 // duration. 7342 ClientIdleTimeout Duration `protobuf:"varint,5,opt,name=ClientIdleTimeout,proto3,casttype=Duration" json:"client_idle_timeout,omitempty"` 7343 // DisconnectExpiredCert sets disconnect clients on expired certificates. 7344 DisconnectExpiredCert Bool `protobuf:"varint,6,opt,name=DisconnectExpiredCert,proto3,casttype=Bool" json:"disconnect_expired_cert,omitempty"` 7345 // BPF defines what events to record for the BPF-based session recorder. 7346 BPF []string `protobuf:"bytes,7,rep,name=BPF,proto3" json:"enhanced_recording,omitempty"` 7347 // PermitX11Forwarding authorizes use of X11 forwarding. 7348 PermitX11Forwarding Bool `protobuf:"varint,8,opt,name=PermitX11Forwarding,proto3,casttype=Bool" json:"permit_x11_forwarding,omitempty"` 7349 // MaxConnections defines the maximum number of 7350 // concurrent connections a user may hold. 7351 MaxConnections int64 `protobuf:"varint,9,opt,name=MaxConnections,proto3" json:"max_connections,omitempty"` 7352 // MaxSessions defines the maximum number of 7353 // concurrent sessions per connection. 7354 MaxSessions int64 `protobuf:"varint,10,opt,name=MaxSessions,proto3" json:"max_sessions,omitempty"` 7355 // RequestAccess defines the access request strategy (optional|note|always) 7356 // where optional is the default. 7357 RequestAccess RequestStrategy `protobuf:"bytes,11,opt,name=RequestAccess,proto3,casttype=RequestStrategy" json:"request_access,omitempty"` 7358 // RequestPrompt is an optional message which tells users what they aught to request. 7359 RequestPrompt string `protobuf:"bytes,12,opt,name=RequestPrompt,proto3" json:"request_prompt,omitempty"` 7360 // Lock specifies the locking mode (strict|best_effort) to be applied with 7361 // the role. 7362 Lock github_com_gravitational_teleport_api_constants.LockingMode `protobuf:"bytes,14,opt,name=Lock,proto3,casttype=github.com/gravitational/teleport/api/constants.LockingMode" json:"lock,omitempty"` 7363 // RecordDesktopSession indicates whether desktop access sessions should be recorded. 7364 // It defaults to true unless explicitly set to false. 7365 RecordSession *RecordSession `protobuf:"bytes,15,opt,name=RecordSession,proto3" json:"record_session"` 7366 // DesktopClipboard indicates whether clipboard sharing is allowed between the user's 7367 // workstation and the remote desktop. It defaults to true unless explicitly set to 7368 // false. 7369 DesktopClipboard *BoolOption `protobuf:"bytes,16,opt,name=DesktopClipboard,proto3,customtype=BoolOption" json:"desktop_clipboard"` 7370 // CertExtensions specifies the key/values 7371 CertExtensions []*CertExtension `protobuf:"bytes,17,rep,name=CertExtensions,proto3" json:"cert_extensions,omitempty"` 7372 // MaxKubernetesConnections defines the maximum number of concurrent 7373 // Kubernetes sessions a user may hold. 7374 MaxKubernetesConnections int64 `protobuf:"varint,18,opt,name=MaxKubernetesConnections,proto3" json:"max_kubernetes_connections,omitempty"` 7375 // DesktopDirectorySharing indicates whether directory sharing is allowed between the user's 7376 // workstation and the remote desktop. It defaults to false unless explicitly set to 7377 // true. 7378 DesktopDirectorySharing *BoolOption `protobuf:"bytes,19,opt,name=DesktopDirectorySharing,proto3,customtype=BoolOption" json:"desktop_directory_sharing"` 7379 // CreateHostUser allows users to be automatically created on a host 7380 CreateHostUser *BoolOption `protobuf:"bytes,20,opt,name=CreateHostUser,proto3,customtype=BoolOption" json:"create_host_user,omitempty"` 7381 // PinSourceIP forces the same client IP for certificate generation and usage 7382 PinSourceIP Bool `protobuf:"varint,21,opt,name=PinSourceIP,proto3,casttype=Bool" json:"pin_source_ip"` 7383 // SSHFileCopy indicates whether remote file operations via SCP or SFTP are allowed 7384 // over an SSH session. It defaults to true unless explicitly set to false. 7385 SSHFileCopy *BoolOption `protobuf:"bytes,22,opt,name=SSHFileCopy,proto3,customtype=BoolOption" json:"ssh_file_copy"` 7386 // RequireMFAType is the type of MFA requirement enforced for this user. 7387 // 0 is "OFF", 1 is "SESSION", 2 is "SESSION_AND_HARDWARE_KEY", 3 is "HARDWARE_KEY_TOUCH", 7388 // 4 is "HARDWARE_KEY_PIN", 5 is "HARDWARE_KEY_TOUCH_AND_PIN". 7389 RequireMFAType RequireMFAType `protobuf:"varint,23,opt,name=RequireMFAType,proto3,enum=types.RequireMFAType" json:"require_session_mfa,omitempty"` 7390 // DeviceTrustMode is the device authorization mode used for the resources 7391 // associated with the role. 7392 // See DeviceTrust.Mode. 7393 // Reserved for future use, not yet used by Teleport. 7394 DeviceTrustMode string `protobuf:"bytes,24,opt,name=DeviceTrustMode,proto3" json:"device_trust_mode,omitempty"` 7395 // IDP is a set of options related to accessing IdPs within Teleport. 7396 // Requires Teleport Enterprise. 7397 IDP *IdPOptions `protobuf:"bytes,25,opt,name=IDP,proto3" json:"idp,omitempty"` 7398 // CreateDesktopUser allows users to be automatically created on a Windows desktop 7399 CreateDesktopUser *BoolOption `protobuf:"bytes,26,opt,name=CreateDesktopUser,proto3,customtype=BoolOption" json:"create_desktop_user"` 7400 // CreateDatabaseUser enabled automatic database user creation. 7401 CreateDatabaseUser *BoolOption `protobuf:"bytes,27,opt,name=CreateDatabaseUser,proto3,customtype=BoolOption" json:"create_db_user"` 7402 // CreateHostUserMode allows users to be automatically created on a 7403 // host when not set to off. 7404 // 0 is "unspecified"; 1 is "off"; 2 is "drop" (removed for v15 and above), 7405 // 3 is "keep"; 4 is "insecure-drop". 7406 CreateHostUserMode CreateHostUserMode `protobuf:"varint,28,opt,name=CreateHostUserMode,proto3,enum=types.CreateHostUserMode" json:"create_host_user_mode,omitempty"` 7407 // CreateDatabaseUserMode allows users to be automatically created on a 7408 // database when not set to off. 7409 // 0 is "unspecified", 1 is "off", 2 is "keep", 3 is "best_effort_drop". 7410 CreateDatabaseUserMode CreateDatabaseUserMode `protobuf:"varint,29,opt,name=CreateDatabaseUserMode,proto3,enum=types.CreateDatabaseUserMode" json:"create_db_user_mode,omitempty"` 7411 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7412 XXX_unrecognized []byte `json:"-"` 7413 XXX_sizecache int32 `json:"-"` 7414 } 7415 7416 func (m *RoleOptions) Reset() { *m = RoleOptions{} } 7417 func (m *RoleOptions) String() string { return proto.CompactTextString(m) } 7418 func (*RoleOptions) ProtoMessage() {} 7419 func (*RoleOptions) Descriptor() ([]byte, []int) { 7420 return fileDescriptor_9198ee693835762e, []int{113} 7421 } 7422 func (m *RoleOptions) XXX_Unmarshal(b []byte) error { 7423 return m.Unmarshal(b) 7424 } 7425 func (m *RoleOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7426 if deterministic { 7427 return xxx_messageInfo_RoleOptions.Marshal(b, m, deterministic) 7428 } else { 7429 b = b[:cap(b)] 7430 n, err := m.MarshalToSizedBuffer(b) 7431 if err != nil { 7432 return nil, err 7433 } 7434 return b[:n], nil 7435 } 7436 } 7437 func (m *RoleOptions) XXX_Merge(src proto.Message) { 7438 xxx_messageInfo_RoleOptions.Merge(m, src) 7439 } 7440 func (m *RoleOptions) XXX_Size() int { 7441 return m.Size() 7442 } 7443 func (m *RoleOptions) XXX_DiscardUnknown() { 7444 xxx_messageInfo_RoleOptions.DiscardUnknown(m) 7445 } 7446 7447 var xxx_messageInfo_RoleOptions proto.InternalMessageInfo 7448 7449 type RecordSession struct { 7450 // Desktop indicates whether desktop sessions should be recorded. 7451 // It defaults to true unless explicitly set to false. 7452 Desktop *BoolOption `protobuf:"bytes,1,opt,name=Desktop,proto3,customtype=BoolOption" json:"desktop"` 7453 // Default indicates the default value for the services. 7454 Default github_com_gravitational_teleport_api_constants.SessionRecordingMode `protobuf:"bytes,2,opt,name=Default,proto3,casttype=github.com/gravitational/teleport/api/constants.SessionRecordingMode" json:"default,omitempty"` 7455 // SSH indicates the session mode used on SSH sessions. 7456 SSH github_com_gravitational_teleport_api_constants.SessionRecordingMode `protobuf:"bytes,3,opt,name=SSH,proto3,casttype=github.com/gravitational/teleport/api/constants.SessionRecordingMode" json:"ssh,omitempty"` 7457 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7458 XXX_unrecognized []byte `json:"-"` 7459 XXX_sizecache int32 `json:"-"` 7460 } 7461 7462 func (m *RecordSession) Reset() { *m = RecordSession{} } 7463 func (m *RecordSession) String() string { return proto.CompactTextString(m) } 7464 func (*RecordSession) ProtoMessage() {} 7465 func (*RecordSession) Descriptor() ([]byte, []int) { 7466 return fileDescriptor_9198ee693835762e, []int{114} 7467 } 7468 func (m *RecordSession) XXX_Unmarshal(b []byte) error { 7469 return m.Unmarshal(b) 7470 } 7471 func (m *RecordSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7472 if deterministic { 7473 return xxx_messageInfo_RecordSession.Marshal(b, m, deterministic) 7474 } else { 7475 b = b[:cap(b)] 7476 n, err := m.MarshalToSizedBuffer(b) 7477 if err != nil { 7478 return nil, err 7479 } 7480 return b[:n], nil 7481 } 7482 } 7483 func (m *RecordSession) XXX_Merge(src proto.Message) { 7484 xxx_messageInfo_RecordSession.Merge(m, src) 7485 } 7486 func (m *RecordSession) XXX_Size() int { 7487 return m.Size() 7488 } 7489 func (m *RecordSession) XXX_DiscardUnknown() { 7490 xxx_messageInfo_RecordSession.DiscardUnknown(m) 7491 } 7492 7493 var xxx_messageInfo_RecordSession proto.InternalMessageInfo 7494 7495 // CertExtension represents a key/value for a certificate extension 7496 type CertExtension struct { 7497 // Type represents the certificate type being extended, only ssh 7498 // is supported at this time. 7499 // 0 is "ssh". 7500 Type CertExtensionType `protobuf:"varint,1,opt,name=Type,proto3,enum=types.CertExtensionType" json:"type"` 7501 // Mode is the type of extension to be used -- currently 7502 // critical-option is not supported. 7503 // 0 is "extension". 7504 Mode CertExtensionMode `protobuf:"varint,2,opt,name=Mode,proto3,enum=types.CertExtensionMode" json:"mode"` 7505 // Name specifies the key to be used in the cert extension. 7506 Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"name"` 7507 // Value specifies the value to be used in the cert extension. 7508 Value string `protobuf:"bytes,4,opt,name=Value,proto3" json:"value"` 7509 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7510 XXX_unrecognized []byte `json:"-"` 7511 XXX_sizecache int32 `json:"-"` 7512 } 7513 7514 func (m *CertExtension) Reset() { *m = CertExtension{} } 7515 func (m *CertExtension) String() string { return proto.CompactTextString(m) } 7516 func (*CertExtension) ProtoMessage() {} 7517 func (*CertExtension) Descriptor() ([]byte, []int) { 7518 return fileDescriptor_9198ee693835762e, []int{115} 7519 } 7520 func (m *CertExtension) XXX_Unmarshal(b []byte) error { 7521 return m.Unmarshal(b) 7522 } 7523 func (m *CertExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7524 if deterministic { 7525 return xxx_messageInfo_CertExtension.Marshal(b, m, deterministic) 7526 } else { 7527 b = b[:cap(b)] 7528 n, err := m.MarshalToSizedBuffer(b) 7529 if err != nil { 7530 return nil, err 7531 } 7532 return b[:n], nil 7533 } 7534 } 7535 func (m *CertExtension) XXX_Merge(src proto.Message) { 7536 xxx_messageInfo_CertExtension.Merge(m, src) 7537 } 7538 func (m *CertExtension) XXX_Size() int { 7539 return m.Size() 7540 } 7541 func (m *CertExtension) XXX_DiscardUnknown() { 7542 xxx_messageInfo_CertExtension.DiscardUnknown(m) 7543 } 7544 7545 var xxx_messageInfo_CertExtension proto.InternalMessageInfo 7546 7547 // RoleConditions is a set of conditions that must all match to be allowed or 7548 // denied access. 7549 type RoleConditions struct { 7550 // Logins is a list of *nix system logins. 7551 Logins []string `protobuf:"bytes,1,rep,name=Logins,proto3" json:"logins,omitempty"` 7552 // Namespaces is a list of namespaces (used to partition a cluster). The 7553 // field should be called "namespaces" when it returns in Teleport 2.4. 7554 Namespaces []string `protobuf:"bytes,2,rep,name=Namespaces,proto3" json:"-"` 7555 // NodeLabels is a map of node labels (used to dynamically grant access to 7556 // nodes). 7557 NodeLabels Labels `protobuf:"bytes,3,opt,name=NodeLabels,proto3,customtype=Labels" json:"node_labels,omitempty"` 7558 // Rules is a list of rules and their access levels. Rules are a high level 7559 // construct used for access control. 7560 Rules []Rule `protobuf:"bytes,4,rep,name=Rules,proto3" json:"rules,omitempty"` 7561 // KubeGroups is a list of kubernetes groups 7562 KubeGroups []string `protobuf:"bytes,5,rep,name=KubeGroups,proto3" json:"kubernetes_groups,omitempty"` 7563 Request *AccessRequestConditions `protobuf:"bytes,6,opt,name=Request,proto3" json:"request,omitempty"` 7564 // KubeUsers is an optional kubernetes users to impersonate 7565 KubeUsers []string `protobuf:"bytes,7,rep,name=KubeUsers,proto3" json:"kubernetes_users,omitempty"` 7566 // AppLabels is a map of labels used as part of the RBAC system. 7567 AppLabels Labels `protobuf:"bytes,8,opt,name=AppLabels,proto3,customtype=Labels" json:"app_labels,omitempty"` 7568 // ClusterLabels is a map of node labels (used to dynamically grant access to 7569 // clusters). 7570 ClusterLabels Labels `protobuf:"bytes,9,opt,name=ClusterLabels,proto3,customtype=Labels" json:"cluster_labels,omitempty"` 7571 // KubernetesLabels is a map of kubernetes cluster labels used for RBAC. 7572 KubernetesLabels Labels `protobuf:"bytes,10,opt,name=KubernetesLabels,proto3,customtype=Labels" json:"kubernetes_labels,omitempty"` 7573 // DatabaseLabels are used in RBAC system to allow/deny access to databases. 7574 DatabaseLabels Labels `protobuf:"bytes,11,opt,name=DatabaseLabels,proto3,customtype=Labels" json:"db_labels,omitempty"` 7575 // DatabaseNames is a list of database names this role is allowed to connect to. 7576 DatabaseNames []string `protobuf:"bytes,12,rep,name=DatabaseNames,proto3" json:"db_names,omitempty"` 7577 // DatabaseUsers is a list of databases users this role is allowed to connect as. 7578 DatabaseUsers []string `protobuf:"bytes,13,rep,name=DatabaseUsers,proto3" json:"db_users,omitempty"` 7579 // Impersonate specifies what users and roles this role is allowed to impersonate 7580 // by issuing certificates or other possible means. 7581 Impersonate *ImpersonateConditions `protobuf:"bytes,14,opt,name=Impersonate,proto3" json:"impersonate,omitempty"` 7582 // ReviewRequests defines conditions for submitting access reviews. 7583 ReviewRequests *AccessReviewConditions `protobuf:"bytes,15,opt,name=ReviewRequests,proto3" json:"review_requests,omitempty"` 7584 // AWSRoleARNs is a list of AWS role ARNs this role is allowed to assume. 7585 AWSRoleARNs []string `protobuf:"bytes,16,rep,name=AWSRoleARNs,proto3" json:"aws_role_arns,omitempty"` 7586 // WindowsDesktopLogins is a list of desktop login names allowed/denied for Windows desktops. 7587 WindowsDesktopLogins []string `protobuf:"bytes,17,rep,name=WindowsDesktopLogins,proto3" json:"windows_desktop_logins,omitempty"` 7588 // WindowsDesktopLabels are used in the RBAC system to allow/deny access to Windows desktops. 7589 WindowsDesktopLabels Labels `protobuf:"bytes,18,opt,name=WindowsDesktopLabels,proto3,customtype=Labels" json:"windows_desktop_labels,omitempty"` 7590 // RequireSessionJoin specifies policies for required users to start a session. 7591 RequireSessionJoin []*SessionRequirePolicy `protobuf:"bytes,19,rep,name=RequireSessionJoin,proto3" json:"require_session_join,omitempty"` 7592 // JoinSessions specifies policies to allow users to join other sessions. 7593 JoinSessions []*SessionJoinPolicy `protobuf:"bytes,20,rep,name=JoinSessions,proto3" json:"join_sessions,omitempty"` 7594 // HostGroups is a list of groups for created users to be added to 7595 HostGroups []string `protobuf:"bytes,21,rep,name=HostGroups,proto3" json:"host_groups,omitempty"` 7596 // HostSudoers is a list of entries to include in a users sudoer file 7597 HostSudoers []string `protobuf:"bytes,22,rep,name=HostSudoers,proto3" json:"host_sudoers,omitempty"` 7598 // AzureIdentities is a list of Azure identities this role is allowed to assume. 7599 AzureIdentities []string `protobuf:"bytes,23,rep,name=AzureIdentities,proto3" json:"azure_identities,omitempty"` 7600 // KubernetesResources is the Kubernetes Resources this Role grants access to. 7601 KubernetesResources []KubernetesResource `protobuf:"bytes,24,rep,name=KubernetesResources,proto3" json:"kubernetes_resources,omitempty"` 7602 // GCPServiceAccounts is a list of GCP service accounts this role is allowed to assume. 7603 GCPServiceAccounts []string `protobuf:"bytes,25,rep,name=GCPServiceAccounts,proto3" json:"gcp_service_accounts,omitempty"` 7604 // DatabaseServiceLabels are used in RBAC system to allow/deny access to Database Services. 7605 DatabaseServiceLabels Labels `protobuf:"bytes,26,opt,name=DatabaseServiceLabels,proto3,customtype=Labels" json:"db_service_labels,omitempty"` 7606 // GroupLabels is a map of labels used as part of the RBAC system. 7607 GroupLabels Labels `protobuf:"bytes,27,opt,name=GroupLabels,proto3,customtype=Labels" json:"group_labels,omitempty"` 7608 // DesktopGroups is a list of groups for created desktop users to be added to 7609 DesktopGroups []string `protobuf:"bytes,28,rep,name=DesktopGroups,proto3" json:"desktop_groups,omitempty"` 7610 // DatabaseRoles is a list of databases roles for automatic user creation. 7611 DatabaseRoles []string `protobuf:"bytes,29,rep,name=DatabaseRoles,proto3" json:"db_roles,omitempty"` 7612 // NodeLabelsExpression is a predicate expression used to allow/deny access to 7613 // SSH nodes. 7614 NodeLabelsExpression string `protobuf:"bytes,30,opt,name=NodeLabelsExpression,proto3" json:"node_labels_expression,omitempty"` 7615 // AppLabelsExpression is a predicate expression used to allow/deny access to 7616 // Apps. 7617 AppLabelsExpression string `protobuf:"bytes,31,opt,name=AppLabelsExpression,proto3" json:"app_labels_expression,omitempty"` 7618 // ClusterLabelsExpression is a predicate expression used to allow/deny access 7619 // to remote Teleport clusters. 7620 ClusterLabelsExpression string `protobuf:"bytes,32,opt,name=ClusterLabelsExpression,proto3" json:"cluster_labels_expression,omitempty"` 7621 // KubernetesLabelsExpression is a predicate expression used to allow/deny 7622 // access to kubernetes clusters. 7623 KubernetesLabelsExpression string `protobuf:"bytes,33,opt,name=KubernetesLabelsExpression,proto3" json:"kubernetes_labels_expression,omitempty"` 7624 // DatabaseLabelsExpression is a predicate expression used to allow/deny 7625 // access to Databases. 7626 DatabaseLabelsExpression string `protobuf:"bytes,34,opt,name=DatabaseLabelsExpression,proto3" json:"db_labels_expression,omitempty"` 7627 // DatabaseServiceLabelsExpression is a predicate expression used to 7628 // allow/deny access to Database Services. 7629 DatabaseServiceLabelsExpression string `protobuf:"bytes,35,opt,name=DatabaseServiceLabelsExpression,proto3" json:"db_service_labels_expression,omitempty"` 7630 // WindowsDesktopLabelsExpression is a predicate expression used to allow/deny 7631 // access to Windows desktops. 7632 WindowsDesktopLabelsExpression string `protobuf:"bytes,36,opt,name=WindowsDesktopLabelsExpression,proto3" json:"windows_desktop_labels_expression,omitempty"` 7633 // GroupLabelsExpression is a predicate expression used to allow/deny 7634 // access to user groups. 7635 GroupLabelsExpression string `protobuf:"bytes,37,opt,name=GroupLabelsExpression,proto3" json:"group_labels_expression,omitempty"` 7636 // DatabasePermissions specifies a set of permissions that will be granted 7637 // to the database user when using automatic database user provisioning. 7638 DatabasePermissions []DatabasePermission `protobuf:"bytes,38,rep,name=DatabasePermissions,proto3" json:"db_permissions,omitempty"` 7639 // SPIFFE is used to allow or deny access to a role holder to generating a 7640 // SPIFFE SVID. 7641 SPIFFE []*SPIFFERoleCondition `protobuf:"bytes,39,rep,name=SPIFFE,proto3" json:"spiffe,omitempty"` 7642 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7643 XXX_unrecognized []byte `json:"-"` 7644 XXX_sizecache int32 `json:"-"` 7645 } 7646 7647 func (m *RoleConditions) Reset() { *m = RoleConditions{} } 7648 func (m *RoleConditions) String() string { return proto.CompactTextString(m) } 7649 func (*RoleConditions) ProtoMessage() {} 7650 func (*RoleConditions) Descriptor() ([]byte, []int) { 7651 return fileDescriptor_9198ee693835762e, []int{116} 7652 } 7653 func (m *RoleConditions) XXX_Unmarshal(b []byte) error { 7654 return m.Unmarshal(b) 7655 } 7656 func (m *RoleConditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7657 if deterministic { 7658 return xxx_messageInfo_RoleConditions.Marshal(b, m, deterministic) 7659 } else { 7660 b = b[:cap(b)] 7661 n, err := m.MarshalToSizedBuffer(b) 7662 if err != nil { 7663 return nil, err 7664 } 7665 return b[:n], nil 7666 } 7667 } 7668 func (m *RoleConditions) XXX_Merge(src proto.Message) { 7669 xxx_messageInfo_RoleConditions.Merge(m, src) 7670 } 7671 func (m *RoleConditions) XXX_Size() int { 7672 return m.Size() 7673 } 7674 func (m *RoleConditions) XXX_DiscardUnknown() { 7675 xxx_messageInfo_RoleConditions.DiscardUnknown(m) 7676 } 7677 7678 var xxx_messageInfo_RoleConditions proto.InternalMessageInfo 7679 7680 // SPIFFERoleCondition sets out which SPIFFE identities this role is allowed or 7681 // denied to generate. The Path matcher is required, and is evaluated first. If, 7682 // the Path does not match then the other matcher fields are not evaluated. 7683 type SPIFFERoleCondition struct { 7684 // Path specifies a matcher for the SPIFFE ID path. It should not include the 7685 // trust domain and should start with a leading slash. 7686 // 7687 // The matcher by default allows '*' to be used to indicate zero or more of 7688 // any character. Prepend '^' and append '$' to instead switch to matching 7689 // using the Go regex syntax. 7690 // 7691 // Example: 7692 // - /svc/foo/*/bar would match /svc/foo/baz/bar 7693 // - ^\/svc\/foo\/.*\/bar$ would match /svc/foo/baz/bar 7694 Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"path,omitempty"` 7695 // DNSSANs specifies matchers for the SPIFFE ID DNS SANs. 7696 // 7697 // Each requested DNS SAN is compared against all matchers configured and if 7698 // any match, the condition is considered to be met. 7699 // 7700 // The matcher by default allows '*' to be used to indicate zero or more of 7701 // any character. Prepend '^' and append '$' to instead switch to matching 7702 // using the Go regex syntax. 7703 // 7704 // Example: *.example.com would match foo.example.com 7705 DNSSANs []string `protobuf:"bytes,2,rep,name=DNSSANs,proto3" json:"dns_sans,omitempty"` 7706 // IPSANs specifies matchers for the SPIFFE ID IP SANs. 7707 // 7708 // Each requested IP SAN is compared against all matchers configured and if 7709 // any match, the condition is considered to be met. 7710 // 7711 // The matchers should be specified using CIDR notation, it supports IPv4 and 7712 // IPv6. 7713 // 7714 // Examples: 7715 // - 10.0.0.0/24 would match 10.0.0.0 to 10.255.255.255 7716 // - 10.0.0.42/32 would match only 10.0.0.42 7717 IPSANs []string `protobuf:"bytes,3,rep,name=IPSANs,proto3" json:"ip_sans,omitempty"` 7718 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7719 XXX_unrecognized []byte `json:"-"` 7720 XXX_sizecache int32 `json:"-"` 7721 } 7722 7723 func (m *SPIFFERoleCondition) Reset() { *m = SPIFFERoleCondition{} } 7724 func (m *SPIFFERoleCondition) String() string { return proto.CompactTextString(m) } 7725 func (*SPIFFERoleCondition) ProtoMessage() {} 7726 func (*SPIFFERoleCondition) Descriptor() ([]byte, []int) { 7727 return fileDescriptor_9198ee693835762e, []int{117} 7728 } 7729 func (m *SPIFFERoleCondition) XXX_Unmarshal(b []byte) error { 7730 return m.Unmarshal(b) 7731 } 7732 func (m *SPIFFERoleCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7733 if deterministic { 7734 return xxx_messageInfo_SPIFFERoleCondition.Marshal(b, m, deterministic) 7735 } else { 7736 b = b[:cap(b)] 7737 n, err := m.MarshalToSizedBuffer(b) 7738 if err != nil { 7739 return nil, err 7740 } 7741 return b[:n], nil 7742 } 7743 } 7744 func (m *SPIFFERoleCondition) XXX_Merge(src proto.Message) { 7745 xxx_messageInfo_SPIFFERoleCondition.Merge(m, src) 7746 } 7747 func (m *SPIFFERoleCondition) XXX_Size() int { 7748 return m.Size() 7749 } 7750 func (m *SPIFFERoleCondition) XXX_DiscardUnknown() { 7751 xxx_messageInfo_SPIFFERoleCondition.DiscardUnknown(m) 7752 } 7753 7754 var xxx_messageInfo_SPIFFERoleCondition proto.InternalMessageInfo 7755 7756 // DatabasePermission specifies the database object permission for the user. 7757 type DatabasePermission struct { 7758 // Permission is the list of string representations of the permission to be given, e.g. SELECT, INSERT, UPDATE, ... 7759 Permissions []string `protobuf:"bytes,1,rep,name=Permissions,proto3" json:"permissions"` 7760 // Match is a list of object labels that must be matched for the permission to be granted. 7761 Match Labels `protobuf:"bytes,2,opt,name=Match,proto3,customtype=Labels" json:"match"` 7762 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7763 XXX_unrecognized []byte `json:"-"` 7764 XXX_sizecache int32 `json:"-"` 7765 } 7766 7767 func (m *DatabasePermission) Reset() { *m = DatabasePermission{} } 7768 func (m *DatabasePermission) String() string { return proto.CompactTextString(m) } 7769 func (*DatabasePermission) ProtoMessage() {} 7770 func (*DatabasePermission) Descriptor() ([]byte, []int) { 7771 return fileDescriptor_9198ee693835762e, []int{118} 7772 } 7773 func (m *DatabasePermission) XXX_Unmarshal(b []byte) error { 7774 return m.Unmarshal(b) 7775 } 7776 func (m *DatabasePermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7777 if deterministic { 7778 return xxx_messageInfo_DatabasePermission.Marshal(b, m, deterministic) 7779 } else { 7780 b = b[:cap(b)] 7781 n, err := m.MarshalToSizedBuffer(b) 7782 if err != nil { 7783 return nil, err 7784 } 7785 return b[:n], nil 7786 } 7787 } 7788 func (m *DatabasePermission) XXX_Merge(src proto.Message) { 7789 xxx_messageInfo_DatabasePermission.Merge(m, src) 7790 } 7791 func (m *DatabasePermission) XXX_Size() int { 7792 return m.Size() 7793 } 7794 func (m *DatabasePermission) XXX_DiscardUnknown() { 7795 xxx_messageInfo_DatabasePermission.DiscardUnknown(m) 7796 } 7797 7798 var xxx_messageInfo_DatabasePermission proto.InternalMessageInfo 7799 7800 // KubernetesResource is the Kubernetes resource identifier. 7801 type KubernetesResource struct { 7802 // Kind specifies the Kubernetes Resource type. 7803 // At the moment only "pod" is supported. 7804 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind,omitempty"` 7805 // Namespace is the resource namespace. 7806 // It supports wildcards. 7807 Namespace string `protobuf:"bytes,2,opt,name=Namespace,proto3" json:"namespace,omitempty"` 7808 // Name is the resource name. 7809 // It supports wildcards. 7810 Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"name,omitempty"` 7811 // Verbs are the allowed Kubernetes verbs for the following resource. 7812 Verbs []string `protobuf:"bytes,4,rep,name=Verbs,proto3" json:"verbs,omitempty"` 7813 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7814 XXX_unrecognized []byte `json:"-"` 7815 XXX_sizecache int32 `json:"-"` 7816 } 7817 7818 func (m *KubernetesResource) Reset() { *m = KubernetesResource{} } 7819 func (m *KubernetesResource) String() string { return proto.CompactTextString(m) } 7820 func (*KubernetesResource) ProtoMessage() {} 7821 func (*KubernetesResource) Descriptor() ([]byte, []int) { 7822 return fileDescriptor_9198ee693835762e, []int{119} 7823 } 7824 func (m *KubernetesResource) XXX_Unmarshal(b []byte) error { 7825 return m.Unmarshal(b) 7826 } 7827 func (m *KubernetesResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7828 if deterministic { 7829 return xxx_messageInfo_KubernetesResource.Marshal(b, m, deterministic) 7830 } else { 7831 b = b[:cap(b)] 7832 n, err := m.MarshalToSizedBuffer(b) 7833 if err != nil { 7834 return nil, err 7835 } 7836 return b[:n], nil 7837 } 7838 } 7839 func (m *KubernetesResource) XXX_Merge(src proto.Message) { 7840 xxx_messageInfo_KubernetesResource.Merge(m, src) 7841 } 7842 func (m *KubernetesResource) XXX_Size() int { 7843 return m.Size() 7844 } 7845 func (m *KubernetesResource) XXX_DiscardUnknown() { 7846 xxx_messageInfo_KubernetesResource.DiscardUnknown(m) 7847 } 7848 7849 var xxx_messageInfo_KubernetesResource proto.InternalMessageInfo 7850 7851 // SessionRequirePolicy a requirement policy that needs to be fulfilled to grant access. 7852 type SessionRequirePolicy struct { 7853 // Name is the name of the policy. 7854 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 7855 // Filter is a predicate that determines what users count towards this policy. 7856 Filter string `protobuf:"bytes,2,opt,name=Filter,proto3" json:"filter"` 7857 // Kinds are the session kinds this policy applies to. 7858 Kinds []string `protobuf:"bytes,3,rep,name=Kinds,proto3" json:"kinds"` 7859 // Count is the amount of people that need to be matched for this policy to be fulfilled. 7860 Count int32 `protobuf:"varint,4,opt,name=Count,proto3" json:"count"` 7861 // Modes is the list of modes that may be used to fulfill this policy. 7862 Modes []string `protobuf:"bytes,5,rep,name=Modes,proto3" json:"modes"` 7863 // OnLeave is the behaviour that's used when the policy is no longer fulfilled 7864 // for a live session. 7865 OnLeave string `protobuf:"bytes,6,opt,name=OnLeave,proto3" json:"on_leave"` 7866 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7867 XXX_unrecognized []byte `json:"-"` 7868 XXX_sizecache int32 `json:"-"` 7869 } 7870 7871 func (m *SessionRequirePolicy) Reset() { *m = SessionRequirePolicy{} } 7872 func (m *SessionRequirePolicy) String() string { return proto.CompactTextString(m) } 7873 func (*SessionRequirePolicy) ProtoMessage() {} 7874 func (*SessionRequirePolicy) Descriptor() ([]byte, []int) { 7875 return fileDescriptor_9198ee693835762e, []int{120} 7876 } 7877 func (m *SessionRequirePolicy) XXX_Unmarshal(b []byte) error { 7878 return m.Unmarshal(b) 7879 } 7880 func (m *SessionRequirePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7881 if deterministic { 7882 return xxx_messageInfo_SessionRequirePolicy.Marshal(b, m, deterministic) 7883 } else { 7884 b = b[:cap(b)] 7885 n, err := m.MarshalToSizedBuffer(b) 7886 if err != nil { 7887 return nil, err 7888 } 7889 return b[:n], nil 7890 } 7891 } 7892 func (m *SessionRequirePolicy) XXX_Merge(src proto.Message) { 7893 xxx_messageInfo_SessionRequirePolicy.Merge(m, src) 7894 } 7895 func (m *SessionRequirePolicy) XXX_Size() int { 7896 return m.Size() 7897 } 7898 func (m *SessionRequirePolicy) XXX_DiscardUnknown() { 7899 xxx_messageInfo_SessionRequirePolicy.DiscardUnknown(m) 7900 } 7901 7902 var xxx_messageInfo_SessionRequirePolicy proto.InternalMessageInfo 7903 7904 // SessionJoinPolicy defines a policy that allows a user to join sessions. 7905 type SessionJoinPolicy struct { 7906 // Name is the name of the policy. 7907 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 7908 // Roles is a list of roles that you can join the session of. 7909 Roles []string `protobuf:"bytes,2,rep,name=Roles,proto3" json:"roles"` 7910 // Kinds are the session kinds this policy applies to. 7911 Kinds []string `protobuf:"bytes,3,rep,name=Kinds,proto3" json:"kinds"` 7912 // Modes is a list of permitted participant modes for this policy. 7913 Modes []string `protobuf:"bytes,4,rep,name=Modes,proto3" json:"modes"` 7914 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7915 XXX_unrecognized []byte `json:"-"` 7916 XXX_sizecache int32 `json:"-"` 7917 } 7918 7919 func (m *SessionJoinPolicy) Reset() { *m = SessionJoinPolicy{} } 7920 func (m *SessionJoinPolicy) String() string { return proto.CompactTextString(m) } 7921 func (*SessionJoinPolicy) ProtoMessage() {} 7922 func (*SessionJoinPolicy) Descriptor() ([]byte, []int) { 7923 return fileDescriptor_9198ee693835762e, []int{121} 7924 } 7925 func (m *SessionJoinPolicy) XXX_Unmarshal(b []byte) error { 7926 return m.Unmarshal(b) 7927 } 7928 func (m *SessionJoinPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7929 if deterministic { 7930 return xxx_messageInfo_SessionJoinPolicy.Marshal(b, m, deterministic) 7931 } else { 7932 b = b[:cap(b)] 7933 n, err := m.MarshalToSizedBuffer(b) 7934 if err != nil { 7935 return nil, err 7936 } 7937 return b[:n], nil 7938 } 7939 } 7940 func (m *SessionJoinPolicy) XXX_Merge(src proto.Message) { 7941 xxx_messageInfo_SessionJoinPolicy.Merge(m, src) 7942 } 7943 func (m *SessionJoinPolicy) XXX_Size() int { 7944 return m.Size() 7945 } 7946 func (m *SessionJoinPolicy) XXX_DiscardUnknown() { 7947 xxx_messageInfo_SessionJoinPolicy.DiscardUnknown(m) 7948 } 7949 7950 var xxx_messageInfo_SessionJoinPolicy proto.InternalMessageInfo 7951 7952 // AccessRequestConditions is a matcher for allow/deny restrictions on 7953 // access-requests. 7954 // Please remember to update IsEmpty when updating this message. 7955 type AccessRequestConditions struct { 7956 // Roles is the name of roles which will match the request rule. 7957 Roles []string `protobuf:"bytes,1,rep,name=Roles,proto3" json:"roles,omitempty"` 7958 // ClaimsToRoles specifies a mapping from claims (traits) to teleport roles. 7959 ClaimsToRoles []ClaimMapping `protobuf:"bytes,2,rep,name=ClaimsToRoles,proto3" json:"claims_to_roles,omitempty"` 7960 // Annotations is a collection of annotations to be programmatically 7961 // appended to pending access requests at the time of their creation. 7962 // These annotations serve as a mechanism to propagate extra information 7963 // to plugins. Since these annotations support variable interpolation 7964 // syntax, they also offer a mechanism for forwarding claims from an 7965 // external identity provider, to a plugin via `{{external.trait_name}}` 7966 // style substitutions. 7967 Annotations github_com_gravitational_teleport_api_types_wrappers.Traits `protobuf:"bytes,3,opt,name=Annotations,proto3,customtype=github.com/gravitational/teleport/api/types/wrappers.Traits" json:"annotations,omitempty"` 7968 // Thresholds is a list of thresholds, one of which must be met in order for reviews 7969 // to trigger a state-transition. If no thresholds are provided, a default threshold 7970 // of 1 for approval and denial is used. 7971 Thresholds []AccessReviewThreshold `protobuf:"bytes,4,rep,name=Thresholds,proto3" json:"thresholds,omitempty"` 7972 // SuggestedReviewers is a list of reviewer suggestions. These can be teleport usernames, but 7973 // that is not a requirement. 7974 SuggestedReviewers []string `protobuf:"bytes,5,rep,name=SuggestedReviewers,proto3" json:"suggested_reviewers,omitempty"` 7975 // SearchAsRoles is a list of extra roles which should apply to a user while 7976 // they are searching for resources as part of a Resource Access Request, and 7977 // defines the underlying roles which will be requested as part of any 7978 // Resource Access Request. 7979 SearchAsRoles []string `protobuf:"bytes,6,rep,name=SearchAsRoles,proto3" json:"search_as_roles,omitempty"` 7980 // MaxDuration is the amount of time the access will be granted for. 7981 // If this is zero, the default duration is used. 7982 MaxDuration Duration `protobuf:"varint,7,opt,name=MaxDuration,proto3,casttype=Duration" json:"max_duration,omitempty"` 7983 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7984 XXX_unrecognized []byte `json:"-"` 7985 XXX_sizecache int32 `json:"-"` 7986 } 7987 7988 func (m *AccessRequestConditions) Reset() { *m = AccessRequestConditions{} } 7989 func (m *AccessRequestConditions) String() string { return proto.CompactTextString(m) } 7990 func (*AccessRequestConditions) ProtoMessage() {} 7991 func (*AccessRequestConditions) Descriptor() ([]byte, []int) { 7992 return fileDescriptor_9198ee693835762e, []int{122} 7993 } 7994 func (m *AccessRequestConditions) XXX_Unmarshal(b []byte) error { 7995 return m.Unmarshal(b) 7996 } 7997 func (m *AccessRequestConditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7998 if deterministic { 7999 return xxx_messageInfo_AccessRequestConditions.Marshal(b, m, deterministic) 8000 } else { 8001 b = b[:cap(b)] 8002 n, err := m.MarshalToSizedBuffer(b) 8003 if err != nil { 8004 return nil, err 8005 } 8006 return b[:n], nil 8007 } 8008 } 8009 func (m *AccessRequestConditions) XXX_Merge(src proto.Message) { 8010 xxx_messageInfo_AccessRequestConditions.Merge(m, src) 8011 } 8012 func (m *AccessRequestConditions) XXX_Size() int { 8013 return m.Size() 8014 } 8015 func (m *AccessRequestConditions) XXX_DiscardUnknown() { 8016 xxx_messageInfo_AccessRequestConditions.DiscardUnknown(m) 8017 } 8018 8019 var xxx_messageInfo_AccessRequestConditions proto.InternalMessageInfo 8020 8021 // AccessReviewConditions is a matcher for allow/deny restrictions on 8022 // access reviews. 8023 // Please remember to update IsEmpty when updating this message. 8024 type AccessReviewConditions struct { 8025 // Roles is the name of roles which may be reviewed. 8026 Roles []string `protobuf:"bytes,1,rep,name=Roles,proto3" json:"roles,omitempty"` 8027 // ClaimsToRoles specifies a mapping from claims (traits) to teleport roles. 8028 ClaimsToRoles []ClaimMapping `protobuf:"bytes,2,rep,name=ClaimsToRoles,proto3" json:"claims_to_roles,omitempty"` 8029 // Where is an optional predicate which further limits which requests are 8030 // reviewable. 8031 Where string `protobuf:"bytes,3,opt,name=Where,proto3" json:"where,omitempty"` 8032 // PreviewAsRoles is a list of extra roles which should apply to a reviewer 8033 // while they are viewing a Resource Access Request for the purposes of 8034 // viewing details such as the hostname and labels of requested resources. 8035 PreviewAsRoles []string `protobuf:"bytes,4,rep,name=PreviewAsRoles,proto3" json:"preview_as_roles,omitempty"` 8036 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8037 XXX_unrecognized []byte `json:"-"` 8038 XXX_sizecache int32 `json:"-"` 8039 } 8040 8041 func (m *AccessReviewConditions) Reset() { *m = AccessReviewConditions{} } 8042 func (m *AccessReviewConditions) String() string { return proto.CompactTextString(m) } 8043 func (*AccessReviewConditions) ProtoMessage() {} 8044 func (*AccessReviewConditions) Descriptor() ([]byte, []int) { 8045 return fileDescriptor_9198ee693835762e, []int{123} 8046 } 8047 func (m *AccessReviewConditions) XXX_Unmarshal(b []byte) error { 8048 return m.Unmarshal(b) 8049 } 8050 func (m *AccessReviewConditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8051 if deterministic { 8052 return xxx_messageInfo_AccessReviewConditions.Marshal(b, m, deterministic) 8053 } else { 8054 b = b[:cap(b)] 8055 n, err := m.MarshalToSizedBuffer(b) 8056 if err != nil { 8057 return nil, err 8058 } 8059 return b[:n], nil 8060 } 8061 } 8062 func (m *AccessReviewConditions) XXX_Merge(src proto.Message) { 8063 xxx_messageInfo_AccessReviewConditions.Merge(m, src) 8064 } 8065 func (m *AccessReviewConditions) XXX_Size() int { 8066 return m.Size() 8067 } 8068 func (m *AccessReviewConditions) XXX_DiscardUnknown() { 8069 xxx_messageInfo_AccessReviewConditions.DiscardUnknown(m) 8070 } 8071 8072 var xxx_messageInfo_AccessReviewConditions proto.InternalMessageInfo 8073 8074 // AccessRequestAllowedPromotion describes an allowed promotion to an access list. 8075 type AccessRequestAllowedPromotion struct { 8076 // associated access list 8077 AccessListName string `protobuf:"bytes,1,opt,name=accessListName,proto3" json:"accessListName,omitempty"` 8078 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8079 XXX_unrecognized []byte `json:"-"` 8080 XXX_sizecache int32 `json:"-"` 8081 } 8082 8083 func (m *AccessRequestAllowedPromotion) Reset() { *m = AccessRequestAllowedPromotion{} } 8084 func (m *AccessRequestAllowedPromotion) String() string { return proto.CompactTextString(m) } 8085 func (*AccessRequestAllowedPromotion) ProtoMessage() {} 8086 func (*AccessRequestAllowedPromotion) Descriptor() ([]byte, []int) { 8087 return fileDescriptor_9198ee693835762e, []int{124} 8088 } 8089 func (m *AccessRequestAllowedPromotion) XXX_Unmarshal(b []byte) error { 8090 return m.Unmarshal(b) 8091 } 8092 func (m *AccessRequestAllowedPromotion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8093 if deterministic { 8094 return xxx_messageInfo_AccessRequestAllowedPromotion.Marshal(b, m, deterministic) 8095 } else { 8096 b = b[:cap(b)] 8097 n, err := m.MarshalToSizedBuffer(b) 8098 if err != nil { 8099 return nil, err 8100 } 8101 return b[:n], nil 8102 } 8103 } 8104 func (m *AccessRequestAllowedPromotion) XXX_Merge(src proto.Message) { 8105 xxx_messageInfo_AccessRequestAllowedPromotion.Merge(m, src) 8106 } 8107 func (m *AccessRequestAllowedPromotion) XXX_Size() int { 8108 return m.Size() 8109 } 8110 func (m *AccessRequestAllowedPromotion) XXX_DiscardUnknown() { 8111 xxx_messageInfo_AccessRequestAllowedPromotion.DiscardUnknown(m) 8112 } 8113 8114 var xxx_messageInfo_AccessRequestAllowedPromotion proto.InternalMessageInfo 8115 8116 // AccessRequestAllowedPromotions describes an valid promotion from an access request 8117 // to an access list. 8118 type AccessRequestAllowedPromotions struct { 8119 // suggestions is a list of allowed access lists promotions. 8120 Promotions []*AccessRequestAllowedPromotion `protobuf:"bytes,1,rep,name=promotions,proto3" json:"promotions,omitempty"` 8121 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8122 XXX_unrecognized []byte `json:"-"` 8123 XXX_sizecache int32 `json:"-"` 8124 } 8125 8126 func (m *AccessRequestAllowedPromotions) Reset() { *m = AccessRequestAllowedPromotions{} } 8127 func (m *AccessRequestAllowedPromotions) String() string { return proto.CompactTextString(m) } 8128 func (*AccessRequestAllowedPromotions) ProtoMessage() {} 8129 func (*AccessRequestAllowedPromotions) Descriptor() ([]byte, []int) { 8130 return fileDescriptor_9198ee693835762e, []int{125} 8131 } 8132 func (m *AccessRequestAllowedPromotions) XXX_Unmarshal(b []byte) error { 8133 return m.Unmarshal(b) 8134 } 8135 func (m *AccessRequestAllowedPromotions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8136 if deterministic { 8137 return xxx_messageInfo_AccessRequestAllowedPromotions.Marshal(b, m, deterministic) 8138 } else { 8139 b = b[:cap(b)] 8140 n, err := m.MarshalToSizedBuffer(b) 8141 if err != nil { 8142 return nil, err 8143 } 8144 return b[:n], nil 8145 } 8146 } 8147 func (m *AccessRequestAllowedPromotions) XXX_Merge(src proto.Message) { 8148 xxx_messageInfo_AccessRequestAllowedPromotions.Merge(m, src) 8149 } 8150 func (m *AccessRequestAllowedPromotions) XXX_Size() int { 8151 return m.Size() 8152 } 8153 func (m *AccessRequestAllowedPromotions) XXX_DiscardUnknown() { 8154 xxx_messageInfo_AccessRequestAllowedPromotions.DiscardUnknown(m) 8155 } 8156 8157 var xxx_messageInfo_AccessRequestAllowedPromotions proto.InternalMessageInfo 8158 8159 // ClaimMapping maps a claim to teleport roles. 8160 type ClaimMapping struct { 8161 // Claim is a claim name. 8162 Claim string `protobuf:"bytes,1,opt,name=Claim,proto3" json:"claim"` 8163 // Value is a claim value to match. 8164 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"value"` 8165 // Roles is a list of static teleport roles to match. 8166 Roles []string `protobuf:"bytes,3,rep,name=Roles,proto3" json:"roles,omitempty"` 8167 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8168 XXX_unrecognized []byte `json:"-"` 8169 XXX_sizecache int32 `json:"-"` 8170 } 8171 8172 func (m *ClaimMapping) Reset() { *m = ClaimMapping{} } 8173 func (m *ClaimMapping) String() string { return proto.CompactTextString(m) } 8174 func (*ClaimMapping) ProtoMessage() {} 8175 func (*ClaimMapping) Descriptor() ([]byte, []int) { 8176 return fileDescriptor_9198ee693835762e, []int{126} 8177 } 8178 func (m *ClaimMapping) XXX_Unmarshal(b []byte) error { 8179 return m.Unmarshal(b) 8180 } 8181 func (m *ClaimMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8182 if deterministic { 8183 return xxx_messageInfo_ClaimMapping.Marshal(b, m, deterministic) 8184 } else { 8185 b = b[:cap(b)] 8186 n, err := m.MarshalToSizedBuffer(b) 8187 if err != nil { 8188 return nil, err 8189 } 8190 return b[:n], nil 8191 } 8192 } 8193 func (m *ClaimMapping) XXX_Merge(src proto.Message) { 8194 xxx_messageInfo_ClaimMapping.Merge(m, src) 8195 } 8196 func (m *ClaimMapping) XXX_Size() int { 8197 return m.Size() 8198 } 8199 func (m *ClaimMapping) XXX_DiscardUnknown() { 8200 xxx_messageInfo_ClaimMapping.DiscardUnknown(m) 8201 } 8202 8203 var xxx_messageInfo_ClaimMapping proto.InternalMessageInfo 8204 8205 // TraitMapping maps a trait to teleport roles. 8206 type TraitMapping struct { 8207 // Trait is a trait name. 8208 Trait string `protobuf:"bytes,1,opt,name=Trait,proto3" json:"trait"` 8209 // Value is a trait value to match. 8210 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"value"` 8211 // Roles is a list of static teleport roles to match. 8212 Roles []string `protobuf:"bytes,3,rep,name=Roles,proto3" json:"roles,omitempty"` 8213 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8214 XXX_unrecognized []byte `json:"-"` 8215 XXX_sizecache int32 `json:"-"` 8216 } 8217 8218 func (m *TraitMapping) Reset() { *m = TraitMapping{} } 8219 func (m *TraitMapping) String() string { return proto.CompactTextString(m) } 8220 func (*TraitMapping) ProtoMessage() {} 8221 func (*TraitMapping) Descriptor() ([]byte, []int) { 8222 return fileDescriptor_9198ee693835762e, []int{127} 8223 } 8224 func (m *TraitMapping) XXX_Unmarshal(b []byte) error { 8225 return m.Unmarshal(b) 8226 } 8227 func (m *TraitMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8228 if deterministic { 8229 return xxx_messageInfo_TraitMapping.Marshal(b, m, deterministic) 8230 } else { 8231 b = b[:cap(b)] 8232 n, err := m.MarshalToSizedBuffer(b) 8233 if err != nil { 8234 return nil, err 8235 } 8236 return b[:n], nil 8237 } 8238 } 8239 func (m *TraitMapping) XXX_Merge(src proto.Message) { 8240 xxx_messageInfo_TraitMapping.Merge(m, src) 8241 } 8242 func (m *TraitMapping) XXX_Size() int { 8243 return m.Size() 8244 } 8245 func (m *TraitMapping) XXX_DiscardUnknown() { 8246 xxx_messageInfo_TraitMapping.DiscardUnknown(m) 8247 } 8248 8249 var xxx_messageInfo_TraitMapping proto.InternalMessageInfo 8250 8251 // Rule represents allow or deny rule that is executed to check 8252 // if user or service have access to resource 8253 type Rule struct { 8254 // Resources is a list of resources 8255 Resources []string `protobuf:"bytes,1,rep,name=Resources,proto3" json:"resources,omitempty"` 8256 // Verbs is a list of verbs 8257 Verbs []string `protobuf:"bytes,2,rep,name=Verbs,proto3" json:"verbs,omitempty"` 8258 // Where specifies optional advanced matcher 8259 Where string `protobuf:"bytes,3,opt,name=Where,proto3" json:"where,omitempty"` 8260 // Actions specifies optional actions taken when this rule matches 8261 Actions []string `protobuf:"bytes,4,rep,name=Actions,proto3" json:"actions,omitempty"` 8262 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8263 XXX_unrecognized []byte `json:"-"` 8264 XXX_sizecache int32 `json:"-"` 8265 } 8266 8267 func (m *Rule) Reset() { *m = Rule{} } 8268 func (m *Rule) String() string { return proto.CompactTextString(m) } 8269 func (*Rule) ProtoMessage() {} 8270 func (*Rule) Descriptor() ([]byte, []int) { 8271 return fileDescriptor_9198ee693835762e, []int{128} 8272 } 8273 func (m *Rule) XXX_Unmarshal(b []byte) error { 8274 return m.Unmarshal(b) 8275 } 8276 func (m *Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8277 if deterministic { 8278 return xxx_messageInfo_Rule.Marshal(b, m, deterministic) 8279 } else { 8280 b = b[:cap(b)] 8281 n, err := m.MarshalToSizedBuffer(b) 8282 if err != nil { 8283 return nil, err 8284 } 8285 return b[:n], nil 8286 } 8287 } 8288 func (m *Rule) XXX_Merge(src proto.Message) { 8289 xxx_messageInfo_Rule.Merge(m, src) 8290 } 8291 func (m *Rule) XXX_Size() int { 8292 return m.Size() 8293 } 8294 func (m *Rule) XXX_DiscardUnknown() { 8295 xxx_messageInfo_Rule.DiscardUnknown(m) 8296 } 8297 8298 var xxx_messageInfo_Rule proto.InternalMessageInfo 8299 8300 // ImpersonateConditions specifies whether users are allowed 8301 // to issue certificates for other users or groups. 8302 type ImpersonateConditions struct { 8303 // Users is a list of resources this role is allowed to impersonate, 8304 // could be an empty list or a Wildcard pattern 8305 Users []string `protobuf:"bytes,1,rep,name=Users,proto3" json:"users,omitempty"` 8306 // Roles is a list of resources this role is allowed to impersonate 8307 Roles []string `protobuf:"bytes,2,rep,name=Roles,proto3" json:"roles,omitempty"` 8308 // Where specifies optional advanced matcher 8309 Where string `protobuf:"bytes,3,opt,name=Where,proto3" json:"where,omitempty"` 8310 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8311 XXX_unrecognized []byte `json:"-"` 8312 XXX_sizecache int32 `json:"-"` 8313 } 8314 8315 func (m *ImpersonateConditions) Reset() { *m = ImpersonateConditions{} } 8316 func (m *ImpersonateConditions) String() string { return proto.CompactTextString(m) } 8317 func (*ImpersonateConditions) ProtoMessage() {} 8318 func (*ImpersonateConditions) Descriptor() ([]byte, []int) { 8319 return fileDescriptor_9198ee693835762e, []int{129} 8320 } 8321 func (m *ImpersonateConditions) XXX_Unmarshal(b []byte) error { 8322 return m.Unmarshal(b) 8323 } 8324 func (m *ImpersonateConditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8325 if deterministic { 8326 return xxx_messageInfo_ImpersonateConditions.Marshal(b, m, deterministic) 8327 } else { 8328 b = b[:cap(b)] 8329 n, err := m.MarshalToSizedBuffer(b) 8330 if err != nil { 8331 return nil, err 8332 } 8333 return b[:n], nil 8334 } 8335 } 8336 func (m *ImpersonateConditions) XXX_Merge(src proto.Message) { 8337 xxx_messageInfo_ImpersonateConditions.Merge(m, src) 8338 } 8339 func (m *ImpersonateConditions) XXX_Size() int { 8340 return m.Size() 8341 } 8342 func (m *ImpersonateConditions) XXX_DiscardUnknown() { 8343 xxx_messageInfo_ImpersonateConditions.DiscardUnknown(m) 8344 } 8345 8346 var xxx_messageInfo_ImpersonateConditions proto.InternalMessageInfo 8347 8348 // BoolValue is a wrapper around bool, used in cases 8349 // whenever bool value can have different default value when missing 8350 type BoolValue struct { 8351 Value bool `protobuf:"varint,1,opt,name=Value,proto3" json:"Value,omitempty"` 8352 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8353 XXX_unrecognized []byte `json:"-"` 8354 XXX_sizecache int32 `json:"-"` 8355 } 8356 8357 func (m *BoolValue) Reset() { *m = BoolValue{} } 8358 func (m *BoolValue) String() string { return proto.CompactTextString(m) } 8359 func (*BoolValue) ProtoMessage() {} 8360 func (*BoolValue) Descriptor() ([]byte, []int) { 8361 return fileDescriptor_9198ee693835762e, []int{130} 8362 } 8363 func (m *BoolValue) XXX_Unmarshal(b []byte) error { 8364 return m.Unmarshal(b) 8365 } 8366 func (m *BoolValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8367 if deterministic { 8368 return xxx_messageInfo_BoolValue.Marshal(b, m, deterministic) 8369 } else { 8370 b = b[:cap(b)] 8371 n, err := m.MarshalToSizedBuffer(b) 8372 if err != nil { 8373 return nil, err 8374 } 8375 return b[:n], nil 8376 } 8377 } 8378 func (m *BoolValue) XXX_Merge(src proto.Message) { 8379 xxx_messageInfo_BoolValue.Merge(m, src) 8380 } 8381 func (m *BoolValue) XXX_Size() int { 8382 return m.Size() 8383 } 8384 func (m *BoolValue) XXX_DiscardUnknown() { 8385 xxx_messageInfo_BoolValue.DiscardUnknown(m) 8386 } 8387 8388 var xxx_messageInfo_BoolValue proto.InternalMessageInfo 8389 8390 // UserFilter matches user resources. 8391 type UserFilter struct { 8392 // SearchKeywords is a list of search keywords to match against resource field values. 8393 SearchKeywords []string `protobuf:"bytes,1,rep,name=SearchKeywords,proto3" json:"search_keywords,omitempty"` 8394 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8395 XXX_unrecognized []byte `json:"-"` 8396 XXX_sizecache int32 `json:"-"` 8397 } 8398 8399 func (m *UserFilter) Reset() { *m = UserFilter{} } 8400 func (m *UserFilter) String() string { return proto.CompactTextString(m) } 8401 func (*UserFilter) ProtoMessage() {} 8402 func (*UserFilter) Descriptor() ([]byte, []int) { 8403 return fileDescriptor_9198ee693835762e, []int{131} 8404 } 8405 func (m *UserFilter) XXX_Unmarshal(b []byte) error { 8406 return m.Unmarshal(b) 8407 } 8408 func (m *UserFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8409 if deterministic { 8410 return xxx_messageInfo_UserFilter.Marshal(b, m, deterministic) 8411 } else { 8412 b = b[:cap(b)] 8413 n, err := m.MarshalToSizedBuffer(b) 8414 if err != nil { 8415 return nil, err 8416 } 8417 return b[:n], nil 8418 } 8419 } 8420 func (m *UserFilter) XXX_Merge(src proto.Message) { 8421 xxx_messageInfo_UserFilter.Merge(m, src) 8422 } 8423 func (m *UserFilter) XXX_Size() int { 8424 return m.Size() 8425 } 8426 func (m *UserFilter) XXX_DiscardUnknown() { 8427 xxx_messageInfo_UserFilter.DiscardUnknown(m) 8428 } 8429 8430 var xxx_messageInfo_UserFilter proto.InternalMessageInfo 8431 8432 // UserV2 is version 2 resource spec of the user 8433 type UserV2 struct { 8434 // Kind is a resource kind 8435 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 8436 // SubKind is an optional resource sub kind, used in some resources 8437 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 8438 // Version is the resource version. It must be specified. 8439 // Supported values are: `v2`. 8440 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 8441 // Metadata is resource metadata 8442 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 8443 // Spec is a user specification 8444 Spec UserSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 8445 Status UserStatusV2 `protobuf:"bytes,6,opt,name=Status,proto3" json:"status,omitempty"` 8446 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8447 XXX_unrecognized []byte `json:"-"` 8448 XXX_sizecache int32 `json:"-"` 8449 } 8450 8451 func (m *UserV2) Reset() { *m = UserV2{} } 8452 func (*UserV2) ProtoMessage() {} 8453 func (*UserV2) Descriptor() ([]byte, []int) { 8454 return fileDescriptor_9198ee693835762e, []int{132} 8455 } 8456 func (m *UserV2) XXX_Unmarshal(b []byte) error { 8457 return m.Unmarshal(b) 8458 } 8459 func (m *UserV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8460 if deterministic { 8461 return xxx_messageInfo_UserV2.Marshal(b, m, deterministic) 8462 } else { 8463 b = b[:cap(b)] 8464 n, err := m.MarshalToSizedBuffer(b) 8465 if err != nil { 8466 return nil, err 8467 } 8468 return b[:n], nil 8469 } 8470 } 8471 func (m *UserV2) XXX_Merge(src proto.Message) { 8472 xxx_messageInfo_UserV2.Merge(m, src) 8473 } 8474 func (m *UserV2) XXX_Size() int { 8475 return m.Size() 8476 } 8477 func (m *UserV2) XXX_DiscardUnknown() { 8478 xxx_messageInfo_UserV2.DiscardUnknown(m) 8479 } 8480 8481 var xxx_messageInfo_UserV2 proto.InternalMessageInfo 8482 8483 // UserStatusV2 is a dynamic state of UserV2. 8484 type UserStatusV2 struct { 8485 // password_state reflects what the system knows about the user's password. 8486 // Note that this is a "best effort" property, in that it can be UNSPECIFIED 8487 // for users who were created before this property was introduced and didn't 8488 // perform any password-related activity since then. See RFD 0159 for 8489 // details. Do NOT use this value for authentication purposes! 8490 PasswordState PasswordState `protobuf:"varint,1,opt,name=password_state,json=passwordState,proto3,enum=types.PasswordState" json:"password_state,omitempty"` 8491 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8492 XXX_unrecognized []byte `json:"-"` 8493 XXX_sizecache int32 `json:"-"` 8494 } 8495 8496 func (m *UserStatusV2) Reset() { *m = UserStatusV2{} } 8497 func (m *UserStatusV2) String() string { return proto.CompactTextString(m) } 8498 func (*UserStatusV2) ProtoMessage() {} 8499 func (*UserStatusV2) Descriptor() ([]byte, []int) { 8500 return fileDescriptor_9198ee693835762e, []int{133} 8501 } 8502 func (m *UserStatusV2) XXX_Unmarshal(b []byte) error { 8503 return m.Unmarshal(b) 8504 } 8505 func (m *UserStatusV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8506 if deterministic { 8507 return xxx_messageInfo_UserStatusV2.Marshal(b, m, deterministic) 8508 } else { 8509 b = b[:cap(b)] 8510 n, err := m.MarshalToSizedBuffer(b) 8511 if err != nil { 8512 return nil, err 8513 } 8514 return b[:n], nil 8515 } 8516 } 8517 func (m *UserStatusV2) XXX_Merge(src proto.Message) { 8518 xxx_messageInfo_UserStatusV2.Merge(m, src) 8519 } 8520 func (m *UserStatusV2) XXX_Size() int { 8521 return m.Size() 8522 } 8523 func (m *UserStatusV2) XXX_DiscardUnknown() { 8524 xxx_messageInfo_UserStatusV2.DiscardUnknown(m) 8525 } 8526 8527 var xxx_messageInfo_UserStatusV2 proto.InternalMessageInfo 8528 8529 // UserSpecV2 is a specification for V2 user 8530 type UserSpecV2 struct { 8531 // OIDCIdentities lists associated OpenID Connect identities 8532 // that let user log in using externally verified identity 8533 OIDCIdentities []ExternalIdentity `protobuf:"bytes,1,rep,name=OIDCIdentities,proto3" json:"oidc_identities,omitempty"` 8534 // SAMLIdentities lists associated SAML identities 8535 // that let user log in using externally verified identity 8536 SAMLIdentities []ExternalIdentity `protobuf:"bytes,2,rep,name=SAMLIdentities,proto3" json:"saml_identities,omitempty"` 8537 // GithubIdentities list associated Github OAuth2 identities 8538 // that let user log in using externally verified identity 8539 GithubIdentities []ExternalIdentity `protobuf:"bytes,3,rep,name=GithubIdentities,proto3" json:"github_identities,omitempty"` 8540 // Roles is a list of roles assigned to user 8541 Roles []string `protobuf:"bytes,4,rep,name=Roles,proto3" json:"roles,omitempty"` 8542 // Traits are key/value pairs received from an identity provider (through 8543 // OIDC claims or SAML assertions) or from a system administrator for local 8544 // accounts. Traits are used to populate role variables. 8545 Traits github_com_gravitational_teleport_api_types_wrappers.Traits `protobuf:"bytes,5,opt,name=Traits,proto3,customtype=github.com/gravitational/teleport/api/types/wrappers.Traits" json:"traits,omitempty"` 8546 // Status is a login status of the user 8547 Status LoginStatus `protobuf:"bytes,6,opt,name=Status,proto3" json:"status,omitempty"` 8548 // Expires if set sets TTL on the user 8549 Expires time.Time `protobuf:"bytes,7,opt,name=Expires,proto3,stdtime" json:"expires"` 8550 // CreatedBy holds information about agent or person created this user 8551 CreatedBy CreatedBy `protobuf:"bytes,8,opt,name=CreatedBy,proto3" json:"created_by,omitempty"` 8552 // LocalAuth holds sensitive data necessary for performing local 8553 // authentication 8554 LocalAuth *LocalAuthSecrets `protobuf:"bytes,9,opt,name=LocalAuth,proto3" json:"local_auth,omitempty"` 8555 // TrustedDeviceIDs contains the IDs of trusted devices enrolled by the user. 8556 // Managed by the Device Trust subsystem, avoid manual edits. 8557 TrustedDeviceIDs []string `protobuf:"bytes,10,rep,name=TrustedDeviceIDs,proto3" json:"trusted_device_ids,omitempty"` 8558 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8559 XXX_unrecognized []byte `json:"-"` 8560 XXX_sizecache int32 `json:"-"` 8561 } 8562 8563 func (m *UserSpecV2) Reset() { *m = UserSpecV2{} } 8564 func (m *UserSpecV2) String() string { return proto.CompactTextString(m) } 8565 func (*UserSpecV2) ProtoMessage() {} 8566 func (*UserSpecV2) Descriptor() ([]byte, []int) { 8567 return fileDescriptor_9198ee693835762e, []int{134} 8568 } 8569 func (m *UserSpecV2) XXX_Unmarshal(b []byte) error { 8570 return m.Unmarshal(b) 8571 } 8572 func (m *UserSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8573 if deterministic { 8574 return xxx_messageInfo_UserSpecV2.Marshal(b, m, deterministic) 8575 } else { 8576 b = b[:cap(b)] 8577 n, err := m.MarshalToSizedBuffer(b) 8578 if err != nil { 8579 return nil, err 8580 } 8581 return b[:n], nil 8582 } 8583 } 8584 func (m *UserSpecV2) XXX_Merge(src proto.Message) { 8585 xxx_messageInfo_UserSpecV2.Merge(m, src) 8586 } 8587 func (m *UserSpecV2) XXX_Size() int { 8588 return m.Size() 8589 } 8590 func (m *UserSpecV2) XXX_DiscardUnknown() { 8591 xxx_messageInfo_UserSpecV2.DiscardUnknown(m) 8592 } 8593 8594 var xxx_messageInfo_UserSpecV2 proto.InternalMessageInfo 8595 8596 // ExternalIdentity is OpenID Connect/SAML or Github identity that is linked 8597 // to particular user and connector and lets user to log in using external 8598 // credentials, e.g. google 8599 type ExternalIdentity struct { 8600 // ConnectorID is id of registered OIDC connector, e.g. 'google-example.com' 8601 ConnectorID string `protobuf:"bytes,1,opt,name=ConnectorID,proto3" json:"connector_id,omitempty"` 8602 // Username is username supplied by external identity provider 8603 Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"username,omitempty"` 8604 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8605 XXX_unrecognized []byte `json:"-"` 8606 XXX_sizecache int32 `json:"-"` 8607 } 8608 8609 func (m *ExternalIdentity) Reset() { *m = ExternalIdentity{} } 8610 func (*ExternalIdentity) ProtoMessage() {} 8611 func (*ExternalIdentity) Descriptor() ([]byte, []int) { 8612 return fileDescriptor_9198ee693835762e, []int{135} 8613 } 8614 func (m *ExternalIdentity) XXX_Unmarshal(b []byte) error { 8615 return m.Unmarshal(b) 8616 } 8617 func (m *ExternalIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8618 if deterministic { 8619 return xxx_messageInfo_ExternalIdentity.Marshal(b, m, deterministic) 8620 } else { 8621 b = b[:cap(b)] 8622 n, err := m.MarshalToSizedBuffer(b) 8623 if err != nil { 8624 return nil, err 8625 } 8626 return b[:n], nil 8627 } 8628 } 8629 func (m *ExternalIdentity) XXX_Merge(src proto.Message) { 8630 xxx_messageInfo_ExternalIdentity.Merge(m, src) 8631 } 8632 func (m *ExternalIdentity) XXX_Size() int { 8633 return m.Size() 8634 } 8635 func (m *ExternalIdentity) XXX_DiscardUnknown() { 8636 xxx_messageInfo_ExternalIdentity.DiscardUnknown(m) 8637 } 8638 8639 var xxx_messageInfo_ExternalIdentity proto.InternalMessageInfo 8640 8641 // LoginStatus is a login status of the user 8642 type LoginStatus struct { 8643 // IsLocked tells us if user is locked 8644 IsLocked bool `protobuf:"varint,1,opt,name=IsLocked,proto3" json:"is_locked"` 8645 // LockedMessage contains the message in case if user is locked 8646 LockedMessage string `protobuf:"bytes,2,opt,name=LockedMessage,proto3" json:"locked_message,omitempty"` 8647 // LockedTime contains time when user was locked 8648 LockedTime time.Time `protobuf:"bytes,3,opt,name=LockedTime,proto3,stdtime" json:"locked_time,omitempty"` 8649 // LockExpires contains time when this lock will expire 8650 LockExpires time.Time `protobuf:"bytes,4,opt,name=LockExpires,proto3,stdtime" json:"lock_expires,omitempty"` 8651 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8652 XXX_unrecognized []byte `json:"-"` 8653 XXX_sizecache int32 `json:"-"` 8654 } 8655 8656 func (m *LoginStatus) Reset() { *m = LoginStatus{} } 8657 func (m *LoginStatus) String() string { return proto.CompactTextString(m) } 8658 func (*LoginStatus) ProtoMessage() {} 8659 func (*LoginStatus) Descriptor() ([]byte, []int) { 8660 return fileDescriptor_9198ee693835762e, []int{136} 8661 } 8662 func (m *LoginStatus) XXX_Unmarshal(b []byte) error { 8663 return m.Unmarshal(b) 8664 } 8665 func (m *LoginStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8666 if deterministic { 8667 return xxx_messageInfo_LoginStatus.Marshal(b, m, deterministic) 8668 } else { 8669 b = b[:cap(b)] 8670 n, err := m.MarshalToSizedBuffer(b) 8671 if err != nil { 8672 return nil, err 8673 } 8674 return b[:n], nil 8675 } 8676 } 8677 func (m *LoginStatus) XXX_Merge(src proto.Message) { 8678 xxx_messageInfo_LoginStatus.Merge(m, src) 8679 } 8680 func (m *LoginStatus) XXX_Size() int { 8681 return m.Size() 8682 } 8683 func (m *LoginStatus) XXX_DiscardUnknown() { 8684 xxx_messageInfo_LoginStatus.DiscardUnknown(m) 8685 } 8686 8687 var xxx_messageInfo_LoginStatus proto.InternalMessageInfo 8688 8689 // CreatedBy holds information about the person or agent who created the user 8690 type CreatedBy struct { 8691 // Identity if present means that user was automatically created by identity 8692 Connector *ConnectorRef `protobuf:"bytes,1,opt,name=Connector,proto3" json:"connector,omitempty"` 8693 // Time specifies when user was created 8694 Time time.Time `protobuf:"bytes,2,opt,name=Time,proto3,stdtime" json:"time"` 8695 // User holds information about user 8696 User UserRef `protobuf:"bytes,3,opt,name=User,proto3" json:"user"` 8697 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8698 XXX_unrecognized []byte `json:"-"` 8699 XXX_sizecache int32 `json:"-"` 8700 } 8701 8702 func (m *CreatedBy) Reset() { *m = CreatedBy{} } 8703 func (*CreatedBy) ProtoMessage() {} 8704 func (*CreatedBy) Descriptor() ([]byte, []int) { 8705 return fileDescriptor_9198ee693835762e, []int{137} 8706 } 8707 func (m *CreatedBy) XXX_Unmarshal(b []byte) error { 8708 return m.Unmarshal(b) 8709 } 8710 func (m *CreatedBy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8711 if deterministic { 8712 return xxx_messageInfo_CreatedBy.Marshal(b, m, deterministic) 8713 } else { 8714 b = b[:cap(b)] 8715 n, err := m.MarshalToSizedBuffer(b) 8716 if err != nil { 8717 return nil, err 8718 } 8719 return b[:n], nil 8720 } 8721 } 8722 func (m *CreatedBy) XXX_Merge(src proto.Message) { 8723 xxx_messageInfo_CreatedBy.Merge(m, src) 8724 } 8725 func (m *CreatedBy) XXX_Size() int { 8726 return m.Size() 8727 } 8728 func (m *CreatedBy) XXX_DiscardUnknown() { 8729 xxx_messageInfo_CreatedBy.DiscardUnknown(m) 8730 } 8731 8732 var xxx_messageInfo_CreatedBy proto.InternalMessageInfo 8733 8734 // LocalAuthSecrets holds sensitive data used to authenticate a local user. 8735 type LocalAuthSecrets struct { 8736 // PasswordHash encodes a combined salt & hash for password verification. 8737 PasswordHash []byte `protobuf:"bytes,1,opt,name=PasswordHash,proto3" json:"password_hash,omitempty"` 8738 // Deprecated 2nd factor fields, use MFA below instead. 8739 TOTPKey string `protobuf:"bytes,2,opt,name=TOTPKey,proto3" json:"totp_key,omitempty"` 8740 MFA []*MFADevice `protobuf:"bytes,5,rep,name=MFA,proto3" json:"mfa,omitempty"` 8741 // Webauthn holds settings necessary for webauthn local auth. 8742 // May be null for legacy users or users that haven't yet used webauthn as 8743 // their second factor. 8744 Webauthn *WebauthnLocalAuth `protobuf:"bytes,6,opt,name=Webauthn,proto3" json:"webauthn,omitempty"` 8745 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8746 XXX_unrecognized []byte `json:"-"` 8747 XXX_sizecache int32 `json:"-"` 8748 } 8749 8750 func (m *LocalAuthSecrets) Reset() { *m = LocalAuthSecrets{} } 8751 func (m *LocalAuthSecrets) String() string { return proto.CompactTextString(m) } 8752 func (*LocalAuthSecrets) ProtoMessage() {} 8753 func (*LocalAuthSecrets) Descriptor() ([]byte, []int) { 8754 return fileDescriptor_9198ee693835762e, []int{138} 8755 } 8756 func (m *LocalAuthSecrets) XXX_Unmarshal(b []byte) error { 8757 return m.Unmarshal(b) 8758 } 8759 func (m *LocalAuthSecrets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8760 if deterministic { 8761 return xxx_messageInfo_LocalAuthSecrets.Marshal(b, m, deterministic) 8762 } else { 8763 b = b[:cap(b)] 8764 n, err := m.MarshalToSizedBuffer(b) 8765 if err != nil { 8766 return nil, err 8767 } 8768 return b[:n], nil 8769 } 8770 } 8771 func (m *LocalAuthSecrets) XXX_Merge(src proto.Message) { 8772 xxx_messageInfo_LocalAuthSecrets.Merge(m, src) 8773 } 8774 func (m *LocalAuthSecrets) XXX_Size() int { 8775 return m.Size() 8776 } 8777 func (m *LocalAuthSecrets) XXX_DiscardUnknown() { 8778 xxx_messageInfo_LocalAuthSecrets.DiscardUnknown(m) 8779 } 8780 8781 var xxx_messageInfo_LocalAuthSecrets proto.InternalMessageInfo 8782 8783 // MFADevice is a multi-factor authentication device, such as a security key or 8784 // an OTP app. 8785 type MFADevice struct { 8786 // Boilerplate for implementing the Resource interface. 8787 Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` 8788 SubKind string `protobuf:"bytes,2,opt,name=sub_kind,json=subKind,proto3" json:"sub_kind,omitempty"` 8789 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` 8790 Metadata Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata"` 8791 // ID is a UUID of this device. 8792 Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` 8793 AddedAt time.Time `protobuf:"bytes,6,opt,name=added_at,json=addedAt,proto3,stdtime" json:"added_at"` 8794 LastUsed time.Time `protobuf:"bytes,7,opt,name=last_used,json=lastUsed,proto3,stdtime" json:"last_used"` 8795 // Types that are valid to be assigned to Device: 8796 // 8797 // *MFADevice_Totp 8798 // *MFADevice_U2F 8799 // *MFADevice_Webauthn 8800 Device isMFADevice_Device `protobuf_oneof:"device"` 8801 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8802 XXX_unrecognized []byte `json:"-"` 8803 XXX_sizecache int32 `json:"-"` 8804 } 8805 8806 func (m *MFADevice) Reset() { *m = MFADevice{} } 8807 func (m *MFADevice) String() string { return proto.CompactTextString(m) } 8808 func (*MFADevice) ProtoMessage() {} 8809 func (*MFADevice) Descriptor() ([]byte, []int) { 8810 return fileDescriptor_9198ee693835762e, []int{139} 8811 } 8812 func (m *MFADevice) XXX_Unmarshal(b []byte) error { 8813 return m.Unmarshal(b) 8814 } 8815 func (m *MFADevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8816 if deterministic { 8817 return xxx_messageInfo_MFADevice.Marshal(b, m, deterministic) 8818 } else { 8819 b = b[:cap(b)] 8820 n, err := m.MarshalToSizedBuffer(b) 8821 if err != nil { 8822 return nil, err 8823 } 8824 return b[:n], nil 8825 } 8826 } 8827 func (m *MFADevice) XXX_Merge(src proto.Message) { 8828 xxx_messageInfo_MFADevice.Merge(m, src) 8829 } 8830 func (m *MFADevice) XXX_Size() int { 8831 return m.Size() 8832 } 8833 func (m *MFADevice) XXX_DiscardUnknown() { 8834 xxx_messageInfo_MFADevice.DiscardUnknown(m) 8835 } 8836 8837 var xxx_messageInfo_MFADevice proto.InternalMessageInfo 8838 8839 type isMFADevice_Device interface { 8840 isMFADevice_Device() 8841 MarshalTo([]byte) (int, error) 8842 Size() int 8843 } 8844 8845 type MFADevice_Totp struct { 8846 Totp *TOTPDevice `protobuf:"bytes,8,opt,name=totp,proto3,oneof" json:"totp,omitempty"` 8847 } 8848 type MFADevice_U2F struct { 8849 U2F *U2FDevice `protobuf:"bytes,9,opt,name=u2f,proto3,oneof" json:"u2f,omitempty"` 8850 } 8851 type MFADevice_Webauthn struct { 8852 Webauthn *WebauthnDevice `protobuf:"bytes,10,opt,name=webauthn,proto3,oneof" json:"webauthn,omitempty"` 8853 } 8854 8855 func (*MFADevice_Totp) isMFADevice_Device() {} 8856 func (*MFADevice_U2F) isMFADevice_Device() {} 8857 func (*MFADevice_Webauthn) isMFADevice_Device() {} 8858 8859 func (m *MFADevice) GetDevice() isMFADevice_Device { 8860 if m != nil { 8861 return m.Device 8862 } 8863 return nil 8864 } 8865 8866 func (m *MFADevice) GetTotp() *TOTPDevice { 8867 if x, ok := m.GetDevice().(*MFADevice_Totp); ok { 8868 return x.Totp 8869 } 8870 return nil 8871 } 8872 8873 func (m *MFADevice) GetU2F() *U2FDevice { 8874 if x, ok := m.GetDevice().(*MFADevice_U2F); ok { 8875 return x.U2F 8876 } 8877 return nil 8878 } 8879 8880 func (m *MFADevice) GetWebauthn() *WebauthnDevice { 8881 if x, ok := m.GetDevice().(*MFADevice_Webauthn); ok { 8882 return x.Webauthn 8883 } 8884 return nil 8885 } 8886 8887 // XXX_OneofWrappers is for the internal use of the proto package. 8888 func (*MFADevice) XXX_OneofWrappers() []interface{} { 8889 return []interface{}{ 8890 (*MFADevice_Totp)(nil), 8891 (*MFADevice_U2F)(nil), 8892 (*MFADevice_Webauthn)(nil), 8893 } 8894 } 8895 8896 // TOTPDevice holds the TOTP-specific fields of MFADevice. 8897 type TOTPDevice struct { 8898 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 8899 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8900 XXX_unrecognized []byte `json:"-"` 8901 XXX_sizecache int32 `json:"-"` 8902 } 8903 8904 func (m *TOTPDevice) Reset() { *m = TOTPDevice{} } 8905 func (m *TOTPDevice) String() string { return proto.CompactTextString(m) } 8906 func (*TOTPDevice) ProtoMessage() {} 8907 func (*TOTPDevice) Descriptor() ([]byte, []int) { 8908 return fileDescriptor_9198ee693835762e, []int{140} 8909 } 8910 func (m *TOTPDevice) XXX_Unmarshal(b []byte) error { 8911 return m.Unmarshal(b) 8912 } 8913 func (m *TOTPDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8914 if deterministic { 8915 return xxx_messageInfo_TOTPDevice.Marshal(b, m, deterministic) 8916 } else { 8917 b = b[:cap(b)] 8918 n, err := m.MarshalToSizedBuffer(b) 8919 if err != nil { 8920 return nil, err 8921 } 8922 return b[:n], nil 8923 } 8924 } 8925 func (m *TOTPDevice) XXX_Merge(src proto.Message) { 8926 xxx_messageInfo_TOTPDevice.Merge(m, src) 8927 } 8928 func (m *TOTPDevice) XXX_Size() int { 8929 return m.Size() 8930 } 8931 func (m *TOTPDevice) XXX_DiscardUnknown() { 8932 xxx_messageInfo_TOTPDevice.DiscardUnknown(m) 8933 } 8934 8935 var xxx_messageInfo_TOTPDevice proto.InternalMessageInfo 8936 8937 // U2FDevice holds the U2F-specific fields of MFADevice. 8938 type U2FDevice struct { 8939 // KeyHandle uniquely identifies a key on a device 8940 KeyHandle []byte `protobuf:"bytes,1,opt,name=key_handle,json=keyHandle,proto3" json:"key_handle,omitempty"` 8941 // PubKey is an DER encoded ecdsa public key 8942 PubKey []byte `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` 8943 // Counter is the latest seen value of the U2F usage counter. 8944 Counter uint32 `protobuf:"varint,3,opt,name=counter,proto3" json:"counter,omitempty"` 8945 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8946 XXX_unrecognized []byte `json:"-"` 8947 XXX_sizecache int32 `json:"-"` 8948 } 8949 8950 func (m *U2FDevice) Reset() { *m = U2FDevice{} } 8951 func (m *U2FDevice) String() string { return proto.CompactTextString(m) } 8952 func (*U2FDevice) ProtoMessage() {} 8953 func (*U2FDevice) Descriptor() ([]byte, []int) { 8954 return fileDescriptor_9198ee693835762e, []int{141} 8955 } 8956 func (m *U2FDevice) XXX_Unmarshal(b []byte) error { 8957 return m.Unmarshal(b) 8958 } 8959 func (m *U2FDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8960 if deterministic { 8961 return xxx_messageInfo_U2FDevice.Marshal(b, m, deterministic) 8962 } else { 8963 b = b[:cap(b)] 8964 n, err := m.MarshalToSizedBuffer(b) 8965 if err != nil { 8966 return nil, err 8967 } 8968 return b[:n], nil 8969 } 8970 } 8971 func (m *U2FDevice) XXX_Merge(src proto.Message) { 8972 xxx_messageInfo_U2FDevice.Merge(m, src) 8973 } 8974 func (m *U2FDevice) XXX_Size() int { 8975 return m.Size() 8976 } 8977 func (m *U2FDevice) XXX_DiscardUnknown() { 8978 xxx_messageInfo_U2FDevice.DiscardUnknown(m) 8979 } 8980 8981 var xxx_messageInfo_U2FDevice proto.InternalMessageInfo 8982 8983 // WebauthnDevice holds Webauthn-specific fields of MFADevice. 8984 type WebauthnDevice struct { 8985 // Credential ID for the authenticator. 8986 CredentialId []byte `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"` 8987 // Public key encoded in CBOR format. 8988 // Webauthn support various key algorithms; CBOR encoding is used to reflect 8989 // those choices. 8990 // See https://w3c.github.io/webauthn/#sctn-alg-identifier for a starter 8991 // reference. 8992 PublicKeyCbor []byte `protobuf:"bytes,2,opt,name=public_key_cbor,json=publicKeyCbor,proto3" json:"public_key_cbor,omitempty"` 8993 // Attestation format used by the authenticator, if any. 8994 AttestationType string `protobuf:"bytes,3,opt,name=attestation_type,json=attestationType,proto3" json:"attestation_type,omitempty"` 8995 // AAGUID is the globally unique identifier of the authenticator model. 8996 // Zeroed for U2F devices. 8997 Aaguid []byte `protobuf:"bytes,4,opt,name=aaguid,proto3" json:"aaguid,omitempty"` 8998 // Signature counter for login operations. 8999 // Actual counter values received from the authenticator are expected to be 9000 // higher than the previously-stored value. 9001 SignatureCounter uint32 `protobuf:"varint,5,opt,name=signature_counter,json=signatureCounter,proto3" json:"signature_counter,omitempty"` 9002 // Raw attestation object, as returned by the authentication during 9003 // registration. 9004 // Absent for legacy entries (Teleport 8.x). 9005 AttestationObject []byte `protobuf:"bytes,6,opt,name=attestation_object,json=attestationObject,proto3" json:"attestation_object,omitempty"` 9006 // True if a resident key was requested during registration. 9007 // Marks passwordless-capable devices. 9008 // (Note that resident_key=true represents the server-side / Relying Party 9009 // view of the registration process; the authenticator alone can determine 9010 // if a key is truly resident.) 9011 ResidentKey bool `protobuf:"varint,7,opt,name=resident_key,json=residentKey,proto3" json:"resident_key,omitempty"` 9012 // Relying Party ID used by the credential. 9013 // Recorded on registration for new credentials, or on first successful 9014 // authentication for "old" credentials (created before the field existed). 9015 // Ideally, this is always the same as the configured RPID. 9016 // If an RPID change does happen, this helps Teleport detect it and react 9017 // accordingly. 9018 CredentialRpId string `protobuf:"bytes,8,opt,name=credential_rp_id,json=credentialRpId,proto3" json:"credential_rp_id,omitempty"` 9019 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9020 XXX_unrecognized []byte `json:"-"` 9021 XXX_sizecache int32 `json:"-"` 9022 } 9023 9024 func (m *WebauthnDevice) Reset() { *m = WebauthnDevice{} } 9025 func (m *WebauthnDevice) String() string { return proto.CompactTextString(m) } 9026 func (*WebauthnDevice) ProtoMessage() {} 9027 func (*WebauthnDevice) Descriptor() ([]byte, []int) { 9028 return fileDescriptor_9198ee693835762e, []int{142} 9029 } 9030 func (m *WebauthnDevice) XXX_Unmarshal(b []byte) error { 9031 return m.Unmarshal(b) 9032 } 9033 func (m *WebauthnDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9034 if deterministic { 9035 return xxx_messageInfo_WebauthnDevice.Marshal(b, m, deterministic) 9036 } else { 9037 b = b[:cap(b)] 9038 n, err := m.MarshalToSizedBuffer(b) 9039 if err != nil { 9040 return nil, err 9041 } 9042 return b[:n], nil 9043 } 9044 } 9045 func (m *WebauthnDevice) XXX_Merge(src proto.Message) { 9046 xxx_messageInfo_WebauthnDevice.Merge(m, src) 9047 } 9048 func (m *WebauthnDevice) XXX_Size() int { 9049 return m.Size() 9050 } 9051 func (m *WebauthnDevice) XXX_DiscardUnknown() { 9052 xxx_messageInfo_WebauthnDevice.DiscardUnknown(m) 9053 } 9054 9055 var xxx_messageInfo_WebauthnDevice proto.InternalMessageInfo 9056 9057 // WebauthnLocalAuth holds settings necessary for local webauthn use. 9058 type WebauthnLocalAuth struct { 9059 // UserID is the random user handle generated for the user. 9060 // See https://www.w3.org/TR/webauthn-2/#sctn-user-handle-privacy. 9061 UserID []byte `protobuf:"bytes,1,opt,name=UserID,proto3" json:"user_id,omitempty"` 9062 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9063 XXX_unrecognized []byte `json:"-"` 9064 XXX_sizecache int32 `json:"-"` 9065 } 9066 9067 func (m *WebauthnLocalAuth) Reset() { *m = WebauthnLocalAuth{} } 9068 func (m *WebauthnLocalAuth) String() string { return proto.CompactTextString(m) } 9069 func (*WebauthnLocalAuth) ProtoMessage() {} 9070 func (*WebauthnLocalAuth) Descriptor() ([]byte, []int) { 9071 return fileDescriptor_9198ee693835762e, []int{143} 9072 } 9073 func (m *WebauthnLocalAuth) XXX_Unmarshal(b []byte) error { 9074 return m.Unmarshal(b) 9075 } 9076 func (m *WebauthnLocalAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9077 if deterministic { 9078 return xxx_messageInfo_WebauthnLocalAuth.Marshal(b, m, deterministic) 9079 } else { 9080 b = b[:cap(b)] 9081 n, err := m.MarshalToSizedBuffer(b) 9082 if err != nil { 9083 return nil, err 9084 } 9085 return b[:n], nil 9086 } 9087 } 9088 func (m *WebauthnLocalAuth) XXX_Merge(src proto.Message) { 9089 xxx_messageInfo_WebauthnLocalAuth.Merge(m, src) 9090 } 9091 func (m *WebauthnLocalAuth) XXX_Size() int { 9092 return m.Size() 9093 } 9094 func (m *WebauthnLocalAuth) XXX_DiscardUnknown() { 9095 xxx_messageInfo_WebauthnLocalAuth.DiscardUnknown(m) 9096 } 9097 9098 var xxx_messageInfo_WebauthnLocalAuth proto.InternalMessageInfo 9099 9100 // ConnectorRef holds information about OIDC connector 9101 type ConnectorRef struct { 9102 // Type is connector type 9103 Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"type"` 9104 // ID is connector ID 9105 ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"id"` 9106 // Identity is external identity of the user 9107 Identity string `protobuf:"bytes,3,opt,name=Identity,proto3" json:"identity"` 9108 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9109 XXX_unrecognized []byte `json:"-"` 9110 XXX_sizecache int32 `json:"-"` 9111 } 9112 9113 func (m *ConnectorRef) Reset() { *m = ConnectorRef{} } 9114 func (m *ConnectorRef) String() string { return proto.CompactTextString(m) } 9115 func (*ConnectorRef) ProtoMessage() {} 9116 func (*ConnectorRef) Descriptor() ([]byte, []int) { 9117 return fileDescriptor_9198ee693835762e, []int{144} 9118 } 9119 func (m *ConnectorRef) XXX_Unmarshal(b []byte) error { 9120 return m.Unmarshal(b) 9121 } 9122 func (m *ConnectorRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9123 if deterministic { 9124 return xxx_messageInfo_ConnectorRef.Marshal(b, m, deterministic) 9125 } else { 9126 b = b[:cap(b)] 9127 n, err := m.MarshalToSizedBuffer(b) 9128 if err != nil { 9129 return nil, err 9130 } 9131 return b[:n], nil 9132 } 9133 } 9134 func (m *ConnectorRef) XXX_Merge(src proto.Message) { 9135 xxx_messageInfo_ConnectorRef.Merge(m, src) 9136 } 9137 func (m *ConnectorRef) XXX_Size() int { 9138 return m.Size() 9139 } 9140 func (m *ConnectorRef) XXX_DiscardUnknown() { 9141 xxx_messageInfo_ConnectorRef.DiscardUnknown(m) 9142 } 9143 9144 var xxx_messageInfo_ConnectorRef proto.InternalMessageInfo 9145 9146 // UserRef holds references to user 9147 type UserRef struct { 9148 // Name is name of the user 9149 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 9150 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9151 XXX_unrecognized []byte `json:"-"` 9152 XXX_sizecache int32 `json:"-"` 9153 } 9154 9155 func (m *UserRef) Reset() { *m = UserRef{} } 9156 func (m *UserRef) String() string { return proto.CompactTextString(m) } 9157 func (*UserRef) ProtoMessage() {} 9158 func (*UserRef) Descriptor() ([]byte, []int) { 9159 return fileDescriptor_9198ee693835762e, []int{145} 9160 } 9161 func (m *UserRef) XXX_Unmarshal(b []byte) error { 9162 return m.Unmarshal(b) 9163 } 9164 func (m *UserRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9165 if deterministic { 9166 return xxx_messageInfo_UserRef.Marshal(b, m, deterministic) 9167 } else { 9168 b = b[:cap(b)] 9169 n, err := m.MarshalToSizedBuffer(b) 9170 if err != nil { 9171 return nil, err 9172 } 9173 return b[:n], nil 9174 } 9175 } 9176 func (m *UserRef) XXX_Merge(src proto.Message) { 9177 xxx_messageInfo_UserRef.Merge(m, src) 9178 } 9179 func (m *UserRef) XXX_Size() int { 9180 return m.Size() 9181 } 9182 func (m *UserRef) XXX_DiscardUnknown() { 9183 xxx_messageInfo_UserRef.DiscardUnknown(m) 9184 } 9185 9186 var xxx_messageInfo_UserRef proto.InternalMessageInfo 9187 9188 // ReverseTunnelV2 is version 2 of the resource spec of the reverse tunnel 9189 type ReverseTunnelV2 struct { 9190 // Kind is a resource kind 9191 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 9192 // SubKind is an optional resource sub kind, used in some resources 9193 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 9194 // Version is version 9195 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 9196 // Metadata is a resource metadata 9197 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 9198 // Spec is a reverse tunnel specification 9199 Spec ReverseTunnelSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 9200 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9201 XXX_unrecognized []byte `json:"-"` 9202 XXX_sizecache int32 `json:"-"` 9203 } 9204 9205 func (m *ReverseTunnelV2) Reset() { *m = ReverseTunnelV2{} } 9206 func (m *ReverseTunnelV2) String() string { return proto.CompactTextString(m) } 9207 func (*ReverseTunnelV2) ProtoMessage() {} 9208 func (*ReverseTunnelV2) Descriptor() ([]byte, []int) { 9209 return fileDescriptor_9198ee693835762e, []int{146} 9210 } 9211 func (m *ReverseTunnelV2) XXX_Unmarshal(b []byte) error { 9212 return m.Unmarshal(b) 9213 } 9214 func (m *ReverseTunnelV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9215 if deterministic { 9216 return xxx_messageInfo_ReverseTunnelV2.Marshal(b, m, deterministic) 9217 } else { 9218 b = b[:cap(b)] 9219 n, err := m.MarshalToSizedBuffer(b) 9220 if err != nil { 9221 return nil, err 9222 } 9223 return b[:n], nil 9224 } 9225 } 9226 func (m *ReverseTunnelV2) XXX_Merge(src proto.Message) { 9227 xxx_messageInfo_ReverseTunnelV2.Merge(m, src) 9228 } 9229 func (m *ReverseTunnelV2) XXX_Size() int { 9230 return m.Size() 9231 } 9232 func (m *ReverseTunnelV2) XXX_DiscardUnknown() { 9233 xxx_messageInfo_ReverseTunnelV2.DiscardUnknown(m) 9234 } 9235 9236 var xxx_messageInfo_ReverseTunnelV2 proto.InternalMessageInfo 9237 9238 // ReverseTunnelSpecV2 is a specification for V2 reverse tunnel 9239 type ReverseTunnelSpecV2 struct { 9240 // ClusterName is a domain name of remote cluster we are connecting to 9241 ClusterName string `protobuf:"bytes,1,opt,name=ClusterName,proto3" json:"cluster_name"` 9242 // DialAddrs is a list of remote address to establish a connection to 9243 // it's always SSH over TCP 9244 DialAddrs []string `protobuf:"bytes,2,rep,name=DialAddrs,proto3" json:"dial_addrs,omitempty"` 9245 // Type is the type of reverse tunnel, either proxy or node. 9246 Type TunnelType `protobuf:"bytes,3,opt,name=Type,proto3,casttype=TunnelType" json:"type"` 9247 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9248 XXX_unrecognized []byte `json:"-"` 9249 XXX_sizecache int32 `json:"-"` 9250 } 9251 9252 func (m *ReverseTunnelSpecV2) Reset() { *m = ReverseTunnelSpecV2{} } 9253 func (m *ReverseTunnelSpecV2) String() string { return proto.CompactTextString(m) } 9254 func (*ReverseTunnelSpecV2) ProtoMessage() {} 9255 func (*ReverseTunnelSpecV2) Descriptor() ([]byte, []int) { 9256 return fileDescriptor_9198ee693835762e, []int{147} 9257 } 9258 func (m *ReverseTunnelSpecV2) XXX_Unmarshal(b []byte) error { 9259 return m.Unmarshal(b) 9260 } 9261 func (m *ReverseTunnelSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9262 if deterministic { 9263 return xxx_messageInfo_ReverseTunnelSpecV2.Marshal(b, m, deterministic) 9264 } else { 9265 b = b[:cap(b)] 9266 n, err := m.MarshalToSizedBuffer(b) 9267 if err != nil { 9268 return nil, err 9269 } 9270 return b[:n], nil 9271 } 9272 } 9273 func (m *ReverseTunnelSpecV2) XXX_Merge(src proto.Message) { 9274 xxx_messageInfo_ReverseTunnelSpecV2.Merge(m, src) 9275 } 9276 func (m *ReverseTunnelSpecV2) XXX_Size() int { 9277 return m.Size() 9278 } 9279 func (m *ReverseTunnelSpecV2) XXX_DiscardUnknown() { 9280 xxx_messageInfo_ReverseTunnelSpecV2.DiscardUnknown(m) 9281 } 9282 9283 var xxx_messageInfo_ReverseTunnelSpecV2 proto.InternalMessageInfo 9284 9285 // TunnelConnectionV2 is version 2 of the resource spec of the tunnel connection 9286 type TunnelConnectionV2 struct { 9287 // Kind is a resource kind 9288 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 9289 // SubKind is an optional resource sub kind, used in some resources 9290 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 9291 // Version is version 9292 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 9293 // Metadata is a resource metadata 9294 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 9295 // Spec is a tunnel specification 9296 Spec TunnelConnectionSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 9297 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9298 XXX_unrecognized []byte `json:"-"` 9299 XXX_sizecache int32 `json:"-"` 9300 } 9301 9302 func (m *TunnelConnectionV2) Reset() { *m = TunnelConnectionV2{} } 9303 func (*TunnelConnectionV2) ProtoMessage() {} 9304 func (*TunnelConnectionV2) Descriptor() ([]byte, []int) { 9305 return fileDescriptor_9198ee693835762e, []int{148} 9306 } 9307 func (m *TunnelConnectionV2) XXX_Unmarshal(b []byte) error { 9308 return m.Unmarshal(b) 9309 } 9310 func (m *TunnelConnectionV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9311 if deterministic { 9312 return xxx_messageInfo_TunnelConnectionV2.Marshal(b, m, deterministic) 9313 } else { 9314 b = b[:cap(b)] 9315 n, err := m.MarshalToSizedBuffer(b) 9316 if err != nil { 9317 return nil, err 9318 } 9319 return b[:n], nil 9320 } 9321 } 9322 func (m *TunnelConnectionV2) XXX_Merge(src proto.Message) { 9323 xxx_messageInfo_TunnelConnectionV2.Merge(m, src) 9324 } 9325 func (m *TunnelConnectionV2) XXX_Size() int { 9326 return m.Size() 9327 } 9328 func (m *TunnelConnectionV2) XXX_DiscardUnknown() { 9329 xxx_messageInfo_TunnelConnectionV2.DiscardUnknown(m) 9330 } 9331 9332 var xxx_messageInfo_TunnelConnectionV2 proto.InternalMessageInfo 9333 9334 // TunnelConnectionSpecV2 is a specification for V2 tunnel connection 9335 type TunnelConnectionSpecV2 struct { 9336 // ClusterName is a name of the cluster 9337 ClusterName string `protobuf:"bytes,1,opt,name=ClusterName,proto3" json:"cluster_name"` 9338 // ProxyName is the name of the proxy server 9339 ProxyName string `protobuf:"bytes,2,opt,name=ProxyName,proto3" json:"proxy_name"` 9340 // LastHeartbeat is a time of the last heartbeat 9341 LastHeartbeat time.Time `protobuf:"bytes,3,opt,name=LastHeartbeat,proto3,stdtime" json:"last_heartbeat,omitempty"` 9342 // Type is the type of reverse tunnel, either proxy or node. 9343 Type TunnelType `protobuf:"bytes,4,opt,name=Type,proto3,casttype=TunnelType" json:"type"` 9344 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9345 XXX_unrecognized []byte `json:"-"` 9346 XXX_sizecache int32 `json:"-"` 9347 } 9348 9349 func (m *TunnelConnectionSpecV2) Reset() { *m = TunnelConnectionSpecV2{} } 9350 func (m *TunnelConnectionSpecV2) String() string { return proto.CompactTextString(m) } 9351 func (*TunnelConnectionSpecV2) ProtoMessage() {} 9352 func (*TunnelConnectionSpecV2) Descriptor() ([]byte, []int) { 9353 return fileDescriptor_9198ee693835762e, []int{149} 9354 } 9355 func (m *TunnelConnectionSpecV2) XXX_Unmarshal(b []byte) error { 9356 return m.Unmarshal(b) 9357 } 9358 func (m *TunnelConnectionSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9359 if deterministic { 9360 return xxx_messageInfo_TunnelConnectionSpecV2.Marshal(b, m, deterministic) 9361 } else { 9362 b = b[:cap(b)] 9363 n, err := m.MarshalToSizedBuffer(b) 9364 if err != nil { 9365 return nil, err 9366 } 9367 return b[:n], nil 9368 } 9369 } 9370 func (m *TunnelConnectionSpecV2) XXX_Merge(src proto.Message) { 9371 xxx_messageInfo_TunnelConnectionSpecV2.Merge(m, src) 9372 } 9373 func (m *TunnelConnectionSpecV2) XXX_Size() int { 9374 return m.Size() 9375 } 9376 func (m *TunnelConnectionSpecV2) XXX_DiscardUnknown() { 9377 xxx_messageInfo_TunnelConnectionSpecV2.DiscardUnknown(m) 9378 } 9379 9380 var xxx_messageInfo_TunnelConnectionSpecV2 proto.InternalMessageInfo 9381 9382 // SemaphoreFilter encodes semaphore filtering params. 9383 // A semaphore filter matches a semaphore if all nonzero fields 9384 // match the corresponding semaphore fields (e.g. a filter which 9385 // specifies only `kind=foo` would match all semaphores of 9386 // kind `foo`). 9387 type SemaphoreFilter struct { 9388 // SemaphoreKind is the kind of the semaphore. 9389 SemaphoreKind string `protobuf:"bytes,1,opt,name=SemaphoreKind,proto3" json:"kind"` 9390 // SemaphoreName is the name of the semaphore. 9391 SemaphoreName string `protobuf:"bytes,2,opt,name=SemaphoreName,proto3" json:"name"` 9392 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9393 XXX_unrecognized []byte `json:"-"` 9394 XXX_sizecache int32 `json:"-"` 9395 } 9396 9397 func (m *SemaphoreFilter) Reset() { *m = SemaphoreFilter{} } 9398 func (m *SemaphoreFilter) String() string { return proto.CompactTextString(m) } 9399 func (*SemaphoreFilter) ProtoMessage() {} 9400 func (*SemaphoreFilter) Descriptor() ([]byte, []int) { 9401 return fileDescriptor_9198ee693835762e, []int{150} 9402 } 9403 func (m *SemaphoreFilter) XXX_Unmarshal(b []byte) error { 9404 return m.Unmarshal(b) 9405 } 9406 func (m *SemaphoreFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9407 if deterministic { 9408 return xxx_messageInfo_SemaphoreFilter.Marshal(b, m, deterministic) 9409 } else { 9410 b = b[:cap(b)] 9411 n, err := m.MarshalToSizedBuffer(b) 9412 if err != nil { 9413 return nil, err 9414 } 9415 return b[:n], nil 9416 } 9417 } 9418 func (m *SemaphoreFilter) XXX_Merge(src proto.Message) { 9419 xxx_messageInfo_SemaphoreFilter.Merge(m, src) 9420 } 9421 func (m *SemaphoreFilter) XXX_Size() int { 9422 return m.Size() 9423 } 9424 func (m *SemaphoreFilter) XXX_DiscardUnknown() { 9425 xxx_messageInfo_SemaphoreFilter.DiscardUnknown(m) 9426 } 9427 9428 var xxx_messageInfo_SemaphoreFilter proto.InternalMessageInfo 9429 9430 // AcquireSemaphoreRequest holds semaphore lease acquisition parameters. 9431 type AcquireSemaphoreRequest struct { 9432 // SemaphoreKind is the kind of the semaphore. 9433 SemaphoreKind string `protobuf:"bytes,1,opt,name=SemaphoreKind,proto3" json:"kind"` 9434 // SemaphoreName is the name of the semaphore. 9435 SemaphoreName string `protobuf:"bytes,2,opt,name=SemaphoreName,proto3" json:"name"` 9436 // MaxLeases is the maximum number of concurrent leases. If acquisition 9437 // would cause more than MaxLeases to exist, acquisition must fail. 9438 MaxLeases int64 `protobuf:"varint,3,opt,name=MaxLeases,proto3" json:"max_resources"` 9439 // Expires is the time at which this lease expires. 9440 Expires time.Time `protobuf:"bytes,4,opt,name=Expires,proto3,stdtime" json:"expires"` 9441 // Holder identifies the entity holding the lease. 9442 Holder string `protobuf:"bytes,5,opt,name=Holder,proto3" json:"holder"` 9443 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9444 XXX_unrecognized []byte `json:"-"` 9445 XXX_sizecache int32 `json:"-"` 9446 } 9447 9448 func (m *AcquireSemaphoreRequest) Reset() { *m = AcquireSemaphoreRequest{} } 9449 func (m *AcquireSemaphoreRequest) String() string { return proto.CompactTextString(m) } 9450 func (*AcquireSemaphoreRequest) ProtoMessage() {} 9451 func (*AcquireSemaphoreRequest) Descriptor() ([]byte, []int) { 9452 return fileDescriptor_9198ee693835762e, []int{151} 9453 } 9454 func (m *AcquireSemaphoreRequest) XXX_Unmarshal(b []byte) error { 9455 return m.Unmarshal(b) 9456 } 9457 func (m *AcquireSemaphoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9458 if deterministic { 9459 return xxx_messageInfo_AcquireSemaphoreRequest.Marshal(b, m, deterministic) 9460 } else { 9461 b = b[:cap(b)] 9462 n, err := m.MarshalToSizedBuffer(b) 9463 if err != nil { 9464 return nil, err 9465 } 9466 return b[:n], nil 9467 } 9468 } 9469 func (m *AcquireSemaphoreRequest) XXX_Merge(src proto.Message) { 9470 xxx_messageInfo_AcquireSemaphoreRequest.Merge(m, src) 9471 } 9472 func (m *AcquireSemaphoreRequest) XXX_Size() int { 9473 return m.Size() 9474 } 9475 func (m *AcquireSemaphoreRequest) XXX_DiscardUnknown() { 9476 xxx_messageInfo_AcquireSemaphoreRequest.DiscardUnknown(m) 9477 } 9478 9479 var xxx_messageInfo_AcquireSemaphoreRequest proto.InternalMessageInfo 9480 9481 // SemaphoreLease represents lease acquired for semaphore 9482 type SemaphoreLease struct { 9483 // SemaphoreKind is the kind of the semaphore. 9484 SemaphoreKind string `protobuf:"bytes,1,opt,name=SemaphoreKind,proto3" json:"kind"` 9485 // SemaphoreName is the name of the semaphore. 9486 SemaphoreName string `protobuf:"bytes,2,opt,name=SemaphoreName,proto3" json:"name"` 9487 // LeaseID uniquely identifies this lease. 9488 LeaseID string `protobuf:"bytes,3,opt,name=LeaseID,proto3" json:"lease_id"` 9489 // Expires is the time at which this lease expires. 9490 Expires time.Time `protobuf:"bytes,5,opt,name=Expires,proto3,stdtime" json:"expires"` 9491 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9492 XXX_unrecognized []byte `json:"-"` 9493 XXX_sizecache int32 `json:"-"` 9494 } 9495 9496 func (m *SemaphoreLease) Reset() { *m = SemaphoreLease{} } 9497 func (m *SemaphoreLease) String() string { return proto.CompactTextString(m) } 9498 func (*SemaphoreLease) ProtoMessage() {} 9499 func (*SemaphoreLease) Descriptor() ([]byte, []int) { 9500 return fileDescriptor_9198ee693835762e, []int{152} 9501 } 9502 func (m *SemaphoreLease) XXX_Unmarshal(b []byte) error { 9503 return m.Unmarshal(b) 9504 } 9505 func (m *SemaphoreLease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9506 if deterministic { 9507 return xxx_messageInfo_SemaphoreLease.Marshal(b, m, deterministic) 9508 } else { 9509 b = b[:cap(b)] 9510 n, err := m.MarshalToSizedBuffer(b) 9511 if err != nil { 9512 return nil, err 9513 } 9514 return b[:n], nil 9515 } 9516 } 9517 func (m *SemaphoreLease) XXX_Merge(src proto.Message) { 9518 xxx_messageInfo_SemaphoreLease.Merge(m, src) 9519 } 9520 func (m *SemaphoreLease) XXX_Size() int { 9521 return m.Size() 9522 } 9523 func (m *SemaphoreLease) XXX_DiscardUnknown() { 9524 xxx_messageInfo_SemaphoreLease.DiscardUnknown(m) 9525 } 9526 9527 var xxx_messageInfo_SemaphoreLease proto.InternalMessageInfo 9528 9529 // SemaphoreLeaseRef identifies an existent lease. 9530 type SemaphoreLeaseRef struct { 9531 // LeaseID is the unique ID of the lease. 9532 LeaseID string `protobuf:"bytes,1,opt,name=LeaseID,proto3" json:"lease_id"` 9533 // Expires is the time at which the lease expires. 9534 Expires time.Time `protobuf:"bytes,2,opt,name=Expires,proto3,stdtime" json:"expires"` 9535 // Holder identifies the lease holder. 9536 Holder string `protobuf:"bytes,3,opt,name=Holder,proto3" json:"holder"` 9537 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9538 XXX_unrecognized []byte `json:"-"` 9539 XXX_sizecache int32 `json:"-"` 9540 } 9541 9542 func (m *SemaphoreLeaseRef) Reset() { *m = SemaphoreLeaseRef{} } 9543 func (m *SemaphoreLeaseRef) String() string { return proto.CompactTextString(m) } 9544 func (*SemaphoreLeaseRef) ProtoMessage() {} 9545 func (*SemaphoreLeaseRef) Descriptor() ([]byte, []int) { 9546 return fileDescriptor_9198ee693835762e, []int{153} 9547 } 9548 func (m *SemaphoreLeaseRef) XXX_Unmarshal(b []byte) error { 9549 return m.Unmarshal(b) 9550 } 9551 func (m *SemaphoreLeaseRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9552 if deterministic { 9553 return xxx_messageInfo_SemaphoreLeaseRef.Marshal(b, m, deterministic) 9554 } else { 9555 b = b[:cap(b)] 9556 n, err := m.MarshalToSizedBuffer(b) 9557 if err != nil { 9558 return nil, err 9559 } 9560 return b[:n], nil 9561 } 9562 } 9563 func (m *SemaphoreLeaseRef) XXX_Merge(src proto.Message) { 9564 xxx_messageInfo_SemaphoreLeaseRef.Merge(m, src) 9565 } 9566 func (m *SemaphoreLeaseRef) XXX_Size() int { 9567 return m.Size() 9568 } 9569 func (m *SemaphoreLeaseRef) XXX_DiscardUnknown() { 9570 xxx_messageInfo_SemaphoreLeaseRef.DiscardUnknown(m) 9571 } 9572 9573 var xxx_messageInfo_SemaphoreLeaseRef proto.InternalMessageInfo 9574 9575 // SemaphoreV3 implements Semaphore interface 9576 type SemaphoreV3 struct { 9577 // Kind is a resource kind 9578 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 9579 // SubKind is an optional resource sub kind, used in some resources 9580 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 9581 // Version is version 9582 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 9583 // Metadata is Semaphore metadata 9584 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 9585 // Spec is a lease V3 spec 9586 Spec SemaphoreSpecV3 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 9587 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9588 XXX_unrecognized []byte `json:"-"` 9589 XXX_sizecache int32 `json:"-"` 9590 } 9591 9592 func (m *SemaphoreV3) Reset() { *m = SemaphoreV3{} } 9593 func (*SemaphoreV3) ProtoMessage() {} 9594 func (*SemaphoreV3) Descriptor() ([]byte, []int) { 9595 return fileDescriptor_9198ee693835762e, []int{154} 9596 } 9597 func (m *SemaphoreV3) XXX_Unmarshal(b []byte) error { 9598 return m.Unmarshal(b) 9599 } 9600 func (m *SemaphoreV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9601 if deterministic { 9602 return xxx_messageInfo_SemaphoreV3.Marshal(b, m, deterministic) 9603 } else { 9604 b = b[:cap(b)] 9605 n, err := m.MarshalToSizedBuffer(b) 9606 if err != nil { 9607 return nil, err 9608 } 9609 return b[:n], nil 9610 } 9611 } 9612 func (m *SemaphoreV3) XXX_Merge(src proto.Message) { 9613 xxx_messageInfo_SemaphoreV3.Merge(m, src) 9614 } 9615 func (m *SemaphoreV3) XXX_Size() int { 9616 return m.Size() 9617 } 9618 func (m *SemaphoreV3) XXX_DiscardUnknown() { 9619 xxx_messageInfo_SemaphoreV3.DiscardUnknown(m) 9620 } 9621 9622 var xxx_messageInfo_SemaphoreV3 proto.InternalMessageInfo 9623 9624 // SemaphoreSpecV3 contains the data about lease 9625 type SemaphoreSpecV3 struct { 9626 // Leases is a list of all currently acquired leases. 9627 Leases []SemaphoreLeaseRef `protobuf:"bytes,1,rep,name=Leases,proto3" json:"leases"` 9628 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9629 XXX_unrecognized []byte `json:"-"` 9630 XXX_sizecache int32 `json:"-"` 9631 } 9632 9633 func (m *SemaphoreSpecV3) Reset() { *m = SemaphoreSpecV3{} } 9634 func (m *SemaphoreSpecV3) String() string { return proto.CompactTextString(m) } 9635 func (*SemaphoreSpecV3) ProtoMessage() {} 9636 func (*SemaphoreSpecV3) Descriptor() ([]byte, []int) { 9637 return fileDescriptor_9198ee693835762e, []int{155} 9638 } 9639 func (m *SemaphoreSpecV3) XXX_Unmarshal(b []byte) error { 9640 return m.Unmarshal(b) 9641 } 9642 func (m *SemaphoreSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9643 if deterministic { 9644 return xxx_messageInfo_SemaphoreSpecV3.Marshal(b, m, deterministic) 9645 } else { 9646 b = b[:cap(b)] 9647 n, err := m.MarshalToSizedBuffer(b) 9648 if err != nil { 9649 return nil, err 9650 } 9651 return b[:n], nil 9652 } 9653 } 9654 func (m *SemaphoreSpecV3) XXX_Merge(src proto.Message) { 9655 xxx_messageInfo_SemaphoreSpecV3.Merge(m, src) 9656 } 9657 func (m *SemaphoreSpecV3) XXX_Size() int { 9658 return m.Size() 9659 } 9660 func (m *SemaphoreSpecV3) XXX_DiscardUnknown() { 9661 xxx_messageInfo_SemaphoreSpecV3.DiscardUnknown(m) 9662 } 9663 9664 var xxx_messageInfo_SemaphoreSpecV3 proto.InternalMessageInfo 9665 9666 // WebSessionV2 represents an application or UI web session. 9667 type WebSessionV2 struct { 9668 // Kind is a resource kind. 9669 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 9670 // SubKind is an optional resource sub kind, used in some resources. 9671 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 9672 // Version is version. 9673 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 9674 // Metadata is a resource metadata. 9675 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 9676 // Spec is a tunnel specification. 9677 Spec WebSessionSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 9678 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9679 XXX_unrecognized []byte `json:"-"` 9680 XXX_sizecache int32 `json:"-"` 9681 } 9682 9683 func (m *WebSessionV2) Reset() { *m = WebSessionV2{} } 9684 func (*WebSessionV2) ProtoMessage() {} 9685 func (*WebSessionV2) Descriptor() ([]byte, []int) { 9686 return fileDescriptor_9198ee693835762e, []int{156} 9687 } 9688 func (m *WebSessionV2) XXX_Unmarshal(b []byte) error { 9689 return m.Unmarshal(b) 9690 } 9691 func (m *WebSessionV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9692 if deterministic { 9693 return xxx_messageInfo_WebSessionV2.Marshal(b, m, deterministic) 9694 } else { 9695 b = b[:cap(b)] 9696 n, err := m.MarshalToSizedBuffer(b) 9697 if err != nil { 9698 return nil, err 9699 } 9700 return b[:n], nil 9701 } 9702 } 9703 func (m *WebSessionV2) XXX_Merge(src proto.Message) { 9704 xxx_messageInfo_WebSessionV2.Merge(m, src) 9705 } 9706 func (m *WebSessionV2) XXX_Size() int { 9707 return m.Size() 9708 } 9709 func (m *WebSessionV2) XXX_DiscardUnknown() { 9710 xxx_messageInfo_WebSessionV2.DiscardUnknown(m) 9711 } 9712 9713 var xxx_messageInfo_WebSessionV2 proto.InternalMessageInfo 9714 9715 // WebSessionSpecV2 is a specification for web session. 9716 type WebSessionSpecV2 struct { 9717 // User is the identity of the user to which the web session belongs. 9718 User string `protobuf:"bytes,1,opt,name=User,proto3" json:"user"` 9719 // Pub is the SSH certificate for the user, marshaled in the authorized key 9720 // format. 9721 Pub []byte `protobuf:"bytes,2,opt,name=Pub,proto3" json:"pub"` 9722 // Priv is the SSH private key for the user. 9723 Priv []byte `protobuf:"bytes,3,opt,name=Priv,proto3" json:"priv,omitempty"` 9724 // TLSCert is the X.509 certificate for the user (PEM-encoded). 9725 TLSCert []byte `protobuf:"bytes,4,opt,name=TLSCert,proto3" json:"tls_cert,omitempty"` 9726 // BearerToken is a token that is paired with the session cookie for 9727 // authentication. It is periodically rotated so a stolen cookie itself 9728 // is not enough to steal a session. In addition it is used for CSRF 9729 // mitigation. 9730 BearerToken string `protobuf:"bytes,5,opt,name=BearerToken,proto3" json:"bearer_token"` 9731 // BearerTokenExpires is the absolute time when the token expires. 9732 BearerTokenExpires time.Time `protobuf:"bytes,6,opt,name=BearerTokenExpires,proto3,stdtime" json:"bearer_token_expires"` 9733 // Expires is the absolute time when the session expires. 9734 Expires time.Time `protobuf:"bytes,7,opt,name=Expires,proto3,stdtime" json:"expires"` 9735 // LoginTime is the time this user recently logged in. 9736 LoginTime time.Time `protobuf:"bytes,8,opt,name=LoginTime,proto3,stdtime" json:"login_time"` 9737 // IdleTimeout is the max time a user can be inactive in a session. 9738 IdleTimeout Duration `protobuf:"varint,9,opt,name=IdleTimeout,proto3,casttype=Duration" json:"idle_timeout"` 9739 // ConsumedAccessRequestID is the ID of the access request from which additional roles to assume 9740 // were obtained. 9741 ConsumedAccessRequestID string `protobuf:"bytes,10,opt,name=ConsumedAccessRequestID,proto3" json:"consumed_access_request_id,omitempty"` 9742 // SAMLSession is data associated with a SAML IdP session. 9743 SAMLSession *SAMLSessionData `protobuf:"bytes,11,opt,name=SAMLSession,proto3" json:"saml_session,omitempty"` 9744 // Device trust web authentication token. 9745 // May be exchanged for a single on-behalf-of device authentication attempt 9746 // (typically performed by Connect). 9747 // Only present if on-behalf-of device authentication is possible. 9748 DeviceWebToken *DeviceWebToken `protobuf:"bytes,12,opt,name=DeviceWebToken,proto3" json:"device_web_token,omitempty"` 9749 // HasDeviceExtensions is true if the session's TLS and SSH certificates are 9750 // augmented with device extensions. 9751 HasDeviceExtensions bool `protobuf:"varint,13,opt,name=HasDeviceExtensions,proto3" json:"has_device_extensions,omitempty"` 9752 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9753 XXX_unrecognized []byte `json:"-"` 9754 XXX_sizecache int32 `json:"-"` 9755 } 9756 9757 func (m *WebSessionSpecV2) Reset() { *m = WebSessionSpecV2{} } 9758 func (m *WebSessionSpecV2) String() string { return proto.CompactTextString(m) } 9759 func (*WebSessionSpecV2) ProtoMessage() {} 9760 func (*WebSessionSpecV2) Descriptor() ([]byte, []int) { 9761 return fileDescriptor_9198ee693835762e, []int{157} 9762 } 9763 func (m *WebSessionSpecV2) XXX_Unmarshal(b []byte) error { 9764 return m.Unmarshal(b) 9765 } 9766 func (m *WebSessionSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9767 if deterministic { 9768 return xxx_messageInfo_WebSessionSpecV2.Marshal(b, m, deterministic) 9769 } else { 9770 b = b[:cap(b)] 9771 n, err := m.MarshalToSizedBuffer(b) 9772 if err != nil { 9773 return nil, err 9774 } 9775 return b[:n], nil 9776 } 9777 } 9778 func (m *WebSessionSpecV2) XXX_Merge(src proto.Message) { 9779 xxx_messageInfo_WebSessionSpecV2.Merge(m, src) 9780 } 9781 func (m *WebSessionSpecV2) XXX_Size() int { 9782 return m.Size() 9783 } 9784 func (m *WebSessionSpecV2) XXX_DiscardUnknown() { 9785 xxx_messageInfo_WebSessionSpecV2.DiscardUnknown(m) 9786 } 9787 9788 var xxx_messageInfo_WebSessionSpecV2 proto.InternalMessageInfo 9789 9790 // Web-focused view of teleport.devicetrust.v1.DeviceWebToken. 9791 type DeviceWebToken struct { 9792 // Opaque token identifier. 9793 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 9794 // Opaque device web token, in plaintext, encoded in base64.RawURLEncoding 9795 // (so it is inherently safe for URl use). 9796 Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` 9797 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9798 XXX_unrecognized []byte `json:"-"` 9799 XXX_sizecache int32 `json:"-"` 9800 } 9801 9802 func (m *DeviceWebToken) Reset() { *m = DeviceWebToken{} } 9803 func (m *DeviceWebToken) String() string { return proto.CompactTextString(m) } 9804 func (*DeviceWebToken) ProtoMessage() {} 9805 func (*DeviceWebToken) Descriptor() ([]byte, []int) { 9806 return fileDescriptor_9198ee693835762e, []int{158} 9807 } 9808 func (m *DeviceWebToken) XXX_Unmarshal(b []byte) error { 9809 return m.Unmarshal(b) 9810 } 9811 func (m *DeviceWebToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9812 if deterministic { 9813 return xxx_messageInfo_DeviceWebToken.Marshal(b, m, deterministic) 9814 } else { 9815 b = b[:cap(b)] 9816 n, err := m.MarshalToSizedBuffer(b) 9817 if err != nil { 9818 return nil, err 9819 } 9820 return b[:n], nil 9821 } 9822 } 9823 func (m *DeviceWebToken) XXX_Merge(src proto.Message) { 9824 xxx_messageInfo_DeviceWebToken.Merge(m, src) 9825 } 9826 func (m *DeviceWebToken) XXX_Size() int { 9827 return m.Size() 9828 } 9829 func (m *DeviceWebToken) XXX_DiscardUnknown() { 9830 xxx_messageInfo_DeviceWebToken.DiscardUnknown(m) 9831 } 9832 9833 var xxx_messageInfo_DeviceWebToken proto.InternalMessageInfo 9834 9835 // WebSessionFilter encodes cache watch parameters for filtering web sessions. 9836 type WebSessionFilter struct { 9837 // User is the username to filter web sessions for. 9838 User string `protobuf:"bytes,1,opt,name=User,proto3" json:"user"` 9839 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9840 XXX_unrecognized []byte `json:"-"` 9841 XXX_sizecache int32 `json:"-"` 9842 } 9843 9844 func (m *WebSessionFilter) Reset() { *m = WebSessionFilter{} } 9845 func (m *WebSessionFilter) String() string { return proto.CompactTextString(m) } 9846 func (*WebSessionFilter) ProtoMessage() {} 9847 func (*WebSessionFilter) Descriptor() ([]byte, []int) { 9848 return fileDescriptor_9198ee693835762e, []int{159} 9849 } 9850 func (m *WebSessionFilter) XXX_Unmarshal(b []byte) error { 9851 return m.Unmarshal(b) 9852 } 9853 func (m *WebSessionFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9854 if deterministic { 9855 return xxx_messageInfo_WebSessionFilter.Marshal(b, m, deterministic) 9856 } else { 9857 b = b[:cap(b)] 9858 n, err := m.MarshalToSizedBuffer(b) 9859 if err != nil { 9860 return nil, err 9861 } 9862 return b[:n], nil 9863 } 9864 } 9865 func (m *WebSessionFilter) XXX_Merge(src proto.Message) { 9866 xxx_messageInfo_WebSessionFilter.Merge(m, src) 9867 } 9868 func (m *WebSessionFilter) XXX_Size() int { 9869 return m.Size() 9870 } 9871 func (m *WebSessionFilter) XXX_DiscardUnknown() { 9872 xxx_messageInfo_WebSessionFilter.DiscardUnknown(m) 9873 } 9874 9875 var xxx_messageInfo_WebSessionFilter proto.InternalMessageInfo 9876 9877 // SAMLSessionData contains data for a SAML session. 9878 // Based on crewjam/saml's session object: https://github.com/crewjam/saml/blob/main/identity_provider.go 9879 type SAMLSessionData struct { 9880 // ID is the identifier for the SAML session. 9881 ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"id"` 9882 // CreateTime is the time that the session was created. 9883 CreateTime time.Time `protobuf:"bytes,2,opt,name=CreateTime,proto3,stdtime" json:"create_time"` 9884 // ExpireTime is the time that the session will expire. 9885 ExpireTime time.Time `protobuf:"bytes,3,opt,name=ExpireTime,proto3,stdtime" json:"expire_time"` 9886 // Index is the session index that allows the IdP to uniquely identify a session. 9887 Index string `protobuf:"bytes,4,opt,name=Index,proto3" json:"index"` 9888 // NameID an identifier for the session. 9889 NameID string `protobuf:"bytes,5,opt,name=NameID,proto3" json:"name_id"` 9890 // NameIDFormat is the format of the Name ID. 9891 NameIDFormat string `protobuf:"bytes,6,opt,name=NameIDFormat,proto3" json:"name_id_format"` 9892 // SubjectID is the identifier for the subject of the session. 9893 SubjectID string `protobuf:"bytes,7,opt,name=SubjectID,proto3" json:"subject_id"` 9894 // Groups is a list of groups that the user has access to. 9895 Groups []string `protobuf:"bytes,8,rep,name=Groups,proto3" json:"groups"` 9896 // UserName is the user's name. 9897 UserName string `protobuf:"bytes,9,opt,name=UserName,proto3" json:"user_name"` 9898 // UserEmail is the user's e-mail. 9899 UserEmail string `protobuf:"bytes,10,opt,name=UserEmail,proto3" json:"user_email"` 9900 // UserCommonName is the user's common name. 9901 UserCommonName string `protobuf:"bytes,11,opt,name=UserCommonName,proto3" json:"user_common_name"` 9902 // UserSurname is the user's surname. 9903 UserSurname string `protobuf:"bytes,12,opt,name=UserSurname,proto3" json:"user_surname"` 9904 // UserGivenName is the user's given name. 9905 UserGivenName string `protobuf:"bytes,13,opt,name=UserGivenName,proto3" json:"user_given_name"` 9906 // UserScopedAffiliation is the user's scoped affiliation. 9907 UserScopedAffiliation string `protobuf:"bytes,14,opt,name=UserScopedAffiliation,proto3" json:"user_scoped_affiliation"` 9908 // CustomAttributes are any custom attributes associated with the request. 9909 CustomAttributes []*SAMLAttribute `protobuf:"bytes,15,rep,name=CustomAttributes,proto3" json:"custom_attributes"` 9910 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9911 XXX_unrecognized []byte `json:"-"` 9912 XXX_sizecache int32 `json:"-"` 9913 } 9914 9915 func (m *SAMLSessionData) Reset() { *m = SAMLSessionData{} } 9916 func (m *SAMLSessionData) String() string { return proto.CompactTextString(m) } 9917 func (*SAMLSessionData) ProtoMessage() {} 9918 func (*SAMLSessionData) Descriptor() ([]byte, []int) { 9919 return fileDescriptor_9198ee693835762e, []int{160} 9920 } 9921 func (m *SAMLSessionData) XXX_Unmarshal(b []byte) error { 9922 return m.Unmarshal(b) 9923 } 9924 func (m *SAMLSessionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9925 if deterministic { 9926 return xxx_messageInfo_SAMLSessionData.Marshal(b, m, deterministic) 9927 } else { 9928 b = b[:cap(b)] 9929 n, err := m.MarshalToSizedBuffer(b) 9930 if err != nil { 9931 return nil, err 9932 } 9933 return b[:n], nil 9934 } 9935 } 9936 func (m *SAMLSessionData) XXX_Merge(src proto.Message) { 9937 xxx_messageInfo_SAMLSessionData.Merge(m, src) 9938 } 9939 func (m *SAMLSessionData) XXX_Size() int { 9940 return m.Size() 9941 } 9942 func (m *SAMLSessionData) XXX_DiscardUnknown() { 9943 xxx_messageInfo_SAMLSessionData.DiscardUnknown(m) 9944 } 9945 9946 var xxx_messageInfo_SAMLSessionData proto.InternalMessageInfo 9947 9948 // SAMLAttribute contains an attribute name and associated values. 9949 // Defined in http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf. 9950 type SAMLAttribute struct { 9951 // FriendlyName is a user readable name for the attribute. 9952 FriendlyName string `protobuf:"bytes,1,opt,name=FriendlyName,proto3" json:"friendly_name"` 9953 // Name is a full name for the attribute, typically an OID value. 9954 Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"name"` 9955 // NameFormat is the format of the name. 9956 NameFormat string `protobuf:"bytes,3,opt,name=NameFormat,proto3" json:"name_format"` 9957 // Values is a list of attribute values. 9958 Values []*SAMLAttributeValue `protobuf:"bytes,4,rep,name=Values,proto3" json:"values"` 9959 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9960 XXX_unrecognized []byte `json:"-"` 9961 XXX_sizecache int32 `json:"-"` 9962 } 9963 9964 func (m *SAMLAttribute) Reset() { *m = SAMLAttribute{} } 9965 func (m *SAMLAttribute) String() string { return proto.CompactTextString(m) } 9966 func (*SAMLAttribute) ProtoMessage() {} 9967 func (*SAMLAttribute) Descriptor() ([]byte, []int) { 9968 return fileDescriptor_9198ee693835762e, []int{161} 9969 } 9970 func (m *SAMLAttribute) XXX_Unmarshal(b []byte) error { 9971 return m.Unmarshal(b) 9972 } 9973 func (m *SAMLAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9974 if deterministic { 9975 return xxx_messageInfo_SAMLAttribute.Marshal(b, m, deterministic) 9976 } else { 9977 b = b[:cap(b)] 9978 n, err := m.MarshalToSizedBuffer(b) 9979 if err != nil { 9980 return nil, err 9981 } 9982 return b[:n], nil 9983 } 9984 } 9985 func (m *SAMLAttribute) XXX_Merge(src proto.Message) { 9986 xxx_messageInfo_SAMLAttribute.Merge(m, src) 9987 } 9988 func (m *SAMLAttribute) XXX_Size() int { 9989 return m.Size() 9990 } 9991 func (m *SAMLAttribute) XXX_DiscardUnknown() { 9992 xxx_messageInfo_SAMLAttribute.DiscardUnknown(m) 9993 } 9994 9995 var xxx_messageInfo_SAMLAttribute proto.InternalMessageInfo 9996 9997 // SAMLAttributeValues contains a type, value, and an associated name ID block. 9998 // Defined in http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf. 9999 type SAMLAttributeValue struct { 10000 // Type is the type of value this attribute represents. 10001 Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"type"` 10002 // Value is the value of the attribute. 10003 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"value"` 10004 // NameID is a more restrictive identifier for the attribute value. 10005 NameID *SAMLNameID `protobuf:"bytes,3,opt,name=NameID,proto3" json:"name_id,omitempty"` 10006 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10007 XXX_unrecognized []byte `json:"-"` 10008 XXX_sizecache int32 `json:"-"` 10009 } 10010 10011 func (m *SAMLAttributeValue) Reset() { *m = SAMLAttributeValue{} } 10012 func (m *SAMLAttributeValue) String() string { return proto.CompactTextString(m) } 10013 func (*SAMLAttributeValue) ProtoMessage() {} 10014 func (*SAMLAttributeValue) Descriptor() ([]byte, []int) { 10015 return fileDescriptor_9198ee693835762e, []int{162} 10016 } 10017 func (m *SAMLAttributeValue) XXX_Unmarshal(b []byte) error { 10018 return m.Unmarshal(b) 10019 } 10020 func (m *SAMLAttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10021 if deterministic { 10022 return xxx_messageInfo_SAMLAttributeValue.Marshal(b, m, deterministic) 10023 } else { 10024 b = b[:cap(b)] 10025 n, err := m.MarshalToSizedBuffer(b) 10026 if err != nil { 10027 return nil, err 10028 } 10029 return b[:n], nil 10030 } 10031 } 10032 func (m *SAMLAttributeValue) XXX_Merge(src proto.Message) { 10033 xxx_messageInfo_SAMLAttributeValue.Merge(m, src) 10034 } 10035 func (m *SAMLAttributeValue) XXX_Size() int { 10036 return m.Size() 10037 } 10038 func (m *SAMLAttributeValue) XXX_DiscardUnknown() { 10039 xxx_messageInfo_SAMLAttributeValue.DiscardUnknown(m) 10040 } 10041 10042 var xxx_messageInfo_SAMLAttributeValue proto.InternalMessageInfo 10043 10044 // SAMLNameID is a more restrictive identifier for an object in SAML. 10045 // Defined in http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf. 10046 type SAMLNameID struct { 10047 // NameQualifier is the domain that qualifies the identifier. 10048 NameQualifier string `protobuf:"bytes,1,opt,name=NameQualifier,proto3" json:"name_qualifier"` 10049 // SPNameQualifier qualifies the identifier with the name of the service provider. 10050 SPNameQualifier string `protobuf:"bytes,2,opt,name=SPNameQualifier,proto3" json:"sp_name_qualifier"` 10051 // Format is the format of the identifier. 10052 Format string `protobuf:"bytes,3,opt,name=Format,proto3" json:"format"` 10053 // SPProvidedID is an identifier established by the service provider. 10054 SPProvidedID string `protobuf:"bytes,4,opt,name=SPProvidedID,proto3" json:"sp_provider_id"` 10055 // Value is the value of the name ID. 10056 Value string `protobuf:"bytes,5,opt,name=Value,proto3" json:"value"` 10057 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10058 XXX_unrecognized []byte `json:"-"` 10059 XXX_sizecache int32 `json:"-"` 10060 } 10061 10062 func (m *SAMLNameID) Reset() { *m = SAMLNameID{} } 10063 func (m *SAMLNameID) String() string { return proto.CompactTextString(m) } 10064 func (*SAMLNameID) ProtoMessage() {} 10065 func (*SAMLNameID) Descriptor() ([]byte, []int) { 10066 return fileDescriptor_9198ee693835762e, []int{163} 10067 } 10068 func (m *SAMLNameID) XXX_Unmarshal(b []byte) error { 10069 return m.Unmarshal(b) 10070 } 10071 func (m *SAMLNameID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10072 if deterministic { 10073 return xxx_messageInfo_SAMLNameID.Marshal(b, m, deterministic) 10074 } else { 10075 b = b[:cap(b)] 10076 n, err := m.MarshalToSizedBuffer(b) 10077 if err != nil { 10078 return nil, err 10079 } 10080 return b[:n], nil 10081 } 10082 } 10083 func (m *SAMLNameID) XXX_Merge(src proto.Message) { 10084 xxx_messageInfo_SAMLNameID.Merge(m, src) 10085 } 10086 func (m *SAMLNameID) XXX_Size() int { 10087 return m.Size() 10088 } 10089 func (m *SAMLNameID) XXX_DiscardUnknown() { 10090 xxx_messageInfo_SAMLNameID.DiscardUnknown(m) 10091 } 10092 10093 var xxx_messageInfo_SAMLNameID proto.InternalMessageInfo 10094 10095 // RemoteClusterV3 represents remote cluster resource specification 10096 type RemoteClusterV3 struct { 10097 // Kind is a resource kind 10098 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 10099 // SubKind is an optional resource sub kind, used in some resources 10100 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 10101 // Version is resource API version 10102 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 10103 // Metadata is resource metadata 10104 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 10105 // Status is a remote cluster status 10106 Status RemoteClusterStatusV3 `protobuf:"bytes,5,opt,name=Status,proto3" json:"status"` 10107 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10108 XXX_unrecognized []byte `json:"-"` 10109 XXX_sizecache int32 `json:"-"` 10110 } 10111 10112 func (m *RemoteClusterV3) Reset() { *m = RemoteClusterV3{} } 10113 func (*RemoteClusterV3) ProtoMessage() {} 10114 func (*RemoteClusterV3) Descriptor() ([]byte, []int) { 10115 return fileDescriptor_9198ee693835762e, []int{164} 10116 } 10117 func (m *RemoteClusterV3) XXX_Unmarshal(b []byte) error { 10118 return m.Unmarshal(b) 10119 } 10120 func (m *RemoteClusterV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10121 if deterministic { 10122 return xxx_messageInfo_RemoteClusterV3.Marshal(b, m, deterministic) 10123 } else { 10124 b = b[:cap(b)] 10125 n, err := m.MarshalToSizedBuffer(b) 10126 if err != nil { 10127 return nil, err 10128 } 10129 return b[:n], nil 10130 } 10131 } 10132 func (m *RemoteClusterV3) XXX_Merge(src proto.Message) { 10133 xxx_messageInfo_RemoteClusterV3.Merge(m, src) 10134 } 10135 func (m *RemoteClusterV3) XXX_Size() int { 10136 return m.Size() 10137 } 10138 func (m *RemoteClusterV3) XXX_DiscardUnknown() { 10139 xxx_messageInfo_RemoteClusterV3.DiscardUnknown(m) 10140 } 10141 10142 var xxx_messageInfo_RemoteClusterV3 proto.InternalMessageInfo 10143 10144 // RemoteClusterStatusV3 represents status of the remote cluster 10145 type RemoteClusterStatusV3 struct { 10146 // Connection represents connection status, online or offline 10147 Connection string `protobuf:"bytes,1,opt,name=Connection,proto3" json:"connection"` 10148 // LastHeartbeat records last heartbeat of the cluster 10149 LastHeartbeat time.Time `protobuf:"bytes,2,opt,name=LastHeartbeat,proto3,stdtime" json:"last_heartbeat"` 10150 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10151 XXX_unrecognized []byte `json:"-"` 10152 XXX_sizecache int32 `json:"-"` 10153 } 10154 10155 func (m *RemoteClusterStatusV3) Reset() { *m = RemoteClusterStatusV3{} } 10156 func (m *RemoteClusterStatusV3) String() string { return proto.CompactTextString(m) } 10157 func (*RemoteClusterStatusV3) ProtoMessage() {} 10158 func (*RemoteClusterStatusV3) Descriptor() ([]byte, []int) { 10159 return fileDescriptor_9198ee693835762e, []int{165} 10160 } 10161 func (m *RemoteClusterStatusV3) XXX_Unmarshal(b []byte) error { 10162 return m.Unmarshal(b) 10163 } 10164 func (m *RemoteClusterStatusV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10165 if deterministic { 10166 return xxx_messageInfo_RemoteClusterStatusV3.Marshal(b, m, deterministic) 10167 } else { 10168 b = b[:cap(b)] 10169 n, err := m.MarshalToSizedBuffer(b) 10170 if err != nil { 10171 return nil, err 10172 } 10173 return b[:n], nil 10174 } 10175 } 10176 func (m *RemoteClusterStatusV3) XXX_Merge(src proto.Message) { 10177 xxx_messageInfo_RemoteClusterStatusV3.Merge(m, src) 10178 } 10179 func (m *RemoteClusterStatusV3) XXX_Size() int { 10180 return m.Size() 10181 } 10182 func (m *RemoteClusterStatusV3) XXX_DiscardUnknown() { 10183 xxx_messageInfo_RemoteClusterStatusV3.DiscardUnknown(m) 10184 } 10185 10186 var xxx_messageInfo_RemoteClusterStatusV3 proto.InternalMessageInfo 10187 10188 // KubernetesCluster is a named kubernetes API endpoint handled by a Server. 10189 // 10190 // TODO: deprecate and convert all usage to KubernetesClusterV3 10191 type KubernetesCluster struct { 10192 // Name is the name of this kubernetes cluster. 10193 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 10194 // StaticLabels is map of static labels associated with this cluster. 10195 // Used for RBAC. 10196 StaticLabels map[string]string `protobuf:"bytes,2,rep,name=StaticLabels,proto3" json:"static_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 10197 // DynamicLabels is map of dynamic labels associated with this cluster. 10198 // Used for RBAC. 10199 DynamicLabels map[string]CommandLabelV2 `protobuf:"bytes,3,rep,name=DynamicLabels,proto3" json:"dynamic_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 10200 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10201 XXX_unrecognized []byte `json:"-"` 10202 XXX_sizecache int32 `json:"-"` 10203 } 10204 10205 func (m *KubernetesCluster) Reset() { *m = KubernetesCluster{} } 10206 func (m *KubernetesCluster) String() string { return proto.CompactTextString(m) } 10207 func (*KubernetesCluster) ProtoMessage() {} 10208 func (*KubernetesCluster) Descriptor() ([]byte, []int) { 10209 return fileDescriptor_9198ee693835762e, []int{166} 10210 } 10211 func (m *KubernetesCluster) XXX_Unmarshal(b []byte) error { 10212 return m.Unmarshal(b) 10213 } 10214 func (m *KubernetesCluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10215 if deterministic { 10216 return xxx_messageInfo_KubernetesCluster.Marshal(b, m, deterministic) 10217 } else { 10218 b = b[:cap(b)] 10219 n, err := m.MarshalToSizedBuffer(b) 10220 if err != nil { 10221 return nil, err 10222 } 10223 return b[:n], nil 10224 } 10225 } 10226 func (m *KubernetesCluster) XXX_Merge(src proto.Message) { 10227 xxx_messageInfo_KubernetesCluster.Merge(m, src) 10228 } 10229 func (m *KubernetesCluster) XXX_Size() int { 10230 return m.Size() 10231 } 10232 func (m *KubernetesCluster) XXX_DiscardUnknown() { 10233 xxx_messageInfo_KubernetesCluster.DiscardUnknown(m) 10234 } 10235 10236 var xxx_messageInfo_KubernetesCluster proto.InternalMessageInfo 10237 10238 // KubernetesClusterV3 represents a named kubernetes API endpoint. 10239 type KubernetesClusterV3 struct { 10240 // Kind is the cluster resource kind. 10241 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 10242 // SubKind is an optional resource subkind. 10243 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 10244 // Version is the resource version. 10245 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 10246 // Metadata is the resource metadata. 10247 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 10248 // Spec is the resource spec. 10249 Spec KubernetesClusterSpecV3 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 10250 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10251 XXX_unrecognized []byte `json:"-"` 10252 XXX_sizecache int32 `json:"-"` 10253 } 10254 10255 func (m *KubernetesClusterV3) Reset() { *m = KubernetesClusterV3{} } 10256 func (*KubernetesClusterV3) ProtoMessage() {} 10257 func (*KubernetesClusterV3) Descriptor() ([]byte, []int) { 10258 return fileDescriptor_9198ee693835762e, []int{167} 10259 } 10260 func (m *KubernetesClusterV3) XXX_Unmarshal(b []byte) error { 10261 return m.Unmarshal(b) 10262 } 10263 func (m *KubernetesClusterV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10264 if deterministic { 10265 return xxx_messageInfo_KubernetesClusterV3.Marshal(b, m, deterministic) 10266 } else { 10267 b = b[:cap(b)] 10268 n, err := m.MarshalToSizedBuffer(b) 10269 if err != nil { 10270 return nil, err 10271 } 10272 return b[:n], nil 10273 } 10274 } 10275 func (m *KubernetesClusterV3) XXX_Merge(src proto.Message) { 10276 xxx_messageInfo_KubernetesClusterV3.Merge(m, src) 10277 } 10278 func (m *KubernetesClusterV3) XXX_Size() int { 10279 return m.Size() 10280 } 10281 func (m *KubernetesClusterV3) XXX_DiscardUnknown() { 10282 xxx_messageInfo_KubernetesClusterV3.DiscardUnknown(m) 10283 } 10284 10285 var xxx_messageInfo_KubernetesClusterV3 proto.InternalMessageInfo 10286 10287 // KubernetesClusterSpecV3 is a specification for a Kubernetes cluster. 10288 type KubernetesClusterSpecV3 struct { 10289 // DynamicLabels are the cluster's dynamic labels. 10290 DynamicLabels map[string]CommandLabelV2 `protobuf:"bytes,1,rep,name=DynamicLabels,proto3" json:"dynamic_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 10291 // Kubeconfig is the kubeconfig file payload that grants access to the cluster. 10292 // If multiple contexts are specified, the first will be selected. 10293 Kubeconfig []byte `protobuf:"bytes,2,opt,name=Kubeconfig,proto3" json:"kubeconfig,omitempty"` 10294 // Azure holds the required Azure information for Teleport to access the cluster. 10295 Azure KubeAzure `protobuf:"bytes,3,opt,name=Azure,proto3" json:"azure,omitempty"` 10296 // AWS holds the required AWS information for Teleport to access the cluster. 10297 AWS KubeAWS `protobuf:"bytes,4,opt,name=AWS,proto3" json:"aws,omitempty"` 10298 // GCP holds the required GCP information for Teleport to access the cluster. 10299 GCP KubeGCP `protobuf:"bytes,5,opt,name=GCP,proto3" json:"gcp,omitempty"` 10300 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10301 XXX_unrecognized []byte `json:"-"` 10302 XXX_sizecache int32 `json:"-"` 10303 } 10304 10305 func (m *KubernetesClusterSpecV3) Reset() { *m = KubernetesClusterSpecV3{} } 10306 func (m *KubernetesClusterSpecV3) String() string { return proto.CompactTextString(m) } 10307 func (*KubernetesClusterSpecV3) ProtoMessage() {} 10308 func (*KubernetesClusterSpecV3) Descriptor() ([]byte, []int) { 10309 return fileDescriptor_9198ee693835762e, []int{168} 10310 } 10311 func (m *KubernetesClusterSpecV3) XXX_Unmarshal(b []byte) error { 10312 return m.Unmarshal(b) 10313 } 10314 func (m *KubernetesClusterSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10315 if deterministic { 10316 return xxx_messageInfo_KubernetesClusterSpecV3.Marshal(b, m, deterministic) 10317 } else { 10318 b = b[:cap(b)] 10319 n, err := m.MarshalToSizedBuffer(b) 10320 if err != nil { 10321 return nil, err 10322 } 10323 return b[:n], nil 10324 } 10325 } 10326 func (m *KubernetesClusterSpecV3) XXX_Merge(src proto.Message) { 10327 xxx_messageInfo_KubernetesClusterSpecV3.Merge(m, src) 10328 } 10329 func (m *KubernetesClusterSpecV3) XXX_Size() int { 10330 return m.Size() 10331 } 10332 func (m *KubernetesClusterSpecV3) XXX_DiscardUnknown() { 10333 xxx_messageInfo_KubernetesClusterSpecV3.DiscardUnknown(m) 10334 } 10335 10336 var xxx_messageInfo_KubernetesClusterSpecV3 proto.InternalMessageInfo 10337 10338 // KubeAzure contains the Azure information about the cluster. 10339 type KubeAzure struct { 10340 // ResourceName is the AKS cluster name. 10341 ResourceName string `protobuf:"bytes,1,opt,name=ResourceName,proto3" json:"resource_name,omitempty"` 10342 // ResourceGroup is the Azure resource group name. 10343 ResourceGroup string `protobuf:"bytes,2,opt,name=ResourceGroup,proto3" json:"resource_group,omitempty"` 10344 // TenantID is the AKS cluster Tenant ID. 10345 TenantID string `protobuf:"bytes,3,opt,name=TenantID,proto3" json:"tenant_id,omitempty"` 10346 // SubscriptionID is the AKS cluster SubscriptionID. 10347 SubscriptionID string `protobuf:"bytes,4,opt,name=SubscriptionID,proto3" json:"subscription_id,omitempty"` 10348 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10349 XXX_unrecognized []byte `json:"-"` 10350 XXX_sizecache int32 `json:"-"` 10351 } 10352 10353 func (m *KubeAzure) Reset() { *m = KubeAzure{} } 10354 func (m *KubeAzure) String() string { return proto.CompactTextString(m) } 10355 func (*KubeAzure) ProtoMessage() {} 10356 func (*KubeAzure) Descriptor() ([]byte, []int) { 10357 return fileDescriptor_9198ee693835762e, []int{169} 10358 } 10359 func (m *KubeAzure) XXX_Unmarshal(b []byte) error { 10360 return m.Unmarshal(b) 10361 } 10362 func (m *KubeAzure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10363 if deterministic { 10364 return xxx_messageInfo_KubeAzure.Marshal(b, m, deterministic) 10365 } else { 10366 b = b[:cap(b)] 10367 n, err := m.MarshalToSizedBuffer(b) 10368 if err != nil { 10369 return nil, err 10370 } 10371 return b[:n], nil 10372 } 10373 } 10374 func (m *KubeAzure) XXX_Merge(src proto.Message) { 10375 xxx_messageInfo_KubeAzure.Merge(m, src) 10376 } 10377 func (m *KubeAzure) XXX_Size() int { 10378 return m.Size() 10379 } 10380 func (m *KubeAzure) XXX_DiscardUnknown() { 10381 xxx_messageInfo_KubeAzure.DiscardUnknown(m) 10382 } 10383 10384 var xxx_messageInfo_KubeAzure proto.InternalMessageInfo 10385 10386 // KubeAWS contains the AWS information about the cluster. 10387 type KubeAWS struct { 10388 // Region is a AWS cloud region. 10389 Region string `protobuf:"bytes,1,opt,name=Region,proto3" json:"region,omitempty"` 10390 // AccountID is a AWS Account ID. 10391 AccountID string `protobuf:"bytes,2,opt,name=AccountID,proto3" json:"account_id,omitempty"` 10392 // Name is a AWS EKS cluster name. 10393 Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"name,omitempty"` 10394 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10395 XXX_unrecognized []byte `json:"-"` 10396 XXX_sizecache int32 `json:"-"` 10397 } 10398 10399 func (m *KubeAWS) Reset() { *m = KubeAWS{} } 10400 func (m *KubeAWS) String() string { return proto.CompactTextString(m) } 10401 func (*KubeAWS) ProtoMessage() {} 10402 func (*KubeAWS) Descriptor() ([]byte, []int) { 10403 return fileDescriptor_9198ee693835762e, []int{170} 10404 } 10405 func (m *KubeAWS) XXX_Unmarshal(b []byte) error { 10406 return m.Unmarshal(b) 10407 } 10408 func (m *KubeAWS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10409 if deterministic { 10410 return xxx_messageInfo_KubeAWS.Marshal(b, m, deterministic) 10411 } else { 10412 b = b[:cap(b)] 10413 n, err := m.MarshalToSizedBuffer(b) 10414 if err != nil { 10415 return nil, err 10416 } 10417 return b[:n], nil 10418 } 10419 } 10420 func (m *KubeAWS) XXX_Merge(src proto.Message) { 10421 xxx_messageInfo_KubeAWS.Merge(m, src) 10422 } 10423 func (m *KubeAWS) XXX_Size() int { 10424 return m.Size() 10425 } 10426 func (m *KubeAWS) XXX_DiscardUnknown() { 10427 xxx_messageInfo_KubeAWS.DiscardUnknown(m) 10428 } 10429 10430 var xxx_messageInfo_KubeAWS proto.InternalMessageInfo 10431 10432 // KubeGCP contains the GCP information about the cluster. 10433 type KubeGCP struct { 10434 // Location is a GKE cluster location. 10435 Location string `protobuf:"bytes,1,opt,name=Location,proto3" json:"location,omitempty"` 10436 // ProjectID is the GKE Project ID. 10437 ProjectID string `protobuf:"bytes,2,opt,name=ProjectID,proto3" json:"project_id,omitempty"` 10438 // Name is a GCP GKE cluster name. 10439 Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"name,omitempty"` 10440 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10441 XXX_unrecognized []byte `json:"-"` 10442 XXX_sizecache int32 `json:"-"` 10443 } 10444 10445 func (m *KubeGCP) Reset() { *m = KubeGCP{} } 10446 func (m *KubeGCP) String() string { return proto.CompactTextString(m) } 10447 func (*KubeGCP) ProtoMessage() {} 10448 func (*KubeGCP) Descriptor() ([]byte, []int) { 10449 return fileDescriptor_9198ee693835762e, []int{171} 10450 } 10451 func (m *KubeGCP) XXX_Unmarshal(b []byte) error { 10452 return m.Unmarshal(b) 10453 } 10454 func (m *KubeGCP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10455 if deterministic { 10456 return xxx_messageInfo_KubeGCP.Marshal(b, m, deterministic) 10457 } else { 10458 b = b[:cap(b)] 10459 n, err := m.MarshalToSizedBuffer(b) 10460 if err != nil { 10461 return nil, err 10462 } 10463 return b[:n], nil 10464 } 10465 } 10466 func (m *KubeGCP) XXX_Merge(src proto.Message) { 10467 xxx_messageInfo_KubeGCP.Merge(m, src) 10468 } 10469 func (m *KubeGCP) XXX_Size() int { 10470 return m.Size() 10471 } 10472 func (m *KubeGCP) XXX_DiscardUnknown() { 10473 xxx_messageInfo_KubeGCP.DiscardUnknown(m) 10474 } 10475 10476 var xxx_messageInfo_KubeGCP proto.InternalMessageInfo 10477 10478 // KubernetesClusterV3List represents a list of kubernetes clusters. 10479 type KubernetesClusterV3List struct { 10480 // KubernetesClusters is a list of kubernetes clusters resources. 10481 KubernetesClusters []*KubernetesClusterV3 `protobuf:"bytes,1,rep,name=KubernetesClusters,proto3" json:"KubernetesClusters,omitempty"` 10482 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10483 XXX_unrecognized []byte `json:"-"` 10484 XXX_sizecache int32 `json:"-"` 10485 } 10486 10487 func (m *KubernetesClusterV3List) Reset() { *m = KubernetesClusterV3List{} } 10488 func (m *KubernetesClusterV3List) String() string { return proto.CompactTextString(m) } 10489 func (*KubernetesClusterV3List) ProtoMessage() {} 10490 func (*KubernetesClusterV3List) Descriptor() ([]byte, []int) { 10491 return fileDescriptor_9198ee693835762e, []int{172} 10492 } 10493 func (m *KubernetesClusterV3List) XXX_Unmarshal(b []byte) error { 10494 return m.Unmarshal(b) 10495 } 10496 func (m *KubernetesClusterV3List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10497 if deterministic { 10498 return xxx_messageInfo_KubernetesClusterV3List.Marshal(b, m, deterministic) 10499 } else { 10500 b = b[:cap(b)] 10501 n, err := m.MarshalToSizedBuffer(b) 10502 if err != nil { 10503 return nil, err 10504 } 10505 return b[:n], nil 10506 } 10507 } 10508 func (m *KubernetesClusterV3List) XXX_Merge(src proto.Message) { 10509 xxx_messageInfo_KubernetesClusterV3List.Merge(m, src) 10510 } 10511 func (m *KubernetesClusterV3List) XXX_Size() int { 10512 return m.Size() 10513 } 10514 func (m *KubernetesClusterV3List) XXX_DiscardUnknown() { 10515 xxx_messageInfo_KubernetesClusterV3List.DiscardUnknown(m) 10516 } 10517 10518 var xxx_messageInfo_KubernetesClusterV3List proto.InternalMessageInfo 10519 10520 // KubernetesServerV3 represents a Kubernetes server. 10521 type KubernetesServerV3 struct { 10522 // Kind is the Kubernetes server resource kind. Always "kube_server". 10523 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 10524 // SubKind is an optional resource subkind. 10525 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 10526 // Version is the resource version. 10527 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 10528 // Metadata is the Kubernetes server metadata. 10529 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 10530 // Spec is the Kubernetes server spec. 10531 Spec KubernetesServerSpecV3 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 10532 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10533 XXX_unrecognized []byte `json:"-"` 10534 XXX_sizecache int32 `json:"-"` 10535 } 10536 10537 func (m *KubernetesServerV3) Reset() { *m = KubernetesServerV3{} } 10538 func (*KubernetesServerV3) ProtoMessage() {} 10539 func (*KubernetesServerV3) Descriptor() ([]byte, []int) { 10540 return fileDescriptor_9198ee693835762e, []int{173} 10541 } 10542 func (m *KubernetesServerV3) XXX_Unmarshal(b []byte) error { 10543 return m.Unmarshal(b) 10544 } 10545 func (m *KubernetesServerV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10546 if deterministic { 10547 return xxx_messageInfo_KubernetesServerV3.Marshal(b, m, deterministic) 10548 } else { 10549 b = b[:cap(b)] 10550 n, err := m.MarshalToSizedBuffer(b) 10551 if err != nil { 10552 return nil, err 10553 } 10554 return b[:n], nil 10555 } 10556 } 10557 func (m *KubernetesServerV3) XXX_Merge(src proto.Message) { 10558 xxx_messageInfo_KubernetesServerV3.Merge(m, src) 10559 } 10560 func (m *KubernetesServerV3) XXX_Size() int { 10561 return m.Size() 10562 } 10563 func (m *KubernetesServerV3) XXX_DiscardUnknown() { 10564 xxx_messageInfo_KubernetesServerV3.DiscardUnknown(m) 10565 } 10566 10567 var xxx_messageInfo_KubernetesServerV3 proto.InternalMessageInfo 10568 10569 // KubernetesServerSpecV3 is the Kubernetes server spec. 10570 type KubernetesServerSpecV3 struct { 10571 // Version is the Teleport version that the server is running. 10572 Version string `protobuf:"bytes,1,opt,name=Version,proto3" json:"version"` 10573 // Hostname is the Kubernetes server hostname. 10574 Hostname string `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"hostname"` 10575 // HostID is the Kubernetes server host uuid. 10576 HostID string `protobuf:"bytes,3,opt,name=HostID,proto3" json:"host_id"` 10577 // Rotation contains the Kubernetes server CA rotation information. 10578 Rotation Rotation `protobuf:"bytes,4,opt,name=Rotation,proto3" json:"rotation,omitempty"` 10579 // Cluster is a Kubernetes Cluster proxied by this Kubernetes server. 10580 Cluster *KubernetesClusterV3 `protobuf:"bytes,5,opt,name=Cluster,proto3" json:"cluster"` 10581 // ProxyIDs is a list of proxy IDs this server is expected to be connected to. 10582 ProxyIDs []string `protobuf:"bytes,6,rep,name=ProxyIDs,proto3" json:"proxy_ids,omitempty"` 10583 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10584 XXX_unrecognized []byte `json:"-"` 10585 XXX_sizecache int32 `json:"-"` 10586 } 10587 10588 func (m *KubernetesServerSpecV3) Reset() { *m = KubernetesServerSpecV3{} } 10589 func (m *KubernetesServerSpecV3) String() string { return proto.CompactTextString(m) } 10590 func (*KubernetesServerSpecV3) ProtoMessage() {} 10591 func (*KubernetesServerSpecV3) Descriptor() ([]byte, []int) { 10592 return fileDescriptor_9198ee693835762e, []int{174} 10593 } 10594 func (m *KubernetesServerSpecV3) XXX_Unmarshal(b []byte) error { 10595 return m.Unmarshal(b) 10596 } 10597 func (m *KubernetesServerSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10598 if deterministic { 10599 return xxx_messageInfo_KubernetesServerSpecV3.Marshal(b, m, deterministic) 10600 } else { 10601 b = b[:cap(b)] 10602 n, err := m.MarshalToSizedBuffer(b) 10603 if err != nil { 10604 return nil, err 10605 } 10606 return b[:n], nil 10607 } 10608 } 10609 func (m *KubernetesServerSpecV3) XXX_Merge(src proto.Message) { 10610 xxx_messageInfo_KubernetesServerSpecV3.Merge(m, src) 10611 } 10612 func (m *KubernetesServerSpecV3) XXX_Size() int { 10613 return m.Size() 10614 } 10615 func (m *KubernetesServerSpecV3) XXX_DiscardUnknown() { 10616 xxx_messageInfo_KubernetesServerSpecV3.DiscardUnknown(m) 10617 } 10618 10619 var xxx_messageInfo_KubernetesServerSpecV3 proto.InternalMessageInfo 10620 10621 // WebTokenV3 describes a web token. Web tokens are used as a transport to relay bearer tokens 10622 // to the client. 10623 // Initially bound to a web session, these have been factored out into a separate resource to 10624 // enable separate lifecycle management. 10625 type WebTokenV3 struct { 10626 // Kind is a resource kind 10627 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 10628 // SubKind is an optional resource sub kind 10629 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 10630 // Version is the resource version 10631 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 10632 // Metadata is resource metadata 10633 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 10634 // Spec defines the web token 10635 Spec WebTokenSpecV3 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 10636 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10637 XXX_unrecognized []byte `json:"-"` 10638 XXX_sizecache int32 `json:"-"` 10639 } 10640 10641 func (m *WebTokenV3) Reset() { *m = WebTokenV3{} } 10642 func (*WebTokenV3) ProtoMessage() {} 10643 func (*WebTokenV3) Descriptor() ([]byte, []int) { 10644 return fileDescriptor_9198ee693835762e, []int{175} 10645 } 10646 func (m *WebTokenV3) XXX_Unmarshal(b []byte) error { 10647 return m.Unmarshal(b) 10648 } 10649 func (m *WebTokenV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10650 if deterministic { 10651 return xxx_messageInfo_WebTokenV3.Marshal(b, m, deterministic) 10652 } else { 10653 b = b[:cap(b)] 10654 n, err := m.MarshalToSizedBuffer(b) 10655 if err != nil { 10656 return nil, err 10657 } 10658 return b[:n], nil 10659 } 10660 } 10661 func (m *WebTokenV3) XXX_Merge(src proto.Message) { 10662 xxx_messageInfo_WebTokenV3.Merge(m, src) 10663 } 10664 func (m *WebTokenV3) XXX_Size() int { 10665 return m.Size() 10666 } 10667 func (m *WebTokenV3) XXX_DiscardUnknown() { 10668 xxx_messageInfo_WebTokenV3.DiscardUnknown(m) 10669 } 10670 10671 var xxx_messageInfo_WebTokenV3 proto.InternalMessageInfo 10672 10673 // WebTokenSpecV3 is a unique time-limited token bound to a user's web session 10674 type WebTokenSpecV3 struct { 10675 // User specifies the user the token is bound to. 10676 User string `protobuf:"bytes,1,opt,name=User,proto3" json:"user"` 10677 // Token specifies the token's value. 10678 Token string `protobuf:"bytes,2,opt,name=Token,proto3" json:"token"` 10679 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10680 XXX_unrecognized []byte `json:"-"` 10681 XXX_sizecache int32 `json:"-"` 10682 } 10683 10684 func (m *WebTokenSpecV3) Reset() { *m = WebTokenSpecV3{} } 10685 func (m *WebTokenSpecV3) String() string { return proto.CompactTextString(m) } 10686 func (*WebTokenSpecV3) ProtoMessage() {} 10687 func (*WebTokenSpecV3) Descriptor() ([]byte, []int) { 10688 return fileDescriptor_9198ee693835762e, []int{176} 10689 } 10690 func (m *WebTokenSpecV3) XXX_Unmarshal(b []byte) error { 10691 return m.Unmarshal(b) 10692 } 10693 func (m *WebTokenSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10694 if deterministic { 10695 return xxx_messageInfo_WebTokenSpecV3.Marshal(b, m, deterministic) 10696 } else { 10697 b = b[:cap(b)] 10698 n, err := m.MarshalToSizedBuffer(b) 10699 if err != nil { 10700 return nil, err 10701 } 10702 return b[:n], nil 10703 } 10704 } 10705 func (m *WebTokenSpecV3) XXX_Merge(src proto.Message) { 10706 xxx_messageInfo_WebTokenSpecV3.Merge(m, src) 10707 } 10708 func (m *WebTokenSpecV3) XXX_Size() int { 10709 return m.Size() 10710 } 10711 func (m *WebTokenSpecV3) XXX_DiscardUnknown() { 10712 xxx_messageInfo_WebTokenSpecV3.DiscardUnknown(m) 10713 } 10714 10715 var xxx_messageInfo_WebTokenSpecV3 proto.InternalMessageInfo 10716 10717 // GetWebSessionRequest describes a request to query a web session 10718 type GetWebSessionRequest struct { 10719 // User specifies the user the web session is for. 10720 User string `protobuf:"bytes,1,opt,name=User,proto3" json:"user"` 10721 // SessionID specifies the web session ID. 10722 SessionID string `protobuf:"bytes,2,opt,name=SessionID,proto3" json:"session_id"` 10723 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10724 XXX_unrecognized []byte `json:"-"` 10725 XXX_sizecache int32 `json:"-"` 10726 } 10727 10728 func (m *GetWebSessionRequest) Reset() { *m = GetWebSessionRequest{} } 10729 func (m *GetWebSessionRequest) String() string { return proto.CompactTextString(m) } 10730 func (*GetWebSessionRequest) ProtoMessage() {} 10731 func (*GetWebSessionRequest) Descriptor() ([]byte, []int) { 10732 return fileDescriptor_9198ee693835762e, []int{177} 10733 } 10734 func (m *GetWebSessionRequest) XXX_Unmarshal(b []byte) error { 10735 return m.Unmarshal(b) 10736 } 10737 func (m *GetWebSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10738 if deterministic { 10739 return xxx_messageInfo_GetWebSessionRequest.Marshal(b, m, deterministic) 10740 } else { 10741 b = b[:cap(b)] 10742 n, err := m.MarshalToSizedBuffer(b) 10743 if err != nil { 10744 return nil, err 10745 } 10746 return b[:n], nil 10747 } 10748 } 10749 func (m *GetWebSessionRequest) XXX_Merge(src proto.Message) { 10750 xxx_messageInfo_GetWebSessionRequest.Merge(m, src) 10751 } 10752 func (m *GetWebSessionRequest) XXX_Size() int { 10753 return m.Size() 10754 } 10755 func (m *GetWebSessionRequest) XXX_DiscardUnknown() { 10756 xxx_messageInfo_GetWebSessionRequest.DiscardUnknown(m) 10757 } 10758 10759 var xxx_messageInfo_GetWebSessionRequest proto.InternalMessageInfo 10760 10761 // DeleteWebSessionRequest describes a request to delete a web session 10762 type DeleteWebSessionRequest struct { 10763 // User specifies the user the session is bound to 10764 User string `protobuf:"bytes,1,opt,name=User,proto3" json:"user"` 10765 // SessionID specifies the web session ID to delete. 10766 SessionID string `protobuf:"bytes,2,opt,name=SessionID,proto3" json:"session_id"` 10767 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10768 XXX_unrecognized []byte `json:"-"` 10769 XXX_sizecache int32 `json:"-"` 10770 } 10771 10772 func (m *DeleteWebSessionRequest) Reset() { *m = DeleteWebSessionRequest{} } 10773 func (m *DeleteWebSessionRequest) String() string { return proto.CompactTextString(m) } 10774 func (*DeleteWebSessionRequest) ProtoMessage() {} 10775 func (*DeleteWebSessionRequest) Descriptor() ([]byte, []int) { 10776 return fileDescriptor_9198ee693835762e, []int{178} 10777 } 10778 func (m *DeleteWebSessionRequest) XXX_Unmarshal(b []byte) error { 10779 return m.Unmarshal(b) 10780 } 10781 func (m *DeleteWebSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10782 if deterministic { 10783 return xxx_messageInfo_DeleteWebSessionRequest.Marshal(b, m, deterministic) 10784 } else { 10785 b = b[:cap(b)] 10786 n, err := m.MarshalToSizedBuffer(b) 10787 if err != nil { 10788 return nil, err 10789 } 10790 return b[:n], nil 10791 } 10792 } 10793 func (m *DeleteWebSessionRequest) XXX_Merge(src proto.Message) { 10794 xxx_messageInfo_DeleteWebSessionRequest.Merge(m, src) 10795 } 10796 func (m *DeleteWebSessionRequest) XXX_Size() int { 10797 return m.Size() 10798 } 10799 func (m *DeleteWebSessionRequest) XXX_DiscardUnknown() { 10800 xxx_messageInfo_DeleteWebSessionRequest.DiscardUnknown(m) 10801 } 10802 10803 var xxx_messageInfo_DeleteWebSessionRequest proto.InternalMessageInfo 10804 10805 // GetWebTokenRequest describes a request to query a web token 10806 type GetWebTokenRequest struct { 10807 // User specifies the user the token is for. 10808 User string `protobuf:"bytes,1,opt,name=User,proto3" json:"user"` 10809 // Token specifies the token to get. 10810 Token string `protobuf:"bytes,2,opt,name=Token,proto3" json:"token"` 10811 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10812 XXX_unrecognized []byte `json:"-"` 10813 XXX_sizecache int32 `json:"-"` 10814 } 10815 10816 func (m *GetWebTokenRequest) Reset() { *m = GetWebTokenRequest{} } 10817 func (m *GetWebTokenRequest) String() string { return proto.CompactTextString(m) } 10818 func (*GetWebTokenRequest) ProtoMessage() {} 10819 func (*GetWebTokenRequest) Descriptor() ([]byte, []int) { 10820 return fileDescriptor_9198ee693835762e, []int{179} 10821 } 10822 func (m *GetWebTokenRequest) XXX_Unmarshal(b []byte) error { 10823 return m.Unmarshal(b) 10824 } 10825 func (m *GetWebTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10826 if deterministic { 10827 return xxx_messageInfo_GetWebTokenRequest.Marshal(b, m, deterministic) 10828 } else { 10829 b = b[:cap(b)] 10830 n, err := m.MarshalToSizedBuffer(b) 10831 if err != nil { 10832 return nil, err 10833 } 10834 return b[:n], nil 10835 } 10836 } 10837 func (m *GetWebTokenRequest) XXX_Merge(src proto.Message) { 10838 xxx_messageInfo_GetWebTokenRequest.Merge(m, src) 10839 } 10840 func (m *GetWebTokenRequest) XXX_Size() int { 10841 return m.Size() 10842 } 10843 func (m *GetWebTokenRequest) XXX_DiscardUnknown() { 10844 xxx_messageInfo_GetWebTokenRequest.DiscardUnknown(m) 10845 } 10846 10847 var xxx_messageInfo_GetWebTokenRequest proto.InternalMessageInfo 10848 10849 // DeleteWebTokenRequest describes a request to delete a web token 10850 type DeleteWebTokenRequest struct { 10851 // User specifies the user the token is for. 10852 User string `protobuf:"bytes,1,opt,name=User,proto3" json:"user"` 10853 // Token specifies the token to delete. 10854 Token string `protobuf:"bytes,2,opt,name=Token,proto3" json:"token"` 10855 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10856 XXX_unrecognized []byte `json:"-"` 10857 XXX_sizecache int32 `json:"-"` 10858 } 10859 10860 func (m *DeleteWebTokenRequest) Reset() { *m = DeleteWebTokenRequest{} } 10861 func (m *DeleteWebTokenRequest) String() string { return proto.CompactTextString(m) } 10862 func (*DeleteWebTokenRequest) ProtoMessage() {} 10863 func (*DeleteWebTokenRequest) Descriptor() ([]byte, []int) { 10864 return fileDescriptor_9198ee693835762e, []int{180} 10865 } 10866 func (m *DeleteWebTokenRequest) XXX_Unmarshal(b []byte) error { 10867 return m.Unmarshal(b) 10868 } 10869 func (m *DeleteWebTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10870 if deterministic { 10871 return xxx_messageInfo_DeleteWebTokenRequest.Marshal(b, m, deterministic) 10872 } else { 10873 b = b[:cap(b)] 10874 n, err := m.MarshalToSizedBuffer(b) 10875 if err != nil { 10876 return nil, err 10877 } 10878 return b[:n], nil 10879 } 10880 } 10881 func (m *DeleteWebTokenRequest) XXX_Merge(src proto.Message) { 10882 xxx_messageInfo_DeleteWebTokenRequest.Merge(m, src) 10883 } 10884 func (m *DeleteWebTokenRequest) XXX_Size() int { 10885 return m.Size() 10886 } 10887 func (m *DeleteWebTokenRequest) XXX_DiscardUnknown() { 10888 xxx_messageInfo_DeleteWebTokenRequest.DiscardUnknown(m) 10889 } 10890 10891 var xxx_messageInfo_DeleteWebTokenRequest proto.InternalMessageInfo 10892 10893 // ResourceRequest is a request relating to a named resource. 10894 type ResourceRequest struct { 10895 // Name is the name of the resource. 10896 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 10897 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10898 XXX_unrecognized []byte `json:"-"` 10899 XXX_sizecache int32 `json:"-"` 10900 } 10901 10902 func (m *ResourceRequest) Reset() { *m = ResourceRequest{} } 10903 func (m *ResourceRequest) String() string { return proto.CompactTextString(m) } 10904 func (*ResourceRequest) ProtoMessage() {} 10905 func (*ResourceRequest) Descriptor() ([]byte, []int) { 10906 return fileDescriptor_9198ee693835762e, []int{181} 10907 } 10908 func (m *ResourceRequest) XXX_Unmarshal(b []byte) error { 10909 return m.Unmarshal(b) 10910 } 10911 func (m *ResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10912 if deterministic { 10913 return xxx_messageInfo_ResourceRequest.Marshal(b, m, deterministic) 10914 } else { 10915 b = b[:cap(b)] 10916 n, err := m.MarshalToSizedBuffer(b) 10917 if err != nil { 10918 return nil, err 10919 } 10920 return b[:n], nil 10921 } 10922 } 10923 func (m *ResourceRequest) XXX_Merge(src proto.Message) { 10924 xxx_messageInfo_ResourceRequest.Merge(m, src) 10925 } 10926 func (m *ResourceRequest) XXX_Size() int { 10927 return m.Size() 10928 } 10929 func (m *ResourceRequest) XXX_DiscardUnknown() { 10930 xxx_messageInfo_ResourceRequest.DiscardUnknown(m) 10931 } 10932 10933 var xxx_messageInfo_ResourceRequest proto.InternalMessageInfo 10934 10935 // ResourceWithSecretsRequest is a request relating to a named resource with secrets. 10936 type ResourceWithSecretsRequest struct { 10937 // Name is the name of the resource. 10938 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 10939 // WithSecrets specifies whether to load associated secrets. 10940 WithSecrets bool `protobuf:"varint,2,opt,name=WithSecrets,proto3" json:"with_secrets,omitempty"` 10941 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10942 XXX_unrecognized []byte `json:"-"` 10943 XXX_sizecache int32 `json:"-"` 10944 } 10945 10946 func (m *ResourceWithSecretsRequest) Reset() { *m = ResourceWithSecretsRequest{} } 10947 func (m *ResourceWithSecretsRequest) String() string { return proto.CompactTextString(m) } 10948 func (*ResourceWithSecretsRequest) ProtoMessage() {} 10949 func (*ResourceWithSecretsRequest) Descriptor() ([]byte, []int) { 10950 return fileDescriptor_9198ee693835762e, []int{182} 10951 } 10952 func (m *ResourceWithSecretsRequest) XXX_Unmarshal(b []byte) error { 10953 return m.Unmarshal(b) 10954 } 10955 func (m *ResourceWithSecretsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10956 if deterministic { 10957 return xxx_messageInfo_ResourceWithSecretsRequest.Marshal(b, m, deterministic) 10958 } else { 10959 b = b[:cap(b)] 10960 n, err := m.MarshalToSizedBuffer(b) 10961 if err != nil { 10962 return nil, err 10963 } 10964 return b[:n], nil 10965 } 10966 } 10967 func (m *ResourceWithSecretsRequest) XXX_Merge(src proto.Message) { 10968 xxx_messageInfo_ResourceWithSecretsRequest.Merge(m, src) 10969 } 10970 func (m *ResourceWithSecretsRequest) XXX_Size() int { 10971 return m.Size() 10972 } 10973 func (m *ResourceWithSecretsRequest) XXX_DiscardUnknown() { 10974 xxx_messageInfo_ResourceWithSecretsRequest.DiscardUnknown(m) 10975 } 10976 10977 var xxx_messageInfo_ResourceWithSecretsRequest proto.InternalMessageInfo 10978 10979 // ResourcesWithSecretsRequest is a request relating to resources with secrets. 10980 type ResourcesWithSecretsRequest struct { 10981 // WithSecrets specifies whether to load associated secrets. 10982 WithSecrets bool `protobuf:"varint,1,opt,name=WithSecrets,proto3" json:"with_secrets,omitempty"` 10983 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10984 XXX_unrecognized []byte `json:"-"` 10985 XXX_sizecache int32 `json:"-"` 10986 } 10987 10988 func (m *ResourcesWithSecretsRequest) Reset() { *m = ResourcesWithSecretsRequest{} } 10989 func (m *ResourcesWithSecretsRequest) String() string { return proto.CompactTextString(m) } 10990 func (*ResourcesWithSecretsRequest) ProtoMessage() {} 10991 func (*ResourcesWithSecretsRequest) Descriptor() ([]byte, []int) { 10992 return fileDescriptor_9198ee693835762e, []int{183} 10993 } 10994 func (m *ResourcesWithSecretsRequest) XXX_Unmarshal(b []byte) error { 10995 return m.Unmarshal(b) 10996 } 10997 func (m *ResourcesWithSecretsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10998 if deterministic { 10999 return xxx_messageInfo_ResourcesWithSecretsRequest.Marshal(b, m, deterministic) 11000 } else { 11001 b = b[:cap(b)] 11002 n, err := m.MarshalToSizedBuffer(b) 11003 if err != nil { 11004 return nil, err 11005 } 11006 return b[:n], nil 11007 } 11008 } 11009 func (m *ResourcesWithSecretsRequest) XXX_Merge(src proto.Message) { 11010 xxx_messageInfo_ResourcesWithSecretsRequest.Merge(m, src) 11011 } 11012 func (m *ResourcesWithSecretsRequest) XXX_Size() int { 11013 return m.Size() 11014 } 11015 func (m *ResourcesWithSecretsRequest) XXX_DiscardUnknown() { 11016 xxx_messageInfo_ResourcesWithSecretsRequest.DiscardUnknown(m) 11017 } 11018 11019 var xxx_messageInfo_ResourcesWithSecretsRequest proto.InternalMessageInfo 11020 11021 // ResourcesInNamespaceRequest is a request relating to a named resource in the given namespace. 11022 type ResourceInNamespaceRequest struct { 11023 // Name is the name of the resource. 11024 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` 11025 // Namespace is the namespace of resources. 11026 Namespace string `protobuf:"bytes,2,opt,name=Namespace,proto3" json:"Namespace,omitempty"` 11027 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11028 XXX_unrecognized []byte `json:"-"` 11029 XXX_sizecache int32 `json:"-"` 11030 } 11031 11032 func (m *ResourceInNamespaceRequest) Reset() { *m = ResourceInNamespaceRequest{} } 11033 func (m *ResourceInNamespaceRequest) String() string { return proto.CompactTextString(m) } 11034 func (*ResourceInNamespaceRequest) ProtoMessage() {} 11035 func (*ResourceInNamespaceRequest) Descriptor() ([]byte, []int) { 11036 return fileDescriptor_9198ee693835762e, []int{184} 11037 } 11038 func (m *ResourceInNamespaceRequest) XXX_Unmarshal(b []byte) error { 11039 return m.Unmarshal(b) 11040 } 11041 func (m *ResourceInNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11042 if deterministic { 11043 return xxx_messageInfo_ResourceInNamespaceRequest.Marshal(b, m, deterministic) 11044 } else { 11045 b = b[:cap(b)] 11046 n, err := m.MarshalToSizedBuffer(b) 11047 if err != nil { 11048 return nil, err 11049 } 11050 return b[:n], nil 11051 } 11052 } 11053 func (m *ResourceInNamespaceRequest) XXX_Merge(src proto.Message) { 11054 xxx_messageInfo_ResourceInNamespaceRequest.Merge(m, src) 11055 } 11056 func (m *ResourceInNamespaceRequest) XXX_Size() int { 11057 return m.Size() 11058 } 11059 func (m *ResourceInNamespaceRequest) XXX_DiscardUnknown() { 11060 xxx_messageInfo_ResourceInNamespaceRequest.DiscardUnknown(m) 11061 } 11062 11063 var xxx_messageInfo_ResourceInNamespaceRequest proto.InternalMessageInfo 11064 11065 // ResourcesInNamespaceRequest is a request relating to resources in the given namespace. 11066 type ResourcesInNamespaceRequest struct { 11067 // Namespace is the namespace of resources. 11068 Namespace string `protobuf:"bytes,1,opt,name=Namespace,proto3" json:"Namespace,omitempty"` 11069 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11070 XXX_unrecognized []byte `json:"-"` 11071 XXX_sizecache int32 `json:"-"` 11072 } 11073 11074 func (m *ResourcesInNamespaceRequest) Reset() { *m = ResourcesInNamespaceRequest{} } 11075 func (m *ResourcesInNamespaceRequest) String() string { return proto.CompactTextString(m) } 11076 func (*ResourcesInNamespaceRequest) ProtoMessage() {} 11077 func (*ResourcesInNamespaceRequest) Descriptor() ([]byte, []int) { 11078 return fileDescriptor_9198ee693835762e, []int{185} 11079 } 11080 func (m *ResourcesInNamespaceRequest) XXX_Unmarshal(b []byte) error { 11081 return m.Unmarshal(b) 11082 } 11083 func (m *ResourcesInNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11084 if deterministic { 11085 return xxx_messageInfo_ResourcesInNamespaceRequest.Marshal(b, m, deterministic) 11086 } else { 11087 b = b[:cap(b)] 11088 n, err := m.MarshalToSizedBuffer(b) 11089 if err != nil { 11090 return nil, err 11091 } 11092 return b[:n], nil 11093 } 11094 } 11095 func (m *ResourcesInNamespaceRequest) XXX_Merge(src proto.Message) { 11096 xxx_messageInfo_ResourcesInNamespaceRequest.Merge(m, src) 11097 } 11098 func (m *ResourcesInNamespaceRequest) XXX_Size() int { 11099 return m.Size() 11100 } 11101 func (m *ResourcesInNamespaceRequest) XXX_DiscardUnknown() { 11102 xxx_messageInfo_ResourcesInNamespaceRequest.DiscardUnknown(m) 11103 } 11104 11105 var xxx_messageInfo_ResourcesInNamespaceRequest proto.InternalMessageInfo 11106 11107 // OIDCConnectorV3 represents an OIDC connector. 11108 type OIDCConnectorV3 struct { 11109 // Kind is a resource kind. 11110 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 11111 // SubKind is an optional resource sub kind, used in some resources. 11112 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 11113 // Version is the resource version. It must be specified. 11114 // Supported values are: `v3`. 11115 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 11116 // Metadata holds resource metadata. 11117 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 11118 // Spec is an OIDC connector specification. 11119 Spec OIDCConnectorSpecV3 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 11120 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11121 XXX_unrecognized []byte `json:"-"` 11122 XXX_sizecache int32 `json:"-"` 11123 } 11124 11125 func (m *OIDCConnectorV3) Reset() { *m = OIDCConnectorV3{} } 11126 func (m *OIDCConnectorV3) String() string { return proto.CompactTextString(m) } 11127 func (*OIDCConnectorV3) ProtoMessage() {} 11128 func (*OIDCConnectorV3) Descriptor() ([]byte, []int) { 11129 return fileDescriptor_9198ee693835762e, []int{186} 11130 } 11131 func (m *OIDCConnectorV3) XXX_Unmarshal(b []byte) error { 11132 return m.Unmarshal(b) 11133 } 11134 func (m *OIDCConnectorV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11135 if deterministic { 11136 return xxx_messageInfo_OIDCConnectorV3.Marshal(b, m, deterministic) 11137 } else { 11138 b = b[:cap(b)] 11139 n, err := m.MarshalToSizedBuffer(b) 11140 if err != nil { 11141 return nil, err 11142 } 11143 return b[:n], nil 11144 } 11145 } 11146 func (m *OIDCConnectorV3) XXX_Merge(src proto.Message) { 11147 xxx_messageInfo_OIDCConnectorV3.Merge(m, src) 11148 } 11149 func (m *OIDCConnectorV3) XXX_Size() int { 11150 return m.Size() 11151 } 11152 func (m *OIDCConnectorV3) XXX_DiscardUnknown() { 11153 xxx_messageInfo_OIDCConnectorV3.DiscardUnknown(m) 11154 } 11155 11156 var xxx_messageInfo_OIDCConnectorV3 proto.InternalMessageInfo 11157 11158 // OIDCConnectorV3List is a list of OIDC connectors. 11159 type OIDCConnectorV3List struct { 11160 // OIDCConnectors is a list of OIDC connectors. 11161 OIDCConnectors []*OIDCConnectorV3 `protobuf:"bytes,1,rep,name=OIDCConnectors,proto3" json:"OIDCConnectors,omitempty"` 11162 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11163 XXX_unrecognized []byte `json:"-"` 11164 XXX_sizecache int32 `json:"-"` 11165 } 11166 11167 func (m *OIDCConnectorV3List) Reset() { *m = OIDCConnectorV3List{} } 11168 func (m *OIDCConnectorV3List) String() string { return proto.CompactTextString(m) } 11169 func (*OIDCConnectorV3List) ProtoMessage() {} 11170 func (*OIDCConnectorV3List) Descriptor() ([]byte, []int) { 11171 return fileDescriptor_9198ee693835762e, []int{187} 11172 } 11173 func (m *OIDCConnectorV3List) XXX_Unmarshal(b []byte) error { 11174 return m.Unmarshal(b) 11175 } 11176 func (m *OIDCConnectorV3List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11177 if deterministic { 11178 return xxx_messageInfo_OIDCConnectorV3List.Marshal(b, m, deterministic) 11179 } else { 11180 b = b[:cap(b)] 11181 n, err := m.MarshalToSizedBuffer(b) 11182 if err != nil { 11183 return nil, err 11184 } 11185 return b[:n], nil 11186 } 11187 } 11188 func (m *OIDCConnectorV3List) XXX_Merge(src proto.Message) { 11189 xxx_messageInfo_OIDCConnectorV3List.Merge(m, src) 11190 } 11191 func (m *OIDCConnectorV3List) XXX_Size() int { 11192 return m.Size() 11193 } 11194 func (m *OIDCConnectorV3List) XXX_DiscardUnknown() { 11195 xxx_messageInfo_OIDCConnectorV3List.DiscardUnknown(m) 11196 } 11197 11198 var xxx_messageInfo_OIDCConnectorV3List proto.InternalMessageInfo 11199 11200 // OIDCConnectorSpecV3 is an OIDC connector specification. 11201 // 11202 // It specifies configuration for Open ID Connect compatible external 11203 // identity provider: https://openid.net/specs/openid-connect-core-1_0.html 11204 type OIDCConnectorSpecV3 struct { 11205 // IssuerURL is the endpoint of the provider, e.g. https://accounts.google.com. 11206 IssuerURL string `protobuf:"bytes,1,opt,name=IssuerURL,proto3" json:"issuer_url"` 11207 // ClientID is the id of the authentication client (Teleport Auth server). 11208 ClientID string `protobuf:"bytes,2,opt,name=ClientID,proto3" json:"client_id"` 11209 // ClientSecret is used to authenticate the client. 11210 ClientSecret string `protobuf:"bytes,3,opt,name=ClientSecret,proto3" json:"client_secret"` 11211 // ACR is an Authentication Context Class Reference value. The meaning of the ACR 11212 // value is context-specific and varies for identity providers. 11213 ACR string `protobuf:"bytes,5,opt,name=ACR,proto3" json:"acr_values,omitempty"` 11214 // Provider is the external identity provider. 11215 Provider string `protobuf:"bytes,6,opt,name=Provider,proto3" json:"provider,omitempty"` 11216 // Display is the friendly name for this provider. 11217 Display string `protobuf:"bytes,7,opt,name=Display,proto3" json:"display,omitempty"` 11218 // Scope specifies additional scopes set by provider. 11219 Scope []string `protobuf:"bytes,8,rep,name=Scope,proto3" json:"scope,omitempty"` 11220 // Prompt is an optional OIDC prompt. An empty string omits prompt. 11221 // If not specified, it defaults to select_account for backwards compatibility. 11222 Prompt string `protobuf:"bytes,9,opt,name=Prompt,proto3" json:"prompt,omitempty"` 11223 // ClaimsToRoles specifies a dynamic mapping from claims to roles. 11224 ClaimsToRoles []ClaimMapping `protobuf:"bytes,10,rep,name=ClaimsToRoles,proto3" json:"claims_to_roles,omitempty"` 11225 // GoogleServiceAccountURI is a path to a google service account uri. 11226 GoogleServiceAccountURI string `protobuf:"bytes,11,opt,name=GoogleServiceAccountURI,proto3" json:"google_service_account_uri,omitempty"` 11227 // GoogleServiceAccount is a string containing google service account credentials. 11228 GoogleServiceAccount string `protobuf:"bytes,12,opt,name=GoogleServiceAccount,proto3" json:"google_service_account,omitempty"` 11229 // GoogleAdminEmail is the email of a google admin to impersonate. 11230 GoogleAdminEmail string `protobuf:"bytes,13,opt,name=GoogleAdminEmail,proto3" json:"google_admin_email,omitempty"` 11231 // RedirectURLs is a list of callback URLs which the identity provider can use 11232 // to redirect the client back to the Teleport Proxy to complete authentication. 11233 // This list should match the URLs on the provider's side. The URL used for a 11234 // given auth request will be chosen to match the requesting Proxy's public 11235 // address. If there is no match, the first url in the list will be used. 11236 RedirectURLs github_com_gravitational_teleport_api_types_wrappers.Strings `protobuf:"bytes,14,opt,name=RedirectURLs,proto3,customtype=github.com/gravitational/teleport/api/types/wrappers.Strings" json:"redirect_url"` 11237 // AllowUnverifiedEmail tells the connector to accept OIDC users with unverified emails. 11238 AllowUnverifiedEmail bool `protobuf:"varint,15,opt,name=AllowUnverifiedEmail,proto3" json:"allow_unverified_email,omitempty"` 11239 // UsernameClaim specifies the name of the claim from the OIDC connector to be used as the user's username. 11240 UsernameClaim string `protobuf:"bytes,16,opt,name=UsernameClaim,proto3" json:"username_claim,omitempty"` 11241 // MaxAge is the amount of time that user logins are 11242 // valid for. If a user logs in, but then does not login again 11243 // within this time period, they will be forced to re-authenticate. 11244 *MaxAge `protobuf:"bytes,17,opt,name=MaxAge,proto3,embedded=MaxAge" json:""` 11245 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11246 XXX_unrecognized []byte `json:"-"` 11247 XXX_sizecache int32 `json:"-"` 11248 } 11249 11250 func (m *OIDCConnectorSpecV3) Reset() { *m = OIDCConnectorSpecV3{} } 11251 func (m *OIDCConnectorSpecV3) String() string { return proto.CompactTextString(m) } 11252 func (*OIDCConnectorSpecV3) ProtoMessage() {} 11253 func (*OIDCConnectorSpecV3) Descriptor() ([]byte, []int) { 11254 return fileDescriptor_9198ee693835762e, []int{188} 11255 } 11256 func (m *OIDCConnectorSpecV3) XXX_Unmarshal(b []byte) error { 11257 return m.Unmarshal(b) 11258 } 11259 func (m *OIDCConnectorSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11260 if deterministic { 11261 return xxx_messageInfo_OIDCConnectorSpecV3.Marshal(b, m, deterministic) 11262 } else { 11263 b = b[:cap(b)] 11264 n, err := m.MarshalToSizedBuffer(b) 11265 if err != nil { 11266 return nil, err 11267 } 11268 return b[:n], nil 11269 } 11270 } 11271 func (m *OIDCConnectorSpecV3) XXX_Merge(src proto.Message) { 11272 xxx_messageInfo_OIDCConnectorSpecV3.Merge(m, src) 11273 } 11274 func (m *OIDCConnectorSpecV3) XXX_Size() int { 11275 return m.Size() 11276 } 11277 func (m *OIDCConnectorSpecV3) XXX_DiscardUnknown() { 11278 xxx_messageInfo_OIDCConnectorSpecV3.DiscardUnknown(m) 11279 } 11280 11281 var xxx_messageInfo_OIDCConnectorSpecV3 proto.InternalMessageInfo 11282 11283 // MaxAge allows the max_age parameter to be nullable to preserve backwards 11284 // compatibility. The duration is stored as nanoseconds. 11285 type MaxAge struct { 11286 Value Duration `protobuf:"varint,1,opt,name=Value,proto3,casttype=Duration" json:"max_age"` 11287 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11288 XXX_unrecognized []byte `json:"-"` 11289 XXX_sizecache int32 `json:"-"` 11290 } 11291 11292 func (m *MaxAge) Reset() { *m = MaxAge{} } 11293 func (m *MaxAge) String() string { return proto.CompactTextString(m) } 11294 func (*MaxAge) ProtoMessage() {} 11295 func (*MaxAge) Descriptor() ([]byte, []int) { 11296 return fileDescriptor_9198ee693835762e, []int{189} 11297 } 11298 func (m *MaxAge) XXX_Unmarshal(b []byte) error { 11299 return m.Unmarshal(b) 11300 } 11301 func (m *MaxAge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11302 if deterministic { 11303 return xxx_messageInfo_MaxAge.Marshal(b, m, deterministic) 11304 } else { 11305 b = b[:cap(b)] 11306 n, err := m.MarshalToSizedBuffer(b) 11307 if err != nil { 11308 return nil, err 11309 } 11310 return b[:n], nil 11311 } 11312 } 11313 func (m *MaxAge) XXX_Merge(src proto.Message) { 11314 xxx_messageInfo_MaxAge.Merge(m, src) 11315 } 11316 func (m *MaxAge) XXX_Size() int { 11317 return m.Size() 11318 } 11319 func (m *MaxAge) XXX_DiscardUnknown() { 11320 xxx_messageInfo_MaxAge.DiscardUnknown(m) 11321 } 11322 11323 var xxx_messageInfo_MaxAge proto.InternalMessageInfo 11324 11325 // OIDCAuthRequest is a request to authenticate with OIDC 11326 // provider, the state about request is managed by auth server 11327 type OIDCAuthRequest struct { 11328 // ConnectorID is ID of OIDC connector this request uses 11329 ConnectorID string `protobuf:"bytes,1,opt,name=ConnectorID,proto3" json:"connector_id"` 11330 // Type is opaque string that helps callbacks identify the request type 11331 Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"type"` 11332 // CheckUser tells validator if it should expect and check user 11333 CheckUser bool `protobuf:"varint,3,opt,name=CheckUser,proto3" json:"check_user"` 11334 // StateToken is generated by service and is used to validate 11335 // request coming from 11336 StateToken string `protobuf:"bytes,4,opt,name=StateToken,proto3" json:"state_token"` 11337 // CSRFToken is associated with user web session token 11338 CSRFToken string `protobuf:"bytes,5,opt,name=CSRFToken,proto3" json:"csrf_token"` 11339 // RedirectURL will be used to route the user back to a 11340 // Teleport Proxy after the oidc login attempt in the browser. 11341 RedirectURL string `protobuf:"bytes,6,opt,name=RedirectURL,proto3" json:"redirect_url"` 11342 // PublicKey is an optional public key, users want these 11343 // keys to be signed by auth servers user CA in case 11344 // of successful auth 11345 PublicKey []byte `protobuf:"bytes,7,opt,name=PublicKey,proto3" json:"public_key"` 11346 // CertTTL is the TTL of the certificate user wants to get 11347 CertTTL time.Duration `protobuf:"varint,8,opt,name=CertTTL,proto3,casttype=time.Duration" json:"cert_ttl"` 11348 // CreateWebSession indicates if user wants to generate a web 11349 // session after successful authentication 11350 CreateWebSession bool `protobuf:"varint,9,opt,name=CreateWebSession,proto3" json:"create_web_session"` 11351 // ClientRedirectURL is a URL client wants to be redirected 11352 // after successful authentication 11353 ClientRedirectURL string `protobuf:"bytes,10,opt,name=ClientRedirectURL,proto3" json:"client_redirect_url"` 11354 // Compatibility specifies OpenSSH compatibility flags. 11355 Compatibility string `protobuf:"bytes,11,opt,name=Compatibility,proto3" json:"compatibility,omitempty"` 11356 // RouteToCluster is the name of Teleport cluster to issue credentials for. 11357 RouteToCluster string `protobuf:"bytes,12,opt,name=RouteToCluster,proto3" json:"route_to_cluster,omitempty"` 11358 // KubernetesCluster is the name of Kubernetes cluster to issue credentials for. 11359 KubernetesCluster string `protobuf:"bytes,13,opt,name=KubernetesCluster,proto3" json:"kubernetes_cluster,omitempty"` 11360 // SSOTestFlow indicates if the request is part of the test flow. 11361 SSOTestFlow bool `protobuf:"varint,14,opt,name=SSOTestFlow,proto3" json:"sso_test_flow"` 11362 // ConnectorSpec is embedded connector spec for use in test flow. 11363 ConnectorSpec *OIDCConnectorSpecV3 `protobuf:"bytes,15,opt,name=ConnectorSpec,proto3" json:"connector_spec,omitempty"` 11364 // ProxyAddress is an optional address which can be used to 11365 // find a redirect url from the OIDC connector which matches 11366 // the address. If there is no match, the default redirect 11367 // url will be used. 11368 ProxyAddress string `protobuf:"bytes,16,opt,name=ProxyAddress,proto3" json:"proxy_address,omitempty"` 11369 // attestation_statement is an attestation statement for the given public key. 11370 AttestationStatement *v1.AttestationStatement `protobuf:"bytes,17,opt,name=attestation_statement,json=attestationStatement,proto3" json:"attestation_statement,omitempty"` 11371 // ClientLoginIP specifies IP address of the client for login, it will be written to the user's certificates. 11372 ClientLoginIP string `protobuf:"bytes,18,opt,name=ClientLoginIP,proto3" json:"client_login_ip,omitempty"` 11373 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11374 XXX_unrecognized []byte `json:"-"` 11375 XXX_sizecache int32 `json:"-"` 11376 } 11377 11378 func (m *OIDCAuthRequest) Reset() { *m = OIDCAuthRequest{} } 11379 func (m *OIDCAuthRequest) String() string { return proto.CompactTextString(m) } 11380 func (*OIDCAuthRequest) ProtoMessage() {} 11381 func (*OIDCAuthRequest) Descriptor() ([]byte, []int) { 11382 return fileDescriptor_9198ee693835762e, []int{190} 11383 } 11384 func (m *OIDCAuthRequest) XXX_Unmarshal(b []byte) error { 11385 return m.Unmarshal(b) 11386 } 11387 func (m *OIDCAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11388 if deterministic { 11389 return xxx_messageInfo_OIDCAuthRequest.Marshal(b, m, deterministic) 11390 } else { 11391 b = b[:cap(b)] 11392 n, err := m.MarshalToSizedBuffer(b) 11393 if err != nil { 11394 return nil, err 11395 } 11396 return b[:n], nil 11397 } 11398 } 11399 func (m *OIDCAuthRequest) XXX_Merge(src proto.Message) { 11400 xxx_messageInfo_OIDCAuthRequest.Merge(m, src) 11401 } 11402 func (m *OIDCAuthRequest) XXX_Size() int { 11403 return m.Size() 11404 } 11405 func (m *OIDCAuthRequest) XXX_DiscardUnknown() { 11406 xxx_messageInfo_OIDCAuthRequest.DiscardUnknown(m) 11407 } 11408 11409 var xxx_messageInfo_OIDCAuthRequest proto.InternalMessageInfo 11410 11411 // SAMLConnectorV2 represents a SAML connector. 11412 type SAMLConnectorV2 struct { 11413 // Kind is a resource kind. 11414 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 11415 // SubKind is an optional resource sub kind, used in some resources. 11416 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 11417 // Version is the resource version. It must be specified. 11418 // Supported values are: `v2`. 11419 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 11420 // Metadata holds resource metadata. 11421 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 11422 // Spec is an SAML connector specification. 11423 Spec SAMLConnectorSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 11424 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11425 XXX_unrecognized []byte `json:"-"` 11426 XXX_sizecache int32 `json:"-"` 11427 } 11428 11429 func (m *SAMLConnectorV2) Reset() { *m = SAMLConnectorV2{} } 11430 func (m *SAMLConnectorV2) String() string { return proto.CompactTextString(m) } 11431 func (*SAMLConnectorV2) ProtoMessage() {} 11432 func (*SAMLConnectorV2) Descriptor() ([]byte, []int) { 11433 return fileDescriptor_9198ee693835762e, []int{191} 11434 } 11435 func (m *SAMLConnectorV2) XXX_Unmarshal(b []byte) error { 11436 return m.Unmarshal(b) 11437 } 11438 func (m *SAMLConnectorV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11439 if deterministic { 11440 return xxx_messageInfo_SAMLConnectorV2.Marshal(b, m, deterministic) 11441 } else { 11442 b = b[:cap(b)] 11443 n, err := m.MarshalToSizedBuffer(b) 11444 if err != nil { 11445 return nil, err 11446 } 11447 return b[:n], nil 11448 } 11449 } 11450 func (m *SAMLConnectorV2) XXX_Merge(src proto.Message) { 11451 xxx_messageInfo_SAMLConnectorV2.Merge(m, src) 11452 } 11453 func (m *SAMLConnectorV2) XXX_Size() int { 11454 return m.Size() 11455 } 11456 func (m *SAMLConnectorV2) XXX_DiscardUnknown() { 11457 xxx_messageInfo_SAMLConnectorV2.DiscardUnknown(m) 11458 } 11459 11460 var xxx_messageInfo_SAMLConnectorV2 proto.InternalMessageInfo 11461 11462 // SAMLConnectorV2List is a list of SAML connectors. 11463 type SAMLConnectorV2List struct { 11464 // SAMLConnectors is a list of SAML connectors. 11465 SAMLConnectors []*SAMLConnectorV2 `protobuf:"bytes,1,rep,name=SAMLConnectors,proto3" json:"SAMLConnectors,omitempty"` 11466 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11467 XXX_unrecognized []byte `json:"-"` 11468 XXX_sizecache int32 `json:"-"` 11469 } 11470 11471 func (m *SAMLConnectorV2List) Reset() { *m = SAMLConnectorV2List{} } 11472 func (m *SAMLConnectorV2List) String() string { return proto.CompactTextString(m) } 11473 func (*SAMLConnectorV2List) ProtoMessage() {} 11474 func (*SAMLConnectorV2List) Descriptor() ([]byte, []int) { 11475 return fileDescriptor_9198ee693835762e, []int{192} 11476 } 11477 func (m *SAMLConnectorV2List) XXX_Unmarshal(b []byte) error { 11478 return m.Unmarshal(b) 11479 } 11480 func (m *SAMLConnectorV2List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11481 if deterministic { 11482 return xxx_messageInfo_SAMLConnectorV2List.Marshal(b, m, deterministic) 11483 } else { 11484 b = b[:cap(b)] 11485 n, err := m.MarshalToSizedBuffer(b) 11486 if err != nil { 11487 return nil, err 11488 } 11489 return b[:n], nil 11490 } 11491 } 11492 func (m *SAMLConnectorV2List) XXX_Merge(src proto.Message) { 11493 xxx_messageInfo_SAMLConnectorV2List.Merge(m, src) 11494 } 11495 func (m *SAMLConnectorV2List) XXX_Size() int { 11496 return m.Size() 11497 } 11498 func (m *SAMLConnectorV2List) XXX_DiscardUnknown() { 11499 xxx_messageInfo_SAMLConnectorV2List.DiscardUnknown(m) 11500 } 11501 11502 var xxx_messageInfo_SAMLConnectorV2List proto.InternalMessageInfo 11503 11504 // SAMLConnectorSpecV2 is a SAML connector specification. 11505 type SAMLConnectorSpecV2 struct { 11506 // Issuer is the identity provider issuer. 11507 Issuer string `protobuf:"bytes,1,opt,name=Issuer,proto3" json:"issuer"` 11508 // SSO is the URL of the identity provider's SSO service. 11509 SSO string `protobuf:"bytes,2,opt,name=SSO,proto3" json:"sso"` 11510 // Cert is the identity provider certificate PEM. 11511 // IDP signs <Response> responses using this certificate. 11512 Cert string `protobuf:"bytes,3,opt,name=Cert,proto3" json:"cert"` 11513 // Display controls how this connector is displayed. 11514 Display string `protobuf:"bytes,4,opt,name=Display,proto3" json:"display"` 11515 // AssertionConsumerService is a URL for assertion consumer service 11516 // on the service provider (Teleport's side). 11517 AssertionConsumerService string `protobuf:"bytes,5,opt,name=AssertionConsumerService,proto3" json:"acs"` 11518 // Audience uniquely identifies our service provider. 11519 Audience string `protobuf:"bytes,6,opt,name=Audience,proto3" json:"audience"` 11520 // ServiceProviderIssuer is the issuer of the service provider (Teleport). 11521 ServiceProviderIssuer string `protobuf:"bytes,7,opt,name=ServiceProviderIssuer,proto3" json:"service_provider_issuer"` 11522 // EntityDescriptor is XML with descriptor. It can be used to supply configuration 11523 // parameters in one XML file rather than supplying them in the individual elements. 11524 EntityDescriptor string `protobuf:"bytes,8,opt,name=EntityDescriptor,proto3" json:"entity_descriptor"` 11525 // EntityDescriptorURL is a URL that supplies a configuration XML. 11526 EntityDescriptorURL string `protobuf:"bytes,9,opt,name=EntityDescriptorURL,proto3" json:"entity_descriptor_url"` 11527 // AttributesToRoles is a list of mappings of attribute statements to roles. 11528 AttributesToRoles []AttributeMapping `protobuf:"bytes,10,rep,name=AttributesToRoles,proto3" json:"attributes_to_roles"` 11529 // SigningKeyPair is an x509 key pair used to sign AuthnRequest. 11530 SigningKeyPair *AsymmetricKeyPair `protobuf:"bytes,11,opt,name=SigningKeyPair,proto3" json:"signing_key_pair,omitempty"` 11531 // Provider is the external identity provider. 11532 Provider string `protobuf:"bytes,12,opt,name=Provider,proto3" json:"provider,omitempty"` 11533 // EncryptionKeyPair is a key pair used for decrypting SAML assertions. 11534 EncryptionKeyPair *AsymmetricKeyPair `protobuf:"bytes,13,opt,name=EncryptionKeyPair,proto3" json:"assertion_key_pair,omitempty"` 11535 // AllowIDPInitiated is a flag that indicates if the connector can be used for IdP-initiated 11536 // logins. 11537 AllowIDPInitiated bool `protobuf:"varint,14,opt,name=AllowIDPInitiated,proto3" json:"allow_idp_initiated,omitempty"` 11538 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11539 XXX_unrecognized []byte `json:"-"` 11540 XXX_sizecache int32 `json:"-"` 11541 } 11542 11543 func (m *SAMLConnectorSpecV2) Reset() { *m = SAMLConnectorSpecV2{} } 11544 func (m *SAMLConnectorSpecV2) String() string { return proto.CompactTextString(m) } 11545 func (*SAMLConnectorSpecV2) ProtoMessage() {} 11546 func (*SAMLConnectorSpecV2) Descriptor() ([]byte, []int) { 11547 return fileDescriptor_9198ee693835762e, []int{193} 11548 } 11549 func (m *SAMLConnectorSpecV2) XXX_Unmarshal(b []byte) error { 11550 return m.Unmarshal(b) 11551 } 11552 func (m *SAMLConnectorSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11553 if deterministic { 11554 return xxx_messageInfo_SAMLConnectorSpecV2.Marshal(b, m, deterministic) 11555 } else { 11556 b = b[:cap(b)] 11557 n, err := m.MarshalToSizedBuffer(b) 11558 if err != nil { 11559 return nil, err 11560 } 11561 return b[:n], nil 11562 } 11563 } 11564 func (m *SAMLConnectorSpecV2) XXX_Merge(src proto.Message) { 11565 xxx_messageInfo_SAMLConnectorSpecV2.Merge(m, src) 11566 } 11567 func (m *SAMLConnectorSpecV2) XXX_Size() int { 11568 return m.Size() 11569 } 11570 func (m *SAMLConnectorSpecV2) XXX_DiscardUnknown() { 11571 xxx_messageInfo_SAMLConnectorSpecV2.DiscardUnknown(m) 11572 } 11573 11574 var xxx_messageInfo_SAMLConnectorSpecV2 proto.InternalMessageInfo 11575 11576 // SAMLAuthRequest is a request to authenticate with SAML 11577 // provider, the state about request is managed by auth server. 11578 type SAMLAuthRequest struct { 11579 // ID is a unique request ID. 11580 ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"id"` 11581 // ConnectorID is ID of OIDC connector this request uses. 11582 ConnectorID string `protobuf:"bytes,2,opt,name=ConnectorID,proto3" json:"connector_id"` 11583 // Type is opaque string that helps callbacks identify the request type. 11584 Type string `protobuf:"bytes,3,opt,name=Type,proto3" json:"type"` 11585 // CheckUser tells validator if it should expect and check user. 11586 CheckUser bool `protobuf:"varint,4,opt,name=CheckUser,proto3" json:"check_user"` 11587 // RedirectURL will be used by browser. 11588 RedirectURL string `protobuf:"bytes,5,opt,name=RedirectURL,proto3" json:"redirect_url"` 11589 // PublicKey is an optional public key, users want these 11590 // keys to be signed by auth servers user CA in case 11591 // of successful auth. 11592 PublicKey []byte `protobuf:"bytes,6,opt,name=PublicKey,proto3" json:"public_key"` 11593 // CertTTL is the TTL of the certificate user wants to get. 11594 CertTTL time.Duration `protobuf:"varint,7,opt,name=CertTTL,proto3,casttype=time.Duration" json:"cert_ttl"` 11595 // CSRFToken is associated with user web session token. 11596 CSRFToken string `protobuf:"bytes,8,opt,name=CSRFToken,proto3" json:"csrf_token"` 11597 // CreateWebSession indicates if user wants to generate a web 11598 // session after successful authentication. 11599 CreateWebSession bool `protobuf:"varint,9,opt,name=CreateWebSession,proto3" json:"create_web_session"` 11600 // ClientRedirectURL is a URL client wants to be redirected 11601 // after successful authentication. 11602 ClientRedirectURL string `protobuf:"bytes,10,opt,name=ClientRedirectURL,proto3" json:"client_redirect_url"` 11603 // Compatibility specifies OpenSSH compatibility flags. 11604 Compatibility string `protobuf:"bytes,11,opt,name=Compatibility,proto3" json:"compatibility,omitempty"` 11605 // RouteToCluster is the name of Teleport cluster to issue credentials for. 11606 RouteToCluster string `protobuf:"bytes,12,opt,name=RouteToCluster,proto3" json:"route_to_cluster,omitempty"` 11607 // KubernetesCluster is the name of Kubernetes cluster to issue credentials for. 11608 KubernetesCluster string `protobuf:"bytes,13,opt,name=KubernetesCluster,proto3" json:"kubernetes_cluster,omitempty"` 11609 // SSOTestFlow indicates if the request is part of the test flow. 11610 SSOTestFlow bool `protobuf:"varint,14,opt,name=SSOTestFlow,proto3" json:"sso_test_flow"` 11611 // ConnectorSpec is embedded connector spec for use in test flow. 11612 ConnectorSpec *SAMLConnectorSpecV2 `protobuf:"bytes,15,opt,name=ConnectorSpec,proto3" json:"connector_spec,omitempty"` 11613 // attestation_statement is an attestation statement for the given public key. 11614 AttestationStatement *v1.AttestationStatement `protobuf:"bytes,16,opt,name=attestation_statement,json=attestationStatement,proto3" json:"attestation_statement,omitempty"` 11615 // ClientLoginIP specifies IP address of the client for login, it will be written to the user's certificates. 11616 ClientLoginIP string `protobuf:"bytes,17,opt,name=ClientLoginIP,proto3" json:"client_login_ip,omitempty"` 11617 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11618 XXX_unrecognized []byte `json:"-"` 11619 XXX_sizecache int32 `json:"-"` 11620 } 11621 11622 func (m *SAMLAuthRequest) Reset() { *m = SAMLAuthRequest{} } 11623 func (m *SAMLAuthRequest) String() string { return proto.CompactTextString(m) } 11624 func (*SAMLAuthRequest) ProtoMessage() {} 11625 func (*SAMLAuthRequest) Descriptor() ([]byte, []int) { 11626 return fileDescriptor_9198ee693835762e, []int{194} 11627 } 11628 func (m *SAMLAuthRequest) XXX_Unmarshal(b []byte) error { 11629 return m.Unmarshal(b) 11630 } 11631 func (m *SAMLAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11632 if deterministic { 11633 return xxx_messageInfo_SAMLAuthRequest.Marshal(b, m, deterministic) 11634 } else { 11635 b = b[:cap(b)] 11636 n, err := m.MarshalToSizedBuffer(b) 11637 if err != nil { 11638 return nil, err 11639 } 11640 return b[:n], nil 11641 } 11642 } 11643 func (m *SAMLAuthRequest) XXX_Merge(src proto.Message) { 11644 xxx_messageInfo_SAMLAuthRequest.Merge(m, src) 11645 } 11646 func (m *SAMLAuthRequest) XXX_Size() int { 11647 return m.Size() 11648 } 11649 func (m *SAMLAuthRequest) XXX_DiscardUnknown() { 11650 xxx_messageInfo_SAMLAuthRequest.DiscardUnknown(m) 11651 } 11652 11653 var xxx_messageInfo_SAMLAuthRequest proto.InternalMessageInfo 11654 11655 // AttributeMapping maps a SAML attribute statement to teleport roles. 11656 type AttributeMapping struct { 11657 // Name is an attribute statement name. 11658 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 11659 // Value is an attribute statement value to match. 11660 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"value"` 11661 // Roles is a list of static teleport roles to map to. 11662 Roles []string `protobuf:"bytes,3,rep,name=Roles,proto3" json:"roles,omitempty"` 11663 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11664 XXX_unrecognized []byte `json:"-"` 11665 XXX_sizecache int32 `json:"-"` 11666 } 11667 11668 func (m *AttributeMapping) Reset() { *m = AttributeMapping{} } 11669 func (m *AttributeMapping) String() string { return proto.CompactTextString(m) } 11670 func (*AttributeMapping) ProtoMessage() {} 11671 func (*AttributeMapping) Descriptor() ([]byte, []int) { 11672 return fileDescriptor_9198ee693835762e, []int{195} 11673 } 11674 func (m *AttributeMapping) XXX_Unmarshal(b []byte) error { 11675 return m.Unmarshal(b) 11676 } 11677 func (m *AttributeMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11678 if deterministic { 11679 return xxx_messageInfo_AttributeMapping.Marshal(b, m, deterministic) 11680 } else { 11681 b = b[:cap(b)] 11682 n, err := m.MarshalToSizedBuffer(b) 11683 if err != nil { 11684 return nil, err 11685 } 11686 return b[:n], nil 11687 } 11688 } 11689 func (m *AttributeMapping) XXX_Merge(src proto.Message) { 11690 xxx_messageInfo_AttributeMapping.Merge(m, src) 11691 } 11692 func (m *AttributeMapping) XXX_Size() int { 11693 return m.Size() 11694 } 11695 func (m *AttributeMapping) XXX_DiscardUnknown() { 11696 xxx_messageInfo_AttributeMapping.DiscardUnknown(m) 11697 } 11698 11699 var xxx_messageInfo_AttributeMapping proto.InternalMessageInfo 11700 11701 // AsymmetricKeyPair is a combination of a public certificate and 11702 // private key that can be used for encryption and signing. 11703 type AsymmetricKeyPair struct { 11704 // PrivateKey is a PEM encoded x509 private key. 11705 PrivateKey string `protobuf:"bytes,1,opt,name=PrivateKey,proto3" json:"private_key"` 11706 // Cert is a PEM-encoded x509 certificate. 11707 Cert string `protobuf:"bytes,2,opt,name=Cert,proto3" json:"cert"` 11708 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11709 XXX_unrecognized []byte `json:"-"` 11710 XXX_sizecache int32 `json:"-"` 11711 } 11712 11713 func (m *AsymmetricKeyPair) Reset() { *m = AsymmetricKeyPair{} } 11714 func (m *AsymmetricKeyPair) String() string { return proto.CompactTextString(m) } 11715 func (*AsymmetricKeyPair) ProtoMessage() {} 11716 func (*AsymmetricKeyPair) Descriptor() ([]byte, []int) { 11717 return fileDescriptor_9198ee693835762e, []int{196} 11718 } 11719 func (m *AsymmetricKeyPair) XXX_Unmarshal(b []byte) error { 11720 return m.Unmarshal(b) 11721 } 11722 func (m *AsymmetricKeyPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11723 if deterministic { 11724 return xxx_messageInfo_AsymmetricKeyPair.Marshal(b, m, deterministic) 11725 } else { 11726 b = b[:cap(b)] 11727 n, err := m.MarshalToSizedBuffer(b) 11728 if err != nil { 11729 return nil, err 11730 } 11731 return b[:n], nil 11732 } 11733 } 11734 func (m *AsymmetricKeyPair) XXX_Merge(src proto.Message) { 11735 xxx_messageInfo_AsymmetricKeyPair.Merge(m, src) 11736 } 11737 func (m *AsymmetricKeyPair) XXX_Size() int { 11738 return m.Size() 11739 } 11740 func (m *AsymmetricKeyPair) XXX_DiscardUnknown() { 11741 xxx_messageInfo_AsymmetricKeyPair.DiscardUnknown(m) 11742 } 11743 11744 var xxx_messageInfo_AsymmetricKeyPair proto.InternalMessageInfo 11745 11746 // GithubConnectorV3 represents a Github connector. 11747 type GithubConnectorV3 struct { 11748 // Kind is a resource kind. 11749 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 11750 // SubKind is an optional resource sub kind, used in some resources. 11751 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 11752 // Version is the resource version. It must be specified. 11753 // Supported values are: `v3`. 11754 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 11755 // Metadata holds resource metadata. 11756 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 11757 // Spec is an Github connector specification. 11758 Spec GithubConnectorSpecV3 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 11759 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11760 XXX_unrecognized []byte `json:"-"` 11761 XXX_sizecache int32 `json:"-"` 11762 } 11763 11764 func (m *GithubConnectorV3) Reset() { *m = GithubConnectorV3{} } 11765 func (m *GithubConnectorV3) String() string { return proto.CompactTextString(m) } 11766 func (*GithubConnectorV3) ProtoMessage() {} 11767 func (*GithubConnectorV3) Descriptor() ([]byte, []int) { 11768 return fileDescriptor_9198ee693835762e, []int{197} 11769 } 11770 func (m *GithubConnectorV3) XXX_Unmarshal(b []byte) error { 11771 return m.Unmarshal(b) 11772 } 11773 func (m *GithubConnectorV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11774 if deterministic { 11775 return xxx_messageInfo_GithubConnectorV3.Marshal(b, m, deterministic) 11776 } else { 11777 b = b[:cap(b)] 11778 n, err := m.MarshalToSizedBuffer(b) 11779 if err != nil { 11780 return nil, err 11781 } 11782 return b[:n], nil 11783 } 11784 } 11785 func (m *GithubConnectorV3) XXX_Merge(src proto.Message) { 11786 xxx_messageInfo_GithubConnectorV3.Merge(m, src) 11787 } 11788 func (m *GithubConnectorV3) XXX_Size() int { 11789 return m.Size() 11790 } 11791 func (m *GithubConnectorV3) XXX_DiscardUnknown() { 11792 xxx_messageInfo_GithubConnectorV3.DiscardUnknown(m) 11793 } 11794 11795 var xxx_messageInfo_GithubConnectorV3 proto.InternalMessageInfo 11796 11797 // GithubConnectorV3List is a list of Github connectors. 11798 type GithubConnectorV3List struct { 11799 // GithubConnectors is a list of Github connectors. 11800 GithubConnectors []*GithubConnectorV3 `protobuf:"bytes,1,rep,name=GithubConnectors,proto3" json:"GithubConnectors,omitempty"` 11801 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11802 XXX_unrecognized []byte `json:"-"` 11803 XXX_sizecache int32 `json:"-"` 11804 } 11805 11806 func (m *GithubConnectorV3List) Reset() { *m = GithubConnectorV3List{} } 11807 func (m *GithubConnectorV3List) String() string { return proto.CompactTextString(m) } 11808 func (*GithubConnectorV3List) ProtoMessage() {} 11809 func (*GithubConnectorV3List) Descriptor() ([]byte, []int) { 11810 return fileDescriptor_9198ee693835762e, []int{198} 11811 } 11812 func (m *GithubConnectorV3List) XXX_Unmarshal(b []byte) error { 11813 return m.Unmarshal(b) 11814 } 11815 func (m *GithubConnectorV3List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11816 if deterministic { 11817 return xxx_messageInfo_GithubConnectorV3List.Marshal(b, m, deterministic) 11818 } else { 11819 b = b[:cap(b)] 11820 n, err := m.MarshalToSizedBuffer(b) 11821 if err != nil { 11822 return nil, err 11823 } 11824 return b[:n], nil 11825 } 11826 } 11827 func (m *GithubConnectorV3List) XXX_Merge(src proto.Message) { 11828 xxx_messageInfo_GithubConnectorV3List.Merge(m, src) 11829 } 11830 func (m *GithubConnectorV3List) XXX_Size() int { 11831 return m.Size() 11832 } 11833 func (m *GithubConnectorV3List) XXX_DiscardUnknown() { 11834 xxx_messageInfo_GithubConnectorV3List.DiscardUnknown(m) 11835 } 11836 11837 var xxx_messageInfo_GithubConnectorV3List proto.InternalMessageInfo 11838 11839 // GithubConnectorSpecV3 is a Github connector specification. 11840 type GithubConnectorSpecV3 struct { 11841 // ClientID is the Github OAuth app client ID. 11842 ClientID string `protobuf:"bytes,1,opt,name=ClientID,proto3" json:"client_id"` 11843 // ClientSecret is the Github OAuth app client secret. 11844 ClientSecret string `protobuf:"bytes,2,opt,name=ClientSecret,proto3" json:"client_secret"` 11845 // RedirectURL is the authorization callback URL. 11846 RedirectURL string `protobuf:"bytes,3,opt,name=RedirectURL,proto3" json:"redirect_url"` 11847 // TeamsToLogins maps Github team memberships onto allowed logins/roles. 11848 // 11849 // DELETE IN 11.0.0 11850 // Deprecated: use GithubTeamsToRoles instead. 11851 TeamsToLogins []TeamMapping `protobuf:"bytes,4,rep,name=TeamsToLogins,proto3" json:"teams_to_logins"` 11852 // Display is the connector display name. 11853 Display string `protobuf:"bytes,5,opt,name=Display,proto3" json:"display"` 11854 // TeamsToRoles maps Github team memberships onto allowed roles. 11855 TeamsToRoles []TeamRolesMapping `protobuf:"bytes,6,rep,name=TeamsToRoles,proto3" json:"teams_to_roles"` 11856 // EndpointURL is the URL of the GitHub instance this connector is for. 11857 EndpointURL string `protobuf:"bytes,7,opt,name=EndpointURL,proto3" json:"endpoint_url"` 11858 // APIEndpointURL is the URL of the API endpoint of the Github instance 11859 // this connector is for. 11860 APIEndpointURL string `protobuf:"bytes,8,opt,name=APIEndpointURL,proto3" json:"api_endpoint_url"` 11861 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11862 XXX_unrecognized []byte `json:"-"` 11863 XXX_sizecache int32 `json:"-"` 11864 } 11865 11866 func (m *GithubConnectorSpecV3) Reset() { *m = GithubConnectorSpecV3{} } 11867 func (m *GithubConnectorSpecV3) String() string { return proto.CompactTextString(m) } 11868 func (*GithubConnectorSpecV3) ProtoMessage() {} 11869 func (*GithubConnectorSpecV3) Descriptor() ([]byte, []int) { 11870 return fileDescriptor_9198ee693835762e, []int{199} 11871 } 11872 func (m *GithubConnectorSpecV3) XXX_Unmarshal(b []byte) error { 11873 return m.Unmarshal(b) 11874 } 11875 func (m *GithubConnectorSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11876 if deterministic { 11877 return xxx_messageInfo_GithubConnectorSpecV3.Marshal(b, m, deterministic) 11878 } else { 11879 b = b[:cap(b)] 11880 n, err := m.MarshalToSizedBuffer(b) 11881 if err != nil { 11882 return nil, err 11883 } 11884 return b[:n], nil 11885 } 11886 } 11887 func (m *GithubConnectorSpecV3) XXX_Merge(src proto.Message) { 11888 xxx_messageInfo_GithubConnectorSpecV3.Merge(m, src) 11889 } 11890 func (m *GithubConnectorSpecV3) XXX_Size() int { 11891 return m.Size() 11892 } 11893 func (m *GithubConnectorSpecV3) XXX_DiscardUnknown() { 11894 xxx_messageInfo_GithubConnectorSpecV3.DiscardUnknown(m) 11895 } 11896 11897 var xxx_messageInfo_GithubConnectorSpecV3 proto.InternalMessageInfo 11898 11899 // GithubAuthRequest is the request to start Github OAuth2 flow. 11900 type GithubAuthRequest struct { 11901 // ConnectorID is the name of the connector to use. 11902 ConnectorID string `protobuf:"bytes,1,opt,name=ConnectorID,proto3" json:"connector_id"` 11903 // Type is opaque string that helps callbacks identify the request type. 11904 Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"type"` 11905 // StateToken is used to validate the request. 11906 StateToken string `protobuf:"bytes,3,opt,name=StateToken,proto3" json:"state_token"` 11907 // CSRFToken is used to protect against CSRF attacks. 11908 CSRFToken string `protobuf:"bytes,4,opt,name=CSRFToken,proto3" json:"csrf_token"` 11909 // PublicKey is an optional public key to sign in case of successful auth. 11910 PublicKey []byte `protobuf:"bytes,5,opt,name=PublicKey,proto3" json:"public_key"` 11911 // CertTTL is TTL of the cert that's generated in case of successful auth. 11912 CertTTL time.Duration `protobuf:"varint,6,opt,name=CertTTL,proto3,casttype=time.Duration" json:"cert_ttl"` 11913 // CreateWebSession indicates that a user wants to generate a web session 11914 // after successful authentication. 11915 CreateWebSession bool `protobuf:"varint,7,opt,name=CreateWebSession,proto3" json:"create_web_session"` 11916 // RedirectURL will be used by browser. 11917 RedirectURL string `protobuf:"bytes,8,opt,name=RedirectURL,proto3" json:"redirect_url"` 11918 // ClientRedirectURL is the URL where client will be redirected after 11919 // successful auth. 11920 ClientRedirectURL string `protobuf:"bytes,9,opt,name=ClientRedirectURL,proto3" json:"client_redirect_url"` 11921 // Compatibility specifies OpenSSH compatibility flags. 11922 Compatibility string `protobuf:"bytes,10,opt,name=Compatibility,proto3" json:"compatibility,omitempty"` 11923 // Expires is a global expiry time header can be set on any resource in the system. 11924 Expires *time.Time `protobuf:"bytes,11,opt,name=Expires,proto3,stdtime" json:"expires,omitempty"` 11925 // RouteToCluster is the name of Teleport cluster to issue credentials for. 11926 RouteToCluster string `protobuf:"bytes,12,opt,name=RouteToCluster,proto3" json:"route_to_cluster,omitempty"` 11927 // KubernetesCluster is the name of Kubernetes cluster to issue credentials for. 11928 KubernetesCluster string `protobuf:"bytes,13,opt,name=KubernetesCluster,proto3" json:"kubernetes_cluster,omitempty"` 11929 // SSOTestFlow indicates if the request is part of the test flow. 11930 SSOTestFlow bool `protobuf:"varint,14,opt,name=SSOTestFlow,proto3" json:"sso_test_flow"` 11931 // ConnectorSpec is embedded connector spec for use in test flow. 11932 ConnectorSpec *GithubConnectorSpecV3 `protobuf:"bytes,15,opt,name=ConnectorSpec,proto3" json:"connector_spec,omitempty"` 11933 // attestation_statement is an attestation statement for the given public key. 11934 AttestationStatement *v1.AttestationStatement `protobuf:"bytes,16,opt,name=attestation_statement,json=attestationStatement,proto3" json:"attestation_statement,omitempty"` 11935 // ClientLoginIP specifies IP address of the client for login, it will be written to the user's certificates. 11936 ClientLoginIP string `protobuf:"bytes,17,opt,name=ClientLoginIP,proto3" json:"client_login_ip,omitempty"` 11937 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11938 XXX_unrecognized []byte `json:"-"` 11939 XXX_sizecache int32 `json:"-"` 11940 } 11941 11942 func (m *GithubAuthRequest) Reset() { *m = GithubAuthRequest{} } 11943 func (m *GithubAuthRequest) String() string { return proto.CompactTextString(m) } 11944 func (*GithubAuthRequest) ProtoMessage() {} 11945 func (*GithubAuthRequest) Descriptor() ([]byte, []int) { 11946 return fileDescriptor_9198ee693835762e, []int{200} 11947 } 11948 func (m *GithubAuthRequest) XXX_Unmarshal(b []byte) error { 11949 return m.Unmarshal(b) 11950 } 11951 func (m *GithubAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11952 if deterministic { 11953 return xxx_messageInfo_GithubAuthRequest.Marshal(b, m, deterministic) 11954 } else { 11955 b = b[:cap(b)] 11956 n, err := m.MarshalToSizedBuffer(b) 11957 if err != nil { 11958 return nil, err 11959 } 11960 return b[:n], nil 11961 } 11962 } 11963 func (m *GithubAuthRequest) XXX_Merge(src proto.Message) { 11964 xxx_messageInfo_GithubAuthRequest.Merge(m, src) 11965 } 11966 func (m *GithubAuthRequest) XXX_Size() int { 11967 return m.Size() 11968 } 11969 func (m *GithubAuthRequest) XXX_DiscardUnknown() { 11970 xxx_messageInfo_GithubAuthRequest.DiscardUnknown(m) 11971 } 11972 11973 var xxx_messageInfo_GithubAuthRequest proto.InternalMessageInfo 11974 11975 // SSOWarnings conveys a user-facing main message along with auxiliary warnings. 11976 type SSOWarnings struct { 11977 // Message is main user-facing message to be shown. 11978 Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"message,omitempty"` 11979 // Warnings is a set of distinct warnings to be reported. 11980 Warnings []string `protobuf:"bytes,2,rep,name=Warnings,proto3" json:"warnings,omitempty"` 11981 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11982 XXX_unrecognized []byte `json:"-"` 11983 XXX_sizecache int32 `json:"-"` 11984 } 11985 11986 func (m *SSOWarnings) Reset() { *m = SSOWarnings{} } 11987 func (m *SSOWarnings) String() string { return proto.CompactTextString(m) } 11988 func (*SSOWarnings) ProtoMessage() {} 11989 func (*SSOWarnings) Descriptor() ([]byte, []int) { 11990 return fileDescriptor_9198ee693835762e, []int{201} 11991 } 11992 func (m *SSOWarnings) XXX_Unmarshal(b []byte) error { 11993 return m.Unmarshal(b) 11994 } 11995 func (m *SSOWarnings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11996 if deterministic { 11997 return xxx_messageInfo_SSOWarnings.Marshal(b, m, deterministic) 11998 } else { 11999 b = b[:cap(b)] 12000 n, err := m.MarshalToSizedBuffer(b) 12001 if err != nil { 12002 return nil, err 12003 } 12004 return b[:n], nil 12005 } 12006 } 12007 func (m *SSOWarnings) XXX_Merge(src proto.Message) { 12008 xxx_messageInfo_SSOWarnings.Merge(m, src) 12009 } 12010 func (m *SSOWarnings) XXX_Size() int { 12011 return m.Size() 12012 } 12013 func (m *SSOWarnings) XXX_DiscardUnknown() { 12014 xxx_messageInfo_SSOWarnings.DiscardUnknown(m) 12015 } 12016 12017 var xxx_messageInfo_SSOWarnings proto.InternalMessageInfo 12018 12019 // CreateUserParams represents the user creation parameters as called during SSO login flow. 12020 type CreateUserParams struct { 12021 // ConnectorName is the name of the connector used for SSO login flow. 12022 ConnectorName string `protobuf:"bytes,1,opt,name=ConnectorName,proto3" json:"connector_name,omitempty"` 12023 // Username is the name of the user to be created. 12024 Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"username,omitempty"` 12025 // Logins is a list of available unix logins. 12026 Logins []string `protobuf:"bytes,3,rep,name=Logins,proto3" json:"logins,omitempty"` 12027 // KubeGroups is a list of assigned kube groups. 12028 KubeGroups []string `protobuf:"bytes,4,rep,name=KubeGroups,proto3" json:"kube_groups,omitempty"` 12029 // KubeUsers is a list of available kube users. 12030 KubeUsers []string `protobuf:"bytes,5,rep,name=KubeUsers,proto3" json:"kube_users,omitempty"` 12031 // Roles is a list of assigned roles. 12032 Roles []string `protobuf:"bytes,6,rep,name=Roles,proto3" json:"roles,omitempty"` 12033 // Traits is the set of traits the user is assigned. 12034 Traits github_com_gravitational_teleport_api_types_wrappers.Traits `protobuf:"bytes,7,opt,name=Traits,proto3,customtype=github.com/gravitational/teleport/api/types/wrappers.Traits" json:"traits,omitempty"` 12035 // SessionTTL determines the TTL. 12036 SessionTTL Duration `protobuf:"varint,8,opt,name=SessionTTL,proto3,casttype=Duration" json:"session_ttl,omitempty"` 12037 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12038 XXX_unrecognized []byte `json:"-"` 12039 XXX_sizecache int32 `json:"-"` 12040 } 12041 12042 func (m *CreateUserParams) Reset() { *m = CreateUserParams{} } 12043 func (m *CreateUserParams) String() string { return proto.CompactTextString(m) } 12044 func (*CreateUserParams) ProtoMessage() {} 12045 func (*CreateUserParams) Descriptor() ([]byte, []int) { 12046 return fileDescriptor_9198ee693835762e, []int{202} 12047 } 12048 func (m *CreateUserParams) XXX_Unmarshal(b []byte) error { 12049 return m.Unmarshal(b) 12050 } 12051 func (m *CreateUserParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12052 if deterministic { 12053 return xxx_messageInfo_CreateUserParams.Marshal(b, m, deterministic) 12054 } else { 12055 b = b[:cap(b)] 12056 n, err := m.MarshalToSizedBuffer(b) 12057 if err != nil { 12058 return nil, err 12059 } 12060 return b[:n], nil 12061 } 12062 } 12063 func (m *CreateUserParams) XXX_Merge(src proto.Message) { 12064 xxx_messageInfo_CreateUserParams.Merge(m, src) 12065 } 12066 func (m *CreateUserParams) XXX_Size() int { 12067 return m.Size() 12068 } 12069 func (m *CreateUserParams) XXX_DiscardUnknown() { 12070 xxx_messageInfo_CreateUserParams.DiscardUnknown(m) 12071 } 12072 12073 var xxx_messageInfo_CreateUserParams proto.InternalMessageInfo 12074 12075 // SSODiagnosticInfo is a single SSO diagnostic info entry. 12076 type SSODiagnosticInfo struct { 12077 // TestFlow indicates the SSO flow was a test one. 12078 TestFlow bool `protobuf:"varint,1,opt,name=TestFlow,proto3" json:"test_flow"` 12079 // Error stores user-friendly error message. 12080 Error string `protobuf:"bytes,2,opt,name=Error,proto3" json:"error"` 12081 // Success if present, marks the flow as finished with success. 12082 Success bool `protobuf:"varint,3,opt,name=Success,proto3" json:"success"` 12083 // CreateUserParams represents the user creation parameters as called during SSO login flow. 12084 CreateUserParams *CreateUserParams `protobuf:"bytes,4,opt,name=CreateUserParams,proto3" json:"create_user_params,omitempty"` 12085 // SAMLAttributesToRoles represents mapping from attributes to roles, as used during SAML SSO 12086 // login flow. 12087 SAMLAttributesToRoles []AttributeMapping `protobuf:"bytes,10,rep,name=SAMLAttributesToRoles,proto3" json:"saml_attributes_to_roles,omitempty"` 12088 // SAMLAttributesToRolesWarnings contains warnings produced during the process of mapping the 12089 // SAML attributes to roles. 12090 SAMLAttributesToRolesWarnings *SSOWarnings `protobuf:"bytes,11,opt,name=SAMLAttributesToRolesWarnings,proto3" json:"saml_attributes_to_roles_warnings,omitempty"` 12091 // SAMLAttributeStatements represents SAML attribute statements. 12092 SAMLAttributeStatements github_com_gravitational_teleport_api_types_wrappers.Traits `protobuf:"bytes,12,opt,name=SAMLAttributeStatements,proto3,customtype=github.com/gravitational/teleport/api/types/wrappers.Traits" json:"saml_attribute_statements,omitempty"` 12093 // SAMLAssertionInfo represents raw SAML assertion info as returned by IdP during SAML flow. 12094 SAMLAssertionInfo *AssertionInfo `protobuf:"bytes,13,opt,name=SAMLAssertionInfo,proto3,customtype=AssertionInfo" json:"saml_assertion_info,omitempty"` 12095 // SAMLTraitsFromAssertions represents traits translated from SAML assertions. 12096 SAMLTraitsFromAssertions github_com_gravitational_teleport_api_types_wrappers.Traits `protobuf:"bytes,14,opt,name=SAMLTraitsFromAssertions,proto3,customtype=github.com/gravitational/teleport/api/types/wrappers.Traits" json:"saml_traits_from_assertions,omitempty"` 12097 // SAMLConnectorTraitMapping represents connector-specific trait mapping. 12098 SAMLConnectorTraitMapping []TraitMapping `protobuf:"bytes,15,rep,name=SAMLConnectorTraitMapping,proto3" json:"saml_connector_trait_mapping,omitempty"` 12099 // OIDCClaimsToRoles specifies a mapping from claims (traits) to teleport roles. 12100 OIDCClaimsToRoles []ClaimMapping `protobuf:"bytes,20,rep,name=OIDCClaimsToRoles,proto3" json:"oidc_claims_to_roles,omitempty"` 12101 // OIDCClaimsToRolesWarnings contains warnings produced during the process of mapping the 12102 // OIDC claims to roles. 12103 OIDCClaimsToRolesWarnings *SSOWarnings `protobuf:"bytes,21,opt,name=OIDCClaimsToRolesWarnings,proto3" json:"oidc_claims_to_roles_warnings,omitempty"` 12104 // OIDCClaims represents OIDC claims. 12105 OIDCClaims OIDCClaims `protobuf:"bytes,22,opt,name=OIDCClaims,proto3,customtype=OIDCClaims" json:"oidc_claims,omitempty"` 12106 // OIDCIdentity represents mapped OIDC Identity. 12107 OIDCIdentity *OIDCIdentity `protobuf:"bytes,23,opt,name=OIDCIdentity,proto3,customtype=OIDCIdentity" json:"oidc_identity,omitempty"` 12108 // OIDCTraitsFromClaims represents traits translated from OIDC claims. 12109 OIDCTraitsFromClaims github_com_gravitational_teleport_api_types_wrappers.Traits `protobuf:"bytes,24,opt,name=OIDCTraitsFromClaims,proto3,customtype=github.com/gravitational/teleport/api/types/wrappers.Traits" json:"oidc_traits_from_claims,omitempty"` 12110 // OIDCConnectorTraitMapping represents connector-specific trait mapping. 12111 OIDCConnectorTraitMapping []TraitMapping `protobuf:"bytes,25,rep,name=OIDCConnectorTraitMapping,proto3" json:"oidc_connector_trait_mapping,omitempty"` 12112 // GithubClaims represents Github user information obtained during OAuth2 flow. 12113 GithubClaims *GithubClaims `protobuf:"bytes,30,opt,name=GithubClaims,proto3" json:"github_claims,omitempty"` 12114 // GithubTeamsToLogins is TeamsToLogins mapping from Github connector used in the SSO flow. 12115 GithubTeamsToLogins []TeamMapping `protobuf:"bytes,31,rep,name=GithubTeamsToLogins,proto3" json:"github_teams_to_logins,omitempty"` 12116 // GithubTeamsToRoles is TeamRolesMapping mapping from Github connector used in the SSO flow. 12117 GithubTeamsToRoles []TeamRolesMapping `protobuf:"bytes,32,rep,name=GithubTeamsToRoles,proto3" json:"github_teams_to_roles,omitempty"` 12118 // GithubTokenInfo stores diagnostic info about Github OAuth2 token obtained during SSO flow. 12119 GithubTokenInfo *GithubTokenInfo `protobuf:"bytes,33,opt,name=GithubTokenInfo,proto3" json:"github_token_info,omitempty"` 12120 // AppliedLoginRules stores the name of each login rule that was applied. 12121 AppliedLoginRules []string `protobuf:"bytes,34,rep,name=AppliedLoginRules,proto3" json:"applied_login_rules,omitempty"` 12122 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12123 XXX_unrecognized []byte `json:"-"` 12124 XXX_sizecache int32 `json:"-"` 12125 } 12126 12127 func (m *SSODiagnosticInfo) Reset() { *m = SSODiagnosticInfo{} } 12128 func (m *SSODiagnosticInfo) String() string { return proto.CompactTextString(m) } 12129 func (*SSODiagnosticInfo) ProtoMessage() {} 12130 func (*SSODiagnosticInfo) Descriptor() ([]byte, []int) { 12131 return fileDescriptor_9198ee693835762e, []int{203} 12132 } 12133 func (m *SSODiagnosticInfo) XXX_Unmarshal(b []byte) error { 12134 return m.Unmarshal(b) 12135 } 12136 func (m *SSODiagnosticInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12137 if deterministic { 12138 return xxx_messageInfo_SSODiagnosticInfo.Marshal(b, m, deterministic) 12139 } else { 12140 b = b[:cap(b)] 12141 n, err := m.MarshalToSizedBuffer(b) 12142 if err != nil { 12143 return nil, err 12144 } 12145 return b[:n], nil 12146 } 12147 } 12148 func (m *SSODiagnosticInfo) XXX_Merge(src proto.Message) { 12149 xxx_messageInfo_SSODiagnosticInfo.Merge(m, src) 12150 } 12151 func (m *SSODiagnosticInfo) XXX_Size() int { 12152 return m.Size() 12153 } 12154 func (m *SSODiagnosticInfo) XXX_DiscardUnknown() { 12155 xxx_messageInfo_SSODiagnosticInfo.DiscardUnknown(m) 12156 } 12157 12158 var xxx_messageInfo_SSODiagnosticInfo proto.InternalMessageInfo 12159 12160 // GithubTokenInfo stores diagnostic info about Github OAuth2 token obtained during SSO flow. 12161 // The token itself is secret and therefore not included. 12162 type GithubTokenInfo struct { 12163 TokenType string `protobuf:"bytes,1,opt,name=TokenType,proto3" json:"token_type"` 12164 Expires int64 `protobuf:"varint,2,opt,name=Expires,proto3" json:"expires"` 12165 Scope string `protobuf:"bytes,3,opt,name=Scope,proto3" json:"scope"` 12166 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12167 XXX_unrecognized []byte `json:"-"` 12168 XXX_sizecache int32 `json:"-"` 12169 } 12170 12171 func (m *GithubTokenInfo) Reset() { *m = GithubTokenInfo{} } 12172 func (m *GithubTokenInfo) String() string { return proto.CompactTextString(m) } 12173 func (*GithubTokenInfo) ProtoMessage() {} 12174 func (*GithubTokenInfo) Descriptor() ([]byte, []int) { 12175 return fileDescriptor_9198ee693835762e, []int{204} 12176 } 12177 func (m *GithubTokenInfo) XXX_Unmarshal(b []byte) error { 12178 return m.Unmarshal(b) 12179 } 12180 func (m *GithubTokenInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12181 if deterministic { 12182 return xxx_messageInfo_GithubTokenInfo.Marshal(b, m, deterministic) 12183 } else { 12184 b = b[:cap(b)] 12185 n, err := m.MarshalToSizedBuffer(b) 12186 if err != nil { 12187 return nil, err 12188 } 12189 return b[:n], nil 12190 } 12191 } 12192 func (m *GithubTokenInfo) XXX_Merge(src proto.Message) { 12193 xxx_messageInfo_GithubTokenInfo.Merge(m, src) 12194 } 12195 func (m *GithubTokenInfo) XXX_Size() int { 12196 return m.Size() 12197 } 12198 func (m *GithubTokenInfo) XXX_DiscardUnknown() { 12199 xxx_messageInfo_GithubTokenInfo.DiscardUnknown(m) 12200 } 12201 12202 var xxx_messageInfo_GithubTokenInfo proto.InternalMessageInfo 12203 12204 // GithubClaims represents Github user information obtained during OAuth2 flow 12205 type GithubClaims struct { 12206 // Username is the user's username 12207 Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"username"` 12208 // OrganizationToTeams is the user's organization and team membership 12209 OrganizationToTeams github_com_gravitational_teleport_api_types_wrappers.Traits `protobuf:"bytes,2,opt,name=OrganizationToTeams,proto3,customtype=github.com/gravitational/teleport/api/types/wrappers.Traits" json:"organization_to_teams"` 12210 // Teams is the users team membership 12211 Teams []string `protobuf:"bytes,3,rep,name=Teams,proto3" json:"teams"` 12212 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12213 XXX_unrecognized []byte `json:"-"` 12214 XXX_sizecache int32 `json:"-"` 12215 } 12216 12217 func (m *GithubClaims) Reset() { *m = GithubClaims{} } 12218 func (m *GithubClaims) String() string { return proto.CompactTextString(m) } 12219 func (*GithubClaims) ProtoMessage() {} 12220 func (*GithubClaims) Descriptor() ([]byte, []int) { 12221 return fileDescriptor_9198ee693835762e, []int{205} 12222 } 12223 func (m *GithubClaims) XXX_Unmarshal(b []byte) error { 12224 return m.Unmarshal(b) 12225 } 12226 func (m *GithubClaims) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12227 if deterministic { 12228 return xxx_messageInfo_GithubClaims.Marshal(b, m, deterministic) 12229 } else { 12230 b = b[:cap(b)] 12231 n, err := m.MarshalToSizedBuffer(b) 12232 if err != nil { 12233 return nil, err 12234 } 12235 return b[:n], nil 12236 } 12237 } 12238 func (m *GithubClaims) XXX_Merge(src proto.Message) { 12239 xxx_messageInfo_GithubClaims.Merge(m, src) 12240 } 12241 func (m *GithubClaims) XXX_Size() int { 12242 return m.Size() 12243 } 12244 func (m *GithubClaims) XXX_DiscardUnknown() { 12245 xxx_messageInfo_GithubClaims.DiscardUnknown(m) 12246 } 12247 12248 var xxx_messageInfo_GithubClaims proto.InternalMessageInfo 12249 12250 // TeamMapping represents a single team membership mapping. 12251 // 12252 // DELETE IN 11.0.0 12253 type TeamMapping struct { 12254 // Organization is a Github organization a user belongs to. 12255 Organization string `protobuf:"bytes,1,opt,name=Organization,proto3" json:"organization"` 12256 // Team is a team within the organization a user belongs to. 12257 Team string `protobuf:"bytes,2,opt,name=Team,proto3" json:"team"` 12258 // Logins is a list of allowed logins for this org/team. 12259 Logins []string `protobuf:"bytes,3,rep,name=Logins,proto3" json:"logins,omitempty"` 12260 // KubeGroups is a list of allowed kubernetes groups for this org/team. 12261 KubeGroups []string `protobuf:"bytes,4,rep,name=KubeGroups,proto3" json:"kubernetes_groups,omitempty"` 12262 // KubeUsers is a list of allowed kubernetes users to impersonate for this org/team. 12263 KubeUsers []string `protobuf:"bytes,5,rep,name=KubeUsers,proto3" json:"kubernetes_users,omitempty"` 12264 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12265 XXX_unrecognized []byte `json:"-"` 12266 XXX_sizecache int32 `json:"-"` 12267 } 12268 12269 func (m *TeamMapping) Reset() { *m = TeamMapping{} } 12270 func (m *TeamMapping) String() string { return proto.CompactTextString(m) } 12271 func (*TeamMapping) ProtoMessage() {} 12272 func (*TeamMapping) Descriptor() ([]byte, []int) { 12273 return fileDescriptor_9198ee693835762e, []int{206} 12274 } 12275 func (m *TeamMapping) XXX_Unmarshal(b []byte) error { 12276 return m.Unmarshal(b) 12277 } 12278 func (m *TeamMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12279 if deterministic { 12280 return xxx_messageInfo_TeamMapping.Marshal(b, m, deterministic) 12281 } else { 12282 b = b[:cap(b)] 12283 n, err := m.MarshalToSizedBuffer(b) 12284 if err != nil { 12285 return nil, err 12286 } 12287 return b[:n], nil 12288 } 12289 } 12290 func (m *TeamMapping) XXX_Merge(src proto.Message) { 12291 xxx_messageInfo_TeamMapping.Merge(m, src) 12292 } 12293 func (m *TeamMapping) XXX_Size() int { 12294 return m.Size() 12295 } 12296 func (m *TeamMapping) XXX_DiscardUnknown() { 12297 xxx_messageInfo_TeamMapping.DiscardUnknown(m) 12298 } 12299 12300 var xxx_messageInfo_TeamMapping proto.InternalMessageInfo 12301 12302 // TeamRolesMapping represents a single team membership mapping. 12303 type TeamRolesMapping struct { 12304 // Organization is a Github organization a user belongs to. 12305 Organization string `protobuf:"bytes,1,opt,name=Organization,proto3" json:"organization"` 12306 // Team is a team within the organization a user belongs to. 12307 Team string `protobuf:"bytes,2,opt,name=Team,proto3" json:"team"` 12308 // Roles is a list of allowed logins for this org/team. 12309 Roles []string `protobuf:"bytes,3,rep,name=Roles,proto3" json:"roles,omitempty"` 12310 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12311 XXX_unrecognized []byte `json:"-"` 12312 XXX_sizecache int32 `json:"-"` 12313 } 12314 12315 func (m *TeamRolesMapping) Reset() { *m = TeamRolesMapping{} } 12316 func (m *TeamRolesMapping) String() string { return proto.CompactTextString(m) } 12317 func (*TeamRolesMapping) ProtoMessage() {} 12318 func (*TeamRolesMapping) Descriptor() ([]byte, []int) { 12319 return fileDescriptor_9198ee693835762e, []int{207} 12320 } 12321 func (m *TeamRolesMapping) XXX_Unmarshal(b []byte) error { 12322 return m.Unmarshal(b) 12323 } 12324 func (m *TeamRolesMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12325 if deterministic { 12326 return xxx_messageInfo_TeamRolesMapping.Marshal(b, m, deterministic) 12327 } else { 12328 b = b[:cap(b)] 12329 n, err := m.MarshalToSizedBuffer(b) 12330 if err != nil { 12331 return nil, err 12332 } 12333 return b[:n], nil 12334 } 12335 } 12336 func (m *TeamRolesMapping) XXX_Merge(src proto.Message) { 12337 xxx_messageInfo_TeamRolesMapping.Merge(m, src) 12338 } 12339 func (m *TeamRolesMapping) XXX_Size() int { 12340 return m.Size() 12341 } 12342 func (m *TeamRolesMapping) XXX_DiscardUnknown() { 12343 xxx_messageInfo_TeamRolesMapping.DiscardUnknown(m) 12344 } 12345 12346 var xxx_messageInfo_TeamRolesMapping proto.InternalMessageInfo 12347 12348 // TrustedClusterV2 represents a Trusted Cluster. 12349 type TrustedClusterV2 struct { 12350 // Kind is a resource kind. 12351 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 12352 // SubKind is an optional resource sub kind, used in some resources. 12353 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 12354 // Version is the resource version. It must be specified. 12355 // Supported values are: `v2`. 12356 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 12357 // Metadata holds resource metadata. 12358 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 12359 // Spec is a Trusted Cluster specification. 12360 Spec TrustedClusterSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 12361 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12362 XXX_unrecognized []byte `json:"-"` 12363 XXX_sizecache int32 `json:"-"` 12364 } 12365 12366 func (m *TrustedClusterV2) Reset() { *m = TrustedClusterV2{} } 12367 func (*TrustedClusterV2) ProtoMessage() {} 12368 func (*TrustedClusterV2) Descriptor() ([]byte, []int) { 12369 return fileDescriptor_9198ee693835762e, []int{208} 12370 } 12371 func (m *TrustedClusterV2) XXX_Unmarshal(b []byte) error { 12372 return m.Unmarshal(b) 12373 } 12374 func (m *TrustedClusterV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12375 if deterministic { 12376 return xxx_messageInfo_TrustedClusterV2.Marshal(b, m, deterministic) 12377 } else { 12378 b = b[:cap(b)] 12379 n, err := m.MarshalToSizedBuffer(b) 12380 if err != nil { 12381 return nil, err 12382 } 12383 return b[:n], nil 12384 } 12385 } 12386 func (m *TrustedClusterV2) XXX_Merge(src proto.Message) { 12387 xxx_messageInfo_TrustedClusterV2.Merge(m, src) 12388 } 12389 func (m *TrustedClusterV2) XXX_Size() int { 12390 return m.Size() 12391 } 12392 func (m *TrustedClusterV2) XXX_DiscardUnknown() { 12393 xxx_messageInfo_TrustedClusterV2.DiscardUnknown(m) 12394 } 12395 12396 var xxx_messageInfo_TrustedClusterV2 proto.InternalMessageInfo 12397 12398 // TrustedClusterV2List is a list of trusted cluster. 12399 type TrustedClusterV2List struct { 12400 // TrustedClusters is a list of trusted cluster. 12401 TrustedClusters []*TrustedClusterV2 `protobuf:"bytes,1,rep,name=TrustedClusters,proto3" json:"TrustedClusters,omitempty"` 12402 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12403 XXX_unrecognized []byte `json:"-"` 12404 XXX_sizecache int32 `json:"-"` 12405 } 12406 12407 func (m *TrustedClusterV2List) Reset() { *m = TrustedClusterV2List{} } 12408 func (m *TrustedClusterV2List) String() string { return proto.CompactTextString(m) } 12409 func (*TrustedClusterV2List) ProtoMessage() {} 12410 func (*TrustedClusterV2List) Descriptor() ([]byte, []int) { 12411 return fileDescriptor_9198ee693835762e, []int{209} 12412 } 12413 func (m *TrustedClusterV2List) XXX_Unmarshal(b []byte) error { 12414 return m.Unmarshal(b) 12415 } 12416 func (m *TrustedClusterV2List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12417 if deterministic { 12418 return xxx_messageInfo_TrustedClusterV2List.Marshal(b, m, deterministic) 12419 } else { 12420 b = b[:cap(b)] 12421 n, err := m.MarshalToSizedBuffer(b) 12422 if err != nil { 12423 return nil, err 12424 } 12425 return b[:n], nil 12426 } 12427 } 12428 func (m *TrustedClusterV2List) XXX_Merge(src proto.Message) { 12429 xxx_messageInfo_TrustedClusterV2List.Merge(m, src) 12430 } 12431 func (m *TrustedClusterV2List) XXX_Size() int { 12432 return m.Size() 12433 } 12434 func (m *TrustedClusterV2List) XXX_DiscardUnknown() { 12435 xxx_messageInfo_TrustedClusterV2List.DiscardUnknown(m) 12436 } 12437 12438 var xxx_messageInfo_TrustedClusterV2List proto.InternalMessageInfo 12439 12440 // TrustedClusterSpecV2 is a Trusted Cluster specification. 12441 type TrustedClusterSpecV2 struct { 12442 // Enabled is a bool that indicates if the TrustedCluster is enabled or disabled. 12443 // Setting Enabled to false has a side effect of deleting the user and host certificate 12444 // authority (CA). 12445 Enabled bool `protobuf:"varint,1,opt,name=Enabled,proto3" json:"enabled"` 12446 // Roles is a list of roles that users will be assuming when connecting to this cluster. 12447 Roles []string `protobuf:"bytes,2,rep,name=Roles,proto3" json:"roles,omitempty"` 12448 // Token is the authorization token provided by another cluster needed by this cluster to join. 12449 Token string `protobuf:"bytes,3,opt,name=Token,proto3" json:"token"` 12450 // ProxyAddress is the address of the web proxy server of the cluster to join. If not set, 12451 // it is derived from <metadata.name>:<default web proxy server port>. 12452 ProxyAddress string `protobuf:"bytes,4,opt,name=ProxyAddress,proto3" json:"web_proxy_addr"` 12453 // ReverseTunnelAddress is the address of the SSH proxy server of the cluster to join. If 12454 // not set, it is derived from <metadata.name>:<default reverse tunnel port>. 12455 ReverseTunnelAddress string `protobuf:"bytes,5,opt,name=ReverseTunnelAddress,proto3" json:"tunnel_addr"` 12456 // RoleMap specifies role mappings to remote roles. 12457 RoleMap []RoleMapping `protobuf:"bytes,6,rep,name=RoleMap,proto3" json:"role_map,omitempty"` 12458 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12459 XXX_unrecognized []byte `json:"-"` 12460 XXX_sizecache int32 `json:"-"` 12461 } 12462 12463 func (m *TrustedClusterSpecV2) Reset() { *m = TrustedClusterSpecV2{} } 12464 func (m *TrustedClusterSpecV2) String() string { return proto.CompactTextString(m) } 12465 func (*TrustedClusterSpecV2) ProtoMessage() {} 12466 func (*TrustedClusterSpecV2) Descriptor() ([]byte, []int) { 12467 return fileDescriptor_9198ee693835762e, []int{210} 12468 } 12469 func (m *TrustedClusterSpecV2) XXX_Unmarshal(b []byte) error { 12470 return m.Unmarshal(b) 12471 } 12472 func (m *TrustedClusterSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12473 if deterministic { 12474 return xxx_messageInfo_TrustedClusterSpecV2.Marshal(b, m, deterministic) 12475 } else { 12476 b = b[:cap(b)] 12477 n, err := m.MarshalToSizedBuffer(b) 12478 if err != nil { 12479 return nil, err 12480 } 12481 return b[:n], nil 12482 } 12483 } 12484 func (m *TrustedClusterSpecV2) XXX_Merge(src proto.Message) { 12485 xxx_messageInfo_TrustedClusterSpecV2.Merge(m, src) 12486 } 12487 func (m *TrustedClusterSpecV2) XXX_Size() int { 12488 return m.Size() 12489 } 12490 func (m *TrustedClusterSpecV2) XXX_DiscardUnknown() { 12491 xxx_messageInfo_TrustedClusterSpecV2.DiscardUnknown(m) 12492 } 12493 12494 var xxx_messageInfo_TrustedClusterSpecV2 proto.InternalMessageInfo 12495 12496 // LockV2 represents a lock. 12497 // Locks are used to restrict access to a Teleport environment by disabling 12498 // interactions involving a user, an RBAC role, a node, etc. 12499 // See rfd/0009-locking.md for more details. 12500 type LockV2 struct { 12501 // Kind is a resource kind. 12502 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 12503 // SubKind is an optional resource sub kind, used in some resources. 12504 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 12505 // Version is the resource version. It must be specified. 12506 // Supported values are: `v2`. 12507 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 12508 // Metadata holds resource metadata. 12509 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 12510 // Spec is a Lock specification. 12511 Spec LockSpecV2 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 12512 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12513 XXX_unrecognized []byte `json:"-"` 12514 XXX_sizecache int32 `json:"-"` 12515 } 12516 12517 func (m *LockV2) Reset() { *m = LockV2{} } 12518 func (m *LockV2) String() string { return proto.CompactTextString(m) } 12519 func (*LockV2) ProtoMessage() {} 12520 func (*LockV2) Descriptor() ([]byte, []int) { 12521 return fileDescriptor_9198ee693835762e, []int{211} 12522 } 12523 func (m *LockV2) XXX_Unmarshal(b []byte) error { 12524 return m.Unmarshal(b) 12525 } 12526 func (m *LockV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12527 if deterministic { 12528 return xxx_messageInfo_LockV2.Marshal(b, m, deterministic) 12529 } else { 12530 b = b[:cap(b)] 12531 n, err := m.MarshalToSizedBuffer(b) 12532 if err != nil { 12533 return nil, err 12534 } 12535 return b[:n], nil 12536 } 12537 } 12538 func (m *LockV2) XXX_Merge(src proto.Message) { 12539 xxx_messageInfo_LockV2.Merge(m, src) 12540 } 12541 func (m *LockV2) XXX_Size() int { 12542 return m.Size() 12543 } 12544 func (m *LockV2) XXX_DiscardUnknown() { 12545 xxx_messageInfo_LockV2.DiscardUnknown(m) 12546 } 12547 12548 var xxx_messageInfo_LockV2 proto.InternalMessageInfo 12549 12550 // LockSpecV2 is a Lock specification. 12551 type LockSpecV2 struct { 12552 // Target describes the set of interactions that the lock applies to. 12553 Target LockTarget `protobuf:"bytes,1,opt,name=Target,proto3" json:"target"` 12554 // Message is the message displayed to locked-out users. 12555 Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"message,omitempty"` 12556 // Expires if set specifies when the lock ceases to be in force. 12557 Expires *time.Time `protobuf:"bytes,3,opt,name=Expires,proto3,stdtime" json:"expires,omitempty"` 12558 // CreatedAt is the date time that the lock was created. 12559 CreatedAt time.Time `protobuf:"bytes,4,opt,name=CreatedAt,proto3,stdtime" json:"created_at,omitempty"` 12560 // CreatedBy is the username of the author of the lock. 12561 CreatedBy string `protobuf:"bytes,5,opt,name=CreatedBy,proto3" json:"created_by,omitempty"` 12562 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12563 XXX_unrecognized []byte `json:"-"` 12564 XXX_sizecache int32 `json:"-"` 12565 } 12566 12567 func (m *LockSpecV2) Reset() { *m = LockSpecV2{} } 12568 func (m *LockSpecV2) String() string { return proto.CompactTextString(m) } 12569 func (*LockSpecV2) ProtoMessage() {} 12570 func (*LockSpecV2) Descriptor() ([]byte, []int) { 12571 return fileDescriptor_9198ee693835762e, []int{212} 12572 } 12573 func (m *LockSpecV2) XXX_Unmarshal(b []byte) error { 12574 return m.Unmarshal(b) 12575 } 12576 func (m *LockSpecV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12577 if deterministic { 12578 return xxx_messageInfo_LockSpecV2.Marshal(b, m, deterministic) 12579 } else { 12580 b = b[:cap(b)] 12581 n, err := m.MarshalToSizedBuffer(b) 12582 if err != nil { 12583 return nil, err 12584 } 12585 return b[:n], nil 12586 } 12587 } 12588 func (m *LockSpecV2) XXX_Merge(src proto.Message) { 12589 xxx_messageInfo_LockSpecV2.Merge(m, src) 12590 } 12591 func (m *LockSpecV2) XXX_Size() int { 12592 return m.Size() 12593 } 12594 func (m *LockSpecV2) XXX_DiscardUnknown() { 12595 xxx_messageInfo_LockSpecV2.DiscardUnknown(m) 12596 } 12597 12598 var xxx_messageInfo_LockSpecV2 proto.InternalMessageInfo 12599 12600 // LockTarget lists the attributes of interactions to be disabled. 12601 type LockTarget struct { 12602 // User specifies the name of a Teleport user. 12603 User string `protobuf:"bytes,1,opt,name=User,proto3" json:"user,omitempty"` 12604 // Role specifies the name of an RBAC role known to the root cluster. 12605 // In remote clusters, this constraint is evaluated before translating to local roles. 12606 Role string `protobuf:"bytes,2,opt,name=Role,proto3" json:"role,omitempty"` 12607 // Login specifies the name of a local UNIX user. 12608 Login string `protobuf:"bytes,3,opt,name=Login,proto3" json:"login,omitempty"` 12609 // Node specifies the UUID of a Teleport node. 12610 // A matching node is also prevented from heartbeating to the auth server. 12611 // DEPRECATED: use ServerID instead. 12612 Node string `protobuf:"bytes,4,opt,name=Node,proto3" json:"node,omitempty"` // Deprecated: Do not use. 12613 // MFADevice specifies the UUID of a user MFA device. 12614 MFADevice string `protobuf:"bytes,5,opt,name=MFADevice,proto3" json:"mfa_device,omitempty"` 12615 // WindowsDesktop specifies the name of a Windows desktop. 12616 WindowsDesktop string `protobuf:"bytes,6,opt,name=WindowsDesktop,proto3" json:"windows_desktop,omitempty"` 12617 // AccessRequest specifies the UUID of an access request. 12618 AccessRequest string `protobuf:"bytes,7,opt,name=AccessRequest,proto3" json:"access_request,omitempty"` 12619 // Device is the device ID of a trusted device. 12620 // Requires Teleport Enterprise. 12621 Device string `protobuf:"bytes,8,opt,name=Device,proto3" json:"device,omitempty"` 12622 // ServerID is the host id of the Teleport instance. 12623 ServerID string `protobuf:"bytes,9,opt,name=ServerID,proto3" json:"server_id,omitempty"` 12624 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12625 XXX_unrecognized []byte `json:"-"` 12626 XXX_sizecache int32 `json:"-"` 12627 } 12628 12629 func (m *LockTarget) Reset() { *m = LockTarget{} } 12630 func (*LockTarget) ProtoMessage() {} 12631 func (*LockTarget) Descriptor() ([]byte, []int) { 12632 return fileDescriptor_9198ee693835762e, []int{213} 12633 } 12634 func (m *LockTarget) XXX_Unmarshal(b []byte) error { 12635 return m.Unmarshal(b) 12636 } 12637 func (m *LockTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12638 if deterministic { 12639 return xxx_messageInfo_LockTarget.Marshal(b, m, deterministic) 12640 } else { 12641 b = b[:cap(b)] 12642 n, err := m.MarshalToSizedBuffer(b) 12643 if err != nil { 12644 return nil, err 12645 } 12646 return b[:n], nil 12647 } 12648 } 12649 func (m *LockTarget) XXX_Merge(src proto.Message) { 12650 xxx_messageInfo_LockTarget.Merge(m, src) 12651 } 12652 func (m *LockTarget) XXX_Size() int { 12653 return m.Size() 12654 } 12655 func (m *LockTarget) XXX_DiscardUnknown() { 12656 xxx_messageInfo_LockTarget.DiscardUnknown(m) 12657 } 12658 12659 var xxx_messageInfo_LockTarget proto.InternalMessageInfo 12660 12661 // AddressCondition represents a set of addresses. Presently the addresses are specified 12662 // exclusively in terms of IPv4/IPv6 ranges. 12663 type AddressCondition struct { 12664 // CIDR is IPv4 or IPv6 address. Valid value are either CIDR ranges (e.g. "10.0.1.0/24", 12665 // "fe::/8") or a single IP address (e.g "10.1.2.3") 12666 CIDR string `protobuf:"bytes,1,opt,name=CIDR,proto3" json:"cidr"` 12667 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12668 XXX_unrecognized []byte `json:"-"` 12669 XXX_sizecache int32 `json:"-"` 12670 } 12671 12672 func (m *AddressCondition) Reset() { *m = AddressCondition{} } 12673 func (m *AddressCondition) String() string { return proto.CompactTextString(m) } 12674 func (*AddressCondition) ProtoMessage() {} 12675 func (*AddressCondition) Descriptor() ([]byte, []int) { 12676 return fileDescriptor_9198ee693835762e, []int{214} 12677 } 12678 func (m *AddressCondition) XXX_Unmarshal(b []byte) error { 12679 return m.Unmarshal(b) 12680 } 12681 func (m *AddressCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12682 if deterministic { 12683 return xxx_messageInfo_AddressCondition.Marshal(b, m, deterministic) 12684 } else { 12685 b = b[:cap(b)] 12686 n, err := m.MarshalToSizedBuffer(b) 12687 if err != nil { 12688 return nil, err 12689 } 12690 return b[:n], nil 12691 } 12692 } 12693 func (m *AddressCondition) XXX_Merge(src proto.Message) { 12694 xxx_messageInfo_AddressCondition.Merge(m, src) 12695 } 12696 func (m *AddressCondition) XXX_Size() int { 12697 return m.Size() 12698 } 12699 func (m *AddressCondition) XXX_DiscardUnknown() { 12700 xxx_messageInfo_AddressCondition.DiscardUnknown(m) 12701 } 12702 12703 var xxx_messageInfo_AddressCondition proto.InternalMessageInfo 12704 12705 type NetworkRestrictionsSpecV4 struct { 12706 // Allow lists the addresses that should be allowed. 12707 Allow []AddressCondition `protobuf:"bytes,1,rep,name=Allow,proto3" json:"allow"` 12708 // Deny lists the addresses that should be denied even if they're allowed by Allow condition. 12709 Deny []AddressCondition `protobuf:"bytes,2,rep,name=Deny,proto3" json:"deny"` 12710 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12711 XXX_unrecognized []byte `json:"-"` 12712 XXX_sizecache int32 `json:"-"` 12713 } 12714 12715 func (m *NetworkRestrictionsSpecV4) Reset() { *m = NetworkRestrictionsSpecV4{} } 12716 func (m *NetworkRestrictionsSpecV4) String() string { return proto.CompactTextString(m) } 12717 func (*NetworkRestrictionsSpecV4) ProtoMessage() {} 12718 func (*NetworkRestrictionsSpecV4) Descriptor() ([]byte, []int) { 12719 return fileDescriptor_9198ee693835762e, []int{215} 12720 } 12721 func (m *NetworkRestrictionsSpecV4) XXX_Unmarshal(b []byte) error { 12722 return m.Unmarshal(b) 12723 } 12724 func (m *NetworkRestrictionsSpecV4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12725 if deterministic { 12726 return xxx_messageInfo_NetworkRestrictionsSpecV4.Marshal(b, m, deterministic) 12727 } else { 12728 b = b[:cap(b)] 12729 n, err := m.MarshalToSizedBuffer(b) 12730 if err != nil { 12731 return nil, err 12732 } 12733 return b[:n], nil 12734 } 12735 } 12736 func (m *NetworkRestrictionsSpecV4) XXX_Merge(src proto.Message) { 12737 xxx_messageInfo_NetworkRestrictionsSpecV4.Merge(m, src) 12738 } 12739 func (m *NetworkRestrictionsSpecV4) XXX_Size() int { 12740 return m.Size() 12741 } 12742 func (m *NetworkRestrictionsSpecV4) XXX_DiscardUnknown() { 12743 xxx_messageInfo_NetworkRestrictionsSpecV4.DiscardUnknown(m) 12744 } 12745 12746 var xxx_messageInfo_NetworkRestrictionsSpecV4 proto.InternalMessageInfo 12747 12748 // NetworkRestrictions specifies a list of addresses to restrict (block). The deny 12749 // list is checked first and the allow lists overrides it. Thus an empty allow 12750 // list does not mean that no addresses will be allowed, that will only be the 12751 // case if the deny list covers the whole address range. 12752 type NetworkRestrictionsV4 struct { 12753 // Kind is the network restrictions resource kind. 12754 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 12755 // SubKind is an optional resource subkind. 12756 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 12757 // Version is the resource version. 12758 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 12759 // Metadata is the network restrictions metadata. 12760 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 12761 // Spec contains the network restrictions data 12762 Spec NetworkRestrictionsSpecV4 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 12763 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12764 XXX_unrecognized []byte `json:"-"` 12765 XXX_sizecache int32 `json:"-"` 12766 } 12767 12768 func (m *NetworkRestrictionsV4) Reset() { *m = NetworkRestrictionsV4{} } 12769 func (m *NetworkRestrictionsV4) String() string { return proto.CompactTextString(m) } 12770 func (*NetworkRestrictionsV4) ProtoMessage() {} 12771 func (*NetworkRestrictionsV4) Descriptor() ([]byte, []int) { 12772 return fileDescriptor_9198ee693835762e, []int{216} 12773 } 12774 func (m *NetworkRestrictionsV4) XXX_Unmarshal(b []byte) error { 12775 return m.Unmarshal(b) 12776 } 12777 func (m *NetworkRestrictionsV4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12778 if deterministic { 12779 return xxx_messageInfo_NetworkRestrictionsV4.Marshal(b, m, deterministic) 12780 } else { 12781 b = b[:cap(b)] 12782 n, err := m.MarshalToSizedBuffer(b) 12783 if err != nil { 12784 return nil, err 12785 } 12786 return b[:n], nil 12787 } 12788 } 12789 func (m *NetworkRestrictionsV4) XXX_Merge(src proto.Message) { 12790 xxx_messageInfo_NetworkRestrictionsV4.Merge(m, src) 12791 } 12792 func (m *NetworkRestrictionsV4) XXX_Size() int { 12793 return m.Size() 12794 } 12795 func (m *NetworkRestrictionsV4) XXX_DiscardUnknown() { 12796 xxx_messageInfo_NetworkRestrictionsV4.DiscardUnknown(m) 12797 } 12798 12799 var xxx_messageInfo_NetworkRestrictionsV4 proto.InternalMessageInfo 12800 12801 // WindowsDesktopServiceV3 represents a windows desktop access service. 12802 type WindowsDesktopServiceV3 struct { 12803 // Header is the common resource header. 12804 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 12805 // Spec is the windows desktop service spec. 12806 Spec WindowsDesktopServiceSpecV3 `protobuf:"bytes,2,opt,name=Spec,proto3" json:"spec"` 12807 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12808 XXX_unrecognized []byte `json:"-"` 12809 XXX_sizecache int32 `json:"-"` 12810 } 12811 12812 func (m *WindowsDesktopServiceV3) Reset() { *m = WindowsDesktopServiceV3{} } 12813 func (m *WindowsDesktopServiceV3) String() string { return proto.CompactTextString(m) } 12814 func (*WindowsDesktopServiceV3) ProtoMessage() {} 12815 func (*WindowsDesktopServiceV3) Descriptor() ([]byte, []int) { 12816 return fileDescriptor_9198ee693835762e, []int{217} 12817 } 12818 func (m *WindowsDesktopServiceV3) XXX_Unmarshal(b []byte) error { 12819 return m.Unmarshal(b) 12820 } 12821 func (m *WindowsDesktopServiceV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12822 if deterministic { 12823 return xxx_messageInfo_WindowsDesktopServiceV3.Marshal(b, m, deterministic) 12824 } else { 12825 b = b[:cap(b)] 12826 n, err := m.MarshalToSizedBuffer(b) 12827 if err != nil { 12828 return nil, err 12829 } 12830 return b[:n], nil 12831 } 12832 } 12833 func (m *WindowsDesktopServiceV3) XXX_Merge(src proto.Message) { 12834 xxx_messageInfo_WindowsDesktopServiceV3.Merge(m, src) 12835 } 12836 func (m *WindowsDesktopServiceV3) XXX_Size() int { 12837 return m.Size() 12838 } 12839 func (m *WindowsDesktopServiceV3) XXX_DiscardUnknown() { 12840 xxx_messageInfo_WindowsDesktopServiceV3.DiscardUnknown(m) 12841 } 12842 12843 var xxx_messageInfo_WindowsDesktopServiceV3 proto.InternalMessageInfo 12844 12845 // WindowsDesktopServiceSpecV3 is the windows desktop service spec. 12846 type WindowsDesktopServiceSpecV3 struct { 12847 // Addr is the address that this service can be reached at. 12848 Addr string `protobuf:"bytes,1,opt,name=Addr,proto3" json:"addr"` 12849 // TeleportVersion is teleport binary version running this service. 12850 TeleportVersion string `protobuf:"bytes,2,opt,name=TeleportVersion,proto3" json:"teleport_version"` 12851 // Hostname is the desktop service hostname. 12852 Hostname string `protobuf:"bytes,3,opt,name=Hostname,proto3" json:"hostname"` 12853 // ProxyIDs is a list of proxy IDs this server is expected to be connected to. 12854 ProxyIDs []string `protobuf:"bytes,4,rep,name=ProxyIDs,proto3" json:"proxy_ids,omitempty"` 12855 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12856 XXX_unrecognized []byte `json:"-"` 12857 XXX_sizecache int32 `json:"-"` 12858 } 12859 12860 func (m *WindowsDesktopServiceSpecV3) Reset() { *m = WindowsDesktopServiceSpecV3{} } 12861 func (m *WindowsDesktopServiceSpecV3) String() string { return proto.CompactTextString(m) } 12862 func (*WindowsDesktopServiceSpecV3) ProtoMessage() {} 12863 func (*WindowsDesktopServiceSpecV3) Descriptor() ([]byte, []int) { 12864 return fileDescriptor_9198ee693835762e, []int{218} 12865 } 12866 func (m *WindowsDesktopServiceSpecV3) XXX_Unmarshal(b []byte) error { 12867 return m.Unmarshal(b) 12868 } 12869 func (m *WindowsDesktopServiceSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12870 if deterministic { 12871 return xxx_messageInfo_WindowsDesktopServiceSpecV3.Marshal(b, m, deterministic) 12872 } else { 12873 b = b[:cap(b)] 12874 n, err := m.MarshalToSizedBuffer(b) 12875 if err != nil { 12876 return nil, err 12877 } 12878 return b[:n], nil 12879 } 12880 } 12881 func (m *WindowsDesktopServiceSpecV3) XXX_Merge(src proto.Message) { 12882 xxx_messageInfo_WindowsDesktopServiceSpecV3.Merge(m, src) 12883 } 12884 func (m *WindowsDesktopServiceSpecV3) XXX_Size() int { 12885 return m.Size() 12886 } 12887 func (m *WindowsDesktopServiceSpecV3) XXX_DiscardUnknown() { 12888 xxx_messageInfo_WindowsDesktopServiceSpecV3.DiscardUnknown(m) 12889 } 12890 12891 var xxx_messageInfo_WindowsDesktopServiceSpecV3 proto.InternalMessageInfo 12892 12893 // WindowsDesktopFilter are filters to apply when searching for windows desktops. 12894 type WindowsDesktopFilter struct { 12895 // HostID is the ID of the host the Windows Desktop Service proxying the desktop. 12896 HostID string `protobuf:"bytes,1,opt,name=HostID,proto3" json:"host_id"` 12897 // Name is the name of the desktop. 12898 Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"name"` 12899 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12900 XXX_unrecognized []byte `json:"-"` 12901 XXX_sizecache int32 `json:"-"` 12902 } 12903 12904 func (m *WindowsDesktopFilter) Reset() { *m = WindowsDesktopFilter{} } 12905 func (m *WindowsDesktopFilter) String() string { return proto.CompactTextString(m) } 12906 func (*WindowsDesktopFilter) ProtoMessage() {} 12907 func (*WindowsDesktopFilter) Descriptor() ([]byte, []int) { 12908 return fileDescriptor_9198ee693835762e, []int{219} 12909 } 12910 func (m *WindowsDesktopFilter) XXX_Unmarshal(b []byte) error { 12911 return m.Unmarshal(b) 12912 } 12913 func (m *WindowsDesktopFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12914 if deterministic { 12915 return xxx_messageInfo_WindowsDesktopFilter.Marshal(b, m, deterministic) 12916 } else { 12917 b = b[:cap(b)] 12918 n, err := m.MarshalToSizedBuffer(b) 12919 if err != nil { 12920 return nil, err 12921 } 12922 return b[:n], nil 12923 } 12924 } 12925 func (m *WindowsDesktopFilter) XXX_Merge(src proto.Message) { 12926 xxx_messageInfo_WindowsDesktopFilter.Merge(m, src) 12927 } 12928 func (m *WindowsDesktopFilter) XXX_Size() int { 12929 return m.Size() 12930 } 12931 func (m *WindowsDesktopFilter) XXX_DiscardUnknown() { 12932 xxx_messageInfo_WindowsDesktopFilter.DiscardUnknown(m) 12933 } 12934 12935 var xxx_messageInfo_WindowsDesktopFilter proto.InternalMessageInfo 12936 12937 // WindowsDesktopV3 represents a Windows host for desktop access. 12938 type WindowsDesktopV3 struct { 12939 // Header is the common resource header. 12940 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 12941 // Spec is the Windows host spec. 12942 Spec WindowsDesktopSpecV3 `protobuf:"bytes,2,opt,name=Spec,proto3" json:"spec"` 12943 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12944 XXX_unrecognized []byte `json:"-"` 12945 XXX_sizecache int32 `json:"-"` 12946 } 12947 12948 func (m *WindowsDesktopV3) Reset() { *m = WindowsDesktopV3{} } 12949 func (m *WindowsDesktopV3) String() string { return proto.CompactTextString(m) } 12950 func (*WindowsDesktopV3) ProtoMessage() {} 12951 func (*WindowsDesktopV3) Descriptor() ([]byte, []int) { 12952 return fileDescriptor_9198ee693835762e, []int{220} 12953 } 12954 func (m *WindowsDesktopV3) XXX_Unmarshal(b []byte) error { 12955 return m.Unmarshal(b) 12956 } 12957 func (m *WindowsDesktopV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12958 if deterministic { 12959 return xxx_messageInfo_WindowsDesktopV3.Marshal(b, m, deterministic) 12960 } else { 12961 b = b[:cap(b)] 12962 n, err := m.MarshalToSizedBuffer(b) 12963 if err != nil { 12964 return nil, err 12965 } 12966 return b[:n], nil 12967 } 12968 } 12969 func (m *WindowsDesktopV3) XXX_Merge(src proto.Message) { 12970 xxx_messageInfo_WindowsDesktopV3.Merge(m, src) 12971 } 12972 func (m *WindowsDesktopV3) XXX_Size() int { 12973 return m.Size() 12974 } 12975 func (m *WindowsDesktopV3) XXX_DiscardUnknown() { 12976 xxx_messageInfo_WindowsDesktopV3.DiscardUnknown(m) 12977 } 12978 12979 var xxx_messageInfo_WindowsDesktopV3 proto.InternalMessageInfo 12980 12981 // WindowsDesktopSpecV3 is the Windows host spec. 12982 type WindowsDesktopSpecV3 struct { 12983 // Addr is the address that this host can be reached at. 12984 Addr string `protobuf:"bytes,1,opt,name=Addr,proto3" json:"addr"` 12985 // Domain is the ActiveDirectory domain that this host belongs to. 12986 Domain string `protobuf:"bytes,2,opt,name=Domain,proto3" json:"domain"` 12987 // HostID is the ID of the host the Windows Desktop Service proxying the desktop. 12988 HostID string `protobuf:"bytes,3,opt,name=HostID,proto3" json:"host_id"` 12989 // NonAD marks this desktop as a standalone host that is 12990 // not joined to an Active Directory domain. 12991 NonAD bool `protobuf:"varint,4,opt,name=NonAD,proto3" json:"non_ad"` 12992 // ScreenSize specifies the size of the screen to use for sessions 12993 // on this host. In most cases this should be unspecified, in which 12994 // case Teleport will fill the browser window. 12995 ScreenSize *Resolution `protobuf:"bytes,5,opt,name=ScreenSize,proto3" json:"screen_size,omitempty"` 12996 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12997 XXX_unrecognized []byte `json:"-"` 12998 XXX_sizecache int32 `json:"-"` 12999 } 13000 13001 func (m *WindowsDesktopSpecV3) Reset() { *m = WindowsDesktopSpecV3{} } 13002 func (m *WindowsDesktopSpecV3) String() string { return proto.CompactTextString(m) } 13003 func (*WindowsDesktopSpecV3) ProtoMessage() {} 13004 func (*WindowsDesktopSpecV3) Descriptor() ([]byte, []int) { 13005 return fileDescriptor_9198ee693835762e, []int{221} 13006 } 13007 func (m *WindowsDesktopSpecV3) XXX_Unmarshal(b []byte) error { 13008 return m.Unmarshal(b) 13009 } 13010 func (m *WindowsDesktopSpecV3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13011 if deterministic { 13012 return xxx_messageInfo_WindowsDesktopSpecV3.Marshal(b, m, deterministic) 13013 } else { 13014 b = b[:cap(b)] 13015 n, err := m.MarshalToSizedBuffer(b) 13016 if err != nil { 13017 return nil, err 13018 } 13019 return b[:n], nil 13020 } 13021 } 13022 func (m *WindowsDesktopSpecV3) XXX_Merge(src proto.Message) { 13023 xxx_messageInfo_WindowsDesktopSpecV3.Merge(m, src) 13024 } 13025 func (m *WindowsDesktopSpecV3) XXX_Size() int { 13026 return m.Size() 13027 } 13028 func (m *WindowsDesktopSpecV3) XXX_DiscardUnknown() { 13029 xxx_messageInfo_WindowsDesktopSpecV3.DiscardUnknown(m) 13030 } 13031 13032 var xxx_messageInfo_WindowsDesktopSpecV3 proto.InternalMessageInfo 13033 13034 type Resolution struct { 13035 Width uint32 `protobuf:"varint,1,opt,name=Width,proto3" json:"width,omitempty"` 13036 Height uint32 `protobuf:"varint,2,opt,name=Height,proto3" json:"height,omitempty"` 13037 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13038 XXX_unrecognized []byte `json:"-"` 13039 XXX_sizecache int32 `json:"-"` 13040 } 13041 13042 func (m *Resolution) Reset() { *m = Resolution{} } 13043 func (m *Resolution) String() string { return proto.CompactTextString(m) } 13044 func (*Resolution) ProtoMessage() {} 13045 func (*Resolution) Descriptor() ([]byte, []int) { 13046 return fileDescriptor_9198ee693835762e, []int{222} 13047 } 13048 func (m *Resolution) XXX_Unmarshal(b []byte) error { 13049 return m.Unmarshal(b) 13050 } 13051 func (m *Resolution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13052 if deterministic { 13053 return xxx_messageInfo_Resolution.Marshal(b, m, deterministic) 13054 } else { 13055 b = b[:cap(b)] 13056 n, err := m.MarshalToSizedBuffer(b) 13057 if err != nil { 13058 return nil, err 13059 } 13060 return b[:n], nil 13061 } 13062 } 13063 func (m *Resolution) XXX_Merge(src proto.Message) { 13064 xxx_messageInfo_Resolution.Merge(m, src) 13065 } 13066 func (m *Resolution) XXX_Size() int { 13067 return m.Size() 13068 } 13069 func (m *Resolution) XXX_DiscardUnknown() { 13070 xxx_messageInfo_Resolution.DiscardUnknown(m) 13071 } 13072 13073 var xxx_messageInfo_Resolution proto.InternalMessageInfo 13074 13075 // RegisterUsingTokenRequest is a request to register with the auth server using 13076 // an authentication token 13077 type RegisterUsingTokenRequest struct { 13078 // HostID is a unique host ID, usually a UUID 13079 HostID string `protobuf:"bytes,1,opt,name=HostID,proto3" json:"hostID"` 13080 // NodeName is a node name 13081 NodeName string `protobuf:"bytes,2,opt,name=NodeName,proto3" json:"node_name"` 13082 // Role is a system role, e.g. Proxy 13083 Role SystemRole `protobuf:"bytes,3,opt,name=Role,proto3,casttype=SystemRole" json:"role"` 13084 // Token is the name of an authentication token 13085 Token string `protobuf:"bytes,4,opt,name=Token,proto3" json:"token"` 13086 // AdditionalPrincipals is a list of additional principals 13087 AdditionalPrincipals []string `protobuf:"bytes,5,rep,name=AdditionalPrincipals,proto3" json:"additional_principals"` 13088 // DNSNames is a list of DNS names to include in the x509 client certificate 13089 DNSNames []string `protobuf:"bytes,6,rep,name=DNSNames,proto3" json:"dns_names"` 13090 // PublicTLSKey is a PEM encoded public key 13091 // used for TLS setup 13092 PublicTLSKey []byte `protobuf:"bytes,7,opt,name=PublicTLSKey,proto3" json:"public_tls_key"` 13093 // PublicSSHKey is a SSH encoded public key, 13094 // if present will be signed as a return value 13095 // otherwise, new public/private key pair will be generated 13096 PublicSSHKey []byte `protobuf:"bytes,8,opt,name=PublicSSHKey,proto3" json:"public_ssh_key"` 13097 // RemoteAddr is the remote address of the host requesting a host certificate. 13098 // It is used to replace 0.0.0.0 in the list of additional principals. 13099 RemoteAddr string `protobuf:"bytes,9,opt,name=RemoteAddr,proto3" json:"remote_addr"` 13100 // EC2IdentityDocument is used for the EC2 join method to prove the identity 13101 // of a joining EC2 instance. 13102 EC2IdentityDocument []byte `protobuf:"bytes,10,opt,name=EC2IdentityDocument,proto3" json:"ec2_id"` 13103 // IDToken is a token provided by a workload identity provider as part of 13104 // OIDC join types such as GitHub. 13105 IDToken string `protobuf:"bytes,11,opt,name=IDToken,proto3" json:"id_token"` 13106 // Expires is a desired time of the expiry of user certificates returned by 13107 // registration. This only applies to bot joining, and will be ignored by 13108 // node joining. 13109 Expires *time.Time `protobuf:"bytes,12,opt,name=Expires,proto3,stdtime" json:"expires,omitempty"` 13110 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13111 XXX_unrecognized []byte `json:"-"` 13112 XXX_sizecache int32 `json:"-"` 13113 } 13114 13115 func (m *RegisterUsingTokenRequest) Reset() { *m = RegisterUsingTokenRequest{} } 13116 func (m *RegisterUsingTokenRequest) String() string { return proto.CompactTextString(m) } 13117 func (*RegisterUsingTokenRequest) ProtoMessage() {} 13118 func (*RegisterUsingTokenRequest) Descriptor() ([]byte, []int) { 13119 return fileDescriptor_9198ee693835762e, []int{223} 13120 } 13121 func (m *RegisterUsingTokenRequest) XXX_Unmarshal(b []byte) error { 13122 return m.Unmarshal(b) 13123 } 13124 func (m *RegisterUsingTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13125 if deterministic { 13126 return xxx_messageInfo_RegisterUsingTokenRequest.Marshal(b, m, deterministic) 13127 } else { 13128 b = b[:cap(b)] 13129 n, err := m.MarshalToSizedBuffer(b) 13130 if err != nil { 13131 return nil, err 13132 } 13133 return b[:n], nil 13134 } 13135 } 13136 func (m *RegisterUsingTokenRequest) XXX_Merge(src proto.Message) { 13137 xxx_messageInfo_RegisterUsingTokenRequest.Merge(m, src) 13138 } 13139 func (m *RegisterUsingTokenRequest) XXX_Size() int { 13140 return m.Size() 13141 } 13142 func (m *RegisterUsingTokenRequest) XXX_DiscardUnknown() { 13143 xxx_messageInfo_RegisterUsingTokenRequest.DiscardUnknown(m) 13144 } 13145 13146 var xxx_messageInfo_RegisterUsingTokenRequest proto.InternalMessageInfo 13147 13148 // RecoveryCodes holds a user's recovery code information. Recovery codes allows users to regain 13149 // access to their account by restoring their lost password or second factor. Once a recovery code 13150 // is successfully verified, the code is mark used (which invalidates it), and lets the user begin 13151 // the recovery flow. When a user successfully finishes the recovery flow, users will get a new set 13152 // of codes that will replace all the previous ones. 13153 type RecoveryCodesV1 struct { 13154 // Kind is the resource kind. 13155 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 13156 // SubKind is an optional resource subkind. Currently unused for this resource. 13157 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 13158 // Version is the resource version. 13159 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 13160 // Metadata is the resource metadata. 13161 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 13162 // Spec is the resource spec. 13163 Spec RecoveryCodesSpecV1 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 13164 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13165 XXX_unrecognized []byte `json:"-"` 13166 XXX_sizecache int32 `json:"-"` 13167 } 13168 13169 func (m *RecoveryCodesV1) Reset() { *m = RecoveryCodesV1{} } 13170 func (m *RecoveryCodesV1) String() string { return proto.CompactTextString(m) } 13171 func (*RecoveryCodesV1) ProtoMessage() {} 13172 func (*RecoveryCodesV1) Descriptor() ([]byte, []int) { 13173 return fileDescriptor_9198ee693835762e, []int{224} 13174 } 13175 func (m *RecoveryCodesV1) XXX_Unmarshal(b []byte) error { 13176 return m.Unmarshal(b) 13177 } 13178 func (m *RecoveryCodesV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13179 if deterministic { 13180 return xxx_messageInfo_RecoveryCodesV1.Marshal(b, m, deterministic) 13181 } else { 13182 b = b[:cap(b)] 13183 n, err := m.MarshalToSizedBuffer(b) 13184 if err != nil { 13185 return nil, err 13186 } 13187 return b[:n], nil 13188 } 13189 } 13190 func (m *RecoveryCodesV1) XXX_Merge(src proto.Message) { 13191 xxx_messageInfo_RecoveryCodesV1.Merge(m, src) 13192 } 13193 func (m *RecoveryCodesV1) XXX_Size() int { 13194 return m.Size() 13195 } 13196 func (m *RecoveryCodesV1) XXX_DiscardUnknown() { 13197 xxx_messageInfo_RecoveryCodesV1.DiscardUnknown(m) 13198 } 13199 13200 var xxx_messageInfo_RecoveryCodesV1 proto.InternalMessageInfo 13201 13202 // RecoveryCodesSpecV1 is the recovery codes spec. 13203 type RecoveryCodesSpecV1 struct { 13204 // Codes hold a list of numOfRecoveryCodes. 13205 Codes []RecoveryCode `protobuf:"bytes,1,rep,name=Codes,proto3" json:"codes"` 13206 // Created is when the set of recovery codes were generated. Updated when a new set of recovery 13207 // codes are inserted. 13208 Created time.Time `protobuf:"bytes,2,opt,name=Created,proto3,stdtime" json:"created"` 13209 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13210 XXX_unrecognized []byte `json:"-"` 13211 XXX_sizecache int32 `json:"-"` 13212 } 13213 13214 func (m *RecoveryCodesSpecV1) Reset() { *m = RecoveryCodesSpecV1{} } 13215 func (m *RecoveryCodesSpecV1) String() string { return proto.CompactTextString(m) } 13216 func (*RecoveryCodesSpecV1) ProtoMessage() {} 13217 func (*RecoveryCodesSpecV1) Descriptor() ([]byte, []int) { 13218 return fileDescriptor_9198ee693835762e, []int{225} 13219 } 13220 func (m *RecoveryCodesSpecV1) XXX_Unmarshal(b []byte) error { 13221 return m.Unmarshal(b) 13222 } 13223 func (m *RecoveryCodesSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13224 if deterministic { 13225 return xxx_messageInfo_RecoveryCodesSpecV1.Marshal(b, m, deterministic) 13226 } else { 13227 b = b[:cap(b)] 13228 n, err := m.MarshalToSizedBuffer(b) 13229 if err != nil { 13230 return nil, err 13231 } 13232 return b[:n], nil 13233 } 13234 } 13235 func (m *RecoveryCodesSpecV1) XXX_Merge(src proto.Message) { 13236 xxx_messageInfo_RecoveryCodesSpecV1.Merge(m, src) 13237 } 13238 func (m *RecoveryCodesSpecV1) XXX_Size() int { 13239 return m.Size() 13240 } 13241 func (m *RecoveryCodesSpecV1) XXX_DiscardUnknown() { 13242 xxx_messageInfo_RecoveryCodesSpecV1.DiscardUnknown(m) 13243 } 13244 13245 var xxx_messageInfo_RecoveryCodesSpecV1 proto.InternalMessageInfo 13246 13247 // RecoveryCode describes a recovery code. 13248 type RecoveryCode struct { 13249 // HashedCode is a bcrypt hash of this recovery code. 13250 HashedCode []byte `protobuf:"bytes,1,opt,name=HashedCode,proto3" json:"hashed_code"` 13251 // IsUsed determines if this recovery code was used. 13252 IsUsed bool `protobuf:"varint,2,opt,name=IsUsed,proto3" json:"is_used"` 13253 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13254 XXX_unrecognized []byte `json:"-"` 13255 XXX_sizecache int32 `json:"-"` 13256 } 13257 13258 func (m *RecoveryCode) Reset() { *m = RecoveryCode{} } 13259 func (m *RecoveryCode) String() string { return proto.CompactTextString(m) } 13260 func (*RecoveryCode) ProtoMessage() {} 13261 func (*RecoveryCode) Descriptor() ([]byte, []int) { 13262 return fileDescriptor_9198ee693835762e, []int{226} 13263 } 13264 func (m *RecoveryCode) XXX_Unmarshal(b []byte) error { 13265 return m.Unmarshal(b) 13266 } 13267 func (m *RecoveryCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13268 if deterministic { 13269 return xxx_messageInfo_RecoveryCode.Marshal(b, m, deterministic) 13270 } else { 13271 b = b[:cap(b)] 13272 n, err := m.MarshalToSizedBuffer(b) 13273 if err != nil { 13274 return nil, err 13275 } 13276 return b[:n], nil 13277 } 13278 } 13279 func (m *RecoveryCode) XXX_Merge(src proto.Message) { 13280 xxx_messageInfo_RecoveryCode.Merge(m, src) 13281 } 13282 func (m *RecoveryCode) XXX_Size() int { 13283 return m.Size() 13284 } 13285 func (m *RecoveryCode) XXX_DiscardUnknown() { 13286 xxx_messageInfo_RecoveryCode.DiscardUnknown(m) 13287 } 13288 13289 var xxx_messageInfo_RecoveryCode proto.InternalMessageInfo 13290 13291 type NullableSessionState struct { 13292 State SessionState `protobuf:"varint,1,opt,name=State,proto3,enum=types.SessionState" json:"state,omitempty"` 13293 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13294 XXX_unrecognized []byte `json:"-"` 13295 XXX_sizecache int32 `json:"-"` 13296 } 13297 13298 func (m *NullableSessionState) Reset() { *m = NullableSessionState{} } 13299 func (m *NullableSessionState) String() string { return proto.CompactTextString(m) } 13300 func (*NullableSessionState) ProtoMessage() {} 13301 func (*NullableSessionState) Descriptor() ([]byte, []int) { 13302 return fileDescriptor_9198ee693835762e, []int{227} 13303 } 13304 func (m *NullableSessionState) XXX_Unmarshal(b []byte) error { 13305 return m.Unmarshal(b) 13306 } 13307 func (m *NullableSessionState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13308 if deterministic { 13309 return xxx_messageInfo_NullableSessionState.Marshal(b, m, deterministic) 13310 } else { 13311 b = b[:cap(b)] 13312 n, err := m.MarshalToSizedBuffer(b) 13313 if err != nil { 13314 return nil, err 13315 } 13316 return b[:n], nil 13317 } 13318 } 13319 func (m *NullableSessionState) XXX_Merge(src proto.Message) { 13320 xxx_messageInfo_NullableSessionState.Merge(m, src) 13321 } 13322 func (m *NullableSessionState) XXX_Size() int { 13323 return m.Size() 13324 } 13325 func (m *NullableSessionState) XXX_DiscardUnknown() { 13326 xxx_messageInfo_NullableSessionState.DiscardUnknown(m) 13327 } 13328 13329 var xxx_messageInfo_NullableSessionState proto.InternalMessageInfo 13330 13331 // SessionTrackerFilter are filters to apply when searching for session trackers. 13332 type SessionTrackerFilter struct { 13333 // Kind describes what kind of session this is. 13334 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind,omitempty"` 13335 // State is the current state of this session. 13336 State *NullableSessionState `protobuf:"bytes,2,opt,name=State,proto3" json:"state,omitempty"` 13337 // DesktopName is the windows desktop server this session belongs to. 13338 DesktopName string `protobuf:"bytes,3,opt,name=DesktopName,proto3" json:"desktop_name,omitempty"` 13339 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13340 XXX_unrecognized []byte `json:"-"` 13341 XXX_sizecache int32 `json:"-"` 13342 } 13343 13344 func (m *SessionTrackerFilter) Reset() { *m = SessionTrackerFilter{} } 13345 func (m *SessionTrackerFilter) String() string { return proto.CompactTextString(m) } 13346 func (*SessionTrackerFilter) ProtoMessage() {} 13347 func (*SessionTrackerFilter) Descriptor() ([]byte, []int) { 13348 return fileDescriptor_9198ee693835762e, []int{228} 13349 } 13350 func (m *SessionTrackerFilter) XXX_Unmarshal(b []byte) error { 13351 return m.Unmarshal(b) 13352 } 13353 func (m *SessionTrackerFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13354 if deterministic { 13355 return xxx_messageInfo_SessionTrackerFilter.Marshal(b, m, deterministic) 13356 } else { 13357 b = b[:cap(b)] 13358 n, err := m.MarshalToSizedBuffer(b) 13359 if err != nil { 13360 return nil, err 13361 } 13362 return b[:n], nil 13363 } 13364 } 13365 func (m *SessionTrackerFilter) XXX_Merge(src proto.Message) { 13366 xxx_messageInfo_SessionTrackerFilter.Merge(m, src) 13367 } 13368 func (m *SessionTrackerFilter) XXX_Size() int { 13369 return m.Size() 13370 } 13371 func (m *SessionTrackerFilter) XXX_DiscardUnknown() { 13372 xxx_messageInfo_SessionTrackerFilter.DiscardUnknown(m) 13373 } 13374 13375 var xxx_messageInfo_SessionTrackerFilter proto.InternalMessageInfo 13376 13377 // SessionTrackerV1 represents a live session resource. 13378 type SessionTrackerV1 struct { 13379 // Header is the common resource header. 13380 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 13381 // Spec is a session specification. 13382 Spec SessionTrackerSpecV1 `protobuf:"bytes,2,opt,name=Spec,proto3" json:"spec"` 13383 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13384 XXX_unrecognized []byte `json:"-"` 13385 XXX_sizecache int32 `json:"-"` 13386 } 13387 13388 func (m *SessionTrackerV1) Reset() { *m = SessionTrackerV1{} } 13389 func (m *SessionTrackerV1) String() string { return proto.CompactTextString(m) } 13390 func (*SessionTrackerV1) ProtoMessage() {} 13391 func (*SessionTrackerV1) Descriptor() ([]byte, []int) { 13392 return fileDescriptor_9198ee693835762e, []int{229} 13393 } 13394 func (m *SessionTrackerV1) XXX_Unmarshal(b []byte) error { 13395 return m.Unmarshal(b) 13396 } 13397 func (m *SessionTrackerV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13398 if deterministic { 13399 return xxx_messageInfo_SessionTrackerV1.Marshal(b, m, deterministic) 13400 } else { 13401 b = b[:cap(b)] 13402 n, err := m.MarshalToSizedBuffer(b) 13403 if err != nil { 13404 return nil, err 13405 } 13406 return b[:n], nil 13407 } 13408 } 13409 func (m *SessionTrackerV1) XXX_Merge(src proto.Message) { 13410 xxx_messageInfo_SessionTrackerV1.Merge(m, src) 13411 } 13412 func (m *SessionTrackerV1) XXX_Size() int { 13413 return m.Size() 13414 } 13415 func (m *SessionTrackerV1) XXX_DiscardUnknown() { 13416 xxx_messageInfo_SessionTrackerV1.DiscardUnknown(m) 13417 } 13418 13419 var xxx_messageInfo_SessionTrackerV1 proto.InternalMessageInfo 13420 13421 // SessionTrackerSpecV1 is the specification for a live session. 13422 type SessionTrackerSpecV1 struct { 13423 // SessionID is unique identifier of this session. 13424 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"session_id,omitempty"` 13425 // Kind describes what kind of session this is. 13426 Kind string `protobuf:"bytes,2,opt,name=Kind,proto3" json:"kind,omitempty"` 13427 // State is the current state of this session. 13428 State SessionState `protobuf:"varint,3,opt,name=State,proto3,enum=types.SessionState" json:"state,omitempty"` 13429 // Created encodes the time at which the session was registered with the auth 13430 // server. 13431 // 13432 // This should match the timestamp in the corresponding `session.create` event. 13433 // It's thus up to the tracker creator to set the correct timestamp. 13434 Created time.Time `protobuf:"bytes,4,opt,name=Created,proto3,stdtime" json:"created,omitempty"` 13435 // Expires encodes the time at which this session expires and becomes invalid. 13436 Expires time.Time `protobuf:"bytes,5,opt,name=Expires,proto3,stdtime" json:"expires,omitempty"` 13437 // AttachedData is arbitrary attached JSON serialized metadata. 13438 AttachedData string `protobuf:"bytes,6,opt,name=AttachedData,proto3" json:"attached,omitempty"` 13439 // Reason is an arbitrary string that may be used to describe the session and/or it's 13440 // purpose. 13441 Reason string `protobuf:"bytes,7,opt,name=Reason,proto3" json:"reason,omitempty"` 13442 // Invited is a list of invited users, this field is interpreted by different 13443 // clients on a best-effort basis and used for delivering notifications to invited users. 13444 Invited []string `protobuf:"bytes,8,rep,name=Invited,proto3" json:"invited,omitempty"` 13445 // Hostname identifies the target this session is connected to. 13446 Hostname string `protobuf:"bytes,9,opt,name=Hostname,proto3" json:"target_hostname,omitempty"` 13447 // Address is the address of the target this session is connected to. 13448 Address string `protobuf:"bytes,10,opt,name=Address,proto3" json:"target_address,omitempty"` 13449 // ClusterName is the name of the Teleport cluster that this session belongs to. 13450 ClusterName string `protobuf:"bytes,11,opt,name=ClusterName,proto3" json:"cluster_name,omitempty"` 13451 // Login is the local login/user on the target used by the session. 13452 Login string `protobuf:"bytes,12,opt,name=Login,proto3" json:"login,omitempty"` 13453 // Participants is a list of session participants. 13454 Participants []Participant `protobuf:"bytes,13,rep,name=Participants,proto3" json:"participants,omitempty"` 13455 // The Kubernetes cluster this session belongs to. 13456 KubernetesCluster string `protobuf:"bytes,14,opt,name=KubernetesCluster,proto3" json:"kubernetes_cluster,omitempty"` 13457 // HostUser is the user regarded as the owner of this session, RBAC checks are performed 13458 // against the require policies of this user. 13459 // 13460 // This refers to the Teleport user but may not be the same as the sessions initiator. 13461 HostUser string `protobuf:"bytes,15,opt,name=HostUser,proto3" json:"host_user,omitempty"` 13462 // HostPolicies is a list of RBAC policy sets held by the host user at the time of session 13463 // creation. 13464 HostPolicies []*SessionTrackerPolicySet `protobuf:"bytes,16,rep,name=HostPolicies,proto3" json:"host_roles,omitempty"` 13465 // DatabaseName is the database server this session belongs to. 13466 DatabaseName string `protobuf:"bytes,17,opt,name=DatabaseName,proto3" json:"database_name,omitempty"` 13467 // AppName is the app server this session belongs to. 13468 AppName string `protobuf:"bytes,18,opt,name=AppName,proto3" json:"app_name,omitempty"` 13469 // AppSessionID is the unique ID of the app access certificate used to start this app session. 13470 AppSessionID string `protobuf:"bytes,19,opt,name=AppSessionID,proto3" json:"app_session_id,omitempty"` 13471 // DesktopName is the windows desktop server this session belongs to. 13472 DesktopName string `protobuf:"bytes,20,opt,name=DesktopName,proto3" json:"desktop_name,omitempty"` 13473 // HostID is the target host id that created the session tracker. 13474 // It's useful for Kubernetes moderated sessions when running in high availabilty 13475 // otherwise kube proxy is not able to know which agent runs the session. 13476 HostID string `protobuf:"bytes,21,opt,name=HostID,proto3" json:"host_id,omitempty"` 13477 // TargetSubKind is the sub kind of the target server. 13478 TargetSubKind string `protobuf:"bytes,22,opt,name=TargetSubKind,proto3" json:"target_sub_kind,omitempty"` 13479 // InitialCommand is the command that was executed to start this session. 13480 InitialCommand []string `protobuf:"bytes,23,rep,name=InitialCommand,proto3" json:"initial_command,omitempty"` 13481 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13482 XXX_unrecognized []byte `json:"-"` 13483 XXX_sizecache int32 `json:"-"` 13484 } 13485 13486 func (m *SessionTrackerSpecV1) Reset() { *m = SessionTrackerSpecV1{} } 13487 func (m *SessionTrackerSpecV1) String() string { return proto.CompactTextString(m) } 13488 func (*SessionTrackerSpecV1) ProtoMessage() {} 13489 func (*SessionTrackerSpecV1) Descriptor() ([]byte, []int) { 13490 return fileDescriptor_9198ee693835762e, []int{230} 13491 } 13492 func (m *SessionTrackerSpecV1) XXX_Unmarshal(b []byte) error { 13493 return m.Unmarshal(b) 13494 } 13495 func (m *SessionTrackerSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13496 if deterministic { 13497 return xxx_messageInfo_SessionTrackerSpecV1.Marshal(b, m, deterministic) 13498 } else { 13499 b = b[:cap(b)] 13500 n, err := m.MarshalToSizedBuffer(b) 13501 if err != nil { 13502 return nil, err 13503 } 13504 return b[:n], nil 13505 } 13506 } 13507 func (m *SessionTrackerSpecV1) XXX_Merge(src proto.Message) { 13508 xxx_messageInfo_SessionTrackerSpecV1.Merge(m, src) 13509 } 13510 func (m *SessionTrackerSpecV1) XXX_Size() int { 13511 return m.Size() 13512 } 13513 func (m *SessionTrackerSpecV1) XXX_DiscardUnknown() { 13514 xxx_messageInfo_SessionTrackerSpecV1.DiscardUnknown(m) 13515 } 13516 13517 var xxx_messageInfo_SessionTrackerSpecV1 proto.InternalMessageInfo 13518 13519 // SessionTrackerPolicySet is a set of RBAC policies held by the session tracker 13520 // that contain additional metadata from the originating role. 13521 type SessionTrackerPolicySet struct { 13522 // Name is name of the role this policy set originates from. 13523 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name,omitempty"` 13524 // Version is version of the role this policy set originates from. 13525 Version string `protobuf:"bytes,2,opt,name=Version,proto3" json:"version,omitempty"` 13526 // RequireSessionJoin specifies policies for required users to start a session. 13527 RequireSessionJoin []*SessionRequirePolicy `protobuf:"bytes,3,rep,name=RequireSessionJoin,proto3" json:"require_session_join,omitempty"` 13528 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13529 XXX_unrecognized []byte `json:"-"` 13530 XXX_sizecache int32 `json:"-"` 13531 } 13532 13533 func (m *SessionTrackerPolicySet) Reset() { *m = SessionTrackerPolicySet{} } 13534 func (m *SessionTrackerPolicySet) String() string { return proto.CompactTextString(m) } 13535 func (*SessionTrackerPolicySet) ProtoMessage() {} 13536 func (*SessionTrackerPolicySet) Descriptor() ([]byte, []int) { 13537 return fileDescriptor_9198ee693835762e, []int{231} 13538 } 13539 func (m *SessionTrackerPolicySet) XXX_Unmarshal(b []byte) error { 13540 return m.Unmarshal(b) 13541 } 13542 func (m *SessionTrackerPolicySet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13543 if deterministic { 13544 return xxx_messageInfo_SessionTrackerPolicySet.Marshal(b, m, deterministic) 13545 } else { 13546 b = b[:cap(b)] 13547 n, err := m.MarshalToSizedBuffer(b) 13548 if err != nil { 13549 return nil, err 13550 } 13551 return b[:n], nil 13552 } 13553 } 13554 func (m *SessionTrackerPolicySet) XXX_Merge(src proto.Message) { 13555 xxx_messageInfo_SessionTrackerPolicySet.Merge(m, src) 13556 } 13557 func (m *SessionTrackerPolicySet) XXX_Size() int { 13558 return m.Size() 13559 } 13560 func (m *SessionTrackerPolicySet) XXX_DiscardUnknown() { 13561 xxx_messageInfo_SessionTrackerPolicySet.DiscardUnknown(m) 13562 } 13563 13564 var xxx_messageInfo_SessionTrackerPolicySet proto.InternalMessageInfo 13565 13566 // Participant stores information about a participant in the session. 13567 type Participant struct { 13568 // ID is a unique UUID of this participant for a given session. 13569 ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"id,omitempty"` 13570 // User is the canonical name of the Teleport user controlling this participant. 13571 User string `protobuf:"bytes,2,opt,name=User,proto3" json:"user,omitempty"` 13572 // Mode is the participant mode. 13573 Mode string `protobuf:"bytes,3,opt,name=Mode,proto3" json:"mode,omitempty"` 13574 // LastActive is the last time this party was active in the session. 13575 LastActive time.Time `protobuf:"bytes,4,opt,name=LastActive,proto3,stdtime" json:"last_active,omitempty"` 13576 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13577 XXX_unrecognized []byte `json:"-"` 13578 XXX_sizecache int32 `json:"-"` 13579 } 13580 13581 func (m *Participant) Reset() { *m = Participant{} } 13582 func (m *Participant) String() string { return proto.CompactTextString(m) } 13583 func (*Participant) ProtoMessage() {} 13584 func (*Participant) Descriptor() ([]byte, []int) { 13585 return fileDescriptor_9198ee693835762e, []int{232} 13586 } 13587 func (m *Participant) XXX_Unmarshal(b []byte) error { 13588 return m.Unmarshal(b) 13589 } 13590 func (m *Participant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13591 if deterministic { 13592 return xxx_messageInfo_Participant.Marshal(b, m, deterministic) 13593 } else { 13594 b = b[:cap(b)] 13595 n, err := m.MarshalToSizedBuffer(b) 13596 if err != nil { 13597 return nil, err 13598 } 13599 return b[:n], nil 13600 } 13601 } 13602 func (m *Participant) XXX_Merge(src proto.Message) { 13603 xxx_messageInfo_Participant.Merge(m, src) 13604 } 13605 func (m *Participant) XXX_Size() int { 13606 return m.Size() 13607 } 13608 func (m *Participant) XXX_DiscardUnknown() { 13609 xxx_messageInfo_Participant.DiscardUnknown(m) 13610 } 13611 13612 var xxx_messageInfo_Participant proto.InternalMessageInfo 13613 13614 // UIConfigV1 represents the configuration for the web UI served by the proxy service 13615 type UIConfigV1 struct { 13616 // Header is the resource header for the UI configuration. 13617 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 13618 // Spec is the resource spec. 13619 Spec UIConfigSpecV1 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 13620 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13621 XXX_unrecognized []byte `json:"-"` 13622 XXX_sizecache int32 `json:"-"` 13623 } 13624 13625 func (m *UIConfigV1) Reset() { *m = UIConfigV1{} } 13626 func (m *UIConfigV1) String() string { return proto.CompactTextString(m) } 13627 func (*UIConfigV1) ProtoMessage() {} 13628 func (*UIConfigV1) Descriptor() ([]byte, []int) { 13629 return fileDescriptor_9198ee693835762e, []int{233} 13630 } 13631 func (m *UIConfigV1) XXX_Unmarshal(b []byte) error { 13632 return m.Unmarshal(b) 13633 } 13634 func (m *UIConfigV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13635 if deterministic { 13636 return xxx_messageInfo_UIConfigV1.Marshal(b, m, deterministic) 13637 } else { 13638 b = b[:cap(b)] 13639 n, err := m.MarshalToSizedBuffer(b) 13640 if err != nil { 13641 return nil, err 13642 } 13643 return b[:n], nil 13644 } 13645 } 13646 func (m *UIConfigV1) XXX_Merge(src proto.Message) { 13647 xxx_messageInfo_UIConfigV1.Merge(m, src) 13648 } 13649 func (m *UIConfigV1) XXX_Size() int { 13650 return m.Size() 13651 } 13652 func (m *UIConfigV1) XXX_DiscardUnknown() { 13653 xxx_messageInfo_UIConfigV1.DiscardUnknown(m) 13654 } 13655 13656 var xxx_messageInfo_UIConfigV1 proto.InternalMessageInfo 13657 13658 // UIConfigSpecV1 is the specification for a UIConfig 13659 type UIConfigSpecV1 struct { 13660 // ScrollbackLines is the max number of lines the UI terminal can display in its history. 13661 ScrollbackLines int32 `protobuf:"varint,1,opt,name=ScrollbackLines,proto3" json:"scrollback_lines"` 13662 // ShowResources determines which resources are shown in the web UI. Default if unset is "requestable" 13663 // which means resources the user has access to and resources they can request will be shown in the 13664 // resources UI. If set to `accessible_only`, only resources the user already has access to will be shown. 13665 ShowResources github_com_gravitational_teleport_api_constants.ShowResources `protobuf:"bytes,2,opt,name=ShowResources,proto3,casttype=github.com/gravitational/teleport/api/constants.ShowResources" json:"show_resources,omitempty"` 13666 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13667 XXX_unrecognized []byte `json:"-"` 13668 XXX_sizecache int32 `json:"-"` 13669 } 13670 13671 func (m *UIConfigSpecV1) Reset() { *m = UIConfigSpecV1{} } 13672 func (m *UIConfigSpecV1) String() string { return proto.CompactTextString(m) } 13673 func (*UIConfigSpecV1) ProtoMessage() {} 13674 func (*UIConfigSpecV1) Descriptor() ([]byte, []int) { 13675 return fileDescriptor_9198ee693835762e, []int{234} 13676 } 13677 func (m *UIConfigSpecV1) XXX_Unmarshal(b []byte) error { 13678 return m.Unmarshal(b) 13679 } 13680 func (m *UIConfigSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13681 if deterministic { 13682 return xxx_messageInfo_UIConfigSpecV1.Marshal(b, m, deterministic) 13683 } else { 13684 b = b[:cap(b)] 13685 n, err := m.MarshalToSizedBuffer(b) 13686 if err != nil { 13687 return nil, err 13688 } 13689 return b[:n], nil 13690 } 13691 } 13692 func (m *UIConfigSpecV1) XXX_Merge(src proto.Message) { 13693 xxx_messageInfo_UIConfigSpecV1.Merge(m, src) 13694 } 13695 func (m *UIConfigSpecV1) XXX_Size() int { 13696 return m.Size() 13697 } 13698 func (m *UIConfigSpecV1) XXX_DiscardUnknown() { 13699 xxx_messageInfo_UIConfigSpecV1.DiscardUnknown(m) 13700 } 13701 13702 var xxx_messageInfo_UIConfigSpecV1 proto.InternalMessageInfo 13703 13704 // InstallerV1 represents an installer script resource. Used to 13705 // provide a script to install teleport on discovered nodes. 13706 type InstallerV1 struct { 13707 // Kind is the resource kind. 13708 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 13709 // SubKind is an optional resource subkind. Currently unused for this resource. 13710 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 13711 // Version is the resource version. 13712 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 13713 // Metadata is the resource metadata. 13714 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 13715 // Spec is the resource spec. 13716 Spec InstallerSpecV1 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 13717 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13718 XXX_unrecognized []byte `json:"-"` 13719 XXX_sizecache int32 `json:"-"` 13720 } 13721 13722 func (m *InstallerV1) Reset() { *m = InstallerV1{} } 13723 func (m *InstallerV1) String() string { return proto.CompactTextString(m) } 13724 func (*InstallerV1) ProtoMessage() {} 13725 func (*InstallerV1) Descriptor() ([]byte, []int) { 13726 return fileDescriptor_9198ee693835762e, []int{235} 13727 } 13728 func (m *InstallerV1) XXX_Unmarshal(b []byte) error { 13729 return m.Unmarshal(b) 13730 } 13731 func (m *InstallerV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13732 if deterministic { 13733 return xxx_messageInfo_InstallerV1.Marshal(b, m, deterministic) 13734 } else { 13735 b = b[:cap(b)] 13736 n, err := m.MarshalToSizedBuffer(b) 13737 if err != nil { 13738 return nil, err 13739 } 13740 return b[:n], nil 13741 } 13742 } 13743 func (m *InstallerV1) XXX_Merge(src proto.Message) { 13744 xxx_messageInfo_InstallerV1.Merge(m, src) 13745 } 13746 func (m *InstallerV1) XXX_Size() int { 13747 return m.Size() 13748 } 13749 func (m *InstallerV1) XXX_DiscardUnknown() { 13750 xxx_messageInfo_InstallerV1.DiscardUnknown(m) 13751 } 13752 13753 var xxx_messageInfo_InstallerV1 proto.InternalMessageInfo 13754 13755 // InstallerSpecV1 is the specification for an Installer 13756 type InstallerSpecV1 struct { 13757 // Script represents the contents of a installer shell script 13758 Script string `protobuf:"bytes,1,opt,name=Script,proto3" json:"script"` 13759 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13760 XXX_unrecognized []byte `json:"-"` 13761 XXX_sizecache int32 `json:"-"` 13762 } 13763 13764 func (m *InstallerSpecV1) Reset() { *m = InstallerSpecV1{} } 13765 func (m *InstallerSpecV1) String() string { return proto.CompactTextString(m) } 13766 func (*InstallerSpecV1) ProtoMessage() {} 13767 func (*InstallerSpecV1) Descriptor() ([]byte, []int) { 13768 return fileDescriptor_9198ee693835762e, []int{236} 13769 } 13770 func (m *InstallerSpecV1) XXX_Unmarshal(b []byte) error { 13771 return m.Unmarshal(b) 13772 } 13773 func (m *InstallerSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13774 if deterministic { 13775 return xxx_messageInfo_InstallerSpecV1.Marshal(b, m, deterministic) 13776 } else { 13777 b = b[:cap(b)] 13778 n, err := m.MarshalToSizedBuffer(b) 13779 if err != nil { 13780 return nil, err 13781 } 13782 return b[:n], nil 13783 } 13784 } 13785 func (m *InstallerSpecV1) XXX_Merge(src proto.Message) { 13786 xxx_messageInfo_InstallerSpecV1.Merge(m, src) 13787 } 13788 func (m *InstallerSpecV1) XXX_Size() int { 13789 return m.Size() 13790 } 13791 func (m *InstallerSpecV1) XXX_DiscardUnknown() { 13792 xxx_messageInfo_InstallerSpecV1.DiscardUnknown(m) 13793 } 13794 13795 var xxx_messageInfo_InstallerSpecV1 proto.InternalMessageInfo 13796 13797 // InstallerV1List represents a list of installer resources. 13798 type InstallerV1List struct { 13799 // Installers is a list of installer resources. 13800 Installers []*InstallerV1 `protobuf:"bytes,1,rep,name=installers,proto3" json:"installers,omitempty"` 13801 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13802 XXX_unrecognized []byte `json:"-"` 13803 XXX_sizecache int32 `json:"-"` 13804 } 13805 13806 func (m *InstallerV1List) Reset() { *m = InstallerV1List{} } 13807 func (m *InstallerV1List) String() string { return proto.CompactTextString(m) } 13808 func (*InstallerV1List) ProtoMessage() {} 13809 func (*InstallerV1List) Descriptor() ([]byte, []int) { 13810 return fileDescriptor_9198ee693835762e, []int{237} 13811 } 13812 func (m *InstallerV1List) XXX_Unmarshal(b []byte) error { 13813 return m.Unmarshal(b) 13814 } 13815 func (m *InstallerV1List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13816 if deterministic { 13817 return xxx_messageInfo_InstallerV1List.Marshal(b, m, deterministic) 13818 } else { 13819 b = b[:cap(b)] 13820 n, err := m.MarshalToSizedBuffer(b) 13821 if err != nil { 13822 return nil, err 13823 } 13824 return b[:n], nil 13825 } 13826 } 13827 func (m *InstallerV1List) XXX_Merge(src proto.Message) { 13828 xxx_messageInfo_InstallerV1List.Merge(m, src) 13829 } 13830 func (m *InstallerV1List) XXX_Size() int { 13831 return m.Size() 13832 } 13833 func (m *InstallerV1List) XXX_DiscardUnknown() { 13834 xxx_messageInfo_InstallerV1List.DiscardUnknown(m) 13835 } 13836 13837 var xxx_messageInfo_InstallerV1List proto.InternalMessageInfo 13838 13839 // SortBy defines a sort criteria. 13840 type SortBy struct { 13841 // IsDesc is a sort direction flag where if true the direction is descending, else ascending. 13842 IsDesc bool `protobuf:"varint,1,opt,name=IsDesc,proto3" json:"is_desc"` 13843 // Field is the name of an objects field to sort by. 13844 Field string `protobuf:"bytes,2,opt,name=Field,proto3" json:"field"` 13845 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13846 XXX_unrecognized []byte `json:"-"` 13847 XXX_sizecache int32 `json:"-"` 13848 } 13849 13850 func (m *SortBy) Reset() { *m = SortBy{} } 13851 func (m *SortBy) String() string { return proto.CompactTextString(m) } 13852 func (*SortBy) ProtoMessage() {} 13853 func (*SortBy) Descriptor() ([]byte, []int) { 13854 return fileDescriptor_9198ee693835762e, []int{238} 13855 } 13856 func (m *SortBy) XXX_Unmarshal(b []byte) error { 13857 return m.Unmarshal(b) 13858 } 13859 func (m *SortBy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13860 if deterministic { 13861 return xxx_messageInfo_SortBy.Marshal(b, m, deterministic) 13862 } else { 13863 b = b[:cap(b)] 13864 n, err := m.MarshalToSizedBuffer(b) 13865 if err != nil { 13866 return nil, err 13867 } 13868 return b[:n], nil 13869 } 13870 } 13871 func (m *SortBy) XXX_Merge(src proto.Message) { 13872 xxx_messageInfo_SortBy.Merge(m, src) 13873 } 13874 func (m *SortBy) XXX_Size() int { 13875 return m.Size() 13876 } 13877 func (m *SortBy) XXX_DiscardUnknown() { 13878 xxx_messageInfo_SortBy.DiscardUnknown(m) 13879 } 13880 13881 var xxx_messageInfo_SortBy proto.InternalMessageInfo 13882 13883 // ConnectionDiagnosticV1 is the result of testing a connection. 13884 // When setting up a new resource in Teleport, it's useful to know if we can connect to it. 13885 // This can be done using the test connection feature. 13886 // The user can then receive the result as feedback using the UI 13887 type ConnectionDiagnosticV1 struct { 13888 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 13889 // Spec is the resource spec. 13890 Spec ConnectionDiagnosticSpecV1 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 13891 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13892 XXX_unrecognized []byte `json:"-"` 13893 XXX_sizecache int32 `json:"-"` 13894 } 13895 13896 func (m *ConnectionDiagnosticV1) Reset() { *m = ConnectionDiagnosticV1{} } 13897 func (m *ConnectionDiagnosticV1) String() string { return proto.CompactTextString(m) } 13898 func (*ConnectionDiagnosticV1) ProtoMessage() {} 13899 func (*ConnectionDiagnosticV1) Descriptor() ([]byte, []int) { 13900 return fileDescriptor_9198ee693835762e, []int{239} 13901 } 13902 func (m *ConnectionDiagnosticV1) XXX_Unmarshal(b []byte) error { 13903 return m.Unmarshal(b) 13904 } 13905 func (m *ConnectionDiagnosticV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13906 if deterministic { 13907 return xxx_messageInfo_ConnectionDiagnosticV1.Marshal(b, m, deterministic) 13908 } else { 13909 b = b[:cap(b)] 13910 n, err := m.MarshalToSizedBuffer(b) 13911 if err != nil { 13912 return nil, err 13913 } 13914 return b[:n], nil 13915 } 13916 } 13917 func (m *ConnectionDiagnosticV1) XXX_Merge(src proto.Message) { 13918 xxx_messageInfo_ConnectionDiagnosticV1.Merge(m, src) 13919 } 13920 func (m *ConnectionDiagnosticV1) XXX_Size() int { 13921 return m.Size() 13922 } 13923 func (m *ConnectionDiagnosticV1) XXX_DiscardUnknown() { 13924 xxx_messageInfo_ConnectionDiagnosticV1.DiscardUnknown(m) 13925 } 13926 13927 var xxx_messageInfo_ConnectionDiagnosticV1 proto.InternalMessageInfo 13928 13929 // ConnectionDiagnosticSpecV1 is the ConnectionDiagnostic Spec. 13930 // It contains the result of testing a connection. 13931 // It has the overall result of the connection and then a list of traces. 13932 // Each trace contains checkpoints of the connection attempt and its result. 13933 type ConnectionDiagnosticSpecV1 struct { 13934 // Success describes whether the connection was a success or a failure. 13935 Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"success"` 13936 // Message may contain some user friendly message to let the user know whether it was 13937 // successful or a failure. 13938 Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"message"` 13939 // Traces contain a list of checkpoints defined by 13940 Traces []*ConnectionDiagnosticTrace `protobuf:"bytes,3,rep,name=Traces,proto3" json:"traces"` 13941 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13942 XXX_unrecognized []byte `json:"-"` 13943 XXX_sizecache int32 `json:"-"` 13944 } 13945 13946 func (m *ConnectionDiagnosticSpecV1) Reset() { *m = ConnectionDiagnosticSpecV1{} } 13947 func (m *ConnectionDiagnosticSpecV1) String() string { return proto.CompactTextString(m) } 13948 func (*ConnectionDiagnosticSpecV1) ProtoMessage() {} 13949 func (*ConnectionDiagnosticSpecV1) Descriptor() ([]byte, []int) { 13950 return fileDescriptor_9198ee693835762e, []int{240} 13951 } 13952 func (m *ConnectionDiagnosticSpecV1) XXX_Unmarshal(b []byte) error { 13953 return m.Unmarshal(b) 13954 } 13955 func (m *ConnectionDiagnosticSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13956 if deterministic { 13957 return xxx_messageInfo_ConnectionDiagnosticSpecV1.Marshal(b, m, deterministic) 13958 } else { 13959 b = b[:cap(b)] 13960 n, err := m.MarshalToSizedBuffer(b) 13961 if err != nil { 13962 return nil, err 13963 } 13964 return b[:n], nil 13965 } 13966 } 13967 func (m *ConnectionDiagnosticSpecV1) XXX_Merge(src proto.Message) { 13968 xxx_messageInfo_ConnectionDiagnosticSpecV1.Merge(m, src) 13969 } 13970 func (m *ConnectionDiagnosticSpecV1) XXX_Size() int { 13971 return m.Size() 13972 } 13973 func (m *ConnectionDiagnosticSpecV1) XXX_DiscardUnknown() { 13974 xxx_messageInfo_ConnectionDiagnosticSpecV1.DiscardUnknown(m) 13975 } 13976 13977 var xxx_messageInfo_ConnectionDiagnosticSpecV1 proto.InternalMessageInfo 13978 13979 // ConnectionDiagnosticTrace describes a trace of a connection diagnostic 13980 type ConnectionDiagnosticTrace struct { 13981 Type ConnectionDiagnosticTrace_TraceType `protobuf:"varint,1,opt,name=Type,proto3,enum=types.ConnectionDiagnosticTrace_TraceType" json:"type"` 13982 Status ConnectionDiagnosticTrace_StatusType `protobuf:"varint,2,opt,name=Status,proto3,enum=types.ConnectionDiagnosticTrace_StatusType" json:"status"` 13983 // Details contains a User friendly message of the check's result. 13984 Details string `protobuf:"bytes,3,opt,name=Details,proto3" json:"details"` 13985 // Error contains the low level error message in case of a failure. 13986 Error string `protobuf:"bytes,4,opt,name=Error,proto3" json:"error"` 13987 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13988 XXX_unrecognized []byte `json:"-"` 13989 XXX_sizecache int32 `json:"-"` 13990 } 13991 13992 func (m *ConnectionDiagnosticTrace) Reset() { *m = ConnectionDiagnosticTrace{} } 13993 func (m *ConnectionDiagnosticTrace) String() string { return proto.CompactTextString(m) } 13994 func (*ConnectionDiagnosticTrace) ProtoMessage() {} 13995 func (*ConnectionDiagnosticTrace) Descriptor() ([]byte, []int) { 13996 return fileDescriptor_9198ee693835762e, []int{241} 13997 } 13998 func (m *ConnectionDiagnosticTrace) XXX_Unmarshal(b []byte) error { 13999 return m.Unmarshal(b) 14000 } 14001 func (m *ConnectionDiagnosticTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14002 if deterministic { 14003 return xxx_messageInfo_ConnectionDiagnosticTrace.Marshal(b, m, deterministic) 14004 } else { 14005 b = b[:cap(b)] 14006 n, err := m.MarshalToSizedBuffer(b) 14007 if err != nil { 14008 return nil, err 14009 } 14010 return b[:n], nil 14011 } 14012 } 14013 func (m *ConnectionDiagnosticTrace) XXX_Merge(src proto.Message) { 14014 xxx_messageInfo_ConnectionDiagnosticTrace.Merge(m, src) 14015 } 14016 func (m *ConnectionDiagnosticTrace) XXX_Size() int { 14017 return m.Size() 14018 } 14019 func (m *ConnectionDiagnosticTrace) XXX_DiscardUnknown() { 14020 xxx_messageInfo_ConnectionDiagnosticTrace.DiscardUnknown(m) 14021 } 14022 14023 var xxx_messageInfo_ConnectionDiagnosticTrace proto.InternalMessageInfo 14024 14025 // DatabaseServiceV1 is the representation of a DatabaseService (agent) process. 14026 type DatabaseServiceV1 struct { 14027 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 14028 // Spec is the resource spec. 14029 Spec DatabaseServiceSpecV1 `protobuf:"bytes,2,opt,name=Spec,proto3" json:"spec"` 14030 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14031 XXX_unrecognized []byte `json:"-"` 14032 XXX_sizecache int32 `json:"-"` 14033 } 14034 14035 func (m *DatabaseServiceV1) Reset() { *m = DatabaseServiceV1{} } 14036 func (m *DatabaseServiceV1) String() string { return proto.CompactTextString(m) } 14037 func (*DatabaseServiceV1) ProtoMessage() {} 14038 func (*DatabaseServiceV1) Descriptor() ([]byte, []int) { 14039 return fileDescriptor_9198ee693835762e, []int{242} 14040 } 14041 func (m *DatabaseServiceV1) XXX_Unmarshal(b []byte) error { 14042 return m.Unmarshal(b) 14043 } 14044 func (m *DatabaseServiceV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14045 if deterministic { 14046 return xxx_messageInfo_DatabaseServiceV1.Marshal(b, m, deterministic) 14047 } else { 14048 b = b[:cap(b)] 14049 n, err := m.MarshalToSizedBuffer(b) 14050 if err != nil { 14051 return nil, err 14052 } 14053 return b[:n], nil 14054 } 14055 } 14056 func (m *DatabaseServiceV1) XXX_Merge(src proto.Message) { 14057 xxx_messageInfo_DatabaseServiceV1.Merge(m, src) 14058 } 14059 func (m *DatabaseServiceV1) XXX_Size() int { 14060 return m.Size() 14061 } 14062 func (m *DatabaseServiceV1) XXX_DiscardUnknown() { 14063 xxx_messageInfo_DatabaseServiceV1.DiscardUnknown(m) 14064 } 14065 14066 var xxx_messageInfo_DatabaseServiceV1 proto.InternalMessageInfo 14067 14068 // DatabaseServiceSpecV1 is the DatabaseService Spec. 14069 type DatabaseServiceSpecV1 struct { 14070 // ResourceMatchers is the configured match for Database resources. 14071 ResourceMatchers []*DatabaseResourceMatcher `protobuf:"bytes,1,rep,name=ResourceMatchers,proto3" json:"resources"` 14072 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14073 XXX_unrecognized []byte `json:"-"` 14074 XXX_sizecache int32 `json:"-"` 14075 } 14076 14077 func (m *DatabaseServiceSpecV1) Reset() { *m = DatabaseServiceSpecV1{} } 14078 func (m *DatabaseServiceSpecV1) String() string { return proto.CompactTextString(m) } 14079 func (*DatabaseServiceSpecV1) ProtoMessage() {} 14080 func (*DatabaseServiceSpecV1) Descriptor() ([]byte, []int) { 14081 return fileDescriptor_9198ee693835762e, []int{243} 14082 } 14083 func (m *DatabaseServiceSpecV1) XXX_Unmarshal(b []byte) error { 14084 return m.Unmarshal(b) 14085 } 14086 func (m *DatabaseServiceSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14087 if deterministic { 14088 return xxx_messageInfo_DatabaseServiceSpecV1.Marshal(b, m, deterministic) 14089 } else { 14090 b = b[:cap(b)] 14091 n, err := m.MarshalToSizedBuffer(b) 14092 if err != nil { 14093 return nil, err 14094 } 14095 return b[:n], nil 14096 } 14097 } 14098 func (m *DatabaseServiceSpecV1) XXX_Merge(src proto.Message) { 14099 xxx_messageInfo_DatabaseServiceSpecV1.Merge(m, src) 14100 } 14101 func (m *DatabaseServiceSpecV1) XXX_Size() int { 14102 return m.Size() 14103 } 14104 func (m *DatabaseServiceSpecV1) XXX_DiscardUnknown() { 14105 xxx_messageInfo_DatabaseServiceSpecV1.DiscardUnknown(m) 14106 } 14107 14108 var xxx_messageInfo_DatabaseServiceSpecV1 proto.InternalMessageInfo 14109 14110 // DatabaseResourceMatcher is a set of properties that is used to match on resources. 14111 type DatabaseResourceMatcher struct { 14112 Labels *Labels `protobuf:"bytes,1,opt,name=Labels,proto3,customtype=Labels" json:"labels"` 14113 AWS ResourceMatcherAWS `protobuf:"bytes,2,opt,name=AWS,proto3" json:"aws"` 14114 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14115 XXX_unrecognized []byte `json:"-"` 14116 XXX_sizecache int32 `json:"-"` 14117 } 14118 14119 func (m *DatabaseResourceMatcher) Reset() { *m = DatabaseResourceMatcher{} } 14120 func (m *DatabaseResourceMatcher) String() string { return proto.CompactTextString(m) } 14121 func (*DatabaseResourceMatcher) ProtoMessage() {} 14122 func (*DatabaseResourceMatcher) Descriptor() ([]byte, []int) { 14123 return fileDescriptor_9198ee693835762e, []int{244} 14124 } 14125 func (m *DatabaseResourceMatcher) XXX_Unmarshal(b []byte) error { 14126 return m.Unmarshal(b) 14127 } 14128 func (m *DatabaseResourceMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14129 if deterministic { 14130 return xxx_messageInfo_DatabaseResourceMatcher.Marshal(b, m, deterministic) 14131 } else { 14132 b = b[:cap(b)] 14133 n, err := m.MarshalToSizedBuffer(b) 14134 if err != nil { 14135 return nil, err 14136 } 14137 return b[:n], nil 14138 } 14139 } 14140 func (m *DatabaseResourceMatcher) XXX_Merge(src proto.Message) { 14141 xxx_messageInfo_DatabaseResourceMatcher.Merge(m, src) 14142 } 14143 func (m *DatabaseResourceMatcher) XXX_Size() int { 14144 return m.Size() 14145 } 14146 func (m *DatabaseResourceMatcher) XXX_DiscardUnknown() { 14147 xxx_messageInfo_DatabaseResourceMatcher.DiscardUnknown(m) 14148 } 14149 14150 var xxx_messageInfo_DatabaseResourceMatcher proto.InternalMessageInfo 14151 14152 // ResourceMatcherAWS contains AWS specific settings for resource matcher. 14153 type ResourceMatcherAWS struct { 14154 // AssumeRoleARN is an optional AWS role ARN to assume when accessing a database. 14155 AssumeRoleARN string `protobuf:"bytes,1,opt,name=AssumeRoleARN,proto3" json:"assume_role_arn,omitempty"` 14156 // ExternalID is an optional AWS external ID used to enable assuming an AWS role across accounts. 14157 ExternalID string `protobuf:"bytes,2,opt,name=ExternalID,proto3" json:"external_id,omitempty"` 14158 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14159 XXX_unrecognized []byte `json:"-"` 14160 XXX_sizecache int32 `json:"-"` 14161 } 14162 14163 func (m *ResourceMatcherAWS) Reset() { *m = ResourceMatcherAWS{} } 14164 func (m *ResourceMatcherAWS) String() string { return proto.CompactTextString(m) } 14165 func (*ResourceMatcherAWS) ProtoMessage() {} 14166 func (*ResourceMatcherAWS) Descriptor() ([]byte, []int) { 14167 return fileDescriptor_9198ee693835762e, []int{245} 14168 } 14169 func (m *ResourceMatcherAWS) XXX_Unmarshal(b []byte) error { 14170 return m.Unmarshal(b) 14171 } 14172 func (m *ResourceMatcherAWS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14173 if deterministic { 14174 return xxx_messageInfo_ResourceMatcherAWS.Marshal(b, m, deterministic) 14175 } else { 14176 b = b[:cap(b)] 14177 n, err := m.MarshalToSizedBuffer(b) 14178 if err != nil { 14179 return nil, err 14180 } 14181 return b[:n], nil 14182 } 14183 } 14184 func (m *ResourceMatcherAWS) XXX_Merge(src proto.Message) { 14185 xxx_messageInfo_ResourceMatcherAWS.Merge(m, src) 14186 } 14187 func (m *ResourceMatcherAWS) XXX_Size() int { 14188 return m.Size() 14189 } 14190 func (m *ResourceMatcherAWS) XXX_DiscardUnknown() { 14191 xxx_messageInfo_ResourceMatcherAWS.DiscardUnknown(m) 14192 } 14193 14194 var xxx_messageInfo_ResourceMatcherAWS proto.InternalMessageInfo 14195 14196 // ClusterAlert is a cluster-level alert message. 14197 type ClusterAlert struct { 14198 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 14199 Spec ClusterAlertSpec `protobuf:"bytes,2,opt,name=Spec,proto3" json:"spec"` 14200 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14201 XXX_unrecognized []byte `json:"-"` 14202 XXX_sizecache int32 `json:"-"` 14203 } 14204 14205 func (m *ClusterAlert) Reset() { *m = ClusterAlert{} } 14206 func (m *ClusterAlert) String() string { return proto.CompactTextString(m) } 14207 func (*ClusterAlert) ProtoMessage() {} 14208 func (*ClusterAlert) Descriptor() ([]byte, []int) { 14209 return fileDescriptor_9198ee693835762e, []int{246} 14210 } 14211 func (m *ClusterAlert) XXX_Unmarshal(b []byte) error { 14212 return m.Unmarshal(b) 14213 } 14214 func (m *ClusterAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14215 if deterministic { 14216 return xxx_messageInfo_ClusterAlert.Marshal(b, m, deterministic) 14217 } else { 14218 b = b[:cap(b)] 14219 n, err := m.MarshalToSizedBuffer(b) 14220 if err != nil { 14221 return nil, err 14222 } 14223 return b[:n], nil 14224 } 14225 } 14226 func (m *ClusterAlert) XXX_Merge(src proto.Message) { 14227 xxx_messageInfo_ClusterAlert.Merge(m, src) 14228 } 14229 func (m *ClusterAlert) XXX_Size() int { 14230 return m.Size() 14231 } 14232 func (m *ClusterAlert) XXX_DiscardUnknown() { 14233 xxx_messageInfo_ClusterAlert.DiscardUnknown(m) 14234 } 14235 14236 var xxx_messageInfo_ClusterAlert proto.InternalMessageInfo 14237 14238 // ClusterAlertSpec is a cluster alert specification. 14239 type ClusterAlertSpec struct { 14240 // Severity represents how problematic/urgent the alert is. 14241 Severity AlertSeverity `protobuf:"varint,1,opt,name=Severity,proto3,enum=types.AlertSeverity" json:"severity"` 14242 // Message is the user-facing message associated with the alert. 14243 Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"message"` 14244 // Created is the time at which the alert was generated. 14245 Created time.Time `protobuf:"bytes,3,opt,name=Created,proto3,stdtime" json:"created,omitempty"` 14246 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14247 XXX_unrecognized []byte `json:"-"` 14248 XXX_sizecache int32 `json:"-"` 14249 } 14250 14251 func (m *ClusterAlertSpec) Reset() { *m = ClusterAlertSpec{} } 14252 func (m *ClusterAlertSpec) String() string { return proto.CompactTextString(m) } 14253 func (*ClusterAlertSpec) ProtoMessage() {} 14254 func (*ClusterAlertSpec) Descriptor() ([]byte, []int) { 14255 return fileDescriptor_9198ee693835762e, []int{247} 14256 } 14257 func (m *ClusterAlertSpec) XXX_Unmarshal(b []byte) error { 14258 return m.Unmarshal(b) 14259 } 14260 func (m *ClusterAlertSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14261 if deterministic { 14262 return xxx_messageInfo_ClusterAlertSpec.Marshal(b, m, deterministic) 14263 } else { 14264 b = b[:cap(b)] 14265 n, err := m.MarshalToSizedBuffer(b) 14266 if err != nil { 14267 return nil, err 14268 } 14269 return b[:n], nil 14270 } 14271 } 14272 func (m *ClusterAlertSpec) XXX_Merge(src proto.Message) { 14273 xxx_messageInfo_ClusterAlertSpec.Merge(m, src) 14274 } 14275 func (m *ClusterAlertSpec) XXX_Size() int { 14276 return m.Size() 14277 } 14278 func (m *ClusterAlertSpec) XXX_DiscardUnknown() { 14279 xxx_messageInfo_ClusterAlertSpec.DiscardUnknown(m) 14280 } 14281 14282 var xxx_messageInfo_ClusterAlertSpec proto.InternalMessageInfo 14283 14284 // GetClusterAlertsRequest matches cluster alerts. 14285 type GetClusterAlertsRequest struct { 14286 // Severity is an optional minimum severity. 14287 Severity AlertSeverity `protobuf:"varint,1,opt,name=Severity,proto3,enum=types.AlertSeverity" json:"Severity,omitempty"` 14288 // AlertID optionally specifies the ID of the alert being requested. 14289 AlertID string `protobuf:"bytes,2,opt,name=AlertID,proto3" json:"AlertID,omitempty"` 14290 // Labels is an optional label selector. 14291 Labels map[string]string `protobuf:"bytes,3,rep,name=Labels,proto3" json:"Labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 14292 // WithSuperseded includes superseded alerts in the output of the request. 14293 WithSuperseded bool `protobuf:"varint,4,opt,name=WithSuperseded,proto3" json:"WithSuperseded,omitempty"` 14294 // WithAcknowledged includes acknowledged alerts in the output of the request. 14295 WithAcknowledged bool `protobuf:"varint,5,opt,name=WithAcknowledged,proto3" json:"WithAcknowledged,omitempty"` 14296 // WithUntargeted requests that alerts be included even if they are not specifically 14297 // targeted toward the caller. This has no effect unless the caller has `cluster_alert:list`. 14298 WithUntargeted bool `protobuf:"varint,6,opt,name=WithUntargeted,proto3" json:"WithUntargeted,omitempty"` 14299 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14300 XXX_unrecognized []byte `json:"-"` 14301 XXX_sizecache int32 `json:"-"` 14302 } 14303 14304 func (m *GetClusterAlertsRequest) Reset() { *m = GetClusterAlertsRequest{} } 14305 func (m *GetClusterAlertsRequest) String() string { return proto.CompactTextString(m) } 14306 func (*GetClusterAlertsRequest) ProtoMessage() {} 14307 func (*GetClusterAlertsRequest) Descriptor() ([]byte, []int) { 14308 return fileDescriptor_9198ee693835762e, []int{248} 14309 } 14310 func (m *GetClusterAlertsRequest) XXX_Unmarshal(b []byte) error { 14311 return m.Unmarshal(b) 14312 } 14313 func (m *GetClusterAlertsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14314 if deterministic { 14315 return xxx_messageInfo_GetClusterAlertsRequest.Marshal(b, m, deterministic) 14316 } else { 14317 b = b[:cap(b)] 14318 n, err := m.MarshalToSizedBuffer(b) 14319 if err != nil { 14320 return nil, err 14321 } 14322 return b[:n], nil 14323 } 14324 } 14325 func (m *GetClusterAlertsRequest) XXX_Merge(src proto.Message) { 14326 xxx_messageInfo_GetClusterAlertsRequest.Merge(m, src) 14327 } 14328 func (m *GetClusterAlertsRequest) XXX_Size() int { 14329 return m.Size() 14330 } 14331 func (m *GetClusterAlertsRequest) XXX_DiscardUnknown() { 14332 xxx_messageInfo_GetClusterAlertsRequest.DiscardUnknown(m) 14333 } 14334 14335 var xxx_messageInfo_GetClusterAlertsRequest proto.InternalMessageInfo 14336 14337 // AlertAcknowledgement marks a cluster alert as having been "acknowledged". 14338 // This causes the alert to no longer be displayed in 'tsh login', UI banners, 14339 // etc. Acknowledgements must have an expiry and a message describing why the 14340 // alert can be considered acknowledged. 14341 type AlertAcknowledgement struct { 14342 // AlertID is the ID of the alert being acknowledged. 14343 AlertID string `protobuf:"bytes,1,opt,name=AlertID,proto3" json:"alert_id,omitempty"` 14344 // Reason describes the reason why the alert can be considered 14345 // acknowledged (e.g. 'alice will fix next week'). 14346 Reason string `protobuf:"bytes,2,opt,name=Reason,proto3" json:"reason,omitempty"` 14347 // Expires is the time after which the acknowledgement expires. 14348 Expires time.Time `protobuf:"bytes,4,opt,name=Expires,proto3,stdtime" json:"expires,omitempty"` 14349 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14350 XXX_unrecognized []byte `json:"-"` 14351 XXX_sizecache int32 `json:"-"` 14352 } 14353 14354 func (m *AlertAcknowledgement) Reset() { *m = AlertAcknowledgement{} } 14355 func (m *AlertAcknowledgement) String() string { return proto.CompactTextString(m) } 14356 func (*AlertAcknowledgement) ProtoMessage() {} 14357 func (*AlertAcknowledgement) Descriptor() ([]byte, []int) { 14358 return fileDescriptor_9198ee693835762e, []int{249} 14359 } 14360 func (m *AlertAcknowledgement) XXX_Unmarshal(b []byte) error { 14361 return m.Unmarshal(b) 14362 } 14363 func (m *AlertAcknowledgement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14364 if deterministic { 14365 return xxx_messageInfo_AlertAcknowledgement.Marshal(b, m, deterministic) 14366 } else { 14367 b = b[:cap(b)] 14368 n, err := m.MarshalToSizedBuffer(b) 14369 if err != nil { 14370 return nil, err 14371 } 14372 return b[:n], nil 14373 } 14374 } 14375 func (m *AlertAcknowledgement) XXX_Merge(src proto.Message) { 14376 xxx_messageInfo_AlertAcknowledgement.Merge(m, src) 14377 } 14378 func (m *AlertAcknowledgement) XXX_Size() int { 14379 return m.Size() 14380 } 14381 func (m *AlertAcknowledgement) XXX_DiscardUnknown() { 14382 xxx_messageInfo_AlertAcknowledgement.DiscardUnknown(m) 14383 } 14384 14385 var xxx_messageInfo_AlertAcknowledgement proto.InternalMessageInfo 14386 14387 // Release correspond to a Teleport Enterprise releases 14388 type Release struct { 14389 // NotesMD is the notes of the release in markdown 14390 NotesMD string `protobuf:"bytes,1,opt,name=NotesMD,proto3" json:"notes_md"` 14391 // Product is the release product, teleport or teleport-ent 14392 Product string `protobuf:"bytes,2,opt,name=Product,proto3" json:"product"` 14393 // ReleaseID is the ID of the product 14394 ReleaseID string `protobuf:"bytes,3,opt,name=ReleaseID,proto3" json:"release_id"` 14395 // Status is the status of the release 14396 Status string `protobuf:"bytes,4,opt,name=Status,proto3" json:"status"` 14397 // Version is the version of the release 14398 Version string `protobuf:"bytes,5,opt,name=Version,proto3" json:"version"` 14399 // Assets is a list of assets related to the release 14400 Assets []*Asset `protobuf:"bytes,6,rep,name=Assets,proto3" json:"assets"` 14401 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14402 XXX_unrecognized []byte `json:"-"` 14403 XXX_sizecache int32 `json:"-"` 14404 } 14405 14406 func (m *Release) Reset() { *m = Release{} } 14407 func (m *Release) String() string { return proto.CompactTextString(m) } 14408 func (*Release) ProtoMessage() {} 14409 func (*Release) Descriptor() ([]byte, []int) { 14410 return fileDescriptor_9198ee693835762e, []int{250} 14411 } 14412 func (m *Release) XXX_Unmarshal(b []byte) error { 14413 return m.Unmarshal(b) 14414 } 14415 func (m *Release) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14416 if deterministic { 14417 return xxx_messageInfo_Release.Marshal(b, m, deterministic) 14418 } else { 14419 b = b[:cap(b)] 14420 n, err := m.MarshalToSizedBuffer(b) 14421 if err != nil { 14422 return nil, err 14423 } 14424 return b[:n], nil 14425 } 14426 } 14427 func (m *Release) XXX_Merge(src proto.Message) { 14428 xxx_messageInfo_Release.Merge(m, src) 14429 } 14430 func (m *Release) XXX_Size() int { 14431 return m.Size() 14432 } 14433 func (m *Release) XXX_DiscardUnknown() { 14434 xxx_messageInfo_Release.DiscardUnknown(m) 14435 } 14436 14437 var xxx_messageInfo_Release proto.InternalMessageInfo 14438 14439 // Asset represents a release asset 14440 type Asset struct { 14441 // Arch is the architecture of the asset 14442 Arch string `protobuf:"bytes,1,opt,name=Arch,proto3" json:"arch"` 14443 // Description is the description of the asset 14444 Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"description"` 14445 // Name is the name of the asset 14446 Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"name"` 14447 // OS is which OS the asset is built for 14448 OS string `protobuf:"bytes,4,opt,name=OS,proto3" json:"os"` 14449 // SHA256 is the sha256 of the asset 14450 SHA256 string `protobuf:"bytes,5,opt,name=SHA256,proto3" json:"sha256"` 14451 // Size is the size of the release in bytes 14452 AssetSize int64 `protobuf:"varint,6,opt,name=AssetSize,proto3" json:"asset_size"` 14453 // DisplaySize is the human-readable size of the asset 14454 DisplaySize string `protobuf:"bytes,7,opt,name=DisplaySize,proto3" json:"display_size"` 14455 // ReleaseIDs is a list of releases that have the asset included 14456 ReleaseIDs []string `protobuf:"bytes,8,rep,name=ReleaseIDs,proto3" json:"release_ids"` 14457 // PublicURL is the public URL used to download the asset 14458 PublicURL string `protobuf:"bytes,9,opt,name=PublicURL,proto3" json:"public_url"` 14459 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14460 XXX_unrecognized []byte `json:"-"` 14461 XXX_sizecache int32 `json:"-"` 14462 } 14463 14464 func (m *Asset) Reset() { *m = Asset{} } 14465 func (m *Asset) String() string { return proto.CompactTextString(m) } 14466 func (*Asset) ProtoMessage() {} 14467 func (*Asset) Descriptor() ([]byte, []int) { 14468 return fileDescriptor_9198ee693835762e, []int{251} 14469 } 14470 func (m *Asset) XXX_Unmarshal(b []byte) error { 14471 return m.Unmarshal(b) 14472 } 14473 func (m *Asset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14474 if deterministic { 14475 return xxx_messageInfo_Asset.Marshal(b, m, deterministic) 14476 } else { 14477 b = b[:cap(b)] 14478 n, err := m.MarshalToSizedBuffer(b) 14479 if err != nil { 14480 return nil, err 14481 } 14482 return b[:n], nil 14483 } 14484 } 14485 func (m *Asset) XXX_Merge(src proto.Message) { 14486 xxx_messageInfo_Asset.Merge(m, src) 14487 } 14488 func (m *Asset) XXX_Size() int { 14489 return m.Size() 14490 } 14491 func (m *Asset) XXX_DiscardUnknown() { 14492 xxx_messageInfo_Asset.DiscardUnknown(m) 14493 } 14494 14495 var xxx_messageInfo_Asset proto.InternalMessageInfo 14496 14497 // Plugin describes a single instance of a Teleport Plugin 14498 type PluginV1 struct { 14499 // kind is the plugin resource kind. 14500 Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` 14501 // sub_kind is an optional resource subkind. 14502 SubKind string `protobuf:"bytes,2,opt,name=sub_kind,json=subKind,proto3" json:"sub_kind,omitempty"` 14503 // version is the resource version. 14504 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` 14505 // metadata is the resource metadata. 14506 Metadata Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata"` 14507 Spec PluginSpecV1 `protobuf:"bytes,5,opt,name=spec,proto3" json:"spec"` 14508 Status PluginStatusV1 `protobuf:"bytes,6,opt,name=status,proto3" json:"status"` 14509 // credentials are "live" credentials to the 3rd party API. 14510 // These are considered secrets. 14511 Credentials *PluginCredentialsV1 `protobuf:"bytes,7,opt,name=credentials,proto3" json:"credentials,omitempty"` 14512 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14513 XXX_unrecognized []byte `json:"-"` 14514 XXX_sizecache int32 `json:"-"` 14515 } 14516 14517 func (m *PluginV1) Reset() { *m = PluginV1{} } 14518 func (m *PluginV1) String() string { return proto.CompactTextString(m) } 14519 func (*PluginV1) ProtoMessage() {} 14520 func (*PluginV1) Descriptor() ([]byte, []int) { 14521 return fileDescriptor_9198ee693835762e, []int{252} 14522 } 14523 func (m *PluginV1) XXX_Unmarshal(b []byte) error { 14524 return m.Unmarshal(b) 14525 } 14526 func (m *PluginV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14527 if deterministic { 14528 return xxx_messageInfo_PluginV1.Marshal(b, m, deterministic) 14529 } else { 14530 b = b[:cap(b)] 14531 n, err := m.MarshalToSizedBuffer(b) 14532 if err != nil { 14533 return nil, err 14534 } 14535 return b[:n], nil 14536 } 14537 } 14538 func (m *PluginV1) XXX_Merge(src proto.Message) { 14539 xxx_messageInfo_PluginV1.Merge(m, src) 14540 } 14541 func (m *PluginV1) XXX_Size() int { 14542 return m.Size() 14543 } 14544 func (m *PluginV1) XXX_DiscardUnknown() { 14545 xxx_messageInfo_PluginV1.DiscardUnknown(m) 14546 } 14547 14548 var xxx_messageInfo_PluginV1 proto.InternalMessageInfo 14549 14550 type PluginSpecV1 struct { 14551 // settings contain provider-specific plugin options. 14552 // 14553 // Types that are valid to be assigned to Settings: 14554 // 14555 // *PluginSpecV1_SlackAccessPlugin 14556 // *PluginSpecV1_Opsgenie 14557 // *PluginSpecV1_Openai 14558 // *PluginSpecV1_Okta 14559 // *PluginSpecV1_Jamf 14560 // *PluginSpecV1_PagerDuty 14561 // *PluginSpecV1_Mattermost 14562 // *PluginSpecV1_Jira 14563 // *PluginSpecV1_Discord 14564 // *PluginSpecV1_ServiceNow 14565 // *PluginSpecV1_Gitlab 14566 // *PluginSpecV1_EntraId 14567 Settings isPluginSpecV1_Settings `protobuf_oneof:"settings"` 14568 // generation contains a unique ID that should: 14569 // - Be created by the backend on plugin creation. 14570 // - Be updated by the backend if the plugin is updated in any way. 14571 // 14572 // For older plugins, it's possible for this to be empty. 14573 Generation string `protobuf:"bytes,11,opt,name=generation,proto3" json:"generation,omitempty"` 14574 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14575 XXX_unrecognized []byte `json:"-"` 14576 XXX_sizecache int32 `json:"-"` 14577 } 14578 14579 func (m *PluginSpecV1) Reset() { *m = PluginSpecV1{} } 14580 func (m *PluginSpecV1) String() string { return proto.CompactTextString(m) } 14581 func (*PluginSpecV1) ProtoMessage() {} 14582 func (*PluginSpecV1) Descriptor() ([]byte, []int) { 14583 return fileDescriptor_9198ee693835762e, []int{253} 14584 } 14585 func (m *PluginSpecV1) XXX_Unmarshal(b []byte) error { 14586 return m.Unmarshal(b) 14587 } 14588 func (m *PluginSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14589 if deterministic { 14590 return xxx_messageInfo_PluginSpecV1.Marshal(b, m, deterministic) 14591 } else { 14592 b = b[:cap(b)] 14593 n, err := m.MarshalToSizedBuffer(b) 14594 if err != nil { 14595 return nil, err 14596 } 14597 return b[:n], nil 14598 } 14599 } 14600 func (m *PluginSpecV1) XXX_Merge(src proto.Message) { 14601 xxx_messageInfo_PluginSpecV1.Merge(m, src) 14602 } 14603 func (m *PluginSpecV1) XXX_Size() int { 14604 return m.Size() 14605 } 14606 func (m *PluginSpecV1) XXX_DiscardUnknown() { 14607 xxx_messageInfo_PluginSpecV1.DiscardUnknown(m) 14608 } 14609 14610 var xxx_messageInfo_PluginSpecV1 proto.InternalMessageInfo 14611 14612 type isPluginSpecV1_Settings interface { 14613 isPluginSpecV1_Settings() 14614 Equal(interface{}) bool 14615 MarshalTo([]byte) (int, error) 14616 Size() int 14617 } 14618 14619 type PluginSpecV1_SlackAccessPlugin struct { 14620 SlackAccessPlugin *PluginSlackAccessSettings `protobuf:"bytes,1,opt,name=slack_access_plugin,json=slackAccessPlugin,proto3,oneof" json:"slack_access_plugin,omitempty"` 14621 } 14622 type PluginSpecV1_Opsgenie struct { 14623 Opsgenie *PluginOpsgenieAccessSettings `protobuf:"bytes,2,opt,name=opsgenie,proto3,oneof" json:"opsgenie,omitempty"` 14624 } 14625 type PluginSpecV1_Openai struct { 14626 Openai *PluginOpenAISettings `protobuf:"bytes,3,opt,name=openai,proto3,oneof" json:"openai,omitempty"` 14627 } 14628 type PluginSpecV1_Okta struct { 14629 Okta *PluginOktaSettings `protobuf:"bytes,4,opt,name=okta,proto3,oneof" json:"okta,omitempty"` 14630 } 14631 type PluginSpecV1_Jamf struct { 14632 Jamf *PluginJamfSettings `protobuf:"bytes,5,opt,name=jamf,proto3,oneof" json:"jamf,omitempty"` 14633 } 14634 type PluginSpecV1_PagerDuty struct { 14635 PagerDuty *PluginPagerDutySettings `protobuf:"bytes,6,opt,name=pager_duty,json=pagerDuty,proto3,oneof" json:"pager_duty,omitempty"` 14636 } 14637 type PluginSpecV1_Mattermost struct { 14638 Mattermost *PluginMattermostSettings `protobuf:"bytes,7,opt,name=mattermost,proto3,oneof" json:"mattermost,omitempty"` 14639 } 14640 type PluginSpecV1_Jira struct { 14641 Jira *PluginJiraSettings `protobuf:"bytes,8,opt,name=jira,proto3,oneof" json:"jira,omitempty"` 14642 } 14643 type PluginSpecV1_Discord struct { 14644 Discord *PluginDiscordSettings `protobuf:"bytes,9,opt,name=discord,proto3,oneof" json:"discord,omitempty"` 14645 } 14646 type PluginSpecV1_ServiceNow struct { 14647 ServiceNow *PluginServiceNowSettings `protobuf:"bytes,10,opt,name=serviceNow,proto3,oneof" json:"serviceNow,omitempty"` 14648 } 14649 type PluginSpecV1_Gitlab struct { 14650 Gitlab *PluginGitlabSettings `protobuf:"bytes,12,opt,name=gitlab,proto3,oneof" json:"gitlab,omitempty"` 14651 } 14652 type PluginSpecV1_EntraId struct { 14653 EntraId *PluginEntraIDSettings `protobuf:"bytes,13,opt,name=entra_id,json=entraId,proto3,oneof" json:"entra_id,omitempty"` 14654 } 14655 14656 func (*PluginSpecV1_SlackAccessPlugin) isPluginSpecV1_Settings() {} 14657 func (*PluginSpecV1_Opsgenie) isPluginSpecV1_Settings() {} 14658 func (*PluginSpecV1_Openai) isPluginSpecV1_Settings() {} 14659 func (*PluginSpecV1_Okta) isPluginSpecV1_Settings() {} 14660 func (*PluginSpecV1_Jamf) isPluginSpecV1_Settings() {} 14661 func (*PluginSpecV1_PagerDuty) isPluginSpecV1_Settings() {} 14662 func (*PluginSpecV1_Mattermost) isPluginSpecV1_Settings() {} 14663 func (*PluginSpecV1_Jira) isPluginSpecV1_Settings() {} 14664 func (*PluginSpecV1_Discord) isPluginSpecV1_Settings() {} 14665 func (*PluginSpecV1_ServiceNow) isPluginSpecV1_Settings() {} 14666 func (*PluginSpecV1_Gitlab) isPluginSpecV1_Settings() {} 14667 func (*PluginSpecV1_EntraId) isPluginSpecV1_Settings() {} 14668 14669 func (m *PluginSpecV1) GetSettings() isPluginSpecV1_Settings { 14670 if m != nil { 14671 return m.Settings 14672 } 14673 return nil 14674 } 14675 14676 func (m *PluginSpecV1) GetSlackAccessPlugin() *PluginSlackAccessSettings { 14677 if x, ok := m.GetSettings().(*PluginSpecV1_SlackAccessPlugin); ok { 14678 return x.SlackAccessPlugin 14679 } 14680 return nil 14681 } 14682 14683 func (m *PluginSpecV1) GetOpsgenie() *PluginOpsgenieAccessSettings { 14684 if x, ok := m.GetSettings().(*PluginSpecV1_Opsgenie); ok { 14685 return x.Opsgenie 14686 } 14687 return nil 14688 } 14689 14690 func (m *PluginSpecV1) GetOpenai() *PluginOpenAISettings { 14691 if x, ok := m.GetSettings().(*PluginSpecV1_Openai); ok { 14692 return x.Openai 14693 } 14694 return nil 14695 } 14696 14697 func (m *PluginSpecV1) GetOkta() *PluginOktaSettings { 14698 if x, ok := m.GetSettings().(*PluginSpecV1_Okta); ok { 14699 return x.Okta 14700 } 14701 return nil 14702 } 14703 14704 func (m *PluginSpecV1) GetJamf() *PluginJamfSettings { 14705 if x, ok := m.GetSettings().(*PluginSpecV1_Jamf); ok { 14706 return x.Jamf 14707 } 14708 return nil 14709 } 14710 14711 func (m *PluginSpecV1) GetPagerDuty() *PluginPagerDutySettings { 14712 if x, ok := m.GetSettings().(*PluginSpecV1_PagerDuty); ok { 14713 return x.PagerDuty 14714 } 14715 return nil 14716 } 14717 14718 func (m *PluginSpecV1) GetMattermost() *PluginMattermostSettings { 14719 if x, ok := m.GetSettings().(*PluginSpecV1_Mattermost); ok { 14720 return x.Mattermost 14721 } 14722 return nil 14723 } 14724 14725 func (m *PluginSpecV1) GetJira() *PluginJiraSettings { 14726 if x, ok := m.GetSettings().(*PluginSpecV1_Jira); ok { 14727 return x.Jira 14728 } 14729 return nil 14730 } 14731 14732 func (m *PluginSpecV1) GetDiscord() *PluginDiscordSettings { 14733 if x, ok := m.GetSettings().(*PluginSpecV1_Discord); ok { 14734 return x.Discord 14735 } 14736 return nil 14737 } 14738 14739 func (m *PluginSpecV1) GetServiceNow() *PluginServiceNowSettings { 14740 if x, ok := m.GetSettings().(*PluginSpecV1_ServiceNow); ok { 14741 return x.ServiceNow 14742 } 14743 return nil 14744 } 14745 14746 func (m *PluginSpecV1) GetGitlab() *PluginGitlabSettings { 14747 if x, ok := m.GetSettings().(*PluginSpecV1_Gitlab); ok { 14748 return x.Gitlab 14749 } 14750 return nil 14751 } 14752 14753 func (m *PluginSpecV1) GetEntraId() *PluginEntraIDSettings { 14754 if x, ok := m.GetSettings().(*PluginSpecV1_EntraId); ok { 14755 return x.EntraId 14756 } 14757 return nil 14758 } 14759 14760 // XXX_OneofWrappers is for the internal use of the proto package. 14761 func (*PluginSpecV1) XXX_OneofWrappers() []interface{} { 14762 return []interface{}{ 14763 (*PluginSpecV1_SlackAccessPlugin)(nil), 14764 (*PluginSpecV1_Opsgenie)(nil), 14765 (*PluginSpecV1_Openai)(nil), 14766 (*PluginSpecV1_Okta)(nil), 14767 (*PluginSpecV1_Jamf)(nil), 14768 (*PluginSpecV1_PagerDuty)(nil), 14769 (*PluginSpecV1_Mattermost)(nil), 14770 (*PluginSpecV1_Jira)(nil), 14771 (*PluginSpecV1_Discord)(nil), 14772 (*PluginSpecV1_ServiceNow)(nil), 14773 (*PluginSpecV1_Gitlab)(nil), 14774 (*PluginSpecV1_EntraId)(nil), 14775 } 14776 } 14777 14778 type PluginSlackAccessSettings struct { 14779 FallbackChannel string `protobuf:"bytes,1,opt,name=fallback_channel,json=fallbackChannel,proto3" json:"fallback_channel,omitempty"` 14780 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14781 XXX_unrecognized []byte `json:"-"` 14782 XXX_sizecache int32 `json:"-"` 14783 } 14784 14785 func (m *PluginSlackAccessSettings) Reset() { *m = PluginSlackAccessSettings{} } 14786 func (m *PluginSlackAccessSettings) String() string { return proto.CompactTextString(m) } 14787 func (*PluginSlackAccessSettings) ProtoMessage() {} 14788 func (*PluginSlackAccessSettings) Descriptor() ([]byte, []int) { 14789 return fileDescriptor_9198ee693835762e, []int{254} 14790 } 14791 func (m *PluginSlackAccessSettings) XXX_Unmarshal(b []byte) error { 14792 return m.Unmarshal(b) 14793 } 14794 func (m *PluginSlackAccessSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14795 if deterministic { 14796 return xxx_messageInfo_PluginSlackAccessSettings.Marshal(b, m, deterministic) 14797 } else { 14798 b = b[:cap(b)] 14799 n, err := m.MarshalToSizedBuffer(b) 14800 if err != nil { 14801 return nil, err 14802 } 14803 return b[:n], nil 14804 } 14805 } 14806 func (m *PluginSlackAccessSettings) XXX_Merge(src proto.Message) { 14807 xxx_messageInfo_PluginSlackAccessSettings.Merge(m, src) 14808 } 14809 func (m *PluginSlackAccessSettings) XXX_Size() int { 14810 return m.Size() 14811 } 14812 func (m *PluginSlackAccessSettings) XXX_DiscardUnknown() { 14813 xxx_messageInfo_PluginSlackAccessSettings.DiscardUnknown(m) 14814 } 14815 14816 var xxx_messageInfo_PluginSlackAccessSettings proto.InternalMessageInfo 14817 14818 type PluginGitlabSettings struct { 14819 // APIEndpoint is the address of Gitlab API. 14820 ApiEndpoint string `protobuf:"bytes,1,opt,name=api_endpoint,json=apiEndpoint,proto3" json:"api_endpoint,omitempty"` 14821 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14822 XXX_unrecognized []byte `json:"-"` 14823 XXX_sizecache int32 `json:"-"` 14824 } 14825 14826 func (m *PluginGitlabSettings) Reset() { *m = PluginGitlabSettings{} } 14827 func (m *PluginGitlabSettings) String() string { return proto.CompactTextString(m) } 14828 func (*PluginGitlabSettings) ProtoMessage() {} 14829 func (*PluginGitlabSettings) Descriptor() ([]byte, []int) { 14830 return fileDescriptor_9198ee693835762e, []int{255} 14831 } 14832 func (m *PluginGitlabSettings) XXX_Unmarshal(b []byte) error { 14833 return m.Unmarshal(b) 14834 } 14835 func (m *PluginGitlabSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14836 if deterministic { 14837 return xxx_messageInfo_PluginGitlabSettings.Marshal(b, m, deterministic) 14838 } else { 14839 b = b[:cap(b)] 14840 n, err := m.MarshalToSizedBuffer(b) 14841 if err != nil { 14842 return nil, err 14843 } 14844 return b[:n], nil 14845 } 14846 } 14847 func (m *PluginGitlabSettings) XXX_Merge(src proto.Message) { 14848 xxx_messageInfo_PluginGitlabSettings.Merge(m, src) 14849 } 14850 func (m *PluginGitlabSettings) XXX_Size() int { 14851 return m.Size() 14852 } 14853 func (m *PluginGitlabSettings) XXX_DiscardUnknown() { 14854 xxx_messageInfo_PluginGitlabSettings.DiscardUnknown(m) 14855 } 14856 14857 var xxx_messageInfo_PluginGitlabSettings proto.InternalMessageInfo 14858 14859 type PluginOpsgenieAccessSettings struct { 14860 // Priority to create Opsgenie alerts with 14861 Priority string `protobuf:"bytes,2,opt,name=priority,proto3" json:"priority,omitempty"` 14862 // List of tags to be added to alerts created in Opsgenie 14863 AlertTags []string `protobuf:"bytes,3,rep,name=alert_tags,json=alertTags,proto3" json:"alert_tags,omitempty"` 14864 // Default on-call schedules to check if none are provided in the access request annotations 14865 DefaultSchedules []string `protobuf:"bytes,4,rep,name=default_schedules,json=defaultSchedules,proto3" json:"default_schedules,omitempty"` 14866 // APIEndpoint is the address of Opsgenie API. 14867 ApiEndpoint string `protobuf:"bytes,5,opt,name=api_endpoint,json=apiEndpoint,proto3" json:"api_endpoint,omitempty"` 14868 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14869 XXX_unrecognized []byte `json:"-"` 14870 XXX_sizecache int32 `json:"-"` 14871 } 14872 14873 func (m *PluginOpsgenieAccessSettings) Reset() { *m = PluginOpsgenieAccessSettings{} } 14874 func (m *PluginOpsgenieAccessSettings) String() string { return proto.CompactTextString(m) } 14875 func (*PluginOpsgenieAccessSettings) ProtoMessage() {} 14876 func (*PluginOpsgenieAccessSettings) Descriptor() ([]byte, []int) { 14877 return fileDescriptor_9198ee693835762e, []int{256} 14878 } 14879 func (m *PluginOpsgenieAccessSettings) XXX_Unmarshal(b []byte) error { 14880 return m.Unmarshal(b) 14881 } 14882 func (m *PluginOpsgenieAccessSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14883 if deterministic { 14884 return xxx_messageInfo_PluginOpsgenieAccessSettings.Marshal(b, m, deterministic) 14885 } else { 14886 b = b[:cap(b)] 14887 n, err := m.MarshalToSizedBuffer(b) 14888 if err != nil { 14889 return nil, err 14890 } 14891 return b[:n], nil 14892 } 14893 } 14894 func (m *PluginOpsgenieAccessSettings) XXX_Merge(src proto.Message) { 14895 xxx_messageInfo_PluginOpsgenieAccessSettings.Merge(m, src) 14896 } 14897 func (m *PluginOpsgenieAccessSettings) XXX_Size() int { 14898 return m.Size() 14899 } 14900 func (m *PluginOpsgenieAccessSettings) XXX_DiscardUnknown() { 14901 xxx_messageInfo_PluginOpsgenieAccessSettings.DiscardUnknown(m) 14902 } 14903 14904 var xxx_messageInfo_PluginOpsgenieAccessSettings proto.InternalMessageInfo 14905 14906 // PluginServiceNowSettings are the settings for the serviceNow plugin 14907 type PluginServiceNowSettings struct { 14908 // ApiEndpoint is the ServiceNow API endpoint. 14909 ApiEndpoint string `protobuf:"bytes,1,opt,name=api_endpoint,json=apiEndpoint,proto3" json:"api_endpoint,omitempty"` 14910 // Username is the ServiceNow API username. 14911 Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` 14912 // Password is the ServiceNow API password. 14913 Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` 14914 // CloseCode is the close code that ServiceNow incidents will use. 14915 CloseCode string `protobuf:"bytes,4,opt,name=close_code,json=closeCode,proto3" json:"close_code,omitempty"` 14916 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14917 XXX_unrecognized []byte `json:"-"` 14918 XXX_sizecache int32 `json:"-"` 14919 } 14920 14921 func (m *PluginServiceNowSettings) Reset() { *m = PluginServiceNowSettings{} } 14922 func (m *PluginServiceNowSettings) String() string { return proto.CompactTextString(m) } 14923 func (*PluginServiceNowSettings) ProtoMessage() {} 14924 func (*PluginServiceNowSettings) Descriptor() ([]byte, []int) { 14925 return fileDescriptor_9198ee693835762e, []int{257} 14926 } 14927 func (m *PluginServiceNowSettings) XXX_Unmarshal(b []byte) error { 14928 return m.Unmarshal(b) 14929 } 14930 func (m *PluginServiceNowSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14931 if deterministic { 14932 return xxx_messageInfo_PluginServiceNowSettings.Marshal(b, m, deterministic) 14933 } else { 14934 b = b[:cap(b)] 14935 n, err := m.MarshalToSizedBuffer(b) 14936 if err != nil { 14937 return nil, err 14938 } 14939 return b[:n], nil 14940 } 14941 } 14942 func (m *PluginServiceNowSettings) XXX_Merge(src proto.Message) { 14943 xxx_messageInfo_PluginServiceNowSettings.Merge(m, src) 14944 } 14945 func (m *PluginServiceNowSettings) XXX_Size() int { 14946 return m.Size() 14947 } 14948 func (m *PluginServiceNowSettings) XXX_DiscardUnknown() { 14949 xxx_messageInfo_PluginServiceNowSettings.DiscardUnknown(m) 14950 } 14951 14952 var xxx_messageInfo_PluginServiceNowSettings proto.InternalMessageInfo 14953 14954 type PluginPagerDutySettings struct { 14955 // UserEmail is the email address of the PagerDuty user that will be 14956 // listed as the reporter source of incidents, comments, etc 14957 // within PagerDuty. Should usually be the same user the API key 14958 // represents. 14959 UserEmail string `protobuf:"bytes,1,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` 14960 // APIEndpoint is the address of PagerDuty API. 14961 ApiEndpoint string `protobuf:"bytes,2,opt,name=api_endpoint,json=apiEndpoint,proto3" json:"api_endpoint,omitempty"` 14962 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14963 XXX_unrecognized []byte `json:"-"` 14964 XXX_sizecache int32 `json:"-"` 14965 } 14966 14967 func (m *PluginPagerDutySettings) Reset() { *m = PluginPagerDutySettings{} } 14968 func (m *PluginPagerDutySettings) String() string { return proto.CompactTextString(m) } 14969 func (*PluginPagerDutySettings) ProtoMessage() {} 14970 func (*PluginPagerDutySettings) Descriptor() ([]byte, []int) { 14971 return fileDescriptor_9198ee693835762e, []int{258} 14972 } 14973 func (m *PluginPagerDutySettings) XXX_Unmarshal(b []byte) error { 14974 return m.Unmarshal(b) 14975 } 14976 func (m *PluginPagerDutySettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14977 if deterministic { 14978 return xxx_messageInfo_PluginPagerDutySettings.Marshal(b, m, deterministic) 14979 } else { 14980 b = b[:cap(b)] 14981 n, err := m.MarshalToSizedBuffer(b) 14982 if err != nil { 14983 return nil, err 14984 } 14985 return b[:n], nil 14986 } 14987 } 14988 func (m *PluginPagerDutySettings) XXX_Merge(src proto.Message) { 14989 xxx_messageInfo_PluginPagerDutySettings.Merge(m, src) 14990 } 14991 func (m *PluginPagerDutySettings) XXX_Size() int { 14992 return m.Size() 14993 } 14994 func (m *PluginPagerDutySettings) XXX_DiscardUnknown() { 14995 xxx_messageInfo_PluginPagerDutySettings.DiscardUnknown(m) 14996 } 14997 14998 var xxx_messageInfo_PluginPagerDutySettings proto.InternalMessageInfo 14999 15000 type PluginJiraSettings struct { 15001 // ServerURL is the address of the target JIRA Server instance. 15002 ServerUrl string `protobuf:"bytes,1,opt,name=server_url,json=serverUrl,proto3" json:"server_url,omitempty"` 15003 // ProjectKey is the key of the Jira project that will receive 15004 // notifications and issues from the plugin. 15005 ProjectKey string `protobuf:"bytes,2,opt,name=project_key,json=projectKey,proto3" json:"project_key,omitempty"` 15006 // IssueType is the type of Jira Issue that the plugin will create 15007 IssueType string `protobuf:"bytes,3,opt,name=issue_type,json=issueType,proto3" json:"issue_type,omitempty"` 15008 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15009 XXX_unrecognized []byte `json:"-"` 15010 XXX_sizecache int32 `json:"-"` 15011 } 15012 15013 func (m *PluginJiraSettings) Reset() { *m = PluginJiraSettings{} } 15014 func (m *PluginJiraSettings) String() string { return proto.CompactTextString(m) } 15015 func (*PluginJiraSettings) ProtoMessage() {} 15016 func (*PluginJiraSettings) Descriptor() ([]byte, []int) { 15017 return fileDescriptor_9198ee693835762e, []int{259} 15018 } 15019 func (m *PluginJiraSettings) XXX_Unmarshal(b []byte) error { 15020 return m.Unmarshal(b) 15021 } 15022 func (m *PluginJiraSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15023 if deterministic { 15024 return xxx_messageInfo_PluginJiraSettings.Marshal(b, m, deterministic) 15025 } else { 15026 b = b[:cap(b)] 15027 n, err := m.MarshalToSizedBuffer(b) 15028 if err != nil { 15029 return nil, err 15030 } 15031 return b[:n], nil 15032 } 15033 } 15034 func (m *PluginJiraSettings) XXX_Merge(src proto.Message) { 15035 xxx_messageInfo_PluginJiraSettings.Merge(m, src) 15036 } 15037 func (m *PluginJiraSettings) XXX_Size() int { 15038 return m.Size() 15039 } 15040 func (m *PluginJiraSettings) XXX_DiscardUnknown() { 15041 xxx_messageInfo_PluginJiraSettings.DiscardUnknown(m) 15042 } 15043 15044 var xxx_messageInfo_PluginJiraSettings proto.InternalMessageInfo 15045 15046 // Defines settings for the OpenAI plugin. Currently there are no settings. 15047 type PluginOpenAISettings struct { 15048 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15049 XXX_unrecognized []byte `json:"-"` 15050 XXX_sizecache int32 `json:"-"` 15051 } 15052 15053 func (m *PluginOpenAISettings) Reset() { *m = PluginOpenAISettings{} } 15054 func (m *PluginOpenAISettings) String() string { return proto.CompactTextString(m) } 15055 func (*PluginOpenAISettings) ProtoMessage() {} 15056 func (*PluginOpenAISettings) Descriptor() ([]byte, []int) { 15057 return fileDescriptor_9198ee693835762e, []int{260} 15058 } 15059 func (m *PluginOpenAISettings) XXX_Unmarshal(b []byte) error { 15060 return m.Unmarshal(b) 15061 } 15062 func (m *PluginOpenAISettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15063 if deterministic { 15064 return xxx_messageInfo_PluginOpenAISettings.Marshal(b, m, deterministic) 15065 } else { 15066 b = b[:cap(b)] 15067 n, err := m.MarshalToSizedBuffer(b) 15068 if err != nil { 15069 return nil, err 15070 } 15071 return b[:n], nil 15072 } 15073 } 15074 func (m *PluginOpenAISettings) XXX_Merge(src proto.Message) { 15075 xxx_messageInfo_PluginOpenAISettings.Merge(m, src) 15076 } 15077 func (m *PluginOpenAISettings) XXX_Size() int { 15078 return m.Size() 15079 } 15080 func (m *PluginOpenAISettings) XXX_DiscardUnknown() { 15081 xxx_messageInfo_PluginOpenAISettings.DiscardUnknown(m) 15082 } 15083 15084 var xxx_messageInfo_PluginOpenAISettings proto.InternalMessageInfo 15085 15086 // Defines settings for the Mattermost plugin. 15087 type PluginMattermostSettings struct { 15088 // serverURL is the URL to access Mattermost. 15089 ServerUrl string `protobuf:"bytes,1,opt,name=server_url,json=serverUrl,proto3" json:"server_url,omitempty"` 15090 // team is the Mattermost workspace. 15091 Team string `protobuf:"bytes,2,opt,name=team,proto3" json:"team,omitempty"` 15092 // channel is the Mattermost channel in the workspace 15093 // (team) to send notifications to. 15094 Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"` 15095 // report_to_email is an optional email address of a Mattermost user 15096 // to notify via a direct message when the plugin receives an 15097 // Access Request event. 15098 ReportToEmail string `protobuf:"bytes,4,opt,name=report_to_email,json=reportToEmail,proto3" json:"report_to_email,omitempty"` 15099 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15100 XXX_unrecognized []byte `json:"-"` 15101 XXX_sizecache int32 `json:"-"` 15102 } 15103 15104 func (m *PluginMattermostSettings) Reset() { *m = PluginMattermostSettings{} } 15105 func (m *PluginMattermostSettings) String() string { return proto.CompactTextString(m) } 15106 func (*PluginMattermostSettings) ProtoMessage() {} 15107 func (*PluginMattermostSettings) Descriptor() ([]byte, []int) { 15108 return fileDescriptor_9198ee693835762e, []int{261} 15109 } 15110 func (m *PluginMattermostSettings) XXX_Unmarshal(b []byte) error { 15111 return m.Unmarshal(b) 15112 } 15113 func (m *PluginMattermostSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15114 if deterministic { 15115 return xxx_messageInfo_PluginMattermostSettings.Marshal(b, m, deterministic) 15116 } else { 15117 b = b[:cap(b)] 15118 n, err := m.MarshalToSizedBuffer(b) 15119 if err != nil { 15120 return nil, err 15121 } 15122 return b[:n], nil 15123 } 15124 } 15125 func (m *PluginMattermostSettings) XXX_Merge(src proto.Message) { 15126 xxx_messageInfo_PluginMattermostSettings.Merge(m, src) 15127 } 15128 func (m *PluginMattermostSettings) XXX_Size() int { 15129 return m.Size() 15130 } 15131 func (m *PluginMattermostSettings) XXX_DiscardUnknown() { 15132 xxx_messageInfo_PluginMattermostSettings.DiscardUnknown(m) 15133 } 15134 15135 var xxx_messageInfo_PluginMattermostSettings proto.InternalMessageInfo 15136 15137 // Defines settings for Jamf plugin. 15138 type PluginJamfSettings struct { 15139 // Jamf service spec 15140 JamfSpec *JamfSpecV1 `protobuf:"bytes,1,opt,name=jamf_spec,json=jamfSpec,proto3" json:"jamf_spec,omitempty"` 15141 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15142 XXX_unrecognized []byte `json:"-"` 15143 XXX_sizecache int32 `json:"-"` 15144 } 15145 15146 func (m *PluginJamfSettings) Reset() { *m = PluginJamfSettings{} } 15147 func (m *PluginJamfSettings) String() string { return proto.CompactTextString(m) } 15148 func (*PluginJamfSettings) ProtoMessage() {} 15149 func (*PluginJamfSettings) Descriptor() ([]byte, []int) { 15150 return fileDescriptor_9198ee693835762e, []int{262} 15151 } 15152 func (m *PluginJamfSettings) XXX_Unmarshal(b []byte) error { 15153 return m.Unmarshal(b) 15154 } 15155 func (m *PluginJamfSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15156 if deterministic { 15157 return xxx_messageInfo_PluginJamfSettings.Marshal(b, m, deterministic) 15158 } else { 15159 b = b[:cap(b)] 15160 n, err := m.MarshalToSizedBuffer(b) 15161 if err != nil { 15162 return nil, err 15163 } 15164 return b[:n], nil 15165 } 15166 } 15167 func (m *PluginJamfSettings) XXX_Merge(src proto.Message) { 15168 xxx_messageInfo_PluginJamfSettings.Merge(m, src) 15169 } 15170 func (m *PluginJamfSettings) XXX_Size() int { 15171 return m.Size() 15172 } 15173 func (m *PluginJamfSettings) XXX_DiscardUnknown() { 15174 xxx_messageInfo_PluginJamfSettings.DiscardUnknown(m) 15175 } 15176 15177 var xxx_messageInfo_PluginJamfSettings proto.InternalMessageInfo 15178 15179 // Defines settings for the Okta plugin. 15180 type PluginOktaSettings struct { 15181 // OrgUrl is the Okta organization URL to use for API communication. 15182 OrgUrl string `protobuf:"bytes,1,opt,name=org_url,json=orgUrl,proto3" json:"org_url,omitempty"` 15183 // EnableUserSync controls the user sync in the Okta integration service. Deprecated. 15184 // TODO(mdwn): Remove once e changes have been made. 15185 EnableUserSync bool `protobuf:"varint,2,opt,name=enable_user_sync,json=enableUserSync,proto3" json:"enable_user_sync,omitempty"` 15186 // SSOConnectorID (deprecated) 15187 // TODO(mdwn): Remove once e changes have been made. 15188 SsoConnectorId string `protobuf:"bytes,3,opt,name=sso_connector_id,json=ssoConnectorId,proto3" json:"sso_connector_id,omitempty"` 15189 // Sync settings controls the user and access list sync settings for Okta. 15190 SyncSettings *PluginOktaSyncSettings `protobuf:"bytes,4,opt,name=sync_settings,json=syncSettings,proto3" json:"sync_settings,omitempty"` 15191 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15192 XXX_unrecognized []byte `json:"-"` 15193 XXX_sizecache int32 `json:"-"` 15194 } 15195 15196 func (m *PluginOktaSettings) Reset() { *m = PluginOktaSettings{} } 15197 func (m *PluginOktaSettings) String() string { return proto.CompactTextString(m) } 15198 func (*PluginOktaSettings) ProtoMessage() {} 15199 func (*PluginOktaSettings) Descriptor() ([]byte, []int) { 15200 return fileDescriptor_9198ee693835762e, []int{263} 15201 } 15202 func (m *PluginOktaSettings) XXX_Unmarshal(b []byte) error { 15203 return m.Unmarshal(b) 15204 } 15205 func (m *PluginOktaSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15206 if deterministic { 15207 return xxx_messageInfo_PluginOktaSettings.Marshal(b, m, deterministic) 15208 } else { 15209 b = b[:cap(b)] 15210 n, err := m.MarshalToSizedBuffer(b) 15211 if err != nil { 15212 return nil, err 15213 } 15214 return b[:n], nil 15215 } 15216 } 15217 func (m *PluginOktaSettings) XXX_Merge(src proto.Message) { 15218 xxx_messageInfo_PluginOktaSettings.Merge(m, src) 15219 } 15220 func (m *PluginOktaSettings) XXX_Size() int { 15221 return m.Size() 15222 } 15223 func (m *PluginOktaSettings) XXX_DiscardUnknown() { 15224 xxx_messageInfo_PluginOktaSettings.DiscardUnknown(m) 15225 } 15226 15227 var xxx_messageInfo_PluginOktaSettings proto.InternalMessageInfo 15228 15229 // Defines settings for syncing users and access lists from Okta. 15230 type PluginOktaSyncSettings struct { 15231 // SyncUsers controls the user sync in the Okta integration service. 15232 SyncUsers bool `protobuf:"varint,1,opt,name=sync_users,json=syncUsers,proto3" json:"sync_users,omitempty"` 15233 // SSOConnectorID is the name of the Teleport SSO connector created and used by the Okta plugin 15234 SsoConnectorId string `protobuf:"bytes,2,opt,name=sso_connector_id,json=ssoConnectorId,proto3" json:"sso_connector_id,omitempty"` 15235 // SyncAccessLists controls the access list sync in the Okta integration service. 15236 SyncAccessLists bool `protobuf:"varint,3,opt,name=sync_access_lists,json=syncAccessLists,proto3" json:"sync_access_lists,omitempty"` 15237 // DefaultOwners are the default owners for all imported access lists. 15238 DefaultOwners []string `protobuf:"bytes,4,rep,name=default_owners,json=defaultOwners,proto3" json:"default_owners,omitempty"` 15239 // AppID is the Okta-assigned ID of the Okta App that Teleport uses as a 15240 // gateway to interact with Okta for SAML login, SCIM provisioning and user 15241 // sync. When set, user sync will pull users from the assignment list for this 15242 // app. When empty the plugin will fall back to the legacy behaviour of syncing 15243 // users from the entre organization. 15244 AppId string `protobuf:"bytes,5,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` 15245 // GroupFilters are filters for which Okta groups to synchronize as access lists. 15246 // Filters can be globs, for example: 15247 // 15248 // group* 15249 // *service* 15250 // 15251 // Or regexes if they're prefixed and suffixed with ^ and $, for example: 15252 // 15253 // ^group.*$ 15254 // ^.*service.*$ 15255 GroupFilters []string `protobuf:"bytes,6,rep,name=group_filters,json=groupFilters,proto3" json:"group_filters,omitempty"` 15256 // AppFilters are filters for which Okta applications to synchronize as access lists. 15257 // Filters can be globs, for example: 15258 // 15259 // app* 15260 // *service* 15261 // 15262 // Or regexes if they're prefixed and suffixed with ^ and $, for example: 15263 // 15264 // ^app.*$ 15265 // ^.*service.*$ 15266 AppFilters []string `protobuf:"bytes,7,rep,name=app_filters,json=appFilters,proto3" json:"app_filters,omitempty"` 15267 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15268 XXX_unrecognized []byte `json:"-"` 15269 XXX_sizecache int32 `json:"-"` 15270 } 15271 15272 func (m *PluginOktaSyncSettings) Reset() { *m = PluginOktaSyncSettings{} } 15273 func (m *PluginOktaSyncSettings) String() string { return proto.CompactTextString(m) } 15274 func (*PluginOktaSyncSettings) ProtoMessage() {} 15275 func (*PluginOktaSyncSettings) Descriptor() ([]byte, []int) { 15276 return fileDescriptor_9198ee693835762e, []int{264} 15277 } 15278 func (m *PluginOktaSyncSettings) XXX_Unmarshal(b []byte) error { 15279 return m.Unmarshal(b) 15280 } 15281 func (m *PluginOktaSyncSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15282 if deterministic { 15283 return xxx_messageInfo_PluginOktaSyncSettings.Marshal(b, m, deterministic) 15284 } else { 15285 b = b[:cap(b)] 15286 n, err := m.MarshalToSizedBuffer(b) 15287 if err != nil { 15288 return nil, err 15289 } 15290 return b[:n], nil 15291 } 15292 } 15293 func (m *PluginOktaSyncSettings) XXX_Merge(src proto.Message) { 15294 xxx_messageInfo_PluginOktaSyncSettings.Merge(m, src) 15295 } 15296 func (m *PluginOktaSyncSettings) XXX_Size() int { 15297 return m.Size() 15298 } 15299 func (m *PluginOktaSyncSettings) XXX_DiscardUnknown() { 15300 xxx_messageInfo_PluginOktaSyncSettings.DiscardUnknown(m) 15301 } 15302 15303 var xxx_messageInfo_PluginOktaSyncSettings proto.InternalMessageInfo 15304 15305 // Defines a set of discord channel IDs 15306 type DiscordChannels struct { 15307 ChannelIds []string `protobuf:"bytes,1,rep,name=channel_ids,json=channelIds,proto3" json:"channel_ids,omitempty"` 15308 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15309 XXX_unrecognized []byte `json:"-"` 15310 XXX_sizecache int32 `json:"-"` 15311 } 15312 15313 func (m *DiscordChannels) Reset() { *m = DiscordChannels{} } 15314 func (m *DiscordChannels) String() string { return proto.CompactTextString(m) } 15315 func (*DiscordChannels) ProtoMessage() {} 15316 func (*DiscordChannels) Descriptor() ([]byte, []int) { 15317 return fileDescriptor_9198ee693835762e, []int{265} 15318 } 15319 func (m *DiscordChannels) XXX_Unmarshal(b []byte) error { 15320 return m.Unmarshal(b) 15321 } 15322 func (m *DiscordChannels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15323 if deterministic { 15324 return xxx_messageInfo_DiscordChannels.Marshal(b, m, deterministic) 15325 } else { 15326 b = b[:cap(b)] 15327 n, err := m.MarshalToSizedBuffer(b) 15328 if err != nil { 15329 return nil, err 15330 } 15331 return b[:n], nil 15332 } 15333 } 15334 func (m *DiscordChannels) XXX_Merge(src proto.Message) { 15335 xxx_messageInfo_DiscordChannels.Merge(m, src) 15336 } 15337 func (m *DiscordChannels) XXX_Size() int { 15338 return m.Size() 15339 } 15340 func (m *DiscordChannels) XXX_DiscardUnknown() { 15341 xxx_messageInfo_DiscordChannels.DiscardUnknown(m) 15342 } 15343 15344 var xxx_messageInfo_DiscordChannels proto.InternalMessageInfo 15345 15346 // Defines settings for the discord plugin 15347 type PluginDiscordSettings struct { 15348 // RoleToRecipients maps Teleport roles (by name) to the set of Discord 15349 // channel IDs that will receive notifications and requests regarding that 15350 // that Role. 15351 RoleToRecipients map[string]*DiscordChannels `protobuf:"bytes,1,rep,name=role_to_recipients,json=roleToRecipients,proto3" json:"role_to_recipients,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 15352 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15353 XXX_unrecognized []byte `json:"-"` 15354 XXX_sizecache int32 `json:"-"` 15355 } 15356 15357 func (m *PluginDiscordSettings) Reset() { *m = PluginDiscordSettings{} } 15358 func (m *PluginDiscordSettings) String() string { return proto.CompactTextString(m) } 15359 func (*PluginDiscordSettings) ProtoMessage() {} 15360 func (*PluginDiscordSettings) Descriptor() ([]byte, []int) { 15361 return fileDescriptor_9198ee693835762e, []int{266} 15362 } 15363 func (m *PluginDiscordSettings) XXX_Unmarshal(b []byte) error { 15364 return m.Unmarshal(b) 15365 } 15366 func (m *PluginDiscordSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15367 if deterministic { 15368 return xxx_messageInfo_PluginDiscordSettings.Marshal(b, m, deterministic) 15369 } else { 15370 b = b[:cap(b)] 15371 n, err := m.MarshalToSizedBuffer(b) 15372 if err != nil { 15373 return nil, err 15374 } 15375 return b[:n], nil 15376 } 15377 } 15378 func (m *PluginDiscordSettings) XXX_Merge(src proto.Message) { 15379 xxx_messageInfo_PluginDiscordSettings.Merge(m, src) 15380 } 15381 func (m *PluginDiscordSettings) XXX_Size() int { 15382 return m.Size() 15383 } 15384 func (m *PluginDiscordSettings) XXX_DiscardUnknown() { 15385 xxx_messageInfo_PluginDiscordSettings.DiscardUnknown(m) 15386 } 15387 15388 var xxx_messageInfo_PluginDiscordSettings proto.InternalMessageInfo 15389 15390 // PluginEntraIDSettings defines settings for the Entra ID sync plugin 15391 type PluginEntraIDSettings struct { 15392 // SyncSettings controls the user and access list sync settings for EntraID. 15393 SyncSettings *PluginEntraIDSyncSettings `protobuf:"bytes,1,opt,name=sync_settings,json=syncSettings,proto3" json:"sync_settings,omitempty"` 15394 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15395 XXX_unrecognized []byte `json:"-"` 15396 XXX_sizecache int32 `json:"-"` 15397 } 15398 15399 func (m *PluginEntraIDSettings) Reset() { *m = PluginEntraIDSettings{} } 15400 func (m *PluginEntraIDSettings) String() string { return proto.CompactTextString(m) } 15401 func (*PluginEntraIDSettings) ProtoMessage() {} 15402 func (*PluginEntraIDSettings) Descriptor() ([]byte, []int) { 15403 return fileDescriptor_9198ee693835762e, []int{267} 15404 } 15405 func (m *PluginEntraIDSettings) XXX_Unmarshal(b []byte) error { 15406 return m.Unmarshal(b) 15407 } 15408 func (m *PluginEntraIDSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15409 if deterministic { 15410 return xxx_messageInfo_PluginEntraIDSettings.Marshal(b, m, deterministic) 15411 } else { 15412 b = b[:cap(b)] 15413 n, err := m.MarshalToSizedBuffer(b) 15414 if err != nil { 15415 return nil, err 15416 } 15417 return b[:n], nil 15418 } 15419 } 15420 func (m *PluginEntraIDSettings) XXX_Merge(src proto.Message) { 15421 xxx_messageInfo_PluginEntraIDSettings.Merge(m, src) 15422 } 15423 func (m *PluginEntraIDSettings) XXX_Size() int { 15424 return m.Size() 15425 } 15426 func (m *PluginEntraIDSettings) XXX_DiscardUnknown() { 15427 xxx_messageInfo_PluginEntraIDSettings.DiscardUnknown(m) 15428 } 15429 15430 var xxx_messageInfo_PluginEntraIDSettings proto.InternalMessageInfo 15431 15432 // Defines settings for syncing users and access lists from Entra ID. 15433 type PluginEntraIDSyncSettings struct { 15434 // DefaultOwners are the default owners for all imported access lists. 15435 DefaultOwners []string `protobuf:"bytes,1,rep,name=default_owners,json=defaultOwners,proto3" json:"default_owners,omitempty"` 15436 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15437 XXX_unrecognized []byte `json:"-"` 15438 XXX_sizecache int32 `json:"-"` 15439 } 15440 15441 func (m *PluginEntraIDSyncSettings) Reset() { *m = PluginEntraIDSyncSettings{} } 15442 func (m *PluginEntraIDSyncSettings) String() string { return proto.CompactTextString(m) } 15443 func (*PluginEntraIDSyncSettings) ProtoMessage() {} 15444 func (*PluginEntraIDSyncSettings) Descriptor() ([]byte, []int) { 15445 return fileDescriptor_9198ee693835762e, []int{268} 15446 } 15447 func (m *PluginEntraIDSyncSettings) XXX_Unmarshal(b []byte) error { 15448 return m.Unmarshal(b) 15449 } 15450 func (m *PluginEntraIDSyncSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15451 if deterministic { 15452 return xxx_messageInfo_PluginEntraIDSyncSettings.Marshal(b, m, deterministic) 15453 } else { 15454 b = b[:cap(b)] 15455 n, err := m.MarshalToSizedBuffer(b) 15456 if err != nil { 15457 return nil, err 15458 } 15459 return b[:n], nil 15460 } 15461 } 15462 func (m *PluginEntraIDSyncSettings) XXX_Merge(src proto.Message) { 15463 xxx_messageInfo_PluginEntraIDSyncSettings.Merge(m, src) 15464 } 15465 func (m *PluginEntraIDSyncSettings) XXX_Size() int { 15466 return m.Size() 15467 } 15468 func (m *PluginEntraIDSyncSettings) XXX_DiscardUnknown() { 15469 xxx_messageInfo_PluginEntraIDSyncSettings.DiscardUnknown(m) 15470 } 15471 15472 var xxx_messageInfo_PluginEntraIDSyncSettings proto.InternalMessageInfo 15473 15474 type PluginBootstrapCredentialsV1 struct { 15475 // Types that are valid to be assigned to Credentials: 15476 // 15477 // *PluginBootstrapCredentialsV1_Oauth2AuthorizationCode 15478 // *PluginBootstrapCredentialsV1_BearerToken 15479 // *PluginBootstrapCredentialsV1_IdSecret 15480 Credentials isPluginBootstrapCredentialsV1_Credentials `protobuf_oneof:"credentials"` 15481 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15482 XXX_unrecognized []byte `json:"-"` 15483 XXX_sizecache int32 `json:"-"` 15484 } 15485 15486 func (m *PluginBootstrapCredentialsV1) Reset() { *m = PluginBootstrapCredentialsV1{} } 15487 func (m *PluginBootstrapCredentialsV1) String() string { return proto.CompactTextString(m) } 15488 func (*PluginBootstrapCredentialsV1) ProtoMessage() {} 15489 func (*PluginBootstrapCredentialsV1) Descriptor() ([]byte, []int) { 15490 return fileDescriptor_9198ee693835762e, []int{269} 15491 } 15492 func (m *PluginBootstrapCredentialsV1) XXX_Unmarshal(b []byte) error { 15493 return m.Unmarshal(b) 15494 } 15495 func (m *PluginBootstrapCredentialsV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15496 if deterministic { 15497 return xxx_messageInfo_PluginBootstrapCredentialsV1.Marshal(b, m, deterministic) 15498 } else { 15499 b = b[:cap(b)] 15500 n, err := m.MarshalToSizedBuffer(b) 15501 if err != nil { 15502 return nil, err 15503 } 15504 return b[:n], nil 15505 } 15506 } 15507 func (m *PluginBootstrapCredentialsV1) XXX_Merge(src proto.Message) { 15508 xxx_messageInfo_PluginBootstrapCredentialsV1.Merge(m, src) 15509 } 15510 func (m *PluginBootstrapCredentialsV1) XXX_Size() int { 15511 return m.Size() 15512 } 15513 func (m *PluginBootstrapCredentialsV1) XXX_DiscardUnknown() { 15514 xxx_messageInfo_PluginBootstrapCredentialsV1.DiscardUnknown(m) 15515 } 15516 15517 var xxx_messageInfo_PluginBootstrapCredentialsV1 proto.InternalMessageInfo 15518 15519 type isPluginBootstrapCredentialsV1_Credentials interface { 15520 isPluginBootstrapCredentialsV1_Credentials() 15521 MarshalTo([]byte) (int, error) 15522 Size() int 15523 } 15524 15525 type PluginBootstrapCredentialsV1_Oauth2AuthorizationCode struct { 15526 Oauth2AuthorizationCode *PluginOAuth2AuthorizationCodeCredentials `protobuf:"bytes,1,opt,name=oauth2_authorization_code,json=oauth2AuthorizationCode,proto3,oneof" json:"oauth2_authorization_code,omitempty"` 15527 } 15528 type PluginBootstrapCredentialsV1_BearerToken struct { 15529 BearerToken *PluginBearerTokenCredentials `protobuf:"bytes,2,opt,name=bearer_token,json=bearerToken,proto3,oneof" json:"bearer_token,omitempty"` 15530 } 15531 type PluginBootstrapCredentialsV1_IdSecret struct { 15532 IdSecret *PluginIdSecretCredential `protobuf:"bytes,3,opt,name=id_secret,json=idSecret,proto3,oneof" json:"id_secret,omitempty"` 15533 } 15534 15535 func (*PluginBootstrapCredentialsV1_Oauth2AuthorizationCode) isPluginBootstrapCredentialsV1_Credentials() { 15536 } 15537 func (*PluginBootstrapCredentialsV1_BearerToken) isPluginBootstrapCredentialsV1_Credentials() {} 15538 func (*PluginBootstrapCredentialsV1_IdSecret) isPluginBootstrapCredentialsV1_Credentials() {} 15539 15540 func (m *PluginBootstrapCredentialsV1) GetCredentials() isPluginBootstrapCredentialsV1_Credentials { 15541 if m != nil { 15542 return m.Credentials 15543 } 15544 return nil 15545 } 15546 15547 func (m *PluginBootstrapCredentialsV1) GetOauth2AuthorizationCode() *PluginOAuth2AuthorizationCodeCredentials { 15548 if x, ok := m.GetCredentials().(*PluginBootstrapCredentialsV1_Oauth2AuthorizationCode); ok { 15549 return x.Oauth2AuthorizationCode 15550 } 15551 return nil 15552 } 15553 15554 func (m *PluginBootstrapCredentialsV1) GetBearerToken() *PluginBearerTokenCredentials { 15555 if x, ok := m.GetCredentials().(*PluginBootstrapCredentialsV1_BearerToken); ok { 15556 return x.BearerToken 15557 } 15558 return nil 15559 } 15560 15561 func (m *PluginBootstrapCredentialsV1) GetIdSecret() *PluginIdSecretCredential { 15562 if x, ok := m.GetCredentials().(*PluginBootstrapCredentialsV1_IdSecret); ok { 15563 return x.IdSecret 15564 } 15565 return nil 15566 } 15567 15568 // XXX_OneofWrappers is for the internal use of the proto package. 15569 func (*PluginBootstrapCredentialsV1) XXX_OneofWrappers() []interface{} { 15570 return []interface{}{ 15571 (*PluginBootstrapCredentialsV1_Oauth2AuthorizationCode)(nil), 15572 (*PluginBootstrapCredentialsV1_BearerToken)(nil), 15573 (*PluginBootstrapCredentialsV1_IdSecret)(nil), 15574 } 15575 } 15576 15577 // PluginIdSecretCredential can be OAuth2-like client_id and client_secret or username and password. 15578 type PluginIdSecretCredential struct { 15579 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 15580 Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` 15581 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15582 XXX_unrecognized []byte `json:"-"` 15583 XXX_sizecache int32 `json:"-"` 15584 } 15585 15586 func (m *PluginIdSecretCredential) Reset() { *m = PluginIdSecretCredential{} } 15587 func (m *PluginIdSecretCredential) String() string { return proto.CompactTextString(m) } 15588 func (*PluginIdSecretCredential) ProtoMessage() {} 15589 func (*PluginIdSecretCredential) Descriptor() ([]byte, []int) { 15590 return fileDescriptor_9198ee693835762e, []int{270} 15591 } 15592 func (m *PluginIdSecretCredential) XXX_Unmarshal(b []byte) error { 15593 return m.Unmarshal(b) 15594 } 15595 func (m *PluginIdSecretCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15596 if deterministic { 15597 return xxx_messageInfo_PluginIdSecretCredential.Marshal(b, m, deterministic) 15598 } else { 15599 b = b[:cap(b)] 15600 n, err := m.MarshalToSizedBuffer(b) 15601 if err != nil { 15602 return nil, err 15603 } 15604 return b[:n], nil 15605 } 15606 } 15607 func (m *PluginIdSecretCredential) XXX_Merge(src proto.Message) { 15608 xxx_messageInfo_PluginIdSecretCredential.Merge(m, src) 15609 } 15610 func (m *PluginIdSecretCredential) XXX_Size() int { 15611 return m.Size() 15612 } 15613 func (m *PluginIdSecretCredential) XXX_DiscardUnknown() { 15614 xxx_messageInfo_PluginIdSecretCredential.DiscardUnknown(m) 15615 } 15616 15617 var xxx_messageInfo_PluginIdSecretCredential proto.InternalMessageInfo 15618 15619 type PluginOAuth2AuthorizationCodeCredentials struct { 15620 AuthorizationCode string `protobuf:"bytes,1,opt,name=authorization_code,json=authorizationCode,proto3" json:"authorization_code,omitempty"` 15621 RedirectUri string `protobuf:"bytes,2,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"` 15622 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15623 XXX_unrecognized []byte `json:"-"` 15624 XXX_sizecache int32 `json:"-"` 15625 } 15626 15627 func (m *PluginOAuth2AuthorizationCodeCredentials) Reset() { 15628 *m = PluginOAuth2AuthorizationCodeCredentials{} 15629 } 15630 func (m *PluginOAuth2AuthorizationCodeCredentials) String() string { return proto.CompactTextString(m) } 15631 func (*PluginOAuth2AuthorizationCodeCredentials) ProtoMessage() {} 15632 func (*PluginOAuth2AuthorizationCodeCredentials) Descriptor() ([]byte, []int) { 15633 return fileDescriptor_9198ee693835762e, []int{271} 15634 } 15635 func (m *PluginOAuth2AuthorizationCodeCredentials) XXX_Unmarshal(b []byte) error { 15636 return m.Unmarshal(b) 15637 } 15638 func (m *PluginOAuth2AuthorizationCodeCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15639 if deterministic { 15640 return xxx_messageInfo_PluginOAuth2AuthorizationCodeCredentials.Marshal(b, m, deterministic) 15641 } else { 15642 b = b[:cap(b)] 15643 n, err := m.MarshalToSizedBuffer(b) 15644 if err != nil { 15645 return nil, err 15646 } 15647 return b[:n], nil 15648 } 15649 } 15650 func (m *PluginOAuth2AuthorizationCodeCredentials) XXX_Merge(src proto.Message) { 15651 xxx_messageInfo_PluginOAuth2AuthorizationCodeCredentials.Merge(m, src) 15652 } 15653 func (m *PluginOAuth2AuthorizationCodeCredentials) XXX_Size() int { 15654 return m.Size() 15655 } 15656 func (m *PluginOAuth2AuthorizationCodeCredentials) XXX_DiscardUnknown() { 15657 xxx_messageInfo_PluginOAuth2AuthorizationCodeCredentials.DiscardUnknown(m) 15658 } 15659 15660 var xxx_messageInfo_PluginOAuth2AuthorizationCodeCredentials proto.InternalMessageInfo 15661 15662 // PluginStatus is the user-facing status for the plugin instance. 15663 type PluginStatusV1 struct { 15664 Code PluginStatusCode `protobuf:"varint,1,opt,name=code,proto3,enum=types.PluginStatusCode" json:"code,omitempty"` 15665 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15666 XXX_unrecognized []byte `json:"-"` 15667 XXX_sizecache int32 `json:"-"` 15668 } 15669 15670 func (m *PluginStatusV1) Reset() { *m = PluginStatusV1{} } 15671 func (m *PluginStatusV1) String() string { return proto.CompactTextString(m) } 15672 func (*PluginStatusV1) ProtoMessage() {} 15673 func (*PluginStatusV1) Descriptor() ([]byte, []int) { 15674 return fileDescriptor_9198ee693835762e, []int{272} 15675 } 15676 func (m *PluginStatusV1) XXX_Unmarshal(b []byte) error { 15677 return m.Unmarshal(b) 15678 } 15679 func (m *PluginStatusV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15680 if deterministic { 15681 return xxx_messageInfo_PluginStatusV1.Marshal(b, m, deterministic) 15682 } else { 15683 b = b[:cap(b)] 15684 n, err := m.MarshalToSizedBuffer(b) 15685 if err != nil { 15686 return nil, err 15687 } 15688 return b[:n], nil 15689 } 15690 } 15691 func (m *PluginStatusV1) XXX_Merge(src proto.Message) { 15692 xxx_messageInfo_PluginStatusV1.Merge(m, src) 15693 } 15694 func (m *PluginStatusV1) XXX_Size() int { 15695 return m.Size() 15696 } 15697 func (m *PluginStatusV1) XXX_DiscardUnknown() { 15698 xxx_messageInfo_PluginStatusV1.DiscardUnknown(m) 15699 } 15700 15701 var xxx_messageInfo_PluginStatusV1 proto.InternalMessageInfo 15702 15703 // PluginCredentialsV1 represents "live" credentials 15704 // that are used by the plugin to authenticate to the 3rd party API. 15705 type PluginCredentialsV1 struct { 15706 // Types that are valid to be assigned to Credentials: 15707 // 15708 // *PluginCredentialsV1_Oauth2AccessToken 15709 // *PluginCredentialsV1_BearerToken 15710 // *PluginCredentialsV1_IdSecret 15711 // *PluginCredentialsV1_StaticCredentialsRef 15712 Credentials isPluginCredentialsV1_Credentials `protobuf_oneof:"credentials"` 15713 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15714 XXX_unrecognized []byte `json:"-"` 15715 XXX_sizecache int32 `json:"-"` 15716 } 15717 15718 func (m *PluginCredentialsV1) Reset() { *m = PluginCredentialsV1{} } 15719 func (m *PluginCredentialsV1) String() string { return proto.CompactTextString(m) } 15720 func (*PluginCredentialsV1) ProtoMessage() {} 15721 func (*PluginCredentialsV1) Descriptor() ([]byte, []int) { 15722 return fileDescriptor_9198ee693835762e, []int{273} 15723 } 15724 func (m *PluginCredentialsV1) XXX_Unmarshal(b []byte) error { 15725 return m.Unmarshal(b) 15726 } 15727 func (m *PluginCredentialsV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15728 if deterministic { 15729 return xxx_messageInfo_PluginCredentialsV1.Marshal(b, m, deterministic) 15730 } else { 15731 b = b[:cap(b)] 15732 n, err := m.MarshalToSizedBuffer(b) 15733 if err != nil { 15734 return nil, err 15735 } 15736 return b[:n], nil 15737 } 15738 } 15739 func (m *PluginCredentialsV1) XXX_Merge(src proto.Message) { 15740 xxx_messageInfo_PluginCredentialsV1.Merge(m, src) 15741 } 15742 func (m *PluginCredentialsV1) XXX_Size() int { 15743 return m.Size() 15744 } 15745 func (m *PluginCredentialsV1) XXX_DiscardUnknown() { 15746 xxx_messageInfo_PluginCredentialsV1.DiscardUnknown(m) 15747 } 15748 15749 var xxx_messageInfo_PluginCredentialsV1 proto.InternalMessageInfo 15750 15751 type isPluginCredentialsV1_Credentials interface { 15752 isPluginCredentialsV1_Credentials() 15753 MarshalTo([]byte) (int, error) 15754 Size() int 15755 } 15756 15757 type PluginCredentialsV1_Oauth2AccessToken struct { 15758 Oauth2AccessToken *PluginOAuth2AccessTokenCredentials `protobuf:"bytes,1,opt,name=oauth2_access_token,json=oauth2AccessToken,proto3,oneof" json:"oauth2_access_token,omitempty"` 15759 } 15760 type PluginCredentialsV1_BearerToken struct { 15761 BearerToken *PluginBearerTokenCredentials `protobuf:"bytes,2,opt,name=bearer_token,json=bearerToken,proto3,oneof" json:"bearer_token,omitempty"` 15762 } 15763 type PluginCredentialsV1_IdSecret struct { 15764 IdSecret *PluginIdSecretCredential `protobuf:"bytes,3,opt,name=id_secret,json=idSecret,proto3,oneof" json:"id_secret,omitempty"` 15765 } 15766 type PluginCredentialsV1_StaticCredentialsRef struct { 15767 StaticCredentialsRef *PluginStaticCredentialsRef `protobuf:"bytes,4,opt,name=static_credentials_ref,json=staticCredentialsRef,proto3,oneof" json:"static_credentials_ref,omitempty"` 15768 } 15769 15770 func (*PluginCredentialsV1_Oauth2AccessToken) isPluginCredentialsV1_Credentials() {} 15771 func (*PluginCredentialsV1_BearerToken) isPluginCredentialsV1_Credentials() {} 15772 func (*PluginCredentialsV1_IdSecret) isPluginCredentialsV1_Credentials() {} 15773 func (*PluginCredentialsV1_StaticCredentialsRef) isPluginCredentialsV1_Credentials() {} 15774 15775 func (m *PluginCredentialsV1) GetCredentials() isPluginCredentialsV1_Credentials { 15776 if m != nil { 15777 return m.Credentials 15778 } 15779 return nil 15780 } 15781 15782 func (m *PluginCredentialsV1) GetOauth2AccessToken() *PluginOAuth2AccessTokenCredentials { 15783 if x, ok := m.GetCredentials().(*PluginCredentialsV1_Oauth2AccessToken); ok { 15784 return x.Oauth2AccessToken 15785 } 15786 return nil 15787 } 15788 15789 func (m *PluginCredentialsV1) GetBearerToken() *PluginBearerTokenCredentials { 15790 if x, ok := m.GetCredentials().(*PluginCredentialsV1_BearerToken); ok { 15791 return x.BearerToken 15792 } 15793 return nil 15794 } 15795 15796 func (m *PluginCredentialsV1) GetIdSecret() *PluginIdSecretCredential { 15797 if x, ok := m.GetCredentials().(*PluginCredentialsV1_IdSecret); ok { 15798 return x.IdSecret 15799 } 15800 return nil 15801 } 15802 15803 func (m *PluginCredentialsV1) GetStaticCredentialsRef() *PluginStaticCredentialsRef { 15804 if x, ok := m.GetCredentials().(*PluginCredentialsV1_StaticCredentialsRef); ok { 15805 return x.StaticCredentialsRef 15806 } 15807 return nil 15808 } 15809 15810 // XXX_OneofWrappers is for the internal use of the proto package. 15811 func (*PluginCredentialsV1) XXX_OneofWrappers() []interface{} { 15812 return []interface{}{ 15813 (*PluginCredentialsV1_Oauth2AccessToken)(nil), 15814 (*PluginCredentialsV1_BearerToken)(nil), 15815 (*PluginCredentialsV1_IdSecret)(nil), 15816 (*PluginCredentialsV1_StaticCredentialsRef)(nil), 15817 } 15818 } 15819 15820 type PluginOAuth2AccessTokenCredentials struct { 15821 AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` 15822 RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` 15823 Expires time.Time `protobuf:"bytes,3,opt,name=expires,proto3,stdtime" json:"expires"` 15824 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15825 XXX_unrecognized []byte `json:"-"` 15826 XXX_sizecache int32 `json:"-"` 15827 } 15828 15829 func (m *PluginOAuth2AccessTokenCredentials) Reset() { *m = PluginOAuth2AccessTokenCredentials{} } 15830 func (m *PluginOAuth2AccessTokenCredentials) String() string { return proto.CompactTextString(m) } 15831 func (*PluginOAuth2AccessTokenCredentials) ProtoMessage() {} 15832 func (*PluginOAuth2AccessTokenCredentials) Descriptor() ([]byte, []int) { 15833 return fileDescriptor_9198ee693835762e, []int{274} 15834 } 15835 func (m *PluginOAuth2AccessTokenCredentials) XXX_Unmarshal(b []byte) error { 15836 return m.Unmarshal(b) 15837 } 15838 func (m *PluginOAuth2AccessTokenCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15839 if deterministic { 15840 return xxx_messageInfo_PluginOAuth2AccessTokenCredentials.Marshal(b, m, deterministic) 15841 } else { 15842 b = b[:cap(b)] 15843 n, err := m.MarshalToSizedBuffer(b) 15844 if err != nil { 15845 return nil, err 15846 } 15847 return b[:n], nil 15848 } 15849 } 15850 func (m *PluginOAuth2AccessTokenCredentials) XXX_Merge(src proto.Message) { 15851 xxx_messageInfo_PluginOAuth2AccessTokenCredentials.Merge(m, src) 15852 } 15853 func (m *PluginOAuth2AccessTokenCredentials) XXX_Size() int { 15854 return m.Size() 15855 } 15856 func (m *PluginOAuth2AccessTokenCredentials) XXX_DiscardUnknown() { 15857 xxx_messageInfo_PluginOAuth2AccessTokenCredentials.DiscardUnknown(m) 15858 } 15859 15860 var xxx_messageInfo_PluginOAuth2AccessTokenCredentials proto.InternalMessageInfo 15861 15862 type PluginBearerTokenCredentials struct { 15863 // Token is the literal bearer token to be submitted to the 3rd-party API provider. 15864 Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` 15865 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15866 XXX_unrecognized []byte `json:"-"` 15867 XXX_sizecache int32 `json:"-"` 15868 } 15869 15870 func (m *PluginBearerTokenCredentials) Reset() { *m = PluginBearerTokenCredentials{} } 15871 func (m *PluginBearerTokenCredentials) String() string { return proto.CompactTextString(m) } 15872 func (*PluginBearerTokenCredentials) ProtoMessage() {} 15873 func (*PluginBearerTokenCredentials) Descriptor() ([]byte, []int) { 15874 return fileDescriptor_9198ee693835762e, []int{275} 15875 } 15876 func (m *PluginBearerTokenCredentials) XXX_Unmarshal(b []byte) error { 15877 return m.Unmarshal(b) 15878 } 15879 func (m *PluginBearerTokenCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15880 if deterministic { 15881 return xxx_messageInfo_PluginBearerTokenCredentials.Marshal(b, m, deterministic) 15882 } else { 15883 b = b[:cap(b)] 15884 n, err := m.MarshalToSizedBuffer(b) 15885 if err != nil { 15886 return nil, err 15887 } 15888 return b[:n], nil 15889 } 15890 } 15891 func (m *PluginBearerTokenCredentials) XXX_Merge(src proto.Message) { 15892 xxx_messageInfo_PluginBearerTokenCredentials.Merge(m, src) 15893 } 15894 func (m *PluginBearerTokenCredentials) XXX_Size() int { 15895 return m.Size() 15896 } 15897 func (m *PluginBearerTokenCredentials) XXX_DiscardUnknown() { 15898 xxx_messageInfo_PluginBearerTokenCredentials.DiscardUnknown(m) 15899 } 15900 15901 var xxx_messageInfo_PluginBearerTokenCredentials proto.InternalMessageInfo 15902 15903 // PluginStaticCredentialsRef is a reference to plugin static credentials by labels. 15904 type PluginStaticCredentialsRef struct { 15905 // Labels is the set of labels to use to match against a set of static credentials. 15906 Labels map[string]string `protobuf:"bytes,1,rep,name=Labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 15907 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15908 XXX_unrecognized []byte `json:"-"` 15909 XXX_sizecache int32 `json:"-"` 15910 } 15911 15912 func (m *PluginStaticCredentialsRef) Reset() { *m = PluginStaticCredentialsRef{} } 15913 func (m *PluginStaticCredentialsRef) String() string { return proto.CompactTextString(m) } 15914 func (*PluginStaticCredentialsRef) ProtoMessage() {} 15915 func (*PluginStaticCredentialsRef) Descriptor() ([]byte, []int) { 15916 return fileDescriptor_9198ee693835762e, []int{276} 15917 } 15918 func (m *PluginStaticCredentialsRef) XXX_Unmarshal(b []byte) error { 15919 return m.Unmarshal(b) 15920 } 15921 func (m *PluginStaticCredentialsRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15922 if deterministic { 15923 return xxx_messageInfo_PluginStaticCredentialsRef.Marshal(b, m, deterministic) 15924 } else { 15925 b = b[:cap(b)] 15926 n, err := m.MarshalToSizedBuffer(b) 15927 if err != nil { 15928 return nil, err 15929 } 15930 return b[:n], nil 15931 } 15932 } 15933 func (m *PluginStaticCredentialsRef) XXX_Merge(src proto.Message) { 15934 xxx_messageInfo_PluginStaticCredentialsRef.Merge(m, src) 15935 } 15936 func (m *PluginStaticCredentialsRef) XXX_Size() int { 15937 return m.Size() 15938 } 15939 func (m *PluginStaticCredentialsRef) XXX_DiscardUnknown() { 15940 xxx_messageInfo_PluginStaticCredentialsRef.DiscardUnknown(m) 15941 } 15942 15943 var xxx_messageInfo_PluginStaticCredentialsRef proto.InternalMessageInfo 15944 15945 // PluginList represents a list of plugin resources 15946 type PluginListV1 struct { 15947 // Plugins is a list of plugin resources. 15948 Plugins []*PluginV1 `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"` 15949 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15950 XXX_unrecognized []byte `json:"-"` 15951 XXX_sizecache int32 `json:"-"` 15952 } 15953 15954 func (m *PluginListV1) Reset() { *m = PluginListV1{} } 15955 func (m *PluginListV1) String() string { return proto.CompactTextString(m) } 15956 func (*PluginListV1) ProtoMessage() {} 15957 func (*PluginListV1) Descriptor() ([]byte, []int) { 15958 return fileDescriptor_9198ee693835762e, []int{277} 15959 } 15960 func (m *PluginListV1) XXX_Unmarshal(b []byte) error { 15961 return m.Unmarshal(b) 15962 } 15963 func (m *PluginListV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 15964 if deterministic { 15965 return xxx_messageInfo_PluginListV1.Marshal(b, m, deterministic) 15966 } else { 15967 b = b[:cap(b)] 15968 n, err := m.MarshalToSizedBuffer(b) 15969 if err != nil { 15970 return nil, err 15971 } 15972 return b[:n], nil 15973 } 15974 } 15975 func (m *PluginListV1) XXX_Merge(src proto.Message) { 15976 xxx_messageInfo_PluginListV1.Merge(m, src) 15977 } 15978 func (m *PluginListV1) XXX_Size() int { 15979 return m.Size() 15980 } 15981 func (m *PluginListV1) XXX_DiscardUnknown() { 15982 xxx_messageInfo_PluginListV1.DiscardUnknown(m) 15983 } 15984 15985 var xxx_messageInfo_PluginListV1 proto.InternalMessageInfo 15986 15987 // PluginStaticCredentialsV1 is a representation of static credentials for plugins. 15988 type PluginStaticCredentialsV1 struct { 15989 // Header is the resource header for the plugin static credentials object. 15990 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:"Header"` 15991 // Spec contains the actual credentials for the object. 15992 Spec *PluginStaticCredentialsSpecV1 `protobuf:"bytes,2,opt,name=Spec,proto3" json:"Spec,omitempty"` 15993 XXX_NoUnkeyedLiteral struct{} `json:"-"` 15994 XXX_unrecognized []byte `json:"-"` 15995 XXX_sizecache int32 `json:"-"` 15996 } 15997 15998 func (m *PluginStaticCredentialsV1) Reset() { *m = PluginStaticCredentialsV1{} } 15999 func (*PluginStaticCredentialsV1) ProtoMessage() {} 16000 func (*PluginStaticCredentialsV1) Descriptor() ([]byte, []int) { 16001 return fileDescriptor_9198ee693835762e, []int{278} 16002 } 16003 func (m *PluginStaticCredentialsV1) XXX_Unmarshal(b []byte) error { 16004 return m.Unmarshal(b) 16005 } 16006 func (m *PluginStaticCredentialsV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16007 if deterministic { 16008 return xxx_messageInfo_PluginStaticCredentialsV1.Marshal(b, m, deterministic) 16009 } else { 16010 b = b[:cap(b)] 16011 n, err := m.MarshalToSizedBuffer(b) 16012 if err != nil { 16013 return nil, err 16014 } 16015 return b[:n], nil 16016 } 16017 } 16018 func (m *PluginStaticCredentialsV1) XXX_Merge(src proto.Message) { 16019 xxx_messageInfo_PluginStaticCredentialsV1.Merge(m, src) 16020 } 16021 func (m *PluginStaticCredentialsV1) XXX_Size() int { 16022 return m.Size() 16023 } 16024 func (m *PluginStaticCredentialsV1) XXX_DiscardUnknown() { 16025 xxx_messageInfo_PluginStaticCredentialsV1.DiscardUnknown(m) 16026 } 16027 16028 var xxx_messageInfo_PluginStaticCredentialsV1 proto.InternalMessageInfo 16029 16030 // PluginStaticCredentialsSpecV1 is the specification for the static credentials object. 16031 type PluginStaticCredentialsSpecV1 struct { 16032 // Types that are valid to be assigned to Credentials: 16033 // 16034 // *PluginStaticCredentialsSpecV1_APIToken 16035 // *PluginStaticCredentialsSpecV1_BasicAuth 16036 // *PluginStaticCredentialsSpecV1_OAuthClientSecret 16037 Credentials isPluginStaticCredentialsSpecV1_Credentials `protobuf_oneof:"credentials"` 16038 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16039 XXX_unrecognized []byte `json:"-"` 16040 XXX_sizecache int32 `json:"-"` 16041 } 16042 16043 func (m *PluginStaticCredentialsSpecV1) Reset() { *m = PluginStaticCredentialsSpecV1{} } 16044 func (m *PluginStaticCredentialsSpecV1) String() string { return proto.CompactTextString(m) } 16045 func (*PluginStaticCredentialsSpecV1) ProtoMessage() {} 16046 func (*PluginStaticCredentialsSpecV1) Descriptor() ([]byte, []int) { 16047 return fileDescriptor_9198ee693835762e, []int{279} 16048 } 16049 func (m *PluginStaticCredentialsSpecV1) XXX_Unmarshal(b []byte) error { 16050 return m.Unmarshal(b) 16051 } 16052 func (m *PluginStaticCredentialsSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16053 if deterministic { 16054 return xxx_messageInfo_PluginStaticCredentialsSpecV1.Marshal(b, m, deterministic) 16055 } else { 16056 b = b[:cap(b)] 16057 n, err := m.MarshalToSizedBuffer(b) 16058 if err != nil { 16059 return nil, err 16060 } 16061 return b[:n], nil 16062 } 16063 } 16064 func (m *PluginStaticCredentialsSpecV1) XXX_Merge(src proto.Message) { 16065 xxx_messageInfo_PluginStaticCredentialsSpecV1.Merge(m, src) 16066 } 16067 func (m *PluginStaticCredentialsSpecV1) XXX_Size() int { 16068 return m.Size() 16069 } 16070 func (m *PluginStaticCredentialsSpecV1) XXX_DiscardUnknown() { 16071 xxx_messageInfo_PluginStaticCredentialsSpecV1.DiscardUnknown(m) 16072 } 16073 16074 var xxx_messageInfo_PluginStaticCredentialsSpecV1 proto.InternalMessageInfo 16075 16076 type isPluginStaticCredentialsSpecV1_Credentials interface { 16077 isPluginStaticCredentialsSpecV1_Credentials() 16078 MarshalTo([]byte) (int, error) 16079 Size() int 16080 } 16081 16082 type PluginStaticCredentialsSpecV1_APIToken struct { 16083 APIToken string `protobuf:"bytes,1,opt,name=APIToken,proto3,oneof" json:"APIToken,omitempty"` 16084 } 16085 type PluginStaticCredentialsSpecV1_BasicAuth struct { 16086 BasicAuth *PluginStaticCredentialsBasicAuth `protobuf:"bytes,2,opt,name=BasicAuth,proto3,oneof" json:"BasicAuth,omitempty"` 16087 } 16088 type PluginStaticCredentialsSpecV1_OAuthClientSecret struct { 16089 OAuthClientSecret *PluginStaticCredentialsOAuthClientSecret `protobuf:"bytes,3,opt,name=OAuthClientSecret,proto3,oneof" json:"OAuthClientSecret,omitempty"` 16090 } 16091 16092 func (*PluginStaticCredentialsSpecV1_APIToken) isPluginStaticCredentialsSpecV1_Credentials() {} 16093 func (*PluginStaticCredentialsSpecV1_BasicAuth) isPluginStaticCredentialsSpecV1_Credentials() {} 16094 func (*PluginStaticCredentialsSpecV1_OAuthClientSecret) isPluginStaticCredentialsSpecV1_Credentials() { 16095 } 16096 16097 func (m *PluginStaticCredentialsSpecV1) GetCredentials() isPluginStaticCredentialsSpecV1_Credentials { 16098 if m != nil { 16099 return m.Credentials 16100 } 16101 return nil 16102 } 16103 16104 func (m *PluginStaticCredentialsSpecV1) GetAPIToken() string { 16105 if x, ok := m.GetCredentials().(*PluginStaticCredentialsSpecV1_APIToken); ok { 16106 return x.APIToken 16107 } 16108 return "" 16109 } 16110 16111 func (m *PluginStaticCredentialsSpecV1) GetBasicAuth() *PluginStaticCredentialsBasicAuth { 16112 if x, ok := m.GetCredentials().(*PluginStaticCredentialsSpecV1_BasicAuth); ok { 16113 return x.BasicAuth 16114 } 16115 return nil 16116 } 16117 16118 func (m *PluginStaticCredentialsSpecV1) GetOAuthClientSecret() *PluginStaticCredentialsOAuthClientSecret { 16119 if x, ok := m.GetCredentials().(*PluginStaticCredentialsSpecV1_OAuthClientSecret); ok { 16120 return x.OAuthClientSecret 16121 } 16122 return nil 16123 } 16124 16125 // XXX_OneofWrappers is for the internal use of the proto package. 16126 func (*PluginStaticCredentialsSpecV1) XXX_OneofWrappers() []interface{} { 16127 return []interface{}{ 16128 (*PluginStaticCredentialsSpecV1_APIToken)(nil), 16129 (*PluginStaticCredentialsSpecV1_BasicAuth)(nil), 16130 (*PluginStaticCredentialsSpecV1_OAuthClientSecret)(nil), 16131 } 16132 } 16133 16134 // PluginStaticCredentialsBasicAuth represents username and password credentials for a plugin. 16135 type PluginStaticCredentialsBasicAuth struct { 16136 // Username is the username to use for basic auth. 16137 Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"username"` 16138 // Password is the password to use for basic auth. 16139 Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"password"` 16140 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16141 XXX_unrecognized []byte `json:"-"` 16142 XXX_sizecache int32 `json:"-"` 16143 } 16144 16145 func (m *PluginStaticCredentialsBasicAuth) Reset() { *m = PluginStaticCredentialsBasicAuth{} } 16146 func (m *PluginStaticCredentialsBasicAuth) String() string { return proto.CompactTextString(m) } 16147 func (*PluginStaticCredentialsBasicAuth) ProtoMessage() {} 16148 func (*PluginStaticCredentialsBasicAuth) Descriptor() ([]byte, []int) { 16149 return fileDescriptor_9198ee693835762e, []int{280} 16150 } 16151 func (m *PluginStaticCredentialsBasicAuth) XXX_Unmarshal(b []byte) error { 16152 return m.Unmarshal(b) 16153 } 16154 func (m *PluginStaticCredentialsBasicAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16155 if deterministic { 16156 return xxx_messageInfo_PluginStaticCredentialsBasicAuth.Marshal(b, m, deterministic) 16157 } else { 16158 b = b[:cap(b)] 16159 n, err := m.MarshalToSizedBuffer(b) 16160 if err != nil { 16161 return nil, err 16162 } 16163 return b[:n], nil 16164 } 16165 } 16166 func (m *PluginStaticCredentialsBasicAuth) XXX_Merge(src proto.Message) { 16167 xxx_messageInfo_PluginStaticCredentialsBasicAuth.Merge(m, src) 16168 } 16169 func (m *PluginStaticCredentialsBasicAuth) XXX_Size() int { 16170 return m.Size() 16171 } 16172 func (m *PluginStaticCredentialsBasicAuth) XXX_DiscardUnknown() { 16173 xxx_messageInfo_PluginStaticCredentialsBasicAuth.DiscardUnknown(m) 16174 } 16175 16176 var xxx_messageInfo_PluginStaticCredentialsBasicAuth proto.InternalMessageInfo 16177 16178 // PluginStaticCredentialsOAuthClientSecret represents an oauth client id and secret. 16179 type PluginStaticCredentialsOAuthClientSecret struct { 16180 // ClientId is the client ID to use for OAuth client secret. 16181 ClientId string `protobuf:"bytes,1,opt,name=ClientId,proto3" json:"client_id"` 16182 // ClientSecret is the client secret to use. 16183 ClientSecret string `protobuf:"bytes,2,opt,name=ClientSecret,proto3" json:"client_secret"` 16184 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16185 XXX_unrecognized []byte `json:"-"` 16186 XXX_sizecache int32 `json:"-"` 16187 } 16188 16189 func (m *PluginStaticCredentialsOAuthClientSecret) Reset() { 16190 *m = PluginStaticCredentialsOAuthClientSecret{} 16191 } 16192 func (m *PluginStaticCredentialsOAuthClientSecret) String() string { return proto.CompactTextString(m) } 16193 func (*PluginStaticCredentialsOAuthClientSecret) ProtoMessage() {} 16194 func (*PluginStaticCredentialsOAuthClientSecret) Descriptor() ([]byte, []int) { 16195 return fileDescriptor_9198ee693835762e, []int{281} 16196 } 16197 func (m *PluginStaticCredentialsOAuthClientSecret) XXX_Unmarshal(b []byte) error { 16198 return m.Unmarshal(b) 16199 } 16200 func (m *PluginStaticCredentialsOAuthClientSecret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16201 if deterministic { 16202 return xxx_messageInfo_PluginStaticCredentialsOAuthClientSecret.Marshal(b, m, deterministic) 16203 } else { 16204 b = b[:cap(b)] 16205 n, err := m.MarshalToSizedBuffer(b) 16206 if err != nil { 16207 return nil, err 16208 } 16209 return b[:n], nil 16210 } 16211 } 16212 func (m *PluginStaticCredentialsOAuthClientSecret) XXX_Merge(src proto.Message) { 16213 xxx_messageInfo_PluginStaticCredentialsOAuthClientSecret.Merge(m, src) 16214 } 16215 func (m *PluginStaticCredentialsOAuthClientSecret) XXX_Size() int { 16216 return m.Size() 16217 } 16218 func (m *PluginStaticCredentialsOAuthClientSecret) XXX_DiscardUnknown() { 16219 xxx_messageInfo_PluginStaticCredentialsOAuthClientSecret.DiscardUnknown(m) 16220 } 16221 16222 var xxx_messageInfo_PluginStaticCredentialsOAuthClientSecret proto.InternalMessageInfo 16223 16224 // SAMLIdPServiceProviderV1 is the representation of a SAML IdP service provider. 16225 type SAMLIdPServiceProviderV1 struct { 16226 // Header is the resource header for the SAML IdP service provider. 16227 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 16228 // Spec is the SAML IdP service provider spec. 16229 Spec SAMLIdPServiceProviderSpecV1 `protobuf:"bytes,2,opt,name=Spec,proto3" json:"spec"` 16230 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16231 XXX_unrecognized []byte `json:"-"` 16232 XXX_sizecache int32 `json:"-"` 16233 } 16234 16235 func (m *SAMLIdPServiceProviderV1) Reset() { *m = SAMLIdPServiceProviderV1{} } 16236 func (*SAMLIdPServiceProviderV1) ProtoMessage() {} 16237 func (*SAMLIdPServiceProviderV1) Descriptor() ([]byte, []int) { 16238 return fileDescriptor_9198ee693835762e, []int{282} 16239 } 16240 func (m *SAMLIdPServiceProviderV1) XXX_Unmarshal(b []byte) error { 16241 return m.Unmarshal(b) 16242 } 16243 func (m *SAMLIdPServiceProviderV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16244 if deterministic { 16245 return xxx_messageInfo_SAMLIdPServiceProviderV1.Marshal(b, m, deterministic) 16246 } else { 16247 b = b[:cap(b)] 16248 n, err := m.MarshalToSizedBuffer(b) 16249 if err != nil { 16250 return nil, err 16251 } 16252 return b[:n], nil 16253 } 16254 } 16255 func (m *SAMLIdPServiceProviderV1) XXX_Merge(src proto.Message) { 16256 xxx_messageInfo_SAMLIdPServiceProviderV1.Merge(m, src) 16257 } 16258 func (m *SAMLIdPServiceProviderV1) XXX_Size() int { 16259 return m.Size() 16260 } 16261 func (m *SAMLIdPServiceProviderV1) XXX_DiscardUnknown() { 16262 xxx_messageInfo_SAMLIdPServiceProviderV1.DiscardUnknown(m) 16263 } 16264 16265 var xxx_messageInfo_SAMLIdPServiceProviderV1 proto.InternalMessageInfo 16266 16267 // SAMLIdPServiceProviderSpecV1 is the SAMLIdPServiceProviderV1 resource spec. 16268 type SAMLIdPServiceProviderSpecV1 struct { 16269 // EntityDescriptor is the entity descriptor for the service provider 16270 EntityDescriptor string `protobuf:"bytes,1,opt,name=EntityDescriptor,proto3" json:"entity_descriptor"` 16271 // EntityID is the entity ID for the entity descriptor. If entity descriptor is provided, 16272 // this value is checked that it matches the entity ID in the entity descriptor 16273 // at upsert time to avoid having to parse the XML blob in the entity descriptor 16274 // every time we need to use this resource. 16275 EntityID string `protobuf:"bytes,2,opt,name=EntityID,proto3" json:"entity_id"` 16276 // ACSURL is the endpoint where SAML authentication response will be redirected. 16277 ACSURL string `protobuf:"bytes,3,opt,name=ACSURL,proto3" json:"acs_url"` 16278 // AttributeMapping is used to map service provider requested attributes to 16279 // username, role and traits in Teleport. 16280 AttributeMapping []*SAMLAttributeMapping `protobuf:"bytes,4,rep,name=AttributeMapping,proto3" json:"attribute_mapping"` 16281 // Preset is used to define service provider profile that will have a custom behavior 16282 // processed by Teleport. 16283 Preset string `protobuf:"bytes,5,opt,name=Preset,proto3" json:"preset"` 16284 // RelayState is used to add custom value in the SAML response as a relay_state HTTP parameter. 16285 // The value can contain service provider specific redirect URL, static state token etc. 16286 // The value is only applied in the IdP initiated SSO flow. 16287 RelayState string `protobuf:"bytes,6,opt,name=RelayState,proto3" json:"relay_state"` 16288 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16289 XXX_unrecognized []byte `json:"-"` 16290 XXX_sizecache int32 `json:"-"` 16291 } 16292 16293 func (m *SAMLIdPServiceProviderSpecV1) Reset() { *m = SAMLIdPServiceProviderSpecV1{} } 16294 func (m *SAMLIdPServiceProviderSpecV1) String() string { return proto.CompactTextString(m) } 16295 func (*SAMLIdPServiceProviderSpecV1) ProtoMessage() {} 16296 func (*SAMLIdPServiceProviderSpecV1) Descriptor() ([]byte, []int) { 16297 return fileDescriptor_9198ee693835762e, []int{283} 16298 } 16299 func (m *SAMLIdPServiceProviderSpecV1) XXX_Unmarshal(b []byte) error { 16300 return m.Unmarshal(b) 16301 } 16302 func (m *SAMLIdPServiceProviderSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16303 if deterministic { 16304 return xxx_messageInfo_SAMLIdPServiceProviderSpecV1.Marshal(b, m, deterministic) 16305 } else { 16306 b = b[:cap(b)] 16307 n, err := m.MarshalToSizedBuffer(b) 16308 if err != nil { 16309 return nil, err 16310 } 16311 return b[:n], nil 16312 } 16313 } 16314 func (m *SAMLIdPServiceProviderSpecV1) XXX_Merge(src proto.Message) { 16315 xxx_messageInfo_SAMLIdPServiceProviderSpecV1.Merge(m, src) 16316 } 16317 func (m *SAMLIdPServiceProviderSpecV1) XXX_Size() int { 16318 return m.Size() 16319 } 16320 func (m *SAMLIdPServiceProviderSpecV1) XXX_DiscardUnknown() { 16321 xxx_messageInfo_SAMLIdPServiceProviderSpecV1.DiscardUnknown(m) 16322 } 16323 16324 var xxx_messageInfo_SAMLIdPServiceProviderSpecV1 proto.InternalMessageInfo 16325 16326 // SAMLAttributeMapping represents SAML service provider requested attribute 16327 // name, format and its values. 16328 type SAMLAttributeMapping struct { 16329 // name is an attribute name. 16330 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"` 16331 // name_format is an attribute name format. 16332 NameFormat string `protobuf:"bytes,2,opt,name=name_format,json=nameFormat,proto3" json:"name_format"` 16333 // value is an attribute value definable with predicate expression. 16334 Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value"` 16335 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16336 XXX_unrecognized []byte `json:"-"` 16337 XXX_sizecache int32 `json:"-"` 16338 } 16339 16340 func (m *SAMLAttributeMapping) Reset() { *m = SAMLAttributeMapping{} } 16341 func (m *SAMLAttributeMapping) String() string { return proto.CompactTextString(m) } 16342 func (*SAMLAttributeMapping) ProtoMessage() {} 16343 func (*SAMLAttributeMapping) Descriptor() ([]byte, []int) { 16344 return fileDescriptor_9198ee693835762e, []int{284} 16345 } 16346 func (m *SAMLAttributeMapping) XXX_Unmarshal(b []byte) error { 16347 return m.Unmarshal(b) 16348 } 16349 func (m *SAMLAttributeMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16350 if deterministic { 16351 return xxx_messageInfo_SAMLAttributeMapping.Marshal(b, m, deterministic) 16352 } else { 16353 b = b[:cap(b)] 16354 n, err := m.MarshalToSizedBuffer(b) 16355 if err != nil { 16356 return nil, err 16357 } 16358 return b[:n], nil 16359 } 16360 } 16361 func (m *SAMLAttributeMapping) XXX_Merge(src proto.Message) { 16362 xxx_messageInfo_SAMLAttributeMapping.Merge(m, src) 16363 } 16364 func (m *SAMLAttributeMapping) XXX_Size() int { 16365 return m.Size() 16366 } 16367 func (m *SAMLAttributeMapping) XXX_DiscardUnknown() { 16368 xxx_messageInfo_SAMLAttributeMapping.DiscardUnknown(m) 16369 } 16370 16371 var xxx_messageInfo_SAMLAttributeMapping proto.InternalMessageInfo 16372 16373 // IdPOptions specify options related to access Teleport IdPs. 16374 type IdPOptions struct { 16375 // SAML are options related to the Teleport SAML IdP. 16376 SAML *IdPSAMLOptions `protobuf:"bytes,1,opt,name=SAML,proto3" json:"saml"` 16377 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16378 XXX_unrecognized []byte `json:"-"` 16379 XXX_sizecache int32 `json:"-"` 16380 } 16381 16382 func (m *IdPOptions) Reset() { *m = IdPOptions{} } 16383 func (m *IdPOptions) String() string { return proto.CompactTextString(m) } 16384 func (*IdPOptions) ProtoMessage() {} 16385 func (*IdPOptions) Descriptor() ([]byte, []int) { 16386 return fileDescriptor_9198ee693835762e, []int{285} 16387 } 16388 func (m *IdPOptions) XXX_Unmarshal(b []byte) error { 16389 return m.Unmarshal(b) 16390 } 16391 func (m *IdPOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16392 if deterministic { 16393 return xxx_messageInfo_IdPOptions.Marshal(b, m, deterministic) 16394 } else { 16395 b = b[:cap(b)] 16396 n, err := m.MarshalToSizedBuffer(b) 16397 if err != nil { 16398 return nil, err 16399 } 16400 return b[:n], nil 16401 } 16402 } 16403 func (m *IdPOptions) XXX_Merge(src proto.Message) { 16404 xxx_messageInfo_IdPOptions.Merge(m, src) 16405 } 16406 func (m *IdPOptions) XXX_Size() int { 16407 return m.Size() 16408 } 16409 func (m *IdPOptions) XXX_DiscardUnknown() { 16410 xxx_messageInfo_IdPOptions.DiscardUnknown(m) 16411 } 16412 16413 var xxx_messageInfo_IdPOptions proto.InternalMessageInfo 16414 16415 // IdPSAMLOptions specifies options related to accessing the Teleport SAML IdP. 16416 type IdPSAMLOptions struct { 16417 // Enabled is set to true if this option allows access to the Teleport SAML IdP. 16418 Enabled *BoolOption `protobuf:"bytes,1,opt,name=Enabled,proto3,customtype=BoolOption" json:"enabled"` 16419 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16420 XXX_unrecognized []byte `json:"-"` 16421 XXX_sizecache int32 `json:"-"` 16422 } 16423 16424 func (m *IdPSAMLOptions) Reset() { *m = IdPSAMLOptions{} } 16425 func (m *IdPSAMLOptions) String() string { return proto.CompactTextString(m) } 16426 func (*IdPSAMLOptions) ProtoMessage() {} 16427 func (*IdPSAMLOptions) Descriptor() ([]byte, []int) { 16428 return fileDescriptor_9198ee693835762e, []int{286} 16429 } 16430 func (m *IdPSAMLOptions) XXX_Unmarshal(b []byte) error { 16431 return m.Unmarshal(b) 16432 } 16433 func (m *IdPSAMLOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16434 if deterministic { 16435 return xxx_messageInfo_IdPSAMLOptions.Marshal(b, m, deterministic) 16436 } else { 16437 b = b[:cap(b)] 16438 n, err := m.MarshalToSizedBuffer(b) 16439 if err != nil { 16440 return nil, err 16441 } 16442 return b[:n], nil 16443 } 16444 } 16445 func (m *IdPSAMLOptions) XXX_Merge(src proto.Message) { 16446 xxx_messageInfo_IdPSAMLOptions.Merge(m, src) 16447 } 16448 func (m *IdPSAMLOptions) XXX_Size() int { 16449 return m.Size() 16450 } 16451 func (m *IdPSAMLOptions) XXX_DiscardUnknown() { 16452 xxx_messageInfo_IdPSAMLOptions.DiscardUnknown(m) 16453 } 16454 16455 var xxx_messageInfo_IdPSAMLOptions proto.InternalMessageInfo 16456 16457 // KubernetesResourceV1 represents a Kubernetes resource. 16458 type KubernetesResourceV1 struct { 16459 // Kind is a resource kind 16460 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 16461 // SubKind is an optional resource sub kind, used in some resources 16462 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 16463 // Version is version 16464 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 16465 // Metadata is KubernetesResourceV1 metadata 16466 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 16467 // Spec contains the Kubernetes resource data. 16468 Spec KubernetesResourceSpecV1 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 16469 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16470 XXX_unrecognized []byte `json:"-"` 16471 XXX_sizecache int32 `json:"-"` 16472 } 16473 16474 func (m *KubernetesResourceV1) Reset() { *m = KubernetesResourceV1{} } 16475 func (m *KubernetesResourceV1) String() string { return proto.CompactTextString(m) } 16476 func (*KubernetesResourceV1) ProtoMessage() {} 16477 func (*KubernetesResourceV1) Descriptor() ([]byte, []int) { 16478 return fileDescriptor_9198ee693835762e, []int{287} 16479 } 16480 func (m *KubernetesResourceV1) XXX_Unmarshal(b []byte) error { 16481 return m.Unmarshal(b) 16482 } 16483 func (m *KubernetesResourceV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16484 if deterministic { 16485 return xxx_messageInfo_KubernetesResourceV1.Marshal(b, m, deterministic) 16486 } else { 16487 b = b[:cap(b)] 16488 n, err := m.MarshalToSizedBuffer(b) 16489 if err != nil { 16490 return nil, err 16491 } 16492 return b[:n], nil 16493 } 16494 } 16495 func (m *KubernetesResourceV1) XXX_Merge(src proto.Message) { 16496 xxx_messageInfo_KubernetesResourceV1.Merge(m, src) 16497 } 16498 func (m *KubernetesResourceV1) XXX_Size() int { 16499 return m.Size() 16500 } 16501 func (m *KubernetesResourceV1) XXX_DiscardUnknown() { 16502 xxx_messageInfo_KubernetesResourceV1.DiscardUnknown(m) 16503 } 16504 16505 var xxx_messageInfo_KubernetesResourceV1 proto.InternalMessageInfo 16506 16507 // KubernetesResourceSpecV1 is the Kubernetes resource spec. 16508 type KubernetesResourceSpecV1 struct { 16509 // Namespace is the resource namespace. 16510 Namespace string `protobuf:"bytes,1,opt,name=Namespace,proto3" json:"namespace"` 16511 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16512 XXX_unrecognized []byte `json:"-"` 16513 XXX_sizecache int32 `json:"-"` 16514 } 16515 16516 func (m *KubernetesResourceSpecV1) Reset() { *m = KubernetesResourceSpecV1{} } 16517 func (m *KubernetesResourceSpecV1) String() string { return proto.CompactTextString(m) } 16518 func (*KubernetesResourceSpecV1) ProtoMessage() {} 16519 func (*KubernetesResourceSpecV1) Descriptor() ([]byte, []int) { 16520 return fileDescriptor_9198ee693835762e, []int{288} 16521 } 16522 func (m *KubernetesResourceSpecV1) XXX_Unmarshal(b []byte) error { 16523 return m.Unmarshal(b) 16524 } 16525 func (m *KubernetesResourceSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16526 if deterministic { 16527 return xxx_messageInfo_KubernetesResourceSpecV1.Marshal(b, m, deterministic) 16528 } else { 16529 b = b[:cap(b)] 16530 n, err := m.MarshalToSizedBuffer(b) 16531 if err != nil { 16532 return nil, err 16533 } 16534 return b[:n], nil 16535 } 16536 } 16537 func (m *KubernetesResourceSpecV1) XXX_Merge(src proto.Message) { 16538 xxx_messageInfo_KubernetesResourceSpecV1.Merge(m, src) 16539 } 16540 func (m *KubernetesResourceSpecV1) XXX_Size() int { 16541 return m.Size() 16542 } 16543 func (m *KubernetesResourceSpecV1) XXX_DiscardUnknown() { 16544 xxx_messageInfo_KubernetesResourceSpecV1.DiscardUnknown(m) 16545 } 16546 16547 var xxx_messageInfo_KubernetesResourceSpecV1 proto.InternalMessageInfo 16548 16549 // ClusterMaintenanceConfigV1 is a config singleton used to configure infrequent 16550 // cluster maintenance operations. 16551 type ClusterMaintenanceConfigV1 struct { 16552 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 16553 Spec ClusterMaintenanceConfigSpecV1 `protobuf:"bytes,2,opt,name=Spec,proto3" json:"spec"` 16554 // Nonce is used to protect against concurrent modification of the maintenance 16555 // window. Clients should treat nonces as opaque. 16556 Nonce uint64 `protobuf:"varint,3,opt,name=Nonce,proto3" json:"nonce,omitempty"` 16557 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16558 XXX_unrecognized []byte `json:"-"` 16559 XXX_sizecache int32 `json:"-"` 16560 } 16561 16562 func (m *ClusterMaintenanceConfigV1) Reset() { *m = ClusterMaintenanceConfigV1{} } 16563 func (m *ClusterMaintenanceConfigV1) String() string { return proto.CompactTextString(m) } 16564 func (*ClusterMaintenanceConfigV1) ProtoMessage() {} 16565 func (*ClusterMaintenanceConfigV1) Descriptor() ([]byte, []int) { 16566 return fileDescriptor_9198ee693835762e, []int{289} 16567 } 16568 func (m *ClusterMaintenanceConfigV1) XXX_Unmarshal(b []byte) error { 16569 return m.Unmarshal(b) 16570 } 16571 func (m *ClusterMaintenanceConfigV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16572 if deterministic { 16573 return xxx_messageInfo_ClusterMaintenanceConfigV1.Marshal(b, m, deterministic) 16574 } else { 16575 b = b[:cap(b)] 16576 n, err := m.MarshalToSizedBuffer(b) 16577 if err != nil { 16578 return nil, err 16579 } 16580 return b[:n], nil 16581 } 16582 } 16583 func (m *ClusterMaintenanceConfigV1) XXX_Merge(src proto.Message) { 16584 xxx_messageInfo_ClusterMaintenanceConfigV1.Merge(m, src) 16585 } 16586 func (m *ClusterMaintenanceConfigV1) XXX_Size() int { 16587 return m.Size() 16588 } 16589 func (m *ClusterMaintenanceConfigV1) XXX_DiscardUnknown() { 16590 xxx_messageInfo_ClusterMaintenanceConfigV1.DiscardUnknown(m) 16591 } 16592 16593 var xxx_messageInfo_ClusterMaintenanceConfigV1 proto.InternalMessageInfo 16594 16595 // ClusterMaintenanceConfigSpecV1 encodes the parameters of the upgrade window config object. 16596 type ClusterMaintenanceConfigSpecV1 struct { 16597 // AgentUpgrades encodes the agent upgrade window. 16598 AgentUpgrades *AgentUpgradeWindow `protobuf:"bytes,1,opt,name=AgentUpgrades,proto3" json:"agent_upgrades,omitempty"` 16599 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16600 XXX_unrecognized []byte `json:"-"` 16601 XXX_sizecache int32 `json:"-"` 16602 } 16603 16604 func (m *ClusterMaintenanceConfigSpecV1) Reset() { *m = ClusterMaintenanceConfigSpecV1{} } 16605 func (m *ClusterMaintenanceConfigSpecV1) String() string { return proto.CompactTextString(m) } 16606 func (*ClusterMaintenanceConfigSpecV1) ProtoMessage() {} 16607 func (*ClusterMaintenanceConfigSpecV1) Descriptor() ([]byte, []int) { 16608 return fileDescriptor_9198ee693835762e, []int{290} 16609 } 16610 func (m *ClusterMaintenanceConfigSpecV1) XXX_Unmarshal(b []byte) error { 16611 return m.Unmarshal(b) 16612 } 16613 func (m *ClusterMaintenanceConfigSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16614 if deterministic { 16615 return xxx_messageInfo_ClusterMaintenanceConfigSpecV1.Marshal(b, m, deterministic) 16616 } else { 16617 b = b[:cap(b)] 16618 n, err := m.MarshalToSizedBuffer(b) 16619 if err != nil { 16620 return nil, err 16621 } 16622 return b[:n], nil 16623 } 16624 } 16625 func (m *ClusterMaintenanceConfigSpecV1) XXX_Merge(src proto.Message) { 16626 xxx_messageInfo_ClusterMaintenanceConfigSpecV1.Merge(m, src) 16627 } 16628 func (m *ClusterMaintenanceConfigSpecV1) XXX_Size() int { 16629 return m.Size() 16630 } 16631 func (m *ClusterMaintenanceConfigSpecV1) XXX_DiscardUnknown() { 16632 xxx_messageInfo_ClusterMaintenanceConfigSpecV1.DiscardUnknown(m) 16633 } 16634 16635 var xxx_messageInfo_ClusterMaintenanceConfigSpecV1 proto.InternalMessageInfo 16636 16637 // AgentUpgradeWindow is the config object used to determine upcoming agent 16638 // upgrade windows. 16639 type AgentUpgradeWindow struct { 16640 // UTCStartHour is the start hour of the maintenance window in UTC. 16641 UTCStartHour uint32 `protobuf:"varint,1,opt,name=UTCStartHour,proto3" json:"utc_start_hour"` 16642 // Weekdays is an optional list of weekdays. If not specified, an agent upgrade window 16643 // occurs every day. 16644 Weekdays []string `protobuf:"bytes,2,rep,name=Weekdays,proto3" json:"weekdays,omitempty"` 16645 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16646 XXX_unrecognized []byte `json:"-"` 16647 XXX_sizecache int32 `json:"-"` 16648 } 16649 16650 func (m *AgentUpgradeWindow) Reset() { *m = AgentUpgradeWindow{} } 16651 func (m *AgentUpgradeWindow) String() string { return proto.CompactTextString(m) } 16652 func (*AgentUpgradeWindow) ProtoMessage() {} 16653 func (*AgentUpgradeWindow) Descriptor() ([]byte, []int) { 16654 return fileDescriptor_9198ee693835762e, []int{291} 16655 } 16656 func (m *AgentUpgradeWindow) XXX_Unmarshal(b []byte) error { 16657 return m.Unmarshal(b) 16658 } 16659 func (m *AgentUpgradeWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16660 if deterministic { 16661 return xxx_messageInfo_AgentUpgradeWindow.Marshal(b, m, deterministic) 16662 } else { 16663 b = b[:cap(b)] 16664 n, err := m.MarshalToSizedBuffer(b) 16665 if err != nil { 16666 return nil, err 16667 } 16668 return b[:n], nil 16669 } 16670 } 16671 func (m *AgentUpgradeWindow) XXX_Merge(src proto.Message) { 16672 xxx_messageInfo_AgentUpgradeWindow.Merge(m, src) 16673 } 16674 func (m *AgentUpgradeWindow) XXX_Size() int { 16675 return m.Size() 16676 } 16677 func (m *AgentUpgradeWindow) XXX_DiscardUnknown() { 16678 xxx_messageInfo_AgentUpgradeWindow.DiscardUnknown(m) 16679 } 16680 16681 var xxx_messageInfo_AgentUpgradeWindow proto.InternalMessageInfo 16682 16683 // ScheduledAgentUpgradeWindow is a derived value representing a single 16684 // upgrade window. Upgraders deal with discrete start/end times, so we use the 16685 // agent upgrade window configuration object to generate a sequence of specific 16686 // scheduled windows. 16687 type ScheduledAgentUpgradeWindow struct { 16688 // Start is the start time of the upgrade window. 16689 Start time.Time `protobuf:"bytes,1,opt,name=Start,proto3,stdtime" json:"start"` 16690 // Stop is the stop time of the upgrade window. 16691 Stop time.Time `protobuf:"bytes,2,opt,name=Stop,proto3,stdtime" json:"stop"` 16692 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16693 XXX_unrecognized []byte `json:"-"` 16694 XXX_sizecache int32 `json:"-"` 16695 } 16696 16697 func (m *ScheduledAgentUpgradeWindow) Reset() { *m = ScheduledAgentUpgradeWindow{} } 16698 func (m *ScheduledAgentUpgradeWindow) String() string { return proto.CompactTextString(m) } 16699 func (*ScheduledAgentUpgradeWindow) ProtoMessage() {} 16700 func (*ScheduledAgentUpgradeWindow) Descriptor() ([]byte, []int) { 16701 return fileDescriptor_9198ee693835762e, []int{292} 16702 } 16703 func (m *ScheduledAgentUpgradeWindow) XXX_Unmarshal(b []byte) error { 16704 return m.Unmarshal(b) 16705 } 16706 func (m *ScheduledAgentUpgradeWindow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16707 if deterministic { 16708 return xxx_messageInfo_ScheduledAgentUpgradeWindow.Marshal(b, m, deterministic) 16709 } else { 16710 b = b[:cap(b)] 16711 n, err := m.MarshalToSizedBuffer(b) 16712 if err != nil { 16713 return nil, err 16714 } 16715 return b[:n], nil 16716 } 16717 } 16718 func (m *ScheduledAgentUpgradeWindow) XXX_Merge(src proto.Message) { 16719 xxx_messageInfo_ScheduledAgentUpgradeWindow.Merge(m, src) 16720 } 16721 func (m *ScheduledAgentUpgradeWindow) XXX_Size() int { 16722 return m.Size() 16723 } 16724 func (m *ScheduledAgentUpgradeWindow) XXX_DiscardUnknown() { 16725 xxx_messageInfo_ScheduledAgentUpgradeWindow.DiscardUnknown(m) 16726 } 16727 16728 var xxx_messageInfo_ScheduledAgentUpgradeWindow proto.InternalMessageInfo 16729 16730 // AgentUpgradeSchedule is the canonical representation of upcoming 16731 // agent upgrade windows as generated by the AgentUpgradeWindow config object. 16732 type AgentUpgradeSchedule struct { 16733 // Windows is the list of upcoming windows. 16734 Windows []ScheduledAgentUpgradeWindow `protobuf:"bytes,1,rep,name=Windows,proto3" json:"windows"` 16735 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16736 XXX_unrecognized []byte `json:"-"` 16737 XXX_sizecache int32 `json:"-"` 16738 } 16739 16740 func (m *AgentUpgradeSchedule) Reset() { *m = AgentUpgradeSchedule{} } 16741 func (m *AgentUpgradeSchedule) String() string { return proto.CompactTextString(m) } 16742 func (*AgentUpgradeSchedule) ProtoMessage() {} 16743 func (*AgentUpgradeSchedule) Descriptor() ([]byte, []int) { 16744 return fileDescriptor_9198ee693835762e, []int{293} 16745 } 16746 func (m *AgentUpgradeSchedule) XXX_Unmarshal(b []byte) error { 16747 return m.Unmarshal(b) 16748 } 16749 func (m *AgentUpgradeSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16750 if deterministic { 16751 return xxx_messageInfo_AgentUpgradeSchedule.Marshal(b, m, deterministic) 16752 } else { 16753 b = b[:cap(b)] 16754 n, err := m.MarshalToSizedBuffer(b) 16755 if err != nil { 16756 return nil, err 16757 } 16758 return b[:n], nil 16759 } 16760 } 16761 func (m *AgentUpgradeSchedule) XXX_Merge(src proto.Message) { 16762 xxx_messageInfo_AgentUpgradeSchedule.Merge(m, src) 16763 } 16764 func (m *AgentUpgradeSchedule) XXX_Size() int { 16765 return m.Size() 16766 } 16767 func (m *AgentUpgradeSchedule) XXX_DiscardUnknown() { 16768 xxx_messageInfo_AgentUpgradeSchedule.DiscardUnknown(m) 16769 } 16770 16771 var xxx_messageInfo_AgentUpgradeSchedule proto.InternalMessageInfo 16772 16773 // UserGroupV1 is a representation of an externally sourced user group. 16774 type UserGroupV1 struct { 16775 // Header is the resource header for the user group. 16776 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 16777 // Spec is the user group resource spec. 16778 Spec UserGroupSpecV1 `protobuf:"bytes,2,opt,name=Spec,proto3" json:"spec"` 16779 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16780 XXX_unrecognized []byte `json:"-"` 16781 XXX_sizecache int32 `json:"-"` 16782 } 16783 16784 func (m *UserGroupV1) Reset() { *m = UserGroupV1{} } 16785 func (*UserGroupV1) ProtoMessage() {} 16786 func (*UserGroupV1) Descriptor() ([]byte, []int) { 16787 return fileDescriptor_9198ee693835762e, []int{294} 16788 } 16789 func (m *UserGroupV1) XXX_Unmarshal(b []byte) error { 16790 return m.Unmarshal(b) 16791 } 16792 func (m *UserGroupV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16793 if deterministic { 16794 return xxx_messageInfo_UserGroupV1.Marshal(b, m, deterministic) 16795 } else { 16796 b = b[:cap(b)] 16797 n, err := m.MarshalToSizedBuffer(b) 16798 if err != nil { 16799 return nil, err 16800 } 16801 return b[:n], nil 16802 } 16803 } 16804 func (m *UserGroupV1) XXX_Merge(src proto.Message) { 16805 xxx_messageInfo_UserGroupV1.Merge(m, src) 16806 } 16807 func (m *UserGroupV1) XXX_Size() int { 16808 return m.Size() 16809 } 16810 func (m *UserGroupV1) XXX_DiscardUnknown() { 16811 xxx_messageInfo_UserGroupV1.DiscardUnknown(m) 16812 } 16813 16814 var xxx_messageInfo_UserGroupV1 proto.InternalMessageInfo 16815 16816 // UserGroupSpecV1 is the specification of a user group. 16817 type UserGroupSpecV1 struct { 16818 // Applications are a list of application IDs belonging to this user group. 16819 Applications []string `protobuf:"bytes,1,rep,name=Applications,proto3" json:"Applications,omitempty"` 16820 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16821 XXX_unrecognized []byte `json:"-"` 16822 XXX_sizecache int32 `json:"-"` 16823 } 16824 16825 func (m *UserGroupSpecV1) Reset() { *m = UserGroupSpecV1{} } 16826 func (m *UserGroupSpecV1) String() string { return proto.CompactTextString(m) } 16827 func (*UserGroupSpecV1) ProtoMessage() {} 16828 func (*UserGroupSpecV1) Descriptor() ([]byte, []int) { 16829 return fileDescriptor_9198ee693835762e, []int{295} 16830 } 16831 func (m *UserGroupSpecV1) XXX_Unmarshal(b []byte) error { 16832 return m.Unmarshal(b) 16833 } 16834 func (m *UserGroupSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16835 if deterministic { 16836 return xxx_messageInfo_UserGroupSpecV1.Marshal(b, m, deterministic) 16837 } else { 16838 b = b[:cap(b)] 16839 n, err := m.MarshalToSizedBuffer(b) 16840 if err != nil { 16841 return nil, err 16842 } 16843 return b[:n], nil 16844 } 16845 } 16846 func (m *UserGroupSpecV1) XXX_Merge(src proto.Message) { 16847 xxx_messageInfo_UserGroupSpecV1.Merge(m, src) 16848 } 16849 func (m *UserGroupSpecV1) XXX_Size() int { 16850 return m.Size() 16851 } 16852 func (m *UserGroupSpecV1) XXX_DiscardUnknown() { 16853 xxx_messageInfo_UserGroupSpecV1.DiscardUnknown(m) 16854 } 16855 16856 var xxx_messageInfo_UserGroupSpecV1 proto.InternalMessageInfo 16857 16858 // OktaImportRuleSpecV1 is a Okta import rule specification. 16859 type OktaImportRuleSpecV1 struct { 16860 // Priority represents the priority of the rule application. Lower numbered rules will be applied first. 16861 Priority int32 `protobuf:"varint,1,opt,name=Priority,proto3" json:"priority"` 16862 // Mappings is a list of matches that will map match conditions to labels. 16863 Mappings []*OktaImportRuleMappingV1 `protobuf:"bytes,2,rep,name=Mappings,proto3" json:"mappings"` 16864 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16865 XXX_unrecognized []byte `json:"-"` 16866 XXX_sizecache int32 `json:"-"` 16867 } 16868 16869 func (m *OktaImportRuleSpecV1) Reset() { *m = OktaImportRuleSpecV1{} } 16870 func (m *OktaImportRuleSpecV1) String() string { return proto.CompactTextString(m) } 16871 func (*OktaImportRuleSpecV1) ProtoMessage() {} 16872 func (*OktaImportRuleSpecV1) Descriptor() ([]byte, []int) { 16873 return fileDescriptor_9198ee693835762e, []int{296} 16874 } 16875 func (m *OktaImportRuleSpecV1) XXX_Unmarshal(b []byte) error { 16876 return m.Unmarshal(b) 16877 } 16878 func (m *OktaImportRuleSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16879 if deterministic { 16880 return xxx_messageInfo_OktaImportRuleSpecV1.Marshal(b, m, deterministic) 16881 } else { 16882 b = b[:cap(b)] 16883 n, err := m.MarshalToSizedBuffer(b) 16884 if err != nil { 16885 return nil, err 16886 } 16887 return b[:n], nil 16888 } 16889 } 16890 func (m *OktaImportRuleSpecV1) XXX_Merge(src proto.Message) { 16891 xxx_messageInfo_OktaImportRuleSpecV1.Merge(m, src) 16892 } 16893 func (m *OktaImportRuleSpecV1) XXX_Size() int { 16894 return m.Size() 16895 } 16896 func (m *OktaImportRuleSpecV1) XXX_DiscardUnknown() { 16897 xxx_messageInfo_OktaImportRuleSpecV1.DiscardUnknown(m) 16898 } 16899 16900 var xxx_messageInfo_OktaImportRuleSpecV1 proto.InternalMessageInfo 16901 16902 // OktaImportRuleMappingV1 is a list of matches that map match rules to labels. 16903 type OktaImportRuleMappingV1 struct { 16904 // Match is a set of matching rules for this mapping. If any of these match, then the mapping will be applied. 16905 Match []*OktaImportRuleMatchV1 `protobuf:"bytes,1,rep,name=Match,proto3" json:"match"` 16906 // AddLabels specifies which labels to add if any of the previous matches match. 16907 AddLabels map[string]string `protobuf:"bytes,2,rep,name=AddLabels,proto3" json:"add_labels" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 16908 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16909 XXX_unrecognized []byte `json:"-"` 16910 XXX_sizecache int32 `json:"-"` 16911 } 16912 16913 func (m *OktaImportRuleMappingV1) Reset() { *m = OktaImportRuleMappingV1{} } 16914 func (m *OktaImportRuleMappingV1) String() string { return proto.CompactTextString(m) } 16915 func (*OktaImportRuleMappingV1) ProtoMessage() {} 16916 func (*OktaImportRuleMappingV1) Descriptor() ([]byte, []int) { 16917 return fileDescriptor_9198ee693835762e, []int{297} 16918 } 16919 func (m *OktaImportRuleMappingV1) XXX_Unmarshal(b []byte) error { 16920 return m.Unmarshal(b) 16921 } 16922 func (m *OktaImportRuleMappingV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16923 if deterministic { 16924 return xxx_messageInfo_OktaImportRuleMappingV1.Marshal(b, m, deterministic) 16925 } else { 16926 b = b[:cap(b)] 16927 n, err := m.MarshalToSizedBuffer(b) 16928 if err != nil { 16929 return nil, err 16930 } 16931 return b[:n], nil 16932 } 16933 } 16934 func (m *OktaImportRuleMappingV1) XXX_Merge(src proto.Message) { 16935 xxx_messageInfo_OktaImportRuleMappingV1.Merge(m, src) 16936 } 16937 func (m *OktaImportRuleMappingV1) XXX_Size() int { 16938 return m.Size() 16939 } 16940 func (m *OktaImportRuleMappingV1) XXX_DiscardUnknown() { 16941 xxx_messageInfo_OktaImportRuleMappingV1.DiscardUnknown(m) 16942 } 16943 16944 var xxx_messageInfo_OktaImportRuleMappingV1 proto.InternalMessageInfo 16945 16946 // OktaImportRuleV1 is a representation of labeling rules for importing of Okta objects. 16947 type OktaImportRuleV1 struct { 16948 // Header is the resource header for the SAML IdP service provider. 16949 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 16950 // Spec is the specification for the Okta import rule. 16951 Spec OktaImportRuleSpecV1 `protobuf:"bytes,2,opt,name=Spec,proto3" json:"spec"` 16952 XXX_NoUnkeyedLiteral struct{} `json:"-"` 16953 XXX_unrecognized []byte `json:"-"` 16954 XXX_sizecache int32 `json:"-"` 16955 } 16956 16957 func (m *OktaImportRuleV1) Reset() { *m = OktaImportRuleV1{} } 16958 func (*OktaImportRuleV1) ProtoMessage() {} 16959 func (*OktaImportRuleV1) Descriptor() ([]byte, []int) { 16960 return fileDescriptor_9198ee693835762e, []int{298} 16961 } 16962 func (m *OktaImportRuleV1) XXX_Unmarshal(b []byte) error { 16963 return m.Unmarshal(b) 16964 } 16965 func (m *OktaImportRuleV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 16966 if deterministic { 16967 return xxx_messageInfo_OktaImportRuleV1.Marshal(b, m, deterministic) 16968 } else { 16969 b = b[:cap(b)] 16970 n, err := m.MarshalToSizedBuffer(b) 16971 if err != nil { 16972 return nil, err 16973 } 16974 return b[:n], nil 16975 } 16976 } 16977 func (m *OktaImportRuleV1) XXX_Merge(src proto.Message) { 16978 xxx_messageInfo_OktaImportRuleV1.Merge(m, src) 16979 } 16980 func (m *OktaImportRuleV1) XXX_Size() int { 16981 return m.Size() 16982 } 16983 func (m *OktaImportRuleV1) XXX_DiscardUnknown() { 16984 xxx_messageInfo_OktaImportRuleV1.DiscardUnknown(m) 16985 } 16986 16987 var xxx_messageInfo_OktaImportRuleV1 proto.InternalMessageInfo 16988 16989 // OktaImportRuleMatchV1 is a match rule for a mapping. 16990 type OktaImportRuleMatchV1 struct { 16991 // AppIDs is a list of app IDs to match against. 16992 AppIDs []string `protobuf:"bytes,1,rep,name=AppIDs,proto3" json:"app_ids,omitempty"` 16993 // GroupIDs is a list of group IDs to match against. 16994 GroupIDs []string `protobuf:"bytes,2,rep,name=GroupIDs,proto3" json:"group_ids,omitempty"` 16995 // AppNameRegexes is a list of regexes to match against app names. 16996 AppNameRegexes []string `protobuf:"bytes,3,rep,name=AppNameRegexes,proto3" json:"app_name_regexes,omitempty"` 16997 // GroupNameRegexes is a list of regexes to match against group names. 16998 GroupNameRegexes []string `protobuf:"bytes,4,rep,name=GroupNameRegexes,proto3" json:"group_name_regexes,omitempty"` 16999 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17000 XXX_unrecognized []byte `json:"-"` 17001 XXX_sizecache int32 `json:"-"` 17002 } 17003 17004 func (m *OktaImportRuleMatchV1) Reset() { *m = OktaImportRuleMatchV1{} } 17005 func (m *OktaImportRuleMatchV1) String() string { return proto.CompactTextString(m) } 17006 func (*OktaImportRuleMatchV1) ProtoMessage() {} 17007 func (*OktaImportRuleMatchV1) Descriptor() ([]byte, []int) { 17008 return fileDescriptor_9198ee693835762e, []int{299} 17009 } 17010 func (m *OktaImportRuleMatchV1) XXX_Unmarshal(b []byte) error { 17011 return m.Unmarshal(b) 17012 } 17013 func (m *OktaImportRuleMatchV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17014 if deterministic { 17015 return xxx_messageInfo_OktaImportRuleMatchV1.Marshal(b, m, deterministic) 17016 } else { 17017 b = b[:cap(b)] 17018 n, err := m.MarshalToSizedBuffer(b) 17019 if err != nil { 17020 return nil, err 17021 } 17022 return b[:n], nil 17023 } 17024 } 17025 func (m *OktaImportRuleMatchV1) XXX_Merge(src proto.Message) { 17026 xxx_messageInfo_OktaImportRuleMatchV1.Merge(m, src) 17027 } 17028 func (m *OktaImportRuleMatchV1) XXX_Size() int { 17029 return m.Size() 17030 } 17031 func (m *OktaImportRuleMatchV1) XXX_DiscardUnknown() { 17032 xxx_messageInfo_OktaImportRuleMatchV1.DiscardUnknown(m) 17033 } 17034 17035 var xxx_messageInfo_OktaImportRuleMatchV1 proto.InternalMessageInfo 17036 17037 // OktaAssignmentV1 is a representation of an action or set of actions taken by Teleport to assign Okta users to applications or groups. 17038 type OktaAssignmentV1 struct { 17039 // Header is the resource header for the Okta assignment. 17040 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 17041 // Spec is the specification for the Okta assignment. 17042 Spec OktaAssignmentSpecV1 `protobuf:"bytes,2,opt,name=Spec,proto3" json:"spec"` 17043 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17044 XXX_unrecognized []byte `json:"-"` 17045 XXX_sizecache int32 `json:"-"` 17046 } 17047 17048 func (m *OktaAssignmentV1) Reset() { *m = OktaAssignmentV1{} } 17049 func (*OktaAssignmentV1) ProtoMessage() {} 17050 func (*OktaAssignmentV1) Descriptor() ([]byte, []int) { 17051 return fileDescriptor_9198ee693835762e, []int{300} 17052 } 17053 func (m *OktaAssignmentV1) XXX_Unmarshal(b []byte) error { 17054 return m.Unmarshal(b) 17055 } 17056 func (m *OktaAssignmentV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17057 if deterministic { 17058 return xxx_messageInfo_OktaAssignmentV1.Marshal(b, m, deterministic) 17059 } else { 17060 b = b[:cap(b)] 17061 n, err := m.MarshalToSizedBuffer(b) 17062 if err != nil { 17063 return nil, err 17064 } 17065 return b[:n], nil 17066 } 17067 } 17068 func (m *OktaAssignmentV1) XXX_Merge(src proto.Message) { 17069 xxx_messageInfo_OktaAssignmentV1.Merge(m, src) 17070 } 17071 func (m *OktaAssignmentV1) XXX_Size() int { 17072 return m.Size() 17073 } 17074 func (m *OktaAssignmentV1) XXX_DiscardUnknown() { 17075 xxx_messageInfo_OktaAssignmentV1.DiscardUnknown(m) 17076 } 17077 17078 var xxx_messageInfo_OktaAssignmentV1 proto.InternalMessageInfo 17079 17080 // OktaAssignmentSpecV1 is a Okta assignment specification. 17081 type OktaAssignmentSpecV1 struct { 17082 // User is the user that these actions will be applied to. 17083 User string `protobuf:"bytes,1,opt,name=User,proto3" json:"user"` 17084 // Targets is a list of Okta targets to take on a user. 17085 Targets []*OktaAssignmentTargetV1 `protobuf:"bytes,2,rep,name=Targets,proto3" json:"targets"` 17086 // CleanupTime is an optional field that notes when the assignment should be cleaned up. 17087 // If absent, the assignment will never be cleaned up. 17088 CleanupTime time.Time `protobuf:"bytes,3,opt,name=CleanupTime,proto3,stdtime" json:"cleanup_time"` 17089 // Status is the status of the assignment. 17090 Status OktaAssignmentSpecV1_OktaAssignmentStatus `protobuf:"varint,4,opt,name=status,proto3,enum=types.OktaAssignmentSpecV1_OktaAssignmentStatus" json:"status"` 17091 // LastTransition is an optional field that notes when the last state transition 17092 // occurred for this action. If absent, this object has never transitioned. 17093 LastTransition time.Time `protobuf:"bytes,5,opt,name=LastTransition,proto3,stdtime" json:"last_transition"` 17094 // Finalized is set when the assignment has been properly cleaned up. 17095 Finalized bool `protobuf:"varint,6,opt,name=Finalized,proto3" json:"finalized"` 17096 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17097 XXX_unrecognized []byte `json:"-"` 17098 XXX_sizecache int32 `json:"-"` 17099 } 17100 17101 func (m *OktaAssignmentSpecV1) Reset() { *m = OktaAssignmentSpecV1{} } 17102 func (m *OktaAssignmentSpecV1) String() string { return proto.CompactTextString(m) } 17103 func (*OktaAssignmentSpecV1) ProtoMessage() {} 17104 func (*OktaAssignmentSpecV1) Descriptor() ([]byte, []int) { 17105 return fileDescriptor_9198ee693835762e, []int{301} 17106 } 17107 func (m *OktaAssignmentSpecV1) XXX_Unmarshal(b []byte) error { 17108 return m.Unmarshal(b) 17109 } 17110 func (m *OktaAssignmentSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17111 if deterministic { 17112 return xxx_messageInfo_OktaAssignmentSpecV1.Marshal(b, m, deterministic) 17113 } else { 17114 b = b[:cap(b)] 17115 n, err := m.MarshalToSizedBuffer(b) 17116 if err != nil { 17117 return nil, err 17118 } 17119 return b[:n], nil 17120 } 17121 } 17122 func (m *OktaAssignmentSpecV1) XXX_Merge(src proto.Message) { 17123 xxx_messageInfo_OktaAssignmentSpecV1.Merge(m, src) 17124 } 17125 func (m *OktaAssignmentSpecV1) XXX_Size() int { 17126 return m.Size() 17127 } 17128 func (m *OktaAssignmentSpecV1) XXX_DiscardUnknown() { 17129 xxx_messageInfo_OktaAssignmentSpecV1.DiscardUnknown(m) 17130 } 17131 17132 var xxx_messageInfo_OktaAssignmentSpecV1 proto.InternalMessageInfo 17133 17134 // OktaAssignmentTargetV1 is a target of an Okta assignment. 17135 type OktaAssignmentTargetV1 struct { 17136 // Type is the type of Okta resource this assignment is targeting. 17137 Type OktaAssignmentTargetV1_OktaAssignmentTargetType `protobuf:"varint,1,opt,name=type,proto3,enum=types.OktaAssignmentTargetV1_OktaAssignmentTargetType" json:"type"` 17138 // ID is the ID of the Okta resource that's being targeted. 17139 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id"` 17140 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17141 XXX_unrecognized []byte `json:"-"` 17142 XXX_sizecache int32 `json:"-"` 17143 } 17144 17145 func (m *OktaAssignmentTargetV1) Reset() { *m = OktaAssignmentTargetV1{} } 17146 func (m *OktaAssignmentTargetV1) String() string { return proto.CompactTextString(m) } 17147 func (*OktaAssignmentTargetV1) ProtoMessage() {} 17148 func (*OktaAssignmentTargetV1) Descriptor() ([]byte, []int) { 17149 return fileDescriptor_9198ee693835762e, []int{302} 17150 } 17151 func (m *OktaAssignmentTargetV1) XXX_Unmarshal(b []byte) error { 17152 return m.Unmarshal(b) 17153 } 17154 func (m *OktaAssignmentTargetV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17155 if deterministic { 17156 return xxx_messageInfo_OktaAssignmentTargetV1.Marshal(b, m, deterministic) 17157 } else { 17158 b = b[:cap(b)] 17159 n, err := m.MarshalToSizedBuffer(b) 17160 if err != nil { 17161 return nil, err 17162 } 17163 return b[:n], nil 17164 } 17165 } 17166 func (m *OktaAssignmentTargetV1) XXX_Merge(src proto.Message) { 17167 xxx_messageInfo_OktaAssignmentTargetV1.Merge(m, src) 17168 } 17169 func (m *OktaAssignmentTargetV1) XXX_Size() int { 17170 return m.Size() 17171 } 17172 func (m *OktaAssignmentTargetV1) XXX_DiscardUnknown() { 17173 xxx_messageInfo_OktaAssignmentTargetV1.DiscardUnknown(m) 17174 } 17175 17176 var xxx_messageInfo_OktaAssignmentTargetV1 proto.InternalMessageInfo 17177 17178 // IntegrationV1 represents a connection between Teleport and some other 3rd party system. 17179 // This connection allows API access to that service from Teleport. 17180 // Each Integration instance must have a SubKind defined which identifies the external system. 17181 type IntegrationV1 struct { 17182 // Header is the resource header. 17183 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 17184 // Spec is an Integration specification. 17185 Spec IntegrationSpecV1 `protobuf:"bytes,2,opt,name=Spec,proto3" json:"spec"` 17186 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17187 XXX_unrecognized []byte `json:"-"` 17188 XXX_sizecache int32 `json:"-"` 17189 } 17190 17191 func (m *IntegrationV1) Reset() { *m = IntegrationV1{} } 17192 func (*IntegrationV1) ProtoMessage() {} 17193 func (*IntegrationV1) Descriptor() ([]byte, []int) { 17194 return fileDescriptor_9198ee693835762e, []int{303} 17195 } 17196 func (m *IntegrationV1) XXX_Unmarshal(b []byte) error { 17197 return m.Unmarshal(b) 17198 } 17199 func (m *IntegrationV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17200 if deterministic { 17201 return xxx_messageInfo_IntegrationV1.Marshal(b, m, deterministic) 17202 } else { 17203 b = b[:cap(b)] 17204 n, err := m.MarshalToSizedBuffer(b) 17205 if err != nil { 17206 return nil, err 17207 } 17208 return b[:n], nil 17209 } 17210 } 17211 func (m *IntegrationV1) XXX_Merge(src proto.Message) { 17212 xxx_messageInfo_IntegrationV1.Merge(m, src) 17213 } 17214 func (m *IntegrationV1) XXX_Size() int { 17215 return m.Size() 17216 } 17217 func (m *IntegrationV1) XXX_DiscardUnknown() { 17218 xxx_messageInfo_IntegrationV1.DiscardUnknown(m) 17219 } 17220 17221 var xxx_messageInfo_IntegrationV1 proto.InternalMessageInfo 17222 17223 // IntegrationSpecV1 contains properties of all the supported integrations. 17224 type IntegrationSpecV1 struct { 17225 // Types that are valid to be assigned to SubKindSpec: 17226 // 17227 // *IntegrationSpecV1_AWSOIDC 17228 // *IntegrationSpecV1_AzureOIDC 17229 SubKindSpec isIntegrationSpecV1_SubKindSpec `protobuf_oneof:"SubKindSpec"` 17230 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17231 XXX_unrecognized []byte `json:"-"` 17232 XXX_sizecache int32 `json:"-"` 17233 } 17234 17235 func (m *IntegrationSpecV1) Reset() { *m = IntegrationSpecV1{} } 17236 func (m *IntegrationSpecV1) String() string { return proto.CompactTextString(m) } 17237 func (*IntegrationSpecV1) ProtoMessage() {} 17238 func (*IntegrationSpecV1) Descriptor() ([]byte, []int) { 17239 return fileDescriptor_9198ee693835762e, []int{304} 17240 } 17241 func (m *IntegrationSpecV1) XXX_Unmarshal(b []byte) error { 17242 return m.Unmarshal(b) 17243 } 17244 func (m *IntegrationSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17245 if deterministic { 17246 return xxx_messageInfo_IntegrationSpecV1.Marshal(b, m, deterministic) 17247 } else { 17248 b = b[:cap(b)] 17249 n, err := m.MarshalToSizedBuffer(b) 17250 if err != nil { 17251 return nil, err 17252 } 17253 return b[:n], nil 17254 } 17255 } 17256 func (m *IntegrationSpecV1) XXX_Merge(src proto.Message) { 17257 xxx_messageInfo_IntegrationSpecV1.Merge(m, src) 17258 } 17259 func (m *IntegrationSpecV1) XXX_Size() int { 17260 return m.Size() 17261 } 17262 func (m *IntegrationSpecV1) XXX_DiscardUnknown() { 17263 xxx_messageInfo_IntegrationSpecV1.DiscardUnknown(m) 17264 } 17265 17266 var xxx_messageInfo_IntegrationSpecV1 proto.InternalMessageInfo 17267 17268 type isIntegrationSpecV1_SubKindSpec interface { 17269 isIntegrationSpecV1_SubKindSpec() 17270 MarshalTo([]byte) (int, error) 17271 Size() int 17272 } 17273 17274 type IntegrationSpecV1_AWSOIDC struct { 17275 AWSOIDC *AWSOIDCIntegrationSpecV1 `protobuf:"bytes,1,opt,name=AWSOIDC,proto3,oneof" json:"aws_oidc,omitempty"` 17276 } 17277 type IntegrationSpecV1_AzureOIDC struct { 17278 AzureOIDC *AzureOIDCIntegrationSpecV1 `protobuf:"bytes,2,opt,name=AzureOIDC,proto3,oneof" json:"azure_oidc,omitempty"` 17279 } 17280 17281 func (*IntegrationSpecV1_AWSOIDC) isIntegrationSpecV1_SubKindSpec() {} 17282 func (*IntegrationSpecV1_AzureOIDC) isIntegrationSpecV1_SubKindSpec() {} 17283 17284 func (m *IntegrationSpecV1) GetSubKindSpec() isIntegrationSpecV1_SubKindSpec { 17285 if m != nil { 17286 return m.SubKindSpec 17287 } 17288 return nil 17289 } 17290 17291 func (m *IntegrationSpecV1) GetAWSOIDC() *AWSOIDCIntegrationSpecV1 { 17292 if x, ok := m.GetSubKindSpec().(*IntegrationSpecV1_AWSOIDC); ok { 17293 return x.AWSOIDC 17294 } 17295 return nil 17296 } 17297 17298 func (m *IntegrationSpecV1) GetAzureOIDC() *AzureOIDCIntegrationSpecV1 { 17299 if x, ok := m.GetSubKindSpec().(*IntegrationSpecV1_AzureOIDC); ok { 17300 return x.AzureOIDC 17301 } 17302 return nil 17303 } 17304 17305 // XXX_OneofWrappers is for the internal use of the proto package. 17306 func (*IntegrationSpecV1) XXX_OneofWrappers() []interface{} { 17307 return []interface{}{ 17308 (*IntegrationSpecV1_AWSOIDC)(nil), 17309 (*IntegrationSpecV1_AzureOIDC)(nil), 17310 } 17311 } 17312 17313 // AWSOIDCIntegrationSpecV1 contains the spec properties for the AWS OIDC SubKind Integration. 17314 type AWSOIDCIntegrationSpecV1 struct { 17315 // RoleARN contains the Role ARN used to set up the Integration. 17316 // This is the AWS Role that Teleport will use to issue tokens for API Calls. 17317 RoleARN string `protobuf:"bytes,1,opt,name=RoleARN,proto3" json:"role_arn,omitempty"` 17318 // IssuerS3URI is the Identity Provider that was configured in AWS. 17319 // This bucket/prefix/* files must be publicly accessible and contain the following: 17320 // > .well-known/openid-configuration 17321 // > .well-known/jwks 17322 // Format: s3://<bucket>/<prefix> 17323 // Optional. The proxy's endpoint is used if it is not specified. 17324 IssuerS3URI string `protobuf:"bytes,2,opt,name=IssuerS3URI,proto3" json:"issuer_s3_uri,omitempty"` 17325 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17326 XXX_unrecognized []byte `json:"-"` 17327 XXX_sizecache int32 `json:"-"` 17328 } 17329 17330 func (m *AWSOIDCIntegrationSpecV1) Reset() { *m = AWSOIDCIntegrationSpecV1{} } 17331 func (m *AWSOIDCIntegrationSpecV1) String() string { return proto.CompactTextString(m) } 17332 func (*AWSOIDCIntegrationSpecV1) ProtoMessage() {} 17333 func (*AWSOIDCIntegrationSpecV1) Descriptor() ([]byte, []int) { 17334 return fileDescriptor_9198ee693835762e, []int{305} 17335 } 17336 func (m *AWSOIDCIntegrationSpecV1) XXX_Unmarshal(b []byte) error { 17337 return m.Unmarshal(b) 17338 } 17339 func (m *AWSOIDCIntegrationSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17340 if deterministic { 17341 return xxx_messageInfo_AWSOIDCIntegrationSpecV1.Marshal(b, m, deterministic) 17342 } else { 17343 b = b[:cap(b)] 17344 n, err := m.MarshalToSizedBuffer(b) 17345 if err != nil { 17346 return nil, err 17347 } 17348 return b[:n], nil 17349 } 17350 } 17351 func (m *AWSOIDCIntegrationSpecV1) XXX_Merge(src proto.Message) { 17352 xxx_messageInfo_AWSOIDCIntegrationSpecV1.Merge(m, src) 17353 } 17354 func (m *AWSOIDCIntegrationSpecV1) XXX_Size() int { 17355 return m.Size() 17356 } 17357 func (m *AWSOIDCIntegrationSpecV1) XXX_DiscardUnknown() { 17358 xxx_messageInfo_AWSOIDCIntegrationSpecV1.DiscardUnknown(m) 17359 } 17360 17361 var xxx_messageInfo_AWSOIDCIntegrationSpecV1 proto.InternalMessageInfo 17362 17363 // AzureOIDCIntegrationSpecV1 contains the spec properties for the Azure OIDC SubKind Integration. 17364 type AzureOIDCIntegrationSpecV1 struct { 17365 // TenantID specifies the ID of Entra Tenant (Directory) 17366 // that this plugin integrates with. 17367 TenantID string `protobuf:"bytes,1,opt,name=TenantID,proto3" json:"tenant_id,omitempty"` 17368 // ClientID specifies the ID of Azure enterprise application (client) 17369 // that corresponds to this plugin. 17370 ClientID string `protobuf:"bytes,2,opt,name=ClientID,proto3" json:"client_id,omitempty"` 17371 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17372 XXX_unrecognized []byte `json:"-"` 17373 XXX_sizecache int32 `json:"-"` 17374 } 17375 17376 func (m *AzureOIDCIntegrationSpecV1) Reset() { *m = AzureOIDCIntegrationSpecV1{} } 17377 func (m *AzureOIDCIntegrationSpecV1) String() string { return proto.CompactTextString(m) } 17378 func (*AzureOIDCIntegrationSpecV1) ProtoMessage() {} 17379 func (*AzureOIDCIntegrationSpecV1) Descriptor() ([]byte, []int) { 17380 return fileDescriptor_9198ee693835762e, []int{306} 17381 } 17382 func (m *AzureOIDCIntegrationSpecV1) XXX_Unmarshal(b []byte) error { 17383 return m.Unmarshal(b) 17384 } 17385 func (m *AzureOIDCIntegrationSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17386 if deterministic { 17387 return xxx_messageInfo_AzureOIDCIntegrationSpecV1.Marshal(b, m, deterministic) 17388 } else { 17389 b = b[:cap(b)] 17390 n, err := m.MarshalToSizedBuffer(b) 17391 if err != nil { 17392 return nil, err 17393 } 17394 return b[:n], nil 17395 } 17396 } 17397 func (m *AzureOIDCIntegrationSpecV1) XXX_Merge(src proto.Message) { 17398 xxx_messageInfo_AzureOIDCIntegrationSpecV1.Merge(m, src) 17399 } 17400 func (m *AzureOIDCIntegrationSpecV1) XXX_Size() int { 17401 return m.Size() 17402 } 17403 func (m *AzureOIDCIntegrationSpecV1) XXX_DiscardUnknown() { 17404 xxx_messageInfo_AzureOIDCIntegrationSpecV1.DiscardUnknown(m) 17405 } 17406 17407 var xxx_messageInfo_AzureOIDCIntegrationSpecV1 proto.InternalMessageInfo 17408 17409 // HeadlessAuthentication holds data for an ongoing headless authentication attempt. 17410 type HeadlessAuthentication struct { 17411 // Header is the resource header. 17412 ResourceHeader `protobuf:"bytes,1,opt,name=header,proto3,embedded=header" json:"header"` 17413 // User is a teleport user name. 17414 User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` 17415 // PublicKey is an ssh public key to sign in case of successful auth. 17416 PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` 17417 // State is the headless authentication request state. 17418 State HeadlessAuthenticationState `protobuf:"varint,4,opt,name=state,proto3,enum=types.HeadlessAuthenticationState" json:"state,omitempty"` 17419 // MFADevice is the mfa device used to approve the request in case of successful auth. 17420 MfaDevice *MFADevice `protobuf:"bytes,5,opt,name=mfa_device,json=mfaDevice,proto3" json:"mfa_device,omitempty"` 17421 // ClientIPAddress is the IP address of the client being authenticated. 17422 ClientIpAddress string `protobuf:"bytes,6,opt,name=client_ip_address,json=clientIpAddress,proto3" json:"client_ip_address,omitempty"` 17423 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17424 XXX_unrecognized []byte `json:"-"` 17425 XXX_sizecache int32 `json:"-"` 17426 } 17427 17428 func (m *HeadlessAuthentication) Reset() { *m = HeadlessAuthentication{} } 17429 func (m *HeadlessAuthentication) String() string { return proto.CompactTextString(m) } 17430 func (*HeadlessAuthentication) ProtoMessage() {} 17431 func (*HeadlessAuthentication) Descriptor() ([]byte, []int) { 17432 return fileDescriptor_9198ee693835762e, []int{307} 17433 } 17434 func (m *HeadlessAuthentication) XXX_Unmarshal(b []byte) error { 17435 return m.Unmarshal(b) 17436 } 17437 func (m *HeadlessAuthentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17438 if deterministic { 17439 return xxx_messageInfo_HeadlessAuthentication.Marshal(b, m, deterministic) 17440 } else { 17441 b = b[:cap(b)] 17442 n, err := m.MarshalToSizedBuffer(b) 17443 if err != nil { 17444 return nil, err 17445 } 17446 return b[:n], nil 17447 } 17448 } 17449 func (m *HeadlessAuthentication) XXX_Merge(src proto.Message) { 17450 xxx_messageInfo_HeadlessAuthentication.Merge(m, src) 17451 } 17452 func (m *HeadlessAuthentication) XXX_Size() int { 17453 return m.Size() 17454 } 17455 func (m *HeadlessAuthentication) XXX_DiscardUnknown() { 17456 xxx_messageInfo_HeadlessAuthentication.DiscardUnknown(m) 17457 } 17458 17459 var xxx_messageInfo_HeadlessAuthentication proto.InternalMessageInfo 17460 17461 // WatchKind specifies resource kind to watch 17462 // When adding fields to this struct, make sure to review/update WatchKind.Contains method. 17463 type WatchKind struct { 17464 // Kind is a resource kind to watch 17465 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 17466 // LoadSecrets specifies whether to load secrets 17467 LoadSecrets bool `protobuf:"varint,2,opt,name=LoadSecrets,proto3" json:"load_secrets"` 17468 // Name is an optional specific resource type to watch, 17469 // if specified only the events with a specific resource 17470 // name will be sent 17471 Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"name"` 17472 // Filter is an optional mapping of custom filter parameters. 17473 // Valid values vary by resource kind. 17474 Filter map[string]string `protobuf:"bytes,4,rep,name=Filter,proto3" json:"filter,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 17475 // SubKind is a resource subkind to watch 17476 SubKind string `protobuf:"bytes,5,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 17477 // Version optionally specifies the resource version to watch. 17478 // Currently this field is ignored. 17479 Version string `protobuf:"bytes,6,opt,name=Version,proto3" json:"version,omitempty"` 17480 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17481 XXX_unrecognized []byte `json:"-"` 17482 XXX_sizecache int32 `json:"-"` 17483 } 17484 17485 func (m *WatchKind) Reset() { *m = WatchKind{} } 17486 func (m *WatchKind) String() string { return proto.CompactTextString(m) } 17487 func (*WatchKind) ProtoMessage() {} 17488 func (*WatchKind) Descriptor() ([]byte, []int) { 17489 return fileDescriptor_9198ee693835762e, []int{308} 17490 } 17491 func (m *WatchKind) XXX_Unmarshal(b []byte) error { 17492 return m.Unmarshal(b) 17493 } 17494 func (m *WatchKind) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17495 if deterministic { 17496 return xxx_messageInfo_WatchKind.Marshal(b, m, deterministic) 17497 } else { 17498 b = b[:cap(b)] 17499 n, err := m.MarshalToSizedBuffer(b) 17500 if err != nil { 17501 return nil, err 17502 } 17503 return b[:n], nil 17504 } 17505 } 17506 func (m *WatchKind) XXX_Merge(src proto.Message) { 17507 xxx_messageInfo_WatchKind.Merge(m, src) 17508 } 17509 func (m *WatchKind) XXX_Size() int { 17510 return m.Size() 17511 } 17512 func (m *WatchKind) XXX_DiscardUnknown() { 17513 xxx_messageInfo_WatchKind.DiscardUnknown(m) 17514 } 17515 17516 var xxx_messageInfo_WatchKind proto.InternalMessageInfo 17517 17518 // WatchStatusV1 is intended to be attached to OpInit events and contain information about a successful WatchEvents call. 17519 type WatchStatusV1 struct { 17520 // Kind is the resource kind. 17521 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 17522 // SubKind is an optional resource subkind. Currently unused for this resource. 17523 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind,omitempty"` 17524 // Version is the resource version. 17525 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 17526 // Metadata is the resource metadata. 17527 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 17528 // Spec is the resource spec. 17529 Spec WatchStatusSpecV1 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 17530 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17531 XXX_unrecognized []byte `json:"-"` 17532 XXX_sizecache int32 `json:"-"` 17533 } 17534 17535 func (m *WatchStatusV1) Reset() { *m = WatchStatusV1{} } 17536 func (m *WatchStatusV1) String() string { return proto.CompactTextString(m) } 17537 func (*WatchStatusV1) ProtoMessage() {} 17538 func (*WatchStatusV1) Descriptor() ([]byte, []int) { 17539 return fileDescriptor_9198ee693835762e, []int{309} 17540 } 17541 func (m *WatchStatusV1) XXX_Unmarshal(b []byte) error { 17542 return m.Unmarshal(b) 17543 } 17544 func (m *WatchStatusV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17545 if deterministic { 17546 return xxx_messageInfo_WatchStatusV1.Marshal(b, m, deterministic) 17547 } else { 17548 b = b[:cap(b)] 17549 n, err := m.MarshalToSizedBuffer(b) 17550 if err != nil { 17551 return nil, err 17552 } 17553 return b[:n], nil 17554 } 17555 } 17556 func (m *WatchStatusV1) XXX_Merge(src proto.Message) { 17557 xxx_messageInfo_WatchStatusV1.Merge(m, src) 17558 } 17559 func (m *WatchStatusV1) XXX_Size() int { 17560 return m.Size() 17561 } 17562 func (m *WatchStatusV1) XXX_DiscardUnknown() { 17563 xxx_messageInfo_WatchStatusV1.DiscardUnknown(m) 17564 } 17565 17566 var xxx_messageInfo_WatchStatusV1 proto.InternalMessageInfo 17567 17568 // WatchStatusSpecV1 contains resource kinds confirmed by WatchEvents to be included in the event stream. 17569 type WatchStatusSpecV1 struct { 17570 Kinds []WatchKind `protobuf:"bytes,1,rep,name=Kinds,proto3" json:"kinds"` 17571 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17572 XXX_unrecognized []byte `json:"-"` 17573 XXX_sizecache int32 `json:"-"` 17574 } 17575 17576 func (m *WatchStatusSpecV1) Reset() { *m = WatchStatusSpecV1{} } 17577 func (m *WatchStatusSpecV1) String() string { return proto.CompactTextString(m) } 17578 func (*WatchStatusSpecV1) ProtoMessage() {} 17579 func (*WatchStatusSpecV1) Descriptor() ([]byte, []int) { 17580 return fileDescriptor_9198ee693835762e, []int{310} 17581 } 17582 func (m *WatchStatusSpecV1) XXX_Unmarshal(b []byte) error { 17583 return m.Unmarshal(b) 17584 } 17585 func (m *WatchStatusSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17586 if deterministic { 17587 return xxx_messageInfo_WatchStatusSpecV1.Marshal(b, m, deterministic) 17588 } else { 17589 b = b[:cap(b)] 17590 n, err := m.MarshalToSizedBuffer(b) 17591 if err != nil { 17592 return nil, err 17593 } 17594 return b[:n], nil 17595 } 17596 } 17597 func (m *WatchStatusSpecV1) XXX_Merge(src proto.Message) { 17598 xxx_messageInfo_WatchStatusSpecV1.Merge(m, src) 17599 } 17600 func (m *WatchStatusSpecV1) XXX_Size() int { 17601 return m.Size() 17602 } 17603 func (m *WatchStatusSpecV1) XXX_DiscardUnknown() { 17604 xxx_messageInfo_WatchStatusSpecV1.DiscardUnknown(m) 17605 } 17606 17607 var xxx_messageInfo_WatchStatusSpecV1 proto.InternalMessageInfo 17608 17609 // ServerInfoV1 contains info that should be applied to joining Nodes. 17610 type ServerInfoV1 struct { 17611 // Kind is the resource kind. 17612 Kind string `protobuf:"bytes,1,opt,name=Kind,proto3" json:"kind"` 17613 // SubKind is an optional resource subkind. 17614 SubKind string `protobuf:"bytes,2,opt,name=SubKind,proto3" json:"sub_kind"` 17615 // Version is the resource version. 17616 Version string `protobuf:"bytes,3,opt,name=Version,proto3" json:"version"` 17617 // Metadata is the resource metadata. 17618 Metadata Metadata `protobuf:"bytes,4,opt,name=Metadata,proto3" json:"metadata"` 17619 // Spec is the resource spec. 17620 Spec ServerInfoSpecV1 `protobuf:"bytes,5,opt,name=Spec,proto3" json:"spec"` 17621 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17622 XXX_unrecognized []byte `json:"-"` 17623 XXX_sizecache int32 `json:"-"` 17624 } 17625 17626 func (m *ServerInfoV1) Reset() { *m = ServerInfoV1{} } 17627 func (m *ServerInfoV1) String() string { return proto.CompactTextString(m) } 17628 func (*ServerInfoV1) ProtoMessage() {} 17629 func (*ServerInfoV1) Descriptor() ([]byte, []int) { 17630 return fileDescriptor_9198ee693835762e, []int{311} 17631 } 17632 func (m *ServerInfoV1) XXX_Unmarshal(b []byte) error { 17633 return m.Unmarshal(b) 17634 } 17635 func (m *ServerInfoV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17636 if deterministic { 17637 return xxx_messageInfo_ServerInfoV1.Marshal(b, m, deterministic) 17638 } else { 17639 b = b[:cap(b)] 17640 n, err := m.MarshalToSizedBuffer(b) 17641 if err != nil { 17642 return nil, err 17643 } 17644 return b[:n], nil 17645 } 17646 } 17647 func (m *ServerInfoV1) XXX_Merge(src proto.Message) { 17648 xxx_messageInfo_ServerInfoV1.Merge(m, src) 17649 } 17650 func (m *ServerInfoV1) XXX_Size() int { 17651 return m.Size() 17652 } 17653 func (m *ServerInfoV1) XXX_DiscardUnknown() { 17654 xxx_messageInfo_ServerInfoV1.DiscardUnknown(m) 17655 } 17656 17657 var xxx_messageInfo_ServerInfoV1 proto.InternalMessageInfo 17658 17659 // ServerInfoSpecV1 contains fields used to match Nodes to this ServerInfo. 17660 type ServerInfoSpecV1 struct { 17661 // NewLabels is the set of labels to add to nodes matching this ServerInfo. 17662 NewLabels map[string]string `protobuf:"bytes,2,rep,name=NewLabels,proto3" json:"new_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 17663 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17664 XXX_unrecognized []byte `json:"-"` 17665 XXX_sizecache int32 `json:"-"` 17666 } 17667 17668 func (m *ServerInfoSpecV1) Reset() { *m = ServerInfoSpecV1{} } 17669 func (m *ServerInfoSpecV1) String() string { return proto.CompactTextString(m) } 17670 func (*ServerInfoSpecV1) ProtoMessage() {} 17671 func (*ServerInfoSpecV1) Descriptor() ([]byte, []int) { 17672 return fileDescriptor_9198ee693835762e, []int{312} 17673 } 17674 func (m *ServerInfoSpecV1) XXX_Unmarshal(b []byte) error { 17675 return m.Unmarshal(b) 17676 } 17677 func (m *ServerInfoSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17678 if deterministic { 17679 return xxx_messageInfo_ServerInfoSpecV1.Marshal(b, m, deterministic) 17680 } else { 17681 b = b[:cap(b)] 17682 n, err := m.MarshalToSizedBuffer(b) 17683 if err != nil { 17684 return nil, err 17685 } 17686 return b[:n], nil 17687 } 17688 } 17689 func (m *ServerInfoSpecV1) XXX_Merge(src proto.Message) { 17690 xxx_messageInfo_ServerInfoSpecV1.Merge(m, src) 17691 } 17692 func (m *ServerInfoSpecV1) XXX_Size() int { 17693 return m.Size() 17694 } 17695 func (m *ServerInfoSpecV1) XXX_DiscardUnknown() { 17696 xxx_messageInfo_ServerInfoSpecV1.DiscardUnknown(m) 17697 } 17698 17699 var xxx_messageInfo_ServerInfoSpecV1 proto.InternalMessageInfo 17700 17701 // JamfSpecV1 is the base configuration for the Jamf MDM service. 17702 type JamfSpecV1 struct { 17703 // Enabled toggles the service on or off. 17704 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` 17705 // Name of the service device source. 17706 // See the teleport.devicetrust.v1.DeviceSource proto. 17707 // Defaults to "jamf". 17708 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 17709 // Initial sync delay for the service. 17710 // Set to negative to perform syncs immediately on startup. 17711 // Defaults to a random delay (a few minutes max). 17712 SyncDelay Duration `protobuf:"varint,3,opt,name=sync_delay,json=syncDelay,proto3,casttype=Duration" json:"sync_delay,omitempty"` 17713 // Jamf Pro API endpoint. 17714 // Example: "https://yourtenant.jamfcloud.com/api". 17715 // Required. 17716 ApiEndpoint string `protobuf:"bytes,4,opt,name=api_endpoint,json=apiEndpoint,proto3" json:"api_endpoint,omitempty"` 17717 // Jamf API username. 17718 // Username and password are used to acquire short-lived Jamf Pro API tokens. 17719 // See https://developer.jamf.com/jamf-pro/docs/jamf-pro-api-overview. 17720 // Required. 17721 Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` 17722 // Jamf API password. 17723 // Username and password are used to acquire short-lived Jamf Pro API tokens. 17724 // See https://developer.jamf.com/jamf-pro/docs/jamf-pro-api-overview. 17725 // Required. 17726 Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` 17727 // Inventory sync entries. 17728 // If empty a default sync configuration is used. 17729 Inventory []*JamfInventoryEntry `protobuf:"bytes,7,rep,name=inventory,proto3" json:"inventory,omitempty"` 17730 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17731 XXX_unrecognized []byte `json:"-"` 17732 XXX_sizecache int32 `json:"-"` 17733 } 17734 17735 func (m *JamfSpecV1) Reset() { *m = JamfSpecV1{} } 17736 func (m *JamfSpecV1) String() string { return proto.CompactTextString(m) } 17737 func (*JamfSpecV1) ProtoMessage() {} 17738 func (*JamfSpecV1) Descriptor() ([]byte, []int) { 17739 return fileDescriptor_9198ee693835762e, []int{313} 17740 } 17741 func (m *JamfSpecV1) XXX_Unmarshal(b []byte) error { 17742 return m.Unmarshal(b) 17743 } 17744 func (m *JamfSpecV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17745 if deterministic { 17746 return xxx_messageInfo_JamfSpecV1.Marshal(b, m, deterministic) 17747 } else { 17748 b = b[:cap(b)] 17749 n, err := m.MarshalToSizedBuffer(b) 17750 if err != nil { 17751 return nil, err 17752 } 17753 return b[:n], nil 17754 } 17755 } 17756 func (m *JamfSpecV1) XXX_Merge(src proto.Message) { 17757 xxx_messageInfo_JamfSpecV1.Merge(m, src) 17758 } 17759 func (m *JamfSpecV1) XXX_Size() int { 17760 return m.Size() 17761 } 17762 func (m *JamfSpecV1) XXX_DiscardUnknown() { 17763 xxx_messageInfo_JamfSpecV1.DiscardUnknown(m) 17764 } 17765 17766 var xxx_messageInfo_JamfSpecV1 proto.InternalMessageInfo 17767 17768 // JamfInventoryEntry is an inventory sync entry for [JamfSpecV1]. 17769 type JamfInventoryEntry struct { 17770 // Jamf Pro API RSQL filter, used when querying endpoints like 17771 // "/api/v1/computers-inventory". 17772 // See https://developer.jamf.com/jamf-pro/reference/get_v1-computers-inventory. 17773 FilterRsql string `protobuf:"bytes,1,opt,name=filter_rsql,json=filterRsql,proto3" json:"filter_rsql,omitempty"` 17774 // Sync period for PARTIAL syncs. 17775 // PARTIAL syncs are scheduled in the time window between FULL syncs, so 17776 // sync_period_partial must always be smaller than sync_period_full, otherwise 17777 // it would never trigger. 17778 // Set to zero or negative to disable PARTIAL syncs. 17779 SyncPeriodPartial Duration `protobuf:"varint,2,opt,name=sync_period_partial,json=syncPeriodPartial,proto3,casttype=Duration" json:"sync_period_partial,omitempty"` 17780 // Sync period for FULL syncs. 17781 // Ideally sync_period_full is a multiple of sync_period_partial, so schedules 17782 // line up perfectly. 17783 // Set to zero or negative to disable FULL syncs. 17784 SyncPeriodFull Duration `protobuf:"varint,3,opt,name=sync_period_full,json=syncPeriodFull,proto3,casttype=Duration" json:"sync_period_full,omitempty"` 17785 // on_missing is the trigger used on devices missing from the MDM view in a 17786 // FULL sync. 17787 // Only runs on successful FULL syncs. 17788 // Corresponds to [teleport.devicetrust.v1.SyncInventoryDeviceAction]. 17789 // Must be either "NOOP" or "DELETE". 17790 // Defaults to "NOOP". 17791 OnMissing string `protobuf:"bytes,4,opt,name=on_missing,json=onMissing,proto3" json:"on_missing,omitempty"` 17792 // Custom page size for inventory queries. 17793 // A server default is used if zeroed or negative. 17794 PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 17795 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17796 XXX_unrecognized []byte `json:"-"` 17797 XXX_sizecache int32 `json:"-"` 17798 } 17799 17800 func (m *JamfInventoryEntry) Reset() { *m = JamfInventoryEntry{} } 17801 func (m *JamfInventoryEntry) String() string { return proto.CompactTextString(m) } 17802 func (*JamfInventoryEntry) ProtoMessage() {} 17803 func (*JamfInventoryEntry) Descriptor() ([]byte, []int) { 17804 return fileDescriptor_9198ee693835762e, []int{314} 17805 } 17806 func (m *JamfInventoryEntry) XXX_Unmarshal(b []byte) error { 17807 return m.Unmarshal(b) 17808 } 17809 func (m *JamfInventoryEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17810 if deterministic { 17811 return xxx_messageInfo_JamfInventoryEntry.Marshal(b, m, deterministic) 17812 } else { 17813 b = b[:cap(b)] 17814 n, err := m.MarshalToSizedBuffer(b) 17815 if err != nil { 17816 return nil, err 17817 } 17818 return b[:n], nil 17819 } 17820 } 17821 func (m *JamfInventoryEntry) XXX_Merge(src proto.Message) { 17822 xxx_messageInfo_JamfInventoryEntry.Merge(m, src) 17823 } 17824 func (m *JamfInventoryEntry) XXX_Size() int { 17825 return m.Size() 17826 } 17827 func (m *JamfInventoryEntry) XXX_DiscardUnknown() { 17828 xxx_messageInfo_JamfInventoryEntry.DiscardUnknown(m) 17829 } 17830 17831 var xxx_messageInfo_JamfInventoryEntry proto.InternalMessageInfo 17832 17833 // MessageWithHeader is a message with a resource header. This is used primarily 17834 // for parsing of resource headers and isn't expected to be used directly by any 17835 // resources. 17836 // 17837 // When using a oneof in a protobuf messages, the existing utils.FastMarshal 17838 // utility does not work, so using something like protojson or jsonpb is required. 17839 // However, these do not respect gogoproto's extensions. When using a ResourceHeader, 17840 // protojson will not recognize that the ResourceHeader is intended to be embedded and 17841 // the resulting JSON will have the header as a separate field. This means that using 17842 // utils.FastUnmarshal will not work for extracting a ResourceHeader from the 17843 // JSON, and we explicitly extract this header to do things like version checking in 17844 // lib/services. 17845 // 17846 // This can be avoided by explicitly embedding the members of the ResourceHeader in 17847 // a message. However, if we would like to avoid this, we can use this MessageWitHheader 17848 // to extract the resource header and its elements, which can later be used for the 17849 // aforementioned processing in lib/services. 17850 type MessageWithHeader struct { 17851 // Header is the resource header for a resource. 17852 ResourceHeader `protobuf:"bytes,1,opt,name=Header,proto3,embedded=Header" json:""` 17853 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17854 XXX_unrecognized []byte `json:"-"` 17855 XXX_sizecache int32 `json:"-"` 17856 } 17857 17858 func (m *MessageWithHeader) Reset() { *m = MessageWithHeader{} } 17859 func (*MessageWithHeader) ProtoMessage() {} 17860 func (*MessageWithHeader) Descriptor() ([]byte, []int) { 17861 return fileDescriptor_9198ee693835762e, []int{315} 17862 } 17863 func (m *MessageWithHeader) XXX_Unmarshal(b []byte) error { 17864 return m.Unmarshal(b) 17865 } 17866 func (m *MessageWithHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17867 if deterministic { 17868 return xxx_messageInfo_MessageWithHeader.Marshal(b, m, deterministic) 17869 } else { 17870 b = b[:cap(b)] 17871 n, err := m.MarshalToSizedBuffer(b) 17872 if err != nil { 17873 return nil, err 17874 } 17875 return b[:n], nil 17876 } 17877 } 17878 func (m *MessageWithHeader) XXX_Merge(src proto.Message) { 17879 xxx_messageInfo_MessageWithHeader.Merge(m, src) 17880 } 17881 func (m *MessageWithHeader) XXX_Size() int { 17882 return m.Size() 17883 } 17884 func (m *MessageWithHeader) XXX_DiscardUnknown() { 17885 xxx_messageInfo_MessageWithHeader.DiscardUnknown(m) 17886 } 17887 17888 var xxx_messageInfo_MessageWithHeader proto.InternalMessageInfo 17889 17890 // AWSMatcher matches AWS EC2 instances and AWS Databases 17891 type AWSMatcher struct { 17892 // Types are AWS database types to match, "ec2", "rds", "redshift", "elasticache", 17893 // or "memorydb". 17894 Types []string `protobuf:"bytes,1,rep,name=Types,proto3" json:"types,omitempty"` 17895 // Regions are AWS regions to query for databases. 17896 Regions []string `protobuf:"bytes,2,rep,name=Regions,proto3" json:"regions,omitempty"` 17897 // AssumeRoleARN is the AWS role to assume for database discovery. 17898 AssumeRole *AssumeRole `protobuf:"bytes,3,opt,name=AssumeRole,proto3" json:"assume_role,omitempty"` 17899 // Tags are AWS resource Tags to match. 17900 Tags Labels `protobuf:"bytes,4,opt,name=Tags,proto3,customtype=Labels" json:"tags,omitempty"` 17901 // Params sets the join method when installing on discovered EC2 nodes 17902 Params *InstallerParams `protobuf:"bytes,5,opt,name=Params,proto3" json:"install,omitempty"` 17903 // SSM provides options to use when sending a document command to 17904 // an EC2 node 17905 SSM *AWSSSM `protobuf:"bytes,6,opt,name=SSM,proto3" json:"ssm,omitempty"` 17906 // Integration is the integration name used to generate credentials to interact with AWS APIs. 17907 // Environment credentials will not be used when this value is set. 17908 Integration string `protobuf:"bytes,7,opt,name=Integration,proto3" json:"integration,omitempty"` 17909 // KubeAppDiscovery controls whether Kubernetes App Discovery will be enabled for agents running on 17910 // discovered clusters, currently only affects AWS EKS discovery in integration mode. 17911 KubeAppDiscovery bool `protobuf:"varint,8,opt,name=KubeAppDiscovery,proto3" json:"kube_app_discovery,omitempty"` 17912 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17913 XXX_unrecognized []byte `json:"-"` 17914 XXX_sizecache int32 `json:"-"` 17915 } 17916 17917 func (m *AWSMatcher) Reset() { *m = AWSMatcher{} } 17918 func (m *AWSMatcher) String() string { return proto.CompactTextString(m) } 17919 func (*AWSMatcher) ProtoMessage() {} 17920 func (*AWSMatcher) Descriptor() ([]byte, []int) { 17921 return fileDescriptor_9198ee693835762e, []int{316} 17922 } 17923 func (m *AWSMatcher) XXX_Unmarshal(b []byte) error { 17924 return m.Unmarshal(b) 17925 } 17926 func (m *AWSMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17927 if deterministic { 17928 return xxx_messageInfo_AWSMatcher.Marshal(b, m, deterministic) 17929 } else { 17930 b = b[:cap(b)] 17931 n, err := m.MarshalToSizedBuffer(b) 17932 if err != nil { 17933 return nil, err 17934 } 17935 return b[:n], nil 17936 } 17937 } 17938 func (m *AWSMatcher) XXX_Merge(src proto.Message) { 17939 xxx_messageInfo_AWSMatcher.Merge(m, src) 17940 } 17941 func (m *AWSMatcher) XXX_Size() int { 17942 return m.Size() 17943 } 17944 func (m *AWSMatcher) XXX_DiscardUnknown() { 17945 xxx_messageInfo_AWSMatcher.DiscardUnknown(m) 17946 } 17947 17948 var xxx_messageInfo_AWSMatcher proto.InternalMessageInfo 17949 17950 // AssumeRole provides a role ARN and ExternalID to assume an AWS role 17951 // when interacting with AWS resources. 17952 type AssumeRole struct { 17953 // RoleARN is the fully specified AWS IAM role ARN. 17954 RoleARN string `protobuf:"bytes,1,opt,name=RoleARN,proto3" json:"role_arn"` 17955 // ExternalID is the external ID used to assume a role in another account. 17956 ExternalID string `protobuf:"bytes,2,opt,name=ExternalID,proto3" json:"external_id"` 17957 XXX_NoUnkeyedLiteral struct{} `json:"-"` 17958 XXX_unrecognized []byte `json:"-"` 17959 XXX_sizecache int32 `json:"-"` 17960 } 17961 17962 func (m *AssumeRole) Reset() { *m = AssumeRole{} } 17963 func (m *AssumeRole) String() string { return proto.CompactTextString(m) } 17964 func (*AssumeRole) ProtoMessage() {} 17965 func (*AssumeRole) Descriptor() ([]byte, []int) { 17966 return fileDescriptor_9198ee693835762e, []int{317} 17967 } 17968 func (m *AssumeRole) XXX_Unmarshal(b []byte) error { 17969 return m.Unmarshal(b) 17970 } 17971 func (m *AssumeRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 17972 if deterministic { 17973 return xxx_messageInfo_AssumeRole.Marshal(b, m, deterministic) 17974 } else { 17975 b = b[:cap(b)] 17976 n, err := m.MarshalToSizedBuffer(b) 17977 if err != nil { 17978 return nil, err 17979 } 17980 return b[:n], nil 17981 } 17982 } 17983 func (m *AssumeRole) XXX_Merge(src proto.Message) { 17984 xxx_messageInfo_AssumeRole.Merge(m, src) 17985 } 17986 func (m *AssumeRole) XXX_Size() int { 17987 return m.Size() 17988 } 17989 func (m *AssumeRole) XXX_DiscardUnknown() { 17990 xxx_messageInfo_AssumeRole.DiscardUnknown(m) 17991 } 17992 17993 var xxx_messageInfo_AssumeRole proto.InternalMessageInfo 17994 17995 // InstallParams sets join method to use on discovered nodes 17996 type InstallerParams struct { 17997 // JoinMethod is the method to use when joining the cluster 17998 JoinMethod JoinMethod `protobuf:"bytes,1,opt,name=JoinMethod,proto3,casttype=JoinMethod" json:"join_method"` 17999 // JoinToken is the token to use when joining the cluster 18000 JoinToken string `protobuf:"bytes,2,opt,name=JoinToken,proto3" json:"join_token"` 18001 // ScriptName is the name of the teleport installer script 18002 // resource for the cloud instance to execute 18003 ScriptName string `protobuf:"bytes,3,opt,name=ScriptName,proto3" json:"script_name,omitempty"` 18004 // InstallTeleport disables agentless discovery 18005 InstallTeleport bool `protobuf:"varint,4,opt,name=InstallTeleport,proto3" json:"install_teleport,omitempty"` 18006 // SSHDConfig provides the path to write sshd configuration changes 18007 SSHDConfig string `protobuf:"bytes,5,opt,name=SSHDConfig,proto3" json:"sshd_config,omitempty"` 18008 // PublicProxyAddr is the address of the proxy the discovered node should use 18009 // to connect to the cluster. 18010 PublicProxyAddr string `protobuf:"bytes,6,opt,name=PublicProxyAddr,proto3" json:"proxy_addr,omitempty"` 18011 // Azure is the set of Azure-specific installation parameters. 18012 Azure *AzureInstallerParams `protobuf:"bytes,7,opt,name=Azure,proto3" json:"azure,omitempty"` 18013 XXX_NoUnkeyedLiteral struct{} `json:"-"` 18014 XXX_unrecognized []byte `json:"-"` 18015 XXX_sizecache int32 `json:"-"` 18016 } 18017 18018 func (m *InstallerParams) Reset() { *m = InstallerParams{} } 18019 func (m *InstallerParams) String() string { return proto.CompactTextString(m) } 18020 func (*InstallerParams) ProtoMessage() {} 18021 func (*InstallerParams) Descriptor() ([]byte, []int) { 18022 return fileDescriptor_9198ee693835762e, []int{318} 18023 } 18024 func (m *InstallerParams) XXX_Unmarshal(b []byte) error { 18025 return m.Unmarshal(b) 18026 } 18027 func (m *InstallerParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 18028 if deterministic { 18029 return xxx_messageInfo_InstallerParams.Marshal(b, m, deterministic) 18030 } else { 18031 b = b[:cap(b)] 18032 n, err := m.MarshalToSizedBuffer(b) 18033 if err != nil { 18034 return nil, err 18035 } 18036 return b[:n], nil 18037 } 18038 } 18039 func (m *InstallerParams) XXX_Merge(src proto.Message) { 18040 xxx_messageInfo_InstallerParams.Merge(m, src) 18041 } 18042 func (m *InstallerParams) XXX_Size() int { 18043 return m.Size() 18044 } 18045 func (m *InstallerParams) XXX_DiscardUnknown() { 18046 xxx_messageInfo_InstallerParams.DiscardUnknown(m) 18047 } 18048 18049 var xxx_messageInfo_InstallerParams proto.InternalMessageInfo 18050 18051 // AWSSSM provides options to use when executing SSM documents 18052 type AWSSSM struct { 18053 // DocumentName is the name of the document to use when executing an 18054 // SSM command 18055 DocumentName string `protobuf:"bytes,1,opt,name=DocumentName,proto3" json:"document_name,omitempty"` 18056 XXX_NoUnkeyedLiteral struct{} `json:"-"` 18057 XXX_unrecognized []byte `json:"-"` 18058 XXX_sizecache int32 `json:"-"` 18059 } 18060 18061 func (m *AWSSSM) Reset() { *m = AWSSSM{} } 18062 func (m *AWSSSM) String() string { return proto.CompactTextString(m) } 18063 func (*AWSSSM) ProtoMessage() {} 18064 func (*AWSSSM) Descriptor() ([]byte, []int) { 18065 return fileDescriptor_9198ee693835762e, []int{319} 18066 } 18067 func (m *AWSSSM) XXX_Unmarshal(b []byte) error { 18068 return m.Unmarshal(b) 18069 } 18070 func (m *AWSSSM) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 18071 if deterministic { 18072 return xxx_messageInfo_AWSSSM.Marshal(b, m, deterministic) 18073 } else { 18074 b = b[:cap(b)] 18075 n, err := m.MarshalToSizedBuffer(b) 18076 if err != nil { 18077 return nil, err 18078 } 18079 return b[:n], nil 18080 } 18081 } 18082 func (m *AWSSSM) XXX_Merge(src proto.Message) { 18083 xxx_messageInfo_AWSSSM.Merge(m, src) 18084 } 18085 func (m *AWSSSM) XXX_Size() int { 18086 return m.Size() 18087 } 18088 func (m *AWSSSM) XXX_DiscardUnknown() { 18089 xxx_messageInfo_AWSSSM.DiscardUnknown(m) 18090 } 18091 18092 var xxx_messageInfo_AWSSSM proto.InternalMessageInfo 18093 18094 // AzureInstallerParams is the set of Azure-specific installation parameters. 18095 type AzureInstallerParams struct { 18096 // ClientID is the client ID of the managed identity discovered nodes 18097 // should use to join the cluster. 18098 ClientID string `protobuf:"bytes,1,opt,name=ClientID,proto3" json:"client_id,omitempty"` 18099 XXX_NoUnkeyedLiteral struct{} `json:"-"` 18100 XXX_unrecognized []byte `json:"-"` 18101 XXX_sizecache int32 `json:"-"` 18102 } 18103 18104 func (m *AzureInstallerParams) Reset() { *m = AzureInstallerParams{} } 18105 func (m *AzureInstallerParams) String() string { return proto.CompactTextString(m) } 18106 func (*AzureInstallerParams) ProtoMessage() {} 18107 func (*AzureInstallerParams) Descriptor() ([]byte, []int) { 18108 return fileDescriptor_9198ee693835762e, []int{320} 18109 } 18110 func (m *AzureInstallerParams) XXX_Unmarshal(b []byte) error { 18111 return m.Unmarshal(b) 18112 } 18113 func (m *AzureInstallerParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 18114 if deterministic { 18115 return xxx_messageInfo_AzureInstallerParams.Marshal(b, m, deterministic) 18116 } else { 18117 b = b[:cap(b)] 18118 n, err := m.MarshalToSizedBuffer(b) 18119 if err != nil { 18120 return nil, err 18121 } 18122 return b[:n], nil 18123 } 18124 } 18125 func (m *AzureInstallerParams) XXX_Merge(src proto.Message) { 18126 xxx_messageInfo_AzureInstallerParams.Merge(m, src) 18127 } 18128 func (m *AzureInstallerParams) XXX_Size() int { 18129 return m.Size() 18130 } 18131 func (m *AzureInstallerParams) XXX_DiscardUnknown() { 18132 xxx_messageInfo_AzureInstallerParams.DiscardUnknown(m) 18133 } 18134 18135 var xxx_messageInfo_AzureInstallerParams proto.InternalMessageInfo 18136 18137 // AzureMatcher matches Azure resources. 18138 // It defines which resource types, filters and some configuration params. 18139 type AzureMatcher struct { 18140 // Subscriptions are Azure subscriptions to query for resources. 18141 Subscriptions []string `protobuf:"bytes,1,rep,name=Subscriptions,proto3" json:"subscriptions,omitempty"` 18142 // ResourceGroups are Azure resource groups to query for resources. 18143 ResourceGroups []string `protobuf:"bytes,2,rep,name=ResourceGroups,proto3" json:"resource_groups,omitempty"` 18144 // Types are Azure types to match: "mysql", "postgres", "aks", "vm" 18145 Types []string `protobuf:"bytes,3,rep,name=Types,proto3" json:"types,omitempty"` 18146 // Regions are Azure locations to match for databases. 18147 Regions []string `protobuf:"bytes,4,rep,name=Regions,proto3" json:"regions,omitempty"` 18148 // ResourceTags are Azure tags on resources to match. 18149 ResourceTags Labels `protobuf:"bytes,5,opt,name=ResourceTags,proto3,customtype=Labels" json:"tags,omitempty"` 18150 // Params sets the join method when installing on 18151 // discovered Azure nodes. 18152 Params *InstallerParams `protobuf:"bytes,6,opt,name=Params,proto3" json:"install_params,omitempty"` 18153 XXX_NoUnkeyedLiteral struct{} `json:"-"` 18154 XXX_unrecognized []byte `json:"-"` 18155 XXX_sizecache int32 `json:"-"` 18156 } 18157 18158 func (m *AzureMatcher) Reset() { *m = AzureMatcher{} } 18159 func (m *AzureMatcher) String() string { return proto.CompactTextString(m) } 18160 func (*AzureMatcher) ProtoMessage() {} 18161 func (*AzureMatcher) Descriptor() ([]byte, []int) { 18162 return fileDescriptor_9198ee693835762e, []int{321} 18163 } 18164 func (m *AzureMatcher) XXX_Unmarshal(b []byte) error { 18165 return m.Unmarshal(b) 18166 } 18167 func (m *AzureMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 18168 if deterministic { 18169 return xxx_messageInfo_AzureMatcher.Marshal(b, m, deterministic) 18170 } else { 18171 b = b[:cap(b)] 18172 n, err := m.MarshalToSizedBuffer(b) 18173 if err != nil { 18174 return nil, err 18175 } 18176 return b[:n], nil 18177 } 18178 } 18179 func (m *AzureMatcher) XXX_Merge(src proto.Message) { 18180 xxx_messageInfo_AzureMatcher.Merge(m, src) 18181 } 18182 func (m *AzureMatcher) XXX_Size() int { 18183 return m.Size() 18184 } 18185 func (m *AzureMatcher) XXX_DiscardUnknown() { 18186 xxx_messageInfo_AzureMatcher.DiscardUnknown(m) 18187 } 18188 18189 var xxx_messageInfo_AzureMatcher proto.InternalMessageInfo 18190 18191 // GCPMatcher matches GCP resources. 18192 type GCPMatcher struct { 18193 // Types are GKE resource types to match: "gke", "vm". 18194 Types []string `protobuf:"bytes,1,rep,name=Types,proto3" json:"types,omitempty"` 18195 // Locations are GKE locations to search resources for. 18196 Locations []string `protobuf:"bytes,2,rep,name=Locations,proto3" json:"locations,omitempty"` 18197 // Tags is obsolete and only exists for backwards compatibility. Use Labels instead. 18198 Tags Labels `protobuf:"bytes,3,opt,name=Tags,proto3,customtype=Labels" json:"tags,omitempty"` 18199 // ProjectIDs are the GCP project ID where the resources are deployed. 18200 ProjectIDs []string `protobuf:"bytes,4,rep,name=ProjectIDs,proto3" json:"project_ids,omitempty"` 18201 // ServiceAccounts are the emails of service accounts attached to VMs. 18202 ServiceAccounts []string `protobuf:"bytes,5,rep,name=ServiceAccounts,proto3" json:"service_accounts,omitempty"` 18203 // Params sets the join method when installing on 18204 // discovered GCP nodes. 18205 Params *InstallerParams `protobuf:"bytes,6,opt,name=Params,proto3" json:"install_params,omitempty"` 18206 // Labels are GCP labels to match. 18207 Labels Labels `protobuf:"bytes,7,opt,name=Labels,proto3,customtype=Labels" json:"labels,omitempty"` 18208 XXX_NoUnkeyedLiteral struct{} `json:"-"` 18209 XXX_unrecognized []byte `json:"-"` 18210 XXX_sizecache int32 `json:"-"` 18211 } 18212 18213 func (m *GCPMatcher) Reset() { *m = GCPMatcher{} } 18214 func (m *GCPMatcher) String() string { return proto.CompactTextString(m) } 18215 func (*GCPMatcher) ProtoMessage() {} 18216 func (*GCPMatcher) Descriptor() ([]byte, []int) { 18217 return fileDescriptor_9198ee693835762e, []int{322} 18218 } 18219 func (m *GCPMatcher) XXX_Unmarshal(b []byte) error { 18220 return m.Unmarshal(b) 18221 } 18222 func (m *GCPMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 18223 if deterministic { 18224 return xxx_messageInfo_GCPMatcher.Marshal(b, m, deterministic) 18225 } else { 18226 b = b[:cap(b)] 18227 n, err := m.MarshalToSizedBuffer(b) 18228 if err != nil { 18229 return nil, err 18230 } 18231 return b[:n], nil 18232 } 18233 } 18234 func (m *GCPMatcher) XXX_Merge(src proto.Message) { 18235 xxx_messageInfo_GCPMatcher.Merge(m, src) 18236 } 18237 func (m *GCPMatcher) XXX_Size() int { 18238 return m.Size() 18239 } 18240 func (m *GCPMatcher) XXX_DiscardUnknown() { 18241 xxx_messageInfo_GCPMatcher.DiscardUnknown(m) 18242 } 18243 18244 var xxx_messageInfo_GCPMatcher proto.InternalMessageInfo 18245 18246 // KubernetesMatcher matches Kubernetes services. 18247 type KubernetesMatcher struct { 18248 // Types are Kubernetes services types to match. Currently only 'app' is supported. 18249 Types []string `protobuf:"bytes,1,rep,name=Types,proto3" json:"types,omitempty"` 18250 // Namespaces are Kubernetes namespaces in which to discover services 18251 Namespaces []string `protobuf:"bytes,2,rep,name=Namespaces,proto3" json:"namespaces,omitempty"` 18252 // Labels are Kubernetes services labels to match. 18253 Labels Labels `protobuf:"bytes,3,opt,name=Labels,proto3,customtype=Labels" json:"labels,omitempty"` 18254 XXX_NoUnkeyedLiteral struct{} `json:"-"` 18255 XXX_unrecognized []byte `json:"-"` 18256 XXX_sizecache int32 `json:"-"` 18257 } 18258 18259 func (m *KubernetesMatcher) Reset() { *m = KubernetesMatcher{} } 18260 func (m *KubernetesMatcher) String() string { return proto.CompactTextString(m) } 18261 func (*KubernetesMatcher) ProtoMessage() {} 18262 func (*KubernetesMatcher) Descriptor() ([]byte, []int) { 18263 return fileDescriptor_9198ee693835762e, []int{323} 18264 } 18265 func (m *KubernetesMatcher) XXX_Unmarshal(b []byte) error { 18266 return m.Unmarshal(b) 18267 } 18268 func (m *KubernetesMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 18269 if deterministic { 18270 return xxx_messageInfo_KubernetesMatcher.Marshal(b, m, deterministic) 18271 } else { 18272 b = b[:cap(b)] 18273 n, err := m.MarshalToSizedBuffer(b) 18274 if err != nil { 18275 return nil, err 18276 } 18277 return b[:n], nil 18278 } 18279 } 18280 func (m *KubernetesMatcher) XXX_Merge(src proto.Message) { 18281 xxx_messageInfo_KubernetesMatcher.Merge(m, src) 18282 } 18283 func (m *KubernetesMatcher) XXX_Size() int { 18284 return m.Size() 18285 } 18286 func (m *KubernetesMatcher) XXX_DiscardUnknown() { 18287 xxx_messageInfo_KubernetesMatcher.DiscardUnknown(m) 18288 } 18289 18290 var xxx_messageInfo_KubernetesMatcher proto.InternalMessageInfo 18291 18292 // OktaOptions specify options related to the Okta service. 18293 type OktaOptions struct { 18294 // SyncPeriod is the duration between synchronization calls in nanoseconds. 18295 SyncPeriod Duration `protobuf:"varint,1,opt,name=SyncPeriod,proto3,casttype=Duration" json:"sync_period,omitempty"` 18296 XXX_NoUnkeyedLiteral struct{} `json:"-"` 18297 XXX_unrecognized []byte `json:"-"` 18298 XXX_sizecache int32 `json:"-"` 18299 } 18300 18301 func (m *OktaOptions) Reset() { *m = OktaOptions{} } 18302 func (m *OktaOptions) String() string { return proto.CompactTextString(m) } 18303 func (*OktaOptions) ProtoMessage() {} 18304 func (*OktaOptions) Descriptor() ([]byte, []int) { 18305 return fileDescriptor_9198ee693835762e, []int{324} 18306 } 18307 func (m *OktaOptions) XXX_Unmarshal(b []byte) error { 18308 return m.Unmarshal(b) 18309 } 18310 func (m *OktaOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 18311 if deterministic { 18312 return xxx_messageInfo_OktaOptions.Marshal(b, m, deterministic) 18313 } else { 18314 b = b[:cap(b)] 18315 n, err := m.MarshalToSizedBuffer(b) 18316 if err != nil { 18317 return nil, err 18318 } 18319 return b[:n], nil 18320 } 18321 } 18322 func (m *OktaOptions) XXX_Merge(src proto.Message) { 18323 xxx_messageInfo_OktaOptions.Merge(m, src) 18324 } 18325 func (m *OktaOptions) XXX_Size() int { 18326 return m.Size() 18327 } 18328 func (m *OktaOptions) XXX_DiscardUnknown() { 18329 xxx_messageInfo_OktaOptions.DiscardUnknown(m) 18330 } 18331 18332 var xxx_messageInfo_OktaOptions proto.InternalMessageInfo 18333 18334 // AccessGraphSync is a configuration for Access Graph service. 18335 type AccessGraphSync struct { 18336 // AWS is a configuration for AWS Access Graph service poll service. 18337 AWS []*AccessGraphAWSSync `protobuf:"bytes,1,rep,name=AWS,proto3" json:"aws,omitempty"` 18338 XXX_NoUnkeyedLiteral struct{} `json:"-"` 18339 XXX_unrecognized []byte `json:"-"` 18340 XXX_sizecache int32 `json:"-"` 18341 } 18342 18343 func (m *AccessGraphSync) Reset() { *m = AccessGraphSync{} } 18344 func (m *AccessGraphSync) String() string { return proto.CompactTextString(m) } 18345 func (*AccessGraphSync) ProtoMessage() {} 18346 func (*AccessGraphSync) Descriptor() ([]byte, []int) { 18347 return fileDescriptor_9198ee693835762e, []int{325} 18348 } 18349 func (m *AccessGraphSync) XXX_Unmarshal(b []byte) error { 18350 return m.Unmarshal(b) 18351 } 18352 func (m *AccessGraphSync) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 18353 if deterministic { 18354 return xxx_messageInfo_AccessGraphSync.Marshal(b, m, deterministic) 18355 } else { 18356 b = b[:cap(b)] 18357 n, err := m.MarshalToSizedBuffer(b) 18358 if err != nil { 18359 return nil, err 18360 } 18361 return b[:n], nil 18362 } 18363 } 18364 func (m *AccessGraphSync) XXX_Merge(src proto.Message) { 18365 xxx_messageInfo_AccessGraphSync.Merge(m, src) 18366 } 18367 func (m *AccessGraphSync) XXX_Size() int { 18368 return m.Size() 18369 } 18370 func (m *AccessGraphSync) XXX_DiscardUnknown() { 18371 xxx_messageInfo_AccessGraphSync.DiscardUnknown(m) 18372 } 18373 18374 var xxx_messageInfo_AccessGraphSync proto.InternalMessageInfo 18375 18376 // AccessGraphAWSSync is a configuration for AWS Access Graph service poll service. 18377 type AccessGraphAWSSync struct { 18378 // Regions are AWS regions to import resources from. 18379 Regions []string `protobuf:"bytes,1,rep,name=Regions,proto3" json:"regions,omitempty"` 18380 // AssumeRoleARN is the AWS role to assume for database discovery. 18381 AssumeRole *AssumeRole `protobuf:"bytes,3,opt,name=AssumeRole,proto3" json:"assume_role,omitempty"` 18382 // Integration is the integration name used to generate credentials to interact with AWS APIs. 18383 Integration string `protobuf:"bytes,4,opt,name=Integration,proto3" json:"integration,omitempty"` 18384 XXX_NoUnkeyedLiteral struct{} `json:"-"` 18385 XXX_unrecognized []byte `json:"-"` 18386 XXX_sizecache int32 `json:"-"` 18387 } 18388 18389 func (m *AccessGraphAWSSync) Reset() { *m = AccessGraphAWSSync{} } 18390 func (m *AccessGraphAWSSync) String() string { return proto.CompactTextString(m) } 18391 func (*AccessGraphAWSSync) ProtoMessage() {} 18392 func (*AccessGraphAWSSync) Descriptor() ([]byte, []int) { 18393 return fileDescriptor_9198ee693835762e, []int{326} 18394 } 18395 func (m *AccessGraphAWSSync) XXX_Unmarshal(b []byte) error { 18396 return m.Unmarshal(b) 18397 } 18398 func (m *AccessGraphAWSSync) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 18399 if deterministic { 18400 return xxx_messageInfo_AccessGraphAWSSync.Marshal(b, m, deterministic) 18401 } else { 18402 b = b[:cap(b)] 18403 n, err := m.MarshalToSizedBuffer(b) 18404 if err != nil { 18405 return nil, err 18406 } 18407 return b[:n], nil 18408 } 18409 } 18410 func (m *AccessGraphAWSSync) XXX_Merge(src proto.Message) { 18411 xxx_messageInfo_AccessGraphAWSSync.Merge(m, src) 18412 } 18413 func (m *AccessGraphAWSSync) XXX_Size() int { 18414 return m.Size() 18415 } 18416 func (m *AccessGraphAWSSync) XXX_DiscardUnknown() { 18417 xxx_messageInfo_AccessGraphAWSSync.DiscardUnknown(m) 18418 } 18419 18420 var xxx_messageInfo_AccessGraphAWSSync proto.InternalMessageInfo 18421 18422 func init() { 18423 proto.RegisterEnum("types.IAMPolicyStatus", IAMPolicyStatus_name, IAMPolicyStatus_value) 18424 proto.RegisterEnum("types.DatabaseTLSMode", DatabaseTLSMode_name, DatabaseTLSMode_value) 18425 proto.RegisterEnum("types.PrivateKeyType", PrivateKeyType_name, PrivateKeyType_value) 18426 proto.RegisterEnum("types.ProxyListenerMode", ProxyListenerMode_name, ProxyListenerMode_value) 18427 proto.RegisterEnum("types.RoutingStrategy", RoutingStrategy_name, RoutingStrategy_value) 18428 proto.RegisterEnum("types.UserTokenUsage", UserTokenUsage_name, UserTokenUsage_value) 18429 proto.RegisterEnum("types.RequestState", RequestState_name, RequestState_value) 18430 proto.RegisterEnum("types.AccessRequestScope", AccessRequestScope_name, AccessRequestScope_value) 18431 proto.RegisterEnum("types.CreateHostUserMode", CreateHostUserMode_name, CreateHostUserMode_value) 18432 proto.RegisterEnum("types.CreateDatabaseUserMode", CreateDatabaseUserMode_name, CreateDatabaseUserMode_value) 18433 proto.RegisterEnum("types.CertExtensionMode", CertExtensionMode_name, CertExtensionMode_value) 18434 proto.RegisterEnum("types.CertExtensionType", CertExtensionType_name, CertExtensionType_value) 18435 proto.RegisterEnum("types.PasswordState", PasswordState_name, PasswordState_value) 18436 proto.RegisterEnum("types.SessionState", SessionState_name, SessionState_value) 18437 proto.RegisterEnum("types.AlertSeverity", AlertSeverity_name, AlertSeverity_value) 18438 proto.RegisterEnum("types.RequireMFAType", RequireMFAType_name, RequireMFAType_value) 18439 proto.RegisterEnum("types.PluginStatusCode", PluginStatusCode_name, PluginStatusCode_value) 18440 proto.RegisterEnum("types.HeadlessAuthenticationState", HeadlessAuthenticationState_name, HeadlessAuthenticationState_value) 18441 proto.RegisterEnum("types.KeepAlive_KeepAliveType", KeepAlive_KeepAliveType_name, KeepAlive_KeepAliveType_value) 18442 proto.RegisterEnum("types.CertAuthoritySpecV2_SigningAlgType", CertAuthoritySpecV2_SigningAlgType_name, CertAuthoritySpecV2_SigningAlgType_value) 18443 proto.RegisterEnum("types.ClusterAuditConfigSpecV2_FIPSEndpointState", ClusterAuditConfigSpecV2_FIPSEndpointState_name, ClusterAuditConfigSpecV2_FIPSEndpointState_value) 18444 proto.RegisterEnum("types.ConnectionDiagnosticTrace_TraceType", ConnectionDiagnosticTrace_TraceType_name, ConnectionDiagnosticTrace_TraceType_value) 18445 proto.RegisterEnum("types.ConnectionDiagnosticTrace_StatusType", ConnectionDiagnosticTrace_StatusType_name, ConnectionDiagnosticTrace_StatusType_value) 18446 proto.RegisterEnum("types.OktaAssignmentSpecV1_OktaAssignmentStatus", OktaAssignmentSpecV1_OktaAssignmentStatus_name, OktaAssignmentSpecV1_OktaAssignmentStatus_value) 18447 proto.RegisterEnum("types.OktaAssignmentTargetV1_OktaAssignmentTargetType", OktaAssignmentTargetV1_OktaAssignmentTargetType_name, OktaAssignmentTargetV1_OktaAssignmentTargetType_value) 18448 proto.RegisterType((*KeepAlive)(nil), "types.KeepAlive") 18449 proto.RegisterType((*Metadata)(nil), "types.Metadata") 18450 proto.RegisterMapType((map[string]string)(nil), "types.Metadata.LabelsEntry") 18451 proto.RegisterType((*Rotation)(nil), "types.Rotation") 18452 proto.RegisterType((*RotationSchedule)(nil), "types.RotationSchedule") 18453 proto.RegisterType((*ResourceHeader)(nil), "types.ResourceHeader") 18454 proto.RegisterType((*DatabaseServerV3)(nil), "types.DatabaseServerV3") 18455 proto.RegisterType((*DatabaseServerSpecV3)(nil), "types.DatabaseServerSpecV3") 18456 proto.RegisterType((*DatabaseV3List)(nil), "types.DatabaseV3List") 18457 proto.RegisterType((*DatabaseV3)(nil), "types.DatabaseV3") 18458 proto.RegisterType((*DatabaseSpecV3)(nil), "types.DatabaseSpecV3") 18459 proto.RegisterMapType((map[string]CommandLabelV2)(nil), "types.DatabaseSpecV3.DynamicLabelsEntry") 18460 proto.RegisterType((*DatabaseAdminUser)(nil), "types.DatabaseAdminUser") 18461 proto.RegisterType((*OracleOptions)(nil), "types.OracleOptions") 18462 proto.RegisterType((*DatabaseStatusV3)(nil), "types.DatabaseStatusV3") 18463 proto.RegisterType((*AWS)(nil), "types.AWS") 18464 proto.RegisterMapType((map[string]string)(nil), "types.AWS.SessionTagsEntry") 18465 proto.RegisterType((*SecretStore)(nil), "types.SecretStore") 18466 proto.RegisterType((*Redshift)(nil), "types.Redshift") 18467 proto.RegisterType((*RDS)(nil), "types.RDS") 18468 proto.RegisterType((*RDSProxy)(nil), "types.RDSProxy") 18469 proto.RegisterType((*ElastiCache)(nil), "types.ElastiCache") 18470 proto.RegisterType((*MemoryDB)(nil), "types.MemoryDB") 18471 proto.RegisterType((*RedshiftServerless)(nil), "types.RedshiftServerless") 18472 proto.RegisterType((*OpenSearch)(nil), "types.OpenSearch") 18473 proto.RegisterType((*GCPCloudSQL)(nil), "types.GCPCloudSQL") 18474 proto.RegisterType((*Azure)(nil), "types.Azure") 18475 proto.RegisterType((*AzureRedis)(nil), "types.AzureRedis") 18476 proto.RegisterType((*AD)(nil), "types.AD") 18477 proto.RegisterType((*DatabaseTLS)(nil), "types.DatabaseTLS") 18478 proto.RegisterType((*MySQLOptions)(nil), "types.MySQLOptions") 18479 proto.RegisterType((*MongoAtlas)(nil), "types.MongoAtlas") 18480 proto.RegisterType((*InstanceV1)(nil), "types.InstanceV1") 18481 proto.RegisterType((*InstanceSpecV1)(nil), "types.InstanceSpecV1") 18482 proto.RegisterType((*InstanceControlLogEntry)(nil), "types.InstanceControlLogEntry") 18483 proto.RegisterMapType((map[string]string)(nil), "types.InstanceControlLogEntry.LabelsEntry") 18484 proto.RegisterType((*InstanceFilter)(nil), "types.InstanceFilter") 18485 proto.RegisterType((*ServerV2)(nil), "types.ServerV2") 18486 proto.RegisterType((*ServerSpecV2)(nil), "types.ServerSpecV2") 18487 proto.RegisterMapType((map[string]CommandLabelV2)(nil), "types.ServerSpecV2.CmdLabelsEntry") 18488 proto.RegisterType((*AWSInfo)(nil), "types.AWSInfo") 18489 proto.RegisterType((*CloudMetadata)(nil), "types.CloudMetadata") 18490 proto.RegisterType((*AppServerV3)(nil), "types.AppServerV3") 18491 proto.RegisterType((*AppServerSpecV3)(nil), "types.AppServerSpecV3") 18492 proto.RegisterType((*AppV3List)(nil), "types.AppV3List") 18493 proto.RegisterType((*AppV3)(nil), "types.AppV3") 18494 proto.RegisterType((*AppSpecV3)(nil), "types.AppSpecV3") 18495 proto.RegisterMapType((map[string]CommandLabelV2)(nil), "types.AppSpecV3.DynamicLabelsEntry") 18496 proto.RegisterType((*AppServerOrSAMLIdPServiceProviderV1)(nil), "types.AppServerOrSAMLIdPServiceProviderV1") 18497 proto.RegisterType((*Rewrite)(nil), "types.Rewrite") 18498 proto.RegisterType((*Header)(nil), "types.Header") 18499 proto.RegisterType((*CommandLabelV2)(nil), "types.CommandLabelV2") 18500 proto.RegisterType((*AppAWS)(nil), "types.AppAWS") 18501 proto.RegisterType((*SSHKeyPair)(nil), "types.SSHKeyPair") 18502 proto.RegisterType((*TLSKeyPair)(nil), "types.TLSKeyPair") 18503 proto.RegisterType((*JWTKeyPair)(nil), "types.JWTKeyPair") 18504 proto.RegisterType((*CertAuthorityV2)(nil), "types.CertAuthorityV2") 18505 proto.RegisterType((*CertAuthoritySpecV2)(nil), "types.CertAuthoritySpecV2") 18506 proto.RegisterType((*CAKeySet)(nil), "types.CAKeySet") 18507 proto.RegisterType((*RoleMapping)(nil), "types.RoleMapping") 18508 proto.RegisterType((*ProvisionTokenV1)(nil), "types.ProvisionTokenV1") 18509 proto.RegisterType((*ProvisionTokenV2)(nil), "types.ProvisionTokenV2") 18510 proto.RegisterType((*ProvisionTokenV2List)(nil), "types.ProvisionTokenV2List") 18511 proto.RegisterType((*TokenRule)(nil), "types.TokenRule") 18512 proto.RegisterType((*ProvisionTokenSpecV2)(nil), "types.ProvisionTokenSpecV2") 18513 proto.RegisterType((*ProvisionTokenSpecV2TPM)(nil), "types.ProvisionTokenSpecV2TPM") 18514 proto.RegisterType((*ProvisionTokenSpecV2TPM_Rule)(nil), "types.ProvisionTokenSpecV2TPM.Rule") 18515 proto.RegisterType((*ProvisionTokenSpecV2GitHub)(nil), "types.ProvisionTokenSpecV2GitHub") 18516 proto.RegisterType((*ProvisionTokenSpecV2GitHub_Rule)(nil), "types.ProvisionTokenSpecV2GitHub.Rule") 18517 proto.RegisterType((*ProvisionTokenSpecV2GitLab)(nil), "types.ProvisionTokenSpecV2GitLab") 18518 proto.RegisterType((*ProvisionTokenSpecV2GitLab_Rule)(nil), "types.ProvisionTokenSpecV2GitLab.Rule") 18519 proto.RegisterType((*ProvisionTokenSpecV2CircleCI)(nil), "types.ProvisionTokenSpecV2CircleCI") 18520 proto.RegisterType((*ProvisionTokenSpecV2CircleCI_Rule)(nil), "types.ProvisionTokenSpecV2CircleCI.Rule") 18521 proto.RegisterType((*ProvisionTokenSpecV2Spacelift)(nil), "types.ProvisionTokenSpecV2Spacelift") 18522 proto.RegisterType((*ProvisionTokenSpecV2Spacelift_Rule)(nil), "types.ProvisionTokenSpecV2Spacelift.Rule") 18523 proto.RegisterType((*ProvisionTokenSpecV2Kubernetes)(nil), "types.ProvisionTokenSpecV2Kubernetes") 18524 proto.RegisterType((*ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig)(nil), "types.ProvisionTokenSpecV2Kubernetes.StaticJWKSConfig") 18525 proto.RegisterType((*ProvisionTokenSpecV2Kubernetes_Rule)(nil), "types.ProvisionTokenSpecV2Kubernetes.Rule") 18526 proto.RegisterType((*ProvisionTokenSpecV2Azure)(nil), "types.ProvisionTokenSpecV2Azure") 18527 proto.RegisterType((*ProvisionTokenSpecV2Azure_Rule)(nil), "types.ProvisionTokenSpecV2Azure.Rule") 18528 proto.RegisterType((*ProvisionTokenSpecV2GCP)(nil), "types.ProvisionTokenSpecV2GCP") 18529 proto.RegisterType((*ProvisionTokenSpecV2GCP_Rule)(nil), "types.ProvisionTokenSpecV2GCP.Rule") 18530 proto.RegisterType((*StaticTokensV2)(nil), "types.StaticTokensV2") 18531 proto.RegisterType((*StaticTokensSpecV2)(nil), "types.StaticTokensSpecV2") 18532 proto.RegisterType((*ClusterNameV2)(nil), "types.ClusterNameV2") 18533 proto.RegisterType((*ClusterNameSpecV2)(nil), "types.ClusterNameSpecV2") 18534 proto.RegisterType((*ClusterAuditConfigV2)(nil), "types.ClusterAuditConfigV2") 18535 proto.RegisterType((*ClusterAuditConfigSpecV2)(nil), "types.ClusterAuditConfigSpecV2") 18536 proto.RegisterType((*ClusterNetworkingConfigV2)(nil), "types.ClusterNetworkingConfigV2") 18537 proto.RegisterType((*ClusterNetworkingConfigSpecV2)(nil), "types.ClusterNetworkingConfigSpecV2") 18538 proto.RegisterType((*TunnelStrategyV1)(nil), "types.TunnelStrategyV1") 18539 proto.RegisterType((*AgentMeshTunnelStrategy)(nil), "types.AgentMeshTunnelStrategy") 18540 proto.RegisterType((*ProxyPeeringTunnelStrategy)(nil), "types.ProxyPeeringTunnelStrategy") 18541 proto.RegisterType((*SessionRecordingConfigV2)(nil), "types.SessionRecordingConfigV2") 18542 proto.RegisterType((*SessionRecordingConfigSpecV2)(nil), "types.SessionRecordingConfigSpecV2") 18543 proto.RegisterType((*AuthPreferenceV2)(nil), "types.AuthPreferenceV2") 18544 proto.RegisterType((*AuthPreferenceSpecV2)(nil), "types.AuthPreferenceSpecV2") 18545 proto.RegisterType((*U2F)(nil), "types.U2F") 18546 proto.RegisterType((*Webauthn)(nil), "types.Webauthn") 18547 proto.RegisterType((*DeviceTrust)(nil), "types.DeviceTrust") 18548 proto.RegisterType((*HardwareKey)(nil), "types.HardwareKey") 18549 proto.RegisterType((*HardwareKeySerialNumberValidation)(nil), "types.HardwareKeySerialNumberValidation") 18550 proto.RegisterType((*Namespace)(nil), "types.Namespace") 18551 proto.RegisterType((*NamespaceSpec)(nil), "types.NamespaceSpec") 18552 proto.RegisterType((*UserTokenV3)(nil), "types.UserTokenV3") 18553 proto.RegisterType((*UserTokenSpecV3)(nil), "types.UserTokenSpecV3") 18554 proto.RegisterType((*UserTokenSecretsV3)(nil), "types.UserTokenSecretsV3") 18555 proto.RegisterType((*UserTokenSecretsSpecV3)(nil), "types.UserTokenSecretsSpecV3") 18556 proto.RegisterType((*AccessRequestV3)(nil), "types.AccessRequestV3") 18557 proto.RegisterType((*AccessReviewThreshold)(nil), "types.AccessReviewThreshold") 18558 proto.RegisterType((*PromotedAccessList)(nil), "types.PromotedAccessList") 18559 proto.RegisterType((*AccessReview)(nil), "types.AccessReview") 18560 proto.RegisterType((*AccessReviewSubmission)(nil), "types.AccessReviewSubmission") 18561 proto.RegisterType((*ThresholdIndexSet)(nil), "types.ThresholdIndexSet") 18562 proto.RegisterType((*ThresholdIndexSets)(nil), "types.ThresholdIndexSets") 18563 proto.RegisterType((*AccessRequestSpecV3)(nil), "types.AccessRequestSpecV3") 18564 proto.RegisterMapType((map[string]ThresholdIndexSets)(nil), "types.AccessRequestSpecV3.RoleThresholdMappingEntry") 18565 proto.RegisterType((*AccessRequestFilter)(nil), "types.AccessRequestFilter") 18566 proto.RegisterType((*AccessCapabilities)(nil), "types.AccessCapabilities") 18567 proto.RegisterType((*AccessCapabilitiesRequest)(nil), "types.AccessCapabilitiesRequest") 18568 proto.RegisterType((*ResourceID)(nil), "types.ResourceID") 18569 proto.RegisterType((*PluginDataV3)(nil), "types.PluginDataV3") 18570 proto.RegisterType((*PluginDataEntry)(nil), "types.PluginDataEntry") 18571 proto.RegisterMapType((map[string]string)(nil), "types.PluginDataEntry.DataEntry") 18572 proto.RegisterType((*PluginDataSpecV3)(nil), "types.PluginDataSpecV3") 18573 proto.RegisterMapType((map[string]*PluginDataEntry)(nil), "types.PluginDataSpecV3.EntriesEntry") 18574 proto.RegisterType((*PluginDataFilter)(nil), "types.PluginDataFilter") 18575 proto.RegisterType((*PluginDataUpdateParams)(nil), "types.PluginDataUpdateParams") 18576 proto.RegisterMapType((map[string]string)(nil), "types.PluginDataUpdateParams.ExpectEntry") 18577 proto.RegisterMapType((map[string]string)(nil), "types.PluginDataUpdateParams.SetEntry") 18578 proto.RegisterType((*RoleFilter)(nil), "types.RoleFilter") 18579 proto.RegisterType((*RoleV6)(nil), "types.RoleV6") 18580 proto.RegisterType((*RoleSpecV6)(nil), "types.RoleSpecV6") 18581 proto.RegisterType((*RoleOptions)(nil), "types.RoleOptions") 18582 proto.RegisterType((*RecordSession)(nil), "types.RecordSession") 18583 proto.RegisterType((*CertExtension)(nil), "types.CertExtension") 18584 proto.RegisterType((*RoleConditions)(nil), "types.RoleConditions") 18585 proto.RegisterType((*SPIFFERoleCondition)(nil), "types.SPIFFERoleCondition") 18586 proto.RegisterType((*DatabasePermission)(nil), "types.DatabasePermission") 18587 proto.RegisterType((*KubernetesResource)(nil), "types.KubernetesResource") 18588 proto.RegisterType((*SessionRequirePolicy)(nil), "types.SessionRequirePolicy") 18589 proto.RegisterType((*SessionJoinPolicy)(nil), "types.SessionJoinPolicy") 18590 proto.RegisterType((*AccessRequestConditions)(nil), "types.AccessRequestConditions") 18591 proto.RegisterType((*AccessReviewConditions)(nil), "types.AccessReviewConditions") 18592 proto.RegisterType((*AccessRequestAllowedPromotion)(nil), "types.AccessRequestAllowedPromotion") 18593 proto.RegisterType((*AccessRequestAllowedPromotions)(nil), "types.AccessRequestAllowedPromotions") 18594 proto.RegisterType((*ClaimMapping)(nil), "types.ClaimMapping") 18595 proto.RegisterType((*TraitMapping)(nil), "types.TraitMapping") 18596 proto.RegisterType((*Rule)(nil), "types.Rule") 18597 proto.RegisterType((*ImpersonateConditions)(nil), "types.ImpersonateConditions") 18598 proto.RegisterType((*BoolValue)(nil), "types.BoolValue") 18599 proto.RegisterType((*UserFilter)(nil), "types.UserFilter") 18600 proto.RegisterType((*UserV2)(nil), "types.UserV2") 18601 proto.RegisterType((*UserStatusV2)(nil), "types.UserStatusV2") 18602 proto.RegisterType((*UserSpecV2)(nil), "types.UserSpecV2") 18603 proto.RegisterType((*ExternalIdentity)(nil), "types.ExternalIdentity") 18604 proto.RegisterType((*LoginStatus)(nil), "types.LoginStatus") 18605 proto.RegisterType((*CreatedBy)(nil), "types.CreatedBy") 18606 proto.RegisterType((*LocalAuthSecrets)(nil), "types.LocalAuthSecrets") 18607 proto.RegisterType((*MFADevice)(nil), "types.MFADevice") 18608 proto.RegisterType((*TOTPDevice)(nil), "types.TOTPDevice") 18609 proto.RegisterType((*U2FDevice)(nil), "types.U2FDevice") 18610 proto.RegisterType((*WebauthnDevice)(nil), "types.WebauthnDevice") 18611 proto.RegisterType((*WebauthnLocalAuth)(nil), "types.WebauthnLocalAuth") 18612 proto.RegisterType((*ConnectorRef)(nil), "types.ConnectorRef") 18613 proto.RegisterType((*UserRef)(nil), "types.UserRef") 18614 proto.RegisterType((*ReverseTunnelV2)(nil), "types.ReverseTunnelV2") 18615 proto.RegisterType((*ReverseTunnelSpecV2)(nil), "types.ReverseTunnelSpecV2") 18616 proto.RegisterType((*TunnelConnectionV2)(nil), "types.TunnelConnectionV2") 18617 proto.RegisterType((*TunnelConnectionSpecV2)(nil), "types.TunnelConnectionSpecV2") 18618 proto.RegisterType((*SemaphoreFilter)(nil), "types.SemaphoreFilter") 18619 proto.RegisterType((*AcquireSemaphoreRequest)(nil), "types.AcquireSemaphoreRequest") 18620 proto.RegisterType((*SemaphoreLease)(nil), "types.SemaphoreLease") 18621 proto.RegisterType((*SemaphoreLeaseRef)(nil), "types.SemaphoreLeaseRef") 18622 proto.RegisterType((*SemaphoreV3)(nil), "types.SemaphoreV3") 18623 proto.RegisterType((*SemaphoreSpecV3)(nil), "types.SemaphoreSpecV3") 18624 proto.RegisterType((*WebSessionV2)(nil), "types.WebSessionV2") 18625 proto.RegisterType((*WebSessionSpecV2)(nil), "types.WebSessionSpecV2") 18626 proto.RegisterType((*DeviceWebToken)(nil), "types.DeviceWebToken") 18627 proto.RegisterType((*WebSessionFilter)(nil), "types.WebSessionFilter") 18628 proto.RegisterType((*SAMLSessionData)(nil), "types.SAMLSessionData") 18629 proto.RegisterType((*SAMLAttribute)(nil), "types.SAMLAttribute") 18630 proto.RegisterType((*SAMLAttributeValue)(nil), "types.SAMLAttributeValue") 18631 proto.RegisterType((*SAMLNameID)(nil), "types.SAMLNameID") 18632 proto.RegisterType((*RemoteClusterV3)(nil), "types.RemoteClusterV3") 18633 proto.RegisterType((*RemoteClusterStatusV3)(nil), "types.RemoteClusterStatusV3") 18634 proto.RegisterType((*KubernetesCluster)(nil), "types.KubernetesCluster") 18635 proto.RegisterMapType((map[string]CommandLabelV2)(nil), "types.KubernetesCluster.DynamicLabelsEntry") 18636 proto.RegisterMapType((map[string]string)(nil), "types.KubernetesCluster.StaticLabelsEntry") 18637 proto.RegisterType((*KubernetesClusterV3)(nil), "types.KubernetesClusterV3") 18638 proto.RegisterType((*KubernetesClusterSpecV3)(nil), "types.KubernetesClusterSpecV3") 18639 proto.RegisterMapType((map[string]CommandLabelV2)(nil), "types.KubernetesClusterSpecV3.DynamicLabelsEntry") 18640 proto.RegisterType((*KubeAzure)(nil), "types.KubeAzure") 18641 proto.RegisterType((*KubeAWS)(nil), "types.KubeAWS") 18642 proto.RegisterType((*KubeGCP)(nil), "types.KubeGCP") 18643 proto.RegisterType((*KubernetesClusterV3List)(nil), "types.KubernetesClusterV3List") 18644 proto.RegisterType((*KubernetesServerV3)(nil), "types.KubernetesServerV3") 18645 proto.RegisterType((*KubernetesServerSpecV3)(nil), "types.KubernetesServerSpecV3") 18646 proto.RegisterType((*WebTokenV3)(nil), "types.WebTokenV3") 18647 proto.RegisterType((*WebTokenSpecV3)(nil), "types.WebTokenSpecV3") 18648 proto.RegisterType((*GetWebSessionRequest)(nil), "types.GetWebSessionRequest") 18649 proto.RegisterType((*DeleteWebSessionRequest)(nil), "types.DeleteWebSessionRequest") 18650 proto.RegisterType((*GetWebTokenRequest)(nil), "types.GetWebTokenRequest") 18651 proto.RegisterType((*DeleteWebTokenRequest)(nil), "types.DeleteWebTokenRequest") 18652 proto.RegisterType((*ResourceRequest)(nil), "types.ResourceRequest") 18653 proto.RegisterType((*ResourceWithSecretsRequest)(nil), "types.ResourceWithSecretsRequest") 18654 proto.RegisterType((*ResourcesWithSecretsRequest)(nil), "types.ResourcesWithSecretsRequest") 18655 proto.RegisterType((*ResourceInNamespaceRequest)(nil), "types.ResourceInNamespaceRequest") 18656 proto.RegisterType((*ResourcesInNamespaceRequest)(nil), "types.ResourcesInNamespaceRequest") 18657 proto.RegisterType((*OIDCConnectorV3)(nil), "types.OIDCConnectorV3") 18658 proto.RegisterType((*OIDCConnectorV3List)(nil), "types.OIDCConnectorV3List") 18659 proto.RegisterType((*OIDCConnectorSpecV3)(nil), "types.OIDCConnectorSpecV3") 18660 proto.RegisterType((*MaxAge)(nil), "types.MaxAge") 18661 proto.RegisterType((*OIDCAuthRequest)(nil), "types.OIDCAuthRequest") 18662 proto.RegisterType((*SAMLConnectorV2)(nil), "types.SAMLConnectorV2") 18663 proto.RegisterType((*SAMLConnectorV2List)(nil), "types.SAMLConnectorV2List") 18664 proto.RegisterType((*SAMLConnectorSpecV2)(nil), "types.SAMLConnectorSpecV2") 18665 proto.RegisterType((*SAMLAuthRequest)(nil), "types.SAMLAuthRequest") 18666 proto.RegisterType((*AttributeMapping)(nil), "types.AttributeMapping") 18667 proto.RegisterType((*AsymmetricKeyPair)(nil), "types.AsymmetricKeyPair") 18668 proto.RegisterType((*GithubConnectorV3)(nil), "types.GithubConnectorV3") 18669 proto.RegisterType((*GithubConnectorV3List)(nil), "types.GithubConnectorV3List") 18670 proto.RegisterType((*GithubConnectorSpecV3)(nil), "types.GithubConnectorSpecV3") 18671 proto.RegisterType((*GithubAuthRequest)(nil), "types.GithubAuthRequest") 18672 proto.RegisterType((*SSOWarnings)(nil), "types.SSOWarnings") 18673 proto.RegisterType((*CreateUserParams)(nil), "types.CreateUserParams") 18674 proto.RegisterType((*SSODiagnosticInfo)(nil), "types.SSODiagnosticInfo") 18675 proto.RegisterType((*GithubTokenInfo)(nil), "types.GithubTokenInfo") 18676 proto.RegisterType((*GithubClaims)(nil), "types.GithubClaims") 18677 proto.RegisterType((*TeamMapping)(nil), "types.TeamMapping") 18678 proto.RegisterType((*TeamRolesMapping)(nil), "types.TeamRolesMapping") 18679 proto.RegisterType((*TrustedClusterV2)(nil), "types.TrustedClusterV2") 18680 proto.RegisterType((*TrustedClusterV2List)(nil), "types.TrustedClusterV2List") 18681 proto.RegisterType((*TrustedClusterSpecV2)(nil), "types.TrustedClusterSpecV2") 18682 proto.RegisterType((*LockV2)(nil), "types.LockV2") 18683 proto.RegisterType((*LockSpecV2)(nil), "types.LockSpecV2") 18684 proto.RegisterType((*LockTarget)(nil), "types.LockTarget") 18685 proto.RegisterType((*AddressCondition)(nil), "types.AddressCondition") 18686 proto.RegisterType((*NetworkRestrictionsSpecV4)(nil), "types.NetworkRestrictionsSpecV4") 18687 proto.RegisterType((*NetworkRestrictionsV4)(nil), "types.NetworkRestrictionsV4") 18688 proto.RegisterType((*WindowsDesktopServiceV3)(nil), "types.WindowsDesktopServiceV3") 18689 proto.RegisterType((*WindowsDesktopServiceSpecV3)(nil), "types.WindowsDesktopServiceSpecV3") 18690 proto.RegisterType((*WindowsDesktopFilter)(nil), "types.WindowsDesktopFilter") 18691 proto.RegisterType((*WindowsDesktopV3)(nil), "types.WindowsDesktopV3") 18692 proto.RegisterType((*WindowsDesktopSpecV3)(nil), "types.WindowsDesktopSpecV3") 18693 proto.RegisterType((*Resolution)(nil), "types.Resolution") 18694 proto.RegisterType((*RegisterUsingTokenRequest)(nil), "types.RegisterUsingTokenRequest") 18695 proto.RegisterType((*RecoveryCodesV1)(nil), "types.RecoveryCodesV1") 18696 proto.RegisterType((*RecoveryCodesSpecV1)(nil), "types.RecoveryCodesSpecV1") 18697 proto.RegisterType((*RecoveryCode)(nil), "types.RecoveryCode") 18698 proto.RegisterType((*NullableSessionState)(nil), "types.NullableSessionState") 18699 proto.RegisterType((*SessionTrackerFilter)(nil), "types.SessionTrackerFilter") 18700 proto.RegisterType((*SessionTrackerV1)(nil), "types.SessionTrackerV1") 18701 proto.RegisterType((*SessionTrackerSpecV1)(nil), "types.SessionTrackerSpecV1") 18702 proto.RegisterType((*SessionTrackerPolicySet)(nil), "types.SessionTrackerPolicySet") 18703 proto.RegisterType((*Participant)(nil), "types.Participant") 18704 proto.RegisterType((*UIConfigV1)(nil), "types.UIConfigV1") 18705 proto.RegisterType((*UIConfigSpecV1)(nil), "types.UIConfigSpecV1") 18706 proto.RegisterType((*InstallerV1)(nil), "types.InstallerV1") 18707 proto.RegisterType((*InstallerSpecV1)(nil), "types.InstallerSpecV1") 18708 proto.RegisterType((*InstallerV1List)(nil), "types.InstallerV1List") 18709 proto.RegisterType((*SortBy)(nil), "types.SortBy") 18710 proto.RegisterType((*ConnectionDiagnosticV1)(nil), "types.ConnectionDiagnosticV1") 18711 proto.RegisterType((*ConnectionDiagnosticSpecV1)(nil), "types.ConnectionDiagnosticSpecV1") 18712 proto.RegisterType((*ConnectionDiagnosticTrace)(nil), "types.ConnectionDiagnosticTrace") 18713 proto.RegisterType((*DatabaseServiceV1)(nil), "types.DatabaseServiceV1") 18714 proto.RegisterType((*DatabaseServiceSpecV1)(nil), "types.DatabaseServiceSpecV1") 18715 proto.RegisterType((*DatabaseResourceMatcher)(nil), "types.DatabaseResourceMatcher") 18716 proto.RegisterType((*ResourceMatcherAWS)(nil), "types.ResourceMatcherAWS") 18717 proto.RegisterType((*ClusterAlert)(nil), "types.ClusterAlert") 18718 proto.RegisterType((*ClusterAlertSpec)(nil), "types.ClusterAlertSpec") 18719 proto.RegisterType((*GetClusterAlertsRequest)(nil), "types.GetClusterAlertsRequest") 18720 proto.RegisterMapType((map[string]string)(nil), "types.GetClusterAlertsRequest.LabelsEntry") 18721 proto.RegisterType((*AlertAcknowledgement)(nil), "types.AlertAcknowledgement") 18722 proto.RegisterType((*Release)(nil), "types.Release") 18723 proto.RegisterType((*Asset)(nil), "types.Asset") 18724 proto.RegisterType((*PluginV1)(nil), "types.PluginV1") 18725 proto.RegisterType((*PluginSpecV1)(nil), "types.PluginSpecV1") 18726 proto.RegisterType((*PluginSlackAccessSettings)(nil), "types.PluginSlackAccessSettings") 18727 proto.RegisterType((*PluginGitlabSettings)(nil), "types.PluginGitlabSettings") 18728 proto.RegisterType((*PluginOpsgenieAccessSettings)(nil), "types.PluginOpsgenieAccessSettings") 18729 proto.RegisterType((*PluginServiceNowSettings)(nil), "types.PluginServiceNowSettings") 18730 proto.RegisterType((*PluginPagerDutySettings)(nil), "types.PluginPagerDutySettings") 18731 proto.RegisterType((*PluginJiraSettings)(nil), "types.PluginJiraSettings") 18732 proto.RegisterType((*PluginOpenAISettings)(nil), "types.PluginOpenAISettings") 18733 proto.RegisterType((*PluginMattermostSettings)(nil), "types.PluginMattermostSettings") 18734 proto.RegisterType((*PluginJamfSettings)(nil), "types.PluginJamfSettings") 18735 proto.RegisterType((*PluginOktaSettings)(nil), "types.PluginOktaSettings") 18736 proto.RegisterType((*PluginOktaSyncSettings)(nil), "types.PluginOktaSyncSettings") 18737 proto.RegisterType((*DiscordChannels)(nil), "types.DiscordChannels") 18738 proto.RegisterType((*PluginDiscordSettings)(nil), "types.PluginDiscordSettings") 18739 proto.RegisterMapType((map[string]*DiscordChannels)(nil), "types.PluginDiscordSettings.RoleToRecipientsEntry") 18740 proto.RegisterType((*PluginEntraIDSettings)(nil), "types.PluginEntraIDSettings") 18741 proto.RegisterType((*PluginEntraIDSyncSettings)(nil), "types.PluginEntraIDSyncSettings") 18742 proto.RegisterType((*PluginBootstrapCredentialsV1)(nil), "types.PluginBootstrapCredentialsV1") 18743 proto.RegisterType((*PluginIdSecretCredential)(nil), "types.PluginIdSecretCredential") 18744 proto.RegisterType((*PluginOAuth2AuthorizationCodeCredentials)(nil), "types.PluginOAuth2AuthorizationCodeCredentials") 18745 proto.RegisterType((*PluginStatusV1)(nil), "types.PluginStatusV1") 18746 proto.RegisterType((*PluginCredentialsV1)(nil), "types.PluginCredentialsV1") 18747 proto.RegisterType((*PluginOAuth2AccessTokenCredentials)(nil), "types.PluginOAuth2AccessTokenCredentials") 18748 proto.RegisterType((*PluginBearerTokenCredentials)(nil), "types.PluginBearerTokenCredentials") 18749 proto.RegisterType((*PluginStaticCredentialsRef)(nil), "types.PluginStaticCredentialsRef") 18750 proto.RegisterMapType((map[string]string)(nil), "types.PluginStaticCredentialsRef.LabelsEntry") 18751 proto.RegisterType((*PluginListV1)(nil), "types.PluginListV1") 18752 proto.RegisterType((*PluginStaticCredentialsV1)(nil), "types.PluginStaticCredentialsV1") 18753 proto.RegisterType((*PluginStaticCredentialsSpecV1)(nil), "types.PluginStaticCredentialsSpecV1") 18754 proto.RegisterType((*PluginStaticCredentialsBasicAuth)(nil), "types.PluginStaticCredentialsBasicAuth") 18755 proto.RegisterType((*PluginStaticCredentialsOAuthClientSecret)(nil), "types.PluginStaticCredentialsOAuthClientSecret") 18756 proto.RegisterType((*SAMLIdPServiceProviderV1)(nil), "types.SAMLIdPServiceProviderV1") 18757 proto.RegisterType((*SAMLIdPServiceProviderSpecV1)(nil), "types.SAMLIdPServiceProviderSpecV1") 18758 proto.RegisterType((*SAMLAttributeMapping)(nil), "types.SAMLAttributeMapping") 18759 proto.RegisterType((*IdPOptions)(nil), "types.IdPOptions") 18760 proto.RegisterType((*IdPSAMLOptions)(nil), "types.IdPSAMLOptions") 18761 proto.RegisterType((*KubernetesResourceV1)(nil), "types.KubernetesResourceV1") 18762 proto.RegisterType((*KubernetesResourceSpecV1)(nil), "types.KubernetesResourceSpecV1") 18763 proto.RegisterType((*ClusterMaintenanceConfigV1)(nil), "types.ClusterMaintenanceConfigV1") 18764 proto.RegisterType((*ClusterMaintenanceConfigSpecV1)(nil), "types.ClusterMaintenanceConfigSpecV1") 18765 proto.RegisterType((*AgentUpgradeWindow)(nil), "types.AgentUpgradeWindow") 18766 proto.RegisterType((*ScheduledAgentUpgradeWindow)(nil), "types.ScheduledAgentUpgradeWindow") 18767 proto.RegisterType((*AgentUpgradeSchedule)(nil), "types.AgentUpgradeSchedule") 18768 proto.RegisterType((*UserGroupV1)(nil), "types.UserGroupV1") 18769 proto.RegisterType((*UserGroupSpecV1)(nil), "types.UserGroupSpecV1") 18770 proto.RegisterType((*OktaImportRuleSpecV1)(nil), "types.OktaImportRuleSpecV1") 18771 proto.RegisterType((*OktaImportRuleMappingV1)(nil), "types.OktaImportRuleMappingV1") 18772 proto.RegisterMapType((map[string]string)(nil), "types.OktaImportRuleMappingV1.AddLabelsEntry") 18773 proto.RegisterType((*OktaImportRuleV1)(nil), "types.OktaImportRuleV1") 18774 proto.RegisterType((*OktaImportRuleMatchV1)(nil), "types.OktaImportRuleMatchV1") 18775 proto.RegisterType((*OktaAssignmentV1)(nil), "types.OktaAssignmentV1") 18776 proto.RegisterType((*OktaAssignmentSpecV1)(nil), "types.OktaAssignmentSpecV1") 18777 proto.RegisterType((*OktaAssignmentTargetV1)(nil), "types.OktaAssignmentTargetV1") 18778 proto.RegisterType((*IntegrationV1)(nil), "types.IntegrationV1") 18779 proto.RegisterType((*IntegrationSpecV1)(nil), "types.IntegrationSpecV1") 18780 proto.RegisterType((*AWSOIDCIntegrationSpecV1)(nil), "types.AWSOIDCIntegrationSpecV1") 18781 proto.RegisterType((*AzureOIDCIntegrationSpecV1)(nil), "types.AzureOIDCIntegrationSpecV1") 18782 proto.RegisterType((*HeadlessAuthentication)(nil), "types.HeadlessAuthentication") 18783 proto.RegisterType((*WatchKind)(nil), "types.WatchKind") 18784 proto.RegisterMapType((map[string]string)(nil), "types.WatchKind.FilterEntry") 18785 proto.RegisterType((*WatchStatusV1)(nil), "types.WatchStatusV1") 18786 proto.RegisterType((*WatchStatusSpecV1)(nil), "types.WatchStatusSpecV1") 18787 proto.RegisterType((*ServerInfoV1)(nil), "types.ServerInfoV1") 18788 proto.RegisterType((*ServerInfoSpecV1)(nil), "types.ServerInfoSpecV1") 18789 proto.RegisterMapType((map[string]string)(nil), "types.ServerInfoSpecV1.NewLabelsEntry") 18790 proto.RegisterType((*JamfSpecV1)(nil), "types.JamfSpecV1") 18791 proto.RegisterType((*JamfInventoryEntry)(nil), "types.JamfInventoryEntry") 18792 proto.RegisterType((*MessageWithHeader)(nil), "types.MessageWithHeader") 18793 proto.RegisterType((*AWSMatcher)(nil), "types.AWSMatcher") 18794 proto.RegisterType((*AssumeRole)(nil), "types.AssumeRole") 18795 proto.RegisterType((*InstallerParams)(nil), "types.InstallerParams") 18796 proto.RegisterType((*AWSSSM)(nil), "types.AWSSSM") 18797 proto.RegisterType((*AzureInstallerParams)(nil), "types.AzureInstallerParams") 18798 proto.RegisterType((*AzureMatcher)(nil), "types.AzureMatcher") 18799 proto.RegisterType((*GCPMatcher)(nil), "types.GCPMatcher") 18800 proto.RegisterType((*KubernetesMatcher)(nil), "types.KubernetesMatcher") 18801 proto.RegisterType((*OktaOptions)(nil), "types.OktaOptions") 18802 proto.RegisterType((*AccessGraphSync)(nil), "types.AccessGraphSync") 18803 proto.RegisterType((*AccessGraphAWSSync)(nil), "types.AccessGraphAWSSync") 18804 } 18805 18806 func init() { proto.RegisterFile("teleport/legacy/types/types.proto", fileDescriptor_9198ee693835762e) } 18807 18808 var fileDescriptor_9198ee693835762e = []byte{ 18809 // 25648 bytes of a gzipped FileDescriptorProto 18810 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0xfd, 0x7b, 0x70, 0x1c, 0x49, 18811 0x7a, 0x20, 0x86, 0x4f, 0x3f, 0x00, 0x34, 0x3e, 0xbc, 0x1a, 0x09, 0x90, 0x04, 0x31, 0xe4, 0x34, 18812 0xa7, 0x38, 0xc3, 0x21, 0xe7, 0x41, 0x2e, 0xc1, 0x1d, 0xee, 0xce, 0x7b, 0x1b, 0xdd, 0x20, 0xd1, 18813 0x24, 0x08, 0xf4, 0x56, 0x03, 0xc4, 0x8e, 0x66, 0x77, 0x7b, 0x0b, 0xdd, 0x09, 0xa0, 0x06, 0xdd, 18814 0x5d, 0xbd, 0x55, 0xd5, 0x24, 0xb1, 0xba, 0xfb, 0x9d, 0x1e, 0x27, 0xed, 0x4f, 0xd6, 0xe9, 0x75, 18815 0x5e, 0x9d, 0xf6, 0xec, 0x3b, 0x85, 0x42, 0x71, 0x77, 0x96, 0xed, 0x93, 0xc2, 0x21, 0xe9, 0xe2, 18816 0xce, 0x21, 0x9f, 0x7c, 0x72, 0x28, 0x14, 0xb2, 0x2e, 0xce, 0x56, 0x84, 0xcf, 0xaf, 0xb5, 0x02, 18817 0xb2, 0x2c, 0xfb, 0xc2, 0xc1, 0xb0, 0x2f, 0x64, 0xcb, 0x71, 0x61, 0xaf, 0x43, 0xb6, 0x23, 0xbf, 18818 0xcc, 0xac, 0xca, 0xac, 0xaa, 0x6e, 0x34, 0x86, 0x9c, 0x90, 0xb8, 0xf6, 0x3f, 0x24, 0xfa, 0xcb, 18819 0xef, 0xfb, 0xf2, 0x59, 0x99, 0x5f, 0x7e, 0xf9, 0x3d, 0xe0, 0x45, 0x9f, 0xb6, 0x68, 0xd7, 0x71, 18820 0xfd, 0x6b, 0x2d, 0xba, 0x67, 0x35, 0x0e, 0xaf, 0xf9, 0x87, 0x5d, 0xea, 0xf1, 0x7f, 0xaf, 0x76, 18821 0x5d, 0xc7, 0x77, 0xc8, 0x08, 0xfe, 0x58, 0x9c, 0xdf, 0x73, 0xf6, 0x1c, 0x84, 0x5c, 0x63, 0x7f, 18822 0xf1, 0xc2, 0xc5, 0xc2, 0x9e, 0xe3, 0xec, 0xb5, 0xe8, 0x35, 0xfc, 0xb5, 0xd3, 0xdb, 0xbd, 0xe6, 18823 0xdb, 0x6d, 0xea, 0xf9, 0x56, 0xbb, 0x2b, 0x10, 0xae, 0x04, 0x15, 0x58, 0xbe, 0xcf, 0x4a, 0x7c, 18824 0xdb, 0xe9, 0x5c, 0x7b, 0x70, 0x5d, 0xfd, 0x29, 0x50, 0xdf, 0x48, 0x6e, 0xcb, 0x43, 0xd7, 0xea, 18825 0x76, 0xa9, 0x1b, 0xfe, 0xc1, 0xd1, 0x8d, 0x7f, 0x98, 0x81, 0xf1, 0xbb, 0x94, 0x76, 0x8b, 0x2d, 18826 0xfb, 0x01, 0x25, 0x17, 0x21, 0xbb, 0x6e, 0xb5, 0xe9, 0x42, 0xea, 0x42, 0xea, 0xf2, 0xf8, 0xf2, 18827 0xcc, 0xe3, 0xa3, 0xc2, 0x84, 0x47, 0xdd, 0x07, 0xd4, 0xad, 0x77, 0xac, 0x36, 0x35, 0xb1, 0x90, 18828 0xbc, 0x06, 0xe3, 0xec, 0x7f, 0xaf, 0x6b, 0x35, 0xe8, 0x42, 0x1a, 0x31, 0xa7, 0x1e, 0x1f, 0x15, 18829 0xc6, 0x3b, 0x12, 0x68, 0x86, 0xe5, 0xe4, 0x12, 0x8c, 0xad, 0x51, 0xcb, 0xa3, 0x95, 0xf2, 0x42, 18830 0xe6, 0x42, 0xea, 0x72, 0x66, 0x79, 0xf2, 0xf1, 0x51, 0x21, 0xd7, 0x62, 0xa0, 0xba, 0xdd, 0x34, 18831 0x65, 0x21, 0xa9, 0xc0, 0xd8, 0xca, 0xa3, 0xae, 0xed, 0x52, 0x6f, 0x21, 0x7b, 0x21, 0x75, 0x79, 18832 0x62, 0x69, 0xf1, 0x2a, 0x1f, 0x94, 0xab, 0x72, 0x50, 0xae, 0x6e, 0xca, 0x41, 0x59, 0x9e, 0xfb, 18833 0xdd, 0xa3, 0xc2, 0x73, 0x8f, 0x8f, 0x0a, 0x63, 0x94, 0x93, 0xfc, 0xf4, 0x1f, 0x16, 0x52, 0xa6, 18834 0xa4, 0x27, 0xef, 0x42, 0x76, 0xf3, 0xb0, 0x4b, 0x17, 0xc6, 0x2f, 0xa4, 0x2e, 0x4f, 0x2f, 0xbd, 18835 0x70, 0x95, 0x4f, 0x43, 0xd0, 0xc9, 0xf0, 0x2f, 0x86, 0xb5, 0x9c, 0x7b, 0x7c, 0x54, 0xc8, 0x32, 18836 0x14, 0x13, 0xa9, 0xc8, 0x1b, 0x30, 0xba, 0xea, 0x78, 0x7e, 0xa5, 0xbc, 0x00, 0xd8, 0xb5, 0x53, 18837 0x8f, 0x8f, 0x0a, 0xb3, 0xfb, 0x8e, 0xe7, 0xd7, 0xed, 0xe6, 0xeb, 0x4e, 0xdb, 0xf6, 0x69, 0xbb, 18838 0xeb, 0x1f, 0x9a, 0x02, 0xc9, 0x78, 0x04, 0x53, 0x1a, 0x3f, 0x32, 0x01, 0x63, 0x5b, 0xeb, 0x77, 18839 0xd7, 0x37, 0xb6, 0xd7, 0xf3, 0xcf, 0x91, 0x1c, 0x64, 0xd7, 0x37, 0xca, 0x2b, 0xf9, 0x14, 0x19, 18840 0x83, 0x4c, 0xb1, 0x5a, 0xcd, 0xa7, 0xc9, 0x24, 0xe4, 0xca, 0xc5, 0xcd, 0xe2, 0x72, 0xb1, 0xb6, 18841 0x92, 0xcf, 0x90, 0x39, 0x98, 0xd9, 0xae, 0xac, 0x97, 0x37, 0xb6, 0x6b, 0xf5, 0xf2, 0x4a, 0xed, 18842 0xee, 0xe6, 0x46, 0x35, 0x9f, 0x25, 0xd3, 0x00, 0x77, 0xb7, 0x96, 0x57, 0xcc, 0xf5, 0x95, 0xcd, 18843 0x95, 0x5a, 0x7e, 0x84, 0xcc, 0x43, 0x5e, 0x92, 0xd4, 0x6b, 0x2b, 0xe6, 0xfd, 0x4a, 0x69, 0x25, 18844 0x3f, 0x6a, 0xfc, 0xe3, 0x0c, 0xe4, 0xee, 0x51, 0xdf, 0x6a, 0x5a, 0xbe, 0x45, 0xce, 0x69, 0x13, 18845 0x87, 0x7d, 0x52, 0x66, 0xec, 0x62, 0x7c, 0xc6, 0x46, 0x1e, 0x1f, 0x15, 0x52, 0x6f, 0xa8, 0x33, 18846 0xf5, 0x0e, 0x4c, 0x94, 0xa9, 0xd7, 0x70, 0xed, 0x2e, 0x5b, 0x4d, 0x38, 0x5b, 0xe3, 0xcb, 0x67, 18847 0x1f, 0x1f, 0x15, 0x4e, 0x35, 0x43, 0xb0, 0x32, 0x02, 0x2a, 0x36, 0xa9, 0xc0, 0xe8, 0x9a, 0xb5, 18848 0x43, 0x5b, 0xde, 0xc2, 0xc8, 0x85, 0xcc, 0xe5, 0x89, 0xa5, 0xe7, 0xc5, 0xa8, 0xcb, 0x06, 0x5e, 18849 0xe5, 0xa5, 0x2b, 0x1d, 0xdf, 0x3d, 0x5c, 0x9e, 0x7f, 0x7c, 0x54, 0xc8, 0xb7, 0x10, 0xa0, 0x8e, 18850 0x28, 0x47, 0x21, 0xb5, 0x70, 0x25, 0x8c, 0x1e, 0xbb, 0x12, 0xce, 0xff, 0xee, 0x51, 0x21, 0xc5, 18851 0x66, 0x48, 0xac, 0x84, 0x90, 0x9f, 0xbe, 0x26, 0x0c, 0x48, 0x57, 0xca, 0x0b, 0x63, 0xb8, 0x02, 18852 0xc9, 0xe3, 0xa3, 0xc2, 0xa4, 0x3a, 0x99, 0x0b, 0x29, 0x33, 0x5d, 0x29, 0x93, 0x25, 0xc8, 0x99, 18853 0xf4, 0x81, 0xed, 0xb1, 0xde, 0xe7, 0xb0, 0xf7, 0xa7, 0x1f, 0x1f, 0x15, 0x88, 0x2b, 0x60, 0x4a, 18854 0x53, 0x03, 0xbc, 0xc5, 0xb7, 0x60, 0x42, 0xe9, 0x19, 0xc9, 0x43, 0xe6, 0x80, 0x1e, 0xf2, 0x59, 18855 0x30, 0xd9, 0x9f, 0x64, 0x1e, 0x46, 0x1e, 0x58, 0xad, 0x9e, 0x18, 0x76, 0x93, 0xff, 0x78, 0x3b, 18856 0xfd, 0xf9, 0x94, 0xf1, 0xd7, 0xb3, 0x90, 0x33, 0x1d, 0xfe, 0xed, 0x92, 0x2b, 0x30, 0x52, 0xf3, 18857 0x2d, 0x5f, 0x4e, 0xe0, 0xdc, 0xe3, 0xa3, 0xc2, 0x0c, 0xfb, 0xae, 0xa9, 0x52, 0x2b, 0xc7, 0x60, 18858 0xa8, 0xd5, 0x7d, 0xcb, 0x93, 0x13, 0x89, 0xa8, 0x5d, 0x06, 0x50, 0x51, 0x11, 0x83, 0x5c, 0x82, 18859 0xec, 0x3d, 0xa7, 0x49, 0xc5, 0x5c, 0xb2, 0x7e, 0x4f, 0xb7, 0x9d, 0xa6, 0x8a, 0x88, 0xe5, 0xe4, 18860 0x75, 0x18, 0x2f, 0xf5, 0x5c, 0x97, 0x76, 0xd8, 0xb2, 0xcf, 0x22, 0xf2, 0xf4, 0xe3, 0xa3, 0x02, 18861 0x34, 0x38, 0x90, 0x7d, 0xa8, 0x21, 0x02, 0x9b, 0xa0, 0x9a, 0x6f, 0xb9, 0x3e, 0x6d, 0x2e, 0x8c, 18862 0x0c, 0x35, 0x41, 0xec, 0x53, 0x9d, 0xf5, 0x38, 0x49, 0x74, 0x82, 0x04, 0x27, 0xb2, 0x0a, 0x13, 18863 0xb7, 0x5d, 0xab, 0x41, 0xab, 0xd4, 0xb5, 0x9d, 0x26, 0xce, 0x7c, 0x66, 0xf9, 0xd2, 0xe3, 0xa3, 18864 0xc2, 0xe9, 0x3d, 0x06, 0xae, 0x77, 0x11, 0x1e, 0x52, 0x7f, 0xf7, 0xa8, 0x90, 0x2b, 0xf7, 0x5c, 18865 0x1c, 0x3d, 0x53, 0x25, 0x25, 0x5f, 0x63, 0x53, 0xe2, 0xf9, 0x38, 0xb4, 0xb4, 0x89, 0x73, 0x3e, 18866 0xb8, 0x89, 0x86, 0x68, 0xe2, 0xe9, 0x96, 0xe5, 0xf9, 0x75, 0x97, 0xd3, 0x45, 0xda, 0xa9, 0xb2, 18867 0x24, 0x1b, 0x90, 0xab, 0x35, 0xf6, 0x69, 0xb3, 0xd7, 0xa2, 0xb8, 0x50, 0x26, 0x96, 0xce, 0x88, 18868 0xe5, 0x2e, 0xe7, 0x53, 0x16, 0x2f, 0x2f, 0x0a, 0xde, 0xc4, 0x13, 0x10, 0x75, 0x15, 0x49, 0xac, 18869 0xb7, 0x73, 0xdf, 0xfe, 0x85, 0xc2, 0x73, 0x3f, 0xf0, 0x07, 0x17, 0x9e, 0x33, 0xfe, 0x61, 0x1a, 18870 0xf2, 0x51, 0x26, 0x64, 0x17, 0xa6, 0xb6, 0xba, 0x4d, 0xcb, 0xa7, 0xa5, 0x96, 0x4d, 0x3b, 0xbe, 18871 0x87, 0x8b, 0x64, 0x70, 0x9f, 0x5e, 0x12, 0xf5, 0x2e, 0xf4, 0x90, 0xb0, 0xde, 0xe0, 0x94, 0x91, 18872 0x5e, 0xe9, 0x6c, 0xc3, 0x7a, 0x6a, 0xb8, 0xe7, 0x7b, 0xb8, 0xc2, 0x4e, 0x56, 0x0f, 0x3f, 0x2d, 18873 0xfa, 0xd4, 0x23, 0xd8, 0x8a, 0x05, 0xd4, 0x69, 0xee, 0x1c, 0xe2, 0xca, 0x1c, 0x7e, 0x01, 0x31, 18874 0x92, 0x84, 0x05, 0xc4, 0xc0, 0xc6, 0x7f, 0x9f, 0x82, 0x69, 0x93, 0x7a, 0x4e, 0xcf, 0x6d, 0xd0, 18875 0x55, 0x6a, 0x35, 0xa9, 0xcb, 0x96, 0xff, 0x5d, 0xbb, 0xd3, 0x14, 0xdf, 0x14, 0x2e, 0xff, 0x03, 18876 0xbb, 0xa3, 0xee, 0xe2, 0x58, 0x4e, 0x3e, 0x03, 0x63, 0xb5, 0xde, 0x0e, 0xa2, 0xa6, 0xc3, 0xef, 18877 0xde, 0xeb, 0xed, 0xd4, 0x23, 0xe8, 0x12, 0x8d, 0x5c, 0x83, 0xb1, 0xfb, 0xd4, 0xf5, 0xc2, 0x7d, 18878 0x12, 0x4f, 0x89, 0x07, 0x1c, 0xa4, 0x12, 0x08, 0x2c, 0x72, 0x3b, 0xdc, 0xab, 0xc5, 0xf9, 0x36, 18879 0x13, 0xd9, 0x21, 0xc3, 0xa5, 0xd2, 0x16, 0x10, 0x75, 0xa9, 0x48, 0x2c, 0xe3, 0x67, 0xd2, 0x90, 18880 0x2f, 0x5b, 0xbe, 0xb5, 0x63, 0x79, 0x62, 0x3c, 0xef, 0xdf, 0x60, 0xbb, 0xbf, 0xd2, 0x51, 0xdc, 18881 0xfd, 0x59, 0xcb, 0x3f, 0x71, 0xf7, 0x5e, 0x8e, 0x76, 0x6f, 0x82, 0x1d, 0xb6, 0xa2, 0x7b, 0x61, 18882 0xa7, 0xde, 0x3b, 0xbe, 0x53, 0x79, 0xd1, 0xa9, 0x9c, 0xec, 0x54, 0xd8, 0x15, 0xf2, 0x1e, 0x64, 18883 0x6b, 0x5d, 0xda, 0x10, 0x9b, 0x88, 0x3c, 0x31, 0xf4, 0xce, 0x31, 0x84, 0xfb, 0x37, 0x96, 0x27, 18884 0x05, 0x9b, 0xac, 0xd7, 0xa5, 0x0d, 0x13, 0xc9, 0x94, 0x8f, 0xe6, 0x1f, 0x65, 0x60, 0x3e, 0x89, 18885 0x4c, 0xed, 0xc7, 0xe8, 0x80, 0x7e, 0x5c, 0x86, 0x1c, 0x3b, 0xcd, 0xd9, 0x81, 0x89, 0xdb, 0xc5, 18886 0x38, 0x17, 0x52, 0xf6, 0x05, 0xcc, 0x0c, 0x4a, 0xc9, 0xc5, 0x40, 0x38, 0xc8, 0x85, 0xfc, 0x84, 18887 0x70, 0x20, 0x45, 0x02, 0x36, 0xd7, 0xf2, 0x13, 0x46, 0x19, 0x22, 0x1c, 0x16, 0x09, 0x0e, 0xe7, 18888 0xda, 0x15, 0x10, 0xed, 0x70, 0x91, 0x87, 0xc2, 0x0a, 0xe4, 0x64, 0xb7, 0x16, 0x26, 0x91, 0xd1, 18889 0x6c, 0x64, 0x90, 0xee, 0xdf, 0xe0, 0x93, 0xd9, 0x14, 0xbf, 0x55, 0x36, 0x12, 0x87, 0xdc, 0x80, 18890 0x5c, 0xd5, 0x75, 0x1e, 0x1d, 0x56, 0xca, 0xde, 0xc2, 0xd4, 0x85, 0xcc, 0xe5, 0xf1, 0xe5, 0x33, 18891 0x8f, 0x8f, 0x0a, 0x73, 0x5d, 0x06, 0xab, 0xdb, 0x4d, 0xf5, 0x0c, 0x0e, 0x10, 0xef, 0x64, 0x73, 18892 0xa9, 0x7c, 0xfa, 0x4e, 0x36, 0x97, 0xce, 0x67, 0xee, 0x64, 0x73, 0x99, 0x7c, 0xf6, 0x4e, 0x36, 18893 0x97, 0xcd, 0x8f, 0xdc, 0xc9, 0xe6, 0x46, 0xf2, 0xa3, 0x77, 0xb2, 0xb9, 0xf1, 0x3c, 0xdc, 0xc9, 18894 0xe6, 0x26, 0xf2, 0x93, 0x9a, 0x1c, 0x80, 0x0c, 0x7c, 0xa7, 0xe1, 0xb4, 0xcc, 0xcc, 0x96, 0x59, 18895 0x31, 0x47, 0x4b, 0xc5, 0x12, 0x75, 0x7d, 0x33, 0x53, 0xdc, 0xae, 0x99, 0x53, 0xe5, 0xc3, 0x8e, 18896 0xd5, 0xb6, 0x1b, 0xfc, 0xc0, 0x34, 0x33, 0xb7, 0x4b, 0x55, 0xa3, 0x08, 0xd3, 0x61, 0x5f, 0xd6, 18897 0x6c, 0xcf, 0x27, 0xd7, 0x60, 0x5c, 0x42, 0xd8, 0x46, 0x97, 0x49, 0xec, 0xb5, 0x19, 0xe2, 0x18, 18898 0xbf, 0x93, 0x06, 0x08, 0x4b, 0x9e, 0xd1, 0x6f, 0xe1, 0x73, 0xda, 0xb7, 0x70, 0x2a, 0xfa, 0x2d, 18899 0xf4, 0xfd, 0x0a, 0xc8, 0x07, 0x30, 0xca, 0xc4, 0x82, 0x9e, 0x14, 0x96, 0xce, 0x44, 0x49, 0xb1, 18900 0xf0, 0xfe, 0x8d, 0xe5, 0x69, 0x41, 0x3c, 0xea, 0x21, 0xc4, 0x14, 0x64, 0xca, 0x67, 0xf4, 0xf3, 18901 0x63, 0xe1, 0x64, 0x88, 0x0f, 0xe8, 0x32, 0x04, 0x13, 0x2a, 0x06, 0x14, 0xbf, 0x8c, 0xae, 0x9c, 18902 0xe4, 0xa0, 0x94, 0x9c, 0x05, 0x36, 0xe1, 0x62, 0x50, 0xc7, 0x1e, 0x1f, 0x15, 0x32, 0x3d, 0xd7, 18903 0xc6, 0x45, 0x40, 0xae, 0x81, 0x58, 0x06, 0x62, 0x00, 0xd9, 0xea, 0x9b, 0x6d, 0x58, 0xf5, 0x06, 18904 0x75, 0x7d, 0x4d, 0x08, 0x13, 0x68, 0xa4, 0x0b, 0xfa, 0x52, 0x59, 0xc8, 0xe2, 0x32, 0xb8, 0x9c, 18905 0x38, 0x2a, 0x57, 0x35, 0x54, 0x2e, 0x60, 0x5e, 0x90, 0xa7, 0x52, 0x93, 0x97, 0xd5, 0x63, 0xc2, 18906 0xa6, 0x5e, 0x01, 0xb9, 0x01, 0x6c, 0x85, 0x8a, 0xd1, 0x07, 0x51, 0x4f, 0x71, 0xbb, 0xb6, 0x7c, 18907 0x4a, 0x70, 0x9a, 0xb2, 0x1e, 0xaa, 0xe4, 0x0c, 0x9b, 0xbc, 0x03, 0x6c, 0x09, 0x8b, 0x71, 0x27, 18908 0x82, 0xe8, 0x76, 0xa9, 0x5a, 0x6a, 0x39, 0xbd, 0x66, 0xed, 0x8b, 0x6b, 0x21, 0xf1, 0x5e, 0xa3, 18909 0xab, 0x12, 0xdf, 0x2e, 0x55, 0xc9, 0x3b, 0x30, 0x52, 0xfc, 0x46, 0xcf, 0xa5, 0x42, 0x3e, 0x99, 18910 0x94, 0x75, 0x32, 0xd8, 0xf2, 0x19, 0x41, 0x38, 0x63, 0xb1, 0x9f, 0xaa, 0x5c, 0x87, 0xe5, 0xac, 18911 0xe6, 0xcd, 0xb5, 0x9a, 0x90, 0x3d, 0x48, 0x64, 0x58, 0x36, 0xd7, 0x94, 0x66, 0xfb, 0x5a, 0xaf, 18912 0x19, 0x15, 0xb9, 0x06, 0xe9, 0x62, 0x19, 0x2f, 0x47, 0x13, 0x4b, 0xe3, 0xb2, 0xda, 0xf2, 0xf2, 18913 0xbc, 0x20, 0x99, 0xb4, 0xd4, 0xcf, 0x20, 0x5d, 0x2c, 0x93, 0x65, 0x18, 0xb9, 0x77, 0x58, 0xfb, 18914 0xe2, 0x9a, 0xd8, 0xcc, 0xe6, 0xe4, 0xba, 0x66, 0xb0, 0x0d, 0xfc, 0xec, 0xbd, 0xb0, 0xc5, 0xed, 18915 0x43, 0xef, 0xeb, 0x2d, 0xb5, 0xc5, 0x88, 0x46, 0xaa, 0x30, 0x5e, 0x6c, 0xb6, 0xed, 0xce, 0x96, 18916 0x47, 0xdd, 0x85, 0x09, 0xe4, 0xb3, 0x10, 0x69, 0x77, 0x50, 0xbe, 0xbc, 0xf0, 0xf8, 0xa8, 0x30, 18917 0x6f, 0xb1, 0x9f, 0xf5, 0x9e, 0x47, 0x5d, 0x85, 0x5b, 0xc8, 0x84, 0x54, 0x01, 0xee, 0x39, 0x9d, 18918 0x3d, 0xa7, 0xe8, 0xb7, 0x2c, 0x2f, 0xb2, 0x3d, 0x86, 0x05, 0x81, 0xf8, 0x70, 0xaa, 0xcd, 0x60, 18919 0x75, 0x8b, 0x01, 0x15, 0x86, 0x0a, 0x0f, 0x72, 0x0b, 0x46, 0x37, 0x5c, 0xab, 0xd1, 0xa2, 0x0b, 18920 0x53, 0xc8, 0x6d, 0x5e, 0x70, 0xe3, 0x40, 0xd9, 0xd3, 0x05, 0xc1, 0x30, 0xef, 0x20, 0x58, 0xbd, 18921 0xc0, 0x70, 0xc4, 0xc5, 0x6d, 0x20, 0xf1, 0x35, 0x99, 0x70, 0x35, 0x78, 0x4d, 0xbd, 0x1a, 0x84, 18922 0x1f, 0x7d, 0xc9, 0x69, 0xb7, 0xad, 0x4e, 0x13, 0x69, 0xef, 0x2f, 0xa9, 0x37, 0x86, 0xaf, 0xc3, 18923 0x6c, 0x6c, 0xb0, 0x8e, 0xb9, 0xf9, 0xbd, 0x0f, 0x33, 0x65, 0xba, 0x6b, 0xf5, 0x5a, 0x7e, 0x70, 18924 0x92, 0xf0, 0x4f, 0x14, 0xef, 0x60, 0x4d, 0x5e, 0x54, 0x97, 0xc7, 0x87, 0x19, 0x45, 0x36, 0xde, 18925 0x83, 0x29, 0xad, 0xfb, 0xec, 0xaa, 0x50, 0xec, 0x35, 0x6d, 0x1f, 0x27, 0x32, 0x15, 0x5e, 0x15, 18926 0x2c, 0x06, 0xc4, 0xe9, 0x32, 0x43, 0x04, 0xe3, 0xef, 0xa8, 0xd2, 0x8a, 0xd8, 0x89, 0xd8, 0x0d, 18927 0x5b, 0xec, 0x07, 0xa9, 0x50, 0x76, 0x8a, 0xed, 0x07, 0xc1, 0x6e, 0x70, 0x85, 0x7f, 0x9b, 0xe9, 18928 0xd8, 0xb7, 0x39, 0x21, 0x66, 0x22, 0x63, 0x3d, 0xf4, 0xf8, 0x17, 0x19, 0xac, 0xd4, 0xcc, 0x27, 18929 0x5f, 0xa9, 0x1f, 0xc0, 0xe4, 0x3d, 0xab, 0x63, 0xed, 0xd1, 0x26, 0xeb, 0x01, 0xdf, 0x7b, 0xc6, 18930 0x97, 0x9f, 0x7f, 0x7c, 0x54, 0x38, 0xd3, 0xe6, 0x70, 0xec, 0xa5, 0xba, 0x88, 0x34, 0x02, 0x72, 18931 0x5d, 0x7e, 0xd9, 0x23, 0x09, 0x5f, 0xf6, 0x94, 0xa8, 0x7d, 0x04, 0xbf, 0x6c, 0xf1, 0x3d, 0x1b, 18932 0xff, 0x5b, 0x0e, 0xfb, 0x48, 0x5e, 0x87, 0x51, 0x93, 0xee, 0xb1, 0xa3, 0x26, 0x15, 0x4e, 0x92, 18933 0x8b, 0x10, 0x75, 0x60, 0x38, 0x0e, 0xca, 0x19, 0xb4, 0xe9, 0xed, 0xdb, 0xbb, 0xbe, 0x18, 0x9d, 18934 0x40, 0xce, 0x10, 0x60, 0x45, 0xce, 0x10, 0x10, 0xfd, 0x12, 0xcb, 0x61, 0x6c, 0xf7, 0x33, 0xcb, 18935 0x35, 0x31, 0x68, 0x72, 0x84, 0xcd, 0xb2, 0xb2, 0x8d, 0xb8, 0x9a, 0x94, 0xc0, 0xb0, 0xc9, 0x4d, 18936 0x18, 0x2f, 0x36, 0x1a, 0x4e, 0x4f, 0xb9, 0x33, 0xf2, 0xef, 0x96, 0x03, 0x75, 0x6d, 0x49, 0x88, 18937 0x4a, 0x6a, 0x30, 0xb1, 0xc2, 0x2e, 0x5a, 0x76, 0xc9, 0x6a, 0xec, 0xcb, 0x41, 0x92, 0x7b, 0x98, 18938 0x52, 0x12, 0x7e, 0xb9, 0x14, 0x81, 0x0d, 0x06, 0x54, 0xd5, 0x0f, 0x0a, 0x2e, 0xd9, 0x84, 0x89, 18939 0x1a, 0x6d, 0xb8, 0xd4, 0xaf, 0xf9, 0x8e, 0x4b, 0x23, 0x5b, 0xb2, 0x52, 0xb2, 0xfc, 0x82, 0xbc, 18940 0xeb, 0x79, 0x08, 0xac, 0x7b, 0x0c, 0xaa, 0x72, 0x55, 0x90, 0xb9, 0xd0, 0xde, 0x76, 0xdc, 0xc3, 18941 0xf2, 0xb2, 0xd8, 0xa6, 0xc3, 0x33, 0x9d, 0x83, 0x55, 0xa1, 0x9d, 0x41, 0x9a, 0x3b, 0xba, 0xd0, 18942 0xce, 0xb1, 0x70, 0xa6, 0xca, 0x35, 0x94, 0xad, 0xc4, 0xa6, 0x3d, 0x13, 0x8e, 0x32, 0x82, 0x95, 18943 0x99, 0x6a, 0x7a, 0x28, 0x99, 0x69, 0x33, 0x25, 0xb0, 0x48, 0x17, 0x88, 0x9c, 0x35, 0x2e, 0xe8, 18944 0xb6, 0xa8, 0xe7, 0x89, 0xbd, 0xfc, 0x6c, 0x64, 0xf2, 0x43, 0x84, 0xe5, 0x97, 0x05, 0xf3, 0xf3, 18945 0x72, 0x19, 0x88, 0x7b, 0x1a, 0x2b, 0x54, 0xea, 0x49, 0xe0, 0x4d, 0xde, 0x02, 0x58, 0x79, 0xe4, 18946 0x53, 0xb7, 0x63, 0xb5, 0x02, 0x95, 0x18, 0x2a, 0x85, 0xa8, 0x80, 0xea, 0x13, 0xad, 0x20, 0x93, 18947 0x12, 0x4c, 0x15, 0x3d, 0xaf, 0xd7, 0xa6, 0xa6, 0xd3, 0xa2, 0x45, 0x73, 0x1d, 0xf7, 0xfd, 0xf1, 18948 0xe5, 0xf3, 0x8f, 0x8f, 0x0a, 0x67, 0x2d, 0x2c, 0xa8, 0xbb, 0x4e, 0x8b, 0xd6, 0x2d, 0x57, 0x5d, 18949 0xdd, 0x3a, 0x0d, 0xd9, 0x00, 0xd8, 0xe8, 0xd2, 0x4e, 0x8d, 0x5a, 0x6e, 0x63, 0x3f, 0xb2, 0xcd, 18950 0x87, 0x05, 0xcb, 0xe7, 0x44, 0x0f, 0xe7, 0x9d, 0x2e, 0xed, 0x78, 0x08, 0x53, 0x5b, 0x15, 0x62, 18951 0x92, 0x6d, 0x98, 0xa9, 0x14, 0xef, 0x55, 0x9d, 0x96, 0xdd, 0x38, 0x14, 0x92, 0xd3, 0x34, 0x2a, 18952 0x0a, 0x4f, 0x0b, 0xae, 0x91, 0x52, 0xbe, 0x3d, 0xd9, 0x56, 0xbb, 0xde, 0x45, 0x68, 0x5d, 0xc8, 18953 0x4f, 0x51, 0x2e, 0xe4, 0x43, 0xb6, 0x06, 0x3d, 0x26, 0x0c, 0x6e, 0x5a, 0x7b, 0xde, 0xc2, 0x8c, 18954 0xa6, 0x07, 0x2b, 0x6e, 0xd7, 0xae, 0x2a, 0xa5, 0x5c, 0x4c, 0x59, 0xe4, 0x0b, 0x11, 0xa1, 0x75, 18955 0xdf, 0xda, 0xf3, 0xf4, 0x85, 0x18, 0x60, 0x2f, 0xbe, 0x0f, 0xf9, 0x28, 0xf1, 0x49, 0x54, 0x4d, 18956 0x77, 0xb2, 0xb9, 0xa9, 0xfc, 0xb4, 0xd2, 0xe2, 0x95, 0x47, 0xb6, 0xe7, 0x7b, 0xc6, 0xf7, 0x6b, 18957 0x5f, 0x0d, 0xfb, 0xa2, 0xef, 0xd2, 0xc3, 0xaa, 0x4b, 0x77, 0xed, 0x47, 0x62, 0x03, 0xc2, 0x2f, 18958 0xfa, 0x80, 0x1e, 0xd6, 0xbb, 0x08, 0x55, 0xbf, 0xe8, 0x00, 0x95, 0x7c, 0x16, 0x72, 0x77, 0xef, 18959 0xd5, 0xee, 0xd2, 0xc3, 0x4a, 0x59, 0x1c, 0x2e, 0x9c, 0xac, 0xed, 0xd5, 0x19, 0xa9, 0xb6, 0x3e, 18960 0x02, 0x4c, 0x63, 0x39, 0xdc, 0xbd, 0x58, 0xcd, 0xa5, 0x56, 0xcf, 0xf3, 0xa9, 0x5b, 0x29, 0xab, 18961 0x35, 0x37, 0x38, 0x30, 0xb2, 0x97, 0x04, 0xa8, 0xc6, 0x3f, 0x4a, 0xe3, 0xce, 0xc5, 0x16, 0x69, 18962 0xa5, 0xe3, 0xf9, 0x56, 0xa7, 0x41, 0x03, 0x06, 0xb8, 0x48, 0x6d, 0x01, 0x8d, 0x2c, 0xd2, 0x10, 18963 0x59, 0xaf, 0x3a, 0x3d, 0x74, 0xd5, 0xac, 0x4a, 0xa9, 0x6d, 0x10, 0xaa, 0x6d, 0x51, 0xa5, 0x2b, 18964 0xa0, 0x91, 0x2a, 0x43, 0x64, 0x72, 0x09, 0xc6, 0x2a, 0xc5, 0x7b, 0xc5, 0x9e, 0xbf, 0x8f, 0xfb, 18965 0x66, 0x8e, 0xcb, 0xd4, 0x6c, 0x85, 0x59, 0x3d, 0x7f, 0xdf, 0x94, 0x85, 0xe4, 0x1a, 0xde, 0x55, 18966 0x3a, 0xd4, 0xe7, 0x4a, 0x55, 0x71, 0x50, 0x7a, 0x1c, 0x14, 0xb9, 0xaa, 0x30, 0x10, 0x79, 0x15, 18967 0x46, 0xee, 0x57, 0x4b, 0x95, 0xb2, 0xb8, 0xec, 0xe2, 0xe9, 0xf1, 0xa0, 0xdb, 0xd0, 0x5b, 0xc2, 18968 0x51, 0x8c, 0xdf, 0x4a, 0x85, 0x7b, 0x12, 0xb9, 0xa4, 0xc9, 0x10, 0xa8, 0x28, 0x61, 0x32, 0x84, 18969 0xaa, 0x28, 0x41, 0x69, 0xc2, 0x04, 0x52, 0xea, 0x79, 0xbe, 0xd3, 0x5e, 0xe9, 0x34, 0xbb, 0x8e, 18970 0xdd, 0xf1, 0x91, 0x8a, 0x8f, 0x9a, 0xf1, 0xf8, 0xa8, 0xf0, 0x42, 0x03, 0x4b, 0xeb, 0x54, 0x14, 18971 0xd7, 0x23, 0x5c, 0x12, 0xa8, 0x9f, 0x60, 0x20, 0x8d, 0xdf, 0x4b, 0x6b, 0x67, 0x09, 0x6b, 0x9e, 18972 0x49, 0xbb, 0x2d, 0xbb, 0x81, 0xd7, 0xe7, 0xdb, 0xae, 0xd3, 0xeb, 0x06, 0xcb, 0x01, 0x9b, 0xe7, 18973 0x86, 0xa5, 0xf5, 0x3d, 0x56, 0xac, 0xf3, 0x4e, 0xa0, 0x26, 0x5f, 0x80, 0x49, 0x76, 0xac, 0x8b, 18974 0x9f, 0xde, 0x42, 0x1a, 0x67, 0xe2, 0x1c, 0xaa, 0xbc, 0x3c, 0xea, 0x06, 0x6c, 0x34, 0x79, 0x40, 18975 0xa5, 0x20, 0x4d, 0x58, 0xd8, 0x74, 0xad, 0x8e, 0x67, 0xfb, 0x2b, 0x9d, 0x86, 0x7b, 0x88, 0x62, 18976 0xc8, 0x4a, 0xc7, 0xda, 0x69, 0xd1, 0x26, 0x76, 0x37, 0xb7, 0x7c, 0xf9, 0xf1, 0x51, 0xe1, 0x25, 18977 0x9f, 0xe3, 0xd4, 0x69, 0x80, 0x54, 0xa7, 0x1c, 0x4b, 0xe1, 0xdc, 0x97, 0x13, 0x13, 0x5b, 0xe4, 18978 0xb0, 0xe2, 0xe3, 0x07, 0x3f, 0x91, 0x51, 0x6c, 0x09, 0x66, 0x83, 0x6d, 0x45, 0x6a, 0x33, 0x55, 18979 0x02, 0xe3, 0x5f, 0xa5, 0xc2, 0xd3, 0x8e, 0xbc, 0x0b, 0x13, 0x62, 0xa9, 0x2b, 0xeb, 0x02, 0xb7, 18980 0x2b, 0xf9, 0x5d, 0x44, 0x66, 0x56, 0x45, 0x67, 0x97, 0xec, 0x62, 0x69, 0x4d, 0x59, 0x1b, 0x78, 18981 0xc9, 0xb6, 0x1a, 0xad, 0x28, 0x95, 0x44, 0x63, 0x8b, 0x60, 0x73, 0xad, 0xa6, 0x8f, 0x0a, 0x2e, 18982 0x02, 0xbf, 0xe5, 0x25, 0x0c, 0x83, 0x82, 0xfc, 0xe4, 0x1d, 0xff, 0x2f, 0x53, 0x49, 0x87, 0x2a, 18983 0x59, 0x86, 0xa9, 0x6d, 0xc7, 0x3d, 0xc0, 0xf9, 0x55, 0x06, 0x01, 0x67, 0xfe, 0xa1, 0x2c, 0x88, 18984 0x76, 0x48, 0x27, 0x51, 0xdb, 0xa6, 0x8c, 0x86, 0xde, 0xb6, 0x08, 0x07, 0x8d, 0x80, 0xcd, 0x43, 18985 0xc0, 0x31, 0xf8, 0x3a, 0x70, 0x1e, 0xc2, 0x26, 0x68, 0x4b, 0x58, 0x45, 0x37, 0xfe, 0x71, 0x4a, 18986 0x3d, 0x3c, 0xd9, 0x20, 0x97, 0x9d, 0xb6, 0x65, 0x77, 0x94, 0xee, 0xf0, 0xf7, 0x1d, 0x84, 0x46, 18987 0x5b, 0xa2, 0x20, 0x93, 0x1b, 0x90, 0xe3, 0xbf, 0x82, 0x4d, 0x12, 0x55, 0x48, 0x82, 0x50, 0xdf, 18988 0xe1, 0x25, 0x62, 0x6c, 0x66, 0x32, 0x27, 0x9d, 0x99, 0x1f, 0x48, 0xc1, 0x84, 0x72, 0x9f, 0x66, 18989 0x7b, 0x75, 0xd5, 0x75, 0x3e, 0xa6, 0x0d, 0x5f, 0x3f, 0x26, 0xba, 0x1c, 0x18, 0xd9, 0xab, 0x03, 18990 0xd4, 0xc8, 0xf1, 0x90, 0x3e, 0xc1, 0xf1, 0x60, 0xfc, 0x2f, 0x29, 0x21, 0xcd, 0x0f, 0xbd, 0x47, 18991 0xea, 0xfb, 0x59, 0xfa, 0x24, 0x07, 0xc3, 0x17, 0x60, 0xc4, 0xa4, 0x4d, 0xdb, 0x13, 0x92, 0xf8, 18992 0xac, 0x7a, 0x73, 0xc0, 0x82, 0xf0, 0xf2, 0xe2, 0xb2, 0x9f, 0xea, 0xae, 0x8e, 0xe5, 0x4c, 0xe4, 18993 0xaa, 0x78, 0xb7, 0x5a, 0xf4, 0x91, 0xcd, 0x57, 0xb2, 0x38, 0x60, 0x50, 0xe4, 0xb2, 0xbd, 0xfa, 18994 0x2e, 0x2b, 0x11, 0xb2, 0x9f, 0xba, 0x6a, 0x35, 0x1a, 0xe3, 0x43, 0x80, 0xb0, 0x4a, 0x72, 0x17, 18995 0xf2, 0xe2, 0xdb, 0xb6, 0x3b, 0x7b, 0x5c, 0x7c, 0x10, 0x63, 0x50, 0x78, 0x7c, 0x54, 0x78, 0xbe, 18996 0x11, 0x94, 0x09, 0xf9, 0x48, 0xe1, 0x1b, 0x23, 0x34, 0xfe, 0xad, 0x34, 0xa4, 0x8b, 0x38, 0x21, 18997 0x77, 0xe9, 0xa1, 0x6f, 0xed, 0xdc, 0xb2, 0x5b, 0xda, 0x4a, 0x3c, 0x40, 0x68, 0x7d, 0xd7, 0xd6, 18998 0x2e, 0xd6, 0x0a, 0x32, 0x5b, 0x89, 0x77, 0xdd, 0x9d, 0x37, 0x91, 0x50, 0x59, 0x89, 0x07, 0xee, 18999 0xce, 0x9b, 0x51, 0xb2, 0x00, 0x91, 0x18, 0x30, 0xca, 0x57, 0xa5, 0x58, 0x83, 0xf0, 0xf8, 0xa8, 19000 0x30, 0xca, 0x17, 0xaf, 0x29, 0x4a, 0xc8, 0x59, 0xc8, 0xd4, 0xaa, 0xeb, 0x62, 0xfb, 0x40, 0x05, 19001 0x96, 0xd7, 0xed, 0x98, 0x0c, 0xc6, 0xea, 0x5c, 0x2b, 0x17, 0xab, 0x78, 0x65, 0x1d, 0x09, 0xeb, 19002 0x6c, 0x35, 0xad, 0x6e, 0xf4, 0xd2, 0x1a, 0x20, 0x92, 0xf7, 0x60, 0xe2, 0x6e, 0xb9, 0xb4, 0xea, 19003 0x78, 0xfc, 0xd3, 0x1f, 0x0d, 0x17, 0xff, 0x41, 0xb3, 0x51, 0x47, 0x9d, 0x71, 0x74, 0x0f, 0x55, 19004 0xf0, 0x8d, 0x5f, 0x4e, 0xc1, 0x84, 0xa2, 0xd1, 0x21, 0x9f, 0x15, 0x4f, 0x79, 0x29, 0x4d, 0x56, 19005 0x55, 0x30, 0x58, 0x29, 0xbf, 0xfe, 0xb7, 0x9d, 0x26, 0x15, 0x0f, 0x7b, 0xe1, 0x55, 0x3b, 0x3d, 19006 0xcc, 0x55, 0xfb, 0x2d, 0x00, 0xbe, 0x06, 0xb0, 0xc9, 0xca, 0x59, 0xac, 0x18, 0x01, 0xa8, 0xf3, 19007 0x12, 0x22, 0x1b, 0x26, 0x4c, 0xaa, 0xd7, 0x6c, 0xb6, 0x7d, 0x8a, 0xe7, 0x09, 0xa1, 0x3c, 0x55, 19008 0xb6, 0x4f, 0xc1, 0x2d, 0xfe, 0x5c, 0xa2, 0x93, 0x18, 0x9f, 0x55, 0x55, 0x3c, 0xc3, 0x7e, 0x80, 19009 0xc6, 0x0f, 0xa5, 0xc2, 0xcf, 0xfd, 0xfe, 0x75, 0xf2, 0x0e, 0x8c, 0xf2, 0xe7, 0x20, 0xf1, 0x6a, 19010 0x76, 0x2a, 0xb8, 0x26, 0xa9, 0x6f, 0x45, 0x5c, 0xb7, 0xfa, 0xfb, 0xfc, 0x31, 0xf9, 0x39, 0x53, 19011 0x90, 0x04, 0x6a, 0x59, 0x5d, 0x43, 0x23, 0xb9, 0xa3, 0x02, 0xf2, 0x7a, 0x92, 0x5a, 0xd6, 0xf8, 19012 0xed, 0x2c, 0x4c, 0xeb, 0x68, 0xea, 0x9b, 0x51, 0x6a, 0xa8, 0x37, 0xa3, 0x2f, 0x40, 0x8e, 0x8d, 19013 0x87, 0xdd, 0xa0, 0x52, 0xec, 0x78, 0x09, 0x95, 0xd5, 0x02, 0xa6, 0xbd, 0x85, 0x42, 0xed, 0xd0, 19014 0xf3, 0x69, 0x9b, 0xdd, 0x9a, 0xcc, 0x80, 0x8a, 0x2c, 0x29, 0x0f, 0x1b, 0x99, 0xf0, 0x24, 0x96, 19015 0x0f, 0x1b, 0xea, 0xba, 0x0d, 0x9e, 0x38, 0xde, 0x80, 0x51, 0x26, 0x7d, 0x06, 0x97, 0x7a, 0x6c, 19016 0x25, 0x13, 0x4c, 0x23, 0xf6, 0x0f, 0x1c, 0x89, 0x6c, 0x43, 0x6e, 0xcd, 0xf2, 0xfc, 0x1a, 0xa5, 19017 0x9d, 0x21, 0x5e, 0x83, 0x0b, 0x62, 0xa8, 0xe6, 0xf0, 0xa9, 0xd5, 0xa3, 0xb4, 0x13, 0x79, 0xce, 19018 0x0b, 0x98, 0x91, 0xaf, 0x00, 0x94, 0x9c, 0x8e, 0xef, 0x3a, 0xad, 0x35, 0x67, 0x6f, 0x61, 0x14, 19019 0x6f, 0x53, 0x2f, 0x44, 0x26, 0x20, 0x44, 0xe0, 0x17, 0xaa, 0x40, 0x65, 0xd0, 0xe0, 0x05, 0xf5, 19020 0x96, 0xb3, 0xa7, 0xae, 0xd7, 0x10, 0x9f, 0xdc, 0x82, 0xbc, 0xbc, 0xaa, 0x6e, 0x75, 0xf7, 0x5c, 19021 0x5c, 0x20, 0x63, 0xe1, 0xf1, 0x4a, 0x1f, 0xf9, 0xf5, 0x9e, 0x80, 0xab, 0x3b, 0x5a, 0x94, 0x86, 19022 0x7c, 0x19, 0xce, 0x44, 0x61, 0x72, 0x96, 0x73, 0xa1, 0xe0, 0xa9, 0xb2, 0x4b, 0x58, 0xf7, 0xfd, 19023 0x58, 0x18, 0xdf, 0x4d, 0xc3, 0x99, 0x3e, 0x9d, 0x65, 0xdf, 0x03, 0x1e, 0xab, 0xca, 0xf7, 0x10, 19024 0x39, 0x4d, 0xb9, 0x41, 0xcb, 0x05, 0x34, 0x7d, 0x60, 0x2b, 0x38, 0xbb, 0x9c, 0x8f, 0x9a, 0x3e, 19025 0xa0, 0xe1, 0xc3, 0x1d, 0xc8, 0xb2, 0x29, 0x1a, 0xe2, 0x31, 0x56, 0x6a, 0x29, 0xa6, 0x7d, 0x5b, 19026 0x5d, 0x3e, 0x38, 0x75, 0xc8, 0x83, 0x7c, 0x16, 0x32, 0x9b, 0x9b, 0x6b, 0xb8, 0x76, 0x32, 0xd8, 19027 0xf7, 0x29, 0xdf, 0x6f, 0x69, 0x4b, 0x75, 0x8a, 0xd1, 0x5e, 0x0d, 0xde, 0xee, 0x19, 0x3a, 0xf9, 19028 0x52, 0xc4, 0x7c, 0xe4, 0xd5, 0xc1, 0x13, 0x3d, 0xbc, 0x35, 0xc9, 0x93, 0x18, 0x68, 0xfc, 0xad, 19029 0x74, 0xf8, 0x0d, 0xdf, 0xb2, 0x5b, 0x3e, 0x75, 0xc9, 0x22, 0xff, 0x24, 0xc3, 0x7b, 0xaa, 0x19, 19030 0xfc, 0x26, 0x0b, 0xe1, 0xf7, 0xcd, 0x59, 0x05, 0x1f, 0xf2, 0xab, 0xca, 0x87, 0x9c, 0xc1, 0x0f, 19031 0x79, 0xba, 0xef, 0x27, 0xfb, 0x6a, 0xc2, 0xba, 0xc4, 0x0f, 0x31, 0x61, 0xed, 0xbd, 0x04, 0x53, 19032 0xeb, 0xce, 0xca, 0x23, 0x3f, 0x40, 0x64, 0x1f, 0x60, 0xce, 0xd4, 0x81, 0x8c, 0xe3, 0x46, 0xab, 19033 0x49, 0xdd, 0xcd, 0x7d, 0xab, 0xa3, 0xbd, 0x86, 0x9a, 0x31, 0x38, 0xc3, 0x5d, 0xa7, 0x0f, 0x75, 19034 0xdc, 0x31, 0x8e, 0x1b, 0x85, 0x1b, 0x3f, 0x98, 0x96, 0x83, 0x71, 0x7f, 0xe9, 0x19, 0x7d, 0x75, 19035 0x7b, 0x53, 0x7b, 0x75, 0x9b, 0x0b, 0xf4, 0x85, 0xc1, 0x13, 0xf2, 0xd2, 0x31, 0x2f, 0xcf, 0xff, 19036 0xd5, 0x08, 0x4c, 0xaa, 0xe8, 0x6c, 0x1c, 0x8a, 0xcd, 0xa6, 0xab, 0x8e, 0x83, 0xd5, 0x6c, 0xba, 19037 0x26, 0x42, 0xb5, 0x87, 0xe6, 0xcc, 0xc0, 0x87, 0xe6, 0xaf, 0xc2, 0x78, 0xa9, 0xdd, 0xd4, 0x9e, 19038 0xbf, 0x8c, 0x84, 0xe6, 0x5d, 0x0d, 0x90, 0xf8, 0xb7, 0x10, 0xa8, 0xc1, 0x1a, 0xed, 0x66, 0xfc, 19039 0xd1, 0x2b, 0x64, 0xa9, 0xbd, 0x51, 0x8f, 0x3c, 0xc9, 0x1b, 0xf5, 0x4d, 0x18, 0xdf, 0xf2, 0xe8, 19040 0x66, 0xaf, 0xd3, 0xa1, 0x2d, 0x5c, 0x56, 0x39, 0x2e, 0x93, 0xf7, 0x3c, 0x5a, 0xf7, 0x11, 0xaa, 19041 0x36, 0x20, 0x40, 0x55, 0x27, 0x78, 0x6c, 0xc0, 0x04, 0xdf, 0x80, 0x5c, 0x95, 0x52, 0x17, 0xc7, 19042 0x74, 0x22, 0x14, 0xbd, 0xba, 0x94, 0xba, 0x75, 0x36, 0xb0, 0xda, 0xdb, 0xb5, 0x40, 0xd4, 0x1e, 19043 0xbc, 0x27, 0x87, 0x7c, 0xf0, 0x26, 0x2f, 0xc2, 0x64, 0xb7, 0xb7, 0xd3, 0xb2, 0x1b, 0xc8, 0x57, 19044 0xbc, 0x94, 0x9b, 0x13, 0x1c, 0xc6, 0xd8, 0x7a, 0xe4, 0x4b, 0x30, 0x85, 0x77, 0x91, 0x60, 0xc9, 19045 0x4d, 0x6b, 0xef, 0x44, 0x5a, 0x19, 0x97, 0x74, 0x1a, 0x0c, 0x54, 0x4f, 0x30, 0xe8, 0xd0, 0x19, 19046 0x2d, 0xd6, 0x60, 0x5a, 0x9f, 0xc9, 0xa7, 0xf0, 0x5c, 0x14, 0x3c, 0xde, 0xe7, 0xf2, 0xe3, 0x77, 19047 0xb2, 0x39, 0xc8, 0x4f, 0xf0, 0x67, 0x7b, 0x13, 0xaa, 0x41, 0x9f, 0x4c, 0x72, 0xb7, 0xb7, 0x43, 19048 0xdd, 0x0e, 0xf5, 0xa9, 0x27, 0x84, 0x75, 0xcf, 0xcc, 0x16, 0xbb, 0x5d, 0xcf, 0xf8, 0xf5, 0x34, 19049 0x8c, 0x15, 0xb7, 0x6b, 0x95, 0xce, 0xae, 0x83, 0x8f, 0x3e, 0x81, 0xae, 0x5f, 0x7d, 0xf4, 0x09, 19050 0x74, 0xfd, 0xaa, 0x86, 0xff, 0x5a, 0xc2, 0x75, 0x0b, 0x4d, 0x49, 0x95, 0xeb, 0x96, 0xa6, 0x83, 19051 0x0b, 0x9f, 0x3d, 0x32, 0x43, 0x3c, 0x7b, 0x04, 0x5a, 0xae, 0xec, 0xb1, 0x5a, 0x2e, 0xf2, 0x0e, 19052 0x4c, 0x54, 0x3a, 0x3e, 0xdd, 0x73, 0xc3, 0x95, 0x1e, 0x5c, 0xfd, 0x02, 0xb0, 0x2a, 0x82, 0x2b, 19053 0xd8, 0x6c, 0x19, 0x71, 0xcd, 0x5a, 0xa0, 0x51, 0xc3, 0x65, 0xc4, 0x15, 0x70, 0x91, 0x4b, 0xaf, 19054 0x44, 0x34, 0xca, 0x91, 0x35, 0x22, 0x9f, 0x96, 0xb9, 0xf0, 0x39, 0x1d, 0xaa, 0x83, 0xd9, 0xc0, 19055 0x2e, 0xcf, 0x26, 0x3f, 0x2d, 0x1b, 0xdf, 0x4c, 0xc3, 0x44, 0xb1, 0xdb, 0x7d, 0xc6, 0x0d, 0x7c, 19056 0x3e, 0xaf, 0x6d, 0xaf, 0xf2, 0xce, 0x12, 0xf4, 0x6b, 0x28, 0xdb, 0x9e, 0x5f, 0x49, 0xc3, 0x4c, 19057 0x84, 0x42, 0x6d, 0x7d, 0x6a, 0x48, 0xb3, 0x9e, 0xf4, 0x90, 0x66, 0x3d, 0x99, 0xe1, 0xcc, 0x7a, 19058 0xb2, 0x4f, 0xb2, 0x65, 0xbe, 0x02, 0x99, 0x62, 0xb7, 0x1b, 0x7d, 0x1e, 0xec, 0x76, 0xef, 0xdf, 19059 0xe0, 0xf7, 0x4e, 0xab, 0xdb, 0x35, 0x19, 0x86, 0xb6, 0x8f, 0x8d, 0x0e, 0xb9, 0x8f, 0x19, 0x6f, 19060 0xc0, 0x38, 0xf2, 0x42, 0x63, 0x9a, 0x0b, 0x80, 0x1f, 0xb3, 0xb0, 0xa3, 0xd1, 0xea, 0x12, 0x9f, 19061 0xf9, 0xff, 0x99, 0x82, 0x11, 0xfc, 0xfd, 0x8c, 0xae, 0xb1, 0x25, 0x6d, 0x8d, 0xe5, 0x95, 0x35, 19062 0x36, 0xcc, 0xea, 0xfa, 0x97, 0x59, 0x1c, 0x2d, 0xb1, 0xae, 0x84, 0x0d, 0x4b, 0x2a, 0xc1, 0x86, 19063 0xe5, 0x2d, 0x50, 0x76, 0x4d, 0x55, 0xab, 0xa3, 0x9c, 0x19, 0xea, 0x4d, 0x23, 0x44, 0x26, 0x07, 19064 0x51, 0x6b, 0x96, 0x0c, 0x4e, 0xc6, 0xc5, 0x68, 0x53, 0x9f, 0x8a, 0x21, 0xcb, 0x2a, 0x90, 0x4a, 19065 0xc7, 0xa3, 0x8d, 0x9e, 0x4b, 0x6b, 0x07, 0x76, 0xf7, 0x3e, 0x75, 0xed, 0xdd, 0x43, 0xa1, 0x05, 19066 0xc2, 0x73, 0xd9, 0x16, 0xa5, 0x75, 0xef, 0xc0, 0xee, 0xb2, 0xab, 0x88, 0xbd, 0x7b, 0x68, 0x26, 19067 0xd0, 0x90, 0x0f, 0x60, 0xcc, 0xa4, 0x0f, 0x5d, 0xdb, 0x97, 0x6f, 0xb4, 0xd3, 0xc1, 0xc5, 0x19, 19068 0xa1, 0xfc, 0x62, 0xe8, 0xf2, 0x1f, 0xea, 0xfc, 0x8b, 0x72, 0xb2, 0xc4, 0x37, 0x3e, 0xfe, 0x16, 19069 0x3b, 0x15, 0xf6, 0xb6, 0xb8, 0x5d, 0xeb, 0xb7, 0xef, 0x91, 0x2b, 0x30, 0x82, 0xbb, 0xa7, 0x90, 19070 0x09, 0xd0, 0xb6, 0x19, 0xcf, 0x50, 0x75, 0x6b, 0x47, 0x0c, 0xf2, 0x02, 0x40, 0xa0, 0x66, 0xf7, 19071 0x16, 0x72, 0x78, 0x5a, 0x2b, 0x90, 0xe8, 0xd6, 0x3f, 0x7e, 0x92, 0xad, 0xff, 0xd3, 0x33, 0xe1, 19072 0xf8, 0x95, 0x34, 0x5c, 0x0c, 0xb6, 0xb3, 0x0d, 0xb7, 0x56, 0xbc, 0xb7, 0x56, 0x69, 0x56, 0x85, 19073 0xf4, 0x5f, 0x75, 0x9d, 0x07, 0x36, 0xbb, 0xfd, 0x5d, 0x3f, 0xe6, 0x63, 0x5c, 0xe3, 0xab, 0x96, 19074 0xab, 0xf8, 0xd2, 0xda, 0x63, 0xb7, 0x72, 0x6a, 0x88, 0xf7, 0xf8, 0x6e, 0x37, 0xa6, 0xf1, 0x5b, 19075 0x7d, 0xce, 0x0c, 0x19, 0x90, 0x1f, 0x4a, 0xc1, 0xe9, 0xe4, 0x86, 0x88, 0x1b, 0x61, 0x41, 0x4a, 19076 0x9e, 0x7d, 0x5a, 0xbb, 0xfc, 0xca, 0xe3, 0xa3, 0xc2, 0x45, 0xcf, 0x6a, 0xb7, 0xea, 0x76, 0x93, 19077 0xd7, 0x66, 0x37, 0x68, 0xbd, 0x2b, 0x10, 0xb4, 0x7a, 0xfb, 0xd4, 0xf4, 0x36, 0xc8, 0x6f, 0x72, 19078 0x21, 0xb5, 0x0c, 0x90, 0x93, 0xda, 0x19, 0xe3, 0x1f, 0xa4, 0x40, 0x59, 0x51, 0x39, 0x93, 0x36, 19079 0x6d, 0x97, 0x36, 0x7c, 0xdc, 0xd1, 0x02, 0x03, 0x7d, 0x0e, 0x8b, 0xd8, 0x36, 0x20, 0x8c, 0xbc, 19080 0x0f, 0x63, 0x5c, 0x97, 0xc3, 0x75, 0x28, 0xe1, 0x4a, 0x14, 0x7a, 0x1f, 0xee, 0xde, 0xc1, 0x31, 19081 0xd4, 0x55, 0x2c, 0x88, 0x98, 0x7c, 0x7b, 0x67, 0x7b, 0xb3, 0xd4, 0xb2, 0xec, 0xb6, 0x27, 0xf6, 19082 0x31, 0x1c, 0xd6, 0x8f, 0x1f, 0xfa, 0xf5, 0x06, 0x42, 0x55, 0xf9, 0x36, 0x40, 0x35, 0x6e, 0x4b, 19083 0xb5, 0xd3, 0x31, 0x06, 0x3a, 0x05, 0x18, 0xb9, 0x1f, 0x5e, 0x3f, 0x97, 0xc7, 0x1f, 0x1f, 0x15, 19084 0xf8, 0x72, 0x31, 0x39, 0xdc, 0xf8, 0xf1, 0x14, 0x4c, 0xeb, 0xeb, 0x89, 0x5c, 0x85, 0x51, 0x61, 19085 0x26, 0x9f, 0xc2, 0x6b, 0x36, 0x1b, 0x85, 0x51, 0x6e, 0x20, 0xaf, 0x99, 0xc5, 0x0b, 0x2c, 0xb6, 19086 0x13, 0x0b, 0x0e, 0x42, 0x8f, 0x84, 0x3b, 0x71, 0x83, 0x83, 0x4c, 0x59, 0x46, 0x0c, 0x26, 0x86, 19087 0x79, 0xbd, 0x96, 0xaf, 0x6a, 0x49, 0x5d, 0x84, 0x98, 0xa2, 0xc4, 0x28, 0xc1, 0x28, 0xff, 0x84, 19088 0x23, 0x86, 0x01, 0xa9, 0x13, 0x18, 0x06, 0x18, 0x47, 0x29, 0x80, 0x5a, 0x6d, 0xf5, 0x2e, 0x3d, 19089 0xac, 0x5a, 0xb6, 0x8b, 0x6a, 0x7d, 0xdc, 0x2e, 0xef, 0x8a, 0x8f, 0x6b, 0x52, 0xa8, 0xf5, 0xf9, 19090 0xd6, 0x7a, 0x40, 0x0f, 0x35, 0xb5, 0xbe, 0x44, 0xc5, 0x3d, 0xd9, 0xb5, 0x1f, 0x58, 0x3e, 0x65, 19091 0x84, 0x69, 0x24, 0xe4, 0x7b, 0x32, 0x87, 0x46, 0x28, 0x15, 0x64, 0xf2, 0x15, 0x98, 0x0e, 0x7f, 19092 0x05, 0x8f, 0x13, 0xd3, 0xc1, 0x07, 0xac, 0x17, 0x2e, 0xbf, 0xf0, 0xf8, 0xa8, 0xb0, 0xa8, 0x70, 19093 0x8d, 0x3e, 0x5b, 0x44, 0x98, 0x19, 0xbf, 0x98, 0xc2, 0xf7, 0x2c, 0xd9, 0xc1, 0x4b, 0x90, 0x0d, 19094 0xcc, 0x9d, 0x26, 0xb9, 0xa6, 0x26, 0xa2, 0x80, 0xc5, 0x72, 0x72, 0x11, 0x32, 0x61, 0x4f, 0x70, 19095 0x8b, 0xd4, 0x7b, 0xc0, 0x4a, 0xc9, 0x6d, 0x18, 0x1b, 0xaa, 0xcd, 0xf8, 0x69, 0x24, 0xb4, 0x55, 19096 0x52, 0xe3, 0x2c, 0xdc, 0xd9, 0xde, 0xfc, 0xde, 0x9d, 0x85, 0x9f, 0x4a, 0xc3, 0x0c, 0x1b, 0xd7, 19097 0x62, 0xcf, 0xdf, 0x77, 0x5c, 0xdb, 0x3f, 0x7c, 0x66, 0xf5, 0x14, 0xef, 0x6a, 0x42, 0xce, 0xa2, 19098 0x3c, 0x65, 0xd4, 0xbe, 0x0d, 0xa5, 0xae, 0xf8, 0x9d, 0x11, 0x98, 0x4b, 0xa0, 0x22, 0xaf, 0x6b, 19099 0xaa, 0xc4, 0x05, 0xe9, 0x11, 0xf7, 0xdd, 0xa3, 0xc2, 0xa4, 0x44, 0xdf, 0x0c, 0x3d, 0xe4, 0x96, 19100 0xf4, 0xc7, 0x61, 0x3e, 0x52, 0xa8, 0x59, 0x54, 0x1f, 0x87, 0xf5, 0x27, 0xe1, 0x2b, 0x30, 0x62, 19101 0x3a, 0x2d, 0x2a, 0x2d, 0x19, 0xf0, 0x60, 0x77, 0x19, 0x40, 0x7b, 0xc3, 0x62, 0x00, 0xb2, 0x0a, 19102 0x63, 0xec, 0x8f, 0x7b, 0x56, 0x57, 0x68, 0x7d, 0x49, 0x20, 0x66, 0x23, 0xb4, 0x6b, 0x77, 0xf6, 19103 0x54, 0x49, 0xbb, 0x45, 0xeb, 0x6d, 0xab, 0xab, 0x49, 0x20, 0x1c, 0x51, 0x93, 0xd8, 0x73, 0xfd, 19104 0x25, 0xf6, 0xd4, 0xb1, 0x12, 0x7b, 0x13, 0xa0, 0x66, 0xef, 0x75, 0xec, 0xce, 0x5e, 0xb1, 0xb5, 19105 0x27, 0xfc, 0x0a, 0xaf, 0xf4, 0x9f, 0x85, 0xab, 0x21, 0x32, 0x2e, 0x5c, 0xfe, 0x84, 0xc2, 0x61, 19106 0x75, 0xab, 0xa5, 0xa9, 0xa4, 0x43, 0x54, 0xb2, 0x0e, 0x50, 0x6c, 0xf8, 0xf6, 0x03, 0xb6, 0x80, 19107 0x3d, 0x61, 0x24, 0x2b, 0x1b, 0x5c, 0x2a, 0xde, 0xa5, 0x87, 0x35, 0xea, 0x87, 0x2a, 0x6e, 0x0b, 19108 0x51, 0xd9, 0x77, 0xa0, 0xd9, 0xb3, 0x86, 0x1c, 0x48, 0x17, 0x4e, 0x15, 0x9b, 0x4d, 0x9b, 0xf5, 19109 0xc0, 0x6a, 0x6d, 0xba, 0x6c, 0x32, 0x9a, 0xc8, 0x7a, 0x32, 0x99, 0xf5, 0x15, 0xc1, 0xfa, 0x45, 19110 0x2b, 0xa0, 0xaa, 0xfb, 0x9c, 0x2c, 0x5a, 0x4d, 0x32, 0x63, 0x63, 0x03, 0xa6, 0xf5, 0xae, 0xeb, 19111 0xde, 0x90, 0x93, 0x90, 0x33, 0x6b, 0xc5, 0x7a, 0x6d, 0xb5, 0x78, 0x3d, 0x9f, 0x22, 0x79, 0x98, 19112 0x14, 0xbf, 0x96, 0xea, 0x4b, 0x6f, 0xde, 0xcc, 0xa7, 0x35, 0xc8, 0x9b, 0xd7, 0x97, 0x62, 0x9e, 19113 0x07, 0x63, 0xf9, 0x1c, 0x57, 0x64, 0x18, 0xbf, 0x9a, 0x82, 0x9c, 0x6c, 0x37, 0xb9, 0x09, 0x99, 19114 0x5a, 0x6d, 0x35, 0xe2, 0x2b, 0x10, 0x9e, 0x2f, 0x7c, 0x27, 0xf5, 0x3c, 0xd5, 0x20, 0x8c, 0x11, 19115 0x30, 0xba, 0xcd, 0xb5, 0x9a, 0x10, 0x0b, 0x24, 0x5d, 0xb8, 0x6d, 0x73, 0xba, 0x04, 0x03, 0xea, 19116 0x9b, 0x90, 0xb9, 0xb3, 0xbd, 0x29, 0xc4, 0x78, 0x49, 0x17, 0xee, 0xa4, 0x9c, 0xee, 0xe3, 0x87, 19117 0xea, 0xfe, 0xce, 0x08, 0x0c, 0x13, 0x26, 0x94, 0x25, 0xcc, 0x8f, 0xdb, 0xb6, 0x13, 0xf8, 0xfc, 19118 0x89, 0xe3, 0x96, 0x41, 0x4c, 0x51, 0xc2, 0xa4, 0x83, 0x35, 0xa7, 0x61, 0xb5, 0xc4, 0xb9, 0x8d, 19119 0xd2, 0x41, 0x8b, 0x01, 0x4c, 0x0e, 0x37, 0x7e, 0x2b, 0x05, 0x79, 0x94, 0xa1, 0xd0, 0x38, 0xcc, 19120 0x39, 0xa0, 0x9d, 0xfb, 0xd7, 0xc9, 0x1b, 0xf2, 0x63, 0x4b, 0x05, 0x97, 0xc6, 0x11, 0xfc, 0xd8, 19121 0x22, 0x5a, 0x67, 0xf1, 0xc1, 0x29, 0x0e, 0x97, 0xe9, 0xe1, 0xdd, 0xb1, 0x8e, 0x71, 0xb8, 0x2c, 19122 0xc0, 0x08, 0x36, 0x47, 0x6c, 0x8b, 0xd8, 0x72, 0x9f, 0x01, 0x4c, 0x0e, 0x57, 0x76, 0xa5, 0x9f, 19123 0x49, 0xc7, 0xfa, 0xb0, 0xf4, 0x3d, 0xe5, 0xd2, 0xa4, 0x77, 0x6e, 0xa8, 0x9d, 0xfa, 0x43, 0x98, 19124 0x8f, 0x0e, 0x09, 0x5e, 0xe8, 0x8b, 0x30, 0xa3, 0xc3, 0xe5, 0xdd, 0xfe, 0x4c, 0x62, 0x5d, 0xf7, 19125 0x97, 0xcc, 0x28, 0xbe, 0xf1, 0xdf, 0xa5, 0x60, 0x1c, 0xff, 0x34, 0x7b, 0x2d, 0x34, 0x57, 0x28, 19126 0x6e, 0xd7, 0x84, 0xf2, 0x4e, 0x15, 0xe3, 0xac, 0x87, 0x5e, 0x5d, 0xe8, 0xf7, 0xb4, 0xfd, 0x25, 19127 0x40, 0x16, 0xa4, 0x5c, 0x2b, 0x27, 0x5f, 0x28, 0x03, 0x52, 0xae, 0xbe, 0xf3, 0x22, 0xa4, 0x02, 19128 0x19, 0x2d, 0x84, 0xb6, 0x6b, 0x6c, 0xf9, 0xa9, 0xef, 0x92, 0x48, 0xe7, 0xb4, 0x74, 0x0b, 0x21, 19129 0x8e, 0x86, 0xcf, 0x92, 0xdb, 0xb5, 0xa2, 0xb9, 0xae, 0x3d, 0x4b, 0xb2, 0x36, 0x6a, 0xd6, 0xa3, 19130 0x02, 0xc9, 0xf8, 0x67, 0xe3, 0xd1, 0x01, 0x14, 0x47, 0xdd, 0x09, 0xbf, 0x8d, 0x77, 0x60, 0xa4, 19131 0xd8, 0x6a, 0x39, 0x0f, 0xc5, 0x2e, 0x21, 0xf5, 0x0b, 0xc1, 0xf8, 0xf1, 0x93, 0xcc, 0x62, 0x28, 19132 0x9a, 0x9b, 0x06, 0x03, 0x90, 0x12, 0x8c, 0x17, 0xb7, 0x6b, 0x95, 0x4a, 0x79, 0x73, 0x73, 0x4d, 19133 0x78, 0xbf, 0xbf, 0x2c, 0xc7, 0xc7, 0xb6, 0x9b, 0xf5, 0xe8, 0xcb, 0x58, 0x28, 0xb9, 0x87, 0x74, 19134 0xe4, 0x3d, 0x80, 0x3b, 0x8e, 0xdd, 0xb9, 0x47, 0xfd, 0x7d, 0xa7, 0x29, 0x3a, 0x7f, 0xfe, 0xf1, 19135 0x51, 0x61, 0xe2, 0x63, 0xc7, 0xee, 0xd4, 0xdb, 0x08, 0x66, 0x6d, 0x0f, 0x91, 0x4c, 0xe5, 0x6f, 19136 0x36, 0xd2, 0xcb, 0x0e, 0x37, 0x41, 0x18, 0x09, 0x47, 0x7a, 0xc7, 0x89, 0x59, 0x1f, 0x48, 0x34, 19137 0xd2, 0x86, 0x99, 0x5a, 0x6f, 0x6f, 0x8f, 0xb2, 0x5d, 0x5d, 0x68, 0x2c, 0x46, 0xc5, 0xed, 0x36, 19138 0x88, 0x1d, 0xc0, 0x6f, 0x22, 0xec, 0x7e, 0xe2, 0x2d, 0xbf, 0xce, 0x16, 0xf2, 0x77, 0x8e, 0x0a, 19139 0xe2, 0xc5, 0x8d, 0x09, 0x69, 0x9e, 0xa4, 0x8f, 0xeb, 0x2b, 0xa2, 0xbc, 0xc9, 0x06, 0x8c, 0xde, 19140 0xb6, 0xfd, 0xd5, 0xde, 0x8e, 0x30, 0xb1, 0x7e, 0x71, 0xc0, 0x47, 0xc3, 0x11, 0xb9, 0xca, 0x77, 19141 0xcf, 0xf6, 0xf7, 0x7b, 0xaa, 0xb9, 0xb5, 0x60, 0x43, 0xb6, 0x21, 0x57, 0xb2, 0xdd, 0x46, 0x8b, 19142 0x96, 0x2a, 0xe2, 0xd4, 0xbf, 0x38, 0x80, 0xa5, 0x44, 0xe5, 0xe3, 0xd2, 0xc0, 0x5f, 0x0d, 0x5b, 19143 0x95, 0x02, 0x24, 0x06, 0xf9, 0xd7, 0x53, 0xf0, 0x7c, 0xd0, 0xfa, 0xe2, 0x1e, 0xed, 0xf8, 0xf7, 19144 0x2c, 0xbf, 0xb1, 0x4f, 0x5d, 0x31, 0x4a, 0xe3, 0x83, 0x46, 0xe9, 0xed, 0xd8, 0x28, 0x5d, 0x0e, 19145 0x47, 0xc9, 0x62, 0xcc, 0xea, 0x6d, 0xce, 0x2d, 0x3e, 0x66, 0x83, 0x6a, 0x25, 0x75, 0x80, 0x50, 19146 0x87, 0x2f, 0x5c, 0x74, 0x5e, 0x1e, 0xd0, 0xe1, 0x10, 0x59, 0x98, 0xe9, 0x06, 0xbf, 0x35, 0x8b, 19147 0x9b, 0x00, 0x4a, 0xee, 0x4a, 0x7f, 0x06, 0x2e, 0x91, 0x5c, 0x18, 0xc0, 0x9b, 0xfb, 0x38, 0xcc, 19148 0x0d, 0xf0, 0x5c, 0xe2, 0xb3, 0xbd, 0x66, 0xed, 0x08, 0x21, 0xe4, 0x98, 0xd9, 0x5e, 0xb3, 0xc2, 19149 0xd9, 0x6e, 0x59, 0xd1, 0xd9, 0x5e, 0xb3, 0x76, 0x48, 0x89, 0x3b, 0x61, 0x71, 0x8f, 0x9d, 0x17, 19150 0x06, 0x71, 0x2b, 0x55, 0xf9, 0xc9, 0x9c, 0xe0, 0x8c, 0xf5, 0x11, 0x8c, 0xd7, 0xba, 0x56, 0x83, 19151 0xb6, 0xec, 0x5d, 0x5f, 0x3c, 0xea, 0xbc, 0x34, 0x80, 0x55, 0x80, 0x2b, 0x1e, 0x04, 0xe4, 0x4f, 19152 0xf5, 0x82, 0x14, 0xe0, 0xb0, 0x16, 0x6e, 0x56, 0xef, 0x2d, 0xcc, 0x1c, 0xdb, 0xc2, 0xcd, 0xea, 19153 0x3d, 0x21, 0x73, 0x74, 0xdb, 0x9a, 0xcc, 0x51, 0xbd, 0x67, 0xfc, 0x46, 0x06, 0xce, 0xf4, 0xa1, 19154 0x21, 0xeb, 0x72, 0x8f, 0x4a, 0x69, 0x8a, 0xc5, 0x3e, 0xe8, 0x57, 0x8f, 0xdd, 0xb6, 0xd6, 0x20, 19155 0xbf, 0x72, 0x17, 0xc5, 0x5a, 0xf6, 0x93, 0x36, 0x4b, 0x45, 0xb9, 0xbb, 0x5f, 0x78, 0x7c, 0x54, 19156 0x38, 0x47, 0x0f, 0xd8, 0xe5, 0xb5, 0x6e, 0xf1, 0xc2, 0x7a, 0x43, 0xf3, 0xa7, 0x8a, 0x51, 0x2e, 19157 0xfe, 0x60, 0x1a, 0xb2, 0x78, 0xd2, 0x44, 0xe2, 0x4b, 0xa4, 0x4e, 0x14, 0x5f, 0xe2, 0x0b, 0x30, 19158 0xb9, 0x72, 0x97, 0x5f, 0x3a, 0x57, 0x2d, 0x6f, 0x5f, 0xec, 0x83, 0xf8, 0xc6, 0x46, 0x0f, 0xea, 19159 0xe2, 0x8e, 0xba, 0x6f, 0x69, 0x42, 0x9e, 0x46, 0x41, 0xb6, 0x60, 0x8e, 0xb7, 0xcd, 0xde, 0xb5, 19160 0x1b, 0xdc, 0x19, 0xdd, 0xb6, 0x5a, 0x62, 0x53, 0xbc, 0xf8, 0xf8, 0xa8, 0x50, 0xa0, 0x07, 0x68, 19161 0x17, 0x25, 0xca, 0xeb, 0x1e, 0x22, 0x28, 0xfc, 0x92, 0xe8, 0x55, 0x0f, 0x59, 0x73, 0x1c, 0x2b, 19162 0x64, 0xb5, 0xb1, 0xba, 0x19, 0x2e, 0x47, 0x32, 0xfe, 0xc1, 0x08, 0x2c, 0xf6, 0xdf, 0xcf, 0xc8, 19163 0x17, 0xf5, 0x09, 0xbc, 0x74, 0xec, 0x0e, 0x78, 0xfc, 0x1c, 0x7e, 0x09, 0xe6, 0x57, 0x3a, 0x3e, 19164 0x75, 0xbb, 0xae, 0x2d, 0x7d, 0xa2, 0x57, 0x1d, 0x4f, 0x9a, 0x81, 0xbd, 0xf4, 0xf8, 0xa8, 0x70, 19165 0x81, 0x06, 0xe5, 0x42, 0x3f, 0x88, 0x46, 0x69, 0x0a, 0xab, 0x44, 0x0e, 0x64, 0x05, 0xa6, 0x15, 19166 0x78, 0xab, 0xb7, 0x27, 0x4e, 0x70, 0xb4, 0x31, 0x54, 0x79, 0xb6, 0x7a, 0xea, 0x45, 0x27, 0x42, 19167 0xb4, 0xf8, 0x8b, 0x19, 0xb1, 0x2c, 0x2e, 0x42, 0xa6, 0xd6, 0xdb, 0x11, 0xcb, 0x81, 0x8b, 0xea, 19168 0xda, 0xb6, 0xce, 0x4a, 0xc9, 0xe7, 0x01, 0x4c, 0xda, 0x75, 0x3c, 0xdb, 0x77, 0xdc, 0x43, 0xd5, 19169 0x4c, 0xdf, 0x0d, 0xa0, 0xba, 0x4d, 0xa5, 0x84, 0x92, 0x55, 0x98, 0x09, 0x7f, 0x6d, 0x3c, 0xec, 19170 0x08, 0xa5, 0xe6, 0x38, 0xd7, 0x26, 0x84, 0xe4, 0x75, 0x87, 0x95, 0xa9, 0x07, 0x55, 0x84, 0x8c, 19171 0x2c, 0x41, 0x6e, 0xdb, 0x71, 0x0f, 0x76, 0xd9, 0x44, 0x65, 0xc3, 0xa3, 0xf4, 0xa1, 0x80, 0xa9, 19172 0x47, 0x86, 0xc4, 0x63, 0x6b, 0x7e, 0xa5, 0xf3, 0xc0, 0x76, 0x9d, 0x4e, 0x9b, 0x76, 0x7c, 0xf5, 19173 0xfd, 0x91, 0x86, 0x60, 0xcd, 0xa9, 0x29, 0x04, 0xb3, 0x3b, 0x73, 0xb1, 0xe1, 0x3b, 0xae, 0x78, 19174 0x7c, 0xe4, 0xd3, 0xcd, 0x00, 0xda, 0x74, 0x33, 0x00, 0x1b, 0x44, 0x93, 0xee, 0x0a, 0xad, 0x39, 19175 0x0e, 0xa2, 0x4b, 0x77, 0x35, 0x8f, 0x2d, 0xba, 0xcb, 0x44, 0x01, 0x93, 0xee, 0xe2, 0x45, 0x5f, 19176 0x0b, 0x6f, 0xb2, 0x1b, 0x53, 0x11, 0x09, 0x34, 0xe3, 0x77, 0xc7, 0xfb, 0xae, 0x5b, 0xb6, 0xf7, 19177 0x9e, 0x6c, 0xdd, 0xae, 0x59, 0x43, 0xac, 0xdb, 0xd7, 0x03, 0x4b, 0x4d, 0xd5, 0x4d, 0x11, 0x21, 19178 0xea, 0xe6, 0xcf, 0x71, 0x16, 0x7f, 0x29, 0x77, 0x92, 0x45, 0x24, 0x06, 0x29, 0x3d, 0xec, 0x20, 19179 0x65, 0x86, 0x1a, 0x24, 0xb2, 0x0c, 0x53, 0x41, 0x10, 0x9d, 0xaa, 0xe5, 0x6b, 0x7b, 0x53, 0x10, 19180 0x12, 0xa9, 0xde, 0xb5, 0x7c, 0x75, 0x6f, 0xd2, 0x49, 0xc8, 0xbb, 0x30, 0x21, 0xcc, 0x95, 0x91, 19181 0xc3, 0x48, 0x68, 0x88, 0x26, 0x6d, 0x9b, 0x23, 0xf4, 0x2a, 0x3a, 0xfb, 0x24, 0xab, 0x76, 0x97, 19182 0xb6, 0xec, 0x0e, 0xad, 0xa1, 0xd6, 0x5c, 0xac, 0x18, 0xfc, 0x24, 0xbb, 0xa2, 0xa4, 0xce, 0x15, 19183 0xea, 0x9a, 0xbe, 0x4c, 0x23, 0x8a, 0x2e, 0xd6, 0xb1, 0x13, 0x2d, 0x56, 0x6e, 0x07, 0xe2, 0xae, 19184 0x39, 0x7b, 0xb6, 0xb4, 0x7c, 0x93, 0x76, 0x20, 0x6e, 0xbd, 0xc5, 0xa0, 0x11, 0x3b, 0x10, 0x8e, 19185 0xca, 0xe4, 0x7a, 0xf6, 0xa3, 0x52, 0x16, 0x2f, 0x34, 0x28, 0xd7, 0x23, 0x91, 0x6e, 0x6e, 0xc8, 19186 0x91, 0x64, 0x35, 0x2b, 0x6d, 0xcb, 0x6e, 0x09, 0x6f, 0xb4, 0xb0, 0x1a, 0xca, 0xa0, 0xd1, 0x6a, 19187 0x10, 0x95, 0x34, 0x60, 0xd2, 0xa4, 0xbb, 0x55, 0xd7, 0xf1, 0x69, 0xc3, 0xa7, 0x4d, 0x21, 0xcb, 19188 0x48, 0x71, 0x7e, 0xd9, 0x71, 0xb8, 0x9c, 0xb6, 0xfc, 0xc6, 0xef, 0x1e, 0x15, 0x52, 0xdf, 0x39, 19189 0x2a, 0x00, 0x03, 0x71, 0x5b, 0xd6, 0xc7, 0x47, 0x85, 0x33, 0x6c, 0xfe, 0xbb, 0x92, 0x58, 0x3d, 19190 0x62, 0x54, 0xa6, 0xe4, 0xfb, 0xd9, 0xa6, 0x1b, 0x0c, 0x49, 0x58, 0xd9, 0x64, 0x9f, 0xca, 0xde, 19191 0x4c, 0xac, 0xac, 0xa0, 0x8c, 0x76, 0x62, 0xa5, 0x89, 0x95, 0x90, 0xf7, 0x60, 0xa2, 0x54, 0x29, 19192 0x39, 0x9d, 0x5d, 0x7b, 0xaf, 0xb6, 0x5a, 0x44, 0x81, 0x48, 0xd8, 0x1b, 0x37, 0xec, 0x7a, 0x03, 19193 0xe1, 0x75, 0x6f, 0xdf, 0xd2, 0x7c, 0x36, 0x42, 0x7c, 0x72, 0x1b, 0xa6, 0xe5, 0x4f, 0x93, 0xee, 19194 0x6e, 0x99, 0x15, 0x94, 0x83, 0xa4, 0x91, 0x77, 0xc0, 0x81, 0x0d, 0x44, 0xcf, 0x55, 0xe5, 0xe3, 19195 0x08, 0x19, 0x5b, 0x8c, 0x65, 0xda, 0x6d, 0x39, 0x87, 0xac, 0x79, 0x9b, 0x36, 0x75, 0x51, 0xf2, 19196 0x11, 0x8b, 0xb1, 0x19, 0x94, 0xd4, 0x7d, 0x5b, 0xdb, 0x6e, 0x23, 0x44, 0x64, 0x1d, 0x66, 0xc5, 19197 0x12, 0xbf, 0x6f, 0x7b, 0xf6, 0x8e, 0xdd, 0xb2, 0xfd, 0xc3, 0x85, 0x3c, 0x72, 0x42, 0x29, 0x44, 19198 0x7e, 0x17, 0x0f, 0x82, 0x52, 0x85, 0x59, 0x9c, 0xd4, 0xf8, 0xd5, 0x34, 0x9c, 0x1b, 0x24, 0xff, 19199 0x93, 0x9a, 0xbe, 0x99, 0x5d, 0x1e, 0xe2, 0xce, 0x70, 0xfc, 0x76, 0xb6, 0x02, 0xd3, 0x1b, 0xee, 19200 0x9e, 0xd5, 0xb1, 0xbf, 0x81, 0xf7, 0xba, 0xc0, 0x1c, 0x06, 0x07, 0xc3, 0x51, 0x4a, 0xf4, 0xd5, 19201 0x1e, 0x21, 0x5a, 0x7c, 0x20, 0xb6, 0xb9, 0x4f, 0xea, 0x00, 0x71, 0x13, 0xc6, 0x4b, 0x4e, 0xc7, 19202 0xa7, 0x8f, 0xfc, 0x88, 0x93, 0x1b, 0x07, 0x46, 0x9d, 0xdc, 0x24, 0xaa, 0xf1, 0x7f, 0xa7, 0xe1, 19203 0xfc, 0x40, 0x01, 0x98, 0x6c, 0xea, 0xa3, 0x76, 0x65, 0x18, 0xa9, 0xf9, 0xf8, 0x61, 0x5b, 0x8a, 19204 0x59, 0x6e, 0x1c, 0x6b, 0xb7, 0xbc, 0xf8, 0x9f, 0xa5, 0xc4, 0x20, 0x7d, 0x06, 0xc6, 0xb0, 0xaa, 19205 0x60, 0x88, 0xb8, 0x6e, 0x08, 0x77, 0x61, 0x5b, 0xd7, 0x0d, 0x71, 0x34, 0x72, 0x03, 0x72, 0x25, 19206 0xab, 0xd5, 0x52, 0x5c, 0x00, 0x51, 0xae, 0x6f, 0x20, 0x2c, 0x62, 0xe8, 0x23, 0x11, 0xc9, 0x5b, 19207 0x00, 0xfc, 0x6f, 0xe5, 0xac, 0xc0, 0xcd, 0x52, 0x90, 0x45, 0x8e, 0x0b, 0x05, 0x19, 0x83, 0x7d, 19208 0x35, 0x9c, 0xc0, 0x57, 0x89, 0x07, 0xfb, 0x62, 0x00, 0x2d, 0xd8, 0x17, 0x03, 0x18, 0xbf, 0x96, 19209 0x81, 0x17, 0x06, 0xdf, 0xe2, 0xc8, 0x96, 0x3e, 0x05, 0xaf, 0x0e, 0x75, 0xf7, 0x3b, 0x7e, 0x0e, 19210 0x64, 0x14, 0x3d, 0x3e, 0x20, 0x97, 0xe3, 0xe6, 0xc5, 0xdf, 0x3d, 0x2a, 0x28, 0xd6, 0x63, 0x77, 19211 0x1c, 0xbb, 0xa3, 0xbc, 0x11, 0x7c, 0x1d, 0xa0, 0xe6, 0x5b, 0xbe, 0xdd, 0xb8, 0xb3, 0x7d, 0x57, 19212 0x7a, 0x96, 0xdf, 0x1c, 0xae, 0x65, 0x21, 0x1d, 0xdf, 0x57, 0x84, 0xfa, 0x1c, 0xa1, 0xf5, 0x8f, 19213 0x1f, 0x1e, 0x68, 0xf7, 0xd4, 0x10, 0x79, 0xf1, 0x6d, 0xc8, 0x47, 0x49, 0xc9, 0x25, 0xc8, 0x62, 19214 0x03, 0x14, 0x1b, 0xe9, 0x08, 0x07, 0x2c, 0x5f, 0xbc, 0x27, 0xd6, 0xce, 0x0a, 0x4c, 0x8b, 0x87, 19215 0x69, 0x5d, 0x23, 0x86, 0xdf, 0xab, 0x7c, 0xd7, 0x8e, 0x6b, 0xc5, 0x22, 0x44, 0xc6, 0x9f, 0xa5, 19216 0xe0, 0x6c, 0xdf, 0xfb, 0x31, 0xa9, 0xea, 0x13, 0xf6, 0xf2, 0x71, 0x17, 0xea, 0x63, 0xe7, 0x6a, 19217 0xf1, 0x27, 0xe4, 0xda, 0x7f, 0x1f, 0x26, 0x6b, 0xbd, 0x9d, 0xe8, 0x25, 0x8b, 0xfb, 0x19, 0x2b, 19218 0x70, 0xf5, 0x04, 0x53, 0xf1, 0x59, 0xff, 0xe5, 0xcb, 0xbb, 0x30, 0xac, 0xe0, 0x17, 0x3f, 0xec, 19219 0x7f, 0xe0, 0xc0, 0x84, 0xfe, 0x65, 0xea, 0x20, 0x46, 0x88, 0x8c, 0x5f, 0x49, 0x27, 0xdf, 0x56, 19220 0xd9, 0x5d, 0xfb, 0x04, 0xb7, 0xd5, 0xdb, 0xa5, 0xea, 0xf1, 0x7d, 0xff, 0x8f, 0x64, 0xdf, 0xf1, 19221 0x21, 0x52, 0xec, 0x78, 0x52, 0xbd, 0x27, 0x1e, 0x22, 0xe5, 0xee, 0xe8, 0xe9, 0x0f, 0x91, 0x12, 19222 0x99, 0xbc, 0x09, 0xe3, 0x6b, 0x0e, 0xf7, 0xfb, 0x94, 0x3d, 0xe6, 0x1e, 0x3e, 0x12, 0xa8, 0x6e, 19223 0x8f, 0x01, 0x26, 0xbb, 0x5b, 0xe8, 0x13, 0x2f, 0xcd, 0xbb, 0xf1, 0x6e, 0x11, 0x59, 0x2e, 0xba, 19224 0x12, 0x4c, 0x27, 0x33, 0x7e, 0x22, 0x0d, 0xd3, 0x7c, 0xf1, 0x72, 0x25, 0xed, 0x33, 0xab, 0x00, 19225 0x7f, 0x47, 0x53, 0x80, 0xcb, 0x90, 0x04, 0x6a, 0xd7, 0x86, 0x52, 0x7f, 0xef, 0x03, 0x89, 0xd3, 19226 0x10, 0x13, 0x26, 0x55, 0xe8, 0x60, 0xcd, 0xf7, 0xf5, 0x30, 0x7a, 0x85, 0xd8, 0x3b, 0xf0, 0xf9, 19227 0xc1, 0x33, 0x35, 0x1e, 0xc6, 0x8f, 0xa7, 0x61, 0x4a, 0x79, 0xa8, 0x7c, 0x66, 0x07, 0xfe, 0x6d, 19228 0x6d, 0xe0, 0x17, 0x02, 0x93, 0xe4, 0xa0, 0x67, 0x43, 0x8d, 0x7b, 0x0f, 0x66, 0x63, 0x24, 0xd1, 19229 0xf7, 0xde, 0xd4, 0x30, 0xef, 0xbd, 0xaf, 0xc7, 0xdd, 0xea, 0x79, 0x44, 0xc9, 0xc0, 0xad, 0x5e, 19230 0xf5, 0xe3, 0xff, 0xa9, 0x34, 0xcc, 0x8b, 0x5f, 0x18, 0x3b, 0x86, 0xef, 0xde, 0xcf, 0xec, 0x5c, 19231 0x14, 0xb5, 0xb9, 0x28, 0xe8, 0x73, 0xa1, 0x74, 0xb0, 0xff, 0x94, 0x18, 0x7f, 0x15, 0x60, 0xa1, 19232 0x1f, 0xc1, 0xd0, 0x9e, 0x3f, 0xa1, 0x5d, 0x75, 0x7a, 0x08, 0xbb, 0xea, 0x35, 0xc8, 0x63, 0x55, 19233 0x22, 0xd2, 0x84, 0xc7, 0xee, 0x00, 0x99, 0x50, 0xe0, 0xe6, 0x01, 0x7e, 0x44, 0xb4, 0x0a, 0x2f, 19234 0x72, 0x09, 0x88, 0x51, 0x92, 0x5f, 0x4c, 0xc1, 0x34, 0x02, 0x57, 0x1e, 0xd0, 0x8e, 0x8f, 0xcc, 19235 0xb2, 0xc2, 0x0c, 0x38, 0xd0, 0x8f, 0xd7, 0x7c, 0xd7, 0xee, 0xec, 0x09, 0x05, 0xf9, 0x8e, 0x50, 19236 0x90, 0xbf, 0xcb, 0x15, 0xfb, 0x57, 0x1b, 0x4e, 0xfb, 0xda, 0x9e, 0x6b, 0x3d, 0xb0, 0xf9, 0x1b, 19237 0xbc, 0xd5, 0xba, 0x16, 0xc6, 0x40, 0xee, 0xda, 0x91, 0xa8, 0xc6, 0x82, 0x15, 0x3e, 0x3e, 0xf0, 19238 0x86, 0x52, 0xac, 0x36, 0x7a, 0x57, 0xd1, 0x5b, 0x44, 0xbe, 0x0f, 0xce, 0x70, 0x37, 0x72, 0x26, 19239 0xf2, 0xda, 0x9d, 0x9e, 0xd3, 0xf3, 0x96, 0xad, 0xc6, 0x01, 0x3b, 0xf7, 0xb8, 0x2b, 0x03, 0xf6, 19240 0xbc, 0x11, 0x14, 0xd6, 0x77, 0x78, 0xa9, 0xe6, 0xba, 0x95, 0xcc, 0x80, 0xac, 0xc2, 0x2c, 0x2f, 19241 0x2a, 0xf6, 0x7c, 0xa7, 0xd6, 0xb0, 0x5a, 0x76, 0x67, 0x0f, 0xef, 0xd4, 0x39, 0x7e, 0x1e, 0x5b, 19242 0x3d, 0xdf, 0xa9, 0x7b, 0x1c, 0xae, 0x5e, 0x5d, 0x62, 0x44, 0xa4, 0x02, 0x33, 0x26, 0xb5, 0x9a, 19243 0xf7, 0xac, 0x47, 0x25, 0xab, 0x6b, 0x35, 0xd8, 0x45, 0x28, 0x87, 0x8f, 0x49, 0x78, 0x37, 0x73, 19244 0xa9, 0xd5, 0xac, 0xb7, 0xad, 0x47, 0xf5, 0x86, 0x28, 0xd4, 0x75, 0x58, 0x1a, 0x5d, 0xc0, 0xca, 19245 0xee, 0x04, 0xac, 0xc6, 0xa3, 0xac, 0xec, 0x4e, 0x7f, 0x56, 0x21, 0x9d, 0x64, 0xb5, 0x69, 0xb9, 19246 0x7b, 0xd4, 0xe7, 0x26, 0x6c, 0xec, 0x3e, 0x9e, 0x52, 0x58, 0xf9, 0x58, 0x56, 0x47, 0x73, 0xb6, 19247 0x28, 0x2b, 0x85, 0x8e, 0xad, 0xbc, 0x6d, 0xd7, 0xf6, 0xa9, 0xda, 0xc3, 0x09, 0x6c, 0x16, 0x8e, 19248 0x3f, 0x1a, 0xff, 0xf5, 0xeb, 0x62, 0x8c, 0x32, 0xe4, 0xa6, 0x74, 0x72, 0x32, 0xc6, 0x2d, 0xb9, 19249 0x97, 0x31, 0xca, 0x80, 0x9b, 0xda, 0xcf, 0x29, 0xec, 0xa7, 0xc2, 0xad, 0x4f, 0x47, 0x63, 0x94, 19250 0x64, 0x9d, 0x0d, 0x9a, 0x4f, 0x3b, 0x6c, 0x45, 0x0b, 0x13, 0xbe, 0x69, 0x6c, 0xda, 0x4b, 0xc2, 19251 0x0e, 0x25, 0xef, 0xca, 0xe2, 0x7a, 0x82, 0x41, 0x5f, 0x94, 0x98, 0xfc, 0x25, 0x98, 0xd9, 0xf2, 19252 0xe8, 0xad, 0x4a, 0xb5, 0x26, 0x1d, 0xe7, 0xf1, 0xb6, 0x3d, 0xbd, 0x74, 0xfd, 0x98, 0x4d, 0xe7, 19253 0xaa, 0x4a, 0x83, 0x71, 0x85, 0xf9, 0xbc, 0xf5, 0x3c, 0x5a, 0xdf, 0xb5, 0xbb, 0x5e, 0x10, 0xc2, 19254 0x43, 0x9d, 0xb7, 0x48, 0x55, 0xc6, 0x2a, 0xcc, 0xc6, 0xd8, 0x90, 0x69, 0x00, 0x06, 0xac, 0x6f, 19255 0xad, 0xd7, 0x56, 0x36, 0xf3, 0xcf, 0x91, 0x3c, 0x4c, 0xe2, 0xef, 0x95, 0xf5, 0xe2, 0xf2, 0xda, 19256 0x4a, 0x39, 0x9f, 0x22, 0xb3, 0x30, 0x85, 0x90, 0x72, 0xa5, 0xc6, 0x41, 0x69, 0x1e, 0x55, 0xd2, 19257 0xcc, 0xf3, 0x4f, 0xd7, 0x67, 0x1f, 0x00, 0x9e, 0x29, 0xc6, 0xdf, 0x4c, 0xc3, 0x59, 0x79, 0xac, 19258 0x50, 0xff, 0xa1, 0xe3, 0x1e, 0xd8, 0x9d, 0xbd, 0x67, 0xfc, 0x74, 0xb8, 0xa5, 0x9d, 0x0e, 0x2f, 19259 0x45, 0x4e, 0xea, 0x48, 0x2f, 0x07, 0x1c, 0x11, 0xff, 0x53, 0x0e, 0xce, 0x0f, 0xa4, 0x22, 0x5f, 19260 0x64, 0xa7, 0xb9, 0x4d, 0x3b, 0x7e, 0xa5, 0xd9, 0xa2, 0x9b, 0x76, 0x9b, 0x3a, 0x3d, 0x5f, 0x98, 19261 0x8c, 0x5e, 0xc4, 0x0b, 0x2e, 0x16, 0xd6, 0xed, 0x66, 0x8b, 0xd6, 0x7d, 0x5e, 0xac, 0x2d, 0xb7, 19262 0x38, 0x35, 0x63, 0x19, 0x84, 0x3b, 0xaf, 0x74, 0x7c, 0xea, 0x3e, 0x40, 0xe3, 0x94, 0x80, 0xe5, 19263 0x01, 0xa5, 0xdd, 0xba, 0xc5, 0x4a, 0xeb, 0xb6, 0x28, 0xd6, 0x59, 0xc6, 0xa8, 0xc9, 0x2d, 0x85, 19264 0x65, 0x89, 0x89, 0xc3, 0xf7, 0xac, 0x47, 0xe2, 0xb5, 0x5c, 0x84, 0x1f, 0x0a, 0x58, 0x72, 0x6f, 19265 0xa3, 0xb6, 0xf5, 0xc8, 0x8c, 0x93, 0x90, 0xaf, 0xc0, 0x29, 0x71, 0x00, 0x09, 0x6f, 0x51, 0xd9, 19266 0x63, 0xee, 0x8b, 0xfa, 0xca, 0xe3, 0xa3, 0xc2, 0x19, 0x19, 0x6c, 0x49, 0xfa, 0x07, 0x27, 0xf5, 19267 0x3a, 0x99, 0x0b, 0xd9, 0x64, 0x07, 0x72, 0x64, 0x38, 0xee, 0x51, 0xcf, 0xb3, 0xf6, 0xe4, 0xcb, 19268 0x3a, 0xb7, 0xaf, 0x57, 0x06, 0xb3, 0xde, 0xe6, 0xe5, 0x66, 0x5f, 0x4a, 0xb2, 0x0a, 0xd3, 0xdb, 19269 0x74, 0x47, 0x9d, 0x9f, 0xd1, 0x60, 0xab, 0xca, 0x3f, 0xa4, 0x3b, 0xfd, 0x27, 0x27, 0x42, 0x47, 19270 0x6c, 0x54, 0x98, 0x3d, 0x3a, 0x5c, 0xb3, 0x3d, 0x9f, 0x76, 0xa8, 0x8b, 0xd1, 0x02, 0xc6, 0x70, 19271 0x33, 0x58, 0x08, 0x25, 0x64, 0xbd, 0x7c, 0xf9, 0xc5, 0xc7, 0x47, 0x85, 0xf3, 0xdc, 0x9f, 0xa4, 19272 0x25, 0xe0, 0xf5, 0x48, 0x84, 0xf0, 0x38, 0x57, 0xf2, 0x35, 0x98, 0x31, 0x9d, 0x9e, 0x6f, 0x77, 19273 0xf6, 0x6a, 0xbe, 0x6b, 0xf9, 0x74, 0x8f, 0x1f, 0x48, 0x61, 0x58, 0x82, 0x48, 0xa9, 0x78, 0x6b, 19274 0xe1, 0xc0, 0xba, 0x27, 0xa0, 0xda, 0x89, 0xa0, 0x13, 0x90, 0xaf, 0xc2, 0x34, 0xf7, 0x13, 0x0c, 19275 0x2a, 0x18, 0xd7, 0xa2, 0x9b, 0xea, 0x85, 0xf7, 0xaf, 0xf3, 0x0b, 0x2a, 0xf7, 0x37, 0x4c, 0xaa, 19276 0x20, 0xc2, 0x8d, 0x7c, 0x24, 0x06, 0xab, 0x6a, 0x77, 0xf6, 0x82, 0x65, 0x0c, 0x38, 0xf2, 0x6f, 19277 0x84, 0x43, 0xd2, 0x65, 0xcd, 0x95, 0xcb, 0xb8, 0x8f, 0xa5, 0x46, 0x9c, 0x0f, 0xf1, 0xe1, 0x7c, 19278 0xd1, 0xf3, 0x6c, 0xcf, 0x17, 0x86, 0xd5, 0x2b, 0x8f, 0x68, 0xa3, 0xc7, 0x90, 0xb7, 0x1d, 0xf7, 19279 0x80, 0xba, 0xdc, 0xb4, 0x6f, 0x64, 0xf9, 0xea, 0xe3, 0xa3, 0xc2, 0xab, 0x16, 0x22, 0xd6, 0x85, 19280 0x2d, 0x76, 0x9d, 0x4a, 0xd4, 0xfa, 0x43, 0x8e, 0xab, 0xf4, 0x61, 0x30, 0x53, 0xf2, 0x55, 0x38, 19281 0x5d, 0xb2, 0x3c, 0x5a, 0xe9, 0x78, 0xb4, 0xe3, 0xd9, 0xbe, 0xfd, 0x80, 0x8a, 0x41, 0xc5, 0xc3, 19282 0x2f, 0x87, 0xb1, 0xd4, 0x8d, 0x06, 0xa6, 0x5d, 0x08, 0x51, 0xea, 0x62, 0x52, 0x94, 0x6a, 0xfa, 19283 0x70, 0x31, 0x8e, 0x52, 0x90, 0x8f, 0x0e, 0x3b, 0xf9, 0x12, 0x8c, 0x73, 0x93, 0x04, 0xea, 0xed, 19284 0x0b, 0x17, 0x37, 0xf9, 0xc2, 0x1d, 0xc0, 0x75, 0x22, 0xe1, 0x94, 0xc0, 0x0d, 0x1e, 0xa8, 0xfa, 19285 0x5e, 0x8b, 0x4e, 0x09, 0x92, 0x88, 0x34, 0x61, 0x92, 0x8f, 0x2c, 0xc5, 0xf8, 0x21, 0xc2, 0x32, 19286 0xed, 0x45, 0x75, 0x25, 0x8b, 0xa2, 0x08, 0x7f, 0x54, 0x79, 0x8b, 0xf9, 0xe3, 0x08, 0x5a, 0x15, 19287 0x1a, 0xd7, 0x65, 0x80, 0x9c, 0x24, 0x34, 0xce, 0xc2, 0x99, 0x3e, 0x6d, 0x36, 0x1e, 0xe0, 0x33, 19288 0x58, 0x9f, 0x1a, 0xc9, 0x97, 0x60, 0x1e, 0x09, 0x4b, 0x4e, 0xa7, 0x43, 0x1b, 0x3e, 0x6e, 0x1d, 19289 0x52, 0x75, 0x94, 0xe1, 0x6f, 0xad, 0xbc, 0xbf, 0x8d, 0x00, 0xa1, 0x1e, 0xd5, 0x20, 0x25, 0x72, 19290 0x30, 0x7e, 0x2e, 0x0d, 0x0b, 0x62, 0x37, 0x32, 0x69, 0xc3, 0x71, 0x9b, 0xcf, 0xfe, 0xe9, 0xb7, 19291 0xa2, 0x9d, 0x7e, 0x17, 0x03, 0x9f, 0xe6, 0xa4, 0x4e, 0x0e, 0x38, 0xfc, 0x7e, 0x25, 0x05, 0xe7, 19292 0x06, 0x11, 0xb1, 0xd1, 0x09, 0xe2, 0xa5, 0x8c, 0xc7, 0xe2, 0xa2, 0x74, 0x61, 0x0e, 0x27, 0xb4, 19293 0xb4, 0x4f, 0x1b, 0x07, 0xde, 0xaa, 0xe3, 0xf9, 0x68, 0x18, 0x9b, 0xee, 0xf3, 0x50, 0xf3, 0x7a, 19294 0xe2, 0x43, 0xcd, 0x69, 0xbe, 0xca, 0x1a, 0xc8, 0x83, 0x47, 0x74, 0x39, 0xa0, 0x87, 0x9e, 0x99, 19295 0xc4, 0x1a, 0x8d, 0x1c, 0x8b, 0x3d, 0x7f, 0xbf, 0xea, 0xd2, 0x5d, 0xea, 0xd2, 0x4e, 0x83, 0x7e, 19296 0x8f, 0x19, 0x39, 0xea, 0x9d, 0x1b, 0x4a, 0xdb, 0xf0, 0x2b, 0x93, 0x30, 0x9f, 0x44, 0xc6, 0xc6, 19297 0x45, 0xb9, 0xe0, 0x46, 0x33, 0xb4, 0xfc, 0x70, 0x0a, 0x26, 0x6b, 0xb4, 0xe1, 0x74, 0x9a, 0xb7, 19298 0xf0, 0x39, 0x5c, 0x8c, 0x4e, 0x9d, 0x1f, 0xf0, 0x0c, 0x5e, 0xdf, 0x8d, 0xbc, 0x93, 0x7f, 0xf7, 19299 0xa8, 0xf0, 0x85, 0xe1, 0xee, 0x95, 0x0d, 0x07, 0xfd, 0x92, 0x7d, 0x0c, 0x1b, 0x1a, 0x54, 0x81, 19300 0x9a, 0x6d, 0xad, 0x52, 0xb2, 0x0c, 0x53, 0xe2, 0x73, 0x75, 0xd4, 0x70, 0x39, 0xdc, 0xed, 0x5b, 19301 0x16, 0xc4, 0xe2, 0x83, 0x69, 0x24, 0xe4, 0x06, 0x64, 0xb6, 0x96, 0x6e, 0x89, 0x39, 0x90, 0x81, 19302 0x57, 0xb7, 0x96, 0x6e, 0xa1, 0xea, 0x8a, 0x5d, 0x07, 0xa6, 0x7a, 0x4b, 0xda, 0x0b, 0xf5, 0xd6, 19303 0xd2, 0x2d, 0xf2, 0x57, 0xe0, 0x54, 0xd9, 0xf6, 0x44, 0x15, 0xdc, 0xdc, 0xb6, 0x89, 0xee, 0x25, 19304 0xa3, 0x7d, 0x56, 0xef, 0xe7, 0x12, 0x57, 0xef, 0x8b, 0xcd, 0x80, 0x49, 0x9d, 0xdb, 0xf2, 0x36, 19305 0xa3, 0x61, 0x81, 0x92, 0xeb, 0x21, 0x1f, 0xc3, 0x34, 0xaa, 0x5e, 0xd1, 0x02, 0x19, 0xc3, 0x18, 19306 0x8e, 0xf5, 0xa9, 0xf9, 0x33, 0x89, 0x35, 0x2f, 0xa2, 0x26, 0xb7, 0x8e, 0x76, 0xcc, 0x18, 0xf2, 19307 0x50, 0xbb, 0xa1, 0x6b, 0x9c, 0xc9, 0x1d, 0x98, 0x11, 0xa2, 0xd2, 0xc6, 0xee, 0xe6, 0x3e, 0x2d, 19308 0x5b, 0x87, 0xe2, 0x71, 0x19, 0x6f, 0x5f, 0x42, 0xbe, 0xaa, 0x3b, 0xbb, 0x75, 0x7f, 0x9f, 0xd6, 19309 0x9b, 0x96, 0x26, 0x54, 0x44, 0x08, 0xc9, 0xf7, 0xc3, 0xc4, 0x9a, 0xd3, 0x60, 0x52, 0x32, 0xee, 19310 0x0c, 0xfc, 0xbd, 0xf9, 0x43, 0x4c, 0xfc, 0xc1, 0xc1, 0x11, 0xd1, 0xe7, 0xbb, 0x47, 0x85, 0x77, 19311 0x4e, 0xba, 0x68, 0x94, 0x0a, 0x4c, 0xb5, 0x36, 0x52, 0x82, 0xdc, 0x36, 0xdd, 0x61, 0xbd, 0x8d, 19312 0x26, 0x05, 0x90, 0x60, 0x61, 0x4e, 0x22, 0x7e, 0x69, 0xe6, 0x24, 0x02, 0x46, 0x5c, 0x98, 0xc5, 19313 0xf1, 0xa9, 0x5a, 0x9e, 0xf7, 0xd0, 0x71, 0x9b, 0x18, 0xfd, 0xb5, 0xdf, 0x53, 0xf6, 0x52, 0xe2, 19314 0xe0, 0x9f, 0xe3, 0x83, 0xdf, 0x55, 0x38, 0xa8, 0xc2, 0x5e, 0x8c, 0x3d, 0xf9, 0x1a, 0x4c, 0x9b, 19315 0xf4, 0xeb, 0x3d, 0xdb, 0xa5, 0xf7, 0x6e, 0x15, 0xf1, 0xab, 0x9c, 0xd4, 0x9c, 0x74, 0xf4, 0x42, 19316 0x2e, 0x51, 0xba, 0x1c, 0x26, 0xb5, 0x45, 0xf5, 0xf6, 0xae, 0xa5, 0xbf, 0x16, 0xa8, 0x24, 0xa4, 19317 0x0a, 0x13, 0x65, 0xfa, 0xc0, 0x6e, 0x50, 0x74, 0x25, 0x10, 0xa6, 0x7c, 0x41, 0x54, 0xf3, 0xb0, 19318 0x84, 0xeb, 0x4d, 0x9a, 0x08, 0xe0, 0x8e, 0x09, 0xba, 0xb5, 0x58, 0x80, 0x48, 0x6e, 0x42, 0xa6, 19319 0x52, 0xae, 0x0a, 0x4b, 0x3e, 0x69, 0xa1, 0x5f, 0x69, 0x56, 0x65, 0x0c, 0x68, 0x34, 0xfe, 0xb0, 19320 0x9b, 0x9a, 0x1d, 0x60, 0xa5, 0x5c, 0x25, 0xbb, 0x30, 0x85, 0x03, 0xb0, 0x4a, 0x2d, 0x3e, 0xb6, 19321 0x33, 0x7d, 0xc6, 0xf6, 0x6a, 0xe2, 0xd8, 0x2e, 0xf0, 0xb1, 0xdd, 0x17, 0xd4, 0x5a, 0x50, 0x5b, 19322 0x95, 0x2d, 0x13, 0x3f, 0x45, 0xa0, 0x6d, 0x19, 0xd6, 0x75, 0x73, 0x0d, 0x1f, 0xb7, 0x85, 0xf8, 19323 0x29, 0xe3, 0x72, 0x07, 0xb1, 0x61, 0xfb, 0x1a, 0x0a, 0xc7, 0xf9, 0x90, 0xb7, 0x21, 0xbb, 0x71, 19324 0xe0, 0x5b, 0x0b, 0xb3, 0xda, 0x38, 0x32, 0x90, 0xec, 0x3e, 0x6a, 0x0c, 0x9d, 0x03, 0x2d, 0x20, 19325 0x05, 0xd2, 0x90, 0x25, 0x18, 0xab, 0x56, 0xee, 0xd7, 0x5a, 0x8e, 0xbf, 0x40, 0x82, 0x3b, 0x0d, 19326 0xe9, 0xda, 0x0f, 0xea, 0x5e, 0xcb, 0xd1, 0x83, 0xf5, 0x4b, 0x44, 0x36, 0x7d, 0xab, 0x96, 0xdb, 19327 0x7c, 0x68, 0xb9, 0xe8, 0x01, 0x36, 0xa7, 0x55, 0xab, 0x94, 0xf0, 0xe9, 0xdb, 0x17, 0x80, 0x88, 19328 0x5b, 0x98, 0xca, 0x42, 0x68, 0x03, 0x66, 0xc5, 0x32, 0x11, 0x5d, 0xbb, 0x77, 0xab, 0x68, 0xfc, 19329 0xfb, 0x29, 0xdc, 0x30, 0xc9, 0xab, 0xe8, 0xb3, 0x1e, 0x3c, 0xf0, 0xa2, 0x5e, 0xd3, 0xea, 0x46, 19330 0x42, 0x21, 0x72, 0x14, 0xf2, 0x3a, 0x8c, 0xde, 0xb2, 0x1a, 0xd4, 0x97, 0x0f, 0x3b, 0x88, 0xbc, 19331 0x8b, 0x10, 0x55, 0x09, 0xca, 0x71, 0x98, 0x2c, 0xc7, 0x17, 0x52, 0x31, 0x4c, 0xac, 0x56, 0x2a, 19332 0xca, 0x77, 0x1d, 0x94, 0xe5, 0xc4, 0x02, 0x54, 0x32, 0xaf, 0x45, 0x6c, 0x20, 0x13, 0x39, 0x18, 19333 0x7f, 0x92, 0x0a, 0x77, 0x00, 0xf2, 0x0a, 0x64, 0xcd, 0x6a, 0xd0, 0x7e, 0xee, 0x0d, 0x15, 0x69, 19334 0x3e, 0x22, 0x90, 0x8f, 0xe0, 0x94, 0xc2, 0x27, 0x66, 0x90, 0xf9, 0x32, 0xba, 0xeb, 0x28, 0x2d, 19335 0x49, 0xb6, 0xca, 0x4c, 0xe6, 0x81, 0x82, 0x6b, 0x58, 0x50, 0xa6, 0x1d, 0x9b, 0xf3, 0x56, 0x3a, 19336 0xab, 0xf2, 0x6e, 0x22, 0x42, 0xb4, 0xb3, 0x49, 0x1c, 0xb8, 0xc7, 0x8e, 0xf1, 0x9b, 0x29, 0xed, 19337 0xcb, 0x0e, 0xd2, 0x51, 0xa5, 0x8e, 0x49, 0x47, 0xf5, 0x16, 0x40, 0xb1, 0xe7, 0x3b, 0x2b, 0x1d, 19338 0xd7, 0x69, 0x71, 0xed, 0x82, 0x88, 0x06, 0x8a, 0x3a, 0x53, 0x8a, 0x60, 0xcd, 0xb1, 0x20, 0x40, 19339 0x4e, 0xb4, 0x5d, 0xcd, 0x7c, 0x52, 0xdb, 0x55, 0xe3, 0xf7, 0x52, 0xda, 0xda, 0x66, 0x12, 0x99, 19340 0xfc, 0x3c, 0x14, 0xd3, 0x82, 0xf8, 0xe7, 0x11, 0x7e, 0x1c, 0xff, 0xff, 0x14, 0x9c, 0xe6, 0x46, 19341 0xa0, 0xeb, 0xbd, 0xf6, 0x0e, 0x75, 0xef, 0x5b, 0x2d, 0xbb, 0xc9, 0x3d, 0xd2, 0xb8, 0xb0, 0x79, 19342 0x39, 0xfe, 0xa1, 0x24, 0xe3, 0xf3, 0x0b, 0x1c, 0x37, 0x4a, 0xad, 0x77, 0xb0, 0xb0, 0xfe, 0x20, 19343 0x28, 0x55, 0x2f, 0x70, 0xc9, 0xf4, 0xc6, 0xaf, 0xa6, 0xe0, 0xc5, 0x63, 0x6b, 0x21, 0xd7, 0x60, 19344 0x4c, 0x86, 0x61, 0x4d, 0xe1, 0xc0, 0xa3, 0x41, 0x56, 0x3c, 0x04, 0xab, 0xc4, 0x22, 0x5f, 0x86, 19345 0x53, 0x2a, 0xab, 0x4d, 0xd7, 0xb2, 0xd5, 0x60, 0xa7, 0x09, 0xad, 0xf6, 0x19, 0x4a, 0x54, 0x32, 19346 0x4a, 0x66, 0x62, 0xfc, 0x1f, 0x29, 0x25, 0x75, 0xdd, 0x33, 0x2a, 0x2f, 0xdf, 0xd4, 0xe4, 0x65, 19347 0x19, 0x2d, 0x28, 0xe8, 0x15, 0x2b, 0x4b, 0xbc, 0xe3, 0xcc, 0x28, 0x86, 0x85, 0x08, 0xf8, 0x66, 19348 0x1a, 0x26, 0xb6, 0x3c, 0xea, 0xf2, 0x07, 0xce, 0xef, 0xad, 0xa8, 0x30, 0x41, 0xbf, 0x86, 0x8a, 19349 0xdb, 0xf1, 0x47, 0x29, 0x54, 0x7c, 0xab, 0x14, 0x6c, 0x34, 0x94, 0xa4, 0x14, 0x38, 0x1a, 0x98, 19350 0x8e, 0x02, 0xa1, 0x3c, 0xb6, 0xc7, 0x9a, 0x9e, 0x9f, 0x06, 0x93, 0x14, 0xad, 0x91, 0x2f, 0xc0, 19351 0xc8, 0x16, 0xaa, 0xf1, 0x74, 0xef, 0xe3, 0x80, 0x3f, 0x16, 0xf2, 0x4d, 0xba, 0xc7, 0xfe, 0x54, 19352 0xcf, 0x18, 0x2c, 0x23, 0x35, 0x18, 0x2b, 0xb9, 0x14, 0xd3, 0xcd, 0x65, 0x87, 0xf7, 0xa0, 0x6b, 19353 0x70, 0x92, 0xa8, 0x07, 0x9d, 0xe0, 0x64, 0xfc, 0x6c, 0x1a, 0x48, 0xd8, 0x47, 0x8c, 0xd3, 0xee, 19354 0x3d, 0xb3, 0x93, 0xfe, 0x81, 0x36, 0xe9, 0xe7, 0x63, 0x93, 0xce, 0xbb, 0x37, 0xd4, 0xdc, 0xff, 19355 0x56, 0x0a, 0x4e, 0x27, 0x13, 0x92, 0x8b, 0x30, 0xba, 0xb1, 0x59, 0x95, 0x0e, 0xec, 0xa2, 0x2b, 19356 0x4e, 0x17, 0xef, 0xe5, 0xa6, 0x28, 0x22, 0x6f, 0xc0, 0xe8, 0x17, 0xcd, 0x12, 0x3b, 0x87, 0x94, 19357 0x98, 0xa8, 0x5f, 0x77, 0xeb, 0x0d, 0xfd, 0x28, 0x12, 0x48, 0xea, 0xdc, 0x66, 0x9e, 0xda, 0xdc, 19358 0xfe, 0x54, 0x1a, 0x66, 0x8a, 0x8d, 0x06, 0xf5, 0x3c, 0x26, 0xe4, 0x50, 0xcf, 0x7f, 0x66, 0x27, 19359 0x36, 0xd9, 0x35, 0x5d, 0xeb, 0xdb, 0x50, 0xb3, 0xfa, 0x3b, 0x29, 0x38, 0x25, 0xa9, 0x1e, 0xd8, 19360 0xf4, 0xe1, 0xe6, 0xbe, 0x4b, 0xbd, 0x7d, 0xa7, 0xd5, 0x1c, 0x3a, 0xf0, 0x32, 0x13, 0xf4, 0x30, 19361 0x4a, 0xa3, 0xfa, 0xda, 0xbd, 0x8b, 0x10, 0x4d, 0xd0, 0xe3, 0x91, 0x1c, 0xaf, 0xc1, 0x58, 0xb1, 19362 0xdb, 0x75, 0x9d, 0x07, 0xfc, 0xb3, 0x9f, 0x12, 0x0e, 0x85, 0x1c, 0xa4, 0x39, 0x20, 0x72, 0x10, 19363 0x6b, 0x46, 0x99, 0x76, 0x78, 0x2c, 0x9d, 0x29, 0xde, 0x8c, 0x26, 0xed, 0xa8, 0x32, 0x2c, 0x96, 19364 0x1b, 0x35, 0x20, 0x55, 0xd7, 0x69, 0x3b, 0x3e, 0x6d, 0xf2, 0xfe, 0xa0, 0xdf, 0xe6, 0xb1, 0x41, 19365 0x40, 0x36, 0x6d, 0xbf, 0xa5, 0x05, 0x01, 0xf1, 0x19, 0xc0, 0xe4, 0x70, 0xe3, 0x7f, 0x1d, 0x81, 19366 0x49, 0x75, 0x74, 0x88, 0xc1, 0xa3, 0xb4, 0x3a, 0xae, 0xea, 0x3c, 0x6c, 0x21, 0xc4, 0x14, 0x25, 19367 0xa1, 0xcf, 0x7d, 0xfa, 0x58, 0x9f, 0xfb, 0x6d, 0x98, 0xaa, 0xba, 0x4e, 0xd7, 0xf1, 0x68, 0x93, 19368 0xa7, 0x21, 0xe5, 0x5b, 0xe1, 0x9c, 0x72, 0xc7, 0x63, 0x13, 0x89, 0xef, 0x84, 0xa8, 0xe1, 0xe8, 19369 0x0a, 0xec, 0x7a, 0x34, 0x49, 0xa9, 0xce, 0x87, 0x9b, 0x20, 0x58, 0x9e, 0x08, 0x99, 0x15, 0x98, 19370 0x20, 0x30, 0x88, 0x6e, 0x82, 0xc0, 0x20, 0xea, 0xb7, 0x36, 0xf2, 0xb4, 0xbe, 0x35, 0xf2, 0xb3, 19371 0x29, 0x98, 0x28, 0x76, 0x3a, 0xc2, 0x97, 0xff, 0x18, 0x67, 0xc6, 0x2f, 0x0b, 0x2b, 0x84, 0x77, 19372 0x3e, 0x91, 0x15, 0x02, 0xca, 0x2d, 0x1e, 0x4a, 0xaa, 0x61, 0x85, 0xea, 0x2d, 0x47, 0x69, 0x07, 19373 0x79, 0x07, 0xf2, 0xc1, 0x22, 0xaf, 0x74, 0x9a, 0xf4, 0x11, 0xf5, 0x16, 0xc6, 0x2e, 0x64, 0x2e, 19374 0x4f, 0x89, 0x60, 0x79, 0xaa, 0x64, 0x1a, 0x45, 0x24, 0x9b, 0x00, 0x56, 0xb0, 0xba, 0x22, 0x09, 19375 0x60, 0xe2, 0xcb, 0x4f, 0x48, 0xcf, 0xf8, 0x1b, 0x1f, 0x7a, 0x54, 0xe9, 0x39, 0xe4, 0x43, 0xda, 19376 0x30, 0xc3, 0xb3, 0xaf, 0x60, 0x56, 0x56, 0x8c, 0x09, 0x0b, 0xc7, 0xce, 0xc3, 0x2b, 0x42, 0x57, 19377 0xf5, 0xbc, 0xc8, 0xe9, 0x82, 0x89, 0x5e, 0xeb, 0x09, 0x01, 0x62, 0xa3, 0xbc, 0x79, 0x68, 0x42, 19378 0xf3, 0x4c, 0xbc, 0xbd, 0x7c, 0xd1, 0xff, 0x54, 0x0a, 0x4e, 0xab, 0x8b, 0xbe, 0xd6, 0xdb, 0x69, 19379 0xdb, 0x78, 0x17, 0x24, 0x57, 0x61, 0x5c, 0xac, 0xc9, 0xe0, 0x12, 0x15, 0x0f, 0x6d, 0x1b, 0xa2, 19380 0x90, 0x15, 0xb6, 0x0c, 0x19, 0x0f, 0x21, 0x75, 0xcf, 0x45, 0xf6, 0x29, 0x56, 0x14, 0x66, 0xf6, 19381 0x72, 0xf1, 0xb7, 0xbe, 0x3e, 0x19, 0xc4, 0x78, 0x1f, 0x66, 0xf5, 0x99, 0xa8, 0x51, 0x9f, 0x5c, 19382 0x81, 0x31, 0x39, 0x7d, 0xa9, 0xe4, 0xe9, 0x93, 0xe5, 0xc6, 0x36, 0x90, 0x18, 0xbd, 0x87, 0xe6, 19383 0x42, 0xd4, 0x97, 0xe6, 0x6c, 0xf2, 0xb1, 0x2e, 0x86, 0x18, 0x64, 0xbd, 0x9e, 0xd0, 0xec, 0x57, 19384 0x19, 0xa9, 0xf1, 0x27, 0xd3, 0x30, 0x97, 0xb0, 0xe7, 0x1e, 0x23, 0x13, 0x15, 0xf4, 0x0d, 0x62, 19385 0x3c, 0xf0, 0x85, 0x96, 0xdb, 0xc2, 0xfb, 0x32, 0x2b, 0xf1, 0x80, 0xed, 0x60, 0x50, 0xaa, 0xe2, 19386 0x4f, 0x43, 0x2e, 0x52, 0xc3, 0x15, 0x8c, 0x3c, 0xb5, 0x70, 0x05, 0xcb, 0x30, 0x25, 0x7a, 0x25, 19387 0xb6, 0xab, 0xd1, 0x50, 0x9b, 0xeb, 0xf2, 0x82, 0x7a, 0x6c, 0xdb, 0xd2, 0x49, 0x38, 0x0f, 0xcf, 19388 0x69, 0x3d, 0xa0, 0x82, 0xc7, 0x98, 0xca, 0x03, 0x0b, 0x12, 0x79, 0x28, 0x24, 0xe4, 0xdf, 0xc5, 19389 0x64, 0x14, 0x08, 0x51, 0xf7, 0xac, 0xdc, 0xa0, 0x3d, 0xab, 0xf9, 0x74, 0xf6, 0xac, 0xf3, 0xb2, 19390 0x8d, 0xc9, 0x7b, 0x57, 0x42, 0xb3, 0xc8, 0x2f, 0xa5, 0x60, 0x96, 0xfb, 0xcc, 0xab, 0x8d, 0x1d, 19391 0xe8, 0x07, 0xdd, 0x78, 0x3a, 0x8d, 0x3d, 0xe7, 0x61, 0xb5, 0x7d, 0xda, 0x1a, 0x6f, 0x14, 0xf9, 19392 0x3e, 0x80, 0xe0, 0x8b, 0xf2, 0x16, 0x00, 0x3f, 0xb5, 0x73, 0x09, 0xbb, 0x40, 0x80, 0x14, 0xc6, 19393 0xd2, 0xf5, 0x03, 0x3a, 0x2d, 0x05, 0x49, 0x00, 0x25, 0x7f, 0x05, 0xe6, 0xd9, 0xf7, 0x12, 0x40, 19394 0x44, 0x84, 0x8f, 0x85, 0x09, 0xac, 0xe5, 0xb3, 0xfd, 0x65, 0xa2, 0xab, 0x49, 0x64, 0x3c, 0xf2, 19395 0x5f, 0x98, 0x7a, 0xcd, 0x57, 0x9d, 0x81, 0x13, 0x2b, 0xc2, 0x90, 0x39, 0xd8, 0x7a, 0x1e, 0xef, 19396 0xb6, 0xcf, 0xfe, 0x76, 0x56, 0x7e, 0x0b, 0x7c, 0x7f, 0xf3, 0x74, 0x67, 0x36, 0x04, 0x91, 0x2f, 19397 0x02, 0x09, 0x9c, 0xcd, 0x39, 0x8c, 0xca, 0x58, 0xb8, 0x5c, 0xb5, 0x1b, 0x3a, 0xad, 0xbb, 0xb2, 19398 0x58, 0x5d, 0x24, 0x71, 0x62, 0x42, 0x61, 0x5e, 0x74, 0x9a, 0x41, 0x65, 0xb2, 0x0b, 0x6f, 0x61, 19399 0x5a, 0x8b, 0x9f, 0x12, 0x96, 0x84, 0x39, 0xda, 0x94, 0x8c, 0x19, 0x9a, 0xca, 0x29, 0x89, 0x1d, 19400 0xb9, 0x09, 0xe3, 0xe8, 0x51, 0xb6, 0x2a, 0x8d, 0xa0, 0x84, 0x41, 0x06, 0xfa, 0x9e, 0xd5, 0xf7, 19401 0x75, 0x53, 0xa6, 0x10, 0x95, 0x5d, 0x07, 0xca, 0xee, 0xa1, 0xd9, 0xeb, 0xa0, 0x02, 0x56, 0xe8, 19402 0x3b, 0x9a, 0xee, 0x61, 0xdd, 0xed, 0xe9, 0x2e, 0x87, 0x88, 0x44, 0xbe, 0x06, 0x13, 0xf7, 0xac, 19403 0x47, 0x52, 0xff, 0x2a, 0x94, 0xac, 0x43, 0x65, 0x17, 0x6f, 0x5b, 0x8f, 0xea, 0xcd, 0x5e, 0x34, 19404 0xee, 0x20, 0xcf, 0x2e, 0xae, 0xb0, 0x24, 0x5f, 0x01, 0x50, 0xb4, 0xc2, 0xe4, 0xd8, 0x0a, 0x5e, 19405 0x94, 0x11, 0x81, 0x12, 0xb5, 0xc5, 0xc8, 0x5f, 0x61, 0x18, 0x91, 0x1c, 0xe6, 0x3f, 0x3d, 0xc9, 19406 0xe1, 0xd4, 0xa7, 0x27, 0x39, 0x2c, 0xee, 0xc0, 0xd9, 0xbe, 0x9f, 0x4e, 0x42, 0x98, 0xc6, 0x6b, 19407 0x7a, 0x98, 0xc6, 0xb3, 0xfd, 0x8e, 0x58, 0x4f, 0x0f, 0x9f, 0x3c, 0x97, 0x9f, 0xef, 0x2f, 0x9d, 19408 0x7c, 0x27, 0x1d, 0x39, 0x72, 0xc5, 0xc5, 0x82, 0x87, 0xdb, 0xef, 0x27, 0x93, 0xa4, 0x31, 0xff, 19409 0x17, 0x3f, 0x94, 0xd3, 0xe1, 0x85, 0x26, 0x92, 0xe6, 0x94, 0x1f, 0xcf, 0x4f, 0x7a, 0xfa, 0xbe, 19410 0x0b, 0xd3, 0x3c, 0xf3, 0xcf, 0x5d, 0x7a, 0xf8, 0xd0, 0x71, 0x9b, 0x32, 0x97, 0x25, 0xca, 0xe0, 19411 0xb1, 0x1c, 0x79, 0x11, 0x5c, 0x52, 0x96, 0x4e, 0x4a, 0x23, 0x58, 0xfb, 0xd9, 0xc4, 0x5d, 0x8c, 19412 0x21, 0x0c, 0xf2, 0x5f, 0x22, 0x6f, 0x06, 0x82, 0x1a, 0x75, 0xd5, 0x20, 0xca, 0xae, 0x04, 0x26, 19413 0xc8, 0x6b, 0xd4, 0x35, 0xfe, 0x20, 0x03, 0x84, 0xd7, 0x54, 0xb2, 0xba, 0x16, 0xba, 0xf0, 0xd9, 19414 0x18, 0x8a, 0x22, 0x2f, 0x70, 0xac, 0x9d, 0x16, 0x55, 0xe3, 0xb8, 0x08, 0xa3, 0xd3, 0xa0, 0xac, 19415 0x1e, 0xbd, 0xe8, 0xc4, 0x08, 0xfb, 0x6c, 0x75, 0xe9, 0x27, 0xd9, 0xea, 0xbe, 0x06, 0xcf, 0x17, 19416 0xbb, 0x98, 0x42, 0x4c, 0xd6, 0x72, 0xcb, 0x71, 0xe5, 0x26, 0xa5, 0x39, 0x87, 0x58, 0x01, 0x5a, 19417 0xac, 0xa5, 0x83, 0x58, 0x28, 0x72, 0x0a, 0x5b, 0x97, 0x5d, 0x5f, 0x75, 0x36, 0x96, 0x72, 0x4a, 19418 0x17, 0x4b, 0x12, 0xe4, 0x14, 0x4e, 0x22, 0x79, 0xd8, 0xae, 0x94, 0x53, 0x30, 0x6d, 0x40, 0xc8, 19419 0xc3, 0x76, 0x69, 0x1f, 0x59, 0x27, 0x20, 0x21, 0xef, 0xc2, 0x44, 0xb1, 0xe7, 0x3b, 0x82, 0xb1, 19420 0xb0, 0x96, 0x0e, 0xed, 0x9a, 0x45, 0x53, 0xb4, 0xab, 0x4f, 0x88, 0x6e, 0xfc, 0x71, 0x06, 0xce, 19421 0xc6, 0xa7, 0x57, 0x94, 0x06, 0xdf, 0x47, 0xea, 0x98, 0xef, 0x23, 0x69, 0x35, 0xf0, 0xc7, 0x82, 19422 0xa7, 0xb6, 0x1a, 0x78, 0x26, 0xb2, 0x4f, 0xb8, 0x1a, 0x6a, 0x30, 0xa1, 0x9e, 0x77, 0xd9, 0x4f, 19423 0x7a, 0xde, 0xa9, 0x5c, 0xd8, 0xa5, 0x9e, 0xfb, 0x58, 0x8f, 0x84, 0x4f, 0x47, 0x51, 0xf7, 0x6a, 19424 0x8e, 0x41, 0xfe, 0x7f, 0x70, 0x81, 0xef, 0x49, 0xd1, 0xce, 0x2e, 0x1f, 0x4a, 0x8e, 0x62, 0xe2, 19425 0x96, 0x1e, 0x1f, 0x15, 0xae, 0x72, 0x55, 0x49, 0x3d, 0x36, 0x6c, 0xf5, 0x9d, 0xc3, 0xba, 0x6c, 19426 0x99, 0x52, 0xc9, 0xb1, 0xbc, 0x31, 0xfd, 0x98, 0x92, 0xdd, 0xea, 0x8d, 0x24, 0x37, 0x12, 0x1e, 19427 0x89, 0x94, 0x83, 0x75, 0x0f, 0x12, 0xa9, 0x0e, 0x4b, 0x27, 0xaa, 0xc3, 0xa4, 0x3e, 0x25, 0x93, 19428 0xa8, 0x4f, 0x29, 0xc3, 0x4c, 0xad, 0xb7, 0x23, 0xeb, 0x46, 0xc4, 0xac, 0xe6, 0x09, 0x97, 0xd4, 19429 0xa1, 0x28, 0x89, 0xf1, 0x63, 0x69, 0x98, 0xac, 0xb6, 0x7a, 0x7b, 0x76, 0xa7, 0x6c, 0xf9, 0xd6, 19430 0x33, 0xab, 0xa1, 0x7b, 0x4b, 0xd3, 0xd0, 0x05, 0xde, 0x52, 0x41, 0xc7, 0x86, 0x52, 0xcf, 0x7d, 19431 0x2b, 0x05, 0x33, 0x21, 0x09, 0x3f, 0x67, 0x57, 0x21, 0xcb, 0x7e, 0x88, 0x7b, 0xeb, 0x85, 0x18, 19432 0x63, 0x9e, 0xaa, 0x25, 0xf8, 0x4b, 0xe8, 0xcc, 0xf4, 0x3c, 0x08, 0xc8, 0x61, 0xf1, 0x73, 0x3c, 19433 0xe7, 0xff, 0xc9, 0x53, 0xb4, 0xfc, 0x5a, 0x0a, 0xf2, 0xd1, 0x9e, 0x90, 0xbb, 0x30, 0xc6, 0x38, 19434 0xd9, 0x54, 0x5e, 0xa9, 0x5f, 0xea, 0xd3, 0xe7, 0xab, 0x02, 0x8d, 0x37, 0x0f, 0x07, 0x9f, 0x72, 19435 0x88, 0x29, 0x39, 0x2c, 0x9a, 0x30, 0xa9, 0x62, 0x25, 0xb4, 0xee, 0x75, 0x5d, 0xb8, 0x38, 0x9d, 19436 0x3c, 0x0e, 0x5a, 0x62, 0x19, 0xad, 0xd5, 0x42, 0x6e, 0xb8, 0xa4, 0x2d, 0x2e, 0x1c, 0xab, 0xc8, 19437 0xba, 0xe1, 0xcb, 0x6c, 0x29, 0x0c, 0x8e, 0xac, 0xae, 0xb3, 0x84, 0x05, 0x1d, 0xe0, 0x91, 0xd7, 19438 0x61, 0x94, 0xd7, 0xa7, 0x26, 0x58, 0xe8, 0x22, 0x44, 0x15, 0x71, 0x39, 0x8e, 0xf1, 0xb7, 0x33, 19439 0x70, 0x3a, 0x6c, 0xde, 0x56, 0xb7, 0x69, 0xf9, 0xb4, 0x6a, 0xb9, 0x56, 0xdb, 0x3b, 0xe6, 0x0b, 19440 0xb8, 0x1c, 0x6b, 0x1a, 0x06, 0xdc, 0x97, 0x4d, 0x53, 0x1a, 0x64, 0x44, 0x1a, 0x84, 0xea, 0x4b, 19441 0xde, 0x20, 0xd9, 0x0c, 0x72, 0x17, 0x32, 0x35, 0xea, 0x8b, 0x6d, 0xf3, 0x52, 0x6c, 0x54, 0xd5, 19442 0x76, 0x5d, 0xad, 0x51, 0x9f, 0x4f, 0x22, 0x8f, 0xfd, 0x41, 0xb5, 0xd8, 0x8b, 0x35, 0xea, 0x93, 19443 0x6d, 0x18, 0x5d, 0x79, 0xd4, 0xa5, 0x0d, 0x5f, 0x24, 0x18, 0xba, 0x32, 0x98, 0x1f, 0xc7, 0x55, 19444 0xf2, 0x0b, 0x51, 0x04, 0xa8, 0x83, 0xc5, 0x51, 0x16, 0x6f, 0x42, 0x4e, 0x56, 0x7e, 0x92, 0x95, 19445 0xbb, 0xf8, 0x16, 0x4c, 0x28, 0x95, 0x9c, 0x68, 0xd1, 0xff, 0x3c, 0xdb, 0x57, 0x9d, 0x96, 0xcc, 19446 0x49, 0xb4, 0x12, 0x13, 0xf3, 0x52, 0xa1, 0xcf, 0x2e, 0x17, 0xf3, 0xea, 0x07, 0xa2, 0x68, 0x80, 19447 0xbc, 0x57, 0x81, 0x99, 0xda, 0x81, 0xdd, 0x0d, 0x43, 0xe0, 0x69, 0x87, 0x29, 0x46, 0x8b, 0x17, 19448 0x77, 0xee, 0xe8, 0x61, 0x1a, 0xa5, 0x33, 0xfe, 0x2c, 0x05, 0xa3, 0xec, 0xaf, 0xfb, 0x37, 0x9f, 19449 0xd1, 0x2d, 0xf3, 0x86, 0xb6, 0x65, 0xce, 0x2a, 0xf1, 0x67, 0x71, 0xe3, 0xb8, 0x79, 0xcc, 0x66, 19450 0x79, 0x24, 0x26, 0x88, 0x23, 0x93, 0xdb, 0x30, 0x26, 0x2c, 0x6f, 0x84, 0x89, 0xb4, 0x1a, 0xd0, 19451 0x56, 0xda, 0xe4, 0x04, 0x97, 0x73, 0xa7, 0x1b, 0xd5, 0x66, 0x48, 0x6a, 0x26, 0x92, 0xcb, 0x60, 19452 0x84, 0x5a, 0x26, 0x3b, 0x07, 0xfd, 0xcf, 0x78, 0x40, 0x56, 0x25, 0x47, 0x64, 0x1f, 0xc7, 0xfe, 19453 0xa2, 0x78, 0xc8, 0xc8, 0x0c, 0x62, 0x72, 0x5a, 0x26, 0xfa, 0x4a, 0x7c, 0xe3, 0xf8, 0xc3, 0x39, 19454 0x1e, 0xca, 0x54, 0x36, 0xec, 0x3d, 0x98, 0xbc, 0xe5, 0xb8, 0x0f, 0x2d, 0x97, 0x07, 0xa8, 0x13, 19455 0x96, 0x03, 0xec, 0xea, 0x38, 0xb5, 0xcb, 0xe1, 0x3c, 0xc4, 0xdd, 0x77, 0x8f, 0x0a, 0xd9, 0x65, 19456 0xc7, 0x69, 0x99, 0x1a, 0x3a, 0xd9, 0x80, 0xa9, 0x7b, 0xd6, 0x23, 0xe5, 0xd2, 0xcb, 0x1d, 0x4a, 19457 0xae, 0xb0, 0x05, 0xcc, 0x6e, 0xcd, 0xc7, 0x9b, 0x41, 0xe9, 0xf4, 0xc4, 0x86, 0xe9, 0xaa, 0xe3, 19458 0xfa, 0xa2, 0x12, 0xbb, 0xb3, 0x27, 0x3a, 0x1b, 0x37, 0xe4, 0xba, 0x96, 0x68, 0xc8, 0x75, 0xb6, 19459 0xeb, 0xb8, 0x7e, 0x7d, 0x37, 0x20, 0xd7, 0x82, 0xe6, 0x68, 0x8c, 0xc9, 0x7b, 0x30, 0xab, 0x04, 19460 0x05, 0xbb, 0xe5, 0xb8, 0x6d, 0x4b, 0x0a, 0xe5, 0xa8, 0x07, 0x46, 0x7b, 0x93, 0x5d, 0x04, 0x9b, 19461 0x71, 0x4c, 0xf2, 0x51, 0x92, 0x8b, 0xce, 0x48, 0x68, 0x09, 0x96, 0xe0, 0xa2, 0xd3, 0xcf, 0x12, 19462 0x2c, 0xee, 0xac, 0xb3, 0x37, 0xc8, 0x52, 0x34, 0xb7, 0x7c, 0x5d, 0x5c, 0xbf, 0x8f, 0xb7, 0x04, 19463 0x0d, 0xe6, 0xad, 0x8f, 0x45, 0xe8, 0x12, 0x64, 0x96, 0xab, 0xb7, 0xf0, 0xf5, 0x42, 0x1a, 0xda, 19464 0x74, 0xf6, 0xad, 0x4e, 0x03, 0x85, 0x65, 0x61, 0x9d, 0xad, 0xee, 0xc8, 0xcb, 0xd5, 0x5b, 0xc4, 19465 0x82, 0xb9, 0x2a, 0x75, 0xdb, 0xb6, 0xff, 0xa5, 0xeb, 0xd7, 0x95, 0x89, 0xca, 0x61, 0xd3, 0xae, 19466 0x89, 0xa6, 0x15, 0xba, 0x88, 0x52, 0x7f, 0x74, 0xfd, 0x7a, 0xe2, 0x74, 0x04, 0x0d, 0x4b, 0xe2, 19467 0xc5, 0x76, 0xc6, 0x7b, 0xd6, 0xa3, 0xd0, 0xa8, 0xde, 0x13, 0xce, 0x8e, 0xe7, 0xe5, 0xc2, 0x0a, 19468 0x0d, 0xf2, 0xb5, 0x9d, 0x51, 0x27, 0x62, 0x77, 0x9d, 0x70, 0x79, 0x79, 0xc2, 0x4d, 0x64, 0x51, 19469 0xaa, 0x74, 0xa4, 0x47, 0xac, 0x2a, 0xb0, 0x2b, 0xe8, 0x64, 0x2b, 0xb8, 0xb1, 0xf1, 0x1b, 0x8f, 19470 0x48, 0x63, 0x75, 0x4d, 0xbd, 0xb1, 0x71, 0x45, 0x8a, 0xd6, 0xad, 0x99, 0xe0, 0x9a, 0xcf, 0xbd, 19471 0x0c, 0x4c, 0x9d, 0x4b, 0xfc, 0x22, 0x38, 0x79, 0xf2, 0x8b, 0x20, 0x85, 0xec, 0x9a, 0xd3, 0x38, 19472 0x10, 0x91, 0x7e, 0xbe, 0xc8, 0x3e, 0xf7, 0x96, 0xd3, 0x38, 0x78, 0x7a, 0x16, 0xb0, 0xc8, 0x9e, 19473 0xac, 0xb3, 0xa6, 0xb2, 0x55, 0x20, 0xc6, 0x44, 0x58, 0x55, 0xce, 0x07, 0x37, 0x21, 0xa5, 0x8c, 19474 0x0b, 0x3e, 0x7c, 0xd1, 0xc8, 0xa1, 0x35, 0x75, 0x72, 0x42, 0x21, 0x5f, 0xa6, 0xde, 0x81, 0xef, 19475 0x74, 0x4b, 0x2d, 0xbb, 0xbb, 0xe3, 0x58, 0x6e, 0x13, 0x75, 0x77, 0x49, 0xdf, 0xf7, 0x2b, 0x89, 19476 0xdf, 0xf7, 0x6c, 0x93, 0xd3, 0xd7, 0x1b, 0x92, 0x81, 0x19, 0x63, 0x49, 0x3e, 0x82, 0x69, 0xb6, 19477 0xb8, 0x57, 0x1e, 0xf9, 0xb4, 0xc3, 0x67, 0x7e, 0x16, 0x45, 0x87, 0x79, 0x25, 0xf0, 0x77, 0x50, 19478 0xc8, 0xd7, 0x14, 0x7e, 0xec, 0x34, 0x20, 0xd0, 0xa2, 0x24, 0x69, 0xac, 0x48, 0x13, 0x16, 0xee, 19479 0x59, 0x8f, 0x94, 0xe4, 0x5b, 0xca, 0x22, 0x25, 0xb8, 0xc0, 0x30, 0x29, 0x38, 0x5b, 0x60, 0x61, 19480 0x80, 0xce, 0x3e, 0xeb, 0xb5, 0x2f, 0x27, 0xf2, 0xfd, 0x70, 0x46, 0x74, 0xab, 0x8c, 0xd9, 0x30, 19481 0x1c, 0xf7, 0xb0, 0xb6, 0x6f, 0xa1, 0x3f, 0xcd, 0xdc, 0xc9, 0x36, 0x44, 0x39, 0x60, 0x4d, 0xc9, 19482 0xa7, 0xee, 0x71, 0x46, 0x66, 0xbf, 0x1a, 0xc8, 0xc7, 0x30, 0xcd, 0x9f, 0x6c, 0x56, 0x1d, 0xcf, 19483 0xc7, 0x0b, 0xfd, 0xfc, 0xc9, 0xcc, 0xc4, 0xf9, 0x3b, 0x10, 0x77, 0xac, 0x88, 0x28, 0x00, 0x22, 19484 0x9c, 0xc9, 0x3b, 0x30, 0x51, 0xb5, 0x3b, 0x3c, 0x8e, 0x59, 0xa5, 0x8a, 0xaa, 0x47, 0x71, 0xfe, 19485 0x74, 0xed, 0x4e, 0x5d, 0xde, 0xaa, 0xbb, 0xc1, 0x76, 0xa1, 0x62, 0x93, 0x6d, 0x98, 0xa8, 0xd5, 19486 0x56, 0x6f, 0xd9, 0xec, 0x00, 0xec, 0x1e, 0x2e, 0x9c, 0xee, 0xd3, 0xca, 0x8b, 0x89, 0xad, 0x9c, 19487 0xf2, 0xbc, 0x7d, 0x4c, 0x3c, 0x5c, 0x6f, 0x38, 0xdd, 0x43, 0x53, 0xe5, 0x94, 0x60, 0x3a, 0x7d, 19488 0xe6, 0x29, 0x9b, 0x4e, 0x57, 0x60, 0x46, 0x31, 0xb0, 0x44, 0xe3, 0xca, 0x85, 0x30, 0x6c, 0x97, 19489 0x6a, 0x2a, 0x1d, 0x75, 0xeb, 0x8b, 0xd2, 0x49, 0x9b, 0xe9, 0xb3, 0x27, 0xb5, 0x99, 0xb6, 0x61, 19490 0x96, 0x4f, 0x86, 0x58, 0x07, 0x38, 0xd3, 0x8b, 0x7d, 0xc6, 0xf0, 0x4a, 0xe2, 0x18, 0xce, 0x89, 19491 0x99, 0x96, 0x8b, 0x0c, 0x9f, 0x28, 0xe3, 0x5c, 0xc9, 0x2e, 0x10, 0x01, 0x14, 0x69, 0x8f, 0xb1, 19492 0xae, 0xe7, 0xfb, 0xd4, 0xf5, 0x52, 0x62, 0x5d, 0xd3, 0xb2, 0xae, 0x1d, 0x5e, 0x4d, 0x02, 0x47, 19493 0xd2, 0x91, 0xf5, 0xc8, 0xf5, 0x85, 0x03, 0x7b, 0x4e, 0xd3, 0x83, 0xc6, 0x11, 0x78, 0x10, 0xd1, 19494 0xe8, 0xa2, 0x8d, 0x8e, 0x7b, 0x02, 0x67, 0xf2, 0x08, 0x4e, 0xc7, 0x5b, 0x81, 0x75, 0x9e, 0xc7, 19495 0x3a, 0xcf, 0x6b, 0x75, 0x46, 0x91, 0xf8, 0xba, 0xd1, 0xbb, 0x15, 0xad, 0xb5, 0x0f, 0xff, 0x3b, 19496 0xd9, 0xdc, 0x54, 0x7e, 0x3a, 0xc9, 0xd2, 0xfa, 0x9f, 0xa4, 0x23, 0x9b, 0x36, 0xa9, 0xc0, 0x98, 19497 0x98, 0x0b, 0x21, 0xc5, 0xc6, 0x47, 0xfc, 0x7c, 0xe2, 0x88, 0x8f, 0x89, 0x69, 0x35, 0x25, 0x3d, 19498 0x79, 0xc8, 0x58, 0xa1, 0xd9, 0xba, 0x10, 0xfb, 0xbf, 0xc2, 0xf7, 0x64, 0x04, 0x69, 0xa7, 0x4f, 19499 0xf9, 0xe4, 0x4e, 0x3b, 0xba, 0x4f, 0x18, 0x1e, 0x43, 0xb2, 0x36, 0x72, 0xc0, 0x33, 0x05, 0x64, 19500 0x02, 0xcf, 0x0f, 0x3d, 0x2d, 0xc0, 0x53, 0xab, 0x90, 0xd5, 0x62, 0xfc, 0x66, 0x0a, 0xa6, 0xb4, 19501 0x5d, 0x9f, 0xdc, 0x54, 0xdc, 0x9a, 0x42, 0xaf, 0x5c, 0x0d, 0x07, 0x37, 0x82, 0xa8, 0xc3, 0xd3, 19502 0x4d, 0x61, 0x37, 0x9d, 0xee, 0x4f, 0x97, 0x98, 0xfd, 0x7b, 0xb0, 0x92, 0x2c, 0xc8, 0x3c, 0x94, 19503 0xed, 0x93, 0x79, 0xe8, 0xd7, 0x9f, 0x87, 0x69, 0xfd, 0x5a, 0x40, 0x5e, 0x87, 0x51, 0xd4, 0x2d, 19504 0xca, 0x3b, 0x26, 0xcf, 0xbd, 0x8b, 0x10, 0x2d, 0xf7, 0x2e, 0x42, 0xc8, 0xcb, 0x00, 0x81, 0x01, 19505 0xab, 0xd4, 0xac, 0x8f, 0x3c, 0x3e, 0x2a, 0xa4, 0xde, 0x30, 0x95, 0x02, 0xf2, 0x55, 0x80, 0x75, 19506 0xa7, 0x49, 0x83, 0xec, 0x68, 0x03, 0x5e, 0x8f, 0x5f, 0x89, 0x45, 0xd1, 0x3e, 0xd5, 0x71, 0x9a, 19507 0x34, 0x1e, 0x32, 0x5b, 0xe1, 0x48, 0xde, 0x86, 0x11, 0xb3, 0xc7, 0xee, 0xb3, 0x5c, 0x95, 0x30, 19508 0x21, 0x77, 0xdf, 0x5e, 0x8b, 0x2a, 0x09, 0xf5, 0x7b, 0x51, 0xc3, 0x28, 0x06, 0x20, 0x1f, 0xf0, 19509 0xe8, 0xda, 0x22, 0x18, 0xd6, 0x48, 0xf8, 0xd6, 0xa0, 0x9c, 0xca, 0xb1, 0x70, 0x58, 0x0a, 0x09, 19510 0xd9, 0x80, 0x31, 0x55, 0x49, 0xae, 0xf8, 0xc7, 0xaa, 0x0f, 0x29, 0xca, 0xcd, 0x4b, 0xa4, 0x55, 19511 0x8b, 0xea, 0xcf, 0x25, 0x17, 0xf2, 0x2e, 0x8c, 0x33, 0xf6, 0xec, 0x13, 0xf6, 0x84, 0xc4, 0x8d, 19512 0x2f, 0x0a, 0x4a, 0x83, 0xd8, 0x0e, 0xa0, 0x85, 0xac, 0x0a, 0x08, 0xc8, 0x47, 0x98, 0x39, 0x4c, 19513 0x0c, 0xf5, 0x40, 0xab, 0x82, 0x4b, 0xb1, 0xa1, 0xc6, 0x54, 0x62, 0xf1, 0xa4, 0xb2, 0x01, 0x3f, 19514 0xb2, 0x17, 0x84, 0x52, 0x1a, 0x26, 0x22, 0xfa, 0xab, 0xb1, 0x0a, 0x16, 0x64, 0x74, 0xa0, 0x78, 19515 0x96, 0x3b, 0x8d, 0x2f, 0xe9, 0x42, 0x3e, 0x14, 0x78, 0x44, 0x5d, 0x30, 0xa8, 0xae, 0x37, 0x62, 19516 0x75, 0xa9, 0x13, 0x18, 0xab, 0x2e, 0xc6, 0x9d, 0x34, 0x61, 0x5a, 0x6e, 0x9e, 0xa2, 0xbe, 0x89, 19517 0x41, 0xf5, 0xbd, 0x1c, 0xab, 0x6f, 0xae, 0xb9, 0x13, 0xaf, 0x27, 0xc2, 0x93, 0xbc, 0x0b, 0x53, 19518 0x12, 0x82, 0xdf, 0x87, 0xc8, 0x5e, 0x8b, 0x5a, 0x91, 0xe6, 0x0e, 0x9a, 0xcc, 0xeb, 0xb9, 0xff, 19519 0x54, 0x64, 0x95, 0x9a, 0xaf, 0x8e, 0x29, 0x8d, 0x3a, 0xba, 0x2a, 0x74, 0x64, 0xf2, 0x21, 0x4c, 19520 0x54, 0xda, 0xac, 0x23, 0x4e, 0xc7, 0xf2, 0xa9, 0xf0, 0x9d, 0x92, 0x16, 0x12, 0x4a, 0x89, 0xb2, 19521 0x54, 0x79, 0x36, 0xbd, 0xb0, 0x48, 0xcb, 0xa6, 0x17, 0x82, 0xd9, 0xe0, 0xf1, 0x57, 0x11, 0xb1, 19522 0x86, 0xa5, 0x5f, 0xd5, 0xf9, 0x04, 0x2b, 0x05, 0x85, 0xbd, 0x08, 0x3a, 0xc7, 0xa0, 0xf2, 0x55, 19523 0x22, 0x12, 0x74, 0x4e, 0xe5, 0x49, 0xde, 0x83, 0x09, 0x91, 0x2c, 0xa2, 0x68, 0xae, 0x7b, 0x0b, 19524 0x79, 0xec, 0x3c, 0x7a, 0x83, 0xcb, 0xbc, 0x12, 0x75, 0xcb, 0x8d, 0x98, 0xe3, 0x85, 0xf8, 0xe4, 19525 0x4b, 0x30, 0xbf, 0x6d, 0x77, 0x9a, 0xce, 0x43, 0x4f, 0x1c, 0x53, 0x62, 0xa3, 0x9b, 0x0d, 0x9d, 19526 0x61, 0x1e, 0xf2, 0xf2, 0x40, 0x4e, 0x89, 0x6d, 0x7c, 0x89, 0x1c, 0xc8, 0x5f, 0x8e, 0x71, 0xe6, 19527 0x2b, 0x88, 0x0c, 0x5a, 0x41, 0x4b, 0xb1, 0x15, 0x14, 0xaf, 0x3e, 0xba, 0x9c, 0x12, 0xab, 0x21, 19528 0x0e, 0x10, 0xfd, 0x7c, 0xbf, 0xe3, 0xd8, 0x9d, 0x85, 0x39, 0xdc, 0x0b, 0x9f, 0x8f, 0xfa, 0x5f, 19529 0x23, 0x5e, 0xd5, 0x69, 0xd9, 0x8d, 0x43, 0x9e, 0xb9, 0x3e, 0x2a, 0x8f, 0x7e, 0xec, 0x68, 0x3a, 19530 0xe3, 0x04, 0xd6, 0xe4, 0x43, 0x98, 0x64, 0xff, 0x07, 0x17, 0xe6, 0x79, 0xcd, 0xae, 0x4d, 0xc1, 19531 0x14, 0xf5, 0xe0, 0x1c, 0x61, 0x36, 0x8b, 0x84, 0xbb, 0xb4, 0xc6, 0x8a, 0xbc, 0x05, 0xc0, 0x24, 19532 0x27, 0xb1, 0x1d, 0x9f, 0x0a, 0x63, 0xfc, 0xa1, 0xbc, 0x15, 0xdf, 0x88, 0x43, 0x64, 0x76, 0x8b, 19533 0x67, 0xbf, 0x6a, 0xbd, 0xa6, 0xc3, 0xbe, 0x8d, 0xd3, 0x48, 0xcb, 0x5d, 0xd2, 0x18, 0xad, 0xc7, 19534 0xe1, 0x9a, 0x4b, 0x5a, 0x88, 0x4e, 0x56, 0x61, 0x06, 0x63, 0x31, 0x56, 0x9a, 0xb4, 0xe3, 0xe3, 19535 0x6b, 0xe5, 0xc2, 0x19, 0xe5, 0x35, 0x97, 0x15, 0xd5, 0xed, 0xa0, 0x4c, 0x95, 0xb3, 0x23, 0x64, 19536 0xc4, 0x83, 0xb9, 0x70, 0x77, 0x09, 0xdf, 0x86, 0x17, 0x70, 0x90, 0xa4, 0x74, 0x19, 0xc7, 0xe0, 19537 0xfb, 0x31, 0x9b, 0x11, 0x65, 0xe3, 0x92, 0x9a, 0x75, 0xb5, 0xc2, 0x24, 0xee, 0xc4, 0x04, 0x72, 19538 0xbb, 0x54, 0x8d, 0x06, 0x2b, 0x3c, 0x8b, 0x3d, 0xc0, 0x69, 0xde, 0x6b, 0x84, 0x79, 0x1b, 0x13, 19539 0x02, 0x16, 0x26, 0x50, 0x93, 0x6f, 0xc0, 0x29, 0xb9, 0x83, 0x88, 0x22, 0xb1, 0xae, 0x17, 0x4f, 19540 0xb8, 0x13, 0x37, 0x77, 0x82, 0xaa, 0x63, 0x4b, 0x3a, 0xb9, 0x0a, 0x62, 0xc1, 0x04, 0x4e, 0xab, 19541 0xa8, 0xf1, 0xf9, 0x41, 0x35, 0x5e, 0x8e, 0xd5, 0x78, 0x1a, 0x17, 0x4a, 0xbc, 0x32, 0x95, 0x27, 19542 0x59, 0x86, 0x29, 0xf1, 0x1d, 0x89, 0xd5, 0x76, 0x0e, 0x47, 0x0b, 0x15, 0x2c, 0xf2, 0x0b, 0x8c, 19543 0x2d, 0x38, 0x9d, 0x44, 0xdd, 0x91, 0xb9, 0x46, 0xfd, 0xbc, 0xb6, 0x23, 0x47, 0x15, 0xe9, 0x3a, 19544 0x32, 0xdb, 0x91, 0x42, 0x29, 0x66, 0xe5, 0x51, 0xd7, 0x15, 0xea, 0x93, 0x17, 0xc2, 0x18, 0xfe, 19545 0x8a, 0xf0, 0x53, 0xa7, 0x01, 0x86, 0xba, 0x25, 0x24, 0x71, 0x20, 0x5b, 0x30, 0x17, 0x9c, 0xda, 19546 0x0a, 0xe3, 0x42, 0x98, 0x0b, 0x21, 0x3c, 0xea, 0x93, 0xf9, 0x26, 0xd1, 0x13, 0x0b, 0xce, 0x68, 19547 0xe7, 0xb4, 0xc2, 0xfa, 0x02, 0xb2, 0xc6, 0x3c, 0xa1, 0xfa, 0x21, 0x9f, 0xcc, 0xbe, 0x1f, 0x1f, 19548 0xf2, 0x31, 0x2c, 0x46, 0xcf, 0x66, 0xa5, 0x96, 0x17, 0xb1, 0x96, 0x57, 0x1f, 0x1f, 0x15, 0x2e, 19549 0xc5, 0x8e, 0xf7, 0xe4, 0x8a, 0x06, 0x70, 0x23, 0x5f, 0x85, 0x05, 0xfd, 0x7c, 0x56, 0x6a, 0x32, 19550 0xb0, 0x26, 0xfc, 0x74, 0x82, 0x83, 0x3d, 0xb9, 0x86, 0xbe, 0x3c, 0x88, 0x0f, 0x85, 0xc4, 0xd5, 19551 0xad, 0x54, 0x73, 0x31, 0xec, 0x50, 0xec, 0x2b, 0x49, 0xae, 0xee, 0x38, 0x96, 0xe4, 0x21, 0xbc, 19552 0x90, 0x74, 0x4c, 0x28, 0x95, 0xbe, 0x14, 0x28, 0x28, 0x5f, 0x4b, 0x3e, 0x72, 0x92, 0x6b, 0x3e, 19553 0x86, 0x2d, 0xf9, 0x08, 0x4e, 0x29, 0xdf, 0x97, 0x52, 0xdf, 0xcb, 0x58, 0x1f, 0xba, 0xb2, 0xaa, 19554 0x1f, 0x66, 0x72, 0x2d, 0xc9, 0x3c, 0x48, 0x1b, 0xe6, 0x64, 0xc7, 0x51, 0x13, 0x2c, 0x8e, 0x9e, 19555 0x4b, 0xda, 0xae, 0x1a, 0xc7, 0x50, 0x12, 0x2c, 0xef, 0xd4, 0xbb, 0x21, 0xa1, 0xba, 0xd2, 0x13, 19556 0xf8, 0x92, 0x55, 0x18, 0xad, 0x55, 0x2b, 0xb7, 0x6e, 0xad, 0x2c, 0xbc, 0x82, 0x35, 0x48, 0xbf, 19557 0x17, 0x0e, 0xd4, 0x2e, 0x4d, 0xc2, 0xdc, 0xaa, 0x6b, 0xef, 0xee, 0x6a, 0xee, 0x45, 0x1c, 0xf5, 19558 0x4e, 0x36, 0x77, 0x39, 0x7f, 0xe5, 0x4e, 0x36, 0x77, 0x25, 0xff, 0xaa, 0x79, 0x2e, 0x39, 0x37, 19559 0x2e, 0xef, 0xac, 0x79, 0x69, 0x50, 0x69, 0x38, 0x14, 0xc6, 0xcf, 0xa7, 0x60, 0x2e, 0xa1, 0x1d, 19560 0xe4, 0x12, 0x64, 0x31, 0xb9, 0x80, 0xf2, 0xc0, 0x1c, 0x49, 0x2a, 0x80, 0xe5, 0xe4, 0x33, 0x30, 19561 0x56, 0x5e, 0xaf, 0xd5, 0x8a, 0xeb, 0xf2, 0xca, 0xc6, 0xb7, 0xab, 0x8e, 0x57, 0xf7, 0x2c, 0xfd, 19562 0x5d, 0x4a, 0xa0, 0x91, 0x37, 0x60, 0xb4, 0x52, 0x45, 0x02, 0x6e, 0xe1, 0x84, 0x57, 0x18, 0xbb, 19563 0x1b, 0xc5, 0x17, 0x48, 0xc6, 0x4f, 0xa4, 0x80, 0xc4, 0x07, 0x95, 0x5c, 0x87, 0x09, 0x75, 0xea, 19564 0xf8, 0x05, 0x13, 0xdf, 0x50, 0x94, 0x89, 0x31, 0x55, 0x1c, 0x52, 0x86, 0x11, 0x4c, 0x86, 0x14, 19565 0x3c, 0x88, 0x25, 0x1e, 0x00, 0x67, 0x62, 0x07, 0xc0, 0x08, 0xa6, 0x5a, 0x32, 0x39, 0xb1, 0xf1, 19566 0x3b, 0x29, 0x20, 0xf1, 0x43, 0x73, 0xe8, 0x07, 0xf9, 0x37, 0x15, 0x0f, 0x55, 0x35, 0x7c, 0x78, 19567 0x90, 0xfb, 0x41, 0xbd, 0x2c, 0x85, 0xbe, 0xac, 0x97, 0xb4, 0xcb, 0x79, 0x7f, 0xb7, 0xa6, 0x2b, 19568 0x30, 0x72, 0x9f, 0xba, 0x3b, 0xd2, 0x78, 0x0f, 0x0d, 0x7e, 0x1e, 0x30, 0x80, 0x7a, 0x59, 0x45, 19569 0x0c, 0xe3, 0x8f, 0x53, 0x30, 0x9f, 0x24, 0xc9, 0x1d, 0xe3, 0x7d, 0x64, 0x44, 0x1c, 0xa7, 0xf0, 19570 0x31, 0x9e, 0x5b, 0x03, 0x05, 0xee, 0x52, 0x05, 0x18, 0x61, 0x9d, 0x95, 0x33, 0x8c, 0xca, 0x02, 19571 0x36, 0x1a, 0x9e, 0xc9, 0xe1, 0x0c, 0x81, 0x47, 0x3d, 0xca, 0x62, 0x70, 0x2b, 0x44, 0x40, 0x41, 19572 0xc1, 0xe4, 0x70, 0x86, 0x70, 0xcf, 0x69, 0x06, 0x19, 0x40, 0x11, 0xa1, 0xcd, 0x00, 0x26, 0x87, 19573 0x93, 0x4b, 0x30, 0xb6, 0xd1, 0x59, 0xa3, 0xd6, 0x03, 0x99, 0xbe, 0x02, 0x8d, 0x07, 0x9c, 0x4e, 19574 0xbd, 0xc5, 0x60, 0xa6, 0x2c, 0x34, 0xbe, 0x95, 0x82, 0xd9, 0x98, 0x10, 0x79, 0xbc, 0x83, 0xd5, 19575 0x60, 0x4f, 0x87, 0x61, 0xfa, 0xc7, 0x9b, 0x9f, 0x4d, 0x6e, 0xbe, 0xf1, 0xbf, 0x67, 0xe1, 0x4c, 19576 0x9f, 0x3b, 0x7d, 0xe8, 0x89, 0x95, 0x3a, 0xd6, 0x13, 0xeb, 0xcb, 0xec, 0x0e, 0x6d, 0xd9, 0x6d, 19577 0x6f, 0xd3, 0x09, 0x5b, 0x1c, 0x1a, 0x74, 0x63, 0x99, 0x4c, 0x82, 0x2a, 0x2d, 0x7f, 0xcf, 0xf2, 19578 0x44, 0xd4, 0x75, 0xdf, 0x89, 0x8b, 0x14, 0x1a, 0xb3, 0x98, 0x2f, 0x54, 0xe6, 0x2f, 0x88, 0x2f, 19579 0x94, 0x6e, 0x9d, 0x9f, 0x7d, 0xaa, 0xd6, 0xf9, 0xc9, 0x96, 0x7d, 0x23, 0x4f, 0x62, 0xe7, 0x59, 19580 0x82, 0x29, 0x6e, 0x3d, 0x51, 0xf4, 0xf8, 0x24, 0x8d, 0xc6, 0x2c, 0x2e, 0x2c, 0x2f, 0x3e, 0x17, 19581 0x1a, 0x0d, 0x59, 0xd5, 0x2d, 0xc9, 0xc7, 0xf0, 0xd5, 0xe7, 0x52, 0x7f, 0x4b, 0x71, 0xed, 0xb5, 19582 0x57, 0x25, 0x35, 0xbe, 0x95, 0xd6, 0x1d, 0xa5, 0xfe, 0x22, 0xae, 0xbc, 0x2b, 0x30, 0xb2, 0xbd, 19583 0x4f, 0x5d, 0xb9, 0xdf, 0x61, 0x43, 0x1e, 0x32, 0x80, 0xda, 0x10, 0xc4, 0x20, 0xb7, 0x60, 0xba, 19584 0xca, 0x67, 0x42, 0x0e, 0x6f, 0x36, 0xbc, 0x6a, 0x75, 0x85, 0x42, 0x20, 0x61, 0x7c, 0x23, 0x54, 19585 0xc6, 0x6d, 0x38, 0xaf, 0x7d, 0x90, 0x22, 0xb0, 0x03, 0x37, 0xe8, 0xe6, 0x27, 0xe2, 0x74, 0x68, 19586 0xc2, 0x1e, 0xee, 0x1e, 0x66, 0x04, 0x6a, 0xec, 0xc2, 0x0b, 0x03, 0x19, 0xb1, 0x83, 0x08, 0xba, 19587 0xc1, 0xaf, 0x88, 0xd5, 0xd9, 0x40, 0x52, 0x53, 0xa1, 0x33, 0xbe, 0x1f, 0x26, 0xd5, 0x51, 0xc6, 19588 0x3d, 0x95, 0xfd, 0x16, 0x9b, 0x1a, 0xdf, 0x53, 0x19, 0xc0, 0xe4, 0xf0, 0x63, 0x93, 0xc7, 0x87, 19589 0xd3, 0x9f, 0x39, 0x6e, 0xfa, 0x59, 0xe5, 0xf8, 0xc9, 0x2a, 0x95, 0xe3, 0x6f, 0xb5, 0x72, 0x8c, 19590 0xdc, 0x60, 0x72, 0xf8, 0x53, 0xad, 0xfc, 0xb7, 0x65, 0x10, 0x7f, 0xb4, 0x17, 0x97, 0x77, 0xe2, 19591 0x30, 0x45, 0xe7, 0x5c, 0xd2, 0x4d, 0x37, 0xc4, 0x0c, 0x0f, 0xc9, 0xf4, 0x71, 0x87, 0xe4, 0x49, 19592 0x16, 0xe2, 0x35, 0x18, 0x2b, 0x8a, 0x37, 0xd9, 0x6c, 0x28, 0xd8, 0x58, 0xb1, 0x07, 0x58, 0x89, 19593 0x65, 0x7c, 0x3b, 0x05, 0xa7, 0x12, 0x55, 0x65, 0xac, 0x56, 0xae, 0x93, 0x53, 0xbe, 0xc3, 0xa8, 19594 0x42, 0x8e, 0x63, 0x9c, 0xc4, 0x6d, 0x77, 0xf8, 0xbe, 0x18, 0x2f, 0xc2, 0x78, 0xf0, 0x50, 0x43, 19595 0xe6, 0xe5, 0xd4, 0xa1, 0xa1, 0x8e, 0xd4, 0xf7, 0xd7, 0x00, 0x58, 0x0b, 0x9e, 0xaa, 0x59, 0x99, 19596 0xf1, 0xdb, 0x69, 0x9e, 0xe0, 0xe9, 0x99, 0x8d, 0x76, 0x97, 0x6c, 0x0b, 0xc6, 0xba, 0xd4, 0x3f, 19597 0xc6, 0x1d, 0x59, 0x81, 0xd1, 0x9a, 0x6f, 0xf9, 0x3d, 0xe9, 0x6d, 0x3c, 0xa7, 0x92, 0x61, 0xc1, 19598 0xfd, 0xa5, 0xd0, 0xdf, 0xd4, 0x43, 0x88, 0x76, 0x39, 0x40, 0x88, 0x62, 0x52, 0x66, 0xc3, 0xa4, 19599 0x4a, 0x4b, 0x3e, 0x84, 0x69, 0x19, 0xc2, 0x8b, 0xbb, 0x60, 0x8b, 0x47, 0x25, 0x69, 0x9c, 0x20, 19600 0x43, 0x78, 0xa9, 0x2e, 0xdb, 0x1a, 0xbe, 0xba, 0x53, 0x77, 0x55, 0x64, 0xe3, 0x4f, 0x46, 0xf9, 19601 0x3a, 0x10, 0xb1, 0xf8, 0x76, 0x60, 0x7a, 0xa3, 0x52, 0x2e, 0x29, 0x8a, 0x2f, 0x3d, 0xed, 0xc2, 19602 0xca, 0x23, 0x9f, 0xba, 0x1d, 0xab, 0x25, 0x10, 0x0e, 0xc3, 0xb3, 0xc1, 0xb1, 0x9b, 0x8d, 0x64, 19603 0xa5, 0x58, 0x84, 0x23, 0xab, 0x83, 0x5f, 0x6e, 0x82, 0x3a, 0xd2, 0x43, 0xd6, 0xe1, 0x59, 0xed, 19604 0x56, 0x9f, 0x3a, 0x74, 0x8e, 0x64, 0x1f, 0xf2, 0xb7, 0x51, 0x8e, 0x51, 0x6a, 0xc9, 0x0c, 0xae, 19605 0xe5, 0xa2, 0xa8, 0xe5, 0x79, 0x2e, 0x00, 0x25, 0xd7, 0x13, 0xe3, 0x1a, 0x7e, 0xc0, 0xd9, 0x63, 19606 0x3f, 0xe0, 0x1f, 0x4d, 0xc1, 0x28, 0x17, 0x94, 0xc4, 0xfa, 0xea, 0x23, 0x8a, 0x6d, 0x3f, 0x1d, 19607 0x51, 0x2c, 0x8f, 0x1b, 0xb8, 0xb6, 0xd2, 0x78, 0x19, 0x29, 0x47, 0x16, 0xac, 0x34, 0x51, 0x44, 19608 0x15, 0x36, 0x2f, 0x39, 0x7e, 0xbd, 0x92, 0x4a, 0xe8, 0x9a, 0x3b, 0x76, 0xac, 0xf7, 0x97, 0x74, 19609 0x67, 0x1e, 0x13, 0xae, 0xb9, 0xba, 0x43, 0xee, 0x1a, 0x8c, 0x0b, 0x87, 0xdf, 0xe5, 0x43, 0xf1, 19610 0x50, 0x95, 0xd7, 0x9e, 0xc1, 0x9b, 0xcb, 0x87, 0xa1, 0x10, 0x28, 0x5c, 0x86, 0xeb, 0x3b, 0x87, 19611 0x5a, 0x22, 0x2b, 0x89, 0x48, 0x36, 0x78, 0x82, 0x17, 0x1e, 0xad, 0x50, 0x0f, 0x25, 0x1c, 0xc0, 19612 0x45, 0x28, 0x11, 0xe9, 0x35, 0x98, 0x10, 0x9c, 0x30, 0xe4, 0x41, 0xd6, 0x20, 0x2f, 0x12, 0xdf, 19613 0x73, 0x3b, 0x8a, 0x4a, 0x99, 0x3b, 0x95, 0x0a, 0xf3, 0x37, 0x99, 0x36, 0x5f, 0x58, 0x60, 0xe8, 19614 0xfe, 0x1c, 0x31, 0x4a, 0xe3, 0x27, 0x53, 0x90, 0x8f, 0xae, 0x3e, 0xf2, 0x2e, 0x4c, 0x04, 0xd1, 19615 0x22, 0x03, 0x8f, 0x32, 0x54, 0x58, 0x87, 0xe1, 0x25, 0x35, 0xdf, 0x32, 0x15, 0x9d, 0x2c, 0x41, 19616 0x8e, 0x7d, 0xc4, 0xd1, 0x14, 0x5a, 0x3d, 0x01, 0x53, 0xcd, 0xc4, 0x25, 0x9e, 0xb2, 0xdd, 0xfc, 19617 0x61, 0x1a, 0x26, 0x94, 0xa9, 0x27, 0x57, 0x20, 0x57, 0xf1, 0xd6, 0x9c, 0xc6, 0x41, 0x10, 0x16, 19618 0x6a, 0xea, 0xf1, 0x51, 0x61, 0xdc, 0xf6, 0xea, 0x2d, 0x04, 0x9a, 0x41, 0x31, 0x59, 0x86, 0x29, 19619 0xfe, 0x97, 0x0c, 0x8e, 0x9d, 0x0e, 0x0d, 0xd3, 0x38, 0xb2, 0x0c, 0x8b, 0xad, 0x6e, 0x41, 0x1a, 19620 0x09, 0xf9, 0x0a, 0x00, 0x07, 0xa0, 0x23, 0x61, 0x66, 0x78, 0x17, 0x48, 0x51, 0x41, 0x82, 0x0b, 19621 0xa1, 0xc2, 0x90, 0x7c, 0x8d, 0x07, 0x82, 0x94, 0x4b, 0x35, 0x3b, 0xbc, 0x0f, 0x27, 0xe3, 0x5f, 19622 0x4f, 0x76, 0x25, 0x57, 0x59, 0x8a, 0x08, 0x76, 0x8b, 0x26, 0x6d, 0x38, 0x0f, 0xa8, 0x7b, 0x58, 19623 0xf4, 0x11, 0x51, 0xc1, 0x30, 0xfe, 0xeb, 0x94, 0xb2, 0xc0, 0xc9, 0x3a, 0x26, 0x68, 0xe3, 0x93, 19624 0x27, 0xcc, 0x2b, 0x02, 0xb9, 0x5b, 0xc2, 0x4d, 0xba, 0xbb, 0xfc, 0xbc, 0xb0, 0x8b, 0x9c, 0x0b, 19625 0x96, 0x40, 0x24, 0x71, 0x1b, 0x07, 0x92, 0x2f, 0x40, 0x16, 0x87, 0xee, 0xf8, 0x7c, 0xfe, 0xf2, 19626 0xe8, 0xcb, 0xb2, 0x31, 0xc3, 0x8e, 0x20, 0x25, 0xf9, 0x8c, 0x70, 0xc2, 0xe2, 0x83, 0x3f, 0xad, 19627 0x9c, 0x5f, 0xac, 0x1d, 0xc1, 0x99, 0x17, 0x46, 0x13, 0x50, 0x56, 0xcf, 0xdf, 0x48, 0x43, 0x3e, 19628 0xfa, 0x59, 0x91, 0x0f, 0x60, 0x52, 0x1e, 0x4a, 0x98, 0xc1, 0x97, 0xf5, 0x72, 0x52, 0x44, 0x6b, 19629 0x96, 0x27, 0x53, 0x34, 0x81, 0xaf, 0x4a, 0xc0, 0x04, 0x84, 0x4d, 0x11, 0xdd, 0x47, 0x59, 0xd0, 19630 0xbe, 0xe3, 0x77, 0x23, 0xb1, 0x04, 0x25, 0x1a, 0x79, 0x13, 0x32, 0xf7, 0x6e, 0x15, 0x85, 0xc5, 19631 0xbf, 0xdc, 0x3d, 0xee, 0xdd, 0x2a, 0xf2, 0x0f, 0x8f, 0x5b, 0x34, 0xe9, 0xf6, 0x55, 0x0c, 0x9f, 19632 0xac, 0x29, 0xa1, 0x3a, 0x47, 0xb5, 0x74, 0x3a, 0x12, 0x1c, 0x74, 0xee, 0xf8, 0x98, 0x9d, 0x3c, 19633 0x35, 0xb0, 0x08, 0x88, 0xf7, 0x6f, 0x67, 0x60, 0x3c, 0xa8, 0x9f, 0x10, 0x40, 0xf9, 0x47, 0x5c, 19634 0x3a, 0xf0, 0x6f, 0x72, 0x16, 0x72, 0x52, 0xe4, 0x11, 0x86, 0xff, 0x63, 0x9e, 0x10, 0x77, 0x16, 19635 0x40, 0xca, 0x36, 0x5c, 0xdc, 0x31, 0xe5, 0x4f, 0x72, 0x1d, 0x02, 0xc1, 0xa5, 0x9f, 0x84, 0x93, 19636 0x65, 0x13, 0x66, 0x06, 0x68, 0x64, 0x1a, 0xd2, 0x36, 0x0f, 0xb2, 0x32, 0x6e, 0xa6, 0xed, 0x26, 19637 0xf9, 0x00, 0x72, 0x56, 0xb3, 0x49, 0x9b, 0x75, 0x4b, 0xda, 0x29, 0x0c, 0x5a, 0x34, 0x39, 0xc6, 19638 0x8d, 0xef, 0xd7, 0x48, 0x55, 0xf4, 0x49, 0x11, 0xc6, 0x5b, 0x16, 0xb7, 0x79, 0x6a, 0x0e, 0xb1, 19639 0xf9, 0x87, 0x1c, 0x72, 0x8c, 0x6c, 0xcb, 0xa3, 0x4d, 0xf2, 0x0a, 0x64, 0xd9, 0x6c, 0x8a, 0xdd, 19640 0x5e, 0x4a, 0x5a, 0x6c, 0x32, 0xf9, 0x80, 0xad, 0x3e, 0x67, 0x22, 0x02, 0x79, 0x09, 0x32, 0xbd, 19641 0xa5, 0x5d, 0xb1, 0x8f, 0xe7, 0xc3, 0xb0, 0xb9, 0x01, 0x1a, 0x2b, 0x26, 0x37, 0x20, 0xf7, 0x50, 19642 0x8f, 0xb8, 0x7a, 0x2a, 0x32, 0x8d, 0x01, 0x7e, 0x80, 0xb8, 0x9c, 0x83, 0x51, 0xbe, 0x67, 0x1b, 19643 0x2f, 0x00, 0x84, 0x55, 0xc7, 0xfd, 0x33, 0x8c, 0xaf, 0xc0, 0x78, 0x50, 0x25, 0x39, 0x0f, 0x70, 19644 0x40, 0x0f, 0xeb, 0xfb, 0x56, 0xa7, 0xd9, 0xe2, 0xa2, 0xd8, 0xa4, 0x39, 0x7e, 0x40, 0x0f, 0x57, 19645 0x11, 0x40, 0xce, 0xc0, 0x58, 0x97, 0xcd, 0xaa, 0x58, 0xba, 0x93, 0xe6, 0x68, 0xb7, 0xb7, 0xc3, 19646 0x56, 0xe8, 0x02, 0x8c, 0xa1, 0x92, 0x4c, 0x7c, 0x68, 0x53, 0xa6, 0xfc, 0x69, 0xfc, 0xc7, 0x69, 19647 0xcc, 0x0c, 0xa0, 0xb4, 0x93, 0x5c, 0x84, 0xa9, 0x86, 0x4b, 0xf1, 0x78, 0xb0, 0x98, 0xd0, 0x23, 19648 0xea, 0x99, 0x0c, 0x81, 0x95, 0x26, 0xb9, 0x04, 0x33, 0x22, 0x1b, 0x36, 0x6b, 0x50, 0x63, 0x47, 19649 0x84, 0x47, 0x9e, 0x34, 0xa7, 0x38, 0xf8, 0x2e, 0x3d, 0x2c, 0xed, 0x60, 0x70, 0xa0, 0xbc, 0x1a, 19650 0xdb, 0xd1, 0x0f, 0x92, 0x18, 0x9a, 0x33, 0x0a, 0x1c, 0xcd, 0x8f, 0x4e, 0xc3, 0xa8, 0x65, 0xed, 19651 0xf5, 0x6c, 0x1e, 0xc4, 0x63, 0xd2, 0x14, 0xbf, 0xc8, 0x6b, 0x30, 0xeb, 0xd9, 0x7b, 0x1d, 0xcb, 19652 0xef, 0xb9, 0x22, 0x35, 0x03, 0x75, 0x71, 0x49, 0x4d, 0x99, 0xf9, 0xa0, 0xa0, 0xc4, 0xe1, 0xe4, 19653 0x0d, 0x20, 0x6a, 0x7d, 0xce, 0xce, 0xc7, 0xb4, 0xc1, 0x97, 0xda, 0xa4, 0x39, 0xab, 0x94, 0x6c, 19654 0x60, 0x01, 0x79, 0x11, 0x26, 0x5d, 0xea, 0xa1, 0xc0, 0x85, 0xc3, 0x86, 0x89, 0x73, 0xcc, 0x09, 19655 0x09, 0x63, 0x63, 0x77, 0x19, 0xf2, 0xca, 0x70, 0x60, 0xf8, 0x4c, 0x1e, 0x1b, 0xd8, 0x9c, 0x0e, 19656 0xe1, 0x66, 0xb7, 0xd2, 0x34, 0x96, 0x61, 0x36, 0xf6, 0xe5, 0x2a, 0x89, 0x67, 0xf9, 0x4e, 0x34, 19657 0x38, 0xf1, 0xac, 0xd1, 0x81, 0x49, 0x75, 0x27, 0x3e, 0x26, 0x44, 0xf5, 0x69, 0x74, 0x02, 0xe7, 19658 0xdb, 0xd4, 0xe8, 0xe3, 0xa3, 0x42, 0xda, 0x6e, 0xa2, 0xeb, 0xf7, 0x65, 0xc8, 0xc9, 0xf3, 0x5d, 19659 0xdc, 0x59, 0x50, 0xc9, 0x29, 0x04, 0xcb, 0x43, 0x33, 0x28, 0x35, 0x5e, 0x81, 0x31, 0xb1, 0xd9, 19660 0x0e, 0x56, 0x6d, 0x1a, 0x3f, 0x92, 0x86, 0x19, 0x93, 0xb2, 0xad, 0x80, 0xf2, 0xb8, 0xf4, 0xcf, 19661 0xec, 0x4d, 0x2b, 0x39, 0x94, 0x98, 0xd6, 0xb7, 0x01, 0x11, 0xe1, 0x7f, 0x39, 0x05, 0x73, 0x09, 19662 0xb8, 0x9f, 0x28, 0x7b, 0xd9, 0x4d, 0x18, 0x2f, 0xdb, 0x56, 0xab, 0xd8, 0x6c, 0x06, 0x1e, 0xe1, 19663 0x28, 0x15, 0x36, 0xd9, 0x4a, 0xb3, 0x18, 0x54, 0x3d, 0x76, 0x03, 0x54, 0xf2, 0xaa, 0x58, 0x14, 19664 0x61, 0xe6, 0x68, 0x5c, 0x14, 0xdf, 0x3d, 0x2a, 0x00, 0x6f, 0x53, 0x98, 0x21, 0x13, 0xc3, 0xfb, 19665 0x71, 0x60, 0x68, 0xb1, 0xfd, 0xcc, 0x4e, 0x5d, 0x72, 0x78, 0xbf, 0x68, 0xf7, 0x86, 0x0a, 0x0a, 19666 0xff, 0x93, 0x69, 0x38, 0x9d, 0x4c, 0xf8, 0x49, 0x13, 0xd1, 0x61, 0x38, 0x7e, 0x25, 0x24, 0x29, 19667 0x26, 0xa2, 0xe3, 0xb1, 0xfb, 0x11, 0x3f, 0x44, 0x20, 0xbb, 0x30, 0xb5, 0x66, 0x79, 0xfe, 0x2a, 19668 0xb5, 0x5c, 0x7f, 0x87, 0x5a, 0xfe, 0x10, 0xb2, 0xe7, 0x4b, 0xf2, 0x05, 0x11, 0x8f, 0xbf, 0x7d, 19669 0x49, 0x19, 0x91, 0x0e, 0x75, 0xb6, 0xc1, 0x42, 0xc9, 0x0e, 0xb1, 0x50, 0xbe, 0x0e, 0x33, 0x35, 19670 0xda, 0xb6, 0xba, 0xfb, 0x8e, 0x2b, 0x5d, 0xfe, 0xae, 0xc2, 0x54, 0x00, 0x4a, 0x5c, 0x2d, 0x7a, 19671 0xb1, 0x86, 0xaf, 0x0c, 0x44, 0xb8, 0x95, 0xe8, 0xc5, 0xc6, 0xdf, 0x4c, 0xc3, 0x99, 0x62, 0x43, 19672 0x18, 0xf6, 0x88, 0x02, 0x69, 0x7f, 0xf8, 0x29, 0xd7, 0x4d, 0xae, 0xc1, 0xf8, 0x3d, 0xeb, 0xd1, 19673 0x1a, 0xb5, 0x3c, 0xea, 0x89, 0x34, 0x40, 0x5c, 0x50, 0xb3, 0x1e, 0x85, 0xf6, 0x2e, 0x66, 0x88, 19674 0xa3, 0x5e, 0x3a, 0xb3, 0x4f, 0x78, 0xe9, 0x34, 0x60, 0x74, 0xd5, 0x69, 0x35, 0xc5, 0x31, 0x26, 19675 0x5e, 0xc2, 0xf6, 0x11, 0x62, 0x8a, 0x12, 0xe3, 0x8f, 0x53, 0x30, 0x1d, 0xb4, 0x18, 0x9b, 0xf0, 19676 0xa9, 0x0f, 0xc9, 0x25, 0x18, 0xc3, 0x8a, 0x2a, 0x65, 0xf5, 0xd0, 0x68, 0x51, 0x4c, 0xe6, 0xd2, 19677 0x34, 0x65, 0xa1, 0x3a, 0x12, 0x23, 0x4f, 0x36, 0x12, 0xc6, 0xbf, 0x83, 0x8f, 0x6c, 0x6a, 0x2f, 19678 0xd9, 0x49, 0xa4, 0x34, 0x24, 0x35, 0x64, 0x43, 0xd2, 0x4f, 0x6d, 0x4a, 0x32, 0x7d, 0xa7, 0xe4, 19679 0x9b, 0x69, 0x98, 0x08, 0x1a, 0xfb, 0x3d, 0x16, 0x17, 0x37, 0xe8, 0xd7, 0x50, 0x6e, 0xfa, 0x35, 19680 0x65, 0xaf, 0x10, 0xde, 0xf0, 0x5f, 0x80, 0x51, 0xf1, 0x31, 0xa5, 0x22, 0x76, 0x78, 0x91, 0xd9, 19681 0x5d, 0x9e, 0x16, 0xac, 0x47, 0x71, 0x42, 0x3d, 0x53, 0xd0, 0x61, 0x1c, 0x84, 0x6d, 0xba, 0x23, 19682 0xde, 0x5c, 0x9f, 0xd9, 0x33, 0x2a, 0x39, 0x0e, 0x42, 0xd8, 0xb1, 0xa1, 0x4e, 0xa7, 0x6f, 0x8d, 19683 0x41, 0x3e, 0x4a, 0x72, 0x7c, 0xe4, 0xe1, 0x6a, 0x6f, 0x87, 0x4b, 0xe1, 0x3c, 0xf2, 0x70, 0xb7, 19684 0xb7, 0x63, 0x32, 0x18, 0x9a, 0x64, 0xb8, 0xf6, 0x03, 0xec, 0xf5, 0xa4, 0x30, 0xc9, 0x70, 0xed, 19685 0x07, 0x9a, 0x49, 0x86, 0x6b, 0x3f, 0xc0, 0xab, 0xef, 0x5a, 0x0d, 0x5d, 0x37, 0x51, 0x04, 0x17, 19686 0x57, 0xdf, 0x96, 0x17, 0xcd, 0xd8, 0x21, 0xd1, 0xd8, 0x51, 0xb9, 0x4c, 0x2d, 0x57, 0x44, 0xc9, 19687 0x15, 0xdb, 0x19, 0x1e, 0x95, 0x3b, 0x08, 0xe6, 0xc9, 0x70, 0x4d, 0x15, 0x89, 0xb4, 0x80, 0x28, 19688 0x3f, 0xe5, 0x07, 0x7c, 0xfc, 0x6d, 0x50, 0xda, 0xd0, 0xcc, 0xab, 0xac, 0xeb, 0xea, 0xd7, 0x9c, 19689 0xc0, 0xf7, 0x69, 0xea, 0x0a, 0xab, 0x22, 0xf4, 0x17, 0xaa, 0x3c, 0x72, 0xc7, 0x32, 0x93, 0xbe, 19690 0xcd, 0xc0, 0x43, 0x83, 0x05, 0x8a, 0x8f, 0x90, 0x09, 0x79, 0x1f, 0x26, 0x54, 0x87, 0x5c, 0xee, 19691 0x36, 0x7a, 0x8e, 0x47, 0x73, 0xea, 0x93, 0x8f, 0x4d, 0x25, 0x20, 0x3b, 0x70, 0xa6, 0xe4, 0x74, 19692 0xbc, 0x5e, 0x5b, 0xc6, 0x8d, 0x0a, 0xa3, 0x55, 0x42, 0x90, 0x4f, 0xfd, 0xa5, 0x86, 0x40, 0x11, 19693 0xfe, 0x9f, 0xd2, 0xc8, 0x59, 0xbf, 0x80, 0xf4, 0x63, 0x44, 0x36, 0x61, 0xa2, 0x56, 0xbc, 0xb7, 19694 0x26, 0x9d, 0x2a, 0x27, 0xf4, 0x6d, 0x23, 0x2c, 0x29, 0xb3, 0x0f, 0x83, 0x07, 0x3e, 0xb1, 0xda, 19695 0x2d, 0x69, 0x63, 0xab, 0xea, 0x0d, 0x15, 0x64, 0xf2, 0x15, 0x98, 0xe6, 0xd7, 0xcd, 0x6d, 0xba, 19696 0xc3, 0xd7, 0xce, 0xa4, 0x76, 0x77, 0xd6, 0x0b, 0xf9, 0x9b, 0xac, 0xd0, 0x72, 0x3e, 0xa4, 0x3b, 19697 0x7c, 0xee, 0x35, 0x0b, 0x77, 0x0d, 0x9f, 0x6c, 0xc1, 0xdc, 0xaa, 0xe5, 0x71, 0xa0, 0xe2, 0x59, 19698 0x39, 0x85, 0x3a, 0x45, 0xb4, 0x3c, 0xdc, 0xb7, 0x3c, 0xa9, 0x36, 0x4d, 0xf4, 0xa4, 0x4c, 0xa2, 19699 0x37, 0x6e, 0x46, 0x5b, 0x2d, 0x14, 0x1c, 0xa9, 0x40, 0xc1, 0x31, 0x0f, 0x23, 0xd8, 0x36, 0x19, 19700 0x4e, 0x01, 0x7f, 0x18, 0x9f, 0x51, 0xbf, 0x66, 0x21, 0x5c, 0x0d, 0xfc, 0x9a, 0x8d, 0xff, 0x7c, 19701 0x14, 0x66, 0x22, 0x83, 0x2b, 0x6e, 0x7b, 0xa9, 0xd8, 0x6d, 0xaf, 0x06, 0xc0, 0x55, 0x7c, 0x43, 19702 0xea, 0xe2, 0xa4, 0x33, 0xca, 0x84, 0x70, 0xe6, 0x0a, 0x56, 0xa6, 0xc2, 0x86, 0x31, 0xe5, 0xeb, 19703 0x7e, 0x48, 0xdd, 0x68, 0xc0, 0x94, 0x7f, 0x3a, 0x0a, 0xd3, 0x90, 0x0d, 0x29, 0xc0, 0x08, 0xc6, 19704 0x40, 0x53, 0x7d, 0x81, 0x6c, 0x06, 0x30, 0x39, 0x9c, 0x5c, 0x84, 0x51, 0x26, 0x8a, 0x54, 0xca, 19705 0x62, 0x2b, 0xc1, 0x1d, 0x9a, 0xc9, 0x2a, 0xec, 0xdc, 0x17, 0x45, 0xe4, 0x26, 0x4c, 0xf2, 0xbf, 19706 0x84, 0x1b, 0xfc, 0xa8, 0x6e, 0xda, 0x54, 0xb7, 0x9b, 0xd2, 0x13, 0x5e, 0xc3, 0x63, 0x32, 0x7a, 19707 0xad, 0xb7, 0xc3, 0x93, 0xb1, 0x8b, 0xa0, 0x99, 0x28, 0xa3, 0x7b, 0x1c, 0x88, 0xc9, 0xa2, 0x03, 19708 0x04, 0x26, 0x11, 0x08, 0x8b, 0xdc, 0x1c, 0xde, 0xcc, 0x50, 0x22, 0xe0, 0x96, 0xb8, 0xa6, 0x28, 19709 0x21, 0x57, 0xb8, 0xf6, 0x1b, 0x85, 0x2b, 0x9e, 0xe7, 0x07, 0xf5, 0xd5, 0x78, 0xbd, 0x47, 0x09, 19710 0x2b, 0x28, 0x66, 0x95, 0xb3, 0xbf, 0x57, 0xda, 0x96, 0xdd, 0x12, 0x1f, 0x27, 0x56, 0x8e, 0xb8, 19711 0x94, 0x41, 0xcd, 0x10, 0x81, 0xbc, 0x0b, 0xd3, 0xec, 0x47, 0xc9, 0x69, 0xb7, 0x9d, 0x0e, 0xb2, 19712 0x9f, 0x08, 0x23, 0xaa, 0x20, 0x49, 0x03, 0x8b, 0x78, 0x2d, 0x11, 0x5c, 0xb6, 0x2b, 0xe3, 0xcb, 19713 0x5a, 0x8f, 0xeb, 0xe5, 0x27, 0xc3, 0x5d, 0x19, 0x49, 0x3d, 0x0e, 0x37, 0x55, 0x24, 0xf2, 0x16, 19714 0x4c, 0xb1, 0x9f, 0xb7, 0xed, 0x07, 0x94, 0x57, 0x38, 0x15, 0xbe, 0xf5, 0x22, 0xd5, 0x1e, 0x2b, 19715 0xe1, 0xf5, 0xe9, 0x98, 0xe4, 0x8b, 0x70, 0x0a, 0x39, 0x35, 0x9c, 0x2e, 0x6d, 0x16, 0x77, 0x77, 19716 0xed, 0x96, 0xcd, 0x6d, 0x4d, 0xb8, 0xc3, 0x37, 0xea, 0x5e, 0x79, 0xc5, 0x88, 0x51, 0xb7, 0x42, 19717 0x14, 0x33, 0x99, 0x92, 0x6c, 0x43, 0xbe, 0xd4, 0xf3, 0x7c, 0xa7, 0x5d, 0xf4, 0x7d, 0xd7, 0xde, 19718 0xe9, 0xf9, 0xd4, 0x5b, 0x98, 0xd1, 0xdc, 0xa2, 0xd9, 0xc7, 0x11, 0x14, 0x72, 0xad, 0x4a, 0x03, 19719 0x29, 0xea, 0x56, 0x40, 0x62, 0xc6, 0x98, 0x18, 0xff, 0x3c, 0x05, 0x53, 0x1a, 0x29, 0x79, 0x13, 19720 0x26, 0x6f, 0xb9, 0x36, 0xed, 0x34, 0x5b, 0x87, 0xca, 0x75, 0x0f, 0xef, 0x02, 0xbb, 0x02, 0xce, 19721 0x7b, 0xad, 0xa1, 0x05, 0xda, 0x92, 0x74, 0xa2, 0x21, 0xd8, 0x35, 0xee, 0x92, 0x26, 0x16, 0x68, 19722 0x26, 0x8c, 0xd3, 0x80, 0x0b, 0x54, 0xac, 0x4e, 0x05, 0x85, 0xbc, 0x07, 0xa3, 0xfc, 0x0d, 0x4e, 19723 0x58, 0x25, 0x9d, 0x4d, 0xea, 0x26, 0x77, 0x7f, 0xc4, 0x85, 0x88, 0x16, 0x10, 0x9e, 0x29, 0x88, 19724 0x8c, 0x9f, 0x4d, 0x01, 0x89, 0xa3, 0x1e, 0xa3, 0x3d, 0x3a, 0xd6, 0xb2, 0xe2, 0x0b, 0xc1, 0xd7, 19725 0x98, 0xd1, 0x74, 0xa5, 0xac, 0x26, 0x5e, 0xc0, 0x07, 0x5e, 0x7c, 0x75, 0xaa, 0x3a, 0x8b, 0x17, 19726 0x1b, 0x7f, 0x35, 0x0d, 0x10, 0x62, 0x93, 0xcf, 0xf3, 0x54, 0x13, 0x5f, 0xec, 0x59, 0x2d, 0x7b, 19727 0xd7, 0xd6, 0x63, 0xaf, 0x21, 0x93, 0xaf, 0xcb, 0x12, 0x53, 0x47, 0x24, 0x1f, 0xc0, 0x4c, 0xad, 19728 0xaa, 0xd3, 0x2a, 0x61, 0xf5, 0xbd, 0x6e, 0x3d, 0x42, 0x1e, 0xc5, 0x46, 0xeb, 0x43, 0x75, 0x36, 19729 0xb8, 0xf5, 0x21, 0x9f, 0x08, 0x51, 0xc2, 0x36, 0x96, 0x5a, 0x55, 0x18, 0xbc, 0x36, 0x2b, 0x65, 19730 0xb1, 0x4b, 0x61, 0xeb, 0xbc, 0x6e, 0xbd, 0x2b, 0x2c, 0x61, 0xd9, 0x3e, 0xa1, 0xe1, 0x85, 0x03, 19731 0x39, 0xd2, 0xc7, 0xc5, 0xf1, 0xe7, 0x50, 0x79, 0xd6, 0x76, 0x7c, 0x2a, 0x74, 0x06, 0xcf, 0xec, 19732 0xed, 0x21, 0x7c, 0xc0, 0x1d, 0xd1, 0x3c, 0xb7, 0xb4, 0xde, 0x09, 0xf3, 0x81, 0x1b, 0xa1, 0xa8, 19733 0xcf, 0x9f, 0x72, 0x13, 0x0c, 0x0e, 0xfe, 0x6e, 0x0a, 0x4e, 0x25, 0xd2, 0x92, 0xab, 0x00, 0xa1, 19734 0x66, 0x46, 0x8c, 0x12, 0xcf, 0xed, 0x1f, 0x40, 0x4d, 0x05, 0x83, 0x7c, 0x39, 0xaa, 0x53, 0x39, 19735 0xfe, 0x20, 0x5c, 0x94, 0xd1, 0x67, 0x74, 0x9d, 0x4a, 0x82, 0x26, 0xc5, 0xf8, 0xe5, 0x0c, 0xcc, 19736 0x2a, 0xc1, 0x0f, 0x78, 0x5b, 0x8f, 0xb1, 0x06, 0x3d, 0x80, 0x49, 0xd6, 0x1b, 0xbb, 0x21, 0xdc, 19737 0x47, 0xb8, 0xb1, 0xc1, 0xab, 0x31, 0xdf, 0x1b, 0xc1, 0xed, 0xaa, 0x8a, 0xcc, 0x63, 0x42, 0xe1, 19738 0xd6, 0x89, 0x1a, 0xeb, 0x46, 0xdc, 0x8d, 0x44, 0x63, 0x4e, 0x3c, 0x98, 0x2a, 0x1f, 0x76, 0xac, 19739 0x76, 0x50, 0x1b, 0x37, 0x3a, 0x78, 0xad, 0x6f, 0x6d, 0x1a, 0x36, 0xaf, 0x2e, 0xb4, 0x52, 0xe7, 19740 0x65, 0x09, 0x0e, 0x92, 0x1a, 0xd5, 0xe2, 0x07, 0x30, 0x1b, 0x6b, 0xf4, 0x89, 0xc2, 0x53, 0x6d, 19741 0x03, 0x89, 0xb7, 0x23, 0x81, 0xc3, 0x6b, 0x7a, 0xf0, 0xb3, 0x53, 0xc1, 0xa3, 0x25, 0x26, 0xa9, 19742 0xe5, 0x26, 0x0c, 0x4b, 0x6a, 0xf0, 0xaa, 0x9f, 0x4b, 0xab, 0xfe, 0x4f, 0xcf, 0xfa, 0x57, 0xf7, 19743 0x05, 0xed, 0x4e, 0xf9, 0x42, 0xbf, 0x39, 0x1d, 0xea, 0xee, 0xfe, 0x9d, 0x0c, 0x9c, 0xe9, 0x43, 19744 0x49, 0x0e, 0xa3, 0x8b, 0x88, 0xdf, 0xe5, 0xaf, 0x0f, 0xae, 0xf0, 0x69, 0x2c, 0x25, 0xf2, 0x79, 19745 0xee, 0x01, 0xdd, 0xc0, 0xe4, 0xaa, 0xe2, 0x16, 0xcb, 0xf3, 0x72, 0x07, 0xd0, 0xa8, 0xeb, 0x33, 19746 0x87, 0x92, 0x0f, 0x60, 0x04, 0x9d, 0xdf, 0x22, 0xc1, 0x97, 0x18, 0x06, 0xc2, 0x95, 0x48, 0x55, 19747 0xec, 0xa7, 0x16, 0xa9, 0x8a, 0x01, 0xc8, 0xe7, 0x20, 0x53, 0xdc, 0xae, 0x89, 0x79, 0x99, 0x56, 19748 0xc9, 0xb7, 0x6b, 0x61, 0x80, 0x6c, 0x4b, 0x8b, 0x64, 0xcd, 0x28, 0x18, 0xe1, 0xed, 0x52, 0x55, 19749 0xcc, 0x8a, 0x4a, 0x78, 0xbb, 0x54, 0x0d, 0x09, 0xf7, 0x1a, 0x5a, 0x30, 0x8b, 0xdb, 0xa5, 0xea, 19750 0xa7, 0xb7, 0xec, 0xff, 0x5a, 0x9a, 0xbb, 0x6d, 0xf3, 0x8e, 0x7d, 0x00, 0x93, 0x5a, 0x70, 0xca, 19751 0x54, 0x28, 0x8f, 0x05, 0x31, 0x40, 0x23, 0x56, 0x1a, 0x1a, 0x81, 0x0c, 0x35, 0xcf, 0x7e, 0xa3, 19752 0xc4, 0xab, 0x1a, 0x59, 0x04, 0x1c, 0x50, 0x26, 0x8e, 0x86, 0x9a, 0x0f, 0x48, 0xc8, 0x0d, 0xc8, 19753 0x6d, 0xd2, 0x8e, 0xd5, 0xf1, 0x03, 0xb5, 0x22, 0x5a, 0x5a, 0xfa, 0x08, 0xd3, 0xa5, 0x86, 0x00, 19754 0x11, 0xad, 0x02, 0x7b, 0x3b, 0x5e, 0xc3, 0xb5, 0x31, 0xbc, 0x43, 0x70, 0x16, 0x73, 0xab, 0x40, 19755 0xa5, 0x44, 0x67, 0x10, 0x21, 0x32, 0x7e, 0x2e, 0x05, 0x63, 0x62, 0x22, 0x79, 0x8a, 0x90, 0xbd, 19756 0xf0, 0x2c, 0x11, 0x29, 0x42, 0xf6, 0xec, 0x68, 0x8a, 0x90, 0x3d, 0x1e, 0x43, 0x61, 0x5c, 0x78, 19757 0x20, 0x06, 0x0f, 0x6c, 0x3c, 0xa3, 0x34, 0x07, 0xea, 0xd5, 0x86, 0xa8, 0xc3, 0xba, 0x5b, 0x18, 19758 0x7f, 0x5b, 0xb4, 0xec, 0x76, 0xa9, 0x4a, 0x96, 0x20, 0xb7, 0xe6, 0x34, 0x2c, 0xe5, 0x9c, 0xc3, 19759 0x6d, 0xa7, 0x25, 0x60, 0xea, 0x00, 0x49, 0x3c, 0xd6, 0xbe, 0xaa, 0xeb, 0x88, 0xbb, 0x8c, 0xd2, 19760 0xbe, 0x2e, 0x07, 0x46, 0xda, 0x17, 0xa0, 0x0e, 0xdd, 0x3e, 0x9a, 0xb0, 0x49, 0xdc, 0xbf, 0x81, 19761 0x31, 0xb8, 0xef, 0xa8, 0x6e, 0x2c, 0xa2, 0x48, 0xee, 0x14, 0x8b, 0xfd, 0x76, 0x8a, 0xfb, 0x37, 19762 0xcc, 0x04, 0x2a, 0x7c, 0x9d, 0x0a, 0xc1, 0x35, 0xea, 0x3e, 0x78, 0x86, 0x77, 0xe9, 0xe4, 0xd7, 19763 0xa9, 0x68, 0xf7, 0x86, 0xda, 0xa4, 0xff, 0xd3, 0x34, 0x9c, 0x4e, 0x26, 0x54, 0xfb, 0x92, 0x1a, 19764 0xd0, 0x97, 0xcb, 0x90, 0x5b, 0x75, 0x3c, 0x5f, 0x31, 0xcc, 0x42, 0x25, 0xfa, 0xbe, 0x80, 0x99, 19765 0x41, 0x29, 0xbb, 0x73, 0xb3, 0xbf, 0x83, 0xcf, 0x13, 0xf9, 0xa1, 0xb3, 0x32, 0xbb, 0x73, 0xf3, 19766 0x22, 0x72, 0x1b, 0x72, 0xa6, 0x70, 0xa3, 0x88, 0x0c, 0x8d, 0x04, 0x07, 0xd2, 0x14, 0x71, 0x05, 19767 0x44, 0x8b, 0x11, 0x2a, 0x60, 0xa4, 0x08, 0x63, 0x62, 0xf6, 0x23, 0x0f, 0xb0, 0x09, 0x4b, 0x46, 19768 0x0f, 0xdb, 0x2b, 0xe9, 0xd8, 0x8e, 0x82, 0x4f, 0x69, 0x95, 0xb2, 0xf4, 0x88, 0xc0, 0x1d, 0x85, 19769 0x3f, 0xb5, 0xe9, 0x36, 0x70, 0x01, 0xa2, 0xf1, 0x23, 0x69, 0x00, 0xa9, 0xb5, 0x79, 0x66, 0x57, 19770 0xd8, 0xe7, 0xb4, 0x15, 0xa6, 0xd8, 0x99, 0x0c, 0x9f, 0xd2, 0x6e, 0x03, 0xed, 0x3d, 0x86, 0x4f, 19771 0x68, 0x57, 0x80, 0x91, 0xcd, 0x50, 0xa1, 0x25, 0xec, 0xf3, 0x51, 0xa9, 0xcb, 0xe1, 0xc6, 0x0e, 19772 0xcc, 0xdf, 0xa6, 0x7e, 0xa8, 0xde, 0x92, 0x0f, 0x78, 0x83, 0xd9, 0xbe, 0x0e, 0xe3, 0x02, 0x3f, 19773 0xd8, 0xbf, 0xb8, 0x2e, 0x46, 0xf8, 0xff, 0xa3, 0x2e, 0x46, 0x22, 0xb0, 0xdd, 0xa8, 0x4c, 0x5b, 19774 0xd4, 0xa7, 0x9f, 0x6e, 0x35, 0x35, 0x20, 0xbc, 0x2b, 0xd8, 0xb3, 0xe1, 0x6a, 0x38, 0x76, 0x7c, 19775 0xee, 0xc3, 0xa9, 0xa0, 0xed, 0x4f, 0x93, 0xef, 0x35, 0x76, 0xa5, 0x14, 0x11, 0x6f, 0x43, 0x8e, 19776 0x03, 0x2c, 0x38, 0x1e, 0xc1, 0xa2, 0x24, 0xd8, 0xb6, 0x03, 0x83, 0xb9, 0xa1, 0x68, 0xc9, 0xbb, 19777 0x30, 0xa1, 0xd0, 0x88, 0x88, 0xad, 0xa8, 0xec, 0x7d, 0x68, 0xfb, 0xfb, 0x75, 0x8f, 0xc3, 0x55, 19778 0x65, 0xaf, 0x82, 0x6e, 0x7c, 0x04, 0xcf, 0x07, 0x3e, 0x14, 0x09, 0x55, 0x47, 0x98, 0xa7, 0x4e, 19779 0xc6, 0x7c, 0x3d, 0xec, 0x56, 0xa5, 0x13, 0xf8, 0x3d, 0x4a, 0xde, 0x44, 0xed, 0x96, 0xe8, 0xcc, 19780 0xb9, 0x98, 0x27, 0xa5, 0xe2, 0x30, 0x69, 0xbc, 0xa3, 0x34, 0x36, 0x81, 0xa1, 0x46, 0x9c, 0x8a, 19781 0x12, 0xff, 0x48, 0x1a, 0x66, 0x36, 0x2a, 0xe5, 0x52, 0x60, 0xc3, 0xf3, 0x3d, 0x96, 0x70, 0x4f, 19782 0xeb, 0x5b, 0xff, 0xfd, 0xc6, 0xd8, 0x82, 0xb9, 0xc8, 0x30, 0xa0, 0xe8, 0xf0, 0x3e, 0x37, 0xf2, 19783 0x0f, 0xc0, 0x52, 0x6c, 0x38, 0x9d, 0xc4, 0xfe, 0xfe, 0x0d, 0x33, 0x82, 0x6d, 0xfc, 0x51, 0x2e, 19784 0xc2, 0x57, 0x6c, 0x61, 0xaf, 0xc3, 0x78, 0xc5, 0xf3, 0x7a, 0xd4, 0xdd, 0x32, 0xd7, 0x54, 0x55, 19785 0x81, 0x8d, 0xc0, 0x7a, 0xcf, 0x6d, 0x99, 0x21, 0x02, 0xb9, 0x02, 0x39, 0x11, 0xc4, 0x54, 0xee, 19786 0x09, 0xa8, 0xb5, 0x0d, 0x62, 0xa0, 0x9a, 0x41, 0x31, 0x79, 0x13, 0x26, 0xf9, 0xdf, 0x7c, 0xb5, 19787 0x89, 0x01, 0x47, 0xe5, 0xa0, 0x40, 0xe7, 0xab, 0xd3, 0xd4, 0xd0, 0xc8, 0xab, 0x90, 0x29, 0x96, 19788 0x4c, 0xa1, 0x0e, 0x12, 0x72, 0x23, 0xa6, 0xd1, 0xed, 0x51, 0xfd, 0x12, 0x51, 0x32, 0x99, 0xf4, 19789 0x27, 0x7d, 0xac, 0x85, 0x26, 0x9b, 0x67, 0xfb, 0x15, 0xb0, 0xc8, 0x61, 0x86, 0x30, 0x72, 0x0d, 19790 0xc6, 0xca, 0xb6, 0xd7, 0x6d, 0x59, 0x87, 0x42, 0x8f, 0xcd, 0xb3, 0xc9, 0x70, 0x90, 0xe6, 0x3a, 19791 0xcd, 0x41, 0xe4, 0x8a, 0xcc, 0xb2, 0x91, 0x0b, 0x7d, 0x05, 0xfa, 0xa4, 0xd2, 0x78, 0x1d, 0x46, 19792 0x45, 0xa8, 0xcf, 0x71, 0x25, 0x88, 0x77, 0x34, 0xc4, 0xa7, 0xc0, 0x89, 0x7b, 0xf3, 0xc1, 0xd3, 19793 0xf4, 0xe6, 0xdb, 0x81, 0x33, 0xb7, 0x51, 0x7b, 0xa3, 0x07, 0x05, 0xd9, 0x32, 0x2b, 0x42, 0x1f, 19794 0x8e, 0xef, 0x5b, 0x5c, 0xc1, 0x13, 0x8d, 0x2b, 0x52, 0xef, 0xb9, 0x6a, 0x72, 0xb4, 0x7e, 0x8c, 19795 0xc8, 0x97, 0x60, 0x3e, 0xa9, 0x48, 0x68, 0xcd, 0x31, 0xfc, 0x45, 0x72, 0x05, 0x6a, 0xf8, 0x8b, 19796 0x24, 0x0e, 0x64, 0x0d, 0xf2, 0x1c, 0x5e, 0x6c, 0xb6, 0xed, 0x0e, 0xd7, 0xfc, 0x73, 0xad, 0x3a, 19797 0x1a, 0xef, 0x0b, 0xae, 0x16, 0x2b, 0xe4, 0x2f, 0x00, 0x9a, 0xbb, 0x47, 0x84, 0x92, 0xfc, 0x74, 19798 0x8a, 0xdd, 0xe6, 0x78, 0x60, 0xcc, 0x2d, 0x73, 0xcd, 0x13, 0xa1, 0x93, 0x4e, 0x87, 0x9e, 0x1c, 19799 0x35, 0xdf, 0xb5, 0x3b, 0x7b, 0xc2, 0x95, 0x63, 0x53, 0xb8, 0x72, 0xbc, 0xfb, 0x89, 0x5c, 0x39, 19800 0x38, 0x2b, 0xef, 0xf1, 0x51, 0x61, 0xd2, 0x15, 0x75, 0xe2, 0x57, 0xa4, 0xb5, 0x00, 0x13, 0x7b, 19801 0xb7, 0x5a, 0xce, 0xc3, 0xad, 0xce, 0x03, 0xea, 0xda, 0xbb, 0x36, 0x6d, 0xf2, 0x4e, 0xce, 0xe0, 19802 0x0e, 0xce, 0x13, 0x7b, 0x63, 0xaa, 0xfa, 0x5e, 0x80, 0x10, 0xeb, 0x68, 0x22, 0x07, 0x76, 0xf1, 19803 0x94, 0xee, 0x02, 0xdc, 0x35, 0x31, 0x1f, 0x5e, 0x3c, 0xa5, 0x6f, 0x41, 0x1d, 0x97, 0x91, 0xba, 19804 0x78, 0x34, 0x12, 0x72, 0x0d, 0x46, 0xef, 0x59, 0x8f, 0x8a, 0x7b, 0x54, 0x64, 0x4f, 0x9a, 0x92, 19805 0xdb, 0x1f, 0x02, 0x97, 0x73, 0xbf, 0xcf, 0x6d, 0xdc, 0x9f, 0x33, 0x05, 0x9a, 0x30, 0x9e, 0xfe, 19806 0x9c, 0x24, 0x23, 0x6f, 0xa8, 0xee, 0x6b, 0x19, 0x14, 0x32, 0xc7, 0xda, 0xd6, 0xa3, 0xba, 0xb5, 19807 0x47, 0xb5, 0x27, 0x59, 0xa1, 0xe4, 0xfd, 0x1b, 0xe3, 0x7c, 0xef, 0x2f, 0xf6, 0xfc, 0x7d, 0x79, 19808 0x5a, 0x2c, 0x25, 0x39, 0x57, 0x70, 0x53, 0x32, 0xc5, 0xb9, 0x42, 0x77, 0xa9, 0x90, 0x4a, 0xfb, 19809 0x74, 0xa2, 0xd2, 0xfe, 0x75, 0x18, 0x2f, 0xed, 0xd3, 0xc6, 0x41, 0x60, 0x35, 0x9f, 0x13, 0x5a, 19810 0x51, 0x06, 0xe4, 0xb1, 0x26, 0x43, 0x04, 0x72, 0x0d, 0x00, 0xbd, 0xad, 0xb8, 0x28, 0xa1, 0xc4, 19811 0x8b, 0x46, 0xe7, 0x2c, 0xf1, 0x3a, 0xaf, 0xa0, 0x20, 0xfb, 0x9a, 0x79, 0x4b, 0x7d, 0xce, 0xe7, 19812 0xec, 0x3d, 0x77, 0x57, 0xa0, 0x87, 0x08, 0xac, 0x7b, 0xca, 0x82, 0x10, 0xdb, 0x57, 0x3e, 0xb6, 19813 0x6a, 0x54, 0x24, 0xb4, 0x94, 0x93, 0x26, 0xc2, 0xb8, 0x7b, 0x4d, 0x0a, 0x4b, 0xb9, 0xc0, 0x9c, 19814 0xd8, 0x0c, 0x11, 0xc8, 0xe7, 0x60, 0xac, 0x44, 0x5d, 0x7f, 0x73, 0x73, 0x0d, 0x5f, 0xdc, 0x79, 19815 0x50, 0xe5, 0x1c, 0x06, 0xc0, 0xf5, 0xfd, 0xd6, 0x77, 0x8f, 0x0a, 0x53, 0xbe, 0xdd, 0xa6, 0x57, 19816 0x83, 0xb9, 0x90, 0xd8, 0x64, 0x19, 0xf2, 0xfc, 0x35, 0x33, 0x14, 0x19, 0x71, 0x43, 0xcb, 0xf1, 19817 0xed, 0x55, 0x3c, 0x7d, 0x3e, 0xa4, 0x3b, 0x41, 0xf8, 0xdf, 0x18, 0x3e, 0x59, 0x91, 0x51, 0xb3, 19818 0xd5, 0x4e, 0x42, 0xa8, 0xc3, 0x10, 0x47, 0x80, 0xd6, 0xd7, 0x38, 0x05, 0x29, 0xc2, 0x54, 0xc9, 19819 0x69, 0x77, 0x2d, 0xdf, 0xc6, 0x14, 0x34, 0x87, 0x62, 0xef, 0x42, 0x3d, 0x4c, 0x43, 0x2d, 0xd0, 19820 0x36, 0x42, 0xb5, 0x80, 0xdc, 0x82, 0x69, 0xd3, 0xe9, 0xb1, 0x49, 0x92, 0x97, 0x27, 0xbe, 0x3d, 19821 0xe1, 0xbb, 0xb8, 0xcb, 0x4a, 0xd8, 0x6e, 0x2a, 0x6e, 0x4a, 0x5a, 0xf0, 0x32, 0x8d, 0x8a, 0xac, 19822 0x27, 0x68, 0xb1, 0xd5, 0x3d, 0x49, 0x0d, 0x02, 0x1c, 0x63, 0x96, 0xa0, 0x00, 0xbf, 0x01, 0x13, 19823 0xb5, 0xda, 0xc6, 0x26, 0xf5, 0xfc, 0x5b, 0x2d, 0xe7, 0x21, 0x6e, 0x49, 0x39, 0x91, 0x1c, 0xc1, 19824 0x73, 0xea, 0x3e, 0xf5, 0xfc, 0xfa, 0x6e, 0xcb, 0x79, 0x68, 0xaa, 0x58, 0xe4, 0xab, 0x6c, 0x3c, 19825 0x94, 0x03, 0x5c, 0x84, 0x69, 0x1b, 0x24, 0x63, 0xe0, 0x87, 0x1f, 0x7e, 0x32, 0x4c, 0xd2, 0xd0, 19826 0x07, 0x4b, 0x41, 0x47, 0x17, 0x10, 0x76, 0xed, 0x2b, 0x36, 0x9b, 0x2e, 0xf5, 0x3c, 0xb1, 0x77, 19827 0x70, 0x17, 0x10, 0xbc, 0x23, 0x5a, 0xbc, 0x40, 0x73, 0x01, 0x51, 0x08, 0xc8, 0x37, 0x53, 0x70, 19828 0x4a, 0xb5, 0x22, 0xc7, 0x8f, 0xa5, 0x4d, 0x3b, 0xbe, 0xd8, 0x49, 0xde, 0xb8, 0x2a, 0xf7, 0xce, 19829 0xab, 0x0a, 0xda, 0xd5, 0x07, 0xd7, 0xaf, 0x16, 0xc3, 0x9f, 0x35, 0x49, 0x24, 0x22, 0x1d, 0x25, 19830 0xf1, 0x53, 0xf7, 0x41, 0x2b, 0x81, 0x94, 0x94, 0xd8, 0xf1, 0xca, 0xd6, 0x13, 0xda, 0x8c, 0x54, 19831 0xaa, 0x18, 0xcc, 0x4d, 0xa8, 0xc1, 0xc4, 0xea, 0xe3, 0xd6, 0x25, 0x76, 0x57, 0x3f, 0x45, 0x15, 19832 0x1a, 0x14, 0x4a, 0x6b, 0xc5, 0x7b, 0x6b, 0xa1, 0x64, 0xf5, 0xbd, 0x65, 0xba, 0xad, 0xf5, 0x6d, 19833 0x80, 0xe9, 0xf6, 0x16, 0xcc, 0x45, 0x86, 0x41, 0x0a, 0xa5, 0x1a, 0x38, 0x2a, 0x94, 0x46, 0x68, 19834 0xcc, 0x08, 0xb6, 0xf1, 0xf7, 0xc7, 0x22, 0x7c, 0x85, 0xb9, 0x96, 0x01, 0xa3, 0x5c, 0xe6, 0x54, 19835 0x73, 0x27, 0x73, 0x89, 0xd4, 0x14, 0x25, 0xe4, 0x2c, 0x64, 0x6a, 0xb5, 0x0d, 0x35, 0x5d, 0xbc, 19836 0xe7, 0x39, 0x26, 0x83, 0xb1, 0x19, 0x42, 0x4b, 0x2c, 0x25, 0xaa, 0x2a, 0xdb, 0xf6, 0x4c, 0x84, 19837 0xb2, 0xf1, 0x96, 0x12, 0x60, 0x36, 0x1c, 0x6f, 0x21, 0x01, 0x86, 0x72, 0x5f, 0x09, 0x16, 0x8a, 19838 0x9e, 0x47, 0x5d, 0xb6, 0xaa, 0x84, 0x81, 0x8f, 0x2b, 0xa4, 0x14, 0xb1, 0xbb, 0x63, 0xa5, 0x56, 19839 0xc3, 0x33, 0xfb, 0x22, 0x92, 0xcb, 0x90, 0x2b, 0xf6, 0x9a, 0x36, 0xed, 0x34, 0xb4, 0x90, 0x29, 19840 0x96, 0x80, 0x99, 0x41, 0x29, 0xf9, 0x22, 0x9c, 0x8a, 0x84, 0x0d, 0x12, 0x23, 0x30, 0x16, 0x7e, 19841 0x82, 0x52, 0x8a, 0x0a, 0x9f, 0x53, 0xf9, 0x90, 0x24, 0x53, 0x92, 0x22, 0xe4, 0x57, 0xd0, 0x55, 19842 0xa1, 0x4c, 0xb9, 0x66, 0xd7, 0x71, 0xb9, 0xfb, 0x05, 0x97, 0x79, 0xb9, 0x1b, 0x43, 0xbd, 0x19, 19843 0x14, 0x9a, 0x31, 0x74, 0x72, 0x17, 0xe6, 0xa2, 0x30, 0xb6, 0x91, 0x73, 0xf1, 0x16, 0xc3, 0xfa, 19844 0xc5, 0xb8, 0xe0, 0x56, 0x9e, 0x44, 0x45, 0x76, 0x60, 0x36, 0x34, 0x27, 0xd0, 0x85, 0x5e, 0x69, 19845 0xeb, 0x17, 0x94, 0x4b, 0xc1, 0xf7, 0x79, 0xb1, 0x18, 0xe7, 0x42, 0xd3, 0x84, 0x40, 0xf8, 0x35, 19846 0xe3, 0xec, 0x48, 0x13, 0xa6, 0x6b, 0xf6, 0x5e, 0xc7, 0xee, 0xec, 0xdd, 0xa5, 0x87, 0x55, 0xcb, 19847 0x76, 0x85, 0xd5, 0x95, 0xb4, 0xa9, 0x2c, 0x7a, 0x87, 0xed, 0x36, 0xf5, 0x5d, 0x3c, 0x22, 0x59, 19848 0x39, 0x7a, 0x0e, 0x32, 0x61, 0x66, 0xd1, 0xe3, 0x74, 0xe8, 0x95, 0xd3, 0xb5, 0x6c, 0xed, 0x2c, 19849 0xd0, 0x79, 0x6a, 0x17, 0x8f, 0xc9, 0x21, 0x2f, 0x1e, 0x2d, 0x98, 0x5d, 0xe9, 0x34, 0xdc, 0x43, 19850 0x54, 0xb0, 0xcb, 0xc6, 0x4d, 0x1d, 0xd3, 0xb8, 0x97, 0x44, 0xe3, 0xce, 0x59, 0x72, 0x85, 0x25, 19851 0x35, 0x2f, 0xce, 0x98, 0xd4, 0x60, 0x16, 0xa5, 0xc3, 0x4a, 0xb9, 0x5a, 0xe9, 0xd8, 0xbe, 0x8d, 19852 0x19, 0x7e, 0xf9, 0x19, 0xf3, 0xb2, 0xe0, 0x79, 0x9e, 0x0b, 0x98, 0x76, 0xb3, 0x5b, 0xb7, 0x25, 19853 0x8a, 0xca, 0x34, 0x46, 0x6f, 0xfc, 0x07, 0x39, 0xbe, 0x1b, 0xaa, 0x62, 0x5a, 0x3f, 0xcb, 0xaa, 19854 0x88, 0xf8, 0x96, 0x3e, 0x89, 0xf8, 0x96, 0x39, 0x5e, 0x7c, 0xcb, 0x1e, 0x27, 0xbe, 0x45, 0xe4, 19855 0xab, 0x91, 0x13, 0xcb, 0x57, 0xa3, 0x27, 0x90, 0xaf, 0xc6, 0x4e, 0x24, 0x5f, 0x69, 0x82, 0x62, 19856 0xee, 0x38, 0x41, 0xf1, 0xff, 0x93, 0xc6, 0x9e, 0x55, 0x69, 0x2c, 0xe9, 0x70, 0x3d, 0x91, 0x34, 19857 0xd6, 0x5f, 0x98, 0xca, 0xff, 0x79, 0x0b, 0x53, 0xb3, 0x9f, 0x40, 0x98, 0xfa, 0x4b, 0x90, 0x8f, 19858 0xee, 0xef, 0xc7, 0x07, 0x05, 0x7b, 0x6a, 0x01, 0x6c, 0xd8, 0xe9, 0x13, 0xdd, 0x5f, 0xd9, 0x25, 19859 0xaf, 0xea, 0xda, 0x0f, 0x2c, 0x9f, 0xde, 0x95, 0xcf, 0xc7, 0x22, 0xa0, 0x1d, 0x87, 0xe2, 0x37, 19860 0xaf, 0xa0, 0x04, 0xa2, 0x45, 0x3a, 0x49, 0xb4, 0x30, 0x7e, 0x2c, 0x0d, 0xb3, 0x3c, 0xd8, 0xc4, 19861 0xb3, 0xaf, 0xc5, 0x7c, 0x5f, 0x13, 0x18, 0xa5, 0xb1, 0x52, 0xa4, 0x77, 0x03, 0xf4, 0x98, 0x5f, 19862 0x81, 0x53, 0xb1, 0xa1, 0x40, 0xa1, 0xb1, 0x2c, 0xc3, 0x7c, 0xc4, 0xc4, 0xc6, 0x85, 0xe4, 0x4a, 19863 0xee, 0xdf, 0x30, 0x63, 0x14, 0xc6, 0xbf, 0xcc, 0xc4, 0xf8, 0x0b, 0x8d, 0xa6, 0xaa, 0xa3, 0x4c, 19864 0x9d, 0x4c, 0x47, 0x99, 0x1e, 0x4e, 0x47, 0x19, 0x39, 0x5b, 0x32, 0xc3, 0x9c, 0x2d, 0x5f, 0x84, 19865 0xa9, 0x4d, 0x6a, 0xb5, 0xbd, 0x4d, 0x47, 0x44, 0xad, 0xe6, 0xc6, 0x8a, 0x32, 0x8a, 0x07, 0x2b, 19866 0x93, 0x32, 0x4f, 0x60, 0x74, 0xe1, 0x33, 0x02, 0xb6, 0x1f, 0xf2, 0x30, 0xd6, 0xa6, 0xce, 0x41, 19867 0x15, 0x64, 0x47, 0x06, 0x08, 0xb2, 0x35, 0x98, 0x14, 0x74, 0x61, 0x24, 0xb4, 0x50, 0xe2, 0x62, 19868 0x45, 0x08, 0x97, 0xb5, 0x07, 0x79, 0xc5, 0x82, 0xda, 0xb9, 0xb0, 0xa5, 0x31, 0x61, 0x43, 0xb0, 19869 0xd2, 0x69, 0x76, 0x1d, 0xbb, 0x83, 0x43, 0x30, 0x16, 0x0e, 0x01, 0x15, 0x60, 0x3e, 0x04, 0x0a, 19870 0x12, 0x79, 0x17, 0xa6, 0x8b, 0xd5, 0x8a, 0x4a, 0x96, 0x0b, 0xd5, 0xa4, 0x56, 0xd7, 0xae, 0x6b, 19871 0xa4, 0x11, 0x5c, 0xe3, 0x07, 0xc6, 0xe5, 0xb7, 0xf5, 0xe9, 0x6a, 0x89, 0x74, 0xbd, 0x4f, 0xe6, 19872 0x84, 0x7a, 0x9f, 0xec, 0x71, 0xc7, 0xb9, 0x26, 0x63, 0x8c, 0x9c, 0x40, 0xc6, 0x18, 0x7d, 0x62, 19873 0x1d, 0xce, 0xd8, 0x09, 0xa5, 0x86, 0xc8, 0x32, 0xcf, 0x0d, 0xb3, 0xcc, 0x13, 0x25, 0x8d, 0xf1, 19874 0x27, 0x97, 0x34, 0xe0, 0xc4, 0x92, 0x46, 0x2d, 0xf4, 0x5e, 0x99, 0x38, 0xd6, 0x9c, 0xf1, 0xbc, 19875 0x90, 0x89, 0x67, 0x93, 0x23, 0x87, 0x04, 0x7e, 0x2c, 0xdf, 0x53, 0xe2, 0xcb, 0xd7, 0x92, 0xc5, 19876 0x97, 0xc1, 0x5b, 0xfd, 0xff, 0x9b, 0x05, 0x18, 0x17, 0x47, 0x79, 0xdb, 0x72, 0xd9, 0x5d, 0xd0, 19877 0x23, 0xd7, 0x60, 0x4c, 0x46, 0xd0, 0x49, 0x85, 0xd7, 0xea, 0x78, 0xe8, 0x1c, 0x89, 0xc5, 0xae, 19878 0x8d, 0x92, 0x58, 0x0d, 0xdc, 0xfb, 0x50, 0xc0, 0xb4, 0xe0, 0x24, 0x02, 0x66, 0xfc, 0xbd, 0xac, 19879 0xfc, 0x92, 0xd9, 0xb5, 0x46, 0x24, 0x79, 0x5d, 0x56, 0x66, 0x4e, 0x11, 0x9f, 0x22, 0x73, 0x13, 19880 0xb1, 0x4e, 0xd2, 0x49, 0x3e, 0x49, 0xf8, 0x21, 0x25, 0xb9, 0x4c, 0x66, 0x88, 0xe4, 0x32, 0x6f, 19881 0x69, 0x99, 0x59, 0xb2, 0x61, 0x2a, 0x00, 0xb6, 0xba, 0x07, 0xe7, 0x64, 0xb9, 0xa9, 0xa6, 0x50, 19882 0x19, 0x09, 0xdd, 0xfb, 0x91, 0x72, 0x40, 0xf2, 0x94, 0x40, 0x1e, 0x1c, 0x3d, 0x49, 0x60, 0xaf, 19883 0xb1, 0x3f, 0xd7, 0xc0, 0x5e, 0x2b, 0x00, 0x4a, 0x62, 0x4d, 0xae, 0xaa, 0x7f, 0x99, 0x0d, 0xd3, 19884 0xf1, 0x49, 0x35, 0x15, 0x42, 0xe3, 0xf7, 0x08, 0xcc, 0xd6, 0x6a, 0x1b, 0x65, 0xdb, 0xda, 0xeb, 19885 0x38, 0x9e, 0x6f, 0x37, 0x2a, 0x9d, 0x5d, 0x87, 0x09, 0x43, 0xc1, 0xae, 0xa0, 0x84, 0x85, 0x0a, 19886 0x77, 0x84, 0xa0, 0x98, 0x09, 0xdb, 0x2b, 0xae, 0xeb, 0xb8, 0xaa, 0xb0, 0x4d, 0x19, 0xc0, 0xe4, 19887 0x70, 0x26, 0x6f, 0xd4, 0x7a, 0x3c, 0x43, 0x22, 0x7f, 0x3d, 0x41, 0x79, 0xc3, 0xe3, 0x20, 0x53, 19888 0x96, 0x11, 0x1a, 0x5f, 0xb0, 0x42, 0xfe, 0x3c, 0xa3, 0x85, 0x07, 0x0b, 0x8b, 0xf9, 0x9e, 0x27, 19889 0xce, 0x24, 0x74, 0x77, 0xe9, 0x22, 0x5c, 0x7d, 0xd4, 0x8b, 0x7d, 0x03, 0x87, 0x70, 0x4a, 0x73, 19890 0xdb, 0x18, 0x56, 0xa3, 0xf4, 0xaa, 0x90, 0x6f, 0x0c, 0xf4, 0xb5, 0x4b, 0x50, 0x2b, 0xa9, 0xa1, 19891 0xcc, 0x13, 0x6b, 0x20, 0x3f, 0x96, 0x82, 0xf3, 0x89, 0x25, 0xc1, 0xd7, 0x3d, 0xa1, 0x85, 0x68, 19892 0x53, 0x36, 0x0d, 0x1e, 0xb4, 0xbd, 0x5f, 0xd5, 0xf5, 0x84, 0xad, 0x60, 0x70, 0x4d, 0xe4, 0x37, 19893 0x52, 0x70, 0x46, 0xc3, 0x08, 0xf6, 0x3c, 0x2f, 0xf0, 0x0b, 0x4c, 0x5c, 0xd7, 0x1f, 0x3f, 0x9d, 19894 0x75, 0x7d, 0x51, 0xef, 0x4b, 0xb8, 0x25, 0xab, 0x7d, 0xe8, 0xd7, 0x42, 0xf2, 0x00, 0x66, 0xb1, 19895 0x48, 0x6a, 0xb7, 0xd8, 0x9a, 0x15, 0x4a, 0xb1, 0xf9, 0xb0, 0xd9, 0xdc, 0x15, 0x09, 0x13, 0x6f, 19896 0x2d, 0x7d, 0xe7, 0xa8, 0x30, 0xa5, 0xa1, 0x63, 0x7c, 0x60, 0x6c, 0x43, 0xa0, 0x22, 0xb3, 0x3b, 19897 0xbb, 0x8e, 0x7a, 0x5e, 0xc6, 0xaa, 0x20, 0xff, 0x61, 0x0a, 0x16, 0x18, 0x94, 0x77, 0xe3, 0x96, 19898 0xeb, 0xb4, 0x83, 0x72, 0xf9, 0x3a, 0xdc, 0x67, 0xd8, 0x5a, 0x4f, 0x67, 0xd8, 0x5e, 0xc6, 0x26, 19899 0xf3, 0x3d, 0xa1, 0xbe, 0xeb, 0x3a, 0xed, 0xb0, 0xf9, 0x5a, 0xe2, 0xc8, 0x7e, 0x8d, 0x24, 0x3f, 19900 0x98, 0x82, 0xb3, 0x9a, 0x82, 0x41, 0x0d, 0x0d, 0x2b, 0x1c, 0xbe, 0xa4, 0x29, 0x81, 0x5a, 0xb4, 19901 0x7c, 0x55, 0xac, 0xff, 0x4b, 0xd8, 0x82, 0xf0, 0xb4, 0xc0, 0xb6, 0xd4, 0xdb, 0x1c, 0x4b, 0x69, 19902 0x42, 0xff, 0x5a, 0x88, 0x0d, 0xb3, 0xf8, 0xe2, 0xa4, 0x59, 0x31, 0xcc, 0xf7, 0xb7, 0x62, 0x08, 19903 0x12, 0xa4, 0x60, 0xdc, 0xc9, 0xfe, 0xa6, 0x0c, 0x71, 0xae, 0xe4, 0x2f, 0xc3, 0xd9, 0x18, 0x30, 19904 0xf8, 0xda, 0x4e, 0xf5, 0xfd, 0xda, 0x5e, 0x7b, 0x7c, 0x54, 0x78, 0x25, 0xa9, 0xb6, 0xa4, 0x2f, 19905 0xad, 0x7f, 0x0d, 0xc4, 0x02, 0x08, 0x0b, 0x45, 0xfe, 0xc9, 0xe4, 0x05, 0xfa, 0x9a, 0x58, 0x1f, 19906 0x0a, 0x3e, 0xdb, 0xcb, 0x95, 0x36, 0xa8, 0x47, 0x5e, 0x88, 0x44, 0x28, 0x4c, 0x2a, 0x31, 0x37, 19907 0x0f, 0x31, 0x11, 0x65, 0xdf, 0x4a, 0xbe, 0x73, 0x54, 0xd0, 0xb0, 0x99, 0x5c, 0xac, 0x06, 0xf3, 19908 0x54, 0xe5, 0x62, 0x0d, 0x91, 0xfc, 0x5a, 0x0a, 0xe6, 0x19, 0x20, 0x5c, 0x54, 0xa2, 0x53, 0x0b, 19909 0x83, 0x56, 0xfd, 0xfe, 0xd3, 0x59, 0xf5, 0x2f, 0x62, 0x1b, 0xd5, 0x55, 0x1f, 0x1b, 0x92, 0xc4, 19910 0xc6, 0xe1, 0x6a, 0xd7, 0x1e, 0x37, 0xb5, 0xd5, 0x7e, 0x76, 0x88, 0xd5, 0xce, 0x27, 0xe0, 0xf8, 19911 0xd5, 0xde, 0xb7, 0x16, 0xb2, 0x09, 0x93, 0x42, 0x24, 0xe6, 0x03, 0xf6, 0x82, 0x16, 0x04, 0x50, 19912 0x2d, 0xe2, 0xf7, 0x14, 0x11, 0x92, 0x34, 0xd6, 0x43, 0x8d, 0x0b, 0xe9, 0xc0, 0x1c, 0xff, 0xad, 19913 0x6b, 0x07, 0x0a, 0x7d, 0xb5, 0x03, 0x97, 0x45, 0x8f, 0x2e, 0x08, 0xfe, 0x11, 0x25, 0x81, 0xea, 19914 0x87, 0x9d, 0xc0, 0x98, 0x74, 0x81, 0x68, 0x60, 0xfe, 0xd1, 0x5e, 0x18, 0xac, 0x13, 0x78, 0x45, 19915 0xd4, 0x59, 0x88, 0xd6, 0x19, 0xfd, 0x72, 0x13, 0x78, 0x13, 0x0b, 0x66, 0x04, 0x94, 0x5d, 0x80, 19916 0x71, 0x87, 0x7f, 0x51, 0xf3, 0x84, 0x8f, 0x94, 0xf2, 0xec, 0x7d, 0xb2, 0x26, 0x8c, 0x54, 0x10, 19917 0xd9, 0xd0, 0xa3, 0xfc, 0xc8, 0x06, 0xcc, 0x16, 0xbb, 0xdd, 0x96, 0x4d, 0x9b, 0xd8, 0x4b, 0x9e, 19918 0x4b, 0xd0, 0x08, 0xe3, 0xc7, 0x5b, 0xbc, 0x50, 0x88, 0xf8, 0xd1, 0x44, 0x82, 0x71, 0x5a, 0xe3, 19919 0x9b, 0xa9, 0x58, 0xa3, 0xd9, 0xcd, 0x1d, 0x7f, 0x28, 0x6e, 0xa1, 0x78, 0x73, 0xe7, 0x4d, 0x44, 19920 0x0d, 0x42, 0x88, 0xc0, 0x84, 0x25, 0x35, 0xc0, 0x4a, 0x86, 0x0b, 0x4b, 0xe2, 0x7a, 0x19, 0x5e, 19921 0x28, 0x0b, 0xd2, 0xba, 0x2c, 0x13, 0x0a, 0x5d, 0x68, 0x5d, 0x26, 0x6c, 0xca, 0x8c, 0x1f, 0x4c, 19922 0xeb, 0xcb, 0x8e, 0x5c, 0x56, 0xe4, 0x76, 0x25, 0xc4, 0x8b, 0x94, 0xdb, 0x15, 0x69, 0xfd, 0xef, 19923 0xa6, 0x60, 0x6e, 0xc3, 0xdd, 0xb3, 0x3a, 0xf6, 0x37, 0x78, 0xa8, 0x38, 0x07, 0xe7, 0x65, 0x70, 19924 0x2a, 0x8e, 0xa7, 0x95, 0x52, 0xc0, 0x51, 0x2a, 0x66, 0x2b, 0x05, 0x97, 0x8c, 0x99, 0xd4, 0x1e, 19925 0xb4, 0xd7, 0xc5, 0x86, 0x29, 0x99, 0x1d, 0x38, 0x3a, 0x87, 0x1b, 0x3f, 0x99, 0x86, 0x09, 0xe5, 19926 0x13, 0x20, 0x9f, 0x85, 0x49, 0x95, 0x8f, 0xaa, 0xf5, 0x51, 0xab, 0x35, 0x35, 0x2c, 0x54, 0xfb, 19927 0x50, 0xab, 0xad, 0xa9, 0x7d, 0xd8, 0x42, 0x47, 0xe8, 0x09, 0xaf, 0x36, 0x1f, 0x24, 0x5c, 0x6d, 19928 0x4e, 0x94, 0x74, 0xf2, 0xdd, 0xf8, 0x05, 0x67, 0xf8, 0x1c, 0x91, 0xc6, 0xcf, 0xa4, 0x20, 0x1f, 19929 0xfd, 0x48, 0x3f, 0x95, 0x51, 0x39, 0x81, 0x7e, 0xfd, 0x27, 0xd2, 0x41, 0xc0, 0x5d, 0xe9, 0x85, 19930 0xf0, 0xac, 0xda, 0x4a, 0xbc, 0xa7, 0xa9, 0xbe, 0x9f, 0x0f, 0xce, 0x15, 0xb5, 0x73, 0x03, 0x62, 19931 0xd1, 0x64, 0xbf, 0xfd, 0x0b, 0x85, 0xe7, 0x8c, 0x0f, 0x61, 0x3e, 0x3a, 0x1c, 0xa8, 0xfe, 0x2e, 19932 0xc2, 0x8c, 0x0e, 0x8f, 0x86, 0xeb, 0x8e, 0x52, 0x99, 0x51, 0x7c, 0xe3, 0xf7, 0xd3, 0x51, 0xde, 19933 0xc2, 0x6e, 0x82, 0x6d, 0x3a, 0x1d, 0x6b, 0xa7, 0x15, 0xc4, 0x00, 0xe6, 0x9b, 0x0e, 0x07, 0x99, 19934 0xb2, 0xec, 0x24, 0xf1, 0xeb, 0x03, 0x5b, 0xfa, 0x4c, 0xb2, 0x2d, 0x3d, 0xb9, 0x19, 0xb1, 0x18, 19935 0x52, 0x1c, 0xbf, 0x1f, 0xd2, 0x9d, 0x7a, 0x68, 0x35, 0x14, 0x31, 0x14, 0x2a, 0xc1, 0xbc, 0x16, 19936 0x0b, 0x50, 0xd2, 0x8f, 0x84, 0x0a, 0x57, 0x1f, 0x0b, 0x38, 0x71, 0x22, 0x32, 0x59, 0x85, 0x31, 19937 0xd6, 0xcc, 0x7b, 0x56, 0x57, 0x68, 0xb5, 0x49, 0xe0, 0x59, 0xd3, 0x0a, 0x2e, 0x7c, 0x8a, 0x73, 19938 0x4d, 0x8b, 0xb2, 0x23, 0x5f, 0xcb, 0xd9, 0xca, 0x11, 0x8d, 0x3f, 0x4d, 0xb1, 0xef, 0xbf, 0x71, 19939 0xf0, 0x3d, 0x16, 0x04, 0x9f, 0x75, 0x69, 0x80, 0x59, 0xcf, 0x1f, 0xa5, 0x79, 0x18, 0x67, 0xb1, 19940 0x7c, 0xde, 0x82, 0xd1, 0x4d, 0xcb, 0xdd, 0xa3, 0xbe, 0x08, 0x70, 0xac, 0x72, 0xe1, 0x05, 0xa1, 19941 0x5b, 0xba, 0x8f, 0xbf, 0x4d, 0x41, 0xa0, 0xea, 0xc2, 0xd2, 0x43, 0xe9, 0xc2, 0x14, 0xf5, 0x6c, 19942 0xe6, 0xa9, 0xa9, 0x67, 0xbf, 0x2f, 0x88, 0xd8, 0x5c, 0xf4, 0x87, 0x08, 0x35, 0x77, 0x21, 0x1a, 19943 0x9c, 0x3c, 0x16, 0x14, 0x30, 0x64, 0x47, 0x6e, 0xaa, 0xe1, 0xce, 0x15, 0xf3, 0xf4, 0x63, 0x02, 19944 0x9b, 0x1b, 0x7f, 0x94, 0xe1, 0x63, 0x2c, 0x06, 0xea, 0x92, 0xe6, 0xba, 0x82, 0xdf, 0x49, 0x24, 19945 0x73, 0x3e, 0x77, 0x62, 0xb9, 0x04, 0x59, 0xb6, 0x36, 0xc5, 0x68, 0x22, 0x1e, 0x5b, 0xbf, 0x2a, 19946 0x1e, 0x2b, 0x67, 0xdf, 0x32, 0x9e, 0x49, 0x6a, 0x82, 0x09, 0x3c, 0xb6, 0xd4, 0x6f, 0x19, 0x31, 19947 0xc8, 0x65, 0xc8, 0xae, 0x3b, 0x4d, 0x19, 0xd2, 0x70, 0x1e, 0x1d, 0x18, 0xb5, 0x24, 0xe4, 0x0b, 19948 0x29, 0x13, 0x31, 0x58, 0x5f, 0x83, 0x20, 0xc8, 0x6a, 0x5f, 0xdb, 0xbb, 0x96, 0x88, 0xfc, 0xa3, 19949 0xf6, 0x35, 0x8c, 0x97, 0xbc, 0x02, 0xd3, 0x7a, 0x8a, 0x39, 0x61, 0xf4, 0x84, 0x6a, 0xd6, 0x48, 19950 0xa6, 0x3a, 0x55, 0x3b, 0xae, 0x13, 0x91, 0x65, 0x98, 0xd2, 0x42, 0x29, 0x89, 0xe7, 0x25, 0x54, 19951 0x6f, 0xea, 0x81, 0x98, 0x54, 0xf5, 0xa6, 0x46, 0xc2, 0xce, 0x73, 0xd1, 0x7e, 0xe5, 0x91, 0x29, 19952 0xd6, 0x76, 0x81, 0x43, 0x6e, 0x40, 0x8e, 0x7b, 0x0a, 0x56, 0xca, 0xea, 0x6b, 0x85, 0x87, 0xb0, 19953 0x88, 0xa7, 0xad, 0x44, 0x54, 0x3c, 0xc3, 0x3e, 0x03, 0x79, 0xb1, 0x25, 0x85, 0xc9, 0xdc, 0xce, 19954 0x41, 0xb6, 0x54, 0x29, 0x9b, 0xea, 0x36, 0xd2, 0xb0, 0x9b, 0xae, 0x89, 0x50, 0xe3, 0x5b, 0x29, 19955 0x38, 0xbb, 0x4e, 0xfd, 0x87, 0x8e, 0x7b, 0x60, 0x52, 0xcf, 0x77, 0x6d, 0x9e, 0x9f, 0x04, 0x3f, 19956 0xc4, 0xcf, 0x92, 0x77, 0x61, 0x04, 0xad, 0x6f, 0x22, 0x27, 0x43, 0xb4, 0x8e, 0xe5, 0x29, 0xb1, 19957 0x80, 0x47, 0xd0, 0x94, 0xc7, 0xe4, 0x44, 0xe4, 0x2d, 0xc8, 0x96, 0x69, 0xe7, 0x30, 0x92, 0xa1, 19958 0x21, 0x46, 0x1c, 0x6c, 0x08, 0x4d, 0xda, 0x39, 0x34, 0x91, 0xc4, 0xf8, 0x99, 0x34, 0x9c, 0x4a, 19959 0x68, 0xd6, 0xfd, 0xcf, 0x3e, 0xa3, 0xbb, 0xe2, 0xb2, 0xb6, 0x2b, 0x5e, 0x10, 0xa4, 0x7d, 0x07, 19960 0x3e, 0x71, 0x93, 0xfc, 0x5b, 0x29, 0x38, 0xa3, 0x2f, 0x50, 0x61, 0x6e, 0x77, 0xff, 0x06, 0x79, 19961 0x07, 0x46, 0x57, 0xa9, 0xd5, 0xa4, 0x32, 0x24, 0xfc, 0xa9, 0x20, 0xa6, 0x07, 0x77, 0x83, 0xe2, 19962 0x85, 0x9c, 0x6d, 0x68, 0x34, 0xcf, 0xa1, 0xa4, 0x2c, 0x1a, 0xc7, 0xe5, 0x71, 0x43, 0xba, 0x24, 19963 0x26, 0x55, 0x35, 0xe0, 0x9d, 0xfd, 0x3b, 0x29, 0x78, 0x7e, 0x00, 0x0d, 0x9b, 0x38, 0x36, 0xf5, 19964 0xea, 0xc4, 0xe1, 0x89, 0x8a, 0x50, 0xf2, 0x3e, 0xcc, 0x6c, 0x0a, 0x79, 0x5e, 0x4e, 0x47, 0x3a, 19965 0xfc, 0x5e, 0xa4, 0xa8, 0x5f, 0x97, 0xf3, 0x12, 0x45, 0xd6, 0x7c, 0x65, 0x33, 0x03, 0x7d, 0x65, 19966 0x55, 0xd7, 0xd3, 0xec, 0xb0, 0xae, 0xa7, 0x1f, 0x46, 0x13, 0x33, 0x8b, 0x08, 0x60, 0xa1, 0xe3, 19967 0x6d, 0xaa, 0xbf, 0xe3, 0xed, 0xc0, 0x38, 0x43, 0x98, 0xd1, 0x41, 0xe7, 0xfd, 0xa4, 0xf3, 0xf9, 19968 0x9e, 0x36, 0x9f, 0xcf, 0x27, 0xcf, 0x67, 0xff, 0x89, 0xfc, 0x9f, 0x53, 0xd1, 0xce, 0x0e, 0x35, 19969 0x83, 0x06, 0x8c, 0x96, 0x9d, 0xb6, 0x65, 0x77, 0xd4, 0xdc, 0x80, 0x4d, 0x84, 0x98, 0xa2, 0x64, 19970 0x38, 0x3f, 0xe5, 0x0b, 0x30, 0xb2, 0xee, 0x74, 0x8a, 0x65, 0x61, 0x5b, 0x87, 0x7c, 0x3a, 0x4e, 19971 0xa7, 0x6e, 0x35, 0x4d, 0x5e, 0x40, 0xd6, 0x00, 0x6a, 0x0d, 0x97, 0xd2, 0x4e, 0xcd, 0xfe, 0x06, 19972 0x8d, 0x48, 0x1a, 0x6c, 0x84, 0x5a, 0x3d, 0xdc, 0x58, 0xf0, 0x8d, 0xc7, 0x43, 0xc4, 0xba, 0x67, 19973 0x7f, 0x43, 0xdd, 0x6f, 0x15, 0x7a, 0x83, 0x02, 0x84, 0x44, 0x98, 0x28, 0xc9, 0x6e, 0x8a, 0xe4, 19974 0x97, 0x53, 0x22, 0x51, 0x12, 0x03, 0x68, 0x89, 0x92, 0x18, 0x80, 0x6d, 0xed, 0xab, 0xd4, 0xde, 19975 0xdb, 0xe7, 0xf6, 0x1a, 0x53, 0x7c, 0xa9, 0xee, 0x23, 0x44, 0xdd, 0xda, 0x39, 0x8e, 0xf1, 0x63, 19976 0x23, 0x70, 0xd6, 0xa4, 0x7b, 0x36, 0x13, 0x93, 0xb7, 0x3c, 0xbb, 0xb3, 0xa7, 0x79, 0x92, 0x1a, 19977 0x91, 0x85, 0x24, 0x82, 0x97, 0x32, 0x48, 0x30, 0x30, 0x57, 0x20, 0xc7, 0x4e, 0x45, 0x65, 0x2d, 19978 0xe1, 0x1b, 0x0a, 0x66, 0xf6, 0xe5, 0x8b, 0x5c, 0x16, 0x93, 0x57, 0xc5, 0xa9, 0xad, 0x84, 0x97, 19979 0x66, 0xa7, 0xf6, 0x77, 0x8f, 0x0a, 0x50, 0x3b, 0xf4, 0x7c, 0x8a, 0x37, 0x36, 0x71, 0x72, 0x07, 19980 0xa2, 0x75, 0xb6, 0x8f, 0x68, 0x7d, 0x0f, 0xe6, 0x8b, 0x4d, 0xbe, 0x59, 0x5b, 0xad, 0xaa, 0x6b, 19981 0x77, 0x1a, 0x76, 0xd7, 0x6a, 0xc9, 0xeb, 0x22, 0x8e, 0xb2, 0x15, 0x94, 0xd7, 0xbb, 0x01, 0x82, 19982 0x99, 0x48, 0xc6, 0xba, 0x51, 0x5e, 0xaf, 0xf1, 0xac, 0xf5, 0xfc, 0x79, 0x0c, 0xbb, 0xd1, 0xec, 19983 0x78, 0x3c, 0x6d, 0xbd, 0x19, 0x14, 0xa3, 0x50, 0x8f, 0x36, 0x08, 0x9b, 0x6b, 0xb5, 0xd0, 0xd7, 19984 0x84, 0x47, 0xbf, 0xe4, 0x76, 0x0a, 0x7e, 0xcb, 0x43, 0x5b, 0x05, 0x0d, 0x2f, 0xa4, 0xab, 0xd5, 19985 0x56, 0x19, 0x5d, 0x2e, 0x46, 0xe7, 0x79, 0xfb, 0x2a, 0x1d, 0xc7, 0x23, 0xd7, 0xd8, 0x52, 0x68, 19986 0x3b, 0x3e, 0xc5, 0x75, 0x3e, 0x1e, 0x5e, 0x01, 0x5c, 0x84, 0xf2, 0x2b, 0x80, 0x82, 0x42, 0xde, 19987 0x85, 0xb9, 0x95, 0xd2, 0x92, 0x54, 0x6a, 0x96, 0x9d, 0x46, 0x0f, 0x5f, 0x95, 0x01, 0xeb, 0xc3, 19988 0x39, 0xa4, 0x8d, 0x25, 0xb6, 0xb8, 0x93, 0xd0, 0xc8, 0x25, 0x18, 0xab, 0x94, 0xf9, 0xd8, 0x4f, 19989 0xa8, 0x21, 0xde, 0x85, 0xb5, 0x86, 0x2c, 0x24, 0x1b, 0xa1, 0x8c, 0x3a, 0x79, 0xac, 0x30, 0x79, 19990 0xf6, 0x78, 0xf9, 0x54, 0x44, 0x82, 0xe7, 0x19, 0x47, 0x4a, 0x4e, 0x93, 0x7a, 0xf7, 0xaf, 0x7f, 19991 0x8f, 0x45, 0x82, 0x57, 0xfa, 0x86, 0xbb, 0xd7, 0xf5, 0xc4, 0xad, 0xee, 0xdf, 0xc0, 0x48, 0xf0, 19992 0x31, 0x5c, 0xf2, 0x79, 0x18, 0xc1, 0x9f, 0x42, 0xee, 0x99, 0x4b, 0x60, 0x1b, 0xca, 0x3c, 0x0d, 19993 0x9e, 0xdb, 0x13, 0x09, 0x48, 0x05, 0xc6, 0x84, 0xc8, 0x7d, 0x92, 0x78, 0xc6, 0x42, 0x76, 0xe7, 19994 0x93, 0x24, 0xe8, 0x8d, 0x26, 0x4c, 0xaa, 0x15, 0xb2, 0xc5, 0xb9, 0x6a, 0x79, 0xfb, 0xb4, 0xc9, 19995 0x7e, 0x89, 0x54, 0x04, 0xb8, 0x38, 0xf7, 0x11, 0x5a, 0x67, 0xed, 0x30, 0x15, 0x14, 0xb6, 0xdb, 19996 0x56, 0xbc, 0x2d, 0x4f, 0x34, 0x45, 0x5c, 0xc2, 0x6d, 0x54, 0xe8, 0x34, 0x4d, 0x51, 0x64, 0x7c, 19997 0x1f, 0xcc, 0xaf, 0xf7, 0x5a, 0x2d, 0x76, 0x21, 0x97, 0xa1, 0x6a, 0x7d, 0xcb, 0xa7, 0x64, 0x19, 19998 0x46, 0x6a, 0x4a, 0xb6, 0xb0, 0x39, 0x3d, 0x27, 0x3f, 0x4f, 0x16, 0x76, 0x46, 0x5c, 0x87, 0x66, 19999 0xa2, 0x79, 0xc2, 0x38, 0xa9, 0xf1, 0xbb, 0x61, 0x96, 0xd9, 0x4d, 0xd7, 0x6a, 0x1c, 0x04, 0x19, 20000 0xe3, 0x86, 0x4d, 0x98, 0x7b, 0x47, 0x36, 0x42, 0x3f, 0xca, 0x92, 0x1a, 0x7c, 0x5c, 0x63, 0xc8, 20001 0xbb, 0x30, 0x21, 0x8e, 0x33, 0x25, 0x7a, 0x0a, 0xba, 0xa8, 0xcb, 0x94, 0xd5, 0x11, 0x73, 0x03, 20002 0x15, 0x1d, 0x4f, 0x69, 0xbd, 0x2b, 0xf7, 0xaf, 0x7f, 0x1a, 0xa7, 0xb4, 0x5e, 0xc7, 0x80, 0xa5, 20003 0xfb, 0x4f, 0x26, 0xa2, 0x63, 0x2b, 0xd6, 0xee, 0x4d, 0x35, 0x5e, 0x42, 0x2a, 0xbc, 0x33, 0x85, 20004 0xf1, 0x12, 0xd4, 0x3b, 0x53, 0x80, 0x1a, 0xcc, 0x49, 0xfa, 0x98, 0x39, 0x79, 0x5f, 0xce, 0x49, 20005 0xa6, 0xff, 0xc2, 0x98, 0x1b, 0x30, 0x0f, 0xb5, 0xf0, 0x0b, 0xc9, 0x0e, 0x75, 0xe1, 0x7e, 0x0e, 20006 0x03, 0x43, 0x72, 0x92, 0xe8, 0x86, 0x26, 0x38, 0xa9, 0xb7, 0xf8, 0x91, 0xe1, 0x99, 0x1e, 0x73, 20007 0x8b, 0x7f, 0x1b, 0x26, 0x8b, 0xbe, 0x6f, 0x35, 0xf6, 0x69, 0xb3, 0xcc, 0xb6, 0x27, 0xc5, 0xb5, 20008 0xdb, 0x12, 0x70, 0xf5, 0x39, 0x45, 0xc5, 0xe5, 0xa1, 0x8a, 0x2c, 0x4f, 0x58, 0xbb, 0x05, 0xa1, 20009 0x8a, 0x18, 0x44, 0x0f, 0x55, 0xc4, 0x20, 0xe4, 0x1a, 0x8c, 0x55, 0x3a, 0x0f, 0x6c, 0x36, 0x26, 20010 0x39, 0x25, 0x2f, 0x36, 0x07, 0xa9, 0x9b, 0xab, 0xc0, 0x22, 0x6f, 0x29, 0xe2, 0xee, 0x78, 0x78, 20011 0xb5, 0xe5, 0xca, 0x90, 0xba, 0x94, 0x7a, 0x55, 0x51, 0x36, 0x90, 0x7f, 0x6f, 0xc2, 0x98, 0xd4, 20012 0x71, 0x41, 0x78, 0x9d, 0x15, 0x94, 0x71, 0xb7, 0x3a, 0x89, 0x8c, 0x49, 0xc6, 0x94, 0x94, 0x0a, 20013 0x13, 0x4a, 0x92, 0x31, 0x25, 0xa5, 0x82, 0x96, 0x64, 0x4c, 0x49, 0xae, 0x10, 0xa8, 0x07, 0x26, 20014 0x8f, 0x55, 0x0f, 0xdc, 0x87, 0xc9, 0xaa, 0xe5, 0xfa, 0x36, 0x13, 0x17, 0x3a, 0xbe, 0xb7, 0x30, 20015 0xa5, 0x69, 0xd4, 0x94, 0xa2, 0xe5, 0x17, 0x64, 0xb2, 0xad, 0xae, 0x82, 0xaf, 0x67, 0x85, 0x0a, 20016 0xe1, 0xc9, 0xb6, 0x6e, 0xd3, 0x4f, 0x62, 0xeb, 0x86, 0x83, 0x8a, 0x5a, 0x94, 0x99, 0xf0, 0xae, 20017 0x8e, 0xe2, 0x6c, 0x44, 0x95, 0x12, 0x20, 0x92, 0x2f, 0xc3, 0x24, 0xfb, 0x1b, 0x53, 0x51, 0xdb, 20018 0xd4, 0x5b, 0xc8, 0x63, 0xe7, 0x5e, 0x48, 0xfc, 0xfa, 0x79, 0xbe, 0xea, 0x1a, 0xf5, 0xf9, 0x07, 20019 0x8c, 0x8c, 0xa3, 0xea, 0x51, 0x8d, 0x1b, 0xf9, 0x00, 0x26, 0x65, 0xba, 0x74, 0x9c, 0xa4, 0xd9, 20020 0xd0, 0x5a, 0xb1, 0x29, 0xe0, 0xb1, 0x68, 0x61, 0x2a, 0x01, 0x3b, 0xe6, 0x8b, 0x5d, 0xbe, 0x41, 20021 0x12, 0x65, 0xb5, 0x77, 0x63, 0x9b, 0xa3, 0x44, 0x23, 0x5f, 0x80, 0xc9, 0x62, 0xb7, 0x1b, 0xee, 20022 0x38, 0x73, 0x8a, 0x8a, 0xa4, 0xdb, 0xad, 0x27, 0xee, 0x3a, 0x1a, 0x45, 0x74, 0x63, 0x9e, 0x3f, 20023 0xd1, 0xc6, 0x4c, 0xde, 0x08, 0x04, 0xe7, 0x53, 0xa1, 0xbe, 0x4f, 0x5c, 0x29, 0x34, 0x29, 0x9c, 20024 0xcb, 0xd0, 0x25, 0x98, 0xe2, 0x0a, 0x30, 0x29, 0xcd, 0x9c, 0x8e, 0x7d, 0x3d, 0x09, 0x42, 0x8d, 20025 0x4e, 0x43, 0x56, 0x60, 0x9a, 0x3b, 0x23, 0xb5, 0x44, 0x18, 0xb7, 0x85, 0x33, 0x61, 0xc2, 0x53, 20026 0xee, 0xc3, 0xd4, 0xc2, 0xe8, 0xbe, 0x96, 0xc6, 0x25, 0x42, 0x64, 0xfc, 0x71, 0x0a, 0xce, 0xf4, 20027 0x99, 0xf1, 0x20, 0xc8, 0x57, 0xea, 0x98, 0x9c, 0xef, 0xd7, 0x42, 0x29, 0x4b, 0xd1, 0x77, 0x0a, 20028 0x29, 0x4b, 0x9d, 0x2f, 0x29, 0x6f, 0x39, 0x40, 0x44, 0xc6, 0x77, 0x25, 0x33, 0xba, 0x88, 0x34, 20029 0x19, 0x39, 0x84, 0xb4, 0xcc, 0xf0, 0xcb, 0xc6, 0xe3, 0xa3, 0xc2, 0x0b, 0x2e, 0x07, 0x05, 0xd3, 20030 0xfa, 0xb1, 0xa3, 0x7d, 0xc1, 0x09, 0xac, 0x8d, 0xa3, 0x14, 0x4c, 0x28, 0xdf, 0x21, 0xb9, 0xa0, 20031 0x38, 0x6a, 0xe5, 0x79, 0x9c, 0x74, 0x85, 0x43, 0x9a, 0x9f, 0x44, 0xf8, 0x51, 0xa5, 0x8f, 0x57, 20032 0x4d, 0xde, 0x63, 0xa2, 0x90, 0x12, 0x08, 0xad, 0xad, 0xe9, 0x11, 0x4d, 0x2c, 0xc7, 0x1c, 0x81, 20033 0x96, 0xe7, 0x17, 0x1b, 0xbe, 0xfd, 0x80, 0x0e, 0x71, 0xe8, 0x84, 0x39, 0x02, 0x2d, 0xcf, 0xaf, 20034 0x5b, 0x48, 0x16, 0xcb, 0x11, 0x18, 0x30, 0x34, 0x7e, 0x28, 0x05, 0xb0, 0x55, 0x29, 0x61, 0x24, 20035 0xc3, 0x27, 0x15, 0x0a, 0x92, 0xa3, 0x43, 0x49, 0xee, 0x03, 0xc4, 0x81, 0xff, 0x22, 0x05, 0xd3, 20036 0x3a, 0x1a, 0x79, 0x1f, 0x66, 0x6a, 0x0d, 0xd7, 0x69, 0xb5, 0x76, 0xac, 0xc6, 0xc1, 0x9a, 0xdd, 20037 0xa1, 0x3c, 0x2e, 0xcf, 0x08, 0x3f, 0x8b, 0xbc, 0xa0, 0xa8, 0xde, 0x62, 0x65, 0x66, 0x14, 0x99, 20038 0xfc, 0x70, 0x0a, 0xa6, 0x6a, 0xfb, 0xce, 0xc3, 0x30, 0xcb, 0x32, 0x9f, 0x90, 0xaf, 0xb0, 0x6f, 20039 0xdb, 0xdb, 0x77, 0x1e, 0xd6, 0x13, 0x52, 0x2d, 0x7f, 0xf7, 0xa8, 0xf0, 0xde, 0x70, 0x2f, 0xb6, 20040 0x0d, 0xa7, 0xe3, 0xf9, 0x6c, 0x63, 0xbe, 0xaa, 0x55, 0x62, 0xea, 0x75, 0x1a, 0x7f, 0x96, 0x82, 20041 0x89, 0x0a, 0xc3, 0x6c, 0xb5, 0x50, 0xe6, 0xfa, 0x5e, 0xca, 0xd8, 0x11, 0xf4, 0x6b, 0xc0, 0xc4, 20042 0xbe, 0x09, 0x33, 0x11, 0x34, 0x62, 0xc0, 0x68, 0x0d, 0xdd, 0x59, 0x55, 0x5d, 0x01, 0x77, 0x70, 20043 0x35, 0x45, 0x89, 0xb1, 0xa2, 0x90, 0xdd, 0xbf, 0x8e, 0x0f, 0x7e, 0x4b, 0x00, 0xb6, 0x04, 0xc9, 20044 0x9b, 0x0d, 0x89, 0xb6, 0xe4, 0xfe, 0x75, 0x53, 0xc1, 0x32, 0xd6, 0x61, 0xb4, 0xe6, 0xb8, 0xfe, 20045 0xf2, 0x21, 0xbf, 0x4c, 0x94, 0xa9, 0xd7, 0x50, 0x5f, 0xf4, 0x6c, 0xd4, 0xa2, 0x37, 0x4c, 0x51, 20046 0x44, 0x0a, 0x30, 0x72, 0xcb, 0xa6, 0xad, 0xa6, 0x6a, 0xba, 0xb9, 0xcb, 0x00, 0x26, 0x87, 0xb3, 20047 0x0b, 0xd7, 0xe9, 0x30, 0xe0, 0x6f, 0x68, 0x23, 0xfa, 0xa4, 0xdf, 0x4d, 0x49, 0x1b, 0xdf, 0x17, 20048 0xf5, 0x84, 0x98, 0x5a, 0x4d, 0x03, 0x86, 0xfa, 0xdf, 0x4b, 0xc1, 0x62, 0x7f, 0x12, 0xd5, 0xec, 20049 0x34, 0x35, 0xc0, 0xec, 0xf4, 0xe5, 0xe8, 0x0b, 0x14, 0xa2, 0x89, 0x17, 0xa8, 0xf0, 0xdd, 0xa9, 20050 0x8c, 0x56, 0xbf, 0x8d, 0x20, 0xb5, 0xf0, 0x85, 0x01, 0x6d, 0x46, 0x44, 0x3e, 0xcd, 0x3e, 0xd2, 20051 0x98, 0x82, 0xd6, 0xf8, 0xcd, 0x2c, 0x9c, 0xed, 0x4b, 0x41, 0x56, 0x95, 0xd8, 0xe1, 0xd3, 0x41, 20052 0xd4, 0xe2, 0xbe, 0xf8, 0x57, 0xf1, 0x5f, 0x34, 0xec, 0x8a, 0x3a, 0xa3, 0x6c, 0x04, 0x31, 0xa3, 20053 0xd3, 0xc8, 0xeb, 0xb5, 0x63, 0x79, 0x71, 0x74, 0x64, 0x06, 0xf1, 0xf0, 0xd1, 0xe8, 0x33, 0x44, 20054 0x7d, 0xcb, 0x6e, 0x79, 0xea, 0x67, 0xd7, 0xe4, 0x20, 0x53, 0x96, 0x85, 0xb6, 0xc0, 0xd9, 0x64, 20055 0x5b, 0x60, 0xe3, 0xff, 0x4a, 0xc1, 0x78, 0xd0, 0x6c, 0xb2, 0x08, 0xa7, 0x37, 0xcd, 0x62, 0x69, 20056 0xa5, 0xbe, 0xf9, 0x61, 0x75, 0xa5, 0xbe, 0xb5, 0x5e, 0xab, 0xae, 0x94, 0x2a, 0xb7, 0x2a, 0x2b, 20057 0xe5, 0xfc, 0x73, 0x64, 0x16, 0xa6, 0xb6, 0xd6, 0xef, 0xae, 0x6f, 0x6c, 0xaf, 0xd7, 0x57, 0x4c, 20058 0x73, 0xc3, 0xcc, 0xa7, 0xc8, 0x14, 0x8c, 0x9b, 0xcb, 0xc5, 0x52, 0x7d, 0x7d, 0xa3, 0xbc, 0x92, 20059 0x4f, 0x93, 0x3c, 0x4c, 0x96, 0x36, 0xd6, 0xd7, 0x57, 0x4a, 0x9b, 0x95, 0xfb, 0x95, 0xcd, 0x0f, 20060 0xf3, 0x19, 0x42, 0x60, 0x1a, 0x11, 0xaa, 0x66, 0x65, 0xbd, 0x54, 0xa9, 0x16, 0xd7, 0xf2, 0x59, 20061 0x06, 0x63, 0xf8, 0x0a, 0x6c, 0x24, 0x60, 0x74, 0x77, 0x6b, 0x79, 0x25, 0x3f, 0xca, 0x50, 0xd8, 20062 0x5f, 0x0a, 0xca, 0x18, 0xab, 0x1e, 0x51, 0xca, 0xc5, 0xcd, 0xe2, 0x72, 0xb1, 0xb6, 0x92, 0xcf, 20063 0x91, 0x33, 0x30, 0xa7, 0x81, 0xea, 0x6b, 0x1b, 0xb7, 0x2b, 0xeb, 0xf9, 0x71, 0x32, 0x0f, 0xf9, 20064 0x00, 0x56, 0x5e, 0xae, 0x6f, 0xd5, 0x56, 0xcc, 0x3c, 0x44, 0xa1, 0xeb, 0xc5, 0x7b, 0x2b, 0xf9, 20065 0x09, 0xe3, 0x3d, 0xee, 0x26, 0xc4, 0x87, 0x9a, 0x9c, 0x06, 0x52, 0xdb, 0x2c, 0x6e, 0x6e, 0xd5, 20066 0x22, 0x9d, 0x9f, 0x80, 0xb1, 0xda, 0x56, 0xa9, 0xb4, 0x52, 0xab, 0xe5, 0x53, 0x04, 0x60, 0xf4, 20067 0x56, 0xb1, 0xb2, 0xb6, 0x52, 0xce, 0xa7, 0x8d, 0x9f, 0x4e, 0xc1, 0xac, 0x94, 0x00, 0xe5, 0x73, 20068 0xc2, 0x13, 0x7e, 0x8b, 0xef, 0x6b, 0x17, 0x5b, 0xe9, 0xc5, 0x11, 0xa9, 0x64, 0xc0, 0x67, 0xe8, 20069 0xc2, 0xa9, 0x44, 0x64, 0xf2, 0x21, 0xe4, 0x65, 0x03, 0xee, 0x59, 0x7e, 0x63, 0x3f, 0xdc, 0xc6, 20070 0x5e, 0x88, 0x54, 0x12, 0x41, 0xe3, 0x0a, 0xc6, 0x30, 0x25, 0x58, 0x8c, 0x8d, 0xf1, 0xed, 0x14, 20071 0x9c, 0xe9, 0x43, 0x4c, 0x4a, 0x30, 0x1a, 0x84, 0x52, 0x1e, 0x60, 0xb0, 0x34, 0xff, 0x9d, 0xa3, 20072 0x82, 0x40, 0xc4, 0xcc, 0x48, 0xf8, 0x97, 0x39, 0x1a, 0xc4, 0x46, 0xc6, 0x00, 0xc5, 0x7c, 0x4c, 20073 0xce, 0x46, 0x86, 0x53, 0xd4, 0x54, 0xdc, 0xae, 0x2d, 0x4f, 0x88, 0x01, 0xc9, 0x58, 0x0f, 0x3d, 20074 0x8c, 0x50, 0x6c, 0x7c, 0x2b, 0xc5, 0x24, 0xb6, 0x28, 0x22, 0x13, 0x64, 0x8b, 0x9e, 0xd7, 0x6b, 20075 0x53, 0xd3, 0x69, 0xd1, 0xa2, 0xb9, 0x2e, 0xce, 0x02, 0x14, 0x41, 0x2d, 0x2c, 0xc0, 0xbb, 0x42, 20076 0xdd, 0x72, 0x3b, 0xda, 0xe3, 0xa4, 0x4a, 0x43, 0xde, 0x02, 0x08, 0x92, 0x49, 0x4b, 0xdf, 0x78, 20077 0x1e, 0x4d, 0x41, 0x40, 0x75, 0x21, 0x5a, 0x41, 0x36, 0x7e, 0x34, 0x05, 0x93, 0xe2, 0x26, 0x54, 20078 0x6c, 0x51, 0xd7, 0x7f, 0xb2, 0x35, 0xf3, 0x96, 0xb6, 0x66, 0x02, 0xfb, 0x7c, 0x85, 0x3f, 0x2b, 20079 0x4e, 0x5c, 0x2e, 0xff, 0x49, 0x0a, 0xf2, 0x51, 0x44, 0xf2, 0x3e, 0xe4, 0x6a, 0xf4, 0x01, 0x75, 20080 0x6d, 0xff, 0x30, 0x92, 0xee, 0x9e, 0xe3, 0x88, 0x32, 0xae, 0x70, 0xf5, 0xc4, 0x2f, 0x33, 0xa0, 20081 0x19, 0x76, 0x13, 0x57, 0x74, 0x19, 0x99, 0xa7, 0xa5, 0xcb, 0x30, 0xfe, 0xdb, 0x34, 0x9c, 0xb9, 20082 0x4d, 0x7d, 0xb5, 0x4f, 0xc1, 0x6b, 0xf2, 0x67, 0x86, 0xeb, 0x97, 0xd2, 0x93, 0x05, 0x18, 0xc3, 20083 0x22, 0x39, 0xbf, 0xa6, 0xfc, 0x49, 0x96, 0x83, 0x75, 0x9d, 0xd1, 0xa2, 0xda, 0xf7, 0xa9, 0xfb, 20084 0xaa, 0x12, 0xe7, 0x3a, 0x58, 0xd6, 0x97, 0x60, 0x1a, 0x03, 0x39, 0xf6, 0xd8, 0xe7, 0x40, 0x9b, 20085 0x42, 0xa7, 0x93, 0x33, 0x23, 0x50, 0xf2, 0x2a, 0xe4, 0x19, 0xa4, 0xd8, 0x38, 0xe8, 0x38, 0x0f, 20086 0x5b, 0xb4, 0xb9, 0x47, 0x79, 0x4a, 0xe1, 0x9c, 0x19, 0x83, 0x4b, 0x9e, 0x5b, 0x1d, 0x7e, 0x1f, 20087 0xa3, 0x4d, 0x54, 0xbc, 0x08, 0x9e, 0x21, 0x74, 0xf1, 0x2d, 0x98, 0xf8, 0x84, 0x31, 0xeb, 0x8d, 20088 0xff, 0x26, 0x05, 0xf3, 0xd8, 0x39, 0xa5, 0x62, 0xd4, 0xc8, 0x7f, 0x26, 0x1c, 0x2d, 0x25, 0x8c, 20089 0xb3, 0xc5, 0x40, 0xfa, 0xa7, 0x10, 0x8c, 0x62, 0xa8, 0xe8, 0x49, 0x0f, 0xa1, 0xe8, 0xa9, 0x9d, 20090 0x24, 0x03, 0xe1, 0x90, 0x7a, 0x2a, 0x9e, 0x37, 0x3a, 0x9c, 0x72, 0xe3, 0x87, 0xd3, 0x30, 0x66, 20091 0x52, 0x4c, 0xcd, 0x46, 0x2e, 0xc1, 0xd8, 0xba, 0xe3, 0x53, 0xef, 0x9e, 0x96, 0x87, 0xaf, 0xc3, 20092 0x40, 0xf5, 0x76, 0xd3, 0x94, 0x85, 0x6c, 0xc1, 0x57, 0x5d, 0xa7, 0xd9, 0x6b, 0xf8, 0xea, 0x82, 20093 0xef, 0x72, 0x90, 0x29, 0xcb, 0xc8, 0xeb, 0x30, 0x2e, 0x38, 0x07, 0x6f, 0x78, 0x68, 0x7b, 0xea, 20094 0xd2, 0x20, 0xb5, 0x5f, 0x88, 0x80, 0x82, 0x2a, 0x97, 0x1a, 0xb2, 0x8a, 0xa0, 0x1a, 0x13, 0x04, 20095 0xa4, 0xfc, 0x3d, 0x32, 0x40, 0xfe, 0xfe, 0x0c, 0x8c, 0x16, 0x3d, 0x8f, 0xfa, 0xd2, 0x6d, 0x78, 20096 0x32, 0x08, 0x55, 0xe2, 0x51, 0x9f, 0x33, 0xb6, 0xb0, 0xdc, 0x14, 0x78, 0xc6, 0x9f, 0xa6, 0x61, 20097 0x04, 0xff, 0xc4, 0x77, 0x4b, 0xb7, 0xb1, 0xaf, 0xbd, 0x5b, 0xba, 0x8d, 0x7d, 0x13, 0xa1, 0xe4, 20098 0x3a, 0xaa, 0x1f, 0x64, 0xc4, 0x71, 0xd1, 0x7b, 0xd4, 0xab, 0x37, 0x43, 0xb0, 0xa9, 0xe2, 0x04, 20099 0x0f, 0xba, 0x99, 0xc4, 0x60, 0x01, 0xa7, 0x21, 0xbd, 0x51, 0x13, 0x3d, 0xc6, 0x48, 0x24, 0x8e, 20100 0x67, 0xa6, 0x37, 0x6a, 0x38, 0x1a, 0xab, 0xc5, 0xa5, 0x37, 0x6f, 0xaa, 0x29, 0x23, 0xbd, 0x7d, 20101 0x6b, 0xe9, 0xcd, 0x9b, 0xa6, 0x28, 0x61, 0xe3, 0x8b, 0x6d, 0xc6, 0x87, 0x4d, 0xee, 0x69, 0x8b, 20102 0xe3, 0x8b, 0x7d, 0xc3, 0x47, 0x4c, 0x33, 0x44, 0x20, 0x4b, 0x30, 0x21, 0x9c, 0xab, 0x11, 0x5f, 20103 0x71, 0x7e, 0x16, 0xce, 0xd7, 0x9c, 0x42, 0x45, 0xe2, 0x4f, 0x5c, 0x62, 0x82, 0x64, 0x5e, 0x24, 20104 0xf1, 0xc4, 0x25, 0xa7, 0xd0, 0x33, 0x15, 0x94, 0xd0, 0x51, 0x38, 0xf4, 0xa0, 0x55, 0x1d, 0x85, 20105 0x31, 0x30, 0x67, 0x80, 0x60, 0xfc, 0x52, 0x1a, 0x72, 0xd5, 0x56, 0x6f, 0xcf, 0xee, 0xdc, 0xbf, 20106 0xfe, 0xe7, 0x9a, 0xb6, 0xfc, 0x0d, 0xc0, 0x43, 0x42, 0xdc, 0x08, 0xa4, 0x96, 0x9a, 0x37, 0x4d, 20107 0x08, 0x1f, 0x9c, 0x04, 0xd1, 0xc8, 0x0d, 0x10, 0x0b, 0x53, 0x64, 0xb1, 0x3b, 0xa5, 0x13, 0xf0, 20108 0x8c, 0x26, 0x92, 0x44, 0xa0, 0x92, 0x77, 0x61, 0x22, 0xcc, 0x1f, 0x1d, 0x26, 0xa7, 0x53, 0x29, 20109 0x4b, 0x61, 0xf9, 0xfd, 0xeb, 0xa6, 0x8a, 0x6e, 0x7c, 0x6b, 0x14, 0x26, 0xd5, 0xf6, 0x10, 0x13, 20110 0xe6, 0xbc, 0x16, 0xbb, 0x90, 0x0b, 0xdb, 0xa2, 0x2e, 0x16, 0x8a, 0xe3, 0xf4, 0x82, 0xde, 0x20, 20111 0x86, 0xc7, 0x0d, 0x8d, 0x6a, 0xd4, 0xf7, 0xed, 0xce, 0x9e, 0xb7, 0xfa, 0x9c, 0x39, 0xeb, 0x85, 20112 0x60, 0x8e, 0x47, 0x8a, 0x90, 0x73, 0xba, 0xde, 0x1e, 0xed, 0xd8, 0xf2, 0x11, 0xe5, 0xa2, 0xc6, 20113 0x68, 0x43, 0x14, 0xc6, 0x78, 0x05, 0x64, 0xe4, 0x4d, 0x18, 0x75, 0xba, 0xb4, 0x63, 0xd9, 0xe2, 20114 0x8c, 0x7b, 0x3e, 0xc2, 0x80, 0x76, 0x8a, 0x15, 0x85, 0x50, 0x20, 0x93, 0x6b, 0x90, 0x75, 0x0e, 20115 0x82, 0xf9, 0x3a, 0xab, 0x13, 0x1d, 0xf8, 0x96, 0x42, 0x82, 0x88, 0x8c, 0xe0, 0x63, 0xab, 0xbd, 20116 0x2b, 0x66, 0x4c, 0x27, 0xb8, 0x63, 0xb5, 0x77, 0x55, 0x02, 0x86, 0x48, 0x3e, 0x00, 0xe8, 0x5a, 20117 0x7b, 0xd4, 0xad, 0x37, 0x7b, 0xfe, 0xa1, 0x98, 0xb7, 0x17, 0x34, 0xb2, 0x2a, 0x2b, 0x2e, 0xf7, 20118 0xfc, 0x43, 0x85, 0x76, 0xbc, 0x2b, 0x81, 0xa4, 0x08, 0xd0, 0xb6, 0x7c, 0x9f, 0xba, 0x6d, 0x47, 20119 0x18, 0x77, 0x4d, 0x2c, 0x15, 0x34, 0x06, 0xf7, 0x82, 0x62, 0x85, 0x83, 0x42, 0x84, 0x8d, 0xb6, 20120 0x5d, 0x4b, 0xe4, 0x12, 0x8c, 0x34, 0xda, 0x76, 0xb5, 0x5e, 0x32, 0x44, 0xf2, 0x79, 0x18, 0x6b, 20121 0xda, 0x5e, 0xc3, 0x71, 0x9b, 0x22, 0x2b, 0xfd, 0x39, 0x8d, 0xa6, 0xcc, 0xcb, 0x14, 0x32, 0x89, 20122 0xce, 0x5a, 0x2b, 0x02, 0x6f, 0xad, 0x3b, 0x0f, 0x45, 0x9e, 0x7a, 0xbd, 0xb5, 0xb5, 0xa0, 0x58, 20123 0x6d, 0x6d, 0x48, 0xc4, 0xa6, 0x72, 0xcf, 0xf6, 0x5b, 0xd6, 0x8e, 0x78, 0x47, 0xd6, 0xa7, 0xf2, 20124 0x36, 0x16, 0xa9, 0x53, 0xc9, 0x91, 0xc9, 0x5b, 0x90, 0xa3, 0x1d, 0xdf, 0xb5, 0xea, 0x76, 0x53, 20125 0x38, 0xc5, 0xe9, 0x8d, 0x66, 0x07, 0xb0, 0x55, 0x29, 0xab, 0x8d, 0x46, 0xfc, 0x4a, 0x93, 0xbc, 20126 0x00, 0xb0, 0x47, 0x3b, 0x94, 0xfb, 0x89, 0xf2, 0x47, 0x03, 0x53, 0x81, 0xbc, 0x9d, 0xfd, 0x1f, 20127 0x7f, 0xa1, 0x90, 0x5a, 0x06, 0xc8, 0x79, 0x82, 0xd8, 0x58, 0x83, 0xb3, 0x7d, 0xd7, 0x38, 0xb9, 20128 0x02, 0xf9, 0x5d, 0x4b, 0xa8, 0xad, 0x1a, 0xfb, 0x56, 0xa7, 0x43, 0x5b, 0x62, 0x77, 0x99, 0x91, 20129 0xf0, 0x12, 0x07, 0x73, 0xce, 0xc6, 0x07, 0x30, 0x9f, 0xd4, 0x39, 0xf2, 0x22, 0x4c, 0xaa, 0x91, 20130 0x1e, 0x04, 0x93, 0x09, 0xab, 0x6b, 0xcb, 0x58, 0x0f, 0x82, 0xc1, 0x6f, 0xa4, 0xe0, 0xdc, 0xa0, 20131 0x4f, 0x85, 0x2c, 0x42, 0xae, 0xeb, 0xda, 0x0e, 0x8a, 0x64, 0x7c, 0x43, 0x0b, 0x7e, 0x93, 0xf3, 20132 0x00, 0x5c, 0x76, 0xf0, 0xad, 0x3d, 0x61, 0xbb, 0x6e, 0x8e, 0x23, 0x64, 0xd3, 0xda, 0xf3, 0xc8, 20133 0x6b, 0x30, 0xdb, 0xa4, 0xbb, 0x56, 0xaf, 0xe5, 0xd7, 0xbd, 0xc6, 0x3e, 0x6d, 0xa2, 0xbb, 0x08, 20134 0xda, 0x24, 0x99, 0x79, 0x51, 0x50, 0x93, 0xf0, 0x58, 0x8b, 0x47, 0xfa, 0xb4, 0xf8, 0x4e, 0x36, 20135 0x97, 0xca, 0xa7, 0x4d, 0x34, 0xcd, 0x31, 0x7e, 0x20, 0x0d, 0x0b, 0xfd, 0xd6, 0x06, 0x79, 0x2f, 20136 0x69, 0x0c, 0xb8, 0xe6, 0x5d, 0x85, 0xab, 0x9a, 0x77, 0xa5, 0x36, 0xb2, 0x04, 0x81, 0xb3, 0xc7, 20137 0x71, 0x8e, 0xdb, 0x12, 0xc6, 0x68, 0xba, 0x96, 0xe7, 0x3d, 0x64, 0xcb, 0x3f, 0xa3, 0x04, 0x2c, 20138 0x13, 0x30, 0x95, 0x46, 0xc2, 0xc8, 0xe7, 0x00, 0x1a, 0x2d, 0xc7, 0xa3, 0xf8, 0xc0, 0x2d, 0xce, 20139 0x55, 0x6e, 0xf1, 0x1a, 0x40, 0xd5, 0x17, 0x4d, 0x84, 0x96, 0x9c, 0x26, 0x15, 0x13, 0x68, 0xc1, 20140 0x99, 0x3e, 0x9b, 0x01, 0x9b, 0x9e, 0x30, 0x77, 0x9f, 0x8c, 0x04, 0xde, 0x0b, 0x32, 0xf8, 0x45, 20141 0x47, 0x3c, 0xdd, 0x6f, 0x8d, 0x1c, 0x02, 0x89, 0x7f, 0xf1, 0x8c, 0xbb, 0xb0, 0xdb, 0xec, 0xb9, 20142 0x01, 0x77, 0x0e, 0xd9, 0x72, 0x5b, 0xa4, 0x00, 0x13, 0x32, 0xd3, 0x07, 0x93, 0x5b, 0x39, 0x73, 20143 0x10, 0xa0, 0xbb, 0x14, 0x17, 0x0f, 0xc6, 0xd5, 0x43, 0x97, 0x1e, 0x71, 0x22, 0x8e, 0x23, 0x84, 20144 0x5d, 0xf5, 0x45, 0xd5, 0xe7, 0xe4, 0xfa, 0xd6, 0xf7, 0x61, 0x51, 0xfa, 0xb3, 0x29, 0x39, 0xfd, 20145 0xf1, 0x8d, 0xec, 0xb8, 0xf6, 0x11, 0x40, 0x07, 0x0c, 0xd1, 0x30, 0xfc, 0x9b, 0x9d, 0xd0, 0xf2, 20146 0xab, 0x13, 0x27, 0xb4, 0xf8, 0x49, 0x2e, 0xc1, 0x8c, 0xcb, 0x4d, 0xf4, 0x7c, 0x47, 0x8c, 0x27, 20147 0xce, 0x94, 0x39, 0xc5, 0xc1, 0x9b, 0x0e, 0x8e, 0xa9, 0x68, 0xd7, 0x9d, 0x60, 0xc0, 0x94, 0x7d, 20148 0x9d, 0x5c, 0x85, 0x71, 0xb6, 0xaf, 0x63, 0x2c, 0x87, 0x88, 0xe5, 0x37, 0xe2, 0xe1, 0x29, 0x69, 20149 0xe6, 0x3e, 0x16, 0x7f, 0x0b, 0x5e, 0xff, 0x34, 0x25, 0x99, 0xa9, 0xa7, 0x0a, 0x39, 0x03, 0x63, 20150 0x8e, 0xbb, 0xa7, 0x74, 0x6d, 0xd4, 0x71, 0xf7, 0x58, 0xbf, 0x2e, 0x43, 0x9e, 0x3b, 0x22, 0x70, 20151 0x0f, 0x6f, 0xef, 0xb0, 0xc3, 0xaf, 0x9d, 0x39, 0x73, 0x9a, 0xc3, 0x31, 0x9d, 0xe1, 0x61, 0xa7, 20152 0xc1, 0x30, 0x3d, 0xcf, 0xa9, 0xab, 0x01, 0x5c, 0x44, 0xb7, 0xa7, 0x3d, 0xcf, 0x09, 0x23, 0xb9, 20153 0x34, 0xc9, 0x32, 0x4c, 0x31, 0x3e, 0x75, 0xb9, 0x89, 0x89, 0x43, 0xef, 0x7c, 0xfc, 0xd0, 0x3b, 20154 0xec, 0x34, 0x64, 0x13, 0xcd, 0x49, 0x4f, 0xf9, 0x25, 0x7a, 0xf3, 0x73, 0x69, 0x38, 0x9d, 0x8c, 20155 0x8e, 0xf3, 0xc5, 0x2a, 0x41, 0x7f, 0x1c, 0xae, 0x82, 0x34, 0xc7, 0x19, 0x84, 0x87, 0x1c, 0x48, 20156 0x6a, 0x6d, 0x3a, 0xb1, 0xb5, 0xaf, 0xc2, 0x2c, 0x32, 0x12, 0x62, 0x46, 0xcb, 0xf6, 0x7c, 0xe1, 20157 0x49, 0x6f, 0xce, 0xb0, 0x02, 0xbe, 0xc1, 0xad, 0x31, 0x30, 0x79, 0x19, 0xa6, 0xe5, 0x16, 0xe5, 20158 0x3c, 0xec, 0xb0, 0x8a, 0xf9, 0xfe, 0x34, 0x25, 0xa0, 0x1b, 0x08, 0x24, 0xa7, 0x60, 0xd4, 0xea, 20159 0x76, 0x59, 0x95, 0x7c, 0x5b, 0x1a, 0xb1, 0xba, 0xdd, 0x4a, 0x93, 0x5c, 0x84, 0x29, 0xf4, 0x3e, 20160 0xaa, 0xef, 0xa2, 0xdd, 0x87, 0xb0, 0xf7, 0x32, 0x27, 0x11, 0xc8, 0x6d, 0x41, 0x3c, 0xf6, 0x21, 20161 0x30, 0x5a, 0x89, 0x32, 0x86, 0x28, 0x60, 0x75, 0x25, 0x82, 0x18, 0x99, 0xcf, 0xc3, 0x8c, 0x38, 20162 0x1c, 0xc5, 0x0e, 0x8f, 0x94, 0x62, 0xfd, 0x31, 0xa9, 0x15, 0x75, 0x41, 0xe3, 0x26, 0x08, 0x50, 20163 0xa5, 0x29, 0x29, 0xff, 0x20, 0x05, 0xa7, 0x12, 0x4f, 0x57, 0xf2, 0x35, 0xe0, 0xce, 0x18, 0xbe, 20164 0x53, 0x77, 0x69, 0xc3, 0xee, 0xda, 0xe8, 0xae, 0xce, 0x75, 0x4a, 0x4b, 0x83, 0xce, 0x65, 0x74, 20165 0xec, 0xd8, 0x74, 0xcc, 0x80, 0x88, 0x5f, 0x8b, 0xf3, 0x6e, 0x04, 0xbc, 0xf8, 0x11, 0x9c, 0x4a, 20166 0x44, 0x4d, 0xb8, 0xae, 0xbe, 0xae, 0x67, 0x8a, 0x92, 0x8f, 0x04, 0x91, 0x4e, 0x2b, 0xd7, 0x58, 20167 0xd1, 0xbd, 0xa6, 0xec, 0x5d, 0xe4, 0x18, 0x26, 0x2b, 0xd1, 0x55, 0x99, 0x24, 0x49, 0x4a, 0xa2, 20168 0xe3, 0x16, 0xe6, 0xaa, 0x3c, 0x96, 0x13, 0x08, 0x12, 0x56, 0x49, 0x2a, 0x61, 0x95, 0x08, 0x4e, 20169 0x7f, 0x2f, 0x2d, 0x4f, 0xd4, 0x65, 0xc7, 0xf1, 0x3d, 0xdf, 0xb5, 0xba, 0x9a, 0x94, 0x4c, 0xda, 20170 0x70, 0xd6, 0xb1, 0x7a, 0xfe, 0xfe, 0x52, 0x9d, 0xfd, 0xeb, 0xb8, 0xd2, 0x7b, 0xaf, 0x21, 0xed, 20171 0x9e, 0x26, 0x96, 0xae, 0xe9, 0x5f, 0x56, 0x91, 0x61, 0x17, 0x55, 0x64, 0x76, 0x00, 0x28, 0x5c, 20172 0x57, 0x9f, 0x33, 0xcf, 0x70, 0x9e, 0x31, 0x2c, 0xb2, 0x0a, 0x5a, 0xa6, 0xeb, 0x44, 0x31, 0x59, 20173 0xc9, 0x4a, 0xad, 0x73, 0x9d, 0xd8, 0x51, 0xd2, 0x62, 0xbf, 0x0f, 0xe3, 0x76, 0x53, 0x84, 0xea, 20174 0x12, 0xc2, 0xb2, 0x2e, 0xa0, 0x55, 0x9a, 0x3c, 0x72, 0x57, 0xc8, 0x83, 0x49, 0xda, 0xb6, 0x80, 20175 0x2e, 0x4f, 0x69, 0xf7, 0x09, 0x63, 0x59, 0x6e, 0xde, 0x71, 0xb2, 0x58, 0xd2, 0xe2, 0xd3, 0x30, 20176 0xea, 0x29, 0xb1, 0xc3, 0x4c, 0xf1, 0xcb, 0xf8, 0x4b, 0x70, 0x79, 0xd8, 0x31, 0x22, 0x6f, 0x00, 20177 0xe9, 0x33, 0xe0, 0xe3, 0xe6, 0xac, 0x15, 0x1b, 0xb7, 0x17, 0x41, 0x8d, 0xbf, 0x64, 0xcb, 0xe3, 20178 0x51, 0xc2, 0xb6, 0x5c, 0xdb, 0x78, 0x0f, 0xa6, 0xf5, 0x0b, 0x14, 0x79, 0x0d, 0xb2, 0x01, 0xd7, 20179 0xe9, 0x40, 0xd1, 0xa7, 0x22, 0x31, 0xde, 0x26, 0x22, 0x19, 0xff, 0x22, 0x0d, 0x73, 0x09, 0xd7, 20180 0x28, 0xf2, 0x11, 0xcc, 0xc9, 0x05, 0xc2, 0xb7, 0x30, 0x3e, 0x71, 0x7c, 0x69, 0x5c, 0x49, 0x5a, 20181 0x1a, 0x88, 0x96, 0x30, 0x7d, 0xb3, 0x62, 0x51, 0x84, 0xe5, 0x7f, 0x71, 0x96, 0x03, 0xf9, 0x10, 20182 0x4e, 0x8b, 0xc4, 0x91, 0xca, 0xaa, 0xa8, 0xbb, 0x74, 0x57, 0x1c, 0x2f, 0x2f, 0xc6, 0x46, 0xcf, 20183 0x6e, 0x28, 0xcd, 0x31, 0xe9, 0xee, 0xea, 0x73, 0xe6, 0xbc, 0x97, 0x00, 0x8f, 0xae, 0xb4, 0xbf, 20184 0x9f, 0x02, 0xe3, 0xf8, 0xf1, 0x42, 0x81, 0x28, 0x3a, 0xe0, 0x4c, 0x20, 0x52, 0x46, 0xef, 0x22, 20185 0x4c, 0xb9, 0x74, 0xd7, 0xa5, 0xde, 0x7e, 0x5d, 0x4d, 0xa2, 0x3d, 0x29, 0x80, 0x72, 0x60, 0xa4, 20186 0x03, 0xf2, 0x10, 0x6a, 0xd3, 0x1c, 0xbb, 0x72, 0x73, 0x85, 0x97, 0x20, 0x32, 0x6e, 0x05, 0x1b, 20187 0x48, 0xe2, 0x3c, 0x84, 0x19, 0xbc, 0x53, 0x4a, 0x06, 0xef, 0x3b, 0xd9, 0x5c, 0x3a, 0x9f, 0x31, 20188 0x85, 0x9b, 0xf4, 0xae, 0xdd, 0xa2, 0xc6, 0xaf, 0xa7, 0x60, 0xb1, 0xff, 0xe0, 0x91, 0x8f, 0x14, 20189 0xc5, 0x7f, 0x86, 0x47, 0x89, 0x3a, 0x66, 0xbc, 0x55, 0x1d, 0xa9, 0xf0, 0xdc, 0x8d, 0xe6, 0x4c, 20190 0x14, 0x2c, 0x9f, 0x44, 0x7b, 0xf9, 0x96, 0xd4, 0x1b, 0xb0, 0x23, 0xfa, 0xfe, 0x75, 0x72, 0x05, 20191 0xc6, 0xb8, 0xaa, 0x40, 0x36, 0x74, 0x46, 0x6b, 0xe8, 0xfd, 0xeb, 0xa6, 0x2c, 0x37, 0xbe, 0x9d, 20192 0x0a, 0x6e, 0x57, 0xd1, 0xe6, 0xdf, 0xbf, 0x4e, 0x3e, 0x37, 0x9c, 0x0a, 0x3f, 0x27, 0x55, 0xf8, 20193 0x81, 0xfa, 0xfe, 0xf3, 0x9a, 0xfa, 0xfe, 0xa5, 0xc1, 0xe3, 0x24, 0xe4, 0xb8, 0x68, 0x56, 0xab, 20194 0x7f, 0x95, 0x82, 0xf3, 0x03, 0x29, 0xc8, 0x39, 0xc8, 0x15, 0xab, 0x95, 0xcd, 0x70, 0x66, 0xd9, 20195 0xd7, 0x22, 0x21, 0xe4, 0x36, 0x8c, 0x2f, 0x5b, 0x9e, 0xdd, 0x60, 0x0b, 0x58, 0x34, 0xe4, 0x95, 20196 0xc1, 0x0d, 0x09, 0xd0, 0x57, 0x9f, 0x33, 0x43, 0x5a, 0x52, 0x87, 0x59, 0xfc, 0x0a, 0x62, 0x59, 20197 0x63, 0xa2, 0xc7, 0x4e, 0x8c, 0x61, 0x8c, 0x8c, 0xed, 0x30, 0x31, 0x60, 0xf4, 0xe3, 0x7b, 0x00, 20198 0x17, 0x8e, 0x6b, 0xe0, 0x09, 0x9c, 0xed, 0x2f, 0x43, 0xae, 0x2a, 0x6f, 0x58, 0x4a, 0xd2, 0x38, 20199 0x79, 0x9b, 0x32, 0x83, 0x52, 0xe3, 0xaf, 0xa5, 0xe4, 0xd9, 0x70, 0x7c, 0x47, 0x94, 0x60, 0x96, 20200 0xcd, 0xc1, 0xc1, 0x2c, 0x9b, 0x9f, 0x30, 0x98, 0xa5, 0xf1, 0x4b, 0x22, 0x14, 0x4e, 0xa5, 0x59, 20201 0x8d, 0x84, 0x11, 0x7f, 0xd2, 0x07, 0xc9, 0x15, 0x6d, 0x75, 0x5e, 0x54, 0xa2, 0xe2, 0xc6, 0xeb, 20202 0xea, 0xff, 0x2e, 0xa9, 0x2c, 0xd5, 0x7f, 0x91, 0x86, 0x73, 0x83, 0xc8, 0x13, 0x23, 0x9e, 0xa7, 20203 0x4e, 0x16, 0xf1, 0xfc, 0x0a, 0xe4, 0x38, 0x4c, 0xcf, 0x70, 0x24, 0x48, 0xd9, 0x80, 0xcb, 0x62, 20204 0x72, 0x11, 0x46, 0x8b, 0xa5, 0x5a, 0x18, 0x01, 0x14, 0x35, 0xe8, 0x56, 0xc3, 0x43, 0xdd, 0xac, 20205 0x28, 0x22, 0x5f, 0x8d, 0x07, 0xbd, 0x15, 0xa1, 0x3f, 0x9f, 0x4f, 0xca, 0x53, 0x2e, 0x9d, 0x96, 20206 0xb1, 0xbd, 0x61, 0x54, 0x25, 0x11, 0xa8, 0xc4, 0x8c, 0x07, 0xd0, 0x35, 0x60, 0xb4, 0xea, 0x52, 20207 0x8f, 0xfa, 0xaa, 0x76, 0xbb, 0x8b, 0x10, 0x53, 0x94, 0x08, 0xdd, 0xb3, 0x75, 0xc8, 0xed, 0x87, 20208 0x47, 0x55, 0xf7, 0x0a, 0x54, 0x56, 0x33, 0xb0, 0xa9, 0xa0, 0x18, 0xdf, 0x4c, 0xc1, 0x7c, 0x52, 20209 0xb3, 0xc8, 0x39, 0xc8, 0x76, 0x12, 0xc3, 0xf5, 0x76, 0xb8, 0x15, 0xa3, 0x9a, 0xa4, 0x5d, 0x55, 20210 0xe9, 0x6b, 0xb9, 0xdb, 0x3b, 0x61, 0xee, 0xf6, 0x82, 0xdc, 0x6c, 0x33, 0xb1, 0x00, 0xbf, 0xf8, 20211 0x9f, 0x51, 0x04, 0xa8, 0x34, 0xab, 0x1b, 0x5d, 0x1e, 0xf4, 0xe8, 0x06, 0x64, 0x59, 0xb3, 0x22, 20212 0x8b, 0x91, 0x2d, 0x87, 0xe2, 0xbd, 0x35, 0x81, 0xc4, 0x5b, 0xe5, 0x59, 0xed, 0x96, 0x89, 0xc8, 20213 0xc6, 0x36, 0x4c, 0xeb, 0x18, 0x64, 0x45, 0x77, 0x93, 0x0f, 0x13, 0xdf, 0x2e, 0x3b, 0x0e, 0x7f, 20214 0x56, 0x5e, 0x3e, 0xfb, 0x9d, 0xa3, 0x02, 0xb0, 0x9f, 0x9c, 0x26, 0xc9, 0x8d, 0xde, 0xf8, 0xa9, 20215 0x34, 0xcc, 0x87, 0xe6, 0xa9, 0xf2, 0x93, 0x78, 0x66, 0x6d, 0xa5, 0x8a, 0x9a, 0x2d, 0x4f, 0x21, 20216 0x96, 0x5b, 0x52, 0x76, 0x70, 0x80, 0x09, 0xc1, 0x6d, 0x58, 0xe8, 0x87, 0x4f, 0x5e, 0x8b, 0x65, 20217 0x7f, 0x13, 0x6e, 0x54, 0x41, 0x9a, 0x38, 0x25, 0x19, 0xdc, 0x3f, 0x4b, 0xc1, 0xa2, 0x78, 0x0c, 20218 0xbd, 0x67, 0xd9, 0x1d, 0xcc, 0x78, 0xdb, 0xa0, 0x4f, 0xc7, 0xd6, 0xef, 0xb6, 0xb6, 0x2d, 0xbd, 20219 0xac, 0xbf, 0x79, 0xc7, 0x6a, 0xeb, 0xdf, 0x5b, 0x72, 0x05, 0x1d, 0xe6, 0x1a, 0x7c, 0xf1, 0x66, 20220 0xb9, 0x6d, 0x75, 0x87, 0x01, 0x54, 0xdb, 0x6a, 0xc4, 0x30, 0xfe, 0x0a, 0xbc, 0x30, 0xb8, 0x02, 20221 0xf2, 0x15, 0x98, 0x2a, 0xee, 0xd1, 0x8e, 0xbf, 0xd5, 0xdd, 0x73, 0xad, 0x26, 0x95, 0x97, 0x46, 20222 0xa9, 0xd9, 0x56, 0xcb, 0xb8, 0x93, 0xa0, 0xb0, 0xf5, 0x65, 0xf0, 0x7a, 0x4f, 0x10, 0x69, 0x16, 20223 0x07, 0x2a, 0x37, 0xe3, 0x07, 0x52, 0x40, 0xe2, 0x3c, 0xc8, 0x4d, 0x98, 0xdc, 0xda, 0x2c, 0xd5, 20224 0x7c, 0xcb, 0xf5, 0x57, 0x9d, 0x9e, 0x2b, 0x9c, 0xef, 0xb8, 0xe9, 0xa7, 0xdf, 0x60, 0x3b, 0x83, 20225 0xeb, 0xd7, 0xf7, 0x9d, 0x9e, 0x6b, 0x6a, 0x78, 0x18, 0xc9, 0x92, 0xd2, 0x83, 0xa6, 0x75, 0xa8, 20226 0x47, 0xb2, 0x14, 0x30, 0x2d, 0x92, 0xa5, 0x80, 0x19, 0x7f, 0x27, 0x05, 0xcf, 0x4b, 0xb5, 0x6a, 20227 0x33, 0xa1, 0x2d, 0x25, 0x74, 0x70, 0x70, 0x65, 0xf0, 0x81, 0x41, 0xb2, 0xe9, 0xac, 0xf4, 0x01, 20228 0xc2, 0x06, 0xa2, 0x90, 0xca, 0x69, 0x31, 0xdd, 0xb7, 0xef, 0x74, 0x87, 0x70, 0x02, 0xca, 0x07, 20229 0x33, 0xea, 0x3b, 0x5d, 0x64, 0x81, 0x94, 0x06, 0x85, 0x79, 0xb5, 0x71, 0xb2, 0xc5, 0xe4, 0x1e, 20230 0x8c, 0x09, 0xef, 0x4c, 0x21, 0xed, 0x49, 0x87, 0xdd, 0x01, 0x7d, 0x5a, 0x9e, 0x91, 0x9e, 0x46, 20231 0xc2, 0xf9, 0xdd, 0x94, 0x3c, 0x8c, 0x9f, 0x4c, 0xc1, 0x04, 0x13, 0x1e, 0x30, 0x1e, 0xcc, 0x93, 20232 0x2e, 0x69, 0x5d, 0x0e, 0x94, 0x1a, 0x8c, 0x80, 0xfd, 0x50, 0x87, 0xeb, 0x9b, 0x30, 0x13, 0x21, 20233 0x20, 0x06, 0xda, 0x98, 0xb7, 0x6c, 0x9e, 0x38, 0x59, 0x2a, 0x17, 0x34, 0x98, 0xf1, 0xaf, 0xa5, 20234 0x60, 0x7e, 0xe3, 0xc0, 0xb7, 0x2a, 0xed, 0xae, 0xe3, 0xfa, 0x66, 0xaf, 0x25, 0xbf, 0x77, 0x26, 20235 0x10, 0x49, 0xfd, 0x3c, 0xb7, 0x7f, 0xe5, 0x02, 0x91, 0x80, 0x99, 0x41, 0x29, 0x59, 0x85, 0x9c, 20236 0x38, 0x5f, 0x64, 0xa2, 0x7f, 0xf9, 0x9a, 0xa4, 0x33, 0x16, 0x48, 0xac, 0x27, 0xb8, 0x85, 0x09, 20237 0x1a, 0x33, 0xa0, 0x36, 0xfe, 0x34, 0x05, 0x67, 0xfa, 0xd0, 0x90, 0xf7, 0x60, 0x04, 0xcd, 0x78, 20238 0xc4, 0xec, 0x9d, 0xeb, 0x53, 0x85, 0xdf, 0xd8, 0xbf, 0x7f, 0x9d, 0x1f, 0x44, 0x6d, 0xf6, 0xc3, 20239 0xe4, 0x54, 0xe4, 0x23, 0x18, 0x2f, 0x36, 0x9b, 0xe2, 0x5e, 0x92, 0xd6, 0xee, 0x25, 0x7d, 0x6a, 20240 0xbc, 0x1a, 0xe0, 0xf3, 0x7b, 0x09, 0x7f, 0x50, 0x6e, 0x36, 0x45, 0x3e, 0x77, 0x33, 0xe4, 0xb7, 20241 0xf8, 0x2e, 0x4c, 0xeb, 0xc8, 0x27, 0xba, 0x97, 0x7c, 0x3b, 0x05, 0x79, 0xbd, 0x0d, 0x9f, 0x8e, 20242 0x8f, 0x54, 0xd2, 0x34, 0x1f, 0xb3, 0xa8, 0x7e, 0x26, 0x0d, 0xa7, 0x12, 0x47, 0x98, 0xbc, 0x01, 20243 0xa3, 0xc5, 0x6e, 0xb7, 0x52, 0x16, 0xab, 0x4a, 0x08, 0x3c, 0xa8, 0xcb, 0xd4, 0xae, 0x6d, 0x1c, 20244 0x89, 0xdc, 0x80, 0x1c, 0xae, 0x4c, 0x46, 0x90, 0x0e, 0xbd, 0xc7, 0xb9, 0x96, 0x33, 0xe2, 0x3d, 20245 0x2e, 0x11, 0xc9, 0x2d, 0x98, 0x16, 0xee, 0x12, 0x26, 0xdd, 0xa3, 0x8f, 0x82, 0x30, 0x46, 0x18, 20246 0x69, 0x49, 0x3a, 0x57, 0xd4, 0x5d, 0x5e, 0xa6, 0x3a, 0x0c, 0xe8, 0x54, 0x98, 0x8d, 0x90, 0xf1, 20247 0x54, 0x39, 0x71, 0x17, 0x76, 0x9e, 0x8d, 0x10, 0x1b, 0xd1, 0x87, 0x57, 0x8c, 0x32, 0x98, 0xae, 20248 0xa2, 0xe7, 0xd9, 0x7b, 0x9d, 0x36, 0xed, 0xf8, 0x9f, 0xde, 0x74, 0x85, 0x75, 0x0c, 0x35, 0x5d, 20249 0xdf, 0xca, 0xf2, 0x8f, 0x39, 0x4a, 0x76, 0x4c, 0xc2, 0xdd, 0x32, 0x8c, 0x71, 0x47, 0x0d, 0xf9, 20250 0x65, 0x9c, 0x4f, 0x6c, 0x02, 0xc7, 0xb9, 0x7f, 0x9d, 0x8b, 0x2f, 0xdc, 0x9e, 0xc8, 0x33, 0x25, 20251 0x29, 0xb9, 0x0f, 0x13, 0xa5, 0x16, 0xb5, 0x3a, 0xbd, 0x2e, 0xdb, 0xa4, 0x87, 0xd0, 0x50, 0x2c, 20252 0x88, 0xbe, 0x4c, 0x36, 0x38, 0x59, 0xdd, 0xb7, 0xdb, 0x14, 0x77, 0x72, 0x95, 0x11, 0xd9, 0x0c, 20253 0x4c, 0x0c, 0xb2, 0xa8, 0xfc, 0xfa, 0xcc, 0x80, 0xf1, 0x89, 0x02, 0x91, 0x4e, 0xb7, 0x9f, 0x11, 20254 0x36, 0x08, 0x75, 0x98, 0x5e, 0xb3, 0x3c, 0x7f, 0xd3, 0xb5, 0x3a, 0x1e, 0xfa, 0x5a, 0x0f, 0xe1, 20255 0x00, 0x27, 0x93, 0x19, 0xcd, 0xa0, 0x83, 0x83, 0x1f, 0x90, 0x62, 0x9b, 0x23, 0xec, 0x98, 0xbc, 20256 0x74, 0xcb, 0xee, 0x58, 0x2d, 0xfb, 0x1b, 0xd2, 0x12, 0x8b, 0xcb, 0x4b, 0xbb, 0x12, 0x68, 0x86, 20257 0xe5, 0xc6, 0x97, 0x63, 0xf3, 0xc6, 0x5b, 0x39, 0x01, 0x63, 0xc2, 0xf8, 0x96, 0x1b, 0xa3, 0x56, 20258 0x57, 0xd6, 0xcb, 0x95, 0xf5, 0xdb, 0xf9, 0x14, 0x99, 0x06, 0xa8, 0x9a, 0x1b, 0xa5, 0x95, 0x5a, 20259 0x8d, 0xfd, 0x4e, 0xb3, 0xdf, 0xc2, 0x52, 0xf5, 0xd6, 0xd6, 0x5a, 0x3e, 0xa3, 0x18, 0xab, 0x66, 20260 0x8d, 0x7f, 0x9a, 0x82, 0xd3, 0xc9, 0x53, 0x49, 0x36, 0x01, 0xcd, 0x95, 0x85, 0x5e, 0xf1, 0xe6, 20261 0xc0, 0x79, 0x4f, 0x04, 0x47, 0xcd, 0x9e, 0x7d, 0x6e, 0x4e, 0x9b, 0x96, 0xaf, 0x28, 0x61, 0x52, 20262 0x21, 0xbb, 0x69, 0x94, 0x60, 0xa1, 0x1f, 0x0f, 0xbd, 0xab, 0x33, 0x30, 0x51, 0xac, 0x56, 0xd7, 20263 0x2a, 0xa5, 0xe2, 0x66, 0x65, 0x63, 0x3d, 0x9f, 0x22, 0xe3, 0x30, 0x72, 0xdb, 0xdc, 0xd8, 0xaa, 20264 0xe6, 0xd3, 0xc6, 0x5f, 0x4f, 0xc1, 0x54, 0xa5, 0xe3, 0xd3, 0x3d, 0xfe, 0x14, 0xfe, 0xa4, 0x1f, 20265 0xdf, 0xdb, 0xda, 0xc7, 0xb7, 0x10, 0x18, 0xf6, 0x07, 0x15, 0x0c, 0xf5, 0xe5, 0xfd, 0xf3, 0x14, 20266 0xcc, 0xc6, 0x68, 0x48, 0x0d, 0xc6, 0x8a, 0xdb, 0xb5, 0x8d, 0x4a, 0xb9, 0x24, 0x5a, 0x26, 0xa5, 20267 0x72, 0x01, 0x8d, 0xd7, 0xc2, 0xed, 0xe6, 0x1e, 0x7a, 0x75, 0xc7, 0x6e, 0x2a, 0x81, 0xd9, 0x57, 20268 0x9f, 0x33, 0x25, 0x27, 0x3c, 0xc9, 0xbe, 0xd1, 0x73, 0x29, 0xb2, 0x4d, 0x6b, 0x1a, 0xcd, 0x00, 20269 0x1e, 0x67, 0xcc, 0x53, 0xf1, 0xb2, 0xf2, 0x38, 0xeb, 0x90, 0xdf, 0xf2, 0x14, 0x4c, 0x88, 0x5b, 20270 0x0b, 0x5e, 0x08, 0x7e, 0x3c, 0x05, 0x0b, 0xfd, 0xda, 0xca, 0x2e, 0x42, 0xba, 0x11, 0xed, 0xe9, 20271 0x20, 0x4a, 0x97, 0x6e, 0x3d, 0x2b, 0xd1, 0xc8, 0x7b, 0x30, 0xc1, 0x73, 0x9b, 0xd5, 0x6e, 0x6c, 20272 0x99, 0x15, 0xb1, 0x40, 0xd0, 0xcd, 0x4e, 0xa4, 0x2b, 0xf6, 0x6e, 0x44, 0x72, 0xd7, 0xaa, 0xf8, 20273 0xc6, 0x8f, 0xa6, 0x60, 0xb1, 0x7f, 0x17, 0xd9, 0x19, 0xb3, 0xc9, 0x24, 0xf3, 0xd0, 0x0a, 0x11, 20274 0xcf, 0x18, 0x94, 0xd6, 0x23, 0x66, 0x88, 0x01, 0x22, 0x23, 0x8a, 0x64, 0x44, 0x56, 0xf3, 0x1c, 20275 0xe8, 0x44, 0x12, 0xd1, 0xf8, 0x37, 0xd3, 0x70, 0x9a, 0x2d, 0x9f, 0x16, 0xf5, 0xbc, 0x62, 0xcf, 20276 0xdf, 0xa7, 0x1d, 0x5f, 0x08, 0x54, 0xe4, 0x73, 0x30, 0xba, 0x7f, 0x32, 0x5d, 0x20, 0x47, 0x27, 20277 0x04, 0x70, 0x4b, 0x96, 0xef, 0xc6, 0xec, 0x6f, 0x72, 0x1e, 0x94, 0xbc, 0x12, 0xb8, 0xa3, 0x4e, 20278 0x9a, 0xe3, 0xdd, 0x20, 0xbb, 0xc4, 0xe7, 0x61, 0x04, 0xef, 0xfe, 0x62, 0x63, 0x94, 0x02, 0x6d, 20279 0x72, 0xcb, 0x50, 0x33, 0x60, 0x72, 0x02, 0x72, 0x0d, 0x20, 0x8c, 0x05, 0x25, 0x76, 0x3e, 0x79, 20280 0x89, 0x0e, 0xc2, 0x41, 0x99, 0xe3, 0xed, 0x5d, 0x4b, 0x04, 0x58, 0x7a, 0x15, 0x66, 0xe5, 0x90, 20281 0x74, 0xa5, 0xb7, 0x2b, 0xd7, 0x44, 0x98, 0x33, 0xbc, 0xa0, 0xd2, 0x15, 0x1e, 0xaf, 0xc6, 0xff, 20282 0x90, 0x86, 0xf1, 0x6d, 0x26, 0x26, 0xe0, 0xe5, 0x77, 0xf0, 0x65, 0x7a, 0x09, 0x26, 0xd6, 0x1c, 20283 0xab, 0xa9, 0x67, 0x57, 0x47, 0x53, 0xbc, 0x96, 0x63, 0xc9, 0x47, 0x00, 0xcf, 0x54, 0x91, 0x8e, 20284 0x31, 0x23, 0xbc, 0x03, 0xa3, 0xfc, 0x01, 0x54, 0xa8, 0x69, 0xa4, 0xa0, 0x18, 0xb4, 0xe8, 0x2a, 20285 0x2f, 0x56, 0x94, 0xcd, 0xfc, 0x09, 0x55, 0x95, 0x5a, 0x84, 0xbf, 0xbd, 0x72, 0xd5, 0x1f, 0x19, 20286 0xee, 0xaa, 0xaf, 0xf8, 0x15, 0x8e, 0x0e, 0xe3, 0x57, 0xb8, 0xf8, 0x16, 0x4c, 0x28, 0xed, 0x39, 20287 0x91, 0xdc, 0xf8, 0x83, 0x69, 0x98, 0xc2, 0x5e, 0x05, 0xaf, 0x44, 0xcf, 0xa6, 0xe2, 0xe2, 0x6d, 20288 0x4d, 0x71, 0xb1, 0xa0, 0xce, 0x17, 0xef, 0xd9, 0x00, 0x8d, 0xc5, 0x1d, 0x98, 0x8d, 0x21, 0x92, 20289 0x37, 0x61, 0x84, 0x35, 0x5f, 0x5e, 0xf4, 0xf2, 0xd1, 0x15, 0xf0, 0xff, 0x10, 0x77, 0x75, 0xcb, 20290 0x6d, 0x24, 0x55, 0xd8, 0x23, 0xc9, 0x5e, 0xfb, 0xf8, 0xaf, 0xdd, 0xf1, 0x26, 0x26, 0xf1, 0x7a, 20291 0x17, 0x17, 0xa4, 0xc8, 0xc0, 0x2e, 0x2c, 0x3f, 0x05, 0x81, 0x5a, 0xb6, 0xc6, 0x52, 0xcb, 0x12, 20292 0xd6, 0xcc, 0x28, 0xd3, 0xa3, 0x98, 0x84, 0x9f, 0x29, 0xc5, 0x9e, 0x75, 0x06, 0x94, 0x91, 0x56, 20293 0x92, 0x37, 0x84, 0x07, 0xa0, 0x8a, 0xe2, 0x86, 0xe2, 0x05, 0xb8, 0xe1, 0x86, 0x67, 0xe0, 0x05, 20294 0xb6, 0xa0, 0xa8, 0xda, 0x27, 0xa0, 0x20, 0xef, 0xc0, 0xcd, 0x5e, 0x51, 0x7d, 0xba, 0x7b, 0xa6, 20295 0x67, 0x64, 0x99, 0xc4, 0x49, 0xc1, 0x9d, 0x75, 0xce, 0xe9, 0x76, 0x4f, 0xff, 0x9c, 0xee, 0x3e, 20296 0x7d, 0xce, 0x77, 0x72, 0x0c, 0x0a, 0xf1, 0xe1, 0x93, 0x40, 0x4a, 0xef, 0xff, 0xdb, 0x82, 0x35, 20297 0x05, 0x0e, 0x96, 0x7e, 0x34, 0xfc, 0xaf, 0xdd, 0x79, 0xbb, 0xdc, 0x9d, 0xd2, 0x29, 0x5e, 0x75, 20298 0xe7, 0xff, 0xba, 0x13, 0xef, 0x16, 0x3a, 0xf1, 0x46, 0x16, 0x91, 0xaa, 0x3f, 0xe7, 0x92, 0x3e, 20299 0xfc, 0x0b, 0x62, 0x34, 0x14, 0x05, 0xe9, 0xcf, 0x61, 0xc5, 0x8b, 0x9f, 0x16, 0xee, 0x4b, 0xb7, 20300 0xe7, 0x54, 0xfa, 0x5e, 0x26, 0x28, 0xd7, 0x14, 0x6e, 0x35, 0x69, 0xfc, 0x34, 0x9a, 0x79, 0xc4, 20301 0xc9, 0xab, 0x14, 0x57, 0xa6, 0x62, 0xb1, 0x97, 0x99, 0xfa, 0xca, 0x57, 0x0b, 0xe3, 0x3c, 0xfe, 20302 0x5c, 0x05, 0xc8, 0xdd, 0x5c, 0xc4, 0x02, 0x8c, 0x0b, 0x10, 0x9a, 0xca, 0x72, 0x8c, 0x24, 0x73, 20303 0x8e, 0x2b, 0x12, 0xbd, 0xad, 0x4c, 0xa2, 0x95, 0xf9, 0x11, 0xc3, 0x68, 0x1c, 0xad, 0x2b, 0x37, 20304 0x92, 0xd3, 0x78, 0xd0, 0x97, 0xba, 0xb8, 0x8a, 0x79, 0xbe, 0xb7, 0x73, 0xea, 0x9c, 0x2c, 0x0f, 20305 0xe8, 0x6c, 0xd2, 0x10, 0x02, 0x33, 0xae, 0x63, 0xb5, 0xab, 0xbb, 0x8e, 0x2d, 0x5e, 0xc1, 0x75, 20306 0x6c, 0xe9, 0x05, 0x5d, 0xc7, 0xba, 0xb0, 0x92, 0xa4, 0x9f, 0xc4, 0xe9, 0x74, 0x38, 0x7e, 0x86, 20307 0x8e, 0x25, 0xb9, 0x21, 0x4b, 0x74, 0x75, 0x5b, 0xf3, 0xe4, 0x78, 0xe3, 0x86, 0x99, 0xc9, 0x9b, 20308 0xc3, 0x9d, 0x11, 0x95, 0x0b, 0xc3, 0xe7, 0x15, 0xa0, 0xb3, 0x15, 0xd0, 0xef, 0xc3, 0xaa, 0x54, 20309 0xc1, 0xd1, 0x78, 0xf2, 0xb1, 0xf2, 0x3b, 0x92, 0xf1, 0x34, 0x06, 0xd9, 0x8c, 0xa7, 0x91, 0xe4, 20310 0x60, 0xf2, 0xf1, 0x80, 0xfe, 0x0c, 0xae, 0xe1, 0x00, 0x8c, 0xe2, 0x71, 0x32, 0x3c, 0x8d, 0x10, 20311 0xd1, 0xa0, 0x3f, 0x50, 0x98, 0xcd, 0xef, 0x62, 0x72, 0x81, 0x59, 0xf6, 0x9c, 0x81, 0x42, 0xf7, 20312 0x9e, 0x2e, 0x4a, 0x76, 0xa5, 0x20, 0x0d, 0x81, 0x98, 0xe5, 0x3f, 0x3a, 0x1f, 0x0c, 0xd4, 0xd8, 20313 0xdb, 0x98, 0x73, 0xb4, 0xc4, 0x9b, 0x53, 0xf1, 0x46, 0x5e, 0x71, 0xf3, 0x7c, 0x30, 0xa0, 0xdf, 20314 0x05, 0x18, 0xa6, 0xd1, 0x93, 0x64, 0x32, 0x91, 0xcf, 0x09, 0x99, 0x6b, 0x5e, 0x4e, 0x35, 0xbb, 20315 0x71, 0x98, 0xba, 0x92, 0x48, 0xbf, 0x0d, 0xe8, 0x86, 0x8b, 0xfe, 0xe9, 0x38, 0x03, 0x16, 0x15, 20316 0x0a, 0x9b, 0x26, 0x16, 0x87, 0xf3, 0x2c, 0xe6, 0xc9, 0xaf, 0xb5, 0xcb, 0xdb, 0x43, 0xd8, 0x52, 20317 0xf1, 0x37, 0xc7, 0xc9, 0xf4, 0xb1, 0x3a, 0xfd, 0xbe, 0xca, 0xd1, 0xd9, 0x38, 0xfe, 0xfe, 0xb6, 20318 0x06, 0xe0, 0x1c, 0x73, 0x1d, 0xfa, 0x75, 0x07, 0x16, 0xc5, 0x99, 0x5e, 0xdb, 0x06, 0xd0, 0xb2, 20319 0x8a, 0xf5, 0x9a, 0x96, 0x55, 0x94, 0x10, 0xeb, 0x35, 0x88, 0xcf, 0xd0, 0x3c, 0x55, 0xc9, 0x0d, 20320 0x09, 0x63, 0x49, 0x2a, 0x9c, 0x21, 0x25, 0x89, 0x76, 0x00, 0xf2, 0x60, 0x2c, 0x75, 0xcb, 0xdc, 20321 0xca, 0xa3, 0x1a, 0x14, 0x43, 0xc1, 0x6b, 0xe5, 0x01, 0x5d, 0xe6, 0xf4, 0xc9, 0xc5, 0xe8, 0x11, 20322 0xd4, 0xc2, 0x7e, 0xe6, 0x78, 0x36, 0x27, 0x44, 0xed, 0x1d, 0x85, 0xa9, 0x9d, 0x87, 0xa9, 0x6d, 20323 0x4c, 0xfb, 0x85, 0xd4, 0x03, 0x58, 0x09, 0x65, 0xb0, 0xa4, 0xf2, 0xa5, 0xcc, 0x89, 0x57, 0x56, 20324 0xe9, 0x52, 0x14, 0x4a, 0x09, 0x12, 0xcd, 0x53, 0x87, 0xca, 0x8c, 0xf2, 0x4d, 0xa8, 0x72, 0xee, 20325 0x2a, 0xc7, 0xec, 0xf5, 0xfc, 0xc6, 0xc0, 0xb9, 0xab, 0x73, 0x42, 0x99, 0xb9, 0xff, 0x85, 0x30, 20326 0xfd, 0x01, 0xac, 0x1a, 0x07, 0x62, 0x15, 0xd2, 0x80, 0x7d, 0x90, 0xe4, 0xe4, 0xc2, 0xb9, 0x3a, 20327 0x27, 0xd3, 0x0e, 0x90, 0xa3, 0xf3, 0x47, 0xb1, 0x33, 0x1a, 0xa1, 0xd3, 0xd4, 0x27, 0xf1, 0x58, 20328 0x42, 0x7f, 0x2d, 0xe7, 0x00, 0x1f, 0x51, 0x7f, 0x34, 0x8a, 0x4e, 0x35, 0xd7, 0xb4, 0x8f, 0x94, 20329 0x4b, 0xee, 0xc7, 0xe6, 0x00, 0x89, 0x5d, 0xb2, 0x78, 0x49, 0xc0, 0x5d, 0x52, 0x5f, 0x12, 0xf2, 20330 0xab, 0xc1, 0xd7, 0x2f, 0x08, 0xa9, 0xc3, 0xa7, 0x27, 0x23, 0xa4, 0xae, 0x10, 0x48, 0xf7, 0xd7, 20331 0xaa, 0x11, 0xaa, 0xad, 0x7a, 0xee, 0x03, 0x80, 0x1f, 0x0d, 0x93, 0xd4, 0x8d, 0xa7, 0x8f, 0x87, 20332 0xa7, 0x46, 0x64, 0xdf, 0xea, 0x2f, 0x86, 0x49, 0x1a, 0x3d, 0x41, 0xf2, 0xe7, 0xff, 0x78, 0xdb, 20333 0x10, 0x0a, 0x8c, 0xbf, 0xe9, 0xd7, 0x60, 0x45, 0xfc, 0x0a, 0x73, 0x07, 0x0c, 0x69, 0xf4, 0xc3, 20334 0xd2, 0x2a, 0x13, 0x5c, 0x26, 0x40, 0xef, 0x22, 0x9a, 0x5e, 0x32, 0x9a, 0x1a, 0x87, 0x51, 0x0d, 20335 0x9d, 0x97, 0x8c, 0xa6, 0x65, 0xf4, 0x0d, 0x43, 0x98, 0xb6, 0xb2, 0xa6, 0x6b, 0x3c, 0x46, 0x05, 20336 0xda, 0x87, 0x96, 0x2d, 0x35, 0x33, 0x22, 0x1d, 0xf6, 0x6f, 0x22, 0xe7, 0x97, 0x8a, 0x61, 0x23, 20337 0x78, 0xab, 0x21, 0x9f, 0x22, 0xd4, 0x9e, 0x20, 0x1b, 0x31, 0x79, 0x7c, 0x1a, 0x9d, 0x20, 0xb9, 20338 0xd0, 0x88, 0x4c, 0x98, 0x1e, 0xc0, 0xa6, 0x8c, 0x3f, 0xc9, 0x70, 0x9d, 0xd5, 0xfe, 0x80, 0x9a, 20339 0x28, 0x07, 0x7e, 0x36, 0xff, 0x7d, 0xa9, 0x00, 0x6d, 0xc2, 0x22, 0x5e, 0xc8, 0x54, 0x10, 0xc0, 20340 0x2d, 0xf3, 0x1e, 0x5a, 0x9e, 0xf5, 0xa8, 0x05, 0xf0, 0x06, 0x6a, 0x6a, 0x01, 0x14, 0xdd, 0x6f, 20341 0xc3, 0x92, 0x9c, 0xe0, 0x08, 0xc5, 0xa2, 0x70, 0xde, 0x0c, 0x20, 0x0f, 0x09, 0xc5, 0xa2, 0xe8, 20342 0xb3, 0x50, 0x2c, 0x46, 0x81, 0xfd, 0x23, 0xd8, 0xbe, 0xe8, 0xdf, 0x17, 0x2e, 0x7a, 0xd6, 0x8b, 20343 0x5e, 0xf4, 0xfe, 0x58, 0x85, 0x35, 0xac, 0x4d, 0x6b, 0x36, 0x07, 0xd6, 0xf9, 0xf9, 0xa3, 0x2c, 20344 0xa4, 0x49, 0x6b, 0x38, 0x99, 0xde, 0xdb, 0x64, 0x98, 0x4f, 0x39, 0x85, 0x12, 0x94, 0xc1, 0x86, 20345 0xd6, 0xae, 0x0a, 0x7f, 0xbe, 0x92, 0xa3, 0xa0, 0xe8, 0x60, 0xdb, 0x59, 0xf4, 0xf9, 0x52, 0xa1, 20346 0x5c, 0xc7, 0x56, 0x5f, 0x46, 0xc7, 0xd6, 0x5e, 0x48, 0xc7, 0xfe, 0x04, 0xd6, 0xf4, 0x7f, 0x43, 20347 0xed, 0xb8, 0xf8, 0x6a, 0xda, 0xb1, 0x50, 0x19, 0xed, 0x64, 0x5a, 0x72, 0xe9, 0x52, 0x2d, 0x89, 20348 0xef, 0x63, 0x7a, 0x2d, 0xcc, 0x24, 0x94, 0x52, 0x75, 0x20, 0x3c, 0xf3, 0x61, 0xbd, 0x7b, 0x85, 20349 0x9d, 0xe7, 0x3b, 0xb0, 0xd2, 0x19, 0xea, 0xa7, 0x11, 0xc3, 0x26, 0x3d, 0xd0, 0x44, 0x73, 0x0b, 20350 0xce, 0x24, 0xb3, 0x1d, 0xa3, 0xfa, 0x3a, 0x76, 0x8c, 0xbb, 0x00, 0x5d, 0xe9, 0xb9, 0x9e, 0xc3, 20351 0xaa, 0xe2, 0xf2, 0xd5, 0x2e, 0xee, 0x45, 0xd3, 0xb8, 0x21, 0x2c, 0x74, 0x88, 0x72, 0xa2, 0x70, 20352 0x4e, 0x4e, 0x86, 0xe7, 0xe9, 0xb4, 0x90, 0x87, 0x40, 0xa7, 0x9a, 0xef, 0x2b, 0x9e, 0xb9, 0x88, 20353 0x4b, 0xc5, 0x5e, 0xef, 0x80, 0xd0, 0x7b, 0x99, 0xf7, 0xd7, 0xa5, 0x69, 0xd9, 0xf6, 0x67, 0x7a, 20354 0x68, 0xae, 0xcf, 0xd7, 0xfe, 0xdf, 0x2c, 0x13, 0x82, 0xea, 0x0a, 0x43, 0xfd, 0x3d, 0x80, 0xec, 20355 0x6d, 0x5a, 0x8f, 0xb5, 0xbc, 0xa5, 0x64, 0x54, 0xb3, 0x97, 0x73, 0x59, 0xe3, 0x6b, 0xaa, 0xaf, 20356 0xeb, 0x6b, 0x42, 0x58, 0xf5, 0x7f, 0x39, 0xed, 0xe7, 0xce, 0x0c, 0xc0, 0xb3, 0xd3, 0x21, 0x6a, 20357 0x26, 0x9d, 0x3e, 0x2e, 0x3f, 0x5b, 0xce, 0x4d, 0x1f, 0x97, 0x15, 0xdc, 0xbf, 0x07, 0x9b, 0xd2, 20358 0xfb, 0xf0, 0x70, 0xdc, 0x1f, 0x3d, 0x46, 0x3f, 0xfc, 0x1f, 0xca, 0xd8, 0x79, 0xab, 0x70, 0x7e, 20359 0x37, 0x84, 0x84, 0xc6, 0x7d, 0x96, 0x9e, 0xc8, 0x33, 0x45, 0xff, 0xa9, 0xd9, 0x56, 0xbc, 0x59, 20360 0x7d, 0x66, 0x01, 0x9d, 0x15, 0x37, 0xb5, 0x89, 0xf5, 0x7f, 0x38, 0xb1, 0x95, 0x4e, 0x3a, 0xb5, 20361 0x97, 0x39, 0xe9, 0xd8, 0xbf, 0xb7, 0x60, 0xb3, 0xed, 0xb8, 0x0a, 0x2f, 0x4a, 0xda, 0xd8, 0xbf, 20362 0x08, 0x6f, 0xb5, 0x1d, 0x37, 0xea, 0xfa, 0x9d, 0x76, 0xfd, 0x41, 0x74, 0x21, 0x0c, 0xc4, 0x5b, 20363 0xf0, 0x85, 0x59, 0x91, 0xdc, 0x16, 0xbf, 0x0b, 0x3b, 0xb3, 0x6c, 0x0d, 0x15, 0x71, 0x71, 0x61, 20364 0x8d, 0x2a, 0x51, 0xb5, 0x3f, 0x84, 0x4d, 0x8d, 0xa0, 0x10, 0x76, 0x38, 0x02, 0x2f, 0x6d, 0xc2, 20365 0xea, 0x7d, 0x16, 0xb4, 0x9b, 0x0f, 0xa2, 0x66, 0xaf, 0xd3, 0x21, 0x0b, 0x74, 0x1d, 0x56, 0x14, 20366 0xa1, 0xee, 0x10, 0x8b, 0xae, 0xc1, 0x72, 0xdb, 0xe3, 0xac, 0xde, 0x0b, 0x18, 0xa9, 0xd8, 0x1f, 20367 0xc2, 0x46, 0x9e, 0xe0, 0x1a, 0x4d, 0xe9, 0x6f, 0x40, 0x35, 0x70, 0x8e, 0xc9, 0x02, 0x05, 0x58, 20368 0xea, 0x1e, 0xd5, 0xf9, 0xfb, 0xef, 0x13, 0x8b, 0xae, 0xc2, 0x1b, 0x87, 0xf5, 0x6e, 0x74, 0xe4, 20369 0x72, 0x52, 0x11, 0x3f, 0x9c, 0x63, 0x8e, 0x3f, 0xaa, 0xf6, 0x37, 0x60, 0x0b, 0x77, 0xf4, 0x4e, 20370 0x32, 0x99, 0xc6, 0x69, 0x3c, 0xc6, 0x36, 0xac, 0xc1, 0x32, 0x8f, 0xc5, 0x22, 0x9f, 0xc6, 0xb2, 20371 0x01, 0xee, 0xf9, 0x60, 0x9a, 0x8c, 0x06, 0xf1, 0xaf, 0x88, 0x65, 0xdf, 0x85, 0xcd, 0x60, 0x78, 20372 0x3e, 0x4d, 0xd2, 0x33, 0x3e, 0x15, 0x12, 0x67, 0xcf, 0xe8, 0x9b, 0xb0, 0xd5, 0xf3, 0x1c, 0xf7, 20373 0xa0, 0x7d, 0xd8, 0xf3, 0x7b, 0x3c, 0x72, 0x9d, 0xb0, 0xde, 0x92, 0x86, 0x7c, 0xd7, 0xe7, 0x61, 20374 0x14, 0xb0, 0x3a, 0xf3, 0x42, 0x62, 0xd9, 0xbf, 0xb3, 0x60, 0xa3, 0x37, 0x51, 0xce, 0xa7, 0x3d, 20375 0x44, 0x03, 0x78, 0x07, 0x76, 0x7b, 0x9c, 0x05, 0x51, 0xe8, 0x1f, 0x31, 0x2f, 0xea, 0x71, 0xe7, 20376 0xb0, 0x8c, 0x41, 0xf2, 0x36, 0xdc, 0x32, 0x24, 0x02, 0x56, 0xf7, 0xef, 0xb3, 0x20, 0xea, 0x3a, 20377 0x9c, 0x1f, 0xfb, 0x41, 0x83, 0x58, 0xf4, 0x26, 0x5c, 0xbf, 0x40, 0xc0, 0x6d, 0x3a, 0xa4, 0x32, 20378 0xc3, 0xf3, 0xd8, 0xb1, 0xd3, 0x89, 0x0e, 0xfc, 0x90, 0x54, 0x6d, 0x57, 0x6c, 0x74, 0x18, 0xa6, 20379 0x2f, 0x41, 0x16, 0x97, 0xa1, 0xe6, 0xf9, 0x1e, 0x2b, 0x3f, 0xb6, 0xac, 0xc1, 0xb2, 0xd3, 0xed, 20380 0x06, 0xfe, 0x7d, 0x1c, 0x50, 0x80, 0xa5, 0x06, 0xf3, 0x44, 0xcb, 0xaa, 0x82, 0xd3, 0x0d, 0x7c, 20381 0xd7, 0x0f, 0x59, 0x83, 0xd4, 0xec, 0x40, 0x2f, 0x18, 0x5d, 0xe9, 0xc9, 0x50, 0xbe, 0x6c, 0x34, 20382 0x58, 0xd3, 0xe9, 0x75, 0x42, 0xd5, 0x21, 0x0f, 0xa2, 0x80, 0xdd, 0xeb, 0x31, 0x1e, 0x72, 0x62, 20383 0x51, 0x02, 0x6b, 0x1e, 0x63, 0x0d, 0x1e, 0x05, 0xec, 0x7e, 0x9b, 0x1d, 0x93, 0x8a, 0xa8, 0x53, 20384 0xfe, 0x2d, 0xfe, 0x83, 0xfd, 0x27, 0x0b, 0xa8, 0x84, 0x38, 0xd0, 0x60, 0x78, 0x38, 0x3e, 0x7b, 20385 0x70, 0xb3, 0x25, 0x3a, 0x16, 0x3f, 0xcd, 0xf5, 0x1b, 0xe5, 0x2e, 0xbb, 0x0e, 0xb4, 0xc4, 0xf7, 20386 0x9b, 0x4d, 0x62, 0xd1, 0x5b, 0x70, 0xad, 0x44, 0x6f, 0x04, 0x7e, 0x97, 0x54, 0x6e, 0x56, 0x96, 20387 0x2d, 0x7a, 0x63, 0x86, 0x79, 0xc4, 0x58, 0x97, 0x54, 0xc5, 0x10, 0x95, 0x18, 0x7a, 0x02, 0xca, 20388 0xe2, 0x35, 0xfb, 0x37, 0x16, 0x5c, 0x97, 0xcd, 0xd4, 0xb3, 0x39, 0x6b, 0xea, 0x2e, 0xec, 0x28, 20389 0x34, 0x96, 0x8b, 0x1a, 0xba, 0x0d, 0xa4, 0xc0, 0x95, 0xcd, 0x7c, 0x13, 0xb6, 0x0a, 0x54, 0x6c, 20390 0x47, 0x45, 0xac, 0xd5, 0x02, 0xf9, 0x80, 0xf1, 0x30, 0x62, 0xcd, 0xa6, 0x1f, 0x84, 0xb2, 0x21, 20391 0x55, 0x7b, 0x1f, 0xb6, 0xea, 0xf1, 0x78, 0x2a, 0x6e, 0x0a, 0xe9, 0x24, 0x19, 0xa6, 0xd8, 0x84, 20392 0x75, 0x58, 0x61, 0x3f, 0x0e, 0x99, 0xc7, 0xdb, 0xbe, 0x47, 0x16, 0xec, 0xdd, 0x92, 0x8c, 0x5e, 20393 0x35, 0x9c, 0xb7, 0xc8, 0x82, 0xdd, 0x87, 0x75, 0xed, 0xec, 0x29, 0x67, 0xc5, 0x1e, 0xdc, 0xd4, 20394 0x73, 0x0d, 0xd7, 0x6f, 0xf9, 0x13, 0x76, 0x60, 0x7b, 0x96, 0xcf, 0x42, 0x62, 0x89, 0x51, 0x28, 20395 0x71, 0x04, 0xbd, 0x62, 0xff, 0x14, 0xd6, 0x0a, 0xa8, 0xb1, 0x37, 0xe0, 0x9a, 0xf9, 0xbb, 0x1b, 20396 0xa7, 0xa7, 0x49, 0x7a, 0x46, 0x16, 0xca, 0x8c, 0xe0, 0x3c, 0x4d, 0x05, 0x03, 0x67, 0xbc, 0xc9, 20397 0x08, 0xe3, 0xf1, 0x93, 0x24, 0xed, 0x4f, 0xe3, 0x53, 0x52, 0xb1, 0xdf, 0x83, 0xf5, 0x02, 0xac, 20398 0x85, 0xf8, 0xb4, 0x8e, 0xaf, 0x14, 0x82, 0xcb, 0x1a, 0xed, 0x9e, 0x4b, 0x16, 0xc5, 0x5c, 0x6f, 20399 0xb5, 0x0f, 0x5b, 0x04, 0xec, 0x3f, 0x58, 0xe2, 0x48, 0x8a, 0x08, 0x74, 0x6e, 0xd3, 0xd1, 0x9d, 20400 0x21, 0x06, 0x42, 0x22, 0xe0, 0x30, 0xce, 0xe5, 0x2b, 0xdc, 0x2e, 0xec, 0xa8, 0x1f, 0x91, 0xe3, 20401 0x35, 0xa2, 0x96, 0x13, 0x34, 0x8e, 0x9d, 0x40, 0x8c, 0xce, 0x03, 0x52, 0xc1, 0x29, 0x67, 0x50, 20402 0xa2, 0xd0, 0xef, 0xd5, 0x5b, 0xa4, 0x2a, 0x46, 0xb8, 0x40, 0xef, 0xb6, 0x3d, 0x52, 0xc3, 0x09, 20403 0x3c, 0x23, 0x8d, 0xd5, 0x0a, 0xfe, 0xa2, 0x9d, 0x00, 0x29, 0x87, 0x37, 0xcc, 0x3c, 0x87, 0x06, 20404 0x3d, 0xcf, 0x93, 0x2b, 0x74, 0x13, 0x56, 0xfd, 0xb0, 0xc5, 0x02, 0x85, 0x51, 0x84, 0xa0, 0x44, 20405 0x3d, 0xcf, 0xe9, 0x85, 0x2d, 0x3f, 0x68, 0x3f, 0xc4, 0xa5, 0xba, 0x03, 0xdb, 0xbc, 0xe3, 0xd4, 20406 0x8f, 0x22, 0xcf, 0x0f, 0xa3, 0xb6, 0x17, 0xd5, 0x5b, 0x8e, 0xe7, 0xb1, 0x0e, 0x01, 0xfb, 0xef, 20407 0x16, 0xdc, 0xba, 0xe4, 0xd1, 0x84, 0xbe, 0x0b, 0x77, 0x5a, 0xcc, 0x69, 0x74, 0x18, 0xe7, 0x91, 20408 0xa8, 0x92, 0x79, 0xa1, 0x7a, 0x99, 0xbc, 0x70, 0x3a, 0xdc, 0x81, 0x2f, 0x5f, 0x2e, 0x9e, 0x2b, 20409 0x96, 0xaf, 0xc0, 0x97, 0x2e, 0x17, 0x55, 0x8a, 0xa6, 0x42, 0x6d, 0xb8, 0x7d, 0xb9, 0x64, 0xa6, 20410 0xa0, 0xaa, 0x07, 0x1f, 0x7c, 0xfa, 0xaf, 0xbd, 0x85, 0x4f, 0x9f, 0xef, 0x59, 0x9f, 0x3d, 0xdf, 20411 0xb3, 0xfe, 0xf9, 0x7c, 0xcf, 0x7a, 0xf8, 0xd5, 0x97, 0xc8, 0x06, 0xf6, 0x68, 0x09, 0x9f, 0xbe, 20412 0xbf, 0xf5, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfa, 0x01, 0xfd, 0xd2, 0x74, 0x7b, 0x01, 0x00, 20413 } 20414 20415 func (this *PluginSpecV1) Equal(that interface{}) bool { 20416 if that == nil { 20417 return this == nil 20418 } 20419 20420 that1, ok := that.(*PluginSpecV1) 20421 if !ok { 20422 that2, ok := that.(PluginSpecV1) 20423 if ok { 20424 that1 = &that2 20425 } else { 20426 return false 20427 } 20428 } 20429 if that1 == nil { 20430 return this == nil 20431 } else if this == nil { 20432 return false 20433 } 20434 if that1.Settings == nil { 20435 if this.Settings != nil { 20436 return false 20437 } 20438 } else if this.Settings == nil { 20439 return false 20440 } else if !this.Settings.Equal(that1.Settings) { 20441 return false 20442 } 20443 if this.Generation != that1.Generation { 20444 return false 20445 } 20446 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 20447 return false 20448 } 20449 return true 20450 } 20451 func (this *PluginSpecV1_SlackAccessPlugin) Equal(that interface{}) bool { 20452 if that == nil { 20453 return this == nil 20454 } 20455 20456 that1, ok := that.(*PluginSpecV1_SlackAccessPlugin) 20457 if !ok { 20458 that2, ok := that.(PluginSpecV1_SlackAccessPlugin) 20459 if ok { 20460 that1 = &that2 20461 } else { 20462 return false 20463 } 20464 } 20465 if that1 == nil { 20466 return this == nil 20467 } else if this == nil { 20468 return false 20469 } 20470 if !this.SlackAccessPlugin.Equal(that1.SlackAccessPlugin) { 20471 return false 20472 } 20473 return true 20474 } 20475 func (this *PluginSpecV1_Opsgenie) Equal(that interface{}) bool { 20476 if that == nil { 20477 return this == nil 20478 } 20479 20480 that1, ok := that.(*PluginSpecV1_Opsgenie) 20481 if !ok { 20482 that2, ok := that.(PluginSpecV1_Opsgenie) 20483 if ok { 20484 that1 = &that2 20485 } else { 20486 return false 20487 } 20488 } 20489 if that1 == nil { 20490 return this == nil 20491 } else if this == nil { 20492 return false 20493 } 20494 if !this.Opsgenie.Equal(that1.Opsgenie) { 20495 return false 20496 } 20497 return true 20498 } 20499 func (this *PluginSpecV1_Openai) Equal(that interface{}) bool { 20500 if that == nil { 20501 return this == nil 20502 } 20503 20504 that1, ok := that.(*PluginSpecV1_Openai) 20505 if !ok { 20506 that2, ok := that.(PluginSpecV1_Openai) 20507 if ok { 20508 that1 = &that2 20509 } else { 20510 return false 20511 } 20512 } 20513 if that1 == nil { 20514 return this == nil 20515 } else if this == nil { 20516 return false 20517 } 20518 if !this.Openai.Equal(that1.Openai) { 20519 return false 20520 } 20521 return true 20522 } 20523 func (this *PluginSpecV1_Okta) Equal(that interface{}) bool { 20524 if that == nil { 20525 return this == nil 20526 } 20527 20528 that1, ok := that.(*PluginSpecV1_Okta) 20529 if !ok { 20530 that2, ok := that.(PluginSpecV1_Okta) 20531 if ok { 20532 that1 = &that2 20533 } else { 20534 return false 20535 } 20536 } 20537 if that1 == nil { 20538 return this == nil 20539 } else if this == nil { 20540 return false 20541 } 20542 if !this.Okta.Equal(that1.Okta) { 20543 return false 20544 } 20545 return true 20546 } 20547 func (this *PluginSpecV1_Jamf) Equal(that interface{}) bool { 20548 if that == nil { 20549 return this == nil 20550 } 20551 20552 that1, ok := that.(*PluginSpecV1_Jamf) 20553 if !ok { 20554 that2, ok := that.(PluginSpecV1_Jamf) 20555 if ok { 20556 that1 = &that2 20557 } else { 20558 return false 20559 } 20560 } 20561 if that1 == nil { 20562 return this == nil 20563 } else if this == nil { 20564 return false 20565 } 20566 if !this.Jamf.Equal(that1.Jamf) { 20567 return false 20568 } 20569 return true 20570 } 20571 func (this *PluginSpecV1_PagerDuty) Equal(that interface{}) bool { 20572 if that == nil { 20573 return this == nil 20574 } 20575 20576 that1, ok := that.(*PluginSpecV1_PagerDuty) 20577 if !ok { 20578 that2, ok := that.(PluginSpecV1_PagerDuty) 20579 if ok { 20580 that1 = &that2 20581 } else { 20582 return false 20583 } 20584 } 20585 if that1 == nil { 20586 return this == nil 20587 } else if this == nil { 20588 return false 20589 } 20590 if !this.PagerDuty.Equal(that1.PagerDuty) { 20591 return false 20592 } 20593 return true 20594 } 20595 func (this *PluginSpecV1_Mattermost) Equal(that interface{}) bool { 20596 if that == nil { 20597 return this == nil 20598 } 20599 20600 that1, ok := that.(*PluginSpecV1_Mattermost) 20601 if !ok { 20602 that2, ok := that.(PluginSpecV1_Mattermost) 20603 if ok { 20604 that1 = &that2 20605 } else { 20606 return false 20607 } 20608 } 20609 if that1 == nil { 20610 return this == nil 20611 } else if this == nil { 20612 return false 20613 } 20614 if !this.Mattermost.Equal(that1.Mattermost) { 20615 return false 20616 } 20617 return true 20618 } 20619 func (this *PluginSpecV1_Jira) Equal(that interface{}) bool { 20620 if that == nil { 20621 return this == nil 20622 } 20623 20624 that1, ok := that.(*PluginSpecV1_Jira) 20625 if !ok { 20626 that2, ok := that.(PluginSpecV1_Jira) 20627 if ok { 20628 that1 = &that2 20629 } else { 20630 return false 20631 } 20632 } 20633 if that1 == nil { 20634 return this == nil 20635 } else if this == nil { 20636 return false 20637 } 20638 if !this.Jira.Equal(that1.Jira) { 20639 return false 20640 } 20641 return true 20642 } 20643 func (this *PluginSpecV1_Discord) Equal(that interface{}) bool { 20644 if that == nil { 20645 return this == nil 20646 } 20647 20648 that1, ok := that.(*PluginSpecV1_Discord) 20649 if !ok { 20650 that2, ok := that.(PluginSpecV1_Discord) 20651 if ok { 20652 that1 = &that2 20653 } else { 20654 return false 20655 } 20656 } 20657 if that1 == nil { 20658 return this == nil 20659 } else if this == nil { 20660 return false 20661 } 20662 if !this.Discord.Equal(that1.Discord) { 20663 return false 20664 } 20665 return true 20666 } 20667 func (this *PluginSpecV1_ServiceNow) Equal(that interface{}) bool { 20668 if that == nil { 20669 return this == nil 20670 } 20671 20672 that1, ok := that.(*PluginSpecV1_ServiceNow) 20673 if !ok { 20674 that2, ok := that.(PluginSpecV1_ServiceNow) 20675 if ok { 20676 that1 = &that2 20677 } else { 20678 return false 20679 } 20680 } 20681 if that1 == nil { 20682 return this == nil 20683 } else if this == nil { 20684 return false 20685 } 20686 if !this.ServiceNow.Equal(that1.ServiceNow) { 20687 return false 20688 } 20689 return true 20690 } 20691 func (this *PluginSpecV1_Gitlab) Equal(that interface{}) bool { 20692 if that == nil { 20693 return this == nil 20694 } 20695 20696 that1, ok := that.(*PluginSpecV1_Gitlab) 20697 if !ok { 20698 that2, ok := that.(PluginSpecV1_Gitlab) 20699 if ok { 20700 that1 = &that2 20701 } else { 20702 return false 20703 } 20704 } 20705 if that1 == nil { 20706 return this == nil 20707 } else if this == nil { 20708 return false 20709 } 20710 if !this.Gitlab.Equal(that1.Gitlab) { 20711 return false 20712 } 20713 return true 20714 } 20715 func (this *PluginSpecV1_EntraId) Equal(that interface{}) bool { 20716 if that == nil { 20717 return this == nil 20718 } 20719 20720 that1, ok := that.(*PluginSpecV1_EntraId) 20721 if !ok { 20722 that2, ok := that.(PluginSpecV1_EntraId) 20723 if ok { 20724 that1 = &that2 20725 } else { 20726 return false 20727 } 20728 } 20729 if that1 == nil { 20730 return this == nil 20731 } else if this == nil { 20732 return false 20733 } 20734 if !this.EntraId.Equal(that1.EntraId) { 20735 return false 20736 } 20737 return true 20738 } 20739 func (this *PluginSlackAccessSettings) Equal(that interface{}) bool { 20740 if that == nil { 20741 return this == nil 20742 } 20743 20744 that1, ok := that.(*PluginSlackAccessSettings) 20745 if !ok { 20746 that2, ok := that.(PluginSlackAccessSettings) 20747 if ok { 20748 that1 = &that2 20749 } else { 20750 return false 20751 } 20752 } 20753 if that1 == nil { 20754 return this == nil 20755 } else if this == nil { 20756 return false 20757 } 20758 if this.FallbackChannel != that1.FallbackChannel { 20759 return false 20760 } 20761 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 20762 return false 20763 } 20764 return true 20765 } 20766 func (this *PluginGitlabSettings) Equal(that interface{}) bool { 20767 if that == nil { 20768 return this == nil 20769 } 20770 20771 that1, ok := that.(*PluginGitlabSettings) 20772 if !ok { 20773 that2, ok := that.(PluginGitlabSettings) 20774 if ok { 20775 that1 = &that2 20776 } else { 20777 return false 20778 } 20779 } 20780 if that1 == nil { 20781 return this == nil 20782 } else if this == nil { 20783 return false 20784 } 20785 if this.ApiEndpoint != that1.ApiEndpoint { 20786 return false 20787 } 20788 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 20789 return false 20790 } 20791 return true 20792 } 20793 func (this *PluginOpsgenieAccessSettings) Equal(that interface{}) bool { 20794 if that == nil { 20795 return this == nil 20796 } 20797 20798 that1, ok := that.(*PluginOpsgenieAccessSettings) 20799 if !ok { 20800 that2, ok := that.(PluginOpsgenieAccessSettings) 20801 if ok { 20802 that1 = &that2 20803 } else { 20804 return false 20805 } 20806 } 20807 if that1 == nil { 20808 return this == nil 20809 } else if this == nil { 20810 return false 20811 } 20812 if this.Priority != that1.Priority { 20813 return false 20814 } 20815 if len(this.AlertTags) != len(that1.AlertTags) { 20816 return false 20817 } 20818 for i := range this.AlertTags { 20819 if this.AlertTags[i] != that1.AlertTags[i] { 20820 return false 20821 } 20822 } 20823 if len(this.DefaultSchedules) != len(that1.DefaultSchedules) { 20824 return false 20825 } 20826 for i := range this.DefaultSchedules { 20827 if this.DefaultSchedules[i] != that1.DefaultSchedules[i] { 20828 return false 20829 } 20830 } 20831 if this.ApiEndpoint != that1.ApiEndpoint { 20832 return false 20833 } 20834 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 20835 return false 20836 } 20837 return true 20838 } 20839 func (this *PluginServiceNowSettings) Equal(that interface{}) bool { 20840 if that == nil { 20841 return this == nil 20842 } 20843 20844 that1, ok := that.(*PluginServiceNowSettings) 20845 if !ok { 20846 that2, ok := that.(PluginServiceNowSettings) 20847 if ok { 20848 that1 = &that2 20849 } else { 20850 return false 20851 } 20852 } 20853 if that1 == nil { 20854 return this == nil 20855 } else if this == nil { 20856 return false 20857 } 20858 if this.ApiEndpoint != that1.ApiEndpoint { 20859 return false 20860 } 20861 if this.Username != that1.Username { 20862 return false 20863 } 20864 if this.Password != that1.Password { 20865 return false 20866 } 20867 if this.CloseCode != that1.CloseCode { 20868 return false 20869 } 20870 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 20871 return false 20872 } 20873 return true 20874 } 20875 func (this *PluginPagerDutySettings) Equal(that interface{}) bool { 20876 if that == nil { 20877 return this == nil 20878 } 20879 20880 that1, ok := that.(*PluginPagerDutySettings) 20881 if !ok { 20882 that2, ok := that.(PluginPagerDutySettings) 20883 if ok { 20884 that1 = &that2 20885 } else { 20886 return false 20887 } 20888 } 20889 if that1 == nil { 20890 return this == nil 20891 } else if this == nil { 20892 return false 20893 } 20894 if this.UserEmail != that1.UserEmail { 20895 return false 20896 } 20897 if this.ApiEndpoint != that1.ApiEndpoint { 20898 return false 20899 } 20900 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 20901 return false 20902 } 20903 return true 20904 } 20905 func (this *PluginJiraSettings) Equal(that interface{}) bool { 20906 if that == nil { 20907 return this == nil 20908 } 20909 20910 that1, ok := that.(*PluginJiraSettings) 20911 if !ok { 20912 that2, ok := that.(PluginJiraSettings) 20913 if ok { 20914 that1 = &that2 20915 } else { 20916 return false 20917 } 20918 } 20919 if that1 == nil { 20920 return this == nil 20921 } else if this == nil { 20922 return false 20923 } 20924 if this.ServerUrl != that1.ServerUrl { 20925 return false 20926 } 20927 if this.ProjectKey != that1.ProjectKey { 20928 return false 20929 } 20930 if this.IssueType != that1.IssueType { 20931 return false 20932 } 20933 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 20934 return false 20935 } 20936 return true 20937 } 20938 func (this *PluginOpenAISettings) Equal(that interface{}) bool { 20939 if that == nil { 20940 return this == nil 20941 } 20942 20943 that1, ok := that.(*PluginOpenAISettings) 20944 if !ok { 20945 that2, ok := that.(PluginOpenAISettings) 20946 if ok { 20947 that1 = &that2 20948 } else { 20949 return false 20950 } 20951 } 20952 if that1 == nil { 20953 return this == nil 20954 } else if this == nil { 20955 return false 20956 } 20957 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 20958 return false 20959 } 20960 return true 20961 } 20962 func (this *PluginMattermostSettings) Equal(that interface{}) bool { 20963 if that == nil { 20964 return this == nil 20965 } 20966 20967 that1, ok := that.(*PluginMattermostSettings) 20968 if !ok { 20969 that2, ok := that.(PluginMattermostSettings) 20970 if ok { 20971 that1 = &that2 20972 } else { 20973 return false 20974 } 20975 } 20976 if that1 == nil { 20977 return this == nil 20978 } else if this == nil { 20979 return false 20980 } 20981 if this.ServerUrl != that1.ServerUrl { 20982 return false 20983 } 20984 if this.Team != that1.Team { 20985 return false 20986 } 20987 if this.Channel != that1.Channel { 20988 return false 20989 } 20990 if this.ReportToEmail != that1.ReportToEmail { 20991 return false 20992 } 20993 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 20994 return false 20995 } 20996 return true 20997 } 20998 func (this *PluginJamfSettings) Equal(that interface{}) bool { 20999 if that == nil { 21000 return this == nil 21001 } 21002 21003 that1, ok := that.(*PluginJamfSettings) 21004 if !ok { 21005 that2, ok := that.(PluginJamfSettings) 21006 if ok { 21007 that1 = &that2 21008 } else { 21009 return false 21010 } 21011 } 21012 if that1 == nil { 21013 return this == nil 21014 } else if this == nil { 21015 return false 21016 } 21017 if !this.JamfSpec.Equal(that1.JamfSpec) { 21018 return false 21019 } 21020 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 21021 return false 21022 } 21023 return true 21024 } 21025 func (this *PluginOktaSettings) Equal(that interface{}) bool { 21026 if that == nil { 21027 return this == nil 21028 } 21029 21030 that1, ok := that.(*PluginOktaSettings) 21031 if !ok { 21032 that2, ok := that.(PluginOktaSettings) 21033 if ok { 21034 that1 = &that2 21035 } else { 21036 return false 21037 } 21038 } 21039 if that1 == nil { 21040 return this == nil 21041 } else if this == nil { 21042 return false 21043 } 21044 if this.OrgUrl != that1.OrgUrl { 21045 return false 21046 } 21047 if this.EnableUserSync != that1.EnableUserSync { 21048 return false 21049 } 21050 if this.SsoConnectorId != that1.SsoConnectorId { 21051 return false 21052 } 21053 if !this.SyncSettings.Equal(that1.SyncSettings) { 21054 return false 21055 } 21056 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 21057 return false 21058 } 21059 return true 21060 } 21061 func (this *PluginOktaSyncSettings) Equal(that interface{}) bool { 21062 if that == nil { 21063 return this == nil 21064 } 21065 21066 that1, ok := that.(*PluginOktaSyncSettings) 21067 if !ok { 21068 that2, ok := that.(PluginOktaSyncSettings) 21069 if ok { 21070 that1 = &that2 21071 } else { 21072 return false 21073 } 21074 } 21075 if that1 == nil { 21076 return this == nil 21077 } else if this == nil { 21078 return false 21079 } 21080 if this.SyncUsers != that1.SyncUsers { 21081 return false 21082 } 21083 if this.SsoConnectorId != that1.SsoConnectorId { 21084 return false 21085 } 21086 if this.SyncAccessLists != that1.SyncAccessLists { 21087 return false 21088 } 21089 if len(this.DefaultOwners) != len(that1.DefaultOwners) { 21090 return false 21091 } 21092 for i := range this.DefaultOwners { 21093 if this.DefaultOwners[i] != that1.DefaultOwners[i] { 21094 return false 21095 } 21096 } 21097 if this.AppId != that1.AppId { 21098 return false 21099 } 21100 if len(this.GroupFilters) != len(that1.GroupFilters) { 21101 return false 21102 } 21103 for i := range this.GroupFilters { 21104 if this.GroupFilters[i] != that1.GroupFilters[i] { 21105 return false 21106 } 21107 } 21108 if len(this.AppFilters) != len(that1.AppFilters) { 21109 return false 21110 } 21111 for i := range this.AppFilters { 21112 if this.AppFilters[i] != that1.AppFilters[i] { 21113 return false 21114 } 21115 } 21116 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 21117 return false 21118 } 21119 return true 21120 } 21121 func (this *DiscordChannels) Equal(that interface{}) bool { 21122 if that == nil { 21123 return this == nil 21124 } 21125 21126 that1, ok := that.(*DiscordChannels) 21127 if !ok { 21128 that2, ok := that.(DiscordChannels) 21129 if ok { 21130 that1 = &that2 21131 } else { 21132 return false 21133 } 21134 } 21135 if that1 == nil { 21136 return this == nil 21137 } else if this == nil { 21138 return false 21139 } 21140 if len(this.ChannelIds) != len(that1.ChannelIds) { 21141 return false 21142 } 21143 for i := range this.ChannelIds { 21144 if this.ChannelIds[i] != that1.ChannelIds[i] { 21145 return false 21146 } 21147 } 21148 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 21149 return false 21150 } 21151 return true 21152 } 21153 func (this *PluginDiscordSettings) Equal(that interface{}) bool { 21154 if that == nil { 21155 return this == nil 21156 } 21157 21158 that1, ok := that.(*PluginDiscordSettings) 21159 if !ok { 21160 that2, ok := that.(PluginDiscordSettings) 21161 if ok { 21162 that1 = &that2 21163 } else { 21164 return false 21165 } 21166 } 21167 if that1 == nil { 21168 return this == nil 21169 } else if this == nil { 21170 return false 21171 } 21172 if len(this.RoleToRecipients) != len(that1.RoleToRecipients) { 21173 return false 21174 } 21175 for i := range this.RoleToRecipients { 21176 if !this.RoleToRecipients[i].Equal(that1.RoleToRecipients[i]) { 21177 return false 21178 } 21179 } 21180 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 21181 return false 21182 } 21183 return true 21184 } 21185 func (this *PluginEntraIDSettings) Equal(that interface{}) bool { 21186 if that == nil { 21187 return this == nil 21188 } 21189 21190 that1, ok := that.(*PluginEntraIDSettings) 21191 if !ok { 21192 that2, ok := that.(PluginEntraIDSettings) 21193 if ok { 21194 that1 = &that2 21195 } else { 21196 return false 21197 } 21198 } 21199 if that1 == nil { 21200 return this == nil 21201 } else if this == nil { 21202 return false 21203 } 21204 if !this.SyncSettings.Equal(that1.SyncSettings) { 21205 return false 21206 } 21207 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 21208 return false 21209 } 21210 return true 21211 } 21212 func (this *PluginEntraIDSyncSettings) Equal(that interface{}) bool { 21213 if that == nil { 21214 return this == nil 21215 } 21216 21217 that1, ok := that.(*PluginEntraIDSyncSettings) 21218 if !ok { 21219 that2, ok := that.(PluginEntraIDSyncSettings) 21220 if ok { 21221 that1 = &that2 21222 } else { 21223 return false 21224 } 21225 } 21226 if that1 == nil { 21227 return this == nil 21228 } else if this == nil { 21229 return false 21230 } 21231 if len(this.DefaultOwners) != len(that1.DefaultOwners) { 21232 return false 21233 } 21234 for i := range this.DefaultOwners { 21235 if this.DefaultOwners[i] != that1.DefaultOwners[i] { 21236 return false 21237 } 21238 } 21239 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 21240 return false 21241 } 21242 return true 21243 } 21244 func (this *JamfSpecV1) Equal(that interface{}) bool { 21245 if that == nil { 21246 return this == nil 21247 } 21248 21249 that1, ok := that.(*JamfSpecV1) 21250 if !ok { 21251 that2, ok := that.(JamfSpecV1) 21252 if ok { 21253 that1 = &that2 21254 } else { 21255 return false 21256 } 21257 } 21258 if that1 == nil { 21259 return this == nil 21260 } else if this == nil { 21261 return false 21262 } 21263 if this.Enabled != that1.Enabled { 21264 return false 21265 } 21266 if this.Name != that1.Name { 21267 return false 21268 } 21269 if this.SyncDelay != that1.SyncDelay { 21270 return false 21271 } 21272 if this.ApiEndpoint != that1.ApiEndpoint { 21273 return false 21274 } 21275 if this.Username != that1.Username { 21276 return false 21277 } 21278 if this.Password != that1.Password { 21279 return false 21280 } 21281 if len(this.Inventory) != len(that1.Inventory) { 21282 return false 21283 } 21284 for i := range this.Inventory { 21285 if !this.Inventory[i].Equal(that1.Inventory[i]) { 21286 return false 21287 } 21288 } 21289 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 21290 return false 21291 } 21292 return true 21293 } 21294 func (this *JamfInventoryEntry) Equal(that interface{}) bool { 21295 if that == nil { 21296 return this == nil 21297 } 21298 21299 that1, ok := that.(*JamfInventoryEntry) 21300 if !ok { 21301 that2, ok := that.(JamfInventoryEntry) 21302 if ok { 21303 that1 = &that2 21304 } else { 21305 return false 21306 } 21307 } 21308 if that1 == nil { 21309 return this == nil 21310 } else if this == nil { 21311 return false 21312 } 21313 if this.FilterRsql != that1.FilterRsql { 21314 return false 21315 } 21316 if this.SyncPeriodPartial != that1.SyncPeriodPartial { 21317 return false 21318 } 21319 if this.SyncPeriodFull != that1.SyncPeriodFull { 21320 return false 21321 } 21322 if this.OnMissing != that1.OnMissing { 21323 return false 21324 } 21325 if this.PageSize != that1.PageSize { 21326 return false 21327 } 21328 if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { 21329 return false 21330 } 21331 return true 21332 } 21333 func (m *KeepAlive) Marshal() (dAtA []byte, err error) { 21334 size := m.Size() 21335 dAtA = make([]byte, size) 21336 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21337 if err != nil { 21338 return nil, err 21339 } 21340 return dAtA[:n], nil 21341 } 21342 21343 func (m *KeepAlive) MarshalTo(dAtA []byte) (int, error) { 21344 size := m.Size() 21345 return m.MarshalToSizedBuffer(dAtA[:size]) 21346 } 21347 21348 func (m *KeepAlive) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21349 i := len(dAtA) 21350 _ = i 21351 var l int 21352 _ = l 21353 if m.XXX_unrecognized != nil { 21354 i -= len(m.XXX_unrecognized) 21355 copy(dAtA[i:], m.XXX_unrecognized) 21356 } 21357 if len(m.HostID) > 0 { 21358 i -= len(m.HostID) 21359 copy(dAtA[i:], m.HostID) 21360 i = encodeVarintTypes(dAtA, i, uint64(len(m.HostID))) 21361 i-- 21362 dAtA[i] = 0x52 21363 } 21364 if m.Type != 0 { 21365 i = encodeVarintTypes(dAtA, i, uint64(m.Type)) 21366 i-- 21367 dAtA[i] = 0x48 21368 } 21369 n1, err1 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires):]) 21370 if err1 != nil { 21371 return 0, err1 21372 } 21373 i -= n1 21374 i = encodeVarintTypes(dAtA, i, uint64(n1)) 21375 i-- 21376 dAtA[i] = 0x22 21377 if m.LeaseID != 0 { 21378 i = encodeVarintTypes(dAtA, i, uint64(m.LeaseID)) 21379 i-- 21380 dAtA[i] = 0x18 21381 } 21382 if len(m.Namespace) > 0 { 21383 i -= len(m.Namespace) 21384 copy(dAtA[i:], m.Namespace) 21385 i = encodeVarintTypes(dAtA, i, uint64(len(m.Namespace))) 21386 i-- 21387 dAtA[i] = 0x12 21388 } 21389 if len(m.Name) > 0 { 21390 i -= len(m.Name) 21391 copy(dAtA[i:], m.Name) 21392 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 21393 i-- 21394 dAtA[i] = 0xa 21395 } 21396 return len(dAtA) - i, nil 21397 } 21398 21399 func (m *Metadata) Marshal() (dAtA []byte, err error) { 21400 size := m.Size() 21401 dAtA = make([]byte, size) 21402 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21403 if err != nil { 21404 return nil, err 21405 } 21406 return dAtA[:n], nil 21407 } 21408 21409 func (m *Metadata) MarshalTo(dAtA []byte) (int, error) { 21410 size := m.Size() 21411 return m.MarshalToSizedBuffer(dAtA[:size]) 21412 } 21413 21414 func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21415 i := len(dAtA) 21416 _ = i 21417 var l int 21418 _ = l 21419 if m.XXX_unrecognized != nil { 21420 i -= len(m.XXX_unrecognized) 21421 copy(dAtA[i:], m.XXX_unrecognized) 21422 } 21423 if len(m.Revision) > 0 { 21424 i -= len(m.Revision) 21425 copy(dAtA[i:], m.Revision) 21426 i = encodeVarintTypes(dAtA, i, uint64(len(m.Revision))) 21427 i-- 21428 dAtA[i] = 0x42 21429 } 21430 if m.ID != 0 { 21431 i = encodeVarintTypes(dAtA, i, uint64(m.ID)) 21432 i-- 21433 dAtA[i] = 0x38 21434 } 21435 if m.Expires != nil { 21436 n2, err2 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expires):]) 21437 if err2 != nil { 21438 return 0, err2 21439 } 21440 i -= n2 21441 i = encodeVarintTypes(dAtA, i, uint64(n2)) 21442 i-- 21443 dAtA[i] = 0x32 21444 } 21445 if len(m.Labels) > 0 { 21446 for k := range m.Labels { 21447 v := m.Labels[k] 21448 baseI := i 21449 i -= len(v) 21450 copy(dAtA[i:], v) 21451 i = encodeVarintTypes(dAtA, i, uint64(len(v))) 21452 i-- 21453 dAtA[i] = 0x12 21454 i -= len(k) 21455 copy(dAtA[i:], k) 21456 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 21457 i-- 21458 dAtA[i] = 0xa 21459 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 21460 i-- 21461 dAtA[i] = 0x2a 21462 } 21463 } 21464 if len(m.Description) > 0 { 21465 i -= len(m.Description) 21466 copy(dAtA[i:], m.Description) 21467 i = encodeVarintTypes(dAtA, i, uint64(len(m.Description))) 21468 i-- 21469 dAtA[i] = 0x1a 21470 } 21471 if len(m.Namespace) > 0 { 21472 i -= len(m.Namespace) 21473 copy(dAtA[i:], m.Namespace) 21474 i = encodeVarintTypes(dAtA, i, uint64(len(m.Namespace))) 21475 i-- 21476 dAtA[i] = 0x12 21477 } 21478 if len(m.Name) > 0 { 21479 i -= len(m.Name) 21480 copy(dAtA[i:], m.Name) 21481 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 21482 i-- 21483 dAtA[i] = 0xa 21484 } 21485 return len(dAtA) - i, nil 21486 } 21487 21488 func (m *Rotation) Marshal() (dAtA []byte, err error) { 21489 size := m.Size() 21490 dAtA = make([]byte, size) 21491 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21492 if err != nil { 21493 return nil, err 21494 } 21495 return dAtA[:n], nil 21496 } 21497 21498 func (m *Rotation) MarshalTo(dAtA []byte) (int, error) { 21499 size := m.Size() 21500 return m.MarshalToSizedBuffer(dAtA[:size]) 21501 } 21502 21503 func (m *Rotation) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21504 i := len(dAtA) 21505 _ = i 21506 var l int 21507 _ = l 21508 if m.XXX_unrecognized != nil { 21509 i -= len(m.XXX_unrecognized) 21510 copy(dAtA[i:], m.XXX_unrecognized) 21511 } 21512 { 21513 size, err := m.Schedule.MarshalToSizedBuffer(dAtA[:i]) 21514 if err != nil { 21515 return 0, err 21516 } 21517 i -= size 21518 i = encodeVarintTypes(dAtA, i, uint64(size)) 21519 } 21520 i-- 21521 dAtA[i] = 0x42 21522 n4, err4 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.LastRotated, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.LastRotated):]) 21523 if err4 != nil { 21524 return 0, err4 21525 } 21526 i -= n4 21527 i = encodeVarintTypes(dAtA, i, uint64(n4)) 21528 i-- 21529 dAtA[i] = 0x3a 21530 if m.GracePeriod != 0 { 21531 i = encodeVarintTypes(dAtA, i, uint64(m.GracePeriod)) 21532 i-- 21533 dAtA[i] = 0x30 21534 } 21535 n5, err5 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Started, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Started):]) 21536 if err5 != nil { 21537 return 0, err5 21538 } 21539 i -= n5 21540 i = encodeVarintTypes(dAtA, i, uint64(n5)) 21541 i-- 21542 dAtA[i] = 0x2a 21543 if len(m.CurrentID) > 0 { 21544 i -= len(m.CurrentID) 21545 copy(dAtA[i:], m.CurrentID) 21546 i = encodeVarintTypes(dAtA, i, uint64(len(m.CurrentID))) 21547 i-- 21548 dAtA[i] = 0x22 21549 } 21550 if len(m.Mode) > 0 { 21551 i -= len(m.Mode) 21552 copy(dAtA[i:], m.Mode) 21553 i = encodeVarintTypes(dAtA, i, uint64(len(m.Mode))) 21554 i-- 21555 dAtA[i] = 0x1a 21556 } 21557 if len(m.Phase) > 0 { 21558 i -= len(m.Phase) 21559 copy(dAtA[i:], m.Phase) 21560 i = encodeVarintTypes(dAtA, i, uint64(len(m.Phase))) 21561 i-- 21562 dAtA[i] = 0x12 21563 } 21564 if len(m.State) > 0 { 21565 i -= len(m.State) 21566 copy(dAtA[i:], m.State) 21567 i = encodeVarintTypes(dAtA, i, uint64(len(m.State))) 21568 i-- 21569 dAtA[i] = 0xa 21570 } 21571 return len(dAtA) - i, nil 21572 } 21573 21574 func (m *RotationSchedule) Marshal() (dAtA []byte, err error) { 21575 size := m.Size() 21576 dAtA = make([]byte, size) 21577 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21578 if err != nil { 21579 return nil, err 21580 } 21581 return dAtA[:n], nil 21582 } 21583 21584 func (m *RotationSchedule) MarshalTo(dAtA []byte) (int, error) { 21585 size := m.Size() 21586 return m.MarshalToSizedBuffer(dAtA[:size]) 21587 } 21588 21589 func (m *RotationSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21590 i := len(dAtA) 21591 _ = i 21592 var l int 21593 _ = l 21594 if m.XXX_unrecognized != nil { 21595 i -= len(m.XXX_unrecognized) 21596 copy(dAtA[i:], m.XXX_unrecognized) 21597 } 21598 n6, err6 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Standby, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Standby):]) 21599 if err6 != nil { 21600 return 0, err6 21601 } 21602 i -= n6 21603 i = encodeVarintTypes(dAtA, i, uint64(n6)) 21604 i-- 21605 dAtA[i] = 0x1a 21606 n7, err7 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.UpdateServers, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdateServers):]) 21607 if err7 != nil { 21608 return 0, err7 21609 } 21610 i -= n7 21611 i = encodeVarintTypes(dAtA, i, uint64(n7)) 21612 i-- 21613 dAtA[i] = 0x12 21614 n8, err8 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.UpdateClients, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdateClients):]) 21615 if err8 != nil { 21616 return 0, err8 21617 } 21618 i -= n8 21619 i = encodeVarintTypes(dAtA, i, uint64(n8)) 21620 i-- 21621 dAtA[i] = 0xa 21622 return len(dAtA) - i, nil 21623 } 21624 21625 func (m *ResourceHeader) Marshal() (dAtA []byte, err error) { 21626 size := m.Size() 21627 dAtA = make([]byte, size) 21628 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21629 if err != nil { 21630 return nil, err 21631 } 21632 return dAtA[:n], nil 21633 } 21634 21635 func (m *ResourceHeader) MarshalTo(dAtA []byte) (int, error) { 21636 size := m.Size() 21637 return m.MarshalToSizedBuffer(dAtA[:size]) 21638 } 21639 21640 func (m *ResourceHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21641 i := len(dAtA) 21642 _ = i 21643 var l int 21644 _ = l 21645 if m.XXX_unrecognized != nil { 21646 i -= len(m.XXX_unrecognized) 21647 copy(dAtA[i:], m.XXX_unrecognized) 21648 } 21649 { 21650 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 21651 if err != nil { 21652 return 0, err 21653 } 21654 i -= size 21655 i = encodeVarintTypes(dAtA, i, uint64(size)) 21656 } 21657 i-- 21658 dAtA[i] = 0x22 21659 if len(m.Version) > 0 { 21660 i -= len(m.Version) 21661 copy(dAtA[i:], m.Version) 21662 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 21663 i-- 21664 dAtA[i] = 0x1a 21665 } 21666 if len(m.SubKind) > 0 { 21667 i -= len(m.SubKind) 21668 copy(dAtA[i:], m.SubKind) 21669 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 21670 i-- 21671 dAtA[i] = 0x12 21672 } 21673 if len(m.Kind) > 0 { 21674 i -= len(m.Kind) 21675 copy(dAtA[i:], m.Kind) 21676 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 21677 i-- 21678 dAtA[i] = 0xa 21679 } 21680 return len(dAtA) - i, nil 21681 } 21682 21683 func (m *DatabaseServerV3) Marshal() (dAtA []byte, err error) { 21684 size := m.Size() 21685 dAtA = make([]byte, size) 21686 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21687 if err != nil { 21688 return nil, err 21689 } 21690 return dAtA[:n], nil 21691 } 21692 21693 func (m *DatabaseServerV3) MarshalTo(dAtA []byte) (int, error) { 21694 size := m.Size() 21695 return m.MarshalToSizedBuffer(dAtA[:size]) 21696 } 21697 21698 func (m *DatabaseServerV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21699 i := len(dAtA) 21700 _ = i 21701 var l int 21702 _ = l 21703 if m.XXX_unrecognized != nil { 21704 i -= len(m.XXX_unrecognized) 21705 copy(dAtA[i:], m.XXX_unrecognized) 21706 } 21707 { 21708 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 21709 if err != nil { 21710 return 0, err 21711 } 21712 i -= size 21713 i = encodeVarintTypes(dAtA, i, uint64(size)) 21714 } 21715 i-- 21716 dAtA[i] = 0x2a 21717 { 21718 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 21719 if err != nil { 21720 return 0, err 21721 } 21722 i -= size 21723 i = encodeVarintTypes(dAtA, i, uint64(size)) 21724 } 21725 i-- 21726 dAtA[i] = 0x22 21727 if len(m.Version) > 0 { 21728 i -= len(m.Version) 21729 copy(dAtA[i:], m.Version) 21730 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 21731 i-- 21732 dAtA[i] = 0x1a 21733 } 21734 if len(m.SubKind) > 0 { 21735 i -= len(m.SubKind) 21736 copy(dAtA[i:], m.SubKind) 21737 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 21738 i-- 21739 dAtA[i] = 0x12 21740 } 21741 if len(m.Kind) > 0 { 21742 i -= len(m.Kind) 21743 copy(dAtA[i:], m.Kind) 21744 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 21745 i-- 21746 dAtA[i] = 0xa 21747 } 21748 return len(dAtA) - i, nil 21749 } 21750 21751 func (m *DatabaseServerSpecV3) Marshal() (dAtA []byte, err error) { 21752 size := m.Size() 21753 dAtA = make([]byte, size) 21754 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21755 if err != nil { 21756 return nil, err 21757 } 21758 return dAtA[:n], nil 21759 } 21760 21761 func (m *DatabaseServerSpecV3) MarshalTo(dAtA []byte) (int, error) { 21762 size := m.Size() 21763 return m.MarshalToSizedBuffer(dAtA[:size]) 21764 } 21765 21766 func (m *DatabaseServerSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21767 i := len(dAtA) 21768 _ = i 21769 var l int 21770 _ = l 21771 if m.XXX_unrecognized != nil { 21772 i -= len(m.XXX_unrecognized) 21773 copy(dAtA[i:], m.XXX_unrecognized) 21774 } 21775 if len(m.ProxyIDs) > 0 { 21776 for iNdEx := len(m.ProxyIDs) - 1; iNdEx >= 0; iNdEx-- { 21777 i -= len(m.ProxyIDs[iNdEx]) 21778 copy(dAtA[i:], m.ProxyIDs[iNdEx]) 21779 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProxyIDs[iNdEx]))) 21780 i-- 21781 dAtA[i] = 0x6a 21782 } 21783 } 21784 if m.Database != nil { 21785 { 21786 size, err := m.Database.MarshalToSizedBuffer(dAtA[:i]) 21787 if err != nil { 21788 return 0, err 21789 } 21790 i -= size 21791 i = encodeVarintTypes(dAtA, i, uint64(size)) 21792 } 21793 i-- 21794 dAtA[i] = 0x62 21795 } 21796 { 21797 size, err := m.Rotation.MarshalToSizedBuffer(dAtA[:i]) 21798 if err != nil { 21799 return 0, err 21800 } 21801 i -= size 21802 i = encodeVarintTypes(dAtA, i, uint64(size)) 21803 } 21804 i-- 21805 dAtA[i] = 0x52 21806 if len(m.HostID) > 0 { 21807 i -= len(m.HostID) 21808 copy(dAtA[i:], m.HostID) 21809 i = encodeVarintTypes(dAtA, i, uint64(len(m.HostID))) 21810 i-- 21811 dAtA[i] = 0x42 21812 } 21813 if len(m.Hostname) > 0 { 21814 i -= len(m.Hostname) 21815 copy(dAtA[i:], m.Hostname) 21816 i = encodeVarintTypes(dAtA, i, uint64(len(m.Hostname))) 21817 i-- 21818 dAtA[i] = 0x3a 21819 } 21820 if len(m.Version) > 0 { 21821 i -= len(m.Version) 21822 copy(dAtA[i:], m.Version) 21823 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 21824 i-- 21825 dAtA[i] = 0x32 21826 } 21827 return len(dAtA) - i, nil 21828 } 21829 21830 func (m *DatabaseV3List) Marshal() (dAtA []byte, err error) { 21831 size := m.Size() 21832 dAtA = make([]byte, size) 21833 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21834 if err != nil { 21835 return nil, err 21836 } 21837 return dAtA[:n], nil 21838 } 21839 21840 func (m *DatabaseV3List) MarshalTo(dAtA []byte) (int, error) { 21841 size := m.Size() 21842 return m.MarshalToSizedBuffer(dAtA[:size]) 21843 } 21844 21845 func (m *DatabaseV3List) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21846 i := len(dAtA) 21847 _ = i 21848 var l int 21849 _ = l 21850 if m.XXX_unrecognized != nil { 21851 i -= len(m.XXX_unrecognized) 21852 copy(dAtA[i:], m.XXX_unrecognized) 21853 } 21854 if len(m.Databases) > 0 { 21855 for iNdEx := len(m.Databases) - 1; iNdEx >= 0; iNdEx-- { 21856 { 21857 size, err := m.Databases[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 21858 if err != nil { 21859 return 0, err 21860 } 21861 i -= size 21862 i = encodeVarintTypes(dAtA, i, uint64(size)) 21863 } 21864 i-- 21865 dAtA[i] = 0xa 21866 } 21867 } 21868 return len(dAtA) - i, nil 21869 } 21870 21871 func (m *DatabaseV3) Marshal() (dAtA []byte, err error) { 21872 size := m.Size() 21873 dAtA = make([]byte, size) 21874 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21875 if err != nil { 21876 return nil, err 21877 } 21878 return dAtA[:n], nil 21879 } 21880 21881 func (m *DatabaseV3) MarshalTo(dAtA []byte) (int, error) { 21882 size := m.Size() 21883 return m.MarshalToSizedBuffer(dAtA[:size]) 21884 } 21885 21886 func (m *DatabaseV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21887 i := len(dAtA) 21888 _ = i 21889 var l int 21890 _ = l 21891 if m.XXX_unrecognized != nil { 21892 i -= len(m.XXX_unrecognized) 21893 copy(dAtA[i:], m.XXX_unrecognized) 21894 } 21895 { 21896 size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) 21897 if err != nil { 21898 return 0, err 21899 } 21900 i -= size 21901 i = encodeVarintTypes(dAtA, i, uint64(size)) 21902 } 21903 i-- 21904 dAtA[i] = 0x32 21905 { 21906 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 21907 if err != nil { 21908 return 0, err 21909 } 21910 i -= size 21911 i = encodeVarintTypes(dAtA, i, uint64(size)) 21912 } 21913 i-- 21914 dAtA[i] = 0x2a 21915 { 21916 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 21917 if err != nil { 21918 return 0, err 21919 } 21920 i -= size 21921 i = encodeVarintTypes(dAtA, i, uint64(size)) 21922 } 21923 i-- 21924 dAtA[i] = 0x22 21925 if len(m.Version) > 0 { 21926 i -= len(m.Version) 21927 copy(dAtA[i:], m.Version) 21928 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 21929 i-- 21930 dAtA[i] = 0x1a 21931 } 21932 if len(m.SubKind) > 0 { 21933 i -= len(m.SubKind) 21934 copy(dAtA[i:], m.SubKind) 21935 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 21936 i-- 21937 dAtA[i] = 0x12 21938 } 21939 if len(m.Kind) > 0 { 21940 i -= len(m.Kind) 21941 copy(dAtA[i:], m.Kind) 21942 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 21943 i-- 21944 dAtA[i] = 0xa 21945 } 21946 return len(dAtA) - i, nil 21947 } 21948 21949 func (m *DatabaseSpecV3) Marshal() (dAtA []byte, err error) { 21950 size := m.Size() 21951 dAtA = make([]byte, size) 21952 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21953 if err != nil { 21954 return nil, err 21955 } 21956 return dAtA[:n], nil 21957 } 21958 21959 func (m *DatabaseSpecV3) MarshalTo(dAtA []byte) (int, error) { 21960 size := m.Size() 21961 return m.MarshalToSizedBuffer(dAtA[:size]) 21962 } 21963 21964 func (m *DatabaseSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21965 i := len(dAtA) 21966 _ = i 21967 var l int 21968 _ = l 21969 if m.XXX_unrecognized != nil { 21970 i -= len(m.XXX_unrecognized) 21971 copy(dAtA[i:], m.XXX_unrecognized) 21972 } 21973 { 21974 size, err := m.Oracle.MarshalToSizedBuffer(dAtA[:i]) 21975 if err != nil { 21976 return 0, err 21977 } 21978 i -= size 21979 i = encodeVarintTypes(dAtA, i, uint64(size)) 21980 } 21981 i-- 21982 dAtA[i] = 0x6a 21983 { 21984 size, err := m.MongoAtlas.MarshalToSizedBuffer(dAtA[:i]) 21985 if err != nil { 21986 return 0, err 21987 } 21988 i -= size 21989 i = encodeVarintTypes(dAtA, i, uint64(size)) 21990 } 21991 i-- 21992 dAtA[i] = 0x62 21993 if m.AdminUser != nil { 21994 { 21995 size, err := m.AdminUser.MarshalToSizedBuffer(dAtA[:i]) 21996 if err != nil { 21997 return 0, err 21998 } 21999 i -= size 22000 i = encodeVarintTypes(dAtA, i, uint64(size)) 22001 } 22002 i-- 22003 dAtA[i] = 0x5a 22004 } 22005 { 22006 size, err := m.MySQL.MarshalToSizedBuffer(dAtA[:i]) 22007 if err != nil { 22008 return 0, err 22009 } 22010 i -= size 22011 i = encodeVarintTypes(dAtA, i, uint64(size)) 22012 } 22013 i-- 22014 dAtA[i] = 0x52 22015 { 22016 size, err := m.AD.MarshalToSizedBuffer(dAtA[:i]) 22017 if err != nil { 22018 return 0, err 22019 } 22020 i -= size 22021 i = encodeVarintTypes(dAtA, i, uint64(size)) 22022 } 22023 i-- 22024 dAtA[i] = 0x4a 22025 { 22026 size, err := m.TLS.MarshalToSizedBuffer(dAtA[:i]) 22027 if err != nil { 22028 return 0, err 22029 } 22030 i -= size 22031 i = encodeVarintTypes(dAtA, i, uint64(size)) 22032 } 22033 i-- 22034 dAtA[i] = 0x42 22035 { 22036 size, err := m.Azure.MarshalToSizedBuffer(dAtA[:i]) 22037 if err != nil { 22038 return 0, err 22039 } 22040 i -= size 22041 i = encodeVarintTypes(dAtA, i, uint64(size)) 22042 } 22043 i-- 22044 dAtA[i] = 0x3a 22045 { 22046 size, err := m.GCP.MarshalToSizedBuffer(dAtA[:i]) 22047 if err != nil { 22048 return 0, err 22049 } 22050 i -= size 22051 i = encodeVarintTypes(dAtA, i, uint64(size)) 22052 } 22053 i-- 22054 dAtA[i] = 0x32 22055 { 22056 size, err := m.AWS.MarshalToSizedBuffer(dAtA[:i]) 22057 if err != nil { 22058 return 0, err 22059 } 22060 i -= size 22061 i = encodeVarintTypes(dAtA, i, uint64(size)) 22062 } 22063 i-- 22064 dAtA[i] = 0x2a 22065 if len(m.DynamicLabels) > 0 { 22066 for k := range m.DynamicLabels { 22067 v := m.DynamicLabels[k] 22068 baseI := i 22069 { 22070 size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) 22071 if err != nil { 22072 return 0, err 22073 } 22074 i -= size 22075 i = encodeVarintTypes(dAtA, i, uint64(size)) 22076 } 22077 i-- 22078 dAtA[i] = 0x12 22079 i -= len(k) 22080 copy(dAtA[i:], k) 22081 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 22082 i-- 22083 dAtA[i] = 0xa 22084 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 22085 i-- 22086 dAtA[i] = 0x22 22087 } 22088 } 22089 if len(m.CACert) > 0 { 22090 i -= len(m.CACert) 22091 copy(dAtA[i:], m.CACert) 22092 i = encodeVarintTypes(dAtA, i, uint64(len(m.CACert))) 22093 i-- 22094 dAtA[i] = 0x1a 22095 } 22096 if len(m.URI) > 0 { 22097 i -= len(m.URI) 22098 copy(dAtA[i:], m.URI) 22099 i = encodeVarintTypes(dAtA, i, uint64(len(m.URI))) 22100 i-- 22101 dAtA[i] = 0x12 22102 } 22103 if len(m.Protocol) > 0 { 22104 i -= len(m.Protocol) 22105 copy(dAtA[i:], m.Protocol) 22106 i = encodeVarintTypes(dAtA, i, uint64(len(m.Protocol))) 22107 i-- 22108 dAtA[i] = 0xa 22109 } 22110 return len(dAtA) - i, nil 22111 } 22112 22113 func (m *DatabaseAdminUser) Marshal() (dAtA []byte, err error) { 22114 size := m.Size() 22115 dAtA = make([]byte, size) 22116 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22117 if err != nil { 22118 return nil, err 22119 } 22120 return dAtA[:n], nil 22121 } 22122 22123 func (m *DatabaseAdminUser) MarshalTo(dAtA []byte) (int, error) { 22124 size := m.Size() 22125 return m.MarshalToSizedBuffer(dAtA[:size]) 22126 } 22127 22128 func (m *DatabaseAdminUser) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22129 i := len(dAtA) 22130 _ = i 22131 var l int 22132 _ = l 22133 if m.XXX_unrecognized != nil { 22134 i -= len(m.XXX_unrecognized) 22135 copy(dAtA[i:], m.XXX_unrecognized) 22136 } 22137 if len(m.DefaultDatabase) > 0 { 22138 i -= len(m.DefaultDatabase) 22139 copy(dAtA[i:], m.DefaultDatabase) 22140 i = encodeVarintTypes(dAtA, i, uint64(len(m.DefaultDatabase))) 22141 i-- 22142 dAtA[i] = 0x12 22143 } 22144 if len(m.Name) > 0 { 22145 i -= len(m.Name) 22146 copy(dAtA[i:], m.Name) 22147 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 22148 i-- 22149 dAtA[i] = 0xa 22150 } 22151 return len(dAtA) - i, nil 22152 } 22153 22154 func (m *OracleOptions) Marshal() (dAtA []byte, err error) { 22155 size := m.Size() 22156 dAtA = make([]byte, size) 22157 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22158 if err != nil { 22159 return nil, err 22160 } 22161 return dAtA[:n], nil 22162 } 22163 22164 func (m *OracleOptions) MarshalTo(dAtA []byte) (int, error) { 22165 size := m.Size() 22166 return m.MarshalToSizedBuffer(dAtA[:size]) 22167 } 22168 22169 func (m *OracleOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22170 i := len(dAtA) 22171 _ = i 22172 var l int 22173 _ = l 22174 if m.XXX_unrecognized != nil { 22175 i -= len(m.XXX_unrecognized) 22176 copy(dAtA[i:], m.XXX_unrecognized) 22177 } 22178 if len(m.AuditUser) > 0 { 22179 i -= len(m.AuditUser) 22180 copy(dAtA[i:], m.AuditUser) 22181 i = encodeVarintTypes(dAtA, i, uint64(len(m.AuditUser))) 22182 i-- 22183 dAtA[i] = 0xa 22184 } 22185 return len(dAtA) - i, nil 22186 } 22187 22188 func (m *DatabaseStatusV3) Marshal() (dAtA []byte, err error) { 22189 size := m.Size() 22190 dAtA = make([]byte, size) 22191 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22192 if err != nil { 22193 return nil, err 22194 } 22195 return dAtA[:n], nil 22196 } 22197 22198 func (m *DatabaseStatusV3) MarshalTo(dAtA []byte) (int, error) { 22199 size := m.Size() 22200 return m.MarshalToSizedBuffer(dAtA[:size]) 22201 } 22202 22203 func (m *DatabaseStatusV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22204 i := len(dAtA) 22205 _ = i 22206 var l int 22207 _ = l 22208 if m.XXX_unrecognized != nil { 22209 i -= len(m.XXX_unrecognized) 22210 copy(dAtA[i:], m.XXX_unrecognized) 22211 } 22212 { 22213 size, err := m.Azure.MarshalToSizedBuffer(dAtA[:i]) 22214 if err != nil { 22215 return 0, err 22216 } 22217 i -= size 22218 i = encodeVarintTypes(dAtA, i, uint64(size)) 22219 } 22220 i-- 22221 dAtA[i] = 0x2a 22222 if len(m.ManagedUsers) > 0 { 22223 for iNdEx := len(m.ManagedUsers) - 1; iNdEx >= 0; iNdEx-- { 22224 i -= len(m.ManagedUsers[iNdEx]) 22225 copy(dAtA[i:], m.ManagedUsers[iNdEx]) 22226 i = encodeVarintTypes(dAtA, i, uint64(len(m.ManagedUsers[iNdEx]))) 22227 i-- 22228 dAtA[i] = 0x22 22229 } 22230 } 22231 { 22232 size, err := m.MySQL.MarshalToSizedBuffer(dAtA[:i]) 22233 if err != nil { 22234 return 0, err 22235 } 22236 i -= size 22237 i = encodeVarintTypes(dAtA, i, uint64(size)) 22238 } 22239 i-- 22240 dAtA[i] = 0x1a 22241 { 22242 size, err := m.AWS.MarshalToSizedBuffer(dAtA[:i]) 22243 if err != nil { 22244 return 0, err 22245 } 22246 i -= size 22247 i = encodeVarintTypes(dAtA, i, uint64(size)) 22248 } 22249 i-- 22250 dAtA[i] = 0x12 22251 if len(m.CACert) > 0 { 22252 i -= len(m.CACert) 22253 copy(dAtA[i:], m.CACert) 22254 i = encodeVarintTypes(dAtA, i, uint64(len(m.CACert))) 22255 i-- 22256 dAtA[i] = 0xa 22257 } 22258 return len(dAtA) - i, nil 22259 } 22260 22261 func (m *AWS) Marshal() (dAtA []byte, err error) { 22262 size := m.Size() 22263 dAtA = make([]byte, size) 22264 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22265 if err != nil { 22266 return nil, err 22267 } 22268 return dAtA[:n], nil 22269 } 22270 22271 func (m *AWS) MarshalTo(dAtA []byte) (int, error) { 22272 size := m.Size() 22273 return m.MarshalToSizedBuffer(dAtA[:size]) 22274 } 22275 22276 func (m *AWS) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22277 i := len(dAtA) 22278 _ = i 22279 var l int 22280 _ = l 22281 if m.XXX_unrecognized != nil { 22282 i -= len(m.XXX_unrecognized) 22283 copy(dAtA[i:], m.XXX_unrecognized) 22284 } 22285 if len(m.SessionTags) > 0 { 22286 for k := range m.SessionTags { 22287 v := m.SessionTags[k] 22288 baseI := i 22289 i -= len(v) 22290 copy(dAtA[i:], v) 22291 i = encodeVarintTypes(dAtA, i, uint64(len(v))) 22292 i-- 22293 dAtA[i] = 0x12 22294 i -= len(k) 22295 copy(dAtA[i:], k) 22296 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 22297 i-- 22298 dAtA[i] = 0xa 22299 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 22300 i-- 22301 dAtA[i] = 0x7a 22302 } 22303 } 22304 if m.IAMPolicyStatus != 0 { 22305 i = encodeVarintTypes(dAtA, i, uint64(m.IAMPolicyStatus)) 22306 i-- 22307 dAtA[i] = 0x70 22308 } 22309 { 22310 size, err := m.OpenSearch.MarshalToSizedBuffer(dAtA[:i]) 22311 if err != nil { 22312 return 0, err 22313 } 22314 i -= size 22315 i = encodeVarintTypes(dAtA, i, uint64(size)) 22316 } 22317 i-- 22318 dAtA[i] = 0x62 22319 if len(m.AssumeRoleARN) > 0 { 22320 i -= len(m.AssumeRoleARN) 22321 copy(dAtA[i:], m.AssumeRoleARN) 22322 i = encodeVarintTypes(dAtA, i, uint64(len(m.AssumeRoleARN))) 22323 i-- 22324 dAtA[i] = 0x5a 22325 } 22326 if len(m.ExternalID) > 0 { 22327 i -= len(m.ExternalID) 22328 copy(dAtA[i:], m.ExternalID) 22329 i = encodeVarintTypes(dAtA, i, uint64(len(m.ExternalID))) 22330 i-- 22331 dAtA[i] = 0x52 22332 } 22333 { 22334 size, err := m.RedshiftServerless.MarshalToSizedBuffer(dAtA[:i]) 22335 if err != nil { 22336 return 0, err 22337 } 22338 i -= size 22339 i = encodeVarintTypes(dAtA, i, uint64(size)) 22340 } 22341 i-- 22342 dAtA[i] = 0x4a 22343 { 22344 size, err := m.RDSProxy.MarshalToSizedBuffer(dAtA[:i]) 22345 if err != nil { 22346 return 0, err 22347 } 22348 i -= size 22349 i = encodeVarintTypes(dAtA, i, uint64(size)) 22350 } 22351 i-- 22352 dAtA[i] = 0x42 22353 { 22354 size, err := m.MemoryDB.MarshalToSizedBuffer(dAtA[:i]) 22355 if err != nil { 22356 return 0, err 22357 } 22358 i -= size 22359 i = encodeVarintTypes(dAtA, i, uint64(size)) 22360 } 22361 i-- 22362 dAtA[i] = 0x3a 22363 { 22364 size, err := m.SecretStore.MarshalToSizedBuffer(dAtA[:i]) 22365 if err != nil { 22366 return 0, err 22367 } 22368 i -= size 22369 i = encodeVarintTypes(dAtA, i, uint64(size)) 22370 } 22371 i-- 22372 dAtA[i] = 0x32 22373 { 22374 size, err := m.ElastiCache.MarshalToSizedBuffer(dAtA[:i]) 22375 if err != nil { 22376 return 0, err 22377 } 22378 i -= size 22379 i = encodeVarintTypes(dAtA, i, uint64(size)) 22380 } 22381 i-- 22382 dAtA[i] = 0x2a 22383 if len(m.AccountID) > 0 { 22384 i -= len(m.AccountID) 22385 copy(dAtA[i:], m.AccountID) 22386 i = encodeVarintTypes(dAtA, i, uint64(len(m.AccountID))) 22387 i-- 22388 dAtA[i] = 0x22 22389 } 22390 { 22391 size, err := m.RDS.MarshalToSizedBuffer(dAtA[:i]) 22392 if err != nil { 22393 return 0, err 22394 } 22395 i -= size 22396 i = encodeVarintTypes(dAtA, i, uint64(size)) 22397 } 22398 i-- 22399 dAtA[i] = 0x1a 22400 { 22401 size, err := m.Redshift.MarshalToSizedBuffer(dAtA[:i]) 22402 if err != nil { 22403 return 0, err 22404 } 22405 i -= size 22406 i = encodeVarintTypes(dAtA, i, uint64(size)) 22407 } 22408 i-- 22409 dAtA[i] = 0x12 22410 if len(m.Region) > 0 { 22411 i -= len(m.Region) 22412 copy(dAtA[i:], m.Region) 22413 i = encodeVarintTypes(dAtA, i, uint64(len(m.Region))) 22414 i-- 22415 dAtA[i] = 0xa 22416 } 22417 return len(dAtA) - i, nil 22418 } 22419 22420 func (m *SecretStore) Marshal() (dAtA []byte, err error) { 22421 size := m.Size() 22422 dAtA = make([]byte, size) 22423 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22424 if err != nil { 22425 return nil, err 22426 } 22427 return dAtA[:n], nil 22428 } 22429 22430 func (m *SecretStore) MarshalTo(dAtA []byte) (int, error) { 22431 size := m.Size() 22432 return m.MarshalToSizedBuffer(dAtA[:size]) 22433 } 22434 22435 func (m *SecretStore) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22436 i := len(dAtA) 22437 _ = i 22438 var l int 22439 _ = l 22440 if m.XXX_unrecognized != nil { 22441 i -= len(m.XXX_unrecognized) 22442 copy(dAtA[i:], m.XXX_unrecognized) 22443 } 22444 if len(m.KMSKeyID) > 0 { 22445 i -= len(m.KMSKeyID) 22446 copy(dAtA[i:], m.KMSKeyID) 22447 i = encodeVarintTypes(dAtA, i, uint64(len(m.KMSKeyID))) 22448 i-- 22449 dAtA[i] = 0x12 22450 } 22451 if len(m.KeyPrefix) > 0 { 22452 i -= len(m.KeyPrefix) 22453 copy(dAtA[i:], m.KeyPrefix) 22454 i = encodeVarintTypes(dAtA, i, uint64(len(m.KeyPrefix))) 22455 i-- 22456 dAtA[i] = 0xa 22457 } 22458 return len(dAtA) - i, nil 22459 } 22460 22461 func (m *Redshift) Marshal() (dAtA []byte, err error) { 22462 size := m.Size() 22463 dAtA = make([]byte, size) 22464 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22465 if err != nil { 22466 return nil, err 22467 } 22468 return dAtA[:n], nil 22469 } 22470 22471 func (m *Redshift) MarshalTo(dAtA []byte) (int, error) { 22472 size := m.Size() 22473 return m.MarshalToSizedBuffer(dAtA[:size]) 22474 } 22475 22476 func (m *Redshift) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22477 i := len(dAtA) 22478 _ = i 22479 var l int 22480 _ = l 22481 if m.XXX_unrecognized != nil { 22482 i -= len(m.XXX_unrecognized) 22483 copy(dAtA[i:], m.XXX_unrecognized) 22484 } 22485 if len(m.ClusterID) > 0 { 22486 i -= len(m.ClusterID) 22487 copy(dAtA[i:], m.ClusterID) 22488 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClusterID))) 22489 i-- 22490 dAtA[i] = 0xa 22491 } 22492 return len(dAtA) - i, nil 22493 } 22494 22495 func (m *RDS) Marshal() (dAtA []byte, err error) { 22496 size := m.Size() 22497 dAtA = make([]byte, size) 22498 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22499 if err != nil { 22500 return nil, err 22501 } 22502 return dAtA[:n], nil 22503 } 22504 22505 func (m *RDS) MarshalTo(dAtA []byte) (int, error) { 22506 size := m.Size() 22507 return m.MarshalToSizedBuffer(dAtA[:size]) 22508 } 22509 22510 func (m *RDS) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22511 i := len(dAtA) 22512 _ = i 22513 var l int 22514 _ = l 22515 if m.XXX_unrecognized != nil { 22516 i -= len(m.XXX_unrecognized) 22517 copy(dAtA[i:], m.XXX_unrecognized) 22518 } 22519 if len(m.VPCID) > 0 { 22520 i -= len(m.VPCID) 22521 copy(dAtA[i:], m.VPCID) 22522 i = encodeVarintTypes(dAtA, i, uint64(len(m.VPCID))) 22523 i-- 22524 dAtA[i] = 0x32 22525 } 22526 if len(m.Subnets) > 0 { 22527 for iNdEx := len(m.Subnets) - 1; iNdEx >= 0; iNdEx-- { 22528 i -= len(m.Subnets[iNdEx]) 22529 copy(dAtA[i:], m.Subnets[iNdEx]) 22530 i = encodeVarintTypes(dAtA, i, uint64(len(m.Subnets[iNdEx]))) 22531 i-- 22532 dAtA[i] = 0x2a 22533 } 22534 } 22535 if m.IAMAuth { 22536 i-- 22537 if m.IAMAuth { 22538 dAtA[i] = 1 22539 } else { 22540 dAtA[i] = 0 22541 } 22542 i-- 22543 dAtA[i] = 0x20 22544 } 22545 if len(m.ResourceID) > 0 { 22546 i -= len(m.ResourceID) 22547 copy(dAtA[i:], m.ResourceID) 22548 i = encodeVarintTypes(dAtA, i, uint64(len(m.ResourceID))) 22549 i-- 22550 dAtA[i] = 0x1a 22551 } 22552 if len(m.ClusterID) > 0 { 22553 i -= len(m.ClusterID) 22554 copy(dAtA[i:], m.ClusterID) 22555 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClusterID))) 22556 i-- 22557 dAtA[i] = 0x12 22558 } 22559 if len(m.InstanceID) > 0 { 22560 i -= len(m.InstanceID) 22561 copy(dAtA[i:], m.InstanceID) 22562 i = encodeVarintTypes(dAtA, i, uint64(len(m.InstanceID))) 22563 i-- 22564 dAtA[i] = 0xa 22565 } 22566 return len(dAtA) - i, nil 22567 } 22568 22569 func (m *RDSProxy) Marshal() (dAtA []byte, err error) { 22570 size := m.Size() 22571 dAtA = make([]byte, size) 22572 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22573 if err != nil { 22574 return nil, err 22575 } 22576 return dAtA[:n], nil 22577 } 22578 22579 func (m *RDSProxy) MarshalTo(dAtA []byte) (int, error) { 22580 size := m.Size() 22581 return m.MarshalToSizedBuffer(dAtA[:size]) 22582 } 22583 22584 func (m *RDSProxy) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22585 i := len(dAtA) 22586 _ = i 22587 var l int 22588 _ = l 22589 if m.XXX_unrecognized != nil { 22590 i -= len(m.XXX_unrecognized) 22591 copy(dAtA[i:], m.XXX_unrecognized) 22592 } 22593 if len(m.ResourceID) > 0 { 22594 i -= len(m.ResourceID) 22595 copy(dAtA[i:], m.ResourceID) 22596 i = encodeVarintTypes(dAtA, i, uint64(len(m.ResourceID))) 22597 i-- 22598 dAtA[i] = 0x1a 22599 } 22600 if len(m.CustomEndpointName) > 0 { 22601 i -= len(m.CustomEndpointName) 22602 copy(dAtA[i:], m.CustomEndpointName) 22603 i = encodeVarintTypes(dAtA, i, uint64(len(m.CustomEndpointName))) 22604 i-- 22605 dAtA[i] = 0x12 22606 } 22607 if len(m.Name) > 0 { 22608 i -= len(m.Name) 22609 copy(dAtA[i:], m.Name) 22610 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 22611 i-- 22612 dAtA[i] = 0xa 22613 } 22614 return len(dAtA) - i, nil 22615 } 22616 22617 func (m *ElastiCache) Marshal() (dAtA []byte, err error) { 22618 size := m.Size() 22619 dAtA = make([]byte, size) 22620 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22621 if err != nil { 22622 return nil, err 22623 } 22624 return dAtA[:n], nil 22625 } 22626 22627 func (m *ElastiCache) MarshalTo(dAtA []byte) (int, error) { 22628 size := m.Size() 22629 return m.MarshalToSizedBuffer(dAtA[:size]) 22630 } 22631 22632 func (m *ElastiCache) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22633 i := len(dAtA) 22634 _ = i 22635 var l int 22636 _ = l 22637 if m.XXX_unrecognized != nil { 22638 i -= len(m.XXX_unrecognized) 22639 copy(dAtA[i:], m.XXX_unrecognized) 22640 } 22641 if len(m.EndpointType) > 0 { 22642 i -= len(m.EndpointType) 22643 copy(dAtA[i:], m.EndpointType) 22644 i = encodeVarintTypes(dAtA, i, uint64(len(m.EndpointType))) 22645 i-- 22646 dAtA[i] = 0x22 22647 } 22648 if m.TransitEncryptionEnabled { 22649 i-- 22650 if m.TransitEncryptionEnabled { 22651 dAtA[i] = 1 22652 } else { 22653 dAtA[i] = 0 22654 } 22655 i-- 22656 dAtA[i] = 0x18 22657 } 22658 if len(m.UserGroupIDs) > 0 { 22659 for iNdEx := len(m.UserGroupIDs) - 1; iNdEx >= 0; iNdEx-- { 22660 i -= len(m.UserGroupIDs[iNdEx]) 22661 copy(dAtA[i:], m.UserGroupIDs[iNdEx]) 22662 i = encodeVarintTypes(dAtA, i, uint64(len(m.UserGroupIDs[iNdEx]))) 22663 i-- 22664 dAtA[i] = 0x12 22665 } 22666 } 22667 if len(m.ReplicationGroupID) > 0 { 22668 i -= len(m.ReplicationGroupID) 22669 copy(dAtA[i:], m.ReplicationGroupID) 22670 i = encodeVarintTypes(dAtA, i, uint64(len(m.ReplicationGroupID))) 22671 i-- 22672 dAtA[i] = 0xa 22673 } 22674 return len(dAtA) - i, nil 22675 } 22676 22677 func (m *MemoryDB) Marshal() (dAtA []byte, err error) { 22678 size := m.Size() 22679 dAtA = make([]byte, size) 22680 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22681 if err != nil { 22682 return nil, err 22683 } 22684 return dAtA[:n], nil 22685 } 22686 22687 func (m *MemoryDB) MarshalTo(dAtA []byte) (int, error) { 22688 size := m.Size() 22689 return m.MarshalToSizedBuffer(dAtA[:size]) 22690 } 22691 22692 func (m *MemoryDB) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22693 i := len(dAtA) 22694 _ = i 22695 var l int 22696 _ = l 22697 if m.XXX_unrecognized != nil { 22698 i -= len(m.XXX_unrecognized) 22699 copy(dAtA[i:], m.XXX_unrecognized) 22700 } 22701 if len(m.EndpointType) > 0 { 22702 i -= len(m.EndpointType) 22703 copy(dAtA[i:], m.EndpointType) 22704 i = encodeVarintTypes(dAtA, i, uint64(len(m.EndpointType))) 22705 i-- 22706 dAtA[i] = 0x22 22707 } 22708 if m.TLSEnabled { 22709 i-- 22710 if m.TLSEnabled { 22711 dAtA[i] = 1 22712 } else { 22713 dAtA[i] = 0 22714 } 22715 i-- 22716 dAtA[i] = 0x18 22717 } 22718 if len(m.ACLName) > 0 { 22719 i -= len(m.ACLName) 22720 copy(dAtA[i:], m.ACLName) 22721 i = encodeVarintTypes(dAtA, i, uint64(len(m.ACLName))) 22722 i-- 22723 dAtA[i] = 0x12 22724 } 22725 if len(m.ClusterName) > 0 { 22726 i -= len(m.ClusterName) 22727 copy(dAtA[i:], m.ClusterName) 22728 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClusterName))) 22729 i-- 22730 dAtA[i] = 0xa 22731 } 22732 return len(dAtA) - i, nil 22733 } 22734 22735 func (m *RedshiftServerless) Marshal() (dAtA []byte, err error) { 22736 size := m.Size() 22737 dAtA = make([]byte, size) 22738 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22739 if err != nil { 22740 return nil, err 22741 } 22742 return dAtA[:n], nil 22743 } 22744 22745 func (m *RedshiftServerless) MarshalTo(dAtA []byte) (int, error) { 22746 size := m.Size() 22747 return m.MarshalToSizedBuffer(dAtA[:size]) 22748 } 22749 22750 func (m *RedshiftServerless) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22751 i := len(dAtA) 22752 _ = i 22753 var l int 22754 _ = l 22755 if m.XXX_unrecognized != nil { 22756 i -= len(m.XXX_unrecognized) 22757 copy(dAtA[i:], m.XXX_unrecognized) 22758 } 22759 if len(m.WorkgroupID) > 0 { 22760 i -= len(m.WorkgroupID) 22761 copy(dAtA[i:], m.WorkgroupID) 22762 i = encodeVarintTypes(dAtA, i, uint64(len(m.WorkgroupID))) 22763 i-- 22764 dAtA[i] = 0x1a 22765 } 22766 if len(m.EndpointName) > 0 { 22767 i -= len(m.EndpointName) 22768 copy(dAtA[i:], m.EndpointName) 22769 i = encodeVarintTypes(dAtA, i, uint64(len(m.EndpointName))) 22770 i-- 22771 dAtA[i] = 0x12 22772 } 22773 if len(m.WorkgroupName) > 0 { 22774 i -= len(m.WorkgroupName) 22775 copy(dAtA[i:], m.WorkgroupName) 22776 i = encodeVarintTypes(dAtA, i, uint64(len(m.WorkgroupName))) 22777 i-- 22778 dAtA[i] = 0xa 22779 } 22780 return len(dAtA) - i, nil 22781 } 22782 22783 func (m *OpenSearch) Marshal() (dAtA []byte, err error) { 22784 size := m.Size() 22785 dAtA = make([]byte, size) 22786 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22787 if err != nil { 22788 return nil, err 22789 } 22790 return dAtA[:n], nil 22791 } 22792 22793 func (m *OpenSearch) MarshalTo(dAtA []byte) (int, error) { 22794 size := m.Size() 22795 return m.MarshalToSizedBuffer(dAtA[:size]) 22796 } 22797 22798 func (m *OpenSearch) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22799 i := len(dAtA) 22800 _ = i 22801 var l int 22802 _ = l 22803 if m.XXX_unrecognized != nil { 22804 i -= len(m.XXX_unrecognized) 22805 copy(dAtA[i:], m.XXX_unrecognized) 22806 } 22807 if len(m.EndpointType) > 0 { 22808 i -= len(m.EndpointType) 22809 copy(dAtA[i:], m.EndpointType) 22810 i = encodeVarintTypes(dAtA, i, uint64(len(m.EndpointType))) 22811 i-- 22812 dAtA[i] = 0x1a 22813 } 22814 if len(m.DomainID) > 0 { 22815 i -= len(m.DomainID) 22816 copy(dAtA[i:], m.DomainID) 22817 i = encodeVarintTypes(dAtA, i, uint64(len(m.DomainID))) 22818 i-- 22819 dAtA[i] = 0x12 22820 } 22821 if len(m.DomainName) > 0 { 22822 i -= len(m.DomainName) 22823 copy(dAtA[i:], m.DomainName) 22824 i = encodeVarintTypes(dAtA, i, uint64(len(m.DomainName))) 22825 i-- 22826 dAtA[i] = 0xa 22827 } 22828 return len(dAtA) - i, nil 22829 } 22830 22831 func (m *GCPCloudSQL) Marshal() (dAtA []byte, err error) { 22832 size := m.Size() 22833 dAtA = make([]byte, size) 22834 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22835 if err != nil { 22836 return nil, err 22837 } 22838 return dAtA[:n], nil 22839 } 22840 22841 func (m *GCPCloudSQL) MarshalTo(dAtA []byte) (int, error) { 22842 size := m.Size() 22843 return m.MarshalToSizedBuffer(dAtA[:size]) 22844 } 22845 22846 func (m *GCPCloudSQL) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22847 i := len(dAtA) 22848 _ = i 22849 var l int 22850 _ = l 22851 if m.XXX_unrecognized != nil { 22852 i -= len(m.XXX_unrecognized) 22853 copy(dAtA[i:], m.XXX_unrecognized) 22854 } 22855 if len(m.InstanceID) > 0 { 22856 i -= len(m.InstanceID) 22857 copy(dAtA[i:], m.InstanceID) 22858 i = encodeVarintTypes(dAtA, i, uint64(len(m.InstanceID))) 22859 i-- 22860 dAtA[i] = 0x12 22861 } 22862 if len(m.ProjectID) > 0 { 22863 i -= len(m.ProjectID) 22864 copy(dAtA[i:], m.ProjectID) 22865 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProjectID))) 22866 i-- 22867 dAtA[i] = 0xa 22868 } 22869 return len(dAtA) - i, nil 22870 } 22871 22872 func (m *Azure) Marshal() (dAtA []byte, err error) { 22873 size := m.Size() 22874 dAtA = make([]byte, size) 22875 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22876 if err != nil { 22877 return nil, err 22878 } 22879 return dAtA[:n], nil 22880 } 22881 22882 func (m *Azure) MarshalTo(dAtA []byte) (int, error) { 22883 size := m.Size() 22884 return m.MarshalToSizedBuffer(dAtA[:size]) 22885 } 22886 22887 func (m *Azure) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22888 i := len(dAtA) 22889 _ = i 22890 var l int 22891 _ = l 22892 if m.XXX_unrecognized != nil { 22893 i -= len(m.XXX_unrecognized) 22894 copy(dAtA[i:], m.XXX_unrecognized) 22895 } 22896 if m.IsFlexiServer { 22897 i-- 22898 if m.IsFlexiServer { 22899 dAtA[i] = 1 22900 } else { 22901 dAtA[i] = 0 22902 } 22903 i-- 22904 dAtA[i] = 0x20 22905 } 22906 { 22907 size, err := m.Redis.MarshalToSizedBuffer(dAtA[:i]) 22908 if err != nil { 22909 return 0, err 22910 } 22911 i -= size 22912 i = encodeVarintTypes(dAtA, i, uint64(size)) 22913 } 22914 i-- 22915 dAtA[i] = 0x1a 22916 if len(m.ResourceID) > 0 { 22917 i -= len(m.ResourceID) 22918 copy(dAtA[i:], m.ResourceID) 22919 i = encodeVarintTypes(dAtA, i, uint64(len(m.ResourceID))) 22920 i-- 22921 dAtA[i] = 0x12 22922 } 22923 if len(m.Name) > 0 { 22924 i -= len(m.Name) 22925 copy(dAtA[i:], m.Name) 22926 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 22927 i-- 22928 dAtA[i] = 0xa 22929 } 22930 return len(dAtA) - i, nil 22931 } 22932 22933 func (m *AzureRedis) Marshal() (dAtA []byte, err error) { 22934 size := m.Size() 22935 dAtA = make([]byte, size) 22936 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22937 if err != nil { 22938 return nil, err 22939 } 22940 return dAtA[:n], nil 22941 } 22942 22943 func (m *AzureRedis) MarshalTo(dAtA []byte) (int, error) { 22944 size := m.Size() 22945 return m.MarshalToSizedBuffer(dAtA[:size]) 22946 } 22947 22948 func (m *AzureRedis) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22949 i := len(dAtA) 22950 _ = i 22951 var l int 22952 _ = l 22953 if m.XXX_unrecognized != nil { 22954 i -= len(m.XXX_unrecognized) 22955 copy(dAtA[i:], m.XXX_unrecognized) 22956 } 22957 if len(m.ClusteringPolicy) > 0 { 22958 i -= len(m.ClusteringPolicy) 22959 copy(dAtA[i:], m.ClusteringPolicy) 22960 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClusteringPolicy))) 22961 i-- 22962 dAtA[i] = 0xa 22963 } 22964 return len(dAtA) - i, nil 22965 } 22966 22967 func (m *AD) Marshal() (dAtA []byte, err error) { 22968 size := m.Size() 22969 dAtA = make([]byte, size) 22970 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 22971 if err != nil { 22972 return nil, err 22973 } 22974 return dAtA[:n], nil 22975 } 22976 22977 func (m *AD) MarshalTo(dAtA []byte) (int, error) { 22978 size := m.Size() 22979 return m.MarshalToSizedBuffer(dAtA[:size]) 22980 } 22981 22982 func (m *AD) MarshalToSizedBuffer(dAtA []byte) (int, error) { 22983 i := len(dAtA) 22984 _ = i 22985 var l int 22986 _ = l 22987 if m.XXX_unrecognized != nil { 22988 i -= len(m.XXX_unrecognized) 22989 copy(dAtA[i:], m.XXX_unrecognized) 22990 } 22991 if len(m.KDCHostName) > 0 { 22992 i -= len(m.KDCHostName) 22993 copy(dAtA[i:], m.KDCHostName) 22994 i = encodeVarintTypes(dAtA, i, uint64(len(m.KDCHostName))) 22995 i-- 22996 dAtA[i] = 0x32 22997 } 22998 if len(m.LDAPCert) > 0 { 22999 i -= len(m.LDAPCert) 23000 copy(dAtA[i:], m.LDAPCert) 23001 i = encodeVarintTypes(dAtA, i, uint64(len(m.LDAPCert))) 23002 i-- 23003 dAtA[i] = 0x2a 23004 } 23005 if len(m.SPN) > 0 { 23006 i -= len(m.SPN) 23007 copy(dAtA[i:], m.SPN) 23008 i = encodeVarintTypes(dAtA, i, uint64(len(m.SPN))) 23009 i-- 23010 dAtA[i] = 0x22 23011 } 23012 if len(m.Domain) > 0 { 23013 i -= len(m.Domain) 23014 copy(dAtA[i:], m.Domain) 23015 i = encodeVarintTypes(dAtA, i, uint64(len(m.Domain))) 23016 i-- 23017 dAtA[i] = 0x1a 23018 } 23019 if len(m.Krb5File) > 0 { 23020 i -= len(m.Krb5File) 23021 copy(dAtA[i:], m.Krb5File) 23022 i = encodeVarintTypes(dAtA, i, uint64(len(m.Krb5File))) 23023 i-- 23024 dAtA[i] = 0x12 23025 } 23026 if len(m.KeytabFile) > 0 { 23027 i -= len(m.KeytabFile) 23028 copy(dAtA[i:], m.KeytabFile) 23029 i = encodeVarintTypes(dAtA, i, uint64(len(m.KeytabFile))) 23030 i-- 23031 dAtA[i] = 0xa 23032 } 23033 return len(dAtA) - i, nil 23034 } 23035 23036 func (m *DatabaseTLS) Marshal() (dAtA []byte, err error) { 23037 size := m.Size() 23038 dAtA = make([]byte, size) 23039 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23040 if err != nil { 23041 return nil, err 23042 } 23043 return dAtA[:n], nil 23044 } 23045 23046 func (m *DatabaseTLS) MarshalTo(dAtA []byte) (int, error) { 23047 size := m.Size() 23048 return m.MarshalToSizedBuffer(dAtA[:size]) 23049 } 23050 23051 func (m *DatabaseTLS) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23052 i := len(dAtA) 23053 _ = i 23054 var l int 23055 _ = l 23056 if m.XXX_unrecognized != nil { 23057 i -= len(m.XXX_unrecognized) 23058 copy(dAtA[i:], m.XXX_unrecognized) 23059 } 23060 if len(m.ServerName) > 0 { 23061 i -= len(m.ServerName) 23062 copy(dAtA[i:], m.ServerName) 23063 i = encodeVarintTypes(dAtA, i, uint64(len(m.ServerName))) 23064 i-- 23065 dAtA[i] = 0x1a 23066 } 23067 if len(m.CACert) > 0 { 23068 i -= len(m.CACert) 23069 copy(dAtA[i:], m.CACert) 23070 i = encodeVarintTypes(dAtA, i, uint64(len(m.CACert))) 23071 i-- 23072 dAtA[i] = 0x12 23073 } 23074 if m.Mode != 0 { 23075 i = encodeVarintTypes(dAtA, i, uint64(m.Mode)) 23076 i-- 23077 dAtA[i] = 0x8 23078 } 23079 return len(dAtA) - i, nil 23080 } 23081 23082 func (m *MySQLOptions) Marshal() (dAtA []byte, err error) { 23083 size := m.Size() 23084 dAtA = make([]byte, size) 23085 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23086 if err != nil { 23087 return nil, err 23088 } 23089 return dAtA[:n], nil 23090 } 23091 23092 func (m *MySQLOptions) MarshalTo(dAtA []byte) (int, error) { 23093 size := m.Size() 23094 return m.MarshalToSizedBuffer(dAtA[:size]) 23095 } 23096 23097 func (m *MySQLOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23098 i := len(dAtA) 23099 _ = i 23100 var l int 23101 _ = l 23102 if m.XXX_unrecognized != nil { 23103 i -= len(m.XXX_unrecognized) 23104 copy(dAtA[i:], m.XXX_unrecognized) 23105 } 23106 if len(m.ServerVersion) > 0 { 23107 i -= len(m.ServerVersion) 23108 copy(dAtA[i:], m.ServerVersion) 23109 i = encodeVarintTypes(dAtA, i, uint64(len(m.ServerVersion))) 23110 i-- 23111 dAtA[i] = 0xa 23112 } 23113 return len(dAtA) - i, nil 23114 } 23115 23116 func (m *MongoAtlas) Marshal() (dAtA []byte, err error) { 23117 size := m.Size() 23118 dAtA = make([]byte, size) 23119 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23120 if err != nil { 23121 return nil, err 23122 } 23123 return dAtA[:n], nil 23124 } 23125 23126 func (m *MongoAtlas) MarshalTo(dAtA []byte) (int, error) { 23127 size := m.Size() 23128 return m.MarshalToSizedBuffer(dAtA[:size]) 23129 } 23130 23131 func (m *MongoAtlas) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23132 i := len(dAtA) 23133 _ = i 23134 var l int 23135 _ = l 23136 if m.XXX_unrecognized != nil { 23137 i -= len(m.XXX_unrecognized) 23138 copy(dAtA[i:], m.XXX_unrecognized) 23139 } 23140 if len(m.Name) > 0 { 23141 i -= len(m.Name) 23142 copy(dAtA[i:], m.Name) 23143 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 23144 i-- 23145 dAtA[i] = 0xa 23146 } 23147 return len(dAtA) - i, nil 23148 } 23149 23150 func (m *InstanceV1) Marshal() (dAtA []byte, err error) { 23151 size := m.Size() 23152 dAtA = make([]byte, size) 23153 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23154 if err != nil { 23155 return nil, err 23156 } 23157 return dAtA[:n], nil 23158 } 23159 23160 func (m *InstanceV1) MarshalTo(dAtA []byte) (int, error) { 23161 size := m.Size() 23162 return m.MarshalToSizedBuffer(dAtA[:size]) 23163 } 23164 23165 func (m *InstanceV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23166 i := len(dAtA) 23167 _ = i 23168 var l int 23169 _ = l 23170 if m.XXX_unrecognized != nil { 23171 i -= len(m.XXX_unrecognized) 23172 copy(dAtA[i:], m.XXX_unrecognized) 23173 } 23174 { 23175 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 23176 if err != nil { 23177 return 0, err 23178 } 23179 i -= size 23180 i = encodeVarintTypes(dAtA, i, uint64(size)) 23181 } 23182 i-- 23183 dAtA[i] = 0x12 23184 { 23185 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 23186 if err != nil { 23187 return 0, err 23188 } 23189 i -= size 23190 i = encodeVarintTypes(dAtA, i, uint64(size)) 23191 } 23192 i-- 23193 dAtA[i] = 0xa 23194 return len(dAtA) - i, nil 23195 } 23196 23197 func (m *InstanceSpecV1) Marshal() (dAtA []byte, err error) { 23198 size := m.Size() 23199 dAtA = make([]byte, size) 23200 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23201 if err != nil { 23202 return nil, err 23203 } 23204 return dAtA[:n], nil 23205 } 23206 23207 func (m *InstanceSpecV1) MarshalTo(dAtA []byte) (int, error) { 23208 size := m.Size() 23209 return m.MarshalToSizedBuffer(dAtA[:size]) 23210 } 23211 23212 func (m *InstanceSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23213 i := len(dAtA) 23214 _ = i 23215 var l int 23216 _ = l 23217 if m.XXX_unrecognized != nil { 23218 i -= len(m.XXX_unrecognized) 23219 copy(dAtA[i:], m.XXX_unrecognized) 23220 } 23221 if len(m.ExternalUpgraderVersion) > 0 { 23222 i -= len(m.ExternalUpgraderVersion) 23223 copy(dAtA[i:], m.ExternalUpgraderVersion) 23224 i = encodeVarintTypes(dAtA, i, uint64(len(m.ExternalUpgraderVersion))) 23225 i-- 23226 dAtA[i] = 0x42 23227 } 23228 if len(m.ExternalUpgrader) > 0 { 23229 i -= len(m.ExternalUpgrader) 23230 copy(dAtA[i:], m.ExternalUpgrader) 23231 i = encodeVarintTypes(dAtA, i, uint64(len(m.ExternalUpgrader))) 23232 i-- 23233 dAtA[i] = 0x3a 23234 } 23235 if len(m.ControlLog) > 0 { 23236 for iNdEx := len(m.ControlLog) - 1; iNdEx >= 0; iNdEx-- { 23237 { 23238 size, err := m.ControlLog[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 23239 if err != nil { 23240 return 0, err 23241 } 23242 i -= size 23243 i = encodeVarintTypes(dAtA, i, uint64(size)) 23244 } 23245 i-- 23246 dAtA[i] = 0x32 23247 } 23248 } 23249 n41, err41 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.LastSeen, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.LastSeen):]) 23250 if err41 != nil { 23251 return 0, err41 23252 } 23253 i -= n41 23254 i = encodeVarintTypes(dAtA, i, uint64(n41)) 23255 i-- 23256 dAtA[i] = 0x2a 23257 if len(m.AuthID) > 0 { 23258 i -= len(m.AuthID) 23259 copy(dAtA[i:], m.AuthID) 23260 i = encodeVarintTypes(dAtA, i, uint64(len(m.AuthID))) 23261 i-- 23262 dAtA[i] = 0x22 23263 } 23264 if len(m.Hostname) > 0 { 23265 i -= len(m.Hostname) 23266 copy(dAtA[i:], m.Hostname) 23267 i = encodeVarintTypes(dAtA, i, uint64(len(m.Hostname))) 23268 i-- 23269 dAtA[i] = 0x1a 23270 } 23271 if len(m.Services) > 0 { 23272 for iNdEx := len(m.Services) - 1; iNdEx >= 0; iNdEx-- { 23273 i -= len(m.Services[iNdEx]) 23274 copy(dAtA[i:], m.Services[iNdEx]) 23275 i = encodeVarintTypes(dAtA, i, uint64(len(m.Services[iNdEx]))) 23276 i-- 23277 dAtA[i] = 0x12 23278 } 23279 } 23280 if len(m.Version) > 0 { 23281 i -= len(m.Version) 23282 copy(dAtA[i:], m.Version) 23283 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 23284 i-- 23285 dAtA[i] = 0xa 23286 } 23287 return len(dAtA) - i, nil 23288 } 23289 23290 func (m *InstanceControlLogEntry) Marshal() (dAtA []byte, err error) { 23291 size := m.Size() 23292 dAtA = make([]byte, size) 23293 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23294 if err != nil { 23295 return nil, err 23296 } 23297 return dAtA[:n], nil 23298 } 23299 23300 func (m *InstanceControlLogEntry) MarshalTo(dAtA []byte) (int, error) { 23301 size := m.Size() 23302 return m.MarshalToSizedBuffer(dAtA[:size]) 23303 } 23304 23305 func (m *InstanceControlLogEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23306 i := len(dAtA) 23307 _ = i 23308 var l int 23309 _ = l 23310 if m.XXX_unrecognized != nil { 23311 i -= len(m.XXX_unrecognized) 23312 copy(dAtA[i:], m.XXX_unrecognized) 23313 } 23314 if len(m.Labels) > 0 { 23315 for k := range m.Labels { 23316 v := m.Labels[k] 23317 baseI := i 23318 i -= len(v) 23319 copy(dAtA[i:], v) 23320 i = encodeVarintTypes(dAtA, i, uint64(len(v))) 23321 i-- 23322 dAtA[i] = 0x12 23323 i -= len(k) 23324 copy(dAtA[i:], k) 23325 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 23326 i-- 23327 dAtA[i] = 0xa 23328 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 23329 i-- 23330 dAtA[i] = 0x2a 23331 } 23332 } 23333 if m.TTL != 0 { 23334 i = encodeVarintTypes(dAtA, i, uint64(m.TTL)) 23335 i-- 23336 dAtA[i] = 0x20 23337 } 23338 n42, err42 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Time):]) 23339 if err42 != nil { 23340 return 0, err42 23341 } 23342 i -= n42 23343 i = encodeVarintTypes(dAtA, i, uint64(n42)) 23344 i-- 23345 dAtA[i] = 0x1a 23346 if m.ID != 0 { 23347 i = encodeVarintTypes(dAtA, i, uint64(m.ID)) 23348 i-- 23349 dAtA[i] = 0x10 23350 } 23351 if len(m.Type) > 0 { 23352 i -= len(m.Type) 23353 copy(dAtA[i:], m.Type) 23354 i = encodeVarintTypes(dAtA, i, uint64(len(m.Type))) 23355 i-- 23356 dAtA[i] = 0xa 23357 } 23358 return len(dAtA) - i, nil 23359 } 23360 23361 func (m *InstanceFilter) Marshal() (dAtA []byte, err error) { 23362 size := m.Size() 23363 dAtA = make([]byte, size) 23364 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23365 if err != nil { 23366 return nil, err 23367 } 23368 return dAtA[:n], nil 23369 } 23370 23371 func (m *InstanceFilter) MarshalTo(dAtA []byte) (int, error) { 23372 size := m.Size() 23373 return m.MarshalToSizedBuffer(dAtA[:size]) 23374 } 23375 23376 func (m *InstanceFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23377 i := len(dAtA) 23378 _ = i 23379 var l int 23380 _ = l 23381 if m.XXX_unrecognized != nil { 23382 i -= len(m.XXX_unrecognized) 23383 copy(dAtA[i:], m.XXX_unrecognized) 23384 } 23385 if len(m.NewerThanVersion) > 0 { 23386 i -= len(m.NewerThanVersion) 23387 copy(dAtA[i:], m.NewerThanVersion) 23388 i = encodeVarintTypes(dAtA, i, uint64(len(m.NewerThanVersion))) 23389 i-- 23390 dAtA[i] = 0x3a 23391 } 23392 if len(m.OlderThanVersion) > 0 { 23393 i -= len(m.OlderThanVersion) 23394 copy(dAtA[i:], m.OlderThanVersion) 23395 i = encodeVarintTypes(dAtA, i, uint64(len(m.OlderThanVersion))) 23396 i-- 23397 dAtA[i] = 0x32 23398 } 23399 if m.NoExtUpgrader { 23400 i-- 23401 if m.NoExtUpgrader { 23402 dAtA[i] = 1 23403 } else { 23404 dAtA[i] = 0 23405 } 23406 i-- 23407 dAtA[i] = 0x28 23408 } 23409 if len(m.ExternalUpgrader) > 0 { 23410 i -= len(m.ExternalUpgrader) 23411 copy(dAtA[i:], m.ExternalUpgrader) 23412 i = encodeVarintTypes(dAtA, i, uint64(len(m.ExternalUpgrader))) 23413 i-- 23414 dAtA[i] = 0x22 23415 } 23416 if len(m.Services) > 0 { 23417 for iNdEx := len(m.Services) - 1; iNdEx >= 0; iNdEx-- { 23418 i -= len(m.Services[iNdEx]) 23419 copy(dAtA[i:], m.Services[iNdEx]) 23420 i = encodeVarintTypes(dAtA, i, uint64(len(m.Services[iNdEx]))) 23421 i-- 23422 dAtA[i] = 0x1a 23423 } 23424 } 23425 if len(m.Version) > 0 { 23426 i -= len(m.Version) 23427 copy(dAtA[i:], m.Version) 23428 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 23429 i-- 23430 dAtA[i] = 0x12 23431 } 23432 if len(m.ServerID) > 0 { 23433 i -= len(m.ServerID) 23434 copy(dAtA[i:], m.ServerID) 23435 i = encodeVarintTypes(dAtA, i, uint64(len(m.ServerID))) 23436 i-- 23437 dAtA[i] = 0xa 23438 } 23439 return len(dAtA) - i, nil 23440 } 23441 23442 func (m *ServerV2) Marshal() (dAtA []byte, err error) { 23443 size := m.Size() 23444 dAtA = make([]byte, size) 23445 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23446 if err != nil { 23447 return nil, err 23448 } 23449 return dAtA[:n], nil 23450 } 23451 23452 func (m *ServerV2) MarshalTo(dAtA []byte) (int, error) { 23453 size := m.Size() 23454 return m.MarshalToSizedBuffer(dAtA[:size]) 23455 } 23456 23457 func (m *ServerV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23458 i := len(dAtA) 23459 _ = i 23460 var l int 23461 _ = l 23462 if m.XXX_unrecognized != nil { 23463 i -= len(m.XXX_unrecognized) 23464 copy(dAtA[i:], m.XXX_unrecognized) 23465 } 23466 { 23467 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 23468 if err != nil { 23469 return 0, err 23470 } 23471 i -= size 23472 i = encodeVarintTypes(dAtA, i, uint64(size)) 23473 } 23474 i-- 23475 dAtA[i] = 0x2a 23476 { 23477 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 23478 if err != nil { 23479 return 0, err 23480 } 23481 i -= size 23482 i = encodeVarintTypes(dAtA, i, uint64(size)) 23483 } 23484 i-- 23485 dAtA[i] = 0x22 23486 if len(m.Version) > 0 { 23487 i -= len(m.Version) 23488 copy(dAtA[i:], m.Version) 23489 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 23490 i-- 23491 dAtA[i] = 0x1a 23492 } 23493 if len(m.SubKind) > 0 { 23494 i -= len(m.SubKind) 23495 copy(dAtA[i:], m.SubKind) 23496 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 23497 i-- 23498 dAtA[i] = 0x12 23499 } 23500 if len(m.Kind) > 0 { 23501 i -= len(m.Kind) 23502 copy(dAtA[i:], m.Kind) 23503 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 23504 i-- 23505 dAtA[i] = 0xa 23506 } 23507 return len(dAtA) - i, nil 23508 } 23509 23510 func (m *ServerSpecV2) Marshal() (dAtA []byte, err error) { 23511 size := m.Size() 23512 dAtA = make([]byte, size) 23513 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23514 if err != nil { 23515 return nil, err 23516 } 23517 return dAtA[:n], nil 23518 } 23519 23520 func (m *ServerSpecV2) MarshalTo(dAtA []byte) (int, error) { 23521 size := m.Size() 23522 return m.MarshalToSizedBuffer(dAtA[:size]) 23523 } 23524 23525 func (m *ServerSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23526 i := len(dAtA) 23527 _ = i 23528 var l int 23529 _ = l 23530 if m.XXX_unrecognized != nil { 23531 i -= len(m.XXX_unrecognized) 23532 copy(dAtA[i:], m.XXX_unrecognized) 23533 } 23534 if m.CloudMetadata != nil { 23535 { 23536 size, err := m.CloudMetadata.MarshalToSizedBuffer(dAtA[:i]) 23537 if err != nil { 23538 return 0, err 23539 } 23540 i -= size 23541 i = encodeVarintTypes(dAtA, i, uint64(size)) 23542 } 23543 i-- 23544 dAtA[i] = 0x72 23545 } 23546 if len(m.PublicAddrs) > 0 { 23547 for iNdEx := len(m.PublicAddrs) - 1; iNdEx >= 0; iNdEx-- { 23548 i -= len(m.PublicAddrs[iNdEx]) 23549 copy(dAtA[i:], m.PublicAddrs[iNdEx]) 23550 i = encodeVarintTypes(dAtA, i, uint64(len(m.PublicAddrs[iNdEx]))) 23551 i-- 23552 dAtA[i] = 0x6a 23553 } 23554 } 23555 if len(m.ProxyIDs) > 0 { 23556 for iNdEx := len(m.ProxyIDs) - 1; iNdEx >= 0; iNdEx-- { 23557 i -= len(m.ProxyIDs[iNdEx]) 23558 copy(dAtA[i:], m.ProxyIDs[iNdEx]) 23559 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProxyIDs[iNdEx]))) 23560 i-- 23561 dAtA[i] = 0x62 23562 } 23563 } 23564 if len(m.PeerAddr) > 0 { 23565 i -= len(m.PeerAddr) 23566 copy(dAtA[i:], m.PeerAddr) 23567 i = encodeVarintTypes(dAtA, i, uint64(len(m.PeerAddr))) 23568 i-- 23569 dAtA[i] = 0x5a 23570 } 23571 if len(m.Version) > 0 { 23572 i -= len(m.Version) 23573 copy(dAtA[i:], m.Version) 23574 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 23575 i-- 23576 dAtA[i] = 0x3a 23577 } 23578 if m.UseTunnel { 23579 i-- 23580 if m.UseTunnel { 23581 dAtA[i] = 1 23582 } else { 23583 dAtA[i] = 0 23584 } 23585 i-- 23586 dAtA[i] = 0x30 23587 } 23588 { 23589 size, err := m.Rotation.MarshalToSizedBuffer(dAtA[:i]) 23590 if err != nil { 23591 return 0, err 23592 } 23593 i -= size 23594 i = encodeVarintTypes(dAtA, i, uint64(size)) 23595 } 23596 i-- 23597 dAtA[i] = 0x2a 23598 if len(m.CmdLabels) > 0 { 23599 for k := range m.CmdLabels { 23600 v := m.CmdLabels[k] 23601 baseI := i 23602 { 23603 size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) 23604 if err != nil { 23605 return 0, err 23606 } 23607 i -= size 23608 i = encodeVarintTypes(dAtA, i, uint64(size)) 23609 } 23610 i-- 23611 dAtA[i] = 0x12 23612 i -= len(k) 23613 copy(dAtA[i:], k) 23614 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 23615 i-- 23616 dAtA[i] = 0xa 23617 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 23618 i-- 23619 dAtA[i] = 0x22 23620 } 23621 } 23622 if len(m.Hostname) > 0 { 23623 i -= len(m.Hostname) 23624 copy(dAtA[i:], m.Hostname) 23625 i = encodeVarintTypes(dAtA, i, uint64(len(m.Hostname))) 23626 i-- 23627 dAtA[i] = 0x1a 23628 } 23629 if len(m.Addr) > 0 { 23630 i -= len(m.Addr) 23631 copy(dAtA[i:], m.Addr) 23632 i = encodeVarintTypes(dAtA, i, uint64(len(m.Addr))) 23633 i-- 23634 dAtA[i] = 0xa 23635 } 23636 return len(dAtA) - i, nil 23637 } 23638 23639 func (m *AWSInfo) Marshal() (dAtA []byte, err error) { 23640 size := m.Size() 23641 dAtA = make([]byte, size) 23642 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23643 if err != nil { 23644 return nil, err 23645 } 23646 return dAtA[:n], nil 23647 } 23648 23649 func (m *AWSInfo) MarshalTo(dAtA []byte) (int, error) { 23650 size := m.Size() 23651 return m.MarshalToSizedBuffer(dAtA[:size]) 23652 } 23653 23654 func (m *AWSInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23655 i := len(dAtA) 23656 _ = i 23657 var l int 23658 _ = l 23659 if m.XXX_unrecognized != nil { 23660 i -= len(m.XXX_unrecognized) 23661 copy(dAtA[i:], m.XXX_unrecognized) 23662 } 23663 if len(m.SubnetID) > 0 { 23664 i -= len(m.SubnetID) 23665 copy(dAtA[i:], m.SubnetID) 23666 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubnetID))) 23667 i-- 23668 dAtA[i] = 0x32 23669 } 23670 if len(m.Integration) > 0 { 23671 i -= len(m.Integration) 23672 copy(dAtA[i:], m.Integration) 23673 i = encodeVarintTypes(dAtA, i, uint64(len(m.Integration))) 23674 i-- 23675 dAtA[i] = 0x2a 23676 } 23677 if len(m.VPCID) > 0 { 23678 i -= len(m.VPCID) 23679 copy(dAtA[i:], m.VPCID) 23680 i = encodeVarintTypes(dAtA, i, uint64(len(m.VPCID))) 23681 i-- 23682 dAtA[i] = 0x22 23683 } 23684 if len(m.Region) > 0 { 23685 i -= len(m.Region) 23686 copy(dAtA[i:], m.Region) 23687 i = encodeVarintTypes(dAtA, i, uint64(len(m.Region))) 23688 i-- 23689 dAtA[i] = 0x1a 23690 } 23691 if len(m.InstanceID) > 0 { 23692 i -= len(m.InstanceID) 23693 copy(dAtA[i:], m.InstanceID) 23694 i = encodeVarintTypes(dAtA, i, uint64(len(m.InstanceID))) 23695 i-- 23696 dAtA[i] = 0x12 23697 } 23698 if len(m.AccountID) > 0 { 23699 i -= len(m.AccountID) 23700 copy(dAtA[i:], m.AccountID) 23701 i = encodeVarintTypes(dAtA, i, uint64(len(m.AccountID))) 23702 i-- 23703 dAtA[i] = 0xa 23704 } 23705 return len(dAtA) - i, nil 23706 } 23707 23708 func (m *CloudMetadata) Marshal() (dAtA []byte, err error) { 23709 size := m.Size() 23710 dAtA = make([]byte, size) 23711 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23712 if err != nil { 23713 return nil, err 23714 } 23715 return dAtA[:n], nil 23716 } 23717 23718 func (m *CloudMetadata) MarshalTo(dAtA []byte) (int, error) { 23719 size := m.Size() 23720 return m.MarshalToSizedBuffer(dAtA[:size]) 23721 } 23722 23723 func (m *CloudMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23724 i := len(dAtA) 23725 _ = i 23726 var l int 23727 _ = l 23728 if m.XXX_unrecognized != nil { 23729 i -= len(m.XXX_unrecognized) 23730 copy(dAtA[i:], m.XXX_unrecognized) 23731 } 23732 if m.AWS != nil { 23733 { 23734 size, err := m.AWS.MarshalToSizedBuffer(dAtA[:i]) 23735 if err != nil { 23736 return 0, err 23737 } 23738 i -= size 23739 i = encodeVarintTypes(dAtA, i, uint64(size)) 23740 } 23741 i-- 23742 dAtA[i] = 0xa 23743 } 23744 return len(dAtA) - i, nil 23745 } 23746 23747 func (m *AppServerV3) Marshal() (dAtA []byte, err error) { 23748 size := m.Size() 23749 dAtA = make([]byte, size) 23750 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23751 if err != nil { 23752 return nil, err 23753 } 23754 return dAtA[:n], nil 23755 } 23756 23757 func (m *AppServerV3) MarshalTo(dAtA []byte) (int, error) { 23758 size := m.Size() 23759 return m.MarshalToSizedBuffer(dAtA[:size]) 23760 } 23761 23762 func (m *AppServerV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23763 i := len(dAtA) 23764 _ = i 23765 var l int 23766 _ = l 23767 if m.XXX_unrecognized != nil { 23768 i -= len(m.XXX_unrecognized) 23769 copy(dAtA[i:], m.XXX_unrecognized) 23770 } 23771 { 23772 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 23773 if err != nil { 23774 return 0, err 23775 } 23776 i -= size 23777 i = encodeVarintTypes(dAtA, i, uint64(size)) 23778 } 23779 i-- 23780 dAtA[i] = 0x2a 23781 { 23782 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 23783 if err != nil { 23784 return 0, err 23785 } 23786 i -= size 23787 i = encodeVarintTypes(dAtA, i, uint64(size)) 23788 } 23789 i-- 23790 dAtA[i] = 0x22 23791 if len(m.Version) > 0 { 23792 i -= len(m.Version) 23793 copy(dAtA[i:], m.Version) 23794 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 23795 i-- 23796 dAtA[i] = 0x1a 23797 } 23798 if len(m.SubKind) > 0 { 23799 i -= len(m.SubKind) 23800 copy(dAtA[i:], m.SubKind) 23801 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 23802 i-- 23803 dAtA[i] = 0x12 23804 } 23805 if len(m.Kind) > 0 { 23806 i -= len(m.Kind) 23807 copy(dAtA[i:], m.Kind) 23808 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 23809 i-- 23810 dAtA[i] = 0xa 23811 } 23812 return len(dAtA) - i, nil 23813 } 23814 23815 func (m *AppServerSpecV3) Marshal() (dAtA []byte, err error) { 23816 size := m.Size() 23817 dAtA = make([]byte, size) 23818 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23819 if err != nil { 23820 return nil, err 23821 } 23822 return dAtA[:n], nil 23823 } 23824 23825 func (m *AppServerSpecV3) MarshalTo(dAtA []byte) (int, error) { 23826 size := m.Size() 23827 return m.MarshalToSizedBuffer(dAtA[:size]) 23828 } 23829 23830 func (m *AppServerSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23831 i := len(dAtA) 23832 _ = i 23833 var l int 23834 _ = l 23835 if m.XXX_unrecognized != nil { 23836 i -= len(m.XXX_unrecognized) 23837 copy(dAtA[i:], m.XXX_unrecognized) 23838 } 23839 if len(m.ProxyIDs) > 0 { 23840 for iNdEx := len(m.ProxyIDs) - 1; iNdEx >= 0; iNdEx-- { 23841 i -= len(m.ProxyIDs[iNdEx]) 23842 copy(dAtA[i:], m.ProxyIDs[iNdEx]) 23843 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProxyIDs[iNdEx]))) 23844 i-- 23845 dAtA[i] = 0x32 23846 } 23847 } 23848 if m.App != nil { 23849 { 23850 size, err := m.App.MarshalToSizedBuffer(dAtA[:i]) 23851 if err != nil { 23852 return 0, err 23853 } 23854 i -= size 23855 i = encodeVarintTypes(dAtA, i, uint64(size)) 23856 } 23857 i-- 23858 dAtA[i] = 0x2a 23859 } 23860 { 23861 size, err := m.Rotation.MarshalToSizedBuffer(dAtA[:i]) 23862 if err != nil { 23863 return 0, err 23864 } 23865 i -= size 23866 i = encodeVarintTypes(dAtA, i, uint64(size)) 23867 } 23868 i-- 23869 dAtA[i] = 0x22 23870 if len(m.HostID) > 0 { 23871 i -= len(m.HostID) 23872 copy(dAtA[i:], m.HostID) 23873 i = encodeVarintTypes(dAtA, i, uint64(len(m.HostID))) 23874 i-- 23875 dAtA[i] = 0x1a 23876 } 23877 if len(m.Hostname) > 0 { 23878 i -= len(m.Hostname) 23879 copy(dAtA[i:], m.Hostname) 23880 i = encodeVarintTypes(dAtA, i, uint64(len(m.Hostname))) 23881 i-- 23882 dAtA[i] = 0x12 23883 } 23884 if len(m.Version) > 0 { 23885 i -= len(m.Version) 23886 copy(dAtA[i:], m.Version) 23887 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 23888 i-- 23889 dAtA[i] = 0xa 23890 } 23891 return len(dAtA) - i, nil 23892 } 23893 23894 func (m *AppV3List) Marshal() (dAtA []byte, err error) { 23895 size := m.Size() 23896 dAtA = make([]byte, size) 23897 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23898 if err != nil { 23899 return nil, err 23900 } 23901 return dAtA[:n], nil 23902 } 23903 23904 func (m *AppV3List) MarshalTo(dAtA []byte) (int, error) { 23905 size := m.Size() 23906 return m.MarshalToSizedBuffer(dAtA[:size]) 23907 } 23908 23909 func (m *AppV3List) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23910 i := len(dAtA) 23911 _ = i 23912 var l int 23913 _ = l 23914 if m.XXX_unrecognized != nil { 23915 i -= len(m.XXX_unrecognized) 23916 copy(dAtA[i:], m.XXX_unrecognized) 23917 } 23918 if len(m.Apps) > 0 { 23919 for iNdEx := len(m.Apps) - 1; iNdEx >= 0; iNdEx-- { 23920 { 23921 size, err := m.Apps[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 23922 if err != nil { 23923 return 0, err 23924 } 23925 i -= size 23926 i = encodeVarintTypes(dAtA, i, uint64(size)) 23927 } 23928 i-- 23929 dAtA[i] = 0xa 23930 } 23931 } 23932 return len(dAtA) - i, nil 23933 } 23934 23935 func (m *AppV3) Marshal() (dAtA []byte, err error) { 23936 size := m.Size() 23937 dAtA = make([]byte, size) 23938 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 23939 if err != nil { 23940 return nil, err 23941 } 23942 return dAtA[:n], nil 23943 } 23944 23945 func (m *AppV3) MarshalTo(dAtA []byte) (int, error) { 23946 size := m.Size() 23947 return m.MarshalToSizedBuffer(dAtA[:size]) 23948 } 23949 23950 func (m *AppV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 23951 i := len(dAtA) 23952 _ = i 23953 var l int 23954 _ = l 23955 if m.XXX_unrecognized != nil { 23956 i -= len(m.XXX_unrecognized) 23957 copy(dAtA[i:], m.XXX_unrecognized) 23958 } 23959 { 23960 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 23961 if err != nil { 23962 return 0, err 23963 } 23964 i -= size 23965 i = encodeVarintTypes(dAtA, i, uint64(size)) 23966 } 23967 i-- 23968 dAtA[i] = 0x2a 23969 { 23970 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 23971 if err != nil { 23972 return 0, err 23973 } 23974 i -= size 23975 i = encodeVarintTypes(dAtA, i, uint64(size)) 23976 } 23977 i-- 23978 dAtA[i] = 0x22 23979 if len(m.Version) > 0 { 23980 i -= len(m.Version) 23981 copy(dAtA[i:], m.Version) 23982 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 23983 i-- 23984 dAtA[i] = 0x1a 23985 } 23986 if len(m.SubKind) > 0 { 23987 i -= len(m.SubKind) 23988 copy(dAtA[i:], m.SubKind) 23989 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 23990 i-- 23991 dAtA[i] = 0x12 23992 } 23993 if len(m.Kind) > 0 { 23994 i -= len(m.Kind) 23995 copy(dAtA[i:], m.Kind) 23996 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 23997 i-- 23998 dAtA[i] = 0xa 23999 } 24000 return len(dAtA) - i, nil 24001 } 24002 24003 func (m *AppSpecV3) Marshal() (dAtA []byte, err error) { 24004 size := m.Size() 24005 dAtA = make([]byte, size) 24006 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24007 if err != nil { 24008 return nil, err 24009 } 24010 return dAtA[:n], nil 24011 } 24012 24013 func (m *AppSpecV3) MarshalTo(dAtA []byte) (int, error) { 24014 size := m.Size() 24015 return m.MarshalToSizedBuffer(dAtA[:size]) 24016 } 24017 24018 func (m *AppSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24019 i := len(dAtA) 24020 _ = i 24021 var l int 24022 _ = l 24023 if m.XXX_unrecognized != nil { 24024 i -= len(m.XXX_unrecognized) 24025 copy(dAtA[i:], m.XXX_unrecognized) 24026 } 24027 if len(m.Integration) > 0 { 24028 i -= len(m.Integration) 24029 copy(dAtA[i:], m.Integration) 24030 i = encodeVarintTypes(dAtA, i, uint64(len(m.Integration))) 24031 i-- 24032 dAtA[i] = 0x4a 24033 } 24034 if len(m.UserGroups) > 0 { 24035 for iNdEx := len(m.UserGroups) - 1; iNdEx >= 0; iNdEx-- { 24036 i -= len(m.UserGroups[iNdEx]) 24037 copy(dAtA[i:], m.UserGroups[iNdEx]) 24038 i = encodeVarintTypes(dAtA, i, uint64(len(m.UserGroups[iNdEx]))) 24039 i-- 24040 dAtA[i] = 0x42 24041 } 24042 } 24043 if len(m.Cloud) > 0 { 24044 i -= len(m.Cloud) 24045 copy(dAtA[i:], m.Cloud) 24046 i = encodeVarintTypes(dAtA, i, uint64(len(m.Cloud))) 24047 i-- 24048 dAtA[i] = 0x3a 24049 } 24050 if m.AWS != nil { 24051 { 24052 size, err := m.AWS.MarshalToSizedBuffer(dAtA[:i]) 24053 if err != nil { 24054 return 0, err 24055 } 24056 i -= size 24057 i = encodeVarintTypes(dAtA, i, uint64(size)) 24058 } 24059 i-- 24060 dAtA[i] = 0x32 24061 } 24062 if m.Rewrite != nil { 24063 { 24064 size, err := m.Rewrite.MarshalToSizedBuffer(dAtA[:i]) 24065 if err != nil { 24066 return 0, err 24067 } 24068 i -= size 24069 i = encodeVarintTypes(dAtA, i, uint64(size)) 24070 } 24071 i-- 24072 dAtA[i] = 0x2a 24073 } 24074 if m.InsecureSkipVerify { 24075 i-- 24076 if m.InsecureSkipVerify { 24077 dAtA[i] = 1 24078 } else { 24079 dAtA[i] = 0 24080 } 24081 i-- 24082 dAtA[i] = 0x20 24083 } 24084 if len(m.DynamicLabels) > 0 { 24085 for k := range m.DynamicLabels { 24086 v := m.DynamicLabels[k] 24087 baseI := i 24088 { 24089 size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) 24090 if err != nil { 24091 return 0, err 24092 } 24093 i -= size 24094 i = encodeVarintTypes(dAtA, i, uint64(size)) 24095 } 24096 i-- 24097 dAtA[i] = 0x12 24098 i -= len(k) 24099 copy(dAtA[i:], k) 24100 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 24101 i-- 24102 dAtA[i] = 0xa 24103 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 24104 i-- 24105 dAtA[i] = 0x1a 24106 } 24107 } 24108 if len(m.PublicAddr) > 0 { 24109 i -= len(m.PublicAddr) 24110 copy(dAtA[i:], m.PublicAddr) 24111 i = encodeVarintTypes(dAtA, i, uint64(len(m.PublicAddr))) 24112 i-- 24113 dAtA[i] = 0x12 24114 } 24115 if len(m.URI) > 0 { 24116 i -= len(m.URI) 24117 copy(dAtA[i:], m.URI) 24118 i = encodeVarintTypes(dAtA, i, uint64(len(m.URI))) 24119 i-- 24120 dAtA[i] = 0xa 24121 } 24122 return len(dAtA) - i, nil 24123 } 24124 24125 func (m *AppServerOrSAMLIdPServiceProviderV1) Marshal() (dAtA []byte, err error) { 24126 size := m.Size() 24127 dAtA = make([]byte, size) 24128 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24129 if err != nil { 24130 return nil, err 24131 } 24132 return dAtA[:n], nil 24133 } 24134 24135 func (m *AppServerOrSAMLIdPServiceProviderV1) MarshalTo(dAtA []byte) (int, error) { 24136 size := m.Size() 24137 return m.MarshalToSizedBuffer(dAtA[:size]) 24138 } 24139 24140 func (m *AppServerOrSAMLIdPServiceProviderV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24141 i := len(dAtA) 24142 _ = i 24143 var l int 24144 _ = l 24145 if m.XXX_unrecognized != nil { 24146 i -= len(m.XXX_unrecognized) 24147 copy(dAtA[i:], m.XXX_unrecognized) 24148 } 24149 if m.Resource != nil { 24150 { 24151 size := m.Resource.Size() 24152 i -= size 24153 if _, err := m.Resource.MarshalTo(dAtA[i:]); err != nil { 24154 return 0, err 24155 } 24156 } 24157 } 24158 if len(m.Kind) > 0 { 24159 i -= len(m.Kind) 24160 copy(dAtA[i:], m.Kind) 24161 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 24162 i-- 24163 dAtA[i] = 0xa 24164 } 24165 return len(dAtA) - i, nil 24166 } 24167 24168 func (m *AppServerOrSAMLIdPServiceProviderV1_AppServer) MarshalTo(dAtA []byte) (int, error) { 24169 size := m.Size() 24170 return m.MarshalToSizedBuffer(dAtA[:size]) 24171 } 24172 24173 func (m *AppServerOrSAMLIdPServiceProviderV1_AppServer) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24174 i := len(dAtA) 24175 if m.AppServer != nil { 24176 { 24177 size, err := m.AppServer.MarshalToSizedBuffer(dAtA[:i]) 24178 if err != nil { 24179 return 0, err 24180 } 24181 i -= size 24182 i = encodeVarintTypes(dAtA, i, uint64(size)) 24183 } 24184 i-- 24185 dAtA[i] = 0x12 24186 } 24187 return len(dAtA) - i, nil 24188 } 24189 func (m *AppServerOrSAMLIdPServiceProviderV1_SAMLIdPServiceProvider) MarshalTo(dAtA []byte) (int, error) { 24190 size := m.Size() 24191 return m.MarshalToSizedBuffer(dAtA[:size]) 24192 } 24193 24194 func (m *AppServerOrSAMLIdPServiceProviderV1_SAMLIdPServiceProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24195 i := len(dAtA) 24196 if m.SAMLIdPServiceProvider != nil { 24197 { 24198 size, err := m.SAMLIdPServiceProvider.MarshalToSizedBuffer(dAtA[:i]) 24199 if err != nil { 24200 return 0, err 24201 } 24202 i -= size 24203 i = encodeVarintTypes(dAtA, i, uint64(size)) 24204 } 24205 i-- 24206 dAtA[i] = 0x1a 24207 } 24208 return len(dAtA) - i, nil 24209 } 24210 func (m *Rewrite) Marshal() (dAtA []byte, err error) { 24211 size := m.Size() 24212 dAtA = make([]byte, size) 24213 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24214 if err != nil { 24215 return nil, err 24216 } 24217 return dAtA[:n], nil 24218 } 24219 24220 func (m *Rewrite) MarshalTo(dAtA []byte) (int, error) { 24221 size := m.Size() 24222 return m.MarshalToSizedBuffer(dAtA[:size]) 24223 } 24224 24225 func (m *Rewrite) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24226 i := len(dAtA) 24227 _ = i 24228 var l int 24229 _ = l 24230 if m.XXX_unrecognized != nil { 24231 i -= len(m.XXX_unrecognized) 24232 copy(dAtA[i:], m.XXX_unrecognized) 24233 } 24234 if len(m.JWTClaims) > 0 { 24235 i -= len(m.JWTClaims) 24236 copy(dAtA[i:], m.JWTClaims) 24237 i = encodeVarintTypes(dAtA, i, uint64(len(m.JWTClaims))) 24238 i-- 24239 dAtA[i] = 0x1a 24240 } 24241 if len(m.Headers) > 0 { 24242 for iNdEx := len(m.Headers) - 1; iNdEx >= 0; iNdEx-- { 24243 { 24244 size, err := m.Headers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 24245 if err != nil { 24246 return 0, err 24247 } 24248 i -= size 24249 i = encodeVarintTypes(dAtA, i, uint64(size)) 24250 } 24251 i-- 24252 dAtA[i] = 0x12 24253 } 24254 } 24255 if len(m.Redirect) > 0 { 24256 for iNdEx := len(m.Redirect) - 1; iNdEx >= 0; iNdEx-- { 24257 i -= len(m.Redirect[iNdEx]) 24258 copy(dAtA[i:], m.Redirect[iNdEx]) 24259 i = encodeVarintTypes(dAtA, i, uint64(len(m.Redirect[iNdEx]))) 24260 i-- 24261 dAtA[i] = 0xa 24262 } 24263 } 24264 return len(dAtA) - i, nil 24265 } 24266 24267 func (m *Header) Marshal() (dAtA []byte, err error) { 24268 size := m.Size() 24269 dAtA = make([]byte, size) 24270 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24271 if err != nil { 24272 return nil, err 24273 } 24274 return dAtA[:n], nil 24275 } 24276 24277 func (m *Header) MarshalTo(dAtA []byte) (int, error) { 24278 size := m.Size() 24279 return m.MarshalToSizedBuffer(dAtA[:size]) 24280 } 24281 24282 func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24283 i := len(dAtA) 24284 _ = i 24285 var l int 24286 _ = l 24287 if m.XXX_unrecognized != nil { 24288 i -= len(m.XXX_unrecognized) 24289 copy(dAtA[i:], m.XXX_unrecognized) 24290 } 24291 if len(m.Value) > 0 { 24292 i -= len(m.Value) 24293 copy(dAtA[i:], m.Value) 24294 i = encodeVarintTypes(dAtA, i, uint64(len(m.Value))) 24295 i-- 24296 dAtA[i] = 0x12 24297 } 24298 if len(m.Name) > 0 { 24299 i -= len(m.Name) 24300 copy(dAtA[i:], m.Name) 24301 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 24302 i-- 24303 dAtA[i] = 0xa 24304 } 24305 return len(dAtA) - i, nil 24306 } 24307 24308 func (m *CommandLabelV2) Marshal() (dAtA []byte, err error) { 24309 size := m.Size() 24310 dAtA = make([]byte, size) 24311 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24312 if err != nil { 24313 return nil, err 24314 } 24315 return dAtA[:n], nil 24316 } 24317 24318 func (m *CommandLabelV2) MarshalTo(dAtA []byte) (int, error) { 24319 size := m.Size() 24320 return m.MarshalToSizedBuffer(dAtA[:size]) 24321 } 24322 24323 func (m *CommandLabelV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24324 i := len(dAtA) 24325 _ = i 24326 var l int 24327 _ = l 24328 if m.XXX_unrecognized != nil { 24329 i -= len(m.XXX_unrecognized) 24330 copy(dAtA[i:], m.XXX_unrecognized) 24331 } 24332 if len(m.Result) > 0 { 24333 i -= len(m.Result) 24334 copy(dAtA[i:], m.Result) 24335 i = encodeVarintTypes(dAtA, i, uint64(len(m.Result))) 24336 i-- 24337 dAtA[i] = 0x1a 24338 } 24339 if len(m.Command) > 0 { 24340 for iNdEx := len(m.Command) - 1; iNdEx >= 0; iNdEx-- { 24341 i -= len(m.Command[iNdEx]) 24342 copy(dAtA[i:], m.Command[iNdEx]) 24343 i = encodeVarintTypes(dAtA, i, uint64(len(m.Command[iNdEx]))) 24344 i-- 24345 dAtA[i] = 0x12 24346 } 24347 } 24348 if m.Period != 0 { 24349 i = encodeVarintTypes(dAtA, i, uint64(m.Period)) 24350 i-- 24351 dAtA[i] = 0x8 24352 } 24353 return len(dAtA) - i, nil 24354 } 24355 24356 func (m *AppAWS) Marshal() (dAtA []byte, err error) { 24357 size := m.Size() 24358 dAtA = make([]byte, size) 24359 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24360 if err != nil { 24361 return nil, err 24362 } 24363 return dAtA[:n], nil 24364 } 24365 24366 func (m *AppAWS) MarshalTo(dAtA []byte) (int, error) { 24367 size := m.Size() 24368 return m.MarshalToSizedBuffer(dAtA[:size]) 24369 } 24370 24371 func (m *AppAWS) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24372 i := len(dAtA) 24373 _ = i 24374 var l int 24375 _ = l 24376 if m.XXX_unrecognized != nil { 24377 i -= len(m.XXX_unrecognized) 24378 copy(dAtA[i:], m.XXX_unrecognized) 24379 } 24380 if len(m.ExternalID) > 0 { 24381 i -= len(m.ExternalID) 24382 copy(dAtA[i:], m.ExternalID) 24383 i = encodeVarintTypes(dAtA, i, uint64(len(m.ExternalID))) 24384 i-- 24385 dAtA[i] = 0xa 24386 } 24387 return len(dAtA) - i, nil 24388 } 24389 24390 func (m *SSHKeyPair) Marshal() (dAtA []byte, err error) { 24391 size := m.Size() 24392 dAtA = make([]byte, size) 24393 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24394 if err != nil { 24395 return nil, err 24396 } 24397 return dAtA[:n], nil 24398 } 24399 24400 func (m *SSHKeyPair) MarshalTo(dAtA []byte) (int, error) { 24401 size := m.Size() 24402 return m.MarshalToSizedBuffer(dAtA[:size]) 24403 } 24404 24405 func (m *SSHKeyPair) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24406 i := len(dAtA) 24407 _ = i 24408 var l int 24409 _ = l 24410 if m.XXX_unrecognized != nil { 24411 i -= len(m.XXX_unrecognized) 24412 copy(dAtA[i:], m.XXX_unrecognized) 24413 } 24414 if m.PrivateKeyType != 0 { 24415 i = encodeVarintTypes(dAtA, i, uint64(m.PrivateKeyType)) 24416 i-- 24417 dAtA[i] = 0x18 24418 } 24419 if len(m.PrivateKey) > 0 { 24420 i -= len(m.PrivateKey) 24421 copy(dAtA[i:], m.PrivateKey) 24422 i = encodeVarintTypes(dAtA, i, uint64(len(m.PrivateKey))) 24423 i-- 24424 dAtA[i] = 0x12 24425 } 24426 if len(m.PublicKey) > 0 { 24427 i -= len(m.PublicKey) 24428 copy(dAtA[i:], m.PublicKey) 24429 i = encodeVarintTypes(dAtA, i, uint64(len(m.PublicKey))) 24430 i-- 24431 dAtA[i] = 0xa 24432 } 24433 return len(dAtA) - i, nil 24434 } 24435 24436 func (m *TLSKeyPair) Marshal() (dAtA []byte, err error) { 24437 size := m.Size() 24438 dAtA = make([]byte, size) 24439 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24440 if err != nil { 24441 return nil, err 24442 } 24443 return dAtA[:n], nil 24444 } 24445 24446 func (m *TLSKeyPair) MarshalTo(dAtA []byte) (int, error) { 24447 size := m.Size() 24448 return m.MarshalToSizedBuffer(dAtA[:size]) 24449 } 24450 24451 func (m *TLSKeyPair) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24452 i := len(dAtA) 24453 _ = i 24454 var l int 24455 _ = l 24456 if m.XXX_unrecognized != nil { 24457 i -= len(m.XXX_unrecognized) 24458 copy(dAtA[i:], m.XXX_unrecognized) 24459 } 24460 if m.KeyType != 0 { 24461 i = encodeVarintTypes(dAtA, i, uint64(m.KeyType)) 24462 i-- 24463 dAtA[i] = 0x18 24464 } 24465 if len(m.Key) > 0 { 24466 i -= len(m.Key) 24467 copy(dAtA[i:], m.Key) 24468 i = encodeVarintTypes(dAtA, i, uint64(len(m.Key))) 24469 i-- 24470 dAtA[i] = 0x12 24471 } 24472 if len(m.Cert) > 0 { 24473 i -= len(m.Cert) 24474 copy(dAtA[i:], m.Cert) 24475 i = encodeVarintTypes(dAtA, i, uint64(len(m.Cert))) 24476 i-- 24477 dAtA[i] = 0xa 24478 } 24479 return len(dAtA) - i, nil 24480 } 24481 24482 func (m *JWTKeyPair) Marshal() (dAtA []byte, err error) { 24483 size := m.Size() 24484 dAtA = make([]byte, size) 24485 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24486 if err != nil { 24487 return nil, err 24488 } 24489 return dAtA[:n], nil 24490 } 24491 24492 func (m *JWTKeyPair) MarshalTo(dAtA []byte) (int, error) { 24493 size := m.Size() 24494 return m.MarshalToSizedBuffer(dAtA[:size]) 24495 } 24496 24497 func (m *JWTKeyPair) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24498 i := len(dAtA) 24499 _ = i 24500 var l int 24501 _ = l 24502 if m.XXX_unrecognized != nil { 24503 i -= len(m.XXX_unrecognized) 24504 copy(dAtA[i:], m.XXX_unrecognized) 24505 } 24506 if m.PrivateKeyType != 0 { 24507 i = encodeVarintTypes(dAtA, i, uint64(m.PrivateKeyType)) 24508 i-- 24509 dAtA[i] = 0x18 24510 } 24511 if len(m.PrivateKey) > 0 { 24512 i -= len(m.PrivateKey) 24513 copy(dAtA[i:], m.PrivateKey) 24514 i = encodeVarintTypes(dAtA, i, uint64(len(m.PrivateKey))) 24515 i-- 24516 dAtA[i] = 0x12 24517 } 24518 if len(m.PublicKey) > 0 { 24519 i -= len(m.PublicKey) 24520 copy(dAtA[i:], m.PublicKey) 24521 i = encodeVarintTypes(dAtA, i, uint64(len(m.PublicKey))) 24522 i-- 24523 dAtA[i] = 0xa 24524 } 24525 return len(dAtA) - i, nil 24526 } 24527 24528 func (m *CertAuthorityV2) Marshal() (dAtA []byte, err error) { 24529 size := m.Size() 24530 dAtA = make([]byte, size) 24531 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24532 if err != nil { 24533 return nil, err 24534 } 24535 return dAtA[:n], nil 24536 } 24537 24538 func (m *CertAuthorityV2) MarshalTo(dAtA []byte) (int, error) { 24539 size := m.Size() 24540 return m.MarshalToSizedBuffer(dAtA[:size]) 24541 } 24542 24543 func (m *CertAuthorityV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24544 i := len(dAtA) 24545 _ = i 24546 var l int 24547 _ = l 24548 if m.XXX_unrecognized != nil { 24549 i -= len(m.XXX_unrecognized) 24550 copy(dAtA[i:], m.XXX_unrecognized) 24551 } 24552 { 24553 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 24554 if err != nil { 24555 return 0, err 24556 } 24557 i -= size 24558 i = encodeVarintTypes(dAtA, i, uint64(size)) 24559 } 24560 i-- 24561 dAtA[i] = 0x2a 24562 { 24563 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 24564 if err != nil { 24565 return 0, err 24566 } 24567 i -= size 24568 i = encodeVarintTypes(dAtA, i, uint64(size)) 24569 } 24570 i-- 24571 dAtA[i] = 0x22 24572 if len(m.Version) > 0 { 24573 i -= len(m.Version) 24574 copy(dAtA[i:], m.Version) 24575 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 24576 i-- 24577 dAtA[i] = 0x1a 24578 } 24579 if len(m.SubKind) > 0 { 24580 i -= len(m.SubKind) 24581 copy(dAtA[i:], m.SubKind) 24582 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 24583 i-- 24584 dAtA[i] = 0x12 24585 } 24586 if len(m.Kind) > 0 { 24587 i -= len(m.Kind) 24588 copy(dAtA[i:], m.Kind) 24589 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 24590 i-- 24591 dAtA[i] = 0xa 24592 } 24593 return len(dAtA) - i, nil 24594 } 24595 24596 func (m *CertAuthoritySpecV2) Marshal() (dAtA []byte, err error) { 24597 size := m.Size() 24598 dAtA = make([]byte, size) 24599 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24600 if err != nil { 24601 return nil, err 24602 } 24603 return dAtA[:n], nil 24604 } 24605 24606 func (m *CertAuthoritySpecV2) MarshalTo(dAtA []byte) (int, error) { 24607 size := m.Size() 24608 return m.MarshalToSizedBuffer(dAtA[:size]) 24609 } 24610 24611 func (m *CertAuthoritySpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24612 i := len(dAtA) 24613 _ = i 24614 var l int 24615 _ = l 24616 if m.XXX_unrecognized != nil { 24617 i -= len(m.XXX_unrecognized) 24618 copy(dAtA[i:], m.XXX_unrecognized) 24619 } 24620 { 24621 size, err := m.AdditionalTrustedKeys.MarshalToSizedBuffer(dAtA[:i]) 24622 if err != nil { 24623 return 0, err 24624 } 24625 i -= size 24626 i = encodeVarintTypes(dAtA, i, uint64(size)) 24627 } 24628 i-- 24629 dAtA[i] = 0x62 24630 { 24631 size, err := m.ActiveKeys.MarshalToSizedBuffer(dAtA[:i]) 24632 if err != nil { 24633 return 0, err 24634 } 24635 i -= size 24636 i = encodeVarintTypes(dAtA, i, uint64(size)) 24637 } 24638 i-- 24639 dAtA[i] = 0x5a 24640 if m.SigningAlg != 0 { 24641 i = encodeVarintTypes(dAtA, i, uint64(m.SigningAlg)) 24642 i-- 24643 dAtA[i] = 0x48 24644 } 24645 if m.Rotation != nil { 24646 { 24647 size, err := m.Rotation.MarshalToSizedBuffer(dAtA[:i]) 24648 if err != nil { 24649 return 0, err 24650 } 24651 i -= size 24652 i = encodeVarintTypes(dAtA, i, uint64(size)) 24653 } 24654 i-- 24655 dAtA[i] = 0x42 24656 } 24657 if len(m.RoleMap) > 0 { 24658 for iNdEx := len(m.RoleMap) - 1; iNdEx >= 0; iNdEx-- { 24659 { 24660 size, err := m.RoleMap[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 24661 if err != nil { 24662 return 0, err 24663 } 24664 i -= size 24665 i = encodeVarintTypes(dAtA, i, uint64(size)) 24666 } 24667 i-- 24668 dAtA[i] = 0x32 24669 } 24670 } 24671 if len(m.Roles) > 0 { 24672 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 24673 i -= len(m.Roles[iNdEx]) 24674 copy(dAtA[i:], m.Roles[iNdEx]) 24675 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 24676 i-- 24677 dAtA[i] = 0x2a 24678 } 24679 } 24680 if len(m.ClusterName) > 0 { 24681 i -= len(m.ClusterName) 24682 copy(dAtA[i:], m.ClusterName) 24683 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClusterName))) 24684 i-- 24685 dAtA[i] = 0x12 24686 } 24687 if len(m.Type) > 0 { 24688 i -= len(m.Type) 24689 copy(dAtA[i:], m.Type) 24690 i = encodeVarintTypes(dAtA, i, uint64(len(m.Type))) 24691 i-- 24692 dAtA[i] = 0xa 24693 } 24694 return len(dAtA) - i, nil 24695 } 24696 24697 func (m *CAKeySet) Marshal() (dAtA []byte, err error) { 24698 size := m.Size() 24699 dAtA = make([]byte, size) 24700 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24701 if err != nil { 24702 return nil, err 24703 } 24704 return dAtA[:n], nil 24705 } 24706 24707 func (m *CAKeySet) MarshalTo(dAtA []byte) (int, error) { 24708 size := m.Size() 24709 return m.MarshalToSizedBuffer(dAtA[:size]) 24710 } 24711 24712 func (m *CAKeySet) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24713 i := len(dAtA) 24714 _ = i 24715 var l int 24716 _ = l 24717 if m.XXX_unrecognized != nil { 24718 i -= len(m.XXX_unrecognized) 24719 copy(dAtA[i:], m.XXX_unrecognized) 24720 } 24721 if len(m.JWT) > 0 { 24722 for iNdEx := len(m.JWT) - 1; iNdEx >= 0; iNdEx-- { 24723 { 24724 size, err := m.JWT[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 24725 if err != nil { 24726 return 0, err 24727 } 24728 i -= size 24729 i = encodeVarintTypes(dAtA, i, uint64(size)) 24730 } 24731 i-- 24732 dAtA[i] = 0x1a 24733 } 24734 } 24735 if len(m.TLS) > 0 { 24736 for iNdEx := len(m.TLS) - 1; iNdEx >= 0; iNdEx-- { 24737 { 24738 size, err := m.TLS[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 24739 if err != nil { 24740 return 0, err 24741 } 24742 i -= size 24743 i = encodeVarintTypes(dAtA, i, uint64(size)) 24744 } 24745 i-- 24746 dAtA[i] = 0x12 24747 } 24748 } 24749 if len(m.SSH) > 0 { 24750 for iNdEx := len(m.SSH) - 1; iNdEx >= 0; iNdEx-- { 24751 { 24752 size, err := m.SSH[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 24753 if err != nil { 24754 return 0, err 24755 } 24756 i -= size 24757 i = encodeVarintTypes(dAtA, i, uint64(size)) 24758 } 24759 i-- 24760 dAtA[i] = 0xa 24761 } 24762 } 24763 return len(dAtA) - i, nil 24764 } 24765 24766 func (m *RoleMapping) Marshal() (dAtA []byte, err error) { 24767 size := m.Size() 24768 dAtA = make([]byte, size) 24769 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24770 if err != nil { 24771 return nil, err 24772 } 24773 return dAtA[:n], nil 24774 } 24775 24776 func (m *RoleMapping) MarshalTo(dAtA []byte) (int, error) { 24777 size := m.Size() 24778 return m.MarshalToSizedBuffer(dAtA[:size]) 24779 } 24780 24781 func (m *RoleMapping) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24782 i := len(dAtA) 24783 _ = i 24784 var l int 24785 _ = l 24786 if m.XXX_unrecognized != nil { 24787 i -= len(m.XXX_unrecognized) 24788 copy(dAtA[i:], m.XXX_unrecognized) 24789 } 24790 if len(m.Local) > 0 { 24791 for iNdEx := len(m.Local) - 1; iNdEx >= 0; iNdEx-- { 24792 i -= len(m.Local[iNdEx]) 24793 copy(dAtA[i:], m.Local[iNdEx]) 24794 i = encodeVarintTypes(dAtA, i, uint64(len(m.Local[iNdEx]))) 24795 i-- 24796 dAtA[i] = 0x12 24797 } 24798 } 24799 if len(m.Remote) > 0 { 24800 i -= len(m.Remote) 24801 copy(dAtA[i:], m.Remote) 24802 i = encodeVarintTypes(dAtA, i, uint64(len(m.Remote))) 24803 i-- 24804 dAtA[i] = 0xa 24805 } 24806 return len(dAtA) - i, nil 24807 } 24808 24809 func (m *ProvisionTokenV1) Marshal() (dAtA []byte, err error) { 24810 size := m.Size() 24811 dAtA = make([]byte, size) 24812 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24813 if err != nil { 24814 return nil, err 24815 } 24816 return dAtA[:n], nil 24817 } 24818 24819 func (m *ProvisionTokenV1) MarshalTo(dAtA []byte) (int, error) { 24820 size := m.Size() 24821 return m.MarshalToSizedBuffer(dAtA[:size]) 24822 } 24823 24824 func (m *ProvisionTokenV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24825 i := len(dAtA) 24826 _ = i 24827 var l int 24828 _ = l 24829 if m.XXX_unrecognized != nil { 24830 i -= len(m.XXX_unrecognized) 24831 copy(dAtA[i:], m.XXX_unrecognized) 24832 } 24833 if len(m.Token) > 0 { 24834 i -= len(m.Token) 24835 copy(dAtA[i:], m.Token) 24836 i = encodeVarintTypes(dAtA, i, uint64(len(m.Token))) 24837 i-- 24838 dAtA[i] = 0x1a 24839 } 24840 n65, err65 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires):]) 24841 if err65 != nil { 24842 return 0, err65 24843 } 24844 i -= n65 24845 i = encodeVarintTypes(dAtA, i, uint64(n65)) 24846 i-- 24847 dAtA[i] = 0x12 24848 if len(m.Roles) > 0 { 24849 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 24850 i -= len(m.Roles[iNdEx]) 24851 copy(dAtA[i:], m.Roles[iNdEx]) 24852 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 24853 i-- 24854 dAtA[i] = 0xa 24855 } 24856 } 24857 return len(dAtA) - i, nil 24858 } 24859 24860 func (m *ProvisionTokenV2) Marshal() (dAtA []byte, err error) { 24861 size := m.Size() 24862 dAtA = make([]byte, size) 24863 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24864 if err != nil { 24865 return nil, err 24866 } 24867 return dAtA[:n], nil 24868 } 24869 24870 func (m *ProvisionTokenV2) MarshalTo(dAtA []byte) (int, error) { 24871 size := m.Size() 24872 return m.MarshalToSizedBuffer(dAtA[:size]) 24873 } 24874 24875 func (m *ProvisionTokenV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24876 i := len(dAtA) 24877 _ = i 24878 var l int 24879 _ = l 24880 if m.XXX_unrecognized != nil { 24881 i -= len(m.XXX_unrecognized) 24882 copy(dAtA[i:], m.XXX_unrecognized) 24883 } 24884 { 24885 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 24886 if err != nil { 24887 return 0, err 24888 } 24889 i -= size 24890 i = encodeVarintTypes(dAtA, i, uint64(size)) 24891 } 24892 i-- 24893 dAtA[i] = 0x2a 24894 { 24895 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 24896 if err != nil { 24897 return 0, err 24898 } 24899 i -= size 24900 i = encodeVarintTypes(dAtA, i, uint64(size)) 24901 } 24902 i-- 24903 dAtA[i] = 0x22 24904 if len(m.Version) > 0 { 24905 i -= len(m.Version) 24906 copy(dAtA[i:], m.Version) 24907 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 24908 i-- 24909 dAtA[i] = 0x1a 24910 } 24911 if len(m.SubKind) > 0 { 24912 i -= len(m.SubKind) 24913 copy(dAtA[i:], m.SubKind) 24914 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 24915 i-- 24916 dAtA[i] = 0x12 24917 } 24918 if len(m.Kind) > 0 { 24919 i -= len(m.Kind) 24920 copy(dAtA[i:], m.Kind) 24921 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 24922 i-- 24923 dAtA[i] = 0xa 24924 } 24925 return len(dAtA) - i, nil 24926 } 24927 24928 func (m *ProvisionTokenV2List) Marshal() (dAtA []byte, err error) { 24929 size := m.Size() 24930 dAtA = make([]byte, size) 24931 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24932 if err != nil { 24933 return nil, err 24934 } 24935 return dAtA[:n], nil 24936 } 24937 24938 func (m *ProvisionTokenV2List) MarshalTo(dAtA []byte) (int, error) { 24939 size := m.Size() 24940 return m.MarshalToSizedBuffer(dAtA[:size]) 24941 } 24942 24943 func (m *ProvisionTokenV2List) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24944 i := len(dAtA) 24945 _ = i 24946 var l int 24947 _ = l 24948 if m.XXX_unrecognized != nil { 24949 i -= len(m.XXX_unrecognized) 24950 copy(dAtA[i:], m.XXX_unrecognized) 24951 } 24952 if len(m.ProvisionTokens) > 0 { 24953 for iNdEx := len(m.ProvisionTokens) - 1; iNdEx >= 0; iNdEx-- { 24954 { 24955 size, err := m.ProvisionTokens[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 24956 if err != nil { 24957 return 0, err 24958 } 24959 i -= size 24960 i = encodeVarintTypes(dAtA, i, uint64(size)) 24961 } 24962 i-- 24963 dAtA[i] = 0xa 24964 } 24965 } 24966 return len(dAtA) - i, nil 24967 } 24968 24969 func (m *TokenRule) Marshal() (dAtA []byte, err error) { 24970 size := m.Size() 24971 dAtA = make([]byte, size) 24972 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 24973 if err != nil { 24974 return nil, err 24975 } 24976 return dAtA[:n], nil 24977 } 24978 24979 func (m *TokenRule) MarshalTo(dAtA []byte) (int, error) { 24980 size := m.Size() 24981 return m.MarshalToSizedBuffer(dAtA[:size]) 24982 } 24983 24984 func (m *TokenRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { 24985 i := len(dAtA) 24986 _ = i 24987 var l int 24988 _ = l 24989 if m.XXX_unrecognized != nil { 24990 i -= len(m.XXX_unrecognized) 24991 copy(dAtA[i:], m.XXX_unrecognized) 24992 } 24993 if len(m.AWSARN) > 0 { 24994 i -= len(m.AWSARN) 24995 copy(dAtA[i:], m.AWSARN) 24996 i = encodeVarintTypes(dAtA, i, uint64(len(m.AWSARN))) 24997 i-- 24998 dAtA[i] = 0x22 24999 } 25000 if len(m.AWSRole) > 0 { 25001 i -= len(m.AWSRole) 25002 copy(dAtA[i:], m.AWSRole) 25003 i = encodeVarintTypes(dAtA, i, uint64(len(m.AWSRole))) 25004 i-- 25005 dAtA[i] = 0x1a 25006 } 25007 if len(m.AWSRegions) > 0 { 25008 for iNdEx := len(m.AWSRegions) - 1; iNdEx >= 0; iNdEx-- { 25009 i -= len(m.AWSRegions[iNdEx]) 25010 copy(dAtA[i:], m.AWSRegions[iNdEx]) 25011 i = encodeVarintTypes(dAtA, i, uint64(len(m.AWSRegions[iNdEx]))) 25012 i-- 25013 dAtA[i] = 0x12 25014 } 25015 } 25016 if len(m.AWSAccount) > 0 { 25017 i -= len(m.AWSAccount) 25018 copy(dAtA[i:], m.AWSAccount) 25019 i = encodeVarintTypes(dAtA, i, uint64(len(m.AWSAccount))) 25020 i-- 25021 dAtA[i] = 0xa 25022 } 25023 return len(dAtA) - i, nil 25024 } 25025 25026 func (m *ProvisionTokenSpecV2) Marshal() (dAtA []byte, err error) { 25027 size := m.Size() 25028 dAtA = make([]byte, size) 25029 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25030 if err != nil { 25031 return nil, err 25032 } 25033 return dAtA[:n], nil 25034 } 25035 25036 func (m *ProvisionTokenSpecV2) MarshalTo(dAtA []byte) (int, error) { 25037 size := m.Size() 25038 return m.MarshalToSizedBuffer(dAtA[:size]) 25039 } 25040 25041 func (m *ProvisionTokenSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25042 i := len(dAtA) 25043 _ = i 25044 var l int 25045 _ = l 25046 if m.XXX_unrecognized != nil { 25047 i -= len(m.XXX_unrecognized) 25048 copy(dAtA[i:], m.XXX_unrecognized) 25049 } 25050 if m.TPM != nil { 25051 { 25052 size, err := m.TPM.MarshalToSizedBuffer(dAtA[:i]) 25053 if err != nil { 25054 return 0, err 25055 } 25056 i -= size 25057 i = encodeVarintTypes(dAtA, i, uint64(size)) 25058 } 25059 i-- 25060 dAtA[i] = 0x7a 25061 } 25062 if m.Spacelift != nil { 25063 { 25064 size, err := m.Spacelift.MarshalToSizedBuffer(dAtA[:i]) 25065 if err != nil { 25066 return 0, err 25067 } 25068 i -= size 25069 i = encodeVarintTypes(dAtA, i, uint64(size)) 25070 } 25071 i-- 25072 dAtA[i] = 0x72 25073 } 25074 if m.GCP != nil { 25075 { 25076 size, err := m.GCP.MarshalToSizedBuffer(dAtA[:i]) 25077 if err != nil { 25078 return 0, err 25079 } 25080 i -= size 25081 i = encodeVarintTypes(dAtA, i, uint64(size)) 25082 } 25083 i-- 25084 dAtA[i] = 0x6a 25085 } 25086 if m.GitLab != nil { 25087 { 25088 size, err := m.GitLab.MarshalToSizedBuffer(dAtA[:i]) 25089 if err != nil { 25090 return 0, err 25091 } 25092 i -= size 25093 i = encodeVarintTypes(dAtA, i, uint64(size)) 25094 } 25095 i-- 25096 dAtA[i] = 0x62 25097 } 25098 if m.Azure != nil { 25099 { 25100 size, err := m.Azure.MarshalToSizedBuffer(dAtA[:i]) 25101 if err != nil { 25102 return 0, err 25103 } 25104 i -= size 25105 i = encodeVarintTypes(dAtA, i, uint64(size)) 25106 } 25107 i-- 25108 dAtA[i] = 0x5a 25109 } 25110 if m.Kubernetes != nil { 25111 { 25112 size, err := m.Kubernetes.MarshalToSizedBuffer(dAtA[:i]) 25113 if err != nil { 25114 return 0, err 25115 } 25116 i -= size 25117 i = encodeVarintTypes(dAtA, i, uint64(size)) 25118 } 25119 i-- 25120 dAtA[i] = 0x52 25121 } 25122 { 25123 size := m.SuggestedAgentMatcherLabels.Size() 25124 i -= size 25125 if _, err := m.SuggestedAgentMatcherLabels.MarshalTo(dAtA[i:]); err != nil { 25126 return 0, err 25127 } 25128 i = encodeVarintTypes(dAtA, i, uint64(size)) 25129 } 25130 i-- 25131 dAtA[i] = 0x4a 25132 if m.CircleCI != nil { 25133 { 25134 size, err := m.CircleCI.MarshalToSizedBuffer(dAtA[:i]) 25135 if err != nil { 25136 return 0, err 25137 } 25138 i -= size 25139 i = encodeVarintTypes(dAtA, i, uint64(size)) 25140 } 25141 i-- 25142 dAtA[i] = 0x42 25143 } 25144 if m.GitHub != nil { 25145 { 25146 size, err := m.GitHub.MarshalToSizedBuffer(dAtA[:i]) 25147 if err != nil { 25148 return 0, err 25149 } 25150 i -= size 25151 i = encodeVarintTypes(dAtA, i, uint64(size)) 25152 } 25153 i-- 25154 dAtA[i] = 0x3a 25155 } 25156 { 25157 size := m.SuggestedLabels.Size() 25158 i -= size 25159 if _, err := m.SuggestedLabels.MarshalTo(dAtA[i:]); err != nil { 25160 return 0, err 25161 } 25162 i = encodeVarintTypes(dAtA, i, uint64(size)) 25163 } 25164 i-- 25165 dAtA[i] = 0x32 25166 if len(m.BotName) > 0 { 25167 i -= len(m.BotName) 25168 copy(dAtA[i:], m.BotName) 25169 i = encodeVarintTypes(dAtA, i, uint64(len(m.BotName))) 25170 i-- 25171 dAtA[i] = 0x2a 25172 } 25173 if len(m.JoinMethod) > 0 { 25174 i -= len(m.JoinMethod) 25175 copy(dAtA[i:], m.JoinMethod) 25176 i = encodeVarintTypes(dAtA, i, uint64(len(m.JoinMethod))) 25177 i-- 25178 dAtA[i] = 0x22 25179 } 25180 if m.AWSIIDTTL != 0 { 25181 i = encodeVarintTypes(dAtA, i, uint64(m.AWSIIDTTL)) 25182 i-- 25183 dAtA[i] = 0x18 25184 } 25185 if len(m.Allow) > 0 { 25186 for iNdEx := len(m.Allow) - 1; iNdEx >= 0; iNdEx-- { 25187 { 25188 size, err := m.Allow[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 25189 if err != nil { 25190 return 0, err 25191 } 25192 i -= size 25193 i = encodeVarintTypes(dAtA, i, uint64(size)) 25194 } 25195 i-- 25196 dAtA[i] = 0x12 25197 } 25198 } 25199 if len(m.Roles) > 0 { 25200 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 25201 i -= len(m.Roles[iNdEx]) 25202 copy(dAtA[i:], m.Roles[iNdEx]) 25203 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 25204 i-- 25205 dAtA[i] = 0xa 25206 } 25207 } 25208 return len(dAtA) - i, nil 25209 } 25210 25211 func (m *ProvisionTokenSpecV2TPM) Marshal() (dAtA []byte, err error) { 25212 size := m.Size() 25213 dAtA = make([]byte, size) 25214 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25215 if err != nil { 25216 return nil, err 25217 } 25218 return dAtA[:n], nil 25219 } 25220 25221 func (m *ProvisionTokenSpecV2TPM) MarshalTo(dAtA []byte) (int, error) { 25222 size := m.Size() 25223 return m.MarshalToSizedBuffer(dAtA[:size]) 25224 } 25225 25226 func (m *ProvisionTokenSpecV2TPM) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25227 i := len(dAtA) 25228 _ = i 25229 var l int 25230 _ = l 25231 if m.XXX_unrecognized != nil { 25232 i -= len(m.XXX_unrecognized) 25233 copy(dAtA[i:], m.XXX_unrecognized) 25234 } 25235 if len(m.EKCertAllowedCAs) > 0 { 25236 for iNdEx := len(m.EKCertAllowedCAs) - 1; iNdEx >= 0; iNdEx-- { 25237 i -= len(m.EKCertAllowedCAs[iNdEx]) 25238 copy(dAtA[i:], m.EKCertAllowedCAs[iNdEx]) 25239 i = encodeVarintTypes(dAtA, i, uint64(len(m.EKCertAllowedCAs[iNdEx]))) 25240 i-- 25241 dAtA[i] = 0x12 25242 } 25243 } 25244 if len(m.Allow) > 0 { 25245 for iNdEx := len(m.Allow) - 1; iNdEx >= 0; iNdEx-- { 25246 { 25247 size, err := m.Allow[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 25248 if err != nil { 25249 return 0, err 25250 } 25251 i -= size 25252 i = encodeVarintTypes(dAtA, i, uint64(size)) 25253 } 25254 i-- 25255 dAtA[i] = 0xa 25256 } 25257 } 25258 return len(dAtA) - i, nil 25259 } 25260 25261 func (m *ProvisionTokenSpecV2TPM_Rule) Marshal() (dAtA []byte, err error) { 25262 size := m.Size() 25263 dAtA = make([]byte, size) 25264 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25265 if err != nil { 25266 return nil, err 25267 } 25268 return dAtA[:n], nil 25269 } 25270 25271 func (m *ProvisionTokenSpecV2TPM_Rule) MarshalTo(dAtA []byte) (int, error) { 25272 size := m.Size() 25273 return m.MarshalToSizedBuffer(dAtA[:size]) 25274 } 25275 25276 func (m *ProvisionTokenSpecV2TPM_Rule) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25277 i := len(dAtA) 25278 _ = i 25279 var l int 25280 _ = l 25281 if m.XXX_unrecognized != nil { 25282 i -= len(m.XXX_unrecognized) 25283 copy(dAtA[i:], m.XXX_unrecognized) 25284 } 25285 if len(m.EKCertificateSerial) > 0 { 25286 i -= len(m.EKCertificateSerial) 25287 copy(dAtA[i:], m.EKCertificateSerial) 25288 i = encodeVarintTypes(dAtA, i, uint64(len(m.EKCertificateSerial))) 25289 i-- 25290 dAtA[i] = 0x2a 25291 } 25292 if len(m.EKPublicHash) > 0 { 25293 i -= len(m.EKPublicHash) 25294 copy(dAtA[i:], m.EKPublicHash) 25295 i = encodeVarintTypes(dAtA, i, uint64(len(m.EKPublicHash))) 25296 i-- 25297 dAtA[i] = 0x22 25298 } 25299 if len(m.Description) > 0 { 25300 i -= len(m.Description) 25301 copy(dAtA[i:], m.Description) 25302 i = encodeVarintTypes(dAtA, i, uint64(len(m.Description))) 25303 i-- 25304 dAtA[i] = 0xa 25305 } 25306 return len(dAtA) - i, nil 25307 } 25308 25309 func (m *ProvisionTokenSpecV2GitHub) Marshal() (dAtA []byte, err error) { 25310 size := m.Size() 25311 dAtA = make([]byte, size) 25312 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25313 if err != nil { 25314 return nil, err 25315 } 25316 return dAtA[:n], nil 25317 } 25318 25319 func (m *ProvisionTokenSpecV2GitHub) MarshalTo(dAtA []byte) (int, error) { 25320 size := m.Size() 25321 return m.MarshalToSizedBuffer(dAtA[:size]) 25322 } 25323 25324 func (m *ProvisionTokenSpecV2GitHub) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25325 i := len(dAtA) 25326 _ = i 25327 var l int 25328 _ = l 25329 if m.XXX_unrecognized != nil { 25330 i -= len(m.XXX_unrecognized) 25331 copy(dAtA[i:], m.XXX_unrecognized) 25332 } 25333 if len(m.EnterpriseSlug) > 0 { 25334 i -= len(m.EnterpriseSlug) 25335 copy(dAtA[i:], m.EnterpriseSlug) 25336 i = encodeVarintTypes(dAtA, i, uint64(len(m.EnterpriseSlug))) 25337 i-- 25338 dAtA[i] = 0x1a 25339 } 25340 if len(m.EnterpriseServerHost) > 0 { 25341 i -= len(m.EnterpriseServerHost) 25342 copy(dAtA[i:], m.EnterpriseServerHost) 25343 i = encodeVarintTypes(dAtA, i, uint64(len(m.EnterpriseServerHost))) 25344 i-- 25345 dAtA[i] = 0x12 25346 } 25347 if len(m.Allow) > 0 { 25348 for iNdEx := len(m.Allow) - 1; iNdEx >= 0; iNdEx-- { 25349 { 25350 size, err := m.Allow[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 25351 if err != nil { 25352 return 0, err 25353 } 25354 i -= size 25355 i = encodeVarintTypes(dAtA, i, uint64(size)) 25356 } 25357 i-- 25358 dAtA[i] = 0xa 25359 } 25360 } 25361 return len(dAtA) - i, nil 25362 } 25363 25364 func (m *ProvisionTokenSpecV2GitHub_Rule) Marshal() (dAtA []byte, err error) { 25365 size := m.Size() 25366 dAtA = make([]byte, size) 25367 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25368 if err != nil { 25369 return nil, err 25370 } 25371 return dAtA[:n], nil 25372 } 25373 25374 func (m *ProvisionTokenSpecV2GitHub_Rule) MarshalTo(dAtA []byte) (int, error) { 25375 size := m.Size() 25376 return m.MarshalToSizedBuffer(dAtA[:size]) 25377 } 25378 25379 func (m *ProvisionTokenSpecV2GitHub_Rule) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25380 i := len(dAtA) 25381 _ = i 25382 var l int 25383 _ = l 25384 if m.XXX_unrecognized != nil { 25385 i -= len(m.XXX_unrecognized) 25386 copy(dAtA[i:], m.XXX_unrecognized) 25387 } 25388 if len(m.RefType) > 0 { 25389 i -= len(m.RefType) 25390 copy(dAtA[i:], m.RefType) 25391 i = encodeVarintTypes(dAtA, i, uint64(len(m.RefType))) 25392 i-- 25393 dAtA[i] = 0x42 25394 } 25395 if len(m.Ref) > 0 { 25396 i -= len(m.Ref) 25397 copy(dAtA[i:], m.Ref) 25398 i = encodeVarintTypes(dAtA, i, uint64(len(m.Ref))) 25399 i-- 25400 dAtA[i] = 0x3a 25401 } 25402 if len(m.Actor) > 0 { 25403 i -= len(m.Actor) 25404 copy(dAtA[i:], m.Actor) 25405 i = encodeVarintTypes(dAtA, i, uint64(len(m.Actor))) 25406 i-- 25407 dAtA[i] = 0x32 25408 } 25409 if len(m.Environment) > 0 { 25410 i -= len(m.Environment) 25411 copy(dAtA[i:], m.Environment) 25412 i = encodeVarintTypes(dAtA, i, uint64(len(m.Environment))) 25413 i-- 25414 dAtA[i] = 0x2a 25415 } 25416 if len(m.Workflow) > 0 { 25417 i -= len(m.Workflow) 25418 copy(dAtA[i:], m.Workflow) 25419 i = encodeVarintTypes(dAtA, i, uint64(len(m.Workflow))) 25420 i-- 25421 dAtA[i] = 0x22 25422 } 25423 if len(m.RepositoryOwner) > 0 { 25424 i -= len(m.RepositoryOwner) 25425 copy(dAtA[i:], m.RepositoryOwner) 25426 i = encodeVarintTypes(dAtA, i, uint64(len(m.RepositoryOwner))) 25427 i-- 25428 dAtA[i] = 0x1a 25429 } 25430 if len(m.Repository) > 0 { 25431 i -= len(m.Repository) 25432 copy(dAtA[i:], m.Repository) 25433 i = encodeVarintTypes(dAtA, i, uint64(len(m.Repository))) 25434 i-- 25435 dAtA[i] = 0x12 25436 } 25437 if len(m.Sub) > 0 { 25438 i -= len(m.Sub) 25439 copy(dAtA[i:], m.Sub) 25440 i = encodeVarintTypes(dAtA, i, uint64(len(m.Sub))) 25441 i-- 25442 dAtA[i] = 0xa 25443 } 25444 return len(dAtA) - i, nil 25445 } 25446 25447 func (m *ProvisionTokenSpecV2GitLab) Marshal() (dAtA []byte, err error) { 25448 size := m.Size() 25449 dAtA = make([]byte, size) 25450 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25451 if err != nil { 25452 return nil, err 25453 } 25454 return dAtA[:n], nil 25455 } 25456 25457 func (m *ProvisionTokenSpecV2GitLab) MarshalTo(dAtA []byte) (int, error) { 25458 size := m.Size() 25459 return m.MarshalToSizedBuffer(dAtA[:size]) 25460 } 25461 25462 func (m *ProvisionTokenSpecV2GitLab) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25463 i := len(dAtA) 25464 _ = i 25465 var l int 25466 _ = l 25467 if m.XXX_unrecognized != nil { 25468 i -= len(m.XXX_unrecognized) 25469 copy(dAtA[i:], m.XXX_unrecognized) 25470 } 25471 if len(m.Domain) > 0 { 25472 i -= len(m.Domain) 25473 copy(dAtA[i:], m.Domain) 25474 i = encodeVarintTypes(dAtA, i, uint64(len(m.Domain))) 25475 i-- 25476 dAtA[i] = 0x12 25477 } 25478 if len(m.Allow) > 0 { 25479 for iNdEx := len(m.Allow) - 1; iNdEx >= 0; iNdEx-- { 25480 { 25481 size, err := m.Allow[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 25482 if err != nil { 25483 return 0, err 25484 } 25485 i -= size 25486 i = encodeVarintTypes(dAtA, i, uint64(size)) 25487 } 25488 i-- 25489 dAtA[i] = 0xa 25490 } 25491 } 25492 return len(dAtA) - i, nil 25493 } 25494 25495 func (m *ProvisionTokenSpecV2GitLab_Rule) Marshal() (dAtA []byte, err error) { 25496 size := m.Size() 25497 dAtA = make([]byte, size) 25498 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25499 if err != nil { 25500 return nil, err 25501 } 25502 return dAtA[:n], nil 25503 } 25504 25505 func (m *ProvisionTokenSpecV2GitLab_Rule) MarshalTo(dAtA []byte) (int, error) { 25506 size := m.Size() 25507 return m.MarshalToSizedBuffer(dAtA[:size]) 25508 } 25509 25510 func (m *ProvisionTokenSpecV2GitLab_Rule) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25511 i := len(dAtA) 25512 _ = i 25513 var l int 25514 _ = l 25515 if m.XXX_unrecognized != nil { 25516 i -= len(m.XXX_unrecognized) 25517 copy(dAtA[i:], m.XXX_unrecognized) 25518 } 25519 if len(m.ProjectVisibility) > 0 { 25520 i -= len(m.ProjectVisibility) 25521 copy(dAtA[i:], m.ProjectVisibility) 25522 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProjectVisibility))) 25523 i-- 25524 dAtA[i] = 0x1 25525 i-- 25526 dAtA[i] = 0x82 25527 } 25528 if len(m.DeploymentTier) > 0 { 25529 i -= len(m.DeploymentTier) 25530 copy(dAtA[i:], m.DeploymentTier) 25531 i = encodeVarintTypes(dAtA, i, uint64(len(m.DeploymentTier))) 25532 i-- 25533 dAtA[i] = 0x7a 25534 } 25535 if len(m.CIConfigRefURI) > 0 { 25536 i -= len(m.CIConfigRefURI) 25537 copy(dAtA[i:], m.CIConfigRefURI) 25538 i = encodeVarintTypes(dAtA, i, uint64(len(m.CIConfigRefURI))) 25539 i-- 25540 dAtA[i] = 0x72 25541 } 25542 if len(m.CIConfigSHA) > 0 { 25543 i -= len(m.CIConfigSHA) 25544 copy(dAtA[i:], m.CIConfigSHA) 25545 i = encodeVarintTypes(dAtA, i, uint64(len(m.CIConfigSHA))) 25546 i-- 25547 dAtA[i] = 0x6a 25548 } 25549 if m.EnvironmentProtected != nil { 25550 { 25551 size := m.EnvironmentProtected.Size() 25552 i -= size 25553 if _, err := m.EnvironmentProtected.MarshalTo(dAtA[i:]); err != nil { 25554 return 0, err 25555 } 25556 i = encodeVarintTypes(dAtA, i, uint64(size)) 25557 } 25558 i-- 25559 dAtA[i] = 0x62 25560 } 25561 if m.RefProtected != nil { 25562 { 25563 size := m.RefProtected.Size() 25564 i -= size 25565 if _, err := m.RefProtected.MarshalTo(dAtA[i:]); err != nil { 25566 return 0, err 25567 } 25568 i = encodeVarintTypes(dAtA, i, uint64(size)) 25569 } 25570 i-- 25571 dAtA[i] = 0x5a 25572 } 25573 if len(m.UserEmail) > 0 { 25574 i -= len(m.UserEmail) 25575 copy(dAtA[i:], m.UserEmail) 25576 i = encodeVarintTypes(dAtA, i, uint64(len(m.UserEmail))) 25577 i-- 25578 dAtA[i] = 0x52 25579 } 25580 if len(m.UserID) > 0 { 25581 i -= len(m.UserID) 25582 copy(dAtA[i:], m.UserID) 25583 i = encodeVarintTypes(dAtA, i, uint64(len(m.UserID))) 25584 i-- 25585 dAtA[i] = 0x4a 25586 } 25587 if len(m.UserLogin) > 0 { 25588 i -= len(m.UserLogin) 25589 copy(dAtA[i:], m.UserLogin) 25590 i = encodeVarintTypes(dAtA, i, uint64(len(m.UserLogin))) 25591 i-- 25592 dAtA[i] = 0x42 25593 } 25594 if len(m.Environment) > 0 { 25595 i -= len(m.Environment) 25596 copy(dAtA[i:], m.Environment) 25597 i = encodeVarintTypes(dAtA, i, uint64(len(m.Environment))) 25598 i-- 25599 dAtA[i] = 0x3a 25600 } 25601 if len(m.PipelineSource) > 0 { 25602 i -= len(m.PipelineSource) 25603 copy(dAtA[i:], m.PipelineSource) 25604 i = encodeVarintTypes(dAtA, i, uint64(len(m.PipelineSource))) 25605 i-- 25606 dAtA[i] = 0x32 25607 } 25608 if len(m.ProjectPath) > 0 { 25609 i -= len(m.ProjectPath) 25610 copy(dAtA[i:], m.ProjectPath) 25611 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProjectPath))) 25612 i-- 25613 dAtA[i] = 0x2a 25614 } 25615 if len(m.NamespacePath) > 0 { 25616 i -= len(m.NamespacePath) 25617 copy(dAtA[i:], m.NamespacePath) 25618 i = encodeVarintTypes(dAtA, i, uint64(len(m.NamespacePath))) 25619 i-- 25620 dAtA[i] = 0x22 25621 } 25622 if len(m.RefType) > 0 { 25623 i -= len(m.RefType) 25624 copy(dAtA[i:], m.RefType) 25625 i = encodeVarintTypes(dAtA, i, uint64(len(m.RefType))) 25626 i-- 25627 dAtA[i] = 0x1a 25628 } 25629 if len(m.Ref) > 0 { 25630 i -= len(m.Ref) 25631 copy(dAtA[i:], m.Ref) 25632 i = encodeVarintTypes(dAtA, i, uint64(len(m.Ref))) 25633 i-- 25634 dAtA[i] = 0x12 25635 } 25636 if len(m.Sub) > 0 { 25637 i -= len(m.Sub) 25638 copy(dAtA[i:], m.Sub) 25639 i = encodeVarintTypes(dAtA, i, uint64(len(m.Sub))) 25640 i-- 25641 dAtA[i] = 0xa 25642 } 25643 return len(dAtA) - i, nil 25644 } 25645 25646 func (m *ProvisionTokenSpecV2CircleCI) Marshal() (dAtA []byte, err error) { 25647 size := m.Size() 25648 dAtA = make([]byte, size) 25649 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25650 if err != nil { 25651 return nil, err 25652 } 25653 return dAtA[:n], nil 25654 } 25655 25656 func (m *ProvisionTokenSpecV2CircleCI) MarshalTo(dAtA []byte) (int, error) { 25657 size := m.Size() 25658 return m.MarshalToSizedBuffer(dAtA[:size]) 25659 } 25660 25661 func (m *ProvisionTokenSpecV2CircleCI) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25662 i := len(dAtA) 25663 _ = i 25664 var l int 25665 _ = l 25666 if m.XXX_unrecognized != nil { 25667 i -= len(m.XXX_unrecognized) 25668 copy(dAtA[i:], m.XXX_unrecognized) 25669 } 25670 if len(m.OrganizationID) > 0 { 25671 i -= len(m.OrganizationID) 25672 copy(dAtA[i:], m.OrganizationID) 25673 i = encodeVarintTypes(dAtA, i, uint64(len(m.OrganizationID))) 25674 i-- 25675 dAtA[i] = 0x12 25676 } 25677 if len(m.Allow) > 0 { 25678 for iNdEx := len(m.Allow) - 1; iNdEx >= 0; iNdEx-- { 25679 { 25680 size, err := m.Allow[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 25681 if err != nil { 25682 return 0, err 25683 } 25684 i -= size 25685 i = encodeVarintTypes(dAtA, i, uint64(size)) 25686 } 25687 i-- 25688 dAtA[i] = 0xa 25689 } 25690 } 25691 return len(dAtA) - i, nil 25692 } 25693 25694 func (m *ProvisionTokenSpecV2CircleCI_Rule) Marshal() (dAtA []byte, err error) { 25695 size := m.Size() 25696 dAtA = make([]byte, size) 25697 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25698 if err != nil { 25699 return nil, err 25700 } 25701 return dAtA[:n], nil 25702 } 25703 25704 func (m *ProvisionTokenSpecV2CircleCI_Rule) MarshalTo(dAtA []byte) (int, error) { 25705 size := m.Size() 25706 return m.MarshalToSizedBuffer(dAtA[:size]) 25707 } 25708 25709 func (m *ProvisionTokenSpecV2CircleCI_Rule) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25710 i := len(dAtA) 25711 _ = i 25712 var l int 25713 _ = l 25714 if m.XXX_unrecognized != nil { 25715 i -= len(m.XXX_unrecognized) 25716 copy(dAtA[i:], m.XXX_unrecognized) 25717 } 25718 if len(m.ContextID) > 0 { 25719 i -= len(m.ContextID) 25720 copy(dAtA[i:], m.ContextID) 25721 i = encodeVarintTypes(dAtA, i, uint64(len(m.ContextID))) 25722 i-- 25723 dAtA[i] = 0x12 25724 } 25725 if len(m.ProjectID) > 0 { 25726 i -= len(m.ProjectID) 25727 copy(dAtA[i:], m.ProjectID) 25728 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProjectID))) 25729 i-- 25730 dAtA[i] = 0xa 25731 } 25732 return len(dAtA) - i, nil 25733 } 25734 25735 func (m *ProvisionTokenSpecV2Spacelift) Marshal() (dAtA []byte, err error) { 25736 size := m.Size() 25737 dAtA = make([]byte, size) 25738 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25739 if err != nil { 25740 return nil, err 25741 } 25742 return dAtA[:n], nil 25743 } 25744 25745 func (m *ProvisionTokenSpecV2Spacelift) MarshalTo(dAtA []byte) (int, error) { 25746 size := m.Size() 25747 return m.MarshalToSizedBuffer(dAtA[:size]) 25748 } 25749 25750 func (m *ProvisionTokenSpecV2Spacelift) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25751 i := len(dAtA) 25752 _ = i 25753 var l int 25754 _ = l 25755 if m.XXX_unrecognized != nil { 25756 i -= len(m.XXX_unrecognized) 25757 copy(dAtA[i:], m.XXX_unrecognized) 25758 } 25759 if len(m.Hostname) > 0 { 25760 i -= len(m.Hostname) 25761 copy(dAtA[i:], m.Hostname) 25762 i = encodeVarintTypes(dAtA, i, uint64(len(m.Hostname))) 25763 i-- 25764 dAtA[i] = 0x12 25765 } 25766 if len(m.Allow) > 0 { 25767 for iNdEx := len(m.Allow) - 1; iNdEx >= 0; iNdEx-- { 25768 { 25769 size, err := m.Allow[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 25770 if err != nil { 25771 return 0, err 25772 } 25773 i -= size 25774 i = encodeVarintTypes(dAtA, i, uint64(size)) 25775 } 25776 i-- 25777 dAtA[i] = 0xa 25778 } 25779 } 25780 return len(dAtA) - i, nil 25781 } 25782 25783 func (m *ProvisionTokenSpecV2Spacelift_Rule) Marshal() (dAtA []byte, err error) { 25784 size := m.Size() 25785 dAtA = make([]byte, size) 25786 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25787 if err != nil { 25788 return nil, err 25789 } 25790 return dAtA[:n], nil 25791 } 25792 25793 func (m *ProvisionTokenSpecV2Spacelift_Rule) MarshalTo(dAtA []byte) (int, error) { 25794 size := m.Size() 25795 return m.MarshalToSizedBuffer(dAtA[:size]) 25796 } 25797 25798 func (m *ProvisionTokenSpecV2Spacelift_Rule) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25799 i := len(dAtA) 25800 _ = i 25801 var l int 25802 _ = l 25803 if m.XXX_unrecognized != nil { 25804 i -= len(m.XXX_unrecognized) 25805 copy(dAtA[i:], m.XXX_unrecognized) 25806 } 25807 if len(m.Scope) > 0 { 25808 i -= len(m.Scope) 25809 copy(dAtA[i:], m.Scope) 25810 i = encodeVarintTypes(dAtA, i, uint64(len(m.Scope))) 25811 i-- 25812 dAtA[i] = 0x22 25813 } 25814 if len(m.CallerType) > 0 { 25815 i -= len(m.CallerType) 25816 copy(dAtA[i:], m.CallerType) 25817 i = encodeVarintTypes(dAtA, i, uint64(len(m.CallerType))) 25818 i-- 25819 dAtA[i] = 0x1a 25820 } 25821 if len(m.CallerID) > 0 { 25822 i -= len(m.CallerID) 25823 copy(dAtA[i:], m.CallerID) 25824 i = encodeVarintTypes(dAtA, i, uint64(len(m.CallerID))) 25825 i-- 25826 dAtA[i] = 0x12 25827 } 25828 if len(m.SpaceID) > 0 { 25829 i -= len(m.SpaceID) 25830 copy(dAtA[i:], m.SpaceID) 25831 i = encodeVarintTypes(dAtA, i, uint64(len(m.SpaceID))) 25832 i-- 25833 dAtA[i] = 0xa 25834 } 25835 return len(dAtA) - i, nil 25836 } 25837 25838 func (m *ProvisionTokenSpecV2Kubernetes) Marshal() (dAtA []byte, err error) { 25839 size := m.Size() 25840 dAtA = make([]byte, size) 25841 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25842 if err != nil { 25843 return nil, err 25844 } 25845 return dAtA[:n], nil 25846 } 25847 25848 func (m *ProvisionTokenSpecV2Kubernetes) MarshalTo(dAtA []byte) (int, error) { 25849 size := m.Size() 25850 return m.MarshalToSizedBuffer(dAtA[:size]) 25851 } 25852 25853 func (m *ProvisionTokenSpecV2Kubernetes) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25854 i := len(dAtA) 25855 _ = i 25856 var l int 25857 _ = l 25858 if m.XXX_unrecognized != nil { 25859 i -= len(m.XXX_unrecognized) 25860 copy(dAtA[i:], m.XXX_unrecognized) 25861 } 25862 if m.StaticJWKS != nil { 25863 { 25864 size, err := m.StaticJWKS.MarshalToSizedBuffer(dAtA[:i]) 25865 if err != nil { 25866 return 0, err 25867 } 25868 i -= size 25869 i = encodeVarintTypes(dAtA, i, uint64(size)) 25870 } 25871 i-- 25872 dAtA[i] = 0x1a 25873 } 25874 if len(m.Type) > 0 { 25875 i -= len(m.Type) 25876 copy(dAtA[i:], m.Type) 25877 i = encodeVarintTypes(dAtA, i, uint64(len(m.Type))) 25878 i-- 25879 dAtA[i] = 0x12 25880 } 25881 if len(m.Allow) > 0 { 25882 for iNdEx := len(m.Allow) - 1; iNdEx >= 0; iNdEx-- { 25883 { 25884 size, err := m.Allow[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 25885 if err != nil { 25886 return 0, err 25887 } 25888 i -= size 25889 i = encodeVarintTypes(dAtA, i, uint64(size)) 25890 } 25891 i-- 25892 dAtA[i] = 0xa 25893 } 25894 } 25895 return len(dAtA) - i, nil 25896 } 25897 25898 func (m *ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig) Marshal() (dAtA []byte, err error) { 25899 size := m.Size() 25900 dAtA = make([]byte, size) 25901 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25902 if err != nil { 25903 return nil, err 25904 } 25905 return dAtA[:n], nil 25906 } 25907 25908 func (m *ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig) MarshalTo(dAtA []byte) (int, error) { 25909 size := m.Size() 25910 return m.MarshalToSizedBuffer(dAtA[:size]) 25911 } 25912 25913 func (m *ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25914 i := len(dAtA) 25915 _ = i 25916 var l int 25917 _ = l 25918 if m.XXX_unrecognized != nil { 25919 i -= len(m.XXX_unrecognized) 25920 copy(dAtA[i:], m.XXX_unrecognized) 25921 } 25922 if len(m.JWKS) > 0 { 25923 i -= len(m.JWKS) 25924 copy(dAtA[i:], m.JWKS) 25925 i = encodeVarintTypes(dAtA, i, uint64(len(m.JWKS))) 25926 i-- 25927 dAtA[i] = 0xa 25928 } 25929 return len(dAtA) - i, nil 25930 } 25931 25932 func (m *ProvisionTokenSpecV2Kubernetes_Rule) Marshal() (dAtA []byte, err error) { 25933 size := m.Size() 25934 dAtA = make([]byte, size) 25935 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25936 if err != nil { 25937 return nil, err 25938 } 25939 return dAtA[:n], nil 25940 } 25941 25942 func (m *ProvisionTokenSpecV2Kubernetes_Rule) MarshalTo(dAtA []byte) (int, error) { 25943 size := m.Size() 25944 return m.MarshalToSizedBuffer(dAtA[:size]) 25945 } 25946 25947 func (m *ProvisionTokenSpecV2Kubernetes_Rule) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25948 i := len(dAtA) 25949 _ = i 25950 var l int 25951 _ = l 25952 if m.XXX_unrecognized != nil { 25953 i -= len(m.XXX_unrecognized) 25954 copy(dAtA[i:], m.XXX_unrecognized) 25955 } 25956 if len(m.ServiceAccount) > 0 { 25957 i -= len(m.ServiceAccount) 25958 copy(dAtA[i:], m.ServiceAccount) 25959 i = encodeVarintTypes(dAtA, i, uint64(len(m.ServiceAccount))) 25960 i-- 25961 dAtA[i] = 0xa 25962 } 25963 return len(dAtA) - i, nil 25964 } 25965 25966 func (m *ProvisionTokenSpecV2Azure) Marshal() (dAtA []byte, err error) { 25967 size := m.Size() 25968 dAtA = make([]byte, size) 25969 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 25970 if err != nil { 25971 return nil, err 25972 } 25973 return dAtA[:n], nil 25974 } 25975 25976 func (m *ProvisionTokenSpecV2Azure) MarshalTo(dAtA []byte) (int, error) { 25977 size := m.Size() 25978 return m.MarshalToSizedBuffer(dAtA[:size]) 25979 } 25980 25981 func (m *ProvisionTokenSpecV2Azure) MarshalToSizedBuffer(dAtA []byte) (int, error) { 25982 i := len(dAtA) 25983 _ = i 25984 var l int 25985 _ = l 25986 if m.XXX_unrecognized != nil { 25987 i -= len(m.XXX_unrecognized) 25988 copy(dAtA[i:], m.XXX_unrecognized) 25989 } 25990 if len(m.Allow) > 0 { 25991 for iNdEx := len(m.Allow) - 1; iNdEx >= 0; iNdEx-- { 25992 { 25993 size, err := m.Allow[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 25994 if err != nil { 25995 return 0, err 25996 } 25997 i -= size 25998 i = encodeVarintTypes(dAtA, i, uint64(size)) 25999 } 26000 i-- 26001 dAtA[i] = 0xa 26002 } 26003 } 26004 return len(dAtA) - i, nil 26005 } 26006 26007 func (m *ProvisionTokenSpecV2Azure_Rule) Marshal() (dAtA []byte, err error) { 26008 size := m.Size() 26009 dAtA = make([]byte, size) 26010 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26011 if err != nil { 26012 return nil, err 26013 } 26014 return dAtA[:n], nil 26015 } 26016 26017 func (m *ProvisionTokenSpecV2Azure_Rule) MarshalTo(dAtA []byte) (int, error) { 26018 size := m.Size() 26019 return m.MarshalToSizedBuffer(dAtA[:size]) 26020 } 26021 26022 func (m *ProvisionTokenSpecV2Azure_Rule) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26023 i := len(dAtA) 26024 _ = i 26025 var l int 26026 _ = l 26027 if m.XXX_unrecognized != nil { 26028 i -= len(m.XXX_unrecognized) 26029 copy(dAtA[i:], m.XXX_unrecognized) 26030 } 26031 if len(m.ResourceGroups) > 0 { 26032 for iNdEx := len(m.ResourceGroups) - 1; iNdEx >= 0; iNdEx-- { 26033 i -= len(m.ResourceGroups[iNdEx]) 26034 copy(dAtA[i:], m.ResourceGroups[iNdEx]) 26035 i = encodeVarintTypes(dAtA, i, uint64(len(m.ResourceGroups[iNdEx]))) 26036 i-- 26037 dAtA[i] = 0x12 26038 } 26039 } 26040 if len(m.Subscription) > 0 { 26041 i -= len(m.Subscription) 26042 copy(dAtA[i:], m.Subscription) 26043 i = encodeVarintTypes(dAtA, i, uint64(len(m.Subscription))) 26044 i-- 26045 dAtA[i] = 0xa 26046 } 26047 return len(dAtA) - i, nil 26048 } 26049 26050 func (m *ProvisionTokenSpecV2GCP) Marshal() (dAtA []byte, err error) { 26051 size := m.Size() 26052 dAtA = make([]byte, size) 26053 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26054 if err != nil { 26055 return nil, err 26056 } 26057 return dAtA[:n], nil 26058 } 26059 26060 func (m *ProvisionTokenSpecV2GCP) MarshalTo(dAtA []byte) (int, error) { 26061 size := m.Size() 26062 return m.MarshalToSizedBuffer(dAtA[:size]) 26063 } 26064 26065 func (m *ProvisionTokenSpecV2GCP) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26066 i := len(dAtA) 26067 _ = i 26068 var l int 26069 _ = l 26070 if m.XXX_unrecognized != nil { 26071 i -= len(m.XXX_unrecognized) 26072 copy(dAtA[i:], m.XXX_unrecognized) 26073 } 26074 if len(m.Allow) > 0 { 26075 for iNdEx := len(m.Allow) - 1; iNdEx >= 0; iNdEx-- { 26076 { 26077 size, err := m.Allow[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 26078 if err != nil { 26079 return 0, err 26080 } 26081 i -= size 26082 i = encodeVarintTypes(dAtA, i, uint64(size)) 26083 } 26084 i-- 26085 dAtA[i] = 0xa 26086 } 26087 } 26088 return len(dAtA) - i, nil 26089 } 26090 26091 func (m *ProvisionTokenSpecV2GCP_Rule) Marshal() (dAtA []byte, err error) { 26092 size := m.Size() 26093 dAtA = make([]byte, size) 26094 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26095 if err != nil { 26096 return nil, err 26097 } 26098 return dAtA[:n], nil 26099 } 26100 26101 func (m *ProvisionTokenSpecV2GCP_Rule) MarshalTo(dAtA []byte) (int, error) { 26102 size := m.Size() 26103 return m.MarshalToSizedBuffer(dAtA[:size]) 26104 } 26105 26106 func (m *ProvisionTokenSpecV2GCP_Rule) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26107 i := len(dAtA) 26108 _ = i 26109 var l int 26110 _ = l 26111 if m.XXX_unrecognized != nil { 26112 i -= len(m.XXX_unrecognized) 26113 copy(dAtA[i:], m.XXX_unrecognized) 26114 } 26115 if len(m.ServiceAccounts) > 0 { 26116 for iNdEx := len(m.ServiceAccounts) - 1; iNdEx >= 0; iNdEx-- { 26117 i -= len(m.ServiceAccounts[iNdEx]) 26118 copy(dAtA[i:], m.ServiceAccounts[iNdEx]) 26119 i = encodeVarintTypes(dAtA, i, uint64(len(m.ServiceAccounts[iNdEx]))) 26120 i-- 26121 dAtA[i] = 0x1a 26122 } 26123 } 26124 if len(m.Locations) > 0 { 26125 for iNdEx := len(m.Locations) - 1; iNdEx >= 0; iNdEx-- { 26126 i -= len(m.Locations[iNdEx]) 26127 copy(dAtA[i:], m.Locations[iNdEx]) 26128 i = encodeVarintTypes(dAtA, i, uint64(len(m.Locations[iNdEx]))) 26129 i-- 26130 dAtA[i] = 0x12 26131 } 26132 } 26133 if len(m.ProjectIDs) > 0 { 26134 for iNdEx := len(m.ProjectIDs) - 1; iNdEx >= 0; iNdEx-- { 26135 i -= len(m.ProjectIDs[iNdEx]) 26136 copy(dAtA[i:], m.ProjectIDs[iNdEx]) 26137 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProjectIDs[iNdEx]))) 26138 i-- 26139 dAtA[i] = 0xa 26140 } 26141 } 26142 return len(dAtA) - i, nil 26143 } 26144 26145 func (m *StaticTokensV2) Marshal() (dAtA []byte, err error) { 26146 size := m.Size() 26147 dAtA = make([]byte, size) 26148 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26149 if err != nil { 26150 return nil, err 26151 } 26152 return dAtA[:n], nil 26153 } 26154 26155 func (m *StaticTokensV2) MarshalTo(dAtA []byte) (int, error) { 26156 size := m.Size() 26157 return m.MarshalToSizedBuffer(dAtA[:size]) 26158 } 26159 26160 func (m *StaticTokensV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26161 i := len(dAtA) 26162 _ = i 26163 var l int 26164 _ = l 26165 if m.XXX_unrecognized != nil { 26166 i -= len(m.XXX_unrecognized) 26167 copy(dAtA[i:], m.XXX_unrecognized) 26168 } 26169 { 26170 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 26171 if err != nil { 26172 return 0, err 26173 } 26174 i -= size 26175 i = encodeVarintTypes(dAtA, i, uint64(size)) 26176 } 26177 i-- 26178 dAtA[i] = 0x2a 26179 { 26180 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 26181 if err != nil { 26182 return 0, err 26183 } 26184 i -= size 26185 i = encodeVarintTypes(dAtA, i, uint64(size)) 26186 } 26187 i-- 26188 dAtA[i] = 0x22 26189 if len(m.Version) > 0 { 26190 i -= len(m.Version) 26191 copy(dAtA[i:], m.Version) 26192 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 26193 i-- 26194 dAtA[i] = 0x1a 26195 } 26196 if len(m.SubKind) > 0 { 26197 i -= len(m.SubKind) 26198 copy(dAtA[i:], m.SubKind) 26199 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 26200 i-- 26201 dAtA[i] = 0x12 26202 } 26203 if len(m.Kind) > 0 { 26204 i -= len(m.Kind) 26205 copy(dAtA[i:], m.Kind) 26206 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 26207 i-- 26208 dAtA[i] = 0xa 26209 } 26210 return len(dAtA) - i, nil 26211 } 26212 26213 func (m *StaticTokensSpecV2) Marshal() (dAtA []byte, err error) { 26214 size := m.Size() 26215 dAtA = make([]byte, size) 26216 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26217 if err != nil { 26218 return nil, err 26219 } 26220 return dAtA[:n], nil 26221 } 26222 26223 func (m *StaticTokensSpecV2) MarshalTo(dAtA []byte) (int, error) { 26224 size := m.Size() 26225 return m.MarshalToSizedBuffer(dAtA[:size]) 26226 } 26227 26228 func (m *StaticTokensSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26229 i := len(dAtA) 26230 _ = i 26231 var l int 26232 _ = l 26233 if m.XXX_unrecognized != nil { 26234 i -= len(m.XXX_unrecognized) 26235 copy(dAtA[i:], m.XXX_unrecognized) 26236 } 26237 if len(m.StaticTokens) > 0 { 26238 for iNdEx := len(m.StaticTokens) - 1; iNdEx >= 0; iNdEx-- { 26239 { 26240 size, err := m.StaticTokens[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 26241 if err != nil { 26242 return 0, err 26243 } 26244 i -= size 26245 i = encodeVarintTypes(dAtA, i, uint64(size)) 26246 } 26247 i-- 26248 dAtA[i] = 0xa 26249 } 26250 } 26251 return len(dAtA) - i, nil 26252 } 26253 26254 func (m *ClusterNameV2) Marshal() (dAtA []byte, err error) { 26255 size := m.Size() 26256 dAtA = make([]byte, size) 26257 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26258 if err != nil { 26259 return nil, err 26260 } 26261 return dAtA[:n], nil 26262 } 26263 26264 func (m *ClusterNameV2) MarshalTo(dAtA []byte) (int, error) { 26265 size := m.Size() 26266 return m.MarshalToSizedBuffer(dAtA[:size]) 26267 } 26268 26269 func (m *ClusterNameV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26270 i := len(dAtA) 26271 _ = i 26272 var l int 26273 _ = l 26274 if m.XXX_unrecognized != nil { 26275 i -= len(m.XXX_unrecognized) 26276 copy(dAtA[i:], m.XXX_unrecognized) 26277 } 26278 { 26279 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 26280 if err != nil { 26281 return 0, err 26282 } 26283 i -= size 26284 i = encodeVarintTypes(dAtA, i, uint64(size)) 26285 } 26286 i-- 26287 dAtA[i] = 0x2a 26288 { 26289 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 26290 if err != nil { 26291 return 0, err 26292 } 26293 i -= size 26294 i = encodeVarintTypes(dAtA, i, uint64(size)) 26295 } 26296 i-- 26297 dAtA[i] = 0x22 26298 if len(m.Version) > 0 { 26299 i -= len(m.Version) 26300 copy(dAtA[i:], m.Version) 26301 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 26302 i-- 26303 dAtA[i] = 0x1a 26304 } 26305 if len(m.SubKind) > 0 { 26306 i -= len(m.SubKind) 26307 copy(dAtA[i:], m.SubKind) 26308 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 26309 i-- 26310 dAtA[i] = 0x12 26311 } 26312 if len(m.Kind) > 0 { 26313 i -= len(m.Kind) 26314 copy(dAtA[i:], m.Kind) 26315 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 26316 i-- 26317 dAtA[i] = 0xa 26318 } 26319 return len(dAtA) - i, nil 26320 } 26321 26322 func (m *ClusterNameSpecV2) Marshal() (dAtA []byte, err error) { 26323 size := m.Size() 26324 dAtA = make([]byte, size) 26325 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26326 if err != nil { 26327 return nil, err 26328 } 26329 return dAtA[:n], nil 26330 } 26331 26332 func (m *ClusterNameSpecV2) MarshalTo(dAtA []byte) (int, error) { 26333 size := m.Size() 26334 return m.MarshalToSizedBuffer(dAtA[:size]) 26335 } 26336 26337 func (m *ClusterNameSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26338 i := len(dAtA) 26339 _ = i 26340 var l int 26341 _ = l 26342 if m.XXX_unrecognized != nil { 26343 i -= len(m.XXX_unrecognized) 26344 copy(dAtA[i:], m.XXX_unrecognized) 26345 } 26346 if len(m.ClusterID) > 0 { 26347 i -= len(m.ClusterID) 26348 copy(dAtA[i:], m.ClusterID) 26349 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClusterID))) 26350 i-- 26351 dAtA[i] = 0x12 26352 } 26353 if len(m.ClusterName) > 0 { 26354 i -= len(m.ClusterName) 26355 copy(dAtA[i:], m.ClusterName) 26356 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClusterName))) 26357 i-- 26358 dAtA[i] = 0xa 26359 } 26360 return len(dAtA) - i, nil 26361 } 26362 26363 func (m *ClusterAuditConfigV2) Marshal() (dAtA []byte, err error) { 26364 size := m.Size() 26365 dAtA = make([]byte, size) 26366 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26367 if err != nil { 26368 return nil, err 26369 } 26370 return dAtA[:n], nil 26371 } 26372 26373 func (m *ClusterAuditConfigV2) MarshalTo(dAtA []byte) (int, error) { 26374 size := m.Size() 26375 return m.MarshalToSizedBuffer(dAtA[:size]) 26376 } 26377 26378 func (m *ClusterAuditConfigV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26379 i := len(dAtA) 26380 _ = i 26381 var l int 26382 _ = l 26383 if m.XXX_unrecognized != nil { 26384 i -= len(m.XXX_unrecognized) 26385 copy(dAtA[i:], m.XXX_unrecognized) 26386 } 26387 { 26388 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 26389 if err != nil { 26390 return 0, err 26391 } 26392 i -= size 26393 i = encodeVarintTypes(dAtA, i, uint64(size)) 26394 } 26395 i-- 26396 dAtA[i] = 0x2a 26397 { 26398 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 26399 if err != nil { 26400 return 0, err 26401 } 26402 i -= size 26403 i = encodeVarintTypes(dAtA, i, uint64(size)) 26404 } 26405 i-- 26406 dAtA[i] = 0x22 26407 if len(m.Version) > 0 { 26408 i -= len(m.Version) 26409 copy(dAtA[i:], m.Version) 26410 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 26411 i-- 26412 dAtA[i] = 0x1a 26413 } 26414 if len(m.SubKind) > 0 { 26415 i -= len(m.SubKind) 26416 copy(dAtA[i:], m.SubKind) 26417 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 26418 i-- 26419 dAtA[i] = 0x12 26420 } 26421 if len(m.Kind) > 0 { 26422 i -= len(m.Kind) 26423 copy(dAtA[i:], m.Kind) 26424 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 26425 i-- 26426 dAtA[i] = 0xa 26427 } 26428 return len(dAtA) - i, nil 26429 } 26430 26431 func (m *ClusterAuditConfigSpecV2) Marshal() (dAtA []byte, err error) { 26432 size := m.Size() 26433 dAtA = make([]byte, size) 26434 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26435 if err != nil { 26436 return nil, err 26437 } 26438 return dAtA[:n], nil 26439 } 26440 26441 func (m *ClusterAuditConfigSpecV2) MarshalTo(dAtA []byte) (int, error) { 26442 size := m.Size() 26443 return m.MarshalToSizedBuffer(dAtA[:size]) 26444 } 26445 26446 func (m *ClusterAuditConfigSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26447 i := len(dAtA) 26448 _ = i 26449 var l int 26450 _ = l 26451 if m.XXX_unrecognized != nil { 26452 i -= len(m.XXX_unrecognized) 26453 copy(dAtA[i:], m.XXX_unrecognized) 26454 } 26455 if m.UseFIPSEndpoint != 0 { 26456 i = encodeVarintTypes(dAtA, i, uint64(m.UseFIPSEndpoint)) 26457 i-- 26458 dAtA[i] = 0x78 26459 } 26460 if m.RetentionPeriod != 0 { 26461 i = encodeVarintTypes(dAtA, i, uint64(m.RetentionPeriod)) 26462 i-- 26463 dAtA[i] = 0x70 26464 } 26465 if m.WriteTargetValue != 0 { 26466 i -= 8 26467 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.WriteTargetValue)))) 26468 i-- 26469 dAtA[i] = 0x69 26470 } 26471 if m.WriteMinCapacity != 0 { 26472 i = encodeVarintTypes(dAtA, i, uint64(m.WriteMinCapacity)) 26473 i-- 26474 dAtA[i] = 0x60 26475 } 26476 if m.WriteMaxCapacity != 0 { 26477 i = encodeVarintTypes(dAtA, i, uint64(m.WriteMaxCapacity)) 26478 i-- 26479 dAtA[i] = 0x58 26480 } 26481 if m.ReadTargetValue != 0 { 26482 i -= 8 26483 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.ReadTargetValue)))) 26484 i-- 26485 dAtA[i] = 0x51 26486 } 26487 if m.ReadMinCapacity != 0 { 26488 i = encodeVarintTypes(dAtA, i, uint64(m.ReadMinCapacity)) 26489 i-- 26490 dAtA[i] = 0x48 26491 } 26492 if m.ReadMaxCapacity != 0 { 26493 i = encodeVarintTypes(dAtA, i, uint64(m.ReadMaxCapacity)) 26494 i-- 26495 dAtA[i] = 0x40 26496 } 26497 if m.EnableAutoScaling { 26498 i-- 26499 if m.EnableAutoScaling { 26500 dAtA[i] = 1 26501 } else { 26502 dAtA[i] = 0 26503 } 26504 i-- 26505 dAtA[i] = 0x38 26506 } 26507 if m.EnableContinuousBackups { 26508 i-- 26509 if m.EnableContinuousBackups { 26510 dAtA[i] = 1 26511 } else { 26512 dAtA[i] = 0 26513 } 26514 i-- 26515 dAtA[i] = 0x30 26516 } 26517 { 26518 size := m.AuditEventsURI.Size() 26519 i -= size 26520 if _, err := m.AuditEventsURI.MarshalTo(dAtA[i:]); err != nil { 26521 return 0, err 26522 } 26523 i = encodeVarintTypes(dAtA, i, uint64(size)) 26524 } 26525 i-- 26526 dAtA[i] = 0x22 26527 if len(m.AuditSessionsURI) > 0 { 26528 i -= len(m.AuditSessionsURI) 26529 copy(dAtA[i:], m.AuditSessionsURI) 26530 i = encodeVarintTypes(dAtA, i, uint64(len(m.AuditSessionsURI))) 26531 i-- 26532 dAtA[i] = 0x1a 26533 } 26534 if len(m.Region) > 0 { 26535 i -= len(m.Region) 26536 copy(dAtA[i:], m.Region) 26537 i = encodeVarintTypes(dAtA, i, uint64(len(m.Region))) 26538 i-- 26539 dAtA[i] = 0x12 26540 } 26541 if len(m.Type) > 0 { 26542 i -= len(m.Type) 26543 copy(dAtA[i:], m.Type) 26544 i = encodeVarintTypes(dAtA, i, uint64(len(m.Type))) 26545 i-- 26546 dAtA[i] = 0xa 26547 } 26548 return len(dAtA) - i, nil 26549 } 26550 26551 func (m *ClusterNetworkingConfigV2) Marshal() (dAtA []byte, err error) { 26552 size := m.Size() 26553 dAtA = make([]byte, size) 26554 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26555 if err != nil { 26556 return nil, err 26557 } 26558 return dAtA[:n], nil 26559 } 26560 26561 func (m *ClusterNetworkingConfigV2) MarshalTo(dAtA []byte) (int, error) { 26562 size := m.Size() 26563 return m.MarshalToSizedBuffer(dAtA[:size]) 26564 } 26565 26566 func (m *ClusterNetworkingConfigV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26567 i := len(dAtA) 26568 _ = i 26569 var l int 26570 _ = l 26571 if m.XXX_unrecognized != nil { 26572 i -= len(m.XXX_unrecognized) 26573 copy(dAtA[i:], m.XXX_unrecognized) 26574 } 26575 { 26576 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 26577 if err != nil { 26578 return 0, err 26579 } 26580 i -= size 26581 i = encodeVarintTypes(dAtA, i, uint64(size)) 26582 } 26583 i-- 26584 dAtA[i] = 0x2a 26585 { 26586 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 26587 if err != nil { 26588 return 0, err 26589 } 26590 i -= size 26591 i = encodeVarintTypes(dAtA, i, uint64(size)) 26592 } 26593 i-- 26594 dAtA[i] = 0x22 26595 if len(m.Version) > 0 { 26596 i -= len(m.Version) 26597 copy(dAtA[i:], m.Version) 26598 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 26599 i-- 26600 dAtA[i] = 0x1a 26601 } 26602 if len(m.SubKind) > 0 { 26603 i -= len(m.SubKind) 26604 copy(dAtA[i:], m.SubKind) 26605 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 26606 i-- 26607 dAtA[i] = 0x12 26608 } 26609 if len(m.Kind) > 0 { 26610 i -= len(m.Kind) 26611 copy(dAtA[i:], m.Kind) 26612 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 26613 i-- 26614 dAtA[i] = 0xa 26615 } 26616 return len(dAtA) - i, nil 26617 } 26618 26619 func (m *ClusterNetworkingConfigSpecV2) Marshal() (dAtA []byte, err error) { 26620 size := m.Size() 26621 dAtA = make([]byte, size) 26622 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26623 if err != nil { 26624 return nil, err 26625 } 26626 return dAtA[:n], nil 26627 } 26628 26629 func (m *ClusterNetworkingConfigSpecV2) MarshalTo(dAtA []byte) (int, error) { 26630 size := m.Size() 26631 return m.MarshalToSizedBuffer(dAtA[:size]) 26632 } 26633 26634 func (m *ClusterNetworkingConfigSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26635 i := len(dAtA) 26636 _ = i 26637 var l int 26638 _ = l 26639 if m.XXX_unrecognized != nil { 26640 i -= len(m.XXX_unrecognized) 26641 copy(dAtA[i:], m.XXX_unrecognized) 26642 } 26643 if m.CaseInsensitiveRouting { 26644 i-- 26645 if m.CaseInsensitiveRouting { 26646 dAtA[i] = 1 26647 } else { 26648 dAtA[i] = 0 26649 } 26650 i-- 26651 dAtA[i] = 0x60 26652 } 26653 if m.AssistCommandExecutionWorkers != 0 { 26654 i = encodeVarintTypes(dAtA, i, uint64(m.AssistCommandExecutionWorkers)) 26655 i-- 26656 dAtA[i] = 0x58 26657 } 26658 if m.ProxyPingInterval != 0 { 26659 i = encodeVarintTypes(dAtA, i, uint64(m.ProxyPingInterval)) 26660 i-- 26661 dAtA[i] = 0x50 26662 } 26663 if m.TunnelStrategy != nil { 26664 { 26665 size, err := m.TunnelStrategy.MarshalToSizedBuffer(dAtA[:i]) 26666 if err != nil { 26667 return 0, err 26668 } 26669 i -= size 26670 i = encodeVarintTypes(dAtA, i, uint64(size)) 26671 } 26672 i-- 26673 dAtA[i] = 0x4a 26674 } 26675 if m.RoutingStrategy != 0 { 26676 i = encodeVarintTypes(dAtA, i, uint64(m.RoutingStrategy)) 26677 i-- 26678 dAtA[i] = 0x40 26679 } 26680 if m.ProxyListenerMode != 0 { 26681 i = encodeVarintTypes(dAtA, i, uint64(m.ProxyListenerMode)) 26682 i-- 26683 dAtA[i] = 0x38 26684 } 26685 if m.WebIdleTimeout != 0 { 26686 i = encodeVarintTypes(dAtA, i, uint64(m.WebIdleTimeout)) 26687 i-- 26688 dAtA[i] = 0x30 26689 } 26690 if len(m.ClientIdleTimeoutMessage) > 0 { 26691 i -= len(m.ClientIdleTimeoutMessage) 26692 copy(dAtA[i:], m.ClientIdleTimeoutMessage) 26693 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientIdleTimeoutMessage))) 26694 i-- 26695 dAtA[i] = 0x2a 26696 } 26697 if m.SessionControlTimeout != 0 { 26698 i = encodeVarintTypes(dAtA, i, uint64(m.SessionControlTimeout)) 26699 i-- 26700 dAtA[i] = 0x20 26701 } 26702 if m.KeepAliveCountMax != 0 { 26703 i = encodeVarintTypes(dAtA, i, uint64(m.KeepAliveCountMax)) 26704 i-- 26705 dAtA[i] = 0x18 26706 } 26707 if m.KeepAliveInterval != 0 { 26708 i = encodeVarintTypes(dAtA, i, uint64(m.KeepAliveInterval)) 26709 i-- 26710 dAtA[i] = 0x10 26711 } 26712 if m.ClientIdleTimeout != 0 { 26713 i = encodeVarintTypes(dAtA, i, uint64(m.ClientIdleTimeout)) 26714 i-- 26715 dAtA[i] = 0x8 26716 } 26717 return len(dAtA) - i, nil 26718 } 26719 26720 func (m *TunnelStrategyV1) Marshal() (dAtA []byte, err error) { 26721 size := m.Size() 26722 dAtA = make([]byte, size) 26723 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26724 if err != nil { 26725 return nil, err 26726 } 26727 return dAtA[:n], nil 26728 } 26729 26730 func (m *TunnelStrategyV1) MarshalTo(dAtA []byte) (int, error) { 26731 size := m.Size() 26732 return m.MarshalToSizedBuffer(dAtA[:size]) 26733 } 26734 26735 func (m *TunnelStrategyV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26736 i := len(dAtA) 26737 _ = i 26738 var l int 26739 _ = l 26740 if m.XXX_unrecognized != nil { 26741 i -= len(m.XXX_unrecognized) 26742 copy(dAtA[i:], m.XXX_unrecognized) 26743 } 26744 if m.Strategy != nil { 26745 { 26746 size := m.Strategy.Size() 26747 i -= size 26748 if _, err := m.Strategy.MarshalTo(dAtA[i:]); err != nil { 26749 return 0, err 26750 } 26751 } 26752 } 26753 return len(dAtA) - i, nil 26754 } 26755 26756 func (m *TunnelStrategyV1_AgentMesh) MarshalTo(dAtA []byte) (int, error) { 26757 size := m.Size() 26758 return m.MarshalToSizedBuffer(dAtA[:size]) 26759 } 26760 26761 func (m *TunnelStrategyV1_AgentMesh) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26762 i := len(dAtA) 26763 if m.AgentMesh != nil { 26764 { 26765 size, err := m.AgentMesh.MarshalToSizedBuffer(dAtA[:i]) 26766 if err != nil { 26767 return 0, err 26768 } 26769 i -= size 26770 i = encodeVarintTypes(dAtA, i, uint64(size)) 26771 } 26772 i-- 26773 dAtA[i] = 0xa 26774 } 26775 return len(dAtA) - i, nil 26776 } 26777 func (m *TunnelStrategyV1_ProxyPeering) MarshalTo(dAtA []byte) (int, error) { 26778 size := m.Size() 26779 return m.MarshalToSizedBuffer(dAtA[:size]) 26780 } 26781 26782 func (m *TunnelStrategyV1_ProxyPeering) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26783 i := len(dAtA) 26784 if m.ProxyPeering != nil { 26785 { 26786 size, err := m.ProxyPeering.MarshalToSizedBuffer(dAtA[:i]) 26787 if err != nil { 26788 return 0, err 26789 } 26790 i -= size 26791 i = encodeVarintTypes(dAtA, i, uint64(size)) 26792 } 26793 i-- 26794 dAtA[i] = 0x12 26795 } 26796 return len(dAtA) - i, nil 26797 } 26798 func (m *AgentMeshTunnelStrategy) Marshal() (dAtA []byte, err error) { 26799 size := m.Size() 26800 dAtA = make([]byte, size) 26801 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26802 if err != nil { 26803 return nil, err 26804 } 26805 return dAtA[:n], nil 26806 } 26807 26808 func (m *AgentMeshTunnelStrategy) MarshalTo(dAtA []byte) (int, error) { 26809 size := m.Size() 26810 return m.MarshalToSizedBuffer(dAtA[:size]) 26811 } 26812 26813 func (m *AgentMeshTunnelStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26814 i := len(dAtA) 26815 _ = i 26816 var l int 26817 _ = l 26818 if m.XXX_unrecognized != nil { 26819 i -= len(m.XXX_unrecognized) 26820 copy(dAtA[i:], m.XXX_unrecognized) 26821 } 26822 return len(dAtA) - i, nil 26823 } 26824 26825 func (m *ProxyPeeringTunnelStrategy) Marshal() (dAtA []byte, err error) { 26826 size := m.Size() 26827 dAtA = make([]byte, size) 26828 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26829 if err != nil { 26830 return nil, err 26831 } 26832 return dAtA[:n], nil 26833 } 26834 26835 func (m *ProxyPeeringTunnelStrategy) MarshalTo(dAtA []byte) (int, error) { 26836 size := m.Size() 26837 return m.MarshalToSizedBuffer(dAtA[:size]) 26838 } 26839 26840 func (m *ProxyPeeringTunnelStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26841 i := len(dAtA) 26842 _ = i 26843 var l int 26844 _ = l 26845 if m.XXX_unrecognized != nil { 26846 i -= len(m.XXX_unrecognized) 26847 copy(dAtA[i:], m.XXX_unrecognized) 26848 } 26849 if m.AgentConnectionCount != 0 { 26850 i = encodeVarintTypes(dAtA, i, uint64(m.AgentConnectionCount)) 26851 i-- 26852 dAtA[i] = 0x8 26853 } 26854 return len(dAtA) - i, nil 26855 } 26856 26857 func (m *SessionRecordingConfigV2) Marshal() (dAtA []byte, err error) { 26858 size := m.Size() 26859 dAtA = make([]byte, size) 26860 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26861 if err != nil { 26862 return nil, err 26863 } 26864 return dAtA[:n], nil 26865 } 26866 26867 func (m *SessionRecordingConfigV2) MarshalTo(dAtA []byte) (int, error) { 26868 size := m.Size() 26869 return m.MarshalToSizedBuffer(dAtA[:size]) 26870 } 26871 26872 func (m *SessionRecordingConfigV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26873 i := len(dAtA) 26874 _ = i 26875 var l int 26876 _ = l 26877 if m.XXX_unrecognized != nil { 26878 i -= len(m.XXX_unrecognized) 26879 copy(dAtA[i:], m.XXX_unrecognized) 26880 } 26881 { 26882 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 26883 if err != nil { 26884 return 0, err 26885 } 26886 i -= size 26887 i = encodeVarintTypes(dAtA, i, uint64(size)) 26888 } 26889 i-- 26890 dAtA[i] = 0x2a 26891 { 26892 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 26893 if err != nil { 26894 return 0, err 26895 } 26896 i -= size 26897 i = encodeVarintTypes(dAtA, i, uint64(size)) 26898 } 26899 i-- 26900 dAtA[i] = 0x22 26901 if len(m.Version) > 0 { 26902 i -= len(m.Version) 26903 copy(dAtA[i:], m.Version) 26904 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 26905 i-- 26906 dAtA[i] = 0x1a 26907 } 26908 if len(m.SubKind) > 0 { 26909 i -= len(m.SubKind) 26910 copy(dAtA[i:], m.SubKind) 26911 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 26912 i-- 26913 dAtA[i] = 0x12 26914 } 26915 if len(m.Kind) > 0 { 26916 i -= len(m.Kind) 26917 copy(dAtA[i:], m.Kind) 26918 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 26919 i-- 26920 dAtA[i] = 0xa 26921 } 26922 return len(dAtA) - i, nil 26923 } 26924 26925 func (m *SessionRecordingConfigSpecV2) Marshal() (dAtA []byte, err error) { 26926 size := m.Size() 26927 dAtA = make([]byte, size) 26928 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26929 if err != nil { 26930 return nil, err 26931 } 26932 return dAtA[:n], nil 26933 } 26934 26935 func (m *SessionRecordingConfigSpecV2) MarshalTo(dAtA []byte) (int, error) { 26936 size := m.Size() 26937 return m.MarshalToSizedBuffer(dAtA[:size]) 26938 } 26939 26940 func (m *SessionRecordingConfigSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26941 i := len(dAtA) 26942 _ = i 26943 var l int 26944 _ = l 26945 if m.XXX_unrecognized != nil { 26946 i -= len(m.XXX_unrecognized) 26947 copy(dAtA[i:], m.XXX_unrecognized) 26948 } 26949 if m.ProxyChecksHostKeys != nil { 26950 { 26951 size := m.ProxyChecksHostKeys.Size() 26952 i -= size 26953 if _, err := m.ProxyChecksHostKeys.MarshalTo(dAtA[i:]); err != nil { 26954 return 0, err 26955 } 26956 i = encodeVarintTypes(dAtA, i, uint64(size)) 26957 } 26958 i-- 26959 dAtA[i] = 0x12 26960 } 26961 if len(m.Mode) > 0 { 26962 i -= len(m.Mode) 26963 copy(dAtA[i:], m.Mode) 26964 i = encodeVarintTypes(dAtA, i, uint64(len(m.Mode))) 26965 i-- 26966 dAtA[i] = 0xa 26967 } 26968 return len(dAtA) - i, nil 26969 } 26970 26971 func (m *AuthPreferenceV2) Marshal() (dAtA []byte, err error) { 26972 size := m.Size() 26973 dAtA = make([]byte, size) 26974 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26975 if err != nil { 26976 return nil, err 26977 } 26978 return dAtA[:n], nil 26979 } 26980 26981 func (m *AuthPreferenceV2) MarshalTo(dAtA []byte) (int, error) { 26982 size := m.Size() 26983 return m.MarshalToSizedBuffer(dAtA[:size]) 26984 } 26985 26986 func (m *AuthPreferenceV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26987 i := len(dAtA) 26988 _ = i 26989 var l int 26990 _ = l 26991 if m.XXX_unrecognized != nil { 26992 i -= len(m.XXX_unrecognized) 26993 copy(dAtA[i:], m.XXX_unrecognized) 26994 } 26995 { 26996 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 26997 if err != nil { 26998 return 0, err 26999 } 27000 i -= size 27001 i = encodeVarintTypes(dAtA, i, uint64(size)) 27002 } 27003 i-- 27004 dAtA[i] = 0x2a 27005 { 27006 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 27007 if err != nil { 27008 return 0, err 27009 } 27010 i -= size 27011 i = encodeVarintTypes(dAtA, i, uint64(size)) 27012 } 27013 i-- 27014 dAtA[i] = 0x22 27015 if len(m.Version) > 0 { 27016 i -= len(m.Version) 27017 copy(dAtA[i:], m.Version) 27018 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 27019 i-- 27020 dAtA[i] = 0x1a 27021 } 27022 if len(m.SubKind) > 0 { 27023 i -= len(m.SubKind) 27024 copy(dAtA[i:], m.SubKind) 27025 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 27026 i-- 27027 dAtA[i] = 0x12 27028 } 27029 if len(m.Kind) > 0 { 27030 i -= len(m.Kind) 27031 copy(dAtA[i:], m.Kind) 27032 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 27033 i-- 27034 dAtA[i] = 0xa 27035 } 27036 return len(dAtA) - i, nil 27037 } 27038 27039 func (m *AuthPreferenceSpecV2) Marshal() (dAtA []byte, err error) { 27040 size := m.Size() 27041 dAtA = make([]byte, size) 27042 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27043 if err != nil { 27044 return nil, err 27045 } 27046 return dAtA[:n], nil 27047 } 27048 27049 func (m *AuthPreferenceSpecV2) MarshalTo(dAtA []byte) (int, error) { 27050 size := m.Size() 27051 return m.MarshalToSizedBuffer(dAtA[:size]) 27052 } 27053 27054 func (m *AuthPreferenceSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27055 i := len(dAtA) 27056 _ = i 27057 var l int 27058 _ = l 27059 if m.XXX_unrecognized != nil { 27060 i -= len(m.XXX_unrecognized) 27061 copy(dAtA[i:], m.XXX_unrecognized) 27062 } 27063 if m.HardwareKey != nil { 27064 { 27065 size, err := m.HardwareKey.MarshalToSizedBuffer(dAtA[:i]) 27066 if err != nil { 27067 return 0, err 27068 } 27069 i -= size 27070 i = encodeVarintTypes(dAtA, i, uint64(size)) 27071 } 27072 i-- 27073 dAtA[i] = 0x1 27074 i-- 27075 dAtA[i] = 0x9a 27076 } 27077 if len(m.PIVSlot) > 0 { 27078 i -= len(m.PIVSlot) 27079 copy(dAtA[i:], m.PIVSlot) 27080 i = encodeVarintTypes(dAtA, i, uint64(len(m.PIVSlot))) 27081 i-- 27082 dAtA[i] = 0x1 27083 i-- 27084 dAtA[i] = 0x92 27085 } 27086 if m.Okta != nil { 27087 { 27088 size, err := m.Okta.MarshalToSizedBuffer(dAtA[:i]) 27089 if err != nil { 27090 return 0, err 27091 } 27092 i -= size 27093 i = encodeVarintTypes(dAtA, i, uint64(size)) 27094 } 27095 i-- 27096 dAtA[i] = 0x1 27097 i-- 27098 dAtA[i] = 0x8a 27099 } 27100 if m.DefaultSessionTTL != 0 { 27101 i = encodeVarintTypes(dAtA, i, uint64(m.DefaultSessionTTL)) 27102 i-- 27103 dAtA[i] = 0x1 27104 i-- 27105 dAtA[i] = 0x80 27106 } 27107 if m.AllowHeadless != nil { 27108 { 27109 size := m.AllowHeadless.Size() 27110 i -= size 27111 if _, err := m.AllowHeadless.MarshalTo(dAtA[i:]); err != nil { 27112 return 0, err 27113 } 27114 i = encodeVarintTypes(dAtA, i, uint64(size)) 27115 } 27116 i-- 27117 dAtA[i] = 0x7a 27118 } 27119 if m.IDP != nil { 27120 { 27121 size, err := m.IDP.MarshalToSizedBuffer(dAtA[:i]) 27122 if err != nil { 27123 return 0, err 27124 } 27125 i -= size 27126 i = encodeVarintTypes(dAtA, i, uint64(size)) 27127 } 27128 i-- 27129 dAtA[i] = 0x72 27130 } 27131 if m.DeviceTrust != nil { 27132 { 27133 size, err := m.DeviceTrust.MarshalToSizedBuffer(dAtA[:i]) 27134 if err != nil { 27135 return 0, err 27136 } 27137 i -= size 27138 i = encodeVarintTypes(dAtA, i, uint64(size)) 27139 } 27140 i-- 27141 dAtA[i] = 0x6a 27142 } 27143 if m.RequireMFAType != 0 { 27144 i = encodeVarintTypes(dAtA, i, uint64(m.RequireMFAType)) 27145 i-- 27146 dAtA[i] = 0x60 27147 } 27148 if m.AllowPasswordless != nil { 27149 { 27150 size := m.AllowPasswordless.Size() 27151 i -= size 27152 if _, err := m.AllowPasswordless.MarshalTo(dAtA[i:]); err != nil { 27153 return 0, err 27154 } 27155 i = encodeVarintTypes(dAtA, i, uint64(size)) 27156 } 27157 i-- 27158 dAtA[i] = 0x5a 27159 } 27160 if m.Webauthn != nil { 27161 { 27162 size, err := m.Webauthn.MarshalToSizedBuffer(dAtA[:i]) 27163 if err != nil { 27164 return 0, err 27165 } 27166 i -= size 27167 i = encodeVarintTypes(dAtA, i, uint64(size)) 27168 } 27169 i-- 27170 dAtA[i] = 0x52 27171 } 27172 if len(m.LockingMode) > 0 { 27173 i -= len(m.LockingMode) 27174 copy(dAtA[i:], m.LockingMode) 27175 i = encodeVarintTypes(dAtA, i, uint64(len(m.LockingMode))) 27176 i-- 27177 dAtA[i] = 0x4a 27178 } 27179 if len(m.MessageOfTheDay) > 0 { 27180 i -= len(m.MessageOfTheDay) 27181 copy(dAtA[i:], m.MessageOfTheDay) 27182 i = encodeVarintTypes(dAtA, i, uint64(len(m.MessageOfTheDay))) 27183 i-- 27184 dAtA[i] = 0x42 27185 } 27186 if m.AllowLocalAuth != nil { 27187 { 27188 size := m.AllowLocalAuth.Size() 27189 i -= size 27190 if _, err := m.AllowLocalAuth.MarshalTo(dAtA[i:]); err != nil { 27191 return 0, err 27192 } 27193 i = encodeVarintTypes(dAtA, i, uint64(size)) 27194 } 27195 i-- 27196 dAtA[i] = 0x3a 27197 } 27198 if m.DisconnectExpiredCert != nil { 27199 { 27200 size := m.DisconnectExpiredCert.Size() 27201 i -= size 27202 if _, err := m.DisconnectExpiredCert.MarshalTo(dAtA[i:]); err != nil { 27203 return 0, err 27204 } 27205 i = encodeVarintTypes(dAtA, i, uint64(size)) 27206 } 27207 i-- 27208 dAtA[i] = 0x32 27209 } 27210 if m.U2F != nil { 27211 { 27212 size, err := m.U2F.MarshalToSizedBuffer(dAtA[:i]) 27213 if err != nil { 27214 return 0, err 27215 } 27216 i -= size 27217 i = encodeVarintTypes(dAtA, i, uint64(size)) 27218 } 27219 i-- 27220 dAtA[i] = 0x22 27221 } 27222 if len(m.ConnectorName) > 0 { 27223 i -= len(m.ConnectorName) 27224 copy(dAtA[i:], m.ConnectorName) 27225 i = encodeVarintTypes(dAtA, i, uint64(len(m.ConnectorName))) 27226 i-- 27227 dAtA[i] = 0x1a 27228 } 27229 if len(m.SecondFactor) > 0 { 27230 i -= len(m.SecondFactor) 27231 copy(dAtA[i:], m.SecondFactor) 27232 i = encodeVarintTypes(dAtA, i, uint64(len(m.SecondFactor))) 27233 i-- 27234 dAtA[i] = 0x12 27235 } 27236 if len(m.Type) > 0 { 27237 i -= len(m.Type) 27238 copy(dAtA[i:], m.Type) 27239 i = encodeVarintTypes(dAtA, i, uint64(len(m.Type))) 27240 i-- 27241 dAtA[i] = 0xa 27242 } 27243 return len(dAtA) - i, nil 27244 } 27245 27246 func (m *U2F) Marshal() (dAtA []byte, err error) { 27247 size := m.Size() 27248 dAtA = make([]byte, size) 27249 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27250 if err != nil { 27251 return nil, err 27252 } 27253 return dAtA[:n], nil 27254 } 27255 27256 func (m *U2F) MarshalTo(dAtA []byte) (int, error) { 27257 size := m.Size() 27258 return m.MarshalToSizedBuffer(dAtA[:size]) 27259 } 27260 27261 func (m *U2F) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27262 i := len(dAtA) 27263 _ = i 27264 var l int 27265 _ = l 27266 if m.XXX_unrecognized != nil { 27267 i -= len(m.XXX_unrecognized) 27268 copy(dAtA[i:], m.XXX_unrecognized) 27269 } 27270 if len(m.DeviceAttestationCAs) > 0 { 27271 for iNdEx := len(m.DeviceAttestationCAs) - 1; iNdEx >= 0; iNdEx-- { 27272 i -= len(m.DeviceAttestationCAs[iNdEx]) 27273 copy(dAtA[i:], m.DeviceAttestationCAs[iNdEx]) 27274 i = encodeVarintTypes(dAtA, i, uint64(len(m.DeviceAttestationCAs[iNdEx]))) 27275 i-- 27276 dAtA[i] = 0x1a 27277 } 27278 } 27279 if len(m.Facets) > 0 { 27280 for iNdEx := len(m.Facets) - 1; iNdEx >= 0; iNdEx-- { 27281 i -= len(m.Facets[iNdEx]) 27282 copy(dAtA[i:], m.Facets[iNdEx]) 27283 i = encodeVarintTypes(dAtA, i, uint64(len(m.Facets[iNdEx]))) 27284 i-- 27285 dAtA[i] = 0x12 27286 } 27287 } 27288 if len(m.AppID) > 0 { 27289 i -= len(m.AppID) 27290 copy(dAtA[i:], m.AppID) 27291 i = encodeVarintTypes(dAtA, i, uint64(len(m.AppID))) 27292 i-- 27293 dAtA[i] = 0xa 27294 } 27295 return len(dAtA) - i, nil 27296 } 27297 27298 func (m *Webauthn) Marshal() (dAtA []byte, err error) { 27299 size := m.Size() 27300 dAtA = make([]byte, size) 27301 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27302 if err != nil { 27303 return nil, err 27304 } 27305 return dAtA[:n], nil 27306 } 27307 27308 func (m *Webauthn) MarshalTo(dAtA []byte) (int, error) { 27309 size := m.Size() 27310 return m.MarshalToSizedBuffer(dAtA[:size]) 27311 } 27312 27313 func (m *Webauthn) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27314 i := len(dAtA) 27315 _ = i 27316 var l int 27317 _ = l 27318 if m.XXX_unrecognized != nil { 27319 i -= len(m.XXX_unrecognized) 27320 copy(dAtA[i:], m.XXX_unrecognized) 27321 } 27322 if len(m.AttestationDeniedCAs) > 0 { 27323 for iNdEx := len(m.AttestationDeniedCAs) - 1; iNdEx >= 0; iNdEx-- { 27324 i -= len(m.AttestationDeniedCAs[iNdEx]) 27325 copy(dAtA[i:], m.AttestationDeniedCAs[iNdEx]) 27326 i = encodeVarintTypes(dAtA, i, uint64(len(m.AttestationDeniedCAs[iNdEx]))) 27327 i-- 27328 dAtA[i] = 0x1a 27329 } 27330 } 27331 if len(m.AttestationAllowedCAs) > 0 { 27332 for iNdEx := len(m.AttestationAllowedCAs) - 1; iNdEx >= 0; iNdEx-- { 27333 i -= len(m.AttestationAllowedCAs[iNdEx]) 27334 copy(dAtA[i:], m.AttestationAllowedCAs[iNdEx]) 27335 i = encodeVarintTypes(dAtA, i, uint64(len(m.AttestationAllowedCAs[iNdEx]))) 27336 i-- 27337 dAtA[i] = 0x12 27338 } 27339 } 27340 if len(m.RPID) > 0 { 27341 i -= len(m.RPID) 27342 copy(dAtA[i:], m.RPID) 27343 i = encodeVarintTypes(dAtA, i, uint64(len(m.RPID))) 27344 i-- 27345 dAtA[i] = 0xa 27346 } 27347 return len(dAtA) - i, nil 27348 } 27349 27350 func (m *DeviceTrust) Marshal() (dAtA []byte, err error) { 27351 size := m.Size() 27352 dAtA = make([]byte, size) 27353 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27354 if err != nil { 27355 return nil, err 27356 } 27357 return dAtA[:n], nil 27358 } 27359 27360 func (m *DeviceTrust) MarshalTo(dAtA []byte) (int, error) { 27361 size := m.Size() 27362 return m.MarshalToSizedBuffer(dAtA[:size]) 27363 } 27364 27365 func (m *DeviceTrust) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27366 i := len(dAtA) 27367 _ = i 27368 var l int 27369 _ = l 27370 if m.XXX_unrecognized != nil { 27371 i -= len(m.XXX_unrecognized) 27372 copy(dAtA[i:], m.XXX_unrecognized) 27373 } 27374 if len(m.EKCertAllowedCAs) > 0 { 27375 for iNdEx := len(m.EKCertAllowedCAs) - 1; iNdEx >= 0; iNdEx-- { 27376 i -= len(m.EKCertAllowedCAs[iNdEx]) 27377 copy(dAtA[i:], m.EKCertAllowedCAs[iNdEx]) 27378 i = encodeVarintTypes(dAtA, i, uint64(len(m.EKCertAllowedCAs[iNdEx]))) 27379 i-- 27380 dAtA[i] = 0x1a 27381 } 27382 } 27383 if m.AutoEnroll { 27384 i-- 27385 if m.AutoEnroll { 27386 dAtA[i] = 1 27387 } else { 27388 dAtA[i] = 0 27389 } 27390 i-- 27391 dAtA[i] = 0x10 27392 } 27393 if len(m.Mode) > 0 { 27394 i -= len(m.Mode) 27395 copy(dAtA[i:], m.Mode) 27396 i = encodeVarintTypes(dAtA, i, uint64(len(m.Mode))) 27397 i-- 27398 dAtA[i] = 0xa 27399 } 27400 return len(dAtA) - i, nil 27401 } 27402 27403 func (m *HardwareKey) Marshal() (dAtA []byte, err error) { 27404 size := m.Size() 27405 dAtA = make([]byte, size) 27406 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27407 if err != nil { 27408 return nil, err 27409 } 27410 return dAtA[:n], nil 27411 } 27412 27413 func (m *HardwareKey) MarshalTo(dAtA []byte) (int, error) { 27414 size := m.Size() 27415 return m.MarshalToSizedBuffer(dAtA[:size]) 27416 } 27417 27418 func (m *HardwareKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27419 i := len(dAtA) 27420 _ = i 27421 var l int 27422 _ = l 27423 if m.XXX_unrecognized != nil { 27424 i -= len(m.XXX_unrecognized) 27425 copy(dAtA[i:], m.XXX_unrecognized) 27426 } 27427 if m.SerialNumberValidation != nil { 27428 { 27429 size, err := m.SerialNumberValidation.MarshalToSizedBuffer(dAtA[:i]) 27430 if err != nil { 27431 return 0, err 27432 } 27433 i -= size 27434 i = encodeVarintTypes(dAtA, i, uint64(size)) 27435 } 27436 i-- 27437 dAtA[i] = 0x12 27438 } 27439 if len(m.PIVSlot) > 0 { 27440 i -= len(m.PIVSlot) 27441 copy(dAtA[i:], m.PIVSlot) 27442 i = encodeVarintTypes(dAtA, i, uint64(len(m.PIVSlot))) 27443 i-- 27444 dAtA[i] = 0xa 27445 } 27446 return len(dAtA) - i, nil 27447 } 27448 27449 func (m *HardwareKeySerialNumberValidation) Marshal() (dAtA []byte, err error) { 27450 size := m.Size() 27451 dAtA = make([]byte, size) 27452 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27453 if err != nil { 27454 return nil, err 27455 } 27456 return dAtA[:n], nil 27457 } 27458 27459 func (m *HardwareKeySerialNumberValidation) MarshalTo(dAtA []byte) (int, error) { 27460 size := m.Size() 27461 return m.MarshalToSizedBuffer(dAtA[:size]) 27462 } 27463 27464 func (m *HardwareKeySerialNumberValidation) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27465 i := len(dAtA) 27466 _ = i 27467 var l int 27468 _ = l 27469 if m.XXX_unrecognized != nil { 27470 i -= len(m.XXX_unrecognized) 27471 copy(dAtA[i:], m.XXX_unrecognized) 27472 } 27473 if len(m.SerialNumberTraitName) > 0 { 27474 i -= len(m.SerialNumberTraitName) 27475 copy(dAtA[i:], m.SerialNumberTraitName) 27476 i = encodeVarintTypes(dAtA, i, uint64(len(m.SerialNumberTraitName))) 27477 i-- 27478 dAtA[i] = 0x12 27479 } 27480 if m.Enabled { 27481 i-- 27482 if m.Enabled { 27483 dAtA[i] = 1 27484 } else { 27485 dAtA[i] = 0 27486 } 27487 i-- 27488 dAtA[i] = 0x8 27489 } 27490 return len(dAtA) - i, nil 27491 } 27492 27493 func (m *Namespace) Marshal() (dAtA []byte, err error) { 27494 size := m.Size() 27495 dAtA = make([]byte, size) 27496 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27497 if err != nil { 27498 return nil, err 27499 } 27500 return dAtA[:n], nil 27501 } 27502 27503 func (m *Namespace) MarshalTo(dAtA []byte) (int, error) { 27504 size := m.Size() 27505 return m.MarshalToSizedBuffer(dAtA[:size]) 27506 } 27507 27508 func (m *Namespace) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27509 i := len(dAtA) 27510 _ = i 27511 var l int 27512 _ = l 27513 if m.XXX_unrecognized != nil { 27514 i -= len(m.XXX_unrecognized) 27515 copy(dAtA[i:], m.XXX_unrecognized) 27516 } 27517 { 27518 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 27519 if err != nil { 27520 return 0, err 27521 } 27522 i -= size 27523 i = encodeVarintTypes(dAtA, i, uint64(size)) 27524 } 27525 i-- 27526 dAtA[i] = 0x2a 27527 { 27528 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 27529 if err != nil { 27530 return 0, err 27531 } 27532 i -= size 27533 i = encodeVarintTypes(dAtA, i, uint64(size)) 27534 } 27535 i-- 27536 dAtA[i] = 0x22 27537 if len(m.Version) > 0 { 27538 i -= len(m.Version) 27539 copy(dAtA[i:], m.Version) 27540 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 27541 i-- 27542 dAtA[i] = 0x1a 27543 } 27544 if len(m.SubKind) > 0 { 27545 i -= len(m.SubKind) 27546 copy(dAtA[i:], m.SubKind) 27547 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 27548 i-- 27549 dAtA[i] = 0x12 27550 } 27551 if len(m.Kind) > 0 { 27552 i -= len(m.Kind) 27553 copy(dAtA[i:], m.Kind) 27554 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 27555 i-- 27556 dAtA[i] = 0xa 27557 } 27558 return len(dAtA) - i, nil 27559 } 27560 27561 func (m *NamespaceSpec) Marshal() (dAtA []byte, err error) { 27562 size := m.Size() 27563 dAtA = make([]byte, size) 27564 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27565 if err != nil { 27566 return nil, err 27567 } 27568 return dAtA[:n], nil 27569 } 27570 27571 func (m *NamespaceSpec) MarshalTo(dAtA []byte) (int, error) { 27572 size := m.Size() 27573 return m.MarshalToSizedBuffer(dAtA[:size]) 27574 } 27575 27576 func (m *NamespaceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27577 i := len(dAtA) 27578 _ = i 27579 var l int 27580 _ = l 27581 if m.XXX_unrecognized != nil { 27582 i -= len(m.XXX_unrecognized) 27583 copy(dAtA[i:], m.XXX_unrecognized) 27584 } 27585 return len(dAtA) - i, nil 27586 } 27587 27588 func (m *UserTokenV3) Marshal() (dAtA []byte, err error) { 27589 size := m.Size() 27590 dAtA = make([]byte, size) 27591 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27592 if err != nil { 27593 return nil, err 27594 } 27595 return dAtA[:n], nil 27596 } 27597 27598 func (m *UserTokenV3) MarshalTo(dAtA []byte) (int, error) { 27599 size := m.Size() 27600 return m.MarshalToSizedBuffer(dAtA[:size]) 27601 } 27602 27603 func (m *UserTokenV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27604 i := len(dAtA) 27605 _ = i 27606 var l int 27607 _ = l 27608 if m.XXX_unrecognized != nil { 27609 i -= len(m.XXX_unrecognized) 27610 copy(dAtA[i:], m.XXX_unrecognized) 27611 } 27612 { 27613 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 27614 if err != nil { 27615 return 0, err 27616 } 27617 i -= size 27618 i = encodeVarintTypes(dAtA, i, uint64(size)) 27619 } 27620 i-- 27621 dAtA[i] = 0x2a 27622 { 27623 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 27624 if err != nil { 27625 return 0, err 27626 } 27627 i -= size 27628 i = encodeVarintTypes(dAtA, i, uint64(size)) 27629 } 27630 i-- 27631 dAtA[i] = 0x22 27632 if len(m.Version) > 0 { 27633 i -= len(m.Version) 27634 copy(dAtA[i:], m.Version) 27635 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 27636 i-- 27637 dAtA[i] = 0x1a 27638 } 27639 if len(m.SubKind) > 0 { 27640 i -= len(m.SubKind) 27641 copy(dAtA[i:], m.SubKind) 27642 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 27643 i-- 27644 dAtA[i] = 0x12 27645 } 27646 if len(m.Kind) > 0 { 27647 i -= len(m.Kind) 27648 copy(dAtA[i:], m.Kind) 27649 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 27650 i-- 27651 dAtA[i] = 0xa 27652 } 27653 return len(dAtA) - i, nil 27654 } 27655 27656 func (m *UserTokenSpecV3) Marshal() (dAtA []byte, err error) { 27657 size := m.Size() 27658 dAtA = make([]byte, size) 27659 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27660 if err != nil { 27661 return nil, err 27662 } 27663 return dAtA[:n], nil 27664 } 27665 27666 func (m *UserTokenSpecV3) MarshalTo(dAtA []byte) (int, error) { 27667 size := m.Size() 27668 return m.MarshalToSizedBuffer(dAtA[:size]) 27669 } 27670 27671 func (m *UserTokenSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27672 i := len(dAtA) 27673 _ = i 27674 var l int 27675 _ = l 27676 if m.XXX_unrecognized != nil { 27677 i -= len(m.XXX_unrecognized) 27678 copy(dAtA[i:], m.XXX_unrecognized) 27679 } 27680 n113, err113 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Created, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Created):]) 27681 if err113 != nil { 27682 return 0, err113 27683 } 27684 i -= n113 27685 i = encodeVarintTypes(dAtA, i, uint64(n113)) 27686 i-- 27687 dAtA[i] = 0x22 27688 if m.Usage != 0 { 27689 i = encodeVarintTypes(dAtA, i, uint64(m.Usage)) 27690 i-- 27691 dAtA[i] = 0x18 27692 } 27693 if len(m.URL) > 0 { 27694 i -= len(m.URL) 27695 copy(dAtA[i:], m.URL) 27696 i = encodeVarintTypes(dAtA, i, uint64(len(m.URL))) 27697 i-- 27698 dAtA[i] = 0x12 27699 } 27700 if len(m.User) > 0 { 27701 i -= len(m.User) 27702 copy(dAtA[i:], m.User) 27703 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 27704 i-- 27705 dAtA[i] = 0xa 27706 } 27707 return len(dAtA) - i, nil 27708 } 27709 27710 func (m *UserTokenSecretsV3) Marshal() (dAtA []byte, err error) { 27711 size := m.Size() 27712 dAtA = make([]byte, size) 27713 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27714 if err != nil { 27715 return nil, err 27716 } 27717 return dAtA[:n], nil 27718 } 27719 27720 func (m *UserTokenSecretsV3) MarshalTo(dAtA []byte) (int, error) { 27721 size := m.Size() 27722 return m.MarshalToSizedBuffer(dAtA[:size]) 27723 } 27724 27725 func (m *UserTokenSecretsV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27726 i := len(dAtA) 27727 _ = i 27728 var l int 27729 _ = l 27730 if m.XXX_unrecognized != nil { 27731 i -= len(m.XXX_unrecognized) 27732 copy(dAtA[i:], m.XXX_unrecognized) 27733 } 27734 { 27735 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 27736 if err != nil { 27737 return 0, err 27738 } 27739 i -= size 27740 i = encodeVarintTypes(dAtA, i, uint64(size)) 27741 } 27742 i-- 27743 dAtA[i] = 0x2a 27744 { 27745 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 27746 if err != nil { 27747 return 0, err 27748 } 27749 i -= size 27750 i = encodeVarintTypes(dAtA, i, uint64(size)) 27751 } 27752 i-- 27753 dAtA[i] = 0x22 27754 if len(m.Version) > 0 { 27755 i -= len(m.Version) 27756 copy(dAtA[i:], m.Version) 27757 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 27758 i-- 27759 dAtA[i] = 0x1a 27760 } 27761 if len(m.SubKind) > 0 { 27762 i -= len(m.SubKind) 27763 copy(dAtA[i:], m.SubKind) 27764 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 27765 i-- 27766 dAtA[i] = 0x12 27767 } 27768 if len(m.Kind) > 0 { 27769 i -= len(m.Kind) 27770 copy(dAtA[i:], m.Kind) 27771 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 27772 i-- 27773 dAtA[i] = 0xa 27774 } 27775 return len(dAtA) - i, nil 27776 } 27777 27778 func (m *UserTokenSecretsSpecV3) Marshal() (dAtA []byte, err error) { 27779 size := m.Size() 27780 dAtA = make([]byte, size) 27781 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27782 if err != nil { 27783 return nil, err 27784 } 27785 return dAtA[:n], nil 27786 } 27787 27788 func (m *UserTokenSecretsSpecV3) MarshalTo(dAtA []byte) (int, error) { 27789 size := m.Size() 27790 return m.MarshalToSizedBuffer(dAtA[:size]) 27791 } 27792 27793 func (m *UserTokenSecretsSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27794 i := len(dAtA) 27795 _ = i 27796 var l int 27797 _ = l 27798 if m.XXX_unrecognized != nil { 27799 i -= len(m.XXX_unrecognized) 27800 copy(dAtA[i:], m.XXX_unrecognized) 27801 } 27802 n116, err116 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Created, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Created):]) 27803 if err116 != nil { 27804 return 0, err116 27805 } 27806 i -= n116 27807 i = encodeVarintTypes(dAtA, i, uint64(n116)) 27808 i-- 27809 dAtA[i] = 0x1a 27810 if len(m.QRCode) > 0 { 27811 i -= len(m.QRCode) 27812 copy(dAtA[i:], m.QRCode) 27813 i = encodeVarintTypes(dAtA, i, uint64(len(m.QRCode))) 27814 i-- 27815 dAtA[i] = 0x12 27816 } 27817 if len(m.OTPKey) > 0 { 27818 i -= len(m.OTPKey) 27819 copy(dAtA[i:], m.OTPKey) 27820 i = encodeVarintTypes(dAtA, i, uint64(len(m.OTPKey))) 27821 i-- 27822 dAtA[i] = 0xa 27823 } 27824 return len(dAtA) - i, nil 27825 } 27826 27827 func (m *AccessRequestV3) Marshal() (dAtA []byte, err error) { 27828 size := m.Size() 27829 dAtA = make([]byte, size) 27830 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27831 if err != nil { 27832 return nil, err 27833 } 27834 return dAtA[:n], nil 27835 } 27836 27837 func (m *AccessRequestV3) MarshalTo(dAtA []byte) (int, error) { 27838 size := m.Size() 27839 return m.MarshalToSizedBuffer(dAtA[:size]) 27840 } 27841 27842 func (m *AccessRequestV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27843 i := len(dAtA) 27844 _ = i 27845 var l int 27846 _ = l 27847 if m.XXX_unrecognized != nil { 27848 i -= len(m.XXX_unrecognized) 27849 copy(dAtA[i:], m.XXX_unrecognized) 27850 } 27851 { 27852 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 27853 if err != nil { 27854 return 0, err 27855 } 27856 i -= size 27857 i = encodeVarintTypes(dAtA, i, uint64(size)) 27858 } 27859 i-- 27860 dAtA[i] = 0x2a 27861 { 27862 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 27863 if err != nil { 27864 return 0, err 27865 } 27866 i -= size 27867 i = encodeVarintTypes(dAtA, i, uint64(size)) 27868 } 27869 i-- 27870 dAtA[i] = 0x22 27871 if len(m.Version) > 0 { 27872 i -= len(m.Version) 27873 copy(dAtA[i:], m.Version) 27874 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 27875 i-- 27876 dAtA[i] = 0x1a 27877 } 27878 if len(m.SubKind) > 0 { 27879 i -= len(m.SubKind) 27880 copy(dAtA[i:], m.SubKind) 27881 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 27882 i-- 27883 dAtA[i] = 0x12 27884 } 27885 if len(m.Kind) > 0 { 27886 i -= len(m.Kind) 27887 copy(dAtA[i:], m.Kind) 27888 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 27889 i-- 27890 dAtA[i] = 0xa 27891 } 27892 return len(dAtA) - i, nil 27893 } 27894 27895 func (m *AccessReviewThreshold) Marshal() (dAtA []byte, err error) { 27896 size := m.Size() 27897 dAtA = make([]byte, size) 27898 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27899 if err != nil { 27900 return nil, err 27901 } 27902 return dAtA[:n], nil 27903 } 27904 27905 func (m *AccessReviewThreshold) MarshalTo(dAtA []byte) (int, error) { 27906 size := m.Size() 27907 return m.MarshalToSizedBuffer(dAtA[:size]) 27908 } 27909 27910 func (m *AccessReviewThreshold) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27911 i := len(dAtA) 27912 _ = i 27913 var l int 27914 _ = l 27915 if m.XXX_unrecognized != nil { 27916 i -= len(m.XXX_unrecognized) 27917 copy(dAtA[i:], m.XXX_unrecognized) 27918 } 27919 if m.Deny != 0 { 27920 i = encodeVarintTypes(dAtA, i, uint64(m.Deny)) 27921 i-- 27922 dAtA[i] = 0x20 27923 } 27924 if m.Approve != 0 { 27925 i = encodeVarintTypes(dAtA, i, uint64(m.Approve)) 27926 i-- 27927 dAtA[i] = 0x18 27928 } 27929 if len(m.Filter) > 0 { 27930 i -= len(m.Filter) 27931 copy(dAtA[i:], m.Filter) 27932 i = encodeVarintTypes(dAtA, i, uint64(len(m.Filter))) 27933 i-- 27934 dAtA[i] = 0x12 27935 } 27936 if len(m.Name) > 0 { 27937 i -= len(m.Name) 27938 copy(dAtA[i:], m.Name) 27939 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 27940 i-- 27941 dAtA[i] = 0xa 27942 } 27943 return len(dAtA) - i, nil 27944 } 27945 27946 func (m *PromotedAccessList) Marshal() (dAtA []byte, err error) { 27947 size := m.Size() 27948 dAtA = make([]byte, size) 27949 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27950 if err != nil { 27951 return nil, err 27952 } 27953 return dAtA[:n], nil 27954 } 27955 27956 func (m *PromotedAccessList) MarshalTo(dAtA []byte) (int, error) { 27957 size := m.Size() 27958 return m.MarshalToSizedBuffer(dAtA[:size]) 27959 } 27960 27961 func (m *PromotedAccessList) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27962 i := len(dAtA) 27963 _ = i 27964 var l int 27965 _ = l 27966 if m.XXX_unrecognized != nil { 27967 i -= len(m.XXX_unrecognized) 27968 copy(dAtA[i:], m.XXX_unrecognized) 27969 } 27970 if len(m.Title) > 0 { 27971 i -= len(m.Title) 27972 copy(dAtA[i:], m.Title) 27973 i = encodeVarintTypes(dAtA, i, uint64(len(m.Title))) 27974 i-- 27975 dAtA[i] = 0x12 27976 } 27977 if len(m.Name) > 0 { 27978 i -= len(m.Name) 27979 copy(dAtA[i:], m.Name) 27980 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 27981 i-- 27982 dAtA[i] = 0xa 27983 } 27984 return len(dAtA) - i, nil 27985 } 27986 27987 func (m *AccessReview) Marshal() (dAtA []byte, err error) { 27988 size := m.Size() 27989 dAtA = make([]byte, size) 27990 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27991 if err != nil { 27992 return nil, err 27993 } 27994 return dAtA[:n], nil 27995 } 27996 27997 func (m *AccessReview) MarshalTo(dAtA []byte) (int, error) { 27998 size := m.Size() 27999 return m.MarshalToSizedBuffer(dAtA[:size]) 28000 } 28001 28002 func (m *AccessReview) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28003 i := len(dAtA) 28004 _ = i 28005 var l int 28006 _ = l 28007 if m.XXX_unrecognized != nil { 28008 i -= len(m.XXX_unrecognized) 28009 copy(dAtA[i:], m.XXX_unrecognized) 28010 } 28011 if m.AssumeStartTime != nil { 28012 n119, err119 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.AssumeStartTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.AssumeStartTime):]) 28013 if err119 != nil { 28014 return 0, err119 28015 } 28016 i -= n119 28017 i = encodeVarintTypes(dAtA, i, uint64(n119)) 28018 i-- 28019 dAtA[i] = 0x52 28020 } 28021 if m.AccessList != nil { 28022 { 28023 size, err := m.AccessList.MarshalToSizedBuffer(dAtA[:i]) 28024 if err != nil { 28025 return 0, err 28026 } 28027 i -= size 28028 i = encodeVarintTypes(dAtA, i, uint64(size)) 28029 } 28030 i-- 28031 dAtA[i] = 0x4a 28032 } 28033 if len(m.ThresholdIndexes) > 0 { 28034 dAtA122 := make([]byte, len(m.ThresholdIndexes)*10) 28035 var j121 int 28036 for _, num := range m.ThresholdIndexes { 28037 for num >= 1<<7 { 28038 dAtA122[j121] = uint8(uint64(num)&0x7f | 0x80) 28039 num >>= 7 28040 j121++ 28041 } 28042 dAtA122[j121] = uint8(num) 28043 j121++ 28044 } 28045 i -= j121 28046 copy(dAtA[i:], dAtA122[:j121]) 28047 i = encodeVarintTypes(dAtA, i, uint64(j121)) 28048 i-- 28049 dAtA[i] = 0x3a 28050 } 28051 { 28052 size := m.Annotations.Size() 28053 i -= size 28054 if _, err := m.Annotations.MarshalTo(dAtA[i:]); err != nil { 28055 return 0, err 28056 } 28057 i = encodeVarintTypes(dAtA, i, uint64(size)) 28058 } 28059 i-- 28060 dAtA[i] = 0x32 28061 n124, err124 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Created, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Created):]) 28062 if err124 != nil { 28063 return 0, err124 28064 } 28065 i -= n124 28066 i = encodeVarintTypes(dAtA, i, uint64(n124)) 28067 i-- 28068 dAtA[i] = 0x2a 28069 if len(m.Reason) > 0 { 28070 i -= len(m.Reason) 28071 copy(dAtA[i:], m.Reason) 28072 i = encodeVarintTypes(dAtA, i, uint64(len(m.Reason))) 28073 i-- 28074 dAtA[i] = 0x22 28075 } 28076 if m.ProposedState != 0 { 28077 i = encodeVarintTypes(dAtA, i, uint64(m.ProposedState)) 28078 i-- 28079 dAtA[i] = 0x18 28080 } 28081 if len(m.Roles) > 0 { 28082 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 28083 i -= len(m.Roles[iNdEx]) 28084 copy(dAtA[i:], m.Roles[iNdEx]) 28085 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 28086 i-- 28087 dAtA[i] = 0x12 28088 } 28089 } 28090 if len(m.Author) > 0 { 28091 i -= len(m.Author) 28092 copy(dAtA[i:], m.Author) 28093 i = encodeVarintTypes(dAtA, i, uint64(len(m.Author))) 28094 i-- 28095 dAtA[i] = 0xa 28096 } 28097 return len(dAtA) - i, nil 28098 } 28099 28100 func (m *AccessReviewSubmission) Marshal() (dAtA []byte, err error) { 28101 size := m.Size() 28102 dAtA = make([]byte, size) 28103 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28104 if err != nil { 28105 return nil, err 28106 } 28107 return dAtA[:n], nil 28108 } 28109 28110 func (m *AccessReviewSubmission) MarshalTo(dAtA []byte) (int, error) { 28111 size := m.Size() 28112 return m.MarshalToSizedBuffer(dAtA[:size]) 28113 } 28114 28115 func (m *AccessReviewSubmission) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28116 i := len(dAtA) 28117 _ = i 28118 var l int 28119 _ = l 28120 if m.XXX_unrecognized != nil { 28121 i -= len(m.XXX_unrecognized) 28122 copy(dAtA[i:], m.XXX_unrecognized) 28123 } 28124 { 28125 size, err := m.Review.MarshalToSizedBuffer(dAtA[:i]) 28126 if err != nil { 28127 return 0, err 28128 } 28129 i -= size 28130 i = encodeVarintTypes(dAtA, i, uint64(size)) 28131 } 28132 i-- 28133 dAtA[i] = 0x12 28134 if len(m.RequestID) > 0 { 28135 i -= len(m.RequestID) 28136 copy(dAtA[i:], m.RequestID) 28137 i = encodeVarintTypes(dAtA, i, uint64(len(m.RequestID))) 28138 i-- 28139 dAtA[i] = 0xa 28140 } 28141 return len(dAtA) - i, nil 28142 } 28143 28144 func (m *ThresholdIndexSet) Marshal() (dAtA []byte, err error) { 28145 size := m.Size() 28146 dAtA = make([]byte, size) 28147 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28148 if err != nil { 28149 return nil, err 28150 } 28151 return dAtA[:n], nil 28152 } 28153 28154 func (m *ThresholdIndexSet) MarshalTo(dAtA []byte) (int, error) { 28155 size := m.Size() 28156 return m.MarshalToSizedBuffer(dAtA[:size]) 28157 } 28158 28159 func (m *ThresholdIndexSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28160 i := len(dAtA) 28161 _ = i 28162 var l int 28163 _ = l 28164 if m.XXX_unrecognized != nil { 28165 i -= len(m.XXX_unrecognized) 28166 copy(dAtA[i:], m.XXX_unrecognized) 28167 } 28168 if len(m.Indexes) > 0 { 28169 dAtA127 := make([]byte, len(m.Indexes)*10) 28170 var j126 int 28171 for _, num := range m.Indexes { 28172 for num >= 1<<7 { 28173 dAtA127[j126] = uint8(uint64(num)&0x7f | 0x80) 28174 num >>= 7 28175 j126++ 28176 } 28177 dAtA127[j126] = uint8(num) 28178 j126++ 28179 } 28180 i -= j126 28181 copy(dAtA[i:], dAtA127[:j126]) 28182 i = encodeVarintTypes(dAtA, i, uint64(j126)) 28183 i-- 28184 dAtA[i] = 0xa 28185 } 28186 return len(dAtA) - i, nil 28187 } 28188 28189 func (m *ThresholdIndexSets) Marshal() (dAtA []byte, err error) { 28190 size := m.Size() 28191 dAtA = make([]byte, size) 28192 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28193 if err != nil { 28194 return nil, err 28195 } 28196 return dAtA[:n], nil 28197 } 28198 28199 func (m *ThresholdIndexSets) MarshalTo(dAtA []byte) (int, error) { 28200 size := m.Size() 28201 return m.MarshalToSizedBuffer(dAtA[:size]) 28202 } 28203 28204 func (m *ThresholdIndexSets) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28205 i := len(dAtA) 28206 _ = i 28207 var l int 28208 _ = l 28209 if m.XXX_unrecognized != nil { 28210 i -= len(m.XXX_unrecognized) 28211 copy(dAtA[i:], m.XXX_unrecognized) 28212 } 28213 if len(m.Sets) > 0 { 28214 for iNdEx := len(m.Sets) - 1; iNdEx >= 0; iNdEx-- { 28215 { 28216 size, err := m.Sets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 28217 if err != nil { 28218 return 0, err 28219 } 28220 i -= size 28221 i = encodeVarintTypes(dAtA, i, uint64(size)) 28222 } 28223 i-- 28224 dAtA[i] = 0xa 28225 } 28226 } 28227 return len(dAtA) - i, nil 28228 } 28229 28230 func (m *AccessRequestSpecV3) Marshal() (dAtA []byte, err error) { 28231 size := m.Size() 28232 dAtA = make([]byte, size) 28233 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28234 if err != nil { 28235 return nil, err 28236 } 28237 return dAtA[:n], nil 28238 } 28239 28240 func (m *AccessRequestSpecV3) MarshalTo(dAtA []byte) (int, error) { 28241 size := m.Size() 28242 return m.MarshalToSizedBuffer(dAtA[:size]) 28243 } 28244 28245 func (m *AccessRequestSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28246 i := len(dAtA) 28247 _ = i 28248 var l int 28249 _ = l 28250 if m.XXX_unrecognized != nil { 28251 i -= len(m.XXX_unrecognized) 28252 copy(dAtA[i:], m.XXX_unrecognized) 28253 } 28254 if m.AssumeStartTime != nil { 28255 n128, err128 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.AssumeStartTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.AssumeStartTime):]) 28256 if err128 != nil { 28257 return 0, err128 28258 } 28259 i -= n128 28260 i = encodeVarintTypes(dAtA, i, uint64(n128)) 28261 i-- 28262 dAtA[i] = 0x1 28263 i-- 28264 dAtA[i] = 0xaa 28265 } 28266 if m.AccessList != nil { 28267 { 28268 size, err := m.AccessList.MarshalToSizedBuffer(dAtA[:i]) 28269 if err != nil { 28270 return 0, err 28271 } 28272 i -= size 28273 i = encodeVarintTypes(dAtA, i, uint64(size)) 28274 } 28275 i-- 28276 dAtA[i] = 0x1 28277 i-- 28278 dAtA[i] = 0xa2 28279 } 28280 n130, err130 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.SessionTTL, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.SessionTTL):]) 28281 if err130 != nil { 28282 return 0, err130 28283 } 28284 i -= n130 28285 i = encodeVarintTypes(dAtA, i, uint64(n130)) 28286 i-- 28287 dAtA[i] = 0x1 28288 i-- 28289 dAtA[i] = 0x92 28290 n131, err131 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.MaxDuration, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.MaxDuration):]) 28291 if err131 != nil { 28292 return 0, err131 28293 } 28294 i -= n131 28295 i = encodeVarintTypes(dAtA, i, uint64(n131)) 28296 i-- 28297 dAtA[i] = 0x1 28298 i-- 28299 dAtA[i] = 0x8a 28300 if m.DryRun { 28301 i-- 28302 if m.DryRun { 28303 dAtA[i] = 1 28304 } else { 28305 dAtA[i] = 0 28306 } 28307 i-- 28308 dAtA[i] = 0x1 28309 i-- 28310 dAtA[i] = 0x80 28311 } 28312 if len(m.LoginHint) > 0 { 28313 i -= len(m.LoginHint) 28314 copy(dAtA[i:], m.LoginHint) 28315 i = encodeVarintTypes(dAtA, i, uint64(len(m.LoginHint))) 28316 i-- 28317 dAtA[i] = 0x7a 28318 } 28319 if len(m.RequestedResourceIDs) > 0 { 28320 for iNdEx := len(m.RequestedResourceIDs) - 1; iNdEx >= 0; iNdEx-- { 28321 { 28322 size, err := m.RequestedResourceIDs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 28323 if err != nil { 28324 return 0, err 28325 } 28326 i -= size 28327 i = encodeVarintTypes(dAtA, i, uint64(size)) 28328 } 28329 i-- 28330 dAtA[i] = 0x72 28331 } 28332 } 28333 if len(m.SuggestedReviewers) > 0 { 28334 for iNdEx := len(m.SuggestedReviewers) - 1; iNdEx >= 0; iNdEx-- { 28335 i -= len(m.SuggestedReviewers[iNdEx]) 28336 copy(dAtA[i:], m.SuggestedReviewers[iNdEx]) 28337 i = encodeVarintTypes(dAtA, i, uint64(len(m.SuggestedReviewers[iNdEx]))) 28338 i-- 28339 dAtA[i] = 0x6a 28340 } 28341 } 28342 if len(m.Reviews) > 0 { 28343 for iNdEx := len(m.Reviews) - 1; iNdEx >= 0; iNdEx-- { 28344 { 28345 size, err := m.Reviews[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 28346 if err != nil { 28347 return 0, err 28348 } 28349 i -= size 28350 i = encodeVarintTypes(dAtA, i, uint64(size)) 28351 } 28352 i-- 28353 dAtA[i] = 0x62 28354 } 28355 } 28356 if len(m.RoleThresholdMapping) > 0 { 28357 for k := range m.RoleThresholdMapping { 28358 v := m.RoleThresholdMapping[k] 28359 baseI := i 28360 { 28361 size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) 28362 if err != nil { 28363 return 0, err 28364 } 28365 i -= size 28366 i = encodeVarintTypes(dAtA, i, uint64(size)) 28367 } 28368 i-- 28369 dAtA[i] = 0x12 28370 i -= len(k) 28371 copy(dAtA[i:], k) 28372 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 28373 i-- 28374 dAtA[i] = 0xa 28375 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 28376 i-- 28377 dAtA[i] = 0x5a 28378 } 28379 } 28380 if len(m.Thresholds) > 0 { 28381 for iNdEx := len(m.Thresholds) - 1; iNdEx >= 0; iNdEx-- { 28382 { 28383 size, err := m.Thresholds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 28384 if err != nil { 28385 return 0, err 28386 } 28387 i -= size 28388 i = encodeVarintTypes(dAtA, i, uint64(size)) 28389 } 28390 i-- 28391 dAtA[i] = 0x52 28392 } 28393 } 28394 { 28395 size := m.SystemAnnotations.Size() 28396 i -= size 28397 if _, err := m.SystemAnnotations.MarshalTo(dAtA[i:]); err != nil { 28398 return 0, err 28399 } 28400 i = encodeVarintTypes(dAtA, i, uint64(size)) 28401 } 28402 i-- 28403 dAtA[i] = 0x4a 28404 { 28405 size := m.ResolveAnnotations.Size() 28406 i -= size 28407 if _, err := m.ResolveAnnotations.MarshalTo(dAtA[i:]); err != nil { 28408 return 0, err 28409 } 28410 i = encodeVarintTypes(dAtA, i, uint64(size)) 28411 } 28412 i-- 28413 dAtA[i] = 0x42 28414 if len(m.ResolveReason) > 0 { 28415 i -= len(m.ResolveReason) 28416 copy(dAtA[i:], m.ResolveReason) 28417 i = encodeVarintTypes(dAtA, i, uint64(len(m.ResolveReason))) 28418 i-- 28419 dAtA[i] = 0x3a 28420 } 28421 if len(m.RequestReason) > 0 { 28422 i -= len(m.RequestReason) 28423 copy(dAtA[i:], m.RequestReason) 28424 i = encodeVarintTypes(dAtA, i, uint64(len(m.RequestReason))) 28425 i-- 28426 dAtA[i] = 0x32 28427 } 28428 n135, err135 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires):]) 28429 if err135 != nil { 28430 return 0, err135 28431 } 28432 i -= n135 28433 i = encodeVarintTypes(dAtA, i, uint64(n135)) 28434 i-- 28435 dAtA[i] = 0x2a 28436 n136, err136 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Created, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Created):]) 28437 if err136 != nil { 28438 return 0, err136 28439 } 28440 i -= n136 28441 i = encodeVarintTypes(dAtA, i, uint64(n136)) 28442 i-- 28443 dAtA[i] = 0x22 28444 if m.State != 0 { 28445 i = encodeVarintTypes(dAtA, i, uint64(m.State)) 28446 i-- 28447 dAtA[i] = 0x18 28448 } 28449 if len(m.Roles) > 0 { 28450 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 28451 i -= len(m.Roles[iNdEx]) 28452 copy(dAtA[i:], m.Roles[iNdEx]) 28453 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 28454 i-- 28455 dAtA[i] = 0x12 28456 } 28457 } 28458 if len(m.User) > 0 { 28459 i -= len(m.User) 28460 copy(dAtA[i:], m.User) 28461 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 28462 i-- 28463 dAtA[i] = 0xa 28464 } 28465 return len(dAtA) - i, nil 28466 } 28467 28468 func (m *AccessRequestFilter) Marshal() (dAtA []byte, err error) { 28469 size := m.Size() 28470 dAtA = make([]byte, size) 28471 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28472 if err != nil { 28473 return nil, err 28474 } 28475 return dAtA[:n], nil 28476 } 28477 28478 func (m *AccessRequestFilter) MarshalTo(dAtA []byte) (int, error) { 28479 size := m.Size() 28480 return m.MarshalToSizedBuffer(dAtA[:size]) 28481 } 28482 28483 func (m *AccessRequestFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28484 i := len(dAtA) 28485 _ = i 28486 var l int 28487 _ = l 28488 if m.XXX_unrecognized != nil { 28489 i -= len(m.XXX_unrecognized) 28490 copy(dAtA[i:], m.XXX_unrecognized) 28491 } 28492 if len(m.Requester) > 0 { 28493 i -= len(m.Requester) 28494 copy(dAtA[i:], m.Requester) 28495 i = encodeVarintTypes(dAtA, i, uint64(len(m.Requester))) 28496 i-- 28497 dAtA[i] = 0x32 28498 } 28499 if m.Scope != 0 { 28500 i = encodeVarintTypes(dAtA, i, uint64(m.Scope)) 28501 i-- 28502 dAtA[i] = 0x28 28503 } 28504 if len(m.SearchKeywords) > 0 { 28505 for iNdEx := len(m.SearchKeywords) - 1; iNdEx >= 0; iNdEx-- { 28506 i -= len(m.SearchKeywords[iNdEx]) 28507 copy(dAtA[i:], m.SearchKeywords[iNdEx]) 28508 i = encodeVarintTypes(dAtA, i, uint64(len(m.SearchKeywords[iNdEx]))) 28509 i-- 28510 dAtA[i] = 0x22 28511 } 28512 } 28513 if m.State != 0 { 28514 i = encodeVarintTypes(dAtA, i, uint64(m.State)) 28515 i-- 28516 dAtA[i] = 0x18 28517 } 28518 if len(m.User) > 0 { 28519 i -= len(m.User) 28520 copy(dAtA[i:], m.User) 28521 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 28522 i-- 28523 dAtA[i] = 0x12 28524 } 28525 if len(m.ID) > 0 { 28526 i -= len(m.ID) 28527 copy(dAtA[i:], m.ID) 28528 i = encodeVarintTypes(dAtA, i, uint64(len(m.ID))) 28529 i-- 28530 dAtA[i] = 0xa 28531 } 28532 return len(dAtA) - i, nil 28533 } 28534 28535 func (m *AccessCapabilities) Marshal() (dAtA []byte, err error) { 28536 size := m.Size() 28537 dAtA = make([]byte, size) 28538 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28539 if err != nil { 28540 return nil, err 28541 } 28542 return dAtA[:n], nil 28543 } 28544 28545 func (m *AccessCapabilities) MarshalTo(dAtA []byte) (int, error) { 28546 size := m.Size() 28547 return m.MarshalToSizedBuffer(dAtA[:size]) 28548 } 28549 28550 func (m *AccessCapabilities) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28551 i := len(dAtA) 28552 _ = i 28553 var l int 28554 _ = l 28555 if m.XXX_unrecognized != nil { 28556 i -= len(m.XXX_unrecognized) 28557 copy(dAtA[i:], m.XXX_unrecognized) 28558 } 28559 if m.AutoRequest { 28560 i-- 28561 if m.AutoRequest { 28562 dAtA[i] = 1 28563 } else { 28564 dAtA[i] = 0 28565 } 28566 i-- 28567 dAtA[i] = 0x30 28568 } 28569 if m.RequireReason { 28570 i-- 28571 if m.RequireReason { 28572 dAtA[i] = 1 28573 } else { 28574 dAtA[i] = 0 28575 } 28576 i-- 28577 dAtA[i] = 0x28 28578 } 28579 if len(m.RequestPrompt) > 0 { 28580 i -= len(m.RequestPrompt) 28581 copy(dAtA[i:], m.RequestPrompt) 28582 i = encodeVarintTypes(dAtA, i, uint64(len(m.RequestPrompt))) 28583 i-- 28584 dAtA[i] = 0x22 28585 } 28586 if len(m.ApplicableRolesForResources) > 0 { 28587 for iNdEx := len(m.ApplicableRolesForResources) - 1; iNdEx >= 0; iNdEx-- { 28588 i -= len(m.ApplicableRolesForResources[iNdEx]) 28589 copy(dAtA[i:], m.ApplicableRolesForResources[iNdEx]) 28590 i = encodeVarintTypes(dAtA, i, uint64(len(m.ApplicableRolesForResources[iNdEx]))) 28591 i-- 28592 dAtA[i] = 0x1a 28593 } 28594 } 28595 if len(m.SuggestedReviewers) > 0 { 28596 for iNdEx := len(m.SuggestedReviewers) - 1; iNdEx >= 0; iNdEx-- { 28597 i -= len(m.SuggestedReviewers[iNdEx]) 28598 copy(dAtA[i:], m.SuggestedReviewers[iNdEx]) 28599 i = encodeVarintTypes(dAtA, i, uint64(len(m.SuggestedReviewers[iNdEx]))) 28600 i-- 28601 dAtA[i] = 0x12 28602 } 28603 } 28604 if len(m.RequestableRoles) > 0 { 28605 for iNdEx := len(m.RequestableRoles) - 1; iNdEx >= 0; iNdEx-- { 28606 i -= len(m.RequestableRoles[iNdEx]) 28607 copy(dAtA[i:], m.RequestableRoles[iNdEx]) 28608 i = encodeVarintTypes(dAtA, i, uint64(len(m.RequestableRoles[iNdEx]))) 28609 i-- 28610 dAtA[i] = 0xa 28611 } 28612 } 28613 return len(dAtA) - i, nil 28614 } 28615 28616 func (m *AccessCapabilitiesRequest) Marshal() (dAtA []byte, err error) { 28617 size := m.Size() 28618 dAtA = make([]byte, size) 28619 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28620 if err != nil { 28621 return nil, err 28622 } 28623 return dAtA[:n], nil 28624 } 28625 28626 func (m *AccessCapabilitiesRequest) MarshalTo(dAtA []byte) (int, error) { 28627 size := m.Size() 28628 return m.MarshalToSizedBuffer(dAtA[:size]) 28629 } 28630 28631 func (m *AccessCapabilitiesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28632 i := len(dAtA) 28633 _ = i 28634 var l int 28635 _ = l 28636 if m.XXX_unrecognized != nil { 28637 i -= len(m.XXX_unrecognized) 28638 copy(dAtA[i:], m.XXX_unrecognized) 28639 } 28640 if m.FilterRequestableRolesByResource { 28641 i-- 28642 if m.FilterRequestableRolesByResource { 28643 dAtA[i] = 1 28644 } else { 28645 dAtA[i] = 0 28646 } 28647 i-- 28648 dAtA[i] = 0x30 28649 } 28650 if len(m.Login) > 0 { 28651 i -= len(m.Login) 28652 copy(dAtA[i:], m.Login) 28653 i = encodeVarintTypes(dAtA, i, uint64(len(m.Login))) 28654 i-- 28655 dAtA[i] = 0x2a 28656 } 28657 if len(m.ResourceIDs) > 0 { 28658 for iNdEx := len(m.ResourceIDs) - 1; iNdEx >= 0; iNdEx-- { 28659 { 28660 size, err := m.ResourceIDs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 28661 if err != nil { 28662 return 0, err 28663 } 28664 i -= size 28665 i = encodeVarintTypes(dAtA, i, uint64(size)) 28666 } 28667 i-- 28668 dAtA[i] = 0x22 28669 } 28670 } 28671 if m.SuggestedReviewers { 28672 i-- 28673 if m.SuggestedReviewers { 28674 dAtA[i] = 1 28675 } else { 28676 dAtA[i] = 0 28677 } 28678 i-- 28679 dAtA[i] = 0x18 28680 } 28681 if m.RequestableRoles { 28682 i-- 28683 if m.RequestableRoles { 28684 dAtA[i] = 1 28685 } else { 28686 dAtA[i] = 0 28687 } 28688 i-- 28689 dAtA[i] = 0x10 28690 } 28691 if len(m.User) > 0 { 28692 i -= len(m.User) 28693 copy(dAtA[i:], m.User) 28694 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 28695 i-- 28696 dAtA[i] = 0xa 28697 } 28698 return len(dAtA) - i, nil 28699 } 28700 28701 func (m *ResourceID) Marshal() (dAtA []byte, err error) { 28702 size := m.Size() 28703 dAtA = make([]byte, size) 28704 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28705 if err != nil { 28706 return nil, err 28707 } 28708 return dAtA[:n], nil 28709 } 28710 28711 func (m *ResourceID) MarshalTo(dAtA []byte) (int, error) { 28712 size := m.Size() 28713 return m.MarshalToSizedBuffer(dAtA[:size]) 28714 } 28715 28716 func (m *ResourceID) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28717 i := len(dAtA) 28718 _ = i 28719 var l int 28720 _ = l 28721 if m.XXX_unrecognized != nil { 28722 i -= len(m.XXX_unrecognized) 28723 copy(dAtA[i:], m.XXX_unrecognized) 28724 } 28725 if len(m.SubResourceName) > 0 { 28726 i -= len(m.SubResourceName) 28727 copy(dAtA[i:], m.SubResourceName) 28728 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubResourceName))) 28729 i-- 28730 dAtA[i] = 0x22 28731 } 28732 if len(m.Name) > 0 { 28733 i -= len(m.Name) 28734 copy(dAtA[i:], m.Name) 28735 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 28736 i-- 28737 dAtA[i] = 0x1a 28738 } 28739 if len(m.Kind) > 0 { 28740 i -= len(m.Kind) 28741 copy(dAtA[i:], m.Kind) 28742 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 28743 i-- 28744 dAtA[i] = 0x12 28745 } 28746 if len(m.ClusterName) > 0 { 28747 i -= len(m.ClusterName) 28748 copy(dAtA[i:], m.ClusterName) 28749 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClusterName))) 28750 i-- 28751 dAtA[i] = 0xa 28752 } 28753 return len(dAtA) - i, nil 28754 } 28755 28756 func (m *PluginDataV3) Marshal() (dAtA []byte, err error) { 28757 size := m.Size() 28758 dAtA = make([]byte, size) 28759 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28760 if err != nil { 28761 return nil, err 28762 } 28763 return dAtA[:n], nil 28764 } 28765 28766 func (m *PluginDataV3) MarshalTo(dAtA []byte) (int, error) { 28767 size := m.Size() 28768 return m.MarshalToSizedBuffer(dAtA[:size]) 28769 } 28770 28771 func (m *PluginDataV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28772 i := len(dAtA) 28773 _ = i 28774 var l int 28775 _ = l 28776 if m.XXX_unrecognized != nil { 28777 i -= len(m.XXX_unrecognized) 28778 copy(dAtA[i:], m.XXX_unrecognized) 28779 } 28780 { 28781 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 28782 if err != nil { 28783 return 0, err 28784 } 28785 i -= size 28786 i = encodeVarintTypes(dAtA, i, uint64(size)) 28787 } 28788 i-- 28789 dAtA[i] = 0x2a 28790 { 28791 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 28792 if err != nil { 28793 return 0, err 28794 } 28795 i -= size 28796 i = encodeVarintTypes(dAtA, i, uint64(size)) 28797 } 28798 i-- 28799 dAtA[i] = 0x22 28800 if len(m.Version) > 0 { 28801 i -= len(m.Version) 28802 copy(dAtA[i:], m.Version) 28803 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 28804 i-- 28805 dAtA[i] = 0x1a 28806 } 28807 if len(m.SubKind) > 0 { 28808 i -= len(m.SubKind) 28809 copy(dAtA[i:], m.SubKind) 28810 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 28811 i-- 28812 dAtA[i] = 0x12 28813 } 28814 if len(m.Kind) > 0 { 28815 i -= len(m.Kind) 28816 copy(dAtA[i:], m.Kind) 28817 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 28818 i-- 28819 dAtA[i] = 0xa 28820 } 28821 return len(dAtA) - i, nil 28822 } 28823 28824 func (m *PluginDataEntry) Marshal() (dAtA []byte, err error) { 28825 size := m.Size() 28826 dAtA = make([]byte, size) 28827 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28828 if err != nil { 28829 return nil, err 28830 } 28831 return dAtA[:n], nil 28832 } 28833 28834 func (m *PluginDataEntry) MarshalTo(dAtA []byte) (int, error) { 28835 size := m.Size() 28836 return m.MarshalToSizedBuffer(dAtA[:size]) 28837 } 28838 28839 func (m *PluginDataEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28840 i := len(dAtA) 28841 _ = i 28842 var l int 28843 _ = l 28844 if m.XXX_unrecognized != nil { 28845 i -= len(m.XXX_unrecognized) 28846 copy(dAtA[i:], m.XXX_unrecognized) 28847 } 28848 if len(m.Data) > 0 { 28849 for k := range m.Data { 28850 v := m.Data[k] 28851 baseI := i 28852 i -= len(v) 28853 copy(dAtA[i:], v) 28854 i = encodeVarintTypes(dAtA, i, uint64(len(v))) 28855 i-- 28856 dAtA[i] = 0x12 28857 i -= len(k) 28858 copy(dAtA[i:], k) 28859 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 28860 i-- 28861 dAtA[i] = 0xa 28862 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 28863 i-- 28864 dAtA[i] = 0xa 28865 } 28866 } 28867 return len(dAtA) - i, nil 28868 } 28869 28870 func (m *PluginDataSpecV3) Marshal() (dAtA []byte, err error) { 28871 size := m.Size() 28872 dAtA = make([]byte, size) 28873 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28874 if err != nil { 28875 return nil, err 28876 } 28877 return dAtA[:n], nil 28878 } 28879 28880 func (m *PluginDataSpecV3) MarshalTo(dAtA []byte) (int, error) { 28881 size := m.Size() 28882 return m.MarshalToSizedBuffer(dAtA[:size]) 28883 } 28884 28885 func (m *PluginDataSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28886 i := len(dAtA) 28887 _ = i 28888 var l int 28889 _ = l 28890 if m.XXX_unrecognized != nil { 28891 i -= len(m.XXX_unrecognized) 28892 copy(dAtA[i:], m.XXX_unrecognized) 28893 } 28894 if len(m.Entries) > 0 { 28895 for k := range m.Entries { 28896 v := m.Entries[k] 28897 baseI := i 28898 if v != nil { 28899 { 28900 size, err := v.MarshalToSizedBuffer(dAtA[:i]) 28901 if err != nil { 28902 return 0, err 28903 } 28904 i -= size 28905 i = encodeVarintTypes(dAtA, i, uint64(size)) 28906 } 28907 i-- 28908 dAtA[i] = 0x12 28909 } 28910 i -= len(k) 28911 copy(dAtA[i:], k) 28912 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 28913 i-- 28914 dAtA[i] = 0xa 28915 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 28916 i-- 28917 dAtA[i] = 0xa 28918 } 28919 } 28920 return len(dAtA) - i, nil 28921 } 28922 28923 func (m *PluginDataFilter) Marshal() (dAtA []byte, err error) { 28924 size := m.Size() 28925 dAtA = make([]byte, size) 28926 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28927 if err != nil { 28928 return nil, err 28929 } 28930 return dAtA[:n], nil 28931 } 28932 28933 func (m *PluginDataFilter) MarshalTo(dAtA []byte) (int, error) { 28934 size := m.Size() 28935 return m.MarshalToSizedBuffer(dAtA[:size]) 28936 } 28937 28938 func (m *PluginDataFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28939 i := len(dAtA) 28940 _ = i 28941 var l int 28942 _ = l 28943 if m.XXX_unrecognized != nil { 28944 i -= len(m.XXX_unrecognized) 28945 copy(dAtA[i:], m.XXX_unrecognized) 28946 } 28947 if len(m.Plugin) > 0 { 28948 i -= len(m.Plugin) 28949 copy(dAtA[i:], m.Plugin) 28950 i = encodeVarintTypes(dAtA, i, uint64(len(m.Plugin))) 28951 i-- 28952 dAtA[i] = 0x1a 28953 } 28954 if len(m.Resource) > 0 { 28955 i -= len(m.Resource) 28956 copy(dAtA[i:], m.Resource) 28957 i = encodeVarintTypes(dAtA, i, uint64(len(m.Resource))) 28958 i-- 28959 dAtA[i] = 0x12 28960 } 28961 if len(m.Kind) > 0 { 28962 i -= len(m.Kind) 28963 copy(dAtA[i:], m.Kind) 28964 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 28965 i-- 28966 dAtA[i] = 0xa 28967 } 28968 return len(dAtA) - i, nil 28969 } 28970 28971 func (m *PluginDataUpdateParams) Marshal() (dAtA []byte, err error) { 28972 size := m.Size() 28973 dAtA = make([]byte, size) 28974 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28975 if err != nil { 28976 return nil, err 28977 } 28978 return dAtA[:n], nil 28979 } 28980 28981 func (m *PluginDataUpdateParams) MarshalTo(dAtA []byte) (int, error) { 28982 size := m.Size() 28983 return m.MarshalToSizedBuffer(dAtA[:size]) 28984 } 28985 28986 func (m *PluginDataUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28987 i := len(dAtA) 28988 _ = i 28989 var l int 28990 _ = l 28991 if m.XXX_unrecognized != nil { 28992 i -= len(m.XXX_unrecognized) 28993 copy(dAtA[i:], m.XXX_unrecognized) 28994 } 28995 if len(m.Expect) > 0 { 28996 for k := range m.Expect { 28997 v := m.Expect[k] 28998 baseI := i 28999 i -= len(v) 29000 copy(dAtA[i:], v) 29001 i = encodeVarintTypes(dAtA, i, uint64(len(v))) 29002 i-- 29003 dAtA[i] = 0x12 29004 i -= len(k) 29005 copy(dAtA[i:], k) 29006 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 29007 i-- 29008 dAtA[i] = 0xa 29009 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 29010 i-- 29011 dAtA[i] = 0x2a 29012 } 29013 } 29014 if len(m.Set) > 0 { 29015 for k := range m.Set { 29016 v := m.Set[k] 29017 baseI := i 29018 i -= len(v) 29019 copy(dAtA[i:], v) 29020 i = encodeVarintTypes(dAtA, i, uint64(len(v))) 29021 i-- 29022 dAtA[i] = 0x12 29023 i -= len(k) 29024 copy(dAtA[i:], k) 29025 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 29026 i-- 29027 dAtA[i] = 0xa 29028 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 29029 i-- 29030 dAtA[i] = 0x22 29031 } 29032 } 29033 if len(m.Plugin) > 0 { 29034 i -= len(m.Plugin) 29035 copy(dAtA[i:], m.Plugin) 29036 i = encodeVarintTypes(dAtA, i, uint64(len(m.Plugin))) 29037 i-- 29038 dAtA[i] = 0x1a 29039 } 29040 if len(m.Resource) > 0 { 29041 i -= len(m.Resource) 29042 copy(dAtA[i:], m.Resource) 29043 i = encodeVarintTypes(dAtA, i, uint64(len(m.Resource))) 29044 i-- 29045 dAtA[i] = 0x12 29046 } 29047 if len(m.Kind) > 0 { 29048 i -= len(m.Kind) 29049 copy(dAtA[i:], m.Kind) 29050 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 29051 i-- 29052 dAtA[i] = 0xa 29053 } 29054 return len(dAtA) - i, nil 29055 } 29056 29057 func (m *RoleFilter) Marshal() (dAtA []byte, err error) { 29058 size := m.Size() 29059 dAtA = make([]byte, size) 29060 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29061 if err != nil { 29062 return nil, err 29063 } 29064 return dAtA[:n], nil 29065 } 29066 29067 func (m *RoleFilter) MarshalTo(dAtA []byte) (int, error) { 29068 size := m.Size() 29069 return m.MarshalToSizedBuffer(dAtA[:size]) 29070 } 29071 29072 func (m *RoleFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29073 i := len(dAtA) 29074 _ = i 29075 var l int 29076 _ = l 29077 if m.XXX_unrecognized != nil { 29078 i -= len(m.XXX_unrecognized) 29079 copy(dAtA[i:], m.XXX_unrecognized) 29080 } 29081 if m.SkipSystemRoles { 29082 i-- 29083 if m.SkipSystemRoles { 29084 dAtA[i] = 1 29085 } else { 29086 dAtA[i] = 0 29087 } 29088 i-- 29089 dAtA[i] = 0x10 29090 } 29091 if len(m.SearchKeywords) > 0 { 29092 for iNdEx := len(m.SearchKeywords) - 1; iNdEx >= 0; iNdEx-- { 29093 i -= len(m.SearchKeywords[iNdEx]) 29094 copy(dAtA[i:], m.SearchKeywords[iNdEx]) 29095 i = encodeVarintTypes(dAtA, i, uint64(len(m.SearchKeywords[iNdEx]))) 29096 i-- 29097 dAtA[i] = 0xa 29098 } 29099 } 29100 return len(dAtA) - i, nil 29101 } 29102 29103 func (m *RoleV6) Marshal() (dAtA []byte, err error) { 29104 size := m.Size() 29105 dAtA = make([]byte, size) 29106 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29107 if err != nil { 29108 return nil, err 29109 } 29110 return dAtA[:n], nil 29111 } 29112 29113 func (m *RoleV6) MarshalTo(dAtA []byte) (int, error) { 29114 size := m.Size() 29115 return m.MarshalToSizedBuffer(dAtA[:size]) 29116 } 29117 29118 func (m *RoleV6) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29119 i := len(dAtA) 29120 _ = i 29121 var l int 29122 _ = l 29123 if m.XXX_unrecognized != nil { 29124 i -= len(m.XXX_unrecognized) 29125 copy(dAtA[i:], m.XXX_unrecognized) 29126 } 29127 { 29128 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 29129 if err != nil { 29130 return 0, err 29131 } 29132 i -= size 29133 i = encodeVarintTypes(dAtA, i, uint64(size)) 29134 } 29135 i-- 29136 dAtA[i] = 0x2a 29137 { 29138 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 29139 if err != nil { 29140 return 0, err 29141 } 29142 i -= size 29143 i = encodeVarintTypes(dAtA, i, uint64(size)) 29144 } 29145 i-- 29146 dAtA[i] = 0x22 29147 if len(m.Version) > 0 { 29148 i -= len(m.Version) 29149 copy(dAtA[i:], m.Version) 29150 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 29151 i-- 29152 dAtA[i] = 0x1a 29153 } 29154 if len(m.SubKind) > 0 { 29155 i -= len(m.SubKind) 29156 copy(dAtA[i:], m.SubKind) 29157 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 29158 i-- 29159 dAtA[i] = 0x12 29160 } 29161 if len(m.Kind) > 0 { 29162 i -= len(m.Kind) 29163 copy(dAtA[i:], m.Kind) 29164 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 29165 i-- 29166 dAtA[i] = 0xa 29167 } 29168 return len(dAtA) - i, nil 29169 } 29170 29171 func (m *RoleSpecV6) Marshal() (dAtA []byte, err error) { 29172 size := m.Size() 29173 dAtA = make([]byte, size) 29174 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29175 if err != nil { 29176 return nil, err 29177 } 29178 return dAtA[:n], nil 29179 } 29180 29181 func (m *RoleSpecV6) MarshalTo(dAtA []byte) (int, error) { 29182 size := m.Size() 29183 return m.MarshalToSizedBuffer(dAtA[:size]) 29184 } 29185 29186 func (m *RoleSpecV6) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29187 i := len(dAtA) 29188 _ = i 29189 var l int 29190 _ = l 29191 if m.XXX_unrecognized != nil { 29192 i -= len(m.XXX_unrecognized) 29193 copy(dAtA[i:], m.XXX_unrecognized) 29194 } 29195 { 29196 size, err := m.Deny.MarshalToSizedBuffer(dAtA[:i]) 29197 if err != nil { 29198 return 0, err 29199 } 29200 i -= size 29201 i = encodeVarintTypes(dAtA, i, uint64(size)) 29202 } 29203 i-- 29204 dAtA[i] = 0x1a 29205 { 29206 size, err := m.Allow.MarshalToSizedBuffer(dAtA[:i]) 29207 if err != nil { 29208 return 0, err 29209 } 29210 i -= size 29211 i = encodeVarintTypes(dAtA, i, uint64(size)) 29212 } 29213 i-- 29214 dAtA[i] = 0x12 29215 { 29216 size, err := m.Options.MarshalToSizedBuffer(dAtA[:i]) 29217 if err != nil { 29218 return 0, err 29219 } 29220 i -= size 29221 i = encodeVarintTypes(dAtA, i, uint64(size)) 29222 } 29223 i-- 29224 dAtA[i] = 0xa 29225 return len(dAtA) - i, nil 29226 } 29227 29228 func (m *RoleOptions) Marshal() (dAtA []byte, err error) { 29229 size := m.Size() 29230 dAtA = make([]byte, size) 29231 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29232 if err != nil { 29233 return nil, err 29234 } 29235 return dAtA[:n], nil 29236 } 29237 29238 func (m *RoleOptions) MarshalTo(dAtA []byte) (int, error) { 29239 size := m.Size() 29240 return m.MarshalToSizedBuffer(dAtA[:size]) 29241 } 29242 29243 func (m *RoleOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29244 i := len(dAtA) 29245 _ = i 29246 var l int 29247 _ = l 29248 if m.XXX_unrecognized != nil { 29249 i -= len(m.XXX_unrecognized) 29250 copy(dAtA[i:], m.XXX_unrecognized) 29251 } 29252 if m.CreateDatabaseUserMode != 0 { 29253 i = encodeVarintTypes(dAtA, i, uint64(m.CreateDatabaseUserMode)) 29254 i-- 29255 dAtA[i] = 0x1 29256 i-- 29257 dAtA[i] = 0xe8 29258 } 29259 if m.CreateHostUserMode != 0 { 29260 i = encodeVarintTypes(dAtA, i, uint64(m.CreateHostUserMode)) 29261 i-- 29262 dAtA[i] = 0x1 29263 i-- 29264 dAtA[i] = 0xe0 29265 } 29266 if m.CreateDatabaseUser != nil { 29267 { 29268 size := m.CreateDatabaseUser.Size() 29269 i -= size 29270 if _, err := m.CreateDatabaseUser.MarshalTo(dAtA[i:]); err != nil { 29271 return 0, err 29272 } 29273 i = encodeVarintTypes(dAtA, i, uint64(size)) 29274 } 29275 i-- 29276 dAtA[i] = 0x1 29277 i-- 29278 dAtA[i] = 0xda 29279 } 29280 if m.CreateDesktopUser != nil { 29281 { 29282 size := m.CreateDesktopUser.Size() 29283 i -= size 29284 if _, err := m.CreateDesktopUser.MarshalTo(dAtA[i:]); err != nil { 29285 return 0, err 29286 } 29287 i = encodeVarintTypes(dAtA, i, uint64(size)) 29288 } 29289 i-- 29290 dAtA[i] = 0x1 29291 i-- 29292 dAtA[i] = 0xd2 29293 } 29294 if m.IDP != nil { 29295 { 29296 size, err := m.IDP.MarshalToSizedBuffer(dAtA[:i]) 29297 if err != nil { 29298 return 0, err 29299 } 29300 i -= size 29301 i = encodeVarintTypes(dAtA, i, uint64(size)) 29302 } 29303 i-- 29304 dAtA[i] = 0x1 29305 i-- 29306 dAtA[i] = 0xca 29307 } 29308 if len(m.DeviceTrustMode) > 0 { 29309 i -= len(m.DeviceTrustMode) 29310 copy(dAtA[i:], m.DeviceTrustMode) 29311 i = encodeVarintTypes(dAtA, i, uint64(len(m.DeviceTrustMode))) 29312 i-- 29313 dAtA[i] = 0x1 29314 i-- 29315 dAtA[i] = 0xc2 29316 } 29317 if m.RequireMFAType != 0 { 29318 i = encodeVarintTypes(dAtA, i, uint64(m.RequireMFAType)) 29319 i-- 29320 dAtA[i] = 0x1 29321 i-- 29322 dAtA[i] = 0xb8 29323 } 29324 if m.SSHFileCopy != nil { 29325 { 29326 size := m.SSHFileCopy.Size() 29327 i -= size 29328 if _, err := m.SSHFileCopy.MarshalTo(dAtA[i:]); err != nil { 29329 return 0, err 29330 } 29331 i = encodeVarintTypes(dAtA, i, uint64(size)) 29332 } 29333 i-- 29334 dAtA[i] = 0x1 29335 i-- 29336 dAtA[i] = 0xb2 29337 } 29338 if m.PinSourceIP { 29339 i-- 29340 if m.PinSourceIP { 29341 dAtA[i] = 1 29342 } else { 29343 dAtA[i] = 0 29344 } 29345 i-- 29346 dAtA[i] = 0x1 29347 i-- 29348 dAtA[i] = 0xa8 29349 } 29350 if m.CreateHostUser != nil { 29351 { 29352 size := m.CreateHostUser.Size() 29353 i -= size 29354 if _, err := m.CreateHostUser.MarshalTo(dAtA[i:]); err != nil { 29355 return 0, err 29356 } 29357 i = encodeVarintTypes(dAtA, i, uint64(size)) 29358 } 29359 i-- 29360 dAtA[i] = 0x1 29361 i-- 29362 dAtA[i] = 0xa2 29363 } 29364 if m.DesktopDirectorySharing != nil { 29365 { 29366 size := m.DesktopDirectorySharing.Size() 29367 i -= size 29368 if _, err := m.DesktopDirectorySharing.MarshalTo(dAtA[i:]); err != nil { 29369 return 0, err 29370 } 29371 i = encodeVarintTypes(dAtA, i, uint64(size)) 29372 } 29373 i-- 29374 dAtA[i] = 0x1 29375 i-- 29376 dAtA[i] = 0x9a 29377 } 29378 if m.MaxKubernetesConnections != 0 { 29379 i = encodeVarintTypes(dAtA, i, uint64(m.MaxKubernetesConnections)) 29380 i-- 29381 dAtA[i] = 0x1 29382 i-- 29383 dAtA[i] = 0x90 29384 } 29385 if len(m.CertExtensions) > 0 { 29386 for iNdEx := len(m.CertExtensions) - 1; iNdEx >= 0; iNdEx-- { 29387 { 29388 size, err := m.CertExtensions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 29389 if err != nil { 29390 return 0, err 29391 } 29392 i -= size 29393 i = encodeVarintTypes(dAtA, i, uint64(size)) 29394 } 29395 i-- 29396 dAtA[i] = 0x1 29397 i-- 29398 dAtA[i] = 0x8a 29399 } 29400 } 29401 if m.DesktopClipboard != nil { 29402 { 29403 size := m.DesktopClipboard.Size() 29404 i -= size 29405 if _, err := m.DesktopClipboard.MarshalTo(dAtA[i:]); err != nil { 29406 return 0, err 29407 } 29408 i = encodeVarintTypes(dAtA, i, uint64(size)) 29409 } 29410 i-- 29411 dAtA[i] = 0x1 29412 i-- 29413 dAtA[i] = 0x82 29414 } 29415 if m.RecordSession != nil { 29416 { 29417 size, err := m.RecordSession.MarshalToSizedBuffer(dAtA[:i]) 29418 if err != nil { 29419 return 0, err 29420 } 29421 i -= size 29422 i = encodeVarintTypes(dAtA, i, uint64(size)) 29423 } 29424 i-- 29425 dAtA[i] = 0x7a 29426 } 29427 if len(m.Lock) > 0 { 29428 i -= len(m.Lock) 29429 copy(dAtA[i:], m.Lock) 29430 i = encodeVarintTypes(dAtA, i, uint64(len(m.Lock))) 29431 i-- 29432 dAtA[i] = 0x72 29433 } 29434 if len(m.RequestPrompt) > 0 { 29435 i -= len(m.RequestPrompt) 29436 copy(dAtA[i:], m.RequestPrompt) 29437 i = encodeVarintTypes(dAtA, i, uint64(len(m.RequestPrompt))) 29438 i-- 29439 dAtA[i] = 0x62 29440 } 29441 if len(m.RequestAccess) > 0 { 29442 i -= len(m.RequestAccess) 29443 copy(dAtA[i:], m.RequestAccess) 29444 i = encodeVarintTypes(dAtA, i, uint64(len(m.RequestAccess))) 29445 i-- 29446 dAtA[i] = 0x5a 29447 } 29448 if m.MaxSessions != 0 { 29449 i = encodeVarintTypes(dAtA, i, uint64(m.MaxSessions)) 29450 i-- 29451 dAtA[i] = 0x50 29452 } 29453 if m.MaxConnections != 0 { 29454 i = encodeVarintTypes(dAtA, i, uint64(m.MaxConnections)) 29455 i-- 29456 dAtA[i] = 0x48 29457 } 29458 if m.PermitX11Forwarding { 29459 i-- 29460 if m.PermitX11Forwarding { 29461 dAtA[i] = 1 29462 } else { 29463 dAtA[i] = 0 29464 } 29465 i-- 29466 dAtA[i] = 0x40 29467 } 29468 if len(m.BPF) > 0 { 29469 for iNdEx := len(m.BPF) - 1; iNdEx >= 0; iNdEx-- { 29470 i -= len(m.BPF[iNdEx]) 29471 copy(dAtA[i:], m.BPF[iNdEx]) 29472 i = encodeVarintTypes(dAtA, i, uint64(len(m.BPF[iNdEx]))) 29473 i-- 29474 dAtA[i] = 0x3a 29475 } 29476 } 29477 if m.DisconnectExpiredCert { 29478 i-- 29479 if m.DisconnectExpiredCert { 29480 dAtA[i] = 1 29481 } else { 29482 dAtA[i] = 0 29483 } 29484 i-- 29485 dAtA[i] = 0x30 29486 } 29487 if m.ClientIdleTimeout != 0 { 29488 i = encodeVarintTypes(dAtA, i, uint64(m.ClientIdleTimeout)) 29489 i-- 29490 dAtA[i] = 0x28 29491 } 29492 if len(m.CertificateFormat) > 0 { 29493 i -= len(m.CertificateFormat) 29494 copy(dAtA[i:], m.CertificateFormat) 29495 i = encodeVarintTypes(dAtA, i, uint64(len(m.CertificateFormat))) 29496 i-- 29497 dAtA[i] = 0x22 29498 } 29499 if m.PortForwarding != nil { 29500 { 29501 size := m.PortForwarding.Size() 29502 i -= size 29503 if _, err := m.PortForwarding.MarshalTo(dAtA[i:]); err != nil { 29504 return 0, err 29505 } 29506 i = encodeVarintTypes(dAtA, i, uint64(size)) 29507 } 29508 i-- 29509 dAtA[i] = 0x1a 29510 } 29511 if m.MaxSessionTTL != 0 { 29512 i = encodeVarintTypes(dAtA, i, uint64(m.MaxSessionTTL)) 29513 i-- 29514 dAtA[i] = 0x10 29515 } 29516 if m.ForwardAgent { 29517 i-- 29518 if m.ForwardAgent { 29519 dAtA[i] = 1 29520 } else { 29521 dAtA[i] = 0 29522 } 29523 i-- 29524 dAtA[i] = 0x8 29525 } 29526 return len(dAtA) - i, nil 29527 } 29528 29529 func (m *RecordSession) Marshal() (dAtA []byte, err error) { 29530 size := m.Size() 29531 dAtA = make([]byte, size) 29532 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29533 if err != nil { 29534 return nil, err 29535 } 29536 return dAtA[:n], nil 29537 } 29538 29539 func (m *RecordSession) MarshalTo(dAtA []byte) (int, error) { 29540 size := m.Size() 29541 return m.MarshalToSizedBuffer(dAtA[:size]) 29542 } 29543 29544 func (m *RecordSession) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29545 i := len(dAtA) 29546 _ = i 29547 var l int 29548 _ = l 29549 if m.XXX_unrecognized != nil { 29550 i -= len(m.XXX_unrecognized) 29551 copy(dAtA[i:], m.XXX_unrecognized) 29552 } 29553 if len(m.SSH) > 0 { 29554 i -= len(m.SSH) 29555 copy(dAtA[i:], m.SSH) 29556 i = encodeVarintTypes(dAtA, i, uint64(len(m.SSH))) 29557 i-- 29558 dAtA[i] = 0x1a 29559 } 29560 if len(m.Default) > 0 { 29561 i -= len(m.Default) 29562 copy(dAtA[i:], m.Default) 29563 i = encodeVarintTypes(dAtA, i, uint64(len(m.Default))) 29564 i-- 29565 dAtA[i] = 0x12 29566 } 29567 if m.Desktop != nil { 29568 { 29569 size := m.Desktop.Size() 29570 i -= size 29571 if _, err := m.Desktop.MarshalTo(dAtA[i:]); err != nil { 29572 return 0, err 29573 } 29574 i = encodeVarintTypes(dAtA, i, uint64(size)) 29575 } 29576 i-- 29577 dAtA[i] = 0xa 29578 } 29579 return len(dAtA) - i, nil 29580 } 29581 29582 func (m *CertExtension) Marshal() (dAtA []byte, err error) { 29583 size := m.Size() 29584 dAtA = make([]byte, size) 29585 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29586 if err != nil { 29587 return nil, err 29588 } 29589 return dAtA[:n], nil 29590 } 29591 29592 func (m *CertExtension) MarshalTo(dAtA []byte) (int, error) { 29593 size := m.Size() 29594 return m.MarshalToSizedBuffer(dAtA[:size]) 29595 } 29596 29597 func (m *CertExtension) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29598 i := len(dAtA) 29599 _ = i 29600 var l int 29601 _ = l 29602 if m.XXX_unrecognized != nil { 29603 i -= len(m.XXX_unrecognized) 29604 copy(dAtA[i:], m.XXX_unrecognized) 29605 } 29606 if len(m.Value) > 0 { 29607 i -= len(m.Value) 29608 copy(dAtA[i:], m.Value) 29609 i = encodeVarintTypes(dAtA, i, uint64(len(m.Value))) 29610 i-- 29611 dAtA[i] = 0x22 29612 } 29613 if len(m.Name) > 0 { 29614 i -= len(m.Name) 29615 copy(dAtA[i:], m.Name) 29616 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 29617 i-- 29618 dAtA[i] = 0x1a 29619 } 29620 if m.Mode != 0 { 29621 i = encodeVarintTypes(dAtA, i, uint64(m.Mode)) 29622 i-- 29623 dAtA[i] = 0x10 29624 } 29625 if m.Type != 0 { 29626 i = encodeVarintTypes(dAtA, i, uint64(m.Type)) 29627 i-- 29628 dAtA[i] = 0x8 29629 } 29630 return len(dAtA) - i, nil 29631 } 29632 29633 func (m *RoleConditions) Marshal() (dAtA []byte, err error) { 29634 size := m.Size() 29635 dAtA = make([]byte, size) 29636 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29637 if err != nil { 29638 return nil, err 29639 } 29640 return dAtA[:n], nil 29641 } 29642 29643 func (m *RoleConditions) MarshalTo(dAtA []byte) (int, error) { 29644 size := m.Size() 29645 return m.MarshalToSizedBuffer(dAtA[:size]) 29646 } 29647 29648 func (m *RoleConditions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29649 i := len(dAtA) 29650 _ = i 29651 var l int 29652 _ = l 29653 if m.XXX_unrecognized != nil { 29654 i -= len(m.XXX_unrecognized) 29655 copy(dAtA[i:], m.XXX_unrecognized) 29656 } 29657 if len(m.SPIFFE) > 0 { 29658 for iNdEx := len(m.SPIFFE) - 1; iNdEx >= 0; iNdEx-- { 29659 { 29660 size, err := m.SPIFFE[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 29661 if err != nil { 29662 return 0, err 29663 } 29664 i -= size 29665 i = encodeVarintTypes(dAtA, i, uint64(size)) 29666 } 29667 i-- 29668 dAtA[i] = 0x2 29669 i-- 29670 dAtA[i] = 0xba 29671 } 29672 } 29673 if len(m.DatabasePermissions) > 0 { 29674 for iNdEx := len(m.DatabasePermissions) - 1; iNdEx >= 0; iNdEx-- { 29675 { 29676 size, err := m.DatabasePermissions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 29677 if err != nil { 29678 return 0, err 29679 } 29680 i -= size 29681 i = encodeVarintTypes(dAtA, i, uint64(size)) 29682 } 29683 i-- 29684 dAtA[i] = 0x2 29685 i-- 29686 dAtA[i] = 0xb2 29687 } 29688 } 29689 if len(m.GroupLabelsExpression) > 0 { 29690 i -= len(m.GroupLabelsExpression) 29691 copy(dAtA[i:], m.GroupLabelsExpression) 29692 i = encodeVarintTypes(dAtA, i, uint64(len(m.GroupLabelsExpression))) 29693 i-- 29694 dAtA[i] = 0x2 29695 i-- 29696 dAtA[i] = 0xaa 29697 } 29698 if len(m.WindowsDesktopLabelsExpression) > 0 { 29699 i -= len(m.WindowsDesktopLabelsExpression) 29700 copy(dAtA[i:], m.WindowsDesktopLabelsExpression) 29701 i = encodeVarintTypes(dAtA, i, uint64(len(m.WindowsDesktopLabelsExpression))) 29702 i-- 29703 dAtA[i] = 0x2 29704 i-- 29705 dAtA[i] = 0xa2 29706 } 29707 if len(m.DatabaseServiceLabelsExpression) > 0 { 29708 i -= len(m.DatabaseServiceLabelsExpression) 29709 copy(dAtA[i:], m.DatabaseServiceLabelsExpression) 29710 i = encodeVarintTypes(dAtA, i, uint64(len(m.DatabaseServiceLabelsExpression))) 29711 i-- 29712 dAtA[i] = 0x2 29713 i-- 29714 dAtA[i] = 0x9a 29715 } 29716 if len(m.DatabaseLabelsExpression) > 0 { 29717 i -= len(m.DatabaseLabelsExpression) 29718 copy(dAtA[i:], m.DatabaseLabelsExpression) 29719 i = encodeVarintTypes(dAtA, i, uint64(len(m.DatabaseLabelsExpression))) 29720 i-- 29721 dAtA[i] = 0x2 29722 i-- 29723 dAtA[i] = 0x92 29724 } 29725 if len(m.KubernetesLabelsExpression) > 0 { 29726 i -= len(m.KubernetesLabelsExpression) 29727 copy(dAtA[i:], m.KubernetesLabelsExpression) 29728 i = encodeVarintTypes(dAtA, i, uint64(len(m.KubernetesLabelsExpression))) 29729 i-- 29730 dAtA[i] = 0x2 29731 i-- 29732 dAtA[i] = 0x8a 29733 } 29734 if len(m.ClusterLabelsExpression) > 0 { 29735 i -= len(m.ClusterLabelsExpression) 29736 copy(dAtA[i:], m.ClusterLabelsExpression) 29737 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClusterLabelsExpression))) 29738 i-- 29739 dAtA[i] = 0x2 29740 i-- 29741 dAtA[i] = 0x82 29742 } 29743 if len(m.AppLabelsExpression) > 0 { 29744 i -= len(m.AppLabelsExpression) 29745 copy(dAtA[i:], m.AppLabelsExpression) 29746 i = encodeVarintTypes(dAtA, i, uint64(len(m.AppLabelsExpression))) 29747 i-- 29748 dAtA[i] = 0x1 29749 i-- 29750 dAtA[i] = 0xfa 29751 } 29752 if len(m.NodeLabelsExpression) > 0 { 29753 i -= len(m.NodeLabelsExpression) 29754 copy(dAtA[i:], m.NodeLabelsExpression) 29755 i = encodeVarintTypes(dAtA, i, uint64(len(m.NodeLabelsExpression))) 29756 i-- 29757 dAtA[i] = 0x1 29758 i-- 29759 dAtA[i] = 0xf2 29760 } 29761 if len(m.DatabaseRoles) > 0 { 29762 for iNdEx := len(m.DatabaseRoles) - 1; iNdEx >= 0; iNdEx-- { 29763 i -= len(m.DatabaseRoles[iNdEx]) 29764 copy(dAtA[i:], m.DatabaseRoles[iNdEx]) 29765 i = encodeVarintTypes(dAtA, i, uint64(len(m.DatabaseRoles[iNdEx]))) 29766 i-- 29767 dAtA[i] = 0x1 29768 i-- 29769 dAtA[i] = 0xea 29770 } 29771 } 29772 if len(m.DesktopGroups) > 0 { 29773 for iNdEx := len(m.DesktopGroups) - 1; iNdEx >= 0; iNdEx-- { 29774 i -= len(m.DesktopGroups[iNdEx]) 29775 copy(dAtA[i:], m.DesktopGroups[iNdEx]) 29776 i = encodeVarintTypes(dAtA, i, uint64(len(m.DesktopGroups[iNdEx]))) 29777 i-- 29778 dAtA[i] = 0x1 29779 i-- 29780 dAtA[i] = 0xe2 29781 } 29782 } 29783 { 29784 size := m.GroupLabels.Size() 29785 i -= size 29786 if _, err := m.GroupLabels.MarshalTo(dAtA[i:]); err != nil { 29787 return 0, err 29788 } 29789 i = encodeVarintTypes(dAtA, i, uint64(size)) 29790 } 29791 i-- 29792 dAtA[i] = 0x1 29793 i-- 29794 dAtA[i] = 0xda 29795 { 29796 size := m.DatabaseServiceLabels.Size() 29797 i -= size 29798 if _, err := m.DatabaseServiceLabels.MarshalTo(dAtA[i:]); err != nil { 29799 return 0, err 29800 } 29801 i = encodeVarintTypes(dAtA, i, uint64(size)) 29802 } 29803 i-- 29804 dAtA[i] = 0x1 29805 i-- 29806 dAtA[i] = 0xd2 29807 if len(m.GCPServiceAccounts) > 0 { 29808 for iNdEx := len(m.GCPServiceAccounts) - 1; iNdEx >= 0; iNdEx-- { 29809 i -= len(m.GCPServiceAccounts[iNdEx]) 29810 copy(dAtA[i:], m.GCPServiceAccounts[iNdEx]) 29811 i = encodeVarintTypes(dAtA, i, uint64(len(m.GCPServiceAccounts[iNdEx]))) 29812 i-- 29813 dAtA[i] = 0x1 29814 i-- 29815 dAtA[i] = 0xca 29816 } 29817 } 29818 if len(m.KubernetesResources) > 0 { 29819 for iNdEx := len(m.KubernetesResources) - 1; iNdEx >= 0; iNdEx-- { 29820 { 29821 size, err := m.KubernetesResources[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 29822 if err != nil { 29823 return 0, err 29824 } 29825 i -= size 29826 i = encodeVarintTypes(dAtA, i, uint64(size)) 29827 } 29828 i-- 29829 dAtA[i] = 0x1 29830 i-- 29831 dAtA[i] = 0xc2 29832 } 29833 } 29834 if len(m.AzureIdentities) > 0 { 29835 for iNdEx := len(m.AzureIdentities) - 1; iNdEx >= 0; iNdEx-- { 29836 i -= len(m.AzureIdentities[iNdEx]) 29837 copy(dAtA[i:], m.AzureIdentities[iNdEx]) 29838 i = encodeVarintTypes(dAtA, i, uint64(len(m.AzureIdentities[iNdEx]))) 29839 i-- 29840 dAtA[i] = 0x1 29841 i-- 29842 dAtA[i] = 0xba 29843 } 29844 } 29845 if len(m.HostSudoers) > 0 { 29846 for iNdEx := len(m.HostSudoers) - 1; iNdEx >= 0; iNdEx-- { 29847 i -= len(m.HostSudoers[iNdEx]) 29848 copy(dAtA[i:], m.HostSudoers[iNdEx]) 29849 i = encodeVarintTypes(dAtA, i, uint64(len(m.HostSudoers[iNdEx]))) 29850 i-- 29851 dAtA[i] = 0x1 29852 i-- 29853 dAtA[i] = 0xb2 29854 } 29855 } 29856 if len(m.HostGroups) > 0 { 29857 for iNdEx := len(m.HostGroups) - 1; iNdEx >= 0; iNdEx-- { 29858 i -= len(m.HostGroups[iNdEx]) 29859 copy(dAtA[i:], m.HostGroups[iNdEx]) 29860 i = encodeVarintTypes(dAtA, i, uint64(len(m.HostGroups[iNdEx]))) 29861 i-- 29862 dAtA[i] = 0x1 29863 i-- 29864 dAtA[i] = 0xaa 29865 } 29866 } 29867 if len(m.JoinSessions) > 0 { 29868 for iNdEx := len(m.JoinSessions) - 1; iNdEx >= 0; iNdEx-- { 29869 { 29870 size, err := m.JoinSessions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 29871 if err != nil { 29872 return 0, err 29873 } 29874 i -= size 29875 i = encodeVarintTypes(dAtA, i, uint64(size)) 29876 } 29877 i-- 29878 dAtA[i] = 0x1 29879 i-- 29880 dAtA[i] = 0xa2 29881 } 29882 } 29883 if len(m.RequireSessionJoin) > 0 { 29884 for iNdEx := len(m.RequireSessionJoin) - 1; iNdEx >= 0; iNdEx-- { 29885 { 29886 size, err := m.RequireSessionJoin[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 29887 if err != nil { 29888 return 0, err 29889 } 29890 i -= size 29891 i = encodeVarintTypes(dAtA, i, uint64(size)) 29892 } 29893 i-- 29894 dAtA[i] = 0x1 29895 i-- 29896 dAtA[i] = 0x9a 29897 } 29898 } 29899 { 29900 size := m.WindowsDesktopLabels.Size() 29901 i -= size 29902 if _, err := m.WindowsDesktopLabels.MarshalTo(dAtA[i:]); err != nil { 29903 return 0, err 29904 } 29905 i = encodeVarintTypes(dAtA, i, uint64(size)) 29906 } 29907 i-- 29908 dAtA[i] = 0x1 29909 i-- 29910 dAtA[i] = 0x92 29911 if len(m.WindowsDesktopLogins) > 0 { 29912 for iNdEx := len(m.WindowsDesktopLogins) - 1; iNdEx >= 0; iNdEx-- { 29913 i -= len(m.WindowsDesktopLogins[iNdEx]) 29914 copy(dAtA[i:], m.WindowsDesktopLogins[iNdEx]) 29915 i = encodeVarintTypes(dAtA, i, uint64(len(m.WindowsDesktopLogins[iNdEx]))) 29916 i-- 29917 dAtA[i] = 0x1 29918 i-- 29919 dAtA[i] = 0x8a 29920 } 29921 } 29922 if len(m.AWSRoleARNs) > 0 { 29923 for iNdEx := len(m.AWSRoleARNs) - 1; iNdEx >= 0; iNdEx-- { 29924 i -= len(m.AWSRoleARNs[iNdEx]) 29925 copy(dAtA[i:], m.AWSRoleARNs[iNdEx]) 29926 i = encodeVarintTypes(dAtA, i, uint64(len(m.AWSRoleARNs[iNdEx]))) 29927 i-- 29928 dAtA[i] = 0x1 29929 i-- 29930 dAtA[i] = 0x82 29931 } 29932 } 29933 if m.ReviewRequests != nil { 29934 { 29935 size, err := m.ReviewRequests.MarshalToSizedBuffer(dAtA[:i]) 29936 if err != nil { 29937 return 0, err 29938 } 29939 i -= size 29940 i = encodeVarintTypes(dAtA, i, uint64(size)) 29941 } 29942 i-- 29943 dAtA[i] = 0x7a 29944 } 29945 if m.Impersonate != nil { 29946 { 29947 size, err := m.Impersonate.MarshalToSizedBuffer(dAtA[:i]) 29948 if err != nil { 29949 return 0, err 29950 } 29951 i -= size 29952 i = encodeVarintTypes(dAtA, i, uint64(size)) 29953 } 29954 i-- 29955 dAtA[i] = 0x72 29956 } 29957 if len(m.DatabaseUsers) > 0 { 29958 for iNdEx := len(m.DatabaseUsers) - 1; iNdEx >= 0; iNdEx-- { 29959 i -= len(m.DatabaseUsers[iNdEx]) 29960 copy(dAtA[i:], m.DatabaseUsers[iNdEx]) 29961 i = encodeVarintTypes(dAtA, i, uint64(len(m.DatabaseUsers[iNdEx]))) 29962 i-- 29963 dAtA[i] = 0x6a 29964 } 29965 } 29966 if len(m.DatabaseNames) > 0 { 29967 for iNdEx := len(m.DatabaseNames) - 1; iNdEx >= 0; iNdEx-- { 29968 i -= len(m.DatabaseNames[iNdEx]) 29969 copy(dAtA[i:], m.DatabaseNames[iNdEx]) 29970 i = encodeVarintTypes(dAtA, i, uint64(len(m.DatabaseNames[iNdEx]))) 29971 i-- 29972 dAtA[i] = 0x62 29973 } 29974 } 29975 { 29976 size := m.DatabaseLabels.Size() 29977 i -= size 29978 if _, err := m.DatabaseLabels.MarshalTo(dAtA[i:]); err != nil { 29979 return 0, err 29980 } 29981 i = encodeVarintTypes(dAtA, i, uint64(size)) 29982 } 29983 i-- 29984 dAtA[i] = 0x5a 29985 { 29986 size := m.KubernetesLabels.Size() 29987 i -= size 29988 if _, err := m.KubernetesLabels.MarshalTo(dAtA[i:]); err != nil { 29989 return 0, err 29990 } 29991 i = encodeVarintTypes(dAtA, i, uint64(size)) 29992 } 29993 i-- 29994 dAtA[i] = 0x52 29995 { 29996 size := m.ClusterLabels.Size() 29997 i -= size 29998 if _, err := m.ClusterLabels.MarshalTo(dAtA[i:]); err != nil { 29999 return 0, err 30000 } 30001 i = encodeVarintTypes(dAtA, i, uint64(size)) 30002 } 30003 i-- 30004 dAtA[i] = 0x4a 30005 { 30006 size := m.AppLabels.Size() 30007 i -= size 30008 if _, err := m.AppLabels.MarshalTo(dAtA[i:]); err != nil { 30009 return 0, err 30010 } 30011 i = encodeVarintTypes(dAtA, i, uint64(size)) 30012 } 30013 i-- 30014 dAtA[i] = 0x42 30015 if len(m.KubeUsers) > 0 { 30016 for iNdEx := len(m.KubeUsers) - 1; iNdEx >= 0; iNdEx-- { 30017 i -= len(m.KubeUsers[iNdEx]) 30018 copy(dAtA[i:], m.KubeUsers[iNdEx]) 30019 i = encodeVarintTypes(dAtA, i, uint64(len(m.KubeUsers[iNdEx]))) 30020 i-- 30021 dAtA[i] = 0x3a 30022 } 30023 } 30024 if m.Request != nil { 30025 { 30026 size, err := m.Request.MarshalToSizedBuffer(dAtA[:i]) 30027 if err != nil { 30028 return 0, err 30029 } 30030 i -= size 30031 i = encodeVarintTypes(dAtA, i, uint64(size)) 30032 } 30033 i-- 30034 dAtA[i] = 0x32 30035 } 30036 if len(m.KubeGroups) > 0 { 30037 for iNdEx := len(m.KubeGroups) - 1; iNdEx >= 0; iNdEx-- { 30038 i -= len(m.KubeGroups[iNdEx]) 30039 copy(dAtA[i:], m.KubeGroups[iNdEx]) 30040 i = encodeVarintTypes(dAtA, i, uint64(len(m.KubeGroups[iNdEx]))) 30041 i-- 30042 dAtA[i] = 0x2a 30043 } 30044 } 30045 if len(m.Rules) > 0 { 30046 for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { 30047 { 30048 size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 30049 if err != nil { 30050 return 0, err 30051 } 30052 i -= size 30053 i = encodeVarintTypes(dAtA, i, uint64(size)) 30054 } 30055 i-- 30056 dAtA[i] = 0x22 30057 } 30058 } 30059 { 30060 size := m.NodeLabels.Size() 30061 i -= size 30062 if _, err := m.NodeLabels.MarshalTo(dAtA[i:]); err != nil { 30063 return 0, err 30064 } 30065 i = encodeVarintTypes(dAtA, i, uint64(size)) 30066 } 30067 i-- 30068 dAtA[i] = 0x1a 30069 if len(m.Namespaces) > 0 { 30070 for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- { 30071 i -= len(m.Namespaces[iNdEx]) 30072 copy(dAtA[i:], m.Namespaces[iNdEx]) 30073 i = encodeVarintTypes(dAtA, i, uint64(len(m.Namespaces[iNdEx]))) 30074 i-- 30075 dAtA[i] = 0x12 30076 } 30077 } 30078 if len(m.Logins) > 0 { 30079 for iNdEx := len(m.Logins) - 1; iNdEx >= 0; iNdEx-- { 30080 i -= len(m.Logins[iNdEx]) 30081 copy(dAtA[i:], m.Logins[iNdEx]) 30082 i = encodeVarintTypes(dAtA, i, uint64(len(m.Logins[iNdEx]))) 30083 i-- 30084 dAtA[i] = 0xa 30085 } 30086 } 30087 return len(dAtA) - i, nil 30088 } 30089 30090 func (m *SPIFFERoleCondition) Marshal() (dAtA []byte, err error) { 30091 size := m.Size() 30092 dAtA = make([]byte, size) 30093 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30094 if err != nil { 30095 return nil, err 30096 } 30097 return dAtA[:n], nil 30098 } 30099 30100 func (m *SPIFFERoleCondition) MarshalTo(dAtA []byte) (int, error) { 30101 size := m.Size() 30102 return m.MarshalToSizedBuffer(dAtA[:size]) 30103 } 30104 30105 func (m *SPIFFERoleCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30106 i := len(dAtA) 30107 _ = i 30108 var l int 30109 _ = l 30110 if m.XXX_unrecognized != nil { 30111 i -= len(m.XXX_unrecognized) 30112 copy(dAtA[i:], m.XXX_unrecognized) 30113 } 30114 if len(m.IPSANs) > 0 { 30115 for iNdEx := len(m.IPSANs) - 1; iNdEx >= 0; iNdEx-- { 30116 i -= len(m.IPSANs[iNdEx]) 30117 copy(dAtA[i:], m.IPSANs[iNdEx]) 30118 i = encodeVarintTypes(dAtA, i, uint64(len(m.IPSANs[iNdEx]))) 30119 i-- 30120 dAtA[i] = 0x1a 30121 } 30122 } 30123 if len(m.DNSSANs) > 0 { 30124 for iNdEx := len(m.DNSSANs) - 1; iNdEx >= 0; iNdEx-- { 30125 i -= len(m.DNSSANs[iNdEx]) 30126 copy(dAtA[i:], m.DNSSANs[iNdEx]) 30127 i = encodeVarintTypes(dAtA, i, uint64(len(m.DNSSANs[iNdEx]))) 30128 i-- 30129 dAtA[i] = 0x12 30130 } 30131 } 30132 if len(m.Path) > 0 { 30133 i -= len(m.Path) 30134 copy(dAtA[i:], m.Path) 30135 i = encodeVarintTypes(dAtA, i, uint64(len(m.Path))) 30136 i-- 30137 dAtA[i] = 0xa 30138 } 30139 return len(dAtA) - i, nil 30140 } 30141 30142 func (m *DatabasePermission) Marshal() (dAtA []byte, err error) { 30143 size := m.Size() 30144 dAtA = make([]byte, size) 30145 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30146 if err != nil { 30147 return nil, err 30148 } 30149 return dAtA[:n], nil 30150 } 30151 30152 func (m *DatabasePermission) MarshalTo(dAtA []byte) (int, error) { 30153 size := m.Size() 30154 return m.MarshalToSizedBuffer(dAtA[:size]) 30155 } 30156 30157 func (m *DatabasePermission) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30158 i := len(dAtA) 30159 _ = i 30160 var l int 30161 _ = l 30162 if m.XXX_unrecognized != nil { 30163 i -= len(m.XXX_unrecognized) 30164 copy(dAtA[i:], m.XXX_unrecognized) 30165 } 30166 { 30167 size := m.Match.Size() 30168 i -= size 30169 if _, err := m.Match.MarshalTo(dAtA[i:]); err != nil { 30170 return 0, err 30171 } 30172 i = encodeVarintTypes(dAtA, i, uint64(size)) 30173 } 30174 i-- 30175 dAtA[i] = 0x12 30176 if len(m.Permissions) > 0 { 30177 for iNdEx := len(m.Permissions) - 1; iNdEx >= 0; iNdEx-- { 30178 i -= len(m.Permissions[iNdEx]) 30179 copy(dAtA[i:], m.Permissions[iNdEx]) 30180 i = encodeVarintTypes(dAtA, i, uint64(len(m.Permissions[iNdEx]))) 30181 i-- 30182 dAtA[i] = 0xa 30183 } 30184 } 30185 return len(dAtA) - i, nil 30186 } 30187 30188 func (m *KubernetesResource) Marshal() (dAtA []byte, err error) { 30189 size := m.Size() 30190 dAtA = make([]byte, size) 30191 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30192 if err != nil { 30193 return nil, err 30194 } 30195 return dAtA[:n], nil 30196 } 30197 30198 func (m *KubernetesResource) MarshalTo(dAtA []byte) (int, error) { 30199 size := m.Size() 30200 return m.MarshalToSizedBuffer(dAtA[:size]) 30201 } 30202 30203 func (m *KubernetesResource) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30204 i := len(dAtA) 30205 _ = i 30206 var l int 30207 _ = l 30208 if m.XXX_unrecognized != nil { 30209 i -= len(m.XXX_unrecognized) 30210 copy(dAtA[i:], m.XXX_unrecognized) 30211 } 30212 if len(m.Verbs) > 0 { 30213 for iNdEx := len(m.Verbs) - 1; iNdEx >= 0; iNdEx-- { 30214 i -= len(m.Verbs[iNdEx]) 30215 copy(dAtA[i:], m.Verbs[iNdEx]) 30216 i = encodeVarintTypes(dAtA, i, uint64(len(m.Verbs[iNdEx]))) 30217 i-- 30218 dAtA[i] = 0x22 30219 } 30220 } 30221 if len(m.Name) > 0 { 30222 i -= len(m.Name) 30223 copy(dAtA[i:], m.Name) 30224 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 30225 i-- 30226 dAtA[i] = 0x1a 30227 } 30228 if len(m.Namespace) > 0 { 30229 i -= len(m.Namespace) 30230 copy(dAtA[i:], m.Namespace) 30231 i = encodeVarintTypes(dAtA, i, uint64(len(m.Namespace))) 30232 i-- 30233 dAtA[i] = 0x12 30234 } 30235 if len(m.Kind) > 0 { 30236 i -= len(m.Kind) 30237 copy(dAtA[i:], m.Kind) 30238 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 30239 i-- 30240 dAtA[i] = 0xa 30241 } 30242 return len(dAtA) - i, nil 30243 } 30244 30245 func (m *SessionRequirePolicy) Marshal() (dAtA []byte, err error) { 30246 size := m.Size() 30247 dAtA = make([]byte, size) 30248 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30249 if err != nil { 30250 return nil, err 30251 } 30252 return dAtA[:n], nil 30253 } 30254 30255 func (m *SessionRequirePolicy) MarshalTo(dAtA []byte) (int, error) { 30256 size := m.Size() 30257 return m.MarshalToSizedBuffer(dAtA[:size]) 30258 } 30259 30260 func (m *SessionRequirePolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30261 i := len(dAtA) 30262 _ = i 30263 var l int 30264 _ = l 30265 if m.XXX_unrecognized != nil { 30266 i -= len(m.XXX_unrecognized) 30267 copy(dAtA[i:], m.XXX_unrecognized) 30268 } 30269 if len(m.OnLeave) > 0 { 30270 i -= len(m.OnLeave) 30271 copy(dAtA[i:], m.OnLeave) 30272 i = encodeVarintTypes(dAtA, i, uint64(len(m.OnLeave))) 30273 i-- 30274 dAtA[i] = 0x32 30275 } 30276 if len(m.Modes) > 0 { 30277 for iNdEx := len(m.Modes) - 1; iNdEx >= 0; iNdEx-- { 30278 i -= len(m.Modes[iNdEx]) 30279 copy(dAtA[i:], m.Modes[iNdEx]) 30280 i = encodeVarintTypes(dAtA, i, uint64(len(m.Modes[iNdEx]))) 30281 i-- 30282 dAtA[i] = 0x2a 30283 } 30284 } 30285 if m.Count != 0 { 30286 i = encodeVarintTypes(dAtA, i, uint64(m.Count)) 30287 i-- 30288 dAtA[i] = 0x20 30289 } 30290 if len(m.Kinds) > 0 { 30291 for iNdEx := len(m.Kinds) - 1; iNdEx >= 0; iNdEx-- { 30292 i -= len(m.Kinds[iNdEx]) 30293 copy(dAtA[i:], m.Kinds[iNdEx]) 30294 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kinds[iNdEx]))) 30295 i-- 30296 dAtA[i] = 0x1a 30297 } 30298 } 30299 if len(m.Filter) > 0 { 30300 i -= len(m.Filter) 30301 copy(dAtA[i:], m.Filter) 30302 i = encodeVarintTypes(dAtA, i, uint64(len(m.Filter))) 30303 i-- 30304 dAtA[i] = 0x12 30305 } 30306 if len(m.Name) > 0 { 30307 i -= len(m.Name) 30308 copy(dAtA[i:], m.Name) 30309 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 30310 i-- 30311 dAtA[i] = 0xa 30312 } 30313 return len(dAtA) - i, nil 30314 } 30315 30316 func (m *SessionJoinPolicy) Marshal() (dAtA []byte, err error) { 30317 size := m.Size() 30318 dAtA = make([]byte, size) 30319 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30320 if err != nil { 30321 return nil, err 30322 } 30323 return dAtA[:n], nil 30324 } 30325 30326 func (m *SessionJoinPolicy) MarshalTo(dAtA []byte) (int, error) { 30327 size := m.Size() 30328 return m.MarshalToSizedBuffer(dAtA[:size]) 30329 } 30330 30331 func (m *SessionJoinPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30332 i := len(dAtA) 30333 _ = i 30334 var l int 30335 _ = l 30336 if m.XXX_unrecognized != nil { 30337 i -= len(m.XXX_unrecognized) 30338 copy(dAtA[i:], m.XXX_unrecognized) 30339 } 30340 if len(m.Modes) > 0 { 30341 for iNdEx := len(m.Modes) - 1; iNdEx >= 0; iNdEx-- { 30342 i -= len(m.Modes[iNdEx]) 30343 copy(dAtA[i:], m.Modes[iNdEx]) 30344 i = encodeVarintTypes(dAtA, i, uint64(len(m.Modes[iNdEx]))) 30345 i-- 30346 dAtA[i] = 0x22 30347 } 30348 } 30349 if len(m.Kinds) > 0 { 30350 for iNdEx := len(m.Kinds) - 1; iNdEx >= 0; iNdEx-- { 30351 i -= len(m.Kinds[iNdEx]) 30352 copy(dAtA[i:], m.Kinds[iNdEx]) 30353 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kinds[iNdEx]))) 30354 i-- 30355 dAtA[i] = 0x1a 30356 } 30357 } 30358 if len(m.Roles) > 0 { 30359 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 30360 i -= len(m.Roles[iNdEx]) 30361 copy(dAtA[i:], m.Roles[iNdEx]) 30362 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 30363 i-- 30364 dAtA[i] = 0x12 30365 } 30366 } 30367 if len(m.Name) > 0 { 30368 i -= len(m.Name) 30369 copy(dAtA[i:], m.Name) 30370 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 30371 i-- 30372 dAtA[i] = 0xa 30373 } 30374 return len(dAtA) - i, nil 30375 } 30376 30377 func (m *AccessRequestConditions) Marshal() (dAtA []byte, err error) { 30378 size := m.Size() 30379 dAtA = make([]byte, size) 30380 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30381 if err != nil { 30382 return nil, err 30383 } 30384 return dAtA[:n], nil 30385 } 30386 30387 func (m *AccessRequestConditions) MarshalTo(dAtA []byte) (int, error) { 30388 size := m.Size() 30389 return m.MarshalToSizedBuffer(dAtA[:size]) 30390 } 30391 30392 func (m *AccessRequestConditions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30393 i := len(dAtA) 30394 _ = i 30395 var l int 30396 _ = l 30397 if m.XXX_unrecognized != nil { 30398 i -= len(m.XXX_unrecognized) 30399 copy(dAtA[i:], m.XXX_unrecognized) 30400 } 30401 if m.MaxDuration != 0 { 30402 i = encodeVarintTypes(dAtA, i, uint64(m.MaxDuration)) 30403 i-- 30404 dAtA[i] = 0x38 30405 } 30406 if len(m.SearchAsRoles) > 0 { 30407 for iNdEx := len(m.SearchAsRoles) - 1; iNdEx >= 0; iNdEx-- { 30408 i -= len(m.SearchAsRoles[iNdEx]) 30409 copy(dAtA[i:], m.SearchAsRoles[iNdEx]) 30410 i = encodeVarintTypes(dAtA, i, uint64(len(m.SearchAsRoles[iNdEx]))) 30411 i-- 30412 dAtA[i] = 0x32 30413 } 30414 } 30415 if len(m.SuggestedReviewers) > 0 { 30416 for iNdEx := len(m.SuggestedReviewers) - 1; iNdEx >= 0; iNdEx-- { 30417 i -= len(m.SuggestedReviewers[iNdEx]) 30418 copy(dAtA[i:], m.SuggestedReviewers[iNdEx]) 30419 i = encodeVarintTypes(dAtA, i, uint64(len(m.SuggestedReviewers[iNdEx]))) 30420 i-- 30421 dAtA[i] = 0x2a 30422 } 30423 } 30424 if len(m.Thresholds) > 0 { 30425 for iNdEx := len(m.Thresholds) - 1; iNdEx >= 0; iNdEx-- { 30426 { 30427 size, err := m.Thresholds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 30428 if err != nil { 30429 return 0, err 30430 } 30431 i -= size 30432 i = encodeVarintTypes(dAtA, i, uint64(size)) 30433 } 30434 i-- 30435 dAtA[i] = 0x22 30436 } 30437 } 30438 { 30439 size := m.Annotations.Size() 30440 i -= size 30441 if _, err := m.Annotations.MarshalTo(dAtA[i:]); err != nil { 30442 return 0, err 30443 } 30444 i = encodeVarintTypes(dAtA, i, uint64(size)) 30445 } 30446 i-- 30447 dAtA[i] = 0x1a 30448 if len(m.ClaimsToRoles) > 0 { 30449 for iNdEx := len(m.ClaimsToRoles) - 1; iNdEx >= 0; iNdEx-- { 30450 { 30451 size, err := m.ClaimsToRoles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 30452 if err != nil { 30453 return 0, err 30454 } 30455 i -= size 30456 i = encodeVarintTypes(dAtA, i, uint64(size)) 30457 } 30458 i-- 30459 dAtA[i] = 0x12 30460 } 30461 } 30462 if len(m.Roles) > 0 { 30463 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 30464 i -= len(m.Roles[iNdEx]) 30465 copy(dAtA[i:], m.Roles[iNdEx]) 30466 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 30467 i-- 30468 dAtA[i] = 0xa 30469 } 30470 } 30471 return len(dAtA) - i, nil 30472 } 30473 30474 func (m *AccessReviewConditions) Marshal() (dAtA []byte, err error) { 30475 size := m.Size() 30476 dAtA = make([]byte, size) 30477 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30478 if err != nil { 30479 return nil, err 30480 } 30481 return dAtA[:n], nil 30482 } 30483 30484 func (m *AccessReviewConditions) MarshalTo(dAtA []byte) (int, error) { 30485 size := m.Size() 30486 return m.MarshalToSizedBuffer(dAtA[:size]) 30487 } 30488 30489 func (m *AccessReviewConditions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30490 i := len(dAtA) 30491 _ = i 30492 var l int 30493 _ = l 30494 if m.XXX_unrecognized != nil { 30495 i -= len(m.XXX_unrecognized) 30496 copy(dAtA[i:], m.XXX_unrecognized) 30497 } 30498 if len(m.PreviewAsRoles) > 0 { 30499 for iNdEx := len(m.PreviewAsRoles) - 1; iNdEx >= 0; iNdEx-- { 30500 i -= len(m.PreviewAsRoles[iNdEx]) 30501 copy(dAtA[i:], m.PreviewAsRoles[iNdEx]) 30502 i = encodeVarintTypes(dAtA, i, uint64(len(m.PreviewAsRoles[iNdEx]))) 30503 i-- 30504 dAtA[i] = 0x22 30505 } 30506 } 30507 if len(m.Where) > 0 { 30508 i -= len(m.Where) 30509 copy(dAtA[i:], m.Where) 30510 i = encodeVarintTypes(dAtA, i, uint64(len(m.Where))) 30511 i-- 30512 dAtA[i] = 0x1a 30513 } 30514 if len(m.ClaimsToRoles) > 0 { 30515 for iNdEx := len(m.ClaimsToRoles) - 1; iNdEx >= 0; iNdEx-- { 30516 { 30517 size, err := m.ClaimsToRoles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 30518 if err != nil { 30519 return 0, err 30520 } 30521 i -= size 30522 i = encodeVarintTypes(dAtA, i, uint64(size)) 30523 } 30524 i-- 30525 dAtA[i] = 0x12 30526 } 30527 } 30528 if len(m.Roles) > 0 { 30529 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 30530 i -= len(m.Roles[iNdEx]) 30531 copy(dAtA[i:], m.Roles[iNdEx]) 30532 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 30533 i-- 30534 dAtA[i] = 0xa 30535 } 30536 } 30537 return len(dAtA) - i, nil 30538 } 30539 30540 func (m *AccessRequestAllowedPromotion) Marshal() (dAtA []byte, err error) { 30541 size := m.Size() 30542 dAtA = make([]byte, size) 30543 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30544 if err != nil { 30545 return nil, err 30546 } 30547 return dAtA[:n], nil 30548 } 30549 30550 func (m *AccessRequestAllowedPromotion) MarshalTo(dAtA []byte) (int, error) { 30551 size := m.Size() 30552 return m.MarshalToSizedBuffer(dAtA[:size]) 30553 } 30554 30555 func (m *AccessRequestAllowedPromotion) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30556 i := len(dAtA) 30557 _ = i 30558 var l int 30559 _ = l 30560 if m.XXX_unrecognized != nil { 30561 i -= len(m.XXX_unrecognized) 30562 copy(dAtA[i:], m.XXX_unrecognized) 30563 } 30564 if len(m.AccessListName) > 0 { 30565 i -= len(m.AccessListName) 30566 copy(dAtA[i:], m.AccessListName) 30567 i = encodeVarintTypes(dAtA, i, uint64(len(m.AccessListName))) 30568 i-- 30569 dAtA[i] = 0xa 30570 } 30571 return len(dAtA) - i, nil 30572 } 30573 30574 func (m *AccessRequestAllowedPromotions) Marshal() (dAtA []byte, err error) { 30575 size := m.Size() 30576 dAtA = make([]byte, size) 30577 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30578 if err != nil { 30579 return nil, err 30580 } 30581 return dAtA[:n], nil 30582 } 30583 30584 func (m *AccessRequestAllowedPromotions) MarshalTo(dAtA []byte) (int, error) { 30585 size := m.Size() 30586 return m.MarshalToSizedBuffer(dAtA[:size]) 30587 } 30588 30589 func (m *AccessRequestAllowedPromotions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30590 i := len(dAtA) 30591 _ = i 30592 var l int 30593 _ = l 30594 if m.XXX_unrecognized != nil { 30595 i -= len(m.XXX_unrecognized) 30596 copy(dAtA[i:], m.XXX_unrecognized) 30597 } 30598 if len(m.Promotions) > 0 { 30599 for iNdEx := len(m.Promotions) - 1; iNdEx >= 0; iNdEx-- { 30600 { 30601 size, err := m.Promotions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 30602 if err != nil { 30603 return 0, err 30604 } 30605 i -= size 30606 i = encodeVarintTypes(dAtA, i, uint64(size)) 30607 } 30608 i-- 30609 dAtA[i] = 0xa 30610 } 30611 } 30612 return len(dAtA) - i, nil 30613 } 30614 30615 func (m *ClaimMapping) Marshal() (dAtA []byte, err error) { 30616 size := m.Size() 30617 dAtA = make([]byte, size) 30618 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30619 if err != nil { 30620 return nil, err 30621 } 30622 return dAtA[:n], nil 30623 } 30624 30625 func (m *ClaimMapping) MarshalTo(dAtA []byte) (int, error) { 30626 size := m.Size() 30627 return m.MarshalToSizedBuffer(dAtA[:size]) 30628 } 30629 30630 func (m *ClaimMapping) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30631 i := len(dAtA) 30632 _ = i 30633 var l int 30634 _ = l 30635 if m.XXX_unrecognized != nil { 30636 i -= len(m.XXX_unrecognized) 30637 copy(dAtA[i:], m.XXX_unrecognized) 30638 } 30639 if len(m.Roles) > 0 { 30640 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 30641 i -= len(m.Roles[iNdEx]) 30642 copy(dAtA[i:], m.Roles[iNdEx]) 30643 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 30644 i-- 30645 dAtA[i] = 0x1a 30646 } 30647 } 30648 if len(m.Value) > 0 { 30649 i -= len(m.Value) 30650 copy(dAtA[i:], m.Value) 30651 i = encodeVarintTypes(dAtA, i, uint64(len(m.Value))) 30652 i-- 30653 dAtA[i] = 0x12 30654 } 30655 if len(m.Claim) > 0 { 30656 i -= len(m.Claim) 30657 copy(dAtA[i:], m.Claim) 30658 i = encodeVarintTypes(dAtA, i, uint64(len(m.Claim))) 30659 i-- 30660 dAtA[i] = 0xa 30661 } 30662 return len(dAtA) - i, nil 30663 } 30664 30665 func (m *TraitMapping) Marshal() (dAtA []byte, err error) { 30666 size := m.Size() 30667 dAtA = make([]byte, size) 30668 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30669 if err != nil { 30670 return nil, err 30671 } 30672 return dAtA[:n], nil 30673 } 30674 30675 func (m *TraitMapping) MarshalTo(dAtA []byte) (int, error) { 30676 size := m.Size() 30677 return m.MarshalToSizedBuffer(dAtA[:size]) 30678 } 30679 30680 func (m *TraitMapping) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30681 i := len(dAtA) 30682 _ = i 30683 var l int 30684 _ = l 30685 if m.XXX_unrecognized != nil { 30686 i -= len(m.XXX_unrecognized) 30687 copy(dAtA[i:], m.XXX_unrecognized) 30688 } 30689 if len(m.Roles) > 0 { 30690 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 30691 i -= len(m.Roles[iNdEx]) 30692 copy(dAtA[i:], m.Roles[iNdEx]) 30693 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 30694 i-- 30695 dAtA[i] = 0x1a 30696 } 30697 } 30698 if len(m.Value) > 0 { 30699 i -= len(m.Value) 30700 copy(dAtA[i:], m.Value) 30701 i = encodeVarintTypes(dAtA, i, uint64(len(m.Value))) 30702 i-- 30703 dAtA[i] = 0x12 30704 } 30705 if len(m.Trait) > 0 { 30706 i -= len(m.Trait) 30707 copy(dAtA[i:], m.Trait) 30708 i = encodeVarintTypes(dAtA, i, uint64(len(m.Trait))) 30709 i-- 30710 dAtA[i] = 0xa 30711 } 30712 return len(dAtA) - i, nil 30713 } 30714 30715 func (m *Rule) Marshal() (dAtA []byte, err error) { 30716 size := m.Size() 30717 dAtA = make([]byte, size) 30718 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30719 if err != nil { 30720 return nil, err 30721 } 30722 return dAtA[:n], nil 30723 } 30724 30725 func (m *Rule) MarshalTo(dAtA []byte) (int, error) { 30726 size := m.Size() 30727 return m.MarshalToSizedBuffer(dAtA[:size]) 30728 } 30729 30730 func (m *Rule) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30731 i := len(dAtA) 30732 _ = i 30733 var l int 30734 _ = l 30735 if m.XXX_unrecognized != nil { 30736 i -= len(m.XXX_unrecognized) 30737 copy(dAtA[i:], m.XXX_unrecognized) 30738 } 30739 if len(m.Actions) > 0 { 30740 for iNdEx := len(m.Actions) - 1; iNdEx >= 0; iNdEx-- { 30741 i -= len(m.Actions[iNdEx]) 30742 copy(dAtA[i:], m.Actions[iNdEx]) 30743 i = encodeVarintTypes(dAtA, i, uint64(len(m.Actions[iNdEx]))) 30744 i-- 30745 dAtA[i] = 0x22 30746 } 30747 } 30748 if len(m.Where) > 0 { 30749 i -= len(m.Where) 30750 copy(dAtA[i:], m.Where) 30751 i = encodeVarintTypes(dAtA, i, uint64(len(m.Where))) 30752 i-- 30753 dAtA[i] = 0x1a 30754 } 30755 if len(m.Verbs) > 0 { 30756 for iNdEx := len(m.Verbs) - 1; iNdEx >= 0; iNdEx-- { 30757 i -= len(m.Verbs[iNdEx]) 30758 copy(dAtA[i:], m.Verbs[iNdEx]) 30759 i = encodeVarintTypes(dAtA, i, uint64(len(m.Verbs[iNdEx]))) 30760 i-- 30761 dAtA[i] = 0x12 30762 } 30763 } 30764 if len(m.Resources) > 0 { 30765 for iNdEx := len(m.Resources) - 1; iNdEx >= 0; iNdEx-- { 30766 i -= len(m.Resources[iNdEx]) 30767 copy(dAtA[i:], m.Resources[iNdEx]) 30768 i = encodeVarintTypes(dAtA, i, uint64(len(m.Resources[iNdEx]))) 30769 i-- 30770 dAtA[i] = 0xa 30771 } 30772 } 30773 return len(dAtA) - i, nil 30774 } 30775 30776 func (m *ImpersonateConditions) Marshal() (dAtA []byte, err error) { 30777 size := m.Size() 30778 dAtA = make([]byte, size) 30779 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30780 if err != nil { 30781 return nil, err 30782 } 30783 return dAtA[:n], nil 30784 } 30785 30786 func (m *ImpersonateConditions) MarshalTo(dAtA []byte) (int, error) { 30787 size := m.Size() 30788 return m.MarshalToSizedBuffer(dAtA[:size]) 30789 } 30790 30791 func (m *ImpersonateConditions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30792 i := len(dAtA) 30793 _ = i 30794 var l int 30795 _ = l 30796 if m.XXX_unrecognized != nil { 30797 i -= len(m.XXX_unrecognized) 30798 copy(dAtA[i:], m.XXX_unrecognized) 30799 } 30800 if len(m.Where) > 0 { 30801 i -= len(m.Where) 30802 copy(dAtA[i:], m.Where) 30803 i = encodeVarintTypes(dAtA, i, uint64(len(m.Where))) 30804 i-- 30805 dAtA[i] = 0x1a 30806 } 30807 if len(m.Roles) > 0 { 30808 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 30809 i -= len(m.Roles[iNdEx]) 30810 copy(dAtA[i:], m.Roles[iNdEx]) 30811 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 30812 i-- 30813 dAtA[i] = 0x12 30814 } 30815 } 30816 if len(m.Users) > 0 { 30817 for iNdEx := len(m.Users) - 1; iNdEx >= 0; iNdEx-- { 30818 i -= len(m.Users[iNdEx]) 30819 copy(dAtA[i:], m.Users[iNdEx]) 30820 i = encodeVarintTypes(dAtA, i, uint64(len(m.Users[iNdEx]))) 30821 i-- 30822 dAtA[i] = 0xa 30823 } 30824 } 30825 return len(dAtA) - i, nil 30826 } 30827 30828 func (m *BoolValue) Marshal() (dAtA []byte, err error) { 30829 size := m.Size() 30830 dAtA = make([]byte, size) 30831 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30832 if err != nil { 30833 return nil, err 30834 } 30835 return dAtA[:n], nil 30836 } 30837 30838 func (m *BoolValue) MarshalTo(dAtA []byte) (int, error) { 30839 size := m.Size() 30840 return m.MarshalToSizedBuffer(dAtA[:size]) 30841 } 30842 30843 func (m *BoolValue) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30844 i := len(dAtA) 30845 _ = i 30846 var l int 30847 _ = l 30848 if m.XXX_unrecognized != nil { 30849 i -= len(m.XXX_unrecognized) 30850 copy(dAtA[i:], m.XXX_unrecognized) 30851 } 30852 if m.Value { 30853 i-- 30854 if m.Value { 30855 dAtA[i] = 1 30856 } else { 30857 dAtA[i] = 0 30858 } 30859 i-- 30860 dAtA[i] = 0x8 30861 } 30862 return len(dAtA) - i, nil 30863 } 30864 30865 func (m *UserFilter) Marshal() (dAtA []byte, err error) { 30866 size := m.Size() 30867 dAtA = make([]byte, size) 30868 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30869 if err != nil { 30870 return nil, err 30871 } 30872 return dAtA[:n], nil 30873 } 30874 30875 func (m *UserFilter) MarshalTo(dAtA []byte) (int, error) { 30876 size := m.Size() 30877 return m.MarshalToSizedBuffer(dAtA[:size]) 30878 } 30879 30880 func (m *UserFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30881 i := len(dAtA) 30882 _ = i 30883 var l int 30884 _ = l 30885 if m.XXX_unrecognized != nil { 30886 i -= len(m.XXX_unrecognized) 30887 copy(dAtA[i:], m.XXX_unrecognized) 30888 } 30889 if len(m.SearchKeywords) > 0 { 30890 for iNdEx := len(m.SearchKeywords) - 1; iNdEx >= 0; iNdEx-- { 30891 i -= len(m.SearchKeywords[iNdEx]) 30892 copy(dAtA[i:], m.SearchKeywords[iNdEx]) 30893 i = encodeVarintTypes(dAtA, i, uint64(len(m.SearchKeywords[iNdEx]))) 30894 i-- 30895 dAtA[i] = 0xa 30896 } 30897 } 30898 return len(dAtA) - i, nil 30899 } 30900 30901 func (m *UserV2) Marshal() (dAtA []byte, err error) { 30902 size := m.Size() 30903 dAtA = make([]byte, size) 30904 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30905 if err != nil { 30906 return nil, err 30907 } 30908 return dAtA[:n], nil 30909 } 30910 30911 func (m *UserV2) MarshalTo(dAtA []byte) (int, error) { 30912 size := m.Size() 30913 return m.MarshalToSizedBuffer(dAtA[:size]) 30914 } 30915 30916 func (m *UserV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30917 i := len(dAtA) 30918 _ = i 30919 var l int 30920 _ = l 30921 if m.XXX_unrecognized != nil { 30922 i -= len(m.XXX_unrecognized) 30923 copy(dAtA[i:], m.XXX_unrecognized) 30924 } 30925 { 30926 size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) 30927 if err != nil { 30928 return 0, err 30929 } 30930 i -= size 30931 i = encodeVarintTypes(dAtA, i, uint64(size)) 30932 } 30933 i-- 30934 dAtA[i] = 0x32 30935 { 30936 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 30937 if err != nil { 30938 return 0, err 30939 } 30940 i -= size 30941 i = encodeVarintTypes(dAtA, i, uint64(size)) 30942 } 30943 i-- 30944 dAtA[i] = 0x2a 30945 { 30946 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 30947 if err != nil { 30948 return 0, err 30949 } 30950 i -= size 30951 i = encodeVarintTypes(dAtA, i, uint64(size)) 30952 } 30953 i-- 30954 dAtA[i] = 0x22 30955 if len(m.Version) > 0 { 30956 i -= len(m.Version) 30957 copy(dAtA[i:], m.Version) 30958 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 30959 i-- 30960 dAtA[i] = 0x1a 30961 } 30962 if len(m.SubKind) > 0 { 30963 i -= len(m.SubKind) 30964 copy(dAtA[i:], m.SubKind) 30965 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 30966 i-- 30967 dAtA[i] = 0x12 30968 } 30969 if len(m.Kind) > 0 { 30970 i -= len(m.Kind) 30971 copy(dAtA[i:], m.Kind) 30972 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 30973 i-- 30974 dAtA[i] = 0xa 30975 } 30976 return len(dAtA) - i, nil 30977 } 30978 30979 func (m *UserStatusV2) Marshal() (dAtA []byte, err error) { 30980 size := m.Size() 30981 dAtA = make([]byte, size) 30982 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30983 if err != nil { 30984 return nil, err 30985 } 30986 return dAtA[:n], nil 30987 } 30988 30989 func (m *UserStatusV2) MarshalTo(dAtA []byte) (int, error) { 30990 size := m.Size() 30991 return m.MarshalToSizedBuffer(dAtA[:size]) 30992 } 30993 30994 func (m *UserStatusV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30995 i := len(dAtA) 30996 _ = i 30997 var l int 30998 _ = l 30999 if m.XXX_unrecognized != nil { 31000 i -= len(m.XXX_unrecognized) 31001 copy(dAtA[i:], m.XXX_unrecognized) 31002 } 31003 if m.PasswordState != 0 { 31004 i = encodeVarintTypes(dAtA, i, uint64(m.PasswordState)) 31005 i-- 31006 dAtA[i] = 0x8 31007 } 31008 return len(dAtA) - i, nil 31009 } 31010 31011 func (m *UserSpecV2) Marshal() (dAtA []byte, err error) { 31012 size := m.Size() 31013 dAtA = make([]byte, size) 31014 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31015 if err != nil { 31016 return nil, err 31017 } 31018 return dAtA[:n], nil 31019 } 31020 31021 func (m *UserSpecV2) MarshalTo(dAtA []byte) (int, error) { 31022 size := m.Size() 31023 return m.MarshalToSizedBuffer(dAtA[:size]) 31024 } 31025 31026 func (m *UserSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31027 i := len(dAtA) 31028 _ = i 31029 var l int 31030 _ = l 31031 if m.XXX_unrecognized != nil { 31032 i -= len(m.XXX_unrecognized) 31033 copy(dAtA[i:], m.XXX_unrecognized) 31034 } 31035 if len(m.TrustedDeviceIDs) > 0 { 31036 for iNdEx := len(m.TrustedDeviceIDs) - 1; iNdEx >= 0; iNdEx-- { 31037 i -= len(m.TrustedDeviceIDs[iNdEx]) 31038 copy(dAtA[i:], m.TrustedDeviceIDs[iNdEx]) 31039 i = encodeVarintTypes(dAtA, i, uint64(len(m.TrustedDeviceIDs[iNdEx]))) 31040 i-- 31041 dAtA[i] = 0x52 31042 } 31043 } 31044 if m.LocalAuth != nil { 31045 { 31046 size, err := m.LocalAuth.MarshalToSizedBuffer(dAtA[:i]) 31047 if err != nil { 31048 return 0, err 31049 } 31050 i -= size 31051 i = encodeVarintTypes(dAtA, i, uint64(size)) 31052 } 31053 i-- 31054 dAtA[i] = 0x4a 31055 } 31056 { 31057 size, err := m.CreatedBy.MarshalToSizedBuffer(dAtA[:i]) 31058 if err != nil { 31059 return 0, err 31060 } 31061 i -= size 31062 i = encodeVarintTypes(dAtA, i, uint64(size)) 31063 } 31064 i-- 31065 dAtA[i] = 0x42 31066 n173, err173 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires):]) 31067 if err173 != nil { 31068 return 0, err173 31069 } 31070 i -= n173 31071 i = encodeVarintTypes(dAtA, i, uint64(n173)) 31072 i-- 31073 dAtA[i] = 0x3a 31074 { 31075 size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) 31076 if err != nil { 31077 return 0, err 31078 } 31079 i -= size 31080 i = encodeVarintTypes(dAtA, i, uint64(size)) 31081 } 31082 i-- 31083 dAtA[i] = 0x32 31084 { 31085 size := m.Traits.Size() 31086 i -= size 31087 if _, err := m.Traits.MarshalTo(dAtA[i:]); err != nil { 31088 return 0, err 31089 } 31090 i = encodeVarintTypes(dAtA, i, uint64(size)) 31091 } 31092 i-- 31093 dAtA[i] = 0x2a 31094 if len(m.Roles) > 0 { 31095 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 31096 i -= len(m.Roles[iNdEx]) 31097 copy(dAtA[i:], m.Roles[iNdEx]) 31098 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 31099 i-- 31100 dAtA[i] = 0x22 31101 } 31102 } 31103 if len(m.GithubIdentities) > 0 { 31104 for iNdEx := len(m.GithubIdentities) - 1; iNdEx >= 0; iNdEx-- { 31105 { 31106 size, err := m.GithubIdentities[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 31107 if err != nil { 31108 return 0, err 31109 } 31110 i -= size 31111 i = encodeVarintTypes(dAtA, i, uint64(size)) 31112 } 31113 i-- 31114 dAtA[i] = 0x1a 31115 } 31116 } 31117 if len(m.SAMLIdentities) > 0 { 31118 for iNdEx := len(m.SAMLIdentities) - 1; iNdEx >= 0; iNdEx-- { 31119 { 31120 size, err := m.SAMLIdentities[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 31121 if err != nil { 31122 return 0, err 31123 } 31124 i -= size 31125 i = encodeVarintTypes(dAtA, i, uint64(size)) 31126 } 31127 i-- 31128 dAtA[i] = 0x12 31129 } 31130 } 31131 if len(m.OIDCIdentities) > 0 { 31132 for iNdEx := len(m.OIDCIdentities) - 1; iNdEx >= 0; iNdEx-- { 31133 { 31134 size, err := m.OIDCIdentities[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 31135 if err != nil { 31136 return 0, err 31137 } 31138 i -= size 31139 i = encodeVarintTypes(dAtA, i, uint64(size)) 31140 } 31141 i-- 31142 dAtA[i] = 0xa 31143 } 31144 } 31145 return len(dAtA) - i, nil 31146 } 31147 31148 func (m *ExternalIdentity) Marshal() (dAtA []byte, err error) { 31149 size := m.Size() 31150 dAtA = make([]byte, size) 31151 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31152 if err != nil { 31153 return nil, err 31154 } 31155 return dAtA[:n], nil 31156 } 31157 31158 func (m *ExternalIdentity) MarshalTo(dAtA []byte) (int, error) { 31159 size := m.Size() 31160 return m.MarshalToSizedBuffer(dAtA[:size]) 31161 } 31162 31163 func (m *ExternalIdentity) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31164 i := len(dAtA) 31165 _ = i 31166 var l int 31167 _ = l 31168 if m.XXX_unrecognized != nil { 31169 i -= len(m.XXX_unrecognized) 31170 copy(dAtA[i:], m.XXX_unrecognized) 31171 } 31172 if len(m.Username) > 0 { 31173 i -= len(m.Username) 31174 copy(dAtA[i:], m.Username) 31175 i = encodeVarintTypes(dAtA, i, uint64(len(m.Username))) 31176 i-- 31177 dAtA[i] = 0x12 31178 } 31179 if len(m.ConnectorID) > 0 { 31180 i -= len(m.ConnectorID) 31181 copy(dAtA[i:], m.ConnectorID) 31182 i = encodeVarintTypes(dAtA, i, uint64(len(m.ConnectorID))) 31183 i-- 31184 dAtA[i] = 0xa 31185 } 31186 return len(dAtA) - i, nil 31187 } 31188 31189 func (m *LoginStatus) Marshal() (dAtA []byte, err error) { 31190 size := m.Size() 31191 dAtA = make([]byte, size) 31192 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31193 if err != nil { 31194 return nil, err 31195 } 31196 return dAtA[:n], nil 31197 } 31198 31199 func (m *LoginStatus) MarshalTo(dAtA []byte) (int, error) { 31200 size := m.Size() 31201 return m.MarshalToSizedBuffer(dAtA[:size]) 31202 } 31203 31204 func (m *LoginStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31205 i := len(dAtA) 31206 _ = i 31207 var l int 31208 _ = l 31209 if m.XXX_unrecognized != nil { 31210 i -= len(m.XXX_unrecognized) 31211 copy(dAtA[i:], m.XXX_unrecognized) 31212 } 31213 n176, err176 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.LockExpires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.LockExpires):]) 31214 if err176 != nil { 31215 return 0, err176 31216 } 31217 i -= n176 31218 i = encodeVarintTypes(dAtA, i, uint64(n176)) 31219 i-- 31220 dAtA[i] = 0x22 31221 n177, err177 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.LockedTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.LockedTime):]) 31222 if err177 != nil { 31223 return 0, err177 31224 } 31225 i -= n177 31226 i = encodeVarintTypes(dAtA, i, uint64(n177)) 31227 i-- 31228 dAtA[i] = 0x1a 31229 if len(m.LockedMessage) > 0 { 31230 i -= len(m.LockedMessage) 31231 copy(dAtA[i:], m.LockedMessage) 31232 i = encodeVarintTypes(dAtA, i, uint64(len(m.LockedMessage))) 31233 i-- 31234 dAtA[i] = 0x12 31235 } 31236 if m.IsLocked { 31237 i-- 31238 if m.IsLocked { 31239 dAtA[i] = 1 31240 } else { 31241 dAtA[i] = 0 31242 } 31243 i-- 31244 dAtA[i] = 0x8 31245 } 31246 return len(dAtA) - i, nil 31247 } 31248 31249 func (m *CreatedBy) Marshal() (dAtA []byte, err error) { 31250 size := m.Size() 31251 dAtA = make([]byte, size) 31252 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31253 if err != nil { 31254 return nil, err 31255 } 31256 return dAtA[:n], nil 31257 } 31258 31259 func (m *CreatedBy) MarshalTo(dAtA []byte) (int, error) { 31260 size := m.Size() 31261 return m.MarshalToSizedBuffer(dAtA[:size]) 31262 } 31263 31264 func (m *CreatedBy) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31265 i := len(dAtA) 31266 _ = i 31267 var l int 31268 _ = l 31269 if m.XXX_unrecognized != nil { 31270 i -= len(m.XXX_unrecognized) 31271 copy(dAtA[i:], m.XXX_unrecognized) 31272 } 31273 { 31274 size, err := m.User.MarshalToSizedBuffer(dAtA[:i]) 31275 if err != nil { 31276 return 0, err 31277 } 31278 i -= size 31279 i = encodeVarintTypes(dAtA, i, uint64(size)) 31280 } 31281 i-- 31282 dAtA[i] = 0x1a 31283 n179, err179 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Time):]) 31284 if err179 != nil { 31285 return 0, err179 31286 } 31287 i -= n179 31288 i = encodeVarintTypes(dAtA, i, uint64(n179)) 31289 i-- 31290 dAtA[i] = 0x12 31291 if m.Connector != nil { 31292 { 31293 size, err := m.Connector.MarshalToSizedBuffer(dAtA[:i]) 31294 if err != nil { 31295 return 0, err 31296 } 31297 i -= size 31298 i = encodeVarintTypes(dAtA, i, uint64(size)) 31299 } 31300 i-- 31301 dAtA[i] = 0xa 31302 } 31303 return len(dAtA) - i, nil 31304 } 31305 31306 func (m *LocalAuthSecrets) Marshal() (dAtA []byte, err error) { 31307 size := m.Size() 31308 dAtA = make([]byte, size) 31309 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31310 if err != nil { 31311 return nil, err 31312 } 31313 return dAtA[:n], nil 31314 } 31315 31316 func (m *LocalAuthSecrets) MarshalTo(dAtA []byte) (int, error) { 31317 size := m.Size() 31318 return m.MarshalToSizedBuffer(dAtA[:size]) 31319 } 31320 31321 func (m *LocalAuthSecrets) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31322 i := len(dAtA) 31323 _ = i 31324 var l int 31325 _ = l 31326 if m.XXX_unrecognized != nil { 31327 i -= len(m.XXX_unrecognized) 31328 copy(dAtA[i:], m.XXX_unrecognized) 31329 } 31330 if m.Webauthn != nil { 31331 { 31332 size, err := m.Webauthn.MarshalToSizedBuffer(dAtA[:i]) 31333 if err != nil { 31334 return 0, err 31335 } 31336 i -= size 31337 i = encodeVarintTypes(dAtA, i, uint64(size)) 31338 } 31339 i-- 31340 dAtA[i] = 0x32 31341 } 31342 if len(m.MFA) > 0 { 31343 for iNdEx := len(m.MFA) - 1; iNdEx >= 0; iNdEx-- { 31344 { 31345 size, err := m.MFA[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 31346 if err != nil { 31347 return 0, err 31348 } 31349 i -= size 31350 i = encodeVarintTypes(dAtA, i, uint64(size)) 31351 } 31352 i-- 31353 dAtA[i] = 0x2a 31354 } 31355 } 31356 if len(m.TOTPKey) > 0 { 31357 i -= len(m.TOTPKey) 31358 copy(dAtA[i:], m.TOTPKey) 31359 i = encodeVarintTypes(dAtA, i, uint64(len(m.TOTPKey))) 31360 i-- 31361 dAtA[i] = 0x12 31362 } 31363 if len(m.PasswordHash) > 0 { 31364 i -= len(m.PasswordHash) 31365 copy(dAtA[i:], m.PasswordHash) 31366 i = encodeVarintTypes(dAtA, i, uint64(len(m.PasswordHash))) 31367 i-- 31368 dAtA[i] = 0xa 31369 } 31370 return len(dAtA) - i, nil 31371 } 31372 31373 func (m *MFADevice) Marshal() (dAtA []byte, err error) { 31374 size := m.Size() 31375 dAtA = make([]byte, size) 31376 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31377 if err != nil { 31378 return nil, err 31379 } 31380 return dAtA[:n], nil 31381 } 31382 31383 func (m *MFADevice) MarshalTo(dAtA []byte) (int, error) { 31384 size := m.Size() 31385 return m.MarshalToSizedBuffer(dAtA[:size]) 31386 } 31387 31388 func (m *MFADevice) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31389 i := len(dAtA) 31390 _ = i 31391 var l int 31392 _ = l 31393 if m.XXX_unrecognized != nil { 31394 i -= len(m.XXX_unrecognized) 31395 copy(dAtA[i:], m.XXX_unrecognized) 31396 } 31397 if m.Device != nil { 31398 { 31399 size := m.Device.Size() 31400 i -= size 31401 if _, err := m.Device.MarshalTo(dAtA[i:]); err != nil { 31402 return 0, err 31403 } 31404 } 31405 } 31406 n182, err182 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.LastUsed, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.LastUsed):]) 31407 if err182 != nil { 31408 return 0, err182 31409 } 31410 i -= n182 31411 i = encodeVarintTypes(dAtA, i, uint64(n182)) 31412 i-- 31413 dAtA[i] = 0x3a 31414 n183, err183 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.AddedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.AddedAt):]) 31415 if err183 != nil { 31416 return 0, err183 31417 } 31418 i -= n183 31419 i = encodeVarintTypes(dAtA, i, uint64(n183)) 31420 i-- 31421 dAtA[i] = 0x32 31422 if len(m.Id) > 0 { 31423 i -= len(m.Id) 31424 copy(dAtA[i:], m.Id) 31425 i = encodeVarintTypes(dAtA, i, uint64(len(m.Id))) 31426 i-- 31427 dAtA[i] = 0x2a 31428 } 31429 { 31430 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 31431 if err != nil { 31432 return 0, err 31433 } 31434 i -= size 31435 i = encodeVarintTypes(dAtA, i, uint64(size)) 31436 } 31437 i-- 31438 dAtA[i] = 0x22 31439 if len(m.Version) > 0 { 31440 i -= len(m.Version) 31441 copy(dAtA[i:], m.Version) 31442 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 31443 i-- 31444 dAtA[i] = 0x1a 31445 } 31446 if len(m.SubKind) > 0 { 31447 i -= len(m.SubKind) 31448 copy(dAtA[i:], m.SubKind) 31449 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 31450 i-- 31451 dAtA[i] = 0x12 31452 } 31453 if len(m.Kind) > 0 { 31454 i -= len(m.Kind) 31455 copy(dAtA[i:], m.Kind) 31456 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 31457 i-- 31458 dAtA[i] = 0xa 31459 } 31460 return len(dAtA) - i, nil 31461 } 31462 31463 func (m *MFADevice_Totp) MarshalTo(dAtA []byte) (int, error) { 31464 size := m.Size() 31465 return m.MarshalToSizedBuffer(dAtA[:size]) 31466 } 31467 31468 func (m *MFADevice_Totp) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31469 i := len(dAtA) 31470 if m.Totp != nil { 31471 { 31472 size, err := m.Totp.MarshalToSizedBuffer(dAtA[:i]) 31473 if err != nil { 31474 return 0, err 31475 } 31476 i -= size 31477 i = encodeVarintTypes(dAtA, i, uint64(size)) 31478 } 31479 i-- 31480 dAtA[i] = 0x42 31481 } 31482 return len(dAtA) - i, nil 31483 } 31484 func (m *MFADevice_U2F) MarshalTo(dAtA []byte) (int, error) { 31485 size := m.Size() 31486 return m.MarshalToSizedBuffer(dAtA[:size]) 31487 } 31488 31489 func (m *MFADevice_U2F) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31490 i := len(dAtA) 31491 if m.U2F != nil { 31492 { 31493 size, err := m.U2F.MarshalToSizedBuffer(dAtA[:i]) 31494 if err != nil { 31495 return 0, err 31496 } 31497 i -= size 31498 i = encodeVarintTypes(dAtA, i, uint64(size)) 31499 } 31500 i-- 31501 dAtA[i] = 0x4a 31502 } 31503 return len(dAtA) - i, nil 31504 } 31505 func (m *MFADevice_Webauthn) MarshalTo(dAtA []byte) (int, error) { 31506 size := m.Size() 31507 return m.MarshalToSizedBuffer(dAtA[:size]) 31508 } 31509 31510 func (m *MFADevice_Webauthn) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31511 i := len(dAtA) 31512 if m.Webauthn != nil { 31513 { 31514 size, err := m.Webauthn.MarshalToSizedBuffer(dAtA[:i]) 31515 if err != nil { 31516 return 0, err 31517 } 31518 i -= size 31519 i = encodeVarintTypes(dAtA, i, uint64(size)) 31520 } 31521 i-- 31522 dAtA[i] = 0x52 31523 } 31524 return len(dAtA) - i, nil 31525 } 31526 func (m *TOTPDevice) Marshal() (dAtA []byte, err error) { 31527 size := m.Size() 31528 dAtA = make([]byte, size) 31529 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31530 if err != nil { 31531 return nil, err 31532 } 31533 return dAtA[:n], nil 31534 } 31535 31536 func (m *TOTPDevice) MarshalTo(dAtA []byte) (int, error) { 31537 size := m.Size() 31538 return m.MarshalToSizedBuffer(dAtA[:size]) 31539 } 31540 31541 func (m *TOTPDevice) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31542 i := len(dAtA) 31543 _ = i 31544 var l int 31545 _ = l 31546 if m.XXX_unrecognized != nil { 31547 i -= len(m.XXX_unrecognized) 31548 copy(dAtA[i:], m.XXX_unrecognized) 31549 } 31550 if len(m.Key) > 0 { 31551 i -= len(m.Key) 31552 copy(dAtA[i:], m.Key) 31553 i = encodeVarintTypes(dAtA, i, uint64(len(m.Key))) 31554 i-- 31555 dAtA[i] = 0xa 31556 } 31557 return len(dAtA) - i, nil 31558 } 31559 31560 func (m *U2FDevice) Marshal() (dAtA []byte, err error) { 31561 size := m.Size() 31562 dAtA = make([]byte, size) 31563 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31564 if err != nil { 31565 return nil, err 31566 } 31567 return dAtA[:n], nil 31568 } 31569 31570 func (m *U2FDevice) MarshalTo(dAtA []byte) (int, error) { 31571 size := m.Size() 31572 return m.MarshalToSizedBuffer(dAtA[:size]) 31573 } 31574 31575 func (m *U2FDevice) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31576 i := len(dAtA) 31577 _ = i 31578 var l int 31579 _ = l 31580 if m.XXX_unrecognized != nil { 31581 i -= len(m.XXX_unrecognized) 31582 copy(dAtA[i:], m.XXX_unrecognized) 31583 } 31584 if m.Counter != 0 { 31585 i = encodeVarintTypes(dAtA, i, uint64(m.Counter)) 31586 i-- 31587 dAtA[i] = 0x18 31588 } 31589 if len(m.PubKey) > 0 { 31590 i -= len(m.PubKey) 31591 copy(dAtA[i:], m.PubKey) 31592 i = encodeVarintTypes(dAtA, i, uint64(len(m.PubKey))) 31593 i-- 31594 dAtA[i] = 0x12 31595 } 31596 if len(m.KeyHandle) > 0 { 31597 i -= len(m.KeyHandle) 31598 copy(dAtA[i:], m.KeyHandle) 31599 i = encodeVarintTypes(dAtA, i, uint64(len(m.KeyHandle))) 31600 i-- 31601 dAtA[i] = 0xa 31602 } 31603 return len(dAtA) - i, nil 31604 } 31605 31606 func (m *WebauthnDevice) Marshal() (dAtA []byte, err error) { 31607 size := m.Size() 31608 dAtA = make([]byte, size) 31609 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31610 if err != nil { 31611 return nil, err 31612 } 31613 return dAtA[:n], nil 31614 } 31615 31616 func (m *WebauthnDevice) MarshalTo(dAtA []byte) (int, error) { 31617 size := m.Size() 31618 return m.MarshalToSizedBuffer(dAtA[:size]) 31619 } 31620 31621 func (m *WebauthnDevice) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31622 i := len(dAtA) 31623 _ = i 31624 var l int 31625 _ = l 31626 if m.XXX_unrecognized != nil { 31627 i -= len(m.XXX_unrecognized) 31628 copy(dAtA[i:], m.XXX_unrecognized) 31629 } 31630 if len(m.CredentialRpId) > 0 { 31631 i -= len(m.CredentialRpId) 31632 copy(dAtA[i:], m.CredentialRpId) 31633 i = encodeVarintTypes(dAtA, i, uint64(len(m.CredentialRpId))) 31634 i-- 31635 dAtA[i] = 0x42 31636 } 31637 if m.ResidentKey { 31638 i-- 31639 if m.ResidentKey { 31640 dAtA[i] = 1 31641 } else { 31642 dAtA[i] = 0 31643 } 31644 i-- 31645 dAtA[i] = 0x38 31646 } 31647 if len(m.AttestationObject) > 0 { 31648 i -= len(m.AttestationObject) 31649 copy(dAtA[i:], m.AttestationObject) 31650 i = encodeVarintTypes(dAtA, i, uint64(len(m.AttestationObject))) 31651 i-- 31652 dAtA[i] = 0x32 31653 } 31654 if m.SignatureCounter != 0 { 31655 i = encodeVarintTypes(dAtA, i, uint64(m.SignatureCounter)) 31656 i-- 31657 dAtA[i] = 0x28 31658 } 31659 if len(m.Aaguid) > 0 { 31660 i -= len(m.Aaguid) 31661 copy(dAtA[i:], m.Aaguid) 31662 i = encodeVarintTypes(dAtA, i, uint64(len(m.Aaguid))) 31663 i-- 31664 dAtA[i] = 0x22 31665 } 31666 if len(m.AttestationType) > 0 { 31667 i -= len(m.AttestationType) 31668 copy(dAtA[i:], m.AttestationType) 31669 i = encodeVarintTypes(dAtA, i, uint64(len(m.AttestationType))) 31670 i-- 31671 dAtA[i] = 0x1a 31672 } 31673 if len(m.PublicKeyCbor) > 0 { 31674 i -= len(m.PublicKeyCbor) 31675 copy(dAtA[i:], m.PublicKeyCbor) 31676 i = encodeVarintTypes(dAtA, i, uint64(len(m.PublicKeyCbor))) 31677 i-- 31678 dAtA[i] = 0x12 31679 } 31680 if len(m.CredentialId) > 0 { 31681 i -= len(m.CredentialId) 31682 copy(dAtA[i:], m.CredentialId) 31683 i = encodeVarintTypes(dAtA, i, uint64(len(m.CredentialId))) 31684 i-- 31685 dAtA[i] = 0xa 31686 } 31687 return len(dAtA) - i, nil 31688 } 31689 31690 func (m *WebauthnLocalAuth) Marshal() (dAtA []byte, err error) { 31691 size := m.Size() 31692 dAtA = make([]byte, size) 31693 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31694 if err != nil { 31695 return nil, err 31696 } 31697 return dAtA[:n], nil 31698 } 31699 31700 func (m *WebauthnLocalAuth) MarshalTo(dAtA []byte) (int, error) { 31701 size := m.Size() 31702 return m.MarshalToSizedBuffer(dAtA[:size]) 31703 } 31704 31705 func (m *WebauthnLocalAuth) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31706 i := len(dAtA) 31707 _ = i 31708 var l int 31709 _ = l 31710 if m.XXX_unrecognized != nil { 31711 i -= len(m.XXX_unrecognized) 31712 copy(dAtA[i:], m.XXX_unrecognized) 31713 } 31714 if len(m.UserID) > 0 { 31715 i -= len(m.UserID) 31716 copy(dAtA[i:], m.UserID) 31717 i = encodeVarintTypes(dAtA, i, uint64(len(m.UserID))) 31718 i-- 31719 dAtA[i] = 0xa 31720 } 31721 return len(dAtA) - i, nil 31722 } 31723 31724 func (m *ConnectorRef) Marshal() (dAtA []byte, err error) { 31725 size := m.Size() 31726 dAtA = make([]byte, size) 31727 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31728 if err != nil { 31729 return nil, err 31730 } 31731 return dAtA[:n], nil 31732 } 31733 31734 func (m *ConnectorRef) MarshalTo(dAtA []byte) (int, error) { 31735 size := m.Size() 31736 return m.MarshalToSizedBuffer(dAtA[:size]) 31737 } 31738 31739 func (m *ConnectorRef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31740 i := len(dAtA) 31741 _ = i 31742 var l int 31743 _ = l 31744 if m.XXX_unrecognized != nil { 31745 i -= len(m.XXX_unrecognized) 31746 copy(dAtA[i:], m.XXX_unrecognized) 31747 } 31748 if len(m.Identity) > 0 { 31749 i -= len(m.Identity) 31750 copy(dAtA[i:], m.Identity) 31751 i = encodeVarintTypes(dAtA, i, uint64(len(m.Identity))) 31752 i-- 31753 dAtA[i] = 0x1a 31754 } 31755 if len(m.ID) > 0 { 31756 i -= len(m.ID) 31757 copy(dAtA[i:], m.ID) 31758 i = encodeVarintTypes(dAtA, i, uint64(len(m.ID))) 31759 i-- 31760 dAtA[i] = 0x12 31761 } 31762 if len(m.Type) > 0 { 31763 i -= len(m.Type) 31764 copy(dAtA[i:], m.Type) 31765 i = encodeVarintTypes(dAtA, i, uint64(len(m.Type))) 31766 i-- 31767 dAtA[i] = 0xa 31768 } 31769 return len(dAtA) - i, nil 31770 } 31771 31772 func (m *UserRef) Marshal() (dAtA []byte, err error) { 31773 size := m.Size() 31774 dAtA = make([]byte, size) 31775 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31776 if err != nil { 31777 return nil, err 31778 } 31779 return dAtA[:n], nil 31780 } 31781 31782 func (m *UserRef) MarshalTo(dAtA []byte) (int, error) { 31783 size := m.Size() 31784 return m.MarshalToSizedBuffer(dAtA[:size]) 31785 } 31786 31787 func (m *UserRef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31788 i := len(dAtA) 31789 _ = i 31790 var l int 31791 _ = l 31792 if m.XXX_unrecognized != nil { 31793 i -= len(m.XXX_unrecognized) 31794 copy(dAtA[i:], m.XXX_unrecognized) 31795 } 31796 if len(m.Name) > 0 { 31797 i -= len(m.Name) 31798 copy(dAtA[i:], m.Name) 31799 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 31800 i-- 31801 dAtA[i] = 0xa 31802 } 31803 return len(dAtA) - i, nil 31804 } 31805 31806 func (m *ReverseTunnelV2) Marshal() (dAtA []byte, err error) { 31807 size := m.Size() 31808 dAtA = make([]byte, size) 31809 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31810 if err != nil { 31811 return nil, err 31812 } 31813 return dAtA[:n], nil 31814 } 31815 31816 func (m *ReverseTunnelV2) MarshalTo(dAtA []byte) (int, error) { 31817 size := m.Size() 31818 return m.MarshalToSizedBuffer(dAtA[:size]) 31819 } 31820 31821 func (m *ReverseTunnelV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31822 i := len(dAtA) 31823 _ = i 31824 var l int 31825 _ = l 31826 if m.XXX_unrecognized != nil { 31827 i -= len(m.XXX_unrecognized) 31828 copy(dAtA[i:], m.XXX_unrecognized) 31829 } 31830 { 31831 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 31832 if err != nil { 31833 return 0, err 31834 } 31835 i -= size 31836 i = encodeVarintTypes(dAtA, i, uint64(size)) 31837 } 31838 i-- 31839 dAtA[i] = 0x2a 31840 { 31841 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 31842 if err != nil { 31843 return 0, err 31844 } 31845 i -= size 31846 i = encodeVarintTypes(dAtA, i, uint64(size)) 31847 } 31848 i-- 31849 dAtA[i] = 0x22 31850 if len(m.Version) > 0 { 31851 i -= len(m.Version) 31852 copy(dAtA[i:], m.Version) 31853 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 31854 i-- 31855 dAtA[i] = 0x1a 31856 } 31857 if len(m.SubKind) > 0 { 31858 i -= len(m.SubKind) 31859 copy(dAtA[i:], m.SubKind) 31860 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 31861 i-- 31862 dAtA[i] = 0x12 31863 } 31864 if len(m.Kind) > 0 { 31865 i -= len(m.Kind) 31866 copy(dAtA[i:], m.Kind) 31867 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 31868 i-- 31869 dAtA[i] = 0xa 31870 } 31871 return len(dAtA) - i, nil 31872 } 31873 31874 func (m *ReverseTunnelSpecV2) Marshal() (dAtA []byte, err error) { 31875 size := m.Size() 31876 dAtA = make([]byte, size) 31877 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31878 if err != nil { 31879 return nil, err 31880 } 31881 return dAtA[:n], nil 31882 } 31883 31884 func (m *ReverseTunnelSpecV2) MarshalTo(dAtA []byte) (int, error) { 31885 size := m.Size() 31886 return m.MarshalToSizedBuffer(dAtA[:size]) 31887 } 31888 31889 func (m *ReverseTunnelSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31890 i := len(dAtA) 31891 _ = i 31892 var l int 31893 _ = l 31894 if m.XXX_unrecognized != nil { 31895 i -= len(m.XXX_unrecognized) 31896 copy(dAtA[i:], m.XXX_unrecognized) 31897 } 31898 if len(m.Type) > 0 { 31899 i -= len(m.Type) 31900 copy(dAtA[i:], m.Type) 31901 i = encodeVarintTypes(dAtA, i, uint64(len(m.Type))) 31902 i-- 31903 dAtA[i] = 0x1a 31904 } 31905 if len(m.DialAddrs) > 0 { 31906 for iNdEx := len(m.DialAddrs) - 1; iNdEx >= 0; iNdEx-- { 31907 i -= len(m.DialAddrs[iNdEx]) 31908 copy(dAtA[i:], m.DialAddrs[iNdEx]) 31909 i = encodeVarintTypes(dAtA, i, uint64(len(m.DialAddrs[iNdEx]))) 31910 i-- 31911 dAtA[i] = 0x12 31912 } 31913 } 31914 if len(m.ClusterName) > 0 { 31915 i -= len(m.ClusterName) 31916 copy(dAtA[i:], m.ClusterName) 31917 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClusterName))) 31918 i-- 31919 dAtA[i] = 0xa 31920 } 31921 return len(dAtA) - i, nil 31922 } 31923 31924 func (m *TunnelConnectionV2) Marshal() (dAtA []byte, err error) { 31925 size := m.Size() 31926 dAtA = make([]byte, size) 31927 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31928 if err != nil { 31929 return nil, err 31930 } 31931 return dAtA[:n], nil 31932 } 31933 31934 func (m *TunnelConnectionV2) MarshalTo(dAtA []byte) (int, error) { 31935 size := m.Size() 31936 return m.MarshalToSizedBuffer(dAtA[:size]) 31937 } 31938 31939 func (m *TunnelConnectionV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31940 i := len(dAtA) 31941 _ = i 31942 var l int 31943 _ = l 31944 if m.XXX_unrecognized != nil { 31945 i -= len(m.XXX_unrecognized) 31946 copy(dAtA[i:], m.XXX_unrecognized) 31947 } 31948 { 31949 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 31950 if err != nil { 31951 return 0, err 31952 } 31953 i -= size 31954 i = encodeVarintTypes(dAtA, i, uint64(size)) 31955 } 31956 i-- 31957 dAtA[i] = 0x2a 31958 { 31959 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 31960 if err != nil { 31961 return 0, err 31962 } 31963 i -= size 31964 i = encodeVarintTypes(dAtA, i, uint64(size)) 31965 } 31966 i-- 31967 dAtA[i] = 0x22 31968 if len(m.Version) > 0 { 31969 i -= len(m.Version) 31970 copy(dAtA[i:], m.Version) 31971 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 31972 i-- 31973 dAtA[i] = 0x1a 31974 } 31975 if len(m.SubKind) > 0 { 31976 i -= len(m.SubKind) 31977 copy(dAtA[i:], m.SubKind) 31978 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 31979 i-- 31980 dAtA[i] = 0x12 31981 } 31982 if len(m.Kind) > 0 { 31983 i -= len(m.Kind) 31984 copy(dAtA[i:], m.Kind) 31985 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 31986 i-- 31987 dAtA[i] = 0xa 31988 } 31989 return len(dAtA) - i, nil 31990 } 31991 31992 func (m *TunnelConnectionSpecV2) Marshal() (dAtA []byte, err error) { 31993 size := m.Size() 31994 dAtA = make([]byte, size) 31995 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31996 if err != nil { 31997 return nil, err 31998 } 31999 return dAtA[:n], nil 32000 } 32001 32002 func (m *TunnelConnectionSpecV2) MarshalTo(dAtA []byte) (int, error) { 32003 size := m.Size() 32004 return m.MarshalToSizedBuffer(dAtA[:size]) 32005 } 32006 32007 func (m *TunnelConnectionSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32008 i := len(dAtA) 32009 _ = i 32010 var l int 32011 _ = l 32012 if m.XXX_unrecognized != nil { 32013 i -= len(m.XXX_unrecognized) 32014 copy(dAtA[i:], m.XXX_unrecognized) 32015 } 32016 if len(m.Type) > 0 { 32017 i -= len(m.Type) 32018 copy(dAtA[i:], m.Type) 32019 i = encodeVarintTypes(dAtA, i, uint64(len(m.Type))) 32020 i-- 32021 dAtA[i] = 0x22 32022 } 32023 n192, err192 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.LastHeartbeat, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.LastHeartbeat):]) 32024 if err192 != nil { 32025 return 0, err192 32026 } 32027 i -= n192 32028 i = encodeVarintTypes(dAtA, i, uint64(n192)) 32029 i-- 32030 dAtA[i] = 0x1a 32031 if len(m.ProxyName) > 0 { 32032 i -= len(m.ProxyName) 32033 copy(dAtA[i:], m.ProxyName) 32034 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProxyName))) 32035 i-- 32036 dAtA[i] = 0x12 32037 } 32038 if len(m.ClusterName) > 0 { 32039 i -= len(m.ClusterName) 32040 copy(dAtA[i:], m.ClusterName) 32041 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClusterName))) 32042 i-- 32043 dAtA[i] = 0xa 32044 } 32045 return len(dAtA) - i, nil 32046 } 32047 32048 func (m *SemaphoreFilter) Marshal() (dAtA []byte, err error) { 32049 size := m.Size() 32050 dAtA = make([]byte, size) 32051 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32052 if err != nil { 32053 return nil, err 32054 } 32055 return dAtA[:n], nil 32056 } 32057 32058 func (m *SemaphoreFilter) MarshalTo(dAtA []byte) (int, error) { 32059 size := m.Size() 32060 return m.MarshalToSizedBuffer(dAtA[:size]) 32061 } 32062 32063 func (m *SemaphoreFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32064 i := len(dAtA) 32065 _ = i 32066 var l int 32067 _ = l 32068 if m.XXX_unrecognized != nil { 32069 i -= len(m.XXX_unrecognized) 32070 copy(dAtA[i:], m.XXX_unrecognized) 32071 } 32072 if len(m.SemaphoreName) > 0 { 32073 i -= len(m.SemaphoreName) 32074 copy(dAtA[i:], m.SemaphoreName) 32075 i = encodeVarintTypes(dAtA, i, uint64(len(m.SemaphoreName))) 32076 i-- 32077 dAtA[i] = 0x12 32078 } 32079 if len(m.SemaphoreKind) > 0 { 32080 i -= len(m.SemaphoreKind) 32081 copy(dAtA[i:], m.SemaphoreKind) 32082 i = encodeVarintTypes(dAtA, i, uint64(len(m.SemaphoreKind))) 32083 i-- 32084 dAtA[i] = 0xa 32085 } 32086 return len(dAtA) - i, nil 32087 } 32088 32089 func (m *AcquireSemaphoreRequest) Marshal() (dAtA []byte, err error) { 32090 size := m.Size() 32091 dAtA = make([]byte, size) 32092 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32093 if err != nil { 32094 return nil, err 32095 } 32096 return dAtA[:n], nil 32097 } 32098 32099 func (m *AcquireSemaphoreRequest) MarshalTo(dAtA []byte) (int, error) { 32100 size := m.Size() 32101 return m.MarshalToSizedBuffer(dAtA[:size]) 32102 } 32103 32104 func (m *AcquireSemaphoreRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32105 i := len(dAtA) 32106 _ = i 32107 var l int 32108 _ = l 32109 if m.XXX_unrecognized != nil { 32110 i -= len(m.XXX_unrecognized) 32111 copy(dAtA[i:], m.XXX_unrecognized) 32112 } 32113 if len(m.Holder) > 0 { 32114 i -= len(m.Holder) 32115 copy(dAtA[i:], m.Holder) 32116 i = encodeVarintTypes(dAtA, i, uint64(len(m.Holder))) 32117 i-- 32118 dAtA[i] = 0x2a 32119 } 32120 n193, err193 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires):]) 32121 if err193 != nil { 32122 return 0, err193 32123 } 32124 i -= n193 32125 i = encodeVarintTypes(dAtA, i, uint64(n193)) 32126 i-- 32127 dAtA[i] = 0x22 32128 if m.MaxLeases != 0 { 32129 i = encodeVarintTypes(dAtA, i, uint64(m.MaxLeases)) 32130 i-- 32131 dAtA[i] = 0x18 32132 } 32133 if len(m.SemaphoreName) > 0 { 32134 i -= len(m.SemaphoreName) 32135 copy(dAtA[i:], m.SemaphoreName) 32136 i = encodeVarintTypes(dAtA, i, uint64(len(m.SemaphoreName))) 32137 i-- 32138 dAtA[i] = 0x12 32139 } 32140 if len(m.SemaphoreKind) > 0 { 32141 i -= len(m.SemaphoreKind) 32142 copy(dAtA[i:], m.SemaphoreKind) 32143 i = encodeVarintTypes(dAtA, i, uint64(len(m.SemaphoreKind))) 32144 i-- 32145 dAtA[i] = 0xa 32146 } 32147 return len(dAtA) - i, nil 32148 } 32149 32150 func (m *SemaphoreLease) Marshal() (dAtA []byte, err error) { 32151 size := m.Size() 32152 dAtA = make([]byte, size) 32153 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32154 if err != nil { 32155 return nil, err 32156 } 32157 return dAtA[:n], nil 32158 } 32159 32160 func (m *SemaphoreLease) MarshalTo(dAtA []byte) (int, error) { 32161 size := m.Size() 32162 return m.MarshalToSizedBuffer(dAtA[:size]) 32163 } 32164 32165 func (m *SemaphoreLease) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32166 i := len(dAtA) 32167 _ = i 32168 var l int 32169 _ = l 32170 if m.XXX_unrecognized != nil { 32171 i -= len(m.XXX_unrecognized) 32172 copy(dAtA[i:], m.XXX_unrecognized) 32173 } 32174 n194, err194 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires):]) 32175 if err194 != nil { 32176 return 0, err194 32177 } 32178 i -= n194 32179 i = encodeVarintTypes(dAtA, i, uint64(n194)) 32180 i-- 32181 dAtA[i] = 0x2a 32182 if len(m.LeaseID) > 0 { 32183 i -= len(m.LeaseID) 32184 copy(dAtA[i:], m.LeaseID) 32185 i = encodeVarintTypes(dAtA, i, uint64(len(m.LeaseID))) 32186 i-- 32187 dAtA[i] = 0x1a 32188 } 32189 if len(m.SemaphoreName) > 0 { 32190 i -= len(m.SemaphoreName) 32191 copy(dAtA[i:], m.SemaphoreName) 32192 i = encodeVarintTypes(dAtA, i, uint64(len(m.SemaphoreName))) 32193 i-- 32194 dAtA[i] = 0x12 32195 } 32196 if len(m.SemaphoreKind) > 0 { 32197 i -= len(m.SemaphoreKind) 32198 copy(dAtA[i:], m.SemaphoreKind) 32199 i = encodeVarintTypes(dAtA, i, uint64(len(m.SemaphoreKind))) 32200 i-- 32201 dAtA[i] = 0xa 32202 } 32203 return len(dAtA) - i, nil 32204 } 32205 32206 func (m *SemaphoreLeaseRef) Marshal() (dAtA []byte, err error) { 32207 size := m.Size() 32208 dAtA = make([]byte, size) 32209 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32210 if err != nil { 32211 return nil, err 32212 } 32213 return dAtA[:n], nil 32214 } 32215 32216 func (m *SemaphoreLeaseRef) MarshalTo(dAtA []byte) (int, error) { 32217 size := m.Size() 32218 return m.MarshalToSizedBuffer(dAtA[:size]) 32219 } 32220 32221 func (m *SemaphoreLeaseRef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32222 i := len(dAtA) 32223 _ = i 32224 var l int 32225 _ = l 32226 if m.XXX_unrecognized != nil { 32227 i -= len(m.XXX_unrecognized) 32228 copy(dAtA[i:], m.XXX_unrecognized) 32229 } 32230 if len(m.Holder) > 0 { 32231 i -= len(m.Holder) 32232 copy(dAtA[i:], m.Holder) 32233 i = encodeVarintTypes(dAtA, i, uint64(len(m.Holder))) 32234 i-- 32235 dAtA[i] = 0x1a 32236 } 32237 n195, err195 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires):]) 32238 if err195 != nil { 32239 return 0, err195 32240 } 32241 i -= n195 32242 i = encodeVarintTypes(dAtA, i, uint64(n195)) 32243 i-- 32244 dAtA[i] = 0x12 32245 if len(m.LeaseID) > 0 { 32246 i -= len(m.LeaseID) 32247 copy(dAtA[i:], m.LeaseID) 32248 i = encodeVarintTypes(dAtA, i, uint64(len(m.LeaseID))) 32249 i-- 32250 dAtA[i] = 0xa 32251 } 32252 return len(dAtA) - i, nil 32253 } 32254 32255 func (m *SemaphoreV3) Marshal() (dAtA []byte, err error) { 32256 size := m.Size() 32257 dAtA = make([]byte, size) 32258 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32259 if err != nil { 32260 return nil, err 32261 } 32262 return dAtA[:n], nil 32263 } 32264 32265 func (m *SemaphoreV3) MarshalTo(dAtA []byte) (int, error) { 32266 size := m.Size() 32267 return m.MarshalToSizedBuffer(dAtA[:size]) 32268 } 32269 32270 func (m *SemaphoreV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32271 i := len(dAtA) 32272 _ = i 32273 var l int 32274 _ = l 32275 if m.XXX_unrecognized != nil { 32276 i -= len(m.XXX_unrecognized) 32277 copy(dAtA[i:], m.XXX_unrecognized) 32278 } 32279 { 32280 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 32281 if err != nil { 32282 return 0, err 32283 } 32284 i -= size 32285 i = encodeVarintTypes(dAtA, i, uint64(size)) 32286 } 32287 i-- 32288 dAtA[i] = 0x2a 32289 { 32290 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 32291 if err != nil { 32292 return 0, err 32293 } 32294 i -= size 32295 i = encodeVarintTypes(dAtA, i, uint64(size)) 32296 } 32297 i-- 32298 dAtA[i] = 0x22 32299 if len(m.Version) > 0 { 32300 i -= len(m.Version) 32301 copy(dAtA[i:], m.Version) 32302 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 32303 i-- 32304 dAtA[i] = 0x1a 32305 } 32306 if len(m.SubKind) > 0 { 32307 i -= len(m.SubKind) 32308 copy(dAtA[i:], m.SubKind) 32309 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 32310 i-- 32311 dAtA[i] = 0x12 32312 } 32313 if len(m.Kind) > 0 { 32314 i -= len(m.Kind) 32315 copy(dAtA[i:], m.Kind) 32316 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 32317 i-- 32318 dAtA[i] = 0xa 32319 } 32320 return len(dAtA) - i, nil 32321 } 32322 32323 func (m *SemaphoreSpecV3) Marshal() (dAtA []byte, err error) { 32324 size := m.Size() 32325 dAtA = make([]byte, size) 32326 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32327 if err != nil { 32328 return nil, err 32329 } 32330 return dAtA[:n], nil 32331 } 32332 32333 func (m *SemaphoreSpecV3) MarshalTo(dAtA []byte) (int, error) { 32334 size := m.Size() 32335 return m.MarshalToSizedBuffer(dAtA[:size]) 32336 } 32337 32338 func (m *SemaphoreSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32339 i := len(dAtA) 32340 _ = i 32341 var l int 32342 _ = l 32343 if m.XXX_unrecognized != nil { 32344 i -= len(m.XXX_unrecognized) 32345 copy(dAtA[i:], m.XXX_unrecognized) 32346 } 32347 if len(m.Leases) > 0 { 32348 for iNdEx := len(m.Leases) - 1; iNdEx >= 0; iNdEx-- { 32349 { 32350 size, err := m.Leases[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 32351 if err != nil { 32352 return 0, err 32353 } 32354 i -= size 32355 i = encodeVarintTypes(dAtA, i, uint64(size)) 32356 } 32357 i-- 32358 dAtA[i] = 0xa 32359 } 32360 } 32361 return len(dAtA) - i, nil 32362 } 32363 32364 func (m *WebSessionV2) Marshal() (dAtA []byte, err error) { 32365 size := m.Size() 32366 dAtA = make([]byte, size) 32367 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32368 if err != nil { 32369 return nil, err 32370 } 32371 return dAtA[:n], nil 32372 } 32373 32374 func (m *WebSessionV2) MarshalTo(dAtA []byte) (int, error) { 32375 size := m.Size() 32376 return m.MarshalToSizedBuffer(dAtA[:size]) 32377 } 32378 32379 func (m *WebSessionV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32380 i := len(dAtA) 32381 _ = i 32382 var l int 32383 _ = l 32384 if m.XXX_unrecognized != nil { 32385 i -= len(m.XXX_unrecognized) 32386 copy(dAtA[i:], m.XXX_unrecognized) 32387 } 32388 { 32389 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 32390 if err != nil { 32391 return 0, err 32392 } 32393 i -= size 32394 i = encodeVarintTypes(dAtA, i, uint64(size)) 32395 } 32396 i-- 32397 dAtA[i] = 0x2a 32398 { 32399 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 32400 if err != nil { 32401 return 0, err 32402 } 32403 i -= size 32404 i = encodeVarintTypes(dAtA, i, uint64(size)) 32405 } 32406 i-- 32407 dAtA[i] = 0x22 32408 if len(m.Version) > 0 { 32409 i -= len(m.Version) 32410 copy(dAtA[i:], m.Version) 32411 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 32412 i-- 32413 dAtA[i] = 0x1a 32414 } 32415 if len(m.SubKind) > 0 { 32416 i -= len(m.SubKind) 32417 copy(dAtA[i:], m.SubKind) 32418 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 32419 i-- 32420 dAtA[i] = 0x12 32421 } 32422 if len(m.Kind) > 0 { 32423 i -= len(m.Kind) 32424 copy(dAtA[i:], m.Kind) 32425 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 32426 i-- 32427 dAtA[i] = 0xa 32428 } 32429 return len(dAtA) - i, nil 32430 } 32431 32432 func (m *WebSessionSpecV2) Marshal() (dAtA []byte, err error) { 32433 size := m.Size() 32434 dAtA = make([]byte, size) 32435 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32436 if err != nil { 32437 return nil, err 32438 } 32439 return dAtA[:n], nil 32440 } 32441 32442 func (m *WebSessionSpecV2) MarshalTo(dAtA []byte) (int, error) { 32443 size := m.Size() 32444 return m.MarshalToSizedBuffer(dAtA[:size]) 32445 } 32446 32447 func (m *WebSessionSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32448 i := len(dAtA) 32449 _ = i 32450 var l int 32451 _ = l 32452 if m.XXX_unrecognized != nil { 32453 i -= len(m.XXX_unrecognized) 32454 copy(dAtA[i:], m.XXX_unrecognized) 32455 } 32456 if m.HasDeviceExtensions { 32457 i-- 32458 if m.HasDeviceExtensions { 32459 dAtA[i] = 1 32460 } else { 32461 dAtA[i] = 0 32462 } 32463 i-- 32464 dAtA[i] = 0x68 32465 } 32466 if m.DeviceWebToken != nil { 32467 { 32468 size, err := m.DeviceWebToken.MarshalToSizedBuffer(dAtA[:i]) 32469 if err != nil { 32470 return 0, err 32471 } 32472 i -= size 32473 i = encodeVarintTypes(dAtA, i, uint64(size)) 32474 } 32475 i-- 32476 dAtA[i] = 0x62 32477 } 32478 if m.SAMLSession != nil { 32479 { 32480 size, err := m.SAMLSession.MarshalToSizedBuffer(dAtA[:i]) 32481 if err != nil { 32482 return 0, err 32483 } 32484 i -= size 32485 i = encodeVarintTypes(dAtA, i, uint64(size)) 32486 } 32487 i-- 32488 dAtA[i] = 0x5a 32489 } 32490 if len(m.ConsumedAccessRequestID) > 0 { 32491 i -= len(m.ConsumedAccessRequestID) 32492 copy(dAtA[i:], m.ConsumedAccessRequestID) 32493 i = encodeVarintTypes(dAtA, i, uint64(len(m.ConsumedAccessRequestID))) 32494 i-- 32495 dAtA[i] = 0x52 32496 } 32497 if m.IdleTimeout != 0 { 32498 i = encodeVarintTypes(dAtA, i, uint64(m.IdleTimeout)) 32499 i-- 32500 dAtA[i] = 0x48 32501 } 32502 n202, err202 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.LoginTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.LoginTime):]) 32503 if err202 != nil { 32504 return 0, err202 32505 } 32506 i -= n202 32507 i = encodeVarintTypes(dAtA, i, uint64(n202)) 32508 i-- 32509 dAtA[i] = 0x42 32510 n203, err203 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires):]) 32511 if err203 != nil { 32512 return 0, err203 32513 } 32514 i -= n203 32515 i = encodeVarintTypes(dAtA, i, uint64(n203)) 32516 i-- 32517 dAtA[i] = 0x3a 32518 n204, err204 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.BearerTokenExpires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.BearerTokenExpires):]) 32519 if err204 != nil { 32520 return 0, err204 32521 } 32522 i -= n204 32523 i = encodeVarintTypes(dAtA, i, uint64(n204)) 32524 i-- 32525 dAtA[i] = 0x32 32526 if len(m.BearerToken) > 0 { 32527 i -= len(m.BearerToken) 32528 copy(dAtA[i:], m.BearerToken) 32529 i = encodeVarintTypes(dAtA, i, uint64(len(m.BearerToken))) 32530 i-- 32531 dAtA[i] = 0x2a 32532 } 32533 if len(m.TLSCert) > 0 { 32534 i -= len(m.TLSCert) 32535 copy(dAtA[i:], m.TLSCert) 32536 i = encodeVarintTypes(dAtA, i, uint64(len(m.TLSCert))) 32537 i-- 32538 dAtA[i] = 0x22 32539 } 32540 if len(m.Priv) > 0 { 32541 i -= len(m.Priv) 32542 copy(dAtA[i:], m.Priv) 32543 i = encodeVarintTypes(dAtA, i, uint64(len(m.Priv))) 32544 i-- 32545 dAtA[i] = 0x1a 32546 } 32547 if len(m.Pub) > 0 { 32548 i -= len(m.Pub) 32549 copy(dAtA[i:], m.Pub) 32550 i = encodeVarintTypes(dAtA, i, uint64(len(m.Pub))) 32551 i-- 32552 dAtA[i] = 0x12 32553 } 32554 if len(m.User) > 0 { 32555 i -= len(m.User) 32556 copy(dAtA[i:], m.User) 32557 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 32558 i-- 32559 dAtA[i] = 0xa 32560 } 32561 return len(dAtA) - i, nil 32562 } 32563 32564 func (m *DeviceWebToken) Marshal() (dAtA []byte, err error) { 32565 size := m.Size() 32566 dAtA = make([]byte, size) 32567 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32568 if err != nil { 32569 return nil, err 32570 } 32571 return dAtA[:n], nil 32572 } 32573 32574 func (m *DeviceWebToken) MarshalTo(dAtA []byte) (int, error) { 32575 size := m.Size() 32576 return m.MarshalToSizedBuffer(dAtA[:size]) 32577 } 32578 32579 func (m *DeviceWebToken) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32580 i := len(dAtA) 32581 _ = i 32582 var l int 32583 _ = l 32584 if m.XXX_unrecognized != nil { 32585 i -= len(m.XXX_unrecognized) 32586 copy(dAtA[i:], m.XXX_unrecognized) 32587 } 32588 if len(m.Token) > 0 { 32589 i -= len(m.Token) 32590 copy(dAtA[i:], m.Token) 32591 i = encodeVarintTypes(dAtA, i, uint64(len(m.Token))) 32592 i-- 32593 dAtA[i] = 0x12 32594 } 32595 if len(m.Id) > 0 { 32596 i -= len(m.Id) 32597 copy(dAtA[i:], m.Id) 32598 i = encodeVarintTypes(dAtA, i, uint64(len(m.Id))) 32599 i-- 32600 dAtA[i] = 0xa 32601 } 32602 return len(dAtA) - i, nil 32603 } 32604 32605 func (m *WebSessionFilter) Marshal() (dAtA []byte, err error) { 32606 size := m.Size() 32607 dAtA = make([]byte, size) 32608 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32609 if err != nil { 32610 return nil, err 32611 } 32612 return dAtA[:n], nil 32613 } 32614 32615 func (m *WebSessionFilter) MarshalTo(dAtA []byte) (int, error) { 32616 size := m.Size() 32617 return m.MarshalToSizedBuffer(dAtA[:size]) 32618 } 32619 32620 func (m *WebSessionFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32621 i := len(dAtA) 32622 _ = i 32623 var l int 32624 _ = l 32625 if m.XXX_unrecognized != nil { 32626 i -= len(m.XXX_unrecognized) 32627 copy(dAtA[i:], m.XXX_unrecognized) 32628 } 32629 if len(m.User) > 0 { 32630 i -= len(m.User) 32631 copy(dAtA[i:], m.User) 32632 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 32633 i-- 32634 dAtA[i] = 0xa 32635 } 32636 return len(dAtA) - i, nil 32637 } 32638 32639 func (m *SAMLSessionData) Marshal() (dAtA []byte, err error) { 32640 size := m.Size() 32641 dAtA = make([]byte, size) 32642 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32643 if err != nil { 32644 return nil, err 32645 } 32646 return dAtA[:n], nil 32647 } 32648 32649 func (m *SAMLSessionData) MarshalTo(dAtA []byte) (int, error) { 32650 size := m.Size() 32651 return m.MarshalToSizedBuffer(dAtA[:size]) 32652 } 32653 32654 func (m *SAMLSessionData) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32655 i := len(dAtA) 32656 _ = i 32657 var l int 32658 _ = l 32659 if m.XXX_unrecognized != nil { 32660 i -= len(m.XXX_unrecognized) 32661 copy(dAtA[i:], m.XXX_unrecognized) 32662 } 32663 if len(m.CustomAttributes) > 0 { 32664 for iNdEx := len(m.CustomAttributes) - 1; iNdEx >= 0; iNdEx-- { 32665 { 32666 size, err := m.CustomAttributes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 32667 if err != nil { 32668 return 0, err 32669 } 32670 i -= size 32671 i = encodeVarintTypes(dAtA, i, uint64(size)) 32672 } 32673 i-- 32674 dAtA[i] = 0x7a 32675 } 32676 } 32677 if len(m.UserScopedAffiliation) > 0 { 32678 i -= len(m.UserScopedAffiliation) 32679 copy(dAtA[i:], m.UserScopedAffiliation) 32680 i = encodeVarintTypes(dAtA, i, uint64(len(m.UserScopedAffiliation))) 32681 i-- 32682 dAtA[i] = 0x72 32683 } 32684 if len(m.UserGivenName) > 0 { 32685 i -= len(m.UserGivenName) 32686 copy(dAtA[i:], m.UserGivenName) 32687 i = encodeVarintTypes(dAtA, i, uint64(len(m.UserGivenName))) 32688 i-- 32689 dAtA[i] = 0x6a 32690 } 32691 if len(m.UserSurname) > 0 { 32692 i -= len(m.UserSurname) 32693 copy(dAtA[i:], m.UserSurname) 32694 i = encodeVarintTypes(dAtA, i, uint64(len(m.UserSurname))) 32695 i-- 32696 dAtA[i] = 0x62 32697 } 32698 if len(m.UserCommonName) > 0 { 32699 i -= len(m.UserCommonName) 32700 copy(dAtA[i:], m.UserCommonName) 32701 i = encodeVarintTypes(dAtA, i, uint64(len(m.UserCommonName))) 32702 i-- 32703 dAtA[i] = 0x5a 32704 } 32705 if len(m.UserEmail) > 0 { 32706 i -= len(m.UserEmail) 32707 copy(dAtA[i:], m.UserEmail) 32708 i = encodeVarintTypes(dAtA, i, uint64(len(m.UserEmail))) 32709 i-- 32710 dAtA[i] = 0x52 32711 } 32712 if len(m.UserName) > 0 { 32713 i -= len(m.UserName) 32714 copy(dAtA[i:], m.UserName) 32715 i = encodeVarintTypes(dAtA, i, uint64(len(m.UserName))) 32716 i-- 32717 dAtA[i] = 0x4a 32718 } 32719 if len(m.Groups) > 0 { 32720 for iNdEx := len(m.Groups) - 1; iNdEx >= 0; iNdEx-- { 32721 i -= len(m.Groups[iNdEx]) 32722 copy(dAtA[i:], m.Groups[iNdEx]) 32723 i = encodeVarintTypes(dAtA, i, uint64(len(m.Groups[iNdEx]))) 32724 i-- 32725 dAtA[i] = 0x42 32726 } 32727 } 32728 if len(m.SubjectID) > 0 { 32729 i -= len(m.SubjectID) 32730 copy(dAtA[i:], m.SubjectID) 32731 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubjectID))) 32732 i-- 32733 dAtA[i] = 0x3a 32734 } 32735 if len(m.NameIDFormat) > 0 { 32736 i -= len(m.NameIDFormat) 32737 copy(dAtA[i:], m.NameIDFormat) 32738 i = encodeVarintTypes(dAtA, i, uint64(len(m.NameIDFormat))) 32739 i-- 32740 dAtA[i] = 0x32 32741 } 32742 if len(m.NameID) > 0 { 32743 i -= len(m.NameID) 32744 copy(dAtA[i:], m.NameID) 32745 i = encodeVarintTypes(dAtA, i, uint64(len(m.NameID))) 32746 i-- 32747 dAtA[i] = 0x2a 32748 } 32749 if len(m.Index) > 0 { 32750 i -= len(m.Index) 32751 copy(dAtA[i:], m.Index) 32752 i = encodeVarintTypes(dAtA, i, uint64(len(m.Index))) 32753 i-- 32754 dAtA[i] = 0x22 32755 } 32756 n205, err205 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.ExpireTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.ExpireTime):]) 32757 if err205 != nil { 32758 return 0, err205 32759 } 32760 i -= n205 32761 i = encodeVarintTypes(dAtA, i, uint64(n205)) 32762 i-- 32763 dAtA[i] = 0x1a 32764 n206, err206 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CreateTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.CreateTime):]) 32765 if err206 != nil { 32766 return 0, err206 32767 } 32768 i -= n206 32769 i = encodeVarintTypes(dAtA, i, uint64(n206)) 32770 i-- 32771 dAtA[i] = 0x12 32772 if len(m.ID) > 0 { 32773 i -= len(m.ID) 32774 copy(dAtA[i:], m.ID) 32775 i = encodeVarintTypes(dAtA, i, uint64(len(m.ID))) 32776 i-- 32777 dAtA[i] = 0xa 32778 } 32779 return len(dAtA) - i, nil 32780 } 32781 32782 func (m *SAMLAttribute) Marshal() (dAtA []byte, err error) { 32783 size := m.Size() 32784 dAtA = make([]byte, size) 32785 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32786 if err != nil { 32787 return nil, err 32788 } 32789 return dAtA[:n], nil 32790 } 32791 32792 func (m *SAMLAttribute) MarshalTo(dAtA []byte) (int, error) { 32793 size := m.Size() 32794 return m.MarshalToSizedBuffer(dAtA[:size]) 32795 } 32796 32797 func (m *SAMLAttribute) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32798 i := len(dAtA) 32799 _ = i 32800 var l int 32801 _ = l 32802 if m.XXX_unrecognized != nil { 32803 i -= len(m.XXX_unrecognized) 32804 copy(dAtA[i:], m.XXX_unrecognized) 32805 } 32806 if len(m.Values) > 0 { 32807 for iNdEx := len(m.Values) - 1; iNdEx >= 0; iNdEx-- { 32808 { 32809 size, err := m.Values[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 32810 if err != nil { 32811 return 0, err 32812 } 32813 i -= size 32814 i = encodeVarintTypes(dAtA, i, uint64(size)) 32815 } 32816 i-- 32817 dAtA[i] = 0x22 32818 } 32819 } 32820 if len(m.NameFormat) > 0 { 32821 i -= len(m.NameFormat) 32822 copy(dAtA[i:], m.NameFormat) 32823 i = encodeVarintTypes(dAtA, i, uint64(len(m.NameFormat))) 32824 i-- 32825 dAtA[i] = 0x1a 32826 } 32827 if len(m.Name) > 0 { 32828 i -= len(m.Name) 32829 copy(dAtA[i:], m.Name) 32830 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 32831 i-- 32832 dAtA[i] = 0x12 32833 } 32834 if len(m.FriendlyName) > 0 { 32835 i -= len(m.FriendlyName) 32836 copy(dAtA[i:], m.FriendlyName) 32837 i = encodeVarintTypes(dAtA, i, uint64(len(m.FriendlyName))) 32838 i-- 32839 dAtA[i] = 0xa 32840 } 32841 return len(dAtA) - i, nil 32842 } 32843 32844 func (m *SAMLAttributeValue) Marshal() (dAtA []byte, err error) { 32845 size := m.Size() 32846 dAtA = make([]byte, size) 32847 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32848 if err != nil { 32849 return nil, err 32850 } 32851 return dAtA[:n], nil 32852 } 32853 32854 func (m *SAMLAttributeValue) MarshalTo(dAtA []byte) (int, error) { 32855 size := m.Size() 32856 return m.MarshalToSizedBuffer(dAtA[:size]) 32857 } 32858 32859 func (m *SAMLAttributeValue) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32860 i := len(dAtA) 32861 _ = i 32862 var l int 32863 _ = l 32864 if m.XXX_unrecognized != nil { 32865 i -= len(m.XXX_unrecognized) 32866 copy(dAtA[i:], m.XXX_unrecognized) 32867 } 32868 if m.NameID != nil { 32869 { 32870 size, err := m.NameID.MarshalToSizedBuffer(dAtA[:i]) 32871 if err != nil { 32872 return 0, err 32873 } 32874 i -= size 32875 i = encodeVarintTypes(dAtA, i, uint64(size)) 32876 } 32877 i-- 32878 dAtA[i] = 0x1a 32879 } 32880 if len(m.Value) > 0 { 32881 i -= len(m.Value) 32882 copy(dAtA[i:], m.Value) 32883 i = encodeVarintTypes(dAtA, i, uint64(len(m.Value))) 32884 i-- 32885 dAtA[i] = 0x12 32886 } 32887 if len(m.Type) > 0 { 32888 i -= len(m.Type) 32889 copy(dAtA[i:], m.Type) 32890 i = encodeVarintTypes(dAtA, i, uint64(len(m.Type))) 32891 i-- 32892 dAtA[i] = 0xa 32893 } 32894 return len(dAtA) - i, nil 32895 } 32896 32897 func (m *SAMLNameID) Marshal() (dAtA []byte, err error) { 32898 size := m.Size() 32899 dAtA = make([]byte, size) 32900 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32901 if err != nil { 32902 return nil, err 32903 } 32904 return dAtA[:n], nil 32905 } 32906 32907 func (m *SAMLNameID) MarshalTo(dAtA []byte) (int, error) { 32908 size := m.Size() 32909 return m.MarshalToSizedBuffer(dAtA[:size]) 32910 } 32911 32912 func (m *SAMLNameID) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32913 i := len(dAtA) 32914 _ = i 32915 var l int 32916 _ = l 32917 if m.XXX_unrecognized != nil { 32918 i -= len(m.XXX_unrecognized) 32919 copy(dAtA[i:], m.XXX_unrecognized) 32920 } 32921 if len(m.Value) > 0 { 32922 i -= len(m.Value) 32923 copy(dAtA[i:], m.Value) 32924 i = encodeVarintTypes(dAtA, i, uint64(len(m.Value))) 32925 i-- 32926 dAtA[i] = 0x2a 32927 } 32928 if len(m.SPProvidedID) > 0 { 32929 i -= len(m.SPProvidedID) 32930 copy(dAtA[i:], m.SPProvidedID) 32931 i = encodeVarintTypes(dAtA, i, uint64(len(m.SPProvidedID))) 32932 i-- 32933 dAtA[i] = 0x22 32934 } 32935 if len(m.Format) > 0 { 32936 i -= len(m.Format) 32937 copy(dAtA[i:], m.Format) 32938 i = encodeVarintTypes(dAtA, i, uint64(len(m.Format))) 32939 i-- 32940 dAtA[i] = 0x1a 32941 } 32942 if len(m.SPNameQualifier) > 0 { 32943 i -= len(m.SPNameQualifier) 32944 copy(dAtA[i:], m.SPNameQualifier) 32945 i = encodeVarintTypes(dAtA, i, uint64(len(m.SPNameQualifier))) 32946 i-- 32947 dAtA[i] = 0x12 32948 } 32949 if len(m.NameQualifier) > 0 { 32950 i -= len(m.NameQualifier) 32951 copy(dAtA[i:], m.NameQualifier) 32952 i = encodeVarintTypes(dAtA, i, uint64(len(m.NameQualifier))) 32953 i-- 32954 dAtA[i] = 0xa 32955 } 32956 return len(dAtA) - i, nil 32957 } 32958 32959 func (m *RemoteClusterV3) Marshal() (dAtA []byte, err error) { 32960 size := m.Size() 32961 dAtA = make([]byte, size) 32962 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32963 if err != nil { 32964 return nil, err 32965 } 32966 return dAtA[:n], nil 32967 } 32968 32969 func (m *RemoteClusterV3) MarshalTo(dAtA []byte) (int, error) { 32970 size := m.Size() 32971 return m.MarshalToSizedBuffer(dAtA[:size]) 32972 } 32973 32974 func (m *RemoteClusterV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32975 i := len(dAtA) 32976 _ = i 32977 var l int 32978 _ = l 32979 if m.XXX_unrecognized != nil { 32980 i -= len(m.XXX_unrecognized) 32981 copy(dAtA[i:], m.XXX_unrecognized) 32982 } 32983 { 32984 size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) 32985 if err != nil { 32986 return 0, err 32987 } 32988 i -= size 32989 i = encodeVarintTypes(dAtA, i, uint64(size)) 32990 } 32991 i-- 32992 dAtA[i] = 0x2a 32993 { 32994 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 32995 if err != nil { 32996 return 0, err 32997 } 32998 i -= size 32999 i = encodeVarintTypes(dAtA, i, uint64(size)) 33000 } 33001 i-- 33002 dAtA[i] = 0x22 33003 if len(m.Version) > 0 { 33004 i -= len(m.Version) 33005 copy(dAtA[i:], m.Version) 33006 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 33007 i-- 33008 dAtA[i] = 0x1a 33009 } 33010 if len(m.SubKind) > 0 { 33011 i -= len(m.SubKind) 33012 copy(dAtA[i:], m.SubKind) 33013 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 33014 i-- 33015 dAtA[i] = 0x12 33016 } 33017 if len(m.Kind) > 0 { 33018 i -= len(m.Kind) 33019 copy(dAtA[i:], m.Kind) 33020 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 33021 i-- 33022 dAtA[i] = 0xa 33023 } 33024 return len(dAtA) - i, nil 33025 } 33026 33027 func (m *RemoteClusterStatusV3) Marshal() (dAtA []byte, err error) { 33028 size := m.Size() 33029 dAtA = make([]byte, size) 33030 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33031 if err != nil { 33032 return nil, err 33033 } 33034 return dAtA[:n], nil 33035 } 33036 33037 func (m *RemoteClusterStatusV3) MarshalTo(dAtA []byte) (int, error) { 33038 size := m.Size() 33039 return m.MarshalToSizedBuffer(dAtA[:size]) 33040 } 33041 33042 func (m *RemoteClusterStatusV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33043 i := len(dAtA) 33044 _ = i 33045 var l int 33046 _ = l 33047 if m.XXX_unrecognized != nil { 33048 i -= len(m.XXX_unrecognized) 33049 copy(dAtA[i:], m.XXX_unrecognized) 33050 } 33051 n210, err210 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.LastHeartbeat, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.LastHeartbeat):]) 33052 if err210 != nil { 33053 return 0, err210 33054 } 33055 i -= n210 33056 i = encodeVarintTypes(dAtA, i, uint64(n210)) 33057 i-- 33058 dAtA[i] = 0x12 33059 if len(m.Connection) > 0 { 33060 i -= len(m.Connection) 33061 copy(dAtA[i:], m.Connection) 33062 i = encodeVarintTypes(dAtA, i, uint64(len(m.Connection))) 33063 i-- 33064 dAtA[i] = 0xa 33065 } 33066 return len(dAtA) - i, nil 33067 } 33068 33069 func (m *KubernetesCluster) Marshal() (dAtA []byte, err error) { 33070 size := m.Size() 33071 dAtA = make([]byte, size) 33072 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33073 if err != nil { 33074 return nil, err 33075 } 33076 return dAtA[:n], nil 33077 } 33078 33079 func (m *KubernetesCluster) MarshalTo(dAtA []byte) (int, error) { 33080 size := m.Size() 33081 return m.MarshalToSizedBuffer(dAtA[:size]) 33082 } 33083 33084 func (m *KubernetesCluster) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33085 i := len(dAtA) 33086 _ = i 33087 var l int 33088 _ = l 33089 if m.XXX_unrecognized != nil { 33090 i -= len(m.XXX_unrecognized) 33091 copy(dAtA[i:], m.XXX_unrecognized) 33092 } 33093 if len(m.DynamicLabels) > 0 { 33094 for k := range m.DynamicLabels { 33095 v := m.DynamicLabels[k] 33096 baseI := i 33097 { 33098 size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) 33099 if err != nil { 33100 return 0, err 33101 } 33102 i -= size 33103 i = encodeVarintTypes(dAtA, i, uint64(size)) 33104 } 33105 i-- 33106 dAtA[i] = 0x12 33107 i -= len(k) 33108 copy(dAtA[i:], k) 33109 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 33110 i-- 33111 dAtA[i] = 0xa 33112 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 33113 i-- 33114 dAtA[i] = 0x1a 33115 } 33116 } 33117 if len(m.StaticLabels) > 0 { 33118 for k := range m.StaticLabels { 33119 v := m.StaticLabels[k] 33120 baseI := i 33121 i -= len(v) 33122 copy(dAtA[i:], v) 33123 i = encodeVarintTypes(dAtA, i, uint64(len(v))) 33124 i-- 33125 dAtA[i] = 0x12 33126 i -= len(k) 33127 copy(dAtA[i:], k) 33128 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 33129 i-- 33130 dAtA[i] = 0xa 33131 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 33132 i-- 33133 dAtA[i] = 0x12 33134 } 33135 } 33136 if len(m.Name) > 0 { 33137 i -= len(m.Name) 33138 copy(dAtA[i:], m.Name) 33139 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 33140 i-- 33141 dAtA[i] = 0xa 33142 } 33143 return len(dAtA) - i, nil 33144 } 33145 33146 func (m *KubernetesClusterV3) Marshal() (dAtA []byte, err error) { 33147 size := m.Size() 33148 dAtA = make([]byte, size) 33149 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33150 if err != nil { 33151 return nil, err 33152 } 33153 return dAtA[:n], nil 33154 } 33155 33156 func (m *KubernetesClusterV3) MarshalTo(dAtA []byte) (int, error) { 33157 size := m.Size() 33158 return m.MarshalToSizedBuffer(dAtA[:size]) 33159 } 33160 33161 func (m *KubernetesClusterV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33162 i := len(dAtA) 33163 _ = i 33164 var l int 33165 _ = l 33166 if m.XXX_unrecognized != nil { 33167 i -= len(m.XXX_unrecognized) 33168 copy(dAtA[i:], m.XXX_unrecognized) 33169 } 33170 { 33171 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 33172 if err != nil { 33173 return 0, err 33174 } 33175 i -= size 33176 i = encodeVarintTypes(dAtA, i, uint64(size)) 33177 } 33178 i-- 33179 dAtA[i] = 0x2a 33180 { 33181 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 33182 if err != nil { 33183 return 0, err 33184 } 33185 i -= size 33186 i = encodeVarintTypes(dAtA, i, uint64(size)) 33187 } 33188 i-- 33189 dAtA[i] = 0x22 33190 if len(m.Version) > 0 { 33191 i -= len(m.Version) 33192 copy(dAtA[i:], m.Version) 33193 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 33194 i-- 33195 dAtA[i] = 0x1a 33196 } 33197 if len(m.SubKind) > 0 { 33198 i -= len(m.SubKind) 33199 copy(dAtA[i:], m.SubKind) 33200 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 33201 i-- 33202 dAtA[i] = 0x12 33203 } 33204 if len(m.Kind) > 0 { 33205 i -= len(m.Kind) 33206 copy(dAtA[i:], m.Kind) 33207 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 33208 i-- 33209 dAtA[i] = 0xa 33210 } 33211 return len(dAtA) - i, nil 33212 } 33213 33214 func (m *KubernetesClusterSpecV3) Marshal() (dAtA []byte, err error) { 33215 size := m.Size() 33216 dAtA = make([]byte, size) 33217 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33218 if err != nil { 33219 return nil, err 33220 } 33221 return dAtA[:n], nil 33222 } 33223 33224 func (m *KubernetesClusterSpecV3) MarshalTo(dAtA []byte) (int, error) { 33225 size := m.Size() 33226 return m.MarshalToSizedBuffer(dAtA[:size]) 33227 } 33228 33229 func (m *KubernetesClusterSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33230 i := len(dAtA) 33231 _ = i 33232 var l int 33233 _ = l 33234 if m.XXX_unrecognized != nil { 33235 i -= len(m.XXX_unrecognized) 33236 copy(dAtA[i:], m.XXX_unrecognized) 33237 } 33238 { 33239 size, err := m.GCP.MarshalToSizedBuffer(dAtA[:i]) 33240 if err != nil { 33241 return 0, err 33242 } 33243 i -= size 33244 i = encodeVarintTypes(dAtA, i, uint64(size)) 33245 } 33246 i-- 33247 dAtA[i] = 0x2a 33248 { 33249 size, err := m.AWS.MarshalToSizedBuffer(dAtA[:i]) 33250 if err != nil { 33251 return 0, err 33252 } 33253 i -= size 33254 i = encodeVarintTypes(dAtA, i, uint64(size)) 33255 } 33256 i-- 33257 dAtA[i] = 0x22 33258 { 33259 size, err := m.Azure.MarshalToSizedBuffer(dAtA[:i]) 33260 if err != nil { 33261 return 0, err 33262 } 33263 i -= size 33264 i = encodeVarintTypes(dAtA, i, uint64(size)) 33265 } 33266 i-- 33267 dAtA[i] = 0x1a 33268 if len(m.Kubeconfig) > 0 { 33269 i -= len(m.Kubeconfig) 33270 copy(dAtA[i:], m.Kubeconfig) 33271 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kubeconfig))) 33272 i-- 33273 dAtA[i] = 0x12 33274 } 33275 if len(m.DynamicLabels) > 0 { 33276 for k := range m.DynamicLabels { 33277 v := m.DynamicLabels[k] 33278 baseI := i 33279 { 33280 size, err := (&v).MarshalToSizedBuffer(dAtA[:i]) 33281 if err != nil { 33282 return 0, err 33283 } 33284 i -= size 33285 i = encodeVarintTypes(dAtA, i, uint64(size)) 33286 } 33287 i-- 33288 dAtA[i] = 0x12 33289 i -= len(k) 33290 copy(dAtA[i:], k) 33291 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 33292 i-- 33293 dAtA[i] = 0xa 33294 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 33295 i-- 33296 dAtA[i] = 0xa 33297 } 33298 } 33299 return len(dAtA) - i, nil 33300 } 33301 33302 func (m *KubeAzure) Marshal() (dAtA []byte, err error) { 33303 size := m.Size() 33304 dAtA = make([]byte, size) 33305 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33306 if err != nil { 33307 return nil, err 33308 } 33309 return dAtA[:n], nil 33310 } 33311 33312 func (m *KubeAzure) MarshalTo(dAtA []byte) (int, error) { 33313 size := m.Size() 33314 return m.MarshalToSizedBuffer(dAtA[:size]) 33315 } 33316 33317 func (m *KubeAzure) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33318 i := len(dAtA) 33319 _ = i 33320 var l int 33321 _ = l 33322 if m.XXX_unrecognized != nil { 33323 i -= len(m.XXX_unrecognized) 33324 copy(dAtA[i:], m.XXX_unrecognized) 33325 } 33326 if len(m.SubscriptionID) > 0 { 33327 i -= len(m.SubscriptionID) 33328 copy(dAtA[i:], m.SubscriptionID) 33329 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubscriptionID))) 33330 i-- 33331 dAtA[i] = 0x22 33332 } 33333 if len(m.TenantID) > 0 { 33334 i -= len(m.TenantID) 33335 copy(dAtA[i:], m.TenantID) 33336 i = encodeVarintTypes(dAtA, i, uint64(len(m.TenantID))) 33337 i-- 33338 dAtA[i] = 0x1a 33339 } 33340 if len(m.ResourceGroup) > 0 { 33341 i -= len(m.ResourceGroup) 33342 copy(dAtA[i:], m.ResourceGroup) 33343 i = encodeVarintTypes(dAtA, i, uint64(len(m.ResourceGroup))) 33344 i-- 33345 dAtA[i] = 0x12 33346 } 33347 if len(m.ResourceName) > 0 { 33348 i -= len(m.ResourceName) 33349 copy(dAtA[i:], m.ResourceName) 33350 i = encodeVarintTypes(dAtA, i, uint64(len(m.ResourceName))) 33351 i-- 33352 dAtA[i] = 0xa 33353 } 33354 return len(dAtA) - i, nil 33355 } 33356 33357 func (m *KubeAWS) Marshal() (dAtA []byte, err error) { 33358 size := m.Size() 33359 dAtA = make([]byte, size) 33360 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33361 if err != nil { 33362 return nil, err 33363 } 33364 return dAtA[:n], nil 33365 } 33366 33367 func (m *KubeAWS) MarshalTo(dAtA []byte) (int, error) { 33368 size := m.Size() 33369 return m.MarshalToSizedBuffer(dAtA[:size]) 33370 } 33371 33372 func (m *KubeAWS) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33373 i := len(dAtA) 33374 _ = i 33375 var l int 33376 _ = l 33377 if m.XXX_unrecognized != nil { 33378 i -= len(m.XXX_unrecognized) 33379 copy(dAtA[i:], m.XXX_unrecognized) 33380 } 33381 if len(m.Name) > 0 { 33382 i -= len(m.Name) 33383 copy(dAtA[i:], m.Name) 33384 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 33385 i-- 33386 dAtA[i] = 0x1a 33387 } 33388 if len(m.AccountID) > 0 { 33389 i -= len(m.AccountID) 33390 copy(dAtA[i:], m.AccountID) 33391 i = encodeVarintTypes(dAtA, i, uint64(len(m.AccountID))) 33392 i-- 33393 dAtA[i] = 0x12 33394 } 33395 if len(m.Region) > 0 { 33396 i -= len(m.Region) 33397 copy(dAtA[i:], m.Region) 33398 i = encodeVarintTypes(dAtA, i, uint64(len(m.Region))) 33399 i-- 33400 dAtA[i] = 0xa 33401 } 33402 return len(dAtA) - i, nil 33403 } 33404 33405 func (m *KubeGCP) Marshal() (dAtA []byte, err error) { 33406 size := m.Size() 33407 dAtA = make([]byte, size) 33408 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33409 if err != nil { 33410 return nil, err 33411 } 33412 return dAtA[:n], nil 33413 } 33414 33415 func (m *KubeGCP) MarshalTo(dAtA []byte) (int, error) { 33416 size := m.Size() 33417 return m.MarshalToSizedBuffer(dAtA[:size]) 33418 } 33419 33420 func (m *KubeGCP) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33421 i := len(dAtA) 33422 _ = i 33423 var l int 33424 _ = l 33425 if m.XXX_unrecognized != nil { 33426 i -= len(m.XXX_unrecognized) 33427 copy(dAtA[i:], m.XXX_unrecognized) 33428 } 33429 if len(m.Name) > 0 { 33430 i -= len(m.Name) 33431 copy(dAtA[i:], m.Name) 33432 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 33433 i-- 33434 dAtA[i] = 0x1a 33435 } 33436 if len(m.ProjectID) > 0 { 33437 i -= len(m.ProjectID) 33438 copy(dAtA[i:], m.ProjectID) 33439 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProjectID))) 33440 i-- 33441 dAtA[i] = 0x12 33442 } 33443 if len(m.Location) > 0 { 33444 i -= len(m.Location) 33445 copy(dAtA[i:], m.Location) 33446 i = encodeVarintTypes(dAtA, i, uint64(len(m.Location))) 33447 i-- 33448 dAtA[i] = 0xa 33449 } 33450 return len(dAtA) - i, nil 33451 } 33452 33453 func (m *KubernetesClusterV3List) Marshal() (dAtA []byte, err error) { 33454 size := m.Size() 33455 dAtA = make([]byte, size) 33456 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33457 if err != nil { 33458 return nil, err 33459 } 33460 return dAtA[:n], nil 33461 } 33462 33463 func (m *KubernetesClusterV3List) MarshalTo(dAtA []byte) (int, error) { 33464 size := m.Size() 33465 return m.MarshalToSizedBuffer(dAtA[:size]) 33466 } 33467 33468 func (m *KubernetesClusterV3List) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33469 i := len(dAtA) 33470 _ = i 33471 var l int 33472 _ = l 33473 if m.XXX_unrecognized != nil { 33474 i -= len(m.XXX_unrecognized) 33475 copy(dAtA[i:], m.XXX_unrecognized) 33476 } 33477 if len(m.KubernetesClusters) > 0 { 33478 for iNdEx := len(m.KubernetesClusters) - 1; iNdEx >= 0; iNdEx-- { 33479 { 33480 size, err := m.KubernetesClusters[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 33481 if err != nil { 33482 return 0, err 33483 } 33484 i -= size 33485 i = encodeVarintTypes(dAtA, i, uint64(size)) 33486 } 33487 i-- 33488 dAtA[i] = 0xa 33489 } 33490 } 33491 return len(dAtA) - i, nil 33492 } 33493 33494 func (m *KubernetesServerV3) Marshal() (dAtA []byte, err error) { 33495 size := m.Size() 33496 dAtA = make([]byte, size) 33497 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33498 if err != nil { 33499 return nil, err 33500 } 33501 return dAtA[:n], nil 33502 } 33503 33504 func (m *KubernetesServerV3) MarshalTo(dAtA []byte) (int, error) { 33505 size := m.Size() 33506 return m.MarshalToSizedBuffer(dAtA[:size]) 33507 } 33508 33509 func (m *KubernetesServerV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33510 i := len(dAtA) 33511 _ = i 33512 var l int 33513 _ = l 33514 if m.XXX_unrecognized != nil { 33515 i -= len(m.XXX_unrecognized) 33516 copy(dAtA[i:], m.XXX_unrecognized) 33517 } 33518 { 33519 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 33520 if err != nil { 33521 return 0, err 33522 } 33523 i -= size 33524 i = encodeVarintTypes(dAtA, i, uint64(size)) 33525 } 33526 i-- 33527 dAtA[i] = 0x2a 33528 { 33529 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 33530 if err != nil { 33531 return 0, err 33532 } 33533 i -= size 33534 i = encodeVarintTypes(dAtA, i, uint64(size)) 33535 } 33536 i-- 33537 dAtA[i] = 0x22 33538 if len(m.Version) > 0 { 33539 i -= len(m.Version) 33540 copy(dAtA[i:], m.Version) 33541 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 33542 i-- 33543 dAtA[i] = 0x1a 33544 } 33545 if len(m.SubKind) > 0 { 33546 i -= len(m.SubKind) 33547 copy(dAtA[i:], m.SubKind) 33548 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 33549 i-- 33550 dAtA[i] = 0x12 33551 } 33552 if len(m.Kind) > 0 { 33553 i -= len(m.Kind) 33554 copy(dAtA[i:], m.Kind) 33555 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 33556 i-- 33557 dAtA[i] = 0xa 33558 } 33559 return len(dAtA) - i, nil 33560 } 33561 33562 func (m *KubernetesServerSpecV3) Marshal() (dAtA []byte, err error) { 33563 size := m.Size() 33564 dAtA = make([]byte, size) 33565 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33566 if err != nil { 33567 return nil, err 33568 } 33569 return dAtA[:n], nil 33570 } 33571 33572 func (m *KubernetesServerSpecV3) MarshalTo(dAtA []byte) (int, error) { 33573 size := m.Size() 33574 return m.MarshalToSizedBuffer(dAtA[:size]) 33575 } 33576 33577 func (m *KubernetesServerSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33578 i := len(dAtA) 33579 _ = i 33580 var l int 33581 _ = l 33582 if m.XXX_unrecognized != nil { 33583 i -= len(m.XXX_unrecognized) 33584 copy(dAtA[i:], m.XXX_unrecognized) 33585 } 33586 if len(m.ProxyIDs) > 0 { 33587 for iNdEx := len(m.ProxyIDs) - 1; iNdEx >= 0; iNdEx-- { 33588 i -= len(m.ProxyIDs[iNdEx]) 33589 copy(dAtA[i:], m.ProxyIDs[iNdEx]) 33590 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProxyIDs[iNdEx]))) 33591 i-- 33592 dAtA[i] = 0x32 33593 } 33594 } 33595 if m.Cluster != nil { 33596 { 33597 size, err := m.Cluster.MarshalToSizedBuffer(dAtA[:i]) 33598 if err != nil { 33599 return 0, err 33600 } 33601 i -= size 33602 i = encodeVarintTypes(dAtA, i, uint64(size)) 33603 } 33604 i-- 33605 dAtA[i] = 0x2a 33606 } 33607 { 33608 size, err := m.Rotation.MarshalToSizedBuffer(dAtA[:i]) 33609 if err != nil { 33610 return 0, err 33611 } 33612 i -= size 33613 i = encodeVarintTypes(dAtA, i, uint64(size)) 33614 } 33615 i-- 33616 dAtA[i] = 0x22 33617 if len(m.HostID) > 0 { 33618 i -= len(m.HostID) 33619 copy(dAtA[i:], m.HostID) 33620 i = encodeVarintTypes(dAtA, i, uint64(len(m.HostID))) 33621 i-- 33622 dAtA[i] = 0x1a 33623 } 33624 if len(m.Hostname) > 0 { 33625 i -= len(m.Hostname) 33626 copy(dAtA[i:], m.Hostname) 33627 i = encodeVarintTypes(dAtA, i, uint64(len(m.Hostname))) 33628 i-- 33629 dAtA[i] = 0x12 33630 } 33631 if len(m.Version) > 0 { 33632 i -= len(m.Version) 33633 copy(dAtA[i:], m.Version) 33634 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 33635 i-- 33636 dAtA[i] = 0xa 33637 } 33638 return len(dAtA) - i, nil 33639 } 33640 33641 func (m *WebTokenV3) Marshal() (dAtA []byte, err error) { 33642 size := m.Size() 33643 dAtA = make([]byte, size) 33644 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33645 if err != nil { 33646 return nil, err 33647 } 33648 return dAtA[:n], nil 33649 } 33650 33651 func (m *WebTokenV3) MarshalTo(dAtA []byte) (int, error) { 33652 size := m.Size() 33653 return m.MarshalToSizedBuffer(dAtA[:size]) 33654 } 33655 33656 func (m *WebTokenV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33657 i := len(dAtA) 33658 _ = i 33659 var l int 33660 _ = l 33661 if m.XXX_unrecognized != nil { 33662 i -= len(m.XXX_unrecognized) 33663 copy(dAtA[i:], m.XXX_unrecognized) 33664 } 33665 { 33666 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 33667 if err != nil { 33668 return 0, err 33669 } 33670 i -= size 33671 i = encodeVarintTypes(dAtA, i, uint64(size)) 33672 } 33673 i-- 33674 dAtA[i] = 0x2a 33675 { 33676 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 33677 if err != nil { 33678 return 0, err 33679 } 33680 i -= size 33681 i = encodeVarintTypes(dAtA, i, uint64(size)) 33682 } 33683 i-- 33684 dAtA[i] = 0x22 33685 if len(m.Version) > 0 { 33686 i -= len(m.Version) 33687 copy(dAtA[i:], m.Version) 33688 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 33689 i-- 33690 dAtA[i] = 0x1a 33691 } 33692 if len(m.SubKind) > 0 { 33693 i -= len(m.SubKind) 33694 copy(dAtA[i:], m.SubKind) 33695 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 33696 i-- 33697 dAtA[i] = 0x12 33698 } 33699 if len(m.Kind) > 0 { 33700 i -= len(m.Kind) 33701 copy(dAtA[i:], m.Kind) 33702 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 33703 i-- 33704 dAtA[i] = 0xa 33705 } 33706 return len(dAtA) - i, nil 33707 } 33708 33709 func (m *WebTokenSpecV3) Marshal() (dAtA []byte, err error) { 33710 size := m.Size() 33711 dAtA = make([]byte, size) 33712 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33713 if err != nil { 33714 return nil, err 33715 } 33716 return dAtA[:n], nil 33717 } 33718 33719 func (m *WebTokenSpecV3) MarshalTo(dAtA []byte) (int, error) { 33720 size := m.Size() 33721 return m.MarshalToSizedBuffer(dAtA[:size]) 33722 } 33723 33724 func (m *WebTokenSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33725 i := len(dAtA) 33726 _ = i 33727 var l int 33728 _ = l 33729 if m.XXX_unrecognized != nil { 33730 i -= len(m.XXX_unrecognized) 33731 copy(dAtA[i:], m.XXX_unrecognized) 33732 } 33733 if len(m.Token) > 0 { 33734 i -= len(m.Token) 33735 copy(dAtA[i:], m.Token) 33736 i = encodeVarintTypes(dAtA, i, uint64(len(m.Token))) 33737 i-- 33738 dAtA[i] = 0x12 33739 } 33740 if len(m.User) > 0 { 33741 i -= len(m.User) 33742 copy(dAtA[i:], m.User) 33743 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 33744 i-- 33745 dAtA[i] = 0xa 33746 } 33747 return len(dAtA) - i, nil 33748 } 33749 33750 func (m *GetWebSessionRequest) Marshal() (dAtA []byte, err error) { 33751 size := m.Size() 33752 dAtA = make([]byte, size) 33753 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33754 if err != nil { 33755 return nil, err 33756 } 33757 return dAtA[:n], nil 33758 } 33759 33760 func (m *GetWebSessionRequest) MarshalTo(dAtA []byte) (int, error) { 33761 size := m.Size() 33762 return m.MarshalToSizedBuffer(dAtA[:size]) 33763 } 33764 33765 func (m *GetWebSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33766 i := len(dAtA) 33767 _ = i 33768 var l int 33769 _ = l 33770 if m.XXX_unrecognized != nil { 33771 i -= len(m.XXX_unrecognized) 33772 copy(dAtA[i:], m.XXX_unrecognized) 33773 } 33774 if len(m.SessionID) > 0 { 33775 i -= len(m.SessionID) 33776 copy(dAtA[i:], m.SessionID) 33777 i = encodeVarintTypes(dAtA, i, uint64(len(m.SessionID))) 33778 i-- 33779 dAtA[i] = 0x12 33780 } 33781 if len(m.User) > 0 { 33782 i -= len(m.User) 33783 copy(dAtA[i:], m.User) 33784 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 33785 i-- 33786 dAtA[i] = 0xa 33787 } 33788 return len(dAtA) - i, nil 33789 } 33790 33791 func (m *DeleteWebSessionRequest) Marshal() (dAtA []byte, err error) { 33792 size := m.Size() 33793 dAtA = make([]byte, size) 33794 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33795 if err != nil { 33796 return nil, err 33797 } 33798 return dAtA[:n], nil 33799 } 33800 33801 func (m *DeleteWebSessionRequest) MarshalTo(dAtA []byte) (int, error) { 33802 size := m.Size() 33803 return m.MarshalToSizedBuffer(dAtA[:size]) 33804 } 33805 33806 func (m *DeleteWebSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33807 i := len(dAtA) 33808 _ = i 33809 var l int 33810 _ = l 33811 if m.XXX_unrecognized != nil { 33812 i -= len(m.XXX_unrecognized) 33813 copy(dAtA[i:], m.XXX_unrecognized) 33814 } 33815 if len(m.SessionID) > 0 { 33816 i -= len(m.SessionID) 33817 copy(dAtA[i:], m.SessionID) 33818 i = encodeVarintTypes(dAtA, i, uint64(len(m.SessionID))) 33819 i-- 33820 dAtA[i] = 0x12 33821 } 33822 if len(m.User) > 0 { 33823 i -= len(m.User) 33824 copy(dAtA[i:], m.User) 33825 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 33826 i-- 33827 dAtA[i] = 0xa 33828 } 33829 return len(dAtA) - i, nil 33830 } 33831 33832 func (m *GetWebTokenRequest) Marshal() (dAtA []byte, err error) { 33833 size := m.Size() 33834 dAtA = make([]byte, size) 33835 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33836 if err != nil { 33837 return nil, err 33838 } 33839 return dAtA[:n], nil 33840 } 33841 33842 func (m *GetWebTokenRequest) MarshalTo(dAtA []byte) (int, error) { 33843 size := m.Size() 33844 return m.MarshalToSizedBuffer(dAtA[:size]) 33845 } 33846 33847 func (m *GetWebTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33848 i := len(dAtA) 33849 _ = i 33850 var l int 33851 _ = l 33852 if m.XXX_unrecognized != nil { 33853 i -= len(m.XXX_unrecognized) 33854 copy(dAtA[i:], m.XXX_unrecognized) 33855 } 33856 if len(m.Token) > 0 { 33857 i -= len(m.Token) 33858 copy(dAtA[i:], m.Token) 33859 i = encodeVarintTypes(dAtA, i, uint64(len(m.Token))) 33860 i-- 33861 dAtA[i] = 0x12 33862 } 33863 if len(m.User) > 0 { 33864 i -= len(m.User) 33865 copy(dAtA[i:], m.User) 33866 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 33867 i-- 33868 dAtA[i] = 0xa 33869 } 33870 return len(dAtA) - i, nil 33871 } 33872 33873 func (m *DeleteWebTokenRequest) Marshal() (dAtA []byte, err error) { 33874 size := m.Size() 33875 dAtA = make([]byte, size) 33876 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33877 if err != nil { 33878 return nil, err 33879 } 33880 return dAtA[:n], nil 33881 } 33882 33883 func (m *DeleteWebTokenRequest) MarshalTo(dAtA []byte) (int, error) { 33884 size := m.Size() 33885 return m.MarshalToSizedBuffer(dAtA[:size]) 33886 } 33887 33888 func (m *DeleteWebTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33889 i := len(dAtA) 33890 _ = i 33891 var l int 33892 _ = l 33893 if m.XXX_unrecognized != nil { 33894 i -= len(m.XXX_unrecognized) 33895 copy(dAtA[i:], m.XXX_unrecognized) 33896 } 33897 if len(m.Token) > 0 { 33898 i -= len(m.Token) 33899 copy(dAtA[i:], m.Token) 33900 i = encodeVarintTypes(dAtA, i, uint64(len(m.Token))) 33901 i-- 33902 dAtA[i] = 0x12 33903 } 33904 if len(m.User) > 0 { 33905 i -= len(m.User) 33906 copy(dAtA[i:], m.User) 33907 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 33908 i-- 33909 dAtA[i] = 0xa 33910 } 33911 return len(dAtA) - i, nil 33912 } 33913 33914 func (m *ResourceRequest) Marshal() (dAtA []byte, err error) { 33915 size := m.Size() 33916 dAtA = make([]byte, size) 33917 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33918 if err != nil { 33919 return nil, err 33920 } 33921 return dAtA[:n], nil 33922 } 33923 33924 func (m *ResourceRequest) MarshalTo(dAtA []byte) (int, error) { 33925 size := m.Size() 33926 return m.MarshalToSizedBuffer(dAtA[:size]) 33927 } 33928 33929 func (m *ResourceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33930 i := len(dAtA) 33931 _ = i 33932 var l int 33933 _ = l 33934 if m.XXX_unrecognized != nil { 33935 i -= len(m.XXX_unrecognized) 33936 copy(dAtA[i:], m.XXX_unrecognized) 33937 } 33938 if len(m.Name) > 0 { 33939 i -= len(m.Name) 33940 copy(dAtA[i:], m.Name) 33941 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 33942 i-- 33943 dAtA[i] = 0xa 33944 } 33945 return len(dAtA) - i, nil 33946 } 33947 33948 func (m *ResourceWithSecretsRequest) Marshal() (dAtA []byte, err error) { 33949 size := m.Size() 33950 dAtA = make([]byte, size) 33951 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33952 if err != nil { 33953 return nil, err 33954 } 33955 return dAtA[:n], nil 33956 } 33957 33958 func (m *ResourceWithSecretsRequest) MarshalTo(dAtA []byte) (int, error) { 33959 size := m.Size() 33960 return m.MarshalToSizedBuffer(dAtA[:size]) 33961 } 33962 33963 func (m *ResourceWithSecretsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33964 i := len(dAtA) 33965 _ = i 33966 var l int 33967 _ = l 33968 if m.XXX_unrecognized != nil { 33969 i -= len(m.XXX_unrecognized) 33970 copy(dAtA[i:], m.XXX_unrecognized) 33971 } 33972 if m.WithSecrets { 33973 i-- 33974 if m.WithSecrets { 33975 dAtA[i] = 1 33976 } else { 33977 dAtA[i] = 0 33978 } 33979 i-- 33980 dAtA[i] = 0x10 33981 } 33982 if len(m.Name) > 0 { 33983 i -= len(m.Name) 33984 copy(dAtA[i:], m.Name) 33985 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 33986 i-- 33987 dAtA[i] = 0xa 33988 } 33989 return len(dAtA) - i, nil 33990 } 33991 33992 func (m *ResourcesWithSecretsRequest) Marshal() (dAtA []byte, err error) { 33993 size := m.Size() 33994 dAtA = make([]byte, size) 33995 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33996 if err != nil { 33997 return nil, err 33998 } 33999 return dAtA[:n], nil 34000 } 34001 34002 func (m *ResourcesWithSecretsRequest) MarshalTo(dAtA []byte) (int, error) { 34003 size := m.Size() 34004 return m.MarshalToSizedBuffer(dAtA[:size]) 34005 } 34006 34007 func (m *ResourcesWithSecretsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34008 i := len(dAtA) 34009 _ = i 34010 var l int 34011 _ = l 34012 if m.XXX_unrecognized != nil { 34013 i -= len(m.XXX_unrecognized) 34014 copy(dAtA[i:], m.XXX_unrecognized) 34015 } 34016 if m.WithSecrets { 34017 i-- 34018 if m.WithSecrets { 34019 dAtA[i] = 1 34020 } else { 34021 dAtA[i] = 0 34022 } 34023 i-- 34024 dAtA[i] = 0x8 34025 } 34026 return len(dAtA) - i, nil 34027 } 34028 34029 func (m *ResourceInNamespaceRequest) Marshal() (dAtA []byte, err error) { 34030 size := m.Size() 34031 dAtA = make([]byte, size) 34032 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34033 if err != nil { 34034 return nil, err 34035 } 34036 return dAtA[:n], nil 34037 } 34038 34039 func (m *ResourceInNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { 34040 size := m.Size() 34041 return m.MarshalToSizedBuffer(dAtA[:size]) 34042 } 34043 34044 func (m *ResourceInNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34045 i := len(dAtA) 34046 _ = i 34047 var l int 34048 _ = l 34049 if m.XXX_unrecognized != nil { 34050 i -= len(m.XXX_unrecognized) 34051 copy(dAtA[i:], m.XXX_unrecognized) 34052 } 34053 if len(m.Namespace) > 0 { 34054 i -= len(m.Namespace) 34055 copy(dAtA[i:], m.Namespace) 34056 i = encodeVarintTypes(dAtA, i, uint64(len(m.Namespace))) 34057 i-- 34058 dAtA[i] = 0x12 34059 } 34060 if len(m.Name) > 0 { 34061 i -= len(m.Name) 34062 copy(dAtA[i:], m.Name) 34063 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 34064 i-- 34065 dAtA[i] = 0xa 34066 } 34067 return len(dAtA) - i, nil 34068 } 34069 34070 func (m *ResourcesInNamespaceRequest) Marshal() (dAtA []byte, err error) { 34071 size := m.Size() 34072 dAtA = make([]byte, size) 34073 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34074 if err != nil { 34075 return nil, err 34076 } 34077 return dAtA[:n], nil 34078 } 34079 34080 func (m *ResourcesInNamespaceRequest) MarshalTo(dAtA []byte) (int, error) { 34081 size := m.Size() 34082 return m.MarshalToSizedBuffer(dAtA[:size]) 34083 } 34084 34085 func (m *ResourcesInNamespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34086 i := len(dAtA) 34087 _ = i 34088 var l int 34089 _ = l 34090 if m.XXX_unrecognized != nil { 34091 i -= len(m.XXX_unrecognized) 34092 copy(dAtA[i:], m.XXX_unrecognized) 34093 } 34094 if len(m.Namespace) > 0 { 34095 i -= len(m.Namespace) 34096 copy(dAtA[i:], m.Namespace) 34097 i = encodeVarintTypes(dAtA, i, uint64(len(m.Namespace))) 34098 i-- 34099 dAtA[i] = 0xa 34100 } 34101 return len(dAtA) - i, nil 34102 } 34103 34104 func (m *OIDCConnectorV3) Marshal() (dAtA []byte, err error) { 34105 size := m.Size() 34106 dAtA = make([]byte, size) 34107 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34108 if err != nil { 34109 return nil, err 34110 } 34111 return dAtA[:n], nil 34112 } 34113 34114 func (m *OIDCConnectorV3) MarshalTo(dAtA []byte) (int, error) { 34115 size := m.Size() 34116 return m.MarshalToSizedBuffer(dAtA[:size]) 34117 } 34118 34119 func (m *OIDCConnectorV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34120 i := len(dAtA) 34121 _ = i 34122 var l int 34123 _ = l 34124 if m.XXX_unrecognized != nil { 34125 i -= len(m.XXX_unrecognized) 34126 copy(dAtA[i:], m.XXX_unrecognized) 34127 } 34128 { 34129 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 34130 if err != nil { 34131 return 0, err 34132 } 34133 i -= size 34134 i = encodeVarintTypes(dAtA, i, uint64(size)) 34135 } 34136 i-- 34137 dAtA[i] = 0x2a 34138 { 34139 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 34140 if err != nil { 34141 return 0, err 34142 } 34143 i -= size 34144 i = encodeVarintTypes(dAtA, i, uint64(size)) 34145 } 34146 i-- 34147 dAtA[i] = 0x22 34148 if len(m.Version) > 0 { 34149 i -= len(m.Version) 34150 copy(dAtA[i:], m.Version) 34151 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 34152 i-- 34153 dAtA[i] = 0x1a 34154 } 34155 if len(m.SubKind) > 0 { 34156 i -= len(m.SubKind) 34157 copy(dAtA[i:], m.SubKind) 34158 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 34159 i-- 34160 dAtA[i] = 0x12 34161 } 34162 if len(m.Kind) > 0 { 34163 i -= len(m.Kind) 34164 copy(dAtA[i:], m.Kind) 34165 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 34166 i-- 34167 dAtA[i] = 0xa 34168 } 34169 return len(dAtA) - i, nil 34170 } 34171 34172 func (m *OIDCConnectorV3List) Marshal() (dAtA []byte, err error) { 34173 size := m.Size() 34174 dAtA = make([]byte, size) 34175 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34176 if err != nil { 34177 return nil, err 34178 } 34179 return dAtA[:n], nil 34180 } 34181 34182 func (m *OIDCConnectorV3List) MarshalTo(dAtA []byte) (int, error) { 34183 size := m.Size() 34184 return m.MarshalToSizedBuffer(dAtA[:size]) 34185 } 34186 34187 func (m *OIDCConnectorV3List) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34188 i := len(dAtA) 34189 _ = i 34190 var l int 34191 _ = l 34192 if m.XXX_unrecognized != nil { 34193 i -= len(m.XXX_unrecognized) 34194 copy(dAtA[i:], m.XXX_unrecognized) 34195 } 34196 if len(m.OIDCConnectors) > 0 { 34197 for iNdEx := len(m.OIDCConnectors) - 1; iNdEx >= 0; iNdEx-- { 34198 { 34199 size, err := m.OIDCConnectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 34200 if err != nil { 34201 return 0, err 34202 } 34203 i -= size 34204 i = encodeVarintTypes(dAtA, i, uint64(size)) 34205 } 34206 i-- 34207 dAtA[i] = 0xa 34208 } 34209 } 34210 return len(dAtA) - i, nil 34211 } 34212 34213 func (m *OIDCConnectorSpecV3) Marshal() (dAtA []byte, err error) { 34214 size := m.Size() 34215 dAtA = make([]byte, size) 34216 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34217 if err != nil { 34218 return nil, err 34219 } 34220 return dAtA[:n], nil 34221 } 34222 34223 func (m *OIDCConnectorSpecV3) MarshalTo(dAtA []byte) (int, error) { 34224 size := m.Size() 34225 return m.MarshalToSizedBuffer(dAtA[:size]) 34226 } 34227 34228 func (m *OIDCConnectorSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34229 i := len(dAtA) 34230 _ = i 34231 var l int 34232 _ = l 34233 if m.XXX_unrecognized != nil { 34234 i -= len(m.XXX_unrecognized) 34235 copy(dAtA[i:], m.XXX_unrecognized) 34236 } 34237 if m.MaxAge != nil { 34238 { 34239 size, err := m.MaxAge.MarshalToSizedBuffer(dAtA[:i]) 34240 if err != nil { 34241 return 0, err 34242 } 34243 i -= size 34244 i = encodeVarintTypes(dAtA, i, uint64(size)) 34245 } 34246 i-- 34247 dAtA[i] = 0x1 34248 i-- 34249 dAtA[i] = 0x8a 34250 } 34251 if len(m.UsernameClaim) > 0 { 34252 i -= len(m.UsernameClaim) 34253 copy(dAtA[i:], m.UsernameClaim) 34254 i = encodeVarintTypes(dAtA, i, uint64(len(m.UsernameClaim))) 34255 i-- 34256 dAtA[i] = 0x1 34257 i-- 34258 dAtA[i] = 0x82 34259 } 34260 if m.AllowUnverifiedEmail { 34261 i-- 34262 if m.AllowUnverifiedEmail { 34263 dAtA[i] = 1 34264 } else { 34265 dAtA[i] = 0 34266 } 34267 i-- 34268 dAtA[i] = 0x78 34269 } 34270 { 34271 size := m.RedirectURLs.Size() 34272 i -= size 34273 if _, err := m.RedirectURLs.MarshalTo(dAtA[i:]); err != nil { 34274 return 0, err 34275 } 34276 i = encodeVarintTypes(dAtA, i, uint64(size)) 34277 } 34278 i-- 34279 dAtA[i] = 0x72 34280 if len(m.GoogleAdminEmail) > 0 { 34281 i -= len(m.GoogleAdminEmail) 34282 copy(dAtA[i:], m.GoogleAdminEmail) 34283 i = encodeVarintTypes(dAtA, i, uint64(len(m.GoogleAdminEmail))) 34284 i-- 34285 dAtA[i] = 0x6a 34286 } 34287 if len(m.GoogleServiceAccount) > 0 { 34288 i -= len(m.GoogleServiceAccount) 34289 copy(dAtA[i:], m.GoogleServiceAccount) 34290 i = encodeVarintTypes(dAtA, i, uint64(len(m.GoogleServiceAccount))) 34291 i-- 34292 dAtA[i] = 0x62 34293 } 34294 if len(m.GoogleServiceAccountURI) > 0 { 34295 i -= len(m.GoogleServiceAccountURI) 34296 copy(dAtA[i:], m.GoogleServiceAccountURI) 34297 i = encodeVarintTypes(dAtA, i, uint64(len(m.GoogleServiceAccountURI))) 34298 i-- 34299 dAtA[i] = 0x5a 34300 } 34301 if len(m.ClaimsToRoles) > 0 { 34302 for iNdEx := len(m.ClaimsToRoles) - 1; iNdEx >= 0; iNdEx-- { 34303 { 34304 size, err := m.ClaimsToRoles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 34305 if err != nil { 34306 return 0, err 34307 } 34308 i -= size 34309 i = encodeVarintTypes(dAtA, i, uint64(size)) 34310 } 34311 i-- 34312 dAtA[i] = 0x52 34313 } 34314 } 34315 if len(m.Prompt) > 0 { 34316 i -= len(m.Prompt) 34317 copy(dAtA[i:], m.Prompt) 34318 i = encodeVarintTypes(dAtA, i, uint64(len(m.Prompt))) 34319 i-- 34320 dAtA[i] = 0x4a 34321 } 34322 if len(m.Scope) > 0 { 34323 for iNdEx := len(m.Scope) - 1; iNdEx >= 0; iNdEx-- { 34324 i -= len(m.Scope[iNdEx]) 34325 copy(dAtA[i:], m.Scope[iNdEx]) 34326 i = encodeVarintTypes(dAtA, i, uint64(len(m.Scope[iNdEx]))) 34327 i-- 34328 dAtA[i] = 0x42 34329 } 34330 } 34331 if len(m.Display) > 0 { 34332 i -= len(m.Display) 34333 copy(dAtA[i:], m.Display) 34334 i = encodeVarintTypes(dAtA, i, uint64(len(m.Display))) 34335 i-- 34336 dAtA[i] = 0x3a 34337 } 34338 if len(m.Provider) > 0 { 34339 i -= len(m.Provider) 34340 copy(dAtA[i:], m.Provider) 34341 i = encodeVarintTypes(dAtA, i, uint64(len(m.Provider))) 34342 i-- 34343 dAtA[i] = 0x32 34344 } 34345 if len(m.ACR) > 0 { 34346 i -= len(m.ACR) 34347 copy(dAtA[i:], m.ACR) 34348 i = encodeVarintTypes(dAtA, i, uint64(len(m.ACR))) 34349 i-- 34350 dAtA[i] = 0x2a 34351 } 34352 if len(m.ClientSecret) > 0 { 34353 i -= len(m.ClientSecret) 34354 copy(dAtA[i:], m.ClientSecret) 34355 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientSecret))) 34356 i-- 34357 dAtA[i] = 0x1a 34358 } 34359 if len(m.ClientID) > 0 { 34360 i -= len(m.ClientID) 34361 copy(dAtA[i:], m.ClientID) 34362 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientID))) 34363 i-- 34364 dAtA[i] = 0x12 34365 } 34366 if len(m.IssuerURL) > 0 { 34367 i -= len(m.IssuerURL) 34368 copy(dAtA[i:], m.IssuerURL) 34369 i = encodeVarintTypes(dAtA, i, uint64(len(m.IssuerURL))) 34370 i-- 34371 dAtA[i] = 0xa 34372 } 34373 return len(dAtA) - i, nil 34374 } 34375 34376 func (m *MaxAge) Marshal() (dAtA []byte, err error) { 34377 size := m.Size() 34378 dAtA = make([]byte, size) 34379 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34380 if err != nil { 34381 return nil, err 34382 } 34383 return dAtA[:n], nil 34384 } 34385 34386 func (m *MaxAge) MarshalTo(dAtA []byte) (int, error) { 34387 size := m.Size() 34388 return m.MarshalToSizedBuffer(dAtA[:size]) 34389 } 34390 34391 func (m *MaxAge) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34392 i := len(dAtA) 34393 _ = i 34394 var l int 34395 _ = l 34396 if m.XXX_unrecognized != nil { 34397 i -= len(m.XXX_unrecognized) 34398 copy(dAtA[i:], m.XXX_unrecognized) 34399 } 34400 if m.Value != 0 { 34401 i = encodeVarintTypes(dAtA, i, uint64(m.Value)) 34402 i-- 34403 dAtA[i] = 0x8 34404 } 34405 return len(dAtA) - i, nil 34406 } 34407 34408 func (m *OIDCAuthRequest) Marshal() (dAtA []byte, err error) { 34409 size := m.Size() 34410 dAtA = make([]byte, size) 34411 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34412 if err != nil { 34413 return nil, err 34414 } 34415 return dAtA[:n], nil 34416 } 34417 34418 func (m *OIDCAuthRequest) MarshalTo(dAtA []byte) (int, error) { 34419 size := m.Size() 34420 return m.MarshalToSizedBuffer(dAtA[:size]) 34421 } 34422 34423 func (m *OIDCAuthRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34424 i := len(dAtA) 34425 _ = i 34426 var l int 34427 _ = l 34428 if m.XXX_unrecognized != nil { 34429 i -= len(m.XXX_unrecognized) 34430 copy(dAtA[i:], m.XXX_unrecognized) 34431 } 34432 if len(m.ClientLoginIP) > 0 { 34433 i -= len(m.ClientLoginIP) 34434 copy(dAtA[i:], m.ClientLoginIP) 34435 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientLoginIP))) 34436 i-- 34437 dAtA[i] = 0x1 34438 i-- 34439 dAtA[i] = 0x92 34440 } 34441 if m.AttestationStatement != nil { 34442 { 34443 size, err := m.AttestationStatement.MarshalToSizedBuffer(dAtA[:i]) 34444 if err != nil { 34445 return 0, err 34446 } 34447 i -= size 34448 i = encodeVarintTypes(dAtA, i, uint64(size)) 34449 } 34450 i-- 34451 dAtA[i] = 0x1 34452 i-- 34453 dAtA[i] = 0x8a 34454 } 34455 if len(m.ProxyAddress) > 0 { 34456 i -= len(m.ProxyAddress) 34457 copy(dAtA[i:], m.ProxyAddress) 34458 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProxyAddress))) 34459 i-- 34460 dAtA[i] = 0x1 34461 i-- 34462 dAtA[i] = 0x82 34463 } 34464 if m.ConnectorSpec != nil { 34465 { 34466 size, err := m.ConnectorSpec.MarshalToSizedBuffer(dAtA[:i]) 34467 if err != nil { 34468 return 0, err 34469 } 34470 i -= size 34471 i = encodeVarintTypes(dAtA, i, uint64(size)) 34472 } 34473 i-- 34474 dAtA[i] = 0x7a 34475 } 34476 if m.SSOTestFlow { 34477 i-- 34478 if m.SSOTestFlow { 34479 dAtA[i] = 1 34480 } else { 34481 dAtA[i] = 0 34482 } 34483 i-- 34484 dAtA[i] = 0x70 34485 } 34486 if len(m.KubernetesCluster) > 0 { 34487 i -= len(m.KubernetesCluster) 34488 copy(dAtA[i:], m.KubernetesCluster) 34489 i = encodeVarintTypes(dAtA, i, uint64(len(m.KubernetesCluster))) 34490 i-- 34491 dAtA[i] = 0x6a 34492 } 34493 if len(m.RouteToCluster) > 0 { 34494 i -= len(m.RouteToCluster) 34495 copy(dAtA[i:], m.RouteToCluster) 34496 i = encodeVarintTypes(dAtA, i, uint64(len(m.RouteToCluster))) 34497 i-- 34498 dAtA[i] = 0x62 34499 } 34500 if len(m.Compatibility) > 0 { 34501 i -= len(m.Compatibility) 34502 copy(dAtA[i:], m.Compatibility) 34503 i = encodeVarintTypes(dAtA, i, uint64(len(m.Compatibility))) 34504 i-- 34505 dAtA[i] = 0x5a 34506 } 34507 if len(m.ClientRedirectURL) > 0 { 34508 i -= len(m.ClientRedirectURL) 34509 copy(dAtA[i:], m.ClientRedirectURL) 34510 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientRedirectURL))) 34511 i-- 34512 dAtA[i] = 0x52 34513 } 34514 if m.CreateWebSession { 34515 i-- 34516 if m.CreateWebSession { 34517 dAtA[i] = 1 34518 } else { 34519 dAtA[i] = 0 34520 } 34521 i-- 34522 dAtA[i] = 0x48 34523 } 34524 if m.CertTTL != 0 { 34525 i = encodeVarintTypes(dAtA, i, uint64(m.CertTTL)) 34526 i-- 34527 dAtA[i] = 0x40 34528 } 34529 if len(m.PublicKey) > 0 { 34530 i -= len(m.PublicKey) 34531 copy(dAtA[i:], m.PublicKey) 34532 i = encodeVarintTypes(dAtA, i, uint64(len(m.PublicKey))) 34533 i-- 34534 dAtA[i] = 0x3a 34535 } 34536 if len(m.RedirectURL) > 0 { 34537 i -= len(m.RedirectURL) 34538 copy(dAtA[i:], m.RedirectURL) 34539 i = encodeVarintTypes(dAtA, i, uint64(len(m.RedirectURL))) 34540 i-- 34541 dAtA[i] = 0x32 34542 } 34543 if len(m.CSRFToken) > 0 { 34544 i -= len(m.CSRFToken) 34545 copy(dAtA[i:], m.CSRFToken) 34546 i = encodeVarintTypes(dAtA, i, uint64(len(m.CSRFToken))) 34547 i-- 34548 dAtA[i] = 0x2a 34549 } 34550 if len(m.StateToken) > 0 { 34551 i -= len(m.StateToken) 34552 copy(dAtA[i:], m.StateToken) 34553 i = encodeVarintTypes(dAtA, i, uint64(len(m.StateToken))) 34554 i-- 34555 dAtA[i] = 0x22 34556 } 34557 if m.CheckUser { 34558 i-- 34559 if m.CheckUser { 34560 dAtA[i] = 1 34561 } else { 34562 dAtA[i] = 0 34563 } 34564 i-- 34565 dAtA[i] = 0x18 34566 } 34567 if len(m.Type) > 0 { 34568 i -= len(m.Type) 34569 copy(dAtA[i:], m.Type) 34570 i = encodeVarintTypes(dAtA, i, uint64(len(m.Type))) 34571 i-- 34572 dAtA[i] = 0x12 34573 } 34574 if len(m.ConnectorID) > 0 { 34575 i -= len(m.ConnectorID) 34576 copy(dAtA[i:], m.ConnectorID) 34577 i = encodeVarintTypes(dAtA, i, uint64(len(m.ConnectorID))) 34578 i-- 34579 dAtA[i] = 0xa 34580 } 34581 return len(dAtA) - i, nil 34582 } 34583 34584 func (m *SAMLConnectorV2) Marshal() (dAtA []byte, err error) { 34585 size := m.Size() 34586 dAtA = make([]byte, size) 34587 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34588 if err != nil { 34589 return nil, err 34590 } 34591 return dAtA[:n], nil 34592 } 34593 34594 func (m *SAMLConnectorV2) MarshalTo(dAtA []byte) (int, error) { 34595 size := m.Size() 34596 return m.MarshalToSizedBuffer(dAtA[:size]) 34597 } 34598 34599 func (m *SAMLConnectorV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34600 i := len(dAtA) 34601 _ = i 34602 var l int 34603 _ = l 34604 if m.XXX_unrecognized != nil { 34605 i -= len(m.XXX_unrecognized) 34606 copy(dAtA[i:], m.XXX_unrecognized) 34607 } 34608 { 34609 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 34610 if err != nil { 34611 return 0, err 34612 } 34613 i -= size 34614 i = encodeVarintTypes(dAtA, i, uint64(size)) 34615 } 34616 i-- 34617 dAtA[i] = 0x2a 34618 { 34619 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 34620 if err != nil { 34621 return 0, err 34622 } 34623 i -= size 34624 i = encodeVarintTypes(dAtA, i, uint64(size)) 34625 } 34626 i-- 34627 dAtA[i] = 0x22 34628 if len(m.Version) > 0 { 34629 i -= len(m.Version) 34630 copy(dAtA[i:], m.Version) 34631 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 34632 i-- 34633 dAtA[i] = 0x1a 34634 } 34635 if len(m.SubKind) > 0 { 34636 i -= len(m.SubKind) 34637 copy(dAtA[i:], m.SubKind) 34638 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 34639 i-- 34640 dAtA[i] = 0x12 34641 } 34642 if len(m.Kind) > 0 { 34643 i -= len(m.Kind) 34644 copy(dAtA[i:], m.Kind) 34645 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 34646 i-- 34647 dAtA[i] = 0xa 34648 } 34649 return len(dAtA) - i, nil 34650 } 34651 34652 func (m *SAMLConnectorV2List) Marshal() (dAtA []byte, err error) { 34653 size := m.Size() 34654 dAtA = make([]byte, size) 34655 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34656 if err != nil { 34657 return nil, err 34658 } 34659 return dAtA[:n], nil 34660 } 34661 34662 func (m *SAMLConnectorV2List) MarshalTo(dAtA []byte) (int, error) { 34663 size := m.Size() 34664 return m.MarshalToSizedBuffer(dAtA[:size]) 34665 } 34666 34667 func (m *SAMLConnectorV2List) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34668 i := len(dAtA) 34669 _ = i 34670 var l int 34671 _ = l 34672 if m.XXX_unrecognized != nil { 34673 i -= len(m.XXX_unrecognized) 34674 copy(dAtA[i:], m.XXX_unrecognized) 34675 } 34676 if len(m.SAMLConnectors) > 0 { 34677 for iNdEx := len(m.SAMLConnectors) - 1; iNdEx >= 0; iNdEx-- { 34678 { 34679 size, err := m.SAMLConnectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 34680 if err != nil { 34681 return 0, err 34682 } 34683 i -= size 34684 i = encodeVarintTypes(dAtA, i, uint64(size)) 34685 } 34686 i-- 34687 dAtA[i] = 0xa 34688 } 34689 } 34690 return len(dAtA) - i, nil 34691 } 34692 34693 func (m *SAMLConnectorSpecV2) Marshal() (dAtA []byte, err error) { 34694 size := m.Size() 34695 dAtA = make([]byte, size) 34696 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34697 if err != nil { 34698 return nil, err 34699 } 34700 return dAtA[:n], nil 34701 } 34702 34703 func (m *SAMLConnectorSpecV2) MarshalTo(dAtA []byte) (int, error) { 34704 size := m.Size() 34705 return m.MarshalToSizedBuffer(dAtA[:size]) 34706 } 34707 34708 func (m *SAMLConnectorSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34709 i := len(dAtA) 34710 _ = i 34711 var l int 34712 _ = l 34713 if m.XXX_unrecognized != nil { 34714 i -= len(m.XXX_unrecognized) 34715 copy(dAtA[i:], m.XXX_unrecognized) 34716 } 34717 if m.AllowIDPInitiated { 34718 i-- 34719 if m.AllowIDPInitiated { 34720 dAtA[i] = 1 34721 } else { 34722 dAtA[i] = 0 34723 } 34724 i-- 34725 dAtA[i] = 0x70 34726 } 34727 if m.EncryptionKeyPair != nil { 34728 { 34729 size, err := m.EncryptionKeyPair.MarshalToSizedBuffer(dAtA[:i]) 34730 if err != nil { 34731 return 0, err 34732 } 34733 i -= size 34734 i = encodeVarintTypes(dAtA, i, uint64(size)) 34735 } 34736 i-- 34737 dAtA[i] = 0x6a 34738 } 34739 if len(m.Provider) > 0 { 34740 i -= len(m.Provider) 34741 copy(dAtA[i:], m.Provider) 34742 i = encodeVarintTypes(dAtA, i, uint64(len(m.Provider))) 34743 i-- 34744 dAtA[i] = 0x62 34745 } 34746 if m.SigningKeyPair != nil { 34747 { 34748 size, err := m.SigningKeyPair.MarshalToSizedBuffer(dAtA[:i]) 34749 if err != nil { 34750 return 0, err 34751 } 34752 i -= size 34753 i = encodeVarintTypes(dAtA, i, uint64(size)) 34754 } 34755 i-- 34756 dAtA[i] = 0x5a 34757 } 34758 if len(m.AttributesToRoles) > 0 { 34759 for iNdEx := len(m.AttributesToRoles) - 1; iNdEx >= 0; iNdEx-- { 34760 { 34761 size, err := m.AttributesToRoles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 34762 if err != nil { 34763 return 0, err 34764 } 34765 i -= size 34766 i = encodeVarintTypes(dAtA, i, uint64(size)) 34767 } 34768 i-- 34769 dAtA[i] = 0x52 34770 } 34771 } 34772 if len(m.EntityDescriptorURL) > 0 { 34773 i -= len(m.EntityDescriptorURL) 34774 copy(dAtA[i:], m.EntityDescriptorURL) 34775 i = encodeVarintTypes(dAtA, i, uint64(len(m.EntityDescriptorURL))) 34776 i-- 34777 dAtA[i] = 0x4a 34778 } 34779 if len(m.EntityDescriptor) > 0 { 34780 i -= len(m.EntityDescriptor) 34781 copy(dAtA[i:], m.EntityDescriptor) 34782 i = encodeVarintTypes(dAtA, i, uint64(len(m.EntityDescriptor))) 34783 i-- 34784 dAtA[i] = 0x42 34785 } 34786 if len(m.ServiceProviderIssuer) > 0 { 34787 i -= len(m.ServiceProviderIssuer) 34788 copy(dAtA[i:], m.ServiceProviderIssuer) 34789 i = encodeVarintTypes(dAtA, i, uint64(len(m.ServiceProviderIssuer))) 34790 i-- 34791 dAtA[i] = 0x3a 34792 } 34793 if len(m.Audience) > 0 { 34794 i -= len(m.Audience) 34795 copy(dAtA[i:], m.Audience) 34796 i = encodeVarintTypes(dAtA, i, uint64(len(m.Audience))) 34797 i-- 34798 dAtA[i] = 0x32 34799 } 34800 if len(m.AssertionConsumerService) > 0 { 34801 i -= len(m.AssertionConsumerService) 34802 copy(dAtA[i:], m.AssertionConsumerService) 34803 i = encodeVarintTypes(dAtA, i, uint64(len(m.AssertionConsumerService))) 34804 i-- 34805 dAtA[i] = 0x2a 34806 } 34807 if len(m.Display) > 0 { 34808 i -= len(m.Display) 34809 copy(dAtA[i:], m.Display) 34810 i = encodeVarintTypes(dAtA, i, uint64(len(m.Display))) 34811 i-- 34812 dAtA[i] = 0x22 34813 } 34814 if len(m.Cert) > 0 { 34815 i -= len(m.Cert) 34816 copy(dAtA[i:], m.Cert) 34817 i = encodeVarintTypes(dAtA, i, uint64(len(m.Cert))) 34818 i-- 34819 dAtA[i] = 0x1a 34820 } 34821 if len(m.SSO) > 0 { 34822 i -= len(m.SSO) 34823 copy(dAtA[i:], m.SSO) 34824 i = encodeVarintTypes(dAtA, i, uint64(len(m.SSO))) 34825 i-- 34826 dAtA[i] = 0x12 34827 } 34828 if len(m.Issuer) > 0 { 34829 i -= len(m.Issuer) 34830 copy(dAtA[i:], m.Issuer) 34831 i = encodeVarintTypes(dAtA, i, uint64(len(m.Issuer))) 34832 i-- 34833 dAtA[i] = 0xa 34834 } 34835 return len(dAtA) - i, nil 34836 } 34837 34838 func (m *SAMLAuthRequest) Marshal() (dAtA []byte, err error) { 34839 size := m.Size() 34840 dAtA = make([]byte, size) 34841 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34842 if err != nil { 34843 return nil, err 34844 } 34845 return dAtA[:n], nil 34846 } 34847 34848 func (m *SAMLAuthRequest) MarshalTo(dAtA []byte) (int, error) { 34849 size := m.Size() 34850 return m.MarshalToSizedBuffer(dAtA[:size]) 34851 } 34852 34853 func (m *SAMLAuthRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34854 i := len(dAtA) 34855 _ = i 34856 var l int 34857 _ = l 34858 if m.XXX_unrecognized != nil { 34859 i -= len(m.XXX_unrecognized) 34860 copy(dAtA[i:], m.XXX_unrecognized) 34861 } 34862 if len(m.ClientLoginIP) > 0 { 34863 i -= len(m.ClientLoginIP) 34864 copy(dAtA[i:], m.ClientLoginIP) 34865 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientLoginIP))) 34866 i-- 34867 dAtA[i] = 0x1 34868 i-- 34869 dAtA[i] = 0x8a 34870 } 34871 if m.AttestationStatement != nil { 34872 { 34873 size, err := m.AttestationStatement.MarshalToSizedBuffer(dAtA[:i]) 34874 if err != nil { 34875 return 0, err 34876 } 34877 i -= size 34878 i = encodeVarintTypes(dAtA, i, uint64(size)) 34879 } 34880 i-- 34881 dAtA[i] = 0x1 34882 i-- 34883 dAtA[i] = 0x82 34884 } 34885 if m.ConnectorSpec != nil { 34886 { 34887 size, err := m.ConnectorSpec.MarshalToSizedBuffer(dAtA[:i]) 34888 if err != nil { 34889 return 0, err 34890 } 34891 i -= size 34892 i = encodeVarintTypes(dAtA, i, uint64(size)) 34893 } 34894 i-- 34895 dAtA[i] = 0x7a 34896 } 34897 if m.SSOTestFlow { 34898 i-- 34899 if m.SSOTestFlow { 34900 dAtA[i] = 1 34901 } else { 34902 dAtA[i] = 0 34903 } 34904 i-- 34905 dAtA[i] = 0x70 34906 } 34907 if len(m.KubernetesCluster) > 0 { 34908 i -= len(m.KubernetesCluster) 34909 copy(dAtA[i:], m.KubernetesCluster) 34910 i = encodeVarintTypes(dAtA, i, uint64(len(m.KubernetesCluster))) 34911 i-- 34912 dAtA[i] = 0x6a 34913 } 34914 if len(m.RouteToCluster) > 0 { 34915 i -= len(m.RouteToCluster) 34916 copy(dAtA[i:], m.RouteToCluster) 34917 i = encodeVarintTypes(dAtA, i, uint64(len(m.RouteToCluster))) 34918 i-- 34919 dAtA[i] = 0x62 34920 } 34921 if len(m.Compatibility) > 0 { 34922 i -= len(m.Compatibility) 34923 copy(dAtA[i:], m.Compatibility) 34924 i = encodeVarintTypes(dAtA, i, uint64(len(m.Compatibility))) 34925 i-- 34926 dAtA[i] = 0x5a 34927 } 34928 if len(m.ClientRedirectURL) > 0 { 34929 i -= len(m.ClientRedirectURL) 34930 copy(dAtA[i:], m.ClientRedirectURL) 34931 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientRedirectURL))) 34932 i-- 34933 dAtA[i] = 0x52 34934 } 34935 if m.CreateWebSession { 34936 i-- 34937 if m.CreateWebSession { 34938 dAtA[i] = 1 34939 } else { 34940 dAtA[i] = 0 34941 } 34942 i-- 34943 dAtA[i] = 0x48 34944 } 34945 if len(m.CSRFToken) > 0 { 34946 i -= len(m.CSRFToken) 34947 copy(dAtA[i:], m.CSRFToken) 34948 i = encodeVarintTypes(dAtA, i, uint64(len(m.CSRFToken))) 34949 i-- 34950 dAtA[i] = 0x42 34951 } 34952 if m.CertTTL != 0 { 34953 i = encodeVarintTypes(dAtA, i, uint64(m.CertTTL)) 34954 i-- 34955 dAtA[i] = 0x38 34956 } 34957 if len(m.PublicKey) > 0 { 34958 i -= len(m.PublicKey) 34959 copy(dAtA[i:], m.PublicKey) 34960 i = encodeVarintTypes(dAtA, i, uint64(len(m.PublicKey))) 34961 i-- 34962 dAtA[i] = 0x32 34963 } 34964 if len(m.RedirectURL) > 0 { 34965 i -= len(m.RedirectURL) 34966 copy(dAtA[i:], m.RedirectURL) 34967 i = encodeVarintTypes(dAtA, i, uint64(len(m.RedirectURL))) 34968 i-- 34969 dAtA[i] = 0x2a 34970 } 34971 if m.CheckUser { 34972 i-- 34973 if m.CheckUser { 34974 dAtA[i] = 1 34975 } else { 34976 dAtA[i] = 0 34977 } 34978 i-- 34979 dAtA[i] = 0x20 34980 } 34981 if len(m.Type) > 0 { 34982 i -= len(m.Type) 34983 copy(dAtA[i:], m.Type) 34984 i = encodeVarintTypes(dAtA, i, uint64(len(m.Type))) 34985 i-- 34986 dAtA[i] = 0x1a 34987 } 34988 if len(m.ConnectorID) > 0 { 34989 i -= len(m.ConnectorID) 34990 copy(dAtA[i:], m.ConnectorID) 34991 i = encodeVarintTypes(dAtA, i, uint64(len(m.ConnectorID))) 34992 i-- 34993 dAtA[i] = 0x12 34994 } 34995 if len(m.ID) > 0 { 34996 i -= len(m.ID) 34997 copy(dAtA[i:], m.ID) 34998 i = encodeVarintTypes(dAtA, i, uint64(len(m.ID))) 34999 i-- 35000 dAtA[i] = 0xa 35001 } 35002 return len(dAtA) - i, nil 35003 } 35004 35005 func (m *AttributeMapping) Marshal() (dAtA []byte, err error) { 35006 size := m.Size() 35007 dAtA = make([]byte, size) 35008 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35009 if err != nil { 35010 return nil, err 35011 } 35012 return dAtA[:n], nil 35013 } 35014 35015 func (m *AttributeMapping) MarshalTo(dAtA []byte) (int, error) { 35016 size := m.Size() 35017 return m.MarshalToSizedBuffer(dAtA[:size]) 35018 } 35019 35020 func (m *AttributeMapping) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35021 i := len(dAtA) 35022 _ = i 35023 var l int 35024 _ = l 35025 if m.XXX_unrecognized != nil { 35026 i -= len(m.XXX_unrecognized) 35027 copy(dAtA[i:], m.XXX_unrecognized) 35028 } 35029 if len(m.Roles) > 0 { 35030 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 35031 i -= len(m.Roles[iNdEx]) 35032 copy(dAtA[i:], m.Roles[iNdEx]) 35033 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 35034 i-- 35035 dAtA[i] = 0x1a 35036 } 35037 } 35038 if len(m.Value) > 0 { 35039 i -= len(m.Value) 35040 copy(dAtA[i:], m.Value) 35041 i = encodeVarintTypes(dAtA, i, uint64(len(m.Value))) 35042 i-- 35043 dAtA[i] = 0x12 35044 } 35045 if len(m.Name) > 0 { 35046 i -= len(m.Name) 35047 copy(dAtA[i:], m.Name) 35048 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 35049 i-- 35050 dAtA[i] = 0xa 35051 } 35052 return len(dAtA) - i, nil 35053 } 35054 35055 func (m *AsymmetricKeyPair) Marshal() (dAtA []byte, err error) { 35056 size := m.Size() 35057 dAtA = make([]byte, size) 35058 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35059 if err != nil { 35060 return nil, err 35061 } 35062 return dAtA[:n], nil 35063 } 35064 35065 func (m *AsymmetricKeyPair) MarshalTo(dAtA []byte) (int, error) { 35066 size := m.Size() 35067 return m.MarshalToSizedBuffer(dAtA[:size]) 35068 } 35069 35070 func (m *AsymmetricKeyPair) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35071 i := len(dAtA) 35072 _ = i 35073 var l int 35074 _ = l 35075 if m.XXX_unrecognized != nil { 35076 i -= len(m.XXX_unrecognized) 35077 copy(dAtA[i:], m.XXX_unrecognized) 35078 } 35079 if len(m.Cert) > 0 { 35080 i -= len(m.Cert) 35081 copy(dAtA[i:], m.Cert) 35082 i = encodeVarintTypes(dAtA, i, uint64(len(m.Cert))) 35083 i-- 35084 dAtA[i] = 0x12 35085 } 35086 if len(m.PrivateKey) > 0 { 35087 i -= len(m.PrivateKey) 35088 copy(dAtA[i:], m.PrivateKey) 35089 i = encodeVarintTypes(dAtA, i, uint64(len(m.PrivateKey))) 35090 i-- 35091 dAtA[i] = 0xa 35092 } 35093 return len(dAtA) - i, nil 35094 } 35095 35096 func (m *GithubConnectorV3) Marshal() (dAtA []byte, err error) { 35097 size := m.Size() 35098 dAtA = make([]byte, size) 35099 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35100 if err != nil { 35101 return nil, err 35102 } 35103 return dAtA[:n], nil 35104 } 35105 35106 func (m *GithubConnectorV3) MarshalTo(dAtA []byte) (int, error) { 35107 size := m.Size() 35108 return m.MarshalToSizedBuffer(dAtA[:size]) 35109 } 35110 35111 func (m *GithubConnectorV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35112 i := len(dAtA) 35113 _ = i 35114 var l int 35115 _ = l 35116 if m.XXX_unrecognized != nil { 35117 i -= len(m.XXX_unrecognized) 35118 copy(dAtA[i:], m.XXX_unrecognized) 35119 } 35120 { 35121 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 35122 if err != nil { 35123 return 0, err 35124 } 35125 i -= size 35126 i = encodeVarintTypes(dAtA, i, uint64(size)) 35127 } 35128 i-- 35129 dAtA[i] = 0x2a 35130 { 35131 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 35132 if err != nil { 35133 return 0, err 35134 } 35135 i -= size 35136 i = encodeVarintTypes(dAtA, i, uint64(size)) 35137 } 35138 i-- 35139 dAtA[i] = 0x22 35140 if len(m.Version) > 0 { 35141 i -= len(m.Version) 35142 copy(dAtA[i:], m.Version) 35143 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 35144 i-- 35145 dAtA[i] = 0x1a 35146 } 35147 if len(m.SubKind) > 0 { 35148 i -= len(m.SubKind) 35149 copy(dAtA[i:], m.SubKind) 35150 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 35151 i-- 35152 dAtA[i] = 0x12 35153 } 35154 if len(m.Kind) > 0 { 35155 i -= len(m.Kind) 35156 copy(dAtA[i:], m.Kind) 35157 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 35158 i-- 35159 dAtA[i] = 0xa 35160 } 35161 return len(dAtA) - i, nil 35162 } 35163 35164 func (m *GithubConnectorV3List) Marshal() (dAtA []byte, err error) { 35165 size := m.Size() 35166 dAtA = make([]byte, size) 35167 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35168 if err != nil { 35169 return nil, err 35170 } 35171 return dAtA[:n], nil 35172 } 35173 35174 func (m *GithubConnectorV3List) MarshalTo(dAtA []byte) (int, error) { 35175 size := m.Size() 35176 return m.MarshalToSizedBuffer(dAtA[:size]) 35177 } 35178 35179 func (m *GithubConnectorV3List) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35180 i := len(dAtA) 35181 _ = i 35182 var l int 35183 _ = l 35184 if m.XXX_unrecognized != nil { 35185 i -= len(m.XXX_unrecognized) 35186 copy(dAtA[i:], m.XXX_unrecognized) 35187 } 35188 if len(m.GithubConnectors) > 0 { 35189 for iNdEx := len(m.GithubConnectors) - 1; iNdEx >= 0; iNdEx-- { 35190 { 35191 size, err := m.GithubConnectors[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 35192 if err != nil { 35193 return 0, err 35194 } 35195 i -= size 35196 i = encodeVarintTypes(dAtA, i, uint64(size)) 35197 } 35198 i-- 35199 dAtA[i] = 0xa 35200 } 35201 } 35202 return len(dAtA) - i, nil 35203 } 35204 35205 func (m *GithubConnectorSpecV3) Marshal() (dAtA []byte, err error) { 35206 size := m.Size() 35207 dAtA = make([]byte, size) 35208 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35209 if err != nil { 35210 return nil, err 35211 } 35212 return dAtA[:n], nil 35213 } 35214 35215 func (m *GithubConnectorSpecV3) MarshalTo(dAtA []byte) (int, error) { 35216 size := m.Size() 35217 return m.MarshalToSizedBuffer(dAtA[:size]) 35218 } 35219 35220 func (m *GithubConnectorSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35221 i := len(dAtA) 35222 _ = i 35223 var l int 35224 _ = l 35225 if m.XXX_unrecognized != nil { 35226 i -= len(m.XXX_unrecognized) 35227 copy(dAtA[i:], m.XXX_unrecognized) 35228 } 35229 if len(m.APIEndpointURL) > 0 { 35230 i -= len(m.APIEndpointURL) 35231 copy(dAtA[i:], m.APIEndpointURL) 35232 i = encodeVarintTypes(dAtA, i, uint64(len(m.APIEndpointURL))) 35233 i-- 35234 dAtA[i] = 0x42 35235 } 35236 if len(m.EndpointURL) > 0 { 35237 i -= len(m.EndpointURL) 35238 copy(dAtA[i:], m.EndpointURL) 35239 i = encodeVarintTypes(dAtA, i, uint64(len(m.EndpointURL))) 35240 i-- 35241 dAtA[i] = 0x3a 35242 } 35243 if len(m.TeamsToRoles) > 0 { 35244 for iNdEx := len(m.TeamsToRoles) - 1; iNdEx >= 0; iNdEx-- { 35245 { 35246 size, err := m.TeamsToRoles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 35247 if err != nil { 35248 return 0, err 35249 } 35250 i -= size 35251 i = encodeVarintTypes(dAtA, i, uint64(size)) 35252 } 35253 i-- 35254 dAtA[i] = 0x32 35255 } 35256 } 35257 if len(m.Display) > 0 { 35258 i -= len(m.Display) 35259 copy(dAtA[i:], m.Display) 35260 i = encodeVarintTypes(dAtA, i, uint64(len(m.Display))) 35261 i-- 35262 dAtA[i] = 0x2a 35263 } 35264 if len(m.TeamsToLogins) > 0 { 35265 for iNdEx := len(m.TeamsToLogins) - 1; iNdEx >= 0; iNdEx-- { 35266 { 35267 size, err := m.TeamsToLogins[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 35268 if err != nil { 35269 return 0, err 35270 } 35271 i -= size 35272 i = encodeVarintTypes(dAtA, i, uint64(size)) 35273 } 35274 i-- 35275 dAtA[i] = 0x22 35276 } 35277 } 35278 if len(m.RedirectURL) > 0 { 35279 i -= len(m.RedirectURL) 35280 copy(dAtA[i:], m.RedirectURL) 35281 i = encodeVarintTypes(dAtA, i, uint64(len(m.RedirectURL))) 35282 i-- 35283 dAtA[i] = 0x1a 35284 } 35285 if len(m.ClientSecret) > 0 { 35286 i -= len(m.ClientSecret) 35287 copy(dAtA[i:], m.ClientSecret) 35288 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientSecret))) 35289 i-- 35290 dAtA[i] = 0x12 35291 } 35292 if len(m.ClientID) > 0 { 35293 i -= len(m.ClientID) 35294 copy(dAtA[i:], m.ClientID) 35295 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientID))) 35296 i-- 35297 dAtA[i] = 0xa 35298 } 35299 return len(dAtA) - i, nil 35300 } 35301 35302 func (m *GithubAuthRequest) Marshal() (dAtA []byte, err error) { 35303 size := m.Size() 35304 dAtA = make([]byte, size) 35305 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35306 if err != nil { 35307 return nil, err 35308 } 35309 return dAtA[:n], nil 35310 } 35311 35312 func (m *GithubAuthRequest) MarshalTo(dAtA []byte) (int, error) { 35313 size := m.Size() 35314 return m.MarshalToSizedBuffer(dAtA[:size]) 35315 } 35316 35317 func (m *GithubAuthRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35318 i := len(dAtA) 35319 _ = i 35320 var l int 35321 _ = l 35322 if m.XXX_unrecognized != nil { 35323 i -= len(m.XXX_unrecognized) 35324 copy(dAtA[i:], m.XXX_unrecognized) 35325 } 35326 if len(m.ClientLoginIP) > 0 { 35327 i -= len(m.ClientLoginIP) 35328 copy(dAtA[i:], m.ClientLoginIP) 35329 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientLoginIP))) 35330 i-- 35331 dAtA[i] = 0x1 35332 i-- 35333 dAtA[i] = 0x8a 35334 } 35335 if m.AttestationStatement != nil { 35336 { 35337 size, err := m.AttestationStatement.MarshalToSizedBuffer(dAtA[:i]) 35338 if err != nil { 35339 return 0, err 35340 } 35341 i -= size 35342 i = encodeVarintTypes(dAtA, i, uint64(size)) 35343 } 35344 i-- 35345 dAtA[i] = 0x1 35346 i-- 35347 dAtA[i] = 0x82 35348 } 35349 if m.ConnectorSpec != nil { 35350 { 35351 size, err := m.ConnectorSpec.MarshalToSizedBuffer(dAtA[:i]) 35352 if err != nil { 35353 return 0, err 35354 } 35355 i -= size 35356 i = encodeVarintTypes(dAtA, i, uint64(size)) 35357 } 35358 i-- 35359 dAtA[i] = 0x7a 35360 } 35361 if m.SSOTestFlow { 35362 i-- 35363 if m.SSOTestFlow { 35364 dAtA[i] = 1 35365 } else { 35366 dAtA[i] = 0 35367 } 35368 i-- 35369 dAtA[i] = 0x70 35370 } 35371 if len(m.KubernetesCluster) > 0 { 35372 i -= len(m.KubernetesCluster) 35373 copy(dAtA[i:], m.KubernetesCluster) 35374 i = encodeVarintTypes(dAtA, i, uint64(len(m.KubernetesCluster))) 35375 i-- 35376 dAtA[i] = 0x6a 35377 } 35378 if len(m.RouteToCluster) > 0 { 35379 i -= len(m.RouteToCluster) 35380 copy(dAtA[i:], m.RouteToCluster) 35381 i = encodeVarintTypes(dAtA, i, uint64(len(m.RouteToCluster))) 35382 i-- 35383 dAtA[i] = 0x62 35384 } 35385 if m.Expires != nil { 35386 n240, err240 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expires):]) 35387 if err240 != nil { 35388 return 0, err240 35389 } 35390 i -= n240 35391 i = encodeVarintTypes(dAtA, i, uint64(n240)) 35392 i-- 35393 dAtA[i] = 0x5a 35394 } 35395 if len(m.Compatibility) > 0 { 35396 i -= len(m.Compatibility) 35397 copy(dAtA[i:], m.Compatibility) 35398 i = encodeVarintTypes(dAtA, i, uint64(len(m.Compatibility))) 35399 i-- 35400 dAtA[i] = 0x52 35401 } 35402 if len(m.ClientRedirectURL) > 0 { 35403 i -= len(m.ClientRedirectURL) 35404 copy(dAtA[i:], m.ClientRedirectURL) 35405 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientRedirectURL))) 35406 i-- 35407 dAtA[i] = 0x4a 35408 } 35409 if len(m.RedirectURL) > 0 { 35410 i -= len(m.RedirectURL) 35411 copy(dAtA[i:], m.RedirectURL) 35412 i = encodeVarintTypes(dAtA, i, uint64(len(m.RedirectURL))) 35413 i-- 35414 dAtA[i] = 0x42 35415 } 35416 if m.CreateWebSession { 35417 i-- 35418 if m.CreateWebSession { 35419 dAtA[i] = 1 35420 } else { 35421 dAtA[i] = 0 35422 } 35423 i-- 35424 dAtA[i] = 0x38 35425 } 35426 if m.CertTTL != 0 { 35427 i = encodeVarintTypes(dAtA, i, uint64(m.CertTTL)) 35428 i-- 35429 dAtA[i] = 0x30 35430 } 35431 if len(m.PublicKey) > 0 { 35432 i -= len(m.PublicKey) 35433 copy(dAtA[i:], m.PublicKey) 35434 i = encodeVarintTypes(dAtA, i, uint64(len(m.PublicKey))) 35435 i-- 35436 dAtA[i] = 0x2a 35437 } 35438 if len(m.CSRFToken) > 0 { 35439 i -= len(m.CSRFToken) 35440 copy(dAtA[i:], m.CSRFToken) 35441 i = encodeVarintTypes(dAtA, i, uint64(len(m.CSRFToken))) 35442 i-- 35443 dAtA[i] = 0x22 35444 } 35445 if len(m.StateToken) > 0 { 35446 i -= len(m.StateToken) 35447 copy(dAtA[i:], m.StateToken) 35448 i = encodeVarintTypes(dAtA, i, uint64(len(m.StateToken))) 35449 i-- 35450 dAtA[i] = 0x1a 35451 } 35452 if len(m.Type) > 0 { 35453 i -= len(m.Type) 35454 copy(dAtA[i:], m.Type) 35455 i = encodeVarintTypes(dAtA, i, uint64(len(m.Type))) 35456 i-- 35457 dAtA[i] = 0x12 35458 } 35459 if len(m.ConnectorID) > 0 { 35460 i -= len(m.ConnectorID) 35461 copy(dAtA[i:], m.ConnectorID) 35462 i = encodeVarintTypes(dAtA, i, uint64(len(m.ConnectorID))) 35463 i-- 35464 dAtA[i] = 0xa 35465 } 35466 return len(dAtA) - i, nil 35467 } 35468 35469 func (m *SSOWarnings) Marshal() (dAtA []byte, err error) { 35470 size := m.Size() 35471 dAtA = make([]byte, size) 35472 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35473 if err != nil { 35474 return nil, err 35475 } 35476 return dAtA[:n], nil 35477 } 35478 35479 func (m *SSOWarnings) MarshalTo(dAtA []byte) (int, error) { 35480 size := m.Size() 35481 return m.MarshalToSizedBuffer(dAtA[:size]) 35482 } 35483 35484 func (m *SSOWarnings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35485 i := len(dAtA) 35486 _ = i 35487 var l int 35488 _ = l 35489 if m.XXX_unrecognized != nil { 35490 i -= len(m.XXX_unrecognized) 35491 copy(dAtA[i:], m.XXX_unrecognized) 35492 } 35493 if len(m.Warnings) > 0 { 35494 for iNdEx := len(m.Warnings) - 1; iNdEx >= 0; iNdEx-- { 35495 i -= len(m.Warnings[iNdEx]) 35496 copy(dAtA[i:], m.Warnings[iNdEx]) 35497 i = encodeVarintTypes(dAtA, i, uint64(len(m.Warnings[iNdEx]))) 35498 i-- 35499 dAtA[i] = 0x12 35500 } 35501 } 35502 if len(m.Message) > 0 { 35503 i -= len(m.Message) 35504 copy(dAtA[i:], m.Message) 35505 i = encodeVarintTypes(dAtA, i, uint64(len(m.Message))) 35506 i-- 35507 dAtA[i] = 0xa 35508 } 35509 return len(dAtA) - i, nil 35510 } 35511 35512 func (m *CreateUserParams) Marshal() (dAtA []byte, err error) { 35513 size := m.Size() 35514 dAtA = make([]byte, size) 35515 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35516 if err != nil { 35517 return nil, err 35518 } 35519 return dAtA[:n], nil 35520 } 35521 35522 func (m *CreateUserParams) MarshalTo(dAtA []byte) (int, error) { 35523 size := m.Size() 35524 return m.MarshalToSizedBuffer(dAtA[:size]) 35525 } 35526 35527 func (m *CreateUserParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35528 i := len(dAtA) 35529 _ = i 35530 var l int 35531 _ = l 35532 if m.XXX_unrecognized != nil { 35533 i -= len(m.XXX_unrecognized) 35534 copy(dAtA[i:], m.XXX_unrecognized) 35535 } 35536 if m.SessionTTL != 0 { 35537 i = encodeVarintTypes(dAtA, i, uint64(m.SessionTTL)) 35538 i-- 35539 dAtA[i] = 0x40 35540 } 35541 { 35542 size := m.Traits.Size() 35543 i -= size 35544 if _, err := m.Traits.MarshalTo(dAtA[i:]); err != nil { 35545 return 0, err 35546 } 35547 i = encodeVarintTypes(dAtA, i, uint64(size)) 35548 } 35549 i-- 35550 dAtA[i] = 0x3a 35551 if len(m.Roles) > 0 { 35552 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 35553 i -= len(m.Roles[iNdEx]) 35554 copy(dAtA[i:], m.Roles[iNdEx]) 35555 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 35556 i-- 35557 dAtA[i] = 0x32 35558 } 35559 } 35560 if len(m.KubeUsers) > 0 { 35561 for iNdEx := len(m.KubeUsers) - 1; iNdEx >= 0; iNdEx-- { 35562 i -= len(m.KubeUsers[iNdEx]) 35563 copy(dAtA[i:], m.KubeUsers[iNdEx]) 35564 i = encodeVarintTypes(dAtA, i, uint64(len(m.KubeUsers[iNdEx]))) 35565 i-- 35566 dAtA[i] = 0x2a 35567 } 35568 } 35569 if len(m.KubeGroups) > 0 { 35570 for iNdEx := len(m.KubeGroups) - 1; iNdEx >= 0; iNdEx-- { 35571 i -= len(m.KubeGroups[iNdEx]) 35572 copy(dAtA[i:], m.KubeGroups[iNdEx]) 35573 i = encodeVarintTypes(dAtA, i, uint64(len(m.KubeGroups[iNdEx]))) 35574 i-- 35575 dAtA[i] = 0x22 35576 } 35577 } 35578 if len(m.Logins) > 0 { 35579 for iNdEx := len(m.Logins) - 1; iNdEx >= 0; iNdEx-- { 35580 i -= len(m.Logins[iNdEx]) 35581 copy(dAtA[i:], m.Logins[iNdEx]) 35582 i = encodeVarintTypes(dAtA, i, uint64(len(m.Logins[iNdEx]))) 35583 i-- 35584 dAtA[i] = 0x1a 35585 } 35586 } 35587 if len(m.Username) > 0 { 35588 i -= len(m.Username) 35589 copy(dAtA[i:], m.Username) 35590 i = encodeVarintTypes(dAtA, i, uint64(len(m.Username))) 35591 i-- 35592 dAtA[i] = 0x12 35593 } 35594 if len(m.ConnectorName) > 0 { 35595 i -= len(m.ConnectorName) 35596 copy(dAtA[i:], m.ConnectorName) 35597 i = encodeVarintTypes(dAtA, i, uint64(len(m.ConnectorName))) 35598 i-- 35599 dAtA[i] = 0xa 35600 } 35601 return len(dAtA) - i, nil 35602 } 35603 35604 func (m *SSODiagnosticInfo) Marshal() (dAtA []byte, err error) { 35605 size := m.Size() 35606 dAtA = make([]byte, size) 35607 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35608 if err != nil { 35609 return nil, err 35610 } 35611 return dAtA[:n], nil 35612 } 35613 35614 func (m *SSODiagnosticInfo) MarshalTo(dAtA []byte) (int, error) { 35615 size := m.Size() 35616 return m.MarshalToSizedBuffer(dAtA[:size]) 35617 } 35618 35619 func (m *SSODiagnosticInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35620 i := len(dAtA) 35621 _ = i 35622 var l int 35623 _ = l 35624 if m.XXX_unrecognized != nil { 35625 i -= len(m.XXX_unrecognized) 35626 copy(dAtA[i:], m.XXX_unrecognized) 35627 } 35628 if len(m.AppliedLoginRules) > 0 { 35629 for iNdEx := len(m.AppliedLoginRules) - 1; iNdEx >= 0; iNdEx-- { 35630 i -= len(m.AppliedLoginRules[iNdEx]) 35631 copy(dAtA[i:], m.AppliedLoginRules[iNdEx]) 35632 i = encodeVarintTypes(dAtA, i, uint64(len(m.AppliedLoginRules[iNdEx]))) 35633 i-- 35634 dAtA[i] = 0x2 35635 i-- 35636 dAtA[i] = 0x92 35637 } 35638 } 35639 if m.GithubTokenInfo != nil { 35640 { 35641 size, err := m.GithubTokenInfo.MarshalToSizedBuffer(dAtA[:i]) 35642 if err != nil { 35643 return 0, err 35644 } 35645 i -= size 35646 i = encodeVarintTypes(dAtA, i, uint64(size)) 35647 } 35648 i-- 35649 dAtA[i] = 0x2 35650 i-- 35651 dAtA[i] = 0x8a 35652 } 35653 if len(m.GithubTeamsToRoles) > 0 { 35654 for iNdEx := len(m.GithubTeamsToRoles) - 1; iNdEx >= 0; iNdEx-- { 35655 { 35656 size, err := m.GithubTeamsToRoles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 35657 if err != nil { 35658 return 0, err 35659 } 35660 i -= size 35661 i = encodeVarintTypes(dAtA, i, uint64(size)) 35662 } 35663 i-- 35664 dAtA[i] = 0x2 35665 i-- 35666 dAtA[i] = 0x82 35667 } 35668 } 35669 if len(m.GithubTeamsToLogins) > 0 { 35670 for iNdEx := len(m.GithubTeamsToLogins) - 1; iNdEx >= 0; iNdEx-- { 35671 { 35672 size, err := m.GithubTeamsToLogins[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 35673 if err != nil { 35674 return 0, err 35675 } 35676 i -= size 35677 i = encodeVarintTypes(dAtA, i, uint64(size)) 35678 } 35679 i-- 35680 dAtA[i] = 0x1 35681 i-- 35682 dAtA[i] = 0xfa 35683 } 35684 } 35685 if m.GithubClaims != nil { 35686 { 35687 size, err := m.GithubClaims.MarshalToSizedBuffer(dAtA[:i]) 35688 if err != nil { 35689 return 0, err 35690 } 35691 i -= size 35692 i = encodeVarintTypes(dAtA, i, uint64(size)) 35693 } 35694 i-- 35695 dAtA[i] = 0x1 35696 i-- 35697 dAtA[i] = 0xf2 35698 } 35699 if len(m.OIDCConnectorTraitMapping) > 0 { 35700 for iNdEx := len(m.OIDCConnectorTraitMapping) - 1; iNdEx >= 0; iNdEx-- { 35701 { 35702 size, err := m.OIDCConnectorTraitMapping[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 35703 if err != nil { 35704 return 0, err 35705 } 35706 i -= size 35707 i = encodeVarintTypes(dAtA, i, uint64(size)) 35708 } 35709 i-- 35710 dAtA[i] = 0x1 35711 i-- 35712 dAtA[i] = 0xca 35713 } 35714 } 35715 { 35716 size := m.OIDCTraitsFromClaims.Size() 35717 i -= size 35718 if _, err := m.OIDCTraitsFromClaims.MarshalTo(dAtA[i:]); err != nil { 35719 return 0, err 35720 } 35721 i = encodeVarintTypes(dAtA, i, uint64(size)) 35722 } 35723 i-- 35724 dAtA[i] = 0x1 35725 i-- 35726 dAtA[i] = 0xc2 35727 if m.OIDCIdentity != nil { 35728 { 35729 size := m.OIDCIdentity.Size() 35730 i -= size 35731 if _, err := m.OIDCIdentity.MarshalTo(dAtA[i:]); err != nil { 35732 return 0, err 35733 } 35734 i = encodeVarintTypes(dAtA, i, uint64(size)) 35735 } 35736 i-- 35737 dAtA[i] = 0x1 35738 i-- 35739 dAtA[i] = 0xba 35740 } 35741 { 35742 size := m.OIDCClaims.Size() 35743 i -= size 35744 if _, err := m.OIDCClaims.MarshalTo(dAtA[i:]); err != nil { 35745 return 0, err 35746 } 35747 i = encodeVarintTypes(dAtA, i, uint64(size)) 35748 } 35749 i-- 35750 dAtA[i] = 0x1 35751 i-- 35752 dAtA[i] = 0xb2 35753 if m.OIDCClaimsToRolesWarnings != nil { 35754 { 35755 size, err := m.OIDCClaimsToRolesWarnings.MarshalToSizedBuffer(dAtA[:i]) 35756 if err != nil { 35757 return 0, err 35758 } 35759 i -= size 35760 i = encodeVarintTypes(dAtA, i, uint64(size)) 35761 } 35762 i-- 35763 dAtA[i] = 0x1 35764 i-- 35765 dAtA[i] = 0xaa 35766 } 35767 if len(m.OIDCClaimsToRoles) > 0 { 35768 for iNdEx := len(m.OIDCClaimsToRoles) - 1; iNdEx >= 0; iNdEx-- { 35769 { 35770 size, err := m.OIDCClaimsToRoles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 35771 if err != nil { 35772 return 0, err 35773 } 35774 i -= size 35775 i = encodeVarintTypes(dAtA, i, uint64(size)) 35776 } 35777 i-- 35778 dAtA[i] = 0x1 35779 i-- 35780 dAtA[i] = 0xa2 35781 } 35782 } 35783 if len(m.SAMLConnectorTraitMapping) > 0 { 35784 for iNdEx := len(m.SAMLConnectorTraitMapping) - 1; iNdEx >= 0; iNdEx-- { 35785 { 35786 size, err := m.SAMLConnectorTraitMapping[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 35787 if err != nil { 35788 return 0, err 35789 } 35790 i -= size 35791 i = encodeVarintTypes(dAtA, i, uint64(size)) 35792 } 35793 i-- 35794 dAtA[i] = 0x7a 35795 } 35796 } 35797 { 35798 size := m.SAMLTraitsFromAssertions.Size() 35799 i -= size 35800 if _, err := m.SAMLTraitsFromAssertions.MarshalTo(dAtA[i:]); err != nil { 35801 return 0, err 35802 } 35803 i = encodeVarintTypes(dAtA, i, uint64(size)) 35804 } 35805 i-- 35806 dAtA[i] = 0x72 35807 if m.SAMLAssertionInfo != nil { 35808 { 35809 size := m.SAMLAssertionInfo.Size() 35810 i -= size 35811 if _, err := m.SAMLAssertionInfo.MarshalTo(dAtA[i:]); err != nil { 35812 return 0, err 35813 } 35814 i = encodeVarintTypes(dAtA, i, uint64(size)) 35815 } 35816 i-- 35817 dAtA[i] = 0x6a 35818 } 35819 { 35820 size := m.SAMLAttributeStatements.Size() 35821 i -= size 35822 if _, err := m.SAMLAttributeStatements.MarshalTo(dAtA[i:]); err != nil { 35823 return 0, err 35824 } 35825 i = encodeVarintTypes(dAtA, i, uint64(size)) 35826 } 35827 i-- 35828 dAtA[i] = 0x62 35829 if m.SAMLAttributesToRolesWarnings != nil { 35830 { 35831 size, err := m.SAMLAttributesToRolesWarnings.MarshalToSizedBuffer(dAtA[:i]) 35832 if err != nil { 35833 return 0, err 35834 } 35835 i -= size 35836 i = encodeVarintTypes(dAtA, i, uint64(size)) 35837 } 35838 i-- 35839 dAtA[i] = 0x5a 35840 } 35841 if len(m.SAMLAttributesToRoles) > 0 { 35842 for iNdEx := len(m.SAMLAttributesToRoles) - 1; iNdEx >= 0; iNdEx-- { 35843 { 35844 size, err := m.SAMLAttributesToRoles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 35845 if err != nil { 35846 return 0, err 35847 } 35848 i -= size 35849 i = encodeVarintTypes(dAtA, i, uint64(size)) 35850 } 35851 i-- 35852 dAtA[i] = 0x52 35853 } 35854 } 35855 if m.CreateUserParams != nil { 35856 { 35857 size, err := m.CreateUserParams.MarshalToSizedBuffer(dAtA[:i]) 35858 if err != nil { 35859 return 0, err 35860 } 35861 i -= size 35862 i = encodeVarintTypes(dAtA, i, uint64(size)) 35863 } 35864 i-- 35865 dAtA[i] = 0x22 35866 } 35867 if m.Success { 35868 i-- 35869 if m.Success { 35870 dAtA[i] = 1 35871 } else { 35872 dAtA[i] = 0 35873 } 35874 i-- 35875 dAtA[i] = 0x18 35876 } 35877 if len(m.Error) > 0 { 35878 i -= len(m.Error) 35879 copy(dAtA[i:], m.Error) 35880 i = encodeVarintTypes(dAtA, i, uint64(len(m.Error))) 35881 i-- 35882 dAtA[i] = 0x12 35883 } 35884 if m.TestFlow { 35885 i-- 35886 if m.TestFlow { 35887 dAtA[i] = 1 35888 } else { 35889 dAtA[i] = 0 35890 } 35891 i-- 35892 dAtA[i] = 0x8 35893 } 35894 return len(dAtA) - i, nil 35895 } 35896 35897 func (m *GithubTokenInfo) Marshal() (dAtA []byte, err error) { 35898 size := m.Size() 35899 dAtA = make([]byte, size) 35900 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35901 if err != nil { 35902 return nil, err 35903 } 35904 return dAtA[:n], nil 35905 } 35906 35907 func (m *GithubTokenInfo) MarshalTo(dAtA []byte) (int, error) { 35908 size := m.Size() 35909 return m.MarshalToSizedBuffer(dAtA[:size]) 35910 } 35911 35912 func (m *GithubTokenInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35913 i := len(dAtA) 35914 _ = i 35915 var l int 35916 _ = l 35917 if m.XXX_unrecognized != nil { 35918 i -= len(m.XXX_unrecognized) 35919 copy(dAtA[i:], m.XXX_unrecognized) 35920 } 35921 if len(m.Scope) > 0 { 35922 i -= len(m.Scope) 35923 copy(dAtA[i:], m.Scope) 35924 i = encodeVarintTypes(dAtA, i, uint64(len(m.Scope))) 35925 i-- 35926 dAtA[i] = 0x1a 35927 } 35928 if m.Expires != 0 { 35929 i = encodeVarintTypes(dAtA, i, uint64(m.Expires)) 35930 i-- 35931 dAtA[i] = 0x10 35932 } 35933 if len(m.TokenType) > 0 { 35934 i -= len(m.TokenType) 35935 copy(dAtA[i:], m.TokenType) 35936 i = encodeVarintTypes(dAtA, i, uint64(len(m.TokenType))) 35937 i-- 35938 dAtA[i] = 0xa 35939 } 35940 return len(dAtA) - i, nil 35941 } 35942 35943 func (m *GithubClaims) Marshal() (dAtA []byte, err error) { 35944 size := m.Size() 35945 dAtA = make([]byte, size) 35946 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35947 if err != nil { 35948 return nil, err 35949 } 35950 return dAtA[:n], nil 35951 } 35952 35953 func (m *GithubClaims) MarshalTo(dAtA []byte) (int, error) { 35954 size := m.Size() 35955 return m.MarshalToSizedBuffer(dAtA[:size]) 35956 } 35957 35958 func (m *GithubClaims) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35959 i := len(dAtA) 35960 _ = i 35961 var l int 35962 _ = l 35963 if m.XXX_unrecognized != nil { 35964 i -= len(m.XXX_unrecognized) 35965 copy(dAtA[i:], m.XXX_unrecognized) 35966 } 35967 if len(m.Teams) > 0 { 35968 for iNdEx := len(m.Teams) - 1; iNdEx >= 0; iNdEx-- { 35969 i -= len(m.Teams[iNdEx]) 35970 copy(dAtA[i:], m.Teams[iNdEx]) 35971 i = encodeVarintTypes(dAtA, i, uint64(len(m.Teams[iNdEx]))) 35972 i-- 35973 dAtA[i] = 0x1a 35974 } 35975 } 35976 { 35977 size := m.OrganizationToTeams.Size() 35978 i -= size 35979 if _, err := m.OrganizationToTeams.MarshalTo(dAtA[i:]); err != nil { 35980 return 0, err 35981 } 35982 i = encodeVarintTypes(dAtA, i, uint64(size)) 35983 } 35984 i-- 35985 dAtA[i] = 0x12 35986 if len(m.Username) > 0 { 35987 i -= len(m.Username) 35988 copy(dAtA[i:], m.Username) 35989 i = encodeVarintTypes(dAtA, i, uint64(len(m.Username))) 35990 i-- 35991 dAtA[i] = 0xa 35992 } 35993 return len(dAtA) - i, nil 35994 } 35995 35996 func (m *TeamMapping) Marshal() (dAtA []byte, err error) { 35997 size := m.Size() 35998 dAtA = make([]byte, size) 35999 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36000 if err != nil { 36001 return nil, err 36002 } 36003 return dAtA[:n], nil 36004 } 36005 36006 func (m *TeamMapping) MarshalTo(dAtA []byte) (int, error) { 36007 size := m.Size() 36008 return m.MarshalToSizedBuffer(dAtA[:size]) 36009 } 36010 36011 func (m *TeamMapping) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36012 i := len(dAtA) 36013 _ = i 36014 var l int 36015 _ = l 36016 if m.XXX_unrecognized != nil { 36017 i -= len(m.XXX_unrecognized) 36018 copy(dAtA[i:], m.XXX_unrecognized) 36019 } 36020 if len(m.KubeUsers) > 0 { 36021 for iNdEx := len(m.KubeUsers) - 1; iNdEx >= 0; iNdEx-- { 36022 i -= len(m.KubeUsers[iNdEx]) 36023 copy(dAtA[i:], m.KubeUsers[iNdEx]) 36024 i = encodeVarintTypes(dAtA, i, uint64(len(m.KubeUsers[iNdEx]))) 36025 i-- 36026 dAtA[i] = 0x2a 36027 } 36028 } 36029 if len(m.KubeGroups) > 0 { 36030 for iNdEx := len(m.KubeGroups) - 1; iNdEx >= 0; iNdEx-- { 36031 i -= len(m.KubeGroups[iNdEx]) 36032 copy(dAtA[i:], m.KubeGroups[iNdEx]) 36033 i = encodeVarintTypes(dAtA, i, uint64(len(m.KubeGroups[iNdEx]))) 36034 i-- 36035 dAtA[i] = 0x22 36036 } 36037 } 36038 if len(m.Logins) > 0 { 36039 for iNdEx := len(m.Logins) - 1; iNdEx >= 0; iNdEx-- { 36040 i -= len(m.Logins[iNdEx]) 36041 copy(dAtA[i:], m.Logins[iNdEx]) 36042 i = encodeVarintTypes(dAtA, i, uint64(len(m.Logins[iNdEx]))) 36043 i-- 36044 dAtA[i] = 0x1a 36045 } 36046 } 36047 if len(m.Team) > 0 { 36048 i -= len(m.Team) 36049 copy(dAtA[i:], m.Team) 36050 i = encodeVarintTypes(dAtA, i, uint64(len(m.Team))) 36051 i-- 36052 dAtA[i] = 0x12 36053 } 36054 if len(m.Organization) > 0 { 36055 i -= len(m.Organization) 36056 copy(dAtA[i:], m.Organization) 36057 i = encodeVarintTypes(dAtA, i, uint64(len(m.Organization))) 36058 i-- 36059 dAtA[i] = 0xa 36060 } 36061 return len(dAtA) - i, nil 36062 } 36063 36064 func (m *TeamRolesMapping) Marshal() (dAtA []byte, err error) { 36065 size := m.Size() 36066 dAtA = make([]byte, size) 36067 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36068 if err != nil { 36069 return nil, err 36070 } 36071 return dAtA[:n], nil 36072 } 36073 36074 func (m *TeamRolesMapping) MarshalTo(dAtA []byte) (int, error) { 36075 size := m.Size() 36076 return m.MarshalToSizedBuffer(dAtA[:size]) 36077 } 36078 36079 func (m *TeamRolesMapping) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36080 i := len(dAtA) 36081 _ = i 36082 var l int 36083 _ = l 36084 if m.XXX_unrecognized != nil { 36085 i -= len(m.XXX_unrecognized) 36086 copy(dAtA[i:], m.XXX_unrecognized) 36087 } 36088 if len(m.Roles) > 0 { 36089 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 36090 i -= len(m.Roles[iNdEx]) 36091 copy(dAtA[i:], m.Roles[iNdEx]) 36092 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 36093 i-- 36094 dAtA[i] = 0x1a 36095 } 36096 } 36097 if len(m.Team) > 0 { 36098 i -= len(m.Team) 36099 copy(dAtA[i:], m.Team) 36100 i = encodeVarintTypes(dAtA, i, uint64(len(m.Team))) 36101 i-- 36102 dAtA[i] = 0x12 36103 } 36104 if len(m.Organization) > 0 { 36105 i -= len(m.Organization) 36106 copy(dAtA[i:], m.Organization) 36107 i = encodeVarintTypes(dAtA, i, uint64(len(m.Organization))) 36108 i-- 36109 dAtA[i] = 0xa 36110 } 36111 return len(dAtA) - i, nil 36112 } 36113 36114 func (m *TrustedClusterV2) Marshal() (dAtA []byte, err error) { 36115 size := m.Size() 36116 dAtA = make([]byte, size) 36117 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36118 if err != nil { 36119 return nil, err 36120 } 36121 return dAtA[:n], nil 36122 } 36123 36124 func (m *TrustedClusterV2) MarshalTo(dAtA []byte) (int, error) { 36125 size := m.Size() 36126 return m.MarshalToSizedBuffer(dAtA[:size]) 36127 } 36128 36129 func (m *TrustedClusterV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36130 i := len(dAtA) 36131 _ = i 36132 var l int 36133 _ = l 36134 if m.XXX_unrecognized != nil { 36135 i -= len(m.XXX_unrecognized) 36136 copy(dAtA[i:], m.XXX_unrecognized) 36137 } 36138 { 36139 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 36140 if err != nil { 36141 return 0, err 36142 } 36143 i -= size 36144 i = encodeVarintTypes(dAtA, i, uint64(size)) 36145 } 36146 i-- 36147 dAtA[i] = 0x2a 36148 { 36149 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 36150 if err != nil { 36151 return 0, err 36152 } 36153 i -= size 36154 i = encodeVarintTypes(dAtA, i, uint64(size)) 36155 } 36156 i-- 36157 dAtA[i] = 0x22 36158 if len(m.Version) > 0 { 36159 i -= len(m.Version) 36160 copy(dAtA[i:], m.Version) 36161 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 36162 i-- 36163 dAtA[i] = 0x1a 36164 } 36165 if len(m.SubKind) > 0 { 36166 i -= len(m.SubKind) 36167 copy(dAtA[i:], m.SubKind) 36168 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 36169 i-- 36170 dAtA[i] = 0x12 36171 } 36172 if len(m.Kind) > 0 { 36173 i -= len(m.Kind) 36174 copy(dAtA[i:], m.Kind) 36175 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 36176 i-- 36177 dAtA[i] = 0xa 36178 } 36179 return len(dAtA) - i, nil 36180 } 36181 36182 func (m *TrustedClusterV2List) Marshal() (dAtA []byte, err error) { 36183 size := m.Size() 36184 dAtA = make([]byte, size) 36185 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36186 if err != nil { 36187 return nil, err 36188 } 36189 return dAtA[:n], nil 36190 } 36191 36192 func (m *TrustedClusterV2List) MarshalTo(dAtA []byte) (int, error) { 36193 size := m.Size() 36194 return m.MarshalToSizedBuffer(dAtA[:size]) 36195 } 36196 36197 func (m *TrustedClusterV2List) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36198 i := len(dAtA) 36199 _ = i 36200 var l int 36201 _ = l 36202 if m.XXX_unrecognized != nil { 36203 i -= len(m.XXX_unrecognized) 36204 copy(dAtA[i:], m.XXX_unrecognized) 36205 } 36206 if len(m.TrustedClusters) > 0 { 36207 for iNdEx := len(m.TrustedClusters) - 1; iNdEx >= 0; iNdEx-- { 36208 { 36209 size, err := m.TrustedClusters[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 36210 if err != nil { 36211 return 0, err 36212 } 36213 i -= size 36214 i = encodeVarintTypes(dAtA, i, uint64(size)) 36215 } 36216 i-- 36217 dAtA[i] = 0xa 36218 } 36219 } 36220 return len(dAtA) - i, nil 36221 } 36222 36223 func (m *TrustedClusterSpecV2) Marshal() (dAtA []byte, err error) { 36224 size := m.Size() 36225 dAtA = make([]byte, size) 36226 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36227 if err != nil { 36228 return nil, err 36229 } 36230 return dAtA[:n], nil 36231 } 36232 36233 func (m *TrustedClusterSpecV2) MarshalTo(dAtA []byte) (int, error) { 36234 size := m.Size() 36235 return m.MarshalToSizedBuffer(dAtA[:size]) 36236 } 36237 36238 func (m *TrustedClusterSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36239 i := len(dAtA) 36240 _ = i 36241 var l int 36242 _ = l 36243 if m.XXX_unrecognized != nil { 36244 i -= len(m.XXX_unrecognized) 36245 copy(dAtA[i:], m.XXX_unrecognized) 36246 } 36247 if len(m.RoleMap) > 0 { 36248 for iNdEx := len(m.RoleMap) - 1; iNdEx >= 0; iNdEx-- { 36249 { 36250 size, err := m.RoleMap[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 36251 if err != nil { 36252 return 0, err 36253 } 36254 i -= size 36255 i = encodeVarintTypes(dAtA, i, uint64(size)) 36256 } 36257 i-- 36258 dAtA[i] = 0x32 36259 } 36260 } 36261 if len(m.ReverseTunnelAddress) > 0 { 36262 i -= len(m.ReverseTunnelAddress) 36263 copy(dAtA[i:], m.ReverseTunnelAddress) 36264 i = encodeVarintTypes(dAtA, i, uint64(len(m.ReverseTunnelAddress))) 36265 i-- 36266 dAtA[i] = 0x2a 36267 } 36268 if len(m.ProxyAddress) > 0 { 36269 i -= len(m.ProxyAddress) 36270 copy(dAtA[i:], m.ProxyAddress) 36271 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProxyAddress))) 36272 i-- 36273 dAtA[i] = 0x22 36274 } 36275 if len(m.Token) > 0 { 36276 i -= len(m.Token) 36277 copy(dAtA[i:], m.Token) 36278 i = encodeVarintTypes(dAtA, i, uint64(len(m.Token))) 36279 i-- 36280 dAtA[i] = 0x1a 36281 } 36282 if len(m.Roles) > 0 { 36283 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 36284 i -= len(m.Roles[iNdEx]) 36285 copy(dAtA[i:], m.Roles[iNdEx]) 36286 i = encodeVarintTypes(dAtA, i, uint64(len(m.Roles[iNdEx]))) 36287 i-- 36288 dAtA[i] = 0x12 36289 } 36290 } 36291 if m.Enabled { 36292 i-- 36293 if m.Enabled { 36294 dAtA[i] = 1 36295 } else { 36296 dAtA[i] = 0 36297 } 36298 i-- 36299 dAtA[i] = 0x8 36300 } 36301 return len(dAtA) - i, nil 36302 } 36303 36304 func (m *LockV2) Marshal() (dAtA []byte, err error) { 36305 size := m.Size() 36306 dAtA = make([]byte, size) 36307 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36308 if err != nil { 36309 return nil, err 36310 } 36311 return dAtA[:n], nil 36312 } 36313 36314 func (m *LockV2) MarshalTo(dAtA []byte) (int, error) { 36315 size := m.Size() 36316 return m.MarshalToSizedBuffer(dAtA[:size]) 36317 } 36318 36319 func (m *LockV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36320 i := len(dAtA) 36321 _ = i 36322 var l int 36323 _ = l 36324 if m.XXX_unrecognized != nil { 36325 i -= len(m.XXX_unrecognized) 36326 copy(dAtA[i:], m.XXX_unrecognized) 36327 } 36328 { 36329 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 36330 if err != nil { 36331 return 0, err 36332 } 36333 i -= size 36334 i = encodeVarintTypes(dAtA, i, uint64(size)) 36335 } 36336 i-- 36337 dAtA[i] = 0x2a 36338 { 36339 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 36340 if err != nil { 36341 return 0, err 36342 } 36343 i -= size 36344 i = encodeVarintTypes(dAtA, i, uint64(size)) 36345 } 36346 i-- 36347 dAtA[i] = 0x22 36348 if len(m.Version) > 0 { 36349 i -= len(m.Version) 36350 copy(dAtA[i:], m.Version) 36351 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 36352 i-- 36353 dAtA[i] = 0x1a 36354 } 36355 if len(m.SubKind) > 0 { 36356 i -= len(m.SubKind) 36357 copy(dAtA[i:], m.SubKind) 36358 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 36359 i-- 36360 dAtA[i] = 0x12 36361 } 36362 if len(m.Kind) > 0 { 36363 i -= len(m.Kind) 36364 copy(dAtA[i:], m.Kind) 36365 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 36366 i-- 36367 dAtA[i] = 0xa 36368 } 36369 return len(dAtA) - i, nil 36370 } 36371 36372 func (m *LockSpecV2) Marshal() (dAtA []byte, err error) { 36373 size := m.Size() 36374 dAtA = make([]byte, size) 36375 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36376 if err != nil { 36377 return nil, err 36378 } 36379 return dAtA[:n], nil 36380 } 36381 36382 func (m *LockSpecV2) MarshalTo(dAtA []byte) (int, error) { 36383 size := m.Size() 36384 return m.MarshalToSizedBuffer(dAtA[:size]) 36385 } 36386 36387 func (m *LockSpecV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36388 i := len(dAtA) 36389 _ = i 36390 var l int 36391 _ = l 36392 if m.XXX_unrecognized != nil { 36393 i -= len(m.XXX_unrecognized) 36394 copy(dAtA[i:], m.XXX_unrecognized) 36395 } 36396 if len(m.CreatedBy) > 0 { 36397 i -= len(m.CreatedBy) 36398 copy(dAtA[i:], m.CreatedBy) 36399 i = encodeVarintTypes(dAtA, i, uint64(len(m.CreatedBy))) 36400 i-- 36401 dAtA[i] = 0x2a 36402 } 36403 n258, err258 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt):]) 36404 if err258 != nil { 36405 return 0, err258 36406 } 36407 i -= n258 36408 i = encodeVarintTypes(dAtA, i, uint64(n258)) 36409 i-- 36410 dAtA[i] = 0x22 36411 if m.Expires != nil { 36412 n259, err259 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expires):]) 36413 if err259 != nil { 36414 return 0, err259 36415 } 36416 i -= n259 36417 i = encodeVarintTypes(dAtA, i, uint64(n259)) 36418 i-- 36419 dAtA[i] = 0x1a 36420 } 36421 if len(m.Message) > 0 { 36422 i -= len(m.Message) 36423 copy(dAtA[i:], m.Message) 36424 i = encodeVarintTypes(dAtA, i, uint64(len(m.Message))) 36425 i-- 36426 dAtA[i] = 0x12 36427 } 36428 { 36429 size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) 36430 if err != nil { 36431 return 0, err 36432 } 36433 i -= size 36434 i = encodeVarintTypes(dAtA, i, uint64(size)) 36435 } 36436 i-- 36437 dAtA[i] = 0xa 36438 return len(dAtA) - i, nil 36439 } 36440 36441 func (m *LockTarget) Marshal() (dAtA []byte, err error) { 36442 size := m.Size() 36443 dAtA = make([]byte, size) 36444 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36445 if err != nil { 36446 return nil, err 36447 } 36448 return dAtA[:n], nil 36449 } 36450 36451 func (m *LockTarget) MarshalTo(dAtA []byte) (int, error) { 36452 size := m.Size() 36453 return m.MarshalToSizedBuffer(dAtA[:size]) 36454 } 36455 36456 func (m *LockTarget) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36457 i := len(dAtA) 36458 _ = i 36459 var l int 36460 _ = l 36461 if m.XXX_unrecognized != nil { 36462 i -= len(m.XXX_unrecognized) 36463 copy(dAtA[i:], m.XXX_unrecognized) 36464 } 36465 if len(m.ServerID) > 0 { 36466 i -= len(m.ServerID) 36467 copy(dAtA[i:], m.ServerID) 36468 i = encodeVarintTypes(dAtA, i, uint64(len(m.ServerID))) 36469 i-- 36470 dAtA[i] = 0x4a 36471 } 36472 if len(m.Device) > 0 { 36473 i -= len(m.Device) 36474 copy(dAtA[i:], m.Device) 36475 i = encodeVarintTypes(dAtA, i, uint64(len(m.Device))) 36476 i-- 36477 dAtA[i] = 0x42 36478 } 36479 if len(m.AccessRequest) > 0 { 36480 i -= len(m.AccessRequest) 36481 copy(dAtA[i:], m.AccessRequest) 36482 i = encodeVarintTypes(dAtA, i, uint64(len(m.AccessRequest))) 36483 i-- 36484 dAtA[i] = 0x3a 36485 } 36486 if len(m.WindowsDesktop) > 0 { 36487 i -= len(m.WindowsDesktop) 36488 copy(dAtA[i:], m.WindowsDesktop) 36489 i = encodeVarintTypes(dAtA, i, uint64(len(m.WindowsDesktop))) 36490 i-- 36491 dAtA[i] = 0x32 36492 } 36493 if len(m.MFADevice) > 0 { 36494 i -= len(m.MFADevice) 36495 copy(dAtA[i:], m.MFADevice) 36496 i = encodeVarintTypes(dAtA, i, uint64(len(m.MFADevice))) 36497 i-- 36498 dAtA[i] = 0x2a 36499 } 36500 if len(m.Node) > 0 { 36501 i -= len(m.Node) 36502 copy(dAtA[i:], m.Node) 36503 i = encodeVarintTypes(dAtA, i, uint64(len(m.Node))) 36504 i-- 36505 dAtA[i] = 0x22 36506 } 36507 if len(m.Login) > 0 { 36508 i -= len(m.Login) 36509 copy(dAtA[i:], m.Login) 36510 i = encodeVarintTypes(dAtA, i, uint64(len(m.Login))) 36511 i-- 36512 dAtA[i] = 0x1a 36513 } 36514 if len(m.Role) > 0 { 36515 i -= len(m.Role) 36516 copy(dAtA[i:], m.Role) 36517 i = encodeVarintTypes(dAtA, i, uint64(len(m.Role))) 36518 i-- 36519 dAtA[i] = 0x12 36520 } 36521 if len(m.User) > 0 { 36522 i -= len(m.User) 36523 copy(dAtA[i:], m.User) 36524 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 36525 i-- 36526 dAtA[i] = 0xa 36527 } 36528 return len(dAtA) - i, nil 36529 } 36530 36531 func (m *AddressCondition) Marshal() (dAtA []byte, err error) { 36532 size := m.Size() 36533 dAtA = make([]byte, size) 36534 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36535 if err != nil { 36536 return nil, err 36537 } 36538 return dAtA[:n], nil 36539 } 36540 36541 func (m *AddressCondition) MarshalTo(dAtA []byte) (int, error) { 36542 size := m.Size() 36543 return m.MarshalToSizedBuffer(dAtA[:size]) 36544 } 36545 36546 func (m *AddressCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36547 i := len(dAtA) 36548 _ = i 36549 var l int 36550 _ = l 36551 if m.XXX_unrecognized != nil { 36552 i -= len(m.XXX_unrecognized) 36553 copy(dAtA[i:], m.XXX_unrecognized) 36554 } 36555 if len(m.CIDR) > 0 { 36556 i -= len(m.CIDR) 36557 copy(dAtA[i:], m.CIDR) 36558 i = encodeVarintTypes(dAtA, i, uint64(len(m.CIDR))) 36559 i-- 36560 dAtA[i] = 0xa 36561 } 36562 return len(dAtA) - i, nil 36563 } 36564 36565 func (m *NetworkRestrictionsSpecV4) Marshal() (dAtA []byte, err error) { 36566 size := m.Size() 36567 dAtA = make([]byte, size) 36568 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36569 if err != nil { 36570 return nil, err 36571 } 36572 return dAtA[:n], nil 36573 } 36574 36575 func (m *NetworkRestrictionsSpecV4) MarshalTo(dAtA []byte) (int, error) { 36576 size := m.Size() 36577 return m.MarshalToSizedBuffer(dAtA[:size]) 36578 } 36579 36580 func (m *NetworkRestrictionsSpecV4) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36581 i := len(dAtA) 36582 _ = i 36583 var l int 36584 _ = l 36585 if m.XXX_unrecognized != nil { 36586 i -= len(m.XXX_unrecognized) 36587 copy(dAtA[i:], m.XXX_unrecognized) 36588 } 36589 if len(m.Deny) > 0 { 36590 for iNdEx := len(m.Deny) - 1; iNdEx >= 0; iNdEx-- { 36591 { 36592 size, err := m.Deny[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 36593 if err != nil { 36594 return 0, err 36595 } 36596 i -= size 36597 i = encodeVarintTypes(dAtA, i, uint64(size)) 36598 } 36599 i-- 36600 dAtA[i] = 0x12 36601 } 36602 } 36603 if len(m.Allow) > 0 { 36604 for iNdEx := len(m.Allow) - 1; iNdEx >= 0; iNdEx-- { 36605 { 36606 size, err := m.Allow[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 36607 if err != nil { 36608 return 0, err 36609 } 36610 i -= size 36611 i = encodeVarintTypes(dAtA, i, uint64(size)) 36612 } 36613 i-- 36614 dAtA[i] = 0xa 36615 } 36616 } 36617 return len(dAtA) - i, nil 36618 } 36619 36620 func (m *NetworkRestrictionsV4) Marshal() (dAtA []byte, err error) { 36621 size := m.Size() 36622 dAtA = make([]byte, size) 36623 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36624 if err != nil { 36625 return nil, err 36626 } 36627 return dAtA[:n], nil 36628 } 36629 36630 func (m *NetworkRestrictionsV4) MarshalTo(dAtA []byte) (int, error) { 36631 size := m.Size() 36632 return m.MarshalToSizedBuffer(dAtA[:size]) 36633 } 36634 36635 func (m *NetworkRestrictionsV4) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36636 i := len(dAtA) 36637 _ = i 36638 var l int 36639 _ = l 36640 if m.XXX_unrecognized != nil { 36641 i -= len(m.XXX_unrecognized) 36642 copy(dAtA[i:], m.XXX_unrecognized) 36643 } 36644 { 36645 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 36646 if err != nil { 36647 return 0, err 36648 } 36649 i -= size 36650 i = encodeVarintTypes(dAtA, i, uint64(size)) 36651 } 36652 i-- 36653 dAtA[i] = 0x2a 36654 { 36655 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 36656 if err != nil { 36657 return 0, err 36658 } 36659 i -= size 36660 i = encodeVarintTypes(dAtA, i, uint64(size)) 36661 } 36662 i-- 36663 dAtA[i] = 0x22 36664 if len(m.Version) > 0 { 36665 i -= len(m.Version) 36666 copy(dAtA[i:], m.Version) 36667 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 36668 i-- 36669 dAtA[i] = 0x1a 36670 } 36671 if len(m.SubKind) > 0 { 36672 i -= len(m.SubKind) 36673 copy(dAtA[i:], m.SubKind) 36674 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 36675 i-- 36676 dAtA[i] = 0x12 36677 } 36678 if len(m.Kind) > 0 { 36679 i -= len(m.Kind) 36680 copy(dAtA[i:], m.Kind) 36681 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 36682 i-- 36683 dAtA[i] = 0xa 36684 } 36685 return len(dAtA) - i, nil 36686 } 36687 36688 func (m *WindowsDesktopServiceV3) Marshal() (dAtA []byte, err error) { 36689 size := m.Size() 36690 dAtA = make([]byte, size) 36691 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36692 if err != nil { 36693 return nil, err 36694 } 36695 return dAtA[:n], nil 36696 } 36697 36698 func (m *WindowsDesktopServiceV3) MarshalTo(dAtA []byte) (int, error) { 36699 size := m.Size() 36700 return m.MarshalToSizedBuffer(dAtA[:size]) 36701 } 36702 36703 func (m *WindowsDesktopServiceV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36704 i := len(dAtA) 36705 _ = i 36706 var l int 36707 _ = l 36708 if m.XXX_unrecognized != nil { 36709 i -= len(m.XXX_unrecognized) 36710 copy(dAtA[i:], m.XXX_unrecognized) 36711 } 36712 { 36713 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 36714 if err != nil { 36715 return 0, err 36716 } 36717 i -= size 36718 i = encodeVarintTypes(dAtA, i, uint64(size)) 36719 } 36720 i-- 36721 dAtA[i] = 0x12 36722 { 36723 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 36724 if err != nil { 36725 return 0, err 36726 } 36727 i -= size 36728 i = encodeVarintTypes(dAtA, i, uint64(size)) 36729 } 36730 i-- 36731 dAtA[i] = 0xa 36732 return len(dAtA) - i, nil 36733 } 36734 36735 func (m *WindowsDesktopServiceSpecV3) Marshal() (dAtA []byte, err error) { 36736 size := m.Size() 36737 dAtA = make([]byte, size) 36738 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36739 if err != nil { 36740 return nil, err 36741 } 36742 return dAtA[:n], nil 36743 } 36744 36745 func (m *WindowsDesktopServiceSpecV3) MarshalTo(dAtA []byte) (int, error) { 36746 size := m.Size() 36747 return m.MarshalToSizedBuffer(dAtA[:size]) 36748 } 36749 36750 func (m *WindowsDesktopServiceSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36751 i := len(dAtA) 36752 _ = i 36753 var l int 36754 _ = l 36755 if m.XXX_unrecognized != nil { 36756 i -= len(m.XXX_unrecognized) 36757 copy(dAtA[i:], m.XXX_unrecognized) 36758 } 36759 if len(m.ProxyIDs) > 0 { 36760 for iNdEx := len(m.ProxyIDs) - 1; iNdEx >= 0; iNdEx-- { 36761 i -= len(m.ProxyIDs[iNdEx]) 36762 copy(dAtA[i:], m.ProxyIDs[iNdEx]) 36763 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProxyIDs[iNdEx]))) 36764 i-- 36765 dAtA[i] = 0x22 36766 } 36767 } 36768 if len(m.Hostname) > 0 { 36769 i -= len(m.Hostname) 36770 copy(dAtA[i:], m.Hostname) 36771 i = encodeVarintTypes(dAtA, i, uint64(len(m.Hostname))) 36772 i-- 36773 dAtA[i] = 0x1a 36774 } 36775 if len(m.TeleportVersion) > 0 { 36776 i -= len(m.TeleportVersion) 36777 copy(dAtA[i:], m.TeleportVersion) 36778 i = encodeVarintTypes(dAtA, i, uint64(len(m.TeleportVersion))) 36779 i-- 36780 dAtA[i] = 0x12 36781 } 36782 if len(m.Addr) > 0 { 36783 i -= len(m.Addr) 36784 copy(dAtA[i:], m.Addr) 36785 i = encodeVarintTypes(dAtA, i, uint64(len(m.Addr))) 36786 i-- 36787 dAtA[i] = 0xa 36788 } 36789 return len(dAtA) - i, nil 36790 } 36791 36792 func (m *WindowsDesktopFilter) Marshal() (dAtA []byte, err error) { 36793 size := m.Size() 36794 dAtA = make([]byte, size) 36795 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36796 if err != nil { 36797 return nil, err 36798 } 36799 return dAtA[:n], nil 36800 } 36801 36802 func (m *WindowsDesktopFilter) MarshalTo(dAtA []byte) (int, error) { 36803 size := m.Size() 36804 return m.MarshalToSizedBuffer(dAtA[:size]) 36805 } 36806 36807 func (m *WindowsDesktopFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36808 i := len(dAtA) 36809 _ = i 36810 var l int 36811 _ = l 36812 if m.XXX_unrecognized != nil { 36813 i -= len(m.XXX_unrecognized) 36814 copy(dAtA[i:], m.XXX_unrecognized) 36815 } 36816 if len(m.Name) > 0 { 36817 i -= len(m.Name) 36818 copy(dAtA[i:], m.Name) 36819 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 36820 i-- 36821 dAtA[i] = 0x12 36822 } 36823 if len(m.HostID) > 0 { 36824 i -= len(m.HostID) 36825 copy(dAtA[i:], m.HostID) 36826 i = encodeVarintTypes(dAtA, i, uint64(len(m.HostID))) 36827 i-- 36828 dAtA[i] = 0xa 36829 } 36830 return len(dAtA) - i, nil 36831 } 36832 36833 func (m *WindowsDesktopV3) Marshal() (dAtA []byte, err error) { 36834 size := m.Size() 36835 dAtA = make([]byte, size) 36836 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36837 if err != nil { 36838 return nil, err 36839 } 36840 return dAtA[:n], nil 36841 } 36842 36843 func (m *WindowsDesktopV3) MarshalTo(dAtA []byte) (int, error) { 36844 size := m.Size() 36845 return m.MarshalToSizedBuffer(dAtA[:size]) 36846 } 36847 36848 func (m *WindowsDesktopV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36849 i := len(dAtA) 36850 _ = i 36851 var l int 36852 _ = l 36853 if m.XXX_unrecognized != nil { 36854 i -= len(m.XXX_unrecognized) 36855 copy(dAtA[i:], m.XXX_unrecognized) 36856 } 36857 { 36858 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 36859 if err != nil { 36860 return 0, err 36861 } 36862 i -= size 36863 i = encodeVarintTypes(dAtA, i, uint64(size)) 36864 } 36865 i-- 36866 dAtA[i] = 0x12 36867 { 36868 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 36869 if err != nil { 36870 return 0, err 36871 } 36872 i -= size 36873 i = encodeVarintTypes(dAtA, i, uint64(size)) 36874 } 36875 i-- 36876 dAtA[i] = 0xa 36877 return len(dAtA) - i, nil 36878 } 36879 36880 func (m *WindowsDesktopSpecV3) Marshal() (dAtA []byte, err error) { 36881 size := m.Size() 36882 dAtA = make([]byte, size) 36883 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36884 if err != nil { 36885 return nil, err 36886 } 36887 return dAtA[:n], nil 36888 } 36889 36890 func (m *WindowsDesktopSpecV3) MarshalTo(dAtA []byte) (int, error) { 36891 size := m.Size() 36892 return m.MarshalToSizedBuffer(dAtA[:size]) 36893 } 36894 36895 func (m *WindowsDesktopSpecV3) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36896 i := len(dAtA) 36897 _ = i 36898 var l int 36899 _ = l 36900 if m.XXX_unrecognized != nil { 36901 i -= len(m.XXX_unrecognized) 36902 copy(dAtA[i:], m.XXX_unrecognized) 36903 } 36904 if m.ScreenSize != nil { 36905 { 36906 size, err := m.ScreenSize.MarshalToSizedBuffer(dAtA[:i]) 36907 if err != nil { 36908 return 0, err 36909 } 36910 i -= size 36911 i = encodeVarintTypes(dAtA, i, uint64(size)) 36912 } 36913 i-- 36914 dAtA[i] = 0x2a 36915 } 36916 if m.NonAD { 36917 i-- 36918 if m.NonAD { 36919 dAtA[i] = 1 36920 } else { 36921 dAtA[i] = 0 36922 } 36923 i-- 36924 dAtA[i] = 0x20 36925 } 36926 if len(m.HostID) > 0 { 36927 i -= len(m.HostID) 36928 copy(dAtA[i:], m.HostID) 36929 i = encodeVarintTypes(dAtA, i, uint64(len(m.HostID))) 36930 i-- 36931 dAtA[i] = 0x1a 36932 } 36933 if len(m.Domain) > 0 { 36934 i -= len(m.Domain) 36935 copy(dAtA[i:], m.Domain) 36936 i = encodeVarintTypes(dAtA, i, uint64(len(m.Domain))) 36937 i-- 36938 dAtA[i] = 0x12 36939 } 36940 if len(m.Addr) > 0 { 36941 i -= len(m.Addr) 36942 copy(dAtA[i:], m.Addr) 36943 i = encodeVarintTypes(dAtA, i, uint64(len(m.Addr))) 36944 i-- 36945 dAtA[i] = 0xa 36946 } 36947 return len(dAtA) - i, nil 36948 } 36949 36950 func (m *Resolution) Marshal() (dAtA []byte, err error) { 36951 size := m.Size() 36952 dAtA = make([]byte, size) 36953 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36954 if err != nil { 36955 return nil, err 36956 } 36957 return dAtA[:n], nil 36958 } 36959 36960 func (m *Resolution) MarshalTo(dAtA []byte) (int, error) { 36961 size := m.Size() 36962 return m.MarshalToSizedBuffer(dAtA[:size]) 36963 } 36964 36965 func (m *Resolution) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36966 i := len(dAtA) 36967 _ = i 36968 var l int 36969 _ = l 36970 if m.XXX_unrecognized != nil { 36971 i -= len(m.XXX_unrecognized) 36972 copy(dAtA[i:], m.XXX_unrecognized) 36973 } 36974 if m.Height != 0 { 36975 i = encodeVarintTypes(dAtA, i, uint64(m.Height)) 36976 i-- 36977 dAtA[i] = 0x10 36978 } 36979 if m.Width != 0 { 36980 i = encodeVarintTypes(dAtA, i, uint64(m.Width)) 36981 i-- 36982 dAtA[i] = 0x8 36983 } 36984 return len(dAtA) - i, nil 36985 } 36986 36987 func (m *RegisterUsingTokenRequest) Marshal() (dAtA []byte, err error) { 36988 size := m.Size() 36989 dAtA = make([]byte, size) 36990 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36991 if err != nil { 36992 return nil, err 36993 } 36994 return dAtA[:n], nil 36995 } 36996 36997 func (m *RegisterUsingTokenRequest) MarshalTo(dAtA []byte) (int, error) { 36998 size := m.Size() 36999 return m.MarshalToSizedBuffer(dAtA[:size]) 37000 } 37001 37002 func (m *RegisterUsingTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37003 i := len(dAtA) 37004 _ = i 37005 var l int 37006 _ = l 37007 if m.XXX_unrecognized != nil { 37008 i -= len(m.XXX_unrecognized) 37009 copy(dAtA[i:], m.XXX_unrecognized) 37010 } 37011 if m.Expires != nil { 37012 n268, err268 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expires):]) 37013 if err268 != nil { 37014 return 0, err268 37015 } 37016 i -= n268 37017 i = encodeVarintTypes(dAtA, i, uint64(n268)) 37018 i-- 37019 dAtA[i] = 0x62 37020 } 37021 if len(m.IDToken) > 0 { 37022 i -= len(m.IDToken) 37023 copy(dAtA[i:], m.IDToken) 37024 i = encodeVarintTypes(dAtA, i, uint64(len(m.IDToken))) 37025 i-- 37026 dAtA[i] = 0x5a 37027 } 37028 if len(m.EC2IdentityDocument) > 0 { 37029 i -= len(m.EC2IdentityDocument) 37030 copy(dAtA[i:], m.EC2IdentityDocument) 37031 i = encodeVarintTypes(dAtA, i, uint64(len(m.EC2IdentityDocument))) 37032 i-- 37033 dAtA[i] = 0x52 37034 } 37035 if len(m.RemoteAddr) > 0 { 37036 i -= len(m.RemoteAddr) 37037 copy(dAtA[i:], m.RemoteAddr) 37038 i = encodeVarintTypes(dAtA, i, uint64(len(m.RemoteAddr))) 37039 i-- 37040 dAtA[i] = 0x4a 37041 } 37042 if len(m.PublicSSHKey) > 0 { 37043 i -= len(m.PublicSSHKey) 37044 copy(dAtA[i:], m.PublicSSHKey) 37045 i = encodeVarintTypes(dAtA, i, uint64(len(m.PublicSSHKey))) 37046 i-- 37047 dAtA[i] = 0x42 37048 } 37049 if len(m.PublicTLSKey) > 0 { 37050 i -= len(m.PublicTLSKey) 37051 copy(dAtA[i:], m.PublicTLSKey) 37052 i = encodeVarintTypes(dAtA, i, uint64(len(m.PublicTLSKey))) 37053 i-- 37054 dAtA[i] = 0x3a 37055 } 37056 if len(m.DNSNames) > 0 { 37057 for iNdEx := len(m.DNSNames) - 1; iNdEx >= 0; iNdEx-- { 37058 i -= len(m.DNSNames[iNdEx]) 37059 copy(dAtA[i:], m.DNSNames[iNdEx]) 37060 i = encodeVarintTypes(dAtA, i, uint64(len(m.DNSNames[iNdEx]))) 37061 i-- 37062 dAtA[i] = 0x32 37063 } 37064 } 37065 if len(m.AdditionalPrincipals) > 0 { 37066 for iNdEx := len(m.AdditionalPrincipals) - 1; iNdEx >= 0; iNdEx-- { 37067 i -= len(m.AdditionalPrincipals[iNdEx]) 37068 copy(dAtA[i:], m.AdditionalPrincipals[iNdEx]) 37069 i = encodeVarintTypes(dAtA, i, uint64(len(m.AdditionalPrincipals[iNdEx]))) 37070 i-- 37071 dAtA[i] = 0x2a 37072 } 37073 } 37074 if len(m.Token) > 0 { 37075 i -= len(m.Token) 37076 copy(dAtA[i:], m.Token) 37077 i = encodeVarintTypes(dAtA, i, uint64(len(m.Token))) 37078 i-- 37079 dAtA[i] = 0x22 37080 } 37081 if len(m.Role) > 0 { 37082 i -= len(m.Role) 37083 copy(dAtA[i:], m.Role) 37084 i = encodeVarintTypes(dAtA, i, uint64(len(m.Role))) 37085 i-- 37086 dAtA[i] = 0x1a 37087 } 37088 if len(m.NodeName) > 0 { 37089 i -= len(m.NodeName) 37090 copy(dAtA[i:], m.NodeName) 37091 i = encodeVarintTypes(dAtA, i, uint64(len(m.NodeName))) 37092 i-- 37093 dAtA[i] = 0x12 37094 } 37095 if len(m.HostID) > 0 { 37096 i -= len(m.HostID) 37097 copy(dAtA[i:], m.HostID) 37098 i = encodeVarintTypes(dAtA, i, uint64(len(m.HostID))) 37099 i-- 37100 dAtA[i] = 0xa 37101 } 37102 return len(dAtA) - i, nil 37103 } 37104 37105 func (m *RecoveryCodesV1) Marshal() (dAtA []byte, err error) { 37106 size := m.Size() 37107 dAtA = make([]byte, size) 37108 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37109 if err != nil { 37110 return nil, err 37111 } 37112 return dAtA[:n], nil 37113 } 37114 37115 func (m *RecoveryCodesV1) MarshalTo(dAtA []byte) (int, error) { 37116 size := m.Size() 37117 return m.MarshalToSizedBuffer(dAtA[:size]) 37118 } 37119 37120 func (m *RecoveryCodesV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37121 i := len(dAtA) 37122 _ = i 37123 var l int 37124 _ = l 37125 if m.XXX_unrecognized != nil { 37126 i -= len(m.XXX_unrecognized) 37127 copy(dAtA[i:], m.XXX_unrecognized) 37128 } 37129 { 37130 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 37131 if err != nil { 37132 return 0, err 37133 } 37134 i -= size 37135 i = encodeVarintTypes(dAtA, i, uint64(size)) 37136 } 37137 i-- 37138 dAtA[i] = 0x2a 37139 { 37140 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 37141 if err != nil { 37142 return 0, err 37143 } 37144 i -= size 37145 i = encodeVarintTypes(dAtA, i, uint64(size)) 37146 } 37147 i-- 37148 dAtA[i] = 0x22 37149 if len(m.Version) > 0 { 37150 i -= len(m.Version) 37151 copy(dAtA[i:], m.Version) 37152 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 37153 i-- 37154 dAtA[i] = 0x1a 37155 } 37156 if len(m.SubKind) > 0 { 37157 i -= len(m.SubKind) 37158 copy(dAtA[i:], m.SubKind) 37159 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 37160 i-- 37161 dAtA[i] = 0x12 37162 } 37163 if len(m.Kind) > 0 { 37164 i -= len(m.Kind) 37165 copy(dAtA[i:], m.Kind) 37166 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 37167 i-- 37168 dAtA[i] = 0xa 37169 } 37170 return len(dAtA) - i, nil 37171 } 37172 37173 func (m *RecoveryCodesSpecV1) Marshal() (dAtA []byte, err error) { 37174 size := m.Size() 37175 dAtA = make([]byte, size) 37176 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37177 if err != nil { 37178 return nil, err 37179 } 37180 return dAtA[:n], nil 37181 } 37182 37183 func (m *RecoveryCodesSpecV1) MarshalTo(dAtA []byte) (int, error) { 37184 size := m.Size() 37185 return m.MarshalToSizedBuffer(dAtA[:size]) 37186 } 37187 37188 func (m *RecoveryCodesSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37189 i := len(dAtA) 37190 _ = i 37191 var l int 37192 _ = l 37193 if m.XXX_unrecognized != nil { 37194 i -= len(m.XXX_unrecognized) 37195 copy(dAtA[i:], m.XXX_unrecognized) 37196 } 37197 n271, err271 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Created, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Created):]) 37198 if err271 != nil { 37199 return 0, err271 37200 } 37201 i -= n271 37202 i = encodeVarintTypes(dAtA, i, uint64(n271)) 37203 i-- 37204 dAtA[i] = 0x12 37205 if len(m.Codes) > 0 { 37206 for iNdEx := len(m.Codes) - 1; iNdEx >= 0; iNdEx-- { 37207 { 37208 size, err := m.Codes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 37209 if err != nil { 37210 return 0, err 37211 } 37212 i -= size 37213 i = encodeVarintTypes(dAtA, i, uint64(size)) 37214 } 37215 i-- 37216 dAtA[i] = 0xa 37217 } 37218 } 37219 return len(dAtA) - i, nil 37220 } 37221 37222 func (m *RecoveryCode) Marshal() (dAtA []byte, err error) { 37223 size := m.Size() 37224 dAtA = make([]byte, size) 37225 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37226 if err != nil { 37227 return nil, err 37228 } 37229 return dAtA[:n], nil 37230 } 37231 37232 func (m *RecoveryCode) MarshalTo(dAtA []byte) (int, error) { 37233 size := m.Size() 37234 return m.MarshalToSizedBuffer(dAtA[:size]) 37235 } 37236 37237 func (m *RecoveryCode) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37238 i := len(dAtA) 37239 _ = i 37240 var l int 37241 _ = l 37242 if m.XXX_unrecognized != nil { 37243 i -= len(m.XXX_unrecognized) 37244 copy(dAtA[i:], m.XXX_unrecognized) 37245 } 37246 if m.IsUsed { 37247 i-- 37248 if m.IsUsed { 37249 dAtA[i] = 1 37250 } else { 37251 dAtA[i] = 0 37252 } 37253 i-- 37254 dAtA[i] = 0x10 37255 } 37256 if len(m.HashedCode) > 0 { 37257 i -= len(m.HashedCode) 37258 copy(dAtA[i:], m.HashedCode) 37259 i = encodeVarintTypes(dAtA, i, uint64(len(m.HashedCode))) 37260 i-- 37261 dAtA[i] = 0xa 37262 } 37263 return len(dAtA) - i, nil 37264 } 37265 37266 func (m *NullableSessionState) Marshal() (dAtA []byte, err error) { 37267 size := m.Size() 37268 dAtA = make([]byte, size) 37269 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37270 if err != nil { 37271 return nil, err 37272 } 37273 return dAtA[:n], nil 37274 } 37275 37276 func (m *NullableSessionState) MarshalTo(dAtA []byte) (int, error) { 37277 size := m.Size() 37278 return m.MarshalToSizedBuffer(dAtA[:size]) 37279 } 37280 37281 func (m *NullableSessionState) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37282 i := len(dAtA) 37283 _ = i 37284 var l int 37285 _ = l 37286 if m.XXX_unrecognized != nil { 37287 i -= len(m.XXX_unrecognized) 37288 copy(dAtA[i:], m.XXX_unrecognized) 37289 } 37290 if m.State != 0 { 37291 i = encodeVarintTypes(dAtA, i, uint64(m.State)) 37292 i-- 37293 dAtA[i] = 0x8 37294 } 37295 return len(dAtA) - i, nil 37296 } 37297 37298 func (m *SessionTrackerFilter) Marshal() (dAtA []byte, err error) { 37299 size := m.Size() 37300 dAtA = make([]byte, size) 37301 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37302 if err != nil { 37303 return nil, err 37304 } 37305 return dAtA[:n], nil 37306 } 37307 37308 func (m *SessionTrackerFilter) MarshalTo(dAtA []byte) (int, error) { 37309 size := m.Size() 37310 return m.MarshalToSizedBuffer(dAtA[:size]) 37311 } 37312 37313 func (m *SessionTrackerFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37314 i := len(dAtA) 37315 _ = i 37316 var l int 37317 _ = l 37318 if m.XXX_unrecognized != nil { 37319 i -= len(m.XXX_unrecognized) 37320 copy(dAtA[i:], m.XXX_unrecognized) 37321 } 37322 if len(m.DesktopName) > 0 { 37323 i -= len(m.DesktopName) 37324 copy(dAtA[i:], m.DesktopName) 37325 i = encodeVarintTypes(dAtA, i, uint64(len(m.DesktopName))) 37326 i-- 37327 dAtA[i] = 0x1a 37328 } 37329 if m.State != nil { 37330 { 37331 size, err := m.State.MarshalToSizedBuffer(dAtA[:i]) 37332 if err != nil { 37333 return 0, err 37334 } 37335 i -= size 37336 i = encodeVarintTypes(dAtA, i, uint64(size)) 37337 } 37338 i-- 37339 dAtA[i] = 0x12 37340 } 37341 if len(m.Kind) > 0 { 37342 i -= len(m.Kind) 37343 copy(dAtA[i:], m.Kind) 37344 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 37345 i-- 37346 dAtA[i] = 0xa 37347 } 37348 return len(dAtA) - i, nil 37349 } 37350 37351 func (m *SessionTrackerV1) Marshal() (dAtA []byte, err error) { 37352 size := m.Size() 37353 dAtA = make([]byte, size) 37354 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37355 if err != nil { 37356 return nil, err 37357 } 37358 return dAtA[:n], nil 37359 } 37360 37361 func (m *SessionTrackerV1) MarshalTo(dAtA []byte) (int, error) { 37362 size := m.Size() 37363 return m.MarshalToSizedBuffer(dAtA[:size]) 37364 } 37365 37366 func (m *SessionTrackerV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37367 i := len(dAtA) 37368 _ = i 37369 var l int 37370 _ = l 37371 if m.XXX_unrecognized != nil { 37372 i -= len(m.XXX_unrecognized) 37373 copy(dAtA[i:], m.XXX_unrecognized) 37374 } 37375 { 37376 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 37377 if err != nil { 37378 return 0, err 37379 } 37380 i -= size 37381 i = encodeVarintTypes(dAtA, i, uint64(size)) 37382 } 37383 i-- 37384 dAtA[i] = 0x12 37385 { 37386 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 37387 if err != nil { 37388 return 0, err 37389 } 37390 i -= size 37391 i = encodeVarintTypes(dAtA, i, uint64(size)) 37392 } 37393 i-- 37394 dAtA[i] = 0xa 37395 return len(dAtA) - i, nil 37396 } 37397 37398 func (m *SessionTrackerSpecV1) Marshal() (dAtA []byte, err error) { 37399 size := m.Size() 37400 dAtA = make([]byte, size) 37401 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37402 if err != nil { 37403 return nil, err 37404 } 37405 return dAtA[:n], nil 37406 } 37407 37408 func (m *SessionTrackerSpecV1) MarshalTo(dAtA []byte) (int, error) { 37409 size := m.Size() 37410 return m.MarshalToSizedBuffer(dAtA[:size]) 37411 } 37412 37413 func (m *SessionTrackerSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37414 i := len(dAtA) 37415 _ = i 37416 var l int 37417 _ = l 37418 if m.XXX_unrecognized != nil { 37419 i -= len(m.XXX_unrecognized) 37420 copy(dAtA[i:], m.XXX_unrecognized) 37421 } 37422 if len(m.InitialCommand) > 0 { 37423 for iNdEx := len(m.InitialCommand) - 1; iNdEx >= 0; iNdEx-- { 37424 i -= len(m.InitialCommand[iNdEx]) 37425 copy(dAtA[i:], m.InitialCommand[iNdEx]) 37426 i = encodeVarintTypes(dAtA, i, uint64(len(m.InitialCommand[iNdEx]))) 37427 i-- 37428 dAtA[i] = 0x1 37429 i-- 37430 dAtA[i] = 0xba 37431 } 37432 } 37433 if len(m.TargetSubKind) > 0 { 37434 i -= len(m.TargetSubKind) 37435 copy(dAtA[i:], m.TargetSubKind) 37436 i = encodeVarintTypes(dAtA, i, uint64(len(m.TargetSubKind))) 37437 i-- 37438 dAtA[i] = 0x1 37439 i-- 37440 dAtA[i] = 0xb2 37441 } 37442 if len(m.HostID) > 0 { 37443 i -= len(m.HostID) 37444 copy(dAtA[i:], m.HostID) 37445 i = encodeVarintTypes(dAtA, i, uint64(len(m.HostID))) 37446 i-- 37447 dAtA[i] = 0x1 37448 i-- 37449 dAtA[i] = 0xaa 37450 } 37451 if len(m.DesktopName) > 0 { 37452 i -= len(m.DesktopName) 37453 copy(dAtA[i:], m.DesktopName) 37454 i = encodeVarintTypes(dAtA, i, uint64(len(m.DesktopName))) 37455 i-- 37456 dAtA[i] = 0x1 37457 i-- 37458 dAtA[i] = 0xa2 37459 } 37460 if len(m.AppSessionID) > 0 { 37461 i -= len(m.AppSessionID) 37462 copy(dAtA[i:], m.AppSessionID) 37463 i = encodeVarintTypes(dAtA, i, uint64(len(m.AppSessionID))) 37464 i-- 37465 dAtA[i] = 0x1 37466 i-- 37467 dAtA[i] = 0x9a 37468 } 37469 if len(m.AppName) > 0 { 37470 i -= len(m.AppName) 37471 copy(dAtA[i:], m.AppName) 37472 i = encodeVarintTypes(dAtA, i, uint64(len(m.AppName))) 37473 i-- 37474 dAtA[i] = 0x1 37475 i-- 37476 dAtA[i] = 0x92 37477 } 37478 if len(m.DatabaseName) > 0 { 37479 i -= len(m.DatabaseName) 37480 copy(dAtA[i:], m.DatabaseName) 37481 i = encodeVarintTypes(dAtA, i, uint64(len(m.DatabaseName))) 37482 i-- 37483 dAtA[i] = 0x1 37484 i-- 37485 dAtA[i] = 0x8a 37486 } 37487 if len(m.HostPolicies) > 0 { 37488 for iNdEx := len(m.HostPolicies) - 1; iNdEx >= 0; iNdEx-- { 37489 { 37490 size, err := m.HostPolicies[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 37491 if err != nil { 37492 return 0, err 37493 } 37494 i -= size 37495 i = encodeVarintTypes(dAtA, i, uint64(size)) 37496 } 37497 i-- 37498 dAtA[i] = 0x1 37499 i-- 37500 dAtA[i] = 0x82 37501 } 37502 } 37503 if len(m.HostUser) > 0 { 37504 i -= len(m.HostUser) 37505 copy(dAtA[i:], m.HostUser) 37506 i = encodeVarintTypes(dAtA, i, uint64(len(m.HostUser))) 37507 i-- 37508 dAtA[i] = 0x7a 37509 } 37510 if len(m.KubernetesCluster) > 0 { 37511 i -= len(m.KubernetesCluster) 37512 copy(dAtA[i:], m.KubernetesCluster) 37513 i = encodeVarintTypes(dAtA, i, uint64(len(m.KubernetesCluster))) 37514 i-- 37515 dAtA[i] = 0x72 37516 } 37517 if len(m.Participants) > 0 { 37518 for iNdEx := len(m.Participants) - 1; iNdEx >= 0; iNdEx-- { 37519 { 37520 size, err := m.Participants[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 37521 if err != nil { 37522 return 0, err 37523 } 37524 i -= size 37525 i = encodeVarintTypes(dAtA, i, uint64(size)) 37526 } 37527 i-- 37528 dAtA[i] = 0x6a 37529 } 37530 } 37531 if len(m.Login) > 0 { 37532 i -= len(m.Login) 37533 copy(dAtA[i:], m.Login) 37534 i = encodeVarintTypes(dAtA, i, uint64(len(m.Login))) 37535 i-- 37536 dAtA[i] = 0x62 37537 } 37538 if len(m.ClusterName) > 0 { 37539 i -= len(m.ClusterName) 37540 copy(dAtA[i:], m.ClusterName) 37541 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClusterName))) 37542 i-- 37543 dAtA[i] = 0x5a 37544 } 37545 if len(m.Address) > 0 { 37546 i -= len(m.Address) 37547 copy(dAtA[i:], m.Address) 37548 i = encodeVarintTypes(dAtA, i, uint64(len(m.Address))) 37549 i-- 37550 dAtA[i] = 0x52 37551 } 37552 if len(m.Hostname) > 0 { 37553 i -= len(m.Hostname) 37554 copy(dAtA[i:], m.Hostname) 37555 i = encodeVarintTypes(dAtA, i, uint64(len(m.Hostname))) 37556 i-- 37557 dAtA[i] = 0x4a 37558 } 37559 if len(m.Invited) > 0 { 37560 for iNdEx := len(m.Invited) - 1; iNdEx >= 0; iNdEx-- { 37561 i -= len(m.Invited[iNdEx]) 37562 copy(dAtA[i:], m.Invited[iNdEx]) 37563 i = encodeVarintTypes(dAtA, i, uint64(len(m.Invited[iNdEx]))) 37564 i-- 37565 dAtA[i] = 0x42 37566 } 37567 } 37568 if len(m.Reason) > 0 { 37569 i -= len(m.Reason) 37570 copy(dAtA[i:], m.Reason) 37571 i = encodeVarintTypes(dAtA, i, uint64(len(m.Reason))) 37572 i-- 37573 dAtA[i] = 0x3a 37574 } 37575 if len(m.AttachedData) > 0 { 37576 i -= len(m.AttachedData) 37577 copy(dAtA[i:], m.AttachedData) 37578 i = encodeVarintTypes(dAtA, i, uint64(len(m.AttachedData))) 37579 i-- 37580 dAtA[i] = 0x32 37581 } 37582 n275, err275 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires):]) 37583 if err275 != nil { 37584 return 0, err275 37585 } 37586 i -= n275 37587 i = encodeVarintTypes(dAtA, i, uint64(n275)) 37588 i-- 37589 dAtA[i] = 0x2a 37590 n276, err276 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Created, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Created):]) 37591 if err276 != nil { 37592 return 0, err276 37593 } 37594 i -= n276 37595 i = encodeVarintTypes(dAtA, i, uint64(n276)) 37596 i-- 37597 dAtA[i] = 0x22 37598 if m.State != 0 { 37599 i = encodeVarintTypes(dAtA, i, uint64(m.State)) 37600 i-- 37601 dAtA[i] = 0x18 37602 } 37603 if len(m.Kind) > 0 { 37604 i -= len(m.Kind) 37605 copy(dAtA[i:], m.Kind) 37606 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 37607 i-- 37608 dAtA[i] = 0x12 37609 } 37610 if len(m.SessionID) > 0 { 37611 i -= len(m.SessionID) 37612 copy(dAtA[i:], m.SessionID) 37613 i = encodeVarintTypes(dAtA, i, uint64(len(m.SessionID))) 37614 i-- 37615 dAtA[i] = 0xa 37616 } 37617 return len(dAtA) - i, nil 37618 } 37619 37620 func (m *SessionTrackerPolicySet) Marshal() (dAtA []byte, err error) { 37621 size := m.Size() 37622 dAtA = make([]byte, size) 37623 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37624 if err != nil { 37625 return nil, err 37626 } 37627 return dAtA[:n], nil 37628 } 37629 37630 func (m *SessionTrackerPolicySet) MarshalTo(dAtA []byte) (int, error) { 37631 size := m.Size() 37632 return m.MarshalToSizedBuffer(dAtA[:size]) 37633 } 37634 37635 func (m *SessionTrackerPolicySet) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37636 i := len(dAtA) 37637 _ = i 37638 var l int 37639 _ = l 37640 if m.XXX_unrecognized != nil { 37641 i -= len(m.XXX_unrecognized) 37642 copy(dAtA[i:], m.XXX_unrecognized) 37643 } 37644 if len(m.RequireSessionJoin) > 0 { 37645 for iNdEx := len(m.RequireSessionJoin) - 1; iNdEx >= 0; iNdEx-- { 37646 { 37647 size, err := m.RequireSessionJoin[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 37648 if err != nil { 37649 return 0, err 37650 } 37651 i -= size 37652 i = encodeVarintTypes(dAtA, i, uint64(size)) 37653 } 37654 i-- 37655 dAtA[i] = 0x1a 37656 } 37657 } 37658 if len(m.Version) > 0 { 37659 i -= len(m.Version) 37660 copy(dAtA[i:], m.Version) 37661 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 37662 i-- 37663 dAtA[i] = 0x12 37664 } 37665 if len(m.Name) > 0 { 37666 i -= len(m.Name) 37667 copy(dAtA[i:], m.Name) 37668 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 37669 i-- 37670 dAtA[i] = 0xa 37671 } 37672 return len(dAtA) - i, nil 37673 } 37674 37675 func (m *Participant) Marshal() (dAtA []byte, err error) { 37676 size := m.Size() 37677 dAtA = make([]byte, size) 37678 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37679 if err != nil { 37680 return nil, err 37681 } 37682 return dAtA[:n], nil 37683 } 37684 37685 func (m *Participant) MarshalTo(dAtA []byte) (int, error) { 37686 size := m.Size() 37687 return m.MarshalToSizedBuffer(dAtA[:size]) 37688 } 37689 37690 func (m *Participant) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37691 i := len(dAtA) 37692 _ = i 37693 var l int 37694 _ = l 37695 if m.XXX_unrecognized != nil { 37696 i -= len(m.XXX_unrecognized) 37697 copy(dAtA[i:], m.XXX_unrecognized) 37698 } 37699 n277, err277 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.LastActive, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.LastActive):]) 37700 if err277 != nil { 37701 return 0, err277 37702 } 37703 i -= n277 37704 i = encodeVarintTypes(dAtA, i, uint64(n277)) 37705 i-- 37706 dAtA[i] = 0x22 37707 if len(m.Mode) > 0 { 37708 i -= len(m.Mode) 37709 copy(dAtA[i:], m.Mode) 37710 i = encodeVarintTypes(dAtA, i, uint64(len(m.Mode))) 37711 i-- 37712 dAtA[i] = 0x1a 37713 } 37714 if len(m.User) > 0 { 37715 i -= len(m.User) 37716 copy(dAtA[i:], m.User) 37717 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 37718 i-- 37719 dAtA[i] = 0x12 37720 } 37721 if len(m.ID) > 0 { 37722 i -= len(m.ID) 37723 copy(dAtA[i:], m.ID) 37724 i = encodeVarintTypes(dAtA, i, uint64(len(m.ID))) 37725 i-- 37726 dAtA[i] = 0xa 37727 } 37728 return len(dAtA) - i, nil 37729 } 37730 37731 func (m *UIConfigV1) Marshal() (dAtA []byte, err error) { 37732 size := m.Size() 37733 dAtA = make([]byte, size) 37734 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37735 if err != nil { 37736 return nil, err 37737 } 37738 return dAtA[:n], nil 37739 } 37740 37741 func (m *UIConfigV1) MarshalTo(dAtA []byte) (int, error) { 37742 size := m.Size() 37743 return m.MarshalToSizedBuffer(dAtA[:size]) 37744 } 37745 37746 func (m *UIConfigV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37747 i := len(dAtA) 37748 _ = i 37749 var l int 37750 _ = l 37751 if m.XXX_unrecognized != nil { 37752 i -= len(m.XXX_unrecognized) 37753 copy(dAtA[i:], m.XXX_unrecognized) 37754 } 37755 { 37756 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 37757 if err != nil { 37758 return 0, err 37759 } 37760 i -= size 37761 i = encodeVarintTypes(dAtA, i, uint64(size)) 37762 } 37763 i-- 37764 dAtA[i] = 0x2a 37765 { 37766 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 37767 if err != nil { 37768 return 0, err 37769 } 37770 i -= size 37771 i = encodeVarintTypes(dAtA, i, uint64(size)) 37772 } 37773 i-- 37774 dAtA[i] = 0xa 37775 return len(dAtA) - i, nil 37776 } 37777 37778 func (m *UIConfigSpecV1) Marshal() (dAtA []byte, err error) { 37779 size := m.Size() 37780 dAtA = make([]byte, size) 37781 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37782 if err != nil { 37783 return nil, err 37784 } 37785 return dAtA[:n], nil 37786 } 37787 37788 func (m *UIConfigSpecV1) MarshalTo(dAtA []byte) (int, error) { 37789 size := m.Size() 37790 return m.MarshalToSizedBuffer(dAtA[:size]) 37791 } 37792 37793 func (m *UIConfigSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37794 i := len(dAtA) 37795 _ = i 37796 var l int 37797 _ = l 37798 if m.XXX_unrecognized != nil { 37799 i -= len(m.XXX_unrecognized) 37800 copy(dAtA[i:], m.XXX_unrecognized) 37801 } 37802 if len(m.ShowResources) > 0 { 37803 i -= len(m.ShowResources) 37804 copy(dAtA[i:], m.ShowResources) 37805 i = encodeVarintTypes(dAtA, i, uint64(len(m.ShowResources))) 37806 i-- 37807 dAtA[i] = 0x12 37808 } 37809 if m.ScrollbackLines != 0 { 37810 i = encodeVarintTypes(dAtA, i, uint64(m.ScrollbackLines)) 37811 i-- 37812 dAtA[i] = 0x8 37813 } 37814 return len(dAtA) - i, nil 37815 } 37816 37817 func (m *InstallerV1) Marshal() (dAtA []byte, err error) { 37818 size := m.Size() 37819 dAtA = make([]byte, size) 37820 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37821 if err != nil { 37822 return nil, err 37823 } 37824 return dAtA[:n], nil 37825 } 37826 37827 func (m *InstallerV1) MarshalTo(dAtA []byte) (int, error) { 37828 size := m.Size() 37829 return m.MarshalToSizedBuffer(dAtA[:size]) 37830 } 37831 37832 func (m *InstallerV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37833 i := len(dAtA) 37834 _ = i 37835 var l int 37836 _ = l 37837 if m.XXX_unrecognized != nil { 37838 i -= len(m.XXX_unrecognized) 37839 copy(dAtA[i:], m.XXX_unrecognized) 37840 } 37841 { 37842 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 37843 if err != nil { 37844 return 0, err 37845 } 37846 i -= size 37847 i = encodeVarintTypes(dAtA, i, uint64(size)) 37848 } 37849 i-- 37850 dAtA[i] = 0x2a 37851 { 37852 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 37853 if err != nil { 37854 return 0, err 37855 } 37856 i -= size 37857 i = encodeVarintTypes(dAtA, i, uint64(size)) 37858 } 37859 i-- 37860 dAtA[i] = 0x22 37861 if len(m.Version) > 0 { 37862 i -= len(m.Version) 37863 copy(dAtA[i:], m.Version) 37864 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 37865 i-- 37866 dAtA[i] = 0x1a 37867 } 37868 if len(m.SubKind) > 0 { 37869 i -= len(m.SubKind) 37870 copy(dAtA[i:], m.SubKind) 37871 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 37872 i-- 37873 dAtA[i] = 0x12 37874 } 37875 if len(m.Kind) > 0 { 37876 i -= len(m.Kind) 37877 copy(dAtA[i:], m.Kind) 37878 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 37879 i-- 37880 dAtA[i] = 0xa 37881 } 37882 return len(dAtA) - i, nil 37883 } 37884 37885 func (m *InstallerSpecV1) Marshal() (dAtA []byte, err error) { 37886 size := m.Size() 37887 dAtA = make([]byte, size) 37888 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37889 if err != nil { 37890 return nil, err 37891 } 37892 return dAtA[:n], nil 37893 } 37894 37895 func (m *InstallerSpecV1) MarshalTo(dAtA []byte) (int, error) { 37896 size := m.Size() 37897 return m.MarshalToSizedBuffer(dAtA[:size]) 37898 } 37899 37900 func (m *InstallerSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37901 i := len(dAtA) 37902 _ = i 37903 var l int 37904 _ = l 37905 if m.XXX_unrecognized != nil { 37906 i -= len(m.XXX_unrecognized) 37907 copy(dAtA[i:], m.XXX_unrecognized) 37908 } 37909 if len(m.Script) > 0 { 37910 i -= len(m.Script) 37911 copy(dAtA[i:], m.Script) 37912 i = encodeVarintTypes(dAtA, i, uint64(len(m.Script))) 37913 i-- 37914 dAtA[i] = 0xa 37915 } 37916 return len(dAtA) - i, nil 37917 } 37918 37919 func (m *InstallerV1List) Marshal() (dAtA []byte, err error) { 37920 size := m.Size() 37921 dAtA = make([]byte, size) 37922 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37923 if err != nil { 37924 return nil, err 37925 } 37926 return dAtA[:n], nil 37927 } 37928 37929 func (m *InstallerV1List) MarshalTo(dAtA []byte) (int, error) { 37930 size := m.Size() 37931 return m.MarshalToSizedBuffer(dAtA[:size]) 37932 } 37933 37934 func (m *InstallerV1List) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37935 i := len(dAtA) 37936 _ = i 37937 var l int 37938 _ = l 37939 if m.XXX_unrecognized != nil { 37940 i -= len(m.XXX_unrecognized) 37941 copy(dAtA[i:], m.XXX_unrecognized) 37942 } 37943 if len(m.Installers) > 0 { 37944 for iNdEx := len(m.Installers) - 1; iNdEx >= 0; iNdEx-- { 37945 { 37946 size, err := m.Installers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 37947 if err != nil { 37948 return 0, err 37949 } 37950 i -= size 37951 i = encodeVarintTypes(dAtA, i, uint64(size)) 37952 } 37953 i-- 37954 dAtA[i] = 0xa 37955 } 37956 } 37957 return len(dAtA) - i, nil 37958 } 37959 37960 func (m *SortBy) Marshal() (dAtA []byte, err error) { 37961 size := m.Size() 37962 dAtA = make([]byte, size) 37963 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37964 if err != nil { 37965 return nil, err 37966 } 37967 return dAtA[:n], nil 37968 } 37969 37970 func (m *SortBy) MarshalTo(dAtA []byte) (int, error) { 37971 size := m.Size() 37972 return m.MarshalToSizedBuffer(dAtA[:size]) 37973 } 37974 37975 func (m *SortBy) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37976 i := len(dAtA) 37977 _ = i 37978 var l int 37979 _ = l 37980 if m.XXX_unrecognized != nil { 37981 i -= len(m.XXX_unrecognized) 37982 copy(dAtA[i:], m.XXX_unrecognized) 37983 } 37984 if len(m.Field) > 0 { 37985 i -= len(m.Field) 37986 copy(dAtA[i:], m.Field) 37987 i = encodeVarintTypes(dAtA, i, uint64(len(m.Field))) 37988 i-- 37989 dAtA[i] = 0x12 37990 } 37991 if m.IsDesc { 37992 i-- 37993 if m.IsDesc { 37994 dAtA[i] = 1 37995 } else { 37996 dAtA[i] = 0 37997 } 37998 i-- 37999 dAtA[i] = 0x8 38000 } 38001 return len(dAtA) - i, nil 38002 } 38003 38004 func (m *ConnectionDiagnosticV1) Marshal() (dAtA []byte, err error) { 38005 size := m.Size() 38006 dAtA = make([]byte, size) 38007 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38008 if err != nil { 38009 return nil, err 38010 } 38011 return dAtA[:n], nil 38012 } 38013 38014 func (m *ConnectionDiagnosticV1) MarshalTo(dAtA []byte) (int, error) { 38015 size := m.Size() 38016 return m.MarshalToSizedBuffer(dAtA[:size]) 38017 } 38018 38019 func (m *ConnectionDiagnosticV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38020 i := len(dAtA) 38021 _ = i 38022 var l int 38023 _ = l 38024 if m.XXX_unrecognized != nil { 38025 i -= len(m.XXX_unrecognized) 38026 copy(dAtA[i:], m.XXX_unrecognized) 38027 } 38028 { 38029 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 38030 if err != nil { 38031 return 0, err 38032 } 38033 i -= size 38034 i = encodeVarintTypes(dAtA, i, uint64(size)) 38035 } 38036 i-- 38037 dAtA[i] = 0x2a 38038 { 38039 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 38040 if err != nil { 38041 return 0, err 38042 } 38043 i -= size 38044 i = encodeVarintTypes(dAtA, i, uint64(size)) 38045 } 38046 i-- 38047 dAtA[i] = 0xa 38048 return len(dAtA) - i, nil 38049 } 38050 38051 func (m *ConnectionDiagnosticSpecV1) Marshal() (dAtA []byte, err error) { 38052 size := m.Size() 38053 dAtA = make([]byte, size) 38054 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38055 if err != nil { 38056 return nil, err 38057 } 38058 return dAtA[:n], nil 38059 } 38060 38061 func (m *ConnectionDiagnosticSpecV1) MarshalTo(dAtA []byte) (int, error) { 38062 size := m.Size() 38063 return m.MarshalToSizedBuffer(dAtA[:size]) 38064 } 38065 38066 func (m *ConnectionDiagnosticSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38067 i := len(dAtA) 38068 _ = i 38069 var l int 38070 _ = l 38071 if m.XXX_unrecognized != nil { 38072 i -= len(m.XXX_unrecognized) 38073 copy(dAtA[i:], m.XXX_unrecognized) 38074 } 38075 if len(m.Traces) > 0 { 38076 for iNdEx := len(m.Traces) - 1; iNdEx >= 0; iNdEx-- { 38077 { 38078 size, err := m.Traces[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 38079 if err != nil { 38080 return 0, err 38081 } 38082 i -= size 38083 i = encodeVarintTypes(dAtA, i, uint64(size)) 38084 } 38085 i-- 38086 dAtA[i] = 0x1a 38087 } 38088 } 38089 if len(m.Message) > 0 { 38090 i -= len(m.Message) 38091 copy(dAtA[i:], m.Message) 38092 i = encodeVarintTypes(dAtA, i, uint64(len(m.Message))) 38093 i-- 38094 dAtA[i] = 0x12 38095 } 38096 if m.Success { 38097 i-- 38098 if m.Success { 38099 dAtA[i] = 1 38100 } else { 38101 dAtA[i] = 0 38102 } 38103 i-- 38104 dAtA[i] = 0x8 38105 } 38106 return len(dAtA) - i, nil 38107 } 38108 38109 func (m *ConnectionDiagnosticTrace) Marshal() (dAtA []byte, err error) { 38110 size := m.Size() 38111 dAtA = make([]byte, size) 38112 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38113 if err != nil { 38114 return nil, err 38115 } 38116 return dAtA[:n], nil 38117 } 38118 38119 func (m *ConnectionDiagnosticTrace) MarshalTo(dAtA []byte) (int, error) { 38120 size := m.Size() 38121 return m.MarshalToSizedBuffer(dAtA[:size]) 38122 } 38123 38124 func (m *ConnectionDiagnosticTrace) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38125 i := len(dAtA) 38126 _ = i 38127 var l int 38128 _ = l 38129 if m.XXX_unrecognized != nil { 38130 i -= len(m.XXX_unrecognized) 38131 copy(dAtA[i:], m.XXX_unrecognized) 38132 } 38133 if len(m.Error) > 0 { 38134 i -= len(m.Error) 38135 copy(dAtA[i:], m.Error) 38136 i = encodeVarintTypes(dAtA, i, uint64(len(m.Error))) 38137 i-- 38138 dAtA[i] = 0x22 38139 } 38140 if len(m.Details) > 0 { 38141 i -= len(m.Details) 38142 copy(dAtA[i:], m.Details) 38143 i = encodeVarintTypes(dAtA, i, uint64(len(m.Details))) 38144 i-- 38145 dAtA[i] = 0x1a 38146 } 38147 if m.Status != 0 { 38148 i = encodeVarintTypes(dAtA, i, uint64(m.Status)) 38149 i-- 38150 dAtA[i] = 0x10 38151 } 38152 if m.Type != 0 { 38153 i = encodeVarintTypes(dAtA, i, uint64(m.Type)) 38154 i-- 38155 dAtA[i] = 0x8 38156 } 38157 return len(dAtA) - i, nil 38158 } 38159 38160 func (m *DatabaseServiceV1) Marshal() (dAtA []byte, err error) { 38161 size := m.Size() 38162 dAtA = make([]byte, size) 38163 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38164 if err != nil { 38165 return nil, err 38166 } 38167 return dAtA[:n], nil 38168 } 38169 38170 func (m *DatabaseServiceV1) MarshalTo(dAtA []byte) (int, error) { 38171 size := m.Size() 38172 return m.MarshalToSizedBuffer(dAtA[:size]) 38173 } 38174 38175 func (m *DatabaseServiceV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38176 i := len(dAtA) 38177 _ = i 38178 var l int 38179 _ = l 38180 if m.XXX_unrecognized != nil { 38181 i -= len(m.XXX_unrecognized) 38182 copy(dAtA[i:], m.XXX_unrecognized) 38183 } 38184 { 38185 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 38186 if err != nil { 38187 return 0, err 38188 } 38189 i -= size 38190 i = encodeVarintTypes(dAtA, i, uint64(size)) 38191 } 38192 i-- 38193 dAtA[i] = 0x12 38194 { 38195 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 38196 if err != nil { 38197 return 0, err 38198 } 38199 i -= size 38200 i = encodeVarintTypes(dAtA, i, uint64(size)) 38201 } 38202 i-- 38203 dAtA[i] = 0xa 38204 return len(dAtA) - i, nil 38205 } 38206 38207 func (m *DatabaseServiceSpecV1) Marshal() (dAtA []byte, err error) { 38208 size := m.Size() 38209 dAtA = make([]byte, size) 38210 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38211 if err != nil { 38212 return nil, err 38213 } 38214 return dAtA[:n], nil 38215 } 38216 38217 func (m *DatabaseServiceSpecV1) MarshalTo(dAtA []byte) (int, error) { 38218 size := m.Size() 38219 return m.MarshalToSizedBuffer(dAtA[:size]) 38220 } 38221 38222 func (m *DatabaseServiceSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38223 i := len(dAtA) 38224 _ = i 38225 var l int 38226 _ = l 38227 if m.XXX_unrecognized != nil { 38228 i -= len(m.XXX_unrecognized) 38229 copy(dAtA[i:], m.XXX_unrecognized) 38230 } 38231 if len(m.ResourceMatchers) > 0 { 38232 for iNdEx := len(m.ResourceMatchers) - 1; iNdEx >= 0; iNdEx-- { 38233 { 38234 size, err := m.ResourceMatchers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 38235 if err != nil { 38236 return 0, err 38237 } 38238 i -= size 38239 i = encodeVarintTypes(dAtA, i, uint64(size)) 38240 } 38241 i-- 38242 dAtA[i] = 0xa 38243 } 38244 } 38245 return len(dAtA) - i, nil 38246 } 38247 38248 func (m *DatabaseResourceMatcher) Marshal() (dAtA []byte, err error) { 38249 size := m.Size() 38250 dAtA = make([]byte, size) 38251 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38252 if err != nil { 38253 return nil, err 38254 } 38255 return dAtA[:n], nil 38256 } 38257 38258 func (m *DatabaseResourceMatcher) MarshalTo(dAtA []byte) (int, error) { 38259 size := m.Size() 38260 return m.MarshalToSizedBuffer(dAtA[:size]) 38261 } 38262 38263 func (m *DatabaseResourceMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38264 i := len(dAtA) 38265 _ = i 38266 var l int 38267 _ = l 38268 if m.XXX_unrecognized != nil { 38269 i -= len(m.XXX_unrecognized) 38270 copy(dAtA[i:], m.XXX_unrecognized) 38271 } 38272 { 38273 size, err := m.AWS.MarshalToSizedBuffer(dAtA[:i]) 38274 if err != nil { 38275 return 0, err 38276 } 38277 i -= size 38278 i = encodeVarintTypes(dAtA, i, uint64(size)) 38279 } 38280 i-- 38281 dAtA[i] = 0x12 38282 if m.Labels != nil { 38283 { 38284 size := m.Labels.Size() 38285 i -= size 38286 if _, err := m.Labels.MarshalTo(dAtA[i:]); err != nil { 38287 return 0, err 38288 } 38289 i = encodeVarintTypes(dAtA, i, uint64(size)) 38290 } 38291 i-- 38292 dAtA[i] = 0xa 38293 } 38294 return len(dAtA) - i, nil 38295 } 38296 38297 func (m *ResourceMatcherAWS) Marshal() (dAtA []byte, err error) { 38298 size := m.Size() 38299 dAtA = make([]byte, size) 38300 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38301 if err != nil { 38302 return nil, err 38303 } 38304 return dAtA[:n], nil 38305 } 38306 38307 func (m *ResourceMatcherAWS) MarshalTo(dAtA []byte) (int, error) { 38308 size := m.Size() 38309 return m.MarshalToSizedBuffer(dAtA[:size]) 38310 } 38311 38312 func (m *ResourceMatcherAWS) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38313 i := len(dAtA) 38314 _ = i 38315 var l int 38316 _ = l 38317 if m.XXX_unrecognized != nil { 38318 i -= len(m.XXX_unrecognized) 38319 copy(dAtA[i:], m.XXX_unrecognized) 38320 } 38321 if len(m.ExternalID) > 0 { 38322 i -= len(m.ExternalID) 38323 copy(dAtA[i:], m.ExternalID) 38324 i = encodeVarintTypes(dAtA, i, uint64(len(m.ExternalID))) 38325 i-- 38326 dAtA[i] = 0x12 38327 } 38328 if len(m.AssumeRoleARN) > 0 { 38329 i -= len(m.AssumeRoleARN) 38330 copy(dAtA[i:], m.AssumeRoleARN) 38331 i = encodeVarintTypes(dAtA, i, uint64(len(m.AssumeRoleARN))) 38332 i-- 38333 dAtA[i] = 0xa 38334 } 38335 return len(dAtA) - i, nil 38336 } 38337 38338 func (m *ClusterAlert) Marshal() (dAtA []byte, err error) { 38339 size := m.Size() 38340 dAtA = make([]byte, size) 38341 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38342 if err != nil { 38343 return nil, err 38344 } 38345 return dAtA[:n], nil 38346 } 38347 38348 func (m *ClusterAlert) MarshalTo(dAtA []byte) (int, error) { 38349 size := m.Size() 38350 return m.MarshalToSizedBuffer(dAtA[:size]) 38351 } 38352 38353 func (m *ClusterAlert) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38354 i := len(dAtA) 38355 _ = i 38356 var l int 38357 _ = l 38358 if m.XXX_unrecognized != nil { 38359 i -= len(m.XXX_unrecognized) 38360 copy(dAtA[i:], m.XXX_unrecognized) 38361 } 38362 { 38363 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 38364 if err != nil { 38365 return 0, err 38366 } 38367 i -= size 38368 i = encodeVarintTypes(dAtA, i, uint64(size)) 38369 } 38370 i-- 38371 dAtA[i] = 0x12 38372 { 38373 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 38374 if err != nil { 38375 return 0, err 38376 } 38377 i -= size 38378 i = encodeVarintTypes(dAtA, i, uint64(size)) 38379 } 38380 i-- 38381 dAtA[i] = 0xa 38382 return len(dAtA) - i, nil 38383 } 38384 38385 func (m *ClusterAlertSpec) Marshal() (dAtA []byte, err error) { 38386 size := m.Size() 38387 dAtA = make([]byte, size) 38388 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38389 if err != nil { 38390 return nil, err 38391 } 38392 return dAtA[:n], nil 38393 } 38394 38395 func (m *ClusterAlertSpec) MarshalTo(dAtA []byte) (int, error) { 38396 size := m.Size() 38397 return m.MarshalToSizedBuffer(dAtA[:size]) 38398 } 38399 38400 func (m *ClusterAlertSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38401 i := len(dAtA) 38402 _ = i 38403 var l int 38404 _ = l 38405 if m.XXX_unrecognized != nil { 38406 i -= len(m.XXX_unrecognized) 38407 copy(dAtA[i:], m.XXX_unrecognized) 38408 } 38409 n290, err290 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Created, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Created):]) 38410 if err290 != nil { 38411 return 0, err290 38412 } 38413 i -= n290 38414 i = encodeVarintTypes(dAtA, i, uint64(n290)) 38415 i-- 38416 dAtA[i] = 0x1a 38417 if len(m.Message) > 0 { 38418 i -= len(m.Message) 38419 copy(dAtA[i:], m.Message) 38420 i = encodeVarintTypes(dAtA, i, uint64(len(m.Message))) 38421 i-- 38422 dAtA[i] = 0x12 38423 } 38424 if m.Severity != 0 { 38425 i = encodeVarintTypes(dAtA, i, uint64(m.Severity)) 38426 i-- 38427 dAtA[i] = 0x8 38428 } 38429 return len(dAtA) - i, nil 38430 } 38431 38432 func (m *GetClusterAlertsRequest) Marshal() (dAtA []byte, err error) { 38433 size := m.Size() 38434 dAtA = make([]byte, size) 38435 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38436 if err != nil { 38437 return nil, err 38438 } 38439 return dAtA[:n], nil 38440 } 38441 38442 func (m *GetClusterAlertsRequest) MarshalTo(dAtA []byte) (int, error) { 38443 size := m.Size() 38444 return m.MarshalToSizedBuffer(dAtA[:size]) 38445 } 38446 38447 func (m *GetClusterAlertsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38448 i := len(dAtA) 38449 _ = i 38450 var l int 38451 _ = l 38452 if m.XXX_unrecognized != nil { 38453 i -= len(m.XXX_unrecognized) 38454 copy(dAtA[i:], m.XXX_unrecognized) 38455 } 38456 if m.WithUntargeted { 38457 i-- 38458 if m.WithUntargeted { 38459 dAtA[i] = 1 38460 } else { 38461 dAtA[i] = 0 38462 } 38463 i-- 38464 dAtA[i] = 0x30 38465 } 38466 if m.WithAcknowledged { 38467 i-- 38468 if m.WithAcknowledged { 38469 dAtA[i] = 1 38470 } else { 38471 dAtA[i] = 0 38472 } 38473 i-- 38474 dAtA[i] = 0x28 38475 } 38476 if m.WithSuperseded { 38477 i-- 38478 if m.WithSuperseded { 38479 dAtA[i] = 1 38480 } else { 38481 dAtA[i] = 0 38482 } 38483 i-- 38484 dAtA[i] = 0x20 38485 } 38486 if len(m.Labels) > 0 { 38487 for k := range m.Labels { 38488 v := m.Labels[k] 38489 baseI := i 38490 i -= len(v) 38491 copy(dAtA[i:], v) 38492 i = encodeVarintTypes(dAtA, i, uint64(len(v))) 38493 i-- 38494 dAtA[i] = 0x12 38495 i -= len(k) 38496 copy(dAtA[i:], k) 38497 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 38498 i-- 38499 dAtA[i] = 0xa 38500 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 38501 i-- 38502 dAtA[i] = 0x1a 38503 } 38504 } 38505 if len(m.AlertID) > 0 { 38506 i -= len(m.AlertID) 38507 copy(dAtA[i:], m.AlertID) 38508 i = encodeVarintTypes(dAtA, i, uint64(len(m.AlertID))) 38509 i-- 38510 dAtA[i] = 0x12 38511 } 38512 if m.Severity != 0 { 38513 i = encodeVarintTypes(dAtA, i, uint64(m.Severity)) 38514 i-- 38515 dAtA[i] = 0x8 38516 } 38517 return len(dAtA) - i, nil 38518 } 38519 38520 func (m *AlertAcknowledgement) Marshal() (dAtA []byte, err error) { 38521 size := m.Size() 38522 dAtA = make([]byte, size) 38523 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38524 if err != nil { 38525 return nil, err 38526 } 38527 return dAtA[:n], nil 38528 } 38529 38530 func (m *AlertAcknowledgement) MarshalTo(dAtA []byte) (int, error) { 38531 size := m.Size() 38532 return m.MarshalToSizedBuffer(dAtA[:size]) 38533 } 38534 38535 func (m *AlertAcknowledgement) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38536 i := len(dAtA) 38537 _ = i 38538 var l int 38539 _ = l 38540 if m.XXX_unrecognized != nil { 38541 i -= len(m.XXX_unrecognized) 38542 copy(dAtA[i:], m.XXX_unrecognized) 38543 } 38544 n291, err291 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires):]) 38545 if err291 != nil { 38546 return 0, err291 38547 } 38548 i -= n291 38549 i = encodeVarintTypes(dAtA, i, uint64(n291)) 38550 i-- 38551 dAtA[i] = 0x22 38552 if len(m.Reason) > 0 { 38553 i -= len(m.Reason) 38554 copy(dAtA[i:], m.Reason) 38555 i = encodeVarintTypes(dAtA, i, uint64(len(m.Reason))) 38556 i-- 38557 dAtA[i] = 0x12 38558 } 38559 if len(m.AlertID) > 0 { 38560 i -= len(m.AlertID) 38561 copy(dAtA[i:], m.AlertID) 38562 i = encodeVarintTypes(dAtA, i, uint64(len(m.AlertID))) 38563 i-- 38564 dAtA[i] = 0xa 38565 } 38566 return len(dAtA) - i, nil 38567 } 38568 38569 func (m *Release) Marshal() (dAtA []byte, err error) { 38570 size := m.Size() 38571 dAtA = make([]byte, size) 38572 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38573 if err != nil { 38574 return nil, err 38575 } 38576 return dAtA[:n], nil 38577 } 38578 38579 func (m *Release) MarshalTo(dAtA []byte) (int, error) { 38580 size := m.Size() 38581 return m.MarshalToSizedBuffer(dAtA[:size]) 38582 } 38583 38584 func (m *Release) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38585 i := len(dAtA) 38586 _ = i 38587 var l int 38588 _ = l 38589 if m.XXX_unrecognized != nil { 38590 i -= len(m.XXX_unrecognized) 38591 copy(dAtA[i:], m.XXX_unrecognized) 38592 } 38593 if len(m.Assets) > 0 { 38594 for iNdEx := len(m.Assets) - 1; iNdEx >= 0; iNdEx-- { 38595 { 38596 size, err := m.Assets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 38597 if err != nil { 38598 return 0, err 38599 } 38600 i -= size 38601 i = encodeVarintTypes(dAtA, i, uint64(size)) 38602 } 38603 i-- 38604 dAtA[i] = 0x32 38605 } 38606 } 38607 if len(m.Version) > 0 { 38608 i -= len(m.Version) 38609 copy(dAtA[i:], m.Version) 38610 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 38611 i-- 38612 dAtA[i] = 0x2a 38613 } 38614 if len(m.Status) > 0 { 38615 i -= len(m.Status) 38616 copy(dAtA[i:], m.Status) 38617 i = encodeVarintTypes(dAtA, i, uint64(len(m.Status))) 38618 i-- 38619 dAtA[i] = 0x22 38620 } 38621 if len(m.ReleaseID) > 0 { 38622 i -= len(m.ReleaseID) 38623 copy(dAtA[i:], m.ReleaseID) 38624 i = encodeVarintTypes(dAtA, i, uint64(len(m.ReleaseID))) 38625 i-- 38626 dAtA[i] = 0x1a 38627 } 38628 if len(m.Product) > 0 { 38629 i -= len(m.Product) 38630 copy(dAtA[i:], m.Product) 38631 i = encodeVarintTypes(dAtA, i, uint64(len(m.Product))) 38632 i-- 38633 dAtA[i] = 0x12 38634 } 38635 if len(m.NotesMD) > 0 { 38636 i -= len(m.NotesMD) 38637 copy(dAtA[i:], m.NotesMD) 38638 i = encodeVarintTypes(dAtA, i, uint64(len(m.NotesMD))) 38639 i-- 38640 dAtA[i] = 0xa 38641 } 38642 return len(dAtA) - i, nil 38643 } 38644 38645 func (m *Asset) Marshal() (dAtA []byte, err error) { 38646 size := m.Size() 38647 dAtA = make([]byte, size) 38648 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38649 if err != nil { 38650 return nil, err 38651 } 38652 return dAtA[:n], nil 38653 } 38654 38655 func (m *Asset) MarshalTo(dAtA []byte) (int, error) { 38656 size := m.Size() 38657 return m.MarshalToSizedBuffer(dAtA[:size]) 38658 } 38659 38660 func (m *Asset) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38661 i := len(dAtA) 38662 _ = i 38663 var l int 38664 _ = l 38665 if m.XXX_unrecognized != nil { 38666 i -= len(m.XXX_unrecognized) 38667 copy(dAtA[i:], m.XXX_unrecognized) 38668 } 38669 if len(m.PublicURL) > 0 { 38670 i -= len(m.PublicURL) 38671 copy(dAtA[i:], m.PublicURL) 38672 i = encodeVarintTypes(dAtA, i, uint64(len(m.PublicURL))) 38673 i-- 38674 dAtA[i] = 0x4a 38675 } 38676 if len(m.ReleaseIDs) > 0 { 38677 for iNdEx := len(m.ReleaseIDs) - 1; iNdEx >= 0; iNdEx-- { 38678 i -= len(m.ReleaseIDs[iNdEx]) 38679 copy(dAtA[i:], m.ReleaseIDs[iNdEx]) 38680 i = encodeVarintTypes(dAtA, i, uint64(len(m.ReleaseIDs[iNdEx]))) 38681 i-- 38682 dAtA[i] = 0x42 38683 } 38684 } 38685 if len(m.DisplaySize) > 0 { 38686 i -= len(m.DisplaySize) 38687 copy(dAtA[i:], m.DisplaySize) 38688 i = encodeVarintTypes(dAtA, i, uint64(len(m.DisplaySize))) 38689 i-- 38690 dAtA[i] = 0x3a 38691 } 38692 if m.AssetSize != 0 { 38693 i = encodeVarintTypes(dAtA, i, uint64(m.AssetSize)) 38694 i-- 38695 dAtA[i] = 0x30 38696 } 38697 if len(m.SHA256) > 0 { 38698 i -= len(m.SHA256) 38699 copy(dAtA[i:], m.SHA256) 38700 i = encodeVarintTypes(dAtA, i, uint64(len(m.SHA256))) 38701 i-- 38702 dAtA[i] = 0x2a 38703 } 38704 if len(m.OS) > 0 { 38705 i -= len(m.OS) 38706 copy(dAtA[i:], m.OS) 38707 i = encodeVarintTypes(dAtA, i, uint64(len(m.OS))) 38708 i-- 38709 dAtA[i] = 0x22 38710 } 38711 if len(m.Name) > 0 { 38712 i -= len(m.Name) 38713 copy(dAtA[i:], m.Name) 38714 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 38715 i-- 38716 dAtA[i] = 0x1a 38717 } 38718 if len(m.Description) > 0 { 38719 i -= len(m.Description) 38720 copy(dAtA[i:], m.Description) 38721 i = encodeVarintTypes(dAtA, i, uint64(len(m.Description))) 38722 i-- 38723 dAtA[i] = 0x12 38724 } 38725 if len(m.Arch) > 0 { 38726 i -= len(m.Arch) 38727 copy(dAtA[i:], m.Arch) 38728 i = encodeVarintTypes(dAtA, i, uint64(len(m.Arch))) 38729 i-- 38730 dAtA[i] = 0xa 38731 } 38732 return len(dAtA) - i, nil 38733 } 38734 38735 func (m *PluginV1) Marshal() (dAtA []byte, err error) { 38736 size := m.Size() 38737 dAtA = make([]byte, size) 38738 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38739 if err != nil { 38740 return nil, err 38741 } 38742 return dAtA[:n], nil 38743 } 38744 38745 func (m *PluginV1) MarshalTo(dAtA []byte) (int, error) { 38746 size := m.Size() 38747 return m.MarshalToSizedBuffer(dAtA[:size]) 38748 } 38749 38750 func (m *PluginV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38751 i := len(dAtA) 38752 _ = i 38753 var l int 38754 _ = l 38755 if m.XXX_unrecognized != nil { 38756 i -= len(m.XXX_unrecognized) 38757 copy(dAtA[i:], m.XXX_unrecognized) 38758 } 38759 if m.Credentials != nil { 38760 { 38761 size, err := m.Credentials.MarshalToSizedBuffer(dAtA[:i]) 38762 if err != nil { 38763 return 0, err 38764 } 38765 i -= size 38766 i = encodeVarintTypes(dAtA, i, uint64(size)) 38767 } 38768 i-- 38769 dAtA[i] = 0x3a 38770 } 38771 { 38772 size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) 38773 if err != nil { 38774 return 0, err 38775 } 38776 i -= size 38777 i = encodeVarintTypes(dAtA, i, uint64(size)) 38778 } 38779 i-- 38780 dAtA[i] = 0x32 38781 { 38782 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 38783 if err != nil { 38784 return 0, err 38785 } 38786 i -= size 38787 i = encodeVarintTypes(dAtA, i, uint64(size)) 38788 } 38789 i-- 38790 dAtA[i] = 0x2a 38791 { 38792 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 38793 if err != nil { 38794 return 0, err 38795 } 38796 i -= size 38797 i = encodeVarintTypes(dAtA, i, uint64(size)) 38798 } 38799 i-- 38800 dAtA[i] = 0x22 38801 if len(m.Version) > 0 { 38802 i -= len(m.Version) 38803 copy(dAtA[i:], m.Version) 38804 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 38805 i-- 38806 dAtA[i] = 0x1a 38807 } 38808 if len(m.SubKind) > 0 { 38809 i -= len(m.SubKind) 38810 copy(dAtA[i:], m.SubKind) 38811 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 38812 i-- 38813 dAtA[i] = 0x12 38814 } 38815 if len(m.Kind) > 0 { 38816 i -= len(m.Kind) 38817 copy(dAtA[i:], m.Kind) 38818 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 38819 i-- 38820 dAtA[i] = 0xa 38821 } 38822 return len(dAtA) - i, nil 38823 } 38824 38825 func (m *PluginSpecV1) Marshal() (dAtA []byte, err error) { 38826 size := m.Size() 38827 dAtA = make([]byte, size) 38828 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 38829 if err != nil { 38830 return nil, err 38831 } 38832 return dAtA[:n], nil 38833 } 38834 38835 func (m *PluginSpecV1) MarshalTo(dAtA []byte) (int, error) { 38836 size := m.Size() 38837 return m.MarshalToSizedBuffer(dAtA[:size]) 38838 } 38839 38840 func (m *PluginSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38841 i := len(dAtA) 38842 _ = i 38843 var l int 38844 _ = l 38845 if m.XXX_unrecognized != nil { 38846 i -= len(m.XXX_unrecognized) 38847 copy(dAtA[i:], m.XXX_unrecognized) 38848 } 38849 if m.Settings != nil { 38850 { 38851 size := m.Settings.Size() 38852 i -= size 38853 if _, err := m.Settings.MarshalTo(dAtA[i:]); err != nil { 38854 return 0, err 38855 } 38856 } 38857 } 38858 if len(m.Generation) > 0 { 38859 i -= len(m.Generation) 38860 copy(dAtA[i:], m.Generation) 38861 i = encodeVarintTypes(dAtA, i, uint64(len(m.Generation))) 38862 i-- 38863 dAtA[i] = 0x5a 38864 } 38865 return len(dAtA) - i, nil 38866 } 38867 38868 func (m *PluginSpecV1_SlackAccessPlugin) MarshalTo(dAtA []byte) (int, error) { 38869 size := m.Size() 38870 return m.MarshalToSizedBuffer(dAtA[:size]) 38871 } 38872 38873 func (m *PluginSpecV1_SlackAccessPlugin) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38874 i := len(dAtA) 38875 if m.SlackAccessPlugin != nil { 38876 { 38877 size, err := m.SlackAccessPlugin.MarshalToSizedBuffer(dAtA[:i]) 38878 if err != nil { 38879 return 0, err 38880 } 38881 i -= size 38882 i = encodeVarintTypes(dAtA, i, uint64(size)) 38883 } 38884 i-- 38885 dAtA[i] = 0xa 38886 } 38887 return len(dAtA) - i, nil 38888 } 38889 func (m *PluginSpecV1_Opsgenie) MarshalTo(dAtA []byte) (int, error) { 38890 size := m.Size() 38891 return m.MarshalToSizedBuffer(dAtA[:size]) 38892 } 38893 38894 func (m *PluginSpecV1_Opsgenie) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38895 i := len(dAtA) 38896 if m.Opsgenie != nil { 38897 { 38898 size, err := m.Opsgenie.MarshalToSizedBuffer(dAtA[:i]) 38899 if err != nil { 38900 return 0, err 38901 } 38902 i -= size 38903 i = encodeVarintTypes(dAtA, i, uint64(size)) 38904 } 38905 i-- 38906 dAtA[i] = 0x12 38907 } 38908 return len(dAtA) - i, nil 38909 } 38910 func (m *PluginSpecV1_Openai) MarshalTo(dAtA []byte) (int, error) { 38911 size := m.Size() 38912 return m.MarshalToSizedBuffer(dAtA[:size]) 38913 } 38914 38915 func (m *PluginSpecV1_Openai) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38916 i := len(dAtA) 38917 if m.Openai != nil { 38918 { 38919 size, err := m.Openai.MarshalToSizedBuffer(dAtA[:i]) 38920 if err != nil { 38921 return 0, err 38922 } 38923 i -= size 38924 i = encodeVarintTypes(dAtA, i, uint64(size)) 38925 } 38926 i-- 38927 dAtA[i] = 0x1a 38928 } 38929 return len(dAtA) - i, nil 38930 } 38931 func (m *PluginSpecV1_Okta) MarshalTo(dAtA []byte) (int, error) { 38932 size := m.Size() 38933 return m.MarshalToSizedBuffer(dAtA[:size]) 38934 } 38935 38936 func (m *PluginSpecV1_Okta) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38937 i := len(dAtA) 38938 if m.Okta != nil { 38939 { 38940 size, err := m.Okta.MarshalToSizedBuffer(dAtA[:i]) 38941 if err != nil { 38942 return 0, err 38943 } 38944 i -= size 38945 i = encodeVarintTypes(dAtA, i, uint64(size)) 38946 } 38947 i-- 38948 dAtA[i] = 0x22 38949 } 38950 return len(dAtA) - i, nil 38951 } 38952 func (m *PluginSpecV1_Jamf) MarshalTo(dAtA []byte) (int, error) { 38953 size := m.Size() 38954 return m.MarshalToSizedBuffer(dAtA[:size]) 38955 } 38956 38957 func (m *PluginSpecV1_Jamf) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38958 i := len(dAtA) 38959 if m.Jamf != nil { 38960 { 38961 size, err := m.Jamf.MarshalToSizedBuffer(dAtA[:i]) 38962 if err != nil { 38963 return 0, err 38964 } 38965 i -= size 38966 i = encodeVarintTypes(dAtA, i, uint64(size)) 38967 } 38968 i-- 38969 dAtA[i] = 0x2a 38970 } 38971 return len(dAtA) - i, nil 38972 } 38973 func (m *PluginSpecV1_PagerDuty) MarshalTo(dAtA []byte) (int, error) { 38974 size := m.Size() 38975 return m.MarshalToSizedBuffer(dAtA[:size]) 38976 } 38977 38978 func (m *PluginSpecV1_PagerDuty) MarshalToSizedBuffer(dAtA []byte) (int, error) { 38979 i := len(dAtA) 38980 if m.PagerDuty != nil { 38981 { 38982 size, err := m.PagerDuty.MarshalToSizedBuffer(dAtA[:i]) 38983 if err != nil { 38984 return 0, err 38985 } 38986 i -= size 38987 i = encodeVarintTypes(dAtA, i, uint64(size)) 38988 } 38989 i-- 38990 dAtA[i] = 0x32 38991 } 38992 return len(dAtA) - i, nil 38993 } 38994 func (m *PluginSpecV1_Mattermost) MarshalTo(dAtA []byte) (int, error) { 38995 size := m.Size() 38996 return m.MarshalToSizedBuffer(dAtA[:size]) 38997 } 38998 38999 func (m *PluginSpecV1_Mattermost) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39000 i := len(dAtA) 39001 if m.Mattermost != nil { 39002 { 39003 size, err := m.Mattermost.MarshalToSizedBuffer(dAtA[:i]) 39004 if err != nil { 39005 return 0, err 39006 } 39007 i -= size 39008 i = encodeVarintTypes(dAtA, i, uint64(size)) 39009 } 39010 i-- 39011 dAtA[i] = 0x3a 39012 } 39013 return len(dAtA) - i, nil 39014 } 39015 func (m *PluginSpecV1_Jira) MarshalTo(dAtA []byte) (int, error) { 39016 size := m.Size() 39017 return m.MarshalToSizedBuffer(dAtA[:size]) 39018 } 39019 39020 func (m *PluginSpecV1_Jira) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39021 i := len(dAtA) 39022 if m.Jira != nil { 39023 { 39024 size, err := m.Jira.MarshalToSizedBuffer(dAtA[:i]) 39025 if err != nil { 39026 return 0, err 39027 } 39028 i -= size 39029 i = encodeVarintTypes(dAtA, i, uint64(size)) 39030 } 39031 i-- 39032 dAtA[i] = 0x42 39033 } 39034 return len(dAtA) - i, nil 39035 } 39036 func (m *PluginSpecV1_Discord) MarshalTo(dAtA []byte) (int, error) { 39037 size := m.Size() 39038 return m.MarshalToSizedBuffer(dAtA[:size]) 39039 } 39040 39041 func (m *PluginSpecV1_Discord) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39042 i := len(dAtA) 39043 if m.Discord != nil { 39044 { 39045 size, err := m.Discord.MarshalToSizedBuffer(dAtA[:i]) 39046 if err != nil { 39047 return 0, err 39048 } 39049 i -= size 39050 i = encodeVarintTypes(dAtA, i, uint64(size)) 39051 } 39052 i-- 39053 dAtA[i] = 0x4a 39054 } 39055 return len(dAtA) - i, nil 39056 } 39057 func (m *PluginSpecV1_ServiceNow) MarshalTo(dAtA []byte) (int, error) { 39058 size := m.Size() 39059 return m.MarshalToSizedBuffer(dAtA[:size]) 39060 } 39061 39062 func (m *PluginSpecV1_ServiceNow) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39063 i := len(dAtA) 39064 if m.ServiceNow != nil { 39065 { 39066 size, err := m.ServiceNow.MarshalToSizedBuffer(dAtA[:i]) 39067 if err != nil { 39068 return 0, err 39069 } 39070 i -= size 39071 i = encodeVarintTypes(dAtA, i, uint64(size)) 39072 } 39073 i-- 39074 dAtA[i] = 0x52 39075 } 39076 return len(dAtA) - i, nil 39077 } 39078 func (m *PluginSpecV1_Gitlab) MarshalTo(dAtA []byte) (int, error) { 39079 size := m.Size() 39080 return m.MarshalToSizedBuffer(dAtA[:size]) 39081 } 39082 39083 func (m *PluginSpecV1_Gitlab) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39084 i := len(dAtA) 39085 if m.Gitlab != nil { 39086 { 39087 size, err := m.Gitlab.MarshalToSizedBuffer(dAtA[:i]) 39088 if err != nil { 39089 return 0, err 39090 } 39091 i -= size 39092 i = encodeVarintTypes(dAtA, i, uint64(size)) 39093 } 39094 i-- 39095 dAtA[i] = 0x62 39096 } 39097 return len(dAtA) - i, nil 39098 } 39099 func (m *PluginSpecV1_EntraId) MarshalTo(dAtA []byte) (int, error) { 39100 size := m.Size() 39101 return m.MarshalToSizedBuffer(dAtA[:size]) 39102 } 39103 39104 func (m *PluginSpecV1_EntraId) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39105 i := len(dAtA) 39106 if m.EntraId != nil { 39107 { 39108 size, err := m.EntraId.MarshalToSizedBuffer(dAtA[:i]) 39109 if err != nil { 39110 return 0, err 39111 } 39112 i -= size 39113 i = encodeVarintTypes(dAtA, i, uint64(size)) 39114 } 39115 i-- 39116 dAtA[i] = 0x6a 39117 } 39118 return len(dAtA) - i, nil 39119 } 39120 func (m *PluginSlackAccessSettings) Marshal() (dAtA []byte, err error) { 39121 size := m.Size() 39122 dAtA = make([]byte, size) 39123 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39124 if err != nil { 39125 return nil, err 39126 } 39127 return dAtA[:n], nil 39128 } 39129 39130 func (m *PluginSlackAccessSettings) MarshalTo(dAtA []byte) (int, error) { 39131 size := m.Size() 39132 return m.MarshalToSizedBuffer(dAtA[:size]) 39133 } 39134 39135 func (m *PluginSlackAccessSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39136 i := len(dAtA) 39137 _ = i 39138 var l int 39139 _ = l 39140 if m.XXX_unrecognized != nil { 39141 i -= len(m.XXX_unrecognized) 39142 copy(dAtA[i:], m.XXX_unrecognized) 39143 } 39144 if len(m.FallbackChannel) > 0 { 39145 i -= len(m.FallbackChannel) 39146 copy(dAtA[i:], m.FallbackChannel) 39147 i = encodeVarintTypes(dAtA, i, uint64(len(m.FallbackChannel))) 39148 i-- 39149 dAtA[i] = 0xa 39150 } 39151 return len(dAtA) - i, nil 39152 } 39153 39154 func (m *PluginGitlabSettings) Marshal() (dAtA []byte, err error) { 39155 size := m.Size() 39156 dAtA = make([]byte, size) 39157 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39158 if err != nil { 39159 return nil, err 39160 } 39161 return dAtA[:n], nil 39162 } 39163 39164 func (m *PluginGitlabSettings) MarshalTo(dAtA []byte) (int, error) { 39165 size := m.Size() 39166 return m.MarshalToSizedBuffer(dAtA[:size]) 39167 } 39168 39169 func (m *PluginGitlabSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39170 i := len(dAtA) 39171 _ = i 39172 var l int 39173 _ = l 39174 if m.XXX_unrecognized != nil { 39175 i -= len(m.XXX_unrecognized) 39176 copy(dAtA[i:], m.XXX_unrecognized) 39177 } 39178 if len(m.ApiEndpoint) > 0 { 39179 i -= len(m.ApiEndpoint) 39180 copy(dAtA[i:], m.ApiEndpoint) 39181 i = encodeVarintTypes(dAtA, i, uint64(len(m.ApiEndpoint))) 39182 i-- 39183 dAtA[i] = 0xa 39184 } 39185 return len(dAtA) - i, nil 39186 } 39187 39188 func (m *PluginOpsgenieAccessSettings) Marshal() (dAtA []byte, err error) { 39189 size := m.Size() 39190 dAtA = make([]byte, size) 39191 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39192 if err != nil { 39193 return nil, err 39194 } 39195 return dAtA[:n], nil 39196 } 39197 39198 func (m *PluginOpsgenieAccessSettings) MarshalTo(dAtA []byte) (int, error) { 39199 size := m.Size() 39200 return m.MarshalToSizedBuffer(dAtA[:size]) 39201 } 39202 39203 func (m *PluginOpsgenieAccessSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39204 i := len(dAtA) 39205 _ = i 39206 var l int 39207 _ = l 39208 if m.XXX_unrecognized != nil { 39209 i -= len(m.XXX_unrecognized) 39210 copy(dAtA[i:], m.XXX_unrecognized) 39211 } 39212 if len(m.ApiEndpoint) > 0 { 39213 i -= len(m.ApiEndpoint) 39214 copy(dAtA[i:], m.ApiEndpoint) 39215 i = encodeVarintTypes(dAtA, i, uint64(len(m.ApiEndpoint))) 39216 i-- 39217 dAtA[i] = 0x2a 39218 } 39219 if len(m.DefaultSchedules) > 0 { 39220 for iNdEx := len(m.DefaultSchedules) - 1; iNdEx >= 0; iNdEx-- { 39221 i -= len(m.DefaultSchedules[iNdEx]) 39222 copy(dAtA[i:], m.DefaultSchedules[iNdEx]) 39223 i = encodeVarintTypes(dAtA, i, uint64(len(m.DefaultSchedules[iNdEx]))) 39224 i-- 39225 dAtA[i] = 0x22 39226 } 39227 } 39228 if len(m.AlertTags) > 0 { 39229 for iNdEx := len(m.AlertTags) - 1; iNdEx >= 0; iNdEx-- { 39230 i -= len(m.AlertTags[iNdEx]) 39231 copy(dAtA[i:], m.AlertTags[iNdEx]) 39232 i = encodeVarintTypes(dAtA, i, uint64(len(m.AlertTags[iNdEx]))) 39233 i-- 39234 dAtA[i] = 0x1a 39235 } 39236 } 39237 if len(m.Priority) > 0 { 39238 i -= len(m.Priority) 39239 copy(dAtA[i:], m.Priority) 39240 i = encodeVarintTypes(dAtA, i, uint64(len(m.Priority))) 39241 i-- 39242 dAtA[i] = 0x12 39243 } 39244 return len(dAtA) - i, nil 39245 } 39246 39247 func (m *PluginServiceNowSettings) Marshal() (dAtA []byte, err error) { 39248 size := m.Size() 39249 dAtA = make([]byte, size) 39250 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39251 if err != nil { 39252 return nil, err 39253 } 39254 return dAtA[:n], nil 39255 } 39256 39257 func (m *PluginServiceNowSettings) MarshalTo(dAtA []byte) (int, error) { 39258 size := m.Size() 39259 return m.MarshalToSizedBuffer(dAtA[:size]) 39260 } 39261 39262 func (m *PluginServiceNowSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39263 i := len(dAtA) 39264 _ = i 39265 var l int 39266 _ = l 39267 if m.XXX_unrecognized != nil { 39268 i -= len(m.XXX_unrecognized) 39269 copy(dAtA[i:], m.XXX_unrecognized) 39270 } 39271 if len(m.CloseCode) > 0 { 39272 i -= len(m.CloseCode) 39273 copy(dAtA[i:], m.CloseCode) 39274 i = encodeVarintTypes(dAtA, i, uint64(len(m.CloseCode))) 39275 i-- 39276 dAtA[i] = 0x22 39277 } 39278 if len(m.Password) > 0 { 39279 i -= len(m.Password) 39280 copy(dAtA[i:], m.Password) 39281 i = encodeVarintTypes(dAtA, i, uint64(len(m.Password))) 39282 i-- 39283 dAtA[i] = 0x1a 39284 } 39285 if len(m.Username) > 0 { 39286 i -= len(m.Username) 39287 copy(dAtA[i:], m.Username) 39288 i = encodeVarintTypes(dAtA, i, uint64(len(m.Username))) 39289 i-- 39290 dAtA[i] = 0x12 39291 } 39292 if len(m.ApiEndpoint) > 0 { 39293 i -= len(m.ApiEndpoint) 39294 copy(dAtA[i:], m.ApiEndpoint) 39295 i = encodeVarintTypes(dAtA, i, uint64(len(m.ApiEndpoint))) 39296 i-- 39297 dAtA[i] = 0xa 39298 } 39299 return len(dAtA) - i, nil 39300 } 39301 39302 func (m *PluginPagerDutySettings) Marshal() (dAtA []byte, err error) { 39303 size := m.Size() 39304 dAtA = make([]byte, size) 39305 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39306 if err != nil { 39307 return nil, err 39308 } 39309 return dAtA[:n], nil 39310 } 39311 39312 func (m *PluginPagerDutySettings) MarshalTo(dAtA []byte) (int, error) { 39313 size := m.Size() 39314 return m.MarshalToSizedBuffer(dAtA[:size]) 39315 } 39316 39317 func (m *PluginPagerDutySettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39318 i := len(dAtA) 39319 _ = i 39320 var l int 39321 _ = l 39322 if m.XXX_unrecognized != nil { 39323 i -= len(m.XXX_unrecognized) 39324 copy(dAtA[i:], m.XXX_unrecognized) 39325 } 39326 if len(m.ApiEndpoint) > 0 { 39327 i -= len(m.ApiEndpoint) 39328 copy(dAtA[i:], m.ApiEndpoint) 39329 i = encodeVarintTypes(dAtA, i, uint64(len(m.ApiEndpoint))) 39330 i-- 39331 dAtA[i] = 0x12 39332 } 39333 if len(m.UserEmail) > 0 { 39334 i -= len(m.UserEmail) 39335 copy(dAtA[i:], m.UserEmail) 39336 i = encodeVarintTypes(dAtA, i, uint64(len(m.UserEmail))) 39337 i-- 39338 dAtA[i] = 0xa 39339 } 39340 return len(dAtA) - i, nil 39341 } 39342 39343 func (m *PluginJiraSettings) Marshal() (dAtA []byte, err error) { 39344 size := m.Size() 39345 dAtA = make([]byte, size) 39346 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39347 if err != nil { 39348 return nil, err 39349 } 39350 return dAtA[:n], nil 39351 } 39352 39353 func (m *PluginJiraSettings) MarshalTo(dAtA []byte) (int, error) { 39354 size := m.Size() 39355 return m.MarshalToSizedBuffer(dAtA[:size]) 39356 } 39357 39358 func (m *PluginJiraSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39359 i := len(dAtA) 39360 _ = i 39361 var l int 39362 _ = l 39363 if m.XXX_unrecognized != nil { 39364 i -= len(m.XXX_unrecognized) 39365 copy(dAtA[i:], m.XXX_unrecognized) 39366 } 39367 if len(m.IssueType) > 0 { 39368 i -= len(m.IssueType) 39369 copy(dAtA[i:], m.IssueType) 39370 i = encodeVarintTypes(dAtA, i, uint64(len(m.IssueType))) 39371 i-- 39372 dAtA[i] = 0x1a 39373 } 39374 if len(m.ProjectKey) > 0 { 39375 i -= len(m.ProjectKey) 39376 copy(dAtA[i:], m.ProjectKey) 39377 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProjectKey))) 39378 i-- 39379 dAtA[i] = 0x12 39380 } 39381 if len(m.ServerUrl) > 0 { 39382 i -= len(m.ServerUrl) 39383 copy(dAtA[i:], m.ServerUrl) 39384 i = encodeVarintTypes(dAtA, i, uint64(len(m.ServerUrl))) 39385 i-- 39386 dAtA[i] = 0xa 39387 } 39388 return len(dAtA) - i, nil 39389 } 39390 39391 func (m *PluginOpenAISettings) Marshal() (dAtA []byte, err error) { 39392 size := m.Size() 39393 dAtA = make([]byte, size) 39394 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39395 if err != nil { 39396 return nil, err 39397 } 39398 return dAtA[:n], nil 39399 } 39400 39401 func (m *PluginOpenAISettings) MarshalTo(dAtA []byte) (int, error) { 39402 size := m.Size() 39403 return m.MarshalToSizedBuffer(dAtA[:size]) 39404 } 39405 39406 func (m *PluginOpenAISettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39407 i := len(dAtA) 39408 _ = i 39409 var l int 39410 _ = l 39411 if m.XXX_unrecognized != nil { 39412 i -= len(m.XXX_unrecognized) 39413 copy(dAtA[i:], m.XXX_unrecognized) 39414 } 39415 return len(dAtA) - i, nil 39416 } 39417 39418 func (m *PluginMattermostSettings) Marshal() (dAtA []byte, err error) { 39419 size := m.Size() 39420 dAtA = make([]byte, size) 39421 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39422 if err != nil { 39423 return nil, err 39424 } 39425 return dAtA[:n], nil 39426 } 39427 39428 func (m *PluginMattermostSettings) MarshalTo(dAtA []byte) (int, error) { 39429 size := m.Size() 39430 return m.MarshalToSizedBuffer(dAtA[:size]) 39431 } 39432 39433 func (m *PluginMattermostSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39434 i := len(dAtA) 39435 _ = i 39436 var l int 39437 _ = l 39438 if m.XXX_unrecognized != nil { 39439 i -= len(m.XXX_unrecognized) 39440 copy(dAtA[i:], m.XXX_unrecognized) 39441 } 39442 if len(m.ReportToEmail) > 0 { 39443 i -= len(m.ReportToEmail) 39444 copy(dAtA[i:], m.ReportToEmail) 39445 i = encodeVarintTypes(dAtA, i, uint64(len(m.ReportToEmail))) 39446 i-- 39447 dAtA[i] = 0x22 39448 } 39449 if len(m.Channel) > 0 { 39450 i -= len(m.Channel) 39451 copy(dAtA[i:], m.Channel) 39452 i = encodeVarintTypes(dAtA, i, uint64(len(m.Channel))) 39453 i-- 39454 dAtA[i] = 0x1a 39455 } 39456 if len(m.Team) > 0 { 39457 i -= len(m.Team) 39458 copy(dAtA[i:], m.Team) 39459 i = encodeVarintTypes(dAtA, i, uint64(len(m.Team))) 39460 i-- 39461 dAtA[i] = 0x12 39462 } 39463 if len(m.ServerUrl) > 0 { 39464 i -= len(m.ServerUrl) 39465 copy(dAtA[i:], m.ServerUrl) 39466 i = encodeVarintTypes(dAtA, i, uint64(len(m.ServerUrl))) 39467 i-- 39468 dAtA[i] = 0xa 39469 } 39470 return len(dAtA) - i, nil 39471 } 39472 39473 func (m *PluginJamfSettings) Marshal() (dAtA []byte, err error) { 39474 size := m.Size() 39475 dAtA = make([]byte, size) 39476 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39477 if err != nil { 39478 return nil, err 39479 } 39480 return dAtA[:n], nil 39481 } 39482 39483 func (m *PluginJamfSettings) MarshalTo(dAtA []byte) (int, error) { 39484 size := m.Size() 39485 return m.MarshalToSizedBuffer(dAtA[:size]) 39486 } 39487 39488 func (m *PluginJamfSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39489 i := len(dAtA) 39490 _ = i 39491 var l int 39492 _ = l 39493 if m.XXX_unrecognized != nil { 39494 i -= len(m.XXX_unrecognized) 39495 copy(dAtA[i:], m.XXX_unrecognized) 39496 } 39497 if m.JamfSpec != nil { 39498 { 39499 size, err := m.JamfSpec.MarshalToSizedBuffer(dAtA[:i]) 39500 if err != nil { 39501 return 0, err 39502 } 39503 i -= size 39504 i = encodeVarintTypes(dAtA, i, uint64(size)) 39505 } 39506 i-- 39507 dAtA[i] = 0xa 39508 } 39509 return len(dAtA) - i, nil 39510 } 39511 39512 func (m *PluginOktaSettings) Marshal() (dAtA []byte, err error) { 39513 size := m.Size() 39514 dAtA = make([]byte, size) 39515 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39516 if err != nil { 39517 return nil, err 39518 } 39519 return dAtA[:n], nil 39520 } 39521 39522 func (m *PluginOktaSettings) MarshalTo(dAtA []byte) (int, error) { 39523 size := m.Size() 39524 return m.MarshalToSizedBuffer(dAtA[:size]) 39525 } 39526 39527 func (m *PluginOktaSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39528 i := len(dAtA) 39529 _ = i 39530 var l int 39531 _ = l 39532 if m.XXX_unrecognized != nil { 39533 i -= len(m.XXX_unrecognized) 39534 copy(dAtA[i:], m.XXX_unrecognized) 39535 } 39536 if m.SyncSettings != nil { 39537 { 39538 size, err := m.SyncSettings.MarshalToSizedBuffer(dAtA[:i]) 39539 if err != nil { 39540 return 0, err 39541 } 39542 i -= size 39543 i = encodeVarintTypes(dAtA, i, uint64(size)) 39544 } 39545 i-- 39546 dAtA[i] = 0x22 39547 } 39548 if len(m.SsoConnectorId) > 0 { 39549 i -= len(m.SsoConnectorId) 39550 copy(dAtA[i:], m.SsoConnectorId) 39551 i = encodeVarintTypes(dAtA, i, uint64(len(m.SsoConnectorId))) 39552 i-- 39553 dAtA[i] = 0x1a 39554 } 39555 if m.EnableUserSync { 39556 i-- 39557 if m.EnableUserSync { 39558 dAtA[i] = 1 39559 } else { 39560 dAtA[i] = 0 39561 } 39562 i-- 39563 dAtA[i] = 0x10 39564 } 39565 if len(m.OrgUrl) > 0 { 39566 i -= len(m.OrgUrl) 39567 copy(dAtA[i:], m.OrgUrl) 39568 i = encodeVarintTypes(dAtA, i, uint64(len(m.OrgUrl))) 39569 i-- 39570 dAtA[i] = 0xa 39571 } 39572 return len(dAtA) - i, nil 39573 } 39574 39575 func (m *PluginOktaSyncSettings) Marshal() (dAtA []byte, err error) { 39576 size := m.Size() 39577 dAtA = make([]byte, size) 39578 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39579 if err != nil { 39580 return nil, err 39581 } 39582 return dAtA[:n], nil 39583 } 39584 39585 func (m *PluginOktaSyncSettings) MarshalTo(dAtA []byte) (int, error) { 39586 size := m.Size() 39587 return m.MarshalToSizedBuffer(dAtA[:size]) 39588 } 39589 39590 func (m *PluginOktaSyncSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39591 i := len(dAtA) 39592 _ = i 39593 var l int 39594 _ = l 39595 if m.XXX_unrecognized != nil { 39596 i -= len(m.XXX_unrecognized) 39597 copy(dAtA[i:], m.XXX_unrecognized) 39598 } 39599 if len(m.AppFilters) > 0 { 39600 for iNdEx := len(m.AppFilters) - 1; iNdEx >= 0; iNdEx-- { 39601 i -= len(m.AppFilters[iNdEx]) 39602 copy(dAtA[i:], m.AppFilters[iNdEx]) 39603 i = encodeVarintTypes(dAtA, i, uint64(len(m.AppFilters[iNdEx]))) 39604 i-- 39605 dAtA[i] = 0x3a 39606 } 39607 } 39608 if len(m.GroupFilters) > 0 { 39609 for iNdEx := len(m.GroupFilters) - 1; iNdEx >= 0; iNdEx-- { 39610 i -= len(m.GroupFilters[iNdEx]) 39611 copy(dAtA[i:], m.GroupFilters[iNdEx]) 39612 i = encodeVarintTypes(dAtA, i, uint64(len(m.GroupFilters[iNdEx]))) 39613 i-- 39614 dAtA[i] = 0x32 39615 } 39616 } 39617 if len(m.AppId) > 0 { 39618 i -= len(m.AppId) 39619 copy(dAtA[i:], m.AppId) 39620 i = encodeVarintTypes(dAtA, i, uint64(len(m.AppId))) 39621 i-- 39622 dAtA[i] = 0x2a 39623 } 39624 if len(m.DefaultOwners) > 0 { 39625 for iNdEx := len(m.DefaultOwners) - 1; iNdEx >= 0; iNdEx-- { 39626 i -= len(m.DefaultOwners[iNdEx]) 39627 copy(dAtA[i:], m.DefaultOwners[iNdEx]) 39628 i = encodeVarintTypes(dAtA, i, uint64(len(m.DefaultOwners[iNdEx]))) 39629 i-- 39630 dAtA[i] = 0x22 39631 } 39632 } 39633 if m.SyncAccessLists { 39634 i-- 39635 if m.SyncAccessLists { 39636 dAtA[i] = 1 39637 } else { 39638 dAtA[i] = 0 39639 } 39640 i-- 39641 dAtA[i] = 0x18 39642 } 39643 if len(m.SsoConnectorId) > 0 { 39644 i -= len(m.SsoConnectorId) 39645 copy(dAtA[i:], m.SsoConnectorId) 39646 i = encodeVarintTypes(dAtA, i, uint64(len(m.SsoConnectorId))) 39647 i-- 39648 dAtA[i] = 0x12 39649 } 39650 if m.SyncUsers { 39651 i-- 39652 if m.SyncUsers { 39653 dAtA[i] = 1 39654 } else { 39655 dAtA[i] = 0 39656 } 39657 i-- 39658 dAtA[i] = 0x8 39659 } 39660 return len(dAtA) - i, nil 39661 } 39662 39663 func (m *DiscordChannels) Marshal() (dAtA []byte, err error) { 39664 size := m.Size() 39665 dAtA = make([]byte, size) 39666 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39667 if err != nil { 39668 return nil, err 39669 } 39670 return dAtA[:n], nil 39671 } 39672 39673 func (m *DiscordChannels) MarshalTo(dAtA []byte) (int, error) { 39674 size := m.Size() 39675 return m.MarshalToSizedBuffer(dAtA[:size]) 39676 } 39677 39678 func (m *DiscordChannels) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39679 i := len(dAtA) 39680 _ = i 39681 var l int 39682 _ = l 39683 if m.XXX_unrecognized != nil { 39684 i -= len(m.XXX_unrecognized) 39685 copy(dAtA[i:], m.XXX_unrecognized) 39686 } 39687 if len(m.ChannelIds) > 0 { 39688 for iNdEx := len(m.ChannelIds) - 1; iNdEx >= 0; iNdEx-- { 39689 i -= len(m.ChannelIds[iNdEx]) 39690 copy(dAtA[i:], m.ChannelIds[iNdEx]) 39691 i = encodeVarintTypes(dAtA, i, uint64(len(m.ChannelIds[iNdEx]))) 39692 i-- 39693 dAtA[i] = 0xa 39694 } 39695 } 39696 return len(dAtA) - i, nil 39697 } 39698 39699 func (m *PluginDiscordSettings) Marshal() (dAtA []byte, err error) { 39700 size := m.Size() 39701 dAtA = make([]byte, size) 39702 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39703 if err != nil { 39704 return nil, err 39705 } 39706 return dAtA[:n], nil 39707 } 39708 39709 func (m *PluginDiscordSettings) MarshalTo(dAtA []byte) (int, error) { 39710 size := m.Size() 39711 return m.MarshalToSizedBuffer(dAtA[:size]) 39712 } 39713 39714 func (m *PluginDiscordSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39715 i := len(dAtA) 39716 _ = i 39717 var l int 39718 _ = l 39719 if m.XXX_unrecognized != nil { 39720 i -= len(m.XXX_unrecognized) 39721 copy(dAtA[i:], m.XXX_unrecognized) 39722 } 39723 if len(m.RoleToRecipients) > 0 { 39724 for k := range m.RoleToRecipients { 39725 v := m.RoleToRecipients[k] 39726 baseI := i 39727 if v != nil { 39728 { 39729 size, err := v.MarshalToSizedBuffer(dAtA[:i]) 39730 if err != nil { 39731 return 0, err 39732 } 39733 i -= size 39734 i = encodeVarintTypes(dAtA, i, uint64(size)) 39735 } 39736 i-- 39737 dAtA[i] = 0x12 39738 } 39739 i -= len(k) 39740 copy(dAtA[i:], k) 39741 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 39742 i-- 39743 dAtA[i] = 0xa 39744 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 39745 i-- 39746 dAtA[i] = 0xa 39747 } 39748 } 39749 return len(dAtA) - i, nil 39750 } 39751 39752 func (m *PluginEntraIDSettings) Marshal() (dAtA []byte, err error) { 39753 size := m.Size() 39754 dAtA = make([]byte, size) 39755 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39756 if err != nil { 39757 return nil, err 39758 } 39759 return dAtA[:n], nil 39760 } 39761 39762 func (m *PluginEntraIDSettings) MarshalTo(dAtA []byte) (int, error) { 39763 size := m.Size() 39764 return m.MarshalToSizedBuffer(dAtA[:size]) 39765 } 39766 39767 func (m *PluginEntraIDSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39768 i := len(dAtA) 39769 _ = i 39770 var l int 39771 _ = l 39772 if m.XXX_unrecognized != nil { 39773 i -= len(m.XXX_unrecognized) 39774 copy(dAtA[i:], m.XXX_unrecognized) 39775 } 39776 if m.SyncSettings != nil { 39777 { 39778 size, err := m.SyncSettings.MarshalToSizedBuffer(dAtA[:i]) 39779 if err != nil { 39780 return 0, err 39781 } 39782 i -= size 39783 i = encodeVarintTypes(dAtA, i, uint64(size)) 39784 } 39785 i-- 39786 dAtA[i] = 0xa 39787 } 39788 return len(dAtA) - i, nil 39789 } 39790 39791 func (m *PluginEntraIDSyncSettings) Marshal() (dAtA []byte, err error) { 39792 size := m.Size() 39793 dAtA = make([]byte, size) 39794 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39795 if err != nil { 39796 return nil, err 39797 } 39798 return dAtA[:n], nil 39799 } 39800 39801 func (m *PluginEntraIDSyncSettings) MarshalTo(dAtA []byte) (int, error) { 39802 size := m.Size() 39803 return m.MarshalToSizedBuffer(dAtA[:size]) 39804 } 39805 39806 func (m *PluginEntraIDSyncSettings) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39807 i := len(dAtA) 39808 _ = i 39809 var l int 39810 _ = l 39811 if m.XXX_unrecognized != nil { 39812 i -= len(m.XXX_unrecognized) 39813 copy(dAtA[i:], m.XXX_unrecognized) 39814 } 39815 if len(m.DefaultOwners) > 0 { 39816 for iNdEx := len(m.DefaultOwners) - 1; iNdEx >= 0; iNdEx-- { 39817 i -= len(m.DefaultOwners[iNdEx]) 39818 copy(dAtA[i:], m.DefaultOwners[iNdEx]) 39819 i = encodeVarintTypes(dAtA, i, uint64(len(m.DefaultOwners[iNdEx]))) 39820 i-- 39821 dAtA[i] = 0xa 39822 } 39823 } 39824 return len(dAtA) - i, nil 39825 } 39826 39827 func (m *PluginBootstrapCredentialsV1) Marshal() (dAtA []byte, err error) { 39828 size := m.Size() 39829 dAtA = make([]byte, size) 39830 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39831 if err != nil { 39832 return nil, err 39833 } 39834 return dAtA[:n], nil 39835 } 39836 39837 func (m *PluginBootstrapCredentialsV1) MarshalTo(dAtA []byte) (int, error) { 39838 size := m.Size() 39839 return m.MarshalToSizedBuffer(dAtA[:size]) 39840 } 39841 39842 func (m *PluginBootstrapCredentialsV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39843 i := len(dAtA) 39844 _ = i 39845 var l int 39846 _ = l 39847 if m.XXX_unrecognized != nil { 39848 i -= len(m.XXX_unrecognized) 39849 copy(dAtA[i:], m.XXX_unrecognized) 39850 } 39851 if m.Credentials != nil { 39852 { 39853 size := m.Credentials.Size() 39854 i -= size 39855 if _, err := m.Credentials.MarshalTo(dAtA[i:]); err != nil { 39856 return 0, err 39857 } 39858 } 39859 } 39860 return len(dAtA) - i, nil 39861 } 39862 39863 func (m *PluginBootstrapCredentialsV1_Oauth2AuthorizationCode) MarshalTo(dAtA []byte) (int, error) { 39864 size := m.Size() 39865 return m.MarshalToSizedBuffer(dAtA[:size]) 39866 } 39867 39868 func (m *PluginBootstrapCredentialsV1_Oauth2AuthorizationCode) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39869 i := len(dAtA) 39870 if m.Oauth2AuthorizationCode != nil { 39871 { 39872 size, err := m.Oauth2AuthorizationCode.MarshalToSizedBuffer(dAtA[:i]) 39873 if err != nil { 39874 return 0, err 39875 } 39876 i -= size 39877 i = encodeVarintTypes(dAtA, i, uint64(size)) 39878 } 39879 i-- 39880 dAtA[i] = 0xa 39881 } 39882 return len(dAtA) - i, nil 39883 } 39884 func (m *PluginBootstrapCredentialsV1_BearerToken) MarshalTo(dAtA []byte) (int, error) { 39885 size := m.Size() 39886 return m.MarshalToSizedBuffer(dAtA[:size]) 39887 } 39888 39889 func (m *PluginBootstrapCredentialsV1_BearerToken) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39890 i := len(dAtA) 39891 if m.BearerToken != nil { 39892 { 39893 size, err := m.BearerToken.MarshalToSizedBuffer(dAtA[:i]) 39894 if err != nil { 39895 return 0, err 39896 } 39897 i -= size 39898 i = encodeVarintTypes(dAtA, i, uint64(size)) 39899 } 39900 i-- 39901 dAtA[i] = 0x12 39902 } 39903 return len(dAtA) - i, nil 39904 } 39905 func (m *PluginBootstrapCredentialsV1_IdSecret) MarshalTo(dAtA []byte) (int, error) { 39906 size := m.Size() 39907 return m.MarshalToSizedBuffer(dAtA[:size]) 39908 } 39909 39910 func (m *PluginBootstrapCredentialsV1_IdSecret) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39911 i := len(dAtA) 39912 if m.IdSecret != nil { 39913 { 39914 size, err := m.IdSecret.MarshalToSizedBuffer(dAtA[:i]) 39915 if err != nil { 39916 return 0, err 39917 } 39918 i -= size 39919 i = encodeVarintTypes(dAtA, i, uint64(size)) 39920 } 39921 i-- 39922 dAtA[i] = 0x1a 39923 } 39924 return len(dAtA) - i, nil 39925 } 39926 func (m *PluginIdSecretCredential) Marshal() (dAtA []byte, err error) { 39927 size := m.Size() 39928 dAtA = make([]byte, size) 39929 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39930 if err != nil { 39931 return nil, err 39932 } 39933 return dAtA[:n], nil 39934 } 39935 39936 func (m *PluginIdSecretCredential) MarshalTo(dAtA []byte) (int, error) { 39937 size := m.Size() 39938 return m.MarshalToSizedBuffer(dAtA[:size]) 39939 } 39940 39941 func (m *PluginIdSecretCredential) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39942 i := len(dAtA) 39943 _ = i 39944 var l int 39945 _ = l 39946 if m.XXX_unrecognized != nil { 39947 i -= len(m.XXX_unrecognized) 39948 copy(dAtA[i:], m.XXX_unrecognized) 39949 } 39950 if len(m.Secret) > 0 { 39951 i -= len(m.Secret) 39952 copy(dAtA[i:], m.Secret) 39953 i = encodeVarintTypes(dAtA, i, uint64(len(m.Secret))) 39954 i-- 39955 dAtA[i] = 0x12 39956 } 39957 if len(m.Id) > 0 { 39958 i -= len(m.Id) 39959 copy(dAtA[i:], m.Id) 39960 i = encodeVarintTypes(dAtA, i, uint64(len(m.Id))) 39961 i-- 39962 dAtA[i] = 0xa 39963 } 39964 return len(dAtA) - i, nil 39965 } 39966 39967 func (m *PluginOAuth2AuthorizationCodeCredentials) Marshal() (dAtA []byte, err error) { 39968 size := m.Size() 39969 dAtA = make([]byte, size) 39970 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 39971 if err != nil { 39972 return nil, err 39973 } 39974 return dAtA[:n], nil 39975 } 39976 39977 func (m *PluginOAuth2AuthorizationCodeCredentials) MarshalTo(dAtA []byte) (int, error) { 39978 size := m.Size() 39979 return m.MarshalToSizedBuffer(dAtA[:size]) 39980 } 39981 39982 func (m *PluginOAuth2AuthorizationCodeCredentials) MarshalToSizedBuffer(dAtA []byte) (int, error) { 39983 i := len(dAtA) 39984 _ = i 39985 var l int 39986 _ = l 39987 if m.XXX_unrecognized != nil { 39988 i -= len(m.XXX_unrecognized) 39989 copy(dAtA[i:], m.XXX_unrecognized) 39990 } 39991 if len(m.RedirectUri) > 0 { 39992 i -= len(m.RedirectUri) 39993 copy(dAtA[i:], m.RedirectUri) 39994 i = encodeVarintTypes(dAtA, i, uint64(len(m.RedirectUri))) 39995 i-- 39996 dAtA[i] = 0x12 39997 } 39998 if len(m.AuthorizationCode) > 0 { 39999 i -= len(m.AuthorizationCode) 40000 copy(dAtA[i:], m.AuthorizationCode) 40001 i = encodeVarintTypes(dAtA, i, uint64(len(m.AuthorizationCode))) 40002 i-- 40003 dAtA[i] = 0xa 40004 } 40005 return len(dAtA) - i, nil 40006 } 40007 40008 func (m *PluginStatusV1) Marshal() (dAtA []byte, err error) { 40009 size := m.Size() 40010 dAtA = make([]byte, size) 40011 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40012 if err != nil { 40013 return nil, err 40014 } 40015 return dAtA[:n], nil 40016 } 40017 40018 func (m *PluginStatusV1) MarshalTo(dAtA []byte) (int, error) { 40019 size := m.Size() 40020 return m.MarshalToSizedBuffer(dAtA[:size]) 40021 } 40022 40023 func (m *PluginStatusV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40024 i := len(dAtA) 40025 _ = i 40026 var l int 40027 _ = l 40028 if m.XXX_unrecognized != nil { 40029 i -= len(m.XXX_unrecognized) 40030 copy(dAtA[i:], m.XXX_unrecognized) 40031 } 40032 if m.Code != 0 { 40033 i = encodeVarintTypes(dAtA, i, uint64(m.Code)) 40034 i-- 40035 dAtA[i] = 0x8 40036 } 40037 return len(dAtA) - i, nil 40038 } 40039 40040 func (m *PluginCredentialsV1) Marshal() (dAtA []byte, err error) { 40041 size := m.Size() 40042 dAtA = make([]byte, size) 40043 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40044 if err != nil { 40045 return nil, err 40046 } 40047 return dAtA[:n], nil 40048 } 40049 40050 func (m *PluginCredentialsV1) MarshalTo(dAtA []byte) (int, error) { 40051 size := m.Size() 40052 return m.MarshalToSizedBuffer(dAtA[:size]) 40053 } 40054 40055 func (m *PluginCredentialsV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40056 i := len(dAtA) 40057 _ = i 40058 var l int 40059 _ = l 40060 if m.XXX_unrecognized != nil { 40061 i -= len(m.XXX_unrecognized) 40062 copy(dAtA[i:], m.XXX_unrecognized) 40063 } 40064 if m.Credentials != nil { 40065 { 40066 size := m.Credentials.Size() 40067 i -= size 40068 if _, err := m.Credentials.MarshalTo(dAtA[i:]); err != nil { 40069 return 0, err 40070 } 40071 } 40072 } 40073 return len(dAtA) - i, nil 40074 } 40075 40076 func (m *PluginCredentialsV1_Oauth2AccessToken) MarshalTo(dAtA []byte) (int, error) { 40077 size := m.Size() 40078 return m.MarshalToSizedBuffer(dAtA[:size]) 40079 } 40080 40081 func (m *PluginCredentialsV1_Oauth2AccessToken) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40082 i := len(dAtA) 40083 if m.Oauth2AccessToken != nil { 40084 { 40085 size, err := m.Oauth2AccessToken.MarshalToSizedBuffer(dAtA[:i]) 40086 if err != nil { 40087 return 0, err 40088 } 40089 i -= size 40090 i = encodeVarintTypes(dAtA, i, uint64(size)) 40091 } 40092 i-- 40093 dAtA[i] = 0xa 40094 } 40095 return len(dAtA) - i, nil 40096 } 40097 func (m *PluginCredentialsV1_BearerToken) MarshalTo(dAtA []byte) (int, error) { 40098 size := m.Size() 40099 return m.MarshalToSizedBuffer(dAtA[:size]) 40100 } 40101 40102 func (m *PluginCredentialsV1_BearerToken) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40103 i := len(dAtA) 40104 if m.BearerToken != nil { 40105 { 40106 size, err := m.BearerToken.MarshalToSizedBuffer(dAtA[:i]) 40107 if err != nil { 40108 return 0, err 40109 } 40110 i -= size 40111 i = encodeVarintTypes(dAtA, i, uint64(size)) 40112 } 40113 i-- 40114 dAtA[i] = 0x12 40115 } 40116 return len(dAtA) - i, nil 40117 } 40118 func (m *PluginCredentialsV1_IdSecret) MarshalTo(dAtA []byte) (int, error) { 40119 size := m.Size() 40120 return m.MarshalToSizedBuffer(dAtA[:size]) 40121 } 40122 40123 func (m *PluginCredentialsV1_IdSecret) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40124 i := len(dAtA) 40125 if m.IdSecret != nil { 40126 { 40127 size, err := m.IdSecret.MarshalToSizedBuffer(dAtA[:i]) 40128 if err != nil { 40129 return 0, err 40130 } 40131 i -= size 40132 i = encodeVarintTypes(dAtA, i, uint64(size)) 40133 } 40134 i-- 40135 dAtA[i] = 0x1a 40136 } 40137 return len(dAtA) - i, nil 40138 } 40139 func (m *PluginCredentialsV1_StaticCredentialsRef) MarshalTo(dAtA []byte) (int, error) { 40140 size := m.Size() 40141 return m.MarshalToSizedBuffer(dAtA[:size]) 40142 } 40143 40144 func (m *PluginCredentialsV1_StaticCredentialsRef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40145 i := len(dAtA) 40146 if m.StaticCredentialsRef != nil { 40147 { 40148 size, err := m.StaticCredentialsRef.MarshalToSizedBuffer(dAtA[:i]) 40149 if err != nil { 40150 return 0, err 40151 } 40152 i -= size 40153 i = encodeVarintTypes(dAtA, i, uint64(size)) 40154 } 40155 i-- 40156 dAtA[i] = 0x22 40157 } 40158 return len(dAtA) - i, nil 40159 } 40160 func (m *PluginOAuth2AccessTokenCredentials) Marshal() (dAtA []byte, err error) { 40161 size := m.Size() 40162 dAtA = make([]byte, size) 40163 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40164 if err != nil { 40165 return nil, err 40166 } 40167 return dAtA[:n], nil 40168 } 40169 40170 func (m *PluginOAuth2AccessTokenCredentials) MarshalTo(dAtA []byte) (int, error) { 40171 size := m.Size() 40172 return m.MarshalToSizedBuffer(dAtA[:size]) 40173 } 40174 40175 func (m *PluginOAuth2AccessTokenCredentials) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40176 i := len(dAtA) 40177 _ = i 40178 var l int 40179 _ = l 40180 if m.XXX_unrecognized != nil { 40181 i -= len(m.XXX_unrecognized) 40182 copy(dAtA[i:], m.XXX_unrecognized) 40183 } 40184 n319, err319 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires):]) 40185 if err319 != nil { 40186 return 0, err319 40187 } 40188 i -= n319 40189 i = encodeVarintTypes(dAtA, i, uint64(n319)) 40190 i-- 40191 dAtA[i] = 0x1a 40192 if len(m.RefreshToken) > 0 { 40193 i -= len(m.RefreshToken) 40194 copy(dAtA[i:], m.RefreshToken) 40195 i = encodeVarintTypes(dAtA, i, uint64(len(m.RefreshToken))) 40196 i-- 40197 dAtA[i] = 0x12 40198 } 40199 if len(m.AccessToken) > 0 { 40200 i -= len(m.AccessToken) 40201 copy(dAtA[i:], m.AccessToken) 40202 i = encodeVarintTypes(dAtA, i, uint64(len(m.AccessToken))) 40203 i-- 40204 dAtA[i] = 0xa 40205 } 40206 return len(dAtA) - i, nil 40207 } 40208 40209 func (m *PluginBearerTokenCredentials) Marshal() (dAtA []byte, err error) { 40210 size := m.Size() 40211 dAtA = make([]byte, size) 40212 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40213 if err != nil { 40214 return nil, err 40215 } 40216 return dAtA[:n], nil 40217 } 40218 40219 func (m *PluginBearerTokenCredentials) MarshalTo(dAtA []byte) (int, error) { 40220 size := m.Size() 40221 return m.MarshalToSizedBuffer(dAtA[:size]) 40222 } 40223 40224 func (m *PluginBearerTokenCredentials) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40225 i := len(dAtA) 40226 _ = i 40227 var l int 40228 _ = l 40229 if m.XXX_unrecognized != nil { 40230 i -= len(m.XXX_unrecognized) 40231 copy(dAtA[i:], m.XXX_unrecognized) 40232 } 40233 if len(m.Token) > 0 { 40234 i -= len(m.Token) 40235 copy(dAtA[i:], m.Token) 40236 i = encodeVarintTypes(dAtA, i, uint64(len(m.Token))) 40237 i-- 40238 dAtA[i] = 0xa 40239 } 40240 return len(dAtA) - i, nil 40241 } 40242 40243 func (m *PluginStaticCredentialsRef) Marshal() (dAtA []byte, err error) { 40244 size := m.Size() 40245 dAtA = make([]byte, size) 40246 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40247 if err != nil { 40248 return nil, err 40249 } 40250 return dAtA[:n], nil 40251 } 40252 40253 func (m *PluginStaticCredentialsRef) MarshalTo(dAtA []byte) (int, error) { 40254 size := m.Size() 40255 return m.MarshalToSizedBuffer(dAtA[:size]) 40256 } 40257 40258 func (m *PluginStaticCredentialsRef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40259 i := len(dAtA) 40260 _ = i 40261 var l int 40262 _ = l 40263 if m.XXX_unrecognized != nil { 40264 i -= len(m.XXX_unrecognized) 40265 copy(dAtA[i:], m.XXX_unrecognized) 40266 } 40267 if len(m.Labels) > 0 { 40268 for k := range m.Labels { 40269 v := m.Labels[k] 40270 baseI := i 40271 i -= len(v) 40272 copy(dAtA[i:], v) 40273 i = encodeVarintTypes(dAtA, i, uint64(len(v))) 40274 i-- 40275 dAtA[i] = 0x12 40276 i -= len(k) 40277 copy(dAtA[i:], k) 40278 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 40279 i-- 40280 dAtA[i] = 0xa 40281 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 40282 i-- 40283 dAtA[i] = 0xa 40284 } 40285 } 40286 return len(dAtA) - i, nil 40287 } 40288 40289 func (m *PluginListV1) Marshal() (dAtA []byte, err error) { 40290 size := m.Size() 40291 dAtA = make([]byte, size) 40292 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40293 if err != nil { 40294 return nil, err 40295 } 40296 return dAtA[:n], nil 40297 } 40298 40299 func (m *PluginListV1) MarshalTo(dAtA []byte) (int, error) { 40300 size := m.Size() 40301 return m.MarshalToSizedBuffer(dAtA[:size]) 40302 } 40303 40304 func (m *PluginListV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40305 i := len(dAtA) 40306 _ = i 40307 var l int 40308 _ = l 40309 if m.XXX_unrecognized != nil { 40310 i -= len(m.XXX_unrecognized) 40311 copy(dAtA[i:], m.XXX_unrecognized) 40312 } 40313 if len(m.Plugins) > 0 { 40314 for iNdEx := len(m.Plugins) - 1; iNdEx >= 0; iNdEx-- { 40315 { 40316 size, err := m.Plugins[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 40317 if err != nil { 40318 return 0, err 40319 } 40320 i -= size 40321 i = encodeVarintTypes(dAtA, i, uint64(size)) 40322 } 40323 i-- 40324 dAtA[i] = 0xa 40325 } 40326 } 40327 return len(dAtA) - i, nil 40328 } 40329 40330 func (m *PluginStaticCredentialsV1) Marshal() (dAtA []byte, err error) { 40331 size := m.Size() 40332 dAtA = make([]byte, size) 40333 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40334 if err != nil { 40335 return nil, err 40336 } 40337 return dAtA[:n], nil 40338 } 40339 40340 func (m *PluginStaticCredentialsV1) MarshalTo(dAtA []byte) (int, error) { 40341 size := m.Size() 40342 return m.MarshalToSizedBuffer(dAtA[:size]) 40343 } 40344 40345 func (m *PluginStaticCredentialsV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40346 i := len(dAtA) 40347 _ = i 40348 var l int 40349 _ = l 40350 if m.XXX_unrecognized != nil { 40351 i -= len(m.XXX_unrecognized) 40352 copy(dAtA[i:], m.XXX_unrecognized) 40353 } 40354 if m.Spec != nil { 40355 { 40356 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 40357 if err != nil { 40358 return 0, err 40359 } 40360 i -= size 40361 i = encodeVarintTypes(dAtA, i, uint64(size)) 40362 } 40363 i-- 40364 dAtA[i] = 0x12 40365 } 40366 { 40367 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 40368 if err != nil { 40369 return 0, err 40370 } 40371 i -= size 40372 i = encodeVarintTypes(dAtA, i, uint64(size)) 40373 } 40374 i-- 40375 dAtA[i] = 0xa 40376 return len(dAtA) - i, nil 40377 } 40378 40379 func (m *PluginStaticCredentialsSpecV1) Marshal() (dAtA []byte, err error) { 40380 size := m.Size() 40381 dAtA = make([]byte, size) 40382 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40383 if err != nil { 40384 return nil, err 40385 } 40386 return dAtA[:n], nil 40387 } 40388 40389 func (m *PluginStaticCredentialsSpecV1) MarshalTo(dAtA []byte) (int, error) { 40390 size := m.Size() 40391 return m.MarshalToSizedBuffer(dAtA[:size]) 40392 } 40393 40394 func (m *PluginStaticCredentialsSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40395 i := len(dAtA) 40396 _ = i 40397 var l int 40398 _ = l 40399 if m.XXX_unrecognized != nil { 40400 i -= len(m.XXX_unrecognized) 40401 copy(dAtA[i:], m.XXX_unrecognized) 40402 } 40403 if m.Credentials != nil { 40404 { 40405 size := m.Credentials.Size() 40406 i -= size 40407 if _, err := m.Credentials.MarshalTo(dAtA[i:]); err != nil { 40408 return 0, err 40409 } 40410 } 40411 } 40412 return len(dAtA) - i, nil 40413 } 40414 40415 func (m *PluginStaticCredentialsSpecV1_APIToken) MarshalTo(dAtA []byte) (int, error) { 40416 size := m.Size() 40417 return m.MarshalToSizedBuffer(dAtA[:size]) 40418 } 40419 40420 func (m *PluginStaticCredentialsSpecV1_APIToken) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40421 i := len(dAtA) 40422 i -= len(m.APIToken) 40423 copy(dAtA[i:], m.APIToken) 40424 i = encodeVarintTypes(dAtA, i, uint64(len(m.APIToken))) 40425 i-- 40426 dAtA[i] = 0xa 40427 return len(dAtA) - i, nil 40428 } 40429 func (m *PluginStaticCredentialsSpecV1_BasicAuth) MarshalTo(dAtA []byte) (int, error) { 40430 size := m.Size() 40431 return m.MarshalToSizedBuffer(dAtA[:size]) 40432 } 40433 40434 func (m *PluginStaticCredentialsSpecV1_BasicAuth) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40435 i := len(dAtA) 40436 if m.BasicAuth != nil { 40437 { 40438 size, err := m.BasicAuth.MarshalToSizedBuffer(dAtA[:i]) 40439 if err != nil { 40440 return 0, err 40441 } 40442 i -= size 40443 i = encodeVarintTypes(dAtA, i, uint64(size)) 40444 } 40445 i-- 40446 dAtA[i] = 0x12 40447 } 40448 return len(dAtA) - i, nil 40449 } 40450 func (m *PluginStaticCredentialsSpecV1_OAuthClientSecret) MarshalTo(dAtA []byte) (int, error) { 40451 size := m.Size() 40452 return m.MarshalToSizedBuffer(dAtA[:size]) 40453 } 40454 40455 func (m *PluginStaticCredentialsSpecV1_OAuthClientSecret) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40456 i := len(dAtA) 40457 if m.OAuthClientSecret != nil { 40458 { 40459 size, err := m.OAuthClientSecret.MarshalToSizedBuffer(dAtA[:i]) 40460 if err != nil { 40461 return 0, err 40462 } 40463 i -= size 40464 i = encodeVarintTypes(dAtA, i, uint64(size)) 40465 } 40466 i-- 40467 dAtA[i] = 0x1a 40468 } 40469 return len(dAtA) - i, nil 40470 } 40471 func (m *PluginStaticCredentialsBasicAuth) Marshal() (dAtA []byte, err error) { 40472 size := m.Size() 40473 dAtA = make([]byte, size) 40474 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40475 if err != nil { 40476 return nil, err 40477 } 40478 return dAtA[:n], nil 40479 } 40480 40481 func (m *PluginStaticCredentialsBasicAuth) MarshalTo(dAtA []byte) (int, error) { 40482 size := m.Size() 40483 return m.MarshalToSizedBuffer(dAtA[:size]) 40484 } 40485 40486 func (m *PluginStaticCredentialsBasicAuth) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40487 i := len(dAtA) 40488 _ = i 40489 var l int 40490 _ = l 40491 if m.XXX_unrecognized != nil { 40492 i -= len(m.XXX_unrecognized) 40493 copy(dAtA[i:], m.XXX_unrecognized) 40494 } 40495 if len(m.Password) > 0 { 40496 i -= len(m.Password) 40497 copy(dAtA[i:], m.Password) 40498 i = encodeVarintTypes(dAtA, i, uint64(len(m.Password))) 40499 i-- 40500 dAtA[i] = 0x12 40501 } 40502 if len(m.Username) > 0 { 40503 i -= len(m.Username) 40504 copy(dAtA[i:], m.Username) 40505 i = encodeVarintTypes(dAtA, i, uint64(len(m.Username))) 40506 i-- 40507 dAtA[i] = 0xa 40508 } 40509 return len(dAtA) - i, nil 40510 } 40511 40512 func (m *PluginStaticCredentialsOAuthClientSecret) Marshal() (dAtA []byte, err error) { 40513 size := m.Size() 40514 dAtA = make([]byte, size) 40515 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40516 if err != nil { 40517 return nil, err 40518 } 40519 return dAtA[:n], nil 40520 } 40521 40522 func (m *PluginStaticCredentialsOAuthClientSecret) MarshalTo(dAtA []byte) (int, error) { 40523 size := m.Size() 40524 return m.MarshalToSizedBuffer(dAtA[:size]) 40525 } 40526 40527 func (m *PluginStaticCredentialsOAuthClientSecret) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40528 i := len(dAtA) 40529 _ = i 40530 var l int 40531 _ = l 40532 if m.XXX_unrecognized != nil { 40533 i -= len(m.XXX_unrecognized) 40534 copy(dAtA[i:], m.XXX_unrecognized) 40535 } 40536 if len(m.ClientSecret) > 0 { 40537 i -= len(m.ClientSecret) 40538 copy(dAtA[i:], m.ClientSecret) 40539 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientSecret))) 40540 i-- 40541 dAtA[i] = 0x12 40542 } 40543 if len(m.ClientId) > 0 { 40544 i -= len(m.ClientId) 40545 copy(dAtA[i:], m.ClientId) 40546 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientId))) 40547 i-- 40548 dAtA[i] = 0xa 40549 } 40550 return len(dAtA) - i, nil 40551 } 40552 40553 func (m *SAMLIdPServiceProviderV1) Marshal() (dAtA []byte, err error) { 40554 size := m.Size() 40555 dAtA = make([]byte, size) 40556 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40557 if err != nil { 40558 return nil, err 40559 } 40560 return dAtA[:n], nil 40561 } 40562 40563 func (m *SAMLIdPServiceProviderV1) MarshalTo(dAtA []byte) (int, error) { 40564 size := m.Size() 40565 return m.MarshalToSizedBuffer(dAtA[:size]) 40566 } 40567 40568 func (m *SAMLIdPServiceProviderV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40569 i := len(dAtA) 40570 _ = i 40571 var l int 40572 _ = l 40573 if m.XXX_unrecognized != nil { 40574 i -= len(m.XXX_unrecognized) 40575 copy(dAtA[i:], m.XXX_unrecognized) 40576 } 40577 { 40578 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 40579 if err != nil { 40580 return 0, err 40581 } 40582 i -= size 40583 i = encodeVarintTypes(dAtA, i, uint64(size)) 40584 } 40585 i-- 40586 dAtA[i] = 0x12 40587 { 40588 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 40589 if err != nil { 40590 return 0, err 40591 } 40592 i -= size 40593 i = encodeVarintTypes(dAtA, i, uint64(size)) 40594 } 40595 i-- 40596 dAtA[i] = 0xa 40597 return len(dAtA) - i, nil 40598 } 40599 40600 func (m *SAMLIdPServiceProviderSpecV1) Marshal() (dAtA []byte, err error) { 40601 size := m.Size() 40602 dAtA = make([]byte, size) 40603 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40604 if err != nil { 40605 return nil, err 40606 } 40607 return dAtA[:n], nil 40608 } 40609 40610 func (m *SAMLIdPServiceProviderSpecV1) MarshalTo(dAtA []byte) (int, error) { 40611 size := m.Size() 40612 return m.MarshalToSizedBuffer(dAtA[:size]) 40613 } 40614 40615 func (m *SAMLIdPServiceProviderSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40616 i := len(dAtA) 40617 _ = i 40618 var l int 40619 _ = l 40620 if m.XXX_unrecognized != nil { 40621 i -= len(m.XXX_unrecognized) 40622 copy(dAtA[i:], m.XXX_unrecognized) 40623 } 40624 if len(m.RelayState) > 0 { 40625 i -= len(m.RelayState) 40626 copy(dAtA[i:], m.RelayState) 40627 i = encodeVarintTypes(dAtA, i, uint64(len(m.RelayState))) 40628 i-- 40629 dAtA[i] = 0x32 40630 } 40631 if len(m.Preset) > 0 { 40632 i -= len(m.Preset) 40633 copy(dAtA[i:], m.Preset) 40634 i = encodeVarintTypes(dAtA, i, uint64(len(m.Preset))) 40635 i-- 40636 dAtA[i] = 0x2a 40637 } 40638 if len(m.AttributeMapping) > 0 { 40639 for iNdEx := len(m.AttributeMapping) - 1; iNdEx >= 0; iNdEx-- { 40640 { 40641 size, err := m.AttributeMapping[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 40642 if err != nil { 40643 return 0, err 40644 } 40645 i -= size 40646 i = encodeVarintTypes(dAtA, i, uint64(size)) 40647 } 40648 i-- 40649 dAtA[i] = 0x22 40650 } 40651 } 40652 if len(m.ACSURL) > 0 { 40653 i -= len(m.ACSURL) 40654 copy(dAtA[i:], m.ACSURL) 40655 i = encodeVarintTypes(dAtA, i, uint64(len(m.ACSURL))) 40656 i-- 40657 dAtA[i] = 0x1a 40658 } 40659 if len(m.EntityID) > 0 { 40660 i -= len(m.EntityID) 40661 copy(dAtA[i:], m.EntityID) 40662 i = encodeVarintTypes(dAtA, i, uint64(len(m.EntityID))) 40663 i-- 40664 dAtA[i] = 0x12 40665 } 40666 if len(m.EntityDescriptor) > 0 { 40667 i -= len(m.EntityDescriptor) 40668 copy(dAtA[i:], m.EntityDescriptor) 40669 i = encodeVarintTypes(dAtA, i, uint64(len(m.EntityDescriptor))) 40670 i-- 40671 dAtA[i] = 0xa 40672 } 40673 return len(dAtA) - i, nil 40674 } 40675 40676 func (m *SAMLAttributeMapping) Marshal() (dAtA []byte, err error) { 40677 size := m.Size() 40678 dAtA = make([]byte, size) 40679 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40680 if err != nil { 40681 return nil, err 40682 } 40683 return dAtA[:n], nil 40684 } 40685 40686 func (m *SAMLAttributeMapping) MarshalTo(dAtA []byte) (int, error) { 40687 size := m.Size() 40688 return m.MarshalToSizedBuffer(dAtA[:size]) 40689 } 40690 40691 func (m *SAMLAttributeMapping) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40692 i := len(dAtA) 40693 _ = i 40694 var l int 40695 _ = l 40696 if m.XXX_unrecognized != nil { 40697 i -= len(m.XXX_unrecognized) 40698 copy(dAtA[i:], m.XXX_unrecognized) 40699 } 40700 if len(m.Value) > 0 { 40701 i -= len(m.Value) 40702 copy(dAtA[i:], m.Value) 40703 i = encodeVarintTypes(dAtA, i, uint64(len(m.Value))) 40704 i-- 40705 dAtA[i] = 0x1a 40706 } 40707 if len(m.NameFormat) > 0 { 40708 i -= len(m.NameFormat) 40709 copy(dAtA[i:], m.NameFormat) 40710 i = encodeVarintTypes(dAtA, i, uint64(len(m.NameFormat))) 40711 i-- 40712 dAtA[i] = 0x12 40713 } 40714 if len(m.Name) > 0 { 40715 i -= len(m.Name) 40716 copy(dAtA[i:], m.Name) 40717 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 40718 i-- 40719 dAtA[i] = 0xa 40720 } 40721 return len(dAtA) - i, nil 40722 } 40723 40724 func (m *IdPOptions) Marshal() (dAtA []byte, err error) { 40725 size := m.Size() 40726 dAtA = make([]byte, size) 40727 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40728 if err != nil { 40729 return nil, err 40730 } 40731 return dAtA[:n], nil 40732 } 40733 40734 func (m *IdPOptions) MarshalTo(dAtA []byte) (int, error) { 40735 size := m.Size() 40736 return m.MarshalToSizedBuffer(dAtA[:size]) 40737 } 40738 40739 func (m *IdPOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40740 i := len(dAtA) 40741 _ = i 40742 var l int 40743 _ = l 40744 if m.XXX_unrecognized != nil { 40745 i -= len(m.XXX_unrecognized) 40746 copy(dAtA[i:], m.XXX_unrecognized) 40747 } 40748 if m.SAML != nil { 40749 { 40750 size, err := m.SAML.MarshalToSizedBuffer(dAtA[:i]) 40751 if err != nil { 40752 return 0, err 40753 } 40754 i -= size 40755 i = encodeVarintTypes(dAtA, i, uint64(size)) 40756 } 40757 i-- 40758 dAtA[i] = 0xa 40759 } 40760 return len(dAtA) - i, nil 40761 } 40762 40763 func (m *IdPSAMLOptions) Marshal() (dAtA []byte, err error) { 40764 size := m.Size() 40765 dAtA = make([]byte, size) 40766 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40767 if err != nil { 40768 return nil, err 40769 } 40770 return dAtA[:n], nil 40771 } 40772 40773 func (m *IdPSAMLOptions) MarshalTo(dAtA []byte) (int, error) { 40774 size := m.Size() 40775 return m.MarshalToSizedBuffer(dAtA[:size]) 40776 } 40777 40778 func (m *IdPSAMLOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40779 i := len(dAtA) 40780 _ = i 40781 var l int 40782 _ = l 40783 if m.XXX_unrecognized != nil { 40784 i -= len(m.XXX_unrecognized) 40785 copy(dAtA[i:], m.XXX_unrecognized) 40786 } 40787 if m.Enabled != nil { 40788 { 40789 size := m.Enabled.Size() 40790 i -= size 40791 if _, err := m.Enabled.MarshalTo(dAtA[i:]); err != nil { 40792 return 0, err 40793 } 40794 i = encodeVarintTypes(dAtA, i, uint64(size)) 40795 } 40796 i-- 40797 dAtA[i] = 0xa 40798 } 40799 return len(dAtA) - i, nil 40800 } 40801 40802 func (m *KubernetesResourceV1) Marshal() (dAtA []byte, err error) { 40803 size := m.Size() 40804 dAtA = make([]byte, size) 40805 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40806 if err != nil { 40807 return nil, err 40808 } 40809 return dAtA[:n], nil 40810 } 40811 40812 func (m *KubernetesResourceV1) MarshalTo(dAtA []byte) (int, error) { 40813 size := m.Size() 40814 return m.MarshalToSizedBuffer(dAtA[:size]) 40815 } 40816 40817 func (m *KubernetesResourceV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40818 i := len(dAtA) 40819 _ = i 40820 var l int 40821 _ = l 40822 if m.XXX_unrecognized != nil { 40823 i -= len(m.XXX_unrecognized) 40824 copy(dAtA[i:], m.XXX_unrecognized) 40825 } 40826 { 40827 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 40828 if err != nil { 40829 return 0, err 40830 } 40831 i -= size 40832 i = encodeVarintTypes(dAtA, i, uint64(size)) 40833 } 40834 i-- 40835 dAtA[i] = 0x2a 40836 { 40837 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 40838 if err != nil { 40839 return 0, err 40840 } 40841 i -= size 40842 i = encodeVarintTypes(dAtA, i, uint64(size)) 40843 } 40844 i-- 40845 dAtA[i] = 0x22 40846 if len(m.Version) > 0 { 40847 i -= len(m.Version) 40848 copy(dAtA[i:], m.Version) 40849 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 40850 i-- 40851 dAtA[i] = 0x1a 40852 } 40853 if len(m.SubKind) > 0 { 40854 i -= len(m.SubKind) 40855 copy(dAtA[i:], m.SubKind) 40856 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 40857 i-- 40858 dAtA[i] = 0x12 40859 } 40860 if len(m.Kind) > 0 { 40861 i -= len(m.Kind) 40862 copy(dAtA[i:], m.Kind) 40863 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 40864 i-- 40865 dAtA[i] = 0xa 40866 } 40867 return len(dAtA) - i, nil 40868 } 40869 40870 func (m *KubernetesResourceSpecV1) Marshal() (dAtA []byte, err error) { 40871 size := m.Size() 40872 dAtA = make([]byte, size) 40873 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40874 if err != nil { 40875 return nil, err 40876 } 40877 return dAtA[:n], nil 40878 } 40879 40880 func (m *KubernetesResourceSpecV1) MarshalTo(dAtA []byte) (int, error) { 40881 size := m.Size() 40882 return m.MarshalToSizedBuffer(dAtA[:size]) 40883 } 40884 40885 func (m *KubernetesResourceSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40886 i := len(dAtA) 40887 _ = i 40888 var l int 40889 _ = l 40890 if m.XXX_unrecognized != nil { 40891 i -= len(m.XXX_unrecognized) 40892 copy(dAtA[i:], m.XXX_unrecognized) 40893 } 40894 if len(m.Namespace) > 0 { 40895 i -= len(m.Namespace) 40896 copy(dAtA[i:], m.Namespace) 40897 i = encodeVarintTypes(dAtA, i, uint64(len(m.Namespace))) 40898 i-- 40899 dAtA[i] = 0xa 40900 } 40901 return len(dAtA) - i, nil 40902 } 40903 40904 func (m *ClusterMaintenanceConfigV1) Marshal() (dAtA []byte, err error) { 40905 size := m.Size() 40906 dAtA = make([]byte, size) 40907 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40908 if err != nil { 40909 return nil, err 40910 } 40911 return dAtA[:n], nil 40912 } 40913 40914 func (m *ClusterMaintenanceConfigV1) MarshalTo(dAtA []byte) (int, error) { 40915 size := m.Size() 40916 return m.MarshalToSizedBuffer(dAtA[:size]) 40917 } 40918 40919 func (m *ClusterMaintenanceConfigV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40920 i := len(dAtA) 40921 _ = i 40922 var l int 40923 _ = l 40924 if m.XXX_unrecognized != nil { 40925 i -= len(m.XXX_unrecognized) 40926 copy(dAtA[i:], m.XXX_unrecognized) 40927 } 40928 if m.Nonce != 0 { 40929 i = encodeVarintTypes(dAtA, i, uint64(m.Nonce)) 40930 i-- 40931 dAtA[i] = 0x18 40932 } 40933 { 40934 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 40935 if err != nil { 40936 return 0, err 40937 } 40938 i -= size 40939 i = encodeVarintTypes(dAtA, i, uint64(size)) 40940 } 40941 i-- 40942 dAtA[i] = 0x12 40943 { 40944 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 40945 if err != nil { 40946 return 0, err 40947 } 40948 i -= size 40949 i = encodeVarintTypes(dAtA, i, uint64(size)) 40950 } 40951 i-- 40952 dAtA[i] = 0xa 40953 return len(dAtA) - i, nil 40954 } 40955 40956 func (m *ClusterMaintenanceConfigSpecV1) Marshal() (dAtA []byte, err error) { 40957 size := m.Size() 40958 dAtA = make([]byte, size) 40959 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40960 if err != nil { 40961 return nil, err 40962 } 40963 return dAtA[:n], nil 40964 } 40965 40966 func (m *ClusterMaintenanceConfigSpecV1) MarshalTo(dAtA []byte) (int, error) { 40967 size := m.Size() 40968 return m.MarshalToSizedBuffer(dAtA[:size]) 40969 } 40970 40971 func (m *ClusterMaintenanceConfigSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 40972 i := len(dAtA) 40973 _ = i 40974 var l int 40975 _ = l 40976 if m.XXX_unrecognized != nil { 40977 i -= len(m.XXX_unrecognized) 40978 copy(dAtA[i:], m.XXX_unrecognized) 40979 } 40980 if m.AgentUpgrades != nil { 40981 { 40982 size, err := m.AgentUpgrades.MarshalToSizedBuffer(dAtA[:i]) 40983 if err != nil { 40984 return 0, err 40985 } 40986 i -= size 40987 i = encodeVarintTypes(dAtA, i, uint64(size)) 40988 } 40989 i-- 40990 dAtA[i] = 0xa 40991 } 40992 return len(dAtA) - i, nil 40993 } 40994 40995 func (m *AgentUpgradeWindow) Marshal() (dAtA []byte, err error) { 40996 size := m.Size() 40997 dAtA = make([]byte, size) 40998 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 40999 if err != nil { 41000 return nil, err 41001 } 41002 return dAtA[:n], nil 41003 } 41004 41005 func (m *AgentUpgradeWindow) MarshalTo(dAtA []byte) (int, error) { 41006 size := m.Size() 41007 return m.MarshalToSizedBuffer(dAtA[:size]) 41008 } 41009 41010 func (m *AgentUpgradeWindow) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41011 i := len(dAtA) 41012 _ = i 41013 var l int 41014 _ = l 41015 if m.XXX_unrecognized != nil { 41016 i -= len(m.XXX_unrecognized) 41017 copy(dAtA[i:], m.XXX_unrecognized) 41018 } 41019 if len(m.Weekdays) > 0 { 41020 for iNdEx := len(m.Weekdays) - 1; iNdEx >= 0; iNdEx-- { 41021 i -= len(m.Weekdays[iNdEx]) 41022 copy(dAtA[i:], m.Weekdays[iNdEx]) 41023 i = encodeVarintTypes(dAtA, i, uint64(len(m.Weekdays[iNdEx]))) 41024 i-- 41025 dAtA[i] = 0x12 41026 } 41027 } 41028 if m.UTCStartHour != 0 { 41029 i = encodeVarintTypes(dAtA, i, uint64(m.UTCStartHour)) 41030 i-- 41031 dAtA[i] = 0x8 41032 } 41033 return len(dAtA) - i, nil 41034 } 41035 41036 func (m *ScheduledAgentUpgradeWindow) Marshal() (dAtA []byte, err error) { 41037 size := m.Size() 41038 dAtA = make([]byte, size) 41039 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41040 if err != nil { 41041 return nil, err 41042 } 41043 return dAtA[:n], nil 41044 } 41045 41046 func (m *ScheduledAgentUpgradeWindow) MarshalTo(dAtA []byte) (int, error) { 41047 size := m.Size() 41048 return m.MarshalToSizedBuffer(dAtA[:size]) 41049 } 41050 41051 func (m *ScheduledAgentUpgradeWindow) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41052 i := len(dAtA) 41053 _ = i 41054 var l int 41055 _ = l 41056 if m.XXX_unrecognized != nil { 41057 i -= len(m.XXX_unrecognized) 41058 copy(dAtA[i:], m.XXX_unrecognized) 41059 } 41060 n333, err333 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Stop, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Stop):]) 41061 if err333 != nil { 41062 return 0, err333 41063 } 41064 i -= n333 41065 i = encodeVarintTypes(dAtA, i, uint64(n333)) 41066 i-- 41067 dAtA[i] = 0x12 41068 n334, err334 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Start, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Start):]) 41069 if err334 != nil { 41070 return 0, err334 41071 } 41072 i -= n334 41073 i = encodeVarintTypes(dAtA, i, uint64(n334)) 41074 i-- 41075 dAtA[i] = 0xa 41076 return len(dAtA) - i, nil 41077 } 41078 41079 func (m *AgentUpgradeSchedule) Marshal() (dAtA []byte, err error) { 41080 size := m.Size() 41081 dAtA = make([]byte, size) 41082 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41083 if err != nil { 41084 return nil, err 41085 } 41086 return dAtA[:n], nil 41087 } 41088 41089 func (m *AgentUpgradeSchedule) MarshalTo(dAtA []byte) (int, error) { 41090 size := m.Size() 41091 return m.MarshalToSizedBuffer(dAtA[:size]) 41092 } 41093 41094 func (m *AgentUpgradeSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41095 i := len(dAtA) 41096 _ = i 41097 var l int 41098 _ = l 41099 if m.XXX_unrecognized != nil { 41100 i -= len(m.XXX_unrecognized) 41101 copy(dAtA[i:], m.XXX_unrecognized) 41102 } 41103 if len(m.Windows) > 0 { 41104 for iNdEx := len(m.Windows) - 1; iNdEx >= 0; iNdEx-- { 41105 { 41106 size, err := m.Windows[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 41107 if err != nil { 41108 return 0, err 41109 } 41110 i -= size 41111 i = encodeVarintTypes(dAtA, i, uint64(size)) 41112 } 41113 i-- 41114 dAtA[i] = 0xa 41115 } 41116 } 41117 return len(dAtA) - i, nil 41118 } 41119 41120 func (m *UserGroupV1) Marshal() (dAtA []byte, err error) { 41121 size := m.Size() 41122 dAtA = make([]byte, size) 41123 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41124 if err != nil { 41125 return nil, err 41126 } 41127 return dAtA[:n], nil 41128 } 41129 41130 func (m *UserGroupV1) MarshalTo(dAtA []byte) (int, error) { 41131 size := m.Size() 41132 return m.MarshalToSizedBuffer(dAtA[:size]) 41133 } 41134 41135 func (m *UserGroupV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41136 i := len(dAtA) 41137 _ = i 41138 var l int 41139 _ = l 41140 if m.XXX_unrecognized != nil { 41141 i -= len(m.XXX_unrecognized) 41142 copy(dAtA[i:], m.XXX_unrecognized) 41143 } 41144 { 41145 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 41146 if err != nil { 41147 return 0, err 41148 } 41149 i -= size 41150 i = encodeVarintTypes(dAtA, i, uint64(size)) 41151 } 41152 i-- 41153 dAtA[i] = 0x12 41154 { 41155 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 41156 if err != nil { 41157 return 0, err 41158 } 41159 i -= size 41160 i = encodeVarintTypes(dAtA, i, uint64(size)) 41161 } 41162 i-- 41163 dAtA[i] = 0xa 41164 return len(dAtA) - i, nil 41165 } 41166 41167 func (m *UserGroupSpecV1) Marshal() (dAtA []byte, err error) { 41168 size := m.Size() 41169 dAtA = make([]byte, size) 41170 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41171 if err != nil { 41172 return nil, err 41173 } 41174 return dAtA[:n], nil 41175 } 41176 41177 func (m *UserGroupSpecV1) MarshalTo(dAtA []byte) (int, error) { 41178 size := m.Size() 41179 return m.MarshalToSizedBuffer(dAtA[:size]) 41180 } 41181 41182 func (m *UserGroupSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41183 i := len(dAtA) 41184 _ = i 41185 var l int 41186 _ = l 41187 if m.XXX_unrecognized != nil { 41188 i -= len(m.XXX_unrecognized) 41189 copy(dAtA[i:], m.XXX_unrecognized) 41190 } 41191 if len(m.Applications) > 0 { 41192 for iNdEx := len(m.Applications) - 1; iNdEx >= 0; iNdEx-- { 41193 i -= len(m.Applications[iNdEx]) 41194 copy(dAtA[i:], m.Applications[iNdEx]) 41195 i = encodeVarintTypes(dAtA, i, uint64(len(m.Applications[iNdEx]))) 41196 i-- 41197 dAtA[i] = 0xa 41198 } 41199 } 41200 return len(dAtA) - i, nil 41201 } 41202 41203 func (m *OktaImportRuleSpecV1) Marshal() (dAtA []byte, err error) { 41204 size := m.Size() 41205 dAtA = make([]byte, size) 41206 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41207 if err != nil { 41208 return nil, err 41209 } 41210 return dAtA[:n], nil 41211 } 41212 41213 func (m *OktaImportRuleSpecV1) MarshalTo(dAtA []byte) (int, error) { 41214 size := m.Size() 41215 return m.MarshalToSizedBuffer(dAtA[:size]) 41216 } 41217 41218 func (m *OktaImportRuleSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41219 i := len(dAtA) 41220 _ = i 41221 var l int 41222 _ = l 41223 if m.XXX_unrecognized != nil { 41224 i -= len(m.XXX_unrecognized) 41225 copy(dAtA[i:], m.XXX_unrecognized) 41226 } 41227 if len(m.Mappings) > 0 { 41228 for iNdEx := len(m.Mappings) - 1; iNdEx >= 0; iNdEx-- { 41229 { 41230 size, err := m.Mappings[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 41231 if err != nil { 41232 return 0, err 41233 } 41234 i -= size 41235 i = encodeVarintTypes(dAtA, i, uint64(size)) 41236 } 41237 i-- 41238 dAtA[i] = 0x12 41239 } 41240 } 41241 if m.Priority != 0 { 41242 i = encodeVarintTypes(dAtA, i, uint64(m.Priority)) 41243 i-- 41244 dAtA[i] = 0x8 41245 } 41246 return len(dAtA) - i, nil 41247 } 41248 41249 func (m *OktaImportRuleMappingV1) Marshal() (dAtA []byte, err error) { 41250 size := m.Size() 41251 dAtA = make([]byte, size) 41252 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41253 if err != nil { 41254 return nil, err 41255 } 41256 return dAtA[:n], nil 41257 } 41258 41259 func (m *OktaImportRuleMappingV1) MarshalTo(dAtA []byte) (int, error) { 41260 size := m.Size() 41261 return m.MarshalToSizedBuffer(dAtA[:size]) 41262 } 41263 41264 func (m *OktaImportRuleMappingV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41265 i := len(dAtA) 41266 _ = i 41267 var l int 41268 _ = l 41269 if m.XXX_unrecognized != nil { 41270 i -= len(m.XXX_unrecognized) 41271 copy(dAtA[i:], m.XXX_unrecognized) 41272 } 41273 if len(m.AddLabels) > 0 { 41274 for k := range m.AddLabels { 41275 v := m.AddLabels[k] 41276 baseI := i 41277 i -= len(v) 41278 copy(dAtA[i:], v) 41279 i = encodeVarintTypes(dAtA, i, uint64(len(v))) 41280 i-- 41281 dAtA[i] = 0x12 41282 i -= len(k) 41283 copy(dAtA[i:], k) 41284 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 41285 i-- 41286 dAtA[i] = 0xa 41287 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 41288 i-- 41289 dAtA[i] = 0x12 41290 } 41291 } 41292 if len(m.Match) > 0 { 41293 for iNdEx := len(m.Match) - 1; iNdEx >= 0; iNdEx-- { 41294 { 41295 size, err := m.Match[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 41296 if err != nil { 41297 return 0, err 41298 } 41299 i -= size 41300 i = encodeVarintTypes(dAtA, i, uint64(size)) 41301 } 41302 i-- 41303 dAtA[i] = 0xa 41304 } 41305 } 41306 return len(dAtA) - i, nil 41307 } 41308 41309 func (m *OktaImportRuleV1) Marshal() (dAtA []byte, err error) { 41310 size := m.Size() 41311 dAtA = make([]byte, size) 41312 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41313 if err != nil { 41314 return nil, err 41315 } 41316 return dAtA[:n], nil 41317 } 41318 41319 func (m *OktaImportRuleV1) MarshalTo(dAtA []byte) (int, error) { 41320 size := m.Size() 41321 return m.MarshalToSizedBuffer(dAtA[:size]) 41322 } 41323 41324 func (m *OktaImportRuleV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41325 i := len(dAtA) 41326 _ = i 41327 var l int 41328 _ = l 41329 if m.XXX_unrecognized != nil { 41330 i -= len(m.XXX_unrecognized) 41331 copy(dAtA[i:], m.XXX_unrecognized) 41332 } 41333 { 41334 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 41335 if err != nil { 41336 return 0, err 41337 } 41338 i -= size 41339 i = encodeVarintTypes(dAtA, i, uint64(size)) 41340 } 41341 i-- 41342 dAtA[i] = 0x12 41343 { 41344 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 41345 if err != nil { 41346 return 0, err 41347 } 41348 i -= size 41349 i = encodeVarintTypes(dAtA, i, uint64(size)) 41350 } 41351 i-- 41352 dAtA[i] = 0xa 41353 return len(dAtA) - i, nil 41354 } 41355 41356 func (m *OktaImportRuleMatchV1) Marshal() (dAtA []byte, err error) { 41357 size := m.Size() 41358 dAtA = make([]byte, size) 41359 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41360 if err != nil { 41361 return nil, err 41362 } 41363 return dAtA[:n], nil 41364 } 41365 41366 func (m *OktaImportRuleMatchV1) MarshalTo(dAtA []byte) (int, error) { 41367 size := m.Size() 41368 return m.MarshalToSizedBuffer(dAtA[:size]) 41369 } 41370 41371 func (m *OktaImportRuleMatchV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41372 i := len(dAtA) 41373 _ = i 41374 var l int 41375 _ = l 41376 if m.XXX_unrecognized != nil { 41377 i -= len(m.XXX_unrecognized) 41378 copy(dAtA[i:], m.XXX_unrecognized) 41379 } 41380 if len(m.GroupNameRegexes) > 0 { 41381 for iNdEx := len(m.GroupNameRegexes) - 1; iNdEx >= 0; iNdEx-- { 41382 i -= len(m.GroupNameRegexes[iNdEx]) 41383 copy(dAtA[i:], m.GroupNameRegexes[iNdEx]) 41384 i = encodeVarintTypes(dAtA, i, uint64(len(m.GroupNameRegexes[iNdEx]))) 41385 i-- 41386 dAtA[i] = 0x22 41387 } 41388 } 41389 if len(m.AppNameRegexes) > 0 { 41390 for iNdEx := len(m.AppNameRegexes) - 1; iNdEx >= 0; iNdEx-- { 41391 i -= len(m.AppNameRegexes[iNdEx]) 41392 copy(dAtA[i:], m.AppNameRegexes[iNdEx]) 41393 i = encodeVarintTypes(dAtA, i, uint64(len(m.AppNameRegexes[iNdEx]))) 41394 i-- 41395 dAtA[i] = 0x1a 41396 } 41397 } 41398 if len(m.GroupIDs) > 0 { 41399 for iNdEx := len(m.GroupIDs) - 1; iNdEx >= 0; iNdEx-- { 41400 i -= len(m.GroupIDs[iNdEx]) 41401 copy(dAtA[i:], m.GroupIDs[iNdEx]) 41402 i = encodeVarintTypes(dAtA, i, uint64(len(m.GroupIDs[iNdEx]))) 41403 i-- 41404 dAtA[i] = 0x12 41405 } 41406 } 41407 if len(m.AppIDs) > 0 { 41408 for iNdEx := len(m.AppIDs) - 1; iNdEx >= 0; iNdEx-- { 41409 i -= len(m.AppIDs[iNdEx]) 41410 copy(dAtA[i:], m.AppIDs[iNdEx]) 41411 i = encodeVarintTypes(dAtA, i, uint64(len(m.AppIDs[iNdEx]))) 41412 i-- 41413 dAtA[i] = 0xa 41414 } 41415 } 41416 return len(dAtA) - i, nil 41417 } 41418 41419 func (m *OktaAssignmentV1) Marshal() (dAtA []byte, err error) { 41420 size := m.Size() 41421 dAtA = make([]byte, size) 41422 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41423 if err != nil { 41424 return nil, err 41425 } 41426 return dAtA[:n], nil 41427 } 41428 41429 func (m *OktaAssignmentV1) MarshalTo(dAtA []byte) (int, error) { 41430 size := m.Size() 41431 return m.MarshalToSizedBuffer(dAtA[:size]) 41432 } 41433 41434 func (m *OktaAssignmentV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41435 i := len(dAtA) 41436 _ = i 41437 var l int 41438 _ = l 41439 if m.XXX_unrecognized != nil { 41440 i -= len(m.XXX_unrecognized) 41441 copy(dAtA[i:], m.XXX_unrecognized) 41442 } 41443 { 41444 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 41445 if err != nil { 41446 return 0, err 41447 } 41448 i -= size 41449 i = encodeVarintTypes(dAtA, i, uint64(size)) 41450 } 41451 i-- 41452 dAtA[i] = 0x12 41453 { 41454 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 41455 if err != nil { 41456 return 0, err 41457 } 41458 i -= size 41459 i = encodeVarintTypes(dAtA, i, uint64(size)) 41460 } 41461 i-- 41462 dAtA[i] = 0xa 41463 return len(dAtA) - i, nil 41464 } 41465 41466 func (m *OktaAssignmentSpecV1) Marshal() (dAtA []byte, err error) { 41467 size := m.Size() 41468 dAtA = make([]byte, size) 41469 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41470 if err != nil { 41471 return nil, err 41472 } 41473 return dAtA[:n], nil 41474 } 41475 41476 func (m *OktaAssignmentSpecV1) MarshalTo(dAtA []byte) (int, error) { 41477 size := m.Size() 41478 return m.MarshalToSizedBuffer(dAtA[:size]) 41479 } 41480 41481 func (m *OktaAssignmentSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41482 i := len(dAtA) 41483 _ = i 41484 var l int 41485 _ = l 41486 if m.XXX_unrecognized != nil { 41487 i -= len(m.XXX_unrecognized) 41488 copy(dAtA[i:], m.XXX_unrecognized) 41489 } 41490 if m.Finalized { 41491 i-- 41492 if m.Finalized { 41493 dAtA[i] = 1 41494 } else { 41495 dAtA[i] = 0 41496 } 41497 i-- 41498 dAtA[i] = 0x30 41499 } 41500 n341, err341 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.LastTransition, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.LastTransition):]) 41501 if err341 != nil { 41502 return 0, err341 41503 } 41504 i -= n341 41505 i = encodeVarintTypes(dAtA, i, uint64(n341)) 41506 i-- 41507 dAtA[i] = 0x2a 41508 if m.Status != 0 { 41509 i = encodeVarintTypes(dAtA, i, uint64(m.Status)) 41510 i-- 41511 dAtA[i] = 0x20 41512 } 41513 n342, err342 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CleanupTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.CleanupTime):]) 41514 if err342 != nil { 41515 return 0, err342 41516 } 41517 i -= n342 41518 i = encodeVarintTypes(dAtA, i, uint64(n342)) 41519 i-- 41520 dAtA[i] = 0x1a 41521 if len(m.Targets) > 0 { 41522 for iNdEx := len(m.Targets) - 1; iNdEx >= 0; iNdEx-- { 41523 { 41524 size, err := m.Targets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 41525 if err != nil { 41526 return 0, err 41527 } 41528 i -= size 41529 i = encodeVarintTypes(dAtA, i, uint64(size)) 41530 } 41531 i-- 41532 dAtA[i] = 0x12 41533 } 41534 } 41535 if len(m.User) > 0 { 41536 i -= len(m.User) 41537 copy(dAtA[i:], m.User) 41538 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 41539 i-- 41540 dAtA[i] = 0xa 41541 } 41542 return len(dAtA) - i, nil 41543 } 41544 41545 func (m *OktaAssignmentTargetV1) Marshal() (dAtA []byte, err error) { 41546 size := m.Size() 41547 dAtA = make([]byte, size) 41548 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41549 if err != nil { 41550 return nil, err 41551 } 41552 return dAtA[:n], nil 41553 } 41554 41555 func (m *OktaAssignmentTargetV1) MarshalTo(dAtA []byte) (int, error) { 41556 size := m.Size() 41557 return m.MarshalToSizedBuffer(dAtA[:size]) 41558 } 41559 41560 func (m *OktaAssignmentTargetV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41561 i := len(dAtA) 41562 _ = i 41563 var l int 41564 _ = l 41565 if m.XXX_unrecognized != nil { 41566 i -= len(m.XXX_unrecognized) 41567 copy(dAtA[i:], m.XXX_unrecognized) 41568 } 41569 if len(m.Id) > 0 { 41570 i -= len(m.Id) 41571 copy(dAtA[i:], m.Id) 41572 i = encodeVarintTypes(dAtA, i, uint64(len(m.Id))) 41573 i-- 41574 dAtA[i] = 0x12 41575 } 41576 if m.Type != 0 { 41577 i = encodeVarintTypes(dAtA, i, uint64(m.Type)) 41578 i-- 41579 dAtA[i] = 0x8 41580 } 41581 return len(dAtA) - i, nil 41582 } 41583 41584 func (m *IntegrationV1) Marshal() (dAtA []byte, err error) { 41585 size := m.Size() 41586 dAtA = make([]byte, size) 41587 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41588 if err != nil { 41589 return nil, err 41590 } 41591 return dAtA[:n], nil 41592 } 41593 41594 func (m *IntegrationV1) MarshalTo(dAtA []byte) (int, error) { 41595 size := m.Size() 41596 return m.MarshalToSizedBuffer(dAtA[:size]) 41597 } 41598 41599 func (m *IntegrationV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41600 i := len(dAtA) 41601 _ = i 41602 var l int 41603 _ = l 41604 if m.XXX_unrecognized != nil { 41605 i -= len(m.XXX_unrecognized) 41606 copy(dAtA[i:], m.XXX_unrecognized) 41607 } 41608 { 41609 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 41610 if err != nil { 41611 return 0, err 41612 } 41613 i -= size 41614 i = encodeVarintTypes(dAtA, i, uint64(size)) 41615 } 41616 i-- 41617 dAtA[i] = 0x12 41618 { 41619 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 41620 if err != nil { 41621 return 0, err 41622 } 41623 i -= size 41624 i = encodeVarintTypes(dAtA, i, uint64(size)) 41625 } 41626 i-- 41627 dAtA[i] = 0xa 41628 return len(dAtA) - i, nil 41629 } 41630 41631 func (m *IntegrationSpecV1) Marshal() (dAtA []byte, err error) { 41632 size := m.Size() 41633 dAtA = make([]byte, size) 41634 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41635 if err != nil { 41636 return nil, err 41637 } 41638 return dAtA[:n], nil 41639 } 41640 41641 func (m *IntegrationSpecV1) MarshalTo(dAtA []byte) (int, error) { 41642 size := m.Size() 41643 return m.MarshalToSizedBuffer(dAtA[:size]) 41644 } 41645 41646 func (m *IntegrationSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41647 i := len(dAtA) 41648 _ = i 41649 var l int 41650 _ = l 41651 if m.XXX_unrecognized != nil { 41652 i -= len(m.XXX_unrecognized) 41653 copy(dAtA[i:], m.XXX_unrecognized) 41654 } 41655 if m.SubKindSpec != nil { 41656 { 41657 size := m.SubKindSpec.Size() 41658 i -= size 41659 if _, err := m.SubKindSpec.MarshalTo(dAtA[i:]); err != nil { 41660 return 0, err 41661 } 41662 } 41663 } 41664 return len(dAtA) - i, nil 41665 } 41666 41667 func (m *IntegrationSpecV1_AWSOIDC) MarshalTo(dAtA []byte) (int, error) { 41668 size := m.Size() 41669 return m.MarshalToSizedBuffer(dAtA[:size]) 41670 } 41671 41672 func (m *IntegrationSpecV1_AWSOIDC) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41673 i := len(dAtA) 41674 if m.AWSOIDC != nil { 41675 { 41676 size, err := m.AWSOIDC.MarshalToSizedBuffer(dAtA[:i]) 41677 if err != nil { 41678 return 0, err 41679 } 41680 i -= size 41681 i = encodeVarintTypes(dAtA, i, uint64(size)) 41682 } 41683 i-- 41684 dAtA[i] = 0xa 41685 } 41686 return len(dAtA) - i, nil 41687 } 41688 func (m *IntegrationSpecV1_AzureOIDC) MarshalTo(dAtA []byte) (int, error) { 41689 size := m.Size() 41690 return m.MarshalToSizedBuffer(dAtA[:size]) 41691 } 41692 41693 func (m *IntegrationSpecV1_AzureOIDC) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41694 i := len(dAtA) 41695 if m.AzureOIDC != nil { 41696 { 41697 size, err := m.AzureOIDC.MarshalToSizedBuffer(dAtA[:i]) 41698 if err != nil { 41699 return 0, err 41700 } 41701 i -= size 41702 i = encodeVarintTypes(dAtA, i, uint64(size)) 41703 } 41704 i-- 41705 dAtA[i] = 0x12 41706 } 41707 return len(dAtA) - i, nil 41708 } 41709 func (m *AWSOIDCIntegrationSpecV1) Marshal() (dAtA []byte, err error) { 41710 size := m.Size() 41711 dAtA = make([]byte, size) 41712 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41713 if err != nil { 41714 return nil, err 41715 } 41716 return dAtA[:n], nil 41717 } 41718 41719 func (m *AWSOIDCIntegrationSpecV1) MarshalTo(dAtA []byte) (int, error) { 41720 size := m.Size() 41721 return m.MarshalToSizedBuffer(dAtA[:size]) 41722 } 41723 41724 func (m *AWSOIDCIntegrationSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41725 i := len(dAtA) 41726 _ = i 41727 var l int 41728 _ = l 41729 if m.XXX_unrecognized != nil { 41730 i -= len(m.XXX_unrecognized) 41731 copy(dAtA[i:], m.XXX_unrecognized) 41732 } 41733 if len(m.IssuerS3URI) > 0 { 41734 i -= len(m.IssuerS3URI) 41735 copy(dAtA[i:], m.IssuerS3URI) 41736 i = encodeVarintTypes(dAtA, i, uint64(len(m.IssuerS3URI))) 41737 i-- 41738 dAtA[i] = 0x12 41739 } 41740 if len(m.RoleARN) > 0 { 41741 i -= len(m.RoleARN) 41742 copy(dAtA[i:], m.RoleARN) 41743 i = encodeVarintTypes(dAtA, i, uint64(len(m.RoleARN))) 41744 i-- 41745 dAtA[i] = 0xa 41746 } 41747 return len(dAtA) - i, nil 41748 } 41749 41750 func (m *AzureOIDCIntegrationSpecV1) Marshal() (dAtA []byte, err error) { 41751 size := m.Size() 41752 dAtA = make([]byte, size) 41753 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41754 if err != nil { 41755 return nil, err 41756 } 41757 return dAtA[:n], nil 41758 } 41759 41760 func (m *AzureOIDCIntegrationSpecV1) MarshalTo(dAtA []byte) (int, error) { 41761 size := m.Size() 41762 return m.MarshalToSizedBuffer(dAtA[:size]) 41763 } 41764 41765 func (m *AzureOIDCIntegrationSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41766 i := len(dAtA) 41767 _ = i 41768 var l int 41769 _ = l 41770 if m.XXX_unrecognized != nil { 41771 i -= len(m.XXX_unrecognized) 41772 copy(dAtA[i:], m.XXX_unrecognized) 41773 } 41774 if len(m.ClientID) > 0 { 41775 i -= len(m.ClientID) 41776 copy(dAtA[i:], m.ClientID) 41777 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientID))) 41778 i-- 41779 dAtA[i] = 0x12 41780 } 41781 if len(m.TenantID) > 0 { 41782 i -= len(m.TenantID) 41783 copy(dAtA[i:], m.TenantID) 41784 i = encodeVarintTypes(dAtA, i, uint64(len(m.TenantID))) 41785 i-- 41786 dAtA[i] = 0xa 41787 } 41788 return len(dAtA) - i, nil 41789 } 41790 41791 func (m *HeadlessAuthentication) Marshal() (dAtA []byte, err error) { 41792 size := m.Size() 41793 dAtA = make([]byte, size) 41794 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41795 if err != nil { 41796 return nil, err 41797 } 41798 return dAtA[:n], nil 41799 } 41800 41801 func (m *HeadlessAuthentication) MarshalTo(dAtA []byte) (int, error) { 41802 size := m.Size() 41803 return m.MarshalToSizedBuffer(dAtA[:size]) 41804 } 41805 41806 func (m *HeadlessAuthentication) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41807 i := len(dAtA) 41808 _ = i 41809 var l int 41810 _ = l 41811 if m.XXX_unrecognized != nil { 41812 i -= len(m.XXX_unrecognized) 41813 copy(dAtA[i:], m.XXX_unrecognized) 41814 } 41815 if len(m.ClientIpAddress) > 0 { 41816 i -= len(m.ClientIpAddress) 41817 copy(dAtA[i:], m.ClientIpAddress) 41818 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientIpAddress))) 41819 i-- 41820 dAtA[i] = 0x32 41821 } 41822 if m.MfaDevice != nil { 41823 { 41824 size, err := m.MfaDevice.MarshalToSizedBuffer(dAtA[:i]) 41825 if err != nil { 41826 return 0, err 41827 } 41828 i -= size 41829 i = encodeVarintTypes(dAtA, i, uint64(size)) 41830 } 41831 i-- 41832 dAtA[i] = 0x2a 41833 } 41834 if m.State != 0 { 41835 i = encodeVarintTypes(dAtA, i, uint64(m.State)) 41836 i-- 41837 dAtA[i] = 0x20 41838 } 41839 if len(m.PublicKey) > 0 { 41840 i -= len(m.PublicKey) 41841 copy(dAtA[i:], m.PublicKey) 41842 i = encodeVarintTypes(dAtA, i, uint64(len(m.PublicKey))) 41843 i-- 41844 dAtA[i] = 0x1a 41845 } 41846 if len(m.User) > 0 { 41847 i -= len(m.User) 41848 copy(dAtA[i:], m.User) 41849 i = encodeVarintTypes(dAtA, i, uint64(len(m.User))) 41850 i-- 41851 dAtA[i] = 0x12 41852 } 41853 { 41854 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 41855 if err != nil { 41856 return 0, err 41857 } 41858 i -= size 41859 i = encodeVarintTypes(dAtA, i, uint64(size)) 41860 } 41861 i-- 41862 dAtA[i] = 0xa 41863 return len(dAtA) - i, nil 41864 } 41865 41866 func (m *WatchKind) Marshal() (dAtA []byte, err error) { 41867 size := m.Size() 41868 dAtA = make([]byte, size) 41869 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41870 if err != nil { 41871 return nil, err 41872 } 41873 return dAtA[:n], nil 41874 } 41875 41876 func (m *WatchKind) MarshalTo(dAtA []byte) (int, error) { 41877 size := m.Size() 41878 return m.MarshalToSizedBuffer(dAtA[:size]) 41879 } 41880 41881 func (m *WatchKind) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41882 i := len(dAtA) 41883 _ = i 41884 var l int 41885 _ = l 41886 if m.XXX_unrecognized != nil { 41887 i -= len(m.XXX_unrecognized) 41888 copy(dAtA[i:], m.XXX_unrecognized) 41889 } 41890 if len(m.Version) > 0 { 41891 i -= len(m.Version) 41892 copy(dAtA[i:], m.Version) 41893 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 41894 i-- 41895 dAtA[i] = 0x32 41896 } 41897 if len(m.SubKind) > 0 { 41898 i -= len(m.SubKind) 41899 copy(dAtA[i:], m.SubKind) 41900 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 41901 i-- 41902 dAtA[i] = 0x2a 41903 } 41904 if len(m.Filter) > 0 { 41905 for k := range m.Filter { 41906 v := m.Filter[k] 41907 baseI := i 41908 i -= len(v) 41909 copy(dAtA[i:], v) 41910 i = encodeVarintTypes(dAtA, i, uint64(len(v))) 41911 i-- 41912 dAtA[i] = 0x12 41913 i -= len(k) 41914 copy(dAtA[i:], k) 41915 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 41916 i-- 41917 dAtA[i] = 0xa 41918 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 41919 i-- 41920 dAtA[i] = 0x22 41921 } 41922 } 41923 if len(m.Name) > 0 { 41924 i -= len(m.Name) 41925 copy(dAtA[i:], m.Name) 41926 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 41927 i-- 41928 dAtA[i] = 0x1a 41929 } 41930 if m.LoadSecrets { 41931 i-- 41932 if m.LoadSecrets { 41933 dAtA[i] = 1 41934 } else { 41935 dAtA[i] = 0 41936 } 41937 i-- 41938 dAtA[i] = 0x10 41939 } 41940 if len(m.Kind) > 0 { 41941 i -= len(m.Kind) 41942 copy(dAtA[i:], m.Kind) 41943 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 41944 i-- 41945 dAtA[i] = 0xa 41946 } 41947 return len(dAtA) - i, nil 41948 } 41949 41950 func (m *WatchStatusV1) Marshal() (dAtA []byte, err error) { 41951 size := m.Size() 41952 dAtA = make([]byte, size) 41953 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 41954 if err != nil { 41955 return nil, err 41956 } 41957 return dAtA[:n], nil 41958 } 41959 41960 func (m *WatchStatusV1) MarshalTo(dAtA []byte) (int, error) { 41961 size := m.Size() 41962 return m.MarshalToSizedBuffer(dAtA[:size]) 41963 } 41964 41965 func (m *WatchStatusV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 41966 i := len(dAtA) 41967 _ = i 41968 var l int 41969 _ = l 41970 if m.XXX_unrecognized != nil { 41971 i -= len(m.XXX_unrecognized) 41972 copy(dAtA[i:], m.XXX_unrecognized) 41973 } 41974 { 41975 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 41976 if err != nil { 41977 return 0, err 41978 } 41979 i -= size 41980 i = encodeVarintTypes(dAtA, i, uint64(size)) 41981 } 41982 i-- 41983 dAtA[i] = 0x2a 41984 { 41985 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 41986 if err != nil { 41987 return 0, err 41988 } 41989 i -= size 41990 i = encodeVarintTypes(dAtA, i, uint64(size)) 41991 } 41992 i-- 41993 dAtA[i] = 0x22 41994 if len(m.Version) > 0 { 41995 i -= len(m.Version) 41996 copy(dAtA[i:], m.Version) 41997 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 41998 i-- 41999 dAtA[i] = 0x1a 42000 } 42001 if len(m.SubKind) > 0 { 42002 i -= len(m.SubKind) 42003 copy(dAtA[i:], m.SubKind) 42004 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 42005 i-- 42006 dAtA[i] = 0x12 42007 } 42008 if len(m.Kind) > 0 { 42009 i -= len(m.Kind) 42010 copy(dAtA[i:], m.Kind) 42011 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 42012 i-- 42013 dAtA[i] = 0xa 42014 } 42015 return len(dAtA) - i, nil 42016 } 42017 42018 func (m *WatchStatusSpecV1) Marshal() (dAtA []byte, err error) { 42019 size := m.Size() 42020 dAtA = make([]byte, size) 42021 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42022 if err != nil { 42023 return nil, err 42024 } 42025 return dAtA[:n], nil 42026 } 42027 42028 func (m *WatchStatusSpecV1) MarshalTo(dAtA []byte) (int, error) { 42029 size := m.Size() 42030 return m.MarshalToSizedBuffer(dAtA[:size]) 42031 } 42032 42033 func (m *WatchStatusSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42034 i := len(dAtA) 42035 _ = i 42036 var l int 42037 _ = l 42038 if m.XXX_unrecognized != nil { 42039 i -= len(m.XXX_unrecognized) 42040 copy(dAtA[i:], m.XXX_unrecognized) 42041 } 42042 if len(m.Kinds) > 0 { 42043 for iNdEx := len(m.Kinds) - 1; iNdEx >= 0; iNdEx-- { 42044 { 42045 size, err := m.Kinds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 42046 if err != nil { 42047 return 0, err 42048 } 42049 i -= size 42050 i = encodeVarintTypes(dAtA, i, uint64(size)) 42051 } 42052 i-- 42053 dAtA[i] = 0xa 42054 } 42055 } 42056 return len(dAtA) - i, nil 42057 } 42058 42059 func (m *ServerInfoV1) Marshal() (dAtA []byte, err error) { 42060 size := m.Size() 42061 dAtA = make([]byte, size) 42062 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42063 if err != nil { 42064 return nil, err 42065 } 42066 return dAtA[:n], nil 42067 } 42068 42069 func (m *ServerInfoV1) MarshalTo(dAtA []byte) (int, error) { 42070 size := m.Size() 42071 return m.MarshalToSizedBuffer(dAtA[:size]) 42072 } 42073 42074 func (m *ServerInfoV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42075 i := len(dAtA) 42076 _ = i 42077 var l int 42078 _ = l 42079 if m.XXX_unrecognized != nil { 42080 i -= len(m.XXX_unrecognized) 42081 copy(dAtA[i:], m.XXX_unrecognized) 42082 } 42083 { 42084 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) 42085 if err != nil { 42086 return 0, err 42087 } 42088 i -= size 42089 i = encodeVarintTypes(dAtA, i, uint64(size)) 42090 } 42091 i-- 42092 dAtA[i] = 0x2a 42093 { 42094 size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) 42095 if err != nil { 42096 return 0, err 42097 } 42098 i -= size 42099 i = encodeVarintTypes(dAtA, i, uint64(size)) 42100 } 42101 i-- 42102 dAtA[i] = 0x22 42103 if len(m.Version) > 0 { 42104 i -= len(m.Version) 42105 copy(dAtA[i:], m.Version) 42106 i = encodeVarintTypes(dAtA, i, uint64(len(m.Version))) 42107 i-- 42108 dAtA[i] = 0x1a 42109 } 42110 if len(m.SubKind) > 0 { 42111 i -= len(m.SubKind) 42112 copy(dAtA[i:], m.SubKind) 42113 i = encodeVarintTypes(dAtA, i, uint64(len(m.SubKind))) 42114 i-- 42115 dAtA[i] = 0x12 42116 } 42117 if len(m.Kind) > 0 { 42118 i -= len(m.Kind) 42119 copy(dAtA[i:], m.Kind) 42120 i = encodeVarintTypes(dAtA, i, uint64(len(m.Kind))) 42121 i-- 42122 dAtA[i] = 0xa 42123 } 42124 return len(dAtA) - i, nil 42125 } 42126 42127 func (m *ServerInfoSpecV1) Marshal() (dAtA []byte, err error) { 42128 size := m.Size() 42129 dAtA = make([]byte, size) 42130 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42131 if err != nil { 42132 return nil, err 42133 } 42134 return dAtA[:n], nil 42135 } 42136 42137 func (m *ServerInfoSpecV1) MarshalTo(dAtA []byte) (int, error) { 42138 size := m.Size() 42139 return m.MarshalToSizedBuffer(dAtA[:size]) 42140 } 42141 42142 func (m *ServerInfoSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42143 i := len(dAtA) 42144 _ = i 42145 var l int 42146 _ = l 42147 if m.XXX_unrecognized != nil { 42148 i -= len(m.XXX_unrecognized) 42149 copy(dAtA[i:], m.XXX_unrecognized) 42150 } 42151 if len(m.NewLabels) > 0 { 42152 for k := range m.NewLabels { 42153 v := m.NewLabels[k] 42154 baseI := i 42155 i -= len(v) 42156 copy(dAtA[i:], v) 42157 i = encodeVarintTypes(dAtA, i, uint64(len(v))) 42158 i-- 42159 dAtA[i] = 0x12 42160 i -= len(k) 42161 copy(dAtA[i:], k) 42162 i = encodeVarintTypes(dAtA, i, uint64(len(k))) 42163 i-- 42164 dAtA[i] = 0xa 42165 i = encodeVarintTypes(dAtA, i, uint64(baseI-i)) 42166 i-- 42167 dAtA[i] = 0x12 42168 } 42169 } 42170 return len(dAtA) - i, nil 42171 } 42172 42173 func (m *JamfSpecV1) Marshal() (dAtA []byte, err error) { 42174 size := m.Size() 42175 dAtA = make([]byte, size) 42176 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42177 if err != nil { 42178 return nil, err 42179 } 42180 return dAtA[:n], nil 42181 } 42182 42183 func (m *JamfSpecV1) MarshalTo(dAtA []byte) (int, error) { 42184 size := m.Size() 42185 return m.MarshalToSizedBuffer(dAtA[:size]) 42186 } 42187 42188 func (m *JamfSpecV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42189 i := len(dAtA) 42190 _ = i 42191 var l int 42192 _ = l 42193 if m.XXX_unrecognized != nil { 42194 i -= len(m.XXX_unrecognized) 42195 copy(dAtA[i:], m.XXX_unrecognized) 42196 } 42197 if len(m.Inventory) > 0 { 42198 for iNdEx := len(m.Inventory) - 1; iNdEx >= 0; iNdEx-- { 42199 { 42200 size, err := m.Inventory[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 42201 if err != nil { 42202 return 0, err 42203 } 42204 i -= size 42205 i = encodeVarintTypes(dAtA, i, uint64(size)) 42206 } 42207 i-- 42208 dAtA[i] = 0x3a 42209 } 42210 } 42211 if len(m.Password) > 0 { 42212 i -= len(m.Password) 42213 copy(dAtA[i:], m.Password) 42214 i = encodeVarintTypes(dAtA, i, uint64(len(m.Password))) 42215 i-- 42216 dAtA[i] = 0x32 42217 } 42218 if len(m.Username) > 0 { 42219 i -= len(m.Username) 42220 copy(dAtA[i:], m.Username) 42221 i = encodeVarintTypes(dAtA, i, uint64(len(m.Username))) 42222 i-- 42223 dAtA[i] = 0x2a 42224 } 42225 if len(m.ApiEndpoint) > 0 { 42226 i -= len(m.ApiEndpoint) 42227 copy(dAtA[i:], m.ApiEndpoint) 42228 i = encodeVarintTypes(dAtA, i, uint64(len(m.ApiEndpoint))) 42229 i-- 42230 dAtA[i] = 0x22 42231 } 42232 if m.SyncDelay != 0 { 42233 i = encodeVarintTypes(dAtA, i, uint64(m.SyncDelay)) 42234 i-- 42235 dAtA[i] = 0x18 42236 } 42237 if len(m.Name) > 0 { 42238 i -= len(m.Name) 42239 copy(dAtA[i:], m.Name) 42240 i = encodeVarintTypes(dAtA, i, uint64(len(m.Name))) 42241 i-- 42242 dAtA[i] = 0x12 42243 } 42244 if m.Enabled { 42245 i-- 42246 if m.Enabled { 42247 dAtA[i] = 1 42248 } else { 42249 dAtA[i] = 0 42250 } 42251 i-- 42252 dAtA[i] = 0x8 42253 } 42254 return len(dAtA) - i, nil 42255 } 42256 42257 func (m *JamfInventoryEntry) Marshal() (dAtA []byte, err error) { 42258 size := m.Size() 42259 dAtA = make([]byte, size) 42260 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42261 if err != nil { 42262 return nil, err 42263 } 42264 return dAtA[:n], nil 42265 } 42266 42267 func (m *JamfInventoryEntry) MarshalTo(dAtA []byte) (int, error) { 42268 size := m.Size() 42269 return m.MarshalToSizedBuffer(dAtA[:size]) 42270 } 42271 42272 func (m *JamfInventoryEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42273 i := len(dAtA) 42274 _ = i 42275 var l int 42276 _ = l 42277 if m.XXX_unrecognized != nil { 42278 i -= len(m.XXX_unrecognized) 42279 copy(dAtA[i:], m.XXX_unrecognized) 42280 } 42281 if m.PageSize != 0 { 42282 i = encodeVarintTypes(dAtA, i, uint64(m.PageSize)) 42283 i-- 42284 dAtA[i] = 0x28 42285 } 42286 if len(m.OnMissing) > 0 { 42287 i -= len(m.OnMissing) 42288 copy(dAtA[i:], m.OnMissing) 42289 i = encodeVarintTypes(dAtA, i, uint64(len(m.OnMissing))) 42290 i-- 42291 dAtA[i] = 0x22 42292 } 42293 if m.SyncPeriodFull != 0 { 42294 i = encodeVarintTypes(dAtA, i, uint64(m.SyncPeriodFull)) 42295 i-- 42296 dAtA[i] = 0x18 42297 } 42298 if m.SyncPeriodPartial != 0 { 42299 i = encodeVarintTypes(dAtA, i, uint64(m.SyncPeriodPartial)) 42300 i-- 42301 dAtA[i] = 0x10 42302 } 42303 if len(m.FilterRsql) > 0 { 42304 i -= len(m.FilterRsql) 42305 copy(dAtA[i:], m.FilterRsql) 42306 i = encodeVarintTypes(dAtA, i, uint64(len(m.FilterRsql))) 42307 i-- 42308 dAtA[i] = 0xa 42309 } 42310 return len(dAtA) - i, nil 42311 } 42312 42313 func (m *MessageWithHeader) Marshal() (dAtA []byte, err error) { 42314 size := m.Size() 42315 dAtA = make([]byte, size) 42316 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42317 if err != nil { 42318 return nil, err 42319 } 42320 return dAtA[:n], nil 42321 } 42322 42323 func (m *MessageWithHeader) MarshalTo(dAtA []byte) (int, error) { 42324 size := m.Size() 42325 return m.MarshalToSizedBuffer(dAtA[:size]) 42326 } 42327 42328 func (m *MessageWithHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42329 i := len(dAtA) 42330 _ = i 42331 var l int 42332 _ = l 42333 if m.XXX_unrecognized != nil { 42334 i -= len(m.XXX_unrecognized) 42335 copy(dAtA[i:], m.XXX_unrecognized) 42336 } 42337 { 42338 size, err := m.ResourceHeader.MarshalToSizedBuffer(dAtA[:i]) 42339 if err != nil { 42340 return 0, err 42341 } 42342 i -= size 42343 i = encodeVarintTypes(dAtA, i, uint64(size)) 42344 } 42345 i-- 42346 dAtA[i] = 0xa 42347 return len(dAtA) - i, nil 42348 } 42349 42350 func (m *AWSMatcher) Marshal() (dAtA []byte, err error) { 42351 size := m.Size() 42352 dAtA = make([]byte, size) 42353 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42354 if err != nil { 42355 return nil, err 42356 } 42357 return dAtA[:n], nil 42358 } 42359 42360 func (m *AWSMatcher) MarshalTo(dAtA []byte) (int, error) { 42361 size := m.Size() 42362 return m.MarshalToSizedBuffer(dAtA[:size]) 42363 } 42364 42365 func (m *AWSMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42366 i := len(dAtA) 42367 _ = i 42368 var l int 42369 _ = l 42370 if m.XXX_unrecognized != nil { 42371 i -= len(m.XXX_unrecognized) 42372 copy(dAtA[i:], m.XXX_unrecognized) 42373 } 42374 if m.KubeAppDiscovery { 42375 i-- 42376 if m.KubeAppDiscovery { 42377 dAtA[i] = 1 42378 } else { 42379 dAtA[i] = 0 42380 } 42381 i-- 42382 dAtA[i] = 0x40 42383 } 42384 if len(m.Integration) > 0 { 42385 i -= len(m.Integration) 42386 copy(dAtA[i:], m.Integration) 42387 i = encodeVarintTypes(dAtA, i, uint64(len(m.Integration))) 42388 i-- 42389 dAtA[i] = 0x3a 42390 } 42391 if m.SSM != nil { 42392 { 42393 size, err := m.SSM.MarshalToSizedBuffer(dAtA[:i]) 42394 if err != nil { 42395 return 0, err 42396 } 42397 i -= size 42398 i = encodeVarintTypes(dAtA, i, uint64(size)) 42399 } 42400 i-- 42401 dAtA[i] = 0x32 42402 } 42403 if m.Params != nil { 42404 { 42405 size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) 42406 if err != nil { 42407 return 0, err 42408 } 42409 i -= size 42410 i = encodeVarintTypes(dAtA, i, uint64(size)) 42411 } 42412 i-- 42413 dAtA[i] = 0x2a 42414 } 42415 { 42416 size := m.Tags.Size() 42417 i -= size 42418 if _, err := m.Tags.MarshalTo(dAtA[i:]); err != nil { 42419 return 0, err 42420 } 42421 i = encodeVarintTypes(dAtA, i, uint64(size)) 42422 } 42423 i-- 42424 dAtA[i] = 0x22 42425 if m.AssumeRole != nil { 42426 { 42427 size, err := m.AssumeRole.MarshalToSizedBuffer(dAtA[:i]) 42428 if err != nil { 42429 return 0, err 42430 } 42431 i -= size 42432 i = encodeVarintTypes(dAtA, i, uint64(size)) 42433 } 42434 i-- 42435 dAtA[i] = 0x1a 42436 } 42437 if len(m.Regions) > 0 { 42438 for iNdEx := len(m.Regions) - 1; iNdEx >= 0; iNdEx-- { 42439 i -= len(m.Regions[iNdEx]) 42440 copy(dAtA[i:], m.Regions[iNdEx]) 42441 i = encodeVarintTypes(dAtA, i, uint64(len(m.Regions[iNdEx]))) 42442 i-- 42443 dAtA[i] = 0x12 42444 } 42445 } 42446 if len(m.Types) > 0 { 42447 for iNdEx := len(m.Types) - 1; iNdEx >= 0; iNdEx-- { 42448 i -= len(m.Types[iNdEx]) 42449 copy(dAtA[i:], m.Types[iNdEx]) 42450 i = encodeVarintTypes(dAtA, i, uint64(len(m.Types[iNdEx]))) 42451 i-- 42452 dAtA[i] = 0xa 42453 } 42454 } 42455 return len(dAtA) - i, nil 42456 } 42457 42458 func (m *AssumeRole) Marshal() (dAtA []byte, err error) { 42459 size := m.Size() 42460 dAtA = make([]byte, size) 42461 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42462 if err != nil { 42463 return nil, err 42464 } 42465 return dAtA[:n], nil 42466 } 42467 42468 func (m *AssumeRole) MarshalTo(dAtA []byte) (int, error) { 42469 size := m.Size() 42470 return m.MarshalToSizedBuffer(dAtA[:size]) 42471 } 42472 42473 func (m *AssumeRole) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42474 i := len(dAtA) 42475 _ = i 42476 var l int 42477 _ = l 42478 if m.XXX_unrecognized != nil { 42479 i -= len(m.XXX_unrecognized) 42480 copy(dAtA[i:], m.XXX_unrecognized) 42481 } 42482 if len(m.ExternalID) > 0 { 42483 i -= len(m.ExternalID) 42484 copy(dAtA[i:], m.ExternalID) 42485 i = encodeVarintTypes(dAtA, i, uint64(len(m.ExternalID))) 42486 i-- 42487 dAtA[i] = 0x12 42488 } 42489 if len(m.RoleARN) > 0 { 42490 i -= len(m.RoleARN) 42491 copy(dAtA[i:], m.RoleARN) 42492 i = encodeVarintTypes(dAtA, i, uint64(len(m.RoleARN))) 42493 i-- 42494 dAtA[i] = 0xa 42495 } 42496 return len(dAtA) - i, nil 42497 } 42498 42499 func (m *InstallerParams) Marshal() (dAtA []byte, err error) { 42500 size := m.Size() 42501 dAtA = make([]byte, size) 42502 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42503 if err != nil { 42504 return nil, err 42505 } 42506 return dAtA[:n], nil 42507 } 42508 42509 func (m *InstallerParams) MarshalTo(dAtA []byte) (int, error) { 42510 size := m.Size() 42511 return m.MarshalToSizedBuffer(dAtA[:size]) 42512 } 42513 42514 func (m *InstallerParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42515 i := len(dAtA) 42516 _ = i 42517 var l int 42518 _ = l 42519 if m.XXX_unrecognized != nil { 42520 i -= len(m.XXX_unrecognized) 42521 copy(dAtA[i:], m.XXX_unrecognized) 42522 } 42523 if m.Azure != nil { 42524 { 42525 size, err := m.Azure.MarshalToSizedBuffer(dAtA[:i]) 42526 if err != nil { 42527 return 0, err 42528 } 42529 i -= size 42530 i = encodeVarintTypes(dAtA, i, uint64(size)) 42531 } 42532 i-- 42533 dAtA[i] = 0x3a 42534 } 42535 if len(m.PublicProxyAddr) > 0 { 42536 i -= len(m.PublicProxyAddr) 42537 copy(dAtA[i:], m.PublicProxyAddr) 42538 i = encodeVarintTypes(dAtA, i, uint64(len(m.PublicProxyAddr))) 42539 i-- 42540 dAtA[i] = 0x32 42541 } 42542 if len(m.SSHDConfig) > 0 { 42543 i -= len(m.SSHDConfig) 42544 copy(dAtA[i:], m.SSHDConfig) 42545 i = encodeVarintTypes(dAtA, i, uint64(len(m.SSHDConfig))) 42546 i-- 42547 dAtA[i] = 0x2a 42548 } 42549 if m.InstallTeleport { 42550 i-- 42551 if m.InstallTeleport { 42552 dAtA[i] = 1 42553 } else { 42554 dAtA[i] = 0 42555 } 42556 i-- 42557 dAtA[i] = 0x20 42558 } 42559 if len(m.ScriptName) > 0 { 42560 i -= len(m.ScriptName) 42561 copy(dAtA[i:], m.ScriptName) 42562 i = encodeVarintTypes(dAtA, i, uint64(len(m.ScriptName))) 42563 i-- 42564 dAtA[i] = 0x1a 42565 } 42566 if len(m.JoinToken) > 0 { 42567 i -= len(m.JoinToken) 42568 copy(dAtA[i:], m.JoinToken) 42569 i = encodeVarintTypes(dAtA, i, uint64(len(m.JoinToken))) 42570 i-- 42571 dAtA[i] = 0x12 42572 } 42573 if len(m.JoinMethod) > 0 { 42574 i -= len(m.JoinMethod) 42575 copy(dAtA[i:], m.JoinMethod) 42576 i = encodeVarintTypes(dAtA, i, uint64(len(m.JoinMethod))) 42577 i-- 42578 dAtA[i] = 0xa 42579 } 42580 return len(dAtA) - i, nil 42581 } 42582 42583 func (m *AWSSSM) Marshal() (dAtA []byte, err error) { 42584 size := m.Size() 42585 dAtA = make([]byte, size) 42586 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42587 if err != nil { 42588 return nil, err 42589 } 42590 return dAtA[:n], nil 42591 } 42592 42593 func (m *AWSSSM) MarshalTo(dAtA []byte) (int, error) { 42594 size := m.Size() 42595 return m.MarshalToSizedBuffer(dAtA[:size]) 42596 } 42597 42598 func (m *AWSSSM) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42599 i := len(dAtA) 42600 _ = i 42601 var l int 42602 _ = l 42603 if m.XXX_unrecognized != nil { 42604 i -= len(m.XXX_unrecognized) 42605 copy(dAtA[i:], m.XXX_unrecognized) 42606 } 42607 if len(m.DocumentName) > 0 { 42608 i -= len(m.DocumentName) 42609 copy(dAtA[i:], m.DocumentName) 42610 i = encodeVarintTypes(dAtA, i, uint64(len(m.DocumentName))) 42611 i-- 42612 dAtA[i] = 0xa 42613 } 42614 return len(dAtA) - i, nil 42615 } 42616 42617 func (m *AzureInstallerParams) Marshal() (dAtA []byte, err error) { 42618 size := m.Size() 42619 dAtA = make([]byte, size) 42620 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42621 if err != nil { 42622 return nil, err 42623 } 42624 return dAtA[:n], nil 42625 } 42626 42627 func (m *AzureInstallerParams) MarshalTo(dAtA []byte) (int, error) { 42628 size := m.Size() 42629 return m.MarshalToSizedBuffer(dAtA[:size]) 42630 } 42631 42632 func (m *AzureInstallerParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42633 i := len(dAtA) 42634 _ = i 42635 var l int 42636 _ = l 42637 if m.XXX_unrecognized != nil { 42638 i -= len(m.XXX_unrecognized) 42639 copy(dAtA[i:], m.XXX_unrecognized) 42640 } 42641 if len(m.ClientID) > 0 { 42642 i -= len(m.ClientID) 42643 copy(dAtA[i:], m.ClientID) 42644 i = encodeVarintTypes(dAtA, i, uint64(len(m.ClientID))) 42645 i-- 42646 dAtA[i] = 0xa 42647 } 42648 return len(dAtA) - i, nil 42649 } 42650 42651 func (m *AzureMatcher) Marshal() (dAtA []byte, err error) { 42652 size := m.Size() 42653 dAtA = make([]byte, size) 42654 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42655 if err != nil { 42656 return nil, err 42657 } 42658 return dAtA[:n], nil 42659 } 42660 42661 func (m *AzureMatcher) MarshalTo(dAtA []byte) (int, error) { 42662 size := m.Size() 42663 return m.MarshalToSizedBuffer(dAtA[:size]) 42664 } 42665 42666 func (m *AzureMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42667 i := len(dAtA) 42668 _ = i 42669 var l int 42670 _ = l 42671 if m.XXX_unrecognized != nil { 42672 i -= len(m.XXX_unrecognized) 42673 copy(dAtA[i:], m.XXX_unrecognized) 42674 } 42675 if m.Params != nil { 42676 { 42677 size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) 42678 if err != nil { 42679 return 0, err 42680 } 42681 i -= size 42682 i = encodeVarintTypes(dAtA, i, uint64(size)) 42683 } 42684 i-- 42685 dAtA[i] = 0x32 42686 } 42687 { 42688 size := m.ResourceTags.Size() 42689 i -= size 42690 if _, err := m.ResourceTags.MarshalTo(dAtA[i:]); err != nil { 42691 return 0, err 42692 } 42693 i = encodeVarintTypes(dAtA, i, uint64(size)) 42694 } 42695 i-- 42696 dAtA[i] = 0x2a 42697 if len(m.Regions) > 0 { 42698 for iNdEx := len(m.Regions) - 1; iNdEx >= 0; iNdEx-- { 42699 i -= len(m.Regions[iNdEx]) 42700 copy(dAtA[i:], m.Regions[iNdEx]) 42701 i = encodeVarintTypes(dAtA, i, uint64(len(m.Regions[iNdEx]))) 42702 i-- 42703 dAtA[i] = 0x22 42704 } 42705 } 42706 if len(m.Types) > 0 { 42707 for iNdEx := len(m.Types) - 1; iNdEx >= 0; iNdEx-- { 42708 i -= len(m.Types[iNdEx]) 42709 copy(dAtA[i:], m.Types[iNdEx]) 42710 i = encodeVarintTypes(dAtA, i, uint64(len(m.Types[iNdEx]))) 42711 i-- 42712 dAtA[i] = 0x1a 42713 } 42714 } 42715 if len(m.ResourceGroups) > 0 { 42716 for iNdEx := len(m.ResourceGroups) - 1; iNdEx >= 0; iNdEx-- { 42717 i -= len(m.ResourceGroups[iNdEx]) 42718 copy(dAtA[i:], m.ResourceGroups[iNdEx]) 42719 i = encodeVarintTypes(dAtA, i, uint64(len(m.ResourceGroups[iNdEx]))) 42720 i-- 42721 dAtA[i] = 0x12 42722 } 42723 } 42724 if len(m.Subscriptions) > 0 { 42725 for iNdEx := len(m.Subscriptions) - 1; iNdEx >= 0; iNdEx-- { 42726 i -= len(m.Subscriptions[iNdEx]) 42727 copy(dAtA[i:], m.Subscriptions[iNdEx]) 42728 i = encodeVarintTypes(dAtA, i, uint64(len(m.Subscriptions[iNdEx]))) 42729 i-- 42730 dAtA[i] = 0xa 42731 } 42732 } 42733 return len(dAtA) - i, nil 42734 } 42735 42736 func (m *GCPMatcher) Marshal() (dAtA []byte, err error) { 42737 size := m.Size() 42738 dAtA = make([]byte, size) 42739 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42740 if err != nil { 42741 return nil, err 42742 } 42743 return dAtA[:n], nil 42744 } 42745 42746 func (m *GCPMatcher) MarshalTo(dAtA []byte) (int, error) { 42747 size := m.Size() 42748 return m.MarshalToSizedBuffer(dAtA[:size]) 42749 } 42750 42751 func (m *GCPMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42752 i := len(dAtA) 42753 _ = i 42754 var l int 42755 _ = l 42756 if m.XXX_unrecognized != nil { 42757 i -= len(m.XXX_unrecognized) 42758 copy(dAtA[i:], m.XXX_unrecognized) 42759 } 42760 { 42761 size := m.Labels.Size() 42762 i -= size 42763 if _, err := m.Labels.MarshalTo(dAtA[i:]); err != nil { 42764 return 0, err 42765 } 42766 i = encodeVarintTypes(dAtA, i, uint64(size)) 42767 } 42768 i-- 42769 dAtA[i] = 0x3a 42770 if m.Params != nil { 42771 { 42772 size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) 42773 if err != nil { 42774 return 0, err 42775 } 42776 i -= size 42777 i = encodeVarintTypes(dAtA, i, uint64(size)) 42778 } 42779 i-- 42780 dAtA[i] = 0x32 42781 } 42782 if len(m.ServiceAccounts) > 0 { 42783 for iNdEx := len(m.ServiceAccounts) - 1; iNdEx >= 0; iNdEx-- { 42784 i -= len(m.ServiceAccounts[iNdEx]) 42785 copy(dAtA[i:], m.ServiceAccounts[iNdEx]) 42786 i = encodeVarintTypes(dAtA, i, uint64(len(m.ServiceAccounts[iNdEx]))) 42787 i-- 42788 dAtA[i] = 0x2a 42789 } 42790 } 42791 if len(m.ProjectIDs) > 0 { 42792 for iNdEx := len(m.ProjectIDs) - 1; iNdEx >= 0; iNdEx-- { 42793 i -= len(m.ProjectIDs[iNdEx]) 42794 copy(dAtA[i:], m.ProjectIDs[iNdEx]) 42795 i = encodeVarintTypes(dAtA, i, uint64(len(m.ProjectIDs[iNdEx]))) 42796 i-- 42797 dAtA[i] = 0x22 42798 } 42799 } 42800 { 42801 size := m.Tags.Size() 42802 i -= size 42803 if _, err := m.Tags.MarshalTo(dAtA[i:]); err != nil { 42804 return 0, err 42805 } 42806 i = encodeVarintTypes(dAtA, i, uint64(size)) 42807 } 42808 i-- 42809 dAtA[i] = 0x1a 42810 if len(m.Locations) > 0 { 42811 for iNdEx := len(m.Locations) - 1; iNdEx >= 0; iNdEx-- { 42812 i -= len(m.Locations[iNdEx]) 42813 copy(dAtA[i:], m.Locations[iNdEx]) 42814 i = encodeVarintTypes(dAtA, i, uint64(len(m.Locations[iNdEx]))) 42815 i-- 42816 dAtA[i] = 0x12 42817 } 42818 } 42819 if len(m.Types) > 0 { 42820 for iNdEx := len(m.Types) - 1; iNdEx >= 0; iNdEx-- { 42821 i -= len(m.Types[iNdEx]) 42822 copy(dAtA[i:], m.Types[iNdEx]) 42823 i = encodeVarintTypes(dAtA, i, uint64(len(m.Types[iNdEx]))) 42824 i-- 42825 dAtA[i] = 0xa 42826 } 42827 } 42828 return len(dAtA) - i, nil 42829 } 42830 42831 func (m *KubernetesMatcher) Marshal() (dAtA []byte, err error) { 42832 size := m.Size() 42833 dAtA = make([]byte, size) 42834 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42835 if err != nil { 42836 return nil, err 42837 } 42838 return dAtA[:n], nil 42839 } 42840 42841 func (m *KubernetesMatcher) MarshalTo(dAtA []byte) (int, error) { 42842 size := m.Size() 42843 return m.MarshalToSizedBuffer(dAtA[:size]) 42844 } 42845 42846 func (m *KubernetesMatcher) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42847 i := len(dAtA) 42848 _ = i 42849 var l int 42850 _ = l 42851 if m.XXX_unrecognized != nil { 42852 i -= len(m.XXX_unrecognized) 42853 copy(dAtA[i:], m.XXX_unrecognized) 42854 } 42855 { 42856 size := m.Labels.Size() 42857 i -= size 42858 if _, err := m.Labels.MarshalTo(dAtA[i:]); err != nil { 42859 return 0, err 42860 } 42861 i = encodeVarintTypes(dAtA, i, uint64(size)) 42862 } 42863 i-- 42864 dAtA[i] = 0x1a 42865 if len(m.Namespaces) > 0 { 42866 for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- { 42867 i -= len(m.Namespaces[iNdEx]) 42868 copy(dAtA[i:], m.Namespaces[iNdEx]) 42869 i = encodeVarintTypes(dAtA, i, uint64(len(m.Namespaces[iNdEx]))) 42870 i-- 42871 dAtA[i] = 0x12 42872 } 42873 } 42874 if len(m.Types) > 0 { 42875 for iNdEx := len(m.Types) - 1; iNdEx >= 0; iNdEx-- { 42876 i -= len(m.Types[iNdEx]) 42877 copy(dAtA[i:], m.Types[iNdEx]) 42878 i = encodeVarintTypes(dAtA, i, uint64(len(m.Types[iNdEx]))) 42879 i-- 42880 dAtA[i] = 0xa 42881 } 42882 } 42883 return len(dAtA) - i, nil 42884 } 42885 42886 func (m *OktaOptions) Marshal() (dAtA []byte, err error) { 42887 size := m.Size() 42888 dAtA = make([]byte, size) 42889 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42890 if err != nil { 42891 return nil, err 42892 } 42893 return dAtA[:n], nil 42894 } 42895 42896 func (m *OktaOptions) MarshalTo(dAtA []byte) (int, error) { 42897 size := m.Size() 42898 return m.MarshalToSizedBuffer(dAtA[:size]) 42899 } 42900 42901 func (m *OktaOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42902 i := len(dAtA) 42903 _ = i 42904 var l int 42905 _ = l 42906 if m.XXX_unrecognized != nil { 42907 i -= len(m.XXX_unrecognized) 42908 copy(dAtA[i:], m.XXX_unrecognized) 42909 } 42910 if m.SyncPeriod != 0 { 42911 i = encodeVarintTypes(dAtA, i, uint64(m.SyncPeriod)) 42912 i-- 42913 dAtA[i] = 0x8 42914 } 42915 return len(dAtA) - i, nil 42916 } 42917 42918 func (m *AccessGraphSync) Marshal() (dAtA []byte, err error) { 42919 size := m.Size() 42920 dAtA = make([]byte, size) 42921 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42922 if err != nil { 42923 return nil, err 42924 } 42925 return dAtA[:n], nil 42926 } 42927 42928 func (m *AccessGraphSync) MarshalTo(dAtA []byte) (int, error) { 42929 size := m.Size() 42930 return m.MarshalToSizedBuffer(dAtA[:size]) 42931 } 42932 42933 func (m *AccessGraphSync) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42934 i := len(dAtA) 42935 _ = i 42936 var l int 42937 _ = l 42938 if m.XXX_unrecognized != nil { 42939 i -= len(m.XXX_unrecognized) 42940 copy(dAtA[i:], m.XXX_unrecognized) 42941 } 42942 if len(m.AWS) > 0 { 42943 for iNdEx := len(m.AWS) - 1; iNdEx >= 0; iNdEx-- { 42944 { 42945 size, err := m.AWS[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 42946 if err != nil { 42947 return 0, err 42948 } 42949 i -= size 42950 i = encodeVarintTypes(dAtA, i, uint64(size)) 42951 } 42952 i-- 42953 dAtA[i] = 0xa 42954 } 42955 } 42956 return len(dAtA) - i, nil 42957 } 42958 42959 func (m *AccessGraphAWSSync) Marshal() (dAtA []byte, err error) { 42960 size := m.Size() 42961 dAtA = make([]byte, size) 42962 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 42963 if err != nil { 42964 return nil, err 42965 } 42966 return dAtA[:n], nil 42967 } 42968 42969 func (m *AccessGraphAWSSync) MarshalTo(dAtA []byte) (int, error) { 42970 size := m.Size() 42971 return m.MarshalToSizedBuffer(dAtA[:size]) 42972 } 42973 42974 func (m *AccessGraphAWSSync) MarshalToSizedBuffer(dAtA []byte) (int, error) { 42975 i := len(dAtA) 42976 _ = i 42977 var l int 42978 _ = l 42979 if m.XXX_unrecognized != nil { 42980 i -= len(m.XXX_unrecognized) 42981 copy(dAtA[i:], m.XXX_unrecognized) 42982 } 42983 if len(m.Integration) > 0 { 42984 i -= len(m.Integration) 42985 copy(dAtA[i:], m.Integration) 42986 i = encodeVarintTypes(dAtA, i, uint64(len(m.Integration))) 42987 i-- 42988 dAtA[i] = 0x22 42989 } 42990 if m.AssumeRole != nil { 42991 { 42992 size, err := m.AssumeRole.MarshalToSizedBuffer(dAtA[:i]) 42993 if err != nil { 42994 return 0, err 42995 } 42996 i -= size 42997 i = encodeVarintTypes(dAtA, i, uint64(size)) 42998 } 42999 i-- 43000 dAtA[i] = 0x1a 43001 } 43002 if len(m.Regions) > 0 { 43003 for iNdEx := len(m.Regions) - 1; iNdEx >= 0; iNdEx-- { 43004 i -= len(m.Regions[iNdEx]) 43005 copy(dAtA[i:], m.Regions[iNdEx]) 43006 i = encodeVarintTypes(dAtA, i, uint64(len(m.Regions[iNdEx]))) 43007 i-- 43008 dAtA[i] = 0xa 43009 } 43010 } 43011 return len(dAtA) - i, nil 43012 } 43013 43014 func encodeVarintTypes(dAtA []byte, offset int, v uint64) int { 43015 offset -= sovTypes(v) 43016 base := offset 43017 for v >= 1<<7 { 43018 dAtA[offset] = uint8(v&0x7f | 0x80) 43019 v >>= 7 43020 offset++ 43021 } 43022 dAtA[offset] = uint8(v) 43023 return base 43024 } 43025 func (m *KeepAlive) Size() (n int) { 43026 if m == nil { 43027 return 0 43028 } 43029 var l int 43030 _ = l 43031 l = len(m.Name) 43032 if l > 0 { 43033 n += 1 + l + sovTypes(uint64(l)) 43034 } 43035 l = len(m.Namespace) 43036 if l > 0 { 43037 n += 1 + l + sovTypes(uint64(l)) 43038 } 43039 if m.LeaseID != 0 { 43040 n += 1 + sovTypes(uint64(m.LeaseID)) 43041 } 43042 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires) 43043 n += 1 + l + sovTypes(uint64(l)) 43044 if m.Type != 0 { 43045 n += 1 + sovTypes(uint64(m.Type)) 43046 } 43047 l = len(m.HostID) 43048 if l > 0 { 43049 n += 1 + l + sovTypes(uint64(l)) 43050 } 43051 if m.XXX_unrecognized != nil { 43052 n += len(m.XXX_unrecognized) 43053 } 43054 return n 43055 } 43056 43057 func (m *Metadata) Size() (n int) { 43058 if m == nil { 43059 return 0 43060 } 43061 var l int 43062 _ = l 43063 l = len(m.Name) 43064 if l > 0 { 43065 n += 1 + l + sovTypes(uint64(l)) 43066 } 43067 l = len(m.Namespace) 43068 if l > 0 { 43069 n += 1 + l + sovTypes(uint64(l)) 43070 } 43071 l = len(m.Description) 43072 if l > 0 { 43073 n += 1 + l + sovTypes(uint64(l)) 43074 } 43075 if len(m.Labels) > 0 { 43076 for k, v := range m.Labels { 43077 _ = k 43078 _ = v 43079 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v))) 43080 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 43081 } 43082 } 43083 if m.Expires != nil { 43084 l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expires) 43085 n += 1 + l + sovTypes(uint64(l)) 43086 } 43087 if m.ID != 0 { 43088 n += 1 + sovTypes(uint64(m.ID)) 43089 } 43090 l = len(m.Revision) 43091 if l > 0 { 43092 n += 1 + l + sovTypes(uint64(l)) 43093 } 43094 if m.XXX_unrecognized != nil { 43095 n += len(m.XXX_unrecognized) 43096 } 43097 return n 43098 } 43099 43100 func (m *Rotation) Size() (n int) { 43101 if m == nil { 43102 return 0 43103 } 43104 var l int 43105 _ = l 43106 l = len(m.State) 43107 if l > 0 { 43108 n += 1 + l + sovTypes(uint64(l)) 43109 } 43110 l = len(m.Phase) 43111 if l > 0 { 43112 n += 1 + l + sovTypes(uint64(l)) 43113 } 43114 l = len(m.Mode) 43115 if l > 0 { 43116 n += 1 + l + sovTypes(uint64(l)) 43117 } 43118 l = len(m.CurrentID) 43119 if l > 0 { 43120 n += 1 + l + sovTypes(uint64(l)) 43121 } 43122 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Started) 43123 n += 1 + l + sovTypes(uint64(l)) 43124 if m.GracePeriod != 0 { 43125 n += 1 + sovTypes(uint64(m.GracePeriod)) 43126 } 43127 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.LastRotated) 43128 n += 1 + l + sovTypes(uint64(l)) 43129 l = m.Schedule.Size() 43130 n += 1 + l + sovTypes(uint64(l)) 43131 if m.XXX_unrecognized != nil { 43132 n += len(m.XXX_unrecognized) 43133 } 43134 return n 43135 } 43136 43137 func (m *RotationSchedule) Size() (n int) { 43138 if m == nil { 43139 return 0 43140 } 43141 var l int 43142 _ = l 43143 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdateClients) 43144 n += 1 + l + sovTypes(uint64(l)) 43145 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.UpdateServers) 43146 n += 1 + l + sovTypes(uint64(l)) 43147 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Standby) 43148 n += 1 + l + sovTypes(uint64(l)) 43149 if m.XXX_unrecognized != nil { 43150 n += len(m.XXX_unrecognized) 43151 } 43152 return n 43153 } 43154 43155 func (m *ResourceHeader) Size() (n int) { 43156 if m == nil { 43157 return 0 43158 } 43159 var l int 43160 _ = l 43161 l = len(m.Kind) 43162 if l > 0 { 43163 n += 1 + l + sovTypes(uint64(l)) 43164 } 43165 l = len(m.SubKind) 43166 if l > 0 { 43167 n += 1 + l + sovTypes(uint64(l)) 43168 } 43169 l = len(m.Version) 43170 if l > 0 { 43171 n += 1 + l + sovTypes(uint64(l)) 43172 } 43173 l = m.Metadata.Size() 43174 n += 1 + l + sovTypes(uint64(l)) 43175 if m.XXX_unrecognized != nil { 43176 n += len(m.XXX_unrecognized) 43177 } 43178 return n 43179 } 43180 43181 func (m *DatabaseServerV3) Size() (n int) { 43182 if m == nil { 43183 return 0 43184 } 43185 var l int 43186 _ = l 43187 l = len(m.Kind) 43188 if l > 0 { 43189 n += 1 + l + sovTypes(uint64(l)) 43190 } 43191 l = len(m.SubKind) 43192 if l > 0 { 43193 n += 1 + l + sovTypes(uint64(l)) 43194 } 43195 l = len(m.Version) 43196 if l > 0 { 43197 n += 1 + l + sovTypes(uint64(l)) 43198 } 43199 l = m.Metadata.Size() 43200 n += 1 + l + sovTypes(uint64(l)) 43201 l = m.Spec.Size() 43202 n += 1 + l + sovTypes(uint64(l)) 43203 if m.XXX_unrecognized != nil { 43204 n += len(m.XXX_unrecognized) 43205 } 43206 return n 43207 } 43208 43209 func (m *DatabaseServerSpecV3) Size() (n int) { 43210 if m == nil { 43211 return 0 43212 } 43213 var l int 43214 _ = l 43215 l = len(m.Version) 43216 if l > 0 { 43217 n += 1 + l + sovTypes(uint64(l)) 43218 } 43219 l = len(m.Hostname) 43220 if l > 0 { 43221 n += 1 + l + sovTypes(uint64(l)) 43222 } 43223 l = len(m.HostID) 43224 if l > 0 { 43225 n += 1 + l + sovTypes(uint64(l)) 43226 } 43227 l = m.Rotation.Size() 43228 n += 1 + l + sovTypes(uint64(l)) 43229 if m.Database != nil { 43230 l = m.Database.Size() 43231 n += 1 + l + sovTypes(uint64(l)) 43232 } 43233 if len(m.ProxyIDs) > 0 { 43234 for _, s := range m.ProxyIDs { 43235 l = len(s) 43236 n += 1 + l + sovTypes(uint64(l)) 43237 } 43238 } 43239 if m.XXX_unrecognized != nil { 43240 n += len(m.XXX_unrecognized) 43241 } 43242 return n 43243 } 43244 43245 func (m *DatabaseV3List) Size() (n int) { 43246 if m == nil { 43247 return 0 43248 } 43249 var l int 43250 _ = l 43251 if len(m.Databases) > 0 { 43252 for _, e := range m.Databases { 43253 l = e.Size() 43254 n += 1 + l + sovTypes(uint64(l)) 43255 } 43256 } 43257 if m.XXX_unrecognized != nil { 43258 n += len(m.XXX_unrecognized) 43259 } 43260 return n 43261 } 43262 43263 func (m *DatabaseV3) Size() (n int) { 43264 if m == nil { 43265 return 0 43266 } 43267 var l int 43268 _ = l 43269 l = len(m.Kind) 43270 if l > 0 { 43271 n += 1 + l + sovTypes(uint64(l)) 43272 } 43273 l = len(m.SubKind) 43274 if l > 0 { 43275 n += 1 + l + sovTypes(uint64(l)) 43276 } 43277 l = len(m.Version) 43278 if l > 0 { 43279 n += 1 + l + sovTypes(uint64(l)) 43280 } 43281 l = m.Metadata.Size() 43282 n += 1 + l + sovTypes(uint64(l)) 43283 l = m.Spec.Size() 43284 n += 1 + l + sovTypes(uint64(l)) 43285 l = m.Status.Size() 43286 n += 1 + l + sovTypes(uint64(l)) 43287 if m.XXX_unrecognized != nil { 43288 n += len(m.XXX_unrecognized) 43289 } 43290 return n 43291 } 43292 43293 func (m *DatabaseSpecV3) Size() (n int) { 43294 if m == nil { 43295 return 0 43296 } 43297 var l int 43298 _ = l 43299 l = len(m.Protocol) 43300 if l > 0 { 43301 n += 1 + l + sovTypes(uint64(l)) 43302 } 43303 l = len(m.URI) 43304 if l > 0 { 43305 n += 1 + l + sovTypes(uint64(l)) 43306 } 43307 l = len(m.CACert) 43308 if l > 0 { 43309 n += 1 + l + sovTypes(uint64(l)) 43310 } 43311 if len(m.DynamicLabels) > 0 { 43312 for k, v := range m.DynamicLabels { 43313 _ = k 43314 _ = v 43315 l = v.Size() 43316 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + l + sovTypes(uint64(l)) 43317 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 43318 } 43319 } 43320 l = m.AWS.Size() 43321 n += 1 + l + sovTypes(uint64(l)) 43322 l = m.GCP.Size() 43323 n += 1 + l + sovTypes(uint64(l)) 43324 l = m.Azure.Size() 43325 n += 1 + l + sovTypes(uint64(l)) 43326 l = m.TLS.Size() 43327 n += 1 + l + sovTypes(uint64(l)) 43328 l = m.AD.Size() 43329 n += 1 + l + sovTypes(uint64(l)) 43330 l = m.MySQL.Size() 43331 n += 1 + l + sovTypes(uint64(l)) 43332 if m.AdminUser != nil { 43333 l = m.AdminUser.Size() 43334 n += 1 + l + sovTypes(uint64(l)) 43335 } 43336 l = m.MongoAtlas.Size() 43337 n += 1 + l + sovTypes(uint64(l)) 43338 l = m.Oracle.Size() 43339 n += 1 + l + sovTypes(uint64(l)) 43340 if m.XXX_unrecognized != nil { 43341 n += len(m.XXX_unrecognized) 43342 } 43343 return n 43344 } 43345 43346 func (m *DatabaseAdminUser) Size() (n int) { 43347 if m == nil { 43348 return 0 43349 } 43350 var l int 43351 _ = l 43352 l = len(m.Name) 43353 if l > 0 { 43354 n += 1 + l + sovTypes(uint64(l)) 43355 } 43356 l = len(m.DefaultDatabase) 43357 if l > 0 { 43358 n += 1 + l + sovTypes(uint64(l)) 43359 } 43360 if m.XXX_unrecognized != nil { 43361 n += len(m.XXX_unrecognized) 43362 } 43363 return n 43364 } 43365 43366 func (m *OracleOptions) Size() (n int) { 43367 if m == nil { 43368 return 0 43369 } 43370 var l int 43371 _ = l 43372 l = len(m.AuditUser) 43373 if l > 0 { 43374 n += 1 + l + sovTypes(uint64(l)) 43375 } 43376 if m.XXX_unrecognized != nil { 43377 n += len(m.XXX_unrecognized) 43378 } 43379 return n 43380 } 43381 43382 func (m *DatabaseStatusV3) Size() (n int) { 43383 if m == nil { 43384 return 0 43385 } 43386 var l int 43387 _ = l 43388 l = len(m.CACert) 43389 if l > 0 { 43390 n += 1 + l + sovTypes(uint64(l)) 43391 } 43392 l = m.AWS.Size() 43393 n += 1 + l + sovTypes(uint64(l)) 43394 l = m.MySQL.Size() 43395 n += 1 + l + sovTypes(uint64(l)) 43396 if len(m.ManagedUsers) > 0 { 43397 for _, s := range m.ManagedUsers { 43398 l = len(s) 43399 n += 1 + l + sovTypes(uint64(l)) 43400 } 43401 } 43402 l = m.Azure.Size() 43403 n += 1 + l + sovTypes(uint64(l)) 43404 if m.XXX_unrecognized != nil { 43405 n += len(m.XXX_unrecognized) 43406 } 43407 return n 43408 } 43409 43410 func (m *AWS) Size() (n int) { 43411 if m == nil { 43412 return 0 43413 } 43414 var l int 43415 _ = l 43416 l = len(m.Region) 43417 if l > 0 { 43418 n += 1 + l + sovTypes(uint64(l)) 43419 } 43420 l = m.Redshift.Size() 43421 n += 1 + l + sovTypes(uint64(l)) 43422 l = m.RDS.Size() 43423 n += 1 + l + sovTypes(uint64(l)) 43424 l = len(m.AccountID) 43425 if l > 0 { 43426 n += 1 + l + sovTypes(uint64(l)) 43427 } 43428 l = m.ElastiCache.Size() 43429 n += 1 + l + sovTypes(uint64(l)) 43430 l = m.SecretStore.Size() 43431 n += 1 + l + sovTypes(uint64(l)) 43432 l = m.MemoryDB.Size() 43433 n += 1 + l + sovTypes(uint64(l)) 43434 l = m.RDSProxy.Size() 43435 n += 1 + l + sovTypes(uint64(l)) 43436 l = m.RedshiftServerless.Size() 43437 n += 1 + l + sovTypes(uint64(l)) 43438 l = len(m.ExternalID) 43439 if l > 0 { 43440 n += 1 + l + sovTypes(uint64(l)) 43441 } 43442 l = len(m.AssumeRoleARN) 43443 if l > 0 { 43444 n += 1 + l + sovTypes(uint64(l)) 43445 } 43446 l = m.OpenSearch.Size() 43447 n += 1 + l + sovTypes(uint64(l)) 43448 if m.IAMPolicyStatus != 0 { 43449 n += 1 + sovTypes(uint64(m.IAMPolicyStatus)) 43450 } 43451 if len(m.SessionTags) > 0 { 43452 for k, v := range m.SessionTags { 43453 _ = k 43454 _ = v 43455 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v))) 43456 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 43457 } 43458 } 43459 if m.XXX_unrecognized != nil { 43460 n += len(m.XXX_unrecognized) 43461 } 43462 return n 43463 } 43464 43465 func (m *SecretStore) Size() (n int) { 43466 if m == nil { 43467 return 0 43468 } 43469 var l int 43470 _ = l 43471 l = len(m.KeyPrefix) 43472 if l > 0 { 43473 n += 1 + l + sovTypes(uint64(l)) 43474 } 43475 l = len(m.KMSKeyID) 43476 if l > 0 { 43477 n += 1 + l + sovTypes(uint64(l)) 43478 } 43479 if m.XXX_unrecognized != nil { 43480 n += len(m.XXX_unrecognized) 43481 } 43482 return n 43483 } 43484 43485 func (m *Redshift) Size() (n int) { 43486 if m == nil { 43487 return 0 43488 } 43489 var l int 43490 _ = l 43491 l = len(m.ClusterID) 43492 if l > 0 { 43493 n += 1 + l + sovTypes(uint64(l)) 43494 } 43495 if m.XXX_unrecognized != nil { 43496 n += len(m.XXX_unrecognized) 43497 } 43498 return n 43499 } 43500 43501 func (m *RDS) Size() (n int) { 43502 if m == nil { 43503 return 0 43504 } 43505 var l int 43506 _ = l 43507 l = len(m.InstanceID) 43508 if l > 0 { 43509 n += 1 + l + sovTypes(uint64(l)) 43510 } 43511 l = len(m.ClusterID) 43512 if l > 0 { 43513 n += 1 + l + sovTypes(uint64(l)) 43514 } 43515 l = len(m.ResourceID) 43516 if l > 0 { 43517 n += 1 + l + sovTypes(uint64(l)) 43518 } 43519 if m.IAMAuth { 43520 n += 2 43521 } 43522 if len(m.Subnets) > 0 { 43523 for _, s := range m.Subnets { 43524 l = len(s) 43525 n += 1 + l + sovTypes(uint64(l)) 43526 } 43527 } 43528 l = len(m.VPCID) 43529 if l > 0 { 43530 n += 1 + l + sovTypes(uint64(l)) 43531 } 43532 if m.XXX_unrecognized != nil { 43533 n += len(m.XXX_unrecognized) 43534 } 43535 return n 43536 } 43537 43538 func (m *RDSProxy) Size() (n int) { 43539 if m == nil { 43540 return 0 43541 } 43542 var l int 43543 _ = l 43544 l = len(m.Name) 43545 if l > 0 { 43546 n += 1 + l + sovTypes(uint64(l)) 43547 } 43548 l = len(m.CustomEndpointName) 43549 if l > 0 { 43550 n += 1 + l + sovTypes(uint64(l)) 43551 } 43552 l = len(m.ResourceID) 43553 if l > 0 { 43554 n += 1 + l + sovTypes(uint64(l)) 43555 } 43556 if m.XXX_unrecognized != nil { 43557 n += len(m.XXX_unrecognized) 43558 } 43559 return n 43560 } 43561 43562 func (m *ElastiCache) Size() (n int) { 43563 if m == nil { 43564 return 0 43565 } 43566 var l int 43567 _ = l 43568 l = len(m.ReplicationGroupID) 43569 if l > 0 { 43570 n += 1 + l + sovTypes(uint64(l)) 43571 } 43572 if len(m.UserGroupIDs) > 0 { 43573 for _, s := range m.UserGroupIDs { 43574 l = len(s) 43575 n += 1 + l + sovTypes(uint64(l)) 43576 } 43577 } 43578 if m.TransitEncryptionEnabled { 43579 n += 2 43580 } 43581 l = len(m.EndpointType) 43582 if l > 0 { 43583 n += 1 + l + sovTypes(uint64(l)) 43584 } 43585 if m.XXX_unrecognized != nil { 43586 n += len(m.XXX_unrecognized) 43587 } 43588 return n 43589 } 43590 43591 func (m *MemoryDB) Size() (n int) { 43592 if m == nil { 43593 return 0 43594 } 43595 var l int 43596 _ = l 43597 l = len(m.ClusterName) 43598 if l > 0 { 43599 n += 1 + l + sovTypes(uint64(l)) 43600 } 43601 l = len(m.ACLName) 43602 if l > 0 { 43603 n += 1 + l + sovTypes(uint64(l)) 43604 } 43605 if m.TLSEnabled { 43606 n += 2 43607 } 43608 l = len(m.EndpointType) 43609 if l > 0 { 43610 n += 1 + l + sovTypes(uint64(l)) 43611 } 43612 if m.XXX_unrecognized != nil { 43613 n += len(m.XXX_unrecognized) 43614 } 43615 return n 43616 } 43617 43618 func (m *RedshiftServerless) Size() (n int) { 43619 if m == nil { 43620 return 0 43621 } 43622 var l int 43623 _ = l 43624 l = len(m.WorkgroupName) 43625 if l > 0 { 43626 n += 1 + l + sovTypes(uint64(l)) 43627 } 43628 l = len(m.EndpointName) 43629 if l > 0 { 43630 n += 1 + l + sovTypes(uint64(l)) 43631 } 43632 l = len(m.WorkgroupID) 43633 if l > 0 { 43634 n += 1 + l + sovTypes(uint64(l)) 43635 } 43636 if m.XXX_unrecognized != nil { 43637 n += len(m.XXX_unrecognized) 43638 } 43639 return n 43640 } 43641 43642 func (m *OpenSearch) Size() (n int) { 43643 if m == nil { 43644 return 0 43645 } 43646 var l int 43647 _ = l 43648 l = len(m.DomainName) 43649 if l > 0 { 43650 n += 1 + l + sovTypes(uint64(l)) 43651 } 43652 l = len(m.DomainID) 43653 if l > 0 { 43654 n += 1 + l + sovTypes(uint64(l)) 43655 } 43656 l = len(m.EndpointType) 43657 if l > 0 { 43658 n += 1 + l + sovTypes(uint64(l)) 43659 } 43660 if m.XXX_unrecognized != nil { 43661 n += len(m.XXX_unrecognized) 43662 } 43663 return n 43664 } 43665 43666 func (m *GCPCloudSQL) Size() (n int) { 43667 if m == nil { 43668 return 0 43669 } 43670 var l int 43671 _ = l 43672 l = len(m.ProjectID) 43673 if l > 0 { 43674 n += 1 + l + sovTypes(uint64(l)) 43675 } 43676 l = len(m.InstanceID) 43677 if l > 0 { 43678 n += 1 + l + sovTypes(uint64(l)) 43679 } 43680 if m.XXX_unrecognized != nil { 43681 n += len(m.XXX_unrecognized) 43682 } 43683 return n 43684 } 43685 43686 func (m *Azure) Size() (n int) { 43687 if m == nil { 43688 return 0 43689 } 43690 var l int 43691 _ = l 43692 l = len(m.Name) 43693 if l > 0 { 43694 n += 1 + l + sovTypes(uint64(l)) 43695 } 43696 l = len(m.ResourceID) 43697 if l > 0 { 43698 n += 1 + l + sovTypes(uint64(l)) 43699 } 43700 l = m.Redis.Size() 43701 n += 1 + l + sovTypes(uint64(l)) 43702 if m.IsFlexiServer { 43703 n += 2 43704 } 43705 if m.XXX_unrecognized != nil { 43706 n += len(m.XXX_unrecognized) 43707 } 43708 return n 43709 } 43710 43711 func (m *AzureRedis) Size() (n int) { 43712 if m == nil { 43713 return 0 43714 } 43715 var l int 43716 _ = l 43717 l = len(m.ClusteringPolicy) 43718 if l > 0 { 43719 n += 1 + l + sovTypes(uint64(l)) 43720 } 43721 if m.XXX_unrecognized != nil { 43722 n += len(m.XXX_unrecognized) 43723 } 43724 return n 43725 } 43726 43727 func (m *AD) Size() (n int) { 43728 if m == nil { 43729 return 0 43730 } 43731 var l int 43732 _ = l 43733 l = len(m.KeytabFile) 43734 if l > 0 { 43735 n += 1 + l + sovTypes(uint64(l)) 43736 } 43737 l = len(m.Krb5File) 43738 if l > 0 { 43739 n += 1 + l + sovTypes(uint64(l)) 43740 } 43741 l = len(m.Domain) 43742 if l > 0 { 43743 n += 1 + l + sovTypes(uint64(l)) 43744 } 43745 l = len(m.SPN) 43746 if l > 0 { 43747 n += 1 + l + sovTypes(uint64(l)) 43748 } 43749 l = len(m.LDAPCert) 43750 if l > 0 { 43751 n += 1 + l + sovTypes(uint64(l)) 43752 } 43753 l = len(m.KDCHostName) 43754 if l > 0 { 43755 n += 1 + l + sovTypes(uint64(l)) 43756 } 43757 if m.XXX_unrecognized != nil { 43758 n += len(m.XXX_unrecognized) 43759 } 43760 return n 43761 } 43762 43763 func (m *DatabaseTLS) Size() (n int) { 43764 if m == nil { 43765 return 0 43766 } 43767 var l int 43768 _ = l 43769 if m.Mode != 0 { 43770 n += 1 + sovTypes(uint64(m.Mode)) 43771 } 43772 l = len(m.CACert) 43773 if l > 0 { 43774 n += 1 + l + sovTypes(uint64(l)) 43775 } 43776 l = len(m.ServerName) 43777 if l > 0 { 43778 n += 1 + l + sovTypes(uint64(l)) 43779 } 43780 if m.XXX_unrecognized != nil { 43781 n += len(m.XXX_unrecognized) 43782 } 43783 return n 43784 } 43785 43786 func (m *MySQLOptions) Size() (n int) { 43787 if m == nil { 43788 return 0 43789 } 43790 var l int 43791 _ = l 43792 l = len(m.ServerVersion) 43793 if l > 0 { 43794 n += 1 + l + sovTypes(uint64(l)) 43795 } 43796 if m.XXX_unrecognized != nil { 43797 n += len(m.XXX_unrecognized) 43798 } 43799 return n 43800 } 43801 43802 func (m *MongoAtlas) Size() (n int) { 43803 if m == nil { 43804 return 0 43805 } 43806 var l int 43807 _ = l 43808 l = len(m.Name) 43809 if l > 0 { 43810 n += 1 + l + sovTypes(uint64(l)) 43811 } 43812 if m.XXX_unrecognized != nil { 43813 n += len(m.XXX_unrecognized) 43814 } 43815 return n 43816 } 43817 43818 func (m *InstanceV1) Size() (n int) { 43819 if m == nil { 43820 return 0 43821 } 43822 var l int 43823 _ = l 43824 l = m.ResourceHeader.Size() 43825 n += 1 + l + sovTypes(uint64(l)) 43826 l = m.Spec.Size() 43827 n += 1 + l + sovTypes(uint64(l)) 43828 if m.XXX_unrecognized != nil { 43829 n += len(m.XXX_unrecognized) 43830 } 43831 return n 43832 } 43833 43834 func (m *InstanceSpecV1) Size() (n int) { 43835 if m == nil { 43836 return 0 43837 } 43838 var l int 43839 _ = l 43840 l = len(m.Version) 43841 if l > 0 { 43842 n += 1 + l + sovTypes(uint64(l)) 43843 } 43844 if len(m.Services) > 0 { 43845 for _, s := range m.Services { 43846 l = len(s) 43847 n += 1 + l + sovTypes(uint64(l)) 43848 } 43849 } 43850 l = len(m.Hostname) 43851 if l > 0 { 43852 n += 1 + l + sovTypes(uint64(l)) 43853 } 43854 l = len(m.AuthID) 43855 if l > 0 { 43856 n += 1 + l + sovTypes(uint64(l)) 43857 } 43858 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.LastSeen) 43859 n += 1 + l + sovTypes(uint64(l)) 43860 if len(m.ControlLog) > 0 { 43861 for _, e := range m.ControlLog { 43862 l = e.Size() 43863 n += 1 + l + sovTypes(uint64(l)) 43864 } 43865 } 43866 l = len(m.ExternalUpgrader) 43867 if l > 0 { 43868 n += 1 + l + sovTypes(uint64(l)) 43869 } 43870 l = len(m.ExternalUpgraderVersion) 43871 if l > 0 { 43872 n += 1 + l + sovTypes(uint64(l)) 43873 } 43874 if m.XXX_unrecognized != nil { 43875 n += len(m.XXX_unrecognized) 43876 } 43877 return n 43878 } 43879 43880 func (m *InstanceControlLogEntry) Size() (n int) { 43881 if m == nil { 43882 return 0 43883 } 43884 var l int 43885 _ = l 43886 l = len(m.Type) 43887 if l > 0 { 43888 n += 1 + l + sovTypes(uint64(l)) 43889 } 43890 if m.ID != 0 { 43891 n += 1 + sovTypes(uint64(m.ID)) 43892 } 43893 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Time) 43894 n += 1 + l + sovTypes(uint64(l)) 43895 if m.TTL != 0 { 43896 n += 1 + sovTypes(uint64(m.TTL)) 43897 } 43898 if len(m.Labels) > 0 { 43899 for k, v := range m.Labels { 43900 _ = k 43901 _ = v 43902 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v))) 43903 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 43904 } 43905 } 43906 if m.XXX_unrecognized != nil { 43907 n += len(m.XXX_unrecognized) 43908 } 43909 return n 43910 } 43911 43912 func (m *InstanceFilter) Size() (n int) { 43913 if m == nil { 43914 return 0 43915 } 43916 var l int 43917 _ = l 43918 l = len(m.ServerID) 43919 if l > 0 { 43920 n += 1 + l + sovTypes(uint64(l)) 43921 } 43922 l = len(m.Version) 43923 if l > 0 { 43924 n += 1 + l + sovTypes(uint64(l)) 43925 } 43926 if len(m.Services) > 0 { 43927 for _, s := range m.Services { 43928 l = len(s) 43929 n += 1 + l + sovTypes(uint64(l)) 43930 } 43931 } 43932 l = len(m.ExternalUpgrader) 43933 if l > 0 { 43934 n += 1 + l + sovTypes(uint64(l)) 43935 } 43936 if m.NoExtUpgrader { 43937 n += 2 43938 } 43939 l = len(m.OlderThanVersion) 43940 if l > 0 { 43941 n += 1 + l + sovTypes(uint64(l)) 43942 } 43943 l = len(m.NewerThanVersion) 43944 if l > 0 { 43945 n += 1 + l + sovTypes(uint64(l)) 43946 } 43947 if m.XXX_unrecognized != nil { 43948 n += len(m.XXX_unrecognized) 43949 } 43950 return n 43951 } 43952 43953 func (m *ServerV2) Size() (n int) { 43954 if m == nil { 43955 return 0 43956 } 43957 var l int 43958 _ = l 43959 l = len(m.Kind) 43960 if l > 0 { 43961 n += 1 + l + sovTypes(uint64(l)) 43962 } 43963 l = len(m.SubKind) 43964 if l > 0 { 43965 n += 1 + l + sovTypes(uint64(l)) 43966 } 43967 l = len(m.Version) 43968 if l > 0 { 43969 n += 1 + l + sovTypes(uint64(l)) 43970 } 43971 l = m.Metadata.Size() 43972 n += 1 + l + sovTypes(uint64(l)) 43973 l = m.Spec.Size() 43974 n += 1 + l + sovTypes(uint64(l)) 43975 if m.XXX_unrecognized != nil { 43976 n += len(m.XXX_unrecognized) 43977 } 43978 return n 43979 } 43980 43981 func (m *ServerSpecV2) Size() (n int) { 43982 if m == nil { 43983 return 0 43984 } 43985 var l int 43986 _ = l 43987 l = len(m.Addr) 43988 if l > 0 { 43989 n += 1 + l + sovTypes(uint64(l)) 43990 } 43991 l = len(m.Hostname) 43992 if l > 0 { 43993 n += 1 + l + sovTypes(uint64(l)) 43994 } 43995 if len(m.CmdLabels) > 0 { 43996 for k, v := range m.CmdLabels { 43997 _ = k 43998 _ = v 43999 l = v.Size() 44000 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + l + sovTypes(uint64(l)) 44001 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 44002 } 44003 } 44004 l = m.Rotation.Size() 44005 n += 1 + l + sovTypes(uint64(l)) 44006 if m.UseTunnel { 44007 n += 2 44008 } 44009 l = len(m.Version) 44010 if l > 0 { 44011 n += 1 + l + sovTypes(uint64(l)) 44012 } 44013 l = len(m.PeerAddr) 44014 if l > 0 { 44015 n += 1 + l + sovTypes(uint64(l)) 44016 } 44017 if len(m.ProxyIDs) > 0 { 44018 for _, s := range m.ProxyIDs { 44019 l = len(s) 44020 n += 1 + l + sovTypes(uint64(l)) 44021 } 44022 } 44023 if len(m.PublicAddrs) > 0 { 44024 for _, s := range m.PublicAddrs { 44025 l = len(s) 44026 n += 1 + l + sovTypes(uint64(l)) 44027 } 44028 } 44029 if m.CloudMetadata != nil { 44030 l = m.CloudMetadata.Size() 44031 n += 1 + l + sovTypes(uint64(l)) 44032 } 44033 if m.XXX_unrecognized != nil { 44034 n += len(m.XXX_unrecognized) 44035 } 44036 return n 44037 } 44038 44039 func (m *AWSInfo) Size() (n int) { 44040 if m == nil { 44041 return 0 44042 } 44043 var l int 44044 _ = l 44045 l = len(m.AccountID) 44046 if l > 0 { 44047 n += 1 + l + sovTypes(uint64(l)) 44048 } 44049 l = len(m.InstanceID) 44050 if l > 0 { 44051 n += 1 + l + sovTypes(uint64(l)) 44052 } 44053 l = len(m.Region) 44054 if l > 0 { 44055 n += 1 + l + sovTypes(uint64(l)) 44056 } 44057 l = len(m.VPCID) 44058 if l > 0 { 44059 n += 1 + l + sovTypes(uint64(l)) 44060 } 44061 l = len(m.Integration) 44062 if l > 0 { 44063 n += 1 + l + sovTypes(uint64(l)) 44064 } 44065 l = len(m.SubnetID) 44066 if l > 0 { 44067 n += 1 + l + sovTypes(uint64(l)) 44068 } 44069 if m.XXX_unrecognized != nil { 44070 n += len(m.XXX_unrecognized) 44071 } 44072 return n 44073 } 44074 44075 func (m *CloudMetadata) Size() (n int) { 44076 if m == nil { 44077 return 0 44078 } 44079 var l int 44080 _ = l 44081 if m.AWS != nil { 44082 l = m.AWS.Size() 44083 n += 1 + l + sovTypes(uint64(l)) 44084 } 44085 if m.XXX_unrecognized != nil { 44086 n += len(m.XXX_unrecognized) 44087 } 44088 return n 44089 } 44090 44091 func (m *AppServerV3) Size() (n int) { 44092 if m == nil { 44093 return 0 44094 } 44095 var l int 44096 _ = l 44097 l = len(m.Kind) 44098 if l > 0 { 44099 n += 1 + l + sovTypes(uint64(l)) 44100 } 44101 l = len(m.SubKind) 44102 if l > 0 { 44103 n += 1 + l + sovTypes(uint64(l)) 44104 } 44105 l = len(m.Version) 44106 if l > 0 { 44107 n += 1 + l + sovTypes(uint64(l)) 44108 } 44109 l = m.Metadata.Size() 44110 n += 1 + l + sovTypes(uint64(l)) 44111 l = m.Spec.Size() 44112 n += 1 + l + sovTypes(uint64(l)) 44113 if m.XXX_unrecognized != nil { 44114 n += len(m.XXX_unrecognized) 44115 } 44116 return n 44117 } 44118 44119 func (m *AppServerSpecV3) Size() (n int) { 44120 if m == nil { 44121 return 0 44122 } 44123 var l int 44124 _ = l 44125 l = len(m.Version) 44126 if l > 0 { 44127 n += 1 + l + sovTypes(uint64(l)) 44128 } 44129 l = len(m.Hostname) 44130 if l > 0 { 44131 n += 1 + l + sovTypes(uint64(l)) 44132 } 44133 l = len(m.HostID) 44134 if l > 0 { 44135 n += 1 + l + sovTypes(uint64(l)) 44136 } 44137 l = m.Rotation.Size() 44138 n += 1 + l + sovTypes(uint64(l)) 44139 if m.App != nil { 44140 l = m.App.Size() 44141 n += 1 + l + sovTypes(uint64(l)) 44142 } 44143 if len(m.ProxyIDs) > 0 { 44144 for _, s := range m.ProxyIDs { 44145 l = len(s) 44146 n += 1 + l + sovTypes(uint64(l)) 44147 } 44148 } 44149 if m.XXX_unrecognized != nil { 44150 n += len(m.XXX_unrecognized) 44151 } 44152 return n 44153 } 44154 44155 func (m *AppV3List) Size() (n int) { 44156 if m == nil { 44157 return 0 44158 } 44159 var l int 44160 _ = l 44161 if len(m.Apps) > 0 { 44162 for _, e := range m.Apps { 44163 l = e.Size() 44164 n += 1 + l + sovTypes(uint64(l)) 44165 } 44166 } 44167 if m.XXX_unrecognized != nil { 44168 n += len(m.XXX_unrecognized) 44169 } 44170 return n 44171 } 44172 44173 func (m *AppV3) Size() (n int) { 44174 if m == nil { 44175 return 0 44176 } 44177 var l int 44178 _ = l 44179 l = len(m.Kind) 44180 if l > 0 { 44181 n += 1 + l + sovTypes(uint64(l)) 44182 } 44183 l = len(m.SubKind) 44184 if l > 0 { 44185 n += 1 + l + sovTypes(uint64(l)) 44186 } 44187 l = len(m.Version) 44188 if l > 0 { 44189 n += 1 + l + sovTypes(uint64(l)) 44190 } 44191 l = m.Metadata.Size() 44192 n += 1 + l + sovTypes(uint64(l)) 44193 l = m.Spec.Size() 44194 n += 1 + l + sovTypes(uint64(l)) 44195 if m.XXX_unrecognized != nil { 44196 n += len(m.XXX_unrecognized) 44197 } 44198 return n 44199 } 44200 44201 func (m *AppSpecV3) Size() (n int) { 44202 if m == nil { 44203 return 0 44204 } 44205 var l int 44206 _ = l 44207 l = len(m.URI) 44208 if l > 0 { 44209 n += 1 + l + sovTypes(uint64(l)) 44210 } 44211 l = len(m.PublicAddr) 44212 if l > 0 { 44213 n += 1 + l + sovTypes(uint64(l)) 44214 } 44215 if len(m.DynamicLabels) > 0 { 44216 for k, v := range m.DynamicLabels { 44217 _ = k 44218 _ = v 44219 l = v.Size() 44220 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + l + sovTypes(uint64(l)) 44221 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 44222 } 44223 } 44224 if m.InsecureSkipVerify { 44225 n += 2 44226 } 44227 if m.Rewrite != nil { 44228 l = m.Rewrite.Size() 44229 n += 1 + l + sovTypes(uint64(l)) 44230 } 44231 if m.AWS != nil { 44232 l = m.AWS.Size() 44233 n += 1 + l + sovTypes(uint64(l)) 44234 } 44235 l = len(m.Cloud) 44236 if l > 0 { 44237 n += 1 + l + sovTypes(uint64(l)) 44238 } 44239 if len(m.UserGroups) > 0 { 44240 for _, s := range m.UserGroups { 44241 l = len(s) 44242 n += 1 + l + sovTypes(uint64(l)) 44243 } 44244 } 44245 l = len(m.Integration) 44246 if l > 0 { 44247 n += 1 + l + sovTypes(uint64(l)) 44248 } 44249 if m.XXX_unrecognized != nil { 44250 n += len(m.XXX_unrecognized) 44251 } 44252 return n 44253 } 44254 44255 func (m *AppServerOrSAMLIdPServiceProviderV1) Size() (n int) { 44256 if m == nil { 44257 return 0 44258 } 44259 var l int 44260 _ = l 44261 l = len(m.Kind) 44262 if l > 0 { 44263 n += 1 + l + sovTypes(uint64(l)) 44264 } 44265 if m.Resource != nil { 44266 n += m.Resource.Size() 44267 } 44268 if m.XXX_unrecognized != nil { 44269 n += len(m.XXX_unrecognized) 44270 } 44271 return n 44272 } 44273 44274 func (m *AppServerOrSAMLIdPServiceProviderV1_AppServer) Size() (n int) { 44275 if m == nil { 44276 return 0 44277 } 44278 var l int 44279 _ = l 44280 if m.AppServer != nil { 44281 l = m.AppServer.Size() 44282 n += 1 + l + sovTypes(uint64(l)) 44283 } 44284 return n 44285 } 44286 func (m *AppServerOrSAMLIdPServiceProviderV1_SAMLIdPServiceProvider) Size() (n int) { 44287 if m == nil { 44288 return 0 44289 } 44290 var l int 44291 _ = l 44292 if m.SAMLIdPServiceProvider != nil { 44293 l = m.SAMLIdPServiceProvider.Size() 44294 n += 1 + l + sovTypes(uint64(l)) 44295 } 44296 return n 44297 } 44298 func (m *Rewrite) Size() (n int) { 44299 if m == nil { 44300 return 0 44301 } 44302 var l int 44303 _ = l 44304 if len(m.Redirect) > 0 { 44305 for _, s := range m.Redirect { 44306 l = len(s) 44307 n += 1 + l + sovTypes(uint64(l)) 44308 } 44309 } 44310 if len(m.Headers) > 0 { 44311 for _, e := range m.Headers { 44312 l = e.Size() 44313 n += 1 + l + sovTypes(uint64(l)) 44314 } 44315 } 44316 l = len(m.JWTClaims) 44317 if l > 0 { 44318 n += 1 + l + sovTypes(uint64(l)) 44319 } 44320 if m.XXX_unrecognized != nil { 44321 n += len(m.XXX_unrecognized) 44322 } 44323 return n 44324 } 44325 44326 func (m *Header) Size() (n int) { 44327 if m == nil { 44328 return 0 44329 } 44330 var l int 44331 _ = l 44332 l = len(m.Name) 44333 if l > 0 { 44334 n += 1 + l + sovTypes(uint64(l)) 44335 } 44336 l = len(m.Value) 44337 if l > 0 { 44338 n += 1 + l + sovTypes(uint64(l)) 44339 } 44340 if m.XXX_unrecognized != nil { 44341 n += len(m.XXX_unrecognized) 44342 } 44343 return n 44344 } 44345 44346 func (m *CommandLabelV2) Size() (n int) { 44347 if m == nil { 44348 return 0 44349 } 44350 var l int 44351 _ = l 44352 if m.Period != 0 { 44353 n += 1 + sovTypes(uint64(m.Period)) 44354 } 44355 if len(m.Command) > 0 { 44356 for _, s := range m.Command { 44357 l = len(s) 44358 n += 1 + l + sovTypes(uint64(l)) 44359 } 44360 } 44361 l = len(m.Result) 44362 if l > 0 { 44363 n += 1 + l + sovTypes(uint64(l)) 44364 } 44365 if m.XXX_unrecognized != nil { 44366 n += len(m.XXX_unrecognized) 44367 } 44368 return n 44369 } 44370 44371 func (m *AppAWS) Size() (n int) { 44372 if m == nil { 44373 return 0 44374 } 44375 var l int 44376 _ = l 44377 l = len(m.ExternalID) 44378 if l > 0 { 44379 n += 1 + l + sovTypes(uint64(l)) 44380 } 44381 if m.XXX_unrecognized != nil { 44382 n += len(m.XXX_unrecognized) 44383 } 44384 return n 44385 } 44386 44387 func (m *SSHKeyPair) Size() (n int) { 44388 if m == nil { 44389 return 0 44390 } 44391 var l int 44392 _ = l 44393 l = len(m.PublicKey) 44394 if l > 0 { 44395 n += 1 + l + sovTypes(uint64(l)) 44396 } 44397 l = len(m.PrivateKey) 44398 if l > 0 { 44399 n += 1 + l + sovTypes(uint64(l)) 44400 } 44401 if m.PrivateKeyType != 0 { 44402 n += 1 + sovTypes(uint64(m.PrivateKeyType)) 44403 } 44404 if m.XXX_unrecognized != nil { 44405 n += len(m.XXX_unrecognized) 44406 } 44407 return n 44408 } 44409 44410 func (m *TLSKeyPair) Size() (n int) { 44411 if m == nil { 44412 return 0 44413 } 44414 var l int 44415 _ = l 44416 l = len(m.Cert) 44417 if l > 0 { 44418 n += 1 + l + sovTypes(uint64(l)) 44419 } 44420 l = len(m.Key) 44421 if l > 0 { 44422 n += 1 + l + sovTypes(uint64(l)) 44423 } 44424 if m.KeyType != 0 { 44425 n += 1 + sovTypes(uint64(m.KeyType)) 44426 } 44427 if m.XXX_unrecognized != nil { 44428 n += len(m.XXX_unrecognized) 44429 } 44430 return n 44431 } 44432 44433 func (m *JWTKeyPair) Size() (n int) { 44434 if m == nil { 44435 return 0 44436 } 44437 var l int 44438 _ = l 44439 l = len(m.PublicKey) 44440 if l > 0 { 44441 n += 1 + l + sovTypes(uint64(l)) 44442 } 44443 l = len(m.PrivateKey) 44444 if l > 0 { 44445 n += 1 + l + sovTypes(uint64(l)) 44446 } 44447 if m.PrivateKeyType != 0 { 44448 n += 1 + sovTypes(uint64(m.PrivateKeyType)) 44449 } 44450 if m.XXX_unrecognized != nil { 44451 n += len(m.XXX_unrecognized) 44452 } 44453 return n 44454 } 44455 44456 func (m *CertAuthorityV2) Size() (n int) { 44457 if m == nil { 44458 return 0 44459 } 44460 var l int 44461 _ = l 44462 l = len(m.Kind) 44463 if l > 0 { 44464 n += 1 + l + sovTypes(uint64(l)) 44465 } 44466 l = len(m.SubKind) 44467 if l > 0 { 44468 n += 1 + l + sovTypes(uint64(l)) 44469 } 44470 l = len(m.Version) 44471 if l > 0 { 44472 n += 1 + l + sovTypes(uint64(l)) 44473 } 44474 l = m.Metadata.Size() 44475 n += 1 + l + sovTypes(uint64(l)) 44476 l = m.Spec.Size() 44477 n += 1 + l + sovTypes(uint64(l)) 44478 if m.XXX_unrecognized != nil { 44479 n += len(m.XXX_unrecognized) 44480 } 44481 return n 44482 } 44483 44484 func (m *CertAuthoritySpecV2) Size() (n int) { 44485 if m == nil { 44486 return 0 44487 } 44488 var l int 44489 _ = l 44490 l = len(m.Type) 44491 if l > 0 { 44492 n += 1 + l + sovTypes(uint64(l)) 44493 } 44494 l = len(m.ClusterName) 44495 if l > 0 { 44496 n += 1 + l + sovTypes(uint64(l)) 44497 } 44498 if len(m.Roles) > 0 { 44499 for _, s := range m.Roles { 44500 l = len(s) 44501 n += 1 + l + sovTypes(uint64(l)) 44502 } 44503 } 44504 if len(m.RoleMap) > 0 { 44505 for _, e := range m.RoleMap { 44506 l = e.Size() 44507 n += 1 + l + sovTypes(uint64(l)) 44508 } 44509 } 44510 if m.Rotation != nil { 44511 l = m.Rotation.Size() 44512 n += 1 + l + sovTypes(uint64(l)) 44513 } 44514 if m.SigningAlg != 0 { 44515 n += 1 + sovTypes(uint64(m.SigningAlg)) 44516 } 44517 l = m.ActiveKeys.Size() 44518 n += 1 + l + sovTypes(uint64(l)) 44519 l = m.AdditionalTrustedKeys.Size() 44520 n += 1 + l + sovTypes(uint64(l)) 44521 if m.XXX_unrecognized != nil { 44522 n += len(m.XXX_unrecognized) 44523 } 44524 return n 44525 } 44526 44527 func (m *CAKeySet) Size() (n int) { 44528 if m == nil { 44529 return 0 44530 } 44531 var l int 44532 _ = l 44533 if len(m.SSH) > 0 { 44534 for _, e := range m.SSH { 44535 l = e.Size() 44536 n += 1 + l + sovTypes(uint64(l)) 44537 } 44538 } 44539 if len(m.TLS) > 0 { 44540 for _, e := range m.TLS { 44541 l = e.Size() 44542 n += 1 + l + sovTypes(uint64(l)) 44543 } 44544 } 44545 if len(m.JWT) > 0 { 44546 for _, e := range m.JWT { 44547 l = e.Size() 44548 n += 1 + l + sovTypes(uint64(l)) 44549 } 44550 } 44551 if m.XXX_unrecognized != nil { 44552 n += len(m.XXX_unrecognized) 44553 } 44554 return n 44555 } 44556 44557 func (m *RoleMapping) Size() (n int) { 44558 if m == nil { 44559 return 0 44560 } 44561 var l int 44562 _ = l 44563 l = len(m.Remote) 44564 if l > 0 { 44565 n += 1 + l + sovTypes(uint64(l)) 44566 } 44567 if len(m.Local) > 0 { 44568 for _, s := range m.Local { 44569 l = len(s) 44570 n += 1 + l + sovTypes(uint64(l)) 44571 } 44572 } 44573 if m.XXX_unrecognized != nil { 44574 n += len(m.XXX_unrecognized) 44575 } 44576 return n 44577 } 44578 44579 func (m *ProvisionTokenV1) Size() (n int) { 44580 if m == nil { 44581 return 0 44582 } 44583 var l int 44584 _ = l 44585 if len(m.Roles) > 0 { 44586 for _, s := range m.Roles { 44587 l = len(s) 44588 n += 1 + l + sovTypes(uint64(l)) 44589 } 44590 } 44591 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires) 44592 n += 1 + l + sovTypes(uint64(l)) 44593 l = len(m.Token) 44594 if l > 0 { 44595 n += 1 + l + sovTypes(uint64(l)) 44596 } 44597 if m.XXX_unrecognized != nil { 44598 n += len(m.XXX_unrecognized) 44599 } 44600 return n 44601 } 44602 44603 func (m *ProvisionTokenV2) Size() (n int) { 44604 if m == nil { 44605 return 0 44606 } 44607 var l int 44608 _ = l 44609 l = len(m.Kind) 44610 if l > 0 { 44611 n += 1 + l + sovTypes(uint64(l)) 44612 } 44613 l = len(m.SubKind) 44614 if l > 0 { 44615 n += 1 + l + sovTypes(uint64(l)) 44616 } 44617 l = len(m.Version) 44618 if l > 0 { 44619 n += 1 + l + sovTypes(uint64(l)) 44620 } 44621 l = m.Metadata.Size() 44622 n += 1 + l + sovTypes(uint64(l)) 44623 l = m.Spec.Size() 44624 n += 1 + l + sovTypes(uint64(l)) 44625 if m.XXX_unrecognized != nil { 44626 n += len(m.XXX_unrecognized) 44627 } 44628 return n 44629 } 44630 44631 func (m *ProvisionTokenV2List) Size() (n int) { 44632 if m == nil { 44633 return 0 44634 } 44635 var l int 44636 _ = l 44637 if len(m.ProvisionTokens) > 0 { 44638 for _, e := range m.ProvisionTokens { 44639 l = e.Size() 44640 n += 1 + l + sovTypes(uint64(l)) 44641 } 44642 } 44643 if m.XXX_unrecognized != nil { 44644 n += len(m.XXX_unrecognized) 44645 } 44646 return n 44647 } 44648 44649 func (m *TokenRule) Size() (n int) { 44650 if m == nil { 44651 return 0 44652 } 44653 var l int 44654 _ = l 44655 l = len(m.AWSAccount) 44656 if l > 0 { 44657 n += 1 + l + sovTypes(uint64(l)) 44658 } 44659 if len(m.AWSRegions) > 0 { 44660 for _, s := range m.AWSRegions { 44661 l = len(s) 44662 n += 1 + l + sovTypes(uint64(l)) 44663 } 44664 } 44665 l = len(m.AWSRole) 44666 if l > 0 { 44667 n += 1 + l + sovTypes(uint64(l)) 44668 } 44669 l = len(m.AWSARN) 44670 if l > 0 { 44671 n += 1 + l + sovTypes(uint64(l)) 44672 } 44673 if m.XXX_unrecognized != nil { 44674 n += len(m.XXX_unrecognized) 44675 } 44676 return n 44677 } 44678 44679 func (m *ProvisionTokenSpecV2) Size() (n int) { 44680 if m == nil { 44681 return 0 44682 } 44683 var l int 44684 _ = l 44685 if len(m.Roles) > 0 { 44686 for _, s := range m.Roles { 44687 l = len(s) 44688 n += 1 + l + sovTypes(uint64(l)) 44689 } 44690 } 44691 if len(m.Allow) > 0 { 44692 for _, e := range m.Allow { 44693 l = e.Size() 44694 n += 1 + l + sovTypes(uint64(l)) 44695 } 44696 } 44697 if m.AWSIIDTTL != 0 { 44698 n += 1 + sovTypes(uint64(m.AWSIIDTTL)) 44699 } 44700 l = len(m.JoinMethod) 44701 if l > 0 { 44702 n += 1 + l + sovTypes(uint64(l)) 44703 } 44704 l = len(m.BotName) 44705 if l > 0 { 44706 n += 1 + l + sovTypes(uint64(l)) 44707 } 44708 l = m.SuggestedLabels.Size() 44709 n += 1 + l + sovTypes(uint64(l)) 44710 if m.GitHub != nil { 44711 l = m.GitHub.Size() 44712 n += 1 + l + sovTypes(uint64(l)) 44713 } 44714 if m.CircleCI != nil { 44715 l = m.CircleCI.Size() 44716 n += 1 + l + sovTypes(uint64(l)) 44717 } 44718 l = m.SuggestedAgentMatcherLabels.Size() 44719 n += 1 + l + sovTypes(uint64(l)) 44720 if m.Kubernetes != nil { 44721 l = m.Kubernetes.Size() 44722 n += 1 + l + sovTypes(uint64(l)) 44723 } 44724 if m.Azure != nil { 44725 l = m.Azure.Size() 44726 n += 1 + l + sovTypes(uint64(l)) 44727 } 44728 if m.GitLab != nil { 44729 l = m.GitLab.Size() 44730 n += 1 + l + sovTypes(uint64(l)) 44731 } 44732 if m.GCP != nil { 44733 l = m.GCP.Size() 44734 n += 1 + l + sovTypes(uint64(l)) 44735 } 44736 if m.Spacelift != nil { 44737 l = m.Spacelift.Size() 44738 n += 1 + l + sovTypes(uint64(l)) 44739 } 44740 if m.TPM != nil { 44741 l = m.TPM.Size() 44742 n += 1 + l + sovTypes(uint64(l)) 44743 } 44744 if m.XXX_unrecognized != nil { 44745 n += len(m.XXX_unrecognized) 44746 } 44747 return n 44748 } 44749 44750 func (m *ProvisionTokenSpecV2TPM) Size() (n int) { 44751 if m == nil { 44752 return 0 44753 } 44754 var l int 44755 _ = l 44756 if len(m.Allow) > 0 { 44757 for _, e := range m.Allow { 44758 l = e.Size() 44759 n += 1 + l + sovTypes(uint64(l)) 44760 } 44761 } 44762 if len(m.EKCertAllowedCAs) > 0 { 44763 for _, s := range m.EKCertAllowedCAs { 44764 l = len(s) 44765 n += 1 + l + sovTypes(uint64(l)) 44766 } 44767 } 44768 if m.XXX_unrecognized != nil { 44769 n += len(m.XXX_unrecognized) 44770 } 44771 return n 44772 } 44773 44774 func (m *ProvisionTokenSpecV2TPM_Rule) Size() (n int) { 44775 if m == nil { 44776 return 0 44777 } 44778 var l int 44779 _ = l 44780 l = len(m.Description) 44781 if l > 0 { 44782 n += 1 + l + sovTypes(uint64(l)) 44783 } 44784 l = len(m.EKPublicHash) 44785 if l > 0 { 44786 n += 1 + l + sovTypes(uint64(l)) 44787 } 44788 l = len(m.EKCertificateSerial) 44789 if l > 0 { 44790 n += 1 + l + sovTypes(uint64(l)) 44791 } 44792 if m.XXX_unrecognized != nil { 44793 n += len(m.XXX_unrecognized) 44794 } 44795 return n 44796 } 44797 44798 func (m *ProvisionTokenSpecV2GitHub) Size() (n int) { 44799 if m == nil { 44800 return 0 44801 } 44802 var l int 44803 _ = l 44804 if len(m.Allow) > 0 { 44805 for _, e := range m.Allow { 44806 l = e.Size() 44807 n += 1 + l + sovTypes(uint64(l)) 44808 } 44809 } 44810 l = len(m.EnterpriseServerHost) 44811 if l > 0 { 44812 n += 1 + l + sovTypes(uint64(l)) 44813 } 44814 l = len(m.EnterpriseSlug) 44815 if l > 0 { 44816 n += 1 + l + sovTypes(uint64(l)) 44817 } 44818 if m.XXX_unrecognized != nil { 44819 n += len(m.XXX_unrecognized) 44820 } 44821 return n 44822 } 44823 44824 func (m *ProvisionTokenSpecV2GitHub_Rule) Size() (n int) { 44825 if m == nil { 44826 return 0 44827 } 44828 var l int 44829 _ = l 44830 l = len(m.Sub) 44831 if l > 0 { 44832 n += 1 + l + sovTypes(uint64(l)) 44833 } 44834 l = len(m.Repository) 44835 if l > 0 { 44836 n += 1 + l + sovTypes(uint64(l)) 44837 } 44838 l = len(m.RepositoryOwner) 44839 if l > 0 { 44840 n += 1 + l + sovTypes(uint64(l)) 44841 } 44842 l = len(m.Workflow) 44843 if l > 0 { 44844 n += 1 + l + sovTypes(uint64(l)) 44845 } 44846 l = len(m.Environment) 44847 if l > 0 { 44848 n += 1 + l + sovTypes(uint64(l)) 44849 } 44850 l = len(m.Actor) 44851 if l > 0 { 44852 n += 1 + l + sovTypes(uint64(l)) 44853 } 44854 l = len(m.Ref) 44855 if l > 0 { 44856 n += 1 + l + sovTypes(uint64(l)) 44857 } 44858 l = len(m.RefType) 44859 if l > 0 { 44860 n += 1 + l + sovTypes(uint64(l)) 44861 } 44862 if m.XXX_unrecognized != nil { 44863 n += len(m.XXX_unrecognized) 44864 } 44865 return n 44866 } 44867 44868 func (m *ProvisionTokenSpecV2GitLab) Size() (n int) { 44869 if m == nil { 44870 return 0 44871 } 44872 var l int 44873 _ = l 44874 if len(m.Allow) > 0 { 44875 for _, e := range m.Allow { 44876 l = e.Size() 44877 n += 1 + l + sovTypes(uint64(l)) 44878 } 44879 } 44880 l = len(m.Domain) 44881 if l > 0 { 44882 n += 1 + l + sovTypes(uint64(l)) 44883 } 44884 if m.XXX_unrecognized != nil { 44885 n += len(m.XXX_unrecognized) 44886 } 44887 return n 44888 } 44889 44890 func (m *ProvisionTokenSpecV2GitLab_Rule) Size() (n int) { 44891 if m == nil { 44892 return 0 44893 } 44894 var l int 44895 _ = l 44896 l = len(m.Sub) 44897 if l > 0 { 44898 n += 1 + l + sovTypes(uint64(l)) 44899 } 44900 l = len(m.Ref) 44901 if l > 0 { 44902 n += 1 + l + sovTypes(uint64(l)) 44903 } 44904 l = len(m.RefType) 44905 if l > 0 { 44906 n += 1 + l + sovTypes(uint64(l)) 44907 } 44908 l = len(m.NamespacePath) 44909 if l > 0 { 44910 n += 1 + l + sovTypes(uint64(l)) 44911 } 44912 l = len(m.ProjectPath) 44913 if l > 0 { 44914 n += 1 + l + sovTypes(uint64(l)) 44915 } 44916 l = len(m.PipelineSource) 44917 if l > 0 { 44918 n += 1 + l + sovTypes(uint64(l)) 44919 } 44920 l = len(m.Environment) 44921 if l > 0 { 44922 n += 1 + l + sovTypes(uint64(l)) 44923 } 44924 l = len(m.UserLogin) 44925 if l > 0 { 44926 n += 1 + l + sovTypes(uint64(l)) 44927 } 44928 l = len(m.UserID) 44929 if l > 0 { 44930 n += 1 + l + sovTypes(uint64(l)) 44931 } 44932 l = len(m.UserEmail) 44933 if l > 0 { 44934 n += 1 + l + sovTypes(uint64(l)) 44935 } 44936 if m.RefProtected != nil { 44937 l = m.RefProtected.Size() 44938 n += 1 + l + sovTypes(uint64(l)) 44939 } 44940 if m.EnvironmentProtected != nil { 44941 l = m.EnvironmentProtected.Size() 44942 n += 1 + l + sovTypes(uint64(l)) 44943 } 44944 l = len(m.CIConfigSHA) 44945 if l > 0 { 44946 n += 1 + l + sovTypes(uint64(l)) 44947 } 44948 l = len(m.CIConfigRefURI) 44949 if l > 0 { 44950 n += 1 + l + sovTypes(uint64(l)) 44951 } 44952 l = len(m.DeploymentTier) 44953 if l > 0 { 44954 n += 1 + l + sovTypes(uint64(l)) 44955 } 44956 l = len(m.ProjectVisibility) 44957 if l > 0 { 44958 n += 2 + l + sovTypes(uint64(l)) 44959 } 44960 if m.XXX_unrecognized != nil { 44961 n += len(m.XXX_unrecognized) 44962 } 44963 return n 44964 } 44965 44966 func (m *ProvisionTokenSpecV2CircleCI) Size() (n int) { 44967 if m == nil { 44968 return 0 44969 } 44970 var l int 44971 _ = l 44972 if len(m.Allow) > 0 { 44973 for _, e := range m.Allow { 44974 l = e.Size() 44975 n += 1 + l + sovTypes(uint64(l)) 44976 } 44977 } 44978 l = len(m.OrganizationID) 44979 if l > 0 { 44980 n += 1 + l + sovTypes(uint64(l)) 44981 } 44982 if m.XXX_unrecognized != nil { 44983 n += len(m.XXX_unrecognized) 44984 } 44985 return n 44986 } 44987 44988 func (m *ProvisionTokenSpecV2CircleCI_Rule) Size() (n int) { 44989 if m == nil { 44990 return 0 44991 } 44992 var l int 44993 _ = l 44994 l = len(m.ProjectID) 44995 if l > 0 { 44996 n += 1 + l + sovTypes(uint64(l)) 44997 } 44998 l = len(m.ContextID) 44999 if l > 0 { 45000 n += 1 + l + sovTypes(uint64(l)) 45001 } 45002 if m.XXX_unrecognized != nil { 45003 n += len(m.XXX_unrecognized) 45004 } 45005 return n 45006 } 45007 45008 func (m *ProvisionTokenSpecV2Spacelift) Size() (n int) { 45009 if m == nil { 45010 return 0 45011 } 45012 var l int 45013 _ = l 45014 if len(m.Allow) > 0 { 45015 for _, e := range m.Allow { 45016 l = e.Size() 45017 n += 1 + l + sovTypes(uint64(l)) 45018 } 45019 } 45020 l = len(m.Hostname) 45021 if l > 0 { 45022 n += 1 + l + sovTypes(uint64(l)) 45023 } 45024 if m.XXX_unrecognized != nil { 45025 n += len(m.XXX_unrecognized) 45026 } 45027 return n 45028 } 45029 45030 func (m *ProvisionTokenSpecV2Spacelift_Rule) Size() (n int) { 45031 if m == nil { 45032 return 0 45033 } 45034 var l int 45035 _ = l 45036 l = len(m.SpaceID) 45037 if l > 0 { 45038 n += 1 + l + sovTypes(uint64(l)) 45039 } 45040 l = len(m.CallerID) 45041 if l > 0 { 45042 n += 1 + l + sovTypes(uint64(l)) 45043 } 45044 l = len(m.CallerType) 45045 if l > 0 { 45046 n += 1 + l + sovTypes(uint64(l)) 45047 } 45048 l = len(m.Scope) 45049 if l > 0 { 45050 n += 1 + l + sovTypes(uint64(l)) 45051 } 45052 if m.XXX_unrecognized != nil { 45053 n += len(m.XXX_unrecognized) 45054 } 45055 return n 45056 } 45057 45058 func (m *ProvisionTokenSpecV2Kubernetes) Size() (n int) { 45059 if m == nil { 45060 return 0 45061 } 45062 var l int 45063 _ = l 45064 if len(m.Allow) > 0 { 45065 for _, e := range m.Allow { 45066 l = e.Size() 45067 n += 1 + l + sovTypes(uint64(l)) 45068 } 45069 } 45070 l = len(m.Type) 45071 if l > 0 { 45072 n += 1 + l + sovTypes(uint64(l)) 45073 } 45074 if m.StaticJWKS != nil { 45075 l = m.StaticJWKS.Size() 45076 n += 1 + l + sovTypes(uint64(l)) 45077 } 45078 if m.XXX_unrecognized != nil { 45079 n += len(m.XXX_unrecognized) 45080 } 45081 return n 45082 } 45083 45084 func (m *ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig) Size() (n int) { 45085 if m == nil { 45086 return 0 45087 } 45088 var l int 45089 _ = l 45090 l = len(m.JWKS) 45091 if l > 0 { 45092 n += 1 + l + sovTypes(uint64(l)) 45093 } 45094 if m.XXX_unrecognized != nil { 45095 n += len(m.XXX_unrecognized) 45096 } 45097 return n 45098 } 45099 45100 func (m *ProvisionTokenSpecV2Kubernetes_Rule) Size() (n int) { 45101 if m == nil { 45102 return 0 45103 } 45104 var l int 45105 _ = l 45106 l = len(m.ServiceAccount) 45107 if l > 0 { 45108 n += 1 + l + sovTypes(uint64(l)) 45109 } 45110 if m.XXX_unrecognized != nil { 45111 n += len(m.XXX_unrecognized) 45112 } 45113 return n 45114 } 45115 45116 func (m *ProvisionTokenSpecV2Azure) Size() (n int) { 45117 if m == nil { 45118 return 0 45119 } 45120 var l int 45121 _ = l 45122 if len(m.Allow) > 0 { 45123 for _, e := range m.Allow { 45124 l = e.Size() 45125 n += 1 + l + sovTypes(uint64(l)) 45126 } 45127 } 45128 if m.XXX_unrecognized != nil { 45129 n += len(m.XXX_unrecognized) 45130 } 45131 return n 45132 } 45133 45134 func (m *ProvisionTokenSpecV2Azure_Rule) Size() (n int) { 45135 if m == nil { 45136 return 0 45137 } 45138 var l int 45139 _ = l 45140 l = len(m.Subscription) 45141 if l > 0 { 45142 n += 1 + l + sovTypes(uint64(l)) 45143 } 45144 if len(m.ResourceGroups) > 0 { 45145 for _, s := range m.ResourceGroups { 45146 l = len(s) 45147 n += 1 + l + sovTypes(uint64(l)) 45148 } 45149 } 45150 if m.XXX_unrecognized != nil { 45151 n += len(m.XXX_unrecognized) 45152 } 45153 return n 45154 } 45155 45156 func (m *ProvisionTokenSpecV2GCP) Size() (n int) { 45157 if m == nil { 45158 return 0 45159 } 45160 var l int 45161 _ = l 45162 if len(m.Allow) > 0 { 45163 for _, e := range m.Allow { 45164 l = e.Size() 45165 n += 1 + l + sovTypes(uint64(l)) 45166 } 45167 } 45168 if m.XXX_unrecognized != nil { 45169 n += len(m.XXX_unrecognized) 45170 } 45171 return n 45172 } 45173 45174 func (m *ProvisionTokenSpecV2GCP_Rule) Size() (n int) { 45175 if m == nil { 45176 return 0 45177 } 45178 var l int 45179 _ = l 45180 if len(m.ProjectIDs) > 0 { 45181 for _, s := range m.ProjectIDs { 45182 l = len(s) 45183 n += 1 + l + sovTypes(uint64(l)) 45184 } 45185 } 45186 if len(m.Locations) > 0 { 45187 for _, s := range m.Locations { 45188 l = len(s) 45189 n += 1 + l + sovTypes(uint64(l)) 45190 } 45191 } 45192 if len(m.ServiceAccounts) > 0 { 45193 for _, s := range m.ServiceAccounts { 45194 l = len(s) 45195 n += 1 + l + sovTypes(uint64(l)) 45196 } 45197 } 45198 if m.XXX_unrecognized != nil { 45199 n += len(m.XXX_unrecognized) 45200 } 45201 return n 45202 } 45203 45204 func (m *StaticTokensV2) Size() (n int) { 45205 if m == nil { 45206 return 0 45207 } 45208 var l int 45209 _ = l 45210 l = len(m.Kind) 45211 if l > 0 { 45212 n += 1 + l + sovTypes(uint64(l)) 45213 } 45214 l = len(m.SubKind) 45215 if l > 0 { 45216 n += 1 + l + sovTypes(uint64(l)) 45217 } 45218 l = len(m.Version) 45219 if l > 0 { 45220 n += 1 + l + sovTypes(uint64(l)) 45221 } 45222 l = m.Metadata.Size() 45223 n += 1 + l + sovTypes(uint64(l)) 45224 l = m.Spec.Size() 45225 n += 1 + l + sovTypes(uint64(l)) 45226 if m.XXX_unrecognized != nil { 45227 n += len(m.XXX_unrecognized) 45228 } 45229 return n 45230 } 45231 45232 func (m *StaticTokensSpecV2) Size() (n int) { 45233 if m == nil { 45234 return 0 45235 } 45236 var l int 45237 _ = l 45238 if len(m.StaticTokens) > 0 { 45239 for _, e := range m.StaticTokens { 45240 l = e.Size() 45241 n += 1 + l + sovTypes(uint64(l)) 45242 } 45243 } 45244 if m.XXX_unrecognized != nil { 45245 n += len(m.XXX_unrecognized) 45246 } 45247 return n 45248 } 45249 45250 func (m *ClusterNameV2) Size() (n int) { 45251 if m == nil { 45252 return 0 45253 } 45254 var l int 45255 _ = l 45256 l = len(m.Kind) 45257 if l > 0 { 45258 n += 1 + l + sovTypes(uint64(l)) 45259 } 45260 l = len(m.SubKind) 45261 if l > 0 { 45262 n += 1 + l + sovTypes(uint64(l)) 45263 } 45264 l = len(m.Version) 45265 if l > 0 { 45266 n += 1 + l + sovTypes(uint64(l)) 45267 } 45268 l = m.Metadata.Size() 45269 n += 1 + l + sovTypes(uint64(l)) 45270 l = m.Spec.Size() 45271 n += 1 + l + sovTypes(uint64(l)) 45272 if m.XXX_unrecognized != nil { 45273 n += len(m.XXX_unrecognized) 45274 } 45275 return n 45276 } 45277 45278 func (m *ClusterNameSpecV2) Size() (n int) { 45279 if m == nil { 45280 return 0 45281 } 45282 var l int 45283 _ = l 45284 l = len(m.ClusterName) 45285 if l > 0 { 45286 n += 1 + l + sovTypes(uint64(l)) 45287 } 45288 l = len(m.ClusterID) 45289 if l > 0 { 45290 n += 1 + l + sovTypes(uint64(l)) 45291 } 45292 if m.XXX_unrecognized != nil { 45293 n += len(m.XXX_unrecognized) 45294 } 45295 return n 45296 } 45297 45298 func (m *ClusterAuditConfigV2) Size() (n int) { 45299 if m == nil { 45300 return 0 45301 } 45302 var l int 45303 _ = l 45304 l = len(m.Kind) 45305 if l > 0 { 45306 n += 1 + l + sovTypes(uint64(l)) 45307 } 45308 l = len(m.SubKind) 45309 if l > 0 { 45310 n += 1 + l + sovTypes(uint64(l)) 45311 } 45312 l = len(m.Version) 45313 if l > 0 { 45314 n += 1 + l + sovTypes(uint64(l)) 45315 } 45316 l = m.Metadata.Size() 45317 n += 1 + l + sovTypes(uint64(l)) 45318 l = m.Spec.Size() 45319 n += 1 + l + sovTypes(uint64(l)) 45320 if m.XXX_unrecognized != nil { 45321 n += len(m.XXX_unrecognized) 45322 } 45323 return n 45324 } 45325 45326 func (m *ClusterAuditConfigSpecV2) Size() (n int) { 45327 if m == nil { 45328 return 0 45329 } 45330 var l int 45331 _ = l 45332 l = len(m.Type) 45333 if l > 0 { 45334 n += 1 + l + sovTypes(uint64(l)) 45335 } 45336 l = len(m.Region) 45337 if l > 0 { 45338 n += 1 + l + sovTypes(uint64(l)) 45339 } 45340 l = len(m.AuditSessionsURI) 45341 if l > 0 { 45342 n += 1 + l + sovTypes(uint64(l)) 45343 } 45344 l = m.AuditEventsURI.Size() 45345 n += 1 + l + sovTypes(uint64(l)) 45346 if m.EnableContinuousBackups { 45347 n += 2 45348 } 45349 if m.EnableAutoScaling { 45350 n += 2 45351 } 45352 if m.ReadMaxCapacity != 0 { 45353 n += 1 + sovTypes(uint64(m.ReadMaxCapacity)) 45354 } 45355 if m.ReadMinCapacity != 0 { 45356 n += 1 + sovTypes(uint64(m.ReadMinCapacity)) 45357 } 45358 if m.ReadTargetValue != 0 { 45359 n += 9 45360 } 45361 if m.WriteMaxCapacity != 0 { 45362 n += 1 + sovTypes(uint64(m.WriteMaxCapacity)) 45363 } 45364 if m.WriteMinCapacity != 0 { 45365 n += 1 + sovTypes(uint64(m.WriteMinCapacity)) 45366 } 45367 if m.WriteTargetValue != 0 { 45368 n += 9 45369 } 45370 if m.RetentionPeriod != 0 { 45371 n += 1 + sovTypes(uint64(m.RetentionPeriod)) 45372 } 45373 if m.UseFIPSEndpoint != 0 { 45374 n += 1 + sovTypes(uint64(m.UseFIPSEndpoint)) 45375 } 45376 if m.XXX_unrecognized != nil { 45377 n += len(m.XXX_unrecognized) 45378 } 45379 return n 45380 } 45381 45382 func (m *ClusterNetworkingConfigV2) Size() (n int) { 45383 if m == nil { 45384 return 0 45385 } 45386 var l int 45387 _ = l 45388 l = len(m.Kind) 45389 if l > 0 { 45390 n += 1 + l + sovTypes(uint64(l)) 45391 } 45392 l = len(m.SubKind) 45393 if l > 0 { 45394 n += 1 + l + sovTypes(uint64(l)) 45395 } 45396 l = len(m.Version) 45397 if l > 0 { 45398 n += 1 + l + sovTypes(uint64(l)) 45399 } 45400 l = m.Metadata.Size() 45401 n += 1 + l + sovTypes(uint64(l)) 45402 l = m.Spec.Size() 45403 n += 1 + l + sovTypes(uint64(l)) 45404 if m.XXX_unrecognized != nil { 45405 n += len(m.XXX_unrecognized) 45406 } 45407 return n 45408 } 45409 45410 func (m *ClusterNetworkingConfigSpecV2) Size() (n int) { 45411 if m == nil { 45412 return 0 45413 } 45414 var l int 45415 _ = l 45416 if m.ClientIdleTimeout != 0 { 45417 n += 1 + sovTypes(uint64(m.ClientIdleTimeout)) 45418 } 45419 if m.KeepAliveInterval != 0 { 45420 n += 1 + sovTypes(uint64(m.KeepAliveInterval)) 45421 } 45422 if m.KeepAliveCountMax != 0 { 45423 n += 1 + sovTypes(uint64(m.KeepAliveCountMax)) 45424 } 45425 if m.SessionControlTimeout != 0 { 45426 n += 1 + sovTypes(uint64(m.SessionControlTimeout)) 45427 } 45428 l = len(m.ClientIdleTimeoutMessage) 45429 if l > 0 { 45430 n += 1 + l + sovTypes(uint64(l)) 45431 } 45432 if m.WebIdleTimeout != 0 { 45433 n += 1 + sovTypes(uint64(m.WebIdleTimeout)) 45434 } 45435 if m.ProxyListenerMode != 0 { 45436 n += 1 + sovTypes(uint64(m.ProxyListenerMode)) 45437 } 45438 if m.RoutingStrategy != 0 { 45439 n += 1 + sovTypes(uint64(m.RoutingStrategy)) 45440 } 45441 if m.TunnelStrategy != nil { 45442 l = m.TunnelStrategy.Size() 45443 n += 1 + l + sovTypes(uint64(l)) 45444 } 45445 if m.ProxyPingInterval != 0 { 45446 n += 1 + sovTypes(uint64(m.ProxyPingInterval)) 45447 } 45448 if m.AssistCommandExecutionWorkers != 0 { 45449 n += 1 + sovTypes(uint64(m.AssistCommandExecutionWorkers)) 45450 } 45451 if m.CaseInsensitiveRouting { 45452 n += 2 45453 } 45454 if m.XXX_unrecognized != nil { 45455 n += len(m.XXX_unrecognized) 45456 } 45457 return n 45458 } 45459 45460 func (m *TunnelStrategyV1) Size() (n int) { 45461 if m == nil { 45462 return 0 45463 } 45464 var l int 45465 _ = l 45466 if m.Strategy != nil { 45467 n += m.Strategy.Size() 45468 } 45469 if m.XXX_unrecognized != nil { 45470 n += len(m.XXX_unrecognized) 45471 } 45472 return n 45473 } 45474 45475 func (m *TunnelStrategyV1_AgentMesh) Size() (n int) { 45476 if m == nil { 45477 return 0 45478 } 45479 var l int 45480 _ = l 45481 if m.AgentMesh != nil { 45482 l = m.AgentMesh.Size() 45483 n += 1 + l + sovTypes(uint64(l)) 45484 } 45485 return n 45486 } 45487 func (m *TunnelStrategyV1_ProxyPeering) Size() (n int) { 45488 if m == nil { 45489 return 0 45490 } 45491 var l int 45492 _ = l 45493 if m.ProxyPeering != nil { 45494 l = m.ProxyPeering.Size() 45495 n += 1 + l + sovTypes(uint64(l)) 45496 } 45497 return n 45498 } 45499 func (m *AgentMeshTunnelStrategy) Size() (n int) { 45500 if m == nil { 45501 return 0 45502 } 45503 var l int 45504 _ = l 45505 if m.XXX_unrecognized != nil { 45506 n += len(m.XXX_unrecognized) 45507 } 45508 return n 45509 } 45510 45511 func (m *ProxyPeeringTunnelStrategy) Size() (n int) { 45512 if m == nil { 45513 return 0 45514 } 45515 var l int 45516 _ = l 45517 if m.AgentConnectionCount != 0 { 45518 n += 1 + sovTypes(uint64(m.AgentConnectionCount)) 45519 } 45520 if m.XXX_unrecognized != nil { 45521 n += len(m.XXX_unrecognized) 45522 } 45523 return n 45524 } 45525 45526 func (m *SessionRecordingConfigV2) Size() (n int) { 45527 if m == nil { 45528 return 0 45529 } 45530 var l int 45531 _ = l 45532 l = len(m.Kind) 45533 if l > 0 { 45534 n += 1 + l + sovTypes(uint64(l)) 45535 } 45536 l = len(m.SubKind) 45537 if l > 0 { 45538 n += 1 + l + sovTypes(uint64(l)) 45539 } 45540 l = len(m.Version) 45541 if l > 0 { 45542 n += 1 + l + sovTypes(uint64(l)) 45543 } 45544 l = m.Metadata.Size() 45545 n += 1 + l + sovTypes(uint64(l)) 45546 l = m.Spec.Size() 45547 n += 1 + l + sovTypes(uint64(l)) 45548 if m.XXX_unrecognized != nil { 45549 n += len(m.XXX_unrecognized) 45550 } 45551 return n 45552 } 45553 45554 func (m *SessionRecordingConfigSpecV2) Size() (n int) { 45555 if m == nil { 45556 return 0 45557 } 45558 var l int 45559 _ = l 45560 l = len(m.Mode) 45561 if l > 0 { 45562 n += 1 + l + sovTypes(uint64(l)) 45563 } 45564 if m.ProxyChecksHostKeys != nil { 45565 l = m.ProxyChecksHostKeys.Size() 45566 n += 1 + l + sovTypes(uint64(l)) 45567 } 45568 if m.XXX_unrecognized != nil { 45569 n += len(m.XXX_unrecognized) 45570 } 45571 return n 45572 } 45573 45574 func (m *AuthPreferenceV2) Size() (n int) { 45575 if m == nil { 45576 return 0 45577 } 45578 var l int 45579 _ = l 45580 l = len(m.Kind) 45581 if l > 0 { 45582 n += 1 + l + sovTypes(uint64(l)) 45583 } 45584 l = len(m.SubKind) 45585 if l > 0 { 45586 n += 1 + l + sovTypes(uint64(l)) 45587 } 45588 l = len(m.Version) 45589 if l > 0 { 45590 n += 1 + l + sovTypes(uint64(l)) 45591 } 45592 l = m.Metadata.Size() 45593 n += 1 + l + sovTypes(uint64(l)) 45594 l = m.Spec.Size() 45595 n += 1 + l + sovTypes(uint64(l)) 45596 if m.XXX_unrecognized != nil { 45597 n += len(m.XXX_unrecognized) 45598 } 45599 return n 45600 } 45601 45602 func (m *AuthPreferenceSpecV2) Size() (n int) { 45603 if m == nil { 45604 return 0 45605 } 45606 var l int 45607 _ = l 45608 l = len(m.Type) 45609 if l > 0 { 45610 n += 1 + l + sovTypes(uint64(l)) 45611 } 45612 l = len(m.SecondFactor) 45613 if l > 0 { 45614 n += 1 + l + sovTypes(uint64(l)) 45615 } 45616 l = len(m.ConnectorName) 45617 if l > 0 { 45618 n += 1 + l + sovTypes(uint64(l)) 45619 } 45620 if m.U2F != nil { 45621 l = m.U2F.Size() 45622 n += 1 + l + sovTypes(uint64(l)) 45623 } 45624 if m.DisconnectExpiredCert != nil { 45625 l = m.DisconnectExpiredCert.Size() 45626 n += 1 + l + sovTypes(uint64(l)) 45627 } 45628 if m.AllowLocalAuth != nil { 45629 l = m.AllowLocalAuth.Size() 45630 n += 1 + l + sovTypes(uint64(l)) 45631 } 45632 l = len(m.MessageOfTheDay) 45633 if l > 0 { 45634 n += 1 + l + sovTypes(uint64(l)) 45635 } 45636 l = len(m.LockingMode) 45637 if l > 0 { 45638 n += 1 + l + sovTypes(uint64(l)) 45639 } 45640 if m.Webauthn != nil { 45641 l = m.Webauthn.Size() 45642 n += 1 + l + sovTypes(uint64(l)) 45643 } 45644 if m.AllowPasswordless != nil { 45645 l = m.AllowPasswordless.Size() 45646 n += 1 + l + sovTypes(uint64(l)) 45647 } 45648 if m.RequireMFAType != 0 { 45649 n += 1 + sovTypes(uint64(m.RequireMFAType)) 45650 } 45651 if m.DeviceTrust != nil { 45652 l = m.DeviceTrust.Size() 45653 n += 1 + l + sovTypes(uint64(l)) 45654 } 45655 if m.IDP != nil { 45656 l = m.IDP.Size() 45657 n += 1 + l + sovTypes(uint64(l)) 45658 } 45659 if m.AllowHeadless != nil { 45660 l = m.AllowHeadless.Size() 45661 n += 1 + l + sovTypes(uint64(l)) 45662 } 45663 if m.DefaultSessionTTL != 0 { 45664 n += 2 + sovTypes(uint64(m.DefaultSessionTTL)) 45665 } 45666 if m.Okta != nil { 45667 l = m.Okta.Size() 45668 n += 2 + l + sovTypes(uint64(l)) 45669 } 45670 l = len(m.PIVSlot) 45671 if l > 0 { 45672 n += 2 + l + sovTypes(uint64(l)) 45673 } 45674 if m.HardwareKey != nil { 45675 l = m.HardwareKey.Size() 45676 n += 2 + l + sovTypes(uint64(l)) 45677 } 45678 if m.XXX_unrecognized != nil { 45679 n += len(m.XXX_unrecognized) 45680 } 45681 return n 45682 } 45683 45684 func (m *U2F) Size() (n int) { 45685 if m == nil { 45686 return 0 45687 } 45688 var l int 45689 _ = l 45690 l = len(m.AppID) 45691 if l > 0 { 45692 n += 1 + l + sovTypes(uint64(l)) 45693 } 45694 if len(m.Facets) > 0 { 45695 for _, s := range m.Facets { 45696 l = len(s) 45697 n += 1 + l + sovTypes(uint64(l)) 45698 } 45699 } 45700 if len(m.DeviceAttestationCAs) > 0 { 45701 for _, s := range m.DeviceAttestationCAs { 45702 l = len(s) 45703 n += 1 + l + sovTypes(uint64(l)) 45704 } 45705 } 45706 if m.XXX_unrecognized != nil { 45707 n += len(m.XXX_unrecognized) 45708 } 45709 return n 45710 } 45711 45712 func (m *Webauthn) Size() (n int) { 45713 if m == nil { 45714 return 0 45715 } 45716 var l int 45717 _ = l 45718 l = len(m.RPID) 45719 if l > 0 { 45720 n += 1 + l + sovTypes(uint64(l)) 45721 } 45722 if len(m.AttestationAllowedCAs) > 0 { 45723 for _, s := range m.AttestationAllowedCAs { 45724 l = len(s) 45725 n += 1 + l + sovTypes(uint64(l)) 45726 } 45727 } 45728 if len(m.AttestationDeniedCAs) > 0 { 45729 for _, s := range m.AttestationDeniedCAs { 45730 l = len(s) 45731 n += 1 + l + sovTypes(uint64(l)) 45732 } 45733 } 45734 if m.XXX_unrecognized != nil { 45735 n += len(m.XXX_unrecognized) 45736 } 45737 return n 45738 } 45739 45740 func (m *DeviceTrust) Size() (n int) { 45741 if m == nil { 45742 return 0 45743 } 45744 var l int 45745 _ = l 45746 l = len(m.Mode) 45747 if l > 0 { 45748 n += 1 + l + sovTypes(uint64(l)) 45749 } 45750 if m.AutoEnroll { 45751 n += 2 45752 } 45753 if len(m.EKCertAllowedCAs) > 0 { 45754 for _, s := range m.EKCertAllowedCAs { 45755 l = len(s) 45756 n += 1 + l + sovTypes(uint64(l)) 45757 } 45758 } 45759 if m.XXX_unrecognized != nil { 45760 n += len(m.XXX_unrecognized) 45761 } 45762 return n 45763 } 45764 45765 func (m *HardwareKey) Size() (n int) { 45766 if m == nil { 45767 return 0 45768 } 45769 var l int 45770 _ = l 45771 l = len(m.PIVSlot) 45772 if l > 0 { 45773 n += 1 + l + sovTypes(uint64(l)) 45774 } 45775 if m.SerialNumberValidation != nil { 45776 l = m.SerialNumberValidation.Size() 45777 n += 1 + l + sovTypes(uint64(l)) 45778 } 45779 if m.XXX_unrecognized != nil { 45780 n += len(m.XXX_unrecognized) 45781 } 45782 return n 45783 } 45784 45785 func (m *HardwareKeySerialNumberValidation) Size() (n int) { 45786 if m == nil { 45787 return 0 45788 } 45789 var l int 45790 _ = l 45791 if m.Enabled { 45792 n += 2 45793 } 45794 l = len(m.SerialNumberTraitName) 45795 if l > 0 { 45796 n += 1 + l + sovTypes(uint64(l)) 45797 } 45798 if m.XXX_unrecognized != nil { 45799 n += len(m.XXX_unrecognized) 45800 } 45801 return n 45802 } 45803 45804 func (m *Namespace) Size() (n int) { 45805 if m == nil { 45806 return 0 45807 } 45808 var l int 45809 _ = l 45810 l = len(m.Kind) 45811 if l > 0 { 45812 n += 1 + l + sovTypes(uint64(l)) 45813 } 45814 l = len(m.SubKind) 45815 if l > 0 { 45816 n += 1 + l + sovTypes(uint64(l)) 45817 } 45818 l = len(m.Version) 45819 if l > 0 { 45820 n += 1 + l + sovTypes(uint64(l)) 45821 } 45822 l = m.Metadata.Size() 45823 n += 1 + l + sovTypes(uint64(l)) 45824 l = m.Spec.Size() 45825 n += 1 + l + sovTypes(uint64(l)) 45826 if m.XXX_unrecognized != nil { 45827 n += len(m.XXX_unrecognized) 45828 } 45829 return n 45830 } 45831 45832 func (m *NamespaceSpec) Size() (n int) { 45833 if m == nil { 45834 return 0 45835 } 45836 var l int 45837 _ = l 45838 if m.XXX_unrecognized != nil { 45839 n += len(m.XXX_unrecognized) 45840 } 45841 return n 45842 } 45843 45844 func (m *UserTokenV3) Size() (n int) { 45845 if m == nil { 45846 return 0 45847 } 45848 var l int 45849 _ = l 45850 l = len(m.Kind) 45851 if l > 0 { 45852 n += 1 + l + sovTypes(uint64(l)) 45853 } 45854 l = len(m.SubKind) 45855 if l > 0 { 45856 n += 1 + l + sovTypes(uint64(l)) 45857 } 45858 l = len(m.Version) 45859 if l > 0 { 45860 n += 1 + l + sovTypes(uint64(l)) 45861 } 45862 l = m.Metadata.Size() 45863 n += 1 + l + sovTypes(uint64(l)) 45864 l = m.Spec.Size() 45865 n += 1 + l + sovTypes(uint64(l)) 45866 if m.XXX_unrecognized != nil { 45867 n += len(m.XXX_unrecognized) 45868 } 45869 return n 45870 } 45871 45872 func (m *UserTokenSpecV3) Size() (n int) { 45873 if m == nil { 45874 return 0 45875 } 45876 var l int 45877 _ = l 45878 l = len(m.User) 45879 if l > 0 { 45880 n += 1 + l + sovTypes(uint64(l)) 45881 } 45882 l = len(m.URL) 45883 if l > 0 { 45884 n += 1 + l + sovTypes(uint64(l)) 45885 } 45886 if m.Usage != 0 { 45887 n += 1 + sovTypes(uint64(m.Usage)) 45888 } 45889 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Created) 45890 n += 1 + l + sovTypes(uint64(l)) 45891 if m.XXX_unrecognized != nil { 45892 n += len(m.XXX_unrecognized) 45893 } 45894 return n 45895 } 45896 45897 func (m *UserTokenSecretsV3) Size() (n int) { 45898 if m == nil { 45899 return 0 45900 } 45901 var l int 45902 _ = l 45903 l = len(m.Kind) 45904 if l > 0 { 45905 n += 1 + l + sovTypes(uint64(l)) 45906 } 45907 l = len(m.SubKind) 45908 if l > 0 { 45909 n += 1 + l + sovTypes(uint64(l)) 45910 } 45911 l = len(m.Version) 45912 if l > 0 { 45913 n += 1 + l + sovTypes(uint64(l)) 45914 } 45915 l = m.Metadata.Size() 45916 n += 1 + l + sovTypes(uint64(l)) 45917 l = m.Spec.Size() 45918 n += 1 + l + sovTypes(uint64(l)) 45919 if m.XXX_unrecognized != nil { 45920 n += len(m.XXX_unrecognized) 45921 } 45922 return n 45923 } 45924 45925 func (m *UserTokenSecretsSpecV3) Size() (n int) { 45926 if m == nil { 45927 return 0 45928 } 45929 var l int 45930 _ = l 45931 l = len(m.OTPKey) 45932 if l > 0 { 45933 n += 1 + l + sovTypes(uint64(l)) 45934 } 45935 l = len(m.QRCode) 45936 if l > 0 { 45937 n += 1 + l + sovTypes(uint64(l)) 45938 } 45939 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Created) 45940 n += 1 + l + sovTypes(uint64(l)) 45941 if m.XXX_unrecognized != nil { 45942 n += len(m.XXX_unrecognized) 45943 } 45944 return n 45945 } 45946 45947 func (m *AccessRequestV3) Size() (n int) { 45948 if m == nil { 45949 return 0 45950 } 45951 var l int 45952 _ = l 45953 l = len(m.Kind) 45954 if l > 0 { 45955 n += 1 + l + sovTypes(uint64(l)) 45956 } 45957 l = len(m.SubKind) 45958 if l > 0 { 45959 n += 1 + l + sovTypes(uint64(l)) 45960 } 45961 l = len(m.Version) 45962 if l > 0 { 45963 n += 1 + l + sovTypes(uint64(l)) 45964 } 45965 l = m.Metadata.Size() 45966 n += 1 + l + sovTypes(uint64(l)) 45967 l = m.Spec.Size() 45968 n += 1 + l + sovTypes(uint64(l)) 45969 if m.XXX_unrecognized != nil { 45970 n += len(m.XXX_unrecognized) 45971 } 45972 return n 45973 } 45974 45975 func (m *AccessReviewThreshold) Size() (n int) { 45976 if m == nil { 45977 return 0 45978 } 45979 var l int 45980 _ = l 45981 l = len(m.Name) 45982 if l > 0 { 45983 n += 1 + l + sovTypes(uint64(l)) 45984 } 45985 l = len(m.Filter) 45986 if l > 0 { 45987 n += 1 + l + sovTypes(uint64(l)) 45988 } 45989 if m.Approve != 0 { 45990 n += 1 + sovTypes(uint64(m.Approve)) 45991 } 45992 if m.Deny != 0 { 45993 n += 1 + sovTypes(uint64(m.Deny)) 45994 } 45995 if m.XXX_unrecognized != nil { 45996 n += len(m.XXX_unrecognized) 45997 } 45998 return n 45999 } 46000 46001 func (m *PromotedAccessList) Size() (n int) { 46002 if m == nil { 46003 return 0 46004 } 46005 var l int 46006 _ = l 46007 l = len(m.Name) 46008 if l > 0 { 46009 n += 1 + l + sovTypes(uint64(l)) 46010 } 46011 l = len(m.Title) 46012 if l > 0 { 46013 n += 1 + l + sovTypes(uint64(l)) 46014 } 46015 if m.XXX_unrecognized != nil { 46016 n += len(m.XXX_unrecognized) 46017 } 46018 return n 46019 } 46020 46021 func (m *AccessReview) Size() (n int) { 46022 if m == nil { 46023 return 0 46024 } 46025 var l int 46026 _ = l 46027 l = len(m.Author) 46028 if l > 0 { 46029 n += 1 + l + sovTypes(uint64(l)) 46030 } 46031 if len(m.Roles) > 0 { 46032 for _, s := range m.Roles { 46033 l = len(s) 46034 n += 1 + l + sovTypes(uint64(l)) 46035 } 46036 } 46037 if m.ProposedState != 0 { 46038 n += 1 + sovTypes(uint64(m.ProposedState)) 46039 } 46040 l = len(m.Reason) 46041 if l > 0 { 46042 n += 1 + l + sovTypes(uint64(l)) 46043 } 46044 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Created) 46045 n += 1 + l + sovTypes(uint64(l)) 46046 l = m.Annotations.Size() 46047 n += 1 + l + sovTypes(uint64(l)) 46048 if len(m.ThresholdIndexes) > 0 { 46049 l = 0 46050 for _, e := range m.ThresholdIndexes { 46051 l += sovTypes(uint64(e)) 46052 } 46053 n += 1 + sovTypes(uint64(l)) + l 46054 } 46055 if m.AccessList != nil { 46056 l = m.AccessList.Size() 46057 n += 1 + l + sovTypes(uint64(l)) 46058 } 46059 if m.AssumeStartTime != nil { 46060 l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.AssumeStartTime) 46061 n += 1 + l + sovTypes(uint64(l)) 46062 } 46063 if m.XXX_unrecognized != nil { 46064 n += len(m.XXX_unrecognized) 46065 } 46066 return n 46067 } 46068 46069 func (m *AccessReviewSubmission) Size() (n int) { 46070 if m == nil { 46071 return 0 46072 } 46073 var l int 46074 _ = l 46075 l = len(m.RequestID) 46076 if l > 0 { 46077 n += 1 + l + sovTypes(uint64(l)) 46078 } 46079 l = m.Review.Size() 46080 n += 1 + l + sovTypes(uint64(l)) 46081 if m.XXX_unrecognized != nil { 46082 n += len(m.XXX_unrecognized) 46083 } 46084 return n 46085 } 46086 46087 func (m *ThresholdIndexSet) Size() (n int) { 46088 if m == nil { 46089 return 0 46090 } 46091 var l int 46092 _ = l 46093 if len(m.Indexes) > 0 { 46094 l = 0 46095 for _, e := range m.Indexes { 46096 l += sovTypes(uint64(e)) 46097 } 46098 n += 1 + sovTypes(uint64(l)) + l 46099 } 46100 if m.XXX_unrecognized != nil { 46101 n += len(m.XXX_unrecognized) 46102 } 46103 return n 46104 } 46105 46106 func (m *ThresholdIndexSets) Size() (n int) { 46107 if m == nil { 46108 return 0 46109 } 46110 var l int 46111 _ = l 46112 if len(m.Sets) > 0 { 46113 for _, e := range m.Sets { 46114 l = e.Size() 46115 n += 1 + l + sovTypes(uint64(l)) 46116 } 46117 } 46118 if m.XXX_unrecognized != nil { 46119 n += len(m.XXX_unrecognized) 46120 } 46121 return n 46122 } 46123 46124 func (m *AccessRequestSpecV3) Size() (n int) { 46125 if m == nil { 46126 return 0 46127 } 46128 var l int 46129 _ = l 46130 l = len(m.User) 46131 if l > 0 { 46132 n += 1 + l + sovTypes(uint64(l)) 46133 } 46134 if len(m.Roles) > 0 { 46135 for _, s := range m.Roles { 46136 l = len(s) 46137 n += 1 + l + sovTypes(uint64(l)) 46138 } 46139 } 46140 if m.State != 0 { 46141 n += 1 + sovTypes(uint64(m.State)) 46142 } 46143 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Created) 46144 n += 1 + l + sovTypes(uint64(l)) 46145 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires) 46146 n += 1 + l + sovTypes(uint64(l)) 46147 l = len(m.RequestReason) 46148 if l > 0 { 46149 n += 1 + l + sovTypes(uint64(l)) 46150 } 46151 l = len(m.ResolveReason) 46152 if l > 0 { 46153 n += 1 + l + sovTypes(uint64(l)) 46154 } 46155 l = m.ResolveAnnotations.Size() 46156 n += 1 + l + sovTypes(uint64(l)) 46157 l = m.SystemAnnotations.Size() 46158 n += 1 + l + sovTypes(uint64(l)) 46159 if len(m.Thresholds) > 0 { 46160 for _, e := range m.Thresholds { 46161 l = e.Size() 46162 n += 1 + l + sovTypes(uint64(l)) 46163 } 46164 } 46165 if len(m.RoleThresholdMapping) > 0 { 46166 for k, v := range m.RoleThresholdMapping { 46167 _ = k 46168 _ = v 46169 l = v.Size() 46170 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + l + sovTypes(uint64(l)) 46171 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 46172 } 46173 } 46174 if len(m.Reviews) > 0 { 46175 for _, e := range m.Reviews { 46176 l = e.Size() 46177 n += 1 + l + sovTypes(uint64(l)) 46178 } 46179 } 46180 if len(m.SuggestedReviewers) > 0 { 46181 for _, s := range m.SuggestedReviewers { 46182 l = len(s) 46183 n += 1 + l + sovTypes(uint64(l)) 46184 } 46185 } 46186 if len(m.RequestedResourceIDs) > 0 { 46187 for _, e := range m.RequestedResourceIDs { 46188 l = e.Size() 46189 n += 1 + l + sovTypes(uint64(l)) 46190 } 46191 } 46192 l = len(m.LoginHint) 46193 if l > 0 { 46194 n += 1 + l + sovTypes(uint64(l)) 46195 } 46196 if m.DryRun { 46197 n += 3 46198 } 46199 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.MaxDuration) 46200 n += 2 + l + sovTypes(uint64(l)) 46201 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.SessionTTL) 46202 n += 2 + l + sovTypes(uint64(l)) 46203 if m.AccessList != nil { 46204 l = m.AccessList.Size() 46205 n += 2 + l + sovTypes(uint64(l)) 46206 } 46207 if m.AssumeStartTime != nil { 46208 l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.AssumeStartTime) 46209 n += 2 + l + sovTypes(uint64(l)) 46210 } 46211 if m.XXX_unrecognized != nil { 46212 n += len(m.XXX_unrecognized) 46213 } 46214 return n 46215 } 46216 46217 func (m *AccessRequestFilter) Size() (n int) { 46218 if m == nil { 46219 return 0 46220 } 46221 var l int 46222 _ = l 46223 l = len(m.ID) 46224 if l > 0 { 46225 n += 1 + l + sovTypes(uint64(l)) 46226 } 46227 l = len(m.User) 46228 if l > 0 { 46229 n += 1 + l + sovTypes(uint64(l)) 46230 } 46231 if m.State != 0 { 46232 n += 1 + sovTypes(uint64(m.State)) 46233 } 46234 if len(m.SearchKeywords) > 0 { 46235 for _, s := range m.SearchKeywords { 46236 l = len(s) 46237 n += 1 + l + sovTypes(uint64(l)) 46238 } 46239 } 46240 if m.Scope != 0 { 46241 n += 1 + sovTypes(uint64(m.Scope)) 46242 } 46243 l = len(m.Requester) 46244 if l > 0 { 46245 n += 1 + l + sovTypes(uint64(l)) 46246 } 46247 if m.XXX_unrecognized != nil { 46248 n += len(m.XXX_unrecognized) 46249 } 46250 return n 46251 } 46252 46253 func (m *AccessCapabilities) Size() (n int) { 46254 if m == nil { 46255 return 0 46256 } 46257 var l int 46258 _ = l 46259 if len(m.RequestableRoles) > 0 { 46260 for _, s := range m.RequestableRoles { 46261 l = len(s) 46262 n += 1 + l + sovTypes(uint64(l)) 46263 } 46264 } 46265 if len(m.SuggestedReviewers) > 0 { 46266 for _, s := range m.SuggestedReviewers { 46267 l = len(s) 46268 n += 1 + l + sovTypes(uint64(l)) 46269 } 46270 } 46271 if len(m.ApplicableRolesForResources) > 0 { 46272 for _, s := range m.ApplicableRolesForResources { 46273 l = len(s) 46274 n += 1 + l + sovTypes(uint64(l)) 46275 } 46276 } 46277 l = len(m.RequestPrompt) 46278 if l > 0 { 46279 n += 1 + l + sovTypes(uint64(l)) 46280 } 46281 if m.RequireReason { 46282 n += 2 46283 } 46284 if m.AutoRequest { 46285 n += 2 46286 } 46287 if m.XXX_unrecognized != nil { 46288 n += len(m.XXX_unrecognized) 46289 } 46290 return n 46291 } 46292 46293 func (m *AccessCapabilitiesRequest) Size() (n int) { 46294 if m == nil { 46295 return 0 46296 } 46297 var l int 46298 _ = l 46299 l = len(m.User) 46300 if l > 0 { 46301 n += 1 + l + sovTypes(uint64(l)) 46302 } 46303 if m.RequestableRoles { 46304 n += 2 46305 } 46306 if m.SuggestedReviewers { 46307 n += 2 46308 } 46309 if len(m.ResourceIDs) > 0 { 46310 for _, e := range m.ResourceIDs { 46311 l = e.Size() 46312 n += 1 + l + sovTypes(uint64(l)) 46313 } 46314 } 46315 l = len(m.Login) 46316 if l > 0 { 46317 n += 1 + l + sovTypes(uint64(l)) 46318 } 46319 if m.FilterRequestableRolesByResource { 46320 n += 2 46321 } 46322 if m.XXX_unrecognized != nil { 46323 n += len(m.XXX_unrecognized) 46324 } 46325 return n 46326 } 46327 46328 func (m *ResourceID) Size() (n int) { 46329 if m == nil { 46330 return 0 46331 } 46332 var l int 46333 _ = l 46334 l = len(m.ClusterName) 46335 if l > 0 { 46336 n += 1 + l + sovTypes(uint64(l)) 46337 } 46338 l = len(m.Kind) 46339 if l > 0 { 46340 n += 1 + l + sovTypes(uint64(l)) 46341 } 46342 l = len(m.Name) 46343 if l > 0 { 46344 n += 1 + l + sovTypes(uint64(l)) 46345 } 46346 l = len(m.SubResourceName) 46347 if l > 0 { 46348 n += 1 + l + sovTypes(uint64(l)) 46349 } 46350 if m.XXX_unrecognized != nil { 46351 n += len(m.XXX_unrecognized) 46352 } 46353 return n 46354 } 46355 46356 func (m *PluginDataV3) Size() (n int) { 46357 if m == nil { 46358 return 0 46359 } 46360 var l int 46361 _ = l 46362 l = len(m.Kind) 46363 if l > 0 { 46364 n += 1 + l + sovTypes(uint64(l)) 46365 } 46366 l = len(m.SubKind) 46367 if l > 0 { 46368 n += 1 + l + sovTypes(uint64(l)) 46369 } 46370 l = len(m.Version) 46371 if l > 0 { 46372 n += 1 + l + sovTypes(uint64(l)) 46373 } 46374 l = m.Metadata.Size() 46375 n += 1 + l + sovTypes(uint64(l)) 46376 l = m.Spec.Size() 46377 n += 1 + l + sovTypes(uint64(l)) 46378 if m.XXX_unrecognized != nil { 46379 n += len(m.XXX_unrecognized) 46380 } 46381 return n 46382 } 46383 46384 func (m *PluginDataEntry) Size() (n int) { 46385 if m == nil { 46386 return 0 46387 } 46388 var l int 46389 _ = l 46390 if len(m.Data) > 0 { 46391 for k, v := range m.Data { 46392 _ = k 46393 _ = v 46394 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v))) 46395 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 46396 } 46397 } 46398 if m.XXX_unrecognized != nil { 46399 n += len(m.XXX_unrecognized) 46400 } 46401 return n 46402 } 46403 46404 func (m *PluginDataSpecV3) Size() (n int) { 46405 if m == nil { 46406 return 0 46407 } 46408 var l int 46409 _ = l 46410 if len(m.Entries) > 0 { 46411 for k, v := range m.Entries { 46412 _ = k 46413 _ = v 46414 l = 0 46415 if v != nil { 46416 l = v.Size() 46417 l += 1 + sovTypes(uint64(l)) 46418 } 46419 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + l 46420 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 46421 } 46422 } 46423 if m.XXX_unrecognized != nil { 46424 n += len(m.XXX_unrecognized) 46425 } 46426 return n 46427 } 46428 46429 func (m *PluginDataFilter) Size() (n int) { 46430 if m == nil { 46431 return 0 46432 } 46433 var l int 46434 _ = l 46435 l = len(m.Kind) 46436 if l > 0 { 46437 n += 1 + l + sovTypes(uint64(l)) 46438 } 46439 l = len(m.Resource) 46440 if l > 0 { 46441 n += 1 + l + sovTypes(uint64(l)) 46442 } 46443 l = len(m.Plugin) 46444 if l > 0 { 46445 n += 1 + l + sovTypes(uint64(l)) 46446 } 46447 if m.XXX_unrecognized != nil { 46448 n += len(m.XXX_unrecognized) 46449 } 46450 return n 46451 } 46452 46453 func (m *PluginDataUpdateParams) Size() (n int) { 46454 if m == nil { 46455 return 0 46456 } 46457 var l int 46458 _ = l 46459 l = len(m.Kind) 46460 if l > 0 { 46461 n += 1 + l + sovTypes(uint64(l)) 46462 } 46463 l = len(m.Resource) 46464 if l > 0 { 46465 n += 1 + l + sovTypes(uint64(l)) 46466 } 46467 l = len(m.Plugin) 46468 if l > 0 { 46469 n += 1 + l + sovTypes(uint64(l)) 46470 } 46471 if len(m.Set) > 0 { 46472 for k, v := range m.Set { 46473 _ = k 46474 _ = v 46475 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v))) 46476 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 46477 } 46478 } 46479 if len(m.Expect) > 0 { 46480 for k, v := range m.Expect { 46481 _ = k 46482 _ = v 46483 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v))) 46484 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 46485 } 46486 } 46487 if m.XXX_unrecognized != nil { 46488 n += len(m.XXX_unrecognized) 46489 } 46490 return n 46491 } 46492 46493 func (m *RoleFilter) Size() (n int) { 46494 if m == nil { 46495 return 0 46496 } 46497 var l int 46498 _ = l 46499 if len(m.SearchKeywords) > 0 { 46500 for _, s := range m.SearchKeywords { 46501 l = len(s) 46502 n += 1 + l + sovTypes(uint64(l)) 46503 } 46504 } 46505 if m.SkipSystemRoles { 46506 n += 2 46507 } 46508 if m.XXX_unrecognized != nil { 46509 n += len(m.XXX_unrecognized) 46510 } 46511 return n 46512 } 46513 46514 func (m *RoleV6) Size() (n int) { 46515 if m == nil { 46516 return 0 46517 } 46518 var l int 46519 _ = l 46520 l = len(m.Kind) 46521 if l > 0 { 46522 n += 1 + l + sovTypes(uint64(l)) 46523 } 46524 l = len(m.SubKind) 46525 if l > 0 { 46526 n += 1 + l + sovTypes(uint64(l)) 46527 } 46528 l = len(m.Version) 46529 if l > 0 { 46530 n += 1 + l + sovTypes(uint64(l)) 46531 } 46532 l = m.Metadata.Size() 46533 n += 1 + l + sovTypes(uint64(l)) 46534 l = m.Spec.Size() 46535 n += 1 + l + sovTypes(uint64(l)) 46536 if m.XXX_unrecognized != nil { 46537 n += len(m.XXX_unrecognized) 46538 } 46539 return n 46540 } 46541 46542 func (m *RoleSpecV6) Size() (n int) { 46543 if m == nil { 46544 return 0 46545 } 46546 var l int 46547 _ = l 46548 l = m.Options.Size() 46549 n += 1 + l + sovTypes(uint64(l)) 46550 l = m.Allow.Size() 46551 n += 1 + l + sovTypes(uint64(l)) 46552 l = m.Deny.Size() 46553 n += 1 + l + sovTypes(uint64(l)) 46554 if m.XXX_unrecognized != nil { 46555 n += len(m.XXX_unrecognized) 46556 } 46557 return n 46558 } 46559 46560 func (m *RoleOptions) Size() (n int) { 46561 if m == nil { 46562 return 0 46563 } 46564 var l int 46565 _ = l 46566 if m.ForwardAgent { 46567 n += 2 46568 } 46569 if m.MaxSessionTTL != 0 { 46570 n += 1 + sovTypes(uint64(m.MaxSessionTTL)) 46571 } 46572 if m.PortForwarding != nil { 46573 l = m.PortForwarding.Size() 46574 n += 1 + l + sovTypes(uint64(l)) 46575 } 46576 l = len(m.CertificateFormat) 46577 if l > 0 { 46578 n += 1 + l + sovTypes(uint64(l)) 46579 } 46580 if m.ClientIdleTimeout != 0 { 46581 n += 1 + sovTypes(uint64(m.ClientIdleTimeout)) 46582 } 46583 if m.DisconnectExpiredCert { 46584 n += 2 46585 } 46586 if len(m.BPF) > 0 { 46587 for _, s := range m.BPF { 46588 l = len(s) 46589 n += 1 + l + sovTypes(uint64(l)) 46590 } 46591 } 46592 if m.PermitX11Forwarding { 46593 n += 2 46594 } 46595 if m.MaxConnections != 0 { 46596 n += 1 + sovTypes(uint64(m.MaxConnections)) 46597 } 46598 if m.MaxSessions != 0 { 46599 n += 1 + sovTypes(uint64(m.MaxSessions)) 46600 } 46601 l = len(m.RequestAccess) 46602 if l > 0 { 46603 n += 1 + l + sovTypes(uint64(l)) 46604 } 46605 l = len(m.RequestPrompt) 46606 if l > 0 { 46607 n += 1 + l + sovTypes(uint64(l)) 46608 } 46609 l = len(m.Lock) 46610 if l > 0 { 46611 n += 1 + l + sovTypes(uint64(l)) 46612 } 46613 if m.RecordSession != nil { 46614 l = m.RecordSession.Size() 46615 n += 1 + l + sovTypes(uint64(l)) 46616 } 46617 if m.DesktopClipboard != nil { 46618 l = m.DesktopClipboard.Size() 46619 n += 2 + l + sovTypes(uint64(l)) 46620 } 46621 if len(m.CertExtensions) > 0 { 46622 for _, e := range m.CertExtensions { 46623 l = e.Size() 46624 n += 2 + l + sovTypes(uint64(l)) 46625 } 46626 } 46627 if m.MaxKubernetesConnections != 0 { 46628 n += 2 + sovTypes(uint64(m.MaxKubernetesConnections)) 46629 } 46630 if m.DesktopDirectorySharing != nil { 46631 l = m.DesktopDirectorySharing.Size() 46632 n += 2 + l + sovTypes(uint64(l)) 46633 } 46634 if m.CreateHostUser != nil { 46635 l = m.CreateHostUser.Size() 46636 n += 2 + l + sovTypes(uint64(l)) 46637 } 46638 if m.PinSourceIP { 46639 n += 3 46640 } 46641 if m.SSHFileCopy != nil { 46642 l = m.SSHFileCopy.Size() 46643 n += 2 + l + sovTypes(uint64(l)) 46644 } 46645 if m.RequireMFAType != 0 { 46646 n += 2 + sovTypes(uint64(m.RequireMFAType)) 46647 } 46648 l = len(m.DeviceTrustMode) 46649 if l > 0 { 46650 n += 2 + l + sovTypes(uint64(l)) 46651 } 46652 if m.IDP != nil { 46653 l = m.IDP.Size() 46654 n += 2 + l + sovTypes(uint64(l)) 46655 } 46656 if m.CreateDesktopUser != nil { 46657 l = m.CreateDesktopUser.Size() 46658 n += 2 + l + sovTypes(uint64(l)) 46659 } 46660 if m.CreateDatabaseUser != nil { 46661 l = m.CreateDatabaseUser.Size() 46662 n += 2 + l + sovTypes(uint64(l)) 46663 } 46664 if m.CreateHostUserMode != 0 { 46665 n += 2 + sovTypes(uint64(m.CreateHostUserMode)) 46666 } 46667 if m.CreateDatabaseUserMode != 0 { 46668 n += 2 + sovTypes(uint64(m.CreateDatabaseUserMode)) 46669 } 46670 if m.XXX_unrecognized != nil { 46671 n += len(m.XXX_unrecognized) 46672 } 46673 return n 46674 } 46675 46676 func (m *RecordSession) Size() (n int) { 46677 if m == nil { 46678 return 0 46679 } 46680 var l int 46681 _ = l 46682 if m.Desktop != nil { 46683 l = m.Desktop.Size() 46684 n += 1 + l + sovTypes(uint64(l)) 46685 } 46686 l = len(m.Default) 46687 if l > 0 { 46688 n += 1 + l + sovTypes(uint64(l)) 46689 } 46690 l = len(m.SSH) 46691 if l > 0 { 46692 n += 1 + l + sovTypes(uint64(l)) 46693 } 46694 if m.XXX_unrecognized != nil { 46695 n += len(m.XXX_unrecognized) 46696 } 46697 return n 46698 } 46699 46700 func (m *CertExtension) Size() (n int) { 46701 if m == nil { 46702 return 0 46703 } 46704 var l int 46705 _ = l 46706 if m.Type != 0 { 46707 n += 1 + sovTypes(uint64(m.Type)) 46708 } 46709 if m.Mode != 0 { 46710 n += 1 + sovTypes(uint64(m.Mode)) 46711 } 46712 l = len(m.Name) 46713 if l > 0 { 46714 n += 1 + l + sovTypes(uint64(l)) 46715 } 46716 l = len(m.Value) 46717 if l > 0 { 46718 n += 1 + l + sovTypes(uint64(l)) 46719 } 46720 if m.XXX_unrecognized != nil { 46721 n += len(m.XXX_unrecognized) 46722 } 46723 return n 46724 } 46725 46726 func (m *RoleConditions) Size() (n int) { 46727 if m == nil { 46728 return 0 46729 } 46730 var l int 46731 _ = l 46732 if len(m.Logins) > 0 { 46733 for _, s := range m.Logins { 46734 l = len(s) 46735 n += 1 + l + sovTypes(uint64(l)) 46736 } 46737 } 46738 if len(m.Namespaces) > 0 { 46739 for _, s := range m.Namespaces { 46740 l = len(s) 46741 n += 1 + l + sovTypes(uint64(l)) 46742 } 46743 } 46744 l = m.NodeLabels.Size() 46745 n += 1 + l + sovTypes(uint64(l)) 46746 if len(m.Rules) > 0 { 46747 for _, e := range m.Rules { 46748 l = e.Size() 46749 n += 1 + l + sovTypes(uint64(l)) 46750 } 46751 } 46752 if len(m.KubeGroups) > 0 { 46753 for _, s := range m.KubeGroups { 46754 l = len(s) 46755 n += 1 + l + sovTypes(uint64(l)) 46756 } 46757 } 46758 if m.Request != nil { 46759 l = m.Request.Size() 46760 n += 1 + l + sovTypes(uint64(l)) 46761 } 46762 if len(m.KubeUsers) > 0 { 46763 for _, s := range m.KubeUsers { 46764 l = len(s) 46765 n += 1 + l + sovTypes(uint64(l)) 46766 } 46767 } 46768 l = m.AppLabels.Size() 46769 n += 1 + l + sovTypes(uint64(l)) 46770 l = m.ClusterLabels.Size() 46771 n += 1 + l + sovTypes(uint64(l)) 46772 l = m.KubernetesLabels.Size() 46773 n += 1 + l + sovTypes(uint64(l)) 46774 l = m.DatabaseLabels.Size() 46775 n += 1 + l + sovTypes(uint64(l)) 46776 if len(m.DatabaseNames) > 0 { 46777 for _, s := range m.DatabaseNames { 46778 l = len(s) 46779 n += 1 + l + sovTypes(uint64(l)) 46780 } 46781 } 46782 if len(m.DatabaseUsers) > 0 { 46783 for _, s := range m.DatabaseUsers { 46784 l = len(s) 46785 n += 1 + l + sovTypes(uint64(l)) 46786 } 46787 } 46788 if m.Impersonate != nil { 46789 l = m.Impersonate.Size() 46790 n += 1 + l + sovTypes(uint64(l)) 46791 } 46792 if m.ReviewRequests != nil { 46793 l = m.ReviewRequests.Size() 46794 n += 1 + l + sovTypes(uint64(l)) 46795 } 46796 if len(m.AWSRoleARNs) > 0 { 46797 for _, s := range m.AWSRoleARNs { 46798 l = len(s) 46799 n += 2 + l + sovTypes(uint64(l)) 46800 } 46801 } 46802 if len(m.WindowsDesktopLogins) > 0 { 46803 for _, s := range m.WindowsDesktopLogins { 46804 l = len(s) 46805 n += 2 + l + sovTypes(uint64(l)) 46806 } 46807 } 46808 l = m.WindowsDesktopLabels.Size() 46809 n += 2 + l + sovTypes(uint64(l)) 46810 if len(m.RequireSessionJoin) > 0 { 46811 for _, e := range m.RequireSessionJoin { 46812 l = e.Size() 46813 n += 2 + l + sovTypes(uint64(l)) 46814 } 46815 } 46816 if len(m.JoinSessions) > 0 { 46817 for _, e := range m.JoinSessions { 46818 l = e.Size() 46819 n += 2 + l + sovTypes(uint64(l)) 46820 } 46821 } 46822 if len(m.HostGroups) > 0 { 46823 for _, s := range m.HostGroups { 46824 l = len(s) 46825 n += 2 + l + sovTypes(uint64(l)) 46826 } 46827 } 46828 if len(m.HostSudoers) > 0 { 46829 for _, s := range m.HostSudoers { 46830 l = len(s) 46831 n += 2 + l + sovTypes(uint64(l)) 46832 } 46833 } 46834 if len(m.AzureIdentities) > 0 { 46835 for _, s := range m.AzureIdentities { 46836 l = len(s) 46837 n += 2 + l + sovTypes(uint64(l)) 46838 } 46839 } 46840 if len(m.KubernetesResources) > 0 { 46841 for _, e := range m.KubernetesResources { 46842 l = e.Size() 46843 n += 2 + l + sovTypes(uint64(l)) 46844 } 46845 } 46846 if len(m.GCPServiceAccounts) > 0 { 46847 for _, s := range m.GCPServiceAccounts { 46848 l = len(s) 46849 n += 2 + l + sovTypes(uint64(l)) 46850 } 46851 } 46852 l = m.DatabaseServiceLabels.Size() 46853 n += 2 + l + sovTypes(uint64(l)) 46854 l = m.GroupLabels.Size() 46855 n += 2 + l + sovTypes(uint64(l)) 46856 if len(m.DesktopGroups) > 0 { 46857 for _, s := range m.DesktopGroups { 46858 l = len(s) 46859 n += 2 + l + sovTypes(uint64(l)) 46860 } 46861 } 46862 if len(m.DatabaseRoles) > 0 { 46863 for _, s := range m.DatabaseRoles { 46864 l = len(s) 46865 n += 2 + l + sovTypes(uint64(l)) 46866 } 46867 } 46868 l = len(m.NodeLabelsExpression) 46869 if l > 0 { 46870 n += 2 + l + sovTypes(uint64(l)) 46871 } 46872 l = len(m.AppLabelsExpression) 46873 if l > 0 { 46874 n += 2 + l + sovTypes(uint64(l)) 46875 } 46876 l = len(m.ClusterLabelsExpression) 46877 if l > 0 { 46878 n += 2 + l + sovTypes(uint64(l)) 46879 } 46880 l = len(m.KubernetesLabelsExpression) 46881 if l > 0 { 46882 n += 2 + l + sovTypes(uint64(l)) 46883 } 46884 l = len(m.DatabaseLabelsExpression) 46885 if l > 0 { 46886 n += 2 + l + sovTypes(uint64(l)) 46887 } 46888 l = len(m.DatabaseServiceLabelsExpression) 46889 if l > 0 { 46890 n += 2 + l + sovTypes(uint64(l)) 46891 } 46892 l = len(m.WindowsDesktopLabelsExpression) 46893 if l > 0 { 46894 n += 2 + l + sovTypes(uint64(l)) 46895 } 46896 l = len(m.GroupLabelsExpression) 46897 if l > 0 { 46898 n += 2 + l + sovTypes(uint64(l)) 46899 } 46900 if len(m.DatabasePermissions) > 0 { 46901 for _, e := range m.DatabasePermissions { 46902 l = e.Size() 46903 n += 2 + l + sovTypes(uint64(l)) 46904 } 46905 } 46906 if len(m.SPIFFE) > 0 { 46907 for _, e := range m.SPIFFE { 46908 l = e.Size() 46909 n += 2 + l + sovTypes(uint64(l)) 46910 } 46911 } 46912 if m.XXX_unrecognized != nil { 46913 n += len(m.XXX_unrecognized) 46914 } 46915 return n 46916 } 46917 46918 func (m *SPIFFERoleCondition) Size() (n int) { 46919 if m == nil { 46920 return 0 46921 } 46922 var l int 46923 _ = l 46924 l = len(m.Path) 46925 if l > 0 { 46926 n += 1 + l + sovTypes(uint64(l)) 46927 } 46928 if len(m.DNSSANs) > 0 { 46929 for _, s := range m.DNSSANs { 46930 l = len(s) 46931 n += 1 + l + sovTypes(uint64(l)) 46932 } 46933 } 46934 if len(m.IPSANs) > 0 { 46935 for _, s := range m.IPSANs { 46936 l = len(s) 46937 n += 1 + l + sovTypes(uint64(l)) 46938 } 46939 } 46940 if m.XXX_unrecognized != nil { 46941 n += len(m.XXX_unrecognized) 46942 } 46943 return n 46944 } 46945 46946 func (m *DatabasePermission) Size() (n int) { 46947 if m == nil { 46948 return 0 46949 } 46950 var l int 46951 _ = l 46952 if len(m.Permissions) > 0 { 46953 for _, s := range m.Permissions { 46954 l = len(s) 46955 n += 1 + l + sovTypes(uint64(l)) 46956 } 46957 } 46958 l = m.Match.Size() 46959 n += 1 + l + sovTypes(uint64(l)) 46960 if m.XXX_unrecognized != nil { 46961 n += len(m.XXX_unrecognized) 46962 } 46963 return n 46964 } 46965 46966 func (m *KubernetesResource) Size() (n int) { 46967 if m == nil { 46968 return 0 46969 } 46970 var l int 46971 _ = l 46972 l = len(m.Kind) 46973 if l > 0 { 46974 n += 1 + l + sovTypes(uint64(l)) 46975 } 46976 l = len(m.Namespace) 46977 if l > 0 { 46978 n += 1 + l + sovTypes(uint64(l)) 46979 } 46980 l = len(m.Name) 46981 if l > 0 { 46982 n += 1 + l + sovTypes(uint64(l)) 46983 } 46984 if len(m.Verbs) > 0 { 46985 for _, s := range m.Verbs { 46986 l = len(s) 46987 n += 1 + l + sovTypes(uint64(l)) 46988 } 46989 } 46990 if m.XXX_unrecognized != nil { 46991 n += len(m.XXX_unrecognized) 46992 } 46993 return n 46994 } 46995 46996 func (m *SessionRequirePolicy) Size() (n int) { 46997 if m == nil { 46998 return 0 46999 } 47000 var l int 47001 _ = l 47002 l = len(m.Name) 47003 if l > 0 { 47004 n += 1 + l + sovTypes(uint64(l)) 47005 } 47006 l = len(m.Filter) 47007 if l > 0 { 47008 n += 1 + l + sovTypes(uint64(l)) 47009 } 47010 if len(m.Kinds) > 0 { 47011 for _, s := range m.Kinds { 47012 l = len(s) 47013 n += 1 + l + sovTypes(uint64(l)) 47014 } 47015 } 47016 if m.Count != 0 { 47017 n += 1 + sovTypes(uint64(m.Count)) 47018 } 47019 if len(m.Modes) > 0 { 47020 for _, s := range m.Modes { 47021 l = len(s) 47022 n += 1 + l + sovTypes(uint64(l)) 47023 } 47024 } 47025 l = len(m.OnLeave) 47026 if l > 0 { 47027 n += 1 + l + sovTypes(uint64(l)) 47028 } 47029 if m.XXX_unrecognized != nil { 47030 n += len(m.XXX_unrecognized) 47031 } 47032 return n 47033 } 47034 47035 func (m *SessionJoinPolicy) Size() (n int) { 47036 if m == nil { 47037 return 0 47038 } 47039 var l int 47040 _ = l 47041 l = len(m.Name) 47042 if l > 0 { 47043 n += 1 + l + sovTypes(uint64(l)) 47044 } 47045 if len(m.Roles) > 0 { 47046 for _, s := range m.Roles { 47047 l = len(s) 47048 n += 1 + l + sovTypes(uint64(l)) 47049 } 47050 } 47051 if len(m.Kinds) > 0 { 47052 for _, s := range m.Kinds { 47053 l = len(s) 47054 n += 1 + l + sovTypes(uint64(l)) 47055 } 47056 } 47057 if len(m.Modes) > 0 { 47058 for _, s := range m.Modes { 47059 l = len(s) 47060 n += 1 + l + sovTypes(uint64(l)) 47061 } 47062 } 47063 if m.XXX_unrecognized != nil { 47064 n += len(m.XXX_unrecognized) 47065 } 47066 return n 47067 } 47068 47069 func (m *AccessRequestConditions) Size() (n int) { 47070 if m == nil { 47071 return 0 47072 } 47073 var l int 47074 _ = l 47075 if len(m.Roles) > 0 { 47076 for _, s := range m.Roles { 47077 l = len(s) 47078 n += 1 + l + sovTypes(uint64(l)) 47079 } 47080 } 47081 if len(m.ClaimsToRoles) > 0 { 47082 for _, e := range m.ClaimsToRoles { 47083 l = e.Size() 47084 n += 1 + l + sovTypes(uint64(l)) 47085 } 47086 } 47087 l = m.Annotations.Size() 47088 n += 1 + l + sovTypes(uint64(l)) 47089 if len(m.Thresholds) > 0 { 47090 for _, e := range m.Thresholds { 47091 l = e.Size() 47092 n += 1 + l + sovTypes(uint64(l)) 47093 } 47094 } 47095 if len(m.SuggestedReviewers) > 0 { 47096 for _, s := range m.SuggestedReviewers { 47097 l = len(s) 47098 n += 1 + l + sovTypes(uint64(l)) 47099 } 47100 } 47101 if len(m.SearchAsRoles) > 0 { 47102 for _, s := range m.SearchAsRoles { 47103 l = len(s) 47104 n += 1 + l + sovTypes(uint64(l)) 47105 } 47106 } 47107 if m.MaxDuration != 0 { 47108 n += 1 + sovTypes(uint64(m.MaxDuration)) 47109 } 47110 if m.XXX_unrecognized != nil { 47111 n += len(m.XXX_unrecognized) 47112 } 47113 return n 47114 } 47115 47116 func (m *AccessReviewConditions) Size() (n int) { 47117 if m == nil { 47118 return 0 47119 } 47120 var l int 47121 _ = l 47122 if len(m.Roles) > 0 { 47123 for _, s := range m.Roles { 47124 l = len(s) 47125 n += 1 + l + sovTypes(uint64(l)) 47126 } 47127 } 47128 if len(m.ClaimsToRoles) > 0 { 47129 for _, e := range m.ClaimsToRoles { 47130 l = e.Size() 47131 n += 1 + l + sovTypes(uint64(l)) 47132 } 47133 } 47134 l = len(m.Where) 47135 if l > 0 { 47136 n += 1 + l + sovTypes(uint64(l)) 47137 } 47138 if len(m.PreviewAsRoles) > 0 { 47139 for _, s := range m.PreviewAsRoles { 47140 l = len(s) 47141 n += 1 + l + sovTypes(uint64(l)) 47142 } 47143 } 47144 if m.XXX_unrecognized != nil { 47145 n += len(m.XXX_unrecognized) 47146 } 47147 return n 47148 } 47149 47150 func (m *AccessRequestAllowedPromotion) Size() (n int) { 47151 if m == nil { 47152 return 0 47153 } 47154 var l int 47155 _ = l 47156 l = len(m.AccessListName) 47157 if l > 0 { 47158 n += 1 + l + sovTypes(uint64(l)) 47159 } 47160 if m.XXX_unrecognized != nil { 47161 n += len(m.XXX_unrecognized) 47162 } 47163 return n 47164 } 47165 47166 func (m *AccessRequestAllowedPromotions) Size() (n int) { 47167 if m == nil { 47168 return 0 47169 } 47170 var l int 47171 _ = l 47172 if len(m.Promotions) > 0 { 47173 for _, e := range m.Promotions { 47174 l = e.Size() 47175 n += 1 + l + sovTypes(uint64(l)) 47176 } 47177 } 47178 if m.XXX_unrecognized != nil { 47179 n += len(m.XXX_unrecognized) 47180 } 47181 return n 47182 } 47183 47184 func (m *ClaimMapping) Size() (n int) { 47185 if m == nil { 47186 return 0 47187 } 47188 var l int 47189 _ = l 47190 l = len(m.Claim) 47191 if l > 0 { 47192 n += 1 + l + sovTypes(uint64(l)) 47193 } 47194 l = len(m.Value) 47195 if l > 0 { 47196 n += 1 + l + sovTypes(uint64(l)) 47197 } 47198 if len(m.Roles) > 0 { 47199 for _, s := range m.Roles { 47200 l = len(s) 47201 n += 1 + l + sovTypes(uint64(l)) 47202 } 47203 } 47204 if m.XXX_unrecognized != nil { 47205 n += len(m.XXX_unrecognized) 47206 } 47207 return n 47208 } 47209 47210 func (m *TraitMapping) Size() (n int) { 47211 if m == nil { 47212 return 0 47213 } 47214 var l int 47215 _ = l 47216 l = len(m.Trait) 47217 if l > 0 { 47218 n += 1 + l + sovTypes(uint64(l)) 47219 } 47220 l = len(m.Value) 47221 if l > 0 { 47222 n += 1 + l + sovTypes(uint64(l)) 47223 } 47224 if len(m.Roles) > 0 { 47225 for _, s := range m.Roles { 47226 l = len(s) 47227 n += 1 + l + sovTypes(uint64(l)) 47228 } 47229 } 47230 if m.XXX_unrecognized != nil { 47231 n += len(m.XXX_unrecognized) 47232 } 47233 return n 47234 } 47235 47236 func (m *Rule) Size() (n int) { 47237 if m == nil { 47238 return 0 47239 } 47240 var l int 47241 _ = l 47242 if len(m.Resources) > 0 { 47243 for _, s := range m.Resources { 47244 l = len(s) 47245 n += 1 + l + sovTypes(uint64(l)) 47246 } 47247 } 47248 if len(m.Verbs) > 0 { 47249 for _, s := range m.Verbs { 47250 l = len(s) 47251 n += 1 + l + sovTypes(uint64(l)) 47252 } 47253 } 47254 l = len(m.Where) 47255 if l > 0 { 47256 n += 1 + l + sovTypes(uint64(l)) 47257 } 47258 if len(m.Actions) > 0 { 47259 for _, s := range m.Actions { 47260 l = len(s) 47261 n += 1 + l + sovTypes(uint64(l)) 47262 } 47263 } 47264 if m.XXX_unrecognized != nil { 47265 n += len(m.XXX_unrecognized) 47266 } 47267 return n 47268 } 47269 47270 func (m *ImpersonateConditions) Size() (n int) { 47271 if m == nil { 47272 return 0 47273 } 47274 var l int 47275 _ = l 47276 if len(m.Users) > 0 { 47277 for _, s := range m.Users { 47278 l = len(s) 47279 n += 1 + l + sovTypes(uint64(l)) 47280 } 47281 } 47282 if len(m.Roles) > 0 { 47283 for _, s := range m.Roles { 47284 l = len(s) 47285 n += 1 + l + sovTypes(uint64(l)) 47286 } 47287 } 47288 l = len(m.Where) 47289 if l > 0 { 47290 n += 1 + l + sovTypes(uint64(l)) 47291 } 47292 if m.XXX_unrecognized != nil { 47293 n += len(m.XXX_unrecognized) 47294 } 47295 return n 47296 } 47297 47298 func (m *BoolValue) Size() (n int) { 47299 if m == nil { 47300 return 0 47301 } 47302 var l int 47303 _ = l 47304 if m.Value { 47305 n += 2 47306 } 47307 if m.XXX_unrecognized != nil { 47308 n += len(m.XXX_unrecognized) 47309 } 47310 return n 47311 } 47312 47313 func (m *UserFilter) Size() (n int) { 47314 if m == nil { 47315 return 0 47316 } 47317 var l int 47318 _ = l 47319 if len(m.SearchKeywords) > 0 { 47320 for _, s := range m.SearchKeywords { 47321 l = len(s) 47322 n += 1 + l + sovTypes(uint64(l)) 47323 } 47324 } 47325 if m.XXX_unrecognized != nil { 47326 n += len(m.XXX_unrecognized) 47327 } 47328 return n 47329 } 47330 47331 func (m *UserV2) Size() (n int) { 47332 if m == nil { 47333 return 0 47334 } 47335 var l int 47336 _ = l 47337 l = len(m.Kind) 47338 if l > 0 { 47339 n += 1 + l + sovTypes(uint64(l)) 47340 } 47341 l = len(m.SubKind) 47342 if l > 0 { 47343 n += 1 + l + sovTypes(uint64(l)) 47344 } 47345 l = len(m.Version) 47346 if l > 0 { 47347 n += 1 + l + sovTypes(uint64(l)) 47348 } 47349 l = m.Metadata.Size() 47350 n += 1 + l + sovTypes(uint64(l)) 47351 l = m.Spec.Size() 47352 n += 1 + l + sovTypes(uint64(l)) 47353 l = m.Status.Size() 47354 n += 1 + l + sovTypes(uint64(l)) 47355 if m.XXX_unrecognized != nil { 47356 n += len(m.XXX_unrecognized) 47357 } 47358 return n 47359 } 47360 47361 func (m *UserStatusV2) Size() (n int) { 47362 if m == nil { 47363 return 0 47364 } 47365 var l int 47366 _ = l 47367 if m.PasswordState != 0 { 47368 n += 1 + sovTypes(uint64(m.PasswordState)) 47369 } 47370 if m.XXX_unrecognized != nil { 47371 n += len(m.XXX_unrecognized) 47372 } 47373 return n 47374 } 47375 47376 func (m *UserSpecV2) Size() (n int) { 47377 if m == nil { 47378 return 0 47379 } 47380 var l int 47381 _ = l 47382 if len(m.OIDCIdentities) > 0 { 47383 for _, e := range m.OIDCIdentities { 47384 l = e.Size() 47385 n += 1 + l + sovTypes(uint64(l)) 47386 } 47387 } 47388 if len(m.SAMLIdentities) > 0 { 47389 for _, e := range m.SAMLIdentities { 47390 l = e.Size() 47391 n += 1 + l + sovTypes(uint64(l)) 47392 } 47393 } 47394 if len(m.GithubIdentities) > 0 { 47395 for _, e := range m.GithubIdentities { 47396 l = e.Size() 47397 n += 1 + l + sovTypes(uint64(l)) 47398 } 47399 } 47400 if len(m.Roles) > 0 { 47401 for _, s := range m.Roles { 47402 l = len(s) 47403 n += 1 + l + sovTypes(uint64(l)) 47404 } 47405 } 47406 l = m.Traits.Size() 47407 n += 1 + l + sovTypes(uint64(l)) 47408 l = m.Status.Size() 47409 n += 1 + l + sovTypes(uint64(l)) 47410 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires) 47411 n += 1 + l + sovTypes(uint64(l)) 47412 l = m.CreatedBy.Size() 47413 n += 1 + l + sovTypes(uint64(l)) 47414 if m.LocalAuth != nil { 47415 l = m.LocalAuth.Size() 47416 n += 1 + l + sovTypes(uint64(l)) 47417 } 47418 if len(m.TrustedDeviceIDs) > 0 { 47419 for _, s := range m.TrustedDeviceIDs { 47420 l = len(s) 47421 n += 1 + l + sovTypes(uint64(l)) 47422 } 47423 } 47424 if m.XXX_unrecognized != nil { 47425 n += len(m.XXX_unrecognized) 47426 } 47427 return n 47428 } 47429 47430 func (m *ExternalIdentity) Size() (n int) { 47431 if m == nil { 47432 return 0 47433 } 47434 var l int 47435 _ = l 47436 l = len(m.ConnectorID) 47437 if l > 0 { 47438 n += 1 + l + sovTypes(uint64(l)) 47439 } 47440 l = len(m.Username) 47441 if l > 0 { 47442 n += 1 + l + sovTypes(uint64(l)) 47443 } 47444 if m.XXX_unrecognized != nil { 47445 n += len(m.XXX_unrecognized) 47446 } 47447 return n 47448 } 47449 47450 func (m *LoginStatus) Size() (n int) { 47451 if m == nil { 47452 return 0 47453 } 47454 var l int 47455 _ = l 47456 if m.IsLocked { 47457 n += 2 47458 } 47459 l = len(m.LockedMessage) 47460 if l > 0 { 47461 n += 1 + l + sovTypes(uint64(l)) 47462 } 47463 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.LockedTime) 47464 n += 1 + l + sovTypes(uint64(l)) 47465 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.LockExpires) 47466 n += 1 + l + sovTypes(uint64(l)) 47467 if m.XXX_unrecognized != nil { 47468 n += len(m.XXX_unrecognized) 47469 } 47470 return n 47471 } 47472 47473 func (m *CreatedBy) Size() (n int) { 47474 if m == nil { 47475 return 0 47476 } 47477 var l int 47478 _ = l 47479 if m.Connector != nil { 47480 l = m.Connector.Size() 47481 n += 1 + l + sovTypes(uint64(l)) 47482 } 47483 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Time) 47484 n += 1 + l + sovTypes(uint64(l)) 47485 l = m.User.Size() 47486 n += 1 + l + sovTypes(uint64(l)) 47487 if m.XXX_unrecognized != nil { 47488 n += len(m.XXX_unrecognized) 47489 } 47490 return n 47491 } 47492 47493 func (m *LocalAuthSecrets) Size() (n int) { 47494 if m == nil { 47495 return 0 47496 } 47497 var l int 47498 _ = l 47499 l = len(m.PasswordHash) 47500 if l > 0 { 47501 n += 1 + l + sovTypes(uint64(l)) 47502 } 47503 l = len(m.TOTPKey) 47504 if l > 0 { 47505 n += 1 + l + sovTypes(uint64(l)) 47506 } 47507 if len(m.MFA) > 0 { 47508 for _, e := range m.MFA { 47509 l = e.Size() 47510 n += 1 + l + sovTypes(uint64(l)) 47511 } 47512 } 47513 if m.Webauthn != nil { 47514 l = m.Webauthn.Size() 47515 n += 1 + l + sovTypes(uint64(l)) 47516 } 47517 if m.XXX_unrecognized != nil { 47518 n += len(m.XXX_unrecognized) 47519 } 47520 return n 47521 } 47522 47523 func (m *MFADevice) Size() (n int) { 47524 if m == nil { 47525 return 0 47526 } 47527 var l int 47528 _ = l 47529 l = len(m.Kind) 47530 if l > 0 { 47531 n += 1 + l + sovTypes(uint64(l)) 47532 } 47533 l = len(m.SubKind) 47534 if l > 0 { 47535 n += 1 + l + sovTypes(uint64(l)) 47536 } 47537 l = len(m.Version) 47538 if l > 0 { 47539 n += 1 + l + sovTypes(uint64(l)) 47540 } 47541 l = m.Metadata.Size() 47542 n += 1 + l + sovTypes(uint64(l)) 47543 l = len(m.Id) 47544 if l > 0 { 47545 n += 1 + l + sovTypes(uint64(l)) 47546 } 47547 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.AddedAt) 47548 n += 1 + l + sovTypes(uint64(l)) 47549 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.LastUsed) 47550 n += 1 + l + sovTypes(uint64(l)) 47551 if m.Device != nil { 47552 n += m.Device.Size() 47553 } 47554 if m.XXX_unrecognized != nil { 47555 n += len(m.XXX_unrecognized) 47556 } 47557 return n 47558 } 47559 47560 func (m *MFADevice_Totp) Size() (n int) { 47561 if m == nil { 47562 return 0 47563 } 47564 var l int 47565 _ = l 47566 if m.Totp != nil { 47567 l = m.Totp.Size() 47568 n += 1 + l + sovTypes(uint64(l)) 47569 } 47570 return n 47571 } 47572 func (m *MFADevice_U2F) Size() (n int) { 47573 if m == nil { 47574 return 0 47575 } 47576 var l int 47577 _ = l 47578 if m.U2F != nil { 47579 l = m.U2F.Size() 47580 n += 1 + l + sovTypes(uint64(l)) 47581 } 47582 return n 47583 } 47584 func (m *MFADevice_Webauthn) Size() (n int) { 47585 if m == nil { 47586 return 0 47587 } 47588 var l int 47589 _ = l 47590 if m.Webauthn != nil { 47591 l = m.Webauthn.Size() 47592 n += 1 + l + sovTypes(uint64(l)) 47593 } 47594 return n 47595 } 47596 func (m *TOTPDevice) Size() (n int) { 47597 if m == nil { 47598 return 0 47599 } 47600 var l int 47601 _ = l 47602 l = len(m.Key) 47603 if l > 0 { 47604 n += 1 + l + sovTypes(uint64(l)) 47605 } 47606 if m.XXX_unrecognized != nil { 47607 n += len(m.XXX_unrecognized) 47608 } 47609 return n 47610 } 47611 47612 func (m *U2FDevice) Size() (n int) { 47613 if m == nil { 47614 return 0 47615 } 47616 var l int 47617 _ = l 47618 l = len(m.KeyHandle) 47619 if l > 0 { 47620 n += 1 + l + sovTypes(uint64(l)) 47621 } 47622 l = len(m.PubKey) 47623 if l > 0 { 47624 n += 1 + l + sovTypes(uint64(l)) 47625 } 47626 if m.Counter != 0 { 47627 n += 1 + sovTypes(uint64(m.Counter)) 47628 } 47629 if m.XXX_unrecognized != nil { 47630 n += len(m.XXX_unrecognized) 47631 } 47632 return n 47633 } 47634 47635 func (m *WebauthnDevice) Size() (n int) { 47636 if m == nil { 47637 return 0 47638 } 47639 var l int 47640 _ = l 47641 l = len(m.CredentialId) 47642 if l > 0 { 47643 n += 1 + l + sovTypes(uint64(l)) 47644 } 47645 l = len(m.PublicKeyCbor) 47646 if l > 0 { 47647 n += 1 + l + sovTypes(uint64(l)) 47648 } 47649 l = len(m.AttestationType) 47650 if l > 0 { 47651 n += 1 + l + sovTypes(uint64(l)) 47652 } 47653 l = len(m.Aaguid) 47654 if l > 0 { 47655 n += 1 + l + sovTypes(uint64(l)) 47656 } 47657 if m.SignatureCounter != 0 { 47658 n += 1 + sovTypes(uint64(m.SignatureCounter)) 47659 } 47660 l = len(m.AttestationObject) 47661 if l > 0 { 47662 n += 1 + l + sovTypes(uint64(l)) 47663 } 47664 if m.ResidentKey { 47665 n += 2 47666 } 47667 l = len(m.CredentialRpId) 47668 if l > 0 { 47669 n += 1 + l + sovTypes(uint64(l)) 47670 } 47671 if m.XXX_unrecognized != nil { 47672 n += len(m.XXX_unrecognized) 47673 } 47674 return n 47675 } 47676 47677 func (m *WebauthnLocalAuth) Size() (n int) { 47678 if m == nil { 47679 return 0 47680 } 47681 var l int 47682 _ = l 47683 l = len(m.UserID) 47684 if l > 0 { 47685 n += 1 + l + sovTypes(uint64(l)) 47686 } 47687 if m.XXX_unrecognized != nil { 47688 n += len(m.XXX_unrecognized) 47689 } 47690 return n 47691 } 47692 47693 func (m *ConnectorRef) Size() (n int) { 47694 if m == nil { 47695 return 0 47696 } 47697 var l int 47698 _ = l 47699 l = len(m.Type) 47700 if l > 0 { 47701 n += 1 + l + sovTypes(uint64(l)) 47702 } 47703 l = len(m.ID) 47704 if l > 0 { 47705 n += 1 + l + sovTypes(uint64(l)) 47706 } 47707 l = len(m.Identity) 47708 if l > 0 { 47709 n += 1 + l + sovTypes(uint64(l)) 47710 } 47711 if m.XXX_unrecognized != nil { 47712 n += len(m.XXX_unrecognized) 47713 } 47714 return n 47715 } 47716 47717 func (m *UserRef) Size() (n int) { 47718 if m == nil { 47719 return 0 47720 } 47721 var l int 47722 _ = l 47723 l = len(m.Name) 47724 if l > 0 { 47725 n += 1 + l + sovTypes(uint64(l)) 47726 } 47727 if m.XXX_unrecognized != nil { 47728 n += len(m.XXX_unrecognized) 47729 } 47730 return n 47731 } 47732 47733 func (m *ReverseTunnelV2) Size() (n int) { 47734 if m == nil { 47735 return 0 47736 } 47737 var l int 47738 _ = l 47739 l = len(m.Kind) 47740 if l > 0 { 47741 n += 1 + l + sovTypes(uint64(l)) 47742 } 47743 l = len(m.SubKind) 47744 if l > 0 { 47745 n += 1 + l + sovTypes(uint64(l)) 47746 } 47747 l = len(m.Version) 47748 if l > 0 { 47749 n += 1 + l + sovTypes(uint64(l)) 47750 } 47751 l = m.Metadata.Size() 47752 n += 1 + l + sovTypes(uint64(l)) 47753 l = m.Spec.Size() 47754 n += 1 + l + sovTypes(uint64(l)) 47755 if m.XXX_unrecognized != nil { 47756 n += len(m.XXX_unrecognized) 47757 } 47758 return n 47759 } 47760 47761 func (m *ReverseTunnelSpecV2) Size() (n int) { 47762 if m == nil { 47763 return 0 47764 } 47765 var l int 47766 _ = l 47767 l = len(m.ClusterName) 47768 if l > 0 { 47769 n += 1 + l + sovTypes(uint64(l)) 47770 } 47771 if len(m.DialAddrs) > 0 { 47772 for _, s := range m.DialAddrs { 47773 l = len(s) 47774 n += 1 + l + sovTypes(uint64(l)) 47775 } 47776 } 47777 l = len(m.Type) 47778 if l > 0 { 47779 n += 1 + l + sovTypes(uint64(l)) 47780 } 47781 if m.XXX_unrecognized != nil { 47782 n += len(m.XXX_unrecognized) 47783 } 47784 return n 47785 } 47786 47787 func (m *TunnelConnectionV2) Size() (n int) { 47788 if m == nil { 47789 return 0 47790 } 47791 var l int 47792 _ = l 47793 l = len(m.Kind) 47794 if l > 0 { 47795 n += 1 + l + sovTypes(uint64(l)) 47796 } 47797 l = len(m.SubKind) 47798 if l > 0 { 47799 n += 1 + l + sovTypes(uint64(l)) 47800 } 47801 l = len(m.Version) 47802 if l > 0 { 47803 n += 1 + l + sovTypes(uint64(l)) 47804 } 47805 l = m.Metadata.Size() 47806 n += 1 + l + sovTypes(uint64(l)) 47807 l = m.Spec.Size() 47808 n += 1 + l + sovTypes(uint64(l)) 47809 if m.XXX_unrecognized != nil { 47810 n += len(m.XXX_unrecognized) 47811 } 47812 return n 47813 } 47814 47815 func (m *TunnelConnectionSpecV2) Size() (n int) { 47816 if m == nil { 47817 return 0 47818 } 47819 var l int 47820 _ = l 47821 l = len(m.ClusterName) 47822 if l > 0 { 47823 n += 1 + l + sovTypes(uint64(l)) 47824 } 47825 l = len(m.ProxyName) 47826 if l > 0 { 47827 n += 1 + l + sovTypes(uint64(l)) 47828 } 47829 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.LastHeartbeat) 47830 n += 1 + l + sovTypes(uint64(l)) 47831 l = len(m.Type) 47832 if l > 0 { 47833 n += 1 + l + sovTypes(uint64(l)) 47834 } 47835 if m.XXX_unrecognized != nil { 47836 n += len(m.XXX_unrecognized) 47837 } 47838 return n 47839 } 47840 47841 func (m *SemaphoreFilter) Size() (n int) { 47842 if m == nil { 47843 return 0 47844 } 47845 var l int 47846 _ = l 47847 l = len(m.SemaphoreKind) 47848 if l > 0 { 47849 n += 1 + l + sovTypes(uint64(l)) 47850 } 47851 l = len(m.SemaphoreName) 47852 if l > 0 { 47853 n += 1 + l + sovTypes(uint64(l)) 47854 } 47855 if m.XXX_unrecognized != nil { 47856 n += len(m.XXX_unrecognized) 47857 } 47858 return n 47859 } 47860 47861 func (m *AcquireSemaphoreRequest) Size() (n int) { 47862 if m == nil { 47863 return 0 47864 } 47865 var l int 47866 _ = l 47867 l = len(m.SemaphoreKind) 47868 if l > 0 { 47869 n += 1 + l + sovTypes(uint64(l)) 47870 } 47871 l = len(m.SemaphoreName) 47872 if l > 0 { 47873 n += 1 + l + sovTypes(uint64(l)) 47874 } 47875 if m.MaxLeases != 0 { 47876 n += 1 + sovTypes(uint64(m.MaxLeases)) 47877 } 47878 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires) 47879 n += 1 + l + sovTypes(uint64(l)) 47880 l = len(m.Holder) 47881 if l > 0 { 47882 n += 1 + l + sovTypes(uint64(l)) 47883 } 47884 if m.XXX_unrecognized != nil { 47885 n += len(m.XXX_unrecognized) 47886 } 47887 return n 47888 } 47889 47890 func (m *SemaphoreLease) Size() (n int) { 47891 if m == nil { 47892 return 0 47893 } 47894 var l int 47895 _ = l 47896 l = len(m.SemaphoreKind) 47897 if l > 0 { 47898 n += 1 + l + sovTypes(uint64(l)) 47899 } 47900 l = len(m.SemaphoreName) 47901 if l > 0 { 47902 n += 1 + l + sovTypes(uint64(l)) 47903 } 47904 l = len(m.LeaseID) 47905 if l > 0 { 47906 n += 1 + l + sovTypes(uint64(l)) 47907 } 47908 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires) 47909 n += 1 + l + sovTypes(uint64(l)) 47910 if m.XXX_unrecognized != nil { 47911 n += len(m.XXX_unrecognized) 47912 } 47913 return n 47914 } 47915 47916 func (m *SemaphoreLeaseRef) Size() (n int) { 47917 if m == nil { 47918 return 0 47919 } 47920 var l int 47921 _ = l 47922 l = len(m.LeaseID) 47923 if l > 0 { 47924 n += 1 + l + sovTypes(uint64(l)) 47925 } 47926 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires) 47927 n += 1 + l + sovTypes(uint64(l)) 47928 l = len(m.Holder) 47929 if l > 0 { 47930 n += 1 + l + sovTypes(uint64(l)) 47931 } 47932 if m.XXX_unrecognized != nil { 47933 n += len(m.XXX_unrecognized) 47934 } 47935 return n 47936 } 47937 47938 func (m *SemaphoreV3) Size() (n int) { 47939 if m == nil { 47940 return 0 47941 } 47942 var l int 47943 _ = l 47944 l = len(m.Kind) 47945 if l > 0 { 47946 n += 1 + l + sovTypes(uint64(l)) 47947 } 47948 l = len(m.SubKind) 47949 if l > 0 { 47950 n += 1 + l + sovTypes(uint64(l)) 47951 } 47952 l = len(m.Version) 47953 if l > 0 { 47954 n += 1 + l + sovTypes(uint64(l)) 47955 } 47956 l = m.Metadata.Size() 47957 n += 1 + l + sovTypes(uint64(l)) 47958 l = m.Spec.Size() 47959 n += 1 + l + sovTypes(uint64(l)) 47960 if m.XXX_unrecognized != nil { 47961 n += len(m.XXX_unrecognized) 47962 } 47963 return n 47964 } 47965 47966 func (m *SemaphoreSpecV3) Size() (n int) { 47967 if m == nil { 47968 return 0 47969 } 47970 var l int 47971 _ = l 47972 if len(m.Leases) > 0 { 47973 for _, e := range m.Leases { 47974 l = e.Size() 47975 n += 1 + l + sovTypes(uint64(l)) 47976 } 47977 } 47978 if m.XXX_unrecognized != nil { 47979 n += len(m.XXX_unrecognized) 47980 } 47981 return n 47982 } 47983 47984 func (m *WebSessionV2) Size() (n int) { 47985 if m == nil { 47986 return 0 47987 } 47988 var l int 47989 _ = l 47990 l = len(m.Kind) 47991 if l > 0 { 47992 n += 1 + l + sovTypes(uint64(l)) 47993 } 47994 l = len(m.SubKind) 47995 if l > 0 { 47996 n += 1 + l + sovTypes(uint64(l)) 47997 } 47998 l = len(m.Version) 47999 if l > 0 { 48000 n += 1 + l + sovTypes(uint64(l)) 48001 } 48002 l = m.Metadata.Size() 48003 n += 1 + l + sovTypes(uint64(l)) 48004 l = m.Spec.Size() 48005 n += 1 + l + sovTypes(uint64(l)) 48006 if m.XXX_unrecognized != nil { 48007 n += len(m.XXX_unrecognized) 48008 } 48009 return n 48010 } 48011 48012 func (m *WebSessionSpecV2) Size() (n int) { 48013 if m == nil { 48014 return 0 48015 } 48016 var l int 48017 _ = l 48018 l = len(m.User) 48019 if l > 0 { 48020 n += 1 + l + sovTypes(uint64(l)) 48021 } 48022 l = len(m.Pub) 48023 if l > 0 { 48024 n += 1 + l + sovTypes(uint64(l)) 48025 } 48026 l = len(m.Priv) 48027 if l > 0 { 48028 n += 1 + l + sovTypes(uint64(l)) 48029 } 48030 l = len(m.TLSCert) 48031 if l > 0 { 48032 n += 1 + l + sovTypes(uint64(l)) 48033 } 48034 l = len(m.BearerToken) 48035 if l > 0 { 48036 n += 1 + l + sovTypes(uint64(l)) 48037 } 48038 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.BearerTokenExpires) 48039 n += 1 + l + sovTypes(uint64(l)) 48040 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires) 48041 n += 1 + l + sovTypes(uint64(l)) 48042 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.LoginTime) 48043 n += 1 + l + sovTypes(uint64(l)) 48044 if m.IdleTimeout != 0 { 48045 n += 1 + sovTypes(uint64(m.IdleTimeout)) 48046 } 48047 l = len(m.ConsumedAccessRequestID) 48048 if l > 0 { 48049 n += 1 + l + sovTypes(uint64(l)) 48050 } 48051 if m.SAMLSession != nil { 48052 l = m.SAMLSession.Size() 48053 n += 1 + l + sovTypes(uint64(l)) 48054 } 48055 if m.DeviceWebToken != nil { 48056 l = m.DeviceWebToken.Size() 48057 n += 1 + l + sovTypes(uint64(l)) 48058 } 48059 if m.HasDeviceExtensions { 48060 n += 2 48061 } 48062 if m.XXX_unrecognized != nil { 48063 n += len(m.XXX_unrecognized) 48064 } 48065 return n 48066 } 48067 48068 func (m *DeviceWebToken) Size() (n int) { 48069 if m == nil { 48070 return 0 48071 } 48072 var l int 48073 _ = l 48074 l = len(m.Id) 48075 if l > 0 { 48076 n += 1 + l + sovTypes(uint64(l)) 48077 } 48078 l = len(m.Token) 48079 if l > 0 { 48080 n += 1 + l + sovTypes(uint64(l)) 48081 } 48082 if m.XXX_unrecognized != nil { 48083 n += len(m.XXX_unrecognized) 48084 } 48085 return n 48086 } 48087 48088 func (m *WebSessionFilter) Size() (n int) { 48089 if m == nil { 48090 return 0 48091 } 48092 var l int 48093 _ = l 48094 l = len(m.User) 48095 if l > 0 { 48096 n += 1 + l + sovTypes(uint64(l)) 48097 } 48098 if m.XXX_unrecognized != nil { 48099 n += len(m.XXX_unrecognized) 48100 } 48101 return n 48102 } 48103 48104 func (m *SAMLSessionData) Size() (n int) { 48105 if m == nil { 48106 return 0 48107 } 48108 var l int 48109 _ = l 48110 l = len(m.ID) 48111 if l > 0 { 48112 n += 1 + l + sovTypes(uint64(l)) 48113 } 48114 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CreateTime) 48115 n += 1 + l + sovTypes(uint64(l)) 48116 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.ExpireTime) 48117 n += 1 + l + sovTypes(uint64(l)) 48118 l = len(m.Index) 48119 if l > 0 { 48120 n += 1 + l + sovTypes(uint64(l)) 48121 } 48122 l = len(m.NameID) 48123 if l > 0 { 48124 n += 1 + l + sovTypes(uint64(l)) 48125 } 48126 l = len(m.NameIDFormat) 48127 if l > 0 { 48128 n += 1 + l + sovTypes(uint64(l)) 48129 } 48130 l = len(m.SubjectID) 48131 if l > 0 { 48132 n += 1 + l + sovTypes(uint64(l)) 48133 } 48134 if len(m.Groups) > 0 { 48135 for _, s := range m.Groups { 48136 l = len(s) 48137 n += 1 + l + sovTypes(uint64(l)) 48138 } 48139 } 48140 l = len(m.UserName) 48141 if l > 0 { 48142 n += 1 + l + sovTypes(uint64(l)) 48143 } 48144 l = len(m.UserEmail) 48145 if l > 0 { 48146 n += 1 + l + sovTypes(uint64(l)) 48147 } 48148 l = len(m.UserCommonName) 48149 if l > 0 { 48150 n += 1 + l + sovTypes(uint64(l)) 48151 } 48152 l = len(m.UserSurname) 48153 if l > 0 { 48154 n += 1 + l + sovTypes(uint64(l)) 48155 } 48156 l = len(m.UserGivenName) 48157 if l > 0 { 48158 n += 1 + l + sovTypes(uint64(l)) 48159 } 48160 l = len(m.UserScopedAffiliation) 48161 if l > 0 { 48162 n += 1 + l + sovTypes(uint64(l)) 48163 } 48164 if len(m.CustomAttributes) > 0 { 48165 for _, e := range m.CustomAttributes { 48166 l = e.Size() 48167 n += 1 + l + sovTypes(uint64(l)) 48168 } 48169 } 48170 if m.XXX_unrecognized != nil { 48171 n += len(m.XXX_unrecognized) 48172 } 48173 return n 48174 } 48175 48176 func (m *SAMLAttribute) Size() (n int) { 48177 if m == nil { 48178 return 0 48179 } 48180 var l int 48181 _ = l 48182 l = len(m.FriendlyName) 48183 if l > 0 { 48184 n += 1 + l + sovTypes(uint64(l)) 48185 } 48186 l = len(m.Name) 48187 if l > 0 { 48188 n += 1 + l + sovTypes(uint64(l)) 48189 } 48190 l = len(m.NameFormat) 48191 if l > 0 { 48192 n += 1 + l + sovTypes(uint64(l)) 48193 } 48194 if len(m.Values) > 0 { 48195 for _, e := range m.Values { 48196 l = e.Size() 48197 n += 1 + l + sovTypes(uint64(l)) 48198 } 48199 } 48200 if m.XXX_unrecognized != nil { 48201 n += len(m.XXX_unrecognized) 48202 } 48203 return n 48204 } 48205 48206 func (m *SAMLAttributeValue) Size() (n int) { 48207 if m == nil { 48208 return 0 48209 } 48210 var l int 48211 _ = l 48212 l = len(m.Type) 48213 if l > 0 { 48214 n += 1 + l + sovTypes(uint64(l)) 48215 } 48216 l = len(m.Value) 48217 if l > 0 { 48218 n += 1 + l + sovTypes(uint64(l)) 48219 } 48220 if m.NameID != nil { 48221 l = m.NameID.Size() 48222 n += 1 + l + sovTypes(uint64(l)) 48223 } 48224 if m.XXX_unrecognized != nil { 48225 n += len(m.XXX_unrecognized) 48226 } 48227 return n 48228 } 48229 48230 func (m *SAMLNameID) Size() (n int) { 48231 if m == nil { 48232 return 0 48233 } 48234 var l int 48235 _ = l 48236 l = len(m.NameQualifier) 48237 if l > 0 { 48238 n += 1 + l + sovTypes(uint64(l)) 48239 } 48240 l = len(m.SPNameQualifier) 48241 if l > 0 { 48242 n += 1 + l + sovTypes(uint64(l)) 48243 } 48244 l = len(m.Format) 48245 if l > 0 { 48246 n += 1 + l + sovTypes(uint64(l)) 48247 } 48248 l = len(m.SPProvidedID) 48249 if l > 0 { 48250 n += 1 + l + sovTypes(uint64(l)) 48251 } 48252 l = len(m.Value) 48253 if l > 0 { 48254 n += 1 + l + sovTypes(uint64(l)) 48255 } 48256 if m.XXX_unrecognized != nil { 48257 n += len(m.XXX_unrecognized) 48258 } 48259 return n 48260 } 48261 48262 func (m *RemoteClusterV3) Size() (n int) { 48263 if m == nil { 48264 return 0 48265 } 48266 var l int 48267 _ = l 48268 l = len(m.Kind) 48269 if l > 0 { 48270 n += 1 + l + sovTypes(uint64(l)) 48271 } 48272 l = len(m.SubKind) 48273 if l > 0 { 48274 n += 1 + l + sovTypes(uint64(l)) 48275 } 48276 l = len(m.Version) 48277 if l > 0 { 48278 n += 1 + l + sovTypes(uint64(l)) 48279 } 48280 l = m.Metadata.Size() 48281 n += 1 + l + sovTypes(uint64(l)) 48282 l = m.Status.Size() 48283 n += 1 + l + sovTypes(uint64(l)) 48284 if m.XXX_unrecognized != nil { 48285 n += len(m.XXX_unrecognized) 48286 } 48287 return n 48288 } 48289 48290 func (m *RemoteClusterStatusV3) Size() (n int) { 48291 if m == nil { 48292 return 0 48293 } 48294 var l int 48295 _ = l 48296 l = len(m.Connection) 48297 if l > 0 { 48298 n += 1 + l + sovTypes(uint64(l)) 48299 } 48300 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.LastHeartbeat) 48301 n += 1 + l + sovTypes(uint64(l)) 48302 if m.XXX_unrecognized != nil { 48303 n += len(m.XXX_unrecognized) 48304 } 48305 return n 48306 } 48307 48308 func (m *KubernetesCluster) Size() (n int) { 48309 if m == nil { 48310 return 0 48311 } 48312 var l int 48313 _ = l 48314 l = len(m.Name) 48315 if l > 0 { 48316 n += 1 + l + sovTypes(uint64(l)) 48317 } 48318 if len(m.StaticLabels) > 0 { 48319 for k, v := range m.StaticLabels { 48320 _ = k 48321 _ = v 48322 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v))) 48323 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 48324 } 48325 } 48326 if len(m.DynamicLabels) > 0 { 48327 for k, v := range m.DynamicLabels { 48328 _ = k 48329 _ = v 48330 l = v.Size() 48331 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + l + sovTypes(uint64(l)) 48332 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 48333 } 48334 } 48335 if m.XXX_unrecognized != nil { 48336 n += len(m.XXX_unrecognized) 48337 } 48338 return n 48339 } 48340 48341 func (m *KubernetesClusterV3) Size() (n int) { 48342 if m == nil { 48343 return 0 48344 } 48345 var l int 48346 _ = l 48347 l = len(m.Kind) 48348 if l > 0 { 48349 n += 1 + l + sovTypes(uint64(l)) 48350 } 48351 l = len(m.SubKind) 48352 if l > 0 { 48353 n += 1 + l + sovTypes(uint64(l)) 48354 } 48355 l = len(m.Version) 48356 if l > 0 { 48357 n += 1 + l + sovTypes(uint64(l)) 48358 } 48359 l = m.Metadata.Size() 48360 n += 1 + l + sovTypes(uint64(l)) 48361 l = m.Spec.Size() 48362 n += 1 + l + sovTypes(uint64(l)) 48363 if m.XXX_unrecognized != nil { 48364 n += len(m.XXX_unrecognized) 48365 } 48366 return n 48367 } 48368 48369 func (m *KubernetesClusterSpecV3) Size() (n int) { 48370 if m == nil { 48371 return 0 48372 } 48373 var l int 48374 _ = l 48375 if len(m.DynamicLabels) > 0 { 48376 for k, v := range m.DynamicLabels { 48377 _ = k 48378 _ = v 48379 l = v.Size() 48380 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + l + sovTypes(uint64(l)) 48381 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 48382 } 48383 } 48384 l = len(m.Kubeconfig) 48385 if l > 0 { 48386 n += 1 + l + sovTypes(uint64(l)) 48387 } 48388 l = m.Azure.Size() 48389 n += 1 + l + sovTypes(uint64(l)) 48390 l = m.AWS.Size() 48391 n += 1 + l + sovTypes(uint64(l)) 48392 l = m.GCP.Size() 48393 n += 1 + l + sovTypes(uint64(l)) 48394 if m.XXX_unrecognized != nil { 48395 n += len(m.XXX_unrecognized) 48396 } 48397 return n 48398 } 48399 48400 func (m *KubeAzure) Size() (n int) { 48401 if m == nil { 48402 return 0 48403 } 48404 var l int 48405 _ = l 48406 l = len(m.ResourceName) 48407 if l > 0 { 48408 n += 1 + l + sovTypes(uint64(l)) 48409 } 48410 l = len(m.ResourceGroup) 48411 if l > 0 { 48412 n += 1 + l + sovTypes(uint64(l)) 48413 } 48414 l = len(m.TenantID) 48415 if l > 0 { 48416 n += 1 + l + sovTypes(uint64(l)) 48417 } 48418 l = len(m.SubscriptionID) 48419 if l > 0 { 48420 n += 1 + l + sovTypes(uint64(l)) 48421 } 48422 if m.XXX_unrecognized != nil { 48423 n += len(m.XXX_unrecognized) 48424 } 48425 return n 48426 } 48427 48428 func (m *KubeAWS) Size() (n int) { 48429 if m == nil { 48430 return 0 48431 } 48432 var l int 48433 _ = l 48434 l = len(m.Region) 48435 if l > 0 { 48436 n += 1 + l + sovTypes(uint64(l)) 48437 } 48438 l = len(m.AccountID) 48439 if l > 0 { 48440 n += 1 + l + sovTypes(uint64(l)) 48441 } 48442 l = len(m.Name) 48443 if l > 0 { 48444 n += 1 + l + sovTypes(uint64(l)) 48445 } 48446 if m.XXX_unrecognized != nil { 48447 n += len(m.XXX_unrecognized) 48448 } 48449 return n 48450 } 48451 48452 func (m *KubeGCP) Size() (n int) { 48453 if m == nil { 48454 return 0 48455 } 48456 var l int 48457 _ = l 48458 l = len(m.Location) 48459 if l > 0 { 48460 n += 1 + l + sovTypes(uint64(l)) 48461 } 48462 l = len(m.ProjectID) 48463 if l > 0 { 48464 n += 1 + l + sovTypes(uint64(l)) 48465 } 48466 l = len(m.Name) 48467 if l > 0 { 48468 n += 1 + l + sovTypes(uint64(l)) 48469 } 48470 if m.XXX_unrecognized != nil { 48471 n += len(m.XXX_unrecognized) 48472 } 48473 return n 48474 } 48475 48476 func (m *KubernetesClusterV3List) Size() (n int) { 48477 if m == nil { 48478 return 0 48479 } 48480 var l int 48481 _ = l 48482 if len(m.KubernetesClusters) > 0 { 48483 for _, e := range m.KubernetesClusters { 48484 l = e.Size() 48485 n += 1 + l + sovTypes(uint64(l)) 48486 } 48487 } 48488 if m.XXX_unrecognized != nil { 48489 n += len(m.XXX_unrecognized) 48490 } 48491 return n 48492 } 48493 48494 func (m *KubernetesServerV3) Size() (n int) { 48495 if m == nil { 48496 return 0 48497 } 48498 var l int 48499 _ = l 48500 l = len(m.Kind) 48501 if l > 0 { 48502 n += 1 + l + sovTypes(uint64(l)) 48503 } 48504 l = len(m.SubKind) 48505 if l > 0 { 48506 n += 1 + l + sovTypes(uint64(l)) 48507 } 48508 l = len(m.Version) 48509 if l > 0 { 48510 n += 1 + l + sovTypes(uint64(l)) 48511 } 48512 l = m.Metadata.Size() 48513 n += 1 + l + sovTypes(uint64(l)) 48514 l = m.Spec.Size() 48515 n += 1 + l + sovTypes(uint64(l)) 48516 if m.XXX_unrecognized != nil { 48517 n += len(m.XXX_unrecognized) 48518 } 48519 return n 48520 } 48521 48522 func (m *KubernetesServerSpecV3) Size() (n int) { 48523 if m == nil { 48524 return 0 48525 } 48526 var l int 48527 _ = l 48528 l = len(m.Version) 48529 if l > 0 { 48530 n += 1 + l + sovTypes(uint64(l)) 48531 } 48532 l = len(m.Hostname) 48533 if l > 0 { 48534 n += 1 + l + sovTypes(uint64(l)) 48535 } 48536 l = len(m.HostID) 48537 if l > 0 { 48538 n += 1 + l + sovTypes(uint64(l)) 48539 } 48540 l = m.Rotation.Size() 48541 n += 1 + l + sovTypes(uint64(l)) 48542 if m.Cluster != nil { 48543 l = m.Cluster.Size() 48544 n += 1 + l + sovTypes(uint64(l)) 48545 } 48546 if len(m.ProxyIDs) > 0 { 48547 for _, s := range m.ProxyIDs { 48548 l = len(s) 48549 n += 1 + l + sovTypes(uint64(l)) 48550 } 48551 } 48552 if m.XXX_unrecognized != nil { 48553 n += len(m.XXX_unrecognized) 48554 } 48555 return n 48556 } 48557 48558 func (m *WebTokenV3) Size() (n int) { 48559 if m == nil { 48560 return 0 48561 } 48562 var l int 48563 _ = l 48564 l = len(m.Kind) 48565 if l > 0 { 48566 n += 1 + l + sovTypes(uint64(l)) 48567 } 48568 l = len(m.SubKind) 48569 if l > 0 { 48570 n += 1 + l + sovTypes(uint64(l)) 48571 } 48572 l = len(m.Version) 48573 if l > 0 { 48574 n += 1 + l + sovTypes(uint64(l)) 48575 } 48576 l = m.Metadata.Size() 48577 n += 1 + l + sovTypes(uint64(l)) 48578 l = m.Spec.Size() 48579 n += 1 + l + sovTypes(uint64(l)) 48580 if m.XXX_unrecognized != nil { 48581 n += len(m.XXX_unrecognized) 48582 } 48583 return n 48584 } 48585 48586 func (m *WebTokenSpecV3) Size() (n int) { 48587 if m == nil { 48588 return 0 48589 } 48590 var l int 48591 _ = l 48592 l = len(m.User) 48593 if l > 0 { 48594 n += 1 + l + sovTypes(uint64(l)) 48595 } 48596 l = len(m.Token) 48597 if l > 0 { 48598 n += 1 + l + sovTypes(uint64(l)) 48599 } 48600 if m.XXX_unrecognized != nil { 48601 n += len(m.XXX_unrecognized) 48602 } 48603 return n 48604 } 48605 48606 func (m *GetWebSessionRequest) Size() (n int) { 48607 if m == nil { 48608 return 0 48609 } 48610 var l int 48611 _ = l 48612 l = len(m.User) 48613 if l > 0 { 48614 n += 1 + l + sovTypes(uint64(l)) 48615 } 48616 l = len(m.SessionID) 48617 if l > 0 { 48618 n += 1 + l + sovTypes(uint64(l)) 48619 } 48620 if m.XXX_unrecognized != nil { 48621 n += len(m.XXX_unrecognized) 48622 } 48623 return n 48624 } 48625 48626 func (m *DeleteWebSessionRequest) Size() (n int) { 48627 if m == nil { 48628 return 0 48629 } 48630 var l int 48631 _ = l 48632 l = len(m.User) 48633 if l > 0 { 48634 n += 1 + l + sovTypes(uint64(l)) 48635 } 48636 l = len(m.SessionID) 48637 if l > 0 { 48638 n += 1 + l + sovTypes(uint64(l)) 48639 } 48640 if m.XXX_unrecognized != nil { 48641 n += len(m.XXX_unrecognized) 48642 } 48643 return n 48644 } 48645 48646 func (m *GetWebTokenRequest) Size() (n int) { 48647 if m == nil { 48648 return 0 48649 } 48650 var l int 48651 _ = l 48652 l = len(m.User) 48653 if l > 0 { 48654 n += 1 + l + sovTypes(uint64(l)) 48655 } 48656 l = len(m.Token) 48657 if l > 0 { 48658 n += 1 + l + sovTypes(uint64(l)) 48659 } 48660 if m.XXX_unrecognized != nil { 48661 n += len(m.XXX_unrecognized) 48662 } 48663 return n 48664 } 48665 48666 func (m *DeleteWebTokenRequest) Size() (n int) { 48667 if m == nil { 48668 return 0 48669 } 48670 var l int 48671 _ = l 48672 l = len(m.User) 48673 if l > 0 { 48674 n += 1 + l + sovTypes(uint64(l)) 48675 } 48676 l = len(m.Token) 48677 if l > 0 { 48678 n += 1 + l + sovTypes(uint64(l)) 48679 } 48680 if m.XXX_unrecognized != nil { 48681 n += len(m.XXX_unrecognized) 48682 } 48683 return n 48684 } 48685 48686 func (m *ResourceRequest) Size() (n int) { 48687 if m == nil { 48688 return 0 48689 } 48690 var l int 48691 _ = l 48692 l = len(m.Name) 48693 if l > 0 { 48694 n += 1 + l + sovTypes(uint64(l)) 48695 } 48696 if m.XXX_unrecognized != nil { 48697 n += len(m.XXX_unrecognized) 48698 } 48699 return n 48700 } 48701 48702 func (m *ResourceWithSecretsRequest) Size() (n int) { 48703 if m == nil { 48704 return 0 48705 } 48706 var l int 48707 _ = l 48708 l = len(m.Name) 48709 if l > 0 { 48710 n += 1 + l + sovTypes(uint64(l)) 48711 } 48712 if m.WithSecrets { 48713 n += 2 48714 } 48715 if m.XXX_unrecognized != nil { 48716 n += len(m.XXX_unrecognized) 48717 } 48718 return n 48719 } 48720 48721 func (m *ResourcesWithSecretsRequest) Size() (n int) { 48722 if m == nil { 48723 return 0 48724 } 48725 var l int 48726 _ = l 48727 if m.WithSecrets { 48728 n += 2 48729 } 48730 if m.XXX_unrecognized != nil { 48731 n += len(m.XXX_unrecognized) 48732 } 48733 return n 48734 } 48735 48736 func (m *ResourceInNamespaceRequest) Size() (n int) { 48737 if m == nil { 48738 return 0 48739 } 48740 var l int 48741 _ = l 48742 l = len(m.Name) 48743 if l > 0 { 48744 n += 1 + l + sovTypes(uint64(l)) 48745 } 48746 l = len(m.Namespace) 48747 if l > 0 { 48748 n += 1 + l + sovTypes(uint64(l)) 48749 } 48750 if m.XXX_unrecognized != nil { 48751 n += len(m.XXX_unrecognized) 48752 } 48753 return n 48754 } 48755 48756 func (m *ResourcesInNamespaceRequest) Size() (n int) { 48757 if m == nil { 48758 return 0 48759 } 48760 var l int 48761 _ = l 48762 l = len(m.Namespace) 48763 if l > 0 { 48764 n += 1 + l + sovTypes(uint64(l)) 48765 } 48766 if m.XXX_unrecognized != nil { 48767 n += len(m.XXX_unrecognized) 48768 } 48769 return n 48770 } 48771 48772 func (m *OIDCConnectorV3) Size() (n int) { 48773 if m == nil { 48774 return 0 48775 } 48776 var l int 48777 _ = l 48778 l = len(m.Kind) 48779 if l > 0 { 48780 n += 1 + l + sovTypes(uint64(l)) 48781 } 48782 l = len(m.SubKind) 48783 if l > 0 { 48784 n += 1 + l + sovTypes(uint64(l)) 48785 } 48786 l = len(m.Version) 48787 if l > 0 { 48788 n += 1 + l + sovTypes(uint64(l)) 48789 } 48790 l = m.Metadata.Size() 48791 n += 1 + l + sovTypes(uint64(l)) 48792 l = m.Spec.Size() 48793 n += 1 + l + sovTypes(uint64(l)) 48794 if m.XXX_unrecognized != nil { 48795 n += len(m.XXX_unrecognized) 48796 } 48797 return n 48798 } 48799 48800 func (m *OIDCConnectorV3List) Size() (n int) { 48801 if m == nil { 48802 return 0 48803 } 48804 var l int 48805 _ = l 48806 if len(m.OIDCConnectors) > 0 { 48807 for _, e := range m.OIDCConnectors { 48808 l = e.Size() 48809 n += 1 + l + sovTypes(uint64(l)) 48810 } 48811 } 48812 if m.XXX_unrecognized != nil { 48813 n += len(m.XXX_unrecognized) 48814 } 48815 return n 48816 } 48817 48818 func (m *OIDCConnectorSpecV3) Size() (n int) { 48819 if m == nil { 48820 return 0 48821 } 48822 var l int 48823 _ = l 48824 l = len(m.IssuerURL) 48825 if l > 0 { 48826 n += 1 + l + sovTypes(uint64(l)) 48827 } 48828 l = len(m.ClientID) 48829 if l > 0 { 48830 n += 1 + l + sovTypes(uint64(l)) 48831 } 48832 l = len(m.ClientSecret) 48833 if l > 0 { 48834 n += 1 + l + sovTypes(uint64(l)) 48835 } 48836 l = len(m.ACR) 48837 if l > 0 { 48838 n += 1 + l + sovTypes(uint64(l)) 48839 } 48840 l = len(m.Provider) 48841 if l > 0 { 48842 n += 1 + l + sovTypes(uint64(l)) 48843 } 48844 l = len(m.Display) 48845 if l > 0 { 48846 n += 1 + l + sovTypes(uint64(l)) 48847 } 48848 if len(m.Scope) > 0 { 48849 for _, s := range m.Scope { 48850 l = len(s) 48851 n += 1 + l + sovTypes(uint64(l)) 48852 } 48853 } 48854 l = len(m.Prompt) 48855 if l > 0 { 48856 n += 1 + l + sovTypes(uint64(l)) 48857 } 48858 if len(m.ClaimsToRoles) > 0 { 48859 for _, e := range m.ClaimsToRoles { 48860 l = e.Size() 48861 n += 1 + l + sovTypes(uint64(l)) 48862 } 48863 } 48864 l = len(m.GoogleServiceAccountURI) 48865 if l > 0 { 48866 n += 1 + l + sovTypes(uint64(l)) 48867 } 48868 l = len(m.GoogleServiceAccount) 48869 if l > 0 { 48870 n += 1 + l + sovTypes(uint64(l)) 48871 } 48872 l = len(m.GoogleAdminEmail) 48873 if l > 0 { 48874 n += 1 + l + sovTypes(uint64(l)) 48875 } 48876 l = m.RedirectURLs.Size() 48877 n += 1 + l + sovTypes(uint64(l)) 48878 if m.AllowUnverifiedEmail { 48879 n += 2 48880 } 48881 l = len(m.UsernameClaim) 48882 if l > 0 { 48883 n += 2 + l + sovTypes(uint64(l)) 48884 } 48885 if m.MaxAge != nil { 48886 l = m.MaxAge.Size() 48887 n += 2 + l + sovTypes(uint64(l)) 48888 } 48889 if m.XXX_unrecognized != nil { 48890 n += len(m.XXX_unrecognized) 48891 } 48892 return n 48893 } 48894 48895 func (m *MaxAge) Size() (n int) { 48896 if m == nil { 48897 return 0 48898 } 48899 var l int 48900 _ = l 48901 if m.Value != 0 { 48902 n += 1 + sovTypes(uint64(m.Value)) 48903 } 48904 if m.XXX_unrecognized != nil { 48905 n += len(m.XXX_unrecognized) 48906 } 48907 return n 48908 } 48909 48910 func (m *OIDCAuthRequest) Size() (n int) { 48911 if m == nil { 48912 return 0 48913 } 48914 var l int 48915 _ = l 48916 l = len(m.ConnectorID) 48917 if l > 0 { 48918 n += 1 + l + sovTypes(uint64(l)) 48919 } 48920 l = len(m.Type) 48921 if l > 0 { 48922 n += 1 + l + sovTypes(uint64(l)) 48923 } 48924 if m.CheckUser { 48925 n += 2 48926 } 48927 l = len(m.StateToken) 48928 if l > 0 { 48929 n += 1 + l + sovTypes(uint64(l)) 48930 } 48931 l = len(m.CSRFToken) 48932 if l > 0 { 48933 n += 1 + l + sovTypes(uint64(l)) 48934 } 48935 l = len(m.RedirectURL) 48936 if l > 0 { 48937 n += 1 + l + sovTypes(uint64(l)) 48938 } 48939 l = len(m.PublicKey) 48940 if l > 0 { 48941 n += 1 + l + sovTypes(uint64(l)) 48942 } 48943 if m.CertTTL != 0 { 48944 n += 1 + sovTypes(uint64(m.CertTTL)) 48945 } 48946 if m.CreateWebSession { 48947 n += 2 48948 } 48949 l = len(m.ClientRedirectURL) 48950 if l > 0 { 48951 n += 1 + l + sovTypes(uint64(l)) 48952 } 48953 l = len(m.Compatibility) 48954 if l > 0 { 48955 n += 1 + l + sovTypes(uint64(l)) 48956 } 48957 l = len(m.RouteToCluster) 48958 if l > 0 { 48959 n += 1 + l + sovTypes(uint64(l)) 48960 } 48961 l = len(m.KubernetesCluster) 48962 if l > 0 { 48963 n += 1 + l + sovTypes(uint64(l)) 48964 } 48965 if m.SSOTestFlow { 48966 n += 2 48967 } 48968 if m.ConnectorSpec != nil { 48969 l = m.ConnectorSpec.Size() 48970 n += 1 + l + sovTypes(uint64(l)) 48971 } 48972 l = len(m.ProxyAddress) 48973 if l > 0 { 48974 n += 2 + l + sovTypes(uint64(l)) 48975 } 48976 if m.AttestationStatement != nil { 48977 l = m.AttestationStatement.Size() 48978 n += 2 + l + sovTypes(uint64(l)) 48979 } 48980 l = len(m.ClientLoginIP) 48981 if l > 0 { 48982 n += 2 + l + sovTypes(uint64(l)) 48983 } 48984 if m.XXX_unrecognized != nil { 48985 n += len(m.XXX_unrecognized) 48986 } 48987 return n 48988 } 48989 48990 func (m *SAMLConnectorV2) Size() (n int) { 48991 if m == nil { 48992 return 0 48993 } 48994 var l int 48995 _ = l 48996 l = len(m.Kind) 48997 if l > 0 { 48998 n += 1 + l + sovTypes(uint64(l)) 48999 } 49000 l = len(m.SubKind) 49001 if l > 0 { 49002 n += 1 + l + sovTypes(uint64(l)) 49003 } 49004 l = len(m.Version) 49005 if l > 0 { 49006 n += 1 + l + sovTypes(uint64(l)) 49007 } 49008 l = m.Metadata.Size() 49009 n += 1 + l + sovTypes(uint64(l)) 49010 l = m.Spec.Size() 49011 n += 1 + l + sovTypes(uint64(l)) 49012 if m.XXX_unrecognized != nil { 49013 n += len(m.XXX_unrecognized) 49014 } 49015 return n 49016 } 49017 49018 func (m *SAMLConnectorV2List) Size() (n int) { 49019 if m == nil { 49020 return 0 49021 } 49022 var l int 49023 _ = l 49024 if len(m.SAMLConnectors) > 0 { 49025 for _, e := range m.SAMLConnectors { 49026 l = e.Size() 49027 n += 1 + l + sovTypes(uint64(l)) 49028 } 49029 } 49030 if m.XXX_unrecognized != nil { 49031 n += len(m.XXX_unrecognized) 49032 } 49033 return n 49034 } 49035 49036 func (m *SAMLConnectorSpecV2) Size() (n int) { 49037 if m == nil { 49038 return 0 49039 } 49040 var l int 49041 _ = l 49042 l = len(m.Issuer) 49043 if l > 0 { 49044 n += 1 + l + sovTypes(uint64(l)) 49045 } 49046 l = len(m.SSO) 49047 if l > 0 { 49048 n += 1 + l + sovTypes(uint64(l)) 49049 } 49050 l = len(m.Cert) 49051 if l > 0 { 49052 n += 1 + l + sovTypes(uint64(l)) 49053 } 49054 l = len(m.Display) 49055 if l > 0 { 49056 n += 1 + l + sovTypes(uint64(l)) 49057 } 49058 l = len(m.AssertionConsumerService) 49059 if l > 0 { 49060 n += 1 + l + sovTypes(uint64(l)) 49061 } 49062 l = len(m.Audience) 49063 if l > 0 { 49064 n += 1 + l + sovTypes(uint64(l)) 49065 } 49066 l = len(m.ServiceProviderIssuer) 49067 if l > 0 { 49068 n += 1 + l + sovTypes(uint64(l)) 49069 } 49070 l = len(m.EntityDescriptor) 49071 if l > 0 { 49072 n += 1 + l + sovTypes(uint64(l)) 49073 } 49074 l = len(m.EntityDescriptorURL) 49075 if l > 0 { 49076 n += 1 + l + sovTypes(uint64(l)) 49077 } 49078 if len(m.AttributesToRoles) > 0 { 49079 for _, e := range m.AttributesToRoles { 49080 l = e.Size() 49081 n += 1 + l + sovTypes(uint64(l)) 49082 } 49083 } 49084 if m.SigningKeyPair != nil { 49085 l = m.SigningKeyPair.Size() 49086 n += 1 + l + sovTypes(uint64(l)) 49087 } 49088 l = len(m.Provider) 49089 if l > 0 { 49090 n += 1 + l + sovTypes(uint64(l)) 49091 } 49092 if m.EncryptionKeyPair != nil { 49093 l = m.EncryptionKeyPair.Size() 49094 n += 1 + l + sovTypes(uint64(l)) 49095 } 49096 if m.AllowIDPInitiated { 49097 n += 2 49098 } 49099 if m.XXX_unrecognized != nil { 49100 n += len(m.XXX_unrecognized) 49101 } 49102 return n 49103 } 49104 49105 func (m *SAMLAuthRequest) Size() (n int) { 49106 if m == nil { 49107 return 0 49108 } 49109 var l int 49110 _ = l 49111 l = len(m.ID) 49112 if l > 0 { 49113 n += 1 + l + sovTypes(uint64(l)) 49114 } 49115 l = len(m.ConnectorID) 49116 if l > 0 { 49117 n += 1 + l + sovTypes(uint64(l)) 49118 } 49119 l = len(m.Type) 49120 if l > 0 { 49121 n += 1 + l + sovTypes(uint64(l)) 49122 } 49123 if m.CheckUser { 49124 n += 2 49125 } 49126 l = len(m.RedirectURL) 49127 if l > 0 { 49128 n += 1 + l + sovTypes(uint64(l)) 49129 } 49130 l = len(m.PublicKey) 49131 if l > 0 { 49132 n += 1 + l + sovTypes(uint64(l)) 49133 } 49134 if m.CertTTL != 0 { 49135 n += 1 + sovTypes(uint64(m.CertTTL)) 49136 } 49137 l = len(m.CSRFToken) 49138 if l > 0 { 49139 n += 1 + l + sovTypes(uint64(l)) 49140 } 49141 if m.CreateWebSession { 49142 n += 2 49143 } 49144 l = len(m.ClientRedirectURL) 49145 if l > 0 { 49146 n += 1 + l + sovTypes(uint64(l)) 49147 } 49148 l = len(m.Compatibility) 49149 if l > 0 { 49150 n += 1 + l + sovTypes(uint64(l)) 49151 } 49152 l = len(m.RouteToCluster) 49153 if l > 0 { 49154 n += 1 + l + sovTypes(uint64(l)) 49155 } 49156 l = len(m.KubernetesCluster) 49157 if l > 0 { 49158 n += 1 + l + sovTypes(uint64(l)) 49159 } 49160 if m.SSOTestFlow { 49161 n += 2 49162 } 49163 if m.ConnectorSpec != nil { 49164 l = m.ConnectorSpec.Size() 49165 n += 1 + l + sovTypes(uint64(l)) 49166 } 49167 if m.AttestationStatement != nil { 49168 l = m.AttestationStatement.Size() 49169 n += 2 + l + sovTypes(uint64(l)) 49170 } 49171 l = len(m.ClientLoginIP) 49172 if l > 0 { 49173 n += 2 + l + sovTypes(uint64(l)) 49174 } 49175 if m.XXX_unrecognized != nil { 49176 n += len(m.XXX_unrecognized) 49177 } 49178 return n 49179 } 49180 49181 func (m *AttributeMapping) Size() (n int) { 49182 if m == nil { 49183 return 0 49184 } 49185 var l int 49186 _ = l 49187 l = len(m.Name) 49188 if l > 0 { 49189 n += 1 + l + sovTypes(uint64(l)) 49190 } 49191 l = len(m.Value) 49192 if l > 0 { 49193 n += 1 + l + sovTypes(uint64(l)) 49194 } 49195 if len(m.Roles) > 0 { 49196 for _, s := range m.Roles { 49197 l = len(s) 49198 n += 1 + l + sovTypes(uint64(l)) 49199 } 49200 } 49201 if m.XXX_unrecognized != nil { 49202 n += len(m.XXX_unrecognized) 49203 } 49204 return n 49205 } 49206 49207 func (m *AsymmetricKeyPair) Size() (n int) { 49208 if m == nil { 49209 return 0 49210 } 49211 var l int 49212 _ = l 49213 l = len(m.PrivateKey) 49214 if l > 0 { 49215 n += 1 + l + sovTypes(uint64(l)) 49216 } 49217 l = len(m.Cert) 49218 if l > 0 { 49219 n += 1 + l + sovTypes(uint64(l)) 49220 } 49221 if m.XXX_unrecognized != nil { 49222 n += len(m.XXX_unrecognized) 49223 } 49224 return n 49225 } 49226 49227 func (m *GithubConnectorV3) Size() (n int) { 49228 if m == nil { 49229 return 0 49230 } 49231 var l int 49232 _ = l 49233 l = len(m.Kind) 49234 if l > 0 { 49235 n += 1 + l + sovTypes(uint64(l)) 49236 } 49237 l = len(m.SubKind) 49238 if l > 0 { 49239 n += 1 + l + sovTypes(uint64(l)) 49240 } 49241 l = len(m.Version) 49242 if l > 0 { 49243 n += 1 + l + sovTypes(uint64(l)) 49244 } 49245 l = m.Metadata.Size() 49246 n += 1 + l + sovTypes(uint64(l)) 49247 l = m.Spec.Size() 49248 n += 1 + l + sovTypes(uint64(l)) 49249 if m.XXX_unrecognized != nil { 49250 n += len(m.XXX_unrecognized) 49251 } 49252 return n 49253 } 49254 49255 func (m *GithubConnectorV3List) Size() (n int) { 49256 if m == nil { 49257 return 0 49258 } 49259 var l int 49260 _ = l 49261 if len(m.GithubConnectors) > 0 { 49262 for _, e := range m.GithubConnectors { 49263 l = e.Size() 49264 n += 1 + l + sovTypes(uint64(l)) 49265 } 49266 } 49267 if m.XXX_unrecognized != nil { 49268 n += len(m.XXX_unrecognized) 49269 } 49270 return n 49271 } 49272 49273 func (m *GithubConnectorSpecV3) Size() (n int) { 49274 if m == nil { 49275 return 0 49276 } 49277 var l int 49278 _ = l 49279 l = len(m.ClientID) 49280 if l > 0 { 49281 n += 1 + l + sovTypes(uint64(l)) 49282 } 49283 l = len(m.ClientSecret) 49284 if l > 0 { 49285 n += 1 + l + sovTypes(uint64(l)) 49286 } 49287 l = len(m.RedirectURL) 49288 if l > 0 { 49289 n += 1 + l + sovTypes(uint64(l)) 49290 } 49291 if len(m.TeamsToLogins) > 0 { 49292 for _, e := range m.TeamsToLogins { 49293 l = e.Size() 49294 n += 1 + l + sovTypes(uint64(l)) 49295 } 49296 } 49297 l = len(m.Display) 49298 if l > 0 { 49299 n += 1 + l + sovTypes(uint64(l)) 49300 } 49301 if len(m.TeamsToRoles) > 0 { 49302 for _, e := range m.TeamsToRoles { 49303 l = e.Size() 49304 n += 1 + l + sovTypes(uint64(l)) 49305 } 49306 } 49307 l = len(m.EndpointURL) 49308 if l > 0 { 49309 n += 1 + l + sovTypes(uint64(l)) 49310 } 49311 l = len(m.APIEndpointURL) 49312 if l > 0 { 49313 n += 1 + l + sovTypes(uint64(l)) 49314 } 49315 if m.XXX_unrecognized != nil { 49316 n += len(m.XXX_unrecognized) 49317 } 49318 return n 49319 } 49320 49321 func (m *GithubAuthRequest) Size() (n int) { 49322 if m == nil { 49323 return 0 49324 } 49325 var l int 49326 _ = l 49327 l = len(m.ConnectorID) 49328 if l > 0 { 49329 n += 1 + l + sovTypes(uint64(l)) 49330 } 49331 l = len(m.Type) 49332 if l > 0 { 49333 n += 1 + l + sovTypes(uint64(l)) 49334 } 49335 l = len(m.StateToken) 49336 if l > 0 { 49337 n += 1 + l + sovTypes(uint64(l)) 49338 } 49339 l = len(m.CSRFToken) 49340 if l > 0 { 49341 n += 1 + l + sovTypes(uint64(l)) 49342 } 49343 l = len(m.PublicKey) 49344 if l > 0 { 49345 n += 1 + l + sovTypes(uint64(l)) 49346 } 49347 if m.CertTTL != 0 { 49348 n += 1 + sovTypes(uint64(m.CertTTL)) 49349 } 49350 if m.CreateWebSession { 49351 n += 2 49352 } 49353 l = len(m.RedirectURL) 49354 if l > 0 { 49355 n += 1 + l + sovTypes(uint64(l)) 49356 } 49357 l = len(m.ClientRedirectURL) 49358 if l > 0 { 49359 n += 1 + l + sovTypes(uint64(l)) 49360 } 49361 l = len(m.Compatibility) 49362 if l > 0 { 49363 n += 1 + l + sovTypes(uint64(l)) 49364 } 49365 if m.Expires != nil { 49366 l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expires) 49367 n += 1 + l + sovTypes(uint64(l)) 49368 } 49369 l = len(m.RouteToCluster) 49370 if l > 0 { 49371 n += 1 + l + sovTypes(uint64(l)) 49372 } 49373 l = len(m.KubernetesCluster) 49374 if l > 0 { 49375 n += 1 + l + sovTypes(uint64(l)) 49376 } 49377 if m.SSOTestFlow { 49378 n += 2 49379 } 49380 if m.ConnectorSpec != nil { 49381 l = m.ConnectorSpec.Size() 49382 n += 1 + l + sovTypes(uint64(l)) 49383 } 49384 if m.AttestationStatement != nil { 49385 l = m.AttestationStatement.Size() 49386 n += 2 + l + sovTypes(uint64(l)) 49387 } 49388 l = len(m.ClientLoginIP) 49389 if l > 0 { 49390 n += 2 + l + sovTypes(uint64(l)) 49391 } 49392 if m.XXX_unrecognized != nil { 49393 n += len(m.XXX_unrecognized) 49394 } 49395 return n 49396 } 49397 49398 func (m *SSOWarnings) Size() (n int) { 49399 if m == nil { 49400 return 0 49401 } 49402 var l int 49403 _ = l 49404 l = len(m.Message) 49405 if l > 0 { 49406 n += 1 + l + sovTypes(uint64(l)) 49407 } 49408 if len(m.Warnings) > 0 { 49409 for _, s := range m.Warnings { 49410 l = len(s) 49411 n += 1 + l + sovTypes(uint64(l)) 49412 } 49413 } 49414 if m.XXX_unrecognized != nil { 49415 n += len(m.XXX_unrecognized) 49416 } 49417 return n 49418 } 49419 49420 func (m *CreateUserParams) Size() (n int) { 49421 if m == nil { 49422 return 0 49423 } 49424 var l int 49425 _ = l 49426 l = len(m.ConnectorName) 49427 if l > 0 { 49428 n += 1 + l + sovTypes(uint64(l)) 49429 } 49430 l = len(m.Username) 49431 if l > 0 { 49432 n += 1 + l + sovTypes(uint64(l)) 49433 } 49434 if len(m.Logins) > 0 { 49435 for _, s := range m.Logins { 49436 l = len(s) 49437 n += 1 + l + sovTypes(uint64(l)) 49438 } 49439 } 49440 if len(m.KubeGroups) > 0 { 49441 for _, s := range m.KubeGroups { 49442 l = len(s) 49443 n += 1 + l + sovTypes(uint64(l)) 49444 } 49445 } 49446 if len(m.KubeUsers) > 0 { 49447 for _, s := range m.KubeUsers { 49448 l = len(s) 49449 n += 1 + l + sovTypes(uint64(l)) 49450 } 49451 } 49452 if len(m.Roles) > 0 { 49453 for _, s := range m.Roles { 49454 l = len(s) 49455 n += 1 + l + sovTypes(uint64(l)) 49456 } 49457 } 49458 l = m.Traits.Size() 49459 n += 1 + l + sovTypes(uint64(l)) 49460 if m.SessionTTL != 0 { 49461 n += 1 + sovTypes(uint64(m.SessionTTL)) 49462 } 49463 if m.XXX_unrecognized != nil { 49464 n += len(m.XXX_unrecognized) 49465 } 49466 return n 49467 } 49468 49469 func (m *SSODiagnosticInfo) Size() (n int) { 49470 if m == nil { 49471 return 0 49472 } 49473 var l int 49474 _ = l 49475 if m.TestFlow { 49476 n += 2 49477 } 49478 l = len(m.Error) 49479 if l > 0 { 49480 n += 1 + l + sovTypes(uint64(l)) 49481 } 49482 if m.Success { 49483 n += 2 49484 } 49485 if m.CreateUserParams != nil { 49486 l = m.CreateUserParams.Size() 49487 n += 1 + l + sovTypes(uint64(l)) 49488 } 49489 if len(m.SAMLAttributesToRoles) > 0 { 49490 for _, e := range m.SAMLAttributesToRoles { 49491 l = e.Size() 49492 n += 1 + l + sovTypes(uint64(l)) 49493 } 49494 } 49495 if m.SAMLAttributesToRolesWarnings != nil { 49496 l = m.SAMLAttributesToRolesWarnings.Size() 49497 n += 1 + l + sovTypes(uint64(l)) 49498 } 49499 l = m.SAMLAttributeStatements.Size() 49500 n += 1 + l + sovTypes(uint64(l)) 49501 if m.SAMLAssertionInfo != nil { 49502 l = m.SAMLAssertionInfo.Size() 49503 n += 1 + l + sovTypes(uint64(l)) 49504 } 49505 l = m.SAMLTraitsFromAssertions.Size() 49506 n += 1 + l + sovTypes(uint64(l)) 49507 if len(m.SAMLConnectorTraitMapping) > 0 { 49508 for _, e := range m.SAMLConnectorTraitMapping { 49509 l = e.Size() 49510 n += 1 + l + sovTypes(uint64(l)) 49511 } 49512 } 49513 if len(m.OIDCClaimsToRoles) > 0 { 49514 for _, e := range m.OIDCClaimsToRoles { 49515 l = e.Size() 49516 n += 2 + l + sovTypes(uint64(l)) 49517 } 49518 } 49519 if m.OIDCClaimsToRolesWarnings != nil { 49520 l = m.OIDCClaimsToRolesWarnings.Size() 49521 n += 2 + l + sovTypes(uint64(l)) 49522 } 49523 l = m.OIDCClaims.Size() 49524 n += 2 + l + sovTypes(uint64(l)) 49525 if m.OIDCIdentity != nil { 49526 l = m.OIDCIdentity.Size() 49527 n += 2 + l + sovTypes(uint64(l)) 49528 } 49529 l = m.OIDCTraitsFromClaims.Size() 49530 n += 2 + l + sovTypes(uint64(l)) 49531 if len(m.OIDCConnectorTraitMapping) > 0 { 49532 for _, e := range m.OIDCConnectorTraitMapping { 49533 l = e.Size() 49534 n += 2 + l + sovTypes(uint64(l)) 49535 } 49536 } 49537 if m.GithubClaims != nil { 49538 l = m.GithubClaims.Size() 49539 n += 2 + l + sovTypes(uint64(l)) 49540 } 49541 if len(m.GithubTeamsToLogins) > 0 { 49542 for _, e := range m.GithubTeamsToLogins { 49543 l = e.Size() 49544 n += 2 + l + sovTypes(uint64(l)) 49545 } 49546 } 49547 if len(m.GithubTeamsToRoles) > 0 { 49548 for _, e := range m.GithubTeamsToRoles { 49549 l = e.Size() 49550 n += 2 + l + sovTypes(uint64(l)) 49551 } 49552 } 49553 if m.GithubTokenInfo != nil { 49554 l = m.GithubTokenInfo.Size() 49555 n += 2 + l + sovTypes(uint64(l)) 49556 } 49557 if len(m.AppliedLoginRules) > 0 { 49558 for _, s := range m.AppliedLoginRules { 49559 l = len(s) 49560 n += 2 + l + sovTypes(uint64(l)) 49561 } 49562 } 49563 if m.XXX_unrecognized != nil { 49564 n += len(m.XXX_unrecognized) 49565 } 49566 return n 49567 } 49568 49569 func (m *GithubTokenInfo) Size() (n int) { 49570 if m == nil { 49571 return 0 49572 } 49573 var l int 49574 _ = l 49575 l = len(m.TokenType) 49576 if l > 0 { 49577 n += 1 + l + sovTypes(uint64(l)) 49578 } 49579 if m.Expires != 0 { 49580 n += 1 + sovTypes(uint64(m.Expires)) 49581 } 49582 l = len(m.Scope) 49583 if l > 0 { 49584 n += 1 + l + sovTypes(uint64(l)) 49585 } 49586 if m.XXX_unrecognized != nil { 49587 n += len(m.XXX_unrecognized) 49588 } 49589 return n 49590 } 49591 49592 func (m *GithubClaims) Size() (n int) { 49593 if m == nil { 49594 return 0 49595 } 49596 var l int 49597 _ = l 49598 l = len(m.Username) 49599 if l > 0 { 49600 n += 1 + l + sovTypes(uint64(l)) 49601 } 49602 l = m.OrganizationToTeams.Size() 49603 n += 1 + l + sovTypes(uint64(l)) 49604 if len(m.Teams) > 0 { 49605 for _, s := range m.Teams { 49606 l = len(s) 49607 n += 1 + l + sovTypes(uint64(l)) 49608 } 49609 } 49610 if m.XXX_unrecognized != nil { 49611 n += len(m.XXX_unrecognized) 49612 } 49613 return n 49614 } 49615 49616 func (m *TeamMapping) Size() (n int) { 49617 if m == nil { 49618 return 0 49619 } 49620 var l int 49621 _ = l 49622 l = len(m.Organization) 49623 if l > 0 { 49624 n += 1 + l + sovTypes(uint64(l)) 49625 } 49626 l = len(m.Team) 49627 if l > 0 { 49628 n += 1 + l + sovTypes(uint64(l)) 49629 } 49630 if len(m.Logins) > 0 { 49631 for _, s := range m.Logins { 49632 l = len(s) 49633 n += 1 + l + sovTypes(uint64(l)) 49634 } 49635 } 49636 if len(m.KubeGroups) > 0 { 49637 for _, s := range m.KubeGroups { 49638 l = len(s) 49639 n += 1 + l + sovTypes(uint64(l)) 49640 } 49641 } 49642 if len(m.KubeUsers) > 0 { 49643 for _, s := range m.KubeUsers { 49644 l = len(s) 49645 n += 1 + l + sovTypes(uint64(l)) 49646 } 49647 } 49648 if m.XXX_unrecognized != nil { 49649 n += len(m.XXX_unrecognized) 49650 } 49651 return n 49652 } 49653 49654 func (m *TeamRolesMapping) Size() (n int) { 49655 if m == nil { 49656 return 0 49657 } 49658 var l int 49659 _ = l 49660 l = len(m.Organization) 49661 if l > 0 { 49662 n += 1 + l + sovTypes(uint64(l)) 49663 } 49664 l = len(m.Team) 49665 if l > 0 { 49666 n += 1 + l + sovTypes(uint64(l)) 49667 } 49668 if len(m.Roles) > 0 { 49669 for _, s := range m.Roles { 49670 l = len(s) 49671 n += 1 + l + sovTypes(uint64(l)) 49672 } 49673 } 49674 if m.XXX_unrecognized != nil { 49675 n += len(m.XXX_unrecognized) 49676 } 49677 return n 49678 } 49679 49680 func (m *TrustedClusterV2) Size() (n int) { 49681 if m == nil { 49682 return 0 49683 } 49684 var l int 49685 _ = l 49686 l = len(m.Kind) 49687 if l > 0 { 49688 n += 1 + l + sovTypes(uint64(l)) 49689 } 49690 l = len(m.SubKind) 49691 if l > 0 { 49692 n += 1 + l + sovTypes(uint64(l)) 49693 } 49694 l = len(m.Version) 49695 if l > 0 { 49696 n += 1 + l + sovTypes(uint64(l)) 49697 } 49698 l = m.Metadata.Size() 49699 n += 1 + l + sovTypes(uint64(l)) 49700 l = m.Spec.Size() 49701 n += 1 + l + sovTypes(uint64(l)) 49702 if m.XXX_unrecognized != nil { 49703 n += len(m.XXX_unrecognized) 49704 } 49705 return n 49706 } 49707 49708 func (m *TrustedClusterV2List) Size() (n int) { 49709 if m == nil { 49710 return 0 49711 } 49712 var l int 49713 _ = l 49714 if len(m.TrustedClusters) > 0 { 49715 for _, e := range m.TrustedClusters { 49716 l = e.Size() 49717 n += 1 + l + sovTypes(uint64(l)) 49718 } 49719 } 49720 if m.XXX_unrecognized != nil { 49721 n += len(m.XXX_unrecognized) 49722 } 49723 return n 49724 } 49725 49726 func (m *TrustedClusterSpecV2) Size() (n int) { 49727 if m == nil { 49728 return 0 49729 } 49730 var l int 49731 _ = l 49732 if m.Enabled { 49733 n += 2 49734 } 49735 if len(m.Roles) > 0 { 49736 for _, s := range m.Roles { 49737 l = len(s) 49738 n += 1 + l + sovTypes(uint64(l)) 49739 } 49740 } 49741 l = len(m.Token) 49742 if l > 0 { 49743 n += 1 + l + sovTypes(uint64(l)) 49744 } 49745 l = len(m.ProxyAddress) 49746 if l > 0 { 49747 n += 1 + l + sovTypes(uint64(l)) 49748 } 49749 l = len(m.ReverseTunnelAddress) 49750 if l > 0 { 49751 n += 1 + l + sovTypes(uint64(l)) 49752 } 49753 if len(m.RoleMap) > 0 { 49754 for _, e := range m.RoleMap { 49755 l = e.Size() 49756 n += 1 + l + sovTypes(uint64(l)) 49757 } 49758 } 49759 if m.XXX_unrecognized != nil { 49760 n += len(m.XXX_unrecognized) 49761 } 49762 return n 49763 } 49764 49765 func (m *LockV2) Size() (n int) { 49766 if m == nil { 49767 return 0 49768 } 49769 var l int 49770 _ = l 49771 l = len(m.Kind) 49772 if l > 0 { 49773 n += 1 + l + sovTypes(uint64(l)) 49774 } 49775 l = len(m.SubKind) 49776 if l > 0 { 49777 n += 1 + l + sovTypes(uint64(l)) 49778 } 49779 l = len(m.Version) 49780 if l > 0 { 49781 n += 1 + l + sovTypes(uint64(l)) 49782 } 49783 l = m.Metadata.Size() 49784 n += 1 + l + sovTypes(uint64(l)) 49785 l = m.Spec.Size() 49786 n += 1 + l + sovTypes(uint64(l)) 49787 if m.XXX_unrecognized != nil { 49788 n += len(m.XXX_unrecognized) 49789 } 49790 return n 49791 } 49792 49793 func (m *LockSpecV2) Size() (n int) { 49794 if m == nil { 49795 return 0 49796 } 49797 var l int 49798 _ = l 49799 l = m.Target.Size() 49800 n += 1 + l + sovTypes(uint64(l)) 49801 l = len(m.Message) 49802 if l > 0 { 49803 n += 1 + l + sovTypes(uint64(l)) 49804 } 49805 if m.Expires != nil { 49806 l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expires) 49807 n += 1 + l + sovTypes(uint64(l)) 49808 } 49809 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt) 49810 n += 1 + l + sovTypes(uint64(l)) 49811 l = len(m.CreatedBy) 49812 if l > 0 { 49813 n += 1 + l + sovTypes(uint64(l)) 49814 } 49815 if m.XXX_unrecognized != nil { 49816 n += len(m.XXX_unrecognized) 49817 } 49818 return n 49819 } 49820 49821 func (m *LockTarget) Size() (n int) { 49822 if m == nil { 49823 return 0 49824 } 49825 var l int 49826 _ = l 49827 l = len(m.User) 49828 if l > 0 { 49829 n += 1 + l + sovTypes(uint64(l)) 49830 } 49831 l = len(m.Role) 49832 if l > 0 { 49833 n += 1 + l + sovTypes(uint64(l)) 49834 } 49835 l = len(m.Login) 49836 if l > 0 { 49837 n += 1 + l + sovTypes(uint64(l)) 49838 } 49839 l = len(m.Node) 49840 if l > 0 { 49841 n += 1 + l + sovTypes(uint64(l)) 49842 } 49843 l = len(m.MFADevice) 49844 if l > 0 { 49845 n += 1 + l + sovTypes(uint64(l)) 49846 } 49847 l = len(m.WindowsDesktop) 49848 if l > 0 { 49849 n += 1 + l + sovTypes(uint64(l)) 49850 } 49851 l = len(m.AccessRequest) 49852 if l > 0 { 49853 n += 1 + l + sovTypes(uint64(l)) 49854 } 49855 l = len(m.Device) 49856 if l > 0 { 49857 n += 1 + l + sovTypes(uint64(l)) 49858 } 49859 l = len(m.ServerID) 49860 if l > 0 { 49861 n += 1 + l + sovTypes(uint64(l)) 49862 } 49863 if m.XXX_unrecognized != nil { 49864 n += len(m.XXX_unrecognized) 49865 } 49866 return n 49867 } 49868 49869 func (m *AddressCondition) Size() (n int) { 49870 if m == nil { 49871 return 0 49872 } 49873 var l int 49874 _ = l 49875 l = len(m.CIDR) 49876 if l > 0 { 49877 n += 1 + l + sovTypes(uint64(l)) 49878 } 49879 if m.XXX_unrecognized != nil { 49880 n += len(m.XXX_unrecognized) 49881 } 49882 return n 49883 } 49884 49885 func (m *NetworkRestrictionsSpecV4) Size() (n int) { 49886 if m == nil { 49887 return 0 49888 } 49889 var l int 49890 _ = l 49891 if len(m.Allow) > 0 { 49892 for _, e := range m.Allow { 49893 l = e.Size() 49894 n += 1 + l + sovTypes(uint64(l)) 49895 } 49896 } 49897 if len(m.Deny) > 0 { 49898 for _, e := range m.Deny { 49899 l = e.Size() 49900 n += 1 + l + sovTypes(uint64(l)) 49901 } 49902 } 49903 if m.XXX_unrecognized != nil { 49904 n += len(m.XXX_unrecognized) 49905 } 49906 return n 49907 } 49908 49909 func (m *NetworkRestrictionsV4) Size() (n int) { 49910 if m == nil { 49911 return 0 49912 } 49913 var l int 49914 _ = l 49915 l = len(m.Kind) 49916 if l > 0 { 49917 n += 1 + l + sovTypes(uint64(l)) 49918 } 49919 l = len(m.SubKind) 49920 if l > 0 { 49921 n += 1 + l + sovTypes(uint64(l)) 49922 } 49923 l = len(m.Version) 49924 if l > 0 { 49925 n += 1 + l + sovTypes(uint64(l)) 49926 } 49927 l = m.Metadata.Size() 49928 n += 1 + l + sovTypes(uint64(l)) 49929 l = m.Spec.Size() 49930 n += 1 + l + sovTypes(uint64(l)) 49931 if m.XXX_unrecognized != nil { 49932 n += len(m.XXX_unrecognized) 49933 } 49934 return n 49935 } 49936 49937 func (m *WindowsDesktopServiceV3) Size() (n int) { 49938 if m == nil { 49939 return 0 49940 } 49941 var l int 49942 _ = l 49943 l = m.ResourceHeader.Size() 49944 n += 1 + l + sovTypes(uint64(l)) 49945 l = m.Spec.Size() 49946 n += 1 + l + sovTypes(uint64(l)) 49947 if m.XXX_unrecognized != nil { 49948 n += len(m.XXX_unrecognized) 49949 } 49950 return n 49951 } 49952 49953 func (m *WindowsDesktopServiceSpecV3) Size() (n int) { 49954 if m == nil { 49955 return 0 49956 } 49957 var l int 49958 _ = l 49959 l = len(m.Addr) 49960 if l > 0 { 49961 n += 1 + l + sovTypes(uint64(l)) 49962 } 49963 l = len(m.TeleportVersion) 49964 if l > 0 { 49965 n += 1 + l + sovTypes(uint64(l)) 49966 } 49967 l = len(m.Hostname) 49968 if l > 0 { 49969 n += 1 + l + sovTypes(uint64(l)) 49970 } 49971 if len(m.ProxyIDs) > 0 { 49972 for _, s := range m.ProxyIDs { 49973 l = len(s) 49974 n += 1 + l + sovTypes(uint64(l)) 49975 } 49976 } 49977 if m.XXX_unrecognized != nil { 49978 n += len(m.XXX_unrecognized) 49979 } 49980 return n 49981 } 49982 49983 func (m *WindowsDesktopFilter) Size() (n int) { 49984 if m == nil { 49985 return 0 49986 } 49987 var l int 49988 _ = l 49989 l = len(m.HostID) 49990 if l > 0 { 49991 n += 1 + l + sovTypes(uint64(l)) 49992 } 49993 l = len(m.Name) 49994 if l > 0 { 49995 n += 1 + l + sovTypes(uint64(l)) 49996 } 49997 if m.XXX_unrecognized != nil { 49998 n += len(m.XXX_unrecognized) 49999 } 50000 return n 50001 } 50002 50003 func (m *WindowsDesktopV3) Size() (n int) { 50004 if m == nil { 50005 return 0 50006 } 50007 var l int 50008 _ = l 50009 l = m.ResourceHeader.Size() 50010 n += 1 + l + sovTypes(uint64(l)) 50011 l = m.Spec.Size() 50012 n += 1 + l + sovTypes(uint64(l)) 50013 if m.XXX_unrecognized != nil { 50014 n += len(m.XXX_unrecognized) 50015 } 50016 return n 50017 } 50018 50019 func (m *WindowsDesktopSpecV3) Size() (n int) { 50020 if m == nil { 50021 return 0 50022 } 50023 var l int 50024 _ = l 50025 l = len(m.Addr) 50026 if l > 0 { 50027 n += 1 + l + sovTypes(uint64(l)) 50028 } 50029 l = len(m.Domain) 50030 if l > 0 { 50031 n += 1 + l + sovTypes(uint64(l)) 50032 } 50033 l = len(m.HostID) 50034 if l > 0 { 50035 n += 1 + l + sovTypes(uint64(l)) 50036 } 50037 if m.NonAD { 50038 n += 2 50039 } 50040 if m.ScreenSize != nil { 50041 l = m.ScreenSize.Size() 50042 n += 1 + l + sovTypes(uint64(l)) 50043 } 50044 if m.XXX_unrecognized != nil { 50045 n += len(m.XXX_unrecognized) 50046 } 50047 return n 50048 } 50049 50050 func (m *Resolution) Size() (n int) { 50051 if m == nil { 50052 return 0 50053 } 50054 var l int 50055 _ = l 50056 if m.Width != 0 { 50057 n += 1 + sovTypes(uint64(m.Width)) 50058 } 50059 if m.Height != 0 { 50060 n += 1 + sovTypes(uint64(m.Height)) 50061 } 50062 if m.XXX_unrecognized != nil { 50063 n += len(m.XXX_unrecognized) 50064 } 50065 return n 50066 } 50067 50068 func (m *RegisterUsingTokenRequest) Size() (n int) { 50069 if m == nil { 50070 return 0 50071 } 50072 var l int 50073 _ = l 50074 l = len(m.HostID) 50075 if l > 0 { 50076 n += 1 + l + sovTypes(uint64(l)) 50077 } 50078 l = len(m.NodeName) 50079 if l > 0 { 50080 n += 1 + l + sovTypes(uint64(l)) 50081 } 50082 l = len(m.Role) 50083 if l > 0 { 50084 n += 1 + l + sovTypes(uint64(l)) 50085 } 50086 l = len(m.Token) 50087 if l > 0 { 50088 n += 1 + l + sovTypes(uint64(l)) 50089 } 50090 if len(m.AdditionalPrincipals) > 0 { 50091 for _, s := range m.AdditionalPrincipals { 50092 l = len(s) 50093 n += 1 + l + sovTypes(uint64(l)) 50094 } 50095 } 50096 if len(m.DNSNames) > 0 { 50097 for _, s := range m.DNSNames { 50098 l = len(s) 50099 n += 1 + l + sovTypes(uint64(l)) 50100 } 50101 } 50102 l = len(m.PublicTLSKey) 50103 if l > 0 { 50104 n += 1 + l + sovTypes(uint64(l)) 50105 } 50106 l = len(m.PublicSSHKey) 50107 if l > 0 { 50108 n += 1 + l + sovTypes(uint64(l)) 50109 } 50110 l = len(m.RemoteAddr) 50111 if l > 0 { 50112 n += 1 + l + sovTypes(uint64(l)) 50113 } 50114 l = len(m.EC2IdentityDocument) 50115 if l > 0 { 50116 n += 1 + l + sovTypes(uint64(l)) 50117 } 50118 l = len(m.IDToken) 50119 if l > 0 { 50120 n += 1 + l + sovTypes(uint64(l)) 50121 } 50122 if m.Expires != nil { 50123 l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expires) 50124 n += 1 + l + sovTypes(uint64(l)) 50125 } 50126 if m.XXX_unrecognized != nil { 50127 n += len(m.XXX_unrecognized) 50128 } 50129 return n 50130 } 50131 50132 func (m *RecoveryCodesV1) Size() (n int) { 50133 if m == nil { 50134 return 0 50135 } 50136 var l int 50137 _ = l 50138 l = len(m.Kind) 50139 if l > 0 { 50140 n += 1 + l + sovTypes(uint64(l)) 50141 } 50142 l = len(m.SubKind) 50143 if l > 0 { 50144 n += 1 + l + sovTypes(uint64(l)) 50145 } 50146 l = len(m.Version) 50147 if l > 0 { 50148 n += 1 + l + sovTypes(uint64(l)) 50149 } 50150 l = m.Metadata.Size() 50151 n += 1 + l + sovTypes(uint64(l)) 50152 l = m.Spec.Size() 50153 n += 1 + l + sovTypes(uint64(l)) 50154 if m.XXX_unrecognized != nil { 50155 n += len(m.XXX_unrecognized) 50156 } 50157 return n 50158 } 50159 50160 func (m *RecoveryCodesSpecV1) Size() (n int) { 50161 if m == nil { 50162 return 0 50163 } 50164 var l int 50165 _ = l 50166 if len(m.Codes) > 0 { 50167 for _, e := range m.Codes { 50168 l = e.Size() 50169 n += 1 + l + sovTypes(uint64(l)) 50170 } 50171 } 50172 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Created) 50173 n += 1 + l + sovTypes(uint64(l)) 50174 if m.XXX_unrecognized != nil { 50175 n += len(m.XXX_unrecognized) 50176 } 50177 return n 50178 } 50179 50180 func (m *RecoveryCode) Size() (n int) { 50181 if m == nil { 50182 return 0 50183 } 50184 var l int 50185 _ = l 50186 l = len(m.HashedCode) 50187 if l > 0 { 50188 n += 1 + l + sovTypes(uint64(l)) 50189 } 50190 if m.IsUsed { 50191 n += 2 50192 } 50193 if m.XXX_unrecognized != nil { 50194 n += len(m.XXX_unrecognized) 50195 } 50196 return n 50197 } 50198 50199 func (m *NullableSessionState) Size() (n int) { 50200 if m == nil { 50201 return 0 50202 } 50203 var l int 50204 _ = l 50205 if m.State != 0 { 50206 n += 1 + sovTypes(uint64(m.State)) 50207 } 50208 if m.XXX_unrecognized != nil { 50209 n += len(m.XXX_unrecognized) 50210 } 50211 return n 50212 } 50213 50214 func (m *SessionTrackerFilter) Size() (n int) { 50215 if m == nil { 50216 return 0 50217 } 50218 var l int 50219 _ = l 50220 l = len(m.Kind) 50221 if l > 0 { 50222 n += 1 + l + sovTypes(uint64(l)) 50223 } 50224 if m.State != nil { 50225 l = m.State.Size() 50226 n += 1 + l + sovTypes(uint64(l)) 50227 } 50228 l = len(m.DesktopName) 50229 if l > 0 { 50230 n += 1 + l + sovTypes(uint64(l)) 50231 } 50232 if m.XXX_unrecognized != nil { 50233 n += len(m.XXX_unrecognized) 50234 } 50235 return n 50236 } 50237 50238 func (m *SessionTrackerV1) Size() (n int) { 50239 if m == nil { 50240 return 0 50241 } 50242 var l int 50243 _ = l 50244 l = m.ResourceHeader.Size() 50245 n += 1 + l + sovTypes(uint64(l)) 50246 l = m.Spec.Size() 50247 n += 1 + l + sovTypes(uint64(l)) 50248 if m.XXX_unrecognized != nil { 50249 n += len(m.XXX_unrecognized) 50250 } 50251 return n 50252 } 50253 50254 func (m *SessionTrackerSpecV1) Size() (n int) { 50255 if m == nil { 50256 return 0 50257 } 50258 var l int 50259 _ = l 50260 l = len(m.SessionID) 50261 if l > 0 { 50262 n += 1 + l + sovTypes(uint64(l)) 50263 } 50264 l = len(m.Kind) 50265 if l > 0 { 50266 n += 1 + l + sovTypes(uint64(l)) 50267 } 50268 if m.State != 0 { 50269 n += 1 + sovTypes(uint64(m.State)) 50270 } 50271 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Created) 50272 n += 1 + l + sovTypes(uint64(l)) 50273 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires) 50274 n += 1 + l + sovTypes(uint64(l)) 50275 l = len(m.AttachedData) 50276 if l > 0 { 50277 n += 1 + l + sovTypes(uint64(l)) 50278 } 50279 l = len(m.Reason) 50280 if l > 0 { 50281 n += 1 + l + sovTypes(uint64(l)) 50282 } 50283 if len(m.Invited) > 0 { 50284 for _, s := range m.Invited { 50285 l = len(s) 50286 n += 1 + l + sovTypes(uint64(l)) 50287 } 50288 } 50289 l = len(m.Hostname) 50290 if l > 0 { 50291 n += 1 + l + sovTypes(uint64(l)) 50292 } 50293 l = len(m.Address) 50294 if l > 0 { 50295 n += 1 + l + sovTypes(uint64(l)) 50296 } 50297 l = len(m.ClusterName) 50298 if l > 0 { 50299 n += 1 + l + sovTypes(uint64(l)) 50300 } 50301 l = len(m.Login) 50302 if l > 0 { 50303 n += 1 + l + sovTypes(uint64(l)) 50304 } 50305 if len(m.Participants) > 0 { 50306 for _, e := range m.Participants { 50307 l = e.Size() 50308 n += 1 + l + sovTypes(uint64(l)) 50309 } 50310 } 50311 l = len(m.KubernetesCluster) 50312 if l > 0 { 50313 n += 1 + l + sovTypes(uint64(l)) 50314 } 50315 l = len(m.HostUser) 50316 if l > 0 { 50317 n += 1 + l + sovTypes(uint64(l)) 50318 } 50319 if len(m.HostPolicies) > 0 { 50320 for _, e := range m.HostPolicies { 50321 l = e.Size() 50322 n += 2 + l + sovTypes(uint64(l)) 50323 } 50324 } 50325 l = len(m.DatabaseName) 50326 if l > 0 { 50327 n += 2 + l + sovTypes(uint64(l)) 50328 } 50329 l = len(m.AppName) 50330 if l > 0 { 50331 n += 2 + l + sovTypes(uint64(l)) 50332 } 50333 l = len(m.AppSessionID) 50334 if l > 0 { 50335 n += 2 + l + sovTypes(uint64(l)) 50336 } 50337 l = len(m.DesktopName) 50338 if l > 0 { 50339 n += 2 + l + sovTypes(uint64(l)) 50340 } 50341 l = len(m.HostID) 50342 if l > 0 { 50343 n += 2 + l + sovTypes(uint64(l)) 50344 } 50345 l = len(m.TargetSubKind) 50346 if l > 0 { 50347 n += 2 + l + sovTypes(uint64(l)) 50348 } 50349 if len(m.InitialCommand) > 0 { 50350 for _, s := range m.InitialCommand { 50351 l = len(s) 50352 n += 2 + l + sovTypes(uint64(l)) 50353 } 50354 } 50355 if m.XXX_unrecognized != nil { 50356 n += len(m.XXX_unrecognized) 50357 } 50358 return n 50359 } 50360 50361 func (m *SessionTrackerPolicySet) Size() (n int) { 50362 if m == nil { 50363 return 0 50364 } 50365 var l int 50366 _ = l 50367 l = len(m.Name) 50368 if l > 0 { 50369 n += 1 + l + sovTypes(uint64(l)) 50370 } 50371 l = len(m.Version) 50372 if l > 0 { 50373 n += 1 + l + sovTypes(uint64(l)) 50374 } 50375 if len(m.RequireSessionJoin) > 0 { 50376 for _, e := range m.RequireSessionJoin { 50377 l = e.Size() 50378 n += 1 + l + sovTypes(uint64(l)) 50379 } 50380 } 50381 if m.XXX_unrecognized != nil { 50382 n += len(m.XXX_unrecognized) 50383 } 50384 return n 50385 } 50386 50387 func (m *Participant) Size() (n int) { 50388 if m == nil { 50389 return 0 50390 } 50391 var l int 50392 _ = l 50393 l = len(m.ID) 50394 if l > 0 { 50395 n += 1 + l + sovTypes(uint64(l)) 50396 } 50397 l = len(m.User) 50398 if l > 0 { 50399 n += 1 + l + sovTypes(uint64(l)) 50400 } 50401 l = len(m.Mode) 50402 if l > 0 { 50403 n += 1 + l + sovTypes(uint64(l)) 50404 } 50405 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.LastActive) 50406 n += 1 + l + sovTypes(uint64(l)) 50407 if m.XXX_unrecognized != nil { 50408 n += len(m.XXX_unrecognized) 50409 } 50410 return n 50411 } 50412 50413 func (m *UIConfigV1) Size() (n int) { 50414 if m == nil { 50415 return 0 50416 } 50417 var l int 50418 _ = l 50419 l = m.ResourceHeader.Size() 50420 n += 1 + l + sovTypes(uint64(l)) 50421 l = m.Spec.Size() 50422 n += 1 + l + sovTypes(uint64(l)) 50423 if m.XXX_unrecognized != nil { 50424 n += len(m.XXX_unrecognized) 50425 } 50426 return n 50427 } 50428 50429 func (m *UIConfigSpecV1) Size() (n int) { 50430 if m == nil { 50431 return 0 50432 } 50433 var l int 50434 _ = l 50435 if m.ScrollbackLines != 0 { 50436 n += 1 + sovTypes(uint64(m.ScrollbackLines)) 50437 } 50438 l = len(m.ShowResources) 50439 if l > 0 { 50440 n += 1 + l + sovTypes(uint64(l)) 50441 } 50442 if m.XXX_unrecognized != nil { 50443 n += len(m.XXX_unrecognized) 50444 } 50445 return n 50446 } 50447 50448 func (m *InstallerV1) Size() (n int) { 50449 if m == nil { 50450 return 0 50451 } 50452 var l int 50453 _ = l 50454 l = len(m.Kind) 50455 if l > 0 { 50456 n += 1 + l + sovTypes(uint64(l)) 50457 } 50458 l = len(m.SubKind) 50459 if l > 0 { 50460 n += 1 + l + sovTypes(uint64(l)) 50461 } 50462 l = len(m.Version) 50463 if l > 0 { 50464 n += 1 + l + sovTypes(uint64(l)) 50465 } 50466 l = m.Metadata.Size() 50467 n += 1 + l + sovTypes(uint64(l)) 50468 l = m.Spec.Size() 50469 n += 1 + l + sovTypes(uint64(l)) 50470 if m.XXX_unrecognized != nil { 50471 n += len(m.XXX_unrecognized) 50472 } 50473 return n 50474 } 50475 50476 func (m *InstallerSpecV1) Size() (n int) { 50477 if m == nil { 50478 return 0 50479 } 50480 var l int 50481 _ = l 50482 l = len(m.Script) 50483 if l > 0 { 50484 n += 1 + l + sovTypes(uint64(l)) 50485 } 50486 if m.XXX_unrecognized != nil { 50487 n += len(m.XXX_unrecognized) 50488 } 50489 return n 50490 } 50491 50492 func (m *InstallerV1List) Size() (n int) { 50493 if m == nil { 50494 return 0 50495 } 50496 var l int 50497 _ = l 50498 if len(m.Installers) > 0 { 50499 for _, e := range m.Installers { 50500 l = e.Size() 50501 n += 1 + l + sovTypes(uint64(l)) 50502 } 50503 } 50504 if m.XXX_unrecognized != nil { 50505 n += len(m.XXX_unrecognized) 50506 } 50507 return n 50508 } 50509 50510 func (m *SortBy) Size() (n int) { 50511 if m == nil { 50512 return 0 50513 } 50514 var l int 50515 _ = l 50516 if m.IsDesc { 50517 n += 2 50518 } 50519 l = len(m.Field) 50520 if l > 0 { 50521 n += 1 + l + sovTypes(uint64(l)) 50522 } 50523 if m.XXX_unrecognized != nil { 50524 n += len(m.XXX_unrecognized) 50525 } 50526 return n 50527 } 50528 50529 func (m *ConnectionDiagnosticV1) Size() (n int) { 50530 if m == nil { 50531 return 0 50532 } 50533 var l int 50534 _ = l 50535 l = m.ResourceHeader.Size() 50536 n += 1 + l + sovTypes(uint64(l)) 50537 l = m.Spec.Size() 50538 n += 1 + l + sovTypes(uint64(l)) 50539 if m.XXX_unrecognized != nil { 50540 n += len(m.XXX_unrecognized) 50541 } 50542 return n 50543 } 50544 50545 func (m *ConnectionDiagnosticSpecV1) Size() (n int) { 50546 if m == nil { 50547 return 0 50548 } 50549 var l int 50550 _ = l 50551 if m.Success { 50552 n += 2 50553 } 50554 l = len(m.Message) 50555 if l > 0 { 50556 n += 1 + l + sovTypes(uint64(l)) 50557 } 50558 if len(m.Traces) > 0 { 50559 for _, e := range m.Traces { 50560 l = e.Size() 50561 n += 1 + l + sovTypes(uint64(l)) 50562 } 50563 } 50564 if m.XXX_unrecognized != nil { 50565 n += len(m.XXX_unrecognized) 50566 } 50567 return n 50568 } 50569 50570 func (m *ConnectionDiagnosticTrace) Size() (n int) { 50571 if m == nil { 50572 return 0 50573 } 50574 var l int 50575 _ = l 50576 if m.Type != 0 { 50577 n += 1 + sovTypes(uint64(m.Type)) 50578 } 50579 if m.Status != 0 { 50580 n += 1 + sovTypes(uint64(m.Status)) 50581 } 50582 l = len(m.Details) 50583 if l > 0 { 50584 n += 1 + l + sovTypes(uint64(l)) 50585 } 50586 l = len(m.Error) 50587 if l > 0 { 50588 n += 1 + l + sovTypes(uint64(l)) 50589 } 50590 if m.XXX_unrecognized != nil { 50591 n += len(m.XXX_unrecognized) 50592 } 50593 return n 50594 } 50595 50596 func (m *DatabaseServiceV1) Size() (n int) { 50597 if m == nil { 50598 return 0 50599 } 50600 var l int 50601 _ = l 50602 l = m.ResourceHeader.Size() 50603 n += 1 + l + sovTypes(uint64(l)) 50604 l = m.Spec.Size() 50605 n += 1 + l + sovTypes(uint64(l)) 50606 if m.XXX_unrecognized != nil { 50607 n += len(m.XXX_unrecognized) 50608 } 50609 return n 50610 } 50611 50612 func (m *DatabaseServiceSpecV1) Size() (n int) { 50613 if m == nil { 50614 return 0 50615 } 50616 var l int 50617 _ = l 50618 if len(m.ResourceMatchers) > 0 { 50619 for _, e := range m.ResourceMatchers { 50620 l = e.Size() 50621 n += 1 + l + sovTypes(uint64(l)) 50622 } 50623 } 50624 if m.XXX_unrecognized != nil { 50625 n += len(m.XXX_unrecognized) 50626 } 50627 return n 50628 } 50629 50630 func (m *DatabaseResourceMatcher) Size() (n int) { 50631 if m == nil { 50632 return 0 50633 } 50634 var l int 50635 _ = l 50636 if m.Labels != nil { 50637 l = m.Labels.Size() 50638 n += 1 + l + sovTypes(uint64(l)) 50639 } 50640 l = m.AWS.Size() 50641 n += 1 + l + sovTypes(uint64(l)) 50642 if m.XXX_unrecognized != nil { 50643 n += len(m.XXX_unrecognized) 50644 } 50645 return n 50646 } 50647 50648 func (m *ResourceMatcherAWS) Size() (n int) { 50649 if m == nil { 50650 return 0 50651 } 50652 var l int 50653 _ = l 50654 l = len(m.AssumeRoleARN) 50655 if l > 0 { 50656 n += 1 + l + sovTypes(uint64(l)) 50657 } 50658 l = len(m.ExternalID) 50659 if l > 0 { 50660 n += 1 + l + sovTypes(uint64(l)) 50661 } 50662 if m.XXX_unrecognized != nil { 50663 n += len(m.XXX_unrecognized) 50664 } 50665 return n 50666 } 50667 50668 func (m *ClusterAlert) Size() (n int) { 50669 if m == nil { 50670 return 0 50671 } 50672 var l int 50673 _ = l 50674 l = m.ResourceHeader.Size() 50675 n += 1 + l + sovTypes(uint64(l)) 50676 l = m.Spec.Size() 50677 n += 1 + l + sovTypes(uint64(l)) 50678 if m.XXX_unrecognized != nil { 50679 n += len(m.XXX_unrecognized) 50680 } 50681 return n 50682 } 50683 50684 func (m *ClusterAlertSpec) Size() (n int) { 50685 if m == nil { 50686 return 0 50687 } 50688 var l int 50689 _ = l 50690 if m.Severity != 0 { 50691 n += 1 + sovTypes(uint64(m.Severity)) 50692 } 50693 l = len(m.Message) 50694 if l > 0 { 50695 n += 1 + l + sovTypes(uint64(l)) 50696 } 50697 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Created) 50698 n += 1 + l + sovTypes(uint64(l)) 50699 if m.XXX_unrecognized != nil { 50700 n += len(m.XXX_unrecognized) 50701 } 50702 return n 50703 } 50704 50705 func (m *GetClusterAlertsRequest) Size() (n int) { 50706 if m == nil { 50707 return 0 50708 } 50709 var l int 50710 _ = l 50711 if m.Severity != 0 { 50712 n += 1 + sovTypes(uint64(m.Severity)) 50713 } 50714 l = len(m.AlertID) 50715 if l > 0 { 50716 n += 1 + l + sovTypes(uint64(l)) 50717 } 50718 if len(m.Labels) > 0 { 50719 for k, v := range m.Labels { 50720 _ = k 50721 _ = v 50722 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v))) 50723 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 50724 } 50725 } 50726 if m.WithSuperseded { 50727 n += 2 50728 } 50729 if m.WithAcknowledged { 50730 n += 2 50731 } 50732 if m.WithUntargeted { 50733 n += 2 50734 } 50735 if m.XXX_unrecognized != nil { 50736 n += len(m.XXX_unrecognized) 50737 } 50738 return n 50739 } 50740 50741 func (m *AlertAcknowledgement) Size() (n int) { 50742 if m == nil { 50743 return 0 50744 } 50745 var l int 50746 _ = l 50747 l = len(m.AlertID) 50748 if l > 0 { 50749 n += 1 + l + sovTypes(uint64(l)) 50750 } 50751 l = len(m.Reason) 50752 if l > 0 { 50753 n += 1 + l + sovTypes(uint64(l)) 50754 } 50755 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires) 50756 n += 1 + l + sovTypes(uint64(l)) 50757 if m.XXX_unrecognized != nil { 50758 n += len(m.XXX_unrecognized) 50759 } 50760 return n 50761 } 50762 50763 func (m *Release) Size() (n int) { 50764 if m == nil { 50765 return 0 50766 } 50767 var l int 50768 _ = l 50769 l = len(m.NotesMD) 50770 if l > 0 { 50771 n += 1 + l + sovTypes(uint64(l)) 50772 } 50773 l = len(m.Product) 50774 if l > 0 { 50775 n += 1 + l + sovTypes(uint64(l)) 50776 } 50777 l = len(m.ReleaseID) 50778 if l > 0 { 50779 n += 1 + l + sovTypes(uint64(l)) 50780 } 50781 l = len(m.Status) 50782 if l > 0 { 50783 n += 1 + l + sovTypes(uint64(l)) 50784 } 50785 l = len(m.Version) 50786 if l > 0 { 50787 n += 1 + l + sovTypes(uint64(l)) 50788 } 50789 if len(m.Assets) > 0 { 50790 for _, e := range m.Assets { 50791 l = e.Size() 50792 n += 1 + l + sovTypes(uint64(l)) 50793 } 50794 } 50795 if m.XXX_unrecognized != nil { 50796 n += len(m.XXX_unrecognized) 50797 } 50798 return n 50799 } 50800 50801 func (m *Asset) Size() (n int) { 50802 if m == nil { 50803 return 0 50804 } 50805 var l int 50806 _ = l 50807 l = len(m.Arch) 50808 if l > 0 { 50809 n += 1 + l + sovTypes(uint64(l)) 50810 } 50811 l = len(m.Description) 50812 if l > 0 { 50813 n += 1 + l + sovTypes(uint64(l)) 50814 } 50815 l = len(m.Name) 50816 if l > 0 { 50817 n += 1 + l + sovTypes(uint64(l)) 50818 } 50819 l = len(m.OS) 50820 if l > 0 { 50821 n += 1 + l + sovTypes(uint64(l)) 50822 } 50823 l = len(m.SHA256) 50824 if l > 0 { 50825 n += 1 + l + sovTypes(uint64(l)) 50826 } 50827 if m.AssetSize != 0 { 50828 n += 1 + sovTypes(uint64(m.AssetSize)) 50829 } 50830 l = len(m.DisplaySize) 50831 if l > 0 { 50832 n += 1 + l + sovTypes(uint64(l)) 50833 } 50834 if len(m.ReleaseIDs) > 0 { 50835 for _, s := range m.ReleaseIDs { 50836 l = len(s) 50837 n += 1 + l + sovTypes(uint64(l)) 50838 } 50839 } 50840 l = len(m.PublicURL) 50841 if l > 0 { 50842 n += 1 + l + sovTypes(uint64(l)) 50843 } 50844 if m.XXX_unrecognized != nil { 50845 n += len(m.XXX_unrecognized) 50846 } 50847 return n 50848 } 50849 50850 func (m *PluginV1) Size() (n int) { 50851 if m == nil { 50852 return 0 50853 } 50854 var l int 50855 _ = l 50856 l = len(m.Kind) 50857 if l > 0 { 50858 n += 1 + l + sovTypes(uint64(l)) 50859 } 50860 l = len(m.SubKind) 50861 if l > 0 { 50862 n += 1 + l + sovTypes(uint64(l)) 50863 } 50864 l = len(m.Version) 50865 if l > 0 { 50866 n += 1 + l + sovTypes(uint64(l)) 50867 } 50868 l = m.Metadata.Size() 50869 n += 1 + l + sovTypes(uint64(l)) 50870 l = m.Spec.Size() 50871 n += 1 + l + sovTypes(uint64(l)) 50872 l = m.Status.Size() 50873 n += 1 + l + sovTypes(uint64(l)) 50874 if m.Credentials != nil { 50875 l = m.Credentials.Size() 50876 n += 1 + l + sovTypes(uint64(l)) 50877 } 50878 if m.XXX_unrecognized != nil { 50879 n += len(m.XXX_unrecognized) 50880 } 50881 return n 50882 } 50883 50884 func (m *PluginSpecV1) Size() (n int) { 50885 if m == nil { 50886 return 0 50887 } 50888 var l int 50889 _ = l 50890 if m.Settings != nil { 50891 n += m.Settings.Size() 50892 } 50893 l = len(m.Generation) 50894 if l > 0 { 50895 n += 1 + l + sovTypes(uint64(l)) 50896 } 50897 if m.XXX_unrecognized != nil { 50898 n += len(m.XXX_unrecognized) 50899 } 50900 return n 50901 } 50902 50903 func (m *PluginSpecV1_SlackAccessPlugin) Size() (n int) { 50904 if m == nil { 50905 return 0 50906 } 50907 var l int 50908 _ = l 50909 if m.SlackAccessPlugin != nil { 50910 l = m.SlackAccessPlugin.Size() 50911 n += 1 + l + sovTypes(uint64(l)) 50912 } 50913 return n 50914 } 50915 func (m *PluginSpecV1_Opsgenie) Size() (n int) { 50916 if m == nil { 50917 return 0 50918 } 50919 var l int 50920 _ = l 50921 if m.Opsgenie != nil { 50922 l = m.Opsgenie.Size() 50923 n += 1 + l + sovTypes(uint64(l)) 50924 } 50925 return n 50926 } 50927 func (m *PluginSpecV1_Openai) Size() (n int) { 50928 if m == nil { 50929 return 0 50930 } 50931 var l int 50932 _ = l 50933 if m.Openai != nil { 50934 l = m.Openai.Size() 50935 n += 1 + l + sovTypes(uint64(l)) 50936 } 50937 return n 50938 } 50939 func (m *PluginSpecV1_Okta) Size() (n int) { 50940 if m == nil { 50941 return 0 50942 } 50943 var l int 50944 _ = l 50945 if m.Okta != nil { 50946 l = m.Okta.Size() 50947 n += 1 + l + sovTypes(uint64(l)) 50948 } 50949 return n 50950 } 50951 func (m *PluginSpecV1_Jamf) Size() (n int) { 50952 if m == nil { 50953 return 0 50954 } 50955 var l int 50956 _ = l 50957 if m.Jamf != nil { 50958 l = m.Jamf.Size() 50959 n += 1 + l + sovTypes(uint64(l)) 50960 } 50961 return n 50962 } 50963 func (m *PluginSpecV1_PagerDuty) Size() (n int) { 50964 if m == nil { 50965 return 0 50966 } 50967 var l int 50968 _ = l 50969 if m.PagerDuty != nil { 50970 l = m.PagerDuty.Size() 50971 n += 1 + l + sovTypes(uint64(l)) 50972 } 50973 return n 50974 } 50975 func (m *PluginSpecV1_Mattermost) Size() (n int) { 50976 if m == nil { 50977 return 0 50978 } 50979 var l int 50980 _ = l 50981 if m.Mattermost != nil { 50982 l = m.Mattermost.Size() 50983 n += 1 + l + sovTypes(uint64(l)) 50984 } 50985 return n 50986 } 50987 func (m *PluginSpecV1_Jira) Size() (n int) { 50988 if m == nil { 50989 return 0 50990 } 50991 var l int 50992 _ = l 50993 if m.Jira != nil { 50994 l = m.Jira.Size() 50995 n += 1 + l + sovTypes(uint64(l)) 50996 } 50997 return n 50998 } 50999 func (m *PluginSpecV1_Discord) Size() (n int) { 51000 if m == nil { 51001 return 0 51002 } 51003 var l int 51004 _ = l 51005 if m.Discord != nil { 51006 l = m.Discord.Size() 51007 n += 1 + l + sovTypes(uint64(l)) 51008 } 51009 return n 51010 } 51011 func (m *PluginSpecV1_ServiceNow) Size() (n int) { 51012 if m == nil { 51013 return 0 51014 } 51015 var l int 51016 _ = l 51017 if m.ServiceNow != nil { 51018 l = m.ServiceNow.Size() 51019 n += 1 + l + sovTypes(uint64(l)) 51020 } 51021 return n 51022 } 51023 func (m *PluginSpecV1_Gitlab) Size() (n int) { 51024 if m == nil { 51025 return 0 51026 } 51027 var l int 51028 _ = l 51029 if m.Gitlab != nil { 51030 l = m.Gitlab.Size() 51031 n += 1 + l + sovTypes(uint64(l)) 51032 } 51033 return n 51034 } 51035 func (m *PluginSpecV1_EntraId) Size() (n int) { 51036 if m == nil { 51037 return 0 51038 } 51039 var l int 51040 _ = l 51041 if m.EntraId != nil { 51042 l = m.EntraId.Size() 51043 n += 1 + l + sovTypes(uint64(l)) 51044 } 51045 return n 51046 } 51047 func (m *PluginSlackAccessSettings) Size() (n int) { 51048 if m == nil { 51049 return 0 51050 } 51051 var l int 51052 _ = l 51053 l = len(m.FallbackChannel) 51054 if l > 0 { 51055 n += 1 + l + sovTypes(uint64(l)) 51056 } 51057 if m.XXX_unrecognized != nil { 51058 n += len(m.XXX_unrecognized) 51059 } 51060 return n 51061 } 51062 51063 func (m *PluginGitlabSettings) Size() (n int) { 51064 if m == nil { 51065 return 0 51066 } 51067 var l int 51068 _ = l 51069 l = len(m.ApiEndpoint) 51070 if l > 0 { 51071 n += 1 + l + sovTypes(uint64(l)) 51072 } 51073 if m.XXX_unrecognized != nil { 51074 n += len(m.XXX_unrecognized) 51075 } 51076 return n 51077 } 51078 51079 func (m *PluginOpsgenieAccessSettings) Size() (n int) { 51080 if m == nil { 51081 return 0 51082 } 51083 var l int 51084 _ = l 51085 l = len(m.Priority) 51086 if l > 0 { 51087 n += 1 + l + sovTypes(uint64(l)) 51088 } 51089 if len(m.AlertTags) > 0 { 51090 for _, s := range m.AlertTags { 51091 l = len(s) 51092 n += 1 + l + sovTypes(uint64(l)) 51093 } 51094 } 51095 if len(m.DefaultSchedules) > 0 { 51096 for _, s := range m.DefaultSchedules { 51097 l = len(s) 51098 n += 1 + l + sovTypes(uint64(l)) 51099 } 51100 } 51101 l = len(m.ApiEndpoint) 51102 if l > 0 { 51103 n += 1 + l + sovTypes(uint64(l)) 51104 } 51105 if m.XXX_unrecognized != nil { 51106 n += len(m.XXX_unrecognized) 51107 } 51108 return n 51109 } 51110 51111 func (m *PluginServiceNowSettings) Size() (n int) { 51112 if m == nil { 51113 return 0 51114 } 51115 var l int 51116 _ = l 51117 l = len(m.ApiEndpoint) 51118 if l > 0 { 51119 n += 1 + l + sovTypes(uint64(l)) 51120 } 51121 l = len(m.Username) 51122 if l > 0 { 51123 n += 1 + l + sovTypes(uint64(l)) 51124 } 51125 l = len(m.Password) 51126 if l > 0 { 51127 n += 1 + l + sovTypes(uint64(l)) 51128 } 51129 l = len(m.CloseCode) 51130 if l > 0 { 51131 n += 1 + l + sovTypes(uint64(l)) 51132 } 51133 if m.XXX_unrecognized != nil { 51134 n += len(m.XXX_unrecognized) 51135 } 51136 return n 51137 } 51138 51139 func (m *PluginPagerDutySettings) Size() (n int) { 51140 if m == nil { 51141 return 0 51142 } 51143 var l int 51144 _ = l 51145 l = len(m.UserEmail) 51146 if l > 0 { 51147 n += 1 + l + sovTypes(uint64(l)) 51148 } 51149 l = len(m.ApiEndpoint) 51150 if l > 0 { 51151 n += 1 + l + sovTypes(uint64(l)) 51152 } 51153 if m.XXX_unrecognized != nil { 51154 n += len(m.XXX_unrecognized) 51155 } 51156 return n 51157 } 51158 51159 func (m *PluginJiraSettings) Size() (n int) { 51160 if m == nil { 51161 return 0 51162 } 51163 var l int 51164 _ = l 51165 l = len(m.ServerUrl) 51166 if l > 0 { 51167 n += 1 + l + sovTypes(uint64(l)) 51168 } 51169 l = len(m.ProjectKey) 51170 if l > 0 { 51171 n += 1 + l + sovTypes(uint64(l)) 51172 } 51173 l = len(m.IssueType) 51174 if l > 0 { 51175 n += 1 + l + sovTypes(uint64(l)) 51176 } 51177 if m.XXX_unrecognized != nil { 51178 n += len(m.XXX_unrecognized) 51179 } 51180 return n 51181 } 51182 51183 func (m *PluginOpenAISettings) Size() (n int) { 51184 if m == nil { 51185 return 0 51186 } 51187 var l int 51188 _ = l 51189 if m.XXX_unrecognized != nil { 51190 n += len(m.XXX_unrecognized) 51191 } 51192 return n 51193 } 51194 51195 func (m *PluginMattermostSettings) Size() (n int) { 51196 if m == nil { 51197 return 0 51198 } 51199 var l int 51200 _ = l 51201 l = len(m.ServerUrl) 51202 if l > 0 { 51203 n += 1 + l + sovTypes(uint64(l)) 51204 } 51205 l = len(m.Team) 51206 if l > 0 { 51207 n += 1 + l + sovTypes(uint64(l)) 51208 } 51209 l = len(m.Channel) 51210 if l > 0 { 51211 n += 1 + l + sovTypes(uint64(l)) 51212 } 51213 l = len(m.ReportToEmail) 51214 if l > 0 { 51215 n += 1 + l + sovTypes(uint64(l)) 51216 } 51217 if m.XXX_unrecognized != nil { 51218 n += len(m.XXX_unrecognized) 51219 } 51220 return n 51221 } 51222 51223 func (m *PluginJamfSettings) Size() (n int) { 51224 if m == nil { 51225 return 0 51226 } 51227 var l int 51228 _ = l 51229 if m.JamfSpec != nil { 51230 l = m.JamfSpec.Size() 51231 n += 1 + l + sovTypes(uint64(l)) 51232 } 51233 if m.XXX_unrecognized != nil { 51234 n += len(m.XXX_unrecognized) 51235 } 51236 return n 51237 } 51238 51239 func (m *PluginOktaSettings) Size() (n int) { 51240 if m == nil { 51241 return 0 51242 } 51243 var l int 51244 _ = l 51245 l = len(m.OrgUrl) 51246 if l > 0 { 51247 n += 1 + l + sovTypes(uint64(l)) 51248 } 51249 if m.EnableUserSync { 51250 n += 2 51251 } 51252 l = len(m.SsoConnectorId) 51253 if l > 0 { 51254 n += 1 + l + sovTypes(uint64(l)) 51255 } 51256 if m.SyncSettings != nil { 51257 l = m.SyncSettings.Size() 51258 n += 1 + l + sovTypes(uint64(l)) 51259 } 51260 if m.XXX_unrecognized != nil { 51261 n += len(m.XXX_unrecognized) 51262 } 51263 return n 51264 } 51265 51266 func (m *PluginOktaSyncSettings) Size() (n int) { 51267 if m == nil { 51268 return 0 51269 } 51270 var l int 51271 _ = l 51272 if m.SyncUsers { 51273 n += 2 51274 } 51275 l = len(m.SsoConnectorId) 51276 if l > 0 { 51277 n += 1 + l + sovTypes(uint64(l)) 51278 } 51279 if m.SyncAccessLists { 51280 n += 2 51281 } 51282 if len(m.DefaultOwners) > 0 { 51283 for _, s := range m.DefaultOwners { 51284 l = len(s) 51285 n += 1 + l + sovTypes(uint64(l)) 51286 } 51287 } 51288 l = len(m.AppId) 51289 if l > 0 { 51290 n += 1 + l + sovTypes(uint64(l)) 51291 } 51292 if len(m.GroupFilters) > 0 { 51293 for _, s := range m.GroupFilters { 51294 l = len(s) 51295 n += 1 + l + sovTypes(uint64(l)) 51296 } 51297 } 51298 if len(m.AppFilters) > 0 { 51299 for _, s := range m.AppFilters { 51300 l = len(s) 51301 n += 1 + l + sovTypes(uint64(l)) 51302 } 51303 } 51304 if m.XXX_unrecognized != nil { 51305 n += len(m.XXX_unrecognized) 51306 } 51307 return n 51308 } 51309 51310 func (m *DiscordChannels) Size() (n int) { 51311 if m == nil { 51312 return 0 51313 } 51314 var l int 51315 _ = l 51316 if len(m.ChannelIds) > 0 { 51317 for _, s := range m.ChannelIds { 51318 l = len(s) 51319 n += 1 + l + sovTypes(uint64(l)) 51320 } 51321 } 51322 if m.XXX_unrecognized != nil { 51323 n += len(m.XXX_unrecognized) 51324 } 51325 return n 51326 } 51327 51328 func (m *PluginDiscordSettings) Size() (n int) { 51329 if m == nil { 51330 return 0 51331 } 51332 var l int 51333 _ = l 51334 if len(m.RoleToRecipients) > 0 { 51335 for k, v := range m.RoleToRecipients { 51336 _ = k 51337 _ = v 51338 l = 0 51339 if v != nil { 51340 l = v.Size() 51341 l += 1 + sovTypes(uint64(l)) 51342 } 51343 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + l 51344 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 51345 } 51346 } 51347 if m.XXX_unrecognized != nil { 51348 n += len(m.XXX_unrecognized) 51349 } 51350 return n 51351 } 51352 51353 func (m *PluginEntraIDSettings) Size() (n int) { 51354 if m == nil { 51355 return 0 51356 } 51357 var l int 51358 _ = l 51359 if m.SyncSettings != nil { 51360 l = m.SyncSettings.Size() 51361 n += 1 + l + sovTypes(uint64(l)) 51362 } 51363 if m.XXX_unrecognized != nil { 51364 n += len(m.XXX_unrecognized) 51365 } 51366 return n 51367 } 51368 51369 func (m *PluginEntraIDSyncSettings) Size() (n int) { 51370 if m == nil { 51371 return 0 51372 } 51373 var l int 51374 _ = l 51375 if len(m.DefaultOwners) > 0 { 51376 for _, s := range m.DefaultOwners { 51377 l = len(s) 51378 n += 1 + l + sovTypes(uint64(l)) 51379 } 51380 } 51381 if m.XXX_unrecognized != nil { 51382 n += len(m.XXX_unrecognized) 51383 } 51384 return n 51385 } 51386 51387 func (m *PluginBootstrapCredentialsV1) Size() (n int) { 51388 if m == nil { 51389 return 0 51390 } 51391 var l int 51392 _ = l 51393 if m.Credentials != nil { 51394 n += m.Credentials.Size() 51395 } 51396 if m.XXX_unrecognized != nil { 51397 n += len(m.XXX_unrecognized) 51398 } 51399 return n 51400 } 51401 51402 func (m *PluginBootstrapCredentialsV1_Oauth2AuthorizationCode) Size() (n int) { 51403 if m == nil { 51404 return 0 51405 } 51406 var l int 51407 _ = l 51408 if m.Oauth2AuthorizationCode != nil { 51409 l = m.Oauth2AuthorizationCode.Size() 51410 n += 1 + l + sovTypes(uint64(l)) 51411 } 51412 return n 51413 } 51414 func (m *PluginBootstrapCredentialsV1_BearerToken) Size() (n int) { 51415 if m == nil { 51416 return 0 51417 } 51418 var l int 51419 _ = l 51420 if m.BearerToken != nil { 51421 l = m.BearerToken.Size() 51422 n += 1 + l + sovTypes(uint64(l)) 51423 } 51424 return n 51425 } 51426 func (m *PluginBootstrapCredentialsV1_IdSecret) Size() (n int) { 51427 if m == nil { 51428 return 0 51429 } 51430 var l int 51431 _ = l 51432 if m.IdSecret != nil { 51433 l = m.IdSecret.Size() 51434 n += 1 + l + sovTypes(uint64(l)) 51435 } 51436 return n 51437 } 51438 func (m *PluginIdSecretCredential) Size() (n int) { 51439 if m == nil { 51440 return 0 51441 } 51442 var l int 51443 _ = l 51444 l = len(m.Id) 51445 if l > 0 { 51446 n += 1 + l + sovTypes(uint64(l)) 51447 } 51448 l = len(m.Secret) 51449 if l > 0 { 51450 n += 1 + l + sovTypes(uint64(l)) 51451 } 51452 if m.XXX_unrecognized != nil { 51453 n += len(m.XXX_unrecognized) 51454 } 51455 return n 51456 } 51457 51458 func (m *PluginOAuth2AuthorizationCodeCredentials) Size() (n int) { 51459 if m == nil { 51460 return 0 51461 } 51462 var l int 51463 _ = l 51464 l = len(m.AuthorizationCode) 51465 if l > 0 { 51466 n += 1 + l + sovTypes(uint64(l)) 51467 } 51468 l = len(m.RedirectUri) 51469 if l > 0 { 51470 n += 1 + l + sovTypes(uint64(l)) 51471 } 51472 if m.XXX_unrecognized != nil { 51473 n += len(m.XXX_unrecognized) 51474 } 51475 return n 51476 } 51477 51478 func (m *PluginStatusV1) Size() (n int) { 51479 if m == nil { 51480 return 0 51481 } 51482 var l int 51483 _ = l 51484 if m.Code != 0 { 51485 n += 1 + sovTypes(uint64(m.Code)) 51486 } 51487 if m.XXX_unrecognized != nil { 51488 n += len(m.XXX_unrecognized) 51489 } 51490 return n 51491 } 51492 51493 func (m *PluginCredentialsV1) Size() (n int) { 51494 if m == nil { 51495 return 0 51496 } 51497 var l int 51498 _ = l 51499 if m.Credentials != nil { 51500 n += m.Credentials.Size() 51501 } 51502 if m.XXX_unrecognized != nil { 51503 n += len(m.XXX_unrecognized) 51504 } 51505 return n 51506 } 51507 51508 func (m *PluginCredentialsV1_Oauth2AccessToken) Size() (n int) { 51509 if m == nil { 51510 return 0 51511 } 51512 var l int 51513 _ = l 51514 if m.Oauth2AccessToken != nil { 51515 l = m.Oauth2AccessToken.Size() 51516 n += 1 + l + sovTypes(uint64(l)) 51517 } 51518 return n 51519 } 51520 func (m *PluginCredentialsV1_BearerToken) Size() (n int) { 51521 if m == nil { 51522 return 0 51523 } 51524 var l int 51525 _ = l 51526 if m.BearerToken != nil { 51527 l = m.BearerToken.Size() 51528 n += 1 + l + sovTypes(uint64(l)) 51529 } 51530 return n 51531 } 51532 func (m *PluginCredentialsV1_IdSecret) Size() (n int) { 51533 if m == nil { 51534 return 0 51535 } 51536 var l int 51537 _ = l 51538 if m.IdSecret != nil { 51539 l = m.IdSecret.Size() 51540 n += 1 + l + sovTypes(uint64(l)) 51541 } 51542 return n 51543 } 51544 func (m *PluginCredentialsV1_StaticCredentialsRef) Size() (n int) { 51545 if m == nil { 51546 return 0 51547 } 51548 var l int 51549 _ = l 51550 if m.StaticCredentialsRef != nil { 51551 l = m.StaticCredentialsRef.Size() 51552 n += 1 + l + sovTypes(uint64(l)) 51553 } 51554 return n 51555 } 51556 func (m *PluginOAuth2AccessTokenCredentials) Size() (n int) { 51557 if m == nil { 51558 return 0 51559 } 51560 var l int 51561 _ = l 51562 l = len(m.AccessToken) 51563 if l > 0 { 51564 n += 1 + l + sovTypes(uint64(l)) 51565 } 51566 l = len(m.RefreshToken) 51567 if l > 0 { 51568 n += 1 + l + sovTypes(uint64(l)) 51569 } 51570 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires) 51571 n += 1 + l + sovTypes(uint64(l)) 51572 if m.XXX_unrecognized != nil { 51573 n += len(m.XXX_unrecognized) 51574 } 51575 return n 51576 } 51577 51578 func (m *PluginBearerTokenCredentials) Size() (n int) { 51579 if m == nil { 51580 return 0 51581 } 51582 var l int 51583 _ = l 51584 l = len(m.Token) 51585 if l > 0 { 51586 n += 1 + l + sovTypes(uint64(l)) 51587 } 51588 if m.XXX_unrecognized != nil { 51589 n += len(m.XXX_unrecognized) 51590 } 51591 return n 51592 } 51593 51594 func (m *PluginStaticCredentialsRef) Size() (n int) { 51595 if m == nil { 51596 return 0 51597 } 51598 var l int 51599 _ = l 51600 if len(m.Labels) > 0 { 51601 for k, v := range m.Labels { 51602 _ = k 51603 _ = v 51604 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v))) 51605 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 51606 } 51607 } 51608 if m.XXX_unrecognized != nil { 51609 n += len(m.XXX_unrecognized) 51610 } 51611 return n 51612 } 51613 51614 func (m *PluginListV1) Size() (n int) { 51615 if m == nil { 51616 return 0 51617 } 51618 var l int 51619 _ = l 51620 if len(m.Plugins) > 0 { 51621 for _, e := range m.Plugins { 51622 l = e.Size() 51623 n += 1 + l + sovTypes(uint64(l)) 51624 } 51625 } 51626 if m.XXX_unrecognized != nil { 51627 n += len(m.XXX_unrecognized) 51628 } 51629 return n 51630 } 51631 51632 func (m *PluginStaticCredentialsV1) Size() (n int) { 51633 if m == nil { 51634 return 0 51635 } 51636 var l int 51637 _ = l 51638 l = m.ResourceHeader.Size() 51639 n += 1 + l + sovTypes(uint64(l)) 51640 if m.Spec != nil { 51641 l = m.Spec.Size() 51642 n += 1 + l + sovTypes(uint64(l)) 51643 } 51644 if m.XXX_unrecognized != nil { 51645 n += len(m.XXX_unrecognized) 51646 } 51647 return n 51648 } 51649 51650 func (m *PluginStaticCredentialsSpecV1) Size() (n int) { 51651 if m == nil { 51652 return 0 51653 } 51654 var l int 51655 _ = l 51656 if m.Credentials != nil { 51657 n += m.Credentials.Size() 51658 } 51659 if m.XXX_unrecognized != nil { 51660 n += len(m.XXX_unrecognized) 51661 } 51662 return n 51663 } 51664 51665 func (m *PluginStaticCredentialsSpecV1_APIToken) Size() (n int) { 51666 if m == nil { 51667 return 0 51668 } 51669 var l int 51670 _ = l 51671 l = len(m.APIToken) 51672 n += 1 + l + sovTypes(uint64(l)) 51673 return n 51674 } 51675 func (m *PluginStaticCredentialsSpecV1_BasicAuth) Size() (n int) { 51676 if m == nil { 51677 return 0 51678 } 51679 var l int 51680 _ = l 51681 if m.BasicAuth != nil { 51682 l = m.BasicAuth.Size() 51683 n += 1 + l + sovTypes(uint64(l)) 51684 } 51685 return n 51686 } 51687 func (m *PluginStaticCredentialsSpecV1_OAuthClientSecret) Size() (n int) { 51688 if m == nil { 51689 return 0 51690 } 51691 var l int 51692 _ = l 51693 if m.OAuthClientSecret != nil { 51694 l = m.OAuthClientSecret.Size() 51695 n += 1 + l + sovTypes(uint64(l)) 51696 } 51697 return n 51698 } 51699 func (m *PluginStaticCredentialsBasicAuth) Size() (n int) { 51700 if m == nil { 51701 return 0 51702 } 51703 var l int 51704 _ = l 51705 l = len(m.Username) 51706 if l > 0 { 51707 n += 1 + l + sovTypes(uint64(l)) 51708 } 51709 l = len(m.Password) 51710 if l > 0 { 51711 n += 1 + l + sovTypes(uint64(l)) 51712 } 51713 if m.XXX_unrecognized != nil { 51714 n += len(m.XXX_unrecognized) 51715 } 51716 return n 51717 } 51718 51719 func (m *PluginStaticCredentialsOAuthClientSecret) Size() (n int) { 51720 if m == nil { 51721 return 0 51722 } 51723 var l int 51724 _ = l 51725 l = len(m.ClientId) 51726 if l > 0 { 51727 n += 1 + l + sovTypes(uint64(l)) 51728 } 51729 l = len(m.ClientSecret) 51730 if l > 0 { 51731 n += 1 + l + sovTypes(uint64(l)) 51732 } 51733 if m.XXX_unrecognized != nil { 51734 n += len(m.XXX_unrecognized) 51735 } 51736 return n 51737 } 51738 51739 func (m *SAMLIdPServiceProviderV1) Size() (n int) { 51740 if m == nil { 51741 return 0 51742 } 51743 var l int 51744 _ = l 51745 l = m.ResourceHeader.Size() 51746 n += 1 + l + sovTypes(uint64(l)) 51747 l = m.Spec.Size() 51748 n += 1 + l + sovTypes(uint64(l)) 51749 if m.XXX_unrecognized != nil { 51750 n += len(m.XXX_unrecognized) 51751 } 51752 return n 51753 } 51754 51755 func (m *SAMLIdPServiceProviderSpecV1) Size() (n int) { 51756 if m == nil { 51757 return 0 51758 } 51759 var l int 51760 _ = l 51761 l = len(m.EntityDescriptor) 51762 if l > 0 { 51763 n += 1 + l + sovTypes(uint64(l)) 51764 } 51765 l = len(m.EntityID) 51766 if l > 0 { 51767 n += 1 + l + sovTypes(uint64(l)) 51768 } 51769 l = len(m.ACSURL) 51770 if l > 0 { 51771 n += 1 + l + sovTypes(uint64(l)) 51772 } 51773 if len(m.AttributeMapping) > 0 { 51774 for _, e := range m.AttributeMapping { 51775 l = e.Size() 51776 n += 1 + l + sovTypes(uint64(l)) 51777 } 51778 } 51779 l = len(m.Preset) 51780 if l > 0 { 51781 n += 1 + l + sovTypes(uint64(l)) 51782 } 51783 l = len(m.RelayState) 51784 if l > 0 { 51785 n += 1 + l + sovTypes(uint64(l)) 51786 } 51787 if m.XXX_unrecognized != nil { 51788 n += len(m.XXX_unrecognized) 51789 } 51790 return n 51791 } 51792 51793 func (m *SAMLAttributeMapping) Size() (n int) { 51794 if m == nil { 51795 return 0 51796 } 51797 var l int 51798 _ = l 51799 l = len(m.Name) 51800 if l > 0 { 51801 n += 1 + l + sovTypes(uint64(l)) 51802 } 51803 l = len(m.NameFormat) 51804 if l > 0 { 51805 n += 1 + l + sovTypes(uint64(l)) 51806 } 51807 l = len(m.Value) 51808 if l > 0 { 51809 n += 1 + l + sovTypes(uint64(l)) 51810 } 51811 if m.XXX_unrecognized != nil { 51812 n += len(m.XXX_unrecognized) 51813 } 51814 return n 51815 } 51816 51817 func (m *IdPOptions) Size() (n int) { 51818 if m == nil { 51819 return 0 51820 } 51821 var l int 51822 _ = l 51823 if m.SAML != nil { 51824 l = m.SAML.Size() 51825 n += 1 + l + sovTypes(uint64(l)) 51826 } 51827 if m.XXX_unrecognized != nil { 51828 n += len(m.XXX_unrecognized) 51829 } 51830 return n 51831 } 51832 51833 func (m *IdPSAMLOptions) Size() (n int) { 51834 if m == nil { 51835 return 0 51836 } 51837 var l int 51838 _ = l 51839 if m.Enabled != nil { 51840 l = m.Enabled.Size() 51841 n += 1 + l + sovTypes(uint64(l)) 51842 } 51843 if m.XXX_unrecognized != nil { 51844 n += len(m.XXX_unrecognized) 51845 } 51846 return n 51847 } 51848 51849 func (m *KubernetesResourceV1) Size() (n int) { 51850 if m == nil { 51851 return 0 51852 } 51853 var l int 51854 _ = l 51855 l = len(m.Kind) 51856 if l > 0 { 51857 n += 1 + l + sovTypes(uint64(l)) 51858 } 51859 l = len(m.SubKind) 51860 if l > 0 { 51861 n += 1 + l + sovTypes(uint64(l)) 51862 } 51863 l = len(m.Version) 51864 if l > 0 { 51865 n += 1 + l + sovTypes(uint64(l)) 51866 } 51867 l = m.Metadata.Size() 51868 n += 1 + l + sovTypes(uint64(l)) 51869 l = m.Spec.Size() 51870 n += 1 + l + sovTypes(uint64(l)) 51871 if m.XXX_unrecognized != nil { 51872 n += len(m.XXX_unrecognized) 51873 } 51874 return n 51875 } 51876 51877 func (m *KubernetesResourceSpecV1) Size() (n int) { 51878 if m == nil { 51879 return 0 51880 } 51881 var l int 51882 _ = l 51883 l = len(m.Namespace) 51884 if l > 0 { 51885 n += 1 + l + sovTypes(uint64(l)) 51886 } 51887 if m.XXX_unrecognized != nil { 51888 n += len(m.XXX_unrecognized) 51889 } 51890 return n 51891 } 51892 51893 func (m *ClusterMaintenanceConfigV1) Size() (n int) { 51894 if m == nil { 51895 return 0 51896 } 51897 var l int 51898 _ = l 51899 l = m.ResourceHeader.Size() 51900 n += 1 + l + sovTypes(uint64(l)) 51901 l = m.Spec.Size() 51902 n += 1 + l + sovTypes(uint64(l)) 51903 if m.Nonce != 0 { 51904 n += 1 + sovTypes(uint64(m.Nonce)) 51905 } 51906 if m.XXX_unrecognized != nil { 51907 n += len(m.XXX_unrecognized) 51908 } 51909 return n 51910 } 51911 51912 func (m *ClusterMaintenanceConfigSpecV1) Size() (n int) { 51913 if m == nil { 51914 return 0 51915 } 51916 var l int 51917 _ = l 51918 if m.AgentUpgrades != nil { 51919 l = m.AgentUpgrades.Size() 51920 n += 1 + l + sovTypes(uint64(l)) 51921 } 51922 if m.XXX_unrecognized != nil { 51923 n += len(m.XXX_unrecognized) 51924 } 51925 return n 51926 } 51927 51928 func (m *AgentUpgradeWindow) Size() (n int) { 51929 if m == nil { 51930 return 0 51931 } 51932 var l int 51933 _ = l 51934 if m.UTCStartHour != 0 { 51935 n += 1 + sovTypes(uint64(m.UTCStartHour)) 51936 } 51937 if len(m.Weekdays) > 0 { 51938 for _, s := range m.Weekdays { 51939 l = len(s) 51940 n += 1 + l + sovTypes(uint64(l)) 51941 } 51942 } 51943 if m.XXX_unrecognized != nil { 51944 n += len(m.XXX_unrecognized) 51945 } 51946 return n 51947 } 51948 51949 func (m *ScheduledAgentUpgradeWindow) Size() (n int) { 51950 if m == nil { 51951 return 0 51952 } 51953 var l int 51954 _ = l 51955 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Start) 51956 n += 1 + l + sovTypes(uint64(l)) 51957 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Stop) 51958 n += 1 + l + sovTypes(uint64(l)) 51959 if m.XXX_unrecognized != nil { 51960 n += len(m.XXX_unrecognized) 51961 } 51962 return n 51963 } 51964 51965 func (m *AgentUpgradeSchedule) Size() (n int) { 51966 if m == nil { 51967 return 0 51968 } 51969 var l int 51970 _ = l 51971 if len(m.Windows) > 0 { 51972 for _, e := range m.Windows { 51973 l = e.Size() 51974 n += 1 + l + sovTypes(uint64(l)) 51975 } 51976 } 51977 if m.XXX_unrecognized != nil { 51978 n += len(m.XXX_unrecognized) 51979 } 51980 return n 51981 } 51982 51983 func (m *UserGroupV1) Size() (n int) { 51984 if m == nil { 51985 return 0 51986 } 51987 var l int 51988 _ = l 51989 l = m.ResourceHeader.Size() 51990 n += 1 + l + sovTypes(uint64(l)) 51991 l = m.Spec.Size() 51992 n += 1 + l + sovTypes(uint64(l)) 51993 if m.XXX_unrecognized != nil { 51994 n += len(m.XXX_unrecognized) 51995 } 51996 return n 51997 } 51998 51999 func (m *UserGroupSpecV1) Size() (n int) { 52000 if m == nil { 52001 return 0 52002 } 52003 var l int 52004 _ = l 52005 if len(m.Applications) > 0 { 52006 for _, s := range m.Applications { 52007 l = len(s) 52008 n += 1 + l + sovTypes(uint64(l)) 52009 } 52010 } 52011 if m.XXX_unrecognized != nil { 52012 n += len(m.XXX_unrecognized) 52013 } 52014 return n 52015 } 52016 52017 func (m *OktaImportRuleSpecV1) Size() (n int) { 52018 if m == nil { 52019 return 0 52020 } 52021 var l int 52022 _ = l 52023 if m.Priority != 0 { 52024 n += 1 + sovTypes(uint64(m.Priority)) 52025 } 52026 if len(m.Mappings) > 0 { 52027 for _, e := range m.Mappings { 52028 l = e.Size() 52029 n += 1 + l + sovTypes(uint64(l)) 52030 } 52031 } 52032 if m.XXX_unrecognized != nil { 52033 n += len(m.XXX_unrecognized) 52034 } 52035 return n 52036 } 52037 52038 func (m *OktaImportRuleMappingV1) Size() (n int) { 52039 if m == nil { 52040 return 0 52041 } 52042 var l int 52043 _ = l 52044 if len(m.Match) > 0 { 52045 for _, e := range m.Match { 52046 l = e.Size() 52047 n += 1 + l + sovTypes(uint64(l)) 52048 } 52049 } 52050 if len(m.AddLabels) > 0 { 52051 for k, v := range m.AddLabels { 52052 _ = k 52053 _ = v 52054 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v))) 52055 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 52056 } 52057 } 52058 if m.XXX_unrecognized != nil { 52059 n += len(m.XXX_unrecognized) 52060 } 52061 return n 52062 } 52063 52064 func (m *OktaImportRuleV1) Size() (n int) { 52065 if m == nil { 52066 return 0 52067 } 52068 var l int 52069 _ = l 52070 l = m.ResourceHeader.Size() 52071 n += 1 + l + sovTypes(uint64(l)) 52072 l = m.Spec.Size() 52073 n += 1 + l + sovTypes(uint64(l)) 52074 if m.XXX_unrecognized != nil { 52075 n += len(m.XXX_unrecognized) 52076 } 52077 return n 52078 } 52079 52080 func (m *OktaImportRuleMatchV1) Size() (n int) { 52081 if m == nil { 52082 return 0 52083 } 52084 var l int 52085 _ = l 52086 if len(m.AppIDs) > 0 { 52087 for _, s := range m.AppIDs { 52088 l = len(s) 52089 n += 1 + l + sovTypes(uint64(l)) 52090 } 52091 } 52092 if len(m.GroupIDs) > 0 { 52093 for _, s := range m.GroupIDs { 52094 l = len(s) 52095 n += 1 + l + sovTypes(uint64(l)) 52096 } 52097 } 52098 if len(m.AppNameRegexes) > 0 { 52099 for _, s := range m.AppNameRegexes { 52100 l = len(s) 52101 n += 1 + l + sovTypes(uint64(l)) 52102 } 52103 } 52104 if len(m.GroupNameRegexes) > 0 { 52105 for _, s := range m.GroupNameRegexes { 52106 l = len(s) 52107 n += 1 + l + sovTypes(uint64(l)) 52108 } 52109 } 52110 if m.XXX_unrecognized != nil { 52111 n += len(m.XXX_unrecognized) 52112 } 52113 return n 52114 } 52115 52116 func (m *OktaAssignmentV1) Size() (n int) { 52117 if m == nil { 52118 return 0 52119 } 52120 var l int 52121 _ = l 52122 l = m.ResourceHeader.Size() 52123 n += 1 + l + sovTypes(uint64(l)) 52124 l = m.Spec.Size() 52125 n += 1 + l + sovTypes(uint64(l)) 52126 if m.XXX_unrecognized != nil { 52127 n += len(m.XXX_unrecognized) 52128 } 52129 return n 52130 } 52131 52132 func (m *OktaAssignmentSpecV1) Size() (n int) { 52133 if m == nil { 52134 return 0 52135 } 52136 var l int 52137 _ = l 52138 l = len(m.User) 52139 if l > 0 { 52140 n += 1 + l + sovTypes(uint64(l)) 52141 } 52142 if len(m.Targets) > 0 { 52143 for _, e := range m.Targets { 52144 l = e.Size() 52145 n += 1 + l + sovTypes(uint64(l)) 52146 } 52147 } 52148 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CleanupTime) 52149 n += 1 + l + sovTypes(uint64(l)) 52150 if m.Status != 0 { 52151 n += 1 + sovTypes(uint64(m.Status)) 52152 } 52153 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.LastTransition) 52154 n += 1 + l + sovTypes(uint64(l)) 52155 if m.Finalized { 52156 n += 2 52157 } 52158 if m.XXX_unrecognized != nil { 52159 n += len(m.XXX_unrecognized) 52160 } 52161 return n 52162 } 52163 52164 func (m *OktaAssignmentTargetV1) Size() (n int) { 52165 if m == nil { 52166 return 0 52167 } 52168 var l int 52169 _ = l 52170 if m.Type != 0 { 52171 n += 1 + sovTypes(uint64(m.Type)) 52172 } 52173 l = len(m.Id) 52174 if l > 0 { 52175 n += 1 + l + sovTypes(uint64(l)) 52176 } 52177 if m.XXX_unrecognized != nil { 52178 n += len(m.XXX_unrecognized) 52179 } 52180 return n 52181 } 52182 52183 func (m *IntegrationV1) Size() (n int) { 52184 if m == nil { 52185 return 0 52186 } 52187 var l int 52188 _ = l 52189 l = m.ResourceHeader.Size() 52190 n += 1 + l + sovTypes(uint64(l)) 52191 l = m.Spec.Size() 52192 n += 1 + l + sovTypes(uint64(l)) 52193 if m.XXX_unrecognized != nil { 52194 n += len(m.XXX_unrecognized) 52195 } 52196 return n 52197 } 52198 52199 func (m *IntegrationSpecV1) Size() (n int) { 52200 if m == nil { 52201 return 0 52202 } 52203 var l int 52204 _ = l 52205 if m.SubKindSpec != nil { 52206 n += m.SubKindSpec.Size() 52207 } 52208 if m.XXX_unrecognized != nil { 52209 n += len(m.XXX_unrecognized) 52210 } 52211 return n 52212 } 52213 52214 func (m *IntegrationSpecV1_AWSOIDC) Size() (n int) { 52215 if m == nil { 52216 return 0 52217 } 52218 var l int 52219 _ = l 52220 if m.AWSOIDC != nil { 52221 l = m.AWSOIDC.Size() 52222 n += 1 + l + sovTypes(uint64(l)) 52223 } 52224 return n 52225 } 52226 func (m *IntegrationSpecV1_AzureOIDC) Size() (n int) { 52227 if m == nil { 52228 return 0 52229 } 52230 var l int 52231 _ = l 52232 if m.AzureOIDC != nil { 52233 l = m.AzureOIDC.Size() 52234 n += 1 + l + sovTypes(uint64(l)) 52235 } 52236 return n 52237 } 52238 func (m *AWSOIDCIntegrationSpecV1) Size() (n int) { 52239 if m == nil { 52240 return 0 52241 } 52242 var l int 52243 _ = l 52244 l = len(m.RoleARN) 52245 if l > 0 { 52246 n += 1 + l + sovTypes(uint64(l)) 52247 } 52248 l = len(m.IssuerS3URI) 52249 if l > 0 { 52250 n += 1 + l + sovTypes(uint64(l)) 52251 } 52252 if m.XXX_unrecognized != nil { 52253 n += len(m.XXX_unrecognized) 52254 } 52255 return n 52256 } 52257 52258 func (m *AzureOIDCIntegrationSpecV1) Size() (n int) { 52259 if m == nil { 52260 return 0 52261 } 52262 var l int 52263 _ = l 52264 l = len(m.TenantID) 52265 if l > 0 { 52266 n += 1 + l + sovTypes(uint64(l)) 52267 } 52268 l = len(m.ClientID) 52269 if l > 0 { 52270 n += 1 + l + sovTypes(uint64(l)) 52271 } 52272 if m.XXX_unrecognized != nil { 52273 n += len(m.XXX_unrecognized) 52274 } 52275 return n 52276 } 52277 52278 func (m *HeadlessAuthentication) Size() (n int) { 52279 if m == nil { 52280 return 0 52281 } 52282 var l int 52283 _ = l 52284 l = m.ResourceHeader.Size() 52285 n += 1 + l + sovTypes(uint64(l)) 52286 l = len(m.User) 52287 if l > 0 { 52288 n += 1 + l + sovTypes(uint64(l)) 52289 } 52290 l = len(m.PublicKey) 52291 if l > 0 { 52292 n += 1 + l + sovTypes(uint64(l)) 52293 } 52294 if m.State != 0 { 52295 n += 1 + sovTypes(uint64(m.State)) 52296 } 52297 if m.MfaDevice != nil { 52298 l = m.MfaDevice.Size() 52299 n += 1 + l + sovTypes(uint64(l)) 52300 } 52301 l = len(m.ClientIpAddress) 52302 if l > 0 { 52303 n += 1 + l + sovTypes(uint64(l)) 52304 } 52305 if m.XXX_unrecognized != nil { 52306 n += len(m.XXX_unrecognized) 52307 } 52308 return n 52309 } 52310 52311 func (m *WatchKind) Size() (n int) { 52312 if m == nil { 52313 return 0 52314 } 52315 var l int 52316 _ = l 52317 l = len(m.Kind) 52318 if l > 0 { 52319 n += 1 + l + sovTypes(uint64(l)) 52320 } 52321 if m.LoadSecrets { 52322 n += 2 52323 } 52324 l = len(m.Name) 52325 if l > 0 { 52326 n += 1 + l + sovTypes(uint64(l)) 52327 } 52328 if len(m.Filter) > 0 { 52329 for k, v := range m.Filter { 52330 _ = k 52331 _ = v 52332 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v))) 52333 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 52334 } 52335 } 52336 l = len(m.SubKind) 52337 if l > 0 { 52338 n += 1 + l + sovTypes(uint64(l)) 52339 } 52340 l = len(m.Version) 52341 if l > 0 { 52342 n += 1 + l + sovTypes(uint64(l)) 52343 } 52344 if m.XXX_unrecognized != nil { 52345 n += len(m.XXX_unrecognized) 52346 } 52347 return n 52348 } 52349 52350 func (m *WatchStatusV1) Size() (n int) { 52351 if m == nil { 52352 return 0 52353 } 52354 var l int 52355 _ = l 52356 l = len(m.Kind) 52357 if l > 0 { 52358 n += 1 + l + sovTypes(uint64(l)) 52359 } 52360 l = len(m.SubKind) 52361 if l > 0 { 52362 n += 1 + l + sovTypes(uint64(l)) 52363 } 52364 l = len(m.Version) 52365 if l > 0 { 52366 n += 1 + l + sovTypes(uint64(l)) 52367 } 52368 l = m.Metadata.Size() 52369 n += 1 + l + sovTypes(uint64(l)) 52370 l = m.Spec.Size() 52371 n += 1 + l + sovTypes(uint64(l)) 52372 if m.XXX_unrecognized != nil { 52373 n += len(m.XXX_unrecognized) 52374 } 52375 return n 52376 } 52377 52378 func (m *WatchStatusSpecV1) Size() (n int) { 52379 if m == nil { 52380 return 0 52381 } 52382 var l int 52383 _ = l 52384 if len(m.Kinds) > 0 { 52385 for _, e := range m.Kinds { 52386 l = e.Size() 52387 n += 1 + l + sovTypes(uint64(l)) 52388 } 52389 } 52390 if m.XXX_unrecognized != nil { 52391 n += len(m.XXX_unrecognized) 52392 } 52393 return n 52394 } 52395 52396 func (m *ServerInfoV1) Size() (n int) { 52397 if m == nil { 52398 return 0 52399 } 52400 var l int 52401 _ = l 52402 l = len(m.Kind) 52403 if l > 0 { 52404 n += 1 + l + sovTypes(uint64(l)) 52405 } 52406 l = len(m.SubKind) 52407 if l > 0 { 52408 n += 1 + l + sovTypes(uint64(l)) 52409 } 52410 l = len(m.Version) 52411 if l > 0 { 52412 n += 1 + l + sovTypes(uint64(l)) 52413 } 52414 l = m.Metadata.Size() 52415 n += 1 + l + sovTypes(uint64(l)) 52416 l = m.Spec.Size() 52417 n += 1 + l + sovTypes(uint64(l)) 52418 if m.XXX_unrecognized != nil { 52419 n += len(m.XXX_unrecognized) 52420 } 52421 return n 52422 } 52423 52424 func (m *ServerInfoSpecV1) Size() (n int) { 52425 if m == nil { 52426 return 0 52427 } 52428 var l int 52429 _ = l 52430 if len(m.NewLabels) > 0 { 52431 for k, v := range m.NewLabels { 52432 _ = k 52433 _ = v 52434 mapEntrySize := 1 + len(k) + sovTypes(uint64(len(k))) + 1 + len(v) + sovTypes(uint64(len(v))) 52435 n += mapEntrySize + 1 + sovTypes(uint64(mapEntrySize)) 52436 } 52437 } 52438 if m.XXX_unrecognized != nil { 52439 n += len(m.XXX_unrecognized) 52440 } 52441 return n 52442 } 52443 52444 func (m *JamfSpecV1) Size() (n int) { 52445 if m == nil { 52446 return 0 52447 } 52448 var l int 52449 _ = l 52450 if m.Enabled { 52451 n += 2 52452 } 52453 l = len(m.Name) 52454 if l > 0 { 52455 n += 1 + l + sovTypes(uint64(l)) 52456 } 52457 if m.SyncDelay != 0 { 52458 n += 1 + sovTypes(uint64(m.SyncDelay)) 52459 } 52460 l = len(m.ApiEndpoint) 52461 if l > 0 { 52462 n += 1 + l + sovTypes(uint64(l)) 52463 } 52464 l = len(m.Username) 52465 if l > 0 { 52466 n += 1 + l + sovTypes(uint64(l)) 52467 } 52468 l = len(m.Password) 52469 if l > 0 { 52470 n += 1 + l + sovTypes(uint64(l)) 52471 } 52472 if len(m.Inventory) > 0 { 52473 for _, e := range m.Inventory { 52474 l = e.Size() 52475 n += 1 + l + sovTypes(uint64(l)) 52476 } 52477 } 52478 if m.XXX_unrecognized != nil { 52479 n += len(m.XXX_unrecognized) 52480 } 52481 return n 52482 } 52483 52484 func (m *JamfInventoryEntry) Size() (n int) { 52485 if m == nil { 52486 return 0 52487 } 52488 var l int 52489 _ = l 52490 l = len(m.FilterRsql) 52491 if l > 0 { 52492 n += 1 + l + sovTypes(uint64(l)) 52493 } 52494 if m.SyncPeriodPartial != 0 { 52495 n += 1 + sovTypes(uint64(m.SyncPeriodPartial)) 52496 } 52497 if m.SyncPeriodFull != 0 { 52498 n += 1 + sovTypes(uint64(m.SyncPeriodFull)) 52499 } 52500 l = len(m.OnMissing) 52501 if l > 0 { 52502 n += 1 + l + sovTypes(uint64(l)) 52503 } 52504 if m.PageSize != 0 { 52505 n += 1 + sovTypes(uint64(m.PageSize)) 52506 } 52507 if m.XXX_unrecognized != nil { 52508 n += len(m.XXX_unrecognized) 52509 } 52510 return n 52511 } 52512 52513 func (m *MessageWithHeader) Size() (n int) { 52514 if m == nil { 52515 return 0 52516 } 52517 var l int 52518 _ = l 52519 l = m.ResourceHeader.Size() 52520 n += 1 + l + sovTypes(uint64(l)) 52521 if m.XXX_unrecognized != nil { 52522 n += len(m.XXX_unrecognized) 52523 } 52524 return n 52525 } 52526 52527 func (m *AWSMatcher) Size() (n int) { 52528 if m == nil { 52529 return 0 52530 } 52531 var l int 52532 _ = l 52533 if len(m.Types) > 0 { 52534 for _, s := range m.Types { 52535 l = len(s) 52536 n += 1 + l + sovTypes(uint64(l)) 52537 } 52538 } 52539 if len(m.Regions) > 0 { 52540 for _, s := range m.Regions { 52541 l = len(s) 52542 n += 1 + l + sovTypes(uint64(l)) 52543 } 52544 } 52545 if m.AssumeRole != nil { 52546 l = m.AssumeRole.Size() 52547 n += 1 + l + sovTypes(uint64(l)) 52548 } 52549 l = m.Tags.Size() 52550 n += 1 + l + sovTypes(uint64(l)) 52551 if m.Params != nil { 52552 l = m.Params.Size() 52553 n += 1 + l + sovTypes(uint64(l)) 52554 } 52555 if m.SSM != nil { 52556 l = m.SSM.Size() 52557 n += 1 + l + sovTypes(uint64(l)) 52558 } 52559 l = len(m.Integration) 52560 if l > 0 { 52561 n += 1 + l + sovTypes(uint64(l)) 52562 } 52563 if m.KubeAppDiscovery { 52564 n += 2 52565 } 52566 if m.XXX_unrecognized != nil { 52567 n += len(m.XXX_unrecognized) 52568 } 52569 return n 52570 } 52571 52572 func (m *AssumeRole) Size() (n int) { 52573 if m == nil { 52574 return 0 52575 } 52576 var l int 52577 _ = l 52578 l = len(m.RoleARN) 52579 if l > 0 { 52580 n += 1 + l + sovTypes(uint64(l)) 52581 } 52582 l = len(m.ExternalID) 52583 if l > 0 { 52584 n += 1 + l + sovTypes(uint64(l)) 52585 } 52586 if m.XXX_unrecognized != nil { 52587 n += len(m.XXX_unrecognized) 52588 } 52589 return n 52590 } 52591 52592 func (m *InstallerParams) Size() (n int) { 52593 if m == nil { 52594 return 0 52595 } 52596 var l int 52597 _ = l 52598 l = len(m.JoinMethod) 52599 if l > 0 { 52600 n += 1 + l + sovTypes(uint64(l)) 52601 } 52602 l = len(m.JoinToken) 52603 if l > 0 { 52604 n += 1 + l + sovTypes(uint64(l)) 52605 } 52606 l = len(m.ScriptName) 52607 if l > 0 { 52608 n += 1 + l + sovTypes(uint64(l)) 52609 } 52610 if m.InstallTeleport { 52611 n += 2 52612 } 52613 l = len(m.SSHDConfig) 52614 if l > 0 { 52615 n += 1 + l + sovTypes(uint64(l)) 52616 } 52617 l = len(m.PublicProxyAddr) 52618 if l > 0 { 52619 n += 1 + l + sovTypes(uint64(l)) 52620 } 52621 if m.Azure != nil { 52622 l = m.Azure.Size() 52623 n += 1 + l + sovTypes(uint64(l)) 52624 } 52625 if m.XXX_unrecognized != nil { 52626 n += len(m.XXX_unrecognized) 52627 } 52628 return n 52629 } 52630 52631 func (m *AWSSSM) Size() (n int) { 52632 if m == nil { 52633 return 0 52634 } 52635 var l int 52636 _ = l 52637 l = len(m.DocumentName) 52638 if l > 0 { 52639 n += 1 + l + sovTypes(uint64(l)) 52640 } 52641 if m.XXX_unrecognized != nil { 52642 n += len(m.XXX_unrecognized) 52643 } 52644 return n 52645 } 52646 52647 func (m *AzureInstallerParams) Size() (n int) { 52648 if m == nil { 52649 return 0 52650 } 52651 var l int 52652 _ = l 52653 l = len(m.ClientID) 52654 if l > 0 { 52655 n += 1 + l + sovTypes(uint64(l)) 52656 } 52657 if m.XXX_unrecognized != nil { 52658 n += len(m.XXX_unrecognized) 52659 } 52660 return n 52661 } 52662 52663 func (m *AzureMatcher) Size() (n int) { 52664 if m == nil { 52665 return 0 52666 } 52667 var l int 52668 _ = l 52669 if len(m.Subscriptions) > 0 { 52670 for _, s := range m.Subscriptions { 52671 l = len(s) 52672 n += 1 + l + sovTypes(uint64(l)) 52673 } 52674 } 52675 if len(m.ResourceGroups) > 0 { 52676 for _, s := range m.ResourceGroups { 52677 l = len(s) 52678 n += 1 + l + sovTypes(uint64(l)) 52679 } 52680 } 52681 if len(m.Types) > 0 { 52682 for _, s := range m.Types { 52683 l = len(s) 52684 n += 1 + l + sovTypes(uint64(l)) 52685 } 52686 } 52687 if len(m.Regions) > 0 { 52688 for _, s := range m.Regions { 52689 l = len(s) 52690 n += 1 + l + sovTypes(uint64(l)) 52691 } 52692 } 52693 l = m.ResourceTags.Size() 52694 n += 1 + l + sovTypes(uint64(l)) 52695 if m.Params != nil { 52696 l = m.Params.Size() 52697 n += 1 + l + sovTypes(uint64(l)) 52698 } 52699 if m.XXX_unrecognized != nil { 52700 n += len(m.XXX_unrecognized) 52701 } 52702 return n 52703 } 52704 52705 func (m *GCPMatcher) Size() (n int) { 52706 if m == nil { 52707 return 0 52708 } 52709 var l int 52710 _ = l 52711 if len(m.Types) > 0 { 52712 for _, s := range m.Types { 52713 l = len(s) 52714 n += 1 + l + sovTypes(uint64(l)) 52715 } 52716 } 52717 if len(m.Locations) > 0 { 52718 for _, s := range m.Locations { 52719 l = len(s) 52720 n += 1 + l + sovTypes(uint64(l)) 52721 } 52722 } 52723 l = m.Tags.Size() 52724 n += 1 + l + sovTypes(uint64(l)) 52725 if len(m.ProjectIDs) > 0 { 52726 for _, s := range m.ProjectIDs { 52727 l = len(s) 52728 n += 1 + l + sovTypes(uint64(l)) 52729 } 52730 } 52731 if len(m.ServiceAccounts) > 0 { 52732 for _, s := range m.ServiceAccounts { 52733 l = len(s) 52734 n += 1 + l + sovTypes(uint64(l)) 52735 } 52736 } 52737 if m.Params != nil { 52738 l = m.Params.Size() 52739 n += 1 + l + sovTypes(uint64(l)) 52740 } 52741 l = m.Labels.Size() 52742 n += 1 + l + sovTypes(uint64(l)) 52743 if m.XXX_unrecognized != nil { 52744 n += len(m.XXX_unrecognized) 52745 } 52746 return n 52747 } 52748 52749 func (m *KubernetesMatcher) Size() (n int) { 52750 if m == nil { 52751 return 0 52752 } 52753 var l int 52754 _ = l 52755 if len(m.Types) > 0 { 52756 for _, s := range m.Types { 52757 l = len(s) 52758 n += 1 + l + sovTypes(uint64(l)) 52759 } 52760 } 52761 if len(m.Namespaces) > 0 { 52762 for _, s := range m.Namespaces { 52763 l = len(s) 52764 n += 1 + l + sovTypes(uint64(l)) 52765 } 52766 } 52767 l = m.Labels.Size() 52768 n += 1 + l + sovTypes(uint64(l)) 52769 if m.XXX_unrecognized != nil { 52770 n += len(m.XXX_unrecognized) 52771 } 52772 return n 52773 } 52774 52775 func (m *OktaOptions) Size() (n int) { 52776 if m == nil { 52777 return 0 52778 } 52779 var l int 52780 _ = l 52781 if m.SyncPeriod != 0 { 52782 n += 1 + sovTypes(uint64(m.SyncPeriod)) 52783 } 52784 if m.XXX_unrecognized != nil { 52785 n += len(m.XXX_unrecognized) 52786 } 52787 return n 52788 } 52789 52790 func (m *AccessGraphSync) Size() (n int) { 52791 if m == nil { 52792 return 0 52793 } 52794 var l int 52795 _ = l 52796 if len(m.AWS) > 0 { 52797 for _, e := range m.AWS { 52798 l = e.Size() 52799 n += 1 + l + sovTypes(uint64(l)) 52800 } 52801 } 52802 if m.XXX_unrecognized != nil { 52803 n += len(m.XXX_unrecognized) 52804 } 52805 return n 52806 } 52807 52808 func (m *AccessGraphAWSSync) Size() (n int) { 52809 if m == nil { 52810 return 0 52811 } 52812 var l int 52813 _ = l 52814 if len(m.Regions) > 0 { 52815 for _, s := range m.Regions { 52816 l = len(s) 52817 n += 1 + l + sovTypes(uint64(l)) 52818 } 52819 } 52820 if m.AssumeRole != nil { 52821 l = m.AssumeRole.Size() 52822 n += 1 + l + sovTypes(uint64(l)) 52823 } 52824 l = len(m.Integration) 52825 if l > 0 { 52826 n += 1 + l + sovTypes(uint64(l)) 52827 } 52828 if m.XXX_unrecognized != nil { 52829 n += len(m.XXX_unrecognized) 52830 } 52831 return n 52832 } 52833 52834 func sovTypes(x uint64) (n int) { 52835 return (math_bits.Len64(x|1) + 6) / 7 52836 } 52837 func sozTypes(x uint64) (n int) { 52838 return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 52839 } 52840 func (m *KeepAlive) Unmarshal(dAtA []byte) error { 52841 l := len(dAtA) 52842 iNdEx := 0 52843 for iNdEx < l { 52844 preIndex := iNdEx 52845 var wire uint64 52846 for shift := uint(0); ; shift += 7 { 52847 if shift >= 64 { 52848 return ErrIntOverflowTypes 52849 } 52850 if iNdEx >= l { 52851 return io.ErrUnexpectedEOF 52852 } 52853 b := dAtA[iNdEx] 52854 iNdEx++ 52855 wire |= uint64(b&0x7F) << shift 52856 if b < 0x80 { 52857 break 52858 } 52859 } 52860 fieldNum := int32(wire >> 3) 52861 wireType := int(wire & 0x7) 52862 if wireType == 4 { 52863 return fmt.Errorf("proto: KeepAlive: wiretype end group for non-group") 52864 } 52865 if fieldNum <= 0 { 52866 return fmt.Errorf("proto: KeepAlive: illegal tag %d (wire type %d)", fieldNum, wire) 52867 } 52868 switch fieldNum { 52869 case 1: 52870 if wireType != 2 { 52871 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 52872 } 52873 var stringLen uint64 52874 for shift := uint(0); ; shift += 7 { 52875 if shift >= 64 { 52876 return ErrIntOverflowTypes 52877 } 52878 if iNdEx >= l { 52879 return io.ErrUnexpectedEOF 52880 } 52881 b := dAtA[iNdEx] 52882 iNdEx++ 52883 stringLen |= uint64(b&0x7F) << shift 52884 if b < 0x80 { 52885 break 52886 } 52887 } 52888 intStringLen := int(stringLen) 52889 if intStringLen < 0 { 52890 return ErrInvalidLengthTypes 52891 } 52892 postIndex := iNdEx + intStringLen 52893 if postIndex < 0 { 52894 return ErrInvalidLengthTypes 52895 } 52896 if postIndex > l { 52897 return io.ErrUnexpectedEOF 52898 } 52899 m.Name = string(dAtA[iNdEx:postIndex]) 52900 iNdEx = postIndex 52901 case 2: 52902 if wireType != 2 { 52903 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 52904 } 52905 var stringLen uint64 52906 for shift := uint(0); ; shift += 7 { 52907 if shift >= 64 { 52908 return ErrIntOverflowTypes 52909 } 52910 if iNdEx >= l { 52911 return io.ErrUnexpectedEOF 52912 } 52913 b := dAtA[iNdEx] 52914 iNdEx++ 52915 stringLen |= uint64(b&0x7F) << shift 52916 if b < 0x80 { 52917 break 52918 } 52919 } 52920 intStringLen := int(stringLen) 52921 if intStringLen < 0 { 52922 return ErrInvalidLengthTypes 52923 } 52924 postIndex := iNdEx + intStringLen 52925 if postIndex < 0 { 52926 return ErrInvalidLengthTypes 52927 } 52928 if postIndex > l { 52929 return io.ErrUnexpectedEOF 52930 } 52931 m.Namespace = string(dAtA[iNdEx:postIndex]) 52932 iNdEx = postIndex 52933 case 3: 52934 if wireType != 0 { 52935 return fmt.Errorf("proto: wrong wireType = %d for field LeaseID", wireType) 52936 } 52937 m.LeaseID = 0 52938 for shift := uint(0); ; shift += 7 { 52939 if shift >= 64 { 52940 return ErrIntOverflowTypes 52941 } 52942 if iNdEx >= l { 52943 return io.ErrUnexpectedEOF 52944 } 52945 b := dAtA[iNdEx] 52946 iNdEx++ 52947 m.LeaseID |= int64(b&0x7F) << shift 52948 if b < 0x80 { 52949 break 52950 } 52951 } 52952 case 4: 52953 if wireType != 2 { 52954 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 52955 } 52956 var msglen int 52957 for shift := uint(0); ; shift += 7 { 52958 if shift >= 64 { 52959 return ErrIntOverflowTypes 52960 } 52961 if iNdEx >= l { 52962 return io.ErrUnexpectedEOF 52963 } 52964 b := dAtA[iNdEx] 52965 iNdEx++ 52966 msglen |= int(b&0x7F) << shift 52967 if b < 0x80 { 52968 break 52969 } 52970 } 52971 if msglen < 0 { 52972 return ErrInvalidLengthTypes 52973 } 52974 postIndex := iNdEx + msglen 52975 if postIndex < 0 { 52976 return ErrInvalidLengthTypes 52977 } 52978 if postIndex > l { 52979 return io.ErrUnexpectedEOF 52980 } 52981 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Expires, dAtA[iNdEx:postIndex]); err != nil { 52982 return err 52983 } 52984 iNdEx = postIndex 52985 case 9: 52986 if wireType != 0 { 52987 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 52988 } 52989 m.Type = 0 52990 for shift := uint(0); ; shift += 7 { 52991 if shift >= 64 { 52992 return ErrIntOverflowTypes 52993 } 52994 if iNdEx >= l { 52995 return io.ErrUnexpectedEOF 52996 } 52997 b := dAtA[iNdEx] 52998 iNdEx++ 52999 m.Type |= KeepAlive_KeepAliveType(b&0x7F) << shift 53000 if b < 0x80 { 53001 break 53002 } 53003 } 53004 case 10: 53005 if wireType != 2 { 53006 return fmt.Errorf("proto: wrong wireType = %d for field HostID", wireType) 53007 } 53008 var stringLen uint64 53009 for shift := uint(0); ; shift += 7 { 53010 if shift >= 64 { 53011 return ErrIntOverflowTypes 53012 } 53013 if iNdEx >= l { 53014 return io.ErrUnexpectedEOF 53015 } 53016 b := dAtA[iNdEx] 53017 iNdEx++ 53018 stringLen |= uint64(b&0x7F) << shift 53019 if b < 0x80 { 53020 break 53021 } 53022 } 53023 intStringLen := int(stringLen) 53024 if intStringLen < 0 { 53025 return ErrInvalidLengthTypes 53026 } 53027 postIndex := iNdEx + intStringLen 53028 if postIndex < 0 { 53029 return ErrInvalidLengthTypes 53030 } 53031 if postIndex > l { 53032 return io.ErrUnexpectedEOF 53033 } 53034 m.HostID = string(dAtA[iNdEx:postIndex]) 53035 iNdEx = postIndex 53036 default: 53037 iNdEx = preIndex 53038 skippy, err := skipTypes(dAtA[iNdEx:]) 53039 if err != nil { 53040 return err 53041 } 53042 if (skippy < 0) || (iNdEx+skippy) < 0 { 53043 return ErrInvalidLengthTypes 53044 } 53045 if (iNdEx + skippy) > l { 53046 return io.ErrUnexpectedEOF 53047 } 53048 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 53049 iNdEx += skippy 53050 } 53051 } 53052 53053 if iNdEx > l { 53054 return io.ErrUnexpectedEOF 53055 } 53056 return nil 53057 } 53058 func (m *Metadata) Unmarshal(dAtA []byte) error { 53059 l := len(dAtA) 53060 iNdEx := 0 53061 for iNdEx < l { 53062 preIndex := iNdEx 53063 var wire uint64 53064 for shift := uint(0); ; shift += 7 { 53065 if shift >= 64 { 53066 return ErrIntOverflowTypes 53067 } 53068 if iNdEx >= l { 53069 return io.ErrUnexpectedEOF 53070 } 53071 b := dAtA[iNdEx] 53072 iNdEx++ 53073 wire |= uint64(b&0x7F) << shift 53074 if b < 0x80 { 53075 break 53076 } 53077 } 53078 fieldNum := int32(wire >> 3) 53079 wireType := int(wire & 0x7) 53080 if wireType == 4 { 53081 return fmt.Errorf("proto: Metadata: wiretype end group for non-group") 53082 } 53083 if fieldNum <= 0 { 53084 return fmt.Errorf("proto: Metadata: illegal tag %d (wire type %d)", fieldNum, wire) 53085 } 53086 switch fieldNum { 53087 case 1: 53088 if wireType != 2 { 53089 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 53090 } 53091 var stringLen uint64 53092 for shift := uint(0); ; shift += 7 { 53093 if shift >= 64 { 53094 return ErrIntOverflowTypes 53095 } 53096 if iNdEx >= l { 53097 return io.ErrUnexpectedEOF 53098 } 53099 b := dAtA[iNdEx] 53100 iNdEx++ 53101 stringLen |= uint64(b&0x7F) << shift 53102 if b < 0x80 { 53103 break 53104 } 53105 } 53106 intStringLen := int(stringLen) 53107 if intStringLen < 0 { 53108 return ErrInvalidLengthTypes 53109 } 53110 postIndex := iNdEx + intStringLen 53111 if postIndex < 0 { 53112 return ErrInvalidLengthTypes 53113 } 53114 if postIndex > l { 53115 return io.ErrUnexpectedEOF 53116 } 53117 m.Name = string(dAtA[iNdEx:postIndex]) 53118 iNdEx = postIndex 53119 case 2: 53120 if wireType != 2 { 53121 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 53122 } 53123 var stringLen uint64 53124 for shift := uint(0); ; shift += 7 { 53125 if shift >= 64 { 53126 return ErrIntOverflowTypes 53127 } 53128 if iNdEx >= l { 53129 return io.ErrUnexpectedEOF 53130 } 53131 b := dAtA[iNdEx] 53132 iNdEx++ 53133 stringLen |= uint64(b&0x7F) << shift 53134 if b < 0x80 { 53135 break 53136 } 53137 } 53138 intStringLen := int(stringLen) 53139 if intStringLen < 0 { 53140 return ErrInvalidLengthTypes 53141 } 53142 postIndex := iNdEx + intStringLen 53143 if postIndex < 0 { 53144 return ErrInvalidLengthTypes 53145 } 53146 if postIndex > l { 53147 return io.ErrUnexpectedEOF 53148 } 53149 m.Namespace = string(dAtA[iNdEx:postIndex]) 53150 iNdEx = postIndex 53151 case 3: 53152 if wireType != 2 { 53153 return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) 53154 } 53155 var stringLen uint64 53156 for shift := uint(0); ; shift += 7 { 53157 if shift >= 64 { 53158 return ErrIntOverflowTypes 53159 } 53160 if iNdEx >= l { 53161 return io.ErrUnexpectedEOF 53162 } 53163 b := dAtA[iNdEx] 53164 iNdEx++ 53165 stringLen |= uint64(b&0x7F) << shift 53166 if b < 0x80 { 53167 break 53168 } 53169 } 53170 intStringLen := int(stringLen) 53171 if intStringLen < 0 { 53172 return ErrInvalidLengthTypes 53173 } 53174 postIndex := iNdEx + intStringLen 53175 if postIndex < 0 { 53176 return ErrInvalidLengthTypes 53177 } 53178 if postIndex > l { 53179 return io.ErrUnexpectedEOF 53180 } 53181 m.Description = string(dAtA[iNdEx:postIndex]) 53182 iNdEx = postIndex 53183 case 5: 53184 if wireType != 2 { 53185 return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) 53186 } 53187 var msglen int 53188 for shift := uint(0); ; shift += 7 { 53189 if shift >= 64 { 53190 return ErrIntOverflowTypes 53191 } 53192 if iNdEx >= l { 53193 return io.ErrUnexpectedEOF 53194 } 53195 b := dAtA[iNdEx] 53196 iNdEx++ 53197 msglen |= int(b&0x7F) << shift 53198 if b < 0x80 { 53199 break 53200 } 53201 } 53202 if msglen < 0 { 53203 return ErrInvalidLengthTypes 53204 } 53205 postIndex := iNdEx + msglen 53206 if postIndex < 0 { 53207 return ErrInvalidLengthTypes 53208 } 53209 if postIndex > l { 53210 return io.ErrUnexpectedEOF 53211 } 53212 if m.Labels == nil { 53213 m.Labels = make(map[string]string) 53214 } 53215 var mapkey string 53216 var mapvalue string 53217 for iNdEx < postIndex { 53218 entryPreIndex := iNdEx 53219 var wire uint64 53220 for shift := uint(0); ; shift += 7 { 53221 if shift >= 64 { 53222 return ErrIntOverflowTypes 53223 } 53224 if iNdEx >= l { 53225 return io.ErrUnexpectedEOF 53226 } 53227 b := dAtA[iNdEx] 53228 iNdEx++ 53229 wire |= uint64(b&0x7F) << shift 53230 if b < 0x80 { 53231 break 53232 } 53233 } 53234 fieldNum := int32(wire >> 3) 53235 if fieldNum == 1 { 53236 var stringLenmapkey uint64 53237 for shift := uint(0); ; shift += 7 { 53238 if shift >= 64 { 53239 return ErrIntOverflowTypes 53240 } 53241 if iNdEx >= l { 53242 return io.ErrUnexpectedEOF 53243 } 53244 b := dAtA[iNdEx] 53245 iNdEx++ 53246 stringLenmapkey |= uint64(b&0x7F) << shift 53247 if b < 0x80 { 53248 break 53249 } 53250 } 53251 intStringLenmapkey := int(stringLenmapkey) 53252 if intStringLenmapkey < 0 { 53253 return ErrInvalidLengthTypes 53254 } 53255 postStringIndexmapkey := iNdEx + intStringLenmapkey 53256 if postStringIndexmapkey < 0 { 53257 return ErrInvalidLengthTypes 53258 } 53259 if postStringIndexmapkey > l { 53260 return io.ErrUnexpectedEOF 53261 } 53262 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 53263 iNdEx = postStringIndexmapkey 53264 } else if fieldNum == 2 { 53265 var stringLenmapvalue uint64 53266 for shift := uint(0); ; shift += 7 { 53267 if shift >= 64 { 53268 return ErrIntOverflowTypes 53269 } 53270 if iNdEx >= l { 53271 return io.ErrUnexpectedEOF 53272 } 53273 b := dAtA[iNdEx] 53274 iNdEx++ 53275 stringLenmapvalue |= uint64(b&0x7F) << shift 53276 if b < 0x80 { 53277 break 53278 } 53279 } 53280 intStringLenmapvalue := int(stringLenmapvalue) 53281 if intStringLenmapvalue < 0 { 53282 return ErrInvalidLengthTypes 53283 } 53284 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 53285 if postStringIndexmapvalue < 0 { 53286 return ErrInvalidLengthTypes 53287 } 53288 if postStringIndexmapvalue > l { 53289 return io.ErrUnexpectedEOF 53290 } 53291 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 53292 iNdEx = postStringIndexmapvalue 53293 } else { 53294 iNdEx = entryPreIndex 53295 skippy, err := skipTypes(dAtA[iNdEx:]) 53296 if err != nil { 53297 return err 53298 } 53299 if (skippy < 0) || (iNdEx+skippy) < 0 { 53300 return ErrInvalidLengthTypes 53301 } 53302 if (iNdEx + skippy) > postIndex { 53303 return io.ErrUnexpectedEOF 53304 } 53305 iNdEx += skippy 53306 } 53307 } 53308 m.Labels[mapkey] = mapvalue 53309 iNdEx = postIndex 53310 case 6: 53311 if wireType != 2 { 53312 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 53313 } 53314 var msglen int 53315 for shift := uint(0); ; shift += 7 { 53316 if shift >= 64 { 53317 return ErrIntOverflowTypes 53318 } 53319 if iNdEx >= l { 53320 return io.ErrUnexpectedEOF 53321 } 53322 b := dAtA[iNdEx] 53323 iNdEx++ 53324 msglen |= int(b&0x7F) << shift 53325 if b < 0x80 { 53326 break 53327 } 53328 } 53329 if msglen < 0 { 53330 return ErrInvalidLengthTypes 53331 } 53332 postIndex := iNdEx + msglen 53333 if postIndex < 0 { 53334 return ErrInvalidLengthTypes 53335 } 53336 if postIndex > l { 53337 return io.ErrUnexpectedEOF 53338 } 53339 if m.Expires == nil { 53340 m.Expires = new(time.Time) 53341 } 53342 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.Expires, dAtA[iNdEx:postIndex]); err != nil { 53343 return err 53344 } 53345 iNdEx = postIndex 53346 case 7: 53347 if wireType != 0 { 53348 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 53349 } 53350 m.ID = 0 53351 for shift := uint(0); ; shift += 7 { 53352 if shift >= 64 { 53353 return ErrIntOverflowTypes 53354 } 53355 if iNdEx >= l { 53356 return io.ErrUnexpectedEOF 53357 } 53358 b := dAtA[iNdEx] 53359 iNdEx++ 53360 m.ID |= int64(b&0x7F) << shift 53361 if b < 0x80 { 53362 break 53363 } 53364 } 53365 case 8: 53366 if wireType != 2 { 53367 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) 53368 } 53369 var stringLen uint64 53370 for shift := uint(0); ; shift += 7 { 53371 if shift >= 64 { 53372 return ErrIntOverflowTypes 53373 } 53374 if iNdEx >= l { 53375 return io.ErrUnexpectedEOF 53376 } 53377 b := dAtA[iNdEx] 53378 iNdEx++ 53379 stringLen |= uint64(b&0x7F) << shift 53380 if b < 0x80 { 53381 break 53382 } 53383 } 53384 intStringLen := int(stringLen) 53385 if intStringLen < 0 { 53386 return ErrInvalidLengthTypes 53387 } 53388 postIndex := iNdEx + intStringLen 53389 if postIndex < 0 { 53390 return ErrInvalidLengthTypes 53391 } 53392 if postIndex > l { 53393 return io.ErrUnexpectedEOF 53394 } 53395 m.Revision = string(dAtA[iNdEx:postIndex]) 53396 iNdEx = postIndex 53397 default: 53398 iNdEx = preIndex 53399 skippy, err := skipTypes(dAtA[iNdEx:]) 53400 if err != nil { 53401 return err 53402 } 53403 if (skippy < 0) || (iNdEx+skippy) < 0 { 53404 return ErrInvalidLengthTypes 53405 } 53406 if (iNdEx + skippy) > l { 53407 return io.ErrUnexpectedEOF 53408 } 53409 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 53410 iNdEx += skippy 53411 } 53412 } 53413 53414 if iNdEx > l { 53415 return io.ErrUnexpectedEOF 53416 } 53417 return nil 53418 } 53419 func (m *Rotation) Unmarshal(dAtA []byte) error { 53420 l := len(dAtA) 53421 iNdEx := 0 53422 for iNdEx < l { 53423 preIndex := iNdEx 53424 var wire uint64 53425 for shift := uint(0); ; shift += 7 { 53426 if shift >= 64 { 53427 return ErrIntOverflowTypes 53428 } 53429 if iNdEx >= l { 53430 return io.ErrUnexpectedEOF 53431 } 53432 b := dAtA[iNdEx] 53433 iNdEx++ 53434 wire |= uint64(b&0x7F) << shift 53435 if b < 0x80 { 53436 break 53437 } 53438 } 53439 fieldNum := int32(wire >> 3) 53440 wireType := int(wire & 0x7) 53441 if wireType == 4 { 53442 return fmt.Errorf("proto: Rotation: wiretype end group for non-group") 53443 } 53444 if fieldNum <= 0 { 53445 return fmt.Errorf("proto: Rotation: illegal tag %d (wire type %d)", fieldNum, wire) 53446 } 53447 switch fieldNum { 53448 case 1: 53449 if wireType != 2 { 53450 return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) 53451 } 53452 var stringLen uint64 53453 for shift := uint(0); ; shift += 7 { 53454 if shift >= 64 { 53455 return ErrIntOverflowTypes 53456 } 53457 if iNdEx >= l { 53458 return io.ErrUnexpectedEOF 53459 } 53460 b := dAtA[iNdEx] 53461 iNdEx++ 53462 stringLen |= uint64(b&0x7F) << shift 53463 if b < 0x80 { 53464 break 53465 } 53466 } 53467 intStringLen := int(stringLen) 53468 if intStringLen < 0 { 53469 return ErrInvalidLengthTypes 53470 } 53471 postIndex := iNdEx + intStringLen 53472 if postIndex < 0 { 53473 return ErrInvalidLengthTypes 53474 } 53475 if postIndex > l { 53476 return io.ErrUnexpectedEOF 53477 } 53478 m.State = string(dAtA[iNdEx:postIndex]) 53479 iNdEx = postIndex 53480 case 2: 53481 if wireType != 2 { 53482 return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType) 53483 } 53484 var stringLen uint64 53485 for shift := uint(0); ; shift += 7 { 53486 if shift >= 64 { 53487 return ErrIntOverflowTypes 53488 } 53489 if iNdEx >= l { 53490 return io.ErrUnexpectedEOF 53491 } 53492 b := dAtA[iNdEx] 53493 iNdEx++ 53494 stringLen |= uint64(b&0x7F) << shift 53495 if b < 0x80 { 53496 break 53497 } 53498 } 53499 intStringLen := int(stringLen) 53500 if intStringLen < 0 { 53501 return ErrInvalidLengthTypes 53502 } 53503 postIndex := iNdEx + intStringLen 53504 if postIndex < 0 { 53505 return ErrInvalidLengthTypes 53506 } 53507 if postIndex > l { 53508 return io.ErrUnexpectedEOF 53509 } 53510 m.Phase = string(dAtA[iNdEx:postIndex]) 53511 iNdEx = postIndex 53512 case 3: 53513 if wireType != 2 { 53514 return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) 53515 } 53516 var stringLen uint64 53517 for shift := uint(0); ; shift += 7 { 53518 if shift >= 64 { 53519 return ErrIntOverflowTypes 53520 } 53521 if iNdEx >= l { 53522 return io.ErrUnexpectedEOF 53523 } 53524 b := dAtA[iNdEx] 53525 iNdEx++ 53526 stringLen |= uint64(b&0x7F) << shift 53527 if b < 0x80 { 53528 break 53529 } 53530 } 53531 intStringLen := int(stringLen) 53532 if intStringLen < 0 { 53533 return ErrInvalidLengthTypes 53534 } 53535 postIndex := iNdEx + intStringLen 53536 if postIndex < 0 { 53537 return ErrInvalidLengthTypes 53538 } 53539 if postIndex > l { 53540 return io.ErrUnexpectedEOF 53541 } 53542 m.Mode = string(dAtA[iNdEx:postIndex]) 53543 iNdEx = postIndex 53544 case 4: 53545 if wireType != 2 { 53546 return fmt.Errorf("proto: wrong wireType = %d for field CurrentID", wireType) 53547 } 53548 var stringLen uint64 53549 for shift := uint(0); ; shift += 7 { 53550 if shift >= 64 { 53551 return ErrIntOverflowTypes 53552 } 53553 if iNdEx >= l { 53554 return io.ErrUnexpectedEOF 53555 } 53556 b := dAtA[iNdEx] 53557 iNdEx++ 53558 stringLen |= uint64(b&0x7F) << shift 53559 if b < 0x80 { 53560 break 53561 } 53562 } 53563 intStringLen := int(stringLen) 53564 if intStringLen < 0 { 53565 return ErrInvalidLengthTypes 53566 } 53567 postIndex := iNdEx + intStringLen 53568 if postIndex < 0 { 53569 return ErrInvalidLengthTypes 53570 } 53571 if postIndex > l { 53572 return io.ErrUnexpectedEOF 53573 } 53574 m.CurrentID = string(dAtA[iNdEx:postIndex]) 53575 iNdEx = postIndex 53576 case 5: 53577 if wireType != 2 { 53578 return fmt.Errorf("proto: wrong wireType = %d for field Started", wireType) 53579 } 53580 var msglen int 53581 for shift := uint(0); ; shift += 7 { 53582 if shift >= 64 { 53583 return ErrIntOverflowTypes 53584 } 53585 if iNdEx >= l { 53586 return io.ErrUnexpectedEOF 53587 } 53588 b := dAtA[iNdEx] 53589 iNdEx++ 53590 msglen |= int(b&0x7F) << shift 53591 if b < 0x80 { 53592 break 53593 } 53594 } 53595 if msglen < 0 { 53596 return ErrInvalidLengthTypes 53597 } 53598 postIndex := iNdEx + msglen 53599 if postIndex < 0 { 53600 return ErrInvalidLengthTypes 53601 } 53602 if postIndex > l { 53603 return io.ErrUnexpectedEOF 53604 } 53605 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Started, dAtA[iNdEx:postIndex]); err != nil { 53606 return err 53607 } 53608 iNdEx = postIndex 53609 case 6: 53610 if wireType != 0 { 53611 return fmt.Errorf("proto: wrong wireType = %d for field GracePeriod", wireType) 53612 } 53613 m.GracePeriod = 0 53614 for shift := uint(0); ; shift += 7 { 53615 if shift >= 64 { 53616 return ErrIntOverflowTypes 53617 } 53618 if iNdEx >= l { 53619 return io.ErrUnexpectedEOF 53620 } 53621 b := dAtA[iNdEx] 53622 iNdEx++ 53623 m.GracePeriod |= Duration(b&0x7F) << shift 53624 if b < 0x80 { 53625 break 53626 } 53627 } 53628 case 7: 53629 if wireType != 2 { 53630 return fmt.Errorf("proto: wrong wireType = %d for field LastRotated", wireType) 53631 } 53632 var msglen int 53633 for shift := uint(0); ; shift += 7 { 53634 if shift >= 64 { 53635 return ErrIntOverflowTypes 53636 } 53637 if iNdEx >= l { 53638 return io.ErrUnexpectedEOF 53639 } 53640 b := dAtA[iNdEx] 53641 iNdEx++ 53642 msglen |= int(b&0x7F) << shift 53643 if b < 0x80 { 53644 break 53645 } 53646 } 53647 if msglen < 0 { 53648 return ErrInvalidLengthTypes 53649 } 53650 postIndex := iNdEx + msglen 53651 if postIndex < 0 { 53652 return ErrInvalidLengthTypes 53653 } 53654 if postIndex > l { 53655 return io.ErrUnexpectedEOF 53656 } 53657 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.LastRotated, dAtA[iNdEx:postIndex]); err != nil { 53658 return err 53659 } 53660 iNdEx = postIndex 53661 case 8: 53662 if wireType != 2 { 53663 return fmt.Errorf("proto: wrong wireType = %d for field Schedule", wireType) 53664 } 53665 var msglen int 53666 for shift := uint(0); ; shift += 7 { 53667 if shift >= 64 { 53668 return ErrIntOverflowTypes 53669 } 53670 if iNdEx >= l { 53671 return io.ErrUnexpectedEOF 53672 } 53673 b := dAtA[iNdEx] 53674 iNdEx++ 53675 msglen |= int(b&0x7F) << shift 53676 if b < 0x80 { 53677 break 53678 } 53679 } 53680 if msglen < 0 { 53681 return ErrInvalidLengthTypes 53682 } 53683 postIndex := iNdEx + msglen 53684 if postIndex < 0 { 53685 return ErrInvalidLengthTypes 53686 } 53687 if postIndex > l { 53688 return io.ErrUnexpectedEOF 53689 } 53690 if err := m.Schedule.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 53691 return err 53692 } 53693 iNdEx = postIndex 53694 default: 53695 iNdEx = preIndex 53696 skippy, err := skipTypes(dAtA[iNdEx:]) 53697 if err != nil { 53698 return err 53699 } 53700 if (skippy < 0) || (iNdEx+skippy) < 0 { 53701 return ErrInvalidLengthTypes 53702 } 53703 if (iNdEx + skippy) > l { 53704 return io.ErrUnexpectedEOF 53705 } 53706 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 53707 iNdEx += skippy 53708 } 53709 } 53710 53711 if iNdEx > l { 53712 return io.ErrUnexpectedEOF 53713 } 53714 return nil 53715 } 53716 func (m *RotationSchedule) Unmarshal(dAtA []byte) error { 53717 l := len(dAtA) 53718 iNdEx := 0 53719 for iNdEx < l { 53720 preIndex := iNdEx 53721 var wire uint64 53722 for shift := uint(0); ; shift += 7 { 53723 if shift >= 64 { 53724 return ErrIntOverflowTypes 53725 } 53726 if iNdEx >= l { 53727 return io.ErrUnexpectedEOF 53728 } 53729 b := dAtA[iNdEx] 53730 iNdEx++ 53731 wire |= uint64(b&0x7F) << shift 53732 if b < 0x80 { 53733 break 53734 } 53735 } 53736 fieldNum := int32(wire >> 3) 53737 wireType := int(wire & 0x7) 53738 if wireType == 4 { 53739 return fmt.Errorf("proto: RotationSchedule: wiretype end group for non-group") 53740 } 53741 if fieldNum <= 0 { 53742 return fmt.Errorf("proto: RotationSchedule: illegal tag %d (wire type %d)", fieldNum, wire) 53743 } 53744 switch fieldNum { 53745 case 1: 53746 if wireType != 2 { 53747 return fmt.Errorf("proto: wrong wireType = %d for field UpdateClients", wireType) 53748 } 53749 var msglen int 53750 for shift := uint(0); ; shift += 7 { 53751 if shift >= 64 { 53752 return ErrIntOverflowTypes 53753 } 53754 if iNdEx >= l { 53755 return io.ErrUnexpectedEOF 53756 } 53757 b := dAtA[iNdEx] 53758 iNdEx++ 53759 msglen |= int(b&0x7F) << shift 53760 if b < 0x80 { 53761 break 53762 } 53763 } 53764 if msglen < 0 { 53765 return ErrInvalidLengthTypes 53766 } 53767 postIndex := iNdEx + msglen 53768 if postIndex < 0 { 53769 return ErrInvalidLengthTypes 53770 } 53771 if postIndex > l { 53772 return io.ErrUnexpectedEOF 53773 } 53774 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.UpdateClients, dAtA[iNdEx:postIndex]); err != nil { 53775 return err 53776 } 53777 iNdEx = postIndex 53778 case 2: 53779 if wireType != 2 { 53780 return fmt.Errorf("proto: wrong wireType = %d for field UpdateServers", wireType) 53781 } 53782 var msglen int 53783 for shift := uint(0); ; shift += 7 { 53784 if shift >= 64 { 53785 return ErrIntOverflowTypes 53786 } 53787 if iNdEx >= l { 53788 return io.ErrUnexpectedEOF 53789 } 53790 b := dAtA[iNdEx] 53791 iNdEx++ 53792 msglen |= int(b&0x7F) << shift 53793 if b < 0x80 { 53794 break 53795 } 53796 } 53797 if msglen < 0 { 53798 return ErrInvalidLengthTypes 53799 } 53800 postIndex := iNdEx + msglen 53801 if postIndex < 0 { 53802 return ErrInvalidLengthTypes 53803 } 53804 if postIndex > l { 53805 return io.ErrUnexpectedEOF 53806 } 53807 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.UpdateServers, dAtA[iNdEx:postIndex]); err != nil { 53808 return err 53809 } 53810 iNdEx = postIndex 53811 case 3: 53812 if wireType != 2 { 53813 return fmt.Errorf("proto: wrong wireType = %d for field Standby", wireType) 53814 } 53815 var msglen int 53816 for shift := uint(0); ; shift += 7 { 53817 if shift >= 64 { 53818 return ErrIntOverflowTypes 53819 } 53820 if iNdEx >= l { 53821 return io.ErrUnexpectedEOF 53822 } 53823 b := dAtA[iNdEx] 53824 iNdEx++ 53825 msglen |= int(b&0x7F) << shift 53826 if b < 0x80 { 53827 break 53828 } 53829 } 53830 if msglen < 0 { 53831 return ErrInvalidLengthTypes 53832 } 53833 postIndex := iNdEx + msglen 53834 if postIndex < 0 { 53835 return ErrInvalidLengthTypes 53836 } 53837 if postIndex > l { 53838 return io.ErrUnexpectedEOF 53839 } 53840 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Standby, dAtA[iNdEx:postIndex]); err != nil { 53841 return err 53842 } 53843 iNdEx = postIndex 53844 default: 53845 iNdEx = preIndex 53846 skippy, err := skipTypes(dAtA[iNdEx:]) 53847 if err != nil { 53848 return err 53849 } 53850 if (skippy < 0) || (iNdEx+skippy) < 0 { 53851 return ErrInvalidLengthTypes 53852 } 53853 if (iNdEx + skippy) > l { 53854 return io.ErrUnexpectedEOF 53855 } 53856 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 53857 iNdEx += skippy 53858 } 53859 } 53860 53861 if iNdEx > l { 53862 return io.ErrUnexpectedEOF 53863 } 53864 return nil 53865 } 53866 func (m *ResourceHeader) Unmarshal(dAtA []byte) error { 53867 l := len(dAtA) 53868 iNdEx := 0 53869 for iNdEx < l { 53870 preIndex := iNdEx 53871 var wire uint64 53872 for shift := uint(0); ; shift += 7 { 53873 if shift >= 64 { 53874 return ErrIntOverflowTypes 53875 } 53876 if iNdEx >= l { 53877 return io.ErrUnexpectedEOF 53878 } 53879 b := dAtA[iNdEx] 53880 iNdEx++ 53881 wire |= uint64(b&0x7F) << shift 53882 if b < 0x80 { 53883 break 53884 } 53885 } 53886 fieldNum := int32(wire >> 3) 53887 wireType := int(wire & 0x7) 53888 if wireType == 4 { 53889 return fmt.Errorf("proto: ResourceHeader: wiretype end group for non-group") 53890 } 53891 if fieldNum <= 0 { 53892 return fmt.Errorf("proto: ResourceHeader: illegal tag %d (wire type %d)", fieldNum, wire) 53893 } 53894 switch fieldNum { 53895 case 1: 53896 if wireType != 2 { 53897 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 53898 } 53899 var stringLen uint64 53900 for shift := uint(0); ; shift += 7 { 53901 if shift >= 64 { 53902 return ErrIntOverflowTypes 53903 } 53904 if iNdEx >= l { 53905 return io.ErrUnexpectedEOF 53906 } 53907 b := dAtA[iNdEx] 53908 iNdEx++ 53909 stringLen |= uint64(b&0x7F) << shift 53910 if b < 0x80 { 53911 break 53912 } 53913 } 53914 intStringLen := int(stringLen) 53915 if intStringLen < 0 { 53916 return ErrInvalidLengthTypes 53917 } 53918 postIndex := iNdEx + intStringLen 53919 if postIndex < 0 { 53920 return ErrInvalidLengthTypes 53921 } 53922 if postIndex > l { 53923 return io.ErrUnexpectedEOF 53924 } 53925 m.Kind = string(dAtA[iNdEx:postIndex]) 53926 iNdEx = postIndex 53927 case 2: 53928 if wireType != 2 { 53929 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 53930 } 53931 var stringLen uint64 53932 for shift := uint(0); ; shift += 7 { 53933 if shift >= 64 { 53934 return ErrIntOverflowTypes 53935 } 53936 if iNdEx >= l { 53937 return io.ErrUnexpectedEOF 53938 } 53939 b := dAtA[iNdEx] 53940 iNdEx++ 53941 stringLen |= uint64(b&0x7F) << shift 53942 if b < 0x80 { 53943 break 53944 } 53945 } 53946 intStringLen := int(stringLen) 53947 if intStringLen < 0 { 53948 return ErrInvalidLengthTypes 53949 } 53950 postIndex := iNdEx + intStringLen 53951 if postIndex < 0 { 53952 return ErrInvalidLengthTypes 53953 } 53954 if postIndex > l { 53955 return io.ErrUnexpectedEOF 53956 } 53957 m.SubKind = string(dAtA[iNdEx:postIndex]) 53958 iNdEx = postIndex 53959 case 3: 53960 if wireType != 2 { 53961 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 53962 } 53963 var stringLen uint64 53964 for shift := uint(0); ; shift += 7 { 53965 if shift >= 64 { 53966 return ErrIntOverflowTypes 53967 } 53968 if iNdEx >= l { 53969 return io.ErrUnexpectedEOF 53970 } 53971 b := dAtA[iNdEx] 53972 iNdEx++ 53973 stringLen |= uint64(b&0x7F) << shift 53974 if b < 0x80 { 53975 break 53976 } 53977 } 53978 intStringLen := int(stringLen) 53979 if intStringLen < 0 { 53980 return ErrInvalidLengthTypes 53981 } 53982 postIndex := iNdEx + intStringLen 53983 if postIndex < 0 { 53984 return ErrInvalidLengthTypes 53985 } 53986 if postIndex > l { 53987 return io.ErrUnexpectedEOF 53988 } 53989 m.Version = string(dAtA[iNdEx:postIndex]) 53990 iNdEx = postIndex 53991 case 4: 53992 if wireType != 2 { 53993 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 53994 } 53995 var msglen int 53996 for shift := uint(0); ; shift += 7 { 53997 if shift >= 64 { 53998 return ErrIntOverflowTypes 53999 } 54000 if iNdEx >= l { 54001 return io.ErrUnexpectedEOF 54002 } 54003 b := dAtA[iNdEx] 54004 iNdEx++ 54005 msglen |= int(b&0x7F) << shift 54006 if b < 0x80 { 54007 break 54008 } 54009 } 54010 if msglen < 0 { 54011 return ErrInvalidLengthTypes 54012 } 54013 postIndex := iNdEx + msglen 54014 if postIndex < 0 { 54015 return ErrInvalidLengthTypes 54016 } 54017 if postIndex > l { 54018 return io.ErrUnexpectedEOF 54019 } 54020 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54021 return err 54022 } 54023 iNdEx = postIndex 54024 default: 54025 iNdEx = preIndex 54026 skippy, err := skipTypes(dAtA[iNdEx:]) 54027 if err != nil { 54028 return err 54029 } 54030 if (skippy < 0) || (iNdEx+skippy) < 0 { 54031 return ErrInvalidLengthTypes 54032 } 54033 if (iNdEx + skippy) > l { 54034 return io.ErrUnexpectedEOF 54035 } 54036 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 54037 iNdEx += skippy 54038 } 54039 } 54040 54041 if iNdEx > l { 54042 return io.ErrUnexpectedEOF 54043 } 54044 return nil 54045 } 54046 func (m *DatabaseServerV3) Unmarshal(dAtA []byte) error { 54047 l := len(dAtA) 54048 iNdEx := 0 54049 for iNdEx < l { 54050 preIndex := iNdEx 54051 var wire uint64 54052 for shift := uint(0); ; shift += 7 { 54053 if shift >= 64 { 54054 return ErrIntOverflowTypes 54055 } 54056 if iNdEx >= l { 54057 return io.ErrUnexpectedEOF 54058 } 54059 b := dAtA[iNdEx] 54060 iNdEx++ 54061 wire |= uint64(b&0x7F) << shift 54062 if b < 0x80 { 54063 break 54064 } 54065 } 54066 fieldNum := int32(wire >> 3) 54067 wireType := int(wire & 0x7) 54068 if wireType == 4 { 54069 return fmt.Errorf("proto: DatabaseServerV3: wiretype end group for non-group") 54070 } 54071 if fieldNum <= 0 { 54072 return fmt.Errorf("proto: DatabaseServerV3: illegal tag %d (wire type %d)", fieldNum, wire) 54073 } 54074 switch fieldNum { 54075 case 1: 54076 if wireType != 2 { 54077 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 54078 } 54079 var stringLen uint64 54080 for shift := uint(0); ; shift += 7 { 54081 if shift >= 64 { 54082 return ErrIntOverflowTypes 54083 } 54084 if iNdEx >= l { 54085 return io.ErrUnexpectedEOF 54086 } 54087 b := dAtA[iNdEx] 54088 iNdEx++ 54089 stringLen |= uint64(b&0x7F) << shift 54090 if b < 0x80 { 54091 break 54092 } 54093 } 54094 intStringLen := int(stringLen) 54095 if intStringLen < 0 { 54096 return ErrInvalidLengthTypes 54097 } 54098 postIndex := iNdEx + intStringLen 54099 if postIndex < 0 { 54100 return ErrInvalidLengthTypes 54101 } 54102 if postIndex > l { 54103 return io.ErrUnexpectedEOF 54104 } 54105 m.Kind = string(dAtA[iNdEx:postIndex]) 54106 iNdEx = postIndex 54107 case 2: 54108 if wireType != 2 { 54109 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 54110 } 54111 var stringLen uint64 54112 for shift := uint(0); ; shift += 7 { 54113 if shift >= 64 { 54114 return ErrIntOverflowTypes 54115 } 54116 if iNdEx >= l { 54117 return io.ErrUnexpectedEOF 54118 } 54119 b := dAtA[iNdEx] 54120 iNdEx++ 54121 stringLen |= uint64(b&0x7F) << shift 54122 if b < 0x80 { 54123 break 54124 } 54125 } 54126 intStringLen := int(stringLen) 54127 if intStringLen < 0 { 54128 return ErrInvalidLengthTypes 54129 } 54130 postIndex := iNdEx + intStringLen 54131 if postIndex < 0 { 54132 return ErrInvalidLengthTypes 54133 } 54134 if postIndex > l { 54135 return io.ErrUnexpectedEOF 54136 } 54137 m.SubKind = string(dAtA[iNdEx:postIndex]) 54138 iNdEx = postIndex 54139 case 3: 54140 if wireType != 2 { 54141 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 54142 } 54143 var stringLen uint64 54144 for shift := uint(0); ; shift += 7 { 54145 if shift >= 64 { 54146 return ErrIntOverflowTypes 54147 } 54148 if iNdEx >= l { 54149 return io.ErrUnexpectedEOF 54150 } 54151 b := dAtA[iNdEx] 54152 iNdEx++ 54153 stringLen |= uint64(b&0x7F) << shift 54154 if b < 0x80 { 54155 break 54156 } 54157 } 54158 intStringLen := int(stringLen) 54159 if intStringLen < 0 { 54160 return ErrInvalidLengthTypes 54161 } 54162 postIndex := iNdEx + intStringLen 54163 if postIndex < 0 { 54164 return ErrInvalidLengthTypes 54165 } 54166 if postIndex > l { 54167 return io.ErrUnexpectedEOF 54168 } 54169 m.Version = string(dAtA[iNdEx:postIndex]) 54170 iNdEx = postIndex 54171 case 4: 54172 if wireType != 2 { 54173 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 54174 } 54175 var msglen int 54176 for shift := uint(0); ; shift += 7 { 54177 if shift >= 64 { 54178 return ErrIntOverflowTypes 54179 } 54180 if iNdEx >= l { 54181 return io.ErrUnexpectedEOF 54182 } 54183 b := dAtA[iNdEx] 54184 iNdEx++ 54185 msglen |= int(b&0x7F) << shift 54186 if b < 0x80 { 54187 break 54188 } 54189 } 54190 if msglen < 0 { 54191 return ErrInvalidLengthTypes 54192 } 54193 postIndex := iNdEx + msglen 54194 if postIndex < 0 { 54195 return ErrInvalidLengthTypes 54196 } 54197 if postIndex > l { 54198 return io.ErrUnexpectedEOF 54199 } 54200 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54201 return err 54202 } 54203 iNdEx = postIndex 54204 case 5: 54205 if wireType != 2 { 54206 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 54207 } 54208 var msglen int 54209 for shift := uint(0); ; shift += 7 { 54210 if shift >= 64 { 54211 return ErrIntOverflowTypes 54212 } 54213 if iNdEx >= l { 54214 return io.ErrUnexpectedEOF 54215 } 54216 b := dAtA[iNdEx] 54217 iNdEx++ 54218 msglen |= int(b&0x7F) << shift 54219 if b < 0x80 { 54220 break 54221 } 54222 } 54223 if msglen < 0 { 54224 return ErrInvalidLengthTypes 54225 } 54226 postIndex := iNdEx + msglen 54227 if postIndex < 0 { 54228 return ErrInvalidLengthTypes 54229 } 54230 if postIndex > l { 54231 return io.ErrUnexpectedEOF 54232 } 54233 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54234 return err 54235 } 54236 iNdEx = postIndex 54237 default: 54238 iNdEx = preIndex 54239 skippy, err := skipTypes(dAtA[iNdEx:]) 54240 if err != nil { 54241 return err 54242 } 54243 if (skippy < 0) || (iNdEx+skippy) < 0 { 54244 return ErrInvalidLengthTypes 54245 } 54246 if (iNdEx + skippy) > l { 54247 return io.ErrUnexpectedEOF 54248 } 54249 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 54250 iNdEx += skippy 54251 } 54252 } 54253 54254 if iNdEx > l { 54255 return io.ErrUnexpectedEOF 54256 } 54257 return nil 54258 } 54259 func (m *DatabaseServerSpecV3) Unmarshal(dAtA []byte) error { 54260 l := len(dAtA) 54261 iNdEx := 0 54262 for iNdEx < l { 54263 preIndex := iNdEx 54264 var wire uint64 54265 for shift := uint(0); ; shift += 7 { 54266 if shift >= 64 { 54267 return ErrIntOverflowTypes 54268 } 54269 if iNdEx >= l { 54270 return io.ErrUnexpectedEOF 54271 } 54272 b := dAtA[iNdEx] 54273 iNdEx++ 54274 wire |= uint64(b&0x7F) << shift 54275 if b < 0x80 { 54276 break 54277 } 54278 } 54279 fieldNum := int32(wire >> 3) 54280 wireType := int(wire & 0x7) 54281 if wireType == 4 { 54282 return fmt.Errorf("proto: DatabaseServerSpecV3: wiretype end group for non-group") 54283 } 54284 if fieldNum <= 0 { 54285 return fmt.Errorf("proto: DatabaseServerSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 54286 } 54287 switch fieldNum { 54288 case 6: 54289 if wireType != 2 { 54290 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 54291 } 54292 var stringLen uint64 54293 for shift := uint(0); ; shift += 7 { 54294 if shift >= 64 { 54295 return ErrIntOverflowTypes 54296 } 54297 if iNdEx >= l { 54298 return io.ErrUnexpectedEOF 54299 } 54300 b := dAtA[iNdEx] 54301 iNdEx++ 54302 stringLen |= uint64(b&0x7F) << shift 54303 if b < 0x80 { 54304 break 54305 } 54306 } 54307 intStringLen := int(stringLen) 54308 if intStringLen < 0 { 54309 return ErrInvalidLengthTypes 54310 } 54311 postIndex := iNdEx + intStringLen 54312 if postIndex < 0 { 54313 return ErrInvalidLengthTypes 54314 } 54315 if postIndex > l { 54316 return io.ErrUnexpectedEOF 54317 } 54318 m.Version = string(dAtA[iNdEx:postIndex]) 54319 iNdEx = postIndex 54320 case 7: 54321 if wireType != 2 { 54322 return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) 54323 } 54324 var stringLen uint64 54325 for shift := uint(0); ; shift += 7 { 54326 if shift >= 64 { 54327 return ErrIntOverflowTypes 54328 } 54329 if iNdEx >= l { 54330 return io.ErrUnexpectedEOF 54331 } 54332 b := dAtA[iNdEx] 54333 iNdEx++ 54334 stringLen |= uint64(b&0x7F) << shift 54335 if b < 0x80 { 54336 break 54337 } 54338 } 54339 intStringLen := int(stringLen) 54340 if intStringLen < 0 { 54341 return ErrInvalidLengthTypes 54342 } 54343 postIndex := iNdEx + intStringLen 54344 if postIndex < 0 { 54345 return ErrInvalidLengthTypes 54346 } 54347 if postIndex > l { 54348 return io.ErrUnexpectedEOF 54349 } 54350 m.Hostname = string(dAtA[iNdEx:postIndex]) 54351 iNdEx = postIndex 54352 case 8: 54353 if wireType != 2 { 54354 return fmt.Errorf("proto: wrong wireType = %d for field HostID", wireType) 54355 } 54356 var stringLen uint64 54357 for shift := uint(0); ; shift += 7 { 54358 if shift >= 64 { 54359 return ErrIntOverflowTypes 54360 } 54361 if iNdEx >= l { 54362 return io.ErrUnexpectedEOF 54363 } 54364 b := dAtA[iNdEx] 54365 iNdEx++ 54366 stringLen |= uint64(b&0x7F) << shift 54367 if b < 0x80 { 54368 break 54369 } 54370 } 54371 intStringLen := int(stringLen) 54372 if intStringLen < 0 { 54373 return ErrInvalidLengthTypes 54374 } 54375 postIndex := iNdEx + intStringLen 54376 if postIndex < 0 { 54377 return ErrInvalidLengthTypes 54378 } 54379 if postIndex > l { 54380 return io.ErrUnexpectedEOF 54381 } 54382 m.HostID = string(dAtA[iNdEx:postIndex]) 54383 iNdEx = postIndex 54384 case 10: 54385 if wireType != 2 { 54386 return fmt.Errorf("proto: wrong wireType = %d for field Rotation", wireType) 54387 } 54388 var msglen int 54389 for shift := uint(0); ; shift += 7 { 54390 if shift >= 64 { 54391 return ErrIntOverflowTypes 54392 } 54393 if iNdEx >= l { 54394 return io.ErrUnexpectedEOF 54395 } 54396 b := dAtA[iNdEx] 54397 iNdEx++ 54398 msglen |= int(b&0x7F) << shift 54399 if b < 0x80 { 54400 break 54401 } 54402 } 54403 if msglen < 0 { 54404 return ErrInvalidLengthTypes 54405 } 54406 postIndex := iNdEx + msglen 54407 if postIndex < 0 { 54408 return ErrInvalidLengthTypes 54409 } 54410 if postIndex > l { 54411 return io.ErrUnexpectedEOF 54412 } 54413 if err := m.Rotation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54414 return err 54415 } 54416 iNdEx = postIndex 54417 case 12: 54418 if wireType != 2 { 54419 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 54420 } 54421 var msglen int 54422 for shift := uint(0); ; shift += 7 { 54423 if shift >= 64 { 54424 return ErrIntOverflowTypes 54425 } 54426 if iNdEx >= l { 54427 return io.ErrUnexpectedEOF 54428 } 54429 b := dAtA[iNdEx] 54430 iNdEx++ 54431 msglen |= int(b&0x7F) << shift 54432 if b < 0x80 { 54433 break 54434 } 54435 } 54436 if msglen < 0 { 54437 return ErrInvalidLengthTypes 54438 } 54439 postIndex := iNdEx + msglen 54440 if postIndex < 0 { 54441 return ErrInvalidLengthTypes 54442 } 54443 if postIndex > l { 54444 return io.ErrUnexpectedEOF 54445 } 54446 if m.Database == nil { 54447 m.Database = &DatabaseV3{} 54448 } 54449 if err := m.Database.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54450 return err 54451 } 54452 iNdEx = postIndex 54453 case 13: 54454 if wireType != 2 { 54455 return fmt.Errorf("proto: wrong wireType = %d for field ProxyIDs", wireType) 54456 } 54457 var stringLen uint64 54458 for shift := uint(0); ; shift += 7 { 54459 if shift >= 64 { 54460 return ErrIntOverflowTypes 54461 } 54462 if iNdEx >= l { 54463 return io.ErrUnexpectedEOF 54464 } 54465 b := dAtA[iNdEx] 54466 iNdEx++ 54467 stringLen |= uint64(b&0x7F) << shift 54468 if b < 0x80 { 54469 break 54470 } 54471 } 54472 intStringLen := int(stringLen) 54473 if intStringLen < 0 { 54474 return ErrInvalidLengthTypes 54475 } 54476 postIndex := iNdEx + intStringLen 54477 if postIndex < 0 { 54478 return ErrInvalidLengthTypes 54479 } 54480 if postIndex > l { 54481 return io.ErrUnexpectedEOF 54482 } 54483 m.ProxyIDs = append(m.ProxyIDs, string(dAtA[iNdEx:postIndex])) 54484 iNdEx = postIndex 54485 default: 54486 iNdEx = preIndex 54487 skippy, err := skipTypes(dAtA[iNdEx:]) 54488 if err != nil { 54489 return err 54490 } 54491 if (skippy < 0) || (iNdEx+skippy) < 0 { 54492 return ErrInvalidLengthTypes 54493 } 54494 if (iNdEx + skippy) > l { 54495 return io.ErrUnexpectedEOF 54496 } 54497 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 54498 iNdEx += skippy 54499 } 54500 } 54501 54502 if iNdEx > l { 54503 return io.ErrUnexpectedEOF 54504 } 54505 return nil 54506 } 54507 func (m *DatabaseV3List) Unmarshal(dAtA []byte) error { 54508 l := len(dAtA) 54509 iNdEx := 0 54510 for iNdEx < l { 54511 preIndex := iNdEx 54512 var wire uint64 54513 for shift := uint(0); ; shift += 7 { 54514 if shift >= 64 { 54515 return ErrIntOverflowTypes 54516 } 54517 if iNdEx >= l { 54518 return io.ErrUnexpectedEOF 54519 } 54520 b := dAtA[iNdEx] 54521 iNdEx++ 54522 wire |= uint64(b&0x7F) << shift 54523 if b < 0x80 { 54524 break 54525 } 54526 } 54527 fieldNum := int32(wire >> 3) 54528 wireType := int(wire & 0x7) 54529 if wireType == 4 { 54530 return fmt.Errorf("proto: DatabaseV3List: wiretype end group for non-group") 54531 } 54532 if fieldNum <= 0 { 54533 return fmt.Errorf("proto: DatabaseV3List: illegal tag %d (wire type %d)", fieldNum, wire) 54534 } 54535 switch fieldNum { 54536 case 1: 54537 if wireType != 2 { 54538 return fmt.Errorf("proto: wrong wireType = %d for field Databases", wireType) 54539 } 54540 var msglen int 54541 for shift := uint(0); ; shift += 7 { 54542 if shift >= 64 { 54543 return ErrIntOverflowTypes 54544 } 54545 if iNdEx >= l { 54546 return io.ErrUnexpectedEOF 54547 } 54548 b := dAtA[iNdEx] 54549 iNdEx++ 54550 msglen |= int(b&0x7F) << shift 54551 if b < 0x80 { 54552 break 54553 } 54554 } 54555 if msglen < 0 { 54556 return ErrInvalidLengthTypes 54557 } 54558 postIndex := iNdEx + msglen 54559 if postIndex < 0 { 54560 return ErrInvalidLengthTypes 54561 } 54562 if postIndex > l { 54563 return io.ErrUnexpectedEOF 54564 } 54565 m.Databases = append(m.Databases, &DatabaseV3{}) 54566 if err := m.Databases[len(m.Databases)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54567 return err 54568 } 54569 iNdEx = postIndex 54570 default: 54571 iNdEx = preIndex 54572 skippy, err := skipTypes(dAtA[iNdEx:]) 54573 if err != nil { 54574 return err 54575 } 54576 if (skippy < 0) || (iNdEx+skippy) < 0 { 54577 return ErrInvalidLengthTypes 54578 } 54579 if (iNdEx + skippy) > l { 54580 return io.ErrUnexpectedEOF 54581 } 54582 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 54583 iNdEx += skippy 54584 } 54585 } 54586 54587 if iNdEx > l { 54588 return io.ErrUnexpectedEOF 54589 } 54590 return nil 54591 } 54592 func (m *DatabaseV3) Unmarshal(dAtA []byte) error { 54593 l := len(dAtA) 54594 iNdEx := 0 54595 for iNdEx < l { 54596 preIndex := iNdEx 54597 var wire uint64 54598 for shift := uint(0); ; shift += 7 { 54599 if shift >= 64 { 54600 return ErrIntOverflowTypes 54601 } 54602 if iNdEx >= l { 54603 return io.ErrUnexpectedEOF 54604 } 54605 b := dAtA[iNdEx] 54606 iNdEx++ 54607 wire |= uint64(b&0x7F) << shift 54608 if b < 0x80 { 54609 break 54610 } 54611 } 54612 fieldNum := int32(wire >> 3) 54613 wireType := int(wire & 0x7) 54614 if wireType == 4 { 54615 return fmt.Errorf("proto: DatabaseV3: wiretype end group for non-group") 54616 } 54617 if fieldNum <= 0 { 54618 return fmt.Errorf("proto: DatabaseV3: illegal tag %d (wire type %d)", fieldNum, wire) 54619 } 54620 switch fieldNum { 54621 case 1: 54622 if wireType != 2 { 54623 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 54624 } 54625 var stringLen uint64 54626 for shift := uint(0); ; shift += 7 { 54627 if shift >= 64 { 54628 return ErrIntOverflowTypes 54629 } 54630 if iNdEx >= l { 54631 return io.ErrUnexpectedEOF 54632 } 54633 b := dAtA[iNdEx] 54634 iNdEx++ 54635 stringLen |= uint64(b&0x7F) << shift 54636 if b < 0x80 { 54637 break 54638 } 54639 } 54640 intStringLen := int(stringLen) 54641 if intStringLen < 0 { 54642 return ErrInvalidLengthTypes 54643 } 54644 postIndex := iNdEx + intStringLen 54645 if postIndex < 0 { 54646 return ErrInvalidLengthTypes 54647 } 54648 if postIndex > l { 54649 return io.ErrUnexpectedEOF 54650 } 54651 m.Kind = string(dAtA[iNdEx:postIndex]) 54652 iNdEx = postIndex 54653 case 2: 54654 if wireType != 2 { 54655 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 54656 } 54657 var stringLen uint64 54658 for shift := uint(0); ; shift += 7 { 54659 if shift >= 64 { 54660 return ErrIntOverflowTypes 54661 } 54662 if iNdEx >= l { 54663 return io.ErrUnexpectedEOF 54664 } 54665 b := dAtA[iNdEx] 54666 iNdEx++ 54667 stringLen |= uint64(b&0x7F) << shift 54668 if b < 0x80 { 54669 break 54670 } 54671 } 54672 intStringLen := int(stringLen) 54673 if intStringLen < 0 { 54674 return ErrInvalidLengthTypes 54675 } 54676 postIndex := iNdEx + intStringLen 54677 if postIndex < 0 { 54678 return ErrInvalidLengthTypes 54679 } 54680 if postIndex > l { 54681 return io.ErrUnexpectedEOF 54682 } 54683 m.SubKind = string(dAtA[iNdEx:postIndex]) 54684 iNdEx = postIndex 54685 case 3: 54686 if wireType != 2 { 54687 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 54688 } 54689 var stringLen uint64 54690 for shift := uint(0); ; shift += 7 { 54691 if shift >= 64 { 54692 return ErrIntOverflowTypes 54693 } 54694 if iNdEx >= l { 54695 return io.ErrUnexpectedEOF 54696 } 54697 b := dAtA[iNdEx] 54698 iNdEx++ 54699 stringLen |= uint64(b&0x7F) << shift 54700 if b < 0x80 { 54701 break 54702 } 54703 } 54704 intStringLen := int(stringLen) 54705 if intStringLen < 0 { 54706 return ErrInvalidLengthTypes 54707 } 54708 postIndex := iNdEx + intStringLen 54709 if postIndex < 0 { 54710 return ErrInvalidLengthTypes 54711 } 54712 if postIndex > l { 54713 return io.ErrUnexpectedEOF 54714 } 54715 m.Version = string(dAtA[iNdEx:postIndex]) 54716 iNdEx = postIndex 54717 case 4: 54718 if wireType != 2 { 54719 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 54720 } 54721 var msglen int 54722 for shift := uint(0); ; shift += 7 { 54723 if shift >= 64 { 54724 return ErrIntOverflowTypes 54725 } 54726 if iNdEx >= l { 54727 return io.ErrUnexpectedEOF 54728 } 54729 b := dAtA[iNdEx] 54730 iNdEx++ 54731 msglen |= int(b&0x7F) << shift 54732 if b < 0x80 { 54733 break 54734 } 54735 } 54736 if msglen < 0 { 54737 return ErrInvalidLengthTypes 54738 } 54739 postIndex := iNdEx + msglen 54740 if postIndex < 0 { 54741 return ErrInvalidLengthTypes 54742 } 54743 if postIndex > l { 54744 return io.ErrUnexpectedEOF 54745 } 54746 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54747 return err 54748 } 54749 iNdEx = postIndex 54750 case 5: 54751 if wireType != 2 { 54752 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 54753 } 54754 var msglen int 54755 for shift := uint(0); ; shift += 7 { 54756 if shift >= 64 { 54757 return ErrIntOverflowTypes 54758 } 54759 if iNdEx >= l { 54760 return io.ErrUnexpectedEOF 54761 } 54762 b := dAtA[iNdEx] 54763 iNdEx++ 54764 msglen |= int(b&0x7F) << shift 54765 if b < 0x80 { 54766 break 54767 } 54768 } 54769 if msglen < 0 { 54770 return ErrInvalidLengthTypes 54771 } 54772 postIndex := iNdEx + msglen 54773 if postIndex < 0 { 54774 return ErrInvalidLengthTypes 54775 } 54776 if postIndex > l { 54777 return io.ErrUnexpectedEOF 54778 } 54779 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54780 return err 54781 } 54782 iNdEx = postIndex 54783 case 6: 54784 if wireType != 2 { 54785 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) 54786 } 54787 var msglen int 54788 for shift := uint(0); ; shift += 7 { 54789 if shift >= 64 { 54790 return ErrIntOverflowTypes 54791 } 54792 if iNdEx >= l { 54793 return io.ErrUnexpectedEOF 54794 } 54795 b := dAtA[iNdEx] 54796 iNdEx++ 54797 msglen |= int(b&0x7F) << shift 54798 if b < 0x80 { 54799 break 54800 } 54801 } 54802 if msglen < 0 { 54803 return ErrInvalidLengthTypes 54804 } 54805 postIndex := iNdEx + msglen 54806 if postIndex < 0 { 54807 return ErrInvalidLengthTypes 54808 } 54809 if postIndex > l { 54810 return io.ErrUnexpectedEOF 54811 } 54812 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54813 return err 54814 } 54815 iNdEx = postIndex 54816 default: 54817 iNdEx = preIndex 54818 skippy, err := skipTypes(dAtA[iNdEx:]) 54819 if err != nil { 54820 return err 54821 } 54822 if (skippy < 0) || (iNdEx+skippy) < 0 { 54823 return ErrInvalidLengthTypes 54824 } 54825 if (iNdEx + skippy) > l { 54826 return io.ErrUnexpectedEOF 54827 } 54828 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 54829 iNdEx += skippy 54830 } 54831 } 54832 54833 if iNdEx > l { 54834 return io.ErrUnexpectedEOF 54835 } 54836 return nil 54837 } 54838 func (m *DatabaseSpecV3) Unmarshal(dAtA []byte) error { 54839 l := len(dAtA) 54840 iNdEx := 0 54841 for iNdEx < l { 54842 preIndex := iNdEx 54843 var wire uint64 54844 for shift := uint(0); ; shift += 7 { 54845 if shift >= 64 { 54846 return ErrIntOverflowTypes 54847 } 54848 if iNdEx >= l { 54849 return io.ErrUnexpectedEOF 54850 } 54851 b := dAtA[iNdEx] 54852 iNdEx++ 54853 wire |= uint64(b&0x7F) << shift 54854 if b < 0x80 { 54855 break 54856 } 54857 } 54858 fieldNum := int32(wire >> 3) 54859 wireType := int(wire & 0x7) 54860 if wireType == 4 { 54861 return fmt.Errorf("proto: DatabaseSpecV3: wiretype end group for non-group") 54862 } 54863 if fieldNum <= 0 { 54864 return fmt.Errorf("proto: DatabaseSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 54865 } 54866 switch fieldNum { 54867 case 1: 54868 if wireType != 2 { 54869 return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType) 54870 } 54871 var stringLen uint64 54872 for shift := uint(0); ; shift += 7 { 54873 if shift >= 64 { 54874 return ErrIntOverflowTypes 54875 } 54876 if iNdEx >= l { 54877 return io.ErrUnexpectedEOF 54878 } 54879 b := dAtA[iNdEx] 54880 iNdEx++ 54881 stringLen |= uint64(b&0x7F) << shift 54882 if b < 0x80 { 54883 break 54884 } 54885 } 54886 intStringLen := int(stringLen) 54887 if intStringLen < 0 { 54888 return ErrInvalidLengthTypes 54889 } 54890 postIndex := iNdEx + intStringLen 54891 if postIndex < 0 { 54892 return ErrInvalidLengthTypes 54893 } 54894 if postIndex > l { 54895 return io.ErrUnexpectedEOF 54896 } 54897 m.Protocol = string(dAtA[iNdEx:postIndex]) 54898 iNdEx = postIndex 54899 case 2: 54900 if wireType != 2 { 54901 return fmt.Errorf("proto: wrong wireType = %d for field URI", wireType) 54902 } 54903 var stringLen uint64 54904 for shift := uint(0); ; shift += 7 { 54905 if shift >= 64 { 54906 return ErrIntOverflowTypes 54907 } 54908 if iNdEx >= l { 54909 return io.ErrUnexpectedEOF 54910 } 54911 b := dAtA[iNdEx] 54912 iNdEx++ 54913 stringLen |= uint64(b&0x7F) << shift 54914 if b < 0x80 { 54915 break 54916 } 54917 } 54918 intStringLen := int(stringLen) 54919 if intStringLen < 0 { 54920 return ErrInvalidLengthTypes 54921 } 54922 postIndex := iNdEx + intStringLen 54923 if postIndex < 0 { 54924 return ErrInvalidLengthTypes 54925 } 54926 if postIndex > l { 54927 return io.ErrUnexpectedEOF 54928 } 54929 m.URI = string(dAtA[iNdEx:postIndex]) 54930 iNdEx = postIndex 54931 case 3: 54932 if wireType != 2 { 54933 return fmt.Errorf("proto: wrong wireType = %d for field CACert", wireType) 54934 } 54935 var stringLen uint64 54936 for shift := uint(0); ; shift += 7 { 54937 if shift >= 64 { 54938 return ErrIntOverflowTypes 54939 } 54940 if iNdEx >= l { 54941 return io.ErrUnexpectedEOF 54942 } 54943 b := dAtA[iNdEx] 54944 iNdEx++ 54945 stringLen |= uint64(b&0x7F) << shift 54946 if b < 0x80 { 54947 break 54948 } 54949 } 54950 intStringLen := int(stringLen) 54951 if intStringLen < 0 { 54952 return ErrInvalidLengthTypes 54953 } 54954 postIndex := iNdEx + intStringLen 54955 if postIndex < 0 { 54956 return ErrInvalidLengthTypes 54957 } 54958 if postIndex > l { 54959 return io.ErrUnexpectedEOF 54960 } 54961 m.CACert = string(dAtA[iNdEx:postIndex]) 54962 iNdEx = postIndex 54963 case 4: 54964 if wireType != 2 { 54965 return fmt.Errorf("proto: wrong wireType = %d for field DynamicLabels", wireType) 54966 } 54967 var msglen int 54968 for shift := uint(0); ; shift += 7 { 54969 if shift >= 64 { 54970 return ErrIntOverflowTypes 54971 } 54972 if iNdEx >= l { 54973 return io.ErrUnexpectedEOF 54974 } 54975 b := dAtA[iNdEx] 54976 iNdEx++ 54977 msglen |= int(b&0x7F) << shift 54978 if b < 0x80 { 54979 break 54980 } 54981 } 54982 if msglen < 0 { 54983 return ErrInvalidLengthTypes 54984 } 54985 postIndex := iNdEx + msglen 54986 if postIndex < 0 { 54987 return ErrInvalidLengthTypes 54988 } 54989 if postIndex > l { 54990 return io.ErrUnexpectedEOF 54991 } 54992 if m.DynamicLabels == nil { 54993 m.DynamicLabels = make(map[string]CommandLabelV2) 54994 } 54995 var mapkey string 54996 mapvalue := &CommandLabelV2{} 54997 for iNdEx < postIndex { 54998 entryPreIndex := iNdEx 54999 var wire uint64 55000 for shift := uint(0); ; shift += 7 { 55001 if shift >= 64 { 55002 return ErrIntOverflowTypes 55003 } 55004 if iNdEx >= l { 55005 return io.ErrUnexpectedEOF 55006 } 55007 b := dAtA[iNdEx] 55008 iNdEx++ 55009 wire |= uint64(b&0x7F) << shift 55010 if b < 0x80 { 55011 break 55012 } 55013 } 55014 fieldNum := int32(wire >> 3) 55015 if fieldNum == 1 { 55016 var stringLenmapkey uint64 55017 for shift := uint(0); ; shift += 7 { 55018 if shift >= 64 { 55019 return ErrIntOverflowTypes 55020 } 55021 if iNdEx >= l { 55022 return io.ErrUnexpectedEOF 55023 } 55024 b := dAtA[iNdEx] 55025 iNdEx++ 55026 stringLenmapkey |= uint64(b&0x7F) << shift 55027 if b < 0x80 { 55028 break 55029 } 55030 } 55031 intStringLenmapkey := int(stringLenmapkey) 55032 if intStringLenmapkey < 0 { 55033 return ErrInvalidLengthTypes 55034 } 55035 postStringIndexmapkey := iNdEx + intStringLenmapkey 55036 if postStringIndexmapkey < 0 { 55037 return ErrInvalidLengthTypes 55038 } 55039 if postStringIndexmapkey > l { 55040 return io.ErrUnexpectedEOF 55041 } 55042 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 55043 iNdEx = postStringIndexmapkey 55044 } else if fieldNum == 2 { 55045 var mapmsglen int 55046 for shift := uint(0); ; shift += 7 { 55047 if shift >= 64 { 55048 return ErrIntOverflowTypes 55049 } 55050 if iNdEx >= l { 55051 return io.ErrUnexpectedEOF 55052 } 55053 b := dAtA[iNdEx] 55054 iNdEx++ 55055 mapmsglen |= int(b&0x7F) << shift 55056 if b < 0x80 { 55057 break 55058 } 55059 } 55060 if mapmsglen < 0 { 55061 return ErrInvalidLengthTypes 55062 } 55063 postmsgIndex := iNdEx + mapmsglen 55064 if postmsgIndex < 0 { 55065 return ErrInvalidLengthTypes 55066 } 55067 if postmsgIndex > l { 55068 return io.ErrUnexpectedEOF 55069 } 55070 mapvalue = &CommandLabelV2{} 55071 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 55072 return err 55073 } 55074 iNdEx = postmsgIndex 55075 } else { 55076 iNdEx = entryPreIndex 55077 skippy, err := skipTypes(dAtA[iNdEx:]) 55078 if err != nil { 55079 return err 55080 } 55081 if (skippy < 0) || (iNdEx+skippy) < 0 { 55082 return ErrInvalidLengthTypes 55083 } 55084 if (iNdEx + skippy) > postIndex { 55085 return io.ErrUnexpectedEOF 55086 } 55087 iNdEx += skippy 55088 } 55089 } 55090 m.DynamicLabels[mapkey] = *mapvalue 55091 iNdEx = postIndex 55092 case 5: 55093 if wireType != 2 { 55094 return fmt.Errorf("proto: wrong wireType = %d for field AWS", wireType) 55095 } 55096 var msglen int 55097 for shift := uint(0); ; shift += 7 { 55098 if shift >= 64 { 55099 return ErrIntOverflowTypes 55100 } 55101 if iNdEx >= l { 55102 return io.ErrUnexpectedEOF 55103 } 55104 b := dAtA[iNdEx] 55105 iNdEx++ 55106 msglen |= int(b&0x7F) << shift 55107 if b < 0x80 { 55108 break 55109 } 55110 } 55111 if msglen < 0 { 55112 return ErrInvalidLengthTypes 55113 } 55114 postIndex := iNdEx + msglen 55115 if postIndex < 0 { 55116 return ErrInvalidLengthTypes 55117 } 55118 if postIndex > l { 55119 return io.ErrUnexpectedEOF 55120 } 55121 if err := m.AWS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55122 return err 55123 } 55124 iNdEx = postIndex 55125 case 6: 55126 if wireType != 2 { 55127 return fmt.Errorf("proto: wrong wireType = %d for field GCP", wireType) 55128 } 55129 var msglen int 55130 for shift := uint(0); ; shift += 7 { 55131 if shift >= 64 { 55132 return ErrIntOverflowTypes 55133 } 55134 if iNdEx >= l { 55135 return io.ErrUnexpectedEOF 55136 } 55137 b := dAtA[iNdEx] 55138 iNdEx++ 55139 msglen |= int(b&0x7F) << shift 55140 if b < 0x80 { 55141 break 55142 } 55143 } 55144 if msglen < 0 { 55145 return ErrInvalidLengthTypes 55146 } 55147 postIndex := iNdEx + msglen 55148 if postIndex < 0 { 55149 return ErrInvalidLengthTypes 55150 } 55151 if postIndex > l { 55152 return io.ErrUnexpectedEOF 55153 } 55154 if err := m.GCP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55155 return err 55156 } 55157 iNdEx = postIndex 55158 case 7: 55159 if wireType != 2 { 55160 return fmt.Errorf("proto: wrong wireType = %d for field Azure", wireType) 55161 } 55162 var msglen int 55163 for shift := uint(0); ; shift += 7 { 55164 if shift >= 64 { 55165 return ErrIntOverflowTypes 55166 } 55167 if iNdEx >= l { 55168 return io.ErrUnexpectedEOF 55169 } 55170 b := dAtA[iNdEx] 55171 iNdEx++ 55172 msglen |= int(b&0x7F) << shift 55173 if b < 0x80 { 55174 break 55175 } 55176 } 55177 if msglen < 0 { 55178 return ErrInvalidLengthTypes 55179 } 55180 postIndex := iNdEx + msglen 55181 if postIndex < 0 { 55182 return ErrInvalidLengthTypes 55183 } 55184 if postIndex > l { 55185 return io.ErrUnexpectedEOF 55186 } 55187 if err := m.Azure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55188 return err 55189 } 55190 iNdEx = postIndex 55191 case 8: 55192 if wireType != 2 { 55193 return fmt.Errorf("proto: wrong wireType = %d for field TLS", wireType) 55194 } 55195 var msglen int 55196 for shift := uint(0); ; shift += 7 { 55197 if shift >= 64 { 55198 return ErrIntOverflowTypes 55199 } 55200 if iNdEx >= l { 55201 return io.ErrUnexpectedEOF 55202 } 55203 b := dAtA[iNdEx] 55204 iNdEx++ 55205 msglen |= int(b&0x7F) << shift 55206 if b < 0x80 { 55207 break 55208 } 55209 } 55210 if msglen < 0 { 55211 return ErrInvalidLengthTypes 55212 } 55213 postIndex := iNdEx + msglen 55214 if postIndex < 0 { 55215 return ErrInvalidLengthTypes 55216 } 55217 if postIndex > l { 55218 return io.ErrUnexpectedEOF 55219 } 55220 if err := m.TLS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55221 return err 55222 } 55223 iNdEx = postIndex 55224 case 9: 55225 if wireType != 2 { 55226 return fmt.Errorf("proto: wrong wireType = %d for field AD", wireType) 55227 } 55228 var msglen int 55229 for shift := uint(0); ; shift += 7 { 55230 if shift >= 64 { 55231 return ErrIntOverflowTypes 55232 } 55233 if iNdEx >= l { 55234 return io.ErrUnexpectedEOF 55235 } 55236 b := dAtA[iNdEx] 55237 iNdEx++ 55238 msglen |= int(b&0x7F) << shift 55239 if b < 0x80 { 55240 break 55241 } 55242 } 55243 if msglen < 0 { 55244 return ErrInvalidLengthTypes 55245 } 55246 postIndex := iNdEx + msglen 55247 if postIndex < 0 { 55248 return ErrInvalidLengthTypes 55249 } 55250 if postIndex > l { 55251 return io.ErrUnexpectedEOF 55252 } 55253 if err := m.AD.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55254 return err 55255 } 55256 iNdEx = postIndex 55257 case 10: 55258 if wireType != 2 { 55259 return fmt.Errorf("proto: wrong wireType = %d for field MySQL", wireType) 55260 } 55261 var msglen int 55262 for shift := uint(0); ; shift += 7 { 55263 if shift >= 64 { 55264 return ErrIntOverflowTypes 55265 } 55266 if iNdEx >= l { 55267 return io.ErrUnexpectedEOF 55268 } 55269 b := dAtA[iNdEx] 55270 iNdEx++ 55271 msglen |= int(b&0x7F) << shift 55272 if b < 0x80 { 55273 break 55274 } 55275 } 55276 if msglen < 0 { 55277 return ErrInvalidLengthTypes 55278 } 55279 postIndex := iNdEx + msglen 55280 if postIndex < 0 { 55281 return ErrInvalidLengthTypes 55282 } 55283 if postIndex > l { 55284 return io.ErrUnexpectedEOF 55285 } 55286 if err := m.MySQL.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55287 return err 55288 } 55289 iNdEx = postIndex 55290 case 11: 55291 if wireType != 2 { 55292 return fmt.Errorf("proto: wrong wireType = %d for field AdminUser", wireType) 55293 } 55294 var msglen int 55295 for shift := uint(0); ; shift += 7 { 55296 if shift >= 64 { 55297 return ErrIntOverflowTypes 55298 } 55299 if iNdEx >= l { 55300 return io.ErrUnexpectedEOF 55301 } 55302 b := dAtA[iNdEx] 55303 iNdEx++ 55304 msglen |= int(b&0x7F) << shift 55305 if b < 0x80 { 55306 break 55307 } 55308 } 55309 if msglen < 0 { 55310 return ErrInvalidLengthTypes 55311 } 55312 postIndex := iNdEx + msglen 55313 if postIndex < 0 { 55314 return ErrInvalidLengthTypes 55315 } 55316 if postIndex > l { 55317 return io.ErrUnexpectedEOF 55318 } 55319 if m.AdminUser == nil { 55320 m.AdminUser = &DatabaseAdminUser{} 55321 } 55322 if err := m.AdminUser.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55323 return err 55324 } 55325 iNdEx = postIndex 55326 case 12: 55327 if wireType != 2 { 55328 return fmt.Errorf("proto: wrong wireType = %d for field MongoAtlas", wireType) 55329 } 55330 var msglen int 55331 for shift := uint(0); ; shift += 7 { 55332 if shift >= 64 { 55333 return ErrIntOverflowTypes 55334 } 55335 if iNdEx >= l { 55336 return io.ErrUnexpectedEOF 55337 } 55338 b := dAtA[iNdEx] 55339 iNdEx++ 55340 msglen |= int(b&0x7F) << shift 55341 if b < 0x80 { 55342 break 55343 } 55344 } 55345 if msglen < 0 { 55346 return ErrInvalidLengthTypes 55347 } 55348 postIndex := iNdEx + msglen 55349 if postIndex < 0 { 55350 return ErrInvalidLengthTypes 55351 } 55352 if postIndex > l { 55353 return io.ErrUnexpectedEOF 55354 } 55355 if err := m.MongoAtlas.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55356 return err 55357 } 55358 iNdEx = postIndex 55359 case 13: 55360 if wireType != 2 { 55361 return fmt.Errorf("proto: wrong wireType = %d for field Oracle", wireType) 55362 } 55363 var msglen int 55364 for shift := uint(0); ; shift += 7 { 55365 if shift >= 64 { 55366 return ErrIntOverflowTypes 55367 } 55368 if iNdEx >= l { 55369 return io.ErrUnexpectedEOF 55370 } 55371 b := dAtA[iNdEx] 55372 iNdEx++ 55373 msglen |= int(b&0x7F) << shift 55374 if b < 0x80 { 55375 break 55376 } 55377 } 55378 if msglen < 0 { 55379 return ErrInvalidLengthTypes 55380 } 55381 postIndex := iNdEx + msglen 55382 if postIndex < 0 { 55383 return ErrInvalidLengthTypes 55384 } 55385 if postIndex > l { 55386 return io.ErrUnexpectedEOF 55387 } 55388 if err := m.Oracle.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55389 return err 55390 } 55391 iNdEx = postIndex 55392 default: 55393 iNdEx = preIndex 55394 skippy, err := skipTypes(dAtA[iNdEx:]) 55395 if err != nil { 55396 return err 55397 } 55398 if (skippy < 0) || (iNdEx+skippy) < 0 { 55399 return ErrInvalidLengthTypes 55400 } 55401 if (iNdEx + skippy) > l { 55402 return io.ErrUnexpectedEOF 55403 } 55404 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 55405 iNdEx += skippy 55406 } 55407 } 55408 55409 if iNdEx > l { 55410 return io.ErrUnexpectedEOF 55411 } 55412 return nil 55413 } 55414 func (m *DatabaseAdminUser) Unmarshal(dAtA []byte) error { 55415 l := len(dAtA) 55416 iNdEx := 0 55417 for iNdEx < l { 55418 preIndex := iNdEx 55419 var wire uint64 55420 for shift := uint(0); ; shift += 7 { 55421 if shift >= 64 { 55422 return ErrIntOverflowTypes 55423 } 55424 if iNdEx >= l { 55425 return io.ErrUnexpectedEOF 55426 } 55427 b := dAtA[iNdEx] 55428 iNdEx++ 55429 wire |= uint64(b&0x7F) << shift 55430 if b < 0x80 { 55431 break 55432 } 55433 } 55434 fieldNum := int32(wire >> 3) 55435 wireType := int(wire & 0x7) 55436 if wireType == 4 { 55437 return fmt.Errorf("proto: DatabaseAdminUser: wiretype end group for non-group") 55438 } 55439 if fieldNum <= 0 { 55440 return fmt.Errorf("proto: DatabaseAdminUser: illegal tag %d (wire type %d)", fieldNum, wire) 55441 } 55442 switch fieldNum { 55443 case 1: 55444 if wireType != 2 { 55445 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 55446 } 55447 var stringLen uint64 55448 for shift := uint(0); ; shift += 7 { 55449 if shift >= 64 { 55450 return ErrIntOverflowTypes 55451 } 55452 if iNdEx >= l { 55453 return io.ErrUnexpectedEOF 55454 } 55455 b := dAtA[iNdEx] 55456 iNdEx++ 55457 stringLen |= uint64(b&0x7F) << shift 55458 if b < 0x80 { 55459 break 55460 } 55461 } 55462 intStringLen := int(stringLen) 55463 if intStringLen < 0 { 55464 return ErrInvalidLengthTypes 55465 } 55466 postIndex := iNdEx + intStringLen 55467 if postIndex < 0 { 55468 return ErrInvalidLengthTypes 55469 } 55470 if postIndex > l { 55471 return io.ErrUnexpectedEOF 55472 } 55473 m.Name = string(dAtA[iNdEx:postIndex]) 55474 iNdEx = postIndex 55475 case 2: 55476 if wireType != 2 { 55477 return fmt.Errorf("proto: wrong wireType = %d for field DefaultDatabase", wireType) 55478 } 55479 var stringLen uint64 55480 for shift := uint(0); ; shift += 7 { 55481 if shift >= 64 { 55482 return ErrIntOverflowTypes 55483 } 55484 if iNdEx >= l { 55485 return io.ErrUnexpectedEOF 55486 } 55487 b := dAtA[iNdEx] 55488 iNdEx++ 55489 stringLen |= uint64(b&0x7F) << shift 55490 if b < 0x80 { 55491 break 55492 } 55493 } 55494 intStringLen := int(stringLen) 55495 if intStringLen < 0 { 55496 return ErrInvalidLengthTypes 55497 } 55498 postIndex := iNdEx + intStringLen 55499 if postIndex < 0 { 55500 return ErrInvalidLengthTypes 55501 } 55502 if postIndex > l { 55503 return io.ErrUnexpectedEOF 55504 } 55505 m.DefaultDatabase = string(dAtA[iNdEx:postIndex]) 55506 iNdEx = postIndex 55507 default: 55508 iNdEx = preIndex 55509 skippy, err := skipTypes(dAtA[iNdEx:]) 55510 if err != nil { 55511 return err 55512 } 55513 if (skippy < 0) || (iNdEx+skippy) < 0 { 55514 return ErrInvalidLengthTypes 55515 } 55516 if (iNdEx + skippy) > l { 55517 return io.ErrUnexpectedEOF 55518 } 55519 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 55520 iNdEx += skippy 55521 } 55522 } 55523 55524 if iNdEx > l { 55525 return io.ErrUnexpectedEOF 55526 } 55527 return nil 55528 } 55529 func (m *OracleOptions) Unmarshal(dAtA []byte) error { 55530 l := len(dAtA) 55531 iNdEx := 0 55532 for iNdEx < l { 55533 preIndex := iNdEx 55534 var wire uint64 55535 for shift := uint(0); ; shift += 7 { 55536 if shift >= 64 { 55537 return ErrIntOverflowTypes 55538 } 55539 if iNdEx >= l { 55540 return io.ErrUnexpectedEOF 55541 } 55542 b := dAtA[iNdEx] 55543 iNdEx++ 55544 wire |= uint64(b&0x7F) << shift 55545 if b < 0x80 { 55546 break 55547 } 55548 } 55549 fieldNum := int32(wire >> 3) 55550 wireType := int(wire & 0x7) 55551 if wireType == 4 { 55552 return fmt.Errorf("proto: OracleOptions: wiretype end group for non-group") 55553 } 55554 if fieldNum <= 0 { 55555 return fmt.Errorf("proto: OracleOptions: illegal tag %d (wire type %d)", fieldNum, wire) 55556 } 55557 switch fieldNum { 55558 case 1: 55559 if wireType != 2 { 55560 return fmt.Errorf("proto: wrong wireType = %d for field AuditUser", wireType) 55561 } 55562 var stringLen uint64 55563 for shift := uint(0); ; shift += 7 { 55564 if shift >= 64 { 55565 return ErrIntOverflowTypes 55566 } 55567 if iNdEx >= l { 55568 return io.ErrUnexpectedEOF 55569 } 55570 b := dAtA[iNdEx] 55571 iNdEx++ 55572 stringLen |= uint64(b&0x7F) << shift 55573 if b < 0x80 { 55574 break 55575 } 55576 } 55577 intStringLen := int(stringLen) 55578 if intStringLen < 0 { 55579 return ErrInvalidLengthTypes 55580 } 55581 postIndex := iNdEx + intStringLen 55582 if postIndex < 0 { 55583 return ErrInvalidLengthTypes 55584 } 55585 if postIndex > l { 55586 return io.ErrUnexpectedEOF 55587 } 55588 m.AuditUser = string(dAtA[iNdEx:postIndex]) 55589 iNdEx = postIndex 55590 default: 55591 iNdEx = preIndex 55592 skippy, err := skipTypes(dAtA[iNdEx:]) 55593 if err != nil { 55594 return err 55595 } 55596 if (skippy < 0) || (iNdEx+skippy) < 0 { 55597 return ErrInvalidLengthTypes 55598 } 55599 if (iNdEx + skippy) > l { 55600 return io.ErrUnexpectedEOF 55601 } 55602 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 55603 iNdEx += skippy 55604 } 55605 } 55606 55607 if iNdEx > l { 55608 return io.ErrUnexpectedEOF 55609 } 55610 return nil 55611 } 55612 func (m *DatabaseStatusV3) Unmarshal(dAtA []byte) error { 55613 l := len(dAtA) 55614 iNdEx := 0 55615 for iNdEx < l { 55616 preIndex := iNdEx 55617 var wire uint64 55618 for shift := uint(0); ; shift += 7 { 55619 if shift >= 64 { 55620 return ErrIntOverflowTypes 55621 } 55622 if iNdEx >= l { 55623 return io.ErrUnexpectedEOF 55624 } 55625 b := dAtA[iNdEx] 55626 iNdEx++ 55627 wire |= uint64(b&0x7F) << shift 55628 if b < 0x80 { 55629 break 55630 } 55631 } 55632 fieldNum := int32(wire >> 3) 55633 wireType := int(wire & 0x7) 55634 if wireType == 4 { 55635 return fmt.Errorf("proto: DatabaseStatusV3: wiretype end group for non-group") 55636 } 55637 if fieldNum <= 0 { 55638 return fmt.Errorf("proto: DatabaseStatusV3: illegal tag %d (wire type %d)", fieldNum, wire) 55639 } 55640 switch fieldNum { 55641 case 1: 55642 if wireType != 2 { 55643 return fmt.Errorf("proto: wrong wireType = %d for field CACert", wireType) 55644 } 55645 var stringLen uint64 55646 for shift := uint(0); ; shift += 7 { 55647 if shift >= 64 { 55648 return ErrIntOverflowTypes 55649 } 55650 if iNdEx >= l { 55651 return io.ErrUnexpectedEOF 55652 } 55653 b := dAtA[iNdEx] 55654 iNdEx++ 55655 stringLen |= uint64(b&0x7F) << shift 55656 if b < 0x80 { 55657 break 55658 } 55659 } 55660 intStringLen := int(stringLen) 55661 if intStringLen < 0 { 55662 return ErrInvalidLengthTypes 55663 } 55664 postIndex := iNdEx + intStringLen 55665 if postIndex < 0 { 55666 return ErrInvalidLengthTypes 55667 } 55668 if postIndex > l { 55669 return io.ErrUnexpectedEOF 55670 } 55671 m.CACert = string(dAtA[iNdEx:postIndex]) 55672 iNdEx = postIndex 55673 case 2: 55674 if wireType != 2 { 55675 return fmt.Errorf("proto: wrong wireType = %d for field AWS", wireType) 55676 } 55677 var msglen int 55678 for shift := uint(0); ; shift += 7 { 55679 if shift >= 64 { 55680 return ErrIntOverflowTypes 55681 } 55682 if iNdEx >= l { 55683 return io.ErrUnexpectedEOF 55684 } 55685 b := dAtA[iNdEx] 55686 iNdEx++ 55687 msglen |= int(b&0x7F) << shift 55688 if b < 0x80 { 55689 break 55690 } 55691 } 55692 if msglen < 0 { 55693 return ErrInvalidLengthTypes 55694 } 55695 postIndex := iNdEx + msglen 55696 if postIndex < 0 { 55697 return ErrInvalidLengthTypes 55698 } 55699 if postIndex > l { 55700 return io.ErrUnexpectedEOF 55701 } 55702 if err := m.AWS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55703 return err 55704 } 55705 iNdEx = postIndex 55706 case 3: 55707 if wireType != 2 { 55708 return fmt.Errorf("proto: wrong wireType = %d for field MySQL", wireType) 55709 } 55710 var msglen int 55711 for shift := uint(0); ; shift += 7 { 55712 if shift >= 64 { 55713 return ErrIntOverflowTypes 55714 } 55715 if iNdEx >= l { 55716 return io.ErrUnexpectedEOF 55717 } 55718 b := dAtA[iNdEx] 55719 iNdEx++ 55720 msglen |= int(b&0x7F) << shift 55721 if b < 0x80 { 55722 break 55723 } 55724 } 55725 if msglen < 0 { 55726 return ErrInvalidLengthTypes 55727 } 55728 postIndex := iNdEx + msglen 55729 if postIndex < 0 { 55730 return ErrInvalidLengthTypes 55731 } 55732 if postIndex > l { 55733 return io.ErrUnexpectedEOF 55734 } 55735 if err := m.MySQL.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55736 return err 55737 } 55738 iNdEx = postIndex 55739 case 4: 55740 if wireType != 2 { 55741 return fmt.Errorf("proto: wrong wireType = %d for field ManagedUsers", wireType) 55742 } 55743 var stringLen uint64 55744 for shift := uint(0); ; shift += 7 { 55745 if shift >= 64 { 55746 return ErrIntOverflowTypes 55747 } 55748 if iNdEx >= l { 55749 return io.ErrUnexpectedEOF 55750 } 55751 b := dAtA[iNdEx] 55752 iNdEx++ 55753 stringLen |= uint64(b&0x7F) << shift 55754 if b < 0x80 { 55755 break 55756 } 55757 } 55758 intStringLen := int(stringLen) 55759 if intStringLen < 0 { 55760 return ErrInvalidLengthTypes 55761 } 55762 postIndex := iNdEx + intStringLen 55763 if postIndex < 0 { 55764 return ErrInvalidLengthTypes 55765 } 55766 if postIndex > l { 55767 return io.ErrUnexpectedEOF 55768 } 55769 m.ManagedUsers = append(m.ManagedUsers, string(dAtA[iNdEx:postIndex])) 55770 iNdEx = postIndex 55771 case 5: 55772 if wireType != 2 { 55773 return fmt.Errorf("proto: wrong wireType = %d for field Azure", wireType) 55774 } 55775 var msglen int 55776 for shift := uint(0); ; shift += 7 { 55777 if shift >= 64 { 55778 return ErrIntOverflowTypes 55779 } 55780 if iNdEx >= l { 55781 return io.ErrUnexpectedEOF 55782 } 55783 b := dAtA[iNdEx] 55784 iNdEx++ 55785 msglen |= int(b&0x7F) << shift 55786 if b < 0x80 { 55787 break 55788 } 55789 } 55790 if msglen < 0 { 55791 return ErrInvalidLengthTypes 55792 } 55793 postIndex := iNdEx + msglen 55794 if postIndex < 0 { 55795 return ErrInvalidLengthTypes 55796 } 55797 if postIndex > l { 55798 return io.ErrUnexpectedEOF 55799 } 55800 if err := m.Azure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55801 return err 55802 } 55803 iNdEx = postIndex 55804 default: 55805 iNdEx = preIndex 55806 skippy, err := skipTypes(dAtA[iNdEx:]) 55807 if err != nil { 55808 return err 55809 } 55810 if (skippy < 0) || (iNdEx+skippy) < 0 { 55811 return ErrInvalidLengthTypes 55812 } 55813 if (iNdEx + skippy) > l { 55814 return io.ErrUnexpectedEOF 55815 } 55816 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 55817 iNdEx += skippy 55818 } 55819 } 55820 55821 if iNdEx > l { 55822 return io.ErrUnexpectedEOF 55823 } 55824 return nil 55825 } 55826 func (m *AWS) Unmarshal(dAtA []byte) error { 55827 l := len(dAtA) 55828 iNdEx := 0 55829 for iNdEx < l { 55830 preIndex := iNdEx 55831 var wire uint64 55832 for shift := uint(0); ; shift += 7 { 55833 if shift >= 64 { 55834 return ErrIntOverflowTypes 55835 } 55836 if iNdEx >= l { 55837 return io.ErrUnexpectedEOF 55838 } 55839 b := dAtA[iNdEx] 55840 iNdEx++ 55841 wire |= uint64(b&0x7F) << shift 55842 if b < 0x80 { 55843 break 55844 } 55845 } 55846 fieldNum := int32(wire >> 3) 55847 wireType := int(wire & 0x7) 55848 if wireType == 4 { 55849 return fmt.Errorf("proto: AWS: wiretype end group for non-group") 55850 } 55851 if fieldNum <= 0 { 55852 return fmt.Errorf("proto: AWS: illegal tag %d (wire type %d)", fieldNum, wire) 55853 } 55854 switch fieldNum { 55855 case 1: 55856 if wireType != 2 { 55857 return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) 55858 } 55859 var stringLen uint64 55860 for shift := uint(0); ; shift += 7 { 55861 if shift >= 64 { 55862 return ErrIntOverflowTypes 55863 } 55864 if iNdEx >= l { 55865 return io.ErrUnexpectedEOF 55866 } 55867 b := dAtA[iNdEx] 55868 iNdEx++ 55869 stringLen |= uint64(b&0x7F) << shift 55870 if b < 0x80 { 55871 break 55872 } 55873 } 55874 intStringLen := int(stringLen) 55875 if intStringLen < 0 { 55876 return ErrInvalidLengthTypes 55877 } 55878 postIndex := iNdEx + intStringLen 55879 if postIndex < 0 { 55880 return ErrInvalidLengthTypes 55881 } 55882 if postIndex > l { 55883 return io.ErrUnexpectedEOF 55884 } 55885 m.Region = string(dAtA[iNdEx:postIndex]) 55886 iNdEx = postIndex 55887 case 2: 55888 if wireType != 2 { 55889 return fmt.Errorf("proto: wrong wireType = %d for field Redshift", wireType) 55890 } 55891 var msglen int 55892 for shift := uint(0); ; shift += 7 { 55893 if shift >= 64 { 55894 return ErrIntOverflowTypes 55895 } 55896 if iNdEx >= l { 55897 return io.ErrUnexpectedEOF 55898 } 55899 b := dAtA[iNdEx] 55900 iNdEx++ 55901 msglen |= int(b&0x7F) << shift 55902 if b < 0x80 { 55903 break 55904 } 55905 } 55906 if msglen < 0 { 55907 return ErrInvalidLengthTypes 55908 } 55909 postIndex := iNdEx + msglen 55910 if postIndex < 0 { 55911 return ErrInvalidLengthTypes 55912 } 55913 if postIndex > l { 55914 return io.ErrUnexpectedEOF 55915 } 55916 if err := m.Redshift.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55917 return err 55918 } 55919 iNdEx = postIndex 55920 case 3: 55921 if wireType != 2 { 55922 return fmt.Errorf("proto: wrong wireType = %d for field RDS", wireType) 55923 } 55924 var msglen int 55925 for shift := uint(0); ; shift += 7 { 55926 if shift >= 64 { 55927 return ErrIntOverflowTypes 55928 } 55929 if iNdEx >= l { 55930 return io.ErrUnexpectedEOF 55931 } 55932 b := dAtA[iNdEx] 55933 iNdEx++ 55934 msglen |= int(b&0x7F) << shift 55935 if b < 0x80 { 55936 break 55937 } 55938 } 55939 if msglen < 0 { 55940 return ErrInvalidLengthTypes 55941 } 55942 postIndex := iNdEx + msglen 55943 if postIndex < 0 { 55944 return ErrInvalidLengthTypes 55945 } 55946 if postIndex > l { 55947 return io.ErrUnexpectedEOF 55948 } 55949 if err := m.RDS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55950 return err 55951 } 55952 iNdEx = postIndex 55953 case 4: 55954 if wireType != 2 { 55955 return fmt.Errorf("proto: wrong wireType = %d for field AccountID", wireType) 55956 } 55957 var stringLen uint64 55958 for shift := uint(0); ; shift += 7 { 55959 if shift >= 64 { 55960 return ErrIntOverflowTypes 55961 } 55962 if iNdEx >= l { 55963 return io.ErrUnexpectedEOF 55964 } 55965 b := dAtA[iNdEx] 55966 iNdEx++ 55967 stringLen |= uint64(b&0x7F) << shift 55968 if b < 0x80 { 55969 break 55970 } 55971 } 55972 intStringLen := int(stringLen) 55973 if intStringLen < 0 { 55974 return ErrInvalidLengthTypes 55975 } 55976 postIndex := iNdEx + intStringLen 55977 if postIndex < 0 { 55978 return ErrInvalidLengthTypes 55979 } 55980 if postIndex > l { 55981 return io.ErrUnexpectedEOF 55982 } 55983 m.AccountID = string(dAtA[iNdEx:postIndex]) 55984 iNdEx = postIndex 55985 case 5: 55986 if wireType != 2 { 55987 return fmt.Errorf("proto: wrong wireType = %d for field ElastiCache", wireType) 55988 } 55989 var msglen int 55990 for shift := uint(0); ; shift += 7 { 55991 if shift >= 64 { 55992 return ErrIntOverflowTypes 55993 } 55994 if iNdEx >= l { 55995 return io.ErrUnexpectedEOF 55996 } 55997 b := dAtA[iNdEx] 55998 iNdEx++ 55999 msglen |= int(b&0x7F) << shift 56000 if b < 0x80 { 56001 break 56002 } 56003 } 56004 if msglen < 0 { 56005 return ErrInvalidLengthTypes 56006 } 56007 postIndex := iNdEx + msglen 56008 if postIndex < 0 { 56009 return ErrInvalidLengthTypes 56010 } 56011 if postIndex > l { 56012 return io.ErrUnexpectedEOF 56013 } 56014 if err := m.ElastiCache.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 56015 return err 56016 } 56017 iNdEx = postIndex 56018 case 6: 56019 if wireType != 2 { 56020 return fmt.Errorf("proto: wrong wireType = %d for field SecretStore", wireType) 56021 } 56022 var msglen int 56023 for shift := uint(0); ; shift += 7 { 56024 if shift >= 64 { 56025 return ErrIntOverflowTypes 56026 } 56027 if iNdEx >= l { 56028 return io.ErrUnexpectedEOF 56029 } 56030 b := dAtA[iNdEx] 56031 iNdEx++ 56032 msglen |= int(b&0x7F) << shift 56033 if b < 0x80 { 56034 break 56035 } 56036 } 56037 if msglen < 0 { 56038 return ErrInvalidLengthTypes 56039 } 56040 postIndex := iNdEx + msglen 56041 if postIndex < 0 { 56042 return ErrInvalidLengthTypes 56043 } 56044 if postIndex > l { 56045 return io.ErrUnexpectedEOF 56046 } 56047 if err := m.SecretStore.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 56048 return err 56049 } 56050 iNdEx = postIndex 56051 case 7: 56052 if wireType != 2 { 56053 return fmt.Errorf("proto: wrong wireType = %d for field MemoryDB", wireType) 56054 } 56055 var msglen int 56056 for shift := uint(0); ; shift += 7 { 56057 if shift >= 64 { 56058 return ErrIntOverflowTypes 56059 } 56060 if iNdEx >= l { 56061 return io.ErrUnexpectedEOF 56062 } 56063 b := dAtA[iNdEx] 56064 iNdEx++ 56065 msglen |= int(b&0x7F) << shift 56066 if b < 0x80 { 56067 break 56068 } 56069 } 56070 if msglen < 0 { 56071 return ErrInvalidLengthTypes 56072 } 56073 postIndex := iNdEx + msglen 56074 if postIndex < 0 { 56075 return ErrInvalidLengthTypes 56076 } 56077 if postIndex > l { 56078 return io.ErrUnexpectedEOF 56079 } 56080 if err := m.MemoryDB.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 56081 return err 56082 } 56083 iNdEx = postIndex 56084 case 8: 56085 if wireType != 2 { 56086 return fmt.Errorf("proto: wrong wireType = %d for field RDSProxy", wireType) 56087 } 56088 var msglen int 56089 for shift := uint(0); ; shift += 7 { 56090 if shift >= 64 { 56091 return ErrIntOverflowTypes 56092 } 56093 if iNdEx >= l { 56094 return io.ErrUnexpectedEOF 56095 } 56096 b := dAtA[iNdEx] 56097 iNdEx++ 56098 msglen |= int(b&0x7F) << shift 56099 if b < 0x80 { 56100 break 56101 } 56102 } 56103 if msglen < 0 { 56104 return ErrInvalidLengthTypes 56105 } 56106 postIndex := iNdEx + msglen 56107 if postIndex < 0 { 56108 return ErrInvalidLengthTypes 56109 } 56110 if postIndex > l { 56111 return io.ErrUnexpectedEOF 56112 } 56113 if err := m.RDSProxy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 56114 return err 56115 } 56116 iNdEx = postIndex 56117 case 9: 56118 if wireType != 2 { 56119 return fmt.Errorf("proto: wrong wireType = %d for field RedshiftServerless", wireType) 56120 } 56121 var msglen int 56122 for shift := uint(0); ; shift += 7 { 56123 if shift >= 64 { 56124 return ErrIntOverflowTypes 56125 } 56126 if iNdEx >= l { 56127 return io.ErrUnexpectedEOF 56128 } 56129 b := dAtA[iNdEx] 56130 iNdEx++ 56131 msglen |= int(b&0x7F) << shift 56132 if b < 0x80 { 56133 break 56134 } 56135 } 56136 if msglen < 0 { 56137 return ErrInvalidLengthTypes 56138 } 56139 postIndex := iNdEx + msglen 56140 if postIndex < 0 { 56141 return ErrInvalidLengthTypes 56142 } 56143 if postIndex > l { 56144 return io.ErrUnexpectedEOF 56145 } 56146 if err := m.RedshiftServerless.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 56147 return err 56148 } 56149 iNdEx = postIndex 56150 case 10: 56151 if wireType != 2 { 56152 return fmt.Errorf("proto: wrong wireType = %d for field ExternalID", wireType) 56153 } 56154 var stringLen uint64 56155 for shift := uint(0); ; shift += 7 { 56156 if shift >= 64 { 56157 return ErrIntOverflowTypes 56158 } 56159 if iNdEx >= l { 56160 return io.ErrUnexpectedEOF 56161 } 56162 b := dAtA[iNdEx] 56163 iNdEx++ 56164 stringLen |= uint64(b&0x7F) << shift 56165 if b < 0x80 { 56166 break 56167 } 56168 } 56169 intStringLen := int(stringLen) 56170 if intStringLen < 0 { 56171 return ErrInvalidLengthTypes 56172 } 56173 postIndex := iNdEx + intStringLen 56174 if postIndex < 0 { 56175 return ErrInvalidLengthTypes 56176 } 56177 if postIndex > l { 56178 return io.ErrUnexpectedEOF 56179 } 56180 m.ExternalID = string(dAtA[iNdEx:postIndex]) 56181 iNdEx = postIndex 56182 case 11: 56183 if wireType != 2 { 56184 return fmt.Errorf("proto: wrong wireType = %d for field AssumeRoleARN", wireType) 56185 } 56186 var stringLen uint64 56187 for shift := uint(0); ; shift += 7 { 56188 if shift >= 64 { 56189 return ErrIntOverflowTypes 56190 } 56191 if iNdEx >= l { 56192 return io.ErrUnexpectedEOF 56193 } 56194 b := dAtA[iNdEx] 56195 iNdEx++ 56196 stringLen |= uint64(b&0x7F) << shift 56197 if b < 0x80 { 56198 break 56199 } 56200 } 56201 intStringLen := int(stringLen) 56202 if intStringLen < 0 { 56203 return ErrInvalidLengthTypes 56204 } 56205 postIndex := iNdEx + intStringLen 56206 if postIndex < 0 { 56207 return ErrInvalidLengthTypes 56208 } 56209 if postIndex > l { 56210 return io.ErrUnexpectedEOF 56211 } 56212 m.AssumeRoleARN = string(dAtA[iNdEx:postIndex]) 56213 iNdEx = postIndex 56214 case 12: 56215 if wireType != 2 { 56216 return fmt.Errorf("proto: wrong wireType = %d for field OpenSearch", wireType) 56217 } 56218 var msglen int 56219 for shift := uint(0); ; shift += 7 { 56220 if shift >= 64 { 56221 return ErrIntOverflowTypes 56222 } 56223 if iNdEx >= l { 56224 return io.ErrUnexpectedEOF 56225 } 56226 b := dAtA[iNdEx] 56227 iNdEx++ 56228 msglen |= int(b&0x7F) << shift 56229 if b < 0x80 { 56230 break 56231 } 56232 } 56233 if msglen < 0 { 56234 return ErrInvalidLengthTypes 56235 } 56236 postIndex := iNdEx + msglen 56237 if postIndex < 0 { 56238 return ErrInvalidLengthTypes 56239 } 56240 if postIndex > l { 56241 return io.ErrUnexpectedEOF 56242 } 56243 if err := m.OpenSearch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 56244 return err 56245 } 56246 iNdEx = postIndex 56247 case 14: 56248 if wireType != 0 { 56249 return fmt.Errorf("proto: wrong wireType = %d for field IAMPolicyStatus", wireType) 56250 } 56251 m.IAMPolicyStatus = 0 56252 for shift := uint(0); ; shift += 7 { 56253 if shift >= 64 { 56254 return ErrIntOverflowTypes 56255 } 56256 if iNdEx >= l { 56257 return io.ErrUnexpectedEOF 56258 } 56259 b := dAtA[iNdEx] 56260 iNdEx++ 56261 m.IAMPolicyStatus |= IAMPolicyStatus(b&0x7F) << shift 56262 if b < 0x80 { 56263 break 56264 } 56265 } 56266 case 15: 56267 if wireType != 2 { 56268 return fmt.Errorf("proto: wrong wireType = %d for field SessionTags", wireType) 56269 } 56270 var msglen int 56271 for shift := uint(0); ; shift += 7 { 56272 if shift >= 64 { 56273 return ErrIntOverflowTypes 56274 } 56275 if iNdEx >= l { 56276 return io.ErrUnexpectedEOF 56277 } 56278 b := dAtA[iNdEx] 56279 iNdEx++ 56280 msglen |= int(b&0x7F) << shift 56281 if b < 0x80 { 56282 break 56283 } 56284 } 56285 if msglen < 0 { 56286 return ErrInvalidLengthTypes 56287 } 56288 postIndex := iNdEx + msglen 56289 if postIndex < 0 { 56290 return ErrInvalidLengthTypes 56291 } 56292 if postIndex > l { 56293 return io.ErrUnexpectedEOF 56294 } 56295 if m.SessionTags == nil { 56296 m.SessionTags = make(map[string]string) 56297 } 56298 var mapkey string 56299 var mapvalue string 56300 for iNdEx < postIndex { 56301 entryPreIndex := iNdEx 56302 var wire uint64 56303 for shift := uint(0); ; shift += 7 { 56304 if shift >= 64 { 56305 return ErrIntOverflowTypes 56306 } 56307 if iNdEx >= l { 56308 return io.ErrUnexpectedEOF 56309 } 56310 b := dAtA[iNdEx] 56311 iNdEx++ 56312 wire |= uint64(b&0x7F) << shift 56313 if b < 0x80 { 56314 break 56315 } 56316 } 56317 fieldNum := int32(wire >> 3) 56318 if fieldNum == 1 { 56319 var stringLenmapkey uint64 56320 for shift := uint(0); ; shift += 7 { 56321 if shift >= 64 { 56322 return ErrIntOverflowTypes 56323 } 56324 if iNdEx >= l { 56325 return io.ErrUnexpectedEOF 56326 } 56327 b := dAtA[iNdEx] 56328 iNdEx++ 56329 stringLenmapkey |= uint64(b&0x7F) << shift 56330 if b < 0x80 { 56331 break 56332 } 56333 } 56334 intStringLenmapkey := int(stringLenmapkey) 56335 if intStringLenmapkey < 0 { 56336 return ErrInvalidLengthTypes 56337 } 56338 postStringIndexmapkey := iNdEx + intStringLenmapkey 56339 if postStringIndexmapkey < 0 { 56340 return ErrInvalidLengthTypes 56341 } 56342 if postStringIndexmapkey > l { 56343 return io.ErrUnexpectedEOF 56344 } 56345 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 56346 iNdEx = postStringIndexmapkey 56347 } else if fieldNum == 2 { 56348 var stringLenmapvalue uint64 56349 for shift := uint(0); ; shift += 7 { 56350 if shift >= 64 { 56351 return ErrIntOverflowTypes 56352 } 56353 if iNdEx >= l { 56354 return io.ErrUnexpectedEOF 56355 } 56356 b := dAtA[iNdEx] 56357 iNdEx++ 56358 stringLenmapvalue |= uint64(b&0x7F) << shift 56359 if b < 0x80 { 56360 break 56361 } 56362 } 56363 intStringLenmapvalue := int(stringLenmapvalue) 56364 if intStringLenmapvalue < 0 { 56365 return ErrInvalidLengthTypes 56366 } 56367 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 56368 if postStringIndexmapvalue < 0 { 56369 return ErrInvalidLengthTypes 56370 } 56371 if postStringIndexmapvalue > l { 56372 return io.ErrUnexpectedEOF 56373 } 56374 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 56375 iNdEx = postStringIndexmapvalue 56376 } else { 56377 iNdEx = entryPreIndex 56378 skippy, err := skipTypes(dAtA[iNdEx:]) 56379 if err != nil { 56380 return err 56381 } 56382 if (skippy < 0) || (iNdEx+skippy) < 0 { 56383 return ErrInvalidLengthTypes 56384 } 56385 if (iNdEx + skippy) > postIndex { 56386 return io.ErrUnexpectedEOF 56387 } 56388 iNdEx += skippy 56389 } 56390 } 56391 m.SessionTags[mapkey] = mapvalue 56392 iNdEx = postIndex 56393 default: 56394 iNdEx = preIndex 56395 skippy, err := skipTypes(dAtA[iNdEx:]) 56396 if err != nil { 56397 return err 56398 } 56399 if (skippy < 0) || (iNdEx+skippy) < 0 { 56400 return ErrInvalidLengthTypes 56401 } 56402 if (iNdEx + skippy) > l { 56403 return io.ErrUnexpectedEOF 56404 } 56405 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 56406 iNdEx += skippy 56407 } 56408 } 56409 56410 if iNdEx > l { 56411 return io.ErrUnexpectedEOF 56412 } 56413 return nil 56414 } 56415 func (m *SecretStore) Unmarshal(dAtA []byte) error { 56416 l := len(dAtA) 56417 iNdEx := 0 56418 for iNdEx < l { 56419 preIndex := iNdEx 56420 var wire uint64 56421 for shift := uint(0); ; shift += 7 { 56422 if shift >= 64 { 56423 return ErrIntOverflowTypes 56424 } 56425 if iNdEx >= l { 56426 return io.ErrUnexpectedEOF 56427 } 56428 b := dAtA[iNdEx] 56429 iNdEx++ 56430 wire |= uint64(b&0x7F) << shift 56431 if b < 0x80 { 56432 break 56433 } 56434 } 56435 fieldNum := int32(wire >> 3) 56436 wireType := int(wire & 0x7) 56437 if wireType == 4 { 56438 return fmt.Errorf("proto: SecretStore: wiretype end group for non-group") 56439 } 56440 if fieldNum <= 0 { 56441 return fmt.Errorf("proto: SecretStore: illegal tag %d (wire type %d)", fieldNum, wire) 56442 } 56443 switch fieldNum { 56444 case 1: 56445 if wireType != 2 { 56446 return fmt.Errorf("proto: wrong wireType = %d for field KeyPrefix", wireType) 56447 } 56448 var stringLen uint64 56449 for shift := uint(0); ; shift += 7 { 56450 if shift >= 64 { 56451 return ErrIntOverflowTypes 56452 } 56453 if iNdEx >= l { 56454 return io.ErrUnexpectedEOF 56455 } 56456 b := dAtA[iNdEx] 56457 iNdEx++ 56458 stringLen |= uint64(b&0x7F) << shift 56459 if b < 0x80 { 56460 break 56461 } 56462 } 56463 intStringLen := int(stringLen) 56464 if intStringLen < 0 { 56465 return ErrInvalidLengthTypes 56466 } 56467 postIndex := iNdEx + intStringLen 56468 if postIndex < 0 { 56469 return ErrInvalidLengthTypes 56470 } 56471 if postIndex > l { 56472 return io.ErrUnexpectedEOF 56473 } 56474 m.KeyPrefix = string(dAtA[iNdEx:postIndex]) 56475 iNdEx = postIndex 56476 case 2: 56477 if wireType != 2 { 56478 return fmt.Errorf("proto: wrong wireType = %d for field KMSKeyID", wireType) 56479 } 56480 var stringLen uint64 56481 for shift := uint(0); ; shift += 7 { 56482 if shift >= 64 { 56483 return ErrIntOverflowTypes 56484 } 56485 if iNdEx >= l { 56486 return io.ErrUnexpectedEOF 56487 } 56488 b := dAtA[iNdEx] 56489 iNdEx++ 56490 stringLen |= uint64(b&0x7F) << shift 56491 if b < 0x80 { 56492 break 56493 } 56494 } 56495 intStringLen := int(stringLen) 56496 if intStringLen < 0 { 56497 return ErrInvalidLengthTypes 56498 } 56499 postIndex := iNdEx + intStringLen 56500 if postIndex < 0 { 56501 return ErrInvalidLengthTypes 56502 } 56503 if postIndex > l { 56504 return io.ErrUnexpectedEOF 56505 } 56506 m.KMSKeyID = string(dAtA[iNdEx:postIndex]) 56507 iNdEx = postIndex 56508 default: 56509 iNdEx = preIndex 56510 skippy, err := skipTypes(dAtA[iNdEx:]) 56511 if err != nil { 56512 return err 56513 } 56514 if (skippy < 0) || (iNdEx+skippy) < 0 { 56515 return ErrInvalidLengthTypes 56516 } 56517 if (iNdEx + skippy) > l { 56518 return io.ErrUnexpectedEOF 56519 } 56520 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 56521 iNdEx += skippy 56522 } 56523 } 56524 56525 if iNdEx > l { 56526 return io.ErrUnexpectedEOF 56527 } 56528 return nil 56529 } 56530 func (m *Redshift) Unmarshal(dAtA []byte) error { 56531 l := len(dAtA) 56532 iNdEx := 0 56533 for iNdEx < l { 56534 preIndex := iNdEx 56535 var wire uint64 56536 for shift := uint(0); ; shift += 7 { 56537 if shift >= 64 { 56538 return ErrIntOverflowTypes 56539 } 56540 if iNdEx >= l { 56541 return io.ErrUnexpectedEOF 56542 } 56543 b := dAtA[iNdEx] 56544 iNdEx++ 56545 wire |= uint64(b&0x7F) << shift 56546 if b < 0x80 { 56547 break 56548 } 56549 } 56550 fieldNum := int32(wire >> 3) 56551 wireType := int(wire & 0x7) 56552 if wireType == 4 { 56553 return fmt.Errorf("proto: Redshift: wiretype end group for non-group") 56554 } 56555 if fieldNum <= 0 { 56556 return fmt.Errorf("proto: Redshift: illegal tag %d (wire type %d)", fieldNum, wire) 56557 } 56558 switch fieldNum { 56559 case 1: 56560 if wireType != 2 { 56561 return fmt.Errorf("proto: wrong wireType = %d for field ClusterID", wireType) 56562 } 56563 var stringLen uint64 56564 for shift := uint(0); ; shift += 7 { 56565 if shift >= 64 { 56566 return ErrIntOverflowTypes 56567 } 56568 if iNdEx >= l { 56569 return io.ErrUnexpectedEOF 56570 } 56571 b := dAtA[iNdEx] 56572 iNdEx++ 56573 stringLen |= uint64(b&0x7F) << shift 56574 if b < 0x80 { 56575 break 56576 } 56577 } 56578 intStringLen := int(stringLen) 56579 if intStringLen < 0 { 56580 return ErrInvalidLengthTypes 56581 } 56582 postIndex := iNdEx + intStringLen 56583 if postIndex < 0 { 56584 return ErrInvalidLengthTypes 56585 } 56586 if postIndex > l { 56587 return io.ErrUnexpectedEOF 56588 } 56589 m.ClusterID = string(dAtA[iNdEx:postIndex]) 56590 iNdEx = postIndex 56591 default: 56592 iNdEx = preIndex 56593 skippy, err := skipTypes(dAtA[iNdEx:]) 56594 if err != nil { 56595 return err 56596 } 56597 if (skippy < 0) || (iNdEx+skippy) < 0 { 56598 return ErrInvalidLengthTypes 56599 } 56600 if (iNdEx + skippy) > l { 56601 return io.ErrUnexpectedEOF 56602 } 56603 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 56604 iNdEx += skippy 56605 } 56606 } 56607 56608 if iNdEx > l { 56609 return io.ErrUnexpectedEOF 56610 } 56611 return nil 56612 } 56613 func (m *RDS) Unmarshal(dAtA []byte) error { 56614 l := len(dAtA) 56615 iNdEx := 0 56616 for iNdEx < l { 56617 preIndex := iNdEx 56618 var wire uint64 56619 for shift := uint(0); ; shift += 7 { 56620 if shift >= 64 { 56621 return ErrIntOverflowTypes 56622 } 56623 if iNdEx >= l { 56624 return io.ErrUnexpectedEOF 56625 } 56626 b := dAtA[iNdEx] 56627 iNdEx++ 56628 wire |= uint64(b&0x7F) << shift 56629 if b < 0x80 { 56630 break 56631 } 56632 } 56633 fieldNum := int32(wire >> 3) 56634 wireType := int(wire & 0x7) 56635 if wireType == 4 { 56636 return fmt.Errorf("proto: RDS: wiretype end group for non-group") 56637 } 56638 if fieldNum <= 0 { 56639 return fmt.Errorf("proto: RDS: illegal tag %d (wire type %d)", fieldNum, wire) 56640 } 56641 switch fieldNum { 56642 case 1: 56643 if wireType != 2 { 56644 return fmt.Errorf("proto: wrong wireType = %d for field InstanceID", wireType) 56645 } 56646 var stringLen uint64 56647 for shift := uint(0); ; shift += 7 { 56648 if shift >= 64 { 56649 return ErrIntOverflowTypes 56650 } 56651 if iNdEx >= l { 56652 return io.ErrUnexpectedEOF 56653 } 56654 b := dAtA[iNdEx] 56655 iNdEx++ 56656 stringLen |= uint64(b&0x7F) << shift 56657 if b < 0x80 { 56658 break 56659 } 56660 } 56661 intStringLen := int(stringLen) 56662 if intStringLen < 0 { 56663 return ErrInvalidLengthTypes 56664 } 56665 postIndex := iNdEx + intStringLen 56666 if postIndex < 0 { 56667 return ErrInvalidLengthTypes 56668 } 56669 if postIndex > l { 56670 return io.ErrUnexpectedEOF 56671 } 56672 m.InstanceID = string(dAtA[iNdEx:postIndex]) 56673 iNdEx = postIndex 56674 case 2: 56675 if wireType != 2 { 56676 return fmt.Errorf("proto: wrong wireType = %d for field ClusterID", wireType) 56677 } 56678 var stringLen uint64 56679 for shift := uint(0); ; shift += 7 { 56680 if shift >= 64 { 56681 return ErrIntOverflowTypes 56682 } 56683 if iNdEx >= l { 56684 return io.ErrUnexpectedEOF 56685 } 56686 b := dAtA[iNdEx] 56687 iNdEx++ 56688 stringLen |= uint64(b&0x7F) << shift 56689 if b < 0x80 { 56690 break 56691 } 56692 } 56693 intStringLen := int(stringLen) 56694 if intStringLen < 0 { 56695 return ErrInvalidLengthTypes 56696 } 56697 postIndex := iNdEx + intStringLen 56698 if postIndex < 0 { 56699 return ErrInvalidLengthTypes 56700 } 56701 if postIndex > l { 56702 return io.ErrUnexpectedEOF 56703 } 56704 m.ClusterID = string(dAtA[iNdEx:postIndex]) 56705 iNdEx = postIndex 56706 case 3: 56707 if wireType != 2 { 56708 return fmt.Errorf("proto: wrong wireType = %d for field ResourceID", wireType) 56709 } 56710 var stringLen uint64 56711 for shift := uint(0); ; shift += 7 { 56712 if shift >= 64 { 56713 return ErrIntOverflowTypes 56714 } 56715 if iNdEx >= l { 56716 return io.ErrUnexpectedEOF 56717 } 56718 b := dAtA[iNdEx] 56719 iNdEx++ 56720 stringLen |= uint64(b&0x7F) << shift 56721 if b < 0x80 { 56722 break 56723 } 56724 } 56725 intStringLen := int(stringLen) 56726 if intStringLen < 0 { 56727 return ErrInvalidLengthTypes 56728 } 56729 postIndex := iNdEx + intStringLen 56730 if postIndex < 0 { 56731 return ErrInvalidLengthTypes 56732 } 56733 if postIndex > l { 56734 return io.ErrUnexpectedEOF 56735 } 56736 m.ResourceID = string(dAtA[iNdEx:postIndex]) 56737 iNdEx = postIndex 56738 case 4: 56739 if wireType != 0 { 56740 return fmt.Errorf("proto: wrong wireType = %d for field IAMAuth", wireType) 56741 } 56742 var v int 56743 for shift := uint(0); ; shift += 7 { 56744 if shift >= 64 { 56745 return ErrIntOverflowTypes 56746 } 56747 if iNdEx >= l { 56748 return io.ErrUnexpectedEOF 56749 } 56750 b := dAtA[iNdEx] 56751 iNdEx++ 56752 v |= int(b&0x7F) << shift 56753 if b < 0x80 { 56754 break 56755 } 56756 } 56757 m.IAMAuth = bool(v != 0) 56758 case 5: 56759 if wireType != 2 { 56760 return fmt.Errorf("proto: wrong wireType = %d for field Subnets", wireType) 56761 } 56762 var stringLen uint64 56763 for shift := uint(0); ; shift += 7 { 56764 if shift >= 64 { 56765 return ErrIntOverflowTypes 56766 } 56767 if iNdEx >= l { 56768 return io.ErrUnexpectedEOF 56769 } 56770 b := dAtA[iNdEx] 56771 iNdEx++ 56772 stringLen |= uint64(b&0x7F) << shift 56773 if b < 0x80 { 56774 break 56775 } 56776 } 56777 intStringLen := int(stringLen) 56778 if intStringLen < 0 { 56779 return ErrInvalidLengthTypes 56780 } 56781 postIndex := iNdEx + intStringLen 56782 if postIndex < 0 { 56783 return ErrInvalidLengthTypes 56784 } 56785 if postIndex > l { 56786 return io.ErrUnexpectedEOF 56787 } 56788 m.Subnets = append(m.Subnets, string(dAtA[iNdEx:postIndex])) 56789 iNdEx = postIndex 56790 case 6: 56791 if wireType != 2 { 56792 return fmt.Errorf("proto: wrong wireType = %d for field VPCID", wireType) 56793 } 56794 var stringLen uint64 56795 for shift := uint(0); ; shift += 7 { 56796 if shift >= 64 { 56797 return ErrIntOverflowTypes 56798 } 56799 if iNdEx >= l { 56800 return io.ErrUnexpectedEOF 56801 } 56802 b := dAtA[iNdEx] 56803 iNdEx++ 56804 stringLen |= uint64(b&0x7F) << shift 56805 if b < 0x80 { 56806 break 56807 } 56808 } 56809 intStringLen := int(stringLen) 56810 if intStringLen < 0 { 56811 return ErrInvalidLengthTypes 56812 } 56813 postIndex := iNdEx + intStringLen 56814 if postIndex < 0 { 56815 return ErrInvalidLengthTypes 56816 } 56817 if postIndex > l { 56818 return io.ErrUnexpectedEOF 56819 } 56820 m.VPCID = string(dAtA[iNdEx:postIndex]) 56821 iNdEx = postIndex 56822 default: 56823 iNdEx = preIndex 56824 skippy, err := skipTypes(dAtA[iNdEx:]) 56825 if err != nil { 56826 return err 56827 } 56828 if (skippy < 0) || (iNdEx+skippy) < 0 { 56829 return ErrInvalidLengthTypes 56830 } 56831 if (iNdEx + skippy) > l { 56832 return io.ErrUnexpectedEOF 56833 } 56834 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 56835 iNdEx += skippy 56836 } 56837 } 56838 56839 if iNdEx > l { 56840 return io.ErrUnexpectedEOF 56841 } 56842 return nil 56843 } 56844 func (m *RDSProxy) Unmarshal(dAtA []byte) error { 56845 l := len(dAtA) 56846 iNdEx := 0 56847 for iNdEx < l { 56848 preIndex := iNdEx 56849 var wire uint64 56850 for shift := uint(0); ; shift += 7 { 56851 if shift >= 64 { 56852 return ErrIntOverflowTypes 56853 } 56854 if iNdEx >= l { 56855 return io.ErrUnexpectedEOF 56856 } 56857 b := dAtA[iNdEx] 56858 iNdEx++ 56859 wire |= uint64(b&0x7F) << shift 56860 if b < 0x80 { 56861 break 56862 } 56863 } 56864 fieldNum := int32(wire >> 3) 56865 wireType := int(wire & 0x7) 56866 if wireType == 4 { 56867 return fmt.Errorf("proto: RDSProxy: wiretype end group for non-group") 56868 } 56869 if fieldNum <= 0 { 56870 return fmt.Errorf("proto: RDSProxy: illegal tag %d (wire type %d)", fieldNum, wire) 56871 } 56872 switch fieldNum { 56873 case 1: 56874 if wireType != 2 { 56875 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 56876 } 56877 var stringLen uint64 56878 for shift := uint(0); ; shift += 7 { 56879 if shift >= 64 { 56880 return ErrIntOverflowTypes 56881 } 56882 if iNdEx >= l { 56883 return io.ErrUnexpectedEOF 56884 } 56885 b := dAtA[iNdEx] 56886 iNdEx++ 56887 stringLen |= uint64(b&0x7F) << shift 56888 if b < 0x80 { 56889 break 56890 } 56891 } 56892 intStringLen := int(stringLen) 56893 if intStringLen < 0 { 56894 return ErrInvalidLengthTypes 56895 } 56896 postIndex := iNdEx + intStringLen 56897 if postIndex < 0 { 56898 return ErrInvalidLengthTypes 56899 } 56900 if postIndex > l { 56901 return io.ErrUnexpectedEOF 56902 } 56903 m.Name = string(dAtA[iNdEx:postIndex]) 56904 iNdEx = postIndex 56905 case 2: 56906 if wireType != 2 { 56907 return fmt.Errorf("proto: wrong wireType = %d for field CustomEndpointName", wireType) 56908 } 56909 var stringLen uint64 56910 for shift := uint(0); ; shift += 7 { 56911 if shift >= 64 { 56912 return ErrIntOverflowTypes 56913 } 56914 if iNdEx >= l { 56915 return io.ErrUnexpectedEOF 56916 } 56917 b := dAtA[iNdEx] 56918 iNdEx++ 56919 stringLen |= uint64(b&0x7F) << shift 56920 if b < 0x80 { 56921 break 56922 } 56923 } 56924 intStringLen := int(stringLen) 56925 if intStringLen < 0 { 56926 return ErrInvalidLengthTypes 56927 } 56928 postIndex := iNdEx + intStringLen 56929 if postIndex < 0 { 56930 return ErrInvalidLengthTypes 56931 } 56932 if postIndex > l { 56933 return io.ErrUnexpectedEOF 56934 } 56935 m.CustomEndpointName = string(dAtA[iNdEx:postIndex]) 56936 iNdEx = postIndex 56937 case 3: 56938 if wireType != 2 { 56939 return fmt.Errorf("proto: wrong wireType = %d for field ResourceID", wireType) 56940 } 56941 var stringLen uint64 56942 for shift := uint(0); ; shift += 7 { 56943 if shift >= 64 { 56944 return ErrIntOverflowTypes 56945 } 56946 if iNdEx >= l { 56947 return io.ErrUnexpectedEOF 56948 } 56949 b := dAtA[iNdEx] 56950 iNdEx++ 56951 stringLen |= uint64(b&0x7F) << shift 56952 if b < 0x80 { 56953 break 56954 } 56955 } 56956 intStringLen := int(stringLen) 56957 if intStringLen < 0 { 56958 return ErrInvalidLengthTypes 56959 } 56960 postIndex := iNdEx + intStringLen 56961 if postIndex < 0 { 56962 return ErrInvalidLengthTypes 56963 } 56964 if postIndex > l { 56965 return io.ErrUnexpectedEOF 56966 } 56967 m.ResourceID = string(dAtA[iNdEx:postIndex]) 56968 iNdEx = postIndex 56969 default: 56970 iNdEx = preIndex 56971 skippy, err := skipTypes(dAtA[iNdEx:]) 56972 if err != nil { 56973 return err 56974 } 56975 if (skippy < 0) || (iNdEx+skippy) < 0 { 56976 return ErrInvalidLengthTypes 56977 } 56978 if (iNdEx + skippy) > l { 56979 return io.ErrUnexpectedEOF 56980 } 56981 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 56982 iNdEx += skippy 56983 } 56984 } 56985 56986 if iNdEx > l { 56987 return io.ErrUnexpectedEOF 56988 } 56989 return nil 56990 } 56991 func (m *ElastiCache) Unmarshal(dAtA []byte) error { 56992 l := len(dAtA) 56993 iNdEx := 0 56994 for iNdEx < l { 56995 preIndex := iNdEx 56996 var wire uint64 56997 for shift := uint(0); ; shift += 7 { 56998 if shift >= 64 { 56999 return ErrIntOverflowTypes 57000 } 57001 if iNdEx >= l { 57002 return io.ErrUnexpectedEOF 57003 } 57004 b := dAtA[iNdEx] 57005 iNdEx++ 57006 wire |= uint64(b&0x7F) << shift 57007 if b < 0x80 { 57008 break 57009 } 57010 } 57011 fieldNum := int32(wire >> 3) 57012 wireType := int(wire & 0x7) 57013 if wireType == 4 { 57014 return fmt.Errorf("proto: ElastiCache: wiretype end group for non-group") 57015 } 57016 if fieldNum <= 0 { 57017 return fmt.Errorf("proto: ElastiCache: illegal tag %d (wire type %d)", fieldNum, wire) 57018 } 57019 switch fieldNum { 57020 case 1: 57021 if wireType != 2 { 57022 return fmt.Errorf("proto: wrong wireType = %d for field ReplicationGroupID", wireType) 57023 } 57024 var stringLen uint64 57025 for shift := uint(0); ; shift += 7 { 57026 if shift >= 64 { 57027 return ErrIntOverflowTypes 57028 } 57029 if iNdEx >= l { 57030 return io.ErrUnexpectedEOF 57031 } 57032 b := dAtA[iNdEx] 57033 iNdEx++ 57034 stringLen |= uint64(b&0x7F) << shift 57035 if b < 0x80 { 57036 break 57037 } 57038 } 57039 intStringLen := int(stringLen) 57040 if intStringLen < 0 { 57041 return ErrInvalidLengthTypes 57042 } 57043 postIndex := iNdEx + intStringLen 57044 if postIndex < 0 { 57045 return ErrInvalidLengthTypes 57046 } 57047 if postIndex > l { 57048 return io.ErrUnexpectedEOF 57049 } 57050 m.ReplicationGroupID = string(dAtA[iNdEx:postIndex]) 57051 iNdEx = postIndex 57052 case 2: 57053 if wireType != 2 { 57054 return fmt.Errorf("proto: wrong wireType = %d for field UserGroupIDs", wireType) 57055 } 57056 var stringLen uint64 57057 for shift := uint(0); ; shift += 7 { 57058 if shift >= 64 { 57059 return ErrIntOverflowTypes 57060 } 57061 if iNdEx >= l { 57062 return io.ErrUnexpectedEOF 57063 } 57064 b := dAtA[iNdEx] 57065 iNdEx++ 57066 stringLen |= uint64(b&0x7F) << shift 57067 if b < 0x80 { 57068 break 57069 } 57070 } 57071 intStringLen := int(stringLen) 57072 if intStringLen < 0 { 57073 return ErrInvalidLengthTypes 57074 } 57075 postIndex := iNdEx + intStringLen 57076 if postIndex < 0 { 57077 return ErrInvalidLengthTypes 57078 } 57079 if postIndex > l { 57080 return io.ErrUnexpectedEOF 57081 } 57082 m.UserGroupIDs = append(m.UserGroupIDs, string(dAtA[iNdEx:postIndex])) 57083 iNdEx = postIndex 57084 case 3: 57085 if wireType != 0 { 57086 return fmt.Errorf("proto: wrong wireType = %d for field TransitEncryptionEnabled", wireType) 57087 } 57088 var v int 57089 for shift := uint(0); ; shift += 7 { 57090 if shift >= 64 { 57091 return ErrIntOverflowTypes 57092 } 57093 if iNdEx >= l { 57094 return io.ErrUnexpectedEOF 57095 } 57096 b := dAtA[iNdEx] 57097 iNdEx++ 57098 v |= int(b&0x7F) << shift 57099 if b < 0x80 { 57100 break 57101 } 57102 } 57103 m.TransitEncryptionEnabled = bool(v != 0) 57104 case 4: 57105 if wireType != 2 { 57106 return fmt.Errorf("proto: wrong wireType = %d for field EndpointType", wireType) 57107 } 57108 var stringLen uint64 57109 for shift := uint(0); ; shift += 7 { 57110 if shift >= 64 { 57111 return ErrIntOverflowTypes 57112 } 57113 if iNdEx >= l { 57114 return io.ErrUnexpectedEOF 57115 } 57116 b := dAtA[iNdEx] 57117 iNdEx++ 57118 stringLen |= uint64(b&0x7F) << shift 57119 if b < 0x80 { 57120 break 57121 } 57122 } 57123 intStringLen := int(stringLen) 57124 if intStringLen < 0 { 57125 return ErrInvalidLengthTypes 57126 } 57127 postIndex := iNdEx + intStringLen 57128 if postIndex < 0 { 57129 return ErrInvalidLengthTypes 57130 } 57131 if postIndex > l { 57132 return io.ErrUnexpectedEOF 57133 } 57134 m.EndpointType = string(dAtA[iNdEx:postIndex]) 57135 iNdEx = postIndex 57136 default: 57137 iNdEx = preIndex 57138 skippy, err := skipTypes(dAtA[iNdEx:]) 57139 if err != nil { 57140 return err 57141 } 57142 if (skippy < 0) || (iNdEx+skippy) < 0 { 57143 return ErrInvalidLengthTypes 57144 } 57145 if (iNdEx + skippy) > l { 57146 return io.ErrUnexpectedEOF 57147 } 57148 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57149 iNdEx += skippy 57150 } 57151 } 57152 57153 if iNdEx > l { 57154 return io.ErrUnexpectedEOF 57155 } 57156 return nil 57157 } 57158 func (m *MemoryDB) Unmarshal(dAtA []byte) error { 57159 l := len(dAtA) 57160 iNdEx := 0 57161 for iNdEx < l { 57162 preIndex := iNdEx 57163 var wire uint64 57164 for shift := uint(0); ; shift += 7 { 57165 if shift >= 64 { 57166 return ErrIntOverflowTypes 57167 } 57168 if iNdEx >= l { 57169 return io.ErrUnexpectedEOF 57170 } 57171 b := dAtA[iNdEx] 57172 iNdEx++ 57173 wire |= uint64(b&0x7F) << shift 57174 if b < 0x80 { 57175 break 57176 } 57177 } 57178 fieldNum := int32(wire >> 3) 57179 wireType := int(wire & 0x7) 57180 if wireType == 4 { 57181 return fmt.Errorf("proto: MemoryDB: wiretype end group for non-group") 57182 } 57183 if fieldNum <= 0 { 57184 return fmt.Errorf("proto: MemoryDB: illegal tag %d (wire type %d)", fieldNum, wire) 57185 } 57186 switch fieldNum { 57187 case 1: 57188 if wireType != 2 { 57189 return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) 57190 } 57191 var stringLen uint64 57192 for shift := uint(0); ; shift += 7 { 57193 if shift >= 64 { 57194 return ErrIntOverflowTypes 57195 } 57196 if iNdEx >= l { 57197 return io.ErrUnexpectedEOF 57198 } 57199 b := dAtA[iNdEx] 57200 iNdEx++ 57201 stringLen |= uint64(b&0x7F) << shift 57202 if b < 0x80 { 57203 break 57204 } 57205 } 57206 intStringLen := int(stringLen) 57207 if intStringLen < 0 { 57208 return ErrInvalidLengthTypes 57209 } 57210 postIndex := iNdEx + intStringLen 57211 if postIndex < 0 { 57212 return ErrInvalidLengthTypes 57213 } 57214 if postIndex > l { 57215 return io.ErrUnexpectedEOF 57216 } 57217 m.ClusterName = string(dAtA[iNdEx:postIndex]) 57218 iNdEx = postIndex 57219 case 2: 57220 if wireType != 2 { 57221 return fmt.Errorf("proto: wrong wireType = %d for field ACLName", wireType) 57222 } 57223 var stringLen uint64 57224 for shift := uint(0); ; shift += 7 { 57225 if shift >= 64 { 57226 return ErrIntOverflowTypes 57227 } 57228 if iNdEx >= l { 57229 return io.ErrUnexpectedEOF 57230 } 57231 b := dAtA[iNdEx] 57232 iNdEx++ 57233 stringLen |= uint64(b&0x7F) << shift 57234 if b < 0x80 { 57235 break 57236 } 57237 } 57238 intStringLen := int(stringLen) 57239 if intStringLen < 0 { 57240 return ErrInvalidLengthTypes 57241 } 57242 postIndex := iNdEx + intStringLen 57243 if postIndex < 0 { 57244 return ErrInvalidLengthTypes 57245 } 57246 if postIndex > l { 57247 return io.ErrUnexpectedEOF 57248 } 57249 m.ACLName = string(dAtA[iNdEx:postIndex]) 57250 iNdEx = postIndex 57251 case 3: 57252 if wireType != 0 { 57253 return fmt.Errorf("proto: wrong wireType = %d for field TLSEnabled", wireType) 57254 } 57255 var v int 57256 for shift := uint(0); ; shift += 7 { 57257 if shift >= 64 { 57258 return ErrIntOverflowTypes 57259 } 57260 if iNdEx >= l { 57261 return io.ErrUnexpectedEOF 57262 } 57263 b := dAtA[iNdEx] 57264 iNdEx++ 57265 v |= int(b&0x7F) << shift 57266 if b < 0x80 { 57267 break 57268 } 57269 } 57270 m.TLSEnabled = bool(v != 0) 57271 case 4: 57272 if wireType != 2 { 57273 return fmt.Errorf("proto: wrong wireType = %d for field EndpointType", wireType) 57274 } 57275 var stringLen uint64 57276 for shift := uint(0); ; shift += 7 { 57277 if shift >= 64 { 57278 return ErrIntOverflowTypes 57279 } 57280 if iNdEx >= l { 57281 return io.ErrUnexpectedEOF 57282 } 57283 b := dAtA[iNdEx] 57284 iNdEx++ 57285 stringLen |= uint64(b&0x7F) << shift 57286 if b < 0x80 { 57287 break 57288 } 57289 } 57290 intStringLen := int(stringLen) 57291 if intStringLen < 0 { 57292 return ErrInvalidLengthTypes 57293 } 57294 postIndex := iNdEx + intStringLen 57295 if postIndex < 0 { 57296 return ErrInvalidLengthTypes 57297 } 57298 if postIndex > l { 57299 return io.ErrUnexpectedEOF 57300 } 57301 m.EndpointType = string(dAtA[iNdEx:postIndex]) 57302 iNdEx = postIndex 57303 default: 57304 iNdEx = preIndex 57305 skippy, err := skipTypes(dAtA[iNdEx:]) 57306 if err != nil { 57307 return err 57308 } 57309 if (skippy < 0) || (iNdEx+skippy) < 0 { 57310 return ErrInvalidLengthTypes 57311 } 57312 if (iNdEx + skippy) > l { 57313 return io.ErrUnexpectedEOF 57314 } 57315 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57316 iNdEx += skippy 57317 } 57318 } 57319 57320 if iNdEx > l { 57321 return io.ErrUnexpectedEOF 57322 } 57323 return nil 57324 } 57325 func (m *RedshiftServerless) Unmarshal(dAtA []byte) error { 57326 l := len(dAtA) 57327 iNdEx := 0 57328 for iNdEx < l { 57329 preIndex := iNdEx 57330 var wire uint64 57331 for shift := uint(0); ; shift += 7 { 57332 if shift >= 64 { 57333 return ErrIntOverflowTypes 57334 } 57335 if iNdEx >= l { 57336 return io.ErrUnexpectedEOF 57337 } 57338 b := dAtA[iNdEx] 57339 iNdEx++ 57340 wire |= uint64(b&0x7F) << shift 57341 if b < 0x80 { 57342 break 57343 } 57344 } 57345 fieldNum := int32(wire >> 3) 57346 wireType := int(wire & 0x7) 57347 if wireType == 4 { 57348 return fmt.Errorf("proto: RedshiftServerless: wiretype end group for non-group") 57349 } 57350 if fieldNum <= 0 { 57351 return fmt.Errorf("proto: RedshiftServerless: illegal tag %d (wire type %d)", fieldNum, wire) 57352 } 57353 switch fieldNum { 57354 case 1: 57355 if wireType != 2 { 57356 return fmt.Errorf("proto: wrong wireType = %d for field WorkgroupName", wireType) 57357 } 57358 var stringLen uint64 57359 for shift := uint(0); ; shift += 7 { 57360 if shift >= 64 { 57361 return ErrIntOverflowTypes 57362 } 57363 if iNdEx >= l { 57364 return io.ErrUnexpectedEOF 57365 } 57366 b := dAtA[iNdEx] 57367 iNdEx++ 57368 stringLen |= uint64(b&0x7F) << shift 57369 if b < 0x80 { 57370 break 57371 } 57372 } 57373 intStringLen := int(stringLen) 57374 if intStringLen < 0 { 57375 return ErrInvalidLengthTypes 57376 } 57377 postIndex := iNdEx + intStringLen 57378 if postIndex < 0 { 57379 return ErrInvalidLengthTypes 57380 } 57381 if postIndex > l { 57382 return io.ErrUnexpectedEOF 57383 } 57384 m.WorkgroupName = string(dAtA[iNdEx:postIndex]) 57385 iNdEx = postIndex 57386 case 2: 57387 if wireType != 2 { 57388 return fmt.Errorf("proto: wrong wireType = %d for field EndpointName", wireType) 57389 } 57390 var stringLen uint64 57391 for shift := uint(0); ; shift += 7 { 57392 if shift >= 64 { 57393 return ErrIntOverflowTypes 57394 } 57395 if iNdEx >= l { 57396 return io.ErrUnexpectedEOF 57397 } 57398 b := dAtA[iNdEx] 57399 iNdEx++ 57400 stringLen |= uint64(b&0x7F) << shift 57401 if b < 0x80 { 57402 break 57403 } 57404 } 57405 intStringLen := int(stringLen) 57406 if intStringLen < 0 { 57407 return ErrInvalidLengthTypes 57408 } 57409 postIndex := iNdEx + intStringLen 57410 if postIndex < 0 { 57411 return ErrInvalidLengthTypes 57412 } 57413 if postIndex > l { 57414 return io.ErrUnexpectedEOF 57415 } 57416 m.EndpointName = string(dAtA[iNdEx:postIndex]) 57417 iNdEx = postIndex 57418 case 3: 57419 if wireType != 2 { 57420 return fmt.Errorf("proto: wrong wireType = %d for field WorkgroupID", wireType) 57421 } 57422 var stringLen uint64 57423 for shift := uint(0); ; shift += 7 { 57424 if shift >= 64 { 57425 return ErrIntOverflowTypes 57426 } 57427 if iNdEx >= l { 57428 return io.ErrUnexpectedEOF 57429 } 57430 b := dAtA[iNdEx] 57431 iNdEx++ 57432 stringLen |= uint64(b&0x7F) << shift 57433 if b < 0x80 { 57434 break 57435 } 57436 } 57437 intStringLen := int(stringLen) 57438 if intStringLen < 0 { 57439 return ErrInvalidLengthTypes 57440 } 57441 postIndex := iNdEx + intStringLen 57442 if postIndex < 0 { 57443 return ErrInvalidLengthTypes 57444 } 57445 if postIndex > l { 57446 return io.ErrUnexpectedEOF 57447 } 57448 m.WorkgroupID = string(dAtA[iNdEx:postIndex]) 57449 iNdEx = postIndex 57450 default: 57451 iNdEx = preIndex 57452 skippy, err := skipTypes(dAtA[iNdEx:]) 57453 if err != nil { 57454 return err 57455 } 57456 if (skippy < 0) || (iNdEx+skippy) < 0 { 57457 return ErrInvalidLengthTypes 57458 } 57459 if (iNdEx + skippy) > l { 57460 return io.ErrUnexpectedEOF 57461 } 57462 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57463 iNdEx += skippy 57464 } 57465 } 57466 57467 if iNdEx > l { 57468 return io.ErrUnexpectedEOF 57469 } 57470 return nil 57471 } 57472 func (m *OpenSearch) Unmarshal(dAtA []byte) error { 57473 l := len(dAtA) 57474 iNdEx := 0 57475 for iNdEx < l { 57476 preIndex := iNdEx 57477 var wire uint64 57478 for shift := uint(0); ; shift += 7 { 57479 if shift >= 64 { 57480 return ErrIntOverflowTypes 57481 } 57482 if iNdEx >= l { 57483 return io.ErrUnexpectedEOF 57484 } 57485 b := dAtA[iNdEx] 57486 iNdEx++ 57487 wire |= uint64(b&0x7F) << shift 57488 if b < 0x80 { 57489 break 57490 } 57491 } 57492 fieldNum := int32(wire >> 3) 57493 wireType := int(wire & 0x7) 57494 if wireType == 4 { 57495 return fmt.Errorf("proto: OpenSearch: wiretype end group for non-group") 57496 } 57497 if fieldNum <= 0 { 57498 return fmt.Errorf("proto: OpenSearch: illegal tag %d (wire type %d)", fieldNum, wire) 57499 } 57500 switch fieldNum { 57501 case 1: 57502 if wireType != 2 { 57503 return fmt.Errorf("proto: wrong wireType = %d for field DomainName", wireType) 57504 } 57505 var stringLen uint64 57506 for shift := uint(0); ; shift += 7 { 57507 if shift >= 64 { 57508 return ErrIntOverflowTypes 57509 } 57510 if iNdEx >= l { 57511 return io.ErrUnexpectedEOF 57512 } 57513 b := dAtA[iNdEx] 57514 iNdEx++ 57515 stringLen |= uint64(b&0x7F) << shift 57516 if b < 0x80 { 57517 break 57518 } 57519 } 57520 intStringLen := int(stringLen) 57521 if intStringLen < 0 { 57522 return ErrInvalidLengthTypes 57523 } 57524 postIndex := iNdEx + intStringLen 57525 if postIndex < 0 { 57526 return ErrInvalidLengthTypes 57527 } 57528 if postIndex > l { 57529 return io.ErrUnexpectedEOF 57530 } 57531 m.DomainName = string(dAtA[iNdEx:postIndex]) 57532 iNdEx = postIndex 57533 case 2: 57534 if wireType != 2 { 57535 return fmt.Errorf("proto: wrong wireType = %d for field DomainID", wireType) 57536 } 57537 var stringLen uint64 57538 for shift := uint(0); ; shift += 7 { 57539 if shift >= 64 { 57540 return ErrIntOverflowTypes 57541 } 57542 if iNdEx >= l { 57543 return io.ErrUnexpectedEOF 57544 } 57545 b := dAtA[iNdEx] 57546 iNdEx++ 57547 stringLen |= uint64(b&0x7F) << shift 57548 if b < 0x80 { 57549 break 57550 } 57551 } 57552 intStringLen := int(stringLen) 57553 if intStringLen < 0 { 57554 return ErrInvalidLengthTypes 57555 } 57556 postIndex := iNdEx + intStringLen 57557 if postIndex < 0 { 57558 return ErrInvalidLengthTypes 57559 } 57560 if postIndex > l { 57561 return io.ErrUnexpectedEOF 57562 } 57563 m.DomainID = string(dAtA[iNdEx:postIndex]) 57564 iNdEx = postIndex 57565 case 3: 57566 if wireType != 2 { 57567 return fmt.Errorf("proto: wrong wireType = %d for field EndpointType", wireType) 57568 } 57569 var stringLen uint64 57570 for shift := uint(0); ; shift += 7 { 57571 if shift >= 64 { 57572 return ErrIntOverflowTypes 57573 } 57574 if iNdEx >= l { 57575 return io.ErrUnexpectedEOF 57576 } 57577 b := dAtA[iNdEx] 57578 iNdEx++ 57579 stringLen |= uint64(b&0x7F) << shift 57580 if b < 0x80 { 57581 break 57582 } 57583 } 57584 intStringLen := int(stringLen) 57585 if intStringLen < 0 { 57586 return ErrInvalidLengthTypes 57587 } 57588 postIndex := iNdEx + intStringLen 57589 if postIndex < 0 { 57590 return ErrInvalidLengthTypes 57591 } 57592 if postIndex > l { 57593 return io.ErrUnexpectedEOF 57594 } 57595 m.EndpointType = string(dAtA[iNdEx:postIndex]) 57596 iNdEx = postIndex 57597 default: 57598 iNdEx = preIndex 57599 skippy, err := skipTypes(dAtA[iNdEx:]) 57600 if err != nil { 57601 return err 57602 } 57603 if (skippy < 0) || (iNdEx+skippy) < 0 { 57604 return ErrInvalidLengthTypes 57605 } 57606 if (iNdEx + skippy) > l { 57607 return io.ErrUnexpectedEOF 57608 } 57609 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57610 iNdEx += skippy 57611 } 57612 } 57613 57614 if iNdEx > l { 57615 return io.ErrUnexpectedEOF 57616 } 57617 return nil 57618 } 57619 func (m *GCPCloudSQL) Unmarshal(dAtA []byte) error { 57620 l := len(dAtA) 57621 iNdEx := 0 57622 for iNdEx < l { 57623 preIndex := iNdEx 57624 var wire uint64 57625 for shift := uint(0); ; shift += 7 { 57626 if shift >= 64 { 57627 return ErrIntOverflowTypes 57628 } 57629 if iNdEx >= l { 57630 return io.ErrUnexpectedEOF 57631 } 57632 b := dAtA[iNdEx] 57633 iNdEx++ 57634 wire |= uint64(b&0x7F) << shift 57635 if b < 0x80 { 57636 break 57637 } 57638 } 57639 fieldNum := int32(wire >> 3) 57640 wireType := int(wire & 0x7) 57641 if wireType == 4 { 57642 return fmt.Errorf("proto: GCPCloudSQL: wiretype end group for non-group") 57643 } 57644 if fieldNum <= 0 { 57645 return fmt.Errorf("proto: GCPCloudSQL: illegal tag %d (wire type %d)", fieldNum, wire) 57646 } 57647 switch fieldNum { 57648 case 1: 57649 if wireType != 2 { 57650 return fmt.Errorf("proto: wrong wireType = %d for field ProjectID", wireType) 57651 } 57652 var stringLen uint64 57653 for shift := uint(0); ; shift += 7 { 57654 if shift >= 64 { 57655 return ErrIntOverflowTypes 57656 } 57657 if iNdEx >= l { 57658 return io.ErrUnexpectedEOF 57659 } 57660 b := dAtA[iNdEx] 57661 iNdEx++ 57662 stringLen |= uint64(b&0x7F) << shift 57663 if b < 0x80 { 57664 break 57665 } 57666 } 57667 intStringLen := int(stringLen) 57668 if intStringLen < 0 { 57669 return ErrInvalidLengthTypes 57670 } 57671 postIndex := iNdEx + intStringLen 57672 if postIndex < 0 { 57673 return ErrInvalidLengthTypes 57674 } 57675 if postIndex > l { 57676 return io.ErrUnexpectedEOF 57677 } 57678 m.ProjectID = string(dAtA[iNdEx:postIndex]) 57679 iNdEx = postIndex 57680 case 2: 57681 if wireType != 2 { 57682 return fmt.Errorf("proto: wrong wireType = %d for field InstanceID", wireType) 57683 } 57684 var stringLen uint64 57685 for shift := uint(0); ; shift += 7 { 57686 if shift >= 64 { 57687 return ErrIntOverflowTypes 57688 } 57689 if iNdEx >= l { 57690 return io.ErrUnexpectedEOF 57691 } 57692 b := dAtA[iNdEx] 57693 iNdEx++ 57694 stringLen |= uint64(b&0x7F) << shift 57695 if b < 0x80 { 57696 break 57697 } 57698 } 57699 intStringLen := int(stringLen) 57700 if intStringLen < 0 { 57701 return ErrInvalidLengthTypes 57702 } 57703 postIndex := iNdEx + intStringLen 57704 if postIndex < 0 { 57705 return ErrInvalidLengthTypes 57706 } 57707 if postIndex > l { 57708 return io.ErrUnexpectedEOF 57709 } 57710 m.InstanceID = string(dAtA[iNdEx:postIndex]) 57711 iNdEx = postIndex 57712 default: 57713 iNdEx = preIndex 57714 skippy, err := skipTypes(dAtA[iNdEx:]) 57715 if err != nil { 57716 return err 57717 } 57718 if (skippy < 0) || (iNdEx+skippy) < 0 { 57719 return ErrInvalidLengthTypes 57720 } 57721 if (iNdEx + skippy) > l { 57722 return io.ErrUnexpectedEOF 57723 } 57724 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57725 iNdEx += skippy 57726 } 57727 } 57728 57729 if iNdEx > l { 57730 return io.ErrUnexpectedEOF 57731 } 57732 return nil 57733 } 57734 func (m *Azure) Unmarshal(dAtA []byte) error { 57735 l := len(dAtA) 57736 iNdEx := 0 57737 for iNdEx < l { 57738 preIndex := iNdEx 57739 var wire uint64 57740 for shift := uint(0); ; shift += 7 { 57741 if shift >= 64 { 57742 return ErrIntOverflowTypes 57743 } 57744 if iNdEx >= l { 57745 return io.ErrUnexpectedEOF 57746 } 57747 b := dAtA[iNdEx] 57748 iNdEx++ 57749 wire |= uint64(b&0x7F) << shift 57750 if b < 0x80 { 57751 break 57752 } 57753 } 57754 fieldNum := int32(wire >> 3) 57755 wireType := int(wire & 0x7) 57756 if wireType == 4 { 57757 return fmt.Errorf("proto: Azure: wiretype end group for non-group") 57758 } 57759 if fieldNum <= 0 { 57760 return fmt.Errorf("proto: Azure: illegal tag %d (wire type %d)", fieldNum, wire) 57761 } 57762 switch fieldNum { 57763 case 1: 57764 if wireType != 2 { 57765 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 57766 } 57767 var stringLen uint64 57768 for shift := uint(0); ; shift += 7 { 57769 if shift >= 64 { 57770 return ErrIntOverflowTypes 57771 } 57772 if iNdEx >= l { 57773 return io.ErrUnexpectedEOF 57774 } 57775 b := dAtA[iNdEx] 57776 iNdEx++ 57777 stringLen |= uint64(b&0x7F) << shift 57778 if b < 0x80 { 57779 break 57780 } 57781 } 57782 intStringLen := int(stringLen) 57783 if intStringLen < 0 { 57784 return ErrInvalidLengthTypes 57785 } 57786 postIndex := iNdEx + intStringLen 57787 if postIndex < 0 { 57788 return ErrInvalidLengthTypes 57789 } 57790 if postIndex > l { 57791 return io.ErrUnexpectedEOF 57792 } 57793 m.Name = string(dAtA[iNdEx:postIndex]) 57794 iNdEx = postIndex 57795 case 2: 57796 if wireType != 2 { 57797 return fmt.Errorf("proto: wrong wireType = %d for field ResourceID", wireType) 57798 } 57799 var stringLen uint64 57800 for shift := uint(0); ; shift += 7 { 57801 if shift >= 64 { 57802 return ErrIntOverflowTypes 57803 } 57804 if iNdEx >= l { 57805 return io.ErrUnexpectedEOF 57806 } 57807 b := dAtA[iNdEx] 57808 iNdEx++ 57809 stringLen |= uint64(b&0x7F) << shift 57810 if b < 0x80 { 57811 break 57812 } 57813 } 57814 intStringLen := int(stringLen) 57815 if intStringLen < 0 { 57816 return ErrInvalidLengthTypes 57817 } 57818 postIndex := iNdEx + intStringLen 57819 if postIndex < 0 { 57820 return ErrInvalidLengthTypes 57821 } 57822 if postIndex > l { 57823 return io.ErrUnexpectedEOF 57824 } 57825 m.ResourceID = string(dAtA[iNdEx:postIndex]) 57826 iNdEx = postIndex 57827 case 3: 57828 if wireType != 2 { 57829 return fmt.Errorf("proto: wrong wireType = %d for field Redis", wireType) 57830 } 57831 var msglen int 57832 for shift := uint(0); ; shift += 7 { 57833 if shift >= 64 { 57834 return ErrIntOverflowTypes 57835 } 57836 if iNdEx >= l { 57837 return io.ErrUnexpectedEOF 57838 } 57839 b := dAtA[iNdEx] 57840 iNdEx++ 57841 msglen |= int(b&0x7F) << shift 57842 if b < 0x80 { 57843 break 57844 } 57845 } 57846 if msglen < 0 { 57847 return ErrInvalidLengthTypes 57848 } 57849 postIndex := iNdEx + msglen 57850 if postIndex < 0 { 57851 return ErrInvalidLengthTypes 57852 } 57853 if postIndex > l { 57854 return io.ErrUnexpectedEOF 57855 } 57856 if err := m.Redis.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 57857 return err 57858 } 57859 iNdEx = postIndex 57860 case 4: 57861 if wireType != 0 { 57862 return fmt.Errorf("proto: wrong wireType = %d for field IsFlexiServer", wireType) 57863 } 57864 var v int 57865 for shift := uint(0); ; shift += 7 { 57866 if shift >= 64 { 57867 return ErrIntOverflowTypes 57868 } 57869 if iNdEx >= l { 57870 return io.ErrUnexpectedEOF 57871 } 57872 b := dAtA[iNdEx] 57873 iNdEx++ 57874 v |= int(b&0x7F) << shift 57875 if b < 0x80 { 57876 break 57877 } 57878 } 57879 m.IsFlexiServer = bool(v != 0) 57880 default: 57881 iNdEx = preIndex 57882 skippy, err := skipTypes(dAtA[iNdEx:]) 57883 if err != nil { 57884 return err 57885 } 57886 if (skippy < 0) || (iNdEx+skippy) < 0 { 57887 return ErrInvalidLengthTypes 57888 } 57889 if (iNdEx + skippy) > l { 57890 return io.ErrUnexpectedEOF 57891 } 57892 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57893 iNdEx += skippy 57894 } 57895 } 57896 57897 if iNdEx > l { 57898 return io.ErrUnexpectedEOF 57899 } 57900 return nil 57901 } 57902 func (m *AzureRedis) Unmarshal(dAtA []byte) error { 57903 l := len(dAtA) 57904 iNdEx := 0 57905 for iNdEx < l { 57906 preIndex := iNdEx 57907 var wire uint64 57908 for shift := uint(0); ; shift += 7 { 57909 if shift >= 64 { 57910 return ErrIntOverflowTypes 57911 } 57912 if iNdEx >= l { 57913 return io.ErrUnexpectedEOF 57914 } 57915 b := dAtA[iNdEx] 57916 iNdEx++ 57917 wire |= uint64(b&0x7F) << shift 57918 if b < 0x80 { 57919 break 57920 } 57921 } 57922 fieldNum := int32(wire >> 3) 57923 wireType := int(wire & 0x7) 57924 if wireType == 4 { 57925 return fmt.Errorf("proto: AzureRedis: wiretype end group for non-group") 57926 } 57927 if fieldNum <= 0 { 57928 return fmt.Errorf("proto: AzureRedis: illegal tag %d (wire type %d)", fieldNum, wire) 57929 } 57930 switch fieldNum { 57931 case 1: 57932 if wireType != 2 { 57933 return fmt.Errorf("proto: wrong wireType = %d for field ClusteringPolicy", wireType) 57934 } 57935 var stringLen uint64 57936 for shift := uint(0); ; shift += 7 { 57937 if shift >= 64 { 57938 return ErrIntOverflowTypes 57939 } 57940 if iNdEx >= l { 57941 return io.ErrUnexpectedEOF 57942 } 57943 b := dAtA[iNdEx] 57944 iNdEx++ 57945 stringLen |= uint64(b&0x7F) << shift 57946 if b < 0x80 { 57947 break 57948 } 57949 } 57950 intStringLen := int(stringLen) 57951 if intStringLen < 0 { 57952 return ErrInvalidLengthTypes 57953 } 57954 postIndex := iNdEx + intStringLen 57955 if postIndex < 0 { 57956 return ErrInvalidLengthTypes 57957 } 57958 if postIndex > l { 57959 return io.ErrUnexpectedEOF 57960 } 57961 m.ClusteringPolicy = string(dAtA[iNdEx:postIndex]) 57962 iNdEx = postIndex 57963 default: 57964 iNdEx = preIndex 57965 skippy, err := skipTypes(dAtA[iNdEx:]) 57966 if err != nil { 57967 return err 57968 } 57969 if (skippy < 0) || (iNdEx+skippy) < 0 { 57970 return ErrInvalidLengthTypes 57971 } 57972 if (iNdEx + skippy) > l { 57973 return io.ErrUnexpectedEOF 57974 } 57975 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57976 iNdEx += skippy 57977 } 57978 } 57979 57980 if iNdEx > l { 57981 return io.ErrUnexpectedEOF 57982 } 57983 return nil 57984 } 57985 func (m *AD) Unmarshal(dAtA []byte) error { 57986 l := len(dAtA) 57987 iNdEx := 0 57988 for iNdEx < l { 57989 preIndex := iNdEx 57990 var wire uint64 57991 for shift := uint(0); ; shift += 7 { 57992 if shift >= 64 { 57993 return ErrIntOverflowTypes 57994 } 57995 if iNdEx >= l { 57996 return io.ErrUnexpectedEOF 57997 } 57998 b := dAtA[iNdEx] 57999 iNdEx++ 58000 wire |= uint64(b&0x7F) << shift 58001 if b < 0x80 { 58002 break 58003 } 58004 } 58005 fieldNum := int32(wire >> 3) 58006 wireType := int(wire & 0x7) 58007 if wireType == 4 { 58008 return fmt.Errorf("proto: AD: wiretype end group for non-group") 58009 } 58010 if fieldNum <= 0 { 58011 return fmt.Errorf("proto: AD: illegal tag %d (wire type %d)", fieldNum, wire) 58012 } 58013 switch fieldNum { 58014 case 1: 58015 if wireType != 2 { 58016 return fmt.Errorf("proto: wrong wireType = %d for field KeytabFile", wireType) 58017 } 58018 var stringLen uint64 58019 for shift := uint(0); ; shift += 7 { 58020 if shift >= 64 { 58021 return ErrIntOverflowTypes 58022 } 58023 if iNdEx >= l { 58024 return io.ErrUnexpectedEOF 58025 } 58026 b := dAtA[iNdEx] 58027 iNdEx++ 58028 stringLen |= uint64(b&0x7F) << shift 58029 if b < 0x80 { 58030 break 58031 } 58032 } 58033 intStringLen := int(stringLen) 58034 if intStringLen < 0 { 58035 return ErrInvalidLengthTypes 58036 } 58037 postIndex := iNdEx + intStringLen 58038 if postIndex < 0 { 58039 return ErrInvalidLengthTypes 58040 } 58041 if postIndex > l { 58042 return io.ErrUnexpectedEOF 58043 } 58044 m.KeytabFile = string(dAtA[iNdEx:postIndex]) 58045 iNdEx = postIndex 58046 case 2: 58047 if wireType != 2 { 58048 return fmt.Errorf("proto: wrong wireType = %d for field Krb5File", wireType) 58049 } 58050 var stringLen uint64 58051 for shift := uint(0); ; shift += 7 { 58052 if shift >= 64 { 58053 return ErrIntOverflowTypes 58054 } 58055 if iNdEx >= l { 58056 return io.ErrUnexpectedEOF 58057 } 58058 b := dAtA[iNdEx] 58059 iNdEx++ 58060 stringLen |= uint64(b&0x7F) << shift 58061 if b < 0x80 { 58062 break 58063 } 58064 } 58065 intStringLen := int(stringLen) 58066 if intStringLen < 0 { 58067 return ErrInvalidLengthTypes 58068 } 58069 postIndex := iNdEx + intStringLen 58070 if postIndex < 0 { 58071 return ErrInvalidLengthTypes 58072 } 58073 if postIndex > l { 58074 return io.ErrUnexpectedEOF 58075 } 58076 m.Krb5File = string(dAtA[iNdEx:postIndex]) 58077 iNdEx = postIndex 58078 case 3: 58079 if wireType != 2 { 58080 return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) 58081 } 58082 var stringLen uint64 58083 for shift := uint(0); ; shift += 7 { 58084 if shift >= 64 { 58085 return ErrIntOverflowTypes 58086 } 58087 if iNdEx >= l { 58088 return io.ErrUnexpectedEOF 58089 } 58090 b := dAtA[iNdEx] 58091 iNdEx++ 58092 stringLen |= uint64(b&0x7F) << shift 58093 if b < 0x80 { 58094 break 58095 } 58096 } 58097 intStringLen := int(stringLen) 58098 if intStringLen < 0 { 58099 return ErrInvalidLengthTypes 58100 } 58101 postIndex := iNdEx + intStringLen 58102 if postIndex < 0 { 58103 return ErrInvalidLengthTypes 58104 } 58105 if postIndex > l { 58106 return io.ErrUnexpectedEOF 58107 } 58108 m.Domain = string(dAtA[iNdEx:postIndex]) 58109 iNdEx = postIndex 58110 case 4: 58111 if wireType != 2 { 58112 return fmt.Errorf("proto: wrong wireType = %d for field SPN", wireType) 58113 } 58114 var stringLen uint64 58115 for shift := uint(0); ; shift += 7 { 58116 if shift >= 64 { 58117 return ErrIntOverflowTypes 58118 } 58119 if iNdEx >= l { 58120 return io.ErrUnexpectedEOF 58121 } 58122 b := dAtA[iNdEx] 58123 iNdEx++ 58124 stringLen |= uint64(b&0x7F) << shift 58125 if b < 0x80 { 58126 break 58127 } 58128 } 58129 intStringLen := int(stringLen) 58130 if intStringLen < 0 { 58131 return ErrInvalidLengthTypes 58132 } 58133 postIndex := iNdEx + intStringLen 58134 if postIndex < 0 { 58135 return ErrInvalidLengthTypes 58136 } 58137 if postIndex > l { 58138 return io.ErrUnexpectedEOF 58139 } 58140 m.SPN = string(dAtA[iNdEx:postIndex]) 58141 iNdEx = postIndex 58142 case 5: 58143 if wireType != 2 { 58144 return fmt.Errorf("proto: wrong wireType = %d for field LDAPCert", wireType) 58145 } 58146 var stringLen uint64 58147 for shift := uint(0); ; shift += 7 { 58148 if shift >= 64 { 58149 return ErrIntOverflowTypes 58150 } 58151 if iNdEx >= l { 58152 return io.ErrUnexpectedEOF 58153 } 58154 b := dAtA[iNdEx] 58155 iNdEx++ 58156 stringLen |= uint64(b&0x7F) << shift 58157 if b < 0x80 { 58158 break 58159 } 58160 } 58161 intStringLen := int(stringLen) 58162 if intStringLen < 0 { 58163 return ErrInvalidLengthTypes 58164 } 58165 postIndex := iNdEx + intStringLen 58166 if postIndex < 0 { 58167 return ErrInvalidLengthTypes 58168 } 58169 if postIndex > l { 58170 return io.ErrUnexpectedEOF 58171 } 58172 m.LDAPCert = string(dAtA[iNdEx:postIndex]) 58173 iNdEx = postIndex 58174 case 6: 58175 if wireType != 2 { 58176 return fmt.Errorf("proto: wrong wireType = %d for field KDCHostName", wireType) 58177 } 58178 var stringLen uint64 58179 for shift := uint(0); ; shift += 7 { 58180 if shift >= 64 { 58181 return ErrIntOverflowTypes 58182 } 58183 if iNdEx >= l { 58184 return io.ErrUnexpectedEOF 58185 } 58186 b := dAtA[iNdEx] 58187 iNdEx++ 58188 stringLen |= uint64(b&0x7F) << shift 58189 if b < 0x80 { 58190 break 58191 } 58192 } 58193 intStringLen := int(stringLen) 58194 if intStringLen < 0 { 58195 return ErrInvalidLengthTypes 58196 } 58197 postIndex := iNdEx + intStringLen 58198 if postIndex < 0 { 58199 return ErrInvalidLengthTypes 58200 } 58201 if postIndex > l { 58202 return io.ErrUnexpectedEOF 58203 } 58204 m.KDCHostName = string(dAtA[iNdEx:postIndex]) 58205 iNdEx = postIndex 58206 default: 58207 iNdEx = preIndex 58208 skippy, err := skipTypes(dAtA[iNdEx:]) 58209 if err != nil { 58210 return err 58211 } 58212 if (skippy < 0) || (iNdEx+skippy) < 0 { 58213 return ErrInvalidLengthTypes 58214 } 58215 if (iNdEx + skippy) > l { 58216 return io.ErrUnexpectedEOF 58217 } 58218 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58219 iNdEx += skippy 58220 } 58221 } 58222 58223 if iNdEx > l { 58224 return io.ErrUnexpectedEOF 58225 } 58226 return nil 58227 } 58228 func (m *DatabaseTLS) Unmarshal(dAtA []byte) error { 58229 l := len(dAtA) 58230 iNdEx := 0 58231 for iNdEx < l { 58232 preIndex := iNdEx 58233 var wire uint64 58234 for shift := uint(0); ; shift += 7 { 58235 if shift >= 64 { 58236 return ErrIntOverflowTypes 58237 } 58238 if iNdEx >= l { 58239 return io.ErrUnexpectedEOF 58240 } 58241 b := dAtA[iNdEx] 58242 iNdEx++ 58243 wire |= uint64(b&0x7F) << shift 58244 if b < 0x80 { 58245 break 58246 } 58247 } 58248 fieldNum := int32(wire >> 3) 58249 wireType := int(wire & 0x7) 58250 if wireType == 4 { 58251 return fmt.Errorf("proto: DatabaseTLS: wiretype end group for non-group") 58252 } 58253 if fieldNum <= 0 { 58254 return fmt.Errorf("proto: DatabaseTLS: illegal tag %d (wire type %d)", fieldNum, wire) 58255 } 58256 switch fieldNum { 58257 case 1: 58258 if wireType != 0 { 58259 return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) 58260 } 58261 m.Mode = 0 58262 for shift := uint(0); ; shift += 7 { 58263 if shift >= 64 { 58264 return ErrIntOverflowTypes 58265 } 58266 if iNdEx >= l { 58267 return io.ErrUnexpectedEOF 58268 } 58269 b := dAtA[iNdEx] 58270 iNdEx++ 58271 m.Mode |= DatabaseTLSMode(b&0x7F) << shift 58272 if b < 0x80 { 58273 break 58274 } 58275 } 58276 case 2: 58277 if wireType != 2 { 58278 return fmt.Errorf("proto: wrong wireType = %d for field CACert", wireType) 58279 } 58280 var stringLen uint64 58281 for shift := uint(0); ; shift += 7 { 58282 if shift >= 64 { 58283 return ErrIntOverflowTypes 58284 } 58285 if iNdEx >= l { 58286 return io.ErrUnexpectedEOF 58287 } 58288 b := dAtA[iNdEx] 58289 iNdEx++ 58290 stringLen |= uint64(b&0x7F) << shift 58291 if b < 0x80 { 58292 break 58293 } 58294 } 58295 intStringLen := int(stringLen) 58296 if intStringLen < 0 { 58297 return ErrInvalidLengthTypes 58298 } 58299 postIndex := iNdEx + intStringLen 58300 if postIndex < 0 { 58301 return ErrInvalidLengthTypes 58302 } 58303 if postIndex > l { 58304 return io.ErrUnexpectedEOF 58305 } 58306 m.CACert = string(dAtA[iNdEx:postIndex]) 58307 iNdEx = postIndex 58308 case 3: 58309 if wireType != 2 { 58310 return fmt.Errorf("proto: wrong wireType = %d for field ServerName", wireType) 58311 } 58312 var stringLen uint64 58313 for shift := uint(0); ; shift += 7 { 58314 if shift >= 64 { 58315 return ErrIntOverflowTypes 58316 } 58317 if iNdEx >= l { 58318 return io.ErrUnexpectedEOF 58319 } 58320 b := dAtA[iNdEx] 58321 iNdEx++ 58322 stringLen |= uint64(b&0x7F) << shift 58323 if b < 0x80 { 58324 break 58325 } 58326 } 58327 intStringLen := int(stringLen) 58328 if intStringLen < 0 { 58329 return ErrInvalidLengthTypes 58330 } 58331 postIndex := iNdEx + intStringLen 58332 if postIndex < 0 { 58333 return ErrInvalidLengthTypes 58334 } 58335 if postIndex > l { 58336 return io.ErrUnexpectedEOF 58337 } 58338 m.ServerName = string(dAtA[iNdEx:postIndex]) 58339 iNdEx = postIndex 58340 default: 58341 iNdEx = preIndex 58342 skippy, err := skipTypes(dAtA[iNdEx:]) 58343 if err != nil { 58344 return err 58345 } 58346 if (skippy < 0) || (iNdEx+skippy) < 0 { 58347 return ErrInvalidLengthTypes 58348 } 58349 if (iNdEx + skippy) > l { 58350 return io.ErrUnexpectedEOF 58351 } 58352 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58353 iNdEx += skippy 58354 } 58355 } 58356 58357 if iNdEx > l { 58358 return io.ErrUnexpectedEOF 58359 } 58360 return nil 58361 } 58362 func (m *MySQLOptions) Unmarshal(dAtA []byte) error { 58363 l := len(dAtA) 58364 iNdEx := 0 58365 for iNdEx < l { 58366 preIndex := iNdEx 58367 var wire uint64 58368 for shift := uint(0); ; shift += 7 { 58369 if shift >= 64 { 58370 return ErrIntOverflowTypes 58371 } 58372 if iNdEx >= l { 58373 return io.ErrUnexpectedEOF 58374 } 58375 b := dAtA[iNdEx] 58376 iNdEx++ 58377 wire |= uint64(b&0x7F) << shift 58378 if b < 0x80 { 58379 break 58380 } 58381 } 58382 fieldNum := int32(wire >> 3) 58383 wireType := int(wire & 0x7) 58384 if wireType == 4 { 58385 return fmt.Errorf("proto: MySQLOptions: wiretype end group for non-group") 58386 } 58387 if fieldNum <= 0 { 58388 return fmt.Errorf("proto: MySQLOptions: illegal tag %d (wire type %d)", fieldNum, wire) 58389 } 58390 switch fieldNum { 58391 case 1: 58392 if wireType != 2 { 58393 return fmt.Errorf("proto: wrong wireType = %d for field ServerVersion", wireType) 58394 } 58395 var stringLen uint64 58396 for shift := uint(0); ; shift += 7 { 58397 if shift >= 64 { 58398 return ErrIntOverflowTypes 58399 } 58400 if iNdEx >= l { 58401 return io.ErrUnexpectedEOF 58402 } 58403 b := dAtA[iNdEx] 58404 iNdEx++ 58405 stringLen |= uint64(b&0x7F) << shift 58406 if b < 0x80 { 58407 break 58408 } 58409 } 58410 intStringLen := int(stringLen) 58411 if intStringLen < 0 { 58412 return ErrInvalidLengthTypes 58413 } 58414 postIndex := iNdEx + intStringLen 58415 if postIndex < 0 { 58416 return ErrInvalidLengthTypes 58417 } 58418 if postIndex > l { 58419 return io.ErrUnexpectedEOF 58420 } 58421 m.ServerVersion = string(dAtA[iNdEx:postIndex]) 58422 iNdEx = postIndex 58423 default: 58424 iNdEx = preIndex 58425 skippy, err := skipTypes(dAtA[iNdEx:]) 58426 if err != nil { 58427 return err 58428 } 58429 if (skippy < 0) || (iNdEx+skippy) < 0 { 58430 return ErrInvalidLengthTypes 58431 } 58432 if (iNdEx + skippy) > l { 58433 return io.ErrUnexpectedEOF 58434 } 58435 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58436 iNdEx += skippy 58437 } 58438 } 58439 58440 if iNdEx > l { 58441 return io.ErrUnexpectedEOF 58442 } 58443 return nil 58444 } 58445 func (m *MongoAtlas) Unmarshal(dAtA []byte) error { 58446 l := len(dAtA) 58447 iNdEx := 0 58448 for iNdEx < l { 58449 preIndex := iNdEx 58450 var wire uint64 58451 for shift := uint(0); ; shift += 7 { 58452 if shift >= 64 { 58453 return ErrIntOverflowTypes 58454 } 58455 if iNdEx >= l { 58456 return io.ErrUnexpectedEOF 58457 } 58458 b := dAtA[iNdEx] 58459 iNdEx++ 58460 wire |= uint64(b&0x7F) << shift 58461 if b < 0x80 { 58462 break 58463 } 58464 } 58465 fieldNum := int32(wire >> 3) 58466 wireType := int(wire & 0x7) 58467 if wireType == 4 { 58468 return fmt.Errorf("proto: MongoAtlas: wiretype end group for non-group") 58469 } 58470 if fieldNum <= 0 { 58471 return fmt.Errorf("proto: MongoAtlas: illegal tag %d (wire type %d)", fieldNum, wire) 58472 } 58473 switch fieldNum { 58474 case 1: 58475 if wireType != 2 { 58476 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 58477 } 58478 var stringLen uint64 58479 for shift := uint(0); ; shift += 7 { 58480 if shift >= 64 { 58481 return ErrIntOverflowTypes 58482 } 58483 if iNdEx >= l { 58484 return io.ErrUnexpectedEOF 58485 } 58486 b := dAtA[iNdEx] 58487 iNdEx++ 58488 stringLen |= uint64(b&0x7F) << shift 58489 if b < 0x80 { 58490 break 58491 } 58492 } 58493 intStringLen := int(stringLen) 58494 if intStringLen < 0 { 58495 return ErrInvalidLengthTypes 58496 } 58497 postIndex := iNdEx + intStringLen 58498 if postIndex < 0 { 58499 return ErrInvalidLengthTypes 58500 } 58501 if postIndex > l { 58502 return io.ErrUnexpectedEOF 58503 } 58504 m.Name = string(dAtA[iNdEx:postIndex]) 58505 iNdEx = postIndex 58506 default: 58507 iNdEx = preIndex 58508 skippy, err := skipTypes(dAtA[iNdEx:]) 58509 if err != nil { 58510 return err 58511 } 58512 if (skippy < 0) || (iNdEx+skippy) < 0 { 58513 return ErrInvalidLengthTypes 58514 } 58515 if (iNdEx + skippy) > l { 58516 return io.ErrUnexpectedEOF 58517 } 58518 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58519 iNdEx += skippy 58520 } 58521 } 58522 58523 if iNdEx > l { 58524 return io.ErrUnexpectedEOF 58525 } 58526 return nil 58527 } 58528 func (m *InstanceV1) Unmarshal(dAtA []byte) error { 58529 l := len(dAtA) 58530 iNdEx := 0 58531 for iNdEx < l { 58532 preIndex := iNdEx 58533 var wire uint64 58534 for shift := uint(0); ; shift += 7 { 58535 if shift >= 64 { 58536 return ErrIntOverflowTypes 58537 } 58538 if iNdEx >= l { 58539 return io.ErrUnexpectedEOF 58540 } 58541 b := dAtA[iNdEx] 58542 iNdEx++ 58543 wire |= uint64(b&0x7F) << shift 58544 if b < 0x80 { 58545 break 58546 } 58547 } 58548 fieldNum := int32(wire >> 3) 58549 wireType := int(wire & 0x7) 58550 if wireType == 4 { 58551 return fmt.Errorf("proto: InstanceV1: wiretype end group for non-group") 58552 } 58553 if fieldNum <= 0 { 58554 return fmt.Errorf("proto: InstanceV1: illegal tag %d (wire type %d)", fieldNum, wire) 58555 } 58556 switch fieldNum { 58557 case 1: 58558 if wireType != 2 { 58559 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 58560 } 58561 var msglen int 58562 for shift := uint(0); ; shift += 7 { 58563 if shift >= 64 { 58564 return ErrIntOverflowTypes 58565 } 58566 if iNdEx >= l { 58567 return io.ErrUnexpectedEOF 58568 } 58569 b := dAtA[iNdEx] 58570 iNdEx++ 58571 msglen |= int(b&0x7F) << shift 58572 if b < 0x80 { 58573 break 58574 } 58575 } 58576 if msglen < 0 { 58577 return ErrInvalidLengthTypes 58578 } 58579 postIndex := iNdEx + msglen 58580 if postIndex < 0 { 58581 return ErrInvalidLengthTypes 58582 } 58583 if postIndex > l { 58584 return io.ErrUnexpectedEOF 58585 } 58586 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 58587 return err 58588 } 58589 iNdEx = postIndex 58590 case 2: 58591 if wireType != 2 { 58592 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 58593 } 58594 var msglen int 58595 for shift := uint(0); ; shift += 7 { 58596 if shift >= 64 { 58597 return ErrIntOverflowTypes 58598 } 58599 if iNdEx >= l { 58600 return io.ErrUnexpectedEOF 58601 } 58602 b := dAtA[iNdEx] 58603 iNdEx++ 58604 msglen |= int(b&0x7F) << shift 58605 if b < 0x80 { 58606 break 58607 } 58608 } 58609 if msglen < 0 { 58610 return ErrInvalidLengthTypes 58611 } 58612 postIndex := iNdEx + msglen 58613 if postIndex < 0 { 58614 return ErrInvalidLengthTypes 58615 } 58616 if postIndex > l { 58617 return io.ErrUnexpectedEOF 58618 } 58619 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 58620 return err 58621 } 58622 iNdEx = postIndex 58623 default: 58624 iNdEx = preIndex 58625 skippy, err := skipTypes(dAtA[iNdEx:]) 58626 if err != nil { 58627 return err 58628 } 58629 if (skippy < 0) || (iNdEx+skippy) < 0 { 58630 return ErrInvalidLengthTypes 58631 } 58632 if (iNdEx + skippy) > l { 58633 return io.ErrUnexpectedEOF 58634 } 58635 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58636 iNdEx += skippy 58637 } 58638 } 58639 58640 if iNdEx > l { 58641 return io.ErrUnexpectedEOF 58642 } 58643 return nil 58644 } 58645 func (m *InstanceSpecV1) Unmarshal(dAtA []byte) error { 58646 l := len(dAtA) 58647 iNdEx := 0 58648 for iNdEx < l { 58649 preIndex := iNdEx 58650 var wire uint64 58651 for shift := uint(0); ; shift += 7 { 58652 if shift >= 64 { 58653 return ErrIntOverflowTypes 58654 } 58655 if iNdEx >= l { 58656 return io.ErrUnexpectedEOF 58657 } 58658 b := dAtA[iNdEx] 58659 iNdEx++ 58660 wire |= uint64(b&0x7F) << shift 58661 if b < 0x80 { 58662 break 58663 } 58664 } 58665 fieldNum := int32(wire >> 3) 58666 wireType := int(wire & 0x7) 58667 if wireType == 4 { 58668 return fmt.Errorf("proto: InstanceSpecV1: wiretype end group for non-group") 58669 } 58670 if fieldNum <= 0 { 58671 return fmt.Errorf("proto: InstanceSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 58672 } 58673 switch fieldNum { 58674 case 1: 58675 if wireType != 2 { 58676 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 58677 } 58678 var stringLen uint64 58679 for shift := uint(0); ; shift += 7 { 58680 if shift >= 64 { 58681 return ErrIntOverflowTypes 58682 } 58683 if iNdEx >= l { 58684 return io.ErrUnexpectedEOF 58685 } 58686 b := dAtA[iNdEx] 58687 iNdEx++ 58688 stringLen |= uint64(b&0x7F) << shift 58689 if b < 0x80 { 58690 break 58691 } 58692 } 58693 intStringLen := int(stringLen) 58694 if intStringLen < 0 { 58695 return ErrInvalidLengthTypes 58696 } 58697 postIndex := iNdEx + intStringLen 58698 if postIndex < 0 { 58699 return ErrInvalidLengthTypes 58700 } 58701 if postIndex > l { 58702 return io.ErrUnexpectedEOF 58703 } 58704 m.Version = string(dAtA[iNdEx:postIndex]) 58705 iNdEx = postIndex 58706 case 2: 58707 if wireType != 2 { 58708 return fmt.Errorf("proto: wrong wireType = %d for field Services", wireType) 58709 } 58710 var stringLen uint64 58711 for shift := uint(0); ; shift += 7 { 58712 if shift >= 64 { 58713 return ErrIntOverflowTypes 58714 } 58715 if iNdEx >= l { 58716 return io.ErrUnexpectedEOF 58717 } 58718 b := dAtA[iNdEx] 58719 iNdEx++ 58720 stringLen |= uint64(b&0x7F) << shift 58721 if b < 0x80 { 58722 break 58723 } 58724 } 58725 intStringLen := int(stringLen) 58726 if intStringLen < 0 { 58727 return ErrInvalidLengthTypes 58728 } 58729 postIndex := iNdEx + intStringLen 58730 if postIndex < 0 { 58731 return ErrInvalidLengthTypes 58732 } 58733 if postIndex > l { 58734 return io.ErrUnexpectedEOF 58735 } 58736 m.Services = append(m.Services, SystemRole(dAtA[iNdEx:postIndex])) 58737 iNdEx = postIndex 58738 case 3: 58739 if wireType != 2 { 58740 return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) 58741 } 58742 var stringLen uint64 58743 for shift := uint(0); ; shift += 7 { 58744 if shift >= 64 { 58745 return ErrIntOverflowTypes 58746 } 58747 if iNdEx >= l { 58748 return io.ErrUnexpectedEOF 58749 } 58750 b := dAtA[iNdEx] 58751 iNdEx++ 58752 stringLen |= uint64(b&0x7F) << shift 58753 if b < 0x80 { 58754 break 58755 } 58756 } 58757 intStringLen := int(stringLen) 58758 if intStringLen < 0 { 58759 return ErrInvalidLengthTypes 58760 } 58761 postIndex := iNdEx + intStringLen 58762 if postIndex < 0 { 58763 return ErrInvalidLengthTypes 58764 } 58765 if postIndex > l { 58766 return io.ErrUnexpectedEOF 58767 } 58768 m.Hostname = string(dAtA[iNdEx:postIndex]) 58769 iNdEx = postIndex 58770 case 4: 58771 if wireType != 2 { 58772 return fmt.Errorf("proto: wrong wireType = %d for field AuthID", wireType) 58773 } 58774 var stringLen uint64 58775 for shift := uint(0); ; shift += 7 { 58776 if shift >= 64 { 58777 return ErrIntOverflowTypes 58778 } 58779 if iNdEx >= l { 58780 return io.ErrUnexpectedEOF 58781 } 58782 b := dAtA[iNdEx] 58783 iNdEx++ 58784 stringLen |= uint64(b&0x7F) << shift 58785 if b < 0x80 { 58786 break 58787 } 58788 } 58789 intStringLen := int(stringLen) 58790 if intStringLen < 0 { 58791 return ErrInvalidLengthTypes 58792 } 58793 postIndex := iNdEx + intStringLen 58794 if postIndex < 0 { 58795 return ErrInvalidLengthTypes 58796 } 58797 if postIndex > l { 58798 return io.ErrUnexpectedEOF 58799 } 58800 m.AuthID = string(dAtA[iNdEx:postIndex]) 58801 iNdEx = postIndex 58802 case 5: 58803 if wireType != 2 { 58804 return fmt.Errorf("proto: wrong wireType = %d for field LastSeen", wireType) 58805 } 58806 var msglen int 58807 for shift := uint(0); ; shift += 7 { 58808 if shift >= 64 { 58809 return ErrIntOverflowTypes 58810 } 58811 if iNdEx >= l { 58812 return io.ErrUnexpectedEOF 58813 } 58814 b := dAtA[iNdEx] 58815 iNdEx++ 58816 msglen |= int(b&0x7F) << shift 58817 if b < 0x80 { 58818 break 58819 } 58820 } 58821 if msglen < 0 { 58822 return ErrInvalidLengthTypes 58823 } 58824 postIndex := iNdEx + msglen 58825 if postIndex < 0 { 58826 return ErrInvalidLengthTypes 58827 } 58828 if postIndex > l { 58829 return io.ErrUnexpectedEOF 58830 } 58831 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.LastSeen, dAtA[iNdEx:postIndex]); err != nil { 58832 return err 58833 } 58834 iNdEx = postIndex 58835 case 6: 58836 if wireType != 2 { 58837 return fmt.Errorf("proto: wrong wireType = %d for field ControlLog", wireType) 58838 } 58839 var msglen int 58840 for shift := uint(0); ; shift += 7 { 58841 if shift >= 64 { 58842 return ErrIntOverflowTypes 58843 } 58844 if iNdEx >= l { 58845 return io.ErrUnexpectedEOF 58846 } 58847 b := dAtA[iNdEx] 58848 iNdEx++ 58849 msglen |= int(b&0x7F) << shift 58850 if b < 0x80 { 58851 break 58852 } 58853 } 58854 if msglen < 0 { 58855 return ErrInvalidLengthTypes 58856 } 58857 postIndex := iNdEx + msglen 58858 if postIndex < 0 { 58859 return ErrInvalidLengthTypes 58860 } 58861 if postIndex > l { 58862 return io.ErrUnexpectedEOF 58863 } 58864 m.ControlLog = append(m.ControlLog, InstanceControlLogEntry{}) 58865 if err := m.ControlLog[len(m.ControlLog)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 58866 return err 58867 } 58868 iNdEx = postIndex 58869 case 7: 58870 if wireType != 2 { 58871 return fmt.Errorf("proto: wrong wireType = %d for field ExternalUpgrader", wireType) 58872 } 58873 var stringLen uint64 58874 for shift := uint(0); ; shift += 7 { 58875 if shift >= 64 { 58876 return ErrIntOverflowTypes 58877 } 58878 if iNdEx >= l { 58879 return io.ErrUnexpectedEOF 58880 } 58881 b := dAtA[iNdEx] 58882 iNdEx++ 58883 stringLen |= uint64(b&0x7F) << shift 58884 if b < 0x80 { 58885 break 58886 } 58887 } 58888 intStringLen := int(stringLen) 58889 if intStringLen < 0 { 58890 return ErrInvalidLengthTypes 58891 } 58892 postIndex := iNdEx + intStringLen 58893 if postIndex < 0 { 58894 return ErrInvalidLengthTypes 58895 } 58896 if postIndex > l { 58897 return io.ErrUnexpectedEOF 58898 } 58899 m.ExternalUpgrader = string(dAtA[iNdEx:postIndex]) 58900 iNdEx = postIndex 58901 case 8: 58902 if wireType != 2 { 58903 return fmt.Errorf("proto: wrong wireType = %d for field ExternalUpgraderVersion", wireType) 58904 } 58905 var stringLen uint64 58906 for shift := uint(0); ; shift += 7 { 58907 if shift >= 64 { 58908 return ErrIntOverflowTypes 58909 } 58910 if iNdEx >= l { 58911 return io.ErrUnexpectedEOF 58912 } 58913 b := dAtA[iNdEx] 58914 iNdEx++ 58915 stringLen |= uint64(b&0x7F) << shift 58916 if b < 0x80 { 58917 break 58918 } 58919 } 58920 intStringLen := int(stringLen) 58921 if intStringLen < 0 { 58922 return ErrInvalidLengthTypes 58923 } 58924 postIndex := iNdEx + intStringLen 58925 if postIndex < 0 { 58926 return ErrInvalidLengthTypes 58927 } 58928 if postIndex > l { 58929 return io.ErrUnexpectedEOF 58930 } 58931 m.ExternalUpgraderVersion = string(dAtA[iNdEx:postIndex]) 58932 iNdEx = postIndex 58933 default: 58934 iNdEx = preIndex 58935 skippy, err := skipTypes(dAtA[iNdEx:]) 58936 if err != nil { 58937 return err 58938 } 58939 if (skippy < 0) || (iNdEx+skippy) < 0 { 58940 return ErrInvalidLengthTypes 58941 } 58942 if (iNdEx + skippy) > l { 58943 return io.ErrUnexpectedEOF 58944 } 58945 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58946 iNdEx += skippy 58947 } 58948 } 58949 58950 if iNdEx > l { 58951 return io.ErrUnexpectedEOF 58952 } 58953 return nil 58954 } 58955 func (m *InstanceControlLogEntry) Unmarshal(dAtA []byte) error { 58956 l := len(dAtA) 58957 iNdEx := 0 58958 for iNdEx < l { 58959 preIndex := iNdEx 58960 var wire uint64 58961 for shift := uint(0); ; shift += 7 { 58962 if shift >= 64 { 58963 return ErrIntOverflowTypes 58964 } 58965 if iNdEx >= l { 58966 return io.ErrUnexpectedEOF 58967 } 58968 b := dAtA[iNdEx] 58969 iNdEx++ 58970 wire |= uint64(b&0x7F) << shift 58971 if b < 0x80 { 58972 break 58973 } 58974 } 58975 fieldNum := int32(wire >> 3) 58976 wireType := int(wire & 0x7) 58977 if wireType == 4 { 58978 return fmt.Errorf("proto: InstanceControlLogEntry: wiretype end group for non-group") 58979 } 58980 if fieldNum <= 0 { 58981 return fmt.Errorf("proto: InstanceControlLogEntry: illegal tag %d (wire type %d)", fieldNum, wire) 58982 } 58983 switch fieldNum { 58984 case 1: 58985 if wireType != 2 { 58986 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 58987 } 58988 var stringLen uint64 58989 for shift := uint(0); ; shift += 7 { 58990 if shift >= 64 { 58991 return ErrIntOverflowTypes 58992 } 58993 if iNdEx >= l { 58994 return io.ErrUnexpectedEOF 58995 } 58996 b := dAtA[iNdEx] 58997 iNdEx++ 58998 stringLen |= uint64(b&0x7F) << shift 58999 if b < 0x80 { 59000 break 59001 } 59002 } 59003 intStringLen := int(stringLen) 59004 if intStringLen < 0 { 59005 return ErrInvalidLengthTypes 59006 } 59007 postIndex := iNdEx + intStringLen 59008 if postIndex < 0 { 59009 return ErrInvalidLengthTypes 59010 } 59011 if postIndex > l { 59012 return io.ErrUnexpectedEOF 59013 } 59014 m.Type = string(dAtA[iNdEx:postIndex]) 59015 iNdEx = postIndex 59016 case 2: 59017 if wireType != 0 { 59018 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 59019 } 59020 m.ID = 0 59021 for shift := uint(0); ; shift += 7 { 59022 if shift >= 64 { 59023 return ErrIntOverflowTypes 59024 } 59025 if iNdEx >= l { 59026 return io.ErrUnexpectedEOF 59027 } 59028 b := dAtA[iNdEx] 59029 iNdEx++ 59030 m.ID |= uint64(b&0x7F) << shift 59031 if b < 0x80 { 59032 break 59033 } 59034 } 59035 case 3: 59036 if wireType != 2 { 59037 return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType) 59038 } 59039 var msglen int 59040 for shift := uint(0); ; shift += 7 { 59041 if shift >= 64 { 59042 return ErrIntOverflowTypes 59043 } 59044 if iNdEx >= l { 59045 return io.ErrUnexpectedEOF 59046 } 59047 b := dAtA[iNdEx] 59048 iNdEx++ 59049 msglen |= int(b&0x7F) << shift 59050 if b < 0x80 { 59051 break 59052 } 59053 } 59054 if msglen < 0 { 59055 return ErrInvalidLengthTypes 59056 } 59057 postIndex := iNdEx + msglen 59058 if postIndex < 0 { 59059 return ErrInvalidLengthTypes 59060 } 59061 if postIndex > l { 59062 return io.ErrUnexpectedEOF 59063 } 59064 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil { 59065 return err 59066 } 59067 iNdEx = postIndex 59068 case 4: 59069 if wireType != 0 { 59070 return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType) 59071 } 59072 m.TTL = 0 59073 for shift := uint(0); ; shift += 7 { 59074 if shift >= 64 { 59075 return ErrIntOverflowTypes 59076 } 59077 if iNdEx >= l { 59078 return io.ErrUnexpectedEOF 59079 } 59080 b := dAtA[iNdEx] 59081 iNdEx++ 59082 m.TTL |= time.Duration(b&0x7F) << shift 59083 if b < 0x80 { 59084 break 59085 } 59086 } 59087 case 5: 59088 if wireType != 2 { 59089 return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) 59090 } 59091 var msglen int 59092 for shift := uint(0); ; shift += 7 { 59093 if shift >= 64 { 59094 return ErrIntOverflowTypes 59095 } 59096 if iNdEx >= l { 59097 return io.ErrUnexpectedEOF 59098 } 59099 b := dAtA[iNdEx] 59100 iNdEx++ 59101 msglen |= int(b&0x7F) << shift 59102 if b < 0x80 { 59103 break 59104 } 59105 } 59106 if msglen < 0 { 59107 return ErrInvalidLengthTypes 59108 } 59109 postIndex := iNdEx + msglen 59110 if postIndex < 0 { 59111 return ErrInvalidLengthTypes 59112 } 59113 if postIndex > l { 59114 return io.ErrUnexpectedEOF 59115 } 59116 if m.Labels == nil { 59117 m.Labels = make(map[string]string) 59118 } 59119 var mapkey string 59120 var mapvalue string 59121 for iNdEx < postIndex { 59122 entryPreIndex := iNdEx 59123 var wire uint64 59124 for shift := uint(0); ; shift += 7 { 59125 if shift >= 64 { 59126 return ErrIntOverflowTypes 59127 } 59128 if iNdEx >= l { 59129 return io.ErrUnexpectedEOF 59130 } 59131 b := dAtA[iNdEx] 59132 iNdEx++ 59133 wire |= uint64(b&0x7F) << shift 59134 if b < 0x80 { 59135 break 59136 } 59137 } 59138 fieldNum := int32(wire >> 3) 59139 if fieldNum == 1 { 59140 var stringLenmapkey uint64 59141 for shift := uint(0); ; shift += 7 { 59142 if shift >= 64 { 59143 return ErrIntOverflowTypes 59144 } 59145 if iNdEx >= l { 59146 return io.ErrUnexpectedEOF 59147 } 59148 b := dAtA[iNdEx] 59149 iNdEx++ 59150 stringLenmapkey |= uint64(b&0x7F) << shift 59151 if b < 0x80 { 59152 break 59153 } 59154 } 59155 intStringLenmapkey := int(stringLenmapkey) 59156 if intStringLenmapkey < 0 { 59157 return ErrInvalidLengthTypes 59158 } 59159 postStringIndexmapkey := iNdEx + intStringLenmapkey 59160 if postStringIndexmapkey < 0 { 59161 return ErrInvalidLengthTypes 59162 } 59163 if postStringIndexmapkey > l { 59164 return io.ErrUnexpectedEOF 59165 } 59166 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 59167 iNdEx = postStringIndexmapkey 59168 } else if fieldNum == 2 { 59169 var stringLenmapvalue uint64 59170 for shift := uint(0); ; shift += 7 { 59171 if shift >= 64 { 59172 return ErrIntOverflowTypes 59173 } 59174 if iNdEx >= l { 59175 return io.ErrUnexpectedEOF 59176 } 59177 b := dAtA[iNdEx] 59178 iNdEx++ 59179 stringLenmapvalue |= uint64(b&0x7F) << shift 59180 if b < 0x80 { 59181 break 59182 } 59183 } 59184 intStringLenmapvalue := int(stringLenmapvalue) 59185 if intStringLenmapvalue < 0 { 59186 return ErrInvalidLengthTypes 59187 } 59188 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 59189 if postStringIndexmapvalue < 0 { 59190 return ErrInvalidLengthTypes 59191 } 59192 if postStringIndexmapvalue > l { 59193 return io.ErrUnexpectedEOF 59194 } 59195 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 59196 iNdEx = postStringIndexmapvalue 59197 } else { 59198 iNdEx = entryPreIndex 59199 skippy, err := skipTypes(dAtA[iNdEx:]) 59200 if err != nil { 59201 return err 59202 } 59203 if (skippy < 0) || (iNdEx+skippy) < 0 { 59204 return ErrInvalidLengthTypes 59205 } 59206 if (iNdEx + skippy) > postIndex { 59207 return io.ErrUnexpectedEOF 59208 } 59209 iNdEx += skippy 59210 } 59211 } 59212 m.Labels[mapkey] = mapvalue 59213 iNdEx = postIndex 59214 default: 59215 iNdEx = preIndex 59216 skippy, err := skipTypes(dAtA[iNdEx:]) 59217 if err != nil { 59218 return err 59219 } 59220 if (skippy < 0) || (iNdEx+skippy) < 0 { 59221 return ErrInvalidLengthTypes 59222 } 59223 if (iNdEx + skippy) > l { 59224 return io.ErrUnexpectedEOF 59225 } 59226 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 59227 iNdEx += skippy 59228 } 59229 } 59230 59231 if iNdEx > l { 59232 return io.ErrUnexpectedEOF 59233 } 59234 return nil 59235 } 59236 func (m *InstanceFilter) Unmarshal(dAtA []byte) error { 59237 l := len(dAtA) 59238 iNdEx := 0 59239 for iNdEx < l { 59240 preIndex := iNdEx 59241 var wire uint64 59242 for shift := uint(0); ; shift += 7 { 59243 if shift >= 64 { 59244 return ErrIntOverflowTypes 59245 } 59246 if iNdEx >= l { 59247 return io.ErrUnexpectedEOF 59248 } 59249 b := dAtA[iNdEx] 59250 iNdEx++ 59251 wire |= uint64(b&0x7F) << shift 59252 if b < 0x80 { 59253 break 59254 } 59255 } 59256 fieldNum := int32(wire >> 3) 59257 wireType := int(wire & 0x7) 59258 if wireType == 4 { 59259 return fmt.Errorf("proto: InstanceFilter: wiretype end group for non-group") 59260 } 59261 if fieldNum <= 0 { 59262 return fmt.Errorf("proto: InstanceFilter: illegal tag %d (wire type %d)", fieldNum, wire) 59263 } 59264 switch fieldNum { 59265 case 1: 59266 if wireType != 2 { 59267 return fmt.Errorf("proto: wrong wireType = %d for field ServerID", wireType) 59268 } 59269 var stringLen uint64 59270 for shift := uint(0); ; shift += 7 { 59271 if shift >= 64 { 59272 return ErrIntOverflowTypes 59273 } 59274 if iNdEx >= l { 59275 return io.ErrUnexpectedEOF 59276 } 59277 b := dAtA[iNdEx] 59278 iNdEx++ 59279 stringLen |= uint64(b&0x7F) << shift 59280 if b < 0x80 { 59281 break 59282 } 59283 } 59284 intStringLen := int(stringLen) 59285 if intStringLen < 0 { 59286 return ErrInvalidLengthTypes 59287 } 59288 postIndex := iNdEx + intStringLen 59289 if postIndex < 0 { 59290 return ErrInvalidLengthTypes 59291 } 59292 if postIndex > l { 59293 return io.ErrUnexpectedEOF 59294 } 59295 m.ServerID = string(dAtA[iNdEx:postIndex]) 59296 iNdEx = postIndex 59297 case 2: 59298 if wireType != 2 { 59299 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 59300 } 59301 var stringLen uint64 59302 for shift := uint(0); ; shift += 7 { 59303 if shift >= 64 { 59304 return ErrIntOverflowTypes 59305 } 59306 if iNdEx >= l { 59307 return io.ErrUnexpectedEOF 59308 } 59309 b := dAtA[iNdEx] 59310 iNdEx++ 59311 stringLen |= uint64(b&0x7F) << shift 59312 if b < 0x80 { 59313 break 59314 } 59315 } 59316 intStringLen := int(stringLen) 59317 if intStringLen < 0 { 59318 return ErrInvalidLengthTypes 59319 } 59320 postIndex := iNdEx + intStringLen 59321 if postIndex < 0 { 59322 return ErrInvalidLengthTypes 59323 } 59324 if postIndex > l { 59325 return io.ErrUnexpectedEOF 59326 } 59327 m.Version = string(dAtA[iNdEx:postIndex]) 59328 iNdEx = postIndex 59329 case 3: 59330 if wireType != 2 { 59331 return fmt.Errorf("proto: wrong wireType = %d for field Services", wireType) 59332 } 59333 var stringLen uint64 59334 for shift := uint(0); ; shift += 7 { 59335 if shift >= 64 { 59336 return ErrIntOverflowTypes 59337 } 59338 if iNdEx >= l { 59339 return io.ErrUnexpectedEOF 59340 } 59341 b := dAtA[iNdEx] 59342 iNdEx++ 59343 stringLen |= uint64(b&0x7F) << shift 59344 if b < 0x80 { 59345 break 59346 } 59347 } 59348 intStringLen := int(stringLen) 59349 if intStringLen < 0 { 59350 return ErrInvalidLengthTypes 59351 } 59352 postIndex := iNdEx + intStringLen 59353 if postIndex < 0 { 59354 return ErrInvalidLengthTypes 59355 } 59356 if postIndex > l { 59357 return io.ErrUnexpectedEOF 59358 } 59359 m.Services = append(m.Services, SystemRole(dAtA[iNdEx:postIndex])) 59360 iNdEx = postIndex 59361 case 4: 59362 if wireType != 2 { 59363 return fmt.Errorf("proto: wrong wireType = %d for field ExternalUpgrader", wireType) 59364 } 59365 var stringLen uint64 59366 for shift := uint(0); ; shift += 7 { 59367 if shift >= 64 { 59368 return ErrIntOverflowTypes 59369 } 59370 if iNdEx >= l { 59371 return io.ErrUnexpectedEOF 59372 } 59373 b := dAtA[iNdEx] 59374 iNdEx++ 59375 stringLen |= uint64(b&0x7F) << shift 59376 if b < 0x80 { 59377 break 59378 } 59379 } 59380 intStringLen := int(stringLen) 59381 if intStringLen < 0 { 59382 return ErrInvalidLengthTypes 59383 } 59384 postIndex := iNdEx + intStringLen 59385 if postIndex < 0 { 59386 return ErrInvalidLengthTypes 59387 } 59388 if postIndex > l { 59389 return io.ErrUnexpectedEOF 59390 } 59391 m.ExternalUpgrader = string(dAtA[iNdEx:postIndex]) 59392 iNdEx = postIndex 59393 case 5: 59394 if wireType != 0 { 59395 return fmt.Errorf("proto: wrong wireType = %d for field NoExtUpgrader", wireType) 59396 } 59397 var v int 59398 for shift := uint(0); ; shift += 7 { 59399 if shift >= 64 { 59400 return ErrIntOverflowTypes 59401 } 59402 if iNdEx >= l { 59403 return io.ErrUnexpectedEOF 59404 } 59405 b := dAtA[iNdEx] 59406 iNdEx++ 59407 v |= int(b&0x7F) << shift 59408 if b < 0x80 { 59409 break 59410 } 59411 } 59412 m.NoExtUpgrader = bool(v != 0) 59413 case 6: 59414 if wireType != 2 { 59415 return fmt.Errorf("proto: wrong wireType = %d for field OlderThanVersion", wireType) 59416 } 59417 var stringLen uint64 59418 for shift := uint(0); ; shift += 7 { 59419 if shift >= 64 { 59420 return ErrIntOverflowTypes 59421 } 59422 if iNdEx >= l { 59423 return io.ErrUnexpectedEOF 59424 } 59425 b := dAtA[iNdEx] 59426 iNdEx++ 59427 stringLen |= uint64(b&0x7F) << shift 59428 if b < 0x80 { 59429 break 59430 } 59431 } 59432 intStringLen := int(stringLen) 59433 if intStringLen < 0 { 59434 return ErrInvalidLengthTypes 59435 } 59436 postIndex := iNdEx + intStringLen 59437 if postIndex < 0 { 59438 return ErrInvalidLengthTypes 59439 } 59440 if postIndex > l { 59441 return io.ErrUnexpectedEOF 59442 } 59443 m.OlderThanVersion = string(dAtA[iNdEx:postIndex]) 59444 iNdEx = postIndex 59445 case 7: 59446 if wireType != 2 { 59447 return fmt.Errorf("proto: wrong wireType = %d for field NewerThanVersion", wireType) 59448 } 59449 var stringLen uint64 59450 for shift := uint(0); ; shift += 7 { 59451 if shift >= 64 { 59452 return ErrIntOverflowTypes 59453 } 59454 if iNdEx >= l { 59455 return io.ErrUnexpectedEOF 59456 } 59457 b := dAtA[iNdEx] 59458 iNdEx++ 59459 stringLen |= uint64(b&0x7F) << shift 59460 if b < 0x80 { 59461 break 59462 } 59463 } 59464 intStringLen := int(stringLen) 59465 if intStringLen < 0 { 59466 return ErrInvalidLengthTypes 59467 } 59468 postIndex := iNdEx + intStringLen 59469 if postIndex < 0 { 59470 return ErrInvalidLengthTypes 59471 } 59472 if postIndex > l { 59473 return io.ErrUnexpectedEOF 59474 } 59475 m.NewerThanVersion = string(dAtA[iNdEx:postIndex]) 59476 iNdEx = postIndex 59477 default: 59478 iNdEx = preIndex 59479 skippy, err := skipTypes(dAtA[iNdEx:]) 59480 if err != nil { 59481 return err 59482 } 59483 if (skippy < 0) || (iNdEx+skippy) < 0 { 59484 return ErrInvalidLengthTypes 59485 } 59486 if (iNdEx + skippy) > l { 59487 return io.ErrUnexpectedEOF 59488 } 59489 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 59490 iNdEx += skippy 59491 } 59492 } 59493 59494 if iNdEx > l { 59495 return io.ErrUnexpectedEOF 59496 } 59497 return nil 59498 } 59499 func (m *ServerV2) Unmarshal(dAtA []byte) error { 59500 l := len(dAtA) 59501 iNdEx := 0 59502 for iNdEx < l { 59503 preIndex := iNdEx 59504 var wire uint64 59505 for shift := uint(0); ; shift += 7 { 59506 if shift >= 64 { 59507 return ErrIntOverflowTypes 59508 } 59509 if iNdEx >= l { 59510 return io.ErrUnexpectedEOF 59511 } 59512 b := dAtA[iNdEx] 59513 iNdEx++ 59514 wire |= uint64(b&0x7F) << shift 59515 if b < 0x80 { 59516 break 59517 } 59518 } 59519 fieldNum := int32(wire >> 3) 59520 wireType := int(wire & 0x7) 59521 if wireType == 4 { 59522 return fmt.Errorf("proto: ServerV2: wiretype end group for non-group") 59523 } 59524 if fieldNum <= 0 { 59525 return fmt.Errorf("proto: ServerV2: illegal tag %d (wire type %d)", fieldNum, wire) 59526 } 59527 switch fieldNum { 59528 case 1: 59529 if wireType != 2 { 59530 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 59531 } 59532 var stringLen uint64 59533 for shift := uint(0); ; shift += 7 { 59534 if shift >= 64 { 59535 return ErrIntOverflowTypes 59536 } 59537 if iNdEx >= l { 59538 return io.ErrUnexpectedEOF 59539 } 59540 b := dAtA[iNdEx] 59541 iNdEx++ 59542 stringLen |= uint64(b&0x7F) << shift 59543 if b < 0x80 { 59544 break 59545 } 59546 } 59547 intStringLen := int(stringLen) 59548 if intStringLen < 0 { 59549 return ErrInvalidLengthTypes 59550 } 59551 postIndex := iNdEx + intStringLen 59552 if postIndex < 0 { 59553 return ErrInvalidLengthTypes 59554 } 59555 if postIndex > l { 59556 return io.ErrUnexpectedEOF 59557 } 59558 m.Kind = string(dAtA[iNdEx:postIndex]) 59559 iNdEx = postIndex 59560 case 2: 59561 if wireType != 2 { 59562 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 59563 } 59564 var stringLen uint64 59565 for shift := uint(0); ; shift += 7 { 59566 if shift >= 64 { 59567 return ErrIntOverflowTypes 59568 } 59569 if iNdEx >= l { 59570 return io.ErrUnexpectedEOF 59571 } 59572 b := dAtA[iNdEx] 59573 iNdEx++ 59574 stringLen |= uint64(b&0x7F) << shift 59575 if b < 0x80 { 59576 break 59577 } 59578 } 59579 intStringLen := int(stringLen) 59580 if intStringLen < 0 { 59581 return ErrInvalidLengthTypes 59582 } 59583 postIndex := iNdEx + intStringLen 59584 if postIndex < 0 { 59585 return ErrInvalidLengthTypes 59586 } 59587 if postIndex > l { 59588 return io.ErrUnexpectedEOF 59589 } 59590 m.SubKind = string(dAtA[iNdEx:postIndex]) 59591 iNdEx = postIndex 59592 case 3: 59593 if wireType != 2 { 59594 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 59595 } 59596 var stringLen uint64 59597 for shift := uint(0); ; shift += 7 { 59598 if shift >= 64 { 59599 return ErrIntOverflowTypes 59600 } 59601 if iNdEx >= l { 59602 return io.ErrUnexpectedEOF 59603 } 59604 b := dAtA[iNdEx] 59605 iNdEx++ 59606 stringLen |= uint64(b&0x7F) << shift 59607 if b < 0x80 { 59608 break 59609 } 59610 } 59611 intStringLen := int(stringLen) 59612 if intStringLen < 0 { 59613 return ErrInvalidLengthTypes 59614 } 59615 postIndex := iNdEx + intStringLen 59616 if postIndex < 0 { 59617 return ErrInvalidLengthTypes 59618 } 59619 if postIndex > l { 59620 return io.ErrUnexpectedEOF 59621 } 59622 m.Version = string(dAtA[iNdEx:postIndex]) 59623 iNdEx = postIndex 59624 case 4: 59625 if wireType != 2 { 59626 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 59627 } 59628 var msglen int 59629 for shift := uint(0); ; shift += 7 { 59630 if shift >= 64 { 59631 return ErrIntOverflowTypes 59632 } 59633 if iNdEx >= l { 59634 return io.ErrUnexpectedEOF 59635 } 59636 b := dAtA[iNdEx] 59637 iNdEx++ 59638 msglen |= int(b&0x7F) << shift 59639 if b < 0x80 { 59640 break 59641 } 59642 } 59643 if msglen < 0 { 59644 return ErrInvalidLengthTypes 59645 } 59646 postIndex := iNdEx + msglen 59647 if postIndex < 0 { 59648 return ErrInvalidLengthTypes 59649 } 59650 if postIndex > l { 59651 return io.ErrUnexpectedEOF 59652 } 59653 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 59654 return err 59655 } 59656 iNdEx = postIndex 59657 case 5: 59658 if wireType != 2 { 59659 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 59660 } 59661 var msglen int 59662 for shift := uint(0); ; shift += 7 { 59663 if shift >= 64 { 59664 return ErrIntOverflowTypes 59665 } 59666 if iNdEx >= l { 59667 return io.ErrUnexpectedEOF 59668 } 59669 b := dAtA[iNdEx] 59670 iNdEx++ 59671 msglen |= int(b&0x7F) << shift 59672 if b < 0x80 { 59673 break 59674 } 59675 } 59676 if msglen < 0 { 59677 return ErrInvalidLengthTypes 59678 } 59679 postIndex := iNdEx + msglen 59680 if postIndex < 0 { 59681 return ErrInvalidLengthTypes 59682 } 59683 if postIndex > l { 59684 return io.ErrUnexpectedEOF 59685 } 59686 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 59687 return err 59688 } 59689 iNdEx = postIndex 59690 default: 59691 iNdEx = preIndex 59692 skippy, err := skipTypes(dAtA[iNdEx:]) 59693 if err != nil { 59694 return err 59695 } 59696 if (skippy < 0) || (iNdEx+skippy) < 0 { 59697 return ErrInvalidLengthTypes 59698 } 59699 if (iNdEx + skippy) > l { 59700 return io.ErrUnexpectedEOF 59701 } 59702 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 59703 iNdEx += skippy 59704 } 59705 } 59706 59707 if iNdEx > l { 59708 return io.ErrUnexpectedEOF 59709 } 59710 return nil 59711 } 59712 func (m *ServerSpecV2) Unmarshal(dAtA []byte) error { 59713 l := len(dAtA) 59714 iNdEx := 0 59715 for iNdEx < l { 59716 preIndex := iNdEx 59717 var wire uint64 59718 for shift := uint(0); ; shift += 7 { 59719 if shift >= 64 { 59720 return ErrIntOverflowTypes 59721 } 59722 if iNdEx >= l { 59723 return io.ErrUnexpectedEOF 59724 } 59725 b := dAtA[iNdEx] 59726 iNdEx++ 59727 wire |= uint64(b&0x7F) << shift 59728 if b < 0x80 { 59729 break 59730 } 59731 } 59732 fieldNum := int32(wire >> 3) 59733 wireType := int(wire & 0x7) 59734 if wireType == 4 { 59735 return fmt.Errorf("proto: ServerSpecV2: wiretype end group for non-group") 59736 } 59737 if fieldNum <= 0 { 59738 return fmt.Errorf("proto: ServerSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 59739 } 59740 switch fieldNum { 59741 case 1: 59742 if wireType != 2 { 59743 return fmt.Errorf("proto: wrong wireType = %d for field Addr", wireType) 59744 } 59745 var stringLen uint64 59746 for shift := uint(0); ; shift += 7 { 59747 if shift >= 64 { 59748 return ErrIntOverflowTypes 59749 } 59750 if iNdEx >= l { 59751 return io.ErrUnexpectedEOF 59752 } 59753 b := dAtA[iNdEx] 59754 iNdEx++ 59755 stringLen |= uint64(b&0x7F) << shift 59756 if b < 0x80 { 59757 break 59758 } 59759 } 59760 intStringLen := int(stringLen) 59761 if intStringLen < 0 { 59762 return ErrInvalidLengthTypes 59763 } 59764 postIndex := iNdEx + intStringLen 59765 if postIndex < 0 { 59766 return ErrInvalidLengthTypes 59767 } 59768 if postIndex > l { 59769 return io.ErrUnexpectedEOF 59770 } 59771 m.Addr = string(dAtA[iNdEx:postIndex]) 59772 iNdEx = postIndex 59773 case 3: 59774 if wireType != 2 { 59775 return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) 59776 } 59777 var stringLen uint64 59778 for shift := uint(0); ; shift += 7 { 59779 if shift >= 64 { 59780 return ErrIntOverflowTypes 59781 } 59782 if iNdEx >= l { 59783 return io.ErrUnexpectedEOF 59784 } 59785 b := dAtA[iNdEx] 59786 iNdEx++ 59787 stringLen |= uint64(b&0x7F) << shift 59788 if b < 0x80 { 59789 break 59790 } 59791 } 59792 intStringLen := int(stringLen) 59793 if intStringLen < 0 { 59794 return ErrInvalidLengthTypes 59795 } 59796 postIndex := iNdEx + intStringLen 59797 if postIndex < 0 { 59798 return ErrInvalidLengthTypes 59799 } 59800 if postIndex > l { 59801 return io.ErrUnexpectedEOF 59802 } 59803 m.Hostname = string(dAtA[iNdEx:postIndex]) 59804 iNdEx = postIndex 59805 case 4: 59806 if wireType != 2 { 59807 return fmt.Errorf("proto: wrong wireType = %d for field CmdLabels", wireType) 59808 } 59809 var msglen int 59810 for shift := uint(0); ; shift += 7 { 59811 if shift >= 64 { 59812 return ErrIntOverflowTypes 59813 } 59814 if iNdEx >= l { 59815 return io.ErrUnexpectedEOF 59816 } 59817 b := dAtA[iNdEx] 59818 iNdEx++ 59819 msglen |= int(b&0x7F) << shift 59820 if b < 0x80 { 59821 break 59822 } 59823 } 59824 if msglen < 0 { 59825 return ErrInvalidLengthTypes 59826 } 59827 postIndex := iNdEx + msglen 59828 if postIndex < 0 { 59829 return ErrInvalidLengthTypes 59830 } 59831 if postIndex > l { 59832 return io.ErrUnexpectedEOF 59833 } 59834 if m.CmdLabels == nil { 59835 m.CmdLabels = make(map[string]CommandLabelV2) 59836 } 59837 var mapkey string 59838 mapvalue := &CommandLabelV2{} 59839 for iNdEx < postIndex { 59840 entryPreIndex := iNdEx 59841 var wire uint64 59842 for shift := uint(0); ; shift += 7 { 59843 if shift >= 64 { 59844 return ErrIntOverflowTypes 59845 } 59846 if iNdEx >= l { 59847 return io.ErrUnexpectedEOF 59848 } 59849 b := dAtA[iNdEx] 59850 iNdEx++ 59851 wire |= uint64(b&0x7F) << shift 59852 if b < 0x80 { 59853 break 59854 } 59855 } 59856 fieldNum := int32(wire >> 3) 59857 if fieldNum == 1 { 59858 var stringLenmapkey uint64 59859 for shift := uint(0); ; shift += 7 { 59860 if shift >= 64 { 59861 return ErrIntOverflowTypes 59862 } 59863 if iNdEx >= l { 59864 return io.ErrUnexpectedEOF 59865 } 59866 b := dAtA[iNdEx] 59867 iNdEx++ 59868 stringLenmapkey |= uint64(b&0x7F) << shift 59869 if b < 0x80 { 59870 break 59871 } 59872 } 59873 intStringLenmapkey := int(stringLenmapkey) 59874 if intStringLenmapkey < 0 { 59875 return ErrInvalidLengthTypes 59876 } 59877 postStringIndexmapkey := iNdEx + intStringLenmapkey 59878 if postStringIndexmapkey < 0 { 59879 return ErrInvalidLengthTypes 59880 } 59881 if postStringIndexmapkey > l { 59882 return io.ErrUnexpectedEOF 59883 } 59884 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 59885 iNdEx = postStringIndexmapkey 59886 } else if fieldNum == 2 { 59887 var mapmsglen int 59888 for shift := uint(0); ; shift += 7 { 59889 if shift >= 64 { 59890 return ErrIntOverflowTypes 59891 } 59892 if iNdEx >= l { 59893 return io.ErrUnexpectedEOF 59894 } 59895 b := dAtA[iNdEx] 59896 iNdEx++ 59897 mapmsglen |= int(b&0x7F) << shift 59898 if b < 0x80 { 59899 break 59900 } 59901 } 59902 if mapmsglen < 0 { 59903 return ErrInvalidLengthTypes 59904 } 59905 postmsgIndex := iNdEx + mapmsglen 59906 if postmsgIndex < 0 { 59907 return ErrInvalidLengthTypes 59908 } 59909 if postmsgIndex > l { 59910 return io.ErrUnexpectedEOF 59911 } 59912 mapvalue = &CommandLabelV2{} 59913 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 59914 return err 59915 } 59916 iNdEx = postmsgIndex 59917 } else { 59918 iNdEx = entryPreIndex 59919 skippy, err := skipTypes(dAtA[iNdEx:]) 59920 if err != nil { 59921 return err 59922 } 59923 if (skippy < 0) || (iNdEx+skippy) < 0 { 59924 return ErrInvalidLengthTypes 59925 } 59926 if (iNdEx + skippy) > postIndex { 59927 return io.ErrUnexpectedEOF 59928 } 59929 iNdEx += skippy 59930 } 59931 } 59932 m.CmdLabels[mapkey] = *mapvalue 59933 iNdEx = postIndex 59934 case 5: 59935 if wireType != 2 { 59936 return fmt.Errorf("proto: wrong wireType = %d for field Rotation", wireType) 59937 } 59938 var msglen int 59939 for shift := uint(0); ; shift += 7 { 59940 if shift >= 64 { 59941 return ErrIntOverflowTypes 59942 } 59943 if iNdEx >= l { 59944 return io.ErrUnexpectedEOF 59945 } 59946 b := dAtA[iNdEx] 59947 iNdEx++ 59948 msglen |= int(b&0x7F) << shift 59949 if b < 0x80 { 59950 break 59951 } 59952 } 59953 if msglen < 0 { 59954 return ErrInvalidLengthTypes 59955 } 59956 postIndex := iNdEx + msglen 59957 if postIndex < 0 { 59958 return ErrInvalidLengthTypes 59959 } 59960 if postIndex > l { 59961 return io.ErrUnexpectedEOF 59962 } 59963 if err := m.Rotation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 59964 return err 59965 } 59966 iNdEx = postIndex 59967 case 6: 59968 if wireType != 0 { 59969 return fmt.Errorf("proto: wrong wireType = %d for field UseTunnel", wireType) 59970 } 59971 var v int 59972 for shift := uint(0); ; shift += 7 { 59973 if shift >= 64 { 59974 return ErrIntOverflowTypes 59975 } 59976 if iNdEx >= l { 59977 return io.ErrUnexpectedEOF 59978 } 59979 b := dAtA[iNdEx] 59980 iNdEx++ 59981 v |= int(b&0x7F) << shift 59982 if b < 0x80 { 59983 break 59984 } 59985 } 59986 m.UseTunnel = bool(v != 0) 59987 case 7: 59988 if wireType != 2 { 59989 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 59990 } 59991 var stringLen uint64 59992 for shift := uint(0); ; shift += 7 { 59993 if shift >= 64 { 59994 return ErrIntOverflowTypes 59995 } 59996 if iNdEx >= l { 59997 return io.ErrUnexpectedEOF 59998 } 59999 b := dAtA[iNdEx] 60000 iNdEx++ 60001 stringLen |= uint64(b&0x7F) << shift 60002 if b < 0x80 { 60003 break 60004 } 60005 } 60006 intStringLen := int(stringLen) 60007 if intStringLen < 0 { 60008 return ErrInvalidLengthTypes 60009 } 60010 postIndex := iNdEx + intStringLen 60011 if postIndex < 0 { 60012 return ErrInvalidLengthTypes 60013 } 60014 if postIndex > l { 60015 return io.ErrUnexpectedEOF 60016 } 60017 m.Version = string(dAtA[iNdEx:postIndex]) 60018 iNdEx = postIndex 60019 case 11: 60020 if wireType != 2 { 60021 return fmt.Errorf("proto: wrong wireType = %d for field PeerAddr", wireType) 60022 } 60023 var stringLen uint64 60024 for shift := uint(0); ; shift += 7 { 60025 if shift >= 64 { 60026 return ErrIntOverflowTypes 60027 } 60028 if iNdEx >= l { 60029 return io.ErrUnexpectedEOF 60030 } 60031 b := dAtA[iNdEx] 60032 iNdEx++ 60033 stringLen |= uint64(b&0x7F) << shift 60034 if b < 0x80 { 60035 break 60036 } 60037 } 60038 intStringLen := int(stringLen) 60039 if intStringLen < 0 { 60040 return ErrInvalidLengthTypes 60041 } 60042 postIndex := iNdEx + intStringLen 60043 if postIndex < 0 { 60044 return ErrInvalidLengthTypes 60045 } 60046 if postIndex > l { 60047 return io.ErrUnexpectedEOF 60048 } 60049 m.PeerAddr = string(dAtA[iNdEx:postIndex]) 60050 iNdEx = postIndex 60051 case 12: 60052 if wireType != 2 { 60053 return fmt.Errorf("proto: wrong wireType = %d for field ProxyIDs", wireType) 60054 } 60055 var stringLen uint64 60056 for shift := uint(0); ; shift += 7 { 60057 if shift >= 64 { 60058 return ErrIntOverflowTypes 60059 } 60060 if iNdEx >= l { 60061 return io.ErrUnexpectedEOF 60062 } 60063 b := dAtA[iNdEx] 60064 iNdEx++ 60065 stringLen |= uint64(b&0x7F) << shift 60066 if b < 0x80 { 60067 break 60068 } 60069 } 60070 intStringLen := int(stringLen) 60071 if intStringLen < 0 { 60072 return ErrInvalidLengthTypes 60073 } 60074 postIndex := iNdEx + intStringLen 60075 if postIndex < 0 { 60076 return ErrInvalidLengthTypes 60077 } 60078 if postIndex > l { 60079 return io.ErrUnexpectedEOF 60080 } 60081 m.ProxyIDs = append(m.ProxyIDs, string(dAtA[iNdEx:postIndex])) 60082 iNdEx = postIndex 60083 case 13: 60084 if wireType != 2 { 60085 return fmt.Errorf("proto: wrong wireType = %d for field PublicAddrs", wireType) 60086 } 60087 var stringLen uint64 60088 for shift := uint(0); ; shift += 7 { 60089 if shift >= 64 { 60090 return ErrIntOverflowTypes 60091 } 60092 if iNdEx >= l { 60093 return io.ErrUnexpectedEOF 60094 } 60095 b := dAtA[iNdEx] 60096 iNdEx++ 60097 stringLen |= uint64(b&0x7F) << shift 60098 if b < 0x80 { 60099 break 60100 } 60101 } 60102 intStringLen := int(stringLen) 60103 if intStringLen < 0 { 60104 return ErrInvalidLengthTypes 60105 } 60106 postIndex := iNdEx + intStringLen 60107 if postIndex < 0 { 60108 return ErrInvalidLengthTypes 60109 } 60110 if postIndex > l { 60111 return io.ErrUnexpectedEOF 60112 } 60113 m.PublicAddrs = append(m.PublicAddrs, string(dAtA[iNdEx:postIndex])) 60114 iNdEx = postIndex 60115 case 14: 60116 if wireType != 2 { 60117 return fmt.Errorf("proto: wrong wireType = %d for field CloudMetadata", wireType) 60118 } 60119 var msglen int 60120 for shift := uint(0); ; shift += 7 { 60121 if shift >= 64 { 60122 return ErrIntOverflowTypes 60123 } 60124 if iNdEx >= l { 60125 return io.ErrUnexpectedEOF 60126 } 60127 b := dAtA[iNdEx] 60128 iNdEx++ 60129 msglen |= int(b&0x7F) << shift 60130 if b < 0x80 { 60131 break 60132 } 60133 } 60134 if msglen < 0 { 60135 return ErrInvalidLengthTypes 60136 } 60137 postIndex := iNdEx + msglen 60138 if postIndex < 0 { 60139 return ErrInvalidLengthTypes 60140 } 60141 if postIndex > l { 60142 return io.ErrUnexpectedEOF 60143 } 60144 if m.CloudMetadata == nil { 60145 m.CloudMetadata = &CloudMetadata{} 60146 } 60147 if err := m.CloudMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 60148 return err 60149 } 60150 iNdEx = postIndex 60151 default: 60152 iNdEx = preIndex 60153 skippy, err := skipTypes(dAtA[iNdEx:]) 60154 if err != nil { 60155 return err 60156 } 60157 if (skippy < 0) || (iNdEx+skippy) < 0 { 60158 return ErrInvalidLengthTypes 60159 } 60160 if (iNdEx + skippy) > l { 60161 return io.ErrUnexpectedEOF 60162 } 60163 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60164 iNdEx += skippy 60165 } 60166 } 60167 60168 if iNdEx > l { 60169 return io.ErrUnexpectedEOF 60170 } 60171 return nil 60172 } 60173 func (m *AWSInfo) Unmarshal(dAtA []byte) error { 60174 l := len(dAtA) 60175 iNdEx := 0 60176 for iNdEx < l { 60177 preIndex := iNdEx 60178 var wire uint64 60179 for shift := uint(0); ; shift += 7 { 60180 if shift >= 64 { 60181 return ErrIntOverflowTypes 60182 } 60183 if iNdEx >= l { 60184 return io.ErrUnexpectedEOF 60185 } 60186 b := dAtA[iNdEx] 60187 iNdEx++ 60188 wire |= uint64(b&0x7F) << shift 60189 if b < 0x80 { 60190 break 60191 } 60192 } 60193 fieldNum := int32(wire >> 3) 60194 wireType := int(wire & 0x7) 60195 if wireType == 4 { 60196 return fmt.Errorf("proto: AWSInfo: wiretype end group for non-group") 60197 } 60198 if fieldNum <= 0 { 60199 return fmt.Errorf("proto: AWSInfo: illegal tag %d (wire type %d)", fieldNum, wire) 60200 } 60201 switch fieldNum { 60202 case 1: 60203 if wireType != 2 { 60204 return fmt.Errorf("proto: wrong wireType = %d for field AccountID", wireType) 60205 } 60206 var stringLen uint64 60207 for shift := uint(0); ; shift += 7 { 60208 if shift >= 64 { 60209 return ErrIntOverflowTypes 60210 } 60211 if iNdEx >= l { 60212 return io.ErrUnexpectedEOF 60213 } 60214 b := dAtA[iNdEx] 60215 iNdEx++ 60216 stringLen |= uint64(b&0x7F) << shift 60217 if b < 0x80 { 60218 break 60219 } 60220 } 60221 intStringLen := int(stringLen) 60222 if intStringLen < 0 { 60223 return ErrInvalidLengthTypes 60224 } 60225 postIndex := iNdEx + intStringLen 60226 if postIndex < 0 { 60227 return ErrInvalidLengthTypes 60228 } 60229 if postIndex > l { 60230 return io.ErrUnexpectedEOF 60231 } 60232 m.AccountID = string(dAtA[iNdEx:postIndex]) 60233 iNdEx = postIndex 60234 case 2: 60235 if wireType != 2 { 60236 return fmt.Errorf("proto: wrong wireType = %d for field InstanceID", wireType) 60237 } 60238 var stringLen uint64 60239 for shift := uint(0); ; shift += 7 { 60240 if shift >= 64 { 60241 return ErrIntOverflowTypes 60242 } 60243 if iNdEx >= l { 60244 return io.ErrUnexpectedEOF 60245 } 60246 b := dAtA[iNdEx] 60247 iNdEx++ 60248 stringLen |= uint64(b&0x7F) << shift 60249 if b < 0x80 { 60250 break 60251 } 60252 } 60253 intStringLen := int(stringLen) 60254 if intStringLen < 0 { 60255 return ErrInvalidLengthTypes 60256 } 60257 postIndex := iNdEx + intStringLen 60258 if postIndex < 0 { 60259 return ErrInvalidLengthTypes 60260 } 60261 if postIndex > l { 60262 return io.ErrUnexpectedEOF 60263 } 60264 m.InstanceID = string(dAtA[iNdEx:postIndex]) 60265 iNdEx = postIndex 60266 case 3: 60267 if wireType != 2 { 60268 return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) 60269 } 60270 var stringLen uint64 60271 for shift := uint(0); ; shift += 7 { 60272 if shift >= 64 { 60273 return ErrIntOverflowTypes 60274 } 60275 if iNdEx >= l { 60276 return io.ErrUnexpectedEOF 60277 } 60278 b := dAtA[iNdEx] 60279 iNdEx++ 60280 stringLen |= uint64(b&0x7F) << shift 60281 if b < 0x80 { 60282 break 60283 } 60284 } 60285 intStringLen := int(stringLen) 60286 if intStringLen < 0 { 60287 return ErrInvalidLengthTypes 60288 } 60289 postIndex := iNdEx + intStringLen 60290 if postIndex < 0 { 60291 return ErrInvalidLengthTypes 60292 } 60293 if postIndex > l { 60294 return io.ErrUnexpectedEOF 60295 } 60296 m.Region = string(dAtA[iNdEx:postIndex]) 60297 iNdEx = postIndex 60298 case 4: 60299 if wireType != 2 { 60300 return fmt.Errorf("proto: wrong wireType = %d for field VPCID", wireType) 60301 } 60302 var stringLen uint64 60303 for shift := uint(0); ; shift += 7 { 60304 if shift >= 64 { 60305 return ErrIntOverflowTypes 60306 } 60307 if iNdEx >= l { 60308 return io.ErrUnexpectedEOF 60309 } 60310 b := dAtA[iNdEx] 60311 iNdEx++ 60312 stringLen |= uint64(b&0x7F) << shift 60313 if b < 0x80 { 60314 break 60315 } 60316 } 60317 intStringLen := int(stringLen) 60318 if intStringLen < 0 { 60319 return ErrInvalidLengthTypes 60320 } 60321 postIndex := iNdEx + intStringLen 60322 if postIndex < 0 { 60323 return ErrInvalidLengthTypes 60324 } 60325 if postIndex > l { 60326 return io.ErrUnexpectedEOF 60327 } 60328 m.VPCID = string(dAtA[iNdEx:postIndex]) 60329 iNdEx = postIndex 60330 case 5: 60331 if wireType != 2 { 60332 return fmt.Errorf("proto: wrong wireType = %d for field Integration", wireType) 60333 } 60334 var stringLen uint64 60335 for shift := uint(0); ; shift += 7 { 60336 if shift >= 64 { 60337 return ErrIntOverflowTypes 60338 } 60339 if iNdEx >= l { 60340 return io.ErrUnexpectedEOF 60341 } 60342 b := dAtA[iNdEx] 60343 iNdEx++ 60344 stringLen |= uint64(b&0x7F) << shift 60345 if b < 0x80 { 60346 break 60347 } 60348 } 60349 intStringLen := int(stringLen) 60350 if intStringLen < 0 { 60351 return ErrInvalidLengthTypes 60352 } 60353 postIndex := iNdEx + intStringLen 60354 if postIndex < 0 { 60355 return ErrInvalidLengthTypes 60356 } 60357 if postIndex > l { 60358 return io.ErrUnexpectedEOF 60359 } 60360 m.Integration = string(dAtA[iNdEx:postIndex]) 60361 iNdEx = postIndex 60362 case 6: 60363 if wireType != 2 { 60364 return fmt.Errorf("proto: wrong wireType = %d for field SubnetID", wireType) 60365 } 60366 var stringLen uint64 60367 for shift := uint(0); ; shift += 7 { 60368 if shift >= 64 { 60369 return ErrIntOverflowTypes 60370 } 60371 if iNdEx >= l { 60372 return io.ErrUnexpectedEOF 60373 } 60374 b := dAtA[iNdEx] 60375 iNdEx++ 60376 stringLen |= uint64(b&0x7F) << shift 60377 if b < 0x80 { 60378 break 60379 } 60380 } 60381 intStringLen := int(stringLen) 60382 if intStringLen < 0 { 60383 return ErrInvalidLengthTypes 60384 } 60385 postIndex := iNdEx + intStringLen 60386 if postIndex < 0 { 60387 return ErrInvalidLengthTypes 60388 } 60389 if postIndex > l { 60390 return io.ErrUnexpectedEOF 60391 } 60392 m.SubnetID = string(dAtA[iNdEx:postIndex]) 60393 iNdEx = postIndex 60394 default: 60395 iNdEx = preIndex 60396 skippy, err := skipTypes(dAtA[iNdEx:]) 60397 if err != nil { 60398 return err 60399 } 60400 if (skippy < 0) || (iNdEx+skippy) < 0 { 60401 return ErrInvalidLengthTypes 60402 } 60403 if (iNdEx + skippy) > l { 60404 return io.ErrUnexpectedEOF 60405 } 60406 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60407 iNdEx += skippy 60408 } 60409 } 60410 60411 if iNdEx > l { 60412 return io.ErrUnexpectedEOF 60413 } 60414 return nil 60415 } 60416 func (m *CloudMetadata) Unmarshal(dAtA []byte) error { 60417 l := len(dAtA) 60418 iNdEx := 0 60419 for iNdEx < l { 60420 preIndex := iNdEx 60421 var wire uint64 60422 for shift := uint(0); ; shift += 7 { 60423 if shift >= 64 { 60424 return ErrIntOverflowTypes 60425 } 60426 if iNdEx >= l { 60427 return io.ErrUnexpectedEOF 60428 } 60429 b := dAtA[iNdEx] 60430 iNdEx++ 60431 wire |= uint64(b&0x7F) << shift 60432 if b < 0x80 { 60433 break 60434 } 60435 } 60436 fieldNum := int32(wire >> 3) 60437 wireType := int(wire & 0x7) 60438 if wireType == 4 { 60439 return fmt.Errorf("proto: CloudMetadata: wiretype end group for non-group") 60440 } 60441 if fieldNum <= 0 { 60442 return fmt.Errorf("proto: CloudMetadata: illegal tag %d (wire type %d)", fieldNum, wire) 60443 } 60444 switch fieldNum { 60445 case 1: 60446 if wireType != 2 { 60447 return fmt.Errorf("proto: wrong wireType = %d for field AWS", wireType) 60448 } 60449 var msglen int 60450 for shift := uint(0); ; shift += 7 { 60451 if shift >= 64 { 60452 return ErrIntOverflowTypes 60453 } 60454 if iNdEx >= l { 60455 return io.ErrUnexpectedEOF 60456 } 60457 b := dAtA[iNdEx] 60458 iNdEx++ 60459 msglen |= int(b&0x7F) << shift 60460 if b < 0x80 { 60461 break 60462 } 60463 } 60464 if msglen < 0 { 60465 return ErrInvalidLengthTypes 60466 } 60467 postIndex := iNdEx + msglen 60468 if postIndex < 0 { 60469 return ErrInvalidLengthTypes 60470 } 60471 if postIndex > l { 60472 return io.ErrUnexpectedEOF 60473 } 60474 if m.AWS == nil { 60475 m.AWS = &AWSInfo{} 60476 } 60477 if err := m.AWS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 60478 return err 60479 } 60480 iNdEx = postIndex 60481 default: 60482 iNdEx = preIndex 60483 skippy, err := skipTypes(dAtA[iNdEx:]) 60484 if err != nil { 60485 return err 60486 } 60487 if (skippy < 0) || (iNdEx+skippy) < 0 { 60488 return ErrInvalidLengthTypes 60489 } 60490 if (iNdEx + skippy) > l { 60491 return io.ErrUnexpectedEOF 60492 } 60493 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60494 iNdEx += skippy 60495 } 60496 } 60497 60498 if iNdEx > l { 60499 return io.ErrUnexpectedEOF 60500 } 60501 return nil 60502 } 60503 func (m *AppServerV3) Unmarshal(dAtA []byte) error { 60504 l := len(dAtA) 60505 iNdEx := 0 60506 for iNdEx < l { 60507 preIndex := iNdEx 60508 var wire uint64 60509 for shift := uint(0); ; shift += 7 { 60510 if shift >= 64 { 60511 return ErrIntOverflowTypes 60512 } 60513 if iNdEx >= l { 60514 return io.ErrUnexpectedEOF 60515 } 60516 b := dAtA[iNdEx] 60517 iNdEx++ 60518 wire |= uint64(b&0x7F) << shift 60519 if b < 0x80 { 60520 break 60521 } 60522 } 60523 fieldNum := int32(wire >> 3) 60524 wireType := int(wire & 0x7) 60525 if wireType == 4 { 60526 return fmt.Errorf("proto: AppServerV3: wiretype end group for non-group") 60527 } 60528 if fieldNum <= 0 { 60529 return fmt.Errorf("proto: AppServerV3: illegal tag %d (wire type %d)", fieldNum, wire) 60530 } 60531 switch fieldNum { 60532 case 1: 60533 if wireType != 2 { 60534 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 60535 } 60536 var stringLen uint64 60537 for shift := uint(0); ; shift += 7 { 60538 if shift >= 64 { 60539 return ErrIntOverflowTypes 60540 } 60541 if iNdEx >= l { 60542 return io.ErrUnexpectedEOF 60543 } 60544 b := dAtA[iNdEx] 60545 iNdEx++ 60546 stringLen |= uint64(b&0x7F) << shift 60547 if b < 0x80 { 60548 break 60549 } 60550 } 60551 intStringLen := int(stringLen) 60552 if intStringLen < 0 { 60553 return ErrInvalidLengthTypes 60554 } 60555 postIndex := iNdEx + intStringLen 60556 if postIndex < 0 { 60557 return ErrInvalidLengthTypes 60558 } 60559 if postIndex > l { 60560 return io.ErrUnexpectedEOF 60561 } 60562 m.Kind = string(dAtA[iNdEx:postIndex]) 60563 iNdEx = postIndex 60564 case 2: 60565 if wireType != 2 { 60566 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 60567 } 60568 var stringLen uint64 60569 for shift := uint(0); ; shift += 7 { 60570 if shift >= 64 { 60571 return ErrIntOverflowTypes 60572 } 60573 if iNdEx >= l { 60574 return io.ErrUnexpectedEOF 60575 } 60576 b := dAtA[iNdEx] 60577 iNdEx++ 60578 stringLen |= uint64(b&0x7F) << shift 60579 if b < 0x80 { 60580 break 60581 } 60582 } 60583 intStringLen := int(stringLen) 60584 if intStringLen < 0 { 60585 return ErrInvalidLengthTypes 60586 } 60587 postIndex := iNdEx + intStringLen 60588 if postIndex < 0 { 60589 return ErrInvalidLengthTypes 60590 } 60591 if postIndex > l { 60592 return io.ErrUnexpectedEOF 60593 } 60594 m.SubKind = string(dAtA[iNdEx:postIndex]) 60595 iNdEx = postIndex 60596 case 3: 60597 if wireType != 2 { 60598 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 60599 } 60600 var stringLen uint64 60601 for shift := uint(0); ; shift += 7 { 60602 if shift >= 64 { 60603 return ErrIntOverflowTypes 60604 } 60605 if iNdEx >= l { 60606 return io.ErrUnexpectedEOF 60607 } 60608 b := dAtA[iNdEx] 60609 iNdEx++ 60610 stringLen |= uint64(b&0x7F) << shift 60611 if b < 0x80 { 60612 break 60613 } 60614 } 60615 intStringLen := int(stringLen) 60616 if intStringLen < 0 { 60617 return ErrInvalidLengthTypes 60618 } 60619 postIndex := iNdEx + intStringLen 60620 if postIndex < 0 { 60621 return ErrInvalidLengthTypes 60622 } 60623 if postIndex > l { 60624 return io.ErrUnexpectedEOF 60625 } 60626 m.Version = string(dAtA[iNdEx:postIndex]) 60627 iNdEx = postIndex 60628 case 4: 60629 if wireType != 2 { 60630 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 60631 } 60632 var msglen int 60633 for shift := uint(0); ; shift += 7 { 60634 if shift >= 64 { 60635 return ErrIntOverflowTypes 60636 } 60637 if iNdEx >= l { 60638 return io.ErrUnexpectedEOF 60639 } 60640 b := dAtA[iNdEx] 60641 iNdEx++ 60642 msglen |= int(b&0x7F) << shift 60643 if b < 0x80 { 60644 break 60645 } 60646 } 60647 if msglen < 0 { 60648 return ErrInvalidLengthTypes 60649 } 60650 postIndex := iNdEx + msglen 60651 if postIndex < 0 { 60652 return ErrInvalidLengthTypes 60653 } 60654 if postIndex > l { 60655 return io.ErrUnexpectedEOF 60656 } 60657 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 60658 return err 60659 } 60660 iNdEx = postIndex 60661 case 5: 60662 if wireType != 2 { 60663 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 60664 } 60665 var msglen int 60666 for shift := uint(0); ; shift += 7 { 60667 if shift >= 64 { 60668 return ErrIntOverflowTypes 60669 } 60670 if iNdEx >= l { 60671 return io.ErrUnexpectedEOF 60672 } 60673 b := dAtA[iNdEx] 60674 iNdEx++ 60675 msglen |= int(b&0x7F) << shift 60676 if b < 0x80 { 60677 break 60678 } 60679 } 60680 if msglen < 0 { 60681 return ErrInvalidLengthTypes 60682 } 60683 postIndex := iNdEx + msglen 60684 if postIndex < 0 { 60685 return ErrInvalidLengthTypes 60686 } 60687 if postIndex > l { 60688 return io.ErrUnexpectedEOF 60689 } 60690 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 60691 return err 60692 } 60693 iNdEx = postIndex 60694 default: 60695 iNdEx = preIndex 60696 skippy, err := skipTypes(dAtA[iNdEx:]) 60697 if err != nil { 60698 return err 60699 } 60700 if (skippy < 0) || (iNdEx+skippy) < 0 { 60701 return ErrInvalidLengthTypes 60702 } 60703 if (iNdEx + skippy) > l { 60704 return io.ErrUnexpectedEOF 60705 } 60706 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60707 iNdEx += skippy 60708 } 60709 } 60710 60711 if iNdEx > l { 60712 return io.ErrUnexpectedEOF 60713 } 60714 return nil 60715 } 60716 func (m *AppServerSpecV3) Unmarshal(dAtA []byte) error { 60717 l := len(dAtA) 60718 iNdEx := 0 60719 for iNdEx < l { 60720 preIndex := iNdEx 60721 var wire uint64 60722 for shift := uint(0); ; shift += 7 { 60723 if shift >= 64 { 60724 return ErrIntOverflowTypes 60725 } 60726 if iNdEx >= l { 60727 return io.ErrUnexpectedEOF 60728 } 60729 b := dAtA[iNdEx] 60730 iNdEx++ 60731 wire |= uint64(b&0x7F) << shift 60732 if b < 0x80 { 60733 break 60734 } 60735 } 60736 fieldNum := int32(wire >> 3) 60737 wireType := int(wire & 0x7) 60738 if wireType == 4 { 60739 return fmt.Errorf("proto: AppServerSpecV3: wiretype end group for non-group") 60740 } 60741 if fieldNum <= 0 { 60742 return fmt.Errorf("proto: AppServerSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 60743 } 60744 switch fieldNum { 60745 case 1: 60746 if wireType != 2 { 60747 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 60748 } 60749 var stringLen uint64 60750 for shift := uint(0); ; shift += 7 { 60751 if shift >= 64 { 60752 return ErrIntOverflowTypes 60753 } 60754 if iNdEx >= l { 60755 return io.ErrUnexpectedEOF 60756 } 60757 b := dAtA[iNdEx] 60758 iNdEx++ 60759 stringLen |= uint64(b&0x7F) << shift 60760 if b < 0x80 { 60761 break 60762 } 60763 } 60764 intStringLen := int(stringLen) 60765 if intStringLen < 0 { 60766 return ErrInvalidLengthTypes 60767 } 60768 postIndex := iNdEx + intStringLen 60769 if postIndex < 0 { 60770 return ErrInvalidLengthTypes 60771 } 60772 if postIndex > l { 60773 return io.ErrUnexpectedEOF 60774 } 60775 m.Version = string(dAtA[iNdEx:postIndex]) 60776 iNdEx = postIndex 60777 case 2: 60778 if wireType != 2 { 60779 return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) 60780 } 60781 var stringLen uint64 60782 for shift := uint(0); ; shift += 7 { 60783 if shift >= 64 { 60784 return ErrIntOverflowTypes 60785 } 60786 if iNdEx >= l { 60787 return io.ErrUnexpectedEOF 60788 } 60789 b := dAtA[iNdEx] 60790 iNdEx++ 60791 stringLen |= uint64(b&0x7F) << shift 60792 if b < 0x80 { 60793 break 60794 } 60795 } 60796 intStringLen := int(stringLen) 60797 if intStringLen < 0 { 60798 return ErrInvalidLengthTypes 60799 } 60800 postIndex := iNdEx + intStringLen 60801 if postIndex < 0 { 60802 return ErrInvalidLengthTypes 60803 } 60804 if postIndex > l { 60805 return io.ErrUnexpectedEOF 60806 } 60807 m.Hostname = string(dAtA[iNdEx:postIndex]) 60808 iNdEx = postIndex 60809 case 3: 60810 if wireType != 2 { 60811 return fmt.Errorf("proto: wrong wireType = %d for field HostID", wireType) 60812 } 60813 var stringLen uint64 60814 for shift := uint(0); ; shift += 7 { 60815 if shift >= 64 { 60816 return ErrIntOverflowTypes 60817 } 60818 if iNdEx >= l { 60819 return io.ErrUnexpectedEOF 60820 } 60821 b := dAtA[iNdEx] 60822 iNdEx++ 60823 stringLen |= uint64(b&0x7F) << shift 60824 if b < 0x80 { 60825 break 60826 } 60827 } 60828 intStringLen := int(stringLen) 60829 if intStringLen < 0 { 60830 return ErrInvalidLengthTypes 60831 } 60832 postIndex := iNdEx + intStringLen 60833 if postIndex < 0 { 60834 return ErrInvalidLengthTypes 60835 } 60836 if postIndex > l { 60837 return io.ErrUnexpectedEOF 60838 } 60839 m.HostID = string(dAtA[iNdEx:postIndex]) 60840 iNdEx = postIndex 60841 case 4: 60842 if wireType != 2 { 60843 return fmt.Errorf("proto: wrong wireType = %d for field Rotation", wireType) 60844 } 60845 var msglen int 60846 for shift := uint(0); ; shift += 7 { 60847 if shift >= 64 { 60848 return ErrIntOverflowTypes 60849 } 60850 if iNdEx >= l { 60851 return io.ErrUnexpectedEOF 60852 } 60853 b := dAtA[iNdEx] 60854 iNdEx++ 60855 msglen |= int(b&0x7F) << shift 60856 if b < 0x80 { 60857 break 60858 } 60859 } 60860 if msglen < 0 { 60861 return ErrInvalidLengthTypes 60862 } 60863 postIndex := iNdEx + msglen 60864 if postIndex < 0 { 60865 return ErrInvalidLengthTypes 60866 } 60867 if postIndex > l { 60868 return io.ErrUnexpectedEOF 60869 } 60870 if err := m.Rotation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 60871 return err 60872 } 60873 iNdEx = postIndex 60874 case 5: 60875 if wireType != 2 { 60876 return fmt.Errorf("proto: wrong wireType = %d for field App", wireType) 60877 } 60878 var msglen int 60879 for shift := uint(0); ; shift += 7 { 60880 if shift >= 64 { 60881 return ErrIntOverflowTypes 60882 } 60883 if iNdEx >= l { 60884 return io.ErrUnexpectedEOF 60885 } 60886 b := dAtA[iNdEx] 60887 iNdEx++ 60888 msglen |= int(b&0x7F) << shift 60889 if b < 0x80 { 60890 break 60891 } 60892 } 60893 if msglen < 0 { 60894 return ErrInvalidLengthTypes 60895 } 60896 postIndex := iNdEx + msglen 60897 if postIndex < 0 { 60898 return ErrInvalidLengthTypes 60899 } 60900 if postIndex > l { 60901 return io.ErrUnexpectedEOF 60902 } 60903 if m.App == nil { 60904 m.App = &AppV3{} 60905 } 60906 if err := m.App.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 60907 return err 60908 } 60909 iNdEx = postIndex 60910 case 6: 60911 if wireType != 2 { 60912 return fmt.Errorf("proto: wrong wireType = %d for field ProxyIDs", wireType) 60913 } 60914 var stringLen uint64 60915 for shift := uint(0); ; shift += 7 { 60916 if shift >= 64 { 60917 return ErrIntOverflowTypes 60918 } 60919 if iNdEx >= l { 60920 return io.ErrUnexpectedEOF 60921 } 60922 b := dAtA[iNdEx] 60923 iNdEx++ 60924 stringLen |= uint64(b&0x7F) << shift 60925 if b < 0x80 { 60926 break 60927 } 60928 } 60929 intStringLen := int(stringLen) 60930 if intStringLen < 0 { 60931 return ErrInvalidLengthTypes 60932 } 60933 postIndex := iNdEx + intStringLen 60934 if postIndex < 0 { 60935 return ErrInvalidLengthTypes 60936 } 60937 if postIndex > l { 60938 return io.ErrUnexpectedEOF 60939 } 60940 m.ProxyIDs = append(m.ProxyIDs, string(dAtA[iNdEx:postIndex])) 60941 iNdEx = postIndex 60942 default: 60943 iNdEx = preIndex 60944 skippy, err := skipTypes(dAtA[iNdEx:]) 60945 if err != nil { 60946 return err 60947 } 60948 if (skippy < 0) || (iNdEx+skippy) < 0 { 60949 return ErrInvalidLengthTypes 60950 } 60951 if (iNdEx + skippy) > l { 60952 return io.ErrUnexpectedEOF 60953 } 60954 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60955 iNdEx += skippy 60956 } 60957 } 60958 60959 if iNdEx > l { 60960 return io.ErrUnexpectedEOF 60961 } 60962 return nil 60963 } 60964 func (m *AppV3List) Unmarshal(dAtA []byte) error { 60965 l := len(dAtA) 60966 iNdEx := 0 60967 for iNdEx < l { 60968 preIndex := iNdEx 60969 var wire uint64 60970 for shift := uint(0); ; shift += 7 { 60971 if shift >= 64 { 60972 return ErrIntOverflowTypes 60973 } 60974 if iNdEx >= l { 60975 return io.ErrUnexpectedEOF 60976 } 60977 b := dAtA[iNdEx] 60978 iNdEx++ 60979 wire |= uint64(b&0x7F) << shift 60980 if b < 0x80 { 60981 break 60982 } 60983 } 60984 fieldNum := int32(wire >> 3) 60985 wireType := int(wire & 0x7) 60986 if wireType == 4 { 60987 return fmt.Errorf("proto: AppV3List: wiretype end group for non-group") 60988 } 60989 if fieldNum <= 0 { 60990 return fmt.Errorf("proto: AppV3List: illegal tag %d (wire type %d)", fieldNum, wire) 60991 } 60992 switch fieldNum { 60993 case 1: 60994 if wireType != 2 { 60995 return fmt.Errorf("proto: wrong wireType = %d for field Apps", wireType) 60996 } 60997 var msglen int 60998 for shift := uint(0); ; shift += 7 { 60999 if shift >= 64 { 61000 return ErrIntOverflowTypes 61001 } 61002 if iNdEx >= l { 61003 return io.ErrUnexpectedEOF 61004 } 61005 b := dAtA[iNdEx] 61006 iNdEx++ 61007 msglen |= int(b&0x7F) << shift 61008 if b < 0x80 { 61009 break 61010 } 61011 } 61012 if msglen < 0 { 61013 return ErrInvalidLengthTypes 61014 } 61015 postIndex := iNdEx + msglen 61016 if postIndex < 0 { 61017 return ErrInvalidLengthTypes 61018 } 61019 if postIndex > l { 61020 return io.ErrUnexpectedEOF 61021 } 61022 m.Apps = append(m.Apps, &AppV3{}) 61023 if err := m.Apps[len(m.Apps)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61024 return err 61025 } 61026 iNdEx = postIndex 61027 default: 61028 iNdEx = preIndex 61029 skippy, err := skipTypes(dAtA[iNdEx:]) 61030 if err != nil { 61031 return err 61032 } 61033 if (skippy < 0) || (iNdEx+skippy) < 0 { 61034 return ErrInvalidLengthTypes 61035 } 61036 if (iNdEx + skippy) > l { 61037 return io.ErrUnexpectedEOF 61038 } 61039 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 61040 iNdEx += skippy 61041 } 61042 } 61043 61044 if iNdEx > l { 61045 return io.ErrUnexpectedEOF 61046 } 61047 return nil 61048 } 61049 func (m *AppV3) Unmarshal(dAtA []byte) error { 61050 l := len(dAtA) 61051 iNdEx := 0 61052 for iNdEx < l { 61053 preIndex := iNdEx 61054 var wire uint64 61055 for shift := uint(0); ; shift += 7 { 61056 if shift >= 64 { 61057 return ErrIntOverflowTypes 61058 } 61059 if iNdEx >= l { 61060 return io.ErrUnexpectedEOF 61061 } 61062 b := dAtA[iNdEx] 61063 iNdEx++ 61064 wire |= uint64(b&0x7F) << shift 61065 if b < 0x80 { 61066 break 61067 } 61068 } 61069 fieldNum := int32(wire >> 3) 61070 wireType := int(wire & 0x7) 61071 if wireType == 4 { 61072 return fmt.Errorf("proto: AppV3: wiretype end group for non-group") 61073 } 61074 if fieldNum <= 0 { 61075 return fmt.Errorf("proto: AppV3: illegal tag %d (wire type %d)", fieldNum, wire) 61076 } 61077 switch fieldNum { 61078 case 1: 61079 if wireType != 2 { 61080 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 61081 } 61082 var stringLen uint64 61083 for shift := uint(0); ; shift += 7 { 61084 if shift >= 64 { 61085 return ErrIntOverflowTypes 61086 } 61087 if iNdEx >= l { 61088 return io.ErrUnexpectedEOF 61089 } 61090 b := dAtA[iNdEx] 61091 iNdEx++ 61092 stringLen |= uint64(b&0x7F) << shift 61093 if b < 0x80 { 61094 break 61095 } 61096 } 61097 intStringLen := int(stringLen) 61098 if intStringLen < 0 { 61099 return ErrInvalidLengthTypes 61100 } 61101 postIndex := iNdEx + intStringLen 61102 if postIndex < 0 { 61103 return ErrInvalidLengthTypes 61104 } 61105 if postIndex > l { 61106 return io.ErrUnexpectedEOF 61107 } 61108 m.Kind = string(dAtA[iNdEx:postIndex]) 61109 iNdEx = postIndex 61110 case 2: 61111 if wireType != 2 { 61112 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 61113 } 61114 var stringLen uint64 61115 for shift := uint(0); ; shift += 7 { 61116 if shift >= 64 { 61117 return ErrIntOverflowTypes 61118 } 61119 if iNdEx >= l { 61120 return io.ErrUnexpectedEOF 61121 } 61122 b := dAtA[iNdEx] 61123 iNdEx++ 61124 stringLen |= uint64(b&0x7F) << shift 61125 if b < 0x80 { 61126 break 61127 } 61128 } 61129 intStringLen := int(stringLen) 61130 if intStringLen < 0 { 61131 return ErrInvalidLengthTypes 61132 } 61133 postIndex := iNdEx + intStringLen 61134 if postIndex < 0 { 61135 return ErrInvalidLengthTypes 61136 } 61137 if postIndex > l { 61138 return io.ErrUnexpectedEOF 61139 } 61140 m.SubKind = string(dAtA[iNdEx:postIndex]) 61141 iNdEx = postIndex 61142 case 3: 61143 if wireType != 2 { 61144 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 61145 } 61146 var stringLen uint64 61147 for shift := uint(0); ; shift += 7 { 61148 if shift >= 64 { 61149 return ErrIntOverflowTypes 61150 } 61151 if iNdEx >= l { 61152 return io.ErrUnexpectedEOF 61153 } 61154 b := dAtA[iNdEx] 61155 iNdEx++ 61156 stringLen |= uint64(b&0x7F) << shift 61157 if b < 0x80 { 61158 break 61159 } 61160 } 61161 intStringLen := int(stringLen) 61162 if intStringLen < 0 { 61163 return ErrInvalidLengthTypes 61164 } 61165 postIndex := iNdEx + intStringLen 61166 if postIndex < 0 { 61167 return ErrInvalidLengthTypes 61168 } 61169 if postIndex > l { 61170 return io.ErrUnexpectedEOF 61171 } 61172 m.Version = string(dAtA[iNdEx:postIndex]) 61173 iNdEx = postIndex 61174 case 4: 61175 if wireType != 2 { 61176 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 61177 } 61178 var msglen int 61179 for shift := uint(0); ; shift += 7 { 61180 if shift >= 64 { 61181 return ErrIntOverflowTypes 61182 } 61183 if iNdEx >= l { 61184 return io.ErrUnexpectedEOF 61185 } 61186 b := dAtA[iNdEx] 61187 iNdEx++ 61188 msglen |= int(b&0x7F) << shift 61189 if b < 0x80 { 61190 break 61191 } 61192 } 61193 if msglen < 0 { 61194 return ErrInvalidLengthTypes 61195 } 61196 postIndex := iNdEx + msglen 61197 if postIndex < 0 { 61198 return ErrInvalidLengthTypes 61199 } 61200 if postIndex > l { 61201 return io.ErrUnexpectedEOF 61202 } 61203 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61204 return err 61205 } 61206 iNdEx = postIndex 61207 case 5: 61208 if wireType != 2 { 61209 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 61210 } 61211 var msglen int 61212 for shift := uint(0); ; shift += 7 { 61213 if shift >= 64 { 61214 return ErrIntOverflowTypes 61215 } 61216 if iNdEx >= l { 61217 return io.ErrUnexpectedEOF 61218 } 61219 b := dAtA[iNdEx] 61220 iNdEx++ 61221 msglen |= int(b&0x7F) << shift 61222 if b < 0x80 { 61223 break 61224 } 61225 } 61226 if msglen < 0 { 61227 return ErrInvalidLengthTypes 61228 } 61229 postIndex := iNdEx + msglen 61230 if postIndex < 0 { 61231 return ErrInvalidLengthTypes 61232 } 61233 if postIndex > l { 61234 return io.ErrUnexpectedEOF 61235 } 61236 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61237 return err 61238 } 61239 iNdEx = postIndex 61240 default: 61241 iNdEx = preIndex 61242 skippy, err := skipTypes(dAtA[iNdEx:]) 61243 if err != nil { 61244 return err 61245 } 61246 if (skippy < 0) || (iNdEx+skippy) < 0 { 61247 return ErrInvalidLengthTypes 61248 } 61249 if (iNdEx + skippy) > l { 61250 return io.ErrUnexpectedEOF 61251 } 61252 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 61253 iNdEx += skippy 61254 } 61255 } 61256 61257 if iNdEx > l { 61258 return io.ErrUnexpectedEOF 61259 } 61260 return nil 61261 } 61262 func (m *AppSpecV3) Unmarshal(dAtA []byte) error { 61263 l := len(dAtA) 61264 iNdEx := 0 61265 for iNdEx < l { 61266 preIndex := iNdEx 61267 var wire uint64 61268 for shift := uint(0); ; shift += 7 { 61269 if shift >= 64 { 61270 return ErrIntOverflowTypes 61271 } 61272 if iNdEx >= l { 61273 return io.ErrUnexpectedEOF 61274 } 61275 b := dAtA[iNdEx] 61276 iNdEx++ 61277 wire |= uint64(b&0x7F) << shift 61278 if b < 0x80 { 61279 break 61280 } 61281 } 61282 fieldNum := int32(wire >> 3) 61283 wireType := int(wire & 0x7) 61284 if wireType == 4 { 61285 return fmt.Errorf("proto: AppSpecV3: wiretype end group for non-group") 61286 } 61287 if fieldNum <= 0 { 61288 return fmt.Errorf("proto: AppSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 61289 } 61290 switch fieldNum { 61291 case 1: 61292 if wireType != 2 { 61293 return fmt.Errorf("proto: wrong wireType = %d for field URI", wireType) 61294 } 61295 var stringLen uint64 61296 for shift := uint(0); ; shift += 7 { 61297 if shift >= 64 { 61298 return ErrIntOverflowTypes 61299 } 61300 if iNdEx >= l { 61301 return io.ErrUnexpectedEOF 61302 } 61303 b := dAtA[iNdEx] 61304 iNdEx++ 61305 stringLen |= uint64(b&0x7F) << shift 61306 if b < 0x80 { 61307 break 61308 } 61309 } 61310 intStringLen := int(stringLen) 61311 if intStringLen < 0 { 61312 return ErrInvalidLengthTypes 61313 } 61314 postIndex := iNdEx + intStringLen 61315 if postIndex < 0 { 61316 return ErrInvalidLengthTypes 61317 } 61318 if postIndex > l { 61319 return io.ErrUnexpectedEOF 61320 } 61321 m.URI = string(dAtA[iNdEx:postIndex]) 61322 iNdEx = postIndex 61323 case 2: 61324 if wireType != 2 { 61325 return fmt.Errorf("proto: wrong wireType = %d for field PublicAddr", wireType) 61326 } 61327 var stringLen uint64 61328 for shift := uint(0); ; shift += 7 { 61329 if shift >= 64 { 61330 return ErrIntOverflowTypes 61331 } 61332 if iNdEx >= l { 61333 return io.ErrUnexpectedEOF 61334 } 61335 b := dAtA[iNdEx] 61336 iNdEx++ 61337 stringLen |= uint64(b&0x7F) << shift 61338 if b < 0x80 { 61339 break 61340 } 61341 } 61342 intStringLen := int(stringLen) 61343 if intStringLen < 0 { 61344 return ErrInvalidLengthTypes 61345 } 61346 postIndex := iNdEx + intStringLen 61347 if postIndex < 0 { 61348 return ErrInvalidLengthTypes 61349 } 61350 if postIndex > l { 61351 return io.ErrUnexpectedEOF 61352 } 61353 m.PublicAddr = string(dAtA[iNdEx:postIndex]) 61354 iNdEx = postIndex 61355 case 3: 61356 if wireType != 2 { 61357 return fmt.Errorf("proto: wrong wireType = %d for field DynamicLabels", wireType) 61358 } 61359 var msglen int 61360 for shift := uint(0); ; shift += 7 { 61361 if shift >= 64 { 61362 return ErrIntOverflowTypes 61363 } 61364 if iNdEx >= l { 61365 return io.ErrUnexpectedEOF 61366 } 61367 b := dAtA[iNdEx] 61368 iNdEx++ 61369 msglen |= int(b&0x7F) << shift 61370 if b < 0x80 { 61371 break 61372 } 61373 } 61374 if msglen < 0 { 61375 return ErrInvalidLengthTypes 61376 } 61377 postIndex := iNdEx + msglen 61378 if postIndex < 0 { 61379 return ErrInvalidLengthTypes 61380 } 61381 if postIndex > l { 61382 return io.ErrUnexpectedEOF 61383 } 61384 if m.DynamicLabels == nil { 61385 m.DynamicLabels = make(map[string]CommandLabelV2) 61386 } 61387 var mapkey string 61388 mapvalue := &CommandLabelV2{} 61389 for iNdEx < postIndex { 61390 entryPreIndex := iNdEx 61391 var wire uint64 61392 for shift := uint(0); ; shift += 7 { 61393 if shift >= 64 { 61394 return ErrIntOverflowTypes 61395 } 61396 if iNdEx >= l { 61397 return io.ErrUnexpectedEOF 61398 } 61399 b := dAtA[iNdEx] 61400 iNdEx++ 61401 wire |= uint64(b&0x7F) << shift 61402 if b < 0x80 { 61403 break 61404 } 61405 } 61406 fieldNum := int32(wire >> 3) 61407 if fieldNum == 1 { 61408 var stringLenmapkey uint64 61409 for shift := uint(0); ; shift += 7 { 61410 if shift >= 64 { 61411 return ErrIntOverflowTypes 61412 } 61413 if iNdEx >= l { 61414 return io.ErrUnexpectedEOF 61415 } 61416 b := dAtA[iNdEx] 61417 iNdEx++ 61418 stringLenmapkey |= uint64(b&0x7F) << shift 61419 if b < 0x80 { 61420 break 61421 } 61422 } 61423 intStringLenmapkey := int(stringLenmapkey) 61424 if intStringLenmapkey < 0 { 61425 return ErrInvalidLengthTypes 61426 } 61427 postStringIndexmapkey := iNdEx + intStringLenmapkey 61428 if postStringIndexmapkey < 0 { 61429 return ErrInvalidLengthTypes 61430 } 61431 if postStringIndexmapkey > l { 61432 return io.ErrUnexpectedEOF 61433 } 61434 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 61435 iNdEx = postStringIndexmapkey 61436 } else if fieldNum == 2 { 61437 var mapmsglen int 61438 for shift := uint(0); ; shift += 7 { 61439 if shift >= 64 { 61440 return ErrIntOverflowTypes 61441 } 61442 if iNdEx >= l { 61443 return io.ErrUnexpectedEOF 61444 } 61445 b := dAtA[iNdEx] 61446 iNdEx++ 61447 mapmsglen |= int(b&0x7F) << shift 61448 if b < 0x80 { 61449 break 61450 } 61451 } 61452 if mapmsglen < 0 { 61453 return ErrInvalidLengthTypes 61454 } 61455 postmsgIndex := iNdEx + mapmsglen 61456 if postmsgIndex < 0 { 61457 return ErrInvalidLengthTypes 61458 } 61459 if postmsgIndex > l { 61460 return io.ErrUnexpectedEOF 61461 } 61462 mapvalue = &CommandLabelV2{} 61463 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 61464 return err 61465 } 61466 iNdEx = postmsgIndex 61467 } else { 61468 iNdEx = entryPreIndex 61469 skippy, err := skipTypes(dAtA[iNdEx:]) 61470 if err != nil { 61471 return err 61472 } 61473 if (skippy < 0) || (iNdEx+skippy) < 0 { 61474 return ErrInvalidLengthTypes 61475 } 61476 if (iNdEx + skippy) > postIndex { 61477 return io.ErrUnexpectedEOF 61478 } 61479 iNdEx += skippy 61480 } 61481 } 61482 m.DynamicLabels[mapkey] = *mapvalue 61483 iNdEx = postIndex 61484 case 4: 61485 if wireType != 0 { 61486 return fmt.Errorf("proto: wrong wireType = %d for field InsecureSkipVerify", wireType) 61487 } 61488 var v int 61489 for shift := uint(0); ; shift += 7 { 61490 if shift >= 64 { 61491 return ErrIntOverflowTypes 61492 } 61493 if iNdEx >= l { 61494 return io.ErrUnexpectedEOF 61495 } 61496 b := dAtA[iNdEx] 61497 iNdEx++ 61498 v |= int(b&0x7F) << shift 61499 if b < 0x80 { 61500 break 61501 } 61502 } 61503 m.InsecureSkipVerify = bool(v != 0) 61504 case 5: 61505 if wireType != 2 { 61506 return fmt.Errorf("proto: wrong wireType = %d for field Rewrite", wireType) 61507 } 61508 var msglen int 61509 for shift := uint(0); ; shift += 7 { 61510 if shift >= 64 { 61511 return ErrIntOverflowTypes 61512 } 61513 if iNdEx >= l { 61514 return io.ErrUnexpectedEOF 61515 } 61516 b := dAtA[iNdEx] 61517 iNdEx++ 61518 msglen |= int(b&0x7F) << shift 61519 if b < 0x80 { 61520 break 61521 } 61522 } 61523 if msglen < 0 { 61524 return ErrInvalidLengthTypes 61525 } 61526 postIndex := iNdEx + msglen 61527 if postIndex < 0 { 61528 return ErrInvalidLengthTypes 61529 } 61530 if postIndex > l { 61531 return io.ErrUnexpectedEOF 61532 } 61533 if m.Rewrite == nil { 61534 m.Rewrite = &Rewrite{} 61535 } 61536 if err := m.Rewrite.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61537 return err 61538 } 61539 iNdEx = postIndex 61540 case 6: 61541 if wireType != 2 { 61542 return fmt.Errorf("proto: wrong wireType = %d for field AWS", wireType) 61543 } 61544 var msglen int 61545 for shift := uint(0); ; shift += 7 { 61546 if shift >= 64 { 61547 return ErrIntOverflowTypes 61548 } 61549 if iNdEx >= l { 61550 return io.ErrUnexpectedEOF 61551 } 61552 b := dAtA[iNdEx] 61553 iNdEx++ 61554 msglen |= int(b&0x7F) << shift 61555 if b < 0x80 { 61556 break 61557 } 61558 } 61559 if msglen < 0 { 61560 return ErrInvalidLengthTypes 61561 } 61562 postIndex := iNdEx + msglen 61563 if postIndex < 0 { 61564 return ErrInvalidLengthTypes 61565 } 61566 if postIndex > l { 61567 return io.ErrUnexpectedEOF 61568 } 61569 if m.AWS == nil { 61570 m.AWS = &AppAWS{} 61571 } 61572 if err := m.AWS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61573 return err 61574 } 61575 iNdEx = postIndex 61576 case 7: 61577 if wireType != 2 { 61578 return fmt.Errorf("proto: wrong wireType = %d for field Cloud", wireType) 61579 } 61580 var stringLen uint64 61581 for shift := uint(0); ; shift += 7 { 61582 if shift >= 64 { 61583 return ErrIntOverflowTypes 61584 } 61585 if iNdEx >= l { 61586 return io.ErrUnexpectedEOF 61587 } 61588 b := dAtA[iNdEx] 61589 iNdEx++ 61590 stringLen |= uint64(b&0x7F) << shift 61591 if b < 0x80 { 61592 break 61593 } 61594 } 61595 intStringLen := int(stringLen) 61596 if intStringLen < 0 { 61597 return ErrInvalidLengthTypes 61598 } 61599 postIndex := iNdEx + intStringLen 61600 if postIndex < 0 { 61601 return ErrInvalidLengthTypes 61602 } 61603 if postIndex > l { 61604 return io.ErrUnexpectedEOF 61605 } 61606 m.Cloud = string(dAtA[iNdEx:postIndex]) 61607 iNdEx = postIndex 61608 case 8: 61609 if wireType != 2 { 61610 return fmt.Errorf("proto: wrong wireType = %d for field UserGroups", wireType) 61611 } 61612 var stringLen uint64 61613 for shift := uint(0); ; shift += 7 { 61614 if shift >= 64 { 61615 return ErrIntOverflowTypes 61616 } 61617 if iNdEx >= l { 61618 return io.ErrUnexpectedEOF 61619 } 61620 b := dAtA[iNdEx] 61621 iNdEx++ 61622 stringLen |= uint64(b&0x7F) << shift 61623 if b < 0x80 { 61624 break 61625 } 61626 } 61627 intStringLen := int(stringLen) 61628 if intStringLen < 0 { 61629 return ErrInvalidLengthTypes 61630 } 61631 postIndex := iNdEx + intStringLen 61632 if postIndex < 0 { 61633 return ErrInvalidLengthTypes 61634 } 61635 if postIndex > l { 61636 return io.ErrUnexpectedEOF 61637 } 61638 m.UserGroups = append(m.UserGroups, string(dAtA[iNdEx:postIndex])) 61639 iNdEx = postIndex 61640 case 9: 61641 if wireType != 2 { 61642 return fmt.Errorf("proto: wrong wireType = %d for field Integration", wireType) 61643 } 61644 var stringLen uint64 61645 for shift := uint(0); ; shift += 7 { 61646 if shift >= 64 { 61647 return ErrIntOverflowTypes 61648 } 61649 if iNdEx >= l { 61650 return io.ErrUnexpectedEOF 61651 } 61652 b := dAtA[iNdEx] 61653 iNdEx++ 61654 stringLen |= uint64(b&0x7F) << shift 61655 if b < 0x80 { 61656 break 61657 } 61658 } 61659 intStringLen := int(stringLen) 61660 if intStringLen < 0 { 61661 return ErrInvalidLengthTypes 61662 } 61663 postIndex := iNdEx + intStringLen 61664 if postIndex < 0 { 61665 return ErrInvalidLengthTypes 61666 } 61667 if postIndex > l { 61668 return io.ErrUnexpectedEOF 61669 } 61670 m.Integration = string(dAtA[iNdEx:postIndex]) 61671 iNdEx = postIndex 61672 default: 61673 iNdEx = preIndex 61674 skippy, err := skipTypes(dAtA[iNdEx:]) 61675 if err != nil { 61676 return err 61677 } 61678 if (skippy < 0) || (iNdEx+skippy) < 0 { 61679 return ErrInvalidLengthTypes 61680 } 61681 if (iNdEx + skippy) > l { 61682 return io.ErrUnexpectedEOF 61683 } 61684 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 61685 iNdEx += skippy 61686 } 61687 } 61688 61689 if iNdEx > l { 61690 return io.ErrUnexpectedEOF 61691 } 61692 return nil 61693 } 61694 func (m *AppServerOrSAMLIdPServiceProviderV1) Unmarshal(dAtA []byte) error { 61695 l := len(dAtA) 61696 iNdEx := 0 61697 for iNdEx < l { 61698 preIndex := iNdEx 61699 var wire uint64 61700 for shift := uint(0); ; shift += 7 { 61701 if shift >= 64 { 61702 return ErrIntOverflowTypes 61703 } 61704 if iNdEx >= l { 61705 return io.ErrUnexpectedEOF 61706 } 61707 b := dAtA[iNdEx] 61708 iNdEx++ 61709 wire |= uint64(b&0x7F) << shift 61710 if b < 0x80 { 61711 break 61712 } 61713 } 61714 fieldNum := int32(wire >> 3) 61715 wireType := int(wire & 0x7) 61716 if wireType == 4 { 61717 return fmt.Errorf("proto: AppServerOrSAMLIdPServiceProviderV1: wiretype end group for non-group") 61718 } 61719 if fieldNum <= 0 { 61720 return fmt.Errorf("proto: AppServerOrSAMLIdPServiceProviderV1: illegal tag %d (wire type %d)", fieldNum, wire) 61721 } 61722 switch fieldNum { 61723 case 1: 61724 if wireType != 2 { 61725 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 61726 } 61727 var stringLen uint64 61728 for shift := uint(0); ; shift += 7 { 61729 if shift >= 64 { 61730 return ErrIntOverflowTypes 61731 } 61732 if iNdEx >= l { 61733 return io.ErrUnexpectedEOF 61734 } 61735 b := dAtA[iNdEx] 61736 iNdEx++ 61737 stringLen |= uint64(b&0x7F) << shift 61738 if b < 0x80 { 61739 break 61740 } 61741 } 61742 intStringLen := int(stringLen) 61743 if intStringLen < 0 { 61744 return ErrInvalidLengthTypes 61745 } 61746 postIndex := iNdEx + intStringLen 61747 if postIndex < 0 { 61748 return ErrInvalidLengthTypes 61749 } 61750 if postIndex > l { 61751 return io.ErrUnexpectedEOF 61752 } 61753 m.Kind = string(dAtA[iNdEx:postIndex]) 61754 iNdEx = postIndex 61755 case 2: 61756 if wireType != 2 { 61757 return fmt.Errorf("proto: wrong wireType = %d for field AppServer", wireType) 61758 } 61759 var msglen int 61760 for shift := uint(0); ; shift += 7 { 61761 if shift >= 64 { 61762 return ErrIntOverflowTypes 61763 } 61764 if iNdEx >= l { 61765 return io.ErrUnexpectedEOF 61766 } 61767 b := dAtA[iNdEx] 61768 iNdEx++ 61769 msglen |= int(b&0x7F) << shift 61770 if b < 0x80 { 61771 break 61772 } 61773 } 61774 if msglen < 0 { 61775 return ErrInvalidLengthTypes 61776 } 61777 postIndex := iNdEx + msglen 61778 if postIndex < 0 { 61779 return ErrInvalidLengthTypes 61780 } 61781 if postIndex > l { 61782 return io.ErrUnexpectedEOF 61783 } 61784 v := &AppServerV3{} 61785 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61786 return err 61787 } 61788 m.Resource = &AppServerOrSAMLIdPServiceProviderV1_AppServer{v} 61789 iNdEx = postIndex 61790 case 3: 61791 if wireType != 2 { 61792 return fmt.Errorf("proto: wrong wireType = %d for field SAMLIdPServiceProvider", wireType) 61793 } 61794 var msglen int 61795 for shift := uint(0); ; shift += 7 { 61796 if shift >= 64 { 61797 return ErrIntOverflowTypes 61798 } 61799 if iNdEx >= l { 61800 return io.ErrUnexpectedEOF 61801 } 61802 b := dAtA[iNdEx] 61803 iNdEx++ 61804 msglen |= int(b&0x7F) << shift 61805 if b < 0x80 { 61806 break 61807 } 61808 } 61809 if msglen < 0 { 61810 return ErrInvalidLengthTypes 61811 } 61812 postIndex := iNdEx + msglen 61813 if postIndex < 0 { 61814 return ErrInvalidLengthTypes 61815 } 61816 if postIndex > l { 61817 return io.ErrUnexpectedEOF 61818 } 61819 v := &SAMLIdPServiceProviderV1{} 61820 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61821 return err 61822 } 61823 m.Resource = &AppServerOrSAMLIdPServiceProviderV1_SAMLIdPServiceProvider{v} 61824 iNdEx = postIndex 61825 default: 61826 iNdEx = preIndex 61827 skippy, err := skipTypes(dAtA[iNdEx:]) 61828 if err != nil { 61829 return err 61830 } 61831 if (skippy < 0) || (iNdEx+skippy) < 0 { 61832 return ErrInvalidLengthTypes 61833 } 61834 if (iNdEx + skippy) > l { 61835 return io.ErrUnexpectedEOF 61836 } 61837 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 61838 iNdEx += skippy 61839 } 61840 } 61841 61842 if iNdEx > l { 61843 return io.ErrUnexpectedEOF 61844 } 61845 return nil 61846 } 61847 func (m *Rewrite) Unmarshal(dAtA []byte) error { 61848 l := len(dAtA) 61849 iNdEx := 0 61850 for iNdEx < l { 61851 preIndex := iNdEx 61852 var wire uint64 61853 for shift := uint(0); ; shift += 7 { 61854 if shift >= 64 { 61855 return ErrIntOverflowTypes 61856 } 61857 if iNdEx >= l { 61858 return io.ErrUnexpectedEOF 61859 } 61860 b := dAtA[iNdEx] 61861 iNdEx++ 61862 wire |= uint64(b&0x7F) << shift 61863 if b < 0x80 { 61864 break 61865 } 61866 } 61867 fieldNum := int32(wire >> 3) 61868 wireType := int(wire & 0x7) 61869 if wireType == 4 { 61870 return fmt.Errorf("proto: Rewrite: wiretype end group for non-group") 61871 } 61872 if fieldNum <= 0 { 61873 return fmt.Errorf("proto: Rewrite: illegal tag %d (wire type %d)", fieldNum, wire) 61874 } 61875 switch fieldNum { 61876 case 1: 61877 if wireType != 2 { 61878 return fmt.Errorf("proto: wrong wireType = %d for field Redirect", wireType) 61879 } 61880 var stringLen uint64 61881 for shift := uint(0); ; shift += 7 { 61882 if shift >= 64 { 61883 return ErrIntOverflowTypes 61884 } 61885 if iNdEx >= l { 61886 return io.ErrUnexpectedEOF 61887 } 61888 b := dAtA[iNdEx] 61889 iNdEx++ 61890 stringLen |= uint64(b&0x7F) << shift 61891 if b < 0x80 { 61892 break 61893 } 61894 } 61895 intStringLen := int(stringLen) 61896 if intStringLen < 0 { 61897 return ErrInvalidLengthTypes 61898 } 61899 postIndex := iNdEx + intStringLen 61900 if postIndex < 0 { 61901 return ErrInvalidLengthTypes 61902 } 61903 if postIndex > l { 61904 return io.ErrUnexpectedEOF 61905 } 61906 m.Redirect = append(m.Redirect, string(dAtA[iNdEx:postIndex])) 61907 iNdEx = postIndex 61908 case 2: 61909 if wireType != 2 { 61910 return fmt.Errorf("proto: wrong wireType = %d for field Headers", wireType) 61911 } 61912 var msglen int 61913 for shift := uint(0); ; shift += 7 { 61914 if shift >= 64 { 61915 return ErrIntOverflowTypes 61916 } 61917 if iNdEx >= l { 61918 return io.ErrUnexpectedEOF 61919 } 61920 b := dAtA[iNdEx] 61921 iNdEx++ 61922 msglen |= int(b&0x7F) << shift 61923 if b < 0x80 { 61924 break 61925 } 61926 } 61927 if msglen < 0 { 61928 return ErrInvalidLengthTypes 61929 } 61930 postIndex := iNdEx + msglen 61931 if postIndex < 0 { 61932 return ErrInvalidLengthTypes 61933 } 61934 if postIndex > l { 61935 return io.ErrUnexpectedEOF 61936 } 61937 m.Headers = append(m.Headers, &Header{}) 61938 if err := m.Headers[len(m.Headers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61939 return err 61940 } 61941 iNdEx = postIndex 61942 case 3: 61943 if wireType != 2 { 61944 return fmt.Errorf("proto: wrong wireType = %d for field JWTClaims", wireType) 61945 } 61946 var stringLen uint64 61947 for shift := uint(0); ; shift += 7 { 61948 if shift >= 64 { 61949 return ErrIntOverflowTypes 61950 } 61951 if iNdEx >= l { 61952 return io.ErrUnexpectedEOF 61953 } 61954 b := dAtA[iNdEx] 61955 iNdEx++ 61956 stringLen |= uint64(b&0x7F) << shift 61957 if b < 0x80 { 61958 break 61959 } 61960 } 61961 intStringLen := int(stringLen) 61962 if intStringLen < 0 { 61963 return ErrInvalidLengthTypes 61964 } 61965 postIndex := iNdEx + intStringLen 61966 if postIndex < 0 { 61967 return ErrInvalidLengthTypes 61968 } 61969 if postIndex > l { 61970 return io.ErrUnexpectedEOF 61971 } 61972 m.JWTClaims = string(dAtA[iNdEx:postIndex]) 61973 iNdEx = postIndex 61974 default: 61975 iNdEx = preIndex 61976 skippy, err := skipTypes(dAtA[iNdEx:]) 61977 if err != nil { 61978 return err 61979 } 61980 if (skippy < 0) || (iNdEx+skippy) < 0 { 61981 return ErrInvalidLengthTypes 61982 } 61983 if (iNdEx + skippy) > l { 61984 return io.ErrUnexpectedEOF 61985 } 61986 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 61987 iNdEx += skippy 61988 } 61989 } 61990 61991 if iNdEx > l { 61992 return io.ErrUnexpectedEOF 61993 } 61994 return nil 61995 } 61996 func (m *Header) Unmarshal(dAtA []byte) error { 61997 l := len(dAtA) 61998 iNdEx := 0 61999 for iNdEx < l { 62000 preIndex := iNdEx 62001 var wire uint64 62002 for shift := uint(0); ; shift += 7 { 62003 if shift >= 64 { 62004 return ErrIntOverflowTypes 62005 } 62006 if iNdEx >= l { 62007 return io.ErrUnexpectedEOF 62008 } 62009 b := dAtA[iNdEx] 62010 iNdEx++ 62011 wire |= uint64(b&0x7F) << shift 62012 if b < 0x80 { 62013 break 62014 } 62015 } 62016 fieldNum := int32(wire >> 3) 62017 wireType := int(wire & 0x7) 62018 if wireType == 4 { 62019 return fmt.Errorf("proto: Header: wiretype end group for non-group") 62020 } 62021 if fieldNum <= 0 { 62022 return fmt.Errorf("proto: Header: illegal tag %d (wire type %d)", fieldNum, wire) 62023 } 62024 switch fieldNum { 62025 case 1: 62026 if wireType != 2 { 62027 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 62028 } 62029 var stringLen uint64 62030 for shift := uint(0); ; shift += 7 { 62031 if shift >= 64 { 62032 return ErrIntOverflowTypes 62033 } 62034 if iNdEx >= l { 62035 return io.ErrUnexpectedEOF 62036 } 62037 b := dAtA[iNdEx] 62038 iNdEx++ 62039 stringLen |= uint64(b&0x7F) << shift 62040 if b < 0x80 { 62041 break 62042 } 62043 } 62044 intStringLen := int(stringLen) 62045 if intStringLen < 0 { 62046 return ErrInvalidLengthTypes 62047 } 62048 postIndex := iNdEx + intStringLen 62049 if postIndex < 0 { 62050 return ErrInvalidLengthTypes 62051 } 62052 if postIndex > l { 62053 return io.ErrUnexpectedEOF 62054 } 62055 m.Name = string(dAtA[iNdEx:postIndex]) 62056 iNdEx = postIndex 62057 case 2: 62058 if wireType != 2 { 62059 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 62060 } 62061 var stringLen uint64 62062 for shift := uint(0); ; shift += 7 { 62063 if shift >= 64 { 62064 return ErrIntOverflowTypes 62065 } 62066 if iNdEx >= l { 62067 return io.ErrUnexpectedEOF 62068 } 62069 b := dAtA[iNdEx] 62070 iNdEx++ 62071 stringLen |= uint64(b&0x7F) << shift 62072 if b < 0x80 { 62073 break 62074 } 62075 } 62076 intStringLen := int(stringLen) 62077 if intStringLen < 0 { 62078 return ErrInvalidLengthTypes 62079 } 62080 postIndex := iNdEx + intStringLen 62081 if postIndex < 0 { 62082 return ErrInvalidLengthTypes 62083 } 62084 if postIndex > l { 62085 return io.ErrUnexpectedEOF 62086 } 62087 m.Value = string(dAtA[iNdEx:postIndex]) 62088 iNdEx = postIndex 62089 default: 62090 iNdEx = preIndex 62091 skippy, err := skipTypes(dAtA[iNdEx:]) 62092 if err != nil { 62093 return err 62094 } 62095 if (skippy < 0) || (iNdEx+skippy) < 0 { 62096 return ErrInvalidLengthTypes 62097 } 62098 if (iNdEx + skippy) > l { 62099 return io.ErrUnexpectedEOF 62100 } 62101 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 62102 iNdEx += skippy 62103 } 62104 } 62105 62106 if iNdEx > l { 62107 return io.ErrUnexpectedEOF 62108 } 62109 return nil 62110 } 62111 func (m *CommandLabelV2) Unmarshal(dAtA []byte) error { 62112 l := len(dAtA) 62113 iNdEx := 0 62114 for iNdEx < l { 62115 preIndex := iNdEx 62116 var wire uint64 62117 for shift := uint(0); ; shift += 7 { 62118 if shift >= 64 { 62119 return ErrIntOverflowTypes 62120 } 62121 if iNdEx >= l { 62122 return io.ErrUnexpectedEOF 62123 } 62124 b := dAtA[iNdEx] 62125 iNdEx++ 62126 wire |= uint64(b&0x7F) << shift 62127 if b < 0x80 { 62128 break 62129 } 62130 } 62131 fieldNum := int32(wire >> 3) 62132 wireType := int(wire & 0x7) 62133 if wireType == 4 { 62134 return fmt.Errorf("proto: CommandLabelV2: wiretype end group for non-group") 62135 } 62136 if fieldNum <= 0 { 62137 return fmt.Errorf("proto: CommandLabelV2: illegal tag %d (wire type %d)", fieldNum, wire) 62138 } 62139 switch fieldNum { 62140 case 1: 62141 if wireType != 0 { 62142 return fmt.Errorf("proto: wrong wireType = %d for field Period", wireType) 62143 } 62144 m.Period = 0 62145 for shift := uint(0); ; shift += 7 { 62146 if shift >= 64 { 62147 return ErrIntOverflowTypes 62148 } 62149 if iNdEx >= l { 62150 return io.ErrUnexpectedEOF 62151 } 62152 b := dAtA[iNdEx] 62153 iNdEx++ 62154 m.Period |= Duration(b&0x7F) << shift 62155 if b < 0x80 { 62156 break 62157 } 62158 } 62159 case 2: 62160 if wireType != 2 { 62161 return fmt.Errorf("proto: wrong wireType = %d for field Command", wireType) 62162 } 62163 var stringLen uint64 62164 for shift := uint(0); ; shift += 7 { 62165 if shift >= 64 { 62166 return ErrIntOverflowTypes 62167 } 62168 if iNdEx >= l { 62169 return io.ErrUnexpectedEOF 62170 } 62171 b := dAtA[iNdEx] 62172 iNdEx++ 62173 stringLen |= uint64(b&0x7F) << shift 62174 if b < 0x80 { 62175 break 62176 } 62177 } 62178 intStringLen := int(stringLen) 62179 if intStringLen < 0 { 62180 return ErrInvalidLengthTypes 62181 } 62182 postIndex := iNdEx + intStringLen 62183 if postIndex < 0 { 62184 return ErrInvalidLengthTypes 62185 } 62186 if postIndex > l { 62187 return io.ErrUnexpectedEOF 62188 } 62189 m.Command = append(m.Command, string(dAtA[iNdEx:postIndex])) 62190 iNdEx = postIndex 62191 case 3: 62192 if wireType != 2 { 62193 return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) 62194 } 62195 var stringLen uint64 62196 for shift := uint(0); ; shift += 7 { 62197 if shift >= 64 { 62198 return ErrIntOverflowTypes 62199 } 62200 if iNdEx >= l { 62201 return io.ErrUnexpectedEOF 62202 } 62203 b := dAtA[iNdEx] 62204 iNdEx++ 62205 stringLen |= uint64(b&0x7F) << shift 62206 if b < 0x80 { 62207 break 62208 } 62209 } 62210 intStringLen := int(stringLen) 62211 if intStringLen < 0 { 62212 return ErrInvalidLengthTypes 62213 } 62214 postIndex := iNdEx + intStringLen 62215 if postIndex < 0 { 62216 return ErrInvalidLengthTypes 62217 } 62218 if postIndex > l { 62219 return io.ErrUnexpectedEOF 62220 } 62221 m.Result = string(dAtA[iNdEx:postIndex]) 62222 iNdEx = postIndex 62223 default: 62224 iNdEx = preIndex 62225 skippy, err := skipTypes(dAtA[iNdEx:]) 62226 if err != nil { 62227 return err 62228 } 62229 if (skippy < 0) || (iNdEx+skippy) < 0 { 62230 return ErrInvalidLengthTypes 62231 } 62232 if (iNdEx + skippy) > l { 62233 return io.ErrUnexpectedEOF 62234 } 62235 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 62236 iNdEx += skippy 62237 } 62238 } 62239 62240 if iNdEx > l { 62241 return io.ErrUnexpectedEOF 62242 } 62243 return nil 62244 } 62245 func (m *AppAWS) Unmarshal(dAtA []byte) error { 62246 l := len(dAtA) 62247 iNdEx := 0 62248 for iNdEx < l { 62249 preIndex := iNdEx 62250 var wire uint64 62251 for shift := uint(0); ; shift += 7 { 62252 if shift >= 64 { 62253 return ErrIntOverflowTypes 62254 } 62255 if iNdEx >= l { 62256 return io.ErrUnexpectedEOF 62257 } 62258 b := dAtA[iNdEx] 62259 iNdEx++ 62260 wire |= uint64(b&0x7F) << shift 62261 if b < 0x80 { 62262 break 62263 } 62264 } 62265 fieldNum := int32(wire >> 3) 62266 wireType := int(wire & 0x7) 62267 if wireType == 4 { 62268 return fmt.Errorf("proto: AppAWS: wiretype end group for non-group") 62269 } 62270 if fieldNum <= 0 { 62271 return fmt.Errorf("proto: AppAWS: illegal tag %d (wire type %d)", fieldNum, wire) 62272 } 62273 switch fieldNum { 62274 case 1: 62275 if wireType != 2 { 62276 return fmt.Errorf("proto: wrong wireType = %d for field ExternalID", wireType) 62277 } 62278 var stringLen uint64 62279 for shift := uint(0); ; shift += 7 { 62280 if shift >= 64 { 62281 return ErrIntOverflowTypes 62282 } 62283 if iNdEx >= l { 62284 return io.ErrUnexpectedEOF 62285 } 62286 b := dAtA[iNdEx] 62287 iNdEx++ 62288 stringLen |= uint64(b&0x7F) << shift 62289 if b < 0x80 { 62290 break 62291 } 62292 } 62293 intStringLen := int(stringLen) 62294 if intStringLen < 0 { 62295 return ErrInvalidLengthTypes 62296 } 62297 postIndex := iNdEx + intStringLen 62298 if postIndex < 0 { 62299 return ErrInvalidLengthTypes 62300 } 62301 if postIndex > l { 62302 return io.ErrUnexpectedEOF 62303 } 62304 m.ExternalID = string(dAtA[iNdEx:postIndex]) 62305 iNdEx = postIndex 62306 default: 62307 iNdEx = preIndex 62308 skippy, err := skipTypes(dAtA[iNdEx:]) 62309 if err != nil { 62310 return err 62311 } 62312 if (skippy < 0) || (iNdEx+skippy) < 0 { 62313 return ErrInvalidLengthTypes 62314 } 62315 if (iNdEx + skippy) > l { 62316 return io.ErrUnexpectedEOF 62317 } 62318 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 62319 iNdEx += skippy 62320 } 62321 } 62322 62323 if iNdEx > l { 62324 return io.ErrUnexpectedEOF 62325 } 62326 return nil 62327 } 62328 func (m *SSHKeyPair) Unmarshal(dAtA []byte) error { 62329 l := len(dAtA) 62330 iNdEx := 0 62331 for iNdEx < l { 62332 preIndex := iNdEx 62333 var wire uint64 62334 for shift := uint(0); ; shift += 7 { 62335 if shift >= 64 { 62336 return ErrIntOverflowTypes 62337 } 62338 if iNdEx >= l { 62339 return io.ErrUnexpectedEOF 62340 } 62341 b := dAtA[iNdEx] 62342 iNdEx++ 62343 wire |= uint64(b&0x7F) << shift 62344 if b < 0x80 { 62345 break 62346 } 62347 } 62348 fieldNum := int32(wire >> 3) 62349 wireType := int(wire & 0x7) 62350 if wireType == 4 { 62351 return fmt.Errorf("proto: SSHKeyPair: wiretype end group for non-group") 62352 } 62353 if fieldNum <= 0 { 62354 return fmt.Errorf("proto: SSHKeyPair: illegal tag %d (wire type %d)", fieldNum, wire) 62355 } 62356 switch fieldNum { 62357 case 1: 62358 if wireType != 2 { 62359 return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) 62360 } 62361 var byteLen int 62362 for shift := uint(0); ; shift += 7 { 62363 if shift >= 64 { 62364 return ErrIntOverflowTypes 62365 } 62366 if iNdEx >= l { 62367 return io.ErrUnexpectedEOF 62368 } 62369 b := dAtA[iNdEx] 62370 iNdEx++ 62371 byteLen |= int(b&0x7F) << shift 62372 if b < 0x80 { 62373 break 62374 } 62375 } 62376 if byteLen < 0 { 62377 return ErrInvalidLengthTypes 62378 } 62379 postIndex := iNdEx + byteLen 62380 if postIndex < 0 { 62381 return ErrInvalidLengthTypes 62382 } 62383 if postIndex > l { 62384 return io.ErrUnexpectedEOF 62385 } 62386 m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) 62387 if m.PublicKey == nil { 62388 m.PublicKey = []byte{} 62389 } 62390 iNdEx = postIndex 62391 case 2: 62392 if wireType != 2 { 62393 return fmt.Errorf("proto: wrong wireType = %d for field PrivateKey", wireType) 62394 } 62395 var byteLen int 62396 for shift := uint(0); ; shift += 7 { 62397 if shift >= 64 { 62398 return ErrIntOverflowTypes 62399 } 62400 if iNdEx >= l { 62401 return io.ErrUnexpectedEOF 62402 } 62403 b := dAtA[iNdEx] 62404 iNdEx++ 62405 byteLen |= int(b&0x7F) << shift 62406 if b < 0x80 { 62407 break 62408 } 62409 } 62410 if byteLen < 0 { 62411 return ErrInvalidLengthTypes 62412 } 62413 postIndex := iNdEx + byteLen 62414 if postIndex < 0 { 62415 return ErrInvalidLengthTypes 62416 } 62417 if postIndex > l { 62418 return io.ErrUnexpectedEOF 62419 } 62420 m.PrivateKey = append(m.PrivateKey[:0], dAtA[iNdEx:postIndex]...) 62421 if m.PrivateKey == nil { 62422 m.PrivateKey = []byte{} 62423 } 62424 iNdEx = postIndex 62425 case 3: 62426 if wireType != 0 { 62427 return fmt.Errorf("proto: wrong wireType = %d for field PrivateKeyType", wireType) 62428 } 62429 m.PrivateKeyType = 0 62430 for shift := uint(0); ; shift += 7 { 62431 if shift >= 64 { 62432 return ErrIntOverflowTypes 62433 } 62434 if iNdEx >= l { 62435 return io.ErrUnexpectedEOF 62436 } 62437 b := dAtA[iNdEx] 62438 iNdEx++ 62439 m.PrivateKeyType |= PrivateKeyType(b&0x7F) << shift 62440 if b < 0x80 { 62441 break 62442 } 62443 } 62444 default: 62445 iNdEx = preIndex 62446 skippy, err := skipTypes(dAtA[iNdEx:]) 62447 if err != nil { 62448 return err 62449 } 62450 if (skippy < 0) || (iNdEx+skippy) < 0 { 62451 return ErrInvalidLengthTypes 62452 } 62453 if (iNdEx + skippy) > l { 62454 return io.ErrUnexpectedEOF 62455 } 62456 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 62457 iNdEx += skippy 62458 } 62459 } 62460 62461 if iNdEx > l { 62462 return io.ErrUnexpectedEOF 62463 } 62464 return nil 62465 } 62466 func (m *TLSKeyPair) Unmarshal(dAtA []byte) error { 62467 l := len(dAtA) 62468 iNdEx := 0 62469 for iNdEx < l { 62470 preIndex := iNdEx 62471 var wire uint64 62472 for shift := uint(0); ; shift += 7 { 62473 if shift >= 64 { 62474 return ErrIntOverflowTypes 62475 } 62476 if iNdEx >= l { 62477 return io.ErrUnexpectedEOF 62478 } 62479 b := dAtA[iNdEx] 62480 iNdEx++ 62481 wire |= uint64(b&0x7F) << shift 62482 if b < 0x80 { 62483 break 62484 } 62485 } 62486 fieldNum := int32(wire >> 3) 62487 wireType := int(wire & 0x7) 62488 if wireType == 4 { 62489 return fmt.Errorf("proto: TLSKeyPair: wiretype end group for non-group") 62490 } 62491 if fieldNum <= 0 { 62492 return fmt.Errorf("proto: TLSKeyPair: illegal tag %d (wire type %d)", fieldNum, wire) 62493 } 62494 switch fieldNum { 62495 case 1: 62496 if wireType != 2 { 62497 return fmt.Errorf("proto: wrong wireType = %d for field Cert", wireType) 62498 } 62499 var byteLen int 62500 for shift := uint(0); ; shift += 7 { 62501 if shift >= 64 { 62502 return ErrIntOverflowTypes 62503 } 62504 if iNdEx >= l { 62505 return io.ErrUnexpectedEOF 62506 } 62507 b := dAtA[iNdEx] 62508 iNdEx++ 62509 byteLen |= int(b&0x7F) << shift 62510 if b < 0x80 { 62511 break 62512 } 62513 } 62514 if byteLen < 0 { 62515 return ErrInvalidLengthTypes 62516 } 62517 postIndex := iNdEx + byteLen 62518 if postIndex < 0 { 62519 return ErrInvalidLengthTypes 62520 } 62521 if postIndex > l { 62522 return io.ErrUnexpectedEOF 62523 } 62524 m.Cert = append(m.Cert[:0], dAtA[iNdEx:postIndex]...) 62525 if m.Cert == nil { 62526 m.Cert = []byte{} 62527 } 62528 iNdEx = postIndex 62529 case 2: 62530 if wireType != 2 { 62531 return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) 62532 } 62533 var byteLen int 62534 for shift := uint(0); ; shift += 7 { 62535 if shift >= 64 { 62536 return ErrIntOverflowTypes 62537 } 62538 if iNdEx >= l { 62539 return io.ErrUnexpectedEOF 62540 } 62541 b := dAtA[iNdEx] 62542 iNdEx++ 62543 byteLen |= int(b&0x7F) << shift 62544 if b < 0x80 { 62545 break 62546 } 62547 } 62548 if byteLen < 0 { 62549 return ErrInvalidLengthTypes 62550 } 62551 postIndex := iNdEx + byteLen 62552 if postIndex < 0 { 62553 return ErrInvalidLengthTypes 62554 } 62555 if postIndex > l { 62556 return io.ErrUnexpectedEOF 62557 } 62558 m.Key = append(m.Key[:0], dAtA[iNdEx:postIndex]...) 62559 if m.Key == nil { 62560 m.Key = []byte{} 62561 } 62562 iNdEx = postIndex 62563 case 3: 62564 if wireType != 0 { 62565 return fmt.Errorf("proto: wrong wireType = %d for field KeyType", wireType) 62566 } 62567 m.KeyType = 0 62568 for shift := uint(0); ; shift += 7 { 62569 if shift >= 64 { 62570 return ErrIntOverflowTypes 62571 } 62572 if iNdEx >= l { 62573 return io.ErrUnexpectedEOF 62574 } 62575 b := dAtA[iNdEx] 62576 iNdEx++ 62577 m.KeyType |= PrivateKeyType(b&0x7F) << shift 62578 if b < 0x80 { 62579 break 62580 } 62581 } 62582 default: 62583 iNdEx = preIndex 62584 skippy, err := skipTypes(dAtA[iNdEx:]) 62585 if err != nil { 62586 return err 62587 } 62588 if (skippy < 0) || (iNdEx+skippy) < 0 { 62589 return ErrInvalidLengthTypes 62590 } 62591 if (iNdEx + skippy) > l { 62592 return io.ErrUnexpectedEOF 62593 } 62594 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 62595 iNdEx += skippy 62596 } 62597 } 62598 62599 if iNdEx > l { 62600 return io.ErrUnexpectedEOF 62601 } 62602 return nil 62603 } 62604 func (m *JWTKeyPair) Unmarshal(dAtA []byte) error { 62605 l := len(dAtA) 62606 iNdEx := 0 62607 for iNdEx < l { 62608 preIndex := iNdEx 62609 var wire uint64 62610 for shift := uint(0); ; shift += 7 { 62611 if shift >= 64 { 62612 return ErrIntOverflowTypes 62613 } 62614 if iNdEx >= l { 62615 return io.ErrUnexpectedEOF 62616 } 62617 b := dAtA[iNdEx] 62618 iNdEx++ 62619 wire |= uint64(b&0x7F) << shift 62620 if b < 0x80 { 62621 break 62622 } 62623 } 62624 fieldNum := int32(wire >> 3) 62625 wireType := int(wire & 0x7) 62626 if wireType == 4 { 62627 return fmt.Errorf("proto: JWTKeyPair: wiretype end group for non-group") 62628 } 62629 if fieldNum <= 0 { 62630 return fmt.Errorf("proto: JWTKeyPair: illegal tag %d (wire type %d)", fieldNum, wire) 62631 } 62632 switch fieldNum { 62633 case 1: 62634 if wireType != 2 { 62635 return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) 62636 } 62637 var byteLen int 62638 for shift := uint(0); ; shift += 7 { 62639 if shift >= 64 { 62640 return ErrIntOverflowTypes 62641 } 62642 if iNdEx >= l { 62643 return io.ErrUnexpectedEOF 62644 } 62645 b := dAtA[iNdEx] 62646 iNdEx++ 62647 byteLen |= int(b&0x7F) << shift 62648 if b < 0x80 { 62649 break 62650 } 62651 } 62652 if byteLen < 0 { 62653 return ErrInvalidLengthTypes 62654 } 62655 postIndex := iNdEx + byteLen 62656 if postIndex < 0 { 62657 return ErrInvalidLengthTypes 62658 } 62659 if postIndex > l { 62660 return io.ErrUnexpectedEOF 62661 } 62662 m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) 62663 if m.PublicKey == nil { 62664 m.PublicKey = []byte{} 62665 } 62666 iNdEx = postIndex 62667 case 2: 62668 if wireType != 2 { 62669 return fmt.Errorf("proto: wrong wireType = %d for field PrivateKey", wireType) 62670 } 62671 var byteLen int 62672 for shift := uint(0); ; shift += 7 { 62673 if shift >= 64 { 62674 return ErrIntOverflowTypes 62675 } 62676 if iNdEx >= l { 62677 return io.ErrUnexpectedEOF 62678 } 62679 b := dAtA[iNdEx] 62680 iNdEx++ 62681 byteLen |= int(b&0x7F) << shift 62682 if b < 0x80 { 62683 break 62684 } 62685 } 62686 if byteLen < 0 { 62687 return ErrInvalidLengthTypes 62688 } 62689 postIndex := iNdEx + byteLen 62690 if postIndex < 0 { 62691 return ErrInvalidLengthTypes 62692 } 62693 if postIndex > l { 62694 return io.ErrUnexpectedEOF 62695 } 62696 m.PrivateKey = append(m.PrivateKey[:0], dAtA[iNdEx:postIndex]...) 62697 if m.PrivateKey == nil { 62698 m.PrivateKey = []byte{} 62699 } 62700 iNdEx = postIndex 62701 case 3: 62702 if wireType != 0 { 62703 return fmt.Errorf("proto: wrong wireType = %d for field PrivateKeyType", wireType) 62704 } 62705 m.PrivateKeyType = 0 62706 for shift := uint(0); ; shift += 7 { 62707 if shift >= 64 { 62708 return ErrIntOverflowTypes 62709 } 62710 if iNdEx >= l { 62711 return io.ErrUnexpectedEOF 62712 } 62713 b := dAtA[iNdEx] 62714 iNdEx++ 62715 m.PrivateKeyType |= PrivateKeyType(b&0x7F) << shift 62716 if b < 0x80 { 62717 break 62718 } 62719 } 62720 default: 62721 iNdEx = preIndex 62722 skippy, err := skipTypes(dAtA[iNdEx:]) 62723 if err != nil { 62724 return err 62725 } 62726 if (skippy < 0) || (iNdEx+skippy) < 0 { 62727 return ErrInvalidLengthTypes 62728 } 62729 if (iNdEx + skippy) > l { 62730 return io.ErrUnexpectedEOF 62731 } 62732 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 62733 iNdEx += skippy 62734 } 62735 } 62736 62737 if iNdEx > l { 62738 return io.ErrUnexpectedEOF 62739 } 62740 return nil 62741 } 62742 func (m *CertAuthorityV2) Unmarshal(dAtA []byte) error { 62743 l := len(dAtA) 62744 iNdEx := 0 62745 for iNdEx < l { 62746 preIndex := iNdEx 62747 var wire uint64 62748 for shift := uint(0); ; shift += 7 { 62749 if shift >= 64 { 62750 return ErrIntOverflowTypes 62751 } 62752 if iNdEx >= l { 62753 return io.ErrUnexpectedEOF 62754 } 62755 b := dAtA[iNdEx] 62756 iNdEx++ 62757 wire |= uint64(b&0x7F) << shift 62758 if b < 0x80 { 62759 break 62760 } 62761 } 62762 fieldNum := int32(wire >> 3) 62763 wireType := int(wire & 0x7) 62764 if wireType == 4 { 62765 return fmt.Errorf("proto: CertAuthorityV2: wiretype end group for non-group") 62766 } 62767 if fieldNum <= 0 { 62768 return fmt.Errorf("proto: CertAuthorityV2: illegal tag %d (wire type %d)", fieldNum, wire) 62769 } 62770 switch fieldNum { 62771 case 1: 62772 if wireType != 2 { 62773 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 62774 } 62775 var stringLen uint64 62776 for shift := uint(0); ; shift += 7 { 62777 if shift >= 64 { 62778 return ErrIntOverflowTypes 62779 } 62780 if iNdEx >= l { 62781 return io.ErrUnexpectedEOF 62782 } 62783 b := dAtA[iNdEx] 62784 iNdEx++ 62785 stringLen |= uint64(b&0x7F) << shift 62786 if b < 0x80 { 62787 break 62788 } 62789 } 62790 intStringLen := int(stringLen) 62791 if intStringLen < 0 { 62792 return ErrInvalidLengthTypes 62793 } 62794 postIndex := iNdEx + intStringLen 62795 if postIndex < 0 { 62796 return ErrInvalidLengthTypes 62797 } 62798 if postIndex > l { 62799 return io.ErrUnexpectedEOF 62800 } 62801 m.Kind = string(dAtA[iNdEx:postIndex]) 62802 iNdEx = postIndex 62803 case 2: 62804 if wireType != 2 { 62805 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 62806 } 62807 var stringLen uint64 62808 for shift := uint(0); ; shift += 7 { 62809 if shift >= 64 { 62810 return ErrIntOverflowTypes 62811 } 62812 if iNdEx >= l { 62813 return io.ErrUnexpectedEOF 62814 } 62815 b := dAtA[iNdEx] 62816 iNdEx++ 62817 stringLen |= uint64(b&0x7F) << shift 62818 if b < 0x80 { 62819 break 62820 } 62821 } 62822 intStringLen := int(stringLen) 62823 if intStringLen < 0 { 62824 return ErrInvalidLengthTypes 62825 } 62826 postIndex := iNdEx + intStringLen 62827 if postIndex < 0 { 62828 return ErrInvalidLengthTypes 62829 } 62830 if postIndex > l { 62831 return io.ErrUnexpectedEOF 62832 } 62833 m.SubKind = string(dAtA[iNdEx:postIndex]) 62834 iNdEx = postIndex 62835 case 3: 62836 if wireType != 2 { 62837 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 62838 } 62839 var stringLen uint64 62840 for shift := uint(0); ; shift += 7 { 62841 if shift >= 64 { 62842 return ErrIntOverflowTypes 62843 } 62844 if iNdEx >= l { 62845 return io.ErrUnexpectedEOF 62846 } 62847 b := dAtA[iNdEx] 62848 iNdEx++ 62849 stringLen |= uint64(b&0x7F) << shift 62850 if b < 0x80 { 62851 break 62852 } 62853 } 62854 intStringLen := int(stringLen) 62855 if intStringLen < 0 { 62856 return ErrInvalidLengthTypes 62857 } 62858 postIndex := iNdEx + intStringLen 62859 if postIndex < 0 { 62860 return ErrInvalidLengthTypes 62861 } 62862 if postIndex > l { 62863 return io.ErrUnexpectedEOF 62864 } 62865 m.Version = string(dAtA[iNdEx:postIndex]) 62866 iNdEx = postIndex 62867 case 4: 62868 if wireType != 2 { 62869 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 62870 } 62871 var msglen int 62872 for shift := uint(0); ; shift += 7 { 62873 if shift >= 64 { 62874 return ErrIntOverflowTypes 62875 } 62876 if iNdEx >= l { 62877 return io.ErrUnexpectedEOF 62878 } 62879 b := dAtA[iNdEx] 62880 iNdEx++ 62881 msglen |= int(b&0x7F) << shift 62882 if b < 0x80 { 62883 break 62884 } 62885 } 62886 if msglen < 0 { 62887 return ErrInvalidLengthTypes 62888 } 62889 postIndex := iNdEx + msglen 62890 if postIndex < 0 { 62891 return ErrInvalidLengthTypes 62892 } 62893 if postIndex > l { 62894 return io.ErrUnexpectedEOF 62895 } 62896 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 62897 return err 62898 } 62899 iNdEx = postIndex 62900 case 5: 62901 if wireType != 2 { 62902 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 62903 } 62904 var msglen int 62905 for shift := uint(0); ; shift += 7 { 62906 if shift >= 64 { 62907 return ErrIntOverflowTypes 62908 } 62909 if iNdEx >= l { 62910 return io.ErrUnexpectedEOF 62911 } 62912 b := dAtA[iNdEx] 62913 iNdEx++ 62914 msglen |= int(b&0x7F) << shift 62915 if b < 0x80 { 62916 break 62917 } 62918 } 62919 if msglen < 0 { 62920 return ErrInvalidLengthTypes 62921 } 62922 postIndex := iNdEx + msglen 62923 if postIndex < 0 { 62924 return ErrInvalidLengthTypes 62925 } 62926 if postIndex > l { 62927 return io.ErrUnexpectedEOF 62928 } 62929 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 62930 return err 62931 } 62932 iNdEx = postIndex 62933 default: 62934 iNdEx = preIndex 62935 skippy, err := skipTypes(dAtA[iNdEx:]) 62936 if err != nil { 62937 return err 62938 } 62939 if (skippy < 0) || (iNdEx+skippy) < 0 { 62940 return ErrInvalidLengthTypes 62941 } 62942 if (iNdEx + skippy) > l { 62943 return io.ErrUnexpectedEOF 62944 } 62945 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 62946 iNdEx += skippy 62947 } 62948 } 62949 62950 if iNdEx > l { 62951 return io.ErrUnexpectedEOF 62952 } 62953 return nil 62954 } 62955 func (m *CertAuthoritySpecV2) Unmarshal(dAtA []byte) error { 62956 l := len(dAtA) 62957 iNdEx := 0 62958 for iNdEx < l { 62959 preIndex := iNdEx 62960 var wire uint64 62961 for shift := uint(0); ; shift += 7 { 62962 if shift >= 64 { 62963 return ErrIntOverflowTypes 62964 } 62965 if iNdEx >= l { 62966 return io.ErrUnexpectedEOF 62967 } 62968 b := dAtA[iNdEx] 62969 iNdEx++ 62970 wire |= uint64(b&0x7F) << shift 62971 if b < 0x80 { 62972 break 62973 } 62974 } 62975 fieldNum := int32(wire >> 3) 62976 wireType := int(wire & 0x7) 62977 if wireType == 4 { 62978 return fmt.Errorf("proto: CertAuthoritySpecV2: wiretype end group for non-group") 62979 } 62980 if fieldNum <= 0 { 62981 return fmt.Errorf("proto: CertAuthoritySpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 62982 } 62983 switch fieldNum { 62984 case 1: 62985 if wireType != 2 { 62986 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 62987 } 62988 var stringLen uint64 62989 for shift := uint(0); ; shift += 7 { 62990 if shift >= 64 { 62991 return ErrIntOverflowTypes 62992 } 62993 if iNdEx >= l { 62994 return io.ErrUnexpectedEOF 62995 } 62996 b := dAtA[iNdEx] 62997 iNdEx++ 62998 stringLen |= uint64(b&0x7F) << shift 62999 if b < 0x80 { 63000 break 63001 } 63002 } 63003 intStringLen := int(stringLen) 63004 if intStringLen < 0 { 63005 return ErrInvalidLengthTypes 63006 } 63007 postIndex := iNdEx + intStringLen 63008 if postIndex < 0 { 63009 return ErrInvalidLengthTypes 63010 } 63011 if postIndex > l { 63012 return io.ErrUnexpectedEOF 63013 } 63014 m.Type = CertAuthType(dAtA[iNdEx:postIndex]) 63015 iNdEx = postIndex 63016 case 2: 63017 if wireType != 2 { 63018 return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) 63019 } 63020 var stringLen uint64 63021 for shift := uint(0); ; shift += 7 { 63022 if shift >= 64 { 63023 return ErrIntOverflowTypes 63024 } 63025 if iNdEx >= l { 63026 return io.ErrUnexpectedEOF 63027 } 63028 b := dAtA[iNdEx] 63029 iNdEx++ 63030 stringLen |= uint64(b&0x7F) << shift 63031 if b < 0x80 { 63032 break 63033 } 63034 } 63035 intStringLen := int(stringLen) 63036 if intStringLen < 0 { 63037 return ErrInvalidLengthTypes 63038 } 63039 postIndex := iNdEx + intStringLen 63040 if postIndex < 0 { 63041 return ErrInvalidLengthTypes 63042 } 63043 if postIndex > l { 63044 return io.ErrUnexpectedEOF 63045 } 63046 m.ClusterName = string(dAtA[iNdEx:postIndex]) 63047 iNdEx = postIndex 63048 case 5: 63049 if wireType != 2 { 63050 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 63051 } 63052 var stringLen uint64 63053 for shift := uint(0); ; shift += 7 { 63054 if shift >= 64 { 63055 return ErrIntOverflowTypes 63056 } 63057 if iNdEx >= l { 63058 return io.ErrUnexpectedEOF 63059 } 63060 b := dAtA[iNdEx] 63061 iNdEx++ 63062 stringLen |= uint64(b&0x7F) << shift 63063 if b < 0x80 { 63064 break 63065 } 63066 } 63067 intStringLen := int(stringLen) 63068 if intStringLen < 0 { 63069 return ErrInvalidLengthTypes 63070 } 63071 postIndex := iNdEx + intStringLen 63072 if postIndex < 0 { 63073 return ErrInvalidLengthTypes 63074 } 63075 if postIndex > l { 63076 return io.ErrUnexpectedEOF 63077 } 63078 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 63079 iNdEx = postIndex 63080 case 6: 63081 if wireType != 2 { 63082 return fmt.Errorf("proto: wrong wireType = %d for field RoleMap", wireType) 63083 } 63084 var msglen int 63085 for shift := uint(0); ; shift += 7 { 63086 if shift >= 64 { 63087 return ErrIntOverflowTypes 63088 } 63089 if iNdEx >= l { 63090 return io.ErrUnexpectedEOF 63091 } 63092 b := dAtA[iNdEx] 63093 iNdEx++ 63094 msglen |= int(b&0x7F) << shift 63095 if b < 0x80 { 63096 break 63097 } 63098 } 63099 if msglen < 0 { 63100 return ErrInvalidLengthTypes 63101 } 63102 postIndex := iNdEx + msglen 63103 if postIndex < 0 { 63104 return ErrInvalidLengthTypes 63105 } 63106 if postIndex > l { 63107 return io.ErrUnexpectedEOF 63108 } 63109 m.RoleMap = append(m.RoleMap, RoleMapping{}) 63110 if err := m.RoleMap[len(m.RoleMap)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63111 return err 63112 } 63113 iNdEx = postIndex 63114 case 8: 63115 if wireType != 2 { 63116 return fmt.Errorf("proto: wrong wireType = %d for field Rotation", wireType) 63117 } 63118 var msglen int 63119 for shift := uint(0); ; shift += 7 { 63120 if shift >= 64 { 63121 return ErrIntOverflowTypes 63122 } 63123 if iNdEx >= l { 63124 return io.ErrUnexpectedEOF 63125 } 63126 b := dAtA[iNdEx] 63127 iNdEx++ 63128 msglen |= int(b&0x7F) << shift 63129 if b < 0x80 { 63130 break 63131 } 63132 } 63133 if msglen < 0 { 63134 return ErrInvalidLengthTypes 63135 } 63136 postIndex := iNdEx + msglen 63137 if postIndex < 0 { 63138 return ErrInvalidLengthTypes 63139 } 63140 if postIndex > l { 63141 return io.ErrUnexpectedEOF 63142 } 63143 if m.Rotation == nil { 63144 m.Rotation = &Rotation{} 63145 } 63146 if err := m.Rotation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63147 return err 63148 } 63149 iNdEx = postIndex 63150 case 9: 63151 if wireType != 0 { 63152 return fmt.Errorf("proto: wrong wireType = %d for field SigningAlg", wireType) 63153 } 63154 m.SigningAlg = 0 63155 for shift := uint(0); ; shift += 7 { 63156 if shift >= 64 { 63157 return ErrIntOverflowTypes 63158 } 63159 if iNdEx >= l { 63160 return io.ErrUnexpectedEOF 63161 } 63162 b := dAtA[iNdEx] 63163 iNdEx++ 63164 m.SigningAlg |= CertAuthoritySpecV2_SigningAlgType(b&0x7F) << shift 63165 if b < 0x80 { 63166 break 63167 } 63168 } 63169 case 11: 63170 if wireType != 2 { 63171 return fmt.Errorf("proto: wrong wireType = %d for field ActiveKeys", wireType) 63172 } 63173 var msglen int 63174 for shift := uint(0); ; shift += 7 { 63175 if shift >= 64 { 63176 return ErrIntOverflowTypes 63177 } 63178 if iNdEx >= l { 63179 return io.ErrUnexpectedEOF 63180 } 63181 b := dAtA[iNdEx] 63182 iNdEx++ 63183 msglen |= int(b&0x7F) << shift 63184 if b < 0x80 { 63185 break 63186 } 63187 } 63188 if msglen < 0 { 63189 return ErrInvalidLengthTypes 63190 } 63191 postIndex := iNdEx + msglen 63192 if postIndex < 0 { 63193 return ErrInvalidLengthTypes 63194 } 63195 if postIndex > l { 63196 return io.ErrUnexpectedEOF 63197 } 63198 if err := m.ActiveKeys.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63199 return err 63200 } 63201 iNdEx = postIndex 63202 case 12: 63203 if wireType != 2 { 63204 return fmt.Errorf("proto: wrong wireType = %d for field AdditionalTrustedKeys", wireType) 63205 } 63206 var msglen int 63207 for shift := uint(0); ; shift += 7 { 63208 if shift >= 64 { 63209 return ErrIntOverflowTypes 63210 } 63211 if iNdEx >= l { 63212 return io.ErrUnexpectedEOF 63213 } 63214 b := dAtA[iNdEx] 63215 iNdEx++ 63216 msglen |= int(b&0x7F) << shift 63217 if b < 0x80 { 63218 break 63219 } 63220 } 63221 if msglen < 0 { 63222 return ErrInvalidLengthTypes 63223 } 63224 postIndex := iNdEx + msglen 63225 if postIndex < 0 { 63226 return ErrInvalidLengthTypes 63227 } 63228 if postIndex > l { 63229 return io.ErrUnexpectedEOF 63230 } 63231 if err := m.AdditionalTrustedKeys.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63232 return err 63233 } 63234 iNdEx = postIndex 63235 default: 63236 iNdEx = preIndex 63237 skippy, err := skipTypes(dAtA[iNdEx:]) 63238 if err != nil { 63239 return err 63240 } 63241 if (skippy < 0) || (iNdEx+skippy) < 0 { 63242 return ErrInvalidLengthTypes 63243 } 63244 if (iNdEx + skippy) > l { 63245 return io.ErrUnexpectedEOF 63246 } 63247 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63248 iNdEx += skippy 63249 } 63250 } 63251 63252 if iNdEx > l { 63253 return io.ErrUnexpectedEOF 63254 } 63255 return nil 63256 } 63257 func (m *CAKeySet) Unmarshal(dAtA []byte) error { 63258 l := len(dAtA) 63259 iNdEx := 0 63260 for iNdEx < l { 63261 preIndex := iNdEx 63262 var wire uint64 63263 for shift := uint(0); ; shift += 7 { 63264 if shift >= 64 { 63265 return ErrIntOverflowTypes 63266 } 63267 if iNdEx >= l { 63268 return io.ErrUnexpectedEOF 63269 } 63270 b := dAtA[iNdEx] 63271 iNdEx++ 63272 wire |= uint64(b&0x7F) << shift 63273 if b < 0x80 { 63274 break 63275 } 63276 } 63277 fieldNum := int32(wire >> 3) 63278 wireType := int(wire & 0x7) 63279 if wireType == 4 { 63280 return fmt.Errorf("proto: CAKeySet: wiretype end group for non-group") 63281 } 63282 if fieldNum <= 0 { 63283 return fmt.Errorf("proto: CAKeySet: illegal tag %d (wire type %d)", fieldNum, wire) 63284 } 63285 switch fieldNum { 63286 case 1: 63287 if wireType != 2 { 63288 return fmt.Errorf("proto: wrong wireType = %d for field SSH", wireType) 63289 } 63290 var msglen int 63291 for shift := uint(0); ; shift += 7 { 63292 if shift >= 64 { 63293 return ErrIntOverflowTypes 63294 } 63295 if iNdEx >= l { 63296 return io.ErrUnexpectedEOF 63297 } 63298 b := dAtA[iNdEx] 63299 iNdEx++ 63300 msglen |= int(b&0x7F) << shift 63301 if b < 0x80 { 63302 break 63303 } 63304 } 63305 if msglen < 0 { 63306 return ErrInvalidLengthTypes 63307 } 63308 postIndex := iNdEx + msglen 63309 if postIndex < 0 { 63310 return ErrInvalidLengthTypes 63311 } 63312 if postIndex > l { 63313 return io.ErrUnexpectedEOF 63314 } 63315 m.SSH = append(m.SSH, &SSHKeyPair{}) 63316 if err := m.SSH[len(m.SSH)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63317 return err 63318 } 63319 iNdEx = postIndex 63320 case 2: 63321 if wireType != 2 { 63322 return fmt.Errorf("proto: wrong wireType = %d for field TLS", wireType) 63323 } 63324 var msglen int 63325 for shift := uint(0); ; shift += 7 { 63326 if shift >= 64 { 63327 return ErrIntOverflowTypes 63328 } 63329 if iNdEx >= l { 63330 return io.ErrUnexpectedEOF 63331 } 63332 b := dAtA[iNdEx] 63333 iNdEx++ 63334 msglen |= int(b&0x7F) << shift 63335 if b < 0x80 { 63336 break 63337 } 63338 } 63339 if msglen < 0 { 63340 return ErrInvalidLengthTypes 63341 } 63342 postIndex := iNdEx + msglen 63343 if postIndex < 0 { 63344 return ErrInvalidLengthTypes 63345 } 63346 if postIndex > l { 63347 return io.ErrUnexpectedEOF 63348 } 63349 m.TLS = append(m.TLS, &TLSKeyPair{}) 63350 if err := m.TLS[len(m.TLS)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63351 return err 63352 } 63353 iNdEx = postIndex 63354 case 3: 63355 if wireType != 2 { 63356 return fmt.Errorf("proto: wrong wireType = %d for field JWT", wireType) 63357 } 63358 var msglen int 63359 for shift := uint(0); ; shift += 7 { 63360 if shift >= 64 { 63361 return ErrIntOverflowTypes 63362 } 63363 if iNdEx >= l { 63364 return io.ErrUnexpectedEOF 63365 } 63366 b := dAtA[iNdEx] 63367 iNdEx++ 63368 msglen |= int(b&0x7F) << shift 63369 if b < 0x80 { 63370 break 63371 } 63372 } 63373 if msglen < 0 { 63374 return ErrInvalidLengthTypes 63375 } 63376 postIndex := iNdEx + msglen 63377 if postIndex < 0 { 63378 return ErrInvalidLengthTypes 63379 } 63380 if postIndex > l { 63381 return io.ErrUnexpectedEOF 63382 } 63383 m.JWT = append(m.JWT, &JWTKeyPair{}) 63384 if err := m.JWT[len(m.JWT)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63385 return err 63386 } 63387 iNdEx = postIndex 63388 default: 63389 iNdEx = preIndex 63390 skippy, err := skipTypes(dAtA[iNdEx:]) 63391 if err != nil { 63392 return err 63393 } 63394 if (skippy < 0) || (iNdEx+skippy) < 0 { 63395 return ErrInvalidLengthTypes 63396 } 63397 if (iNdEx + skippy) > l { 63398 return io.ErrUnexpectedEOF 63399 } 63400 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63401 iNdEx += skippy 63402 } 63403 } 63404 63405 if iNdEx > l { 63406 return io.ErrUnexpectedEOF 63407 } 63408 return nil 63409 } 63410 func (m *RoleMapping) Unmarshal(dAtA []byte) error { 63411 l := len(dAtA) 63412 iNdEx := 0 63413 for iNdEx < l { 63414 preIndex := iNdEx 63415 var wire uint64 63416 for shift := uint(0); ; shift += 7 { 63417 if shift >= 64 { 63418 return ErrIntOverflowTypes 63419 } 63420 if iNdEx >= l { 63421 return io.ErrUnexpectedEOF 63422 } 63423 b := dAtA[iNdEx] 63424 iNdEx++ 63425 wire |= uint64(b&0x7F) << shift 63426 if b < 0x80 { 63427 break 63428 } 63429 } 63430 fieldNum := int32(wire >> 3) 63431 wireType := int(wire & 0x7) 63432 if wireType == 4 { 63433 return fmt.Errorf("proto: RoleMapping: wiretype end group for non-group") 63434 } 63435 if fieldNum <= 0 { 63436 return fmt.Errorf("proto: RoleMapping: illegal tag %d (wire type %d)", fieldNum, wire) 63437 } 63438 switch fieldNum { 63439 case 1: 63440 if wireType != 2 { 63441 return fmt.Errorf("proto: wrong wireType = %d for field Remote", wireType) 63442 } 63443 var stringLen uint64 63444 for shift := uint(0); ; shift += 7 { 63445 if shift >= 64 { 63446 return ErrIntOverflowTypes 63447 } 63448 if iNdEx >= l { 63449 return io.ErrUnexpectedEOF 63450 } 63451 b := dAtA[iNdEx] 63452 iNdEx++ 63453 stringLen |= uint64(b&0x7F) << shift 63454 if b < 0x80 { 63455 break 63456 } 63457 } 63458 intStringLen := int(stringLen) 63459 if intStringLen < 0 { 63460 return ErrInvalidLengthTypes 63461 } 63462 postIndex := iNdEx + intStringLen 63463 if postIndex < 0 { 63464 return ErrInvalidLengthTypes 63465 } 63466 if postIndex > l { 63467 return io.ErrUnexpectedEOF 63468 } 63469 m.Remote = string(dAtA[iNdEx:postIndex]) 63470 iNdEx = postIndex 63471 case 2: 63472 if wireType != 2 { 63473 return fmt.Errorf("proto: wrong wireType = %d for field Local", wireType) 63474 } 63475 var stringLen uint64 63476 for shift := uint(0); ; shift += 7 { 63477 if shift >= 64 { 63478 return ErrIntOverflowTypes 63479 } 63480 if iNdEx >= l { 63481 return io.ErrUnexpectedEOF 63482 } 63483 b := dAtA[iNdEx] 63484 iNdEx++ 63485 stringLen |= uint64(b&0x7F) << shift 63486 if b < 0x80 { 63487 break 63488 } 63489 } 63490 intStringLen := int(stringLen) 63491 if intStringLen < 0 { 63492 return ErrInvalidLengthTypes 63493 } 63494 postIndex := iNdEx + intStringLen 63495 if postIndex < 0 { 63496 return ErrInvalidLengthTypes 63497 } 63498 if postIndex > l { 63499 return io.ErrUnexpectedEOF 63500 } 63501 m.Local = append(m.Local, string(dAtA[iNdEx:postIndex])) 63502 iNdEx = postIndex 63503 default: 63504 iNdEx = preIndex 63505 skippy, err := skipTypes(dAtA[iNdEx:]) 63506 if err != nil { 63507 return err 63508 } 63509 if (skippy < 0) || (iNdEx+skippy) < 0 { 63510 return ErrInvalidLengthTypes 63511 } 63512 if (iNdEx + skippy) > l { 63513 return io.ErrUnexpectedEOF 63514 } 63515 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63516 iNdEx += skippy 63517 } 63518 } 63519 63520 if iNdEx > l { 63521 return io.ErrUnexpectedEOF 63522 } 63523 return nil 63524 } 63525 func (m *ProvisionTokenV1) Unmarshal(dAtA []byte) error { 63526 l := len(dAtA) 63527 iNdEx := 0 63528 for iNdEx < l { 63529 preIndex := iNdEx 63530 var wire uint64 63531 for shift := uint(0); ; shift += 7 { 63532 if shift >= 64 { 63533 return ErrIntOverflowTypes 63534 } 63535 if iNdEx >= l { 63536 return io.ErrUnexpectedEOF 63537 } 63538 b := dAtA[iNdEx] 63539 iNdEx++ 63540 wire |= uint64(b&0x7F) << shift 63541 if b < 0x80 { 63542 break 63543 } 63544 } 63545 fieldNum := int32(wire >> 3) 63546 wireType := int(wire & 0x7) 63547 if wireType == 4 { 63548 return fmt.Errorf("proto: ProvisionTokenV1: wiretype end group for non-group") 63549 } 63550 if fieldNum <= 0 { 63551 return fmt.Errorf("proto: ProvisionTokenV1: illegal tag %d (wire type %d)", fieldNum, wire) 63552 } 63553 switch fieldNum { 63554 case 1: 63555 if wireType != 2 { 63556 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 63557 } 63558 var stringLen uint64 63559 for shift := uint(0); ; shift += 7 { 63560 if shift >= 64 { 63561 return ErrIntOverflowTypes 63562 } 63563 if iNdEx >= l { 63564 return io.ErrUnexpectedEOF 63565 } 63566 b := dAtA[iNdEx] 63567 iNdEx++ 63568 stringLen |= uint64(b&0x7F) << shift 63569 if b < 0x80 { 63570 break 63571 } 63572 } 63573 intStringLen := int(stringLen) 63574 if intStringLen < 0 { 63575 return ErrInvalidLengthTypes 63576 } 63577 postIndex := iNdEx + intStringLen 63578 if postIndex < 0 { 63579 return ErrInvalidLengthTypes 63580 } 63581 if postIndex > l { 63582 return io.ErrUnexpectedEOF 63583 } 63584 m.Roles = append(m.Roles, SystemRole(dAtA[iNdEx:postIndex])) 63585 iNdEx = postIndex 63586 case 2: 63587 if wireType != 2 { 63588 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 63589 } 63590 var msglen int 63591 for shift := uint(0); ; shift += 7 { 63592 if shift >= 64 { 63593 return ErrIntOverflowTypes 63594 } 63595 if iNdEx >= l { 63596 return io.ErrUnexpectedEOF 63597 } 63598 b := dAtA[iNdEx] 63599 iNdEx++ 63600 msglen |= int(b&0x7F) << shift 63601 if b < 0x80 { 63602 break 63603 } 63604 } 63605 if msglen < 0 { 63606 return ErrInvalidLengthTypes 63607 } 63608 postIndex := iNdEx + msglen 63609 if postIndex < 0 { 63610 return ErrInvalidLengthTypes 63611 } 63612 if postIndex > l { 63613 return io.ErrUnexpectedEOF 63614 } 63615 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Expires, dAtA[iNdEx:postIndex]); err != nil { 63616 return err 63617 } 63618 iNdEx = postIndex 63619 case 3: 63620 if wireType != 2 { 63621 return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) 63622 } 63623 var stringLen uint64 63624 for shift := uint(0); ; shift += 7 { 63625 if shift >= 64 { 63626 return ErrIntOverflowTypes 63627 } 63628 if iNdEx >= l { 63629 return io.ErrUnexpectedEOF 63630 } 63631 b := dAtA[iNdEx] 63632 iNdEx++ 63633 stringLen |= uint64(b&0x7F) << shift 63634 if b < 0x80 { 63635 break 63636 } 63637 } 63638 intStringLen := int(stringLen) 63639 if intStringLen < 0 { 63640 return ErrInvalidLengthTypes 63641 } 63642 postIndex := iNdEx + intStringLen 63643 if postIndex < 0 { 63644 return ErrInvalidLengthTypes 63645 } 63646 if postIndex > l { 63647 return io.ErrUnexpectedEOF 63648 } 63649 m.Token = string(dAtA[iNdEx:postIndex]) 63650 iNdEx = postIndex 63651 default: 63652 iNdEx = preIndex 63653 skippy, err := skipTypes(dAtA[iNdEx:]) 63654 if err != nil { 63655 return err 63656 } 63657 if (skippy < 0) || (iNdEx+skippy) < 0 { 63658 return ErrInvalidLengthTypes 63659 } 63660 if (iNdEx + skippy) > l { 63661 return io.ErrUnexpectedEOF 63662 } 63663 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63664 iNdEx += skippy 63665 } 63666 } 63667 63668 if iNdEx > l { 63669 return io.ErrUnexpectedEOF 63670 } 63671 return nil 63672 } 63673 func (m *ProvisionTokenV2) Unmarshal(dAtA []byte) error { 63674 l := len(dAtA) 63675 iNdEx := 0 63676 for iNdEx < l { 63677 preIndex := iNdEx 63678 var wire uint64 63679 for shift := uint(0); ; shift += 7 { 63680 if shift >= 64 { 63681 return ErrIntOverflowTypes 63682 } 63683 if iNdEx >= l { 63684 return io.ErrUnexpectedEOF 63685 } 63686 b := dAtA[iNdEx] 63687 iNdEx++ 63688 wire |= uint64(b&0x7F) << shift 63689 if b < 0x80 { 63690 break 63691 } 63692 } 63693 fieldNum := int32(wire >> 3) 63694 wireType := int(wire & 0x7) 63695 if wireType == 4 { 63696 return fmt.Errorf("proto: ProvisionTokenV2: wiretype end group for non-group") 63697 } 63698 if fieldNum <= 0 { 63699 return fmt.Errorf("proto: ProvisionTokenV2: illegal tag %d (wire type %d)", fieldNum, wire) 63700 } 63701 switch fieldNum { 63702 case 1: 63703 if wireType != 2 { 63704 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 63705 } 63706 var stringLen uint64 63707 for shift := uint(0); ; shift += 7 { 63708 if shift >= 64 { 63709 return ErrIntOverflowTypes 63710 } 63711 if iNdEx >= l { 63712 return io.ErrUnexpectedEOF 63713 } 63714 b := dAtA[iNdEx] 63715 iNdEx++ 63716 stringLen |= uint64(b&0x7F) << shift 63717 if b < 0x80 { 63718 break 63719 } 63720 } 63721 intStringLen := int(stringLen) 63722 if intStringLen < 0 { 63723 return ErrInvalidLengthTypes 63724 } 63725 postIndex := iNdEx + intStringLen 63726 if postIndex < 0 { 63727 return ErrInvalidLengthTypes 63728 } 63729 if postIndex > l { 63730 return io.ErrUnexpectedEOF 63731 } 63732 m.Kind = string(dAtA[iNdEx:postIndex]) 63733 iNdEx = postIndex 63734 case 2: 63735 if wireType != 2 { 63736 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 63737 } 63738 var stringLen uint64 63739 for shift := uint(0); ; shift += 7 { 63740 if shift >= 64 { 63741 return ErrIntOverflowTypes 63742 } 63743 if iNdEx >= l { 63744 return io.ErrUnexpectedEOF 63745 } 63746 b := dAtA[iNdEx] 63747 iNdEx++ 63748 stringLen |= uint64(b&0x7F) << shift 63749 if b < 0x80 { 63750 break 63751 } 63752 } 63753 intStringLen := int(stringLen) 63754 if intStringLen < 0 { 63755 return ErrInvalidLengthTypes 63756 } 63757 postIndex := iNdEx + intStringLen 63758 if postIndex < 0 { 63759 return ErrInvalidLengthTypes 63760 } 63761 if postIndex > l { 63762 return io.ErrUnexpectedEOF 63763 } 63764 m.SubKind = string(dAtA[iNdEx:postIndex]) 63765 iNdEx = postIndex 63766 case 3: 63767 if wireType != 2 { 63768 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 63769 } 63770 var stringLen uint64 63771 for shift := uint(0); ; shift += 7 { 63772 if shift >= 64 { 63773 return ErrIntOverflowTypes 63774 } 63775 if iNdEx >= l { 63776 return io.ErrUnexpectedEOF 63777 } 63778 b := dAtA[iNdEx] 63779 iNdEx++ 63780 stringLen |= uint64(b&0x7F) << shift 63781 if b < 0x80 { 63782 break 63783 } 63784 } 63785 intStringLen := int(stringLen) 63786 if intStringLen < 0 { 63787 return ErrInvalidLengthTypes 63788 } 63789 postIndex := iNdEx + intStringLen 63790 if postIndex < 0 { 63791 return ErrInvalidLengthTypes 63792 } 63793 if postIndex > l { 63794 return io.ErrUnexpectedEOF 63795 } 63796 m.Version = string(dAtA[iNdEx:postIndex]) 63797 iNdEx = postIndex 63798 case 4: 63799 if wireType != 2 { 63800 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 63801 } 63802 var msglen int 63803 for shift := uint(0); ; shift += 7 { 63804 if shift >= 64 { 63805 return ErrIntOverflowTypes 63806 } 63807 if iNdEx >= l { 63808 return io.ErrUnexpectedEOF 63809 } 63810 b := dAtA[iNdEx] 63811 iNdEx++ 63812 msglen |= int(b&0x7F) << shift 63813 if b < 0x80 { 63814 break 63815 } 63816 } 63817 if msglen < 0 { 63818 return ErrInvalidLengthTypes 63819 } 63820 postIndex := iNdEx + msglen 63821 if postIndex < 0 { 63822 return ErrInvalidLengthTypes 63823 } 63824 if postIndex > l { 63825 return io.ErrUnexpectedEOF 63826 } 63827 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63828 return err 63829 } 63830 iNdEx = postIndex 63831 case 5: 63832 if wireType != 2 { 63833 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 63834 } 63835 var msglen int 63836 for shift := uint(0); ; shift += 7 { 63837 if shift >= 64 { 63838 return ErrIntOverflowTypes 63839 } 63840 if iNdEx >= l { 63841 return io.ErrUnexpectedEOF 63842 } 63843 b := dAtA[iNdEx] 63844 iNdEx++ 63845 msglen |= int(b&0x7F) << shift 63846 if b < 0x80 { 63847 break 63848 } 63849 } 63850 if msglen < 0 { 63851 return ErrInvalidLengthTypes 63852 } 63853 postIndex := iNdEx + msglen 63854 if postIndex < 0 { 63855 return ErrInvalidLengthTypes 63856 } 63857 if postIndex > l { 63858 return io.ErrUnexpectedEOF 63859 } 63860 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63861 return err 63862 } 63863 iNdEx = postIndex 63864 default: 63865 iNdEx = preIndex 63866 skippy, err := skipTypes(dAtA[iNdEx:]) 63867 if err != nil { 63868 return err 63869 } 63870 if (skippy < 0) || (iNdEx+skippy) < 0 { 63871 return ErrInvalidLengthTypes 63872 } 63873 if (iNdEx + skippy) > l { 63874 return io.ErrUnexpectedEOF 63875 } 63876 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63877 iNdEx += skippy 63878 } 63879 } 63880 63881 if iNdEx > l { 63882 return io.ErrUnexpectedEOF 63883 } 63884 return nil 63885 } 63886 func (m *ProvisionTokenV2List) Unmarshal(dAtA []byte) error { 63887 l := len(dAtA) 63888 iNdEx := 0 63889 for iNdEx < l { 63890 preIndex := iNdEx 63891 var wire uint64 63892 for shift := uint(0); ; shift += 7 { 63893 if shift >= 64 { 63894 return ErrIntOverflowTypes 63895 } 63896 if iNdEx >= l { 63897 return io.ErrUnexpectedEOF 63898 } 63899 b := dAtA[iNdEx] 63900 iNdEx++ 63901 wire |= uint64(b&0x7F) << shift 63902 if b < 0x80 { 63903 break 63904 } 63905 } 63906 fieldNum := int32(wire >> 3) 63907 wireType := int(wire & 0x7) 63908 if wireType == 4 { 63909 return fmt.Errorf("proto: ProvisionTokenV2List: wiretype end group for non-group") 63910 } 63911 if fieldNum <= 0 { 63912 return fmt.Errorf("proto: ProvisionTokenV2List: illegal tag %d (wire type %d)", fieldNum, wire) 63913 } 63914 switch fieldNum { 63915 case 1: 63916 if wireType != 2 { 63917 return fmt.Errorf("proto: wrong wireType = %d for field ProvisionTokens", wireType) 63918 } 63919 var msglen int 63920 for shift := uint(0); ; shift += 7 { 63921 if shift >= 64 { 63922 return ErrIntOverflowTypes 63923 } 63924 if iNdEx >= l { 63925 return io.ErrUnexpectedEOF 63926 } 63927 b := dAtA[iNdEx] 63928 iNdEx++ 63929 msglen |= int(b&0x7F) << shift 63930 if b < 0x80 { 63931 break 63932 } 63933 } 63934 if msglen < 0 { 63935 return ErrInvalidLengthTypes 63936 } 63937 postIndex := iNdEx + msglen 63938 if postIndex < 0 { 63939 return ErrInvalidLengthTypes 63940 } 63941 if postIndex > l { 63942 return io.ErrUnexpectedEOF 63943 } 63944 m.ProvisionTokens = append(m.ProvisionTokens, &ProvisionTokenV2{}) 63945 if err := m.ProvisionTokens[len(m.ProvisionTokens)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63946 return err 63947 } 63948 iNdEx = postIndex 63949 default: 63950 iNdEx = preIndex 63951 skippy, err := skipTypes(dAtA[iNdEx:]) 63952 if err != nil { 63953 return err 63954 } 63955 if (skippy < 0) || (iNdEx+skippy) < 0 { 63956 return ErrInvalidLengthTypes 63957 } 63958 if (iNdEx + skippy) > l { 63959 return io.ErrUnexpectedEOF 63960 } 63961 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63962 iNdEx += skippy 63963 } 63964 } 63965 63966 if iNdEx > l { 63967 return io.ErrUnexpectedEOF 63968 } 63969 return nil 63970 } 63971 func (m *TokenRule) Unmarshal(dAtA []byte) error { 63972 l := len(dAtA) 63973 iNdEx := 0 63974 for iNdEx < l { 63975 preIndex := iNdEx 63976 var wire uint64 63977 for shift := uint(0); ; shift += 7 { 63978 if shift >= 64 { 63979 return ErrIntOverflowTypes 63980 } 63981 if iNdEx >= l { 63982 return io.ErrUnexpectedEOF 63983 } 63984 b := dAtA[iNdEx] 63985 iNdEx++ 63986 wire |= uint64(b&0x7F) << shift 63987 if b < 0x80 { 63988 break 63989 } 63990 } 63991 fieldNum := int32(wire >> 3) 63992 wireType := int(wire & 0x7) 63993 if wireType == 4 { 63994 return fmt.Errorf("proto: TokenRule: wiretype end group for non-group") 63995 } 63996 if fieldNum <= 0 { 63997 return fmt.Errorf("proto: TokenRule: illegal tag %d (wire type %d)", fieldNum, wire) 63998 } 63999 switch fieldNum { 64000 case 1: 64001 if wireType != 2 { 64002 return fmt.Errorf("proto: wrong wireType = %d for field AWSAccount", wireType) 64003 } 64004 var stringLen uint64 64005 for shift := uint(0); ; shift += 7 { 64006 if shift >= 64 { 64007 return ErrIntOverflowTypes 64008 } 64009 if iNdEx >= l { 64010 return io.ErrUnexpectedEOF 64011 } 64012 b := dAtA[iNdEx] 64013 iNdEx++ 64014 stringLen |= uint64(b&0x7F) << shift 64015 if b < 0x80 { 64016 break 64017 } 64018 } 64019 intStringLen := int(stringLen) 64020 if intStringLen < 0 { 64021 return ErrInvalidLengthTypes 64022 } 64023 postIndex := iNdEx + intStringLen 64024 if postIndex < 0 { 64025 return ErrInvalidLengthTypes 64026 } 64027 if postIndex > l { 64028 return io.ErrUnexpectedEOF 64029 } 64030 m.AWSAccount = string(dAtA[iNdEx:postIndex]) 64031 iNdEx = postIndex 64032 case 2: 64033 if wireType != 2 { 64034 return fmt.Errorf("proto: wrong wireType = %d for field AWSRegions", wireType) 64035 } 64036 var stringLen uint64 64037 for shift := uint(0); ; shift += 7 { 64038 if shift >= 64 { 64039 return ErrIntOverflowTypes 64040 } 64041 if iNdEx >= l { 64042 return io.ErrUnexpectedEOF 64043 } 64044 b := dAtA[iNdEx] 64045 iNdEx++ 64046 stringLen |= uint64(b&0x7F) << shift 64047 if b < 0x80 { 64048 break 64049 } 64050 } 64051 intStringLen := int(stringLen) 64052 if intStringLen < 0 { 64053 return ErrInvalidLengthTypes 64054 } 64055 postIndex := iNdEx + intStringLen 64056 if postIndex < 0 { 64057 return ErrInvalidLengthTypes 64058 } 64059 if postIndex > l { 64060 return io.ErrUnexpectedEOF 64061 } 64062 m.AWSRegions = append(m.AWSRegions, string(dAtA[iNdEx:postIndex])) 64063 iNdEx = postIndex 64064 case 3: 64065 if wireType != 2 { 64066 return fmt.Errorf("proto: wrong wireType = %d for field AWSRole", wireType) 64067 } 64068 var stringLen uint64 64069 for shift := uint(0); ; shift += 7 { 64070 if shift >= 64 { 64071 return ErrIntOverflowTypes 64072 } 64073 if iNdEx >= l { 64074 return io.ErrUnexpectedEOF 64075 } 64076 b := dAtA[iNdEx] 64077 iNdEx++ 64078 stringLen |= uint64(b&0x7F) << shift 64079 if b < 0x80 { 64080 break 64081 } 64082 } 64083 intStringLen := int(stringLen) 64084 if intStringLen < 0 { 64085 return ErrInvalidLengthTypes 64086 } 64087 postIndex := iNdEx + intStringLen 64088 if postIndex < 0 { 64089 return ErrInvalidLengthTypes 64090 } 64091 if postIndex > l { 64092 return io.ErrUnexpectedEOF 64093 } 64094 m.AWSRole = string(dAtA[iNdEx:postIndex]) 64095 iNdEx = postIndex 64096 case 4: 64097 if wireType != 2 { 64098 return fmt.Errorf("proto: wrong wireType = %d for field AWSARN", wireType) 64099 } 64100 var stringLen uint64 64101 for shift := uint(0); ; shift += 7 { 64102 if shift >= 64 { 64103 return ErrIntOverflowTypes 64104 } 64105 if iNdEx >= l { 64106 return io.ErrUnexpectedEOF 64107 } 64108 b := dAtA[iNdEx] 64109 iNdEx++ 64110 stringLen |= uint64(b&0x7F) << shift 64111 if b < 0x80 { 64112 break 64113 } 64114 } 64115 intStringLen := int(stringLen) 64116 if intStringLen < 0 { 64117 return ErrInvalidLengthTypes 64118 } 64119 postIndex := iNdEx + intStringLen 64120 if postIndex < 0 { 64121 return ErrInvalidLengthTypes 64122 } 64123 if postIndex > l { 64124 return io.ErrUnexpectedEOF 64125 } 64126 m.AWSARN = string(dAtA[iNdEx:postIndex]) 64127 iNdEx = postIndex 64128 default: 64129 iNdEx = preIndex 64130 skippy, err := skipTypes(dAtA[iNdEx:]) 64131 if err != nil { 64132 return err 64133 } 64134 if (skippy < 0) || (iNdEx+skippy) < 0 { 64135 return ErrInvalidLengthTypes 64136 } 64137 if (iNdEx + skippy) > l { 64138 return io.ErrUnexpectedEOF 64139 } 64140 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64141 iNdEx += skippy 64142 } 64143 } 64144 64145 if iNdEx > l { 64146 return io.ErrUnexpectedEOF 64147 } 64148 return nil 64149 } 64150 func (m *ProvisionTokenSpecV2) Unmarshal(dAtA []byte) error { 64151 l := len(dAtA) 64152 iNdEx := 0 64153 for iNdEx < l { 64154 preIndex := iNdEx 64155 var wire uint64 64156 for shift := uint(0); ; shift += 7 { 64157 if shift >= 64 { 64158 return ErrIntOverflowTypes 64159 } 64160 if iNdEx >= l { 64161 return io.ErrUnexpectedEOF 64162 } 64163 b := dAtA[iNdEx] 64164 iNdEx++ 64165 wire |= uint64(b&0x7F) << shift 64166 if b < 0x80 { 64167 break 64168 } 64169 } 64170 fieldNum := int32(wire >> 3) 64171 wireType := int(wire & 0x7) 64172 if wireType == 4 { 64173 return fmt.Errorf("proto: ProvisionTokenSpecV2: wiretype end group for non-group") 64174 } 64175 if fieldNum <= 0 { 64176 return fmt.Errorf("proto: ProvisionTokenSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 64177 } 64178 switch fieldNum { 64179 case 1: 64180 if wireType != 2 { 64181 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 64182 } 64183 var stringLen uint64 64184 for shift := uint(0); ; shift += 7 { 64185 if shift >= 64 { 64186 return ErrIntOverflowTypes 64187 } 64188 if iNdEx >= l { 64189 return io.ErrUnexpectedEOF 64190 } 64191 b := dAtA[iNdEx] 64192 iNdEx++ 64193 stringLen |= uint64(b&0x7F) << shift 64194 if b < 0x80 { 64195 break 64196 } 64197 } 64198 intStringLen := int(stringLen) 64199 if intStringLen < 0 { 64200 return ErrInvalidLengthTypes 64201 } 64202 postIndex := iNdEx + intStringLen 64203 if postIndex < 0 { 64204 return ErrInvalidLengthTypes 64205 } 64206 if postIndex > l { 64207 return io.ErrUnexpectedEOF 64208 } 64209 m.Roles = append(m.Roles, SystemRole(dAtA[iNdEx:postIndex])) 64210 iNdEx = postIndex 64211 case 2: 64212 if wireType != 2 { 64213 return fmt.Errorf("proto: wrong wireType = %d for field Allow", wireType) 64214 } 64215 var msglen int 64216 for shift := uint(0); ; shift += 7 { 64217 if shift >= 64 { 64218 return ErrIntOverflowTypes 64219 } 64220 if iNdEx >= l { 64221 return io.ErrUnexpectedEOF 64222 } 64223 b := dAtA[iNdEx] 64224 iNdEx++ 64225 msglen |= int(b&0x7F) << shift 64226 if b < 0x80 { 64227 break 64228 } 64229 } 64230 if msglen < 0 { 64231 return ErrInvalidLengthTypes 64232 } 64233 postIndex := iNdEx + msglen 64234 if postIndex < 0 { 64235 return ErrInvalidLengthTypes 64236 } 64237 if postIndex > l { 64238 return io.ErrUnexpectedEOF 64239 } 64240 m.Allow = append(m.Allow, &TokenRule{}) 64241 if err := m.Allow[len(m.Allow)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64242 return err 64243 } 64244 iNdEx = postIndex 64245 case 3: 64246 if wireType != 0 { 64247 return fmt.Errorf("proto: wrong wireType = %d for field AWSIIDTTL", wireType) 64248 } 64249 m.AWSIIDTTL = 0 64250 for shift := uint(0); ; shift += 7 { 64251 if shift >= 64 { 64252 return ErrIntOverflowTypes 64253 } 64254 if iNdEx >= l { 64255 return io.ErrUnexpectedEOF 64256 } 64257 b := dAtA[iNdEx] 64258 iNdEx++ 64259 m.AWSIIDTTL |= Duration(b&0x7F) << shift 64260 if b < 0x80 { 64261 break 64262 } 64263 } 64264 case 4: 64265 if wireType != 2 { 64266 return fmt.Errorf("proto: wrong wireType = %d for field JoinMethod", wireType) 64267 } 64268 var stringLen uint64 64269 for shift := uint(0); ; shift += 7 { 64270 if shift >= 64 { 64271 return ErrIntOverflowTypes 64272 } 64273 if iNdEx >= l { 64274 return io.ErrUnexpectedEOF 64275 } 64276 b := dAtA[iNdEx] 64277 iNdEx++ 64278 stringLen |= uint64(b&0x7F) << shift 64279 if b < 0x80 { 64280 break 64281 } 64282 } 64283 intStringLen := int(stringLen) 64284 if intStringLen < 0 { 64285 return ErrInvalidLengthTypes 64286 } 64287 postIndex := iNdEx + intStringLen 64288 if postIndex < 0 { 64289 return ErrInvalidLengthTypes 64290 } 64291 if postIndex > l { 64292 return io.ErrUnexpectedEOF 64293 } 64294 m.JoinMethod = JoinMethod(dAtA[iNdEx:postIndex]) 64295 iNdEx = postIndex 64296 case 5: 64297 if wireType != 2 { 64298 return fmt.Errorf("proto: wrong wireType = %d for field BotName", wireType) 64299 } 64300 var stringLen uint64 64301 for shift := uint(0); ; shift += 7 { 64302 if shift >= 64 { 64303 return ErrIntOverflowTypes 64304 } 64305 if iNdEx >= l { 64306 return io.ErrUnexpectedEOF 64307 } 64308 b := dAtA[iNdEx] 64309 iNdEx++ 64310 stringLen |= uint64(b&0x7F) << shift 64311 if b < 0x80 { 64312 break 64313 } 64314 } 64315 intStringLen := int(stringLen) 64316 if intStringLen < 0 { 64317 return ErrInvalidLengthTypes 64318 } 64319 postIndex := iNdEx + intStringLen 64320 if postIndex < 0 { 64321 return ErrInvalidLengthTypes 64322 } 64323 if postIndex > l { 64324 return io.ErrUnexpectedEOF 64325 } 64326 m.BotName = string(dAtA[iNdEx:postIndex]) 64327 iNdEx = postIndex 64328 case 6: 64329 if wireType != 2 { 64330 return fmt.Errorf("proto: wrong wireType = %d for field SuggestedLabels", wireType) 64331 } 64332 var msglen int 64333 for shift := uint(0); ; shift += 7 { 64334 if shift >= 64 { 64335 return ErrIntOverflowTypes 64336 } 64337 if iNdEx >= l { 64338 return io.ErrUnexpectedEOF 64339 } 64340 b := dAtA[iNdEx] 64341 iNdEx++ 64342 msglen |= int(b&0x7F) << shift 64343 if b < 0x80 { 64344 break 64345 } 64346 } 64347 if msglen < 0 { 64348 return ErrInvalidLengthTypes 64349 } 64350 postIndex := iNdEx + msglen 64351 if postIndex < 0 { 64352 return ErrInvalidLengthTypes 64353 } 64354 if postIndex > l { 64355 return io.ErrUnexpectedEOF 64356 } 64357 if err := m.SuggestedLabels.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64358 return err 64359 } 64360 iNdEx = postIndex 64361 case 7: 64362 if wireType != 2 { 64363 return fmt.Errorf("proto: wrong wireType = %d for field GitHub", wireType) 64364 } 64365 var msglen int 64366 for shift := uint(0); ; shift += 7 { 64367 if shift >= 64 { 64368 return ErrIntOverflowTypes 64369 } 64370 if iNdEx >= l { 64371 return io.ErrUnexpectedEOF 64372 } 64373 b := dAtA[iNdEx] 64374 iNdEx++ 64375 msglen |= int(b&0x7F) << shift 64376 if b < 0x80 { 64377 break 64378 } 64379 } 64380 if msglen < 0 { 64381 return ErrInvalidLengthTypes 64382 } 64383 postIndex := iNdEx + msglen 64384 if postIndex < 0 { 64385 return ErrInvalidLengthTypes 64386 } 64387 if postIndex > l { 64388 return io.ErrUnexpectedEOF 64389 } 64390 if m.GitHub == nil { 64391 m.GitHub = &ProvisionTokenSpecV2GitHub{} 64392 } 64393 if err := m.GitHub.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64394 return err 64395 } 64396 iNdEx = postIndex 64397 case 8: 64398 if wireType != 2 { 64399 return fmt.Errorf("proto: wrong wireType = %d for field CircleCI", wireType) 64400 } 64401 var msglen int 64402 for shift := uint(0); ; shift += 7 { 64403 if shift >= 64 { 64404 return ErrIntOverflowTypes 64405 } 64406 if iNdEx >= l { 64407 return io.ErrUnexpectedEOF 64408 } 64409 b := dAtA[iNdEx] 64410 iNdEx++ 64411 msglen |= int(b&0x7F) << shift 64412 if b < 0x80 { 64413 break 64414 } 64415 } 64416 if msglen < 0 { 64417 return ErrInvalidLengthTypes 64418 } 64419 postIndex := iNdEx + msglen 64420 if postIndex < 0 { 64421 return ErrInvalidLengthTypes 64422 } 64423 if postIndex > l { 64424 return io.ErrUnexpectedEOF 64425 } 64426 if m.CircleCI == nil { 64427 m.CircleCI = &ProvisionTokenSpecV2CircleCI{} 64428 } 64429 if err := m.CircleCI.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64430 return err 64431 } 64432 iNdEx = postIndex 64433 case 9: 64434 if wireType != 2 { 64435 return fmt.Errorf("proto: wrong wireType = %d for field SuggestedAgentMatcherLabels", wireType) 64436 } 64437 var msglen int 64438 for shift := uint(0); ; shift += 7 { 64439 if shift >= 64 { 64440 return ErrIntOverflowTypes 64441 } 64442 if iNdEx >= l { 64443 return io.ErrUnexpectedEOF 64444 } 64445 b := dAtA[iNdEx] 64446 iNdEx++ 64447 msglen |= int(b&0x7F) << shift 64448 if b < 0x80 { 64449 break 64450 } 64451 } 64452 if msglen < 0 { 64453 return ErrInvalidLengthTypes 64454 } 64455 postIndex := iNdEx + msglen 64456 if postIndex < 0 { 64457 return ErrInvalidLengthTypes 64458 } 64459 if postIndex > l { 64460 return io.ErrUnexpectedEOF 64461 } 64462 if err := m.SuggestedAgentMatcherLabels.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64463 return err 64464 } 64465 iNdEx = postIndex 64466 case 10: 64467 if wireType != 2 { 64468 return fmt.Errorf("proto: wrong wireType = %d for field Kubernetes", wireType) 64469 } 64470 var msglen int 64471 for shift := uint(0); ; shift += 7 { 64472 if shift >= 64 { 64473 return ErrIntOverflowTypes 64474 } 64475 if iNdEx >= l { 64476 return io.ErrUnexpectedEOF 64477 } 64478 b := dAtA[iNdEx] 64479 iNdEx++ 64480 msglen |= int(b&0x7F) << shift 64481 if b < 0x80 { 64482 break 64483 } 64484 } 64485 if msglen < 0 { 64486 return ErrInvalidLengthTypes 64487 } 64488 postIndex := iNdEx + msglen 64489 if postIndex < 0 { 64490 return ErrInvalidLengthTypes 64491 } 64492 if postIndex > l { 64493 return io.ErrUnexpectedEOF 64494 } 64495 if m.Kubernetes == nil { 64496 m.Kubernetes = &ProvisionTokenSpecV2Kubernetes{} 64497 } 64498 if err := m.Kubernetes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64499 return err 64500 } 64501 iNdEx = postIndex 64502 case 11: 64503 if wireType != 2 { 64504 return fmt.Errorf("proto: wrong wireType = %d for field Azure", wireType) 64505 } 64506 var msglen int 64507 for shift := uint(0); ; shift += 7 { 64508 if shift >= 64 { 64509 return ErrIntOverflowTypes 64510 } 64511 if iNdEx >= l { 64512 return io.ErrUnexpectedEOF 64513 } 64514 b := dAtA[iNdEx] 64515 iNdEx++ 64516 msglen |= int(b&0x7F) << shift 64517 if b < 0x80 { 64518 break 64519 } 64520 } 64521 if msglen < 0 { 64522 return ErrInvalidLengthTypes 64523 } 64524 postIndex := iNdEx + msglen 64525 if postIndex < 0 { 64526 return ErrInvalidLengthTypes 64527 } 64528 if postIndex > l { 64529 return io.ErrUnexpectedEOF 64530 } 64531 if m.Azure == nil { 64532 m.Azure = &ProvisionTokenSpecV2Azure{} 64533 } 64534 if err := m.Azure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64535 return err 64536 } 64537 iNdEx = postIndex 64538 case 12: 64539 if wireType != 2 { 64540 return fmt.Errorf("proto: wrong wireType = %d for field GitLab", wireType) 64541 } 64542 var msglen int 64543 for shift := uint(0); ; shift += 7 { 64544 if shift >= 64 { 64545 return ErrIntOverflowTypes 64546 } 64547 if iNdEx >= l { 64548 return io.ErrUnexpectedEOF 64549 } 64550 b := dAtA[iNdEx] 64551 iNdEx++ 64552 msglen |= int(b&0x7F) << shift 64553 if b < 0x80 { 64554 break 64555 } 64556 } 64557 if msglen < 0 { 64558 return ErrInvalidLengthTypes 64559 } 64560 postIndex := iNdEx + msglen 64561 if postIndex < 0 { 64562 return ErrInvalidLengthTypes 64563 } 64564 if postIndex > l { 64565 return io.ErrUnexpectedEOF 64566 } 64567 if m.GitLab == nil { 64568 m.GitLab = &ProvisionTokenSpecV2GitLab{} 64569 } 64570 if err := m.GitLab.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64571 return err 64572 } 64573 iNdEx = postIndex 64574 case 13: 64575 if wireType != 2 { 64576 return fmt.Errorf("proto: wrong wireType = %d for field GCP", wireType) 64577 } 64578 var msglen int 64579 for shift := uint(0); ; shift += 7 { 64580 if shift >= 64 { 64581 return ErrIntOverflowTypes 64582 } 64583 if iNdEx >= l { 64584 return io.ErrUnexpectedEOF 64585 } 64586 b := dAtA[iNdEx] 64587 iNdEx++ 64588 msglen |= int(b&0x7F) << shift 64589 if b < 0x80 { 64590 break 64591 } 64592 } 64593 if msglen < 0 { 64594 return ErrInvalidLengthTypes 64595 } 64596 postIndex := iNdEx + msglen 64597 if postIndex < 0 { 64598 return ErrInvalidLengthTypes 64599 } 64600 if postIndex > l { 64601 return io.ErrUnexpectedEOF 64602 } 64603 if m.GCP == nil { 64604 m.GCP = &ProvisionTokenSpecV2GCP{} 64605 } 64606 if err := m.GCP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64607 return err 64608 } 64609 iNdEx = postIndex 64610 case 14: 64611 if wireType != 2 { 64612 return fmt.Errorf("proto: wrong wireType = %d for field Spacelift", wireType) 64613 } 64614 var msglen int 64615 for shift := uint(0); ; shift += 7 { 64616 if shift >= 64 { 64617 return ErrIntOverflowTypes 64618 } 64619 if iNdEx >= l { 64620 return io.ErrUnexpectedEOF 64621 } 64622 b := dAtA[iNdEx] 64623 iNdEx++ 64624 msglen |= int(b&0x7F) << shift 64625 if b < 0x80 { 64626 break 64627 } 64628 } 64629 if msglen < 0 { 64630 return ErrInvalidLengthTypes 64631 } 64632 postIndex := iNdEx + msglen 64633 if postIndex < 0 { 64634 return ErrInvalidLengthTypes 64635 } 64636 if postIndex > l { 64637 return io.ErrUnexpectedEOF 64638 } 64639 if m.Spacelift == nil { 64640 m.Spacelift = &ProvisionTokenSpecV2Spacelift{} 64641 } 64642 if err := m.Spacelift.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64643 return err 64644 } 64645 iNdEx = postIndex 64646 case 15: 64647 if wireType != 2 { 64648 return fmt.Errorf("proto: wrong wireType = %d for field TPM", wireType) 64649 } 64650 var msglen int 64651 for shift := uint(0); ; shift += 7 { 64652 if shift >= 64 { 64653 return ErrIntOverflowTypes 64654 } 64655 if iNdEx >= l { 64656 return io.ErrUnexpectedEOF 64657 } 64658 b := dAtA[iNdEx] 64659 iNdEx++ 64660 msglen |= int(b&0x7F) << shift 64661 if b < 0x80 { 64662 break 64663 } 64664 } 64665 if msglen < 0 { 64666 return ErrInvalidLengthTypes 64667 } 64668 postIndex := iNdEx + msglen 64669 if postIndex < 0 { 64670 return ErrInvalidLengthTypes 64671 } 64672 if postIndex > l { 64673 return io.ErrUnexpectedEOF 64674 } 64675 if m.TPM == nil { 64676 m.TPM = &ProvisionTokenSpecV2TPM{} 64677 } 64678 if err := m.TPM.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64679 return err 64680 } 64681 iNdEx = postIndex 64682 default: 64683 iNdEx = preIndex 64684 skippy, err := skipTypes(dAtA[iNdEx:]) 64685 if err != nil { 64686 return err 64687 } 64688 if (skippy < 0) || (iNdEx+skippy) < 0 { 64689 return ErrInvalidLengthTypes 64690 } 64691 if (iNdEx + skippy) > l { 64692 return io.ErrUnexpectedEOF 64693 } 64694 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64695 iNdEx += skippy 64696 } 64697 } 64698 64699 if iNdEx > l { 64700 return io.ErrUnexpectedEOF 64701 } 64702 return nil 64703 } 64704 func (m *ProvisionTokenSpecV2TPM) Unmarshal(dAtA []byte) error { 64705 l := len(dAtA) 64706 iNdEx := 0 64707 for iNdEx < l { 64708 preIndex := iNdEx 64709 var wire uint64 64710 for shift := uint(0); ; shift += 7 { 64711 if shift >= 64 { 64712 return ErrIntOverflowTypes 64713 } 64714 if iNdEx >= l { 64715 return io.ErrUnexpectedEOF 64716 } 64717 b := dAtA[iNdEx] 64718 iNdEx++ 64719 wire |= uint64(b&0x7F) << shift 64720 if b < 0x80 { 64721 break 64722 } 64723 } 64724 fieldNum := int32(wire >> 3) 64725 wireType := int(wire & 0x7) 64726 if wireType == 4 { 64727 return fmt.Errorf("proto: ProvisionTokenSpecV2TPM: wiretype end group for non-group") 64728 } 64729 if fieldNum <= 0 { 64730 return fmt.Errorf("proto: ProvisionTokenSpecV2TPM: illegal tag %d (wire type %d)", fieldNum, wire) 64731 } 64732 switch fieldNum { 64733 case 1: 64734 if wireType != 2 { 64735 return fmt.Errorf("proto: wrong wireType = %d for field Allow", wireType) 64736 } 64737 var msglen int 64738 for shift := uint(0); ; shift += 7 { 64739 if shift >= 64 { 64740 return ErrIntOverflowTypes 64741 } 64742 if iNdEx >= l { 64743 return io.ErrUnexpectedEOF 64744 } 64745 b := dAtA[iNdEx] 64746 iNdEx++ 64747 msglen |= int(b&0x7F) << shift 64748 if b < 0x80 { 64749 break 64750 } 64751 } 64752 if msglen < 0 { 64753 return ErrInvalidLengthTypes 64754 } 64755 postIndex := iNdEx + msglen 64756 if postIndex < 0 { 64757 return ErrInvalidLengthTypes 64758 } 64759 if postIndex > l { 64760 return io.ErrUnexpectedEOF 64761 } 64762 m.Allow = append(m.Allow, &ProvisionTokenSpecV2TPM_Rule{}) 64763 if err := m.Allow[len(m.Allow)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64764 return err 64765 } 64766 iNdEx = postIndex 64767 case 2: 64768 if wireType != 2 { 64769 return fmt.Errorf("proto: wrong wireType = %d for field EKCertAllowedCAs", wireType) 64770 } 64771 var stringLen uint64 64772 for shift := uint(0); ; shift += 7 { 64773 if shift >= 64 { 64774 return ErrIntOverflowTypes 64775 } 64776 if iNdEx >= l { 64777 return io.ErrUnexpectedEOF 64778 } 64779 b := dAtA[iNdEx] 64780 iNdEx++ 64781 stringLen |= uint64(b&0x7F) << shift 64782 if b < 0x80 { 64783 break 64784 } 64785 } 64786 intStringLen := int(stringLen) 64787 if intStringLen < 0 { 64788 return ErrInvalidLengthTypes 64789 } 64790 postIndex := iNdEx + intStringLen 64791 if postIndex < 0 { 64792 return ErrInvalidLengthTypes 64793 } 64794 if postIndex > l { 64795 return io.ErrUnexpectedEOF 64796 } 64797 m.EKCertAllowedCAs = append(m.EKCertAllowedCAs, string(dAtA[iNdEx:postIndex])) 64798 iNdEx = postIndex 64799 default: 64800 iNdEx = preIndex 64801 skippy, err := skipTypes(dAtA[iNdEx:]) 64802 if err != nil { 64803 return err 64804 } 64805 if (skippy < 0) || (iNdEx+skippy) < 0 { 64806 return ErrInvalidLengthTypes 64807 } 64808 if (iNdEx + skippy) > l { 64809 return io.ErrUnexpectedEOF 64810 } 64811 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64812 iNdEx += skippy 64813 } 64814 } 64815 64816 if iNdEx > l { 64817 return io.ErrUnexpectedEOF 64818 } 64819 return nil 64820 } 64821 func (m *ProvisionTokenSpecV2TPM_Rule) Unmarshal(dAtA []byte) error { 64822 l := len(dAtA) 64823 iNdEx := 0 64824 for iNdEx < l { 64825 preIndex := iNdEx 64826 var wire uint64 64827 for shift := uint(0); ; shift += 7 { 64828 if shift >= 64 { 64829 return ErrIntOverflowTypes 64830 } 64831 if iNdEx >= l { 64832 return io.ErrUnexpectedEOF 64833 } 64834 b := dAtA[iNdEx] 64835 iNdEx++ 64836 wire |= uint64(b&0x7F) << shift 64837 if b < 0x80 { 64838 break 64839 } 64840 } 64841 fieldNum := int32(wire >> 3) 64842 wireType := int(wire & 0x7) 64843 if wireType == 4 { 64844 return fmt.Errorf("proto: Rule: wiretype end group for non-group") 64845 } 64846 if fieldNum <= 0 { 64847 return fmt.Errorf("proto: Rule: illegal tag %d (wire type %d)", fieldNum, wire) 64848 } 64849 switch fieldNum { 64850 case 1: 64851 if wireType != 2 { 64852 return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) 64853 } 64854 var stringLen uint64 64855 for shift := uint(0); ; shift += 7 { 64856 if shift >= 64 { 64857 return ErrIntOverflowTypes 64858 } 64859 if iNdEx >= l { 64860 return io.ErrUnexpectedEOF 64861 } 64862 b := dAtA[iNdEx] 64863 iNdEx++ 64864 stringLen |= uint64(b&0x7F) << shift 64865 if b < 0x80 { 64866 break 64867 } 64868 } 64869 intStringLen := int(stringLen) 64870 if intStringLen < 0 { 64871 return ErrInvalidLengthTypes 64872 } 64873 postIndex := iNdEx + intStringLen 64874 if postIndex < 0 { 64875 return ErrInvalidLengthTypes 64876 } 64877 if postIndex > l { 64878 return io.ErrUnexpectedEOF 64879 } 64880 m.Description = string(dAtA[iNdEx:postIndex]) 64881 iNdEx = postIndex 64882 case 4: 64883 if wireType != 2 { 64884 return fmt.Errorf("proto: wrong wireType = %d for field EKPublicHash", wireType) 64885 } 64886 var stringLen uint64 64887 for shift := uint(0); ; shift += 7 { 64888 if shift >= 64 { 64889 return ErrIntOverflowTypes 64890 } 64891 if iNdEx >= l { 64892 return io.ErrUnexpectedEOF 64893 } 64894 b := dAtA[iNdEx] 64895 iNdEx++ 64896 stringLen |= uint64(b&0x7F) << shift 64897 if b < 0x80 { 64898 break 64899 } 64900 } 64901 intStringLen := int(stringLen) 64902 if intStringLen < 0 { 64903 return ErrInvalidLengthTypes 64904 } 64905 postIndex := iNdEx + intStringLen 64906 if postIndex < 0 { 64907 return ErrInvalidLengthTypes 64908 } 64909 if postIndex > l { 64910 return io.ErrUnexpectedEOF 64911 } 64912 m.EKPublicHash = string(dAtA[iNdEx:postIndex]) 64913 iNdEx = postIndex 64914 case 5: 64915 if wireType != 2 { 64916 return fmt.Errorf("proto: wrong wireType = %d for field EKCertificateSerial", wireType) 64917 } 64918 var stringLen uint64 64919 for shift := uint(0); ; shift += 7 { 64920 if shift >= 64 { 64921 return ErrIntOverflowTypes 64922 } 64923 if iNdEx >= l { 64924 return io.ErrUnexpectedEOF 64925 } 64926 b := dAtA[iNdEx] 64927 iNdEx++ 64928 stringLen |= uint64(b&0x7F) << shift 64929 if b < 0x80 { 64930 break 64931 } 64932 } 64933 intStringLen := int(stringLen) 64934 if intStringLen < 0 { 64935 return ErrInvalidLengthTypes 64936 } 64937 postIndex := iNdEx + intStringLen 64938 if postIndex < 0 { 64939 return ErrInvalidLengthTypes 64940 } 64941 if postIndex > l { 64942 return io.ErrUnexpectedEOF 64943 } 64944 m.EKCertificateSerial = string(dAtA[iNdEx:postIndex]) 64945 iNdEx = postIndex 64946 default: 64947 iNdEx = preIndex 64948 skippy, err := skipTypes(dAtA[iNdEx:]) 64949 if err != nil { 64950 return err 64951 } 64952 if (skippy < 0) || (iNdEx+skippy) < 0 { 64953 return ErrInvalidLengthTypes 64954 } 64955 if (iNdEx + skippy) > l { 64956 return io.ErrUnexpectedEOF 64957 } 64958 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64959 iNdEx += skippy 64960 } 64961 } 64962 64963 if iNdEx > l { 64964 return io.ErrUnexpectedEOF 64965 } 64966 return nil 64967 } 64968 func (m *ProvisionTokenSpecV2GitHub) Unmarshal(dAtA []byte) error { 64969 l := len(dAtA) 64970 iNdEx := 0 64971 for iNdEx < l { 64972 preIndex := iNdEx 64973 var wire uint64 64974 for shift := uint(0); ; shift += 7 { 64975 if shift >= 64 { 64976 return ErrIntOverflowTypes 64977 } 64978 if iNdEx >= l { 64979 return io.ErrUnexpectedEOF 64980 } 64981 b := dAtA[iNdEx] 64982 iNdEx++ 64983 wire |= uint64(b&0x7F) << shift 64984 if b < 0x80 { 64985 break 64986 } 64987 } 64988 fieldNum := int32(wire >> 3) 64989 wireType := int(wire & 0x7) 64990 if wireType == 4 { 64991 return fmt.Errorf("proto: ProvisionTokenSpecV2GitHub: wiretype end group for non-group") 64992 } 64993 if fieldNum <= 0 { 64994 return fmt.Errorf("proto: ProvisionTokenSpecV2GitHub: illegal tag %d (wire type %d)", fieldNum, wire) 64995 } 64996 switch fieldNum { 64997 case 1: 64998 if wireType != 2 { 64999 return fmt.Errorf("proto: wrong wireType = %d for field Allow", wireType) 65000 } 65001 var msglen int 65002 for shift := uint(0); ; shift += 7 { 65003 if shift >= 64 { 65004 return ErrIntOverflowTypes 65005 } 65006 if iNdEx >= l { 65007 return io.ErrUnexpectedEOF 65008 } 65009 b := dAtA[iNdEx] 65010 iNdEx++ 65011 msglen |= int(b&0x7F) << shift 65012 if b < 0x80 { 65013 break 65014 } 65015 } 65016 if msglen < 0 { 65017 return ErrInvalidLengthTypes 65018 } 65019 postIndex := iNdEx + msglen 65020 if postIndex < 0 { 65021 return ErrInvalidLengthTypes 65022 } 65023 if postIndex > l { 65024 return io.ErrUnexpectedEOF 65025 } 65026 m.Allow = append(m.Allow, &ProvisionTokenSpecV2GitHub_Rule{}) 65027 if err := m.Allow[len(m.Allow)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65028 return err 65029 } 65030 iNdEx = postIndex 65031 case 2: 65032 if wireType != 2 { 65033 return fmt.Errorf("proto: wrong wireType = %d for field EnterpriseServerHost", wireType) 65034 } 65035 var stringLen uint64 65036 for shift := uint(0); ; shift += 7 { 65037 if shift >= 64 { 65038 return ErrIntOverflowTypes 65039 } 65040 if iNdEx >= l { 65041 return io.ErrUnexpectedEOF 65042 } 65043 b := dAtA[iNdEx] 65044 iNdEx++ 65045 stringLen |= uint64(b&0x7F) << shift 65046 if b < 0x80 { 65047 break 65048 } 65049 } 65050 intStringLen := int(stringLen) 65051 if intStringLen < 0 { 65052 return ErrInvalidLengthTypes 65053 } 65054 postIndex := iNdEx + intStringLen 65055 if postIndex < 0 { 65056 return ErrInvalidLengthTypes 65057 } 65058 if postIndex > l { 65059 return io.ErrUnexpectedEOF 65060 } 65061 m.EnterpriseServerHost = string(dAtA[iNdEx:postIndex]) 65062 iNdEx = postIndex 65063 case 3: 65064 if wireType != 2 { 65065 return fmt.Errorf("proto: wrong wireType = %d for field EnterpriseSlug", wireType) 65066 } 65067 var stringLen uint64 65068 for shift := uint(0); ; shift += 7 { 65069 if shift >= 64 { 65070 return ErrIntOverflowTypes 65071 } 65072 if iNdEx >= l { 65073 return io.ErrUnexpectedEOF 65074 } 65075 b := dAtA[iNdEx] 65076 iNdEx++ 65077 stringLen |= uint64(b&0x7F) << shift 65078 if b < 0x80 { 65079 break 65080 } 65081 } 65082 intStringLen := int(stringLen) 65083 if intStringLen < 0 { 65084 return ErrInvalidLengthTypes 65085 } 65086 postIndex := iNdEx + intStringLen 65087 if postIndex < 0 { 65088 return ErrInvalidLengthTypes 65089 } 65090 if postIndex > l { 65091 return io.ErrUnexpectedEOF 65092 } 65093 m.EnterpriseSlug = string(dAtA[iNdEx:postIndex]) 65094 iNdEx = postIndex 65095 default: 65096 iNdEx = preIndex 65097 skippy, err := skipTypes(dAtA[iNdEx:]) 65098 if err != nil { 65099 return err 65100 } 65101 if (skippy < 0) || (iNdEx+skippy) < 0 { 65102 return ErrInvalidLengthTypes 65103 } 65104 if (iNdEx + skippy) > l { 65105 return io.ErrUnexpectedEOF 65106 } 65107 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 65108 iNdEx += skippy 65109 } 65110 } 65111 65112 if iNdEx > l { 65113 return io.ErrUnexpectedEOF 65114 } 65115 return nil 65116 } 65117 func (m *ProvisionTokenSpecV2GitHub_Rule) Unmarshal(dAtA []byte) error { 65118 l := len(dAtA) 65119 iNdEx := 0 65120 for iNdEx < l { 65121 preIndex := iNdEx 65122 var wire uint64 65123 for shift := uint(0); ; shift += 7 { 65124 if shift >= 64 { 65125 return ErrIntOverflowTypes 65126 } 65127 if iNdEx >= l { 65128 return io.ErrUnexpectedEOF 65129 } 65130 b := dAtA[iNdEx] 65131 iNdEx++ 65132 wire |= uint64(b&0x7F) << shift 65133 if b < 0x80 { 65134 break 65135 } 65136 } 65137 fieldNum := int32(wire >> 3) 65138 wireType := int(wire & 0x7) 65139 if wireType == 4 { 65140 return fmt.Errorf("proto: Rule: wiretype end group for non-group") 65141 } 65142 if fieldNum <= 0 { 65143 return fmt.Errorf("proto: Rule: illegal tag %d (wire type %d)", fieldNum, wire) 65144 } 65145 switch fieldNum { 65146 case 1: 65147 if wireType != 2 { 65148 return fmt.Errorf("proto: wrong wireType = %d for field Sub", wireType) 65149 } 65150 var stringLen uint64 65151 for shift := uint(0); ; shift += 7 { 65152 if shift >= 64 { 65153 return ErrIntOverflowTypes 65154 } 65155 if iNdEx >= l { 65156 return io.ErrUnexpectedEOF 65157 } 65158 b := dAtA[iNdEx] 65159 iNdEx++ 65160 stringLen |= uint64(b&0x7F) << shift 65161 if b < 0x80 { 65162 break 65163 } 65164 } 65165 intStringLen := int(stringLen) 65166 if intStringLen < 0 { 65167 return ErrInvalidLengthTypes 65168 } 65169 postIndex := iNdEx + intStringLen 65170 if postIndex < 0 { 65171 return ErrInvalidLengthTypes 65172 } 65173 if postIndex > l { 65174 return io.ErrUnexpectedEOF 65175 } 65176 m.Sub = string(dAtA[iNdEx:postIndex]) 65177 iNdEx = postIndex 65178 case 2: 65179 if wireType != 2 { 65180 return fmt.Errorf("proto: wrong wireType = %d for field Repository", wireType) 65181 } 65182 var stringLen uint64 65183 for shift := uint(0); ; shift += 7 { 65184 if shift >= 64 { 65185 return ErrIntOverflowTypes 65186 } 65187 if iNdEx >= l { 65188 return io.ErrUnexpectedEOF 65189 } 65190 b := dAtA[iNdEx] 65191 iNdEx++ 65192 stringLen |= uint64(b&0x7F) << shift 65193 if b < 0x80 { 65194 break 65195 } 65196 } 65197 intStringLen := int(stringLen) 65198 if intStringLen < 0 { 65199 return ErrInvalidLengthTypes 65200 } 65201 postIndex := iNdEx + intStringLen 65202 if postIndex < 0 { 65203 return ErrInvalidLengthTypes 65204 } 65205 if postIndex > l { 65206 return io.ErrUnexpectedEOF 65207 } 65208 m.Repository = string(dAtA[iNdEx:postIndex]) 65209 iNdEx = postIndex 65210 case 3: 65211 if wireType != 2 { 65212 return fmt.Errorf("proto: wrong wireType = %d for field RepositoryOwner", wireType) 65213 } 65214 var stringLen uint64 65215 for shift := uint(0); ; shift += 7 { 65216 if shift >= 64 { 65217 return ErrIntOverflowTypes 65218 } 65219 if iNdEx >= l { 65220 return io.ErrUnexpectedEOF 65221 } 65222 b := dAtA[iNdEx] 65223 iNdEx++ 65224 stringLen |= uint64(b&0x7F) << shift 65225 if b < 0x80 { 65226 break 65227 } 65228 } 65229 intStringLen := int(stringLen) 65230 if intStringLen < 0 { 65231 return ErrInvalidLengthTypes 65232 } 65233 postIndex := iNdEx + intStringLen 65234 if postIndex < 0 { 65235 return ErrInvalidLengthTypes 65236 } 65237 if postIndex > l { 65238 return io.ErrUnexpectedEOF 65239 } 65240 m.RepositoryOwner = string(dAtA[iNdEx:postIndex]) 65241 iNdEx = postIndex 65242 case 4: 65243 if wireType != 2 { 65244 return fmt.Errorf("proto: wrong wireType = %d for field Workflow", wireType) 65245 } 65246 var stringLen uint64 65247 for shift := uint(0); ; shift += 7 { 65248 if shift >= 64 { 65249 return ErrIntOverflowTypes 65250 } 65251 if iNdEx >= l { 65252 return io.ErrUnexpectedEOF 65253 } 65254 b := dAtA[iNdEx] 65255 iNdEx++ 65256 stringLen |= uint64(b&0x7F) << shift 65257 if b < 0x80 { 65258 break 65259 } 65260 } 65261 intStringLen := int(stringLen) 65262 if intStringLen < 0 { 65263 return ErrInvalidLengthTypes 65264 } 65265 postIndex := iNdEx + intStringLen 65266 if postIndex < 0 { 65267 return ErrInvalidLengthTypes 65268 } 65269 if postIndex > l { 65270 return io.ErrUnexpectedEOF 65271 } 65272 m.Workflow = string(dAtA[iNdEx:postIndex]) 65273 iNdEx = postIndex 65274 case 5: 65275 if wireType != 2 { 65276 return fmt.Errorf("proto: wrong wireType = %d for field Environment", wireType) 65277 } 65278 var stringLen uint64 65279 for shift := uint(0); ; shift += 7 { 65280 if shift >= 64 { 65281 return ErrIntOverflowTypes 65282 } 65283 if iNdEx >= l { 65284 return io.ErrUnexpectedEOF 65285 } 65286 b := dAtA[iNdEx] 65287 iNdEx++ 65288 stringLen |= uint64(b&0x7F) << shift 65289 if b < 0x80 { 65290 break 65291 } 65292 } 65293 intStringLen := int(stringLen) 65294 if intStringLen < 0 { 65295 return ErrInvalidLengthTypes 65296 } 65297 postIndex := iNdEx + intStringLen 65298 if postIndex < 0 { 65299 return ErrInvalidLengthTypes 65300 } 65301 if postIndex > l { 65302 return io.ErrUnexpectedEOF 65303 } 65304 m.Environment = string(dAtA[iNdEx:postIndex]) 65305 iNdEx = postIndex 65306 case 6: 65307 if wireType != 2 { 65308 return fmt.Errorf("proto: wrong wireType = %d for field Actor", wireType) 65309 } 65310 var stringLen uint64 65311 for shift := uint(0); ; shift += 7 { 65312 if shift >= 64 { 65313 return ErrIntOverflowTypes 65314 } 65315 if iNdEx >= l { 65316 return io.ErrUnexpectedEOF 65317 } 65318 b := dAtA[iNdEx] 65319 iNdEx++ 65320 stringLen |= uint64(b&0x7F) << shift 65321 if b < 0x80 { 65322 break 65323 } 65324 } 65325 intStringLen := int(stringLen) 65326 if intStringLen < 0 { 65327 return ErrInvalidLengthTypes 65328 } 65329 postIndex := iNdEx + intStringLen 65330 if postIndex < 0 { 65331 return ErrInvalidLengthTypes 65332 } 65333 if postIndex > l { 65334 return io.ErrUnexpectedEOF 65335 } 65336 m.Actor = string(dAtA[iNdEx:postIndex]) 65337 iNdEx = postIndex 65338 case 7: 65339 if wireType != 2 { 65340 return fmt.Errorf("proto: wrong wireType = %d for field Ref", wireType) 65341 } 65342 var stringLen uint64 65343 for shift := uint(0); ; shift += 7 { 65344 if shift >= 64 { 65345 return ErrIntOverflowTypes 65346 } 65347 if iNdEx >= l { 65348 return io.ErrUnexpectedEOF 65349 } 65350 b := dAtA[iNdEx] 65351 iNdEx++ 65352 stringLen |= uint64(b&0x7F) << shift 65353 if b < 0x80 { 65354 break 65355 } 65356 } 65357 intStringLen := int(stringLen) 65358 if intStringLen < 0 { 65359 return ErrInvalidLengthTypes 65360 } 65361 postIndex := iNdEx + intStringLen 65362 if postIndex < 0 { 65363 return ErrInvalidLengthTypes 65364 } 65365 if postIndex > l { 65366 return io.ErrUnexpectedEOF 65367 } 65368 m.Ref = string(dAtA[iNdEx:postIndex]) 65369 iNdEx = postIndex 65370 case 8: 65371 if wireType != 2 { 65372 return fmt.Errorf("proto: wrong wireType = %d for field RefType", wireType) 65373 } 65374 var stringLen uint64 65375 for shift := uint(0); ; shift += 7 { 65376 if shift >= 64 { 65377 return ErrIntOverflowTypes 65378 } 65379 if iNdEx >= l { 65380 return io.ErrUnexpectedEOF 65381 } 65382 b := dAtA[iNdEx] 65383 iNdEx++ 65384 stringLen |= uint64(b&0x7F) << shift 65385 if b < 0x80 { 65386 break 65387 } 65388 } 65389 intStringLen := int(stringLen) 65390 if intStringLen < 0 { 65391 return ErrInvalidLengthTypes 65392 } 65393 postIndex := iNdEx + intStringLen 65394 if postIndex < 0 { 65395 return ErrInvalidLengthTypes 65396 } 65397 if postIndex > l { 65398 return io.ErrUnexpectedEOF 65399 } 65400 m.RefType = string(dAtA[iNdEx:postIndex]) 65401 iNdEx = postIndex 65402 default: 65403 iNdEx = preIndex 65404 skippy, err := skipTypes(dAtA[iNdEx:]) 65405 if err != nil { 65406 return err 65407 } 65408 if (skippy < 0) || (iNdEx+skippy) < 0 { 65409 return ErrInvalidLengthTypes 65410 } 65411 if (iNdEx + skippy) > l { 65412 return io.ErrUnexpectedEOF 65413 } 65414 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 65415 iNdEx += skippy 65416 } 65417 } 65418 65419 if iNdEx > l { 65420 return io.ErrUnexpectedEOF 65421 } 65422 return nil 65423 } 65424 func (m *ProvisionTokenSpecV2GitLab) Unmarshal(dAtA []byte) error { 65425 l := len(dAtA) 65426 iNdEx := 0 65427 for iNdEx < l { 65428 preIndex := iNdEx 65429 var wire uint64 65430 for shift := uint(0); ; shift += 7 { 65431 if shift >= 64 { 65432 return ErrIntOverflowTypes 65433 } 65434 if iNdEx >= l { 65435 return io.ErrUnexpectedEOF 65436 } 65437 b := dAtA[iNdEx] 65438 iNdEx++ 65439 wire |= uint64(b&0x7F) << shift 65440 if b < 0x80 { 65441 break 65442 } 65443 } 65444 fieldNum := int32(wire >> 3) 65445 wireType := int(wire & 0x7) 65446 if wireType == 4 { 65447 return fmt.Errorf("proto: ProvisionTokenSpecV2GitLab: wiretype end group for non-group") 65448 } 65449 if fieldNum <= 0 { 65450 return fmt.Errorf("proto: ProvisionTokenSpecV2GitLab: illegal tag %d (wire type %d)", fieldNum, wire) 65451 } 65452 switch fieldNum { 65453 case 1: 65454 if wireType != 2 { 65455 return fmt.Errorf("proto: wrong wireType = %d for field Allow", wireType) 65456 } 65457 var msglen int 65458 for shift := uint(0); ; shift += 7 { 65459 if shift >= 64 { 65460 return ErrIntOverflowTypes 65461 } 65462 if iNdEx >= l { 65463 return io.ErrUnexpectedEOF 65464 } 65465 b := dAtA[iNdEx] 65466 iNdEx++ 65467 msglen |= int(b&0x7F) << shift 65468 if b < 0x80 { 65469 break 65470 } 65471 } 65472 if msglen < 0 { 65473 return ErrInvalidLengthTypes 65474 } 65475 postIndex := iNdEx + msglen 65476 if postIndex < 0 { 65477 return ErrInvalidLengthTypes 65478 } 65479 if postIndex > l { 65480 return io.ErrUnexpectedEOF 65481 } 65482 m.Allow = append(m.Allow, &ProvisionTokenSpecV2GitLab_Rule{}) 65483 if err := m.Allow[len(m.Allow)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65484 return err 65485 } 65486 iNdEx = postIndex 65487 case 2: 65488 if wireType != 2 { 65489 return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) 65490 } 65491 var stringLen uint64 65492 for shift := uint(0); ; shift += 7 { 65493 if shift >= 64 { 65494 return ErrIntOverflowTypes 65495 } 65496 if iNdEx >= l { 65497 return io.ErrUnexpectedEOF 65498 } 65499 b := dAtA[iNdEx] 65500 iNdEx++ 65501 stringLen |= uint64(b&0x7F) << shift 65502 if b < 0x80 { 65503 break 65504 } 65505 } 65506 intStringLen := int(stringLen) 65507 if intStringLen < 0 { 65508 return ErrInvalidLengthTypes 65509 } 65510 postIndex := iNdEx + intStringLen 65511 if postIndex < 0 { 65512 return ErrInvalidLengthTypes 65513 } 65514 if postIndex > l { 65515 return io.ErrUnexpectedEOF 65516 } 65517 m.Domain = string(dAtA[iNdEx:postIndex]) 65518 iNdEx = postIndex 65519 default: 65520 iNdEx = preIndex 65521 skippy, err := skipTypes(dAtA[iNdEx:]) 65522 if err != nil { 65523 return err 65524 } 65525 if (skippy < 0) || (iNdEx+skippy) < 0 { 65526 return ErrInvalidLengthTypes 65527 } 65528 if (iNdEx + skippy) > l { 65529 return io.ErrUnexpectedEOF 65530 } 65531 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 65532 iNdEx += skippy 65533 } 65534 } 65535 65536 if iNdEx > l { 65537 return io.ErrUnexpectedEOF 65538 } 65539 return nil 65540 } 65541 func (m *ProvisionTokenSpecV2GitLab_Rule) Unmarshal(dAtA []byte) error { 65542 l := len(dAtA) 65543 iNdEx := 0 65544 for iNdEx < l { 65545 preIndex := iNdEx 65546 var wire uint64 65547 for shift := uint(0); ; shift += 7 { 65548 if shift >= 64 { 65549 return ErrIntOverflowTypes 65550 } 65551 if iNdEx >= l { 65552 return io.ErrUnexpectedEOF 65553 } 65554 b := dAtA[iNdEx] 65555 iNdEx++ 65556 wire |= uint64(b&0x7F) << shift 65557 if b < 0x80 { 65558 break 65559 } 65560 } 65561 fieldNum := int32(wire >> 3) 65562 wireType := int(wire & 0x7) 65563 if wireType == 4 { 65564 return fmt.Errorf("proto: Rule: wiretype end group for non-group") 65565 } 65566 if fieldNum <= 0 { 65567 return fmt.Errorf("proto: Rule: illegal tag %d (wire type %d)", fieldNum, wire) 65568 } 65569 switch fieldNum { 65570 case 1: 65571 if wireType != 2 { 65572 return fmt.Errorf("proto: wrong wireType = %d for field Sub", wireType) 65573 } 65574 var stringLen uint64 65575 for shift := uint(0); ; shift += 7 { 65576 if shift >= 64 { 65577 return ErrIntOverflowTypes 65578 } 65579 if iNdEx >= l { 65580 return io.ErrUnexpectedEOF 65581 } 65582 b := dAtA[iNdEx] 65583 iNdEx++ 65584 stringLen |= uint64(b&0x7F) << shift 65585 if b < 0x80 { 65586 break 65587 } 65588 } 65589 intStringLen := int(stringLen) 65590 if intStringLen < 0 { 65591 return ErrInvalidLengthTypes 65592 } 65593 postIndex := iNdEx + intStringLen 65594 if postIndex < 0 { 65595 return ErrInvalidLengthTypes 65596 } 65597 if postIndex > l { 65598 return io.ErrUnexpectedEOF 65599 } 65600 m.Sub = string(dAtA[iNdEx:postIndex]) 65601 iNdEx = postIndex 65602 case 2: 65603 if wireType != 2 { 65604 return fmt.Errorf("proto: wrong wireType = %d for field Ref", wireType) 65605 } 65606 var stringLen uint64 65607 for shift := uint(0); ; shift += 7 { 65608 if shift >= 64 { 65609 return ErrIntOverflowTypes 65610 } 65611 if iNdEx >= l { 65612 return io.ErrUnexpectedEOF 65613 } 65614 b := dAtA[iNdEx] 65615 iNdEx++ 65616 stringLen |= uint64(b&0x7F) << shift 65617 if b < 0x80 { 65618 break 65619 } 65620 } 65621 intStringLen := int(stringLen) 65622 if intStringLen < 0 { 65623 return ErrInvalidLengthTypes 65624 } 65625 postIndex := iNdEx + intStringLen 65626 if postIndex < 0 { 65627 return ErrInvalidLengthTypes 65628 } 65629 if postIndex > l { 65630 return io.ErrUnexpectedEOF 65631 } 65632 m.Ref = string(dAtA[iNdEx:postIndex]) 65633 iNdEx = postIndex 65634 case 3: 65635 if wireType != 2 { 65636 return fmt.Errorf("proto: wrong wireType = %d for field RefType", wireType) 65637 } 65638 var stringLen uint64 65639 for shift := uint(0); ; shift += 7 { 65640 if shift >= 64 { 65641 return ErrIntOverflowTypes 65642 } 65643 if iNdEx >= l { 65644 return io.ErrUnexpectedEOF 65645 } 65646 b := dAtA[iNdEx] 65647 iNdEx++ 65648 stringLen |= uint64(b&0x7F) << shift 65649 if b < 0x80 { 65650 break 65651 } 65652 } 65653 intStringLen := int(stringLen) 65654 if intStringLen < 0 { 65655 return ErrInvalidLengthTypes 65656 } 65657 postIndex := iNdEx + intStringLen 65658 if postIndex < 0 { 65659 return ErrInvalidLengthTypes 65660 } 65661 if postIndex > l { 65662 return io.ErrUnexpectedEOF 65663 } 65664 m.RefType = string(dAtA[iNdEx:postIndex]) 65665 iNdEx = postIndex 65666 case 4: 65667 if wireType != 2 { 65668 return fmt.Errorf("proto: wrong wireType = %d for field NamespacePath", wireType) 65669 } 65670 var stringLen uint64 65671 for shift := uint(0); ; shift += 7 { 65672 if shift >= 64 { 65673 return ErrIntOverflowTypes 65674 } 65675 if iNdEx >= l { 65676 return io.ErrUnexpectedEOF 65677 } 65678 b := dAtA[iNdEx] 65679 iNdEx++ 65680 stringLen |= uint64(b&0x7F) << shift 65681 if b < 0x80 { 65682 break 65683 } 65684 } 65685 intStringLen := int(stringLen) 65686 if intStringLen < 0 { 65687 return ErrInvalidLengthTypes 65688 } 65689 postIndex := iNdEx + intStringLen 65690 if postIndex < 0 { 65691 return ErrInvalidLengthTypes 65692 } 65693 if postIndex > l { 65694 return io.ErrUnexpectedEOF 65695 } 65696 m.NamespacePath = string(dAtA[iNdEx:postIndex]) 65697 iNdEx = postIndex 65698 case 5: 65699 if wireType != 2 { 65700 return fmt.Errorf("proto: wrong wireType = %d for field ProjectPath", wireType) 65701 } 65702 var stringLen uint64 65703 for shift := uint(0); ; shift += 7 { 65704 if shift >= 64 { 65705 return ErrIntOverflowTypes 65706 } 65707 if iNdEx >= l { 65708 return io.ErrUnexpectedEOF 65709 } 65710 b := dAtA[iNdEx] 65711 iNdEx++ 65712 stringLen |= uint64(b&0x7F) << shift 65713 if b < 0x80 { 65714 break 65715 } 65716 } 65717 intStringLen := int(stringLen) 65718 if intStringLen < 0 { 65719 return ErrInvalidLengthTypes 65720 } 65721 postIndex := iNdEx + intStringLen 65722 if postIndex < 0 { 65723 return ErrInvalidLengthTypes 65724 } 65725 if postIndex > l { 65726 return io.ErrUnexpectedEOF 65727 } 65728 m.ProjectPath = string(dAtA[iNdEx:postIndex]) 65729 iNdEx = postIndex 65730 case 6: 65731 if wireType != 2 { 65732 return fmt.Errorf("proto: wrong wireType = %d for field PipelineSource", wireType) 65733 } 65734 var stringLen uint64 65735 for shift := uint(0); ; shift += 7 { 65736 if shift >= 64 { 65737 return ErrIntOverflowTypes 65738 } 65739 if iNdEx >= l { 65740 return io.ErrUnexpectedEOF 65741 } 65742 b := dAtA[iNdEx] 65743 iNdEx++ 65744 stringLen |= uint64(b&0x7F) << shift 65745 if b < 0x80 { 65746 break 65747 } 65748 } 65749 intStringLen := int(stringLen) 65750 if intStringLen < 0 { 65751 return ErrInvalidLengthTypes 65752 } 65753 postIndex := iNdEx + intStringLen 65754 if postIndex < 0 { 65755 return ErrInvalidLengthTypes 65756 } 65757 if postIndex > l { 65758 return io.ErrUnexpectedEOF 65759 } 65760 m.PipelineSource = string(dAtA[iNdEx:postIndex]) 65761 iNdEx = postIndex 65762 case 7: 65763 if wireType != 2 { 65764 return fmt.Errorf("proto: wrong wireType = %d for field Environment", wireType) 65765 } 65766 var stringLen uint64 65767 for shift := uint(0); ; shift += 7 { 65768 if shift >= 64 { 65769 return ErrIntOverflowTypes 65770 } 65771 if iNdEx >= l { 65772 return io.ErrUnexpectedEOF 65773 } 65774 b := dAtA[iNdEx] 65775 iNdEx++ 65776 stringLen |= uint64(b&0x7F) << shift 65777 if b < 0x80 { 65778 break 65779 } 65780 } 65781 intStringLen := int(stringLen) 65782 if intStringLen < 0 { 65783 return ErrInvalidLengthTypes 65784 } 65785 postIndex := iNdEx + intStringLen 65786 if postIndex < 0 { 65787 return ErrInvalidLengthTypes 65788 } 65789 if postIndex > l { 65790 return io.ErrUnexpectedEOF 65791 } 65792 m.Environment = string(dAtA[iNdEx:postIndex]) 65793 iNdEx = postIndex 65794 case 8: 65795 if wireType != 2 { 65796 return fmt.Errorf("proto: wrong wireType = %d for field UserLogin", wireType) 65797 } 65798 var stringLen uint64 65799 for shift := uint(0); ; shift += 7 { 65800 if shift >= 64 { 65801 return ErrIntOverflowTypes 65802 } 65803 if iNdEx >= l { 65804 return io.ErrUnexpectedEOF 65805 } 65806 b := dAtA[iNdEx] 65807 iNdEx++ 65808 stringLen |= uint64(b&0x7F) << shift 65809 if b < 0x80 { 65810 break 65811 } 65812 } 65813 intStringLen := int(stringLen) 65814 if intStringLen < 0 { 65815 return ErrInvalidLengthTypes 65816 } 65817 postIndex := iNdEx + intStringLen 65818 if postIndex < 0 { 65819 return ErrInvalidLengthTypes 65820 } 65821 if postIndex > l { 65822 return io.ErrUnexpectedEOF 65823 } 65824 m.UserLogin = string(dAtA[iNdEx:postIndex]) 65825 iNdEx = postIndex 65826 case 9: 65827 if wireType != 2 { 65828 return fmt.Errorf("proto: wrong wireType = %d for field UserID", wireType) 65829 } 65830 var stringLen uint64 65831 for shift := uint(0); ; shift += 7 { 65832 if shift >= 64 { 65833 return ErrIntOverflowTypes 65834 } 65835 if iNdEx >= l { 65836 return io.ErrUnexpectedEOF 65837 } 65838 b := dAtA[iNdEx] 65839 iNdEx++ 65840 stringLen |= uint64(b&0x7F) << shift 65841 if b < 0x80 { 65842 break 65843 } 65844 } 65845 intStringLen := int(stringLen) 65846 if intStringLen < 0 { 65847 return ErrInvalidLengthTypes 65848 } 65849 postIndex := iNdEx + intStringLen 65850 if postIndex < 0 { 65851 return ErrInvalidLengthTypes 65852 } 65853 if postIndex > l { 65854 return io.ErrUnexpectedEOF 65855 } 65856 m.UserID = string(dAtA[iNdEx:postIndex]) 65857 iNdEx = postIndex 65858 case 10: 65859 if wireType != 2 { 65860 return fmt.Errorf("proto: wrong wireType = %d for field UserEmail", wireType) 65861 } 65862 var stringLen uint64 65863 for shift := uint(0); ; shift += 7 { 65864 if shift >= 64 { 65865 return ErrIntOverflowTypes 65866 } 65867 if iNdEx >= l { 65868 return io.ErrUnexpectedEOF 65869 } 65870 b := dAtA[iNdEx] 65871 iNdEx++ 65872 stringLen |= uint64(b&0x7F) << shift 65873 if b < 0x80 { 65874 break 65875 } 65876 } 65877 intStringLen := int(stringLen) 65878 if intStringLen < 0 { 65879 return ErrInvalidLengthTypes 65880 } 65881 postIndex := iNdEx + intStringLen 65882 if postIndex < 0 { 65883 return ErrInvalidLengthTypes 65884 } 65885 if postIndex > l { 65886 return io.ErrUnexpectedEOF 65887 } 65888 m.UserEmail = string(dAtA[iNdEx:postIndex]) 65889 iNdEx = postIndex 65890 case 11: 65891 if wireType != 2 { 65892 return fmt.Errorf("proto: wrong wireType = %d for field RefProtected", wireType) 65893 } 65894 var msglen int 65895 for shift := uint(0); ; shift += 7 { 65896 if shift >= 64 { 65897 return ErrIntOverflowTypes 65898 } 65899 if iNdEx >= l { 65900 return io.ErrUnexpectedEOF 65901 } 65902 b := dAtA[iNdEx] 65903 iNdEx++ 65904 msglen |= int(b&0x7F) << shift 65905 if b < 0x80 { 65906 break 65907 } 65908 } 65909 if msglen < 0 { 65910 return ErrInvalidLengthTypes 65911 } 65912 postIndex := iNdEx + msglen 65913 if postIndex < 0 { 65914 return ErrInvalidLengthTypes 65915 } 65916 if postIndex > l { 65917 return io.ErrUnexpectedEOF 65918 } 65919 if m.RefProtected == nil { 65920 m.RefProtected = &BoolOption{} 65921 } 65922 if err := m.RefProtected.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65923 return err 65924 } 65925 iNdEx = postIndex 65926 case 12: 65927 if wireType != 2 { 65928 return fmt.Errorf("proto: wrong wireType = %d for field EnvironmentProtected", wireType) 65929 } 65930 var msglen int 65931 for shift := uint(0); ; shift += 7 { 65932 if shift >= 64 { 65933 return ErrIntOverflowTypes 65934 } 65935 if iNdEx >= l { 65936 return io.ErrUnexpectedEOF 65937 } 65938 b := dAtA[iNdEx] 65939 iNdEx++ 65940 msglen |= int(b&0x7F) << shift 65941 if b < 0x80 { 65942 break 65943 } 65944 } 65945 if msglen < 0 { 65946 return ErrInvalidLengthTypes 65947 } 65948 postIndex := iNdEx + msglen 65949 if postIndex < 0 { 65950 return ErrInvalidLengthTypes 65951 } 65952 if postIndex > l { 65953 return io.ErrUnexpectedEOF 65954 } 65955 if m.EnvironmentProtected == nil { 65956 m.EnvironmentProtected = &BoolOption{} 65957 } 65958 if err := m.EnvironmentProtected.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65959 return err 65960 } 65961 iNdEx = postIndex 65962 case 13: 65963 if wireType != 2 { 65964 return fmt.Errorf("proto: wrong wireType = %d for field CIConfigSHA", wireType) 65965 } 65966 var stringLen uint64 65967 for shift := uint(0); ; shift += 7 { 65968 if shift >= 64 { 65969 return ErrIntOverflowTypes 65970 } 65971 if iNdEx >= l { 65972 return io.ErrUnexpectedEOF 65973 } 65974 b := dAtA[iNdEx] 65975 iNdEx++ 65976 stringLen |= uint64(b&0x7F) << shift 65977 if b < 0x80 { 65978 break 65979 } 65980 } 65981 intStringLen := int(stringLen) 65982 if intStringLen < 0 { 65983 return ErrInvalidLengthTypes 65984 } 65985 postIndex := iNdEx + intStringLen 65986 if postIndex < 0 { 65987 return ErrInvalidLengthTypes 65988 } 65989 if postIndex > l { 65990 return io.ErrUnexpectedEOF 65991 } 65992 m.CIConfigSHA = string(dAtA[iNdEx:postIndex]) 65993 iNdEx = postIndex 65994 case 14: 65995 if wireType != 2 { 65996 return fmt.Errorf("proto: wrong wireType = %d for field CIConfigRefURI", wireType) 65997 } 65998 var stringLen uint64 65999 for shift := uint(0); ; shift += 7 { 66000 if shift >= 64 { 66001 return ErrIntOverflowTypes 66002 } 66003 if iNdEx >= l { 66004 return io.ErrUnexpectedEOF 66005 } 66006 b := dAtA[iNdEx] 66007 iNdEx++ 66008 stringLen |= uint64(b&0x7F) << shift 66009 if b < 0x80 { 66010 break 66011 } 66012 } 66013 intStringLen := int(stringLen) 66014 if intStringLen < 0 { 66015 return ErrInvalidLengthTypes 66016 } 66017 postIndex := iNdEx + intStringLen 66018 if postIndex < 0 { 66019 return ErrInvalidLengthTypes 66020 } 66021 if postIndex > l { 66022 return io.ErrUnexpectedEOF 66023 } 66024 m.CIConfigRefURI = string(dAtA[iNdEx:postIndex]) 66025 iNdEx = postIndex 66026 case 15: 66027 if wireType != 2 { 66028 return fmt.Errorf("proto: wrong wireType = %d for field DeploymentTier", wireType) 66029 } 66030 var stringLen uint64 66031 for shift := uint(0); ; shift += 7 { 66032 if shift >= 64 { 66033 return ErrIntOverflowTypes 66034 } 66035 if iNdEx >= l { 66036 return io.ErrUnexpectedEOF 66037 } 66038 b := dAtA[iNdEx] 66039 iNdEx++ 66040 stringLen |= uint64(b&0x7F) << shift 66041 if b < 0x80 { 66042 break 66043 } 66044 } 66045 intStringLen := int(stringLen) 66046 if intStringLen < 0 { 66047 return ErrInvalidLengthTypes 66048 } 66049 postIndex := iNdEx + intStringLen 66050 if postIndex < 0 { 66051 return ErrInvalidLengthTypes 66052 } 66053 if postIndex > l { 66054 return io.ErrUnexpectedEOF 66055 } 66056 m.DeploymentTier = string(dAtA[iNdEx:postIndex]) 66057 iNdEx = postIndex 66058 case 16: 66059 if wireType != 2 { 66060 return fmt.Errorf("proto: wrong wireType = %d for field ProjectVisibility", wireType) 66061 } 66062 var stringLen uint64 66063 for shift := uint(0); ; shift += 7 { 66064 if shift >= 64 { 66065 return ErrIntOverflowTypes 66066 } 66067 if iNdEx >= l { 66068 return io.ErrUnexpectedEOF 66069 } 66070 b := dAtA[iNdEx] 66071 iNdEx++ 66072 stringLen |= uint64(b&0x7F) << shift 66073 if b < 0x80 { 66074 break 66075 } 66076 } 66077 intStringLen := int(stringLen) 66078 if intStringLen < 0 { 66079 return ErrInvalidLengthTypes 66080 } 66081 postIndex := iNdEx + intStringLen 66082 if postIndex < 0 { 66083 return ErrInvalidLengthTypes 66084 } 66085 if postIndex > l { 66086 return io.ErrUnexpectedEOF 66087 } 66088 m.ProjectVisibility = string(dAtA[iNdEx:postIndex]) 66089 iNdEx = postIndex 66090 default: 66091 iNdEx = preIndex 66092 skippy, err := skipTypes(dAtA[iNdEx:]) 66093 if err != nil { 66094 return err 66095 } 66096 if (skippy < 0) || (iNdEx+skippy) < 0 { 66097 return ErrInvalidLengthTypes 66098 } 66099 if (iNdEx + skippy) > l { 66100 return io.ErrUnexpectedEOF 66101 } 66102 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 66103 iNdEx += skippy 66104 } 66105 } 66106 66107 if iNdEx > l { 66108 return io.ErrUnexpectedEOF 66109 } 66110 return nil 66111 } 66112 func (m *ProvisionTokenSpecV2CircleCI) Unmarshal(dAtA []byte) error { 66113 l := len(dAtA) 66114 iNdEx := 0 66115 for iNdEx < l { 66116 preIndex := iNdEx 66117 var wire uint64 66118 for shift := uint(0); ; shift += 7 { 66119 if shift >= 64 { 66120 return ErrIntOverflowTypes 66121 } 66122 if iNdEx >= l { 66123 return io.ErrUnexpectedEOF 66124 } 66125 b := dAtA[iNdEx] 66126 iNdEx++ 66127 wire |= uint64(b&0x7F) << shift 66128 if b < 0x80 { 66129 break 66130 } 66131 } 66132 fieldNum := int32(wire >> 3) 66133 wireType := int(wire & 0x7) 66134 if wireType == 4 { 66135 return fmt.Errorf("proto: ProvisionTokenSpecV2CircleCI: wiretype end group for non-group") 66136 } 66137 if fieldNum <= 0 { 66138 return fmt.Errorf("proto: ProvisionTokenSpecV2CircleCI: illegal tag %d (wire type %d)", fieldNum, wire) 66139 } 66140 switch fieldNum { 66141 case 1: 66142 if wireType != 2 { 66143 return fmt.Errorf("proto: wrong wireType = %d for field Allow", wireType) 66144 } 66145 var msglen int 66146 for shift := uint(0); ; shift += 7 { 66147 if shift >= 64 { 66148 return ErrIntOverflowTypes 66149 } 66150 if iNdEx >= l { 66151 return io.ErrUnexpectedEOF 66152 } 66153 b := dAtA[iNdEx] 66154 iNdEx++ 66155 msglen |= int(b&0x7F) << shift 66156 if b < 0x80 { 66157 break 66158 } 66159 } 66160 if msglen < 0 { 66161 return ErrInvalidLengthTypes 66162 } 66163 postIndex := iNdEx + msglen 66164 if postIndex < 0 { 66165 return ErrInvalidLengthTypes 66166 } 66167 if postIndex > l { 66168 return io.ErrUnexpectedEOF 66169 } 66170 m.Allow = append(m.Allow, &ProvisionTokenSpecV2CircleCI_Rule{}) 66171 if err := m.Allow[len(m.Allow)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 66172 return err 66173 } 66174 iNdEx = postIndex 66175 case 2: 66176 if wireType != 2 { 66177 return fmt.Errorf("proto: wrong wireType = %d for field OrganizationID", wireType) 66178 } 66179 var stringLen uint64 66180 for shift := uint(0); ; shift += 7 { 66181 if shift >= 64 { 66182 return ErrIntOverflowTypes 66183 } 66184 if iNdEx >= l { 66185 return io.ErrUnexpectedEOF 66186 } 66187 b := dAtA[iNdEx] 66188 iNdEx++ 66189 stringLen |= uint64(b&0x7F) << shift 66190 if b < 0x80 { 66191 break 66192 } 66193 } 66194 intStringLen := int(stringLen) 66195 if intStringLen < 0 { 66196 return ErrInvalidLengthTypes 66197 } 66198 postIndex := iNdEx + intStringLen 66199 if postIndex < 0 { 66200 return ErrInvalidLengthTypes 66201 } 66202 if postIndex > l { 66203 return io.ErrUnexpectedEOF 66204 } 66205 m.OrganizationID = string(dAtA[iNdEx:postIndex]) 66206 iNdEx = postIndex 66207 default: 66208 iNdEx = preIndex 66209 skippy, err := skipTypes(dAtA[iNdEx:]) 66210 if err != nil { 66211 return err 66212 } 66213 if (skippy < 0) || (iNdEx+skippy) < 0 { 66214 return ErrInvalidLengthTypes 66215 } 66216 if (iNdEx + skippy) > l { 66217 return io.ErrUnexpectedEOF 66218 } 66219 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 66220 iNdEx += skippy 66221 } 66222 } 66223 66224 if iNdEx > l { 66225 return io.ErrUnexpectedEOF 66226 } 66227 return nil 66228 } 66229 func (m *ProvisionTokenSpecV2CircleCI_Rule) Unmarshal(dAtA []byte) error { 66230 l := len(dAtA) 66231 iNdEx := 0 66232 for iNdEx < l { 66233 preIndex := iNdEx 66234 var wire uint64 66235 for shift := uint(0); ; shift += 7 { 66236 if shift >= 64 { 66237 return ErrIntOverflowTypes 66238 } 66239 if iNdEx >= l { 66240 return io.ErrUnexpectedEOF 66241 } 66242 b := dAtA[iNdEx] 66243 iNdEx++ 66244 wire |= uint64(b&0x7F) << shift 66245 if b < 0x80 { 66246 break 66247 } 66248 } 66249 fieldNum := int32(wire >> 3) 66250 wireType := int(wire & 0x7) 66251 if wireType == 4 { 66252 return fmt.Errorf("proto: Rule: wiretype end group for non-group") 66253 } 66254 if fieldNum <= 0 { 66255 return fmt.Errorf("proto: Rule: illegal tag %d (wire type %d)", fieldNum, wire) 66256 } 66257 switch fieldNum { 66258 case 1: 66259 if wireType != 2 { 66260 return fmt.Errorf("proto: wrong wireType = %d for field ProjectID", wireType) 66261 } 66262 var stringLen uint64 66263 for shift := uint(0); ; shift += 7 { 66264 if shift >= 64 { 66265 return ErrIntOverflowTypes 66266 } 66267 if iNdEx >= l { 66268 return io.ErrUnexpectedEOF 66269 } 66270 b := dAtA[iNdEx] 66271 iNdEx++ 66272 stringLen |= uint64(b&0x7F) << shift 66273 if b < 0x80 { 66274 break 66275 } 66276 } 66277 intStringLen := int(stringLen) 66278 if intStringLen < 0 { 66279 return ErrInvalidLengthTypes 66280 } 66281 postIndex := iNdEx + intStringLen 66282 if postIndex < 0 { 66283 return ErrInvalidLengthTypes 66284 } 66285 if postIndex > l { 66286 return io.ErrUnexpectedEOF 66287 } 66288 m.ProjectID = string(dAtA[iNdEx:postIndex]) 66289 iNdEx = postIndex 66290 case 2: 66291 if wireType != 2 { 66292 return fmt.Errorf("proto: wrong wireType = %d for field ContextID", wireType) 66293 } 66294 var stringLen uint64 66295 for shift := uint(0); ; shift += 7 { 66296 if shift >= 64 { 66297 return ErrIntOverflowTypes 66298 } 66299 if iNdEx >= l { 66300 return io.ErrUnexpectedEOF 66301 } 66302 b := dAtA[iNdEx] 66303 iNdEx++ 66304 stringLen |= uint64(b&0x7F) << shift 66305 if b < 0x80 { 66306 break 66307 } 66308 } 66309 intStringLen := int(stringLen) 66310 if intStringLen < 0 { 66311 return ErrInvalidLengthTypes 66312 } 66313 postIndex := iNdEx + intStringLen 66314 if postIndex < 0 { 66315 return ErrInvalidLengthTypes 66316 } 66317 if postIndex > l { 66318 return io.ErrUnexpectedEOF 66319 } 66320 m.ContextID = string(dAtA[iNdEx:postIndex]) 66321 iNdEx = postIndex 66322 default: 66323 iNdEx = preIndex 66324 skippy, err := skipTypes(dAtA[iNdEx:]) 66325 if err != nil { 66326 return err 66327 } 66328 if (skippy < 0) || (iNdEx+skippy) < 0 { 66329 return ErrInvalidLengthTypes 66330 } 66331 if (iNdEx + skippy) > l { 66332 return io.ErrUnexpectedEOF 66333 } 66334 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 66335 iNdEx += skippy 66336 } 66337 } 66338 66339 if iNdEx > l { 66340 return io.ErrUnexpectedEOF 66341 } 66342 return nil 66343 } 66344 func (m *ProvisionTokenSpecV2Spacelift) Unmarshal(dAtA []byte) error { 66345 l := len(dAtA) 66346 iNdEx := 0 66347 for iNdEx < l { 66348 preIndex := iNdEx 66349 var wire uint64 66350 for shift := uint(0); ; shift += 7 { 66351 if shift >= 64 { 66352 return ErrIntOverflowTypes 66353 } 66354 if iNdEx >= l { 66355 return io.ErrUnexpectedEOF 66356 } 66357 b := dAtA[iNdEx] 66358 iNdEx++ 66359 wire |= uint64(b&0x7F) << shift 66360 if b < 0x80 { 66361 break 66362 } 66363 } 66364 fieldNum := int32(wire >> 3) 66365 wireType := int(wire & 0x7) 66366 if wireType == 4 { 66367 return fmt.Errorf("proto: ProvisionTokenSpecV2Spacelift: wiretype end group for non-group") 66368 } 66369 if fieldNum <= 0 { 66370 return fmt.Errorf("proto: ProvisionTokenSpecV2Spacelift: illegal tag %d (wire type %d)", fieldNum, wire) 66371 } 66372 switch fieldNum { 66373 case 1: 66374 if wireType != 2 { 66375 return fmt.Errorf("proto: wrong wireType = %d for field Allow", wireType) 66376 } 66377 var msglen int 66378 for shift := uint(0); ; shift += 7 { 66379 if shift >= 64 { 66380 return ErrIntOverflowTypes 66381 } 66382 if iNdEx >= l { 66383 return io.ErrUnexpectedEOF 66384 } 66385 b := dAtA[iNdEx] 66386 iNdEx++ 66387 msglen |= int(b&0x7F) << shift 66388 if b < 0x80 { 66389 break 66390 } 66391 } 66392 if msglen < 0 { 66393 return ErrInvalidLengthTypes 66394 } 66395 postIndex := iNdEx + msglen 66396 if postIndex < 0 { 66397 return ErrInvalidLengthTypes 66398 } 66399 if postIndex > l { 66400 return io.ErrUnexpectedEOF 66401 } 66402 m.Allow = append(m.Allow, &ProvisionTokenSpecV2Spacelift_Rule{}) 66403 if err := m.Allow[len(m.Allow)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 66404 return err 66405 } 66406 iNdEx = postIndex 66407 case 2: 66408 if wireType != 2 { 66409 return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) 66410 } 66411 var stringLen uint64 66412 for shift := uint(0); ; shift += 7 { 66413 if shift >= 64 { 66414 return ErrIntOverflowTypes 66415 } 66416 if iNdEx >= l { 66417 return io.ErrUnexpectedEOF 66418 } 66419 b := dAtA[iNdEx] 66420 iNdEx++ 66421 stringLen |= uint64(b&0x7F) << shift 66422 if b < 0x80 { 66423 break 66424 } 66425 } 66426 intStringLen := int(stringLen) 66427 if intStringLen < 0 { 66428 return ErrInvalidLengthTypes 66429 } 66430 postIndex := iNdEx + intStringLen 66431 if postIndex < 0 { 66432 return ErrInvalidLengthTypes 66433 } 66434 if postIndex > l { 66435 return io.ErrUnexpectedEOF 66436 } 66437 m.Hostname = string(dAtA[iNdEx:postIndex]) 66438 iNdEx = postIndex 66439 default: 66440 iNdEx = preIndex 66441 skippy, err := skipTypes(dAtA[iNdEx:]) 66442 if err != nil { 66443 return err 66444 } 66445 if (skippy < 0) || (iNdEx+skippy) < 0 { 66446 return ErrInvalidLengthTypes 66447 } 66448 if (iNdEx + skippy) > l { 66449 return io.ErrUnexpectedEOF 66450 } 66451 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 66452 iNdEx += skippy 66453 } 66454 } 66455 66456 if iNdEx > l { 66457 return io.ErrUnexpectedEOF 66458 } 66459 return nil 66460 } 66461 func (m *ProvisionTokenSpecV2Spacelift_Rule) Unmarshal(dAtA []byte) error { 66462 l := len(dAtA) 66463 iNdEx := 0 66464 for iNdEx < l { 66465 preIndex := iNdEx 66466 var wire uint64 66467 for shift := uint(0); ; shift += 7 { 66468 if shift >= 64 { 66469 return ErrIntOverflowTypes 66470 } 66471 if iNdEx >= l { 66472 return io.ErrUnexpectedEOF 66473 } 66474 b := dAtA[iNdEx] 66475 iNdEx++ 66476 wire |= uint64(b&0x7F) << shift 66477 if b < 0x80 { 66478 break 66479 } 66480 } 66481 fieldNum := int32(wire >> 3) 66482 wireType := int(wire & 0x7) 66483 if wireType == 4 { 66484 return fmt.Errorf("proto: Rule: wiretype end group for non-group") 66485 } 66486 if fieldNum <= 0 { 66487 return fmt.Errorf("proto: Rule: illegal tag %d (wire type %d)", fieldNum, wire) 66488 } 66489 switch fieldNum { 66490 case 1: 66491 if wireType != 2 { 66492 return fmt.Errorf("proto: wrong wireType = %d for field SpaceID", wireType) 66493 } 66494 var stringLen uint64 66495 for shift := uint(0); ; shift += 7 { 66496 if shift >= 64 { 66497 return ErrIntOverflowTypes 66498 } 66499 if iNdEx >= l { 66500 return io.ErrUnexpectedEOF 66501 } 66502 b := dAtA[iNdEx] 66503 iNdEx++ 66504 stringLen |= uint64(b&0x7F) << shift 66505 if b < 0x80 { 66506 break 66507 } 66508 } 66509 intStringLen := int(stringLen) 66510 if intStringLen < 0 { 66511 return ErrInvalidLengthTypes 66512 } 66513 postIndex := iNdEx + intStringLen 66514 if postIndex < 0 { 66515 return ErrInvalidLengthTypes 66516 } 66517 if postIndex > l { 66518 return io.ErrUnexpectedEOF 66519 } 66520 m.SpaceID = string(dAtA[iNdEx:postIndex]) 66521 iNdEx = postIndex 66522 case 2: 66523 if wireType != 2 { 66524 return fmt.Errorf("proto: wrong wireType = %d for field CallerID", wireType) 66525 } 66526 var stringLen uint64 66527 for shift := uint(0); ; shift += 7 { 66528 if shift >= 64 { 66529 return ErrIntOverflowTypes 66530 } 66531 if iNdEx >= l { 66532 return io.ErrUnexpectedEOF 66533 } 66534 b := dAtA[iNdEx] 66535 iNdEx++ 66536 stringLen |= uint64(b&0x7F) << shift 66537 if b < 0x80 { 66538 break 66539 } 66540 } 66541 intStringLen := int(stringLen) 66542 if intStringLen < 0 { 66543 return ErrInvalidLengthTypes 66544 } 66545 postIndex := iNdEx + intStringLen 66546 if postIndex < 0 { 66547 return ErrInvalidLengthTypes 66548 } 66549 if postIndex > l { 66550 return io.ErrUnexpectedEOF 66551 } 66552 m.CallerID = string(dAtA[iNdEx:postIndex]) 66553 iNdEx = postIndex 66554 case 3: 66555 if wireType != 2 { 66556 return fmt.Errorf("proto: wrong wireType = %d for field CallerType", wireType) 66557 } 66558 var stringLen uint64 66559 for shift := uint(0); ; shift += 7 { 66560 if shift >= 64 { 66561 return ErrIntOverflowTypes 66562 } 66563 if iNdEx >= l { 66564 return io.ErrUnexpectedEOF 66565 } 66566 b := dAtA[iNdEx] 66567 iNdEx++ 66568 stringLen |= uint64(b&0x7F) << shift 66569 if b < 0x80 { 66570 break 66571 } 66572 } 66573 intStringLen := int(stringLen) 66574 if intStringLen < 0 { 66575 return ErrInvalidLengthTypes 66576 } 66577 postIndex := iNdEx + intStringLen 66578 if postIndex < 0 { 66579 return ErrInvalidLengthTypes 66580 } 66581 if postIndex > l { 66582 return io.ErrUnexpectedEOF 66583 } 66584 m.CallerType = string(dAtA[iNdEx:postIndex]) 66585 iNdEx = postIndex 66586 case 4: 66587 if wireType != 2 { 66588 return fmt.Errorf("proto: wrong wireType = %d for field Scope", wireType) 66589 } 66590 var stringLen uint64 66591 for shift := uint(0); ; shift += 7 { 66592 if shift >= 64 { 66593 return ErrIntOverflowTypes 66594 } 66595 if iNdEx >= l { 66596 return io.ErrUnexpectedEOF 66597 } 66598 b := dAtA[iNdEx] 66599 iNdEx++ 66600 stringLen |= uint64(b&0x7F) << shift 66601 if b < 0x80 { 66602 break 66603 } 66604 } 66605 intStringLen := int(stringLen) 66606 if intStringLen < 0 { 66607 return ErrInvalidLengthTypes 66608 } 66609 postIndex := iNdEx + intStringLen 66610 if postIndex < 0 { 66611 return ErrInvalidLengthTypes 66612 } 66613 if postIndex > l { 66614 return io.ErrUnexpectedEOF 66615 } 66616 m.Scope = string(dAtA[iNdEx:postIndex]) 66617 iNdEx = postIndex 66618 default: 66619 iNdEx = preIndex 66620 skippy, err := skipTypes(dAtA[iNdEx:]) 66621 if err != nil { 66622 return err 66623 } 66624 if (skippy < 0) || (iNdEx+skippy) < 0 { 66625 return ErrInvalidLengthTypes 66626 } 66627 if (iNdEx + skippy) > l { 66628 return io.ErrUnexpectedEOF 66629 } 66630 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 66631 iNdEx += skippy 66632 } 66633 } 66634 66635 if iNdEx > l { 66636 return io.ErrUnexpectedEOF 66637 } 66638 return nil 66639 } 66640 func (m *ProvisionTokenSpecV2Kubernetes) Unmarshal(dAtA []byte) error { 66641 l := len(dAtA) 66642 iNdEx := 0 66643 for iNdEx < l { 66644 preIndex := iNdEx 66645 var wire uint64 66646 for shift := uint(0); ; shift += 7 { 66647 if shift >= 64 { 66648 return ErrIntOverflowTypes 66649 } 66650 if iNdEx >= l { 66651 return io.ErrUnexpectedEOF 66652 } 66653 b := dAtA[iNdEx] 66654 iNdEx++ 66655 wire |= uint64(b&0x7F) << shift 66656 if b < 0x80 { 66657 break 66658 } 66659 } 66660 fieldNum := int32(wire >> 3) 66661 wireType := int(wire & 0x7) 66662 if wireType == 4 { 66663 return fmt.Errorf("proto: ProvisionTokenSpecV2Kubernetes: wiretype end group for non-group") 66664 } 66665 if fieldNum <= 0 { 66666 return fmt.Errorf("proto: ProvisionTokenSpecV2Kubernetes: illegal tag %d (wire type %d)", fieldNum, wire) 66667 } 66668 switch fieldNum { 66669 case 1: 66670 if wireType != 2 { 66671 return fmt.Errorf("proto: wrong wireType = %d for field Allow", wireType) 66672 } 66673 var msglen int 66674 for shift := uint(0); ; shift += 7 { 66675 if shift >= 64 { 66676 return ErrIntOverflowTypes 66677 } 66678 if iNdEx >= l { 66679 return io.ErrUnexpectedEOF 66680 } 66681 b := dAtA[iNdEx] 66682 iNdEx++ 66683 msglen |= int(b&0x7F) << shift 66684 if b < 0x80 { 66685 break 66686 } 66687 } 66688 if msglen < 0 { 66689 return ErrInvalidLengthTypes 66690 } 66691 postIndex := iNdEx + msglen 66692 if postIndex < 0 { 66693 return ErrInvalidLengthTypes 66694 } 66695 if postIndex > l { 66696 return io.ErrUnexpectedEOF 66697 } 66698 m.Allow = append(m.Allow, &ProvisionTokenSpecV2Kubernetes_Rule{}) 66699 if err := m.Allow[len(m.Allow)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 66700 return err 66701 } 66702 iNdEx = postIndex 66703 case 2: 66704 if wireType != 2 { 66705 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 66706 } 66707 var stringLen uint64 66708 for shift := uint(0); ; shift += 7 { 66709 if shift >= 64 { 66710 return ErrIntOverflowTypes 66711 } 66712 if iNdEx >= l { 66713 return io.ErrUnexpectedEOF 66714 } 66715 b := dAtA[iNdEx] 66716 iNdEx++ 66717 stringLen |= uint64(b&0x7F) << shift 66718 if b < 0x80 { 66719 break 66720 } 66721 } 66722 intStringLen := int(stringLen) 66723 if intStringLen < 0 { 66724 return ErrInvalidLengthTypes 66725 } 66726 postIndex := iNdEx + intStringLen 66727 if postIndex < 0 { 66728 return ErrInvalidLengthTypes 66729 } 66730 if postIndex > l { 66731 return io.ErrUnexpectedEOF 66732 } 66733 m.Type = KubernetesJoinType(dAtA[iNdEx:postIndex]) 66734 iNdEx = postIndex 66735 case 3: 66736 if wireType != 2 { 66737 return fmt.Errorf("proto: wrong wireType = %d for field StaticJWKS", wireType) 66738 } 66739 var msglen int 66740 for shift := uint(0); ; shift += 7 { 66741 if shift >= 64 { 66742 return ErrIntOverflowTypes 66743 } 66744 if iNdEx >= l { 66745 return io.ErrUnexpectedEOF 66746 } 66747 b := dAtA[iNdEx] 66748 iNdEx++ 66749 msglen |= int(b&0x7F) << shift 66750 if b < 0x80 { 66751 break 66752 } 66753 } 66754 if msglen < 0 { 66755 return ErrInvalidLengthTypes 66756 } 66757 postIndex := iNdEx + msglen 66758 if postIndex < 0 { 66759 return ErrInvalidLengthTypes 66760 } 66761 if postIndex > l { 66762 return io.ErrUnexpectedEOF 66763 } 66764 if m.StaticJWKS == nil { 66765 m.StaticJWKS = &ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig{} 66766 } 66767 if err := m.StaticJWKS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 66768 return err 66769 } 66770 iNdEx = postIndex 66771 default: 66772 iNdEx = preIndex 66773 skippy, err := skipTypes(dAtA[iNdEx:]) 66774 if err != nil { 66775 return err 66776 } 66777 if (skippy < 0) || (iNdEx+skippy) < 0 { 66778 return ErrInvalidLengthTypes 66779 } 66780 if (iNdEx + skippy) > l { 66781 return io.ErrUnexpectedEOF 66782 } 66783 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 66784 iNdEx += skippy 66785 } 66786 } 66787 66788 if iNdEx > l { 66789 return io.ErrUnexpectedEOF 66790 } 66791 return nil 66792 } 66793 func (m *ProvisionTokenSpecV2Kubernetes_StaticJWKSConfig) Unmarshal(dAtA []byte) error { 66794 l := len(dAtA) 66795 iNdEx := 0 66796 for iNdEx < l { 66797 preIndex := iNdEx 66798 var wire uint64 66799 for shift := uint(0); ; shift += 7 { 66800 if shift >= 64 { 66801 return ErrIntOverflowTypes 66802 } 66803 if iNdEx >= l { 66804 return io.ErrUnexpectedEOF 66805 } 66806 b := dAtA[iNdEx] 66807 iNdEx++ 66808 wire |= uint64(b&0x7F) << shift 66809 if b < 0x80 { 66810 break 66811 } 66812 } 66813 fieldNum := int32(wire >> 3) 66814 wireType := int(wire & 0x7) 66815 if wireType == 4 { 66816 return fmt.Errorf("proto: StaticJWKSConfig: wiretype end group for non-group") 66817 } 66818 if fieldNum <= 0 { 66819 return fmt.Errorf("proto: StaticJWKSConfig: illegal tag %d (wire type %d)", fieldNum, wire) 66820 } 66821 switch fieldNum { 66822 case 1: 66823 if wireType != 2 { 66824 return fmt.Errorf("proto: wrong wireType = %d for field JWKS", wireType) 66825 } 66826 var stringLen uint64 66827 for shift := uint(0); ; shift += 7 { 66828 if shift >= 64 { 66829 return ErrIntOverflowTypes 66830 } 66831 if iNdEx >= l { 66832 return io.ErrUnexpectedEOF 66833 } 66834 b := dAtA[iNdEx] 66835 iNdEx++ 66836 stringLen |= uint64(b&0x7F) << shift 66837 if b < 0x80 { 66838 break 66839 } 66840 } 66841 intStringLen := int(stringLen) 66842 if intStringLen < 0 { 66843 return ErrInvalidLengthTypes 66844 } 66845 postIndex := iNdEx + intStringLen 66846 if postIndex < 0 { 66847 return ErrInvalidLengthTypes 66848 } 66849 if postIndex > l { 66850 return io.ErrUnexpectedEOF 66851 } 66852 m.JWKS = string(dAtA[iNdEx:postIndex]) 66853 iNdEx = postIndex 66854 default: 66855 iNdEx = preIndex 66856 skippy, err := skipTypes(dAtA[iNdEx:]) 66857 if err != nil { 66858 return err 66859 } 66860 if (skippy < 0) || (iNdEx+skippy) < 0 { 66861 return ErrInvalidLengthTypes 66862 } 66863 if (iNdEx + skippy) > l { 66864 return io.ErrUnexpectedEOF 66865 } 66866 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 66867 iNdEx += skippy 66868 } 66869 } 66870 66871 if iNdEx > l { 66872 return io.ErrUnexpectedEOF 66873 } 66874 return nil 66875 } 66876 func (m *ProvisionTokenSpecV2Kubernetes_Rule) Unmarshal(dAtA []byte) error { 66877 l := len(dAtA) 66878 iNdEx := 0 66879 for iNdEx < l { 66880 preIndex := iNdEx 66881 var wire uint64 66882 for shift := uint(0); ; shift += 7 { 66883 if shift >= 64 { 66884 return ErrIntOverflowTypes 66885 } 66886 if iNdEx >= l { 66887 return io.ErrUnexpectedEOF 66888 } 66889 b := dAtA[iNdEx] 66890 iNdEx++ 66891 wire |= uint64(b&0x7F) << shift 66892 if b < 0x80 { 66893 break 66894 } 66895 } 66896 fieldNum := int32(wire >> 3) 66897 wireType := int(wire & 0x7) 66898 if wireType == 4 { 66899 return fmt.Errorf("proto: Rule: wiretype end group for non-group") 66900 } 66901 if fieldNum <= 0 { 66902 return fmt.Errorf("proto: Rule: illegal tag %d (wire type %d)", fieldNum, wire) 66903 } 66904 switch fieldNum { 66905 case 1: 66906 if wireType != 2 { 66907 return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccount", wireType) 66908 } 66909 var stringLen uint64 66910 for shift := uint(0); ; shift += 7 { 66911 if shift >= 64 { 66912 return ErrIntOverflowTypes 66913 } 66914 if iNdEx >= l { 66915 return io.ErrUnexpectedEOF 66916 } 66917 b := dAtA[iNdEx] 66918 iNdEx++ 66919 stringLen |= uint64(b&0x7F) << shift 66920 if b < 0x80 { 66921 break 66922 } 66923 } 66924 intStringLen := int(stringLen) 66925 if intStringLen < 0 { 66926 return ErrInvalidLengthTypes 66927 } 66928 postIndex := iNdEx + intStringLen 66929 if postIndex < 0 { 66930 return ErrInvalidLengthTypes 66931 } 66932 if postIndex > l { 66933 return io.ErrUnexpectedEOF 66934 } 66935 m.ServiceAccount = string(dAtA[iNdEx:postIndex]) 66936 iNdEx = postIndex 66937 default: 66938 iNdEx = preIndex 66939 skippy, err := skipTypes(dAtA[iNdEx:]) 66940 if err != nil { 66941 return err 66942 } 66943 if (skippy < 0) || (iNdEx+skippy) < 0 { 66944 return ErrInvalidLengthTypes 66945 } 66946 if (iNdEx + skippy) > l { 66947 return io.ErrUnexpectedEOF 66948 } 66949 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 66950 iNdEx += skippy 66951 } 66952 } 66953 66954 if iNdEx > l { 66955 return io.ErrUnexpectedEOF 66956 } 66957 return nil 66958 } 66959 func (m *ProvisionTokenSpecV2Azure) Unmarshal(dAtA []byte) error { 66960 l := len(dAtA) 66961 iNdEx := 0 66962 for iNdEx < l { 66963 preIndex := iNdEx 66964 var wire uint64 66965 for shift := uint(0); ; shift += 7 { 66966 if shift >= 64 { 66967 return ErrIntOverflowTypes 66968 } 66969 if iNdEx >= l { 66970 return io.ErrUnexpectedEOF 66971 } 66972 b := dAtA[iNdEx] 66973 iNdEx++ 66974 wire |= uint64(b&0x7F) << shift 66975 if b < 0x80 { 66976 break 66977 } 66978 } 66979 fieldNum := int32(wire >> 3) 66980 wireType := int(wire & 0x7) 66981 if wireType == 4 { 66982 return fmt.Errorf("proto: ProvisionTokenSpecV2Azure: wiretype end group for non-group") 66983 } 66984 if fieldNum <= 0 { 66985 return fmt.Errorf("proto: ProvisionTokenSpecV2Azure: illegal tag %d (wire type %d)", fieldNum, wire) 66986 } 66987 switch fieldNum { 66988 case 1: 66989 if wireType != 2 { 66990 return fmt.Errorf("proto: wrong wireType = %d for field Allow", wireType) 66991 } 66992 var msglen int 66993 for shift := uint(0); ; shift += 7 { 66994 if shift >= 64 { 66995 return ErrIntOverflowTypes 66996 } 66997 if iNdEx >= l { 66998 return io.ErrUnexpectedEOF 66999 } 67000 b := dAtA[iNdEx] 67001 iNdEx++ 67002 msglen |= int(b&0x7F) << shift 67003 if b < 0x80 { 67004 break 67005 } 67006 } 67007 if msglen < 0 { 67008 return ErrInvalidLengthTypes 67009 } 67010 postIndex := iNdEx + msglen 67011 if postIndex < 0 { 67012 return ErrInvalidLengthTypes 67013 } 67014 if postIndex > l { 67015 return io.ErrUnexpectedEOF 67016 } 67017 m.Allow = append(m.Allow, &ProvisionTokenSpecV2Azure_Rule{}) 67018 if err := m.Allow[len(m.Allow)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 67019 return err 67020 } 67021 iNdEx = postIndex 67022 default: 67023 iNdEx = preIndex 67024 skippy, err := skipTypes(dAtA[iNdEx:]) 67025 if err != nil { 67026 return err 67027 } 67028 if (skippy < 0) || (iNdEx+skippy) < 0 { 67029 return ErrInvalidLengthTypes 67030 } 67031 if (iNdEx + skippy) > l { 67032 return io.ErrUnexpectedEOF 67033 } 67034 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 67035 iNdEx += skippy 67036 } 67037 } 67038 67039 if iNdEx > l { 67040 return io.ErrUnexpectedEOF 67041 } 67042 return nil 67043 } 67044 func (m *ProvisionTokenSpecV2Azure_Rule) Unmarshal(dAtA []byte) error { 67045 l := len(dAtA) 67046 iNdEx := 0 67047 for iNdEx < l { 67048 preIndex := iNdEx 67049 var wire uint64 67050 for shift := uint(0); ; shift += 7 { 67051 if shift >= 64 { 67052 return ErrIntOverflowTypes 67053 } 67054 if iNdEx >= l { 67055 return io.ErrUnexpectedEOF 67056 } 67057 b := dAtA[iNdEx] 67058 iNdEx++ 67059 wire |= uint64(b&0x7F) << shift 67060 if b < 0x80 { 67061 break 67062 } 67063 } 67064 fieldNum := int32(wire >> 3) 67065 wireType := int(wire & 0x7) 67066 if wireType == 4 { 67067 return fmt.Errorf("proto: Rule: wiretype end group for non-group") 67068 } 67069 if fieldNum <= 0 { 67070 return fmt.Errorf("proto: Rule: illegal tag %d (wire type %d)", fieldNum, wire) 67071 } 67072 switch fieldNum { 67073 case 1: 67074 if wireType != 2 { 67075 return fmt.Errorf("proto: wrong wireType = %d for field Subscription", wireType) 67076 } 67077 var stringLen uint64 67078 for shift := uint(0); ; shift += 7 { 67079 if shift >= 64 { 67080 return ErrIntOverflowTypes 67081 } 67082 if iNdEx >= l { 67083 return io.ErrUnexpectedEOF 67084 } 67085 b := dAtA[iNdEx] 67086 iNdEx++ 67087 stringLen |= uint64(b&0x7F) << shift 67088 if b < 0x80 { 67089 break 67090 } 67091 } 67092 intStringLen := int(stringLen) 67093 if intStringLen < 0 { 67094 return ErrInvalidLengthTypes 67095 } 67096 postIndex := iNdEx + intStringLen 67097 if postIndex < 0 { 67098 return ErrInvalidLengthTypes 67099 } 67100 if postIndex > l { 67101 return io.ErrUnexpectedEOF 67102 } 67103 m.Subscription = string(dAtA[iNdEx:postIndex]) 67104 iNdEx = postIndex 67105 case 2: 67106 if wireType != 2 { 67107 return fmt.Errorf("proto: wrong wireType = %d for field ResourceGroups", wireType) 67108 } 67109 var stringLen uint64 67110 for shift := uint(0); ; shift += 7 { 67111 if shift >= 64 { 67112 return ErrIntOverflowTypes 67113 } 67114 if iNdEx >= l { 67115 return io.ErrUnexpectedEOF 67116 } 67117 b := dAtA[iNdEx] 67118 iNdEx++ 67119 stringLen |= uint64(b&0x7F) << shift 67120 if b < 0x80 { 67121 break 67122 } 67123 } 67124 intStringLen := int(stringLen) 67125 if intStringLen < 0 { 67126 return ErrInvalidLengthTypes 67127 } 67128 postIndex := iNdEx + intStringLen 67129 if postIndex < 0 { 67130 return ErrInvalidLengthTypes 67131 } 67132 if postIndex > l { 67133 return io.ErrUnexpectedEOF 67134 } 67135 m.ResourceGroups = append(m.ResourceGroups, string(dAtA[iNdEx:postIndex])) 67136 iNdEx = postIndex 67137 default: 67138 iNdEx = preIndex 67139 skippy, err := skipTypes(dAtA[iNdEx:]) 67140 if err != nil { 67141 return err 67142 } 67143 if (skippy < 0) || (iNdEx+skippy) < 0 { 67144 return ErrInvalidLengthTypes 67145 } 67146 if (iNdEx + skippy) > l { 67147 return io.ErrUnexpectedEOF 67148 } 67149 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 67150 iNdEx += skippy 67151 } 67152 } 67153 67154 if iNdEx > l { 67155 return io.ErrUnexpectedEOF 67156 } 67157 return nil 67158 } 67159 func (m *ProvisionTokenSpecV2GCP) Unmarshal(dAtA []byte) error { 67160 l := len(dAtA) 67161 iNdEx := 0 67162 for iNdEx < l { 67163 preIndex := iNdEx 67164 var wire uint64 67165 for shift := uint(0); ; shift += 7 { 67166 if shift >= 64 { 67167 return ErrIntOverflowTypes 67168 } 67169 if iNdEx >= l { 67170 return io.ErrUnexpectedEOF 67171 } 67172 b := dAtA[iNdEx] 67173 iNdEx++ 67174 wire |= uint64(b&0x7F) << shift 67175 if b < 0x80 { 67176 break 67177 } 67178 } 67179 fieldNum := int32(wire >> 3) 67180 wireType := int(wire & 0x7) 67181 if wireType == 4 { 67182 return fmt.Errorf("proto: ProvisionTokenSpecV2GCP: wiretype end group for non-group") 67183 } 67184 if fieldNum <= 0 { 67185 return fmt.Errorf("proto: ProvisionTokenSpecV2GCP: illegal tag %d (wire type %d)", fieldNum, wire) 67186 } 67187 switch fieldNum { 67188 case 1: 67189 if wireType != 2 { 67190 return fmt.Errorf("proto: wrong wireType = %d for field Allow", wireType) 67191 } 67192 var msglen int 67193 for shift := uint(0); ; shift += 7 { 67194 if shift >= 64 { 67195 return ErrIntOverflowTypes 67196 } 67197 if iNdEx >= l { 67198 return io.ErrUnexpectedEOF 67199 } 67200 b := dAtA[iNdEx] 67201 iNdEx++ 67202 msglen |= int(b&0x7F) << shift 67203 if b < 0x80 { 67204 break 67205 } 67206 } 67207 if msglen < 0 { 67208 return ErrInvalidLengthTypes 67209 } 67210 postIndex := iNdEx + msglen 67211 if postIndex < 0 { 67212 return ErrInvalidLengthTypes 67213 } 67214 if postIndex > l { 67215 return io.ErrUnexpectedEOF 67216 } 67217 m.Allow = append(m.Allow, &ProvisionTokenSpecV2GCP_Rule{}) 67218 if err := m.Allow[len(m.Allow)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 67219 return err 67220 } 67221 iNdEx = postIndex 67222 default: 67223 iNdEx = preIndex 67224 skippy, err := skipTypes(dAtA[iNdEx:]) 67225 if err != nil { 67226 return err 67227 } 67228 if (skippy < 0) || (iNdEx+skippy) < 0 { 67229 return ErrInvalidLengthTypes 67230 } 67231 if (iNdEx + skippy) > l { 67232 return io.ErrUnexpectedEOF 67233 } 67234 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 67235 iNdEx += skippy 67236 } 67237 } 67238 67239 if iNdEx > l { 67240 return io.ErrUnexpectedEOF 67241 } 67242 return nil 67243 } 67244 func (m *ProvisionTokenSpecV2GCP_Rule) Unmarshal(dAtA []byte) error { 67245 l := len(dAtA) 67246 iNdEx := 0 67247 for iNdEx < l { 67248 preIndex := iNdEx 67249 var wire uint64 67250 for shift := uint(0); ; shift += 7 { 67251 if shift >= 64 { 67252 return ErrIntOverflowTypes 67253 } 67254 if iNdEx >= l { 67255 return io.ErrUnexpectedEOF 67256 } 67257 b := dAtA[iNdEx] 67258 iNdEx++ 67259 wire |= uint64(b&0x7F) << shift 67260 if b < 0x80 { 67261 break 67262 } 67263 } 67264 fieldNum := int32(wire >> 3) 67265 wireType := int(wire & 0x7) 67266 if wireType == 4 { 67267 return fmt.Errorf("proto: Rule: wiretype end group for non-group") 67268 } 67269 if fieldNum <= 0 { 67270 return fmt.Errorf("proto: Rule: illegal tag %d (wire type %d)", fieldNum, wire) 67271 } 67272 switch fieldNum { 67273 case 1: 67274 if wireType != 2 { 67275 return fmt.Errorf("proto: wrong wireType = %d for field ProjectIDs", wireType) 67276 } 67277 var stringLen uint64 67278 for shift := uint(0); ; shift += 7 { 67279 if shift >= 64 { 67280 return ErrIntOverflowTypes 67281 } 67282 if iNdEx >= l { 67283 return io.ErrUnexpectedEOF 67284 } 67285 b := dAtA[iNdEx] 67286 iNdEx++ 67287 stringLen |= uint64(b&0x7F) << shift 67288 if b < 0x80 { 67289 break 67290 } 67291 } 67292 intStringLen := int(stringLen) 67293 if intStringLen < 0 { 67294 return ErrInvalidLengthTypes 67295 } 67296 postIndex := iNdEx + intStringLen 67297 if postIndex < 0 { 67298 return ErrInvalidLengthTypes 67299 } 67300 if postIndex > l { 67301 return io.ErrUnexpectedEOF 67302 } 67303 m.ProjectIDs = append(m.ProjectIDs, string(dAtA[iNdEx:postIndex])) 67304 iNdEx = postIndex 67305 case 2: 67306 if wireType != 2 { 67307 return fmt.Errorf("proto: wrong wireType = %d for field Locations", wireType) 67308 } 67309 var stringLen uint64 67310 for shift := uint(0); ; shift += 7 { 67311 if shift >= 64 { 67312 return ErrIntOverflowTypes 67313 } 67314 if iNdEx >= l { 67315 return io.ErrUnexpectedEOF 67316 } 67317 b := dAtA[iNdEx] 67318 iNdEx++ 67319 stringLen |= uint64(b&0x7F) << shift 67320 if b < 0x80 { 67321 break 67322 } 67323 } 67324 intStringLen := int(stringLen) 67325 if intStringLen < 0 { 67326 return ErrInvalidLengthTypes 67327 } 67328 postIndex := iNdEx + intStringLen 67329 if postIndex < 0 { 67330 return ErrInvalidLengthTypes 67331 } 67332 if postIndex > l { 67333 return io.ErrUnexpectedEOF 67334 } 67335 m.Locations = append(m.Locations, string(dAtA[iNdEx:postIndex])) 67336 iNdEx = postIndex 67337 case 3: 67338 if wireType != 2 { 67339 return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccounts", wireType) 67340 } 67341 var stringLen uint64 67342 for shift := uint(0); ; shift += 7 { 67343 if shift >= 64 { 67344 return ErrIntOverflowTypes 67345 } 67346 if iNdEx >= l { 67347 return io.ErrUnexpectedEOF 67348 } 67349 b := dAtA[iNdEx] 67350 iNdEx++ 67351 stringLen |= uint64(b&0x7F) << shift 67352 if b < 0x80 { 67353 break 67354 } 67355 } 67356 intStringLen := int(stringLen) 67357 if intStringLen < 0 { 67358 return ErrInvalidLengthTypes 67359 } 67360 postIndex := iNdEx + intStringLen 67361 if postIndex < 0 { 67362 return ErrInvalidLengthTypes 67363 } 67364 if postIndex > l { 67365 return io.ErrUnexpectedEOF 67366 } 67367 m.ServiceAccounts = append(m.ServiceAccounts, string(dAtA[iNdEx:postIndex])) 67368 iNdEx = postIndex 67369 default: 67370 iNdEx = preIndex 67371 skippy, err := skipTypes(dAtA[iNdEx:]) 67372 if err != nil { 67373 return err 67374 } 67375 if (skippy < 0) || (iNdEx+skippy) < 0 { 67376 return ErrInvalidLengthTypes 67377 } 67378 if (iNdEx + skippy) > l { 67379 return io.ErrUnexpectedEOF 67380 } 67381 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 67382 iNdEx += skippy 67383 } 67384 } 67385 67386 if iNdEx > l { 67387 return io.ErrUnexpectedEOF 67388 } 67389 return nil 67390 } 67391 func (m *StaticTokensV2) Unmarshal(dAtA []byte) error { 67392 l := len(dAtA) 67393 iNdEx := 0 67394 for iNdEx < l { 67395 preIndex := iNdEx 67396 var wire uint64 67397 for shift := uint(0); ; shift += 7 { 67398 if shift >= 64 { 67399 return ErrIntOverflowTypes 67400 } 67401 if iNdEx >= l { 67402 return io.ErrUnexpectedEOF 67403 } 67404 b := dAtA[iNdEx] 67405 iNdEx++ 67406 wire |= uint64(b&0x7F) << shift 67407 if b < 0x80 { 67408 break 67409 } 67410 } 67411 fieldNum := int32(wire >> 3) 67412 wireType := int(wire & 0x7) 67413 if wireType == 4 { 67414 return fmt.Errorf("proto: StaticTokensV2: wiretype end group for non-group") 67415 } 67416 if fieldNum <= 0 { 67417 return fmt.Errorf("proto: StaticTokensV2: illegal tag %d (wire type %d)", fieldNum, wire) 67418 } 67419 switch fieldNum { 67420 case 1: 67421 if wireType != 2 { 67422 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 67423 } 67424 var stringLen uint64 67425 for shift := uint(0); ; shift += 7 { 67426 if shift >= 64 { 67427 return ErrIntOverflowTypes 67428 } 67429 if iNdEx >= l { 67430 return io.ErrUnexpectedEOF 67431 } 67432 b := dAtA[iNdEx] 67433 iNdEx++ 67434 stringLen |= uint64(b&0x7F) << shift 67435 if b < 0x80 { 67436 break 67437 } 67438 } 67439 intStringLen := int(stringLen) 67440 if intStringLen < 0 { 67441 return ErrInvalidLengthTypes 67442 } 67443 postIndex := iNdEx + intStringLen 67444 if postIndex < 0 { 67445 return ErrInvalidLengthTypes 67446 } 67447 if postIndex > l { 67448 return io.ErrUnexpectedEOF 67449 } 67450 m.Kind = string(dAtA[iNdEx:postIndex]) 67451 iNdEx = postIndex 67452 case 2: 67453 if wireType != 2 { 67454 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 67455 } 67456 var stringLen uint64 67457 for shift := uint(0); ; shift += 7 { 67458 if shift >= 64 { 67459 return ErrIntOverflowTypes 67460 } 67461 if iNdEx >= l { 67462 return io.ErrUnexpectedEOF 67463 } 67464 b := dAtA[iNdEx] 67465 iNdEx++ 67466 stringLen |= uint64(b&0x7F) << shift 67467 if b < 0x80 { 67468 break 67469 } 67470 } 67471 intStringLen := int(stringLen) 67472 if intStringLen < 0 { 67473 return ErrInvalidLengthTypes 67474 } 67475 postIndex := iNdEx + intStringLen 67476 if postIndex < 0 { 67477 return ErrInvalidLengthTypes 67478 } 67479 if postIndex > l { 67480 return io.ErrUnexpectedEOF 67481 } 67482 m.SubKind = string(dAtA[iNdEx:postIndex]) 67483 iNdEx = postIndex 67484 case 3: 67485 if wireType != 2 { 67486 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 67487 } 67488 var stringLen uint64 67489 for shift := uint(0); ; shift += 7 { 67490 if shift >= 64 { 67491 return ErrIntOverflowTypes 67492 } 67493 if iNdEx >= l { 67494 return io.ErrUnexpectedEOF 67495 } 67496 b := dAtA[iNdEx] 67497 iNdEx++ 67498 stringLen |= uint64(b&0x7F) << shift 67499 if b < 0x80 { 67500 break 67501 } 67502 } 67503 intStringLen := int(stringLen) 67504 if intStringLen < 0 { 67505 return ErrInvalidLengthTypes 67506 } 67507 postIndex := iNdEx + intStringLen 67508 if postIndex < 0 { 67509 return ErrInvalidLengthTypes 67510 } 67511 if postIndex > l { 67512 return io.ErrUnexpectedEOF 67513 } 67514 m.Version = string(dAtA[iNdEx:postIndex]) 67515 iNdEx = postIndex 67516 case 4: 67517 if wireType != 2 { 67518 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 67519 } 67520 var msglen int 67521 for shift := uint(0); ; shift += 7 { 67522 if shift >= 64 { 67523 return ErrIntOverflowTypes 67524 } 67525 if iNdEx >= l { 67526 return io.ErrUnexpectedEOF 67527 } 67528 b := dAtA[iNdEx] 67529 iNdEx++ 67530 msglen |= int(b&0x7F) << shift 67531 if b < 0x80 { 67532 break 67533 } 67534 } 67535 if msglen < 0 { 67536 return ErrInvalidLengthTypes 67537 } 67538 postIndex := iNdEx + msglen 67539 if postIndex < 0 { 67540 return ErrInvalidLengthTypes 67541 } 67542 if postIndex > l { 67543 return io.ErrUnexpectedEOF 67544 } 67545 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 67546 return err 67547 } 67548 iNdEx = postIndex 67549 case 5: 67550 if wireType != 2 { 67551 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 67552 } 67553 var msglen int 67554 for shift := uint(0); ; shift += 7 { 67555 if shift >= 64 { 67556 return ErrIntOverflowTypes 67557 } 67558 if iNdEx >= l { 67559 return io.ErrUnexpectedEOF 67560 } 67561 b := dAtA[iNdEx] 67562 iNdEx++ 67563 msglen |= int(b&0x7F) << shift 67564 if b < 0x80 { 67565 break 67566 } 67567 } 67568 if msglen < 0 { 67569 return ErrInvalidLengthTypes 67570 } 67571 postIndex := iNdEx + msglen 67572 if postIndex < 0 { 67573 return ErrInvalidLengthTypes 67574 } 67575 if postIndex > l { 67576 return io.ErrUnexpectedEOF 67577 } 67578 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 67579 return err 67580 } 67581 iNdEx = postIndex 67582 default: 67583 iNdEx = preIndex 67584 skippy, err := skipTypes(dAtA[iNdEx:]) 67585 if err != nil { 67586 return err 67587 } 67588 if (skippy < 0) || (iNdEx+skippy) < 0 { 67589 return ErrInvalidLengthTypes 67590 } 67591 if (iNdEx + skippy) > l { 67592 return io.ErrUnexpectedEOF 67593 } 67594 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 67595 iNdEx += skippy 67596 } 67597 } 67598 67599 if iNdEx > l { 67600 return io.ErrUnexpectedEOF 67601 } 67602 return nil 67603 } 67604 func (m *StaticTokensSpecV2) Unmarshal(dAtA []byte) error { 67605 l := len(dAtA) 67606 iNdEx := 0 67607 for iNdEx < l { 67608 preIndex := iNdEx 67609 var wire uint64 67610 for shift := uint(0); ; shift += 7 { 67611 if shift >= 64 { 67612 return ErrIntOverflowTypes 67613 } 67614 if iNdEx >= l { 67615 return io.ErrUnexpectedEOF 67616 } 67617 b := dAtA[iNdEx] 67618 iNdEx++ 67619 wire |= uint64(b&0x7F) << shift 67620 if b < 0x80 { 67621 break 67622 } 67623 } 67624 fieldNum := int32(wire >> 3) 67625 wireType := int(wire & 0x7) 67626 if wireType == 4 { 67627 return fmt.Errorf("proto: StaticTokensSpecV2: wiretype end group for non-group") 67628 } 67629 if fieldNum <= 0 { 67630 return fmt.Errorf("proto: StaticTokensSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 67631 } 67632 switch fieldNum { 67633 case 1: 67634 if wireType != 2 { 67635 return fmt.Errorf("proto: wrong wireType = %d for field StaticTokens", wireType) 67636 } 67637 var msglen int 67638 for shift := uint(0); ; shift += 7 { 67639 if shift >= 64 { 67640 return ErrIntOverflowTypes 67641 } 67642 if iNdEx >= l { 67643 return io.ErrUnexpectedEOF 67644 } 67645 b := dAtA[iNdEx] 67646 iNdEx++ 67647 msglen |= int(b&0x7F) << shift 67648 if b < 0x80 { 67649 break 67650 } 67651 } 67652 if msglen < 0 { 67653 return ErrInvalidLengthTypes 67654 } 67655 postIndex := iNdEx + msglen 67656 if postIndex < 0 { 67657 return ErrInvalidLengthTypes 67658 } 67659 if postIndex > l { 67660 return io.ErrUnexpectedEOF 67661 } 67662 m.StaticTokens = append(m.StaticTokens, ProvisionTokenV1{}) 67663 if err := m.StaticTokens[len(m.StaticTokens)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 67664 return err 67665 } 67666 iNdEx = postIndex 67667 default: 67668 iNdEx = preIndex 67669 skippy, err := skipTypes(dAtA[iNdEx:]) 67670 if err != nil { 67671 return err 67672 } 67673 if (skippy < 0) || (iNdEx+skippy) < 0 { 67674 return ErrInvalidLengthTypes 67675 } 67676 if (iNdEx + skippy) > l { 67677 return io.ErrUnexpectedEOF 67678 } 67679 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 67680 iNdEx += skippy 67681 } 67682 } 67683 67684 if iNdEx > l { 67685 return io.ErrUnexpectedEOF 67686 } 67687 return nil 67688 } 67689 func (m *ClusterNameV2) Unmarshal(dAtA []byte) error { 67690 l := len(dAtA) 67691 iNdEx := 0 67692 for iNdEx < l { 67693 preIndex := iNdEx 67694 var wire uint64 67695 for shift := uint(0); ; shift += 7 { 67696 if shift >= 64 { 67697 return ErrIntOverflowTypes 67698 } 67699 if iNdEx >= l { 67700 return io.ErrUnexpectedEOF 67701 } 67702 b := dAtA[iNdEx] 67703 iNdEx++ 67704 wire |= uint64(b&0x7F) << shift 67705 if b < 0x80 { 67706 break 67707 } 67708 } 67709 fieldNum := int32(wire >> 3) 67710 wireType := int(wire & 0x7) 67711 if wireType == 4 { 67712 return fmt.Errorf("proto: ClusterNameV2: wiretype end group for non-group") 67713 } 67714 if fieldNum <= 0 { 67715 return fmt.Errorf("proto: ClusterNameV2: illegal tag %d (wire type %d)", fieldNum, wire) 67716 } 67717 switch fieldNum { 67718 case 1: 67719 if wireType != 2 { 67720 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 67721 } 67722 var stringLen uint64 67723 for shift := uint(0); ; shift += 7 { 67724 if shift >= 64 { 67725 return ErrIntOverflowTypes 67726 } 67727 if iNdEx >= l { 67728 return io.ErrUnexpectedEOF 67729 } 67730 b := dAtA[iNdEx] 67731 iNdEx++ 67732 stringLen |= uint64(b&0x7F) << shift 67733 if b < 0x80 { 67734 break 67735 } 67736 } 67737 intStringLen := int(stringLen) 67738 if intStringLen < 0 { 67739 return ErrInvalidLengthTypes 67740 } 67741 postIndex := iNdEx + intStringLen 67742 if postIndex < 0 { 67743 return ErrInvalidLengthTypes 67744 } 67745 if postIndex > l { 67746 return io.ErrUnexpectedEOF 67747 } 67748 m.Kind = string(dAtA[iNdEx:postIndex]) 67749 iNdEx = postIndex 67750 case 2: 67751 if wireType != 2 { 67752 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 67753 } 67754 var stringLen uint64 67755 for shift := uint(0); ; shift += 7 { 67756 if shift >= 64 { 67757 return ErrIntOverflowTypes 67758 } 67759 if iNdEx >= l { 67760 return io.ErrUnexpectedEOF 67761 } 67762 b := dAtA[iNdEx] 67763 iNdEx++ 67764 stringLen |= uint64(b&0x7F) << shift 67765 if b < 0x80 { 67766 break 67767 } 67768 } 67769 intStringLen := int(stringLen) 67770 if intStringLen < 0 { 67771 return ErrInvalidLengthTypes 67772 } 67773 postIndex := iNdEx + intStringLen 67774 if postIndex < 0 { 67775 return ErrInvalidLengthTypes 67776 } 67777 if postIndex > l { 67778 return io.ErrUnexpectedEOF 67779 } 67780 m.SubKind = string(dAtA[iNdEx:postIndex]) 67781 iNdEx = postIndex 67782 case 3: 67783 if wireType != 2 { 67784 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 67785 } 67786 var stringLen uint64 67787 for shift := uint(0); ; shift += 7 { 67788 if shift >= 64 { 67789 return ErrIntOverflowTypes 67790 } 67791 if iNdEx >= l { 67792 return io.ErrUnexpectedEOF 67793 } 67794 b := dAtA[iNdEx] 67795 iNdEx++ 67796 stringLen |= uint64(b&0x7F) << shift 67797 if b < 0x80 { 67798 break 67799 } 67800 } 67801 intStringLen := int(stringLen) 67802 if intStringLen < 0 { 67803 return ErrInvalidLengthTypes 67804 } 67805 postIndex := iNdEx + intStringLen 67806 if postIndex < 0 { 67807 return ErrInvalidLengthTypes 67808 } 67809 if postIndex > l { 67810 return io.ErrUnexpectedEOF 67811 } 67812 m.Version = string(dAtA[iNdEx:postIndex]) 67813 iNdEx = postIndex 67814 case 4: 67815 if wireType != 2 { 67816 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 67817 } 67818 var msglen int 67819 for shift := uint(0); ; shift += 7 { 67820 if shift >= 64 { 67821 return ErrIntOverflowTypes 67822 } 67823 if iNdEx >= l { 67824 return io.ErrUnexpectedEOF 67825 } 67826 b := dAtA[iNdEx] 67827 iNdEx++ 67828 msglen |= int(b&0x7F) << shift 67829 if b < 0x80 { 67830 break 67831 } 67832 } 67833 if msglen < 0 { 67834 return ErrInvalidLengthTypes 67835 } 67836 postIndex := iNdEx + msglen 67837 if postIndex < 0 { 67838 return ErrInvalidLengthTypes 67839 } 67840 if postIndex > l { 67841 return io.ErrUnexpectedEOF 67842 } 67843 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 67844 return err 67845 } 67846 iNdEx = postIndex 67847 case 5: 67848 if wireType != 2 { 67849 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 67850 } 67851 var msglen int 67852 for shift := uint(0); ; shift += 7 { 67853 if shift >= 64 { 67854 return ErrIntOverflowTypes 67855 } 67856 if iNdEx >= l { 67857 return io.ErrUnexpectedEOF 67858 } 67859 b := dAtA[iNdEx] 67860 iNdEx++ 67861 msglen |= int(b&0x7F) << shift 67862 if b < 0x80 { 67863 break 67864 } 67865 } 67866 if msglen < 0 { 67867 return ErrInvalidLengthTypes 67868 } 67869 postIndex := iNdEx + msglen 67870 if postIndex < 0 { 67871 return ErrInvalidLengthTypes 67872 } 67873 if postIndex > l { 67874 return io.ErrUnexpectedEOF 67875 } 67876 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 67877 return err 67878 } 67879 iNdEx = postIndex 67880 default: 67881 iNdEx = preIndex 67882 skippy, err := skipTypes(dAtA[iNdEx:]) 67883 if err != nil { 67884 return err 67885 } 67886 if (skippy < 0) || (iNdEx+skippy) < 0 { 67887 return ErrInvalidLengthTypes 67888 } 67889 if (iNdEx + skippy) > l { 67890 return io.ErrUnexpectedEOF 67891 } 67892 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 67893 iNdEx += skippy 67894 } 67895 } 67896 67897 if iNdEx > l { 67898 return io.ErrUnexpectedEOF 67899 } 67900 return nil 67901 } 67902 func (m *ClusterNameSpecV2) Unmarshal(dAtA []byte) error { 67903 l := len(dAtA) 67904 iNdEx := 0 67905 for iNdEx < l { 67906 preIndex := iNdEx 67907 var wire uint64 67908 for shift := uint(0); ; shift += 7 { 67909 if shift >= 64 { 67910 return ErrIntOverflowTypes 67911 } 67912 if iNdEx >= l { 67913 return io.ErrUnexpectedEOF 67914 } 67915 b := dAtA[iNdEx] 67916 iNdEx++ 67917 wire |= uint64(b&0x7F) << shift 67918 if b < 0x80 { 67919 break 67920 } 67921 } 67922 fieldNum := int32(wire >> 3) 67923 wireType := int(wire & 0x7) 67924 if wireType == 4 { 67925 return fmt.Errorf("proto: ClusterNameSpecV2: wiretype end group for non-group") 67926 } 67927 if fieldNum <= 0 { 67928 return fmt.Errorf("proto: ClusterNameSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 67929 } 67930 switch fieldNum { 67931 case 1: 67932 if wireType != 2 { 67933 return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) 67934 } 67935 var stringLen uint64 67936 for shift := uint(0); ; shift += 7 { 67937 if shift >= 64 { 67938 return ErrIntOverflowTypes 67939 } 67940 if iNdEx >= l { 67941 return io.ErrUnexpectedEOF 67942 } 67943 b := dAtA[iNdEx] 67944 iNdEx++ 67945 stringLen |= uint64(b&0x7F) << shift 67946 if b < 0x80 { 67947 break 67948 } 67949 } 67950 intStringLen := int(stringLen) 67951 if intStringLen < 0 { 67952 return ErrInvalidLengthTypes 67953 } 67954 postIndex := iNdEx + intStringLen 67955 if postIndex < 0 { 67956 return ErrInvalidLengthTypes 67957 } 67958 if postIndex > l { 67959 return io.ErrUnexpectedEOF 67960 } 67961 m.ClusterName = string(dAtA[iNdEx:postIndex]) 67962 iNdEx = postIndex 67963 case 2: 67964 if wireType != 2 { 67965 return fmt.Errorf("proto: wrong wireType = %d for field ClusterID", wireType) 67966 } 67967 var stringLen uint64 67968 for shift := uint(0); ; shift += 7 { 67969 if shift >= 64 { 67970 return ErrIntOverflowTypes 67971 } 67972 if iNdEx >= l { 67973 return io.ErrUnexpectedEOF 67974 } 67975 b := dAtA[iNdEx] 67976 iNdEx++ 67977 stringLen |= uint64(b&0x7F) << shift 67978 if b < 0x80 { 67979 break 67980 } 67981 } 67982 intStringLen := int(stringLen) 67983 if intStringLen < 0 { 67984 return ErrInvalidLengthTypes 67985 } 67986 postIndex := iNdEx + intStringLen 67987 if postIndex < 0 { 67988 return ErrInvalidLengthTypes 67989 } 67990 if postIndex > l { 67991 return io.ErrUnexpectedEOF 67992 } 67993 m.ClusterID = string(dAtA[iNdEx:postIndex]) 67994 iNdEx = postIndex 67995 default: 67996 iNdEx = preIndex 67997 skippy, err := skipTypes(dAtA[iNdEx:]) 67998 if err != nil { 67999 return err 68000 } 68001 if (skippy < 0) || (iNdEx+skippy) < 0 { 68002 return ErrInvalidLengthTypes 68003 } 68004 if (iNdEx + skippy) > l { 68005 return io.ErrUnexpectedEOF 68006 } 68007 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68008 iNdEx += skippy 68009 } 68010 } 68011 68012 if iNdEx > l { 68013 return io.ErrUnexpectedEOF 68014 } 68015 return nil 68016 } 68017 func (m *ClusterAuditConfigV2) Unmarshal(dAtA []byte) error { 68018 l := len(dAtA) 68019 iNdEx := 0 68020 for iNdEx < l { 68021 preIndex := iNdEx 68022 var wire uint64 68023 for shift := uint(0); ; shift += 7 { 68024 if shift >= 64 { 68025 return ErrIntOverflowTypes 68026 } 68027 if iNdEx >= l { 68028 return io.ErrUnexpectedEOF 68029 } 68030 b := dAtA[iNdEx] 68031 iNdEx++ 68032 wire |= uint64(b&0x7F) << shift 68033 if b < 0x80 { 68034 break 68035 } 68036 } 68037 fieldNum := int32(wire >> 3) 68038 wireType := int(wire & 0x7) 68039 if wireType == 4 { 68040 return fmt.Errorf("proto: ClusterAuditConfigV2: wiretype end group for non-group") 68041 } 68042 if fieldNum <= 0 { 68043 return fmt.Errorf("proto: ClusterAuditConfigV2: illegal tag %d (wire type %d)", fieldNum, wire) 68044 } 68045 switch fieldNum { 68046 case 1: 68047 if wireType != 2 { 68048 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 68049 } 68050 var stringLen uint64 68051 for shift := uint(0); ; shift += 7 { 68052 if shift >= 64 { 68053 return ErrIntOverflowTypes 68054 } 68055 if iNdEx >= l { 68056 return io.ErrUnexpectedEOF 68057 } 68058 b := dAtA[iNdEx] 68059 iNdEx++ 68060 stringLen |= uint64(b&0x7F) << shift 68061 if b < 0x80 { 68062 break 68063 } 68064 } 68065 intStringLen := int(stringLen) 68066 if intStringLen < 0 { 68067 return ErrInvalidLengthTypes 68068 } 68069 postIndex := iNdEx + intStringLen 68070 if postIndex < 0 { 68071 return ErrInvalidLengthTypes 68072 } 68073 if postIndex > l { 68074 return io.ErrUnexpectedEOF 68075 } 68076 m.Kind = string(dAtA[iNdEx:postIndex]) 68077 iNdEx = postIndex 68078 case 2: 68079 if wireType != 2 { 68080 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 68081 } 68082 var stringLen uint64 68083 for shift := uint(0); ; shift += 7 { 68084 if shift >= 64 { 68085 return ErrIntOverflowTypes 68086 } 68087 if iNdEx >= l { 68088 return io.ErrUnexpectedEOF 68089 } 68090 b := dAtA[iNdEx] 68091 iNdEx++ 68092 stringLen |= uint64(b&0x7F) << shift 68093 if b < 0x80 { 68094 break 68095 } 68096 } 68097 intStringLen := int(stringLen) 68098 if intStringLen < 0 { 68099 return ErrInvalidLengthTypes 68100 } 68101 postIndex := iNdEx + intStringLen 68102 if postIndex < 0 { 68103 return ErrInvalidLengthTypes 68104 } 68105 if postIndex > l { 68106 return io.ErrUnexpectedEOF 68107 } 68108 m.SubKind = string(dAtA[iNdEx:postIndex]) 68109 iNdEx = postIndex 68110 case 3: 68111 if wireType != 2 { 68112 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 68113 } 68114 var stringLen uint64 68115 for shift := uint(0); ; shift += 7 { 68116 if shift >= 64 { 68117 return ErrIntOverflowTypes 68118 } 68119 if iNdEx >= l { 68120 return io.ErrUnexpectedEOF 68121 } 68122 b := dAtA[iNdEx] 68123 iNdEx++ 68124 stringLen |= uint64(b&0x7F) << shift 68125 if b < 0x80 { 68126 break 68127 } 68128 } 68129 intStringLen := int(stringLen) 68130 if intStringLen < 0 { 68131 return ErrInvalidLengthTypes 68132 } 68133 postIndex := iNdEx + intStringLen 68134 if postIndex < 0 { 68135 return ErrInvalidLengthTypes 68136 } 68137 if postIndex > l { 68138 return io.ErrUnexpectedEOF 68139 } 68140 m.Version = string(dAtA[iNdEx:postIndex]) 68141 iNdEx = postIndex 68142 case 4: 68143 if wireType != 2 { 68144 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 68145 } 68146 var msglen int 68147 for shift := uint(0); ; shift += 7 { 68148 if shift >= 64 { 68149 return ErrIntOverflowTypes 68150 } 68151 if iNdEx >= l { 68152 return io.ErrUnexpectedEOF 68153 } 68154 b := dAtA[iNdEx] 68155 iNdEx++ 68156 msglen |= int(b&0x7F) << shift 68157 if b < 0x80 { 68158 break 68159 } 68160 } 68161 if msglen < 0 { 68162 return ErrInvalidLengthTypes 68163 } 68164 postIndex := iNdEx + msglen 68165 if postIndex < 0 { 68166 return ErrInvalidLengthTypes 68167 } 68168 if postIndex > l { 68169 return io.ErrUnexpectedEOF 68170 } 68171 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 68172 return err 68173 } 68174 iNdEx = postIndex 68175 case 5: 68176 if wireType != 2 { 68177 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 68178 } 68179 var msglen int 68180 for shift := uint(0); ; shift += 7 { 68181 if shift >= 64 { 68182 return ErrIntOverflowTypes 68183 } 68184 if iNdEx >= l { 68185 return io.ErrUnexpectedEOF 68186 } 68187 b := dAtA[iNdEx] 68188 iNdEx++ 68189 msglen |= int(b&0x7F) << shift 68190 if b < 0x80 { 68191 break 68192 } 68193 } 68194 if msglen < 0 { 68195 return ErrInvalidLengthTypes 68196 } 68197 postIndex := iNdEx + msglen 68198 if postIndex < 0 { 68199 return ErrInvalidLengthTypes 68200 } 68201 if postIndex > l { 68202 return io.ErrUnexpectedEOF 68203 } 68204 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 68205 return err 68206 } 68207 iNdEx = postIndex 68208 default: 68209 iNdEx = preIndex 68210 skippy, err := skipTypes(dAtA[iNdEx:]) 68211 if err != nil { 68212 return err 68213 } 68214 if (skippy < 0) || (iNdEx+skippy) < 0 { 68215 return ErrInvalidLengthTypes 68216 } 68217 if (iNdEx + skippy) > l { 68218 return io.ErrUnexpectedEOF 68219 } 68220 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68221 iNdEx += skippy 68222 } 68223 } 68224 68225 if iNdEx > l { 68226 return io.ErrUnexpectedEOF 68227 } 68228 return nil 68229 } 68230 func (m *ClusterAuditConfigSpecV2) Unmarshal(dAtA []byte) error { 68231 l := len(dAtA) 68232 iNdEx := 0 68233 for iNdEx < l { 68234 preIndex := iNdEx 68235 var wire uint64 68236 for shift := uint(0); ; shift += 7 { 68237 if shift >= 64 { 68238 return ErrIntOverflowTypes 68239 } 68240 if iNdEx >= l { 68241 return io.ErrUnexpectedEOF 68242 } 68243 b := dAtA[iNdEx] 68244 iNdEx++ 68245 wire |= uint64(b&0x7F) << shift 68246 if b < 0x80 { 68247 break 68248 } 68249 } 68250 fieldNum := int32(wire >> 3) 68251 wireType := int(wire & 0x7) 68252 if wireType == 4 { 68253 return fmt.Errorf("proto: ClusterAuditConfigSpecV2: wiretype end group for non-group") 68254 } 68255 if fieldNum <= 0 { 68256 return fmt.Errorf("proto: ClusterAuditConfigSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 68257 } 68258 switch fieldNum { 68259 case 1: 68260 if wireType != 2 { 68261 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 68262 } 68263 var stringLen uint64 68264 for shift := uint(0); ; shift += 7 { 68265 if shift >= 64 { 68266 return ErrIntOverflowTypes 68267 } 68268 if iNdEx >= l { 68269 return io.ErrUnexpectedEOF 68270 } 68271 b := dAtA[iNdEx] 68272 iNdEx++ 68273 stringLen |= uint64(b&0x7F) << shift 68274 if b < 0x80 { 68275 break 68276 } 68277 } 68278 intStringLen := int(stringLen) 68279 if intStringLen < 0 { 68280 return ErrInvalidLengthTypes 68281 } 68282 postIndex := iNdEx + intStringLen 68283 if postIndex < 0 { 68284 return ErrInvalidLengthTypes 68285 } 68286 if postIndex > l { 68287 return io.ErrUnexpectedEOF 68288 } 68289 m.Type = string(dAtA[iNdEx:postIndex]) 68290 iNdEx = postIndex 68291 case 2: 68292 if wireType != 2 { 68293 return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) 68294 } 68295 var stringLen uint64 68296 for shift := uint(0); ; shift += 7 { 68297 if shift >= 64 { 68298 return ErrIntOverflowTypes 68299 } 68300 if iNdEx >= l { 68301 return io.ErrUnexpectedEOF 68302 } 68303 b := dAtA[iNdEx] 68304 iNdEx++ 68305 stringLen |= uint64(b&0x7F) << shift 68306 if b < 0x80 { 68307 break 68308 } 68309 } 68310 intStringLen := int(stringLen) 68311 if intStringLen < 0 { 68312 return ErrInvalidLengthTypes 68313 } 68314 postIndex := iNdEx + intStringLen 68315 if postIndex < 0 { 68316 return ErrInvalidLengthTypes 68317 } 68318 if postIndex > l { 68319 return io.ErrUnexpectedEOF 68320 } 68321 m.Region = string(dAtA[iNdEx:postIndex]) 68322 iNdEx = postIndex 68323 case 3: 68324 if wireType != 2 { 68325 return fmt.Errorf("proto: wrong wireType = %d for field AuditSessionsURI", wireType) 68326 } 68327 var stringLen uint64 68328 for shift := uint(0); ; shift += 7 { 68329 if shift >= 64 { 68330 return ErrIntOverflowTypes 68331 } 68332 if iNdEx >= l { 68333 return io.ErrUnexpectedEOF 68334 } 68335 b := dAtA[iNdEx] 68336 iNdEx++ 68337 stringLen |= uint64(b&0x7F) << shift 68338 if b < 0x80 { 68339 break 68340 } 68341 } 68342 intStringLen := int(stringLen) 68343 if intStringLen < 0 { 68344 return ErrInvalidLengthTypes 68345 } 68346 postIndex := iNdEx + intStringLen 68347 if postIndex < 0 { 68348 return ErrInvalidLengthTypes 68349 } 68350 if postIndex > l { 68351 return io.ErrUnexpectedEOF 68352 } 68353 m.AuditSessionsURI = string(dAtA[iNdEx:postIndex]) 68354 iNdEx = postIndex 68355 case 4: 68356 if wireType != 2 { 68357 return fmt.Errorf("proto: wrong wireType = %d for field AuditEventsURI", wireType) 68358 } 68359 var msglen int 68360 for shift := uint(0); ; shift += 7 { 68361 if shift >= 64 { 68362 return ErrIntOverflowTypes 68363 } 68364 if iNdEx >= l { 68365 return io.ErrUnexpectedEOF 68366 } 68367 b := dAtA[iNdEx] 68368 iNdEx++ 68369 msglen |= int(b&0x7F) << shift 68370 if b < 0x80 { 68371 break 68372 } 68373 } 68374 if msglen < 0 { 68375 return ErrInvalidLengthTypes 68376 } 68377 postIndex := iNdEx + msglen 68378 if postIndex < 0 { 68379 return ErrInvalidLengthTypes 68380 } 68381 if postIndex > l { 68382 return io.ErrUnexpectedEOF 68383 } 68384 if err := m.AuditEventsURI.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 68385 return err 68386 } 68387 iNdEx = postIndex 68388 case 6: 68389 if wireType != 0 { 68390 return fmt.Errorf("proto: wrong wireType = %d for field EnableContinuousBackups", wireType) 68391 } 68392 var v int 68393 for shift := uint(0); ; shift += 7 { 68394 if shift >= 64 { 68395 return ErrIntOverflowTypes 68396 } 68397 if iNdEx >= l { 68398 return io.ErrUnexpectedEOF 68399 } 68400 b := dAtA[iNdEx] 68401 iNdEx++ 68402 v |= int(b&0x7F) << shift 68403 if b < 0x80 { 68404 break 68405 } 68406 } 68407 m.EnableContinuousBackups = bool(v != 0) 68408 case 7: 68409 if wireType != 0 { 68410 return fmt.Errorf("proto: wrong wireType = %d for field EnableAutoScaling", wireType) 68411 } 68412 var v int 68413 for shift := uint(0); ; shift += 7 { 68414 if shift >= 64 { 68415 return ErrIntOverflowTypes 68416 } 68417 if iNdEx >= l { 68418 return io.ErrUnexpectedEOF 68419 } 68420 b := dAtA[iNdEx] 68421 iNdEx++ 68422 v |= int(b&0x7F) << shift 68423 if b < 0x80 { 68424 break 68425 } 68426 } 68427 m.EnableAutoScaling = bool(v != 0) 68428 case 8: 68429 if wireType != 0 { 68430 return fmt.Errorf("proto: wrong wireType = %d for field ReadMaxCapacity", wireType) 68431 } 68432 m.ReadMaxCapacity = 0 68433 for shift := uint(0); ; shift += 7 { 68434 if shift >= 64 { 68435 return ErrIntOverflowTypes 68436 } 68437 if iNdEx >= l { 68438 return io.ErrUnexpectedEOF 68439 } 68440 b := dAtA[iNdEx] 68441 iNdEx++ 68442 m.ReadMaxCapacity |= int64(b&0x7F) << shift 68443 if b < 0x80 { 68444 break 68445 } 68446 } 68447 case 9: 68448 if wireType != 0 { 68449 return fmt.Errorf("proto: wrong wireType = %d for field ReadMinCapacity", wireType) 68450 } 68451 m.ReadMinCapacity = 0 68452 for shift := uint(0); ; shift += 7 { 68453 if shift >= 64 { 68454 return ErrIntOverflowTypes 68455 } 68456 if iNdEx >= l { 68457 return io.ErrUnexpectedEOF 68458 } 68459 b := dAtA[iNdEx] 68460 iNdEx++ 68461 m.ReadMinCapacity |= int64(b&0x7F) << shift 68462 if b < 0x80 { 68463 break 68464 } 68465 } 68466 case 10: 68467 if wireType != 1 { 68468 return fmt.Errorf("proto: wrong wireType = %d for field ReadTargetValue", wireType) 68469 } 68470 var v uint64 68471 if (iNdEx + 8) > l { 68472 return io.ErrUnexpectedEOF 68473 } 68474 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 68475 iNdEx += 8 68476 m.ReadTargetValue = float64(math.Float64frombits(v)) 68477 case 11: 68478 if wireType != 0 { 68479 return fmt.Errorf("proto: wrong wireType = %d for field WriteMaxCapacity", wireType) 68480 } 68481 m.WriteMaxCapacity = 0 68482 for shift := uint(0); ; shift += 7 { 68483 if shift >= 64 { 68484 return ErrIntOverflowTypes 68485 } 68486 if iNdEx >= l { 68487 return io.ErrUnexpectedEOF 68488 } 68489 b := dAtA[iNdEx] 68490 iNdEx++ 68491 m.WriteMaxCapacity |= int64(b&0x7F) << shift 68492 if b < 0x80 { 68493 break 68494 } 68495 } 68496 case 12: 68497 if wireType != 0 { 68498 return fmt.Errorf("proto: wrong wireType = %d for field WriteMinCapacity", wireType) 68499 } 68500 m.WriteMinCapacity = 0 68501 for shift := uint(0); ; shift += 7 { 68502 if shift >= 64 { 68503 return ErrIntOverflowTypes 68504 } 68505 if iNdEx >= l { 68506 return io.ErrUnexpectedEOF 68507 } 68508 b := dAtA[iNdEx] 68509 iNdEx++ 68510 m.WriteMinCapacity |= int64(b&0x7F) << shift 68511 if b < 0x80 { 68512 break 68513 } 68514 } 68515 case 13: 68516 if wireType != 1 { 68517 return fmt.Errorf("proto: wrong wireType = %d for field WriteTargetValue", wireType) 68518 } 68519 var v uint64 68520 if (iNdEx + 8) > l { 68521 return io.ErrUnexpectedEOF 68522 } 68523 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 68524 iNdEx += 8 68525 m.WriteTargetValue = float64(math.Float64frombits(v)) 68526 case 14: 68527 if wireType != 0 { 68528 return fmt.Errorf("proto: wrong wireType = %d for field RetentionPeriod", wireType) 68529 } 68530 m.RetentionPeriod = 0 68531 for shift := uint(0); ; shift += 7 { 68532 if shift >= 64 { 68533 return ErrIntOverflowTypes 68534 } 68535 if iNdEx >= l { 68536 return io.ErrUnexpectedEOF 68537 } 68538 b := dAtA[iNdEx] 68539 iNdEx++ 68540 m.RetentionPeriod |= Duration(b&0x7F) << shift 68541 if b < 0x80 { 68542 break 68543 } 68544 } 68545 case 15: 68546 if wireType != 0 { 68547 return fmt.Errorf("proto: wrong wireType = %d for field UseFIPSEndpoint", wireType) 68548 } 68549 m.UseFIPSEndpoint = 0 68550 for shift := uint(0); ; shift += 7 { 68551 if shift >= 64 { 68552 return ErrIntOverflowTypes 68553 } 68554 if iNdEx >= l { 68555 return io.ErrUnexpectedEOF 68556 } 68557 b := dAtA[iNdEx] 68558 iNdEx++ 68559 m.UseFIPSEndpoint |= ClusterAuditConfigSpecV2_FIPSEndpointState(b&0x7F) << shift 68560 if b < 0x80 { 68561 break 68562 } 68563 } 68564 default: 68565 iNdEx = preIndex 68566 skippy, err := skipTypes(dAtA[iNdEx:]) 68567 if err != nil { 68568 return err 68569 } 68570 if (skippy < 0) || (iNdEx+skippy) < 0 { 68571 return ErrInvalidLengthTypes 68572 } 68573 if (iNdEx + skippy) > l { 68574 return io.ErrUnexpectedEOF 68575 } 68576 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68577 iNdEx += skippy 68578 } 68579 } 68580 68581 if iNdEx > l { 68582 return io.ErrUnexpectedEOF 68583 } 68584 return nil 68585 } 68586 func (m *ClusterNetworkingConfigV2) Unmarshal(dAtA []byte) error { 68587 l := len(dAtA) 68588 iNdEx := 0 68589 for iNdEx < l { 68590 preIndex := iNdEx 68591 var wire uint64 68592 for shift := uint(0); ; shift += 7 { 68593 if shift >= 64 { 68594 return ErrIntOverflowTypes 68595 } 68596 if iNdEx >= l { 68597 return io.ErrUnexpectedEOF 68598 } 68599 b := dAtA[iNdEx] 68600 iNdEx++ 68601 wire |= uint64(b&0x7F) << shift 68602 if b < 0x80 { 68603 break 68604 } 68605 } 68606 fieldNum := int32(wire >> 3) 68607 wireType := int(wire & 0x7) 68608 if wireType == 4 { 68609 return fmt.Errorf("proto: ClusterNetworkingConfigV2: wiretype end group for non-group") 68610 } 68611 if fieldNum <= 0 { 68612 return fmt.Errorf("proto: ClusterNetworkingConfigV2: illegal tag %d (wire type %d)", fieldNum, wire) 68613 } 68614 switch fieldNum { 68615 case 1: 68616 if wireType != 2 { 68617 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 68618 } 68619 var stringLen uint64 68620 for shift := uint(0); ; shift += 7 { 68621 if shift >= 64 { 68622 return ErrIntOverflowTypes 68623 } 68624 if iNdEx >= l { 68625 return io.ErrUnexpectedEOF 68626 } 68627 b := dAtA[iNdEx] 68628 iNdEx++ 68629 stringLen |= uint64(b&0x7F) << shift 68630 if b < 0x80 { 68631 break 68632 } 68633 } 68634 intStringLen := int(stringLen) 68635 if intStringLen < 0 { 68636 return ErrInvalidLengthTypes 68637 } 68638 postIndex := iNdEx + intStringLen 68639 if postIndex < 0 { 68640 return ErrInvalidLengthTypes 68641 } 68642 if postIndex > l { 68643 return io.ErrUnexpectedEOF 68644 } 68645 m.Kind = string(dAtA[iNdEx:postIndex]) 68646 iNdEx = postIndex 68647 case 2: 68648 if wireType != 2 { 68649 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 68650 } 68651 var stringLen uint64 68652 for shift := uint(0); ; shift += 7 { 68653 if shift >= 64 { 68654 return ErrIntOverflowTypes 68655 } 68656 if iNdEx >= l { 68657 return io.ErrUnexpectedEOF 68658 } 68659 b := dAtA[iNdEx] 68660 iNdEx++ 68661 stringLen |= uint64(b&0x7F) << shift 68662 if b < 0x80 { 68663 break 68664 } 68665 } 68666 intStringLen := int(stringLen) 68667 if intStringLen < 0 { 68668 return ErrInvalidLengthTypes 68669 } 68670 postIndex := iNdEx + intStringLen 68671 if postIndex < 0 { 68672 return ErrInvalidLengthTypes 68673 } 68674 if postIndex > l { 68675 return io.ErrUnexpectedEOF 68676 } 68677 m.SubKind = string(dAtA[iNdEx:postIndex]) 68678 iNdEx = postIndex 68679 case 3: 68680 if wireType != 2 { 68681 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 68682 } 68683 var stringLen uint64 68684 for shift := uint(0); ; shift += 7 { 68685 if shift >= 64 { 68686 return ErrIntOverflowTypes 68687 } 68688 if iNdEx >= l { 68689 return io.ErrUnexpectedEOF 68690 } 68691 b := dAtA[iNdEx] 68692 iNdEx++ 68693 stringLen |= uint64(b&0x7F) << shift 68694 if b < 0x80 { 68695 break 68696 } 68697 } 68698 intStringLen := int(stringLen) 68699 if intStringLen < 0 { 68700 return ErrInvalidLengthTypes 68701 } 68702 postIndex := iNdEx + intStringLen 68703 if postIndex < 0 { 68704 return ErrInvalidLengthTypes 68705 } 68706 if postIndex > l { 68707 return io.ErrUnexpectedEOF 68708 } 68709 m.Version = string(dAtA[iNdEx:postIndex]) 68710 iNdEx = postIndex 68711 case 4: 68712 if wireType != 2 { 68713 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 68714 } 68715 var msglen int 68716 for shift := uint(0); ; shift += 7 { 68717 if shift >= 64 { 68718 return ErrIntOverflowTypes 68719 } 68720 if iNdEx >= l { 68721 return io.ErrUnexpectedEOF 68722 } 68723 b := dAtA[iNdEx] 68724 iNdEx++ 68725 msglen |= int(b&0x7F) << shift 68726 if b < 0x80 { 68727 break 68728 } 68729 } 68730 if msglen < 0 { 68731 return ErrInvalidLengthTypes 68732 } 68733 postIndex := iNdEx + msglen 68734 if postIndex < 0 { 68735 return ErrInvalidLengthTypes 68736 } 68737 if postIndex > l { 68738 return io.ErrUnexpectedEOF 68739 } 68740 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 68741 return err 68742 } 68743 iNdEx = postIndex 68744 case 5: 68745 if wireType != 2 { 68746 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 68747 } 68748 var msglen int 68749 for shift := uint(0); ; shift += 7 { 68750 if shift >= 64 { 68751 return ErrIntOverflowTypes 68752 } 68753 if iNdEx >= l { 68754 return io.ErrUnexpectedEOF 68755 } 68756 b := dAtA[iNdEx] 68757 iNdEx++ 68758 msglen |= int(b&0x7F) << shift 68759 if b < 0x80 { 68760 break 68761 } 68762 } 68763 if msglen < 0 { 68764 return ErrInvalidLengthTypes 68765 } 68766 postIndex := iNdEx + msglen 68767 if postIndex < 0 { 68768 return ErrInvalidLengthTypes 68769 } 68770 if postIndex > l { 68771 return io.ErrUnexpectedEOF 68772 } 68773 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 68774 return err 68775 } 68776 iNdEx = postIndex 68777 default: 68778 iNdEx = preIndex 68779 skippy, err := skipTypes(dAtA[iNdEx:]) 68780 if err != nil { 68781 return err 68782 } 68783 if (skippy < 0) || (iNdEx+skippy) < 0 { 68784 return ErrInvalidLengthTypes 68785 } 68786 if (iNdEx + skippy) > l { 68787 return io.ErrUnexpectedEOF 68788 } 68789 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68790 iNdEx += skippy 68791 } 68792 } 68793 68794 if iNdEx > l { 68795 return io.ErrUnexpectedEOF 68796 } 68797 return nil 68798 } 68799 func (m *ClusterNetworkingConfigSpecV2) Unmarshal(dAtA []byte) error { 68800 l := len(dAtA) 68801 iNdEx := 0 68802 for iNdEx < l { 68803 preIndex := iNdEx 68804 var wire uint64 68805 for shift := uint(0); ; shift += 7 { 68806 if shift >= 64 { 68807 return ErrIntOverflowTypes 68808 } 68809 if iNdEx >= l { 68810 return io.ErrUnexpectedEOF 68811 } 68812 b := dAtA[iNdEx] 68813 iNdEx++ 68814 wire |= uint64(b&0x7F) << shift 68815 if b < 0x80 { 68816 break 68817 } 68818 } 68819 fieldNum := int32(wire >> 3) 68820 wireType := int(wire & 0x7) 68821 if wireType == 4 { 68822 return fmt.Errorf("proto: ClusterNetworkingConfigSpecV2: wiretype end group for non-group") 68823 } 68824 if fieldNum <= 0 { 68825 return fmt.Errorf("proto: ClusterNetworkingConfigSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 68826 } 68827 switch fieldNum { 68828 case 1: 68829 if wireType != 0 { 68830 return fmt.Errorf("proto: wrong wireType = %d for field ClientIdleTimeout", wireType) 68831 } 68832 m.ClientIdleTimeout = 0 68833 for shift := uint(0); ; shift += 7 { 68834 if shift >= 64 { 68835 return ErrIntOverflowTypes 68836 } 68837 if iNdEx >= l { 68838 return io.ErrUnexpectedEOF 68839 } 68840 b := dAtA[iNdEx] 68841 iNdEx++ 68842 m.ClientIdleTimeout |= Duration(b&0x7F) << shift 68843 if b < 0x80 { 68844 break 68845 } 68846 } 68847 case 2: 68848 if wireType != 0 { 68849 return fmt.Errorf("proto: wrong wireType = %d for field KeepAliveInterval", wireType) 68850 } 68851 m.KeepAliveInterval = 0 68852 for shift := uint(0); ; shift += 7 { 68853 if shift >= 64 { 68854 return ErrIntOverflowTypes 68855 } 68856 if iNdEx >= l { 68857 return io.ErrUnexpectedEOF 68858 } 68859 b := dAtA[iNdEx] 68860 iNdEx++ 68861 m.KeepAliveInterval |= Duration(b&0x7F) << shift 68862 if b < 0x80 { 68863 break 68864 } 68865 } 68866 case 3: 68867 if wireType != 0 { 68868 return fmt.Errorf("proto: wrong wireType = %d for field KeepAliveCountMax", wireType) 68869 } 68870 m.KeepAliveCountMax = 0 68871 for shift := uint(0); ; shift += 7 { 68872 if shift >= 64 { 68873 return ErrIntOverflowTypes 68874 } 68875 if iNdEx >= l { 68876 return io.ErrUnexpectedEOF 68877 } 68878 b := dAtA[iNdEx] 68879 iNdEx++ 68880 m.KeepAliveCountMax |= int64(b&0x7F) << shift 68881 if b < 0x80 { 68882 break 68883 } 68884 } 68885 case 4: 68886 if wireType != 0 { 68887 return fmt.Errorf("proto: wrong wireType = %d for field SessionControlTimeout", wireType) 68888 } 68889 m.SessionControlTimeout = 0 68890 for shift := uint(0); ; shift += 7 { 68891 if shift >= 64 { 68892 return ErrIntOverflowTypes 68893 } 68894 if iNdEx >= l { 68895 return io.ErrUnexpectedEOF 68896 } 68897 b := dAtA[iNdEx] 68898 iNdEx++ 68899 m.SessionControlTimeout |= Duration(b&0x7F) << shift 68900 if b < 0x80 { 68901 break 68902 } 68903 } 68904 case 5: 68905 if wireType != 2 { 68906 return fmt.Errorf("proto: wrong wireType = %d for field ClientIdleTimeoutMessage", wireType) 68907 } 68908 var stringLen uint64 68909 for shift := uint(0); ; shift += 7 { 68910 if shift >= 64 { 68911 return ErrIntOverflowTypes 68912 } 68913 if iNdEx >= l { 68914 return io.ErrUnexpectedEOF 68915 } 68916 b := dAtA[iNdEx] 68917 iNdEx++ 68918 stringLen |= uint64(b&0x7F) << shift 68919 if b < 0x80 { 68920 break 68921 } 68922 } 68923 intStringLen := int(stringLen) 68924 if intStringLen < 0 { 68925 return ErrInvalidLengthTypes 68926 } 68927 postIndex := iNdEx + intStringLen 68928 if postIndex < 0 { 68929 return ErrInvalidLengthTypes 68930 } 68931 if postIndex > l { 68932 return io.ErrUnexpectedEOF 68933 } 68934 m.ClientIdleTimeoutMessage = string(dAtA[iNdEx:postIndex]) 68935 iNdEx = postIndex 68936 case 6: 68937 if wireType != 0 { 68938 return fmt.Errorf("proto: wrong wireType = %d for field WebIdleTimeout", wireType) 68939 } 68940 m.WebIdleTimeout = 0 68941 for shift := uint(0); ; shift += 7 { 68942 if shift >= 64 { 68943 return ErrIntOverflowTypes 68944 } 68945 if iNdEx >= l { 68946 return io.ErrUnexpectedEOF 68947 } 68948 b := dAtA[iNdEx] 68949 iNdEx++ 68950 m.WebIdleTimeout |= Duration(b&0x7F) << shift 68951 if b < 0x80 { 68952 break 68953 } 68954 } 68955 case 7: 68956 if wireType != 0 { 68957 return fmt.Errorf("proto: wrong wireType = %d for field ProxyListenerMode", wireType) 68958 } 68959 m.ProxyListenerMode = 0 68960 for shift := uint(0); ; shift += 7 { 68961 if shift >= 64 { 68962 return ErrIntOverflowTypes 68963 } 68964 if iNdEx >= l { 68965 return io.ErrUnexpectedEOF 68966 } 68967 b := dAtA[iNdEx] 68968 iNdEx++ 68969 m.ProxyListenerMode |= ProxyListenerMode(b&0x7F) << shift 68970 if b < 0x80 { 68971 break 68972 } 68973 } 68974 case 8: 68975 if wireType != 0 { 68976 return fmt.Errorf("proto: wrong wireType = %d for field RoutingStrategy", wireType) 68977 } 68978 m.RoutingStrategy = 0 68979 for shift := uint(0); ; shift += 7 { 68980 if shift >= 64 { 68981 return ErrIntOverflowTypes 68982 } 68983 if iNdEx >= l { 68984 return io.ErrUnexpectedEOF 68985 } 68986 b := dAtA[iNdEx] 68987 iNdEx++ 68988 m.RoutingStrategy |= RoutingStrategy(b&0x7F) << shift 68989 if b < 0x80 { 68990 break 68991 } 68992 } 68993 case 9: 68994 if wireType != 2 { 68995 return fmt.Errorf("proto: wrong wireType = %d for field TunnelStrategy", wireType) 68996 } 68997 var msglen int 68998 for shift := uint(0); ; shift += 7 { 68999 if shift >= 64 { 69000 return ErrIntOverflowTypes 69001 } 69002 if iNdEx >= l { 69003 return io.ErrUnexpectedEOF 69004 } 69005 b := dAtA[iNdEx] 69006 iNdEx++ 69007 msglen |= int(b&0x7F) << shift 69008 if b < 0x80 { 69009 break 69010 } 69011 } 69012 if msglen < 0 { 69013 return ErrInvalidLengthTypes 69014 } 69015 postIndex := iNdEx + msglen 69016 if postIndex < 0 { 69017 return ErrInvalidLengthTypes 69018 } 69019 if postIndex > l { 69020 return io.ErrUnexpectedEOF 69021 } 69022 if m.TunnelStrategy == nil { 69023 m.TunnelStrategy = &TunnelStrategyV1{} 69024 } 69025 if err := m.TunnelStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 69026 return err 69027 } 69028 iNdEx = postIndex 69029 case 10: 69030 if wireType != 0 { 69031 return fmt.Errorf("proto: wrong wireType = %d for field ProxyPingInterval", wireType) 69032 } 69033 m.ProxyPingInterval = 0 69034 for shift := uint(0); ; shift += 7 { 69035 if shift >= 64 { 69036 return ErrIntOverflowTypes 69037 } 69038 if iNdEx >= l { 69039 return io.ErrUnexpectedEOF 69040 } 69041 b := dAtA[iNdEx] 69042 iNdEx++ 69043 m.ProxyPingInterval |= Duration(b&0x7F) << shift 69044 if b < 0x80 { 69045 break 69046 } 69047 } 69048 case 11: 69049 if wireType != 0 { 69050 return fmt.Errorf("proto: wrong wireType = %d for field AssistCommandExecutionWorkers", wireType) 69051 } 69052 m.AssistCommandExecutionWorkers = 0 69053 for shift := uint(0); ; shift += 7 { 69054 if shift >= 64 { 69055 return ErrIntOverflowTypes 69056 } 69057 if iNdEx >= l { 69058 return io.ErrUnexpectedEOF 69059 } 69060 b := dAtA[iNdEx] 69061 iNdEx++ 69062 m.AssistCommandExecutionWorkers |= int32(b&0x7F) << shift 69063 if b < 0x80 { 69064 break 69065 } 69066 } 69067 case 12: 69068 if wireType != 0 { 69069 return fmt.Errorf("proto: wrong wireType = %d for field CaseInsensitiveRouting", wireType) 69070 } 69071 var v int 69072 for shift := uint(0); ; shift += 7 { 69073 if shift >= 64 { 69074 return ErrIntOverflowTypes 69075 } 69076 if iNdEx >= l { 69077 return io.ErrUnexpectedEOF 69078 } 69079 b := dAtA[iNdEx] 69080 iNdEx++ 69081 v |= int(b&0x7F) << shift 69082 if b < 0x80 { 69083 break 69084 } 69085 } 69086 m.CaseInsensitiveRouting = bool(v != 0) 69087 default: 69088 iNdEx = preIndex 69089 skippy, err := skipTypes(dAtA[iNdEx:]) 69090 if err != nil { 69091 return err 69092 } 69093 if (skippy < 0) || (iNdEx+skippy) < 0 { 69094 return ErrInvalidLengthTypes 69095 } 69096 if (iNdEx + skippy) > l { 69097 return io.ErrUnexpectedEOF 69098 } 69099 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69100 iNdEx += skippy 69101 } 69102 } 69103 69104 if iNdEx > l { 69105 return io.ErrUnexpectedEOF 69106 } 69107 return nil 69108 } 69109 func (m *TunnelStrategyV1) Unmarshal(dAtA []byte) error { 69110 l := len(dAtA) 69111 iNdEx := 0 69112 for iNdEx < l { 69113 preIndex := iNdEx 69114 var wire uint64 69115 for shift := uint(0); ; shift += 7 { 69116 if shift >= 64 { 69117 return ErrIntOverflowTypes 69118 } 69119 if iNdEx >= l { 69120 return io.ErrUnexpectedEOF 69121 } 69122 b := dAtA[iNdEx] 69123 iNdEx++ 69124 wire |= uint64(b&0x7F) << shift 69125 if b < 0x80 { 69126 break 69127 } 69128 } 69129 fieldNum := int32(wire >> 3) 69130 wireType := int(wire & 0x7) 69131 if wireType == 4 { 69132 return fmt.Errorf("proto: TunnelStrategyV1: wiretype end group for non-group") 69133 } 69134 if fieldNum <= 0 { 69135 return fmt.Errorf("proto: TunnelStrategyV1: illegal tag %d (wire type %d)", fieldNum, wire) 69136 } 69137 switch fieldNum { 69138 case 1: 69139 if wireType != 2 { 69140 return fmt.Errorf("proto: wrong wireType = %d for field AgentMesh", wireType) 69141 } 69142 var msglen int 69143 for shift := uint(0); ; shift += 7 { 69144 if shift >= 64 { 69145 return ErrIntOverflowTypes 69146 } 69147 if iNdEx >= l { 69148 return io.ErrUnexpectedEOF 69149 } 69150 b := dAtA[iNdEx] 69151 iNdEx++ 69152 msglen |= int(b&0x7F) << shift 69153 if b < 0x80 { 69154 break 69155 } 69156 } 69157 if msglen < 0 { 69158 return ErrInvalidLengthTypes 69159 } 69160 postIndex := iNdEx + msglen 69161 if postIndex < 0 { 69162 return ErrInvalidLengthTypes 69163 } 69164 if postIndex > l { 69165 return io.ErrUnexpectedEOF 69166 } 69167 v := &AgentMeshTunnelStrategy{} 69168 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 69169 return err 69170 } 69171 m.Strategy = &TunnelStrategyV1_AgentMesh{v} 69172 iNdEx = postIndex 69173 case 2: 69174 if wireType != 2 { 69175 return fmt.Errorf("proto: wrong wireType = %d for field ProxyPeering", wireType) 69176 } 69177 var msglen int 69178 for shift := uint(0); ; shift += 7 { 69179 if shift >= 64 { 69180 return ErrIntOverflowTypes 69181 } 69182 if iNdEx >= l { 69183 return io.ErrUnexpectedEOF 69184 } 69185 b := dAtA[iNdEx] 69186 iNdEx++ 69187 msglen |= int(b&0x7F) << shift 69188 if b < 0x80 { 69189 break 69190 } 69191 } 69192 if msglen < 0 { 69193 return ErrInvalidLengthTypes 69194 } 69195 postIndex := iNdEx + msglen 69196 if postIndex < 0 { 69197 return ErrInvalidLengthTypes 69198 } 69199 if postIndex > l { 69200 return io.ErrUnexpectedEOF 69201 } 69202 v := &ProxyPeeringTunnelStrategy{} 69203 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 69204 return err 69205 } 69206 m.Strategy = &TunnelStrategyV1_ProxyPeering{v} 69207 iNdEx = postIndex 69208 default: 69209 iNdEx = preIndex 69210 skippy, err := skipTypes(dAtA[iNdEx:]) 69211 if err != nil { 69212 return err 69213 } 69214 if (skippy < 0) || (iNdEx+skippy) < 0 { 69215 return ErrInvalidLengthTypes 69216 } 69217 if (iNdEx + skippy) > l { 69218 return io.ErrUnexpectedEOF 69219 } 69220 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69221 iNdEx += skippy 69222 } 69223 } 69224 69225 if iNdEx > l { 69226 return io.ErrUnexpectedEOF 69227 } 69228 return nil 69229 } 69230 func (m *AgentMeshTunnelStrategy) Unmarshal(dAtA []byte) error { 69231 l := len(dAtA) 69232 iNdEx := 0 69233 for iNdEx < l { 69234 preIndex := iNdEx 69235 var wire uint64 69236 for shift := uint(0); ; shift += 7 { 69237 if shift >= 64 { 69238 return ErrIntOverflowTypes 69239 } 69240 if iNdEx >= l { 69241 return io.ErrUnexpectedEOF 69242 } 69243 b := dAtA[iNdEx] 69244 iNdEx++ 69245 wire |= uint64(b&0x7F) << shift 69246 if b < 0x80 { 69247 break 69248 } 69249 } 69250 fieldNum := int32(wire >> 3) 69251 wireType := int(wire & 0x7) 69252 if wireType == 4 { 69253 return fmt.Errorf("proto: AgentMeshTunnelStrategy: wiretype end group for non-group") 69254 } 69255 if fieldNum <= 0 { 69256 return fmt.Errorf("proto: AgentMeshTunnelStrategy: illegal tag %d (wire type %d)", fieldNum, wire) 69257 } 69258 switch fieldNum { 69259 default: 69260 iNdEx = preIndex 69261 skippy, err := skipTypes(dAtA[iNdEx:]) 69262 if err != nil { 69263 return err 69264 } 69265 if (skippy < 0) || (iNdEx+skippy) < 0 { 69266 return ErrInvalidLengthTypes 69267 } 69268 if (iNdEx + skippy) > l { 69269 return io.ErrUnexpectedEOF 69270 } 69271 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69272 iNdEx += skippy 69273 } 69274 } 69275 69276 if iNdEx > l { 69277 return io.ErrUnexpectedEOF 69278 } 69279 return nil 69280 } 69281 func (m *ProxyPeeringTunnelStrategy) Unmarshal(dAtA []byte) error { 69282 l := len(dAtA) 69283 iNdEx := 0 69284 for iNdEx < l { 69285 preIndex := iNdEx 69286 var wire uint64 69287 for shift := uint(0); ; shift += 7 { 69288 if shift >= 64 { 69289 return ErrIntOverflowTypes 69290 } 69291 if iNdEx >= l { 69292 return io.ErrUnexpectedEOF 69293 } 69294 b := dAtA[iNdEx] 69295 iNdEx++ 69296 wire |= uint64(b&0x7F) << shift 69297 if b < 0x80 { 69298 break 69299 } 69300 } 69301 fieldNum := int32(wire >> 3) 69302 wireType := int(wire & 0x7) 69303 if wireType == 4 { 69304 return fmt.Errorf("proto: ProxyPeeringTunnelStrategy: wiretype end group for non-group") 69305 } 69306 if fieldNum <= 0 { 69307 return fmt.Errorf("proto: ProxyPeeringTunnelStrategy: illegal tag %d (wire type %d)", fieldNum, wire) 69308 } 69309 switch fieldNum { 69310 case 1: 69311 if wireType != 0 { 69312 return fmt.Errorf("proto: wrong wireType = %d for field AgentConnectionCount", wireType) 69313 } 69314 m.AgentConnectionCount = 0 69315 for shift := uint(0); ; shift += 7 { 69316 if shift >= 64 { 69317 return ErrIntOverflowTypes 69318 } 69319 if iNdEx >= l { 69320 return io.ErrUnexpectedEOF 69321 } 69322 b := dAtA[iNdEx] 69323 iNdEx++ 69324 m.AgentConnectionCount |= int64(b&0x7F) << shift 69325 if b < 0x80 { 69326 break 69327 } 69328 } 69329 default: 69330 iNdEx = preIndex 69331 skippy, err := skipTypes(dAtA[iNdEx:]) 69332 if err != nil { 69333 return err 69334 } 69335 if (skippy < 0) || (iNdEx+skippy) < 0 { 69336 return ErrInvalidLengthTypes 69337 } 69338 if (iNdEx + skippy) > l { 69339 return io.ErrUnexpectedEOF 69340 } 69341 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69342 iNdEx += skippy 69343 } 69344 } 69345 69346 if iNdEx > l { 69347 return io.ErrUnexpectedEOF 69348 } 69349 return nil 69350 } 69351 func (m *SessionRecordingConfigV2) Unmarshal(dAtA []byte) error { 69352 l := len(dAtA) 69353 iNdEx := 0 69354 for iNdEx < l { 69355 preIndex := iNdEx 69356 var wire uint64 69357 for shift := uint(0); ; shift += 7 { 69358 if shift >= 64 { 69359 return ErrIntOverflowTypes 69360 } 69361 if iNdEx >= l { 69362 return io.ErrUnexpectedEOF 69363 } 69364 b := dAtA[iNdEx] 69365 iNdEx++ 69366 wire |= uint64(b&0x7F) << shift 69367 if b < 0x80 { 69368 break 69369 } 69370 } 69371 fieldNum := int32(wire >> 3) 69372 wireType := int(wire & 0x7) 69373 if wireType == 4 { 69374 return fmt.Errorf("proto: SessionRecordingConfigV2: wiretype end group for non-group") 69375 } 69376 if fieldNum <= 0 { 69377 return fmt.Errorf("proto: SessionRecordingConfigV2: illegal tag %d (wire type %d)", fieldNum, wire) 69378 } 69379 switch fieldNum { 69380 case 1: 69381 if wireType != 2 { 69382 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 69383 } 69384 var stringLen uint64 69385 for shift := uint(0); ; shift += 7 { 69386 if shift >= 64 { 69387 return ErrIntOverflowTypes 69388 } 69389 if iNdEx >= l { 69390 return io.ErrUnexpectedEOF 69391 } 69392 b := dAtA[iNdEx] 69393 iNdEx++ 69394 stringLen |= uint64(b&0x7F) << shift 69395 if b < 0x80 { 69396 break 69397 } 69398 } 69399 intStringLen := int(stringLen) 69400 if intStringLen < 0 { 69401 return ErrInvalidLengthTypes 69402 } 69403 postIndex := iNdEx + intStringLen 69404 if postIndex < 0 { 69405 return ErrInvalidLengthTypes 69406 } 69407 if postIndex > l { 69408 return io.ErrUnexpectedEOF 69409 } 69410 m.Kind = string(dAtA[iNdEx:postIndex]) 69411 iNdEx = postIndex 69412 case 2: 69413 if wireType != 2 { 69414 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 69415 } 69416 var stringLen uint64 69417 for shift := uint(0); ; shift += 7 { 69418 if shift >= 64 { 69419 return ErrIntOverflowTypes 69420 } 69421 if iNdEx >= l { 69422 return io.ErrUnexpectedEOF 69423 } 69424 b := dAtA[iNdEx] 69425 iNdEx++ 69426 stringLen |= uint64(b&0x7F) << shift 69427 if b < 0x80 { 69428 break 69429 } 69430 } 69431 intStringLen := int(stringLen) 69432 if intStringLen < 0 { 69433 return ErrInvalidLengthTypes 69434 } 69435 postIndex := iNdEx + intStringLen 69436 if postIndex < 0 { 69437 return ErrInvalidLengthTypes 69438 } 69439 if postIndex > l { 69440 return io.ErrUnexpectedEOF 69441 } 69442 m.SubKind = string(dAtA[iNdEx:postIndex]) 69443 iNdEx = postIndex 69444 case 3: 69445 if wireType != 2 { 69446 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 69447 } 69448 var stringLen uint64 69449 for shift := uint(0); ; shift += 7 { 69450 if shift >= 64 { 69451 return ErrIntOverflowTypes 69452 } 69453 if iNdEx >= l { 69454 return io.ErrUnexpectedEOF 69455 } 69456 b := dAtA[iNdEx] 69457 iNdEx++ 69458 stringLen |= uint64(b&0x7F) << shift 69459 if b < 0x80 { 69460 break 69461 } 69462 } 69463 intStringLen := int(stringLen) 69464 if intStringLen < 0 { 69465 return ErrInvalidLengthTypes 69466 } 69467 postIndex := iNdEx + intStringLen 69468 if postIndex < 0 { 69469 return ErrInvalidLengthTypes 69470 } 69471 if postIndex > l { 69472 return io.ErrUnexpectedEOF 69473 } 69474 m.Version = string(dAtA[iNdEx:postIndex]) 69475 iNdEx = postIndex 69476 case 4: 69477 if wireType != 2 { 69478 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 69479 } 69480 var msglen int 69481 for shift := uint(0); ; shift += 7 { 69482 if shift >= 64 { 69483 return ErrIntOverflowTypes 69484 } 69485 if iNdEx >= l { 69486 return io.ErrUnexpectedEOF 69487 } 69488 b := dAtA[iNdEx] 69489 iNdEx++ 69490 msglen |= int(b&0x7F) << shift 69491 if b < 0x80 { 69492 break 69493 } 69494 } 69495 if msglen < 0 { 69496 return ErrInvalidLengthTypes 69497 } 69498 postIndex := iNdEx + msglen 69499 if postIndex < 0 { 69500 return ErrInvalidLengthTypes 69501 } 69502 if postIndex > l { 69503 return io.ErrUnexpectedEOF 69504 } 69505 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 69506 return err 69507 } 69508 iNdEx = postIndex 69509 case 5: 69510 if wireType != 2 { 69511 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 69512 } 69513 var msglen int 69514 for shift := uint(0); ; shift += 7 { 69515 if shift >= 64 { 69516 return ErrIntOverflowTypes 69517 } 69518 if iNdEx >= l { 69519 return io.ErrUnexpectedEOF 69520 } 69521 b := dAtA[iNdEx] 69522 iNdEx++ 69523 msglen |= int(b&0x7F) << shift 69524 if b < 0x80 { 69525 break 69526 } 69527 } 69528 if msglen < 0 { 69529 return ErrInvalidLengthTypes 69530 } 69531 postIndex := iNdEx + msglen 69532 if postIndex < 0 { 69533 return ErrInvalidLengthTypes 69534 } 69535 if postIndex > l { 69536 return io.ErrUnexpectedEOF 69537 } 69538 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 69539 return err 69540 } 69541 iNdEx = postIndex 69542 default: 69543 iNdEx = preIndex 69544 skippy, err := skipTypes(dAtA[iNdEx:]) 69545 if err != nil { 69546 return err 69547 } 69548 if (skippy < 0) || (iNdEx+skippy) < 0 { 69549 return ErrInvalidLengthTypes 69550 } 69551 if (iNdEx + skippy) > l { 69552 return io.ErrUnexpectedEOF 69553 } 69554 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69555 iNdEx += skippy 69556 } 69557 } 69558 69559 if iNdEx > l { 69560 return io.ErrUnexpectedEOF 69561 } 69562 return nil 69563 } 69564 func (m *SessionRecordingConfigSpecV2) Unmarshal(dAtA []byte) error { 69565 l := len(dAtA) 69566 iNdEx := 0 69567 for iNdEx < l { 69568 preIndex := iNdEx 69569 var wire uint64 69570 for shift := uint(0); ; shift += 7 { 69571 if shift >= 64 { 69572 return ErrIntOverflowTypes 69573 } 69574 if iNdEx >= l { 69575 return io.ErrUnexpectedEOF 69576 } 69577 b := dAtA[iNdEx] 69578 iNdEx++ 69579 wire |= uint64(b&0x7F) << shift 69580 if b < 0x80 { 69581 break 69582 } 69583 } 69584 fieldNum := int32(wire >> 3) 69585 wireType := int(wire & 0x7) 69586 if wireType == 4 { 69587 return fmt.Errorf("proto: SessionRecordingConfigSpecV2: wiretype end group for non-group") 69588 } 69589 if fieldNum <= 0 { 69590 return fmt.Errorf("proto: SessionRecordingConfigSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 69591 } 69592 switch fieldNum { 69593 case 1: 69594 if wireType != 2 { 69595 return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) 69596 } 69597 var stringLen uint64 69598 for shift := uint(0); ; shift += 7 { 69599 if shift >= 64 { 69600 return ErrIntOverflowTypes 69601 } 69602 if iNdEx >= l { 69603 return io.ErrUnexpectedEOF 69604 } 69605 b := dAtA[iNdEx] 69606 iNdEx++ 69607 stringLen |= uint64(b&0x7F) << shift 69608 if b < 0x80 { 69609 break 69610 } 69611 } 69612 intStringLen := int(stringLen) 69613 if intStringLen < 0 { 69614 return ErrInvalidLengthTypes 69615 } 69616 postIndex := iNdEx + intStringLen 69617 if postIndex < 0 { 69618 return ErrInvalidLengthTypes 69619 } 69620 if postIndex > l { 69621 return io.ErrUnexpectedEOF 69622 } 69623 m.Mode = string(dAtA[iNdEx:postIndex]) 69624 iNdEx = postIndex 69625 case 2: 69626 if wireType != 2 { 69627 return fmt.Errorf("proto: wrong wireType = %d for field ProxyChecksHostKeys", wireType) 69628 } 69629 var msglen int 69630 for shift := uint(0); ; shift += 7 { 69631 if shift >= 64 { 69632 return ErrIntOverflowTypes 69633 } 69634 if iNdEx >= l { 69635 return io.ErrUnexpectedEOF 69636 } 69637 b := dAtA[iNdEx] 69638 iNdEx++ 69639 msglen |= int(b&0x7F) << shift 69640 if b < 0x80 { 69641 break 69642 } 69643 } 69644 if msglen < 0 { 69645 return ErrInvalidLengthTypes 69646 } 69647 postIndex := iNdEx + msglen 69648 if postIndex < 0 { 69649 return ErrInvalidLengthTypes 69650 } 69651 if postIndex > l { 69652 return io.ErrUnexpectedEOF 69653 } 69654 if m.ProxyChecksHostKeys == nil { 69655 m.ProxyChecksHostKeys = &BoolOption{} 69656 } 69657 if err := m.ProxyChecksHostKeys.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 69658 return err 69659 } 69660 iNdEx = postIndex 69661 default: 69662 iNdEx = preIndex 69663 skippy, err := skipTypes(dAtA[iNdEx:]) 69664 if err != nil { 69665 return err 69666 } 69667 if (skippy < 0) || (iNdEx+skippy) < 0 { 69668 return ErrInvalidLengthTypes 69669 } 69670 if (iNdEx + skippy) > l { 69671 return io.ErrUnexpectedEOF 69672 } 69673 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69674 iNdEx += skippy 69675 } 69676 } 69677 69678 if iNdEx > l { 69679 return io.ErrUnexpectedEOF 69680 } 69681 return nil 69682 } 69683 func (m *AuthPreferenceV2) Unmarshal(dAtA []byte) error { 69684 l := len(dAtA) 69685 iNdEx := 0 69686 for iNdEx < l { 69687 preIndex := iNdEx 69688 var wire uint64 69689 for shift := uint(0); ; shift += 7 { 69690 if shift >= 64 { 69691 return ErrIntOverflowTypes 69692 } 69693 if iNdEx >= l { 69694 return io.ErrUnexpectedEOF 69695 } 69696 b := dAtA[iNdEx] 69697 iNdEx++ 69698 wire |= uint64(b&0x7F) << shift 69699 if b < 0x80 { 69700 break 69701 } 69702 } 69703 fieldNum := int32(wire >> 3) 69704 wireType := int(wire & 0x7) 69705 if wireType == 4 { 69706 return fmt.Errorf("proto: AuthPreferenceV2: wiretype end group for non-group") 69707 } 69708 if fieldNum <= 0 { 69709 return fmt.Errorf("proto: AuthPreferenceV2: illegal tag %d (wire type %d)", fieldNum, wire) 69710 } 69711 switch fieldNum { 69712 case 1: 69713 if wireType != 2 { 69714 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 69715 } 69716 var stringLen uint64 69717 for shift := uint(0); ; shift += 7 { 69718 if shift >= 64 { 69719 return ErrIntOverflowTypes 69720 } 69721 if iNdEx >= l { 69722 return io.ErrUnexpectedEOF 69723 } 69724 b := dAtA[iNdEx] 69725 iNdEx++ 69726 stringLen |= uint64(b&0x7F) << shift 69727 if b < 0x80 { 69728 break 69729 } 69730 } 69731 intStringLen := int(stringLen) 69732 if intStringLen < 0 { 69733 return ErrInvalidLengthTypes 69734 } 69735 postIndex := iNdEx + intStringLen 69736 if postIndex < 0 { 69737 return ErrInvalidLengthTypes 69738 } 69739 if postIndex > l { 69740 return io.ErrUnexpectedEOF 69741 } 69742 m.Kind = string(dAtA[iNdEx:postIndex]) 69743 iNdEx = postIndex 69744 case 2: 69745 if wireType != 2 { 69746 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 69747 } 69748 var stringLen uint64 69749 for shift := uint(0); ; shift += 7 { 69750 if shift >= 64 { 69751 return ErrIntOverflowTypes 69752 } 69753 if iNdEx >= l { 69754 return io.ErrUnexpectedEOF 69755 } 69756 b := dAtA[iNdEx] 69757 iNdEx++ 69758 stringLen |= uint64(b&0x7F) << shift 69759 if b < 0x80 { 69760 break 69761 } 69762 } 69763 intStringLen := int(stringLen) 69764 if intStringLen < 0 { 69765 return ErrInvalidLengthTypes 69766 } 69767 postIndex := iNdEx + intStringLen 69768 if postIndex < 0 { 69769 return ErrInvalidLengthTypes 69770 } 69771 if postIndex > l { 69772 return io.ErrUnexpectedEOF 69773 } 69774 m.SubKind = string(dAtA[iNdEx:postIndex]) 69775 iNdEx = postIndex 69776 case 3: 69777 if wireType != 2 { 69778 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 69779 } 69780 var stringLen uint64 69781 for shift := uint(0); ; shift += 7 { 69782 if shift >= 64 { 69783 return ErrIntOverflowTypes 69784 } 69785 if iNdEx >= l { 69786 return io.ErrUnexpectedEOF 69787 } 69788 b := dAtA[iNdEx] 69789 iNdEx++ 69790 stringLen |= uint64(b&0x7F) << shift 69791 if b < 0x80 { 69792 break 69793 } 69794 } 69795 intStringLen := int(stringLen) 69796 if intStringLen < 0 { 69797 return ErrInvalidLengthTypes 69798 } 69799 postIndex := iNdEx + intStringLen 69800 if postIndex < 0 { 69801 return ErrInvalidLengthTypes 69802 } 69803 if postIndex > l { 69804 return io.ErrUnexpectedEOF 69805 } 69806 m.Version = string(dAtA[iNdEx:postIndex]) 69807 iNdEx = postIndex 69808 case 4: 69809 if wireType != 2 { 69810 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 69811 } 69812 var msglen int 69813 for shift := uint(0); ; shift += 7 { 69814 if shift >= 64 { 69815 return ErrIntOverflowTypes 69816 } 69817 if iNdEx >= l { 69818 return io.ErrUnexpectedEOF 69819 } 69820 b := dAtA[iNdEx] 69821 iNdEx++ 69822 msglen |= int(b&0x7F) << shift 69823 if b < 0x80 { 69824 break 69825 } 69826 } 69827 if msglen < 0 { 69828 return ErrInvalidLengthTypes 69829 } 69830 postIndex := iNdEx + msglen 69831 if postIndex < 0 { 69832 return ErrInvalidLengthTypes 69833 } 69834 if postIndex > l { 69835 return io.ErrUnexpectedEOF 69836 } 69837 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 69838 return err 69839 } 69840 iNdEx = postIndex 69841 case 5: 69842 if wireType != 2 { 69843 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 69844 } 69845 var msglen int 69846 for shift := uint(0); ; shift += 7 { 69847 if shift >= 64 { 69848 return ErrIntOverflowTypes 69849 } 69850 if iNdEx >= l { 69851 return io.ErrUnexpectedEOF 69852 } 69853 b := dAtA[iNdEx] 69854 iNdEx++ 69855 msglen |= int(b&0x7F) << shift 69856 if b < 0x80 { 69857 break 69858 } 69859 } 69860 if msglen < 0 { 69861 return ErrInvalidLengthTypes 69862 } 69863 postIndex := iNdEx + msglen 69864 if postIndex < 0 { 69865 return ErrInvalidLengthTypes 69866 } 69867 if postIndex > l { 69868 return io.ErrUnexpectedEOF 69869 } 69870 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 69871 return err 69872 } 69873 iNdEx = postIndex 69874 default: 69875 iNdEx = preIndex 69876 skippy, err := skipTypes(dAtA[iNdEx:]) 69877 if err != nil { 69878 return err 69879 } 69880 if (skippy < 0) || (iNdEx+skippy) < 0 { 69881 return ErrInvalidLengthTypes 69882 } 69883 if (iNdEx + skippy) > l { 69884 return io.ErrUnexpectedEOF 69885 } 69886 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69887 iNdEx += skippy 69888 } 69889 } 69890 69891 if iNdEx > l { 69892 return io.ErrUnexpectedEOF 69893 } 69894 return nil 69895 } 69896 func (m *AuthPreferenceSpecV2) Unmarshal(dAtA []byte) error { 69897 l := len(dAtA) 69898 iNdEx := 0 69899 for iNdEx < l { 69900 preIndex := iNdEx 69901 var wire uint64 69902 for shift := uint(0); ; shift += 7 { 69903 if shift >= 64 { 69904 return ErrIntOverflowTypes 69905 } 69906 if iNdEx >= l { 69907 return io.ErrUnexpectedEOF 69908 } 69909 b := dAtA[iNdEx] 69910 iNdEx++ 69911 wire |= uint64(b&0x7F) << shift 69912 if b < 0x80 { 69913 break 69914 } 69915 } 69916 fieldNum := int32(wire >> 3) 69917 wireType := int(wire & 0x7) 69918 if wireType == 4 { 69919 return fmt.Errorf("proto: AuthPreferenceSpecV2: wiretype end group for non-group") 69920 } 69921 if fieldNum <= 0 { 69922 return fmt.Errorf("proto: AuthPreferenceSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 69923 } 69924 switch fieldNum { 69925 case 1: 69926 if wireType != 2 { 69927 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 69928 } 69929 var stringLen uint64 69930 for shift := uint(0); ; shift += 7 { 69931 if shift >= 64 { 69932 return ErrIntOverflowTypes 69933 } 69934 if iNdEx >= l { 69935 return io.ErrUnexpectedEOF 69936 } 69937 b := dAtA[iNdEx] 69938 iNdEx++ 69939 stringLen |= uint64(b&0x7F) << shift 69940 if b < 0x80 { 69941 break 69942 } 69943 } 69944 intStringLen := int(stringLen) 69945 if intStringLen < 0 { 69946 return ErrInvalidLengthTypes 69947 } 69948 postIndex := iNdEx + intStringLen 69949 if postIndex < 0 { 69950 return ErrInvalidLengthTypes 69951 } 69952 if postIndex > l { 69953 return io.ErrUnexpectedEOF 69954 } 69955 m.Type = string(dAtA[iNdEx:postIndex]) 69956 iNdEx = postIndex 69957 case 2: 69958 if wireType != 2 { 69959 return fmt.Errorf("proto: wrong wireType = %d for field SecondFactor", wireType) 69960 } 69961 var stringLen uint64 69962 for shift := uint(0); ; shift += 7 { 69963 if shift >= 64 { 69964 return ErrIntOverflowTypes 69965 } 69966 if iNdEx >= l { 69967 return io.ErrUnexpectedEOF 69968 } 69969 b := dAtA[iNdEx] 69970 iNdEx++ 69971 stringLen |= uint64(b&0x7F) << shift 69972 if b < 0x80 { 69973 break 69974 } 69975 } 69976 intStringLen := int(stringLen) 69977 if intStringLen < 0 { 69978 return ErrInvalidLengthTypes 69979 } 69980 postIndex := iNdEx + intStringLen 69981 if postIndex < 0 { 69982 return ErrInvalidLengthTypes 69983 } 69984 if postIndex > l { 69985 return io.ErrUnexpectedEOF 69986 } 69987 m.SecondFactor = github_com_gravitational_teleport_api_constants.SecondFactorType(dAtA[iNdEx:postIndex]) 69988 iNdEx = postIndex 69989 case 3: 69990 if wireType != 2 { 69991 return fmt.Errorf("proto: wrong wireType = %d for field ConnectorName", wireType) 69992 } 69993 var stringLen uint64 69994 for shift := uint(0); ; shift += 7 { 69995 if shift >= 64 { 69996 return ErrIntOverflowTypes 69997 } 69998 if iNdEx >= l { 69999 return io.ErrUnexpectedEOF 70000 } 70001 b := dAtA[iNdEx] 70002 iNdEx++ 70003 stringLen |= uint64(b&0x7F) << shift 70004 if b < 0x80 { 70005 break 70006 } 70007 } 70008 intStringLen := int(stringLen) 70009 if intStringLen < 0 { 70010 return ErrInvalidLengthTypes 70011 } 70012 postIndex := iNdEx + intStringLen 70013 if postIndex < 0 { 70014 return ErrInvalidLengthTypes 70015 } 70016 if postIndex > l { 70017 return io.ErrUnexpectedEOF 70018 } 70019 m.ConnectorName = string(dAtA[iNdEx:postIndex]) 70020 iNdEx = postIndex 70021 case 4: 70022 if wireType != 2 { 70023 return fmt.Errorf("proto: wrong wireType = %d for field U2F", wireType) 70024 } 70025 var msglen int 70026 for shift := uint(0); ; shift += 7 { 70027 if shift >= 64 { 70028 return ErrIntOverflowTypes 70029 } 70030 if iNdEx >= l { 70031 return io.ErrUnexpectedEOF 70032 } 70033 b := dAtA[iNdEx] 70034 iNdEx++ 70035 msglen |= int(b&0x7F) << shift 70036 if b < 0x80 { 70037 break 70038 } 70039 } 70040 if msglen < 0 { 70041 return ErrInvalidLengthTypes 70042 } 70043 postIndex := iNdEx + msglen 70044 if postIndex < 0 { 70045 return ErrInvalidLengthTypes 70046 } 70047 if postIndex > l { 70048 return io.ErrUnexpectedEOF 70049 } 70050 if m.U2F == nil { 70051 m.U2F = &U2F{} 70052 } 70053 if err := m.U2F.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 70054 return err 70055 } 70056 iNdEx = postIndex 70057 case 6: 70058 if wireType != 2 { 70059 return fmt.Errorf("proto: wrong wireType = %d for field DisconnectExpiredCert", wireType) 70060 } 70061 var msglen int 70062 for shift := uint(0); ; shift += 7 { 70063 if shift >= 64 { 70064 return ErrIntOverflowTypes 70065 } 70066 if iNdEx >= l { 70067 return io.ErrUnexpectedEOF 70068 } 70069 b := dAtA[iNdEx] 70070 iNdEx++ 70071 msglen |= int(b&0x7F) << shift 70072 if b < 0x80 { 70073 break 70074 } 70075 } 70076 if msglen < 0 { 70077 return ErrInvalidLengthTypes 70078 } 70079 postIndex := iNdEx + msglen 70080 if postIndex < 0 { 70081 return ErrInvalidLengthTypes 70082 } 70083 if postIndex > l { 70084 return io.ErrUnexpectedEOF 70085 } 70086 if m.DisconnectExpiredCert == nil { 70087 m.DisconnectExpiredCert = &BoolOption{} 70088 } 70089 if err := m.DisconnectExpiredCert.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 70090 return err 70091 } 70092 iNdEx = postIndex 70093 case 7: 70094 if wireType != 2 { 70095 return fmt.Errorf("proto: wrong wireType = %d for field AllowLocalAuth", wireType) 70096 } 70097 var msglen int 70098 for shift := uint(0); ; shift += 7 { 70099 if shift >= 64 { 70100 return ErrIntOverflowTypes 70101 } 70102 if iNdEx >= l { 70103 return io.ErrUnexpectedEOF 70104 } 70105 b := dAtA[iNdEx] 70106 iNdEx++ 70107 msglen |= int(b&0x7F) << shift 70108 if b < 0x80 { 70109 break 70110 } 70111 } 70112 if msglen < 0 { 70113 return ErrInvalidLengthTypes 70114 } 70115 postIndex := iNdEx + msglen 70116 if postIndex < 0 { 70117 return ErrInvalidLengthTypes 70118 } 70119 if postIndex > l { 70120 return io.ErrUnexpectedEOF 70121 } 70122 if m.AllowLocalAuth == nil { 70123 m.AllowLocalAuth = &BoolOption{} 70124 } 70125 if err := m.AllowLocalAuth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 70126 return err 70127 } 70128 iNdEx = postIndex 70129 case 8: 70130 if wireType != 2 { 70131 return fmt.Errorf("proto: wrong wireType = %d for field MessageOfTheDay", wireType) 70132 } 70133 var stringLen uint64 70134 for shift := uint(0); ; shift += 7 { 70135 if shift >= 64 { 70136 return ErrIntOverflowTypes 70137 } 70138 if iNdEx >= l { 70139 return io.ErrUnexpectedEOF 70140 } 70141 b := dAtA[iNdEx] 70142 iNdEx++ 70143 stringLen |= uint64(b&0x7F) << shift 70144 if b < 0x80 { 70145 break 70146 } 70147 } 70148 intStringLen := int(stringLen) 70149 if intStringLen < 0 { 70150 return ErrInvalidLengthTypes 70151 } 70152 postIndex := iNdEx + intStringLen 70153 if postIndex < 0 { 70154 return ErrInvalidLengthTypes 70155 } 70156 if postIndex > l { 70157 return io.ErrUnexpectedEOF 70158 } 70159 m.MessageOfTheDay = string(dAtA[iNdEx:postIndex]) 70160 iNdEx = postIndex 70161 case 9: 70162 if wireType != 2 { 70163 return fmt.Errorf("proto: wrong wireType = %d for field LockingMode", wireType) 70164 } 70165 var stringLen uint64 70166 for shift := uint(0); ; shift += 7 { 70167 if shift >= 64 { 70168 return ErrIntOverflowTypes 70169 } 70170 if iNdEx >= l { 70171 return io.ErrUnexpectedEOF 70172 } 70173 b := dAtA[iNdEx] 70174 iNdEx++ 70175 stringLen |= uint64(b&0x7F) << shift 70176 if b < 0x80 { 70177 break 70178 } 70179 } 70180 intStringLen := int(stringLen) 70181 if intStringLen < 0 { 70182 return ErrInvalidLengthTypes 70183 } 70184 postIndex := iNdEx + intStringLen 70185 if postIndex < 0 { 70186 return ErrInvalidLengthTypes 70187 } 70188 if postIndex > l { 70189 return io.ErrUnexpectedEOF 70190 } 70191 m.LockingMode = github_com_gravitational_teleport_api_constants.LockingMode(dAtA[iNdEx:postIndex]) 70192 iNdEx = postIndex 70193 case 10: 70194 if wireType != 2 { 70195 return fmt.Errorf("proto: wrong wireType = %d for field Webauthn", wireType) 70196 } 70197 var msglen int 70198 for shift := uint(0); ; shift += 7 { 70199 if shift >= 64 { 70200 return ErrIntOverflowTypes 70201 } 70202 if iNdEx >= l { 70203 return io.ErrUnexpectedEOF 70204 } 70205 b := dAtA[iNdEx] 70206 iNdEx++ 70207 msglen |= int(b&0x7F) << shift 70208 if b < 0x80 { 70209 break 70210 } 70211 } 70212 if msglen < 0 { 70213 return ErrInvalidLengthTypes 70214 } 70215 postIndex := iNdEx + msglen 70216 if postIndex < 0 { 70217 return ErrInvalidLengthTypes 70218 } 70219 if postIndex > l { 70220 return io.ErrUnexpectedEOF 70221 } 70222 if m.Webauthn == nil { 70223 m.Webauthn = &Webauthn{} 70224 } 70225 if err := m.Webauthn.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 70226 return err 70227 } 70228 iNdEx = postIndex 70229 case 11: 70230 if wireType != 2 { 70231 return fmt.Errorf("proto: wrong wireType = %d for field AllowPasswordless", wireType) 70232 } 70233 var msglen int 70234 for shift := uint(0); ; shift += 7 { 70235 if shift >= 64 { 70236 return ErrIntOverflowTypes 70237 } 70238 if iNdEx >= l { 70239 return io.ErrUnexpectedEOF 70240 } 70241 b := dAtA[iNdEx] 70242 iNdEx++ 70243 msglen |= int(b&0x7F) << shift 70244 if b < 0x80 { 70245 break 70246 } 70247 } 70248 if msglen < 0 { 70249 return ErrInvalidLengthTypes 70250 } 70251 postIndex := iNdEx + msglen 70252 if postIndex < 0 { 70253 return ErrInvalidLengthTypes 70254 } 70255 if postIndex > l { 70256 return io.ErrUnexpectedEOF 70257 } 70258 if m.AllowPasswordless == nil { 70259 m.AllowPasswordless = &BoolOption{} 70260 } 70261 if err := m.AllowPasswordless.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 70262 return err 70263 } 70264 iNdEx = postIndex 70265 case 12: 70266 if wireType != 0 { 70267 return fmt.Errorf("proto: wrong wireType = %d for field RequireMFAType", wireType) 70268 } 70269 m.RequireMFAType = 0 70270 for shift := uint(0); ; shift += 7 { 70271 if shift >= 64 { 70272 return ErrIntOverflowTypes 70273 } 70274 if iNdEx >= l { 70275 return io.ErrUnexpectedEOF 70276 } 70277 b := dAtA[iNdEx] 70278 iNdEx++ 70279 m.RequireMFAType |= RequireMFAType(b&0x7F) << shift 70280 if b < 0x80 { 70281 break 70282 } 70283 } 70284 case 13: 70285 if wireType != 2 { 70286 return fmt.Errorf("proto: wrong wireType = %d for field DeviceTrust", wireType) 70287 } 70288 var msglen int 70289 for shift := uint(0); ; shift += 7 { 70290 if shift >= 64 { 70291 return ErrIntOverflowTypes 70292 } 70293 if iNdEx >= l { 70294 return io.ErrUnexpectedEOF 70295 } 70296 b := dAtA[iNdEx] 70297 iNdEx++ 70298 msglen |= int(b&0x7F) << shift 70299 if b < 0x80 { 70300 break 70301 } 70302 } 70303 if msglen < 0 { 70304 return ErrInvalidLengthTypes 70305 } 70306 postIndex := iNdEx + msglen 70307 if postIndex < 0 { 70308 return ErrInvalidLengthTypes 70309 } 70310 if postIndex > l { 70311 return io.ErrUnexpectedEOF 70312 } 70313 if m.DeviceTrust == nil { 70314 m.DeviceTrust = &DeviceTrust{} 70315 } 70316 if err := m.DeviceTrust.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 70317 return err 70318 } 70319 iNdEx = postIndex 70320 case 14: 70321 if wireType != 2 { 70322 return fmt.Errorf("proto: wrong wireType = %d for field IDP", wireType) 70323 } 70324 var msglen int 70325 for shift := uint(0); ; shift += 7 { 70326 if shift >= 64 { 70327 return ErrIntOverflowTypes 70328 } 70329 if iNdEx >= l { 70330 return io.ErrUnexpectedEOF 70331 } 70332 b := dAtA[iNdEx] 70333 iNdEx++ 70334 msglen |= int(b&0x7F) << shift 70335 if b < 0x80 { 70336 break 70337 } 70338 } 70339 if msglen < 0 { 70340 return ErrInvalidLengthTypes 70341 } 70342 postIndex := iNdEx + msglen 70343 if postIndex < 0 { 70344 return ErrInvalidLengthTypes 70345 } 70346 if postIndex > l { 70347 return io.ErrUnexpectedEOF 70348 } 70349 if m.IDP == nil { 70350 m.IDP = &IdPOptions{} 70351 } 70352 if err := m.IDP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 70353 return err 70354 } 70355 iNdEx = postIndex 70356 case 15: 70357 if wireType != 2 { 70358 return fmt.Errorf("proto: wrong wireType = %d for field AllowHeadless", wireType) 70359 } 70360 var msglen int 70361 for shift := uint(0); ; shift += 7 { 70362 if shift >= 64 { 70363 return ErrIntOverflowTypes 70364 } 70365 if iNdEx >= l { 70366 return io.ErrUnexpectedEOF 70367 } 70368 b := dAtA[iNdEx] 70369 iNdEx++ 70370 msglen |= int(b&0x7F) << shift 70371 if b < 0x80 { 70372 break 70373 } 70374 } 70375 if msglen < 0 { 70376 return ErrInvalidLengthTypes 70377 } 70378 postIndex := iNdEx + msglen 70379 if postIndex < 0 { 70380 return ErrInvalidLengthTypes 70381 } 70382 if postIndex > l { 70383 return io.ErrUnexpectedEOF 70384 } 70385 if m.AllowHeadless == nil { 70386 m.AllowHeadless = &BoolOption{} 70387 } 70388 if err := m.AllowHeadless.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 70389 return err 70390 } 70391 iNdEx = postIndex 70392 case 16: 70393 if wireType != 0 { 70394 return fmt.Errorf("proto: wrong wireType = %d for field DefaultSessionTTL", wireType) 70395 } 70396 m.DefaultSessionTTL = 0 70397 for shift := uint(0); ; shift += 7 { 70398 if shift >= 64 { 70399 return ErrIntOverflowTypes 70400 } 70401 if iNdEx >= l { 70402 return io.ErrUnexpectedEOF 70403 } 70404 b := dAtA[iNdEx] 70405 iNdEx++ 70406 m.DefaultSessionTTL |= Duration(b&0x7F) << shift 70407 if b < 0x80 { 70408 break 70409 } 70410 } 70411 case 17: 70412 if wireType != 2 { 70413 return fmt.Errorf("proto: wrong wireType = %d for field Okta", wireType) 70414 } 70415 var msglen int 70416 for shift := uint(0); ; shift += 7 { 70417 if shift >= 64 { 70418 return ErrIntOverflowTypes 70419 } 70420 if iNdEx >= l { 70421 return io.ErrUnexpectedEOF 70422 } 70423 b := dAtA[iNdEx] 70424 iNdEx++ 70425 msglen |= int(b&0x7F) << shift 70426 if b < 0x80 { 70427 break 70428 } 70429 } 70430 if msglen < 0 { 70431 return ErrInvalidLengthTypes 70432 } 70433 postIndex := iNdEx + msglen 70434 if postIndex < 0 { 70435 return ErrInvalidLengthTypes 70436 } 70437 if postIndex > l { 70438 return io.ErrUnexpectedEOF 70439 } 70440 if m.Okta == nil { 70441 m.Okta = &OktaOptions{} 70442 } 70443 if err := m.Okta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 70444 return err 70445 } 70446 iNdEx = postIndex 70447 case 18: 70448 if wireType != 2 { 70449 return fmt.Errorf("proto: wrong wireType = %d for field PIVSlot", wireType) 70450 } 70451 var stringLen uint64 70452 for shift := uint(0); ; shift += 7 { 70453 if shift >= 64 { 70454 return ErrIntOverflowTypes 70455 } 70456 if iNdEx >= l { 70457 return io.ErrUnexpectedEOF 70458 } 70459 b := dAtA[iNdEx] 70460 iNdEx++ 70461 stringLen |= uint64(b&0x7F) << shift 70462 if b < 0x80 { 70463 break 70464 } 70465 } 70466 intStringLen := int(stringLen) 70467 if intStringLen < 0 { 70468 return ErrInvalidLengthTypes 70469 } 70470 postIndex := iNdEx + intStringLen 70471 if postIndex < 0 { 70472 return ErrInvalidLengthTypes 70473 } 70474 if postIndex > l { 70475 return io.ErrUnexpectedEOF 70476 } 70477 m.PIVSlot = string(dAtA[iNdEx:postIndex]) 70478 iNdEx = postIndex 70479 case 19: 70480 if wireType != 2 { 70481 return fmt.Errorf("proto: wrong wireType = %d for field HardwareKey", wireType) 70482 } 70483 var msglen int 70484 for shift := uint(0); ; shift += 7 { 70485 if shift >= 64 { 70486 return ErrIntOverflowTypes 70487 } 70488 if iNdEx >= l { 70489 return io.ErrUnexpectedEOF 70490 } 70491 b := dAtA[iNdEx] 70492 iNdEx++ 70493 msglen |= int(b&0x7F) << shift 70494 if b < 0x80 { 70495 break 70496 } 70497 } 70498 if msglen < 0 { 70499 return ErrInvalidLengthTypes 70500 } 70501 postIndex := iNdEx + msglen 70502 if postIndex < 0 { 70503 return ErrInvalidLengthTypes 70504 } 70505 if postIndex > l { 70506 return io.ErrUnexpectedEOF 70507 } 70508 if m.HardwareKey == nil { 70509 m.HardwareKey = &HardwareKey{} 70510 } 70511 if err := m.HardwareKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 70512 return err 70513 } 70514 iNdEx = postIndex 70515 default: 70516 iNdEx = preIndex 70517 skippy, err := skipTypes(dAtA[iNdEx:]) 70518 if err != nil { 70519 return err 70520 } 70521 if (skippy < 0) || (iNdEx+skippy) < 0 { 70522 return ErrInvalidLengthTypes 70523 } 70524 if (iNdEx + skippy) > l { 70525 return io.ErrUnexpectedEOF 70526 } 70527 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 70528 iNdEx += skippy 70529 } 70530 } 70531 70532 if iNdEx > l { 70533 return io.ErrUnexpectedEOF 70534 } 70535 return nil 70536 } 70537 func (m *U2F) Unmarshal(dAtA []byte) error { 70538 l := len(dAtA) 70539 iNdEx := 0 70540 for iNdEx < l { 70541 preIndex := iNdEx 70542 var wire uint64 70543 for shift := uint(0); ; shift += 7 { 70544 if shift >= 64 { 70545 return ErrIntOverflowTypes 70546 } 70547 if iNdEx >= l { 70548 return io.ErrUnexpectedEOF 70549 } 70550 b := dAtA[iNdEx] 70551 iNdEx++ 70552 wire |= uint64(b&0x7F) << shift 70553 if b < 0x80 { 70554 break 70555 } 70556 } 70557 fieldNum := int32(wire >> 3) 70558 wireType := int(wire & 0x7) 70559 if wireType == 4 { 70560 return fmt.Errorf("proto: U2F: wiretype end group for non-group") 70561 } 70562 if fieldNum <= 0 { 70563 return fmt.Errorf("proto: U2F: illegal tag %d (wire type %d)", fieldNum, wire) 70564 } 70565 switch fieldNum { 70566 case 1: 70567 if wireType != 2 { 70568 return fmt.Errorf("proto: wrong wireType = %d for field AppID", wireType) 70569 } 70570 var stringLen uint64 70571 for shift := uint(0); ; shift += 7 { 70572 if shift >= 64 { 70573 return ErrIntOverflowTypes 70574 } 70575 if iNdEx >= l { 70576 return io.ErrUnexpectedEOF 70577 } 70578 b := dAtA[iNdEx] 70579 iNdEx++ 70580 stringLen |= uint64(b&0x7F) << shift 70581 if b < 0x80 { 70582 break 70583 } 70584 } 70585 intStringLen := int(stringLen) 70586 if intStringLen < 0 { 70587 return ErrInvalidLengthTypes 70588 } 70589 postIndex := iNdEx + intStringLen 70590 if postIndex < 0 { 70591 return ErrInvalidLengthTypes 70592 } 70593 if postIndex > l { 70594 return io.ErrUnexpectedEOF 70595 } 70596 m.AppID = string(dAtA[iNdEx:postIndex]) 70597 iNdEx = postIndex 70598 case 2: 70599 if wireType != 2 { 70600 return fmt.Errorf("proto: wrong wireType = %d for field Facets", wireType) 70601 } 70602 var stringLen uint64 70603 for shift := uint(0); ; shift += 7 { 70604 if shift >= 64 { 70605 return ErrIntOverflowTypes 70606 } 70607 if iNdEx >= l { 70608 return io.ErrUnexpectedEOF 70609 } 70610 b := dAtA[iNdEx] 70611 iNdEx++ 70612 stringLen |= uint64(b&0x7F) << shift 70613 if b < 0x80 { 70614 break 70615 } 70616 } 70617 intStringLen := int(stringLen) 70618 if intStringLen < 0 { 70619 return ErrInvalidLengthTypes 70620 } 70621 postIndex := iNdEx + intStringLen 70622 if postIndex < 0 { 70623 return ErrInvalidLengthTypes 70624 } 70625 if postIndex > l { 70626 return io.ErrUnexpectedEOF 70627 } 70628 m.Facets = append(m.Facets, string(dAtA[iNdEx:postIndex])) 70629 iNdEx = postIndex 70630 case 3: 70631 if wireType != 2 { 70632 return fmt.Errorf("proto: wrong wireType = %d for field DeviceAttestationCAs", wireType) 70633 } 70634 var stringLen uint64 70635 for shift := uint(0); ; shift += 7 { 70636 if shift >= 64 { 70637 return ErrIntOverflowTypes 70638 } 70639 if iNdEx >= l { 70640 return io.ErrUnexpectedEOF 70641 } 70642 b := dAtA[iNdEx] 70643 iNdEx++ 70644 stringLen |= uint64(b&0x7F) << shift 70645 if b < 0x80 { 70646 break 70647 } 70648 } 70649 intStringLen := int(stringLen) 70650 if intStringLen < 0 { 70651 return ErrInvalidLengthTypes 70652 } 70653 postIndex := iNdEx + intStringLen 70654 if postIndex < 0 { 70655 return ErrInvalidLengthTypes 70656 } 70657 if postIndex > l { 70658 return io.ErrUnexpectedEOF 70659 } 70660 m.DeviceAttestationCAs = append(m.DeviceAttestationCAs, string(dAtA[iNdEx:postIndex])) 70661 iNdEx = postIndex 70662 default: 70663 iNdEx = preIndex 70664 skippy, err := skipTypes(dAtA[iNdEx:]) 70665 if err != nil { 70666 return err 70667 } 70668 if (skippy < 0) || (iNdEx+skippy) < 0 { 70669 return ErrInvalidLengthTypes 70670 } 70671 if (iNdEx + skippy) > l { 70672 return io.ErrUnexpectedEOF 70673 } 70674 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 70675 iNdEx += skippy 70676 } 70677 } 70678 70679 if iNdEx > l { 70680 return io.ErrUnexpectedEOF 70681 } 70682 return nil 70683 } 70684 func (m *Webauthn) Unmarshal(dAtA []byte) error { 70685 l := len(dAtA) 70686 iNdEx := 0 70687 for iNdEx < l { 70688 preIndex := iNdEx 70689 var wire uint64 70690 for shift := uint(0); ; shift += 7 { 70691 if shift >= 64 { 70692 return ErrIntOverflowTypes 70693 } 70694 if iNdEx >= l { 70695 return io.ErrUnexpectedEOF 70696 } 70697 b := dAtA[iNdEx] 70698 iNdEx++ 70699 wire |= uint64(b&0x7F) << shift 70700 if b < 0x80 { 70701 break 70702 } 70703 } 70704 fieldNum := int32(wire >> 3) 70705 wireType := int(wire & 0x7) 70706 if wireType == 4 { 70707 return fmt.Errorf("proto: Webauthn: wiretype end group for non-group") 70708 } 70709 if fieldNum <= 0 { 70710 return fmt.Errorf("proto: Webauthn: illegal tag %d (wire type %d)", fieldNum, wire) 70711 } 70712 switch fieldNum { 70713 case 1: 70714 if wireType != 2 { 70715 return fmt.Errorf("proto: wrong wireType = %d for field RPID", wireType) 70716 } 70717 var stringLen uint64 70718 for shift := uint(0); ; shift += 7 { 70719 if shift >= 64 { 70720 return ErrIntOverflowTypes 70721 } 70722 if iNdEx >= l { 70723 return io.ErrUnexpectedEOF 70724 } 70725 b := dAtA[iNdEx] 70726 iNdEx++ 70727 stringLen |= uint64(b&0x7F) << shift 70728 if b < 0x80 { 70729 break 70730 } 70731 } 70732 intStringLen := int(stringLen) 70733 if intStringLen < 0 { 70734 return ErrInvalidLengthTypes 70735 } 70736 postIndex := iNdEx + intStringLen 70737 if postIndex < 0 { 70738 return ErrInvalidLengthTypes 70739 } 70740 if postIndex > l { 70741 return io.ErrUnexpectedEOF 70742 } 70743 m.RPID = string(dAtA[iNdEx:postIndex]) 70744 iNdEx = postIndex 70745 case 2: 70746 if wireType != 2 { 70747 return fmt.Errorf("proto: wrong wireType = %d for field AttestationAllowedCAs", wireType) 70748 } 70749 var stringLen uint64 70750 for shift := uint(0); ; shift += 7 { 70751 if shift >= 64 { 70752 return ErrIntOverflowTypes 70753 } 70754 if iNdEx >= l { 70755 return io.ErrUnexpectedEOF 70756 } 70757 b := dAtA[iNdEx] 70758 iNdEx++ 70759 stringLen |= uint64(b&0x7F) << shift 70760 if b < 0x80 { 70761 break 70762 } 70763 } 70764 intStringLen := int(stringLen) 70765 if intStringLen < 0 { 70766 return ErrInvalidLengthTypes 70767 } 70768 postIndex := iNdEx + intStringLen 70769 if postIndex < 0 { 70770 return ErrInvalidLengthTypes 70771 } 70772 if postIndex > l { 70773 return io.ErrUnexpectedEOF 70774 } 70775 m.AttestationAllowedCAs = append(m.AttestationAllowedCAs, string(dAtA[iNdEx:postIndex])) 70776 iNdEx = postIndex 70777 case 3: 70778 if wireType != 2 { 70779 return fmt.Errorf("proto: wrong wireType = %d for field AttestationDeniedCAs", wireType) 70780 } 70781 var stringLen uint64 70782 for shift := uint(0); ; shift += 7 { 70783 if shift >= 64 { 70784 return ErrIntOverflowTypes 70785 } 70786 if iNdEx >= l { 70787 return io.ErrUnexpectedEOF 70788 } 70789 b := dAtA[iNdEx] 70790 iNdEx++ 70791 stringLen |= uint64(b&0x7F) << shift 70792 if b < 0x80 { 70793 break 70794 } 70795 } 70796 intStringLen := int(stringLen) 70797 if intStringLen < 0 { 70798 return ErrInvalidLengthTypes 70799 } 70800 postIndex := iNdEx + intStringLen 70801 if postIndex < 0 { 70802 return ErrInvalidLengthTypes 70803 } 70804 if postIndex > l { 70805 return io.ErrUnexpectedEOF 70806 } 70807 m.AttestationDeniedCAs = append(m.AttestationDeniedCAs, string(dAtA[iNdEx:postIndex])) 70808 iNdEx = postIndex 70809 default: 70810 iNdEx = preIndex 70811 skippy, err := skipTypes(dAtA[iNdEx:]) 70812 if err != nil { 70813 return err 70814 } 70815 if (skippy < 0) || (iNdEx+skippy) < 0 { 70816 return ErrInvalidLengthTypes 70817 } 70818 if (iNdEx + skippy) > l { 70819 return io.ErrUnexpectedEOF 70820 } 70821 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 70822 iNdEx += skippy 70823 } 70824 } 70825 70826 if iNdEx > l { 70827 return io.ErrUnexpectedEOF 70828 } 70829 return nil 70830 } 70831 func (m *DeviceTrust) Unmarshal(dAtA []byte) error { 70832 l := len(dAtA) 70833 iNdEx := 0 70834 for iNdEx < l { 70835 preIndex := iNdEx 70836 var wire uint64 70837 for shift := uint(0); ; shift += 7 { 70838 if shift >= 64 { 70839 return ErrIntOverflowTypes 70840 } 70841 if iNdEx >= l { 70842 return io.ErrUnexpectedEOF 70843 } 70844 b := dAtA[iNdEx] 70845 iNdEx++ 70846 wire |= uint64(b&0x7F) << shift 70847 if b < 0x80 { 70848 break 70849 } 70850 } 70851 fieldNum := int32(wire >> 3) 70852 wireType := int(wire & 0x7) 70853 if wireType == 4 { 70854 return fmt.Errorf("proto: DeviceTrust: wiretype end group for non-group") 70855 } 70856 if fieldNum <= 0 { 70857 return fmt.Errorf("proto: DeviceTrust: illegal tag %d (wire type %d)", fieldNum, wire) 70858 } 70859 switch fieldNum { 70860 case 1: 70861 if wireType != 2 { 70862 return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) 70863 } 70864 var stringLen uint64 70865 for shift := uint(0); ; shift += 7 { 70866 if shift >= 64 { 70867 return ErrIntOverflowTypes 70868 } 70869 if iNdEx >= l { 70870 return io.ErrUnexpectedEOF 70871 } 70872 b := dAtA[iNdEx] 70873 iNdEx++ 70874 stringLen |= uint64(b&0x7F) << shift 70875 if b < 0x80 { 70876 break 70877 } 70878 } 70879 intStringLen := int(stringLen) 70880 if intStringLen < 0 { 70881 return ErrInvalidLengthTypes 70882 } 70883 postIndex := iNdEx + intStringLen 70884 if postIndex < 0 { 70885 return ErrInvalidLengthTypes 70886 } 70887 if postIndex > l { 70888 return io.ErrUnexpectedEOF 70889 } 70890 m.Mode = string(dAtA[iNdEx:postIndex]) 70891 iNdEx = postIndex 70892 case 2: 70893 if wireType != 0 { 70894 return fmt.Errorf("proto: wrong wireType = %d for field AutoEnroll", wireType) 70895 } 70896 var v int 70897 for shift := uint(0); ; shift += 7 { 70898 if shift >= 64 { 70899 return ErrIntOverflowTypes 70900 } 70901 if iNdEx >= l { 70902 return io.ErrUnexpectedEOF 70903 } 70904 b := dAtA[iNdEx] 70905 iNdEx++ 70906 v |= int(b&0x7F) << shift 70907 if b < 0x80 { 70908 break 70909 } 70910 } 70911 m.AutoEnroll = bool(v != 0) 70912 case 3: 70913 if wireType != 2 { 70914 return fmt.Errorf("proto: wrong wireType = %d for field EKCertAllowedCAs", wireType) 70915 } 70916 var stringLen uint64 70917 for shift := uint(0); ; shift += 7 { 70918 if shift >= 64 { 70919 return ErrIntOverflowTypes 70920 } 70921 if iNdEx >= l { 70922 return io.ErrUnexpectedEOF 70923 } 70924 b := dAtA[iNdEx] 70925 iNdEx++ 70926 stringLen |= uint64(b&0x7F) << shift 70927 if b < 0x80 { 70928 break 70929 } 70930 } 70931 intStringLen := int(stringLen) 70932 if intStringLen < 0 { 70933 return ErrInvalidLengthTypes 70934 } 70935 postIndex := iNdEx + intStringLen 70936 if postIndex < 0 { 70937 return ErrInvalidLengthTypes 70938 } 70939 if postIndex > l { 70940 return io.ErrUnexpectedEOF 70941 } 70942 m.EKCertAllowedCAs = append(m.EKCertAllowedCAs, string(dAtA[iNdEx:postIndex])) 70943 iNdEx = postIndex 70944 default: 70945 iNdEx = preIndex 70946 skippy, err := skipTypes(dAtA[iNdEx:]) 70947 if err != nil { 70948 return err 70949 } 70950 if (skippy < 0) || (iNdEx+skippy) < 0 { 70951 return ErrInvalidLengthTypes 70952 } 70953 if (iNdEx + skippy) > l { 70954 return io.ErrUnexpectedEOF 70955 } 70956 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 70957 iNdEx += skippy 70958 } 70959 } 70960 70961 if iNdEx > l { 70962 return io.ErrUnexpectedEOF 70963 } 70964 return nil 70965 } 70966 func (m *HardwareKey) Unmarshal(dAtA []byte) error { 70967 l := len(dAtA) 70968 iNdEx := 0 70969 for iNdEx < l { 70970 preIndex := iNdEx 70971 var wire uint64 70972 for shift := uint(0); ; shift += 7 { 70973 if shift >= 64 { 70974 return ErrIntOverflowTypes 70975 } 70976 if iNdEx >= l { 70977 return io.ErrUnexpectedEOF 70978 } 70979 b := dAtA[iNdEx] 70980 iNdEx++ 70981 wire |= uint64(b&0x7F) << shift 70982 if b < 0x80 { 70983 break 70984 } 70985 } 70986 fieldNum := int32(wire >> 3) 70987 wireType := int(wire & 0x7) 70988 if wireType == 4 { 70989 return fmt.Errorf("proto: HardwareKey: wiretype end group for non-group") 70990 } 70991 if fieldNum <= 0 { 70992 return fmt.Errorf("proto: HardwareKey: illegal tag %d (wire type %d)", fieldNum, wire) 70993 } 70994 switch fieldNum { 70995 case 1: 70996 if wireType != 2 { 70997 return fmt.Errorf("proto: wrong wireType = %d for field PIVSlot", wireType) 70998 } 70999 var stringLen uint64 71000 for shift := uint(0); ; shift += 7 { 71001 if shift >= 64 { 71002 return ErrIntOverflowTypes 71003 } 71004 if iNdEx >= l { 71005 return io.ErrUnexpectedEOF 71006 } 71007 b := dAtA[iNdEx] 71008 iNdEx++ 71009 stringLen |= uint64(b&0x7F) << shift 71010 if b < 0x80 { 71011 break 71012 } 71013 } 71014 intStringLen := int(stringLen) 71015 if intStringLen < 0 { 71016 return ErrInvalidLengthTypes 71017 } 71018 postIndex := iNdEx + intStringLen 71019 if postIndex < 0 { 71020 return ErrInvalidLengthTypes 71021 } 71022 if postIndex > l { 71023 return io.ErrUnexpectedEOF 71024 } 71025 m.PIVSlot = string(dAtA[iNdEx:postIndex]) 71026 iNdEx = postIndex 71027 case 2: 71028 if wireType != 2 { 71029 return fmt.Errorf("proto: wrong wireType = %d for field SerialNumberValidation", wireType) 71030 } 71031 var msglen int 71032 for shift := uint(0); ; shift += 7 { 71033 if shift >= 64 { 71034 return ErrIntOverflowTypes 71035 } 71036 if iNdEx >= l { 71037 return io.ErrUnexpectedEOF 71038 } 71039 b := dAtA[iNdEx] 71040 iNdEx++ 71041 msglen |= int(b&0x7F) << shift 71042 if b < 0x80 { 71043 break 71044 } 71045 } 71046 if msglen < 0 { 71047 return ErrInvalidLengthTypes 71048 } 71049 postIndex := iNdEx + msglen 71050 if postIndex < 0 { 71051 return ErrInvalidLengthTypes 71052 } 71053 if postIndex > l { 71054 return io.ErrUnexpectedEOF 71055 } 71056 if m.SerialNumberValidation == nil { 71057 m.SerialNumberValidation = &HardwareKeySerialNumberValidation{} 71058 } 71059 if err := m.SerialNumberValidation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 71060 return err 71061 } 71062 iNdEx = postIndex 71063 default: 71064 iNdEx = preIndex 71065 skippy, err := skipTypes(dAtA[iNdEx:]) 71066 if err != nil { 71067 return err 71068 } 71069 if (skippy < 0) || (iNdEx+skippy) < 0 { 71070 return ErrInvalidLengthTypes 71071 } 71072 if (iNdEx + skippy) > l { 71073 return io.ErrUnexpectedEOF 71074 } 71075 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 71076 iNdEx += skippy 71077 } 71078 } 71079 71080 if iNdEx > l { 71081 return io.ErrUnexpectedEOF 71082 } 71083 return nil 71084 } 71085 func (m *HardwareKeySerialNumberValidation) Unmarshal(dAtA []byte) error { 71086 l := len(dAtA) 71087 iNdEx := 0 71088 for iNdEx < l { 71089 preIndex := iNdEx 71090 var wire uint64 71091 for shift := uint(0); ; shift += 7 { 71092 if shift >= 64 { 71093 return ErrIntOverflowTypes 71094 } 71095 if iNdEx >= l { 71096 return io.ErrUnexpectedEOF 71097 } 71098 b := dAtA[iNdEx] 71099 iNdEx++ 71100 wire |= uint64(b&0x7F) << shift 71101 if b < 0x80 { 71102 break 71103 } 71104 } 71105 fieldNum := int32(wire >> 3) 71106 wireType := int(wire & 0x7) 71107 if wireType == 4 { 71108 return fmt.Errorf("proto: HardwareKeySerialNumberValidation: wiretype end group for non-group") 71109 } 71110 if fieldNum <= 0 { 71111 return fmt.Errorf("proto: HardwareKeySerialNumberValidation: illegal tag %d (wire type %d)", fieldNum, wire) 71112 } 71113 switch fieldNum { 71114 case 1: 71115 if wireType != 0 { 71116 return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) 71117 } 71118 var v int 71119 for shift := uint(0); ; shift += 7 { 71120 if shift >= 64 { 71121 return ErrIntOverflowTypes 71122 } 71123 if iNdEx >= l { 71124 return io.ErrUnexpectedEOF 71125 } 71126 b := dAtA[iNdEx] 71127 iNdEx++ 71128 v |= int(b&0x7F) << shift 71129 if b < 0x80 { 71130 break 71131 } 71132 } 71133 m.Enabled = bool(v != 0) 71134 case 2: 71135 if wireType != 2 { 71136 return fmt.Errorf("proto: wrong wireType = %d for field SerialNumberTraitName", wireType) 71137 } 71138 var stringLen uint64 71139 for shift := uint(0); ; shift += 7 { 71140 if shift >= 64 { 71141 return ErrIntOverflowTypes 71142 } 71143 if iNdEx >= l { 71144 return io.ErrUnexpectedEOF 71145 } 71146 b := dAtA[iNdEx] 71147 iNdEx++ 71148 stringLen |= uint64(b&0x7F) << shift 71149 if b < 0x80 { 71150 break 71151 } 71152 } 71153 intStringLen := int(stringLen) 71154 if intStringLen < 0 { 71155 return ErrInvalidLengthTypes 71156 } 71157 postIndex := iNdEx + intStringLen 71158 if postIndex < 0 { 71159 return ErrInvalidLengthTypes 71160 } 71161 if postIndex > l { 71162 return io.ErrUnexpectedEOF 71163 } 71164 m.SerialNumberTraitName = string(dAtA[iNdEx:postIndex]) 71165 iNdEx = postIndex 71166 default: 71167 iNdEx = preIndex 71168 skippy, err := skipTypes(dAtA[iNdEx:]) 71169 if err != nil { 71170 return err 71171 } 71172 if (skippy < 0) || (iNdEx+skippy) < 0 { 71173 return ErrInvalidLengthTypes 71174 } 71175 if (iNdEx + skippy) > l { 71176 return io.ErrUnexpectedEOF 71177 } 71178 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 71179 iNdEx += skippy 71180 } 71181 } 71182 71183 if iNdEx > l { 71184 return io.ErrUnexpectedEOF 71185 } 71186 return nil 71187 } 71188 func (m *Namespace) Unmarshal(dAtA []byte) error { 71189 l := len(dAtA) 71190 iNdEx := 0 71191 for iNdEx < l { 71192 preIndex := iNdEx 71193 var wire uint64 71194 for shift := uint(0); ; shift += 7 { 71195 if shift >= 64 { 71196 return ErrIntOverflowTypes 71197 } 71198 if iNdEx >= l { 71199 return io.ErrUnexpectedEOF 71200 } 71201 b := dAtA[iNdEx] 71202 iNdEx++ 71203 wire |= uint64(b&0x7F) << shift 71204 if b < 0x80 { 71205 break 71206 } 71207 } 71208 fieldNum := int32(wire >> 3) 71209 wireType := int(wire & 0x7) 71210 if wireType == 4 { 71211 return fmt.Errorf("proto: Namespace: wiretype end group for non-group") 71212 } 71213 if fieldNum <= 0 { 71214 return fmt.Errorf("proto: Namespace: illegal tag %d (wire type %d)", fieldNum, wire) 71215 } 71216 switch fieldNum { 71217 case 1: 71218 if wireType != 2 { 71219 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 71220 } 71221 var stringLen uint64 71222 for shift := uint(0); ; shift += 7 { 71223 if shift >= 64 { 71224 return ErrIntOverflowTypes 71225 } 71226 if iNdEx >= l { 71227 return io.ErrUnexpectedEOF 71228 } 71229 b := dAtA[iNdEx] 71230 iNdEx++ 71231 stringLen |= uint64(b&0x7F) << shift 71232 if b < 0x80 { 71233 break 71234 } 71235 } 71236 intStringLen := int(stringLen) 71237 if intStringLen < 0 { 71238 return ErrInvalidLengthTypes 71239 } 71240 postIndex := iNdEx + intStringLen 71241 if postIndex < 0 { 71242 return ErrInvalidLengthTypes 71243 } 71244 if postIndex > l { 71245 return io.ErrUnexpectedEOF 71246 } 71247 m.Kind = string(dAtA[iNdEx:postIndex]) 71248 iNdEx = postIndex 71249 case 2: 71250 if wireType != 2 { 71251 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 71252 } 71253 var stringLen uint64 71254 for shift := uint(0); ; shift += 7 { 71255 if shift >= 64 { 71256 return ErrIntOverflowTypes 71257 } 71258 if iNdEx >= l { 71259 return io.ErrUnexpectedEOF 71260 } 71261 b := dAtA[iNdEx] 71262 iNdEx++ 71263 stringLen |= uint64(b&0x7F) << shift 71264 if b < 0x80 { 71265 break 71266 } 71267 } 71268 intStringLen := int(stringLen) 71269 if intStringLen < 0 { 71270 return ErrInvalidLengthTypes 71271 } 71272 postIndex := iNdEx + intStringLen 71273 if postIndex < 0 { 71274 return ErrInvalidLengthTypes 71275 } 71276 if postIndex > l { 71277 return io.ErrUnexpectedEOF 71278 } 71279 m.SubKind = string(dAtA[iNdEx:postIndex]) 71280 iNdEx = postIndex 71281 case 3: 71282 if wireType != 2 { 71283 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 71284 } 71285 var stringLen uint64 71286 for shift := uint(0); ; shift += 7 { 71287 if shift >= 64 { 71288 return ErrIntOverflowTypes 71289 } 71290 if iNdEx >= l { 71291 return io.ErrUnexpectedEOF 71292 } 71293 b := dAtA[iNdEx] 71294 iNdEx++ 71295 stringLen |= uint64(b&0x7F) << shift 71296 if b < 0x80 { 71297 break 71298 } 71299 } 71300 intStringLen := int(stringLen) 71301 if intStringLen < 0 { 71302 return ErrInvalidLengthTypes 71303 } 71304 postIndex := iNdEx + intStringLen 71305 if postIndex < 0 { 71306 return ErrInvalidLengthTypes 71307 } 71308 if postIndex > l { 71309 return io.ErrUnexpectedEOF 71310 } 71311 m.Version = string(dAtA[iNdEx:postIndex]) 71312 iNdEx = postIndex 71313 case 4: 71314 if wireType != 2 { 71315 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 71316 } 71317 var msglen int 71318 for shift := uint(0); ; shift += 7 { 71319 if shift >= 64 { 71320 return ErrIntOverflowTypes 71321 } 71322 if iNdEx >= l { 71323 return io.ErrUnexpectedEOF 71324 } 71325 b := dAtA[iNdEx] 71326 iNdEx++ 71327 msglen |= int(b&0x7F) << shift 71328 if b < 0x80 { 71329 break 71330 } 71331 } 71332 if msglen < 0 { 71333 return ErrInvalidLengthTypes 71334 } 71335 postIndex := iNdEx + msglen 71336 if postIndex < 0 { 71337 return ErrInvalidLengthTypes 71338 } 71339 if postIndex > l { 71340 return io.ErrUnexpectedEOF 71341 } 71342 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 71343 return err 71344 } 71345 iNdEx = postIndex 71346 case 5: 71347 if wireType != 2 { 71348 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 71349 } 71350 var msglen int 71351 for shift := uint(0); ; shift += 7 { 71352 if shift >= 64 { 71353 return ErrIntOverflowTypes 71354 } 71355 if iNdEx >= l { 71356 return io.ErrUnexpectedEOF 71357 } 71358 b := dAtA[iNdEx] 71359 iNdEx++ 71360 msglen |= int(b&0x7F) << shift 71361 if b < 0x80 { 71362 break 71363 } 71364 } 71365 if msglen < 0 { 71366 return ErrInvalidLengthTypes 71367 } 71368 postIndex := iNdEx + msglen 71369 if postIndex < 0 { 71370 return ErrInvalidLengthTypes 71371 } 71372 if postIndex > l { 71373 return io.ErrUnexpectedEOF 71374 } 71375 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 71376 return err 71377 } 71378 iNdEx = postIndex 71379 default: 71380 iNdEx = preIndex 71381 skippy, err := skipTypes(dAtA[iNdEx:]) 71382 if err != nil { 71383 return err 71384 } 71385 if (skippy < 0) || (iNdEx+skippy) < 0 { 71386 return ErrInvalidLengthTypes 71387 } 71388 if (iNdEx + skippy) > l { 71389 return io.ErrUnexpectedEOF 71390 } 71391 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 71392 iNdEx += skippy 71393 } 71394 } 71395 71396 if iNdEx > l { 71397 return io.ErrUnexpectedEOF 71398 } 71399 return nil 71400 } 71401 func (m *NamespaceSpec) Unmarshal(dAtA []byte) error { 71402 l := len(dAtA) 71403 iNdEx := 0 71404 for iNdEx < l { 71405 preIndex := iNdEx 71406 var wire uint64 71407 for shift := uint(0); ; shift += 7 { 71408 if shift >= 64 { 71409 return ErrIntOverflowTypes 71410 } 71411 if iNdEx >= l { 71412 return io.ErrUnexpectedEOF 71413 } 71414 b := dAtA[iNdEx] 71415 iNdEx++ 71416 wire |= uint64(b&0x7F) << shift 71417 if b < 0x80 { 71418 break 71419 } 71420 } 71421 fieldNum := int32(wire >> 3) 71422 wireType := int(wire & 0x7) 71423 if wireType == 4 { 71424 return fmt.Errorf("proto: NamespaceSpec: wiretype end group for non-group") 71425 } 71426 if fieldNum <= 0 { 71427 return fmt.Errorf("proto: NamespaceSpec: illegal tag %d (wire type %d)", fieldNum, wire) 71428 } 71429 switch fieldNum { 71430 default: 71431 iNdEx = preIndex 71432 skippy, err := skipTypes(dAtA[iNdEx:]) 71433 if err != nil { 71434 return err 71435 } 71436 if (skippy < 0) || (iNdEx+skippy) < 0 { 71437 return ErrInvalidLengthTypes 71438 } 71439 if (iNdEx + skippy) > l { 71440 return io.ErrUnexpectedEOF 71441 } 71442 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 71443 iNdEx += skippy 71444 } 71445 } 71446 71447 if iNdEx > l { 71448 return io.ErrUnexpectedEOF 71449 } 71450 return nil 71451 } 71452 func (m *UserTokenV3) Unmarshal(dAtA []byte) error { 71453 l := len(dAtA) 71454 iNdEx := 0 71455 for iNdEx < l { 71456 preIndex := iNdEx 71457 var wire uint64 71458 for shift := uint(0); ; shift += 7 { 71459 if shift >= 64 { 71460 return ErrIntOverflowTypes 71461 } 71462 if iNdEx >= l { 71463 return io.ErrUnexpectedEOF 71464 } 71465 b := dAtA[iNdEx] 71466 iNdEx++ 71467 wire |= uint64(b&0x7F) << shift 71468 if b < 0x80 { 71469 break 71470 } 71471 } 71472 fieldNum := int32(wire >> 3) 71473 wireType := int(wire & 0x7) 71474 if wireType == 4 { 71475 return fmt.Errorf("proto: UserTokenV3: wiretype end group for non-group") 71476 } 71477 if fieldNum <= 0 { 71478 return fmt.Errorf("proto: UserTokenV3: illegal tag %d (wire type %d)", fieldNum, wire) 71479 } 71480 switch fieldNum { 71481 case 1: 71482 if wireType != 2 { 71483 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 71484 } 71485 var stringLen uint64 71486 for shift := uint(0); ; shift += 7 { 71487 if shift >= 64 { 71488 return ErrIntOverflowTypes 71489 } 71490 if iNdEx >= l { 71491 return io.ErrUnexpectedEOF 71492 } 71493 b := dAtA[iNdEx] 71494 iNdEx++ 71495 stringLen |= uint64(b&0x7F) << shift 71496 if b < 0x80 { 71497 break 71498 } 71499 } 71500 intStringLen := int(stringLen) 71501 if intStringLen < 0 { 71502 return ErrInvalidLengthTypes 71503 } 71504 postIndex := iNdEx + intStringLen 71505 if postIndex < 0 { 71506 return ErrInvalidLengthTypes 71507 } 71508 if postIndex > l { 71509 return io.ErrUnexpectedEOF 71510 } 71511 m.Kind = string(dAtA[iNdEx:postIndex]) 71512 iNdEx = postIndex 71513 case 2: 71514 if wireType != 2 { 71515 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 71516 } 71517 var stringLen uint64 71518 for shift := uint(0); ; shift += 7 { 71519 if shift >= 64 { 71520 return ErrIntOverflowTypes 71521 } 71522 if iNdEx >= l { 71523 return io.ErrUnexpectedEOF 71524 } 71525 b := dAtA[iNdEx] 71526 iNdEx++ 71527 stringLen |= uint64(b&0x7F) << shift 71528 if b < 0x80 { 71529 break 71530 } 71531 } 71532 intStringLen := int(stringLen) 71533 if intStringLen < 0 { 71534 return ErrInvalidLengthTypes 71535 } 71536 postIndex := iNdEx + intStringLen 71537 if postIndex < 0 { 71538 return ErrInvalidLengthTypes 71539 } 71540 if postIndex > l { 71541 return io.ErrUnexpectedEOF 71542 } 71543 m.SubKind = string(dAtA[iNdEx:postIndex]) 71544 iNdEx = postIndex 71545 case 3: 71546 if wireType != 2 { 71547 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 71548 } 71549 var stringLen uint64 71550 for shift := uint(0); ; shift += 7 { 71551 if shift >= 64 { 71552 return ErrIntOverflowTypes 71553 } 71554 if iNdEx >= l { 71555 return io.ErrUnexpectedEOF 71556 } 71557 b := dAtA[iNdEx] 71558 iNdEx++ 71559 stringLen |= uint64(b&0x7F) << shift 71560 if b < 0x80 { 71561 break 71562 } 71563 } 71564 intStringLen := int(stringLen) 71565 if intStringLen < 0 { 71566 return ErrInvalidLengthTypes 71567 } 71568 postIndex := iNdEx + intStringLen 71569 if postIndex < 0 { 71570 return ErrInvalidLengthTypes 71571 } 71572 if postIndex > l { 71573 return io.ErrUnexpectedEOF 71574 } 71575 m.Version = string(dAtA[iNdEx:postIndex]) 71576 iNdEx = postIndex 71577 case 4: 71578 if wireType != 2 { 71579 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 71580 } 71581 var msglen int 71582 for shift := uint(0); ; shift += 7 { 71583 if shift >= 64 { 71584 return ErrIntOverflowTypes 71585 } 71586 if iNdEx >= l { 71587 return io.ErrUnexpectedEOF 71588 } 71589 b := dAtA[iNdEx] 71590 iNdEx++ 71591 msglen |= int(b&0x7F) << shift 71592 if b < 0x80 { 71593 break 71594 } 71595 } 71596 if msglen < 0 { 71597 return ErrInvalidLengthTypes 71598 } 71599 postIndex := iNdEx + msglen 71600 if postIndex < 0 { 71601 return ErrInvalidLengthTypes 71602 } 71603 if postIndex > l { 71604 return io.ErrUnexpectedEOF 71605 } 71606 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 71607 return err 71608 } 71609 iNdEx = postIndex 71610 case 5: 71611 if wireType != 2 { 71612 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 71613 } 71614 var msglen int 71615 for shift := uint(0); ; shift += 7 { 71616 if shift >= 64 { 71617 return ErrIntOverflowTypes 71618 } 71619 if iNdEx >= l { 71620 return io.ErrUnexpectedEOF 71621 } 71622 b := dAtA[iNdEx] 71623 iNdEx++ 71624 msglen |= int(b&0x7F) << shift 71625 if b < 0x80 { 71626 break 71627 } 71628 } 71629 if msglen < 0 { 71630 return ErrInvalidLengthTypes 71631 } 71632 postIndex := iNdEx + msglen 71633 if postIndex < 0 { 71634 return ErrInvalidLengthTypes 71635 } 71636 if postIndex > l { 71637 return io.ErrUnexpectedEOF 71638 } 71639 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 71640 return err 71641 } 71642 iNdEx = postIndex 71643 default: 71644 iNdEx = preIndex 71645 skippy, err := skipTypes(dAtA[iNdEx:]) 71646 if err != nil { 71647 return err 71648 } 71649 if (skippy < 0) || (iNdEx+skippy) < 0 { 71650 return ErrInvalidLengthTypes 71651 } 71652 if (iNdEx + skippy) > l { 71653 return io.ErrUnexpectedEOF 71654 } 71655 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 71656 iNdEx += skippy 71657 } 71658 } 71659 71660 if iNdEx > l { 71661 return io.ErrUnexpectedEOF 71662 } 71663 return nil 71664 } 71665 func (m *UserTokenSpecV3) Unmarshal(dAtA []byte) error { 71666 l := len(dAtA) 71667 iNdEx := 0 71668 for iNdEx < l { 71669 preIndex := iNdEx 71670 var wire uint64 71671 for shift := uint(0); ; shift += 7 { 71672 if shift >= 64 { 71673 return ErrIntOverflowTypes 71674 } 71675 if iNdEx >= l { 71676 return io.ErrUnexpectedEOF 71677 } 71678 b := dAtA[iNdEx] 71679 iNdEx++ 71680 wire |= uint64(b&0x7F) << shift 71681 if b < 0x80 { 71682 break 71683 } 71684 } 71685 fieldNum := int32(wire >> 3) 71686 wireType := int(wire & 0x7) 71687 if wireType == 4 { 71688 return fmt.Errorf("proto: UserTokenSpecV3: wiretype end group for non-group") 71689 } 71690 if fieldNum <= 0 { 71691 return fmt.Errorf("proto: UserTokenSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 71692 } 71693 switch fieldNum { 71694 case 1: 71695 if wireType != 2 { 71696 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 71697 } 71698 var stringLen uint64 71699 for shift := uint(0); ; shift += 7 { 71700 if shift >= 64 { 71701 return ErrIntOverflowTypes 71702 } 71703 if iNdEx >= l { 71704 return io.ErrUnexpectedEOF 71705 } 71706 b := dAtA[iNdEx] 71707 iNdEx++ 71708 stringLen |= uint64(b&0x7F) << shift 71709 if b < 0x80 { 71710 break 71711 } 71712 } 71713 intStringLen := int(stringLen) 71714 if intStringLen < 0 { 71715 return ErrInvalidLengthTypes 71716 } 71717 postIndex := iNdEx + intStringLen 71718 if postIndex < 0 { 71719 return ErrInvalidLengthTypes 71720 } 71721 if postIndex > l { 71722 return io.ErrUnexpectedEOF 71723 } 71724 m.User = string(dAtA[iNdEx:postIndex]) 71725 iNdEx = postIndex 71726 case 2: 71727 if wireType != 2 { 71728 return fmt.Errorf("proto: wrong wireType = %d for field URL", wireType) 71729 } 71730 var stringLen uint64 71731 for shift := uint(0); ; shift += 7 { 71732 if shift >= 64 { 71733 return ErrIntOverflowTypes 71734 } 71735 if iNdEx >= l { 71736 return io.ErrUnexpectedEOF 71737 } 71738 b := dAtA[iNdEx] 71739 iNdEx++ 71740 stringLen |= uint64(b&0x7F) << shift 71741 if b < 0x80 { 71742 break 71743 } 71744 } 71745 intStringLen := int(stringLen) 71746 if intStringLen < 0 { 71747 return ErrInvalidLengthTypes 71748 } 71749 postIndex := iNdEx + intStringLen 71750 if postIndex < 0 { 71751 return ErrInvalidLengthTypes 71752 } 71753 if postIndex > l { 71754 return io.ErrUnexpectedEOF 71755 } 71756 m.URL = string(dAtA[iNdEx:postIndex]) 71757 iNdEx = postIndex 71758 case 3: 71759 if wireType != 0 { 71760 return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType) 71761 } 71762 m.Usage = 0 71763 for shift := uint(0); ; shift += 7 { 71764 if shift >= 64 { 71765 return ErrIntOverflowTypes 71766 } 71767 if iNdEx >= l { 71768 return io.ErrUnexpectedEOF 71769 } 71770 b := dAtA[iNdEx] 71771 iNdEx++ 71772 m.Usage |= UserTokenUsage(b&0x7F) << shift 71773 if b < 0x80 { 71774 break 71775 } 71776 } 71777 case 4: 71778 if wireType != 2 { 71779 return fmt.Errorf("proto: wrong wireType = %d for field Created", wireType) 71780 } 71781 var msglen int 71782 for shift := uint(0); ; shift += 7 { 71783 if shift >= 64 { 71784 return ErrIntOverflowTypes 71785 } 71786 if iNdEx >= l { 71787 return io.ErrUnexpectedEOF 71788 } 71789 b := dAtA[iNdEx] 71790 iNdEx++ 71791 msglen |= int(b&0x7F) << shift 71792 if b < 0x80 { 71793 break 71794 } 71795 } 71796 if msglen < 0 { 71797 return ErrInvalidLengthTypes 71798 } 71799 postIndex := iNdEx + msglen 71800 if postIndex < 0 { 71801 return ErrInvalidLengthTypes 71802 } 71803 if postIndex > l { 71804 return io.ErrUnexpectedEOF 71805 } 71806 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Created, dAtA[iNdEx:postIndex]); err != nil { 71807 return err 71808 } 71809 iNdEx = postIndex 71810 default: 71811 iNdEx = preIndex 71812 skippy, err := skipTypes(dAtA[iNdEx:]) 71813 if err != nil { 71814 return err 71815 } 71816 if (skippy < 0) || (iNdEx+skippy) < 0 { 71817 return ErrInvalidLengthTypes 71818 } 71819 if (iNdEx + skippy) > l { 71820 return io.ErrUnexpectedEOF 71821 } 71822 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 71823 iNdEx += skippy 71824 } 71825 } 71826 71827 if iNdEx > l { 71828 return io.ErrUnexpectedEOF 71829 } 71830 return nil 71831 } 71832 func (m *UserTokenSecretsV3) Unmarshal(dAtA []byte) error { 71833 l := len(dAtA) 71834 iNdEx := 0 71835 for iNdEx < l { 71836 preIndex := iNdEx 71837 var wire uint64 71838 for shift := uint(0); ; shift += 7 { 71839 if shift >= 64 { 71840 return ErrIntOverflowTypes 71841 } 71842 if iNdEx >= l { 71843 return io.ErrUnexpectedEOF 71844 } 71845 b := dAtA[iNdEx] 71846 iNdEx++ 71847 wire |= uint64(b&0x7F) << shift 71848 if b < 0x80 { 71849 break 71850 } 71851 } 71852 fieldNum := int32(wire >> 3) 71853 wireType := int(wire & 0x7) 71854 if wireType == 4 { 71855 return fmt.Errorf("proto: UserTokenSecretsV3: wiretype end group for non-group") 71856 } 71857 if fieldNum <= 0 { 71858 return fmt.Errorf("proto: UserTokenSecretsV3: illegal tag %d (wire type %d)", fieldNum, wire) 71859 } 71860 switch fieldNum { 71861 case 1: 71862 if wireType != 2 { 71863 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 71864 } 71865 var stringLen uint64 71866 for shift := uint(0); ; shift += 7 { 71867 if shift >= 64 { 71868 return ErrIntOverflowTypes 71869 } 71870 if iNdEx >= l { 71871 return io.ErrUnexpectedEOF 71872 } 71873 b := dAtA[iNdEx] 71874 iNdEx++ 71875 stringLen |= uint64(b&0x7F) << shift 71876 if b < 0x80 { 71877 break 71878 } 71879 } 71880 intStringLen := int(stringLen) 71881 if intStringLen < 0 { 71882 return ErrInvalidLengthTypes 71883 } 71884 postIndex := iNdEx + intStringLen 71885 if postIndex < 0 { 71886 return ErrInvalidLengthTypes 71887 } 71888 if postIndex > l { 71889 return io.ErrUnexpectedEOF 71890 } 71891 m.Kind = string(dAtA[iNdEx:postIndex]) 71892 iNdEx = postIndex 71893 case 2: 71894 if wireType != 2 { 71895 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 71896 } 71897 var stringLen uint64 71898 for shift := uint(0); ; shift += 7 { 71899 if shift >= 64 { 71900 return ErrIntOverflowTypes 71901 } 71902 if iNdEx >= l { 71903 return io.ErrUnexpectedEOF 71904 } 71905 b := dAtA[iNdEx] 71906 iNdEx++ 71907 stringLen |= uint64(b&0x7F) << shift 71908 if b < 0x80 { 71909 break 71910 } 71911 } 71912 intStringLen := int(stringLen) 71913 if intStringLen < 0 { 71914 return ErrInvalidLengthTypes 71915 } 71916 postIndex := iNdEx + intStringLen 71917 if postIndex < 0 { 71918 return ErrInvalidLengthTypes 71919 } 71920 if postIndex > l { 71921 return io.ErrUnexpectedEOF 71922 } 71923 m.SubKind = string(dAtA[iNdEx:postIndex]) 71924 iNdEx = postIndex 71925 case 3: 71926 if wireType != 2 { 71927 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 71928 } 71929 var stringLen uint64 71930 for shift := uint(0); ; shift += 7 { 71931 if shift >= 64 { 71932 return ErrIntOverflowTypes 71933 } 71934 if iNdEx >= l { 71935 return io.ErrUnexpectedEOF 71936 } 71937 b := dAtA[iNdEx] 71938 iNdEx++ 71939 stringLen |= uint64(b&0x7F) << shift 71940 if b < 0x80 { 71941 break 71942 } 71943 } 71944 intStringLen := int(stringLen) 71945 if intStringLen < 0 { 71946 return ErrInvalidLengthTypes 71947 } 71948 postIndex := iNdEx + intStringLen 71949 if postIndex < 0 { 71950 return ErrInvalidLengthTypes 71951 } 71952 if postIndex > l { 71953 return io.ErrUnexpectedEOF 71954 } 71955 m.Version = string(dAtA[iNdEx:postIndex]) 71956 iNdEx = postIndex 71957 case 4: 71958 if wireType != 2 { 71959 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 71960 } 71961 var msglen int 71962 for shift := uint(0); ; shift += 7 { 71963 if shift >= 64 { 71964 return ErrIntOverflowTypes 71965 } 71966 if iNdEx >= l { 71967 return io.ErrUnexpectedEOF 71968 } 71969 b := dAtA[iNdEx] 71970 iNdEx++ 71971 msglen |= int(b&0x7F) << shift 71972 if b < 0x80 { 71973 break 71974 } 71975 } 71976 if msglen < 0 { 71977 return ErrInvalidLengthTypes 71978 } 71979 postIndex := iNdEx + msglen 71980 if postIndex < 0 { 71981 return ErrInvalidLengthTypes 71982 } 71983 if postIndex > l { 71984 return io.ErrUnexpectedEOF 71985 } 71986 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 71987 return err 71988 } 71989 iNdEx = postIndex 71990 case 5: 71991 if wireType != 2 { 71992 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 71993 } 71994 var msglen int 71995 for shift := uint(0); ; shift += 7 { 71996 if shift >= 64 { 71997 return ErrIntOverflowTypes 71998 } 71999 if iNdEx >= l { 72000 return io.ErrUnexpectedEOF 72001 } 72002 b := dAtA[iNdEx] 72003 iNdEx++ 72004 msglen |= int(b&0x7F) << shift 72005 if b < 0x80 { 72006 break 72007 } 72008 } 72009 if msglen < 0 { 72010 return ErrInvalidLengthTypes 72011 } 72012 postIndex := iNdEx + msglen 72013 if postIndex < 0 { 72014 return ErrInvalidLengthTypes 72015 } 72016 if postIndex > l { 72017 return io.ErrUnexpectedEOF 72018 } 72019 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 72020 return err 72021 } 72022 iNdEx = postIndex 72023 default: 72024 iNdEx = preIndex 72025 skippy, err := skipTypes(dAtA[iNdEx:]) 72026 if err != nil { 72027 return err 72028 } 72029 if (skippy < 0) || (iNdEx+skippy) < 0 { 72030 return ErrInvalidLengthTypes 72031 } 72032 if (iNdEx + skippy) > l { 72033 return io.ErrUnexpectedEOF 72034 } 72035 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 72036 iNdEx += skippy 72037 } 72038 } 72039 72040 if iNdEx > l { 72041 return io.ErrUnexpectedEOF 72042 } 72043 return nil 72044 } 72045 func (m *UserTokenSecretsSpecV3) Unmarshal(dAtA []byte) error { 72046 l := len(dAtA) 72047 iNdEx := 0 72048 for iNdEx < l { 72049 preIndex := iNdEx 72050 var wire uint64 72051 for shift := uint(0); ; shift += 7 { 72052 if shift >= 64 { 72053 return ErrIntOverflowTypes 72054 } 72055 if iNdEx >= l { 72056 return io.ErrUnexpectedEOF 72057 } 72058 b := dAtA[iNdEx] 72059 iNdEx++ 72060 wire |= uint64(b&0x7F) << shift 72061 if b < 0x80 { 72062 break 72063 } 72064 } 72065 fieldNum := int32(wire >> 3) 72066 wireType := int(wire & 0x7) 72067 if wireType == 4 { 72068 return fmt.Errorf("proto: UserTokenSecretsSpecV3: wiretype end group for non-group") 72069 } 72070 if fieldNum <= 0 { 72071 return fmt.Errorf("proto: UserTokenSecretsSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 72072 } 72073 switch fieldNum { 72074 case 1: 72075 if wireType != 2 { 72076 return fmt.Errorf("proto: wrong wireType = %d for field OTPKey", wireType) 72077 } 72078 var stringLen uint64 72079 for shift := uint(0); ; shift += 7 { 72080 if shift >= 64 { 72081 return ErrIntOverflowTypes 72082 } 72083 if iNdEx >= l { 72084 return io.ErrUnexpectedEOF 72085 } 72086 b := dAtA[iNdEx] 72087 iNdEx++ 72088 stringLen |= uint64(b&0x7F) << shift 72089 if b < 0x80 { 72090 break 72091 } 72092 } 72093 intStringLen := int(stringLen) 72094 if intStringLen < 0 { 72095 return ErrInvalidLengthTypes 72096 } 72097 postIndex := iNdEx + intStringLen 72098 if postIndex < 0 { 72099 return ErrInvalidLengthTypes 72100 } 72101 if postIndex > l { 72102 return io.ErrUnexpectedEOF 72103 } 72104 m.OTPKey = string(dAtA[iNdEx:postIndex]) 72105 iNdEx = postIndex 72106 case 2: 72107 if wireType != 2 { 72108 return fmt.Errorf("proto: wrong wireType = %d for field QRCode", wireType) 72109 } 72110 var stringLen uint64 72111 for shift := uint(0); ; shift += 7 { 72112 if shift >= 64 { 72113 return ErrIntOverflowTypes 72114 } 72115 if iNdEx >= l { 72116 return io.ErrUnexpectedEOF 72117 } 72118 b := dAtA[iNdEx] 72119 iNdEx++ 72120 stringLen |= uint64(b&0x7F) << shift 72121 if b < 0x80 { 72122 break 72123 } 72124 } 72125 intStringLen := int(stringLen) 72126 if intStringLen < 0 { 72127 return ErrInvalidLengthTypes 72128 } 72129 postIndex := iNdEx + intStringLen 72130 if postIndex < 0 { 72131 return ErrInvalidLengthTypes 72132 } 72133 if postIndex > l { 72134 return io.ErrUnexpectedEOF 72135 } 72136 m.QRCode = string(dAtA[iNdEx:postIndex]) 72137 iNdEx = postIndex 72138 case 3: 72139 if wireType != 2 { 72140 return fmt.Errorf("proto: wrong wireType = %d for field Created", wireType) 72141 } 72142 var msglen int 72143 for shift := uint(0); ; shift += 7 { 72144 if shift >= 64 { 72145 return ErrIntOverflowTypes 72146 } 72147 if iNdEx >= l { 72148 return io.ErrUnexpectedEOF 72149 } 72150 b := dAtA[iNdEx] 72151 iNdEx++ 72152 msglen |= int(b&0x7F) << shift 72153 if b < 0x80 { 72154 break 72155 } 72156 } 72157 if msglen < 0 { 72158 return ErrInvalidLengthTypes 72159 } 72160 postIndex := iNdEx + msglen 72161 if postIndex < 0 { 72162 return ErrInvalidLengthTypes 72163 } 72164 if postIndex > l { 72165 return io.ErrUnexpectedEOF 72166 } 72167 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Created, dAtA[iNdEx:postIndex]); err != nil { 72168 return err 72169 } 72170 iNdEx = postIndex 72171 default: 72172 iNdEx = preIndex 72173 skippy, err := skipTypes(dAtA[iNdEx:]) 72174 if err != nil { 72175 return err 72176 } 72177 if (skippy < 0) || (iNdEx+skippy) < 0 { 72178 return ErrInvalidLengthTypes 72179 } 72180 if (iNdEx + skippy) > l { 72181 return io.ErrUnexpectedEOF 72182 } 72183 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 72184 iNdEx += skippy 72185 } 72186 } 72187 72188 if iNdEx > l { 72189 return io.ErrUnexpectedEOF 72190 } 72191 return nil 72192 } 72193 func (m *AccessRequestV3) Unmarshal(dAtA []byte) error { 72194 l := len(dAtA) 72195 iNdEx := 0 72196 for iNdEx < l { 72197 preIndex := iNdEx 72198 var wire uint64 72199 for shift := uint(0); ; shift += 7 { 72200 if shift >= 64 { 72201 return ErrIntOverflowTypes 72202 } 72203 if iNdEx >= l { 72204 return io.ErrUnexpectedEOF 72205 } 72206 b := dAtA[iNdEx] 72207 iNdEx++ 72208 wire |= uint64(b&0x7F) << shift 72209 if b < 0x80 { 72210 break 72211 } 72212 } 72213 fieldNum := int32(wire >> 3) 72214 wireType := int(wire & 0x7) 72215 if wireType == 4 { 72216 return fmt.Errorf("proto: AccessRequestV3: wiretype end group for non-group") 72217 } 72218 if fieldNum <= 0 { 72219 return fmt.Errorf("proto: AccessRequestV3: illegal tag %d (wire type %d)", fieldNum, wire) 72220 } 72221 switch fieldNum { 72222 case 1: 72223 if wireType != 2 { 72224 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 72225 } 72226 var stringLen uint64 72227 for shift := uint(0); ; shift += 7 { 72228 if shift >= 64 { 72229 return ErrIntOverflowTypes 72230 } 72231 if iNdEx >= l { 72232 return io.ErrUnexpectedEOF 72233 } 72234 b := dAtA[iNdEx] 72235 iNdEx++ 72236 stringLen |= uint64(b&0x7F) << shift 72237 if b < 0x80 { 72238 break 72239 } 72240 } 72241 intStringLen := int(stringLen) 72242 if intStringLen < 0 { 72243 return ErrInvalidLengthTypes 72244 } 72245 postIndex := iNdEx + intStringLen 72246 if postIndex < 0 { 72247 return ErrInvalidLengthTypes 72248 } 72249 if postIndex > l { 72250 return io.ErrUnexpectedEOF 72251 } 72252 m.Kind = string(dAtA[iNdEx:postIndex]) 72253 iNdEx = postIndex 72254 case 2: 72255 if wireType != 2 { 72256 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 72257 } 72258 var stringLen uint64 72259 for shift := uint(0); ; shift += 7 { 72260 if shift >= 64 { 72261 return ErrIntOverflowTypes 72262 } 72263 if iNdEx >= l { 72264 return io.ErrUnexpectedEOF 72265 } 72266 b := dAtA[iNdEx] 72267 iNdEx++ 72268 stringLen |= uint64(b&0x7F) << shift 72269 if b < 0x80 { 72270 break 72271 } 72272 } 72273 intStringLen := int(stringLen) 72274 if intStringLen < 0 { 72275 return ErrInvalidLengthTypes 72276 } 72277 postIndex := iNdEx + intStringLen 72278 if postIndex < 0 { 72279 return ErrInvalidLengthTypes 72280 } 72281 if postIndex > l { 72282 return io.ErrUnexpectedEOF 72283 } 72284 m.SubKind = string(dAtA[iNdEx:postIndex]) 72285 iNdEx = postIndex 72286 case 3: 72287 if wireType != 2 { 72288 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 72289 } 72290 var stringLen uint64 72291 for shift := uint(0); ; shift += 7 { 72292 if shift >= 64 { 72293 return ErrIntOverflowTypes 72294 } 72295 if iNdEx >= l { 72296 return io.ErrUnexpectedEOF 72297 } 72298 b := dAtA[iNdEx] 72299 iNdEx++ 72300 stringLen |= uint64(b&0x7F) << shift 72301 if b < 0x80 { 72302 break 72303 } 72304 } 72305 intStringLen := int(stringLen) 72306 if intStringLen < 0 { 72307 return ErrInvalidLengthTypes 72308 } 72309 postIndex := iNdEx + intStringLen 72310 if postIndex < 0 { 72311 return ErrInvalidLengthTypes 72312 } 72313 if postIndex > l { 72314 return io.ErrUnexpectedEOF 72315 } 72316 m.Version = string(dAtA[iNdEx:postIndex]) 72317 iNdEx = postIndex 72318 case 4: 72319 if wireType != 2 { 72320 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 72321 } 72322 var msglen int 72323 for shift := uint(0); ; shift += 7 { 72324 if shift >= 64 { 72325 return ErrIntOverflowTypes 72326 } 72327 if iNdEx >= l { 72328 return io.ErrUnexpectedEOF 72329 } 72330 b := dAtA[iNdEx] 72331 iNdEx++ 72332 msglen |= int(b&0x7F) << shift 72333 if b < 0x80 { 72334 break 72335 } 72336 } 72337 if msglen < 0 { 72338 return ErrInvalidLengthTypes 72339 } 72340 postIndex := iNdEx + msglen 72341 if postIndex < 0 { 72342 return ErrInvalidLengthTypes 72343 } 72344 if postIndex > l { 72345 return io.ErrUnexpectedEOF 72346 } 72347 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 72348 return err 72349 } 72350 iNdEx = postIndex 72351 case 5: 72352 if wireType != 2 { 72353 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 72354 } 72355 var msglen int 72356 for shift := uint(0); ; shift += 7 { 72357 if shift >= 64 { 72358 return ErrIntOverflowTypes 72359 } 72360 if iNdEx >= l { 72361 return io.ErrUnexpectedEOF 72362 } 72363 b := dAtA[iNdEx] 72364 iNdEx++ 72365 msglen |= int(b&0x7F) << shift 72366 if b < 0x80 { 72367 break 72368 } 72369 } 72370 if msglen < 0 { 72371 return ErrInvalidLengthTypes 72372 } 72373 postIndex := iNdEx + msglen 72374 if postIndex < 0 { 72375 return ErrInvalidLengthTypes 72376 } 72377 if postIndex > l { 72378 return io.ErrUnexpectedEOF 72379 } 72380 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 72381 return err 72382 } 72383 iNdEx = postIndex 72384 default: 72385 iNdEx = preIndex 72386 skippy, err := skipTypes(dAtA[iNdEx:]) 72387 if err != nil { 72388 return err 72389 } 72390 if (skippy < 0) || (iNdEx+skippy) < 0 { 72391 return ErrInvalidLengthTypes 72392 } 72393 if (iNdEx + skippy) > l { 72394 return io.ErrUnexpectedEOF 72395 } 72396 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 72397 iNdEx += skippy 72398 } 72399 } 72400 72401 if iNdEx > l { 72402 return io.ErrUnexpectedEOF 72403 } 72404 return nil 72405 } 72406 func (m *AccessReviewThreshold) Unmarshal(dAtA []byte) error { 72407 l := len(dAtA) 72408 iNdEx := 0 72409 for iNdEx < l { 72410 preIndex := iNdEx 72411 var wire uint64 72412 for shift := uint(0); ; shift += 7 { 72413 if shift >= 64 { 72414 return ErrIntOverflowTypes 72415 } 72416 if iNdEx >= l { 72417 return io.ErrUnexpectedEOF 72418 } 72419 b := dAtA[iNdEx] 72420 iNdEx++ 72421 wire |= uint64(b&0x7F) << shift 72422 if b < 0x80 { 72423 break 72424 } 72425 } 72426 fieldNum := int32(wire >> 3) 72427 wireType := int(wire & 0x7) 72428 if wireType == 4 { 72429 return fmt.Errorf("proto: AccessReviewThreshold: wiretype end group for non-group") 72430 } 72431 if fieldNum <= 0 { 72432 return fmt.Errorf("proto: AccessReviewThreshold: illegal tag %d (wire type %d)", fieldNum, wire) 72433 } 72434 switch fieldNum { 72435 case 1: 72436 if wireType != 2 { 72437 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 72438 } 72439 var stringLen uint64 72440 for shift := uint(0); ; shift += 7 { 72441 if shift >= 64 { 72442 return ErrIntOverflowTypes 72443 } 72444 if iNdEx >= l { 72445 return io.ErrUnexpectedEOF 72446 } 72447 b := dAtA[iNdEx] 72448 iNdEx++ 72449 stringLen |= uint64(b&0x7F) << shift 72450 if b < 0x80 { 72451 break 72452 } 72453 } 72454 intStringLen := int(stringLen) 72455 if intStringLen < 0 { 72456 return ErrInvalidLengthTypes 72457 } 72458 postIndex := iNdEx + intStringLen 72459 if postIndex < 0 { 72460 return ErrInvalidLengthTypes 72461 } 72462 if postIndex > l { 72463 return io.ErrUnexpectedEOF 72464 } 72465 m.Name = string(dAtA[iNdEx:postIndex]) 72466 iNdEx = postIndex 72467 case 2: 72468 if wireType != 2 { 72469 return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType) 72470 } 72471 var stringLen uint64 72472 for shift := uint(0); ; shift += 7 { 72473 if shift >= 64 { 72474 return ErrIntOverflowTypes 72475 } 72476 if iNdEx >= l { 72477 return io.ErrUnexpectedEOF 72478 } 72479 b := dAtA[iNdEx] 72480 iNdEx++ 72481 stringLen |= uint64(b&0x7F) << shift 72482 if b < 0x80 { 72483 break 72484 } 72485 } 72486 intStringLen := int(stringLen) 72487 if intStringLen < 0 { 72488 return ErrInvalidLengthTypes 72489 } 72490 postIndex := iNdEx + intStringLen 72491 if postIndex < 0 { 72492 return ErrInvalidLengthTypes 72493 } 72494 if postIndex > l { 72495 return io.ErrUnexpectedEOF 72496 } 72497 m.Filter = string(dAtA[iNdEx:postIndex]) 72498 iNdEx = postIndex 72499 case 3: 72500 if wireType != 0 { 72501 return fmt.Errorf("proto: wrong wireType = %d for field Approve", wireType) 72502 } 72503 m.Approve = 0 72504 for shift := uint(0); ; shift += 7 { 72505 if shift >= 64 { 72506 return ErrIntOverflowTypes 72507 } 72508 if iNdEx >= l { 72509 return io.ErrUnexpectedEOF 72510 } 72511 b := dAtA[iNdEx] 72512 iNdEx++ 72513 m.Approve |= uint32(b&0x7F) << shift 72514 if b < 0x80 { 72515 break 72516 } 72517 } 72518 case 4: 72519 if wireType != 0 { 72520 return fmt.Errorf("proto: wrong wireType = %d for field Deny", wireType) 72521 } 72522 m.Deny = 0 72523 for shift := uint(0); ; shift += 7 { 72524 if shift >= 64 { 72525 return ErrIntOverflowTypes 72526 } 72527 if iNdEx >= l { 72528 return io.ErrUnexpectedEOF 72529 } 72530 b := dAtA[iNdEx] 72531 iNdEx++ 72532 m.Deny |= uint32(b&0x7F) << shift 72533 if b < 0x80 { 72534 break 72535 } 72536 } 72537 default: 72538 iNdEx = preIndex 72539 skippy, err := skipTypes(dAtA[iNdEx:]) 72540 if err != nil { 72541 return err 72542 } 72543 if (skippy < 0) || (iNdEx+skippy) < 0 { 72544 return ErrInvalidLengthTypes 72545 } 72546 if (iNdEx + skippy) > l { 72547 return io.ErrUnexpectedEOF 72548 } 72549 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 72550 iNdEx += skippy 72551 } 72552 } 72553 72554 if iNdEx > l { 72555 return io.ErrUnexpectedEOF 72556 } 72557 return nil 72558 } 72559 func (m *PromotedAccessList) Unmarshal(dAtA []byte) error { 72560 l := len(dAtA) 72561 iNdEx := 0 72562 for iNdEx < l { 72563 preIndex := iNdEx 72564 var wire uint64 72565 for shift := uint(0); ; shift += 7 { 72566 if shift >= 64 { 72567 return ErrIntOverflowTypes 72568 } 72569 if iNdEx >= l { 72570 return io.ErrUnexpectedEOF 72571 } 72572 b := dAtA[iNdEx] 72573 iNdEx++ 72574 wire |= uint64(b&0x7F) << shift 72575 if b < 0x80 { 72576 break 72577 } 72578 } 72579 fieldNum := int32(wire >> 3) 72580 wireType := int(wire & 0x7) 72581 if wireType == 4 { 72582 return fmt.Errorf("proto: PromotedAccessList: wiretype end group for non-group") 72583 } 72584 if fieldNum <= 0 { 72585 return fmt.Errorf("proto: PromotedAccessList: illegal tag %d (wire type %d)", fieldNum, wire) 72586 } 72587 switch fieldNum { 72588 case 1: 72589 if wireType != 2 { 72590 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 72591 } 72592 var stringLen uint64 72593 for shift := uint(0); ; shift += 7 { 72594 if shift >= 64 { 72595 return ErrIntOverflowTypes 72596 } 72597 if iNdEx >= l { 72598 return io.ErrUnexpectedEOF 72599 } 72600 b := dAtA[iNdEx] 72601 iNdEx++ 72602 stringLen |= uint64(b&0x7F) << shift 72603 if b < 0x80 { 72604 break 72605 } 72606 } 72607 intStringLen := int(stringLen) 72608 if intStringLen < 0 { 72609 return ErrInvalidLengthTypes 72610 } 72611 postIndex := iNdEx + intStringLen 72612 if postIndex < 0 { 72613 return ErrInvalidLengthTypes 72614 } 72615 if postIndex > l { 72616 return io.ErrUnexpectedEOF 72617 } 72618 m.Name = string(dAtA[iNdEx:postIndex]) 72619 iNdEx = postIndex 72620 case 2: 72621 if wireType != 2 { 72622 return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType) 72623 } 72624 var stringLen uint64 72625 for shift := uint(0); ; shift += 7 { 72626 if shift >= 64 { 72627 return ErrIntOverflowTypes 72628 } 72629 if iNdEx >= l { 72630 return io.ErrUnexpectedEOF 72631 } 72632 b := dAtA[iNdEx] 72633 iNdEx++ 72634 stringLen |= uint64(b&0x7F) << shift 72635 if b < 0x80 { 72636 break 72637 } 72638 } 72639 intStringLen := int(stringLen) 72640 if intStringLen < 0 { 72641 return ErrInvalidLengthTypes 72642 } 72643 postIndex := iNdEx + intStringLen 72644 if postIndex < 0 { 72645 return ErrInvalidLengthTypes 72646 } 72647 if postIndex > l { 72648 return io.ErrUnexpectedEOF 72649 } 72650 m.Title = string(dAtA[iNdEx:postIndex]) 72651 iNdEx = postIndex 72652 default: 72653 iNdEx = preIndex 72654 skippy, err := skipTypes(dAtA[iNdEx:]) 72655 if err != nil { 72656 return err 72657 } 72658 if (skippy < 0) || (iNdEx+skippy) < 0 { 72659 return ErrInvalidLengthTypes 72660 } 72661 if (iNdEx + skippy) > l { 72662 return io.ErrUnexpectedEOF 72663 } 72664 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 72665 iNdEx += skippy 72666 } 72667 } 72668 72669 if iNdEx > l { 72670 return io.ErrUnexpectedEOF 72671 } 72672 return nil 72673 } 72674 func (m *AccessReview) Unmarshal(dAtA []byte) error { 72675 l := len(dAtA) 72676 iNdEx := 0 72677 for iNdEx < l { 72678 preIndex := iNdEx 72679 var wire uint64 72680 for shift := uint(0); ; shift += 7 { 72681 if shift >= 64 { 72682 return ErrIntOverflowTypes 72683 } 72684 if iNdEx >= l { 72685 return io.ErrUnexpectedEOF 72686 } 72687 b := dAtA[iNdEx] 72688 iNdEx++ 72689 wire |= uint64(b&0x7F) << shift 72690 if b < 0x80 { 72691 break 72692 } 72693 } 72694 fieldNum := int32(wire >> 3) 72695 wireType := int(wire & 0x7) 72696 if wireType == 4 { 72697 return fmt.Errorf("proto: AccessReview: wiretype end group for non-group") 72698 } 72699 if fieldNum <= 0 { 72700 return fmt.Errorf("proto: AccessReview: illegal tag %d (wire type %d)", fieldNum, wire) 72701 } 72702 switch fieldNum { 72703 case 1: 72704 if wireType != 2 { 72705 return fmt.Errorf("proto: wrong wireType = %d for field Author", wireType) 72706 } 72707 var stringLen uint64 72708 for shift := uint(0); ; shift += 7 { 72709 if shift >= 64 { 72710 return ErrIntOverflowTypes 72711 } 72712 if iNdEx >= l { 72713 return io.ErrUnexpectedEOF 72714 } 72715 b := dAtA[iNdEx] 72716 iNdEx++ 72717 stringLen |= uint64(b&0x7F) << shift 72718 if b < 0x80 { 72719 break 72720 } 72721 } 72722 intStringLen := int(stringLen) 72723 if intStringLen < 0 { 72724 return ErrInvalidLengthTypes 72725 } 72726 postIndex := iNdEx + intStringLen 72727 if postIndex < 0 { 72728 return ErrInvalidLengthTypes 72729 } 72730 if postIndex > l { 72731 return io.ErrUnexpectedEOF 72732 } 72733 m.Author = string(dAtA[iNdEx:postIndex]) 72734 iNdEx = postIndex 72735 case 2: 72736 if wireType != 2 { 72737 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 72738 } 72739 var stringLen uint64 72740 for shift := uint(0); ; shift += 7 { 72741 if shift >= 64 { 72742 return ErrIntOverflowTypes 72743 } 72744 if iNdEx >= l { 72745 return io.ErrUnexpectedEOF 72746 } 72747 b := dAtA[iNdEx] 72748 iNdEx++ 72749 stringLen |= uint64(b&0x7F) << shift 72750 if b < 0x80 { 72751 break 72752 } 72753 } 72754 intStringLen := int(stringLen) 72755 if intStringLen < 0 { 72756 return ErrInvalidLengthTypes 72757 } 72758 postIndex := iNdEx + intStringLen 72759 if postIndex < 0 { 72760 return ErrInvalidLengthTypes 72761 } 72762 if postIndex > l { 72763 return io.ErrUnexpectedEOF 72764 } 72765 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 72766 iNdEx = postIndex 72767 case 3: 72768 if wireType != 0 { 72769 return fmt.Errorf("proto: wrong wireType = %d for field ProposedState", wireType) 72770 } 72771 m.ProposedState = 0 72772 for shift := uint(0); ; shift += 7 { 72773 if shift >= 64 { 72774 return ErrIntOverflowTypes 72775 } 72776 if iNdEx >= l { 72777 return io.ErrUnexpectedEOF 72778 } 72779 b := dAtA[iNdEx] 72780 iNdEx++ 72781 m.ProposedState |= RequestState(b&0x7F) << shift 72782 if b < 0x80 { 72783 break 72784 } 72785 } 72786 case 4: 72787 if wireType != 2 { 72788 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) 72789 } 72790 var stringLen uint64 72791 for shift := uint(0); ; shift += 7 { 72792 if shift >= 64 { 72793 return ErrIntOverflowTypes 72794 } 72795 if iNdEx >= l { 72796 return io.ErrUnexpectedEOF 72797 } 72798 b := dAtA[iNdEx] 72799 iNdEx++ 72800 stringLen |= uint64(b&0x7F) << shift 72801 if b < 0x80 { 72802 break 72803 } 72804 } 72805 intStringLen := int(stringLen) 72806 if intStringLen < 0 { 72807 return ErrInvalidLengthTypes 72808 } 72809 postIndex := iNdEx + intStringLen 72810 if postIndex < 0 { 72811 return ErrInvalidLengthTypes 72812 } 72813 if postIndex > l { 72814 return io.ErrUnexpectedEOF 72815 } 72816 m.Reason = string(dAtA[iNdEx:postIndex]) 72817 iNdEx = postIndex 72818 case 5: 72819 if wireType != 2 { 72820 return fmt.Errorf("proto: wrong wireType = %d for field Created", wireType) 72821 } 72822 var msglen int 72823 for shift := uint(0); ; shift += 7 { 72824 if shift >= 64 { 72825 return ErrIntOverflowTypes 72826 } 72827 if iNdEx >= l { 72828 return io.ErrUnexpectedEOF 72829 } 72830 b := dAtA[iNdEx] 72831 iNdEx++ 72832 msglen |= int(b&0x7F) << shift 72833 if b < 0x80 { 72834 break 72835 } 72836 } 72837 if msglen < 0 { 72838 return ErrInvalidLengthTypes 72839 } 72840 postIndex := iNdEx + msglen 72841 if postIndex < 0 { 72842 return ErrInvalidLengthTypes 72843 } 72844 if postIndex > l { 72845 return io.ErrUnexpectedEOF 72846 } 72847 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Created, dAtA[iNdEx:postIndex]); err != nil { 72848 return err 72849 } 72850 iNdEx = postIndex 72851 case 6: 72852 if wireType != 2 { 72853 return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType) 72854 } 72855 var msglen int 72856 for shift := uint(0); ; shift += 7 { 72857 if shift >= 64 { 72858 return ErrIntOverflowTypes 72859 } 72860 if iNdEx >= l { 72861 return io.ErrUnexpectedEOF 72862 } 72863 b := dAtA[iNdEx] 72864 iNdEx++ 72865 msglen |= int(b&0x7F) << shift 72866 if b < 0x80 { 72867 break 72868 } 72869 } 72870 if msglen < 0 { 72871 return ErrInvalidLengthTypes 72872 } 72873 postIndex := iNdEx + msglen 72874 if postIndex < 0 { 72875 return ErrInvalidLengthTypes 72876 } 72877 if postIndex > l { 72878 return io.ErrUnexpectedEOF 72879 } 72880 if err := m.Annotations.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 72881 return err 72882 } 72883 iNdEx = postIndex 72884 case 7: 72885 if wireType == 0 { 72886 var v uint32 72887 for shift := uint(0); ; shift += 7 { 72888 if shift >= 64 { 72889 return ErrIntOverflowTypes 72890 } 72891 if iNdEx >= l { 72892 return io.ErrUnexpectedEOF 72893 } 72894 b := dAtA[iNdEx] 72895 iNdEx++ 72896 v |= uint32(b&0x7F) << shift 72897 if b < 0x80 { 72898 break 72899 } 72900 } 72901 m.ThresholdIndexes = append(m.ThresholdIndexes, v) 72902 } else if wireType == 2 { 72903 var packedLen int 72904 for shift := uint(0); ; shift += 7 { 72905 if shift >= 64 { 72906 return ErrIntOverflowTypes 72907 } 72908 if iNdEx >= l { 72909 return io.ErrUnexpectedEOF 72910 } 72911 b := dAtA[iNdEx] 72912 iNdEx++ 72913 packedLen |= int(b&0x7F) << shift 72914 if b < 0x80 { 72915 break 72916 } 72917 } 72918 if packedLen < 0 { 72919 return ErrInvalidLengthTypes 72920 } 72921 postIndex := iNdEx + packedLen 72922 if postIndex < 0 { 72923 return ErrInvalidLengthTypes 72924 } 72925 if postIndex > l { 72926 return io.ErrUnexpectedEOF 72927 } 72928 var elementCount int 72929 var count int 72930 for _, integer := range dAtA[iNdEx:postIndex] { 72931 if integer < 128 { 72932 count++ 72933 } 72934 } 72935 elementCount = count 72936 if elementCount != 0 && len(m.ThresholdIndexes) == 0 { 72937 m.ThresholdIndexes = make([]uint32, 0, elementCount) 72938 } 72939 for iNdEx < postIndex { 72940 var v uint32 72941 for shift := uint(0); ; shift += 7 { 72942 if shift >= 64 { 72943 return ErrIntOverflowTypes 72944 } 72945 if iNdEx >= l { 72946 return io.ErrUnexpectedEOF 72947 } 72948 b := dAtA[iNdEx] 72949 iNdEx++ 72950 v |= uint32(b&0x7F) << shift 72951 if b < 0x80 { 72952 break 72953 } 72954 } 72955 m.ThresholdIndexes = append(m.ThresholdIndexes, v) 72956 } 72957 } else { 72958 return fmt.Errorf("proto: wrong wireType = %d for field ThresholdIndexes", wireType) 72959 } 72960 case 9: 72961 if wireType != 2 { 72962 return fmt.Errorf("proto: wrong wireType = %d for field AccessList", wireType) 72963 } 72964 var msglen int 72965 for shift := uint(0); ; shift += 7 { 72966 if shift >= 64 { 72967 return ErrIntOverflowTypes 72968 } 72969 if iNdEx >= l { 72970 return io.ErrUnexpectedEOF 72971 } 72972 b := dAtA[iNdEx] 72973 iNdEx++ 72974 msglen |= int(b&0x7F) << shift 72975 if b < 0x80 { 72976 break 72977 } 72978 } 72979 if msglen < 0 { 72980 return ErrInvalidLengthTypes 72981 } 72982 postIndex := iNdEx + msglen 72983 if postIndex < 0 { 72984 return ErrInvalidLengthTypes 72985 } 72986 if postIndex > l { 72987 return io.ErrUnexpectedEOF 72988 } 72989 if m.AccessList == nil { 72990 m.AccessList = &PromotedAccessList{} 72991 } 72992 if err := m.AccessList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 72993 return err 72994 } 72995 iNdEx = postIndex 72996 case 10: 72997 if wireType != 2 { 72998 return fmt.Errorf("proto: wrong wireType = %d for field AssumeStartTime", wireType) 72999 } 73000 var msglen int 73001 for shift := uint(0); ; shift += 7 { 73002 if shift >= 64 { 73003 return ErrIntOverflowTypes 73004 } 73005 if iNdEx >= l { 73006 return io.ErrUnexpectedEOF 73007 } 73008 b := dAtA[iNdEx] 73009 iNdEx++ 73010 msglen |= int(b&0x7F) << shift 73011 if b < 0x80 { 73012 break 73013 } 73014 } 73015 if msglen < 0 { 73016 return ErrInvalidLengthTypes 73017 } 73018 postIndex := iNdEx + msglen 73019 if postIndex < 0 { 73020 return ErrInvalidLengthTypes 73021 } 73022 if postIndex > l { 73023 return io.ErrUnexpectedEOF 73024 } 73025 if m.AssumeStartTime == nil { 73026 m.AssumeStartTime = new(time.Time) 73027 } 73028 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.AssumeStartTime, dAtA[iNdEx:postIndex]); err != nil { 73029 return err 73030 } 73031 iNdEx = postIndex 73032 default: 73033 iNdEx = preIndex 73034 skippy, err := skipTypes(dAtA[iNdEx:]) 73035 if err != nil { 73036 return err 73037 } 73038 if (skippy < 0) || (iNdEx+skippy) < 0 { 73039 return ErrInvalidLengthTypes 73040 } 73041 if (iNdEx + skippy) > l { 73042 return io.ErrUnexpectedEOF 73043 } 73044 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 73045 iNdEx += skippy 73046 } 73047 } 73048 73049 if iNdEx > l { 73050 return io.ErrUnexpectedEOF 73051 } 73052 return nil 73053 } 73054 func (m *AccessReviewSubmission) Unmarshal(dAtA []byte) error { 73055 l := len(dAtA) 73056 iNdEx := 0 73057 for iNdEx < l { 73058 preIndex := iNdEx 73059 var wire uint64 73060 for shift := uint(0); ; shift += 7 { 73061 if shift >= 64 { 73062 return ErrIntOverflowTypes 73063 } 73064 if iNdEx >= l { 73065 return io.ErrUnexpectedEOF 73066 } 73067 b := dAtA[iNdEx] 73068 iNdEx++ 73069 wire |= uint64(b&0x7F) << shift 73070 if b < 0x80 { 73071 break 73072 } 73073 } 73074 fieldNum := int32(wire >> 3) 73075 wireType := int(wire & 0x7) 73076 if wireType == 4 { 73077 return fmt.Errorf("proto: AccessReviewSubmission: wiretype end group for non-group") 73078 } 73079 if fieldNum <= 0 { 73080 return fmt.Errorf("proto: AccessReviewSubmission: illegal tag %d (wire type %d)", fieldNum, wire) 73081 } 73082 switch fieldNum { 73083 case 1: 73084 if wireType != 2 { 73085 return fmt.Errorf("proto: wrong wireType = %d for field RequestID", wireType) 73086 } 73087 var stringLen uint64 73088 for shift := uint(0); ; shift += 7 { 73089 if shift >= 64 { 73090 return ErrIntOverflowTypes 73091 } 73092 if iNdEx >= l { 73093 return io.ErrUnexpectedEOF 73094 } 73095 b := dAtA[iNdEx] 73096 iNdEx++ 73097 stringLen |= uint64(b&0x7F) << shift 73098 if b < 0x80 { 73099 break 73100 } 73101 } 73102 intStringLen := int(stringLen) 73103 if intStringLen < 0 { 73104 return ErrInvalidLengthTypes 73105 } 73106 postIndex := iNdEx + intStringLen 73107 if postIndex < 0 { 73108 return ErrInvalidLengthTypes 73109 } 73110 if postIndex > l { 73111 return io.ErrUnexpectedEOF 73112 } 73113 m.RequestID = string(dAtA[iNdEx:postIndex]) 73114 iNdEx = postIndex 73115 case 2: 73116 if wireType != 2 { 73117 return fmt.Errorf("proto: wrong wireType = %d for field Review", wireType) 73118 } 73119 var msglen int 73120 for shift := uint(0); ; shift += 7 { 73121 if shift >= 64 { 73122 return ErrIntOverflowTypes 73123 } 73124 if iNdEx >= l { 73125 return io.ErrUnexpectedEOF 73126 } 73127 b := dAtA[iNdEx] 73128 iNdEx++ 73129 msglen |= int(b&0x7F) << shift 73130 if b < 0x80 { 73131 break 73132 } 73133 } 73134 if msglen < 0 { 73135 return ErrInvalidLengthTypes 73136 } 73137 postIndex := iNdEx + msglen 73138 if postIndex < 0 { 73139 return ErrInvalidLengthTypes 73140 } 73141 if postIndex > l { 73142 return io.ErrUnexpectedEOF 73143 } 73144 if err := m.Review.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 73145 return err 73146 } 73147 iNdEx = postIndex 73148 default: 73149 iNdEx = preIndex 73150 skippy, err := skipTypes(dAtA[iNdEx:]) 73151 if err != nil { 73152 return err 73153 } 73154 if (skippy < 0) || (iNdEx+skippy) < 0 { 73155 return ErrInvalidLengthTypes 73156 } 73157 if (iNdEx + skippy) > l { 73158 return io.ErrUnexpectedEOF 73159 } 73160 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 73161 iNdEx += skippy 73162 } 73163 } 73164 73165 if iNdEx > l { 73166 return io.ErrUnexpectedEOF 73167 } 73168 return nil 73169 } 73170 func (m *ThresholdIndexSet) Unmarshal(dAtA []byte) error { 73171 l := len(dAtA) 73172 iNdEx := 0 73173 for iNdEx < l { 73174 preIndex := iNdEx 73175 var wire uint64 73176 for shift := uint(0); ; shift += 7 { 73177 if shift >= 64 { 73178 return ErrIntOverflowTypes 73179 } 73180 if iNdEx >= l { 73181 return io.ErrUnexpectedEOF 73182 } 73183 b := dAtA[iNdEx] 73184 iNdEx++ 73185 wire |= uint64(b&0x7F) << shift 73186 if b < 0x80 { 73187 break 73188 } 73189 } 73190 fieldNum := int32(wire >> 3) 73191 wireType := int(wire & 0x7) 73192 if wireType == 4 { 73193 return fmt.Errorf("proto: ThresholdIndexSet: wiretype end group for non-group") 73194 } 73195 if fieldNum <= 0 { 73196 return fmt.Errorf("proto: ThresholdIndexSet: illegal tag %d (wire type %d)", fieldNum, wire) 73197 } 73198 switch fieldNum { 73199 case 1: 73200 if wireType == 0 { 73201 var v uint32 73202 for shift := uint(0); ; shift += 7 { 73203 if shift >= 64 { 73204 return ErrIntOverflowTypes 73205 } 73206 if iNdEx >= l { 73207 return io.ErrUnexpectedEOF 73208 } 73209 b := dAtA[iNdEx] 73210 iNdEx++ 73211 v |= uint32(b&0x7F) << shift 73212 if b < 0x80 { 73213 break 73214 } 73215 } 73216 m.Indexes = append(m.Indexes, v) 73217 } else if wireType == 2 { 73218 var packedLen int 73219 for shift := uint(0); ; shift += 7 { 73220 if shift >= 64 { 73221 return ErrIntOverflowTypes 73222 } 73223 if iNdEx >= l { 73224 return io.ErrUnexpectedEOF 73225 } 73226 b := dAtA[iNdEx] 73227 iNdEx++ 73228 packedLen |= int(b&0x7F) << shift 73229 if b < 0x80 { 73230 break 73231 } 73232 } 73233 if packedLen < 0 { 73234 return ErrInvalidLengthTypes 73235 } 73236 postIndex := iNdEx + packedLen 73237 if postIndex < 0 { 73238 return ErrInvalidLengthTypes 73239 } 73240 if postIndex > l { 73241 return io.ErrUnexpectedEOF 73242 } 73243 var elementCount int 73244 var count int 73245 for _, integer := range dAtA[iNdEx:postIndex] { 73246 if integer < 128 { 73247 count++ 73248 } 73249 } 73250 elementCount = count 73251 if elementCount != 0 && len(m.Indexes) == 0 { 73252 m.Indexes = make([]uint32, 0, elementCount) 73253 } 73254 for iNdEx < postIndex { 73255 var v uint32 73256 for shift := uint(0); ; shift += 7 { 73257 if shift >= 64 { 73258 return ErrIntOverflowTypes 73259 } 73260 if iNdEx >= l { 73261 return io.ErrUnexpectedEOF 73262 } 73263 b := dAtA[iNdEx] 73264 iNdEx++ 73265 v |= uint32(b&0x7F) << shift 73266 if b < 0x80 { 73267 break 73268 } 73269 } 73270 m.Indexes = append(m.Indexes, v) 73271 } 73272 } else { 73273 return fmt.Errorf("proto: wrong wireType = %d for field Indexes", wireType) 73274 } 73275 default: 73276 iNdEx = preIndex 73277 skippy, err := skipTypes(dAtA[iNdEx:]) 73278 if err != nil { 73279 return err 73280 } 73281 if (skippy < 0) || (iNdEx+skippy) < 0 { 73282 return ErrInvalidLengthTypes 73283 } 73284 if (iNdEx + skippy) > l { 73285 return io.ErrUnexpectedEOF 73286 } 73287 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 73288 iNdEx += skippy 73289 } 73290 } 73291 73292 if iNdEx > l { 73293 return io.ErrUnexpectedEOF 73294 } 73295 return nil 73296 } 73297 func (m *ThresholdIndexSets) Unmarshal(dAtA []byte) error { 73298 l := len(dAtA) 73299 iNdEx := 0 73300 for iNdEx < l { 73301 preIndex := iNdEx 73302 var wire uint64 73303 for shift := uint(0); ; shift += 7 { 73304 if shift >= 64 { 73305 return ErrIntOverflowTypes 73306 } 73307 if iNdEx >= l { 73308 return io.ErrUnexpectedEOF 73309 } 73310 b := dAtA[iNdEx] 73311 iNdEx++ 73312 wire |= uint64(b&0x7F) << shift 73313 if b < 0x80 { 73314 break 73315 } 73316 } 73317 fieldNum := int32(wire >> 3) 73318 wireType := int(wire & 0x7) 73319 if wireType == 4 { 73320 return fmt.Errorf("proto: ThresholdIndexSets: wiretype end group for non-group") 73321 } 73322 if fieldNum <= 0 { 73323 return fmt.Errorf("proto: ThresholdIndexSets: illegal tag %d (wire type %d)", fieldNum, wire) 73324 } 73325 switch fieldNum { 73326 case 1: 73327 if wireType != 2 { 73328 return fmt.Errorf("proto: wrong wireType = %d for field Sets", wireType) 73329 } 73330 var msglen int 73331 for shift := uint(0); ; shift += 7 { 73332 if shift >= 64 { 73333 return ErrIntOverflowTypes 73334 } 73335 if iNdEx >= l { 73336 return io.ErrUnexpectedEOF 73337 } 73338 b := dAtA[iNdEx] 73339 iNdEx++ 73340 msglen |= int(b&0x7F) << shift 73341 if b < 0x80 { 73342 break 73343 } 73344 } 73345 if msglen < 0 { 73346 return ErrInvalidLengthTypes 73347 } 73348 postIndex := iNdEx + msglen 73349 if postIndex < 0 { 73350 return ErrInvalidLengthTypes 73351 } 73352 if postIndex > l { 73353 return io.ErrUnexpectedEOF 73354 } 73355 m.Sets = append(m.Sets, ThresholdIndexSet{}) 73356 if err := m.Sets[len(m.Sets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 73357 return err 73358 } 73359 iNdEx = postIndex 73360 default: 73361 iNdEx = preIndex 73362 skippy, err := skipTypes(dAtA[iNdEx:]) 73363 if err != nil { 73364 return err 73365 } 73366 if (skippy < 0) || (iNdEx+skippy) < 0 { 73367 return ErrInvalidLengthTypes 73368 } 73369 if (iNdEx + skippy) > l { 73370 return io.ErrUnexpectedEOF 73371 } 73372 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 73373 iNdEx += skippy 73374 } 73375 } 73376 73377 if iNdEx > l { 73378 return io.ErrUnexpectedEOF 73379 } 73380 return nil 73381 } 73382 func (m *AccessRequestSpecV3) Unmarshal(dAtA []byte) error { 73383 l := len(dAtA) 73384 iNdEx := 0 73385 for iNdEx < l { 73386 preIndex := iNdEx 73387 var wire uint64 73388 for shift := uint(0); ; shift += 7 { 73389 if shift >= 64 { 73390 return ErrIntOverflowTypes 73391 } 73392 if iNdEx >= l { 73393 return io.ErrUnexpectedEOF 73394 } 73395 b := dAtA[iNdEx] 73396 iNdEx++ 73397 wire |= uint64(b&0x7F) << shift 73398 if b < 0x80 { 73399 break 73400 } 73401 } 73402 fieldNum := int32(wire >> 3) 73403 wireType := int(wire & 0x7) 73404 if wireType == 4 { 73405 return fmt.Errorf("proto: AccessRequestSpecV3: wiretype end group for non-group") 73406 } 73407 if fieldNum <= 0 { 73408 return fmt.Errorf("proto: AccessRequestSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 73409 } 73410 switch fieldNum { 73411 case 1: 73412 if wireType != 2 { 73413 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 73414 } 73415 var stringLen uint64 73416 for shift := uint(0); ; shift += 7 { 73417 if shift >= 64 { 73418 return ErrIntOverflowTypes 73419 } 73420 if iNdEx >= l { 73421 return io.ErrUnexpectedEOF 73422 } 73423 b := dAtA[iNdEx] 73424 iNdEx++ 73425 stringLen |= uint64(b&0x7F) << shift 73426 if b < 0x80 { 73427 break 73428 } 73429 } 73430 intStringLen := int(stringLen) 73431 if intStringLen < 0 { 73432 return ErrInvalidLengthTypes 73433 } 73434 postIndex := iNdEx + intStringLen 73435 if postIndex < 0 { 73436 return ErrInvalidLengthTypes 73437 } 73438 if postIndex > l { 73439 return io.ErrUnexpectedEOF 73440 } 73441 m.User = string(dAtA[iNdEx:postIndex]) 73442 iNdEx = postIndex 73443 case 2: 73444 if wireType != 2 { 73445 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 73446 } 73447 var stringLen uint64 73448 for shift := uint(0); ; shift += 7 { 73449 if shift >= 64 { 73450 return ErrIntOverflowTypes 73451 } 73452 if iNdEx >= l { 73453 return io.ErrUnexpectedEOF 73454 } 73455 b := dAtA[iNdEx] 73456 iNdEx++ 73457 stringLen |= uint64(b&0x7F) << shift 73458 if b < 0x80 { 73459 break 73460 } 73461 } 73462 intStringLen := int(stringLen) 73463 if intStringLen < 0 { 73464 return ErrInvalidLengthTypes 73465 } 73466 postIndex := iNdEx + intStringLen 73467 if postIndex < 0 { 73468 return ErrInvalidLengthTypes 73469 } 73470 if postIndex > l { 73471 return io.ErrUnexpectedEOF 73472 } 73473 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 73474 iNdEx = postIndex 73475 case 3: 73476 if wireType != 0 { 73477 return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) 73478 } 73479 m.State = 0 73480 for shift := uint(0); ; shift += 7 { 73481 if shift >= 64 { 73482 return ErrIntOverflowTypes 73483 } 73484 if iNdEx >= l { 73485 return io.ErrUnexpectedEOF 73486 } 73487 b := dAtA[iNdEx] 73488 iNdEx++ 73489 m.State |= RequestState(b&0x7F) << shift 73490 if b < 0x80 { 73491 break 73492 } 73493 } 73494 case 4: 73495 if wireType != 2 { 73496 return fmt.Errorf("proto: wrong wireType = %d for field Created", wireType) 73497 } 73498 var msglen int 73499 for shift := uint(0); ; shift += 7 { 73500 if shift >= 64 { 73501 return ErrIntOverflowTypes 73502 } 73503 if iNdEx >= l { 73504 return io.ErrUnexpectedEOF 73505 } 73506 b := dAtA[iNdEx] 73507 iNdEx++ 73508 msglen |= int(b&0x7F) << shift 73509 if b < 0x80 { 73510 break 73511 } 73512 } 73513 if msglen < 0 { 73514 return ErrInvalidLengthTypes 73515 } 73516 postIndex := iNdEx + msglen 73517 if postIndex < 0 { 73518 return ErrInvalidLengthTypes 73519 } 73520 if postIndex > l { 73521 return io.ErrUnexpectedEOF 73522 } 73523 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Created, dAtA[iNdEx:postIndex]); err != nil { 73524 return err 73525 } 73526 iNdEx = postIndex 73527 case 5: 73528 if wireType != 2 { 73529 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 73530 } 73531 var msglen int 73532 for shift := uint(0); ; shift += 7 { 73533 if shift >= 64 { 73534 return ErrIntOverflowTypes 73535 } 73536 if iNdEx >= l { 73537 return io.ErrUnexpectedEOF 73538 } 73539 b := dAtA[iNdEx] 73540 iNdEx++ 73541 msglen |= int(b&0x7F) << shift 73542 if b < 0x80 { 73543 break 73544 } 73545 } 73546 if msglen < 0 { 73547 return ErrInvalidLengthTypes 73548 } 73549 postIndex := iNdEx + msglen 73550 if postIndex < 0 { 73551 return ErrInvalidLengthTypes 73552 } 73553 if postIndex > l { 73554 return io.ErrUnexpectedEOF 73555 } 73556 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Expires, dAtA[iNdEx:postIndex]); err != nil { 73557 return err 73558 } 73559 iNdEx = postIndex 73560 case 6: 73561 if wireType != 2 { 73562 return fmt.Errorf("proto: wrong wireType = %d for field RequestReason", wireType) 73563 } 73564 var stringLen uint64 73565 for shift := uint(0); ; shift += 7 { 73566 if shift >= 64 { 73567 return ErrIntOverflowTypes 73568 } 73569 if iNdEx >= l { 73570 return io.ErrUnexpectedEOF 73571 } 73572 b := dAtA[iNdEx] 73573 iNdEx++ 73574 stringLen |= uint64(b&0x7F) << shift 73575 if b < 0x80 { 73576 break 73577 } 73578 } 73579 intStringLen := int(stringLen) 73580 if intStringLen < 0 { 73581 return ErrInvalidLengthTypes 73582 } 73583 postIndex := iNdEx + intStringLen 73584 if postIndex < 0 { 73585 return ErrInvalidLengthTypes 73586 } 73587 if postIndex > l { 73588 return io.ErrUnexpectedEOF 73589 } 73590 m.RequestReason = string(dAtA[iNdEx:postIndex]) 73591 iNdEx = postIndex 73592 case 7: 73593 if wireType != 2 { 73594 return fmt.Errorf("proto: wrong wireType = %d for field ResolveReason", wireType) 73595 } 73596 var stringLen uint64 73597 for shift := uint(0); ; shift += 7 { 73598 if shift >= 64 { 73599 return ErrIntOverflowTypes 73600 } 73601 if iNdEx >= l { 73602 return io.ErrUnexpectedEOF 73603 } 73604 b := dAtA[iNdEx] 73605 iNdEx++ 73606 stringLen |= uint64(b&0x7F) << shift 73607 if b < 0x80 { 73608 break 73609 } 73610 } 73611 intStringLen := int(stringLen) 73612 if intStringLen < 0 { 73613 return ErrInvalidLengthTypes 73614 } 73615 postIndex := iNdEx + intStringLen 73616 if postIndex < 0 { 73617 return ErrInvalidLengthTypes 73618 } 73619 if postIndex > l { 73620 return io.ErrUnexpectedEOF 73621 } 73622 m.ResolveReason = string(dAtA[iNdEx:postIndex]) 73623 iNdEx = postIndex 73624 case 8: 73625 if wireType != 2 { 73626 return fmt.Errorf("proto: wrong wireType = %d for field ResolveAnnotations", wireType) 73627 } 73628 var msglen int 73629 for shift := uint(0); ; shift += 7 { 73630 if shift >= 64 { 73631 return ErrIntOverflowTypes 73632 } 73633 if iNdEx >= l { 73634 return io.ErrUnexpectedEOF 73635 } 73636 b := dAtA[iNdEx] 73637 iNdEx++ 73638 msglen |= int(b&0x7F) << shift 73639 if b < 0x80 { 73640 break 73641 } 73642 } 73643 if msglen < 0 { 73644 return ErrInvalidLengthTypes 73645 } 73646 postIndex := iNdEx + msglen 73647 if postIndex < 0 { 73648 return ErrInvalidLengthTypes 73649 } 73650 if postIndex > l { 73651 return io.ErrUnexpectedEOF 73652 } 73653 if err := m.ResolveAnnotations.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 73654 return err 73655 } 73656 iNdEx = postIndex 73657 case 9: 73658 if wireType != 2 { 73659 return fmt.Errorf("proto: wrong wireType = %d for field SystemAnnotations", wireType) 73660 } 73661 var msglen int 73662 for shift := uint(0); ; shift += 7 { 73663 if shift >= 64 { 73664 return ErrIntOverflowTypes 73665 } 73666 if iNdEx >= l { 73667 return io.ErrUnexpectedEOF 73668 } 73669 b := dAtA[iNdEx] 73670 iNdEx++ 73671 msglen |= int(b&0x7F) << shift 73672 if b < 0x80 { 73673 break 73674 } 73675 } 73676 if msglen < 0 { 73677 return ErrInvalidLengthTypes 73678 } 73679 postIndex := iNdEx + msglen 73680 if postIndex < 0 { 73681 return ErrInvalidLengthTypes 73682 } 73683 if postIndex > l { 73684 return io.ErrUnexpectedEOF 73685 } 73686 if err := m.SystemAnnotations.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 73687 return err 73688 } 73689 iNdEx = postIndex 73690 case 10: 73691 if wireType != 2 { 73692 return fmt.Errorf("proto: wrong wireType = %d for field Thresholds", wireType) 73693 } 73694 var msglen int 73695 for shift := uint(0); ; shift += 7 { 73696 if shift >= 64 { 73697 return ErrIntOverflowTypes 73698 } 73699 if iNdEx >= l { 73700 return io.ErrUnexpectedEOF 73701 } 73702 b := dAtA[iNdEx] 73703 iNdEx++ 73704 msglen |= int(b&0x7F) << shift 73705 if b < 0x80 { 73706 break 73707 } 73708 } 73709 if msglen < 0 { 73710 return ErrInvalidLengthTypes 73711 } 73712 postIndex := iNdEx + msglen 73713 if postIndex < 0 { 73714 return ErrInvalidLengthTypes 73715 } 73716 if postIndex > l { 73717 return io.ErrUnexpectedEOF 73718 } 73719 m.Thresholds = append(m.Thresholds, AccessReviewThreshold{}) 73720 if err := m.Thresholds[len(m.Thresholds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 73721 return err 73722 } 73723 iNdEx = postIndex 73724 case 11: 73725 if wireType != 2 { 73726 return fmt.Errorf("proto: wrong wireType = %d for field RoleThresholdMapping", wireType) 73727 } 73728 var msglen int 73729 for shift := uint(0); ; shift += 7 { 73730 if shift >= 64 { 73731 return ErrIntOverflowTypes 73732 } 73733 if iNdEx >= l { 73734 return io.ErrUnexpectedEOF 73735 } 73736 b := dAtA[iNdEx] 73737 iNdEx++ 73738 msglen |= int(b&0x7F) << shift 73739 if b < 0x80 { 73740 break 73741 } 73742 } 73743 if msglen < 0 { 73744 return ErrInvalidLengthTypes 73745 } 73746 postIndex := iNdEx + msglen 73747 if postIndex < 0 { 73748 return ErrInvalidLengthTypes 73749 } 73750 if postIndex > l { 73751 return io.ErrUnexpectedEOF 73752 } 73753 if m.RoleThresholdMapping == nil { 73754 m.RoleThresholdMapping = make(map[string]ThresholdIndexSets) 73755 } 73756 var mapkey string 73757 mapvalue := &ThresholdIndexSets{} 73758 for iNdEx < postIndex { 73759 entryPreIndex := iNdEx 73760 var wire uint64 73761 for shift := uint(0); ; shift += 7 { 73762 if shift >= 64 { 73763 return ErrIntOverflowTypes 73764 } 73765 if iNdEx >= l { 73766 return io.ErrUnexpectedEOF 73767 } 73768 b := dAtA[iNdEx] 73769 iNdEx++ 73770 wire |= uint64(b&0x7F) << shift 73771 if b < 0x80 { 73772 break 73773 } 73774 } 73775 fieldNum := int32(wire >> 3) 73776 if fieldNum == 1 { 73777 var stringLenmapkey uint64 73778 for shift := uint(0); ; shift += 7 { 73779 if shift >= 64 { 73780 return ErrIntOverflowTypes 73781 } 73782 if iNdEx >= l { 73783 return io.ErrUnexpectedEOF 73784 } 73785 b := dAtA[iNdEx] 73786 iNdEx++ 73787 stringLenmapkey |= uint64(b&0x7F) << shift 73788 if b < 0x80 { 73789 break 73790 } 73791 } 73792 intStringLenmapkey := int(stringLenmapkey) 73793 if intStringLenmapkey < 0 { 73794 return ErrInvalidLengthTypes 73795 } 73796 postStringIndexmapkey := iNdEx + intStringLenmapkey 73797 if postStringIndexmapkey < 0 { 73798 return ErrInvalidLengthTypes 73799 } 73800 if postStringIndexmapkey > l { 73801 return io.ErrUnexpectedEOF 73802 } 73803 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 73804 iNdEx = postStringIndexmapkey 73805 } else if fieldNum == 2 { 73806 var mapmsglen int 73807 for shift := uint(0); ; shift += 7 { 73808 if shift >= 64 { 73809 return ErrIntOverflowTypes 73810 } 73811 if iNdEx >= l { 73812 return io.ErrUnexpectedEOF 73813 } 73814 b := dAtA[iNdEx] 73815 iNdEx++ 73816 mapmsglen |= int(b&0x7F) << shift 73817 if b < 0x80 { 73818 break 73819 } 73820 } 73821 if mapmsglen < 0 { 73822 return ErrInvalidLengthTypes 73823 } 73824 postmsgIndex := iNdEx + mapmsglen 73825 if postmsgIndex < 0 { 73826 return ErrInvalidLengthTypes 73827 } 73828 if postmsgIndex > l { 73829 return io.ErrUnexpectedEOF 73830 } 73831 mapvalue = &ThresholdIndexSets{} 73832 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 73833 return err 73834 } 73835 iNdEx = postmsgIndex 73836 } else { 73837 iNdEx = entryPreIndex 73838 skippy, err := skipTypes(dAtA[iNdEx:]) 73839 if err != nil { 73840 return err 73841 } 73842 if (skippy < 0) || (iNdEx+skippy) < 0 { 73843 return ErrInvalidLengthTypes 73844 } 73845 if (iNdEx + skippy) > postIndex { 73846 return io.ErrUnexpectedEOF 73847 } 73848 iNdEx += skippy 73849 } 73850 } 73851 m.RoleThresholdMapping[mapkey] = *mapvalue 73852 iNdEx = postIndex 73853 case 12: 73854 if wireType != 2 { 73855 return fmt.Errorf("proto: wrong wireType = %d for field Reviews", wireType) 73856 } 73857 var msglen int 73858 for shift := uint(0); ; shift += 7 { 73859 if shift >= 64 { 73860 return ErrIntOverflowTypes 73861 } 73862 if iNdEx >= l { 73863 return io.ErrUnexpectedEOF 73864 } 73865 b := dAtA[iNdEx] 73866 iNdEx++ 73867 msglen |= int(b&0x7F) << shift 73868 if b < 0x80 { 73869 break 73870 } 73871 } 73872 if msglen < 0 { 73873 return ErrInvalidLengthTypes 73874 } 73875 postIndex := iNdEx + msglen 73876 if postIndex < 0 { 73877 return ErrInvalidLengthTypes 73878 } 73879 if postIndex > l { 73880 return io.ErrUnexpectedEOF 73881 } 73882 m.Reviews = append(m.Reviews, AccessReview{}) 73883 if err := m.Reviews[len(m.Reviews)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 73884 return err 73885 } 73886 iNdEx = postIndex 73887 case 13: 73888 if wireType != 2 { 73889 return fmt.Errorf("proto: wrong wireType = %d for field SuggestedReviewers", wireType) 73890 } 73891 var stringLen uint64 73892 for shift := uint(0); ; shift += 7 { 73893 if shift >= 64 { 73894 return ErrIntOverflowTypes 73895 } 73896 if iNdEx >= l { 73897 return io.ErrUnexpectedEOF 73898 } 73899 b := dAtA[iNdEx] 73900 iNdEx++ 73901 stringLen |= uint64(b&0x7F) << shift 73902 if b < 0x80 { 73903 break 73904 } 73905 } 73906 intStringLen := int(stringLen) 73907 if intStringLen < 0 { 73908 return ErrInvalidLengthTypes 73909 } 73910 postIndex := iNdEx + intStringLen 73911 if postIndex < 0 { 73912 return ErrInvalidLengthTypes 73913 } 73914 if postIndex > l { 73915 return io.ErrUnexpectedEOF 73916 } 73917 m.SuggestedReviewers = append(m.SuggestedReviewers, string(dAtA[iNdEx:postIndex])) 73918 iNdEx = postIndex 73919 case 14: 73920 if wireType != 2 { 73921 return fmt.Errorf("proto: wrong wireType = %d for field RequestedResourceIDs", wireType) 73922 } 73923 var msglen int 73924 for shift := uint(0); ; shift += 7 { 73925 if shift >= 64 { 73926 return ErrIntOverflowTypes 73927 } 73928 if iNdEx >= l { 73929 return io.ErrUnexpectedEOF 73930 } 73931 b := dAtA[iNdEx] 73932 iNdEx++ 73933 msglen |= int(b&0x7F) << shift 73934 if b < 0x80 { 73935 break 73936 } 73937 } 73938 if msglen < 0 { 73939 return ErrInvalidLengthTypes 73940 } 73941 postIndex := iNdEx + msglen 73942 if postIndex < 0 { 73943 return ErrInvalidLengthTypes 73944 } 73945 if postIndex > l { 73946 return io.ErrUnexpectedEOF 73947 } 73948 m.RequestedResourceIDs = append(m.RequestedResourceIDs, ResourceID{}) 73949 if err := m.RequestedResourceIDs[len(m.RequestedResourceIDs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 73950 return err 73951 } 73952 iNdEx = postIndex 73953 case 15: 73954 if wireType != 2 { 73955 return fmt.Errorf("proto: wrong wireType = %d for field LoginHint", wireType) 73956 } 73957 var stringLen uint64 73958 for shift := uint(0); ; shift += 7 { 73959 if shift >= 64 { 73960 return ErrIntOverflowTypes 73961 } 73962 if iNdEx >= l { 73963 return io.ErrUnexpectedEOF 73964 } 73965 b := dAtA[iNdEx] 73966 iNdEx++ 73967 stringLen |= uint64(b&0x7F) << shift 73968 if b < 0x80 { 73969 break 73970 } 73971 } 73972 intStringLen := int(stringLen) 73973 if intStringLen < 0 { 73974 return ErrInvalidLengthTypes 73975 } 73976 postIndex := iNdEx + intStringLen 73977 if postIndex < 0 { 73978 return ErrInvalidLengthTypes 73979 } 73980 if postIndex > l { 73981 return io.ErrUnexpectedEOF 73982 } 73983 m.LoginHint = string(dAtA[iNdEx:postIndex]) 73984 iNdEx = postIndex 73985 case 16: 73986 if wireType != 0 { 73987 return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) 73988 } 73989 var v int 73990 for shift := uint(0); ; shift += 7 { 73991 if shift >= 64 { 73992 return ErrIntOverflowTypes 73993 } 73994 if iNdEx >= l { 73995 return io.ErrUnexpectedEOF 73996 } 73997 b := dAtA[iNdEx] 73998 iNdEx++ 73999 v |= int(b&0x7F) << shift 74000 if b < 0x80 { 74001 break 74002 } 74003 } 74004 m.DryRun = bool(v != 0) 74005 case 17: 74006 if wireType != 2 { 74007 return fmt.Errorf("proto: wrong wireType = %d for field MaxDuration", wireType) 74008 } 74009 var msglen int 74010 for shift := uint(0); ; shift += 7 { 74011 if shift >= 64 { 74012 return ErrIntOverflowTypes 74013 } 74014 if iNdEx >= l { 74015 return io.ErrUnexpectedEOF 74016 } 74017 b := dAtA[iNdEx] 74018 iNdEx++ 74019 msglen |= int(b&0x7F) << shift 74020 if b < 0x80 { 74021 break 74022 } 74023 } 74024 if msglen < 0 { 74025 return ErrInvalidLengthTypes 74026 } 74027 postIndex := iNdEx + msglen 74028 if postIndex < 0 { 74029 return ErrInvalidLengthTypes 74030 } 74031 if postIndex > l { 74032 return io.ErrUnexpectedEOF 74033 } 74034 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.MaxDuration, dAtA[iNdEx:postIndex]); err != nil { 74035 return err 74036 } 74037 iNdEx = postIndex 74038 case 18: 74039 if wireType != 2 { 74040 return fmt.Errorf("proto: wrong wireType = %d for field SessionTTL", wireType) 74041 } 74042 var msglen int 74043 for shift := uint(0); ; shift += 7 { 74044 if shift >= 64 { 74045 return ErrIntOverflowTypes 74046 } 74047 if iNdEx >= l { 74048 return io.ErrUnexpectedEOF 74049 } 74050 b := dAtA[iNdEx] 74051 iNdEx++ 74052 msglen |= int(b&0x7F) << shift 74053 if b < 0x80 { 74054 break 74055 } 74056 } 74057 if msglen < 0 { 74058 return ErrInvalidLengthTypes 74059 } 74060 postIndex := iNdEx + msglen 74061 if postIndex < 0 { 74062 return ErrInvalidLengthTypes 74063 } 74064 if postIndex > l { 74065 return io.ErrUnexpectedEOF 74066 } 74067 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.SessionTTL, dAtA[iNdEx:postIndex]); err != nil { 74068 return err 74069 } 74070 iNdEx = postIndex 74071 case 20: 74072 if wireType != 2 { 74073 return fmt.Errorf("proto: wrong wireType = %d for field AccessList", wireType) 74074 } 74075 var msglen int 74076 for shift := uint(0); ; shift += 7 { 74077 if shift >= 64 { 74078 return ErrIntOverflowTypes 74079 } 74080 if iNdEx >= l { 74081 return io.ErrUnexpectedEOF 74082 } 74083 b := dAtA[iNdEx] 74084 iNdEx++ 74085 msglen |= int(b&0x7F) << shift 74086 if b < 0x80 { 74087 break 74088 } 74089 } 74090 if msglen < 0 { 74091 return ErrInvalidLengthTypes 74092 } 74093 postIndex := iNdEx + msglen 74094 if postIndex < 0 { 74095 return ErrInvalidLengthTypes 74096 } 74097 if postIndex > l { 74098 return io.ErrUnexpectedEOF 74099 } 74100 if m.AccessList == nil { 74101 m.AccessList = &PromotedAccessList{} 74102 } 74103 if err := m.AccessList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 74104 return err 74105 } 74106 iNdEx = postIndex 74107 case 21: 74108 if wireType != 2 { 74109 return fmt.Errorf("proto: wrong wireType = %d for field AssumeStartTime", wireType) 74110 } 74111 var msglen int 74112 for shift := uint(0); ; shift += 7 { 74113 if shift >= 64 { 74114 return ErrIntOverflowTypes 74115 } 74116 if iNdEx >= l { 74117 return io.ErrUnexpectedEOF 74118 } 74119 b := dAtA[iNdEx] 74120 iNdEx++ 74121 msglen |= int(b&0x7F) << shift 74122 if b < 0x80 { 74123 break 74124 } 74125 } 74126 if msglen < 0 { 74127 return ErrInvalidLengthTypes 74128 } 74129 postIndex := iNdEx + msglen 74130 if postIndex < 0 { 74131 return ErrInvalidLengthTypes 74132 } 74133 if postIndex > l { 74134 return io.ErrUnexpectedEOF 74135 } 74136 if m.AssumeStartTime == nil { 74137 m.AssumeStartTime = new(time.Time) 74138 } 74139 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.AssumeStartTime, dAtA[iNdEx:postIndex]); err != nil { 74140 return err 74141 } 74142 iNdEx = postIndex 74143 default: 74144 iNdEx = preIndex 74145 skippy, err := skipTypes(dAtA[iNdEx:]) 74146 if err != nil { 74147 return err 74148 } 74149 if (skippy < 0) || (iNdEx+skippy) < 0 { 74150 return ErrInvalidLengthTypes 74151 } 74152 if (iNdEx + skippy) > l { 74153 return io.ErrUnexpectedEOF 74154 } 74155 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 74156 iNdEx += skippy 74157 } 74158 } 74159 74160 if iNdEx > l { 74161 return io.ErrUnexpectedEOF 74162 } 74163 return nil 74164 } 74165 func (m *AccessRequestFilter) Unmarshal(dAtA []byte) error { 74166 l := len(dAtA) 74167 iNdEx := 0 74168 for iNdEx < l { 74169 preIndex := iNdEx 74170 var wire uint64 74171 for shift := uint(0); ; shift += 7 { 74172 if shift >= 64 { 74173 return ErrIntOverflowTypes 74174 } 74175 if iNdEx >= l { 74176 return io.ErrUnexpectedEOF 74177 } 74178 b := dAtA[iNdEx] 74179 iNdEx++ 74180 wire |= uint64(b&0x7F) << shift 74181 if b < 0x80 { 74182 break 74183 } 74184 } 74185 fieldNum := int32(wire >> 3) 74186 wireType := int(wire & 0x7) 74187 if wireType == 4 { 74188 return fmt.Errorf("proto: AccessRequestFilter: wiretype end group for non-group") 74189 } 74190 if fieldNum <= 0 { 74191 return fmt.Errorf("proto: AccessRequestFilter: illegal tag %d (wire type %d)", fieldNum, wire) 74192 } 74193 switch fieldNum { 74194 case 1: 74195 if wireType != 2 { 74196 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 74197 } 74198 var stringLen uint64 74199 for shift := uint(0); ; shift += 7 { 74200 if shift >= 64 { 74201 return ErrIntOverflowTypes 74202 } 74203 if iNdEx >= l { 74204 return io.ErrUnexpectedEOF 74205 } 74206 b := dAtA[iNdEx] 74207 iNdEx++ 74208 stringLen |= uint64(b&0x7F) << shift 74209 if b < 0x80 { 74210 break 74211 } 74212 } 74213 intStringLen := int(stringLen) 74214 if intStringLen < 0 { 74215 return ErrInvalidLengthTypes 74216 } 74217 postIndex := iNdEx + intStringLen 74218 if postIndex < 0 { 74219 return ErrInvalidLengthTypes 74220 } 74221 if postIndex > l { 74222 return io.ErrUnexpectedEOF 74223 } 74224 m.ID = string(dAtA[iNdEx:postIndex]) 74225 iNdEx = postIndex 74226 case 2: 74227 if wireType != 2 { 74228 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 74229 } 74230 var stringLen uint64 74231 for shift := uint(0); ; shift += 7 { 74232 if shift >= 64 { 74233 return ErrIntOverflowTypes 74234 } 74235 if iNdEx >= l { 74236 return io.ErrUnexpectedEOF 74237 } 74238 b := dAtA[iNdEx] 74239 iNdEx++ 74240 stringLen |= uint64(b&0x7F) << shift 74241 if b < 0x80 { 74242 break 74243 } 74244 } 74245 intStringLen := int(stringLen) 74246 if intStringLen < 0 { 74247 return ErrInvalidLengthTypes 74248 } 74249 postIndex := iNdEx + intStringLen 74250 if postIndex < 0 { 74251 return ErrInvalidLengthTypes 74252 } 74253 if postIndex > l { 74254 return io.ErrUnexpectedEOF 74255 } 74256 m.User = string(dAtA[iNdEx:postIndex]) 74257 iNdEx = postIndex 74258 case 3: 74259 if wireType != 0 { 74260 return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) 74261 } 74262 m.State = 0 74263 for shift := uint(0); ; shift += 7 { 74264 if shift >= 64 { 74265 return ErrIntOverflowTypes 74266 } 74267 if iNdEx >= l { 74268 return io.ErrUnexpectedEOF 74269 } 74270 b := dAtA[iNdEx] 74271 iNdEx++ 74272 m.State |= RequestState(b&0x7F) << shift 74273 if b < 0x80 { 74274 break 74275 } 74276 } 74277 case 4: 74278 if wireType != 2 { 74279 return fmt.Errorf("proto: wrong wireType = %d for field SearchKeywords", wireType) 74280 } 74281 var stringLen uint64 74282 for shift := uint(0); ; shift += 7 { 74283 if shift >= 64 { 74284 return ErrIntOverflowTypes 74285 } 74286 if iNdEx >= l { 74287 return io.ErrUnexpectedEOF 74288 } 74289 b := dAtA[iNdEx] 74290 iNdEx++ 74291 stringLen |= uint64(b&0x7F) << shift 74292 if b < 0x80 { 74293 break 74294 } 74295 } 74296 intStringLen := int(stringLen) 74297 if intStringLen < 0 { 74298 return ErrInvalidLengthTypes 74299 } 74300 postIndex := iNdEx + intStringLen 74301 if postIndex < 0 { 74302 return ErrInvalidLengthTypes 74303 } 74304 if postIndex > l { 74305 return io.ErrUnexpectedEOF 74306 } 74307 m.SearchKeywords = append(m.SearchKeywords, string(dAtA[iNdEx:postIndex])) 74308 iNdEx = postIndex 74309 case 5: 74310 if wireType != 0 { 74311 return fmt.Errorf("proto: wrong wireType = %d for field Scope", wireType) 74312 } 74313 m.Scope = 0 74314 for shift := uint(0); ; shift += 7 { 74315 if shift >= 64 { 74316 return ErrIntOverflowTypes 74317 } 74318 if iNdEx >= l { 74319 return io.ErrUnexpectedEOF 74320 } 74321 b := dAtA[iNdEx] 74322 iNdEx++ 74323 m.Scope |= AccessRequestScope(b&0x7F) << shift 74324 if b < 0x80 { 74325 break 74326 } 74327 } 74328 case 6: 74329 if wireType != 2 { 74330 return fmt.Errorf("proto: wrong wireType = %d for field Requester", wireType) 74331 } 74332 var stringLen uint64 74333 for shift := uint(0); ; shift += 7 { 74334 if shift >= 64 { 74335 return ErrIntOverflowTypes 74336 } 74337 if iNdEx >= l { 74338 return io.ErrUnexpectedEOF 74339 } 74340 b := dAtA[iNdEx] 74341 iNdEx++ 74342 stringLen |= uint64(b&0x7F) << shift 74343 if b < 0x80 { 74344 break 74345 } 74346 } 74347 intStringLen := int(stringLen) 74348 if intStringLen < 0 { 74349 return ErrInvalidLengthTypes 74350 } 74351 postIndex := iNdEx + intStringLen 74352 if postIndex < 0 { 74353 return ErrInvalidLengthTypes 74354 } 74355 if postIndex > l { 74356 return io.ErrUnexpectedEOF 74357 } 74358 m.Requester = string(dAtA[iNdEx:postIndex]) 74359 iNdEx = postIndex 74360 default: 74361 iNdEx = preIndex 74362 skippy, err := skipTypes(dAtA[iNdEx:]) 74363 if err != nil { 74364 return err 74365 } 74366 if (skippy < 0) || (iNdEx+skippy) < 0 { 74367 return ErrInvalidLengthTypes 74368 } 74369 if (iNdEx + skippy) > l { 74370 return io.ErrUnexpectedEOF 74371 } 74372 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 74373 iNdEx += skippy 74374 } 74375 } 74376 74377 if iNdEx > l { 74378 return io.ErrUnexpectedEOF 74379 } 74380 return nil 74381 } 74382 func (m *AccessCapabilities) Unmarshal(dAtA []byte) error { 74383 l := len(dAtA) 74384 iNdEx := 0 74385 for iNdEx < l { 74386 preIndex := iNdEx 74387 var wire uint64 74388 for shift := uint(0); ; shift += 7 { 74389 if shift >= 64 { 74390 return ErrIntOverflowTypes 74391 } 74392 if iNdEx >= l { 74393 return io.ErrUnexpectedEOF 74394 } 74395 b := dAtA[iNdEx] 74396 iNdEx++ 74397 wire |= uint64(b&0x7F) << shift 74398 if b < 0x80 { 74399 break 74400 } 74401 } 74402 fieldNum := int32(wire >> 3) 74403 wireType := int(wire & 0x7) 74404 if wireType == 4 { 74405 return fmt.Errorf("proto: AccessCapabilities: wiretype end group for non-group") 74406 } 74407 if fieldNum <= 0 { 74408 return fmt.Errorf("proto: AccessCapabilities: illegal tag %d (wire type %d)", fieldNum, wire) 74409 } 74410 switch fieldNum { 74411 case 1: 74412 if wireType != 2 { 74413 return fmt.Errorf("proto: wrong wireType = %d for field RequestableRoles", wireType) 74414 } 74415 var stringLen uint64 74416 for shift := uint(0); ; shift += 7 { 74417 if shift >= 64 { 74418 return ErrIntOverflowTypes 74419 } 74420 if iNdEx >= l { 74421 return io.ErrUnexpectedEOF 74422 } 74423 b := dAtA[iNdEx] 74424 iNdEx++ 74425 stringLen |= uint64(b&0x7F) << shift 74426 if b < 0x80 { 74427 break 74428 } 74429 } 74430 intStringLen := int(stringLen) 74431 if intStringLen < 0 { 74432 return ErrInvalidLengthTypes 74433 } 74434 postIndex := iNdEx + intStringLen 74435 if postIndex < 0 { 74436 return ErrInvalidLengthTypes 74437 } 74438 if postIndex > l { 74439 return io.ErrUnexpectedEOF 74440 } 74441 m.RequestableRoles = append(m.RequestableRoles, string(dAtA[iNdEx:postIndex])) 74442 iNdEx = postIndex 74443 case 2: 74444 if wireType != 2 { 74445 return fmt.Errorf("proto: wrong wireType = %d for field SuggestedReviewers", wireType) 74446 } 74447 var stringLen uint64 74448 for shift := uint(0); ; shift += 7 { 74449 if shift >= 64 { 74450 return ErrIntOverflowTypes 74451 } 74452 if iNdEx >= l { 74453 return io.ErrUnexpectedEOF 74454 } 74455 b := dAtA[iNdEx] 74456 iNdEx++ 74457 stringLen |= uint64(b&0x7F) << shift 74458 if b < 0x80 { 74459 break 74460 } 74461 } 74462 intStringLen := int(stringLen) 74463 if intStringLen < 0 { 74464 return ErrInvalidLengthTypes 74465 } 74466 postIndex := iNdEx + intStringLen 74467 if postIndex < 0 { 74468 return ErrInvalidLengthTypes 74469 } 74470 if postIndex > l { 74471 return io.ErrUnexpectedEOF 74472 } 74473 m.SuggestedReviewers = append(m.SuggestedReviewers, string(dAtA[iNdEx:postIndex])) 74474 iNdEx = postIndex 74475 case 3: 74476 if wireType != 2 { 74477 return fmt.Errorf("proto: wrong wireType = %d for field ApplicableRolesForResources", wireType) 74478 } 74479 var stringLen uint64 74480 for shift := uint(0); ; shift += 7 { 74481 if shift >= 64 { 74482 return ErrIntOverflowTypes 74483 } 74484 if iNdEx >= l { 74485 return io.ErrUnexpectedEOF 74486 } 74487 b := dAtA[iNdEx] 74488 iNdEx++ 74489 stringLen |= uint64(b&0x7F) << shift 74490 if b < 0x80 { 74491 break 74492 } 74493 } 74494 intStringLen := int(stringLen) 74495 if intStringLen < 0 { 74496 return ErrInvalidLengthTypes 74497 } 74498 postIndex := iNdEx + intStringLen 74499 if postIndex < 0 { 74500 return ErrInvalidLengthTypes 74501 } 74502 if postIndex > l { 74503 return io.ErrUnexpectedEOF 74504 } 74505 m.ApplicableRolesForResources = append(m.ApplicableRolesForResources, string(dAtA[iNdEx:postIndex])) 74506 iNdEx = postIndex 74507 case 4: 74508 if wireType != 2 { 74509 return fmt.Errorf("proto: wrong wireType = %d for field RequestPrompt", wireType) 74510 } 74511 var stringLen uint64 74512 for shift := uint(0); ; shift += 7 { 74513 if shift >= 64 { 74514 return ErrIntOverflowTypes 74515 } 74516 if iNdEx >= l { 74517 return io.ErrUnexpectedEOF 74518 } 74519 b := dAtA[iNdEx] 74520 iNdEx++ 74521 stringLen |= uint64(b&0x7F) << shift 74522 if b < 0x80 { 74523 break 74524 } 74525 } 74526 intStringLen := int(stringLen) 74527 if intStringLen < 0 { 74528 return ErrInvalidLengthTypes 74529 } 74530 postIndex := iNdEx + intStringLen 74531 if postIndex < 0 { 74532 return ErrInvalidLengthTypes 74533 } 74534 if postIndex > l { 74535 return io.ErrUnexpectedEOF 74536 } 74537 m.RequestPrompt = string(dAtA[iNdEx:postIndex]) 74538 iNdEx = postIndex 74539 case 5: 74540 if wireType != 0 { 74541 return fmt.Errorf("proto: wrong wireType = %d for field RequireReason", wireType) 74542 } 74543 var v int 74544 for shift := uint(0); ; shift += 7 { 74545 if shift >= 64 { 74546 return ErrIntOverflowTypes 74547 } 74548 if iNdEx >= l { 74549 return io.ErrUnexpectedEOF 74550 } 74551 b := dAtA[iNdEx] 74552 iNdEx++ 74553 v |= int(b&0x7F) << shift 74554 if b < 0x80 { 74555 break 74556 } 74557 } 74558 m.RequireReason = bool(v != 0) 74559 case 6: 74560 if wireType != 0 { 74561 return fmt.Errorf("proto: wrong wireType = %d for field AutoRequest", wireType) 74562 } 74563 var v int 74564 for shift := uint(0); ; shift += 7 { 74565 if shift >= 64 { 74566 return ErrIntOverflowTypes 74567 } 74568 if iNdEx >= l { 74569 return io.ErrUnexpectedEOF 74570 } 74571 b := dAtA[iNdEx] 74572 iNdEx++ 74573 v |= int(b&0x7F) << shift 74574 if b < 0x80 { 74575 break 74576 } 74577 } 74578 m.AutoRequest = bool(v != 0) 74579 default: 74580 iNdEx = preIndex 74581 skippy, err := skipTypes(dAtA[iNdEx:]) 74582 if err != nil { 74583 return err 74584 } 74585 if (skippy < 0) || (iNdEx+skippy) < 0 { 74586 return ErrInvalidLengthTypes 74587 } 74588 if (iNdEx + skippy) > l { 74589 return io.ErrUnexpectedEOF 74590 } 74591 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 74592 iNdEx += skippy 74593 } 74594 } 74595 74596 if iNdEx > l { 74597 return io.ErrUnexpectedEOF 74598 } 74599 return nil 74600 } 74601 func (m *AccessCapabilitiesRequest) Unmarshal(dAtA []byte) error { 74602 l := len(dAtA) 74603 iNdEx := 0 74604 for iNdEx < l { 74605 preIndex := iNdEx 74606 var wire uint64 74607 for shift := uint(0); ; shift += 7 { 74608 if shift >= 64 { 74609 return ErrIntOverflowTypes 74610 } 74611 if iNdEx >= l { 74612 return io.ErrUnexpectedEOF 74613 } 74614 b := dAtA[iNdEx] 74615 iNdEx++ 74616 wire |= uint64(b&0x7F) << shift 74617 if b < 0x80 { 74618 break 74619 } 74620 } 74621 fieldNum := int32(wire >> 3) 74622 wireType := int(wire & 0x7) 74623 if wireType == 4 { 74624 return fmt.Errorf("proto: AccessCapabilitiesRequest: wiretype end group for non-group") 74625 } 74626 if fieldNum <= 0 { 74627 return fmt.Errorf("proto: AccessCapabilitiesRequest: illegal tag %d (wire type %d)", fieldNum, wire) 74628 } 74629 switch fieldNum { 74630 case 1: 74631 if wireType != 2 { 74632 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 74633 } 74634 var stringLen uint64 74635 for shift := uint(0); ; shift += 7 { 74636 if shift >= 64 { 74637 return ErrIntOverflowTypes 74638 } 74639 if iNdEx >= l { 74640 return io.ErrUnexpectedEOF 74641 } 74642 b := dAtA[iNdEx] 74643 iNdEx++ 74644 stringLen |= uint64(b&0x7F) << shift 74645 if b < 0x80 { 74646 break 74647 } 74648 } 74649 intStringLen := int(stringLen) 74650 if intStringLen < 0 { 74651 return ErrInvalidLengthTypes 74652 } 74653 postIndex := iNdEx + intStringLen 74654 if postIndex < 0 { 74655 return ErrInvalidLengthTypes 74656 } 74657 if postIndex > l { 74658 return io.ErrUnexpectedEOF 74659 } 74660 m.User = string(dAtA[iNdEx:postIndex]) 74661 iNdEx = postIndex 74662 case 2: 74663 if wireType != 0 { 74664 return fmt.Errorf("proto: wrong wireType = %d for field RequestableRoles", wireType) 74665 } 74666 var v int 74667 for shift := uint(0); ; shift += 7 { 74668 if shift >= 64 { 74669 return ErrIntOverflowTypes 74670 } 74671 if iNdEx >= l { 74672 return io.ErrUnexpectedEOF 74673 } 74674 b := dAtA[iNdEx] 74675 iNdEx++ 74676 v |= int(b&0x7F) << shift 74677 if b < 0x80 { 74678 break 74679 } 74680 } 74681 m.RequestableRoles = bool(v != 0) 74682 case 3: 74683 if wireType != 0 { 74684 return fmt.Errorf("proto: wrong wireType = %d for field SuggestedReviewers", wireType) 74685 } 74686 var v int 74687 for shift := uint(0); ; shift += 7 { 74688 if shift >= 64 { 74689 return ErrIntOverflowTypes 74690 } 74691 if iNdEx >= l { 74692 return io.ErrUnexpectedEOF 74693 } 74694 b := dAtA[iNdEx] 74695 iNdEx++ 74696 v |= int(b&0x7F) << shift 74697 if b < 0x80 { 74698 break 74699 } 74700 } 74701 m.SuggestedReviewers = bool(v != 0) 74702 case 4: 74703 if wireType != 2 { 74704 return fmt.Errorf("proto: wrong wireType = %d for field ResourceIDs", wireType) 74705 } 74706 var msglen int 74707 for shift := uint(0); ; shift += 7 { 74708 if shift >= 64 { 74709 return ErrIntOverflowTypes 74710 } 74711 if iNdEx >= l { 74712 return io.ErrUnexpectedEOF 74713 } 74714 b := dAtA[iNdEx] 74715 iNdEx++ 74716 msglen |= int(b&0x7F) << shift 74717 if b < 0x80 { 74718 break 74719 } 74720 } 74721 if msglen < 0 { 74722 return ErrInvalidLengthTypes 74723 } 74724 postIndex := iNdEx + msglen 74725 if postIndex < 0 { 74726 return ErrInvalidLengthTypes 74727 } 74728 if postIndex > l { 74729 return io.ErrUnexpectedEOF 74730 } 74731 m.ResourceIDs = append(m.ResourceIDs, ResourceID{}) 74732 if err := m.ResourceIDs[len(m.ResourceIDs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 74733 return err 74734 } 74735 iNdEx = postIndex 74736 case 5: 74737 if wireType != 2 { 74738 return fmt.Errorf("proto: wrong wireType = %d for field Login", wireType) 74739 } 74740 var stringLen uint64 74741 for shift := uint(0); ; shift += 7 { 74742 if shift >= 64 { 74743 return ErrIntOverflowTypes 74744 } 74745 if iNdEx >= l { 74746 return io.ErrUnexpectedEOF 74747 } 74748 b := dAtA[iNdEx] 74749 iNdEx++ 74750 stringLen |= uint64(b&0x7F) << shift 74751 if b < 0x80 { 74752 break 74753 } 74754 } 74755 intStringLen := int(stringLen) 74756 if intStringLen < 0 { 74757 return ErrInvalidLengthTypes 74758 } 74759 postIndex := iNdEx + intStringLen 74760 if postIndex < 0 { 74761 return ErrInvalidLengthTypes 74762 } 74763 if postIndex > l { 74764 return io.ErrUnexpectedEOF 74765 } 74766 m.Login = string(dAtA[iNdEx:postIndex]) 74767 iNdEx = postIndex 74768 case 6: 74769 if wireType != 0 { 74770 return fmt.Errorf("proto: wrong wireType = %d for field FilterRequestableRolesByResource", wireType) 74771 } 74772 var v int 74773 for shift := uint(0); ; shift += 7 { 74774 if shift >= 64 { 74775 return ErrIntOverflowTypes 74776 } 74777 if iNdEx >= l { 74778 return io.ErrUnexpectedEOF 74779 } 74780 b := dAtA[iNdEx] 74781 iNdEx++ 74782 v |= int(b&0x7F) << shift 74783 if b < 0x80 { 74784 break 74785 } 74786 } 74787 m.FilterRequestableRolesByResource = bool(v != 0) 74788 default: 74789 iNdEx = preIndex 74790 skippy, err := skipTypes(dAtA[iNdEx:]) 74791 if err != nil { 74792 return err 74793 } 74794 if (skippy < 0) || (iNdEx+skippy) < 0 { 74795 return ErrInvalidLengthTypes 74796 } 74797 if (iNdEx + skippy) > l { 74798 return io.ErrUnexpectedEOF 74799 } 74800 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 74801 iNdEx += skippy 74802 } 74803 } 74804 74805 if iNdEx > l { 74806 return io.ErrUnexpectedEOF 74807 } 74808 return nil 74809 } 74810 func (m *ResourceID) Unmarshal(dAtA []byte) error { 74811 l := len(dAtA) 74812 iNdEx := 0 74813 for iNdEx < l { 74814 preIndex := iNdEx 74815 var wire uint64 74816 for shift := uint(0); ; shift += 7 { 74817 if shift >= 64 { 74818 return ErrIntOverflowTypes 74819 } 74820 if iNdEx >= l { 74821 return io.ErrUnexpectedEOF 74822 } 74823 b := dAtA[iNdEx] 74824 iNdEx++ 74825 wire |= uint64(b&0x7F) << shift 74826 if b < 0x80 { 74827 break 74828 } 74829 } 74830 fieldNum := int32(wire >> 3) 74831 wireType := int(wire & 0x7) 74832 if wireType == 4 { 74833 return fmt.Errorf("proto: ResourceID: wiretype end group for non-group") 74834 } 74835 if fieldNum <= 0 { 74836 return fmt.Errorf("proto: ResourceID: illegal tag %d (wire type %d)", fieldNum, wire) 74837 } 74838 switch fieldNum { 74839 case 1: 74840 if wireType != 2 { 74841 return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) 74842 } 74843 var stringLen uint64 74844 for shift := uint(0); ; shift += 7 { 74845 if shift >= 64 { 74846 return ErrIntOverflowTypes 74847 } 74848 if iNdEx >= l { 74849 return io.ErrUnexpectedEOF 74850 } 74851 b := dAtA[iNdEx] 74852 iNdEx++ 74853 stringLen |= uint64(b&0x7F) << shift 74854 if b < 0x80 { 74855 break 74856 } 74857 } 74858 intStringLen := int(stringLen) 74859 if intStringLen < 0 { 74860 return ErrInvalidLengthTypes 74861 } 74862 postIndex := iNdEx + intStringLen 74863 if postIndex < 0 { 74864 return ErrInvalidLengthTypes 74865 } 74866 if postIndex > l { 74867 return io.ErrUnexpectedEOF 74868 } 74869 m.ClusterName = string(dAtA[iNdEx:postIndex]) 74870 iNdEx = postIndex 74871 case 2: 74872 if wireType != 2 { 74873 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 74874 } 74875 var stringLen uint64 74876 for shift := uint(0); ; shift += 7 { 74877 if shift >= 64 { 74878 return ErrIntOverflowTypes 74879 } 74880 if iNdEx >= l { 74881 return io.ErrUnexpectedEOF 74882 } 74883 b := dAtA[iNdEx] 74884 iNdEx++ 74885 stringLen |= uint64(b&0x7F) << shift 74886 if b < 0x80 { 74887 break 74888 } 74889 } 74890 intStringLen := int(stringLen) 74891 if intStringLen < 0 { 74892 return ErrInvalidLengthTypes 74893 } 74894 postIndex := iNdEx + intStringLen 74895 if postIndex < 0 { 74896 return ErrInvalidLengthTypes 74897 } 74898 if postIndex > l { 74899 return io.ErrUnexpectedEOF 74900 } 74901 m.Kind = string(dAtA[iNdEx:postIndex]) 74902 iNdEx = postIndex 74903 case 3: 74904 if wireType != 2 { 74905 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 74906 } 74907 var stringLen uint64 74908 for shift := uint(0); ; shift += 7 { 74909 if shift >= 64 { 74910 return ErrIntOverflowTypes 74911 } 74912 if iNdEx >= l { 74913 return io.ErrUnexpectedEOF 74914 } 74915 b := dAtA[iNdEx] 74916 iNdEx++ 74917 stringLen |= uint64(b&0x7F) << shift 74918 if b < 0x80 { 74919 break 74920 } 74921 } 74922 intStringLen := int(stringLen) 74923 if intStringLen < 0 { 74924 return ErrInvalidLengthTypes 74925 } 74926 postIndex := iNdEx + intStringLen 74927 if postIndex < 0 { 74928 return ErrInvalidLengthTypes 74929 } 74930 if postIndex > l { 74931 return io.ErrUnexpectedEOF 74932 } 74933 m.Name = string(dAtA[iNdEx:postIndex]) 74934 iNdEx = postIndex 74935 case 4: 74936 if wireType != 2 { 74937 return fmt.Errorf("proto: wrong wireType = %d for field SubResourceName", wireType) 74938 } 74939 var stringLen uint64 74940 for shift := uint(0); ; shift += 7 { 74941 if shift >= 64 { 74942 return ErrIntOverflowTypes 74943 } 74944 if iNdEx >= l { 74945 return io.ErrUnexpectedEOF 74946 } 74947 b := dAtA[iNdEx] 74948 iNdEx++ 74949 stringLen |= uint64(b&0x7F) << shift 74950 if b < 0x80 { 74951 break 74952 } 74953 } 74954 intStringLen := int(stringLen) 74955 if intStringLen < 0 { 74956 return ErrInvalidLengthTypes 74957 } 74958 postIndex := iNdEx + intStringLen 74959 if postIndex < 0 { 74960 return ErrInvalidLengthTypes 74961 } 74962 if postIndex > l { 74963 return io.ErrUnexpectedEOF 74964 } 74965 m.SubResourceName = string(dAtA[iNdEx:postIndex]) 74966 iNdEx = postIndex 74967 default: 74968 iNdEx = preIndex 74969 skippy, err := skipTypes(dAtA[iNdEx:]) 74970 if err != nil { 74971 return err 74972 } 74973 if (skippy < 0) || (iNdEx+skippy) < 0 { 74974 return ErrInvalidLengthTypes 74975 } 74976 if (iNdEx + skippy) > l { 74977 return io.ErrUnexpectedEOF 74978 } 74979 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 74980 iNdEx += skippy 74981 } 74982 } 74983 74984 if iNdEx > l { 74985 return io.ErrUnexpectedEOF 74986 } 74987 return nil 74988 } 74989 func (m *PluginDataV3) Unmarshal(dAtA []byte) error { 74990 l := len(dAtA) 74991 iNdEx := 0 74992 for iNdEx < l { 74993 preIndex := iNdEx 74994 var wire uint64 74995 for shift := uint(0); ; shift += 7 { 74996 if shift >= 64 { 74997 return ErrIntOverflowTypes 74998 } 74999 if iNdEx >= l { 75000 return io.ErrUnexpectedEOF 75001 } 75002 b := dAtA[iNdEx] 75003 iNdEx++ 75004 wire |= uint64(b&0x7F) << shift 75005 if b < 0x80 { 75006 break 75007 } 75008 } 75009 fieldNum := int32(wire >> 3) 75010 wireType := int(wire & 0x7) 75011 if wireType == 4 { 75012 return fmt.Errorf("proto: PluginDataV3: wiretype end group for non-group") 75013 } 75014 if fieldNum <= 0 { 75015 return fmt.Errorf("proto: PluginDataV3: illegal tag %d (wire type %d)", fieldNum, wire) 75016 } 75017 switch fieldNum { 75018 case 1: 75019 if wireType != 2 { 75020 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 75021 } 75022 var stringLen uint64 75023 for shift := uint(0); ; shift += 7 { 75024 if shift >= 64 { 75025 return ErrIntOverflowTypes 75026 } 75027 if iNdEx >= l { 75028 return io.ErrUnexpectedEOF 75029 } 75030 b := dAtA[iNdEx] 75031 iNdEx++ 75032 stringLen |= uint64(b&0x7F) << shift 75033 if b < 0x80 { 75034 break 75035 } 75036 } 75037 intStringLen := int(stringLen) 75038 if intStringLen < 0 { 75039 return ErrInvalidLengthTypes 75040 } 75041 postIndex := iNdEx + intStringLen 75042 if postIndex < 0 { 75043 return ErrInvalidLengthTypes 75044 } 75045 if postIndex > l { 75046 return io.ErrUnexpectedEOF 75047 } 75048 m.Kind = string(dAtA[iNdEx:postIndex]) 75049 iNdEx = postIndex 75050 case 2: 75051 if wireType != 2 { 75052 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 75053 } 75054 var stringLen uint64 75055 for shift := uint(0); ; shift += 7 { 75056 if shift >= 64 { 75057 return ErrIntOverflowTypes 75058 } 75059 if iNdEx >= l { 75060 return io.ErrUnexpectedEOF 75061 } 75062 b := dAtA[iNdEx] 75063 iNdEx++ 75064 stringLen |= uint64(b&0x7F) << shift 75065 if b < 0x80 { 75066 break 75067 } 75068 } 75069 intStringLen := int(stringLen) 75070 if intStringLen < 0 { 75071 return ErrInvalidLengthTypes 75072 } 75073 postIndex := iNdEx + intStringLen 75074 if postIndex < 0 { 75075 return ErrInvalidLengthTypes 75076 } 75077 if postIndex > l { 75078 return io.ErrUnexpectedEOF 75079 } 75080 m.SubKind = string(dAtA[iNdEx:postIndex]) 75081 iNdEx = postIndex 75082 case 3: 75083 if wireType != 2 { 75084 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 75085 } 75086 var stringLen uint64 75087 for shift := uint(0); ; shift += 7 { 75088 if shift >= 64 { 75089 return ErrIntOverflowTypes 75090 } 75091 if iNdEx >= l { 75092 return io.ErrUnexpectedEOF 75093 } 75094 b := dAtA[iNdEx] 75095 iNdEx++ 75096 stringLen |= uint64(b&0x7F) << shift 75097 if b < 0x80 { 75098 break 75099 } 75100 } 75101 intStringLen := int(stringLen) 75102 if intStringLen < 0 { 75103 return ErrInvalidLengthTypes 75104 } 75105 postIndex := iNdEx + intStringLen 75106 if postIndex < 0 { 75107 return ErrInvalidLengthTypes 75108 } 75109 if postIndex > l { 75110 return io.ErrUnexpectedEOF 75111 } 75112 m.Version = string(dAtA[iNdEx:postIndex]) 75113 iNdEx = postIndex 75114 case 4: 75115 if wireType != 2 { 75116 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 75117 } 75118 var msglen int 75119 for shift := uint(0); ; shift += 7 { 75120 if shift >= 64 { 75121 return ErrIntOverflowTypes 75122 } 75123 if iNdEx >= l { 75124 return io.ErrUnexpectedEOF 75125 } 75126 b := dAtA[iNdEx] 75127 iNdEx++ 75128 msglen |= int(b&0x7F) << shift 75129 if b < 0x80 { 75130 break 75131 } 75132 } 75133 if msglen < 0 { 75134 return ErrInvalidLengthTypes 75135 } 75136 postIndex := iNdEx + msglen 75137 if postIndex < 0 { 75138 return ErrInvalidLengthTypes 75139 } 75140 if postIndex > l { 75141 return io.ErrUnexpectedEOF 75142 } 75143 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 75144 return err 75145 } 75146 iNdEx = postIndex 75147 case 5: 75148 if wireType != 2 { 75149 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 75150 } 75151 var msglen int 75152 for shift := uint(0); ; shift += 7 { 75153 if shift >= 64 { 75154 return ErrIntOverflowTypes 75155 } 75156 if iNdEx >= l { 75157 return io.ErrUnexpectedEOF 75158 } 75159 b := dAtA[iNdEx] 75160 iNdEx++ 75161 msglen |= int(b&0x7F) << shift 75162 if b < 0x80 { 75163 break 75164 } 75165 } 75166 if msglen < 0 { 75167 return ErrInvalidLengthTypes 75168 } 75169 postIndex := iNdEx + msglen 75170 if postIndex < 0 { 75171 return ErrInvalidLengthTypes 75172 } 75173 if postIndex > l { 75174 return io.ErrUnexpectedEOF 75175 } 75176 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 75177 return err 75178 } 75179 iNdEx = postIndex 75180 default: 75181 iNdEx = preIndex 75182 skippy, err := skipTypes(dAtA[iNdEx:]) 75183 if err != nil { 75184 return err 75185 } 75186 if (skippy < 0) || (iNdEx+skippy) < 0 { 75187 return ErrInvalidLengthTypes 75188 } 75189 if (iNdEx + skippy) > l { 75190 return io.ErrUnexpectedEOF 75191 } 75192 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 75193 iNdEx += skippy 75194 } 75195 } 75196 75197 if iNdEx > l { 75198 return io.ErrUnexpectedEOF 75199 } 75200 return nil 75201 } 75202 func (m *PluginDataEntry) Unmarshal(dAtA []byte) error { 75203 l := len(dAtA) 75204 iNdEx := 0 75205 for iNdEx < l { 75206 preIndex := iNdEx 75207 var wire uint64 75208 for shift := uint(0); ; shift += 7 { 75209 if shift >= 64 { 75210 return ErrIntOverflowTypes 75211 } 75212 if iNdEx >= l { 75213 return io.ErrUnexpectedEOF 75214 } 75215 b := dAtA[iNdEx] 75216 iNdEx++ 75217 wire |= uint64(b&0x7F) << shift 75218 if b < 0x80 { 75219 break 75220 } 75221 } 75222 fieldNum := int32(wire >> 3) 75223 wireType := int(wire & 0x7) 75224 if wireType == 4 { 75225 return fmt.Errorf("proto: PluginDataEntry: wiretype end group for non-group") 75226 } 75227 if fieldNum <= 0 { 75228 return fmt.Errorf("proto: PluginDataEntry: illegal tag %d (wire type %d)", fieldNum, wire) 75229 } 75230 switch fieldNum { 75231 case 1: 75232 if wireType != 2 { 75233 return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) 75234 } 75235 var msglen int 75236 for shift := uint(0); ; shift += 7 { 75237 if shift >= 64 { 75238 return ErrIntOverflowTypes 75239 } 75240 if iNdEx >= l { 75241 return io.ErrUnexpectedEOF 75242 } 75243 b := dAtA[iNdEx] 75244 iNdEx++ 75245 msglen |= int(b&0x7F) << shift 75246 if b < 0x80 { 75247 break 75248 } 75249 } 75250 if msglen < 0 { 75251 return ErrInvalidLengthTypes 75252 } 75253 postIndex := iNdEx + msglen 75254 if postIndex < 0 { 75255 return ErrInvalidLengthTypes 75256 } 75257 if postIndex > l { 75258 return io.ErrUnexpectedEOF 75259 } 75260 if m.Data == nil { 75261 m.Data = make(map[string]string) 75262 } 75263 var mapkey string 75264 var mapvalue string 75265 for iNdEx < postIndex { 75266 entryPreIndex := iNdEx 75267 var wire uint64 75268 for shift := uint(0); ; shift += 7 { 75269 if shift >= 64 { 75270 return ErrIntOverflowTypes 75271 } 75272 if iNdEx >= l { 75273 return io.ErrUnexpectedEOF 75274 } 75275 b := dAtA[iNdEx] 75276 iNdEx++ 75277 wire |= uint64(b&0x7F) << shift 75278 if b < 0x80 { 75279 break 75280 } 75281 } 75282 fieldNum := int32(wire >> 3) 75283 if fieldNum == 1 { 75284 var stringLenmapkey uint64 75285 for shift := uint(0); ; shift += 7 { 75286 if shift >= 64 { 75287 return ErrIntOverflowTypes 75288 } 75289 if iNdEx >= l { 75290 return io.ErrUnexpectedEOF 75291 } 75292 b := dAtA[iNdEx] 75293 iNdEx++ 75294 stringLenmapkey |= uint64(b&0x7F) << shift 75295 if b < 0x80 { 75296 break 75297 } 75298 } 75299 intStringLenmapkey := int(stringLenmapkey) 75300 if intStringLenmapkey < 0 { 75301 return ErrInvalidLengthTypes 75302 } 75303 postStringIndexmapkey := iNdEx + intStringLenmapkey 75304 if postStringIndexmapkey < 0 { 75305 return ErrInvalidLengthTypes 75306 } 75307 if postStringIndexmapkey > l { 75308 return io.ErrUnexpectedEOF 75309 } 75310 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 75311 iNdEx = postStringIndexmapkey 75312 } else if fieldNum == 2 { 75313 var stringLenmapvalue uint64 75314 for shift := uint(0); ; shift += 7 { 75315 if shift >= 64 { 75316 return ErrIntOverflowTypes 75317 } 75318 if iNdEx >= l { 75319 return io.ErrUnexpectedEOF 75320 } 75321 b := dAtA[iNdEx] 75322 iNdEx++ 75323 stringLenmapvalue |= uint64(b&0x7F) << shift 75324 if b < 0x80 { 75325 break 75326 } 75327 } 75328 intStringLenmapvalue := int(stringLenmapvalue) 75329 if intStringLenmapvalue < 0 { 75330 return ErrInvalidLengthTypes 75331 } 75332 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 75333 if postStringIndexmapvalue < 0 { 75334 return ErrInvalidLengthTypes 75335 } 75336 if postStringIndexmapvalue > l { 75337 return io.ErrUnexpectedEOF 75338 } 75339 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 75340 iNdEx = postStringIndexmapvalue 75341 } else { 75342 iNdEx = entryPreIndex 75343 skippy, err := skipTypes(dAtA[iNdEx:]) 75344 if err != nil { 75345 return err 75346 } 75347 if (skippy < 0) || (iNdEx+skippy) < 0 { 75348 return ErrInvalidLengthTypes 75349 } 75350 if (iNdEx + skippy) > postIndex { 75351 return io.ErrUnexpectedEOF 75352 } 75353 iNdEx += skippy 75354 } 75355 } 75356 m.Data[mapkey] = mapvalue 75357 iNdEx = postIndex 75358 default: 75359 iNdEx = preIndex 75360 skippy, err := skipTypes(dAtA[iNdEx:]) 75361 if err != nil { 75362 return err 75363 } 75364 if (skippy < 0) || (iNdEx+skippy) < 0 { 75365 return ErrInvalidLengthTypes 75366 } 75367 if (iNdEx + skippy) > l { 75368 return io.ErrUnexpectedEOF 75369 } 75370 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 75371 iNdEx += skippy 75372 } 75373 } 75374 75375 if iNdEx > l { 75376 return io.ErrUnexpectedEOF 75377 } 75378 return nil 75379 } 75380 func (m *PluginDataSpecV3) Unmarshal(dAtA []byte) error { 75381 l := len(dAtA) 75382 iNdEx := 0 75383 for iNdEx < l { 75384 preIndex := iNdEx 75385 var wire uint64 75386 for shift := uint(0); ; shift += 7 { 75387 if shift >= 64 { 75388 return ErrIntOverflowTypes 75389 } 75390 if iNdEx >= l { 75391 return io.ErrUnexpectedEOF 75392 } 75393 b := dAtA[iNdEx] 75394 iNdEx++ 75395 wire |= uint64(b&0x7F) << shift 75396 if b < 0x80 { 75397 break 75398 } 75399 } 75400 fieldNum := int32(wire >> 3) 75401 wireType := int(wire & 0x7) 75402 if wireType == 4 { 75403 return fmt.Errorf("proto: PluginDataSpecV3: wiretype end group for non-group") 75404 } 75405 if fieldNum <= 0 { 75406 return fmt.Errorf("proto: PluginDataSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 75407 } 75408 switch fieldNum { 75409 case 1: 75410 if wireType != 2 { 75411 return fmt.Errorf("proto: wrong wireType = %d for field Entries", wireType) 75412 } 75413 var msglen int 75414 for shift := uint(0); ; shift += 7 { 75415 if shift >= 64 { 75416 return ErrIntOverflowTypes 75417 } 75418 if iNdEx >= l { 75419 return io.ErrUnexpectedEOF 75420 } 75421 b := dAtA[iNdEx] 75422 iNdEx++ 75423 msglen |= int(b&0x7F) << shift 75424 if b < 0x80 { 75425 break 75426 } 75427 } 75428 if msglen < 0 { 75429 return ErrInvalidLengthTypes 75430 } 75431 postIndex := iNdEx + msglen 75432 if postIndex < 0 { 75433 return ErrInvalidLengthTypes 75434 } 75435 if postIndex > l { 75436 return io.ErrUnexpectedEOF 75437 } 75438 if m.Entries == nil { 75439 m.Entries = make(map[string]*PluginDataEntry) 75440 } 75441 var mapkey string 75442 var mapvalue *PluginDataEntry 75443 for iNdEx < postIndex { 75444 entryPreIndex := iNdEx 75445 var wire uint64 75446 for shift := uint(0); ; shift += 7 { 75447 if shift >= 64 { 75448 return ErrIntOverflowTypes 75449 } 75450 if iNdEx >= l { 75451 return io.ErrUnexpectedEOF 75452 } 75453 b := dAtA[iNdEx] 75454 iNdEx++ 75455 wire |= uint64(b&0x7F) << shift 75456 if b < 0x80 { 75457 break 75458 } 75459 } 75460 fieldNum := int32(wire >> 3) 75461 if fieldNum == 1 { 75462 var stringLenmapkey uint64 75463 for shift := uint(0); ; shift += 7 { 75464 if shift >= 64 { 75465 return ErrIntOverflowTypes 75466 } 75467 if iNdEx >= l { 75468 return io.ErrUnexpectedEOF 75469 } 75470 b := dAtA[iNdEx] 75471 iNdEx++ 75472 stringLenmapkey |= uint64(b&0x7F) << shift 75473 if b < 0x80 { 75474 break 75475 } 75476 } 75477 intStringLenmapkey := int(stringLenmapkey) 75478 if intStringLenmapkey < 0 { 75479 return ErrInvalidLengthTypes 75480 } 75481 postStringIndexmapkey := iNdEx + intStringLenmapkey 75482 if postStringIndexmapkey < 0 { 75483 return ErrInvalidLengthTypes 75484 } 75485 if postStringIndexmapkey > l { 75486 return io.ErrUnexpectedEOF 75487 } 75488 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 75489 iNdEx = postStringIndexmapkey 75490 } else if fieldNum == 2 { 75491 var mapmsglen int 75492 for shift := uint(0); ; shift += 7 { 75493 if shift >= 64 { 75494 return ErrIntOverflowTypes 75495 } 75496 if iNdEx >= l { 75497 return io.ErrUnexpectedEOF 75498 } 75499 b := dAtA[iNdEx] 75500 iNdEx++ 75501 mapmsglen |= int(b&0x7F) << shift 75502 if b < 0x80 { 75503 break 75504 } 75505 } 75506 if mapmsglen < 0 { 75507 return ErrInvalidLengthTypes 75508 } 75509 postmsgIndex := iNdEx + mapmsglen 75510 if postmsgIndex < 0 { 75511 return ErrInvalidLengthTypes 75512 } 75513 if postmsgIndex > l { 75514 return io.ErrUnexpectedEOF 75515 } 75516 mapvalue = &PluginDataEntry{} 75517 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 75518 return err 75519 } 75520 iNdEx = postmsgIndex 75521 } else { 75522 iNdEx = entryPreIndex 75523 skippy, err := skipTypes(dAtA[iNdEx:]) 75524 if err != nil { 75525 return err 75526 } 75527 if (skippy < 0) || (iNdEx+skippy) < 0 { 75528 return ErrInvalidLengthTypes 75529 } 75530 if (iNdEx + skippy) > postIndex { 75531 return io.ErrUnexpectedEOF 75532 } 75533 iNdEx += skippy 75534 } 75535 } 75536 m.Entries[mapkey] = mapvalue 75537 iNdEx = postIndex 75538 default: 75539 iNdEx = preIndex 75540 skippy, err := skipTypes(dAtA[iNdEx:]) 75541 if err != nil { 75542 return err 75543 } 75544 if (skippy < 0) || (iNdEx+skippy) < 0 { 75545 return ErrInvalidLengthTypes 75546 } 75547 if (iNdEx + skippy) > l { 75548 return io.ErrUnexpectedEOF 75549 } 75550 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 75551 iNdEx += skippy 75552 } 75553 } 75554 75555 if iNdEx > l { 75556 return io.ErrUnexpectedEOF 75557 } 75558 return nil 75559 } 75560 func (m *PluginDataFilter) Unmarshal(dAtA []byte) error { 75561 l := len(dAtA) 75562 iNdEx := 0 75563 for iNdEx < l { 75564 preIndex := iNdEx 75565 var wire uint64 75566 for shift := uint(0); ; shift += 7 { 75567 if shift >= 64 { 75568 return ErrIntOverflowTypes 75569 } 75570 if iNdEx >= l { 75571 return io.ErrUnexpectedEOF 75572 } 75573 b := dAtA[iNdEx] 75574 iNdEx++ 75575 wire |= uint64(b&0x7F) << shift 75576 if b < 0x80 { 75577 break 75578 } 75579 } 75580 fieldNum := int32(wire >> 3) 75581 wireType := int(wire & 0x7) 75582 if wireType == 4 { 75583 return fmt.Errorf("proto: PluginDataFilter: wiretype end group for non-group") 75584 } 75585 if fieldNum <= 0 { 75586 return fmt.Errorf("proto: PluginDataFilter: illegal tag %d (wire type %d)", fieldNum, wire) 75587 } 75588 switch fieldNum { 75589 case 1: 75590 if wireType != 2 { 75591 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 75592 } 75593 var stringLen uint64 75594 for shift := uint(0); ; shift += 7 { 75595 if shift >= 64 { 75596 return ErrIntOverflowTypes 75597 } 75598 if iNdEx >= l { 75599 return io.ErrUnexpectedEOF 75600 } 75601 b := dAtA[iNdEx] 75602 iNdEx++ 75603 stringLen |= uint64(b&0x7F) << shift 75604 if b < 0x80 { 75605 break 75606 } 75607 } 75608 intStringLen := int(stringLen) 75609 if intStringLen < 0 { 75610 return ErrInvalidLengthTypes 75611 } 75612 postIndex := iNdEx + intStringLen 75613 if postIndex < 0 { 75614 return ErrInvalidLengthTypes 75615 } 75616 if postIndex > l { 75617 return io.ErrUnexpectedEOF 75618 } 75619 m.Kind = string(dAtA[iNdEx:postIndex]) 75620 iNdEx = postIndex 75621 case 2: 75622 if wireType != 2 { 75623 return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType) 75624 } 75625 var stringLen uint64 75626 for shift := uint(0); ; shift += 7 { 75627 if shift >= 64 { 75628 return ErrIntOverflowTypes 75629 } 75630 if iNdEx >= l { 75631 return io.ErrUnexpectedEOF 75632 } 75633 b := dAtA[iNdEx] 75634 iNdEx++ 75635 stringLen |= uint64(b&0x7F) << shift 75636 if b < 0x80 { 75637 break 75638 } 75639 } 75640 intStringLen := int(stringLen) 75641 if intStringLen < 0 { 75642 return ErrInvalidLengthTypes 75643 } 75644 postIndex := iNdEx + intStringLen 75645 if postIndex < 0 { 75646 return ErrInvalidLengthTypes 75647 } 75648 if postIndex > l { 75649 return io.ErrUnexpectedEOF 75650 } 75651 m.Resource = string(dAtA[iNdEx:postIndex]) 75652 iNdEx = postIndex 75653 case 3: 75654 if wireType != 2 { 75655 return fmt.Errorf("proto: wrong wireType = %d for field Plugin", wireType) 75656 } 75657 var stringLen uint64 75658 for shift := uint(0); ; shift += 7 { 75659 if shift >= 64 { 75660 return ErrIntOverflowTypes 75661 } 75662 if iNdEx >= l { 75663 return io.ErrUnexpectedEOF 75664 } 75665 b := dAtA[iNdEx] 75666 iNdEx++ 75667 stringLen |= uint64(b&0x7F) << shift 75668 if b < 0x80 { 75669 break 75670 } 75671 } 75672 intStringLen := int(stringLen) 75673 if intStringLen < 0 { 75674 return ErrInvalidLengthTypes 75675 } 75676 postIndex := iNdEx + intStringLen 75677 if postIndex < 0 { 75678 return ErrInvalidLengthTypes 75679 } 75680 if postIndex > l { 75681 return io.ErrUnexpectedEOF 75682 } 75683 m.Plugin = string(dAtA[iNdEx:postIndex]) 75684 iNdEx = postIndex 75685 default: 75686 iNdEx = preIndex 75687 skippy, err := skipTypes(dAtA[iNdEx:]) 75688 if err != nil { 75689 return err 75690 } 75691 if (skippy < 0) || (iNdEx+skippy) < 0 { 75692 return ErrInvalidLengthTypes 75693 } 75694 if (iNdEx + skippy) > l { 75695 return io.ErrUnexpectedEOF 75696 } 75697 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 75698 iNdEx += skippy 75699 } 75700 } 75701 75702 if iNdEx > l { 75703 return io.ErrUnexpectedEOF 75704 } 75705 return nil 75706 } 75707 func (m *PluginDataUpdateParams) Unmarshal(dAtA []byte) error { 75708 l := len(dAtA) 75709 iNdEx := 0 75710 for iNdEx < l { 75711 preIndex := iNdEx 75712 var wire uint64 75713 for shift := uint(0); ; shift += 7 { 75714 if shift >= 64 { 75715 return ErrIntOverflowTypes 75716 } 75717 if iNdEx >= l { 75718 return io.ErrUnexpectedEOF 75719 } 75720 b := dAtA[iNdEx] 75721 iNdEx++ 75722 wire |= uint64(b&0x7F) << shift 75723 if b < 0x80 { 75724 break 75725 } 75726 } 75727 fieldNum := int32(wire >> 3) 75728 wireType := int(wire & 0x7) 75729 if wireType == 4 { 75730 return fmt.Errorf("proto: PluginDataUpdateParams: wiretype end group for non-group") 75731 } 75732 if fieldNum <= 0 { 75733 return fmt.Errorf("proto: PluginDataUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) 75734 } 75735 switch fieldNum { 75736 case 1: 75737 if wireType != 2 { 75738 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 75739 } 75740 var stringLen uint64 75741 for shift := uint(0); ; shift += 7 { 75742 if shift >= 64 { 75743 return ErrIntOverflowTypes 75744 } 75745 if iNdEx >= l { 75746 return io.ErrUnexpectedEOF 75747 } 75748 b := dAtA[iNdEx] 75749 iNdEx++ 75750 stringLen |= uint64(b&0x7F) << shift 75751 if b < 0x80 { 75752 break 75753 } 75754 } 75755 intStringLen := int(stringLen) 75756 if intStringLen < 0 { 75757 return ErrInvalidLengthTypes 75758 } 75759 postIndex := iNdEx + intStringLen 75760 if postIndex < 0 { 75761 return ErrInvalidLengthTypes 75762 } 75763 if postIndex > l { 75764 return io.ErrUnexpectedEOF 75765 } 75766 m.Kind = string(dAtA[iNdEx:postIndex]) 75767 iNdEx = postIndex 75768 case 2: 75769 if wireType != 2 { 75770 return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType) 75771 } 75772 var stringLen uint64 75773 for shift := uint(0); ; shift += 7 { 75774 if shift >= 64 { 75775 return ErrIntOverflowTypes 75776 } 75777 if iNdEx >= l { 75778 return io.ErrUnexpectedEOF 75779 } 75780 b := dAtA[iNdEx] 75781 iNdEx++ 75782 stringLen |= uint64(b&0x7F) << shift 75783 if b < 0x80 { 75784 break 75785 } 75786 } 75787 intStringLen := int(stringLen) 75788 if intStringLen < 0 { 75789 return ErrInvalidLengthTypes 75790 } 75791 postIndex := iNdEx + intStringLen 75792 if postIndex < 0 { 75793 return ErrInvalidLengthTypes 75794 } 75795 if postIndex > l { 75796 return io.ErrUnexpectedEOF 75797 } 75798 m.Resource = string(dAtA[iNdEx:postIndex]) 75799 iNdEx = postIndex 75800 case 3: 75801 if wireType != 2 { 75802 return fmt.Errorf("proto: wrong wireType = %d for field Plugin", wireType) 75803 } 75804 var stringLen uint64 75805 for shift := uint(0); ; shift += 7 { 75806 if shift >= 64 { 75807 return ErrIntOverflowTypes 75808 } 75809 if iNdEx >= l { 75810 return io.ErrUnexpectedEOF 75811 } 75812 b := dAtA[iNdEx] 75813 iNdEx++ 75814 stringLen |= uint64(b&0x7F) << shift 75815 if b < 0x80 { 75816 break 75817 } 75818 } 75819 intStringLen := int(stringLen) 75820 if intStringLen < 0 { 75821 return ErrInvalidLengthTypes 75822 } 75823 postIndex := iNdEx + intStringLen 75824 if postIndex < 0 { 75825 return ErrInvalidLengthTypes 75826 } 75827 if postIndex > l { 75828 return io.ErrUnexpectedEOF 75829 } 75830 m.Plugin = string(dAtA[iNdEx:postIndex]) 75831 iNdEx = postIndex 75832 case 4: 75833 if wireType != 2 { 75834 return fmt.Errorf("proto: wrong wireType = %d for field Set", wireType) 75835 } 75836 var msglen int 75837 for shift := uint(0); ; shift += 7 { 75838 if shift >= 64 { 75839 return ErrIntOverflowTypes 75840 } 75841 if iNdEx >= l { 75842 return io.ErrUnexpectedEOF 75843 } 75844 b := dAtA[iNdEx] 75845 iNdEx++ 75846 msglen |= int(b&0x7F) << shift 75847 if b < 0x80 { 75848 break 75849 } 75850 } 75851 if msglen < 0 { 75852 return ErrInvalidLengthTypes 75853 } 75854 postIndex := iNdEx + msglen 75855 if postIndex < 0 { 75856 return ErrInvalidLengthTypes 75857 } 75858 if postIndex > l { 75859 return io.ErrUnexpectedEOF 75860 } 75861 if m.Set == nil { 75862 m.Set = make(map[string]string) 75863 } 75864 var mapkey string 75865 var mapvalue string 75866 for iNdEx < postIndex { 75867 entryPreIndex := iNdEx 75868 var wire uint64 75869 for shift := uint(0); ; shift += 7 { 75870 if shift >= 64 { 75871 return ErrIntOverflowTypes 75872 } 75873 if iNdEx >= l { 75874 return io.ErrUnexpectedEOF 75875 } 75876 b := dAtA[iNdEx] 75877 iNdEx++ 75878 wire |= uint64(b&0x7F) << shift 75879 if b < 0x80 { 75880 break 75881 } 75882 } 75883 fieldNum := int32(wire >> 3) 75884 if fieldNum == 1 { 75885 var stringLenmapkey uint64 75886 for shift := uint(0); ; shift += 7 { 75887 if shift >= 64 { 75888 return ErrIntOverflowTypes 75889 } 75890 if iNdEx >= l { 75891 return io.ErrUnexpectedEOF 75892 } 75893 b := dAtA[iNdEx] 75894 iNdEx++ 75895 stringLenmapkey |= uint64(b&0x7F) << shift 75896 if b < 0x80 { 75897 break 75898 } 75899 } 75900 intStringLenmapkey := int(stringLenmapkey) 75901 if intStringLenmapkey < 0 { 75902 return ErrInvalidLengthTypes 75903 } 75904 postStringIndexmapkey := iNdEx + intStringLenmapkey 75905 if postStringIndexmapkey < 0 { 75906 return ErrInvalidLengthTypes 75907 } 75908 if postStringIndexmapkey > l { 75909 return io.ErrUnexpectedEOF 75910 } 75911 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 75912 iNdEx = postStringIndexmapkey 75913 } else if fieldNum == 2 { 75914 var stringLenmapvalue uint64 75915 for shift := uint(0); ; shift += 7 { 75916 if shift >= 64 { 75917 return ErrIntOverflowTypes 75918 } 75919 if iNdEx >= l { 75920 return io.ErrUnexpectedEOF 75921 } 75922 b := dAtA[iNdEx] 75923 iNdEx++ 75924 stringLenmapvalue |= uint64(b&0x7F) << shift 75925 if b < 0x80 { 75926 break 75927 } 75928 } 75929 intStringLenmapvalue := int(stringLenmapvalue) 75930 if intStringLenmapvalue < 0 { 75931 return ErrInvalidLengthTypes 75932 } 75933 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 75934 if postStringIndexmapvalue < 0 { 75935 return ErrInvalidLengthTypes 75936 } 75937 if postStringIndexmapvalue > l { 75938 return io.ErrUnexpectedEOF 75939 } 75940 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 75941 iNdEx = postStringIndexmapvalue 75942 } else { 75943 iNdEx = entryPreIndex 75944 skippy, err := skipTypes(dAtA[iNdEx:]) 75945 if err != nil { 75946 return err 75947 } 75948 if (skippy < 0) || (iNdEx+skippy) < 0 { 75949 return ErrInvalidLengthTypes 75950 } 75951 if (iNdEx + skippy) > postIndex { 75952 return io.ErrUnexpectedEOF 75953 } 75954 iNdEx += skippy 75955 } 75956 } 75957 m.Set[mapkey] = mapvalue 75958 iNdEx = postIndex 75959 case 5: 75960 if wireType != 2 { 75961 return fmt.Errorf("proto: wrong wireType = %d for field Expect", wireType) 75962 } 75963 var msglen int 75964 for shift := uint(0); ; shift += 7 { 75965 if shift >= 64 { 75966 return ErrIntOverflowTypes 75967 } 75968 if iNdEx >= l { 75969 return io.ErrUnexpectedEOF 75970 } 75971 b := dAtA[iNdEx] 75972 iNdEx++ 75973 msglen |= int(b&0x7F) << shift 75974 if b < 0x80 { 75975 break 75976 } 75977 } 75978 if msglen < 0 { 75979 return ErrInvalidLengthTypes 75980 } 75981 postIndex := iNdEx + msglen 75982 if postIndex < 0 { 75983 return ErrInvalidLengthTypes 75984 } 75985 if postIndex > l { 75986 return io.ErrUnexpectedEOF 75987 } 75988 if m.Expect == nil { 75989 m.Expect = make(map[string]string) 75990 } 75991 var mapkey string 75992 var mapvalue string 75993 for iNdEx < postIndex { 75994 entryPreIndex := iNdEx 75995 var wire uint64 75996 for shift := uint(0); ; shift += 7 { 75997 if shift >= 64 { 75998 return ErrIntOverflowTypes 75999 } 76000 if iNdEx >= l { 76001 return io.ErrUnexpectedEOF 76002 } 76003 b := dAtA[iNdEx] 76004 iNdEx++ 76005 wire |= uint64(b&0x7F) << shift 76006 if b < 0x80 { 76007 break 76008 } 76009 } 76010 fieldNum := int32(wire >> 3) 76011 if fieldNum == 1 { 76012 var stringLenmapkey uint64 76013 for shift := uint(0); ; shift += 7 { 76014 if shift >= 64 { 76015 return ErrIntOverflowTypes 76016 } 76017 if iNdEx >= l { 76018 return io.ErrUnexpectedEOF 76019 } 76020 b := dAtA[iNdEx] 76021 iNdEx++ 76022 stringLenmapkey |= uint64(b&0x7F) << shift 76023 if b < 0x80 { 76024 break 76025 } 76026 } 76027 intStringLenmapkey := int(stringLenmapkey) 76028 if intStringLenmapkey < 0 { 76029 return ErrInvalidLengthTypes 76030 } 76031 postStringIndexmapkey := iNdEx + intStringLenmapkey 76032 if postStringIndexmapkey < 0 { 76033 return ErrInvalidLengthTypes 76034 } 76035 if postStringIndexmapkey > l { 76036 return io.ErrUnexpectedEOF 76037 } 76038 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 76039 iNdEx = postStringIndexmapkey 76040 } else if fieldNum == 2 { 76041 var stringLenmapvalue uint64 76042 for shift := uint(0); ; shift += 7 { 76043 if shift >= 64 { 76044 return ErrIntOverflowTypes 76045 } 76046 if iNdEx >= l { 76047 return io.ErrUnexpectedEOF 76048 } 76049 b := dAtA[iNdEx] 76050 iNdEx++ 76051 stringLenmapvalue |= uint64(b&0x7F) << shift 76052 if b < 0x80 { 76053 break 76054 } 76055 } 76056 intStringLenmapvalue := int(stringLenmapvalue) 76057 if intStringLenmapvalue < 0 { 76058 return ErrInvalidLengthTypes 76059 } 76060 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 76061 if postStringIndexmapvalue < 0 { 76062 return ErrInvalidLengthTypes 76063 } 76064 if postStringIndexmapvalue > l { 76065 return io.ErrUnexpectedEOF 76066 } 76067 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 76068 iNdEx = postStringIndexmapvalue 76069 } else { 76070 iNdEx = entryPreIndex 76071 skippy, err := skipTypes(dAtA[iNdEx:]) 76072 if err != nil { 76073 return err 76074 } 76075 if (skippy < 0) || (iNdEx+skippy) < 0 { 76076 return ErrInvalidLengthTypes 76077 } 76078 if (iNdEx + skippy) > postIndex { 76079 return io.ErrUnexpectedEOF 76080 } 76081 iNdEx += skippy 76082 } 76083 } 76084 m.Expect[mapkey] = mapvalue 76085 iNdEx = postIndex 76086 default: 76087 iNdEx = preIndex 76088 skippy, err := skipTypes(dAtA[iNdEx:]) 76089 if err != nil { 76090 return err 76091 } 76092 if (skippy < 0) || (iNdEx+skippy) < 0 { 76093 return ErrInvalidLengthTypes 76094 } 76095 if (iNdEx + skippy) > l { 76096 return io.ErrUnexpectedEOF 76097 } 76098 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 76099 iNdEx += skippy 76100 } 76101 } 76102 76103 if iNdEx > l { 76104 return io.ErrUnexpectedEOF 76105 } 76106 return nil 76107 } 76108 func (m *RoleFilter) Unmarshal(dAtA []byte) error { 76109 l := len(dAtA) 76110 iNdEx := 0 76111 for iNdEx < l { 76112 preIndex := iNdEx 76113 var wire uint64 76114 for shift := uint(0); ; shift += 7 { 76115 if shift >= 64 { 76116 return ErrIntOverflowTypes 76117 } 76118 if iNdEx >= l { 76119 return io.ErrUnexpectedEOF 76120 } 76121 b := dAtA[iNdEx] 76122 iNdEx++ 76123 wire |= uint64(b&0x7F) << shift 76124 if b < 0x80 { 76125 break 76126 } 76127 } 76128 fieldNum := int32(wire >> 3) 76129 wireType := int(wire & 0x7) 76130 if wireType == 4 { 76131 return fmt.Errorf("proto: RoleFilter: wiretype end group for non-group") 76132 } 76133 if fieldNum <= 0 { 76134 return fmt.Errorf("proto: RoleFilter: illegal tag %d (wire type %d)", fieldNum, wire) 76135 } 76136 switch fieldNum { 76137 case 1: 76138 if wireType != 2 { 76139 return fmt.Errorf("proto: wrong wireType = %d for field SearchKeywords", wireType) 76140 } 76141 var stringLen uint64 76142 for shift := uint(0); ; shift += 7 { 76143 if shift >= 64 { 76144 return ErrIntOverflowTypes 76145 } 76146 if iNdEx >= l { 76147 return io.ErrUnexpectedEOF 76148 } 76149 b := dAtA[iNdEx] 76150 iNdEx++ 76151 stringLen |= uint64(b&0x7F) << shift 76152 if b < 0x80 { 76153 break 76154 } 76155 } 76156 intStringLen := int(stringLen) 76157 if intStringLen < 0 { 76158 return ErrInvalidLengthTypes 76159 } 76160 postIndex := iNdEx + intStringLen 76161 if postIndex < 0 { 76162 return ErrInvalidLengthTypes 76163 } 76164 if postIndex > l { 76165 return io.ErrUnexpectedEOF 76166 } 76167 m.SearchKeywords = append(m.SearchKeywords, string(dAtA[iNdEx:postIndex])) 76168 iNdEx = postIndex 76169 case 2: 76170 if wireType != 0 { 76171 return fmt.Errorf("proto: wrong wireType = %d for field SkipSystemRoles", wireType) 76172 } 76173 var v int 76174 for shift := uint(0); ; shift += 7 { 76175 if shift >= 64 { 76176 return ErrIntOverflowTypes 76177 } 76178 if iNdEx >= l { 76179 return io.ErrUnexpectedEOF 76180 } 76181 b := dAtA[iNdEx] 76182 iNdEx++ 76183 v |= int(b&0x7F) << shift 76184 if b < 0x80 { 76185 break 76186 } 76187 } 76188 m.SkipSystemRoles = bool(v != 0) 76189 default: 76190 iNdEx = preIndex 76191 skippy, err := skipTypes(dAtA[iNdEx:]) 76192 if err != nil { 76193 return err 76194 } 76195 if (skippy < 0) || (iNdEx+skippy) < 0 { 76196 return ErrInvalidLengthTypes 76197 } 76198 if (iNdEx + skippy) > l { 76199 return io.ErrUnexpectedEOF 76200 } 76201 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 76202 iNdEx += skippy 76203 } 76204 } 76205 76206 if iNdEx > l { 76207 return io.ErrUnexpectedEOF 76208 } 76209 return nil 76210 } 76211 func (m *RoleV6) Unmarshal(dAtA []byte) error { 76212 l := len(dAtA) 76213 iNdEx := 0 76214 for iNdEx < l { 76215 preIndex := iNdEx 76216 var wire uint64 76217 for shift := uint(0); ; shift += 7 { 76218 if shift >= 64 { 76219 return ErrIntOverflowTypes 76220 } 76221 if iNdEx >= l { 76222 return io.ErrUnexpectedEOF 76223 } 76224 b := dAtA[iNdEx] 76225 iNdEx++ 76226 wire |= uint64(b&0x7F) << shift 76227 if b < 0x80 { 76228 break 76229 } 76230 } 76231 fieldNum := int32(wire >> 3) 76232 wireType := int(wire & 0x7) 76233 if wireType == 4 { 76234 return fmt.Errorf("proto: RoleV6: wiretype end group for non-group") 76235 } 76236 if fieldNum <= 0 { 76237 return fmt.Errorf("proto: RoleV6: illegal tag %d (wire type %d)", fieldNum, wire) 76238 } 76239 switch fieldNum { 76240 case 1: 76241 if wireType != 2 { 76242 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 76243 } 76244 var stringLen uint64 76245 for shift := uint(0); ; shift += 7 { 76246 if shift >= 64 { 76247 return ErrIntOverflowTypes 76248 } 76249 if iNdEx >= l { 76250 return io.ErrUnexpectedEOF 76251 } 76252 b := dAtA[iNdEx] 76253 iNdEx++ 76254 stringLen |= uint64(b&0x7F) << shift 76255 if b < 0x80 { 76256 break 76257 } 76258 } 76259 intStringLen := int(stringLen) 76260 if intStringLen < 0 { 76261 return ErrInvalidLengthTypes 76262 } 76263 postIndex := iNdEx + intStringLen 76264 if postIndex < 0 { 76265 return ErrInvalidLengthTypes 76266 } 76267 if postIndex > l { 76268 return io.ErrUnexpectedEOF 76269 } 76270 m.Kind = string(dAtA[iNdEx:postIndex]) 76271 iNdEx = postIndex 76272 case 2: 76273 if wireType != 2 { 76274 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 76275 } 76276 var stringLen uint64 76277 for shift := uint(0); ; shift += 7 { 76278 if shift >= 64 { 76279 return ErrIntOverflowTypes 76280 } 76281 if iNdEx >= l { 76282 return io.ErrUnexpectedEOF 76283 } 76284 b := dAtA[iNdEx] 76285 iNdEx++ 76286 stringLen |= uint64(b&0x7F) << shift 76287 if b < 0x80 { 76288 break 76289 } 76290 } 76291 intStringLen := int(stringLen) 76292 if intStringLen < 0 { 76293 return ErrInvalidLengthTypes 76294 } 76295 postIndex := iNdEx + intStringLen 76296 if postIndex < 0 { 76297 return ErrInvalidLengthTypes 76298 } 76299 if postIndex > l { 76300 return io.ErrUnexpectedEOF 76301 } 76302 m.SubKind = string(dAtA[iNdEx:postIndex]) 76303 iNdEx = postIndex 76304 case 3: 76305 if wireType != 2 { 76306 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 76307 } 76308 var stringLen uint64 76309 for shift := uint(0); ; shift += 7 { 76310 if shift >= 64 { 76311 return ErrIntOverflowTypes 76312 } 76313 if iNdEx >= l { 76314 return io.ErrUnexpectedEOF 76315 } 76316 b := dAtA[iNdEx] 76317 iNdEx++ 76318 stringLen |= uint64(b&0x7F) << shift 76319 if b < 0x80 { 76320 break 76321 } 76322 } 76323 intStringLen := int(stringLen) 76324 if intStringLen < 0 { 76325 return ErrInvalidLengthTypes 76326 } 76327 postIndex := iNdEx + intStringLen 76328 if postIndex < 0 { 76329 return ErrInvalidLengthTypes 76330 } 76331 if postIndex > l { 76332 return io.ErrUnexpectedEOF 76333 } 76334 m.Version = string(dAtA[iNdEx:postIndex]) 76335 iNdEx = postIndex 76336 case 4: 76337 if wireType != 2 { 76338 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 76339 } 76340 var msglen int 76341 for shift := uint(0); ; shift += 7 { 76342 if shift >= 64 { 76343 return ErrIntOverflowTypes 76344 } 76345 if iNdEx >= l { 76346 return io.ErrUnexpectedEOF 76347 } 76348 b := dAtA[iNdEx] 76349 iNdEx++ 76350 msglen |= int(b&0x7F) << shift 76351 if b < 0x80 { 76352 break 76353 } 76354 } 76355 if msglen < 0 { 76356 return ErrInvalidLengthTypes 76357 } 76358 postIndex := iNdEx + msglen 76359 if postIndex < 0 { 76360 return ErrInvalidLengthTypes 76361 } 76362 if postIndex > l { 76363 return io.ErrUnexpectedEOF 76364 } 76365 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 76366 return err 76367 } 76368 iNdEx = postIndex 76369 case 5: 76370 if wireType != 2 { 76371 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 76372 } 76373 var msglen int 76374 for shift := uint(0); ; shift += 7 { 76375 if shift >= 64 { 76376 return ErrIntOverflowTypes 76377 } 76378 if iNdEx >= l { 76379 return io.ErrUnexpectedEOF 76380 } 76381 b := dAtA[iNdEx] 76382 iNdEx++ 76383 msglen |= int(b&0x7F) << shift 76384 if b < 0x80 { 76385 break 76386 } 76387 } 76388 if msglen < 0 { 76389 return ErrInvalidLengthTypes 76390 } 76391 postIndex := iNdEx + msglen 76392 if postIndex < 0 { 76393 return ErrInvalidLengthTypes 76394 } 76395 if postIndex > l { 76396 return io.ErrUnexpectedEOF 76397 } 76398 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 76399 return err 76400 } 76401 iNdEx = postIndex 76402 default: 76403 iNdEx = preIndex 76404 skippy, err := skipTypes(dAtA[iNdEx:]) 76405 if err != nil { 76406 return err 76407 } 76408 if (skippy < 0) || (iNdEx+skippy) < 0 { 76409 return ErrInvalidLengthTypes 76410 } 76411 if (iNdEx + skippy) > l { 76412 return io.ErrUnexpectedEOF 76413 } 76414 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 76415 iNdEx += skippy 76416 } 76417 } 76418 76419 if iNdEx > l { 76420 return io.ErrUnexpectedEOF 76421 } 76422 return nil 76423 } 76424 func (m *RoleSpecV6) Unmarshal(dAtA []byte) error { 76425 l := len(dAtA) 76426 iNdEx := 0 76427 for iNdEx < l { 76428 preIndex := iNdEx 76429 var wire uint64 76430 for shift := uint(0); ; shift += 7 { 76431 if shift >= 64 { 76432 return ErrIntOverflowTypes 76433 } 76434 if iNdEx >= l { 76435 return io.ErrUnexpectedEOF 76436 } 76437 b := dAtA[iNdEx] 76438 iNdEx++ 76439 wire |= uint64(b&0x7F) << shift 76440 if b < 0x80 { 76441 break 76442 } 76443 } 76444 fieldNum := int32(wire >> 3) 76445 wireType := int(wire & 0x7) 76446 if wireType == 4 { 76447 return fmt.Errorf("proto: RoleSpecV6: wiretype end group for non-group") 76448 } 76449 if fieldNum <= 0 { 76450 return fmt.Errorf("proto: RoleSpecV6: illegal tag %d (wire type %d)", fieldNum, wire) 76451 } 76452 switch fieldNum { 76453 case 1: 76454 if wireType != 2 { 76455 return fmt.Errorf("proto: wrong wireType = %d for field Options", wireType) 76456 } 76457 var msglen int 76458 for shift := uint(0); ; shift += 7 { 76459 if shift >= 64 { 76460 return ErrIntOverflowTypes 76461 } 76462 if iNdEx >= l { 76463 return io.ErrUnexpectedEOF 76464 } 76465 b := dAtA[iNdEx] 76466 iNdEx++ 76467 msglen |= int(b&0x7F) << shift 76468 if b < 0x80 { 76469 break 76470 } 76471 } 76472 if msglen < 0 { 76473 return ErrInvalidLengthTypes 76474 } 76475 postIndex := iNdEx + msglen 76476 if postIndex < 0 { 76477 return ErrInvalidLengthTypes 76478 } 76479 if postIndex > l { 76480 return io.ErrUnexpectedEOF 76481 } 76482 if err := m.Options.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 76483 return err 76484 } 76485 iNdEx = postIndex 76486 case 2: 76487 if wireType != 2 { 76488 return fmt.Errorf("proto: wrong wireType = %d for field Allow", wireType) 76489 } 76490 var msglen int 76491 for shift := uint(0); ; shift += 7 { 76492 if shift >= 64 { 76493 return ErrIntOverflowTypes 76494 } 76495 if iNdEx >= l { 76496 return io.ErrUnexpectedEOF 76497 } 76498 b := dAtA[iNdEx] 76499 iNdEx++ 76500 msglen |= int(b&0x7F) << shift 76501 if b < 0x80 { 76502 break 76503 } 76504 } 76505 if msglen < 0 { 76506 return ErrInvalidLengthTypes 76507 } 76508 postIndex := iNdEx + msglen 76509 if postIndex < 0 { 76510 return ErrInvalidLengthTypes 76511 } 76512 if postIndex > l { 76513 return io.ErrUnexpectedEOF 76514 } 76515 if err := m.Allow.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 76516 return err 76517 } 76518 iNdEx = postIndex 76519 case 3: 76520 if wireType != 2 { 76521 return fmt.Errorf("proto: wrong wireType = %d for field Deny", wireType) 76522 } 76523 var msglen int 76524 for shift := uint(0); ; shift += 7 { 76525 if shift >= 64 { 76526 return ErrIntOverflowTypes 76527 } 76528 if iNdEx >= l { 76529 return io.ErrUnexpectedEOF 76530 } 76531 b := dAtA[iNdEx] 76532 iNdEx++ 76533 msglen |= int(b&0x7F) << shift 76534 if b < 0x80 { 76535 break 76536 } 76537 } 76538 if msglen < 0 { 76539 return ErrInvalidLengthTypes 76540 } 76541 postIndex := iNdEx + msglen 76542 if postIndex < 0 { 76543 return ErrInvalidLengthTypes 76544 } 76545 if postIndex > l { 76546 return io.ErrUnexpectedEOF 76547 } 76548 if err := m.Deny.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 76549 return err 76550 } 76551 iNdEx = postIndex 76552 default: 76553 iNdEx = preIndex 76554 skippy, err := skipTypes(dAtA[iNdEx:]) 76555 if err != nil { 76556 return err 76557 } 76558 if (skippy < 0) || (iNdEx+skippy) < 0 { 76559 return ErrInvalidLengthTypes 76560 } 76561 if (iNdEx + skippy) > l { 76562 return io.ErrUnexpectedEOF 76563 } 76564 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 76565 iNdEx += skippy 76566 } 76567 } 76568 76569 if iNdEx > l { 76570 return io.ErrUnexpectedEOF 76571 } 76572 return nil 76573 } 76574 func (m *RoleOptions) Unmarshal(dAtA []byte) error { 76575 l := len(dAtA) 76576 iNdEx := 0 76577 for iNdEx < l { 76578 preIndex := iNdEx 76579 var wire uint64 76580 for shift := uint(0); ; shift += 7 { 76581 if shift >= 64 { 76582 return ErrIntOverflowTypes 76583 } 76584 if iNdEx >= l { 76585 return io.ErrUnexpectedEOF 76586 } 76587 b := dAtA[iNdEx] 76588 iNdEx++ 76589 wire |= uint64(b&0x7F) << shift 76590 if b < 0x80 { 76591 break 76592 } 76593 } 76594 fieldNum := int32(wire >> 3) 76595 wireType := int(wire & 0x7) 76596 if wireType == 4 { 76597 return fmt.Errorf("proto: RoleOptions: wiretype end group for non-group") 76598 } 76599 if fieldNum <= 0 { 76600 return fmt.Errorf("proto: RoleOptions: illegal tag %d (wire type %d)", fieldNum, wire) 76601 } 76602 switch fieldNum { 76603 case 1: 76604 if wireType != 0 { 76605 return fmt.Errorf("proto: wrong wireType = %d for field ForwardAgent", wireType) 76606 } 76607 var v int 76608 for shift := uint(0); ; shift += 7 { 76609 if shift >= 64 { 76610 return ErrIntOverflowTypes 76611 } 76612 if iNdEx >= l { 76613 return io.ErrUnexpectedEOF 76614 } 76615 b := dAtA[iNdEx] 76616 iNdEx++ 76617 v |= int(b&0x7F) << shift 76618 if b < 0x80 { 76619 break 76620 } 76621 } 76622 m.ForwardAgent = Bool(v != 0) 76623 case 2: 76624 if wireType != 0 { 76625 return fmt.Errorf("proto: wrong wireType = %d for field MaxSessionTTL", wireType) 76626 } 76627 m.MaxSessionTTL = 0 76628 for shift := uint(0); ; shift += 7 { 76629 if shift >= 64 { 76630 return ErrIntOverflowTypes 76631 } 76632 if iNdEx >= l { 76633 return io.ErrUnexpectedEOF 76634 } 76635 b := dAtA[iNdEx] 76636 iNdEx++ 76637 m.MaxSessionTTL |= Duration(b&0x7F) << shift 76638 if b < 0x80 { 76639 break 76640 } 76641 } 76642 case 3: 76643 if wireType != 2 { 76644 return fmt.Errorf("proto: wrong wireType = %d for field PortForwarding", wireType) 76645 } 76646 var msglen int 76647 for shift := uint(0); ; shift += 7 { 76648 if shift >= 64 { 76649 return ErrIntOverflowTypes 76650 } 76651 if iNdEx >= l { 76652 return io.ErrUnexpectedEOF 76653 } 76654 b := dAtA[iNdEx] 76655 iNdEx++ 76656 msglen |= int(b&0x7F) << shift 76657 if b < 0x80 { 76658 break 76659 } 76660 } 76661 if msglen < 0 { 76662 return ErrInvalidLengthTypes 76663 } 76664 postIndex := iNdEx + msglen 76665 if postIndex < 0 { 76666 return ErrInvalidLengthTypes 76667 } 76668 if postIndex > l { 76669 return io.ErrUnexpectedEOF 76670 } 76671 if m.PortForwarding == nil { 76672 m.PortForwarding = &BoolOption{} 76673 } 76674 if err := m.PortForwarding.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 76675 return err 76676 } 76677 iNdEx = postIndex 76678 case 4: 76679 if wireType != 2 { 76680 return fmt.Errorf("proto: wrong wireType = %d for field CertificateFormat", wireType) 76681 } 76682 var stringLen uint64 76683 for shift := uint(0); ; shift += 7 { 76684 if shift >= 64 { 76685 return ErrIntOverflowTypes 76686 } 76687 if iNdEx >= l { 76688 return io.ErrUnexpectedEOF 76689 } 76690 b := dAtA[iNdEx] 76691 iNdEx++ 76692 stringLen |= uint64(b&0x7F) << shift 76693 if b < 0x80 { 76694 break 76695 } 76696 } 76697 intStringLen := int(stringLen) 76698 if intStringLen < 0 { 76699 return ErrInvalidLengthTypes 76700 } 76701 postIndex := iNdEx + intStringLen 76702 if postIndex < 0 { 76703 return ErrInvalidLengthTypes 76704 } 76705 if postIndex > l { 76706 return io.ErrUnexpectedEOF 76707 } 76708 m.CertificateFormat = string(dAtA[iNdEx:postIndex]) 76709 iNdEx = postIndex 76710 case 5: 76711 if wireType != 0 { 76712 return fmt.Errorf("proto: wrong wireType = %d for field ClientIdleTimeout", wireType) 76713 } 76714 m.ClientIdleTimeout = 0 76715 for shift := uint(0); ; shift += 7 { 76716 if shift >= 64 { 76717 return ErrIntOverflowTypes 76718 } 76719 if iNdEx >= l { 76720 return io.ErrUnexpectedEOF 76721 } 76722 b := dAtA[iNdEx] 76723 iNdEx++ 76724 m.ClientIdleTimeout |= Duration(b&0x7F) << shift 76725 if b < 0x80 { 76726 break 76727 } 76728 } 76729 case 6: 76730 if wireType != 0 { 76731 return fmt.Errorf("proto: wrong wireType = %d for field DisconnectExpiredCert", wireType) 76732 } 76733 var v int 76734 for shift := uint(0); ; shift += 7 { 76735 if shift >= 64 { 76736 return ErrIntOverflowTypes 76737 } 76738 if iNdEx >= l { 76739 return io.ErrUnexpectedEOF 76740 } 76741 b := dAtA[iNdEx] 76742 iNdEx++ 76743 v |= int(b&0x7F) << shift 76744 if b < 0x80 { 76745 break 76746 } 76747 } 76748 m.DisconnectExpiredCert = Bool(v != 0) 76749 case 7: 76750 if wireType != 2 { 76751 return fmt.Errorf("proto: wrong wireType = %d for field BPF", wireType) 76752 } 76753 var stringLen uint64 76754 for shift := uint(0); ; shift += 7 { 76755 if shift >= 64 { 76756 return ErrIntOverflowTypes 76757 } 76758 if iNdEx >= l { 76759 return io.ErrUnexpectedEOF 76760 } 76761 b := dAtA[iNdEx] 76762 iNdEx++ 76763 stringLen |= uint64(b&0x7F) << shift 76764 if b < 0x80 { 76765 break 76766 } 76767 } 76768 intStringLen := int(stringLen) 76769 if intStringLen < 0 { 76770 return ErrInvalidLengthTypes 76771 } 76772 postIndex := iNdEx + intStringLen 76773 if postIndex < 0 { 76774 return ErrInvalidLengthTypes 76775 } 76776 if postIndex > l { 76777 return io.ErrUnexpectedEOF 76778 } 76779 m.BPF = append(m.BPF, string(dAtA[iNdEx:postIndex])) 76780 iNdEx = postIndex 76781 case 8: 76782 if wireType != 0 { 76783 return fmt.Errorf("proto: wrong wireType = %d for field PermitX11Forwarding", wireType) 76784 } 76785 var v int 76786 for shift := uint(0); ; shift += 7 { 76787 if shift >= 64 { 76788 return ErrIntOverflowTypes 76789 } 76790 if iNdEx >= l { 76791 return io.ErrUnexpectedEOF 76792 } 76793 b := dAtA[iNdEx] 76794 iNdEx++ 76795 v |= int(b&0x7F) << shift 76796 if b < 0x80 { 76797 break 76798 } 76799 } 76800 m.PermitX11Forwarding = Bool(v != 0) 76801 case 9: 76802 if wireType != 0 { 76803 return fmt.Errorf("proto: wrong wireType = %d for field MaxConnections", wireType) 76804 } 76805 m.MaxConnections = 0 76806 for shift := uint(0); ; shift += 7 { 76807 if shift >= 64 { 76808 return ErrIntOverflowTypes 76809 } 76810 if iNdEx >= l { 76811 return io.ErrUnexpectedEOF 76812 } 76813 b := dAtA[iNdEx] 76814 iNdEx++ 76815 m.MaxConnections |= int64(b&0x7F) << shift 76816 if b < 0x80 { 76817 break 76818 } 76819 } 76820 case 10: 76821 if wireType != 0 { 76822 return fmt.Errorf("proto: wrong wireType = %d for field MaxSessions", wireType) 76823 } 76824 m.MaxSessions = 0 76825 for shift := uint(0); ; shift += 7 { 76826 if shift >= 64 { 76827 return ErrIntOverflowTypes 76828 } 76829 if iNdEx >= l { 76830 return io.ErrUnexpectedEOF 76831 } 76832 b := dAtA[iNdEx] 76833 iNdEx++ 76834 m.MaxSessions |= int64(b&0x7F) << shift 76835 if b < 0x80 { 76836 break 76837 } 76838 } 76839 case 11: 76840 if wireType != 2 { 76841 return fmt.Errorf("proto: wrong wireType = %d for field RequestAccess", wireType) 76842 } 76843 var stringLen uint64 76844 for shift := uint(0); ; shift += 7 { 76845 if shift >= 64 { 76846 return ErrIntOverflowTypes 76847 } 76848 if iNdEx >= l { 76849 return io.ErrUnexpectedEOF 76850 } 76851 b := dAtA[iNdEx] 76852 iNdEx++ 76853 stringLen |= uint64(b&0x7F) << shift 76854 if b < 0x80 { 76855 break 76856 } 76857 } 76858 intStringLen := int(stringLen) 76859 if intStringLen < 0 { 76860 return ErrInvalidLengthTypes 76861 } 76862 postIndex := iNdEx + intStringLen 76863 if postIndex < 0 { 76864 return ErrInvalidLengthTypes 76865 } 76866 if postIndex > l { 76867 return io.ErrUnexpectedEOF 76868 } 76869 m.RequestAccess = RequestStrategy(dAtA[iNdEx:postIndex]) 76870 iNdEx = postIndex 76871 case 12: 76872 if wireType != 2 { 76873 return fmt.Errorf("proto: wrong wireType = %d for field RequestPrompt", wireType) 76874 } 76875 var stringLen uint64 76876 for shift := uint(0); ; shift += 7 { 76877 if shift >= 64 { 76878 return ErrIntOverflowTypes 76879 } 76880 if iNdEx >= l { 76881 return io.ErrUnexpectedEOF 76882 } 76883 b := dAtA[iNdEx] 76884 iNdEx++ 76885 stringLen |= uint64(b&0x7F) << shift 76886 if b < 0x80 { 76887 break 76888 } 76889 } 76890 intStringLen := int(stringLen) 76891 if intStringLen < 0 { 76892 return ErrInvalidLengthTypes 76893 } 76894 postIndex := iNdEx + intStringLen 76895 if postIndex < 0 { 76896 return ErrInvalidLengthTypes 76897 } 76898 if postIndex > l { 76899 return io.ErrUnexpectedEOF 76900 } 76901 m.RequestPrompt = string(dAtA[iNdEx:postIndex]) 76902 iNdEx = postIndex 76903 case 14: 76904 if wireType != 2 { 76905 return fmt.Errorf("proto: wrong wireType = %d for field Lock", wireType) 76906 } 76907 var stringLen uint64 76908 for shift := uint(0); ; shift += 7 { 76909 if shift >= 64 { 76910 return ErrIntOverflowTypes 76911 } 76912 if iNdEx >= l { 76913 return io.ErrUnexpectedEOF 76914 } 76915 b := dAtA[iNdEx] 76916 iNdEx++ 76917 stringLen |= uint64(b&0x7F) << shift 76918 if b < 0x80 { 76919 break 76920 } 76921 } 76922 intStringLen := int(stringLen) 76923 if intStringLen < 0 { 76924 return ErrInvalidLengthTypes 76925 } 76926 postIndex := iNdEx + intStringLen 76927 if postIndex < 0 { 76928 return ErrInvalidLengthTypes 76929 } 76930 if postIndex > l { 76931 return io.ErrUnexpectedEOF 76932 } 76933 m.Lock = github_com_gravitational_teleport_api_constants.LockingMode(dAtA[iNdEx:postIndex]) 76934 iNdEx = postIndex 76935 case 15: 76936 if wireType != 2 { 76937 return fmt.Errorf("proto: wrong wireType = %d for field RecordSession", wireType) 76938 } 76939 var msglen int 76940 for shift := uint(0); ; shift += 7 { 76941 if shift >= 64 { 76942 return ErrIntOverflowTypes 76943 } 76944 if iNdEx >= l { 76945 return io.ErrUnexpectedEOF 76946 } 76947 b := dAtA[iNdEx] 76948 iNdEx++ 76949 msglen |= int(b&0x7F) << shift 76950 if b < 0x80 { 76951 break 76952 } 76953 } 76954 if msglen < 0 { 76955 return ErrInvalidLengthTypes 76956 } 76957 postIndex := iNdEx + msglen 76958 if postIndex < 0 { 76959 return ErrInvalidLengthTypes 76960 } 76961 if postIndex > l { 76962 return io.ErrUnexpectedEOF 76963 } 76964 if m.RecordSession == nil { 76965 m.RecordSession = &RecordSession{} 76966 } 76967 if err := m.RecordSession.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 76968 return err 76969 } 76970 iNdEx = postIndex 76971 case 16: 76972 if wireType != 2 { 76973 return fmt.Errorf("proto: wrong wireType = %d for field DesktopClipboard", wireType) 76974 } 76975 var msglen int 76976 for shift := uint(0); ; shift += 7 { 76977 if shift >= 64 { 76978 return ErrIntOverflowTypes 76979 } 76980 if iNdEx >= l { 76981 return io.ErrUnexpectedEOF 76982 } 76983 b := dAtA[iNdEx] 76984 iNdEx++ 76985 msglen |= int(b&0x7F) << shift 76986 if b < 0x80 { 76987 break 76988 } 76989 } 76990 if msglen < 0 { 76991 return ErrInvalidLengthTypes 76992 } 76993 postIndex := iNdEx + msglen 76994 if postIndex < 0 { 76995 return ErrInvalidLengthTypes 76996 } 76997 if postIndex > l { 76998 return io.ErrUnexpectedEOF 76999 } 77000 if m.DesktopClipboard == nil { 77001 m.DesktopClipboard = &BoolOption{} 77002 } 77003 if err := m.DesktopClipboard.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 77004 return err 77005 } 77006 iNdEx = postIndex 77007 case 17: 77008 if wireType != 2 { 77009 return fmt.Errorf("proto: wrong wireType = %d for field CertExtensions", wireType) 77010 } 77011 var msglen int 77012 for shift := uint(0); ; shift += 7 { 77013 if shift >= 64 { 77014 return ErrIntOverflowTypes 77015 } 77016 if iNdEx >= l { 77017 return io.ErrUnexpectedEOF 77018 } 77019 b := dAtA[iNdEx] 77020 iNdEx++ 77021 msglen |= int(b&0x7F) << shift 77022 if b < 0x80 { 77023 break 77024 } 77025 } 77026 if msglen < 0 { 77027 return ErrInvalidLengthTypes 77028 } 77029 postIndex := iNdEx + msglen 77030 if postIndex < 0 { 77031 return ErrInvalidLengthTypes 77032 } 77033 if postIndex > l { 77034 return io.ErrUnexpectedEOF 77035 } 77036 m.CertExtensions = append(m.CertExtensions, &CertExtension{}) 77037 if err := m.CertExtensions[len(m.CertExtensions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 77038 return err 77039 } 77040 iNdEx = postIndex 77041 case 18: 77042 if wireType != 0 { 77043 return fmt.Errorf("proto: wrong wireType = %d for field MaxKubernetesConnections", wireType) 77044 } 77045 m.MaxKubernetesConnections = 0 77046 for shift := uint(0); ; shift += 7 { 77047 if shift >= 64 { 77048 return ErrIntOverflowTypes 77049 } 77050 if iNdEx >= l { 77051 return io.ErrUnexpectedEOF 77052 } 77053 b := dAtA[iNdEx] 77054 iNdEx++ 77055 m.MaxKubernetesConnections |= int64(b&0x7F) << shift 77056 if b < 0x80 { 77057 break 77058 } 77059 } 77060 case 19: 77061 if wireType != 2 { 77062 return fmt.Errorf("proto: wrong wireType = %d for field DesktopDirectorySharing", wireType) 77063 } 77064 var msglen int 77065 for shift := uint(0); ; shift += 7 { 77066 if shift >= 64 { 77067 return ErrIntOverflowTypes 77068 } 77069 if iNdEx >= l { 77070 return io.ErrUnexpectedEOF 77071 } 77072 b := dAtA[iNdEx] 77073 iNdEx++ 77074 msglen |= int(b&0x7F) << shift 77075 if b < 0x80 { 77076 break 77077 } 77078 } 77079 if msglen < 0 { 77080 return ErrInvalidLengthTypes 77081 } 77082 postIndex := iNdEx + msglen 77083 if postIndex < 0 { 77084 return ErrInvalidLengthTypes 77085 } 77086 if postIndex > l { 77087 return io.ErrUnexpectedEOF 77088 } 77089 if m.DesktopDirectorySharing == nil { 77090 m.DesktopDirectorySharing = &BoolOption{} 77091 } 77092 if err := m.DesktopDirectorySharing.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 77093 return err 77094 } 77095 iNdEx = postIndex 77096 case 20: 77097 if wireType != 2 { 77098 return fmt.Errorf("proto: wrong wireType = %d for field CreateHostUser", wireType) 77099 } 77100 var msglen int 77101 for shift := uint(0); ; shift += 7 { 77102 if shift >= 64 { 77103 return ErrIntOverflowTypes 77104 } 77105 if iNdEx >= l { 77106 return io.ErrUnexpectedEOF 77107 } 77108 b := dAtA[iNdEx] 77109 iNdEx++ 77110 msglen |= int(b&0x7F) << shift 77111 if b < 0x80 { 77112 break 77113 } 77114 } 77115 if msglen < 0 { 77116 return ErrInvalidLengthTypes 77117 } 77118 postIndex := iNdEx + msglen 77119 if postIndex < 0 { 77120 return ErrInvalidLengthTypes 77121 } 77122 if postIndex > l { 77123 return io.ErrUnexpectedEOF 77124 } 77125 if m.CreateHostUser == nil { 77126 m.CreateHostUser = &BoolOption{} 77127 } 77128 if err := m.CreateHostUser.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 77129 return err 77130 } 77131 iNdEx = postIndex 77132 case 21: 77133 if wireType != 0 { 77134 return fmt.Errorf("proto: wrong wireType = %d for field PinSourceIP", wireType) 77135 } 77136 var v int 77137 for shift := uint(0); ; shift += 7 { 77138 if shift >= 64 { 77139 return ErrIntOverflowTypes 77140 } 77141 if iNdEx >= l { 77142 return io.ErrUnexpectedEOF 77143 } 77144 b := dAtA[iNdEx] 77145 iNdEx++ 77146 v |= int(b&0x7F) << shift 77147 if b < 0x80 { 77148 break 77149 } 77150 } 77151 m.PinSourceIP = Bool(v != 0) 77152 case 22: 77153 if wireType != 2 { 77154 return fmt.Errorf("proto: wrong wireType = %d for field SSHFileCopy", wireType) 77155 } 77156 var msglen int 77157 for shift := uint(0); ; shift += 7 { 77158 if shift >= 64 { 77159 return ErrIntOverflowTypes 77160 } 77161 if iNdEx >= l { 77162 return io.ErrUnexpectedEOF 77163 } 77164 b := dAtA[iNdEx] 77165 iNdEx++ 77166 msglen |= int(b&0x7F) << shift 77167 if b < 0x80 { 77168 break 77169 } 77170 } 77171 if msglen < 0 { 77172 return ErrInvalidLengthTypes 77173 } 77174 postIndex := iNdEx + msglen 77175 if postIndex < 0 { 77176 return ErrInvalidLengthTypes 77177 } 77178 if postIndex > l { 77179 return io.ErrUnexpectedEOF 77180 } 77181 if m.SSHFileCopy == nil { 77182 m.SSHFileCopy = &BoolOption{} 77183 } 77184 if err := m.SSHFileCopy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 77185 return err 77186 } 77187 iNdEx = postIndex 77188 case 23: 77189 if wireType != 0 { 77190 return fmt.Errorf("proto: wrong wireType = %d for field RequireMFAType", wireType) 77191 } 77192 m.RequireMFAType = 0 77193 for shift := uint(0); ; shift += 7 { 77194 if shift >= 64 { 77195 return ErrIntOverflowTypes 77196 } 77197 if iNdEx >= l { 77198 return io.ErrUnexpectedEOF 77199 } 77200 b := dAtA[iNdEx] 77201 iNdEx++ 77202 m.RequireMFAType |= RequireMFAType(b&0x7F) << shift 77203 if b < 0x80 { 77204 break 77205 } 77206 } 77207 case 24: 77208 if wireType != 2 { 77209 return fmt.Errorf("proto: wrong wireType = %d for field DeviceTrustMode", wireType) 77210 } 77211 var stringLen uint64 77212 for shift := uint(0); ; shift += 7 { 77213 if shift >= 64 { 77214 return ErrIntOverflowTypes 77215 } 77216 if iNdEx >= l { 77217 return io.ErrUnexpectedEOF 77218 } 77219 b := dAtA[iNdEx] 77220 iNdEx++ 77221 stringLen |= uint64(b&0x7F) << shift 77222 if b < 0x80 { 77223 break 77224 } 77225 } 77226 intStringLen := int(stringLen) 77227 if intStringLen < 0 { 77228 return ErrInvalidLengthTypes 77229 } 77230 postIndex := iNdEx + intStringLen 77231 if postIndex < 0 { 77232 return ErrInvalidLengthTypes 77233 } 77234 if postIndex > l { 77235 return io.ErrUnexpectedEOF 77236 } 77237 m.DeviceTrustMode = string(dAtA[iNdEx:postIndex]) 77238 iNdEx = postIndex 77239 case 25: 77240 if wireType != 2 { 77241 return fmt.Errorf("proto: wrong wireType = %d for field IDP", wireType) 77242 } 77243 var msglen int 77244 for shift := uint(0); ; shift += 7 { 77245 if shift >= 64 { 77246 return ErrIntOverflowTypes 77247 } 77248 if iNdEx >= l { 77249 return io.ErrUnexpectedEOF 77250 } 77251 b := dAtA[iNdEx] 77252 iNdEx++ 77253 msglen |= int(b&0x7F) << shift 77254 if b < 0x80 { 77255 break 77256 } 77257 } 77258 if msglen < 0 { 77259 return ErrInvalidLengthTypes 77260 } 77261 postIndex := iNdEx + msglen 77262 if postIndex < 0 { 77263 return ErrInvalidLengthTypes 77264 } 77265 if postIndex > l { 77266 return io.ErrUnexpectedEOF 77267 } 77268 if m.IDP == nil { 77269 m.IDP = &IdPOptions{} 77270 } 77271 if err := m.IDP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 77272 return err 77273 } 77274 iNdEx = postIndex 77275 case 26: 77276 if wireType != 2 { 77277 return fmt.Errorf("proto: wrong wireType = %d for field CreateDesktopUser", wireType) 77278 } 77279 var msglen int 77280 for shift := uint(0); ; shift += 7 { 77281 if shift >= 64 { 77282 return ErrIntOverflowTypes 77283 } 77284 if iNdEx >= l { 77285 return io.ErrUnexpectedEOF 77286 } 77287 b := dAtA[iNdEx] 77288 iNdEx++ 77289 msglen |= int(b&0x7F) << shift 77290 if b < 0x80 { 77291 break 77292 } 77293 } 77294 if msglen < 0 { 77295 return ErrInvalidLengthTypes 77296 } 77297 postIndex := iNdEx + msglen 77298 if postIndex < 0 { 77299 return ErrInvalidLengthTypes 77300 } 77301 if postIndex > l { 77302 return io.ErrUnexpectedEOF 77303 } 77304 if m.CreateDesktopUser == nil { 77305 m.CreateDesktopUser = &BoolOption{} 77306 } 77307 if err := m.CreateDesktopUser.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 77308 return err 77309 } 77310 iNdEx = postIndex 77311 case 27: 77312 if wireType != 2 { 77313 return fmt.Errorf("proto: wrong wireType = %d for field CreateDatabaseUser", wireType) 77314 } 77315 var msglen int 77316 for shift := uint(0); ; shift += 7 { 77317 if shift >= 64 { 77318 return ErrIntOverflowTypes 77319 } 77320 if iNdEx >= l { 77321 return io.ErrUnexpectedEOF 77322 } 77323 b := dAtA[iNdEx] 77324 iNdEx++ 77325 msglen |= int(b&0x7F) << shift 77326 if b < 0x80 { 77327 break 77328 } 77329 } 77330 if msglen < 0 { 77331 return ErrInvalidLengthTypes 77332 } 77333 postIndex := iNdEx + msglen 77334 if postIndex < 0 { 77335 return ErrInvalidLengthTypes 77336 } 77337 if postIndex > l { 77338 return io.ErrUnexpectedEOF 77339 } 77340 if m.CreateDatabaseUser == nil { 77341 m.CreateDatabaseUser = &BoolOption{} 77342 } 77343 if err := m.CreateDatabaseUser.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 77344 return err 77345 } 77346 iNdEx = postIndex 77347 case 28: 77348 if wireType != 0 { 77349 return fmt.Errorf("proto: wrong wireType = %d for field CreateHostUserMode", wireType) 77350 } 77351 m.CreateHostUserMode = 0 77352 for shift := uint(0); ; shift += 7 { 77353 if shift >= 64 { 77354 return ErrIntOverflowTypes 77355 } 77356 if iNdEx >= l { 77357 return io.ErrUnexpectedEOF 77358 } 77359 b := dAtA[iNdEx] 77360 iNdEx++ 77361 m.CreateHostUserMode |= CreateHostUserMode(b&0x7F) << shift 77362 if b < 0x80 { 77363 break 77364 } 77365 } 77366 case 29: 77367 if wireType != 0 { 77368 return fmt.Errorf("proto: wrong wireType = %d for field CreateDatabaseUserMode", wireType) 77369 } 77370 m.CreateDatabaseUserMode = 0 77371 for shift := uint(0); ; shift += 7 { 77372 if shift >= 64 { 77373 return ErrIntOverflowTypes 77374 } 77375 if iNdEx >= l { 77376 return io.ErrUnexpectedEOF 77377 } 77378 b := dAtA[iNdEx] 77379 iNdEx++ 77380 m.CreateDatabaseUserMode |= CreateDatabaseUserMode(b&0x7F) << shift 77381 if b < 0x80 { 77382 break 77383 } 77384 } 77385 default: 77386 iNdEx = preIndex 77387 skippy, err := skipTypes(dAtA[iNdEx:]) 77388 if err != nil { 77389 return err 77390 } 77391 if (skippy < 0) || (iNdEx+skippy) < 0 { 77392 return ErrInvalidLengthTypes 77393 } 77394 if (iNdEx + skippy) > l { 77395 return io.ErrUnexpectedEOF 77396 } 77397 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 77398 iNdEx += skippy 77399 } 77400 } 77401 77402 if iNdEx > l { 77403 return io.ErrUnexpectedEOF 77404 } 77405 return nil 77406 } 77407 func (m *RecordSession) Unmarshal(dAtA []byte) error { 77408 l := len(dAtA) 77409 iNdEx := 0 77410 for iNdEx < l { 77411 preIndex := iNdEx 77412 var wire uint64 77413 for shift := uint(0); ; shift += 7 { 77414 if shift >= 64 { 77415 return ErrIntOverflowTypes 77416 } 77417 if iNdEx >= l { 77418 return io.ErrUnexpectedEOF 77419 } 77420 b := dAtA[iNdEx] 77421 iNdEx++ 77422 wire |= uint64(b&0x7F) << shift 77423 if b < 0x80 { 77424 break 77425 } 77426 } 77427 fieldNum := int32(wire >> 3) 77428 wireType := int(wire & 0x7) 77429 if wireType == 4 { 77430 return fmt.Errorf("proto: RecordSession: wiretype end group for non-group") 77431 } 77432 if fieldNum <= 0 { 77433 return fmt.Errorf("proto: RecordSession: illegal tag %d (wire type %d)", fieldNum, wire) 77434 } 77435 switch fieldNum { 77436 case 1: 77437 if wireType != 2 { 77438 return fmt.Errorf("proto: wrong wireType = %d for field Desktop", wireType) 77439 } 77440 var msglen int 77441 for shift := uint(0); ; shift += 7 { 77442 if shift >= 64 { 77443 return ErrIntOverflowTypes 77444 } 77445 if iNdEx >= l { 77446 return io.ErrUnexpectedEOF 77447 } 77448 b := dAtA[iNdEx] 77449 iNdEx++ 77450 msglen |= int(b&0x7F) << shift 77451 if b < 0x80 { 77452 break 77453 } 77454 } 77455 if msglen < 0 { 77456 return ErrInvalidLengthTypes 77457 } 77458 postIndex := iNdEx + msglen 77459 if postIndex < 0 { 77460 return ErrInvalidLengthTypes 77461 } 77462 if postIndex > l { 77463 return io.ErrUnexpectedEOF 77464 } 77465 if m.Desktop == nil { 77466 m.Desktop = &BoolOption{} 77467 } 77468 if err := m.Desktop.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 77469 return err 77470 } 77471 iNdEx = postIndex 77472 case 2: 77473 if wireType != 2 { 77474 return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType) 77475 } 77476 var stringLen uint64 77477 for shift := uint(0); ; shift += 7 { 77478 if shift >= 64 { 77479 return ErrIntOverflowTypes 77480 } 77481 if iNdEx >= l { 77482 return io.ErrUnexpectedEOF 77483 } 77484 b := dAtA[iNdEx] 77485 iNdEx++ 77486 stringLen |= uint64(b&0x7F) << shift 77487 if b < 0x80 { 77488 break 77489 } 77490 } 77491 intStringLen := int(stringLen) 77492 if intStringLen < 0 { 77493 return ErrInvalidLengthTypes 77494 } 77495 postIndex := iNdEx + intStringLen 77496 if postIndex < 0 { 77497 return ErrInvalidLengthTypes 77498 } 77499 if postIndex > l { 77500 return io.ErrUnexpectedEOF 77501 } 77502 m.Default = github_com_gravitational_teleport_api_constants.SessionRecordingMode(dAtA[iNdEx:postIndex]) 77503 iNdEx = postIndex 77504 case 3: 77505 if wireType != 2 { 77506 return fmt.Errorf("proto: wrong wireType = %d for field SSH", wireType) 77507 } 77508 var stringLen uint64 77509 for shift := uint(0); ; shift += 7 { 77510 if shift >= 64 { 77511 return ErrIntOverflowTypes 77512 } 77513 if iNdEx >= l { 77514 return io.ErrUnexpectedEOF 77515 } 77516 b := dAtA[iNdEx] 77517 iNdEx++ 77518 stringLen |= uint64(b&0x7F) << shift 77519 if b < 0x80 { 77520 break 77521 } 77522 } 77523 intStringLen := int(stringLen) 77524 if intStringLen < 0 { 77525 return ErrInvalidLengthTypes 77526 } 77527 postIndex := iNdEx + intStringLen 77528 if postIndex < 0 { 77529 return ErrInvalidLengthTypes 77530 } 77531 if postIndex > l { 77532 return io.ErrUnexpectedEOF 77533 } 77534 m.SSH = github_com_gravitational_teleport_api_constants.SessionRecordingMode(dAtA[iNdEx:postIndex]) 77535 iNdEx = postIndex 77536 default: 77537 iNdEx = preIndex 77538 skippy, err := skipTypes(dAtA[iNdEx:]) 77539 if err != nil { 77540 return err 77541 } 77542 if (skippy < 0) || (iNdEx+skippy) < 0 { 77543 return ErrInvalidLengthTypes 77544 } 77545 if (iNdEx + skippy) > l { 77546 return io.ErrUnexpectedEOF 77547 } 77548 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 77549 iNdEx += skippy 77550 } 77551 } 77552 77553 if iNdEx > l { 77554 return io.ErrUnexpectedEOF 77555 } 77556 return nil 77557 } 77558 func (m *CertExtension) Unmarshal(dAtA []byte) error { 77559 l := len(dAtA) 77560 iNdEx := 0 77561 for iNdEx < l { 77562 preIndex := iNdEx 77563 var wire uint64 77564 for shift := uint(0); ; shift += 7 { 77565 if shift >= 64 { 77566 return ErrIntOverflowTypes 77567 } 77568 if iNdEx >= l { 77569 return io.ErrUnexpectedEOF 77570 } 77571 b := dAtA[iNdEx] 77572 iNdEx++ 77573 wire |= uint64(b&0x7F) << shift 77574 if b < 0x80 { 77575 break 77576 } 77577 } 77578 fieldNum := int32(wire >> 3) 77579 wireType := int(wire & 0x7) 77580 if wireType == 4 { 77581 return fmt.Errorf("proto: CertExtension: wiretype end group for non-group") 77582 } 77583 if fieldNum <= 0 { 77584 return fmt.Errorf("proto: CertExtension: illegal tag %d (wire type %d)", fieldNum, wire) 77585 } 77586 switch fieldNum { 77587 case 1: 77588 if wireType != 0 { 77589 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 77590 } 77591 m.Type = 0 77592 for shift := uint(0); ; shift += 7 { 77593 if shift >= 64 { 77594 return ErrIntOverflowTypes 77595 } 77596 if iNdEx >= l { 77597 return io.ErrUnexpectedEOF 77598 } 77599 b := dAtA[iNdEx] 77600 iNdEx++ 77601 m.Type |= CertExtensionType(b&0x7F) << shift 77602 if b < 0x80 { 77603 break 77604 } 77605 } 77606 case 2: 77607 if wireType != 0 { 77608 return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) 77609 } 77610 m.Mode = 0 77611 for shift := uint(0); ; shift += 7 { 77612 if shift >= 64 { 77613 return ErrIntOverflowTypes 77614 } 77615 if iNdEx >= l { 77616 return io.ErrUnexpectedEOF 77617 } 77618 b := dAtA[iNdEx] 77619 iNdEx++ 77620 m.Mode |= CertExtensionMode(b&0x7F) << shift 77621 if b < 0x80 { 77622 break 77623 } 77624 } 77625 case 3: 77626 if wireType != 2 { 77627 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 77628 } 77629 var stringLen uint64 77630 for shift := uint(0); ; shift += 7 { 77631 if shift >= 64 { 77632 return ErrIntOverflowTypes 77633 } 77634 if iNdEx >= l { 77635 return io.ErrUnexpectedEOF 77636 } 77637 b := dAtA[iNdEx] 77638 iNdEx++ 77639 stringLen |= uint64(b&0x7F) << shift 77640 if b < 0x80 { 77641 break 77642 } 77643 } 77644 intStringLen := int(stringLen) 77645 if intStringLen < 0 { 77646 return ErrInvalidLengthTypes 77647 } 77648 postIndex := iNdEx + intStringLen 77649 if postIndex < 0 { 77650 return ErrInvalidLengthTypes 77651 } 77652 if postIndex > l { 77653 return io.ErrUnexpectedEOF 77654 } 77655 m.Name = string(dAtA[iNdEx:postIndex]) 77656 iNdEx = postIndex 77657 case 4: 77658 if wireType != 2 { 77659 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 77660 } 77661 var stringLen uint64 77662 for shift := uint(0); ; shift += 7 { 77663 if shift >= 64 { 77664 return ErrIntOverflowTypes 77665 } 77666 if iNdEx >= l { 77667 return io.ErrUnexpectedEOF 77668 } 77669 b := dAtA[iNdEx] 77670 iNdEx++ 77671 stringLen |= uint64(b&0x7F) << shift 77672 if b < 0x80 { 77673 break 77674 } 77675 } 77676 intStringLen := int(stringLen) 77677 if intStringLen < 0 { 77678 return ErrInvalidLengthTypes 77679 } 77680 postIndex := iNdEx + intStringLen 77681 if postIndex < 0 { 77682 return ErrInvalidLengthTypes 77683 } 77684 if postIndex > l { 77685 return io.ErrUnexpectedEOF 77686 } 77687 m.Value = string(dAtA[iNdEx:postIndex]) 77688 iNdEx = postIndex 77689 default: 77690 iNdEx = preIndex 77691 skippy, err := skipTypes(dAtA[iNdEx:]) 77692 if err != nil { 77693 return err 77694 } 77695 if (skippy < 0) || (iNdEx+skippy) < 0 { 77696 return ErrInvalidLengthTypes 77697 } 77698 if (iNdEx + skippy) > l { 77699 return io.ErrUnexpectedEOF 77700 } 77701 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 77702 iNdEx += skippy 77703 } 77704 } 77705 77706 if iNdEx > l { 77707 return io.ErrUnexpectedEOF 77708 } 77709 return nil 77710 } 77711 func (m *RoleConditions) Unmarshal(dAtA []byte) error { 77712 l := len(dAtA) 77713 iNdEx := 0 77714 for iNdEx < l { 77715 preIndex := iNdEx 77716 var wire uint64 77717 for shift := uint(0); ; shift += 7 { 77718 if shift >= 64 { 77719 return ErrIntOverflowTypes 77720 } 77721 if iNdEx >= l { 77722 return io.ErrUnexpectedEOF 77723 } 77724 b := dAtA[iNdEx] 77725 iNdEx++ 77726 wire |= uint64(b&0x7F) << shift 77727 if b < 0x80 { 77728 break 77729 } 77730 } 77731 fieldNum := int32(wire >> 3) 77732 wireType := int(wire & 0x7) 77733 if wireType == 4 { 77734 return fmt.Errorf("proto: RoleConditions: wiretype end group for non-group") 77735 } 77736 if fieldNum <= 0 { 77737 return fmt.Errorf("proto: RoleConditions: illegal tag %d (wire type %d)", fieldNum, wire) 77738 } 77739 switch fieldNum { 77740 case 1: 77741 if wireType != 2 { 77742 return fmt.Errorf("proto: wrong wireType = %d for field Logins", wireType) 77743 } 77744 var stringLen uint64 77745 for shift := uint(0); ; shift += 7 { 77746 if shift >= 64 { 77747 return ErrIntOverflowTypes 77748 } 77749 if iNdEx >= l { 77750 return io.ErrUnexpectedEOF 77751 } 77752 b := dAtA[iNdEx] 77753 iNdEx++ 77754 stringLen |= uint64(b&0x7F) << shift 77755 if b < 0x80 { 77756 break 77757 } 77758 } 77759 intStringLen := int(stringLen) 77760 if intStringLen < 0 { 77761 return ErrInvalidLengthTypes 77762 } 77763 postIndex := iNdEx + intStringLen 77764 if postIndex < 0 { 77765 return ErrInvalidLengthTypes 77766 } 77767 if postIndex > l { 77768 return io.ErrUnexpectedEOF 77769 } 77770 m.Logins = append(m.Logins, string(dAtA[iNdEx:postIndex])) 77771 iNdEx = postIndex 77772 case 2: 77773 if wireType != 2 { 77774 return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType) 77775 } 77776 var stringLen uint64 77777 for shift := uint(0); ; shift += 7 { 77778 if shift >= 64 { 77779 return ErrIntOverflowTypes 77780 } 77781 if iNdEx >= l { 77782 return io.ErrUnexpectedEOF 77783 } 77784 b := dAtA[iNdEx] 77785 iNdEx++ 77786 stringLen |= uint64(b&0x7F) << shift 77787 if b < 0x80 { 77788 break 77789 } 77790 } 77791 intStringLen := int(stringLen) 77792 if intStringLen < 0 { 77793 return ErrInvalidLengthTypes 77794 } 77795 postIndex := iNdEx + intStringLen 77796 if postIndex < 0 { 77797 return ErrInvalidLengthTypes 77798 } 77799 if postIndex > l { 77800 return io.ErrUnexpectedEOF 77801 } 77802 m.Namespaces = append(m.Namespaces, string(dAtA[iNdEx:postIndex])) 77803 iNdEx = postIndex 77804 case 3: 77805 if wireType != 2 { 77806 return fmt.Errorf("proto: wrong wireType = %d for field NodeLabels", wireType) 77807 } 77808 var msglen int 77809 for shift := uint(0); ; shift += 7 { 77810 if shift >= 64 { 77811 return ErrIntOverflowTypes 77812 } 77813 if iNdEx >= l { 77814 return io.ErrUnexpectedEOF 77815 } 77816 b := dAtA[iNdEx] 77817 iNdEx++ 77818 msglen |= int(b&0x7F) << shift 77819 if b < 0x80 { 77820 break 77821 } 77822 } 77823 if msglen < 0 { 77824 return ErrInvalidLengthTypes 77825 } 77826 postIndex := iNdEx + msglen 77827 if postIndex < 0 { 77828 return ErrInvalidLengthTypes 77829 } 77830 if postIndex > l { 77831 return io.ErrUnexpectedEOF 77832 } 77833 if err := m.NodeLabels.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 77834 return err 77835 } 77836 iNdEx = postIndex 77837 case 4: 77838 if wireType != 2 { 77839 return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType) 77840 } 77841 var msglen int 77842 for shift := uint(0); ; shift += 7 { 77843 if shift >= 64 { 77844 return ErrIntOverflowTypes 77845 } 77846 if iNdEx >= l { 77847 return io.ErrUnexpectedEOF 77848 } 77849 b := dAtA[iNdEx] 77850 iNdEx++ 77851 msglen |= int(b&0x7F) << shift 77852 if b < 0x80 { 77853 break 77854 } 77855 } 77856 if msglen < 0 { 77857 return ErrInvalidLengthTypes 77858 } 77859 postIndex := iNdEx + msglen 77860 if postIndex < 0 { 77861 return ErrInvalidLengthTypes 77862 } 77863 if postIndex > l { 77864 return io.ErrUnexpectedEOF 77865 } 77866 m.Rules = append(m.Rules, Rule{}) 77867 if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 77868 return err 77869 } 77870 iNdEx = postIndex 77871 case 5: 77872 if wireType != 2 { 77873 return fmt.Errorf("proto: wrong wireType = %d for field KubeGroups", wireType) 77874 } 77875 var stringLen uint64 77876 for shift := uint(0); ; shift += 7 { 77877 if shift >= 64 { 77878 return ErrIntOverflowTypes 77879 } 77880 if iNdEx >= l { 77881 return io.ErrUnexpectedEOF 77882 } 77883 b := dAtA[iNdEx] 77884 iNdEx++ 77885 stringLen |= uint64(b&0x7F) << shift 77886 if b < 0x80 { 77887 break 77888 } 77889 } 77890 intStringLen := int(stringLen) 77891 if intStringLen < 0 { 77892 return ErrInvalidLengthTypes 77893 } 77894 postIndex := iNdEx + intStringLen 77895 if postIndex < 0 { 77896 return ErrInvalidLengthTypes 77897 } 77898 if postIndex > l { 77899 return io.ErrUnexpectedEOF 77900 } 77901 m.KubeGroups = append(m.KubeGroups, string(dAtA[iNdEx:postIndex])) 77902 iNdEx = postIndex 77903 case 6: 77904 if wireType != 2 { 77905 return fmt.Errorf("proto: wrong wireType = %d for field Request", wireType) 77906 } 77907 var msglen int 77908 for shift := uint(0); ; shift += 7 { 77909 if shift >= 64 { 77910 return ErrIntOverflowTypes 77911 } 77912 if iNdEx >= l { 77913 return io.ErrUnexpectedEOF 77914 } 77915 b := dAtA[iNdEx] 77916 iNdEx++ 77917 msglen |= int(b&0x7F) << shift 77918 if b < 0x80 { 77919 break 77920 } 77921 } 77922 if msglen < 0 { 77923 return ErrInvalidLengthTypes 77924 } 77925 postIndex := iNdEx + msglen 77926 if postIndex < 0 { 77927 return ErrInvalidLengthTypes 77928 } 77929 if postIndex > l { 77930 return io.ErrUnexpectedEOF 77931 } 77932 if m.Request == nil { 77933 m.Request = &AccessRequestConditions{} 77934 } 77935 if err := m.Request.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 77936 return err 77937 } 77938 iNdEx = postIndex 77939 case 7: 77940 if wireType != 2 { 77941 return fmt.Errorf("proto: wrong wireType = %d for field KubeUsers", wireType) 77942 } 77943 var stringLen uint64 77944 for shift := uint(0); ; shift += 7 { 77945 if shift >= 64 { 77946 return ErrIntOverflowTypes 77947 } 77948 if iNdEx >= l { 77949 return io.ErrUnexpectedEOF 77950 } 77951 b := dAtA[iNdEx] 77952 iNdEx++ 77953 stringLen |= uint64(b&0x7F) << shift 77954 if b < 0x80 { 77955 break 77956 } 77957 } 77958 intStringLen := int(stringLen) 77959 if intStringLen < 0 { 77960 return ErrInvalidLengthTypes 77961 } 77962 postIndex := iNdEx + intStringLen 77963 if postIndex < 0 { 77964 return ErrInvalidLengthTypes 77965 } 77966 if postIndex > l { 77967 return io.ErrUnexpectedEOF 77968 } 77969 m.KubeUsers = append(m.KubeUsers, string(dAtA[iNdEx:postIndex])) 77970 iNdEx = postIndex 77971 case 8: 77972 if wireType != 2 { 77973 return fmt.Errorf("proto: wrong wireType = %d for field AppLabels", wireType) 77974 } 77975 var msglen int 77976 for shift := uint(0); ; shift += 7 { 77977 if shift >= 64 { 77978 return ErrIntOverflowTypes 77979 } 77980 if iNdEx >= l { 77981 return io.ErrUnexpectedEOF 77982 } 77983 b := dAtA[iNdEx] 77984 iNdEx++ 77985 msglen |= int(b&0x7F) << shift 77986 if b < 0x80 { 77987 break 77988 } 77989 } 77990 if msglen < 0 { 77991 return ErrInvalidLengthTypes 77992 } 77993 postIndex := iNdEx + msglen 77994 if postIndex < 0 { 77995 return ErrInvalidLengthTypes 77996 } 77997 if postIndex > l { 77998 return io.ErrUnexpectedEOF 77999 } 78000 if err := m.AppLabels.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 78001 return err 78002 } 78003 iNdEx = postIndex 78004 case 9: 78005 if wireType != 2 { 78006 return fmt.Errorf("proto: wrong wireType = %d for field ClusterLabels", wireType) 78007 } 78008 var msglen int 78009 for shift := uint(0); ; shift += 7 { 78010 if shift >= 64 { 78011 return ErrIntOverflowTypes 78012 } 78013 if iNdEx >= l { 78014 return io.ErrUnexpectedEOF 78015 } 78016 b := dAtA[iNdEx] 78017 iNdEx++ 78018 msglen |= int(b&0x7F) << shift 78019 if b < 0x80 { 78020 break 78021 } 78022 } 78023 if msglen < 0 { 78024 return ErrInvalidLengthTypes 78025 } 78026 postIndex := iNdEx + msglen 78027 if postIndex < 0 { 78028 return ErrInvalidLengthTypes 78029 } 78030 if postIndex > l { 78031 return io.ErrUnexpectedEOF 78032 } 78033 if err := m.ClusterLabels.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 78034 return err 78035 } 78036 iNdEx = postIndex 78037 case 10: 78038 if wireType != 2 { 78039 return fmt.Errorf("proto: wrong wireType = %d for field KubernetesLabels", wireType) 78040 } 78041 var msglen int 78042 for shift := uint(0); ; shift += 7 { 78043 if shift >= 64 { 78044 return ErrIntOverflowTypes 78045 } 78046 if iNdEx >= l { 78047 return io.ErrUnexpectedEOF 78048 } 78049 b := dAtA[iNdEx] 78050 iNdEx++ 78051 msglen |= int(b&0x7F) << shift 78052 if b < 0x80 { 78053 break 78054 } 78055 } 78056 if msglen < 0 { 78057 return ErrInvalidLengthTypes 78058 } 78059 postIndex := iNdEx + msglen 78060 if postIndex < 0 { 78061 return ErrInvalidLengthTypes 78062 } 78063 if postIndex > l { 78064 return io.ErrUnexpectedEOF 78065 } 78066 if err := m.KubernetesLabels.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 78067 return err 78068 } 78069 iNdEx = postIndex 78070 case 11: 78071 if wireType != 2 { 78072 return fmt.Errorf("proto: wrong wireType = %d for field DatabaseLabels", wireType) 78073 } 78074 var msglen int 78075 for shift := uint(0); ; shift += 7 { 78076 if shift >= 64 { 78077 return ErrIntOverflowTypes 78078 } 78079 if iNdEx >= l { 78080 return io.ErrUnexpectedEOF 78081 } 78082 b := dAtA[iNdEx] 78083 iNdEx++ 78084 msglen |= int(b&0x7F) << shift 78085 if b < 0x80 { 78086 break 78087 } 78088 } 78089 if msglen < 0 { 78090 return ErrInvalidLengthTypes 78091 } 78092 postIndex := iNdEx + msglen 78093 if postIndex < 0 { 78094 return ErrInvalidLengthTypes 78095 } 78096 if postIndex > l { 78097 return io.ErrUnexpectedEOF 78098 } 78099 if err := m.DatabaseLabels.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 78100 return err 78101 } 78102 iNdEx = postIndex 78103 case 12: 78104 if wireType != 2 { 78105 return fmt.Errorf("proto: wrong wireType = %d for field DatabaseNames", wireType) 78106 } 78107 var stringLen uint64 78108 for shift := uint(0); ; shift += 7 { 78109 if shift >= 64 { 78110 return ErrIntOverflowTypes 78111 } 78112 if iNdEx >= l { 78113 return io.ErrUnexpectedEOF 78114 } 78115 b := dAtA[iNdEx] 78116 iNdEx++ 78117 stringLen |= uint64(b&0x7F) << shift 78118 if b < 0x80 { 78119 break 78120 } 78121 } 78122 intStringLen := int(stringLen) 78123 if intStringLen < 0 { 78124 return ErrInvalidLengthTypes 78125 } 78126 postIndex := iNdEx + intStringLen 78127 if postIndex < 0 { 78128 return ErrInvalidLengthTypes 78129 } 78130 if postIndex > l { 78131 return io.ErrUnexpectedEOF 78132 } 78133 m.DatabaseNames = append(m.DatabaseNames, string(dAtA[iNdEx:postIndex])) 78134 iNdEx = postIndex 78135 case 13: 78136 if wireType != 2 { 78137 return fmt.Errorf("proto: wrong wireType = %d for field DatabaseUsers", wireType) 78138 } 78139 var stringLen uint64 78140 for shift := uint(0); ; shift += 7 { 78141 if shift >= 64 { 78142 return ErrIntOverflowTypes 78143 } 78144 if iNdEx >= l { 78145 return io.ErrUnexpectedEOF 78146 } 78147 b := dAtA[iNdEx] 78148 iNdEx++ 78149 stringLen |= uint64(b&0x7F) << shift 78150 if b < 0x80 { 78151 break 78152 } 78153 } 78154 intStringLen := int(stringLen) 78155 if intStringLen < 0 { 78156 return ErrInvalidLengthTypes 78157 } 78158 postIndex := iNdEx + intStringLen 78159 if postIndex < 0 { 78160 return ErrInvalidLengthTypes 78161 } 78162 if postIndex > l { 78163 return io.ErrUnexpectedEOF 78164 } 78165 m.DatabaseUsers = append(m.DatabaseUsers, string(dAtA[iNdEx:postIndex])) 78166 iNdEx = postIndex 78167 case 14: 78168 if wireType != 2 { 78169 return fmt.Errorf("proto: wrong wireType = %d for field Impersonate", wireType) 78170 } 78171 var msglen int 78172 for shift := uint(0); ; shift += 7 { 78173 if shift >= 64 { 78174 return ErrIntOverflowTypes 78175 } 78176 if iNdEx >= l { 78177 return io.ErrUnexpectedEOF 78178 } 78179 b := dAtA[iNdEx] 78180 iNdEx++ 78181 msglen |= int(b&0x7F) << shift 78182 if b < 0x80 { 78183 break 78184 } 78185 } 78186 if msglen < 0 { 78187 return ErrInvalidLengthTypes 78188 } 78189 postIndex := iNdEx + msglen 78190 if postIndex < 0 { 78191 return ErrInvalidLengthTypes 78192 } 78193 if postIndex > l { 78194 return io.ErrUnexpectedEOF 78195 } 78196 if m.Impersonate == nil { 78197 m.Impersonate = &ImpersonateConditions{} 78198 } 78199 if err := m.Impersonate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 78200 return err 78201 } 78202 iNdEx = postIndex 78203 case 15: 78204 if wireType != 2 { 78205 return fmt.Errorf("proto: wrong wireType = %d for field ReviewRequests", wireType) 78206 } 78207 var msglen int 78208 for shift := uint(0); ; shift += 7 { 78209 if shift >= 64 { 78210 return ErrIntOverflowTypes 78211 } 78212 if iNdEx >= l { 78213 return io.ErrUnexpectedEOF 78214 } 78215 b := dAtA[iNdEx] 78216 iNdEx++ 78217 msglen |= int(b&0x7F) << shift 78218 if b < 0x80 { 78219 break 78220 } 78221 } 78222 if msglen < 0 { 78223 return ErrInvalidLengthTypes 78224 } 78225 postIndex := iNdEx + msglen 78226 if postIndex < 0 { 78227 return ErrInvalidLengthTypes 78228 } 78229 if postIndex > l { 78230 return io.ErrUnexpectedEOF 78231 } 78232 if m.ReviewRequests == nil { 78233 m.ReviewRequests = &AccessReviewConditions{} 78234 } 78235 if err := m.ReviewRequests.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 78236 return err 78237 } 78238 iNdEx = postIndex 78239 case 16: 78240 if wireType != 2 { 78241 return fmt.Errorf("proto: wrong wireType = %d for field AWSRoleARNs", wireType) 78242 } 78243 var stringLen uint64 78244 for shift := uint(0); ; shift += 7 { 78245 if shift >= 64 { 78246 return ErrIntOverflowTypes 78247 } 78248 if iNdEx >= l { 78249 return io.ErrUnexpectedEOF 78250 } 78251 b := dAtA[iNdEx] 78252 iNdEx++ 78253 stringLen |= uint64(b&0x7F) << shift 78254 if b < 0x80 { 78255 break 78256 } 78257 } 78258 intStringLen := int(stringLen) 78259 if intStringLen < 0 { 78260 return ErrInvalidLengthTypes 78261 } 78262 postIndex := iNdEx + intStringLen 78263 if postIndex < 0 { 78264 return ErrInvalidLengthTypes 78265 } 78266 if postIndex > l { 78267 return io.ErrUnexpectedEOF 78268 } 78269 m.AWSRoleARNs = append(m.AWSRoleARNs, string(dAtA[iNdEx:postIndex])) 78270 iNdEx = postIndex 78271 case 17: 78272 if wireType != 2 { 78273 return fmt.Errorf("proto: wrong wireType = %d for field WindowsDesktopLogins", wireType) 78274 } 78275 var stringLen uint64 78276 for shift := uint(0); ; shift += 7 { 78277 if shift >= 64 { 78278 return ErrIntOverflowTypes 78279 } 78280 if iNdEx >= l { 78281 return io.ErrUnexpectedEOF 78282 } 78283 b := dAtA[iNdEx] 78284 iNdEx++ 78285 stringLen |= uint64(b&0x7F) << shift 78286 if b < 0x80 { 78287 break 78288 } 78289 } 78290 intStringLen := int(stringLen) 78291 if intStringLen < 0 { 78292 return ErrInvalidLengthTypes 78293 } 78294 postIndex := iNdEx + intStringLen 78295 if postIndex < 0 { 78296 return ErrInvalidLengthTypes 78297 } 78298 if postIndex > l { 78299 return io.ErrUnexpectedEOF 78300 } 78301 m.WindowsDesktopLogins = append(m.WindowsDesktopLogins, string(dAtA[iNdEx:postIndex])) 78302 iNdEx = postIndex 78303 case 18: 78304 if wireType != 2 { 78305 return fmt.Errorf("proto: wrong wireType = %d for field WindowsDesktopLabels", wireType) 78306 } 78307 var msglen int 78308 for shift := uint(0); ; shift += 7 { 78309 if shift >= 64 { 78310 return ErrIntOverflowTypes 78311 } 78312 if iNdEx >= l { 78313 return io.ErrUnexpectedEOF 78314 } 78315 b := dAtA[iNdEx] 78316 iNdEx++ 78317 msglen |= int(b&0x7F) << shift 78318 if b < 0x80 { 78319 break 78320 } 78321 } 78322 if msglen < 0 { 78323 return ErrInvalidLengthTypes 78324 } 78325 postIndex := iNdEx + msglen 78326 if postIndex < 0 { 78327 return ErrInvalidLengthTypes 78328 } 78329 if postIndex > l { 78330 return io.ErrUnexpectedEOF 78331 } 78332 if err := m.WindowsDesktopLabels.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 78333 return err 78334 } 78335 iNdEx = postIndex 78336 case 19: 78337 if wireType != 2 { 78338 return fmt.Errorf("proto: wrong wireType = %d for field RequireSessionJoin", wireType) 78339 } 78340 var msglen int 78341 for shift := uint(0); ; shift += 7 { 78342 if shift >= 64 { 78343 return ErrIntOverflowTypes 78344 } 78345 if iNdEx >= l { 78346 return io.ErrUnexpectedEOF 78347 } 78348 b := dAtA[iNdEx] 78349 iNdEx++ 78350 msglen |= int(b&0x7F) << shift 78351 if b < 0x80 { 78352 break 78353 } 78354 } 78355 if msglen < 0 { 78356 return ErrInvalidLengthTypes 78357 } 78358 postIndex := iNdEx + msglen 78359 if postIndex < 0 { 78360 return ErrInvalidLengthTypes 78361 } 78362 if postIndex > l { 78363 return io.ErrUnexpectedEOF 78364 } 78365 m.RequireSessionJoin = append(m.RequireSessionJoin, &SessionRequirePolicy{}) 78366 if err := m.RequireSessionJoin[len(m.RequireSessionJoin)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 78367 return err 78368 } 78369 iNdEx = postIndex 78370 case 20: 78371 if wireType != 2 { 78372 return fmt.Errorf("proto: wrong wireType = %d for field JoinSessions", wireType) 78373 } 78374 var msglen int 78375 for shift := uint(0); ; shift += 7 { 78376 if shift >= 64 { 78377 return ErrIntOverflowTypes 78378 } 78379 if iNdEx >= l { 78380 return io.ErrUnexpectedEOF 78381 } 78382 b := dAtA[iNdEx] 78383 iNdEx++ 78384 msglen |= int(b&0x7F) << shift 78385 if b < 0x80 { 78386 break 78387 } 78388 } 78389 if msglen < 0 { 78390 return ErrInvalidLengthTypes 78391 } 78392 postIndex := iNdEx + msglen 78393 if postIndex < 0 { 78394 return ErrInvalidLengthTypes 78395 } 78396 if postIndex > l { 78397 return io.ErrUnexpectedEOF 78398 } 78399 m.JoinSessions = append(m.JoinSessions, &SessionJoinPolicy{}) 78400 if err := m.JoinSessions[len(m.JoinSessions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 78401 return err 78402 } 78403 iNdEx = postIndex 78404 case 21: 78405 if wireType != 2 { 78406 return fmt.Errorf("proto: wrong wireType = %d for field HostGroups", wireType) 78407 } 78408 var stringLen uint64 78409 for shift := uint(0); ; shift += 7 { 78410 if shift >= 64 { 78411 return ErrIntOverflowTypes 78412 } 78413 if iNdEx >= l { 78414 return io.ErrUnexpectedEOF 78415 } 78416 b := dAtA[iNdEx] 78417 iNdEx++ 78418 stringLen |= uint64(b&0x7F) << shift 78419 if b < 0x80 { 78420 break 78421 } 78422 } 78423 intStringLen := int(stringLen) 78424 if intStringLen < 0 { 78425 return ErrInvalidLengthTypes 78426 } 78427 postIndex := iNdEx + intStringLen 78428 if postIndex < 0 { 78429 return ErrInvalidLengthTypes 78430 } 78431 if postIndex > l { 78432 return io.ErrUnexpectedEOF 78433 } 78434 m.HostGroups = append(m.HostGroups, string(dAtA[iNdEx:postIndex])) 78435 iNdEx = postIndex 78436 case 22: 78437 if wireType != 2 { 78438 return fmt.Errorf("proto: wrong wireType = %d for field HostSudoers", wireType) 78439 } 78440 var stringLen uint64 78441 for shift := uint(0); ; shift += 7 { 78442 if shift >= 64 { 78443 return ErrIntOverflowTypes 78444 } 78445 if iNdEx >= l { 78446 return io.ErrUnexpectedEOF 78447 } 78448 b := dAtA[iNdEx] 78449 iNdEx++ 78450 stringLen |= uint64(b&0x7F) << shift 78451 if b < 0x80 { 78452 break 78453 } 78454 } 78455 intStringLen := int(stringLen) 78456 if intStringLen < 0 { 78457 return ErrInvalidLengthTypes 78458 } 78459 postIndex := iNdEx + intStringLen 78460 if postIndex < 0 { 78461 return ErrInvalidLengthTypes 78462 } 78463 if postIndex > l { 78464 return io.ErrUnexpectedEOF 78465 } 78466 m.HostSudoers = append(m.HostSudoers, string(dAtA[iNdEx:postIndex])) 78467 iNdEx = postIndex 78468 case 23: 78469 if wireType != 2 { 78470 return fmt.Errorf("proto: wrong wireType = %d for field AzureIdentities", wireType) 78471 } 78472 var stringLen uint64 78473 for shift := uint(0); ; shift += 7 { 78474 if shift >= 64 { 78475 return ErrIntOverflowTypes 78476 } 78477 if iNdEx >= l { 78478 return io.ErrUnexpectedEOF 78479 } 78480 b := dAtA[iNdEx] 78481 iNdEx++ 78482 stringLen |= uint64(b&0x7F) << shift 78483 if b < 0x80 { 78484 break 78485 } 78486 } 78487 intStringLen := int(stringLen) 78488 if intStringLen < 0 { 78489 return ErrInvalidLengthTypes 78490 } 78491 postIndex := iNdEx + intStringLen 78492 if postIndex < 0 { 78493 return ErrInvalidLengthTypes 78494 } 78495 if postIndex > l { 78496 return io.ErrUnexpectedEOF 78497 } 78498 m.AzureIdentities = append(m.AzureIdentities, string(dAtA[iNdEx:postIndex])) 78499 iNdEx = postIndex 78500 case 24: 78501 if wireType != 2 { 78502 return fmt.Errorf("proto: wrong wireType = %d for field KubernetesResources", wireType) 78503 } 78504 var msglen int 78505 for shift := uint(0); ; shift += 7 { 78506 if shift >= 64 { 78507 return ErrIntOverflowTypes 78508 } 78509 if iNdEx >= l { 78510 return io.ErrUnexpectedEOF 78511 } 78512 b := dAtA[iNdEx] 78513 iNdEx++ 78514 msglen |= int(b&0x7F) << shift 78515 if b < 0x80 { 78516 break 78517 } 78518 } 78519 if msglen < 0 { 78520 return ErrInvalidLengthTypes 78521 } 78522 postIndex := iNdEx + msglen 78523 if postIndex < 0 { 78524 return ErrInvalidLengthTypes 78525 } 78526 if postIndex > l { 78527 return io.ErrUnexpectedEOF 78528 } 78529 m.KubernetesResources = append(m.KubernetesResources, KubernetesResource{}) 78530 if err := m.KubernetesResources[len(m.KubernetesResources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 78531 return err 78532 } 78533 iNdEx = postIndex 78534 case 25: 78535 if wireType != 2 { 78536 return fmt.Errorf("proto: wrong wireType = %d for field GCPServiceAccounts", wireType) 78537 } 78538 var stringLen uint64 78539 for shift := uint(0); ; shift += 7 { 78540 if shift >= 64 { 78541 return ErrIntOverflowTypes 78542 } 78543 if iNdEx >= l { 78544 return io.ErrUnexpectedEOF 78545 } 78546 b := dAtA[iNdEx] 78547 iNdEx++ 78548 stringLen |= uint64(b&0x7F) << shift 78549 if b < 0x80 { 78550 break 78551 } 78552 } 78553 intStringLen := int(stringLen) 78554 if intStringLen < 0 { 78555 return ErrInvalidLengthTypes 78556 } 78557 postIndex := iNdEx + intStringLen 78558 if postIndex < 0 { 78559 return ErrInvalidLengthTypes 78560 } 78561 if postIndex > l { 78562 return io.ErrUnexpectedEOF 78563 } 78564 m.GCPServiceAccounts = append(m.GCPServiceAccounts, string(dAtA[iNdEx:postIndex])) 78565 iNdEx = postIndex 78566 case 26: 78567 if wireType != 2 { 78568 return fmt.Errorf("proto: wrong wireType = %d for field DatabaseServiceLabels", wireType) 78569 } 78570 var msglen int 78571 for shift := uint(0); ; shift += 7 { 78572 if shift >= 64 { 78573 return ErrIntOverflowTypes 78574 } 78575 if iNdEx >= l { 78576 return io.ErrUnexpectedEOF 78577 } 78578 b := dAtA[iNdEx] 78579 iNdEx++ 78580 msglen |= int(b&0x7F) << shift 78581 if b < 0x80 { 78582 break 78583 } 78584 } 78585 if msglen < 0 { 78586 return ErrInvalidLengthTypes 78587 } 78588 postIndex := iNdEx + msglen 78589 if postIndex < 0 { 78590 return ErrInvalidLengthTypes 78591 } 78592 if postIndex > l { 78593 return io.ErrUnexpectedEOF 78594 } 78595 if err := m.DatabaseServiceLabels.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 78596 return err 78597 } 78598 iNdEx = postIndex 78599 case 27: 78600 if wireType != 2 { 78601 return fmt.Errorf("proto: wrong wireType = %d for field GroupLabels", wireType) 78602 } 78603 var msglen int 78604 for shift := uint(0); ; shift += 7 { 78605 if shift >= 64 { 78606 return ErrIntOverflowTypes 78607 } 78608 if iNdEx >= l { 78609 return io.ErrUnexpectedEOF 78610 } 78611 b := dAtA[iNdEx] 78612 iNdEx++ 78613 msglen |= int(b&0x7F) << shift 78614 if b < 0x80 { 78615 break 78616 } 78617 } 78618 if msglen < 0 { 78619 return ErrInvalidLengthTypes 78620 } 78621 postIndex := iNdEx + msglen 78622 if postIndex < 0 { 78623 return ErrInvalidLengthTypes 78624 } 78625 if postIndex > l { 78626 return io.ErrUnexpectedEOF 78627 } 78628 if err := m.GroupLabels.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 78629 return err 78630 } 78631 iNdEx = postIndex 78632 case 28: 78633 if wireType != 2 { 78634 return fmt.Errorf("proto: wrong wireType = %d for field DesktopGroups", wireType) 78635 } 78636 var stringLen uint64 78637 for shift := uint(0); ; shift += 7 { 78638 if shift >= 64 { 78639 return ErrIntOverflowTypes 78640 } 78641 if iNdEx >= l { 78642 return io.ErrUnexpectedEOF 78643 } 78644 b := dAtA[iNdEx] 78645 iNdEx++ 78646 stringLen |= uint64(b&0x7F) << shift 78647 if b < 0x80 { 78648 break 78649 } 78650 } 78651 intStringLen := int(stringLen) 78652 if intStringLen < 0 { 78653 return ErrInvalidLengthTypes 78654 } 78655 postIndex := iNdEx + intStringLen 78656 if postIndex < 0 { 78657 return ErrInvalidLengthTypes 78658 } 78659 if postIndex > l { 78660 return io.ErrUnexpectedEOF 78661 } 78662 m.DesktopGroups = append(m.DesktopGroups, string(dAtA[iNdEx:postIndex])) 78663 iNdEx = postIndex 78664 case 29: 78665 if wireType != 2 { 78666 return fmt.Errorf("proto: wrong wireType = %d for field DatabaseRoles", wireType) 78667 } 78668 var stringLen uint64 78669 for shift := uint(0); ; shift += 7 { 78670 if shift >= 64 { 78671 return ErrIntOverflowTypes 78672 } 78673 if iNdEx >= l { 78674 return io.ErrUnexpectedEOF 78675 } 78676 b := dAtA[iNdEx] 78677 iNdEx++ 78678 stringLen |= uint64(b&0x7F) << shift 78679 if b < 0x80 { 78680 break 78681 } 78682 } 78683 intStringLen := int(stringLen) 78684 if intStringLen < 0 { 78685 return ErrInvalidLengthTypes 78686 } 78687 postIndex := iNdEx + intStringLen 78688 if postIndex < 0 { 78689 return ErrInvalidLengthTypes 78690 } 78691 if postIndex > l { 78692 return io.ErrUnexpectedEOF 78693 } 78694 m.DatabaseRoles = append(m.DatabaseRoles, string(dAtA[iNdEx:postIndex])) 78695 iNdEx = postIndex 78696 case 30: 78697 if wireType != 2 { 78698 return fmt.Errorf("proto: wrong wireType = %d for field NodeLabelsExpression", wireType) 78699 } 78700 var stringLen uint64 78701 for shift := uint(0); ; shift += 7 { 78702 if shift >= 64 { 78703 return ErrIntOverflowTypes 78704 } 78705 if iNdEx >= l { 78706 return io.ErrUnexpectedEOF 78707 } 78708 b := dAtA[iNdEx] 78709 iNdEx++ 78710 stringLen |= uint64(b&0x7F) << shift 78711 if b < 0x80 { 78712 break 78713 } 78714 } 78715 intStringLen := int(stringLen) 78716 if intStringLen < 0 { 78717 return ErrInvalidLengthTypes 78718 } 78719 postIndex := iNdEx + intStringLen 78720 if postIndex < 0 { 78721 return ErrInvalidLengthTypes 78722 } 78723 if postIndex > l { 78724 return io.ErrUnexpectedEOF 78725 } 78726 m.NodeLabelsExpression = string(dAtA[iNdEx:postIndex]) 78727 iNdEx = postIndex 78728 case 31: 78729 if wireType != 2 { 78730 return fmt.Errorf("proto: wrong wireType = %d for field AppLabelsExpression", wireType) 78731 } 78732 var stringLen uint64 78733 for shift := uint(0); ; shift += 7 { 78734 if shift >= 64 { 78735 return ErrIntOverflowTypes 78736 } 78737 if iNdEx >= l { 78738 return io.ErrUnexpectedEOF 78739 } 78740 b := dAtA[iNdEx] 78741 iNdEx++ 78742 stringLen |= uint64(b&0x7F) << shift 78743 if b < 0x80 { 78744 break 78745 } 78746 } 78747 intStringLen := int(stringLen) 78748 if intStringLen < 0 { 78749 return ErrInvalidLengthTypes 78750 } 78751 postIndex := iNdEx + intStringLen 78752 if postIndex < 0 { 78753 return ErrInvalidLengthTypes 78754 } 78755 if postIndex > l { 78756 return io.ErrUnexpectedEOF 78757 } 78758 m.AppLabelsExpression = string(dAtA[iNdEx:postIndex]) 78759 iNdEx = postIndex 78760 case 32: 78761 if wireType != 2 { 78762 return fmt.Errorf("proto: wrong wireType = %d for field ClusterLabelsExpression", wireType) 78763 } 78764 var stringLen uint64 78765 for shift := uint(0); ; shift += 7 { 78766 if shift >= 64 { 78767 return ErrIntOverflowTypes 78768 } 78769 if iNdEx >= l { 78770 return io.ErrUnexpectedEOF 78771 } 78772 b := dAtA[iNdEx] 78773 iNdEx++ 78774 stringLen |= uint64(b&0x7F) << shift 78775 if b < 0x80 { 78776 break 78777 } 78778 } 78779 intStringLen := int(stringLen) 78780 if intStringLen < 0 { 78781 return ErrInvalidLengthTypes 78782 } 78783 postIndex := iNdEx + intStringLen 78784 if postIndex < 0 { 78785 return ErrInvalidLengthTypes 78786 } 78787 if postIndex > l { 78788 return io.ErrUnexpectedEOF 78789 } 78790 m.ClusterLabelsExpression = string(dAtA[iNdEx:postIndex]) 78791 iNdEx = postIndex 78792 case 33: 78793 if wireType != 2 { 78794 return fmt.Errorf("proto: wrong wireType = %d for field KubernetesLabelsExpression", wireType) 78795 } 78796 var stringLen uint64 78797 for shift := uint(0); ; shift += 7 { 78798 if shift >= 64 { 78799 return ErrIntOverflowTypes 78800 } 78801 if iNdEx >= l { 78802 return io.ErrUnexpectedEOF 78803 } 78804 b := dAtA[iNdEx] 78805 iNdEx++ 78806 stringLen |= uint64(b&0x7F) << shift 78807 if b < 0x80 { 78808 break 78809 } 78810 } 78811 intStringLen := int(stringLen) 78812 if intStringLen < 0 { 78813 return ErrInvalidLengthTypes 78814 } 78815 postIndex := iNdEx + intStringLen 78816 if postIndex < 0 { 78817 return ErrInvalidLengthTypes 78818 } 78819 if postIndex > l { 78820 return io.ErrUnexpectedEOF 78821 } 78822 m.KubernetesLabelsExpression = string(dAtA[iNdEx:postIndex]) 78823 iNdEx = postIndex 78824 case 34: 78825 if wireType != 2 { 78826 return fmt.Errorf("proto: wrong wireType = %d for field DatabaseLabelsExpression", wireType) 78827 } 78828 var stringLen uint64 78829 for shift := uint(0); ; shift += 7 { 78830 if shift >= 64 { 78831 return ErrIntOverflowTypes 78832 } 78833 if iNdEx >= l { 78834 return io.ErrUnexpectedEOF 78835 } 78836 b := dAtA[iNdEx] 78837 iNdEx++ 78838 stringLen |= uint64(b&0x7F) << shift 78839 if b < 0x80 { 78840 break 78841 } 78842 } 78843 intStringLen := int(stringLen) 78844 if intStringLen < 0 { 78845 return ErrInvalidLengthTypes 78846 } 78847 postIndex := iNdEx + intStringLen 78848 if postIndex < 0 { 78849 return ErrInvalidLengthTypes 78850 } 78851 if postIndex > l { 78852 return io.ErrUnexpectedEOF 78853 } 78854 m.DatabaseLabelsExpression = string(dAtA[iNdEx:postIndex]) 78855 iNdEx = postIndex 78856 case 35: 78857 if wireType != 2 { 78858 return fmt.Errorf("proto: wrong wireType = %d for field DatabaseServiceLabelsExpression", wireType) 78859 } 78860 var stringLen uint64 78861 for shift := uint(0); ; shift += 7 { 78862 if shift >= 64 { 78863 return ErrIntOverflowTypes 78864 } 78865 if iNdEx >= l { 78866 return io.ErrUnexpectedEOF 78867 } 78868 b := dAtA[iNdEx] 78869 iNdEx++ 78870 stringLen |= uint64(b&0x7F) << shift 78871 if b < 0x80 { 78872 break 78873 } 78874 } 78875 intStringLen := int(stringLen) 78876 if intStringLen < 0 { 78877 return ErrInvalidLengthTypes 78878 } 78879 postIndex := iNdEx + intStringLen 78880 if postIndex < 0 { 78881 return ErrInvalidLengthTypes 78882 } 78883 if postIndex > l { 78884 return io.ErrUnexpectedEOF 78885 } 78886 m.DatabaseServiceLabelsExpression = string(dAtA[iNdEx:postIndex]) 78887 iNdEx = postIndex 78888 case 36: 78889 if wireType != 2 { 78890 return fmt.Errorf("proto: wrong wireType = %d for field WindowsDesktopLabelsExpression", wireType) 78891 } 78892 var stringLen uint64 78893 for shift := uint(0); ; shift += 7 { 78894 if shift >= 64 { 78895 return ErrIntOverflowTypes 78896 } 78897 if iNdEx >= l { 78898 return io.ErrUnexpectedEOF 78899 } 78900 b := dAtA[iNdEx] 78901 iNdEx++ 78902 stringLen |= uint64(b&0x7F) << shift 78903 if b < 0x80 { 78904 break 78905 } 78906 } 78907 intStringLen := int(stringLen) 78908 if intStringLen < 0 { 78909 return ErrInvalidLengthTypes 78910 } 78911 postIndex := iNdEx + intStringLen 78912 if postIndex < 0 { 78913 return ErrInvalidLengthTypes 78914 } 78915 if postIndex > l { 78916 return io.ErrUnexpectedEOF 78917 } 78918 m.WindowsDesktopLabelsExpression = string(dAtA[iNdEx:postIndex]) 78919 iNdEx = postIndex 78920 case 37: 78921 if wireType != 2 { 78922 return fmt.Errorf("proto: wrong wireType = %d for field GroupLabelsExpression", wireType) 78923 } 78924 var stringLen uint64 78925 for shift := uint(0); ; shift += 7 { 78926 if shift >= 64 { 78927 return ErrIntOverflowTypes 78928 } 78929 if iNdEx >= l { 78930 return io.ErrUnexpectedEOF 78931 } 78932 b := dAtA[iNdEx] 78933 iNdEx++ 78934 stringLen |= uint64(b&0x7F) << shift 78935 if b < 0x80 { 78936 break 78937 } 78938 } 78939 intStringLen := int(stringLen) 78940 if intStringLen < 0 { 78941 return ErrInvalidLengthTypes 78942 } 78943 postIndex := iNdEx + intStringLen 78944 if postIndex < 0 { 78945 return ErrInvalidLengthTypes 78946 } 78947 if postIndex > l { 78948 return io.ErrUnexpectedEOF 78949 } 78950 m.GroupLabelsExpression = string(dAtA[iNdEx:postIndex]) 78951 iNdEx = postIndex 78952 case 38: 78953 if wireType != 2 { 78954 return fmt.Errorf("proto: wrong wireType = %d for field DatabasePermissions", wireType) 78955 } 78956 var msglen int 78957 for shift := uint(0); ; shift += 7 { 78958 if shift >= 64 { 78959 return ErrIntOverflowTypes 78960 } 78961 if iNdEx >= l { 78962 return io.ErrUnexpectedEOF 78963 } 78964 b := dAtA[iNdEx] 78965 iNdEx++ 78966 msglen |= int(b&0x7F) << shift 78967 if b < 0x80 { 78968 break 78969 } 78970 } 78971 if msglen < 0 { 78972 return ErrInvalidLengthTypes 78973 } 78974 postIndex := iNdEx + msglen 78975 if postIndex < 0 { 78976 return ErrInvalidLengthTypes 78977 } 78978 if postIndex > l { 78979 return io.ErrUnexpectedEOF 78980 } 78981 m.DatabasePermissions = append(m.DatabasePermissions, DatabasePermission{}) 78982 if err := m.DatabasePermissions[len(m.DatabasePermissions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 78983 return err 78984 } 78985 iNdEx = postIndex 78986 case 39: 78987 if wireType != 2 { 78988 return fmt.Errorf("proto: wrong wireType = %d for field SPIFFE", wireType) 78989 } 78990 var msglen int 78991 for shift := uint(0); ; shift += 7 { 78992 if shift >= 64 { 78993 return ErrIntOverflowTypes 78994 } 78995 if iNdEx >= l { 78996 return io.ErrUnexpectedEOF 78997 } 78998 b := dAtA[iNdEx] 78999 iNdEx++ 79000 msglen |= int(b&0x7F) << shift 79001 if b < 0x80 { 79002 break 79003 } 79004 } 79005 if msglen < 0 { 79006 return ErrInvalidLengthTypes 79007 } 79008 postIndex := iNdEx + msglen 79009 if postIndex < 0 { 79010 return ErrInvalidLengthTypes 79011 } 79012 if postIndex > l { 79013 return io.ErrUnexpectedEOF 79014 } 79015 m.SPIFFE = append(m.SPIFFE, &SPIFFERoleCondition{}) 79016 if err := m.SPIFFE[len(m.SPIFFE)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 79017 return err 79018 } 79019 iNdEx = postIndex 79020 default: 79021 iNdEx = preIndex 79022 skippy, err := skipTypes(dAtA[iNdEx:]) 79023 if err != nil { 79024 return err 79025 } 79026 if (skippy < 0) || (iNdEx+skippy) < 0 { 79027 return ErrInvalidLengthTypes 79028 } 79029 if (iNdEx + skippy) > l { 79030 return io.ErrUnexpectedEOF 79031 } 79032 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 79033 iNdEx += skippy 79034 } 79035 } 79036 79037 if iNdEx > l { 79038 return io.ErrUnexpectedEOF 79039 } 79040 return nil 79041 } 79042 func (m *SPIFFERoleCondition) Unmarshal(dAtA []byte) error { 79043 l := len(dAtA) 79044 iNdEx := 0 79045 for iNdEx < l { 79046 preIndex := iNdEx 79047 var wire uint64 79048 for shift := uint(0); ; shift += 7 { 79049 if shift >= 64 { 79050 return ErrIntOverflowTypes 79051 } 79052 if iNdEx >= l { 79053 return io.ErrUnexpectedEOF 79054 } 79055 b := dAtA[iNdEx] 79056 iNdEx++ 79057 wire |= uint64(b&0x7F) << shift 79058 if b < 0x80 { 79059 break 79060 } 79061 } 79062 fieldNum := int32(wire >> 3) 79063 wireType := int(wire & 0x7) 79064 if wireType == 4 { 79065 return fmt.Errorf("proto: SPIFFERoleCondition: wiretype end group for non-group") 79066 } 79067 if fieldNum <= 0 { 79068 return fmt.Errorf("proto: SPIFFERoleCondition: illegal tag %d (wire type %d)", fieldNum, wire) 79069 } 79070 switch fieldNum { 79071 case 1: 79072 if wireType != 2 { 79073 return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) 79074 } 79075 var stringLen uint64 79076 for shift := uint(0); ; shift += 7 { 79077 if shift >= 64 { 79078 return ErrIntOverflowTypes 79079 } 79080 if iNdEx >= l { 79081 return io.ErrUnexpectedEOF 79082 } 79083 b := dAtA[iNdEx] 79084 iNdEx++ 79085 stringLen |= uint64(b&0x7F) << shift 79086 if b < 0x80 { 79087 break 79088 } 79089 } 79090 intStringLen := int(stringLen) 79091 if intStringLen < 0 { 79092 return ErrInvalidLengthTypes 79093 } 79094 postIndex := iNdEx + intStringLen 79095 if postIndex < 0 { 79096 return ErrInvalidLengthTypes 79097 } 79098 if postIndex > l { 79099 return io.ErrUnexpectedEOF 79100 } 79101 m.Path = string(dAtA[iNdEx:postIndex]) 79102 iNdEx = postIndex 79103 case 2: 79104 if wireType != 2 { 79105 return fmt.Errorf("proto: wrong wireType = %d for field DNSSANs", wireType) 79106 } 79107 var stringLen uint64 79108 for shift := uint(0); ; shift += 7 { 79109 if shift >= 64 { 79110 return ErrIntOverflowTypes 79111 } 79112 if iNdEx >= l { 79113 return io.ErrUnexpectedEOF 79114 } 79115 b := dAtA[iNdEx] 79116 iNdEx++ 79117 stringLen |= uint64(b&0x7F) << shift 79118 if b < 0x80 { 79119 break 79120 } 79121 } 79122 intStringLen := int(stringLen) 79123 if intStringLen < 0 { 79124 return ErrInvalidLengthTypes 79125 } 79126 postIndex := iNdEx + intStringLen 79127 if postIndex < 0 { 79128 return ErrInvalidLengthTypes 79129 } 79130 if postIndex > l { 79131 return io.ErrUnexpectedEOF 79132 } 79133 m.DNSSANs = append(m.DNSSANs, string(dAtA[iNdEx:postIndex])) 79134 iNdEx = postIndex 79135 case 3: 79136 if wireType != 2 { 79137 return fmt.Errorf("proto: wrong wireType = %d for field IPSANs", wireType) 79138 } 79139 var stringLen uint64 79140 for shift := uint(0); ; shift += 7 { 79141 if shift >= 64 { 79142 return ErrIntOverflowTypes 79143 } 79144 if iNdEx >= l { 79145 return io.ErrUnexpectedEOF 79146 } 79147 b := dAtA[iNdEx] 79148 iNdEx++ 79149 stringLen |= uint64(b&0x7F) << shift 79150 if b < 0x80 { 79151 break 79152 } 79153 } 79154 intStringLen := int(stringLen) 79155 if intStringLen < 0 { 79156 return ErrInvalidLengthTypes 79157 } 79158 postIndex := iNdEx + intStringLen 79159 if postIndex < 0 { 79160 return ErrInvalidLengthTypes 79161 } 79162 if postIndex > l { 79163 return io.ErrUnexpectedEOF 79164 } 79165 m.IPSANs = append(m.IPSANs, string(dAtA[iNdEx:postIndex])) 79166 iNdEx = postIndex 79167 default: 79168 iNdEx = preIndex 79169 skippy, err := skipTypes(dAtA[iNdEx:]) 79170 if err != nil { 79171 return err 79172 } 79173 if (skippy < 0) || (iNdEx+skippy) < 0 { 79174 return ErrInvalidLengthTypes 79175 } 79176 if (iNdEx + skippy) > l { 79177 return io.ErrUnexpectedEOF 79178 } 79179 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 79180 iNdEx += skippy 79181 } 79182 } 79183 79184 if iNdEx > l { 79185 return io.ErrUnexpectedEOF 79186 } 79187 return nil 79188 } 79189 func (m *DatabasePermission) Unmarshal(dAtA []byte) error { 79190 l := len(dAtA) 79191 iNdEx := 0 79192 for iNdEx < l { 79193 preIndex := iNdEx 79194 var wire uint64 79195 for shift := uint(0); ; shift += 7 { 79196 if shift >= 64 { 79197 return ErrIntOverflowTypes 79198 } 79199 if iNdEx >= l { 79200 return io.ErrUnexpectedEOF 79201 } 79202 b := dAtA[iNdEx] 79203 iNdEx++ 79204 wire |= uint64(b&0x7F) << shift 79205 if b < 0x80 { 79206 break 79207 } 79208 } 79209 fieldNum := int32(wire >> 3) 79210 wireType := int(wire & 0x7) 79211 if wireType == 4 { 79212 return fmt.Errorf("proto: DatabasePermission: wiretype end group for non-group") 79213 } 79214 if fieldNum <= 0 { 79215 return fmt.Errorf("proto: DatabasePermission: illegal tag %d (wire type %d)", fieldNum, wire) 79216 } 79217 switch fieldNum { 79218 case 1: 79219 if wireType != 2 { 79220 return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) 79221 } 79222 var stringLen uint64 79223 for shift := uint(0); ; shift += 7 { 79224 if shift >= 64 { 79225 return ErrIntOverflowTypes 79226 } 79227 if iNdEx >= l { 79228 return io.ErrUnexpectedEOF 79229 } 79230 b := dAtA[iNdEx] 79231 iNdEx++ 79232 stringLen |= uint64(b&0x7F) << shift 79233 if b < 0x80 { 79234 break 79235 } 79236 } 79237 intStringLen := int(stringLen) 79238 if intStringLen < 0 { 79239 return ErrInvalidLengthTypes 79240 } 79241 postIndex := iNdEx + intStringLen 79242 if postIndex < 0 { 79243 return ErrInvalidLengthTypes 79244 } 79245 if postIndex > l { 79246 return io.ErrUnexpectedEOF 79247 } 79248 m.Permissions = append(m.Permissions, string(dAtA[iNdEx:postIndex])) 79249 iNdEx = postIndex 79250 case 2: 79251 if wireType != 2 { 79252 return fmt.Errorf("proto: wrong wireType = %d for field Match", wireType) 79253 } 79254 var msglen int 79255 for shift := uint(0); ; shift += 7 { 79256 if shift >= 64 { 79257 return ErrIntOverflowTypes 79258 } 79259 if iNdEx >= l { 79260 return io.ErrUnexpectedEOF 79261 } 79262 b := dAtA[iNdEx] 79263 iNdEx++ 79264 msglen |= int(b&0x7F) << shift 79265 if b < 0x80 { 79266 break 79267 } 79268 } 79269 if msglen < 0 { 79270 return ErrInvalidLengthTypes 79271 } 79272 postIndex := iNdEx + msglen 79273 if postIndex < 0 { 79274 return ErrInvalidLengthTypes 79275 } 79276 if postIndex > l { 79277 return io.ErrUnexpectedEOF 79278 } 79279 if err := m.Match.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 79280 return err 79281 } 79282 iNdEx = postIndex 79283 default: 79284 iNdEx = preIndex 79285 skippy, err := skipTypes(dAtA[iNdEx:]) 79286 if err != nil { 79287 return err 79288 } 79289 if (skippy < 0) || (iNdEx+skippy) < 0 { 79290 return ErrInvalidLengthTypes 79291 } 79292 if (iNdEx + skippy) > l { 79293 return io.ErrUnexpectedEOF 79294 } 79295 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 79296 iNdEx += skippy 79297 } 79298 } 79299 79300 if iNdEx > l { 79301 return io.ErrUnexpectedEOF 79302 } 79303 return nil 79304 } 79305 func (m *KubernetesResource) Unmarshal(dAtA []byte) error { 79306 l := len(dAtA) 79307 iNdEx := 0 79308 for iNdEx < l { 79309 preIndex := iNdEx 79310 var wire uint64 79311 for shift := uint(0); ; shift += 7 { 79312 if shift >= 64 { 79313 return ErrIntOverflowTypes 79314 } 79315 if iNdEx >= l { 79316 return io.ErrUnexpectedEOF 79317 } 79318 b := dAtA[iNdEx] 79319 iNdEx++ 79320 wire |= uint64(b&0x7F) << shift 79321 if b < 0x80 { 79322 break 79323 } 79324 } 79325 fieldNum := int32(wire >> 3) 79326 wireType := int(wire & 0x7) 79327 if wireType == 4 { 79328 return fmt.Errorf("proto: KubernetesResource: wiretype end group for non-group") 79329 } 79330 if fieldNum <= 0 { 79331 return fmt.Errorf("proto: KubernetesResource: illegal tag %d (wire type %d)", fieldNum, wire) 79332 } 79333 switch fieldNum { 79334 case 1: 79335 if wireType != 2 { 79336 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 79337 } 79338 var stringLen uint64 79339 for shift := uint(0); ; shift += 7 { 79340 if shift >= 64 { 79341 return ErrIntOverflowTypes 79342 } 79343 if iNdEx >= l { 79344 return io.ErrUnexpectedEOF 79345 } 79346 b := dAtA[iNdEx] 79347 iNdEx++ 79348 stringLen |= uint64(b&0x7F) << shift 79349 if b < 0x80 { 79350 break 79351 } 79352 } 79353 intStringLen := int(stringLen) 79354 if intStringLen < 0 { 79355 return ErrInvalidLengthTypes 79356 } 79357 postIndex := iNdEx + intStringLen 79358 if postIndex < 0 { 79359 return ErrInvalidLengthTypes 79360 } 79361 if postIndex > l { 79362 return io.ErrUnexpectedEOF 79363 } 79364 m.Kind = string(dAtA[iNdEx:postIndex]) 79365 iNdEx = postIndex 79366 case 2: 79367 if wireType != 2 { 79368 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 79369 } 79370 var stringLen uint64 79371 for shift := uint(0); ; shift += 7 { 79372 if shift >= 64 { 79373 return ErrIntOverflowTypes 79374 } 79375 if iNdEx >= l { 79376 return io.ErrUnexpectedEOF 79377 } 79378 b := dAtA[iNdEx] 79379 iNdEx++ 79380 stringLen |= uint64(b&0x7F) << shift 79381 if b < 0x80 { 79382 break 79383 } 79384 } 79385 intStringLen := int(stringLen) 79386 if intStringLen < 0 { 79387 return ErrInvalidLengthTypes 79388 } 79389 postIndex := iNdEx + intStringLen 79390 if postIndex < 0 { 79391 return ErrInvalidLengthTypes 79392 } 79393 if postIndex > l { 79394 return io.ErrUnexpectedEOF 79395 } 79396 m.Namespace = string(dAtA[iNdEx:postIndex]) 79397 iNdEx = postIndex 79398 case 3: 79399 if wireType != 2 { 79400 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 79401 } 79402 var stringLen uint64 79403 for shift := uint(0); ; shift += 7 { 79404 if shift >= 64 { 79405 return ErrIntOverflowTypes 79406 } 79407 if iNdEx >= l { 79408 return io.ErrUnexpectedEOF 79409 } 79410 b := dAtA[iNdEx] 79411 iNdEx++ 79412 stringLen |= uint64(b&0x7F) << shift 79413 if b < 0x80 { 79414 break 79415 } 79416 } 79417 intStringLen := int(stringLen) 79418 if intStringLen < 0 { 79419 return ErrInvalidLengthTypes 79420 } 79421 postIndex := iNdEx + intStringLen 79422 if postIndex < 0 { 79423 return ErrInvalidLengthTypes 79424 } 79425 if postIndex > l { 79426 return io.ErrUnexpectedEOF 79427 } 79428 m.Name = string(dAtA[iNdEx:postIndex]) 79429 iNdEx = postIndex 79430 case 4: 79431 if wireType != 2 { 79432 return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType) 79433 } 79434 var stringLen uint64 79435 for shift := uint(0); ; shift += 7 { 79436 if shift >= 64 { 79437 return ErrIntOverflowTypes 79438 } 79439 if iNdEx >= l { 79440 return io.ErrUnexpectedEOF 79441 } 79442 b := dAtA[iNdEx] 79443 iNdEx++ 79444 stringLen |= uint64(b&0x7F) << shift 79445 if b < 0x80 { 79446 break 79447 } 79448 } 79449 intStringLen := int(stringLen) 79450 if intStringLen < 0 { 79451 return ErrInvalidLengthTypes 79452 } 79453 postIndex := iNdEx + intStringLen 79454 if postIndex < 0 { 79455 return ErrInvalidLengthTypes 79456 } 79457 if postIndex > l { 79458 return io.ErrUnexpectedEOF 79459 } 79460 m.Verbs = append(m.Verbs, string(dAtA[iNdEx:postIndex])) 79461 iNdEx = postIndex 79462 default: 79463 iNdEx = preIndex 79464 skippy, err := skipTypes(dAtA[iNdEx:]) 79465 if err != nil { 79466 return err 79467 } 79468 if (skippy < 0) || (iNdEx+skippy) < 0 { 79469 return ErrInvalidLengthTypes 79470 } 79471 if (iNdEx + skippy) > l { 79472 return io.ErrUnexpectedEOF 79473 } 79474 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 79475 iNdEx += skippy 79476 } 79477 } 79478 79479 if iNdEx > l { 79480 return io.ErrUnexpectedEOF 79481 } 79482 return nil 79483 } 79484 func (m *SessionRequirePolicy) Unmarshal(dAtA []byte) error { 79485 l := len(dAtA) 79486 iNdEx := 0 79487 for iNdEx < l { 79488 preIndex := iNdEx 79489 var wire uint64 79490 for shift := uint(0); ; shift += 7 { 79491 if shift >= 64 { 79492 return ErrIntOverflowTypes 79493 } 79494 if iNdEx >= l { 79495 return io.ErrUnexpectedEOF 79496 } 79497 b := dAtA[iNdEx] 79498 iNdEx++ 79499 wire |= uint64(b&0x7F) << shift 79500 if b < 0x80 { 79501 break 79502 } 79503 } 79504 fieldNum := int32(wire >> 3) 79505 wireType := int(wire & 0x7) 79506 if wireType == 4 { 79507 return fmt.Errorf("proto: SessionRequirePolicy: wiretype end group for non-group") 79508 } 79509 if fieldNum <= 0 { 79510 return fmt.Errorf("proto: SessionRequirePolicy: illegal tag %d (wire type %d)", fieldNum, wire) 79511 } 79512 switch fieldNum { 79513 case 1: 79514 if wireType != 2 { 79515 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 79516 } 79517 var stringLen uint64 79518 for shift := uint(0); ; shift += 7 { 79519 if shift >= 64 { 79520 return ErrIntOverflowTypes 79521 } 79522 if iNdEx >= l { 79523 return io.ErrUnexpectedEOF 79524 } 79525 b := dAtA[iNdEx] 79526 iNdEx++ 79527 stringLen |= uint64(b&0x7F) << shift 79528 if b < 0x80 { 79529 break 79530 } 79531 } 79532 intStringLen := int(stringLen) 79533 if intStringLen < 0 { 79534 return ErrInvalidLengthTypes 79535 } 79536 postIndex := iNdEx + intStringLen 79537 if postIndex < 0 { 79538 return ErrInvalidLengthTypes 79539 } 79540 if postIndex > l { 79541 return io.ErrUnexpectedEOF 79542 } 79543 m.Name = string(dAtA[iNdEx:postIndex]) 79544 iNdEx = postIndex 79545 case 2: 79546 if wireType != 2 { 79547 return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType) 79548 } 79549 var stringLen uint64 79550 for shift := uint(0); ; shift += 7 { 79551 if shift >= 64 { 79552 return ErrIntOverflowTypes 79553 } 79554 if iNdEx >= l { 79555 return io.ErrUnexpectedEOF 79556 } 79557 b := dAtA[iNdEx] 79558 iNdEx++ 79559 stringLen |= uint64(b&0x7F) << shift 79560 if b < 0x80 { 79561 break 79562 } 79563 } 79564 intStringLen := int(stringLen) 79565 if intStringLen < 0 { 79566 return ErrInvalidLengthTypes 79567 } 79568 postIndex := iNdEx + intStringLen 79569 if postIndex < 0 { 79570 return ErrInvalidLengthTypes 79571 } 79572 if postIndex > l { 79573 return io.ErrUnexpectedEOF 79574 } 79575 m.Filter = string(dAtA[iNdEx:postIndex]) 79576 iNdEx = postIndex 79577 case 3: 79578 if wireType != 2 { 79579 return fmt.Errorf("proto: wrong wireType = %d for field Kinds", wireType) 79580 } 79581 var stringLen uint64 79582 for shift := uint(0); ; shift += 7 { 79583 if shift >= 64 { 79584 return ErrIntOverflowTypes 79585 } 79586 if iNdEx >= l { 79587 return io.ErrUnexpectedEOF 79588 } 79589 b := dAtA[iNdEx] 79590 iNdEx++ 79591 stringLen |= uint64(b&0x7F) << shift 79592 if b < 0x80 { 79593 break 79594 } 79595 } 79596 intStringLen := int(stringLen) 79597 if intStringLen < 0 { 79598 return ErrInvalidLengthTypes 79599 } 79600 postIndex := iNdEx + intStringLen 79601 if postIndex < 0 { 79602 return ErrInvalidLengthTypes 79603 } 79604 if postIndex > l { 79605 return io.ErrUnexpectedEOF 79606 } 79607 m.Kinds = append(m.Kinds, string(dAtA[iNdEx:postIndex])) 79608 iNdEx = postIndex 79609 case 4: 79610 if wireType != 0 { 79611 return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType) 79612 } 79613 m.Count = 0 79614 for shift := uint(0); ; shift += 7 { 79615 if shift >= 64 { 79616 return ErrIntOverflowTypes 79617 } 79618 if iNdEx >= l { 79619 return io.ErrUnexpectedEOF 79620 } 79621 b := dAtA[iNdEx] 79622 iNdEx++ 79623 m.Count |= int32(b&0x7F) << shift 79624 if b < 0x80 { 79625 break 79626 } 79627 } 79628 case 5: 79629 if wireType != 2 { 79630 return fmt.Errorf("proto: wrong wireType = %d for field Modes", wireType) 79631 } 79632 var stringLen uint64 79633 for shift := uint(0); ; shift += 7 { 79634 if shift >= 64 { 79635 return ErrIntOverflowTypes 79636 } 79637 if iNdEx >= l { 79638 return io.ErrUnexpectedEOF 79639 } 79640 b := dAtA[iNdEx] 79641 iNdEx++ 79642 stringLen |= uint64(b&0x7F) << shift 79643 if b < 0x80 { 79644 break 79645 } 79646 } 79647 intStringLen := int(stringLen) 79648 if intStringLen < 0 { 79649 return ErrInvalidLengthTypes 79650 } 79651 postIndex := iNdEx + intStringLen 79652 if postIndex < 0 { 79653 return ErrInvalidLengthTypes 79654 } 79655 if postIndex > l { 79656 return io.ErrUnexpectedEOF 79657 } 79658 m.Modes = append(m.Modes, string(dAtA[iNdEx:postIndex])) 79659 iNdEx = postIndex 79660 case 6: 79661 if wireType != 2 { 79662 return fmt.Errorf("proto: wrong wireType = %d for field OnLeave", wireType) 79663 } 79664 var stringLen uint64 79665 for shift := uint(0); ; shift += 7 { 79666 if shift >= 64 { 79667 return ErrIntOverflowTypes 79668 } 79669 if iNdEx >= l { 79670 return io.ErrUnexpectedEOF 79671 } 79672 b := dAtA[iNdEx] 79673 iNdEx++ 79674 stringLen |= uint64(b&0x7F) << shift 79675 if b < 0x80 { 79676 break 79677 } 79678 } 79679 intStringLen := int(stringLen) 79680 if intStringLen < 0 { 79681 return ErrInvalidLengthTypes 79682 } 79683 postIndex := iNdEx + intStringLen 79684 if postIndex < 0 { 79685 return ErrInvalidLengthTypes 79686 } 79687 if postIndex > l { 79688 return io.ErrUnexpectedEOF 79689 } 79690 m.OnLeave = string(dAtA[iNdEx:postIndex]) 79691 iNdEx = postIndex 79692 default: 79693 iNdEx = preIndex 79694 skippy, err := skipTypes(dAtA[iNdEx:]) 79695 if err != nil { 79696 return err 79697 } 79698 if (skippy < 0) || (iNdEx+skippy) < 0 { 79699 return ErrInvalidLengthTypes 79700 } 79701 if (iNdEx + skippy) > l { 79702 return io.ErrUnexpectedEOF 79703 } 79704 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 79705 iNdEx += skippy 79706 } 79707 } 79708 79709 if iNdEx > l { 79710 return io.ErrUnexpectedEOF 79711 } 79712 return nil 79713 } 79714 func (m *SessionJoinPolicy) Unmarshal(dAtA []byte) error { 79715 l := len(dAtA) 79716 iNdEx := 0 79717 for iNdEx < l { 79718 preIndex := iNdEx 79719 var wire uint64 79720 for shift := uint(0); ; shift += 7 { 79721 if shift >= 64 { 79722 return ErrIntOverflowTypes 79723 } 79724 if iNdEx >= l { 79725 return io.ErrUnexpectedEOF 79726 } 79727 b := dAtA[iNdEx] 79728 iNdEx++ 79729 wire |= uint64(b&0x7F) << shift 79730 if b < 0x80 { 79731 break 79732 } 79733 } 79734 fieldNum := int32(wire >> 3) 79735 wireType := int(wire & 0x7) 79736 if wireType == 4 { 79737 return fmt.Errorf("proto: SessionJoinPolicy: wiretype end group for non-group") 79738 } 79739 if fieldNum <= 0 { 79740 return fmt.Errorf("proto: SessionJoinPolicy: illegal tag %d (wire type %d)", fieldNum, wire) 79741 } 79742 switch fieldNum { 79743 case 1: 79744 if wireType != 2 { 79745 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 79746 } 79747 var stringLen uint64 79748 for shift := uint(0); ; shift += 7 { 79749 if shift >= 64 { 79750 return ErrIntOverflowTypes 79751 } 79752 if iNdEx >= l { 79753 return io.ErrUnexpectedEOF 79754 } 79755 b := dAtA[iNdEx] 79756 iNdEx++ 79757 stringLen |= uint64(b&0x7F) << shift 79758 if b < 0x80 { 79759 break 79760 } 79761 } 79762 intStringLen := int(stringLen) 79763 if intStringLen < 0 { 79764 return ErrInvalidLengthTypes 79765 } 79766 postIndex := iNdEx + intStringLen 79767 if postIndex < 0 { 79768 return ErrInvalidLengthTypes 79769 } 79770 if postIndex > l { 79771 return io.ErrUnexpectedEOF 79772 } 79773 m.Name = string(dAtA[iNdEx:postIndex]) 79774 iNdEx = postIndex 79775 case 2: 79776 if wireType != 2 { 79777 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 79778 } 79779 var stringLen uint64 79780 for shift := uint(0); ; shift += 7 { 79781 if shift >= 64 { 79782 return ErrIntOverflowTypes 79783 } 79784 if iNdEx >= l { 79785 return io.ErrUnexpectedEOF 79786 } 79787 b := dAtA[iNdEx] 79788 iNdEx++ 79789 stringLen |= uint64(b&0x7F) << shift 79790 if b < 0x80 { 79791 break 79792 } 79793 } 79794 intStringLen := int(stringLen) 79795 if intStringLen < 0 { 79796 return ErrInvalidLengthTypes 79797 } 79798 postIndex := iNdEx + intStringLen 79799 if postIndex < 0 { 79800 return ErrInvalidLengthTypes 79801 } 79802 if postIndex > l { 79803 return io.ErrUnexpectedEOF 79804 } 79805 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 79806 iNdEx = postIndex 79807 case 3: 79808 if wireType != 2 { 79809 return fmt.Errorf("proto: wrong wireType = %d for field Kinds", wireType) 79810 } 79811 var stringLen uint64 79812 for shift := uint(0); ; shift += 7 { 79813 if shift >= 64 { 79814 return ErrIntOverflowTypes 79815 } 79816 if iNdEx >= l { 79817 return io.ErrUnexpectedEOF 79818 } 79819 b := dAtA[iNdEx] 79820 iNdEx++ 79821 stringLen |= uint64(b&0x7F) << shift 79822 if b < 0x80 { 79823 break 79824 } 79825 } 79826 intStringLen := int(stringLen) 79827 if intStringLen < 0 { 79828 return ErrInvalidLengthTypes 79829 } 79830 postIndex := iNdEx + intStringLen 79831 if postIndex < 0 { 79832 return ErrInvalidLengthTypes 79833 } 79834 if postIndex > l { 79835 return io.ErrUnexpectedEOF 79836 } 79837 m.Kinds = append(m.Kinds, string(dAtA[iNdEx:postIndex])) 79838 iNdEx = postIndex 79839 case 4: 79840 if wireType != 2 { 79841 return fmt.Errorf("proto: wrong wireType = %d for field Modes", wireType) 79842 } 79843 var stringLen uint64 79844 for shift := uint(0); ; shift += 7 { 79845 if shift >= 64 { 79846 return ErrIntOverflowTypes 79847 } 79848 if iNdEx >= l { 79849 return io.ErrUnexpectedEOF 79850 } 79851 b := dAtA[iNdEx] 79852 iNdEx++ 79853 stringLen |= uint64(b&0x7F) << shift 79854 if b < 0x80 { 79855 break 79856 } 79857 } 79858 intStringLen := int(stringLen) 79859 if intStringLen < 0 { 79860 return ErrInvalidLengthTypes 79861 } 79862 postIndex := iNdEx + intStringLen 79863 if postIndex < 0 { 79864 return ErrInvalidLengthTypes 79865 } 79866 if postIndex > l { 79867 return io.ErrUnexpectedEOF 79868 } 79869 m.Modes = append(m.Modes, string(dAtA[iNdEx:postIndex])) 79870 iNdEx = postIndex 79871 default: 79872 iNdEx = preIndex 79873 skippy, err := skipTypes(dAtA[iNdEx:]) 79874 if err != nil { 79875 return err 79876 } 79877 if (skippy < 0) || (iNdEx+skippy) < 0 { 79878 return ErrInvalidLengthTypes 79879 } 79880 if (iNdEx + skippy) > l { 79881 return io.ErrUnexpectedEOF 79882 } 79883 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 79884 iNdEx += skippy 79885 } 79886 } 79887 79888 if iNdEx > l { 79889 return io.ErrUnexpectedEOF 79890 } 79891 return nil 79892 } 79893 func (m *AccessRequestConditions) Unmarshal(dAtA []byte) error { 79894 l := len(dAtA) 79895 iNdEx := 0 79896 for iNdEx < l { 79897 preIndex := iNdEx 79898 var wire uint64 79899 for shift := uint(0); ; shift += 7 { 79900 if shift >= 64 { 79901 return ErrIntOverflowTypes 79902 } 79903 if iNdEx >= l { 79904 return io.ErrUnexpectedEOF 79905 } 79906 b := dAtA[iNdEx] 79907 iNdEx++ 79908 wire |= uint64(b&0x7F) << shift 79909 if b < 0x80 { 79910 break 79911 } 79912 } 79913 fieldNum := int32(wire >> 3) 79914 wireType := int(wire & 0x7) 79915 if wireType == 4 { 79916 return fmt.Errorf("proto: AccessRequestConditions: wiretype end group for non-group") 79917 } 79918 if fieldNum <= 0 { 79919 return fmt.Errorf("proto: AccessRequestConditions: illegal tag %d (wire type %d)", fieldNum, wire) 79920 } 79921 switch fieldNum { 79922 case 1: 79923 if wireType != 2 { 79924 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 79925 } 79926 var stringLen uint64 79927 for shift := uint(0); ; shift += 7 { 79928 if shift >= 64 { 79929 return ErrIntOverflowTypes 79930 } 79931 if iNdEx >= l { 79932 return io.ErrUnexpectedEOF 79933 } 79934 b := dAtA[iNdEx] 79935 iNdEx++ 79936 stringLen |= uint64(b&0x7F) << shift 79937 if b < 0x80 { 79938 break 79939 } 79940 } 79941 intStringLen := int(stringLen) 79942 if intStringLen < 0 { 79943 return ErrInvalidLengthTypes 79944 } 79945 postIndex := iNdEx + intStringLen 79946 if postIndex < 0 { 79947 return ErrInvalidLengthTypes 79948 } 79949 if postIndex > l { 79950 return io.ErrUnexpectedEOF 79951 } 79952 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 79953 iNdEx = postIndex 79954 case 2: 79955 if wireType != 2 { 79956 return fmt.Errorf("proto: wrong wireType = %d for field ClaimsToRoles", wireType) 79957 } 79958 var msglen int 79959 for shift := uint(0); ; shift += 7 { 79960 if shift >= 64 { 79961 return ErrIntOverflowTypes 79962 } 79963 if iNdEx >= l { 79964 return io.ErrUnexpectedEOF 79965 } 79966 b := dAtA[iNdEx] 79967 iNdEx++ 79968 msglen |= int(b&0x7F) << shift 79969 if b < 0x80 { 79970 break 79971 } 79972 } 79973 if msglen < 0 { 79974 return ErrInvalidLengthTypes 79975 } 79976 postIndex := iNdEx + msglen 79977 if postIndex < 0 { 79978 return ErrInvalidLengthTypes 79979 } 79980 if postIndex > l { 79981 return io.ErrUnexpectedEOF 79982 } 79983 m.ClaimsToRoles = append(m.ClaimsToRoles, ClaimMapping{}) 79984 if err := m.ClaimsToRoles[len(m.ClaimsToRoles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 79985 return err 79986 } 79987 iNdEx = postIndex 79988 case 3: 79989 if wireType != 2 { 79990 return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType) 79991 } 79992 var msglen int 79993 for shift := uint(0); ; shift += 7 { 79994 if shift >= 64 { 79995 return ErrIntOverflowTypes 79996 } 79997 if iNdEx >= l { 79998 return io.ErrUnexpectedEOF 79999 } 80000 b := dAtA[iNdEx] 80001 iNdEx++ 80002 msglen |= int(b&0x7F) << shift 80003 if b < 0x80 { 80004 break 80005 } 80006 } 80007 if msglen < 0 { 80008 return ErrInvalidLengthTypes 80009 } 80010 postIndex := iNdEx + msglen 80011 if postIndex < 0 { 80012 return ErrInvalidLengthTypes 80013 } 80014 if postIndex > l { 80015 return io.ErrUnexpectedEOF 80016 } 80017 if err := m.Annotations.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 80018 return err 80019 } 80020 iNdEx = postIndex 80021 case 4: 80022 if wireType != 2 { 80023 return fmt.Errorf("proto: wrong wireType = %d for field Thresholds", wireType) 80024 } 80025 var msglen int 80026 for shift := uint(0); ; shift += 7 { 80027 if shift >= 64 { 80028 return ErrIntOverflowTypes 80029 } 80030 if iNdEx >= l { 80031 return io.ErrUnexpectedEOF 80032 } 80033 b := dAtA[iNdEx] 80034 iNdEx++ 80035 msglen |= int(b&0x7F) << shift 80036 if b < 0x80 { 80037 break 80038 } 80039 } 80040 if msglen < 0 { 80041 return ErrInvalidLengthTypes 80042 } 80043 postIndex := iNdEx + msglen 80044 if postIndex < 0 { 80045 return ErrInvalidLengthTypes 80046 } 80047 if postIndex > l { 80048 return io.ErrUnexpectedEOF 80049 } 80050 m.Thresholds = append(m.Thresholds, AccessReviewThreshold{}) 80051 if err := m.Thresholds[len(m.Thresholds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 80052 return err 80053 } 80054 iNdEx = postIndex 80055 case 5: 80056 if wireType != 2 { 80057 return fmt.Errorf("proto: wrong wireType = %d for field SuggestedReviewers", wireType) 80058 } 80059 var stringLen uint64 80060 for shift := uint(0); ; shift += 7 { 80061 if shift >= 64 { 80062 return ErrIntOverflowTypes 80063 } 80064 if iNdEx >= l { 80065 return io.ErrUnexpectedEOF 80066 } 80067 b := dAtA[iNdEx] 80068 iNdEx++ 80069 stringLen |= uint64(b&0x7F) << shift 80070 if b < 0x80 { 80071 break 80072 } 80073 } 80074 intStringLen := int(stringLen) 80075 if intStringLen < 0 { 80076 return ErrInvalidLengthTypes 80077 } 80078 postIndex := iNdEx + intStringLen 80079 if postIndex < 0 { 80080 return ErrInvalidLengthTypes 80081 } 80082 if postIndex > l { 80083 return io.ErrUnexpectedEOF 80084 } 80085 m.SuggestedReviewers = append(m.SuggestedReviewers, string(dAtA[iNdEx:postIndex])) 80086 iNdEx = postIndex 80087 case 6: 80088 if wireType != 2 { 80089 return fmt.Errorf("proto: wrong wireType = %d for field SearchAsRoles", wireType) 80090 } 80091 var stringLen uint64 80092 for shift := uint(0); ; shift += 7 { 80093 if shift >= 64 { 80094 return ErrIntOverflowTypes 80095 } 80096 if iNdEx >= l { 80097 return io.ErrUnexpectedEOF 80098 } 80099 b := dAtA[iNdEx] 80100 iNdEx++ 80101 stringLen |= uint64(b&0x7F) << shift 80102 if b < 0x80 { 80103 break 80104 } 80105 } 80106 intStringLen := int(stringLen) 80107 if intStringLen < 0 { 80108 return ErrInvalidLengthTypes 80109 } 80110 postIndex := iNdEx + intStringLen 80111 if postIndex < 0 { 80112 return ErrInvalidLengthTypes 80113 } 80114 if postIndex > l { 80115 return io.ErrUnexpectedEOF 80116 } 80117 m.SearchAsRoles = append(m.SearchAsRoles, string(dAtA[iNdEx:postIndex])) 80118 iNdEx = postIndex 80119 case 7: 80120 if wireType != 0 { 80121 return fmt.Errorf("proto: wrong wireType = %d for field MaxDuration", wireType) 80122 } 80123 m.MaxDuration = 0 80124 for shift := uint(0); ; shift += 7 { 80125 if shift >= 64 { 80126 return ErrIntOverflowTypes 80127 } 80128 if iNdEx >= l { 80129 return io.ErrUnexpectedEOF 80130 } 80131 b := dAtA[iNdEx] 80132 iNdEx++ 80133 m.MaxDuration |= Duration(b&0x7F) << shift 80134 if b < 0x80 { 80135 break 80136 } 80137 } 80138 default: 80139 iNdEx = preIndex 80140 skippy, err := skipTypes(dAtA[iNdEx:]) 80141 if err != nil { 80142 return err 80143 } 80144 if (skippy < 0) || (iNdEx+skippy) < 0 { 80145 return ErrInvalidLengthTypes 80146 } 80147 if (iNdEx + skippy) > l { 80148 return io.ErrUnexpectedEOF 80149 } 80150 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 80151 iNdEx += skippy 80152 } 80153 } 80154 80155 if iNdEx > l { 80156 return io.ErrUnexpectedEOF 80157 } 80158 return nil 80159 } 80160 func (m *AccessReviewConditions) Unmarshal(dAtA []byte) error { 80161 l := len(dAtA) 80162 iNdEx := 0 80163 for iNdEx < l { 80164 preIndex := iNdEx 80165 var wire uint64 80166 for shift := uint(0); ; shift += 7 { 80167 if shift >= 64 { 80168 return ErrIntOverflowTypes 80169 } 80170 if iNdEx >= l { 80171 return io.ErrUnexpectedEOF 80172 } 80173 b := dAtA[iNdEx] 80174 iNdEx++ 80175 wire |= uint64(b&0x7F) << shift 80176 if b < 0x80 { 80177 break 80178 } 80179 } 80180 fieldNum := int32(wire >> 3) 80181 wireType := int(wire & 0x7) 80182 if wireType == 4 { 80183 return fmt.Errorf("proto: AccessReviewConditions: wiretype end group for non-group") 80184 } 80185 if fieldNum <= 0 { 80186 return fmt.Errorf("proto: AccessReviewConditions: illegal tag %d (wire type %d)", fieldNum, wire) 80187 } 80188 switch fieldNum { 80189 case 1: 80190 if wireType != 2 { 80191 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 80192 } 80193 var stringLen uint64 80194 for shift := uint(0); ; shift += 7 { 80195 if shift >= 64 { 80196 return ErrIntOverflowTypes 80197 } 80198 if iNdEx >= l { 80199 return io.ErrUnexpectedEOF 80200 } 80201 b := dAtA[iNdEx] 80202 iNdEx++ 80203 stringLen |= uint64(b&0x7F) << shift 80204 if b < 0x80 { 80205 break 80206 } 80207 } 80208 intStringLen := int(stringLen) 80209 if intStringLen < 0 { 80210 return ErrInvalidLengthTypes 80211 } 80212 postIndex := iNdEx + intStringLen 80213 if postIndex < 0 { 80214 return ErrInvalidLengthTypes 80215 } 80216 if postIndex > l { 80217 return io.ErrUnexpectedEOF 80218 } 80219 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 80220 iNdEx = postIndex 80221 case 2: 80222 if wireType != 2 { 80223 return fmt.Errorf("proto: wrong wireType = %d for field ClaimsToRoles", wireType) 80224 } 80225 var msglen int 80226 for shift := uint(0); ; shift += 7 { 80227 if shift >= 64 { 80228 return ErrIntOverflowTypes 80229 } 80230 if iNdEx >= l { 80231 return io.ErrUnexpectedEOF 80232 } 80233 b := dAtA[iNdEx] 80234 iNdEx++ 80235 msglen |= int(b&0x7F) << shift 80236 if b < 0x80 { 80237 break 80238 } 80239 } 80240 if msglen < 0 { 80241 return ErrInvalidLengthTypes 80242 } 80243 postIndex := iNdEx + msglen 80244 if postIndex < 0 { 80245 return ErrInvalidLengthTypes 80246 } 80247 if postIndex > l { 80248 return io.ErrUnexpectedEOF 80249 } 80250 m.ClaimsToRoles = append(m.ClaimsToRoles, ClaimMapping{}) 80251 if err := m.ClaimsToRoles[len(m.ClaimsToRoles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 80252 return err 80253 } 80254 iNdEx = postIndex 80255 case 3: 80256 if wireType != 2 { 80257 return fmt.Errorf("proto: wrong wireType = %d for field Where", wireType) 80258 } 80259 var stringLen uint64 80260 for shift := uint(0); ; shift += 7 { 80261 if shift >= 64 { 80262 return ErrIntOverflowTypes 80263 } 80264 if iNdEx >= l { 80265 return io.ErrUnexpectedEOF 80266 } 80267 b := dAtA[iNdEx] 80268 iNdEx++ 80269 stringLen |= uint64(b&0x7F) << shift 80270 if b < 0x80 { 80271 break 80272 } 80273 } 80274 intStringLen := int(stringLen) 80275 if intStringLen < 0 { 80276 return ErrInvalidLengthTypes 80277 } 80278 postIndex := iNdEx + intStringLen 80279 if postIndex < 0 { 80280 return ErrInvalidLengthTypes 80281 } 80282 if postIndex > l { 80283 return io.ErrUnexpectedEOF 80284 } 80285 m.Where = string(dAtA[iNdEx:postIndex]) 80286 iNdEx = postIndex 80287 case 4: 80288 if wireType != 2 { 80289 return fmt.Errorf("proto: wrong wireType = %d for field PreviewAsRoles", wireType) 80290 } 80291 var stringLen uint64 80292 for shift := uint(0); ; shift += 7 { 80293 if shift >= 64 { 80294 return ErrIntOverflowTypes 80295 } 80296 if iNdEx >= l { 80297 return io.ErrUnexpectedEOF 80298 } 80299 b := dAtA[iNdEx] 80300 iNdEx++ 80301 stringLen |= uint64(b&0x7F) << shift 80302 if b < 0x80 { 80303 break 80304 } 80305 } 80306 intStringLen := int(stringLen) 80307 if intStringLen < 0 { 80308 return ErrInvalidLengthTypes 80309 } 80310 postIndex := iNdEx + intStringLen 80311 if postIndex < 0 { 80312 return ErrInvalidLengthTypes 80313 } 80314 if postIndex > l { 80315 return io.ErrUnexpectedEOF 80316 } 80317 m.PreviewAsRoles = append(m.PreviewAsRoles, string(dAtA[iNdEx:postIndex])) 80318 iNdEx = postIndex 80319 default: 80320 iNdEx = preIndex 80321 skippy, err := skipTypes(dAtA[iNdEx:]) 80322 if err != nil { 80323 return err 80324 } 80325 if (skippy < 0) || (iNdEx+skippy) < 0 { 80326 return ErrInvalidLengthTypes 80327 } 80328 if (iNdEx + skippy) > l { 80329 return io.ErrUnexpectedEOF 80330 } 80331 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 80332 iNdEx += skippy 80333 } 80334 } 80335 80336 if iNdEx > l { 80337 return io.ErrUnexpectedEOF 80338 } 80339 return nil 80340 } 80341 func (m *AccessRequestAllowedPromotion) Unmarshal(dAtA []byte) error { 80342 l := len(dAtA) 80343 iNdEx := 0 80344 for iNdEx < l { 80345 preIndex := iNdEx 80346 var wire uint64 80347 for shift := uint(0); ; shift += 7 { 80348 if shift >= 64 { 80349 return ErrIntOverflowTypes 80350 } 80351 if iNdEx >= l { 80352 return io.ErrUnexpectedEOF 80353 } 80354 b := dAtA[iNdEx] 80355 iNdEx++ 80356 wire |= uint64(b&0x7F) << shift 80357 if b < 0x80 { 80358 break 80359 } 80360 } 80361 fieldNum := int32(wire >> 3) 80362 wireType := int(wire & 0x7) 80363 if wireType == 4 { 80364 return fmt.Errorf("proto: AccessRequestAllowedPromotion: wiretype end group for non-group") 80365 } 80366 if fieldNum <= 0 { 80367 return fmt.Errorf("proto: AccessRequestAllowedPromotion: illegal tag %d (wire type %d)", fieldNum, wire) 80368 } 80369 switch fieldNum { 80370 case 1: 80371 if wireType != 2 { 80372 return fmt.Errorf("proto: wrong wireType = %d for field AccessListName", wireType) 80373 } 80374 var stringLen uint64 80375 for shift := uint(0); ; shift += 7 { 80376 if shift >= 64 { 80377 return ErrIntOverflowTypes 80378 } 80379 if iNdEx >= l { 80380 return io.ErrUnexpectedEOF 80381 } 80382 b := dAtA[iNdEx] 80383 iNdEx++ 80384 stringLen |= uint64(b&0x7F) << shift 80385 if b < 0x80 { 80386 break 80387 } 80388 } 80389 intStringLen := int(stringLen) 80390 if intStringLen < 0 { 80391 return ErrInvalidLengthTypes 80392 } 80393 postIndex := iNdEx + intStringLen 80394 if postIndex < 0 { 80395 return ErrInvalidLengthTypes 80396 } 80397 if postIndex > l { 80398 return io.ErrUnexpectedEOF 80399 } 80400 m.AccessListName = string(dAtA[iNdEx:postIndex]) 80401 iNdEx = postIndex 80402 default: 80403 iNdEx = preIndex 80404 skippy, err := skipTypes(dAtA[iNdEx:]) 80405 if err != nil { 80406 return err 80407 } 80408 if (skippy < 0) || (iNdEx+skippy) < 0 { 80409 return ErrInvalidLengthTypes 80410 } 80411 if (iNdEx + skippy) > l { 80412 return io.ErrUnexpectedEOF 80413 } 80414 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 80415 iNdEx += skippy 80416 } 80417 } 80418 80419 if iNdEx > l { 80420 return io.ErrUnexpectedEOF 80421 } 80422 return nil 80423 } 80424 func (m *AccessRequestAllowedPromotions) Unmarshal(dAtA []byte) error { 80425 l := len(dAtA) 80426 iNdEx := 0 80427 for iNdEx < l { 80428 preIndex := iNdEx 80429 var wire uint64 80430 for shift := uint(0); ; shift += 7 { 80431 if shift >= 64 { 80432 return ErrIntOverflowTypes 80433 } 80434 if iNdEx >= l { 80435 return io.ErrUnexpectedEOF 80436 } 80437 b := dAtA[iNdEx] 80438 iNdEx++ 80439 wire |= uint64(b&0x7F) << shift 80440 if b < 0x80 { 80441 break 80442 } 80443 } 80444 fieldNum := int32(wire >> 3) 80445 wireType := int(wire & 0x7) 80446 if wireType == 4 { 80447 return fmt.Errorf("proto: AccessRequestAllowedPromotions: wiretype end group for non-group") 80448 } 80449 if fieldNum <= 0 { 80450 return fmt.Errorf("proto: AccessRequestAllowedPromotions: illegal tag %d (wire type %d)", fieldNum, wire) 80451 } 80452 switch fieldNum { 80453 case 1: 80454 if wireType != 2 { 80455 return fmt.Errorf("proto: wrong wireType = %d for field Promotions", wireType) 80456 } 80457 var msglen int 80458 for shift := uint(0); ; shift += 7 { 80459 if shift >= 64 { 80460 return ErrIntOverflowTypes 80461 } 80462 if iNdEx >= l { 80463 return io.ErrUnexpectedEOF 80464 } 80465 b := dAtA[iNdEx] 80466 iNdEx++ 80467 msglen |= int(b&0x7F) << shift 80468 if b < 0x80 { 80469 break 80470 } 80471 } 80472 if msglen < 0 { 80473 return ErrInvalidLengthTypes 80474 } 80475 postIndex := iNdEx + msglen 80476 if postIndex < 0 { 80477 return ErrInvalidLengthTypes 80478 } 80479 if postIndex > l { 80480 return io.ErrUnexpectedEOF 80481 } 80482 m.Promotions = append(m.Promotions, &AccessRequestAllowedPromotion{}) 80483 if err := m.Promotions[len(m.Promotions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 80484 return err 80485 } 80486 iNdEx = postIndex 80487 default: 80488 iNdEx = preIndex 80489 skippy, err := skipTypes(dAtA[iNdEx:]) 80490 if err != nil { 80491 return err 80492 } 80493 if (skippy < 0) || (iNdEx+skippy) < 0 { 80494 return ErrInvalidLengthTypes 80495 } 80496 if (iNdEx + skippy) > l { 80497 return io.ErrUnexpectedEOF 80498 } 80499 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 80500 iNdEx += skippy 80501 } 80502 } 80503 80504 if iNdEx > l { 80505 return io.ErrUnexpectedEOF 80506 } 80507 return nil 80508 } 80509 func (m *ClaimMapping) Unmarshal(dAtA []byte) error { 80510 l := len(dAtA) 80511 iNdEx := 0 80512 for iNdEx < l { 80513 preIndex := iNdEx 80514 var wire uint64 80515 for shift := uint(0); ; shift += 7 { 80516 if shift >= 64 { 80517 return ErrIntOverflowTypes 80518 } 80519 if iNdEx >= l { 80520 return io.ErrUnexpectedEOF 80521 } 80522 b := dAtA[iNdEx] 80523 iNdEx++ 80524 wire |= uint64(b&0x7F) << shift 80525 if b < 0x80 { 80526 break 80527 } 80528 } 80529 fieldNum := int32(wire >> 3) 80530 wireType := int(wire & 0x7) 80531 if wireType == 4 { 80532 return fmt.Errorf("proto: ClaimMapping: wiretype end group for non-group") 80533 } 80534 if fieldNum <= 0 { 80535 return fmt.Errorf("proto: ClaimMapping: illegal tag %d (wire type %d)", fieldNum, wire) 80536 } 80537 switch fieldNum { 80538 case 1: 80539 if wireType != 2 { 80540 return fmt.Errorf("proto: wrong wireType = %d for field Claim", wireType) 80541 } 80542 var stringLen uint64 80543 for shift := uint(0); ; shift += 7 { 80544 if shift >= 64 { 80545 return ErrIntOverflowTypes 80546 } 80547 if iNdEx >= l { 80548 return io.ErrUnexpectedEOF 80549 } 80550 b := dAtA[iNdEx] 80551 iNdEx++ 80552 stringLen |= uint64(b&0x7F) << shift 80553 if b < 0x80 { 80554 break 80555 } 80556 } 80557 intStringLen := int(stringLen) 80558 if intStringLen < 0 { 80559 return ErrInvalidLengthTypes 80560 } 80561 postIndex := iNdEx + intStringLen 80562 if postIndex < 0 { 80563 return ErrInvalidLengthTypes 80564 } 80565 if postIndex > l { 80566 return io.ErrUnexpectedEOF 80567 } 80568 m.Claim = string(dAtA[iNdEx:postIndex]) 80569 iNdEx = postIndex 80570 case 2: 80571 if wireType != 2 { 80572 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 80573 } 80574 var stringLen uint64 80575 for shift := uint(0); ; shift += 7 { 80576 if shift >= 64 { 80577 return ErrIntOverflowTypes 80578 } 80579 if iNdEx >= l { 80580 return io.ErrUnexpectedEOF 80581 } 80582 b := dAtA[iNdEx] 80583 iNdEx++ 80584 stringLen |= uint64(b&0x7F) << shift 80585 if b < 0x80 { 80586 break 80587 } 80588 } 80589 intStringLen := int(stringLen) 80590 if intStringLen < 0 { 80591 return ErrInvalidLengthTypes 80592 } 80593 postIndex := iNdEx + intStringLen 80594 if postIndex < 0 { 80595 return ErrInvalidLengthTypes 80596 } 80597 if postIndex > l { 80598 return io.ErrUnexpectedEOF 80599 } 80600 m.Value = string(dAtA[iNdEx:postIndex]) 80601 iNdEx = postIndex 80602 case 3: 80603 if wireType != 2 { 80604 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 80605 } 80606 var stringLen uint64 80607 for shift := uint(0); ; shift += 7 { 80608 if shift >= 64 { 80609 return ErrIntOverflowTypes 80610 } 80611 if iNdEx >= l { 80612 return io.ErrUnexpectedEOF 80613 } 80614 b := dAtA[iNdEx] 80615 iNdEx++ 80616 stringLen |= uint64(b&0x7F) << shift 80617 if b < 0x80 { 80618 break 80619 } 80620 } 80621 intStringLen := int(stringLen) 80622 if intStringLen < 0 { 80623 return ErrInvalidLengthTypes 80624 } 80625 postIndex := iNdEx + intStringLen 80626 if postIndex < 0 { 80627 return ErrInvalidLengthTypes 80628 } 80629 if postIndex > l { 80630 return io.ErrUnexpectedEOF 80631 } 80632 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 80633 iNdEx = postIndex 80634 default: 80635 iNdEx = preIndex 80636 skippy, err := skipTypes(dAtA[iNdEx:]) 80637 if err != nil { 80638 return err 80639 } 80640 if (skippy < 0) || (iNdEx+skippy) < 0 { 80641 return ErrInvalidLengthTypes 80642 } 80643 if (iNdEx + skippy) > l { 80644 return io.ErrUnexpectedEOF 80645 } 80646 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 80647 iNdEx += skippy 80648 } 80649 } 80650 80651 if iNdEx > l { 80652 return io.ErrUnexpectedEOF 80653 } 80654 return nil 80655 } 80656 func (m *TraitMapping) Unmarshal(dAtA []byte) error { 80657 l := len(dAtA) 80658 iNdEx := 0 80659 for iNdEx < l { 80660 preIndex := iNdEx 80661 var wire uint64 80662 for shift := uint(0); ; shift += 7 { 80663 if shift >= 64 { 80664 return ErrIntOverflowTypes 80665 } 80666 if iNdEx >= l { 80667 return io.ErrUnexpectedEOF 80668 } 80669 b := dAtA[iNdEx] 80670 iNdEx++ 80671 wire |= uint64(b&0x7F) << shift 80672 if b < 0x80 { 80673 break 80674 } 80675 } 80676 fieldNum := int32(wire >> 3) 80677 wireType := int(wire & 0x7) 80678 if wireType == 4 { 80679 return fmt.Errorf("proto: TraitMapping: wiretype end group for non-group") 80680 } 80681 if fieldNum <= 0 { 80682 return fmt.Errorf("proto: TraitMapping: illegal tag %d (wire type %d)", fieldNum, wire) 80683 } 80684 switch fieldNum { 80685 case 1: 80686 if wireType != 2 { 80687 return fmt.Errorf("proto: wrong wireType = %d for field Trait", wireType) 80688 } 80689 var stringLen uint64 80690 for shift := uint(0); ; shift += 7 { 80691 if shift >= 64 { 80692 return ErrIntOverflowTypes 80693 } 80694 if iNdEx >= l { 80695 return io.ErrUnexpectedEOF 80696 } 80697 b := dAtA[iNdEx] 80698 iNdEx++ 80699 stringLen |= uint64(b&0x7F) << shift 80700 if b < 0x80 { 80701 break 80702 } 80703 } 80704 intStringLen := int(stringLen) 80705 if intStringLen < 0 { 80706 return ErrInvalidLengthTypes 80707 } 80708 postIndex := iNdEx + intStringLen 80709 if postIndex < 0 { 80710 return ErrInvalidLengthTypes 80711 } 80712 if postIndex > l { 80713 return io.ErrUnexpectedEOF 80714 } 80715 m.Trait = string(dAtA[iNdEx:postIndex]) 80716 iNdEx = postIndex 80717 case 2: 80718 if wireType != 2 { 80719 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 80720 } 80721 var stringLen uint64 80722 for shift := uint(0); ; shift += 7 { 80723 if shift >= 64 { 80724 return ErrIntOverflowTypes 80725 } 80726 if iNdEx >= l { 80727 return io.ErrUnexpectedEOF 80728 } 80729 b := dAtA[iNdEx] 80730 iNdEx++ 80731 stringLen |= uint64(b&0x7F) << shift 80732 if b < 0x80 { 80733 break 80734 } 80735 } 80736 intStringLen := int(stringLen) 80737 if intStringLen < 0 { 80738 return ErrInvalidLengthTypes 80739 } 80740 postIndex := iNdEx + intStringLen 80741 if postIndex < 0 { 80742 return ErrInvalidLengthTypes 80743 } 80744 if postIndex > l { 80745 return io.ErrUnexpectedEOF 80746 } 80747 m.Value = string(dAtA[iNdEx:postIndex]) 80748 iNdEx = postIndex 80749 case 3: 80750 if wireType != 2 { 80751 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 80752 } 80753 var stringLen uint64 80754 for shift := uint(0); ; shift += 7 { 80755 if shift >= 64 { 80756 return ErrIntOverflowTypes 80757 } 80758 if iNdEx >= l { 80759 return io.ErrUnexpectedEOF 80760 } 80761 b := dAtA[iNdEx] 80762 iNdEx++ 80763 stringLen |= uint64(b&0x7F) << shift 80764 if b < 0x80 { 80765 break 80766 } 80767 } 80768 intStringLen := int(stringLen) 80769 if intStringLen < 0 { 80770 return ErrInvalidLengthTypes 80771 } 80772 postIndex := iNdEx + intStringLen 80773 if postIndex < 0 { 80774 return ErrInvalidLengthTypes 80775 } 80776 if postIndex > l { 80777 return io.ErrUnexpectedEOF 80778 } 80779 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 80780 iNdEx = postIndex 80781 default: 80782 iNdEx = preIndex 80783 skippy, err := skipTypes(dAtA[iNdEx:]) 80784 if err != nil { 80785 return err 80786 } 80787 if (skippy < 0) || (iNdEx+skippy) < 0 { 80788 return ErrInvalidLengthTypes 80789 } 80790 if (iNdEx + skippy) > l { 80791 return io.ErrUnexpectedEOF 80792 } 80793 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 80794 iNdEx += skippy 80795 } 80796 } 80797 80798 if iNdEx > l { 80799 return io.ErrUnexpectedEOF 80800 } 80801 return nil 80802 } 80803 func (m *Rule) Unmarshal(dAtA []byte) error { 80804 l := len(dAtA) 80805 iNdEx := 0 80806 for iNdEx < l { 80807 preIndex := iNdEx 80808 var wire uint64 80809 for shift := uint(0); ; shift += 7 { 80810 if shift >= 64 { 80811 return ErrIntOverflowTypes 80812 } 80813 if iNdEx >= l { 80814 return io.ErrUnexpectedEOF 80815 } 80816 b := dAtA[iNdEx] 80817 iNdEx++ 80818 wire |= uint64(b&0x7F) << shift 80819 if b < 0x80 { 80820 break 80821 } 80822 } 80823 fieldNum := int32(wire >> 3) 80824 wireType := int(wire & 0x7) 80825 if wireType == 4 { 80826 return fmt.Errorf("proto: Rule: wiretype end group for non-group") 80827 } 80828 if fieldNum <= 0 { 80829 return fmt.Errorf("proto: Rule: illegal tag %d (wire type %d)", fieldNum, wire) 80830 } 80831 switch fieldNum { 80832 case 1: 80833 if wireType != 2 { 80834 return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType) 80835 } 80836 var stringLen uint64 80837 for shift := uint(0); ; shift += 7 { 80838 if shift >= 64 { 80839 return ErrIntOverflowTypes 80840 } 80841 if iNdEx >= l { 80842 return io.ErrUnexpectedEOF 80843 } 80844 b := dAtA[iNdEx] 80845 iNdEx++ 80846 stringLen |= uint64(b&0x7F) << shift 80847 if b < 0x80 { 80848 break 80849 } 80850 } 80851 intStringLen := int(stringLen) 80852 if intStringLen < 0 { 80853 return ErrInvalidLengthTypes 80854 } 80855 postIndex := iNdEx + intStringLen 80856 if postIndex < 0 { 80857 return ErrInvalidLengthTypes 80858 } 80859 if postIndex > l { 80860 return io.ErrUnexpectedEOF 80861 } 80862 m.Resources = append(m.Resources, string(dAtA[iNdEx:postIndex])) 80863 iNdEx = postIndex 80864 case 2: 80865 if wireType != 2 { 80866 return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType) 80867 } 80868 var stringLen uint64 80869 for shift := uint(0); ; shift += 7 { 80870 if shift >= 64 { 80871 return ErrIntOverflowTypes 80872 } 80873 if iNdEx >= l { 80874 return io.ErrUnexpectedEOF 80875 } 80876 b := dAtA[iNdEx] 80877 iNdEx++ 80878 stringLen |= uint64(b&0x7F) << shift 80879 if b < 0x80 { 80880 break 80881 } 80882 } 80883 intStringLen := int(stringLen) 80884 if intStringLen < 0 { 80885 return ErrInvalidLengthTypes 80886 } 80887 postIndex := iNdEx + intStringLen 80888 if postIndex < 0 { 80889 return ErrInvalidLengthTypes 80890 } 80891 if postIndex > l { 80892 return io.ErrUnexpectedEOF 80893 } 80894 m.Verbs = append(m.Verbs, string(dAtA[iNdEx:postIndex])) 80895 iNdEx = postIndex 80896 case 3: 80897 if wireType != 2 { 80898 return fmt.Errorf("proto: wrong wireType = %d for field Where", wireType) 80899 } 80900 var stringLen uint64 80901 for shift := uint(0); ; shift += 7 { 80902 if shift >= 64 { 80903 return ErrIntOverflowTypes 80904 } 80905 if iNdEx >= l { 80906 return io.ErrUnexpectedEOF 80907 } 80908 b := dAtA[iNdEx] 80909 iNdEx++ 80910 stringLen |= uint64(b&0x7F) << shift 80911 if b < 0x80 { 80912 break 80913 } 80914 } 80915 intStringLen := int(stringLen) 80916 if intStringLen < 0 { 80917 return ErrInvalidLengthTypes 80918 } 80919 postIndex := iNdEx + intStringLen 80920 if postIndex < 0 { 80921 return ErrInvalidLengthTypes 80922 } 80923 if postIndex > l { 80924 return io.ErrUnexpectedEOF 80925 } 80926 m.Where = string(dAtA[iNdEx:postIndex]) 80927 iNdEx = postIndex 80928 case 4: 80929 if wireType != 2 { 80930 return fmt.Errorf("proto: wrong wireType = %d for field Actions", wireType) 80931 } 80932 var stringLen uint64 80933 for shift := uint(0); ; shift += 7 { 80934 if shift >= 64 { 80935 return ErrIntOverflowTypes 80936 } 80937 if iNdEx >= l { 80938 return io.ErrUnexpectedEOF 80939 } 80940 b := dAtA[iNdEx] 80941 iNdEx++ 80942 stringLen |= uint64(b&0x7F) << shift 80943 if b < 0x80 { 80944 break 80945 } 80946 } 80947 intStringLen := int(stringLen) 80948 if intStringLen < 0 { 80949 return ErrInvalidLengthTypes 80950 } 80951 postIndex := iNdEx + intStringLen 80952 if postIndex < 0 { 80953 return ErrInvalidLengthTypes 80954 } 80955 if postIndex > l { 80956 return io.ErrUnexpectedEOF 80957 } 80958 m.Actions = append(m.Actions, string(dAtA[iNdEx:postIndex])) 80959 iNdEx = postIndex 80960 default: 80961 iNdEx = preIndex 80962 skippy, err := skipTypes(dAtA[iNdEx:]) 80963 if err != nil { 80964 return err 80965 } 80966 if (skippy < 0) || (iNdEx+skippy) < 0 { 80967 return ErrInvalidLengthTypes 80968 } 80969 if (iNdEx + skippy) > l { 80970 return io.ErrUnexpectedEOF 80971 } 80972 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 80973 iNdEx += skippy 80974 } 80975 } 80976 80977 if iNdEx > l { 80978 return io.ErrUnexpectedEOF 80979 } 80980 return nil 80981 } 80982 func (m *ImpersonateConditions) Unmarshal(dAtA []byte) error { 80983 l := len(dAtA) 80984 iNdEx := 0 80985 for iNdEx < l { 80986 preIndex := iNdEx 80987 var wire uint64 80988 for shift := uint(0); ; shift += 7 { 80989 if shift >= 64 { 80990 return ErrIntOverflowTypes 80991 } 80992 if iNdEx >= l { 80993 return io.ErrUnexpectedEOF 80994 } 80995 b := dAtA[iNdEx] 80996 iNdEx++ 80997 wire |= uint64(b&0x7F) << shift 80998 if b < 0x80 { 80999 break 81000 } 81001 } 81002 fieldNum := int32(wire >> 3) 81003 wireType := int(wire & 0x7) 81004 if wireType == 4 { 81005 return fmt.Errorf("proto: ImpersonateConditions: wiretype end group for non-group") 81006 } 81007 if fieldNum <= 0 { 81008 return fmt.Errorf("proto: ImpersonateConditions: illegal tag %d (wire type %d)", fieldNum, wire) 81009 } 81010 switch fieldNum { 81011 case 1: 81012 if wireType != 2 { 81013 return fmt.Errorf("proto: wrong wireType = %d for field Users", wireType) 81014 } 81015 var stringLen uint64 81016 for shift := uint(0); ; shift += 7 { 81017 if shift >= 64 { 81018 return ErrIntOverflowTypes 81019 } 81020 if iNdEx >= l { 81021 return io.ErrUnexpectedEOF 81022 } 81023 b := dAtA[iNdEx] 81024 iNdEx++ 81025 stringLen |= uint64(b&0x7F) << shift 81026 if b < 0x80 { 81027 break 81028 } 81029 } 81030 intStringLen := int(stringLen) 81031 if intStringLen < 0 { 81032 return ErrInvalidLengthTypes 81033 } 81034 postIndex := iNdEx + intStringLen 81035 if postIndex < 0 { 81036 return ErrInvalidLengthTypes 81037 } 81038 if postIndex > l { 81039 return io.ErrUnexpectedEOF 81040 } 81041 m.Users = append(m.Users, string(dAtA[iNdEx:postIndex])) 81042 iNdEx = postIndex 81043 case 2: 81044 if wireType != 2 { 81045 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 81046 } 81047 var stringLen uint64 81048 for shift := uint(0); ; shift += 7 { 81049 if shift >= 64 { 81050 return ErrIntOverflowTypes 81051 } 81052 if iNdEx >= l { 81053 return io.ErrUnexpectedEOF 81054 } 81055 b := dAtA[iNdEx] 81056 iNdEx++ 81057 stringLen |= uint64(b&0x7F) << shift 81058 if b < 0x80 { 81059 break 81060 } 81061 } 81062 intStringLen := int(stringLen) 81063 if intStringLen < 0 { 81064 return ErrInvalidLengthTypes 81065 } 81066 postIndex := iNdEx + intStringLen 81067 if postIndex < 0 { 81068 return ErrInvalidLengthTypes 81069 } 81070 if postIndex > l { 81071 return io.ErrUnexpectedEOF 81072 } 81073 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 81074 iNdEx = postIndex 81075 case 3: 81076 if wireType != 2 { 81077 return fmt.Errorf("proto: wrong wireType = %d for field Where", wireType) 81078 } 81079 var stringLen uint64 81080 for shift := uint(0); ; shift += 7 { 81081 if shift >= 64 { 81082 return ErrIntOverflowTypes 81083 } 81084 if iNdEx >= l { 81085 return io.ErrUnexpectedEOF 81086 } 81087 b := dAtA[iNdEx] 81088 iNdEx++ 81089 stringLen |= uint64(b&0x7F) << shift 81090 if b < 0x80 { 81091 break 81092 } 81093 } 81094 intStringLen := int(stringLen) 81095 if intStringLen < 0 { 81096 return ErrInvalidLengthTypes 81097 } 81098 postIndex := iNdEx + intStringLen 81099 if postIndex < 0 { 81100 return ErrInvalidLengthTypes 81101 } 81102 if postIndex > l { 81103 return io.ErrUnexpectedEOF 81104 } 81105 m.Where = string(dAtA[iNdEx:postIndex]) 81106 iNdEx = postIndex 81107 default: 81108 iNdEx = preIndex 81109 skippy, err := skipTypes(dAtA[iNdEx:]) 81110 if err != nil { 81111 return err 81112 } 81113 if (skippy < 0) || (iNdEx+skippy) < 0 { 81114 return ErrInvalidLengthTypes 81115 } 81116 if (iNdEx + skippy) > l { 81117 return io.ErrUnexpectedEOF 81118 } 81119 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 81120 iNdEx += skippy 81121 } 81122 } 81123 81124 if iNdEx > l { 81125 return io.ErrUnexpectedEOF 81126 } 81127 return nil 81128 } 81129 func (m *BoolValue) Unmarshal(dAtA []byte) error { 81130 l := len(dAtA) 81131 iNdEx := 0 81132 for iNdEx < l { 81133 preIndex := iNdEx 81134 var wire uint64 81135 for shift := uint(0); ; shift += 7 { 81136 if shift >= 64 { 81137 return ErrIntOverflowTypes 81138 } 81139 if iNdEx >= l { 81140 return io.ErrUnexpectedEOF 81141 } 81142 b := dAtA[iNdEx] 81143 iNdEx++ 81144 wire |= uint64(b&0x7F) << shift 81145 if b < 0x80 { 81146 break 81147 } 81148 } 81149 fieldNum := int32(wire >> 3) 81150 wireType := int(wire & 0x7) 81151 if wireType == 4 { 81152 return fmt.Errorf("proto: BoolValue: wiretype end group for non-group") 81153 } 81154 if fieldNum <= 0 { 81155 return fmt.Errorf("proto: BoolValue: illegal tag %d (wire type %d)", fieldNum, wire) 81156 } 81157 switch fieldNum { 81158 case 1: 81159 if wireType != 0 { 81160 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 81161 } 81162 var v int 81163 for shift := uint(0); ; shift += 7 { 81164 if shift >= 64 { 81165 return ErrIntOverflowTypes 81166 } 81167 if iNdEx >= l { 81168 return io.ErrUnexpectedEOF 81169 } 81170 b := dAtA[iNdEx] 81171 iNdEx++ 81172 v |= int(b&0x7F) << shift 81173 if b < 0x80 { 81174 break 81175 } 81176 } 81177 m.Value = bool(v != 0) 81178 default: 81179 iNdEx = preIndex 81180 skippy, err := skipTypes(dAtA[iNdEx:]) 81181 if err != nil { 81182 return err 81183 } 81184 if (skippy < 0) || (iNdEx+skippy) < 0 { 81185 return ErrInvalidLengthTypes 81186 } 81187 if (iNdEx + skippy) > l { 81188 return io.ErrUnexpectedEOF 81189 } 81190 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 81191 iNdEx += skippy 81192 } 81193 } 81194 81195 if iNdEx > l { 81196 return io.ErrUnexpectedEOF 81197 } 81198 return nil 81199 } 81200 func (m *UserFilter) Unmarshal(dAtA []byte) error { 81201 l := len(dAtA) 81202 iNdEx := 0 81203 for iNdEx < l { 81204 preIndex := iNdEx 81205 var wire uint64 81206 for shift := uint(0); ; shift += 7 { 81207 if shift >= 64 { 81208 return ErrIntOverflowTypes 81209 } 81210 if iNdEx >= l { 81211 return io.ErrUnexpectedEOF 81212 } 81213 b := dAtA[iNdEx] 81214 iNdEx++ 81215 wire |= uint64(b&0x7F) << shift 81216 if b < 0x80 { 81217 break 81218 } 81219 } 81220 fieldNum := int32(wire >> 3) 81221 wireType := int(wire & 0x7) 81222 if wireType == 4 { 81223 return fmt.Errorf("proto: UserFilter: wiretype end group for non-group") 81224 } 81225 if fieldNum <= 0 { 81226 return fmt.Errorf("proto: UserFilter: illegal tag %d (wire type %d)", fieldNum, wire) 81227 } 81228 switch fieldNum { 81229 case 1: 81230 if wireType != 2 { 81231 return fmt.Errorf("proto: wrong wireType = %d for field SearchKeywords", wireType) 81232 } 81233 var stringLen uint64 81234 for shift := uint(0); ; shift += 7 { 81235 if shift >= 64 { 81236 return ErrIntOverflowTypes 81237 } 81238 if iNdEx >= l { 81239 return io.ErrUnexpectedEOF 81240 } 81241 b := dAtA[iNdEx] 81242 iNdEx++ 81243 stringLen |= uint64(b&0x7F) << shift 81244 if b < 0x80 { 81245 break 81246 } 81247 } 81248 intStringLen := int(stringLen) 81249 if intStringLen < 0 { 81250 return ErrInvalidLengthTypes 81251 } 81252 postIndex := iNdEx + intStringLen 81253 if postIndex < 0 { 81254 return ErrInvalidLengthTypes 81255 } 81256 if postIndex > l { 81257 return io.ErrUnexpectedEOF 81258 } 81259 m.SearchKeywords = append(m.SearchKeywords, string(dAtA[iNdEx:postIndex])) 81260 iNdEx = postIndex 81261 default: 81262 iNdEx = preIndex 81263 skippy, err := skipTypes(dAtA[iNdEx:]) 81264 if err != nil { 81265 return err 81266 } 81267 if (skippy < 0) || (iNdEx+skippy) < 0 { 81268 return ErrInvalidLengthTypes 81269 } 81270 if (iNdEx + skippy) > l { 81271 return io.ErrUnexpectedEOF 81272 } 81273 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 81274 iNdEx += skippy 81275 } 81276 } 81277 81278 if iNdEx > l { 81279 return io.ErrUnexpectedEOF 81280 } 81281 return nil 81282 } 81283 func (m *UserV2) Unmarshal(dAtA []byte) error { 81284 l := len(dAtA) 81285 iNdEx := 0 81286 for iNdEx < l { 81287 preIndex := iNdEx 81288 var wire uint64 81289 for shift := uint(0); ; shift += 7 { 81290 if shift >= 64 { 81291 return ErrIntOverflowTypes 81292 } 81293 if iNdEx >= l { 81294 return io.ErrUnexpectedEOF 81295 } 81296 b := dAtA[iNdEx] 81297 iNdEx++ 81298 wire |= uint64(b&0x7F) << shift 81299 if b < 0x80 { 81300 break 81301 } 81302 } 81303 fieldNum := int32(wire >> 3) 81304 wireType := int(wire & 0x7) 81305 if wireType == 4 { 81306 return fmt.Errorf("proto: UserV2: wiretype end group for non-group") 81307 } 81308 if fieldNum <= 0 { 81309 return fmt.Errorf("proto: UserV2: illegal tag %d (wire type %d)", fieldNum, wire) 81310 } 81311 switch fieldNum { 81312 case 1: 81313 if wireType != 2 { 81314 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 81315 } 81316 var stringLen uint64 81317 for shift := uint(0); ; shift += 7 { 81318 if shift >= 64 { 81319 return ErrIntOverflowTypes 81320 } 81321 if iNdEx >= l { 81322 return io.ErrUnexpectedEOF 81323 } 81324 b := dAtA[iNdEx] 81325 iNdEx++ 81326 stringLen |= uint64(b&0x7F) << shift 81327 if b < 0x80 { 81328 break 81329 } 81330 } 81331 intStringLen := int(stringLen) 81332 if intStringLen < 0 { 81333 return ErrInvalidLengthTypes 81334 } 81335 postIndex := iNdEx + intStringLen 81336 if postIndex < 0 { 81337 return ErrInvalidLengthTypes 81338 } 81339 if postIndex > l { 81340 return io.ErrUnexpectedEOF 81341 } 81342 m.Kind = string(dAtA[iNdEx:postIndex]) 81343 iNdEx = postIndex 81344 case 2: 81345 if wireType != 2 { 81346 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 81347 } 81348 var stringLen uint64 81349 for shift := uint(0); ; shift += 7 { 81350 if shift >= 64 { 81351 return ErrIntOverflowTypes 81352 } 81353 if iNdEx >= l { 81354 return io.ErrUnexpectedEOF 81355 } 81356 b := dAtA[iNdEx] 81357 iNdEx++ 81358 stringLen |= uint64(b&0x7F) << shift 81359 if b < 0x80 { 81360 break 81361 } 81362 } 81363 intStringLen := int(stringLen) 81364 if intStringLen < 0 { 81365 return ErrInvalidLengthTypes 81366 } 81367 postIndex := iNdEx + intStringLen 81368 if postIndex < 0 { 81369 return ErrInvalidLengthTypes 81370 } 81371 if postIndex > l { 81372 return io.ErrUnexpectedEOF 81373 } 81374 m.SubKind = string(dAtA[iNdEx:postIndex]) 81375 iNdEx = postIndex 81376 case 3: 81377 if wireType != 2 { 81378 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 81379 } 81380 var stringLen uint64 81381 for shift := uint(0); ; shift += 7 { 81382 if shift >= 64 { 81383 return ErrIntOverflowTypes 81384 } 81385 if iNdEx >= l { 81386 return io.ErrUnexpectedEOF 81387 } 81388 b := dAtA[iNdEx] 81389 iNdEx++ 81390 stringLen |= uint64(b&0x7F) << shift 81391 if b < 0x80 { 81392 break 81393 } 81394 } 81395 intStringLen := int(stringLen) 81396 if intStringLen < 0 { 81397 return ErrInvalidLengthTypes 81398 } 81399 postIndex := iNdEx + intStringLen 81400 if postIndex < 0 { 81401 return ErrInvalidLengthTypes 81402 } 81403 if postIndex > l { 81404 return io.ErrUnexpectedEOF 81405 } 81406 m.Version = string(dAtA[iNdEx:postIndex]) 81407 iNdEx = postIndex 81408 case 4: 81409 if wireType != 2 { 81410 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 81411 } 81412 var msglen int 81413 for shift := uint(0); ; shift += 7 { 81414 if shift >= 64 { 81415 return ErrIntOverflowTypes 81416 } 81417 if iNdEx >= l { 81418 return io.ErrUnexpectedEOF 81419 } 81420 b := dAtA[iNdEx] 81421 iNdEx++ 81422 msglen |= int(b&0x7F) << shift 81423 if b < 0x80 { 81424 break 81425 } 81426 } 81427 if msglen < 0 { 81428 return ErrInvalidLengthTypes 81429 } 81430 postIndex := iNdEx + msglen 81431 if postIndex < 0 { 81432 return ErrInvalidLengthTypes 81433 } 81434 if postIndex > l { 81435 return io.ErrUnexpectedEOF 81436 } 81437 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 81438 return err 81439 } 81440 iNdEx = postIndex 81441 case 5: 81442 if wireType != 2 { 81443 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 81444 } 81445 var msglen int 81446 for shift := uint(0); ; shift += 7 { 81447 if shift >= 64 { 81448 return ErrIntOverflowTypes 81449 } 81450 if iNdEx >= l { 81451 return io.ErrUnexpectedEOF 81452 } 81453 b := dAtA[iNdEx] 81454 iNdEx++ 81455 msglen |= int(b&0x7F) << shift 81456 if b < 0x80 { 81457 break 81458 } 81459 } 81460 if msglen < 0 { 81461 return ErrInvalidLengthTypes 81462 } 81463 postIndex := iNdEx + msglen 81464 if postIndex < 0 { 81465 return ErrInvalidLengthTypes 81466 } 81467 if postIndex > l { 81468 return io.ErrUnexpectedEOF 81469 } 81470 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 81471 return err 81472 } 81473 iNdEx = postIndex 81474 case 6: 81475 if wireType != 2 { 81476 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) 81477 } 81478 var msglen int 81479 for shift := uint(0); ; shift += 7 { 81480 if shift >= 64 { 81481 return ErrIntOverflowTypes 81482 } 81483 if iNdEx >= l { 81484 return io.ErrUnexpectedEOF 81485 } 81486 b := dAtA[iNdEx] 81487 iNdEx++ 81488 msglen |= int(b&0x7F) << shift 81489 if b < 0x80 { 81490 break 81491 } 81492 } 81493 if msglen < 0 { 81494 return ErrInvalidLengthTypes 81495 } 81496 postIndex := iNdEx + msglen 81497 if postIndex < 0 { 81498 return ErrInvalidLengthTypes 81499 } 81500 if postIndex > l { 81501 return io.ErrUnexpectedEOF 81502 } 81503 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 81504 return err 81505 } 81506 iNdEx = postIndex 81507 default: 81508 iNdEx = preIndex 81509 skippy, err := skipTypes(dAtA[iNdEx:]) 81510 if err != nil { 81511 return err 81512 } 81513 if (skippy < 0) || (iNdEx+skippy) < 0 { 81514 return ErrInvalidLengthTypes 81515 } 81516 if (iNdEx + skippy) > l { 81517 return io.ErrUnexpectedEOF 81518 } 81519 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 81520 iNdEx += skippy 81521 } 81522 } 81523 81524 if iNdEx > l { 81525 return io.ErrUnexpectedEOF 81526 } 81527 return nil 81528 } 81529 func (m *UserStatusV2) Unmarshal(dAtA []byte) error { 81530 l := len(dAtA) 81531 iNdEx := 0 81532 for iNdEx < l { 81533 preIndex := iNdEx 81534 var wire uint64 81535 for shift := uint(0); ; shift += 7 { 81536 if shift >= 64 { 81537 return ErrIntOverflowTypes 81538 } 81539 if iNdEx >= l { 81540 return io.ErrUnexpectedEOF 81541 } 81542 b := dAtA[iNdEx] 81543 iNdEx++ 81544 wire |= uint64(b&0x7F) << shift 81545 if b < 0x80 { 81546 break 81547 } 81548 } 81549 fieldNum := int32(wire >> 3) 81550 wireType := int(wire & 0x7) 81551 if wireType == 4 { 81552 return fmt.Errorf("proto: UserStatusV2: wiretype end group for non-group") 81553 } 81554 if fieldNum <= 0 { 81555 return fmt.Errorf("proto: UserStatusV2: illegal tag %d (wire type %d)", fieldNum, wire) 81556 } 81557 switch fieldNum { 81558 case 1: 81559 if wireType != 0 { 81560 return fmt.Errorf("proto: wrong wireType = %d for field PasswordState", wireType) 81561 } 81562 m.PasswordState = 0 81563 for shift := uint(0); ; shift += 7 { 81564 if shift >= 64 { 81565 return ErrIntOverflowTypes 81566 } 81567 if iNdEx >= l { 81568 return io.ErrUnexpectedEOF 81569 } 81570 b := dAtA[iNdEx] 81571 iNdEx++ 81572 m.PasswordState |= PasswordState(b&0x7F) << shift 81573 if b < 0x80 { 81574 break 81575 } 81576 } 81577 default: 81578 iNdEx = preIndex 81579 skippy, err := skipTypes(dAtA[iNdEx:]) 81580 if err != nil { 81581 return err 81582 } 81583 if (skippy < 0) || (iNdEx+skippy) < 0 { 81584 return ErrInvalidLengthTypes 81585 } 81586 if (iNdEx + skippy) > l { 81587 return io.ErrUnexpectedEOF 81588 } 81589 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 81590 iNdEx += skippy 81591 } 81592 } 81593 81594 if iNdEx > l { 81595 return io.ErrUnexpectedEOF 81596 } 81597 return nil 81598 } 81599 func (m *UserSpecV2) Unmarshal(dAtA []byte) error { 81600 l := len(dAtA) 81601 iNdEx := 0 81602 for iNdEx < l { 81603 preIndex := iNdEx 81604 var wire uint64 81605 for shift := uint(0); ; shift += 7 { 81606 if shift >= 64 { 81607 return ErrIntOverflowTypes 81608 } 81609 if iNdEx >= l { 81610 return io.ErrUnexpectedEOF 81611 } 81612 b := dAtA[iNdEx] 81613 iNdEx++ 81614 wire |= uint64(b&0x7F) << shift 81615 if b < 0x80 { 81616 break 81617 } 81618 } 81619 fieldNum := int32(wire >> 3) 81620 wireType := int(wire & 0x7) 81621 if wireType == 4 { 81622 return fmt.Errorf("proto: UserSpecV2: wiretype end group for non-group") 81623 } 81624 if fieldNum <= 0 { 81625 return fmt.Errorf("proto: UserSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 81626 } 81627 switch fieldNum { 81628 case 1: 81629 if wireType != 2 { 81630 return fmt.Errorf("proto: wrong wireType = %d for field OIDCIdentities", wireType) 81631 } 81632 var msglen int 81633 for shift := uint(0); ; shift += 7 { 81634 if shift >= 64 { 81635 return ErrIntOverflowTypes 81636 } 81637 if iNdEx >= l { 81638 return io.ErrUnexpectedEOF 81639 } 81640 b := dAtA[iNdEx] 81641 iNdEx++ 81642 msglen |= int(b&0x7F) << shift 81643 if b < 0x80 { 81644 break 81645 } 81646 } 81647 if msglen < 0 { 81648 return ErrInvalidLengthTypes 81649 } 81650 postIndex := iNdEx + msglen 81651 if postIndex < 0 { 81652 return ErrInvalidLengthTypes 81653 } 81654 if postIndex > l { 81655 return io.ErrUnexpectedEOF 81656 } 81657 m.OIDCIdentities = append(m.OIDCIdentities, ExternalIdentity{}) 81658 if err := m.OIDCIdentities[len(m.OIDCIdentities)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 81659 return err 81660 } 81661 iNdEx = postIndex 81662 case 2: 81663 if wireType != 2 { 81664 return fmt.Errorf("proto: wrong wireType = %d for field SAMLIdentities", wireType) 81665 } 81666 var msglen int 81667 for shift := uint(0); ; shift += 7 { 81668 if shift >= 64 { 81669 return ErrIntOverflowTypes 81670 } 81671 if iNdEx >= l { 81672 return io.ErrUnexpectedEOF 81673 } 81674 b := dAtA[iNdEx] 81675 iNdEx++ 81676 msglen |= int(b&0x7F) << shift 81677 if b < 0x80 { 81678 break 81679 } 81680 } 81681 if msglen < 0 { 81682 return ErrInvalidLengthTypes 81683 } 81684 postIndex := iNdEx + msglen 81685 if postIndex < 0 { 81686 return ErrInvalidLengthTypes 81687 } 81688 if postIndex > l { 81689 return io.ErrUnexpectedEOF 81690 } 81691 m.SAMLIdentities = append(m.SAMLIdentities, ExternalIdentity{}) 81692 if err := m.SAMLIdentities[len(m.SAMLIdentities)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 81693 return err 81694 } 81695 iNdEx = postIndex 81696 case 3: 81697 if wireType != 2 { 81698 return fmt.Errorf("proto: wrong wireType = %d for field GithubIdentities", wireType) 81699 } 81700 var msglen int 81701 for shift := uint(0); ; shift += 7 { 81702 if shift >= 64 { 81703 return ErrIntOverflowTypes 81704 } 81705 if iNdEx >= l { 81706 return io.ErrUnexpectedEOF 81707 } 81708 b := dAtA[iNdEx] 81709 iNdEx++ 81710 msglen |= int(b&0x7F) << shift 81711 if b < 0x80 { 81712 break 81713 } 81714 } 81715 if msglen < 0 { 81716 return ErrInvalidLengthTypes 81717 } 81718 postIndex := iNdEx + msglen 81719 if postIndex < 0 { 81720 return ErrInvalidLengthTypes 81721 } 81722 if postIndex > l { 81723 return io.ErrUnexpectedEOF 81724 } 81725 m.GithubIdentities = append(m.GithubIdentities, ExternalIdentity{}) 81726 if err := m.GithubIdentities[len(m.GithubIdentities)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 81727 return err 81728 } 81729 iNdEx = postIndex 81730 case 4: 81731 if wireType != 2 { 81732 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 81733 } 81734 var stringLen uint64 81735 for shift := uint(0); ; shift += 7 { 81736 if shift >= 64 { 81737 return ErrIntOverflowTypes 81738 } 81739 if iNdEx >= l { 81740 return io.ErrUnexpectedEOF 81741 } 81742 b := dAtA[iNdEx] 81743 iNdEx++ 81744 stringLen |= uint64(b&0x7F) << shift 81745 if b < 0x80 { 81746 break 81747 } 81748 } 81749 intStringLen := int(stringLen) 81750 if intStringLen < 0 { 81751 return ErrInvalidLengthTypes 81752 } 81753 postIndex := iNdEx + intStringLen 81754 if postIndex < 0 { 81755 return ErrInvalidLengthTypes 81756 } 81757 if postIndex > l { 81758 return io.ErrUnexpectedEOF 81759 } 81760 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 81761 iNdEx = postIndex 81762 case 5: 81763 if wireType != 2 { 81764 return fmt.Errorf("proto: wrong wireType = %d for field Traits", wireType) 81765 } 81766 var msglen int 81767 for shift := uint(0); ; shift += 7 { 81768 if shift >= 64 { 81769 return ErrIntOverflowTypes 81770 } 81771 if iNdEx >= l { 81772 return io.ErrUnexpectedEOF 81773 } 81774 b := dAtA[iNdEx] 81775 iNdEx++ 81776 msglen |= int(b&0x7F) << shift 81777 if b < 0x80 { 81778 break 81779 } 81780 } 81781 if msglen < 0 { 81782 return ErrInvalidLengthTypes 81783 } 81784 postIndex := iNdEx + msglen 81785 if postIndex < 0 { 81786 return ErrInvalidLengthTypes 81787 } 81788 if postIndex > l { 81789 return io.ErrUnexpectedEOF 81790 } 81791 if err := m.Traits.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 81792 return err 81793 } 81794 iNdEx = postIndex 81795 case 6: 81796 if wireType != 2 { 81797 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) 81798 } 81799 var msglen int 81800 for shift := uint(0); ; shift += 7 { 81801 if shift >= 64 { 81802 return ErrIntOverflowTypes 81803 } 81804 if iNdEx >= l { 81805 return io.ErrUnexpectedEOF 81806 } 81807 b := dAtA[iNdEx] 81808 iNdEx++ 81809 msglen |= int(b&0x7F) << shift 81810 if b < 0x80 { 81811 break 81812 } 81813 } 81814 if msglen < 0 { 81815 return ErrInvalidLengthTypes 81816 } 81817 postIndex := iNdEx + msglen 81818 if postIndex < 0 { 81819 return ErrInvalidLengthTypes 81820 } 81821 if postIndex > l { 81822 return io.ErrUnexpectedEOF 81823 } 81824 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 81825 return err 81826 } 81827 iNdEx = postIndex 81828 case 7: 81829 if wireType != 2 { 81830 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 81831 } 81832 var msglen int 81833 for shift := uint(0); ; shift += 7 { 81834 if shift >= 64 { 81835 return ErrIntOverflowTypes 81836 } 81837 if iNdEx >= l { 81838 return io.ErrUnexpectedEOF 81839 } 81840 b := dAtA[iNdEx] 81841 iNdEx++ 81842 msglen |= int(b&0x7F) << shift 81843 if b < 0x80 { 81844 break 81845 } 81846 } 81847 if msglen < 0 { 81848 return ErrInvalidLengthTypes 81849 } 81850 postIndex := iNdEx + msglen 81851 if postIndex < 0 { 81852 return ErrInvalidLengthTypes 81853 } 81854 if postIndex > l { 81855 return io.ErrUnexpectedEOF 81856 } 81857 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Expires, dAtA[iNdEx:postIndex]); err != nil { 81858 return err 81859 } 81860 iNdEx = postIndex 81861 case 8: 81862 if wireType != 2 { 81863 return fmt.Errorf("proto: wrong wireType = %d for field CreatedBy", wireType) 81864 } 81865 var msglen int 81866 for shift := uint(0); ; shift += 7 { 81867 if shift >= 64 { 81868 return ErrIntOverflowTypes 81869 } 81870 if iNdEx >= l { 81871 return io.ErrUnexpectedEOF 81872 } 81873 b := dAtA[iNdEx] 81874 iNdEx++ 81875 msglen |= int(b&0x7F) << shift 81876 if b < 0x80 { 81877 break 81878 } 81879 } 81880 if msglen < 0 { 81881 return ErrInvalidLengthTypes 81882 } 81883 postIndex := iNdEx + msglen 81884 if postIndex < 0 { 81885 return ErrInvalidLengthTypes 81886 } 81887 if postIndex > l { 81888 return io.ErrUnexpectedEOF 81889 } 81890 if err := m.CreatedBy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 81891 return err 81892 } 81893 iNdEx = postIndex 81894 case 9: 81895 if wireType != 2 { 81896 return fmt.Errorf("proto: wrong wireType = %d for field LocalAuth", wireType) 81897 } 81898 var msglen int 81899 for shift := uint(0); ; shift += 7 { 81900 if shift >= 64 { 81901 return ErrIntOverflowTypes 81902 } 81903 if iNdEx >= l { 81904 return io.ErrUnexpectedEOF 81905 } 81906 b := dAtA[iNdEx] 81907 iNdEx++ 81908 msglen |= int(b&0x7F) << shift 81909 if b < 0x80 { 81910 break 81911 } 81912 } 81913 if msglen < 0 { 81914 return ErrInvalidLengthTypes 81915 } 81916 postIndex := iNdEx + msglen 81917 if postIndex < 0 { 81918 return ErrInvalidLengthTypes 81919 } 81920 if postIndex > l { 81921 return io.ErrUnexpectedEOF 81922 } 81923 if m.LocalAuth == nil { 81924 m.LocalAuth = &LocalAuthSecrets{} 81925 } 81926 if err := m.LocalAuth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 81927 return err 81928 } 81929 iNdEx = postIndex 81930 case 10: 81931 if wireType != 2 { 81932 return fmt.Errorf("proto: wrong wireType = %d for field TrustedDeviceIDs", wireType) 81933 } 81934 var stringLen uint64 81935 for shift := uint(0); ; shift += 7 { 81936 if shift >= 64 { 81937 return ErrIntOverflowTypes 81938 } 81939 if iNdEx >= l { 81940 return io.ErrUnexpectedEOF 81941 } 81942 b := dAtA[iNdEx] 81943 iNdEx++ 81944 stringLen |= uint64(b&0x7F) << shift 81945 if b < 0x80 { 81946 break 81947 } 81948 } 81949 intStringLen := int(stringLen) 81950 if intStringLen < 0 { 81951 return ErrInvalidLengthTypes 81952 } 81953 postIndex := iNdEx + intStringLen 81954 if postIndex < 0 { 81955 return ErrInvalidLengthTypes 81956 } 81957 if postIndex > l { 81958 return io.ErrUnexpectedEOF 81959 } 81960 m.TrustedDeviceIDs = append(m.TrustedDeviceIDs, string(dAtA[iNdEx:postIndex])) 81961 iNdEx = postIndex 81962 default: 81963 iNdEx = preIndex 81964 skippy, err := skipTypes(dAtA[iNdEx:]) 81965 if err != nil { 81966 return err 81967 } 81968 if (skippy < 0) || (iNdEx+skippy) < 0 { 81969 return ErrInvalidLengthTypes 81970 } 81971 if (iNdEx + skippy) > l { 81972 return io.ErrUnexpectedEOF 81973 } 81974 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 81975 iNdEx += skippy 81976 } 81977 } 81978 81979 if iNdEx > l { 81980 return io.ErrUnexpectedEOF 81981 } 81982 return nil 81983 } 81984 func (m *ExternalIdentity) Unmarshal(dAtA []byte) error { 81985 l := len(dAtA) 81986 iNdEx := 0 81987 for iNdEx < l { 81988 preIndex := iNdEx 81989 var wire uint64 81990 for shift := uint(0); ; shift += 7 { 81991 if shift >= 64 { 81992 return ErrIntOverflowTypes 81993 } 81994 if iNdEx >= l { 81995 return io.ErrUnexpectedEOF 81996 } 81997 b := dAtA[iNdEx] 81998 iNdEx++ 81999 wire |= uint64(b&0x7F) << shift 82000 if b < 0x80 { 82001 break 82002 } 82003 } 82004 fieldNum := int32(wire >> 3) 82005 wireType := int(wire & 0x7) 82006 if wireType == 4 { 82007 return fmt.Errorf("proto: ExternalIdentity: wiretype end group for non-group") 82008 } 82009 if fieldNum <= 0 { 82010 return fmt.Errorf("proto: ExternalIdentity: illegal tag %d (wire type %d)", fieldNum, wire) 82011 } 82012 switch fieldNum { 82013 case 1: 82014 if wireType != 2 { 82015 return fmt.Errorf("proto: wrong wireType = %d for field ConnectorID", wireType) 82016 } 82017 var stringLen uint64 82018 for shift := uint(0); ; shift += 7 { 82019 if shift >= 64 { 82020 return ErrIntOverflowTypes 82021 } 82022 if iNdEx >= l { 82023 return io.ErrUnexpectedEOF 82024 } 82025 b := dAtA[iNdEx] 82026 iNdEx++ 82027 stringLen |= uint64(b&0x7F) << shift 82028 if b < 0x80 { 82029 break 82030 } 82031 } 82032 intStringLen := int(stringLen) 82033 if intStringLen < 0 { 82034 return ErrInvalidLengthTypes 82035 } 82036 postIndex := iNdEx + intStringLen 82037 if postIndex < 0 { 82038 return ErrInvalidLengthTypes 82039 } 82040 if postIndex > l { 82041 return io.ErrUnexpectedEOF 82042 } 82043 m.ConnectorID = string(dAtA[iNdEx:postIndex]) 82044 iNdEx = postIndex 82045 case 2: 82046 if wireType != 2 { 82047 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 82048 } 82049 var stringLen uint64 82050 for shift := uint(0); ; shift += 7 { 82051 if shift >= 64 { 82052 return ErrIntOverflowTypes 82053 } 82054 if iNdEx >= l { 82055 return io.ErrUnexpectedEOF 82056 } 82057 b := dAtA[iNdEx] 82058 iNdEx++ 82059 stringLen |= uint64(b&0x7F) << shift 82060 if b < 0x80 { 82061 break 82062 } 82063 } 82064 intStringLen := int(stringLen) 82065 if intStringLen < 0 { 82066 return ErrInvalidLengthTypes 82067 } 82068 postIndex := iNdEx + intStringLen 82069 if postIndex < 0 { 82070 return ErrInvalidLengthTypes 82071 } 82072 if postIndex > l { 82073 return io.ErrUnexpectedEOF 82074 } 82075 m.Username = string(dAtA[iNdEx:postIndex]) 82076 iNdEx = postIndex 82077 default: 82078 iNdEx = preIndex 82079 skippy, err := skipTypes(dAtA[iNdEx:]) 82080 if err != nil { 82081 return err 82082 } 82083 if (skippy < 0) || (iNdEx+skippy) < 0 { 82084 return ErrInvalidLengthTypes 82085 } 82086 if (iNdEx + skippy) > l { 82087 return io.ErrUnexpectedEOF 82088 } 82089 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 82090 iNdEx += skippy 82091 } 82092 } 82093 82094 if iNdEx > l { 82095 return io.ErrUnexpectedEOF 82096 } 82097 return nil 82098 } 82099 func (m *LoginStatus) Unmarshal(dAtA []byte) error { 82100 l := len(dAtA) 82101 iNdEx := 0 82102 for iNdEx < l { 82103 preIndex := iNdEx 82104 var wire uint64 82105 for shift := uint(0); ; shift += 7 { 82106 if shift >= 64 { 82107 return ErrIntOverflowTypes 82108 } 82109 if iNdEx >= l { 82110 return io.ErrUnexpectedEOF 82111 } 82112 b := dAtA[iNdEx] 82113 iNdEx++ 82114 wire |= uint64(b&0x7F) << shift 82115 if b < 0x80 { 82116 break 82117 } 82118 } 82119 fieldNum := int32(wire >> 3) 82120 wireType := int(wire & 0x7) 82121 if wireType == 4 { 82122 return fmt.Errorf("proto: LoginStatus: wiretype end group for non-group") 82123 } 82124 if fieldNum <= 0 { 82125 return fmt.Errorf("proto: LoginStatus: illegal tag %d (wire type %d)", fieldNum, wire) 82126 } 82127 switch fieldNum { 82128 case 1: 82129 if wireType != 0 { 82130 return fmt.Errorf("proto: wrong wireType = %d for field IsLocked", wireType) 82131 } 82132 var v int 82133 for shift := uint(0); ; shift += 7 { 82134 if shift >= 64 { 82135 return ErrIntOverflowTypes 82136 } 82137 if iNdEx >= l { 82138 return io.ErrUnexpectedEOF 82139 } 82140 b := dAtA[iNdEx] 82141 iNdEx++ 82142 v |= int(b&0x7F) << shift 82143 if b < 0x80 { 82144 break 82145 } 82146 } 82147 m.IsLocked = bool(v != 0) 82148 case 2: 82149 if wireType != 2 { 82150 return fmt.Errorf("proto: wrong wireType = %d for field LockedMessage", wireType) 82151 } 82152 var stringLen uint64 82153 for shift := uint(0); ; shift += 7 { 82154 if shift >= 64 { 82155 return ErrIntOverflowTypes 82156 } 82157 if iNdEx >= l { 82158 return io.ErrUnexpectedEOF 82159 } 82160 b := dAtA[iNdEx] 82161 iNdEx++ 82162 stringLen |= uint64(b&0x7F) << shift 82163 if b < 0x80 { 82164 break 82165 } 82166 } 82167 intStringLen := int(stringLen) 82168 if intStringLen < 0 { 82169 return ErrInvalidLengthTypes 82170 } 82171 postIndex := iNdEx + intStringLen 82172 if postIndex < 0 { 82173 return ErrInvalidLengthTypes 82174 } 82175 if postIndex > l { 82176 return io.ErrUnexpectedEOF 82177 } 82178 m.LockedMessage = string(dAtA[iNdEx:postIndex]) 82179 iNdEx = postIndex 82180 case 3: 82181 if wireType != 2 { 82182 return fmt.Errorf("proto: wrong wireType = %d for field LockedTime", wireType) 82183 } 82184 var msglen int 82185 for shift := uint(0); ; shift += 7 { 82186 if shift >= 64 { 82187 return ErrIntOverflowTypes 82188 } 82189 if iNdEx >= l { 82190 return io.ErrUnexpectedEOF 82191 } 82192 b := dAtA[iNdEx] 82193 iNdEx++ 82194 msglen |= int(b&0x7F) << shift 82195 if b < 0x80 { 82196 break 82197 } 82198 } 82199 if msglen < 0 { 82200 return ErrInvalidLengthTypes 82201 } 82202 postIndex := iNdEx + msglen 82203 if postIndex < 0 { 82204 return ErrInvalidLengthTypes 82205 } 82206 if postIndex > l { 82207 return io.ErrUnexpectedEOF 82208 } 82209 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.LockedTime, dAtA[iNdEx:postIndex]); err != nil { 82210 return err 82211 } 82212 iNdEx = postIndex 82213 case 4: 82214 if wireType != 2 { 82215 return fmt.Errorf("proto: wrong wireType = %d for field LockExpires", wireType) 82216 } 82217 var msglen int 82218 for shift := uint(0); ; shift += 7 { 82219 if shift >= 64 { 82220 return ErrIntOverflowTypes 82221 } 82222 if iNdEx >= l { 82223 return io.ErrUnexpectedEOF 82224 } 82225 b := dAtA[iNdEx] 82226 iNdEx++ 82227 msglen |= int(b&0x7F) << shift 82228 if b < 0x80 { 82229 break 82230 } 82231 } 82232 if msglen < 0 { 82233 return ErrInvalidLengthTypes 82234 } 82235 postIndex := iNdEx + msglen 82236 if postIndex < 0 { 82237 return ErrInvalidLengthTypes 82238 } 82239 if postIndex > l { 82240 return io.ErrUnexpectedEOF 82241 } 82242 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.LockExpires, dAtA[iNdEx:postIndex]); err != nil { 82243 return err 82244 } 82245 iNdEx = postIndex 82246 default: 82247 iNdEx = preIndex 82248 skippy, err := skipTypes(dAtA[iNdEx:]) 82249 if err != nil { 82250 return err 82251 } 82252 if (skippy < 0) || (iNdEx+skippy) < 0 { 82253 return ErrInvalidLengthTypes 82254 } 82255 if (iNdEx + skippy) > l { 82256 return io.ErrUnexpectedEOF 82257 } 82258 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 82259 iNdEx += skippy 82260 } 82261 } 82262 82263 if iNdEx > l { 82264 return io.ErrUnexpectedEOF 82265 } 82266 return nil 82267 } 82268 func (m *CreatedBy) Unmarshal(dAtA []byte) error { 82269 l := len(dAtA) 82270 iNdEx := 0 82271 for iNdEx < l { 82272 preIndex := iNdEx 82273 var wire uint64 82274 for shift := uint(0); ; shift += 7 { 82275 if shift >= 64 { 82276 return ErrIntOverflowTypes 82277 } 82278 if iNdEx >= l { 82279 return io.ErrUnexpectedEOF 82280 } 82281 b := dAtA[iNdEx] 82282 iNdEx++ 82283 wire |= uint64(b&0x7F) << shift 82284 if b < 0x80 { 82285 break 82286 } 82287 } 82288 fieldNum := int32(wire >> 3) 82289 wireType := int(wire & 0x7) 82290 if wireType == 4 { 82291 return fmt.Errorf("proto: CreatedBy: wiretype end group for non-group") 82292 } 82293 if fieldNum <= 0 { 82294 return fmt.Errorf("proto: CreatedBy: illegal tag %d (wire type %d)", fieldNum, wire) 82295 } 82296 switch fieldNum { 82297 case 1: 82298 if wireType != 2 { 82299 return fmt.Errorf("proto: wrong wireType = %d for field Connector", wireType) 82300 } 82301 var msglen int 82302 for shift := uint(0); ; shift += 7 { 82303 if shift >= 64 { 82304 return ErrIntOverflowTypes 82305 } 82306 if iNdEx >= l { 82307 return io.ErrUnexpectedEOF 82308 } 82309 b := dAtA[iNdEx] 82310 iNdEx++ 82311 msglen |= int(b&0x7F) << shift 82312 if b < 0x80 { 82313 break 82314 } 82315 } 82316 if msglen < 0 { 82317 return ErrInvalidLengthTypes 82318 } 82319 postIndex := iNdEx + msglen 82320 if postIndex < 0 { 82321 return ErrInvalidLengthTypes 82322 } 82323 if postIndex > l { 82324 return io.ErrUnexpectedEOF 82325 } 82326 if m.Connector == nil { 82327 m.Connector = &ConnectorRef{} 82328 } 82329 if err := m.Connector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 82330 return err 82331 } 82332 iNdEx = postIndex 82333 case 2: 82334 if wireType != 2 { 82335 return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType) 82336 } 82337 var msglen int 82338 for shift := uint(0); ; shift += 7 { 82339 if shift >= 64 { 82340 return ErrIntOverflowTypes 82341 } 82342 if iNdEx >= l { 82343 return io.ErrUnexpectedEOF 82344 } 82345 b := dAtA[iNdEx] 82346 iNdEx++ 82347 msglen |= int(b&0x7F) << shift 82348 if b < 0x80 { 82349 break 82350 } 82351 } 82352 if msglen < 0 { 82353 return ErrInvalidLengthTypes 82354 } 82355 postIndex := iNdEx + msglen 82356 if postIndex < 0 { 82357 return ErrInvalidLengthTypes 82358 } 82359 if postIndex > l { 82360 return io.ErrUnexpectedEOF 82361 } 82362 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil { 82363 return err 82364 } 82365 iNdEx = postIndex 82366 case 3: 82367 if wireType != 2 { 82368 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 82369 } 82370 var msglen int 82371 for shift := uint(0); ; shift += 7 { 82372 if shift >= 64 { 82373 return ErrIntOverflowTypes 82374 } 82375 if iNdEx >= l { 82376 return io.ErrUnexpectedEOF 82377 } 82378 b := dAtA[iNdEx] 82379 iNdEx++ 82380 msglen |= int(b&0x7F) << shift 82381 if b < 0x80 { 82382 break 82383 } 82384 } 82385 if msglen < 0 { 82386 return ErrInvalidLengthTypes 82387 } 82388 postIndex := iNdEx + msglen 82389 if postIndex < 0 { 82390 return ErrInvalidLengthTypes 82391 } 82392 if postIndex > l { 82393 return io.ErrUnexpectedEOF 82394 } 82395 if err := m.User.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 82396 return err 82397 } 82398 iNdEx = postIndex 82399 default: 82400 iNdEx = preIndex 82401 skippy, err := skipTypes(dAtA[iNdEx:]) 82402 if err != nil { 82403 return err 82404 } 82405 if (skippy < 0) || (iNdEx+skippy) < 0 { 82406 return ErrInvalidLengthTypes 82407 } 82408 if (iNdEx + skippy) > l { 82409 return io.ErrUnexpectedEOF 82410 } 82411 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 82412 iNdEx += skippy 82413 } 82414 } 82415 82416 if iNdEx > l { 82417 return io.ErrUnexpectedEOF 82418 } 82419 return nil 82420 } 82421 func (m *LocalAuthSecrets) Unmarshal(dAtA []byte) error { 82422 l := len(dAtA) 82423 iNdEx := 0 82424 for iNdEx < l { 82425 preIndex := iNdEx 82426 var wire uint64 82427 for shift := uint(0); ; shift += 7 { 82428 if shift >= 64 { 82429 return ErrIntOverflowTypes 82430 } 82431 if iNdEx >= l { 82432 return io.ErrUnexpectedEOF 82433 } 82434 b := dAtA[iNdEx] 82435 iNdEx++ 82436 wire |= uint64(b&0x7F) << shift 82437 if b < 0x80 { 82438 break 82439 } 82440 } 82441 fieldNum := int32(wire >> 3) 82442 wireType := int(wire & 0x7) 82443 if wireType == 4 { 82444 return fmt.Errorf("proto: LocalAuthSecrets: wiretype end group for non-group") 82445 } 82446 if fieldNum <= 0 { 82447 return fmt.Errorf("proto: LocalAuthSecrets: illegal tag %d (wire type %d)", fieldNum, wire) 82448 } 82449 switch fieldNum { 82450 case 1: 82451 if wireType != 2 { 82452 return fmt.Errorf("proto: wrong wireType = %d for field PasswordHash", wireType) 82453 } 82454 var byteLen int 82455 for shift := uint(0); ; shift += 7 { 82456 if shift >= 64 { 82457 return ErrIntOverflowTypes 82458 } 82459 if iNdEx >= l { 82460 return io.ErrUnexpectedEOF 82461 } 82462 b := dAtA[iNdEx] 82463 iNdEx++ 82464 byteLen |= int(b&0x7F) << shift 82465 if b < 0x80 { 82466 break 82467 } 82468 } 82469 if byteLen < 0 { 82470 return ErrInvalidLengthTypes 82471 } 82472 postIndex := iNdEx + byteLen 82473 if postIndex < 0 { 82474 return ErrInvalidLengthTypes 82475 } 82476 if postIndex > l { 82477 return io.ErrUnexpectedEOF 82478 } 82479 m.PasswordHash = append(m.PasswordHash[:0], dAtA[iNdEx:postIndex]...) 82480 if m.PasswordHash == nil { 82481 m.PasswordHash = []byte{} 82482 } 82483 iNdEx = postIndex 82484 case 2: 82485 if wireType != 2 { 82486 return fmt.Errorf("proto: wrong wireType = %d for field TOTPKey", wireType) 82487 } 82488 var stringLen uint64 82489 for shift := uint(0); ; shift += 7 { 82490 if shift >= 64 { 82491 return ErrIntOverflowTypes 82492 } 82493 if iNdEx >= l { 82494 return io.ErrUnexpectedEOF 82495 } 82496 b := dAtA[iNdEx] 82497 iNdEx++ 82498 stringLen |= uint64(b&0x7F) << shift 82499 if b < 0x80 { 82500 break 82501 } 82502 } 82503 intStringLen := int(stringLen) 82504 if intStringLen < 0 { 82505 return ErrInvalidLengthTypes 82506 } 82507 postIndex := iNdEx + intStringLen 82508 if postIndex < 0 { 82509 return ErrInvalidLengthTypes 82510 } 82511 if postIndex > l { 82512 return io.ErrUnexpectedEOF 82513 } 82514 m.TOTPKey = string(dAtA[iNdEx:postIndex]) 82515 iNdEx = postIndex 82516 case 5: 82517 if wireType != 2 { 82518 return fmt.Errorf("proto: wrong wireType = %d for field MFA", wireType) 82519 } 82520 var msglen int 82521 for shift := uint(0); ; shift += 7 { 82522 if shift >= 64 { 82523 return ErrIntOverflowTypes 82524 } 82525 if iNdEx >= l { 82526 return io.ErrUnexpectedEOF 82527 } 82528 b := dAtA[iNdEx] 82529 iNdEx++ 82530 msglen |= int(b&0x7F) << shift 82531 if b < 0x80 { 82532 break 82533 } 82534 } 82535 if msglen < 0 { 82536 return ErrInvalidLengthTypes 82537 } 82538 postIndex := iNdEx + msglen 82539 if postIndex < 0 { 82540 return ErrInvalidLengthTypes 82541 } 82542 if postIndex > l { 82543 return io.ErrUnexpectedEOF 82544 } 82545 m.MFA = append(m.MFA, &MFADevice{}) 82546 if err := m.MFA[len(m.MFA)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 82547 return err 82548 } 82549 iNdEx = postIndex 82550 case 6: 82551 if wireType != 2 { 82552 return fmt.Errorf("proto: wrong wireType = %d for field Webauthn", wireType) 82553 } 82554 var msglen int 82555 for shift := uint(0); ; shift += 7 { 82556 if shift >= 64 { 82557 return ErrIntOverflowTypes 82558 } 82559 if iNdEx >= l { 82560 return io.ErrUnexpectedEOF 82561 } 82562 b := dAtA[iNdEx] 82563 iNdEx++ 82564 msglen |= int(b&0x7F) << shift 82565 if b < 0x80 { 82566 break 82567 } 82568 } 82569 if msglen < 0 { 82570 return ErrInvalidLengthTypes 82571 } 82572 postIndex := iNdEx + msglen 82573 if postIndex < 0 { 82574 return ErrInvalidLengthTypes 82575 } 82576 if postIndex > l { 82577 return io.ErrUnexpectedEOF 82578 } 82579 if m.Webauthn == nil { 82580 m.Webauthn = &WebauthnLocalAuth{} 82581 } 82582 if err := m.Webauthn.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 82583 return err 82584 } 82585 iNdEx = postIndex 82586 default: 82587 iNdEx = preIndex 82588 skippy, err := skipTypes(dAtA[iNdEx:]) 82589 if err != nil { 82590 return err 82591 } 82592 if (skippy < 0) || (iNdEx+skippy) < 0 { 82593 return ErrInvalidLengthTypes 82594 } 82595 if (iNdEx + skippy) > l { 82596 return io.ErrUnexpectedEOF 82597 } 82598 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 82599 iNdEx += skippy 82600 } 82601 } 82602 82603 if iNdEx > l { 82604 return io.ErrUnexpectedEOF 82605 } 82606 return nil 82607 } 82608 func (m *MFADevice) Unmarshal(dAtA []byte) error { 82609 l := len(dAtA) 82610 iNdEx := 0 82611 for iNdEx < l { 82612 preIndex := iNdEx 82613 var wire uint64 82614 for shift := uint(0); ; shift += 7 { 82615 if shift >= 64 { 82616 return ErrIntOverflowTypes 82617 } 82618 if iNdEx >= l { 82619 return io.ErrUnexpectedEOF 82620 } 82621 b := dAtA[iNdEx] 82622 iNdEx++ 82623 wire |= uint64(b&0x7F) << shift 82624 if b < 0x80 { 82625 break 82626 } 82627 } 82628 fieldNum := int32(wire >> 3) 82629 wireType := int(wire & 0x7) 82630 if wireType == 4 { 82631 return fmt.Errorf("proto: MFADevice: wiretype end group for non-group") 82632 } 82633 if fieldNum <= 0 { 82634 return fmt.Errorf("proto: MFADevice: illegal tag %d (wire type %d)", fieldNum, wire) 82635 } 82636 switch fieldNum { 82637 case 1: 82638 if wireType != 2 { 82639 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 82640 } 82641 var stringLen uint64 82642 for shift := uint(0); ; shift += 7 { 82643 if shift >= 64 { 82644 return ErrIntOverflowTypes 82645 } 82646 if iNdEx >= l { 82647 return io.ErrUnexpectedEOF 82648 } 82649 b := dAtA[iNdEx] 82650 iNdEx++ 82651 stringLen |= uint64(b&0x7F) << shift 82652 if b < 0x80 { 82653 break 82654 } 82655 } 82656 intStringLen := int(stringLen) 82657 if intStringLen < 0 { 82658 return ErrInvalidLengthTypes 82659 } 82660 postIndex := iNdEx + intStringLen 82661 if postIndex < 0 { 82662 return ErrInvalidLengthTypes 82663 } 82664 if postIndex > l { 82665 return io.ErrUnexpectedEOF 82666 } 82667 m.Kind = string(dAtA[iNdEx:postIndex]) 82668 iNdEx = postIndex 82669 case 2: 82670 if wireType != 2 { 82671 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 82672 } 82673 var stringLen uint64 82674 for shift := uint(0); ; shift += 7 { 82675 if shift >= 64 { 82676 return ErrIntOverflowTypes 82677 } 82678 if iNdEx >= l { 82679 return io.ErrUnexpectedEOF 82680 } 82681 b := dAtA[iNdEx] 82682 iNdEx++ 82683 stringLen |= uint64(b&0x7F) << shift 82684 if b < 0x80 { 82685 break 82686 } 82687 } 82688 intStringLen := int(stringLen) 82689 if intStringLen < 0 { 82690 return ErrInvalidLengthTypes 82691 } 82692 postIndex := iNdEx + intStringLen 82693 if postIndex < 0 { 82694 return ErrInvalidLengthTypes 82695 } 82696 if postIndex > l { 82697 return io.ErrUnexpectedEOF 82698 } 82699 m.SubKind = string(dAtA[iNdEx:postIndex]) 82700 iNdEx = postIndex 82701 case 3: 82702 if wireType != 2 { 82703 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 82704 } 82705 var stringLen uint64 82706 for shift := uint(0); ; shift += 7 { 82707 if shift >= 64 { 82708 return ErrIntOverflowTypes 82709 } 82710 if iNdEx >= l { 82711 return io.ErrUnexpectedEOF 82712 } 82713 b := dAtA[iNdEx] 82714 iNdEx++ 82715 stringLen |= uint64(b&0x7F) << shift 82716 if b < 0x80 { 82717 break 82718 } 82719 } 82720 intStringLen := int(stringLen) 82721 if intStringLen < 0 { 82722 return ErrInvalidLengthTypes 82723 } 82724 postIndex := iNdEx + intStringLen 82725 if postIndex < 0 { 82726 return ErrInvalidLengthTypes 82727 } 82728 if postIndex > l { 82729 return io.ErrUnexpectedEOF 82730 } 82731 m.Version = string(dAtA[iNdEx:postIndex]) 82732 iNdEx = postIndex 82733 case 4: 82734 if wireType != 2 { 82735 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 82736 } 82737 var msglen int 82738 for shift := uint(0); ; shift += 7 { 82739 if shift >= 64 { 82740 return ErrIntOverflowTypes 82741 } 82742 if iNdEx >= l { 82743 return io.ErrUnexpectedEOF 82744 } 82745 b := dAtA[iNdEx] 82746 iNdEx++ 82747 msglen |= int(b&0x7F) << shift 82748 if b < 0x80 { 82749 break 82750 } 82751 } 82752 if msglen < 0 { 82753 return ErrInvalidLengthTypes 82754 } 82755 postIndex := iNdEx + msglen 82756 if postIndex < 0 { 82757 return ErrInvalidLengthTypes 82758 } 82759 if postIndex > l { 82760 return io.ErrUnexpectedEOF 82761 } 82762 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 82763 return err 82764 } 82765 iNdEx = postIndex 82766 case 5: 82767 if wireType != 2 { 82768 return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) 82769 } 82770 var stringLen uint64 82771 for shift := uint(0); ; shift += 7 { 82772 if shift >= 64 { 82773 return ErrIntOverflowTypes 82774 } 82775 if iNdEx >= l { 82776 return io.ErrUnexpectedEOF 82777 } 82778 b := dAtA[iNdEx] 82779 iNdEx++ 82780 stringLen |= uint64(b&0x7F) << shift 82781 if b < 0x80 { 82782 break 82783 } 82784 } 82785 intStringLen := int(stringLen) 82786 if intStringLen < 0 { 82787 return ErrInvalidLengthTypes 82788 } 82789 postIndex := iNdEx + intStringLen 82790 if postIndex < 0 { 82791 return ErrInvalidLengthTypes 82792 } 82793 if postIndex > l { 82794 return io.ErrUnexpectedEOF 82795 } 82796 m.Id = string(dAtA[iNdEx:postIndex]) 82797 iNdEx = postIndex 82798 case 6: 82799 if wireType != 2 { 82800 return fmt.Errorf("proto: wrong wireType = %d for field AddedAt", wireType) 82801 } 82802 var msglen int 82803 for shift := uint(0); ; shift += 7 { 82804 if shift >= 64 { 82805 return ErrIntOverflowTypes 82806 } 82807 if iNdEx >= l { 82808 return io.ErrUnexpectedEOF 82809 } 82810 b := dAtA[iNdEx] 82811 iNdEx++ 82812 msglen |= int(b&0x7F) << shift 82813 if b < 0x80 { 82814 break 82815 } 82816 } 82817 if msglen < 0 { 82818 return ErrInvalidLengthTypes 82819 } 82820 postIndex := iNdEx + msglen 82821 if postIndex < 0 { 82822 return ErrInvalidLengthTypes 82823 } 82824 if postIndex > l { 82825 return io.ErrUnexpectedEOF 82826 } 82827 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.AddedAt, dAtA[iNdEx:postIndex]); err != nil { 82828 return err 82829 } 82830 iNdEx = postIndex 82831 case 7: 82832 if wireType != 2 { 82833 return fmt.Errorf("proto: wrong wireType = %d for field LastUsed", wireType) 82834 } 82835 var msglen int 82836 for shift := uint(0); ; shift += 7 { 82837 if shift >= 64 { 82838 return ErrIntOverflowTypes 82839 } 82840 if iNdEx >= l { 82841 return io.ErrUnexpectedEOF 82842 } 82843 b := dAtA[iNdEx] 82844 iNdEx++ 82845 msglen |= int(b&0x7F) << shift 82846 if b < 0x80 { 82847 break 82848 } 82849 } 82850 if msglen < 0 { 82851 return ErrInvalidLengthTypes 82852 } 82853 postIndex := iNdEx + msglen 82854 if postIndex < 0 { 82855 return ErrInvalidLengthTypes 82856 } 82857 if postIndex > l { 82858 return io.ErrUnexpectedEOF 82859 } 82860 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.LastUsed, dAtA[iNdEx:postIndex]); err != nil { 82861 return err 82862 } 82863 iNdEx = postIndex 82864 case 8: 82865 if wireType != 2 { 82866 return fmt.Errorf("proto: wrong wireType = %d for field Totp", wireType) 82867 } 82868 var msglen int 82869 for shift := uint(0); ; shift += 7 { 82870 if shift >= 64 { 82871 return ErrIntOverflowTypes 82872 } 82873 if iNdEx >= l { 82874 return io.ErrUnexpectedEOF 82875 } 82876 b := dAtA[iNdEx] 82877 iNdEx++ 82878 msglen |= int(b&0x7F) << shift 82879 if b < 0x80 { 82880 break 82881 } 82882 } 82883 if msglen < 0 { 82884 return ErrInvalidLengthTypes 82885 } 82886 postIndex := iNdEx + msglen 82887 if postIndex < 0 { 82888 return ErrInvalidLengthTypes 82889 } 82890 if postIndex > l { 82891 return io.ErrUnexpectedEOF 82892 } 82893 v := &TOTPDevice{} 82894 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 82895 return err 82896 } 82897 m.Device = &MFADevice_Totp{v} 82898 iNdEx = postIndex 82899 case 9: 82900 if wireType != 2 { 82901 return fmt.Errorf("proto: wrong wireType = %d for field U2F", wireType) 82902 } 82903 var msglen int 82904 for shift := uint(0); ; shift += 7 { 82905 if shift >= 64 { 82906 return ErrIntOverflowTypes 82907 } 82908 if iNdEx >= l { 82909 return io.ErrUnexpectedEOF 82910 } 82911 b := dAtA[iNdEx] 82912 iNdEx++ 82913 msglen |= int(b&0x7F) << shift 82914 if b < 0x80 { 82915 break 82916 } 82917 } 82918 if msglen < 0 { 82919 return ErrInvalidLengthTypes 82920 } 82921 postIndex := iNdEx + msglen 82922 if postIndex < 0 { 82923 return ErrInvalidLengthTypes 82924 } 82925 if postIndex > l { 82926 return io.ErrUnexpectedEOF 82927 } 82928 v := &U2FDevice{} 82929 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 82930 return err 82931 } 82932 m.Device = &MFADevice_U2F{v} 82933 iNdEx = postIndex 82934 case 10: 82935 if wireType != 2 { 82936 return fmt.Errorf("proto: wrong wireType = %d for field Webauthn", wireType) 82937 } 82938 var msglen int 82939 for shift := uint(0); ; shift += 7 { 82940 if shift >= 64 { 82941 return ErrIntOverflowTypes 82942 } 82943 if iNdEx >= l { 82944 return io.ErrUnexpectedEOF 82945 } 82946 b := dAtA[iNdEx] 82947 iNdEx++ 82948 msglen |= int(b&0x7F) << shift 82949 if b < 0x80 { 82950 break 82951 } 82952 } 82953 if msglen < 0 { 82954 return ErrInvalidLengthTypes 82955 } 82956 postIndex := iNdEx + msglen 82957 if postIndex < 0 { 82958 return ErrInvalidLengthTypes 82959 } 82960 if postIndex > l { 82961 return io.ErrUnexpectedEOF 82962 } 82963 v := &WebauthnDevice{} 82964 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 82965 return err 82966 } 82967 m.Device = &MFADevice_Webauthn{v} 82968 iNdEx = postIndex 82969 default: 82970 iNdEx = preIndex 82971 skippy, err := skipTypes(dAtA[iNdEx:]) 82972 if err != nil { 82973 return err 82974 } 82975 if (skippy < 0) || (iNdEx+skippy) < 0 { 82976 return ErrInvalidLengthTypes 82977 } 82978 if (iNdEx + skippy) > l { 82979 return io.ErrUnexpectedEOF 82980 } 82981 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 82982 iNdEx += skippy 82983 } 82984 } 82985 82986 if iNdEx > l { 82987 return io.ErrUnexpectedEOF 82988 } 82989 return nil 82990 } 82991 func (m *TOTPDevice) Unmarshal(dAtA []byte) error { 82992 l := len(dAtA) 82993 iNdEx := 0 82994 for iNdEx < l { 82995 preIndex := iNdEx 82996 var wire uint64 82997 for shift := uint(0); ; shift += 7 { 82998 if shift >= 64 { 82999 return ErrIntOverflowTypes 83000 } 83001 if iNdEx >= l { 83002 return io.ErrUnexpectedEOF 83003 } 83004 b := dAtA[iNdEx] 83005 iNdEx++ 83006 wire |= uint64(b&0x7F) << shift 83007 if b < 0x80 { 83008 break 83009 } 83010 } 83011 fieldNum := int32(wire >> 3) 83012 wireType := int(wire & 0x7) 83013 if wireType == 4 { 83014 return fmt.Errorf("proto: TOTPDevice: wiretype end group for non-group") 83015 } 83016 if fieldNum <= 0 { 83017 return fmt.Errorf("proto: TOTPDevice: illegal tag %d (wire type %d)", fieldNum, wire) 83018 } 83019 switch fieldNum { 83020 case 1: 83021 if wireType != 2 { 83022 return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) 83023 } 83024 var stringLen uint64 83025 for shift := uint(0); ; shift += 7 { 83026 if shift >= 64 { 83027 return ErrIntOverflowTypes 83028 } 83029 if iNdEx >= l { 83030 return io.ErrUnexpectedEOF 83031 } 83032 b := dAtA[iNdEx] 83033 iNdEx++ 83034 stringLen |= uint64(b&0x7F) << shift 83035 if b < 0x80 { 83036 break 83037 } 83038 } 83039 intStringLen := int(stringLen) 83040 if intStringLen < 0 { 83041 return ErrInvalidLengthTypes 83042 } 83043 postIndex := iNdEx + intStringLen 83044 if postIndex < 0 { 83045 return ErrInvalidLengthTypes 83046 } 83047 if postIndex > l { 83048 return io.ErrUnexpectedEOF 83049 } 83050 m.Key = string(dAtA[iNdEx:postIndex]) 83051 iNdEx = postIndex 83052 default: 83053 iNdEx = preIndex 83054 skippy, err := skipTypes(dAtA[iNdEx:]) 83055 if err != nil { 83056 return err 83057 } 83058 if (skippy < 0) || (iNdEx+skippy) < 0 { 83059 return ErrInvalidLengthTypes 83060 } 83061 if (iNdEx + skippy) > l { 83062 return io.ErrUnexpectedEOF 83063 } 83064 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 83065 iNdEx += skippy 83066 } 83067 } 83068 83069 if iNdEx > l { 83070 return io.ErrUnexpectedEOF 83071 } 83072 return nil 83073 } 83074 func (m *U2FDevice) Unmarshal(dAtA []byte) error { 83075 l := len(dAtA) 83076 iNdEx := 0 83077 for iNdEx < l { 83078 preIndex := iNdEx 83079 var wire uint64 83080 for shift := uint(0); ; shift += 7 { 83081 if shift >= 64 { 83082 return ErrIntOverflowTypes 83083 } 83084 if iNdEx >= l { 83085 return io.ErrUnexpectedEOF 83086 } 83087 b := dAtA[iNdEx] 83088 iNdEx++ 83089 wire |= uint64(b&0x7F) << shift 83090 if b < 0x80 { 83091 break 83092 } 83093 } 83094 fieldNum := int32(wire >> 3) 83095 wireType := int(wire & 0x7) 83096 if wireType == 4 { 83097 return fmt.Errorf("proto: U2FDevice: wiretype end group for non-group") 83098 } 83099 if fieldNum <= 0 { 83100 return fmt.Errorf("proto: U2FDevice: illegal tag %d (wire type %d)", fieldNum, wire) 83101 } 83102 switch fieldNum { 83103 case 1: 83104 if wireType != 2 { 83105 return fmt.Errorf("proto: wrong wireType = %d for field KeyHandle", wireType) 83106 } 83107 var byteLen int 83108 for shift := uint(0); ; shift += 7 { 83109 if shift >= 64 { 83110 return ErrIntOverflowTypes 83111 } 83112 if iNdEx >= l { 83113 return io.ErrUnexpectedEOF 83114 } 83115 b := dAtA[iNdEx] 83116 iNdEx++ 83117 byteLen |= int(b&0x7F) << shift 83118 if b < 0x80 { 83119 break 83120 } 83121 } 83122 if byteLen < 0 { 83123 return ErrInvalidLengthTypes 83124 } 83125 postIndex := iNdEx + byteLen 83126 if postIndex < 0 { 83127 return ErrInvalidLengthTypes 83128 } 83129 if postIndex > l { 83130 return io.ErrUnexpectedEOF 83131 } 83132 m.KeyHandle = append(m.KeyHandle[:0], dAtA[iNdEx:postIndex]...) 83133 if m.KeyHandle == nil { 83134 m.KeyHandle = []byte{} 83135 } 83136 iNdEx = postIndex 83137 case 2: 83138 if wireType != 2 { 83139 return fmt.Errorf("proto: wrong wireType = %d for field PubKey", wireType) 83140 } 83141 var byteLen int 83142 for shift := uint(0); ; shift += 7 { 83143 if shift >= 64 { 83144 return ErrIntOverflowTypes 83145 } 83146 if iNdEx >= l { 83147 return io.ErrUnexpectedEOF 83148 } 83149 b := dAtA[iNdEx] 83150 iNdEx++ 83151 byteLen |= int(b&0x7F) << shift 83152 if b < 0x80 { 83153 break 83154 } 83155 } 83156 if byteLen < 0 { 83157 return ErrInvalidLengthTypes 83158 } 83159 postIndex := iNdEx + byteLen 83160 if postIndex < 0 { 83161 return ErrInvalidLengthTypes 83162 } 83163 if postIndex > l { 83164 return io.ErrUnexpectedEOF 83165 } 83166 m.PubKey = append(m.PubKey[:0], dAtA[iNdEx:postIndex]...) 83167 if m.PubKey == nil { 83168 m.PubKey = []byte{} 83169 } 83170 iNdEx = postIndex 83171 case 3: 83172 if wireType != 0 { 83173 return fmt.Errorf("proto: wrong wireType = %d for field Counter", wireType) 83174 } 83175 m.Counter = 0 83176 for shift := uint(0); ; shift += 7 { 83177 if shift >= 64 { 83178 return ErrIntOverflowTypes 83179 } 83180 if iNdEx >= l { 83181 return io.ErrUnexpectedEOF 83182 } 83183 b := dAtA[iNdEx] 83184 iNdEx++ 83185 m.Counter |= uint32(b&0x7F) << shift 83186 if b < 0x80 { 83187 break 83188 } 83189 } 83190 default: 83191 iNdEx = preIndex 83192 skippy, err := skipTypes(dAtA[iNdEx:]) 83193 if err != nil { 83194 return err 83195 } 83196 if (skippy < 0) || (iNdEx+skippy) < 0 { 83197 return ErrInvalidLengthTypes 83198 } 83199 if (iNdEx + skippy) > l { 83200 return io.ErrUnexpectedEOF 83201 } 83202 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 83203 iNdEx += skippy 83204 } 83205 } 83206 83207 if iNdEx > l { 83208 return io.ErrUnexpectedEOF 83209 } 83210 return nil 83211 } 83212 func (m *WebauthnDevice) Unmarshal(dAtA []byte) error { 83213 l := len(dAtA) 83214 iNdEx := 0 83215 for iNdEx < l { 83216 preIndex := iNdEx 83217 var wire uint64 83218 for shift := uint(0); ; shift += 7 { 83219 if shift >= 64 { 83220 return ErrIntOverflowTypes 83221 } 83222 if iNdEx >= l { 83223 return io.ErrUnexpectedEOF 83224 } 83225 b := dAtA[iNdEx] 83226 iNdEx++ 83227 wire |= uint64(b&0x7F) << shift 83228 if b < 0x80 { 83229 break 83230 } 83231 } 83232 fieldNum := int32(wire >> 3) 83233 wireType := int(wire & 0x7) 83234 if wireType == 4 { 83235 return fmt.Errorf("proto: WebauthnDevice: wiretype end group for non-group") 83236 } 83237 if fieldNum <= 0 { 83238 return fmt.Errorf("proto: WebauthnDevice: illegal tag %d (wire type %d)", fieldNum, wire) 83239 } 83240 switch fieldNum { 83241 case 1: 83242 if wireType != 2 { 83243 return fmt.Errorf("proto: wrong wireType = %d for field CredentialId", wireType) 83244 } 83245 var byteLen int 83246 for shift := uint(0); ; shift += 7 { 83247 if shift >= 64 { 83248 return ErrIntOverflowTypes 83249 } 83250 if iNdEx >= l { 83251 return io.ErrUnexpectedEOF 83252 } 83253 b := dAtA[iNdEx] 83254 iNdEx++ 83255 byteLen |= int(b&0x7F) << shift 83256 if b < 0x80 { 83257 break 83258 } 83259 } 83260 if byteLen < 0 { 83261 return ErrInvalidLengthTypes 83262 } 83263 postIndex := iNdEx + byteLen 83264 if postIndex < 0 { 83265 return ErrInvalidLengthTypes 83266 } 83267 if postIndex > l { 83268 return io.ErrUnexpectedEOF 83269 } 83270 m.CredentialId = append(m.CredentialId[:0], dAtA[iNdEx:postIndex]...) 83271 if m.CredentialId == nil { 83272 m.CredentialId = []byte{} 83273 } 83274 iNdEx = postIndex 83275 case 2: 83276 if wireType != 2 { 83277 return fmt.Errorf("proto: wrong wireType = %d for field PublicKeyCbor", wireType) 83278 } 83279 var byteLen int 83280 for shift := uint(0); ; shift += 7 { 83281 if shift >= 64 { 83282 return ErrIntOverflowTypes 83283 } 83284 if iNdEx >= l { 83285 return io.ErrUnexpectedEOF 83286 } 83287 b := dAtA[iNdEx] 83288 iNdEx++ 83289 byteLen |= int(b&0x7F) << shift 83290 if b < 0x80 { 83291 break 83292 } 83293 } 83294 if byteLen < 0 { 83295 return ErrInvalidLengthTypes 83296 } 83297 postIndex := iNdEx + byteLen 83298 if postIndex < 0 { 83299 return ErrInvalidLengthTypes 83300 } 83301 if postIndex > l { 83302 return io.ErrUnexpectedEOF 83303 } 83304 m.PublicKeyCbor = append(m.PublicKeyCbor[:0], dAtA[iNdEx:postIndex]...) 83305 if m.PublicKeyCbor == nil { 83306 m.PublicKeyCbor = []byte{} 83307 } 83308 iNdEx = postIndex 83309 case 3: 83310 if wireType != 2 { 83311 return fmt.Errorf("proto: wrong wireType = %d for field AttestationType", wireType) 83312 } 83313 var stringLen uint64 83314 for shift := uint(0); ; shift += 7 { 83315 if shift >= 64 { 83316 return ErrIntOverflowTypes 83317 } 83318 if iNdEx >= l { 83319 return io.ErrUnexpectedEOF 83320 } 83321 b := dAtA[iNdEx] 83322 iNdEx++ 83323 stringLen |= uint64(b&0x7F) << shift 83324 if b < 0x80 { 83325 break 83326 } 83327 } 83328 intStringLen := int(stringLen) 83329 if intStringLen < 0 { 83330 return ErrInvalidLengthTypes 83331 } 83332 postIndex := iNdEx + intStringLen 83333 if postIndex < 0 { 83334 return ErrInvalidLengthTypes 83335 } 83336 if postIndex > l { 83337 return io.ErrUnexpectedEOF 83338 } 83339 m.AttestationType = string(dAtA[iNdEx:postIndex]) 83340 iNdEx = postIndex 83341 case 4: 83342 if wireType != 2 { 83343 return fmt.Errorf("proto: wrong wireType = %d for field Aaguid", wireType) 83344 } 83345 var byteLen int 83346 for shift := uint(0); ; shift += 7 { 83347 if shift >= 64 { 83348 return ErrIntOverflowTypes 83349 } 83350 if iNdEx >= l { 83351 return io.ErrUnexpectedEOF 83352 } 83353 b := dAtA[iNdEx] 83354 iNdEx++ 83355 byteLen |= int(b&0x7F) << shift 83356 if b < 0x80 { 83357 break 83358 } 83359 } 83360 if byteLen < 0 { 83361 return ErrInvalidLengthTypes 83362 } 83363 postIndex := iNdEx + byteLen 83364 if postIndex < 0 { 83365 return ErrInvalidLengthTypes 83366 } 83367 if postIndex > l { 83368 return io.ErrUnexpectedEOF 83369 } 83370 m.Aaguid = append(m.Aaguid[:0], dAtA[iNdEx:postIndex]...) 83371 if m.Aaguid == nil { 83372 m.Aaguid = []byte{} 83373 } 83374 iNdEx = postIndex 83375 case 5: 83376 if wireType != 0 { 83377 return fmt.Errorf("proto: wrong wireType = %d for field SignatureCounter", wireType) 83378 } 83379 m.SignatureCounter = 0 83380 for shift := uint(0); ; shift += 7 { 83381 if shift >= 64 { 83382 return ErrIntOverflowTypes 83383 } 83384 if iNdEx >= l { 83385 return io.ErrUnexpectedEOF 83386 } 83387 b := dAtA[iNdEx] 83388 iNdEx++ 83389 m.SignatureCounter |= uint32(b&0x7F) << shift 83390 if b < 0x80 { 83391 break 83392 } 83393 } 83394 case 6: 83395 if wireType != 2 { 83396 return fmt.Errorf("proto: wrong wireType = %d for field AttestationObject", wireType) 83397 } 83398 var byteLen int 83399 for shift := uint(0); ; shift += 7 { 83400 if shift >= 64 { 83401 return ErrIntOverflowTypes 83402 } 83403 if iNdEx >= l { 83404 return io.ErrUnexpectedEOF 83405 } 83406 b := dAtA[iNdEx] 83407 iNdEx++ 83408 byteLen |= int(b&0x7F) << shift 83409 if b < 0x80 { 83410 break 83411 } 83412 } 83413 if byteLen < 0 { 83414 return ErrInvalidLengthTypes 83415 } 83416 postIndex := iNdEx + byteLen 83417 if postIndex < 0 { 83418 return ErrInvalidLengthTypes 83419 } 83420 if postIndex > l { 83421 return io.ErrUnexpectedEOF 83422 } 83423 m.AttestationObject = append(m.AttestationObject[:0], dAtA[iNdEx:postIndex]...) 83424 if m.AttestationObject == nil { 83425 m.AttestationObject = []byte{} 83426 } 83427 iNdEx = postIndex 83428 case 7: 83429 if wireType != 0 { 83430 return fmt.Errorf("proto: wrong wireType = %d for field ResidentKey", wireType) 83431 } 83432 var v int 83433 for shift := uint(0); ; shift += 7 { 83434 if shift >= 64 { 83435 return ErrIntOverflowTypes 83436 } 83437 if iNdEx >= l { 83438 return io.ErrUnexpectedEOF 83439 } 83440 b := dAtA[iNdEx] 83441 iNdEx++ 83442 v |= int(b&0x7F) << shift 83443 if b < 0x80 { 83444 break 83445 } 83446 } 83447 m.ResidentKey = bool(v != 0) 83448 case 8: 83449 if wireType != 2 { 83450 return fmt.Errorf("proto: wrong wireType = %d for field CredentialRpId", wireType) 83451 } 83452 var stringLen uint64 83453 for shift := uint(0); ; shift += 7 { 83454 if shift >= 64 { 83455 return ErrIntOverflowTypes 83456 } 83457 if iNdEx >= l { 83458 return io.ErrUnexpectedEOF 83459 } 83460 b := dAtA[iNdEx] 83461 iNdEx++ 83462 stringLen |= uint64(b&0x7F) << shift 83463 if b < 0x80 { 83464 break 83465 } 83466 } 83467 intStringLen := int(stringLen) 83468 if intStringLen < 0 { 83469 return ErrInvalidLengthTypes 83470 } 83471 postIndex := iNdEx + intStringLen 83472 if postIndex < 0 { 83473 return ErrInvalidLengthTypes 83474 } 83475 if postIndex > l { 83476 return io.ErrUnexpectedEOF 83477 } 83478 m.CredentialRpId = string(dAtA[iNdEx:postIndex]) 83479 iNdEx = postIndex 83480 default: 83481 iNdEx = preIndex 83482 skippy, err := skipTypes(dAtA[iNdEx:]) 83483 if err != nil { 83484 return err 83485 } 83486 if (skippy < 0) || (iNdEx+skippy) < 0 { 83487 return ErrInvalidLengthTypes 83488 } 83489 if (iNdEx + skippy) > l { 83490 return io.ErrUnexpectedEOF 83491 } 83492 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 83493 iNdEx += skippy 83494 } 83495 } 83496 83497 if iNdEx > l { 83498 return io.ErrUnexpectedEOF 83499 } 83500 return nil 83501 } 83502 func (m *WebauthnLocalAuth) Unmarshal(dAtA []byte) error { 83503 l := len(dAtA) 83504 iNdEx := 0 83505 for iNdEx < l { 83506 preIndex := iNdEx 83507 var wire uint64 83508 for shift := uint(0); ; shift += 7 { 83509 if shift >= 64 { 83510 return ErrIntOverflowTypes 83511 } 83512 if iNdEx >= l { 83513 return io.ErrUnexpectedEOF 83514 } 83515 b := dAtA[iNdEx] 83516 iNdEx++ 83517 wire |= uint64(b&0x7F) << shift 83518 if b < 0x80 { 83519 break 83520 } 83521 } 83522 fieldNum := int32(wire >> 3) 83523 wireType := int(wire & 0x7) 83524 if wireType == 4 { 83525 return fmt.Errorf("proto: WebauthnLocalAuth: wiretype end group for non-group") 83526 } 83527 if fieldNum <= 0 { 83528 return fmt.Errorf("proto: WebauthnLocalAuth: illegal tag %d (wire type %d)", fieldNum, wire) 83529 } 83530 switch fieldNum { 83531 case 1: 83532 if wireType != 2 { 83533 return fmt.Errorf("proto: wrong wireType = %d for field UserID", wireType) 83534 } 83535 var byteLen int 83536 for shift := uint(0); ; shift += 7 { 83537 if shift >= 64 { 83538 return ErrIntOverflowTypes 83539 } 83540 if iNdEx >= l { 83541 return io.ErrUnexpectedEOF 83542 } 83543 b := dAtA[iNdEx] 83544 iNdEx++ 83545 byteLen |= int(b&0x7F) << shift 83546 if b < 0x80 { 83547 break 83548 } 83549 } 83550 if byteLen < 0 { 83551 return ErrInvalidLengthTypes 83552 } 83553 postIndex := iNdEx + byteLen 83554 if postIndex < 0 { 83555 return ErrInvalidLengthTypes 83556 } 83557 if postIndex > l { 83558 return io.ErrUnexpectedEOF 83559 } 83560 m.UserID = append(m.UserID[:0], dAtA[iNdEx:postIndex]...) 83561 if m.UserID == nil { 83562 m.UserID = []byte{} 83563 } 83564 iNdEx = postIndex 83565 default: 83566 iNdEx = preIndex 83567 skippy, err := skipTypes(dAtA[iNdEx:]) 83568 if err != nil { 83569 return err 83570 } 83571 if (skippy < 0) || (iNdEx+skippy) < 0 { 83572 return ErrInvalidLengthTypes 83573 } 83574 if (iNdEx + skippy) > l { 83575 return io.ErrUnexpectedEOF 83576 } 83577 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 83578 iNdEx += skippy 83579 } 83580 } 83581 83582 if iNdEx > l { 83583 return io.ErrUnexpectedEOF 83584 } 83585 return nil 83586 } 83587 func (m *ConnectorRef) Unmarshal(dAtA []byte) error { 83588 l := len(dAtA) 83589 iNdEx := 0 83590 for iNdEx < l { 83591 preIndex := iNdEx 83592 var wire uint64 83593 for shift := uint(0); ; shift += 7 { 83594 if shift >= 64 { 83595 return ErrIntOverflowTypes 83596 } 83597 if iNdEx >= l { 83598 return io.ErrUnexpectedEOF 83599 } 83600 b := dAtA[iNdEx] 83601 iNdEx++ 83602 wire |= uint64(b&0x7F) << shift 83603 if b < 0x80 { 83604 break 83605 } 83606 } 83607 fieldNum := int32(wire >> 3) 83608 wireType := int(wire & 0x7) 83609 if wireType == 4 { 83610 return fmt.Errorf("proto: ConnectorRef: wiretype end group for non-group") 83611 } 83612 if fieldNum <= 0 { 83613 return fmt.Errorf("proto: ConnectorRef: illegal tag %d (wire type %d)", fieldNum, wire) 83614 } 83615 switch fieldNum { 83616 case 1: 83617 if wireType != 2 { 83618 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 83619 } 83620 var stringLen uint64 83621 for shift := uint(0); ; shift += 7 { 83622 if shift >= 64 { 83623 return ErrIntOverflowTypes 83624 } 83625 if iNdEx >= l { 83626 return io.ErrUnexpectedEOF 83627 } 83628 b := dAtA[iNdEx] 83629 iNdEx++ 83630 stringLen |= uint64(b&0x7F) << shift 83631 if b < 0x80 { 83632 break 83633 } 83634 } 83635 intStringLen := int(stringLen) 83636 if intStringLen < 0 { 83637 return ErrInvalidLengthTypes 83638 } 83639 postIndex := iNdEx + intStringLen 83640 if postIndex < 0 { 83641 return ErrInvalidLengthTypes 83642 } 83643 if postIndex > l { 83644 return io.ErrUnexpectedEOF 83645 } 83646 m.Type = string(dAtA[iNdEx:postIndex]) 83647 iNdEx = postIndex 83648 case 2: 83649 if wireType != 2 { 83650 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 83651 } 83652 var stringLen uint64 83653 for shift := uint(0); ; shift += 7 { 83654 if shift >= 64 { 83655 return ErrIntOverflowTypes 83656 } 83657 if iNdEx >= l { 83658 return io.ErrUnexpectedEOF 83659 } 83660 b := dAtA[iNdEx] 83661 iNdEx++ 83662 stringLen |= uint64(b&0x7F) << shift 83663 if b < 0x80 { 83664 break 83665 } 83666 } 83667 intStringLen := int(stringLen) 83668 if intStringLen < 0 { 83669 return ErrInvalidLengthTypes 83670 } 83671 postIndex := iNdEx + intStringLen 83672 if postIndex < 0 { 83673 return ErrInvalidLengthTypes 83674 } 83675 if postIndex > l { 83676 return io.ErrUnexpectedEOF 83677 } 83678 m.ID = string(dAtA[iNdEx:postIndex]) 83679 iNdEx = postIndex 83680 case 3: 83681 if wireType != 2 { 83682 return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) 83683 } 83684 var stringLen uint64 83685 for shift := uint(0); ; shift += 7 { 83686 if shift >= 64 { 83687 return ErrIntOverflowTypes 83688 } 83689 if iNdEx >= l { 83690 return io.ErrUnexpectedEOF 83691 } 83692 b := dAtA[iNdEx] 83693 iNdEx++ 83694 stringLen |= uint64(b&0x7F) << shift 83695 if b < 0x80 { 83696 break 83697 } 83698 } 83699 intStringLen := int(stringLen) 83700 if intStringLen < 0 { 83701 return ErrInvalidLengthTypes 83702 } 83703 postIndex := iNdEx + intStringLen 83704 if postIndex < 0 { 83705 return ErrInvalidLengthTypes 83706 } 83707 if postIndex > l { 83708 return io.ErrUnexpectedEOF 83709 } 83710 m.Identity = string(dAtA[iNdEx:postIndex]) 83711 iNdEx = postIndex 83712 default: 83713 iNdEx = preIndex 83714 skippy, err := skipTypes(dAtA[iNdEx:]) 83715 if err != nil { 83716 return err 83717 } 83718 if (skippy < 0) || (iNdEx+skippy) < 0 { 83719 return ErrInvalidLengthTypes 83720 } 83721 if (iNdEx + skippy) > l { 83722 return io.ErrUnexpectedEOF 83723 } 83724 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 83725 iNdEx += skippy 83726 } 83727 } 83728 83729 if iNdEx > l { 83730 return io.ErrUnexpectedEOF 83731 } 83732 return nil 83733 } 83734 func (m *UserRef) Unmarshal(dAtA []byte) error { 83735 l := len(dAtA) 83736 iNdEx := 0 83737 for iNdEx < l { 83738 preIndex := iNdEx 83739 var wire uint64 83740 for shift := uint(0); ; shift += 7 { 83741 if shift >= 64 { 83742 return ErrIntOverflowTypes 83743 } 83744 if iNdEx >= l { 83745 return io.ErrUnexpectedEOF 83746 } 83747 b := dAtA[iNdEx] 83748 iNdEx++ 83749 wire |= uint64(b&0x7F) << shift 83750 if b < 0x80 { 83751 break 83752 } 83753 } 83754 fieldNum := int32(wire >> 3) 83755 wireType := int(wire & 0x7) 83756 if wireType == 4 { 83757 return fmt.Errorf("proto: UserRef: wiretype end group for non-group") 83758 } 83759 if fieldNum <= 0 { 83760 return fmt.Errorf("proto: UserRef: illegal tag %d (wire type %d)", fieldNum, wire) 83761 } 83762 switch fieldNum { 83763 case 1: 83764 if wireType != 2 { 83765 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 83766 } 83767 var stringLen uint64 83768 for shift := uint(0); ; shift += 7 { 83769 if shift >= 64 { 83770 return ErrIntOverflowTypes 83771 } 83772 if iNdEx >= l { 83773 return io.ErrUnexpectedEOF 83774 } 83775 b := dAtA[iNdEx] 83776 iNdEx++ 83777 stringLen |= uint64(b&0x7F) << shift 83778 if b < 0x80 { 83779 break 83780 } 83781 } 83782 intStringLen := int(stringLen) 83783 if intStringLen < 0 { 83784 return ErrInvalidLengthTypes 83785 } 83786 postIndex := iNdEx + intStringLen 83787 if postIndex < 0 { 83788 return ErrInvalidLengthTypes 83789 } 83790 if postIndex > l { 83791 return io.ErrUnexpectedEOF 83792 } 83793 m.Name = string(dAtA[iNdEx:postIndex]) 83794 iNdEx = postIndex 83795 default: 83796 iNdEx = preIndex 83797 skippy, err := skipTypes(dAtA[iNdEx:]) 83798 if err != nil { 83799 return err 83800 } 83801 if (skippy < 0) || (iNdEx+skippy) < 0 { 83802 return ErrInvalidLengthTypes 83803 } 83804 if (iNdEx + skippy) > l { 83805 return io.ErrUnexpectedEOF 83806 } 83807 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 83808 iNdEx += skippy 83809 } 83810 } 83811 83812 if iNdEx > l { 83813 return io.ErrUnexpectedEOF 83814 } 83815 return nil 83816 } 83817 func (m *ReverseTunnelV2) Unmarshal(dAtA []byte) error { 83818 l := len(dAtA) 83819 iNdEx := 0 83820 for iNdEx < l { 83821 preIndex := iNdEx 83822 var wire uint64 83823 for shift := uint(0); ; shift += 7 { 83824 if shift >= 64 { 83825 return ErrIntOverflowTypes 83826 } 83827 if iNdEx >= l { 83828 return io.ErrUnexpectedEOF 83829 } 83830 b := dAtA[iNdEx] 83831 iNdEx++ 83832 wire |= uint64(b&0x7F) << shift 83833 if b < 0x80 { 83834 break 83835 } 83836 } 83837 fieldNum := int32(wire >> 3) 83838 wireType := int(wire & 0x7) 83839 if wireType == 4 { 83840 return fmt.Errorf("proto: ReverseTunnelV2: wiretype end group for non-group") 83841 } 83842 if fieldNum <= 0 { 83843 return fmt.Errorf("proto: ReverseTunnelV2: illegal tag %d (wire type %d)", fieldNum, wire) 83844 } 83845 switch fieldNum { 83846 case 1: 83847 if wireType != 2 { 83848 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 83849 } 83850 var stringLen uint64 83851 for shift := uint(0); ; shift += 7 { 83852 if shift >= 64 { 83853 return ErrIntOverflowTypes 83854 } 83855 if iNdEx >= l { 83856 return io.ErrUnexpectedEOF 83857 } 83858 b := dAtA[iNdEx] 83859 iNdEx++ 83860 stringLen |= uint64(b&0x7F) << shift 83861 if b < 0x80 { 83862 break 83863 } 83864 } 83865 intStringLen := int(stringLen) 83866 if intStringLen < 0 { 83867 return ErrInvalidLengthTypes 83868 } 83869 postIndex := iNdEx + intStringLen 83870 if postIndex < 0 { 83871 return ErrInvalidLengthTypes 83872 } 83873 if postIndex > l { 83874 return io.ErrUnexpectedEOF 83875 } 83876 m.Kind = string(dAtA[iNdEx:postIndex]) 83877 iNdEx = postIndex 83878 case 2: 83879 if wireType != 2 { 83880 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 83881 } 83882 var stringLen uint64 83883 for shift := uint(0); ; shift += 7 { 83884 if shift >= 64 { 83885 return ErrIntOverflowTypes 83886 } 83887 if iNdEx >= l { 83888 return io.ErrUnexpectedEOF 83889 } 83890 b := dAtA[iNdEx] 83891 iNdEx++ 83892 stringLen |= uint64(b&0x7F) << shift 83893 if b < 0x80 { 83894 break 83895 } 83896 } 83897 intStringLen := int(stringLen) 83898 if intStringLen < 0 { 83899 return ErrInvalidLengthTypes 83900 } 83901 postIndex := iNdEx + intStringLen 83902 if postIndex < 0 { 83903 return ErrInvalidLengthTypes 83904 } 83905 if postIndex > l { 83906 return io.ErrUnexpectedEOF 83907 } 83908 m.SubKind = string(dAtA[iNdEx:postIndex]) 83909 iNdEx = postIndex 83910 case 3: 83911 if wireType != 2 { 83912 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 83913 } 83914 var stringLen uint64 83915 for shift := uint(0); ; shift += 7 { 83916 if shift >= 64 { 83917 return ErrIntOverflowTypes 83918 } 83919 if iNdEx >= l { 83920 return io.ErrUnexpectedEOF 83921 } 83922 b := dAtA[iNdEx] 83923 iNdEx++ 83924 stringLen |= uint64(b&0x7F) << shift 83925 if b < 0x80 { 83926 break 83927 } 83928 } 83929 intStringLen := int(stringLen) 83930 if intStringLen < 0 { 83931 return ErrInvalidLengthTypes 83932 } 83933 postIndex := iNdEx + intStringLen 83934 if postIndex < 0 { 83935 return ErrInvalidLengthTypes 83936 } 83937 if postIndex > l { 83938 return io.ErrUnexpectedEOF 83939 } 83940 m.Version = string(dAtA[iNdEx:postIndex]) 83941 iNdEx = postIndex 83942 case 4: 83943 if wireType != 2 { 83944 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 83945 } 83946 var msglen int 83947 for shift := uint(0); ; shift += 7 { 83948 if shift >= 64 { 83949 return ErrIntOverflowTypes 83950 } 83951 if iNdEx >= l { 83952 return io.ErrUnexpectedEOF 83953 } 83954 b := dAtA[iNdEx] 83955 iNdEx++ 83956 msglen |= int(b&0x7F) << shift 83957 if b < 0x80 { 83958 break 83959 } 83960 } 83961 if msglen < 0 { 83962 return ErrInvalidLengthTypes 83963 } 83964 postIndex := iNdEx + msglen 83965 if postIndex < 0 { 83966 return ErrInvalidLengthTypes 83967 } 83968 if postIndex > l { 83969 return io.ErrUnexpectedEOF 83970 } 83971 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 83972 return err 83973 } 83974 iNdEx = postIndex 83975 case 5: 83976 if wireType != 2 { 83977 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 83978 } 83979 var msglen int 83980 for shift := uint(0); ; shift += 7 { 83981 if shift >= 64 { 83982 return ErrIntOverflowTypes 83983 } 83984 if iNdEx >= l { 83985 return io.ErrUnexpectedEOF 83986 } 83987 b := dAtA[iNdEx] 83988 iNdEx++ 83989 msglen |= int(b&0x7F) << shift 83990 if b < 0x80 { 83991 break 83992 } 83993 } 83994 if msglen < 0 { 83995 return ErrInvalidLengthTypes 83996 } 83997 postIndex := iNdEx + msglen 83998 if postIndex < 0 { 83999 return ErrInvalidLengthTypes 84000 } 84001 if postIndex > l { 84002 return io.ErrUnexpectedEOF 84003 } 84004 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 84005 return err 84006 } 84007 iNdEx = postIndex 84008 default: 84009 iNdEx = preIndex 84010 skippy, err := skipTypes(dAtA[iNdEx:]) 84011 if err != nil { 84012 return err 84013 } 84014 if (skippy < 0) || (iNdEx+skippy) < 0 { 84015 return ErrInvalidLengthTypes 84016 } 84017 if (iNdEx + skippy) > l { 84018 return io.ErrUnexpectedEOF 84019 } 84020 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 84021 iNdEx += skippy 84022 } 84023 } 84024 84025 if iNdEx > l { 84026 return io.ErrUnexpectedEOF 84027 } 84028 return nil 84029 } 84030 func (m *ReverseTunnelSpecV2) Unmarshal(dAtA []byte) error { 84031 l := len(dAtA) 84032 iNdEx := 0 84033 for iNdEx < l { 84034 preIndex := iNdEx 84035 var wire uint64 84036 for shift := uint(0); ; shift += 7 { 84037 if shift >= 64 { 84038 return ErrIntOverflowTypes 84039 } 84040 if iNdEx >= l { 84041 return io.ErrUnexpectedEOF 84042 } 84043 b := dAtA[iNdEx] 84044 iNdEx++ 84045 wire |= uint64(b&0x7F) << shift 84046 if b < 0x80 { 84047 break 84048 } 84049 } 84050 fieldNum := int32(wire >> 3) 84051 wireType := int(wire & 0x7) 84052 if wireType == 4 { 84053 return fmt.Errorf("proto: ReverseTunnelSpecV2: wiretype end group for non-group") 84054 } 84055 if fieldNum <= 0 { 84056 return fmt.Errorf("proto: ReverseTunnelSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 84057 } 84058 switch fieldNum { 84059 case 1: 84060 if wireType != 2 { 84061 return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) 84062 } 84063 var stringLen uint64 84064 for shift := uint(0); ; shift += 7 { 84065 if shift >= 64 { 84066 return ErrIntOverflowTypes 84067 } 84068 if iNdEx >= l { 84069 return io.ErrUnexpectedEOF 84070 } 84071 b := dAtA[iNdEx] 84072 iNdEx++ 84073 stringLen |= uint64(b&0x7F) << shift 84074 if b < 0x80 { 84075 break 84076 } 84077 } 84078 intStringLen := int(stringLen) 84079 if intStringLen < 0 { 84080 return ErrInvalidLengthTypes 84081 } 84082 postIndex := iNdEx + intStringLen 84083 if postIndex < 0 { 84084 return ErrInvalidLengthTypes 84085 } 84086 if postIndex > l { 84087 return io.ErrUnexpectedEOF 84088 } 84089 m.ClusterName = string(dAtA[iNdEx:postIndex]) 84090 iNdEx = postIndex 84091 case 2: 84092 if wireType != 2 { 84093 return fmt.Errorf("proto: wrong wireType = %d for field DialAddrs", wireType) 84094 } 84095 var stringLen uint64 84096 for shift := uint(0); ; shift += 7 { 84097 if shift >= 64 { 84098 return ErrIntOverflowTypes 84099 } 84100 if iNdEx >= l { 84101 return io.ErrUnexpectedEOF 84102 } 84103 b := dAtA[iNdEx] 84104 iNdEx++ 84105 stringLen |= uint64(b&0x7F) << shift 84106 if b < 0x80 { 84107 break 84108 } 84109 } 84110 intStringLen := int(stringLen) 84111 if intStringLen < 0 { 84112 return ErrInvalidLengthTypes 84113 } 84114 postIndex := iNdEx + intStringLen 84115 if postIndex < 0 { 84116 return ErrInvalidLengthTypes 84117 } 84118 if postIndex > l { 84119 return io.ErrUnexpectedEOF 84120 } 84121 m.DialAddrs = append(m.DialAddrs, string(dAtA[iNdEx:postIndex])) 84122 iNdEx = postIndex 84123 case 3: 84124 if wireType != 2 { 84125 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 84126 } 84127 var stringLen uint64 84128 for shift := uint(0); ; shift += 7 { 84129 if shift >= 64 { 84130 return ErrIntOverflowTypes 84131 } 84132 if iNdEx >= l { 84133 return io.ErrUnexpectedEOF 84134 } 84135 b := dAtA[iNdEx] 84136 iNdEx++ 84137 stringLen |= uint64(b&0x7F) << shift 84138 if b < 0x80 { 84139 break 84140 } 84141 } 84142 intStringLen := int(stringLen) 84143 if intStringLen < 0 { 84144 return ErrInvalidLengthTypes 84145 } 84146 postIndex := iNdEx + intStringLen 84147 if postIndex < 0 { 84148 return ErrInvalidLengthTypes 84149 } 84150 if postIndex > l { 84151 return io.ErrUnexpectedEOF 84152 } 84153 m.Type = TunnelType(dAtA[iNdEx:postIndex]) 84154 iNdEx = postIndex 84155 default: 84156 iNdEx = preIndex 84157 skippy, err := skipTypes(dAtA[iNdEx:]) 84158 if err != nil { 84159 return err 84160 } 84161 if (skippy < 0) || (iNdEx+skippy) < 0 { 84162 return ErrInvalidLengthTypes 84163 } 84164 if (iNdEx + skippy) > l { 84165 return io.ErrUnexpectedEOF 84166 } 84167 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 84168 iNdEx += skippy 84169 } 84170 } 84171 84172 if iNdEx > l { 84173 return io.ErrUnexpectedEOF 84174 } 84175 return nil 84176 } 84177 func (m *TunnelConnectionV2) Unmarshal(dAtA []byte) error { 84178 l := len(dAtA) 84179 iNdEx := 0 84180 for iNdEx < l { 84181 preIndex := iNdEx 84182 var wire uint64 84183 for shift := uint(0); ; shift += 7 { 84184 if shift >= 64 { 84185 return ErrIntOverflowTypes 84186 } 84187 if iNdEx >= l { 84188 return io.ErrUnexpectedEOF 84189 } 84190 b := dAtA[iNdEx] 84191 iNdEx++ 84192 wire |= uint64(b&0x7F) << shift 84193 if b < 0x80 { 84194 break 84195 } 84196 } 84197 fieldNum := int32(wire >> 3) 84198 wireType := int(wire & 0x7) 84199 if wireType == 4 { 84200 return fmt.Errorf("proto: TunnelConnectionV2: wiretype end group for non-group") 84201 } 84202 if fieldNum <= 0 { 84203 return fmt.Errorf("proto: TunnelConnectionV2: illegal tag %d (wire type %d)", fieldNum, wire) 84204 } 84205 switch fieldNum { 84206 case 1: 84207 if wireType != 2 { 84208 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 84209 } 84210 var stringLen uint64 84211 for shift := uint(0); ; shift += 7 { 84212 if shift >= 64 { 84213 return ErrIntOverflowTypes 84214 } 84215 if iNdEx >= l { 84216 return io.ErrUnexpectedEOF 84217 } 84218 b := dAtA[iNdEx] 84219 iNdEx++ 84220 stringLen |= uint64(b&0x7F) << shift 84221 if b < 0x80 { 84222 break 84223 } 84224 } 84225 intStringLen := int(stringLen) 84226 if intStringLen < 0 { 84227 return ErrInvalidLengthTypes 84228 } 84229 postIndex := iNdEx + intStringLen 84230 if postIndex < 0 { 84231 return ErrInvalidLengthTypes 84232 } 84233 if postIndex > l { 84234 return io.ErrUnexpectedEOF 84235 } 84236 m.Kind = string(dAtA[iNdEx:postIndex]) 84237 iNdEx = postIndex 84238 case 2: 84239 if wireType != 2 { 84240 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 84241 } 84242 var stringLen uint64 84243 for shift := uint(0); ; shift += 7 { 84244 if shift >= 64 { 84245 return ErrIntOverflowTypes 84246 } 84247 if iNdEx >= l { 84248 return io.ErrUnexpectedEOF 84249 } 84250 b := dAtA[iNdEx] 84251 iNdEx++ 84252 stringLen |= uint64(b&0x7F) << shift 84253 if b < 0x80 { 84254 break 84255 } 84256 } 84257 intStringLen := int(stringLen) 84258 if intStringLen < 0 { 84259 return ErrInvalidLengthTypes 84260 } 84261 postIndex := iNdEx + intStringLen 84262 if postIndex < 0 { 84263 return ErrInvalidLengthTypes 84264 } 84265 if postIndex > l { 84266 return io.ErrUnexpectedEOF 84267 } 84268 m.SubKind = string(dAtA[iNdEx:postIndex]) 84269 iNdEx = postIndex 84270 case 3: 84271 if wireType != 2 { 84272 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 84273 } 84274 var stringLen uint64 84275 for shift := uint(0); ; shift += 7 { 84276 if shift >= 64 { 84277 return ErrIntOverflowTypes 84278 } 84279 if iNdEx >= l { 84280 return io.ErrUnexpectedEOF 84281 } 84282 b := dAtA[iNdEx] 84283 iNdEx++ 84284 stringLen |= uint64(b&0x7F) << shift 84285 if b < 0x80 { 84286 break 84287 } 84288 } 84289 intStringLen := int(stringLen) 84290 if intStringLen < 0 { 84291 return ErrInvalidLengthTypes 84292 } 84293 postIndex := iNdEx + intStringLen 84294 if postIndex < 0 { 84295 return ErrInvalidLengthTypes 84296 } 84297 if postIndex > l { 84298 return io.ErrUnexpectedEOF 84299 } 84300 m.Version = string(dAtA[iNdEx:postIndex]) 84301 iNdEx = postIndex 84302 case 4: 84303 if wireType != 2 { 84304 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 84305 } 84306 var msglen int 84307 for shift := uint(0); ; shift += 7 { 84308 if shift >= 64 { 84309 return ErrIntOverflowTypes 84310 } 84311 if iNdEx >= l { 84312 return io.ErrUnexpectedEOF 84313 } 84314 b := dAtA[iNdEx] 84315 iNdEx++ 84316 msglen |= int(b&0x7F) << shift 84317 if b < 0x80 { 84318 break 84319 } 84320 } 84321 if msglen < 0 { 84322 return ErrInvalidLengthTypes 84323 } 84324 postIndex := iNdEx + msglen 84325 if postIndex < 0 { 84326 return ErrInvalidLengthTypes 84327 } 84328 if postIndex > l { 84329 return io.ErrUnexpectedEOF 84330 } 84331 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 84332 return err 84333 } 84334 iNdEx = postIndex 84335 case 5: 84336 if wireType != 2 { 84337 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 84338 } 84339 var msglen int 84340 for shift := uint(0); ; shift += 7 { 84341 if shift >= 64 { 84342 return ErrIntOverflowTypes 84343 } 84344 if iNdEx >= l { 84345 return io.ErrUnexpectedEOF 84346 } 84347 b := dAtA[iNdEx] 84348 iNdEx++ 84349 msglen |= int(b&0x7F) << shift 84350 if b < 0x80 { 84351 break 84352 } 84353 } 84354 if msglen < 0 { 84355 return ErrInvalidLengthTypes 84356 } 84357 postIndex := iNdEx + msglen 84358 if postIndex < 0 { 84359 return ErrInvalidLengthTypes 84360 } 84361 if postIndex > l { 84362 return io.ErrUnexpectedEOF 84363 } 84364 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 84365 return err 84366 } 84367 iNdEx = postIndex 84368 default: 84369 iNdEx = preIndex 84370 skippy, err := skipTypes(dAtA[iNdEx:]) 84371 if err != nil { 84372 return err 84373 } 84374 if (skippy < 0) || (iNdEx+skippy) < 0 { 84375 return ErrInvalidLengthTypes 84376 } 84377 if (iNdEx + skippy) > l { 84378 return io.ErrUnexpectedEOF 84379 } 84380 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 84381 iNdEx += skippy 84382 } 84383 } 84384 84385 if iNdEx > l { 84386 return io.ErrUnexpectedEOF 84387 } 84388 return nil 84389 } 84390 func (m *TunnelConnectionSpecV2) Unmarshal(dAtA []byte) error { 84391 l := len(dAtA) 84392 iNdEx := 0 84393 for iNdEx < l { 84394 preIndex := iNdEx 84395 var wire uint64 84396 for shift := uint(0); ; shift += 7 { 84397 if shift >= 64 { 84398 return ErrIntOverflowTypes 84399 } 84400 if iNdEx >= l { 84401 return io.ErrUnexpectedEOF 84402 } 84403 b := dAtA[iNdEx] 84404 iNdEx++ 84405 wire |= uint64(b&0x7F) << shift 84406 if b < 0x80 { 84407 break 84408 } 84409 } 84410 fieldNum := int32(wire >> 3) 84411 wireType := int(wire & 0x7) 84412 if wireType == 4 { 84413 return fmt.Errorf("proto: TunnelConnectionSpecV2: wiretype end group for non-group") 84414 } 84415 if fieldNum <= 0 { 84416 return fmt.Errorf("proto: TunnelConnectionSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 84417 } 84418 switch fieldNum { 84419 case 1: 84420 if wireType != 2 { 84421 return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) 84422 } 84423 var stringLen uint64 84424 for shift := uint(0); ; shift += 7 { 84425 if shift >= 64 { 84426 return ErrIntOverflowTypes 84427 } 84428 if iNdEx >= l { 84429 return io.ErrUnexpectedEOF 84430 } 84431 b := dAtA[iNdEx] 84432 iNdEx++ 84433 stringLen |= uint64(b&0x7F) << shift 84434 if b < 0x80 { 84435 break 84436 } 84437 } 84438 intStringLen := int(stringLen) 84439 if intStringLen < 0 { 84440 return ErrInvalidLengthTypes 84441 } 84442 postIndex := iNdEx + intStringLen 84443 if postIndex < 0 { 84444 return ErrInvalidLengthTypes 84445 } 84446 if postIndex > l { 84447 return io.ErrUnexpectedEOF 84448 } 84449 m.ClusterName = string(dAtA[iNdEx:postIndex]) 84450 iNdEx = postIndex 84451 case 2: 84452 if wireType != 2 { 84453 return fmt.Errorf("proto: wrong wireType = %d for field ProxyName", wireType) 84454 } 84455 var stringLen uint64 84456 for shift := uint(0); ; shift += 7 { 84457 if shift >= 64 { 84458 return ErrIntOverflowTypes 84459 } 84460 if iNdEx >= l { 84461 return io.ErrUnexpectedEOF 84462 } 84463 b := dAtA[iNdEx] 84464 iNdEx++ 84465 stringLen |= uint64(b&0x7F) << shift 84466 if b < 0x80 { 84467 break 84468 } 84469 } 84470 intStringLen := int(stringLen) 84471 if intStringLen < 0 { 84472 return ErrInvalidLengthTypes 84473 } 84474 postIndex := iNdEx + intStringLen 84475 if postIndex < 0 { 84476 return ErrInvalidLengthTypes 84477 } 84478 if postIndex > l { 84479 return io.ErrUnexpectedEOF 84480 } 84481 m.ProxyName = string(dAtA[iNdEx:postIndex]) 84482 iNdEx = postIndex 84483 case 3: 84484 if wireType != 2 { 84485 return fmt.Errorf("proto: wrong wireType = %d for field LastHeartbeat", wireType) 84486 } 84487 var msglen int 84488 for shift := uint(0); ; shift += 7 { 84489 if shift >= 64 { 84490 return ErrIntOverflowTypes 84491 } 84492 if iNdEx >= l { 84493 return io.ErrUnexpectedEOF 84494 } 84495 b := dAtA[iNdEx] 84496 iNdEx++ 84497 msglen |= int(b&0x7F) << shift 84498 if b < 0x80 { 84499 break 84500 } 84501 } 84502 if msglen < 0 { 84503 return ErrInvalidLengthTypes 84504 } 84505 postIndex := iNdEx + msglen 84506 if postIndex < 0 { 84507 return ErrInvalidLengthTypes 84508 } 84509 if postIndex > l { 84510 return io.ErrUnexpectedEOF 84511 } 84512 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.LastHeartbeat, dAtA[iNdEx:postIndex]); err != nil { 84513 return err 84514 } 84515 iNdEx = postIndex 84516 case 4: 84517 if wireType != 2 { 84518 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 84519 } 84520 var stringLen uint64 84521 for shift := uint(0); ; shift += 7 { 84522 if shift >= 64 { 84523 return ErrIntOverflowTypes 84524 } 84525 if iNdEx >= l { 84526 return io.ErrUnexpectedEOF 84527 } 84528 b := dAtA[iNdEx] 84529 iNdEx++ 84530 stringLen |= uint64(b&0x7F) << shift 84531 if b < 0x80 { 84532 break 84533 } 84534 } 84535 intStringLen := int(stringLen) 84536 if intStringLen < 0 { 84537 return ErrInvalidLengthTypes 84538 } 84539 postIndex := iNdEx + intStringLen 84540 if postIndex < 0 { 84541 return ErrInvalidLengthTypes 84542 } 84543 if postIndex > l { 84544 return io.ErrUnexpectedEOF 84545 } 84546 m.Type = TunnelType(dAtA[iNdEx:postIndex]) 84547 iNdEx = postIndex 84548 default: 84549 iNdEx = preIndex 84550 skippy, err := skipTypes(dAtA[iNdEx:]) 84551 if err != nil { 84552 return err 84553 } 84554 if (skippy < 0) || (iNdEx+skippy) < 0 { 84555 return ErrInvalidLengthTypes 84556 } 84557 if (iNdEx + skippy) > l { 84558 return io.ErrUnexpectedEOF 84559 } 84560 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 84561 iNdEx += skippy 84562 } 84563 } 84564 84565 if iNdEx > l { 84566 return io.ErrUnexpectedEOF 84567 } 84568 return nil 84569 } 84570 func (m *SemaphoreFilter) Unmarshal(dAtA []byte) error { 84571 l := len(dAtA) 84572 iNdEx := 0 84573 for iNdEx < l { 84574 preIndex := iNdEx 84575 var wire uint64 84576 for shift := uint(0); ; shift += 7 { 84577 if shift >= 64 { 84578 return ErrIntOverflowTypes 84579 } 84580 if iNdEx >= l { 84581 return io.ErrUnexpectedEOF 84582 } 84583 b := dAtA[iNdEx] 84584 iNdEx++ 84585 wire |= uint64(b&0x7F) << shift 84586 if b < 0x80 { 84587 break 84588 } 84589 } 84590 fieldNum := int32(wire >> 3) 84591 wireType := int(wire & 0x7) 84592 if wireType == 4 { 84593 return fmt.Errorf("proto: SemaphoreFilter: wiretype end group for non-group") 84594 } 84595 if fieldNum <= 0 { 84596 return fmt.Errorf("proto: SemaphoreFilter: illegal tag %d (wire type %d)", fieldNum, wire) 84597 } 84598 switch fieldNum { 84599 case 1: 84600 if wireType != 2 { 84601 return fmt.Errorf("proto: wrong wireType = %d for field SemaphoreKind", wireType) 84602 } 84603 var stringLen uint64 84604 for shift := uint(0); ; shift += 7 { 84605 if shift >= 64 { 84606 return ErrIntOverflowTypes 84607 } 84608 if iNdEx >= l { 84609 return io.ErrUnexpectedEOF 84610 } 84611 b := dAtA[iNdEx] 84612 iNdEx++ 84613 stringLen |= uint64(b&0x7F) << shift 84614 if b < 0x80 { 84615 break 84616 } 84617 } 84618 intStringLen := int(stringLen) 84619 if intStringLen < 0 { 84620 return ErrInvalidLengthTypes 84621 } 84622 postIndex := iNdEx + intStringLen 84623 if postIndex < 0 { 84624 return ErrInvalidLengthTypes 84625 } 84626 if postIndex > l { 84627 return io.ErrUnexpectedEOF 84628 } 84629 m.SemaphoreKind = string(dAtA[iNdEx:postIndex]) 84630 iNdEx = postIndex 84631 case 2: 84632 if wireType != 2 { 84633 return fmt.Errorf("proto: wrong wireType = %d for field SemaphoreName", wireType) 84634 } 84635 var stringLen uint64 84636 for shift := uint(0); ; shift += 7 { 84637 if shift >= 64 { 84638 return ErrIntOverflowTypes 84639 } 84640 if iNdEx >= l { 84641 return io.ErrUnexpectedEOF 84642 } 84643 b := dAtA[iNdEx] 84644 iNdEx++ 84645 stringLen |= uint64(b&0x7F) << shift 84646 if b < 0x80 { 84647 break 84648 } 84649 } 84650 intStringLen := int(stringLen) 84651 if intStringLen < 0 { 84652 return ErrInvalidLengthTypes 84653 } 84654 postIndex := iNdEx + intStringLen 84655 if postIndex < 0 { 84656 return ErrInvalidLengthTypes 84657 } 84658 if postIndex > l { 84659 return io.ErrUnexpectedEOF 84660 } 84661 m.SemaphoreName = string(dAtA[iNdEx:postIndex]) 84662 iNdEx = postIndex 84663 default: 84664 iNdEx = preIndex 84665 skippy, err := skipTypes(dAtA[iNdEx:]) 84666 if err != nil { 84667 return err 84668 } 84669 if (skippy < 0) || (iNdEx+skippy) < 0 { 84670 return ErrInvalidLengthTypes 84671 } 84672 if (iNdEx + skippy) > l { 84673 return io.ErrUnexpectedEOF 84674 } 84675 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 84676 iNdEx += skippy 84677 } 84678 } 84679 84680 if iNdEx > l { 84681 return io.ErrUnexpectedEOF 84682 } 84683 return nil 84684 } 84685 func (m *AcquireSemaphoreRequest) Unmarshal(dAtA []byte) error { 84686 l := len(dAtA) 84687 iNdEx := 0 84688 for iNdEx < l { 84689 preIndex := iNdEx 84690 var wire uint64 84691 for shift := uint(0); ; shift += 7 { 84692 if shift >= 64 { 84693 return ErrIntOverflowTypes 84694 } 84695 if iNdEx >= l { 84696 return io.ErrUnexpectedEOF 84697 } 84698 b := dAtA[iNdEx] 84699 iNdEx++ 84700 wire |= uint64(b&0x7F) << shift 84701 if b < 0x80 { 84702 break 84703 } 84704 } 84705 fieldNum := int32(wire >> 3) 84706 wireType := int(wire & 0x7) 84707 if wireType == 4 { 84708 return fmt.Errorf("proto: AcquireSemaphoreRequest: wiretype end group for non-group") 84709 } 84710 if fieldNum <= 0 { 84711 return fmt.Errorf("proto: AcquireSemaphoreRequest: illegal tag %d (wire type %d)", fieldNum, wire) 84712 } 84713 switch fieldNum { 84714 case 1: 84715 if wireType != 2 { 84716 return fmt.Errorf("proto: wrong wireType = %d for field SemaphoreKind", wireType) 84717 } 84718 var stringLen uint64 84719 for shift := uint(0); ; shift += 7 { 84720 if shift >= 64 { 84721 return ErrIntOverflowTypes 84722 } 84723 if iNdEx >= l { 84724 return io.ErrUnexpectedEOF 84725 } 84726 b := dAtA[iNdEx] 84727 iNdEx++ 84728 stringLen |= uint64(b&0x7F) << shift 84729 if b < 0x80 { 84730 break 84731 } 84732 } 84733 intStringLen := int(stringLen) 84734 if intStringLen < 0 { 84735 return ErrInvalidLengthTypes 84736 } 84737 postIndex := iNdEx + intStringLen 84738 if postIndex < 0 { 84739 return ErrInvalidLengthTypes 84740 } 84741 if postIndex > l { 84742 return io.ErrUnexpectedEOF 84743 } 84744 m.SemaphoreKind = string(dAtA[iNdEx:postIndex]) 84745 iNdEx = postIndex 84746 case 2: 84747 if wireType != 2 { 84748 return fmt.Errorf("proto: wrong wireType = %d for field SemaphoreName", wireType) 84749 } 84750 var stringLen uint64 84751 for shift := uint(0); ; shift += 7 { 84752 if shift >= 64 { 84753 return ErrIntOverflowTypes 84754 } 84755 if iNdEx >= l { 84756 return io.ErrUnexpectedEOF 84757 } 84758 b := dAtA[iNdEx] 84759 iNdEx++ 84760 stringLen |= uint64(b&0x7F) << shift 84761 if b < 0x80 { 84762 break 84763 } 84764 } 84765 intStringLen := int(stringLen) 84766 if intStringLen < 0 { 84767 return ErrInvalidLengthTypes 84768 } 84769 postIndex := iNdEx + intStringLen 84770 if postIndex < 0 { 84771 return ErrInvalidLengthTypes 84772 } 84773 if postIndex > l { 84774 return io.ErrUnexpectedEOF 84775 } 84776 m.SemaphoreName = string(dAtA[iNdEx:postIndex]) 84777 iNdEx = postIndex 84778 case 3: 84779 if wireType != 0 { 84780 return fmt.Errorf("proto: wrong wireType = %d for field MaxLeases", wireType) 84781 } 84782 m.MaxLeases = 0 84783 for shift := uint(0); ; shift += 7 { 84784 if shift >= 64 { 84785 return ErrIntOverflowTypes 84786 } 84787 if iNdEx >= l { 84788 return io.ErrUnexpectedEOF 84789 } 84790 b := dAtA[iNdEx] 84791 iNdEx++ 84792 m.MaxLeases |= int64(b&0x7F) << shift 84793 if b < 0x80 { 84794 break 84795 } 84796 } 84797 case 4: 84798 if wireType != 2 { 84799 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 84800 } 84801 var msglen int 84802 for shift := uint(0); ; shift += 7 { 84803 if shift >= 64 { 84804 return ErrIntOverflowTypes 84805 } 84806 if iNdEx >= l { 84807 return io.ErrUnexpectedEOF 84808 } 84809 b := dAtA[iNdEx] 84810 iNdEx++ 84811 msglen |= int(b&0x7F) << shift 84812 if b < 0x80 { 84813 break 84814 } 84815 } 84816 if msglen < 0 { 84817 return ErrInvalidLengthTypes 84818 } 84819 postIndex := iNdEx + msglen 84820 if postIndex < 0 { 84821 return ErrInvalidLengthTypes 84822 } 84823 if postIndex > l { 84824 return io.ErrUnexpectedEOF 84825 } 84826 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Expires, dAtA[iNdEx:postIndex]); err != nil { 84827 return err 84828 } 84829 iNdEx = postIndex 84830 case 5: 84831 if wireType != 2 { 84832 return fmt.Errorf("proto: wrong wireType = %d for field Holder", wireType) 84833 } 84834 var stringLen uint64 84835 for shift := uint(0); ; shift += 7 { 84836 if shift >= 64 { 84837 return ErrIntOverflowTypes 84838 } 84839 if iNdEx >= l { 84840 return io.ErrUnexpectedEOF 84841 } 84842 b := dAtA[iNdEx] 84843 iNdEx++ 84844 stringLen |= uint64(b&0x7F) << shift 84845 if b < 0x80 { 84846 break 84847 } 84848 } 84849 intStringLen := int(stringLen) 84850 if intStringLen < 0 { 84851 return ErrInvalidLengthTypes 84852 } 84853 postIndex := iNdEx + intStringLen 84854 if postIndex < 0 { 84855 return ErrInvalidLengthTypes 84856 } 84857 if postIndex > l { 84858 return io.ErrUnexpectedEOF 84859 } 84860 m.Holder = string(dAtA[iNdEx:postIndex]) 84861 iNdEx = postIndex 84862 default: 84863 iNdEx = preIndex 84864 skippy, err := skipTypes(dAtA[iNdEx:]) 84865 if err != nil { 84866 return err 84867 } 84868 if (skippy < 0) || (iNdEx+skippy) < 0 { 84869 return ErrInvalidLengthTypes 84870 } 84871 if (iNdEx + skippy) > l { 84872 return io.ErrUnexpectedEOF 84873 } 84874 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 84875 iNdEx += skippy 84876 } 84877 } 84878 84879 if iNdEx > l { 84880 return io.ErrUnexpectedEOF 84881 } 84882 return nil 84883 } 84884 func (m *SemaphoreLease) Unmarshal(dAtA []byte) error { 84885 l := len(dAtA) 84886 iNdEx := 0 84887 for iNdEx < l { 84888 preIndex := iNdEx 84889 var wire uint64 84890 for shift := uint(0); ; shift += 7 { 84891 if shift >= 64 { 84892 return ErrIntOverflowTypes 84893 } 84894 if iNdEx >= l { 84895 return io.ErrUnexpectedEOF 84896 } 84897 b := dAtA[iNdEx] 84898 iNdEx++ 84899 wire |= uint64(b&0x7F) << shift 84900 if b < 0x80 { 84901 break 84902 } 84903 } 84904 fieldNum := int32(wire >> 3) 84905 wireType := int(wire & 0x7) 84906 if wireType == 4 { 84907 return fmt.Errorf("proto: SemaphoreLease: wiretype end group for non-group") 84908 } 84909 if fieldNum <= 0 { 84910 return fmt.Errorf("proto: SemaphoreLease: illegal tag %d (wire type %d)", fieldNum, wire) 84911 } 84912 switch fieldNum { 84913 case 1: 84914 if wireType != 2 { 84915 return fmt.Errorf("proto: wrong wireType = %d for field SemaphoreKind", wireType) 84916 } 84917 var stringLen uint64 84918 for shift := uint(0); ; shift += 7 { 84919 if shift >= 64 { 84920 return ErrIntOverflowTypes 84921 } 84922 if iNdEx >= l { 84923 return io.ErrUnexpectedEOF 84924 } 84925 b := dAtA[iNdEx] 84926 iNdEx++ 84927 stringLen |= uint64(b&0x7F) << shift 84928 if b < 0x80 { 84929 break 84930 } 84931 } 84932 intStringLen := int(stringLen) 84933 if intStringLen < 0 { 84934 return ErrInvalidLengthTypes 84935 } 84936 postIndex := iNdEx + intStringLen 84937 if postIndex < 0 { 84938 return ErrInvalidLengthTypes 84939 } 84940 if postIndex > l { 84941 return io.ErrUnexpectedEOF 84942 } 84943 m.SemaphoreKind = string(dAtA[iNdEx:postIndex]) 84944 iNdEx = postIndex 84945 case 2: 84946 if wireType != 2 { 84947 return fmt.Errorf("proto: wrong wireType = %d for field SemaphoreName", wireType) 84948 } 84949 var stringLen uint64 84950 for shift := uint(0); ; shift += 7 { 84951 if shift >= 64 { 84952 return ErrIntOverflowTypes 84953 } 84954 if iNdEx >= l { 84955 return io.ErrUnexpectedEOF 84956 } 84957 b := dAtA[iNdEx] 84958 iNdEx++ 84959 stringLen |= uint64(b&0x7F) << shift 84960 if b < 0x80 { 84961 break 84962 } 84963 } 84964 intStringLen := int(stringLen) 84965 if intStringLen < 0 { 84966 return ErrInvalidLengthTypes 84967 } 84968 postIndex := iNdEx + intStringLen 84969 if postIndex < 0 { 84970 return ErrInvalidLengthTypes 84971 } 84972 if postIndex > l { 84973 return io.ErrUnexpectedEOF 84974 } 84975 m.SemaphoreName = string(dAtA[iNdEx:postIndex]) 84976 iNdEx = postIndex 84977 case 3: 84978 if wireType != 2 { 84979 return fmt.Errorf("proto: wrong wireType = %d for field LeaseID", wireType) 84980 } 84981 var stringLen uint64 84982 for shift := uint(0); ; shift += 7 { 84983 if shift >= 64 { 84984 return ErrIntOverflowTypes 84985 } 84986 if iNdEx >= l { 84987 return io.ErrUnexpectedEOF 84988 } 84989 b := dAtA[iNdEx] 84990 iNdEx++ 84991 stringLen |= uint64(b&0x7F) << shift 84992 if b < 0x80 { 84993 break 84994 } 84995 } 84996 intStringLen := int(stringLen) 84997 if intStringLen < 0 { 84998 return ErrInvalidLengthTypes 84999 } 85000 postIndex := iNdEx + intStringLen 85001 if postIndex < 0 { 85002 return ErrInvalidLengthTypes 85003 } 85004 if postIndex > l { 85005 return io.ErrUnexpectedEOF 85006 } 85007 m.LeaseID = string(dAtA[iNdEx:postIndex]) 85008 iNdEx = postIndex 85009 case 5: 85010 if wireType != 2 { 85011 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 85012 } 85013 var msglen int 85014 for shift := uint(0); ; shift += 7 { 85015 if shift >= 64 { 85016 return ErrIntOverflowTypes 85017 } 85018 if iNdEx >= l { 85019 return io.ErrUnexpectedEOF 85020 } 85021 b := dAtA[iNdEx] 85022 iNdEx++ 85023 msglen |= int(b&0x7F) << shift 85024 if b < 0x80 { 85025 break 85026 } 85027 } 85028 if msglen < 0 { 85029 return ErrInvalidLengthTypes 85030 } 85031 postIndex := iNdEx + msglen 85032 if postIndex < 0 { 85033 return ErrInvalidLengthTypes 85034 } 85035 if postIndex > l { 85036 return io.ErrUnexpectedEOF 85037 } 85038 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Expires, dAtA[iNdEx:postIndex]); err != nil { 85039 return err 85040 } 85041 iNdEx = postIndex 85042 default: 85043 iNdEx = preIndex 85044 skippy, err := skipTypes(dAtA[iNdEx:]) 85045 if err != nil { 85046 return err 85047 } 85048 if (skippy < 0) || (iNdEx+skippy) < 0 { 85049 return ErrInvalidLengthTypes 85050 } 85051 if (iNdEx + skippy) > l { 85052 return io.ErrUnexpectedEOF 85053 } 85054 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 85055 iNdEx += skippy 85056 } 85057 } 85058 85059 if iNdEx > l { 85060 return io.ErrUnexpectedEOF 85061 } 85062 return nil 85063 } 85064 func (m *SemaphoreLeaseRef) Unmarshal(dAtA []byte) error { 85065 l := len(dAtA) 85066 iNdEx := 0 85067 for iNdEx < l { 85068 preIndex := iNdEx 85069 var wire uint64 85070 for shift := uint(0); ; shift += 7 { 85071 if shift >= 64 { 85072 return ErrIntOverflowTypes 85073 } 85074 if iNdEx >= l { 85075 return io.ErrUnexpectedEOF 85076 } 85077 b := dAtA[iNdEx] 85078 iNdEx++ 85079 wire |= uint64(b&0x7F) << shift 85080 if b < 0x80 { 85081 break 85082 } 85083 } 85084 fieldNum := int32(wire >> 3) 85085 wireType := int(wire & 0x7) 85086 if wireType == 4 { 85087 return fmt.Errorf("proto: SemaphoreLeaseRef: wiretype end group for non-group") 85088 } 85089 if fieldNum <= 0 { 85090 return fmt.Errorf("proto: SemaphoreLeaseRef: illegal tag %d (wire type %d)", fieldNum, wire) 85091 } 85092 switch fieldNum { 85093 case 1: 85094 if wireType != 2 { 85095 return fmt.Errorf("proto: wrong wireType = %d for field LeaseID", wireType) 85096 } 85097 var stringLen uint64 85098 for shift := uint(0); ; shift += 7 { 85099 if shift >= 64 { 85100 return ErrIntOverflowTypes 85101 } 85102 if iNdEx >= l { 85103 return io.ErrUnexpectedEOF 85104 } 85105 b := dAtA[iNdEx] 85106 iNdEx++ 85107 stringLen |= uint64(b&0x7F) << shift 85108 if b < 0x80 { 85109 break 85110 } 85111 } 85112 intStringLen := int(stringLen) 85113 if intStringLen < 0 { 85114 return ErrInvalidLengthTypes 85115 } 85116 postIndex := iNdEx + intStringLen 85117 if postIndex < 0 { 85118 return ErrInvalidLengthTypes 85119 } 85120 if postIndex > l { 85121 return io.ErrUnexpectedEOF 85122 } 85123 m.LeaseID = string(dAtA[iNdEx:postIndex]) 85124 iNdEx = postIndex 85125 case 2: 85126 if wireType != 2 { 85127 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 85128 } 85129 var msglen int 85130 for shift := uint(0); ; shift += 7 { 85131 if shift >= 64 { 85132 return ErrIntOverflowTypes 85133 } 85134 if iNdEx >= l { 85135 return io.ErrUnexpectedEOF 85136 } 85137 b := dAtA[iNdEx] 85138 iNdEx++ 85139 msglen |= int(b&0x7F) << shift 85140 if b < 0x80 { 85141 break 85142 } 85143 } 85144 if msglen < 0 { 85145 return ErrInvalidLengthTypes 85146 } 85147 postIndex := iNdEx + msglen 85148 if postIndex < 0 { 85149 return ErrInvalidLengthTypes 85150 } 85151 if postIndex > l { 85152 return io.ErrUnexpectedEOF 85153 } 85154 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Expires, dAtA[iNdEx:postIndex]); err != nil { 85155 return err 85156 } 85157 iNdEx = postIndex 85158 case 3: 85159 if wireType != 2 { 85160 return fmt.Errorf("proto: wrong wireType = %d for field Holder", wireType) 85161 } 85162 var stringLen uint64 85163 for shift := uint(0); ; shift += 7 { 85164 if shift >= 64 { 85165 return ErrIntOverflowTypes 85166 } 85167 if iNdEx >= l { 85168 return io.ErrUnexpectedEOF 85169 } 85170 b := dAtA[iNdEx] 85171 iNdEx++ 85172 stringLen |= uint64(b&0x7F) << shift 85173 if b < 0x80 { 85174 break 85175 } 85176 } 85177 intStringLen := int(stringLen) 85178 if intStringLen < 0 { 85179 return ErrInvalidLengthTypes 85180 } 85181 postIndex := iNdEx + intStringLen 85182 if postIndex < 0 { 85183 return ErrInvalidLengthTypes 85184 } 85185 if postIndex > l { 85186 return io.ErrUnexpectedEOF 85187 } 85188 m.Holder = string(dAtA[iNdEx:postIndex]) 85189 iNdEx = postIndex 85190 default: 85191 iNdEx = preIndex 85192 skippy, err := skipTypes(dAtA[iNdEx:]) 85193 if err != nil { 85194 return err 85195 } 85196 if (skippy < 0) || (iNdEx+skippy) < 0 { 85197 return ErrInvalidLengthTypes 85198 } 85199 if (iNdEx + skippy) > l { 85200 return io.ErrUnexpectedEOF 85201 } 85202 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 85203 iNdEx += skippy 85204 } 85205 } 85206 85207 if iNdEx > l { 85208 return io.ErrUnexpectedEOF 85209 } 85210 return nil 85211 } 85212 func (m *SemaphoreV3) Unmarshal(dAtA []byte) error { 85213 l := len(dAtA) 85214 iNdEx := 0 85215 for iNdEx < l { 85216 preIndex := iNdEx 85217 var wire uint64 85218 for shift := uint(0); ; shift += 7 { 85219 if shift >= 64 { 85220 return ErrIntOverflowTypes 85221 } 85222 if iNdEx >= l { 85223 return io.ErrUnexpectedEOF 85224 } 85225 b := dAtA[iNdEx] 85226 iNdEx++ 85227 wire |= uint64(b&0x7F) << shift 85228 if b < 0x80 { 85229 break 85230 } 85231 } 85232 fieldNum := int32(wire >> 3) 85233 wireType := int(wire & 0x7) 85234 if wireType == 4 { 85235 return fmt.Errorf("proto: SemaphoreV3: wiretype end group for non-group") 85236 } 85237 if fieldNum <= 0 { 85238 return fmt.Errorf("proto: SemaphoreV3: illegal tag %d (wire type %d)", fieldNum, wire) 85239 } 85240 switch fieldNum { 85241 case 1: 85242 if wireType != 2 { 85243 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 85244 } 85245 var stringLen uint64 85246 for shift := uint(0); ; shift += 7 { 85247 if shift >= 64 { 85248 return ErrIntOverflowTypes 85249 } 85250 if iNdEx >= l { 85251 return io.ErrUnexpectedEOF 85252 } 85253 b := dAtA[iNdEx] 85254 iNdEx++ 85255 stringLen |= uint64(b&0x7F) << shift 85256 if b < 0x80 { 85257 break 85258 } 85259 } 85260 intStringLen := int(stringLen) 85261 if intStringLen < 0 { 85262 return ErrInvalidLengthTypes 85263 } 85264 postIndex := iNdEx + intStringLen 85265 if postIndex < 0 { 85266 return ErrInvalidLengthTypes 85267 } 85268 if postIndex > l { 85269 return io.ErrUnexpectedEOF 85270 } 85271 m.Kind = string(dAtA[iNdEx:postIndex]) 85272 iNdEx = postIndex 85273 case 2: 85274 if wireType != 2 { 85275 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 85276 } 85277 var stringLen uint64 85278 for shift := uint(0); ; shift += 7 { 85279 if shift >= 64 { 85280 return ErrIntOverflowTypes 85281 } 85282 if iNdEx >= l { 85283 return io.ErrUnexpectedEOF 85284 } 85285 b := dAtA[iNdEx] 85286 iNdEx++ 85287 stringLen |= uint64(b&0x7F) << shift 85288 if b < 0x80 { 85289 break 85290 } 85291 } 85292 intStringLen := int(stringLen) 85293 if intStringLen < 0 { 85294 return ErrInvalidLengthTypes 85295 } 85296 postIndex := iNdEx + intStringLen 85297 if postIndex < 0 { 85298 return ErrInvalidLengthTypes 85299 } 85300 if postIndex > l { 85301 return io.ErrUnexpectedEOF 85302 } 85303 m.SubKind = string(dAtA[iNdEx:postIndex]) 85304 iNdEx = postIndex 85305 case 3: 85306 if wireType != 2 { 85307 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 85308 } 85309 var stringLen uint64 85310 for shift := uint(0); ; shift += 7 { 85311 if shift >= 64 { 85312 return ErrIntOverflowTypes 85313 } 85314 if iNdEx >= l { 85315 return io.ErrUnexpectedEOF 85316 } 85317 b := dAtA[iNdEx] 85318 iNdEx++ 85319 stringLen |= uint64(b&0x7F) << shift 85320 if b < 0x80 { 85321 break 85322 } 85323 } 85324 intStringLen := int(stringLen) 85325 if intStringLen < 0 { 85326 return ErrInvalidLengthTypes 85327 } 85328 postIndex := iNdEx + intStringLen 85329 if postIndex < 0 { 85330 return ErrInvalidLengthTypes 85331 } 85332 if postIndex > l { 85333 return io.ErrUnexpectedEOF 85334 } 85335 m.Version = string(dAtA[iNdEx:postIndex]) 85336 iNdEx = postIndex 85337 case 4: 85338 if wireType != 2 { 85339 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 85340 } 85341 var msglen int 85342 for shift := uint(0); ; shift += 7 { 85343 if shift >= 64 { 85344 return ErrIntOverflowTypes 85345 } 85346 if iNdEx >= l { 85347 return io.ErrUnexpectedEOF 85348 } 85349 b := dAtA[iNdEx] 85350 iNdEx++ 85351 msglen |= int(b&0x7F) << shift 85352 if b < 0x80 { 85353 break 85354 } 85355 } 85356 if msglen < 0 { 85357 return ErrInvalidLengthTypes 85358 } 85359 postIndex := iNdEx + msglen 85360 if postIndex < 0 { 85361 return ErrInvalidLengthTypes 85362 } 85363 if postIndex > l { 85364 return io.ErrUnexpectedEOF 85365 } 85366 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 85367 return err 85368 } 85369 iNdEx = postIndex 85370 case 5: 85371 if wireType != 2 { 85372 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 85373 } 85374 var msglen int 85375 for shift := uint(0); ; shift += 7 { 85376 if shift >= 64 { 85377 return ErrIntOverflowTypes 85378 } 85379 if iNdEx >= l { 85380 return io.ErrUnexpectedEOF 85381 } 85382 b := dAtA[iNdEx] 85383 iNdEx++ 85384 msglen |= int(b&0x7F) << shift 85385 if b < 0x80 { 85386 break 85387 } 85388 } 85389 if msglen < 0 { 85390 return ErrInvalidLengthTypes 85391 } 85392 postIndex := iNdEx + msglen 85393 if postIndex < 0 { 85394 return ErrInvalidLengthTypes 85395 } 85396 if postIndex > l { 85397 return io.ErrUnexpectedEOF 85398 } 85399 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 85400 return err 85401 } 85402 iNdEx = postIndex 85403 default: 85404 iNdEx = preIndex 85405 skippy, err := skipTypes(dAtA[iNdEx:]) 85406 if err != nil { 85407 return err 85408 } 85409 if (skippy < 0) || (iNdEx+skippy) < 0 { 85410 return ErrInvalidLengthTypes 85411 } 85412 if (iNdEx + skippy) > l { 85413 return io.ErrUnexpectedEOF 85414 } 85415 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 85416 iNdEx += skippy 85417 } 85418 } 85419 85420 if iNdEx > l { 85421 return io.ErrUnexpectedEOF 85422 } 85423 return nil 85424 } 85425 func (m *SemaphoreSpecV3) Unmarshal(dAtA []byte) error { 85426 l := len(dAtA) 85427 iNdEx := 0 85428 for iNdEx < l { 85429 preIndex := iNdEx 85430 var wire uint64 85431 for shift := uint(0); ; shift += 7 { 85432 if shift >= 64 { 85433 return ErrIntOverflowTypes 85434 } 85435 if iNdEx >= l { 85436 return io.ErrUnexpectedEOF 85437 } 85438 b := dAtA[iNdEx] 85439 iNdEx++ 85440 wire |= uint64(b&0x7F) << shift 85441 if b < 0x80 { 85442 break 85443 } 85444 } 85445 fieldNum := int32(wire >> 3) 85446 wireType := int(wire & 0x7) 85447 if wireType == 4 { 85448 return fmt.Errorf("proto: SemaphoreSpecV3: wiretype end group for non-group") 85449 } 85450 if fieldNum <= 0 { 85451 return fmt.Errorf("proto: SemaphoreSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 85452 } 85453 switch fieldNum { 85454 case 1: 85455 if wireType != 2 { 85456 return fmt.Errorf("proto: wrong wireType = %d for field Leases", wireType) 85457 } 85458 var msglen int 85459 for shift := uint(0); ; shift += 7 { 85460 if shift >= 64 { 85461 return ErrIntOverflowTypes 85462 } 85463 if iNdEx >= l { 85464 return io.ErrUnexpectedEOF 85465 } 85466 b := dAtA[iNdEx] 85467 iNdEx++ 85468 msglen |= int(b&0x7F) << shift 85469 if b < 0x80 { 85470 break 85471 } 85472 } 85473 if msglen < 0 { 85474 return ErrInvalidLengthTypes 85475 } 85476 postIndex := iNdEx + msglen 85477 if postIndex < 0 { 85478 return ErrInvalidLengthTypes 85479 } 85480 if postIndex > l { 85481 return io.ErrUnexpectedEOF 85482 } 85483 m.Leases = append(m.Leases, SemaphoreLeaseRef{}) 85484 if err := m.Leases[len(m.Leases)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 85485 return err 85486 } 85487 iNdEx = postIndex 85488 default: 85489 iNdEx = preIndex 85490 skippy, err := skipTypes(dAtA[iNdEx:]) 85491 if err != nil { 85492 return err 85493 } 85494 if (skippy < 0) || (iNdEx+skippy) < 0 { 85495 return ErrInvalidLengthTypes 85496 } 85497 if (iNdEx + skippy) > l { 85498 return io.ErrUnexpectedEOF 85499 } 85500 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 85501 iNdEx += skippy 85502 } 85503 } 85504 85505 if iNdEx > l { 85506 return io.ErrUnexpectedEOF 85507 } 85508 return nil 85509 } 85510 func (m *WebSessionV2) Unmarshal(dAtA []byte) error { 85511 l := len(dAtA) 85512 iNdEx := 0 85513 for iNdEx < l { 85514 preIndex := iNdEx 85515 var wire uint64 85516 for shift := uint(0); ; shift += 7 { 85517 if shift >= 64 { 85518 return ErrIntOverflowTypes 85519 } 85520 if iNdEx >= l { 85521 return io.ErrUnexpectedEOF 85522 } 85523 b := dAtA[iNdEx] 85524 iNdEx++ 85525 wire |= uint64(b&0x7F) << shift 85526 if b < 0x80 { 85527 break 85528 } 85529 } 85530 fieldNum := int32(wire >> 3) 85531 wireType := int(wire & 0x7) 85532 if wireType == 4 { 85533 return fmt.Errorf("proto: WebSessionV2: wiretype end group for non-group") 85534 } 85535 if fieldNum <= 0 { 85536 return fmt.Errorf("proto: WebSessionV2: illegal tag %d (wire type %d)", fieldNum, wire) 85537 } 85538 switch fieldNum { 85539 case 1: 85540 if wireType != 2 { 85541 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 85542 } 85543 var stringLen uint64 85544 for shift := uint(0); ; shift += 7 { 85545 if shift >= 64 { 85546 return ErrIntOverflowTypes 85547 } 85548 if iNdEx >= l { 85549 return io.ErrUnexpectedEOF 85550 } 85551 b := dAtA[iNdEx] 85552 iNdEx++ 85553 stringLen |= uint64(b&0x7F) << shift 85554 if b < 0x80 { 85555 break 85556 } 85557 } 85558 intStringLen := int(stringLen) 85559 if intStringLen < 0 { 85560 return ErrInvalidLengthTypes 85561 } 85562 postIndex := iNdEx + intStringLen 85563 if postIndex < 0 { 85564 return ErrInvalidLengthTypes 85565 } 85566 if postIndex > l { 85567 return io.ErrUnexpectedEOF 85568 } 85569 m.Kind = string(dAtA[iNdEx:postIndex]) 85570 iNdEx = postIndex 85571 case 2: 85572 if wireType != 2 { 85573 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 85574 } 85575 var stringLen uint64 85576 for shift := uint(0); ; shift += 7 { 85577 if shift >= 64 { 85578 return ErrIntOverflowTypes 85579 } 85580 if iNdEx >= l { 85581 return io.ErrUnexpectedEOF 85582 } 85583 b := dAtA[iNdEx] 85584 iNdEx++ 85585 stringLen |= uint64(b&0x7F) << shift 85586 if b < 0x80 { 85587 break 85588 } 85589 } 85590 intStringLen := int(stringLen) 85591 if intStringLen < 0 { 85592 return ErrInvalidLengthTypes 85593 } 85594 postIndex := iNdEx + intStringLen 85595 if postIndex < 0 { 85596 return ErrInvalidLengthTypes 85597 } 85598 if postIndex > l { 85599 return io.ErrUnexpectedEOF 85600 } 85601 m.SubKind = string(dAtA[iNdEx:postIndex]) 85602 iNdEx = postIndex 85603 case 3: 85604 if wireType != 2 { 85605 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 85606 } 85607 var stringLen uint64 85608 for shift := uint(0); ; shift += 7 { 85609 if shift >= 64 { 85610 return ErrIntOverflowTypes 85611 } 85612 if iNdEx >= l { 85613 return io.ErrUnexpectedEOF 85614 } 85615 b := dAtA[iNdEx] 85616 iNdEx++ 85617 stringLen |= uint64(b&0x7F) << shift 85618 if b < 0x80 { 85619 break 85620 } 85621 } 85622 intStringLen := int(stringLen) 85623 if intStringLen < 0 { 85624 return ErrInvalidLengthTypes 85625 } 85626 postIndex := iNdEx + intStringLen 85627 if postIndex < 0 { 85628 return ErrInvalidLengthTypes 85629 } 85630 if postIndex > l { 85631 return io.ErrUnexpectedEOF 85632 } 85633 m.Version = string(dAtA[iNdEx:postIndex]) 85634 iNdEx = postIndex 85635 case 4: 85636 if wireType != 2 { 85637 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 85638 } 85639 var msglen int 85640 for shift := uint(0); ; shift += 7 { 85641 if shift >= 64 { 85642 return ErrIntOverflowTypes 85643 } 85644 if iNdEx >= l { 85645 return io.ErrUnexpectedEOF 85646 } 85647 b := dAtA[iNdEx] 85648 iNdEx++ 85649 msglen |= int(b&0x7F) << shift 85650 if b < 0x80 { 85651 break 85652 } 85653 } 85654 if msglen < 0 { 85655 return ErrInvalidLengthTypes 85656 } 85657 postIndex := iNdEx + msglen 85658 if postIndex < 0 { 85659 return ErrInvalidLengthTypes 85660 } 85661 if postIndex > l { 85662 return io.ErrUnexpectedEOF 85663 } 85664 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 85665 return err 85666 } 85667 iNdEx = postIndex 85668 case 5: 85669 if wireType != 2 { 85670 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 85671 } 85672 var msglen int 85673 for shift := uint(0); ; shift += 7 { 85674 if shift >= 64 { 85675 return ErrIntOverflowTypes 85676 } 85677 if iNdEx >= l { 85678 return io.ErrUnexpectedEOF 85679 } 85680 b := dAtA[iNdEx] 85681 iNdEx++ 85682 msglen |= int(b&0x7F) << shift 85683 if b < 0x80 { 85684 break 85685 } 85686 } 85687 if msglen < 0 { 85688 return ErrInvalidLengthTypes 85689 } 85690 postIndex := iNdEx + msglen 85691 if postIndex < 0 { 85692 return ErrInvalidLengthTypes 85693 } 85694 if postIndex > l { 85695 return io.ErrUnexpectedEOF 85696 } 85697 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 85698 return err 85699 } 85700 iNdEx = postIndex 85701 default: 85702 iNdEx = preIndex 85703 skippy, err := skipTypes(dAtA[iNdEx:]) 85704 if err != nil { 85705 return err 85706 } 85707 if (skippy < 0) || (iNdEx+skippy) < 0 { 85708 return ErrInvalidLengthTypes 85709 } 85710 if (iNdEx + skippy) > l { 85711 return io.ErrUnexpectedEOF 85712 } 85713 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 85714 iNdEx += skippy 85715 } 85716 } 85717 85718 if iNdEx > l { 85719 return io.ErrUnexpectedEOF 85720 } 85721 return nil 85722 } 85723 func (m *WebSessionSpecV2) Unmarshal(dAtA []byte) error { 85724 l := len(dAtA) 85725 iNdEx := 0 85726 for iNdEx < l { 85727 preIndex := iNdEx 85728 var wire uint64 85729 for shift := uint(0); ; shift += 7 { 85730 if shift >= 64 { 85731 return ErrIntOverflowTypes 85732 } 85733 if iNdEx >= l { 85734 return io.ErrUnexpectedEOF 85735 } 85736 b := dAtA[iNdEx] 85737 iNdEx++ 85738 wire |= uint64(b&0x7F) << shift 85739 if b < 0x80 { 85740 break 85741 } 85742 } 85743 fieldNum := int32(wire >> 3) 85744 wireType := int(wire & 0x7) 85745 if wireType == 4 { 85746 return fmt.Errorf("proto: WebSessionSpecV2: wiretype end group for non-group") 85747 } 85748 if fieldNum <= 0 { 85749 return fmt.Errorf("proto: WebSessionSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 85750 } 85751 switch fieldNum { 85752 case 1: 85753 if wireType != 2 { 85754 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 85755 } 85756 var stringLen uint64 85757 for shift := uint(0); ; shift += 7 { 85758 if shift >= 64 { 85759 return ErrIntOverflowTypes 85760 } 85761 if iNdEx >= l { 85762 return io.ErrUnexpectedEOF 85763 } 85764 b := dAtA[iNdEx] 85765 iNdEx++ 85766 stringLen |= uint64(b&0x7F) << shift 85767 if b < 0x80 { 85768 break 85769 } 85770 } 85771 intStringLen := int(stringLen) 85772 if intStringLen < 0 { 85773 return ErrInvalidLengthTypes 85774 } 85775 postIndex := iNdEx + intStringLen 85776 if postIndex < 0 { 85777 return ErrInvalidLengthTypes 85778 } 85779 if postIndex > l { 85780 return io.ErrUnexpectedEOF 85781 } 85782 m.User = string(dAtA[iNdEx:postIndex]) 85783 iNdEx = postIndex 85784 case 2: 85785 if wireType != 2 { 85786 return fmt.Errorf("proto: wrong wireType = %d for field Pub", wireType) 85787 } 85788 var byteLen int 85789 for shift := uint(0); ; shift += 7 { 85790 if shift >= 64 { 85791 return ErrIntOverflowTypes 85792 } 85793 if iNdEx >= l { 85794 return io.ErrUnexpectedEOF 85795 } 85796 b := dAtA[iNdEx] 85797 iNdEx++ 85798 byteLen |= int(b&0x7F) << shift 85799 if b < 0x80 { 85800 break 85801 } 85802 } 85803 if byteLen < 0 { 85804 return ErrInvalidLengthTypes 85805 } 85806 postIndex := iNdEx + byteLen 85807 if postIndex < 0 { 85808 return ErrInvalidLengthTypes 85809 } 85810 if postIndex > l { 85811 return io.ErrUnexpectedEOF 85812 } 85813 m.Pub = append(m.Pub[:0], dAtA[iNdEx:postIndex]...) 85814 if m.Pub == nil { 85815 m.Pub = []byte{} 85816 } 85817 iNdEx = postIndex 85818 case 3: 85819 if wireType != 2 { 85820 return fmt.Errorf("proto: wrong wireType = %d for field Priv", wireType) 85821 } 85822 var byteLen int 85823 for shift := uint(0); ; shift += 7 { 85824 if shift >= 64 { 85825 return ErrIntOverflowTypes 85826 } 85827 if iNdEx >= l { 85828 return io.ErrUnexpectedEOF 85829 } 85830 b := dAtA[iNdEx] 85831 iNdEx++ 85832 byteLen |= int(b&0x7F) << shift 85833 if b < 0x80 { 85834 break 85835 } 85836 } 85837 if byteLen < 0 { 85838 return ErrInvalidLengthTypes 85839 } 85840 postIndex := iNdEx + byteLen 85841 if postIndex < 0 { 85842 return ErrInvalidLengthTypes 85843 } 85844 if postIndex > l { 85845 return io.ErrUnexpectedEOF 85846 } 85847 m.Priv = append(m.Priv[:0], dAtA[iNdEx:postIndex]...) 85848 if m.Priv == nil { 85849 m.Priv = []byte{} 85850 } 85851 iNdEx = postIndex 85852 case 4: 85853 if wireType != 2 { 85854 return fmt.Errorf("proto: wrong wireType = %d for field TLSCert", wireType) 85855 } 85856 var byteLen int 85857 for shift := uint(0); ; shift += 7 { 85858 if shift >= 64 { 85859 return ErrIntOverflowTypes 85860 } 85861 if iNdEx >= l { 85862 return io.ErrUnexpectedEOF 85863 } 85864 b := dAtA[iNdEx] 85865 iNdEx++ 85866 byteLen |= int(b&0x7F) << shift 85867 if b < 0x80 { 85868 break 85869 } 85870 } 85871 if byteLen < 0 { 85872 return ErrInvalidLengthTypes 85873 } 85874 postIndex := iNdEx + byteLen 85875 if postIndex < 0 { 85876 return ErrInvalidLengthTypes 85877 } 85878 if postIndex > l { 85879 return io.ErrUnexpectedEOF 85880 } 85881 m.TLSCert = append(m.TLSCert[:0], dAtA[iNdEx:postIndex]...) 85882 if m.TLSCert == nil { 85883 m.TLSCert = []byte{} 85884 } 85885 iNdEx = postIndex 85886 case 5: 85887 if wireType != 2 { 85888 return fmt.Errorf("proto: wrong wireType = %d for field BearerToken", wireType) 85889 } 85890 var stringLen uint64 85891 for shift := uint(0); ; shift += 7 { 85892 if shift >= 64 { 85893 return ErrIntOverflowTypes 85894 } 85895 if iNdEx >= l { 85896 return io.ErrUnexpectedEOF 85897 } 85898 b := dAtA[iNdEx] 85899 iNdEx++ 85900 stringLen |= uint64(b&0x7F) << shift 85901 if b < 0x80 { 85902 break 85903 } 85904 } 85905 intStringLen := int(stringLen) 85906 if intStringLen < 0 { 85907 return ErrInvalidLengthTypes 85908 } 85909 postIndex := iNdEx + intStringLen 85910 if postIndex < 0 { 85911 return ErrInvalidLengthTypes 85912 } 85913 if postIndex > l { 85914 return io.ErrUnexpectedEOF 85915 } 85916 m.BearerToken = string(dAtA[iNdEx:postIndex]) 85917 iNdEx = postIndex 85918 case 6: 85919 if wireType != 2 { 85920 return fmt.Errorf("proto: wrong wireType = %d for field BearerTokenExpires", wireType) 85921 } 85922 var msglen int 85923 for shift := uint(0); ; shift += 7 { 85924 if shift >= 64 { 85925 return ErrIntOverflowTypes 85926 } 85927 if iNdEx >= l { 85928 return io.ErrUnexpectedEOF 85929 } 85930 b := dAtA[iNdEx] 85931 iNdEx++ 85932 msglen |= int(b&0x7F) << shift 85933 if b < 0x80 { 85934 break 85935 } 85936 } 85937 if msglen < 0 { 85938 return ErrInvalidLengthTypes 85939 } 85940 postIndex := iNdEx + msglen 85941 if postIndex < 0 { 85942 return ErrInvalidLengthTypes 85943 } 85944 if postIndex > l { 85945 return io.ErrUnexpectedEOF 85946 } 85947 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.BearerTokenExpires, dAtA[iNdEx:postIndex]); err != nil { 85948 return err 85949 } 85950 iNdEx = postIndex 85951 case 7: 85952 if wireType != 2 { 85953 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 85954 } 85955 var msglen int 85956 for shift := uint(0); ; shift += 7 { 85957 if shift >= 64 { 85958 return ErrIntOverflowTypes 85959 } 85960 if iNdEx >= l { 85961 return io.ErrUnexpectedEOF 85962 } 85963 b := dAtA[iNdEx] 85964 iNdEx++ 85965 msglen |= int(b&0x7F) << shift 85966 if b < 0x80 { 85967 break 85968 } 85969 } 85970 if msglen < 0 { 85971 return ErrInvalidLengthTypes 85972 } 85973 postIndex := iNdEx + msglen 85974 if postIndex < 0 { 85975 return ErrInvalidLengthTypes 85976 } 85977 if postIndex > l { 85978 return io.ErrUnexpectedEOF 85979 } 85980 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Expires, dAtA[iNdEx:postIndex]); err != nil { 85981 return err 85982 } 85983 iNdEx = postIndex 85984 case 8: 85985 if wireType != 2 { 85986 return fmt.Errorf("proto: wrong wireType = %d for field LoginTime", wireType) 85987 } 85988 var msglen int 85989 for shift := uint(0); ; shift += 7 { 85990 if shift >= 64 { 85991 return ErrIntOverflowTypes 85992 } 85993 if iNdEx >= l { 85994 return io.ErrUnexpectedEOF 85995 } 85996 b := dAtA[iNdEx] 85997 iNdEx++ 85998 msglen |= int(b&0x7F) << shift 85999 if b < 0x80 { 86000 break 86001 } 86002 } 86003 if msglen < 0 { 86004 return ErrInvalidLengthTypes 86005 } 86006 postIndex := iNdEx + msglen 86007 if postIndex < 0 { 86008 return ErrInvalidLengthTypes 86009 } 86010 if postIndex > l { 86011 return io.ErrUnexpectedEOF 86012 } 86013 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.LoginTime, dAtA[iNdEx:postIndex]); err != nil { 86014 return err 86015 } 86016 iNdEx = postIndex 86017 case 9: 86018 if wireType != 0 { 86019 return fmt.Errorf("proto: wrong wireType = %d for field IdleTimeout", wireType) 86020 } 86021 m.IdleTimeout = 0 86022 for shift := uint(0); ; shift += 7 { 86023 if shift >= 64 { 86024 return ErrIntOverflowTypes 86025 } 86026 if iNdEx >= l { 86027 return io.ErrUnexpectedEOF 86028 } 86029 b := dAtA[iNdEx] 86030 iNdEx++ 86031 m.IdleTimeout |= Duration(b&0x7F) << shift 86032 if b < 0x80 { 86033 break 86034 } 86035 } 86036 case 10: 86037 if wireType != 2 { 86038 return fmt.Errorf("proto: wrong wireType = %d for field ConsumedAccessRequestID", wireType) 86039 } 86040 var stringLen uint64 86041 for shift := uint(0); ; shift += 7 { 86042 if shift >= 64 { 86043 return ErrIntOverflowTypes 86044 } 86045 if iNdEx >= l { 86046 return io.ErrUnexpectedEOF 86047 } 86048 b := dAtA[iNdEx] 86049 iNdEx++ 86050 stringLen |= uint64(b&0x7F) << shift 86051 if b < 0x80 { 86052 break 86053 } 86054 } 86055 intStringLen := int(stringLen) 86056 if intStringLen < 0 { 86057 return ErrInvalidLengthTypes 86058 } 86059 postIndex := iNdEx + intStringLen 86060 if postIndex < 0 { 86061 return ErrInvalidLengthTypes 86062 } 86063 if postIndex > l { 86064 return io.ErrUnexpectedEOF 86065 } 86066 m.ConsumedAccessRequestID = string(dAtA[iNdEx:postIndex]) 86067 iNdEx = postIndex 86068 case 11: 86069 if wireType != 2 { 86070 return fmt.Errorf("proto: wrong wireType = %d for field SAMLSession", wireType) 86071 } 86072 var msglen int 86073 for shift := uint(0); ; shift += 7 { 86074 if shift >= 64 { 86075 return ErrIntOverflowTypes 86076 } 86077 if iNdEx >= l { 86078 return io.ErrUnexpectedEOF 86079 } 86080 b := dAtA[iNdEx] 86081 iNdEx++ 86082 msglen |= int(b&0x7F) << shift 86083 if b < 0x80 { 86084 break 86085 } 86086 } 86087 if msglen < 0 { 86088 return ErrInvalidLengthTypes 86089 } 86090 postIndex := iNdEx + msglen 86091 if postIndex < 0 { 86092 return ErrInvalidLengthTypes 86093 } 86094 if postIndex > l { 86095 return io.ErrUnexpectedEOF 86096 } 86097 if m.SAMLSession == nil { 86098 m.SAMLSession = &SAMLSessionData{} 86099 } 86100 if err := m.SAMLSession.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 86101 return err 86102 } 86103 iNdEx = postIndex 86104 case 12: 86105 if wireType != 2 { 86106 return fmt.Errorf("proto: wrong wireType = %d for field DeviceWebToken", wireType) 86107 } 86108 var msglen int 86109 for shift := uint(0); ; shift += 7 { 86110 if shift >= 64 { 86111 return ErrIntOverflowTypes 86112 } 86113 if iNdEx >= l { 86114 return io.ErrUnexpectedEOF 86115 } 86116 b := dAtA[iNdEx] 86117 iNdEx++ 86118 msglen |= int(b&0x7F) << shift 86119 if b < 0x80 { 86120 break 86121 } 86122 } 86123 if msglen < 0 { 86124 return ErrInvalidLengthTypes 86125 } 86126 postIndex := iNdEx + msglen 86127 if postIndex < 0 { 86128 return ErrInvalidLengthTypes 86129 } 86130 if postIndex > l { 86131 return io.ErrUnexpectedEOF 86132 } 86133 if m.DeviceWebToken == nil { 86134 m.DeviceWebToken = &DeviceWebToken{} 86135 } 86136 if err := m.DeviceWebToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 86137 return err 86138 } 86139 iNdEx = postIndex 86140 case 13: 86141 if wireType != 0 { 86142 return fmt.Errorf("proto: wrong wireType = %d for field HasDeviceExtensions", wireType) 86143 } 86144 var v int 86145 for shift := uint(0); ; shift += 7 { 86146 if shift >= 64 { 86147 return ErrIntOverflowTypes 86148 } 86149 if iNdEx >= l { 86150 return io.ErrUnexpectedEOF 86151 } 86152 b := dAtA[iNdEx] 86153 iNdEx++ 86154 v |= int(b&0x7F) << shift 86155 if b < 0x80 { 86156 break 86157 } 86158 } 86159 m.HasDeviceExtensions = bool(v != 0) 86160 default: 86161 iNdEx = preIndex 86162 skippy, err := skipTypes(dAtA[iNdEx:]) 86163 if err != nil { 86164 return err 86165 } 86166 if (skippy < 0) || (iNdEx+skippy) < 0 { 86167 return ErrInvalidLengthTypes 86168 } 86169 if (iNdEx + skippy) > l { 86170 return io.ErrUnexpectedEOF 86171 } 86172 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 86173 iNdEx += skippy 86174 } 86175 } 86176 86177 if iNdEx > l { 86178 return io.ErrUnexpectedEOF 86179 } 86180 return nil 86181 } 86182 func (m *DeviceWebToken) Unmarshal(dAtA []byte) error { 86183 l := len(dAtA) 86184 iNdEx := 0 86185 for iNdEx < l { 86186 preIndex := iNdEx 86187 var wire uint64 86188 for shift := uint(0); ; shift += 7 { 86189 if shift >= 64 { 86190 return ErrIntOverflowTypes 86191 } 86192 if iNdEx >= l { 86193 return io.ErrUnexpectedEOF 86194 } 86195 b := dAtA[iNdEx] 86196 iNdEx++ 86197 wire |= uint64(b&0x7F) << shift 86198 if b < 0x80 { 86199 break 86200 } 86201 } 86202 fieldNum := int32(wire >> 3) 86203 wireType := int(wire & 0x7) 86204 if wireType == 4 { 86205 return fmt.Errorf("proto: DeviceWebToken: wiretype end group for non-group") 86206 } 86207 if fieldNum <= 0 { 86208 return fmt.Errorf("proto: DeviceWebToken: illegal tag %d (wire type %d)", fieldNum, wire) 86209 } 86210 switch fieldNum { 86211 case 1: 86212 if wireType != 2 { 86213 return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) 86214 } 86215 var stringLen uint64 86216 for shift := uint(0); ; shift += 7 { 86217 if shift >= 64 { 86218 return ErrIntOverflowTypes 86219 } 86220 if iNdEx >= l { 86221 return io.ErrUnexpectedEOF 86222 } 86223 b := dAtA[iNdEx] 86224 iNdEx++ 86225 stringLen |= uint64(b&0x7F) << shift 86226 if b < 0x80 { 86227 break 86228 } 86229 } 86230 intStringLen := int(stringLen) 86231 if intStringLen < 0 { 86232 return ErrInvalidLengthTypes 86233 } 86234 postIndex := iNdEx + intStringLen 86235 if postIndex < 0 { 86236 return ErrInvalidLengthTypes 86237 } 86238 if postIndex > l { 86239 return io.ErrUnexpectedEOF 86240 } 86241 m.Id = string(dAtA[iNdEx:postIndex]) 86242 iNdEx = postIndex 86243 case 2: 86244 if wireType != 2 { 86245 return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) 86246 } 86247 var stringLen uint64 86248 for shift := uint(0); ; shift += 7 { 86249 if shift >= 64 { 86250 return ErrIntOverflowTypes 86251 } 86252 if iNdEx >= l { 86253 return io.ErrUnexpectedEOF 86254 } 86255 b := dAtA[iNdEx] 86256 iNdEx++ 86257 stringLen |= uint64(b&0x7F) << shift 86258 if b < 0x80 { 86259 break 86260 } 86261 } 86262 intStringLen := int(stringLen) 86263 if intStringLen < 0 { 86264 return ErrInvalidLengthTypes 86265 } 86266 postIndex := iNdEx + intStringLen 86267 if postIndex < 0 { 86268 return ErrInvalidLengthTypes 86269 } 86270 if postIndex > l { 86271 return io.ErrUnexpectedEOF 86272 } 86273 m.Token = string(dAtA[iNdEx:postIndex]) 86274 iNdEx = postIndex 86275 default: 86276 iNdEx = preIndex 86277 skippy, err := skipTypes(dAtA[iNdEx:]) 86278 if err != nil { 86279 return err 86280 } 86281 if (skippy < 0) || (iNdEx+skippy) < 0 { 86282 return ErrInvalidLengthTypes 86283 } 86284 if (iNdEx + skippy) > l { 86285 return io.ErrUnexpectedEOF 86286 } 86287 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 86288 iNdEx += skippy 86289 } 86290 } 86291 86292 if iNdEx > l { 86293 return io.ErrUnexpectedEOF 86294 } 86295 return nil 86296 } 86297 func (m *WebSessionFilter) Unmarshal(dAtA []byte) error { 86298 l := len(dAtA) 86299 iNdEx := 0 86300 for iNdEx < l { 86301 preIndex := iNdEx 86302 var wire uint64 86303 for shift := uint(0); ; shift += 7 { 86304 if shift >= 64 { 86305 return ErrIntOverflowTypes 86306 } 86307 if iNdEx >= l { 86308 return io.ErrUnexpectedEOF 86309 } 86310 b := dAtA[iNdEx] 86311 iNdEx++ 86312 wire |= uint64(b&0x7F) << shift 86313 if b < 0x80 { 86314 break 86315 } 86316 } 86317 fieldNum := int32(wire >> 3) 86318 wireType := int(wire & 0x7) 86319 if wireType == 4 { 86320 return fmt.Errorf("proto: WebSessionFilter: wiretype end group for non-group") 86321 } 86322 if fieldNum <= 0 { 86323 return fmt.Errorf("proto: WebSessionFilter: illegal tag %d (wire type %d)", fieldNum, wire) 86324 } 86325 switch fieldNum { 86326 case 1: 86327 if wireType != 2 { 86328 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 86329 } 86330 var stringLen uint64 86331 for shift := uint(0); ; shift += 7 { 86332 if shift >= 64 { 86333 return ErrIntOverflowTypes 86334 } 86335 if iNdEx >= l { 86336 return io.ErrUnexpectedEOF 86337 } 86338 b := dAtA[iNdEx] 86339 iNdEx++ 86340 stringLen |= uint64(b&0x7F) << shift 86341 if b < 0x80 { 86342 break 86343 } 86344 } 86345 intStringLen := int(stringLen) 86346 if intStringLen < 0 { 86347 return ErrInvalidLengthTypes 86348 } 86349 postIndex := iNdEx + intStringLen 86350 if postIndex < 0 { 86351 return ErrInvalidLengthTypes 86352 } 86353 if postIndex > l { 86354 return io.ErrUnexpectedEOF 86355 } 86356 m.User = string(dAtA[iNdEx:postIndex]) 86357 iNdEx = postIndex 86358 default: 86359 iNdEx = preIndex 86360 skippy, err := skipTypes(dAtA[iNdEx:]) 86361 if err != nil { 86362 return err 86363 } 86364 if (skippy < 0) || (iNdEx+skippy) < 0 { 86365 return ErrInvalidLengthTypes 86366 } 86367 if (iNdEx + skippy) > l { 86368 return io.ErrUnexpectedEOF 86369 } 86370 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 86371 iNdEx += skippy 86372 } 86373 } 86374 86375 if iNdEx > l { 86376 return io.ErrUnexpectedEOF 86377 } 86378 return nil 86379 } 86380 func (m *SAMLSessionData) Unmarshal(dAtA []byte) error { 86381 l := len(dAtA) 86382 iNdEx := 0 86383 for iNdEx < l { 86384 preIndex := iNdEx 86385 var wire uint64 86386 for shift := uint(0); ; shift += 7 { 86387 if shift >= 64 { 86388 return ErrIntOverflowTypes 86389 } 86390 if iNdEx >= l { 86391 return io.ErrUnexpectedEOF 86392 } 86393 b := dAtA[iNdEx] 86394 iNdEx++ 86395 wire |= uint64(b&0x7F) << shift 86396 if b < 0x80 { 86397 break 86398 } 86399 } 86400 fieldNum := int32(wire >> 3) 86401 wireType := int(wire & 0x7) 86402 if wireType == 4 { 86403 return fmt.Errorf("proto: SAMLSessionData: wiretype end group for non-group") 86404 } 86405 if fieldNum <= 0 { 86406 return fmt.Errorf("proto: SAMLSessionData: illegal tag %d (wire type %d)", fieldNum, wire) 86407 } 86408 switch fieldNum { 86409 case 1: 86410 if wireType != 2 { 86411 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 86412 } 86413 var stringLen uint64 86414 for shift := uint(0); ; shift += 7 { 86415 if shift >= 64 { 86416 return ErrIntOverflowTypes 86417 } 86418 if iNdEx >= l { 86419 return io.ErrUnexpectedEOF 86420 } 86421 b := dAtA[iNdEx] 86422 iNdEx++ 86423 stringLen |= uint64(b&0x7F) << shift 86424 if b < 0x80 { 86425 break 86426 } 86427 } 86428 intStringLen := int(stringLen) 86429 if intStringLen < 0 { 86430 return ErrInvalidLengthTypes 86431 } 86432 postIndex := iNdEx + intStringLen 86433 if postIndex < 0 { 86434 return ErrInvalidLengthTypes 86435 } 86436 if postIndex > l { 86437 return io.ErrUnexpectedEOF 86438 } 86439 m.ID = string(dAtA[iNdEx:postIndex]) 86440 iNdEx = postIndex 86441 case 2: 86442 if wireType != 2 { 86443 return fmt.Errorf("proto: wrong wireType = %d for field CreateTime", wireType) 86444 } 86445 var msglen int 86446 for shift := uint(0); ; shift += 7 { 86447 if shift >= 64 { 86448 return ErrIntOverflowTypes 86449 } 86450 if iNdEx >= l { 86451 return io.ErrUnexpectedEOF 86452 } 86453 b := dAtA[iNdEx] 86454 iNdEx++ 86455 msglen |= int(b&0x7F) << shift 86456 if b < 0x80 { 86457 break 86458 } 86459 } 86460 if msglen < 0 { 86461 return ErrInvalidLengthTypes 86462 } 86463 postIndex := iNdEx + msglen 86464 if postIndex < 0 { 86465 return ErrInvalidLengthTypes 86466 } 86467 if postIndex > l { 86468 return io.ErrUnexpectedEOF 86469 } 86470 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CreateTime, dAtA[iNdEx:postIndex]); err != nil { 86471 return err 86472 } 86473 iNdEx = postIndex 86474 case 3: 86475 if wireType != 2 { 86476 return fmt.Errorf("proto: wrong wireType = %d for field ExpireTime", wireType) 86477 } 86478 var msglen int 86479 for shift := uint(0); ; shift += 7 { 86480 if shift >= 64 { 86481 return ErrIntOverflowTypes 86482 } 86483 if iNdEx >= l { 86484 return io.ErrUnexpectedEOF 86485 } 86486 b := dAtA[iNdEx] 86487 iNdEx++ 86488 msglen |= int(b&0x7F) << shift 86489 if b < 0x80 { 86490 break 86491 } 86492 } 86493 if msglen < 0 { 86494 return ErrInvalidLengthTypes 86495 } 86496 postIndex := iNdEx + msglen 86497 if postIndex < 0 { 86498 return ErrInvalidLengthTypes 86499 } 86500 if postIndex > l { 86501 return io.ErrUnexpectedEOF 86502 } 86503 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.ExpireTime, dAtA[iNdEx:postIndex]); err != nil { 86504 return err 86505 } 86506 iNdEx = postIndex 86507 case 4: 86508 if wireType != 2 { 86509 return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) 86510 } 86511 var stringLen uint64 86512 for shift := uint(0); ; shift += 7 { 86513 if shift >= 64 { 86514 return ErrIntOverflowTypes 86515 } 86516 if iNdEx >= l { 86517 return io.ErrUnexpectedEOF 86518 } 86519 b := dAtA[iNdEx] 86520 iNdEx++ 86521 stringLen |= uint64(b&0x7F) << shift 86522 if b < 0x80 { 86523 break 86524 } 86525 } 86526 intStringLen := int(stringLen) 86527 if intStringLen < 0 { 86528 return ErrInvalidLengthTypes 86529 } 86530 postIndex := iNdEx + intStringLen 86531 if postIndex < 0 { 86532 return ErrInvalidLengthTypes 86533 } 86534 if postIndex > l { 86535 return io.ErrUnexpectedEOF 86536 } 86537 m.Index = string(dAtA[iNdEx:postIndex]) 86538 iNdEx = postIndex 86539 case 5: 86540 if wireType != 2 { 86541 return fmt.Errorf("proto: wrong wireType = %d for field NameID", wireType) 86542 } 86543 var stringLen uint64 86544 for shift := uint(0); ; shift += 7 { 86545 if shift >= 64 { 86546 return ErrIntOverflowTypes 86547 } 86548 if iNdEx >= l { 86549 return io.ErrUnexpectedEOF 86550 } 86551 b := dAtA[iNdEx] 86552 iNdEx++ 86553 stringLen |= uint64(b&0x7F) << shift 86554 if b < 0x80 { 86555 break 86556 } 86557 } 86558 intStringLen := int(stringLen) 86559 if intStringLen < 0 { 86560 return ErrInvalidLengthTypes 86561 } 86562 postIndex := iNdEx + intStringLen 86563 if postIndex < 0 { 86564 return ErrInvalidLengthTypes 86565 } 86566 if postIndex > l { 86567 return io.ErrUnexpectedEOF 86568 } 86569 m.NameID = string(dAtA[iNdEx:postIndex]) 86570 iNdEx = postIndex 86571 case 6: 86572 if wireType != 2 { 86573 return fmt.Errorf("proto: wrong wireType = %d for field NameIDFormat", wireType) 86574 } 86575 var stringLen uint64 86576 for shift := uint(0); ; shift += 7 { 86577 if shift >= 64 { 86578 return ErrIntOverflowTypes 86579 } 86580 if iNdEx >= l { 86581 return io.ErrUnexpectedEOF 86582 } 86583 b := dAtA[iNdEx] 86584 iNdEx++ 86585 stringLen |= uint64(b&0x7F) << shift 86586 if b < 0x80 { 86587 break 86588 } 86589 } 86590 intStringLen := int(stringLen) 86591 if intStringLen < 0 { 86592 return ErrInvalidLengthTypes 86593 } 86594 postIndex := iNdEx + intStringLen 86595 if postIndex < 0 { 86596 return ErrInvalidLengthTypes 86597 } 86598 if postIndex > l { 86599 return io.ErrUnexpectedEOF 86600 } 86601 m.NameIDFormat = string(dAtA[iNdEx:postIndex]) 86602 iNdEx = postIndex 86603 case 7: 86604 if wireType != 2 { 86605 return fmt.Errorf("proto: wrong wireType = %d for field SubjectID", wireType) 86606 } 86607 var stringLen uint64 86608 for shift := uint(0); ; shift += 7 { 86609 if shift >= 64 { 86610 return ErrIntOverflowTypes 86611 } 86612 if iNdEx >= l { 86613 return io.ErrUnexpectedEOF 86614 } 86615 b := dAtA[iNdEx] 86616 iNdEx++ 86617 stringLen |= uint64(b&0x7F) << shift 86618 if b < 0x80 { 86619 break 86620 } 86621 } 86622 intStringLen := int(stringLen) 86623 if intStringLen < 0 { 86624 return ErrInvalidLengthTypes 86625 } 86626 postIndex := iNdEx + intStringLen 86627 if postIndex < 0 { 86628 return ErrInvalidLengthTypes 86629 } 86630 if postIndex > l { 86631 return io.ErrUnexpectedEOF 86632 } 86633 m.SubjectID = string(dAtA[iNdEx:postIndex]) 86634 iNdEx = postIndex 86635 case 8: 86636 if wireType != 2 { 86637 return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType) 86638 } 86639 var stringLen uint64 86640 for shift := uint(0); ; shift += 7 { 86641 if shift >= 64 { 86642 return ErrIntOverflowTypes 86643 } 86644 if iNdEx >= l { 86645 return io.ErrUnexpectedEOF 86646 } 86647 b := dAtA[iNdEx] 86648 iNdEx++ 86649 stringLen |= uint64(b&0x7F) << shift 86650 if b < 0x80 { 86651 break 86652 } 86653 } 86654 intStringLen := int(stringLen) 86655 if intStringLen < 0 { 86656 return ErrInvalidLengthTypes 86657 } 86658 postIndex := iNdEx + intStringLen 86659 if postIndex < 0 { 86660 return ErrInvalidLengthTypes 86661 } 86662 if postIndex > l { 86663 return io.ErrUnexpectedEOF 86664 } 86665 m.Groups = append(m.Groups, string(dAtA[iNdEx:postIndex])) 86666 iNdEx = postIndex 86667 case 9: 86668 if wireType != 2 { 86669 return fmt.Errorf("proto: wrong wireType = %d for field UserName", wireType) 86670 } 86671 var stringLen uint64 86672 for shift := uint(0); ; shift += 7 { 86673 if shift >= 64 { 86674 return ErrIntOverflowTypes 86675 } 86676 if iNdEx >= l { 86677 return io.ErrUnexpectedEOF 86678 } 86679 b := dAtA[iNdEx] 86680 iNdEx++ 86681 stringLen |= uint64(b&0x7F) << shift 86682 if b < 0x80 { 86683 break 86684 } 86685 } 86686 intStringLen := int(stringLen) 86687 if intStringLen < 0 { 86688 return ErrInvalidLengthTypes 86689 } 86690 postIndex := iNdEx + intStringLen 86691 if postIndex < 0 { 86692 return ErrInvalidLengthTypes 86693 } 86694 if postIndex > l { 86695 return io.ErrUnexpectedEOF 86696 } 86697 m.UserName = string(dAtA[iNdEx:postIndex]) 86698 iNdEx = postIndex 86699 case 10: 86700 if wireType != 2 { 86701 return fmt.Errorf("proto: wrong wireType = %d for field UserEmail", wireType) 86702 } 86703 var stringLen uint64 86704 for shift := uint(0); ; shift += 7 { 86705 if shift >= 64 { 86706 return ErrIntOverflowTypes 86707 } 86708 if iNdEx >= l { 86709 return io.ErrUnexpectedEOF 86710 } 86711 b := dAtA[iNdEx] 86712 iNdEx++ 86713 stringLen |= uint64(b&0x7F) << shift 86714 if b < 0x80 { 86715 break 86716 } 86717 } 86718 intStringLen := int(stringLen) 86719 if intStringLen < 0 { 86720 return ErrInvalidLengthTypes 86721 } 86722 postIndex := iNdEx + intStringLen 86723 if postIndex < 0 { 86724 return ErrInvalidLengthTypes 86725 } 86726 if postIndex > l { 86727 return io.ErrUnexpectedEOF 86728 } 86729 m.UserEmail = string(dAtA[iNdEx:postIndex]) 86730 iNdEx = postIndex 86731 case 11: 86732 if wireType != 2 { 86733 return fmt.Errorf("proto: wrong wireType = %d for field UserCommonName", wireType) 86734 } 86735 var stringLen uint64 86736 for shift := uint(0); ; shift += 7 { 86737 if shift >= 64 { 86738 return ErrIntOverflowTypes 86739 } 86740 if iNdEx >= l { 86741 return io.ErrUnexpectedEOF 86742 } 86743 b := dAtA[iNdEx] 86744 iNdEx++ 86745 stringLen |= uint64(b&0x7F) << shift 86746 if b < 0x80 { 86747 break 86748 } 86749 } 86750 intStringLen := int(stringLen) 86751 if intStringLen < 0 { 86752 return ErrInvalidLengthTypes 86753 } 86754 postIndex := iNdEx + intStringLen 86755 if postIndex < 0 { 86756 return ErrInvalidLengthTypes 86757 } 86758 if postIndex > l { 86759 return io.ErrUnexpectedEOF 86760 } 86761 m.UserCommonName = string(dAtA[iNdEx:postIndex]) 86762 iNdEx = postIndex 86763 case 12: 86764 if wireType != 2 { 86765 return fmt.Errorf("proto: wrong wireType = %d for field UserSurname", wireType) 86766 } 86767 var stringLen uint64 86768 for shift := uint(0); ; shift += 7 { 86769 if shift >= 64 { 86770 return ErrIntOverflowTypes 86771 } 86772 if iNdEx >= l { 86773 return io.ErrUnexpectedEOF 86774 } 86775 b := dAtA[iNdEx] 86776 iNdEx++ 86777 stringLen |= uint64(b&0x7F) << shift 86778 if b < 0x80 { 86779 break 86780 } 86781 } 86782 intStringLen := int(stringLen) 86783 if intStringLen < 0 { 86784 return ErrInvalidLengthTypes 86785 } 86786 postIndex := iNdEx + intStringLen 86787 if postIndex < 0 { 86788 return ErrInvalidLengthTypes 86789 } 86790 if postIndex > l { 86791 return io.ErrUnexpectedEOF 86792 } 86793 m.UserSurname = string(dAtA[iNdEx:postIndex]) 86794 iNdEx = postIndex 86795 case 13: 86796 if wireType != 2 { 86797 return fmt.Errorf("proto: wrong wireType = %d for field UserGivenName", wireType) 86798 } 86799 var stringLen uint64 86800 for shift := uint(0); ; shift += 7 { 86801 if shift >= 64 { 86802 return ErrIntOverflowTypes 86803 } 86804 if iNdEx >= l { 86805 return io.ErrUnexpectedEOF 86806 } 86807 b := dAtA[iNdEx] 86808 iNdEx++ 86809 stringLen |= uint64(b&0x7F) << shift 86810 if b < 0x80 { 86811 break 86812 } 86813 } 86814 intStringLen := int(stringLen) 86815 if intStringLen < 0 { 86816 return ErrInvalidLengthTypes 86817 } 86818 postIndex := iNdEx + intStringLen 86819 if postIndex < 0 { 86820 return ErrInvalidLengthTypes 86821 } 86822 if postIndex > l { 86823 return io.ErrUnexpectedEOF 86824 } 86825 m.UserGivenName = string(dAtA[iNdEx:postIndex]) 86826 iNdEx = postIndex 86827 case 14: 86828 if wireType != 2 { 86829 return fmt.Errorf("proto: wrong wireType = %d for field UserScopedAffiliation", wireType) 86830 } 86831 var stringLen uint64 86832 for shift := uint(0); ; shift += 7 { 86833 if shift >= 64 { 86834 return ErrIntOverflowTypes 86835 } 86836 if iNdEx >= l { 86837 return io.ErrUnexpectedEOF 86838 } 86839 b := dAtA[iNdEx] 86840 iNdEx++ 86841 stringLen |= uint64(b&0x7F) << shift 86842 if b < 0x80 { 86843 break 86844 } 86845 } 86846 intStringLen := int(stringLen) 86847 if intStringLen < 0 { 86848 return ErrInvalidLengthTypes 86849 } 86850 postIndex := iNdEx + intStringLen 86851 if postIndex < 0 { 86852 return ErrInvalidLengthTypes 86853 } 86854 if postIndex > l { 86855 return io.ErrUnexpectedEOF 86856 } 86857 m.UserScopedAffiliation = string(dAtA[iNdEx:postIndex]) 86858 iNdEx = postIndex 86859 case 15: 86860 if wireType != 2 { 86861 return fmt.Errorf("proto: wrong wireType = %d for field CustomAttributes", wireType) 86862 } 86863 var msglen int 86864 for shift := uint(0); ; shift += 7 { 86865 if shift >= 64 { 86866 return ErrIntOverflowTypes 86867 } 86868 if iNdEx >= l { 86869 return io.ErrUnexpectedEOF 86870 } 86871 b := dAtA[iNdEx] 86872 iNdEx++ 86873 msglen |= int(b&0x7F) << shift 86874 if b < 0x80 { 86875 break 86876 } 86877 } 86878 if msglen < 0 { 86879 return ErrInvalidLengthTypes 86880 } 86881 postIndex := iNdEx + msglen 86882 if postIndex < 0 { 86883 return ErrInvalidLengthTypes 86884 } 86885 if postIndex > l { 86886 return io.ErrUnexpectedEOF 86887 } 86888 m.CustomAttributes = append(m.CustomAttributes, &SAMLAttribute{}) 86889 if err := m.CustomAttributes[len(m.CustomAttributes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 86890 return err 86891 } 86892 iNdEx = postIndex 86893 default: 86894 iNdEx = preIndex 86895 skippy, err := skipTypes(dAtA[iNdEx:]) 86896 if err != nil { 86897 return err 86898 } 86899 if (skippy < 0) || (iNdEx+skippy) < 0 { 86900 return ErrInvalidLengthTypes 86901 } 86902 if (iNdEx + skippy) > l { 86903 return io.ErrUnexpectedEOF 86904 } 86905 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 86906 iNdEx += skippy 86907 } 86908 } 86909 86910 if iNdEx > l { 86911 return io.ErrUnexpectedEOF 86912 } 86913 return nil 86914 } 86915 func (m *SAMLAttribute) Unmarshal(dAtA []byte) error { 86916 l := len(dAtA) 86917 iNdEx := 0 86918 for iNdEx < l { 86919 preIndex := iNdEx 86920 var wire uint64 86921 for shift := uint(0); ; shift += 7 { 86922 if shift >= 64 { 86923 return ErrIntOverflowTypes 86924 } 86925 if iNdEx >= l { 86926 return io.ErrUnexpectedEOF 86927 } 86928 b := dAtA[iNdEx] 86929 iNdEx++ 86930 wire |= uint64(b&0x7F) << shift 86931 if b < 0x80 { 86932 break 86933 } 86934 } 86935 fieldNum := int32(wire >> 3) 86936 wireType := int(wire & 0x7) 86937 if wireType == 4 { 86938 return fmt.Errorf("proto: SAMLAttribute: wiretype end group for non-group") 86939 } 86940 if fieldNum <= 0 { 86941 return fmt.Errorf("proto: SAMLAttribute: illegal tag %d (wire type %d)", fieldNum, wire) 86942 } 86943 switch fieldNum { 86944 case 1: 86945 if wireType != 2 { 86946 return fmt.Errorf("proto: wrong wireType = %d for field FriendlyName", wireType) 86947 } 86948 var stringLen uint64 86949 for shift := uint(0); ; shift += 7 { 86950 if shift >= 64 { 86951 return ErrIntOverflowTypes 86952 } 86953 if iNdEx >= l { 86954 return io.ErrUnexpectedEOF 86955 } 86956 b := dAtA[iNdEx] 86957 iNdEx++ 86958 stringLen |= uint64(b&0x7F) << shift 86959 if b < 0x80 { 86960 break 86961 } 86962 } 86963 intStringLen := int(stringLen) 86964 if intStringLen < 0 { 86965 return ErrInvalidLengthTypes 86966 } 86967 postIndex := iNdEx + intStringLen 86968 if postIndex < 0 { 86969 return ErrInvalidLengthTypes 86970 } 86971 if postIndex > l { 86972 return io.ErrUnexpectedEOF 86973 } 86974 m.FriendlyName = string(dAtA[iNdEx:postIndex]) 86975 iNdEx = postIndex 86976 case 2: 86977 if wireType != 2 { 86978 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 86979 } 86980 var stringLen uint64 86981 for shift := uint(0); ; shift += 7 { 86982 if shift >= 64 { 86983 return ErrIntOverflowTypes 86984 } 86985 if iNdEx >= l { 86986 return io.ErrUnexpectedEOF 86987 } 86988 b := dAtA[iNdEx] 86989 iNdEx++ 86990 stringLen |= uint64(b&0x7F) << shift 86991 if b < 0x80 { 86992 break 86993 } 86994 } 86995 intStringLen := int(stringLen) 86996 if intStringLen < 0 { 86997 return ErrInvalidLengthTypes 86998 } 86999 postIndex := iNdEx + intStringLen 87000 if postIndex < 0 { 87001 return ErrInvalidLengthTypes 87002 } 87003 if postIndex > l { 87004 return io.ErrUnexpectedEOF 87005 } 87006 m.Name = string(dAtA[iNdEx:postIndex]) 87007 iNdEx = postIndex 87008 case 3: 87009 if wireType != 2 { 87010 return fmt.Errorf("proto: wrong wireType = %d for field NameFormat", wireType) 87011 } 87012 var stringLen uint64 87013 for shift := uint(0); ; shift += 7 { 87014 if shift >= 64 { 87015 return ErrIntOverflowTypes 87016 } 87017 if iNdEx >= l { 87018 return io.ErrUnexpectedEOF 87019 } 87020 b := dAtA[iNdEx] 87021 iNdEx++ 87022 stringLen |= uint64(b&0x7F) << shift 87023 if b < 0x80 { 87024 break 87025 } 87026 } 87027 intStringLen := int(stringLen) 87028 if intStringLen < 0 { 87029 return ErrInvalidLengthTypes 87030 } 87031 postIndex := iNdEx + intStringLen 87032 if postIndex < 0 { 87033 return ErrInvalidLengthTypes 87034 } 87035 if postIndex > l { 87036 return io.ErrUnexpectedEOF 87037 } 87038 m.NameFormat = string(dAtA[iNdEx:postIndex]) 87039 iNdEx = postIndex 87040 case 4: 87041 if wireType != 2 { 87042 return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) 87043 } 87044 var msglen int 87045 for shift := uint(0); ; shift += 7 { 87046 if shift >= 64 { 87047 return ErrIntOverflowTypes 87048 } 87049 if iNdEx >= l { 87050 return io.ErrUnexpectedEOF 87051 } 87052 b := dAtA[iNdEx] 87053 iNdEx++ 87054 msglen |= int(b&0x7F) << shift 87055 if b < 0x80 { 87056 break 87057 } 87058 } 87059 if msglen < 0 { 87060 return ErrInvalidLengthTypes 87061 } 87062 postIndex := iNdEx + msglen 87063 if postIndex < 0 { 87064 return ErrInvalidLengthTypes 87065 } 87066 if postIndex > l { 87067 return io.ErrUnexpectedEOF 87068 } 87069 m.Values = append(m.Values, &SAMLAttributeValue{}) 87070 if err := m.Values[len(m.Values)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 87071 return err 87072 } 87073 iNdEx = postIndex 87074 default: 87075 iNdEx = preIndex 87076 skippy, err := skipTypes(dAtA[iNdEx:]) 87077 if err != nil { 87078 return err 87079 } 87080 if (skippy < 0) || (iNdEx+skippy) < 0 { 87081 return ErrInvalidLengthTypes 87082 } 87083 if (iNdEx + skippy) > l { 87084 return io.ErrUnexpectedEOF 87085 } 87086 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 87087 iNdEx += skippy 87088 } 87089 } 87090 87091 if iNdEx > l { 87092 return io.ErrUnexpectedEOF 87093 } 87094 return nil 87095 } 87096 func (m *SAMLAttributeValue) Unmarshal(dAtA []byte) error { 87097 l := len(dAtA) 87098 iNdEx := 0 87099 for iNdEx < l { 87100 preIndex := iNdEx 87101 var wire uint64 87102 for shift := uint(0); ; shift += 7 { 87103 if shift >= 64 { 87104 return ErrIntOverflowTypes 87105 } 87106 if iNdEx >= l { 87107 return io.ErrUnexpectedEOF 87108 } 87109 b := dAtA[iNdEx] 87110 iNdEx++ 87111 wire |= uint64(b&0x7F) << shift 87112 if b < 0x80 { 87113 break 87114 } 87115 } 87116 fieldNum := int32(wire >> 3) 87117 wireType := int(wire & 0x7) 87118 if wireType == 4 { 87119 return fmt.Errorf("proto: SAMLAttributeValue: wiretype end group for non-group") 87120 } 87121 if fieldNum <= 0 { 87122 return fmt.Errorf("proto: SAMLAttributeValue: illegal tag %d (wire type %d)", fieldNum, wire) 87123 } 87124 switch fieldNum { 87125 case 1: 87126 if wireType != 2 { 87127 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 87128 } 87129 var stringLen uint64 87130 for shift := uint(0); ; shift += 7 { 87131 if shift >= 64 { 87132 return ErrIntOverflowTypes 87133 } 87134 if iNdEx >= l { 87135 return io.ErrUnexpectedEOF 87136 } 87137 b := dAtA[iNdEx] 87138 iNdEx++ 87139 stringLen |= uint64(b&0x7F) << shift 87140 if b < 0x80 { 87141 break 87142 } 87143 } 87144 intStringLen := int(stringLen) 87145 if intStringLen < 0 { 87146 return ErrInvalidLengthTypes 87147 } 87148 postIndex := iNdEx + intStringLen 87149 if postIndex < 0 { 87150 return ErrInvalidLengthTypes 87151 } 87152 if postIndex > l { 87153 return io.ErrUnexpectedEOF 87154 } 87155 m.Type = string(dAtA[iNdEx:postIndex]) 87156 iNdEx = postIndex 87157 case 2: 87158 if wireType != 2 { 87159 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 87160 } 87161 var stringLen uint64 87162 for shift := uint(0); ; shift += 7 { 87163 if shift >= 64 { 87164 return ErrIntOverflowTypes 87165 } 87166 if iNdEx >= l { 87167 return io.ErrUnexpectedEOF 87168 } 87169 b := dAtA[iNdEx] 87170 iNdEx++ 87171 stringLen |= uint64(b&0x7F) << shift 87172 if b < 0x80 { 87173 break 87174 } 87175 } 87176 intStringLen := int(stringLen) 87177 if intStringLen < 0 { 87178 return ErrInvalidLengthTypes 87179 } 87180 postIndex := iNdEx + intStringLen 87181 if postIndex < 0 { 87182 return ErrInvalidLengthTypes 87183 } 87184 if postIndex > l { 87185 return io.ErrUnexpectedEOF 87186 } 87187 m.Value = string(dAtA[iNdEx:postIndex]) 87188 iNdEx = postIndex 87189 case 3: 87190 if wireType != 2 { 87191 return fmt.Errorf("proto: wrong wireType = %d for field NameID", wireType) 87192 } 87193 var msglen int 87194 for shift := uint(0); ; shift += 7 { 87195 if shift >= 64 { 87196 return ErrIntOverflowTypes 87197 } 87198 if iNdEx >= l { 87199 return io.ErrUnexpectedEOF 87200 } 87201 b := dAtA[iNdEx] 87202 iNdEx++ 87203 msglen |= int(b&0x7F) << shift 87204 if b < 0x80 { 87205 break 87206 } 87207 } 87208 if msglen < 0 { 87209 return ErrInvalidLengthTypes 87210 } 87211 postIndex := iNdEx + msglen 87212 if postIndex < 0 { 87213 return ErrInvalidLengthTypes 87214 } 87215 if postIndex > l { 87216 return io.ErrUnexpectedEOF 87217 } 87218 if m.NameID == nil { 87219 m.NameID = &SAMLNameID{} 87220 } 87221 if err := m.NameID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 87222 return err 87223 } 87224 iNdEx = postIndex 87225 default: 87226 iNdEx = preIndex 87227 skippy, err := skipTypes(dAtA[iNdEx:]) 87228 if err != nil { 87229 return err 87230 } 87231 if (skippy < 0) || (iNdEx+skippy) < 0 { 87232 return ErrInvalidLengthTypes 87233 } 87234 if (iNdEx + skippy) > l { 87235 return io.ErrUnexpectedEOF 87236 } 87237 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 87238 iNdEx += skippy 87239 } 87240 } 87241 87242 if iNdEx > l { 87243 return io.ErrUnexpectedEOF 87244 } 87245 return nil 87246 } 87247 func (m *SAMLNameID) Unmarshal(dAtA []byte) error { 87248 l := len(dAtA) 87249 iNdEx := 0 87250 for iNdEx < l { 87251 preIndex := iNdEx 87252 var wire uint64 87253 for shift := uint(0); ; shift += 7 { 87254 if shift >= 64 { 87255 return ErrIntOverflowTypes 87256 } 87257 if iNdEx >= l { 87258 return io.ErrUnexpectedEOF 87259 } 87260 b := dAtA[iNdEx] 87261 iNdEx++ 87262 wire |= uint64(b&0x7F) << shift 87263 if b < 0x80 { 87264 break 87265 } 87266 } 87267 fieldNum := int32(wire >> 3) 87268 wireType := int(wire & 0x7) 87269 if wireType == 4 { 87270 return fmt.Errorf("proto: SAMLNameID: wiretype end group for non-group") 87271 } 87272 if fieldNum <= 0 { 87273 return fmt.Errorf("proto: SAMLNameID: illegal tag %d (wire type %d)", fieldNum, wire) 87274 } 87275 switch fieldNum { 87276 case 1: 87277 if wireType != 2 { 87278 return fmt.Errorf("proto: wrong wireType = %d for field NameQualifier", wireType) 87279 } 87280 var stringLen uint64 87281 for shift := uint(0); ; shift += 7 { 87282 if shift >= 64 { 87283 return ErrIntOverflowTypes 87284 } 87285 if iNdEx >= l { 87286 return io.ErrUnexpectedEOF 87287 } 87288 b := dAtA[iNdEx] 87289 iNdEx++ 87290 stringLen |= uint64(b&0x7F) << shift 87291 if b < 0x80 { 87292 break 87293 } 87294 } 87295 intStringLen := int(stringLen) 87296 if intStringLen < 0 { 87297 return ErrInvalidLengthTypes 87298 } 87299 postIndex := iNdEx + intStringLen 87300 if postIndex < 0 { 87301 return ErrInvalidLengthTypes 87302 } 87303 if postIndex > l { 87304 return io.ErrUnexpectedEOF 87305 } 87306 m.NameQualifier = string(dAtA[iNdEx:postIndex]) 87307 iNdEx = postIndex 87308 case 2: 87309 if wireType != 2 { 87310 return fmt.Errorf("proto: wrong wireType = %d for field SPNameQualifier", wireType) 87311 } 87312 var stringLen uint64 87313 for shift := uint(0); ; shift += 7 { 87314 if shift >= 64 { 87315 return ErrIntOverflowTypes 87316 } 87317 if iNdEx >= l { 87318 return io.ErrUnexpectedEOF 87319 } 87320 b := dAtA[iNdEx] 87321 iNdEx++ 87322 stringLen |= uint64(b&0x7F) << shift 87323 if b < 0x80 { 87324 break 87325 } 87326 } 87327 intStringLen := int(stringLen) 87328 if intStringLen < 0 { 87329 return ErrInvalidLengthTypes 87330 } 87331 postIndex := iNdEx + intStringLen 87332 if postIndex < 0 { 87333 return ErrInvalidLengthTypes 87334 } 87335 if postIndex > l { 87336 return io.ErrUnexpectedEOF 87337 } 87338 m.SPNameQualifier = string(dAtA[iNdEx:postIndex]) 87339 iNdEx = postIndex 87340 case 3: 87341 if wireType != 2 { 87342 return fmt.Errorf("proto: wrong wireType = %d for field Format", wireType) 87343 } 87344 var stringLen uint64 87345 for shift := uint(0); ; shift += 7 { 87346 if shift >= 64 { 87347 return ErrIntOverflowTypes 87348 } 87349 if iNdEx >= l { 87350 return io.ErrUnexpectedEOF 87351 } 87352 b := dAtA[iNdEx] 87353 iNdEx++ 87354 stringLen |= uint64(b&0x7F) << shift 87355 if b < 0x80 { 87356 break 87357 } 87358 } 87359 intStringLen := int(stringLen) 87360 if intStringLen < 0 { 87361 return ErrInvalidLengthTypes 87362 } 87363 postIndex := iNdEx + intStringLen 87364 if postIndex < 0 { 87365 return ErrInvalidLengthTypes 87366 } 87367 if postIndex > l { 87368 return io.ErrUnexpectedEOF 87369 } 87370 m.Format = string(dAtA[iNdEx:postIndex]) 87371 iNdEx = postIndex 87372 case 4: 87373 if wireType != 2 { 87374 return fmt.Errorf("proto: wrong wireType = %d for field SPProvidedID", wireType) 87375 } 87376 var stringLen uint64 87377 for shift := uint(0); ; shift += 7 { 87378 if shift >= 64 { 87379 return ErrIntOverflowTypes 87380 } 87381 if iNdEx >= l { 87382 return io.ErrUnexpectedEOF 87383 } 87384 b := dAtA[iNdEx] 87385 iNdEx++ 87386 stringLen |= uint64(b&0x7F) << shift 87387 if b < 0x80 { 87388 break 87389 } 87390 } 87391 intStringLen := int(stringLen) 87392 if intStringLen < 0 { 87393 return ErrInvalidLengthTypes 87394 } 87395 postIndex := iNdEx + intStringLen 87396 if postIndex < 0 { 87397 return ErrInvalidLengthTypes 87398 } 87399 if postIndex > l { 87400 return io.ErrUnexpectedEOF 87401 } 87402 m.SPProvidedID = string(dAtA[iNdEx:postIndex]) 87403 iNdEx = postIndex 87404 case 5: 87405 if wireType != 2 { 87406 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 87407 } 87408 var stringLen uint64 87409 for shift := uint(0); ; shift += 7 { 87410 if shift >= 64 { 87411 return ErrIntOverflowTypes 87412 } 87413 if iNdEx >= l { 87414 return io.ErrUnexpectedEOF 87415 } 87416 b := dAtA[iNdEx] 87417 iNdEx++ 87418 stringLen |= uint64(b&0x7F) << shift 87419 if b < 0x80 { 87420 break 87421 } 87422 } 87423 intStringLen := int(stringLen) 87424 if intStringLen < 0 { 87425 return ErrInvalidLengthTypes 87426 } 87427 postIndex := iNdEx + intStringLen 87428 if postIndex < 0 { 87429 return ErrInvalidLengthTypes 87430 } 87431 if postIndex > l { 87432 return io.ErrUnexpectedEOF 87433 } 87434 m.Value = string(dAtA[iNdEx:postIndex]) 87435 iNdEx = postIndex 87436 default: 87437 iNdEx = preIndex 87438 skippy, err := skipTypes(dAtA[iNdEx:]) 87439 if err != nil { 87440 return err 87441 } 87442 if (skippy < 0) || (iNdEx+skippy) < 0 { 87443 return ErrInvalidLengthTypes 87444 } 87445 if (iNdEx + skippy) > l { 87446 return io.ErrUnexpectedEOF 87447 } 87448 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 87449 iNdEx += skippy 87450 } 87451 } 87452 87453 if iNdEx > l { 87454 return io.ErrUnexpectedEOF 87455 } 87456 return nil 87457 } 87458 func (m *RemoteClusterV3) Unmarshal(dAtA []byte) error { 87459 l := len(dAtA) 87460 iNdEx := 0 87461 for iNdEx < l { 87462 preIndex := iNdEx 87463 var wire uint64 87464 for shift := uint(0); ; shift += 7 { 87465 if shift >= 64 { 87466 return ErrIntOverflowTypes 87467 } 87468 if iNdEx >= l { 87469 return io.ErrUnexpectedEOF 87470 } 87471 b := dAtA[iNdEx] 87472 iNdEx++ 87473 wire |= uint64(b&0x7F) << shift 87474 if b < 0x80 { 87475 break 87476 } 87477 } 87478 fieldNum := int32(wire >> 3) 87479 wireType := int(wire & 0x7) 87480 if wireType == 4 { 87481 return fmt.Errorf("proto: RemoteClusterV3: wiretype end group for non-group") 87482 } 87483 if fieldNum <= 0 { 87484 return fmt.Errorf("proto: RemoteClusterV3: illegal tag %d (wire type %d)", fieldNum, wire) 87485 } 87486 switch fieldNum { 87487 case 1: 87488 if wireType != 2 { 87489 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 87490 } 87491 var stringLen uint64 87492 for shift := uint(0); ; shift += 7 { 87493 if shift >= 64 { 87494 return ErrIntOverflowTypes 87495 } 87496 if iNdEx >= l { 87497 return io.ErrUnexpectedEOF 87498 } 87499 b := dAtA[iNdEx] 87500 iNdEx++ 87501 stringLen |= uint64(b&0x7F) << shift 87502 if b < 0x80 { 87503 break 87504 } 87505 } 87506 intStringLen := int(stringLen) 87507 if intStringLen < 0 { 87508 return ErrInvalidLengthTypes 87509 } 87510 postIndex := iNdEx + intStringLen 87511 if postIndex < 0 { 87512 return ErrInvalidLengthTypes 87513 } 87514 if postIndex > l { 87515 return io.ErrUnexpectedEOF 87516 } 87517 m.Kind = string(dAtA[iNdEx:postIndex]) 87518 iNdEx = postIndex 87519 case 2: 87520 if wireType != 2 { 87521 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 87522 } 87523 var stringLen uint64 87524 for shift := uint(0); ; shift += 7 { 87525 if shift >= 64 { 87526 return ErrIntOverflowTypes 87527 } 87528 if iNdEx >= l { 87529 return io.ErrUnexpectedEOF 87530 } 87531 b := dAtA[iNdEx] 87532 iNdEx++ 87533 stringLen |= uint64(b&0x7F) << shift 87534 if b < 0x80 { 87535 break 87536 } 87537 } 87538 intStringLen := int(stringLen) 87539 if intStringLen < 0 { 87540 return ErrInvalidLengthTypes 87541 } 87542 postIndex := iNdEx + intStringLen 87543 if postIndex < 0 { 87544 return ErrInvalidLengthTypes 87545 } 87546 if postIndex > l { 87547 return io.ErrUnexpectedEOF 87548 } 87549 m.SubKind = string(dAtA[iNdEx:postIndex]) 87550 iNdEx = postIndex 87551 case 3: 87552 if wireType != 2 { 87553 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 87554 } 87555 var stringLen uint64 87556 for shift := uint(0); ; shift += 7 { 87557 if shift >= 64 { 87558 return ErrIntOverflowTypes 87559 } 87560 if iNdEx >= l { 87561 return io.ErrUnexpectedEOF 87562 } 87563 b := dAtA[iNdEx] 87564 iNdEx++ 87565 stringLen |= uint64(b&0x7F) << shift 87566 if b < 0x80 { 87567 break 87568 } 87569 } 87570 intStringLen := int(stringLen) 87571 if intStringLen < 0 { 87572 return ErrInvalidLengthTypes 87573 } 87574 postIndex := iNdEx + intStringLen 87575 if postIndex < 0 { 87576 return ErrInvalidLengthTypes 87577 } 87578 if postIndex > l { 87579 return io.ErrUnexpectedEOF 87580 } 87581 m.Version = string(dAtA[iNdEx:postIndex]) 87582 iNdEx = postIndex 87583 case 4: 87584 if wireType != 2 { 87585 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 87586 } 87587 var msglen int 87588 for shift := uint(0); ; shift += 7 { 87589 if shift >= 64 { 87590 return ErrIntOverflowTypes 87591 } 87592 if iNdEx >= l { 87593 return io.ErrUnexpectedEOF 87594 } 87595 b := dAtA[iNdEx] 87596 iNdEx++ 87597 msglen |= int(b&0x7F) << shift 87598 if b < 0x80 { 87599 break 87600 } 87601 } 87602 if msglen < 0 { 87603 return ErrInvalidLengthTypes 87604 } 87605 postIndex := iNdEx + msglen 87606 if postIndex < 0 { 87607 return ErrInvalidLengthTypes 87608 } 87609 if postIndex > l { 87610 return io.ErrUnexpectedEOF 87611 } 87612 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 87613 return err 87614 } 87615 iNdEx = postIndex 87616 case 5: 87617 if wireType != 2 { 87618 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) 87619 } 87620 var msglen int 87621 for shift := uint(0); ; shift += 7 { 87622 if shift >= 64 { 87623 return ErrIntOverflowTypes 87624 } 87625 if iNdEx >= l { 87626 return io.ErrUnexpectedEOF 87627 } 87628 b := dAtA[iNdEx] 87629 iNdEx++ 87630 msglen |= int(b&0x7F) << shift 87631 if b < 0x80 { 87632 break 87633 } 87634 } 87635 if msglen < 0 { 87636 return ErrInvalidLengthTypes 87637 } 87638 postIndex := iNdEx + msglen 87639 if postIndex < 0 { 87640 return ErrInvalidLengthTypes 87641 } 87642 if postIndex > l { 87643 return io.ErrUnexpectedEOF 87644 } 87645 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 87646 return err 87647 } 87648 iNdEx = postIndex 87649 default: 87650 iNdEx = preIndex 87651 skippy, err := skipTypes(dAtA[iNdEx:]) 87652 if err != nil { 87653 return err 87654 } 87655 if (skippy < 0) || (iNdEx+skippy) < 0 { 87656 return ErrInvalidLengthTypes 87657 } 87658 if (iNdEx + skippy) > l { 87659 return io.ErrUnexpectedEOF 87660 } 87661 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 87662 iNdEx += skippy 87663 } 87664 } 87665 87666 if iNdEx > l { 87667 return io.ErrUnexpectedEOF 87668 } 87669 return nil 87670 } 87671 func (m *RemoteClusterStatusV3) Unmarshal(dAtA []byte) error { 87672 l := len(dAtA) 87673 iNdEx := 0 87674 for iNdEx < l { 87675 preIndex := iNdEx 87676 var wire uint64 87677 for shift := uint(0); ; shift += 7 { 87678 if shift >= 64 { 87679 return ErrIntOverflowTypes 87680 } 87681 if iNdEx >= l { 87682 return io.ErrUnexpectedEOF 87683 } 87684 b := dAtA[iNdEx] 87685 iNdEx++ 87686 wire |= uint64(b&0x7F) << shift 87687 if b < 0x80 { 87688 break 87689 } 87690 } 87691 fieldNum := int32(wire >> 3) 87692 wireType := int(wire & 0x7) 87693 if wireType == 4 { 87694 return fmt.Errorf("proto: RemoteClusterStatusV3: wiretype end group for non-group") 87695 } 87696 if fieldNum <= 0 { 87697 return fmt.Errorf("proto: RemoteClusterStatusV3: illegal tag %d (wire type %d)", fieldNum, wire) 87698 } 87699 switch fieldNum { 87700 case 1: 87701 if wireType != 2 { 87702 return fmt.Errorf("proto: wrong wireType = %d for field Connection", wireType) 87703 } 87704 var stringLen uint64 87705 for shift := uint(0); ; shift += 7 { 87706 if shift >= 64 { 87707 return ErrIntOverflowTypes 87708 } 87709 if iNdEx >= l { 87710 return io.ErrUnexpectedEOF 87711 } 87712 b := dAtA[iNdEx] 87713 iNdEx++ 87714 stringLen |= uint64(b&0x7F) << shift 87715 if b < 0x80 { 87716 break 87717 } 87718 } 87719 intStringLen := int(stringLen) 87720 if intStringLen < 0 { 87721 return ErrInvalidLengthTypes 87722 } 87723 postIndex := iNdEx + intStringLen 87724 if postIndex < 0 { 87725 return ErrInvalidLengthTypes 87726 } 87727 if postIndex > l { 87728 return io.ErrUnexpectedEOF 87729 } 87730 m.Connection = string(dAtA[iNdEx:postIndex]) 87731 iNdEx = postIndex 87732 case 2: 87733 if wireType != 2 { 87734 return fmt.Errorf("proto: wrong wireType = %d for field LastHeartbeat", wireType) 87735 } 87736 var msglen int 87737 for shift := uint(0); ; shift += 7 { 87738 if shift >= 64 { 87739 return ErrIntOverflowTypes 87740 } 87741 if iNdEx >= l { 87742 return io.ErrUnexpectedEOF 87743 } 87744 b := dAtA[iNdEx] 87745 iNdEx++ 87746 msglen |= int(b&0x7F) << shift 87747 if b < 0x80 { 87748 break 87749 } 87750 } 87751 if msglen < 0 { 87752 return ErrInvalidLengthTypes 87753 } 87754 postIndex := iNdEx + msglen 87755 if postIndex < 0 { 87756 return ErrInvalidLengthTypes 87757 } 87758 if postIndex > l { 87759 return io.ErrUnexpectedEOF 87760 } 87761 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.LastHeartbeat, dAtA[iNdEx:postIndex]); err != nil { 87762 return err 87763 } 87764 iNdEx = postIndex 87765 default: 87766 iNdEx = preIndex 87767 skippy, err := skipTypes(dAtA[iNdEx:]) 87768 if err != nil { 87769 return err 87770 } 87771 if (skippy < 0) || (iNdEx+skippy) < 0 { 87772 return ErrInvalidLengthTypes 87773 } 87774 if (iNdEx + skippy) > l { 87775 return io.ErrUnexpectedEOF 87776 } 87777 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 87778 iNdEx += skippy 87779 } 87780 } 87781 87782 if iNdEx > l { 87783 return io.ErrUnexpectedEOF 87784 } 87785 return nil 87786 } 87787 func (m *KubernetesCluster) Unmarshal(dAtA []byte) error { 87788 l := len(dAtA) 87789 iNdEx := 0 87790 for iNdEx < l { 87791 preIndex := iNdEx 87792 var wire uint64 87793 for shift := uint(0); ; shift += 7 { 87794 if shift >= 64 { 87795 return ErrIntOverflowTypes 87796 } 87797 if iNdEx >= l { 87798 return io.ErrUnexpectedEOF 87799 } 87800 b := dAtA[iNdEx] 87801 iNdEx++ 87802 wire |= uint64(b&0x7F) << shift 87803 if b < 0x80 { 87804 break 87805 } 87806 } 87807 fieldNum := int32(wire >> 3) 87808 wireType := int(wire & 0x7) 87809 if wireType == 4 { 87810 return fmt.Errorf("proto: KubernetesCluster: wiretype end group for non-group") 87811 } 87812 if fieldNum <= 0 { 87813 return fmt.Errorf("proto: KubernetesCluster: illegal tag %d (wire type %d)", fieldNum, wire) 87814 } 87815 switch fieldNum { 87816 case 1: 87817 if wireType != 2 { 87818 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 87819 } 87820 var stringLen uint64 87821 for shift := uint(0); ; shift += 7 { 87822 if shift >= 64 { 87823 return ErrIntOverflowTypes 87824 } 87825 if iNdEx >= l { 87826 return io.ErrUnexpectedEOF 87827 } 87828 b := dAtA[iNdEx] 87829 iNdEx++ 87830 stringLen |= uint64(b&0x7F) << shift 87831 if b < 0x80 { 87832 break 87833 } 87834 } 87835 intStringLen := int(stringLen) 87836 if intStringLen < 0 { 87837 return ErrInvalidLengthTypes 87838 } 87839 postIndex := iNdEx + intStringLen 87840 if postIndex < 0 { 87841 return ErrInvalidLengthTypes 87842 } 87843 if postIndex > l { 87844 return io.ErrUnexpectedEOF 87845 } 87846 m.Name = string(dAtA[iNdEx:postIndex]) 87847 iNdEx = postIndex 87848 case 2: 87849 if wireType != 2 { 87850 return fmt.Errorf("proto: wrong wireType = %d for field StaticLabels", wireType) 87851 } 87852 var msglen int 87853 for shift := uint(0); ; shift += 7 { 87854 if shift >= 64 { 87855 return ErrIntOverflowTypes 87856 } 87857 if iNdEx >= l { 87858 return io.ErrUnexpectedEOF 87859 } 87860 b := dAtA[iNdEx] 87861 iNdEx++ 87862 msglen |= int(b&0x7F) << shift 87863 if b < 0x80 { 87864 break 87865 } 87866 } 87867 if msglen < 0 { 87868 return ErrInvalidLengthTypes 87869 } 87870 postIndex := iNdEx + msglen 87871 if postIndex < 0 { 87872 return ErrInvalidLengthTypes 87873 } 87874 if postIndex > l { 87875 return io.ErrUnexpectedEOF 87876 } 87877 if m.StaticLabels == nil { 87878 m.StaticLabels = make(map[string]string) 87879 } 87880 var mapkey string 87881 var mapvalue string 87882 for iNdEx < postIndex { 87883 entryPreIndex := iNdEx 87884 var wire uint64 87885 for shift := uint(0); ; shift += 7 { 87886 if shift >= 64 { 87887 return ErrIntOverflowTypes 87888 } 87889 if iNdEx >= l { 87890 return io.ErrUnexpectedEOF 87891 } 87892 b := dAtA[iNdEx] 87893 iNdEx++ 87894 wire |= uint64(b&0x7F) << shift 87895 if b < 0x80 { 87896 break 87897 } 87898 } 87899 fieldNum := int32(wire >> 3) 87900 if fieldNum == 1 { 87901 var stringLenmapkey uint64 87902 for shift := uint(0); ; shift += 7 { 87903 if shift >= 64 { 87904 return ErrIntOverflowTypes 87905 } 87906 if iNdEx >= l { 87907 return io.ErrUnexpectedEOF 87908 } 87909 b := dAtA[iNdEx] 87910 iNdEx++ 87911 stringLenmapkey |= uint64(b&0x7F) << shift 87912 if b < 0x80 { 87913 break 87914 } 87915 } 87916 intStringLenmapkey := int(stringLenmapkey) 87917 if intStringLenmapkey < 0 { 87918 return ErrInvalidLengthTypes 87919 } 87920 postStringIndexmapkey := iNdEx + intStringLenmapkey 87921 if postStringIndexmapkey < 0 { 87922 return ErrInvalidLengthTypes 87923 } 87924 if postStringIndexmapkey > l { 87925 return io.ErrUnexpectedEOF 87926 } 87927 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 87928 iNdEx = postStringIndexmapkey 87929 } else if fieldNum == 2 { 87930 var stringLenmapvalue uint64 87931 for shift := uint(0); ; shift += 7 { 87932 if shift >= 64 { 87933 return ErrIntOverflowTypes 87934 } 87935 if iNdEx >= l { 87936 return io.ErrUnexpectedEOF 87937 } 87938 b := dAtA[iNdEx] 87939 iNdEx++ 87940 stringLenmapvalue |= uint64(b&0x7F) << shift 87941 if b < 0x80 { 87942 break 87943 } 87944 } 87945 intStringLenmapvalue := int(stringLenmapvalue) 87946 if intStringLenmapvalue < 0 { 87947 return ErrInvalidLengthTypes 87948 } 87949 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 87950 if postStringIndexmapvalue < 0 { 87951 return ErrInvalidLengthTypes 87952 } 87953 if postStringIndexmapvalue > l { 87954 return io.ErrUnexpectedEOF 87955 } 87956 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 87957 iNdEx = postStringIndexmapvalue 87958 } else { 87959 iNdEx = entryPreIndex 87960 skippy, err := skipTypes(dAtA[iNdEx:]) 87961 if err != nil { 87962 return err 87963 } 87964 if (skippy < 0) || (iNdEx+skippy) < 0 { 87965 return ErrInvalidLengthTypes 87966 } 87967 if (iNdEx + skippy) > postIndex { 87968 return io.ErrUnexpectedEOF 87969 } 87970 iNdEx += skippy 87971 } 87972 } 87973 m.StaticLabels[mapkey] = mapvalue 87974 iNdEx = postIndex 87975 case 3: 87976 if wireType != 2 { 87977 return fmt.Errorf("proto: wrong wireType = %d for field DynamicLabels", wireType) 87978 } 87979 var msglen int 87980 for shift := uint(0); ; shift += 7 { 87981 if shift >= 64 { 87982 return ErrIntOverflowTypes 87983 } 87984 if iNdEx >= l { 87985 return io.ErrUnexpectedEOF 87986 } 87987 b := dAtA[iNdEx] 87988 iNdEx++ 87989 msglen |= int(b&0x7F) << shift 87990 if b < 0x80 { 87991 break 87992 } 87993 } 87994 if msglen < 0 { 87995 return ErrInvalidLengthTypes 87996 } 87997 postIndex := iNdEx + msglen 87998 if postIndex < 0 { 87999 return ErrInvalidLengthTypes 88000 } 88001 if postIndex > l { 88002 return io.ErrUnexpectedEOF 88003 } 88004 if m.DynamicLabels == nil { 88005 m.DynamicLabels = make(map[string]CommandLabelV2) 88006 } 88007 var mapkey string 88008 mapvalue := &CommandLabelV2{} 88009 for iNdEx < postIndex { 88010 entryPreIndex := iNdEx 88011 var wire uint64 88012 for shift := uint(0); ; shift += 7 { 88013 if shift >= 64 { 88014 return ErrIntOverflowTypes 88015 } 88016 if iNdEx >= l { 88017 return io.ErrUnexpectedEOF 88018 } 88019 b := dAtA[iNdEx] 88020 iNdEx++ 88021 wire |= uint64(b&0x7F) << shift 88022 if b < 0x80 { 88023 break 88024 } 88025 } 88026 fieldNum := int32(wire >> 3) 88027 if fieldNum == 1 { 88028 var stringLenmapkey uint64 88029 for shift := uint(0); ; shift += 7 { 88030 if shift >= 64 { 88031 return ErrIntOverflowTypes 88032 } 88033 if iNdEx >= l { 88034 return io.ErrUnexpectedEOF 88035 } 88036 b := dAtA[iNdEx] 88037 iNdEx++ 88038 stringLenmapkey |= uint64(b&0x7F) << shift 88039 if b < 0x80 { 88040 break 88041 } 88042 } 88043 intStringLenmapkey := int(stringLenmapkey) 88044 if intStringLenmapkey < 0 { 88045 return ErrInvalidLengthTypes 88046 } 88047 postStringIndexmapkey := iNdEx + intStringLenmapkey 88048 if postStringIndexmapkey < 0 { 88049 return ErrInvalidLengthTypes 88050 } 88051 if postStringIndexmapkey > l { 88052 return io.ErrUnexpectedEOF 88053 } 88054 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 88055 iNdEx = postStringIndexmapkey 88056 } else if fieldNum == 2 { 88057 var mapmsglen int 88058 for shift := uint(0); ; shift += 7 { 88059 if shift >= 64 { 88060 return ErrIntOverflowTypes 88061 } 88062 if iNdEx >= l { 88063 return io.ErrUnexpectedEOF 88064 } 88065 b := dAtA[iNdEx] 88066 iNdEx++ 88067 mapmsglen |= int(b&0x7F) << shift 88068 if b < 0x80 { 88069 break 88070 } 88071 } 88072 if mapmsglen < 0 { 88073 return ErrInvalidLengthTypes 88074 } 88075 postmsgIndex := iNdEx + mapmsglen 88076 if postmsgIndex < 0 { 88077 return ErrInvalidLengthTypes 88078 } 88079 if postmsgIndex > l { 88080 return io.ErrUnexpectedEOF 88081 } 88082 mapvalue = &CommandLabelV2{} 88083 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 88084 return err 88085 } 88086 iNdEx = postmsgIndex 88087 } else { 88088 iNdEx = entryPreIndex 88089 skippy, err := skipTypes(dAtA[iNdEx:]) 88090 if err != nil { 88091 return err 88092 } 88093 if (skippy < 0) || (iNdEx+skippy) < 0 { 88094 return ErrInvalidLengthTypes 88095 } 88096 if (iNdEx + skippy) > postIndex { 88097 return io.ErrUnexpectedEOF 88098 } 88099 iNdEx += skippy 88100 } 88101 } 88102 m.DynamicLabels[mapkey] = *mapvalue 88103 iNdEx = postIndex 88104 default: 88105 iNdEx = preIndex 88106 skippy, err := skipTypes(dAtA[iNdEx:]) 88107 if err != nil { 88108 return err 88109 } 88110 if (skippy < 0) || (iNdEx+skippy) < 0 { 88111 return ErrInvalidLengthTypes 88112 } 88113 if (iNdEx + skippy) > l { 88114 return io.ErrUnexpectedEOF 88115 } 88116 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 88117 iNdEx += skippy 88118 } 88119 } 88120 88121 if iNdEx > l { 88122 return io.ErrUnexpectedEOF 88123 } 88124 return nil 88125 } 88126 func (m *KubernetesClusterV3) Unmarshal(dAtA []byte) error { 88127 l := len(dAtA) 88128 iNdEx := 0 88129 for iNdEx < l { 88130 preIndex := iNdEx 88131 var wire uint64 88132 for shift := uint(0); ; shift += 7 { 88133 if shift >= 64 { 88134 return ErrIntOverflowTypes 88135 } 88136 if iNdEx >= l { 88137 return io.ErrUnexpectedEOF 88138 } 88139 b := dAtA[iNdEx] 88140 iNdEx++ 88141 wire |= uint64(b&0x7F) << shift 88142 if b < 0x80 { 88143 break 88144 } 88145 } 88146 fieldNum := int32(wire >> 3) 88147 wireType := int(wire & 0x7) 88148 if wireType == 4 { 88149 return fmt.Errorf("proto: KubernetesClusterV3: wiretype end group for non-group") 88150 } 88151 if fieldNum <= 0 { 88152 return fmt.Errorf("proto: KubernetesClusterV3: illegal tag %d (wire type %d)", fieldNum, wire) 88153 } 88154 switch fieldNum { 88155 case 1: 88156 if wireType != 2 { 88157 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 88158 } 88159 var stringLen uint64 88160 for shift := uint(0); ; shift += 7 { 88161 if shift >= 64 { 88162 return ErrIntOverflowTypes 88163 } 88164 if iNdEx >= l { 88165 return io.ErrUnexpectedEOF 88166 } 88167 b := dAtA[iNdEx] 88168 iNdEx++ 88169 stringLen |= uint64(b&0x7F) << shift 88170 if b < 0x80 { 88171 break 88172 } 88173 } 88174 intStringLen := int(stringLen) 88175 if intStringLen < 0 { 88176 return ErrInvalidLengthTypes 88177 } 88178 postIndex := iNdEx + intStringLen 88179 if postIndex < 0 { 88180 return ErrInvalidLengthTypes 88181 } 88182 if postIndex > l { 88183 return io.ErrUnexpectedEOF 88184 } 88185 m.Kind = string(dAtA[iNdEx:postIndex]) 88186 iNdEx = postIndex 88187 case 2: 88188 if wireType != 2 { 88189 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 88190 } 88191 var stringLen uint64 88192 for shift := uint(0); ; shift += 7 { 88193 if shift >= 64 { 88194 return ErrIntOverflowTypes 88195 } 88196 if iNdEx >= l { 88197 return io.ErrUnexpectedEOF 88198 } 88199 b := dAtA[iNdEx] 88200 iNdEx++ 88201 stringLen |= uint64(b&0x7F) << shift 88202 if b < 0x80 { 88203 break 88204 } 88205 } 88206 intStringLen := int(stringLen) 88207 if intStringLen < 0 { 88208 return ErrInvalidLengthTypes 88209 } 88210 postIndex := iNdEx + intStringLen 88211 if postIndex < 0 { 88212 return ErrInvalidLengthTypes 88213 } 88214 if postIndex > l { 88215 return io.ErrUnexpectedEOF 88216 } 88217 m.SubKind = string(dAtA[iNdEx:postIndex]) 88218 iNdEx = postIndex 88219 case 3: 88220 if wireType != 2 { 88221 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 88222 } 88223 var stringLen uint64 88224 for shift := uint(0); ; shift += 7 { 88225 if shift >= 64 { 88226 return ErrIntOverflowTypes 88227 } 88228 if iNdEx >= l { 88229 return io.ErrUnexpectedEOF 88230 } 88231 b := dAtA[iNdEx] 88232 iNdEx++ 88233 stringLen |= uint64(b&0x7F) << shift 88234 if b < 0x80 { 88235 break 88236 } 88237 } 88238 intStringLen := int(stringLen) 88239 if intStringLen < 0 { 88240 return ErrInvalidLengthTypes 88241 } 88242 postIndex := iNdEx + intStringLen 88243 if postIndex < 0 { 88244 return ErrInvalidLengthTypes 88245 } 88246 if postIndex > l { 88247 return io.ErrUnexpectedEOF 88248 } 88249 m.Version = string(dAtA[iNdEx:postIndex]) 88250 iNdEx = postIndex 88251 case 4: 88252 if wireType != 2 { 88253 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 88254 } 88255 var msglen int 88256 for shift := uint(0); ; shift += 7 { 88257 if shift >= 64 { 88258 return ErrIntOverflowTypes 88259 } 88260 if iNdEx >= l { 88261 return io.ErrUnexpectedEOF 88262 } 88263 b := dAtA[iNdEx] 88264 iNdEx++ 88265 msglen |= int(b&0x7F) << shift 88266 if b < 0x80 { 88267 break 88268 } 88269 } 88270 if msglen < 0 { 88271 return ErrInvalidLengthTypes 88272 } 88273 postIndex := iNdEx + msglen 88274 if postIndex < 0 { 88275 return ErrInvalidLengthTypes 88276 } 88277 if postIndex > l { 88278 return io.ErrUnexpectedEOF 88279 } 88280 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 88281 return err 88282 } 88283 iNdEx = postIndex 88284 case 5: 88285 if wireType != 2 { 88286 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 88287 } 88288 var msglen int 88289 for shift := uint(0); ; shift += 7 { 88290 if shift >= 64 { 88291 return ErrIntOverflowTypes 88292 } 88293 if iNdEx >= l { 88294 return io.ErrUnexpectedEOF 88295 } 88296 b := dAtA[iNdEx] 88297 iNdEx++ 88298 msglen |= int(b&0x7F) << shift 88299 if b < 0x80 { 88300 break 88301 } 88302 } 88303 if msglen < 0 { 88304 return ErrInvalidLengthTypes 88305 } 88306 postIndex := iNdEx + msglen 88307 if postIndex < 0 { 88308 return ErrInvalidLengthTypes 88309 } 88310 if postIndex > l { 88311 return io.ErrUnexpectedEOF 88312 } 88313 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 88314 return err 88315 } 88316 iNdEx = postIndex 88317 default: 88318 iNdEx = preIndex 88319 skippy, err := skipTypes(dAtA[iNdEx:]) 88320 if err != nil { 88321 return err 88322 } 88323 if (skippy < 0) || (iNdEx+skippy) < 0 { 88324 return ErrInvalidLengthTypes 88325 } 88326 if (iNdEx + skippy) > l { 88327 return io.ErrUnexpectedEOF 88328 } 88329 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 88330 iNdEx += skippy 88331 } 88332 } 88333 88334 if iNdEx > l { 88335 return io.ErrUnexpectedEOF 88336 } 88337 return nil 88338 } 88339 func (m *KubernetesClusterSpecV3) Unmarshal(dAtA []byte) error { 88340 l := len(dAtA) 88341 iNdEx := 0 88342 for iNdEx < l { 88343 preIndex := iNdEx 88344 var wire uint64 88345 for shift := uint(0); ; shift += 7 { 88346 if shift >= 64 { 88347 return ErrIntOverflowTypes 88348 } 88349 if iNdEx >= l { 88350 return io.ErrUnexpectedEOF 88351 } 88352 b := dAtA[iNdEx] 88353 iNdEx++ 88354 wire |= uint64(b&0x7F) << shift 88355 if b < 0x80 { 88356 break 88357 } 88358 } 88359 fieldNum := int32(wire >> 3) 88360 wireType := int(wire & 0x7) 88361 if wireType == 4 { 88362 return fmt.Errorf("proto: KubernetesClusterSpecV3: wiretype end group for non-group") 88363 } 88364 if fieldNum <= 0 { 88365 return fmt.Errorf("proto: KubernetesClusterSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 88366 } 88367 switch fieldNum { 88368 case 1: 88369 if wireType != 2 { 88370 return fmt.Errorf("proto: wrong wireType = %d for field DynamicLabels", wireType) 88371 } 88372 var msglen int 88373 for shift := uint(0); ; shift += 7 { 88374 if shift >= 64 { 88375 return ErrIntOverflowTypes 88376 } 88377 if iNdEx >= l { 88378 return io.ErrUnexpectedEOF 88379 } 88380 b := dAtA[iNdEx] 88381 iNdEx++ 88382 msglen |= int(b&0x7F) << shift 88383 if b < 0x80 { 88384 break 88385 } 88386 } 88387 if msglen < 0 { 88388 return ErrInvalidLengthTypes 88389 } 88390 postIndex := iNdEx + msglen 88391 if postIndex < 0 { 88392 return ErrInvalidLengthTypes 88393 } 88394 if postIndex > l { 88395 return io.ErrUnexpectedEOF 88396 } 88397 if m.DynamicLabels == nil { 88398 m.DynamicLabels = make(map[string]CommandLabelV2) 88399 } 88400 var mapkey string 88401 mapvalue := &CommandLabelV2{} 88402 for iNdEx < postIndex { 88403 entryPreIndex := iNdEx 88404 var wire uint64 88405 for shift := uint(0); ; shift += 7 { 88406 if shift >= 64 { 88407 return ErrIntOverflowTypes 88408 } 88409 if iNdEx >= l { 88410 return io.ErrUnexpectedEOF 88411 } 88412 b := dAtA[iNdEx] 88413 iNdEx++ 88414 wire |= uint64(b&0x7F) << shift 88415 if b < 0x80 { 88416 break 88417 } 88418 } 88419 fieldNum := int32(wire >> 3) 88420 if fieldNum == 1 { 88421 var stringLenmapkey uint64 88422 for shift := uint(0); ; shift += 7 { 88423 if shift >= 64 { 88424 return ErrIntOverflowTypes 88425 } 88426 if iNdEx >= l { 88427 return io.ErrUnexpectedEOF 88428 } 88429 b := dAtA[iNdEx] 88430 iNdEx++ 88431 stringLenmapkey |= uint64(b&0x7F) << shift 88432 if b < 0x80 { 88433 break 88434 } 88435 } 88436 intStringLenmapkey := int(stringLenmapkey) 88437 if intStringLenmapkey < 0 { 88438 return ErrInvalidLengthTypes 88439 } 88440 postStringIndexmapkey := iNdEx + intStringLenmapkey 88441 if postStringIndexmapkey < 0 { 88442 return ErrInvalidLengthTypes 88443 } 88444 if postStringIndexmapkey > l { 88445 return io.ErrUnexpectedEOF 88446 } 88447 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 88448 iNdEx = postStringIndexmapkey 88449 } else if fieldNum == 2 { 88450 var mapmsglen int 88451 for shift := uint(0); ; shift += 7 { 88452 if shift >= 64 { 88453 return ErrIntOverflowTypes 88454 } 88455 if iNdEx >= l { 88456 return io.ErrUnexpectedEOF 88457 } 88458 b := dAtA[iNdEx] 88459 iNdEx++ 88460 mapmsglen |= int(b&0x7F) << shift 88461 if b < 0x80 { 88462 break 88463 } 88464 } 88465 if mapmsglen < 0 { 88466 return ErrInvalidLengthTypes 88467 } 88468 postmsgIndex := iNdEx + mapmsglen 88469 if postmsgIndex < 0 { 88470 return ErrInvalidLengthTypes 88471 } 88472 if postmsgIndex > l { 88473 return io.ErrUnexpectedEOF 88474 } 88475 mapvalue = &CommandLabelV2{} 88476 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 88477 return err 88478 } 88479 iNdEx = postmsgIndex 88480 } else { 88481 iNdEx = entryPreIndex 88482 skippy, err := skipTypes(dAtA[iNdEx:]) 88483 if err != nil { 88484 return err 88485 } 88486 if (skippy < 0) || (iNdEx+skippy) < 0 { 88487 return ErrInvalidLengthTypes 88488 } 88489 if (iNdEx + skippy) > postIndex { 88490 return io.ErrUnexpectedEOF 88491 } 88492 iNdEx += skippy 88493 } 88494 } 88495 m.DynamicLabels[mapkey] = *mapvalue 88496 iNdEx = postIndex 88497 case 2: 88498 if wireType != 2 { 88499 return fmt.Errorf("proto: wrong wireType = %d for field Kubeconfig", wireType) 88500 } 88501 var byteLen int 88502 for shift := uint(0); ; shift += 7 { 88503 if shift >= 64 { 88504 return ErrIntOverflowTypes 88505 } 88506 if iNdEx >= l { 88507 return io.ErrUnexpectedEOF 88508 } 88509 b := dAtA[iNdEx] 88510 iNdEx++ 88511 byteLen |= int(b&0x7F) << shift 88512 if b < 0x80 { 88513 break 88514 } 88515 } 88516 if byteLen < 0 { 88517 return ErrInvalidLengthTypes 88518 } 88519 postIndex := iNdEx + byteLen 88520 if postIndex < 0 { 88521 return ErrInvalidLengthTypes 88522 } 88523 if postIndex > l { 88524 return io.ErrUnexpectedEOF 88525 } 88526 m.Kubeconfig = append(m.Kubeconfig[:0], dAtA[iNdEx:postIndex]...) 88527 if m.Kubeconfig == nil { 88528 m.Kubeconfig = []byte{} 88529 } 88530 iNdEx = postIndex 88531 case 3: 88532 if wireType != 2 { 88533 return fmt.Errorf("proto: wrong wireType = %d for field Azure", wireType) 88534 } 88535 var msglen int 88536 for shift := uint(0); ; shift += 7 { 88537 if shift >= 64 { 88538 return ErrIntOverflowTypes 88539 } 88540 if iNdEx >= l { 88541 return io.ErrUnexpectedEOF 88542 } 88543 b := dAtA[iNdEx] 88544 iNdEx++ 88545 msglen |= int(b&0x7F) << shift 88546 if b < 0x80 { 88547 break 88548 } 88549 } 88550 if msglen < 0 { 88551 return ErrInvalidLengthTypes 88552 } 88553 postIndex := iNdEx + msglen 88554 if postIndex < 0 { 88555 return ErrInvalidLengthTypes 88556 } 88557 if postIndex > l { 88558 return io.ErrUnexpectedEOF 88559 } 88560 if err := m.Azure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 88561 return err 88562 } 88563 iNdEx = postIndex 88564 case 4: 88565 if wireType != 2 { 88566 return fmt.Errorf("proto: wrong wireType = %d for field AWS", wireType) 88567 } 88568 var msglen int 88569 for shift := uint(0); ; shift += 7 { 88570 if shift >= 64 { 88571 return ErrIntOverflowTypes 88572 } 88573 if iNdEx >= l { 88574 return io.ErrUnexpectedEOF 88575 } 88576 b := dAtA[iNdEx] 88577 iNdEx++ 88578 msglen |= int(b&0x7F) << shift 88579 if b < 0x80 { 88580 break 88581 } 88582 } 88583 if msglen < 0 { 88584 return ErrInvalidLengthTypes 88585 } 88586 postIndex := iNdEx + msglen 88587 if postIndex < 0 { 88588 return ErrInvalidLengthTypes 88589 } 88590 if postIndex > l { 88591 return io.ErrUnexpectedEOF 88592 } 88593 if err := m.AWS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 88594 return err 88595 } 88596 iNdEx = postIndex 88597 case 5: 88598 if wireType != 2 { 88599 return fmt.Errorf("proto: wrong wireType = %d for field GCP", wireType) 88600 } 88601 var msglen int 88602 for shift := uint(0); ; shift += 7 { 88603 if shift >= 64 { 88604 return ErrIntOverflowTypes 88605 } 88606 if iNdEx >= l { 88607 return io.ErrUnexpectedEOF 88608 } 88609 b := dAtA[iNdEx] 88610 iNdEx++ 88611 msglen |= int(b&0x7F) << shift 88612 if b < 0x80 { 88613 break 88614 } 88615 } 88616 if msglen < 0 { 88617 return ErrInvalidLengthTypes 88618 } 88619 postIndex := iNdEx + msglen 88620 if postIndex < 0 { 88621 return ErrInvalidLengthTypes 88622 } 88623 if postIndex > l { 88624 return io.ErrUnexpectedEOF 88625 } 88626 if err := m.GCP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 88627 return err 88628 } 88629 iNdEx = postIndex 88630 default: 88631 iNdEx = preIndex 88632 skippy, err := skipTypes(dAtA[iNdEx:]) 88633 if err != nil { 88634 return err 88635 } 88636 if (skippy < 0) || (iNdEx+skippy) < 0 { 88637 return ErrInvalidLengthTypes 88638 } 88639 if (iNdEx + skippy) > l { 88640 return io.ErrUnexpectedEOF 88641 } 88642 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 88643 iNdEx += skippy 88644 } 88645 } 88646 88647 if iNdEx > l { 88648 return io.ErrUnexpectedEOF 88649 } 88650 return nil 88651 } 88652 func (m *KubeAzure) Unmarshal(dAtA []byte) error { 88653 l := len(dAtA) 88654 iNdEx := 0 88655 for iNdEx < l { 88656 preIndex := iNdEx 88657 var wire uint64 88658 for shift := uint(0); ; shift += 7 { 88659 if shift >= 64 { 88660 return ErrIntOverflowTypes 88661 } 88662 if iNdEx >= l { 88663 return io.ErrUnexpectedEOF 88664 } 88665 b := dAtA[iNdEx] 88666 iNdEx++ 88667 wire |= uint64(b&0x7F) << shift 88668 if b < 0x80 { 88669 break 88670 } 88671 } 88672 fieldNum := int32(wire >> 3) 88673 wireType := int(wire & 0x7) 88674 if wireType == 4 { 88675 return fmt.Errorf("proto: KubeAzure: wiretype end group for non-group") 88676 } 88677 if fieldNum <= 0 { 88678 return fmt.Errorf("proto: KubeAzure: illegal tag %d (wire type %d)", fieldNum, wire) 88679 } 88680 switch fieldNum { 88681 case 1: 88682 if wireType != 2 { 88683 return fmt.Errorf("proto: wrong wireType = %d for field ResourceName", wireType) 88684 } 88685 var stringLen uint64 88686 for shift := uint(0); ; shift += 7 { 88687 if shift >= 64 { 88688 return ErrIntOverflowTypes 88689 } 88690 if iNdEx >= l { 88691 return io.ErrUnexpectedEOF 88692 } 88693 b := dAtA[iNdEx] 88694 iNdEx++ 88695 stringLen |= uint64(b&0x7F) << shift 88696 if b < 0x80 { 88697 break 88698 } 88699 } 88700 intStringLen := int(stringLen) 88701 if intStringLen < 0 { 88702 return ErrInvalidLengthTypes 88703 } 88704 postIndex := iNdEx + intStringLen 88705 if postIndex < 0 { 88706 return ErrInvalidLengthTypes 88707 } 88708 if postIndex > l { 88709 return io.ErrUnexpectedEOF 88710 } 88711 m.ResourceName = string(dAtA[iNdEx:postIndex]) 88712 iNdEx = postIndex 88713 case 2: 88714 if wireType != 2 { 88715 return fmt.Errorf("proto: wrong wireType = %d for field ResourceGroup", wireType) 88716 } 88717 var stringLen uint64 88718 for shift := uint(0); ; shift += 7 { 88719 if shift >= 64 { 88720 return ErrIntOverflowTypes 88721 } 88722 if iNdEx >= l { 88723 return io.ErrUnexpectedEOF 88724 } 88725 b := dAtA[iNdEx] 88726 iNdEx++ 88727 stringLen |= uint64(b&0x7F) << shift 88728 if b < 0x80 { 88729 break 88730 } 88731 } 88732 intStringLen := int(stringLen) 88733 if intStringLen < 0 { 88734 return ErrInvalidLengthTypes 88735 } 88736 postIndex := iNdEx + intStringLen 88737 if postIndex < 0 { 88738 return ErrInvalidLengthTypes 88739 } 88740 if postIndex > l { 88741 return io.ErrUnexpectedEOF 88742 } 88743 m.ResourceGroup = string(dAtA[iNdEx:postIndex]) 88744 iNdEx = postIndex 88745 case 3: 88746 if wireType != 2 { 88747 return fmt.Errorf("proto: wrong wireType = %d for field TenantID", wireType) 88748 } 88749 var stringLen uint64 88750 for shift := uint(0); ; shift += 7 { 88751 if shift >= 64 { 88752 return ErrIntOverflowTypes 88753 } 88754 if iNdEx >= l { 88755 return io.ErrUnexpectedEOF 88756 } 88757 b := dAtA[iNdEx] 88758 iNdEx++ 88759 stringLen |= uint64(b&0x7F) << shift 88760 if b < 0x80 { 88761 break 88762 } 88763 } 88764 intStringLen := int(stringLen) 88765 if intStringLen < 0 { 88766 return ErrInvalidLengthTypes 88767 } 88768 postIndex := iNdEx + intStringLen 88769 if postIndex < 0 { 88770 return ErrInvalidLengthTypes 88771 } 88772 if postIndex > l { 88773 return io.ErrUnexpectedEOF 88774 } 88775 m.TenantID = string(dAtA[iNdEx:postIndex]) 88776 iNdEx = postIndex 88777 case 4: 88778 if wireType != 2 { 88779 return fmt.Errorf("proto: wrong wireType = %d for field SubscriptionID", wireType) 88780 } 88781 var stringLen uint64 88782 for shift := uint(0); ; shift += 7 { 88783 if shift >= 64 { 88784 return ErrIntOverflowTypes 88785 } 88786 if iNdEx >= l { 88787 return io.ErrUnexpectedEOF 88788 } 88789 b := dAtA[iNdEx] 88790 iNdEx++ 88791 stringLen |= uint64(b&0x7F) << shift 88792 if b < 0x80 { 88793 break 88794 } 88795 } 88796 intStringLen := int(stringLen) 88797 if intStringLen < 0 { 88798 return ErrInvalidLengthTypes 88799 } 88800 postIndex := iNdEx + intStringLen 88801 if postIndex < 0 { 88802 return ErrInvalidLengthTypes 88803 } 88804 if postIndex > l { 88805 return io.ErrUnexpectedEOF 88806 } 88807 m.SubscriptionID = string(dAtA[iNdEx:postIndex]) 88808 iNdEx = postIndex 88809 default: 88810 iNdEx = preIndex 88811 skippy, err := skipTypes(dAtA[iNdEx:]) 88812 if err != nil { 88813 return err 88814 } 88815 if (skippy < 0) || (iNdEx+skippy) < 0 { 88816 return ErrInvalidLengthTypes 88817 } 88818 if (iNdEx + skippy) > l { 88819 return io.ErrUnexpectedEOF 88820 } 88821 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 88822 iNdEx += skippy 88823 } 88824 } 88825 88826 if iNdEx > l { 88827 return io.ErrUnexpectedEOF 88828 } 88829 return nil 88830 } 88831 func (m *KubeAWS) Unmarshal(dAtA []byte) error { 88832 l := len(dAtA) 88833 iNdEx := 0 88834 for iNdEx < l { 88835 preIndex := iNdEx 88836 var wire uint64 88837 for shift := uint(0); ; shift += 7 { 88838 if shift >= 64 { 88839 return ErrIntOverflowTypes 88840 } 88841 if iNdEx >= l { 88842 return io.ErrUnexpectedEOF 88843 } 88844 b := dAtA[iNdEx] 88845 iNdEx++ 88846 wire |= uint64(b&0x7F) << shift 88847 if b < 0x80 { 88848 break 88849 } 88850 } 88851 fieldNum := int32(wire >> 3) 88852 wireType := int(wire & 0x7) 88853 if wireType == 4 { 88854 return fmt.Errorf("proto: KubeAWS: wiretype end group for non-group") 88855 } 88856 if fieldNum <= 0 { 88857 return fmt.Errorf("proto: KubeAWS: illegal tag %d (wire type %d)", fieldNum, wire) 88858 } 88859 switch fieldNum { 88860 case 1: 88861 if wireType != 2 { 88862 return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) 88863 } 88864 var stringLen uint64 88865 for shift := uint(0); ; shift += 7 { 88866 if shift >= 64 { 88867 return ErrIntOverflowTypes 88868 } 88869 if iNdEx >= l { 88870 return io.ErrUnexpectedEOF 88871 } 88872 b := dAtA[iNdEx] 88873 iNdEx++ 88874 stringLen |= uint64(b&0x7F) << shift 88875 if b < 0x80 { 88876 break 88877 } 88878 } 88879 intStringLen := int(stringLen) 88880 if intStringLen < 0 { 88881 return ErrInvalidLengthTypes 88882 } 88883 postIndex := iNdEx + intStringLen 88884 if postIndex < 0 { 88885 return ErrInvalidLengthTypes 88886 } 88887 if postIndex > l { 88888 return io.ErrUnexpectedEOF 88889 } 88890 m.Region = string(dAtA[iNdEx:postIndex]) 88891 iNdEx = postIndex 88892 case 2: 88893 if wireType != 2 { 88894 return fmt.Errorf("proto: wrong wireType = %d for field AccountID", wireType) 88895 } 88896 var stringLen uint64 88897 for shift := uint(0); ; shift += 7 { 88898 if shift >= 64 { 88899 return ErrIntOverflowTypes 88900 } 88901 if iNdEx >= l { 88902 return io.ErrUnexpectedEOF 88903 } 88904 b := dAtA[iNdEx] 88905 iNdEx++ 88906 stringLen |= uint64(b&0x7F) << shift 88907 if b < 0x80 { 88908 break 88909 } 88910 } 88911 intStringLen := int(stringLen) 88912 if intStringLen < 0 { 88913 return ErrInvalidLengthTypes 88914 } 88915 postIndex := iNdEx + intStringLen 88916 if postIndex < 0 { 88917 return ErrInvalidLengthTypes 88918 } 88919 if postIndex > l { 88920 return io.ErrUnexpectedEOF 88921 } 88922 m.AccountID = string(dAtA[iNdEx:postIndex]) 88923 iNdEx = postIndex 88924 case 3: 88925 if wireType != 2 { 88926 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 88927 } 88928 var stringLen uint64 88929 for shift := uint(0); ; shift += 7 { 88930 if shift >= 64 { 88931 return ErrIntOverflowTypes 88932 } 88933 if iNdEx >= l { 88934 return io.ErrUnexpectedEOF 88935 } 88936 b := dAtA[iNdEx] 88937 iNdEx++ 88938 stringLen |= uint64(b&0x7F) << shift 88939 if b < 0x80 { 88940 break 88941 } 88942 } 88943 intStringLen := int(stringLen) 88944 if intStringLen < 0 { 88945 return ErrInvalidLengthTypes 88946 } 88947 postIndex := iNdEx + intStringLen 88948 if postIndex < 0 { 88949 return ErrInvalidLengthTypes 88950 } 88951 if postIndex > l { 88952 return io.ErrUnexpectedEOF 88953 } 88954 m.Name = string(dAtA[iNdEx:postIndex]) 88955 iNdEx = postIndex 88956 default: 88957 iNdEx = preIndex 88958 skippy, err := skipTypes(dAtA[iNdEx:]) 88959 if err != nil { 88960 return err 88961 } 88962 if (skippy < 0) || (iNdEx+skippy) < 0 { 88963 return ErrInvalidLengthTypes 88964 } 88965 if (iNdEx + skippy) > l { 88966 return io.ErrUnexpectedEOF 88967 } 88968 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 88969 iNdEx += skippy 88970 } 88971 } 88972 88973 if iNdEx > l { 88974 return io.ErrUnexpectedEOF 88975 } 88976 return nil 88977 } 88978 func (m *KubeGCP) Unmarshal(dAtA []byte) error { 88979 l := len(dAtA) 88980 iNdEx := 0 88981 for iNdEx < l { 88982 preIndex := iNdEx 88983 var wire uint64 88984 for shift := uint(0); ; shift += 7 { 88985 if shift >= 64 { 88986 return ErrIntOverflowTypes 88987 } 88988 if iNdEx >= l { 88989 return io.ErrUnexpectedEOF 88990 } 88991 b := dAtA[iNdEx] 88992 iNdEx++ 88993 wire |= uint64(b&0x7F) << shift 88994 if b < 0x80 { 88995 break 88996 } 88997 } 88998 fieldNum := int32(wire >> 3) 88999 wireType := int(wire & 0x7) 89000 if wireType == 4 { 89001 return fmt.Errorf("proto: KubeGCP: wiretype end group for non-group") 89002 } 89003 if fieldNum <= 0 { 89004 return fmt.Errorf("proto: KubeGCP: illegal tag %d (wire type %d)", fieldNum, wire) 89005 } 89006 switch fieldNum { 89007 case 1: 89008 if wireType != 2 { 89009 return fmt.Errorf("proto: wrong wireType = %d for field Location", wireType) 89010 } 89011 var stringLen uint64 89012 for shift := uint(0); ; shift += 7 { 89013 if shift >= 64 { 89014 return ErrIntOverflowTypes 89015 } 89016 if iNdEx >= l { 89017 return io.ErrUnexpectedEOF 89018 } 89019 b := dAtA[iNdEx] 89020 iNdEx++ 89021 stringLen |= uint64(b&0x7F) << shift 89022 if b < 0x80 { 89023 break 89024 } 89025 } 89026 intStringLen := int(stringLen) 89027 if intStringLen < 0 { 89028 return ErrInvalidLengthTypes 89029 } 89030 postIndex := iNdEx + intStringLen 89031 if postIndex < 0 { 89032 return ErrInvalidLengthTypes 89033 } 89034 if postIndex > l { 89035 return io.ErrUnexpectedEOF 89036 } 89037 m.Location = string(dAtA[iNdEx:postIndex]) 89038 iNdEx = postIndex 89039 case 2: 89040 if wireType != 2 { 89041 return fmt.Errorf("proto: wrong wireType = %d for field ProjectID", wireType) 89042 } 89043 var stringLen uint64 89044 for shift := uint(0); ; shift += 7 { 89045 if shift >= 64 { 89046 return ErrIntOverflowTypes 89047 } 89048 if iNdEx >= l { 89049 return io.ErrUnexpectedEOF 89050 } 89051 b := dAtA[iNdEx] 89052 iNdEx++ 89053 stringLen |= uint64(b&0x7F) << shift 89054 if b < 0x80 { 89055 break 89056 } 89057 } 89058 intStringLen := int(stringLen) 89059 if intStringLen < 0 { 89060 return ErrInvalidLengthTypes 89061 } 89062 postIndex := iNdEx + intStringLen 89063 if postIndex < 0 { 89064 return ErrInvalidLengthTypes 89065 } 89066 if postIndex > l { 89067 return io.ErrUnexpectedEOF 89068 } 89069 m.ProjectID = string(dAtA[iNdEx:postIndex]) 89070 iNdEx = postIndex 89071 case 3: 89072 if wireType != 2 { 89073 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 89074 } 89075 var stringLen uint64 89076 for shift := uint(0); ; shift += 7 { 89077 if shift >= 64 { 89078 return ErrIntOverflowTypes 89079 } 89080 if iNdEx >= l { 89081 return io.ErrUnexpectedEOF 89082 } 89083 b := dAtA[iNdEx] 89084 iNdEx++ 89085 stringLen |= uint64(b&0x7F) << shift 89086 if b < 0x80 { 89087 break 89088 } 89089 } 89090 intStringLen := int(stringLen) 89091 if intStringLen < 0 { 89092 return ErrInvalidLengthTypes 89093 } 89094 postIndex := iNdEx + intStringLen 89095 if postIndex < 0 { 89096 return ErrInvalidLengthTypes 89097 } 89098 if postIndex > l { 89099 return io.ErrUnexpectedEOF 89100 } 89101 m.Name = string(dAtA[iNdEx:postIndex]) 89102 iNdEx = postIndex 89103 default: 89104 iNdEx = preIndex 89105 skippy, err := skipTypes(dAtA[iNdEx:]) 89106 if err != nil { 89107 return err 89108 } 89109 if (skippy < 0) || (iNdEx+skippy) < 0 { 89110 return ErrInvalidLengthTypes 89111 } 89112 if (iNdEx + skippy) > l { 89113 return io.ErrUnexpectedEOF 89114 } 89115 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 89116 iNdEx += skippy 89117 } 89118 } 89119 89120 if iNdEx > l { 89121 return io.ErrUnexpectedEOF 89122 } 89123 return nil 89124 } 89125 func (m *KubernetesClusterV3List) Unmarshal(dAtA []byte) error { 89126 l := len(dAtA) 89127 iNdEx := 0 89128 for iNdEx < l { 89129 preIndex := iNdEx 89130 var wire uint64 89131 for shift := uint(0); ; shift += 7 { 89132 if shift >= 64 { 89133 return ErrIntOverflowTypes 89134 } 89135 if iNdEx >= l { 89136 return io.ErrUnexpectedEOF 89137 } 89138 b := dAtA[iNdEx] 89139 iNdEx++ 89140 wire |= uint64(b&0x7F) << shift 89141 if b < 0x80 { 89142 break 89143 } 89144 } 89145 fieldNum := int32(wire >> 3) 89146 wireType := int(wire & 0x7) 89147 if wireType == 4 { 89148 return fmt.Errorf("proto: KubernetesClusterV3List: wiretype end group for non-group") 89149 } 89150 if fieldNum <= 0 { 89151 return fmt.Errorf("proto: KubernetesClusterV3List: illegal tag %d (wire type %d)", fieldNum, wire) 89152 } 89153 switch fieldNum { 89154 case 1: 89155 if wireType != 2 { 89156 return fmt.Errorf("proto: wrong wireType = %d for field KubernetesClusters", wireType) 89157 } 89158 var msglen int 89159 for shift := uint(0); ; shift += 7 { 89160 if shift >= 64 { 89161 return ErrIntOverflowTypes 89162 } 89163 if iNdEx >= l { 89164 return io.ErrUnexpectedEOF 89165 } 89166 b := dAtA[iNdEx] 89167 iNdEx++ 89168 msglen |= int(b&0x7F) << shift 89169 if b < 0x80 { 89170 break 89171 } 89172 } 89173 if msglen < 0 { 89174 return ErrInvalidLengthTypes 89175 } 89176 postIndex := iNdEx + msglen 89177 if postIndex < 0 { 89178 return ErrInvalidLengthTypes 89179 } 89180 if postIndex > l { 89181 return io.ErrUnexpectedEOF 89182 } 89183 m.KubernetesClusters = append(m.KubernetesClusters, &KubernetesClusterV3{}) 89184 if err := m.KubernetesClusters[len(m.KubernetesClusters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 89185 return err 89186 } 89187 iNdEx = postIndex 89188 default: 89189 iNdEx = preIndex 89190 skippy, err := skipTypes(dAtA[iNdEx:]) 89191 if err != nil { 89192 return err 89193 } 89194 if (skippy < 0) || (iNdEx+skippy) < 0 { 89195 return ErrInvalidLengthTypes 89196 } 89197 if (iNdEx + skippy) > l { 89198 return io.ErrUnexpectedEOF 89199 } 89200 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 89201 iNdEx += skippy 89202 } 89203 } 89204 89205 if iNdEx > l { 89206 return io.ErrUnexpectedEOF 89207 } 89208 return nil 89209 } 89210 func (m *KubernetesServerV3) Unmarshal(dAtA []byte) error { 89211 l := len(dAtA) 89212 iNdEx := 0 89213 for iNdEx < l { 89214 preIndex := iNdEx 89215 var wire uint64 89216 for shift := uint(0); ; shift += 7 { 89217 if shift >= 64 { 89218 return ErrIntOverflowTypes 89219 } 89220 if iNdEx >= l { 89221 return io.ErrUnexpectedEOF 89222 } 89223 b := dAtA[iNdEx] 89224 iNdEx++ 89225 wire |= uint64(b&0x7F) << shift 89226 if b < 0x80 { 89227 break 89228 } 89229 } 89230 fieldNum := int32(wire >> 3) 89231 wireType := int(wire & 0x7) 89232 if wireType == 4 { 89233 return fmt.Errorf("proto: KubernetesServerV3: wiretype end group for non-group") 89234 } 89235 if fieldNum <= 0 { 89236 return fmt.Errorf("proto: KubernetesServerV3: illegal tag %d (wire type %d)", fieldNum, wire) 89237 } 89238 switch fieldNum { 89239 case 1: 89240 if wireType != 2 { 89241 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 89242 } 89243 var stringLen uint64 89244 for shift := uint(0); ; shift += 7 { 89245 if shift >= 64 { 89246 return ErrIntOverflowTypes 89247 } 89248 if iNdEx >= l { 89249 return io.ErrUnexpectedEOF 89250 } 89251 b := dAtA[iNdEx] 89252 iNdEx++ 89253 stringLen |= uint64(b&0x7F) << shift 89254 if b < 0x80 { 89255 break 89256 } 89257 } 89258 intStringLen := int(stringLen) 89259 if intStringLen < 0 { 89260 return ErrInvalidLengthTypes 89261 } 89262 postIndex := iNdEx + intStringLen 89263 if postIndex < 0 { 89264 return ErrInvalidLengthTypes 89265 } 89266 if postIndex > l { 89267 return io.ErrUnexpectedEOF 89268 } 89269 m.Kind = string(dAtA[iNdEx:postIndex]) 89270 iNdEx = postIndex 89271 case 2: 89272 if wireType != 2 { 89273 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 89274 } 89275 var stringLen uint64 89276 for shift := uint(0); ; shift += 7 { 89277 if shift >= 64 { 89278 return ErrIntOverflowTypes 89279 } 89280 if iNdEx >= l { 89281 return io.ErrUnexpectedEOF 89282 } 89283 b := dAtA[iNdEx] 89284 iNdEx++ 89285 stringLen |= uint64(b&0x7F) << shift 89286 if b < 0x80 { 89287 break 89288 } 89289 } 89290 intStringLen := int(stringLen) 89291 if intStringLen < 0 { 89292 return ErrInvalidLengthTypes 89293 } 89294 postIndex := iNdEx + intStringLen 89295 if postIndex < 0 { 89296 return ErrInvalidLengthTypes 89297 } 89298 if postIndex > l { 89299 return io.ErrUnexpectedEOF 89300 } 89301 m.SubKind = string(dAtA[iNdEx:postIndex]) 89302 iNdEx = postIndex 89303 case 3: 89304 if wireType != 2 { 89305 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 89306 } 89307 var stringLen uint64 89308 for shift := uint(0); ; shift += 7 { 89309 if shift >= 64 { 89310 return ErrIntOverflowTypes 89311 } 89312 if iNdEx >= l { 89313 return io.ErrUnexpectedEOF 89314 } 89315 b := dAtA[iNdEx] 89316 iNdEx++ 89317 stringLen |= uint64(b&0x7F) << shift 89318 if b < 0x80 { 89319 break 89320 } 89321 } 89322 intStringLen := int(stringLen) 89323 if intStringLen < 0 { 89324 return ErrInvalidLengthTypes 89325 } 89326 postIndex := iNdEx + intStringLen 89327 if postIndex < 0 { 89328 return ErrInvalidLengthTypes 89329 } 89330 if postIndex > l { 89331 return io.ErrUnexpectedEOF 89332 } 89333 m.Version = string(dAtA[iNdEx:postIndex]) 89334 iNdEx = postIndex 89335 case 4: 89336 if wireType != 2 { 89337 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 89338 } 89339 var msglen int 89340 for shift := uint(0); ; shift += 7 { 89341 if shift >= 64 { 89342 return ErrIntOverflowTypes 89343 } 89344 if iNdEx >= l { 89345 return io.ErrUnexpectedEOF 89346 } 89347 b := dAtA[iNdEx] 89348 iNdEx++ 89349 msglen |= int(b&0x7F) << shift 89350 if b < 0x80 { 89351 break 89352 } 89353 } 89354 if msglen < 0 { 89355 return ErrInvalidLengthTypes 89356 } 89357 postIndex := iNdEx + msglen 89358 if postIndex < 0 { 89359 return ErrInvalidLengthTypes 89360 } 89361 if postIndex > l { 89362 return io.ErrUnexpectedEOF 89363 } 89364 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 89365 return err 89366 } 89367 iNdEx = postIndex 89368 case 5: 89369 if wireType != 2 { 89370 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 89371 } 89372 var msglen int 89373 for shift := uint(0); ; shift += 7 { 89374 if shift >= 64 { 89375 return ErrIntOverflowTypes 89376 } 89377 if iNdEx >= l { 89378 return io.ErrUnexpectedEOF 89379 } 89380 b := dAtA[iNdEx] 89381 iNdEx++ 89382 msglen |= int(b&0x7F) << shift 89383 if b < 0x80 { 89384 break 89385 } 89386 } 89387 if msglen < 0 { 89388 return ErrInvalidLengthTypes 89389 } 89390 postIndex := iNdEx + msglen 89391 if postIndex < 0 { 89392 return ErrInvalidLengthTypes 89393 } 89394 if postIndex > l { 89395 return io.ErrUnexpectedEOF 89396 } 89397 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 89398 return err 89399 } 89400 iNdEx = postIndex 89401 default: 89402 iNdEx = preIndex 89403 skippy, err := skipTypes(dAtA[iNdEx:]) 89404 if err != nil { 89405 return err 89406 } 89407 if (skippy < 0) || (iNdEx+skippy) < 0 { 89408 return ErrInvalidLengthTypes 89409 } 89410 if (iNdEx + skippy) > l { 89411 return io.ErrUnexpectedEOF 89412 } 89413 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 89414 iNdEx += skippy 89415 } 89416 } 89417 89418 if iNdEx > l { 89419 return io.ErrUnexpectedEOF 89420 } 89421 return nil 89422 } 89423 func (m *KubernetesServerSpecV3) Unmarshal(dAtA []byte) error { 89424 l := len(dAtA) 89425 iNdEx := 0 89426 for iNdEx < l { 89427 preIndex := iNdEx 89428 var wire uint64 89429 for shift := uint(0); ; shift += 7 { 89430 if shift >= 64 { 89431 return ErrIntOverflowTypes 89432 } 89433 if iNdEx >= l { 89434 return io.ErrUnexpectedEOF 89435 } 89436 b := dAtA[iNdEx] 89437 iNdEx++ 89438 wire |= uint64(b&0x7F) << shift 89439 if b < 0x80 { 89440 break 89441 } 89442 } 89443 fieldNum := int32(wire >> 3) 89444 wireType := int(wire & 0x7) 89445 if wireType == 4 { 89446 return fmt.Errorf("proto: KubernetesServerSpecV3: wiretype end group for non-group") 89447 } 89448 if fieldNum <= 0 { 89449 return fmt.Errorf("proto: KubernetesServerSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 89450 } 89451 switch fieldNum { 89452 case 1: 89453 if wireType != 2 { 89454 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 89455 } 89456 var stringLen uint64 89457 for shift := uint(0); ; shift += 7 { 89458 if shift >= 64 { 89459 return ErrIntOverflowTypes 89460 } 89461 if iNdEx >= l { 89462 return io.ErrUnexpectedEOF 89463 } 89464 b := dAtA[iNdEx] 89465 iNdEx++ 89466 stringLen |= uint64(b&0x7F) << shift 89467 if b < 0x80 { 89468 break 89469 } 89470 } 89471 intStringLen := int(stringLen) 89472 if intStringLen < 0 { 89473 return ErrInvalidLengthTypes 89474 } 89475 postIndex := iNdEx + intStringLen 89476 if postIndex < 0 { 89477 return ErrInvalidLengthTypes 89478 } 89479 if postIndex > l { 89480 return io.ErrUnexpectedEOF 89481 } 89482 m.Version = string(dAtA[iNdEx:postIndex]) 89483 iNdEx = postIndex 89484 case 2: 89485 if wireType != 2 { 89486 return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) 89487 } 89488 var stringLen uint64 89489 for shift := uint(0); ; shift += 7 { 89490 if shift >= 64 { 89491 return ErrIntOverflowTypes 89492 } 89493 if iNdEx >= l { 89494 return io.ErrUnexpectedEOF 89495 } 89496 b := dAtA[iNdEx] 89497 iNdEx++ 89498 stringLen |= uint64(b&0x7F) << shift 89499 if b < 0x80 { 89500 break 89501 } 89502 } 89503 intStringLen := int(stringLen) 89504 if intStringLen < 0 { 89505 return ErrInvalidLengthTypes 89506 } 89507 postIndex := iNdEx + intStringLen 89508 if postIndex < 0 { 89509 return ErrInvalidLengthTypes 89510 } 89511 if postIndex > l { 89512 return io.ErrUnexpectedEOF 89513 } 89514 m.Hostname = string(dAtA[iNdEx:postIndex]) 89515 iNdEx = postIndex 89516 case 3: 89517 if wireType != 2 { 89518 return fmt.Errorf("proto: wrong wireType = %d for field HostID", wireType) 89519 } 89520 var stringLen uint64 89521 for shift := uint(0); ; shift += 7 { 89522 if shift >= 64 { 89523 return ErrIntOverflowTypes 89524 } 89525 if iNdEx >= l { 89526 return io.ErrUnexpectedEOF 89527 } 89528 b := dAtA[iNdEx] 89529 iNdEx++ 89530 stringLen |= uint64(b&0x7F) << shift 89531 if b < 0x80 { 89532 break 89533 } 89534 } 89535 intStringLen := int(stringLen) 89536 if intStringLen < 0 { 89537 return ErrInvalidLengthTypes 89538 } 89539 postIndex := iNdEx + intStringLen 89540 if postIndex < 0 { 89541 return ErrInvalidLengthTypes 89542 } 89543 if postIndex > l { 89544 return io.ErrUnexpectedEOF 89545 } 89546 m.HostID = string(dAtA[iNdEx:postIndex]) 89547 iNdEx = postIndex 89548 case 4: 89549 if wireType != 2 { 89550 return fmt.Errorf("proto: wrong wireType = %d for field Rotation", wireType) 89551 } 89552 var msglen int 89553 for shift := uint(0); ; shift += 7 { 89554 if shift >= 64 { 89555 return ErrIntOverflowTypes 89556 } 89557 if iNdEx >= l { 89558 return io.ErrUnexpectedEOF 89559 } 89560 b := dAtA[iNdEx] 89561 iNdEx++ 89562 msglen |= int(b&0x7F) << shift 89563 if b < 0x80 { 89564 break 89565 } 89566 } 89567 if msglen < 0 { 89568 return ErrInvalidLengthTypes 89569 } 89570 postIndex := iNdEx + msglen 89571 if postIndex < 0 { 89572 return ErrInvalidLengthTypes 89573 } 89574 if postIndex > l { 89575 return io.ErrUnexpectedEOF 89576 } 89577 if err := m.Rotation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 89578 return err 89579 } 89580 iNdEx = postIndex 89581 case 5: 89582 if wireType != 2 { 89583 return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) 89584 } 89585 var msglen int 89586 for shift := uint(0); ; shift += 7 { 89587 if shift >= 64 { 89588 return ErrIntOverflowTypes 89589 } 89590 if iNdEx >= l { 89591 return io.ErrUnexpectedEOF 89592 } 89593 b := dAtA[iNdEx] 89594 iNdEx++ 89595 msglen |= int(b&0x7F) << shift 89596 if b < 0x80 { 89597 break 89598 } 89599 } 89600 if msglen < 0 { 89601 return ErrInvalidLengthTypes 89602 } 89603 postIndex := iNdEx + msglen 89604 if postIndex < 0 { 89605 return ErrInvalidLengthTypes 89606 } 89607 if postIndex > l { 89608 return io.ErrUnexpectedEOF 89609 } 89610 if m.Cluster == nil { 89611 m.Cluster = &KubernetesClusterV3{} 89612 } 89613 if err := m.Cluster.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 89614 return err 89615 } 89616 iNdEx = postIndex 89617 case 6: 89618 if wireType != 2 { 89619 return fmt.Errorf("proto: wrong wireType = %d for field ProxyIDs", wireType) 89620 } 89621 var stringLen uint64 89622 for shift := uint(0); ; shift += 7 { 89623 if shift >= 64 { 89624 return ErrIntOverflowTypes 89625 } 89626 if iNdEx >= l { 89627 return io.ErrUnexpectedEOF 89628 } 89629 b := dAtA[iNdEx] 89630 iNdEx++ 89631 stringLen |= uint64(b&0x7F) << shift 89632 if b < 0x80 { 89633 break 89634 } 89635 } 89636 intStringLen := int(stringLen) 89637 if intStringLen < 0 { 89638 return ErrInvalidLengthTypes 89639 } 89640 postIndex := iNdEx + intStringLen 89641 if postIndex < 0 { 89642 return ErrInvalidLengthTypes 89643 } 89644 if postIndex > l { 89645 return io.ErrUnexpectedEOF 89646 } 89647 m.ProxyIDs = append(m.ProxyIDs, string(dAtA[iNdEx:postIndex])) 89648 iNdEx = postIndex 89649 default: 89650 iNdEx = preIndex 89651 skippy, err := skipTypes(dAtA[iNdEx:]) 89652 if err != nil { 89653 return err 89654 } 89655 if (skippy < 0) || (iNdEx+skippy) < 0 { 89656 return ErrInvalidLengthTypes 89657 } 89658 if (iNdEx + skippy) > l { 89659 return io.ErrUnexpectedEOF 89660 } 89661 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 89662 iNdEx += skippy 89663 } 89664 } 89665 89666 if iNdEx > l { 89667 return io.ErrUnexpectedEOF 89668 } 89669 return nil 89670 } 89671 func (m *WebTokenV3) Unmarshal(dAtA []byte) error { 89672 l := len(dAtA) 89673 iNdEx := 0 89674 for iNdEx < l { 89675 preIndex := iNdEx 89676 var wire uint64 89677 for shift := uint(0); ; shift += 7 { 89678 if shift >= 64 { 89679 return ErrIntOverflowTypes 89680 } 89681 if iNdEx >= l { 89682 return io.ErrUnexpectedEOF 89683 } 89684 b := dAtA[iNdEx] 89685 iNdEx++ 89686 wire |= uint64(b&0x7F) << shift 89687 if b < 0x80 { 89688 break 89689 } 89690 } 89691 fieldNum := int32(wire >> 3) 89692 wireType := int(wire & 0x7) 89693 if wireType == 4 { 89694 return fmt.Errorf("proto: WebTokenV3: wiretype end group for non-group") 89695 } 89696 if fieldNum <= 0 { 89697 return fmt.Errorf("proto: WebTokenV3: illegal tag %d (wire type %d)", fieldNum, wire) 89698 } 89699 switch fieldNum { 89700 case 1: 89701 if wireType != 2 { 89702 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 89703 } 89704 var stringLen uint64 89705 for shift := uint(0); ; shift += 7 { 89706 if shift >= 64 { 89707 return ErrIntOverflowTypes 89708 } 89709 if iNdEx >= l { 89710 return io.ErrUnexpectedEOF 89711 } 89712 b := dAtA[iNdEx] 89713 iNdEx++ 89714 stringLen |= uint64(b&0x7F) << shift 89715 if b < 0x80 { 89716 break 89717 } 89718 } 89719 intStringLen := int(stringLen) 89720 if intStringLen < 0 { 89721 return ErrInvalidLengthTypes 89722 } 89723 postIndex := iNdEx + intStringLen 89724 if postIndex < 0 { 89725 return ErrInvalidLengthTypes 89726 } 89727 if postIndex > l { 89728 return io.ErrUnexpectedEOF 89729 } 89730 m.Kind = string(dAtA[iNdEx:postIndex]) 89731 iNdEx = postIndex 89732 case 2: 89733 if wireType != 2 { 89734 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 89735 } 89736 var stringLen uint64 89737 for shift := uint(0); ; shift += 7 { 89738 if shift >= 64 { 89739 return ErrIntOverflowTypes 89740 } 89741 if iNdEx >= l { 89742 return io.ErrUnexpectedEOF 89743 } 89744 b := dAtA[iNdEx] 89745 iNdEx++ 89746 stringLen |= uint64(b&0x7F) << shift 89747 if b < 0x80 { 89748 break 89749 } 89750 } 89751 intStringLen := int(stringLen) 89752 if intStringLen < 0 { 89753 return ErrInvalidLengthTypes 89754 } 89755 postIndex := iNdEx + intStringLen 89756 if postIndex < 0 { 89757 return ErrInvalidLengthTypes 89758 } 89759 if postIndex > l { 89760 return io.ErrUnexpectedEOF 89761 } 89762 m.SubKind = string(dAtA[iNdEx:postIndex]) 89763 iNdEx = postIndex 89764 case 3: 89765 if wireType != 2 { 89766 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 89767 } 89768 var stringLen uint64 89769 for shift := uint(0); ; shift += 7 { 89770 if shift >= 64 { 89771 return ErrIntOverflowTypes 89772 } 89773 if iNdEx >= l { 89774 return io.ErrUnexpectedEOF 89775 } 89776 b := dAtA[iNdEx] 89777 iNdEx++ 89778 stringLen |= uint64(b&0x7F) << shift 89779 if b < 0x80 { 89780 break 89781 } 89782 } 89783 intStringLen := int(stringLen) 89784 if intStringLen < 0 { 89785 return ErrInvalidLengthTypes 89786 } 89787 postIndex := iNdEx + intStringLen 89788 if postIndex < 0 { 89789 return ErrInvalidLengthTypes 89790 } 89791 if postIndex > l { 89792 return io.ErrUnexpectedEOF 89793 } 89794 m.Version = string(dAtA[iNdEx:postIndex]) 89795 iNdEx = postIndex 89796 case 4: 89797 if wireType != 2 { 89798 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 89799 } 89800 var msglen int 89801 for shift := uint(0); ; shift += 7 { 89802 if shift >= 64 { 89803 return ErrIntOverflowTypes 89804 } 89805 if iNdEx >= l { 89806 return io.ErrUnexpectedEOF 89807 } 89808 b := dAtA[iNdEx] 89809 iNdEx++ 89810 msglen |= int(b&0x7F) << shift 89811 if b < 0x80 { 89812 break 89813 } 89814 } 89815 if msglen < 0 { 89816 return ErrInvalidLengthTypes 89817 } 89818 postIndex := iNdEx + msglen 89819 if postIndex < 0 { 89820 return ErrInvalidLengthTypes 89821 } 89822 if postIndex > l { 89823 return io.ErrUnexpectedEOF 89824 } 89825 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 89826 return err 89827 } 89828 iNdEx = postIndex 89829 case 5: 89830 if wireType != 2 { 89831 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 89832 } 89833 var msglen int 89834 for shift := uint(0); ; shift += 7 { 89835 if shift >= 64 { 89836 return ErrIntOverflowTypes 89837 } 89838 if iNdEx >= l { 89839 return io.ErrUnexpectedEOF 89840 } 89841 b := dAtA[iNdEx] 89842 iNdEx++ 89843 msglen |= int(b&0x7F) << shift 89844 if b < 0x80 { 89845 break 89846 } 89847 } 89848 if msglen < 0 { 89849 return ErrInvalidLengthTypes 89850 } 89851 postIndex := iNdEx + msglen 89852 if postIndex < 0 { 89853 return ErrInvalidLengthTypes 89854 } 89855 if postIndex > l { 89856 return io.ErrUnexpectedEOF 89857 } 89858 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 89859 return err 89860 } 89861 iNdEx = postIndex 89862 default: 89863 iNdEx = preIndex 89864 skippy, err := skipTypes(dAtA[iNdEx:]) 89865 if err != nil { 89866 return err 89867 } 89868 if (skippy < 0) || (iNdEx+skippy) < 0 { 89869 return ErrInvalidLengthTypes 89870 } 89871 if (iNdEx + skippy) > l { 89872 return io.ErrUnexpectedEOF 89873 } 89874 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 89875 iNdEx += skippy 89876 } 89877 } 89878 89879 if iNdEx > l { 89880 return io.ErrUnexpectedEOF 89881 } 89882 return nil 89883 } 89884 func (m *WebTokenSpecV3) Unmarshal(dAtA []byte) error { 89885 l := len(dAtA) 89886 iNdEx := 0 89887 for iNdEx < l { 89888 preIndex := iNdEx 89889 var wire uint64 89890 for shift := uint(0); ; shift += 7 { 89891 if shift >= 64 { 89892 return ErrIntOverflowTypes 89893 } 89894 if iNdEx >= l { 89895 return io.ErrUnexpectedEOF 89896 } 89897 b := dAtA[iNdEx] 89898 iNdEx++ 89899 wire |= uint64(b&0x7F) << shift 89900 if b < 0x80 { 89901 break 89902 } 89903 } 89904 fieldNum := int32(wire >> 3) 89905 wireType := int(wire & 0x7) 89906 if wireType == 4 { 89907 return fmt.Errorf("proto: WebTokenSpecV3: wiretype end group for non-group") 89908 } 89909 if fieldNum <= 0 { 89910 return fmt.Errorf("proto: WebTokenSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 89911 } 89912 switch fieldNum { 89913 case 1: 89914 if wireType != 2 { 89915 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 89916 } 89917 var stringLen uint64 89918 for shift := uint(0); ; shift += 7 { 89919 if shift >= 64 { 89920 return ErrIntOverflowTypes 89921 } 89922 if iNdEx >= l { 89923 return io.ErrUnexpectedEOF 89924 } 89925 b := dAtA[iNdEx] 89926 iNdEx++ 89927 stringLen |= uint64(b&0x7F) << shift 89928 if b < 0x80 { 89929 break 89930 } 89931 } 89932 intStringLen := int(stringLen) 89933 if intStringLen < 0 { 89934 return ErrInvalidLengthTypes 89935 } 89936 postIndex := iNdEx + intStringLen 89937 if postIndex < 0 { 89938 return ErrInvalidLengthTypes 89939 } 89940 if postIndex > l { 89941 return io.ErrUnexpectedEOF 89942 } 89943 m.User = string(dAtA[iNdEx:postIndex]) 89944 iNdEx = postIndex 89945 case 2: 89946 if wireType != 2 { 89947 return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) 89948 } 89949 var stringLen uint64 89950 for shift := uint(0); ; shift += 7 { 89951 if shift >= 64 { 89952 return ErrIntOverflowTypes 89953 } 89954 if iNdEx >= l { 89955 return io.ErrUnexpectedEOF 89956 } 89957 b := dAtA[iNdEx] 89958 iNdEx++ 89959 stringLen |= uint64(b&0x7F) << shift 89960 if b < 0x80 { 89961 break 89962 } 89963 } 89964 intStringLen := int(stringLen) 89965 if intStringLen < 0 { 89966 return ErrInvalidLengthTypes 89967 } 89968 postIndex := iNdEx + intStringLen 89969 if postIndex < 0 { 89970 return ErrInvalidLengthTypes 89971 } 89972 if postIndex > l { 89973 return io.ErrUnexpectedEOF 89974 } 89975 m.Token = string(dAtA[iNdEx:postIndex]) 89976 iNdEx = postIndex 89977 default: 89978 iNdEx = preIndex 89979 skippy, err := skipTypes(dAtA[iNdEx:]) 89980 if err != nil { 89981 return err 89982 } 89983 if (skippy < 0) || (iNdEx+skippy) < 0 { 89984 return ErrInvalidLengthTypes 89985 } 89986 if (iNdEx + skippy) > l { 89987 return io.ErrUnexpectedEOF 89988 } 89989 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 89990 iNdEx += skippy 89991 } 89992 } 89993 89994 if iNdEx > l { 89995 return io.ErrUnexpectedEOF 89996 } 89997 return nil 89998 } 89999 func (m *GetWebSessionRequest) Unmarshal(dAtA []byte) error { 90000 l := len(dAtA) 90001 iNdEx := 0 90002 for iNdEx < l { 90003 preIndex := iNdEx 90004 var wire uint64 90005 for shift := uint(0); ; shift += 7 { 90006 if shift >= 64 { 90007 return ErrIntOverflowTypes 90008 } 90009 if iNdEx >= l { 90010 return io.ErrUnexpectedEOF 90011 } 90012 b := dAtA[iNdEx] 90013 iNdEx++ 90014 wire |= uint64(b&0x7F) << shift 90015 if b < 0x80 { 90016 break 90017 } 90018 } 90019 fieldNum := int32(wire >> 3) 90020 wireType := int(wire & 0x7) 90021 if wireType == 4 { 90022 return fmt.Errorf("proto: GetWebSessionRequest: wiretype end group for non-group") 90023 } 90024 if fieldNum <= 0 { 90025 return fmt.Errorf("proto: GetWebSessionRequest: illegal tag %d (wire type %d)", fieldNum, wire) 90026 } 90027 switch fieldNum { 90028 case 1: 90029 if wireType != 2 { 90030 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 90031 } 90032 var stringLen uint64 90033 for shift := uint(0); ; shift += 7 { 90034 if shift >= 64 { 90035 return ErrIntOverflowTypes 90036 } 90037 if iNdEx >= l { 90038 return io.ErrUnexpectedEOF 90039 } 90040 b := dAtA[iNdEx] 90041 iNdEx++ 90042 stringLen |= uint64(b&0x7F) << shift 90043 if b < 0x80 { 90044 break 90045 } 90046 } 90047 intStringLen := int(stringLen) 90048 if intStringLen < 0 { 90049 return ErrInvalidLengthTypes 90050 } 90051 postIndex := iNdEx + intStringLen 90052 if postIndex < 0 { 90053 return ErrInvalidLengthTypes 90054 } 90055 if postIndex > l { 90056 return io.ErrUnexpectedEOF 90057 } 90058 m.User = string(dAtA[iNdEx:postIndex]) 90059 iNdEx = postIndex 90060 case 2: 90061 if wireType != 2 { 90062 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 90063 } 90064 var stringLen uint64 90065 for shift := uint(0); ; shift += 7 { 90066 if shift >= 64 { 90067 return ErrIntOverflowTypes 90068 } 90069 if iNdEx >= l { 90070 return io.ErrUnexpectedEOF 90071 } 90072 b := dAtA[iNdEx] 90073 iNdEx++ 90074 stringLen |= uint64(b&0x7F) << shift 90075 if b < 0x80 { 90076 break 90077 } 90078 } 90079 intStringLen := int(stringLen) 90080 if intStringLen < 0 { 90081 return ErrInvalidLengthTypes 90082 } 90083 postIndex := iNdEx + intStringLen 90084 if postIndex < 0 { 90085 return ErrInvalidLengthTypes 90086 } 90087 if postIndex > l { 90088 return io.ErrUnexpectedEOF 90089 } 90090 m.SessionID = string(dAtA[iNdEx:postIndex]) 90091 iNdEx = postIndex 90092 default: 90093 iNdEx = preIndex 90094 skippy, err := skipTypes(dAtA[iNdEx:]) 90095 if err != nil { 90096 return err 90097 } 90098 if (skippy < 0) || (iNdEx+skippy) < 0 { 90099 return ErrInvalidLengthTypes 90100 } 90101 if (iNdEx + skippy) > l { 90102 return io.ErrUnexpectedEOF 90103 } 90104 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 90105 iNdEx += skippy 90106 } 90107 } 90108 90109 if iNdEx > l { 90110 return io.ErrUnexpectedEOF 90111 } 90112 return nil 90113 } 90114 func (m *DeleteWebSessionRequest) Unmarshal(dAtA []byte) error { 90115 l := len(dAtA) 90116 iNdEx := 0 90117 for iNdEx < l { 90118 preIndex := iNdEx 90119 var wire uint64 90120 for shift := uint(0); ; shift += 7 { 90121 if shift >= 64 { 90122 return ErrIntOverflowTypes 90123 } 90124 if iNdEx >= l { 90125 return io.ErrUnexpectedEOF 90126 } 90127 b := dAtA[iNdEx] 90128 iNdEx++ 90129 wire |= uint64(b&0x7F) << shift 90130 if b < 0x80 { 90131 break 90132 } 90133 } 90134 fieldNum := int32(wire >> 3) 90135 wireType := int(wire & 0x7) 90136 if wireType == 4 { 90137 return fmt.Errorf("proto: DeleteWebSessionRequest: wiretype end group for non-group") 90138 } 90139 if fieldNum <= 0 { 90140 return fmt.Errorf("proto: DeleteWebSessionRequest: illegal tag %d (wire type %d)", fieldNum, wire) 90141 } 90142 switch fieldNum { 90143 case 1: 90144 if wireType != 2 { 90145 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 90146 } 90147 var stringLen uint64 90148 for shift := uint(0); ; shift += 7 { 90149 if shift >= 64 { 90150 return ErrIntOverflowTypes 90151 } 90152 if iNdEx >= l { 90153 return io.ErrUnexpectedEOF 90154 } 90155 b := dAtA[iNdEx] 90156 iNdEx++ 90157 stringLen |= uint64(b&0x7F) << shift 90158 if b < 0x80 { 90159 break 90160 } 90161 } 90162 intStringLen := int(stringLen) 90163 if intStringLen < 0 { 90164 return ErrInvalidLengthTypes 90165 } 90166 postIndex := iNdEx + intStringLen 90167 if postIndex < 0 { 90168 return ErrInvalidLengthTypes 90169 } 90170 if postIndex > l { 90171 return io.ErrUnexpectedEOF 90172 } 90173 m.User = string(dAtA[iNdEx:postIndex]) 90174 iNdEx = postIndex 90175 case 2: 90176 if wireType != 2 { 90177 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 90178 } 90179 var stringLen uint64 90180 for shift := uint(0); ; shift += 7 { 90181 if shift >= 64 { 90182 return ErrIntOverflowTypes 90183 } 90184 if iNdEx >= l { 90185 return io.ErrUnexpectedEOF 90186 } 90187 b := dAtA[iNdEx] 90188 iNdEx++ 90189 stringLen |= uint64(b&0x7F) << shift 90190 if b < 0x80 { 90191 break 90192 } 90193 } 90194 intStringLen := int(stringLen) 90195 if intStringLen < 0 { 90196 return ErrInvalidLengthTypes 90197 } 90198 postIndex := iNdEx + intStringLen 90199 if postIndex < 0 { 90200 return ErrInvalidLengthTypes 90201 } 90202 if postIndex > l { 90203 return io.ErrUnexpectedEOF 90204 } 90205 m.SessionID = string(dAtA[iNdEx:postIndex]) 90206 iNdEx = postIndex 90207 default: 90208 iNdEx = preIndex 90209 skippy, err := skipTypes(dAtA[iNdEx:]) 90210 if err != nil { 90211 return err 90212 } 90213 if (skippy < 0) || (iNdEx+skippy) < 0 { 90214 return ErrInvalidLengthTypes 90215 } 90216 if (iNdEx + skippy) > l { 90217 return io.ErrUnexpectedEOF 90218 } 90219 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 90220 iNdEx += skippy 90221 } 90222 } 90223 90224 if iNdEx > l { 90225 return io.ErrUnexpectedEOF 90226 } 90227 return nil 90228 } 90229 func (m *GetWebTokenRequest) Unmarshal(dAtA []byte) error { 90230 l := len(dAtA) 90231 iNdEx := 0 90232 for iNdEx < l { 90233 preIndex := iNdEx 90234 var wire uint64 90235 for shift := uint(0); ; shift += 7 { 90236 if shift >= 64 { 90237 return ErrIntOverflowTypes 90238 } 90239 if iNdEx >= l { 90240 return io.ErrUnexpectedEOF 90241 } 90242 b := dAtA[iNdEx] 90243 iNdEx++ 90244 wire |= uint64(b&0x7F) << shift 90245 if b < 0x80 { 90246 break 90247 } 90248 } 90249 fieldNum := int32(wire >> 3) 90250 wireType := int(wire & 0x7) 90251 if wireType == 4 { 90252 return fmt.Errorf("proto: GetWebTokenRequest: wiretype end group for non-group") 90253 } 90254 if fieldNum <= 0 { 90255 return fmt.Errorf("proto: GetWebTokenRequest: illegal tag %d (wire type %d)", fieldNum, wire) 90256 } 90257 switch fieldNum { 90258 case 1: 90259 if wireType != 2 { 90260 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 90261 } 90262 var stringLen uint64 90263 for shift := uint(0); ; shift += 7 { 90264 if shift >= 64 { 90265 return ErrIntOverflowTypes 90266 } 90267 if iNdEx >= l { 90268 return io.ErrUnexpectedEOF 90269 } 90270 b := dAtA[iNdEx] 90271 iNdEx++ 90272 stringLen |= uint64(b&0x7F) << shift 90273 if b < 0x80 { 90274 break 90275 } 90276 } 90277 intStringLen := int(stringLen) 90278 if intStringLen < 0 { 90279 return ErrInvalidLengthTypes 90280 } 90281 postIndex := iNdEx + intStringLen 90282 if postIndex < 0 { 90283 return ErrInvalidLengthTypes 90284 } 90285 if postIndex > l { 90286 return io.ErrUnexpectedEOF 90287 } 90288 m.User = string(dAtA[iNdEx:postIndex]) 90289 iNdEx = postIndex 90290 case 2: 90291 if wireType != 2 { 90292 return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) 90293 } 90294 var stringLen uint64 90295 for shift := uint(0); ; shift += 7 { 90296 if shift >= 64 { 90297 return ErrIntOverflowTypes 90298 } 90299 if iNdEx >= l { 90300 return io.ErrUnexpectedEOF 90301 } 90302 b := dAtA[iNdEx] 90303 iNdEx++ 90304 stringLen |= uint64(b&0x7F) << shift 90305 if b < 0x80 { 90306 break 90307 } 90308 } 90309 intStringLen := int(stringLen) 90310 if intStringLen < 0 { 90311 return ErrInvalidLengthTypes 90312 } 90313 postIndex := iNdEx + intStringLen 90314 if postIndex < 0 { 90315 return ErrInvalidLengthTypes 90316 } 90317 if postIndex > l { 90318 return io.ErrUnexpectedEOF 90319 } 90320 m.Token = string(dAtA[iNdEx:postIndex]) 90321 iNdEx = postIndex 90322 default: 90323 iNdEx = preIndex 90324 skippy, err := skipTypes(dAtA[iNdEx:]) 90325 if err != nil { 90326 return err 90327 } 90328 if (skippy < 0) || (iNdEx+skippy) < 0 { 90329 return ErrInvalidLengthTypes 90330 } 90331 if (iNdEx + skippy) > l { 90332 return io.ErrUnexpectedEOF 90333 } 90334 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 90335 iNdEx += skippy 90336 } 90337 } 90338 90339 if iNdEx > l { 90340 return io.ErrUnexpectedEOF 90341 } 90342 return nil 90343 } 90344 func (m *DeleteWebTokenRequest) Unmarshal(dAtA []byte) error { 90345 l := len(dAtA) 90346 iNdEx := 0 90347 for iNdEx < l { 90348 preIndex := iNdEx 90349 var wire uint64 90350 for shift := uint(0); ; shift += 7 { 90351 if shift >= 64 { 90352 return ErrIntOverflowTypes 90353 } 90354 if iNdEx >= l { 90355 return io.ErrUnexpectedEOF 90356 } 90357 b := dAtA[iNdEx] 90358 iNdEx++ 90359 wire |= uint64(b&0x7F) << shift 90360 if b < 0x80 { 90361 break 90362 } 90363 } 90364 fieldNum := int32(wire >> 3) 90365 wireType := int(wire & 0x7) 90366 if wireType == 4 { 90367 return fmt.Errorf("proto: DeleteWebTokenRequest: wiretype end group for non-group") 90368 } 90369 if fieldNum <= 0 { 90370 return fmt.Errorf("proto: DeleteWebTokenRequest: illegal tag %d (wire type %d)", fieldNum, wire) 90371 } 90372 switch fieldNum { 90373 case 1: 90374 if wireType != 2 { 90375 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 90376 } 90377 var stringLen uint64 90378 for shift := uint(0); ; shift += 7 { 90379 if shift >= 64 { 90380 return ErrIntOverflowTypes 90381 } 90382 if iNdEx >= l { 90383 return io.ErrUnexpectedEOF 90384 } 90385 b := dAtA[iNdEx] 90386 iNdEx++ 90387 stringLen |= uint64(b&0x7F) << shift 90388 if b < 0x80 { 90389 break 90390 } 90391 } 90392 intStringLen := int(stringLen) 90393 if intStringLen < 0 { 90394 return ErrInvalidLengthTypes 90395 } 90396 postIndex := iNdEx + intStringLen 90397 if postIndex < 0 { 90398 return ErrInvalidLengthTypes 90399 } 90400 if postIndex > l { 90401 return io.ErrUnexpectedEOF 90402 } 90403 m.User = string(dAtA[iNdEx:postIndex]) 90404 iNdEx = postIndex 90405 case 2: 90406 if wireType != 2 { 90407 return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) 90408 } 90409 var stringLen uint64 90410 for shift := uint(0); ; shift += 7 { 90411 if shift >= 64 { 90412 return ErrIntOverflowTypes 90413 } 90414 if iNdEx >= l { 90415 return io.ErrUnexpectedEOF 90416 } 90417 b := dAtA[iNdEx] 90418 iNdEx++ 90419 stringLen |= uint64(b&0x7F) << shift 90420 if b < 0x80 { 90421 break 90422 } 90423 } 90424 intStringLen := int(stringLen) 90425 if intStringLen < 0 { 90426 return ErrInvalidLengthTypes 90427 } 90428 postIndex := iNdEx + intStringLen 90429 if postIndex < 0 { 90430 return ErrInvalidLengthTypes 90431 } 90432 if postIndex > l { 90433 return io.ErrUnexpectedEOF 90434 } 90435 m.Token = string(dAtA[iNdEx:postIndex]) 90436 iNdEx = postIndex 90437 default: 90438 iNdEx = preIndex 90439 skippy, err := skipTypes(dAtA[iNdEx:]) 90440 if err != nil { 90441 return err 90442 } 90443 if (skippy < 0) || (iNdEx+skippy) < 0 { 90444 return ErrInvalidLengthTypes 90445 } 90446 if (iNdEx + skippy) > l { 90447 return io.ErrUnexpectedEOF 90448 } 90449 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 90450 iNdEx += skippy 90451 } 90452 } 90453 90454 if iNdEx > l { 90455 return io.ErrUnexpectedEOF 90456 } 90457 return nil 90458 } 90459 func (m *ResourceRequest) Unmarshal(dAtA []byte) error { 90460 l := len(dAtA) 90461 iNdEx := 0 90462 for iNdEx < l { 90463 preIndex := iNdEx 90464 var wire uint64 90465 for shift := uint(0); ; shift += 7 { 90466 if shift >= 64 { 90467 return ErrIntOverflowTypes 90468 } 90469 if iNdEx >= l { 90470 return io.ErrUnexpectedEOF 90471 } 90472 b := dAtA[iNdEx] 90473 iNdEx++ 90474 wire |= uint64(b&0x7F) << shift 90475 if b < 0x80 { 90476 break 90477 } 90478 } 90479 fieldNum := int32(wire >> 3) 90480 wireType := int(wire & 0x7) 90481 if wireType == 4 { 90482 return fmt.Errorf("proto: ResourceRequest: wiretype end group for non-group") 90483 } 90484 if fieldNum <= 0 { 90485 return fmt.Errorf("proto: ResourceRequest: illegal tag %d (wire type %d)", fieldNum, wire) 90486 } 90487 switch fieldNum { 90488 case 1: 90489 if wireType != 2 { 90490 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 90491 } 90492 var stringLen uint64 90493 for shift := uint(0); ; shift += 7 { 90494 if shift >= 64 { 90495 return ErrIntOverflowTypes 90496 } 90497 if iNdEx >= l { 90498 return io.ErrUnexpectedEOF 90499 } 90500 b := dAtA[iNdEx] 90501 iNdEx++ 90502 stringLen |= uint64(b&0x7F) << shift 90503 if b < 0x80 { 90504 break 90505 } 90506 } 90507 intStringLen := int(stringLen) 90508 if intStringLen < 0 { 90509 return ErrInvalidLengthTypes 90510 } 90511 postIndex := iNdEx + intStringLen 90512 if postIndex < 0 { 90513 return ErrInvalidLengthTypes 90514 } 90515 if postIndex > l { 90516 return io.ErrUnexpectedEOF 90517 } 90518 m.Name = string(dAtA[iNdEx:postIndex]) 90519 iNdEx = postIndex 90520 default: 90521 iNdEx = preIndex 90522 skippy, err := skipTypes(dAtA[iNdEx:]) 90523 if err != nil { 90524 return err 90525 } 90526 if (skippy < 0) || (iNdEx+skippy) < 0 { 90527 return ErrInvalidLengthTypes 90528 } 90529 if (iNdEx + skippy) > l { 90530 return io.ErrUnexpectedEOF 90531 } 90532 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 90533 iNdEx += skippy 90534 } 90535 } 90536 90537 if iNdEx > l { 90538 return io.ErrUnexpectedEOF 90539 } 90540 return nil 90541 } 90542 func (m *ResourceWithSecretsRequest) Unmarshal(dAtA []byte) error { 90543 l := len(dAtA) 90544 iNdEx := 0 90545 for iNdEx < l { 90546 preIndex := iNdEx 90547 var wire uint64 90548 for shift := uint(0); ; shift += 7 { 90549 if shift >= 64 { 90550 return ErrIntOverflowTypes 90551 } 90552 if iNdEx >= l { 90553 return io.ErrUnexpectedEOF 90554 } 90555 b := dAtA[iNdEx] 90556 iNdEx++ 90557 wire |= uint64(b&0x7F) << shift 90558 if b < 0x80 { 90559 break 90560 } 90561 } 90562 fieldNum := int32(wire >> 3) 90563 wireType := int(wire & 0x7) 90564 if wireType == 4 { 90565 return fmt.Errorf("proto: ResourceWithSecretsRequest: wiretype end group for non-group") 90566 } 90567 if fieldNum <= 0 { 90568 return fmt.Errorf("proto: ResourceWithSecretsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 90569 } 90570 switch fieldNum { 90571 case 1: 90572 if wireType != 2 { 90573 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 90574 } 90575 var stringLen uint64 90576 for shift := uint(0); ; shift += 7 { 90577 if shift >= 64 { 90578 return ErrIntOverflowTypes 90579 } 90580 if iNdEx >= l { 90581 return io.ErrUnexpectedEOF 90582 } 90583 b := dAtA[iNdEx] 90584 iNdEx++ 90585 stringLen |= uint64(b&0x7F) << shift 90586 if b < 0x80 { 90587 break 90588 } 90589 } 90590 intStringLen := int(stringLen) 90591 if intStringLen < 0 { 90592 return ErrInvalidLengthTypes 90593 } 90594 postIndex := iNdEx + intStringLen 90595 if postIndex < 0 { 90596 return ErrInvalidLengthTypes 90597 } 90598 if postIndex > l { 90599 return io.ErrUnexpectedEOF 90600 } 90601 m.Name = string(dAtA[iNdEx:postIndex]) 90602 iNdEx = postIndex 90603 case 2: 90604 if wireType != 0 { 90605 return fmt.Errorf("proto: wrong wireType = %d for field WithSecrets", wireType) 90606 } 90607 var v int 90608 for shift := uint(0); ; shift += 7 { 90609 if shift >= 64 { 90610 return ErrIntOverflowTypes 90611 } 90612 if iNdEx >= l { 90613 return io.ErrUnexpectedEOF 90614 } 90615 b := dAtA[iNdEx] 90616 iNdEx++ 90617 v |= int(b&0x7F) << shift 90618 if b < 0x80 { 90619 break 90620 } 90621 } 90622 m.WithSecrets = bool(v != 0) 90623 default: 90624 iNdEx = preIndex 90625 skippy, err := skipTypes(dAtA[iNdEx:]) 90626 if err != nil { 90627 return err 90628 } 90629 if (skippy < 0) || (iNdEx+skippy) < 0 { 90630 return ErrInvalidLengthTypes 90631 } 90632 if (iNdEx + skippy) > l { 90633 return io.ErrUnexpectedEOF 90634 } 90635 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 90636 iNdEx += skippy 90637 } 90638 } 90639 90640 if iNdEx > l { 90641 return io.ErrUnexpectedEOF 90642 } 90643 return nil 90644 } 90645 func (m *ResourcesWithSecretsRequest) Unmarshal(dAtA []byte) error { 90646 l := len(dAtA) 90647 iNdEx := 0 90648 for iNdEx < l { 90649 preIndex := iNdEx 90650 var wire uint64 90651 for shift := uint(0); ; shift += 7 { 90652 if shift >= 64 { 90653 return ErrIntOverflowTypes 90654 } 90655 if iNdEx >= l { 90656 return io.ErrUnexpectedEOF 90657 } 90658 b := dAtA[iNdEx] 90659 iNdEx++ 90660 wire |= uint64(b&0x7F) << shift 90661 if b < 0x80 { 90662 break 90663 } 90664 } 90665 fieldNum := int32(wire >> 3) 90666 wireType := int(wire & 0x7) 90667 if wireType == 4 { 90668 return fmt.Errorf("proto: ResourcesWithSecretsRequest: wiretype end group for non-group") 90669 } 90670 if fieldNum <= 0 { 90671 return fmt.Errorf("proto: ResourcesWithSecretsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 90672 } 90673 switch fieldNum { 90674 case 1: 90675 if wireType != 0 { 90676 return fmt.Errorf("proto: wrong wireType = %d for field WithSecrets", wireType) 90677 } 90678 var v int 90679 for shift := uint(0); ; shift += 7 { 90680 if shift >= 64 { 90681 return ErrIntOverflowTypes 90682 } 90683 if iNdEx >= l { 90684 return io.ErrUnexpectedEOF 90685 } 90686 b := dAtA[iNdEx] 90687 iNdEx++ 90688 v |= int(b&0x7F) << shift 90689 if b < 0x80 { 90690 break 90691 } 90692 } 90693 m.WithSecrets = bool(v != 0) 90694 default: 90695 iNdEx = preIndex 90696 skippy, err := skipTypes(dAtA[iNdEx:]) 90697 if err != nil { 90698 return err 90699 } 90700 if (skippy < 0) || (iNdEx+skippy) < 0 { 90701 return ErrInvalidLengthTypes 90702 } 90703 if (iNdEx + skippy) > l { 90704 return io.ErrUnexpectedEOF 90705 } 90706 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 90707 iNdEx += skippy 90708 } 90709 } 90710 90711 if iNdEx > l { 90712 return io.ErrUnexpectedEOF 90713 } 90714 return nil 90715 } 90716 func (m *ResourceInNamespaceRequest) Unmarshal(dAtA []byte) error { 90717 l := len(dAtA) 90718 iNdEx := 0 90719 for iNdEx < l { 90720 preIndex := iNdEx 90721 var wire uint64 90722 for shift := uint(0); ; shift += 7 { 90723 if shift >= 64 { 90724 return ErrIntOverflowTypes 90725 } 90726 if iNdEx >= l { 90727 return io.ErrUnexpectedEOF 90728 } 90729 b := dAtA[iNdEx] 90730 iNdEx++ 90731 wire |= uint64(b&0x7F) << shift 90732 if b < 0x80 { 90733 break 90734 } 90735 } 90736 fieldNum := int32(wire >> 3) 90737 wireType := int(wire & 0x7) 90738 if wireType == 4 { 90739 return fmt.Errorf("proto: ResourceInNamespaceRequest: wiretype end group for non-group") 90740 } 90741 if fieldNum <= 0 { 90742 return fmt.Errorf("proto: ResourceInNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) 90743 } 90744 switch fieldNum { 90745 case 1: 90746 if wireType != 2 { 90747 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 90748 } 90749 var stringLen uint64 90750 for shift := uint(0); ; shift += 7 { 90751 if shift >= 64 { 90752 return ErrIntOverflowTypes 90753 } 90754 if iNdEx >= l { 90755 return io.ErrUnexpectedEOF 90756 } 90757 b := dAtA[iNdEx] 90758 iNdEx++ 90759 stringLen |= uint64(b&0x7F) << shift 90760 if b < 0x80 { 90761 break 90762 } 90763 } 90764 intStringLen := int(stringLen) 90765 if intStringLen < 0 { 90766 return ErrInvalidLengthTypes 90767 } 90768 postIndex := iNdEx + intStringLen 90769 if postIndex < 0 { 90770 return ErrInvalidLengthTypes 90771 } 90772 if postIndex > l { 90773 return io.ErrUnexpectedEOF 90774 } 90775 m.Name = string(dAtA[iNdEx:postIndex]) 90776 iNdEx = postIndex 90777 case 2: 90778 if wireType != 2 { 90779 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 90780 } 90781 var stringLen uint64 90782 for shift := uint(0); ; shift += 7 { 90783 if shift >= 64 { 90784 return ErrIntOverflowTypes 90785 } 90786 if iNdEx >= l { 90787 return io.ErrUnexpectedEOF 90788 } 90789 b := dAtA[iNdEx] 90790 iNdEx++ 90791 stringLen |= uint64(b&0x7F) << shift 90792 if b < 0x80 { 90793 break 90794 } 90795 } 90796 intStringLen := int(stringLen) 90797 if intStringLen < 0 { 90798 return ErrInvalidLengthTypes 90799 } 90800 postIndex := iNdEx + intStringLen 90801 if postIndex < 0 { 90802 return ErrInvalidLengthTypes 90803 } 90804 if postIndex > l { 90805 return io.ErrUnexpectedEOF 90806 } 90807 m.Namespace = string(dAtA[iNdEx:postIndex]) 90808 iNdEx = postIndex 90809 default: 90810 iNdEx = preIndex 90811 skippy, err := skipTypes(dAtA[iNdEx:]) 90812 if err != nil { 90813 return err 90814 } 90815 if (skippy < 0) || (iNdEx+skippy) < 0 { 90816 return ErrInvalidLengthTypes 90817 } 90818 if (iNdEx + skippy) > l { 90819 return io.ErrUnexpectedEOF 90820 } 90821 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 90822 iNdEx += skippy 90823 } 90824 } 90825 90826 if iNdEx > l { 90827 return io.ErrUnexpectedEOF 90828 } 90829 return nil 90830 } 90831 func (m *ResourcesInNamespaceRequest) Unmarshal(dAtA []byte) error { 90832 l := len(dAtA) 90833 iNdEx := 0 90834 for iNdEx < l { 90835 preIndex := iNdEx 90836 var wire uint64 90837 for shift := uint(0); ; shift += 7 { 90838 if shift >= 64 { 90839 return ErrIntOverflowTypes 90840 } 90841 if iNdEx >= l { 90842 return io.ErrUnexpectedEOF 90843 } 90844 b := dAtA[iNdEx] 90845 iNdEx++ 90846 wire |= uint64(b&0x7F) << shift 90847 if b < 0x80 { 90848 break 90849 } 90850 } 90851 fieldNum := int32(wire >> 3) 90852 wireType := int(wire & 0x7) 90853 if wireType == 4 { 90854 return fmt.Errorf("proto: ResourcesInNamespaceRequest: wiretype end group for non-group") 90855 } 90856 if fieldNum <= 0 { 90857 return fmt.Errorf("proto: ResourcesInNamespaceRequest: illegal tag %d (wire type %d)", fieldNum, wire) 90858 } 90859 switch fieldNum { 90860 case 1: 90861 if wireType != 2 { 90862 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 90863 } 90864 var stringLen uint64 90865 for shift := uint(0); ; shift += 7 { 90866 if shift >= 64 { 90867 return ErrIntOverflowTypes 90868 } 90869 if iNdEx >= l { 90870 return io.ErrUnexpectedEOF 90871 } 90872 b := dAtA[iNdEx] 90873 iNdEx++ 90874 stringLen |= uint64(b&0x7F) << shift 90875 if b < 0x80 { 90876 break 90877 } 90878 } 90879 intStringLen := int(stringLen) 90880 if intStringLen < 0 { 90881 return ErrInvalidLengthTypes 90882 } 90883 postIndex := iNdEx + intStringLen 90884 if postIndex < 0 { 90885 return ErrInvalidLengthTypes 90886 } 90887 if postIndex > l { 90888 return io.ErrUnexpectedEOF 90889 } 90890 m.Namespace = string(dAtA[iNdEx:postIndex]) 90891 iNdEx = postIndex 90892 default: 90893 iNdEx = preIndex 90894 skippy, err := skipTypes(dAtA[iNdEx:]) 90895 if err != nil { 90896 return err 90897 } 90898 if (skippy < 0) || (iNdEx+skippy) < 0 { 90899 return ErrInvalidLengthTypes 90900 } 90901 if (iNdEx + skippy) > l { 90902 return io.ErrUnexpectedEOF 90903 } 90904 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 90905 iNdEx += skippy 90906 } 90907 } 90908 90909 if iNdEx > l { 90910 return io.ErrUnexpectedEOF 90911 } 90912 return nil 90913 } 90914 func (m *OIDCConnectorV3) Unmarshal(dAtA []byte) error { 90915 l := len(dAtA) 90916 iNdEx := 0 90917 for iNdEx < l { 90918 preIndex := iNdEx 90919 var wire uint64 90920 for shift := uint(0); ; shift += 7 { 90921 if shift >= 64 { 90922 return ErrIntOverflowTypes 90923 } 90924 if iNdEx >= l { 90925 return io.ErrUnexpectedEOF 90926 } 90927 b := dAtA[iNdEx] 90928 iNdEx++ 90929 wire |= uint64(b&0x7F) << shift 90930 if b < 0x80 { 90931 break 90932 } 90933 } 90934 fieldNum := int32(wire >> 3) 90935 wireType := int(wire & 0x7) 90936 if wireType == 4 { 90937 return fmt.Errorf("proto: OIDCConnectorV3: wiretype end group for non-group") 90938 } 90939 if fieldNum <= 0 { 90940 return fmt.Errorf("proto: OIDCConnectorV3: illegal tag %d (wire type %d)", fieldNum, wire) 90941 } 90942 switch fieldNum { 90943 case 1: 90944 if wireType != 2 { 90945 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 90946 } 90947 var stringLen uint64 90948 for shift := uint(0); ; shift += 7 { 90949 if shift >= 64 { 90950 return ErrIntOverflowTypes 90951 } 90952 if iNdEx >= l { 90953 return io.ErrUnexpectedEOF 90954 } 90955 b := dAtA[iNdEx] 90956 iNdEx++ 90957 stringLen |= uint64(b&0x7F) << shift 90958 if b < 0x80 { 90959 break 90960 } 90961 } 90962 intStringLen := int(stringLen) 90963 if intStringLen < 0 { 90964 return ErrInvalidLengthTypes 90965 } 90966 postIndex := iNdEx + intStringLen 90967 if postIndex < 0 { 90968 return ErrInvalidLengthTypes 90969 } 90970 if postIndex > l { 90971 return io.ErrUnexpectedEOF 90972 } 90973 m.Kind = string(dAtA[iNdEx:postIndex]) 90974 iNdEx = postIndex 90975 case 2: 90976 if wireType != 2 { 90977 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 90978 } 90979 var stringLen uint64 90980 for shift := uint(0); ; shift += 7 { 90981 if shift >= 64 { 90982 return ErrIntOverflowTypes 90983 } 90984 if iNdEx >= l { 90985 return io.ErrUnexpectedEOF 90986 } 90987 b := dAtA[iNdEx] 90988 iNdEx++ 90989 stringLen |= uint64(b&0x7F) << shift 90990 if b < 0x80 { 90991 break 90992 } 90993 } 90994 intStringLen := int(stringLen) 90995 if intStringLen < 0 { 90996 return ErrInvalidLengthTypes 90997 } 90998 postIndex := iNdEx + intStringLen 90999 if postIndex < 0 { 91000 return ErrInvalidLengthTypes 91001 } 91002 if postIndex > l { 91003 return io.ErrUnexpectedEOF 91004 } 91005 m.SubKind = string(dAtA[iNdEx:postIndex]) 91006 iNdEx = postIndex 91007 case 3: 91008 if wireType != 2 { 91009 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 91010 } 91011 var stringLen uint64 91012 for shift := uint(0); ; shift += 7 { 91013 if shift >= 64 { 91014 return ErrIntOverflowTypes 91015 } 91016 if iNdEx >= l { 91017 return io.ErrUnexpectedEOF 91018 } 91019 b := dAtA[iNdEx] 91020 iNdEx++ 91021 stringLen |= uint64(b&0x7F) << shift 91022 if b < 0x80 { 91023 break 91024 } 91025 } 91026 intStringLen := int(stringLen) 91027 if intStringLen < 0 { 91028 return ErrInvalidLengthTypes 91029 } 91030 postIndex := iNdEx + intStringLen 91031 if postIndex < 0 { 91032 return ErrInvalidLengthTypes 91033 } 91034 if postIndex > l { 91035 return io.ErrUnexpectedEOF 91036 } 91037 m.Version = string(dAtA[iNdEx:postIndex]) 91038 iNdEx = postIndex 91039 case 4: 91040 if wireType != 2 { 91041 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 91042 } 91043 var msglen int 91044 for shift := uint(0); ; shift += 7 { 91045 if shift >= 64 { 91046 return ErrIntOverflowTypes 91047 } 91048 if iNdEx >= l { 91049 return io.ErrUnexpectedEOF 91050 } 91051 b := dAtA[iNdEx] 91052 iNdEx++ 91053 msglen |= int(b&0x7F) << shift 91054 if b < 0x80 { 91055 break 91056 } 91057 } 91058 if msglen < 0 { 91059 return ErrInvalidLengthTypes 91060 } 91061 postIndex := iNdEx + msglen 91062 if postIndex < 0 { 91063 return ErrInvalidLengthTypes 91064 } 91065 if postIndex > l { 91066 return io.ErrUnexpectedEOF 91067 } 91068 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 91069 return err 91070 } 91071 iNdEx = postIndex 91072 case 5: 91073 if wireType != 2 { 91074 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 91075 } 91076 var msglen int 91077 for shift := uint(0); ; shift += 7 { 91078 if shift >= 64 { 91079 return ErrIntOverflowTypes 91080 } 91081 if iNdEx >= l { 91082 return io.ErrUnexpectedEOF 91083 } 91084 b := dAtA[iNdEx] 91085 iNdEx++ 91086 msglen |= int(b&0x7F) << shift 91087 if b < 0x80 { 91088 break 91089 } 91090 } 91091 if msglen < 0 { 91092 return ErrInvalidLengthTypes 91093 } 91094 postIndex := iNdEx + msglen 91095 if postIndex < 0 { 91096 return ErrInvalidLengthTypes 91097 } 91098 if postIndex > l { 91099 return io.ErrUnexpectedEOF 91100 } 91101 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 91102 return err 91103 } 91104 iNdEx = postIndex 91105 default: 91106 iNdEx = preIndex 91107 skippy, err := skipTypes(dAtA[iNdEx:]) 91108 if err != nil { 91109 return err 91110 } 91111 if (skippy < 0) || (iNdEx+skippy) < 0 { 91112 return ErrInvalidLengthTypes 91113 } 91114 if (iNdEx + skippy) > l { 91115 return io.ErrUnexpectedEOF 91116 } 91117 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 91118 iNdEx += skippy 91119 } 91120 } 91121 91122 if iNdEx > l { 91123 return io.ErrUnexpectedEOF 91124 } 91125 return nil 91126 } 91127 func (m *OIDCConnectorV3List) Unmarshal(dAtA []byte) error { 91128 l := len(dAtA) 91129 iNdEx := 0 91130 for iNdEx < l { 91131 preIndex := iNdEx 91132 var wire uint64 91133 for shift := uint(0); ; shift += 7 { 91134 if shift >= 64 { 91135 return ErrIntOverflowTypes 91136 } 91137 if iNdEx >= l { 91138 return io.ErrUnexpectedEOF 91139 } 91140 b := dAtA[iNdEx] 91141 iNdEx++ 91142 wire |= uint64(b&0x7F) << shift 91143 if b < 0x80 { 91144 break 91145 } 91146 } 91147 fieldNum := int32(wire >> 3) 91148 wireType := int(wire & 0x7) 91149 if wireType == 4 { 91150 return fmt.Errorf("proto: OIDCConnectorV3List: wiretype end group for non-group") 91151 } 91152 if fieldNum <= 0 { 91153 return fmt.Errorf("proto: OIDCConnectorV3List: illegal tag %d (wire type %d)", fieldNum, wire) 91154 } 91155 switch fieldNum { 91156 case 1: 91157 if wireType != 2 { 91158 return fmt.Errorf("proto: wrong wireType = %d for field OIDCConnectors", wireType) 91159 } 91160 var msglen int 91161 for shift := uint(0); ; shift += 7 { 91162 if shift >= 64 { 91163 return ErrIntOverflowTypes 91164 } 91165 if iNdEx >= l { 91166 return io.ErrUnexpectedEOF 91167 } 91168 b := dAtA[iNdEx] 91169 iNdEx++ 91170 msglen |= int(b&0x7F) << shift 91171 if b < 0x80 { 91172 break 91173 } 91174 } 91175 if msglen < 0 { 91176 return ErrInvalidLengthTypes 91177 } 91178 postIndex := iNdEx + msglen 91179 if postIndex < 0 { 91180 return ErrInvalidLengthTypes 91181 } 91182 if postIndex > l { 91183 return io.ErrUnexpectedEOF 91184 } 91185 m.OIDCConnectors = append(m.OIDCConnectors, &OIDCConnectorV3{}) 91186 if err := m.OIDCConnectors[len(m.OIDCConnectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 91187 return err 91188 } 91189 iNdEx = postIndex 91190 default: 91191 iNdEx = preIndex 91192 skippy, err := skipTypes(dAtA[iNdEx:]) 91193 if err != nil { 91194 return err 91195 } 91196 if (skippy < 0) || (iNdEx+skippy) < 0 { 91197 return ErrInvalidLengthTypes 91198 } 91199 if (iNdEx + skippy) > l { 91200 return io.ErrUnexpectedEOF 91201 } 91202 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 91203 iNdEx += skippy 91204 } 91205 } 91206 91207 if iNdEx > l { 91208 return io.ErrUnexpectedEOF 91209 } 91210 return nil 91211 } 91212 func (m *OIDCConnectorSpecV3) Unmarshal(dAtA []byte) error { 91213 l := len(dAtA) 91214 iNdEx := 0 91215 for iNdEx < l { 91216 preIndex := iNdEx 91217 var wire uint64 91218 for shift := uint(0); ; shift += 7 { 91219 if shift >= 64 { 91220 return ErrIntOverflowTypes 91221 } 91222 if iNdEx >= l { 91223 return io.ErrUnexpectedEOF 91224 } 91225 b := dAtA[iNdEx] 91226 iNdEx++ 91227 wire |= uint64(b&0x7F) << shift 91228 if b < 0x80 { 91229 break 91230 } 91231 } 91232 fieldNum := int32(wire >> 3) 91233 wireType := int(wire & 0x7) 91234 if wireType == 4 { 91235 return fmt.Errorf("proto: OIDCConnectorSpecV3: wiretype end group for non-group") 91236 } 91237 if fieldNum <= 0 { 91238 return fmt.Errorf("proto: OIDCConnectorSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 91239 } 91240 switch fieldNum { 91241 case 1: 91242 if wireType != 2 { 91243 return fmt.Errorf("proto: wrong wireType = %d for field IssuerURL", wireType) 91244 } 91245 var stringLen uint64 91246 for shift := uint(0); ; shift += 7 { 91247 if shift >= 64 { 91248 return ErrIntOverflowTypes 91249 } 91250 if iNdEx >= l { 91251 return io.ErrUnexpectedEOF 91252 } 91253 b := dAtA[iNdEx] 91254 iNdEx++ 91255 stringLen |= uint64(b&0x7F) << shift 91256 if b < 0x80 { 91257 break 91258 } 91259 } 91260 intStringLen := int(stringLen) 91261 if intStringLen < 0 { 91262 return ErrInvalidLengthTypes 91263 } 91264 postIndex := iNdEx + intStringLen 91265 if postIndex < 0 { 91266 return ErrInvalidLengthTypes 91267 } 91268 if postIndex > l { 91269 return io.ErrUnexpectedEOF 91270 } 91271 m.IssuerURL = string(dAtA[iNdEx:postIndex]) 91272 iNdEx = postIndex 91273 case 2: 91274 if wireType != 2 { 91275 return fmt.Errorf("proto: wrong wireType = %d for field ClientID", wireType) 91276 } 91277 var stringLen uint64 91278 for shift := uint(0); ; shift += 7 { 91279 if shift >= 64 { 91280 return ErrIntOverflowTypes 91281 } 91282 if iNdEx >= l { 91283 return io.ErrUnexpectedEOF 91284 } 91285 b := dAtA[iNdEx] 91286 iNdEx++ 91287 stringLen |= uint64(b&0x7F) << shift 91288 if b < 0x80 { 91289 break 91290 } 91291 } 91292 intStringLen := int(stringLen) 91293 if intStringLen < 0 { 91294 return ErrInvalidLengthTypes 91295 } 91296 postIndex := iNdEx + intStringLen 91297 if postIndex < 0 { 91298 return ErrInvalidLengthTypes 91299 } 91300 if postIndex > l { 91301 return io.ErrUnexpectedEOF 91302 } 91303 m.ClientID = string(dAtA[iNdEx:postIndex]) 91304 iNdEx = postIndex 91305 case 3: 91306 if wireType != 2 { 91307 return fmt.Errorf("proto: wrong wireType = %d for field ClientSecret", wireType) 91308 } 91309 var stringLen uint64 91310 for shift := uint(0); ; shift += 7 { 91311 if shift >= 64 { 91312 return ErrIntOverflowTypes 91313 } 91314 if iNdEx >= l { 91315 return io.ErrUnexpectedEOF 91316 } 91317 b := dAtA[iNdEx] 91318 iNdEx++ 91319 stringLen |= uint64(b&0x7F) << shift 91320 if b < 0x80 { 91321 break 91322 } 91323 } 91324 intStringLen := int(stringLen) 91325 if intStringLen < 0 { 91326 return ErrInvalidLengthTypes 91327 } 91328 postIndex := iNdEx + intStringLen 91329 if postIndex < 0 { 91330 return ErrInvalidLengthTypes 91331 } 91332 if postIndex > l { 91333 return io.ErrUnexpectedEOF 91334 } 91335 m.ClientSecret = string(dAtA[iNdEx:postIndex]) 91336 iNdEx = postIndex 91337 case 5: 91338 if wireType != 2 { 91339 return fmt.Errorf("proto: wrong wireType = %d for field ACR", wireType) 91340 } 91341 var stringLen uint64 91342 for shift := uint(0); ; shift += 7 { 91343 if shift >= 64 { 91344 return ErrIntOverflowTypes 91345 } 91346 if iNdEx >= l { 91347 return io.ErrUnexpectedEOF 91348 } 91349 b := dAtA[iNdEx] 91350 iNdEx++ 91351 stringLen |= uint64(b&0x7F) << shift 91352 if b < 0x80 { 91353 break 91354 } 91355 } 91356 intStringLen := int(stringLen) 91357 if intStringLen < 0 { 91358 return ErrInvalidLengthTypes 91359 } 91360 postIndex := iNdEx + intStringLen 91361 if postIndex < 0 { 91362 return ErrInvalidLengthTypes 91363 } 91364 if postIndex > l { 91365 return io.ErrUnexpectedEOF 91366 } 91367 m.ACR = string(dAtA[iNdEx:postIndex]) 91368 iNdEx = postIndex 91369 case 6: 91370 if wireType != 2 { 91371 return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) 91372 } 91373 var stringLen uint64 91374 for shift := uint(0); ; shift += 7 { 91375 if shift >= 64 { 91376 return ErrIntOverflowTypes 91377 } 91378 if iNdEx >= l { 91379 return io.ErrUnexpectedEOF 91380 } 91381 b := dAtA[iNdEx] 91382 iNdEx++ 91383 stringLen |= uint64(b&0x7F) << shift 91384 if b < 0x80 { 91385 break 91386 } 91387 } 91388 intStringLen := int(stringLen) 91389 if intStringLen < 0 { 91390 return ErrInvalidLengthTypes 91391 } 91392 postIndex := iNdEx + intStringLen 91393 if postIndex < 0 { 91394 return ErrInvalidLengthTypes 91395 } 91396 if postIndex > l { 91397 return io.ErrUnexpectedEOF 91398 } 91399 m.Provider = string(dAtA[iNdEx:postIndex]) 91400 iNdEx = postIndex 91401 case 7: 91402 if wireType != 2 { 91403 return fmt.Errorf("proto: wrong wireType = %d for field Display", wireType) 91404 } 91405 var stringLen uint64 91406 for shift := uint(0); ; shift += 7 { 91407 if shift >= 64 { 91408 return ErrIntOverflowTypes 91409 } 91410 if iNdEx >= l { 91411 return io.ErrUnexpectedEOF 91412 } 91413 b := dAtA[iNdEx] 91414 iNdEx++ 91415 stringLen |= uint64(b&0x7F) << shift 91416 if b < 0x80 { 91417 break 91418 } 91419 } 91420 intStringLen := int(stringLen) 91421 if intStringLen < 0 { 91422 return ErrInvalidLengthTypes 91423 } 91424 postIndex := iNdEx + intStringLen 91425 if postIndex < 0 { 91426 return ErrInvalidLengthTypes 91427 } 91428 if postIndex > l { 91429 return io.ErrUnexpectedEOF 91430 } 91431 m.Display = string(dAtA[iNdEx:postIndex]) 91432 iNdEx = postIndex 91433 case 8: 91434 if wireType != 2 { 91435 return fmt.Errorf("proto: wrong wireType = %d for field Scope", wireType) 91436 } 91437 var stringLen uint64 91438 for shift := uint(0); ; shift += 7 { 91439 if shift >= 64 { 91440 return ErrIntOverflowTypes 91441 } 91442 if iNdEx >= l { 91443 return io.ErrUnexpectedEOF 91444 } 91445 b := dAtA[iNdEx] 91446 iNdEx++ 91447 stringLen |= uint64(b&0x7F) << shift 91448 if b < 0x80 { 91449 break 91450 } 91451 } 91452 intStringLen := int(stringLen) 91453 if intStringLen < 0 { 91454 return ErrInvalidLengthTypes 91455 } 91456 postIndex := iNdEx + intStringLen 91457 if postIndex < 0 { 91458 return ErrInvalidLengthTypes 91459 } 91460 if postIndex > l { 91461 return io.ErrUnexpectedEOF 91462 } 91463 m.Scope = append(m.Scope, string(dAtA[iNdEx:postIndex])) 91464 iNdEx = postIndex 91465 case 9: 91466 if wireType != 2 { 91467 return fmt.Errorf("proto: wrong wireType = %d for field Prompt", wireType) 91468 } 91469 var stringLen uint64 91470 for shift := uint(0); ; shift += 7 { 91471 if shift >= 64 { 91472 return ErrIntOverflowTypes 91473 } 91474 if iNdEx >= l { 91475 return io.ErrUnexpectedEOF 91476 } 91477 b := dAtA[iNdEx] 91478 iNdEx++ 91479 stringLen |= uint64(b&0x7F) << shift 91480 if b < 0x80 { 91481 break 91482 } 91483 } 91484 intStringLen := int(stringLen) 91485 if intStringLen < 0 { 91486 return ErrInvalidLengthTypes 91487 } 91488 postIndex := iNdEx + intStringLen 91489 if postIndex < 0 { 91490 return ErrInvalidLengthTypes 91491 } 91492 if postIndex > l { 91493 return io.ErrUnexpectedEOF 91494 } 91495 m.Prompt = string(dAtA[iNdEx:postIndex]) 91496 iNdEx = postIndex 91497 case 10: 91498 if wireType != 2 { 91499 return fmt.Errorf("proto: wrong wireType = %d for field ClaimsToRoles", wireType) 91500 } 91501 var msglen int 91502 for shift := uint(0); ; shift += 7 { 91503 if shift >= 64 { 91504 return ErrIntOverflowTypes 91505 } 91506 if iNdEx >= l { 91507 return io.ErrUnexpectedEOF 91508 } 91509 b := dAtA[iNdEx] 91510 iNdEx++ 91511 msglen |= int(b&0x7F) << shift 91512 if b < 0x80 { 91513 break 91514 } 91515 } 91516 if msglen < 0 { 91517 return ErrInvalidLengthTypes 91518 } 91519 postIndex := iNdEx + msglen 91520 if postIndex < 0 { 91521 return ErrInvalidLengthTypes 91522 } 91523 if postIndex > l { 91524 return io.ErrUnexpectedEOF 91525 } 91526 m.ClaimsToRoles = append(m.ClaimsToRoles, ClaimMapping{}) 91527 if err := m.ClaimsToRoles[len(m.ClaimsToRoles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 91528 return err 91529 } 91530 iNdEx = postIndex 91531 case 11: 91532 if wireType != 2 { 91533 return fmt.Errorf("proto: wrong wireType = %d for field GoogleServiceAccountURI", wireType) 91534 } 91535 var stringLen uint64 91536 for shift := uint(0); ; shift += 7 { 91537 if shift >= 64 { 91538 return ErrIntOverflowTypes 91539 } 91540 if iNdEx >= l { 91541 return io.ErrUnexpectedEOF 91542 } 91543 b := dAtA[iNdEx] 91544 iNdEx++ 91545 stringLen |= uint64(b&0x7F) << shift 91546 if b < 0x80 { 91547 break 91548 } 91549 } 91550 intStringLen := int(stringLen) 91551 if intStringLen < 0 { 91552 return ErrInvalidLengthTypes 91553 } 91554 postIndex := iNdEx + intStringLen 91555 if postIndex < 0 { 91556 return ErrInvalidLengthTypes 91557 } 91558 if postIndex > l { 91559 return io.ErrUnexpectedEOF 91560 } 91561 m.GoogleServiceAccountURI = string(dAtA[iNdEx:postIndex]) 91562 iNdEx = postIndex 91563 case 12: 91564 if wireType != 2 { 91565 return fmt.Errorf("proto: wrong wireType = %d for field GoogleServiceAccount", wireType) 91566 } 91567 var stringLen uint64 91568 for shift := uint(0); ; shift += 7 { 91569 if shift >= 64 { 91570 return ErrIntOverflowTypes 91571 } 91572 if iNdEx >= l { 91573 return io.ErrUnexpectedEOF 91574 } 91575 b := dAtA[iNdEx] 91576 iNdEx++ 91577 stringLen |= uint64(b&0x7F) << shift 91578 if b < 0x80 { 91579 break 91580 } 91581 } 91582 intStringLen := int(stringLen) 91583 if intStringLen < 0 { 91584 return ErrInvalidLengthTypes 91585 } 91586 postIndex := iNdEx + intStringLen 91587 if postIndex < 0 { 91588 return ErrInvalidLengthTypes 91589 } 91590 if postIndex > l { 91591 return io.ErrUnexpectedEOF 91592 } 91593 m.GoogleServiceAccount = string(dAtA[iNdEx:postIndex]) 91594 iNdEx = postIndex 91595 case 13: 91596 if wireType != 2 { 91597 return fmt.Errorf("proto: wrong wireType = %d for field GoogleAdminEmail", wireType) 91598 } 91599 var stringLen uint64 91600 for shift := uint(0); ; shift += 7 { 91601 if shift >= 64 { 91602 return ErrIntOverflowTypes 91603 } 91604 if iNdEx >= l { 91605 return io.ErrUnexpectedEOF 91606 } 91607 b := dAtA[iNdEx] 91608 iNdEx++ 91609 stringLen |= uint64(b&0x7F) << shift 91610 if b < 0x80 { 91611 break 91612 } 91613 } 91614 intStringLen := int(stringLen) 91615 if intStringLen < 0 { 91616 return ErrInvalidLengthTypes 91617 } 91618 postIndex := iNdEx + intStringLen 91619 if postIndex < 0 { 91620 return ErrInvalidLengthTypes 91621 } 91622 if postIndex > l { 91623 return io.ErrUnexpectedEOF 91624 } 91625 m.GoogleAdminEmail = string(dAtA[iNdEx:postIndex]) 91626 iNdEx = postIndex 91627 case 14: 91628 if wireType != 2 { 91629 return fmt.Errorf("proto: wrong wireType = %d for field RedirectURLs", wireType) 91630 } 91631 var msglen int 91632 for shift := uint(0); ; shift += 7 { 91633 if shift >= 64 { 91634 return ErrIntOverflowTypes 91635 } 91636 if iNdEx >= l { 91637 return io.ErrUnexpectedEOF 91638 } 91639 b := dAtA[iNdEx] 91640 iNdEx++ 91641 msglen |= int(b&0x7F) << shift 91642 if b < 0x80 { 91643 break 91644 } 91645 } 91646 if msglen < 0 { 91647 return ErrInvalidLengthTypes 91648 } 91649 postIndex := iNdEx + msglen 91650 if postIndex < 0 { 91651 return ErrInvalidLengthTypes 91652 } 91653 if postIndex > l { 91654 return io.ErrUnexpectedEOF 91655 } 91656 if err := m.RedirectURLs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 91657 return err 91658 } 91659 iNdEx = postIndex 91660 case 15: 91661 if wireType != 0 { 91662 return fmt.Errorf("proto: wrong wireType = %d for field AllowUnverifiedEmail", wireType) 91663 } 91664 var v int 91665 for shift := uint(0); ; shift += 7 { 91666 if shift >= 64 { 91667 return ErrIntOverflowTypes 91668 } 91669 if iNdEx >= l { 91670 return io.ErrUnexpectedEOF 91671 } 91672 b := dAtA[iNdEx] 91673 iNdEx++ 91674 v |= int(b&0x7F) << shift 91675 if b < 0x80 { 91676 break 91677 } 91678 } 91679 m.AllowUnverifiedEmail = bool(v != 0) 91680 case 16: 91681 if wireType != 2 { 91682 return fmt.Errorf("proto: wrong wireType = %d for field UsernameClaim", wireType) 91683 } 91684 var stringLen uint64 91685 for shift := uint(0); ; shift += 7 { 91686 if shift >= 64 { 91687 return ErrIntOverflowTypes 91688 } 91689 if iNdEx >= l { 91690 return io.ErrUnexpectedEOF 91691 } 91692 b := dAtA[iNdEx] 91693 iNdEx++ 91694 stringLen |= uint64(b&0x7F) << shift 91695 if b < 0x80 { 91696 break 91697 } 91698 } 91699 intStringLen := int(stringLen) 91700 if intStringLen < 0 { 91701 return ErrInvalidLengthTypes 91702 } 91703 postIndex := iNdEx + intStringLen 91704 if postIndex < 0 { 91705 return ErrInvalidLengthTypes 91706 } 91707 if postIndex > l { 91708 return io.ErrUnexpectedEOF 91709 } 91710 m.UsernameClaim = string(dAtA[iNdEx:postIndex]) 91711 iNdEx = postIndex 91712 case 17: 91713 if wireType != 2 { 91714 return fmt.Errorf("proto: wrong wireType = %d for field MaxAge", wireType) 91715 } 91716 var msglen int 91717 for shift := uint(0); ; shift += 7 { 91718 if shift >= 64 { 91719 return ErrIntOverflowTypes 91720 } 91721 if iNdEx >= l { 91722 return io.ErrUnexpectedEOF 91723 } 91724 b := dAtA[iNdEx] 91725 iNdEx++ 91726 msglen |= int(b&0x7F) << shift 91727 if b < 0x80 { 91728 break 91729 } 91730 } 91731 if msglen < 0 { 91732 return ErrInvalidLengthTypes 91733 } 91734 postIndex := iNdEx + msglen 91735 if postIndex < 0 { 91736 return ErrInvalidLengthTypes 91737 } 91738 if postIndex > l { 91739 return io.ErrUnexpectedEOF 91740 } 91741 if m.MaxAge == nil { 91742 m.MaxAge = &MaxAge{} 91743 } 91744 if err := m.MaxAge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 91745 return err 91746 } 91747 iNdEx = postIndex 91748 default: 91749 iNdEx = preIndex 91750 skippy, err := skipTypes(dAtA[iNdEx:]) 91751 if err != nil { 91752 return err 91753 } 91754 if (skippy < 0) || (iNdEx+skippy) < 0 { 91755 return ErrInvalidLengthTypes 91756 } 91757 if (iNdEx + skippy) > l { 91758 return io.ErrUnexpectedEOF 91759 } 91760 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 91761 iNdEx += skippy 91762 } 91763 } 91764 91765 if iNdEx > l { 91766 return io.ErrUnexpectedEOF 91767 } 91768 return nil 91769 } 91770 func (m *MaxAge) Unmarshal(dAtA []byte) error { 91771 l := len(dAtA) 91772 iNdEx := 0 91773 for iNdEx < l { 91774 preIndex := iNdEx 91775 var wire uint64 91776 for shift := uint(0); ; shift += 7 { 91777 if shift >= 64 { 91778 return ErrIntOverflowTypes 91779 } 91780 if iNdEx >= l { 91781 return io.ErrUnexpectedEOF 91782 } 91783 b := dAtA[iNdEx] 91784 iNdEx++ 91785 wire |= uint64(b&0x7F) << shift 91786 if b < 0x80 { 91787 break 91788 } 91789 } 91790 fieldNum := int32(wire >> 3) 91791 wireType := int(wire & 0x7) 91792 if wireType == 4 { 91793 return fmt.Errorf("proto: MaxAge: wiretype end group for non-group") 91794 } 91795 if fieldNum <= 0 { 91796 return fmt.Errorf("proto: MaxAge: illegal tag %d (wire type %d)", fieldNum, wire) 91797 } 91798 switch fieldNum { 91799 case 1: 91800 if wireType != 0 { 91801 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 91802 } 91803 m.Value = 0 91804 for shift := uint(0); ; shift += 7 { 91805 if shift >= 64 { 91806 return ErrIntOverflowTypes 91807 } 91808 if iNdEx >= l { 91809 return io.ErrUnexpectedEOF 91810 } 91811 b := dAtA[iNdEx] 91812 iNdEx++ 91813 m.Value |= Duration(b&0x7F) << shift 91814 if b < 0x80 { 91815 break 91816 } 91817 } 91818 default: 91819 iNdEx = preIndex 91820 skippy, err := skipTypes(dAtA[iNdEx:]) 91821 if err != nil { 91822 return err 91823 } 91824 if (skippy < 0) || (iNdEx+skippy) < 0 { 91825 return ErrInvalidLengthTypes 91826 } 91827 if (iNdEx + skippy) > l { 91828 return io.ErrUnexpectedEOF 91829 } 91830 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 91831 iNdEx += skippy 91832 } 91833 } 91834 91835 if iNdEx > l { 91836 return io.ErrUnexpectedEOF 91837 } 91838 return nil 91839 } 91840 func (m *OIDCAuthRequest) Unmarshal(dAtA []byte) error { 91841 l := len(dAtA) 91842 iNdEx := 0 91843 for iNdEx < l { 91844 preIndex := iNdEx 91845 var wire uint64 91846 for shift := uint(0); ; shift += 7 { 91847 if shift >= 64 { 91848 return ErrIntOverflowTypes 91849 } 91850 if iNdEx >= l { 91851 return io.ErrUnexpectedEOF 91852 } 91853 b := dAtA[iNdEx] 91854 iNdEx++ 91855 wire |= uint64(b&0x7F) << shift 91856 if b < 0x80 { 91857 break 91858 } 91859 } 91860 fieldNum := int32(wire >> 3) 91861 wireType := int(wire & 0x7) 91862 if wireType == 4 { 91863 return fmt.Errorf("proto: OIDCAuthRequest: wiretype end group for non-group") 91864 } 91865 if fieldNum <= 0 { 91866 return fmt.Errorf("proto: OIDCAuthRequest: illegal tag %d (wire type %d)", fieldNum, wire) 91867 } 91868 switch fieldNum { 91869 case 1: 91870 if wireType != 2 { 91871 return fmt.Errorf("proto: wrong wireType = %d for field ConnectorID", wireType) 91872 } 91873 var stringLen uint64 91874 for shift := uint(0); ; shift += 7 { 91875 if shift >= 64 { 91876 return ErrIntOverflowTypes 91877 } 91878 if iNdEx >= l { 91879 return io.ErrUnexpectedEOF 91880 } 91881 b := dAtA[iNdEx] 91882 iNdEx++ 91883 stringLen |= uint64(b&0x7F) << shift 91884 if b < 0x80 { 91885 break 91886 } 91887 } 91888 intStringLen := int(stringLen) 91889 if intStringLen < 0 { 91890 return ErrInvalidLengthTypes 91891 } 91892 postIndex := iNdEx + intStringLen 91893 if postIndex < 0 { 91894 return ErrInvalidLengthTypes 91895 } 91896 if postIndex > l { 91897 return io.ErrUnexpectedEOF 91898 } 91899 m.ConnectorID = string(dAtA[iNdEx:postIndex]) 91900 iNdEx = postIndex 91901 case 2: 91902 if wireType != 2 { 91903 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 91904 } 91905 var stringLen uint64 91906 for shift := uint(0); ; shift += 7 { 91907 if shift >= 64 { 91908 return ErrIntOverflowTypes 91909 } 91910 if iNdEx >= l { 91911 return io.ErrUnexpectedEOF 91912 } 91913 b := dAtA[iNdEx] 91914 iNdEx++ 91915 stringLen |= uint64(b&0x7F) << shift 91916 if b < 0x80 { 91917 break 91918 } 91919 } 91920 intStringLen := int(stringLen) 91921 if intStringLen < 0 { 91922 return ErrInvalidLengthTypes 91923 } 91924 postIndex := iNdEx + intStringLen 91925 if postIndex < 0 { 91926 return ErrInvalidLengthTypes 91927 } 91928 if postIndex > l { 91929 return io.ErrUnexpectedEOF 91930 } 91931 m.Type = string(dAtA[iNdEx:postIndex]) 91932 iNdEx = postIndex 91933 case 3: 91934 if wireType != 0 { 91935 return fmt.Errorf("proto: wrong wireType = %d for field CheckUser", wireType) 91936 } 91937 var v int 91938 for shift := uint(0); ; shift += 7 { 91939 if shift >= 64 { 91940 return ErrIntOverflowTypes 91941 } 91942 if iNdEx >= l { 91943 return io.ErrUnexpectedEOF 91944 } 91945 b := dAtA[iNdEx] 91946 iNdEx++ 91947 v |= int(b&0x7F) << shift 91948 if b < 0x80 { 91949 break 91950 } 91951 } 91952 m.CheckUser = bool(v != 0) 91953 case 4: 91954 if wireType != 2 { 91955 return fmt.Errorf("proto: wrong wireType = %d for field StateToken", wireType) 91956 } 91957 var stringLen uint64 91958 for shift := uint(0); ; shift += 7 { 91959 if shift >= 64 { 91960 return ErrIntOverflowTypes 91961 } 91962 if iNdEx >= l { 91963 return io.ErrUnexpectedEOF 91964 } 91965 b := dAtA[iNdEx] 91966 iNdEx++ 91967 stringLen |= uint64(b&0x7F) << shift 91968 if b < 0x80 { 91969 break 91970 } 91971 } 91972 intStringLen := int(stringLen) 91973 if intStringLen < 0 { 91974 return ErrInvalidLengthTypes 91975 } 91976 postIndex := iNdEx + intStringLen 91977 if postIndex < 0 { 91978 return ErrInvalidLengthTypes 91979 } 91980 if postIndex > l { 91981 return io.ErrUnexpectedEOF 91982 } 91983 m.StateToken = string(dAtA[iNdEx:postIndex]) 91984 iNdEx = postIndex 91985 case 5: 91986 if wireType != 2 { 91987 return fmt.Errorf("proto: wrong wireType = %d for field CSRFToken", wireType) 91988 } 91989 var stringLen uint64 91990 for shift := uint(0); ; shift += 7 { 91991 if shift >= 64 { 91992 return ErrIntOverflowTypes 91993 } 91994 if iNdEx >= l { 91995 return io.ErrUnexpectedEOF 91996 } 91997 b := dAtA[iNdEx] 91998 iNdEx++ 91999 stringLen |= uint64(b&0x7F) << shift 92000 if b < 0x80 { 92001 break 92002 } 92003 } 92004 intStringLen := int(stringLen) 92005 if intStringLen < 0 { 92006 return ErrInvalidLengthTypes 92007 } 92008 postIndex := iNdEx + intStringLen 92009 if postIndex < 0 { 92010 return ErrInvalidLengthTypes 92011 } 92012 if postIndex > l { 92013 return io.ErrUnexpectedEOF 92014 } 92015 m.CSRFToken = string(dAtA[iNdEx:postIndex]) 92016 iNdEx = postIndex 92017 case 6: 92018 if wireType != 2 { 92019 return fmt.Errorf("proto: wrong wireType = %d for field RedirectURL", wireType) 92020 } 92021 var stringLen uint64 92022 for shift := uint(0); ; shift += 7 { 92023 if shift >= 64 { 92024 return ErrIntOverflowTypes 92025 } 92026 if iNdEx >= l { 92027 return io.ErrUnexpectedEOF 92028 } 92029 b := dAtA[iNdEx] 92030 iNdEx++ 92031 stringLen |= uint64(b&0x7F) << shift 92032 if b < 0x80 { 92033 break 92034 } 92035 } 92036 intStringLen := int(stringLen) 92037 if intStringLen < 0 { 92038 return ErrInvalidLengthTypes 92039 } 92040 postIndex := iNdEx + intStringLen 92041 if postIndex < 0 { 92042 return ErrInvalidLengthTypes 92043 } 92044 if postIndex > l { 92045 return io.ErrUnexpectedEOF 92046 } 92047 m.RedirectURL = string(dAtA[iNdEx:postIndex]) 92048 iNdEx = postIndex 92049 case 7: 92050 if wireType != 2 { 92051 return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) 92052 } 92053 var byteLen int 92054 for shift := uint(0); ; shift += 7 { 92055 if shift >= 64 { 92056 return ErrIntOverflowTypes 92057 } 92058 if iNdEx >= l { 92059 return io.ErrUnexpectedEOF 92060 } 92061 b := dAtA[iNdEx] 92062 iNdEx++ 92063 byteLen |= int(b&0x7F) << shift 92064 if b < 0x80 { 92065 break 92066 } 92067 } 92068 if byteLen < 0 { 92069 return ErrInvalidLengthTypes 92070 } 92071 postIndex := iNdEx + byteLen 92072 if postIndex < 0 { 92073 return ErrInvalidLengthTypes 92074 } 92075 if postIndex > l { 92076 return io.ErrUnexpectedEOF 92077 } 92078 m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) 92079 if m.PublicKey == nil { 92080 m.PublicKey = []byte{} 92081 } 92082 iNdEx = postIndex 92083 case 8: 92084 if wireType != 0 { 92085 return fmt.Errorf("proto: wrong wireType = %d for field CertTTL", wireType) 92086 } 92087 m.CertTTL = 0 92088 for shift := uint(0); ; shift += 7 { 92089 if shift >= 64 { 92090 return ErrIntOverflowTypes 92091 } 92092 if iNdEx >= l { 92093 return io.ErrUnexpectedEOF 92094 } 92095 b := dAtA[iNdEx] 92096 iNdEx++ 92097 m.CertTTL |= time.Duration(b&0x7F) << shift 92098 if b < 0x80 { 92099 break 92100 } 92101 } 92102 case 9: 92103 if wireType != 0 { 92104 return fmt.Errorf("proto: wrong wireType = %d for field CreateWebSession", wireType) 92105 } 92106 var v int 92107 for shift := uint(0); ; shift += 7 { 92108 if shift >= 64 { 92109 return ErrIntOverflowTypes 92110 } 92111 if iNdEx >= l { 92112 return io.ErrUnexpectedEOF 92113 } 92114 b := dAtA[iNdEx] 92115 iNdEx++ 92116 v |= int(b&0x7F) << shift 92117 if b < 0x80 { 92118 break 92119 } 92120 } 92121 m.CreateWebSession = bool(v != 0) 92122 case 10: 92123 if wireType != 2 { 92124 return fmt.Errorf("proto: wrong wireType = %d for field ClientRedirectURL", wireType) 92125 } 92126 var stringLen uint64 92127 for shift := uint(0); ; shift += 7 { 92128 if shift >= 64 { 92129 return ErrIntOverflowTypes 92130 } 92131 if iNdEx >= l { 92132 return io.ErrUnexpectedEOF 92133 } 92134 b := dAtA[iNdEx] 92135 iNdEx++ 92136 stringLen |= uint64(b&0x7F) << shift 92137 if b < 0x80 { 92138 break 92139 } 92140 } 92141 intStringLen := int(stringLen) 92142 if intStringLen < 0 { 92143 return ErrInvalidLengthTypes 92144 } 92145 postIndex := iNdEx + intStringLen 92146 if postIndex < 0 { 92147 return ErrInvalidLengthTypes 92148 } 92149 if postIndex > l { 92150 return io.ErrUnexpectedEOF 92151 } 92152 m.ClientRedirectURL = string(dAtA[iNdEx:postIndex]) 92153 iNdEx = postIndex 92154 case 11: 92155 if wireType != 2 { 92156 return fmt.Errorf("proto: wrong wireType = %d for field Compatibility", wireType) 92157 } 92158 var stringLen uint64 92159 for shift := uint(0); ; shift += 7 { 92160 if shift >= 64 { 92161 return ErrIntOverflowTypes 92162 } 92163 if iNdEx >= l { 92164 return io.ErrUnexpectedEOF 92165 } 92166 b := dAtA[iNdEx] 92167 iNdEx++ 92168 stringLen |= uint64(b&0x7F) << shift 92169 if b < 0x80 { 92170 break 92171 } 92172 } 92173 intStringLen := int(stringLen) 92174 if intStringLen < 0 { 92175 return ErrInvalidLengthTypes 92176 } 92177 postIndex := iNdEx + intStringLen 92178 if postIndex < 0 { 92179 return ErrInvalidLengthTypes 92180 } 92181 if postIndex > l { 92182 return io.ErrUnexpectedEOF 92183 } 92184 m.Compatibility = string(dAtA[iNdEx:postIndex]) 92185 iNdEx = postIndex 92186 case 12: 92187 if wireType != 2 { 92188 return fmt.Errorf("proto: wrong wireType = %d for field RouteToCluster", wireType) 92189 } 92190 var stringLen uint64 92191 for shift := uint(0); ; shift += 7 { 92192 if shift >= 64 { 92193 return ErrIntOverflowTypes 92194 } 92195 if iNdEx >= l { 92196 return io.ErrUnexpectedEOF 92197 } 92198 b := dAtA[iNdEx] 92199 iNdEx++ 92200 stringLen |= uint64(b&0x7F) << shift 92201 if b < 0x80 { 92202 break 92203 } 92204 } 92205 intStringLen := int(stringLen) 92206 if intStringLen < 0 { 92207 return ErrInvalidLengthTypes 92208 } 92209 postIndex := iNdEx + intStringLen 92210 if postIndex < 0 { 92211 return ErrInvalidLengthTypes 92212 } 92213 if postIndex > l { 92214 return io.ErrUnexpectedEOF 92215 } 92216 m.RouteToCluster = string(dAtA[iNdEx:postIndex]) 92217 iNdEx = postIndex 92218 case 13: 92219 if wireType != 2 { 92220 return fmt.Errorf("proto: wrong wireType = %d for field KubernetesCluster", wireType) 92221 } 92222 var stringLen uint64 92223 for shift := uint(0); ; shift += 7 { 92224 if shift >= 64 { 92225 return ErrIntOverflowTypes 92226 } 92227 if iNdEx >= l { 92228 return io.ErrUnexpectedEOF 92229 } 92230 b := dAtA[iNdEx] 92231 iNdEx++ 92232 stringLen |= uint64(b&0x7F) << shift 92233 if b < 0x80 { 92234 break 92235 } 92236 } 92237 intStringLen := int(stringLen) 92238 if intStringLen < 0 { 92239 return ErrInvalidLengthTypes 92240 } 92241 postIndex := iNdEx + intStringLen 92242 if postIndex < 0 { 92243 return ErrInvalidLengthTypes 92244 } 92245 if postIndex > l { 92246 return io.ErrUnexpectedEOF 92247 } 92248 m.KubernetesCluster = string(dAtA[iNdEx:postIndex]) 92249 iNdEx = postIndex 92250 case 14: 92251 if wireType != 0 { 92252 return fmt.Errorf("proto: wrong wireType = %d for field SSOTestFlow", wireType) 92253 } 92254 var v int 92255 for shift := uint(0); ; shift += 7 { 92256 if shift >= 64 { 92257 return ErrIntOverflowTypes 92258 } 92259 if iNdEx >= l { 92260 return io.ErrUnexpectedEOF 92261 } 92262 b := dAtA[iNdEx] 92263 iNdEx++ 92264 v |= int(b&0x7F) << shift 92265 if b < 0x80 { 92266 break 92267 } 92268 } 92269 m.SSOTestFlow = bool(v != 0) 92270 case 15: 92271 if wireType != 2 { 92272 return fmt.Errorf("proto: wrong wireType = %d for field ConnectorSpec", wireType) 92273 } 92274 var msglen int 92275 for shift := uint(0); ; shift += 7 { 92276 if shift >= 64 { 92277 return ErrIntOverflowTypes 92278 } 92279 if iNdEx >= l { 92280 return io.ErrUnexpectedEOF 92281 } 92282 b := dAtA[iNdEx] 92283 iNdEx++ 92284 msglen |= int(b&0x7F) << shift 92285 if b < 0x80 { 92286 break 92287 } 92288 } 92289 if msglen < 0 { 92290 return ErrInvalidLengthTypes 92291 } 92292 postIndex := iNdEx + msglen 92293 if postIndex < 0 { 92294 return ErrInvalidLengthTypes 92295 } 92296 if postIndex > l { 92297 return io.ErrUnexpectedEOF 92298 } 92299 if m.ConnectorSpec == nil { 92300 m.ConnectorSpec = &OIDCConnectorSpecV3{} 92301 } 92302 if err := m.ConnectorSpec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 92303 return err 92304 } 92305 iNdEx = postIndex 92306 case 16: 92307 if wireType != 2 { 92308 return fmt.Errorf("proto: wrong wireType = %d for field ProxyAddress", wireType) 92309 } 92310 var stringLen uint64 92311 for shift := uint(0); ; shift += 7 { 92312 if shift >= 64 { 92313 return ErrIntOverflowTypes 92314 } 92315 if iNdEx >= l { 92316 return io.ErrUnexpectedEOF 92317 } 92318 b := dAtA[iNdEx] 92319 iNdEx++ 92320 stringLen |= uint64(b&0x7F) << shift 92321 if b < 0x80 { 92322 break 92323 } 92324 } 92325 intStringLen := int(stringLen) 92326 if intStringLen < 0 { 92327 return ErrInvalidLengthTypes 92328 } 92329 postIndex := iNdEx + intStringLen 92330 if postIndex < 0 { 92331 return ErrInvalidLengthTypes 92332 } 92333 if postIndex > l { 92334 return io.ErrUnexpectedEOF 92335 } 92336 m.ProxyAddress = string(dAtA[iNdEx:postIndex]) 92337 iNdEx = postIndex 92338 case 17: 92339 if wireType != 2 { 92340 return fmt.Errorf("proto: wrong wireType = %d for field AttestationStatement", wireType) 92341 } 92342 var msglen int 92343 for shift := uint(0); ; shift += 7 { 92344 if shift >= 64 { 92345 return ErrIntOverflowTypes 92346 } 92347 if iNdEx >= l { 92348 return io.ErrUnexpectedEOF 92349 } 92350 b := dAtA[iNdEx] 92351 iNdEx++ 92352 msglen |= int(b&0x7F) << shift 92353 if b < 0x80 { 92354 break 92355 } 92356 } 92357 if msglen < 0 { 92358 return ErrInvalidLengthTypes 92359 } 92360 postIndex := iNdEx + msglen 92361 if postIndex < 0 { 92362 return ErrInvalidLengthTypes 92363 } 92364 if postIndex > l { 92365 return io.ErrUnexpectedEOF 92366 } 92367 if m.AttestationStatement == nil { 92368 m.AttestationStatement = &v1.AttestationStatement{} 92369 } 92370 if err := m.AttestationStatement.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 92371 return err 92372 } 92373 iNdEx = postIndex 92374 case 18: 92375 if wireType != 2 { 92376 return fmt.Errorf("proto: wrong wireType = %d for field ClientLoginIP", wireType) 92377 } 92378 var stringLen uint64 92379 for shift := uint(0); ; shift += 7 { 92380 if shift >= 64 { 92381 return ErrIntOverflowTypes 92382 } 92383 if iNdEx >= l { 92384 return io.ErrUnexpectedEOF 92385 } 92386 b := dAtA[iNdEx] 92387 iNdEx++ 92388 stringLen |= uint64(b&0x7F) << shift 92389 if b < 0x80 { 92390 break 92391 } 92392 } 92393 intStringLen := int(stringLen) 92394 if intStringLen < 0 { 92395 return ErrInvalidLengthTypes 92396 } 92397 postIndex := iNdEx + intStringLen 92398 if postIndex < 0 { 92399 return ErrInvalidLengthTypes 92400 } 92401 if postIndex > l { 92402 return io.ErrUnexpectedEOF 92403 } 92404 m.ClientLoginIP = string(dAtA[iNdEx:postIndex]) 92405 iNdEx = postIndex 92406 default: 92407 iNdEx = preIndex 92408 skippy, err := skipTypes(dAtA[iNdEx:]) 92409 if err != nil { 92410 return err 92411 } 92412 if (skippy < 0) || (iNdEx+skippy) < 0 { 92413 return ErrInvalidLengthTypes 92414 } 92415 if (iNdEx + skippy) > l { 92416 return io.ErrUnexpectedEOF 92417 } 92418 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 92419 iNdEx += skippy 92420 } 92421 } 92422 92423 if iNdEx > l { 92424 return io.ErrUnexpectedEOF 92425 } 92426 return nil 92427 } 92428 func (m *SAMLConnectorV2) Unmarshal(dAtA []byte) error { 92429 l := len(dAtA) 92430 iNdEx := 0 92431 for iNdEx < l { 92432 preIndex := iNdEx 92433 var wire uint64 92434 for shift := uint(0); ; shift += 7 { 92435 if shift >= 64 { 92436 return ErrIntOverflowTypes 92437 } 92438 if iNdEx >= l { 92439 return io.ErrUnexpectedEOF 92440 } 92441 b := dAtA[iNdEx] 92442 iNdEx++ 92443 wire |= uint64(b&0x7F) << shift 92444 if b < 0x80 { 92445 break 92446 } 92447 } 92448 fieldNum := int32(wire >> 3) 92449 wireType := int(wire & 0x7) 92450 if wireType == 4 { 92451 return fmt.Errorf("proto: SAMLConnectorV2: wiretype end group for non-group") 92452 } 92453 if fieldNum <= 0 { 92454 return fmt.Errorf("proto: SAMLConnectorV2: illegal tag %d (wire type %d)", fieldNum, wire) 92455 } 92456 switch fieldNum { 92457 case 1: 92458 if wireType != 2 { 92459 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 92460 } 92461 var stringLen uint64 92462 for shift := uint(0); ; shift += 7 { 92463 if shift >= 64 { 92464 return ErrIntOverflowTypes 92465 } 92466 if iNdEx >= l { 92467 return io.ErrUnexpectedEOF 92468 } 92469 b := dAtA[iNdEx] 92470 iNdEx++ 92471 stringLen |= uint64(b&0x7F) << shift 92472 if b < 0x80 { 92473 break 92474 } 92475 } 92476 intStringLen := int(stringLen) 92477 if intStringLen < 0 { 92478 return ErrInvalidLengthTypes 92479 } 92480 postIndex := iNdEx + intStringLen 92481 if postIndex < 0 { 92482 return ErrInvalidLengthTypes 92483 } 92484 if postIndex > l { 92485 return io.ErrUnexpectedEOF 92486 } 92487 m.Kind = string(dAtA[iNdEx:postIndex]) 92488 iNdEx = postIndex 92489 case 2: 92490 if wireType != 2 { 92491 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 92492 } 92493 var stringLen uint64 92494 for shift := uint(0); ; shift += 7 { 92495 if shift >= 64 { 92496 return ErrIntOverflowTypes 92497 } 92498 if iNdEx >= l { 92499 return io.ErrUnexpectedEOF 92500 } 92501 b := dAtA[iNdEx] 92502 iNdEx++ 92503 stringLen |= uint64(b&0x7F) << shift 92504 if b < 0x80 { 92505 break 92506 } 92507 } 92508 intStringLen := int(stringLen) 92509 if intStringLen < 0 { 92510 return ErrInvalidLengthTypes 92511 } 92512 postIndex := iNdEx + intStringLen 92513 if postIndex < 0 { 92514 return ErrInvalidLengthTypes 92515 } 92516 if postIndex > l { 92517 return io.ErrUnexpectedEOF 92518 } 92519 m.SubKind = string(dAtA[iNdEx:postIndex]) 92520 iNdEx = postIndex 92521 case 3: 92522 if wireType != 2 { 92523 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 92524 } 92525 var stringLen uint64 92526 for shift := uint(0); ; shift += 7 { 92527 if shift >= 64 { 92528 return ErrIntOverflowTypes 92529 } 92530 if iNdEx >= l { 92531 return io.ErrUnexpectedEOF 92532 } 92533 b := dAtA[iNdEx] 92534 iNdEx++ 92535 stringLen |= uint64(b&0x7F) << shift 92536 if b < 0x80 { 92537 break 92538 } 92539 } 92540 intStringLen := int(stringLen) 92541 if intStringLen < 0 { 92542 return ErrInvalidLengthTypes 92543 } 92544 postIndex := iNdEx + intStringLen 92545 if postIndex < 0 { 92546 return ErrInvalidLengthTypes 92547 } 92548 if postIndex > l { 92549 return io.ErrUnexpectedEOF 92550 } 92551 m.Version = string(dAtA[iNdEx:postIndex]) 92552 iNdEx = postIndex 92553 case 4: 92554 if wireType != 2 { 92555 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 92556 } 92557 var msglen int 92558 for shift := uint(0); ; shift += 7 { 92559 if shift >= 64 { 92560 return ErrIntOverflowTypes 92561 } 92562 if iNdEx >= l { 92563 return io.ErrUnexpectedEOF 92564 } 92565 b := dAtA[iNdEx] 92566 iNdEx++ 92567 msglen |= int(b&0x7F) << shift 92568 if b < 0x80 { 92569 break 92570 } 92571 } 92572 if msglen < 0 { 92573 return ErrInvalidLengthTypes 92574 } 92575 postIndex := iNdEx + msglen 92576 if postIndex < 0 { 92577 return ErrInvalidLengthTypes 92578 } 92579 if postIndex > l { 92580 return io.ErrUnexpectedEOF 92581 } 92582 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 92583 return err 92584 } 92585 iNdEx = postIndex 92586 case 5: 92587 if wireType != 2 { 92588 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 92589 } 92590 var msglen int 92591 for shift := uint(0); ; shift += 7 { 92592 if shift >= 64 { 92593 return ErrIntOverflowTypes 92594 } 92595 if iNdEx >= l { 92596 return io.ErrUnexpectedEOF 92597 } 92598 b := dAtA[iNdEx] 92599 iNdEx++ 92600 msglen |= int(b&0x7F) << shift 92601 if b < 0x80 { 92602 break 92603 } 92604 } 92605 if msglen < 0 { 92606 return ErrInvalidLengthTypes 92607 } 92608 postIndex := iNdEx + msglen 92609 if postIndex < 0 { 92610 return ErrInvalidLengthTypes 92611 } 92612 if postIndex > l { 92613 return io.ErrUnexpectedEOF 92614 } 92615 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 92616 return err 92617 } 92618 iNdEx = postIndex 92619 default: 92620 iNdEx = preIndex 92621 skippy, err := skipTypes(dAtA[iNdEx:]) 92622 if err != nil { 92623 return err 92624 } 92625 if (skippy < 0) || (iNdEx+skippy) < 0 { 92626 return ErrInvalidLengthTypes 92627 } 92628 if (iNdEx + skippy) > l { 92629 return io.ErrUnexpectedEOF 92630 } 92631 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 92632 iNdEx += skippy 92633 } 92634 } 92635 92636 if iNdEx > l { 92637 return io.ErrUnexpectedEOF 92638 } 92639 return nil 92640 } 92641 func (m *SAMLConnectorV2List) Unmarshal(dAtA []byte) error { 92642 l := len(dAtA) 92643 iNdEx := 0 92644 for iNdEx < l { 92645 preIndex := iNdEx 92646 var wire uint64 92647 for shift := uint(0); ; shift += 7 { 92648 if shift >= 64 { 92649 return ErrIntOverflowTypes 92650 } 92651 if iNdEx >= l { 92652 return io.ErrUnexpectedEOF 92653 } 92654 b := dAtA[iNdEx] 92655 iNdEx++ 92656 wire |= uint64(b&0x7F) << shift 92657 if b < 0x80 { 92658 break 92659 } 92660 } 92661 fieldNum := int32(wire >> 3) 92662 wireType := int(wire & 0x7) 92663 if wireType == 4 { 92664 return fmt.Errorf("proto: SAMLConnectorV2List: wiretype end group for non-group") 92665 } 92666 if fieldNum <= 0 { 92667 return fmt.Errorf("proto: SAMLConnectorV2List: illegal tag %d (wire type %d)", fieldNum, wire) 92668 } 92669 switch fieldNum { 92670 case 1: 92671 if wireType != 2 { 92672 return fmt.Errorf("proto: wrong wireType = %d for field SAMLConnectors", wireType) 92673 } 92674 var msglen int 92675 for shift := uint(0); ; shift += 7 { 92676 if shift >= 64 { 92677 return ErrIntOverflowTypes 92678 } 92679 if iNdEx >= l { 92680 return io.ErrUnexpectedEOF 92681 } 92682 b := dAtA[iNdEx] 92683 iNdEx++ 92684 msglen |= int(b&0x7F) << shift 92685 if b < 0x80 { 92686 break 92687 } 92688 } 92689 if msglen < 0 { 92690 return ErrInvalidLengthTypes 92691 } 92692 postIndex := iNdEx + msglen 92693 if postIndex < 0 { 92694 return ErrInvalidLengthTypes 92695 } 92696 if postIndex > l { 92697 return io.ErrUnexpectedEOF 92698 } 92699 m.SAMLConnectors = append(m.SAMLConnectors, &SAMLConnectorV2{}) 92700 if err := m.SAMLConnectors[len(m.SAMLConnectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 92701 return err 92702 } 92703 iNdEx = postIndex 92704 default: 92705 iNdEx = preIndex 92706 skippy, err := skipTypes(dAtA[iNdEx:]) 92707 if err != nil { 92708 return err 92709 } 92710 if (skippy < 0) || (iNdEx+skippy) < 0 { 92711 return ErrInvalidLengthTypes 92712 } 92713 if (iNdEx + skippy) > l { 92714 return io.ErrUnexpectedEOF 92715 } 92716 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 92717 iNdEx += skippy 92718 } 92719 } 92720 92721 if iNdEx > l { 92722 return io.ErrUnexpectedEOF 92723 } 92724 return nil 92725 } 92726 func (m *SAMLConnectorSpecV2) Unmarshal(dAtA []byte) error { 92727 l := len(dAtA) 92728 iNdEx := 0 92729 for iNdEx < l { 92730 preIndex := iNdEx 92731 var wire uint64 92732 for shift := uint(0); ; shift += 7 { 92733 if shift >= 64 { 92734 return ErrIntOverflowTypes 92735 } 92736 if iNdEx >= l { 92737 return io.ErrUnexpectedEOF 92738 } 92739 b := dAtA[iNdEx] 92740 iNdEx++ 92741 wire |= uint64(b&0x7F) << shift 92742 if b < 0x80 { 92743 break 92744 } 92745 } 92746 fieldNum := int32(wire >> 3) 92747 wireType := int(wire & 0x7) 92748 if wireType == 4 { 92749 return fmt.Errorf("proto: SAMLConnectorSpecV2: wiretype end group for non-group") 92750 } 92751 if fieldNum <= 0 { 92752 return fmt.Errorf("proto: SAMLConnectorSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 92753 } 92754 switch fieldNum { 92755 case 1: 92756 if wireType != 2 { 92757 return fmt.Errorf("proto: wrong wireType = %d for field Issuer", wireType) 92758 } 92759 var stringLen uint64 92760 for shift := uint(0); ; shift += 7 { 92761 if shift >= 64 { 92762 return ErrIntOverflowTypes 92763 } 92764 if iNdEx >= l { 92765 return io.ErrUnexpectedEOF 92766 } 92767 b := dAtA[iNdEx] 92768 iNdEx++ 92769 stringLen |= uint64(b&0x7F) << shift 92770 if b < 0x80 { 92771 break 92772 } 92773 } 92774 intStringLen := int(stringLen) 92775 if intStringLen < 0 { 92776 return ErrInvalidLengthTypes 92777 } 92778 postIndex := iNdEx + intStringLen 92779 if postIndex < 0 { 92780 return ErrInvalidLengthTypes 92781 } 92782 if postIndex > l { 92783 return io.ErrUnexpectedEOF 92784 } 92785 m.Issuer = string(dAtA[iNdEx:postIndex]) 92786 iNdEx = postIndex 92787 case 2: 92788 if wireType != 2 { 92789 return fmt.Errorf("proto: wrong wireType = %d for field SSO", wireType) 92790 } 92791 var stringLen uint64 92792 for shift := uint(0); ; shift += 7 { 92793 if shift >= 64 { 92794 return ErrIntOverflowTypes 92795 } 92796 if iNdEx >= l { 92797 return io.ErrUnexpectedEOF 92798 } 92799 b := dAtA[iNdEx] 92800 iNdEx++ 92801 stringLen |= uint64(b&0x7F) << shift 92802 if b < 0x80 { 92803 break 92804 } 92805 } 92806 intStringLen := int(stringLen) 92807 if intStringLen < 0 { 92808 return ErrInvalidLengthTypes 92809 } 92810 postIndex := iNdEx + intStringLen 92811 if postIndex < 0 { 92812 return ErrInvalidLengthTypes 92813 } 92814 if postIndex > l { 92815 return io.ErrUnexpectedEOF 92816 } 92817 m.SSO = string(dAtA[iNdEx:postIndex]) 92818 iNdEx = postIndex 92819 case 3: 92820 if wireType != 2 { 92821 return fmt.Errorf("proto: wrong wireType = %d for field Cert", wireType) 92822 } 92823 var stringLen uint64 92824 for shift := uint(0); ; shift += 7 { 92825 if shift >= 64 { 92826 return ErrIntOverflowTypes 92827 } 92828 if iNdEx >= l { 92829 return io.ErrUnexpectedEOF 92830 } 92831 b := dAtA[iNdEx] 92832 iNdEx++ 92833 stringLen |= uint64(b&0x7F) << shift 92834 if b < 0x80 { 92835 break 92836 } 92837 } 92838 intStringLen := int(stringLen) 92839 if intStringLen < 0 { 92840 return ErrInvalidLengthTypes 92841 } 92842 postIndex := iNdEx + intStringLen 92843 if postIndex < 0 { 92844 return ErrInvalidLengthTypes 92845 } 92846 if postIndex > l { 92847 return io.ErrUnexpectedEOF 92848 } 92849 m.Cert = string(dAtA[iNdEx:postIndex]) 92850 iNdEx = postIndex 92851 case 4: 92852 if wireType != 2 { 92853 return fmt.Errorf("proto: wrong wireType = %d for field Display", wireType) 92854 } 92855 var stringLen uint64 92856 for shift := uint(0); ; shift += 7 { 92857 if shift >= 64 { 92858 return ErrIntOverflowTypes 92859 } 92860 if iNdEx >= l { 92861 return io.ErrUnexpectedEOF 92862 } 92863 b := dAtA[iNdEx] 92864 iNdEx++ 92865 stringLen |= uint64(b&0x7F) << shift 92866 if b < 0x80 { 92867 break 92868 } 92869 } 92870 intStringLen := int(stringLen) 92871 if intStringLen < 0 { 92872 return ErrInvalidLengthTypes 92873 } 92874 postIndex := iNdEx + intStringLen 92875 if postIndex < 0 { 92876 return ErrInvalidLengthTypes 92877 } 92878 if postIndex > l { 92879 return io.ErrUnexpectedEOF 92880 } 92881 m.Display = string(dAtA[iNdEx:postIndex]) 92882 iNdEx = postIndex 92883 case 5: 92884 if wireType != 2 { 92885 return fmt.Errorf("proto: wrong wireType = %d for field AssertionConsumerService", wireType) 92886 } 92887 var stringLen uint64 92888 for shift := uint(0); ; shift += 7 { 92889 if shift >= 64 { 92890 return ErrIntOverflowTypes 92891 } 92892 if iNdEx >= l { 92893 return io.ErrUnexpectedEOF 92894 } 92895 b := dAtA[iNdEx] 92896 iNdEx++ 92897 stringLen |= uint64(b&0x7F) << shift 92898 if b < 0x80 { 92899 break 92900 } 92901 } 92902 intStringLen := int(stringLen) 92903 if intStringLen < 0 { 92904 return ErrInvalidLengthTypes 92905 } 92906 postIndex := iNdEx + intStringLen 92907 if postIndex < 0 { 92908 return ErrInvalidLengthTypes 92909 } 92910 if postIndex > l { 92911 return io.ErrUnexpectedEOF 92912 } 92913 m.AssertionConsumerService = string(dAtA[iNdEx:postIndex]) 92914 iNdEx = postIndex 92915 case 6: 92916 if wireType != 2 { 92917 return fmt.Errorf("proto: wrong wireType = %d for field Audience", wireType) 92918 } 92919 var stringLen uint64 92920 for shift := uint(0); ; shift += 7 { 92921 if shift >= 64 { 92922 return ErrIntOverflowTypes 92923 } 92924 if iNdEx >= l { 92925 return io.ErrUnexpectedEOF 92926 } 92927 b := dAtA[iNdEx] 92928 iNdEx++ 92929 stringLen |= uint64(b&0x7F) << shift 92930 if b < 0x80 { 92931 break 92932 } 92933 } 92934 intStringLen := int(stringLen) 92935 if intStringLen < 0 { 92936 return ErrInvalidLengthTypes 92937 } 92938 postIndex := iNdEx + intStringLen 92939 if postIndex < 0 { 92940 return ErrInvalidLengthTypes 92941 } 92942 if postIndex > l { 92943 return io.ErrUnexpectedEOF 92944 } 92945 m.Audience = string(dAtA[iNdEx:postIndex]) 92946 iNdEx = postIndex 92947 case 7: 92948 if wireType != 2 { 92949 return fmt.Errorf("proto: wrong wireType = %d for field ServiceProviderIssuer", wireType) 92950 } 92951 var stringLen uint64 92952 for shift := uint(0); ; shift += 7 { 92953 if shift >= 64 { 92954 return ErrIntOverflowTypes 92955 } 92956 if iNdEx >= l { 92957 return io.ErrUnexpectedEOF 92958 } 92959 b := dAtA[iNdEx] 92960 iNdEx++ 92961 stringLen |= uint64(b&0x7F) << shift 92962 if b < 0x80 { 92963 break 92964 } 92965 } 92966 intStringLen := int(stringLen) 92967 if intStringLen < 0 { 92968 return ErrInvalidLengthTypes 92969 } 92970 postIndex := iNdEx + intStringLen 92971 if postIndex < 0 { 92972 return ErrInvalidLengthTypes 92973 } 92974 if postIndex > l { 92975 return io.ErrUnexpectedEOF 92976 } 92977 m.ServiceProviderIssuer = string(dAtA[iNdEx:postIndex]) 92978 iNdEx = postIndex 92979 case 8: 92980 if wireType != 2 { 92981 return fmt.Errorf("proto: wrong wireType = %d for field EntityDescriptor", wireType) 92982 } 92983 var stringLen uint64 92984 for shift := uint(0); ; shift += 7 { 92985 if shift >= 64 { 92986 return ErrIntOverflowTypes 92987 } 92988 if iNdEx >= l { 92989 return io.ErrUnexpectedEOF 92990 } 92991 b := dAtA[iNdEx] 92992 iNdEx++ 92993 stringLen |= uint64(b&0x7F) << shift 92994 if b < 0x80 { 92995 break 92996 } 92997 } 92998 intStringLen := int(stringLen) 92999 if intStringLen < 0 { 93000 return ErrInvalidLengthTypes 93001 } 93002 postIndex := iNdEx + intStringLen 93003 if postIndex < 0 { 93004 return ErrInvalidLengthTypes 93005 } 93006 if postIndex > l { 93007 return io.ErrUnexpectedEOF 93008 } 93009 m.EntityDescriptor = string(dAtA[iNdEx:postIndex]) 93010 iNdEx = postIndex 93011 case 9: 93012 if wireType != 2 { 93013 return fmt.Errorf("proto: wrong wireType = %d for field EntityDescriptorURL", wireType) 93014 } 93015 var stringLen uint64 93016 for shift := uint(0); ; shift += 7 { 93017 if shift >= 64 { 93018 return ErrIntOverflowTypes 93019 } 93020 if iNdEx >= l { 93021 return io.ErrUnexpectedEOF 93022 } 93023 b := dAtA[iNdEx] 93024 iNdEx++ 93025 stringLen |= uint64(b&0x7F) << shift 93026 if b < 0x80 { 93027 break 93028 } 93029 } 93030 intStringLen := int(stringLen) 93031 if intStringLen < 0 { 93032 return ErrInvalidLengthTypes 93033 } 93034 postIndex := iNdEx + intStringLen 93035 if postIndex < 0 { 93036 return ErrInvalidLengthTypes 93037 } 93038 if postIndex > l { 93039 return io.ErrUnexpectedEOF 93040 } 93041 m.EntityDescriptorURL = string(dAtA[iNdEx:postIndex]) 93042 iNdEx = postIndex 93043 case 10: 93044 if wireType != 2 { 93045 return fmt.Errorf("proto: wrong wireType = %d for field AttributesToRoles", wireType) 93046 } 93047 var msglen int 93048 for shift := uint(0); ; shift += 7 { 93049 if shift >= 64 { 93050 return ErrIntOverflowTypes 93051 } 93052 if iNdEx >= l { 93053 return io.ErrUnexpectedEOF 93054 } 93055 b := dAtA[iNdEx] 93056 iNdEx++ 93057 msglen |= int(b&0x7F) << shift 93058 if b < 0x80 { 93059 break 93060 } 93061 } 93062 if msglen < 0 { 93063 return ErrInvalidLengthTypes 93064 } 93065 postIndex := iNdEx + msglen 93066 if postIndex < 0 { 93067 return ErrInvalidLengthTypes 93068 } 93069 if postIndex > l { 93070 return io.ErrUnexpectedEOF 93071 } 93072 m.AttributesToRoles = append(m.AttributesToRoles, AttributeMapping{}) 93073 if err := m.AttributesToRoles[len(m.AttributesToRoles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 93074 return err 93075 } 93076 iNdEx = postIndex 93077 case 11: 93078 if wireType != 2 { 93079 return fmt.Errorf("proto: wrong wireType = %d for field SigningKeyPair", wireType) 93080 } 93081 var msglen int 93082 for shift := uint(0); ; shift += 7 { 93083 if shift >= 64 { 93084 return ErrIntOverflowTypes 93085 } 93086 if iNdEx >= l { 93087 return io.ErrUnexpectedEOF 93088 } 93089 b := dAtA[iNdEx] 93090 iNdEx++ 93091 msglen |= int(b&0x7F) << shift 93092 if b < 0x80 { 93093 break 93094 } 93095 } 93096 if msglen < 0 { 93097 return ErrInvalidLengthTypes 93098 } 93099 postIndex := iNdEx + msglen 93100 if postIndex < 0 { 93101 return ErrInvalidLengthTypes 93102 } 93103 if postIndex > l { 93104 return io.ErrUnexpectedEOF 93105 } 93106 if m.SigningKeyPair == nil { 93107 m.SigningKeyPair = &AsymmetricKeyPair{} 93108 } 93109 if err := m.SigningKeyPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 93110 return err 93111 } 93112 iNdEx = postIndex 93113 case 12: 93114 if wireType != 2 { 93115 return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) 93116 } 93117 var stringLen uint64 93118 for shift := uint(0); ; shift += 7 { 93119 if shift >= 64 { 93120 return ErrIntOverflowTypes 93121 } 93122 if iNdEx >= l { 93123 return io.ErrUnexpectedEOF 93124 } 93125 b := dAtA[iNdEx] 93126 iNdEx++ 93127 stringLen |= uint64(b&0x7F) << shift 93128 if b < 0x80 { 93129 break 93130 } 93131 } 93132 intStringLen := int(stringLen) 93133 if intStringLen < 0 { 93134 return ErrInvalidLengthTypes 93135 } 93136 postIndex := iNdEx + intStringLen 93137 if postIndex < 0 { 93138 return ErrInvalidLengthTypes 93139 } 93140 if postIndex > l { 93141 return io.ErrUnexpectedEOF 93142 } 93143 m.Provider = string(dAtA[iNdEx:postIndex]) 93144 iNdEx = postIndex 93145 case 13: 93146 if wireType != 2 { 93147 return fmt.Errorf("proto: wrong wireType = %d for field EncryptionKeyPair", wireType) 93148 } 93149 var msglen int 93150 for shift := uint(0); ; shift += 7 { 93151 if shift >= 64 { 93152 return ErrIntOverflowTypes 93153 } 93154 if iNdEx >= l { 93155 return io.ErrUnexpectedEOF 93156 } 93157 b := dAtA[iNdEx] 93158 iNdEx++ 93159 msglen |= int(b&0x7F) << shift 93160 if b < 0x80 { 93161 break 93162 } 93163 } 93164 if msglen < 0 { 93165 return ErrInvalidLengthTypes 93166 } 93167 postIndex := iNdEx + msglen 93168 if postIndex < 0 { 93169 return ErrInvalidLengthTypes 93170 } 93171 if postIndex > l { 93172 return io.ErrUnexpectedEOF 93173 } 93174 if m.EncryptionKeyPair == nil { 93175 m.EncryptionKeyPair = &AsymmetricKeyPair{} 93176 } 93177 if err := m.EncryptionKeyPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 93178 return err 93179 } 93180 iNdEx = postIndex 93181 case 14: 93182 if wireType != 0 { 93183 return fmt.Errorf("proto: wrong wireType = %d for field AllowIDPInitiated", wireType) 93184 } 93185 var v int 93186 for shift := uint(0); ; shift += 7 { 93187 if shift >= 64 { 93188 return ErrIntOverflowTypes 93189 } 93190 if iNdEx >= l { 93191 return io.ErrUnexpectedEOF 93192 } 93193 b := dAtA[iNdEx] 93194 iNdEx++ 93195 v |= int(b&0x7F) << shift 93196 if b < 0x80 { 93197 break 93198 } 93199 } 93200 m.AllowIDPInitiated = bool(v != 0) 93201 default: 93202 iNdEx = preIndex 93203 skippy, err := skipTypes(dAtA[iNdEx:]) 93204 if err != nil { 93205 return err 93206 } 93207 if (skippy < 0) || (iNdEx+skippy) < 0 { 93208 return ErrInvalidLengthTypes 93209 } 93210 if (iNdEx + skippy) > l { 93211 return io.ErrUnexpectedEOF 93212 } 93213 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 93214 iNdEx += skippy 93215 } 93216 } 93217 93218 if iNdEx > l { 93219 return io.ErrUnexpectedEOF 93220 } 93221 return nil 93222 } 93223 func (m *SAMLAuthRequest) Unmarshal(dAtA []byte) error { 93224 l := len(dAtA) 93225 iNdEx := 0 93226 for iNdEx < l { 93227 preIndex := iNdEx 93228 var wire uint64 93229 for shift := uint(0); ; shift += 7 { 93230 if shift >= 64 { 93231 return ErrIntOverflowTypes 93232 } 93233 if iNdEx >= l { 93234 return io.ErrUnexpectedEOF 93235 } 93236 b := dAtA[iNdEx] 93237 iNdEx++ 93238 wire |= uint64(b&0x7F) << shift 93239 if b < 0x80 { 93240 break 93241 } 93242 } 93243 fieldNum := int32(wire >> 3) 93244 wireType := int(wire & 0x7) 93245 if wireType == 4 { 93246 return fmt.Errorf("proto: SAMLAuthRequest: wiretype end group for non-group") 93247 } 93248 if fieldNum <= 0 { 93249 return fmt.Errorf("proto: SAMLAuthRequest: illegal tag %d (wire type %d)", fieldNum, wire) 93250 } 93251 switch fieldNum { 93252 case 1: 93253 if wireType != 2 { 93254 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 93255 } 93256 var stringLen uint64 93257 for shift := uint(0); ; shift += 7 { 93258 if shift >= 64 { 93259 return ErrIntOverflowTypes 93260 } 93261 if iNdEx >= l { 93262 return io.ErrUnexpectedEOF 93263 } 93264 b := dAtA[iNdEx] 93265 iNdEx++ 93266 stringLen |= uint64(b&0x7F) << shift 93267 if b < 0x80 { 93268 break 93269 } 93270 } 93271 intStringLen := int(stringLen) 93272 if intStringLen < 0 { 93273 return ErrInvalidLengthTypes 93274 } 93275 postIndex := iNdEx + intStringLen 93276 if postIndex < 0 { 93277 return ErrInvalidLengthTypes 93278 } 93279 if postIndex > l { 93280 return io.ErrUnexpectedEOF 93281 } 93282 m.ID = string(dAtA[iNdEx:postIndex]) 93283 iNdEx = postIndex 93284 case 2: 93285 if wireType != 2 { 93286 return fmt.Errorf("proto: wrong wireType = %d for field ConnectorID", wireType) 93287 } 93288 var stringLen uint64 93289 for shift := uint(0); ; shift += 7 { 93290 if shift >= 64 { 93291 return ErrIntOverflowTypes 93292 } 93293 if iNdEx >= l { 93294 return io.ErrUnexpectedEOF 93295 } 93296 b := dAtA[iNdEx] 93297 iNdEx++ 93298 stringLen |= uint64(b&0x7F) << shift 93299 if b < 0x80 { 93300 break 93301 } 93302 } 93303 intStringLen := int(stringLen) 93304 if intStringLen < 0 { 93305 return ErrInvalidLengthTypes 93306 } 93307 postIndex := iNdEx + intStringLen 93308 if postIndex < 0 { 93309 return ErrInvalidLengthTypes 93310 } 93311 if postIndex > l { 93312 return io.ErrUnexpectedEOF 93313 } 93314 m.ConnectorID = string(dAtA[iNdEx:postIndex]) 93315 iNdEx = postIndex 93316 case 3: 93317 if wireType != 2 { 93318 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 93319 } 93320 var stringLen uint64 93321 for shift := uint(0); ; shift += 7 { 93322 if shift >= 64 { 93323 return ErrIntOverflowTypes 93324 } 93325 if iNdEx >= l { 93326 return io.ErrUnexpectedEOF 93327 } 93328 b := dAtA[iNdEx] 93329 iNdEx++ 93330 stringLen |= uint64(b&0x7F) << shift 93331 if b < 0x80 { 93332 break 93333 } 93334 } 93335 intStringLen := int(stringLen) 93336 if intStringLen < 0 { 93337 return ErrInvalidLengthTypes 93338 } 93339 postIndex := iNdEx + intStringLen 93340 if postIndex < 0 { 93341 return ErrInvalidLengthTypes 93342 } 93343 if postIndex > l { 93344 return io.ErrUnexpectedEOF 93345 } 93346 m.Type = string(dAtA[iNdEx:postIndex]) 93347 iNdEx = postIndex 93348 case 4: 93349 if wireType != 0 { 93350 return fmt.Errorf("proto: wrong wireType = %d for field CheckUser", wireType) 93351 } 93352 var v int 93353 for shift := uint(0); ; shift += 7 { 93354 if shift >= 64 { 93355 return ErrIntOverflowTypes 93356 } 93357 if iNdEx >= l { 93358 return io.ErrUnexpectedEOF 93359 } 93360 b := dAtA[iNdEx] 93361 iNdEx++ 93362 v |= int(b&0x7F) << shift 93363 if b < 0x80 { 93364 break 93365 } 93366 } 93367 m.CheckUser = bool(v != 0) 93368 case 5: 93369 if wireType != 2 { 93370 return fmt.Errorf("proto: wrong wireType = %d for field RedirectURL", wireType) 93371 } 93372 var stringLen uint64 93373 for shift := uint(0); ; shift += 7 { 93374 if shift >= 64 { 93375 return ErrIntOverflowTypes 93376 } 93377 if iNdEx >= l { 93378 return io.ErrUnexpectedEOF 93379 } 93380 b := dAtA[iNdEx] 93381 iNdEx++ 93382 stringLen |= uint64(b&0x7F) << shift 93383 if b < 0x80 { 93384 break 93385 } 93386 } 93387 intStringLen := int(stringLen) 93388 if intStringLen < 0 { 93389 return ErrInvalidLengthTypes 93390 } 93391 postIndex := iNdEx + intStringLen 93392 if postIndex < 0 { 93393 return ErrInvalidLengthTypes 93394 } 93395 if postIndex > l { 93396 return io.ErrUnexpectedEOF 93397 } 93398 m.RedirectURL = string(dAtA[iNdEx:postIndex]) 93399 iNdEx = postIndex 93400 case 6: 93401 if wireType != 2 { 93402 return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) 93403 } 93404 var byteLen int 93405 for shift := uint(0); ; shift += 7 { 93406 if shift >= 64 { 93407 return ErrIntOverflowTypes 93408 } 93409 if iNdEx >= l { 93410 return io.ErrUnexpectedEOF 93411 } 93412 b := dAtA[iNdEx] 93413 iNdEx++ 93414 byteLen |= int(b&0x7F) << shift 93415 if b < 0x80 { 93416 break 93417 } 93418 } 93419 if byteLen < 0 { 93420 return ErrInvalidLengthTypes 93421 } 93422 postIndex := iNdEx + byteLen 93423 if postIndex < 0 { 93424 return ErrInvalidLengthTypes 93425 } 93426 if postIndex > l { 93427 return io.ErrUnexpectedEOF 93428 } 93429 m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) 93430 if m.PublicKey == nil { 93431 m.PublicKey = []byte{} 93432 } 93433 iNdEx = postIndex 93434 case 7: 93435 if wireType != 0 { 93436 return fmt.Errorf("proto: wrong wireType = %d for field CertTTL", wireType) 93437 } 93438 m.CertTTL = 0 93439 for shift := uint(0); ; shift += 7 { 93440 if shift >= 64 { 93441 return ErrIntOverflowTypes 93442 } 93443 if iNdEx >= l { 93444 return io.ErrUnexpectedEOF 93445 } 93446 b := dAtA[iNdEx] 93447 iNdEx++ 93448 m.CertTTL |= time.Duration(b&0x7F) << shift 93449 if b < 0x80 { 93450 break 93451 } 93452 } 93453 case 8: 93454 if wireType != 2 { 93455 return fmt.Errorf("proto: wrong wireType = %d for field CSRFToken", wireType) 93456 } 93457 var stringLen uint64 93458 for shift := uint(0); ; shift += 7 { 93459 if shift >= 64 { 93460 return ErrIntOverflowTypes 93461 } 93462 if iNdEx >= l { 93463 return io.ErrUnexpectedEOF 93464 } 93465 b := dAtA[iNdEx] 93466 iNdEx++ 93467 stringLen |= uint64(b&0x7F) << shift 93468 if b < 0x80 { 93469 break 93470 } 93471 } 93472 intStringLen := int(stringLen) 93473 if intStringLen < 0 { 93474 return ErrInvalidLengthTypes 93475 } 93476 postIndex := iNdEx + intStringLen 93477 if postIndex < 0 { 93478 return ErrInvalidLengthTypes 93479 } 93480 if postIndex > l { 93481 return io.ErrUnexpectedEOF 93482 } 93483 m.CSRFToken = string(dAtA[iNdEx:postIndex]) 93484 iNdEx = postIndex 93485 case 9: 93486 if wireType != 0 { 93487 return fmt.Errorf("proto: wrong wireType = %d for field CreateWebSession", wireType) 93488 } 93489 var v int 93490 for shift := uint(0); ; shift += 7 { 93491 if shift >= 64 { 93492 return ErrIntOverflowTypes 93493 } 93494 if iNdEx >= l { 93495 return io.ErrUnexpectedEOF 93496 } 93497 b := dAtA[iNdEx] 93498 iNdEx++ 93499 v |= int(b&0x7F) << shift 93500 if b < 0x80 { 93501 break 93502 } 93503 } 93504 m.CreateWebSession = bool(v != 0) 93505 case 10: 93506 if wireType != 2 { 93507 return fmt.Errorf("proto: wrong wireType = %d for field ClientRedirectURL", wireType) 93508 } 93509 var stringLen uint64 93510 for shift := uint(0); ; shift += 7 { 93511 if shift >= 64 { 93512 return ErrIntOverflowTypes 93513 } 93514 if iNdEx >= l { 93515 return io.ErrUnexpectedEOF 93516 } 93517 b := dAtA[iNdEx] 93518 iNdEx++ 93519 stringLen |= uint64(b&0x7F) << shift 93520 if b < 0x80 { 93521 break 93522 } 93523 } 93524 intStringLen := int(stringLen) 93525 if intStringLen < 0 { 93526 return ErrInvalidLengthTypes 93527 } 93528 postIndex := iNdEx + intStringLen 93529 if postIndex < 0 { 93530 return ErrInvalidLengthTypes 93531 } 93532 if postIndex > l { 93533 return io.ErrUnexpectedEOF 93534 } 93535 m.ClientRedirectURL = string(dAtA[iNdEx:postIndex]) 93536 iNdEx = postIndex 93537 case 11: 93538 if wireType != 2 { 93539 return fmt.Errorf("proto: wrong wireType = %d for field Compatibility", wireType) 93540 } 93541 var stringLen uint64 93542 for shift := uint(0); ; shift += 7 { 93543 if shift >= 64 { 93544 return ErrIntOverflowTypes 93545 } 93546 if iNdEx >= l { 93547 return io.ErrUnexpectedEOF 93548 } 93549 b := dAtA[iNdEx] 93550 iNdEx++ 93551 stringLen |= uint64(b&0x7F) << shift 93552 if b < 0x80 { 93553 break 93554 } 93555 } 93556 intStringLen := int(stringLen) 93557 if intStringLen < 0 { 93558 return ErrInvalidLengthTypes 93559 } 93560 postIndex := iNdEx + intStringLen 93561 if postIndex < 0 { 93562 return ErrInvalidLengthTypes 93563 } 93564 if postIndex > l { 93565 return io.ErrUnexpectedEOF 93566 } 93567 m.Compatibility = string(dAtA[iNdEx:postIndex]) 93568 iNdEx = postIndex 93569 case 12: 93570 if wireType != 2 { 93571 return fmt.Errorf("proto: wrong wireType = %d for field RouteToCluster", wireType) 93572 } 93573 var stringLen uint64 93574 for shift := uint(0); ; shift += 7 { 93575 if shift >= 64 { 93576 return ErrIntOverflowTypes 93577 } 93578 if iNdEx >= l { 93579 return io.ErrUnexpectedEOF 93580 } 93581 b := dAtA[iNdEx] 93582 iNdEx++ 93583 stringLen |= uint64(b&0x7F) << shift 93584 if b < 0x80 { 93585 break 93586 } 93587 } 93588 intStringLen := int(stringLen) 93589 if intStringLen < 0 { 93590 return ErrInvalidLengthTypes 93591 } 93592 postIndex := iNdEx + intStringLen 93593 if postIndex < 0 { 93594 return ErrInvalidLengthTypes 93595 } 93596 if postIndex > l { 93597 return io.ErrUnexpectedEOF 93598 } 93599 m.RouteToCluster = string(dAtA[iNdEx:postIndex]) 93600 iNdEx = postIndex 93601 case 13: 93602 if wireType != 2 { 93603 return fmt.Errorf("proto: wrong wireType = %d for field KubernetesCluster", wireType) 93604 } 93605 var stringLen uint64 93606 for shift := uint(0); ; shift += 7 { 93607 if shift >= 64 { 93608 return ErrIntOverflowTypes 93609 } 93610 if iNdEx >= l { 93611 return io.ErrUnexpectedEOF 93612 } 93613 b := dAtA[iNdEx] 93614 iNdEx++ 93615 stringLen |= uint64(b&0x7F) << shift 93616 if b < 0x80 { 93617 break 93618 } 93619 } 93620 intStringLen := int(stringLen) 93621 if intStringLen < 0 { 93622 return ErrInvalidLengthTypes 93623 } 93624 postIndex := iNdEx + intStringLen 93625 if postIndex < 0 { 93626 return ErrInvalidLengthTypes 93627 } 93628 if postIndex > l { 93629 return io.ErrUnexpectedEOF 93630 } 93631 m.KubernetesCluster = string(dAtA[iNdEx:postIndex]) 93632 iNdEx = postIndex 93633 case 14: 93634 if wireType != 0 { 93635 return fmt.Errorf("proto: wrong wireType = %d for field SSOTestFlow", wireType) 93636 } 93637 var v int 93638 for shift := uint(0); ; shift += 7 { 93639 if shift >= 64 { 93640 return ErrIntOverflowTypes 93641 } 93642 if iNdEx >= l { 93643 return io.ErrUnexpectedEOF 93644 } 93645 b := dAtA[iNdEx] 93646 iNdEx++ 93647 v |= int(b&0x7F) << shift 93648 if b < 0x80 { 93649 break 93650 } 93651 } 93652 m.SSOTestFlow = bool(v != 0) 93653 case 15: 93654 if wireType != 2 { 93655 return fmt.Errorf("proto: wrong wireType = %d for field ConnectorSpec", wireType) 93656 } 93657 var msglen int 93658 for shift := uint(0); ; shift += 7 { 93659 if shift >= 64 { 93660 return ErrIntOverflowTypes 93661 } 93662 if iNdEx >= l { 93663 return io.ErrUnexpectedEOF 93664 } 93665 b := dAtA[iNdEx] 93666 iNdEx++ 93667 msglen |= int(b&0x7F) << shift 93668 if b < 0x80 { 93669 break 93670 } 93671 } 93672 if msglen < 0 { 93673 return ErrInvalidLengthTypes 93674 } 93675 postIndex := iNdEx + msglen 93676 if postIndex < 0 { 93677 return ErrInvalidLengthTypes 93678 } 93679 if postIndex > l { 93680 return io.ErrUnexpectedEOF 93681 } 93682 if m.ConnectorSpec == nil { 93683 m.ConnectorSpec = &SAMLConnectorSpecV2{} 93684 } 93685 if err := m.ConnectorSpec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 93686 return err 93687 } 93688 iNdEx = postIndex 93689 case 16: 93690 if wireType != 2 { 93691 return fmt.Errorf("proto: wrong wireType = %d for field AttestationStatement", wireType) 93692 } 93693 var msglen int 93694 for shift := uint(0); ; shift += 7 { 93695 if shift >= 64 { 93696 return ErrIntOverflowTypes 93697 } 93698 if iNdEx >= l { 93699 return io.ErrUnexpectedEOF 93700 } 93701 b := dAtA[iNdEx] 93702 iNdEx++ 93703 msglen |= int(b&0x7F) << shift 93704 if b < 0x80 { 93705 break 93706 } 93707 } 93708 if msglen < 0 { 93709 return ErrInvalidLengthTypes 93710 } 93711 postIndex := iNdEx + msglen 93712 if postIndex < 0 { 93713 return ErrInvalidLengthTypes 93714 } 93715 if postIndex > l { 93716 return io.ErrUnexpectedEOF 93717 } 93718 if m.AttestationStatement == nil { 93719 m.AttestationStatement = &v1.AttestationStatement{} 93720 } 93721 if err := m.AttestationStatement.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 93722 return err 93723 } 93724 iNdEx = postIndex 93725 case 17: 93726 if wireType != 2 { 93727 return fmt.Errorf("proto: wrong wireType = %d for field ClientLoginIP", wireType) 93728 } 93729 var stringLen uint64 93730 for shift := uint(0); ; shift += 7 { 93731 if shift >= 64 { 93732 return ErrIntOverflowTypes 93733 } 93734 if iNdEx >= l { 93735 return io.ErrUnexpectedEOF 93736 } 93737 b := dAtA[iNdEx] 93738 iNdEx++ 93739 stringLen |= uint64(b&0x7F) << shift 93740 if b < 0x80 { 93741 break 93742 } 93743 } 93744 intStringLen := int(stringLen) 93745 if intStringLen < 0 { 93746 return ErrInvalidLengthTypes 93747 } 93748 postIndex := iNdEx + intStringLen 93749 if postIndex < 0 { 93750 return ErrInvalidLengthTypes 93751 } 93752 if postIndex > l { 93753 return io.ErrUnexpectedEOF 93754 } 93755 m.ClientLoginIP = string(dAtA[iNdEx:postIndex]) 93756 iNdEx = postIndex 93757 default: 93758 iNdEx = preIndex 93759 skippy, err := skipTypes(dAtA[iNdEx:]) 93760 if err != nil { 93761 return err 93762 } 93763 if (skippy < 0) || (iNdEx+skippy) < 0 { 93764 return ErrInvalidLengthTypes 93765 } 93766 if (iNdEx + skippy) > l { 93767 return io.ErrUnexpectedEOF 93768 } 93769 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 93770 iNdEx += skippy 93771 } 93772 } 93773 93774 if iNdEx > l { 93775 return io.ErrUnexpectedEOF 93776 } 93777 return nil 93778 } 93779 func (m *AttributeMapping) Unmarshal(dAtA []byte) error { 93780 l := len(dAtA) 93781 iNdEx := 0 93782 for iNdEx < l { 93783 preIndex := iNdEx 93784 var wire uint64 93785 for shift := uint(0); ; shift += 7 { 93786 if shift >= 64 { 93787 return ErrIntOverflowTypes 93788 } 93789 if iNdEx >= l { 93790 return io.ErrUnexpectedEOF 93791 } 93792 b := dAtA[iNdEx] 93793 iNdEx++ 93794 wire |= uint64(b&0x7F) << shift 93795 if b < 0x80 { 93796 break 93797 } 93798 } 93799 fieldNum := int32(wire >> 3) 93800 wireType := int(wire & 0x7) 93801 if wireType == 4 { 93802 return fmt.Errorf("proto: AttributeMapping: wiretype end group for non-group") 93803 } 93804 if fieldNum <= 0 { 93805 return fmt.Errorf("proto: AttributeMapping: illegal tag %d (wire type %d)", fieldNum, wire) 93806 } 93807 switch fieldNum { 93808 case 1: 93809 if wireType != 2 { 93810 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 93811 } 93812 var stringLen uint64 93813 for shift := uint(0); ; shift += 7 { 93814 if shift >= 64 { 93815 return ErrIntOverflowTypes 93816 } 93817 if iNdEx >= l { 93818 return io.ErrUnexpectedEOF 93819 } 93820 b := dAtA[iNdEx] 93821 iNdEx++ 93822 stringLen |= uint64(b&0x7F) << shift 93823 if b < 0x80 { 93824 break 93825 } 93826 } 93827 intStringLen := int(stringLen) 93828 if intStringLen < 0 { 93829 return ErrInvalidLengthTypes 93830 } 93831 postIndex := iNdEx + intStringLen 93832 if postIndex < 0 { 93833 return ErrInvalidLengthTypes 93834 } 93835 if postIndex > l { 93836 return io.ErrUnexpectedEOF 93837 } 93838 m.Name = string(dAtA[iNdEx:postIndex]) 93839 iNdEx = postIndex 93840 case 2: 93841 if wireType != 2 { 93842 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 93843 } 93844 var stringLen uint64 93845 for shift := uint(0); ; shift += 7 { 93846 if shift >= 64 { 93847 return ErrIntOverflowTypes 93848 } 93849 if iNdEx >= l { 93850 return io.ErrUnexpectedEOF 93851 } 93852 b := dAtA[iNdEx] 93853 iNdEx++ 93854 stringLen |= uint64(b&0x7F) << shift 93855 if b < 0x80 { 93856 break 93857 } 93858 } 93859 intStringLen := int(stringLen) 93860 if intStringLen < 0 { 93861 return ErrInvalidLengthTypes 93862 } 93863 postIndex := iNdEx + intStringLen 93864 if postIndex < 0 { 93865 return ErrInvalidLengthTypes 93866 } 93867 if postIndex > l { 93868 return io.ErrUnexpectedEOF 93869 } 93870 m.Value = string(dAtA[iNdEx:postIndex]) 93871 iNdEx = postIndex 93872 case 3: 93873 if wireType != 2 { 93874 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 93875 } 93876 var stringLen uint64 93877 for shift := uint(0); ; shift += 7 { 93878 if shift >= 64 { 93879 return ErrIntOverflowTypes 93880 } 93881 if iNdEx >= l { 93882 return io.ErrUnexpectedEOF 93883 } 93884 b := dAtA[iNdEx] 93885 iNdEx++ 93886 stringLen |= uint64(b&0x7F) << shift 93887 if b < 0x80 { 93888 break 93889 } 93890 } 93891 intStringLen := int(stringLen) 93892 if intStringLen < 0 { 93893 return ErrInvalidLengthTypes 93894 } 93895 postIndex := iNdEx + intStringLen 93896 if postIndex < 0 { 93897 return ErrInvalidLengthTypes 93898 } 93899 if postIndex > l { 93900 return io.ErrUnexpectedEOF 93901 } 93902 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 93903 iNdEx = postIndex 93904 default: 93905 iNdEx = preIndex 93906 skippy, err := skipTypes(dAtA[iNdEx:]) 93907 if err != nil { 93908 return err 93909 } 93910 if (skippy < 0) || (iNdEx+skippy) < 0 { 93911 return ErrInvalidLengthTypes 93912 } 93913 if (iNdEx + skippy) > l { 93914 return io.ErrUnexpectedEOF 93915 } 93916 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 93917 iNdEx += skippy 93918 } 93919 } 93920 93921 if iNdEx > l { 93922 return io.ErrUnexpectedEOF 93923 } 93924 return nil 93925 } 93926 func (m *AsymmetricKeyPair) Unmarshal(dAtA []byte) error { 93927 l := len(dAtA) 93928 iNdEx := 0 93929 for iNdEx < l { 93930 preIndex := iNdEx 93931 var wire uint64 93932 for shift := uint(0); ; shift += 7 { 93933 if shift >= 64 { 93934 return ErrIntOverflowTypes 93935 } 93936 if iNdEx >= l { 93937 return io.ErrUnexpectedEOF 93938 } 93939 b := dAtA[iNdEx] 93940 iNdEx++ 93941 wire |= uint64(b&0x7F) << shift 93942 if b < 0x80 { 93943 break 93944 } 93945 } 93946 fieldNum := int32(wire >> 3) 93947 wireType := int(wire & 0x7) 93948 if wireType == 4 { 93949 return fmt.Errorf("proto: AsymmetricKeyPair: wiretype end group for non-group") 93950 } 93951 if fieldNum <= 0 { 93952 return fmt.Errorf("proto: AsymmetricKeyPair: illegal tag %d (wire type %d)", fieldNum, wire) 93953 } 93954 switch fieldNum { 93955 case 1: 93956 if wireType != 2 { 93957 return fmt.Errorf("proto: wrong wireType = %d for field PrivateKey", wireType) 93958 } 93959 var stringLen uint64 93960 for shift := uint(0); ; shift += 7 { 93961 if shift >= 64 { 93962 return ErrIntOverflowTypes 93963 } 93964 if iNdEx >= l { 93965 return io.ErrUnexpectedEOF 93966 } 93967 b := dAtA[iNdEx] 93968 iNdEx++ 93969 stringLen |= uint64(b&0x7F) << shift 93970 if b < 0x80 { 93971 break 93972 } 93973 } 93974 intStringLen := int(stringLen) 93975 if intStringLen < 0 { 93976 return ErrInvalidLengthTypes 93977 } 93978 postIndex := iNdEx + intStringLen 93979 if postIndex < 0 { 93980 return ErrInvalidLengthTypes 93981 } 93982 if postIndex > l { 93983 return io.ErrUnexpectedEOF 93984 } 93985 m.PrivateKey = string(dAtA[iNdEx:postIndex]) 93986 iNdEx = postIndex 93987 case 2: 93988 if wireType != 2 { 93989 return fmt.Errorf("proto: wrong wireType = %d for field Cert", wireType) 93990 } 93991 var stringLen uint64 93992 for shift := uint(0); ; shift += 7 { 93993 if shift >= 64 { 93994 return ErrIntOverflowTypes 93995 } 93996 if iNdEx >= l { 93997 return io.ErrUnexpectedEOF 93998 } 93999 b := dAtA[iNdEx] 94000 iNdEx++ 94001 stringLen |= uint64(b&0x7F) << shift 94002 if b < 0x80 { 94003 break 94004 } 94005 } 94006 intStringLen := int(stringLen) 94007 if intStringLen < 0 { 94008 return ErrInvalidLengthTypes 94009 } 94010 postIndex := iNdEx + intStringLen 94011 if postIndex < 0 { 94012 return ErrInvalidLengthTypes 94013 } 94014 if postIndex > l { 94015 return io.ErrUnexpectedEOF 94016 } 94017 m.Cert = string(dAtA[iNdEx:postIndex]) 94018 iNdEx = postIndex 94019 default: 94020 iNdEx = preIndex 94021 skippy, err := skipTypes(dAtA[iNdEx:]) 94022 if err != nil { 94023 return err 94024 } 94025 if (skippy < 0) || (iNdEx+skippy) < 0 { 94026 return ErrInvalidLengthTypes 94027 } 94028 if (iNdEx + skippy) > l { 94029 return io.ErrUnexpectedEOF 94030 } 94031 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 94032 iNdEx += skippy 94033 } 94034 } 94035 94036 if iNdEx > l { 94037 return io.ErrUnexpectedEOF 94038 } 94039 return nil 94040 } 94041 func (m *GithubConnectorV3) Unmarshal(dAtA []byte) error { 94042 l := len(dAtA) 94043 iNdEx := 0 94044 for iNdEx < l { 94045 preIndex := iNdEx 94046 var wire uint64 94047 for shift := uint(0); ; shift += 7 { 94048 if shift >= 64 { 94049 return ErrIntOverflowTypes 94050 } 94051 if iNdEx >= l { 94052 return io.ErrUnexpectedEOF 94053 } 94054 b := dAtA[iNdEx] 94055 iNdEx++ 94056 wire |= uint64(b&0x7F) << shift 94057 if b < 0x80 { 94058 break 94059 } 94060 } 94061 fieldNum := int32(wire >> 3) 94062 wireType := int(wire & 0x7) 94063 if wireType == 4 { 94064 return fmt.Errorf("proto: GithubConnectorV3: wiretype end group for non-group") 94065 } 94066 if fieldNum <= 0 { 94067 return fmt.Errorf("proto: GithubConnectorV3: illegal tag %d (wire type %d)", fieldNum, wire) 94068 } 94069 switch fieldNum { 94070 case 1: 94071 if wireType != 2 { 94072 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 94073 } 94074 var stringLen uint64 94075 for shift := uint(0); ; shift += 7 { 94076 if shift >= 64 { 94077 return ErrIntOverflowTypes 94078 } 94079 if iNdEx >= l { 94080 return io.ErrUnexpectedEOF 94081 } 94082 b := dAtA[iNdEx] 94083 iNdEx++ 94084 stringLen |= uint64(b&0x7F) << shift 94085 if b < 0x80 { 94086 break 94087 } 94088 } 94089 intStringLen := int(stringLen) 94090 if intStringLen < 0 { 94091 return ErrInvalidLengthTypes 94092 } 94093 postIndex := iNdEx + intStringLen 94094 if postIndex < 0 { 94095 return ErrInvalidLengthTypes 94096 } 94097 if postIndex > l { 94098 return io.ErrUnexpectedEOF 94099 } 94100 m.Kind = string(dAtA[iNdEx:postIndex]) 94101 iNdEx = postIndex 94102 case 2: 94103 if wireType != 2 { 94104 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 94105 } 94106 var stringLen uint64 94107 for shift := uint(0); ; shift += 7 { 94108 if shift >= 64 { 94109 return ErrIntOverflowTypes 94110 } 94111 if iNdEx >= l { 94112 return io.ErrUnexpectedEOF 94113 } 94114 b := dAtA[iNdEx] 94115 iNdEx++ 94116 stringLen |= uint64(b&0x7F) << shift 94117 if b < 0x80 { 94118 break 94119 } 94120 } 94121 intStringLen := int(stringLen) 94122 if intStringLen < 0 { 94123 return ErrInvalidLengthTypes 94124 } 94125 postIndex := iNdEx + intStringLen 94126 if postIndex < 0 { 94127 return ErrInvalidLengthTypes 94128 } 94129 if postIndex > l { 94130 return io.ErrUnexpectedEOF 94131 } 94132 m.SubKind = string(dAtA[iNdEx:postIndex]) 94133 iNdEx = postIndex 94134 case 3: 94135 if wireType != 2 { 94136 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 94137 } 94138 var stringLen uint64 94139 for shift := uint(0); ; shift += 7 { 94140 if shift >= 64 { 94141 return ErrIntOverflowTypes 94142 } 94143 if iNdEx >= l { 94144 return io.ErrUnexpectedEOF 94145 } 94146 b := dAtA[iNdEx] 94147 iNdEx++ 94148 stringLen |= uint64(b&0x7F) << shift 94149 if b < 0x80 { 94150 break 94151 } 94152 } 94153 intStringLen := int(stringLen) 94154 if intStringLen < 0 { 94155 return ErrInvalidLengthTypes 94156 } 94157 postIndex := iNdEx + intStringLen 94158 if postIndex < 0 { 94159 return ErrInvalidLengthTypes 94160 } 94161 if postIndex > l { 94162 return io.ErrUnexpectedEOF 94163 } 94164 m.Version = string(dAtA[iNdEx:postIndex]) 94165 iNdEx = postIndex 94166 case 4: 94167 if wireType != 2 { 94168 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 94169 } 94170 var msglen int 94171 for shift := uint(0); ; shift += 7 { 94172 if shift >= 64 { 94173 return ErrIntOverflowTypes 94174 } 94175 if iNdEx >= l { 94176 return io.ErrUnexpectedEOF 94177 } 94178 b := dAtA[iNdEx] 94179 iNdEx++ 94180 msglen |= int(b&0x7F) << shift 94181 if b < 0x80 { 94182 break 94183 } 94184 } 94185 if msglen < 0 { 94186 return ErrInvalidLengthTypes 94187 } 94188 postIndex := iNdEx + msglen 94189 if postIndex < 0 { 94190 return ErrInvalidLengthTypes 94191 } 94192 if postIndex > l { 94193 return io.ErrUnexpectedEOF 94194 } 94195 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 94196 return err 94197 } 94198 iNdEx = postIndex 94199 case 5: 94200 if wireType != 2 { 94201 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 94202 } 94203 var msglen int 94204 for shift := uint(0); ; shift += 7 { 94205 if shift >= 64 { 94206 return ErrIntOverflowTypes 94207 } 94208 if iNdEx >= l { 94209 return io.ErrUnexpectedEOF 94210 } 94211 b := dAtA[iNdEx] 94212 iNdEx++ 94213 msglen |= int(b&0x7F) << shift 94214 if b < 0x80 { 94215 break 94216 } 94217 } 94218 if msglen < 0 { 94219 return ErrInvalidLengthTypes 94220 } 94221 postIndex := iNdEx + msglen 94222 if postIndex < 0 { 94223 return ErrInvalidLengthTypes 94224 } 94225 if postIndex > l { 94226 return io.ErrUnexpectedEOF 94227 } 94228 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 94229 return err 94230 } 94231 iNdEx = postIndex 94232 default: 94233 iNdEx = preIndex 94234 skippy, err := skipTypes(dAtA[iNdEx:]) 94235 if err != nil { 94236 return err 94237 } 94238 if (skippy < 0) || (iNdEx+skippy) < 0 { 94239 return ErrInvalidLengthTypes 94240 } 94241 if (iNdEx + skippy) > l { 94242 return io.ErrUnexpectedEOF 94243 } 94244 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 94245 iNdEx += skippy 94246 } 94247 } 94248 94249 if iNdEx > l { 94250 return io.ErrUnexpectedEOF 94251 } 94252 return nil 94253 } 94254 func (m *GithubConnectorV3List) Unmarshal(dAtA []byte) error { 94255 l := len(dAtA) 94256 iNdEx := 0 94257 for iNdEx < l { 94258 preIndex := iNdEx 94259 var wire uint64 94260 for shift := uint(0); ; shift += 7 { 94261 if shift >= 64 { 94262 return ErrIntOverflowTypes 94263 } 94264 if iNdEx >= l { 94265 return io.ErrUnexpectedEOF 94266 } 94267 b := dAtA[iNdEx] 94268 iNdEx++ 94269 wire |= uint64(b&0x7F) << shift 94270 if b < 0x80 { 94271 break 94272 } 94273 } 94274 fieldNum := int32(wire >> 3) 94275 wireType := int(wire & 0x7) 94276 if wireType == 4 { 94277 return fmt.Errorf("proto: GithubConnectorV3List: wiretype end group for non-group") 94278 } 94279 if fieldNum <= 0 { 94280 return fmt.Errorf("proto: GithubConnectorV3List: illegal tag %d (wire type %d)", fieldNum, wire) 94281 } 94282 switch fieldNum { 94283 case 1: 94284 if wireType != 2 { 94285 return fmt.Errorf("proto: wrong wireType = %d for field GithubConnectors", wireType) 94286 } 94287 var msglen int 94288 for shift := uint(0); ; shift += 7 { 94289 if shift >= 64 { 94290 return ErrIntOverflowTypes 94291 } 94292 if iNdEx >= l { 94293 return io.ErrUnexpectedEOF 94294 } 94295 b := dAtA[iNdEx] 94296 iNdEx++ 94297 msglen |= int(b&0x7F) << shift 94298 if b < 0x80 { 94299 break 94300 } 94301 } 94302 if msglen < 0 { 94303 return ErrInvalidLengthTypes 94304 } 94305 postIndex := iNdEx + msglen 94306 if postIndex < 0 { 94307 return ErrInvalidLengthTypes 94308 } 94309 if postIndex > l { 94310 return io.ErrUnexpectedEOF 94311 } 94312 m.GithubConnectors = append(m.GithubConnectors, &GithubConnectorV3{}) 94313 if err := m.GithubConnectors[len(m.GithubConnectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 94314 return err 94315 } 94316 iNdEx = postIndex 94317 default: 94318 iNdEx = preIndex 94319 skippy, err := skipTypes(dAtA[iNdEx:]) 94320 if err != nil { 94321 return err 94322 } 94323 if (skippy < 0) || (iNdEx+skippy) < 0 { 94324 return ErrInvalidLengthTypes 94325 } 94326 if (iNdEx + skippy) > l { 94327 return io.ErrUnexpectedEOF 94328 } 94329 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 94330 iNdEx += skippy 94331 } 94332 } 94333 94334 if iNdEx > l { 94335 return io.ErrUnexpectedEOF 94336 } 94337 return nil 94338 } 94339 func (m *GithubConnectorSpecV3) Unmarshal(dAtA []byte) error { 94340 l := len(dAtA) 94341 iNdEx := 0 94342 for iNdEx < l { 94343 preIndex := iNdEx 94344 var wire uint64 94345 for shift := uint(0); ; shift += 7 { 94346 if shift >= 64 { 94347 return ErrIntOverflowTypes 94348 } 94349 if iNdEx >= l { 94350 return io.ErrUnexpectedEOF 94351 } 94352 b := dAtA[iNdEx] 94353 iNdEx++ 94354 wire |= uint64(b&0x7F) << shift 94355 if b < 0x80 { 94356 break 94357 } 94358 } 94359 fieldNum := int32(wire >> 3) 94360 wireType := int(wire & 0x7) 94361 if wireType == 4 { 94362 return fmt.Errorf("proto: GithubConnectorSpecV3: wiretype end group for non-group") 94363 } 94364 if fieldNum <= 0 { 94365 return fmt.Errorf("proto: GithubConnectorSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 94366 } 94367 switch fieldNum { 94368 case 1: 94369 if wireType != 2 { 94370 return fmt.Errorf("proto: wrong wireType = %d for field ClientID", wireType) 94371 } 94372 var stringLen uint64 94373 for shift := uint(0); ; shift += 7 { 94374 if shift >= 64 { 94375 return ErrIntOverflowTypes 94376 } 94377 if iNdEx >= l { 94378 return io.ErrUnexpectedEOF 94379 } 94380 b := dAtA[iNdEx] 94381 iNdEx++ 94382 stringLen |= uint64(b&0x7F) << shift 94383 if b < 0x80 { 94384 break 94385 } 94386 } 94387 intStringLen := int(stringLen) 94388 if intStringLen < 0 { 94389 return ErrInvalidLengthTypes 94390 } 94391 postIndex := iNdEx + intStringLen 94392 if postIndex < 0 { 94393 return ErrInvalidLengthTypes 94394 } 94395 if postIndex > l { 94396 return io.ErrUnexpectedEOF 94397 } 94398 m.ClientID = string(dAtA[iNdEx:postIndex]) 94399 iNdEx = postIndex 94400 case 2: 94401 if wireType != 2 { 94402 return fmt.Errorf("proto: wrong wireType = %d for field ClientSecret", wireType) 94403 } 94404 var stringLen uint64 94405 for shift := uint(0); ; shift += 7 { 94406 if shift >= 64 { 94407 return ErrIntOverflowTypes 94408 } 94409 if iNdEx >= l { 94410 return io.ErrUnexpectedEOF 94411 } 94412 b := dAtA[iNdEx] 94413 iNdEx++ 94414 stringLen |= uint64(b&0x7F) << shift 94415 if b < 0x80 { 94416 break 94417 } 94418 } 94419 intStringLen := int(stringLen) 94420 if intStringLen < 0 { 94421 return ErrInvalidLengthTypes 94422 } 94423 postIndex := iNdEx + intStringLen 94424 if postIndex < 0 { 94425 return ErrInvalidLengthTypes 94426 } 94427 if postIndex > l { 94428 return io.ErrUnexpectedEOF 94429 } 94430 m.ClientSecret = string(dAtA[iNdEx:postIndex]) 94431 iNdEx = postIndex 94432 case 3: 94433 if wireType != 2 { 94434 return fmt.Errorf("proto: wrong wireType = %d for field RedirectURL", wireType) 94435 } 94436 var stringLen uint64 94437 for shift := uint(0); ; shift += 7 { 94438 if shift >= 64 { 94439 return ErrIntOverflowTypes 94440 } 94441 if iNdEx >= l { 94442 return io.ErrUnexpectedEOF 94443 } 94444 b := dAtA[iNdEx] 94445 iNdEx++ 94446 stringLen |= uint64(b&0x7F) << shift 94447 if b < 0x80 { 94448 break 94449 } 94450 } 94451 intStringLen := int(stringLen) 94452 if intStringLen < 0 { 94453 return ErrInvalidLengthTypes 94454 } 94455 postIndex := iNdEx + intStringLen 94456 if postIndex < 0 { 94457 return ErrInvalidLengthTypes 94458 } 94459 if postIndex > l { 94460 return io.ErrUnexpectedEOF 94461 } 94462 m.RedirectURL = string(dAtA[iNdEx:postIndex]) 94463 iNdEx = postIndex 94464 case 4: 94465 if wireType != 2 { 94466 return fmt.Errorf("proto: wrong wireType = %d for field TeamsToLogins", wireType) 94467 } 94468 var msglen int 94469 for shift := uint(0); ; shift += 7 { 94470 if shift >= 64 { 94471 return ErrIntOverflowTypes 94472 } 94473 if iNdEx >= l { 94474 return io.ErrUnexpectedEOF 94475 } 94476 b := dAtA[iNdEx] 94477 iNdEx++ 94478 msglen |= int(b&0x7F) << shift 94479 if b < 0x80 { 94480 break 94481 } 94482 } 94483 if msglen < 0 { 94484 return ErrInvalidLengthTypes 94485 } 94486 postIndex := iNdEx + msglen 94487 if postIndex < 0 { 94488 return ErrInvalidLengthTypes 94489 } 94490 if postIndex > l { 94491 return io.ErrUnexpectedEOF 94492 } 94493 m.TeamsToLogins = append(m.TeamsToLogins, TeamMapping{}) 94494 if err := m.TeamsToLogins[len(m.TeamsToLogins)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 94495 return err 94496 } 94497 iNdEx = postIndex 94498 case 5: 94499 if wireType != 2 { 94500 return fmt.Errorf("proto: wrong wireType = %d for field Display", wireType) 94501 } 94502 var stringLen uint64 94503 for shift := uint(0); ; shift += 7 { 94504 if shift >= 64 { 94505 return ErrIntOverflowTypes 94506 } 94507 if iNdEx >= l { 94508 return io.ErrUnexpectedEOF 94509 } 94510 b := dAtA[iNdEx] 94511 iNdEx++ 94512 stringLen |= uint64(b&0x7F) << shift 94513 if b < 0x80 { 94514 break 94515 } 94516 } 94517 intStringLen := int(stringLen) 94518 if intStringLen < 0 { 94519 return ErrInvalidLengthTypes 94520 } 94521 postIndex := iNdEx + intStringLen 94522 if postIndex < 0 { 94523 return ErrInvalidLengthTypes 94524 } 94525 if postIndex > l { 94526 return io.ErrUnexpectedEOF 94527 } 94528 m.Display = string(dAtA[iNdEx:postIndex]) 94529 iNdEx = postIndex 94530 case 6: 94531 if wireType != 2 { 94532 return fmt.Errorf("proto: wrong wireType = %d for field TeamsToRoles", wireType) 94533 } 94534 var msglen int 94535 for shift := uint(0); ; shift += 7 { 94536 if shift >= 64 { 94537 return ErrIntOverflowTypes 94538 } 94539 if iNdEx >= l { 94540 return io.ErrUnexpectedEOF 94541 } 94542 b := dAtA[iNdEx] 94543 iNdEx++ 94544 msglen |= int(b&0x7F) << shift 94545 if b < 0x80 { 94546 break 94547 } 94548 } 94549 if msglen < 0 { 94550 return ErrInvalidLengthTypes 94551 } 94552 postIndex := iNdEx + msglen 94553 if postIndex < 0 { 94554 return ErrInvalidLengthTypes 94555 } 94556 if postIndex > l { 94557 return io.ErrUnexpectedEOF 94558 } 94559 m.TeamsToRoles = append(m.TeamsToRoles, TeamRolesMapping{}) 94560 if err := m.TeamsToRoles[len(m.TeamsToRoles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 94561 return err 94562 } 94563 iNdEx = postIndex 94564 case 7: 94565 if wireType != 2 { 94566 return fmt.Errorf("proto: wrong wireType = %d for field EndpointURL", wireType) 94567 } 94568 var stringLen uint64 94569 for shift := uint(0); ; shift += 7 { 94570 if shift >= 64 { 94571 return ErrIntOverflowTypes 94572 } 94573 if iNdEx >= l { 94574 return io.ErrUnexpectedEOF 94575 } 94576 b := dAtA[iNdEx] 94577 iNdEx++ 94578 stringLen |= uint64(b&0x7F) << shift 94579 if b < 0x80 { 94580 break 94581 } 94582 } 94583 intStringLen := int(stringLen) 94584 if intStringLen < 0 { 94585 return ErrInvalidLengthTypes 94586 } 94587 postIndex := iNdEx + intStringLen 94588 if postIndex < 0 { 94589 return ErrInvalidLengthTypes 94590 } 94591 if postIndex > l { 94592 return io.ErrUnexpectedEOF 94593 } 94594 m.EndpointURL = string(dAtA[iNdEx:postIndex]) 94595 iNdEx = postIndex 94596 case 8: 94597 if wireType != 2 { 94598 return fmt.Errorf("proto: wrong wireType = %d for field APIEndpointURL", wireType) 94599 } 94600 var stringLen uint64 94601 for shift := uint(0); ; shift += 7 { 94602 if shift >= 64 { 94603 return ErrIntOverflowTypes 94604 } 94605 if iNdEx >= l { 94606 return io.ErrUnexpectedEOF 94607 } 94608 b := dAtA[iNdEx] 94609 iNdEx++ 94610 stringLen |= uint64(b&0x7F) << shift 94611 if b < 0x80 { 94612 break 94613 } 94614 } 94615 intStringLen := int(stringLen) 94616 if intStringLen < 0 { 94617 return ErrInvalidLengthTypes 94618 } 94619 postIndex := iNdEx + intStringLen 94620 if postIndex < 0 { 94621 return ErrInvalidLengthTypes 94622 } 94623 if postIndex > l { 94624 return io.ErrUnexpectedEOF 94625 } 94626 m.APIEndpointURL = string(dAtA[iNdEx:postIndex]) 94627 iNdEx = postIndex 94628 default: 94629 iNdEx = preIndex 94630 skippy, err := skipTypes(dAtA[iNdEx:]) 94631 if err != nil { 94632 return err 94633 } 94634 if (skippy < 0) || (iNdEx+skippy) < 0 { 94635 return ErrInvalidLengthTypes 94636 } 94637 if (iNdEx + skippy) > l { 94638 return io.ErrUnexpectedEOF 94639 } 94640 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 94641 iNdEx += skippy 94642 } 94643 } 94644 94645 if iNdEx > l { 94646 return io.ErrUnexpectedEOF 94647 } 94648 return nil 94649 } 94650 func (m *GithubAuthRequest) Unmarshal(dAtA []byte) error { 94651 l := len(dAtA) 94652 iNdEx := 0 94653 for iNdEx < l { 94654 preIndex := iNdEx 94655 var wire uint64 94656 for shift := uint(0); ; shift += 7 { 94657 if shift >= 64 { 94658 return ErrIntOverflowTypes 94659 } 94660 if iNdEx >= l { 94661 return io.ErrUnexpectedEOF 94662 } 94663 b := dAtA[iNdEx] 94664 iNdEx++ 94665 wire |= uint64(b&0x7F) << shift 94666 if b < 0x80 { 94667 break 94668 } 94669 } 94670 fieldNum := int32(wire >> 3) 94671 wireType := int(wire & 0x7) 94672 if wireType == 4 { 94673 return fmt.Errorf("proto: GithubAuthRequest: wiretype end group for non-group") 94674 } 94675 if fieldNum <= 0 { 94676 return fmt.Errorf("proto: GithubAuthRequest: illegal tag %d (wire type %d)", fieldNum, wire) 94677 } 94678 switch fieldNum { 94679 case 1: 94680 if wireType != 2 { 94681 return fmt.Errorf("proto: wrong wireType = %d for field ConnectorID", wireType) 94682 } 94683 var stringLen uint64 94684 for shift := uint(0); ; shift += 7 { 94685 if shift >= 64 { 94686 return ErrIntOverflowTypes 94687 } 94688 if iNdEx >= l { 94689 return io.ErrUnexpectedEOF 94690 } 94691 b := dAtA[iNdEx] 94692 iNdEx++ 94693 stringLen |= uint64(b&0x7F) << shift 94694 if b < 0x80 { 94695 break 94696 } 94697 } 94698 intStringLen := int(stringLen) 94699 if intStringLen < 0 { 94700 return ErrInvalidLengthTypes 94701 } 94702 postIndex := iNdEx + intStringLen 94703 if postIndex < 0 { 94704 return ErrInvalidLengthTypes 94705 } 94706 if postIndex > l { 94707 return io.ErrUnexpectedEOF 94708 } 94709 m.ConnectorID = string(dAtA[iNdEx:postIndex]) 94710 iNdEx = postIndex 94711 case 2: 94712 if wireType != 2 { 94713 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 94714 } 94715 var stringLen uint64 94716 for shift := uint(0); ; shift += 7 { 94717 if shift >= 64 { 94718 return ErrIntOverflowTypes 94719 } 94720 if iNdEx >= l { 94721 return io.ErrUnexpectedEOF 94722 } 94723 b := dAtA[iNdEx] 94724 iNdEx++ 94725 stringLen |= uint64(b&0x7F) << shift 94726 if b < 0x80 { 94727 break 94728 } 94729 } 94730 intStringLen := int(stringLen) 94731 if intStringLen < 0 { 94732 return ErrInvalidLengthTypes 94733 } 94734 postIndex := iNdEx + intStringLen 94735 if postIndex < 0 { 94736 return ErrInvalidLengthTypes 94737 } 94738 if postIndex > l { 94739 return io.ErrUnexpectedEOF 94740 } 94741 m.Type = string(dAtA[iNdEx:postIndex]) 94742 iNdEx = postIndex 94743 case 3: 94744 if wireType != 2 { 94745 return fmt.Errorf("proto: wrong wireType = %d for field StateToken", wireType) 94746 } 94747 var stringLen uint64 94748 for shift := uint(0); ; shift += 7 { 94749 if shift >= 64 { 94750 return ErrIntOverflowTypes 94751 } 94752 if iNdEx >= l { 94753 return io.ErrUnexpectedEOF 94754 } 94755 b := dAtA[iNdEx] 94756 iNdEx++ 94757 stringLen |= uint64(b&0x7F) << shift 94758 if b < 0x80 { 94759 break 94760 } 94761 } 94762 intStringLen := int(stringLen) 94763 if intStringLen < 0 { 94764 return ErrInvalidLengthTypes 94765 } 94766 postIndex := iNdEx + intStringLen 94767 if postIndex < 0 { 94768 return ErrInvalidLengthTypes 94769 } 94770 if postIndex > l { 94771 return io.ErrUnexpectedEOF 94772 } 94773 m.StateToken = string(dAtA[iNdEx:postIndex]) 94774 iNdEx = postIndex 94775 case 4: 94776 if wireType != 2 { 94777 return fmt.Errorf("proto: wrong wireType = %d for field CSRFToken", wireType) 94778 } 94779 var stringLen uint64 94780 for shift := uint(0); ; shift += 7 { 94781 if shift >= 64 { 94782 return ErrIntOverflowTypes 94783 } 94784 if iNdEx >= l { 94785 return io.ErrUnexpectedEOF 94786 } 94787 b := dAtA[iNdEx] 94788 iNdEx++ 94789 stringLen |= uint64(b&0x7F) << shift 94790 if b < 0x80 { 94791 break 94792 } 94793 } 94794 intStringLen := int(stringLen) 94795 if intStringLen < 0 { 94796 return ErrInvalidLengthTypes 94797 } 94798 postIndex := iNdEx + intStringLen 94799 if postIndex < 0 { 94800 return ErrInvalidLengthTypes 94801 } 94802 if postIndex > l { 94803 return io.ErrUnexpectedEOF 94804 } 94805 m.CSRFToken = string(dAtA[iNdEx:postIndex]) 94806 iNdEx = postIndex 94807 case 5: 94808 if wireType != 2 { 94809 return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) 94810 } 94811 var byteLen int 94812 for shift := uint(0); ; shift += 7 { 94813 if shift >= 64 { 94814 return ErrIntOverflowTypes 94815 } 94816 if iNdEx >= l { 94817 return io.ErrUnexpectedEOF 94818 } 94819 b := dAtA[iNdEx] 94820 iNdEx++ 94821 byteLen |= int(b&0x7F) << shift 94822 if b < 0x80 { 94823 break 94824 } 94825 } 94826 if byteLen < 0 { 94827 return ErrInvalidLengthTypes 94828 } 94829 postIndex := iNdEx + byteLen 94830 if postIndex < 0 { 94831 return ErrInvalidLengthTypes 94832 } 94833 if postIndex > l { 94834 return io.ErrUnexpectedEOF 94835 } 94836 m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) 94837 if m.PublicKey == nil { 94838 m.PublicKey = []byte{} 94839 } 94840 iNdEx = postIndex 94841 case 6: 94842 if wireType != 0 { 94843 return fmt.Errorf("proto: wrong wireType = %d for field CertTTL", wireType) 94844 } 94845 m.CertTTL = 0 94846 for shift := uint(0); ; shift += 7 { 94847 if shift >= 64 { 94848 return ErrIntOverflowTypes 94849 } 94850 if iNdEx >= l { 94851 return io.ErrUnexpectedEOF 94852 } 94853 b := dAtA[iNdEx] 94854 iNdEx++ 94855 m.CertTTL |= time.Duration(b&0x7F) << shift 94856 if b < 0x80 { 94857 break 94858 } 94859 } 94860 case 7: 94861 if wireType != 0 { 94862 return fmt.Errorf("proto: wrong wireType = %d for field CreateWebSession", wireType) 94863 } 94864 var v int 94865 for shift := uint(0); ; shift += 7 { 94866 if shift >= 64 { 94867 return ErrIntOverflowTypes 94868 } 94869 if iNdEx >= l { 94870 return io.ErrUnexpectedEOF 94871 } 94872 b := dAtA[iNdEx] 94873 iNdEx++ 94874 v |= int(b&0x7F) << shift 94875 if b < 0x80 { 94876 break 94877 } 94878 } 94879 m.CreateWebSession = bool(v != 0) 94880 case 8: 94881 if wireType != 2 { 94882 return fmt.Errorf("proto: wrong wireType = %d for field RedirectURL", wireType) 94883 } 94884 var stringLen uint64 94885 for shift := uint(0); ; shift += 7 { 94886 if shift >= 64 { 94887 return ErrIntOverflowTypes 94888 } 94889 if iNdEx >= l { 94890 return io.ErrUnexpectedEOF 94891 } 94892 b := dAtA[iNdEx] 94893 iNdEx++ 94894 stringLen |= uint64(b&0x7F) << shift 94895 if b < 0x80 { 94896 break 94897 } 94898 } 94899 intStringLen := int(stringLen) 94900 if intStringLen < 0 { 94901 return ErrInvalidLengthTypes 94902 } 94903 postIndex := iNdEx + intStringLen 94904 if postIndex < 0 { 94905 return ErrInvalidLengthTypes 94906 } 94907 if postIndex > l { 94908 return io.ErrUnexpectedEOF 94909 } 94910 m.RedirectURL = string(dAtA[iNdEx:postIndex]) 94911 iNdEx = postIndex 94912 case 9: 94913 if wireType != 2 { 94914 return fmt.Errorf("proto: wrong wireType = %d for field ClientRedirectURL", wireType) 94915 } 94916 var stringLen uint64 94917 for shift := uint(0); ; shift += 7 { 94918 if shift >= 64 { 94919 return ErrIntOverflowTypes 94920 } 94921 if iNdEx >= l { 94922 return io.ErrUnexpectedEOF 94923 } 94924 b := dAtA[iNdEx] 94925 iNdEx++ 94926 stringLen |= uint64(b&0x7F) << shift 94927 if b < 0x80 { 94928 break 94929 } 94930 } 94931 intStringLen := int(stringLen) 94932 if intStringLen < 0 { 94933 return ErrInvalidLengthTypes 94934 } 94935 postIndex := iNdEx + intStringLen 94936 if postIndex < 0 { 94937 return ErrInvalidLengthTypes 94938 } 94939 if postIndex > l { 94940 return io.ErrUnexpectedEOF 94941 } 94942 m.ClientRedirectURL = string(dAtA[iNdEx:postIndex]) 94943 iNdEx = postIndex 94944 case 10: 94945 if wireType != 2 { 94946 return fmt.Errorf("proto: wrong wireType = %d for field Compatibility", wireType) 94947 } 94948 var stringLen uint64 94949 for shift := uint(0); ; shift += 7 { 94950 if shift >= 64 { 94951 return ErrIntOverflowTypes 94952 } 94953 if iNdEx >= l { 94954 return io.ErrUnexpectedEOF 94955 } 94956 b := dAtA[iNdEx] 94957 iNdEx++ 94958 stringLen |= uint64(b&0x7F) << shift 94959 if b < 0x80 { 94960 break 94961 } 94962 } 94963 intStringLen := int(stringLen) 94964 if intStringLen < 0 { 94965 return ErrInvalidLengthTypes 94966 } 94967 postIndex := iNdEx + intStringLen 94968 if postIndex < 0 { 94969 return ErrInvalidLengthTypes 94970 } 94971 if postIndex > l { 94972 return io.ErrUnexpectedEOF 94973 } 94974 m.Compatibility = string(dAtA[iNdEx:postIndex]) 94975 iNdEx = postIndex 94976 case 11: 94977 if wireType != 2 { 94978 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 94979 } 94980 var msglen int 94981 for shift := uint(0); ; shift += 7 { 94982 if shift >= 64 { 94983 return ErrIntOverflowTypes 94984 } 94985 if iNdEx >= l { 94986 return io.ErrUnexpectedEOF 94987 } 94988 b := dAtA[iNdEx] 94989 iNdEx++ 94990 msglen |= int(b&0x7F) << shift 94991 if b < 0x80 { 94992 break 94993 } 94994 } 94995 if msglen < 0 { 94996 return ErrInvalidLengthTypes 94997 } 94998 postIndex := iNdEx + msglen 94999 if postIndex < 0 { 95000 return ErrInvalidLengthTypes 95001 } 95002 if postIndex > l { 95003 return io.ErrUnexpectedEOF 95004 } 95005 if m.Expires == nil { 95006 m.Expires = new(time.Time) 95007 } 95008 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.Expires, dAtA[iNdEx:postIndex]); err != nil { 95009 return err 95010 } 95011 iNdEx = postIndex 95012 case 12: 95013 if wireType != 2 { 95014 return fmt.Errorf("proto: wrong wireType = %d for field RouteToCluster", wireType) 95015 } 95016 var stringLen uint64 95017 for shift := uint(0); ; shift += 7 { 95018 if shift >= 64 { 95019 return ErrIntOverflowTypes 95020 } 95021 if iNdEx >= l { 95022 return io.ErrUnexpectedEOF 95023 } 95024 b := dAtA[iNdEx] 95025 iNdEx++ 95026 stringLen |= uint64(b&0x7F) << shift 95027 if b < 0x80 { 95028 break 95029 } 95030 } 95031 intStringLen := int(stringLen) 95032 if intStringLen < 0 { 95033 return ErrInvalidLengthTypes 95034 } 95035 postIndex := iNdEx + intStringLen 95036 if postIndex < 0 { 95037 return ErrInvalidLengthTypes 95038 } 95039 if postIndex > l { 95040 return io.ErrUnexpectedEOF 95041 } 95042 m.RouteToCluster = string(dAtA[iNdEx:postIndex]) 95043 iNdEx = postIndex 95044 case 13: 95045 if wireType != 2 { 95046 return fmt.Errorf("proto: wrong wireType = %d for field KubernetesCluster", wireType) 95047 } 95048 var stringLen uint64 95049 for shift := uint(0); ; shift += 7 { 95050 if shift >= 64 { 95051 return ErrIntOverflowTypes 95052 } 95053 if iNdEx >= l { 95054 return io.ErrUnexpectedEOF 95055 } 95056 b := dAtA[iNdEx] 95057 iNdEx++ 95058 stringLen |= uint64(b&0x7F) << shift 95059 if b < 0x80 { 95060 break 95061 } 95062 } 95063 intStringLen := int(stringLen) 95064 if intStringLen < 0 { 95065 return ErrInvalidLengthTypes 95066 } 95067 postIndex := iNdEx + intStringLen 95068 if postIndex < 0 { 95069 return ErrInvalidLengthTypes 95070 } 95071 if postIndex > l { 95072 return io.ErrUnexpectedEOF 95073 } 95074 m.KubernetesCluster = string(dAtA[iNdEx:postIndex]) 95075 iNdEx = postIndex 95076 case 14: 95077 if wireType != 0 { 95078 return fmt.Errorf("proto: wrong wireType = %d for field SSOTestFlow", wireType) 95079 } 95080 var v int 95081 for shift := uint(0); ; shift += 7 { 95082 if shift >= 64 { 95083 return ErrIntOverflowTypes 95084 } 95085 if iNdEx >= l { 95086 return io.ErrUnexpectedEOF 95087 } 95088 b := dAtA[iNdEx] 95089 iNdEx++ 95090 v |= int(b&0x7F) << shift 95091 if b < 0x80 { 95092 break 95093 } 95094 } 95095 m.SSOTestFlow = bool(v != 0) 95096 case 15: 95097 if wireType != 2 { 95098 return fmt.Errorf("proto: wrong wireType = %d for field ConnectorSpec", wireType) 95099 } 95100 var msglen int 95101 for shift := uint(0); ; shift += 7 { 95102 if shift >= 64 { 95103 return ErrIntOverflowTypes 95104 } 95105 if iNdEx >= l { 95106 return io.ErrUnexpectedEOF 95107 } 95108 b := dAtA[iNdEx] 95109 iNdEx++ 95110 msglen |= int(b&0x7F) << shift 95111 if b < 0x80 { 95112 break 95113 } 95114 } 95115 if msglen < 0 { 95116 return ErrInvalidLengthTypes 95117 } 95118 postIndex := iNdEx + msglen 95119 if postIndex < 0 { 95120 return ErrInvalidLengthTypes 95121 } 95122 if postIndex > l { 95123 return io.ErrUnexpectedEOF 95124 } 95125 if m.ConnectorSpec == nil { 95126 m.ConnectorSpec = &GithubConnectorSpecV3{} 95127 } 95128 if err := m.ConnectorSpec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 95129 return err 95130 } 95131 iNdEx = postIndex 95132 case 16: 95133 if wireType != 2 { 95134 return fmt.Errorf("proto: wrong wireType = %d for field AttestationStatement", wireType) 95135 } 95136 var msglen int 95137 for shift := uint(0); ; shift += 7 { 95138 if shift >= 64 { 95139 return ErrIntOverflowTypes 95140 } 95141 if iNdEx >= l { 95142 return io.ErrUnexpectedEOF 95143 } 95144 b := dAtA[iNdEx] 95145 iNdEx++ 95146 msglen |= int(b&0x7F) << shift 95147 if b < 0x80 { 95148 break 95149 } 95150 } 95151 if msglen < 0 { 95152 return ErrInvalidLengthTypes 95153 } 95154 postIndex := iNdEx + msglen 95155 if postIndex < 0 { 95156 return ErrInvalidLengthTypes 95157 } 95158 if postIndex > l { 95159 return io.ErrUnexpectedEOF 95160 } 95161 if m.AttestationStatement == nil { 95162 m.AttestationStatement = &v1.AttestationStatement{} 95163 } 95164 if err := m.AttestationStatement.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 95165 return err 95166 } 95167 iNdEx = postIndex 95168 case 17: 95169 if wireType != 2 { 95170 return fmt.Errorf("proto: wrong wireType = %d for field ClientLoginIP", wireType) 95171 } 95172 var stringLen uint64 95173 for shift := uint(0); ; shift += 7 { 95174 if shift >= 64 { 95175 return ErrIntOverflowTypes 95176 } 95177 if iNdEx >= l { 95178 return io.ErrUnexpectedEOF 95179 } 95180 b := dAtA[iNdEx] 95181 iNdEx++ 95182 stringLen |= uint64(b&0x7F) << shift 95183 if b < 0x80 { 95184 break 95185 } 95186 } 95187 intStringLen := int(stringLen) 95188 if intStringLen < 0 { 95189 return ErrInvalidLengthTypes 95190 } 95191 postIndex := iNdEx + intStringLen 95192 if postIndex < 0 { 95193 return ErrInvalidLengthTypes 95194 } 95195 if postIndex > l { 95196 return io.ErrUnexpectedEOF 95197 } 95198 m.ClientLoginIP = string(dAtA[iNdEx:postIndex]) 95199 iNdEx = postIndex 95200 default: 95201 iNdEx = preIndex 95202 skippy, err := skipTypes(dAtA[iNdEx:]) 95203 if err != nil { 95204 return err 95205 } 95206 if (skippy < 0) || (iNdEx+skippy) < 0 { 95207 return ErrInvalidLengthTypes 95208 } 95209 if (iNdEx + skippy) > l { 95210 return io.ErrUnexpectedEOF 95211 } 95212 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 95213 iNdEx += skippy 95214 } 95215 } 95216 95217 if iNdEx > l { 95218 return io.ErrUnexpectedEOF 95219 } 95220 return nil 95221 } 95222 func (m *SSOWarnings) Unmarshal(dAtA []byte) error { 95223 l := len(dAtA) 95224 iNdEx := 0 95225 for iNdEx < l { 95226 preIndex := iNdEx 95227 var wire uint64 95228 for shift := uint(0); ; shift += 7 { 95229 if shift >= 64 { 95230 return ErrIntOverflowTypes 95231 } 95232 if iNdEx >= l { 95233 return io.ErrUnexpectedEOF 95234 } 95235 b := dAtA[iNdEx] 95236 iNdEx++ 95237 wire |= uint64(b&0x7F) << shift 95238 if b < 0x80 { 95239 break 95240 } 95241 } 95242 fieldNum := int32(wire >> 3) 95243 wireType := int(wire & 0x7) 95244 if wireType == 4 { 95245 return fmt.Errorf("proto: SSOWarnings: wiretype end group for non-group") 95246 } 95247 if fieldNum <= 0 { 95248 return fmt.Errorf("proto: SSOWarnings: illegal tag %d (wire type %d)", fieldNum, wire) 95249 } 95250 switch fieldNum { 95251 case 1: 95252 if wireType != 2 { 95253 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) 95254 } 95255 var stringLen uint64 95256 for shift := uint(0); ; shift += 7 { 95257 if shift >= 64 { 95258 return ErrIntOverflowTypes 95259 } 95260 if iNdEx >= l { 95261 return io.ErrUnexpectedEOF 95262 } 95263 b := dAtA[iNdEx] 95264 iNdEx++ 95265 stringLen |= uint64(b&0x7F) << shift 95266 if b < 0x80 { 95267 break 95268 } 95269 } 95270 intStringLen := int(stringLen) 95271 if intStringLen < 0 { 95272 return ErrInvalidLengthTypes 95273 } 95274 postIndex := iNdEx + intStringLen 95275 if postIndex < 0 { 95276 return ErrInvalidLengthTypes 95277 } 95278 if postIndex > l { 95279 return io.ErrUnexpectedEOF 95280 } 95281 m.Message = string(dAtA[iNdEx:postIndex]) 95282 iNdEx = postIndex 95283 case 2: 95284 if wireType != 2 { 95285 return fmt.Errorf("proto: wrong wireType = %d for field Warnings", wireType) 95286 } 95287 var stringLen uint64 95288 for shift := uint(0); ; shift += 7 { 95289 if shift >= 64 { 95290 return ErrIntOverflowTypes 95291 } 95292 if iNdEx >= l { 95293 return io.ErrUnexpectedEOF 95294 } 95295 b := dAtA[iNdEx] 95296 iNdEx++ 95297 stringLen |= uint64(b&0x7F) << shift 95298 if b < 0x80 { 95299 break 95300 } 95301 } 95302 intStringLen := int(stringLen) 95303 if intStringLen < 0 { 95304 return ErrInvalidLengthTypes 95305 } 95306 postIndex := iNdEx + intStringLen 95307 if postIndex < 0 { 95308 return ErrInvalidLengthTypes 95309 } 95310 if postIndex > l { 95311 return io.ErrUnexpectedEOF 95312 } 95313 m.Warnings = append(m.Warnings, string(dAtA[iNdEx:postIndex])) 95314 iNdEx = postIndex 95315 default: 95316 iNdEx = preIndex 95317 skippy, err := skipTypes(dAtA[iNdEx:]) 95318 if err != nil { 95319 return err 95320 } 95321 if (skippy < 0) || (iNdEx+skippy) < 0 { 95322 return ErrInvalidLengthTypes 95323 } 95324 if (iNdEx + skippy) > l { 95325 return io.ErrUnexpectedEOF 95326 } 95327 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 95328 iNdEx += skippy 95329 } 95330 } 95331 95332 if iNdEx > l { 95333 return io.ErrUnexpectedEOF 95334 } 95335 return nil 95336 } 95337 func (m *CreateUserParams) Unmarshal(dAtA []byte) error { 95338 l := len(dAtA) 95339 iNdEx := 0 95340 for iNdEx < l { 95341 preIndex := iNdEx 95342 var wire uint64 95343 for shift := uint(0); ; shift += 7 { 95344 if shift >= 64 { 95345 return ErrIntOverflowTypes 95346 } 95347 if iNdEx >= l { 95348 return io.ErrUnexpectedEOF 95349 } 95350 b := dAtA[iNdEx] 95351 iNdEx++ 95352 wire |= uint64(b&0x7F) << shift 95353 if b < 0x80 { 95354 break 95355 } 95356 } 95357 fieldNum := int32(wire >> 3) 95358 wireType := int(wire & 0x7) 95359 if wireType == 4 { 95360 return fmt.Errorf("proto: CreateUserParams: wiretype end group for non-group") 95361 } 95362 if fieldNum <= 0 { 95363 return fmt.Errorf("proto: CreateUserParams: illegal tag %d (wire type %d)", fieldNum, wire) 95364 } 95365 switch fieldNum { 95366 case 1: 95367 if wireType != 2 { 95368 return fmt.Errorf("proto: wrong wireType = %d for field ConnectorName", wireType) 95369 } 95370 var stringLen uint64 95371 for shift := uint(0); ; shift += 7 { 95372 if shift >= 64 { 95373 return ErrIntOverflowTypes 95374 } 95375 if iNdEx >= l { 95376 return io.ErrUnexpectedEOF 95377 } 95378 b := dAtA[iNdEx] 95379 iNdEx++ 95380 stringLen |= uint64(b&0x7F) << shift 95381 if b < 0x80 { 95382 break 95383 } 95384 } 95385 intStringLen := int(stringLen) 95386 if intStringLen < 0 { 95387 return ErrInvalidLengthTypes 95388 } 95389 postIndex := iNdEx + intStringLen 95390 if postIndex < 0 { 95391 return ErrInvalidLengthTypes 95392 } 95393 if postIndex > l { 95394 return io.ErrUnexpectedEOF 95395 } 95396 m.ConnectorName = string(dAtA[iNdEx:postIndex]) 95397 iNdEx = postIndex 95398 case 2: 95399 if wireType != 2 { 95400 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 95401 } 95402 var stringLen uint64 95403 for shift := uint(0); ; shift += 7 { 95404 if shift >= 64 { 95405 return ErrIntOverflowTypes 95406 } 95407 if iNdEx >= l { 95408 return io.ErrUnexpectedEOF 95409 } 95410 b := dAtA[iNdEx] 95411 iNdEx++ 95412 stringLen |= uint64(b&0x7F) << shift 95413 if b < 0x80 { 95414 break 95415 } 95416 } 95417 intStringLen := int(stringLen) 95418 if intStringLen < 0 { 95419 return ErrInvalidLengthTypes 95420 } 95421 postIndex := iNdEx + intStringLen 95422 if postIndex < 0 { 95423 return ErrInvalidLengthTypes 95424 } 95425 if postIndex > l { 95426 return io.ErrUnexpectedEOF 95427 } 95428 m.Username = string(dAtA[iNdEx:postIndex]) 95429 iNdEx = postIndex 95430 case 3: 95431 if wireType != 2 { 95432 return fmt.Errorf("proto: wrong wireType = %d for field Logins", wireType) 95433 } 95434 var stringLen uint64 95435 for shift := uint(0); ; shift += 7 { 95436 if shift >= 64 { 95437 return ErrIntOverflowTypes 95438 } 95439 if iNdEx >= l { 95440 return io.ErrUnexpectedEOF 95441 } 95442 b := dAtA[iNdEx] 95443 iNdEx++ 95444 stringLen |= uint64(b&0x7F) << shift 95445 if b < 0x80 { 95446 break 95447 } 95448 } 95449 intStringLen := int(stringLen) 95450 if intStringLen < 0 { 95451 return ErrInvalidLengthTypes 95452 } 95453 postIndex := iNdEx + intStringLen 95454 if postIndex < 0 { 95455 return ErrInvalidLengthTypes 95456 } 95457 if postIndex > l { 95458 return io.ErrUnexpectedEOF 95459 } 95460 m.Logins = append(m.Logins, string(dAtA[iNdEx:postIndex])) 95461 iNdEx = postIndex 95462 case 4: 95463 if wireType != 2 { 95464 return fmt.Errorf("proto: wrong wireType = %d for field KubeGroups", wireType) 95465 } 95466 var stringLen uint64 95467 for shift := uint(0); ; shift += 7 { 95468 if shift >= 64 { 95469 return ErrIntOverflowTypes 95470 } 95471 if iNdEx >= l { 95472 return io.ErrUnexpectedEOF 95473 } 95474 b := dAtA[iNdEx] 95475 iNdEx++ 95476 stringLen |= uint64(b&0x7F) << shift 95477 if b < 0x80 { 95478 break 95479 } 95480 } 95481 intStringLen := int(stringLen) 95482 if intStringLen < 0 { 95483 return ErrInvalidLengthTypes 95484 } 95485 postIndex := iNdEx + intStringLen 95486 if postIndex < 0 { 95487 return ErrInvalidLengthTypes 95488 } 95489 if postIndex > l { 95490 return io.ErrUnexpectedEOF 95491 } 95492 m.KubeGroups = append(m.KubeGroups, string(dAtA[iNdEx:postIndex])) 95493 iNdEx = postIndex 95494 case 5: 95495 if wireType != 2 { 95496 return fmt.Errorf("proto: wrong wireType = %d for field KubeUsers", wireType) 95497 } 95498 var stringLen uint64 95499 for shift := uint(0); ; shift += 7 { 95500 if shift >= 64 { 95501 return ErrIntOverflowTypes 95502 } 95503 if iNdEx >= l { 95504 return io.ErrUnexpectedEOF 95505 } 95506 b := dAtA[iNdEx] 95507 iNdEx++ 95508 stringLen |= uint64(b&0x7F) << shift 95509 if b < 0x80 { 95510 break 95511 } 95512 } 95513 intStringLen := int(stringLen) 95514 if intStringLen < 0 { 95515 return ErrInvalidLengthTypes 95516 } 95517 postIndex := iNdEx + intStringLen 95518 if postIndex < 0 { 95519 return ErrInvalidLengthTypes 95520 } 95521 if postIndex > l { 95522 return io.ErrUnexpectedEOF 95523 } 95524 m.KubeUsers = append(m.KubeUsers, string(dAtA[iNdEx:postIndex])) 95525 iNdEx = postIndex 95526 case 6: 95527 if wireType != 2 { 95528 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 95529 } 95530 var stringLen uint64 95531 for shift := uint(0); ; shift += 7 { 95532 if shift >= 64 { 95533 return ErrIntOverflowTypes 95534 } 95535 if iNdEx >= l { 95536 return io.ErrUnexpectedEOF 95537 } 95538 b := dAtA[iNdEx] 95539 iNdEx++ 95540 stringLen |= uint64(b&0x7F) << shift 95541 if b < 0x80 { 95542 break 95543 } 95544 } 95545 intStringLen := int(stringLen) 95546 if intStringLen < 0 { 95547 return ErrInvalidLengthTypes 95548 } 95549 postIndex := iNdEx + intStringLen 95550 if postIndex < 0 { 95551 return ErrInvalidLengthTypes 95552 } 95553 if postIndex > l { 95554 return io.ErrUnexpectedEOF 95555 } 95556 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 95557 iNdEx = postIndex 95558 case 7: 95559 if wireType != 2 { 95560 return fmt.Errorf("proto: wrong wireType = %d for field Traits", wireType) 95561 } 95562 var msglen int 95563 for shift := uint(0); ; shift += 7 { 95564 if shift >= 64 { 95565 return ErrIntOverflowTypes 95566 } 95567 if iNdEx >= l { 95568 return io.ErrUnexpectedEOF 95569 } 95570 b := dAtA[iNdEx] 95571 iNdEx++ 95572 msglen |= int(b&0x7F) << shift 95573 if b < 0x80 { 95574 break 95575 } 95576 } 95577 if msglen < 0 { 95578 return ErrInvalidLengthTypes 95579 } 95580 postIndex := iNdEx + msglen 95581 if postIndex < 0 { 95582 return ErrInvalidLengthTypes 95583 } 95584 if postIndex > l { 95585 return io.ErrUnexpectedEOF 95586 } 95587 if err := m.Traits.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 95588 return err 95589 } 95590 iNdEx = postIndex 95591 case 8: 95592 if wireType != 0 { 95593 return fmt.Errorf("proto: wrong wireType = %d for field SessionTTL", wireType) 95594 } 95595 m.SessionTTL = 0 95596 for shift := uint(0); ; shift += 7 { 95597 if shift >= 64 { 95598 return ErrIntOverflowTypes 95599 } 95600 if iNdEx >= l { 95601 return io.ErrUnexpectedEOF 95602 } 95603 b := dAtA[iNdEx] 95604 iNdEx++ 95605 m.SessionTTL |= Duration(b&0x7F) << shift 95606 if b < 0x80 { 95607 break 95608 } 95609 } 95610 default: 95611 iNdEx = preIndex 95612 skippy, err := skipTypes(dAtA[iNdEx:]) 95613 if err != nil { 95614 return err 95615 } 95616 if (skippy < 0) || (iNdEx+skippy) < 0 { 95617 return ErrInvalidLengthTypes 95618 } 95619 if (iNdEx + skippy) > l { 95620 return io.ErrUnexpectedEOF 95621 } 95622 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 95623 iNdEx += skippy 95624 } 95625 } 95626 95627 if iNdEx > l { 95628 return io.ErrUnexpectedEOF 95629 } 95630 return nil 95631 } 95632 func (m *SSODiagnosticInfo) Unmarshal(dAtA []byte) error { 95633 l := len(dAtA) 95634 iNdEx := 0 95635 for iNdEx < l { 95636 preIndex := iNdEx 95637 var wire uint64 95638 for shift := uint(0); ; shift += 7 { 95639 if shift >= 64 { 95640 return ErrIntOverflowTypes 95641 } 95642 if iNdEx >= l { 95643 return io.ErrUnexpectedEOF 95644 } 95645 b := dAtA[iNdEx] 95646 iNdEx++ 95647 wire |= uint64(b&0x7F) << shift 95648 if b < 0x80 { 95649 break 95650 } 95651 } 95652 fieldNum := int32(wire >> 3) 95653 wireType := int(wire & 0x7) 95654 if wireType == 4 { 95655 return fmt.Errorf("proto: SSODiagnosticInfo: wiretype end group for non-group") 95656 } 95657 if fieldNum <= 0 { 95658 return fmt.Errorf("proto: SSODiagnosticInfo: illegal tag %d (wire type %d)", fieldNum, wire) 95659 } 95660 switch fieldNum { 95661 case 1: 95662 if wireType != 0 { 95663 return fmt.Errorf("proto: wrong wireType = %d for field TestFlow", wireType) 95664 } 95665 var v int 95666 for shift := uint(0); ; shift += 7 { 95667 if shift >= 64 { 95668 return ErrIntOverflowTypes 95669 } 95670 if iNdEx >= l { 95671 return io.ErrUnexpectedEOF 95672 } 95673 b := dAtA[iNdEx] 95674 iNdEx++ 95675 v |= int(b&0x7F) << shift 95676 if b < 0x80 { 95677 break 95678 } 95679 } 95680 m.TestFlow = bool(v != 0) 95681 case 2: 95682 if wireType != 2 { 95683 return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType) 95684 } 95685 var stringLen uint64 95686 for shift := uint(0); ; shift += 7 { 95687 if shift >= 64 { 95688 return ErrIntOverflowTypes 95689 } 95690 if iNdEx >= l { 95691 return io.ErrUnexpectedEOF 95692 } 95693 b := dAtA[iNdEx] 95694 iNdEx++ 95695 stringLen |= uint64(b&0x7F) << shift 95696 if b < 0x80 { 95697 break 95698 } 95699 } 95700 intStringLen := int(stringLen) 95701 if intStringLen < 0 { 95702 return ErrInvalidLengthTypes 95703 } 95704 postIndex := iNdEx + intStringLen 95705 if postIndex < 0 { 95706 return ErrInvalidLengthTypes 95707 } 95708 if postIndex > l { 95709 return io.ErrUnexpectedEOF 95710 } 95711 m.Error = string(dAtA[iNdEx:postIndex]) 95712 iNdEx = postIndex 95713 case 3: 95714 if wireType != 0 { 95715 return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType) 95716 } 95717 var v int 95718 for shift := uint(0); ; shift += 7 { 95719 if shift >= 64 { 95720 return ErrIntOverflowTypes 95721 } 95722 if iNdEx >= l { 95723 return io.ErrUnexpectedEOF 95724 } 95725 b := dAtA[iNdEx] 95726 iNdEx++ 95727 v |= int(b&0x7F) << shift 95728 if b < 0x80 { 95729 break 95730 } 95731 } 95732 m.Success = bool(v != 0) 95733 case 4: 95734 if wireType != 2 { 95735 return fmt.Errorf("proto: wrong wireType = %d for field CreateUserParams", wireType) 95736 } 95737 var msglen int 95738 for shift := uint(0); ; shift += 7 { 95739 if shift >= 64 { 95740 return ErrIntOverflowTypes 95741 } 95742 if iNdEx >= l { 95743 return io.ErrUnexpectedEOF 95744 } 95745 b := dAtA[iNdEx] 95746 iNdEx++ 95747 msglen |= int(b&0x7F) << shift 95748 if b < 0x80 { 95749 break 95750 } 95751 } 95752 if msglen < 0 { 95753 return ErrInvalidLengthTypes 95754 } 95755 postIndex := iNdEx + msglen 95756 if postIndex < 0 { 95757 return ErrInvalidLengthTypes 95758 } 95759 if postIndex > l { 95760 return io.ErrUnexpectedEOF 95761 } 95762 if m.CreateUserParams == nil { 95763 m.CreateUserParams = &CreateUserParams{} 95764 } 95765 if err := m.CreateUserParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 95766 return err 95767 } 95768 iNdEx = postIndex 95769 case 10: 95770 if wireType != 2 { 95771 return fmt.Errorf("proto: wrong wireType = %d for field SAMLAttributesToRoles", wireType) 95772 } 95773 var msglen int 95774 for shift := uint(0); ; shift += 7 { 95775 if shift >= 64 { 95776 return ErrIntOverflowTypes 95777 } 95778 if iNdEx >= l { 95779 return io.ErrUnexpectedEOF 95780 } 95781 b := dAtA[iNdEx] 95782 iNdEx++ 95783 msglen |= int(b&0x7F) << shift 95784 if b < 0x80 { 95785 break 95786 } 95787 } 95788 if msglen < 0 { 95789 return ErrInvalidLengthTypes 95790 } 95791 postIndex := iNdEx + msglen 95792 if postIndex < 0 { 95793 return ErrInvalidLengthTypes 95794 } 95795 if postIndex > l { 95796 return io.ErrUnexpectedEOF 95797 } 95798 m.SAMLAttributesToRoles = append(m.SAMLAttributesToRoles, AttributeMapping{}) 95799 if err := m.SAMLAttributesToRoles[len(m.SAMLAttributesToRoles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 95800 return err 95801 } 95802 iNdEx = postIndex 95803 case 11: 95804 if wireType != 2 { 95805 return fmt.Errorf("proto: wrong wireType = %d for field SAMLAttributesToRolesWarnings", wireType) 95806 } 95807 var msglen int 95808 for shift := uint(0); ; shift += 7 { 95809 if shift >= 64 { 95810 return ErrIntOverflowTypes 95811 } 95812 if iNdEx >= l { 95813 return io.ErrUnexpectedEOF 95814 } 95815 b := dAtA[iNdEx] 95816 iNdEx++ 95817 msglen |= int(b&0x7F) << shift 95818 if b < 0x80 { 95819 break 95820 } 95821 } 95822 if msglen < 0 { 95823 return ErrInvalidLengthTypes 95824 } 95825 postIndex := iNdEx + msglen 95826 if postIndex < 0 { 95827 return ErrInvalidLengthTypes 95828 } 95829 if postIndex > l { 95830 return io.ErrUnexpectedEOF 95831 } 95832 if m.SAMLAttributesToRolesWarnings == nil { 95833 m.SAMLAttributesToRolesWarnings = &SSOWarnings{} 95834 } 95835 if err := m.SAMLAttributesToRolesWarnings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 95836 return err 95837 } 95838 iNdEx = postIndex 95839 case 12: 95840 if wireType != 2 { 95841 return fmt.Errorf("proto: wrong wireType = %d for field SAMLAttributeStatements", wireType) 95842 } 95843 var msglen int 95844 for shift := uint(0); ; shift += 7 { 95845 if shift >= 64 { 95846 return ErrIntOverflowTypes 95847 } 95848 if iNdEx >= l { 95849 return io.ErrUnexpectedEOF 95850 } 95851 b := dAtA[iNdEx] 95852 iNdEx++ 95853 msglen |= int(b&0x7F) << shift 95854 if b < 0x80 { 95855 break 95856 } 95857 } 95858 if msglen < 0 { 95859 return ErrInvalidLengthTypes 95860 } 95861 postIndex := iNdEx + msglen 95862 if postIndex < 0 { 95863 return ErrInvalidLengthTypes 95864 } 95865 if postIndex > l { 95866 return io.ErrUnexpectedEOF 95867 } 95868 if err := m.SAMLAttributeStatements.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 95869 return err 95870 } 95871 iNdEx = postIndex 95872 case 13: 95873 if wireType != 2 { 95874 return fmt.Errorf("proto: wrong wireType = %d for field SAMLAssertionInfo", wireType) 95875 } 95876 var msglen int 95877 for shift := uint(0); ; shift += 7 { 95878 if shift >= 64 { 95879 return ErrIntOverflowTypes 95880 } 95881 if iNdEx >= l { 95882 return io.ErrUnexpectedEOF 95883 } 95884 b := dAtA[iNdEx] 95885 iNdEx++ 95886 msglen |= int(b&0x7F) << shift 95887 if b < 0x80 { 95888 break 95889 } 95890 } 95891 if msglen < 0 { 95892 return ErrInvalidLengthTypes 95893 } 95894 postIndex := iNdEx + msglen 95895 if postIndex < 0 { 95896 return ErrInvalidLengthTypes 95897 } 95898 if postIndex > l { 95899 return io.ErrUnexpectedEOF 95900 } 95901 if m.SAMLAssertionInfo == nil { 95902 m.SAMLAssertionInfo = &AssertionInfo{} 95903 } 95904 if err := m.SAMLAssertionInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 95905 return err 95906 } 95907 iNdEx = postIndex 95908 case 14: 95909 if wireType != 2 { 95910 return fmt.Errorf("proto: wrong wireType = %d for field SAMLTraitsFromAssertions", wireType) 95911 } 95912 var msglen int 95913 for shift := uint(0); ; shift += 7 { 95914 if shift >= 64 { 95915 return ErrIntOverflowTypes 95916 } 95917 if iNdEx >= l { 95918 return io.ErrUnexpectedEOF 95919 } 95920 b := dAtA[iNdEx] 95921 iNdEx++ 95922 msglen |= int(b&0x7F) << shift 95923 if b < 0x80 { 95924 break 95925 } 95926 } 95927 if msglen < 0 { 95928 return ErrInvalidLengthTypes 95929 } 95930 postIndex := iNdEx + msglen 95931 if postIndex < 0 { 95932 return ErrInvalidLengthTypes 95933 } 95934 if postIndex > l { 95935 return io.ErrUnexpectedEOF 95936 } 95937 if err := m.SAMLTraitsFromAssertions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 95938 return err 95939 } 95940 iNdEx = postIndex 95941 case 15: 95942 if wireType != 2 { 95943 return fmt.Errorf("proto: wrong wireType = %d for field SAMLConnectorTraitMapping", wireType) 95944 } 95945 var msglen int 95946 for shift := uint(0); ; shift += 7 { 95947 if shift >= 64 { 95948 return ErrIntOverflowTypes 95949 } 95950 if iNdEx >= l { 95951 return io.ErrUnexpectedEOF 95952 } 95953 b := dAtA[iNdEx] 95954 iNdEx++ 95955 msglen |= int(b&0x7F) << shift 95956 if b < 0x80 { 95957 break 95958 } 95959 } 95960 if msglen < 0 { 95961 return ErrInvalidLengthTypes 95962 } 95963 postIndex := iNdEx + msglen 95964 if postIndex < 0 { 95965 return ErrInvalidLengthTypes 95966 } 95967 if postIndex > l { 95968 return io.ErrUnexpectedEOF 95969 } 95970 m.SAMLConnectorTraitMapping = append(m.SAMLConnectorTraitMapping, TraitMapping{}) 95971 if err := m.SAMLConnectorTraitMapping[len(m.SAMLConnectorTraitMapping)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 95972 return err 95973 } 95974 iNdEx = postIndex 95975 case 20: 95976 if wireType != 2 { 95977 return fmt.Errorf("proto: wrong wireType = %d for field OIDCClaimsToRoles", wireType) 95978 } 95979 var msglen int 95980 for shift := uint(0); ; shift += 7 { 95981 if shift >= 64 { 95982 return ErrIntOverflowTypes 95983 } 95984 if iNdEx >= l { 95985 return io.ErrUnexpectedEOF 95986 } 95987 b := dAtA[iNdEx] 95988 iNdEx++ 95989 msglen |= int(b&0x7F) << shift 95990 if b < 0x80 { 95991 break 95992 } 95993 } 95994 if msglen < 0 { 95995 return ErrInvalidLengthTypes 95996 } 95997 postIndex := iNdEx + msglen 95998 if postIndex < 0 { 95999 return ErrInvalidLengthTypes 96000 } 96001 if postIndex > l { 96002 return io.ErrUnexpectedEOF 96003 } 96004 m.OIDCClaimsToRoles = append(m.OIDCClaimsToRoles, ClaimMapping{}) 96005 if err := m.OIDCClaimsToRoles[len(m.OIDCClaimsToRoles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 96006 return err 96007 } 96008 iNdEx = postIndex 96009 case 21: 96010 if wireType != 2 { 96011 return fmt.Errorf("proto: wrong wireType = %d for field OIDCClaimsToRolesWarnings", wireType) 96012 } 96013 var msglen int 96014 for shift := uint(0); ; shift += 7 { 96015 if shift >= 64 { 96016 return ErrIntOverflowTypes 96017 } 96018 if iNdEx >= l { 96019 return io.ErrUnexpectedEOF 96020 } 96021 b := dAtA[iNdEx] 96022 iNdEx++ 96023 msglen |= int(b&0x7F) << shift 96024 if b < 0x80 { 96025 break 96026 } 96027 } 96028 if msglen < 0 { 96029 return ErrInvalidLengthTypes 96030 } 96031 postIndex := iNdEx + msglen 96032 if postIndex < 0 { 96033 return ErrInvalidLengthTypes 96034 } 96035 if postIndex > l { 96036 return io.ErrUnexpectedEOF 96037 } 96038 if m.OIDCClaimsToRolesWarnings == nil { 96039 m.OIDCClaimsToRolesWarnings = &SSOWarnings{} 96040 } 96041 if err := m.OIDCClaimsToRolesWarnings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 96042 return err 96043 } 96044 iNdEx = postIndex 96045 case 22: 96046 if wireType != 2 { 96047 return fmt.Errorf("proto: wrong wireType = %d for field OIDCClaims", wireType) 96048 } 96049 var msglen int 96050 for shift := uint(0); ; shift += 7 { 96051 if shift >= 64 { 96052 return ErrIntOverflowTypes 96053 } 96054 if iNdEx >= l { 96055 return io.ErrUnexpectedEOF 96056 } 96057 b := dAtA[iNdEx] 96058 iNdEx++ 96059 msglen |= int(b&0x7F) << shift 96060 if b < 0x80 { 96061 break 96062 } 96063 } 96064 if msglen < 0 { 96065 return ErrInvalidLengthTypes 96066 } 96067 postIndex := iNdEx + msglen 96068 if postIndex < 0 { 96069 return ErrInvalidLengthTypes 96070 } 96071 if postIndex > l { 96072 return io.ErrUnexpectedEOF 96073 } 96074 if err := m.OIDCClaims.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 96075 return err 96076 } 96077 iNdEx = postIndex 96078 case 23: 96079 if wireType != 2 { 96080 return fmt.Errorf("proto: wrong wireType = %d for field OIDCIdentity", wireType) 96081 } 96082 var msglen int 96083 for shift := uint(0); ; shift += 7 { 96084 if shift >= 64 { 96085 return ErrIntOverflowTypes 96086 } 96087 if iNdEx >= l { 96088 return io.ErrUnexpectedEOF 96089 } 96090 b := dAtA[iNdEx] 96091 iNdEx++ 96092 msglen |= int(b&0x7F) << shift 96093 if b < 0x80 { 96094 break 96095 } 96096 } 96097 if msglen < 0 { 96098 return ErrInvalidLengthTypes 96099 } 96100 postIndex := iNdEx + msglen 96101 if postIndex < 0 { 96102 return ErrInvalidLengthTypes 96103 } 96104 if postIndex > l { 96105 return io.ErrUnexpectedEOF 96106 } 96107 if m.OIDCIdentity == nil { 96108 m.OIDCIdentity = &OIDCIdentity{} 96109 } 96110 if err := m.OIDCIdentity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 96111 return err 96112 } 96113 iNdEx = postIndex 96114 case 24: 96115 if wireType != 2 { 96116 return fmt.Errorf("proto: wrong wireType = %d for field OIDCTraitsFromClaims", wireType) 96117 } 96118 var msglen int 96119 for shift := uint(0); ; shift += 7 { 96120 if shift >= 64 { 96121 return ErrIntOverflowTypes 96122 } 96123 if iNdEx >= l { 96124 return io.ErrUnexpectedEOF 96125 } 96126 b := dAtA[iNdEx] 96127 iNdEx++ 96128 msglen |= int(b&0x7F) << shift 96129 if b < 0x80 { 96130 break 96131 } 96132 } 96133 if msglen < 0 { 96134 return ErrInvalidLengthTypes 96135 } 96136 postIndex := iNdEx + msglen 96137 if postIndex < 0 { 96138 return ErrInvalidLengthTypes 96139 } 96140 if postIndex > l { 96141 return io.ErrUnexpectedEOF 96142 } 96143 if err := m.OIDCTraitsFromClaims.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 96144 return err 96145 } 96146 iNdEx = postIndex 96147 case 25: 96148 if wireType != 2 { 96149 return fmt.Errorf("proto: wrong wireType = %d for field OIDCConnectorTraitMapping", wireType) 96150 } 96151 var msglen int 96152 for shift := uint(0); ; shift += 7 { 96153 if shift >= 64 { 96154 return ErrIntOverflowTypes 96155 } 96156 if iNdEx >= l { 96157 return io.ErrUnexpectedEOF 96158 } 96159 b := dAtA[iNdEx] 96160 iNdEx++ 96161 msglen |= int(b&0x7F) << shift 96162 if b < 0x80 { 96163 break 96164 } 96165 } 96166 if msglen < 0 { 96167 return ErrInvalidLengthTypes 96168 } 96169 postIndex := iNdEx + msglen 96170 if postIndex < 0 { 96171 return ErrInvalidLengthTypes 96172 } 96173 if postIndex > l { 96174 return io.ErrUnexpectedEOF 96175 } 96176 m.OIDCConnectorTraitMapping = append(m.OIDCConnectorTraitMapping, TraitMapping{}) 96177 if err := m.OIDCConnectorTraitMapping[len(m.OIDCConnectorTraitMapping)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 96178 return err 96179 } 96180 iNdEx = postIndex 96181 case 30: 96182 if wireType != 2 { 96183 return fmt.Errorf("proto: wrong wireType = %d for field GithubClaims", wireType) 96184 } 96185 var msglen int 96186 for shift := uint(0); ; shift += 7 { 96187 if shift >= 64 { 96188 return ErrIntOverflowTypes 96189 } 96190 if iNdEx >= l { 96191 return io.ErrUnexpectedEOF 96192 } 96193 b := dAtA[iNdEx] 96194 iNdEx++ 96195 msglen |= int(b&0x7F) << shift 96196 if b < 0x80 { 96197 break 96198 } 96199 } 96200 if msglen < 0 { 96201 return ErrInvalidLengthTypes 96202 } 96203 postIndex := iNdEx + msglen 96204 if postIndex < 0 { 96205 return ErrInvalidLengthTypes 96206 } 96207 if postIndex > l { 96208 return io.ErrUnexpectedEOF 96209 } 96210 if m.GithubClaims == nil { 96211 m.GithubClaims = &GithubClaims{} 96212 } 96213 if err := m.GithubClaims.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 96214 return err 96215 } 96216 iNdEx = postIndex 96217 case 31: 96218 if wireType != 2 { 96219 return fmt.Errorf("proto: wrong wireType = %d for field GithubTeamsToLogins", wireType) 96220 } 96221 var msglen int 96222 for shift := uint(0); ; shift += 7 { 96223 if shift >= 64 { 96224 return ErrIntOverflowTypes 96225 } 96226 if iNdEx >= l { 96227 return io.ErrUnexpectedEOF 96228 } 96229 b := dAtA[iNdEx] 96230 iNdEx++ 96231 msglen |= int(b&0x7F) << shift 96232 if b < 0x80 { 96233 break 96234 } 96235 } 96236 if msglen < 0 { 96237 return ErrInvalidLengthTypes 96238 } 96239 postIndex := iNdEx + msglen 96240 if postIndex < 0 { 96241 return ErrInvalidLengthTypes 96242 } 96243 if postIndex > l { 96244 return io.ErrUnexpectedEOF 96245 } 96246 m.GithubTeamsToLogins = append(m.GithubTeamsToLogins, TeamMapping{}) 96247 if err := m.GithubTeamsToLogins[len(m.GithubTeamsToLogins)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 96248 return err 96249 } 96250 iNdEx = postIndex 96251 case 32: 96252 if wireType != 2 { 96253 return fmt.Errorf("proto: wrong wireType = %d for field GithubTeamsToRoles", wireType) 96254 } 96255 var msglen int 96256 for shift := uint(0); ; shift += 7 { 96257 if shift >= 64 { 96258 return ErrIntOverflowTypes 96259 } 96260 if iNdEx >= l { 96261 return io.ErrUnexpectedEOF 96262 } 96263 b := dAtA[iNdEx] 96264 iNdEx++ 96265 msglen |= int(b&0x7F) << shift 96266 if b < 0x80 { 96267 break 96268 } 96269 } 96270 if msglen < 0 { 96271 return ErrInvalidLengthTypes 96272 } 96273 postIndex := iNdEx + msglen 96274 if postIndex < 0 { 96275 return ErrInvalidLengthTypes 96276 } 96277 if postIndex > l { 96278 return io.ErrUnexpectedEOF 96279 } 96280 m.GithubTeamsToRoles = append(m.GithubTeamsToRoles, TeamRolesMapping{}) 96281 if err := m.GithubTeamsToRoles[len(m.GithubTeamsToRoles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 96282 return err 96283 } 96284 iNdEx = postIndex 96285 case 33: 96286 if wireType != 2 { 96287 return fmt.Errorf("proto: wrong wireType = %d for field GithubTokenInfo", wireType) 96288 } 96289 var msglen int 96290 for shift := uint(0); ; shift += 7 { 96291 if shift >= 64 { 96292 return ErrIntOverflowTypes 96293 } 96294 if iNdEx >= l { 96295 return io.ErrUnexpectedEOF 96296 } 96297 b := dAtA[iNdEx] 96298 iNdEx++ 96299 msglen |= int(b&0x7F) << shift 96300 if b < 0x80 { 96301 break 96302 } 96303 } 96304 if msglen < 0 { 96305 return ErrInvalidLengthTypes 96306 } 96307 postIndex := iNdEx + msglen 96308 if postIndex < 0 { 96309 return ErrInvalidLengthTypes 96310 } 96311 if postIndex > l { 96312 return io.ErrUnexpectedEOF 96313 } 96314 if m.GithubTokenInfo == nil { 96315 m.GithubTokenInfo = &GithubTokenInfo{} 96316 } 96317 if err := m.GithubTokenInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 96318 return err 96319 } 96320 iNdEx = postIndex 96321 case 34: 96322 if wireType != 2 { 96323 return fmt.Errorf("proto: wrong wireType = %d for field AppliedLoginRules", wireType) 96324 } 96325 var stringLen uint64 96326 for shift := uint(0); ; shift += 7 { 96327 if shift >= 64 { 96328 return ErrIntOverflowTypes 96329 } 96330 if iNdEx >= l { 96331 return io.ErrUnexpectedEOF 96332 } 96333 b := dAtA[iNdEx] 96334 iNdEx++ 96335 stringLen |= uint64(b&0x7F) << shift 96336 if b < 0x80 { 96337 break 96338 } 96339 } 96340 intStringLen := int(stringLen) 96341 if intStringLen < 0 { 96342 return ErrInvalidLengthTypes 96343 } 96344 postIndex := iNdEx + intStringLen 96345 if postIndex < 0 { 96346 return ErrInvalidLengthTypes 96347 } 96348 if postIndex > l { 96349 return io.ErrUnexpectedEOF 96350 } 96351 m.AppliedLoginRules = append(m.AppliedLoginRules, string(dAtA[iNdEx:postIndex])) 96352 iNdEx = postIndex 96353 default: 96354 iNdEx = preIndex 96355 skippy, err := skipTypes(dAtA[iNdEx:]) 96356 if err != nil { 96357 return err 96358 } 96359 if (skippy < 0) || (iNdEx+skippy) < 0 { 96360 return ErrInvalidLengthTypes 96361 } 96362 if (iNdEx + skippy) > l { 96363 return io.ErrUnexpectedEOF 96364 } 96365 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 96366 iNdEx += skippy 96367 } 96368 } 96369 96370 if iNdEx > l { 96371 return io.ErrUnexpectedEOF 96372 } 96373 return nil 96374 } 96375 func (m *GithubTokenInfo) Unmarshal(dAtA []byte) error { 96376 l := len(dAtA) 96377 iNdEx := 0 96378 for iNdEx < l { 96379 preIndex := iNdEx 96380 var wire uint64 96381 for shift := uint(0); ; shift += 7 { 96382 if shift >= 64 { 96383 return ErrIntOverflowTypes 96384 } 96385 if iNdEx >= l { 96386 return io.ErrUnexpectedEOF 96387 } 96388 b := dAtA[iNdEx] 96389 iNdEx++ 96390 wire |= uint64(b&0x7F) << shift 96391 if b < 0x80 { 96392 break 96393 } 96394 } 96395 fieldNum := int32(wire >> 3) 96396 wireType := int(wire & 0x7) 96397 if wireType == 4 { 96398 return fmt.Errorf("proto: GithubTokenInfo: wiretype end group for non-group") 96399 } 96400 if fieldNum <= 0 { 96401 return fmt.Errorf("proto: GithubTokenInfo: illegal tag %d (wire type %d)", fieldNum, wire) 96402 } 96403 switch fieldNum { 96404 case 1: 96405 if wireType != 2 { 96406 return fmt.Errorf("proto: wrong wireType = %d for field TokenType", wireType) 96407 } 96408 var stringLen uint64 96409 for shift := uint(0); ; shift += 7 { 96410 if shift >= 64 { 96411 return ErrIntOverflowTypes 96412 } 96413 if iNdEx >= l { 96414 return io.ErrUnexpectedEOF 96415 } 96416 b := dAtA[iNdEx] 96417 iNdEx++ 96418 stringLen |= uint64(b&0x7F) << shift 96419 if b < 0x80 { 96420 break 96421 } 96422 } 96423 intStringLen := int(stringLen) 96424 if intStringLen < 0 { 96425 return ErrInvalidLengthTypes 96426 } 96427 postIndex := iNdEx + intStringLen 96428 if postIndex < 0 { 96429 return ErrInvalidLengthTypes 96430 } 96431 if postIndex > l { 96432 return io.ErrUnexpectedEOF 96433 } 96434 m.TokenType = string(dAtA[iNdEx:postIndex]) 96435 iNdEx = postIndex 96436 case 2: 96437 if wireType != 0 { 96438 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 96439 } 96440 m.Expires = 0 96441 for shift := uint(0); ; shift += 7 { 96442 if shift >= 64 { 96443 return ErrIntOverflowTypes 96444 } 96445 if iNdEx >= l { 96446 return io.ErrUnexpectedEOF 96447 } 96448 b := dAtA[iNdEx] 96449 iNdEx++ 96450 m.Expires |= int64(b&0x7F) << shift 96451 if b < 0x80 { 96452 break 96453 } 96454 } 96455 case 3: 96456 if wireType != 2 { 96457 return fmt.Errorf("proto: wrong wireType = %d for field Scope", wireType) 96458 } 96459 var stringLen uint64 96460 for shift := uint(0); ; shift += 7 { 96461 if shift >= 64 { 96462 return ErrIntOverflowTypes 96463 } 96464 if iNdEx >= l { 96465 return io.ErrUnexpectedEOF 96466 } 96467 b := dAtA[iNdEx] 96468 iNdEx++ 96469 stringLen |= uint64(b&0x7F) << shift 96470 if b < 0x80 { 96471 break 96472 } 96473 } 96474 intStringLen := int(stringLen) 96475 if intStringLen < 0 { 96476 return ErrInvalidLengthTypes 96477 } 96478 postIndex := iNdEx + intStringLen 96479 if postIndex < 0 { 96480 return ErrInvalidLengthTypes 96481 } 96482 if postIndex > l { 96483 return io.ErrUnexpectedEOF 96484 } 96485 m.Scope = string(dAtA[iNdEx:postIndex]) 96486 iNdEx = postIndex 96487 default: 96488 iNdEx = preIndex 96489 skippy, err := skipTypes(dAtA[iNdEx:]) 96490 if err != nil { 96491 return err 96492 } 96493 if (skippy < 0) || (iNdEx+skippy) < 0 { 96494 return ErrInvalidLengthTypes 96495 } 96496 if (iNdEx + skippy) > l { 96497 return io.ErrUnexpectedEOF 96498 } 96499 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 96500 iNdEx += skippy 96501 } 96502 } 96503 96504 if iNdEx > l { 96505 return io.ErrUnexpectedEOF 96506 } 96507 return nil 96508 } 96509 func (m *GithubClaims) Unmarshal(dAtA []byte) error { 96510 l := len(dAtA) 96511 iNdEx := 0 96512 for iNdEx < l { 96513 preIndex := iNdEx 96514 var wire uint64 96515 for shift := uint(0); ; shift += 7 { 96516 if shift >= 64 { 96517 return ErrIntOverflowTypes 96518 } 96519 if iNdEx >= l { 96520 return io.ErrUnexpectedEOF 96521 } 96522 b := dAtA[iNdEx] 96523 iNdEx++ 96524 wire |= uint64(b&0x7F) << shift 96525 if b < 0x80 { 96526 break 96527 } 96528 } 96529 fieldNum := int32(wire >> 3) 96530 wireType := int(wire & 0x7) 96531 if wireType == 4 { 96532 return fmt.Errorf("proto: GithubClaims: wiretype end group for non-group") 96533 } 96534 if fieldNum <= 0 { 96535 return fmt.Errorf("proto: GithubClaims: illegal tag %d (wire type %d)", fieldNum, wire) 96536 } 96537 switch fieldNum { 96538 case 1: 96539 if wireType != 2 { 96540 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 96541 } 96542 var stringLen uint64 96543 for shift := uint(0); ; shift += 7 { 96544 if shift >= 64 { 96545 return ErrIntOverflowTypes 96546 } 96547 if iNdEx >= l { 96548 return io.ErrUnexpectedEOF 96549 } 96550 b := dAtA[iNdEx] 96551 iNdEx++ 96552 stringLen |= uint64(b&0x7F) << shift 96553 if b < 0x80 { 96554 break 96555 } 96556 } 96557 intStringLen := int(stringLen) 96558 if intStringLen < 0 { 96559 return ErrInvalidLengthTypes 96560 } 96561 postIndex := iNdEx + intStringLen 96562 if postIndex < 0 { 96563 return ErrInvalidLengthTypes 96564 } 96565 if postIndex > l { 96566 return io.ErrUnexpectedEOF 96567 } 96568 m.Username = string(dAtA[iNdEx:postIndex]) 96569 iNdEx = postIndex 96570 case 2: 96571 if wireType != 2 { 96572 return fmt.Errorf("proto: wrong wireType = %d for field OrganizationToTeams", wireType) 96573 } 96574 var msglen int 96575 for shift := uint(0); ; shift += 7 { 96576 if shift >= 64 { 96577 return ErrIntOverflowTypes 96578 } 96579 if iNdEx >= l { 96580 return io.ErrUnexpectedEOF 96581 } 96582 b := dAtA[iNdEx] 96583 iNdEx++ 96584 msglen |= int(b&0x7F) << shift 96585 if b < 0x80 { 96586 break 96587 } 96588 } 96589 if msglen < 0 { 96590 return ErrInvalidLengthTypes 96591 } 96592 postIndex := iNdEx + msglen 96593 if postIndex < 0 { 96594 return ErrInvalidLengthTypes 96595 } 96596 if postIndex > l { 96597 return io.ErrUnexpectedEOF 96598 } 96599 if err := m.OrganizationToTeams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 96600 return err 96601 } 96602 iNdEx = postIndex 96603 case 3: 96604 if wireType != 2 { 96605 return fmt.Errorf("proto: wrong wireType = %d for field Teams", wireType) 96606 } 96607 var stringLen uint64 96608 for shift := uint(0); ; shift += 7 { 96609 if shift >= 64 { 96610 return ErrIntOverflowTypes 96611 } 96612 if iNdEx >= l { 96613 return io.ErrUnexpectedEOF 96614 } 96615 b := dAtA[iNdEx] 96616 iNdEx++ 96617 stringLen |= uint64(b&0x7F) << shift 96618 if b < 0x80 { 96619 break 96620 } 96621 } 96622 intStringLen := int(stringLen) 96623 if intStringLen < 0 { 96624 return ErrInvalidLengthTypes 96625 } 96626 postIndex := iNdEx + intStringLen 96627 if postIndex < 0 { 96628 return ErrInvalidLengthTypes 96629 } 96630 if postIndex > l { 96631 return io.ErrUnexpectedEOF 96632 } 96633 m.Teams = append(m.Teams, string(dAtA[iNdEx:postIndex])) 96634 iNdEx = postIndex 96635 default: 96636 iNdEx = preIndex 96637 skippy, err := skipTypes(dAtA[iNdEx:]) 96638 if err != nil { 96639 return err 96640 } 96641 if (skippy < 0) || (iNdEx+skippy) < 0 { 96642 return ErrInvalidLengthTypes 96643 } 96644 if (iNdEx + skippy) > l { 96645 return io.ErrUnexpectedEOF 96646 } 96647 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 96648 iNdEx += skippy 96649 } 96650 } 96651 96652 if iNdEx > l { 96653 return io.ErrUnexpectedEOF 96654 } 96655 return nil 96656 } 96657 func (m *TeamMapping) Unmarshal(dAtA []byte) error { 96658 l := len(dAtA) 96659 iNdEx := 0 96660 for iNdEx < l { 96661 preIndex := iNdEx 96662 var wire uint64 96663 for shift := uint(0); ; shift += 7 { 96664 if shift >= 64 { 96665 return ErrIntOverflowTypes 96666 } 96667 if iNdEx >= l { 96668 return io.ErrUnexpectedEOF 96669 } 96670 b := dAtA[iNdEx] 96671 iNdEx++ 96672 wire |= uint64(b&0x7F) << shift 96673 if b < 0x80 { 96674 break 96675 } 96676 } 96677 fieldNum := int32(wire >> 3) 96678 wireType := int(wire & 0x7) 96679 if wireType == 4 { 96680 return fmt.Errorf("proto: TeamMapping: wiretype end group for non-group") 96681 } 96682 if fieldNum <= 0 { 96683 return fmt.Errorf("proto: TeamMapping: illegal tag %d (wire type %d)", fieldNum, wire) 96684 } 96685 switch fieldNum { 96686 case 1: 96687 if wireType != 2 { 96688 return fmt.Errorf("proto: wrong wireType = %d for field Organization", wireType) 96689 } 96690 var stringLen uint64 96691 for shift := uint(0); ; shift += 7 { 96692 if shift >= 64 { 96693 return ErrIntOverflowTypes 96694 } 96695 if iNdEx >= l { 96696 return io.ErrUnexpectedEOF 96697 } 96698 b := dAtA[iNdEx] 96699 iNdEx++ 96700 stringLen |= uint64(b&0x7F) << shift 96701 if b < 0x80 { 96702 break 96703 } 96704 } 96705 intStringLen := int(stringLen) 96706 if intStringLen < 0 { 96707 return ErrInvalidLengthTypes 96708 } 96709 postIndex := iNdEx + intStringLen 96710 if postIndex < 0 { 96711 return ErrInvalidLengthTypes 96712 } 96713 if postIndex > l { 96714 return io.ErrUnexpectedEOF 96715 } 96716 m.Organization = string(dAtA[iNdEx:postIndex]) 96717 iNdEx = postIndex 96718 case 2: 96719 if wireType != 2 { 96720 return fmt.Errorf("proto: wrong wireType = %d for field Team", wireType) 96721 } 96722 var stringLen uint64 96723 for shift := uint(0); ; shift += 7 { 96724 if shift >= 64 { 96725 return ErrIntOverflowTypes 96726 } 96727 if iNdEx >= l { 96728 return io.ErrUnexpectedEOF 96729 } 96730 b := dAtA[iNdEx] 96731 iNdEx++ 96732 stringLen |= uint64(b&0x7F) << shift 96733 if b < 0x80 { 96734 break 96735 } 96736 } 96737 intStringLen := int(stringLen) 96738 if intStringLen < 0 { 96739 return ErrInvalidLengthTypes 96740 } 96741 postIndex := iNdEx + intStringLen 96742 if postIndex < 0 { 96743 return ErrInvalidLengthTypes 96744 } 96745 if postIndex > l { 96746 return io.ErrUnexpectedEOF 96747 } 96748 m.Team = string(dAtA[iNdEx:postIndex]) 96749 iNdEx = postIndex 96750 case 3: 96751 if wireType != 2 { 96752 return fmt.Errorf("proto: wrong wireType = %d for field Logins", wireType) 96753 } 96754 var stringLen uint64 96755 for shift := uint(0); ; shift += 7 { 96756 if shift >= 64 { 96757 return ErrIntOverflowTypes 96758 } 96759 if iNdEx >= l { 96760 return io.ErrUnexpectedEOF 96761 } 96762 b := dAtA[iNdEx] 96763 iNdEx++ 96764 stringLen |= uint64(b&0x7F) << shift 96765 if b < 0x80 { 96766 break 96767 } 96768 } 96769 intStringLen := int(stringLen) 96770 if intStringLen < 0 { 96771 return ErrInvalidLengthTypes 96772 } 96773 postIndex := iNdEx + intStringLen 96774 if postIndex < 0 { 96775 return ErrInvalidLengthTypes 96776 } 96777 if postIndex > l { 96778 return io.ErrUnexpectedEOF 96779 } 96780 m.Logins = append(m.Logins, string(dAtA[iNdEx:postIndex])) 96781 iNdEx = postIndex 96782 case 4: 96783 if wireType != 2 { 96784 return fmt.Errorf("proto: wrong wireType = %d for field KubeGroups", wireType) 96785 } 96786 var stringLen uint64 96787 for shift := uint(0); ; shift += 7 { 96788 if shift >= 64 { 96789 return ErrIntOverflowTypes 96790 } 96791 if iNdEx >= l { 96792 return io.ErrUnexpectedEOF 96793 } 96794 b := dAtA[iNdEx] 96795 iNdEx++ 96796 stringLen |= uint64(b&0x7F) << shift 96797 if b < 0x80 { 96798 break 96799 } 96800 } 96801 intStringLen := int(stringLen) 96802 if intStringLen < 0 { 96803 return ErrInvalidLengthTypes 96804 } 96805 postIndex := iNdEx + intStringLen 96806 if postIndex < 0 { 96807 return ErrInvalidLengthTypes 96808 } 96809 if postIndex > l { 96810 return io.ErrUnexpectedEOF 96811 } 96812 m.KubeGroups = append(m.KubeGroups, string(dAtA[iNdEx:postIndex])) 96813 iNdEx = postIndex 96814 case 5: 96815 if wireType != 2 { 96816 return fmt.Errorf("proto: wrong wireType = %d for field KubeUsers", wireType) 96817 } 96818 var stringLen uint64 96819 for shift := uint(0); ; shift += 7 { 96820 if shift >= 64 { 96821 return ErrIntOverflowTypes 96822 } 96823 if iNdEx >= l { 96824 return io.ErrUnexpectedEOF 96825 } 96826 b := dAtA[iNdEx] 96827 iNdEx++ 96828 stringLen |= uint64(b&0x7F) << shift 96829 if b < 0x80 { 96830 break 96831 } 96832 } 96833 intStringLen := int(stringLen) 96834 if intStringLen < 0 { 96835 return ErrInvalidLengthTypes 96836 } 96837 postIndex := iNdEx + intStringLen 96838 if postIndex < 0 { 96839 return ErrInvalidLengthTypes 96840 } 96841 if postIndex > l { 96842 return io.ErrUnexpectedEOF 96843 } 96844 m.KubeUsers = append(m.KubeUsers, string(dAtA[iNdEx:postIndex])) 96845 iNdEx = postIndex 96846 default: 96847 iNdEx = preIndex 96848 skippy, err := skipTypes(dAtA[iNdEx:]) 96849 if err != nil { 96850 return err 96851 } 96852 if (skippy < 0) || (iNdEx+skippy) < 0 { 96853 return ErrInvalidLengthTypes 96854 } 96855 if (iNdEx + skippy) > l { 96856 return io.ErrUnexpectedEOF 96857 } 96858 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 96859 iNdEx += skippy 96860 } 96861 } 96862 96863 if iNdEx > l { 96864 return io.ErrUnexpectedEOF 96865 } 96866 return nil 96867 } 96868 func (m *TeamRolesMapping) Unmarshal(dAtA []byte) error { 96869 l := len(dAtA) 96870 iNdEx := 0 96871 for iNdEx < l { 96872 preIndex := iNdEx 96873 var wire uint64 96874 for shift := uint(0); ; shift += 7 { 96875 if shift >= 64 { 96876 return ErrIntOverflowTypes 96877 } 96878 if iNdEx >= l { 96879 return io.ErrUnexpectedEOF 96880 } 96881 b := dAtA[iNdEx] 96882 iNdEx++ 96883 wire |= uint64(b&0x7F) << shift 96884 if b < 0x80 { 96885 break 96886 } 96887 } 96888 fieldNum := int32(wire >> 3) 96889 wireType := int(wire & 0x7) 96890 if wireType == 4 { 96891 return fmt.Errorf("proto: TeamRolesMapping: wiretype end group for non-group") 96892 } 96893 if fieldNum <= 0 { 96894 return fmt.Errorf("proto: TeamRolesMapping: illegal tag %d (wire type %d)", fieldNum, wire) 96895 } 96896 switch fieldNum { 96897 case 1: 96898 if wireType != 2 { 96899 return fmt.Errorf("proto: wrong wireType = %d for field Organization", wireType) 96900 } 96901 var stringLen uint64 96902 for shift := uint(0); ; shift += 7 { 96903 if shift >= 64 { 96904 return ErrIntOverflowTypes 96905 } 96906 if iNdEx >= l { 96907 return io.ErrUnexpectedEOF 96908 } 96909 b := dAtA[iNdEx] 96910 iNdEx++ 96911 stringLen |= uint64(b&0x7F) << shift 96912 if b < 0x80 { 96913 break 96914 } 96915 } 96916 intStringLen := int(stringLen) 96917 if intStringLen < 0 { 96918 return ErrInvalidLengthTypes 96919 } 96920 postIndex := iNdEx + intStringLen 96921 if postIndex < 0 { 96922 return ErrInvalidLengthTypes 96923 } 96924 if postIndex > l { 96925 return io.ErrUnexpectedEOF 96926 } 96927 m.Organization = string(dAtA[iNdEx:postIndex]) 96928 iNdEx = postIndex 96929 case 2: 96930 if wireType != 2 { 96931 return fmt.Errorf("proto: wrong wireType = %d for field Team", wireType) 96932 } 96933 var stringLen uint64 96934 for shift := uint(0); ; shift += 7 { 96935 if shift >= 64 { 96936 return ErrIntOverflowTypes 96937 } 96938 if iNdEx >= l { 96939 return io.ErrUnexpectedEOF 96940 } 96941 b := dAtA[iNdEx] 96942 iNdEx++ 96943 stringLen |= uint64(b&0x7F) << shift 96944 if b < 0x80 { 96945 break 96946 } 96947 } 96948 intStringLen := int(stringLen) 96949 if intStringLen < 0 { 96950 return ErrInvalidLengthTypes 96951 } 96952 postIndex := iNdEx + intStringLen 96953 if postIndex < 0 { 96954 return ErrInvalidLengthTypes 96955 } 96956 if postIndex > l { 96957 return io.ErrUnexpectedEOF 96958 } 96959 m.Team = string(dAtA[iNdEx:postIndex]) 96960 iNdEx = postIndex 96961 case 3: 96962 if wireType != 2 { 96963 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 96964 } 96965 var stringLen uint64 96966 for shift := uint(0); ; shift += 7 { 96967 if shift >= 64 { 96968 return ErrIntOverflowTypes 96969 } 96970 if iNdEx >= l { 96971 return io.ErrUnexpectedEOF 96972 } 96973 b := dAtA[iNdEx] 96974 iNdEx++ 96975 stringLen |= uint64(b&0x7F) << shift 96976 if b < 0x80 { 96977 break 96978 } 96979 } 96980 intStringLen := int(stringLen) 96981 if intStringLen < 0 { 96982 return ErrInvalidLengthTypes 96983 } 96984 postIndex := iNdEx + intStringLen 96985 if postIndex < 0 { 96986 return ErrInvalidLengthTypes 96987 } 96988 if postIndex > l { 96989 return io.ErrUnexpectedEOF 96990 } 96991 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 96992 iNdEx = postIndex 96993 default: 96994 iNdEx = preIndex 96995 skippy, err := skipTypes(dAtA[iNdEx:]) 96996 if err != nil { 96997 return err 96998 } 96999 if (skippy < 0) || (iNdEx+skippy) < 0 { 97000 return ErrInvalidLengthTypes 97001 } 97002 if (iNdEx + skippy) > l { 97003 return io.ErrUnexpectedEOF 97004 } 97005 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 97006 iNdEx += skippy 97007 } 97008 } 97009 97010 if iNdEx > l { 97011 return io.ErrUnexpectedEOF 97012 } 97013 return nil 97014 } 97015 func (m *TrustedClusterV2) Unmarshal(dAtA []byte) error { 97016 l := len(dAtA) 97017 iNdEx := 0 97018 for iNdEx < l { 97019 preIndex := iNdEx 97020 var wire uint64 97021 for shift := uint(0); ; shift += 7 { 97022 if shift >= 64 { 97023 return ErrIntOverflowTypes 97024 } 97025 if iNdEx >= l { 97026 return io.ErrUnexpectedEOF 97027 } 97028 b := dAtA[iNdEx] 97029 iNdEx++ 97030 wire |= uint64(b&0x7F) << shift 97031 if b < 0x80 { 97032 break 97033 } 97034 } 97035 fieldNum := int32(wire >> 3) 97036 wireType := int(wire & 0x7) 97037 if wireType == 4 { 97038 return fmt.Errorf("proto: TrustedClusterV2: wiretype end group for non-group") 97039 } 97040 if fieldNum <= 0 { 97041 return fmt.Errorf("proto: TrustedClusterV2: illegal tag %d (wire type %d)", fieldNum, wire) 97042 } 97043 switch fieldNum { 97044 case 1: 97045 if wireType != 2 { 97046 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 97047 } 97048 var stringLen uint64 97049 for shift := uint(0); ; shift += 7 { 97050 if shift >= 64 { 97051 return ErrIntOverflowTypes 97052 } 97053 if iNdEx >= l { 97054 return io.ErrUnexpectedEOF 97055 } 97056 b := dAtA[iNdEx] 97057 iNdEx++ 97058 stringLen |= uint64(b&0x7F) << shift 97059 if b < 0x80 { 97060 break 97061 } 97062 } 97063 intStringLen := int(stringLen) 97064 if intStringLen < 0 { 97065 return ErrInvalidLengthTypes 97066 } 97067 postIndex := iNdEx + intStringLen 97068 if postIndex < 0 { 97069 return ErrInvalidLengthTypes 97070 } 97071 if postIndex > l { 97072 return io.ErrUnexpectedEOF 97073 } 97074 m.Kind = string(dAtA[iNdEx:postIndex]) 97075 iNdEx = postIndex 97076 case 2: 97077 if wireType != 2 { 97078 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 97079 } 97080 var stringLen uint64 97081 for shift := uint(0); ; shift += 7 { 97082 if shift >= 64 { 97083 return ErrIntOverflowTypes 97084 } 97085 if iNdEx >= l { 97086 return io.ErrUnexpectedEOF 97087 } 97088 b := dAtA[iNdEx] 97089 iNdEx++ 97090 stringLen |= uint64(b&0x7F) << shift 97091 if b < 0x80 { 97092 break 97093 } 97094 } 97095 intStringLen := int(stringLen) 97096 if intStringLen < 0 { 97097 return ErrInvalidLengthTypes 97098 } 97099 postIndex := iNdEx + intStringLen 97100 if postIndex < 0 { 97101 return ErrInvalidLengthTypes 97102 } 97103 if postIndex > l { 97104 return io.ErrUnexpectedEOF 97105 } 97106 m.SubKind = string(dAtA[iNdEx:postIndex]) 97107 iNdEx = postIndex 97108 case 3: 97109 if wireType != 2 { 97110 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 97111 } 97112 var stringLen uint64 97113 for shift := uint(0); ; shift += 7 { 97114 if shift >= 64 { 97115 return ErrIntOverflowTypes 97116 } 97117 if iNdEx >= l { 97118 return io.ErrUnexpectedEOF 97119 } 97120 b := dAtA[iNdEx] 97121 iNdEx++ 97122 stringLen |= uint64(b&0x7F) << shift 97123 if b < 0x80 { 97124 break 97125 } 97126 } 97127 intStringLen := int(stringLen) 97128 if intStringLen < 0 { 97129 return ErrInvalidLengthTypes 97130 } 97131 postIndex := iNdEx + intStringLen 97132 if postIndex < 0 { 97133 return ErrInvalidLengthTypes 97134 } 97135 if postIndex > l { 97136 return io.ErrUnexpectedEOF 97137 } 97138 m.Version = string(dAtA[iNdEx:postIndex]) 97139 iNdEx = postIndex 97140 case 4: 97141 if wireType != 2 { 97142 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 97143 } 97144 var msglen int 97145 for shift := uint(0); ; shift += 7 { 97146 if shift >= 64 { 97147 return ErrIntOverflowTypes 97148 } 97149 if iNdEx >= l { 97150 return io.ErrUnexpectedEOF 97151 } 97152 b := dAtA[iNdEx] 97153 iNdEx++ 97154 msglen |= int(b&0x7F) << shift 97155 if b < 0x80 { 97156 break 97157 } 97158 } 97159 if msglen < 0 { 97160 return ErrInvalidLengthTypes 97161 } 97162 postIndex := iNdEx + msglen 97163 if postIndex < 0 { 97164 return ErrInvalidLengthTypes 97165 } 97166 if postIndex > l { 97167 return io.ErrUnexpectedEOF 97168 } 97169 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 97170 return err 97171 } 97172 iNdEx = postIndex 97173 case 5: 97174 if wireType != 2 { 97175 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 97176 } 97177 var msglen int 97178 for shift := uint(0); ; shift += 7 { 97179 if shift >= 64 { 97180 return ErrIntOverflowTypes 97181 } 97182 if iNdEx >= l { 97183 return io.ErrUnexpectedEOF 97184 } 97185 b := dAtA[iNdEx] 97186 iNdEx++ 97187 msglen |= int(b&0x7F) << shift 97188 if b < 0x80 { 97189 break 97190 } 97191 } 97192 if msglen < 0 { 97193 return ErrInvalidLengthTypes 97194 } 97195 postIndex := iNdEx + msglen 97196 if postIndex < 0 { 97197 return ErrInvalidLengthTypes 97198 } 97199 if postIndex > l { 97200 return io.ErrUnexpectedEOF 97201 } 97202 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 97203 return err 97204 } 97205 iNdEx = postIndex 97206 default: 97207 iNdEx = preIndex 97208 skippy, err := skipTypes(dAtA[iNdEx:]) 97209 if err != nil { 97210 return err 97211 } 97212 if (skippy < 0) || (iNdEx+skippy) < 0 { 97213 return ErrInvalidLengthTypes 97214 } 97215 if (iNdEx + skippy) > l { 97216 return io.ErrUnexpectedEOF 97217 } 97218 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 97219 iNdEx += skippy 97220 } 97221 } 97222 97223 if iNdEx > l { 97224 return io.ErrUnexpectedEOF 97225 } 97226 return nil 97227 } 97228 func (m *TrustedClusterV2List) Unmarshal(dAtA []byte) error { 97229 l := len(dAtA) 97230 iNdEx := 0 97231 for iNdEx < l { 97232 preIndex := iNdEx 97233 var wire uint64 97234 for shift := uint(0); ; shift += 7 { 97235 if shift >= 64 { 97236 return ErrIntOverflowTypes 97237 } 97238 if iNdEx >= l { 97239 return io.ErrUnexpectedEOF 97240 } 97241 b := dAtA[iNdEx] 97242 iNdEx++ 97243 wire |= uint64(b&0x7F) << shift 97244 if b < 0x80 { 97245 break 97246 } 97247 } 97248 fieldNum := int32(wire >> 3) 97249 wireType := int(wire & 0x7) 97250 if wireType == 4 { 97251 return fmt.Errorf("proto: TrustedClusterV2List: wiretype end group for non-group") 97252 } 97253 if fieldNum <= 0 { 97254 return fmt.Errorf("proto: TrustedClusterV2List: illegal tag %d (wire type %d)", fieldNum, wire) 97255 } 97256 switch fieldNum { 97257 case 1: 97258 if wireType != 2 { 97259 return fmt.Errorf("proto: wrong wireType = %d for field TrustedClusters", wireType) 97260 } 97261 var msglen int 97262 for shift := uint(0); ; shift += 7 { 97263 if shift >= 64 { 97264 return ErrIntOverflowTypes 97265 } 97266 if iNdEx >= l { 97267 return io.ErrUnexpectedEOF 97268 } 97269 b := dAtA[iNdEx] 97270 iNdEx++ 97271 msglen |= int(b&0x7F) << shift 97272 if b < 0x80 { 97273 break 97274 } 97275 } 97276 if msglen < 0 { 97277 return ErrInvalidLengthTypes 97278 } 97279 postIndex := iNdEx + msglen 97280 if postIndex < 0 { 97281 return ErrInvalidLengthTypes 97282 } 97283 if postIndex > l { 97284 return io.ErrUnexpectedEOF 97285 } 97286 m.TrustedClusters = append(m.TrustedClusters, &TrustedClusterV2{}) 97287 if err := m.TrustedClusters[len(m.TrustedClusters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 97288 return err 97289 } 97290 iNdEx = postIndex 97291 default: 97292 iNdEx = preIndex 97293 skippy, err := skipTypes(dAtA[iNdEx:]) 97294 if err != nil { 97295 return err 97296 } 97297 if (skippy < 0) || (iNdEx+skippy) < 0 { 97298 return ErrInvalidLengthTypes 97299 } 97300 if (iNdEx + skippy) > l { 97301 return io.ErrUnexpectedEOF 97302 } 97303 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 97304 iNdEx += skippy 97305 } 97306 } 97307 97308 if iNdEx > l { 97309 return io.ErrUnexpectedEOF 97310 } 97311 return nil 97312 } 97313 func (m *TrustedClusterSpecV2) Unmarshal(dAtA []byte) error { 97314 l := len(dAtA) 97315 iNdEx := 0 97316 for iNdEx < l { 97317 preIndex := iNdEx 97318 var wire uint64 97319 for shift := uint(0); ; shift += 7 { 97320 if shift >= 64 { 97321 return ErrIntOverflowTypes 97322 } 97323 if iNdEx >= l { 97324 return io.ErrUnexpectedEOF 97325 } 97326 b := dAtA[iNdEx] 97327 iNdEx++ 97328 wire |= uint64(b&0x7F) << shift 97329 if b < 0x80 { 97330 break 97331 } 97332 } 97333 fieldNum := int32(wire >> 3) 97334 wireType := int(wire & 0x7) 97335 if wireType == 4 { 97336 return fmt.Errorf("proto: TrustedClusterSpecV2: wiretype end group for non-group") 97337 } 97338 if fieldNum <= 0 { 97339 return fmt.Errorf("proto: TrustedClusterSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 97340 } 97341 switch fieldNum { 97342 case 1: 97343 if wireType != 0 { 97344 return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) 97345 } 97346 var v int 97347 for shift := uint(0); ; shift += 7 { 97348 if shift >= 64 { 97349 return ErrIntOverflowTypes 97350 } 97351 if iNdEx >= l { 97352 return io.ErrUnexpectedEOF 97353 } 97354 b := dAtA[iNdEx] 97355 iNdEx++ 97356 v |= int(b&0x7F) << shift 97357 if b < 0x80 { 97358 break 97359 } 97360 } 97361 m.Enabled = bool(v != 0) 97362 case 2: 97363 if wireType != 2 { 97364 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 97365 } 97366 var stringLen uint64 97367 for shift := uint(0); ; shift += 7 { 97368 if shift >= 64 { 97369 return ErrIntOverflowTypes 97370 } 97371 if iNdEx >= l { 97372 return io.ErrUnexpectedEOF 97373 } 97374 b := dAtA[iNdEx] 97375 iNdEx++ 97376 stringLen |= uint64(b&0x7F) << shift 97377 if b < 0x80 { 97378 break 97379 } 97380 } 97381 intStringLen := int(stringLen) 97382 if intStringLen < 0 { 97383 return ErrInvalidLengthTypes 97384 } 97385 postIndex := iNdEx + intStringLen 97386 if postIndex < 0 { 97387 return ErrInvalidLengthTypes 97388 } 97389 if postIndex > l { 97390 return io.ErrUnexpectedEOF 97391 } 97392 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 97393 iNdEx = postIndex 97394 case 3: 97395 if wireType != 2 { 97396 return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) 97397 } 97398 var stringLen uint64 97399 for shift := uint(0); ; shift += 7 { 97400 if shift >= 64 { 97401 return ErrIntOverflowTypes 97402 } 97403 if iNdEx >= l { 97404 return io.ErrUnexpectedEOF 97405 } 97406 b := dAtA[iNdEx] 97407 iNdEx++ 97408 stringLen |= uint64(b&0x7F) << shift 97409 if b < 0x80 { 97410 break 97411 } 97412 } 97413 intStringLen := int(stringLen) 97414 if intStringLen < 0 { 97415 return ErrInvalidLengthTypes 97416 } 97417 postIndex := iNdEx + intStringLen 97418 if postIndex < 0 { 97419 return ErrInvalidLengthTypes 97420 } 97421 if postIndex > l { 97422 return io.ErrUnexpectedEOF 97423 } 97424 m.Token = string(dAtA[iNdEx:postIndex]) 97425 iNdEx = postIndex 97426 case 4: 97427 if wireType != 2 { 97428 return fmt.Errorf("proto: wrong wireType = %d for field ProxyAddress", wireType) 97429 } 97430 var stringLen uint64 97431 for shift := uint(0); ; shift += 7 { 97432 if shift >= 64 { 97433 return ErrIntOverflowTypes 97434 } 97435 if iNdEx >= l { 97436 return io.ErrUnexpectedEOF 97437 } 97438 b := dAtA[iNdEx] 97439 iNdEx++ 97440 stringLen |= uint64(b&0x7F) << shift 97441 if b < 0x80 { 97442 break 97443 } 97444 } 97445 intStringLen := int(stringLen) 97446 if intStringLen < 0 { 97447 return ErrInvalidLengthTypes 97448 } 97449 postIndex := iNdEx + intStringLen 97450 if postIndex < 0 { 97451 return ErrInvalidLengthTypes 97452 } 97453 if postIndex > l { 97454 return io.ErrUnexpectedEOF 97455 } 97456 m.ProxyAddress = string(dAtA[iNdEx:postIndex]) 97457 iNdEx = postIndex 97458 case 5: 97459 if wireType != 2 { 97460 return fmt.Errorf("proto: wrong wireType = %d for field ReverseTunnelAddress", wireType) 97461 } 97462 var stringLen uint64 97463 for shift := uint(0); ; shift += 7 { 97464 if shift >= 64 { 97465 return ErrIntOverflowTypes 97466 } 97467 if iNdEx >= l { 97468 return io.ErrUnexpectedEOF 97469 } 97470 b := dAtA[iNdEx] 97471 iNdEx++ 97472 stringLen |= uint64(b&0x7F) << shift 97473 if b < 0x80 { 97474 break 97475 } 97476 } 97477 intStringLen := int(stringLen) 97478 if intStringLen < 0 { 97479 return ErrInvalidLengthTypes 97480 } 97481 postIndex := iNdEx + intStringLen 97482 if postIndex < 0 { 97483 return ErrInvalidLengthTypes 97484 } 97485 if postIndex > l { 97486 return io.ErrUnexpectedEOF 97487 } 97488 m.ReverseTunnelAddress = string(dAtA[iNdEx:postIndex]) 97489 iNdEx = postIndex 97490 case 6: 97491 if wireType != 2 { 97492 return fmt.Errorf("proto: wrong wireType = %d for field RoleMap", wireType) 97493 } 97494 var msglen int 97495 for shift := uint(0); ; shift += 7 { 97496 if shift >= 64 { 97497 return ErrIntOverflowTypes 97498 } 97499 if iNdEx >= l { 97500 return io.ErrUnexpectedEOF 97501 } 97502 b := dAtA[iNdEx] 97503 iNdEx++ 97504 msglen |= int(b&0x7F) << shift 97505 if b < 0x80 { 97506 break 97507 } 97508 } 97509 if msglen < 0 { 97510 return ErrInvalidLengthTypes 97511 } 97512 postIndex := iNdEx + msglen 97513 if postIndex < 0 { 97514 return ErrInvalidLengthTypes 97515 } 97516 if postIndex > l { 97517 return io.ErrUnexpectedEOF 97518 } 97519 m.RoleMap = append(m.RoleMap, RoleMapping{}) 97520 if err := m.RoleMap[len(m.RoleMap)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 97521 return err 97522 } 97523 iNdEx = postIndex 97524 default: 97525 iNdEx = preIndex 97526 skippy, err := skipTypes(dAtA[iNdEx:]) 97527 if err != nil { 97528 return err 97529 } 97530 if (skippy < 0) || (iNdEx+skippy) < 0 { 97531 return ErrInvalidLengthTypes 97532 } 97533 if (iNdEx + skippy) > l { 97534 return io.ErrUnexpectedEOF 97535 } 97536 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 97537 iNdEx += skippy 97538 } 97539 } 97540 97541 if iNdEx > l { 97542 return io.ErrUnexpectedEOF 97543 } 97544 return nil 97545 } 97546 func (m *LockV2) Unmarshal(dAtA []byte) error { 97547 l := len(dAtA) 97548 iNdEx := 0 97549 for iNdEx < l { 97550 preIndex := iNdEx 97551 var wire uint64 97552 for shift := uint(0); ; shift += 7 { 97553 if shift >= 64 { 97554 return ErrIntOverflowTypes 97555 } 97556 if iNdEx >= l { 97557 return io.ErrUnexpectedEOF 97558 } 97559 b := dAtA[iNdEx] 97560 iNdEx++ 97561 wire |= uint64(b&0x7F) << shift 97562 if b < 0x80 { 97563 break 97564 } 97565 } 97566 fieldNum := int32(wire >> 3) 97567 wireType := int(wire & 0x7) 97568 if wireType == 4 { 97569 return fmt.Errorf("proto: LockV2: wiretype end group for non-group") 97570 } 97571 if fieldNum <= 0 { 97572 return fmt.Errorf("proto: LockV2: illegal tag %d (wire type %d)", fieldNum, wire) 97573 } 97574 switch fieldNum { 97575 case 1: 97576 if wireType != 2 { 97577 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 97578 } 97579 var stringLen uint64 97580 for shift := uint(0); ; shift += 7 { 97581 if shift >= 64 { 97582 return ErrIntOverflowTypes 97583 } 97584 if iNdEx >= l { 97585 return io.ErrUnexpectedEOF 97586 } 97587 b := dAtA[iNdEx] 97588 iNdEx++ 97589 stringLen |= uint64(b&0x7F) << shift 97590 if b < 0x80 { 97591 break 97592 } 97593 } 97594 intStringLen := int(stringLen) 97595 if intStringLen < 0 { 97596 return ErrInvalidLengthTypes 97597 } 97598 postIndex := iNdEx + intStringLen 97599 if postIndex < 0 { 97600 return ErrInvalidLengthTypes 97601 } 97602 if postIndex > l { 97603 return io.ErrUnexpectedEOF 97604 } 97605 m.Kind = string(dAtA[iNdEx:postIndex]) 97606 iNdEx = postIndex 97607 case 2: 97608 if wireType != 2 { 97609 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 97610 } 97611 var stringLen uint64 97612 for shift := uint(0); ; shift += 7 { 97613 if shift >= 64 { 97614 return ErrIntOverflowTypes 97615 } 97616 if iNdEx >= l { 97617 return io.ErrUnexpectedEOF 97618 } 97619 b := dAtA[iNdEx] 97620 iNdEx++ 97621 stringLen |= uint64(b&0x7F) << shift 97622 if b < 0x80 { 97623 break 97624 } 97625 } 97626 intStringLen := int(stringLen) 97627 if intStringLen < 0 { 97628 return ErrInvalidLengthTypes 97629 } 97630 postIndex := iNdEx + intStringLen 97631 if postIndex < 0 { 97632 return ErrInvalidLengthTypes 97633 } 97634 if postIndex > l { 97635 return io.ErrUnexpectedEOF 97636 } 97637 m.SubKind = string(dAtA[iNdEx:postIndex]) 97638 iNdEx = postIndex 97639 case 3: 97640 if wireType != 2 { 97641 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 97642 } 97643 var stringLen uint64 97644 for shift := uint(0); ; shift += 7 { 97645 if shift >= 64 { 97646 return ErrIntOverflowTypes 97647 } 97648 if iNdEx >= l { 97649 return io.ErrUnexpectedEOF 97650 } 97651 b := dAtA[iNdEx] 97652 iNdEx++ 97653 stringLen |= uint64(b&0x7F) << shift 97654 if b < 0x80 { 97655 break 97656 } 97657 } 97658 intStringLen := int(stringLen) 97659 if intStringLen < 0 { 97660 return ErrInvalidLengthTypes 97661 } 97662 postIndex := iNdEx + intStringLen 97663 if postIndex < 0 { 97664 return ErrInvalidLengthTypes 97665 } 97666 if postIndex > l { 97667 return io.ErrUnexpectedEOF 97668 } 97669 m.Version = string(dAtA[iNdEx:postIndex]) 97670 iNdEx = postIndex 97671 case 4: 97672 if wireType != 2 { 97673 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 97674 } 97675 var msglen int 97676 for shift := uint(0); ; shift += 7 { 97677 if shift >= 64 { 97678 return ErrIntOverflowTypes 97679 } 97680 if iNdEx >= l { 97681 return io.ErrUnexpectedEOF 97682 } 97683 b := dAtA[iNdEx] 97684 iNdEx++ 97685 msglen |= int(b&0x7F) << shift 97686 if b < 0x80 { 97687 break 97688 } 97689 } 97690 if msglen < 0 { 97691 return ErrInvalidLengthTypes 97692 } 97693 postIndex := iNdEx + msglen 97694 if postIndex < 0 { 97695 return ErrInvalidLengthTypes 97696 } 97697 if postIndex > l { 97698 return io.ErrUnexpectedEOF 97699 } 97700 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 97701 return err 97702 } 97703 iNdEx = postIndex 97704 case 5: 97705 if wireType != 2 { 97706 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 97707 } 97708 var msglen int 97709 for shift := uint(0); ; shift += 7 { 97710 if shift >= 64 { 97711 return ErrIntOverflowTypes 97712 } 97713 if iNdEx >= l { 97714 return io.ErrUnexpectedEOF 97715 } 97716 b := dAtA[iNdEx] 97717 iNdEx++ 97718 msglen |= int(b&0x7F) << shift 97719 if b < 0x80 { 97720 break 97721 } 97722 } 97723 if msglen < 0 { 97724 return ErrInvalidLengthTypes 97725 } 97726 postIndex := iNdEx + msglen 97727 if postIndex < 0 { 97728 return ErrInvalidLengthTypes 97729 } 97730 if postIndex > l { 97731 return io.ErrUnexpectedEOF 97732 } 97733 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 97734 return err 97735 } 97736 iNdEx = postIndex 97737 default: 97738 iNdEx = preIndex 97739 skippy, err := skipTypes(dAtA[iNdEx:]) 97740 if err != nil { 97741 return err 97742 } 97743 if (skippy < 0) || (iNdEx+skippy) < 0 { 97744 return ErrInvalidLengthTypes 97745 } 97746 if (iNdEx + skippy) > l { 97747 return io.ErrUnexpectedEOF 97748 } 97749 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 97750 iNdEx += skippy 97751 } 97752 } 97753 97754 if iNdEx > l { 97755 return io.ErrUnexpectedEOF 97756 } 97757 return nil 97758 } 97759 func (m *LockSpecV2) Unmarshal(dAtA []byte) error { 97760 l := len(dAtA) 97761 iNdEx := 0 97762 for iNdEx < l { 97763 preIndex := iNdEx 97764 var wire uint64 97765 for shift := uint(0); ; shift += 7 { 97766 if shift >= 64 { 97767 return ErrIntOverflowTypes 97768 } 97769 if iNdEx >= l { 97770 return io.ErrUnexpectedEOF 97771 } 97772 b := dAtA[iNdEx] 97773 iNdEx++ 97774 wire |= uint64(b&0x7F) << shift 97775 if b < 0x80 { 97776 break 97777 } 97778 } 97779 fieldNum := int32(wire >> 3) 97780 wireType := int(wire & 0x7) 97781 if wireType == 4 { 97782 return fmt.Errorf("proto: LockSpecV2: wiretype end group for non-group") 97783 } 97784 if fieldNum <= 0 { 97785 return fmt.Errorf("proto: LockSpecV2: illegal tag %d (wire type %d)", fieldNum, wire) 97786 } 97787 switch fieldNum { 97788 case 1: 97789 if wireType != 2 { 97790 return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) 97791 } 97792 var msglen int 97793 for shift := uint(0); ; shift += 7 { 97794 if shift >= 64 { 97795 return ErrIntOverflowTypes 97796 } 97797 if iNdEx >= l { 97798 return io.ErrUnexpectedEOF 97799 } 97800 b := dAtA[iNdEx] 97801 iNdEx++ 97802 msglen |= int(b&0x7F) << shift 97803 if b < 0x80 { 97804 break 97805 } 97806 } 97807 if msglen < 0 { 97808 return ErrInvalidLengthTypes 97809 } 97810 postIndex := iNdEx + msglen 97811 if postIndex < 0 { 97812 return ErrInvalidLengthTypes 97813 } 97814 if postIndex > l { 97815 return io.ErrUnexpectedEOF 97816 } 97817 if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 97818 return err 97819 } 97820 iNdEx = postIndex 97821 case 2: 97822 if wireType != 2 { 97823 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) 97824 } 97825 var stringLen uint64 97826 for shift := uint(0); ; shift += 7 { 97827 if shift >= 64 { 97828 return ErrIntOverflowTypes 97829 } 97830 if iNdEx >= l { 97831 return io.ErrUnexpectedEOF 97832 } 97833 b := dAtA[iNdEx] 97834 iNdEx++ 97835 stringLen |= uint64(b&0x7F) << shift 97836 if b < 0x80 { 97837 break 97838 } 97839 } 97840 intStringLen := int(stringLen) 97841 if intStringLen < 0 { 97842 return ErrInvalidLengthTypes 97843 } 97844 postIndex := iNdEx + intStringLen 97845 if postIndex < 0 { 97846 return ErrInvalidLengthTypes 97847 } 97848 if postIndex > l { 97849 return io.ErrUnexpectedEOF 97850 } 97851 m.Message = string(dAtA[iNdEx:postIndex]) 97852 iNdEx = postIndex 97853 case 3: 97854 if wireType != 2 { 97855 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 97856 } 97857 var msglen int 97858 for shift := uint(0); ; shift += 7 { 97859 if shift >= 64 { 97860 return ErrIntOverflowTypes 97861 } 97862 if iNdEx >= l { 97863 return io.ErrUnexpectedEOF 97864 } 97865 b := dAtA[iNdEx] 97866 iNdEx++ 97867 msglen |= int(b&0x7F) << shift 97868 if b < 0x80 { 97869 break 97870 } 97871 } 97872 if msglen < 0 { 97873 return ErrInvalidLengthTypes 97874 } 97875 postIndex := iNdEx + msglen 97876 if postIndex < 0 { 97877 return ErrInvalidLengthTypes 97878 } 97879 if postIndex > l { 97880 return io.ErrUnexpectedEOF 97881 } 97882 if m.Expires == nil { 97883 m.Expires = new(time.Time) 97884 } 97885 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.Expires, dAtA[iNdEx:postIndex]); err != nil { 97886 return err 97887 } 97888 iNdEx = postIndex 97889 case 4: 97890 if wireType != 2 { 97891 return fmt.Errorf("proto: wrong wireType = %d for field CreatedAt", wireType) 97892 } 97893 var msglen int 97894 for shift := uint(0); ; shift += 7 { 97895 if shift >= 64 { 97896 return ErrIntOverflowTypes 97897 } 97898 if iNdEx >= l { 97899 return io.ErrUnexpectedEOF 97900 } 97901 b := dAtA[iNdEx] 97902 iNdEx++ 97903 msglen |= int(b&0x7F) << shift 97904 if b < 0x80 { 97905 break 97906 } 97907 } 97908 if msglen < 0 { 97909 return ErrInvalidLengthTypes 97910 } 97911 postIndex := iNdEx + msglen 97912 if postIndex < 0 { 97913 return ErrInvalidLengthTypes 97914 } 97915 if postIndex > l { 97916 return io.ErrUnexpectedEOF 97917 } 97918 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil { 97919 return err 97920 } 97921 iNdEx = postIndex 97922 case 5: 97923 if wireType != 2 { 97924 return fmt.Errorf("proto: wrong wireType = %d for field CreatedBy", wireType) 97925 } 97926 var stringLen uint64 97927 for shift := uint(0); ; shift += 7 { 97928 if shift >= 64 { 97929 return ErrIntOverflowTypes 97930 } 97931 if iNdEx >= l { 97932 return io.ErrUnexpectedEOF 97933 } 97934 b := dAtA[iNdEx] 97935 iNdEx++ 97936 stringLen |= uint64(b&0x7F) << shift 97937 if b < 0x80 { 97938 break 97939 } 97940 } 97941 intStringLen := int(stringLen) 97942 if intStringLen < 0 { 97943 return ErrInvalidLengthTypes 97944 } 97945 postIndex := iNdEx + intStringLen 97946 if postIndex < 0 { 97947 return ErrInvalidLengthTypes 97948 } 97949 if postIndex > l { 97950 return io.ErrUnexpectedEOF 97951 } 97952 m.CreatedBy = string(dAtA[iNdEx:postIndex]) 97953 iNdEx = postIndex 97954 default: 97955 iNdEx = preIndex 97956 skippy, err := skipTypes(dAtA[iNdEx:]) 97957 if err != nil { 97958 return err 97959 } 97960 if (skippy < 0) || (iNdEx+skippy) < 0 { 97961 return ErrInvalidLengthTypes 97962 } 97963 if (iNdEx + skippy) > l { 97964 return io.ErrUnexpectedEOF 97965 } 97966 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 97967 iNdEx += skippy 97968 } 97969 } 97970 97971 if iNdEx > l { 97972 return io.ErrUnexpectedEOF 97973 } 97974 return nil 97975 } 97976 func (m *LockTarget) Unmarshal(dAtA []byte) error { 97977 l := len(dAtA) 97978 iNdEx := 0 97979 for iNdEx < l { 97980 preIndex := iNdEx 97981 var wire uint64 97982 for shift := uint(0); ; shift += 7 { 97983 if shift >= 64 { 97984 return ErrIntOverflowTypes 97985 } 97986 if iNdEx >= l { 97987 return io.ErrUnexpectedEOF 97988 } 97989 b := dAtA[iNdEx] 97990 iNdEx++ 97991 wire |= uint64(b&0x7F) << shift 97992 if b < 0x80 { 97993 break 97994 } 97995 } 97996 fieldNum := int32(wire >> 3) 97997 wireType := int(wire & 0x7) 97998 if wireType == 4 { 97999 return fmt.Errorf("proto: LockTarget: wiretype end group for non-group") 98000 } 98001 if fieldNum <= 0 { 98002 return fmt.Errorf("proto: LockTarget: illegal tag %d (wire type %d)", fieldNum, wire) 98003 } 98004 switch fieldNum { 98005 case 1: 98006 if wireType != 2 { 98007 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 98008 } 98009 var stringLen uint64 98010 for shift := uint(0); ; shift += 7 { 98011 if shift >= 64 { 98012 return ErrIntOverflowTypes 98013 } 98014 if iNdEx >= l { 98015 return io.ErrUnexpectedEOF 98016 } 98017 b := dAtA[iNdEx] 98018 iNdEx++ 98019 stringLen |= uint64(b&0x7F) << shift 98020 if b < 0x80 { 98021 break 98022 } 98023 } 98024 intStringLen := int(stringLen) 98025 if intStringLen < 0 { 98026 return ErrInvalidLengthTypes 98027 } 98028 postIndex := iNdEx + intStringLen 98029 if postIndex < 0 { 98030 return ErrInvalidLengthTypes 98031 } 98032 if postIndex > l { 98033 return io.ErrUnexpectedEOF 98034 } 98035 m.User = string(dAtA[iNdEx:postIndex]) 98036 iNdEx = postIndex 98037 case 2: 98038 if wireType != 2 { 98039 return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) 98040 } 98041 var stringLen uint64 98042 for shift := uint(0); ; shift += 7 { 98043 if shift >= 64 { 98044 return ErrIntOverflowTypes 98045 } 98046 if iNdEx >= l { 98047 return io.ErrUnexpectedEOF 98048 } 98049 b := dAtA[iNdEx] 98050 iNdEx++ 98051 stringLen |= uint64(b&0x7F) << shift 98052 if b < 0x80 { 98053 break 98054 } 98055 } 98056 intStringLen := int(stringLen) 98057 if intStringLen < 0 { 98058 return ErrInvalidLengthTypes 98059 } 98060 postIndex := iNdEx + intStringLen 98061 if postIndex < 0 { 98062 return ErrInvalidLengthTypes 98063 } 98064 if postIndex > l { 98065 return io.ErrUnexpectedEOF 98066 } 98067 m.Role = string(dAtA[iNdEx:postIndex]) 98068 iNdEx = postIndex 98069 case 3: 98070 if wireType != 2 { 98071 return fmt.Errorf("proto: wrong wireType = %d for field Login", wireType) 98072 } 98073 var stringLen uint64 98074 for shift := uint(0); ; shift += 7 { 98075 if shift >= 64 { 98076 return ErrIntOverflowTypes 98077 } 98078 if iNdEx >= l { 98079 return io.ErrUnexpectedEOF 98080 } 98081 b := dAtA[iNdEx] 98082 iNdEx++ 98083 stringLen |= uint64(b&0x7F) << shift 98084 if b < 0x80 { 98085 break 98086 } 98087 } 98088 intStringLen := int(stringLen) 98089 if intStringLen < 0 { 98090 return ErrInvalidLengthTypes 98091 } 98092 postIndex := iNdEx + intStringLen 98093 if postIndex < 0 { 98094 return ErrInvalidLengthTypes 98095 } 98096 if postIndex > l { 98097 return io.ErrUnexpectedEOF 98098 } 98099 m.Login = string(dAtA[iNdEx:postIndex]) 98100 iNdEx = postIndex 98101 case 4: 98102 if wireType != 2 { 98103 return fmt.Errorf("proto: wrong wireType = %d for field Node", wireType) 98104 } 98105 var stringLen uint64 98106 for shift := uint(0); ; shift += 7 { 98107 if shift >= 64 { 98108 return ErrIntOverflowTypes 98109 } 98110 if iNdEx >= l { 98111 return io.ErrUnexpectedEOF 98112 } 98113 b := dAtA[iNdEx] 98114 iNdEx++ 98115 stringLen |= uint64(b&0x7F) << shift 98116 if b < 0x80 { 98117 break 98118 } 98119 } 98120 intStringLen := int(stringLen) 98121 if intStringLen < 0 { 98122 return ErrInvalidLengthTypes 98123 } 98124 postIndex := iNdEx + intStringLen 98125 if postIndex < 0 { 98126 return ErrInvalidLengthTypes 98127 } 98128 if postIndex > l { 98129 return io.ErrUnexpectedEOF 98130 } 98131 m.Node = string(dAtA[iNdEx:postIndex]) 98132 iNdEx = postIndex 98133 case 5: 98134 if wireType != 2 { 98135 return fmt.Errorf("proto: wrong wireType = %d for field MFADevice", wireType) 98136 } 98137 var stringLen uint64 98138 for shift := uint(0); ; shift += 7 { 98139 if shift >= 64 { 98140 return ErrIntOverflowTypes 98141 } 98142 if iNdEx >= l { 98143 return io.ErrUnexpectedEOF 98144 } 98145 b := dAtA[iNdEx] 98146 iNdEx++ 98147 stringLen |= uint64(b&0x7F) << shift 98148 if b < 0x80 { 98149 break 98150 } 98151 } 98152 intStringLen := int(stringLen) 98153 if intStringLen < 0 { 98154 return ErrInvalidLengthTypes 98155 } 98156 postIndex := iNdEx + intStringLen 98157 if postIndex < 0 { 98158 return ErrInvalidLengthTypes 98159 } 98160 if postIndex > l { 98161 return io.ErrUnexpectedEOF 98162 } 98163 m.MFADevice = string(dAtA[iNdEx:postIndex]) 98164 iNdEx = postIndex 98165 case 6: 98166 if wireType != 2 { 98167 return fmt.Errorf("proto: wrong wireType = %d for field WindowsDesktop", wireType) 98168 } 98169 var stringLen uint64 98170 for shift := uint(0); ; shift += 7 { 98171 if shift >= 64 { 98172 return ErrIntOverflowTypes 98173 } 98174 if iNdEx >= l { 98175 return io.ErrUnexpectedEOF 98176 } 98177 b := dAtA[iNdEx] 98178 iNdEx++ 98179 stringLen |= uint64(b&0x7F) << shift 98180 if b < 0x80 { 98181 break 98182 } 98183 } 98184 intStringLen := int(stringLen) 98185 if intStringLen < 0 { 98186 return ErrInvalidLengthTypes 98187 } 98188 postIndex := iNdEx + intStringLen 98189 if postIndex < 0 { 98190 return ErrInvalidLengthTypes 98191 } 98192 if postIndex > l { 98193 return io.ErrUnexpectedEOF 98194 } 98195 m.WindowsDesktop = string(dAtA[iNdEx:postIndex]) 98196 iNdEx = postIndex 98197 case 7: 98198 if wireType != 2 { 98199 return fmt.Errorf("proto: wrong wireType = %d for field AccessRequest", wireType) 98200 } 98201 var stringLen uint64 98202 for shift := uint(0); ; shift += 7 { 98203 if shift >= 64 { 98204 return ErrIntOverflowTypes 98205 } 98206 if iNdEx >= l { 98207 return io.ErrUnexpectedEOF 98208 } 98209 b := dAtA[iNdEx] 98210 iNdEx++ 98211 stringLen |= uint64(b&0x7F) << shift 98212 if b < 0x80 { 98213 break 98214 } 98215 } 98216 intStringLen := int(stringLen) 98217 if intStringLen < 0 { 98218 return ErrInvalidLengthTypes 98219 } 98220 postIndex := iNdEx + intStringLen 98221 if postIndex < 0 { 98222 return ErrInvalidLengthTypes 98223 } 98224 if postIndex > l { 98225 return io.ErrUnexpectedEOF 98226 } 98227 m.AccessRequest = string(dAtA[iNdEx:postIndex]) 98228 iNdEx = postIndex 98229 case 8: 98230 if wireType != 2 { 98231 return fmt.Errorf("proto: wrong wireType = %d for field Device", wireType) 98232 } 98233 var stringLen uint64 98234 for shift := uint(0); ; shift += 7 { 98235 if shift >= 64 { 98236 return ErrIntOverflowTypes 98237 } 98238 if iNdEx >= l { 98239 return io.ErrUnexpectedEOF 98240 } 98241 b := dAtA[iNdEx] 98242 iNdEx++ 98243 stringLen |= uint64(b&0x7F) << shift 98244 if b < 0x80 { 98245 break 98246 } 98247 } 98248 intStringLen := int(stringLen) 98249 if intStringLen < 0 { 98250 return ErrInvalidLengthTypes 98251 } 98252 postIndex := iNdEx + intStringLen 98253 if postIndex < 0 { 98254 return ErrInvalidLengthTypes 98255 } 98256 if postIndex > l { 98257 return io.ErrUnexpectedEOF 98258 } 98259 m.Device = string(dAtA[iNdEx:postIndex]) 98260 iNdEx = postIndex 98261 case 9: 98262 if wireType != 2 { 98263 return fmt.Errorf("proto: wrong wireType = %d for field ServerID", wireType) 98264 } 98265 var stringLen uint64 98266 for shift := uint(0); ; shift += 7 { 98267 if shift >= 64 { 98268 return ErrIntOverflowTypes 98269 } 98270 if iNdEx >= l { 98271 return io.ErrUnexpectedEOF 98272 } 98273 b := dAtA[iNdEx] 98274 iNdEx++ 98275 stringLen |= uint64(b&0x7F) << shift 98276 if b < 0x80 { 98277 break 98278 } 98279 } 98280 intStringLen := int(stringLen) 98281 if intStringLen < 0 { 98282 return ErrInvalidLengthTypes 98283 } 98284 postIndex := iNdEx + intStringLen 98285 if postIndex < 0 { 98286 return ErrInvalidLengthTypes 98287 } 98288 if postIndex > l { 98289 return io.ErrUnexpectedEOF 98290 } 98291 m.ServerID = string(dAtA[iNdEx:postIndex]) 98292 iNdEx = postIndex 98293 default: 98294 iNdEx = preIndex 98295 skippy, err := skipTypes(dAtA[iNdEx:]) 98296 if err != nil { 98297 return err 98298 } 98299 if (skippy < 0) || (iNdEx+skippy) < 0 { 98300 return ErrInvalidLengthTypes 98301 } 98302 if (iNdEx + skippy) > l { 98303 return io.ErrUnexpectedEOF 98304 } 98305 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 98306 iNdEx += skippy 98307 } 98308 } 98309 98310 if iNdEx > l { 98311 return io.ErrUnexpectedEOF 98312 } 98313 return nil 98314 } 98315 func (m *AddressCondition) Unmarshal(dAtA []byte) error { 98316 l := len(dAtA) 98317 iNdEx := 0 98318 for iNdEx < l { 98319 preIndex := iNdEx 98320 var wire uint64 98321 for shift := uint(0); ; shift += 7 { 98322 if shift >= 64 { 98323 return ErrIntOverflowTypes 98324 } 98325 if iNdEx >= l { 98326 return io.ErrUnexpectedEOF 98327 } 98328 b := dAtA[iNdEx] 98329 iNdEx++ 98330 wire |= uint64(b&0x7F) << shift 98331 if b < 0x80 { 98332 break 98333 } 98334 } 98335 fieldNum := int32(wire >> 3) 98336 wireType := int(wire & 0x7) 98337 if wireType == 4 { 98338 return fmt.Errorf("proto: AddressCondition: wiretype end group for non-group") 98339 } 98340 if fieldNum <= 0 { 98341 return fmt.Errorf("proto: AddressCondition: illegal tag %d (wire type %d)", fieldNum, wire) 98342 } 98343 switch fieldNum { 98344 case 1: 98345 if wireType != 2 { 98346 return fmt.Errorf("proto: wrong wireType = %d for field CIDR", wireType) 98347 } 98348 var stringLen uint64 98349 for shift := uint(0); ; shift += 7 { 98350 if shift >= 64 { 98351 return ErrIntOverflowTypes 98352 } 98353 if iNdEx >= l { 98354 return io.ErrUnexpectedEOF 98355 } 98356 b := dAtA[iNdEx] 98357 iNdEx++ 98358 stringLen |= uint64(b&0x7F) << shift 98359 if b < 0x80 { 98360 break 98361 } 98362 } 98363 intStringLen := int(stringLen) 98364 if intStringLen < 0 { 98365 return ErrInvalidLengthTypes 98366 } 98367 postIndex := iNdEx + intStringLen 98368 if postIndex < 0 { 98369 return ErrInvalidLengthTypes 98370 } 98371 if postIndex > l { 98372 return io.ErrUnexpectedEOF 98373 } 98374 m.CIDR = string(dAtA[iNdEx:postIndex]) 98375 iNdEx = postIndex 98376 default: 98377 iNdEx = preIndex 98378 skippy, err := skipTypes(dAtA[iNdEx:]) 98379 if err != nil { 98380 return err 98381 } 98382 if (skippy < 0) || (iNdEx+skippy) < 0 { 98383 return ErrInvalidLengthTypes 98384 } 98385 if (iNdEx + skippy) > l { 98386 return io.ErrUnexpectedEOF 98387 } 98388 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 98389 iNdEx += skippy 98390 } 98391 } 98392 98393 if iNdEx > l { 98394 return io.ErrUnexpectedEOF 98395 } 98396 return nil 98397 } 98398 func (m *NetworkRestrictionsSpecV4) Unmarshal(dAtA []byte) error { 98399 l := len(dAtA) 98400 iNdEx := 0 98401 for iNdEx < l { 98402 preIndex := iNdEx 98403 var wire uint64 98404 for shift := uint(0); ; shift += 7 { 98405 if shift >= 64 { 98406 return ErrIntOverflowTypes 98407 } 98408 if iNdEx >= l { 98409 return io.ErrUnexpectedEOF 98410 } 98411 b := dAtA[iNdEx] 98412 iNdEx++ 98413 wire |= uint64(b&0x7F) << shift 98414 if b < 0x80 { 98415 break 98416 } 98417 } 98418 fieldNum := int32(wire >> 3) 98419 wireType := int(wire & 0x7) 98420 if wireType == 4 { 98421 return fmt.Errorf("proto: NetworkRestrictionsSpecV4: wiretype end group for non-group") 98422 } 98423 if fieldNum <= 0 { 98424 return fmt.Errorf("proto: NetworkRestrictionsSpecV4: illegal tag %d (wire type %d)", fieldNum, wire) 98425 } 98426 switch fieldNum { 98427 case 1: 98428 if wireType != 2 { 98429 return fmt.Errorf("proto: wrong wireType = %d for field Allow", wireType) 98430 } 98431 var msglen int 98432 for shift := uint(0); ; shift += 7 { 98433 if shift >= 64 { 98434 return ErrIntOverflowTypes 98435 } 98436 if iNdEx >= l { 98437 return io.ErrUnexpectedEOF 98438 } 98439 b := dAtA[iNdEx] 98440 iNdEx++ 98441 msglen |= int(b&0x7F) << shift 98442 if b < 0x80 { 98443 break 98444 } 98445 } 98446 if msglen < 0 { 98447 return ErrInvalidLengthTypes 98448 } 98449 postIndex := iNdEx + msglen 98450 if postIndex < 0 { 98451 return ErrInvalidLengthTypes 98452 } 98453 if postIndex > l { 98454 return io.ErrUnexpectedEOF 98455 } 98456 m.Allow = append(m.Allow, AddressCondition{}) 98457 if err := m.Allow[len(m.Allow)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 98458 return err 98459 } 98460 iNdEx = postIndex 98461 case 2: 98462 if wireType != 2 { 98463 return fmt.Errorf("proto: wrong wireType = %d for field Deny", wireType) 98464 } 98465 var msglen int 98466 for shift := uint(0); ; shift += 7 { 98467 if shift >= 64 { 98468 return ErrIntOverflowTypes 98469 } 98470 if iNdEx >= l { 98471 return io.ErrUnexpectedEOF 98472 } 98473 b := dAtA[iNdEx] 98474 iNdEx++ 98475 msglen |= int(b&0x7F) << shift 98476 if b < 0x80 { 98477 break 98478 } 98479 } 98480 if msglen < 0 { 98481 return ErrInvalidLengthTypes 98482 } 98483 postIndex := iNdEx + msglen 98484 if postIndex < 0 { 98485 return ErrInvalidLengthTypes 98486 } 98487 if postIndex > l { 98488 return io.ErrUnexpectedEOF 98489 } 98490 m.Deny = append(m.Deny, AddressCondition{}) 98491 if err := m.Deny[len(m.Deny)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 98492 return err 98493 } 98494 iNdEx = postIndex 98495 default: 98496 iNdEx = preIndex 98497 skippy, err := skipTypes(dAtA[iNdEx:]) 98498 if err != nil { 98499 return err 98500 } 98501 if (skippy < 0) || (iNdEx+skippy) < 0 { 98502 return ErrInvalidLengthTypes 98503 } 98504 if (iNdEx + skippy) > l { 98505 return io.ErrUnexpectedEOF 98506 } 98507 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 98508 iNdEx += skippy 98509 } 98510 } 98511 98512 if iNdEx > l { 98513 return io.ErrUnexpectedEOF 98514 } 98515 return nil 98516 } 98517 func (m *NetworkRestrictionsV4) Unmarshal(dAtA []byte) error { 98518 l := len(dAtA) 98519 iNdEx := 0 98520 for iNdEx < l { 98521 preIndex := iNdEx 98522 var wire uint64 98523 for shift := uint(0); ; shift += 7 { 98524 if shift >= 64 { 98525 return ErrIntOverflowTypes 98526 } 98527 if iNdEx >= l { 98528 return io.ErrUnexpectedEOF 98529 } 98530 b := dAtA[iNdEx] 98531 iNdEx++ 98532 wire |= uint64(b&0x7F) << shift 98533 if b < 0x80 { 98534 break 98535 } 98536 } 98537 fieldNum := int32(wire >> 3) 98538 wireType := int(wire & 0x7) 98539 if wireType == 4 { 98540 return fmt.Errorf("proto: NetworkRestrictionsV4: wiretype end group for non-group") 98541 } 98542 if fieldNum <= 0 { 98543 return fmt.Errorf("proto: NetworkRestrictionsV4: illegal tag %d (wire type %d)", fieldNum, wire) 98544 } 98545 switch fieldNum { 98546 case 1: 98547 if wireType != 2 { 98548 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 98549 } 98550 var stringLen uint64 98551 for shift := uint(0); ; shift += 7 { 98552 if shift >= 64 { 98553 return ErrIntOverflowTypes 98554 } 98555 if iNdEx >= l { 98556 return io.ErrUnexpectedEOF 98557 } 98558 b := dAtA[iNdEx] 98559 iNdEx++ 98560 stringLen |= uint64(b&0x7F) << shift 98561 if b < 0x80 { 98562 break 98563 } 98564 } 98565 intStringLen := int(stringLen) 98566 if intStringLen < 0 { 98567 return ErrInvalidLengthTypes 98568 } 98569 postIndex := iNdEx + intStringLen 98570 if postIndex < 0 { 98571 return ErrInvalidLengthTypes 98572 } 98573 if postIndex > l { 98574 return io.ErrUnexpectedEOF 98575 } 98576 m.Kind = string(dAtA[iNdEx:postIndex]) 98577 iNdEx = postIndex 98578 case 2: 98579 if wireType != 2 { 98580 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 98581 } 98582 var stringLen uint64 98583 for shift := uint(0); ; shift += 7 { 98584 if shift >= 64 { 98585 return ErrIntOverflowTypes 98586 } 98587 if iNdEx >= l { 98588 return io.ErrUnexpectedEOF 98589 } 98590 b := dAtA[iNdEx] 98591 iNdEx++ 98592 stringLen |= uint64(b&0x7F) << shift 98593 if b < 0x80 { 98594 break 98595 } 98596 } 98597 intStringLen := int(stringLen) 98598 if intStringLen < 0 { 98599 return ErrInvalidLengthTypes 98600 } 98601 postIndex := iNdEx + intStringLen 98602 if postIndex < 0 { 98603 return ErrInvalidLengthTypes 98604 } 98605 if postIndex > l { 98606 return io.ErrUnexpectedEOF 98607 } 98608 m.SubKind = string(dAtA[iNdEx:postIndex]) 98609 iNdEx = postIndex 98610 case 3: 98611 if wireType != 2 { 98612 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 98613 } 98614 var stringLen uint64 98615 for shift := uint(0); ; shift += 7 { 98616 if shift >= 64 { 98617 return ErrIntOverflowTypes 98618 } 98619 if iNdEx >= l { 98620 return io.ErrUnexpectedEOF 98621 } 98622 b := dAtA[iNdEx] 98623 iNdEx++ 98624 stringLen |= uint64(b&0x7F) << shift 98625 if b < 0x80 { 98626 break 98627 } 98628 } 98629 intStringLen := int(stringLen) 98630 if intStringLen < 0 { 98631 return ErrInvalidLengthTypes 98632 } 98633 postIndex := iNdEx + intStringLen 98634 if postIndex < 0 { 98635 return ErrInvalidLengthTypes 98636 } 98637 if postIndex > l { 98638 return io.ErrUnexpectedEOF 98639 } 98640 m.Version = string(dAtA[iNdEx:postIndex]) 98641 iNdEx = postIndex 98642 case 4: 98643 if wireType != 2 { 98644 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 98645 } 98646 var msglen int 98647 for shift := uint(0); ; shift += 7 { 98648 if shift >= 64 { 98649 return ErrIntOverflowTypes 98650 } 98651 if iNdEx >= l { 98652 return io.ErrUnexpectedEOF 98653 } 98654 b := dAtA[iNdEx] 98655 iNdEx++ 98656 msglen |= int(b&0x7F) << shift 98657 if b < 0x80 { 98658 break 98659 } 98660 } 98661 if msglen < 0 { 98662 return ErrInvalidLengthTypes 98663 } 98664 postIndex := iNdEx + msglen 98665 if postIndex < 0 { 98666 return ErrInvalidLengthTypes 98667 } 98668 if postIndex > l { 98669 return io.ErrUnexpectedEOF 98670 } 98671 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 98672 return err 98673 } 98674 iNdEx = postIndex 98675 case 5: 98676 if wireType != 2 { 98677 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 98678 } 98679 var msglen int 98680 for shift := uint(0); ; shift += 7 { 98681 if shift >= 64 { 98682 return ErrIntOverflowTypes 98683 } 98684 if iNdEx >= l { 98685 return io.ErrUnexpectedEOF 98686 } 98687 b := dAtA[iNdEx] 98688 iNdEx++ 98689 msglen |= int(b&0x7F) << shift 98690 if b < 0x80 { 98691 break 98692 } 98693 } 98694 if msglen < 0 { 98695 return ErrInvalidLengthTypes 98696 } 98697 postIndex := iNdEx + msglen 98698 if postIndex < 0 { 98699 return ErrInvalidLengthTypes 98700 } 98701 if postIndex > l { 98702 return io.ErrUnexpectedEOF 98703 } 98704 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 98705 return err 98706 } 98707 iNdEx = postIndex 98708 default: 98709 iNdEx = preIndex 98710 skippy, err := skipTypes(dAtA[iNdEx:]) 98711 if err != nil { 98712 return err 98713 } 98714 if (skippy < 0) || (iNdEx+skippy) < 0 { 98715 return ErrInvalidLengthTypes 98716 } 98717 if (iNdEx + skippy) > l { 98718 return io.ErrUnexpectedEOF 98719 } 98720 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 98721 iNdEx += skippy 98722 } 98723 } 98724 98725 if iNdEx > l { 98726 return io.ErrUnexpectedEOF 98727 } 98728 return nil 98729 } 98730 func (m *WindowsDesktopServiceV3) Unmarshal(dAtA []byte) error { 98731 l := len(dAtA) 98732 iNdEx := 0 98733 for iNdEx < l { 98734 preIndex := iNdEx 98735 var wire uint64 98736 for shift := uint(0); ; shift += 7 { 98737 if shift >= 64 { 98738 return ErrIntOverflowTypes 98739 } 98740 if iNdEx >= l { 98741 return io.ErrUnexpectedEOF 98742 } 98743 b := dAtA[iNdEx] 98744 iNdEx++ 98745 wire |= uint64(b&0x7F) << shift 98746 if b < 0x80 { 98747 break 98748 } 98749 } 98750 fieldNum := int32(wire >> 3) 98751 wireType := int(wire & 0x7) 98752 if wireType == 4 { 98753 return fmt.Errorf("proto: WindowsDesktopServiceV3: wiretype end group for non-group") 98754 } 98755 if fieldNum <= 0 { 98756 return fmt.Errorf("proto: WindowsDesktopServiceV3: illegal tag %d (wire type %d)", fieldNum, wire) 98757 } 98758 switch fieldNum { 98759 case 1: 98760 if wireType != 2 { 98761 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 98762 } 98763 var msglen int 98764 for shift := uint(0); ; shift += 7 { 98765 if shift >= 64 { 98766 return ErrIntOverflowTypes 98767 } 98768 if iNdEx >= l { 98769 return io.ErrUnexpectedEOF 98770 } 98771 b := dAtA[iNdEx] 98772 iNdEx++ 98773 msglen |= int(b&0x7F) << shift 98774 if b < 0x80 { 98775 break 98776 } 98777 } 98778 if msglen < 0 { 98779 return ErrInvalidLengthTypes 98780 } 98781 postIndex := iNdEx + msglen 98782 if postIndex < 0 { 98783 return ErrInvalidLengthTypes 98784 } 98785 if postIndex > l { 98786 return io.ErrUnexpectedEOF 98787 } 98788 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 98789 return err 98790 } 98791 iNdEx = postIndex 98792 case 2: 98793 if wireType != 2 { 98794 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 98795 } 98796 var msglen int 98797 for shift := uint(0); ; shift += 7 { 98798 if shift >= 64 { 98799 return ErrIntOverflowTypes 98800 } 98801 if iNdEx >= l { 98802 return io.ErrUnexpectedEOF 98803 } 98804 b := dAtA[iNdEx] 98805 iNdEx++ 98806 msglen |= int(b&0x7F) << shift 98807 if b < 0x80 { 98808 break 98809 } 98810 } 98811 if msglen < 0 { 98812 return ErrInvalidLengthTypes 98813 } 98814 postIndex := iNdEx + msglen 98815 if postIndex < 0 { 98816 return ErrInvalidLengthTypes 98817 } 98818 if postIndex > l { 98819 return io.ErrUnexpectedEOF 98820 } 98821 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 98822 return err 98823 } 98824 iNdEx = postIndex 98825 default: 98826 iNdEx = preIndex 98827 skippy, err := skipTypes(dAtA[iNdEx:]) 98828 if err != nil { 98829 return err 98830 } 98831 if (skippy < 0) || (iNdEx+skippy) < 0 { 98832 return ErrInvalidLengthTypes 98833 } 98834 if (iNdEx + skippy) > l { 98835 return io.ErrUnexpectedEOF 98836 } 98837 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 98838 iNdEx += skippy 98839 } 98840 } 98841 98842 if iNdEx > l { 98843 return io.ErrUnexpectedEOF 98844 } 98845 return nil 98846 } 98847 func (m *WindowsDesktopServiceSpecV3) Unmarshal(dAtA []byte) error { 98848 l := len(dAtA) 98849 iNdEx := 0 98850 for iNdEx < l { 98851 preIndex := iNdEx 98852 var wire uint64 98853 for shift := uint(0); ; shift += 7 { 98854 if shift >= 64 { 98855 return ErrIntOverflowTypes 98856 } 98857 if iNdEx >= l { 98858 return io.ErrUnexpectedEOF 98859 } 98860 b := dAtA[iNdEx] 98861 iNdEx++ 98862 wire |= uint64(b&0x7F) << shift 98863 if b < 0x80 { 98864 break 98865 } 98866 } 98867 fieldNum := int32(wire >> 3) 98868 wireType := int(wire & 0x7) 98869 if wireType == 4 { 98870 return fmt.Errorf("proto: WindowsDesktopServiceSpecV3: wiretype end group for non-group") 98871 } 98872 if fieldNum <= 0 { 98873 return fmt.Errorf("proto: WindowsDesktopServiceSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 98874 } 98875 switch fieldNum { 98876 case 1: 98877 if wireType != 2 { 98878 return fmt.Errorf("proto: wrong wireType = %d for field Addr", wireType) 98879 } 98880 var stringLen uint64 98881 for shift := uint(0); ; shift += 7 { 98882 if shift >= 64 { 98883 return ErrIntOverflowTypes 98884 } 98885 if iNdEx >= l { 98886 return io.ErrUnexpectedEOF 98887 } 98888 b := dAtA[iNdEx] 98889 iNdEx++ 98890 stringLen |= uint64(b&0x7F) << shift 98891 if b < 0x80 { 98892 break 98893 } 98894 } 98895 intStringLen := int(stringLen) 98896 if intStringLen < 0 { 98897 return ErrInvalidLengthTypes 98898 } 98899 postIndex := iNdEx + intStringLen 98900 if postIndex < 0 { 98901 return ErrInvalidLengthTypes 98902 } 98903 if postIndex > l { 98904 return io.ErrUnexpectedEOF 98905 } 98906 m.Addr = string(dAtA[iNdEx:postIndex]) 98907 iNdEx = postIndex 98908 case 2: 98909 if wireType != 2 { 98910 return fmt.Errorf("proto: wrong wireType = %d for field TeleportVersion", wireType) 98911 } 98912 var stringLen uint64 98913 for shift := uint(0); ; shift += 7 { 98914 if shift >= 64 { 98915 return ErrIntOverflowTypes 98916 } 98917 if iNdEx >= l { 98918 return io.ErrUnexpectedEOF 98919 } 98920 b := dAtA[iNdEx] 98921 iNdEx++ 98922 stringLen |= uint64(b&0x7F) << shift 98923 if b < 0x80 { 98924 break 98925 } 98926 } 98927 intStringLen := int(stringLen) 98928 if intStringLen < 0 { 98929 return ErrInvalidLengthTypes 98930 } 98931 postIndex := iNdEx + intStringLen 98932 if postIndex < 0 { 98933 return ErrInvalidLengthTypes 98934 } 98935 if postIndex > l { 98936 return io.ErrUnexpectedEOF 98937 } 98938 m.TeleportVersion = string(dAtA[iNdEx:postIndex]) 98939 iNdEx = postIndex 98940 case 3: 98941 if wireType != 2 { 98942 return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) 98943 } 98944 var stringLen uint64 98945 for shift := uint(0); ; shift += 7 { 98946 if shift >= 64 { 98947 return ErrIntOverflowTypes 98948 } 98949 if iNdEx >= l { 98950 return io.ErrUnexpectedEOF 98951 } 98952 b := dAtA[iNdEx] 98953 iNdEx++ 98954 stringLen |= uint64(b&0x7F) << shift 98955 if b < 0x80 { 98956 break 98957 } 98958 } 98959 intStringLen := int(stringLen) 98960 if intStringLen < 0 { 98961 return ErrInvalidLengthTypes 98962 } 98963 postIndex := iNdEx + intStringLen 98964 if postIndex < 0 { 98965 return ErrInvalidLengthTypes 98966 } 98967 if postIndex > l { 98968 return io.ErrUnexpectedEOF 98969 } 98970 m.Hostname = string(dAtA[iNdEx:postIndex]) 98971 iNdEx = postIndex 98972 case 4: 98973 if wireType != 2 { 98974 return fmt.Errorf("proto: wrong wireType = %d for field ProxyIDs", wireType) 98975 } 98976 var stringLen uint64 98977 for shift := uint(0); ; shift += 7 { 98978 if shift >= 64 { 98979 return ErrIntOverflowTypes 98980 } 98981 if iNdEx >= l { 98982 return io.ErrUnexpectedEOF 98983 } 98984 b := dAtA[iNdEx] 98985 iNdEx++ 98986 stringLen |= uint64(b&0x7F) << shift 98987 if b < 0x80 { 98988 break 98989 } 98990 } 98991 intStringLen := int(stringLen) 98992 if intStringLen < 0 { 98993 return ErrInvalidLengthTypes 98994 } 98995 postIndex := iNdEx + intStringLen 98996 if postIndex < 0 { 98997 return ErrInvalidLengthTypes 98998 } 98999 if postIndex > l { 99000 return io.ErrUnexpectedEOF 99001 } 99002 m.ProxyIDs = append(m.ProxyIDs, string(dAtA[iNdEx:postIndex])) 99003 iNdEx = postIndex 99004 default: 99005 iNdEx = preIndex 99006 skippy, err := skipTypes(dAtA[iNdEx:]) 99007 if err != nil { 99008 return err 99009 } 99010 if (skippy < 0) || (iNdEx+skippy) < 0 { 99011 return ErrInvalidLengthTypes 99012 } 99013 if (iNdEx + skippy) > l { 99014 return io.ErrUnexpectedEOF 99015 } 99016 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 99017 iNdEx += skippy 99018 } 99019 } 99020 99021 if iNdEx > l { 99022 return io.ErrUnexpectedEOF 99023 } 99024 return nil 99025 } 99026 func (m *WindowsDesktopFilter) Unmarshal(dAtA []byte) error { 99027 l := len(dAtA) 99028 iNdEx := 0 99029 for iNdEx < l { 99030 preIndex := iNdEx 99031 var wire uint64 99032 for shift := uint(0); ; shift += 7 { 99033 if shift >= 64 { 99034 return ErrIntOverflowTypes 99035 } 99036 if iNdEx >= l { 99037 return io.ErrUnexpectedEOF 99038 } 99039 b := dAtA[iNdEx] 99040 iNdEx++ 99041 wire |= uint64(b&0x7F) << shift 99042 if b < 0x80 { 99043 break 99044 } 99045 } 99046 fieldNum := int32(wire >> 3) 99047 wireType := int(wire & 0x7) 99048 if wireType == 4 { 99049 return fmt.Errorf("proto: WindowsDesktopFilter: wiretype end group for non-group") 99050 } 99051 if fieldNum <= 0 { 99052 return fmt.Errorf("proto: WindowsDesktopFilter: illegal tag %d (wire type %d)", fieldNum, wire) 99053 } 99054 switch fieldNum { 99055 case 1: 99056 if wireType != 2 { 99057 return fmt.Errorf("proto: wrong wireType = %d for field HostID", wireType) 99058 } 99059 var stringLen uint64 99060 for shift := uint(0); ; shift += 7 { 99061 if shift >= 64 { 99062 return ErrIntOverflowTypes 99063 } 99064 if iNdEx >= l { 99065 return io.ErrUnexpectedEOF 99066 } 99067 b := dAtA[iNdEx] 99068 iNdEx++ 99069 stringLen |= uint64(b&0x7F) << shift 99070 if b < 0x80 { 99071 break 99072 } 99073 } 99074 intStringLen := int(stringLen) 99075 if intStringLen < 0 { 99076 return ErrInvalidLengthTypes 99077 } 99078 postIndex := iNdEx + intStringLen 99079 if postIndex < 0 { 99080 return ErrInvalidLengthTypes 99081 } 99082 if postIndex > l { 99083 return io.ErrUnexpectedEOF 99084 } 99085 m.HostID = string(dAtA[iNdEx:postIndex]) 99086 iNdEx = postIndex 99087 case 2: 99088 if wireType != 2 { 99089 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 99090 } 99091 var stringLen uint64 99092 for shift := uint(0); ; shift += 7 { 99093 if shift >= 64 { 99094 return ErrIntOverflowTypes 99095 } 99096 if iNdEx >= l { 99097 return io.ErrUnexpectedEOF 99098 } 99099 b := dAtA[iNdEx] 99100 iNdEx++ 99101 stringLen |= uint64(b&0x7F) << shift 99102 if b < 0x80 { 99103 break 99104 } 99105 } 99106 intStringLen := int(stringLen) 99107 if intStringLen < 0 { 99108 return ErrInvalidLengthTypes 99109 } 99110 postIndex := iNdEx + intStringLen 99111 if postIndex < 0 { 99112 return ErrInvalidLengthTypes 99113 } 99114 if postIndex > l { 99115 return io.ErrUnexpectedEOF 99116 } 99117 m.Name = string(dAtA[iNdEx:postIndex]) 99118 iNdEx = postIndex 99119 default: 99120 iNdEx = preIndex 99121 skippy, err := skipTypes(dAtA[iNdEx:]) 99122 if err != nil { 99123 return err 99124 } 99125 if (skippy < 0) || (iNdEx+skippy) < 0 { 99126 return ErrInvalidLengthTypes 99127 } 99128 if (iNdEx + skippy) > l { 99129 return io.ErrUnexpectedEOF 99130 } 99131 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 99132 iNdEx += skippy 99133 } 99134 } 99135 99136 if iNdEx > l { 99137 return io.ErrUnexpectedEOF 99138 } 99139 return nil 99140 } 99141 func (m *WindowsDesktopV3) Unmarshal(dAtA []byte) error { 99142 l := len(dAtA) 99143 iNdEx := 0 99144 for iNdEx < l { 99145 preIndex := iNdEx 99146 var wire uint64 99147 for shift := uint(0); ; shift += 7 { 99148 if shift >= 64 { 99149 return ErrIntOverflowTypes 99150 } 99151 if iNdEx >= l { 99152 return io.ErrUnexpectedEOF 99153 } 99154 b := dAtA[iNdEx] 99155 iNdEx++ 99156 wire |= uint64(b&0x7F) << shift 99157 if b < 0x80 { 99158 break 99159 } 99160 } 99161 fieldNum := int32(wire >> 3) 99162 wireType := int(wire & 0x7) 99163 if wireType == 4 { 99164 return fmt.Errorf("proto: WindowsDesktopV3: wiretype end group for non-group") 99165 } 99166 if fieldNum <= 0 { 99167 return fmt.Errorf("proto: WindowsDesktopV3: illegal tag %d (wire type %d)", fieldNum, wire) 99168 } 99169 switch fieldNum { 99170 case 1: 99171 if wireType != 2 { 99172 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 99173 } 99174 var msglen int 99175 for shift := uint(0); ; shift += 7 { 99176 if shift >= 64 { 99177 return ErrIntOverflowTypes 99178 } 99179 if iNdEx >= l { 99180 return io.ErrUnexpectedEOF 99181 } 99182 b := dAtA[iNdEx] 99183 iNdEx++ 99184 msglen |= int(b&0x7F) << shift 99185 if b < 0x80 { 99186 break 99187 } 99188 } 99189 if msglen < 0 { 99190 return ErrInvalidLengthTypes 99191 } 99192 postIndex := iNdEx + msglen 99193 if postIndex < 0 { 99194 return ErrInvalidLengthTypes 99195 } 99196 if postIndex > l { 99197 return io.ErrUnexpectedEOF 99198 } 99199 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 99200 return err 99201 } 99202 iNdEx = postIndex 99203 case 2: 99204 if wireType != 2 { 99205 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 99206 } 99207 var msglen int 99208 for shift := uint(0); ; shift += 7 { 99209 if shift >= 64 { 99210 return ErrIntOverflowTypes 99211 } 99212 if iNdEx >= l { 99213 return io.ErrUnexpectedEOF 99214 } 99215 b := dAtA[iNdEx] 99216 iNdEx++ 99217 msglen |= int(b&0x7F) << shift 99218 if b < 0x80 { 99219 break 99220 } 99221 } 99222 if msglen < 0 { 99223 return ErrInvalidLengthTypes 99224 } 99225 postIndex := iNdEx + msglen 99226 if postIndex < 0 { 99227 return ErrInvalidLengthTypes 99228 } 99229 if postIndex > l { 99230 return io.ErrUnexpectedEOF 99231 } 99232 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 99233 return err 99234 } 99235 iNdEx = postIndex 99236 default: 99237 iNdEx = preIndex 99238 skippy, err := skipTypes(dAtA[iNdEx:]) 99239 if err != nil { 99240 return err 99241 } 99242 if (skippy < 0) || (iNdEx+skippy) < 0 { 99243 return ErrInvalidLengthTypes 99244 } 99245 if (iNdEx + skippy) > l { 99246 return io.ErrUnexpectedEOF 99247 } 99248 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 99249 iNdEx += skippy 99250 } 99251 } 99252 99253 if iNdEx > l { 99254 return io.ErrUnexpectedEOF 99255 } 99256 return nil 99257 } 99258 func (m *WindowsDesktopSpecV3) Unmarshal(dAtA []byte) error { 99259 l := len(dAtA) 99260 iNdEx := 0 99261 for iNdEx < l { 99262 preIndex := iNdEx 99263 var wire uint64 99264 for shift := uint(0); ; shift += 7 { 99265 if shift >= 64 { 99266 return ErrIntOverflowTypes 99267 } 99268 if iNdEx >= l { 99269 return io.ErrUnexpectedEOF 99270 } 99271 b := dAtA[iNdEx] 99272 iNdEx++ 99273 wire |= uint64(b&0x7F) << shift 99274 if b < 0x80 { 99275 break 99276 } 99277 } 99278 fieldNum := int32(wire >> 3) 99279 wireType := int(wire & 0x7) 99280 if wireType == 4 { 99281 return fmt.Errorf("proto: WindowsDesktopSpecV3: wiretype end group for non-group") 99282 } 99283 if fieldNum <= 0 { 99284 return fmt.Errorf("proto: WindowsDesktopSpecV3: illegal tag %d (wire type %d)", fieldNum, wire) 99285 } 99286 switch fieldNum { 99287 case 1: 99288 if wireType != 2 { 99289 return fmt.Errorf("proto: wrong wireType = %d for field Addr", wireType) 99290 } 99291 var stringLen uint64 99292 for shift := uint(0); ; shift += 7 { 99293 if shift >= 64 { 99294 return ErrIntOverflowTypes 99295 } 99296 if iNdEx >= l { 99297 return io.ErrUnexpectedEOF 99298 } 99299 b := dAtA[iNdEx] 99300 iNdEx++ 99301 stringLen |= uint64(b&0x7F) << shift 99302 if b < 0x80 { 99303 break 99304 } 99305 } 99306 intStringLen := int(stringLen) 99307 if intStringLen < 0 { 99308 return ErrInvalidLengthTypes 99309 } 99310 postIndex := iNdEx + intStringLen 99311 if postIndex < 0 { 99312 return ErrInvalidLengthTypes 99313 } 99314 if postIndex > l { 99315 return io.ErrUnexpectedEOF 99316 } 99317 m.Addr = string(dAtA[iNdEx:postIndex]) 99318 iNdEx = postIndex 99319 case 2: 99320 if wireType != 2 { 99321 return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) 99322 } 99323 var stringLen uint64 99324 for shift := uint(0); ; shift += 7 { 99325 if shift >= 64 { 99326 return ErrIntOverflowTypes 99327 } 99328 if iNdEx >= l { 99329 return io.ErrUnexpectedEOF 99330 } 99331 b := dAtA[iNdEx] 99332 iNdEx++ 99333 stringLen |= uint64(b&0x7F) << shift 99334 if b < 0x80 { 99335 break 99336 } 99337 } 99338 intStringLen := int(stringLen) 99339 if intStringLen < 0 { 99340 return ErrInvalidLengthTypes 99341 } 99342 postIndex := iNdEx + intStringLen 99343 if postIndex < 0 { 99344 return ErrInvalidLengthTypes 99345 } 99346 if postIndex > l { 99347 return io.ErrUnexpectedEOF 99348 } 99349 m.Domain = string(dAtA[iNdEx:postIndex]) 99350 iNdEx = postIndex 99351 case 3: 99352 if wireType != 2 { 99353 return fmt.Errorf("proto: wrong wireType = %d for field HostID", wireType) 99354 } 99355 var stringLen uint64 99356 for shift := uint(0); ; shift += 7 { 99357 if shift >= 64 { 99358 return ErrIntOverflowTypes 99359 } 99360 if iNdEx >= l { 99361 return io.ErrUnexpectedEOF 99362 } 99363 b := dAtA[iNdEx] 99364 iNdEx++ 99365 stringLen |= uint64(b&0x7F) << shift 99366 if b < 0x80 { 99367 break 99368 } 99369 } 99370 intStringLen := int(stringLen) 99371 if intStringLen < 0 { 99372 return ErrInvalidLengthTypes 99373 } 99374 postIndex := iNdEx + intStringLen 99375 if postIndex < 0 { 99376 return ErrInvalidLengthTypes 99377 } 99378 if postIndex > l { 99379 return io.ErrUnexpectedEOF 99380 } 99381 m.HostID = string(dAtA[iNdEx:postIndex]) 99382 iNdEx = postIndex 99383 case 4: 99384 if wireType != 0 { 99385 return fmt.Errorf("proto: wrong wireType = %d for field NonAD", wireType) 99386 } 99387 var v int 99388 for shift := uint(0); ; shift += 7 { 99389 if shift >= 64 { 99390 return ErrIntOverflowTypes 99391 } 99392 if iNdEx >= l { 99393 return io.ErrUnexpectedEOF 99394 } 99395 b := dAtA[iNdEx] 99396 iNdEx++ 99397 v |= int(b&0x7F) << shift 99398 if b < 0x80 { 99399 break 99400 } 99401 } 99402 m.NonAD = bool(v != 0) 99403 case 5: 99404 if wireType != 2 { 99405 return fmt.Errorf("proto: wrong wireType = %d for field ScreenSize", wireType) 99406 } 99407 var msglen int 99408 for shift := uint(0); ; shift += 7 { 99409 if shift >= 64 { 99410 return ErrIntOverflowTypes 99411 } 99412 if iNdEx >= l { 99413 return io.ErrUnexpectedEOF 99414 } 99415 b := dAtA[iNdEx] 99416 iNdEx++ 99417 msglen |= int(b&0x7F) << shift 99418 if b < 0x80 { 99419 break 99420 } 99421 } 99422 if msglen < 0 { 99423 return ErrInvalidLengthTypes 99424 } 99425 postIndex := iNdEx + msglen 99426 if postIndex < 0 { 99427 return ErrInvalidLengthTypes 99428 } 99429 if postIndex > l { 99430 return io.ErrUnexpectedEOF 99431 } 99432 if m.ScreenSize == nil { 99433 m.ScreenSize = &Resolution{} 99434 } 99435 if err := m.ScreenSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 99436 return err 99437 } 99438 iNdEx = postIndex 99439 default: 99440 iNdEx = preIndex 99441 skippy, err := skipTypes(dAtA[iNdEx:]) 99442 if err != nil { 99443 return err 99444 } 99445 if (skippy < 0) || (iNdEx+skippy) < 0 { 99446 return ErrInvalidLengthTypes 99447 } 99448 if (iNdEx + skippy) > l { 99449 return io.ErrUnexpectedEOF 99450 } 99451 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 99452 iNdEx += skippy 99453 } 99454 } 99455 99456 if iNdEx > l { 99457 return io.ErrUnexpectedEOF 99458 } 99459 return nil 99460 } 99461 func (m *Resolution) Unmarshal(dAtA []byte) error { 99462 l := len(dAtA) 99463 iNdEx := 0 99464 for iNdEx < l { 99465 preIndex := iNdEx 99466 var wire uint64 99467 for shift := uint(0); ; shift += 7 { 99468 if shift >= 64 { 99469 return ErrIntOverflowTypes 99470 } 99471 if iNdEx >= l { 99472 return io.ErrUnexpectedEOF 99473 } 99474 b := dAtA[iNdEx] 99475 iNdEx++ 99476 wire |= uint64(b&0x7F) << shift 99477 if b < 0x80 { 99478 break 99479 } 99480 } 99481 fieldNum := int32(wire >> 3) 99482 wireType := int(wire & 0x7) 99483 if wireType == 4 { 99484 return fmt.Errorf("proto: Resolution: wiretype end group for non-group") 99485 } 99486 if fieldNum <= 0 { 99487 return fmt.Errorf("proto: Resolution: illegal tag %d (wire type %d)", fieldNum, wire) 99488 } 99489 switch fieldNum { 99490 case 1: 99491 if wireType != 0 { 99492 return fmt.Errorf("proto: wrong wireType = %d for field Width", wireType) 99493 } 99494 m.Width = 0 99495 for shift := uint(0); ; shift += 7 { 99496 if shift >= 64 { 99497 return ErrIntOverflowTypes 99498 } 99499 if iNdEx >= l { 99500 return io.ErrUnexpectedEOF 99501 } 99502 b := dAtA[iNdEx] 99503 iNdEx++ 99504 m.Width |= uint32(b&0x7F) << shift 99505 if b < 0x80 { 99506 break 99507 } 99508 } 99509 case 2: 99510 if wireType != 0 { 99511 return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) 99512 } 99513 m.Height = 0 99514 for shift := uint(0); ; shift += 7 { 99515 if shift >= 64 { 99516 return ErrIntOverflowTypes 99517 } 99518 if iNdEx >= l { 99519 return io.ErrUnexpectedEOF 99520 } 99521 b := dAtA[iNdEx] 99522 iNdEx++ 99523 m.Height |= uint32(b&0x7F) << shift 99524 if b < 0x80 { 99525 break 99526 } 99527 } 99528 default: 99529 iNdEx = preIndex 99530 skippy, err := skipTypes(dAtA[iNdEx:]) 99531 if err != nil { 99532 return err 99533 } 99534 if (skippy < 0) || (iNdEx+skippy) < 0 { 99535 return ErrInvalidLengthTypes 99536 } 99537 if (iNdEx + skippy) > l { 99538 return io.ErrUnexpectedEOF 99539 } 99540 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 99541 iNdEx += skippy 99542 } 99543 } 99544 99545 if iNdEx > l { 99546 return io.ErrUnexpectedEOF 99547 } 99548 return nil 99549 } 99550 func (m *RegisterUsingTokenRequest) Unmarshal(dAtA []byte) error { 99551 l := len(dAtA) 99552 iNdEx := 0 99553 for iNdEx < l { 99554 preIndex := iNdEx 99555 var wire uint64 99556 for shift := uint(0); ; shift += 7 { 99557 if shift >= 64 { 99558 return ErrIntOverflowTypes 99559 } 99560 if iNdEx >= l { 99561 return io.ErrUnexpectedEOF 99562 } 99563 b := dAtA[iNdEx] 99564 iNdEx++ 99565 wire |= uint64(b&0x7F) << shift 99566 if b < 0x80 { 99567 break 99568 } 99569 } 99570 fieldNum := int32(wire >> 3) 99571 wireType := int(wire & 0x7) 99572 if wireType == 4 { 99573 return fmt.Errorf("proto: RegisterUsingTokenRequest: wiretype end group for non-group") 99574 } 99575 if fieldNum <= 0 { 99576 return fmt.Errorf("proto: RegisterUsingTokenRequest: illegal tag %d (wire type %d)", fieldNum, wire) 99577 } 99578 switch fieldNum { 99579 case 1: 99580 if wireType != 2 { 99581 return fmt.Errorf("proto: wrong wireType = %d for field HostID", wireType) 99582 } 99583 var stringLen uint64 99584 for shift := uint(0); ; shift += 7 { 99585 if shift >= 64 { 99586 return ErrIntOverflowTypes 99587 } 99588 if iNdEx >= l { 99589 return io.ErrUnexpectedEOF 99590 } 99591 b := dAtA[iNdEx] 99592 iNdEx++ 99593 stringLen |= uint64(b&0x7F) << shift 99594 if b < 0x80 { 99595 break 99596 } 99597 } 99598 intStringLen := int(stringLen) 99599 if intStringLen < 0 { 99600 return ErrInvalidLengthTypes 99601 } 99602 postIndex := iNdEx + intStringLen 99603 if postIndex < 0 { 99604 return ErrInvalidLengthTypes 99605 } 99606 if postIndex > l { 99607 return io.ErrUnexpectedEOF 99608 } 99609 m.HostID = string(dAtA[iNdEx:postIndex]) 99610 iNdEx = postIndex 99611 case 2: 99612 if wireType != 2 { 99613 return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType) 99614 } 99615 var stringLen uint64 99616 for shift := uint(0); ; shift += 7 { 99617 if shift >= 64 { 99618 return ErrIntOverflowTypes 99619 } 99620 if iNdEx >= l { 99621 return io.ErrUnexpectedEOF 99622 } 99623 b := dAtA[iNdEx] 99624 iNdEx++ 99625 stringLen |= uint64(b&0x7F) << shift 99626 if b < 0x80 { 99627 break 99628 } 99629 } 99630 intStringLen := int(stringLen) 99631 if intStringLen < 0 { 99632 return ErrInvalidLengthTypes 99633 } 99634 postIndex := iNdEx + intStringLen 99635 if postIndex < 0 { 99636 return ErrInvalidLengthTypes 99637 } 99638 if postIndex > l { 99639 return io.ErrUnexpectedEOF 99640 } 99641 m.NodeName = string(dAtA[iNdEx:postIndex]) 99642 iNdEx = postIndex 99643 case 3: 99644 if wireType != 2 { 99645 return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) 99646 } 99647 var stringLen uint64 99648 for shift := uint(0); ; shift += 7 { 99649 if shift >= 64 { 99650 return ErrIntOverflowTypes 99651 } 99652 if iNdEx >= l { 99653 return io.ErrUnexpectedEOF 99654 } 99655 b := dAtA[iNdEx] 99656 iNdEx++ 99657 stringLen |= uint64(b&0x7F) << shift 99658 if b < 0x80 { 99659 break 99660 } 99661 } 99662 intStringLen := int(stringLen) 99663 if intStringLen < 0 { 99664 return ErrInvalidLengthTypes 99665 } 99666 postIndex := iNdEx + intStringLen 99667 if postIndex < 0 { 99668 return ErrInvalidLengthTypes 99669 } 99670 if postIndex > l { 99671 return io.ErrUnexpectedEOF 99672 } 99673 m.Role = SystemRole(dAtA[iNdEx:postIndex]) 99674 iNdEx = postIndex 99675 case 4: 99676 if wireType != 2 { 99677 return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) 99678 } 99679 var stringLen uint64 99680 for shift := uint(0); ; shift += 7 { 99681 if shift >= 64 { 99682 return ErrIntOverflowTypes 99683 } 99684 if iNdEx >= l { 99685 return io.ErrUnexpectedEOF 99686 } 99687 b := dAtA[iNdEx] 99688 iNdEx++ 99689 stringLen |= uint64(b&0x7F) << shift 99690 if b < 0x80 { 99691 break 99692 } 99693 } 99694 intStringLen := int(stringLen) 99695 if intStringLen < 0 { 99696 return ErrInvalidLengthTypes 99697 } 99698 postIndex := iNdEx + intStringLen 99699 if postIndex < 0 { 99700 return ErrInvalidLengthTypes 99701 } 99702 if postIndex > l { 99703 return io.ErrUnexpectedEOF 99704 } 99705 m.Token = string(dAtA[iNdEx:postIndex]) 99706 iNdEx = postIndex 99707 case 5: 99708 if wireType != 2 { 99709 return fmt.Errorf("proto: wrong wireType = %d for field AdditionalPrincipals", wireType) 99710 } 99711 var stringLen uint64 99712 for shift := uint(0); ; shift += 7 { 99713 if shift >= 64 { 99714 return ErrIntOverflowTypes 99715 } 99716 if iNdEx >= l { 99717 return io.ErrUnexpectedEOF 99718 } 99719 b := dAtA[iNdEx] 99720 iNdEx++ 99721 stringLen |= uint64(b&0x7F) << shift 99722 if b < 0x80 { 99723 break 99724 } 99725 } 99726 intStringLen := int(stringLen) 99727 if intStringLen < 0 { 99728 return ErrInvalidLengthTypes 99729 } 99730 postIndex := iNdEx + intStringLen 99731 if postIndex < 0 { 99732 return ErrInvalidLengthTypes 99733 } 99734 if postIndex > l { 99735 return io.ErrUnexpectedEOF 99736 } 99737 m.AdditionalPrincipals = append(m.AdditionalPrincipals, string(dAtA[iNdEx:postIndex])) 99738 iNdEx = postIndex 99739 case 6: 99740 if wireType != 2 { 99741 return fmt.Errorf("proto: wrong wireType = %d for field DNSNames", wireType) 99742 } 99743 var stringLen uint64 99744 for shift := uint(0); ; shift += 7 { 99745 if shift >= 64 { 99746 return ErrIntOverflowTypes 99747 } 99748 if iNdEx >= l { 99749 return io.ErrUnexpectedEOF 99750 } 99751 b := dAtA[iNdEx] 99752 iNdEx++ 99753 stringLen |= uint64(b&0x7F) << shift 99754 if b < 0x80 { 99755 break 99756 } 99757 } 99758 intStringLen := int(stringLen) 99759 if intStringLen < 0 { 99760 return ErrInvalidLengthTypes 99761 } 99762 postIndex := iNdEx + intStringLen 99763 if postIndex < 0 { 99764 return ErrInvalidLengthTypes 99765 } 99766 if postIndex > l { 99767 return io.ErrUnexpectedEOF 99768 } 99769 m.DNSNames = append(m.DNSNames, string(dAtA[iNdEx:postIndex])) 99770 iNdEx = postIndex 99771 case 7: 99772 if wireType != 2 { 99773 return fmt.Errorf("proto: wrong wireType = %d for field PublicTLSKey", wireType) 99774 } 99775 var byteLen int 99776 for shift := uint(0); ; shift += 7 { 99777 if shift >= 64 { 99778 return ErrIntOverflowTypes 99779 } 99780 if iNdEx >= l { 99781 return io.ErrUnexpectedEOF 99782 } 99783 b := dAtA[iNdEx] 99784 iNdEx++ 99785 byteLen |= int(b&0x7F) << shift 99786 if b < 0x80 { 99787 break 99788 } 99789 } 99790 if byteLen < 0 { 99791 return ErrInvalidLengthTypes 99792 } 99793 postIndex := iNdEx + byteLen 99794 if postIndex < 0 { 99795 return ErrInvalidLengthTypes 99796 } 99797 if postIndex > l { 99798 return io.ErrUnexpectedEOF 99799 } 99800 m.PublicTLSKey = append(m.PublicTLSKey[:0], dAtA[iNdEx:postIndex]...) 99801 if m.PublicTLSKey == nil { 99802 m.PublicTLSKey = []byte{} 99803 } 99804 iNdEx = postIndex 99805 case 8: 99806 if wireType != 2 { 99807 return fmt.Errorf("proto: wrong wireType = %d for field PublicSSHKey", wireType) 99808 } 99809 var byteLen int 99810 for shift := uint(0); ; shift += 7 { 99811 if shift >= 64 { 99812 return ErrIntOverflowTypes 99813 } 99814 if iNdEx >= l { 99815 return io.ErrUnexpectedEOF 99816 } 99817 b := dAtA[iNdEx] 99818 iNdEx++ 99819 byteLen |= int(b&0x7F) << shift 99820 if b < 0x80 { 99821 break 99822 } 99823 } 99824 if byteLen < 0 { 99825 return ErrInvalidLengthTypes 99826 } 99827 postIndex := iNdEx + byteLen 99828 if postIndex < 0 { 99829 return ErrInvalidLengthTypes 99830 } 99831 if postIndex > l { 99832 return io.ErrUnexpectedEOF 99833 } 99834 m.PublicSSHKey = append(m.PublicSSHKey[:0], dAtA[iNdEx:postIndex]...) 99835 if m.PublicSSHKey == nil { 99836 m.PublicSSHKey = []byte{} 99837 } 99838 iNdEx = postIndex 99839 case 9: 99840 if wireType != 2 { 99841 return fmt.Errorf("proto: wrong wireType = %d for field RemoteAddr", wireType) 99842 } 99843 var stringLen uint64 99844 for shift := uint(0); ; shift += 7 { 99845 if shift >= 64 { 99846 return ErrIntOverflowTypes 99847 } 99848 if iNdEx >= l { 99849 return io.ErrUnexpectedEOF 99850 } 99851 b := dAtA[iNdEx] 99852 iNdEx++ 99853 stringLen |= uint64(b&0x7F) << shift 99854 if b < 0x80 { 99855 break 99856 } 99857 } 99858 intStringLen := int(stringLen) 99859 if intStringLen < 0 { 99860 return ErrInvalidLengthTypes 99861 } 99862 postIndex := iNdEx + intStringLen 99863 if postIndex < 0 { 99864 return ErrInvalidLengthTypes 99865 } 99866 if postIndex > l { 99867 return io.ErrUnexpectedEOF 99868 } 99869 m.RemoteAddr = string(dAtA[iNdEx:postIndex]) 99870 iNdEx = postIndex 99871 case 10: 99872 if wireType != 2 { 99873 return fmt.Errorf("proto: wrong wireType = %d for field EC2IdentityDocument", wireType) 99874 } 99875 var byteLen int 99876 for shift := uint(0); ; shift += 7 { 99877 if shift >= 64 { 99878 return ErrIntOverflowTypes 99879 } 99880 if iNdEx >= l { 99881 return io.ErrUnexpectedEOF 99882 } 99883 b := dAtA[iNdEx] 99884 iNdEx++ 99885 byteLen |= int(b&0x7F) << shift 99886 if b < 0x80 { 99887 break 99888 } 99889 } 99890 if byteLen < 0 { 99891 return ErrInvalidLengthTypes 99892 } 99893 postIndex := iNdEx + byteLen 99894 if postIndex < 0 { 99895 return ErrInvalidLengthTypes 99896 } 99897 if postIndex > l { 99898 return io.ErrUnexpectedEOF 99899 } 99900 m.EC2IdentityDocument = append(m.EC2IdentityDocument[:0], dAtA[iNdEx:postIndex]...) 99901 if m.EC2IdentityDocument == nil { 99902 m.EC2IdentityDocument = []byte{} 99903 } 99904 iNdEx = postIndex 99905 case 11: 99906 if wireType != 2 { 99907 return fmt.Errorf("proto: wrong wireType = %d for field IDToken", wireType) 99908 } 99909 var stringLen uint64 99910 for shift := uint(0); ; shift += 7 { 99911 if shift >= 64 { 99912 return ErrIntOverflowTypes 99913 } 99914 if iNdEx >= l { 99915 return io.ErrUnexpectedEOF 99916 } 99917 b := dAtA[iNdEx] 99918 iNdEx++ 99919 stringLen |= uint64(b&0x7F) << shift 99920 if b < 0x80 { 99921 break 99922 } 99923 } 99924 intStringLen := int(stringLen) 99925 if intStringLen < 0 { 99926 return ErrInvalidLengthTypes 99927 } 99928 postIndex := iNdEx + intStringLen 99929 if postIndex < 0 { 99930 return ErrInvalidLengthTypes 99931 } 99932 if postIndex > l { 99933 return io.ErrUnexpectedEOF 99934 } 99935 m.IDToken = string(dAtA[iNdEx:postIndex]) 99936 iNdEx = postIndex 99937 case 12: 99938 if wireType != 2 { 99939 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 99940 } 99941 var msglen int 99942 for shift := uint(0); ; shift += 7 { 99943 if shift >= 64 { 99944 return ErrIntOverflowTypes 99945 } 99946 if iNdEx >= l { 99947 return io.ErrUnexpectedEOF 99948 } 99949 b := dAtA[iNdEx] 99950 iNdEx++ 99951 msglen |= int(b&0x7F) << shift 99952 if b < 0x80 { 99953 break 99954 } 99955 } 99956 if msglen < 0 { 99957 return ErrInvalidLengthTypes 99958 } 99959 postIndex := iNdEx + msglen 99960 if postIndex < 0 { 99961 return ErrInvalidLengthTypes 99962 } 99963 if postIndex > l { 99964 return io.ErrUnexpectedEOF 99965 } 99966 if m.Expires == nil { 99967 m.Expires = new(time.Time) 99968 } 99969 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.Expires, dAtA[iNdEx:postIndex]); err != nil { 99970 return err 99971 } 99972 iNdEx = postIndex 99973 default: 99974 iNdEx = preIndex 99975 skippy, err := skipTypes(dAtA[iNdEx:]) 99976 if err != nil { 99977 return err 99978 } 99979 if (skippy < 0) || (iNdEx+skippy) < 0 { 99980 return ErrInvalidLengthTypes 99981 } 99982 if (iNdEx + skippy) > l { 99983 return io.ErrUnexpectedEOF 99984 } 99985 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 99986 iNdEx += skippy 99987 } 99988 } 99989 99990 if iNdEx > l { 99991 return io.ErrUnexpectedEOF 99992 } 99993 return nil 99994 } 99995 func (m *RecoveryCodesV1) Unmarshal(dAtA []byte) error { 99996 l := len(dAtA) 99997 iNdEx := 0 99998 for iNdEx < l { 99999 preIndex := iNdEx 100000 var wire uint64 100001 for shift := uint(0); ; shift += 7 { 100002 if shift >= 64 { 100003 return ErrIntOverflowTypes 100004 } 100005 if iNdEx >= l { 100006 return io.ErrUnexpectedEOF 100007 } 100008 b := dAtA[iNdEx] 100009 iNdEx++ 100010 wire |= uint64(b&0x7F) << shift 100011 if b < 0x80 { 100012 break 100013 } 100014 } 100015 fieldNum := int32(wire >> 3) 100016 wireType := int(wire & 0x7) 100017 if wireType == 4 { 100018 return fmt.Errorf("proto: RecoveryCodesV1: wiretype end group for non-group") 100019 } 100020 if fieldNum <= 0 { 100021 return fmt.Errorf("proto: RecoveryCodesV1: illegal tag %d (wire type %d)", fieldNum, wire) 100022 } 100023 switch fieldNum { 100024 case 1: 100025 if wireType != 2 { 100026 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 100027 } 100028 var stringLen uint64 100029 for shift := uint(0); ; shift += 7 { 100030 if shift >= 64 { 100031 return ErrIntOverflowTypes 100032 } 100033 if iNdEx >= l { 100034 return io.ErrUnexpectedEOF 100035 } 100036 b := dAtA[iNdEx] 100037 iNdEx++ 100038 stringLen |= uint64(b&0x7F) << shift 100039 if b < 0x80 { 100040 break 100041 } 100042 } 100043 intStringLen := int(stringLen) 100044 if intStringLen < 0 { 100045 return ErrInvalidLengthTypes 100046 } 100047 postIndex := iNdEx + intStringLen 100048 if postIndex < 0 { 100049 return ErrInvalidLengthTypes 100050 } 100051 if postIndex > l { 100052 return io.ErrUnexpectedEOF 100053 } 100054 m.Kind = string(dAtA[iNdEx:postIndex]) 100055 iNdEx = postIndex 100056 case 2: 100057 if wireType != 2 { 100058 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 100059 } 100060 var stringLen uint64 100061 for shift := uint(0); ; shift += 7 { 100062 if shift >= 64 { 100063 return ErrIntOverflowTypes 100064 } 100065 if iNdEx >= l { 100066 return io.ErrUnexpectedEOF 100067 } 100068 b := dAtA[iNdEx] 100069 iNdEx++ 100070 stringLen |= uint64(b&0x7F) << shift 100071 if b < 0x80 { 100072 break 100073 } 100074 } 100075 intStringLen := int(stringLen) 100076 if intStringLen < 0 { 100077 return ErrInvalidLengthTypes 100078 } 100079 postIndex := iNdEx + intStringLen 100080 if postIndex < 0 { 100081 return ErrInvalidLengthTypes 100082 } 100083 if postIndex > l { 100084 return io.ErrUnexpectedEOF 100085 } 100086 m.SubKind = string(dAtA[iNdEx:postIndex]) 100087 iNdEx = postIndex 100088 case 3: 100089 if wireType != 2 { 100090 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 100091 } 100092 var stringLen uint64 100093 for shift := uint(0); ; shift += 7 { 100094 if shift >= 64 { 100095 return ErrIntOverflowTypes 100096 } 100097 if iNdEx >= l { 100098 return io.ErrUnexpectedEOF 100099 } 100100 b := dAtA[iNdEx] 100101 iNdEx++ 100102 stringLen |= uint64(b&0x7F) << shift 100103 if b < 0x80 { 100104 break 100105 } 100106 } 100107 intStringLen := int(stringLen) 100108 if intStringLen < 0 { 100109 return ErrInvalidLengthTypes 100110 } 100111 postIndex := iNdEx + intStringLen 100112 if postIndex < 0 { 100113 return ErrInvalidLengthTypes 100114 } 100115 if postIndex > l { 100116 return io.ErrUnexpectedEOF 100117 } 100118 m.Version = string(dAtA[iNdEx:postIndex]) 100119 iNdEx = postIndex 100120 case 4: 100121 if wireType != 2 { 100122 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 100123 } 100124 var msglen int 100125 for shift := uint(0); ; shift += 7 { 100126 if shift >= 64 { 100127 return ErrIntOverflowTypes 100128 } 100129 if iNdEx >= l { 100130 return io.ErrUnexpectedEOF 100131 } 100132 b := dAtA[iNdEx] 100133 iNdEx++ 100134 msglen |= int(b&0x7F) << shift 100135 if b < 0x80 { 100136 break 100137 } 100138 } 100139 if msglen < 0 { 100140 return ErrInvalidLengthTypes 100141 } 100142 postIndex := iNdEx + msglen 100143 if postIndex < 0 { 100144 return ErrInvalidLengthTypes 100145 } 100146 if postIndex > l { 100147 return io.ErrUnexpectedEOF 100148 } 100149 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 100150 return err 100151 } 100152 iNdEx = postIndex 100153 case 5: 100154 if wireType != 2 { 100155 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 100156 } 100157 var msglen int 100158 for shift := uint(0); ; shift += 7 { 100159 if shift >= 64 { 100160 return ErrIntOverflowTypes 100161 } 100162 if iNdEx >= l { 100163 return io.ErrUnexpectedEOF 100164 } 100165 b := dAtA[iNdEx] 100166 iNdEx++ 100167 msglen |= int(b&0x7F) << shift 100168 if b < 0x80 { 100169 break 100170 } 100171 } 100172 if msglen < 0 { 100173 return ErrInvalidLengthTypes 100174 } 100175 postIndex := iNdEx + msglen 100176 if postIndex < 0 { 100177 return ErrInvalidLengthTypes 100178 } 100179 if postIndex > l { 100180 return io.ErrUnexpectedEOF 100181 } 100182 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 100183 return err 100184 } 100185 iNdEx = postIndex 100186 default: 100187 iNdEx = preIndex 100188 skippy, err := skipTypes(dAtA[iNdEx:]) 100189 if err != nil { 100190 return err 100191 } 100192 if (skippy < 0) || (iNdEx+skippy) < 0 { 100193 return ErrInvalidLengthTypes 100194 } 100195 if (iNdEx + skippy) > l { 100196 return io.ErrUnexpectedEOF 100197 } 100198 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 100199 iNdEx += skippy 100200 } 100201 } 100202 100203 if iNdEx > l { 100204 return io.ErrUnexpectedEOF 100205 } 100206 return nil 100207 } 100208 func (m *RecoveryCodesSpecV1) Unmarshal(dAtA []byte) error { 100209 l := len(dAtA) 100210 iNdEx := 0 100211 for iNdEx < l { 100212 preIndex := iNdEx 100213 var wire uint64 100214 for shift := uint(0); ; shift += 7 { 100215 if shift >= 64 { 100216 return ErrIntOverflowTypes 100217 } 100218 if iNdEx >= l { 100219 return io.ErrUnexpectedEOF 100220 } 100221 b := dAtA[iNdEx] 100222 iNdEx++ 100223 wire |= uint64(b&0x7F) << shift 100224 if b < 0x80 { 100225 break 100226 } 100227 } 100228 fieldNum := int32(wire >> 3) 100229 wireType := int(wire & 0x7) 100230 if wireType == 4 { 100231 return fmt.Errorf("proto: RecoveryCodesSpecV1: wiretype end group for non-group") 100232 } 100233 if fieldNum <= 0 { 100234 return fmt.Errorf("proto: RecoveryCodesSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 100235 } 100236 switch fieldNum { 100237 case 1: 100238 if wireType != 2 { 100239 return fmt.Errorf("proto: wrong wireType = %d for field Codes", wireType) 100240 } 100241 var msglen int 100242 for shift := uint(0); ; shift += 7 { 100243 if shift >= 64 { 100244 return ErrIntOverflowTypes 100245 } 100246 if iNdEx >= l { 100247 return io.ErrUnexpectedEOF 100248 } 100249 b := dAtA[iNdEx] 100250 iNdEx++ 100251 msglen |= int(b&0x7F) << shift 100252 if b < 0x80 { 100253 break 100254 } 100255 } 100256 if msglen < 0 { 100257 return ErrInvalidLengthTypes 100258 } 100259 postIndex := iNdEx + msglen 100260 if postIndex < 0 { 100261 return ErrInvalidLengthTypes 100262 } 100263 if postIndex > l { 100264 return io.ErrUnexpectedEOF 100265 } 100266 m.Codes = append(m.Codes, RecoveryCode{}) 100267 if err := m.Codes[len(m.Codes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 100268 return err 100269 } 100270 iNdEx = postIndex 100271 case 2: 100272 if wireType != 2 { 100273 return fmt.Errorf("proto: wrong wireType = %d for field Created", wireType) 100274 } 100275 var msglen int 100276 for shift := uint(0); ; shift += 7 { 100277 if shift >= 64 { 100278 return ErrIntOverflowTypes 100279 } 100280 if iNdEx >= l { 100281 return io.ErrUnexpectedEOF 100282 } 100283 b := dAtA[iNdEx] 100284 iNdEx++ 100285 msglen |= int(b&0x7F) << shift 100286 if b < 0x80 { 100287 break 100288 } 100289 } 100290 if msglen < 0 { 100291 return ErrInvalidLengthTypes 100292 } 100293 postIndex := iNdEx + msglen 100294 if postIndex < 0 { 100295 return ErrInvalidLengthTypes 100296 } 100297 if postIndex > l { 100298 return io.ErrUnexpectedEOF 100299 } 100300 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Created, dAtA[iNdEx:postIndex]); err != nil { 100301 return err 100302 } 100303 iNdEx = postIndex 100304 default: 100305 iNdEx = preIndex 100306 skippy, err := skipTypes(dAtA[iNdEx:]) 100307 if err != nil { 100308 return err 100309 } 100310 if (skippy < 0) || (iNdEx+skippy) < 0 { 100311 return ErrInvalidLengthTypes 100312 } 100313 if (iNdEx + skippy) > l { 100314 return io.ErrUnexpectedEOF 100315 } 100316 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 100317 iNdEx += skippy 100318 } 100319 } 100320 100321 if iNdEx > l { 100322 return io.ErrUnexpectedEOF 100323 } 100324 return nil 100325 } 100326 func (m *RecoveryCode) Unmarshal(dAtA []byte) error { 100327 l := len(dAtA) 100328 iNdEx := 0 100329 for iNdEx < l { 100330 preIndex := iNdEx 100331 var wire uint64 100332 for shift := uint(0); ; shift += 7 { 100333 if shift >= 64 { 100334 return ErrIntOverflowTypes 100335 } 100336 if iNdEx >= l { 100337 return io.ErrUnexpectedEOF 100338 } 100339 b := dAtA[iNdEx] 100340 iNdEx++ 100341 wire |= uint64(b&0x7F) << shift 100342 if b < 0x80 { 100343 break 100344 } 100345 } 100346 fieldNum := int32(wire >> 3) 100347 wireType := int(wire & 0x7) 100348 if wireType == 4 { 100349 return fmt.Errorf("proto: RecoveryCode: wiretype end group for non-group") 100350 } 100351 if fieldNum <= 0 { 100352 return fmt.Errorf("proto: RecoveryCode: illegal tag %d (wire type %d)", fieldNum, wire) 100353 } 100354 switch fieldNum { 100355 case 1: 100356 if wireType != 2 { 100357 return fmt.Errorf("proto: wrong wireType = %d for field HashedCode", wireType) 100358 } 100359 var byteLen int 100360 for shift := uint(0); ; shift += 7 { 100361 if shift >= 64 { 100362 return ErrIntOverflowTypes 100363 } 100364 if iNdEx >= l { 100365 return io.ErrUnexpectedEOF 100366 } 100367 b := dAtA[iNdEx] 100368 iNdEx++ 100369 byteLen |= int(b&0x7F) << shift 100370 if b < 0x80 { 100371 break 100372 } 100373 } 100374 if byteLen < 0 { 100375 return ErrInvalidLengthTypes 100376 } 100377 postIndex := iNdEx + byteLen 100378 if postIndex < 0 { 100379 return ErrInvalidLengthTypes 100380 } 100381 if postIndex > l { 100382 return io.ErrUnexpectedEOF 100383 } 100384 m.HashedCode = append(m.HashedCode[:0], dAtA[iNdEx:postIndex]...) 100385 if m.HashedCode == nil { 100386 m.HashedCode = []byte{} 100387 } 100388 iNdEx = postIndex 100389 case 2: 100390 if wireType != 0 { 100391 return fmt.Errorf("proto: wrong wireType = %d for field IsUsed", wireType) 100392 } 100393 var v int 100394 for shift := uint(0); ; shift += 7 { 100395 if shift >= 64 { 100396 return ErrIntOverflowTypes 100397 } 100398 if iNdEx >= l { 100399 return io.ErrUnexpectedEOF 100400 } 100401 b := dAtA[iNdEx] 100402 iNdEx++ 100403 v |= int(b&0x7F) << shift 100404 if b < 0x80 { 100405 break 100406 } 100407 } 100408 m.IsUsed = bool(v != 0) 100409 default: 100410 iNdEx = preIndex 100411 skippy, err := skipTypes(dAtA[iNdEx:]) 100412 if err != nil { 100413 return err 100414 } 100415 if (skippy < 0) || (iNdEx+skippy) < 0 { 100416 return ErrInvalidLengthTypes 100417 } 100418 if (iNdEx + skippy) > l { 100419 return io.ErrUnexpectedEOF 100420 } 100421 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 100422 iNdEx += skippy 100423 } 100424 } 100425 100426 if iNdEx > l { 100427 return io.ErrUnexpectedEOF 100428 } 100429 return nil 100430 } 100431 func (m *NullableSessionState) Unmarshal(dAtA []byte) error { 100432 l := len(dAtA) 100433 iNdEx := 0 100434 for iNdEx < l { 100435 preIndex := iNdEx 100436 var wire uint64 100437 for shift := uint(0); ; shift += 7 { 100438 if shift >= 64 { 100439 return ErrIntOverflowTypes 100440 } 100441 if iNdEx >= l { 100442 return io.ErrUnexpectedEOF 100443 } 100444 b := dAtA[iNdEx] 100445 iNdEx++ 100446 wire |= uint64(b&0x7F) << shift 100447 if b < 0x80 { 100448 break 100449 } 100450 } 100451 fieldNum := int32(wire >> 3) 100452 wireType := int(wire & 0x7) 100453 if wireType == 4 { 100454 return fmt.Errorf("proto: NullableSessionState: wiretype end group for non-group") 100455 } 100456 if fieldNum <= 0 { 100457 return fmt.Errorf("proto: NullableSessionState: illegal tag %d (wire type %d)", fieldNum, wire) 100458 } 100459 switch fieldNum { 100460 case 1: 100461 if wireType != 0 { 100462 return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) 100463 } 100464 m.State = 0 100465 for shift := uint(0); ; shift += 7 { 100466 if shift >= 64 { 100467 return ErrIntOverflowTypes 100468 } 100469 if iNdEx >= l { 100470 return io.ErrUnexpectedEOF 100471 } 100472 b := dAtA[iNdEx] 100473 iNdEx++ 100474 m.State |= SessionState(b&0x7F) << shift 100475 if b < 0x80 { 100476 break 100477 } 100478 } 100479 default: 100480 iNdEx = preIndex 100481 skippy, err := skipTypes(dAtA[iNdEx:]) 100482 if err != nil { 100483 return err 100484 } 100485 if (skippy < 0) || (iNdEx+skippy) < 0 { 100486 return ErrInvalidLengthTypes 100487 } 100488 if (iNdEx + skippy) > l { 100489 return io.ErrUnexpectedEOF 100490 } 100491 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 100492 iNdEx += skippy 100493 } 100494 } 100495 100496 if iNdEx > l { 100497 return io.ErrUnexpectedEOF 100498 } 100499 return nil 100500 } 100501 func (m *SessionTrackerFilter) Unmarshal(dAtA []byte) error { 100502 l := len(dAtA) 100503 iNdEx := 0 100504 for iNdEx < l { 100505 preIndex := iNdEx 100506 var wire uint64 100507 for shift := uint(0); ; shift += 7 { 100508 if shift >= 64 { 100509 return ErrIntOverflowTypes 100510 } 100511 if iNdEx >= l { 100512 return io.ErrUnexpectedEOF 100513 } 100514 b := dAtA[iNdEx] 100515 iNdEx++ 100516 wire |= uint64(b&0x7F) << shift 100517 if b < 0x80 { 100518 break 100519 } 100520 } 100521 fieldNum := int32(wire >> 3) 100522 wireType := int(wire & 0x7) 100523 if wireType == 4 { 100524 return fmt.Errorf("proto: SessionTrackerFilter: wiretype end group for non-group") 100525 } 100526 if fieldNum <= 0 { 100527 return fmt.Errorf("proto: SessionTrackerFilter: illegal tag %d (wire type %d)", fieldNum, wire) 100528 } 100529 switch fieldNum { 100530 case 1: 100531 if wireType != 2 { 100532 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 100533 } 100534 var stringLen uint64 100535 for shift := uint(0); ; shift += 7 { 100536 if shift >= 64 { 100537 return ErrIntOverflowTypes 100538 } 100539 if iNdEx >= l { 100540 return io.ErrUnexpectedEOF 100541 } 100542 b := dAtA[iNdEx] 100543 iNdEx++ 100544 stringLen |= uint64(b&0x7F) << shift 100545 if b < 0x80 { 100546 break 100547 } 100548 } 100549 intStringLen := int(stringLen) 100550 if intStringLen < 0 { 100551 return ErrInvalidLengthTypes 100552 } 100553 postIndex := iNdEx + intStringLen 100554 if postIndex < 0 { 100555 return ErrInvalidLengthTypes 100556 } 100557 if postIndex > l { 100558 return io.ErrUnexpectedEOF 100559 } 100560 m.Kind = string(dAtA[iNdEx:postIndex]) 100561 iNdEx = postIndex 100562 case 2: 100563 if wireType != 2 { 100564 return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) 100565 } 100566 var msglen int 100567 for shift := uint(0); ; shift += 7 { 100568 if shift >= 64 { 100569 return ErrIntOverflowTypes 100570 } 100571 if iNdEx >= l { 100572 return io.ErrUnexpectedEOF 100573 } 100574 b := dAtA[iNdEx] 100575 iNdEx++ 100576 msglen |= int(b&0x7F) << shift 100577 if b < 0x80 { 100578 break 100579 } 100580 } 100581 if msglen < 0 { 100582 return ErrInvalidLengthTypes 100583 } 100584 postIndex := iNdEx + msglen 100585 if postIndex < 0 { 100586 return ErrInvalidLengthTypes 100587 } 100588 if postIndex > l { 100589 return io.ErrUnexpectedEOF 100590 } 100591 if m.State == nil { 100592 m.State = &NullableSessionState{} 100593 } 100594 if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 100595 return err 100596 } 100597 iNdEx = postIndex 100598 case 3: 100599 if wireType != 2 { 100600 return fmt.Errorf("proto: wrong wireType = %d for field DesktopName", wireType) 100601 } 100602 var stringLen uint64 100603 for shift := uint(0); ; shift += 7 { 100604 if shift >= 64 { 100605 return ErrIntOverflowTypes 100606 } 100607 if iNdEx >= l { 100608 return io.ErrUnexpectedEOF 100609 } 100610 b := dAtA[iNdEx] 100611 iNdEx++ 100612 stringLen |= uint64(b&0x7F) << shift 100613 if b < 0x80 { 100614 break 100615 } 100616 } 100617 intStringLen := int(stringLen) 100618 if intStringLen < 0 { 100619 return ErrInvalidLengthTypes 100620 } 100621 postIndex := iNdEx + intStringLen 100622 if postIndex < 0 { 100623 return ErrInvalidLengthTypes 100624 } 100625 if postIndex > l { 100626 return io.ErrUnexpectedEOF 100627 } 100628 m.DesktopName = string(dAtA[iNdEx:postIndex]) 100629 iNdEx = postIndex 100630 default: 100631 iNdEx = preIndex 100632 skippy, err := skipTypes(dAtA[iNdEx:]) 100633 if err != nil { 100634 return err 100635 } 100636 if (skippy < 0) || (iNdEx+skippy) < 0 { 100637 return ErrInvalidLengthTypes 100638 } 100639 if (iNdEx + skippy) > l { 100640 return io.ErrUnexpectedEOF 100641 } 100642 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 100643 iNdEx += skippy 100644 } 100645 } 100646 100647 if iNdEx > l { 100648 return io.ErrUnexpectedEOF 100649 } 100650 return nil 100651 } 100652 func (m *SessionTrackerV1) Unmarshal(dAtA []byte) error { 100653 l := len(dAtA) 100654 iNdEx := 0 100655 for iNdEx < l { 100656 preIndex := iNdEx 100657 var wire uint64 100658 for shift := uint(0); ; shift += 7 { 100659 if shift >= 64 { 100660 return ErrIntOverflowTypes 100661 } 100662 if iNdEx >= l { 100663 return io.ErrUnexpectedEOF 100664 } 100665 b := dAtA[iNdEx] 100666 iNdEx++ 100667 wire |= uint64(b&0x7F) << shift 100668 if b < 0x80 { 100669 break 100670 } 100671 } 100672 fieldNum := int32(wire >> 3) 100673 wireType := int(wire & 0x7) 100674 if wireType == 4 { 100675 return fmt.Errorf("proto: SessionTrackerV1: wiretype end group for non-group") 100676 } 100677 if fieldNum <= 0 { 100678 return fmt.Errorf("proto: SessionTrackerV1: illegal tag %d (wire type %d)", fieldNum, wire) 100679 } 100680 switch fieldNum { 100681 case 1: 100682 if wireType != 2 { 100683 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 100684 } 100685 var msglen int 100686 for shift := uint(0); ; shift += 7 { 100687 if shift >= 64 { 100688 return ErrIntOverflowTypes 100689 } 100690 if iNdEx >= l { 100691 return io.ErrUnexpectedEOF 100692 } 100693 b := dAtA[iNdEx] 100694 iNdEx++ 100695 msglen |= int(b&0x7F) << shift 100696 if b < 0x80 { 100697 break 100698 } 100699 } 100700 if msglen < 0 { 100701 return ErrInvalidLengthTypes 100702 } 100703 postIndex := iNdEx + msglen 100704 if postIndex < 0 { 100705 return ErrInvalidLengthTypes 100706 } 100707 if postIndex > l { 100708 return io.ErrUnexpectedEOF 100709 } 100710 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 100711 return err 100712 } 100713 iNdEx = postIndex 100714 case 2: 100715 if wireType != 2 { 100716 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 100717 } 100718 var msglen int 100719 for shift := uint(0); ; shift += 7 { 100720 if shift >= 64 { 100721 return ErrIntOverflowTypes 100722 } 100723 if iNdEx >= l { 100724 return io.ErrUnexpectedEOF 100725 } 100726 b := dAtA[iNdEx] 100727 iNdEx++ 100728 msglen |= int(b&0x7F) << shift 100729 if b < 0x80 { 100730 break 100731 } 100732 } 100733 if msglen < 0 { 100734 return ErrInvalidLengthTypes 100735 } 100736 postIndex := iNdEx + msglen 100737 if postIndex < 0 { 100738 return ErrInvalidLengthTypes 100739 } 100740 if postIndex > l { 100741 return io.ErrUnexpectedEOF 100742 } 100743 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 100744 return err 100745 } 100746 iNdEx = postIndex 100747 default: 100748 iNdEx = preIndex 100749 skippy, err := skipTypes(dAtA[iNdEx:]) 100750 if err != nil { 100751 return err 100752 } 100753 if (skippy < 0) || (iNdEx+skippy) < 0 { 100754 return ErrInvalidLengthTypes 100755 } 100756 if (iNdEx + skippy) > l { 100757 return io.ErrUnexpectedEOF 100758 } 100759 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 100760 iNdEx += skippy 100761 } 100762 } 100763 100764 if iNdEx > l { 100765 return io.ErrUnexpectedEOF 100766 } 100767 return nil 100768 } 100769 func (m *SessionTrackerSpecV1) Unmarshal(dAtA []byte) error { 100770 l := len(dAtA) 100771 iNdEx := 0 100772 for iNdEx < l { 100773 preIndex := iNdEx 100774 var wire uint64 100775 for shift := uint(0); ; shift += 7 { 100776 if shift >= 64 { 100777 return ErrIntOverflowTypes 100778 } 100779 if iNdEx >= l { 100780 return io.ErrUnexpectedEOF 100781 } 100782 b := dAtA[iNdEx] 100783 iNdEx++ 100784 wire |= uint64(b&0x7F) << shift 100785 if b < 0x80 { 100786 break 100787 } 100788 } 100789 fieldNum := int32(wire >> 3) 100790 wireType := int(wire & 0x7) 100791 if wireType == 4 { 100792 return fmt.Errorf("proto: SessionTrackerSpecV1: wiretype end group for non-group") 100793 } 100794 if fieldNum <= 0 { 100795 return fmt.Errorf("proto: SessionTrackerSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 100796 } 100797 switch fieldNum { 100798 case 1: 100799 if wireType != 2 { 100800 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 100801 } 100802 var stringLen uint64 100803 for shift := uint(0); ; shift += 7 { 100804 if shift >= 64 { 100805 return ErrIntOverflowTypes 100806 } 100807 if iNdEx >= l { 100808 return io.ErrUnexpectedEOF 100809 } 100810 b := dAtA[iNdEx] 100811 iNdEx++ 100812 stringLen |= uint64(b&0x7F) << shift 100813 if b < 0x80 { 100814 break 100815 } 100816 } 100817 intStringLen := int(stringLen) 100818 if intStringLen < 0 { 100819 return ErrInvalidLengthTypes 100820 } 100821 postIndex := iNdEx + intStringLen 100822 if postIndex < 0 { 100823 return ErrInvalidLengthTypes 100824 } 100825 if postIndex > l { 100826 return io.ErrUnexpectedEOF 100827 } 100828 m.SessionID = string(dAtA[iNdEx:postIndex]) 100829 iNdEx = postIndex 100830 case 2: 100831 if wireType != 2 { 100832 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 100833 } 100834 var stringLen uint64 100835 for shift := uint(0); ; shift += 7 { 100836 if shift >= 64 { 100837 return ErrIntOverflowTypes 100838 } 100839 if iNdEx >= l { 100840 return io.ErrUnexpectedEOF 100841 } 100842 b := dAtA[iNdEx] 100843 iNdEx++ 100844 stringLen |= uint64(b&0x7F) << shift 100845 if b < 0x80 { 100846 break 100847 } 100848 } 100849 intStringLen := int(stringLen) 100850 if intStringLen < 0 { 100851 return ErrInvalidLengthTypes 100852 } 100853 postIndex := iNdEx + intStringLen 100854 if postIndex < 0 { 100855 return ErrInvalidLengthTypes 100856 } 100857 if postIndex > l { 100858 return io.ErrUnexpectedEOF 100859 } 100860 m.Kind = string(dAtA[iNdEx:postIndex]) 100861 iNdEx = postIndex 100862 case 3: 100863 if wireType != 0 { 100864 return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) 100865 } 100866 m.State = 0 100867 for shift := uint(0); ; shift += 7 { 100868 if shift >= 64 { 100869 return ErrIntOverflowTypes 100870 } 100871 if iNdEx >= l { 100872 return io.ErrUnexpectedEOF 100873 } 100874 b := dAtA[iNdEx] 100875 iNdEx++ 100876 m.State |= SessionState(b&0x7F) << shift 100877 if b < 0x80 { 100878 break 100879 } 100880 } 100881 case 4: 100882 if wireType != 2 { 100883 return fmt.Errorf("proto: wrong wireType = %d for field Created", wireType) 100884 } 100885 var msglen int 100886 for shift := uint(0); ; shift += 7 { 100887 if shift >= 64 { 100888 return ErrIntOverflowTypes 100889 } 100890 if iNdEx >= l { 100891 return io.ErrUnexpectedEOF 100892 } 100893 b := dAtA[iNdEx] 100894 iNdEx++ 100895 msglen |= int(b&0x7F) << shift 100896 if b < 0x80 { 100897 break 100898 } 100899 } 100900 if msglen < 0 { 100901 return ErrInvalidLengthTypes 100902 } 100903 postIndex := iNdEx + msglen 100904 if postIndex < 0 { 100905 return ErrInvalidLengthTypes 100906 } 100907 if postIndex > l { 100908 return io.ErrUnexpectedEOF 100909 } 100910 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Created, dAtA[iNdEx:postIndex]); err != nil { 100911 return err 100912 } 100913 iNdEx = postIndex 100914 case 5: 100915 if wireType != 2 { 100916 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 100917 } 100918 var msglen int 100919 for shift := uint(0); ; shift += 7 { 100920 if shift >= 64 { 100921 return ErrIntOverflowTypes 100922 } 100923 if iNdEx >= l { 100924 return io.ErrUnexpectedEOF 100925 } 100926 b := dAtA[iNdEx] 100927 iNdEx++ 100928 msglen |= int(b&0x7F) << shift 100929 if b < 0x80 { 100930 break 100931 } 100932 } 100933 if msglen < 0 { 100934 return ErrInvalidLengthTypes 100935 } 100936 postIndex := iNdEx + msglen 100937 if postIndex < 0 { 100938 return ErrInvalidLengthTypes 100939 } 100940 if postIndex > l { 100941 return io.ErrUnexpectedEOF 100942 } 100943 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Expires, dAtA[iNdEx:postIndex]); err != nil { 100944 return err 100945 } 100946 iNdEx = postIndex 100947 case 6: 100948 if wireType != 2 { 100949 return fmt.Errorf("proto: wrong wireType = %d for field AttachedData", wireType) 100950 } 100951 var stringLen uint64 100952 for shift := uint(0); ; shift += 7 { 100953 if shift >= 64 { 100954 return ErrIntOverflowTypes 100955 } 100956 if iNdEx >= l { 100957 return io.ErrUnexpectedEOF 100958 } 100959 b := dAtA[iNdEx] 100960 iNdEx++ 100961 stringLen |= uint64(b&0x7F) << shift 100962 if b < 0x80 { 100963 break 100964 } 100965 } 100966 intStringLen := int(stringLen) 100967 if intStringLen < 0 { 100968 return ErrInvalidLengthTypes 100969 } 100970 postIndex := iNdEx + intStringLen 100971 if postIndex < 0 { 100972 return ErrInvalidLengthTypes 100973 } 100974 if postIndex > l { 100975 return io.ErrUnexpectedEOF 100976 } 100977 m.AttachedData = string(dAtA[iNdEx:postIndex]) 100978 iNdEx = postIndex 100979 case 7: 100980 if wireType != 2 { 100981 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) 100982 } 100983 var stringLen uint64 100984 for shift := uint(0); ; shift += 7 { 100985 if shift >= 64 { 100986 return ErrIntOverflowTypes 100987 } 100988 if iNdEx >= l { 100989 return io.ErrUnexpectedEOF 100990 } 100991 b := dAtA[iNdEx] 100992 iNdEx++ 100993 stringLen |= uint64(b&0x7F) << shift 100994 if b < 0x80 { 100995 break 100996 } 100997 } 100998 intStringLen := int(stringLen) 100999 if intStringLen < 0 { 101000 return ErrInvalidLengthTypes 101001 } 101002 postIndex := iNdEx + intStringLen 101003 if postIndex < 0 { 101004 return ErrInvalidLengthTypes 101005 } 101006 if postIndex > l { 101007 return io.ErrUnexpectedEOF 101008 } 101009 m.Reason = string(dAtA[iNdEx:postIndex]) 101010 iNdEx = postIndex 101011 case 8: 101012 if wireType != 2 { 101013 return fmt.Errorf("proto: wrong wireType = %d for field Invited", wireType) 101014 } 101015 var stringLen uint64 101016 for shift := uint(0); ; shift += 7 { 101017 if shift >= 64 { 101018 return ErrIntOverflowTypes 101019 } 101020 if iNdEx >= l { 101021 return io.ErrUnexpectedEOF 101022 } 101023 b := dAtA[iNdEx] 101024 iNdEx++ 101025 stringLen |= uint64(b&0x7F) << shift 101026 if b < 0x80 { 101027 break 101028 } 101029 } 101030 intStringLen := int(stringLen) 101031 if intStringLen < 0 { 101032 return ErrInvalidLengthTypes 101033 } 101034 postIndex := iNdEx + intStringLen 101035 if postIndex < 0 { 101036 return ErrInvalidLengthTypes 101037 } 101038 if postIndex > l { 101039 return io.ErrUnexpectedEOF 101040 } 101041 m.Invited = append(m.Invited, string(dAtA[iNdEx:postIndex])) 101042 iNdEx = postIndex 101043 case 9: 101044 if wireType != 2 { 101045 return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) 101046 } 101047 var stringLen uint64 101048 for shift := uint(0); ; shift += 7 { 101049 if shift >= 64 { 101050 return ErrIntOverflowTypes 101051 } 101052 if iNdEx >= l { 101053 return io.ErrUnexpectedEOF 101054 } 101055 b := dAtA[iNdEx] 101056 iNdEx++ 101057 stringLen |= uint64(b&0x7F) << shift 101058 if b < 0x80 { 101059 break 101060 } 101061 } 101062 intStringLen := int(stringLen) 101063 if intStringLen < 0 { 101064 return ErrInvalidLengthTypes 101065 } 101066 postIndex := iNdEx + intStringLen 101067 if postIndex < 0 { 101068 return ErrInvalidLengthTypes 101069 } 101070 if postIndex > l { 101071 return io.ErrUnexpectedEOF 101072 } 101073 m.Hostname = string(dAtA[iNdEx:postIndex]) 101074 iNdEx = postIndex 101075 case 10: 101076 if wireType != 2 { 101077 return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) 101078 } 101079 var stringLen uint64 101080 for shift := uint(0); ; shift += 7 { 101081 if shift >= 64 { 101082 return ErrIntOverflowTypes 101083 } 101084 if iNdEx >= l { 101085 return io.ErrUnexpectedEOF 101086 } 101087 b := dAtA[iNdEx] 101088 iNdEx++ 101089 stringLen |= uint64(b&0x7F) << shift 101090 if b < 0x80 { 101091 break 101092 } 101093 } 101094 intStringLen := int(stringLen) 101095 if intStringLen < 0 { 101096 return ErrInvalidLengthTypes 101097 } 101098 postIndex := iNdEx + intStringLen 101099 if postIndex < 0 { 101100 return ErrInvalidLengthTypes 101101 } 101102 if postIndex > l { 101103 return io.ErrUnexpectedEOF 101104 } 101105 m.Address = string(dAtA[iNdEx:postIndex]) 101106 iNdEx = postIndex 101107 case 11: 101108 if wireType != 2 { 101109 return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) 101110 } 101111 var stringLen uint64 101112 for shift := uint(0); ; shift += 7 { 101113 if shift >= 64 { 101114 return ErrIntOverflowTypes 101115 } 101116 if iNdEx >= l { 101117 return io.ErrUnexpectedEOF 101118 } 101119 b := dAtA[iNdEx] 101120 iNdEx++ 101121 stringLen |= uint64(b&0x7F) << shift 101122 if b < 0x80 { 101123 break 101124 } 101125 } 101126 intStringLen := int(stringLen) 101127 if intStringLen < 0 { 101128 return ErrInvalidLengthTypes 101129 } 101130 postIndex := iNdEx + intStringLen 101131 if postIndex < 0 { 101132 return ErrInvalidLengthTypes 101133 } 101134 if postIndex > l { 101135 return io.ErrUnexpectedEOF 101136 } 101137 m.ClusterName = string(dAtA[iNdEx:postIndex]) 101138 iNdEx = postIndex 101139 case 12: 101140 if wireType != 2 { 101141 return fmt.Errorf("proto: wrong wireType = %d for field Login", wireType) 101142 } 101143 var stringLen uint64 101144 for shift := uint(0); ; shift += 7 { 101145 if shift >= 64 { 101146 return ErrIntOverflowTypes 101147 } 101148 if iNdEx >= l { 101149 return io.ErrUnexpectedEOF 101150 } 101151 b := dAtA[iNdEx] 101152 iNdEx++ 101153 stringLen |= uint64(b&0x7F) << shift 101154 if b < 0x80 { 101155 break 101156 } 101157 } 101158 intStringLen := int(stringLen) 101159 if intStringLen < 0 { 101160 return ErrInvalidLengthTypes 101161 } 101162 postIndex := iNdEx + intStringLen 101163 if postIndex < 0 { 101164 return ErrInvalidLengthTypes 101165 } 101166 if postIndex > l { 101167 return io.ErrUnexpectedEOF 101168 } 101169 m.Login = string(dAtA[iNdEx:postIndex]) 101170 iNdEx = postIndex 101171 case 13: 101172 if wireType != 2 { 101173 return fmt.Errorf("proto: wrong wireType = %d for field Participants", wireType) 101174 } 101175 var msglen int 101176 for shift := uint(0); ; shift += 7 { 101177 if shift >= 64 { 101178 return ErrIntOverflowTypes 101179 } 101180 if iNdEx >= l { 101181 return io.ErrUnexpectedEOF 101182 } 101183 b := dAtA[iNdEx] 101184 iNdEx++ 101185 msglen |= int(b&0x7F) << shift 101186 if b < 0x80 { 101187 break 101188 } 101189 } 101190 if msglen < 0 { 101191 return ErrInvalidLengthTypes 101192 } 101193 postIndex := iNdEx + msglen 101194 if postIndex < 0 { 101195 return ErrInvalidLengthTypes 101196 } 101197 if postIndex > l { 101198 return io.ErrUnexpectedEOF 101199 } 101200 m.Participants = append(m.Participants, Participant{}) 101201 if err := m.Participants[len(m.Participants)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 101202 return err 101203 } 101204 iNdEx = postIndex 101205 case 14: 101206 if wireType != 2 { 101207 return fmt.Errorf("proto: wrong wireType = %d for field KubernetesCluster", wireType) 101208 } 101209 var stringLen uint64 101210 for shift := uint(0); ; shift += 7 { 101211 if shift >= 64 { 101212 return ErrIntOverflowTypes 101213 } 101214 if iNdEx >= l { 101215 return io.ErrUnexpectedEOF 101216 } 101217 b := dAtA[iNdEx] 101218 iNdEx++ 101219 stringLen |= uint64(b&0x7F) << shift 101220 if b < 0x80 { 101221 break 101222 } 101223 } 101224 intStringLen := int(stringLen) 101225 if intStringLen < 0 { 101226 return ErrInvalidLengthTypes 101227 } 101228 postIndex := iNdEx + intStringLen 101229 if postIndex < 0 { 101230 return ErrInvalidLengthTypes 101231 } 101232 if postIndex > l { 101233 return io.ErrUnexpectedEOF 101234 } 101235 m.KubernetesCluster = string(dAtA[iNdEx:postIndex]) 101236 iNdEx = postIndex 101237 case 15: 101238 if wireType != 2 { 101239 return fmt.Errorf("proto: wrong wireType = %d for field HostUser", wireType) 101240 } 101241 var stringLen uint64 101242 for shift := uint(0); ; shift += 7 { 101243 if shift >= 64 { 101244 return ErrIntOverflowTypes 101245 } 101246 if iNdEx >= l { 101247 return io.ErrUnexpectedEOF 101248 } 101249 b := dAtA[iNdEx] 101250 iNdEx++ 101251 stringLen |= uint64(b&0x7F) << shift 101252 if b < 0x80 { 101253 break 101254 } 101255 } 101256 intStringLen := int(stringLen) 101257 if intStringLen < 0 { 101258 return ErrInvalidLengthTypes 101259 } 101260 postIndex := iNdEx + intStringLen 101261 if postIndex < 0 { 101262 return ErrInvalidLengthTypes 101263 } 101264 if postIndex > l { 101265 return io.ErrUnexpectedEOF 101266 } 101267 m.HostUser = string(dAtA[iNdEx:postIndex]) 101268 iNdEx = postIndex 101269 case 16: 101270 if wireType != 2 { 101271 return fmt.Errorf("proto: wrong wireType = %d for field HostPolicies", wireType) 101272 } 101273 var msglen int 101274 for shift := uint(0); ; shift += 7 { 101275 if shift >= 64 { 101276 return ErrIntOverflowTypes 101277 } 101278 if iNdEx >= l { 101279 return io.ErrUnexpectedEOF 101280 } 101281 b := dAtA[iNdEx] 101282 iNdEx++ 101283 msglen |= int(b&0x7F) << shift 101284 if b < 0x80 { 101285 break 101286 } 101287 } 101288 if msglen < 0 { 101289 return ErrInvalidLengthTypes 101290 } 101291 postIndex := iNdEx + msglen 101292 if postIndex < 0 { 101293 return ErrInvalidLengthTypes 101294 } 101295 if postIndex > l { 101296 return io.ErrUnexpectedEOF 101297 } 101298 m.HostPolicies = append(m.HostPolicies, &SessionTrackerPolicySet{}) 101299 if err := m.HostPolicies[len(m.HostPolicies)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 101300 return err 101301 } 101302 iNdEx = postIndex 101303 case 17: 101304 if wireType != 2 { 101305 return fmt.Errorf("proto: wrong wireType = %d for field DatabaseName", wireType) 101306 } 101307 var stringLen uint64 101308 for shift := uint(0); ; shift += 7 { 101309 if shift >= 64 { 101310 return ErrIntOverflowTypes 101311 } 101312 if iNdEx >= l { 101313 return io.ErrUnexpectedEOF 101314 } 101315 b := dAtA[iNdEx] 101316 iNdEx++ 101317 stringLen |= uint64(b&0x7F) << shift 101318 if b < 0x80 { 101319 break 101320 } 101321 } 101322 intStringLen := int(stringLen) 101323 if intStringLen < 0 { 101324 return ErrInvalidLengthTypes 101325 } 101326 postIndex := iNdEx + intStringLen 101327 if postIndex < 0 { 101328 return ErrInvalidLengthTypes 101329 } 101330 if postIndex > l { 101331 return io.ErrUnexpectedEOF 101332 } 101333 m.DatabaseName = string(dAtA[iNdEx:postIndex]) 101334 iNdEx = postIndex 101335 case 18: 101336 if wireType != 2 { 101337 return fmt.Errorf("proto: wrong wireType = %d for field AppName", wireType) 101338 } 101339 var stringLen uint64 101340 for shift := uint(0); ; shift += 7 { 101341 if shift >= 64 { 101342 return ErrIntOverflowTypes 101343 } 101344 if iNdEx >= l { 101345 return io.ErrUnexpectedEOF 101346 } 101347 b := dAtA[iNdEx] 101348 iNdEx++ 101349 stringLen |= uint64(b&0x7F) << shift 101350 if b < 0x80 { 101351 break 101352 } 101353 } 101354 intStringLen := int(stringLen) 101355 if intStringLen < 0 { 101356 return ErrInvalidLengthTypes 101357 } 101358 postIndex := iNdEx + intStringLen 101359 if postIndex < 0 { 101360 return ErrInvalidLengthTypes 101361 } 101362 if postIndex > l { 101363 return io.ErrUnexpectedEOF 101364 } 101365 m.AppName = string(dAtA[iNdEx:postIndex]) 101366 iNdEx = postIndex 101367 case 19: 101368 if wireType != 2 { 101369 return fmt.Errorf("proto: wrong wireType = %d for field AppSessionID", wireType) 101370 } 101371 var stringLen uint64 101372 for shift := uint(0); ; shift += 7 { 101373 if shift >= 64 { 101374 return ErrIntOverflowTypes 101375 } 101376 if iNdEx >= l { 101377 return io.ErrUnexpectedEOF 101378 } 101379 b := dAtA[iNdEx] 101380 iNdEx++ 101381 stringLen |= uint64(b&0x7F) << shift 101382 if b < 0x80 { 101383 break 101384 } 101385 } 101386 intStringLen := int(stringLen) 101387 if intStringLen < 0 { 101388 return ErrInvalidLengthTypes 101389 } 101390 postIndex := iNdEx + intStringLen 101391 if postIndex < 0 { 101392 return ErrInvalidLengthTypes 101393 } 101394 if postIndex > l { 101395 return io.ErrUnexpectedEOF 101396 } 101397 m.AppSessionID = string(dAtA[iNdEx:postIndex]) 101398 iNdEx = postIndex 101399 case 20: 101400 if wireType != 2 { 101401 return fmt.Errorf("proto: wrong wireType = %d for field DesktopName", wireType) 101402 } 101403 var stringLen uint64 101404 for shift := uint(0); ; shift += 7 { 101405 if shift >= 64 { 101406 return ErrIntOverflowTypes 101407 } 101408 if iNdEx >= l { 101409 return io.ErrUnexpectedEOF 101410 } 101411 b := dAtA[iNdEx] 101412 iNdEx++ 101413 stringLen |= uint64(b&0x7F) << shift 101414 if b < 0x80 { 101415 break 101416 } 101417 } 101418 intStringLen := int(stringLen) 101419 if intStringLen < 0 { 101420 return ErrInvalidLengthTypes 101421 } 101422 postIndex := iNdEx + intStringLen 101423 if postIndex < 0 { 101424 return ErrInvalidLengthTypes 101425 } 101426 if postIndex > l { 101427 return io.ErrUnexpectedEOF 101428 } 101429 m.DesktopName = string(dAtA[iNdEx:postIndex]) 101430 iNdEx = postIndex 101431 case 21: 101432 if wireType != 2 { 101433 return fmt.Errorf("proto: wrong wireType = %d for field HostID", wireType) 101434 } 101435 var stringLen uint64 101436 for shift := uint(0); ; shift += 7 { 101437 if shift >= 64 { 101438 return ErrIntOverflowTypes 101439 } 101440 if iNdEx >= l { 101441 return io.ErrUnexpectedEOF 101442 } 101443 b := dAtA[iNdEx] 101444 iNdEx++ 101445 stringLen |= uint64(b&0x7F) << shift 101446 if b < 0x80 { 101447 break 101448 } 101449 } 101450 intStringLen := int(stringLen) 101451 if intStringLen < 0 { 101452 return ErrInvalidLengthTypes 101453 } 101454 postIndex := iNdEx + intStringLen 101455 if postIndex < 0 { 101456 return ErrInvalidLengthTypes 101457 } 101458 if postIndex > l { 101459 return io.ErrUnexpectedEOF 101460 } 101461 m.HostID = string(dAtA[iNdEx:postIndex]) 101462 iNdEx = postIndex 101463 case 22: 101464 if wireType != 2 { 101465 return fmt.Errorf("proto: wrong wireType = %d for field TargetSubKind", wireType) 101466 } 101467 var stringLen uint64 101468 for shift := uint(0); ; shift += 7 { 101469 if shift >= 64 { 101470 return ErrIntOverflowTypes 101471 } 101472 if iNdEx >= l { 101473 return io.ErrUnexpectedEOF 101474 } 101475 b := dAtA[iNdEx] 101476 iNdEx++ 101477 stringLen |= uint64(b&0x7F) << shift 101478 if b < 0x80 { 101479 break 101480 } 101481 } 101482 intStringLen := int(stringLen) 101483 if intStringLen < 0 { 101484 return ErrInvalidLengthTypes 101485 } 101486 postIndex := iNdEx + intStringLen 101487 if postIndex < 0 { 101488 return ErrInvalidLengthTypes 101489 } 101490 if postIndex > l { 101491 return io.ErrUnexpectedEOF 101492 } 101493 m.TargetSubKind = string(dAtA[iNdEx:postIndex]) 101494 iNdEx = postIndex 101495 case 23: 101496 if wireType != 2 { 101497 return fmt.Errorf("proto: wrong wireType = %d for field InitialCommand", wireType) 101498 } 101499 var stringLen uint64 101500 for shift := uint(0); ; shift += 7 { 101501 if shift >= 64 { 101502 return ErrIntOverflowTypes 101503 } 101504 if iNdEx >= l { 101505 return io.ErrUnexpectedEOF 101506 } 101507 b := dAtA[iNdEx] 101508 iNdEx++ 101509 stringLen |= uint64(b&0x7F) << shift 101510 if b < 0x80 { 101511 break 101512 } 101513 } 101514 intStringLen := int(stringLen) 101515 if intStringLen < 0 { 101516 return ErrInvalidLengthTypes 101517 } 101518 postIndex := iNdEx + intStringLen 101519 if postIndex < 0 { 101520 return ErrInvalidLengthTypes 101521 } 101522 if postIndex > l { 101523 return io.ErrUnexpectedEOF 101524 } 101525 m.InitialCommand = append(m.InitialCommand, string(dAtA[iNdEx:postIndex])) 101526 iNdEx = postIndex 101527 default: 101528 iNdEx = preIndex 101529 skippy, err := skipTypes(dAtA[iNdEx:]) 101530 if err != nil { 101531 return err 101532 } 101533 if (skippy < 0) || (iNdEx+skippy) < 0 { 101534 return ErrInvalidLengthTypes 101535 } 101536 if (iNdEx + skippy) > l { 101537 return io.ErrUnexpectedEOF 101538 } 101539 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 101540 iNdEx += skippy 101541 } 101542 } 101543 101544 if iNdEx > l { 101545 return io.ErrUnexpectedEOF 101546 } 101547 return nil 101548 } 101549 func (m *SessionTrackerPolicySet) Unmarshal(dAtA []byte) error { 101550 l := len(dAtA) 101551 iNdEx := 0 101552 for iNdEx < l { 101553 preIndex := iNdEx 101554 var wire uint64 101555 for shift := uint(0); ; shift += 7 { 101556 if shift >= 64 { 101557 return ErrIntOverflowTypes 101558 } 101559 if iNdEx >= l { 101560 return io.ErrUnexpectedEOF 101561 } 101562 b := dAtA[iNdEx] 101563 iNdEx++ 101564 wire |= uint64(b&0x7F) << shift 101565 if b < 0x80 { 101566 break 101567 } 101568 } 101569 fieldNum := int32(wire >> 3) 101570 wireType := int(wire & 0x7) 101571 if wireType == 4 { 101572 return fmt.Errorf("proto: SessionTrackerPolicySet: wiretype end group for non-group") 101573 } 101574 if fieldNum <= 0 { 101575 return fmt.Errorf("proto: SessionTrackerPolicySet: illegal tag %d (wire type %d)", fieldNum, wire) 101576 } 101577 switch fieldNum { 101578 case 1: 101579 if wireType != 2 { 101580 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 101581 } 101582 var stringLen uint64 101583 for shift := uint(0); ; shift += 7 { 101584 if shift >= 64 { 101585 return ErrIntOverflowTypes 101586 } 101587 if iNdEx >= l { 101588 return io.ErrUnexpectedEOF 101589 } 101590 b := dAtA[iNdEx] 101591 iNdEx++ 101592 stringLen |= uint64(b&0x7F) << shift 101593 if b < 0x80 { 101594 break 101595 } 101596 } 101597 intStringLen := int(stringLen) 101598 if intStringLen < 0 { 101599 return ErrInvalidLengthTypes 101600 } 101601 postIndex := iNdEx + intStringLen 101602 if postIndex < 0 { 101603 return ErrInvalidLengthTypes 101604 } 101605 if postIndex > l { 101606 return io.ErrUnexpectedEOF 101607 } 101608 m.Name = string(dAtA[iNdEx:postIndex]) 101609 iNdEx = postIndex 101610 case 2: 101611 if wireType != 2 { 101612 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 101613 } 101614 var stringLen uint64 101615 for shift := uint(0); ; shift += 7 { 101616 if shift >= 64 { 101617 return ErrIntOverflowTypes 101618 } 101619 if iNdEx >= l { 101620 return io.ErrUnexpectedEOF 101621 } 101622 b := dAtA[iNdEx] 101623 iNdEx++ 101624 stringLen |= uint64(b&0x7F) << shift 101625 if b < 0x80 { 101626 break 101627 } 101628 } 101629 intStringLen := int(stringLen) 101630 if intStringLen < 0 { 101631 return ErrInvalidLengthTypes 101632 } 101633 postIndex := iNdEx + intStringLen 101634 if postIndex < 0 { 101635 return ErrInvalidLengthTypes 101636 } 101637 if postIndex > l { 101638 return io.ErrUnexpectedEOF 101639 } 101640 m.Version = string(dAtA[iNdEx:postIndex]) 101641 iNdEx = postIndex 101642 case 3: 101643 if wireType != 2 { 101644 return fmt.Errorf("proto: wrong wireType = %d for field RequireSessionJoin", wireType) 101645 } 101646 var msglen int 101647 for shift := uint(0); ; shift += 7 { 101648 if shift >= 64 { 101649 return ErrIntOverflowTypes 101650 } 101651 if iNdEx >= l { 101652 return io.ErrUnexpectedEOF 101653 } 101654 b := dAtA[iNdEx] 101655 iNdEx++ 101656 msglen |= int(b&0x7F) << shift 101657 if b < 0x80 { 101658 break 101659 } 101660 } 101661 if msglen < 0 { 101662 return ErrInvalidLengthTypes 101663 } 101664 postIndex := iNdEx + msglen 101665 if postIndex < 0 { 101666 return ErrInvalidLengthTypes 101667 } 101668 if postIndex > l { 101669 return io.ErrUnexpectedEOF 101670 } 101671 m.RequireSessionJoin = append(m.RequireSessionJoin, &SessionRequirePolicy{}) 101672 if err := m.RequireSessionJoin[len(m.RequireSessionJoin)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 101673 return err 101674 } 101675 iNdEx = postIndex 101676 default: 101677 iNdEx = preIndex 101678 skippy, err := skipTypes(dAtA[iNdEx:]) 101679 if err != nil { 101680 return err 101681 } 101682 if (skippy < 0) || (iNdEx+skippy) < 0 { 101683 return ErrInvalidLengthTypes 101684 } 101685 if (iNdEx + skippy) > l { 101686 return io.ErrUnexpectedEOF 101687 } 101688 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 101689 iNdEx += skippy 101690 } 101691 } 101692 101693 if iNdEx > l { 101694 return io.ErrUnexpectedEOF 101695 } 101696 return nil 101697 } 101698 func (m *Participant) Unmarshal(dAtA []byte) error { 101699 l := len(dAtA) 101700 iNdEx := 0 101701 for iNdEx < l { 101702 preIndex := iNdEx 101703 var wire uint64 101704 for shift := uint(0); ; shift += 7 { 101705 if shift >= 64 { 101706 return ErrIntOverflowTypes 101707 } 101708 if iNdEx >= l { 101709 return io.ErrUnexpectedEOF 101710 } 101711 b := dAtA[iNdEx] 101712 iNdEx++ 101713 wire |= uint64(b&0x7F) << shift 101714 if b < 0x80 { 101715 break 101716 } 101717 } 101718 fieldNum := int32(wire >> 3) 101719 wireType := int(wire & 0x7) 101720 if wireType == 4 { 101721 return fmt.Errorf("proto: Participant: wiretype end group for non-group") 101722 } 101723 if fieldNum <= 0 { 101724 return fmt.Errorf("proto: Participant: illegal tag %d (wire type %d)", fieldNum, wire) 101725 } 101726 switch fieldNum { 101727 case 1: 101728 if wireType != 2 { 101729 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 101730 } 101731 var stringLen uint64 101732 for shift := uint(0); ; shift += 7 { 101733 if shift >= 64 { 101734 return ErrIntOverflowTypes 101735 } 101736 if iNdEx >= l { 101737 return io.ErrUnexpectedEOF 101738 } 101739 b := dAtA[iNdEx] 101740 iNdEx++ 101741 stringLen |= uint64(b&0x7F) << shift 101742 if b < 0x80 { 101743 break 101744 } 101745 } 101746 intStringLen := int(stringLen) 101747 if intStringLen < 0 { 101748 return ErrInvalidLengthTypes 101749 } 101750 postIndex := iNdEx + intStringLen 101751 if postIndex < 0 { 101752 return ErrInvalidLengthTypes 101753 } 101754 if postIndex > l { 101755 return io.ErrUnexpectedEOF 101756 } 101757 m.ID = string(dAtA[iNdEx:postIndex]) 101758 iNdEx = postIndex 101759 case 2: 101760 if wireType != 2 { 101761 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 101762 } 101763 var stringLen uint64 101764 for shift := uint(0); ; shift += 7 { 101765 if shift >= 64 { 101766 return ErrIntOverflowTypes 101767 } 101768 if iNdEx >= l { 101769 return io.ErrUnexpectedEOF 101770 } 101771 b := dAtA[iNdEx] 101772 iNdEx++ 101773 stringLen |= uint64(b&0x7F) << shift 101774 if b < 0x80 { 101775 break 101776 } 101777 } 101778 intStringLen := int(stringLen) 101779 if intStringLen < 0 { 101780 return ErrInvalidLengthTypes 101781 } 101782 postIndex := iNdEx + intStringLen 101783 if postIndex < 0 { 101784 return ErrInvalidLengthTypes 101785 } 101786 if postIndex > l { 101787 return io.ErrUnexpectedEOF 101788 } 101789 m.User = string(dAtA[iNdEx:postIndex]) 101790 iNdEx = postIndex 101791 case 3: 101792 if wireType != 2 { 101793 return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) 101794 } 101795 var stringLen uint64 101796 for shift := uint(0); ; shift += 7 { 101797 if shift >= 64 { 101798 return ErrIntOverflowTypes 101799 } 101800 if iNdEx >= l { 101801 return io.ErrUnexpectedEOF 101802 } 101803 b := dAtA[iNdEx] 101804 iNdEx++ 101805 stringLen |= uint64(b&0x7F) << shift 101806 if b < 0x80 { 101807 break 101808 } 101809 } 101810 intStringLen := int(stringLen) 101811 if intStringLen < 0 { 101812 return ErrInvalidLengthTypes 101813 } 101814 postIndex := iNdEx + intStringLen 101815 if postIndex < 0 { 101816 return ErrInvalidLengthTypes 101817 } 101818 if postIndex > l { 101819 return io.ErrUnexpectedEOF 101820 } 101821 m.Mode = string(dAtA[iNdEx:postIndex]) 101822 iNdEx = postIndex 101823 case 4: 101824 if wireType != 2 { 101825 return fmt.Errorf("proto: wrong wireType = %d for field LastActive", wireType) 101826 } 101827 var msglen int 101828 for shift := uint(0); ; shift += 7 { 101829 if shift >= 64 { 101830 return ErrIntOverflowTypes 101831 } 101832 if iNdEx >= l { 101833 return io.ErrUnexpectedEOF 101834 } 101835 b := dAtA[iNdEx] 101836 iNdEx++ 101837 msglen |= int(b&0x7F) << shift 101838 if b < 0x80 { 101839 break 101840 } 101841 } 101842 if msglen < 0 { 101843 return ErrInvalidLengthTypes 101844 } 101845 postIndex := iNdEx + msglen 101846 if postIndex < 0 { 101847 return ErrInvalidLengthTypes 101848 } 101849 if postIndex > l { 101850 return io.ErrUnexpectedEOF 101851 } 101852 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.LastActive, dAtA[iNdEx:postIndex]); err != nil { 101853 return err 101854 } 101855 iNdEx = postIndex 101856 default: 101857 iNdEx = preIndex 101858 skippy, err := skipTypes(dAtA[iNdEx:]) 101859 if err != nil { 101860 return err 101861 } 101862 if (skippy < 0) || (iNdEx+skippy) < 0 { 101863 return ErrInvalidLengthTypes 101864 } 101865 if (iNdEx + skippy) > l { 101866 return io.ErrUnexpectedEOF 101867 } 101868 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 101869 iNdEx += skippy 101870 } 101871 } 101872 101873 if iNdEx > l { 101874 return io.ErrUnexpectedEOF 101875 } 101876 return nil 101877 } 101878 func (m *UIConfigV1) Unmarshal(dAtA []byte) error { 101879 l := len(dAtA) 101880 iNdEx := 0 101881 for iNdEx < l { 101882 preIndex := iNdEx 101883 var wire uint64 101884 for shift := uint(0); ; shift += 7 { 101885 if shift >= 64 { 101886 return ErrIntOverflowTypes 101887 } 101888 if iNdEx >= l { 101889 return io.ErrUnexpectedEOF 101890 } 101891 b := dAtA[iNdEx] 101892 iNdEx++ 101893 wire |= uint64(b&0x7F) << shift 101894 if b < 0x80 { 101895 break 101896 } 101897 } 101898 fieldNum := int32(wire >> 3) 101899 wireType := int(wire & 0x7) 101900 if wireType == 4 { 101901 return fmt.Errorf("proto: UIConfigV1: wiretype end group for non-group") 101902 } 101903 if fieldNum <= 0 { 101904 return fmt.Errorf("proto: UIConfigV1: illegal tag %d (wire type %d)", fieldNum, wire) 101905 } 101906 switch fieldNum { 101907 case 1: 101908 if wireType != 2 { 101909 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 101910 } 101911 var msglen int 101912 for shift := uint(0); ; shift += 7 { 101913 if shift >= 64 { 101914 return ErrIntOverflowTypes 101915 } 101916 if iNdEx >= l { 101917 return io.ErrUnexpectedEOF 101918 } 101919 b := dAtA[iNdEx] 101920 iNdEx++ 101921 msglen |= int(b&0x7F) << shift 101922 if b < 0x80 { 101923 break 101924 } 101925 } 101926 if msglen < 0 { 101927 return ErrInvalidLengthTypes 101928 } 101929 postIndex := iNdEx + msglen 101930 if postIndex < 0 { 101931 return ErrInvalidLengthTypes 101932 } 101933 if postIndex > l { 101934 return io.ErrUnexpectedEOF 101935 } 101936 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 101937 return err 101938 } 101939 iNdEx = postIndex 101940 case 5: 101941 if wireType != 2 { 101942 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 101943 } 101944 var msglen int 101945 for shift := uint(0); ; shift += 7 { 101946 if shift >= 64 { 101947 return ErrIntOverflowTypes 101948 } 101949 if iNdEx >= l { 101950 return io.ErrUnexpectedEOF 101951 } 101952 b := dAtA[iNdEx] 101953 iNdEx++ 101954 msglen |= int(b&0x7F) << shift 101955 if b < 0x80 { 101956 break 101957 } 101958 } 101959 if msglen < 0 { 101960 return ErrInvalidLengthTypes 101961 } 101962 postIndex := iNdEx + msglen 101963 if postIndex < 0 { 101964 return ErrInvalidLengthTypes 101965 } 101966 if postIndex > l { 101967 return io.ErrUnexpectedEOF 101968 } 101969 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 101970 return err 101971 } 101972 iNdEx = postIndex 101973 default: 101974 iNdEx = preIndex 101975 skippy, err := skipTypes(dAtA[iNdEx:]) 101976 if err != nil { 101977 return err 101978 } 101979 if (skippy < 0) || (iNdEx+skippy) < 0 { 101980 return ErrInvalidLengthTypes 101981 } 101982 if (iNdEx + skippy) > l { 101983 return io.ErrUnexpectedEOF 101984 } 101985 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 101986 iNdEx += skippy 101987 } 101988 } 101989 101990 if iNdEx > l { 101991 return io.ErrUnexpectedEOF 101992 } 101993 return nil 101994 } 101995 func (m *UIConfigSpecV1) Unmarshal(dAtA []byte) error { 101996 l := len(dAtA) 101997 iNdEx := 0 101998 for iNdEx < l { 101999 preIndex := iNdEx 102000 var wire uint64 102001 for shift := uint(0); ; shift += 7 { 102002 if shift >= 64 { 102003 return ErrIntOverflowTypes 102004 } 102005 if iNdEx >= l { 102006 return io.ErrUnexpectedEOF 102007 } 102008 b := dAtA[iNdEx] 102009 iNdEx++ 102010 wire |= uint64(b&0x7F) << shift 102011 if b < 0x80 { 102012 break 102013 } 102014 } 102015 fieldNum := int32(wire >> 3) 102016 wireType := int(wire & 0x7) 102017 if wireType == 4 { 102018 return fmt.Errorf("proto: UIConfigSpecV1: wiretype end group for non-group") 102019 } 102020 if fieldNum <= 0 { 102021 return fmt.Errorf("proto: UIConfigSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 102022 } 102023 switch fieldNum { 102024 case 1: 102025 if wireType != 0 { 102026 return fmt.Errorf("proto: wrong wireType = %d for field ScrollbackLines", wireType) 102027 } 102028 m.ScrollbackLines = 0 102029 for shift := uint(0); ; shift += 7 { 102030 if shift >= 64 { 102031 return ErrIntOverflowTypes 102032 } 102033 if iNdEx >= l { 102034 return io.ErrUnexpectedEOF 102035 } 102036 b := dAtA[iNdEx] 102037 iNdEx++ 102038 m.ScrollbackLines |= int32(b&0x7F) << shift 102039 if b < 0x80 { 102040 break 102041 } 102042 } 102043 case 2: 102044 if wireType != 2 { 102045 return fmt.Errorf("proto: wrong wireType = %d for field ShowResources", wireType) 102046 } 102047 var stringLen uint64 102048 for shift := uint(0); ; shift += 7 { 102049 if shift >= 64 { 102050 return ErrIntOverflowTypes 102051 } 102052 if iNdEx >= l { 102053 return io.ErrUnexpectedEOF 102054 } 102055 b := dAtA[iNdEx] 102056 iNdEx++ 102057 stringLen |= uint64(b&0x7F) << shift 102058 if b < 0x80 { 102059 break 102060 } 102061 } 102062 intStringLen := int(stringLen) 102063 if intStringLen < 0 { 102064 return ErrInvalidLengthTypes 102065 } 102066 postIndex := iNdEx + intStringLen 102067 if postIndex < 0 { 102068 return ErrInvalidLengthTypes 102069 } 102070 if postIndex > l { 102071 return io.ErrUnexpectedEOF 102072 } 102073 m.ShowResources = github_com_gravitational_teleport_api_constants.ShowResources(dAtA[iNdEx:postIndex]) 102074 iNdEx = postIndex 102075 default: 102076 iNdEx = preIndex 102077 skippy, err := skipTypes(dAtA[iNdEx:]) 102078 if err != nil { 102079 return err 102080 } 102081 if (skippy < 0) || (iNdEx+skippy) < 0 { 102082 return ErrInvalidLengthTypes 102083 } 102084 if (iNdEx + skippy) > l { 102085 return io.ErrUnexpectedEOF 102086 } 102087 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 102088 iNdEx += skippy 102089 } 102090 } 102091 102092 if iNdEx > l { 102093 return io.ErrUnexpectedEOF 102094 } 102095 return nil 102096 } 102097 func (m *InstallerV1) Unmarshal(dAtA []byte) error { 102098 l := len(dAtA) 102099 iNdEx := 0 102100 for iNdEx < l { 102101 preIndex := iNdEx 102102 var wire uint64 102103 for shift := uint(0); ; shift += 7 { 102104 if shift >= 64 { 102105 return ErrIntOverflowTypes 102106 } 102107 if iNdEx >= l { 102108 return io.ErrUnexpectedEOF 102109 } 102110 b := dAtA[iNdEx] 102111 iNdEx++ 102112 wire |= uint64(b&0x7F) << shift 102113 if b < 0x80 { 102114 break 102115 } 102116 } 102117 fieldNum := int32(wire >> 3) 102118 wireType := int(wire & 0x7) 102119 if wireType == 4 { 102120 return fmt.Errorf("proto: InstallerV1: wiretype end group for non-group") 102121 } 102122 if fieldNum <= 0 { 102123 return fmt.Errorf("proto: InstallerV1: illegal tag %d (wire type %d)", fieldNum, wire) 102124 } 102125 switch fieldNum { 102126 case 1: 102127 if wireType != 2 { 102128 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 102129 } 102130 var stringLen uint64 102131 for shift := uint(0); ; shift += 7 { 102132 if shift >= 64 { 102133 return ErrIntOverflowTypes 102134 } 102135 if iNdEx >= l { 102136 return io.ErrUnexpectedEOF 102137 } 102138 b := dAtA[iNdEx] 102139 iNdEx++ 102140 stringLen |= uint64(b&0x7F) << shift 102141 if b < 0x80 { 102142 break 102143 } 102144 } 102145 intStringLen := int(stringLen) 102146 if intStringLen < 0 { 102147 return ErrInvalidLengthTypes 102148 } 102149 postIndex := iNdEx + intStringLen 102150 if postIndex < 0 { 102151 return ErrInvalidLengthTypes 102152 } 102153 if postIndex > l { 102154 return io.ErrUnexpectedEOF 102155 } 102156 m.Kind = string(dAtA[iNdEx:postIndex]) 102157 iNdEx = postIndex 102158 case 2: 102159 if wireType != 2 { 102160 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 102161 } 102162 var stringLen uint64 102163 for shift := uint(0); ; shift += 7 { 102164 if shift >= 64 { 102165 return ErrIntOverflowTypes 102166 } 102167 if iNdEx >= l { 102168 return io.ErrUnexpectedEOF 102169 } 102170 b := dAtA[iNdEx] 102171 iNdEx++ 102172 stringLen |= uint64(b&0x7F) << shift 102173 if b < 0x80 { 102174 break 102175 } 102176 } 102177 intStringLen := int(stringLen) 102178 if intStringLen < 0 { 102179 return ErrInvalidLengthTypes 102180 } 102181 postIndex := iNdEx + intStringLen 102182 if postIndex < 0 { 102183 return ErrInvalidLengthTypes 102184 } 102185 if postIndex > l { 102186 return io.ErrUnexpectedEOF 102187 } 102188 m.SubKind = string(dAtA[iNdEx:postIndex]) 102189 iNdEx = postIndex 102190 case 3: 102191 if wireType != 2 { 102192 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 102193 } 102194 var stringLen uint64 102195 for shift := uint(0); ; shift += 7 { 102196 if shift >= 64 { 102197 return ErrIntOverflowTypes 102198 } 102199 if iNdEx >= l { 102200 return io.ErrUnexpectedEOF 102201 } 102202 b := dAtA[iNdEx] 102203 iNdEx++ 102204 stringLen |= uint64(b&0x7F) << shift 102205 if b < 0x80 { 102206 break 102207 } 102208 } 102209 intStringLen := int(stringLen) 102210 if intStringLen < 0 { 102211 return ErrInvalidLengthTypes 102212 } 102213 postIndex := iNdEx + intStringLen 102214 if postIndex < 0 { 102215 return ErrInvalidLengthTypes 102216 } 102217 if postIndex > l { 102218 return io.ErrUnexpectedEOF 102219 } 102220 m.Version = string(dAtA[iNdEx:postIndex]) 102221 iNdEx = postIndex 102222 case 4: 102223 if wireType != 2 { 102224 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 102225 } 102226 var msglen int 102227 for shift := uint(0); ; shift += 7 { 102228 if shift >= 64 { 102229 return ErrIntOverflowTypes 102230 } 102231 if iNdEx >= l { 102232 return io.ErrUnexpectedEOF 102233 } 102234 b := dAtA[iNdEx] 102235 iNdEx++ 102236 msglen |= int(b&0x7F) << shift 102237 if b < 0x80 { 102238 break 102239 } 102240 } 102241 if msglen < 0 { 102242 return ErrInvalidLengthTypes 102243 } 102244 postIndex := iNdEx + msglen 102245 if postIndex < 0 { 102246 return ErrInvalidLengthTypes 102247 } 102248 if postIndex > l { 102249 return io.ErrUnexpectedEOF 102250 } 102251 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 102252 return err 102253 } 102254 iNdEx = postIndex 102255 case 5: 102256 if wireType != 2 { 102257 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 102258 } 102259 var msglen int 102260 for shift := uint(0); ; shift += 7 { 102261 if shift >= 64 { 102262 return ErrIntOverflowTypes 102263 } 102264 if iNdEx >= l { 102265 return io.ErrUnexpectedEOF 102266 } 102267 b := dAtA[iNdEx] 102268 iNdEx++ 102269 msglen |= int(b&0x7F) << shift 102270 if b < 0x80 { 102271 break 102272 } 102273 } 102274 if msglen < 0 { 102275 return ErrInvalidLengthTypes 102276 } 102277 postIndex := iNdEx + msglen 102278 if postIndex < 0 { 102279 return ErrInvalidLengthTypes 102280 } 102281 if postIndex > l { 102282 return io.ErrUnexpectedEOF 102283 } 102284 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 102285 return err 102286 } 102287 iNdEx = postIndex 102288 default: 102289 iNdEx = preIndex 102290 skippy, err := skipTypes(dAtA[iNdEx:]) 102291 if err != nil { 102292 return err 102293 } 102294 if (skippy < 0) || (iNdEx+skippy) < 0 { 102295 return ErrInvalidLengthTypes 102296 } 102297 if (iNdEx + skippy) > l { 102298 return io.ErrUnexpectedEOF 102299 } 102300 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 102301 iNdEx += skippy 102302 } 102303 } 102304 102305 if iNdEx > l { 102306 return io.ErrUnexpectedEOF 102307 } 102308 return nil 102309 } 102310 func (m *InstallerSpecV1) Unmarshal(dAtA []byte) error { 102311 l := len(dAtA) 102312 iNdEx := 0 102313 for iNdEx < l { 102314 preIndex := iNdEx 102315 var wire uint64 102316 for shift := uint(0); ; shift += 7 { 102317 if shift >= 64 { 102318 return ErrIntOverflowTypes 102319 } 102320 if iNdEx >= l { 102321 return io.ErrUnexpectedEOF 102322 } 102323 b := dAtA[iNdEx] 102324 iNdEx++ 102325 wire |= uint64(b&0x7F) << shift 102326 if b < 0x80 { 102327 break 102328 } 102329 } 102330 fieldNum := int32(wire >> 3) 102331 wireType := int(wire & 0x7) 102332 if wireType == 4 { 102333 return fmt.Errorf("proto: InstallerSpecV1: wiretype end group for non-group") 102334 } 102335 if fieldNum <= 0 { 102336 return fmt.Errorf("proto: InstallerSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 102337 } 102338 switch fieldNum { 102339 case 1: 102340 if wireType != 2 { 102341 return fmt.Errorf("proto: wrong wireType = %d for field Script", wireType) 102342 } 102343 var stringLen uint64 102344 for shift := uint(0); ; shift += 7 { 102345 if shift >= 64 { 102346 return ErrIntOverflowTypes 102347 } 102348 if iNdEx >= l { 102349 return io.ErrUnexpectedEOF 102350 } 102351 b := dAtA[iNdEx] 102352 iNdEx++ 102353 stringLen |= uint64(b&0x7F) << shift 102354 if b < 0x80 { 102355 break 102356 } 102357 } 102358 intStringLen := int(stringLen) 102359 if intStringLen < 0 { 102360 return ErrInvalidLengthTypes 102361 } 102362 postIndex := iNdEx + intStringLen 102363 if postIndex < 0 { 102364 return ErrInvalidLengthTypes 102365 } 102366 if postIndex > l { 102367 return io.ErrUnexpectedEOF 102368 } 102369 m.Script = string(dAtA[iNdEx:postIndex]) 102370 iNdEx = postIndex 102371 default: 102372 iNdEx = preIndex 102373 skippy, err := skipTypes(dAtA[iNdEx:]) 102374 if err != nil { 102375 return err 102376 } 102377 if (skippy < 0) || (iNdEx+skippy) < 0 { 102378 return ErrInvalidLengthTypes 102379 } 102380 if (iNdEx + skippy) > l { 102381 return io.ErrUnexpectedEOF 102382 } 102383 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 102384 iNdEx += skippy 102385 } 102386 } 102387 102388 if iNdEx > l { 102389 return io.ErrUnexpectedEOF 102390 } 102391 return nil 102392 } 102393 func (m *InstallerV1List) Unmarshal(dAtA []byte) error { 102394 l := len(dAtA) 102395 iNdEx := 0 102396 for iNdEx < l { 102397 preIndex := iNdEx 102398 var wire uint64 102399 for shift := uint(0); ; shift += 7 { 102400 if shift >= 64 { 102401 return ErrIntOverflowTypes 102402 } 102403 if iNdEx >= l { 102404 return io.ErrUnexpectedEOF 102405 } 102406 b := dAtA[iNdEx] 102407 iNdEx++ 102408 wire |= uint64(b&0x7F) << shift 102409 if b < 0x80 { 102410 break 102411 } 102412 } 102413 fieldNum := int32(wire >> 3) 102414 wireType := int(wire & 0x7) 102415 if wireType == 4 { 102416 return fmt.Errorf("proto: InstallerV1List: wiretype end group for non-group") 102417 } 102418 if fieldNum <= 0 { 102419 return fmt.Errorf("proto: InstallerV1List: illegal tag %d (wire type %d)", fieldNum, wire) 102420 } 102421 switch fieldNum { 102422 case 1: 102423 if wireType != 2 { 102424 return fmt.Errorf("proto: wrong wireType = %d for field Installers", wireType) 102425 } 102426 var msglen int 102427 for shift := uint(0); ; shift += 7 { 102428 if shift >= 64 { 102429 return ErrIntOverflowTypes 102430 } 102431 if iNdEx >= l { 102432 return io.ErrUnexpectedEOF 102433 } 102434 b := dAtA[iNdEx] 102435 iNdEx++ 102436 msglen |= int(b&0x7F) << shift 102437 if b < 0x80 { 102438 break 102439 } 102440 } 102441 if msglen < 0 { 102442 return ErrInvalidLengthTypes 102443 } 102444 postIndex := iNdEx + msglen 102445 if postIndex < 0 { 102446 return ErrInvalidLengthTypes 102447 } 102448 if postIndex > l { 102449 return io.ErrUnexpectedEOF 102450 } 102451 m.Installers = append(m.Installers, &InstallerV1{}) 102452 if err := m.Installers[len(m.Installers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 102453 return err 102454 } 102455 iNdEx = postIndex 102456 default: 102457 iNdEx = preIndex 102458 skippy, err := skipTypes(dAtA[iNdEx:]) 102459 if err != nil { 102460 return err 102461 } 102462 if (skippy < 0) || (iNdEx+skippy) < 0 { 102463 return ErrInvalidLengthTypes 102464 } 102465 if (iNdEx + skippy) > l { 102466 return io.ErrUnexpectedEOF 102467 } 102468 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 102469 iNdEx += skippy 102470 } 102471 } 102472 102473 if iNdEx > l { 102474 return io.ErrUnexpectedEOF 102475 } 102476 return nil 102477 } 102478 func (m *SortBy) Unmarshal(dAtA []byte) error { 102479 l := len(dAtA) 102480 iNdEx := 0 102481 for iNdEx < l { 102482 preIndex := iNdEx 102483 var wire uint64 102484 for shift := uint(0); ; shift += 7 { 102485 if shift >= 64 { 102486 return ErrIntOverflowTypes 102487 } 102488 if iNdEx >= l { 102489 return io.ErrUnexpectedEOF 102490 } 102491 b := dAtA[iNdEx] 102492 iNdEx++ 102493 wire |= uint64(b&0x7F) << shift 102494 if b < 0x80 { 102495 break 102496 } 102497 } 102498 fieldNum := int32(wire >> 3) 102499 wireType := int(wire & 0x7) 102500 if wireType == 4 { 102501 return fmt.Errorf("proto: SortBy: wiretype end group for non-group") 102502 } 102503 if fieldNum <= 0 { 102504 return fmt.Errorf("proto: SortBy: illegal tag %d (wire type %d)", fieldNum, wire) 102505 } 102506 switch fieldNum { 102507 case 1: 102508 if wireType != 0 { 102509 return fmt.Errorf("proto: wrong wireType = %d for field IsDesc", wireType) 102510 } 102511 var v int 102512 for shift := uint(0); ; shift += 7 { 102513 if shift >= 64 { 102514 return ErrIntOverflowTypes 102515 } 102516 if iNdEx >= l { 102517 return io.ErrUnexpectedEOF 102518 } 102519 b := dAtA[iNdEx] 102520 iNdEx++ 102521 v |= int(b&0x7F) << shift 102522 if b < 0x80 { 102523 break 102524 } 102525 } 102526 m.IsDesc = bool(v != 0) 102527 case 2: 102528 if wireType != 2 { 102529 return fmt.Errorf("proto: wrong wireType = %d for field Field", wireType) 102530 } 102531 var stringLen uint64 102532 for shift := uint(0); ; shift += 7 { 102533 if shift >= 64 { 102534 return ErrIntOverflowTypes 102535 } 102536 if iNdEx >= l { 102537 return io.ErrUnexpectedEOF 102538 } 102539 b := dAtA[iNdEx] 102540 iNdEx++ 102541 stringLen |= uint64(b&0x7F) << shift 102542 if b < 0x80 { 102543 break 102544 } 102545 } 102546 intStringLen := int(stringLen) 102547 if intStringLen < 0 { 102548 return ErrInvalidLengthTypes 102549 } 102550 postIndex := iNdEx + intStringLen 102551 if postIndex < 0 { 102552 return ErrInvalidLengthTypes 102553 } 102554 if postIndex > l { 102555 return io.ErrUnexpectedEOF 102556 } 102557 m.Field = string(dAtA[iNdEx:postIndex]) 102558 iNdEx = postIndex 102559 default: 102560 iNdEx = preIndex 102561 skippy, err := skipTypes(dAtA[iNdEx:]) 102562 if err != nil { 102563 return err 102564 } 102565 if (skippy < 0) || (iNdEx+skippy) < 0 { 102566 return ErrInvalidLengthTypes 102567 } 102568 if (iNdEx + skippy) > l { 102569 return io.ErrUnexpectedEOF 102570 } 102571 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 102572 iNdEx += skippy 102573 } 102574 } 102575 102576 if iNdEx > l { 102577 return io.ErrUnexpectedEOF 102578 } 102579 return nil 102580 } 102581 func (m *ConnectionDiagnosticV1) Unmarshal(dAtA []byte) error { 102582 l := len(dAtA) 102583 iNdEx := 0 102584 for iNdEx < l { 102585 preIndex := iNdEx 102586 var wire uint64 102587 for shift := uint(0); ; shift += 7 { 102588 if shift >= 64 { 102589 return ErrIntOverflowTypes 102590 } 102591 if iNdEx >= l { 102592 return io.ErrUnexpectedEOF 102593 } 102594 b := dAtA[iNdEx] 102595 iNdEx++ 102596 wire |= uint64(b&0x7F) << shift 102597 if b < 0x80 { 102598 break 102599 } 102600 } 102601 fieldNum := int32(wire >> 3) 102602 wireType := int(wire & 0x7) 102603 if wireType == 4 { 102604 return fmt.Errorf("proto: ConnectionDiagnosticV1: wiretype end group for non-group") 102605 } 102606 if fieldNum <= 0 { 102607 return fmt.Errorf("proto: ConnectionDiagnosticV1: illegal tag %d (wire type %d)", fieldNum, wire) 102608 } 102609 switch fieldNum { 102610 case 1: 102611 if wireType != 2 { 102612 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 102613 } 102614 var msglen int 102615 for shift := uint(0); ; shift += 7 { 102616 if shift >= 64 { 102617 return ErrIntOverflowTypes 102618 } 102619 if iNdEx >= l { 102620 return io.ErrUnexpectedEOF 102621 } 102622 b := dAtA[iNdEx] 102623 iNdEx++ 102624 msglen |= int(b&0x7F) << shift 102625 if b < 0x80 { 102626 break 102627 } 102628 } 102629 if msglen < 0 { 102630 return ErrInvalidLengthTypes 102631 } 102632 postIndex := iNdEx + msglen 102633 if postIndex < 0 { 102634 return ErrInvalidLengthTypes 102635 } 102636 if postIndex > l { 102637 return io.ErrUnexpectedEOF 102638 } 102639 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 102640 return err 102641 } 102642 iNdEx = postIndex 102643 case 5: 102644 if wireType != 2 { 102645 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 102646 } 102647 var msglen int 102648 for shift := uint(0); ; shift += 7 { 102649 if shift >= 64 { 102650 return ErrIntOverflowTypes 102651 } 102652 if iNdEx >= l { 102653 return io.ErrUnexpectedEOF 102654 } 102655 b := dAtA[iNdEx] 102656 iNdEx++ 102657 msglen |= int(b&0x7F) << shift 102658 if b < 0x80 { 102659 break 102660 } 102661 } 102662 if msglen < 0 { 102663 return ErrInvalidLengthTypes 102664 } 102665 postIndex := iNdEx + msglen 102666 if postIndex < 0 { 102667 return ErrInvalidLengthTypes 102668 } 102669 if postIndex > l { 102670 return io.ErrUnexpectedEOF 102671 } 102672 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 102673 return err 102674 } 102675 iNdEx = postIndex 102676 default: 102677 iNdEx = preIndex 102678 skippy, err := skipTypes(dAtA[iNdEx:]) 102679 if err != nil { 102680 return err 102681 } 102682 if (skippy < 0) || (iNdEx+skippy) < 0 { 102683 return ErrInvalidLengthTypes 102684 } 102685 if (iNdEx + skippy) > l { 102686 return io.ErrUnexpectedEOF 102687 } 102688 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 102689 iNdEx += skippy 102690 } 102691 } 102692 102693 if iNdEx > l { 102694 return io.ErrUnexpectedEOF 102695 } 102696 return nil 102697 } 102698 func (m *ConnectionDiagnosticSpecV1) Unmarshal(dAtA []byte) error { 102699 l := len(dAtA) 102700 iNdEx := 0 102701 for iNdEx < l { 102702 preIndex := iNdEx 102703 var wire uint64 102704 for shift := uint(0); ; shift += 7 { 102705 if shift >= 64 { 102706 return ErrIntOverflowTypes 102707 } 102708 if iNdEx >= l { 102709 return io.ErrUnexpectedEOF 102710 } 102711 b := dAtA[iNdEx] 102712 iNdEx++ 102713 wire |= uint64(b&0x7F) << shift 102714 if b < 0x80 { 102715 break 102716 } 102717 } 102718 fieldNum := int32(wire >> 3) 102719 wireType := int(wire & 0x7) 102720 if wireType == 4 { 102721 return fmt.Errorf("proto: ConnectionDiagnosticSpecV1: wiretype end group for non-group") 102722 } 102723 if fieldNum <= 0 { 102724 return fmt.Errorf("proto: ConnectionDiagnosticSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 102725 } 102726 switch fieldNum { 102727 case 1: 102728 if wireType != 0 { 102729 return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType) 102730 } 102731 var v int 102732 for shift := uint(0); ; shift += 7 { 102733 if shift >= 64 { 102734 return ErrIntOverflowTypes 102735 } 102736 if iNdEx >= l { 102737 return io.ErrUnexpectedEOF 102738 } 102739 b := dAtA[iNdEx] 102740 iNdEx++ 102741 v |= int(b&0x7F) << shift 102742 if b < 0x80 { 102743 break 102744 } 102745 } 102746 m.Success = bool(v != 0) 102747 case 2: 102748 if wireType != 2 { 102749 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) 102750 } 102751 var stringLen uint64 102752 for shift := uint(0); ; shift += 7 { 102753 if shift >= 64 { 102754 return ErrIntOverflowTypes 102755 } 102756 if iNdEx >= l { 102757 return io.ErrUnexpectedEOF 102758 } 102759 b := dAtA[iNdEx] 102760 iNdEx++ 102761 stringLen |= uint64(b&0x7F) << shift 102762 if b < 0x80 { 102763 break 102764 } 102765 } 102766 intStringLen := int(stringLen) 102767 if intStringLen < 0 { 102768 return ErrInvalidLengthTypes 102769 } 102770 postIndex := iNdEx + intStringLen 102771 if postIndex < 0 { 102772 return ErrInvalidLengthTypes 102773 } 102774 if postIndex > l { 102775 return io.ErrUnexpectedEOF 102776 } 102777 m.Message = string(dAtA[iNdEx:postIndex]) 102778 iNdEx = postIndex 102779 case 3: 102780 if wireType != 2 { 102781 return fmt.Errorf("proto: wrong wireType = %d for field Traces", wireType) 102782 } 102783 var msglen int 102784 for shift := uint(0); ; shift += 7 { 102785 if shift >= 64 { 102786 return ErrIntOverflowTypes 102787 } 102788 if iNdEx >= l { 102789 return io.ErrUnexpectedEOF 102790 } 102791 b := dAtA[iNdEx] 102792 iNdEx++ 102793 msglen |= int(b&0x7F) << shift 102794 if b < 0x80 { 102795 break 102796 } 102797 } 102798 if msglen < 0 { 102799 return ErrInvalidLengthTypes 102800 } 102801 postIndex := iNdEx + msglen 102802 if postIndex < 0 { 102803 return ErrInvalidLengthTypes 102804 } 102805 if postIndex > l { 102806 return io.ErrUnexpectedEOF 102807 } 102808 m.Traces = append(m.Traces, &ConnectionDiagnosticTrace{}) 102809 if err := m.Traces[len(m.Traces)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 102810 return err 102811 } 102812 iNdEx = postIndex 102813 default: 102814 iNdEx = preIndex 102815 skippy, err := skipTypes(dAtA[iNdEx:]) 102816 if err != nil { 102817 return err 102818 } 102819 if (skippy < 0) || (iNdEx+skippy) < 0 { 102820 return ErrInvalidLengthTypes 102821 } 102822 if (iNdEx + skippy) > l { 102823 return io.ErrUnexpectedEOF 102824 } 102825 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 102826 iNdEx += skippy 102827 } 102828 } 102829 102830 if iNdEx > l { 102831 return io.ErrUnexpectedEOF 102832 } 102833 return nil 102834 } 102835 func (m *ConnectionDiagnosticTrace) Unmarshal(dAtA []byte) error { 102836 l := len(dAtA) 102837 iNdEx := 0 102838 for iNdEx < l { 102839 preIndex := iNdEx 102840 var wire uint64 102841 for shift := uint(0); ; shift += 7 { 102842 if shift >= 64 { 102843 return ErrIntOverflowTypes 102844 } 102845 if iNdEx >= l { 102846 return io.ErrUnexpectedEOF 102847 } 102848 b := dAtA[iNdEx] 102849 iNdEx++ 102850 wire |= uint64(b&0x7F) << shift 102851 if b < 0x80 { 102852 break 102853 } 102854 } 102855 fieldNum := int32(wire >> 3) 102856 wireType := int(wire & 0x7) 102857 if wireType == 4 { 102858 return fmt.Errorf("proto: ConnectionDiagnosticTrace: wiretype end group for non-group") 102859 } 102860 if fieldNum <= 0 { 102861 return fmt.Errorf("proto: ConnectionDiagnosticTrace: illegal tag %d (wire type %d)", fieldNum, wire) 102862 } 102863 switch fieldNum { 102864 case 1: 102865 if wireType != 0 { 102866 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 102867 } 102868 m.Type = 0 102869 for shift := uint(0); ; shift += 7 { 102870 if shift >= 64 { 102871 return ErrIntOverflowTypes 102872 } 102873 if iNdEx >= l { 102874 return io.ErrUnexpectedEOF 102875 } 102876 b := dAtA[iNdEx] 102877 iNdEx++ 102878 m.Type |= ConnectionDiagnosticTrace_TraceType(b&0x7F) << shift 102879 if b < 0x80 { 102880 break 102881 } 102882 } 102883 case 2: 102884 if wireType != 0 { 102885 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) 102886 } 102887 m.Status = 0 102888 for shift := uint(0); ; shift += 7 { 102889 if shift >= 64 { 102890 return ErrIntOverflowTypes 102891 } 102892 if iNdEx >= l { 102893 return io.ErrUnexpectedEOF 102894 } 102895 b := dAtA[iNdEx] 102896 iNdEx++ 102897 m.Status |= ConnectionDiagnosticTrace_StatusType(b&0x7F) << shift 102898 if b < 0x80 { 102899 break 102900 } 102901 } 102902 case 3: 102903 if wireType != 2 { 102904 return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) 102905 } 102906 var stringLen uint64 102907 for shift := uint(0); ; shift += 7 { 102908 if shift >= 64 { 102909 return ErrIntOverflowTypes 102910 } 102911 if iNdEx >= l { 102912 return io.ErrUnexpectedEOF 102913 } 102914 b := dAtA[iNdEx] 102915 iNdEx++ 102916 stringLen |= uint64(b&0x7F) << shift 102917 if b < 0x80 { 102918 break 102919 } 102920 } 102921 intStringLen := int(stringLen) 102922 if intStringLen < 0 { 102923 return ErrInvalidLengthTypes 102924 } 102925 postIndex := iNdEx + intStringLen 102926 if postIndex < 0 { 102927 return ErrInvalidLengthTypes 102928 } 102929 if postIndex > l { 102930 return io.ErrUnexpectedEOF 102931 } 102932 m.Details = string(dAtA[iNdEx:postIndex]) 102933 iNdEx = postIndex 102934 case 4: 102935 if wireType != 2 { 102936 return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType) 102937 } 102938 var stringLen uint64 102939 for shift := uint(0); ; shift += 7 { 102940 if shift >= 64 { 102941 return ErrIntOverflowTypes 102942 } 102943 if iNdEx >= l { 102944 return io.ErrUnexpectedEOF 102945 } 102946 b := dAtA[iNdEx] 102947 iNdEx++ 102948 stringLen |= uint64(b&0x7F) << shift 102949 if b < 0x80 { 102950 break 102951 } 102952 } 102953 intStringLen := int(stringLen) 102954 if intStringLen < 0 { 102955 return ErrInvalidLengthTypes 102956 } 102957 postIndex := iNdEx + intStringLen 102958 if postIndex < 0 { 102959 return ErrInvalidLengthTypes 102960 } 102961 if postIndex > l { 102962 return io.ErrUnexpectedEOF 102963 } 102964 m.Error = string(dAtA[iNdEx:postIndex]) 102965 iNdEx = postIndex 102966 default: 102967 iNdEx = preIndex 102968 skippy, err := skipTypes(dAtA[iNdEx:]) 102969 if err != nil { 102970 return err 102971 } 102972 if (skippy < 0) || (iNdEx+skippy) < 0 { 102973 return ErrInvalidLengthTypes 102974 } 102975 if (iNdEx + skippy) > l { 102976 return io.ErrUnexpectedEOF 102977 } 102978 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 102979 iNdEx += skippy 102980 } 102981 } 102982 102983 if iNdEx > l { 102984 return io.ErrUnexpectedEOF 102985 } 102986 return nil 102987 } 102988 func (m *DatabaseServiceV1) Unmarshal(dAtA []byte) error { 102989 l := len(dAtA) 102990 iNdEx := 0 102991 for iNdEx < l { 102992 preIndex := iNdEx 102993 var wire uint64 102994 for shift := uint(0); ; shift += 7 { 102995 if shift >= 64 { 102996 return ErrIntOverflowTypes 102997 } 102998 if iNdEx >= l { 102999 return io.ErrUnexpectedEOF 103000 } 103001 b := dAtA[iNdEx] 103002 iNdEx++ 103003 wire |= uint64(b&0x7F) << shift 103004 if b < 0x80 { 103005 break 103006 } 103007 } 103008 fieldNum := int32(wire >> 3) 103009 wireType := int(wire & 0x7) 103010 if wireType == 4 { 103011 return fmt.Errorf("proto: DatabaseServiceV1: wiretype end group for non-group") 103012 } 103013 if fieldNum <= 0 { 103014 return fmt.Errorf("proto: DatabaseServiceV1: illegal tag %d (wire type %d)", fieldNum, wire) 103015 } 103016 switch fieldNum { 103017 case 1: 103018 if wireType != 2 { 103019 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 103020 } 103021 var msglen int 103022 for shift := uint(0); ; shift += 7 { 103023 if shift >= 64 { 103024 return ErrIntOverflowTypes 103025 } 103026 if iNdEx >= l { 103027 return io.ErrUnexpectedEOF 103028 } 103029 b := dAtA[iNdEx] 103030 iNdEx++ 103031 msglen |= int(b&0x7F) << shift 103032 if b < 0x80 { 103033 break 103034 } 103035 } 103036 if msglen < 0 { 103037 return ErrInvalidLengthTypes 103038 } 103039 postIndex := iNdEx + msglen 103040 if postIndex < 0 { 103041 return ErrInvalidLengthTypes 103042 } 103043 if postIndex > l { 103044 return io.ErrUnexpectedEOF 103045 } 103046 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 103047 return err 103048 } 103049 iNdEx = postIndex 103050 case 2: 103051 if wireType != 2 { 103052 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 103053 } 103054 var msglen int 103055 for shift := uint(0); ; shift += 7 { 103056 if shift >= 64 { 103057 return ErrIntOverflowTypes 103058 } 103059 if iNdEx >= l { 103060 return io.ErrUnexpectedEOF 103061 } 103062 b := dAtA[iNdEx] 103063 iNdEx++ 103064 msglen |= int(b&0x7F) << shift 103065 if b < 0x80 { 103066 break 103067 } 103068 } 103069 if msglen < 0 { 103070 return ErrInvalidLengthTypes 103071 } 103072 postIndex := iNdEx + msglen 103073 if postIndex < 0 { 103074 return ErrInvalidLengthTypes 103075 } 103076 if postIndex > l { 103077 return io.ErrUnexpectedEOF 103078 } 103079 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 103080 return err 103081 } 103082 iNdEx = postIndex 103083 default: 103084 iNdEx = preIndex 103085 skippy, err := skipTypes(dAtA[iNdEx:]) 103086 if err != nil { 103087 return err 103088 } 103089 if (skippy < 0) || (iNdEx+skippy) < 0 { 103090 return ErrInvalidLengthTypes 103091 } 103092 if (iNdEx + skippy) > l { 103093 return io.ErrUnexpectedEOF 103094 } 103095 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 103096 iNdEx += skippy 103097 } 103098 } 103099 103100 if iNdEx > l { 103101 return io.ErrUnexpectedEOF 103102 } 103103 return nil 103104 } 103105 func (m *DatabaseServiceSpecV1) Unmarshal(dAtA []byte) error { 103106 l := len(dAtA) 103107 iNdEx := 0 103108 for iNdEx < l { 103109 preIndex := iNdEx 103110 var wire uint64 103111 for shift := uint(0); ; shift += 7 { 103112 if shift >= 64 { 103113 return ErrIntOverflowTypes 103114 } 103115 if iNdEx >= l { 103116 return io.ErrUnexpectedEOF 103117 } 103118 b := dAtA[iNdEx] 103119 iNdEx++ 103120 wire |= uint64(b&0x7F) << shift 103121 if b < 0x80 { 103122 break 103123 } 103124 } 103125 fieldNum := int32(wire >> 3) 103126 wireType := int(wire & 0x7) 103127 if wireType == 4 { 103128 return fmt.Errorf("proto: DatabaseServiceSpecV1: wiretype end group for non-group") 103129 } 103130 if fieldNum <= 0 { 103131 return fmt.Errorf("proto: DatabaseServiceSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 103132 } 103133 switch fieldNum { 103134 case 1: 103135 if wireType != 2 { 103136 return fmt.Errorf("proto: wrong wireType = %d for field ResourceMatchers", wireType) 103137 } 103138 var msglen int 103139 for shift := uint(0); ; shift += 7 { 103140 if shift >= 64 { 103141 return ErrIntOverflowTypes 103142 } 103143 if iNdEx >= l { 103144 return io.ErrUnexpectedEOF 103145 } 103146 b := dAtA[iNdEx] 103147 iNdEx++ 103148 msglen |= int(b&0x7F) << shift 103149 if b < 0x80 { 103150 break 103151 } 103152 } 103153 if msglen < 0 { 103154 return ErrInvalidLengthTypes 103155 } 103156 postIndex := iNdEx + msglen 103157 if postIndex < 0 { 103158 return ErrInvalidLengthTypes 103159 } 103160 if postIndex > l { 103161 return io.ErrUnexpectedEOF 103162 } 103163 m.ResourceMatchers = append(m.ResourceMatchers, &DatabaseResourceMatcher{}) 103164 if err := m.ResourceMatchers[len(m.ResourceMatchers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 103165 return err 103166 } 103167 iNdEx = postIndex 103168 default: 103169 iNdEx = preIndex 103170 skippy, err := skipTypes(dAtA[iNdEx:]) 103171 if err != nil { 103172 return err 103173 } 103174 if (skippy < 0) || (iNdEx+skippy) < 0 { 103175 return ErrInvalidLengthTypes 103176 } 103177 if (iNdEx + skippy) > l { 103178 return io.ErrUnexpectedEOF 103179 } 103180 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 103181 iNdEx += skippy 103182 } 103183 } 103184 103185 if iNdEx > l { 103186 return io.ErrUnexpectedEOF 103187 } 103188 return nil 103189 } 103190 func (m *DatabaseResourceMatcher) Unmarshal(dAtA []byte) error { 103191 l := len(dAtA) 103192 iNdEx := 0 103193 for iNdEx < l { 103194 preIndex := iNdEx 103195 var wire uint64 103196 for shift := uint(0); ; shift += 7 { 103197 if shift >= 64 { 103198 return ErrIntOverflowTypes 103199 } 103200 if iNdEx >= l { 103201 return io.ErrUnexpectedEOF 103202 } 103203 b := dAtA[iNdEx] 103204 iNdEx++ 103205 wire |= uint64(b&0x7F) << shift 103206 if b < 0x80 { 103207 break 103208 } 103209 } 103210 fieldNum := int32(wire >> 3) 103211 wireType := int(wire & 0x7) 103212 if wireType == 4 { 103213 return fmt.Errorf("proto: DatabaseResourceMatcher: wiretype end group for non-group") 103214 } 103215 if fieldNum <= 0 { 103216 return fmt.Errorf("proto: DatabaseResourceMatcher: illegal tag %d (wire type %d)", fieldNum, wire) 103217 } 103218 switch fieldNum { 103219 case 1: 103220 if wireType != 2 { 103221 return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) 103222 } 103223 var msglen int 103224 for shift := uint(0); ; shift += 7 { 103225 if shift >= 64 { 103226 return ErrIntOverflowTypes 103227 } 103228 if iNdEx >= l { 103229 return io.ErrUnexpectedEOF 103230 } 103231 b := dAtA[iNdEx] 103232 iNdEx++ 103233 msglen |= int(b&0x7F) << shift 103234 if b < 0x80 { 103235 break 103236 } 103237 } 103238 if msglen < 0 { 103239 return ErrInvalidLengthTypes 103240 } 103241 postIndex := iNdEx + msglen 103242 if postIndex < 0 { 103243 return ErrInvalidLengthTypes 103244 } 103245 if postIndex > l { 103246 return io.ErrUnexpectedEOF 103247 } 103248 if m.Labels == nil { 103249 m.Labels = &Labels{} 103250 } 103251 if err := m.Labels.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 103252 return err 103253 } 103254 iNdEx = postIndex 103255 case 2: 103256 if wireType != 2 { 103257 return fmt.Errorf("proto: wrong wireType = %d for field AWS", wireType) 103258 } 103259 var msglen int 103260 for shift := uint(0); ; shift += 7 { 103261 if shift >= 64 { 103262 return ErrIntOverflowTypes 103263 } 103264 if iNdEx >= l { 103265 return io.ErrUnexpectedEOF 103266 } 103267 b := dAtA[iNdEx] 103268 iNdEx++ 103269 msglen |= int(b&0x7F) << shift 103270 if b < 0x80 { 103271 break 103272 } 103273 } 103274 if msglen < 0 { 103275 return ErrInvalidLengthTypes 103276 } 103277 postIndex := iNdEx + msglen 103278 if postIndex < 0 { 103279 return ErrInvalidLengthTypes 103280 } 103281 if postIndex > l { 103282 return io.ErrUnexpectedEOF 103283 } 103284 if err := m.AWS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 103285 return err 103286 } 103287 iNdEx = postIndex 103288 default: 103289 iNdEx = preIndex 103290 skippy, err := skipTypes(dAtA[iNdEx:]) 103291 if err != nil { 103292 return err 103293 } 103294 if (skippy < 0) || (iNdEx+skippy) < 0 { 103295 return ErrInvalidLengthTypes 103296 } 103297 if (iNdEx + skippy) > l { 103298 return io.ErrUnexpectedEOF 103299 } 103300 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 103301 iNdEx += skippy 103302 } 103303 } 103304 103305 if iNdEx > l { 103306 return io.ErrUnexpectedEOF 103307 } 103308 return nil 103309 } 103310 func (m *ResourceMatcherAWS) Unmarshal(dAtA []byte) error { 103311 l := len(dAtA) 103312 iNdEx := 0 103313 for iNdEx < l { 103314 preIndex := iNdEx 103315 var wire uint64 103316 for shift := uint(0); ; shift += 7 { 103317 if shift >= 64 { 103318 return ErrIntOverflowTypes 103319 } 103320 if iNdEx >= l { 103321 return io.ErrUnexpectedEOF 103322 } 103323 b := dAtA[iNdEx] 103324 iNdEx++ 103325 wire |= uint64(b&0x7F) << shift 103326 if b < 0x80 { 103327 break 103328 } 103329 } 103330 fieldNum := int32(wire >> 3) 103331 wireType := int(wire & 0x7) 103332 if wireType == 4 { 103333 return fmt.Errorf("proto: ResourceMatcherAWS: wiretype end group for non-group") 103334 } 103335 if fieldNum <= 0 { 103336 return fmt.Errorf("proto: ResourceMatcherAWS: illegal tag %d (wire type %d)", fieldNum, wire) 103337 } 103338 switch fieldNum { 103339 case 1: 103340 if wireType != 2 { 103341 return fmt.Errorf("proto: wrong wireType = %d for field AssumeRoleARN", wireType) 103342 } 103343 var stringLen uint64 103344 for shift := uint(0); ; shift += 7 { 103345 if shift >= 64 { 103346 return ErrIntOverflowTypes 103347 } 103348 if iNdEx >= l { 103349 return io.ErrUnexpectedEOF 103350 } 103351 b := dAtA[iNdEx] 103352 iNdEx++ 103353 stringLen |= uint64(b&0x7F) << shift 103354 if b < 0x80 { 103355 break 103356 } 103357 } 103358 intStringLen := int(stringLen) 103359 if intStringLen < 0 { 103360 return ErrInvalidLengthTypes 103361 } 103362 postIndex := iNdEx + intStringLen 103363 if postIndex < 0 { 103364 return ErrInvalidLengthTypes 103365 } 103366 if postIndex > l { 103367 return io.ErrUnexpectedEOF 103368 } 103369 m.AssumeRoleARN = string(dAtA[iNdEx:postIndex]) 103370 iNdEx = postIndex 103371 case 2: 103372 if wireType != 2 { 103373 return fmt.Errorf("proto: wrong wireType = %d for field ExternalID", wireType) 103374 } 103375 var stringLen uint64 103376 for shift := uint(0); ; shift += 7 { 103377 if shift >= 64 { 103378 return ErrIntOverflowTypes 103379 } 103380 if iNdEx >= l { 103381 return io.ErrUnexpectedEOF 103382 } 103383 b := dAtA[iNdEx] 103384 iNdEx++ 103385 stringLen |= uint64(b&0x7F) << shift 103386 if b < 0x80 { 103387 break 103388 } 103389 } 103390 intStringLen := int(stringLen) 103391 if intStringLen < 0 { 103392 return ErrInvalidLengthTypes 103393 } 103394 postIndex := iNdEx + intStringLen 103395 if postIndex < 0 { 103396 return ErrInvalidLengthTypes 103397 } 103398 if postIndex > l { 103399 return io.ErrUnexpectedEOF 103400 } 103401 m.ExternalID = string(dAtA[iNdEx:postIndex]) 103402 iNdEx = postIndex 103403 default: 103404 iNdEx = preIndex 103405 skippy, err := skipTypes(dAtA[iNdEx:]) 103406 if err != nil { 103407 return err 103408 } 103409 if (skippy < 0) || (iNdEx+skippy) < 0 { 103410 return ErrInvalidLengthTypes 103411 } 103412 if (iNdEx + skippy) > l { 103413 return io.ErrUnexpectedEOF 103414 } 103415 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 103416 iNdEx += skippy 103417 } 103418 } 103419 103420 if iNdEx > l { 103421 return io.ErrUnexpectedEOF 103422 } 103423 return nil 103424 } 103425 func (m *ClusterAlert) Unmarshal(dAtA []byte) error { 103426 l := len(dAtA) 103427 iNdEx := 0 103428 for iNdEx < l { 103429 preIndex := iNdEx 103430 var wire uint64 103431 for shift := uint(0); ; shift += 7 { 103432 if shift >= 64 { 103433 return ErrIntOverflowTypes 103434 } 103435 if iNdEx >= l { 103436 return io.ErrUnexpectedEOF 103437 } 103438 b := dAtA[iNdEx] 103439 iNdEx++ 103440 wire |= uint64(b&0x7F) << shift 103441 if b < 0x80 { 103442 break 103443 } 103444 } 103445 fieldNum := int32(wire >> 3) 103446 wireType := int(wire & 0x7) 103447 if wireType == 4 { 103448 return fmt.Errorf("proto: ClusterAlert: wiretype end group for non-group") 103449 } 103450 if fieldNum <= 0 { 103451 return fmt.Errorf("proto: ClusterAlert: illegal tag %d (wire type %d)", fieldNum, wire) 103452 } 103453 switch fieldNum { 103454 case 1: 103455 if wireType != 2 { 103456 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 103457 } 103458 var msglen int 103459 for shift := uint(0); ; shift += 7 { 103460 if shift >= 64 { 103461 return ErrIntOverflowTypes 103462 } 103463 if iNdEx >= l { 103464 return io.ErrUnexpectedEOF 103465 } 103466 b := dAtA[iNdEx] 103467 iNdEx++ 103468 msglen |= int(b&0x7F) << shift 103469 if b < 0x80 { 103470 break 103471 } 103472 } 103473 if msglen < 0 { 103474 return ErrInvalidLengthTypes 103475 } 103476 postIndex := iNdEx + msglen 103477 if postIndex < 0 { 103478 return ErrInvalidLengthTypes 103479 } 103480 if postIndex > l { 103481 return io.ErrUnexpectedEOF 103482 } 103483 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 103484 return err 103485 } 103486 iNdEx = postIndex 103487 case 2: 103488 if wireType != 2 { 103489 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 103490 } 103491 var msglen int 103492 for shift := uint(0); ; shift += 7 { 103493 if shift >= 64 { 103494 return ErrIntOverflowTypes 103495 } 103496 if iNdEx >= l { 103497 return io.ErrUnexpectedEOF 103498 } 103499 b := dAtA[iNdEx] 103500 iNdEx++ 103501 msglen |= int(b&0x7F) << shift 103502 if b < 0x80 { 103503 break 103504 } 103505 } 103506 if msglen < 0 { 103507 return ErrInvalidLengthTypes 103508 } 103509 postIndex := iNdEx + msglen 103510 if postIndex < 0 { 103511 return ErrInvalidLengthTypes 103512 } 103513 if postIndex > l { 103514 return io.ErrUnexpectedEOF 103515 } 103516 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 103517 return err 103518 } 103519 iNdEx = postIndex 103520 default: 103521 iNdEx = preIndex 103522 skippy, err := skipTypes(dAtA[iNdEx:]) 103523 if err != nil { 103524 return err 103525 } 103526 if (skippy < 0) || (iNdEx+skippy) < 0 { 103527 return ErrInvalidLengthTypes 103528 } 103529 if (iNdEx + skippy) > l { 103530 return io.ErrUnexpectedEOF 103531 } 103532 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 103533 iNdEx += skippy 103534 } 103535 } 103536 103537 if iNdEx > l { 103538 return io.ErrUnexpectedEOF 103539 } 103540 return nil 103541 } 103542 func (m *ClusterAlertSpec) Unmarshal(dAtA []byte) error { 103543 l := len(dAtA) 103544 iNdEx := 0 103545 for iNdEx < l { 103546 preIndex := iNdEx 103547 var wire uint64 103548 for shift := uint(0); ; shift += 7 { 103549 if shift >= 64 { 103550 return ErrIntOverflowTypes 103551 } 103552 if iNdEx >= l { 103553 return io.ErrUnexpectedEOF 103554 } 103555 b := dAtA[iNdEx] 103556 iNdEx++ 103557 wire |= uint64(b&0x7F) << shift 103558 if b < 0x80 { 103559 break 103560 } 103561 } 103562 fieldNum := int32(wire >> 3) 103563 wireType := int(wire & 0x7) 103564 if wireType == 4 { 103565 return fmt.Errorf("proto: ClusterAlertSpec: wiretype end group for non-group") 103566 } 103567 if fieldNum <= 0 { 103568 return fmt.Errorf("proto: ClusterAlertSpec: illegal tag %d (wire type %d)", fieldNum, wire) 103569 } 103570 switch fieldNum { 103571 case 1: 103572 if wireType != 0 { 103573 return fmt.Errorf("proto: wrong wireType = %d for field Severity", wireType) 103574 } 103575 m.Severity = 0 103576 for shift := uint(0); ; shift += 7 { 103577 if shift >= 64 { 103578 return ErrIntOverflowTypes 103579 } 103580 if iNdEx >= l { 103581 return io.ErrUnexpectedEOF 103582 } 103583 b := dAtA[iNdEx] 103584 iNdEx++ 103585 m.Severity |= AlertSeverity(b&0x7F) << shift 103586 if b < 0x80 { 103587 break 103588 } 103589 } 103590 case 2: 103591 if wireType != 2 { 103592 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) 103593 } 103594 var stringLen uint64 103595 for shift := uint(0); ; shift += 7 { 103596 if shift >= 64 { 103597 return ErrIntOverflowTypes 103598 } 103599 if iNdEx >= l { 103600 return io.ErrUnexpectedEOF 103601 } 103602 b := dAtA[iNdEx] 103603 iNdEx++ 103604 stringLen |= uint64(b&0x7F) << shift 103605 if b < 0x80 { 103606 break 103607 } 103608 } 103609 intStringLen := int(stringLen) 103610 if intStringLen < 0 { 103611 return ErrInvalidLengthTypes 103612 } 103613 postIndex := iNdEx + intStringLen 103614 if postIndex < 0 { 103615 return ErrInvalidLengthTypes 103616 } 103617 if postIndex > l { 103618 return io.ErrUnexpectedEOF 103619 } 103620 m.Message = string(dAtA[iNdEx:postIndex]) 103621 iNdEx = postIndex 103622 case 3: 103623 if wireType != 2 { 103624 return fmt.Errorf("proto: wrong wireType = %d for field Created", wireType) 103625 } 103626 var msglen int 103627 for shift := uint(0); ; shift += 7 { 103628 if shift >= 64 { 103629 return ErrIntOverflowTypes 103630 } 103631 if iNdEx >= l { 103632 return io.ErrUnexpectedEOF 103633 } 103634 b := dAtA[iNdEx] 103635 iNdEx++ 103636 msglen |= int(b&0x7F) << shift 103637 if b < 0x80 { 103638 break 103639 } 103640 } 103641 if msglen < 0 { 103642 return ErrInvalidLengthTypes 103643 } 103644 postIndex := iNdEx + msglen 103645 if postIndex < 0 { 103646 return ErrInvalidLengthTypes 103647 } 103648 if postIndex > l { 103649 return io.ErrUnexpectedEOF 103650 } 103651 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Created, dAtA[iNdEx:postIndex]); err != nil { 103652 return err 103653 } 103654 iNdEx = postIndex 103655 default: 103656 iNdEx = preIndex 103657 skippy, err := skipTypes(dAtA[iNdEx:]) 103658 if err != nil { 103659 return err 103660 } 103661 if (skippy < 0) || (iNdEx+skippy) < 0 { 103662 return ErrInvalidLengthTypes 103663 } 103664 if (iNdEx + skippy) > l { 103665 return io.ErrUnexpectedEOF 103666 } 103667 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 103668 iNdEx += skippy 103669 } 103670 } 103671 103672 if iNdEx > l { 103673 return io.ErrUnexpectedEOF 103674 } 103675 return nil 103676 } 103677 func (m *GetClusterAlertsRequest) Unmarshal(dAtA []byte) error { 103678 l := len(dAtA) 103679 iNdEx := 0 103680 for iNdEx < l { 103681 preIndex := iNdEx 103682 var wire uint64 103683 for shift := uint(0); ; shift += 7 { 103684 if shift >= 64 { 103685 return ErrIntOverflowTypes 103686 } 103687 if iNdEx >= l { 103688 return io.ErrUnexpectedEOF 103689 } 103690 b := dAtA[iNdEx] 103691 iNdEx++ 103692 wire |= uint64(b&0x7F) << shift 103693 if b < 0x80 { 103694 break 103695 } 103696 } 103697 fieldNum := int32(wire >> 3) 103698 wireType := int(wire & 0x7) 103699 if wireType == 4 { 103700 return fmt.Errorf("proto: GetClusterAlertsRequest: wiretype end group for non-group") 103701 } 103702 if fieldNum <= 0 { 103703 return fmt.Errorf("proto: GetClusterAlertsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 103704 } 103705 switch fieldNum { 103706 case 1: 103707 if wireType != 0 { 103708 return fmt.Errorf("proto: wrong wireType = %d for field Severity", wireType) 103709 } 103710 m.Severity = 0 103711 for shift := uint(0); ; shift += 7 { 103712 if shift >= 64 { 103713 return ErrIntOverflowTypes 103714 } 103715 if iNdEx >= l { 103716 return io.ErrUnexpectedEOF 103717 } 103718 b := dAtA[iNdEx] 103719 iNdEx++ 103720 m.Severity |= AlertSeverity(b&0x7F) << shift 103721 if b < 0x80 { 103722 break 103723 } 103724 } 103725 case 2: 103726 if wireType != 2 { 103727 return fmt.Errorf("proto: wrong wireType = %d for field AlertID", wireType) 103728 } 103729 var stringLen uint64 103730 for shift := uint(0); ; shift += 7 { 103731 if shift >= 64 { 103732 return ErrIntOverflowTypes 103733 } 103734 if iNdEx >= l { 103735 return io.ErrUnexpectedEOF 103736 } 103737 b := dAtA[iNdEx] 103738 iNdEx++ 103739 stringLen |= uint64(b&0x7F) << shift 103740 if b < 0x80 { 103741 break 103742 } 103743 } 103744 intStringLen := int(stringLen) 103745 if intStringLen < 0 { 103746 return ErrInvalidLengthTypes 103747 } 103748 postIndex := iNdEx + intStringLen 103749 if postIndex < 0 { 103750 return ErrInvalidLengthTypes 103751 } 103752 if postIndex > l { 103753 return io.ErrUnexpectedEOF 103754 } 103755 m.AlertID = string(dAtA[iNdEx:postIndex]) 103756 iNdEx = postIndex 103757 case 3: 103758 if wireType != 2 { 103759 return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) 103760 } 103761 var msglen int 103762 for shift := uint(0); ; shift += 7 { 103763 if shift >= 64 { 103764 return ErrIntOverflowTypes 103765 } 103766 if iNdEx >= l { 103767 return io.ErrUnexpectedEOF 103768 } 103769 b := dAtA[iNdEx] 103770 iNdEx++ 103771 msglen |= int(b&0x7F) << shift 103772 if b < 0x80 { 103773 break 103774 } 103775 } 103776 if msglen < 0 { 103777 return ErrInvalidLengthTypes 103778 } 103779 postIndex := iNdEx + msglen 103780 if postIndex < 0 { 103781 return ErrInvalidLengthTypes 103782 } 103783 if postIndex > l { 103784 return io.ErrUnexpectedEOF 103785 } 103786 if m.Labels == nil { 103787 m.Labels = make(map[string]string) 103788 } 103789 var mapkey string 103790 var mapvalue string 103791 for iNdEx < postIndex { 103792 entryPreIndex := iNdEx 103793 var wire uint64 103794 for shift := uint(0); ; shift += 7 { 103795 if shift >= 64 { 103796 return ErrIntOverflowTypes 103797 } 103798 if iNdEx >= l { 103799 return io.ErrUnexpectedEOF 103800 } 103801 b := dAtA[iNdEx] 103802 iNdEx++ 103803 wire |= uint64(b&0x7F) << shift 103804 if b < 0x80 { 103805 break 103806 } 103807 } 103808 fieldNum := int32(wire >> 3) 103809 if fieldNum == 1 { 103810 var stringLenmapkey uint64 103811 for shift := uint(0); ; shift += 7 { 103812 if shift >= 64 { 103813 return ErrIntOverflowTypes 103814 } 103815 if iNdEx >= l { 103816 return io.ErrUnexpectedEOF 103817 } 103818 b := dAtA[iNdEx] 103819 iNdEx++ 103820 stringLenmapkey |= uint64(b&0x7F) << shift 103821 if b < 0x80 { 103822 break 103823 } 103824 } 103825 intStringLenmapkey := int(stringLenmapkey) 103826 if intStringLenmapkey < 0 { 103827 return ErrInvalidLengthTypes 103828 } 103829 postStringIndexmapkey := iNdEx + intStringLenmapkey 103830 if postStringIndexmapkey < 0 { 103831 return ErrInvalidLengthTypes 103832 } 103833 if postStringIndexmapkey > l { 103834 return io.ErrUnexpectedEOF 103835 } 103836 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 103837 iNdEx = postStringIndexmapkey 103838 } else if fieldNum == 2 { 103839 var stringLenmapvalue uint64 103840 for shift := uint(0); ; shift += 7 { 103841 if shift >= 64 { 103842 return ErrIntOverflowTypes 103843 } 103844 if iNdEx >= l { 103845 return io.ErrUnexpectedEOF 103846 } 103847 b := dAtA[iNdEx] 103848 iNdEx++ 103849 stringLenmapvalue |= uint64(b&0x7F) << shift 103850 if b < 0x80 { 103851 break 103852 } 103853 } 103854 intStringLenmapvalue := int(stringLenmapvalue) 103855 if intStringLenmapvalue < 0 { 103856 return ErrInvalidLengthTypes 103857 } 103858 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 103859 if postStringIndexmapvalue < 0 { 103860 return ErrInvalidLengthTypes 103861 } 103862 if postStringIndexmapvalue > l { 103863 return io.ErrUnexpectedEOF 103864 } 103865 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 103866 iNdEx = postStringIndexmapvalue 103867 } else { 103868 iNdEx = entryPreIndex 103869 skippy, err := skipTypes(dAtA[iNdEx:]) 103870 if err != nil { 103871 return err 103872 } 103873 if (skippy < 0) || (iNdEx+skippy) < 0 { 103874 return ErrInvalidLengthTypes 103875 } 103876 if (iNdEx + skippy) > postIndex { 103877 return io.ErrUnexpectedEOF 103878 } 103879 iNdEx += skippy 103880 } 103881 } 103882 m.Labels[mapkey] = mapvalue 103883 iNdEx = postIndex 103884 case 4: 103885 if wireType != 0 { 103886 return fmt.Errorf("proto: wrong wireType = %d for field WithSuperseded", wireType) 103887 } 103888 var v int 103889 for shift := uint(0); ; shift += 7 { 103890 if shift >= 64 { 103891 return ErrIntOverflowTypes 103892 } 103893 if iNdEx >= l { 103894 return io.ErrUnexpectedEOF 103895 } 103896 b := dAtA[iNdEx] 103897 iNdEx++ 103898 v |= int(b&0x7F) << shift 103899 if b < 0x80 { 103900 break 103901 } 103902 } 103903 m.WithSuperseded = bool(v != 0) 103904 case 5: 103905 if wireType != 0 { 103906 return fmt.Errorf("proto: wrong wireType = %d for field WithAcknowledged", wireType) 103907 } 103908 var v int 103909 for shift := uint(0); ; shift += 7 { 103910 if shift >= 64 { 103911 return ErrIntOverflowTypes 103912 } 103913 if iNdEx >= l { 103914 return io.ErrUnexpectedEOF 103915 } 103916 b := dAtA[iNdEx] 103917 iNdEx++ 103918 v |= int(b&0x7F) << shift 103919 if b < 0x80 { 103920 break 103921 } 103922 } 103923 m.WithAcknowledged = bool(v != 0) 103924 case 6: 103925 if wireType != 0 { 103926 return fmt.Errorf("proto: wrong wireType = %d for field WithUntargeted", wireType) 103927 } 103928 var v int 103929 for shift := uint(0); ; shift += 7 { 103930 if shift >= 64 { 103931 return ErrIntOverflowTypes 103932 } 103933 if iNdEx >= l { 103934 return io.ErrUnexpectedEOF 103935 } 103936 b := dAtA[iNdEx] 103937 iNdEx++ 103938 v |= int(b&0x7F) << shift 103939 if b < 0x80 { 103940 break 103941 } 103942 } 103943 m.WithUntargeted = bool(v != 0) 103944 default: 103945 iNdEx = preIndex 103946 skippy, err := skipTypes(dAtA[iNdEx:]) 103947 if err != nil { 103948 return err 103949 } 103950 if (skippy < 0) || (iNdEx+skippy) < 0 { 103951 return ErrInvalidLengthTypes 103952 } 103953 if (iNdEx + skippy) > l { 103954 return io.ErrUnexpectedEOF 103955 } 103956 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 103957 iNdEx += skippy 103958 } 103959 } 103960 103961 if iNdEx > l { 103962 return io.ErrUnexpectedEOF 103963 } 103964 return nil 103965 } 103966 func (m *AlertAcknowledgement) Unmarshal(dAtA []byte) error { 103967 l := len(dAtA) 103968 iNdEx := 0 103969 for iNdEx < l { 103970 preIndex := iNdEx 103971 var wire uint64 103972 for shift := uint(0); ; shift += 7 { 103973 if shift >= 64 { 103974 return ErrIntOverflowTypes 103975 } 103976 if iNdEx >= l { 103977 return io.ErrUnexpectedEOF 103978 } 103979 b := dAtA[iNdEx] 103980 iNdEx++ 103981 wire |= uint64(b&0x7F) << shift 103982 if b < 0x80 { 103983 break 103984 } 103985 } 103986 fieldNum := int32(wire >> 3) 103987 wireType := int(wire & 0x7) 103988 if wireType == 4 { 103989 return fmt.Errorf("proto: AlertAcknowledgement: wiretype end group for non-group") 103990 } 103991 if fieldNum <= 0 { 103992 return fmt.Errorf("proto: AlertAcknowledgement: illegal tag %d (wire type %d)", fieldNum, wire) 103993 } 103994 switch fieldNum { 103995 case 1: 103996 if wireType != 2 { 103997 return fmt.Errorf("proto: wrong wireType = %d for field AlertID", wireType) 103998 } 103999 var stringLen uint64 104000 for shift := uint(0); ; shift += 7 { 104001 if shift >= 64 { 104002 return ErrIntOverflowTypes 104003 } 104004 if iNdEx >= l { 104005 return io.ErrUnexpectedEOF 104006 } 104007 b := dAtA[iNdEx] 104008 iNdEx++ 104009 stringLen |= uint64(b&0x7F) << shift 104010 if b < 0x80 { 104011 break 104012 } 104013 } 104014 intStringLen := int(stringLen) 104015 if intStringLen < 0 { 104016 return ErrInvalidLengthTypes 104017 } 104018 postIndex := iNdEx + intStringLen 104019 if postIndex < 0 { 104020 return ErrInvalidLengthTypes 104021 } 104022 if postIndex > l { 104023 return io.ErrUnexpectedEOF 104024 } 104025 m.AlertID = string(dAtA[iNdEx:postIndex]) 104026 iNdEx = postIndex 104027 case 2: 104028 if wireType != 2 { 104029 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) 104030 } 104031 var stringLen uint64 104032 for shift := uint(0); ; shift += 7 { 104033 if shift >= 64 { 104034 return ErrIntOverflowTypes 104035 } 104036 if iNdEx >= l { 104037 return io.ErrUnexpectedEOF 104038 } 104039 b := dAtA[iNdEx] 104040 iNdEx++ 104041 stringLen |= uint64(b&0x7F) << shift 104042 if b < 0x80 { 104043 break 104044 } 104045 } 104046 intStringLen := int(stringLen) 104047 if intStringLen < 0 { 104048 return ErrInvalidLengthTypes 104049 } 104050 postIndex := iNdEx + intStringLen 104051 if postIndex < 0 { 104052 return ErrInvalidLengthTypes 104053 } 104054 if postIndex > l { 104055 return io.ErrUnexpectedEOF 104056 } 104057 m.Reason = string(dAtA[iNdEx:postIndex]) 104058 iNdEx = postIndex 104059 case 4: 104060 if wireType != 2 { 104061 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 104062 } 104063 var msglen int 104064 for shift := uint(0); ; shift += 7 { 104065 if shift >= 64 { 104066 return ErrIntOverflowTypes 104067 } 104068 if iNdEx >= l { 104069 return io.ErrUnexpectedEOF 104070 } 104071 b := dAtA[iNdEx] 104072 iNdEx++ 104073 msglen |= int(b&0x7F) << shift 104074 if b < 0x80 { 104075 break 104076 } 104077 } 104078 if msglen < 0 { 104079 return ErrInvalidLengthTypes 104080 } 104081 postIndex := iNdEx + msglen 104082 if postIndex < 0 { 104083 return ErrInvalidLengthTypes 104084 } 104085 if postIndex > l { 104086 return io.ErrUnexpectedEOF 104087 } 104088 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Expires, dAtA[iNdEx:postIndex]); err != nil { 104089 return err 104090 } 104091 iNdEx = postIndex 104092 default: 104093 iNdEx = preIndex 104094 skippy, err := skipTypes(dAtA[iNdEx:]) 104095 if err != nil { 104096 return err 104097 } 104098 if (skippy < 0) || (iNdEx+skippy) < 0 { 104099 return ErrInvalidLengthTypes 104100 } 104101 if (iNdEx + skippy) > l { 104102 return io.ErrUnexpectedEOF 104103 } 104104 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 104105 iNdEx += skippy 104106 } 104107 } 104108 104109 if iNdEx > l { 104110 return io.ErrUnexpectedEOF 104111 } 104112 return nil 104113 } 104114 func (m *Release) Unmarshal(dAtA []byte) error { 104115 l := len(dAtA) 104116 iNdEx := 0 104117 for iNdEx < l { 104118 preIndex := iNdEx 104119 var wire uint64 104120 for shift := uint(0); ; shift += 7 { 104121 if shift >= 64 { 104122 return ErrIntOverflowTypes 104123 } 104124 if iNdEx >= l { 104125 return io.ErrUnexpectedEOF 104126 } 104127 b := dAtA[iNdEx] 104128 iNdEx++ 104129 wire |= uint64(b&0x7F) << shift 104130 if b < 0x80 { 104131 break 104132 } 104133 } 104134 fieldNum := int32(wire >> 3) 104135 wireType := int(wire & 0x7) 104136 if wireType == 4 { 104137 return fmt.Errorf("proto: Release: wiretype end group for non-group") 104138 } 104139 if fieldNum <= 0 { 104140 return fmt.Errorf("proto: Release: illegal tag %d (wire type %d)", fieldNum, wire) 104141 } 104142 switch fieldNum { 104143 case 1: 104144 if wireType != 2 { 104145 return fmt.Errorf("proto: wrong wireType = %d for field NotesMD", wireType) 104146 } 104147 var stringLen uint64 104148 for shift := uint(0); ; shift += 7 { 104149 if shift >= 64 { 104150 return ErrIntOverflowTypes 104151 } 104152 if iNdEx >= l { 104153 return io.ErrUnexpectedEOF 104154 } 104155 b := dAtA[iNdEx] 104156 iNdEx++ 104157 stringLen |= uint64(b&0x7F) << shift 104158 if b < 0x80 { 104159 break 104160 } 104161 } 104162 intStringLen := int(stringLen) 104163 if intStringLen < 0 { 104164 return ErrInvalidLengthTypes 104165 } 104166 postIndex := iNdEx + intStringLen 104167 if postIndex < 0 { 104168 return ErrInvalidLengthTypes 104169 } 104170 if postIndex > l { 104171 return io.ErrUnexpectedEOF 104172 } 104173 m.NotesMD = string(dAtA[iNdEx:postIndex]) 104174 iNdEx = postIndex 104175 case 2: 104176 if wireType != 2 { 104177 return fmt.Errorf("proto: wrong wireType = %d for field Product", wireType) 104178 } 104179 var stringLen uint64 104180 for shift := uint(0); ; shift += 7 { 104181 if shift >= 64 { 104182 return ErrIntOverflowTypes 104183 } 104184 if iNdEx >= l { 104185 return io.ErrUnexpectedEOF 104186 } 104187 b := dAtA[iNdEx] 104188 iNdEx++ 104189 stringLen |= uint64(b&0x7F) << shift 104190 if b < 0x80 { 104191 break 104192 } 104193 } 104194 intStringLen := int(stringLen) 104195 if intStringLen < 0 { 104196 return ErrInvalidLengthTypes 104197 } 104198 postIndex := iNdEx + intStringLen 104199 if postIndex < 0 { 104200 return ErrInvalidLengthTypes 104201 } 104202 if postIndex > l { 104203 return io.ErrUnexpectedEOF 104204 } 104205 m.Product = string(dAtA[iNdEx:postIndex]) 104206 iNdEx = postIndex 104207 case 3: 104208 if wireType != 2 { 104209 return fmt.Errorf("proto: wrong wireType = %d for field ReleaseID", wireType) 104210 } 104211 var stringLen uint64 104212 for shift := uint(0); ; shift += 7 { 104213 if shift >= 64 { 104214 return ErrIntOverflowTypes 104215 } 104216 if iNdEx >= l { 104217 return io.ErrUnexpectedEOF 104218 } 104219 b := dAtA[iNdEx] 104220 iNdEx++ 104221 stringLen |= uint64(b&0x7F) << shift 104222 if b < 0x80 { 104223 break 104224 } 104225 } 104226 intStringLen := int(stringLen) 104227 if intStringLen < 0 { 104228 return ErrInvalidLengthTypes 104229 } 104230 postIndex := iNdEx + intStringLen 104231 if postIndex < 0 { 104232 return ErrInvalidLengthTypes 104233 } 104234 if postIndex > l { 104235 return io.ErrUnexpectedEOF 104236 } 104237 m.ReleaseID = string(dAtA[iNdEx:postIndex]) 104238 iNdEx = postIndex 104239 case 4: 104240 if wireType != 2 { 104241 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) 104242 } 104243 var stringLen uint64 104244 for shift := uint(0); ; shift += 7 { 104245 if shift >= 64 { 104246 return ErrIntOverflowTypes 104247 } 104248 if iNdEx >= l { 104249 return io.ErrUnexpectedEOF 104250 } 104251 b := dAtA[iNdEx] 104252 iNdEx++ 104253 stringLen |= uint64(b&0x7F) << shift 104254 if b < 0x80 { 104255 break 104256 } 104257 } 104258 intStringLen := int(stringLen) 104259 if intStringLen < 0 { 104260 return ErrInvalidLengthTypes 104261 } 104262 postIndex := iNdEx + intStringLen 104263 if postIndex < 0 { 104264 return ErrInvalidLengthTypes 104265 } 104266 if postIndex > l { 104267 return io.ErrUnexpectedEOF 104268 } 104269 m.Status = string(dAtA[iNdEx:postIndex]) 104270 iNdEx = postIndex 104271 case 5: 104272 if wireType != 2 { 104273 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 104274 } 104275 var stringLen uint64 104276 for shift := uint(0); ; shift += 7 { 104277 if shift >= 64 { 104278 return ErrIntOverflowTypes 104279 } 104280 if iNdEx >= l { 104281 return io.ErrUnexpectedEOF 104282 } 104283 b := dAtA[iNdEx] 104284 iNdEx++ 104285 stringLen |= uint64(b&0x7F) << shift 104286 if b < 0x80 { 104287 break 104288 } 104289 } 104290 intStringLen := int(stringLen) 104291 if intStringLen < 0 { 104292 return ErrInvalidLengthTypes 104293 } 104294 postIndex := iNdEx + intStringLen 104295 if postIndex < 0 { 104296 return ErrInvalidLengthTypes 104297 } 104298 if postIndex > l { 104299 return io.ErrUnexpectedEOF 104300 } 104301 m.Version = string(dAtA[iNdEx:postIndex]) 104302 iNdEx = postIndex 104303 case 6: 104304 if wireType != 2 { 104305 return fmt.Errorf("proto: wrong wireType = %d for field Assets", wireType) 104306 } 104307 var msglen int 104308 for shift := uint(0); ; shift += 7 { 104309 if shift >= 64 { 104310 return ErrIntOverflowTypes 104311 } 104312 if iNdEx >= l { 104313 return io.ErrUnexpectedEOF 104314 } 104315 b := dAtA[iNdEx] 104316 iNdEx++ 104317 msglen |= int(b&0x7F) << shift 104318 if b < 0x80 { 104319 break 104320 } 104321 } 104322 if msglen < 0 { 104323 return ErrInvalidLengthTypes 104324 } 104325 postIndex := iNdEx + msglen 104326 if postIndex < 0 { 104327 return ErrInvalidLengthTypes 104328 } 104329 if postIndex > l { 104330 return io.ErrUnexpectedEOF 104331 } 104332 m.Assets = append(m.Assets, &Asset{}) 104333 if err := m.Assets[len(m.Assets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 104334 return err 104335 } 104336 iNdEx = postIndex 104337 default: 104338 iNdEx = preIndex 104339 skippy, err := skipTypes(dAtA[iNdEx:]) 104340 if err != nil { 104341 return err 104342 } 104343 if (skippy < 0) || (iNdEx+skippy) < 0 { 104344 return ErrInvalidLengthTypes 104345 } 104346 if (iNdEx + skippy) > l { 104347 return io.ErrUnexpectedEOF 104348 } 104349 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 104350 iNdEx += skippy 104351 } 104352 } 104353 104354 if iNdEx > l { 104355 return io.ErrUnexpectedEOF 104356 } 104357 return nil 104358 } 104359 func (m *Asset) Unmarshal(dAtA []byte) error { 104360 l := len(dAtA) 104361 iNdEx := 0 104362 for iNdEx < l { 104363 preIndex := iNdEx 104364 var wire uint64 104365 for shift := uint(0); ; shift += 7 { 104366 if shift >= 64 { 104367 return ErrIntOverflowTypes 104368 } 104369 if iNdEx >= l { 104370 return io.ErrUnexpectedEOF 104371 } 104372 b := dAtA[iNdEx] 104373 iNdEx++ 104374 wire |= uint64(b&0x7F) << shift 104375 if b < 0x80 { 104376 break 104377 } 104378 } 104379 fieldNum := int32(wire >> 3) 104380 wireType := int(wire & 0x7) 104381 if wireType == 4 { 104382 return fmt.Errorf("proto: Asset: wiretype end group for non-group") 104383 } 104384 if fieldNum <= 0 { 104385 return fmt.Errorf("proto: Asset: illegal tag %d (wire type %d)", fieldNum, wire) 104386 } 104387 switch fieldNum { 104388 case 1: 104389 if wireType != 2 { 104390 return fmt.Errorf("proto: wrong wireType = %d for field Arch", wireType) 104391 } 104392 var stringLen uint64 104393 for shift := uint(0); ; shift += 7 { 104394 if shift >= 64 { 104395 return ErrIntOverflowTypes 104396 } 104397 if iNdEx >= l { 104398 return io.ErrUnexpectedEOF 104399 } 104400 b := dAtA[iNdEx] 104401 iNdEx++ 104402 stringLen |= uint64(b&0x7F) << shift 104403 if b < 0x80 { 104404 break 104405 } 104406 } 104407 intStringLen := int(stringLen) 104408 if intStringLen < 0 { 104409 return ErrInvalidLengthTypes 104410 } 104411 postIndex := iNdEx + intStringLen 104412 if postIndex < 0 { 104413 return ErrInvalidLengthTypes 104414 } 104415 if postIndex > l { 104416 return io.ErrUnexpectedEOF 104417 } 104418 m.Arch = string(dAtA[iNdEx:postIndex]) 104419 iNdEx = postIndex 104420 case 2: 104421 if wireType != 2 { 104422 return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) 104423 } 104424 var stringLen uint64 104425 for shift := uint(0); ; shift += 7 { 104426 if shift >= 64 { 104427 return ErrIntOverflowTypes 104428 } 104429 if iNdEx >= l { 104430 return io.ErrUnexpectedEOF 104431 } 104432 b := dAtA[iNdEx] 104433 iNdEx++ 104434 stringLen |= uint64(b&0x7F) << shift 104435 if b < 0x80 { 104436 break 104437 } 104438 } 104439 intStringLen := int(stringLen) 104440 if intStringLen < 0 { 104441 return ErrInvalidLengthTypes 104442 } 104443 postIndex := iNdEx + intStringLen 104444 if postIndex < 0 { 104445 return ErrInvalidLengthTypes 104446 } 104447 if postIndex > l { 104448 return io.ErrUnexpectedEOF 104449 } 104450 m.Description = string(dAtA[iNdEx:postIndex]) 104451 iNdEx = postIndex 104452 case 3: 104453 if wireType != 2 { 104454 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 104455 } 104456 var stringLen uint64 104457 for shift := uint(0); ; shift += 7 { 104458 if shift >= 64 { 104459 return ErrIntOverflowTypes 104460 } 104461 if iNdEx >= l { 104462 return io.ErrUnexpectedEOF 104463 } 104464 b := dAtA[iNdEx] 104465 iNdEx++ 104466 stringLen |= uint64(b&0x7F) << shift 104467 if b < 0x80 { 104468 break 104469 } 104470 } 104471 intStringLen := int(stringLen) 104472 if intStringLen < 0 { 104473 return ErrInvalidLengthTypes 104474 } 104475 postIndex := iNdEx + intStringLen 104476 if postIndex < 0 { 104477 return ErrInvalidLengthTypes 104478 } 104479 if postIndex > l { 104480 return io.ErrUnexpectedEOF 104481 } 104482 m.Name = string(dAtA[iNdEx:postIndex]) 104483 iNdEx = postIndex 104484 case 4: 104485 if wireType != 2 { 104486 return fmt.Errorf("proto: wrong wireType = %d for field OS", wireType) 104487 } 104488 var stringLen uint64 104489 for shift := uint(0); ; shift += 7 { 104490 if shift >= 64 { 104491 return ErrIntOverflowTypes 104492 } 104493 if iNdEx >= l { 104494 return io.ErrUnexpectedEOF 104495 } 104496 b := dAtA[iNdEx] 104497 iNdEx++ 104498 stringLen |= uint64(b&0x7F) << shift 104499 if b < 0x80 { 104500 break 104501 } 104502 } 104503 intStringLen := int(stringLen) 104504 if intStringLen < 0 { 104505 return ErrInvalidLengthTypes 104506 } 104507 postIndex := iNdEx + intStringLen 104508 if postIndex < 0 { 104509 return ErrInvalidLengthTypes 104510 } 104511 if postIndex > l { 104512 return io.ErrUnexpectedEOF 104513 } 104514 m.OS = string(dAtA[iNdEx:postIndex]) 104515 iNdEx = postIndex 104516 case 5: 104517 if wireType != 2 { 104518 return fmt.Errorf("proto: wrong wireType = %d for field SHA256", wireType) 104519 } 104520 var stringLen uint64 104521 for shift := uint(0); ; shift += 7 { 104522 if shift >= 64 { 104523 return ErrIntOverflowTypes 104524 } 104525 if iNdEx >= l { 104526 return io.ErrUnexpectedEOF 104527 } 104528 b := dAtA[iNdEx] 104529 iNdEx++ 104530 stringLen |= uint64(b&0x7F) << shift 104531 if b < 0x80 { 104532 break 104533 } 104534 } 104535 intStringLen := int(stringLen) 104536 if intStringLen < 0 { 104537 return ErrInvalidLengthTypes 104538 } 104539 postIndex := iNdEx + intStringLen 104540 if postIndex < 0 { 104541 return ErrInvalidLengthTypes 104542 } 104543 if postIndex > l { 104544 return io.ErrUnexpectedEOF 104545 } 104546 m.SHA256 = string(dAtA[iNdEx:postIndex]) 104547 iNdEx = postIndex 104548 case 6: 104549 if wireType != 0 { 104550 return fmt.Errorf("proto: wrong wireType = %d for field AssetSize", wireType) 104551 } 104552 m.AssetSize = 0 104553 for shift := uint(0); ; shift += 7 { 104554 if shift >= 64 { 104555 return ErrIntOverflowTypes 104556 } 104557 if iNdEx >= l { 104558 return io.ErrUnexpectedEOF 104559 } 104560 b := dAtA[iNdEx] 104561 iNdEx++ 104562 m.AssetSize |= int64(b&0x7F) << shift 104563 if b < 0x80 { 104564 break 104565 } 104566 } 104567 case 7: 104568 if wireType != 2 { 104569 return fmt.Errorf("proto: wrong wireType = %d for field DisplaySize", wireType) 104570 } 104571 var stringLen uint64 104572 for shift := uint(0); ; shift += 7 { 104573 if shift >= 64 { 104574 return ErrIntOverflowTypes 104575 } 104576 if iNdEx >= l { 104577 return io.ErrUnexpectedEOF 104578 } 104579 b := dAtA[iNdEx] 104580 iNdEx++ 104581 stringLen |= uint64(b&0x7F) << shift 104582 if b < 0x80 { 104583 break 104584 } 104585 } 104586 intStringLen := int(stringLen) 104587 if intStringLen < 0 { 104588 return ErrInvalidLengthTypes 104589 } 104590 postIndex := iNdEx + intStringLen 104591 if postIndex < 0 { 104592 return ErrInvalidLengthTypes 104593 } 104594 if postIndex > l { 104595 return io.ErrUnexpectedEOF 104596 } 104597 m.DisplaySize = string(dAtA[iNdEx:postIndex]) 104598 iNdEx = postIndex 104599 case 8: 104600 if wireType != 2 { 104601 return fmt.Errorf("proto: wrong wireType = %d for field ReleaseIDs", wireType) 104602 } 104603 var stringLen uint64 104604 for shift := uint(0); ; shift += 7 { 104605 if shift >= 64 { 104606 return ErrIntOverflowTypes 104607 } 104608 if iNdEx >= l { 104609 return io.ErrUnexpectedEOF 104610 } 104611 b := dAtA[iNdEx] 104612 iNdEx++ 104613 stringLen |= uint64(b&0x7F) << shift 104614 if b < 0x80 { 104615 break 104616 } 104617 } 104618 intStringLen := int(stringLen) 104619 if intStringLen < 0 { 104620 return ErrInvalidLengthTypes 104621 } 104622 postIndex := iNdEx + intStringLen 104623 if postIndex < 0 { 104624 return ErrInvalidLengthTypes 104625 } 104626 if postIndex > l { 104627 return io.ErrUnexpectedEOF 104628 } 104629 m.ReleaseIDs = append(m.ReleaseIDs, string(dAtA[iNdEx:postIndex])) 104630 iNdEx = postIndex 104631 case 9: 104632 if wireType != 2 { 104633 return fmt.Errorf("proto: wrong wireType = %d for field PublicURL", wireType) 104634 } 104635 var stringLen uint64 104636 for shift := uint(0); ; shift += 7 { 104637 if shift >= 64 { 104638 return ErrIntOverflowTypes 104639 } 104640 if iNdEx >= l { 104641 return io.ErrUnexpectedEOF 104642 } 104643 b := dAtA[iNdEx] 104644 iNdEx++ 104645 stringLen |= uint64(b&0x7F) << shift 104646 if b < 0x80 { 104647 break 104648 } 104649 } 104650 intStringLen := int(stringLen) 104651 if intStringLen < 0 { 104652 return ErrInvalidLengthTypes 104653 } 104654 postIndex := iNdEx + intStringLen 104655 if postIndex < 0 { 104656 return ErrInvalidLengthTypes 104657 } 104658 if postIndex > l { 104659 return io.ErrUnexpectedEOF 104660 } 104661 m.PublicURL = string(dAtA[iNdEx:postIndex]) 104662 iNdEx = postIndex 104663 default: 104664 iNdEx = preIndex 104665 skippy, err := skipTypes(dAtA[iNdEx:]) 104666 if err != nil { 104667 return err 104668 } 104669 if (skippy < 0) || (iNdEx+skippy) < 0 { 104670 return ErrInvalidLengthTypes 104671 } 104672 if (iNdEx + skippy) > l { 104673 return io.ErrUnexpectedEOF 104674 } 104675 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 104676 iNdEx += skippy 104677 } 104678 } 104679 104680 if iNdEx > l { 104681 return io.ErrUnexpectedEOF 104682 } 104683 return nil 104684 } 104685 func (m *PluginV1) Unmarshal(dAtA []byte) error { 104686 l := len(dAtA) 104687 iNdEx := 0 104688 for iNdEx < l { 104689 preIndex := iNdEx 104690 var wire uint64 104691 for shift := uint(0); ; shift += 7 { 104692 if shift >= 64 { 104693 return ErrIntOverflowTypes 104694 } 104695 if iNdEx >= l { 104696 return io.ErrUnexpectedEOF 104697 } 104698 b := dAtA[iNdEx] 104699 iNdEx++ 104700 wire |= uint64(b&0x7F) << shift 104701 if b < 0x80 { 104702 break 104703 } 104704 } 104705 fieldNum := int32(wire >> 3) 104706 wireType := int(wire & 0x7) 104707 if wireType == 4 { 104708 return fmt.Errorf("proto: PluginV1: wiretype end group for non-group") 104709 } 104710 if fieldNum <= 0 { 104711 return fmt.Errorf("proto: PluginV1: illegal tag %d (wire type %d)", fieldNum, wire) 104712 } 104713 switch fieldNum { 104714 case 1: 104715 if wireType != 2 { 104716 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 104717 } 104718 var stringLen uint64 104719 for shift := uint(0); ; shift += 7 { 104720 if shift >= 64 { 104721 return ErrIntOverflowTypes 104722 } 104723 if iNdEx >= l { 104724 return io.ErrUnexpectedEOF 104725 } 104726 b := dAtA[iNdEx] 104727 iNdEx++ 104728 stringLen |= uint64(b&0x7F) << shift 104729 if b < 0x80 { 104730 break 104731 } 104732 } 104733 intStringLen := int(stringLen) 104734 if intStringLen < 0 { 104735 return ErrInvalidLengthTypes 104736 } 104737 postIndex := iNdEx + intStringLen 104738 if postIndex < 0 { 104739 return ErrInvalidLengthTypes 104740 } 104741 if postIndex > l { 104742 return io.ErrUnexpectedEOF 104743 } 104744 m.Kind = string(dAtA[iNdEx:postIndex]) 104745 iNdEx = postIndex 104746 case 2: 104747 if wireType != 2 { 104748 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 104749 } 104750 var stringLen uint64 104751 for shift := uint(0); ; shift += 7 { 104752 if shift >= 64 { 104753 return ErrIntOverflowTypes 104754 } 104755 if iNdEx >= l { 104756 return io.ErrUnexpectedEOF 104757 } 104758 b := dAtA[iNdEx] 104759 iNdEx++ 104760 stringLen |= uint64(b&0x7F) << shift 104761 if b < 0x80 { 104762 break 104763 } 104764 } 104765 intStringLen := int(stringLen) 104766 if intStringLen < 0 { 104767 return ErrInvalidLengthTypes 104768 } 104769 postIndex := iNdEx + intStringLen 104770 if postIndex < 0 { 104771 return ErrInvalidLengthTypes 104772 } 104773 if postIndex > l { 104774 return io.ErrUnexpectedEOF 104775 } 104776 m.SubKind = string(dAtA[iNdEx:postIndex]) 104777 iNdEx = postIndex 104778 case 3: 104779 if wireType != 2 { 104780 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 104781 } 104782 var stringLen uint64 104783 for shift := uint(0); ; shift += 7 { 104784 if shift >= 64 { 104785 return ErrIntOverflowTypes 104786 } 104787 if iNdEx >= l { 104788 return io.ErrUnexpectedEOF 104789 } 104790 b := dAtA[iNdEx] 104791 iNdEx++ 104792 stringLen |= uint64(b&0x7F) << shift 104793 if b < 0x80 { 104794 break 104795 } 104796 } 104797 intStringLen := int(stringLen) 104798 if intStringLen < 0 { 104799 return ErrInvalidLengthTypes 104800 } 104801 postIndex := iNdEx + intStringLen 104802 if postIndex < 0 { 104803 return ErrInvalidLengthTypes 104804 } 104805 if postIndex > l { 104806 return io.ErrUnexpectedEOF 104807 } 104808 m.Version = string(dAtA[iNdEx:postIndex]) 104809 iNdEx = postIndex 104810 case 4: 104811 if wireType != 2 { 104812 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 104813 } 104814 var msglen int 104815 for shift := uint(0); ; shift += 7 { 104816 if shift >= 64 { 104817 return ErrIntOverflowTypes 104818 } 104819 if iNdEx >= l { 104820 return io.ErrUnexpectedEOF 104821 } 104822 b := dAtA[iNdEx] 104823 iNdEx++ 104824 msglen |= int(b&0x7F) << shift 104825 if b < 0x80 { 104826 break 104827 } 104828 } 104829 if msglen < 0 { 104830 return ErrInvalidLengthTypes 104831 } 104832 postIndex := iNdEx + msglen 104833 if postIndex < 0 { 104834 return ErrInvalidLengthTypes 104835 } 104836 if postIndex > l { 104837 return io.ErrUnexpectedEOF 104838 } 104839 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 104840 return err 104841 } 104842 iNdEx = postIndex 104843 case 5: 104844 if wireType != 2 { 104845 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 104846 } 104847 var msglen int 104848 for shift := uint(0); ; shift += 7 { 104849 if shift >= 64 { 104850 return ErrIntOverflowTypes 104851 } 104852 if iNdEx >= l { 104853 return io.ErrUnexpectedEOF 104854 } 104855 b := dAtA[iNdEx] 104856 iNdEx++ 104857 msglen |= int(b&0x7F) << shift 104858 if b < 0x80 { 104859 break 104860 } 104861 } 104862 if msglen < 0 { 104863 return ErrInvalidLengthTypes 104864 } 104865 postIndex := iNdEx + msglen 104866 if postIndex < 0 { 104867 return ErrInvalidLengthTypes 104868 } 104869 if postIndex > l { 104870 return io.ErrUnexpectedEOF 104871 } 104872 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 104873 return err 104874 } 104875 iNdEx = postIndex 104876 case 6: 104877 if wireType != 2 { 104878 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) 104879 } 104880 var msglen int 104881 for shift := uint(0); ; shift += 7 { 104882 if shift >= 64 { 104883 return ErrIntOverflowTypes 104884 } 104885 if iNdEx >= l { 104886 return io.ErrUnexpectedEOF 104887 } 104888 b := dAtA[iNdEx] 104889 iNdEx++ 104890 msglen |= int(b&0x7F) << shift 104891 if b < 0x80 { 104892 break 104893 } 104894 } 104895 if msglen < 0 { 104896 return ErrInvalidLengthTypes 104897 } 104898 postIndex := iNdEx + msglen 104899 if postIndex < 0 { 104900 return ErrInvalidLengthTypes 104901 } 104902 if postIndex > l { 104903 return io.ErrUnexpectedEOF 104904 } 104905 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 104906 return err 104907 } 104908 iNdEx = postIndex 104909 case 7: 104910 if wireType != 2 { 104911 return fmt.Errorf("proto: wrong wireType = %d for field Credentials", wireType) 104912 } 104913 var msglen int 104914 for shift := uint(0); ; shift += 7 { 104915 if shift >= 64 { 104916 return ErrIntOverflowTypes 104917 } 104918 if iNdEx >= l { 104919 return io.ErrUnexpectedEOF 104920 } 104921 b := dAtA[iNdEx] 104922 iNdEx++ 104923 msglen |= int(b&0x7F) << shift 104924 if b < 0x80 { 104925 break 104926 } 104927 } 104928 if msglen < 0 { 104929 return ErrInvalidLengthTypes 104930 } 104931 postIndex := iNdEx + msglen 104932 if postIndex < 0 { 104933 return ErrInvalidLengthTypes 104934 } 104935 if postIndex > l { 104936 return io.ErrUnexpectedEOF 104937 } 104938 if m.Credentials == nil { 104939 m.Credentials = &PluginCredentialsV1{} 104940 } 104941 if err := m.Credentials.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 104942 return err 104943 } 104944 iNdEx = postIndex 104945 default: 104946 iNdEx = preIndex 104947 skippy, err := skipTypes(dAtA[iNdEx:]) 104948 if err != nil { 104949 return err 104950 } 104951 if (skippy < 0) || (iNdEx+skippy) < 0 { 104952 return ErrInvalidLengthTypes 104953 } 104954 if (iNdEx + skippy) > l { 104955 return io.ErrUnexpectedEOF 104956 } 104957 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 104958 iNdEx += skippy 104959 } 104960 } 104961 104962 if iNdEx > l { 104963 return io.ErrUnexpectedEOF 104964 } 104965 return nil 104966 } 104967 func (m *PluginSpecV1) Unmarshal(dAtA []byte) error { 104968 l := len(dAtA) 104969 iNdEx := 0 104970 for iNdEx < l { 104971 preIndex := iNdEx 104972 var wire uint64 104973 for shift := uint(0); ; shift += 7 { 104974 if shift >= 64 { 104975 return ErrIntOverflowTypes 104976 } 104977 if iNdEx >= l { 104978 return io.ErrUnexpectedEOF 104979 } 104980 b := dAtA[iNdEx] 104981 iNdEx++ 104982 wire |= uint64(b&0x7F) << shift 104983 if b < 0x80 { 104984 break 104985 } 104986 } 104987 fieldNum := int32(wire >> 3) 104988 wireType := int(wire & 0x7) 104989 if wireType == 4 { 104990 return fmt.Errorf("proto: PluginSpecV1: wiretype end group for non-group") 104991 } 104992 if fieldNum <= 0 { 104993 return fmt.Errorf("proto: PluginSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 104994 } 104995 switch fieldNum { 104996 case 1: 104997 if wireType != 2 { 104998 return fmt.Errorf("proto: wrong wireType = %d for field SlackAccessPlugin", wireType) 104999 } 105000 var msglen int 105001 for shift := uint(0); ; shift += 7 { 105002 if shift >= 64 { 105003 return ErrIntOverflowTypes 105004 } 105005 if iNdEx >= l { 105006 return io.ErrUnexpectedEOF 105007 } 105008 b := dAtA[iNdEx] 105009 iNdEx++ 105010 msglen |= int(b&0x7F) << shift 105011 if b < 0x80 { 105012 break 105013 } 105014 } 105015 if msglen < 0 { 105016 return ErrInvalidLengthTypes 105017 } 105018 postIndex := iNdEx + msglen 105019 if postIndex < 0 { 105020 return ErrInvalidLengthTypes 105021 } 105022 if postIndex > l { 105023 return io.ErrUnexpectedEOF 105024 } 105025 v := &PluginSlackAccessSettings{} 105026 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 105027 return err 105028 } 105029 m.Settings = &PluginSpecV1_SlackAccessPlugin{v} 105030 iNdEx = postIndex 105031 case 2: 105032 if wireType != 2 { 105033 return fmt.Errorf("proto: wrong wireType = %d for field Opsgenie", wireType) 105034 } 105035 var msglen int 105036 for shift := uint(0); ; shift += 7 { 105037 if shift >= 64 { 105038 return ErrIntOverflowTypes 105039 } 105040 if iNdEx >= l { 105041 return io.ErrUnexpectedEOF 105042 } 105043 b := dAtA[iNdEx] 105044 iNdEx++ 105045 msglen |= int(b&0x7F) << shift 105046 if b < 0x80 { 105047 break 105048 } 105049 } 105050 if msglen < 0 { 105051 return ErrInvalidLengthTypes 105052 } 105053 postIndex := iNdEx + msglen 105054 if postIndex < 0 { 105055 return ErrInvalidLengthTypes 105056 } 105057 if postIndex > l { 105058 return io.ErrUnexpectedEOF 105059 } 105060 v := &PluginOpsgenieAccessSettings{} 105061 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 105062 return err 105063 } 105064 m.Settings = &PluginSpecV1_Opsgenie{v} 105065 iNdEx = postIndex 105066 case 3: 105067 if wireType != 2 { 105068 return fmt.Errorf("proto: wrong wireType = %d for field Openai", wireType) 105069 } 105070 var msglen int 105071 for shift := uint(0); ; shift += 7 { 105072 if shift >= 64 { 105073 return ErrIntOverflowTypes 105074 } 105075 if iNdEx >= l { 105076 return io.ErrUnexpectedEOF 105077 } 105078 b := dAtA[iNdEx] 105079 iNdEx++ 105080 msglen |= int(b&0x7F) << shift 105081 if b < 0x80 { 105082 break 105083 } 105084 } 105085 if msglen < 0 { 105086 return ErrInvalidLengthTypes 105087 } 105088 postIndex := iNdEx + msglen 105089 if postIndex < 0 { 105090 return ErrInvalidLengthTypes 105091 } 105092 if postIndex > l { 105093 return io.ErrUnexpectedEOF 105094 } 105095 v := &PluginOpenAISettings{} 105096 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 105097 return err 105098 } 105099 m.Settings = &PluginSpecV1_Openai{v} 105100 iNdEx = postIndex 105101 case 4: 105102 if wireType != 2 { 105103 return fmt.Errorf("proto: wrong wireType = %d for field Okta", wireType) 105104 } 105105 var msglen int 105106 for shift := uint(0); ; shift += 7 { 105107 if shift >= 64 { 105108 return ErrIntOverflowTypes 105109 } 105110 if iNdEx >= l { 105111 return io.ErrUnexpectedEOF 105112 } 105113 b := dAtA[iNdEx] 105114 iNdEx++ 105115 msglen |= int(b&0x7F) << shift 105116 if b < 0x80 { 105117 break 105118 } 105119 } 105120 if msglen < 0 { 105121 return ErrInvalidLengthTypes 105122 } 105123 postIndex := iNdEx + msglen 105124 if postIndex < 0 { 105125 return ErrInvalidLengthTypes 105126 } 105127 if postIndex > l { 105128 return io.ErrUnexpectedEOF 105129 } 105130 v := &PluginOktaSettings{} 105131 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 105132 return err 105133 } 105134 m.Settings = &PluginSpecV1_Okta{v} 105135 iNdEx = postIndex 105136 case 5: 105137 if wireType != 2 { 105138 return fmt.Errorf("proto: wrong wireType = %d for field Jamf", wireType) 105139 } 105140 var msglen int 105141 for shift := uint(0); ; shift += 7 { 105142 if shift >= 64 { 105143 return ErrIntOverflowTypes 105144 } 105145 if iNdEx >= l { 105146 return io.ErrUnexpectedEOF 105147 } 105148 b := dAtA[iNdEx] 105149 iNdEx++ 105150 msglen |= int(b&0x7F) << shift 105151 if b < 0x80 { 105152 break 105153 } 105154 } 105155 if msglen < 0 { 105156 return ErrInvalidLengthTypes 105157 } 105158 postIndex := iNdEx + msglen 105159 if postIndex < 0 { 105160 return ErrInvalidLengthTypes 105161 } 105162 if postIndex > l { 105163 return io.ErrUnexpectedEOF 105164 } 105165 v := &PluginJamfSettings{} 105166 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 105167 return err 105168 } 105169 m.Settings = &PluginSpecV1_Jamf{v} 105170 iNdEx = postIndex 105171 case 6: 105172 if wireType != 2 { 105173 return fmt.Errorf("proto: wrong wireType = %d for field PagerDuty", wireType) 105174 } 105175 var msglen int 105176 for shift := uint(0); ; shift += 7 { 105177 if shift >= 64 { 105178 return ErrIntOverflowTypes 105179 } 105180 if iNdEx >= l { 105181 return io.ErrUnexpectedEOF 105182 } 105183 b := dAtA[iNdEx] 105184 iNdEx++ 105185 msglen |= int(b&0x7F) << shift 105186 if b < 0x80 { 105187 break 105188 } 105189 } 105190 if msglen < 0 { 105191 return ErrInvalidLengthTypes 105192 } 105193 postIndex := iNdEx + msglen 105194 if postIndex < 0 { 105195 return ErrInvalidLengthTypes 105196 } 105197 if postIndex > l { 105198 return io.ErrUnexpectedEOF 105199 } 105200 v := &PluginPagerDutySettings{} 105201 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 105202 return err 105203 } 105204 m.Settings = &PluginSpecV1_PagerDuty{v} 105205 iNdEx = postIndex 105206 case 7: 105207 if wireType != 2 { 105208 return fmt.Errorf("proto: wrong wireType = %d for field Mattermost", wireType) 105209 } 105210 var msglen int 105211 for shift := uint(0); ; shift += 7 { 105212 if shift >= 64 { 105213 return ErrIntOverflowTypes 105214 } 105215 if iNdEx >= l { 105216 return io.ErrUnexpectedEOF 105217 } 105218 b := dAtA[iNdEx] 105219 iNdEx++ 105220 msglen |= int(b&0x7F) << shift 105221 if b < 0x80 { 105222 break 105223 } 105224 } 105225 if msglen < 0 { 105226 return ErrInvalidLengthTypes 105227 } 105228 postIndex := iNdEx + msglen 105229 if postIndex < 0 { 105230 return ErrInvalidLengthTypes 105231 } 105232 if postIndex > l { 105233 return io.ErrUnexpectedEOF 105234 } 105235 v := &PluginMattermostSettings{} 105236 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 105237 return err 105238 } 105239 m.Settings = &PluginSpecV1_Mattermost{v} 105240 iNdEx = postIndex 105241 case 8: 105242 if wireType != 2 { 105243 return fmt.Errorf("proto: wrong wireType = %d for field Jira", wireType) 105244 } 105245 var msglen int 105246 for shift := uint(0); ; shift += 7 { 105247 if shift >= 64 { 105248 return ErrIntOverflowTypes 105249 } 105250 if iNdEx >= l { 105251 return io.ErrUnexpectedEOF 105252 } 105253 b := dAtA[iNdEx] 105254 iNdEx++ 105255 msglen |= int(b&0x7F) << shift 105256 if b < 0x80 { 105257 break 105258 } 105259 } 105260 if msglen < 0 { 105261 return ErrInvalidLengthTypes 105262 } 105263 postIndex := iNdEx + msglen 105264 if postIndex < 0 { 105265 return ErrInvalidLengthTypes 105266 } 105267 if postIndex > l { 105268 return io.ErrUnexpectedEOF 105269 } 105270 v := &PluginJiraSettings{} 105271 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 105272 return err 105273 } 105274 m.Settings = &PluginSpecV1_Jira{v} 105275 iNdEx = postIndex 105276 case 9: 105277 if wireType != 2 { 105278 return fmt.Errorf("proto: wrong wireType = %d for field Discord", wireType) 105279 } 105280 var msglen int 105281 for shift := uint(0); ; shift += 7 { 105282 if shift >= 64 { 105283 return ErrIntOverflowTypes 105284 } 105285 if iNdEx >= l { 105286 return io.ErrUnexpectedEOF 105287 } 105288 b := dAtA[iNdEx] 105289 iNdEx++ 105290 msglen |= int(b&0x7F) << shift 105291 if b < 0x80 { 105292 break 105293 } 105294 } 105295 if msglen < 0 { 105296 return ErrInvalidLengthTypes 105297 } 105298 postIndex := iNdEx + msglen 105299 if postIndex < 0 { 105300 return ErrInvalidLengthTypes 105301 } 105302 if postIndex > l { 105303 return io.ErrUnexpectedEOF 105304 } 105305 v := &PluginDiscordSettings{} 105306 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 105307 return err 105308 } 105309 m.Settings = &PluginSpecV1_Discord{v} 105310 iNdEx = postIndex 105311 case 10: 105312 if wireType != 2 { 105313 return fmt.Errorf("proto: wrong wireType = %d for field ServiceNow", wireType) 105314 } 105315 var msglen int 105316 for shift := uint(0); ; shift += 7 { 105317 if shift >= 64 { 105318 return ErrIntOverflowTypes 105319 } 105320 if iNdEx >= l { 105321 return io.ErrUnexpectedEOF 105322 } 105323 b := dAtA[iNdEx] 105324 iNdEx++ 105325 msglen |= int(b&0x7F) << shift 105326 if b < 0x80 { 105327 break 105328 } 105329 } 105330 if msglen < 0 { 105331 return ErrInvalidLengthTypes 105332 } 105333 postIndex := iNdEx + msglen 105334 if postIndex < 0 { 105335 return ErrInvalidLengthTypes 105336 } 105337 if postIndex > l { 105338 return io.ErrUnexpectedEOF 105339 } 105340 v := &PluginServiceNowSettings{} 105341 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 105342 return err 105343 } 105344 m.Settings = &PluginSpecV1_ServiceNow{v} 105345 iNdEx = postIndex 105346 case 11: 105347 if wireType != 2 { 105348 return fmt.Errorf("proto: wrong wireType = %d for field Generation", wireType) 105349 } 105350 var stringLen uint64 105351 for shift := uint(0); ; shift += 7 { 105352 if shift >= 64 { 105353 return ErrIntOverflowTypes 105354 } 105355 if iNdEx >= l { 105356 return io.ErrUnexpectedEOF 105357 } 105358 b := dAtA[iNdEx] 105359 iNdEx++ 105360 stringLen |= uint64(b&0x7F) << shift 105361 if b < 0x80 { 105362 break 105363 } 105364 } 105365 intStringLen := int(stringLen) 105366 if intStringLen < 0 { 105367 return ErrInvalidLengthTypes 105368 } 105369 postIndex := iNdEx + intStringLen 105370 if postIndex < 0 { 105371 return ErrInvalidLengthTypes 105372 } 105373 if postIndex > l { 105374 return io.ErrUnexpectedEOF 105375 } 105376 m.Generation = string(dAtA[iNdEx:postIndex]) 105377 iNdEx = postIndex 105378 case 12: 105379 if wireType != 2 { 105380 return fmt.Errorf("proto: wrong wireType = %d for field Gitlab", wireType) 105381 } 105382 var msglen int 105383 for shift := uint(0); ; shift += 7 { 105384 if shift >= 64 { 105385 return ErrIntOverflowTypes 105386 } 105387 if iNdEx >= l { 105388 return io.ErrUnexpectedEOF 105389 } 105390 b := dAtA[iNdEx] 105391 iNdEx++ 105392 msglen |= int(b&0x7F) << shift 105393 if b < 0x80 { 105394 break 105395 } 105396 } 105397 if msglen < 0 { 105398 return ErrInvalidLengthTypes 105399 } 105400 postIndex := iNdEx + msglen 105401 if postIndex < 0 { 105402 return ErrInvalidLengthTypes 105403 } 105404 if postIndex > l { 105405 return io.ErrUnexpectedEOF 105406 } 105407 v := &PluginGitlabSettings{} 105408 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 105409 return err 105410 } 105411 m.Settings = &PluginSpecV1_Gitlab{v} 105412 iNdEx = postIndex 105413 case 13: 105414 if wireType != 2 { 105415 return fmt.Errorf("proto: wrong wireType = %d for field EntraId", wireType) 105416 } 105417 var msglen int 105418 for shift := uint(0); ; shift += 7 { 105419 if shift >= 64 { 105420 return ErrIntOverflowTypes 105421 } 105422 if iNdEx >= l { 105423 return io.ErrUnexpectedEOF 105424 } 105425 b := dAtA[iNdEx] 105426 iNdEx++ 105427 msglen |= int(b&0x7F) << shift 105428 if b < 0x80 { 105429 break 105430 } 105431 } 105432 if msglen < 0 { 105433 return ErrInvalidLengthTypes 105434 } 105435 postIndex := iNdEx + msglen 105436 if postIndex < 0 { 105437 return ErrInvalidLengthTypes 105438 } 105439 if postIndex > l { 105440 return io.ErrUnexpectedEOF 105441 } 105442 v := &PluginEntraIDSettings{} 105443 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 105444 return err 105445 } 105446 m.Settings = &PluginSpecV1_EntraId{v} 105447 iNdEx = postIndex 105448 default: 105449 iNdEx = preIndex 105450 skippy, err := skipTypes(dAtA[iNdEx:]) 105451 if err != nil { 105452 return err 105453 } 105454 if (skippy < 0) || (iNdEx+skippy) < 0 { 105455 return ErrInvalidLengthTypes 105456 } 105457 if (iNdEx + skippy) > l { 105458 return io.ErrUnexpectedEOF 105459 } 105460 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 105461 iNdEx += skippy 105462 } 105463 } 105464 105465 if iNdEx > l { 105466 return io.ErrUnexpectedEOF 105467 } 105468 return nil 105469 } 105470 func (m *PluginSlackAccessSettings) Unmarshal(dAtA []byte) error { 105471 l := len(dAtA) 105472 iNdEx := 0 105473 for iNdEx < l { 105474 preIndex := iNdEx 105475 var wire uint64 105476 for shift := uint(0); ; shift += 7 { 105477 if shift >= 64 { 105478 return ErrIntOverflowTypes 105479 } 105480 if iNdEx >= l { 105481 return io.ErrUnexpectedEOF 105482 } 105483 b := dAtA[iNdEx] 105484 iNdEx++ 105485 wire |= uint64(b&0x7F) << shift 105486 if b < 0x80 { 105487 break 105488 } 105489 } 105490 fieldNum := int32(wire >> 3) 105491 wireType := int(wire & 0x7) 105492 if wireType == 4 { 105493 return fmt.Errorf("proto: PluginSlackAccessSettings: wiretype end group for non-group") 105494 } 105495 if fieldNum <= 0 { 105496 return fmt.Errorf("proto: PluginSlackAccessSettings: illegal tag %d (wire type %d)", fieldNum, wire) 105497 } 105498 switch fieldNum { 105499 case 1: 105500 if wireType != 2 { 105501 return fmt.Errorf("proto: wrong wireType = %d for field FallbackChannel", wireType) 105502 } 105503 var stringLen uint64 105504 for shift := uint(0); ; shift += 7 { 105505 if shift >= 64 { 105506 return ErrIntOverflowTypes 105507 } 105508 if iNdEx >= l { 105509 return io.ErrUnexpectedEOF 105510 } 105511 b := dAtA[iNdEx] 105512 iNdEx++ 105513 stringLen |= uint64(b&0x7F) << shift 105514 if b < 0x80 { 105515 break 105516 } 105517 } 105518 intStringLen := int(stringLen) 105519 if intStringLen < 0 { 105520 return ErrInvalidLengthTypes 105521 } 105522 postIndex := iNdEx + intStringLen 105523 if postIndex < 0 { 105524 return ErrInvalidLengthTypes 105525 } 105526 if postIndex > l { 105527 return io.ErrUnexpectedEOF 105528 } 105529 m.FallbackChannel = string(dAtA[iNdEx:postIndex]) 105530 iNdEx = postIndex 105531 default: 105532 iNdEx = preIndex 105533 skippy, err := skipTypes(dAtA[iNdEx:]) 105534 if err != nil { 105535 return err 105536 } 105537 if (skippy < 0) || (iNdEx+skippy) < 0 { 105538 return ErrInvalidLengthTypes 105539 } 105540 if (iNdEx + skippy) > l { 105541 return io.ErrUnexpectedEOF 105542 } 105543 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 105544 iNdEx += skippy 105545 } 105546 } 105547 105548 if iNdEx > l { 105549 return io.ErrUnexpectedEOF 105550 } 105551 return nil 105552 } 105553 func (m *PluginGitlabSettings) Unmarshal(dAtA []byte) error { 105554 l := len(dAtA) 105555 iNdEx := 0 105556 for iNdEx < l { 105557 preIndex := iNdEx 105558 var wire uint64 105559 for shift := uint(0); ; shift += 7 { 105560 if shift >= 64 { 105561 return ErrIntOverflowTypes 105562 } 105563 if iNdEx >= l { 105564 return io.ErrUnexpectedEOF 105565 } 105566 b := dAtA[iNdEx] 105567 iNdEx++ 105568 wire |= uint64(b&0x7F) << shift 105569 if b < 0x80 { 105570 break 105571 } 105572 } 105573 fieldNum := int32(wire >> 3) 105574 wireType := int(wire & 0x7) 105575 if wireType == 4 { 105576 return fmt.Errorf("proto: PluginGitlabSettings: wiretype end group for non-group") 105577 } 105578 if fieldNum <= 0 { 105579 return fmt.Errorf("proto: PluginGitlabSettings: illegal tag %d (wire type %d)", fieldNum, wire) 105580 } 105581 switch fieldNum { 105582 case 1: 105583 if wireType != 2 { 105584 return fmt.Errorf("proto: wrong wireType = %d for field ApiEndpoint", wireType) 105585 } 105586 var stringLen uint64 105587 for shift := uint(0); ; shift += 7 { 105588 if shift >= 64 { 105589 return ErrIntOverflowTypes 105590 } 105591 if iNdEx >= l { 105592 return io.ErrUnexpectedEOF 105593 } 105594 b := dAtA[iNdEx] 105595 iNdEx++ 105596 stringLen |= uint64(b&0x7F) << shift 105597 if b < 0x80 { 105598 break 105599 } 105600 } 105601 intStringLen := int(stringLen) 105602 if intStringLen < 0 { 105603 return ErrInvalidLengthTypes 105604 } 105605 postIndex := iNdEx + intStringLen 105606 if postIndex < 0 { 105607 return ErrInvalidLengthTypes 105608 } 105609 if postIndex > l { 105610 return io.ErrUnexpectedEOF 105611 } 105612 m.ApiEndpoint = string(dAtA[iNdEx:postIndex]) 105613 iNdEx = postIndex 105614 default: 105615 iNdEx = preIndex 105616 skippy, err := skipTypes(dAtA[iNdEx:]) 105617 if err != nil { 105618 return err 105619 } 105620 if (skippy < 0) || (iNdEx+skippy) < 0 { 105621 return ErrInvalidLengthTypes 105622 } 105623 if (iNdEx + skippy) > l { 105624 return io.ErrUnexpectedEOF 105625 } 105626 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 105627 iNdEx += skippy 105628 } 105629 } 105630 105631 if iNdEx > l { 105632 return io.ErrUnexpectedEOF 105633 } 105634 return nil 105635 } 105636 func (m *PluginOpsgenieAccessSettings) Unmarshal(dAtA []byte) error { 105637 l := len(dAtA) 105638 iNdEx := 0 105639 for iNdEx < l { 105640 preIndex := iNdEx 105641 var wire uint64 105642 for shift := uint(0); ; shift += 7 { 105643 if shift >= 64 { 105644 return ErrIntOverflowTypes 105645 } 105646 if iNdEx >= l { 105647 return io.ErrUnexpectedEOF 105648 } 105649 b := dAtA[iNdEx] 105650 iNdEx++ 105651 wire |= uint64(b&0x7F) << shift 105652 if b < 0x80 { 105653 break 105654 } 105655 } 105656 fieldNum := int32(wire >> 3) 105657 wireType := int(wire & 0x7) 105658 if wireType == 4 { 105659 return fmt.Errorf("proto: PluginOpsgenieAccessSettings: wiretype end group for non-group") 105660 } 105661 if fieldNum <= 0 { 105662 return fmt.Errorf("proto: PluginOpsgenieAccessSettings: illegal tag %d (wire type %d)", fieldNum, wire) 105663 } 105664 switch fieldNum { 105665 case 2: 105666 if wireType != 2 { 105667 return fmt.Errorf("proto: wrong wireType = %d for field Priority", wireType) 105668 } 105669 var stringLen uint64 105670 for shift := uint(0); ; shift += 7 { 105671 if shift >= 64 { 105672 return ErrIntOverflowTypes 105673 } 105674 if iNdEx >= l { 105675 return io.ErrUnexpectedEOF 105676 } 105677 b := dAtA[iNdEx] 105678 iNdEx++ 105679 stringLen |= uint64(b&0x7F) << shift 105680 if b < 0x80 { 105681 break 105682 } 105683 } 105684 intStringLen := int(stringLen) 105685 if intStringLen < 0 { 105686 return ErrInvalidLengthTypes 105687 } 105688 postIndex := iNdEx + intStringLen 105689 if postIndex < 0 { 105690 return ErrInvalidLengthTypes 105691 } 105692 if postIndex > l { 105693 return io.ErrUnexpectedEOF 105694 } 105695 m.Priority = string(dAtA[iNdEx:postIndex]) 105696 iNdEx = postIndex 105697 case 3: 105698 if wireType != 2 { 105699 return fmt.Errorf("proto: wrong wireType = %d for field AlertTags", wireType) 105700 } 105701 var stringLen uint64 105702 for shift := uint(0); ; shift += 7 { 105703 if shift >= 64 { 105704 return ErrIntOverflowTypes 105705 } 105706 if iNdEx >= l { 105707 return io.ErrUnexpectedEOF 105708 } 105709 b := dAtA[iNdEx] 105710 iNdEx++ 105711 stringLen |= uint64(b&0x7F) << shift 105712 if b < 0x80 { 105713 break 105714 } 105715 } 105716 intStringLen := int(stringLen) 105717 if intStringLen < 0 { 105718 return ErrInvalidLengthTypes 105719 } 105720 postIndex := iNdEx + intStringLen 105721 if postIndex < 0 { 105722 return ErrInvalidLengthTypes 105723 } 105724 if postIndex > l { 105725 return io.ErrUnexpectedEOF 105726 } 105727 m.AlertTags = append(m.AlertTags, string(dAtA[iNdEx:postIndex])) 105728 iNdEx = postIndex 105729 case 4: 105730 if wireType != 2 { 105731 return fmt.Errorf("proto: wrong wireType = %d for field DefaultSchedules", wireType) 105732 } 105733 var stringLen uint64 105734 for shift := uint(0); ; shift += 7 { 105735 if shift >= 64 { 105736 return ErrIntOverflowTypes 105737 } 105738 if iNdEx >= l { 105739 return io.ErrUnexpectedEOF 105740 } 105741 b := dAtA[iNdEx] 105742 iNdEx++ 105743 stringLen |= uint64(b&0x7F) << shift 105744 if b < 0x80 { 105745 break 105746 } 105747 } 105748 intStringLen := int(stringLen) 105749 if intStringLen < 0 { 105750 return ErrInvalidLengthTypes 105751 } 105752 postIndex := iNdEx + intStringLen 105753 if postIndex < 0 { 105754 return ErrInvalidLengthTypes 105755 } 105756 if postIndex > l { 105757 return io.ErrUnexpectedEOF 105758 } 105759 m.DefaultSchedules = append(m.DefaultSchedules, string(dAtA[iNdEx:postIndex])) 105760 iNdEx = postIndex 105761 case 5: 105762 if wireType != 2 { 105763 return fmt.Errorf("proto: wrong wireType = %d for field ApiEndpoint", wireType) 105764 } 105765 var stringLen uint64 105766 for shift := uint(0); ; shift += 7 { 105767 if shift >= 64 { 105768 return ErrIntOverflowTypes 105769 } 105770 if iNdEx >= l { 105771 return io.ErrUnexpectedEOF 105772 } 105773 b := dAtA[iNdEx] 105774 iNdEx++ 105775 stringLen |= uint64(b&0x7F) << shift 105776 if b < 0x80 { 105777 break 105778 } 105779 } 105780 intStringLen := int(stringLen) 105781 if intStringLen < 0 { 105782 return ErrInvalidLengthTypes 105783 } 105784 postIndex := iNdEx + intStringLen 105785 if postIndex < 0 { 105786 return ErrInvalidLengthTypes 105787 } 105788 if postIndex > l { 105789 return io.ErrUnexpectedEOF 105790 } 105791 m.ApiEndpoint = string(dAtA[iNdEx:postIndex]) 105792 iNdEx = postIndex 105793 default: 105794 iNdEx = preIndex 105795 skippy, err := skipTypes(dAtA[iNdEx:]) 105796 if err != nil { 105797 return err 105798 } 105799 if (skippy < 0) || (iNdEx+skippy) < 0 { 105800 return ErrInvalidLengthTypes 105801 } 105802 if (iNdEx + skippy) > l { 105803 return io.ErrUnexpectedEOF 105804 } 105805 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 105806 iNdEx += skippy 105807 } 105808 } 105809 105810 if iNdEx > l { 105811 return io.ErrUnexpectedEOF 105812 } 105813 return nil 105814 } 105815 func (m *PluginServiceNowSettings) Unmarshal(dAtA []byte) error { 105816 l := len(dAtA) 105817 iNdEx := 0 105818 for iNdEx < l { 105819 preIndex := iNdEx 105820 var wire uint64 105821 for shift := uint(0); ; shift += 7 { 105822 if shift >= 64 { 105823 return ErrIntOverflowTypes 105824 } 105825 if iNdEx >= l { 105826 return io.ErrUnexpectedEOF 105827 } 105828 b := dAtA[iNdEx] 105829 iNdEx++ 105830 wire |= uint64(b&0x7F) << shift 105831 if b < 0x80 { 105832 break 105833 } 105834 } 105835 fieldNum := int32(wire >> 3) 105836 wireType := int(wire & 0x7) 105837 if wireType == 4 { 105838 return fmt.Errorf("proto: PluginServiceNowSettings: wiretype end group for non-group") 105839 } 105840 if fieldNum <= 0 { 105841 return fmt.Errorf("proto: PluginServiceNowSettings: illegal tag %d (wire type %d)", fieldNum, wire) 105842 } 105843 switch fieldNum { 105844 case 1: 105845 if wireType != 2 { 105846 return fmt.Errorf("proto: wrong wireType = %d for field ApiEndpoint", wireType) 105847 } 105848 var stringLen uint64 105849 for shift := uint(0); ; shift += 7 { 105850 if shift >= 64 { 105851 return ErrIntOverflowTypes 105852 } 105853 if iNdEx >= l { 105854 return io.ErrUnexpectedEOF 105855 } 105856 b := dAtA[iNdEx] 105857 iNdEx++ 105858 stringLen |= uint64(b&0x7F) << shift 105859 if b < 0x80 { 105860 break 105861 } 105862 } 105863 intStringLen := int(stringLen) 105864 if intStringLen < 0 { 105865 return ErrInvalidLengthTypes 105866 } 105867 postIndex := iNdEx + intStringLen 105868 if postIndex < 0 { 105869 return ErrInvalidLengthTypes 105870 } 105871 if postIndex > l { 105872 return io.ErrUnexpectedEOF 105873 } 105874 m.ApiEndpoint = string(dAtA[iNdEx:postIndex]) 105875 iNdEx = postIndex 105876 case 2: 105877 if wireType != 2 { 105878 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 105879 } 105880 var stringLen uint64 105881 for shift := uint(0); ; shift += 7 { 105882 if shift >= 64 { 105883 return ErrIntOverflowTypes 105884 } 105885 if iNdEx >= l { 105886 return io.ErrUnexpectedEOF 105887 } 105888 b := dAtA[iNdEx] 105889 iNdEx++ 105890 stringLen |= uint64(b&0x7F) << shift 105891 if b < 0x80 { 105892 break 105893 } 105894 } 105895 intStringLen := int(stringLen) 105896 if intStringLen < 0 { 105897 return ErrInvalidLengthTypes 105898 } 105899 postIndex := iNdEx + intStringLen 105900 if postIndex < 0 { 105901 return ErrInvalidLengthTypes 105902 } 105903 if postIndex > l { 105904 return io.ErrUnexpectedEOF 105905 } 105906 m.Username = string(dAtA[iNdEx:postIndex]) 105907 iNdEx = postIndex 105908 case 3: 105909 if wireType != 2 { 105910 return fmt.Errorf("proto: wrong wireType = %d for field Password", wireType) 105911 } 105912 var stringLen uint64 105913 for shift := uint(0); ; shift += 7 { 105914 if shift >= 64 { 105915 return ErrIntOverflowTypes 105916 } 105917 if iNdEx >= l { 105918 return io.ErrUnexpectedEOF 105919 } 105920 b := dAtA[iNdEx] 105921 iNdEx++ 105922 stringLen |= uint64(b&0x7F) << shift 105923 if b < 0x80 { 105924 break 105925 } 105926 } 105927 intStringLen := int(stringLen) 105928 if intStringLen < 0 { 105929 return ErrInvalidLengthTypes 105930 } 105931 postIndex := iNdEx + intStringLen 105932 if postIndex < 0 { 105933 return ErrInvalidLengthTypes 105934 } 105935 if postIndex > l { 105936 return io.ErrUnexpectedEOF 105937 } 105938 m.Password = string(dAtA[iNdEx:postIndex]) 105939 iNdEx = postIndex 105940 case 4: 105941 if wireType != 2 { 105942 return fmt.Errorf("proto: wrong wireType = %d for field CloseCode", wireType) 105943 } 105944 var stringLen uint64 105945 for shift := uint(0); ; shift += 7 { 105946 if shift >= 64 { 105947 return ErrIntOverflowTypes 105948 } 105949 if iNdEx >= l { 105950 return io.ErrUnexpectedEOF 105951 } 105952 b := dAtA[iNdEx] 105953 iNdEx++ 105954 stringLen |= uint64(b&0x7F) << shift 105955 if b < 0x80 { 105956 break 105957 } 105958 } 105959 intStringLen := int(stringLen) 105960 if intStringLen < 0 { 105961 return ErrInvalidLengthTypes 105962 } 105963 postIndex := iNdEx + intStringLen 105964 if postIndex < 0 { 105965 return ErrInvalidLengthTypes 105966 } 105967 if postIndex > l { 105968 return io.ErrUnexpectedEOF 105969 } 105970 m.CloseCode = string(dAtA[iNdEx:postIndex]) 105971 iNdEx = postIndex 105972 default: 105973 iNdEx = preIndex 105974 skippy, err := skipTypes(dAtA[iNdEx:]) 105975 if err != nil { 105976 return err 105977 } 105978 if (skippy < 0) || (iNdEx+skippy) < 0 { 105979 return ErrInvalidLengthTypes 105980 } 105981 if (iNdEx + skippy) > l { 105982 return io.ErrUnexpectedEOF 105983 } 105984 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 105985 iNdEx += skippy 105986 } 105987 } 105988 105989 if iNdEx > l { 105990 return io.ErrUnexpectedEOF 105991 } 105992 return nil 105993 } 105994 func (m *PluginPagerDutySettings) Unmarshal(dAtA []byte) error { 105995 l := len(dAtA) 105996 iNdEx := 0 105997 for iNdEx < l { 105998 preIndex := iNdEx 105999 var wire uint64 106000 for shift := uint(0); ; shift += 7 { 106001 if shift >= 64 { 106002 return ErrIntOverflowTypes 106003 } 106004 if iNdEx >= l { 106005 return io.ErrUnexpectedEOF 106006 } 106007 b := dAtA[iNdEx] 106008 iNdEx++ 106009 wire |= uint64(b&0x7F) << shift 106010 if b < 0x80 { 106011 break 106012 } 106013 } 106014 fieldNum := int32(wire >> 3) 106015 wireType := int(wire & 0x7) 106016 if wireType == 4 { 106017 return fmt.Errorf("proto: PluginPagerDutySettings: wiretype end group for non-group") 106018 } 106019 if fieldNum <= 0 { 106020 return fmt.Errorf("proto: PluginPagerDutySettings: illegal tag %d (wire type %d)", fieldNum, wire) 106021 } 106022 switch fieldNum { 106023 case 1: 106024 if wireType != 2 { 106025 return fmt.Errorf("proto: wrong wireType = %d for field UserEmail", wireType) 106026 } 106027 var stringLen uint64 106028 for shift := uint(0); ; shift += 7 { 106029 if shift >= 64 { 106030 return ErrIntOverflowTypes 106031 } 106032 if iNdEx >= l { 106033 return io.ErrUnexpectedEOF 106034 } 106035 b := dAtA[iNdEx] 106036 iNdEx++ 106037 stringLen |= uint64(b&0x7F) << shift 106038 if b < 0x80 { 106039 break 106040 } 106041 } 106042 intStringLen := int(stringLen) 106043 if intStringLen < 0 { 106044 return ErrInvalidLengthTypes 106045 } 106046 postIndex := iNdEx + intStringLen 106047 if postIndex < 0 { 106048 return ErrInvalidLengthTypes 106049 } 106050 if postIndex > l { 106051 return io.ErrUnexpectedEOF 106052 } 106053 m.UserEmail = string(dAtA[iNdEx:postIndex]) 106054 iNdEx = postIndex 106055 case 2: 106056 if wireType != 2 { 106057 return fmt.Errorf("proto: wrong wireType = %d for field ApiEndpoint", wireType) 106058 } 106059 var stringLen uint64 106060 for shift := uint(0); ; shift += 7 { 106061 if shift >= 64 { 106062 return ErrIntOverflowTypes 106063 } 106064 if iNdEx >= l { 106065 return io.ErrUnexpectedEOF 106066 } 106067 b := dAtA[iNdEx] 106068 iNdEx++ 106069 stringLen |= uint64(b&0x7F) << shift 106070 if b < 0x80 { 106071 break 106072 } 106073 } 106074 intStringLen := int(stringLen) 106075 if intStringLen < 0 { 106076 return ErrInvalidLengthTypes 106077 } 106078 postIndex := iNdEx + intStringLen 106079 if postIndex < 0 { 106080 return ErrInvalidLengthTypes 106081 } 106082 if postIndex > l { 106083 return io.ErrUnexpectedEOF 106084 } 106085 m.ApiEndpoint = string(dAtA[iNdEx:postIndex]) 106086 iNdEx = postIndex 106087 default: 106088 iNdEx = preIndex 106089 skippy, err := skipTypes(dAtA[iNdEx:]) 106090 if err != nil { 106091 return err 106092 } 106093 if (skippy < 0) || (iNdEx+skippy) < 0 { 106094 return ErrInvalidLengthTypes 106095 } 106096 if (iNdEx + skippy) > l { 106097 return io.ErrUnexpectedEOF 106098 } 106099 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 106100 iNdEx += skippy 106101 } 106102 } 106103 106104 if iNdEx > l { 106105 return io.ErrUnexpectedEOF 106106 } 106107 return nil 106108 } 106109 func (m *PluginJiraSettings) Unmarshal(dAtA []byte) error { 106110 l := len(dAtA) 106111 iNdEx := 0 106112 for iNdEx < l { 106113 preIndex := iNdEx 106114 var wire uint64 106115 for shift := uint(0); ; shift += 7 { 106116 if shift >= 64 { 106117 return ErrIntOverflowTypes 106118 } 106119 if iNdEx >= l { 106120 return io.ErrUnexpectedEOF 106121 } 106122 b := dAtA[iNdEx] 106123 iNdEx++ 106124 wire |= uint64(b&0x7F) << shift 106125 if b < 0x80 { 106126 break 106127 } 106128 } 106129 fieldNum := int32(wire >> 3) 106130 wireType := int(wire & 0x7) 106131 if wireType == 4 { 106132 return fmt.Errorf("proto: PluginJiraSettings: wiretype end group for non-group") 106133 } 106134 if fieldNum <= 0 { 106135 return fmt.Errorf("proto: PluginJiraSettings: illegal tag %d (wire type %d)", fieldNum, wire) 106136 } 106137 switch fieldNum { 106138 case 1: 106139 if wireType != 2 { 106140 return fmt.Errorf("proto: wrong wireType = %d for field ServerUrl", wireType) 106141 } 106142 var stringLen uint64 106143 for shift := uint(0); ; shift += 7 { 106144 if shift >= 64 { 106145 return ErrIntOverflowTypes 106146 } 106147 if iNdEx >= l { 106148 return io.ErrUnexpectedEOF 106149 } 106150 b := dAtA[iNdEx] 106151 iNdEx++ 106152 stringLen |= uint64(b&0x7F) << shift 106153 if b < 0x80 { 106154 break 106155 } 106156 } 106157 intStringLen := int(stringLen) 106158 if intStringLen < 0 { 106159 return ErrInvalidLengthTypes 106160 } 106161 postIndex := iNdEx + intStringLen 106162 if postIndex < 0 { 106163 return ErrInvalidLengthTypes 106164 } 106165 if postIndex > l { 106166 return io.ErrUnexpectedEOF 106167 } 106168 m.ServerUrl = string(dAtA[iNdEx:postIndex]) 106169 iNdEx = postIndex 106170 case 2: 106171 if wireType != 2 { 106172 return fmt.Errorf("proto: wrong wireType = %d for field ProjectKey", wireType) 106173 } 106174 var stringLen uint64 106175 for shift := uint(0); ; shift += 7 { 106176 if shift >= 64 { 106177 return ErrIntOverflowTypes 106178 } 106179 if iNdEx >= l { 106180 return io.ErrUnexpectedEOF 106181 } 106182 b := dAtA[iNdEx] 106183 iNdEx++ 106184 stringLen |= uint64(b&0x7F) << shift 106185 if b < 0x80 { 106186 break 106187 } 106188 } 106189 intStringLen := int(stringLen) 106190 if intStringLen < 0 { 106191 return ErrInvalidLengthTypes 106192 } 106193 postIndex := iNdEx + intStringLen 106194 if postIndex < 0 { 106195 return ErrInvalidLengthTypes 106196 } 106197 if postIndex > l { 106198 return io.ErrUnexpectedEOF 106199 } 106200 m.ProjectKey = string(dAtA[iNdEx:postIndex]) 106201 iNdEx = postIndex 106202 case 3: 106203 if wireType != 2 { 106204 return fmt.Errorf("proto: wrong wireType = %d for field IssueType", wireType) 106205 } 106206 var stringLen uint64 106207 for shift := uint(0); ; shift += 7 { 106208 if shift >= 64 { 106209 return ErrIntOverflowTypes 106210 } 106211 if iNdEx >= l { 106212 return io.ErrUnexpectedEOF 106213 } 106214 b := dAtA[iNdEx] 106215 iNdEx++ 106216 stringLen |= uint64(b&0x7F) << shift 106217 if b < 0x80 { 106218 break 106219 } 106220 } 106221 intStringLen := int(stringLen) 106222 if intStringLen < 0 { 106223 return ErrInvalidLengthTypes 106224 } 106225 postIndex := iNdEx + intStringLen 106226 if postIndex < 0 { 106227 return ErrInvalidLengthTypes 106228 } 106229 if postIndex > l { 106230 return io.ErrUnexpectedEOF 106231 } 106232 m.IssueType = string(dAtA[iNdEx:postIndex]) 106233 iNdEx = postIndex 106234 default: 106235 iNdEx = preIndex 106236 skippy, err := skipTypes(dAtA[iNdEx:]) 106237 if err != nil { 106238 return err 106239 } 106240 if (skippy < 0) || (iNdEx+skippy) < 0 { 106241 return ErrInvalidLengthTypes 106242 } 106243 if (iNdEx + skippy) > l { 106244 return io.ErrUnexpectedEOF 106245 } 106246 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 106247 iNdEx += skippy 106248 } 106249 } 106250 106251 if iNdEx > l { 106252 return io.ErrUnexpectedEOF 106253 } 106254 return nil 106255 } 106256 func (m *PluginOpenAISettings) Unmarshal(dAtA []byte) error { 106257 l := len(dAtA) 106258 iNdEx := 0 106259 for iNdEx < l { 106260 preIndex := iNdEx 106261 var wire uint64 106262 for shift := uint(0); ; shift += 7 { 106263 if shift >= 64 { 106264 return ErrIntOverflowTypes 106265 } 106266 if iNdEx >= l { 106267 return io.ErrUnexpectedEOF 106268 } 106269 b := dAtA[iNdEx] 106270 iNdEx++ 106271 wire |= uint64(b&0x7F) << shift 106272 if b < 0x80 { 106273 break 106274 } 106275 } 106276 fieldNum := int32(wire >> 3) 106277 wireType := int(wire & 0x7) 106278 if wireType == 4 { 106279 return fmt.Errorf("proto: PluginOpenAISettings: wiretype end group for non-group") 106280 } 106281 if fieldNum <= 0 { 106282 return fmt.Errorf("proto: PluginOpenAISettings: illegal tag %d (wire type %d)", fieldNum, wire) 106283 } 106284 switch fieldNum { 106285 default: 106286 iNdEx = preIndex 106287 skippy, err := skipTypes(dAtA[iNdEx:]) 106288 if err != nil { 106289 return err 106290 } 106291 if (skippy < 0) || (iNdEx+skippy) < 0 { 106292 return ErrInvalidLengthTypes 106293 } 106294 if (iNdEx + skippy) > l { 106295 return io.ErrUnexpectedEOF 106296 } 106297 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 106298 iNdEx += skippy 106299 } 106300 } 106301 106302 if iNdEx > l { 106303 return io.ErrUnexpectedEOF 106304 } 106305 return nil 106306 } 106307 func (m *PluginMattermostSettings) Unmarshal(dAtA []byte) error { 106308 l := len(dAtA) 106309 iNdEx := 0 106310 for iNdEx < l { 106311 preIndex := iNdEx 106312 var wire uint64 106313 for shift := uint(0); ; shift += 7 { 106314 if shift >= 64 { 106315 return ErrIntOverflowTypes 106316 } 106317 if iNdEx >= l { 106318 return io.ErrUnexpectedEOF 106319 } 106320 b := dAtA[iNdEx] 106321 iNdEx++ 106322 wire |= uint64(b&0x7F) << shift 106323 if b < 0x80 { 106324 break 106325 } 106326 } 106327 fieldNum := int32(wire >> 3) 106328 wireType := int(wire & 0x7) 106329 if wireType == 4 { 106330 return fmt.Errorf("proto: PluginMattermostSettings: wiretype end group for non-group") 106331 } 106332 if fieldNum <= 0 { 106333 return fmt.Errorf("proto: PluginMattermostSettings: illegal tag %d (wire type %d)", fieldNum, wire) 106334 } 106335 switch fieldNum { 106336 case 1: 106337 if wireType != 2 { 106338 return fmt.Errorf("proto: wrong wireType = %d for field ServerUrl", wireType) 106339 } 106340 var stringLen uint64 106341 for shift := uint(0); ; shift += 7 { 106342 if shift >= 64 { 106343 return ErrIntOverflowTypes 106344 } 106345 if iNdEx >= l { 106346 return io.ErrUnexpectedEOF 106347 } 106348 b := dAtA[iNdEx] 106349 iNdEx++ 106350 stringLen |= uint64(b&0x7F) << shift 106351 if b < 0x80 { 106352 break 106353 } 106354 } 106355 intStringLen := int(stringLen) 106356 if intStringLen < 0 { 106357 return ErrInvalidLengthTypes 106358 } 106359 postIndex := iNdEx + intStringLen 106360 if postIndex < 0 { 106361 return ErrInvalidLengthTypes 106362 } 106363 if postIndex > l { 106364 return io.ErrUnexpectedEOF 106365 } 106366 m.ServerUrl = string(dAtA[iNdEx:postIndex]) 106367 iNdEx = postIndex 106368 case 2: 106369 if wireType != 2 { 106370 return fmt.Errorf("proto: wrong wireType = %d for field Team", wireType) 106371 } 106372 var stringLen uint64 106373 for shift := uint(0); ; shift += 7 { 106374 if shift >= 64 { 106375 return ErrIntOverflowTypes 106376 } 106377 if iNdEx >= l { 106378 return io.ErrUnexpectedEOF 106379 } 106380 b := dAtA[iNdEx] 106381 iNdEx++ 106382 stringLen |= uint64(b&0x7F) << shift 106383 if b < 0x80 { 106384 break 106385 } 106386 } 106387 intStringLen := int(stringLen) 106388 if intStringLen < 0 { 106389 return ErrInvalidLengthTypes 106390 } 106391 postIndex := iNdEx + intStringLen 106392 if postIndex < 0 { 106393 return ErrInvalidLengthTypes 106394 } 106395 if postIndex > l { 106396 return io.ErrUnexpectedEOF 106397 } 106398 m.Team = string(dAtA[iNdEx:postIndex]) 106399 iNdEx = postIndex 106400 case 3: 106401 if wireType != 2 { 106402 return fmt.Errorf("proto: wrong wireType = %d for field Channel", wireType) 106403 } 106404 var stringLen uint64 106405 for shift := uint(0); ; shift += 7 { 106406 if shift >= 64 { 106407 return ErrIntOverflowTypes 106408 } 106409 if iNdEx >= l { 106410 return io.ErrUnexpectedEOF 106411 } 106412 b := dAtA[iNdEx] 106413 iNdEx++ 106414 stringLen |= uint64(b&0x7F) << shift 106415 if b < 0x80 { 106416 break 106417 } 106418 } 106419 intStringLen := int(stringLen) 106420 if intStringLen < 0 { 106421 return ErrInvalidLengthTypes 106422 } 106423 postIndex := iNdEx + intStringLen 106424 if postIndex < 0 { 106425 return ErrInvalidLengthTypes 106426 } 106427 if postIndex > l { 106428 return io.ErrUnexpectedEOF 106429 } 106430 m.Channel = string(dAtA[iNdEx:postIndex]) 106431 iNdEx = postIndex 106432 case 4: 106433 if wireType != 2 { 106434 return fmt.Errorf("proto: wrong wireType = %d for field ReportToEmail", wireType) 106435 } 106436 var stringLen uint64 106437 for shift := uint(0); ; shift += 7 { 106438 if shift >= 64 { 106439 return ErrIntOverflowTypes 106440 } 106441 if iNdEx >= l { 106442 return io.ErrUnexpectedEOF 106443 } 106444 b := dAtA[iNdEx] 106445 iNdEx++ 106446 stringLen |= uint64(b&0x7F) << shift 106447 if b < 0x80 { 106448 break 106449 } 106450 } 106451 intStringLen := int(stringLen) 106452 if intStringLen < 0 { 106453 return ErrInvalidLengthTypes 106454 } 106455 postIndex := iNdEx + intStringLen 106456 if postIndex < 0 { 106457 return ErrInvalidLengthTypes 106458 } 106459 if postIndex > l { 106460 return io.ErrUnexpectedEOF 106461 } 106462 m.ReportToEmail = string(dAtA[iNdEx:postIndex]) 106463 iNdEx = postIndex 106464 default: 106465 iNdEx = preIndex 106466 skippy, err := skipTypes(dAtA[iNdEx:]) 106467 if err != nil { 106468 return err 106469 } 106470 if (skippy < 0) || (iNdEx+skippy) < 0 { 106471 return ErrInvalidLengthTypes 106472 } 106473 if (iNdEx + skippy) > l { 106474 return io.ErrUnexpectedEOF 106475 } 106476 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 106477 iNdEx += skippy 106478 } 106479 } 106480 106481 if iNdEx > l { 106482 return io.ErrUnexpectedEOF 106483 } 106484 return nil 106485 } 106486 func (m *PluginJamfSettings) Unmarshal(dAtA []byte) error { 106487 l := len(dAtA) 106488 iNdEx := 0 106489 for iNdEx < l { 106490 preIndex := iNdEx 106491 var wire uint64 106492 for shift := uint(0); ; shift += 7 { 106493 if shift >= 64 { 106494 return ErrIntOverflowTypes 106495 } 106496 if iNdEx >= l { 106497 return io.ErrUnexpectedEOF 106498 } 106499 b := dAtA[iNdEx] 106500 iNdEx++ 106501 wire |= uint64(b&0x7F) << shift 106502 if b < 0x80 { 106503 break 106504 } 106505 } 106506 fieldNum := int32(wire >> 3) 106507 wireType := int(wire & 0x7) 106508 if wireType == 4 { 106509 return fmt.Errorf("proto: PluginJamfSettings: wiretype end group for non-group") 106510 } 106511 if fieldNum <= 0 { 106512 return fmt.Errorf("proto: PluginJamfSettings: illegal tag %d (wire type %d)", fieldNum, wire) 106513 } 106514 switch fieldNum { 106515 case 1: 106516 if wireType != 2 { 106517 return fmt.Errorf("proto: wrong wireType = %d for field JamfSpec", wireType) 106518 } 106519 var msglen int 106520 for shift := uint(0); ; shift += 7 { 106521 if shift >= 64 { 106522 return ErrIntOverflowTypes 106523 } 106524 if iNdEx >= l { 106525 return io.ErrUnexpectedEOF 106526 } 106527 b := dAtA[iNdEx] 106528 iNdEx++ 106529 msglen |= int(b&0x7F) << shift 106530 if b < 0x80 { 106531 break 106532 } 106533 } 106534 if msglen < 0 { 106535 return ErrInvalidLengthTypes 106536 } 106537 postIndex := iNdEx + msglen 106538 if postIndex < 0 { 106539 return ErrInvalidLengthTypes 106540 } 106541 if postIndex > l { 106542 return io.ErrUnexpectedEOF 106543 } 106544 if m.JamfSpec == nil { 106545 m.JamfSpec = &JamfSpecV1{} 106546 } 106547 if err := m.JamfSpec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 106548 return err 106549 } 106550 iNdEx = postIndex 106551 default: 106552 iNdEx = preIndex 106553 skippy, err := skipTypes(dAtA[iNdEx:]) 106554 if err != nil { 106555 return err 106556 } 106557 if (skippy < 0) || (iNdEx+skippy) < 0 { 106558 return ErrInvalidLengthTypes 106559 } 106560 if (iNdEx + skippy) > l { 106561 return io.ErrUnexpectedEOF 106562 } 106563 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 106564 iNdEx += skippy 106565 } 106566 } 106567 106568 if iNdEx > l { 106569 return io.ErrUnexpectedEOF 106570 } 106571 return nil 106572 } 106573 func (m *PluginOktaSettings) Unmarshal(dAtA []byte) error { 106574 l := len(dAtA) 106575 iNdEx := 0 106576 for iNdEx < l { 106577 preIndex := iNdEx 106578 var wire uint64 106579 for shift := uint(0); ; shift += 7 { 106580 if shift >= 64 { 106581 return ErrIntOverflowTypes 106582 } 106583 if iNdEx >= l { 106584 return io.ErrUnexpectedEOF 106585 } 106586 b := dAtA[iNdEx] 106587 iNdEx++ 106588 wire |= uint64(b&0x7F) << shift 106589 if b < 0x80 { 106590 break 106591 } 106592 } 106593 fieldNum := int32(wire >> 3) 106594 wireType := int(wire & 0x7) 106595 if wireType == 4 { 106596 return fmt.Errorf("proto: PluginOktaSettings: wiretype end group for non-group") 106597 } 106598 if fieldNum <= 0 { 106599 return fmt.Errorf("proto: PluginOktaSettings: illegal tag %d (wire type %d)", fieldNum, wire) 106600 } 106601 switch fieldNum { 106602 case 1: 106603 if wireType != 2 { 106604 return fmt.Errorf("proto: wrong wireType = %d for field OrgUrl", wireType) 106605 } 106606 var stringLen uint64 106607 for shift := uint(0); ; shift += 7 { 106608 if shift >= 64 { 106609 return ErrIntOverflowTypes 106610 } 106611 if iNdEx >= l { 106612 return io.ErrUnexpectedEOF 106613 } 106614 b := dAtA[iNdEx] 106615 iNdEx++ 106616 stringLen |= uint64(b&0x7F) << shift 106617 if b < 0x80 { 106618 break 106619 } 106620 } 106621 intStringLen := int(stringLen) 106622 if intStringLen < 0 { 106623 return ErrInvalidLengthTypes 106624 } 106625 postIndex := iNdEx + intStringLen 106626 if postIndex < 0 { 106627 return ErrInvalidLengthTypes 106628 } 106629 if postIndex > l { 106630 return io.ErrUnexpectedEOF 106631 } 106632 m.OrgUrl = string(dAtA[iNdEx:postIndex]) 106633 iNdEx = postIndex 106634 case 2: 106635 if wireType != 0 { 106636 return fmt.Errorf("proto: wrong wireType = %d for field EnableUserSync", wireType) 106637 } 106638 var v int 106639 for shift := uint(0); ; shift += 7 { 106640 if shift >= 64 { 106641 return ErrIntOverflowTypes 106642 } 106643 if iNdEx >= l { 106644 return io.ErrUnexpectedEOF 106645 } 106646 b := dAtA[iNdEx] 106647 iNdEx++ 106648 v |= int(b&0x7F) << shift 106649 if b < 0x80 { 106650 break 106651 } 106652 } 106653 m.EnableUserSync = bool(v != 0) 106654 case 3: 106655 if wireType != 2 { 106656 return fmt.Errorf("proto: wrong wireType = %d for field SsoConnectorId", wireType) 106657 } 106658 var stringLen uint64 106659 for shift := uint(0); ; shift += 7 { 106660 if shift >= 64 { 106661 return ErrIntOverflowTypes 106662 } 106663 if iNdEx >= l { 106664 return io.ErrUnexpectedEOF 106665 } 106666 b := dAtA[iNdEx] 106667 iNdEx++ 106668 stringLen |= uint64(b&0x7F) << shift 106669 if b < 0x80 { 106670 break 106671 } 106672 } 106673 intStringLen := int(stringLen) 106674 if intStringLen < 0 { 106675 return ErrInvalidLengthTypes 106676 } 106677 postIndex := iNdEx + intStringLen 106678 if postIndex < 0 { 106679 return ErrInvalidLengthTypes 106680 } 106681 if postIndex > l { 106682 return io.ErrUnexpectedEOF 106683 } 106684 m.SsoConnectorId = string(dAtA[iNdEx:postIndex]) 106685 iNdEx = postIndex 106686 case 4: 106687 if wireType != 2 { 106688 return fmt.Errorf("proto: wrong wireType = %d for field SyncSettings", wireType) 106689 } 106690 var msglen int 106691 for shift := uint(0); ; shift += 7 { 106692 if shift >= 64 { 106693 return ErrIntOverflowTypes 106694 } 106695 if iNdEx >= l { 106696 return io.ErrUnexpectedEOF 106697 } 106698 b := dAtA[iNdEx] 106699 iNdEx++ 106700 msglen |= int(b&0x7F) << shift 106701 if b < 0x80 { 106702 break 106703 } 106704 } 106705 if msglen < 0 { 106706 return ErrInvalidLengthTypes 106707 } 106708 postIndex := iNdEx + msglen 106709 if postIndex < 0 { 106710 return ErrInvalidLengthTypes 106711 } 106712 if postIndex > l { 106713 return io.ErrUnexpectedEOF 106714 } 106715 if m.SyncSettings == nil { 106716 m.SyncSettings = &PluginOktaSyncSettings{} 106717 } 106718 if err := m.SyncSettings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 106719 return err 106720 } 106721 iNdEx = postIndex 106722 default: 106723 iNdEx = preIndex 106724 skippy, err := skipTypes(dAtA[iNdEx:]) 106725 if err != nil { 106726 return err 106727 } 106728 if (skippy < 0) || (iNdEx+skippy) < 0 { 106729 return ErrInvalidLengthTypes 106730 } 106731 if (iNdEx + skippy) > l { 106732 return io.ErrUnexpectedEOF 106733 } 106734 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 106735 iNdEx += skippy 106736 } 106737 } 106738 106739 if iNdEx > l { 106740 return io.ErrUnexpectedEOF 106741 } 106742 return nil 106743 } 106744 func (m *PluginOktaSyncSettings) Unmarshal(dAtA []byte) error { 106745 l := len(dAtA) 106746 iNdEx := 0 106747 for iNdEx < l { 106748 preIndex := iNdEx 106749 var wire uint64 106750 for shift := uint(0); ; shift += 7 { 106751 if shift >= 64 { 106752 return ErrIntOverflowTypes 106753 } 106754 if iNdEx >= l { 106755 return io.ErrUnexpectedEOF 106756 } 106757 b := dAtA[iNdEx] 106758 iNdEx++ 106759 wire |= uint64(b&0x7F) << shift 106760 if b < 0x80 { 106761 break 106762 } 106763 } 106764 fieldNum := int32(wire >> 3) 106765 wireType := int(wire & 0x7) 106766 if wireType == 4 { 106767 return fmt.Errorf("proto: PluginOktaSyncSettings: wiretype end group for non-group") 106768 } 106769 if fieldNum <= 0 { 106770 return fmt.Errorf("proto: PluginOktaSyncSettings: illegal tag %d (wire type %d)", fieldNum, wire) 106771 } 106772 switch fieldNum { 106773 case 1: 106774 if wireType != 0 { 106775 return fmt.Errorf("proto: wrong wireType = %d for field SyncUsers", wireType) 106776 } 106777 var v int 106778 for shift := uint(0); ; shift += 7 { 106779 if shift >= 64 { 106780 return ErrIntOverflowTypes 106781 } 106782 if iNdEx >= l { 106783 return io.ErrUnexpectedEOF 106784 } 106785 b := dAtA[iNdEx] 106786 iNdEx++ 106787 v |= int(b&0x7F) << shift 106788 if b < 0x80 { 106789 break 106790 } 106791 } 106792 m.SyncUsers = bool(v != 0) 106793 case 2: 106794 if wireType != 2 { 106795 return fmt.Errorf("proto: wrong wireType = %d for field SsoConnectorId", wireType) 106796 } 106797 var stringLen uint64 106798 for shift := uint(0); ; shift += 7 { 106799 if shift >= 64 { 106800 return ErrIntOverflowTypes 106801 } 106802 if iNdEx >= l { 106803 return io.ErrUnexpectedEOF 106804 } 106805 b := dAtA[iNdEx] 106806 iNdEx++ 106807 stringLen |= uint64(b&0x7F) << shift 106808 if b < 0x80 { 106809 break 106810 } 106811 } 106812 intStringLen := int(stringLen) 106813 if intStringLen < 0 { 106814 return ErrInvalidLengthTypes 106815 } 106816 postIndex := iNdEx + intStringLen 106817 if postIndex < 0 { 106818 return ErrInvalidLengthTypes 106819 } 106820 if postIndex > l { 106821 return io.ErrUnexpectedEOF 106822 } 106823 m.SsoConnectorId = string(dAtA[iNdEx:postIndex]) 106824 iNdEx = postIndex 106825 case 3: 106826 if wireType != 0 { 106827 return fmt.Errorf("proto: wrong wireType = %d for field SyncAccessLists", wireType) 106828 } 106829 var v int 106830 for shift := uint(0); ; shift += 7 { 106831 if shift >= 64 { 106832 return ErrIntOverflowTypes 106833 } 106834 if iNdEx >= l { 106835 return io.ErrUnexpectedEOF 106836 } 106837 b := dAtA[iNdEx] 106838 iNdEx++ 106839 v |= int(b&0x7F) << shift 106840 if b < 0x80 { 106841 break 106842 } 106843 } 106844 m.SyncAccessLists = bool(v != 0) 106845 case 4: 106846 if wireType != 2 { 106847 return fmt.Errorf("proto: wrong wireType = %d for field DefaultOwners", wireType) 106848 } 106849 var stringLen uint64 106850 for shift := uint(0); ; shift += 7 { 106851 if shift >= 64 { 106852 return ErrIntOverflowTypes 106853 } 106854 if iNdEx >= l { 106855 return io.ErrUnexpectedEOF 106856 } 106857 b := dAtA[iNdEx] 106858 iNdEx++ 106859 stringLen |= uint64(b&0x7F) << shift 106860 if b < 0x80 { 106861 break 106862 } 106863 } 106864 intStringLen := int(stringLen) 106865 if intStringLen < 0 { 106866 return ErrInvalidLengthTypes 106867 } 106868 postIndex := iNdEx + intStringLen 106869 if postIndex < 0 { 106870 return ErrInvalidLengthTypes 106871 } 106872 if postIndex > l { 106873 return io.ErrUnexpectedEOF 106874 } 106875 m.DefaultOwners = append(m.DefaultOwners, string(dAtA[iNdEx:postIndex])) 106876 iNdEx = postIndex 106877 case 5: 106878 if wireType != 2 { 106879 return fmt.Errorf("proto: wrong wireType = %d for field AppId", wireType) 106880 } 106881 var stringLen uint64 106882 for shift := uint(0); ; shift += 7 { 106883 if shift >= 64 { 106884 return ErrIntOverflowTypes 106885 } 106886 if iNdEx >= l { 106887 return io.ErrUnexpectedEOF 106888 } 106889 b := dAtA[iNdEx] 106890 iNdEx++ 106891 stringLen |= uint64(b&0x7F) << shift 106892 if b < 0x80 { 106893 break 106894 } 106895 } 106896 intStringLen := int(stringLen) 106897 if intStringLen < 0 { 106898 return ErrInvalidLengthTypes 106899 } 106900 postIndex := iNdEx + intStringLen 106901 if postIndex < 0 { 106902 return ErrInvalidLengthTypes 106903 } 106904 if postIndex > l { 106905 return io.ErrUnexpectedEOF 106906 } 106907 m.AppId = string(dAtA[iNdEx:postIndex]) 106908 iNdEx = postIndex 106909 case 6: 106910 if wireType != 2 { 106911 return fmt.Errorf("proto: wrong wireType = %d for field GroupFilters", wireType) 106912 } 106913 var stringLen uint64 106914 for shift := uint(0); ; shift += 7 { 106915 if shift >= 64 { 106916 return ErrIntOverflowTypes 106917 } 106918 if iNdEx >= l { 106919 return io.ErrUnexpectedEOF 106920 } 106921 b := dAtA[iNdEx] 106922 iNdEx++ 106923 stringLen |= uint64(b&0x7F) << shift 106924 if b < 0x80 { 106925 break 106926 } 106927 } 106928 intStringLen := int(stringLen) 106929 if intStringLen < 0 { 106930 return ErrInvalidLengthTypes 106931 } 106932 postIndex := iNdEx + intStringLen 106933 if postIndex < 0 { 106934 return ErrInvalidLengthTypes 106935 } 106936 if postIndex > l { 106937 return io.ErrUnexpectedEOF 106938 } 106939 m.GroupFilters = append(m.GroupFilters, string(dAtA[iNdEx:postIndex])) 106940 iNdEx = postIndex 106941 case 7: 106942 if wireType != 2 { 106943 return fmt.Errorf("proto: wrong wireType = %d for field AppFilters", wireType) 106944 } 106945 var stringLen uint64 106946 for shift := uint(0); ; shift += 7 { 106947 if shift >= 64 { 106948 return ErrIntOverflowTypes 106949 } 106950 if iNdEx >= l { 106951 return io.ErrUnexpectedEOF 106952 } 106953 b := dAtA[iNdEx] 106954 iNdEx++ 106955 stringLen |= uint64(b&0x7F) << shift 106956 if b < 0x80 { 106957 break 106958 } 106959 } 106960 intStringLen := int(stringLen) 106961 if intStringLen < 0 { 106962 return ErrInvalidLengthTypes 106963 } 106964 postIndex := iNdEx + intStringLen 106965 if postIndex < 0 { 106966 return ErrInvalidLengthTypes 106967 } 106968 if postIndex > l { 106969 return io.ErrUnexpectedEOF 106970 } 106971 m.AppFilters = append(m.AppFilters, string(dAtA[iNdEx:postIndex])) 106972 iNdEx = postIndex 106973 default: 106974 iNdEx = preIndex 106975 skippy, err := skipTypes(dAtA[iNdEx:]) 106976 if err != nil { 106977 return err 106978 } 106979 if (skippy < 0) || (iNdEx+skippy) < 0 { 106980 return ErrInvalidLengthTypes 106981 } 106982 if (iNdEx + skippy) > l { 106983 return io.ErrUnexpectedEOF 106984 } 106985 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 106986 iNdEx += skippy 106987 } 106988 } 106989 106990 if iNdEx > l { 106991 return io.ErrUnexpectedEOF 106992 } 106993 return nil 106994 } 106995 func (m *DiscordChannels) Unmarshal(dAtA []byte) error { 106996 l := len(dAtA) 106997 iNdEx := 0 106998 for iNdEx < l { 106999 preIndex := iNdEx 107000 var wire uint64 107001 for shift := uint(0); ; shift += 7 { 107002 if shift >= 64 { 107003 return ErrIntOverflowTypes 107004 } 107005 if iNdEx >= l { 107006 return io.ErrUnexpectedEOF 107007 } 107008 b := dAtA[iNdEx] 107009 iNdEx++ 107010 wire |= uint64(b&0x7F) << shift 107011 if b < 0x80 { 107012 break 107013 } 107014 } 107015 fieldNum := int32(wire >> 3) 107016 wireType := int(wire & 0x7) 107017 if wireType == 4 { 107018 return fmt.Errorf("proto: DiscordChannels: wiretype end group for non-group") 107019 } 107020 if fieldNum <= 0 { 107021 return fmt.Errorf("proto: DiscordChannels: illegal tag %d (wire type %d)", fieldNum, wire) 107022 } 107023 switch fieldNum { 107024 case 1: 107025 if wireType != 2 { 107026 return fmt.Errorf("proto: wrong wireType = %d for field ChannelIds", wireType) 107027 } 107028 var stringLen uint64 107029 for shift := uint(0); ; shift += 7 { 107030 if shift >= 64 { 107031 return ErrIntOverflowTypes 107032 } 107033 if iNdEx >= l { 107034 return io.ErrUnexpectedEOF 107035 } 107036 b := dAtA[iNdEx] 107037 iNdEx++ 107038 stringLen |= uint64(b&0x7F) << shift 107039 if b < 0x80 { 107040 break 107041 } 107042 } 107043 intStringLen := int(stringLen) 107044 if intStringLen < 0 { 107045 return ErrInvalidLengthTypes 107046 } 107047 postIndex := iNdEx + intStringLen 107048 if postIndex < 0 { 107049 return ErrInvalidLengthTypes 107050 } 107051 if postIndex > l { 107052 return io.ErrUnexpectedEOF 107053 } 107054 m.ChannelIds = append(m.ChannelIds, string(dAtA[iNdEx:postIndex])) 107055 iNdEx = postIndex 107056 default: 107057 iNdEx = preIndex 107058 skippy, err := skipTypes(dAtA[iNdEx:]) 107059 if err != nil { 107060 return err 107061 } 107062 if (skippy < 0) || (iNdEx+skippy) < 0 { 107063 return ErrInvalidLengthTypes 107064 } 107065 if (iNdEx + skippy) > l { 107066 return io.ErrUnexpectedEOF 107067 } 107068 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 107069 iNdEx += skippy 107070 } 107071 } 107072 107073 if iNdEx > l { 107074 return io.ErrUnexpectedEOF 107075 } 107076 return nil 107077 } 107078 func (m *PluginDiscordSettings) Unmarshal(dAtA []byte) error { 107079 l := len(dAtA) 107080 iNdEx := 0 107081 for iNdEx < l { 107082 preIndex := iNdEx 107083 var wire uint64 107084 for shift := uint(0); ; shift += 7 { 107085 if shift >= 64 { 107086 return ErrIntOverflowTypes 107087 } 107088 if iNdEx >= l { 107089 return io.ErrUnexpectedEOF 107090 } 107091 b := dAtA[iNdEx] 107092 iNdEx++ 107093 wire |= uint64(b&0x7F) << shift 107094 if b < 0x80 { 107095 break 107096 } 107097 } 107098 fieldNum := int32(wire >> 3) 107099 wireType := int(wire & 0x7) 107100 if wireType == 4 { 107101 return fmt.Errorf("proto: PluginDiscordSettings: wiretype end group for non-group") 107102 } 107103 if fieldNum <= 0 { 107104 return fmt.Errorf("proto: PluginDiscordSettings: illegal tag %d (wire type %d)", fieldNum, wire) 107105 } 107106 switch fieldNum { 107107 case 1: 107108 if wireType != 2 { 107109 return fmt.Errorf("proto: wrong wireType = %d for field RoleToRecipients", wireType) 107110 } 107111 var msglen int 107112 for shift := uint(0); ; shift += 7 { 107113 if shift >= 64 { 107114 return ErrIntOverflowTypes 107115 } 107116 if iNdEx >= l { 107117 return io.ErrUnexpectedEOF 107118 } 107119 b := dAtA[iNdEx] 107120 iNdEx++ 107121 msglen |= int(b&0x7F) << shift 107122 if b < 0x80 { 107123 break 107124 } 107125 } 107126 if msglen < 0 { 107127 return ErrInvalidLengthTypes 107128 } 107129 postIndex := iNdEx + msglen 107130 if postIndex < 0 { 107131 return ErrInvalidLengthTypes 107132 } 107133 if postIndex > l { 107134 return io.ErrUnexpectedEOF 107135 } 107136 if m.RoleToRecipients == nil { 107137 m.RoleToRecipients = make(map[string]*DiscordChannels) 107138 } 107139 var mapkey string 107140 var mapvalue *DiscordChannels 107141 for iNdEx < postIndex { 107142 entryPreIndex := iNdEx 107143 var wire uint64 107144 for shift := uint(0); ; shift += 7 { 107145 if shift >= 64 { 107146 return ErrIntOverflowTypes 107147 } 107148 if iNdEx >= l { 107149 return io.ErrUnexpectedEOF 107150 } 107151 b := dAtA[iNdEx] 107152 iNdEx++ 107153 wire |= uint64(b&0x7F) << shift 107154 if b < 0x80 { 107155 break 107156 } 107157 } 107158 fieldNum := int32(wire >> 3) 107159 if fieldNum == 1 { 107160 var stringLenmapkey uint64 107161 for shift := uint(0); ; shift += 7 { 107162 if shift >= 64 { 107163 return ErrIntOverflowTypes 107164 } 107165 if iNdEx >= l { 107166 return io.ErrUnexpectedEOF 107167 } 107168 b := dAtA[iNdEx] 107169 iNdEx++ 107170 stringLenmapkey |= uint64(b&0x7F) << shift 107171 if b < 0x80 { 107172 break 107173 } 107174 } 107175 intStringLenmapkey := int(stringLenmapkey) 107176 if intStringLenmapkey < 0 { 107177 return ErrInvalidLengthTypes 107178 } 107179 postStringIndexmapkey := iNdEx + intStringLenmapkey 107180 if postStringIndexmapkey < 0 { 107181 return ErrInvalidLengthTypes 107182 } 107183 if postStringIndexmapkey > l { 107184 return io.ErrUnexpectedEOF 107185 } 107186 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 107187 iNdEx = postStringIndexmapkey 107188 } else if fieldNum == 2 { 107189 var mapmsglen int 107190 for shift := uint(0); ; shift += 7 { 107191 if shift >= 64 { 107192 return ErrIntOverflowTypes 107193 } 107194 if iNdEx >= l { 107195 return io.ErrUnexpectedEOF 107196 } 107197 b := dAtA[iNdEx] 107198 iNdEx++ 107199 mapmsglen |= int(b&0x7F) << shift 107200 if b < 0x80 { 107201 break 107202 } 107203 } 107204 if mapmsglen < 0 { 107205 return ErrInvalidLengthTypes 107206 } 107207 postmsgIndex := iNdEx + mapmsglen 107208 if postmsgIndex < 0 { 107209 return ErrInvalidLengthTypes 107210 } 107211 if postmsgIndex > l { 107212 return io.ErrUnexpectedEOF 107213 } 107214 mapvalue = &DiscordChannels{} 107215 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 107216 return err 107217 } 107218 iNdEx = postmsgIndex 107219 } else { 107220 iNdEx = entryPreIndex 107221 skippy, err := skipTypes(dAtA[iNdEx:]) 107222 if err != nil { 107223 return err 107224 } 107225 if (skippy < 0) || (iNdEx+skippy) < 0 { 107226 return ErrInvalidLengthTypes 107227 } 107228 if (iNdEx + skippy) > postIndex { 107229 return io.ErrUnexpectedEOF 107230 } 107231 iNdEx += skippy 107232 } 107233 } 107234 m.RoleToRecipients[mapkey] = mapvalue 107235 iNdEx = postIndex 107236 default: 107237 iNdEx = preIndex 107238 skippy, err := skipTypes(dAtA[iNdEx:]) 107239 if err != nil { 107240 return err 107241 } 107242 if (skippy < 0) || (iNdEx+skippy) < 0 { 107243 return ErrInvalidLengthTypes 107244 } 107245 if (iNdEx + skippy) > l { 107246 return io.ErrUnexpectedEOF 107247 } 107248 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 107249 iNdEx += skippy 107250 } 107251 } 107252 107253 if iNdEx > l { 107254 return io.ErrUnexpectedEOF 107255 } 107256 return nil 107257 } 107258 func (m *PluginEntraIDSettings) Unmarshal(dAtA []byte) error { 107259 l := len(dAtA) 107260 iNdEx := 0 107261 for iNdEx < l { 107262 preIndex := iNdEx 107263 var wire uint64 107264 for shift := uint(0); ; shift += 7 { 107265 if shift >= 64 { 107266 return ErrIntOverflowTypes 107267 } 107268 if iNdEx >= l { 107269 return io.ErrUnexpectedEOF 107270 } 107271 b := dAtA[iNdEx] 107272 iNdEx++ 107273 wire |= uint64(b&0x7F) << shift 107274 if b < 0x80 { 107275 break 107276 } 107277 } 107278 fieldNum := int32(wire >> 3) 107279 wireType := int(wire & 0x7) 107280 if wireType == 4 { 107281 return fmt.Errorf("proto: PluginEntraIDSettings: wiretype end group for non-group") 107282 } 107283 if fieldNum <= 0 { 107284 return fmt.Errorf("proto: PluginEntraIDSettings: illegal tag %d (wire type %d)", fieldNum, wire) 107285 } 107286 switch fieldNum { 107287 case 1: 107288 if wireType != 2 { 107289 return fmt.Errorf("proto: wrong wireType = %d for field SyncSettings", wireType) 107290 } 107291 var msglen int 107292 for shift := uint(0); ; shift += 7 { 107293 if shift >= 64 { 107294 return ErrIntOverflowTypes 107295 } 107296 if iNdEx >= l { 107297 return io.ErrUnexpectedEOF 107298 } 107299 b := dAtA[iNdEx] 107300 iNdEx++ 107301 msglen |= int(b&0x7F) << shift 107302 if b < 0x80 { 107303 break 107304 } 107305 } 107306 if msglen < 0 { 107307 return ErrInvalidLengthTypes 107308 } 107309 postIndex := iNdEx + msglen 107310 if postIndex < 0 { 107311 return ErrInvalidLengthTypes 107312 } 107313 if postIndex > l { 107314 return io.ErrUnexpectedEOF 107315 } 107316 if m.SyncSettings == nil { 107317 m.SyncSettings = &PluginEntraIDSyncSettings{} 107318 } 107319 if err := m.SyncSettings.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 107320 return err 107321 } 107322 iNdEx = postIndex 107323 default: 107324 iNdEx = preIndex 107325 skippy, err := skipTypes(dAtA[iNdEx:]) 107326 if err != nil { 107327 return err 107328 } 107329 if (skippy < 0) || (iNdEx+skippy) < 0 { 107330 return ErrInvalidLengthTypes 107331 } 107332 if (iNdEx + skippy) > l { 107333 return io.ErrUnexpectedEOF 107334 } 107335 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 107336 iNdEx += skippy 107337 } 107338 } 107339 107340 if iNdEx > l { 107341 return io.ErrUnexpectedEOF 107342 } 107343 return nil 107344 } 107345 func (m *PluginEntraIDSyncSettings) Unmarshal(dAtA []byte) error { 107346 l := len(dAtA) 107347 iNdEx := 0 107348 for iNdEx < l { 107349 preIndex := iNdEx 107350 var wire uint64 107351 for shift := uint(0); ; shift += 7 { 107352 if shift >= 64 { 107353 return ErrIntOverflowTypes 107354 } 107355 if iNdEx >= l { 107356 return io.ErrUnexpectedEOF 107357 } 107358 b := dAtA[iNdEx] 107359 iNdEx++ 107360 wire |= uint64(b&0x7F) << shift 107361 if b < 0x80 { 107362 break 107363 } 107364 } 107365 fieldNum := int32(wire >> 3) 107366 wireType := int(wire & 0x7) 107367 if wireType == 4 { 107368 return fmt.Errorf("proto: PluginEntraIDSyncSettings: wiretype end group for non-group") 107369 } 107370 if fieldNum <= 0 { 107371 return fmt.Errorf("proto: PluginEntraIDSyncSettings: illegal tag %d (wire type %d)", fieldNum, wire) 107372 } 107373 switch fieldNum { 107374 case 1: 107375 if wireType != 2 { 107376 return fmt.Errorf("proto: wrong wireType = %d for field DefaultOwners", wireType) 107377 } 107378 var stringLen uint64 107379 for shift := uint(0); ; shift += 7 { 107380 if shift >= 64 { 107381 return ErrIntOverflowTypes 107382 } 107383 if iNdEx >= l { 107384 return io.ErrUnexpectedEOF 107385 } 107386 b := dAtA[iNdEx] 107387 iNdEx++ 107388 stringLen |= uint64(b&0x7F) << shift 107389 if b < 0x80 { 107390 break 107391 } 107392 } 107393 intStringLen := int(stringLen) 107394 if intStringLen < 0 { 107395 return ErrInvalidLengthTypes 107396 } 107397 postIndex := iNdEx + intStringLen 107398 if postIndex < 0 { 107399 return ErrInvalidLengthTypes 107400 } 107401 if postIndex > l { 107402 return io.ErrUnexpectedEOF 107403 } 107404 m.DefaultOwners = append(m.DefaultOwners, string(dAtA[iNdEx:postIndex])) 107405 iNdEx = postIndex 107406 default: 107407 iNdEx = preIndex 107408 skippy, err := skipTypes(dAtA[iNdEx:]) 107409 if err != nil { 107410 return err 107411 } 107412 if (skippy < 0) || (iNdEx+skippy) < 0 { 107413 return ErrInvalidLengthTypes 107414 } 107415 if (iNdEx + skippy) > l { 107416 return io.ErrUnexpectedEOF 107417 } 107418 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 107419 iNdEx += skippy 107420 } 107421 } 107422 107423 if iNdEx > l { 107424 return io.ErrUnexpectedEOF 107425 } 107426 return nil 107427 } 107428 func (m *PluginBootstrapCredentialsV1) Unmarshal(dAtA []byte) error { 107429 l := len(dAtA) 107430 iNdEx := 0 107431 for iNdEx < l { 107432 preIndex := iNdEx 107433 var wire uint64 107434 for shift := uint(0); ; shift += 7 { 107435 if shift >= 64 { 107436 return ErrIntOverflowTypes 107437 } 107438 if iNdEx >= l { 107439 return io.ErrUnexpectedEOF 107440 } 107441 b := dAtA[iNdEx] 107442 iNdEx++ 107443 wire |= uint64(b&0x7F) << shift 107444 if b < 0x80 { 107445 break 107446 } 107447 } 107448 fieldNum := int32(wire >> 3) 107449 wireType := int(wire & 0x7) 107450 if wireType == 4 { 107451 return fmt.Errorf("proto: PluginBootstrapCredentialsV1: wiretype end group for non-group") 107452 } 107453 if fieldNum <= 0 { 107454 return fmt.Errorf("proto: PluginBootstrapCredentialsV1: illegal tag %d (wire type %d)", fieldNum, wire) 107455 } 107456 switch fieldNum { 107457 case 1: 107458 if wireType != 2 { 107459 return fmt.Errorf("proto: wrong wireType = %d for field Oauth2AuthorizationCode", wireType) 107460 } 107461 var msglen int 107462 for shift := uint(0); ; shift += 7 { 107463 if shift >= 64 { 107464 return ErrIntOverflowTypes 107465 } 107466 if iNdEx >= l { 107467 return io.ErrUnexpectedEOF 107468 } 107469 b := dAtA[iNdEx] 107470 iNdEx++ 107471 msglen |= int(b&0x7F) << shift 107472 if b < 0x80 { 107473 break 107474 } 107475 } 107476 if msglen < 0 { 107477 return ErrInvalidLengthTypes 107478 } 107479 postIndex := iNdEx + msglen 107480 if postIndex < 0 { 107481 return ErrInvalidLengthTypes 107482 } 107483 if postIndex > l { 107484 return io.ErrUnexpectedEOF 107485 } 107486 v := &PluginOAuth2AuthorizationCodeCredentials{} 107487 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 107488 return err 107489 } 107490 m.Credentials = &PluginBootstrapCredentialsV1_Oauth2AuthorizationCode{v} 107491 iNdEx = postIndex 107492 case 2: 107493 if wireType != 2 { 107494 return fmt.Errorf("proto: wrong wireType = %d for field BearerToken", wireType) 107495 } 107496 var msglen int 107497 for shift := uint(0); ; shift += 7 { 107498 if shift >= 64 { 107499 return ErrIntOverflowTypes 107500 } 107501 if iNdEx >= l { 107502 return io.ErrUnexpectedEOF 107503 } 107504 b := dAtA[iNdEx] 107505 iNdEx++ 107506 msglen |= int(b&0x7F) << shift 107507 if b < 0x80 { 107508 break 107509 } 107510 } 107511 if msglen < 0 { 107512 return ErrInvalidLengthTypes 107513 } 107514 postIndex := iNdEx + msglen 107515 if postIndex < 0 { 107516 return ErrInvalidLengthTypes 107517 } 107518 if postIndex > l { 107519 return io.ErrUnexpectedEOF 107520 } 107521 v := &PluginBearerTokenCredentials{} 107522 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 107523 return err 107524 } 107525 m.Credentials = &PluginBootstrapCredentialsV1_BearerToken{v} 107526 iNdEx = postIndex 107527 case 3: 107528 if wireType != 2 { 107529 return fmt.Errorf("proto: wrong wireType = %d for field IdSecret", wireType) 107530 } 107531 var msglen int 107532 for shift := uint(0); ; shift += 7 { 107533 if shift >= 64 { 107534 return ErrIntOverflowTypes 107535 } 107536 if iNdEx >= l { 107537 return io.ErrUnexpectedEOF 107538 } 107539 b := dAtA[iNdEx] 107540 iNdEx++ 107541 msglen |= int(b&0x7F) << shift 107542 if b < 0x80 { 107543 break 107544 } 107545 } 107546 if msglen < 0 { 107547 return ErrInvalidLengthTypes 107548 } 107549 postIndex := iNdEx + msglen 107550 if postIndex < 0 { 107551 return ErrInvalidLengthTypes 107552 } 107553 if postIndex > l { 107554 return io.ErrUnexpectedEOF 107555 } 107556 v := &PluginIdSecretCredential{} 107557 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 107558 return err 107559 } 107560 m.Credentials = &PluginBootstrapCredentialsV1_IdSecret{v} 107561 iNdEx = postIndex 107562 default: 107563 iNdEx = preIndex 107564 skippy, err := skipTypes(dAtA[iNdEx:]) 107565 if err != nil { 107566 return err 107567 } 107568 if (skippy < 0) || (iNdEx+skippy) < 0 { 107569 return ErrInvalidLengthTypes 107570 } 107571 if (iNdEx + skippy) > l { 107572 return io.ErrUnexpectedEOF 107573 } 107574 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 107575 iNdEx += skippy 107576 } 107577 } 107578 107579 if iNdEx > l { 107580 return io.ErrUnexpectedEOF 107581 } 107582 return nil 107583 } 107584 func (m *PluginIdSecretCredential) Unmarshal(dAtA []byte) error { 107585 l := len(dAtA) 107586 iNdEx := 0 107587 for iNdEx < l { 107588 preIndex := iNdEx 107589 var wire uint64 107590 for shift := uint(0); ; shift += 7 { 107591 if shift >= 64 { 107592 return ErrIntOverflowTypes 107593 } 107594 if iNdEx >= l { 107595 return io.ErrUnexpectedEOF 107596 } 107597 b := dAtA[iNdEx] 107598 iNdEx++ 107599 wire |= uint64(b&0x7F) << shift 107600 if b < 0x80 { 107601 break 107602 } 107603 } 107604 fieldNum := int32(wire >> 3) 107605 wireType := int(wire & 0x7) 107606 if wireType == 4 { 107607 return fmt.Errorf("proto: PluginIdSecretCredential: wiretype end group for non-group") 107608 } 107609 if fieldNum <= 0 { 107610 return fmt.Errorf("proto: PluginIdSecretCredential: illegal tag %d (wire type %d)", fieldNum, wire) 107611 } 107612 switch fieldNum { 107613 case 1: 107614 if wireType != 2 { 107615 return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) 107616 } 107617 var stringLen uint64 107618 for shift := uint(0); ; shift += 7 { 107619 if shift >= 64 { 107620 return ErrIntOverflowTypes 107621 } 107622 if iNdEx >= l { 107623 return io.ErrUnexpectedEOF 107624 } 107625 b := dAtA[iNdEx] 107626 iNdEx++ 107627 stringLen |= uint64(b&0x7F) << shift 107628 if b < 0x80 { 107629 break 107630 } 107631 } 107632 intStringLen := int(stringLen) 107633 if intStringLen < 0 { 107634 return ErrInvalidLengthTypes 107635 } 107636 postIndex := iNdEx + intStringLen 107637 if postIndex < 0 { 107638 return ErrInvalidLengthTypes 107639 } 107640 if postIndex > l { 107641 return io.ErrUnexpectedEOF 107642 } 107643 m.Id = string(dAtA[iNdEx:postIndex]) 107644 iNdEx = postIndex 107645 case 2: 107646 if wireType != 2 { 107647 return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType) 107648 } 107649 var stringLen uint64 107650 for shift := uint(0); ; shift += 7 { 107651 if shift >= 64 { 107652 return ErrIntOverflowTypes 107653 } 107654 if iNdEx >= l { 107655 return io.ErrUnexpectedEOF 107656 } 107657 b := dAtA[iNdEx] 107658 iNdEx++ 107659 stringLen |= uint64(b&0x7F) << shift 107660 if b < 0x80 { 107661 break 107662 } 107663 } 107664 intStringLen := int(stringLen) 107665 if intStringLen < 0 { 107666 return ErrInvalidLengthTypes 107667 } 107668 postIndex := iNdEx + intStringLen 107669 if postIndex < 0 { 107670 return ErrInvalidLengthTypes 107671 } 107672 if postIndex > l { 107673 return io.ErrUnexpectedEOF 107674 } 107675 m.Secret = string(dAtA[iNdEx:postIndex]) 107676 iNdEx = postIndex 107677 default: 107678 iNdEx = preIndex 107679 skippy, err := skipTypes(dAtA[iNdEx:]) 107680 if err != nil { 107681 return err 107682 } 107683 if (skippy < 0) || (iNdEx+skippy) < 0 { 107684 return ErrInvalidLengthTypes 107685 } 107686 if (iNdEx + skippy) > l { 107687 return io.ErrUnexpectedEOF 107688 } 107689 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 107690 iNdEx += skippy 107691 } 107692 } 107693 107694 if iNdEx > l { 107695 return io.ErrUnexpectedEOF 107696 } 107697 return nil 107698 } 107699 func (m *PluginOAuth2AuthorizationCodeCredentials) Unmarshal(dAtA []byte) error { 107700 l := len(dAtA) 107701 iNdEx := 0 107702 for iNdEx < l { 107703 preIndex := iNdEx 107704 var wire uint64 107705 for shift := uint(0); ; shift += 7 { 107706 if shift >= 64 { 107707 return ErrIntOverflowTypes 107708 } 107709 if iNdEx >= l { 107710 return io.ErrUnexpectedEOF 107711 } 107712 b := dAtA[iNdEx] 107713 iNdEx++ 107714 wire |= uint64(b&0x7F) << shift 107715 if b < 0x80 { 107716 break 107717 } 107718 } 107719 fieldNum := int32(wire >> 3) 107720 wireType := int(wire & 0x7) 107721 if wireType == 4 { 107722 return fmt.Errorf("proto: PluginOAuth2AuthorizationCodeCredentials: wiretype end group for non-group") 107723 } 107724 if fieldNum <= 0 { 107725 return fmt.Errorf("proto: PluginOAuth2AuthorizationCodeCredentials: illegal tag %d (wire type %d)", fieldNum, wire) 107726 } 107727 switch fieldNum { 107728 case 1: 107729 if wireType != 2 { 107730 return fmt.Errorf("proto: wrong wireType = %d for field AuthorizationCode", wireType) 107731 } 107732 var stringLen uint64 107733 for shift := uint(0); ; shift += 7 { 107734 if shift >= 64 { 107735 return ErrIntOverflowTypes 107736 } 107737 if iNdEx >= l { 107738 return io.ErrUnexpectedEOF 107739 } 107740 b := dAtA[iNdEx] 107741 iNdEx++ 107742 stringLen |= uint64(b&0x7F) << shift 107743 if b < 0x80 { 107744 break 107745 } 107746 } 107747 intStringLen := int(stringLen) 107748 if intStringLen < 0 { 107749 return ErrInvalidLengthTypes 107750 } 107751 postIndex := iNdEx + intStringLen 107752 if postIndex < 0 { 107753 return ErrInvalidLengthTypes 107754 } 107755 if postIndex > l { 107756 return io.ErrUnexpectedEOF 107757 } 107758 m.AuthorizationCode = string(dAtA[iNdEx:postIndex]) 107759 iNdEx = postIndex 107760 case 2: 107761 if wireType != 2 { 107762 return fmt.Errorf("proto: wrong wireType = %d for field RedirectUri", wireType) 107763 } 107764 var stringLen uint64 107765 for shift := uint(0); ; shift += 7 { 107766 if shift >= 64 { 107767 return ErrIntOverflowTypes 107768 } 107769 if iNdEx >= l { 107770 return io.ErrUnexpectedEOF 107771 } 107772 b := dAtA[iNdEx] 107773 iNdEx++ 107774 stringLen |= uint64(b&0x7F) << shift 107775 if b < 0x80 { 107776 break 107777 } 107778 } 107779 intStringLen := int(stringLen) 107780 if intStringLen < 0 { 107781 return ErrInvalidLengthTypes 107782 } 107783 postIndex := iNdEx + intStringLen 107784 if postIndex < 0 { 107785 return ErrInvalidLengthTypes 107786 } 107787 if postIndex > l { 107788 return io.ErrUnexpectedEOF 107789 } 107790 m.RedirectUri = string(dAtA[iNdEx:postIndex]) 107791 iNdEx = postIndex 107792 default: 107793 iNdEx = preIndex 107794 skippy, err := skipTypes(dAtA[iNdEx:]) 107795 if err != nil { 107796 return err 107797 } 107798 if (skippy < 0) || (iNdEx+skippy) < 0 { 107799 return ErrInvalidLengthTypes 107800 } 107801 if (iNdEx + skippy) > l { 107802 return io.ErrUnexpectedEOF 107803 } 107804 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 107805 iNdEx += skippy 107806 } 107807 } 107808 107809 if iNdEx > l { 107810 return io.ErrUnexpectedEOF 107811 } 107812 return nil 107813 } 107814 func (m *PluginStatusV1) Unmarshal(dAtA []byte) error { 107815 l := len(dAtA) 107816 iNdEx := 0 107817 for iNdEx < l { 107818 preIndex := iNdEx 107819 var wire uint64 107820 for shift := uint(0); ; shift += 7 { 107821 if shift >= 64 { 107822 return ErrIntOverflowTypes 107823 } 107824 if iNdEx >= l { 107825 return io.ErrUnexpectedEOF 107826 } 107827 b := dAtA[iNdEx] 107828 iNdEx++ 107829 wire |= uint64(b&0x7F) << shift 107830 if b < 0x80 { 107831 break 107832 } 107833 } 107834 fieldNum := int32(wire >> 3) 107835 wireType := int(wire & 0x7) 107836 if wireType == 4 { 107837 return fmt.Errorf("proto: PluginStatusV1: wiretype end group for non-group") 107838 } 107839 if fieldNum <= 0 { 107840 return fmt.Errorf("proto: PluginStatusV1: illegal tag %d (wire type %d)", fieldNum, wire) 107841 } 107842 switch fieldNum { 107843 case 1: 107844 if wireType != 0 { 107845 return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType) 107846 } 107847 m.Code = 0 107848 for shift := uint(0); ; shift += 7 { 107849 if shift >= 64 { 107850 return ErrIntOverflowTypes 107851 } 107852 if iNdEx >= l { 107853 return io.ErrUnexpectedEOF 107854 } 107855 b := dAtA[iNdEx] 107856 iNdEx++ 107857 m.Code |= PluginStatusCode(b&0x7F) << shift 107858 if b < 0x80 { 107859 break 107860 } 107861 } 107862 default: 107863 iNdEx = preIndex 107864 skippy, err := skipTypes(dAtA[iNdEx:]) 107865 if err != nil { 107866 return err 107867 } 107868 if (skippy < 0) || (iNdEx+skippy) < 0 { 107869 return ErrInvalidLengthTypes 107870 } 107871 if (iNdEx + skippy) > l { 107872 return io.ErrUnexpectedEOF 107873 } 107874 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 107875 iNdEx += skippy 107876 } 107877 } 107878 107879 if iNdEx > l { 107880 return io.ErrUnexpectedEOF 107881 } 107882 return nil 107883 } 107884 func (m *PluginCredentialsV1) Unmarshal(dAtA []byte) error { 107885 l := len(dAtA) 107886 iNdEx := 0 107887 for iNdEx < l { 107888 preIndex := iNdEx 107889 var wire uint64 107890 for shift := uint(0); ; shift += 7 { 107891 if shift >= 64 { 107892 return ErrIntOverflowTypes 107893 } 107894 if iNdEx >= l { 107895 return io.ErrUnexpectedEOF 107896 } 107897 b := dAtA[iNdEx] 107898 iNdEx++ 107899 wire |= uint64(b&0x7F) << shift 107900 if b < 0x80 { 107901 break 107902 } 107903 } 107904 fieldNum := int32(wire >> 3) 107905 wireType := int(wire & 0x7) 107906 if wireType == 4 { 107907 return fmt.Errorf("proto: PluginCredentialsV1: wiretype end group for non-group") 107908 } 107909 if fieldNum <= 0 { 107910 return fmt.Errorf("proto: PluginCredentialsV1: illegal tag %d (wire type %d)", fieldNum, wire) 107911 } 107912 switch fieldNum { 107913 case 1: 107914 if wireType != 2 { 107915 return fmt.Errorf("proto: wrong wireType = %d for field Oauth2AccessToken", wireType) 107916 } 107917 var msglen int 107918 for shift := uint(0); ; shift += 7 { 107919 if shift >= 64 { 107920 return ErrIntOverflowTypes 107921 } 107922 if iNdEx >= l { 107923 return io.ErrUnexpectedEOF 107924 } 107925 b := dAtA[iNdEx] 107926 iNdEx++ 107927 msglen |= int(b&0x7F) << shift 107928 if b < 0x80 { 107929 break 107930 } 107931 } 107932 if msglen < 0 { 107933 return ErrInvalidLengthTypes 107934 } 107935 postIndex := iNdEx + msglen 107936 if postIndex < 0 { 107937 return ErrInvalidLengthTypes 107938 } 107939 if postIndex > l { 107940 return io.ErrUnexpectedEOF 107941 } 107942 v := &PluginOAuth2AccessTokenCredentials{} 107943 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 107944 return err 107945 } 107946 m.Credentials = &PluginCredentialsV1_Oauth2AccessToken{v} 107947 iNdEx = postIndex 107948 case 2: 107949 if wireType != 2 { 107950 return fmt.Errorf("proto: wrong wireType = %d for field BearerToken", wireType) 107951 } 107952 var msglen int 107953 for shift := uint(0); ; shift += 7 { 107954 if shift >= 64 { 107955 return ErrIntOverflowTypes 107956 } 107957 if iNdEx >= l { 107958 return io.ErrUnexpectedEOF 107959 } 107960 b := dAtA[iNdEx] 107961 iNdEx++ 107962 msglen |= int(b&0x7F) << shift 107963 if b < 0x80 { 107964 break 107965 } 107966 } 107967 if msglen < 0 { 107968 return ErrInvalidLengthTypes 107969 } 107970 postIndex := iNdEx + msglen 107971 if postIndex < 0 { 107972 return ErrInvalidLengthTypes 107973 } 107974 if postIndex > l { 107975 return io.ErrUnexpectedEOF 107976 } 107977 v := &PluginBearerTokenCredentials{} 107978 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 107979 return err 107980 } 107981 m.Credentials = &PluginCredentialsV1_BearerToken{v} 107982 iNdEx = postIndex 107983 case 3: 107984 if wireType != 2 { 107985 return fmt.Errorf("proto: wrong wireType = %d for field IdSecret", wireType) 107986 } 107987 var msglen int 107988 for shift := uint(0); ; shift += 7 { 107989 if shift >= 64 { 107990 return ErrIntOverflowTypes 107991 } 107992 if iNdEx >= l { 107993 return io.ErrUnexpectedEOF 107994 } 107995 b := dAtA[iNdEx] 107996 iNdEx++ 107997 msglen |= int(b&0x7F) << shift 107998 if b < 0x80 { 107999 break 108000 } 108001 } 108002 if msglen < 0 { 108003 return ErrInvalidLengthTypes 108004 } 108005 postIndex := iNdEx + msglen 108006 if postIndex < 0 { 108007 return ErrInvalidLengthTypes 108008 } 108009 if postIndex > l { 108010 return io.ErrUnexpectedEOF 108011 } 108012 v := &PluginIdSecretCredential{} 108013 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 108014 return err 108015 } 108016 m.Credentials = &PluginCredentialsV1_IdSecret{v} 108017 iNdEx = postIndex 108018 case 4: 108019 if wireType != 2 { 108020 return fmt.Errorf("proto: wrong wireType = %d for field StaticCredentialsRef", wireType) 108021 } 108022 var msglen int 108023 for shift := uint(0); ; shift += 7 { 108024 if shift >= 64 { 108025 return ErrIntOverflowTypes 108026 } 108027 if iNdEx >= l { 108028 return io.ErrUnexpectedEOF 108029 } 108030 b := dAtA[iNdEx] 108031 iNdEx++ 108032 msglen |= int(b&0x7F) << shift 108033 if b < 0x80 { 108034 break 108035 } 108036 } 108037 if msglen < 0 { 108038 return ErrInvalidLengthTypes 108039 } 108040 postIndex := iNdEx + msglen 108041 if postIndex < 0 { 108042 return ErrInvalidLengthTypes 108043 } 108044 if postIndex > l { 108045 return io.ErrUnexpectedEOF 108046 } 108047 v := &PluginStaticCredentialsRef{} 108048 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 108049 return err 108050 } 108051 m.Credentials = &PluginCredentialsV1_StaticCredentialsRef{v} 108052 iNdEx = postIndex 108053 default: 108054 iNdEx = preIndex 108055 skippy, err := skipTypes(dAtA[iNdEx:]) 108056 if err != nil { 108057 return err 108058 } 108059 if (skippy < 0) || (iNdEx+skippy) < 0 { 108060 return ErrInvalidLengthTypes 108061 } 108062 if (iNdEx + skippy) > l { 108063 return io.ErrUnexpectedEOF 108064 } 108065 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 108066 iNdEx += skippy 108067 } 108068 } 108069 108070 if iNdEx > l { 108071 return io.ErrUnexpectedEOF 108072 } 108073 return nil 108074 } 108075 func (m *PluginOAuth2AccessTokenCredentials) Unmarshal(dAtA []byte) error { 108076 l := len(dAtA) 108077 iNdEx := 0 108078 for iNdEx < l { 108079 preIndex := iNdEx 108080 var wire uint64 108081 for shift := uint(0); ; shift += 7 { 108082 if shift >= 64 { 108083 return ErrIntOverflowTypes 108084 } 108085 if iNdEx >= l { 108086 return io.ErrUnexpectedEOF 108087 } 108088 b := dAtA[iNdEx] 108089 iNdEx++ 108090 wire |= uint64(b&0x7F) << shift 108091 if b < 0x80 { 108092 break 108093 } 108094 } 108095 fieldNum := int32(wire >> 3) 108096 wireType := int(wire & 0x7) 108097 if wireType == 4 { 108098 return fmt.Errorf("proto: PluginOAuth2AccessTokenCredentials: wiretype end group for non-group") 108099 } 108100 if fieldNum <= 0 { 108101 return fmt.Errorf("proto: PluginOAuth2AccessTokenCredentials: illegal tag %d (wire type %d)", fieldNum, wire) 108102 } 108103 switch fieldNum { 108104 case 1: 108105 if wireType != 2 { 108106 return fmt.Errorf("proto: wrong wireType = %d for field AccessToken", wireType) 108107 } 108108 var stringLen uint64 108109 for shift := uint(0); ; shift += 7 { 108110 if shift >= 64 { 108111 return ErrIntOverflowTypes 108112 } 108113 if iNdEx >= l { 108114 return io.ErrUnexpectedEOF 108115 } 108116 b := dAtA[iNdEx] 108117 iNdEx++ 108118 stringLen |= uint64(b&0x7F) << shift 108119 if b < 0x80 { 108120 break 108121 } 108122 } 108123 intStringLen := int(stringLen) 108124 if intStringLen < 0 { 108125 return ErrInvalidLengthTypes 108126 } 108127 postIndex := iNdEx + intStringLen 108128 if postIndex < 0 { 108129 return ErrInvalidLengthTypes 108130 } 108131 if postIndex > l { 108132 return io.ErrUnexpectedEOF 108133 } 108134 m.AccessToken = string(dAtA[iNdEx:postIndex]) 108135 iNdEx = postIndex 108136 case 2: 108137 if wireType != 2 { 108138 return fmt.Errorf("proto: wrong wireType = %d for field RefreshToken", wireType) 108139 } 108140 var stringLen uint64 108141 for shift := uint(0); ; shift += 7 { 108142 if shift >= 64 { 108143 return ErrIntOverflowTypes 108144 } 108145 if iNdEx >= l { 108146 return io.ErrUnexpectedEOF 108147 } 108148 b := dAtA[iNdEx] 108149 iNdEx++ 108150 stringLen |= uint64(b&0x7F) << shift 108151 if b < 0x80 { 108152 break 108153 } 108154 } 108155 intStringLen := int(stringLen) 108156 if intStringLen < 0 { 108157 return ErrInvalidLengthTypes 108158 } 108159 postIndex := iNdEx + intStringLen 108160 if postIndex < 0 { 108161 return ErrInvalidLengthTypes 108162 } 108163 if postIndex > l { 108164 return io.ErrUnexpectedEOF 108165 } 108166 m.RefreshToken = string(dAtA[iNdEx:postIndex]) 108167 iNdEx = postIndex 108168 case 3: 108169 if wireType != 2 { 108170 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 108171 } 108172 var msglen int 108173 for shift := uint(0); ; shift += 7 { 108174 if shift >= 64 { 108175 return ErrIntOverflowTypes 108176 } 108177 if iNdEx >= l { 108178 return io.ErrUnexpectedEOF 108179 } 108180 b := dAtA[iNdEx] 108181 iNdEx++ 108182 msglen |= int(b&0x7F) << shift 108183 if b < 0x80 { 108184 break 108185 } 108186 } 108187 if msglen < 0 { 108188 return ErrInvalidLengthTypes 108189 } 108190 postIndex := iNdEx + msglen 108191 if postIndex < 0 { 108192 return ErrInvalidLengthTypes 108193 } 108194 if postIndex > l { 108195 return io.ErrUnexpectedEOF 108196 } 108197 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Expires, dAtA[iNdEx:postIndex]); err != nil { 108198 return err 108199 } 108200 iNdEx = postIndex 108201 default: 108202 iNdEx = preIndex 108203 skippy, err := skipTypes(dAtA[iNdEx:]) 108204 if err != nil { 108205 return err 108206 } 108207 if (skippy < 0) || (iNdEx+skippy) < 0 { 108208 return ErrInvalidLengthTypes 108209 } 108210 if (iNdEx + skippy) > l { 108211 return io.ErrUnexpectedEOF 108212 } 108213 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 108214 iNdEx += skippy 108215 } 108216 } 108217 108218 if iNdEx > l { 108219 return io.ErrUnexpectedEOF 108220 } 108221 return nil 108222 } 108223 func (m *PluginBearerTokenCredentials) Unmarshal(dAtA []byte) error { 108224 l := len(dAtA) 108225 iNdEx := 0 108226 for iNdEx < l { 108227 preIndex := iNdEx 108228 var wire uint64 108229 for shift := uint(0); ; shift += 7 { 108230 if shift >= 64 { 108231 return ErrIntOverflowTypes 108232 } 108233 if iNdEx >= l { 108234 return io.ErrUnexpectedEOF 108235 } 108236 b := dAtA[iNdEx] 108237 iNdEx++ 108238 wire |= uint64(b&0x7F) << shift 108239 if b < 0x80 { 108240 break 108241 } 108242 } 108243 fieldNum := int32(wire >> 3) 108244 wireType := int(wire & 0x7) 108245 if wireType == 4 { 108246 return fmt.Errorf("proto: PluginBearerTokenCredentials: wiretype end group for non-group") 108247 } 108248 if fieldNum <= 0 { 108249 return fmt.Errorf("proto: PluginBearerTokenCredentials: illegal tag %d (wire type %d)", fieldNum, wire) 108250 } 108251 switch fieldNum { 108252 case 1: 108253 if wireType != 2 { 108254 return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) 108255 } 108256 var stringLen uint64 108257 for shift := uint(0); ; shift += 7 { 108258 if shift >= 64 { 108259 return ErrIntOverflowTypes 108260 } 108261 if iNdEx >= l { 108262 return io.ErrUnexpectedEOF 108263 } 108264 b := dAtA[iNdEx] 108265 iNdEx++ 108266 stringLen |= uint64(b&0x7F) << shift 108267 if b < 0x80 { 108268 break 108269 } 108270 } 108271 intStringLen := int(stringLen) 108272 if intStringLen < 0 { 108273 return ErrInvalidLengthTypes 108274 } 108275 postIndex := iNdEx + intStringLen 108276 if postIndex < 0 { 108277 return ErrInvalidLengthTypes 108278 } 108279 if postIndex > l { 108280 return io.ErrUnexpectedEOF 108281 } 108282 m.Token = string(dAtA[iNdEx:postIndex]) 108283 iNdEx = postIndex 108284 default: 108285 iNdEx = preIndex 108286 skippy, err := skipTypes(dAtA[iNdEx:]) 108287 if err != nil { 108288 return err 108289 } 108290 if (skippy < 0) || (iNdEx+skippy) < 0 { 108291 return ErrInvalidLengthTypes 108292 } 108293 if (iNdEx + skippy) > l { 108294 return io.ErrUnexpectedEOF 108295 } 108296 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 108297 iNdEx += skippy 108298 } 108299 } 108300 108301 if iNdEx > l { 108302 return io.ErrUnexpectedEOF 108303 } 108304 return nil 108305 } 108306 func (m *PluginStaticCredentialsRef) Unmarshal(dAtA []byte) error { 108307 l := len(dAtA) 108308 iNdEx := 0 108309 for iNdEx < l { 108310 preIndex := iNdEx 108311 var wire uint64 108312 for shift := uint(0); ; shift += 7 { 108313 if shift >= 64 { 108314 return ErrIntOverflowTypes 108315 } 108316 if iNdEx >= l { 108317 return io.ErrUnexpectedEOF 108318 } 108319 b := dAtA[iNdEx] 108320 iNdEx++ 108321 wire |= uint64(b&0x7F) << shift 108322 if b < 0x80 { 108323 break 108324 } 108325 } 108326 fieldNum := int32(wire >> 3) 108327 wireType := int(wire & 0x7) 108328 if wireType == 4 { 108329 return fmt.Errorf("proto: PluginStaticCredentialsRef: wiretype end group for non-group") 108330 } 108331 if fieldNum <= 0 { 108332 return fmt.Errorf("proto: PluginStaticCredentialsRef: illegal tag %d (wire type %d)", fieldNum, wire) 108333 } 108334 switch fieldNum { 108335 case 1: 108336 if wireType != 2 { 108337 return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) 108338 } 108339 var msglen int 108340 for shift := uint(0); ; shift += 7 { 108341 if shift >= 64 { 108342 return ErrIntOverflowTypes 108343 } 108344 if iNdEx >= l { 108345 return io.ErrUnexpectedEOF 108346 } 108347 b := dAtA[iNdEx] 108348 iNdEx++ 108349 msglen |= int(b&0x7F) << shift 108350 if b < 0x80 { 108351 break 108352 } 108353 } 108354 if msglen < 0 { 108355 return ErrInvalidLengthTypes 108356 } 108357 postIndex := iNdEx + msglen 108358 if postIndex < 0 { 108359 return ErrInvalidLengthTypes 108360 } 108361 if postIndex > l { 108362 return io.ErrUnexpectedEOF 108363 } 108364 if m.Labels == nil { 108365 m.Labels = make(map[string]string) 108366 } 108367 var mapkey string 108368 var mapvalue string 108369 for iNdEx < postIndex { 108370 entryPreIndex := iNdEx 108371 var wire uint64 108372 for shift := uint(0); ; shift += 7 { 108373 if shift >= 64 { 108374 return ErrIntOverflowTypes 108375 } 108376 if iNdEx >= l { 108377 return io.ErrUnexpectedEOF 108378 } 108379 b := dAtA[iNdEx] 108380 iNdEx++ 108381 wire |= uint64(b&0x7F) << shift 108382 if b < 0x80 { 108383 break 108384 } 108385 } 108386 fieldNum := int32(wire >> 3) 108387 if fieldNum == 1 { 108388 var stringLenmapkey uint64 108389 for shift := uint(0); ; shift += 7 { 108390 if shift >= 64 { 108391 return ErrIntOverflowTypes 108392 } 108393 if iNdEx >= l { 108394 return io.ErrUnexpectedEOF 108395 } 108396 b := dAtA[iNdEx] 108397 iNdEx++ 108398 stringLenmapkey |= uint64(b&0x7F) << shift 108399 if b < 0x80 { 108400 break 108401 } 108402 } 108403 intStringLenmapkey := int(stringLenmapkey) 108404 if intStringLenmapkey < 0 { 108405 return ErrInvalidLengthTypes 108406 } 108407 postStringIndexmapkey := iNdEx + intStringLenmapkey 108408 if postStringIndexmapkey < 0 { 108409 return ErrInvalidLengthTypes 108410 } 108411 if postStringIndexmapkey > l { 108412 return io.ErrUnexpectedEOF 108413 } 108414 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 108415 iNdEx = postStringIndexmapkey 108416 } else if fieldNum == 2 { 108417 var stringLenmapvalue uint64 108418 for shift := uint(0); ; shift += 7 { 108419 if shift >= 64 { 108420 return ErrIntOverflowTypes 108421 } 108422 if iNdEx >= l { 108423 return io.ErrUnexpectedEOF 108424 } 108425 b := dAtA[iNdEx] 108426 iNdEx++ 108427 stringLenmapvalue |= uint64(b&0x7F) << shift 108428 if b < 0x80 { 108429 break 108430 } 108431 } 108432 intStringLenmapvalue := int(stringLenmapvalue) 108433 if intStringLenmapvalue < 0 { 108434 return ErrInvalidLengthTypes 108435 } 108436 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 108437 if postStringIndexmapvalue < 0 { 108438 return ErrInvalidLengthTypes 108439 } 108440 if postStringIndexmapvalue > l { 108441 return io.ErrUnexpectedEOF 108442 } 108443 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 108444 iNdEx = postStringIndexmapvalue 108445 } else { 108446 iNdEx = entryPreIndex 108447 skippy, err := skipTypes(dAtA[iNdEx:]) 108448 if err != nil { 108449 return err 108450 } 108451 if (skippy < 0) || (iNdEx+skippy) < 0 { 108452 return ErrInvalidLengthTypes 108453 } 108454 if (iNdEx + skippy) > postIndex { 108455 return io.ErrUnexpectedEOF 108456 } 108457 iNdEx += skippy 108458 } 108459 } 108460 m.Labels[mapkey] = mapvalue 108461 iNdEx = postIndex 108462 default: 108463 iNdEx = preIndex 108464 skippy, err := skipTypes(dAtA[iNdEx:]) 108465 if err != nil { 108466 return err 108467 } 108468 if (skippy < 0) || (iNdEx+skippy) < 0 { 108469 return ErrInvalidLengthTypes 108470 } 108471 if (iNdEx + skippy) > l { 108472 return io.ErrUnexpectedEOF 108473 } 108474 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 108475 iNdEx += skippy 108476 } 108477 } 108478 108479 if iNdEx > l { 108480 return io.ErrUnexpectedEOF 108481 } 108482 return nil 108483 } 108484 func (m *PluginListV1) Unmarshal(dAtA []byte) error { 108485 l := len(dAtA) 108486 iNdEx := 0 108487 for iNdEx < l { 108488 preIndex := iNdEx 108489 var wire uint64 108490 for shift := uint(0); ; shift += 7 { 108491 if shift >= 64 { 108492 return ErrIntOverflowTypes 108493 } 108494 if iNdEx >= l { 108495 return io.ErrUnexpectedEOF 108496 } 108497 b := dAtA[iNdEx] 108498 iNdEx++ 108499 wire |= uint64(b&0x7F) << shift 108500 if b < 0x80 { 108501 break 108502 } 108503 } 108504 fieldNum := int32(wire >> 3) 108505 wireType := int(wire & 0x7) 108506 if wireType == 4 { 108507 return fmt.Errorf("proto: PluginListV1: wiretype end group for non-group") 108508 } 108509 if fieldNum <= 0 { 108510 return fmt.Errorf("proto: PluginListV1: illegal tag %d (wire type %d)", fieldNum, wire) 108511 } 108512 switch fieldNum { 108513 case 1: 108514 if wireType != 2 { 108515 return fmt.Errorf("proto: wrong wireType = %d for field Plugins", wireType) 108516 } 108517 var msglen int 108518 for shift := uint(0); ; shift += 7 { 108519 if shift >= 64 { 108520 return ErrIntOverflowTypes 108521 } 108522 if iNdEx >= l { 108523 return io.ErrUnexpectedEOF 108524 } 108525 b := dAtA[iNdEx] 108526 iNdEx++ 108527 msglen |= int(b&0x7F) << shift 108528 if b < 0x80 { 108529 break 108530 } 108531 } 108532 if msglen < 0 { 108533 return ErrInvalidLengthTypes 108534 } 108535 postIndex := iNdEx + msglen 108536 if postIndex < 0 { 108537 return ErrInvalidLengthTypes 108538 } 108539 if postIndex > l { 108540 return io.ErrUnexpectedEOF 108541 } 108542 m.Plugins = append(m.Plugins, &PluginV1{}) 108543 if err := m.Plugins[len(m.Plugins)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 108544 return err 108545 } 108546 iNdEx = postIndex 108547 default: 108548 iNdEx = preIndex 108549 skippy, err := skipTypes(dAtA[iNdEx:]) 108550 if err != nil { 108551 return err 108552 } 108553 if (skippy < 0) || (iNdEx+skippy) < 0 { 108554 return ErrInvalidLengthTypes 108555 } 108556 if (iNdEx + skippy) > l { 108557 return io.ErrUnexpectedEOF 108558 } 108559 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 108560 iNdEx += skippy 108561 } 108562 } 108563 108564 if iNdEx > l { 108565 return io.ErrUnexpectedEOF 108566 } 108567 return nil 108568 } 108569 func (m *PluginStaticCredentialsV1) Unmarshal(dAtA []byte) error { 108570 l := len(dAtA) 108571 iNdEx := 0 108572 for iNdEx < l { 108573 preIndex := iNdEx 108574 var wire uint64 108575 for shift := uint(0); ; shift += 7 { 108576 if shift >= 64 { 108577 return ErrIntOverflowTypes 108578 } 108579 if iNdEx >= l { 108580 return io.ErrUnexpectedEOF 108581 } 108582 b := dAtA[iNdEx] 108583 iNdEx++ 108584 wire |= uint64(b&0x7F) << shift 108585 if b < 0x80 { 108586 break 108587 } 108588 } 108589 fieldNum := int32(wire >> 3) 108590 wireType := int(wire & 0x7) 108591 if wireType == 4 { 108592 return fmt.Errorf("proto: PluginStaticCredentialsV1: wiretype end group for non-group") 108593 } 108594 if fieldNum <= 0 { 108595 return fmt.Errorf("proto: PluginStaticCredentialsV1: illegal tag %d (wire type %d)", fieldNum, wire) 108596 } 108597 switch fieldNum { 108598 case 1: 108599 if wireType != 2 { 108600 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 108601 } 108602 var msglen int 108603 for shift := uint(0); ; shift += 7 { 108604 if shift >= 64 { 108605 return ErrIntOverflowTypes 108606 } 108607 if iNdEx >= l { 108608 return io.ErrUnexpectedEOF 108609 } 108610 b := dAtA[iNdEx] 108611 iNdEx++ 108612 msglen |= int(b&0x7F) << shift 108613 if b < 0x80 { 108614 break 108615 } 108616 } 108617 if msglen < 0 { 108618 return ErrInvalidLengthTypes 108619 } 108620 postIndex := iNdEx + msglen 108621 if postIndex < 0 { 108622 return ErrInvalidLengthTypes 108623 } 108624 if postIndex > l { 108625 return io.ErrUnexpectedEOF 108626 } 108627 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 108628 return err 108629 } 108630 iNdEx = postIndex 108631 case 2: 108632 if wireType != 2 { 108633 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 108634 } 108635 var msglen int 108636 for shift := uint(0); ; shift += 7 { 108637 if shift >= 64 { 108638 return ErrIntOverflowTypes 108639 } 108640 if iNdEx >= l { 108641 return io.ErrUnexpectedEOF 108642 } 108643 b := dAtA[iNdEx] 108644 iNdEx++ 108645 msglen |= int(b&0x7F) << shift 108646 if b < 0x80 { 108647 break 108648 } 108649 } 108650 if msglen < 0 { 108651 return ErrInvalidLengthTypes 108652 } 108653 postIndex := iNdEx + msglen 108654 if postIndex < 0 { 108655 return ErrInvalidLengthTypes 108656 } 108657 if postIndex > l { 108658 return io.ErrUnexpectedEOF 108659 } 108660 if m.Spec == nil { 108661 m.Spec = &PluginStaticCredentialsSpecV1{} 108662 } 108663 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 108664 return err 108665 } 108666 iNdEx = postIndex 108667 default: 108668 iNdEx = preIndex 108669 skippy, err := skipTypes(dAtA[iNdEx:]) 108670 if err != nil { 108671 return err 108672 } 108673 if (skippy < 0) || (iNdEx+skippy) < 0 { 108674 return ErrInvalidLengthTypes 108675 } 108676 if (iNdEx + skippy) > l { 108677 return io.ErrUnexpectedEOF 108678 } 108679 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 108680 iNdEx += skippy 108681 } 108682 } 108683 108684 if iNdEx > l { 108685 return io.ErrUnexpectedEOF 108686 } 108687 return nil 108688 } 108689 func (m *PluginStaticCredentialsSpecV1) Unmarshal(dAtA []byte) error { 108690 l := len(dAtA) 108691 iNdEx := 0 108692 for iNdEx < l { 108693 preIndex := iNdEx 108694 var wire uint64 108695 for shift := uint(0); ; shift += 7 { 108696 if shift >= 64 { 108697 return ErrIntOverflowTypes 108698 } 108699 if iNdEx >= l { 108700 return io.ErrUnexpectedEOF 108701 } 108702 b := dAtA[iNdEx] 108703 iNdEx++ 108704 wire |= uint64(b&0x7F) << shift 108705 if b < 0x80 { 108706 break 108707 } 108708 } 108709 fieldNum := int32(wire >> 3) 108710 wireType := int(wire & 0x7) 108711 if wireType == 4 { 108712 return fmt.Errorf("proto: PluginStaticCredentialsSpecV1: wiretype end group for non-group") 108713 } 108714 if fieldNum <= 0 { 108715 return fmt.Errorf("proto: PluginStaticCredentialsSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 108716 } 108717 switch fieldNum { 108718 case 1: 108719 if wireType != 2 { 108720 return fmt.Errorf("proto: wrong wireType = %d for field APIToken", wireType) 108721 } 108722 var stringLen uint64 108723 for shift := uint(0); ; shift += 7 { 108724 if shift >= 64 { 108725 return ErrIntOverflowTypes 108726 } 108727 if iNdEx >= l { 108728 return io.ErrUnexpectedEOF 108729 } 108730 b := dAtA[iNdEx] 108731 iNdEx++ 108732 stringLen |= uint64(b&0x7F) << shift 108733 if b < 0x80 { 108734 break 108735 } 108736 } 108737 intStringLen := int(stringLen) 108738 if intStringLen < 0 { 108739 return ErrInvalidLengthTypes 108740 } 108741 postIndex := iNdEx + intStringLen 108742 if postIndex < 0 { 108743 return ErrInvalidLengthTypes 108744 } 108745 if postIndex > l { 108746 return io.ErrUnexpectedEOF 108747 } 108748 m.Credentials = &PluginStaticCredentialsSpecV1_APIToken{string(dAtA[iNdEx:postIndex])} 108749 iNdEx = postIndex 108750 case 2: 108751 if wireType != 2 { 108752 return fmt.Errorf("proto: wrong wireType = %d for field BasicAuth", wireType) 108753 } 108754 var msglen int 108755 for shift := uint(0); ; shift += 7 { 108756 if shift >= 64 { 108757 return ErrIntOverflowTypes 108758 } 108759 if iNdEx >= l { 108760 return io.ErrUnexpectedEOF 108761 } 108762 b := dAtA[iNdEx] 108763 iNdEx++ 108764 msglen |= int(b&0x7F) << shift 108765 if b < 0x80 { 108766 break 108767 } 108768 } 108769 if msglen < 0 { 108770 return ErrInvalidLengthTypes 108771 } 108772 postIndex := iNdEx + msglen 108773 if postIndex < 0 { 108774 return ErrInvalidLengthTypes 108775 } 108776 if postIndex > l { 108777 return io.ErrUnexpectedEOF 108778 } 108779 v := &PluginStaticCredentialsBasicAuth{} 108780 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 108781 return err 108782 } 108783 m.Credentials = &PluginStaticCredentialsSpecV1_BasicAuth{v} 108784 iNdEx = postIndex 108785 case 3: 108786 if wireType != 2 { 108787 return fmt.Errorf("proto: wrong wireType = %d for field OAuthClientSecret", wireType) 108788 } 108789 var msglen int 108790 for shift := uint(0); ; shift += 7 { 108791 if shift >= 64 { 108792 return ErrIntOverflowTypes 108793 } 108794 if iNdEx >= l { 108795 return io.ErrUnexpectedEOF 108796 } 108797 b := dAtA[iNdEx] 108798 iNdEx++ 108799 msglen |= int(b&0x7F) << shift 108800 if b < 0x80 { 108801 break 108802 } 108803 } 108804 if msglen < 0 { 108805 return ErrInvalidLengthTypes 108806 } 108807 postIndex := iNdEx + msglen 108808 if postIndex < 0 { 108809 return ErrInvalidLengthTypes 108810 } 108811 if postIndex > l { 108812 return io.ErrUnexpectedEOF 108813 } 108814 v := &PluginStaticCredentialsOAuthClientSecret{} 108815 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 108816 return err 108817 } 108818 m.Credentials = &PluginStaticCredentialsSpecV1_OAuthClientSecret{v} 108819 iNdEx = postIndex 108820 default: 108821 iNdEx = preIndex 108822 skippy, err := skipTypes(dAtA[iNdEx:]) 108823 if err != nil { 108824 return err 108825 } 108826 if (skippy < 0) || (iNdEx+skippy) < 0 { 108827 return ErrInvalidLengthTypes 108828 } 108829 if (iNdEx + skippy) > l { 108830 return io.ErrUnexpectedEOF 108831 } 108832 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 108833 iNdEx += skippy 108834 } 108835 } 108836 108837 if iNdEx > l { 108838 return io.ErrUnexpectedEOF 108839 } 108840 return nil 108841 } 108842 func (m *PluginStaticCredentialsBasicAuth) Unmarshal(dAtA []byte) error { 108843 l := len(dAtA) 108844 iNdEx := 0 108845 for iNdEx < l { 108846 preIndex := iNdEx 108847 var wire uint64 108848 for shift := uint(0); ; shift += 7 { 108849 if shift >= 64 { 108850 return ErrIntOverflowTypes 108851 } 108852 if iNdEx >= l { 108853 return io.ErrUnexpectedEOF 108854 } 108855 b := dAtA[iNdEx] 108856 iNdEx++ 108857 wire |= uint64(b&0x7F) << shift 108858 if b < 0x80 { 108859 break 108860 } 108861 } 108862 fieldNum := int32(wire >> 3) 108863 wireType := int(wire & 0x7) 108864 if wireType == 4 { 108865 return fmt.Errorf("proto: PluginStaticCredentialsBasicAuth: wiretype end group for non-group") 108866 } 108867 if fieldNum <= 0 { 108868 return fmt.Errorf("proto: PluginStaticCredentialsBasicAuth: illegal tag %d (wire type %d)", fieldNum, wire) 108869 } 108870 switch fieldNum { 108871 case 1: 108872 if wireType != 2 { 108873 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 108874 } 108875 var stringLen uint64 108876 for shift := uint(0); ; shift += 7 { 108877 if shift >= 64 { 108878 return ErrIntOverflowTypes 108879 } 108880 if iNdEx >= l { 108881 return io.ErrUnexpectedEOF 108882 } 108883 b := dAtA[iNdEx] 108884 iNdEx++ 108885 stringLen |= uint64(b&0x7F) << shift 108886 if b < 0x80 { 108887 break 108888 } 108889 } 108890 intStringLen := int(stringLen) 108891 if intStringLen < 0 { 108892 return ErrInvalidLengthTypes 108893 } 108894 postIndex := iNdEx + intStringLen 108895 if postIndex < 0 { 108896 return ErrInvalidLengthTypes 108897 } 108898 if postIndex > l { 108899 return io.ErrUnexpectedEOF 108900 } 108901 m.Username = string(dAtA[iNdEx:postIndex]) 108902 iNdEx = postIndex 108903 case 2: 108904 if wireType != 2 { 108905 return fmt.Errorf("proto: wrong wireType = %d for field Password", wireType) 108906 } 108907 var stringLen uint64 108908 for shift := uint(0); ; shift += 7 { 108909 if shift >= 64 { 108910 return ErrIntOverflowTypes 108911 } 108912 if iNdEx >= l { 108913 return io.ErrUnexpectedEOF 108914 } 108915 b := dAtA[iNdEx] 108916 iNdEx++ 108917 stringLen |= uint64(b&0x7F) << shift 108918 if b < 0x80 { 108919 break 108920 } 108921 } 108922 intStringLen := int(stringLen) 108923 if intStringLen < 0 { 108924 return ErrInvalidLengthTypes 108925 } 108926 postIndex := iNdEx + intStringLen 108927 if postIndex < 0 { 108928 return ErrInvalidLengthTypes 108929 } 108930 if postIndex > l { 108931 return io.ErrUnexpectedEOF 108932 } 108933 m.Password = string(dAtA[iNdEx:postIndex]) 108934 iNdEx = postIndex 108935 default: 108936 iNdEx = preIndex 108937 skippy, err := skipTypes(dAtA[iNdEx:]) 108938 if err != nil { 108939 return err 108940 } 108941 if (skippy < 0) || (iNdEx+skippy) < 0 { 108942 return ErrInvalidLengthTypes 108943 } 108944 if (iNdEx + skippy) > l { 108945 return io.ErrUnexpectedEOF 108946 } 108947 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 108948 iNdEx += skippy 108949 } 108950 } 108951 108952 if iNdEx > l { 108953 return io.ErrUnexpectedEOF 108954 } 108955 return nil 108956 } 108957 func (m *PluginStaticCredentialsOAuthClientSecret) Unmarshal(dAtA []byte) error { 108958 l := len(dAtA) 108959 iNdEx := 0 108960 for iNdEx < l { 108961 preIndex := iNdEx 108962 var wire uint64 108963 for shift := uint(0); ; shift += 7 { 108964 if shift >= 64 { 108965 return ErrIntOverflowTypes 108966 } 108967 if iNdEx >= l { 108968 return io.ErrUnexpectedEOF 108969 } 108970 b := dAtA[iNdEx] 108971 iNdEx++ 108972 wire |= uint64(b&0x7F) << shift 108973 if b < 0x80 { 108974 break 108975 } 108976 } 108977 fieldNum := int32(wire >> 3) 108978 wireType := int(wire & 0x7) 108979 if wireType == 4 { 108980 return fmt.Errorf("proto: PluginStaticCredentialsOAuthClientSecret: wiretype end group for non-group") 108981 } 108982 if fieldNum <= 0 { 108983 return fmt.Errorf("proto: PluginStaticCredentialsOAuthClientSecret: illegal tag %d (wire type %d)", fieldNum, wire) 108984 } 108985 switch fieldNum { 108986 case 1: 108987 if wireType != 2 { 108988 return fmt.Errorf("proto: wrong wireType = %d for field ClientId", wireType) 108989 } 108990 var stringLen uint64 108991 for shift := uint(0); ; shift += 7 { 108992 if shift >= 64 { 108993 return ErrIntOverflowTypes 108994 } 108995 if iNdEx >= l { 108996 return io.ErrUnexpectedEOF 108997 } 108998 b := dAtA[iNdEx] 108999 iNdEx++ 109000 stringLen |= uint64(b&0x7F) << shift 109001 if b < 0x80 { 109002 break 109003 } 109004 } 109005 intStringLen := int(stringLen) 109006 if intStringLen < 0 { 109007 return ErrInvalidLengthTypes 109008 } 109009 postIndex := iNdEx + intStringLen 109010 if postIndex < 0 { 109011 return ErrInvalidLengthTypes 109012 } 109013 if postIndex > l { 109014 return io.ErrUnexpectedEOF 109015 } 109016 m.ClientId = string(dAtA[iNdEx:postIndex]) 109017 iNdEx = postIndex 109018 case 2: 109019 if wireType != 2 { 109020 return fmt.Errorf("proto: wrong wireType = %d for field ClientSecret", wireType) 109021 } 109022 var stringLen uint64 109023 for shift := uint(0); ; shift += 7 { 109024 if shift >= 64 { 109025 return ErrIntOverflowTypes 109026 } 109027 if iNdEx >= l { 109028 return io.ErrUnexpectedEOF 109029 } 109030 b := dAtA[iNdEx] 109031 iNdEx++ 109032 stringLen |= uint64(b&0x7F) << shift 109033 if b < 0x80 { 109034 break 109035 } 109036 } 109037 intStringLen := int(stringLen) 109038 if intStringLen < 0 { 109039 return ErrInvalidLengthTypes 109040 } 109041 postIndex := iNdEx + intStringLen 109042 if postIndex < 0 { 109043 return ErrInvalidLengthTypes 109044 } 109045 if postIndex > l { 109046 return io.ErrUnexpectedEOF 109047 } 109048 m.ClientSecret = string(dAtA[iNdEx:postIndex]) 109049 iNdEx = postIndex 109050 default: 109051 iNdEx = preIndex 109052 skippy, err := skipTypes(dAtA[iNdEx:]) 109053 if err != nil { 109054 return err 109055 } 109056 if (skippy < 0) || (iNdEx+skippy) < 0 { 109057 return ErrInvalidLengthTypes 109058 } 109059 if (iNdEx + skippy) > l { 109060 return io.ErrUnexpectedEOF 109061 } 109062 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 109063 iNdEx += skippy 109064 } 109065 } 109066 109067 if iNdEx > l { 109068 return io.ErrUnexpectedEOF 109069 } 109070 return nil 109071 } 109072 func (m *SAMLIdPServiceProviderV1) Unmarshal(dAtA []byte) error { 109073 l := len(dAtA) 109074 iNdEx := 0 109075 for iNdEx < l { 109076 preIndex := iNdEx 109077 var wire uint64 109078 for shift := uint(0); ; shift += 7 { 109079 if shift >= 64 { 109080 return ErrIntOverflowTypes 109081 } 109082 if iNdEx >= l { 109083 return io.ErrUnexpectedEOF 109084 } 109085 b := dAtA[iNdEx] 109086 iNdEx++ 109087 wire |= uint64(b&0x7F) << shift 109088 if b < 0x80 { 109089 break 109090 } 109091 } 109092 fieldNum := int32(wire >> 3) 109093 wireType := int(wire & 0x7) 109094 if wireType == 4 { 109095 return fmt.Errorf("proto: SAMLIdPServiceProviderV1: wiretype end group for non-group") 109096 } 109097 if fieldNum <= 0 { 109098 return fmt.Errorf("proto: SAMLIdPServiceProviderV1: illegal tag %d (wire type %d)", fieldNum, wire) 109099 } 109100 switch fieldNum { 109101 case 1: 109102 if wireType != 2 { 109103 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 109104 } 109105 var msglen int 109106 for shift := uint(0); ; shift += 7 { 109107 if shift >= 64 { 109108 return ErrIntOverflowTypes 109109 } 109110 if iNdEx >= l { 109111 return io.ErrUnexpectedEOF 109112 } 109113 b := dAtA[iNdEx] 109114 iNdEx++ 109115 msglen |= int(b&0x7F) << shift 109116 if b < 0x80 { 109117 break 109118 } 109119 } 109120 if msglen < 0 { 109121 return ErrInvalidLengthTypes 109122 } 109123 postIndex := iNdEx + msglen 109124 if postIndex < 0 { 109125 return ErrInvalidLengthTypes 109126 } 109127 if postIndex > l { 109128 return io.ErrUnexpectedEOF 109129 } 109130 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 109131 return err 109132 } 109133 iNdEx = postIndex 109134 case 2: 109135 if wireType != 2 { 109136 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 109137 } 109138 var msglen int 109139 for shift := uint(0); ; shift += 7 { 109140 if shift >= 64 { 109141 return ErrIntOverflowTypes 109142 } 109143 if iNdEx >= l { 109144 return io.ErrUnexpectedEOF 109145 } 109146 b := dAtA[iNdEx] 109147 iNdEx++ 109148 msglen |= int(b&0x7F) << shift 109149 if b < 0x80 { 109150 break 109151 } 109152 } 109153 if msglen < 0 { 109154 return ErrInvalidLengthTypes 109155 } 109156 postIndex := iNdEx + msglen 109157 if postIndex < 0 { 109158 return ErrInvalidLengthTypes 109159 } 109160 if postIndex > l { 109161 return io.ErrUnexpectedEOF 109162 } 109163 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 109164 return err 109165 } 109166 iNdEx = postIndex 109167 default: 109168 iNdEx = preIndex 109169 skippy, err := skipTypes(dAtA[iNdEx:]) 109170 if err != nil { 109171 return err 109172 } 109173 if (skippy < 0) || (iNdEx+skippy) < 0 { 109174 return ErrInvalidLengthTypes 109175 } 109176 if (iNdEx + skippy) > l { 109177 return io.ErrUnexpectedEOF 109178 } 109179 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 109180 iNdEx += skippy 109181 } 109182 } 109183 109184 if iNdEx > l { 109185 return io.ErrUnexpectedEOF 109186 } 109187 return nil 109188 } 109189 func (m *SAMLIdPServiceProviderSpecV1) Unmarshal(dAtA []byte) error { 109190 l := len(dAtA) 109191 iNdEx := 0 109192 for iNdEx < l { 109193 preIndex := iNdEx 109194 var wire uint64 109195 for shift := uint(0); ; shift += 7 { 109196 if shift >= 64 { 109197 return ErrIntOverflowTypes 109198 } 109199 if iNdEx >= l { 109200 return io.ErrUnexpectedEOF 109201 } 109202 b := dAtA[iNdEx] 109203 iNdEx++ 109204 wire |= uint64(b&0x7F) << shift 109205 if b < 0x80 { 109206 break 109207 } 109208 } 109209 fieldNum := int32(wire >> 3) 109210 wireType := int(wire & 0x7) 109211 if wireType == 4 { 109212 return fmt.Errorf("proto: SAMLIdPServiceProviderSpecV1: wiretype end group for non-group") 109213 } 109214 if fieldNum <= 0 { 109215 return fmt.Errorf("proto: SAMLIdPServiceProviderSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 109216 } 109217 switch fieldNum { 109218 case 1: 109219 if wireType != 2 { 109220 return fmt.Errorf("proto: wrong wireType = %d for field EntityDescriptor", wireType) 109221 } 109222 var stringLen uint64 109223 for shift := uint(0); ; shift += 7 { 109224 if shift >= 64 { 109225 return ErrIntOverflowTypes 109226 } 109227 if iNdEx >= l { 109228 return io.ErrUnexpectedEOF 109229 } 109230 b := dAtA[iNdEx] 109231 iNdEx++ 109232 stringLen |= uint64(b&0x7F) << shift 109233 if b < 0x80 { 109234 break 109235 } 109236 } 109237 intStringLen := int(stringLen) 109238 if intStringLen < 0 { 109239 return ErrInvalidLengthTypes 109240 } 109241 postIndex := iNdEx + intStringLen 109242 if postIndex < 0 { 109243 return ErrInvalidLengthTypes 109244 } 109245 if postIndex > l { 109246 return io.ErrUnexpectedEOF 109247 } 109248 m.EntityDescriptor = string(dAtA[iNdEx:postIndex]) 109249 iNdEx = postIndex 109250 case 2: 109251 if wireType != 2 { 109252 return fmt.Errorf("proto: wrong wireType = %d for field EntityID", wireType) 109253 } 109254 var stringLen uint64 109255 for shift := uint(0); ; shift += 7 { 109256 if shift >= 64 { 109257 return ErrIntOverflowTypes 109258 } 109259 if iNdEx >= l { 109260 return io.ErrUnexpectedEOF 109261 } 109262 b := dAtA[iNdEx] 109263 iNdEx++ 109264 stringLen |= uint64(b&0x7F) << shift 109265 if b < 0x80 { 109266 break 109267 } 109268 } 109269 intStringLen := int(stringLen) 109270 if intStringLen < 0 { 109271 return ErrInvalidLengthTypes 109272 } 109273 postIndex := iNdEx + intStringLen 109274 if postIndex < 0 { 109275 return ErrInvalidLengthTypes 109276 } 109277 if postIndex > l { 109278 return io.ErrUnexpectedEOF 109279 } 109280 m.EntityID = string(dAtA[iNdEx:postIndex]) 109281 iNdEx = postIndex 109282 case 3: 109283 if wireType != 2 { 109284 return fmt.Errorf("proto: wrong wireType = %d for field ACSURL", wireType) 109285 } 109286 var stringLen uint64 109287 for shift := uint(0); ; shift += 7 { 109288 if shift >= 64 { 109289 return ErrIntOverflowTypes 109290 } 109291 if iNdEx >= l { 109292 return io.ErrUnexpectedEOF 109293 } 109294 b := dAtA[iNdEx] 109295 iNdEx++ 109296 stringLen |= uint64(b&0x7F) << shift 109297 if b < 0x80 { 109298 break 109299 } 109300 } 109301 intStringLen := int(stringLen) 109302 if intStringLen < 0 { 109303 return ErrInvalidLengthTypes 109304 } 109305 postIndex := iNdEx + intStringLen 109306 if postIndex < 0 { 109307 return ErrInvalidLengthTypes 109308 } 109309 if postIndex > l { 109310 return io.ErrUnexpectedEOF 109311 } 109312 m.ACSURL = string(dAtA[iNdEx:postIndex]) 109313 iNdEx = postIndex 109314 case 4: 109315 if wireType != 2 { 109316 return fmt.Errorf("proto: wrong wireType = %d for field AttributeMapping", wireType) 109317 } 109318 var msglen int 109319 for shift := uint(0); ; shift += 7 { 109320 if shift >= 64 { 109321 return ErrIntOverflowTypes 109322 } 109323 if iNdEx >= l { 109324 return io.ErrUnexpectedEOF 109325 } 109326 b := dAtA[iNdEx] 109327 iNdEx++ 109328 msglen |= int(b&0x7F) << shift 109329 if b < 0x80 { 109330 break 109331 } 109332 } 109333 if msglen < 0 { 109334 return ErrInvalidLengthTypes 109335 } 109336 postIndex := iNdEx + msglen 109337 if postIndex < 0 { 109338 return ErrInvalidLengthTypes 109339 } 109340 if postIndex > l { 109341 return io.ErrUnexpectedEOF 109342 } 109343 m.AttributeMapping = append(m.AttributeMapping, &SAMLAttributeMapping{}) 109344 if err := m.AttributeMapping[len(m.AttributeMapping)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 109345 return err 109346 } 109347 iNdEx = postIndex 109348 case 5: 109349 if wireType != 2 { 109350 return fmt.Errorf("proto: wrong wireType = %d for field Preset", wireType) 109351 } 109352 var stringLen uint64 109353 for shift := uint(0); ; shift += 7 { 109354 if shift >= 64 { 109355 return ErrIntOverflowTypes 109356 } 109357 if iNdEx >= l { 109358 return io.ErrUnexpectedEOF 109359 } 109360 b := dAtA[iNdEx] 109361 iNdEx++ 109362 stringLen |= uint64(b&0x7F) << shift 109363 if b < 0x80 { 109364 break 109365 } 109366 } 109367 intStringLen := int(stringLen) 109368 if intStringLen < 0 { 109369 return ErrInvalidLengthTypes 109370 } 109371 postIndex := iNdEx + intStringLen 109372 if postIndex < 0 { 109373 return ErrInvalidLengthTypes 109374 } 109375 if postIndex > l { 109376 return io.ErrUnexpectedEOF 109377 } 109378 m.Preset = string(dAtA[iNdEx:postIndex]) 109379 iNdEx = postIndex 109380 case 6: 109381 if wireType != 2 { 109382 return fmt.Errorf("proto: wrong wireType = %d for field RelayState", wireType) 109383 } 109384 var stringLen uint64 109385 for shift := uint(0); ; shift += 7 { 109386 if shift >= 64 { 109387 return ErrIntOverflowTypes 109388 } 109389 if iNdEx >= l { 109390 return io.ErrUnexpectedEOF 109391 } 109392 b := dAtA[iNdEx] 109393 iNdEx++ 109394 stringLen |= uint64(b&0x7F) << shift 109395 if b < 0x80 { 109396 break 109397 } 109398 } 109399 intStringLen := int(stringLen) 109400 if intStringLen < 0 { 109401 return ErrInvalidLengthTypes 109402 } 109403 postIndex := iNdEx + intStringLen 109404 if postIndex < 0 { 109405 return ErrInvalidLengthTypes 109406 } 109407 if postIndex > l { 109408 return io.ErrUnexpectedEOF 109409 } 109410 m.RelayState = string(dAtA[iNdEx:postIndex]) 109411 iNdEx = postIndex 109412 default: 109413 iNdEx = preIndex 109414 skippy, err := skipTypes(dAtA[iNdEx:]) 109415 if err != nil { 109416 return err 109417 } 109418 if (skippy < 0) || (iNdEx+skippy) < 0 { 109419 return ErrInvalidLengthTypes 109420 } 109421 if (iNdEx + skippy) > l { 109422 return io.ErrUnexpectedEOF 109423 } 109424 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 109425 iNdEx += skippy 109426 } 109427 } 109428 109429 if iNdEx > l { 109430 return io.ErrUnexpectedEOF 109431 } 109432 return nil 109433 } 109434 func (m *SAMLAttributeMapping) Unmarshal(dAtA []byte) error { 109435 l := len(dAtA) 109436 iNdEx := 0 109437 for iNdEx < l { 109438 preIndex := iNdEx 109439 var wire uint64 109440 for shift := uint(0); ; shift += 7 { 109441 if shift >= 64 { 109442 return ErrIntOverflowTypes 109443 } 109444 if iNdEx >= l { 109445 return io.ErrUnexpectedEOF 109446 } 109447 b := dAtA[iNdEx] 109448 iNdEx++ 109449 wire |= uint64(b&0x7F) << shift 109450 if b < 0x80 { 109451 break 109452 } 109453 } 109454 fieldNum := int32(wire >> 3) 109455 wireType := int(wire & 0x7) 109456 if wireType == 4 { 109457 return fmt.Errorf("proto: SAMLAttributeMapping: wiretype end group for non-group") 109458 } 109459 if fieldNum <= 0 { 109460 return fmt.Errorf("proto: SAMLAttributeMapping: illegal tag %d (wire type %d)", fieldNum, wire) 109461 } 109462 switch fieldNum { 109463 case 1: 109464 if wireType != 2 { 109465 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 109466 } 109467 var stringLen uint64 109468 for shift := uint(0); ; shift += 7 { 109469 if shift >= 64 { 109470 return ErrIntOverflowTypes 109471 } 109472 if iNdEx >= l { 109473 return io.ErrUnexpectedEOF 109474 } 109475 b := dAtA[iNdEx] 109476 iNdEx++ 109477 stringLen |= uint64(b&0x7F) << shift 109478 if b < 0x80 { 109479 break 109480 } 109481 } 109482 intStringLen := int(stringLen) 109483 if intStringLen < 0 { 109484 return ErrInvalidLengthTypes 109485 } 109486 postIndex := iNdEx + intStringLen 109487 if postIndex < 0 { 109488 return ErrInvalidLengthTypes 109489 } 109490 if postIndex > l { 109491 return io.ErrUnexpectedEOF 109492 } 109493 m.Name = string(dAtA[iNdEx:postIndex]) 109494 iNdEx = postIndex 109495 case 2: 109496 if wireType != 2 { 109497 return fmt.Errorf("proto: wrong wireType = %d for field NameFormat", wireType) 109498 } 109499 var stringLen uint64 109500 for shift := uint(0); ; shift += 7 { 109501 if shift >= 64 { 109502 return ErrIntOverflowTypes 109503 } 109504 if iNdEx >= l { 109505 return io.ErrUnexpectedEOF 109506 } 109507 b := dAtA[iNdEx] 109508 iNdEx++ 109509 stringLen |= uint64(b&0x7F) << shift 109510 if b < 0x80 { 109511 break 109512 } 109513 } 109514 intStringLen := int(stringLen) 109515 if intStringLen < 0 { 109516 return ErrInvalidLengthTypes 109517 } 109518 postIndex := iNdEx + intStringLen 109519 if postIndex < 0 { 109520 return ErrInvalidLengthTypes 109521 } 109522 if postIndex > l { 109523 return io.ErrUnexpectedEOF 109524 } 109525 m.NameFormat = string(dAtA[iNdEx:postIndex]) 109526 iNdEx = postIndex 109527 case 3: 109528 if wireType != 2 { 109529 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 109530 } 109531 var stringLen uint64 109532 for shift := uint(0); ; shift += 7 { 109533 if shift >= 64 { 109534 return ErrIntOverflowTypes 109535 } 109536 if iNdEx >= l { 109537 return io.ErrUnexpectedEOF 109538 } 109539 b := dAtA[iNdEx] 109540 iNdEx++ 109541 stringLen |= uint64(b&0x7F) << shift 109542 if b < 0x80 { 109543 break 109544 } 109545 } 109546 intStringLen := int(stringLen) 109547 if intStringLen < 0 { 109548 return ErrInvalidLengthTypes 109549 } 109550 postIndex := iNdEx + intStringLen 109551 if postIndex < 0 { 109552 return ErrInvalidLengthTypes 109553 } 109554 if postIndex > l { 109555 return io.ErrUnexpectedEOF 109556 } 109557 m.Value = string(dAtA[iNdEx:postIndex]) 109558 iNdEx = postIndex 109559 default: 109560 iNdEx = preIndex 109561 skippy, err := skipTypes(dAtA[iNdEx:]) 109562 if err != nil { 109563 return err 109564 } 109565 if (skippy < 0) || (iNdEx+skippy) < 0 { 109566 return ErrInvalidLengthTypes 109567 } 109568 if (iNdEx + skippy) > l { 109569 return io.ErrUnexpectedEOF 109570 } 109571 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 109572 iNdEx += skippy 109573 } 109574 } 109575 109576 if iNdEx > l { 109577 return io.ErrUnexpectedEOF 109578 } 109579 return nil 109580 } 109581 func (m *IdPOptions) Unmarshal(dAtA []byte) error { 109582 l := len(dAtA) 109583 iNdEx := 0 109584 for iNdEx < l { 109585 preIndex := iNdEx 109586 var wire uint64 109587 for shift := uint(0); ; shift += 7 { 109588 if shift >= 64 { 109589 return ErrIntOverflowTypes 109590 } 109591 if iNdEx >= l { 109592 return io.ErrUnexpectedEOF 109593 } 109594 b := dAtA[iNdEx] 109595 iNdEx++ 109596 wire |= uint64(b&0x7F) << shift 109597 if b < 0x80 { 109598 break 109599 } 109600 } 109601 fieldNum := int32(wire >> 3) 109602 wireType := int(wire & 0x7) 109603 if wireType == 4 { 109604 return fmt.Errorf("proto: IdPOptions: wiretype end group for non-group") 109605 } 109606 if fieldNum <= 0 { 109607 return fmt.Errorf("proto: IdPOptions: illegal tag %d (wire type %d)", fieldNum, wire) 109608 } 109609 switch fieldNum { 109610 case 1: 109611 if wireType != 2 { 109612 return fmt.Errorf("proto: wrong wireType = %d for field SAML", wireType) 109613 } 109614 var msglen int 109615 for shift := uint(0); ; shift += 7 { 109616 if shift >= 64 { 109617 return ErrIntOverflowTypes 109618 } 109619 if iNdEx >= l { 109620 return io.ErrUnexpectedEOF 109621 } 109622 b := dAtA[iNdEx] 109623 iNdEx++ 109624 msglen |= int(b&0x7F) << shift 109625 if b < 0x80 { 109626 break 109627 } 109628 } 109629 if msglen < 0 { 109630 return ErrInvalidLengthTypes 109631 } 109632 postIndex := iNdEx + msglen 109633 if postIndex < 0 { 109634 return ErrInvalidLengthTypes 109635 } 109636 if postIndex > l { 109637 return io.ErrUnexpectedEOF 109638 } 109639 if m.SAML == nil { 109640 m.SAML = &IdPSAMLOptions{} 109641 } 109642 if err := m.SAML.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 109643 return err 109644 } 109645 iNdEx = postIndex 109646 default: 109647 iNdEx = preIndex 109648 skippy, err := skipTypes(dAtA[iNdEx:]) 109649 if err != nil { 109650 return err 109651 } 109652 if (skippy < 0) || (iNdEx+skippy) < 0 { 109653 return ErrInvalidLengthTypes 109654 } 109655 if (iNdEx + skippy) > l { 109656 return io.ErrUnexpectedEOF 109657 } 109658 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 109659 iNdEx += skippy 109660 } 109661 } 109662 109663 if iNdEx > l { 109664 return io.ErrUnexpectedEOF 109665 } 109666 return nil 109667 } 109668 func (m *IdPSAMLOptions) Unmarshal(dAtA []byte) error { 109669 l := len(dAtA) 109670 iNdEx := 0 109671 for iNdEx < l { 109672 preIndex := iNdEx 109673 var wire uint64 109674 for shift := uint(0); ; shift += 7 { 109675 if shift >= 64 { 109676 return ErrIntOverflowTypes 109677 } 109678 if iNdEx >= l { 109679 return io.ErrUnexpectedEOF 109680 } 109681 b := dAtA[iNdEx] 109682 iNdEx++ 109683 wire |= uint64(b&0x7F) << shift 109684 if b < 0x80 { 109685 break 109686 } 109687 } 109688 fieldNum := int32(wire >> 3) 109689 wireType := int(wire & 0x7) 109690 if wireType == 4 { 109691 return fmt.Errorf("proto: IdPSAMLOptions: wiretype end group for non-group") 109692 } 109693 if fieldNum <= 0 { 109694 return fmt.Errorf("proto: IdPSAMLOptions: illegal tag %d (wire type %d)", fieldNum, wire) 109695 } 109696 switch fieldNum { 109697 case 1: 109698 if wireType != 2 { 109699 return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) 109700 } 109701 var msglen int 109702 for shift := uint(0); ; shift += 7 { 109703 if shift >= 64 { 109704 return ErrIntOverflowTypes 109705 } 109706 if iNdEx >= l { 109707 return io.ErrUnexpectedEOF 109708 } 109709 b := dAtA[iNdEx] 109710 iNdEx++ 109711 msglen |= int(b&0x7F) << shift 109712 if b < 0x80 { 109713 break 109714 } 109715 } 109716 if msglen < 0 { 109717 return ErrInvalidLengthTypes 109718 } 109719 postIndex := iNdEx + msglen 109720 if postIndex < 0 { 109721 return ErrInvalidLengthTypes 109722 } 109723 if postIndex > l { 109724 return io.ErrUnexpectedEOF 109725 } 109726 if m.Enabled == nil { 109727 m.Enabled = &BoolOption{} 109728 } 109729 if err := m.Enabled.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 109730 return err 109731 } 109732 iNdEx = postIndex 109733 default: 109734 iNdEx = preIndex 109735 skippy, err := skipTypes(dAtA[iNdEx:]) 109736 if err != nil { 109737 return err 109738 } 109739 if (skippy < 0) || (iNdEx+skippy) < 0 { 109740 return ErrInvalidLengthTypes 109741 } 109742 if (iNdEx + skippy) > l { 109743 return io.ErrUnexpectedEOF 109744 } 109745 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 109746 iNdEx += skippy 109747 } 109748 } 109749 109750 if iNdEx > l { 109751 return io.ErrUnexpectedEOF 109752 } 109753 return nil 109754 } 109755 func (m *KubernetesResourceV1) Unmarshal(dAtA []byte) error { 109756 l := len(dAtA) 109757 iNdEx := 0 109758 for iNdEx < l { 109759 preIndex := iNdEx 109760 var wire uint64 109761 for shift := uint(0); ; shift += 7 { 109762 if shift >= 64 { 109763 return ErrIntOverflowTypes 109764 } 109765 if iNdEx >= l { 109766 return io.ErrUnexpectedEOF 109767 } 109768 b := dAtA[iNdEx] 109769 iNdEx++ 109770 wire |= uint64(b&0x7F) << shift 109771 if b < 0x80 { 109772 break 109773 } 109774 } 109775 fieldNum := int32(wire >> 3) 109776 wireType := int(wire & 0x7) 109777 if wireType == 4 { 109778 return fmt.Errorf("proto: KubernetesResourceV1: wiretype end group for non-group") 109779 } 109780 if fieldNum <= 0 { 109781 return fmt.Errorf("proto: KubernetesResourceV1: illegal tag %d (wire type %d)", fieldNum, wire) 109782 } 109783 switch fieldNum { 109784 case 1: 109785 if wireType != 2 { 109786 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 109787 } 109788 var stringLen uint64 109789 for shift := uint(0); ; shift += 7 { 109790 if shift >= 64 { 109791 return ErrIntOverflowTypes 109792 } 109793 if iNdEx >= l { 109794 return io.ErrUnexpectedEOF 109795 } 109796 b := dAtA[iNdEx] 109797 iNdEx++ 109798 stringLen |= uint64(b&0x7F) << shift 109799 if b < 0x80 { 109800 break 109801 } 109802 } 109803 intStringLen := int(stringLen) 109804 if intStringLen < 0 { 109805 return ErrInvalidLengthTypes 109806 } 109807 postIndex := iNdEx + intStringLen 109808 if postIndex < 0 { 109809 return ErrInvalidLengthTypes 109810 } 109811 if postIndex > l { 109812 return io.ErrUnexpectedEOF 109813 } 109814 m.Kind = string(dAtA[iNdEx:postIndex]) 109815 iNdEx = postIndex 109816 case 2: 109817 if wireType != 2 { 109818 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 109819 } 109820 var stringLen uint64 109821 for shift := uint(0); ; shift += 7 { 109822 if shift >= 64 { 109823 return ErrIntOverflowTypes 109824 } 109825 if iNdEx >= l { 109826 return io.ErrUnexpectedEOF 109827 } 109828 b := dAtA[iNdEx] 109829 iNdEx++ 109830 stringLen |= uint64(b&0x7F) << shift 109831 if b < 0x80 { 109832 break 109833 } 109834 } 109835 intStringLen := int(stringLen) 109836 if intStringLen < 0 { 109837 return ErrInvalidLengthTypes 109838 } 109839 postIndex := iNdEx + intStringLen 109840 if postIndex < 0 { 109841 return ErrInvalidLengthTypes 109842 } 109843 if postIndex > l { 109844 return io.ErrUnexpectedEOF 109845 } 109846 m.SubKind = string(dAtA[iNdEx:postIndex]) 109847 iNdEx = postIndex 109848 case 3: 109849 if wireType != 2 { 109850 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 109851 } 109852 var stringLen uint64 109853 for shift := uint(0); ; shift += 7 { 109854 if shift >= 64 { 109855 return ErrIntOverflowTypes 109856 } 109857 if iNdEx >= l { 109858 return io.ErrUnexpectedEOF 109859 } 109860 b := dAtA[iNdEx] 109861 iNdEx++ 109862 stringLen |= uint64(b&0x7F) << shift 109863 if b < 0x80 { 109864 break 109865 } 109866 } 109867 intStringLen := int(stringLen) 109868 if intStringLen < 0 { 109869 return ErrInvalidLengthTypes 109870 } 109871 postIndex := iNdEx + intStringLen 109872 if postIndex < 0 { 109873 return ErrInvalidLengthTypes 109874 } 109875 if postIndex > l { 109876 return io.ErrUnexpectedEOF 109877 } 109878 m.Version = string(dAtA[iNdEx:postIndex]) 109879 iNdEx = postIndex 109880 case 4: 109881 if wireType != 2 { 109882 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 109883 } 109884 var msglen int 109885 for shift := uint(0); ; shift += 7 { 109886 if shift >= 64 { 109887 return ErrIntOverflowTypes 109888 } 109889 if iNdEx >= l { 109890 return io.ErrUnexpectedEOF 109891 } 109892 b := dAtA[iNdEx] 109893 iNdEx++ 109894 msglen |= int(b&0x7F) << shift 109895 if b < 0x80 { 109896 break 109897 } 109898 } 109899 if msglen < 0 { 109900 return ErrInvalidLengthTypes 109901 } 109902 postIndex := iNdEx + msglen 109903 if postIndex < 0 { 109904 return ErrInvalidLengthTypes 109905 } 109906 if postIndex > l { 109907 return io.ErrUnexpectedEOF 109908 } 109909 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 109910 return err 109911 } 109912 iNdEx = postIndex 109913 case 5: 109914 if wireType != 2 { 109915 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 109916 } 109917 var msglen int 109918 for shift := uint(0); ; shift += 7 { 109919 if shift >= 64 { 109920 return ErrIntOverflowTypes 109921 } 109922 if iNdEx >= l { 109923 return io.ErrUnexpectedEOF 109924 } 109925 b := dAtA[iNdEx] 109926 iNdEx++ 109927 msglen |= int(b&0x7F) << shift 109928 if b < 0x80 { 109929 break 109930 } 109931 } 109932 if msglen < 0 { 109933 return ErrInvalidLengthTypes 109934 } 109935 postIndex := iNdEx + msglen 109936 if postIndex < 0 { 109937 return ErrInvalidLengthTypes 109938 } 109939 if postIndex > l { 109940 return io.ErrUnexpectedEOF 109941 } 109942 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 109943 return err 109944 } 109945 iNdEx = postIndex 109946 default: 109947 iNdEx = preIndex 109948 skippy, err := skipTypes(dAtA[iNdEx:]) 109949 if err != nil { 109950 return err 109951 } 109952 if (skippy < 0) || (iNdEx+skippy) < 0 { 109953 return ErrInvalidLengthTypes 109954 } 109955 if (iNdEx + skippy) > l { 109956 return io.ErrUnexpectedEOF 109957 } 109958 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 109959 iNdEx += skippy 109960 } 109961 } 109962 109963 if iNdEx > l { 109964 return io.ErrUnexpectedEOF 109965 } 109966 return nil 109967 } 109968 func (m *KubernetesResourceSpecV1) Unmarshal(dAtA []byte) error { 109969 l := len(dAtA) 109970 iNdEx := 0 109971 for iNdEx < l { 109972 preIndex := iNdEx 109973 var wire uint64 109974 for shift := uint(0); ; shift += 7 { 109975 if shift >= 64 { 109976 return ErrIntOverflowTypes 109977 } 109978 if iNdEx >= l { 109979 return io.ErrUnexpectedEOF 109980 } 109981 b := dAtA[iNdEx] 109982 iNdEx++ 109983 wire |= uint64(b&0x7F) << shift 109984 if b < 0x80 { 109985 break 109986 } 109987 } 109988 fieldNum := int32(wire >> 3) 109989 wireType := int(wire & 0x7) 109990 if wireType == 4 { 109991 return fmt.Errorf("proto: KubernetesResourceSpecV1: wiretype end group for non-group") 109992 } 109993 if fieldNum <= 0 { 109994 return fmt.Errorf("proto: KubernetesResourceSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 109995 } 109996 switch fieldNum { 109997 case 1: 109998 if wireType != 2 { 109999 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 110000 } 110001 var stringLen uint64 110002 for shift := uint(0); ; shift += 7 { 110003 if shift >= 64 { 110004 return ErrIntOverflowTypes 110005 } 110006 if iNdEx >= l { 110007 return io.ErrUnexpectedEOF 110008 } 110009 b := dAtA[iNdEx] 110010 iNdEx++ 110011 stringLen |= uint64(b&0x7F) << shift 110012 if b < 0x80 { 110013 break 110014 } 110015 } 110016 intStringLen := int(stringLen) 110017 if intStringLen < 0 { 110018 return ErrInvalidLengthTypes 110019 } 110020 postIndex := iNdEx + intStringLen 110021 if postIndex < 0 { 110022 return ErrInvalidLengthTypes 110023 } 110024 if postIndex > l { 110025 return io.ErrUnexpectedEOF 110026 } 110027 m.Namespace = string(dAtA[iNdEx:postIndex]) 110028 iNdEx = postIndex 110029 default: 110030 iNdEx = preIndex 110031 skippy, err := skipTypes(dAtA[iNdEx:]) 110032 if err != nil { 110033 return err 110034 } 110035 if (skippy < 0) || (iNdEx+skippy) < 0 { 110036 return ErrInvalidLengthTypes 110037 } 110038 if (iNdEx + skippy) > l { 110039 return io.ErrUnexpectedEOF 110040 } 110041 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 110042 iNdEx += skippy 110043 } 110044 } 110045 110046 if iNdEx > l { 110047 return io.ErrUnexpectedEOF 110048 } 110049 return nil 110050 } 110051 func (m *ClusterMaintenanceConfigV1) Unmarshal(dAtA []byte) error { 110052 l := len(dAtA) 110053 iNdEx := 0 110054 for iNdEx < l { 110055 preIndex := iNdEx 110056 var wire uint64 110057 for shift := uint(0); ; shift += 7 { 110058 if shift >= 64 { 110059 return ErrIntOverflowTypes 110060 } 110061 if iNdEx >= l { 110062 return io.ErrUnexpectedEOF 110063 } 110064 b := dAtA[iNdEx] 110065 iNdEx++ 110066 wire |= uint64(b&0x7F) << shift 110067 if b < 0x80 { 110068 break 110069 } 110070 } 110071 fieldNum := int32(wire >> 3) 110072 wireType := int(wire & 0x7) 110073 if wireType == 4 { 110074 return fmt.Errorf("proto: ClusterMaintenanceConfigV1: wiretype end group for non-group") 110075 } 110076 if fieldNum <= 0 { 110077 return fmt.Errorf("proto: ClusterMaintenanceConfigV1: illegal tag %d (wire type %d)", fieldNum, wire) 110078 } 110079 switch fieldNum { 110080 case 1: 110081 if wireType != 2 { 110082 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 110083 } 110084 var msglen int 110085 for shift := uint(0); ; shift += 7 { 110086 if shift >= 64 { 110087 return ErrIntOverflowTypes 110088 } 110089 if iNdEx >= l { 110090 return io.ErrUnexpectedEOF 110091 } 110092 b := dAtA[iNdEx] 110093 iNdEx++ 110094 msglen |= int(b&0x7F) << shift 110095 if b < 0x80 { 110096 break 110097 } 110098 } 110099 if msglen < 0 { 110100 return ErrInvalidLengthTypes 110101 } 110102 postIndex := iNdEx + msglen 110103 if postIndex < 0 { 110104 return ErrInvalidLengthTypes 110105 } 110106 if postIndex > l { 110107 return io.ErrUnexpectedEOF 110108 } 110109 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 110110 return err 110111 } 110112 iNdEx = postIndex 110113 case 2: 110114 if wireType != 2 { 110115 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 110116 } 110117 var msglen int 110118 for shift := uint(0); ; shift += 7 { 110119 if shift >= 64 { 110120 return ErrIntOverflowTypes 110121 } 110122 if iNdEx >= l { 110123 return io.ErrUnexpectedEOF 110124 } 110125 b := dAtA[iNdEx] 110126 iNdEx++ 110127 msglen |= int(b&0x7F) << shift 110128 if b < 0x80 { 110129 break 110130 } 110131 } 110132 if msglen < 0 { 110133 return ErrInvalidLengthTypes 110134 } 110135 postIndex := iNdEx + msglen 110136 if postIndex < 0 { 110137 return ErrInvalidLengthTypes 110138 } 110139 if postIndex > l { 110140 return io.ErrUnexpectedEOF 110141 } 110142 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 110143 return err 110144 } 110145 iNdEx = postIndex 110146 case 3: 110147 if wireType != 0 { 110148 return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) 110149 } 110150 m.Nonce = 0 110151 for shift := uint(0); ; shift += 7 { 110152 if shift >= 64 { 110153 return ErrIntOverflowTypes 110154 } 110155 if iNdEx >= l { 110156 return io.ErrUnexpectedEOF 110157 } 110158 b := dAtA[iNdEx] 110159 iNdEx++ 110160 m.Nonce |= uint64(b&0x7F) << shift 110161 if b < 0x80 { 110162 break 110163 } 110164 } 110165 default: 110166 iNdEx = preIndex 110167 skippy, err := skipTypes(dAtA[iNdEx:]) 110168 if err != nil { 110169 return err 110170 } 110171 if (skippy < 0) || (iNdEx+skippy) < 0 { 110172 return ErrInvalidLengthTypes 110173 } 110174 if (iNdEx + skippy) > l { 110175 return io.ErrUnexpectedEOF 110176 } 110177 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 110178 iNdEx += skippy 110179 } 110180 } 110181 110182 if iNdEx > l { 110183 return io.ErrUnexpectedEOF 110184 } 110185 return nil 110186 } 110187 func (m *ClusterMaintenanceConfigSpecV1) Unmarshal(dAtA []byte) error { 110188 l := len(dAtA) 110189 iNdEx := 0 110190 for iNdEx < l { 110191 preIndex := iNdEx 110192 var wire uint64 110193 for shift := uint(0); ; shift += 7 { 110194 if shift >= 64 { 110195 return ErrIntOverflowTypes 110196 } 110197 if iNdEx >= l { 110198 return io.ErrUnexpectedEOF 110199 } 110200 b := dAtA[iNdEx] 110201 iNdEx++ 110202 wire |= uint64(b&0x7F) << shift 110203 if b < 0x80 { 110204 break 110205 } 110206 } 110207 fieldNum := int32(wire >> 3) 110208 wireType := int(wire & 0x7) 110209 if wireType == 4 { 110210 return fmt.Errorf("proto: ClusterMaintenanceConfigSpecV1: wiretype end group for non-group") 110211 } 110212 if fieldNum <= 0 { 110213 return fmt.Errorf("proto: ClusterMaintenanceConfigSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 110214 } 110215 switch fieldNum { 110216 case 1: 110217 if wireType != 2 { 110218 return fmt.Errorf("proto: wrong wireType = %d for field AgentUpgrades", wireType) 110219 } 110220 var msglen int 110221 for shift := uint(0); ; shift += 7 { 110222 if shift >= 64 { 110223 return ErrIntOverflowTypes 110224 } 110225 if iNdEx >= l { 110226 return io.ErrUnexpectedEOF 110227 } 110228 b := dAtA[iNdEx] 110229 iNdEx++ 110230 msglen |= int(b&0x7F) << shift 110231 if b < 0x80 { 110232 break 110233 } 110234 } 110235 if msglen < 0 { 110236 return ErrInvalidLengthTypes 110237 } 110238 postIndex := iNdEx + msglen 110239 if postIndex < 0 { 110240 return ErrInvalidLengthTypes 110241 } 110242 if postIndex > l { 110243 return io.ErrUnexpectedEOF 110244 } 110245 if m.AgentUpgrades == nil { 110246 m.AgentUpgrades = &AgentUpgradeWindow{} 110247 } 110248 if err := m.AgentUpgrades.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 110249 return err 110250 } 110251 iNdEx = postIndex 110252 default: 110253 iNdEx = preIndex 110254 skippy, err := skipTypes(dAtA[iNdEx:]) 110255 if err != nil { 110256 return err 110257 } 110258 if (skippy < 0) || (iNdEx+skippy) < 0 { 110259 return ErrInvalidLengthTypes 110260 } 110261 if (iNdEx + skippy) > l { 110262 return io.ErrUnexpectedEOF 110263 } 110264 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 110265 iNdEx += skippy 110266 } 110267 } 110268 110269 if iNdEx > l { 110270 return io.ErrUnexpectedEOF 110271 } 110272 return nil 110273 } 110274 func (m *AgentUpgradeWindow) Unmarshal(dAtA []byte) error { 110275 l := len(dAtA) 110276 iNdEx := 0 110277 for iNdEx < l { 110278 preIndex := iNdEx 110279 var wire uint64 110280 for shift := uint(0); ; shift += 7 { 110281 if shift >= 64 { 110282 return ErrIntOverflowTypes 110283 } 110284 if iNdEx >= l { 110285 return io.ErrUnexpectedEOF 110286 } 110287 b := dAtA[iNdEx] 110288 iNdEx++ 110289 wire |= uint64(b&0x7F) << shift 110290 if b < 0x80 { 110291 break 110292 } 110293 } 110294 fieldNum := int32(wire >> 3) 110295 wireType := int(wire & 0x7) 110296 if wireType == 4 { 110297 return fmt.Errorf("proto: AgentUpgradeWindow: wiretype end group for non-group") 110298 } 110299 if fieldNum <= 0 { 110300 return fmt.Errorf("proto: AgentUpgradeWindow: illegal tag %d (wire type %d)", fieldNum, wire) 110301 } 110302 switch fieldNum { 110303 case 1: 110304 if wireType != 0 { 110305 return fmt.Errorf("proto: wrong wireType = %d for field UTCStartHour", wireType) 110306 } 110307 m.UTCStartHour = 0 110308 for shift := uint(0); ; shift += 7 { 110309 if shift >= 64 { 110310 return ErrIntOverflowTypes 110311 } 110312 if iNdEx >= l { 110313 return io.ErrUnexpectedEOF 110314 } 110315 b := dAtA[iNdEx] 110316 iNdEx++ 110317 m.UTCStartHour |= uint32(b&0x7F) << shift 110318 if b < 0x80 { 110319 break 110320 } 110321 } 110322 case 2: 110323 if wireType != 2 { 110324 return fmt.Errorf("proto: wrong wireType = %d for field Weekdays", wireType) 110325 } 110326 var stringLen uint64 110327 for shift := uint(0); ; shift += 7 { 110328 if shift >= 64 { 110329 return ErrIntOverflowTypes 110330 } 110331 if iNdEx >= l { 110332 return io.ErrUnexpectedEOF 110333 } 110334 b := dAtA[iNdEx] 110335 iNdEx++ 110336 stringLen |= uint64(b&0x7F) << shift 110337 if b < 0x80 { 110338 break 110339 } 110340 } 110341 intStringLen := int(stringLen) 110342 if intStringLen < 0 { 110343 return ErrInvalidLengthTypes 110344 } 110345 postIndex := iNdEx + intStringLen 110346 if postIndex < 0 { 110347 return ErrInvalidLengthTypes 110348 } 110349 if postIndex > l { 110350 return io.ErrUnexpectedEOF 110351 } 110352 m.Weekdays = append(m.Weekdays, string(dAtA[iNdEx:postIndex])) 110353 iNdEx = postIndex 110354 default: 110355 iNdEx = preIndex 110356 skippy, err := skipTypes(dAtA[iNdEx:]) 110357 if err != nil { 110358 return err 110359 } 110360 if (skippy < 0) || (iNdEx+skippy) < 0 { 110361 return ErrInvalidLengthTypes 110362 } 110363 if (iNdEx + skippy) > l { 110364 return io.ErrUnexpectedEOF 110365 } 110366 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 110367 iNdEx += skippy 110368 } 110369 } 110370 110371 if iNdEx > l { 110372 return io.ErrUnexpectedEOF 110373 } 110374 return nil 110375 } 110376 func (m *ScheduledAgentUpgradeWindow) Unmarshal(dAtA []byte) error { 110377 l := len(dAtA) 110378 iNdEx := 0 110379 for iNdEx < l { 110380 preIndex := iNdEx 110381 var wire uint64 110382 for shift := uint(0); ; shift += 7 { 110383 if shift >= 64 { 110384 return ErrIntOverflowTypes 110385 } 110386 if iNdEx >= l { 110387 return io.ErrUnexpectedEOF 110388 } 110389 b := dAtA[iNdEx] 110390 iNdEx++ 110391 wire |= uint64(b&0x7F) << shift 110392 if b < 0x80 { 110393 break 110394 } 110395 } 110396 fieldNum := int32(wire >> 3) 110397 wireType := int(wire & 0x7) 110398 if wireType == 4 { 110399 return fmt.Errorf("proto: ScheduledAgentUpgradeWindow: wiretype end group for non-group") 110400 } 110401 if fieldNum <= 0 { 110402 return fmt.Errorf("proto: ScheduledAgentUpgradeWindow: illegal tag %d (wire type %d)", fieldNum, wire) 110403 } 110404 switch fieldNum { 110405 case 1: 110406 if wireType != 2 { 110407 return fmt.Errorf("proto: wrong wireType = %d for field Start", wireType) 110408 } 110409 var msglen int 110410 for shift := uint(0); ; shift += 7 { 110411 if shift >= 64 { 110412 return ErrIntOverflowTypes 110413 } 110414 if iNdEx >= l { 110415 return io.ErrUnexpectedEOF 110416 } 110417 b := dAtA[iNdEx] 110418 iNdEx++ 110419 msglen |= int(b&0x7F) << shift 110420 if b < 0x80 { 110421 break 110422 } 110423 } 110424 if msglen < 0 { 110425 return ErrInvalidLengthTypes 110426 } 110427 postIndex := iNdEx + msglen 110428 if postIndex < 0 { 110429 return ErrInvalidLengthTypes 110430 } 110431 if postIndex > l { 110432 return io.ErrUnexpectedEOF 110433 } 110434 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Start, dAtA[iNdEx:postIndex]); err != nil { 110435 return err 110436 } 110437 iNdEx = postIndex 110438 case 2: 110439 if wireType != 2 { 110440 return fmt.Errorf("proto: wrong wireType = %d for field Stop", wireType) 110441 } 110442 var msglen int 110443 for shift := uint(0); ; shift += 7 { 110444 if shift >= 64 { 110445 return ErrIntOverflowTypes 110446 } 110447 if iNdEx >= l { 110448 return io.ErrUnexpectedEOF 110449 } 110450 b := dAtA[iNdEx] 110451 iNdEx++ 110452 msglen |= int(b&0x7F) << shift 110453 if b < 0x80 { 110454 break 110455 } 110456 } 110457 if msglen < 0 { 110458 return ErrInvalidLengthTypes 110459 } 110460 postIndex := iNdEx + msglen 110461 if postIndex < 0 { 110462 return ErrInvalidLengthTypes 110463 } 110464 if postIndex > l { 110465 return io.ErrUnexpectedEOF 110466 } 110467 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Stop, dAtA[iNdEx:postIndex]); err != nil { 110468 return err 110469 } 110470 iNdEx = postIndex 110471 default: 110472 iNdEx = preIndex 110473 skippy, err := skipTypes(dAtA[iNdEx:]) 110474 if err != nil { 110475 return err 110476 } 110477 if (skippy < 0) || (iNdEx+skippy) < 0 { 110478 return ErrInvalidLengthTypes 110479 } 110480 if (iNdEx + skippy) > l { 110481 return io.ErrUnexpectedEOF 110482 } 110483 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 110484 iNdEx += skippy 110485 } 110486 } 110487 110488 if iNdEx > l { 110489 return io.ErrUnexpectedEOF 110490 } 110491 return nil 110492 } 110493 func (m *AgentUpgradeSchedule) Unmarshal(dAtA []byte) error { 110494 l := len(dAtA) 110495 iNdEx := 0 110496 for iNdEx < l { 110497 preIndex := iNdEx 110498 var wire uint64 110499 for shift := uint(0); ; shift += 7 { 110500 if shift >= 64 { 110501 return ErrIntOverflowTypes 110502 } 110503 if iNdEx >= l { 110504 return io.ErrUnexpectedEOF 110505 } 110506 b := dAtA[iNdEx] 110507 iNdEx++ 110508 wire |= uint64(b&0x7F) << shift 110509 if b < 0x80 { 110510 break 110511 } 110512 } 110513 fieldNum := int32(wire >> 3) 110514 wireType := int(wire & 0x7) 110515 if wireType == 4 { 110516 return fmt.Errorf("proto: AgentUpgradeSchedule: wiretype end group for non-group") 110517 } 110518 if fieldNum <= 0 { 110519 return fmt.Errorf("proto: AgentUpgradeSchedule: illegal tag %d (wire type %d)", fieldNum, wire) 110520 } 110521 switch fieldNum { 110522 case 1: 110523 if wireType != 2 { 110524 return fmt.Errorf("proto: wrong wireType = %d for field Windows", wireType) 110525 } 110526 var msglen int 110527 for shift := uint(0); ; shift += 7 { 110528 if shift >= 64 { 110529 return ErrIntOverflowTypes 110530 } 110531 if iNdEx >= l { 110532 return io.ErrUnexpectedEOF 110533 } 110534 b := dAtA[iNdEx] 110535 iNdEx++ 110536 msglen |= int(b&0x7F) << shift 110537 if b < 0x80 { 110538 break 110539 } 110540 } 110541 if msglen < 0 { 110542 return ErrInvalidLengthTypes 110543 } 110544 postIndex := iNdEx + msglen 110545 if postIndex < 0 { 110546 return ErrInvalidLengthTypes 110547 } 110548 if postIndex > l { 110549 return io.ErrUnexpectedEOF 110550 } 110551 m.Windows = append(m.Windows, ScheduledAgentUpgradeWindow{}) 110552 if err := m.Windows[len(m.Windows)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 110553 return err 110554 } 110555 iNdEx = postIndex 110556 default: 110557 iNdEx = preIndex 110558 skippy, err := skipTypes(dAtA[iNdEx:]) 110559 if err != nil { 110560 return err 110561 } 110562 if (skippy < 0) || (iNdEx+skippy) < 0 { 110563 return ErrInvalidLengthTypes 110564 } 110565 if (iNdEx + skippy) > l { 110566 return io.ErrUnexpectedEOF 110567 } 110568 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 110569 iNdEx += skippy 110570 } 110571 } 110572 110573 if iNdEx > l { 110574 return io.ErrUnexpectedEOF 110575 } 110576 return nil 110577 } 110578 func (m *UserGroupV1) Unmarshal(dAtA []byte) error { 110579 l := len(dAtA) 110580 iNdEx := 0 110581 for iNdEx < l { 110582 preIndex := iNdEx 110583 var wire uint64 110584 for shift := uint(0); ; shift += 7 { 110585 if shift >= 64 { 110586 return ErrIntOverflowTypes 110587 } 110588 if iNdEx >= l { 110589 return io.ErrUnexpectedEOF 110590 } 110591 b := dAtA[iNdEx] 110592 iNdEx++ 110593 wire |= uint64(b&0x7F) << shift 110594 if b < 0x80 { 110595 break 110596 } 110597 } 110598 fieldNum := int32(wire >> 3) 110599 wireType := int(wire & 0x7) 110600 if wireType == 4 { 110601 return fmt.Errorf("proto: UserGroupV1: wiretype end group for non-group") 110602 } 110603 if fieldNum <= 0 { 110604 return fmt.Errorf("proto: UserGroupV1: illegal tag %d (wire type %d)", fieldNum, wire) 110605 } 110606 switch fieldNum { 110607 case 1: 110608 if wireType != 2 { 110609 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 110610 } 110611 var msglen int 110612 for shift := uint(0); ; shift += 7 { 110613 if shift >= 64 { 110614 return ErrIntOverflowTypes 110615 } 110616 if iNdEx >= l { 110617 return io.ErrUnexpectedEOF 110618 } 110619 b := dAtA[iNdEx] 110620 iNdEx++ 110621 msglen |= int(b&0x7F) << shift 110622 if b < 0x80 { 110623 break 110624 } 110625 } 110626 if msglen < 0 { 110627 return ErrInvalidLengthTypes 110628 } 110629 postIndex := iNdEx + msglen 110630 if postIndex < 0 { 110631 return ErrInvalidLengthTypes 110632 } 110633 if postIndex > l { 110634 return io.ErrUnexpectedEOF 110635 } 110636 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 110637 return err 110638 } 110639 iNdEx = postIndex 110640 case 2: 110641 if wireType != 2 { 110642 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 110643 } 110644 var msglen int 110645 for shift := uint(0); ; shift += 7 { 110646 if shift >= 64 { 110647 return ErrIntOverflowTypes 110648 } 110649 if iNdEx >= l { 110650 return io.ErrUnexpectedEOF 110651 } 110652 b := dAtA[iNdEx] 110653 iNdEx++ 110654 msglen |= int(b&0x7F) << shift 110655 if b < 0x80 { 110656 break 110657 } 110658 } 110659 if msglen < 0 { 110660 return ErrInvalidLengthTypes 110661 } 110662 postIndex := iNdEx + msglen 110663 if postIndex < 0 { 110664 return ErrInvalidLengthTypes 110665 } 110666 if postIndex > l { 110667 return io.ErrUnexpectedEOF 110668 } 110669 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 110670 return err 110671 } 110672 iNdEx = postIndex 110673 default: 110674 iNdEx = preIndex 110675 skippy, err := skipTypes(dAtA[iNdEx:]) 110676 if err != nil { 110677 return err 110678 } 110679 if (skippy < 0) || (iNdEx+skippy) < 0 { 110680 return ErrInvalidLengthTypes 110681 } 110682 if (iNdEx + skippy) > l { 110683 return io.ErrUnexpectedEOF 110684 } 110685 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 110686 iNdEx += skippy 110687 } 110688 } 110689 110690 if iNdEx > l { 110691 return io.ErrUnexpectedEOF 110692 } 110693 return nil 110694 } 110695 func (m *UserGroupSpecV1) Unmarshal(dAtA []byte) error { 110696 l := len(dAtA) 110697 iNdEx := 0 110698 for iNdEx < l { 110699 preIndex := iNdEx 110700 var wire uint64 110701 for shift := uint(0); ; shift += 7 { 110702 if shift >= 64 { 110703 return ErrIntOverflowTypes 110704 } 110705 if iNdEx >= l { 110706 return io.ErrUnexpectedEOF 110707 } 110708 b := dAtA[iNdEx] 110709 iNdEx++ 110710 wire |= uint64(b&0x7F) << shift 110711 if b < 0x80 { 110712 break 110713 } 110714 } 110715 fieldNum := int32(wire >> 3) 110716 wireType := int(wire & 0x7) 110717 if wireType == 4 { 110718 return fmt.Errorf("proto: UserGroupSpecV1: wiretype end group for non-group") 110719 } 110720 if fieldNum <= 0 { 110721 return fmt.Errorf("proto: UserGroupSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 110722 } 110723 switch fieldNum { 110724 case 1: 110725 if wireType != 2 { 110726 return fmt.Errorf("proto: wrong wireType = %d for field Applications", wireType) 110727 } 110728 var stringLen uint64 110729 for shift := uint(0); ; shift += 7 { 110730 if shift >= 64 { 110731 return ErrIntOverflowTypes 110732 } 110733 if iNdEx >= l { 110734 return io.ErrUnexpectedEOF 110735 } 110736 b := dAtA[iNdEx] 110737 iNdEx++ 110738 stringLen |= uint64(b&0x7F) << shift 110739 if b < 0x80 { 110740 break 110741 } 110742 } 110743 intStringLen := int(stringLen) 110744 if intStringLen < 0 { 110745 return ErrInvalidLengthTypes 110746 } 110747 postIndex := iNdEx + intStringLen 110748 if postIndex < 0 { 110749 return ErrInvalidLengthTypes 110750 } 110751 if postIndex > l { 110752 return io.ErrUnexpectedEOF 110753 } 110754 m.Applications = append(m.Applications, string(dAtA[iNdEx:postIndex])) 110755 iNdEx = postIndex 110756 default: 110757 iNdEx = preIndex 110758 skippy, err := skipTypes(dAtA[iNdEx:]) 110759 if err != nil { 110760 return err 110761 } 110762 if (skippy < 0) || (iNdEx+skippy) < 0 { 110763 return ErrInvalidLengthTypes 110764 } 110765 if (iNdEx + skippy) > l { 110766 return io.ErrUnexpectedEOF 110767 } 110768 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 110769 iNdEx += skippy 110770 } 110771 } 110772 110773 if iNdEx > l { 110774 return io.ErrUnexpectedEOF 110775 } 110776 return nil 110777 } 110778 func (m *OktaImportRuleSpecV1) Unmarshal(dAtA []byte) error { 110779 l := len(dAtA) 110780 iNdEx := 0 110781 for iNdEx < l { 110782 preIndex := iNdEx 110783 var wire uint64 110784 for shift := uint(0); ; shift += 7 { 110785 if shift >= 64 { 110786 return ErrIntOverflowTypes 110787 } 110788 if iNdEx >= l { 110789 return io.ErrUnexpectedEOF 110790 } 110791 b := dAtA[iNdEx] 110792 iNdEx++ 110793 wire |= uint64(b&0x7F) << shift 110794 if b < 0x80 { 110795 break 110796 } 110797 } 110798 fieldNum := int32(wire >> 3) 110799 wireType := int(wire & 0x7) 110800 if wireType == 4 { 110801 return fmt.Errorf("proto: OktaImportRuleSpecV1: wiretype end group for non-group") 110802 } 110803 if fieldNum <= 0 { 110804 return fmt.Errorf("proto: OktaImportRuleSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 110805 } 110806 switch fieldNum { 110807 case 1: 110808 if wireType != 0 { 110809 return fmt.Errorf("proto: wrong wireType = %d for field Priority", wireType) 110810 } 110811 m.Priority = 0 110812 for shift := uint(0); ; shift += 7 { 110813 if shift >= 64 { 110814 return ErrIntOverflowTypes 110815 } 110816 if iNdEx >= l { 110817 return io.ErrUnexpectedEOF 110818 } 110819 b := dAtA[iNdEx] 110820 iNdEx++ 110821 m.Priority |= int32(b&0x7F) << shift 110822 if b < 0x80 { 110823 break 110824 } 110825 } 110826 case 2: 110827 if wireType != 2 { 110828 return fmt.Errorf("proto: wrong wireType = %d for field Mappings", wireType) 110829 } 110830 var msglen int 110831 for shift := uint(0); ; shift += 7 { 110832 if shift >= 64 { 110833 return ErrIntOverflowTypes 110834 } 110835 if iNdEx >= l { 110836 return io.ErrUnexpectedEOF 110837 } 110838 b := dAtA[iNdEx] 110839 iNdEx++ 110840 msglen |= int(b&0x7F) << shift 110841 if b < 0x80 { 110842 break 110843 } 110844 } 110845 if msglen < 0 { 110846 return ErrInvalidLengthTypes 110847 } 110848 postIndex := iNdEx + msglen 110849 if postIndex < 0 { 110850 return ErrInvalidLengthTypes 110851 } 110852 if postIndex > l { 110853 return io.ErrUnexpectedEOF 110854 } 110855 m.Mappings = append(m.Mappings, &OktaImportRuleMappingV1{}) 110856 if err := m.Mappings[len(m.Mappings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 110857 return err 110858 } 110859 iNdEx = postIndex 110860 default: 110861 iNdEx = preIndex 110862 skippy, err := skipTypes(dAtA[iNdEx:]) 110863 if err != nil { 110864 return err 110865 } 110866 if (skippy < 0) || (iNdEx+skippy) < 0 { 110867 return ErrInvalidLengthTypes 110868 } 110869 if (iNdEx + skippy) > l { 110870 return io.ErrUnexpectedEOF 110871 } 110872 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 110873 iNdEx += skippy 110874 } 110875 } 110876 110877 if iNdEx > l { 110878 return io.ErrUnexpectedEOF 110879 } 110880 return nil 110881 } 110882 func (m *OktaImportRuleMappingV1) Unmarshal(dAtA []byte) error { 110883 l := len(dAtA) 110884 iNdEx := 0 110885 for iNdEx < l { 110886 preIndex := iNdEx 110887 var wire uint64 110888 for shift := uint(0); ; shift += 7 { 110889 if shift >= 64 { 110890 return ErrIntOverflowTypes 110891 } 110892 if iNdEx >= l { 110893 return io.ErrUnexpectedEOF 110894 } 110895 b := dAtA[iNdEx] 110896 iNdEx++ 110897 wire |= uint64(b&0x7F) << shift 110898 if b < 0x80 { 110899 break 110900 } 110901 } 110902 fieldNum := int32(wire >> 3) 110903 wireType := int(wire & 0x7) 110904 if wireType == 4 { 110905 return fmt.Errorf("proto: OktaImportRuleMappingV1: wiretype end group for non-group") 110906 } 110907 if fieldNum <= 0 { 110908 return fmt.Errorf("proto: OktaImportRuleMappingV1: illegal tag %d (wire type %d)", fieldNum, wire) 110909 } 110910 switch fieldNum { 110911 case 1: 110912 if wireType != 2 { 110913 return fmt.Errorf("proto: wrong wireType = %d for field Match", wireType) 110914 } 110915 var msglen int 110916 for shift := uint(0); ; shift += 7 { 110917 if shift >= 64 { 110918 return ErrIntOverflowTypes 110919 } 110920 if iNdEx >= l { 110921 return io.ErrUnexpectedEOF 110922 } 110923 b := dAtA[iNdEx] 110924 iNdEx++ 110925 msglen |= int(b&0x7F) << shift 110926 if b < 0x80 { 110927 break 110928 } 110929 } 110930 if msglen < 0 { 110931 return ErrInvalidLengthTypes 110932 } 110933 postIndex := iNdEx + msglen 110934 if postIndex < 0 { 110935 return ErrInvalidLengthTypes 110936 } 110937 if postIndex > l { 110938 return io.ErrUnexpectedEOF 110939 } 110940 m.Match = append(m.Match, &OktaImportRuleMatchV1{}) 110941 if err := m.Match[len(m.Match)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 110942 return err 110943 } 110944 iNdEx = postIndex 110945 case 2: 110946 if wireType != 2 { 110947 return fmt.Errorf("proto: wrong wireType = %d for field AddLabels", wireType) 110948 } 110949 var msglen int 110950 for shift := uint(0); ; shift += 7 { 110951 if shift >= 64 { 110952 return ErrIntOverflowTypes 110953 } 110954 if iNdEx >= l { 110955 return io.ErrUnexpectedEOF 110956 } 110957 b := dAtA[iNdEx] 110958 iNdEx++ 110959 msglen |= int(b&0x7F) << shift 110960 if b < 0x80 { 110961 break 110962 } 110963 } 110964 if msglen < 0 { 110965 return ErrInvalidLengthTypes 110966 } 110967 postIndex := iNdEx + msglen 110968 if postIndex < 0 { 110969 return ErrInvalidLengthTypes 110970 } 110971 if postIndex > l { 110972 return io.ErrUnexpectedEOF 110973 } 110974 if m.AddLabels == nil { 110975 m.AddLabels = make(map[string]string) 110976 } 110977 var mapkey string 110978 var mapvalue string 110979 for iNdEx < postIndex { 110980 entryPreIndex := iNdEx 110981 var wire uint64 110982 for shift := uint(0); ; shift += 7 { 110983 if shift >= 64 { 110984 return ErrIntOverflowTypes 110985 } 110986 if iNdEx >= l { 110987 return io.ErrUnexpectedEOF 110988 } 110989 b := dAtA[iNdEx] 110990 iNdEx++ 110991 wire |= uint64(b&0x7F) << shift 110992 if b < 0x80 { 110993 break 110994 } 110995 } 110996 fieldNum := int32(wire >> 3) 110997 if fieldNum == 1 { 110998 var stringLenmapkey uint64 110999 for shift := uint(0); ; shift += 7 { 111000 if shift >= 64 { 111001 return ErrIntOverflowTypes 111002 } 111003 if iNdEx >= l { 111004 return io.ErrUnexpectedEOF 111005 } 111006 b := dAtA[iNdEx] 111007 iNdEx++ 111008 stringLenmapkey |= uint64(b&0x7F) << shift 111009 if b < 0x80 { 111010 break 111011 } 111012 } 111013 intStringLenmapkey := int(stringLenmapkey) 111014 if intStringLenmapkey < 0 { 111015 return ErrInvalidLengthTypes 111016 } 111017 postStringIndexmapkey := iNdEx + intStringLenmapkey 111018 if postStringIndexmapkey < 0 { 111019 return ErrInvalidLengthTypes 111020 } 111021 if postStringIndexmapkey > l { 111022 return io.ErrUnexpectedEOF 111023 } 111024 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 111025 iNdEx = postStringIndexmapkey 111026 } else if fieldNum == 2 { 111027 var stringLenmapvalue uint64 111028 for shift := uint(0); ; shift += 7 { 111029 if shift >= 64 { 111030 return ErrIntOverflowTypes 111031 } 111032 if iNdEx >= l { 111033 return io.ErrUnexpectedEOF 111034 } 111035 b := dAtA[iNdEx] 111036 iNdEx++ 111037 stringLenmapvalue |= uint64(b&0x7F) << shift 111038 if b < 0x80 { 111039 break 111040 } 111041 } 111042 intStringLenmapvalue := int(stringLenmapvalue) 111043 if intStringLenmapvalue < 0 { 111044 return ErrInvalidLengthTypes 111045 } 111046 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 111047 if postStringIndexmapvalue < 0 { 111048 return ErrInvalidLengthTypes 111049 } 111050 if postStringIndexmapvalue > l { 111051 return io.ErrUnexpectedEOF 111052 } 111053 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 111054 iNdEx = postStringIndexmapvalue 111055 } else { 111056 iNdEx = entryPreIndex 111057 skippy, err := skipTypes(dAtA[iNdEx:]) 111058 if err != nil { 111059 return err 111060 } 111061 if (skippy < 0) || (iNdEx+skippy) < 0 { 111062 return ErrInvalidLengthTypes 111063 } 111064 if (iNdEx + skippy) > postIndex { 111065 return io.ErrUnexpectedEOF 111066 } 111067 iNdEx += skippy 111068 } 111069 } 111070 m.AddLabels[mapkey] = mapvalue 111071 iNdEx = postIndex 111072 default: 111073 iNdEx = preIndex 111074 skippy, err := skipTypes(dAtA[iNdEx:]) 111075 if err != nil { 111076 return err 111077 } 111078 if (skippy < 0) || (iNdEx+skippy) < 0 { 111079 return ErrInvalidLengthTypes 111080 } 111081 if (iNdEx + skippy) > l { 111082 return io.ErrUnexpectedEOF 111083 } 111084 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 111085 iNdEx += skippy 111086 } 111087 } 111088 111089 if iNdEx > l { 111090 return io.ErrUnexpectedEOF 111091 } 111092 return nil 111093 } 111094 func (m *OktaImportRuleV1) Unmarshal(dAtA []byte) error { 111095 l := len(dAtA) 111096 iNdEx := 0 111097 for iNdEx < l { 111098 preIndex := iNdEx 111099 var wire uint64 111100 for shift := uint(0); ; shift += 7 { 111101 if shift >= 64 { 111102 return ErrIntOverflowTypes 111103 } 111104 if iNdEx >= l { 111105 return io.ErrUnexpectedEOF 111106 } 111107 b := dAtA[iNdEx] 111108 iNdEx++ 111109 wire |= uint64(b&0x7F) << shift 111110 if b < 0x80 { 111111 break 111112 } 111113 } 111114 fieldNum := int32(wire >> 3) 111115 wireType := int(wire & 0x7) 111116 if wireType == 4 { 111117 return fmt.Errorf("proto: OktaImportRuleV1: wiretype end group for non-group") 111118 } 111119 if fieldNum <= 0 { 111120 return fmt.Errorf("proto: OktaImportRuleV1: illegal tag %d (wire type %d)", fieldNum, wire) 111121 } 111122 switch fieldNum { 111123 case 1: 111124 if wireType != 2 { 111125 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 111126 } 111127 var msglen int 111128 for shift := uint(0); ; shift += 7 { 111129 if shift >= 64 { 111130 return ErrIntOverflowTypes 111131 } 111132 if iNdEx >= l { 111133 return io.ErrUnexpectedEOF 111134 } 111135 b := dAtA[iNdEx] 111136 iNdEx++ 111137 msglen |= int(b&0x7F) << shift 111138 if b < 0x80 { 111139 break 111140 } 111141 } 111142 if msglen < 0 { 111143 return ErrInvalidLengthTypes 111144 } 111145 postIndex := iNdEx + msglen 111146 if postIndex < 0 { 111147 return ErrInvalidLengthTypes 111148 } 111149 if postIndex > l { 111150 return io.ErrUnexpectedEOF 111151 } 111152 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 111153 return err 111154 } 111155 iNdEx = postIndex 111156 case 2: 111157 if wireType != 2 { 111158 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 111159 } 111160 var msglen int 111161 for shift := uint(0); ; shift += 7 { 111162 if shift >= 64 { 111163 return ErrIntOverflowTypes 111164 } 111165 if iNdEx >= l { 111166 return io.ErrUnexpectedEOF 111167 } 111168 b := dAtA[iNdEx] 111169 iNdEx++ 111170 msglen |= int(b&0x7F) << shift 111171 if b < 0x80 { 111172 break 111173 } 111174 } 111175 if msglen < 0 { 111176 return ErrInvalidLengthTypes 111177 } 111178 postIndex := iNdEx + msglen 111179 if postIndex < 0 { 111180 return ErrInvalidLengthTypes 111181 } 111182 if postIndex > l { 111183 return io.ErrUnexpectedEOF 111184 } 111185 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 111186 return err 111187 } 111188 iNdEx = postIndex 111189 default: 111190 iNdEx = preIndex 111191 skippy, err := skipTypes(dAtA[iNdEx:]) 111192 if err != nil { 111193 return err 111194 } 111195 if (skippy < 0) || (iNdEx+skippy) < 0 { 111196 return ErrInvalidLengthTypes 111197 } 111198 if (iNdEx + skippy) > l { 111199 return io.ErrUnexpectedEOF 111200 } 111201 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 111202 iNdEx += skippy 111203 } 111204 } 111205 111206 if iNdEx > l { 111207 return io.ErrUnexpectedEOF 111208 } 111209 return nil 111210 } 111211 func (m *OktaImportRuleMatchV1) Unmarshal(dAtA []byte) error { 111212 l := len(dAtA) 111213 iNdEx := 0 111214 for iNdEx < l { 111215 preIndex := iNdEx 111216 var wire uint64 111217 for shift := uint(0); ; shift += 7 { 111218 if shift >= 64 { 111219 return ErrIntOverflowTypes 111220 } 111221 if iNdEx >= l { 111222 return io.ErrUnexpectedEOF 111223 } 111224 b := dAtA[iNdEx] 111225 iNdEx++ 111226 wire |= uint64(b&0x7F) << shift 111227 if b < 0x80 { 111228 break 111229 } 111230 } 111231 fieldNum := int32(wire >> 3) 111232 wireType := int(wire & 0x7) 111233 if wireType == 4 { 111234 return fmt.Errorf("proto: OktaImportRuleMatchV1: wiretype end group for non-group") 111235 } 111236 if fieldNum <= 0 { 111237 return fmt.Errorf("proto: OktaImportRuleMatchV1: illegal tag %d (wire type %d)", fieldNum, wire) 111238 } 111239 switch fieldNum { 111240 case 1: 111241 if wireType != 2 { 111242 return fmt.Errorf("proto: wrong wireType = %d for field AppIDs", wireType) 111243 } 111244 var stringLen uint64 111245 for shift := uint(0); ; shift += 7 { 111246 if shift >= 64 { 111247 return ErrIntOverflowTypes 111248 } 111249 if iNdEx >= l { 111250 return io.ErrUnexpectedEOF 111251 } 111252 b := dAtA[iNdEx] 111253 iNdEx++ 111254 stringLen |= uint64(b&0x7F) << shift 111255 if b < 0x80 { 111256 break 111257 } 111258 } 111259 intStringLen := int(stringLen) 111260 if intStringLen < 0 { 111261 return ErrInvalidLengthTypes 111262 } 111263 postIndex := iNdEx + intStringLen 111264 if postIndex < 0 { 111265 return ErrInvalidLengthTypes 111266 } 111267 if postIndex > l { 111268 return io.ErrUnexpectedEOF 111269 } 111270 m.AppIDs = append(m.AppIDs, string(dAtA[iNdEx:postIndex])) 111271 iNdEx = postIndex 111272 case 2: 111273 if wireType != 2 { 111274 return fmt.Errorf("proto: wrong wireType = %d for field GroupIDs", wireType) 111275 } 111276 var stringLen uint64 111277 for shift := uint(0); ; shift += 7 { 111278 if shift >= 64 { 111279 return ErrIntOverflowTypes 111280 } 111281 if iNdEx >= l { 111282 return io.ErrUnexpectedEOF 111283 } 111284 b := dAtA[iNdEx] 111285 iNdEx++ 111286 stringLen |= uint64(b&0x7F) << shift 111287 if b < 0x80 { 111288 break 111289 } 111290 } 111291 intStringLen := int(stringLen) 111292 if intStringLen < 0 { 111293 return ErrInvalidLengthTypes 111294 } 111295 postIndex := iNdEx + intStringLen 111296 if postIndex < 0 { 111297 return ErrInvalidLengthTypes 111298 } 111299 if postIndex > l { 111300 return io.ErrUnexpectedEOF 111301 } 111302 m.GroupIDs = append(m.GroupIDs, string(dAtA[iNdEx:postIndex])) 111303 iNdEx = postIndex 111304 case 3: 111305 if wireType != 2 { 111306 return fmt.Errorf("proto: wrong wireType = %d for field AppNameRegexes", wireType) 111307 } 111308 var stringLen uint64 111309 for shift := uint(0); ; shift += 7 { 111310 if shift >= 64 { 111311 return ErrIntOverflowTypes 111312 } 111313 if iNdEx >= l { 111314 return io.ErrUnexpectedEOF 111315 } 111316 b := dAtA[iNdEx] 111317 iNdEx++ 111318 stringLen |= uint64(b&0x7F) << shift 111319 if b < 0x80 { 111320 break 111321 } 111322 } 111323 intStringLen := int(stringLen) 111324 if intStringLen < 0 { 111325 return ErrInvalidLengthTypes 111326 } 111327 postIndex := iNdEx + intStringLen 111328 if postIndex < 0 { 111329 return ErrInvalidLengthTypes 111330 } 111331 if postIndex > l { 111332 return io.ErrUnexpectedEOF 111333 } 111334 m.AppNameRegexes = append(m.AppNameRegexes, string(dAtA[iNdEx:postIndex])) 111335 iNdEx = postIndex 111336 case 4: 111337 if wireType != 2 { 111338 return fmt.Errorf("proto: wrong wireType = %d for field GroupNameRegexes", wireType) 111339 } 111340 var stringLen uint64 111341 for shift := uint(0); ; shift += 7 { 111342 if shift >= 64 { 111343 return ErrIntOverflowTypes 111344 } 111345 if iNdEx >= l { 111346 return io.ErrUnexpectedEOF 111347 } 111348 b := dAtA[iNdEx] 111349 iNdEx++ 111350 stringLen |= uint64(b&0x7F) << shift 111351 if b < 0x80 { 111352 break 111353 } 111354 } 111355 intStringLen := int(stringLen) 111356 if intStringLen < 0 { 111357 return ErrInvalidLengthTypes 111358 } 111359 postIndex := iNdEx + intStringLen 111360 if postIndex < 0 { 111361 return ErrInvalidLengthTypes 111362 } 111363 if postIndex > l { 111364 return io.ErrUnexpectedEOF 111365 } 111366 m.GroupNameRegexes = append(m.GroupNameRegexes, string(dAtA[iNdEx:postIndex])) 111367 iNdEx = postIndex 111368 default: 111369 iNdEx = preIndex 111370 skippy, err := skipTypes(dAtA[iNdEx:]) 111371 if err != nil { 111372 return err 111373 } 111374 if (skippy < 0) || (iNdEx+skippy) < 0 { 111375 return ErrInvalidLengthTypes 111376 } 111377 if (iNdEx + skippy) > l { 111378 return io.ErrUnexpectedEOF 111379 } 111380 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 111381 iNdEx += skippy 111382 } 111383 } 111384 111385 if iNdEx > l { 111386 return io.ErrUnexpectedEOF 111387 } 111388 return nil 111389 } 111390 func (m *OktaAssignmentV1) Unmarshal(dAtA []byte) error { 111391 l := len(dAtA) 111392 iNdEx := 0 111393 for iNdEx < l { 111394 preIndex := iNdEx 111395 var wire uint64 111396 for shift := uint(0); ; shift += 7 { 111397 if shift >= 64 { 111398 return ErrIntOverflowTypes 111399 } 111400 if iNdEx >= l { 111401 return io.ErrUnexpectedEOF 111402 } 111403 b := dAtA[iNdEx] 111404 iNdEx++ 111405 wire |= uint64(b&0x7F) << shift 111406 if b < 0x80 { 111407 break 111408 } 111409 } 111410 fieldNum := int32(wire >> 3) 111411 wireType := int(wire & 0x7) 111412 if wireType == 4 { 111413 return fmt.Errorf("proto: OktaAssignmentV1: wiretype end group for non-group") 111414 } 111415 if fieldNum <= 0 { 111416 return fmt.Errorf("proto: OktaAssignmentV1: illegal tag %d (wire type %d)", fieldNum, wire) 111417 } 111418 switch fieldNum { 111419 case 1: 111420 if wireType != 2 { 111421 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 111422 } 111423 var msglen int 111424 for shift := uint(0); ; shift += 7 { 111425 if shift >= 64 { 111426 return ErrIntOverflowTypes 111427 } 111428 if iNdEx >= l { 111429 return io.ErrUnexpectedEOF 111430 } 111431 b := dAtA[iNdEx] 111432 iNdEx++ 111433 msglen |= int(b&0x7F) << shift 111434 if b < 0x80 { 111435 break 111436 } 111437 } 111438 if msglen < 0 { 111439 return ErrInvalidLengthTypes 111440 } 111441 postIndex := iNdEx + msglen 111442 if postIndex < 0 { 111443 return ErrInvalidLengthTypes 111444 } 111445 if postIndex > l { 111446 return io.ErrUnexpectedEOF 111447 } 111448 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 111449 return err 111450 } 111451 iNdEx = postIndex 111452 case 2: 111453 if wireType != 2 { 111454 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 111455 } 111456 var msglen int 111457 for shift := uint(0); ; shift += 7 { 111458 if shift >= 64 { 111459 return ErrIntOverflowTypes 111460 } 111461 if iNdEx >= l { 111462 return io.ErrUnexpectedEOF 111463 } 111464 b := dAtA[iNdEx] 111465 iNdEx++ 111466 msglen |= int(b&0x7F) << shift 111467 if b < 0x80 { 111468 break 111469 } 111470 } 111471 if msglen < 0 { 111472 return ErrInvalidLengthTypes 111473 } 111474 postIndex := iNdEx + msglen 111475 if postIndex < 0 { 111476 return ErrInvalidLengthTypes 111477 } 111478 if postIndex > l { 111479 return io.ErrUnexpectedEOF 111480 } 111481 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 111482 return err 111483 } 111484 iNdEx = postIndex 111485 default: 111486 iNdEx = preIndex 111487 skippy, err := skipTypes(dAtA[iNdEx:]) 111488 if err != nil { 111489 return err 111490 } 111491 if (skippy < 0) || (iNdEx+skippy) < 0 { 111492 return ErrInvalidLengthTypes 111493 } 111494 if (iNdEx + skippy) > l { 111495 return io.ErrUnexpectedEOF 111496 } 111497 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 111498 iNdEx += skippy 111499 } 111500 } 111501 111502 if iNdEx > l { 111503 return io.ErrUnexpectedEOF 111504 } 111505 return nil 111506 } 111507 func (m *OktaAssignmentSpecV1) Unmarshal(dAtA []byte) error { 111508 l := len(dAtA) 111509 iNdEx := 0 111510 for iNdEx < l { 111511 preIndex := iNdEx 111512 var wire uint64 111513 for shift := uint(0); ; shift += 7 { 111514 if shift >= 64 { 111515 return ErrIntOverflowTypes 111516 } 111517 if iNdEx >= l { 111518 return io.ErrUnexpectedEOF 111519 } 111520 b := dAtA[iNdEx] 111521 iNdEx++ 111522 wire |= uint64(b&0x7F) << shift 111523 if b < 0x80 { 111524 break 111525 } 111526 } 111527 fieldNum := int32(wire >> 3) 111528 wireType := int(wire & 0x7) 111529 if wireType == 4 { 111530 return fmt.Errorf("proto: OktaAssignmentSpecV1: wiretype end group for non-group") 111531 } 111532 if fieldNum <= 0 { 111533 return fmt.Errorf("proto: OktaAssignmentSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 111534 } 111535 switch fieldNum { 111536 case 1: 111537 if wireType != 2 { 111538 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 111539 } 111540 var stringLen uint64 111541 for shift := uint(0); ; shift += 7 { 111542 if shift >= 64 { 111543 return ErrIntOverflowTypes 111544 } 111545 if iNdEx >= l { 111546 return io.ErrUnexpectedEOF 111547 } 111548 b := dAtA[iNdEx] 111549 iNdEx++ 111550 stringLen |= uint64(b&0x7F) << shift 111551 if b < 0x80 { 111552 break 111553 } 111554 } 111555 intStringLen := int(stringLen) 111556 if intStringLen < 0 { 111557 return ErrInvalidLengthTypes 111558 } 111559 postIndex := iNdEx + intStringLen 111560 if postIndex < 0 { 111561 return ErrInvalidLengthTypes 111562 } 111563 if postIndex > l { 111564 return io.ErrUnexpectedEOF 111565 } 111566 m.User = string(dAtA[iNdEx:postIndex]) 111567 iNdEx = postIndex 111568 case 2: 111569 if wireType != 2 { 111570 return fmt.Errorf("proto: wrong wireType = %d for field Targets", wireType) 111571 } 111572 var msglen int 111573 for shift := uint(0); ; shift += 7 { 111574 if shift >= 64 { 111575 return ErrIntOverflowTypes 111576 } 111577 if iNdEx >= l { 111578 return io.ErrUnexpectedEOF 111579 } 111580 b := dAtA[iNdEx] 111581 iNdEx++ 111582 msglen |= int(b&0x7F) << shift 111583 if b < 0x80 { 111584 break 111585 } 111586 } 111587 if msglen < 0 { 111588 return ErrInvalidLengthTypes 111589 } 111590 postIndex := iNdEx + msglen 111591 if postIndex < 0 { 111592 return ErrInvalidLengthTypes 111593 } 111594 if postIndex > l { 111595 return io.ErrUnexpectedEOF 111596 } 111597 m.Targets = append(m.Targets, &OktaAssignmentTargetV1{}) 111598 if err := m.Targets[len(m.Targets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 111599 return err 111600 } 111601 iNdEx = postIndex 111602 case 3: 111603 if wireType != 2 { 111604 return fmt.Errorf("proto: wrong wireType = %d for field CleanupTime", wireType) 111605 } 111606 var msglen int 111607 for shift := uint(0); ; shift += 7 { 111608 if shift >= 64 { 111609 return ErrIntOverflowTypes 111610 } 111611 if iNdEx >= l { 111612 return io.ErrUnexpectedEOF 111613 } 111614 b := dAtA[iNdEx] 111615 iNdEx++ 111616 msglen |= int(b&0x7F) << shift 111617 if b < 0x80 { 111618 break 111619 } 111620 } 111621 if msglen < 0 { 111622 return ErrInvalidLengthTypes 111623 } 111624 postIndex := iNdEx + msglen 111625 if postIndex < 0 { 111626 return ErrInvalidLengthTypes 111627 } 111628 if postIndex > l { 111629 return io.ErrUnexpectedEOF 111630 } 111631 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CleanupTime, dAtA[iNdEx:postIndex]); err != nil { 111632 return err 111633 } 111634 iNdEx = postIndex 111635 case 4: 111636 if wireType != 0 { 111637 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) 111638 } 111639 m.Status = 0 111640 for shift := uint(0); ; shift += 7 { 111641 if shift >= 64 { 111642 return ErrIntOverflowTypes 111643 } 111644 if iNdEx >= l { 111645 return io.ErrUnexpectedEOF 111646 } 111647 b := dAtA[iNdEx] 111648 iNdEx++ 111649 m.Status |= OktaAssignmentSpecV1_OktaAssignmentStatus(b&0x7F) << shift 111650 if b < 0x80 { 111651 break 111652 } 111653 } 111654 case 5: 111655 if wireType != 2 { 111656 return fmt.Errorf("proto: wrong wireType = %d for field LastTransition", wireType) 111657 } 111658 var msglen int 111659 for shift := uint(0); ; shift += 7 { 111660 if shift >= 64 { 111661 return ErrIntOverflowTypes 111662 } 111663 if iNdEx >= l { 111664 return io.ErrUnexpectedEOF 111665 } 111666 b := dAtA[iNdEx] 111667 iNdEx++ 111668 msglen |= int(b&0x7F) << shift 111669 if b < 0x80 { 111670 break 111671 } 111672 } 111673 if msglen < 0 { 111674 return ErrInvalidLengthTypes 111675 } 111676 postIndex := iNdEx + msglen 111677 if postIndex < 0 { 111678 return ErrInvalidLengthTypes 111679 } 111680 if postIndex > l { 111681 return io.ErrUnexpectedEOF 111682 } 111683 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.LastTransition, dAtA[iNdEx:postIndex]); err != nil { 111684 return err 111685 } 111686 iNdEx = postIndex 111687 case 6: 111688 if wireType != 0 { 111689 return fmt.Errorf("proto: wrong wireType = %d for field Finalized", wireType) 111690 } 111691 var v int 111692 for shift := uint(0); ; shift += 7 { 111693 if shift >= 64 { 111694 return ErrIntOverflowTypes 111695 } 111696 if iNdEx >= l { 111697 return io.ErrUnexpectedEOF 111698 } 111699 b := dAtA[iNdEx] 111700 iNdEx++ 111701 v |= int(b&0x7F) << shift 111702 if b < 0x80 { 111703 break 111704 } 111705 } 111706 m.Finalized = bool(v != 0) 111707 default: 111708 iNdEx = preIndex 111709 skippy, err := skipTypes(dAtA[iNdEx:]) 111710 if err != nil { 111711 return err 111712 } 111713 if (skippy < 0) || (iNdEx+skippy) < 0 { 111714 return ErrInvalidLengthTypes 111715 } 111716 if (iNdEx + skippy) > l { 111717 return io.ErrUnexpectedEOF 111718 } 111719 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 111720 iNdEx += skippy 111721 } 111722 } 111723 111724 if iNdEx > l { 111725 return io.ErrUnexpectedEOF 111726 } 111727 return nil 111728 } 111729 func (m *OktaAssignmentTargetV1) Unmarshal(dAtA []byte) error { 111730 l := len(dAtA) 111731 iNdEx := 0 111732 for iNdEx < l { 111733 preIndex := iNdEx 111734 var wire uint64 111735 for shift := uint(0); ; shift += 7 { 111736 if shift >= 64 { 111737 return ErrIntOverflowTypes 111738 } 111739 if iNdEx >= l { 111740 return io.ErrUnexpectedEOF 111741 } 111742 b := dAtA[iNdEx] 111743 iNdEx++ 111744 wire |= uint64(b&0x7F) << shift 111745 if b < 0x80 { 111746 break 111747 } 111748 } 111749 fieldNum := int32(wire >> 3) 111750 wireType := int(wire & 0x7) 111751 if wireType == 4 { 111752 return fmt.Errorf("proto: OktaAssignmentTargetV1: wiretype end group for non-group") 111753 } 111754 if fieldNum <= 0 { 111755 return fmt.Errorf("proto: OktaAssignmentTargetV1: illegal tag %d (wire type %d)", fieldNum, wire) 111756 } 111757 switch fieldNum { 111758 case 1: 111759 if wireType != 0 { 111760 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 111761 } 111762 m.Type = 0 111763 for shift := uint(0); ; shift += 7 { 111764 if shift >= 64 { 111765 return ErrIntOverflowTypes 111766 } 111767 if iNdEx >= l { 111768 return io.ErrUnexpectedEOF 111769 } 111770 b := dAtA[iNdEx] 111771 iNdEx++ 111772 m.Type |= OktaAssignmentTargetV1_OktaAssignmentTargetType(b&0x7F) << shift 111773 if b < 0x80 { 111774 break 111775 } 111776 } 111777 case 2: 111778 if wireType != 2 { 111779 return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) 111780 } 111781 var stringLen uint64 111782 for shift := uint(0); ; shift += 7 { 111783 if shift >= 64 { 111784 return ErrIntOverflowTypes 111785 } 111786 if iNdEx >= l { 111787 return io.ErrUnexpectedEOF 111788 } 111789 b := dAtA[iNdEx] 111790 iNdEx++ 111791 stringLen |= uint64(b&0x7F) << shift 111792 if b < 0x80 { 111793 break 111794 } 111795 } 111796 intStringLen := int(stringLen) 111797 if intStringLen < 0 { 111798 return ErrInvalidLengthTypes 111799 } 111800 postIndex := iNdEx + intStringLen 111801 if postIndex < 0 { 111802 return ErrInvalidLengthTypes 111803 } 111804 if postIndex > l { 111805 return io.ErrUnexpectedEOF 111806 } 111807 m.Id = string(dAtA[iNdEx:postIndex]) 111808 iNdEx = postIndex 111809 default: 111810 iNdEx = preIndex 111811 skippy, err := skipTypes(dAtA[iNdEx:]) 111812 if err != nil { 111813 return err 111814 } 111815 if (skippy < 0) || (iNdEx+skippy) < 0 { 111816 return ErrInvalidLengthTypes 111817 } 111818 if (iNdEx + skippy) > l { 111819 return io.ErrUnexpectedEOF 111820 } 111821 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 111822 iNdEx += skippy 111823 } 111824 } 111825 111826 if iNdEx > l { 111827 return io.ErrUnexpectedEOF 111828 } 111829 return nil 111830 } 111831 func (m *IntegrationV1) Unmarshal(dAtA []byte) error { 111832 l := len(dAtA) 111833 iNdEx := 0 111834 for iNdEx < l { 111835 preIndex := iNdEx 111836 var wire uint64 111837 for shift := uint(0); ; shift += 7 { 111838 if shift >= 64 { 111839 return ErrIntOverflowTypes 111840 } 111841 if iNdEx >= l { 111842 return io.ErrUnexpectedEOF 111843 } 111844 b := dAtA[iNdEx] 111845 iNdEx++ 111846 wire |= uint64(b&0x7F) << shift 111847 if b < 0x80 { 111848 break 111849 } 111850 } 111851 fieldNum := int32(wire >> 3) 111852 wireType := int(wire & 0x7) 111853 if wireType == 4 { 111854 return fmt.Errorf("proto: IntegrationV1: wiretype end group for non-group") 111855 } 111856 if fieldNum <= 0 { 111857 return fmt.Errorf("proto: IntegrationV1: illegal tag %d (wire type %d)", fieldNum, wire) 111858 } 111859 switch fieldNum { 111860 case 1: 111861 if wireType != 2 { 111862 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 111863 } 111864 var msglen int 111865 for shift := uint(0); ; shift += 7 { 111866 if shift >= 64 { 111867 return ErrIntOverflowTypes 111868 } 111869 if iNdEx >= l { 111870 return io.ErrUnexpectedEOF 111871 } 111872 b := dAtA[iNdEx] 111873 iNdEx++ 111874 msglen |= int(b&0x7F) << shift 111875 if b < 0x80 { 111876 break 111877 } 111878 } 111879 if msglen < 0 { 111880 return ErrInvalidLengthTypes 111881 } 111882 postIndex := iNdEx + msglen 111883 if postIndex < 0 { 111884 return ErrInvalidLengthTypes 111885 } 111886 if postIndex > l { 111887 return io.ErrUnexpectedEOF 111888 } 111889 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 111890 return err 111891 } 111892 iNdEx = postIndex 111893 case 2: 111894 if wireType != 2 { 111895 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 111896 } 111897 var msglen int 111898 for shift := uint(0); ; shift += 7 { 111899 if shift >= 64 { 111900 return ErrIntOverflowTypes 111901 } 111902 if iNdEx >= l { 111903 return io.ErrUnexpectedEOF 111904 } 111905 b := dAtA[iNdEx] 111906 iNdEx++ 111907 msglen |= int(b&0x7F) << shift 111908 if b < 0x80 { 111909 break 111910 } 111911 } 111912 if msglen < 0 { 111913 return ErrInvalidLengthTypes 111914 } 111915 postIndex := iNdEx + msglen 111916 if postIndex < 0 { 111917 return ErrInvalidLengthTypes 111918 } 111919 if postIndex > l { 111920 return io.ErrUnexpectedEOF 111921 } 111922 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 111923 return err 111924 } 111925 iNdEx = postIndex 111926 default: 111927 iNdEx = preIndex 111928 skippy, err := skipTypes(dAtA[iNdEx:]) 111929 if err != nil { 111930 return err 111931 } 111932 if (skippy < 0) || (iNdEx+skippy) < 0 { 111933 return ErrInvalidLengthTypes 111934 } 111935 if (iNdEx + skippy) > l { 111936 return io.ErrUnexpectedEOF 111937 } 111938 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 111939 iNdEx += skippy 111940 } 111941 } 111942 111943 if iNdEx > l { 111944 return io.ErrUnexpectedEOF 111945 } 111946 return nil 111947 } 111948 func (m *IntegrationSpecV1) Unmarshal(dAtA []byte) error { 111949 l := len(dAtA) 111950 iNdEx := 0 111951 for iNdEx < l { 111952 preIndex := iNdEx 111953 var wire uint64 111954 for shift := uint(0); ; shift += 7 { 111955 if shift >= 64 { 111956 return ErrIntOverflowTypes 111957 } 111958 if iNdEx >= l { 111959 return io.ErrUnexpectedEOF 111960 } 111961 b := dAtA[iNdEx] 111962 iNdEx++ 111963 wire |= uint64(b&0x7F) << shift 111964 if b < 0x80 { 111965 break 111966 } 111967 } 111968 fieldNum := int32(wire >> 3) 111969 wireType := int(wire & 0x7) 111970 if wireType == 4 { 111971 return fmt.Errorf("proto: IntegrationSpecV1: wiretype end group for non-group") 111972 } 111973 if fieldNum <= 0 { 111974 return fmt.Errorf("proto: IntegrationSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 111975 } 111976 switch fieldNum { 111977 case 1: 111978 if wireType != 2 { 111979 return fmt.Errorf("proto: wrong wireType = %d for field AWSOIDC", wireType) 111980 } 111981 var msglen int 111982 for shift := uint(0); ; shift += 7 { 111983 if shift >= 64 { 111984 return ErrIntOverflowTypes 111985 } 111986 if iNdEx >= l { 111987 return io.ErrUnexpectedEOF 111988 } 111989 b := dAtA[iNdEx] 111990 iNdEx++ 111991 msglen |= int(b&0x7F) << shift 111992 if b < 0x80 { 111993 break 111994 } 111995 } 111996 if msglen < 0 { 111997 return ErrInvalidLengthTypes 111998 } 111999 postIndex := iNdEx + msglen 112000 if postIndex < 0 { 112001 return ErrInvalidLengthTypes 112002 } 112003 if postIndex > l { 112004 return io.ErrUnexpectedEOF 112005 } 112006 v := &AWSOIDCIntegrationSpecV1{} 112007 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 112008 return err 112009 } 112010 m.SubKindSpec = &IntegrationSpecV1_AWSOIDC{v} 112011 iNdEx = postIndex 112012 case 2: 112013 if wireType != 2 { 112014 return fmt.Errorf("proto: wrong wireType = %d for field AzureOIDC", wireType) 112015 } 112016 var msglen int 112017 for shift := uint(0); ; shift += 7 { 112018 if shift >= 64 { 112019 return ErrIntOverflowTypes 112020 } 112021 if iNdEx >= l { 112022 return io.ErrUnexpectedEOF 112023 } 112024 b := dAtA[iNdEx] 112025 iNdEx++ 112026 msglen |= int(b&0x7F) << shift 112027 if b < 0x80 { 112028 break 112029 } 112030 } 112031 if msglen < 0 { 112032 return ErrInvalidLengthTypes 112033 } 112034 postIndex := iNdEx + msglen 112035 if postIndex < 0 { 112036 return ErrInvalidLengthTypes 112037 } 112038 if postIndex > l { 112039 return io.ErrUnexpectedEOF 112040 } 112041 v := &AzureOIDCIntegrationSpecV1{} 112042 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 112043 return err 112044 } 112045 m.SubKindSpec = &IntegrationSpecV1_AzureOIDC{v} 112046 iNdEx = postIndex 112047 default: 112048 iNdEx = preIndex 112049 skippy, err := skipTypes(dAtA[iNdEx:]) 112050 if err != nil { 112051 return err 112052 } 112053 if (skippy < 0) || (iNdEx+skippy) < 0 { 112054 return ErrInvalidLengthTypes 112055 } 112056 if (iNdEx + skippy) > l { 112057 return io.ErrUnexpectedEOF 112058 } 112059 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 112060 iNdEx += skippy 112061 } 112062 } 112063 112064 if iNdEx > l { 112065 return io.ErrUnexpectedEOF 112066 } 112067 return nil 112068 } 112069 func (m *AWSOIDCIntegrationSpecV1) Unmarshal(dAtA []byte) error { 112070 l := len(dAtA) 112071 iNdEx := 0 112072 for iNdEx < l { 112073 preIndex := iNdEx 112074 var wire uint64 112075 for shift := uint(0); ; shift += 7 { 112076 if shift >= 64 { 112077 return ErrIntOverflowTypes 112078 } 112079 if iNdEx >= l { 112080 return io.ErrUnexpectedEOF 112081 } 112082 b := dAtA[iNdEx] 112083 iNdEx++ 112084 wire |= uint64(b&0x7F) << shift 112085 if b < 0x80 { 112086 break 112087 } 112088 } 112089 fieldNum := int32(wire >> 3) 112090 wireType := int(wire & 0x7) 112091 if wireType == 4 { 112092 return fmt.Errorf("proto: AWSOIDCIntegrationSpecV1: wiretype end group for non-group") 112093 } 112094 if fieldNum <= 0 { 112095 return fmt.Errorf("proto: AWSOIDCIntegrationSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 112096 } 112097 switch fieldNum { 112098 case 1: 112099 if wireType != 2 { 112100 return fmt.Errorf("proto: wrong wireType = %d for field RoleARN", wireType) 112101 } 112102 var stringLen uint64 112103 for shift := uint(0); ; shift += 7 { 112104 if shift >= 64 { 112105 return ErrIntOverflowTypes 112106 } 112107 if iNdEx >= l { 112108 return io.ErrUnexpectedEOF 112109 } 112110 b := dAtA[iNdEx] 112111 iNdEx++ 112112 stringLen |= uint64(b&0x7F) << shift 112113 if b < 0x80 { 112114 break 112115 } 112116 } 112117 intStringLen := int(stringLen) 112118 if intStringLen < 0 { 112119 return ErrInvalidLengthTypes 112120 } 112121 postIndex := iNdEx + intStringLen 112122 if postIndex < 0 { 112123 return ErrInvalidLengthTypes 112124 } 112125 if postIndex > l { 112126 return io.ErrUnexpectedEOF 112127 } 112128 m.RoleARN = string(dAtA[iNdEx:postIndex]) 112129 iNdEx = postIndex 112130 case 2: 112131 if wireType != 2 { 112132 return fmt.Errorf("proto: wrong wireType = %d for field IssuerS3URI", wireType) 112133 } 112134 var stringLen uint64 112135 for shift := uint(0); ; shift += 7 { 112136 if shift >= 64 { 112137 return ErrIntOverflowTypes 112138 } 112139 if iNdEx >= l { 112140 return io.ErrUnexpectedEOF 112141 } 112142 b := dAtA[iNdEx] 112143 iNdEx++ 112144 stringLen |= uint64(b&0x7F) << shift 112145 if b < 0x80 { 112146 break 112147 } 112148 } 112149 intStringLen := int(stringLen) 112150 if intStringLen < 0 { 112151 return ErrInvalidLengthTypes 112152 } 112153 postIndex := iNdEx + intStringLen 112154 if postIndex < 0 { 112155 return ErrInvalidLengthTypes 112156 } 112157 if postIndex > l { 112158 return io.ErrUnexpectedEOF 112159 } 112160 m.IssuerS3URI = string(dAtA[iNdEx:postIndex]) 112161 iNdEx = postIndex 112162 default: 112163 iNdEx = preIndex 112164 skippy, err := skipTypes(dAtA[iNdEx:]) 112165 if err != nil { 112166 return err 112167 } 112168 if (skippy < 0) || (iNdEx+skippy) < 0 { 112169 return ErrInvalidLengthTypes 112170 } 112171 if (iNdEx + skippy) > l { 112172 return io.ErrUnexpectedEOF 112173 } 112174 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 112175 iNdEx += skippy 112176 } 112177 } 112178 112179 if iNdEx > l { 112180 return io.ErrUnexpectedEOF 112181 } 112182 return nil 112183 } 112184 func (m *AzureOIDCIntegrationSpecV1) Unmarshal(dAtA []byte) error { 112185 l := len(dAtA) 112186 iNdEx := 0 112187 for iNdEx < l { 112188 preIndex := iNdEx 112189 var wire uint64 112190 for shift := uint(0); ; shift += 7 { 112191 if shift >= 64 { 112192 return ErrIntOverflowTypes 112193 } 112194 if iNdEx >= l { 112195 return io.ErrUnexpectedEOF 112196 } 112197 b := dAtA[iNdEx] 112198 iNdEx++ 112199 wire |= uint64(b&0x7F) << shift 112200 if b < 0x80 { 112201 break 112202 } 112203 } 112204 fieldNum := int32(wire >> 3) 112205 wireType := int(wire & 0x7) 112206 if wireType == 4 { 112207 return fmt.Errorf("proto: AzureOIDCIntegrationSpecV1: wiretype end group for non-group") 112208 } 112209 if fieldNum <= 0 { 112210 return fmt.Errorf("proto: AzureOIDCIntegrationSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 112211 } 112212 switch fieldNum { 112213 case 1: 112214 if wireType != 2 { 112215 return fmt.Errorf("proto: wrong wireType = %d for field TenantID", wireType) 112216 } 112217 var stringLen uint64 112218 for shift := uint(0); ; shift += 7 { 112219 if shift >= 64 { 112220 return ErrIntOverflowTypes 112221 } 112222 if iNdEx >= l { 112223 return io.ErrUnexpectedEOF 112224 } 112225 b := dAtA[iNdEx] 112226 iNdEx++ 112227 stringLen |= uint64(b&0x7F) << shift 112228 if b < 0x80 { 112229 break 112230 } 112231 } 112232 intStringLen := int(stringLen) 112233 if intStringLen < 0 { 112234 return ErrInvalidLengthTypes 112235 } 112236 postIndex := iNdEx + intStringLen 112237 if postIndex < 0 { 112238 return ErrInvalidLengthTypes 112239 } 112240 if postIndex > l { 112241 return io.ErrUnexpectedEOF 112242 } 112243 m.TenantID = string(dAtA[iNdEx:postIndex]) 112244 iNdEx = postIndex 112245 case 2: 112246 if wireType != 2 { 112247 return fmt.Errorf("proto: wrong wireType = %d for field ClientID", wireType) 112248 } 112249 var stringLen uint64 112250 for shift := uint(0); ; shift += 7 { 112251 if shift >= 64 { 112252 return ErrIntOverflowTypes 112253 } 112254 if iNdEx >= l { 112255 return io.ErrUnexpectedEOF 112256 } 112257 b := dAtA[iNdEx] 112258 iNdEx++ 112259 stringLen |= uint64(b&0x7F) << shift 112260 if b < 0x80 { 112261 break 112262 } 112263 } 112264 intStringLen := int(stringLen) 112265 if intStringLen < 0 { 112266 return ErrInvalidLengthTypes 112267 } 112268 postIndex := iNdEx + intStringLen 112269 if postIndex < 0 { 112270 return ErrInvalidLengthTypes 112271 } 112272 if postIndex > l { 112273 return io.ErrUnexpectedEOF 112274 } 112275 m.ClientID = string(dAtA[iNdEx:postIndex]) 112276 iNdEx = postIndex 112277 default: 112278 iNdEx = preIndex 112279 skippy, err := skipTypes(dAtA[iNdEx:]) 112280 if err != nil { 112281 return err 112282 } 112283 if (skippy < 0) || (iNdEx+skippy) < 0 { 112284 return ErrInvalidLengthTypes 112285 } 112286 if (iNdEx + skippy) > l { 112287 return io.ErrUnexpectedEOF 112288 } 112289 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 112290 iNdEx += skippy 112291 } 112292 } 112293 112294 if iNdEx > l { 112295 return io.ErrUnexpectedEOF 112296 } 112297 return nil 112298 } 112299 func (m *HeadlessAuthentication) Unmarshal(dAtA []byte) error { 112300 l := len(dAtA) 112301 iNdEx := 0 112302 for iNdEx < l { 112303 preIndex := iNdEx 112304 var wire uint64 112305 for shift := uint(0); ; shift += 7 { 112306 if shift >= 64 { 112307 return ErrIntOverflowTypes 112308 } 112309 if iNdEx >= l { 112310 return io.ErrUnexpectedEOF 112311 } 112312 b := dAtA[iNdEx] 112313 iNdEx++ 112314 wire |= uint64(b&0x7F) << shift 112315 if b < 0x80 { 112316 break 112317 } 112318 } 112319 fieldNum := int32(wire >> 3) 112320 wireType := int(wire & 0x7) 112321 if wireType == 4 { 112322 return fmt.Errorf("proto: HeadlessAuthentication: wiretype end group for non-group") 112323 } 112324 if fieldNum <= 0 { 112325 return fmt.Errorf("proto: HeadlessAuthentication: illegal tag %d (wire type %d)", fieldNum, wire) 112326 } 112327 switch fieldNum { 112328 case 1: 112329 if wireType != 2 { 112330 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 112331 } 112332 var msglen int 112333 for shift := uint(0); ; shift += 7 { 112334 if shift >= 64 { 112335 return ErrIntOverflowTypes 112336 } 112337 if iNdEx >= l { 112338 return io.ErrUnexpectedEOF 112339 } 112340 b := dAtA[iNdEx] 112341 iNdEx++ 112342 msglen |= int(b&0x7F) << shift 112343 if b < 0x80 { 112344 break 112345 } 112346 } 112347 if msglen < 0 { 112348 return ErrInvalidLengthTypes 112349 } 112350 postIndex := iNdEx + msglen 112351 if postIndex < 0 { 112352 return ErrInvalidLengthTypes 112353 } 112354 if postIndex > l { 112355 return io.ErrUnexpectedEOF 112356 } 112357 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 112358 return err 112359 } 112360 iNdEx = postIndex 112361 case 2: 112362 if wireType != 2 { 112363 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 112364 } 112365 var stringLen uint64 112366 for shift := uint(0); ; shift += 7 { 112367 if shift >= 64 { 112368 return ErrIntOverflowTypes 112369 } 112370 if iNdEx >= l { 112371 return io.ErrUnexpectedEOF 112372 } 112373 b := dAtA[iNdEx] 112374 iNdEx++ 112375 stringLen |= uint64(b&0x7F) << shift 112376 if b < 0x80 { 112377 break 112378 } 112379 } 112380 intStringLen := int(stringLen) 112381 if intStringLen < 0 { 112382 return ErrInvalidLengthTypes 112383 } 112384 postIndex := iNdEx + intStringLen 112385 if postIndex < 0 { 112386 return ErrInvalidLengthTypes 112387 } 112388 if postIndex > l { 112389 return io.ErrUnexpectedEOF 112390 } 112391 m.User = string(dAtA[iNdEx:postIndex]) 112392 iNdEx = postIndex 112393 case 3: 112394 if wireType != 2 { 112395 return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) 112396 } 112397 var byteLen int 112398 for shift := uint(0); ; shift += 7 { 112399 if shift >= 64 { 112400 return ErrIntOverflowTypes 112401 } 112402 if iNdEx >= l { 112403 return io.ErrUnexpectedEOF 112404 } 112405 b := dAtA[iNdEx] 112406 iNdEx++ 112407 byteLen |= int(b&0x7F) << shift 112408 if b < 0x80 { 112409 break 112410 } 112411 } 112412 if byteLen < 0 { 112413 return ErrInvalidLengthTypes 112414 } 112415 postIndex := iNdEx + byteLen 112416 if postIndex < 0 { 112417 return ErrInvalidLengthTypes 112418 } 112419 if postIndex > l { 112420 return io.ErrUnexpectedEOF 112421 } 112422 m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) 112423 if m.PublicKey == nil { 112424 m.PublicKey = []byte{} 112425 } 112426 iNdEx = postIndex 112427 case 4: 112428 if wireType != 0 { 112429 return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) 112430 } 112431 m.State = 0 112432 for shift := uint(0); ; shift += 7 { 112433 if shift >= 64 { 112434 return ErrIntOverflowTypes 112435 } 112436 if iNdEx >= l { 112437 return io.ErrUnexpectedEOF 112438 } 112439 b := dAtA[iNdEx] 112440 iNdEx++ 112441 m.State |= HeadlessAuthenticationState(b&0x7F) << shift 112442 if b < 0x80 { 112443 break 112444 } 112445 } 112446 case 5: 112447 if wireType != 2 { 112448 return fmt.Errorf("proto: wrong wireType = %d for field MfaDevice", wireType) 112449 } 112450 var msglen int 112451 for shift := uint(0); ; shift += 7 { 112452 if shift >= 64 { 112453 return ErrIntOverflowTypes 112454 } 112455 if iNdEx >= l { 112456 return io.ErrUnexpectedEOF 112457 } 112458 b := dAtA[iNdEx] 112459 iNdEx++ 112460 msglen |= int(b&0x7F) << shift 112461 if b < 0x80 { 112462 break 112463 } 112464 } 112465 if msglen < 0 { 112466 return ErrInvalidLengthTypes 112467 } 112468 postIndex := iNdEx + msglen 112469 if postIndex < 0 { 112470 return ErrInvalidLengthTypes 112471 } 112472 if postIndex > l { 112473 return io.ErrUnexpectedEOF 112474 } 112475 if m.MfaDevice == nil { 112476 m.MfaDevice = &MFADevice{} 112477 } 112478 if err := m.MfaDevice.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 112479 return err 112480 } 112481 iNdEx = postIndex 112482 case 6: 112483 if wireType != 2 { 112484 return fmt.Errorf("proto: wrong wireType = %d for field ClientIpAddress", wireType) 112485 } 112486 var stringLen uint64 112487 for shift := uint(0); ; shift += 7 { 112488 if shift >= 64 { 112489 return ErrIntOverflowTypes 112490 } 112491 if iNdEx >= l { 112492 return io.ErrUnexpectedEOF 112493 } 112494 b := dAtA[iNdEx] 112495 iNdEx++ 112496 stringLen |= uint64(b&0x7F) << shift 112497 if b < 0x80 { 112498 break 112499 } 112500 } 112501 intStringLen := int(stringLen) 112502 if intStringLen < 0 { 112503 return ErrInvalidLengthTypes 112504 } 112505 postIndex := iNdEx + intStringLen 112506 if postIndex < 0 { 112507 return ErrInvalidLengthTypes 112508 } 112509 if postIndex > l { 112510 return io.ErrUnexpectedEOF 112511 } 112512 m.ClientIpAddress = string(dAtA[iNdEx:postIndex]) 112513 iNdEx = postIndex 112514 default: 112515 iNdEx = preIndex 112516 skippy, err := skipTypes(dAtA[iNdEx:]) 112517 if err != nil { 112518 return err 112519 } 112520 if (skippy < 0) || (iNdEx+skippy) < 0 { 112521 return ErrInvalidLengthTypes 112522 } 112523 if (iNdEx + skippy) > l { 112524 return io.ErrUnexpectedEOF 112525 } 112526 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 112527 iNdEx += skippy 112528 } 112529 } 112530 112531 if iNdEx > l { 112532 return io.ErrUnexpectedEOF 112533 } 112534 return nil 112535 } 112536 func (m *WatchKind) Unmarshal(dAtA []byte) error { 112537 l := len(dAtA) 112538 iNdEx := 0 112539 for iNdEx < l { 112540 preIndex := iNdEx 112541 var wire uint64 112542 for shift := uint(0); ; shift += 7 { 112543 if shift >= 64 { 112544 return ErrIntOverflowTypes 112545 } 112546 if iNdEx >= l { 112547 return io.ErrUnexpectedEOF 112548 } 112549 b := dAtA[iNdEx] 112550 iNdEx++ 112551 wire |= uint64(b&0x7F) << shift 112552 if b < 0x80 { 112553 break 112554 } 112555 } 112556 fieldNum := int32(wire >> 3) 112557 wireType := int(wire & 0x7) 112558 if wireType == 4 { 112559 return fmt.Errorf("proto: WatchKind: wiretype end group for non-group") 112560 } 112561 if fieldNum <= 0 { 112562 return fmt.Errorf("proto: WatchKind: illegal tag %d (wire type %d)", fieldNum, wire) 112563 } 112564 switch fieldNum { 112565 case 1: 112566 if wireType != 2 { 112567 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 112568 } 112569 var stringLen uint64 112570 for shift := uint(0); ; shift += 7 { 112571 if shift >= 64 { 112572 return ErrIntOverflowTypes 112573 } 112574 if iNdEx >= l { 112575 return io.ErrUnexpectedEOF 112576 } 112577 b := dAtA[iNdEx] 112578 iNdEx++ 112579 stringLen |= uint64(b&0x7F) << shift 112580 if b < 0x80 { 112581 break 112582 } 112583 } 112584 intStringLen := int(stringLen) 112585 if intStringLen < 0 { 112586 return ErrInvalidLengthTypes 112587 } 112588 postIndex := iNdEx + intStringLen 112589 if postIndex < 0 { 112590 return ErrInvalidLengthTypes 112591 } 112592 if postIndex > l { 112593 return io.ErrUnexpectedEOF 112594 } 112595 m.Kind = string(dAtA[iNdEx:postIndex]) 112596 iNdEx = postIndex 112597 case 2: 112598 if wireType != 0 { 112599 return fmt.Errorf("proto: wrong wireType = %d for field LoadSecrets", wireType) 112600 } 112601 var v int 112602 for shift := uint(0); ; shift += 7 { 112603 if shift >= 64 { 112604 return ErrIntOverflowTypes 112605 } 112606 if iNdEx >= l { 112607 return io.ErrUnexpectedEOF 112608 } 112609 b := dAtA[iNdEx] 112610 iNdEx++ 112611 v |= int(b&0x7F) << shift 112612 if b < 0x80 { 112613 break 112614 } 112615 } 112616 m.LoadSecrets = bool(v != 0) 112617 case 3: 112618 if wireType != 2 { 112619 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 112620 } 112621 var stringLen uint64 112622 for shift := uint(0); ; shift += 7 { 112623 if shift >= 64 { 112624 return ErrIntOverflowTypes 112625 } 112626 if iNdEx >= l { 112627 return io.ErrUnexpectedEOF 112628 } 112629 b := dAtA[iNdEx] 112630 iNdEx++ 112631 stringLen |= uint64(b&0x7F) << shift 112632 if b < 0x80 { 112633 break 112634 } 112635 } 112636 intStringLen := int(stringLen) 112637 if intStringLen < 0 { 112638 return ErrInvalidLengthTypes 112639 } 112640 postIndex := iNdEx + intStringLen 112641 if postIndex < 0 { 112642 return ErrInvalidLengthTypes 112643 } 112644 if postIndex > l { 112645 return io.ErrUnexpectedEOF 112646 } 112647 m.Name = string(dAtA[iNdEx:postIndex]) 112648 iNdEx = postIndex 112649 case 4: 112650 if wireType != 2 { 112651 return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType) 112652 } 112653 var msglen int 112654 for shift := uint(0); ; shift += 7 { 112655 if shift >= 64 { 112656 return ErrIntOverflowTypes 112657 } 112658 if iNdEx >= l { 112659 return io.ErrUnexpectedEOF 112660 } 112661 b := dAtA[iNdEx] 112662 iNdEx++ 112663 msglen |= int(b&0x7F) << shift 112664 if b < 0x80 { 112665 break 112666 } 112667 } 112668 if msglen < 0 { 112669 return ErrInvalidLengthTypes 112670 } 112671 postIndex := iNdEx + msglen 112672 if postIndex < 0 { 112673 return ErrInvalidLengthTypes 112674 } 112675 if postIndex > l { 112676 return io.ErrUnexpectedEOF 112677 } 112678 if m.Filter == nil { 112679 m.Filter = make(map[string]string) 112680 } 112681 var mapkey string 112682 var mapvalue string 112683 for iNdEx < postIndex { 112684 entryPreIndex := iNdEx 112685 var wire uint64 112686 for shift := uint(0); ; shift += 7 { 112687 if shift >= 64 { 112688 return ErrIntOverflowTypes 112689 } 112690 if iNdEx >= l { 112691 return io.ErrUnexpectedEOF 112692 } 112693 b := dAtA[iNdEx] 112694 iNdEx++ 112695 wire |= uint64(b&0x7F) << shift 112696 if b < 0x80 { 112697 break 112698 } 112699 } 112700 fieldNum := int32(wire >> 3) 112701 if fieldNum == 1 { 112702 var stringLenmapkey uint64 112703 for shift := uint(0); ; shift += 7 { 112704 if shift >= 64 { 112705 return ErrIntOverflowTypes 112706 } 112707 if iNdEx >= l { 112708 return io.ErrUnexpectedEOF 112709 } 112710 b := dAtA[iNdEx] 112711 iNdEx++ 112712 stringLenmapkey |= uint64(b&0x7F) << shift 112713 if b < 0x80 { 112714 break 112715 } 112716 } 112717 intStringLenmapkey := int(stringLenmapkey) 112718 if intStringLenmapkey < 0 { 112719 return ErrInvalidLengthTypes 112720 } 112721 postStringIndexmapkey := iNdEx + intStringLenmapkey 112722 if postStringIndexmapkey < 0 { 112723 return ErrInvalidLengthTypes 112724 } 112725 if postStringIndexmapkey > l { 112726 return io.ErrUnexpectedEOF 112727 } 112728 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 112729 iNdEx = postStringIndexmapkey 112730 } else if fieldNum == 2 { 112731 var stringLenmapvalue uint64 112732 for shift := uint(0); ; shift += 7 { 112733 if shift >= 64 { 112734 return ErrIntOverflowTypes 112735 } 112736 if iNdEx >= l { 112737 return io.ErrUnexpectedEOF 112738 } 112739 b := dAtA[iNdEx] 112740 iNdEx++ 112741 stringLenmapvalue |= uint64(b&0x7F) << shift 112742 if b < 0x80 { 112743 break 112744 } 112745 } 112746 intStringLenmapvalue := int(stringLenmapvalue) 112747 if intStringLenmapvalue < 0 { 112748 return ErrInvalidLengthTypes 112749 } 112750 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 112751 if postStringIndexmapvalue < 0 { 112752 return ErrInvalidLengthTypes 112753 } 112754 if postStringIndexmapvalue > l { 112755 return io.ErrUnexpectedEOF 112756 } 112757 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 112758 iNdEx = postStringIndexmapvalue 112759 } else { 112760 iNdEx = entryPreIndex 112761 skippy, err := skipTypes(dAtA[iNdEx:]) 112762 if err != nil { 112763 return err 112764 } 112765 if (skippy < 0) || (iNdEx+skippy) < 0 { 112766 return ErrInvalidLengthTypes 112767 } 112768 if (iNdEx + skippy) > postIndex { 112769 return io.ErrUnexpectedEOF 112770 } 112771 iNdEx += skippy 112772 } 112773 } 112774 m.Filter[mapkey] = mapvalue 112775 iNdEx = postIndex 112776 case 5: 112777 if wireType != 2 { 112778 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 112779 } 112780 var stringLen uint64 112781 for shift := uint(0); ; shift += 7 { 112782 if shift >= 64 { 112783 return ErrIntOverflowTypes 112784 } 112785 if iNdEx >= l { 112786 return io.ErrUnexpectedEOF 112787 } 112788 b := dAtA[iNdEx] 112789 iNdEx++ 112790 stringLen |= uint64(b&0x7F) << shift 112791 if b < 0x80 { 112792 break 112793 } 112794 } 112795 intStringLen := int(stringLen) 112796 if intStringLen < 0 { 112797 return ErrInvalidLengthTypes 112798 } 112799 postIndex := iNdEx + intStringLen 112800 if postIndex < 0 { 112801 return ErrInvalidLengthTypes 112802 } 112803 if postIndex > l { 112804 return io.ErrUnexpectedEOF 112805 } 112806 m.SubKind = string(dAtA[iNdEx:postIndex]) 112807 iNdEx = postIndex 112808 case 6: 112809 if wireType != 2 { 112810 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 112811 } 112812 var stringLen uint64 112813 for shift := uint(0); ; shift += 7 { 112814 if shift >= 64 { 112815 return ErrIntOverflowTypes 112816 } 112817 if iNdEx >= l { 112818 return io.ErrUnexpectedEOF 112819 } 112820 b := dAtA[iNdEx] 112821 iNdEx++ 112822 stringLen |= uint64(b&0x7F) << shift 112823 if b < 0x80 { 112824 break 112825 } 112826 } 112827 intStringLen := int(stringLen) 112828 if intStringLen < 0 { 112829 return ErrInvalidLengthTypes 112830 } 112831 postIndex := iNdEx + intStringLen 112832 if postIndex < 0 { 112833 return ErrInvalidLengthTypes 112834 } 112835 if postIndex > l { 112836 return io.ErrUnexpectedEOF 112837 } 112838 m.Version = string(dAtA[iNdEx:postIndex]) 112839 iNdEx = postIndex 112840 default: 112841 iNdEx = preIndex 112842 skippy, err := skipTypes(dAtA[iNdEx:]) 112843 if err != nil { 112844 return err 112845 } 112846 if (skippy < 0) || (iNdEx+skippy) < 0 { 112847 return ErrInvalidLengthTypes 112848 } 112849 if (iNdEx + skippy) > l { 112850 return io.ErrUnexpectedEOF 112851 } 112852 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 112853 iNdEx += skippy 112854 } 112855 } 112856 112857 if iNdEx > l { 112858 return io.ErrUnexpectedEOF 112859 } 112860 return nil 112861 } 112862 func (m *WatchStatusV1) Unmarshal(dAtA []byte) error { 112863 l := len(dAtA) 112864 iNdEx := 0 112865 for iNdEx < l { 112866 preIndex := iNdEx 112867 var wire uint64 112868 for shift := uint(0); ; shift += 7 { 112869 if shift >= 64 { 112870 return ErrIntOverflowTypes 112871 } 112872 if iNdEx >= l { 112873 return io.ErrUnexpectedEOF 112874 } 112875 b := dAtA[iNdEx] 112876 iNdEx++ 112877 wire |= uint64(b&0x7F) << shift 112878 if b < 0x80 { 112879 break 112880 } 112881 } 112882 fieldNum := int32(wire >> 3) 112883 wireType := int(wire & 0x7) 112884 if wireType == 4 { 112885 return fmt.Errorf("proto: WatchStatusV1: wiretype end group for non-group") 112886 } 112887 if fieldNum <= 0 { 112888 return fmt.Errorf("proto: WatchStatusV1: illegal tag %d (wire type %d)", fieldNum, wire) 112889 } 112890 switch fieldNum { 112891 case 1: 112892 if wireType != 2 { 112893 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 112894 } 112895 var stringLen uint64 112896 for shift := uint(0); ; shift += 7 { 112897 if shift >= 64 { 112898 return ErrIntOverflowTypes 112899 } 112900 if iNdEx >= l { 112901 return io.ErrUnexpectedEOF 112902 } 112903 b := dAtA[iNdEx] 112904 iNdEx++ 112905 stringLen |= uint64(b&0x7F) << shift 112906 if b < 0x80 { 112907 break 112908 } 112909 } 112910 intStringLen := int(stringLen) 112911 if intStringLen < 0 { 112912 return ErrInvalidLengthTypes 112913 } 112914 postIndex := iNdEx + intStringLen 112915 if postIndex < 0 { 112916 return ErrInvalidLengthTypes 112917 } 112918 if postIndex > l { 112919 return io.ErrUnexpectedEOF 112920 } 112921 m.Kind = string(dAtA[iNdEx:postIndex]) 112922 iNdEx = postIndex 112923 case 2: 112924 if wireType != 2 { 112925 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 112926 } 112927 var stringLen uint64 112928 for shift := uint(0); ; shift += 7 { 112929 if shift >= 64 { 112930 return ErrIntOverflowTypes 112931 } 112932 if iNdEx >= l { 112933 return io.ErrUnexpectedEOF 112934 } 112935 b := dAtA[iNdEx] 112936 iNdEx++ 112937 stringLen |= uint64(b&0x7F) << shift 112938 if b < 0x80 { 112939 break 112940 } 112941 } 112942 intStringLen := int(stringLen) 112943 if intStringLen < 0 { 112944 return ErrInvalidLengthTypes 112945 } 112946 postIndex := iNdEx + intStringLen 112947 if postIndex < 0 { 112948 return ErrInvalidLengthTypes 112949 } 112950 if postIndex > l { 112951 return io.ErrUnexpectedEOF 112952 } 112953 m.SubKind = string(dAtA[iNdEx:postIndex]) 112954 iNdEx = postIndex 112955 case 3: 112956 if wireType != 2 { 112957 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 112958 } 112959 var stringLen uint64 112960 for shift := uint(0); ; shift += 7 { 112961 if shift >= 64 { 112962 return ErrIntOverflowTypes 112963 } 112964 if iNdEx >= l { 112965 return io.ErrUnexpectedEOF 112966 } 112967 b := dAtA[iNdEx] 112968 iNdEx++ 112969 stringLen |= uint64(b&0x7F) << shift 112970 if b < 0x80 { 112971 break 112972 } 112973 } 112974 intStringLen := int(stringLen) 112975 if intStringLen < 0 { 112976 return ErrInvalidLengthTypes 112977 } 112978 postIndex := iNdEx + intStringLen 112979 if postIndex < 0 { 112980 return ErrInvalidLengthTypes 112981 } 112982 if postIndex > l { 112983 return io.ErrUnexpectedEOF 112984 } 112985 m.Version = string(dAtA[iNdEx:postIndex]) 112986 iNdEx = postIndex 112987 case 4: 112988 if wireType != 2 { 112989 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 112990 } 112991 var msglen int 112992 for shift := uint(0); ; shift += 7 { 112993 if shift >= 64 { 112994 return ErrIntOverflowTypes 112995 } 112996 if iNdEx >= l { 112997 return io.ErrUnexpectedEOF 112998 } 112999 b := dAtA[iNdEx] 113000 iNdEx++ 113001 msglen |= int(b&0x7F) << shift 113002 if b < 0x80 { 113003 break 113004 } 113005 } 113006 if msglen < 0 { 113007 return ErrInvalidLengthTypes 113008 } 113009 postIndex := iNdEx + msglen 113010 if postIndex < 0 { 113011 return ErrInvalidLengthTypes 113012 } 113013 if postIndex > l { 113014 return io.ErrUnexpectedEOF 113015 } 113016 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 113017 return err 113018 } 113019 iNdEx = postIndex 113020 case 5: 113021 if wireType != 2 { 113022 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 113023 } 113024 var msglen int 113025 for shift := uint(0); ; shift += 7 { 113026 if shift >= 64 { 113027 return ErrIntOverflowTypes 113028 } 113029 if iNdEx >= l { 113030 return io.ErrUnexpectedEOF 113031 } 113032 b := dAtA[iNdEx] 113033 iNdEx++ 113034 msglen |= int(b&0x7F) << shift 113035 if b < 0x80 { 113036 break 113037 } 113038 } 113039 if msglen < 0 { 113040 return ErrInvalidLengthTypes 113041 } 113042 postIndex := iNdEx + msglen 113043 if postIndex < 0 { 113044 return ErrInvalidLengthTypes 113045 } 113046 if postIndex > l { 113047 return io.ErrUnexpectedEOF 113048 } 113049 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 113050 return err 113051 } 113052 iNdEx = postIndex 113053 default: 113054 iNdEx = preIndex 113055 skippy, err := skipTypes(dAtA[iNdEx:]) 113056 if err != nil { 113057 return err 113058 } 113059 if (skippy < 0) || (iNdEx+skippy) < 0 { 113060 return ErrInvalidLengthTypes 113061 } 113062 if (iNdEx + skippy) > l { 113063 return io.ErrUnexpectedEOF 113064 } 113065 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 113066 iNdEx += skippy 113067 } 113068 } 113069 113070 if iNdEx > l { 113071 return io.ErrUnexpectedEOF 113072 } 113073 return nil 113074 } 113075 func (m *WatchStatusSpecV1) Unmarshal(dAtA []byte) error { 113076 l := len(dAtA) 113077 iNdEx := 0 113078 for iNdEx < l { 113079 preIndex := iNdEx 113080 var wire uint64 113081 for shift := uint(0); ; shift += 7 { 113082 if shift >= 64 { 113083 return ErrIntOverflowTypes 113084 } 113085 if iNdEx >= l { 113086 return io.ErrUnexpectedEOF 113087 } 113088 b := dAtA[iNdEx] 113089 iNdEx++ 113090 wire |= uint64(b&0x7F) << shift 113091 if b < 0x80 { 113092 break 113093 } 113094 } 113095 fieldNum := int32(wire >> 3) 113096 wireType := int(wire & 0x7) 113097 if wireType == 4 { 113098 return fmt.Errorf("proto: WatchStatusSpecV1: wiretype end group for non-group") 113099 } 113100 if fieldNum <= 0 { 113101 return fmt.Errorf("proto: WatchStatusSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 113102 } 113103 switch fieldNum { 113104 case 1: 113105 if wireType != 2 { 113106 return fmt.Errorf("proto: wrong wireType = %d for field Kinds", wireType) 113107 } 113108 var msglen int 113109 for shift := uint(0); ; shift += 7 { 113110 if shift >= 64 { 113111 return ErrIntOverflowTypes 113112 } 113113 if iNdEx >= l { 113114 return io.ErrUnexpectedEOF 113115 } 113116 b := dAtA[iNdEx] 113117 iNdEx++ 113118 msglen |= int(b&0x7F) << shift 113119 if b < 0x80 { 113120 break 113121 } 113122 } 113123 if msglen < 0 { 113124 return ErrInvalidLengthTypes 113125 } 113126 postIndex := iNdEx + msglen 113127 if postIndex < 0 { 113128 return ErrInvalidLengthTypes 113129 } 113130 if postIndex > l { 113131 return io.ErrUnexpectedEOF 113132 } 113133 m.Kinds = append(m.Kinds, WatchKind{}) 113134 if err := m.Kinds[len(m.Kinds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 113135 return err 113136 } 113137 iNdEx = postIndex 113138 default: 113139 iNdEx = preIndex 113140 skippy, err := skipTypes(dAtA[iNdEx:]) 113141 if err != nil { 113142 return err 113143 } 113144 if (skippy < 0) || (iNdEx+skippy) < 0 { 113145 return ErrInvalidLengthTypes 113146 } 113147 if (iNdEx + skippy) > l { 113148 return io.ErrUnexpectedEOF 113149 } 113150 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 113151 iNdEx += skippy 113152 } 113153 } 113154 113155 if iNdEx > l { 113156 return io.ErrUnexpectedEOF 113157 } 113158 return nil 113159 } 113160 func (m *ServerInfoV1) Unmarshal(dAtA []byte) error { 113161 l := len(dAtA) 113162 iNdEx := 0 113163 for iNdEx < l { 113164 preIndex := iNdEx 113165 var wire uint64 113166 for shift := uint(0); ; shift += 7 { 113167 if shift >= 64 { 113168 return ErrIntOverflowTypes 113169 } 113170 if iNdEx >= l { 113171 return io.ErrUnexpectedEOF 113172 } 113173 b := dAtA[iNdEx] 113174 iNdEx++ 113175 wire |= uint64(b&0x7F) << shift 113176 if b < 0x80 { 113177 break 113178 } 113179 } 113180 fieldNum := int32(wire >> 3) 113181 wireType := int(wire & 0x7) 113182 if wireType == 4 { 113183 return fmt.Errorf("proto: ServerInfoV1: wiretype end group for non-group") 113184 } 113185 if fieldNum <= 0 { 113186 return fmt.Errorf("proto: ServerInfoV1: illegal tag %d (wire type %d)", fieldNum, wire) 113187 } 113188 switch fieldNum { 113189 case 1: 113190 if wireType != 2 { 113191 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 113192 } 113193 var stringLen uint64 113194 for shift := uint(0); ; shift += 7 { 113195 if shift >= 64 { 113196 return ErrIntOverflowTypes 113197 } 113198 if iNdEx >= l { 113199 return io.ErrUnexpectedEOF 113200 } 113201 b := dAtA[iNdEx] 113202 iNdEx++ 113203 stringLen |= uint64(b&0x7F) << shift 113204 if b < 0x80 { 113205 break 113206 } 113207 } 113208 intStringLen := int(stringLen) 113209 if intStringLen < 0 { 113210 return ErrInvalidLengthTypes 113211 } 113212 postIndex := iNdEx + intStringLen 113213 if postIndex < 0 { 113214 return ErrInvalidLengthTypes 113215 } 113216 if postIndex > l { 113217 return io.ErrUnexpectedEOF 113218 } 113219 m.Kind = string(dAtA[iNdEx:postIndex]) 113220 iNdEx = postIndex 113221 case 2: 113222 if wireType != 2 { 113223 return fmt.Errorf("proto: wrong wireType = %d for field SubKind", wireType) 113224 } 113225 var stringLen uint64 113226 for shift := uint(0); ; shift += 7 { 113227 if shift >= 64 { 113228 return ErrIntOverflowTypes 113229 } 113230 if iNdEx >= l { 113231 return io.ErrUnexpectedEOF 113232 } 113233 b := dAtA[iNdEx] 113234 iNdEx++ 113235 stringLen |= uint64(b&0x7F) << shift 113236 if b < 0x80 { 113237 break 113238 } 113239 } 113240 intStringLen := int(stringLen) 113241 if intStringLen < 0 { 113242 return ErrInvalidLengthTypes 113243 } 113244 postIndex := iNdEx + intStringLen 113245 if postIndex < 0 { 113246 return ErrInvalidLengthTypes 113247 } 113248 if postIndex > l { 113249 return io.ErrUnexpectedEOF 113250 } 113251 m.SubKind = string(dAtA[iNdEx:postIndex]) 113252 iNdEx = postIndex 113253 case 3: 113254 if wireType != 2 { 113255 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 113256 } 113257 var stringLen uint64 113258 for shift := uint(0); ; shift += 7 { 113259 if shift >= 64 { 113260 return ErrIntOverflowTypes 113261 } 113262 if iNdEx >= l { 113263 return io.ErrUnexpectedEOF 113264 } 113265 b := dAtA[iNdEx] 113266 iNdEx++ 113267 stringLen |= uint64(b&0x7F) << shift 113268 if b < 0x80 { 113269 break 113270 } 113271 } 113272 intStringLen := int(stringLen) 113273 if intStringLen < 0 { 113274 return ErrInvalidLengthTypes 113275 } 113276 postIndex := iNdEx + intStringLen 113277 if postIndex < 0 { 113278 return ErrInvalidLengthTypes 113279 } 113280 if postIndex > l { 113281 return io.ErrUnexpectedEOF 113282 } 113283 m.Version = string(dAtA[iNdEx:postIndex]) 113284 iNdEx = postIndex 113285 case 4: 113286 if wireType != 2 { 113287 return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) 113288 } 113289 var msglen int 113290 for shift := uint(0); ; shift += 7 { 113291 if shift >= 64 { 113292 return ErrIntOverflowTypes 113293 } 113294 if iNdEx >= l { 113295 return io.ErrUnexpectedEOF 113296 } 113297 b := dAtA[iNdEx] 113298 iNdEx++ 113299 msglen |= int(b&0x7F) << shift 113300 if b < 0x80 { 113301 break 113302 } 113303 } 113304 if msglen < 0 { 113305 return ErrInvalidLengthTypes 113306 } 113307 postIndex := iNdEx + msglen 113308 if postIndex < 0 { 113309 return ErrInvalidLengthTypes 113310 } 113311 if postIndex > l { 113312 return io.ErrUnexpectedEOF 113313 } 113314 if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 113315 return err 113316 } 113317 iNdEx = postIndex 113318 case 5: 113319 if wireType != 2 { 113320 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) 113321 } 113322 var msglen int 113323 for shift := uint(0); ; shift += 7 { 113324 if shift >= 64 { 113325 return ErrIntOverflowTypes 113326 } 113327 if iNdEx >= l { 113328 return io.ErrUnexpectedEOF 113329 } 113330 b := dAtA[iNdEx] 113331 iNdEx++ 113332 msglen |= int(b&0x7F) << shift 113333 if b < 0x80 { 113334 break 113335 } 113336 } 113337 if msglen < 0 { 113338 return ErrInvalidLengthTypes 113339 } 113340 postIndex := iNdEx + msglen 113341 if postIndex < 0 { 113342 return ErrInvalidLengthTypes 113343 } 113344 if postIndex > l { 113345 return io.ErrUnexpectedEOF 113346 } 113347 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 113348 return err 113349 } 113350 iNdEx = postIndex 113351 default: 113352 iNdEx = preIndex 113353 skippy, err := skipTypes(dAtA[iNdEx:]) 113354 if err != nil { 113355 return err 113356 } 113357 if (skippy < 0) || (iNdEx+skippy) < 0 { 113358 return ErrInvalidLengthTypes 113359 } 113360 if (iNdEx + skippy) > l { 113361 return io.ErrUnexpectedEOF 113362 } 113363 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 113364 iNdEx += skippy 113365 } 113366 } 113367 113368 if iNdEx > l { 113369 return io.ErrUnexpectedEOF 113370 } 113371 return nil 113372 } 113373 func (m *ServerInfoSpecV1) Unmarshal(dAtA []byte) error { 113374 l := len(dAtA) 113375 iNdEx := 0 113376 for iNdEx < l { 113377 preIndex := iNdEx 113378 var wire uint64 113379 for shift := uint(0); ; shift += 7 { 113380 if shift >= 64 { 113381 return ErrIntOverflowTypes 113382 } 113383 if iNdEx >= l { 113384 return io.ErrUnexpectedEOF 113385 } 113386 b := dAtA[iNdEx] 113387 iNdEx++ 113388 wire |= uint64(b&0x7F) << shift 113389 if b < 0x80 { 113390 break 113391 } 113392 } 113393 fieldNum := int32(wire >> 3) 113394 wireType := int(wire & 0x7) 113395 if wireType == 4 { 113396 return fmt.Errorf("proto: ServerInfoSpecV1: wiretype end group for non-group") 113397 } 113398 if fieldNum <= 0 { 113399 return fmt.Errorf("proto: ServerInfoSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 113400 } 113401 switch fieldNum { 113402 case 2: 113403 if wireType != 2 { 113404 return fmt.Errorf("proto: wrong wireType = %d for field NewLabels", wireType) 113405 } 113406 var msglen int 113407 for shift := uint(0); ; shift += 7 { 113408 if shift >= 64 { 113409 return ErrIntOverflowTypes 113410 } 113411 if iNdEx >= l { 113412 return io.ErrUnexpectedEOF 113413 } 113414 b := dAtA[iNdEx] 113415 iNdEx++ 113416 msglen |= int(b&0x7F) << shift 113417 if b < 0x80 { 113418 break 113419 } 113420 } 113421 if msglen < 0 { 113422 return ErrInvalidLengthTypes 113423 } 113424 postIndex := iNdEx + msglen 113425 if postIndex < 0 { 113426 return ErrInvalidLengthTypes 113427 } 113428 if postIndex > l { 113429 return io.ErrUnexpectedEOF 113430 } 113431 if m.NewLabels == nil { 113432 m.NewLabels = make(map[string]string) 113433 } 113434 var mapkey string 113435 var mapvalue string 113436 for iNdEx < postIndex { 113437 entryPreIndex := iNdEx 113438 var wire uint64 113439 for shift := uint(0); ; shift += 7 { 113440 if shift >= 64 { 113441 return ErrIntOverflowTypes 113442 } 113443 if iNdEx >= l { 113444 return io.ErrUnexpectedEOF 113445 } 113446 b := dAtA[iNdEx] 113447 iNdEx++ 113448 wire |= uint64(b&0x7F) << shift 113449 if b < 0x80 { 113450 break 113451 } 113452 } 113453 fieldNum := int32(wire >> 3) 113454 if fieldNum == 1 { 113455 var stringLenmapkey uint64 113456 for shift := uint(0); ; shift += 7 { 113457 if shift >= 64 { 113458 return ErrIntOverflowTypes 113459 } 113460 if iNdEx >= l { 113461 return io.ErrUnexpectedEOF 113462 } 113463 b := dAtA[iNdEx] 113464 iNdEx++ 113465 stringLenmapkey |= uint64(b&0x7F) << shift 113466 if b < 0x80 { 113467 break 113468 } 113469 } 113470 intStringLenmapkey := int(stringLenmapkey) 113471 if intStringLenmapkey < 0 { 113472 return ErrInvalidLengthTypes 113473 } 113474 postStringIndexmapkey := iNdEx + intStringLenmapkey 113475 if postStringIndexmapkey < 0 { 113476 return ErrInvalidLengthTypes 113477 } 113478 if postStringIndexmapkey > l { 113479 return io.ErrUnexpectedEOF 113480 } 113481 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 113482 iNdEx = postStringIndexmapkey 113483 } else if fieldNum == 2 { 113484 var stringLenmapvalue uint64 113485 for shift := uint(0); ; shift += 7 { 113486 if shift >= 64 { 113487 return ErrIntOverflowTypes 113488 } 113489 if iNdEx >= l { 113490 return io.ErrUnexpectedEOF 113491 } 113492 b := dAtA[iNdEx] 113493 iNdEx++ 113494 stringLenmapvalue |= uint64(b&0x7F) << shift 113495 if b < 0x80 { 113496 break 113497 } 113498 } 113499 intStringLenmapvalue := int(stringLenmapvalue) 113500 if intStringLenmapvalue < 0 { 113501 return ErrInvalidLengthTypes 113502 } 113503 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 113504 if postStringIndexmapvalue < 0 { 113505 return ErrInvalidLengthTypes 113506 } 113507 if postStringIndexmapvalue > l { 113508 return io.ErrUnexpectedEOF 113509 } 113510 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 113511 iNdEx = postStringIndexmapvalue 113512 } else { 113513 iNdEx = entryPreIndex 113514 skippy, err := skipTypes(dAtA[iNdEx:]) 113515 if err != nil { 113516 return err 113517 } 113518 if (skippy < 0) || (iNdEx+skippy) < 0 { 113519 return ErrInvalidLengthTypes 113520 } 113521 if (iNdEx + skippy) > postIndex { 113522 return io.ErrUnexpectedEOF 113523 } 113524 iNdEx += skippy 113525 } 113526 } 113527 m.NewLabels[mapkey] = mapvalue 113528 iNdEx = postIndex 113529 default: 113530 iNdEx = preIndex 113531 skippy, err := skipTypes(dAtA[iNdEx:]) 113532 if err != nil { 113533 return err 113534 } 113535 if (skippy < 0) || (iNdEx+skippy) < 0 { 113536 return ErrInvalidLengthTypes 113537 } 113538 if (iNdEx + skippy) > l { 113539 return io.ErrUnexpectedEOF 113540 } 113541 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 113542 iNdEx += skippy 113543 } 113544 } 113545 113546 if iNdEx > l { 113547 return io.ErrUnexpectedEOF 113548 } 113549 return nil 113550 } 113551 func (m *JamfSpecV1) Unmarshal(dAtA []byte) error { 113552 l := len(dAtA) 113553 iNdEx := 0 113554 for iNdEx < l { 113555 preIndex := iNdEx 113556 var wire uint64 113557 for shift := uint(0); ; shift += 7 { 113558 if shift >= 64 { 113559 return ErrIntOverflowTypes 113560 } 113561 if iNdEx >= l { 113562 return io.ErrUnexpectedEOF 113563 } 113564 b := dAtA[iNdEx] 113565 iNdEx++ 113566 wire |= uint64(b&0x7F) << shift 113567 if b < 0x80 { 113568 break 113569 } 113570 } 113571 fieldNum := int32(wire >> 3) 113572 wireType := int(wire & 0x7) 113573 if wireType == 4 { 113574 return fmt.Errorf("proto: JamfSpecV1: wiretype end group for non-group") 113575 } 113576 if fieldNum <= 0 { 113577 return fmt.Errorf("proto: JamfSpecV1: illegal tag %d (wire type %d)", fieldNum, wire) 113578 } 113579 switch fieldNum { 113580 case 1: 113581 if wireType != 0 { 113582 return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) 113583 } 113584 var v int 113585 for shift := uint(0); ; shift += 7 { 113586 if shift >= 64 { 113587 return ErrIntOverflowTypes 113588 } 113589 if iNdEx >= l { 113590 return io.ErrUnexpectedEOF 113591 } 113592 b := dAtA[iNdEx] 113593 iNdEx++ 113594 v |= int(b&0x7F) << shift 113595 if b < 0x80 { 113596 break 113597 } 113598 } 113599 m.Enabled = bool(v != 0) 113600 case 2: 113601 if wireType != 2 { 113602 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 113603 } 113604 var stringLen uint64 113605 for shift := uint(0); ; shift += 7 { 113606 if shift >= 64 { 113607 return ErrIntOverflowTypes 113608 } 113609 if iNdEx >= l { 113610 return io.ErrUnexpectedEOF 113611 } 113612 b := dAtA[iNdEx] 113613 iNdEx++ 113614 stringLen |= uint64(b&0x7F) << shift 113615 if b < 0x80 { 113616 break 113617 } 113618 } 113619 intStringLen := int(stringLen) 113620 if intStringLen < 0 { 113621 return ErrInvalidLengthTypes 113622 } 113623 postIndex := iNdEx + intStringLen 113624 if postIndex < 0 { 113625 return ErrInvalidLengthTypes 113626 } 113627 if postIndex > l { 113628 return io.ErrUnexpectedEOF 113629 } 113630 m.Name = string(dAtA[iNdEx:postIndex]) 113631 iNdEx = postIndex 113632 case 3: 113633 if wireType != 0 { 113634 return fmt.Errorf("proto: wrong wireType = %d for field SyncDelay", wireType) 113635 } 113636 m.SyncDelay = 0 113637 for shift := uint(0); ; shift += 7 { 113638 if shift >= 64 { 113639 return ErrIntOverflowTypes 113640 } 113641 if iNdEx >= l { 113642 return io.ErrUnexpectedEOF 113643 } 113644 b := dAtA[iNdEx] 113645 iNdEx++ 113646 m.SyncDelay |= Duration(b&0x7F) << shift 113647 if b < 0x80 { 113648 break 113649 } 113650 } 113651 case 4: 113652 if wireType != 2 { 113653 return fmt.Errorf("proto: wrong wireType = %d for field ApiEndpoint", wireType) 113654 } 113655 var stringLen uint64 113656 for shift := uint(0); ; shift += 7 { 113657 if shift >= 64 { 113658 return ErrIntOverflowTypes 113659 } 113660 if iNdEx >= l { 113661 return io.ErrUnexpectedEOF 113662 } 113663 b := dAtA[iNdEx] 113664 iNdEx++ 113665 stringLen |= uint64(b&0x7F) << shift 113666 if b < 0x80 { 113667 break 113668 } 113669 } 113670 intStringLen := int(stringLen) 113671 if intStringLen < 0 { 113672 return ErrInvalidLengthTypes 113673 } 113674 postIndex := iNdEx + intStringLen 113675 if postIndex < 0 { 113676 return ErrInvalidLengthTypes 113677 } 113678 if postIndex > l { 113679 return io.ErrUnexpectedEOF 113680 } 113681 m.ApiEndpoint = string(dAtA[iNdEx:postIndex]) 113682 iNdEx = postIndex 113683 case 5: 113684 if wireType != 2 { 113685 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 113686 } 113687 var stringLen uint64 113688 for shift := uint(0); ; shift += 7 { 113689 if shift >= 64 { 113690 return ErrIntOverflowTypes 113691 } 113692 if iNdEx >= l { 113693 return io.ErrUnexpectedEOF 113694 } 113695 b := dAtA[iNdEx] 113696 iNdEx++ 113697 stringLen |= uint64(b&0x7F) << shift 113698 if b < 0x80 { 113699 break 113700 } 113701 } 113702 intStringLen := int(stringLen) 113703 if intStringLen < 0 { 113704 return ErrInvalidLengthTypes 113705 } 113706 postIndex := iNdEx + intStringLen 113707 if postIndex < 0 { 113708 return ErrInvalidLengthTypes 113709 } 113710 if postIndex > l { 113711 return io.ErrUnexpectedEOF 113712 } 113713 m.Username = string(dAtA[iNdEx:postIndex]) 113714 iNdEx = postIndex 113715 case 6: 113716 if wireType != 2 { 113717 return fmt.Errorf("proto: wrong wireType = %d for field Password", wireType) 113718 } 113719 var stringLen uint64 113720 for shift := uint(0); ; shift += 7 { 113721 if shift >= 64 { 113722 return ErrIntOverflowTypes 113723 } 113724 if iNdEx >= l { 113725 return io.ErrUnexpectedEOF 113726 } 113727 b := dAtA[iNdEx] 113728 iNdEx++ 113729 stringLen |= uint64(b&0x7F) << shift 113730 if b < 0x80 { 113731 break 113732 } 113733 } 113734 intStringLen := int(stringLen) 113735 if intStringLen < 0 { 113736 return ErrInvalidLengthTypes 113737 } 113738 postIndex := iNdEx + intStringLen 113739 if postIndex < 0 { 113740 return ErrInvalidLengthTypes 113741 } 113742 if postIndex > l { 113743 return io.ErrUnexpectedEOF 113744 } 113745 m.Password = string(dAtA[iNdEx:postIndex]) 113746 iNdEx = postIndex 113747 case 7: 113748 if wireType != 2 { 113749 return fmt.Errorf("proto: wrong wireType = %d for field Inventory", wireType) 113750 } 113751 var msglen int 113752 for shift := uint(0); ; shift += 7 { 113753 if shift >= 64 { 113754 return ErrIntOverflowTypes 113755 } 113756 if iNdEx >= l { 113757 return io.ErrUnexpectedEOF 113758 } 113759 b := dAtA[iNdEx] 113760 iNdEx++ 113761 msglen |= int(b&0x7F) << shift 113762 if b < 0x80 { 113763 break 113764 } 113765 } 113766 if msglen < 0 { 113767 return ErrInvalidLengthTypes 113768 } 113769 postIndex := iNdEx + msglen 113770 if postIndex < 0 { 113771 return ErrInvalidLengthTypes 113772 } 113773 if postIndex > l { 113774 return io.ErrUnexpectedEOF 113775 } 113776 m.Inventory = append(m.Inventory, &JamfInventoryEntry{}) 113777 if err := m.Inventory[len(m.Inventory)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 113778 return err 113779 } 113780 iNdEx = postIndex 113781 default: 113782 iNdEx = preIndex 113783 skippy, err := skipTypes(dAtA[iNdEx:]) 113784 if err != nil { 113785 return err 113786 } 113787 if (skippy < 0) || (iNdEx+skippy) < 0 { 113788 return ErrInvalidLengthTypes 113789 } 113790 if (iNdEx + skippy) > l { 113791 return io.ErrUnexpectedEOF 113792 } 113793 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 113794 iNdEx += skippy 113795 } 113796 } 113797 113798 if iNdEx > l { 113799 return io.ErrUnexpectedEOF 113800 } 113801 return nil 113802 } 113803 func (m *JamfInventoryEntry) Unmarshal(dAtA []byte) error { 113804 l := len(dAtA) 113805 iNdEx := 0 113806 for iNdEx < l { 113807 preIndex := iNdEx 113808 var wire uint64 113809 for shift := uint(0); ; shift += 7 { 113810 if shift >= 64 { 113811 return ErrIntOverflowTypes 113812 } 113813 if iNdEx >= l { 113814 return io.ErrUnexpectedEOF 113815 } 113816 b := dAtA[iNdEx] 113817 iNdEx++ 113818 wire |= uint64(b&0x7F) << shift 113819 if b < 0x80 { 113820 break 113821 } 113822 } 113823 fieldNum := int32(wire >> 3) 113824 wireType := int(wire & 0x7) 113825 if wireType == 4 { 113826 return fmt.Errorf("proto: JamfInventoryEntry: wiretype end group for non-group") 113827 } 113828 if fieldNum <= 0 { 113829 return fmt.Errorf("proto: JamfInventoryEntry: illegal tag %d (wire type %d)", fieldNum, wire) 113830 } 113831 switch fieldNum { 113832 case 1: 113833 if wireType != 2 { 113834 return fmt.Errorf("proto: wrong wireType = %d for field FilterRsql", wireType) 113835 } 113836 var stringLen uint64 113837 for shift := uint(0); ; shift += 7 { 113838 if shift >= 64 { 113839 return ErrIntOverflowTypes 113840 } 113841 if iNdEx >= l { 113842 return io.ErrUnexpectedEOF 113843 } 113844 b := dAtA[iNdEx] 113845 iNdEx++ 113846 stringLen |= uint64(b&0x7F) << shift 113847 if b < 0x80 { 113848 break 113849 } 113850 } 113851 intStringLen := int(stringLen) 113852 if intStringLen < 0 { 113853 return ErrInvalidLengthTypes 113854 } 113855 postIndex := iNdEx + intStringLen 113856 if postIndex < 0 { 113857 return ErrInvalidLengthTypes 113858 } 113859 if postIndex > l { 113860 return io.ErrUnexpectedEOF 113861 } 113862 m.FilterRsql = string(dAtA[iNdEx:postIndex]) 113863 iNdEx = postIndex 113864 case 2: 113865 if wireType != 0 { 113866 return fmt.Errorf("proto: wrong wireType = %d for field SyncPeriodPartial", wireType) 113867 } 113868 m.SyncPeriodPartial = 0 113869 for shift := uint(0); ; shift += 7 { 113870 if shift >= 64 { 113871 return ErrIntOverflowTypes 113872 } 113873 if iNdEx >= l { 113874 return io.ErrUnexpectedEOF 113875 } 113876 b := dAtA[iNdEx] 113877 iNdEx++ 113878 m.SyncPeriodPartial |= Duration(b&0x7F) << shift 113879 if b < 0x80 { 113880 break 113881 } 113882 } 113883 case 3: 113884 if wireType != 0 { 113885 return fmt.Errorf("proto: wrong wireType = %d for field SyncPeriodFull", wireType) 113886 } 113887 m.SyncPeriodFull = 0 113888 for shift := uint(0); ; shift += 7 { 113889 if shift >= 64 { 113890 return ErrIntOverflowTypes 113891 } 113892 if iNdEx >= l { 113893 return io.ErrUnexpectedEOF 113894 } 113895 b := dAtA[iNdEx] 113896 iNdEx++ 113897 m.SyncPeriodFull |= Duration(b&0x7F) << shift 113898 if b < 0x80 { 113899 break 113900 } 113901 } 113902 case 4: 113903 if wireType != 2 { 113904 return fmt.Errorf("proto: wrong wireType = %d for field OnMissing", wireType) 113905 } 113906 var stringLen uint64 113907 for shift := uint(0); ; shift += 7 { 113908 if shift >= 64 { 113909 return ErrIntOverflowTypes 113910 } 113911 if iNdEx >= l { 113912 return io.ErrUnexpectedEOF 113913 } 113914 b := dAtA[iNdEx] 113915 iNdEx++ 113916 stringLen |= uint64(b&0x7F) << shift 113917 if b < 0x80 { 113918 break 113919 } 113920 } 113921 intStringLen := int(stringLen) 113922 if intStringLen < 0 { 113923 return ErrInvalidLengthTypes 113924 } 113925 postIndex := iNdEx + intStringLen 113926 if postIndex < 0 { 113927 return ErrInvalidLengthTypes 113928 } 113929 if postIndex > l { 113930 return io.ErrUnexpectedEOF 113931 } 113932 m.OnMissing = string(dAtA[iNdEx:postIndex]) 113933 iNdEx = postIndex 113934 case 5: 113935 if wireType != 0 { 113936 return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) 113937 } 113938 m.PageSize = 0 113939 for shift := uint(0); ; shift += 7 { 113940 if shift >= 64 { 113941 return ErrIntOverflowTypes 113942 } 113943 if iNdEx >= l { 113944 return io.ErrUnexpectedEOF 113945 } 113946 b := dAtA[iNdEx] 113947 iNdEx++ 113948 m.PageSize |= int32(b&0x7F) << shift 113949 if b < 0x80 { 113950 break 113951 } 113952 } 113953 default: 113954 iNdEx = preIndex 113955 skippy, err := skipTypes(dAtA[iNdEx:]) 113956 if err != nil { 113957 return err 113958 } 113959 if (skippy < 0) || (iNdEx+skippy) < 0 { 113960 return ErrInvalidLengthTypes 113961 } 113962 if (iNdEx + skippy) > l { 113963 return io.ErrUnexpectedEOF 113964 } 113965 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 113966 iNdEx += skippy 113967 } 113968 } 113969 113970 if iNdEx > l { 113971 return io.ErrUnexpectedEOF 113972 } 113973 return nil 113974 } 113975 func (m *MessageWithHeader) Unmarshal(dAtA []byte) error { 113976 l := len(dAtA) 113977 iNdEx := 0 113978 for iNdEx < l { 113979 preIndex := iNdEx 113980 var wire uint64 113981 for shift := uint(0); ; shift += 7 { 113982 if shift >= 64 { 113983 return ErrIntOverflowTypes 113984 } 113985 if iNdEx >= l { 113986 return io.ErrUnexpectedEOF 113987 } 113988 b := dAtA[iNdEx] 113989 iNdEx++ 113990 wire |= uint64(b&0x7F) << shift 113991 if b < 0x80 { 113992 break 113993 } 113994 } 113995 fieldNum := int32(wire >> 3) 113996 wireType := int(wire & 0x7) 113997 if wireType == 4 { 113998 return fmt.Errorf("proto: MessageWithHeader: wiretype end group for non-group") 113999 } 114000 if fieldNum <= 0 { 114001 return fmt.Errorf("proto: MessageWithHeader: illegal tag %d (wire type %d)", fieldNum, wire) 114002 } 114003 switch fieldNum { 114004 case 1: 114005 if wireType != 2 { 114006 return fmt.Errorf("proto: wrong wireType = %d for field ResourceHeader", wireType) 114007 } 114008 var msglen int 114009 for shift := uint(0); ; shift += 7 { 114010 if shift >= 64 { 114011 return ErrIntOverflowTypes 114012 } 114013 if iNdEx >= l { 114014 return io.ErrUnexpectedEOF 114015 } 114016 b := dAtA[iNdEx] 114017 iNdEx++ 114018 msglen |= int(b&0x7F) << shift 114019 if b < 0x80 { 114020 break 114021 } 114022 } 114023 if msglen < 0 { 114024 return ErrInvalidLengthTypes 114025 } 114026 postIndex := iNdEx + msglen 114027 if postIndex < 0 { 114028 return ErrInvalidLengthTypes 114029 } 114030 if postIndex > l { 114031 return io.ErrUnexpectedEOF 114032 } 114033 if err := m.ResourceHeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 114034 return err 114035 } 114036 iNdEx = postIndex 114037 default: 114038 iNdEx = preIndex 114039 skippy, err := skipTypes(dAtA[iNdEx:]) 114040 if err != nil { 114041 return err 114042 } 114043 if (skippy < 0) || (iNdEx+skippy) < 0 { 114044 return ErrInvalidLengthTypes 114045 } 114046 if (iNdEx + skippy) > l { 114047 return io.ErrUnexpectedEOF 114048 } 114049 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 114050 iNdEx += skippy 114051 } 114052 } 114053 114054 if iNdEx > l { 114055 return io.ErrUnexpectedEOF 114056 } 114057 return nil 114058 } 114059 func (m *AWSMatcher) Unmarshal(dAtA []byte) error { 114060 l := len(dAtA) 114061 iNdEx := 0 114062 for iNdEx < l { 114063 preIndex := iNdEx 114064 var wire uint64 114065 for shift := uint(0); ; shift += 7 { 114066 if shift >= 64 { 114067 return ErrIntOverflowTypes 114068 } 114069 if iNdEx >= l { 114070 return io.ErrUnexpectedEOF 114071 } 114072 b := dAtA[iNdEx] 114073 iNdEx++ 114074 wire |= uint64(b&0x7F) << shift 114075 if b < 0x80 { 114076 break 114077 } 114078 } 114079 fieldNum := int32(wire >> 3) 114080 wireType := int(wire & 0x7) 114081 if wireType == 4 { 114082 return fmt.Errorf("proto: AWSMatcher: wiretype end group for non-group") 114083 } 114084 if fieldNum <= 0 { 114085 return fmt.Errorf("proto: AWSMatcher: illegal tag %d (wire type %d)", fieldNum, wire) 114086 } 114087 switch fieldNum { 114088 case 1: 114089 if wireType != 2 { 114090 return fmt.Errorf("proto: wrong wireType = %d for field Types", wireType) 114091 } 114092 var stringLen uint64 114093 for shift := uint(0); ; shift += 7 { 114094 if shift >= 64 { 114095 return ErrIntOverflowTypes 114096 } 114097 if iNdEx >= l { 114098 return io.ErrUnexpectedEOF 114099 } 114100 b := dAtA[iNdEx] 114101 iNdEx++ 114102 stringLen |= uint64(b&0x7F) << shift 114103 if b < 0x80 { 114104 break 114105 } 114106 } 114107 intStringLen := int(stringLen) 114108 if intStringLen < 0 { 114109 return ErrInvalidLengthTypes 114110 } 114111 postIndex := iNdEx + intStringLen 114112 if postIndex < 0 { 114113 return ErrInvalidLengthTypes 114114 } 114115 if postIndex > l { 114116 return io.ErrUnexpectedEOF 114117 } 114118 m.Types = append(m.Types, string(dAtA[iNdEx:postIndex])) 114119 iNdEx = postIndex 114120 case 2: 114121 if wireType != 2 { 114122 return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) 114123 } 114124 var stringLen uint64 114125 for shift := uint(0); ; shift += 7 { 114126 if shift >= 64 { 114127 return ErrIntOverflowTypes 114128 } 114129 if iNdEx >= l { 114130 return io.ErrUnexpectedEOF 114131 } 114132 b := dAtA[iNdEx] 114133 iNdEx++ 114134 stringLen |= uint64(b&0x7F) << shift 114135 if b < 0x80 { 114136 break 114137 } 114138 } 114139 intStringLen := int(stringLen) 114140 if intStringLen < 0 { 114141 return ErrInvalidLengthTypes 114142 } 114143 postIndex := iNdEx + intStringLen 114144 if postIndex < 0 { 114145 return ErrInvalidLengthTypes 114146 } 114147 if postIndex > l { 114148 return io.ErrUnexpectedEOF 114149 } 114150 m.Regions = append(m.Regions, string(dAtA[iNdEx:postIndex])) 114151 iNdEx = postIndex 114152 case 3: 114153 if wireType != 2 { 114154 return fmt.Errorf("proto: wrong wireType = %d for field AssumeRole", wireType) 114155 } 114156 var msglen int 114157 for shift := uint(0); ; shift += 7 { 114158 if shift >= 64 { 114159 return ErrIntOverflowTypes 114160 } 114161 if iNdEx >= l { 114162 return io.ErrUnexpectedEOF 114163 } 114164 b := dAtA[iNdEx] 114165 iNdEx++ 114166 msglen |= int(b&0x7F) << shift 114167 if b < 0x80 { 114168 break 114169 } 114170 } 114171 if msglen < 0 { 114172 return ErrInvalidLengthTypes 114173 } 114174 postIndex := iNdEx + msglen 114175 if postIndex < 0 { 114176 return ErrInvalidLengthTypes 114177 } 114178 if postIndex > l { 114179 return io.ErrUnexpectedEOF 114180 } 114181 if m.AssumeRole == nil { 114182 m.AssumeRole = &AssumeRole{} 114183 } 114184 if err := m.AssumeRole.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 114185 return err 114186 } 114187 iNdEx = postIndex 114188 case 4: 114189 if wireType != 2 { 114190 return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) 114191 } 114192 var msglen int 114193 for shift := uint(0); ; shift += 7 { 114194 if shift >= 64 { 114195 return ErrIntOverflowTypes 114196 } 114197 if iNdEx >= l { 114198 return io.ErrUnexpectedEOF 114199 } 114200 b := dAtA[iNdEx] 114201 iNdEx++ 114202 msglen |= int(b&0x7F) << shift 114203 if b < 0x80 { 114204 break 114205 } 114206 } 114207 if msglen < 0 { 114208 return ErrInvalidLengthTypes 114209 } 114210 postIndex := iNdEx + msglen 114211 if postIndex < 0 { 114212 return ErrInvalidLengthTypes 114213 } 114214 if postIndex > l { 114215 return io.ErrUnexpectedEOF 114216 } 114217 if err := m.Tags.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 114218 return err 114219 } 114220 iNdEx = postIndex 114221 case 5: 114222 if wireType != 2 { 114223 return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) 114224 } 114225 var msglen int 114226 for shift := uint(0); ; shift += 7 { 114227 if shift >= 64 { 114228 return ErrIntOverflowTypes 114229 } 114230 if iNdEx >= l { 114231 return io.ErrUnexpectedEOF 114232 } 114233 b := dAtA[iNdEx] 114234 iNdEx++ 114235 msglen |= int(b&0x7F) << shift 114236 if b < 0x80 { 114237 break 114238 } 114239 } 114240 if msglen < 0 { 114241 return ErrInvalidLengthTypes 114242 } 114243 postIndex := iNdEx + msglen 114244 if postIndex < 0 { 114245 return ErrInvalidLengthTypes 114246 } 114247 if postIndex > l { 114248 return io.ErrUnexpectedEOF 114249 } 114250 if m.Params == nil { 114251 m.Params = &InstallerParams{} 114252 } 114253 if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 114254 return err 114255 } 114256 iNdEx = postIndex 114257 case 6: 114258 if wireType != 2 { 114259 return fmt.Errorf("proto: wrong wireType = %d for field SSM", wireType) 114260 } 114261 var msglen int 114262 for shift := uint(0); ; shift += 7 { 114263 if shift >= 64 { 114264 return ErrIntOverflowTypes 114265 } 114266 if iNdEx >= l { 114267 return io.ErrUnexpectedEOF 114268 } 114269 b := dAtA[iNdEx] 114270 iNdEx++ 114271 msglen |= int(b&0x7F) << shift 114272 if b < 0x80 { 114273 break 114274 } 114275 } 114276 if msglen < 0 { 114277 return ErrInvalidLengthTypes 114278 } 114279 postIndex := iNdEx + msglen 114280 if postIndex < 0 { 114281 return ErrInvalidLengthTypes 114282 } 114283 if postIndex > l { 114284 return io.ErrUnexpectedEOF 114285 } 114286 if m.SSM == nil { 114287 m.SSM = &AWSSSM{} 114288 } 114289 if err := m.SSM.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 114290 return err 114291 } 114292 iNdEx = postIndex 114293 case 7: 114294 if wireType != 2 { 114295 return fmt.Errorf("proto: wrong wireType = %d for field Integration", wireType) 114296 } 114297 var stringLen uint64 114298 for shift := uint(0); ; shift += 7 { 114299 if shift >= 64 { 114300 return ErrIntOverflowTypes 114301 } 114302 if iNdEx >= l { 114303 return io.ErrUnexpectedEOF 114304 } 114305 b := dAtA[iNdEx] 114306 iNdEx++ 114307 stringLen |= uint64(b&0x7F) << shift 114308 if b < 0x80 { 114309 break 114310 } 114311 } 114312 intStringLen := int(stringLen) 114313 if intStringLen < 0 { 114314 return ErrInvalidLengthTypes 114315 } 114316 postIndex := iNdEx + intStringLen 114317 if postIndex < 0 { 114318 return ErrInvalidLengthTypes 114319 } 114320 if postIndex > l { 114321 return io.ErrUnexpectedEOF 114322 } 114323 m.Integration = string(dAtA[iNdEx:postIndex]) 114324 iNdEx = postIndex 114325 case 8: 114326 if wireType != 0 { 114327 return fmt.Errorf("proto: wrong wireType = %d for field KubeAppDiscovery", wireType) 114328 } 114329 var v int 114330 for shift := uint(0); ; shift += 7 { 114331 if shift >= 64 { 114332 return ErrIntOverflowTypes 114333 } 114334 if iNdEx >= l { 114335 return io.ErrUnexpectedEOF 114336 } 114337 b := dAtA[iNdEx] 114338 iNdEx++ 114339 v |= int(b&0x7F) << shift 114340 if b < 0x80 { 114341 break 114342 } 114343 } 114344 m.KubeAppDiscovery = bool(v != 0) 114345 default: 114346 iNdEx = preIndex 114347 skippy, err := skipTypes(dAtA[iNdEx:]) 114348 if err != nil { 114349 return err 114350 } 114351 if (skippy < 0) || (iNdEx+skippy) < 0 { 114352 return ErrInvalidLengthTypes 114353 } 114354 if (iNdEx + skippy) > l { 114355 return io.ErrUnexpectedEOF 114356 } 114357 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 114358 iNdEx += skippy 114359 } 114360 } 114361 114362 if iNdEx > l { 114363 return io.ErrUnexpectedEOF 114364 } 114365 return nil 114366 } 114367 func (m *AssumeRole) Unmarshal(dAtA []byte) error { 114368 l := len(dAtA) 114369 iNdEx := 0 114370 for iNdEx < l { 114371 preIndex := iNdEx 114372 var wire uint64 114373 for shift := uint(0); ; shift += 7 { 114374 if shift >= 64 { 114375 return ErrIntOverflowTypes 114376 } 114377 if iNdEx >= l { 114378 return io.ErrUnexpectedEOF 114379 } 114380 b := dAtA[iNdEx] 114381 iNdEx++ 114382 wire |= uint64(b&0x7F) << shift 114383 if b < 0x80 { 114384 break 114385 } 114386 } 114387 fieldNum := int32(wire >> 3) 114388 wireType := int(wire & 0x7) 114389 if wireType == 4 { 114390 return fmt.Errorf("proto: AssumeRole: wiretype end group for non-group") 114391 } 114392 if fieldNum <= 0 { 114393 return fmt.Errorf("proto: AssumeRole: illegal tag %d (wire type %d)", fieldNum, wire) 114394 } 114395 switch fieldNum { 114396 case 1: 114397 if wireType != 2 { 114398 return fmt.Errorf("proto: wrong wireType = %d for field RoleARN", wireType) 114399 } 114400 var stringLen uint64 114401 for shift := uint(0); ; shift += 7 { 114402 if shift >= 64 { 114403 return ErrIntOverflowTypes 114404 } 114405 if iNdEx >= l { 114406 return io.ErrUnexpectedEOF 114407 } 114408 b := dAtA[iNdEx] 114409 iNdEx++ 114410 stringLen |= uint64(b&0x7F) << shift 114411 if b < 0x80 { 114412 break 114413 } 114414 } 114415 intStringLen := int(stringLen) 114416 if intStringLen < 0 { 114417 return ErrInvalidLengthTypes 114418 } 114419 postIndex := iNdEx + intStringLen 114420 if postIndex < 0 { 114421 return ErrInvalidLengthTypes 114422 } 114423 if postIndex > l { 114424 return io.ErrUnexpectedEOF 114425 } 114426 m.RoleARN = string(dAtA[iNdEx:postIndex]) 114427 iNdEx = postIndex 114428 case 2: 114429 if wireType != 2 { 114430 return fmt.Errorf("proto: wrong wireType = %d for field ExternalID", wireType) 114431 } 114432 var stringLen uint64 114433 for shift := uint(0); ; shift += 7 { 114434 if shift >= 64 { 114435 return ErrIntOverflowTypes 114436 } 114437 if iNdEx >= l { 114438 return io.ErrUnexpectedEOF 114439 } 114440 b := dAtA[iNdEx] 114441 iNdEx++ 114442 stringLen |= uint64(b&0x7F) << shift 114443 if b < 0x80 { 114444 break 114445 } 114446 } 114447 intStringLen := int(stringLen) 114448 if intStringLen < 0 { 114449 return ErrInvalidLengthTypes 114450 } 114451 postIndex := iNdEx + intStringLen 114452 if postIndex < 0 { 114453 return ErrInvalidLengthTypes 114454 } 114455 if postIndex > l { 114456 return io.ErrUnexpectedEOF 114457 } 114458 m.ExternalID = string(dAtA[iNdEx:postIndex]) 114459 iNdEx = postIndex 114460 default: 114461 iNdEx = preIndex 114462 skippy, err := skipTypes(dAtA[iNdEx:]) 114463 if err != nil { 114464 return err 114465 } 114466 if (skippy < 0) || (iNdEx+skippy) < 0 { 114467 return ErrInvalidLengthTypes 114468 } 114469 if (iNdEx + skippy) > l { 114470 return io.ErrUnexpectedEOF 114471 } 114472 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 114473 iNdEx += skippy 114474 } 114475 } 114476 114477 if iNdEx > l { 114478 return io.ErrUnexpectedEOF 114479 } 114480 return nil 114481 } 114482 func (m *InstallerParams) Unmarshal(dAtA []byte) error { 114483 l := len(dAtA) 114484 iNdEx := 0 114485 for iNdEx < l { 114486 preIndex := iNdEx 114487 var wire uint64 114488 for shift := uint(0); ; shift += 7 { 114489 if shift >= 64 { 114490 return ErrIntOverflowTypes 114491 } 114492 if iNdEx >= l { 114493 return io.ErrUnexpectedEOF 114494 } 114495 b := dAtA[iNdEx] 114496 iNdEx++ 114497 wire |= uint64(b&0x7F) << shift 114498 if b < 0x80 { 114499 break 114500 } 114501 } 114502 fieldNum := int32(wire >> 3) 114503 wireType := int(wire & 0x7) 114504 if wireType == 4 { 114505 return fmt.Errorf("proto: InstallerParams: wiretype end group for non-group") 114506 } 114507 if fieldNum <= 0 { 114508 return fmt.Errorf("proto: InstallerParams: illegal tag %d (wire type %d)", fieldNum, wire) 114509 } 114510 switch fieldNum { 114511 case 1: 114512 if wireType != 2 { 114513 return fmt.Errorf("proto: wrong wireType = %d for field JoinMethod", wireType) 114514 } 114515 var stringLen uint64 114516 for shift := uint(0); ; shift += 7 { 114517 if shift >= 64 { 114518 return ErrIntOverflowTypes 114519 } 114520 if iNdEx >= l { 114521 return io.ErrUnexpectedEOF 114522 } 114523 b := dAtA[iNdEx] 114524 iNdEx++ 114525 stringLen |= uint64(b&0x7F) << shift 114526 if b < 0x80 { 114527 break 114528 } 114529 } 114530 intStringLen := int(stringLen) 114531 if intStringLen < 0 { 114532 return ErrInvalidLengthTypes 114533 } 114534 postIndex := iNdEx + intStringLen 114535 if postIndex < 0 { 114536 return ErrInvalidLengthTypes 114537 } 114538 if postIndex > l { 114539 return io.ErrUnexpectedEOF 114540 } 114541 m.JoinMethod = JoinMethod(dAtA[iNdEx:postIndex]) 114542 iNdEx = postIndex 114543 case 2: 114544 if wireType != 2 { 114545 return fmt.Errorf("proto: wrong wireType = %d for field JoinToken", wireType) 114546 } 114547 var stringLen uint64 114548 for shift := uint(0); ; shift += 7 { 114549 if shift >= 64 { 114550 return ErrIntOverflowTypes 114551 } 114552 if iNdEx >= l { 114553 return io.ErrUnexpectedEOF 114554 } 114555 b := dAtA[iNdEx] 114556 iNdEx++ 114557 stringLen |= uint64(b&0x7F) << shift 114558 if b < 0x80 { 114559 break 114560 } 114561 } 114562 intStringLen := int(stringLen) 114563 if intStringLen < 0 { 114564 return ErrInvalidLengthTypes 114565 } 114566 postIndex := iNdEx + intStringLen 114567 if postIndex < 0 { 114568 return ErrInvalidLengthTypes 114569 } 114570 if postIndex > l { 114571 return io.ErrUnexpectedEOF 114572 } 114573 m.JoinToken = string(dAtA[iNdEx:postIndex]) 114574 iNdEx = postIndex 114575 case 3: 114576 if wireType != 2 { 114577 return fmt.Errorf("proto: wrong wireType = %d for field ScriptName", wireType) 114578 } 114579 var stringLen uint64 114580 for shift := uint(0); ; shift += 7 { 114581 if shift >= 64 { 114582 return ErrIntOverflowTypes 114583 } 114584 if iNdEx >= l { 114585 return io.ErrUnexpectedEOF 114586 } 114587 b := dAtA[iNdEx] 114588 iNdEx++ 114589 stringLen |= uint64(b&0x7F) << shift 114590 if b < 0x80 { 114591 break 114592 } 114593 } 114594 intStringLen := int(stringLen) 114595 if intStringLen < 0 { 114596 return ErrInvalidLengthTypes 114597 } 114598 postIndex := iNdEx + intStringLen 114599 if postIndex < 0 { 114600 return ErrInvalidLengthTypes 114601 } 114602 if postIndex > l { 114603 return io.ErrUnexpectedEOF 114604 } 114605 m.ScriptName = string(dAtA[iNdEx:postIndex]) 114606 iNdEx = postIndex 114607 case 4: 114608 if wireType != 0 { 114609 return fmt.Errorf("proto: wrong wireType = %d for field InstallTeleport", wireType) 114610 } 114611 var v int 114612 for shift := uint(0); ; shift += 7 { 114613 if shift >= 64 { 114614 return ErrIntOverflowTypes 114615 } 114616 if iNdEx >= l { 114617 return io.ErrUnexpectedEOF 114618 } 114619 b := dAtA[iNdEx] 114620 iNdEx++ 114621 v |= int(b&0x7F) << shift 114622 if b < 0x80 { 114623 break 114624 } 114625 } 114626 m.InstallTeleport = bool(v != 0) 114627 case 5: 114628 if wireType != 2 { 114629 return fmt.Errorf("proto: wrong wireType = %d for field SSHDConfig", wireType) 114630 } 114631 var stringLen uint64 114632 for shift := uint(0); ; shift += 7 { 114633 if shift >= 64 { 114634 return ErrIntOverflowTypes 114635 } 114636 if iNdEx >= l { 114637 return io.ErrUnexpectedEOF 114638 } 114639 b := dAtA[iNdEx] 114640 iNdEx++ 114641 stringLen |= uint64(b&0x7F) << shift 114642 if b < 0x80 { 114643 break 114644 } 114645 } 114646 intStringLen := int(stringLen) 114647 if intStringLen < 0 { 114648 return ErrInvalidLengthTypes 114649 } 114650 postIndex := iNdEx + intStringLen 114651 if postIndex < 0 { 114652 return ErrInvalidLengthTypes 114653 } 114654 if postIndex > l { 114655 return io.ErrUnexpectedEOF 114656 } 114657 m.SSHDConfig = string(dAtA[iNdEx:postIndex]) 114658 iNdEx = postIndex 114659 case 6: 114660 if wireType != 2 { 114661 return fmt.Errorf("proto: wrong wireType = %d for field PublicProxyAddr", wireType) 114662 } 114663 var stringLen uint64 114664 for shift := uint(0); ; shift += 7 { 114665 if shift >= 64 { 114666 return ErrIntOverflowTypes 114667 } 114668 if iNdEx >= l { 114669 return io.ErrUnexpectedEOF 114670 } 114671 b := dAtA[iNdEx] 114672 iNdEx++ 114673 stringLen |= uint64(b&0x7F) << shift 114674 if b < 0x80 { 114675 break 114676 } 114677 } 114678 intStringLen := int(stringLen) 114679 if intStringLen < 0 { 114680 return ErrInvalidLengthTypes 114681 } 114682 postIndex := iNdEx + intStringLen 114683 if postIndex < 0 { 114684 return ErrInvalidLengthTypes 114685 } 114686 if postIndex > l { 114687 return io.ErrUnexpectedEOF 114688 } 114689 m.PublicProxyAddr = string(dAtA[iNdEx:postIndex]) 114690 iNdEx = postIndex 114691 case 7: 114692 if wireType != 2 { 114693 return fmt.Errorf("proto: wrong wireType = %d for field Azure", wireType) 114694 } 114695 var msglen int 114696 for shift := uint(0); ; shift += 7 { 114697 if shift >= 64 { 114698 return ErrIntOverflowTypes 114699 } 114700 if iNdEx >= l { 114701 return io.ErrUnexpectedEOF 114702 } 114703 b := dAtA[iNdEx] 114704 iNdEx++ 114705 msglen |= int(b&0x7F) << shift 114706 if b < 0x80 { 114707 break 114708 } 114709 } 114710 if msglen < 0 { 114711 return ErrInvalidLengthTypes 114712 } 114713 postIndex := iNdEx + msglen 114714 if postIndex < 0 { 114715 return ErrInvalidLengthTypes 114716 } 114717 if postIndex > l { 114718 return io.ErrUnexpectedEOF 114719 } 114720 if m.Azure == nil { 114721 m.Azure = &AzureInstallerParams{} 114722 } 114723 if err := m.Azure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 114724 return err 114725 } 114726 iNdEx = postIndex 114727 default: 114728 iNdEx = preIndex 114729 skippy, err := skipTypes(dAtA[iNdEx:]) 114730 if err != nil { 114731 return err 114732 } 114733 if (skippy < 0) || (iNdEx+skippy) < 0 { 114734 return ErrInvalidLengthTypes 114735 } 114736 if (iNdEx + skippy) > l { 114737 return io.ErrUnexpectedEOF 114738 } 114739 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 114740 iNdEx += skippy 114741 } 114742 } 114743 114744 if iNdEx > l { 114745 return io.ErrUnexpectedEOF 114746 } 114747 return nil 114748 } 114749 func (m *AWSSSM) Unmarshal(dAtA []byte) error { 114750 l := len(dAtA) 114751 iNdEx := 0 114752 for iNdEx < l { 114753 preIndex := iNdEx 114754 var wire uint64 114755 for shift := uint(0); ; shift += 7 { 114756 if shift >= 64 { 114757 return ErrIntOverflowTypes 114758 } 114759 if iNdEx >= l { 114760 return io.ErrUnexpectedEOF 114761 } 114762 b := dAtA[iNdEx] 114763 iNdEx++ 114764 wire |= uint64(b&0x7F) << shift 114765 if b < 0x80 { 114766 break 114767 } 114768 } 114769 fieldNum := int32(wire >> 3) 114770 wireType := int(wire & 0x7) 114771 if wireType == 4 { 114772 return fmt.Errorf("proto: AWSSSM: wiretype end group for non-group") 114773 } 114774 if fieldNum <= 0 { 114775 return fmt.Errorf("proto: AWSSSM: illegal tag %d (wire type %d)", fieldNum, wire) 114776 } 114777 switch fieldNum { 114778 case 1: 114779 if wireType != 2 { 114780 return fmt.Errorf("proto: wrong wireType = %d for field DocumentName", wireType) 114781 } 114782 var stringLen uint64 114783 for shift := uint(0); ; shift += 7 { 114784 if shift >= 64 { 114785 return ErrIntOverflowTypes 114786 } 114787 if iNdEx >= l { 114788 return io.ErrUnexpectedEOF 114789 } 114790 b := dAtA[iNdEx] 114791 iNdEx++ 114792 stringLen |= uint64(b&0x7F) << shift 114793 if b < 0x80 { 114794 break 114795 } 114796 } 114797 intStringLen := int(stringLen) 114798 if intStringLen < 0 { 114799 return ErrInvalidLengthTypes 114800 } 114801 postIndex := iNdEx + intStringLen 114802 if postIndex < 0 { 114803 return ErrInvalidLengthTypes 114804 } 114805 if postIndex > l { 114806 return io.ErrUnexpectedEOF 114807 } 114808 m.DocumentName = string(dAtA[iNdEx:postIndex]) 114809 iNdEx = postIndex 114810 default: 114811 iNdEx = preIndex 114812 skippy, err := skipTypes(dAtA[iNdEx:]) 114813 if err != nil { 114814 return err 114815 } 114816 if (skippy < 0) || (iNdEx+skippy) < 0 { 114817 return ErrInvalidLengthTypes 114818 } 114819 if (iNdEx + skippy) > l { 114820 return io.ErrUnexpectedEOF 114821 } 114822 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 114823 iNdEx += skippy 114824 } 114825 } 114826 114827 if iNdEx > l { 114828 return io.ErrUnexpectedEOF 114829 } 114830 return nil 114831 } 114832 func (m *AzureInstallerParams) Unmarshal(dAtA []byte) error { 114833 l := len(dAtA) 114834 iNdEx := 0 114835 for iNdEx < l { 114836 preIndex := iNdEx 114837 var wire uint64 114838 for shift := uint(0); ; shift += 7 { 114839 if shift >= 64 { 114840 return ErrIntOverflowTypes 114841 } 114842 if iNdEx >= l { 114843 return io.ErrUnexpectedEOF 114844 } 114845 b := dAtA[iNdEx] 114846 iNdEx++ 114847 wire |= uint64(b&0x7F) << shift 114848 if b < 0x80 { 114849 break 114850 } 114851 } 114852 fieldNum := int32(wire >> 3) 114853 wireType := int(wire & 0x7) 114854 if wireType == 4 { 114855 return fmt.Errorf("proto: AzureInstallerParams: wiretype end group for non-group") 114856 } 114857 if fieldNum <= 0 { 114858 return fmt.Errorf("proto: AzureInstallerParams: illegal tag %d (wire type %d)", fieldNum, wire) 114859 } 114860 switch fieldNum { 114861 case 1: 114862 if wireType != 2 { 114863 return fmt.Errorf("proto: wrong wireType = %d for field ClientID", wireType) 114864 } 114865 var stringLen uint64 114866 for shift := uint(0); ; shift += 7 { 114867 if shift >= 64 { 114868 return ErrIntOverflowTypes 114869 } 114870 if iNdEx >= l { 114871 return io.ErrUnexpectedEOF 114872 } 114873 b := dAtA[iNdEx] 114874 iNdEx++ 114875 stringLen |= uint64(b&0x7F) << shift 114876 if b < 0x80 { 114877 break 114878 } 114879 } 114880 intStringLen := int(stringLen) 114881 if intStringLen < 0 { 114882 return ErrInvalidLengthTypes 114883 } 114884 postIndex := iNdEx + intStringLen 114885 if postIndex < 0 { 114886 return ErrInvalidLengthTypes 114887 } 114888 if postIndex > l { 114889 return io.ErrUnexpectedEOF 114890 } 114891 m.ClientID = string(dAtA[iNdEx:postIndex]) 114892 iNdEx = postIndex 114893 default: 114894 iNdEx = preIndex 114895 skippy, err := skipTypes(dAtA[iNdEx:]) 114896 if err != nil { 114897 return err 114898 } 114899 if (skippy < 0) || (iNdEx+skippy) < 0 { 114900 return ErrInvalidLengthTypes 114901 } 114902 if (iNdEx + skippy) > l { 114903 return io.ErrUnexpectedEOF 114904 } 114905 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 114906 iNdEx += skippy 114907 } 114908 } 114909 114910 if iNdEx > l { 114911 return io.ErrUnexpectedEOF 114912 } 114913 return nil 114914 } 114915 func (m *AzureMatcher) Unmarshal(dAtA []byte) error { 114916 l := len(dAtA) 114917 iNdEx := 0 114918 for iNdEx < l { 114919 preIndex := iNdEx 114920 var wire uint64 114921 for shift := uint(0); ; shift += 7 { 114922 if shift >= 64 { 114923 return ErrIntOverflowTypes 114924 } 114925 if iNdEx >= l { 114926 return io.ErrUnexpectedEOF 114927 } 114928 b := dAtA[iNdEx] 114929 iNdEx++ 114930 wire |= uint64(b&0x7F) << shift 114931 if b < 0x80 { 114932 break 114933 } 114934 } 114935 fieldNum := int32(wire >> 3) 114936 wireType := int(wire & 0x7) 114937 if wireType == 4 { 114938 return fmt.Errorf("proto: AzureMatcher: wiretype end group for non-group") 114939 } 114940 if fieldNum <= 0 { 114941 return fmt.Errorf("proto: AzureMatcher: illegal tag %d (wire type %d)", fieldNum, wire) 114942 } 114943 switch fieldNum { 114944 case 1: 114945 if wireType != 2 { 114946 return fmt.Errorf("proto: wrong wireType = %d for field Subscriptions", wireType) 114947 } 114948 var stringLen uint64 114949 for shift := uint(0); ; shift += 7 { 114950 if shift >= 64 { 114951 return ErrIntOverflowTypes 114952 } 114953 if iNdEx >= l { 114954 return io.ErrUnexpectedEOF 114955 } 114956 b := dAtA[iNdEx] 114957 iNdEx++ 114958 stringLen |= uint64(b&0x7F) << shift 114959 if b < 0x80 { 114960 break 114961 } 114962 } 114963 intStringLen := int(stringLen) 114964 if intStringLen < 0 { 114965 return ErrInvalidLengthTypes 114966 } 114967 postIndex := iNdEx + intStringLen 114968 if postIndex < 0 { 114969 return ErrInvalidLengthTypes 114970 } 114971 if postIndex > l { 114972 return io.ErrUnexpectedEOF 114973 } 114974 m.Subscriptions = append(m.Subscriptions, string(dAtA[iNdEx:postIndex])) 114975 iNdEx = postIndex 114976 case 2: 114977 if wireType != 2 { 114978 return fmt.Errorf("proto: wrong wireType = %d for field ResourceGroups", wireType) 114979 } 114980 var stringLen uint64 114981 for shift := uint(0); ; shift += 7 { 114982 if shift >= 64 { 114983 return ErrIntOverflowTypes 114984 } 114985 if iNdEx >= l { 114986 return io.ErrUnexpectedEOF 114987 } 114988 b := dAtA[iNdEx] 114989 iNdEx++ 114990 stringLen |= uint64(b&0x7F) << shift 114991 if b < 0x80 { 114992 break 114993 } 114994 } 114995 intStringLen := int(stringLen) 114996 if intStringLen < 0 { 114997 return ErrInvalidLengthTypes 114998 } 114999 postIndex := iNdEx + intStringLen 115000 if postIndex < 0 { 115001 return ErrInvalidLengthTypes 115002 } 115003 if postIndex > l { 115004 return io.ErrUnexpectedEOF 115005 } 115006 m.ResourceGroups = append(m.ResourceGroups, string(dAtA[iNdEx:postIndex])) 115007 iNdEx = postIndex 115008 case 3: 115009 if wireType != 2 { 115010 return fmt.Errorf("proto: wrong wireType = %d for field Types", wireType) 115011 } 115012 var stringLen uint64 115013 for shift := uint(0); ; shift += 7 { 115014 if shift >= 64 { 115015 return ErrIntOverflowTypes 115016 } 115017 if iNdEx >= l { 115018 return io.ErrUnexpectedEOF 115019 } 115020 b := dAtA[iNdEx] 115021 iNdEx++ 115022 stringLen |= uint64(b&0x7F) << shift 115023 if b < 0x80 { 115024 break 115025 } 115026 } 115027 intStringLen := int(stringLen) 115028 if intStringLen < 0 { 115029 return ErrInvalidLengthTypes 115030 } 115031 postIndex := iNdEx + intStringLen 115032 if postIndex < 0 { 115033 return ErrInvalidLengthTypes 115034 } 115035 if postIndex > l { 115036 return io.ErrUnexpectedEOF 115037 } 115038 m.Types = append(m.Types, string(dAtA[iNdEx:postIndex])) 115039 iNdEx = postIndex 115040 case 4: 115041 if wireType != 2 { 115042 return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) 115043 } 115044 var stringLen uint64 115045 for shift := uint(0); ; shift += 7 { 115046 if shift >= 64 { 115047 return ErrIntOverflowTypes 115048 } 115049 if iNdEx >= l { 115050 return io.ErrUnexpectedEOF 115051 } 115052 b := dAtA[iNdEx] 115053 iNdEx++ 115054 stringLen |= uint64(b&0x7F) << shift 115055 if b < 0x80 { 115056 break 115057 } 115058 } 115059 intStringLen := int(stringLen) 115060 if intStringLen < 0 { 115061 return ErrInvalidLengthTypes 115062 } 115063 postIndex := iNdEx + intStringLen 115064 if postIndex < 0 { 115065 return ErrInvalidLengthTypes 115066 } 115067 if postIndex > l { 115068 return io.ErrUnexpectedEOF 115069 } 115070 m.Regions = append(m.Regions, string(dAtA[iNdEx:postIndex])) 115071 iNdEx = postIndex 115072 case 5: 115073 if wireType != 2 { 115074 return fmt.Errorf("proto: wrong wireType = %d for field ResourceTags", wireType) 115075 } 115076 var msglen int 115077 for shift := uint(0); ; shift += 7 { 115078 if shift >= 64 { 115079 return ErrIntOverflowTypes 115080 } 115081 if iNdEx >= l { 115082 return io.ErrUnexpectedEOF 115083 } 115084 b := dAtA[iNdEx] 115085 iNdEx++ 115086 msglen |= int(b&0x7F) << shift 115087 if b < 0x80 { 115088 break 115089 } 115090 } 115091 if msglen < 0 { 115092 return ErrInvalidLengthTypes 115093 } 115094 postIndex := iNdEx + msglen 115095 if postIndex < 0 { 115096 return ErrInvalidLengthTypes 115097 } 115098 if postIndex > l { 115099 return io.ErrUnexpectedEOF 115100 } 115101 if err := m.ResourceTags.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 115102 return err 115103 } 115104 iNdEx = postIndex 115105 case 6: 115106 if wireType != 2 { 115107 return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) 115108 } 115109 var msglen int 115110 for shift := uint(0); ; shift += 7 { 115111 if shift >= 64 { 115112 return ErrIntOverflowTypes 115113 } 115114 if iNdEx >= l { 115115 return io.ErrUnexpectedEOF 115116 } 115117 b := dAtA[iNdEx] 115118 iNdEx++ 115119 msglen |= int(b&0x7F) << shift 115120 if b < 0x80 { 115121 break 115122 } 115123 } 115124 if msglen < 0 { 115125 return ErrInvalidLengthTypes 115126 } 115127 postIndex := iNdEx + msglen 115128 if postIndex < 0 { 115129 return ErrInvalidLengthTypes 115130 } 115131 if postIndex > l { 115132 return io.ErrUnexpectedEOF 115133 } 115134 if m.Params == nil { 115135 m.Params = &InstallerParams{} 115136 } 115137 if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 115138 return err 115139 } 115140 iNdEx = postIndex 115141 default: 115142 iNdEx = preIndex 115143 skippy, err := skipTypes(dAtA[iNdEx:]) 115144 if err != nil { 115145 return err 115146 } 115147 if (skippy < 0) || (iNdEx+skippy) < 0 { 115148 return ErrInvalidLengthTypes 115149 } 115150 if (iNdEx + skippy) > l { 115151 return io.ErrUnexpectedEOF 115152 } 115153 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 115154 iNdEx += skippy 115155 } 115156 } 115157 115158 if iNdEx > l { 115159 return io.ErrUnexpectedEOF 115160 } 115161 return nil 115162 } 115163 func (m *GCPMatcher) Unmarshal(dAtA []byte) error { 115164 l := len(dAtA) 115165 iNdEx := 0 115166 for iNdEx < l { 115167 preIndex := iNdEx 115168 var wire uint64 115169 for shift := uint(0); ; shift += 7 { 115170 if shift >= 64 { 115171 return ErrIntOverflowTypes 115172 } 115173 if iNdEx >= l { 115174 return io.ErrUnexpectedEOF 115175 } 115176 b := dAtA[iNdEx] 115177 iNdEx++ 115178 wire |= uint64(b&0x7F) << shift 115179 if b < 0x80 { 115180 break 115181 } 115182 } 115183 fieldNum := int32(wire >> 3) 115184 wireType := int(wire & 0x7) 115185 if wireType == 4 { 115186 return fmt.Errorf("proto: GCPMatcher: wiretype end group for non-group") 115187 } 115188 if fieldNum <= 0 { 115189 return fmt.Errorf("proto: GCPMatcher: illegal tag %d (wire type %d)", fieldNum, wire) 115190 } 115191 switch fieldNum { 115192 case 1: 115193 if wireType != 2 { 115194 return fmt.Errorf("proto: wrong wireType = %d for field Types", wireType) 115195 } 115196 var stringLen uint64 115197 for shift := uint(0); ; shift += 7 { 115198 if shift >= 64 { 115199 return ErrIntOverflowTypes 115200 } 115201 if iNdEx >= l { 115202 return io.ErrUnexpectedEOF 115203 } 115204 b := dAtA[iNdEx] 115205 iNdEx++ 115206 stringLen |= uint64(b&0x7F) << shift 115207 if b < 0x80 { 115208 break 115209 } 115210 } 115211 intStringLen := int(stringLen) 115212 if intStringLen < 0 { 115213 return ErrInvalidLengthTypes 115214 } 115215 postIndex := iNdEx + intStringLen 115216 if postIndex < 0 { 115217 return ErrInvalidLengthTypes 115218 } 115219 if postIndex > l { 115220 return io.ErrUnexpectedEOF 115221 } 115222 m.Types = append(m.Types, string(dAtA[iNdEx:postIndex])) 115223 iNdEx = postIndex 115224 case 2: 115225 if wireType != 2 { 115226 return fmt.Errorf("proto: wrong wireType = %d for field Locations", wireType) 115227 } 115228 var stringLen uint64 115229 for shift := uint(0); ; shift += 7 { 115230 if shift >= 64 { 115231 return ErrIntOverflowTypes 115232 } 115233 if iNdEx >= l { 115234 return io.ErrUnexpectedEOF 115235 } 115236 b := dAtA[iNdEx] 115237 iNdEx++ 115238 stringLen |= uint64(b&0x7F) << shift 115239 if b < 0x80 { 115240 break 115241 } 115242 } 115243 intStringLen := int(stringLen) 115244 if intStringLen < 0 { 115245 return ErrInvalidLengthTypes 115246 } 115247 postIndex := iNdEx + intStringLen 115248 if postIndex < 0 { 115249 return ErrInvalidLengthTypes 115250 } 115251 if postIndex > l { 115252 return io.ErrUnexpectedEOF 115253 } 115254 m.Locations = append(m.Locations, string(dAtA[iNdEx:postIndex])) 115255 iNdEx = postIndex 115256 case 3: 115257 if wireType != 2 { 115258 return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) 115259 } 115260 var msglen int 115261 for shift := uint(0); ; shift += 7 { 115262 if shift >= 64 { 115263 return ErrIntOverflowTypes 115264 } 115265 if iNdEx >= l { 115266 return io.ErrUnexpectedEOF 115267 } 115268 b := dAtA[iNdEx] 115269 iNdEx++ 115270 msglen |= int(b&0x7F) << shift 115271 if b < 0x80 { 115272 break 115273 } 115274 } 115275 if msglen < 0 { 115276 return ErrInvalidLengthTypes 115277 } 115278 postIndex := iNdEx + msglen 115279 if postIndex < 0 { 115280 return ErrInvalidLengthTypes 115281 } 115282 if postIndex > l { 115283 return io.ErrUnexpectedEOF 115284 } 115285 if err := m.Tags.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 115286 return err 115287 } 115288 iNdEx = postIndex 115289 case 4: 115290 if wireType != 2 { 115291 return fmt.Errorf("proto: wrong wireType = %d for field ProjectIDs", wireType) 115292 } 115293 var stringLen uint64 115294 for shift := uint(0); ; shift += 7 { 115295 if shift >= 64 { 115296 return ErrIntOverflowTypes 115297 } 115298 if iNdEx >= l { 115299 return io.ErrUnexpectedEOF 115300 } 115301 b := dAtA[iNdEx] 115302 iNdEx++ 115303 stringLen |= uint64(b&0x7F) << shift 115304 if b < 0x80 { 115305 break 115306 } 115307 } 115308 intStringLen := int(stringLen) 115309 if intStringLen < 0 { 115310 return ErrInvalidLengthTypes 115311 } 115312 postIndex := iNdEx + intStringLen 115313 if postIndex < 0 { 115314 return ErrInvalidLengthTypes 115315 } 115316 if postIndex > l { 115317 return io.ErrUnexpectedEOF 115318 } 115319 m.ProjectIDs = append(m.ProjectIDs, string(dAtA[iNdEx:postIndex])) 115320 iNdEx = postIndex 115321 case 5: 115322 if wireType != 2 { 115323 return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccounts", wireType) 115324 } 115325 var stringLen uint64 115326 for shift := uint(0); ; shift += 7 { 115327 if shift >= 64 { 115328 return ErrIntOverflowTypes 115329 } 115330 if iNdEx >= l { 115331 return io.ErrUnexpectedEOF 115332 } 115333 b := dAtA[iNdEx] 115334 iNdEx++ 115335 stringLen |= uint64(b&0x7F) << shift 115336 if b < 0x80 { 115337 break 115338 } 115339 } 115340 intStringLen := int(stringLen) 115341 if intStringLen < 0 { 115342 return ErrInvalidLengthTypes 115343 } 115344 postIndex := iNdEx + intStringLen 115345 if postIndex < 0 { 115346 return ErrInvalidLengthTypes 115347 } 115348 if postIndex > l { 115349 return io.ErrUnexpectedEOF 115350 } 115351 m.ServiceAccounts = append(m.ServiceAccounts, string(dAtA[iNdEx:postIndex])) 115352 iNdEx = postIndex 115353 case 6: 115354 if wireType != 2 { 115355 return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) 115356 } 115357 var msglen int 115358 for shift := uint(0); ; shift += 7 { 115359 if shift >= 64 { 115360 return ErrIntOverflowTypes 115361 } 115362 if iNdEx >= l { 115363 return io.ErrUnexpectedEOF 115364 } 115365 b := dAtA[iNdEx] 115366 iNdEx++ 115367 msglen |= int(b&0x7F) << shift 115368 if b < 0x80 { 115369 break 115370 } 115371 } 115372 if msglen < 0 { 115373 return ErrInvalidLengthTypes 115374 } 115375 postIndex := iNdEx + msglen 115376 if postIndex < 0 { 115377 return ErrInvalidLengthTypes 115378 } 115379 if postIndex > l { 115380 return io.ErrUnexpectedEOF 115381 } 115382 if m.Params == nil { 115383 m.Params = &InstallerParams{} 115384 } 115385 if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 115386 return err 115387 } 115388 iNdEx = postIndex 115389 case 7: 115390 if wireType != 2 { 115391 return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) 115392 } 115393 var msglen int 115394 for shift := uint(0); ; shift += 7 { 115395 if shift >= 64 { 115396 return ErrIntOverflowTypes 115397 } 115398 if iNdEx >= l { 115399 return io.ErrUnexpectedEOF 115400 } 115401 b := dAtA[iNdEx] 115402 iNdEx++ 115403 msglen |= int(b&0x7F) << shift 115404 if b < 0x80 { 115405 break 115406 } 115407 } 115408 if msglen < 0 { 115409 return ErrInvalidLengthTypes 115410 } 115411 postIndex := iNdEx + msglen 115412 if postIndex < 0 { 115413 return ErrInvalidLengthTypes 115414 } 115415 if postIndex > l { 115416 return io.ErrUnexpectedEOF 115417 } 115418 if err := m.Labels.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 115419 return err 115420 } 115421 iNdEx = postIndex 115422 default: 115423 iNdEx = preIndex 115424 skippy, err := skipTypes(dAtA[iNdEx:]) 115425 if err != nil { 115426 return err 115427 } 115428 if (skippy < 0) || (iNdEx+skippy) < 0 { 115429 return ErrInvalidLengthTypes 115430 } 115431 if (iNdEx + skippy) > l { 115432 return io.ErrUnexpectedEOF 115433 } 115434 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 115435 iNdEx += skippy 115436 } 115437 } 115438 115439 if iNdEx > l { 115440 return io.ErrUnexpectedEOF 115441 } 115442 return nil 115443 } 115444 func (m *KubernetesMatcher) Unmarshal(dAtA []byte) error { 115445 l := len(dAtA) 115446 iNdEx := 0 115447 for iNdEx < l { 115448 preIndex := iNdEx 115449 var wire uint64 115450 for shift := uint(0); ; shift += 7 { 115451 if shift >= 64 { 115452 return ErrIntOverflowTypes 115453 } 115454 if iNdEx >= l { 115455 return io.ErrUnexpectedEOF 115456 } 115457 b := dAtA[iNdEx] 115458 iNdEx++ 115459 wire |= uint64(b&0x7F) << shift 115460 if b < 0x80 { 115461 break 115462 } 115463 } 115464 fieldNum := int32(wire >> 3) 115465 wireType := int(wire & 0x7) 115466 if wireType == 4 { 115467 return fmt.Errorf("proto: KubernetesMatcher: wiretype end group for non-group") 115468 } 115469 if fieldNum <= 0 { 115470 return fmt.Errorf("proto: KubernetesMatcher: illegal tag %d (wire type %d)", fieldNum, wire) 115471 } 115472 switch fieldNum { 115473 case 1: 115474 if wireType != 2 { 115475 return fmt.Errorf("proto: wrong wireType = %d for field Types", wireType) 115476 } 115477 var stringLen uint64 115478 for shift := uint(0); ; shift += 7 { 115479 if shift >= 64 { 115480 return ErrIntOverflowTypes 115481 } 115482 if iNdEx >= l { 115483 return io.ErrUnexpectedEOF 115484 } 115485 b := dAtA[iNdEx] 115486 iNdEx++ 115487 stringLen |= uint64(b&0x7F) << shift 115488 if b < 0x80 { 115489 break 115490 } 115491 } 115492 intStringLen := int(stringLen) 115493 if intStringLen < 0 { 115494 return ErrInvalidLengthTypes 115495 } 115496 postIndex := iNdEx + intStringLen 115497 if postIndex < 0 { 115498 return ErrInvalidLengthTypes 115499 } 115500 if postIndex > l { 115501 return io.ErrUnexpectedEOF 115502 } 115503 m.Types = append(m.Types, string(dAtA[iNdEx:postIndex])) 115504 iNdEx = postIndex 115505 case 2: 115506 if wireType != 2 { 115507 return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType) 115508 } 115509 var stringLen uint64 115510 for shift := uint(0); ; shift += 7 { 115511 if shift >= 64 { 115512 return ErrIntOverflowTypes 115513 } 115514 if iNdEx >= l { 115515 return io.ErrUnexpectedEOF 115516 } 115517 b := dAtA[iNdEx] 115518 iNdEx++ 115519 stringLen |= uint64(b&0x7F) << shift 115520 if b < 0x80 { 115521 break 115522 } 115523 } 115524 intStringLen := int(stringLen) 115525 if intStringLen < 0 { 115526 return ErrInvalidLengthTypes 115527 } 115528 postIndex := iNdEx + intStringLen 115529 if postIndex < 0 { 115530 return ErrInvalidLengthTypes 115531 } 115532 if postIndex > l { 115533 return io.ErrUnexpectedEOF 115534 } 115535 m.Namespaces = append(m.Namespaces, string(dAtA[iNdEx:postIndex])) 115536 iNdEx = postIndex 115537 case 3: 115538 if wireType != 2 { 115539 return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) 115540 } 115541 var msglen int 115542 for shift := uint(0); ; shift += 7 { 115543 if shift >= 64 { 115544 return ErrIntOverflowTypes 115545 } 115546 if iNdEx >= l { 115547 return io.ErrUnexpectedEOF 115548 } 115549 b := dAtA[iNdEx] 115550 iNdEx++ 115551 msglen |= int(b&0x7F) << shift 115552 if b < 0x80 { 115553 break 115554 } 115555 } 115556 if msglen < 0 { 115557 return ErrInvalidLengthTypes 115558 } 115559 postIndex := iNdEx + msglen 115560 if postIndex < 0 { 115561 return ErrInvalidLengthTypes 115562 } 115563 if postIndex > l { 115564 return io.ErrUnexpectedEOF 115565 } 115566 if err := m.Labels.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 115567 return err 115568 } 115569 iNdEx = postIndex 115570 default: 115571 iNdEx = preIndex 115572 skippy, err := skipTypes(dAtA[iNdEx:]) 115573 if err != nil { 115574 return err 115575 } 115576 if (skippy < 0) || (iNdEx+skippy) < 0 { 115577 return ErrInvalidLengthTypes 115578 } 115579 if (iNdEx + skippy) > l { 115580 return io.ErrUnexpectedEOF 115581 } 115582 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 115583 iNdEx += skippy 115584 } 115585 } 115586 115587 if iNdEx > l { 115588 return io.ErrUnexpectedEOF 115589 } 115590 return nil 115591 } 115592 func (m *OktaOptions) Unmarshal(dAtA []byte) error { 115593 l := len(dAtA) 115594 iNdEx := 0 115595 for iNdEx < l { 115596 preIndex := iNdEx 115597 var wire uint64 115598 for shift := uint(0); ; shift += 7 { 115599 if shift >= 64 { 115600 return ErrIntOverflowTypes 115601 } 115602 if iNdEx >= l { 115603 return io.ErrUnexpectedEOF 115604 } 115605 b := dAtA[iNdEx] 115606 iNdEx++ 115607 wire |= uint64(b&0x7F) << shift 115608 if b < 0x80 { 115609 break 115610 } 115611 } 115612 fieldNum := int32(wire >> 3) 115613 wireType := int(wire & 0x7) 115614 if wireType == 4 { 115615 return fmt.Errorf("proto: OktaOptions: wiretype end group for non-group") 115616 } 115617 if fieldNum <= 0 { 115618 return fmt.Errorf("proto: OktaOptions: illegal tag %d (wire type %d)", fieldNum, wire) 115619 } 115620 switch fieldNum { 115621 case 1: 115622 if wireType != 0 { 115623 return fmt.Errorf("proto: wrong wireType = %d for field SyncPeriod", wireType) 115624 } 115625 m.SyncPeriod = 0 115626 for shift := uint(0); ; shift += 7 { 115627 if shift >= 64 { 115628 return ErrIntOverflowTypes 115629 } 115630 if iNdEx >= l { 115631 return io.ErrUnexpectedEOF 115632 } 115633 b := dAtA[iNdEx] 115634 iNdEx++ 115635 m.SyncPeriod |= Duration(b&0x7F) << shift 115636 if b < 0x80 { 115637 break 115638 } 115639 } 115640 default: 115641 iNdEx = preIndex 115642 skippy, err := skipTypes(dAtA[iNdEx:]) 115643 if err != nil { 115644 return err 115645 } 115646 if (skippy < 0) || (iNdEx+skippy) < 0 { 115647 return ErrInvalidLengthTypes 115648 } 115649 if (iNdEx + skippy) > l { 115650 return io.ErrUnexpectedEOF 115651 } 115652 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 115653 iNdEx += skippy 115654 } 115655 } 115656 115657 if iNdEx > l { 115658 return io.ErrUnexpectedEOF 115659 } 115660 return nil 115661 } 115662 func (m *AccessGraphSync) Unmarshal(dAtA []byte) error { 115663 l := len(dAtA) 115664 iNdEx := 0 115665 for iNdEx < l { 115666 preIndex := iNdEx 115667 var wire uint64 115668 for shift := uint(0); ; shift += 7 { 115669 if shift >= 64 { 115670 return ErrIntOverflowTypes 115671 } 115672 if iNdEx >= l { 115673 return io.ErrUnexpectedEOF 115674 } 115675 b := dAtA[iNdEx] 115676 iNdEx++ 115677 wire |= uint64(b&0x7F) << shift 115678 if b < 0x80 { 115679 break 115680 } 115681 } 115682 fieldNum := int32(wire >> 3) 115683 wireType := int(wire & 0x7) 115684 if wireType == 4 { 115685 return fmt.Errorf("proto: AccessGraphSync: wiretype end group for non-group") 115686 } 115687 if fieldNum <= 0 { 115688 return fmt.Errorf("proto: AccessGraphSync: illegal tag %d (wire type %d)", fieldNum, wire) 115689 } 115690 switch fieldNum { 115691 case 1: 115692 if wireType != 2 { 115693 return fmt.Errorf("proto: wrong wireType = %d for field AWS", wireType) 115694 } 115695 var msglen int 115696 for shift := uint(0); ; shift += 7 { 115697 if shift >= 64 { 115698 return ErrIntOverflowTypes 115699 } 115700 if iNdEx >= l { 115701 return io.ErrUnexpectedEOF 115702 } 115703 b := dAtA[iNdEx] 115704 iNdEx++ 115705 msglen |= int(b&0x7F) << shift 115706 if b < 0x80 { 115707 break 115708 } 115709 } 115710 if msglen < 0 { 115711 return ErrInvalidLengthTypes 115712 } 115713 postIndex := iNdEx + msglen 115714 if postIndex < 0 { 115715 return ErrInvalidLengthTypes 115716 } 115717 if postIndex > l { 115718 return io.ErrUnexpectedEOF 115719 } 115720 m.AWS = append(m.AWS, &AccessGraphAWSSync{}) 115721 if err := m.AWS[len(m.AWS)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 115722 return err 115723 } 115724 iNdEx = postIndex 115725 default: 115726 iNdEx = preIndex 115727 skippy, err := skipTypes(dAtA[iNdEx:]) 115728 if err != nil { 115729 return err 115730 } 115731 if (skippy < 0) || (iNdEx+skippy) < 0 { 115732 return ErrInvalidLengthTypes 115733 } 115734 if (iNdEx + skippy) > l { 115735 return io.ErrUnexpectedEOF 115736 } 115737 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 115738 iNdEx += skippy 115739 } 115740 } 115741 115742 if iNdEx > l { 115743 return io.ErrUnexpectedEOF 115744 } 115745 return nil 115746 } 115747 func (m *AccessGraphAWSSync) Unmarshal(dAtA []byte) error { 115748 l := len(dAtA) 115749 iNdEx := 0 115750 for iNdEx < l { 115751 preIndex := iNdEx 115752 var wire uint64 115753 for shift := uint(0); ; shift += 7 { 115754 if shift >= 64 { 115755 return ErrIntOverflowTypes 115756 } 115757 if iNdEx >= l { 115758 return io.ErrUnexpectedEOF 115759 } 115760 b := dAtA[iNdEx] 115761 iNdEx++ 115762 wire |= uint64(b&0x7F) << shift 115763 if b < 0x80 { 115764 break 115765 } 115766 } 115767 fieldNum := int32(wire >> 3) 115768 wireType := int(wire & 0x7) 115769 if wireType == 4 { 115770 return fmt.Errorf("proto: AccessGraphAWSSync: wiretype end group for non-group") 115771 } 115772 if fieldNum <= 0 { 115773 return fmt.Errorf("proto: AccessGraphAWSSync: illegal tag %d (wire type %d)", fieldNum, wire) 115774 } 115775 switch fieldNum { 115776 case 1: 115777 if wireType != 2 { 115778 return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) 115779 } 115780 var stringLen uint64 115781 for shift := uint(0); ; shift += 7 { 115782 if shift >= 64 { 115783 return ErrIntOverflowTypes 115784 } 115785 if iNdEx >= l { 115786 return io.ErrUnexpectedEOF 115787 } 115788 b := dAtA[iNdEx] 115789 iNdEx++ 115790 stringLen |= uint64(b&0x7F) << shift 115791 if b < 0x80 { 115792 break 115793 } 115794 } 115795 intStringLen := int(stringLen) 115796 if intStringLen < 0 { 115797 return ErrInvalidLengthTypes 115798 } 115799 postIndex := iNdEx + intStringLen 115800 if postIndex < 0 { 115801 return ErrInvalidLengthTypes 115802 } 115803 if postIndex > l { 115804 return io.ErrUnexpectedEOF 115805 } 115806 m.Regions = append(m.Regions, string(dAtA[iNdEx:postIndex])) 115807 iNdEx = postIndex 115808 case 3: 115809 if wireType != 2 { 115810 return fmt.Errorf("proto: wrong wireType = %d for field AssumeRole", wireType) 115811 } 115812 var msglen int 115813 for shift := uint(0); ; shift += 7 { 115814 if shift >= 64 { 115815 return ErrIntOverflowTypes 115816 } 115817 if iNdEx >= l { 115818 return io.ErrUnexpectedEOF 115819 } 115820 b := dAtA[iNdEx] 115821 iNdEx++ 115822 msglen |= int(b&0x7F) << shift 115823 if b < 0x80 { 115824 break 115825 } 115826 } 115827 if msglen < 0 { 115828 return ErrInvalidLengthTypes 115829 } 115830 postIndex := iNdEx + msglen 115831 if postIndex < 0 { 115832 return ErrInvalidLengthTypes 115833 } 115834 if postIndex > l { 115835 return io.ErrUnexpectedEOF 115836 } 115837 if m.AssumeRole == nil { 115838 m.AssumeRole = &AssumeRole{} 115839 } 115840 if err := m.AssumeRole.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 115841 return err 115842 } 115843 iNdEx = postIndex 115844 case 4: 115845 if wireType != 2 { 115846 return fmt.Errorf("proto: wrong wireType = %d for field Integration", wireType) 115847 } 115848 var stringLen uint64 115849 for shift := uint(0); ; shift += 7 { 115850 if shift >= 64 { 115851 return ErrIntOverflowTypes 115852 } 115853 if iNdEx >= l { 115854 return io.ErrUnexpectedEOF 115855 } 115856 b := dAtA[iNdEx] 115857 iNdEx++ 115858 stringLen |= uint64(b&0x7F) << shift 115859 if b < 0x80 { 115860 break 115861 } 115862 } 115863 intStringLen := int(stringLen) 115864 if intStringLen < 0 { 115865 return ErrInvalidLengthTypes 115866 } 115867 postIndex := iNdEx + intStringLen 115868 if postIndex < 0 { 115869 return ErrInvalidLengthTypes 115870 } 115871 if postIndex > l { 115872 return io.ErrUnexpectedEOF 115873 } 115874 m.Integration = string(dAtA[iNdEx:postIndex]) 115875 iNdEx = postIndex 115876 default: 115877 iNdEx = preIndex 115878 skippy, err := skipTypes(dAtA[iNdEx:]) 115879 if err != nil { 115880 return err 115881 } 115882 if (skippy < 0) || (iNdEx+skippy) < 0 { 115883 return ErrInvalidLengthTypes 115884 } 115885 if (iNdEx + skippy) > l { 115886 return io.ErrUnexpectedEOF 115887 } 115888 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 115889 iNdEx += skippy 115890 } 115891 } 115892 115893 if iNdEx > l { 115894 return io.ErrUnexpectedEOF 115895 } 115896 return nil 115897 } 115898 func skipTypes(dAtA []byte) (n int, err error) { 115899 l := len(dAtA) 115900 iNdEx := 0 115901 depth := 0 115902 for iNdEx < l { 115903 var wire uint64 115904 for shift := uint(0); ; shift += 7 { 115905 if shift >= 64 { 115906 return 0, ErrIntOverflowTypes 115907 } 115908 if iNdEx >= l { 115909 return 0, io.ErrUnexpectedEOF 115910 } 115911 b := dAtA[iNdEx] 115912 iNdEx++ 115913 wire |= (uint64(b) & 0x7F) << shift 115914 if b < 0x80 { 115915 break 115916 } 115917 } 115918 wireType := int(wire & 0x7) 115919 switch wireType { 115920 case 0: 115921 for shift := uint(0); ; shift += 7 { 115922 if shift >= 64 { 115923 return 0, ErrIntOverflowTypes 115924 } 115925 if iNdEx >= l { 115926 return 0, io.ErrUnexpectedEOF 115927 } 115928 iNdEx++ 115929 if dAtA[iNdEx-1] < 0x80 { 115930 break 115931 } 115932 } 115933 case 1: 115934 iNdEx += 8 115935 case 2: 115936 var length int 115937 for shift := uint(0); ; shift += 7 { 115938 if shift >= 64 { 115939 return 0, ErrIntOverflowTypes 115940 } 115941 if iNdEx >= l { 115942 return 0, io.ErrUnexpectedEOF 115943 } 115944 b := dAtA[iNdEx] 115945 iNdEx++ 115946 length |= (int(b) & 0x7F) << shift 115947 if b < 0x80 { 115948 break 115949 } 115950 } 115951 if length < 0 { 115952 return 0, ErrInvalidLengthTypes 115953 } 115954 iNdEx += length 115955 case 3: 115956 depth++ 115957 case 4: 115958 if depth == 0 { 115959 return 0, ErrUnexpectedEndOfGroupTypes 115960 } 115961 depth-- 115962 case 5: 115963 iNdEx += 4 115964 default: 115965 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 115966 } 115967 if iNdEx < 0 { 115968 return 0, ErrInvalidLengthTypes 115969 } 115970 if depth == 0 { 115971 return iNdEx, nil 115972 } 115973 } 115974 return 0, io.ErrUnexpectedEOF 115975 } 115976 115977 var ( 115978 ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") 115979 ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") 115980 ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") 115981 )