github.com/gravitational/teleport/api@v0.0.0-20240507183017-3110591cbafc/client/proto/authservice.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: teleport/legacy/client/proto/authservice.proto 3 4 package proto 5 6 import ( 7 context "context" 8 fmt "fmt" 9 _ "github.com/gogo/protobuf/gogoproto" 10 proto "github.com/gogo/protobuf/proto" 11 github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" 12 v1 "github.com/gravitational/teleport/api/gen/proto/go/attestation/v1" 13 v11 "github.com/gravitational/teleport/api/gen/proto/go/teleport/mfa/v1" 14 v12 "github.com/gravitational/teleport/api/gen/proto/go/usageevents/v1" 15 github_com_gravitational_teleport_api_types "github.com/gravitational/teleport/api/types" 16 types "github.com/gravitational/teleport/api/types" 17 events "github.com/gravitational/teleport/api/types/events" 18 webauthn "github.com/gravitational/teleport/api/types/webauthn" 19 github_com_gravitational_teleport_api_types_wrappers "github.com/gravitational/teleport/api/types/wrappers" 20 wrappers "github.com/gravitational/teleport/api/types/wrappers" 21 grpc "google.golang.org/grpc" 22 codes "google.golang.org/grpc/codes" 23 status "google.golang.org/grpc/status" 24 emptypb "google.golang.org/protobuf/types/known/emptypb" 25 _ "google.golang.org/protobuf/types/known/timestamppb" 26 io "io" 27 math "math" 28 math_bits "math/bits" 29 time "time" 30 ) 31 32 // Reference imports to suppress errors if they are not otherwise used. 33 var _ = proto.Marshal 34 var _ = fmt.Errorf 35 var _ = math.Inf 36 var _ = time.Kitchen 37 38 // This is a compile-time assertion to ensure that this generated file 39 // is compatible with the proto package it is being compiled against. 40 // A compilation error at this line likely means your copy of the 41 // proto package needs to be updated. 42 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 43 44 // ProductType is the type of product. 45 type ProductType int32 46 47 const ( 48 ProductType_PRODUCT_TYPE_UNKNOWN ProductType = 0 49 // PRODUCT_TYPE_TEAM is Teleport Team product. 50 ProductType_PRODUCT_TYPE_TEAM ProductType = 1 51 // PRODUCT_TYPE_EUB is Teleport Enterprise Usage Based product. 52 ProductType_PRODUCT_TYPE_EUB ProductType = 2 53 ) 54 55 var ProductType_name = map[int32]string{ 56 0: "PRODUCT_TYPE_UNKNOWN", 57 1: "PRODUCT_TYPE_TEAM", 58 2: "PRODUCT_TYPE_EUB", 59 } 60 61 var ProductType_value = map[string]int32{ 62 "PRODUCT_TYPE_UNKNOWN": 0, 63 "PRODUCT_TYPE_TEAM": 1, 64 "PRODUCT_TYPE_EUB": 2, 65 } 66 67 func (x ProductType) String() string { 68 return proto.EnumName(ProductType_name, int32(x)) 69 } 70 71 func (ProductType) EnumDescriptor() ([]byte, []int) { 72 return fileDescriptor_0ffcffcda38ae159, []int{0} 73 } 74 75 // SupportType if the type of support offered. 76 type SupportType int32 77 78 const ( 79 SupportType_SUPPORT_TYPE_UNSPECIFIED SupportType = 0 80 // SUPPORT_TYPE_FREE is the free tier support 81 SupportType_SUPPORT_TYPE_FREE SupportType = 1 82 // SUPPORT_TYPE_PREMIUM is the premium tier support 83 SupportType_SUPPORT_TYPE_PREMIUM SupportType = 2 84 ) 85 86 var SupportType_name = map[int32]string{ 87 0: "SUPPORT_TYPE_UNSPECIFIED", 88 1: "SUPPORT_TYPE_FREE", 89 2: "SUPPORT_TYPE_PREMIUM", 90 } 91 92 var SupportType_value = map[string]int32{ 93 "SUPPORT_TYPE_UNSPECIFIED": 0, 94 "SUPPORT_TYPE_FREE": 1, 95 "SUPPORT_TYPE_PREMIUM": 2, 96 } 97 98 func (x SupportType) String() string { 99 return proto.EnumName(SupportType_name, int32(x)) 100 } 101 102 func (SupportType) EnumDescriptor() ([]byte, []int) { 103 return fileDescriptor_0ffcffcda38ae159, []int{1} 104 } 105 106 // DeviceType describes supported MFA device types. 107 type DeviceType int32 108 109 const ( 110 DeviceType_DEVICE_TYPE_UNSPECIFIED DeviceType = 0 111 // TOTP is a Time-based One-Time Password device. 112 DeviceType_DEVICE_TYPE_TOTP DeviceType = 1 113 // Webauthn is a device compatible with the Web Authentication 114 // specification, registered via Webauthn APIs. 115 // Supports various kinds of devices: U2F/CTAP1, CTAP2, platform 116 // authenticators (Touch ID), etc. 117 DeviceType_DEVICE_TYPE_WEBAUTHN DeviceType = 3 118 ) 119 120 var DeviceType_name = map[int32]string{ 121 0: "DEVICE_TYPE_UNSPECIFIED", 122 1: "DEVICE_TYPE_TOTP", 123 3: "DEVICE_TYPE_WEBAUTHN", 124 } 125 126 var DeviceType_value = map[string]int32{ 127 "DEVICE_TYPE_UNSPECIFIED": 0, 128 "DEVICE_TYPE_TOTP": 1, 129 "DEVICE_TYPE_WEBAUTHN": 3, 130 } 131 132 func (x DeviceType) String() string { 133 return proto.EnumName(DeviceType_name, int32(x)) 134 } 135 136 func (DeviceType) EnumDescriptor() ([]byte, []int) { 137 return fileDescriptor_0ffcffcda38ae159, []int{2} 138 } 139 140 type DeviceUsage int32 141 142 const ( 143 DeviceUsage_DEVICE_USAGE_UNSPECIFIED DeviceUsage = 0 144 // Device intended for MFA use, but not for passwordless. 145 // Allows both FIDO and FIDO2 devices. 146 // Resident keys not required. 147 DeviceUsage_DEVICE_USAGE_MFA DeviceUsage = 1 148 // Device intended for both MFA and passwordless. 149 // Requires a FIDO2 device and takes a resident key slot. 150 DeviceUsage_DEVICE_USAGE_PASSWORDLESS DeviceUsage = 2 151 ) 152 153 var DeviceUsage_name = map[int32]string{ 154 0: "DEVICE_USAGE_UNSPECIFIED", 155 1: "DEVICE_USAGE_MFA", 156 2: "DEVICE_USAGE_PASSWORDLESS", 157 } 158 159 var DeviceUsage_value = map[string]int32{ 160 "DEVICE_USAGE_UNSPECIFIED": 0, 161 "DEVICE_USAGE_MFA": 1, 162 "DEVICE_USAGE_PASSWORDLESS": 2, 163 } 164 165 func (x DeviceUsage) String() string { 166 return proto.EnumName(DeviceUsage_name, int32(x)) 167 } 168 169 func (DeviceUsage) EnumDescriptor() ([]byte, []int) { 170 return fileDescriptor_0ffcffcda38ae159, []int{3} 171 } 172 173 // MFARequired indicates if MFA is required to access a 174 // resource. 175 type MFARequired int32 176 177 const ( 178 // Indicates the client/server are either old and don't support 179 // checking if MFA is required during the ceremony or that there 180 // was a catastrophic error checking RBAC to determine if completing 181 // an MFA ceremony will grant access to a resource. 182 MFARequired_MFA_REQUIRED_UNSPECIFIED MFARequired = 0 183 // Completing an MFA ceremony will grant access to a resource. 184 MFARequired_MFA_REQUIRED_YES MFARequired = 1 185 // Completing an MFA ceremony will not grant access to a resource. 186 MFARequired_MFA_REQUIRED_NO MFARequired = 2 187 ) 188 189 var MFARequired_name = map[int32]string{ 190 0: "MFA_REQUIRED_UNSPECIFIED", 191 1: "MFA_REQUIRED_YES", 192 2: "MFA_REQUIRED_NO", 193 } 194 195 var MFARequired_value = map[string]int32{ 196 "MFA_REQUIRED_UNSPECIFIED": 0, 197 "MFA_REQUIRED_YES": 1, 198 "MFA_REQUIRED_NO": 2, 199 } 200 201 func (x MFARequired) String() string { 202 return proto.EnumName(MFARequired_name, int32(x)) 203 } 204 205 func (MFARequired) EnumDescriptor() ([]byte, []int) { 206 return fileDescriptor_0ffcffcda38ae159, []int{4} 207 } 208 209 // Order specifies any ordering of some objects as returned in regards to some aspect 210 // of said objects which may be trivially ordered such as a timestamp. 211 type Order int32 212 213 const ( 214 Order_DESCENDING Order = 0 215 Order_ASCENDING Order = 1 216 ) 217 218 var Order_name = map[int32]string{ 219 0: "DESCENDING", 220 1: "ASCENDING", 221 } 222 223 var Order_value = map[string]int32{ 224 "DESCENDING": 0, 225 "ASCENDING": 1, 226 } 227 228 func (x Order) String() string { 229 return proto.EnumName(Order_name, int32(x)) 230 } 231 232 func (Order) EnumDescriptor() ([]byte, []int) { 233 return fileDescriptor_0ffcffcda38ae159, []int{5} 234 } 235 236 // LabelUpdateKind is the type of service to update labels for. 237 type LabelUpdateKind int32 238 239 const ( 240 // SSHServer is a label update for an SSH server. 241 LabelUpdateKind_SSHServer LabelUpdateKind = 0 242 // SSHServerCloudLabels is a label update for an SSH server coming from a 243 // cloud provider. 244 LabelUpdateKind_SSHServerCloudLabels LabelUpdateKind = 1 245 ) 246 247 var LabelUpdateKind_name = map[int32]string{ 248 0: "SSHServer", 249 1: "SSHServerCloudLabels", 250 } 251 252 var LabelUpdateKind_value = map[string]int32{ 253 "SSHServer": 0, 254 "SSHServerCloudLabels": 1, 255 } 256 257 func (x LabelUpdateKind) String() string { 258 return proto.EnumName(LabelUpdateKind_name, int32(x)) 259 } 260 261 func (LabelUpdateKind) EnumDescriptor() ([]byte, []int) { 262 return fileDescriptor_0ffcffcda38ae159, []int{6} 263 } 264 265 // AccessRequestSort determines access request sort index. 266 type AccessRequestSort int32 267 268 const ( 269 // DEFAULT sorts access requests by their native backend index. this is currently equivalent 270 // to sorting by request ID, but that is subject to change. 271 AccessRequestSort_DEFAULT AccessRequestSort = 0 272 // CREATED sorts access requests by creation time (this is the sort index typically used in 273 // user interfaces since most users are looking for recently-created requests). 274 AccessRequestSort_CREATED AccessRequestSort = 1 275 // STATE sorts access requests by their state (PENDING, APPROVED, etc). 276 AccessRequestSort_STATE AccessRequestSort = 2 277 // USER sorts access requests by their creator's teleport username 278 AccessRequestSort_USER AccessRequestSort = 3 279 ) 280 281 var AccessRequestSort_name = map[int32]string{ 282 0: "DEFAULT", 283 1: "CREATED", 284 2: "STATE", 285 3: "USER", 286 } 287 288 var AccessRequestSort_value = map[string]int32{ 289 "DEFAULT": 0, 290 "CREATED": 1, 291 "STATE": 2, 292 "USER": 3, 293 } 294 295 func (x AccessRequestSort) String() string { 296 return proto.EnumName(AccessRequestSort_name, int32(x)) 297 } 298 299 func (AccessRequestSort) EnumDescriptor() ([]byte, []int) { 300 return fileDescriptor_0ffcffcda38ae159, []int{7} 301 } 302 303 type UserCertsRequest_CertUsage int32 304 305 const ( 306 // All means a request for both SSH and TLS certificates for the 307 // overall user session. These certificates are not specific to any SSH 308 // node, Kubernetes cluster, database or web app. 309 UserCertsRequest_All UserCertsRequest_CertUsage = 0 310 // SSH means a request for an SSH certificate for access to a specific 311 // SSH node, as specified by NodeName. 312 UserCertsRequest_SSH UserCertsRequest_CertUsage = 1 313 // Kubernetes means a request for a TLS certificate for access to a 314 // specific Kubernetes cluster, as specified by KubernetesCluster. 315 UserCertsRequest_Kubernetes UserCertsRequest_CertUsage = 2 316 // Database means a request for a TLS certificate for access to a 317 // specific database, as specified by RouteToDatabase. 318 UserCertsRequest_Database UserCertsRequest_CertUsage = 3 319 // App means a request for a TLS certificate for access to a specific 320 // web app, as specified by RouteToApp. 321 UserCertsRequest_App UserCertsRequest_CertUsage = 4 322 // WindowsDesktop means a request for a TLS certificate for access to a specific 323 // windows desktop. 324 UserCertsRequest_WindowsDesktop UserCertsRequest_CertUsage = 5 325 ) 326 327 var UserCertsRequest_CertUsage_name = map[int32]string{ 328 0: "All", 329 1: "SSH", 330 2: "Kubernetes", 331 3: "Database", 332 4: "App", 333 5: "WindowsDesktop", 334 } 335 336 var UserCertsRequest_CertUsage_value = map[string]int32{ 337 "All": 0, 338 "SSH": 1, 339 "Kubernetes": 2, 340 "Database": 3, 341 "App": 4, 342 "WindowsDesktop": 5, 343 } 344 345 func (x UserCertsRequest_CertUsage) String() string { 346 return proto.EnumName(UserCertsRequest_CertUsage_name, int32(x)) 347 } 348 349 func (UserCertsRequest_CertUsage) EnumDescriptor() ([]byte, []int) { 350 return fileDescriptor_0ffcffcda38ae159, []int{4, 0} 351 } 352 353 // Requester is the name of the service that sent the request. 354 type UserCertsRequest_Requester int32 355 356 const ( 357 // UNSPECIFIED is set when the requester in unknown. 358 UserCertsRequest_UNSPECIFIED UserCertsRequest_Requester = 0 359 // TSH_DB_LOCAL_PROXY_TUNNEL is set when the request was sent by a tsh db local proxy tunnel. 360 UserCertsRequest_TSH_DB_LOCAL_PROXY_TUNNEL UserCertsRequest_Requester = 1 361 // TSH_KUBE_LOCAL_PROXY is set when the request was sent by a tsh kube local proxy. 362 UserCertsRequest_TSH_KUBE_LOCAL_PROXY UserCertsRequest_Requester = 2 363 // TSH_KUBE_LOCAL_PROXY_HEADLESS is set when the request was sent by a tsh kube local proxy in headless mode. 364 UserCertsRequest_TSH_KUBE_LOCAL_PROXY_HEADLESS UserCertsRequest_Requester = 3 365 // TSH_APP_LOCAL_PROXY is set when the request was sent by a tsh app local proxy. 366 UserCertsRequest_TSH_APP_LOCAL_PROXY UserCertsRequest_Requester = 4 367 ) 368 369 var UserCertsRequest_Requester_name = map[int32]string{ 370 0: "UNSPECIFIED", 371 1: "TSH_DB_LOCAL_PROXY_TUNNEL", 372 2: "TSH_KUBE_LOCAL_PROXY", 373 3: "TSH_KUBE_LOCAL_PROXY_HEADLESS", 374 4: "TSH_APP_LOCAL_PROXY", 375 } 376 377 var UserCertsRequest_Requester_value = map[string]int32{ 378 "UNSPECIFIED": 0, 379 "TSH_DB_LOCAL_PROXY_TUNNEL": 1, 380 "TSH_KUBE_LOCAL_PROXY": 2, 381 "TSH_KUBE_LOCAL_PROXY_HEADLESS": 3, 382 "TSH_APP_LOCAL_PROXY": 4, 383 } 384 385 func (x UserCertsRequest_Requester) String() string { 386 return proto.EnumName(UserCertsRequest_Requester_name, int32(x)) 387 } 388 389 func (UserCertsRequest_Requester) EnumDescriptor() ([]byte, []int) { 390 return fileDescriptor_0ffcffcda38ae159, []int{4, 1} 391 } 392 393 // CertPurpose complements CertUsage by informing Teleport of the intended use 394 // for the certificates. 395 type UserCertsRequest_CertPurpose int32 396 397 const ( 398 // Purpose not specified. 399 // Interpreted as CERT_PURPOSE_LOGIN_CERTS. 400 UserCertsRequest_CERT_PURPOSE_UNSPECIFIED UserCertsRequest_CertPurpose = 0 401 // Generate login certificates, both SSH and TLS, as well as CA certs. 402 UserCertsRequest_CERT_PURPOSE_LOGIN_CERTS UserCertsRequest_CertPurpose = 1 403 // Generate single-user certificates, either SSH or TLS, depending on the 404 // specified Usage. 405 UserCertsRequest_CERT_PURPOSE_SINGLE_USE_CERTS UserCertsRequest_CertPurpose = 2 406 ) 407 408 var UserCertsRequest_CertPurpose_name = map[int32]string{ 409 0: "CERT_PURPOSE_UNSPECIFIED", 410 1: "CERT_PURPOSE_LOGIN_CERTS", 411 2: "CERT_PURPOSE_SINGLE_USE_CERTS", 412 } 413 414 var UserCertsRequest_CertPurpose_value = map[string]int32{ 415 "CERT_PURPOSE_UNSPECIFIED": 0, 416 "CERT_PURPOSE_LOGIN_CERTS": 1, 417 "CERT_PURPOSE_SINGLE_USE_CERTS": 2, 418 } 419 420 func (x UserCertsRequest_CertPurpose) String() string { 421 return proto.EnumName(UserCertsRequest_CertPurpose_name, int32(x)) 422 } 423 424 func (UserCertsRequest_CertPurpose) EnumDescriptor() ([]byte, []int) { 425 return fileDescriptor_0ffcffcda38ae159, []int{4, 2} 426 } 427 428 // Requester is a name of service that sent the request. 429 type DatabaseCertRequest_Requester int32 430 431 const ( 432 // UNSPECIFIED is set when the requester in unknown. 433 DatabaseCertRequest_UNSPECIFIED DatabaseCertRequest_Requester = 0 434 // TCTL is set when request was sent by tctl tool. 435 DatabaseCertRequest_TCTL DatabaseCertRequest_Requester = 1 436 ) 437 438 var DatabaseCertRequest_Requester_name = map[int32]string{ 439 0: "UNSPECIFIED", 440 1: "TCTL", 441 } 442 443 var DatabaseCertRequest_Requester_value = map[string]int32{ 444 "UNSPECIFIED": 0, 445 "TCTL": 1, 446 } 447 448 func (x DatabaseCertRequest_Requester) String() string { 449 return proto.EnumName(DatabaseCertRequest_Requester_name, int32(x)) 450 } 451 452 func (DatabaseCertRequest_Requester) EnumDescriptor() ([]byte, []int) { 453 return fileDescriptor_0ffcffcda38ae159, []int{75, 0} 454 } 455 456 // Extensions are the extensions to add to the certificate. 457 type DatabaseCertRequest_Extensions int32 458 459 const ( 460 // NORMAL is used in all cases except Windows. 461 DatabaseCertRequest_NORMAL DatabaseCertRequest_Extensions = 0 462 // WINDOWS adds specific required extensions for SQL Server, similar to Desktop Access. 463 DatabaseCertRequest_WINDOWS_SMARTCARD DatabaseCertRequest_Extensions = 1 464 ) 465 466 var DatabaseCertRequest_Extensions_name = map[int32]string{ 467 0: "NORMAL", 468 1: "WINDOWS_SMARTCARD", 469 } 470 471 var DatabaseCertRequest_Extensions_value = map[string]int32{ 472 "NORMAL": 0, 473 "WINDOWS_SMARTCARD": 1, 474 } 475 476 func (x DatabaseCertRequest_Extensions) String() string { 477 return proto.EnumName(DatabaseCertRequest_Extensions_name, int32(x)) 478 } 479 480 func (DatabaseCertRequest_Extensions) EnumDescriptor() ([]byte, []int) { 481 return fileDescriptor_0ffcffcda38ae159, []int{75, 1} 482 } 483 484 // Watch specifies watch parameters 485 type Watch struct { 486 // Kinds specifies object kinds to watch 487 Kinds []types.WatchKind `protobuf:"bytes,1,rep,name=Kinds,proto3" json:"kinds,omitempty"` 488 AllowPartialSuccess bool `protobuf:"varint,2,opt,name=AllowPartialSuccess,proto3" json:"allow_partial_success,omitempty"` 489 XXX_NoUnkeyedLiteral struct{} `json:"-"` 490 XXX_unrecognized []byte `json:"-"` 491 XXX_sizecache int32 `json:"-"` 492 } 493 494 func (m *Watch) Reset() { *m = Watch{} } 495 func (m *Watch) String() string { return proto.CompactTextString(m) } 496 func (*Watch) ProtoMessage() {} 497 func (*Watch) Descriptor() ([]byte, []int) { 498 return fileDescriptor_0ffcffcda38ae159, []int{0} 499 } 500 func (m *Watch) XXX_Unmarshal(b []byte) error { 501 return m.Unmarshal(b) 502 } 503 func (m *Watch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 504 if deterministic { 505 return xxx_messageInfo_Watch.Marshal(b, m, deterministic) 506 } else { 507 b = b[:cap(b)] 508 n, err := m.MarshalToSizedBuffer(b) 509 if err != nil { 510 return nil, err 511 } 512 return b[:n], nil 513 } 514 } 515 func (m *Watch) XXX_Merge(src proto.Message) { 516 xxx_messageInfo_Watch.Merge(m, src) 517 } 518 func (m *Watch) XXX_Size() int { 519 return m.Size() 520 } 521 func (m *Watch) XXX_DiscardUnknown() { 522 xxx_messageInfo_Watch.DiscardUnknown(m) 523 } 524 525 var xxx_messageInfo_Watch proto.InternalMessageInfo 526 527 func (m *Watch) GetKinds() []types.WatchKind { 528 if m != nil { 529 return m.Kinds 530 } 531 return nil 532 } 533 534 func (m *Watch) GetAllowPartialSuccess() bool { 535 if m != nil { 536 return m.AllowPartialSuccess 537 } 538 return false 539 } 540 541 // HostCertsRequest specifies certificate-generation parameters 542 // for a server. 543 type HostCertsRequest struct { 544 // HostID is a unique ID of the host. 545 HostID string `protobuf:"bytes,1,opt,name=HostID,proto3" json:"host_id"` 546 // NodeName is a user-friendly host name. 547 NodeName string `protobuf:"bytes,2,opt,name=NodeName,proto3" json:"node_name"` 548 // Role is a system role assigned to the host. 549 Role github_com_gravitational_teleport_api_types.SystemRole `protobuf:"bytes,3,opt,name=Role,proto3,casttype=github.com/gravitational/teleport/api/types.SystemRole" json:"role"` 550 // AdditionalPrincipals is a list of additional principals 551 // to include in OpenSSH and X509 certificates 552 AdditionalPrincipals []string `protobuf:"bytes,4,rep,name=AdditionalPrincipals,proto3" json:"additional_principals,omitempty"` 553 // DNSNames is a list of DNS names to include in x509 certificates. 554 DNSNames []string `protobuf:"bytes,5,rep,name=DNSNames,proto3" json:"dns_names,omitempty"` 555 // PublicTLSKey is a PEM encoded public key, which the auth server will use 556 // to create a signed TLS certificate. This field is required. 557 PublicTLSKey []byte `protobuf:"bytes,6,opt,name=PublicTLSKey,proto3" json:"public_tls_key"` 558 // PublicSSHKey is a SSH encoded public key, which the auth server will use 559 // to create a signed SSH certificate. This field is required. 560 PublicSSHKey []byte `protobuf:"bytes,7,opt,name=PublicSSHKey,proto3" json:"public_ssh_key"` 561 // RemoteAddr is the IP address of the remote host requesting a certificate. 562 // RemoteAddr is used to replace 0.0.0.0 in the list of additional principals. 563 RemoteAddr string `protobuf:"bytes,8,opt,name=RemoteAddr,proto3" json:"remote_addr"` 564 // Rotation allows clients to send the certificate authority rotation state 565 // expected by the client so that auth servers can avoid the situation when 566 // clients request certs assuming one state and auth servers issue another. 567 Rotation *types.Rotation `protobuf:"bytes,9,opt,name=Rotation,proto3" json:"rotation,omitempty"` 568 // NoCache is argument that only local callers can supply to bypass cache 569 NoCache bool `protobuf:"varint,10,opt,name=NoCache,proto3" json:"-"` 570 // SystemRoles is a list of system roles held by the host. Most host certs are 571 // single-role and only specify the Role field. The SystemRoles field is only 572 // currently used on Instance certs, which need to express all roles held by 573 // the instance. 574 SystemRoles []github_com_gravitational_teleport_api_types.SystemRole `protobuf:"bytes,11,rep,name=SystemRoles,proto3,casttype=github.com/gravitational/teleport/api/types.SystemRole" json:"system_roles,omitempty"` 575 XXX_NoUnkeyedLiteral struct{} `json:"-"` 576 XXX_unrecognized []byte `json:"-"` 577 XXX_sizecache int32 `json:"-"` 578 } 579 580 func (m *HostCertsRequest) Reset() { *m = HostCertsRequest{} } 581 func (m *HostCertsRequest) String() string { return proto.CompactTextString(m) } 582 func (*HostCertsRequest) ProtoMessage() {} 583 func (*HostCertsRequest) Descriptor() ([]byte, []int) { 584 return fileDescriptor_0ffcffcda38ae159, []int{1} 585 } 586 func (m *HostCertsRequest) XXX_Unmarshal(b []byte) error { 587 return m.Unmarshal(b) 588 } 589 func (m *HostCertsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 590 if deterministic { 591 return xxx_messageInfo_HostCertsRequest.Marshal(b, m, deterministic) 592 } else { 593 b = b[:cap(b)] 594 n, err := m.MarshalToSizedBuffer(b) 595 if err != nil { 596 return nil, err 597 } 598 return b[:n], nil 599 } 600 } 601 func (m *HostCertsRequest) XXX_Merge(src proto.Message) { 602 xxx_messageInfo_HostCertsRequest.Merge(m, src) 603 } 604 func (m *HostCertsRequest) XXX_Size() int { 605 return m.Size() 606 } 607 func (m *HostCertsRequest) XXX_DiscardUnknown() { 608 xxx_messageInfo_HostCertsRequest.DiscardUnknown(m) 609 } 610 611 var xxx_messageInfo_HostCertsRequest proto.InternalMessageInfo 612 613 func (m *HostCertsRequest) GetHostID() string { 614 if m != nil { 615 return m.HostID 616 } 617 return "" 618 } 619 620 func (m *HostCertsRequest) GetNodeName() string { 621 if m != nil { 622 return m.NodeName 623 } 624 return "" 625 } 626 627 func (m *HostCertsRequest) GetRole() github_com_gravitational_teleport_api_types.SystemRole { 628 if m != nil { 629 return m.Role 630 } 631 return "" 632 } 633 634 func (m *HostCertsRequest) GetAdditionalPrincipals() []string { 635 if m != nil { 636 return m.AdditionalPrincipals 637 } 638 return nil 639 } 640 641 func (m *HostCertsRequest) GetDNSNames() []string { 642 if m != nil { 643 return m.DNSNames 644 } 645 return nil 646 } 647 648 func (m *HostCertsRequest) GetPublicTLSKey() []byte { 649 if m != nil { 650 return m.PublicTLSKey 651 } 652 return nil 653 } 654 655 func (m *HostCertsRequest) GetPublicSSHKey() []byte { 656 if m != nil { 657 return m.PublicSSHKey 658 } 659 return nil 660 } 661 662 func (m *HostCertsRequest) GetRemoteAddr() string { 663 if m != nil { 664 return m.RemoteAddr 665 } 666 return "" 667 } 668 669 func (m *HostCertsRequest) GetRotation() *types.Rotation { 670 if m != nil { 671 return m.Rotation 672 } 673 return nil 674 } 675 676 func (m *HostCertsRequest) GetNoCache() bool { 677 if m != nil { 678 return m.NoCache 679 } 680 return false 681 } 682 683 func (m *HostCertsRequest) GetSystemRoles() []github_com_gravitational_teleport_api_types.SystemRole { 684 if m != nil { 685 return m.SystemRoles 686 } 687 return nil 688 } 689 690 // OpenSSHCertRequest specifies certificate-generation parameters 691 // for a certificates used to connect to Agentless nodes. 692 type OpenSSHCertRequest struct { 693 // PublicKey is the public key to sign. 694 PublicKey []byte `protobuf:"bytes,2,opt,name=PublicKey,proto3" json:"public_key"` 695 // TTL is the duration the certificate will be valid for. 696 TTL Duration `protobuf:"varint,3,opt,name=TTL,proto3,casttype=Duration" json:"ttl"` 697 // Cluster is the Teleport cluster name the target node is connected to. 698 Cluster string `protobuf:"bytes,4,opt,name=Cluster,proto3" json:"cluster"` 699 // User is the Teleport user the certificate will be generated for. 700 User *types.UserV2 `protobuf:"bytes,5,opt,name=User,proto3" json:"user"` 701 // Roles are the roles of the Teleport user the certificate will be 702 // generated for. 703 Roles []*types.RoleV6 `protobuf:"bytes,6,rep,name=Roles,proto3" json:"roles"` 704 XXX_NoUnkeyedLiteral struct{} `json:"-"` 705 XXX_unrecognized []byte `json:"-"` 706 XXX_sizecache int32 `json:"-"` 707 } 708 709 func (m *OpenSSHCertRequest) Reset() { *m = OpenSSHCertRequest{} } 710 func (m *OpenSSHCertRequest) String() string { return proto.CompactTextString(m) } 711 func (*OpenSSHCertRequest) ProtoMessage() {} 712 func (*OpenSSHCertRequest) Descriptor() ([]byte, []int) { 713 return fileDescriptor_0ffcffcda38ae159, []int{2} 714 } 715 func (m *OpenSSHCertRequest) XXX_Unmarshal(b []byte) error { 716 return m.Unmarshal(b) 717 } 718 func (m *OpenSSHCertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 719 if deterministic { 720 return xxx_messageInfo_OpenSSHCertRequest.Marshal(b, m, deterministic) 721 } else { 722 b = b[:cap(b)] 723 n, err := m.MarshalToSizedBuffer(b) 724 if err != nil { 725 return nil, err 726 } 727 return b[:n], nil 728 } 729 } 730 func (m *OpenSSHCertRequest) XXX_Merge(src proto.Message) { 731 xxx_messageInfo_OpenSSHCertRequest.Merge(m, src) 732 } 733 func (m *OpenSSHCertRequest) XXX_Size() int { 734 return m.Size() 735 } 736 func (m *OpenSSHCertRequest) XXX_DiscardUnknown() { 737 xxx_messageInfo_OpenSSHCertRequest.DiscardUnknown(m) 738 } 739 740 var xxx_messageInfo_OpenSSHCertRequest proto.InternalMessageInfo 741 742 func (m *OpenSSHCertRequest) GetPublicKey() []byte { 743 if m != nil { 744 return m.PublicKey 745 } 746 return nil 747 } 748 749 func (m *OpenSSHCertRequest) GetTTL() Duration { 750 if m != nil { 751 return m.TTL 752 } 753 return 0 754 } 755 756 func (m *OpenSSHCertRequest) GetCluster() string { 757 if m != nil { 758 return m.Cluster 759 } 760 return "" 761 } 762 763 func (m *OpenSSHCertRequest) GetUser() *types.UserV2 { 764 if m != nil { 765 return m.User 766 } 767 return nil 768 } 769 770 func (m *OpenSSHCertRequest) GetRoles() []*types.RoleV6 { 771 if m != nil { 772 return m.Roles 773 } 774 return nil 775 } 776 777 // OpenSSHCert is a SSH certificate signed by OpenSSH CA. 778 type OpenSSHCert struct { 779 Cert []byte `protobuf:"bytes,1,opt,name=Cert,proto3" json:"cert"` 780 XXX_NoUnkeyedLiteral struct{} `json:"-"` 781 XXX_unrecognized []byte `json:"-"` 782 XXX_sizecache int32 `json:"-"` 783 } 784 785 func (m *OpenSSHCert) Reset() { *m = OpenSSHCert{} } 786 func (m *OpenSSHCert) String() string { return proto.CompactTextString(m) } 787 func (*OpenSSHCert) ProtoMessage() {} 788 func (*OpenSSHCert) Descriptor() ([]byte, []int) { 789 return fileDescriptor_0ffcffcda38ae159, []int{3} 790 } 791 func (m *OpenSSHCert) XXX_Unmarshal(b []byte) error { 792 return m.Unmarshal(b) 793 } 794 func (m *OpenSSHCert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 795 if deterministic { 796 return xxx_messageInfo_OpenSSHCert.Marshal(b, m, deterministic) 797 } else { 798 b = b[:cap(b)] 799 n, err := m.MarshalToSizedBuffer(b) 800 if err != nil { 801 return nil, err 802 } 803 return b[:n], nil 804 } 805 } 806 func (m *OpenSSHCert) XXX_Merge(src proto.Message) { 807 xxx_messageInfo_OpenSSHCert.Merge(m, src) 808 } 809 func (m *OpenSSHCert) XXX_Size() int { 810 return m.Size() 811 } 812 func (m *OpenSSHCert) XXX_DiscardUnknown() { 813 xxx_messageInfo_OpenSSHCert.DiscardUnknown(m) 814 } 815 816 var xxx_messageInfo_OpenSSHCert proto.InternalMessageInfo 817 818 func (m *OpenSSHCert) GetCert() []byte { 819 if m != nil { 820 return m.Cert 821 } 822 return nil 823 } 824 825 // UserCertRequest specifies certificate-generation parameters 826 // for a user. 827 type UserCertsRequest struct { 828 // PublicKey is a public key to be signed. 829 PublicKey []byte `protobuf:"bytes,1,opt,name=PublicKey,proto3" json:"public_key"` 830 // Username of key owner. 831 Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"username"` 832 // Expires is a desired time of the expiry of the certificate, could 833 // be adjusted based on the permissions 834 Expires time.Time `protobuf:"bytes,3,opt,name=Expires,proto3,stdtime" json:"expires,omitempty"` 835 // Format encodes the desired SSH Certificate format (either old ssh 836 // compatibility 837 // format to remove some metadata causing trouble with old SSH servers) 838 // or standard SSH cert format with custom extensions 839 Format string `protobuf:"bytes,4,opt,name=Format,proto3" json:"format,omitempty"` 840 // RouteToCluster is an optional cluster name to add to the certificate, 841 // so that requests originating with this certificate will be redirected 842 // to this cluster 843 RouteToCluster string `protobuf:"bytes,5,opt,name=RouteToCluster,proto3" json:"route_to_cluster,omitempty"` 844 // AccessRequests is an optional list of request IDs indicating requests whose 845 // escalated privileges should be added to the certificate. 846 AccessRequests []string `protobuf:"bytes,6,rep,name=AccessRequests,proto3" json:"access_requests,omitempty"` 847 // KubernetesCluster specifies the target kubernetes cluster for TLS 848 // identities. This can be empty on older Teleport clients. 849 KubernetesCluster string `protobuf:"bytes,7,opt,name=KubernetesCluster,proto3" json:"kubernetes_cluster,omitempty"` 850 // RouteToDatabase specifies the target database proxy name to encode into 851 // certificate so database client requests are routed appropriately. 852 RouteToDatabase RouteToDatabase `protobuf:"bytes,8,opt,name=RouteToDatabase,proto3" json:"route_to_database,omitempty"` 853 // NodeName is the name of the SSH node that this user certificate will be 854 // scoped to. 855 NodeName string `protobuf:"bytes,9,opt,name=NodeName,proto3" json:"node_name,omitempty"` 856 // CertUsage limits the resulting user certificate to a single protocol. 857 Usage UserCertsRequest_CertUsage `protobuf:"varint,10,opt,name=Usage,proto3,enum=proto.UserCertsRequest_CertUsage" json:"usage,omitempty"` 858 // RouteToApp specifies application to issue certificate for. 859 RouteToApp RouteToApp `protobuf:"bytes,11,opt,name=RouteToApp,proto3" json:"route_to_app,omitempty"` 860 // RoleRequests specify an alternative set of named roles to apply to the 861 // certificate, assuming the requestor is allowed to impersonate said roles 862 // directly. An empty set of requests returns the user's normal set of 863 // roles. 864 RoleRequests []string `protobuf:"bytes,12,rep,name=RoleRequests,proto3" json:"role_requests,omitempty"` 865 // RouteToWindowsDesktop specifies the target windows desktop name to encode into 866 // certificate so windows desktop client requests are routed appropriately. 867 RouteToWindowsDesktop RouteToWindowsDesktop `protobuf:"bytes,13,opt,name=RouteToWindowsDesktop,proto3" json:"route_to_windows_desktop,omitempty"` 868 // UseRoleRequests is used to ensure a certificate request is intended to 869 // use role impersonation, even if the list of role requests is empty. 870 UseRoleRequests bool `protobuf:"varint,14,opt,name=UseRoleRequests,proto3" json:"use_role_requests,omitempty"` 871 // DropAccessRequests is an optional list of request IDs indicating requests 872 // whose escalated privileges should be removed from the certificate. 873 // IDs pointing at non-existent requests are ignored. 874 // 875 // If present, the roles and traits in the generated cert will be based on 876 // the state of the user resource on the backend, active requests (not being 877 // dropped) and new access requests specified through AccessRequests (if any). 878 // 879 // This means that technically sending UserCertsRequest with bogus IDs in 880 // DropAccessRequests can be used to refresh the role list based on backend 881 // state. A better long-term solution would be to add a dedicated field for 882 // this to avoid sending bogus IDs. 883 DropAccessRequests []string `protobuf:"bytes,15,rep,name=DropAccessRequests,proto3" json:"drop_access_requests,omitempty"` 884 // ConnectionDiagnosticID is the ID of the ConnectionDiagnostic resource we should use to add 885 // traces as we pass certain checkpoints. 886 ConnectionDiagnosticID string `protobuf:"bytes,16,opt,name=ConnectionDiagnosticID,proto3" json:"connection_diagnostic_id,omitempty"` 887 // RequesterName identifies who sent the request. 888 RequesterName UserCertsRequest_Requester `protobuf:"varint,17,opt,name=RequesterName,proto3,enum=proto.UserCertsRequest_Requester" json:"requester_name"` 889 // MFAResponse is a response to a challenge from a user's MFA device. 890 // An optional field, that when provided, the response will be validated 891 // and the ID of the validated MFA device will be stored in the certificate. 892 MFAResponse *MFAAuthenticateResponse `protobuf:"bytes,18,opt,name=MFAResponse,proto3" json:"mfa_response,omitempty"` 893 // SSHLogin is the OS Login for the SSH session that the certificate will be used for. 894 // This login is used when performing RBAC checks to determine if MFA is required 895 // to access the resource. 896 SSHLogin string `protobuf:"bytes,19,opt,name=SSHLogin,proto3" json:"SSHLogin,omitempty"` 897 // AttestationStatement is an attestation statement for the given public key. 898 AttestationStatement *v1.AttestationStatement `protobuf:"bytes,20,opt,name=attestation_statement,json=attestationStatement,proto3" json:"attestation_statement,omitempty"` 899 // Purpose is the intended purpose of the certificates. 900 Purpose UserCertsRequest_CertPurpose `protobuf:"varint,21,opt,name=Purpose,proto3,enum=proto.UserCertsRequest_CertPurpose" json:"purpose,omitempty"` 901 XXX_NoUnkeyedLiteral struct{} `json:"-"` 902 XXX_unrecognized []byte `json:"-"` 903 XXX_sizecache int32 `json:"-"` 904 } 905 906 func (m *UserCertsRequest) Reset() { *m = UserCertsRequest{} } 907 func (m *UserCertsRequest) String() string { return proto.CompactTextString(m) } 908 func (*UserCertsRequest) ProtoMessage() {} 909 func (*UserCertsRequest) Descriptor() ([]byte, []int) { 910 return fileDescriptor_0ffcffcda38ae159, []int{4} 911 } 912 func (m *UserCertsRequest) XXX_Unmarshal(b []byte) error { 913 return m.Unmarshal(b) 914 } 915 func (m *UserCertsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 916 if deterministic { 917 return xxx_messageInfo_UserCertsRequest.Marshal(b, m, deterministic) 918 } else { 919 b = b[:cap(b)] 920 n, err := m.MarshalToSizedBuffer(b) 921 if err != nil { 922 return nil, err 923 } 924 return b[:n], nil 925 } 926 } 927 func (m *UserCertsRequest) XXX_Merge(src proto.Message) { 928 xxx_messageInfo_UserCertsRequest.Merge(m, src) 929 } 930 func (m *UserCertsRequest) XXX_Size() int { 931 return m.Size() 932 } 933 func (m *UserCertsRequest) XXX_DiscardUnknown() { 934 xxx_messageInfo_UserCertsRequest.DiscardUnknown(m) 935 } 936 937 var xxx_messageInfo_UserCertsRequest proto.InternalMessageInfo 938 939 func (m *UserCertsRequest) GetPublicKey() []byte { 940 if m != nil { 941 return m.PublicKey 942 } 943 return nil 944 } 945 946 func (m *UserCertsRequest) GetUsername() string { 947 if m != nil { 948 return m.Username 949 } 950 return "" 951 } 952 953 func (m *UserCertsRequest) GetExpires() time.Time { 954 if m != nil { 955 return m.Expires 956 } 957 return time.Time{} 958 } 959 960 func (m *UserCertsRequest) GetFormat() string { 961 if m != nil { 962 return m.Format 963 } 964 return "" 965 } 966 967 func (m *UserCertsRequest) GetRouteToCluster() string { 968 if m != nil { 969 return m.RouteToCluster 970 } 971 return "" 972 } 973 974 func (m *UserCertsRequest) GetAccessRequests() []string { 975 if m != nil { 976 return m.AccessRequests 977 } 978 return nil 979 } 980 981 func (m *UserCertsRequest) GetKubernetesCluster() string { 982 if m != nil { 983 return m.KubernetesCluster 984 } 985 return "" 986 } 987 988 func (m *UserCertsRequest) GetRouteToDatabase() RouteToDatabase { 989 if m != nil { 990 return m.RouteToDatabase 991 } 992 return RouteToDatabase{} 993 } 994 995 func (m *UserCertsRequest) GetNodeName() string { 996 if m != nil { 997 return m.NodeName 998 } 999 return "" 1000 } 1001 1002 func (m *UserCertsRequest) GetUsage() UserCertsRequest_CertUsage { 1003 if m != nil { 1004 return m.Usage 1005 } 1006 return UserCertsRequest_All 1007 } 1008 1009 func (m *UserCertsRequest) GetRouteToApp() RouteToApp { 1010 if m != nil { 1011 return m.RouteToApp 1012 } 1013 return RouteToApp{} 1014 } 1015 1016 func (m *UserCertsRequest) GetRoleRequests() []string { 1017 if m != nil { 1018 return m.RoleRequests 1019 } 1020 return nil 1021 } 1022 1023 func (m *UserCertsRequest) GetRouteToWindowsDesktop() RouteToWindowsDesktop { 1024 if m != nil { 1025 return m.RouteToWindowsDesktop 1026 } 1027 return RouteToWindowsDesktop{} 1028 } 1029 1030 func (m *UserCertsRequest) GetUseRoleRequests() bool { 1031 if m != nil { 1032 return m.UseRoleRequests 1033 } 1034 return false 1035 } 1036 1037 func (m *UserCertsRequest) GetDropAccessRequests() []string { 1038 if m != nil { 1039 return m.DropAccessRequests 1040 } 1041 return nil 1042 } 1043 1044 func (m *UserCertsRequest) GetConnectionDiagnosticID() string { 1045 if m != nil { 1046 return m.ConnectionDiagnosticID 1047 } 1048 return "" 1049 } 1050 1051 func (m *UserCertsRequest) GetRequesterName() UserCertsRequest_Requester { 1052 if m != nil { 1053 return m.RequesterName 1054 } 1055 return UserCertsRequest_UNSPECIFIED 1056 } 1057 1058 func (m *UserCertsRequest) GetMFAResponse() *MFAAuthenticateResponse { 1059 if m != nil { 1060 return m.MFAResponse 1061 } 1062 return nil 1063 } 1064 1065 func (m *UserCertsRequest) GetSSHLogin() string { 1066 if m != nil { 1067 return m.SSHLogin 1068 } 1069 return "" 1070 } 1071 1072 func (m *UserCertsRequest) GetAttestationStatement() *v1.AttestationStatement { 1073 if m != nil { 1074 return m.AttestationStatement 1075 } 1076 return nil 1077 } 1078 1079 func (m *UserCertsRequest) GetPurpose() UserCertsRequest_CertPurpose { 1080 if m != nil { 1081 return m.Purpose 1082 } 1083 return UserCertsRequest_CERT_PURPOSE_UNSPECIFIED 1084 } 1085 1086 // RouteToDatabase combines parameters for database service routing information. 1087 type RouteToDatabase struct { 1088 // ServiceName is the Teleport database proxy service name the cert is for. 1089 ServiceName string `protobuf:"bytes,1,opt,name=ServiceName,proto3" json:"service_name"` 1090 // Protocol is the type of the database the cert is for. 1091 Protocol string `protobuf:"bytes,2,opt,name=Protocol,proto3" json:"protocol"` 1092 // Username is an optional database username to embed. 1093 Username string `protobuf:"bytes,3,opt,name=Username,proto3" json:"username,omitempty"` 1094 // Database is an optional database name to embed. 1095 Database string `protobuf:"bytes,4,opt,name=Database,proto3" json:"database,omitempty"` 1096 // Roles is an optional list of database roles to embed. 1097 Roles []string `protobuf:"bytes,5,rep,name=Roles,proto3" json:"roles,omitempty"` 1098 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1099 XXX_unrecognized []byte `json:"-"` 1100 XXX_sizecache int32 `json:"-"` 1101 } 1102 1103 func (m *RouteToDatabase) Reset() { *m = RouteToDatabase{} } 1104 func (m *RouteToDatabase) String() string { return proto.CompactTextString(m) } 1105 func (*RouteToDatabase) ProtoMessage() {} 1106 func (*RouteToDatabase) Descriptor() ([]byte, []int) { 1107 return fileDescriptor_0ffcffcda38ae159, []int{5} 1108 } 1109 func (m *RouteToDatabase) XXX_Unmarshal(b []byte) error { 1110 return m.Unmarshal(b) 1111 } 1112 func (m *RouteToDatabase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1113 if deterministic { 1114 return xxx_messageInfo_RouteToDatabase.Marshal(b, m, deterministic) 1115 } else { 1116 b = b[:cap(b)] 1117 n, err := m.MarshalToSizedBuffer(b) 1118 if err != nil { 1119 return nil, err 1120 } 1121 return b[:n], nil 1122 } 1123 } 1124 func (m *RouteToDatabase) XXX_Merge(src proto.Message) { 1125 xxx_messageInfo_RouteToDatabase.Merge(m, src) 1126 } 1127 func (m *RouteToDatabase) XXX_Size() int { 1128 return m.Size() 1129 } 1130 func (m *RouteToDatabase) XXX_DiscardUnknown() { 1131 xxx_messageInfo_RouteToDatabase.DiscardUnknown(m) 1132 } 1133 1134 var xxx_messageInfo_RouteToDatabase proto.InternalMessageInfo 1135 1136 func (m *RouteToDatabase) GetServiceName() string { 1137 if m != nil { 1138 return m.ServiceName 1139 } 1140 return "" 1141 } 1142 1143 func (m *RouteToDatabase) GetProtocol() string { 1144 if m != nil { 1145 return m.Protocol 1146 } 1147 return "" 1148 } 1149 1150 func (m *RouteToDatabase) GetUsername() string { 1151 if m != nil { 1152 return m.Username 1153 } 1154 return "" 1155 } 1156 1157 func (m *RouteToDatabase) GetDatabase() string { 1158 if m != nil { 1159 return m.Database 1160 } 1161 return "" 1162 } 1163 1164 func (m *RouteToDatabase) GetRoles() []string { 1165 if m != nil { 1166 return m.Roles 1167 } 1168 return nil 1169 } 1170 1171 // RouteToWindowsDesktop combines parameters for windows desktop routing information. 1172 type RouteToWindowsDesktop struct { 1173 // WindowsDesktop is the Windows Desktop server name to embed. 1174 WindowsDesktop string `protobuf:"bytes,1,opt,name=WindowsDesktop,proto3" json:"windows_desktop"` 1175 // Login is the Windows desktop user login to embed. 1176 Login string `protobuf:"bytes,2,opt,name=Login,proto3" json:"login"` 1177 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1178 XXX_unrecognized []byte `json:"-"` 1179 XXX_sizecache int32 `json:"-"` 1180 } 1181 1182 func (m *RouteToWindowsDesktop) Reset() { *m = RouteToWindowsDesktop{} } 1183 func (m *RouteToWindowsDesktop) String() string { return proto.CompactTextString(m) } 1184 func (*RouteToWindowsDesktop) ProtoMessage() {} 1185 func (*RouteToWindowsDesktop) Descriptor() ([]byte, []int) { 1186 return fileDescriptor_0ffcffcda38ae159, []int{6} 1187 } 1188 func (m *RouteToWindowsDesktop) XXX_Unmarshal(b []byte) error { 1189 return m.Unmarshal(b) 1190 } 1191 func (m *RouteToWindowsDesktop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1192 if deterministic { 1193 return xxx_messageInfo_RouteToWindowsDesktop.Marshal(b, m, deterministic) 1194 } else { 1195 b = b[:cap(b)] 1196 n, err := m.MarshalToSizedBuffer(b) 1197 if err != nil { 1198 return nil, err 1199 } 1200 return b[:n], nil 1201 } 1202 } 1203 func (m *RouteToWindowsDesktop) XXX_Merge(src proto.Message) { 1204 xxx_messageInfo_RouteToWindowsDesktop.Merge(m, src) 1205 } 1206 func (m *RouteToWindowsDesktop) XXX_Size() int { 1207 return m.Size() 1208 } 1209 func (m *RouteToWindowsDesktop) XXX_DiscardUnknown() { 1210 xxx_messageInfo_RouteToWindowsDesktop.DiscardUnknown(m) 1211 } 1212 1213 var xxx_messageInfo_RouteToWindowsDesktop proto.InternalMessageInfo 1214 1215 func (m *RouteToWindowsDesktop) GetWindowsDesktop() string { 1216 if m != nil { 1217 return m.WindowsDesktop 1218 } 1219 return "" 1220 } 1221 1222 func (m *RouteToWindowsDesktop) GetLogin() string { 1223 if m != nil { 1224 return m.Login 1225 } 1226 return "" 1227 } 1228 1229 // RouteToApp contains parameters for application access certificate requests. 1230 type RouteToApp struct { 1231 // Name is the application name certificate is being requested for. 1232 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 1233 // SessionID is the ID of the application session. 1234 // DEPRECATED: Automatically generated by server. 1235 // TODO (Joerger): DELETE IN v17.0.0 1236 SessionID string `protobuf:"bytes,2,opt,name=SessionID,proto3" json:"session_id"` // Deprecated: Do not use. 1237 // PublicAddr is the application public address. 1238 PublicAddr string `protobuf:"bytes,3,opt,name=PublicAddr,proto3" json:"public_addr"` 1239 // ClusterName is the cluster where the application resides. 1240 ClusterName string `protobuf:"bytes,4,opt,name=ClusterName,proto3" json:"cluster_name"` 1241 // AWSRoleARN is the AWS role to assume when accessing AWS API. 1242 AWSRoleARN string `protobuf:"bytes,5,opt,name=AWSRoleARN,proto3" json:"aws_role_arn,omitempty"` 1243 // AzureIdentity is the Azure identity to assume when accessing Azure API. 1244 AzureIdentity string `protobuf:"bytes,6,opt,name=AzureIdentity,proto3" json:"azure_identity,omitempty"` 1245 // GCPServiceAccount is the GCP service account to assume when accessing GCP API. 1246 GCPServiceAccount string `protobuf:"bytes,7,opt,name=GCPServiceAccount,proto3" json:"gcp_service_account,omitempty"` 1247 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1248 XXX_unrecognized []byte `json:"-"` 1249 XXX_sizecache int32 `json:"-"` 1250 } 1251 1252 func (m *RouteToApp) Reset() { *m = RouteToApp{} } 1253 func (m *RouteToApp) String() string { return proto.CompactTextString(m) } 1254 func (*RouteToApp) ProtoMessage() {} 1255 func (*RouteToApp) Descriptor() ([]byte, []int) { 1256 return fileDescriptor_0ffcffcda38ae159, []int{7} 1257 } 1258 func (m *RouteToApp) XXX_Unmarshal(b []byte) error { 1259 return m.Unmarshal(b) 1260 } 1261 func (m *RouteToApp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1262 if deterministic { 1263 return xxx_messageInfo_RouteToApp.Marshal(b, m, deterministic) 1264 } else { 1265 b = b[:cap(b)] 1266 n, err := m.MarshalToSizedBuffer(b) 1267 if err != nil { 1268 return nil, err 1269 } 1270 return b[:n], nil 1271 } 1272 } 1273 func (m *RouteToApp) XXX_Merge(src proto.Message) { 1274 xxx_messageInfo_RouteToApp.Merge(m, src) 1275 } 1276 func (m *RouteToApp) XXX_Size() int { 1277 return m.Size() 1278 } 1279 func (m *RouteToApp) XXX_DiscardUnknown() { 1280 xxx_messageInfo_RouteToApp.DiscardUnknown(m) 1281 } 1282 1283 var xxx_messageInfo_RouteToApp proto.InternalMessageInfo 1284 1285 func (m *RouteToApp) GetName() string { 1286 if m != nil { 1287 return m.Name 1288 } 1289 return "" 1290 } 1291 1292 // Deprecated: Do not use. 1293 func (m *RouteToApp) GetSessionID() string { 1294 if m != nil { 1295 return m.SessionID 1296 } 1297 return "" 1298 } 1299 1300 func (m *RouteToApp) GetPublicAddr() string { 1301 if m != nil { 1302 return m.PublicAddr 1303 } 1304 return "" 1305 } 1306 1307 func (m *RouteToApp) GetClusterName() string { 1308 if m != nil { 1309 return m.ClusterName 1310 } 1311 return "" 1312 } 1313 1314 func (m *RouteToApp) GetAWSRoleARN() string { 1315 if m != nil { 1316 return m.AWSRoleARN 1317 } 1318 return "" 1319 } 1320 1321 func (m *RouteToApp) GetAzureIdentity() string { 1322 if m != nil { 1323 return m.AzureIdentity 1324 } 1325 return "" 1326 } 1327 1328 func (m *RouteToApp) GetGCPServiceAccount() string { 1329 if m != nil { 1330 return m.GCPServiceAccount 1331 } 1332 return "" 1333 } 1334 1335 // GetUserRequest specifies parameters for the GetUser method. 1336 type GetUserRequest struct { 1337 // Name is the name of the desired user. 1338 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 1339 // WithSecrets specifies whether to load associated secrets. 1340 WithSecrets bool `protobuf:"varint,2,opt,name=WithSecrets,proto3" json:"with_secrets,omitempty"` 1341 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1342 XXX_unrecognized []byte `json:"-"` 1343 XXX_sizecache int32 `json:"-"` 1344 } 1345 1346 func (m *GetUserRequest) Reset() { *m = GetUserRequest{} } 1347 func (m *GetUserRequest) String() string { return proto.CompactTextString(m) } 1348 func (*GetUserRequest) ProtoMessage() {} 1349 func (*GetUserRequest) Descriptor() ([]byte, []int) { 1350 return fileDescriptor_0ffcffcda38ae159, []int{8} 1351 } 1352 func (m *GetUserRequest) XXX_Unmarshal(b []byte) error { 1353 return m.Unmarshal(b) 1354 } 1355 func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1356 if deterministic { 1357 return xxx_messageInfo_GetUserRequest.Marshal(b, m, deterministic) 1358 } else { 1359 b = b[:cap(b)] 1360 n, err := m.MarshalToSizedBuffer(b) 1361 if err != nil { 1362 return nil, err 1363 } 1364 return b[:n], nil 1365 } 1366 } 1367 func (m *GetUserRequest) XXX_Merge(src proto.Message) { 1368 xxx_messageInfo_GetUserRequest.Merge(m, src) 1369 } 1370 func (m *GetUserRequest) XXX_Size() int { 1371 return m.Size() 1372 } 1373 func (m *GetUserRequest) XXX_DiscardUnknown() { 1374 xxx_messageInfo_GetUserRequest.DiscardUnknown(m) 1375 } 1376 1377 var xxx_messageInfo_GetUserRequest proto.InternalMessageInfo 1378 1379 func (m *GetUserRequest) GetName() string { 1380 if m != nil { 1381 return m.Name 1382 } 1383 return "" 1384 } 1385 1386 func (m *GetUserRequest) GetWithSecrets() bool { 1387 if m != nil { 1388 return m.WithSecrets 1389 } 1390 return false 1391 } 1392 1393 // GetUsersRequest specifies parameters for the GetUsers method. 1394 type GetUsersRequest struct { 1395 // WithSecrets specifies whether to load associated secrets. 1396 WithSecrets bool `protobuf:"varint,1,opt,name=WithSecrets,proto3" json:"with_secrets"` 1397 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1398 XXX_unrecognized []byte `json:"-"` 1399 XXX_sizecache int32 `json:"-"` 1400 } 1401 1402 func (m *GetUsersRequest) Reset() { *m = GetUsersRequest{} } 1403 func (m *GetUsersRequest) String() string { return proto.CompactTextString(m) } 1404 func (*GetUsersRequest) ProtoMessage() {} 1405 func (*GetUsersRequest) Descriptor() ([]byte, []int) { 1406 return fileDescriptor_0ffcffcda38ae159, []int{9} 1407 } 1408 func (m *GetUsersRequest) XXX_Unmarshal(b []byte) error { 1409 return m.Unmarshal(b) 1410 } 1411 func (m *GetUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1412 if deterministic { 1413 return xxx_messageInfo_GetUsersRequest.Marshal(b, m, deterministic) 1414 } else { 1415 b = b[:cap(b)] 1416 n, err := m.MarshalToSizedBuffer(b) 1417 if err != nil { 1418 return nil, err 1419 } 1420 return b[:n], nil 1421 } 1422 } 1423 func (m *GetUsersRequest) XXX_Merge(src proto.Message) { 1424 xxx_messageInfo_GetUsersRequest.Merge(m, src) 1425 } 1426 func (m *GetUsersRequest) XXX_Size() int { 1427 return m.Size() 1428 } 1429 func (m *GetUsersRequest) XXX_DiscardUnknown() { 1430 xxx_messageInfo_GetUsersRequest.DiscardUnknown(m) 1431 } 1432 1433 var xxx_messageInfo_GetUsersRequest proto.InternalMessageInfo 1434 1435 func (m *GetUsersRequest) GetWithSecrets() bool { 1436 if m != nil { 1437 return m.WithSecrets 1438 } 1439 return false 1440 } 1441 1442 // ChangePasswordRequest specifies the parameters for the ChangePassword method. 1443 type ChangePasswordRequest struct { 1444 User string `protobuf:"bytes,1,opt,name=User,proto3" json:"name"` 1445 OldPassword []byte `protobuf:"bytes,2,opt,name=OldPassword,proto3" json:"old_password"` 1446 NewPassword []byte `protobuf:"bytes,3,opt,name=NewPassword,proto3" json:"new_password"` 1447 SecondFactorToken string `protobuf:"bytes,4,opt,name=SecondFactorToken,proto3" json:"second_factor_token"` 1448 Webauthn *webauthn.CredentialAssertionResponse `protobuf:"bytes,5,opt,name=Webauthn,proto3" json:"webauthn"` 1449 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1450 XXX_unrecognized []byte `json:"-"` 1451 XXX_sizecache int32 `json:"-"` 1452 } 1453 1454 func (m *ChangePasswordRequest) Reset() { *m = ChangePasswordRequest{} } 1455 func (m *ChangePasswordRequest) String() string { return proto.CompactTextString(m) } 1456 func (*ChangePasswordRequest) ProtoMessage() {} 1457 func (*ChangePasswordRequest) Descriptor() ([]byte, []int) { 1458 return fileDescriptor_0ffcffcda38ae159, []int{10} 1459 } 1460 func (m *ChangePasswordRequest) XXX_Unmarshal(b []byte) error { 1461 return m.Unmarshal(b) 1462 } 1463 func (m *ChangePasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1464 if deterministic { 1465 return xxx_messageInfo_ChangePasswordRequest.Marshal(b, m, deterministic) 1466 } else { 1467 b = b[:cap(b)] 1468 n, err := m.MarshalToSizedBuffer(b) 1469 if err != nil { 1470 return nil, err 1471 } 1472 return b[:n], nil 1473 } 1474 } 1475 func (m *ChangePasswordRequest) XXX_Merge(src proto.Message) { 1476 xxx_messageInfo_ChangePasswordRequest.Merge(m, src) 1477 } 1478 func (m *ChangePasswordRequest) XXX_Size() int { 1479 return m.Size() 1480 } 1481 func (m *ChangePasswordRequest) XXX_DiscardUnknown() { 1482 xxx_messageInfo_ChangePasswordRequest.DiscardUnknown(m) 1483 } 1484 1485 var xxx_messageInfo_ChangePasswordRequest proto.InternalMessageInfo 1486 1487 func (m *ChangePasswordRequest) GetUser() string { 1488 if m != nil { 1489 return m.User 1490 } 1491 return "" 1492 } 1493 1494 func (m *ChangePasswordRequest) GetOldPassword() []byte { 1495 if m != nil { 1496 return m.OldPassword 1497 } 1498 return nil 1499 } 1500 1501 func (m *ChangePasswordRequest) GetNewPassword() []byte { 1502 if m != nil { 1503 return m.NewPassword 1504 } 1505 return nil 1506 } 1507 1508 func (m *ChangePasswordRequest) GetSecondFactorToken() string { 1509 if m != nil { 1510 return m.SecondFactorToken 1511 } 1512 return "" 1513 } 1514 1515 func (m *ChangePasswordRequest) GetWebauthn() *webauthn.CredentialAssertionResponse { 1516 if m != nil { 1517 return m.Webauthn 1518 } 1519 return nil 1520 } 1521 1522 // PluginDataSeq is a sequence of plugin data. 1523 type PluginDataSeq struct { 1524 PluginData []*types.PluginDataV3 `protobuf:"bytes,1,rep,name=PluginData,proto3" json:"plugin_data"` 1525 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1526 XXX_unrecognized []byte `json:"-"` 1527 XXX_sizecache int32 `json:"-"` 1528 } 1529 1530 func (m *PluginDataSeq) Reset() { *m = PluginDataSeq{} } 1531 func (m *PluginDataSeq) String() string { return proto.CompactTextString(m) } 1532 func (*PluginDataSeq) ProtoMessage() {} 1533 func (*PluginDataSeq) Descriptor() ([]byte, []int) { 1534 return fileDescriptor_0ffcffcda38ae159, []int{11} 1535 } 1536 func (m *PluginDataSeq) XXX_Unmarshal(b []byte) error { 1537 return m.Unmarshal(b) 1538 } 1539 func (m *PluginDataSeq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1540 if deterministic { 1541 return xxx_messageInfo_PluginDataSeq.Marshal(b, m, deterministic) 1542 } else { 1543 b = b[:cap(b)] 1544 n, err := m.MarshalToSizedBuffer(b) 1545 if err != nil { 1546 return nil, err 1547 } 1548 return b[:n], nil 1549 } 1550 } 1551 func (m *PluginDataSeq) XXX_Merge(src proto.Message) { 1552 xxx_messageInfo_PluginDataSeq.Merge(m, src) 1553 } 1554 func (m *PluginDataSeq) XXX_Size() int { 1555 return m.Size() 1556 } 1557 func (m *PluginDataSeq) XXX_DiscardUnknown() { 1558 xxx_messageInfo_PluginDataSeq.DiscardUnknown(m) 1559 } 1560 1561 var xxx_messageInfo_PluginDataSeq proto.InternalMessageInfo 1562 1563 func (m *PluginDataSeq) GetPluginData() []*types.PluginDataV3 { 1564 if m != nil { 1565 return m.PluginData 1566 } 1567 return nil 1568 } 1569 1570 // RequestStateSetter encodes the parameters necessary to update the 1571 // state of a privilege escalation request. 1572 type RequestStateSetter struct { 1573 // ID is the request ID being targeted 1574 ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"id"` 1575 // State is the desired state to be set 1576 State types.RequestState `protobuf:"varint,2,opt,name=State,proto3,enum=types.RequestState" json:"state"` 1577 // Delegator is an optional indicator of who delegated this 1578 // state update (used by plugins to indicate which user approved 1579 // or denied the request). 1580 Delegator string `protobuf:"bytes,3,opt,name=Delegator,proto3" json:"delegator,omitempty"` 1581 // Reason is an optional message indicating the reason for the 1582 // resolution (approval, denail , etc...). 1583 Reason string `protobuf:"bytes,4,opt,name=Reason,proto3" json:"reason,omitempty"` 1584 // Annotations are key/value pairs received from plugins during request 1585 // resolution. They are currently only used to provide additional logging 1586 // information. 1587 Annotations github_com_gravitational_teleport_api_types_wrappers.Traits `protobuf:"bytes,5,opt,name=Annotations,proto3,customtype=github.com/gravitational/teleport/api/types/wrappers.Traits" json:"annotations,omitempty"` 1588 // Roles, if present, overrides the existing set of roles associated 1589 // with the access request. 1590 Roles []string `protobuf:"bytes,6,rep,name=Roles,proto3" json:"roles,omitempty"` 1591 // AssumeStartTime is the time the requested roles can be assumed. 1592 AssumeStartTime *time.Time `protobuf:"bytes,7,opt,name=AssumeStartTime,proto3,stdtime" json:"assume_start_time,omitempty"` 1593 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1594 XXX_unrecognized []byte `json:"-"` 1595 XXX_sizecache int32 `json:"-"` 1596 } 1597 1598 func (m *RequestStateSetter) Reset() { *m = RequestStateSetter{} } 1599 func (m *RequestStateSetter) String() string { return proto.CompactTextString(m) } 1600 func (*RequestStateSetter) ProtoMessage() {} 1601 func (*RequestStateSetter) Descriptor() ([]byte, []int) { 1602 return fileDescriptor_0ffcffcda38ae159, []int{12} 1603 } 1604 func (m *RequestStateSetter) XXX_Unmarshal(b []byte) error { 1605 return m.Unmarshal(b) 1606 } 1607 func (m *RequestStateSetter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1608 if deterministic { 1609 return xxx_messageInfo_RequestStateSetter.Marshal(b, m, deterministic) 1610 } else { 1611 b = b[:cap(b)] 1612 n, err := m.MarshalToSizedBuffer(b) 1613 if err != nil { 1614 return nil, err 1615 } 1616 return b[:n], nil 1617 } 1618 } 1619 func (m *RequestStateSetter) XXX_Merge(src proto.Message) { 1620 xxx_messageInfo_RequestStateSetter.Merge(m, src) 1621 } 1622 func (m *RequestStateSetter) XXX_Size() int { 1623 return m.Size() 1624 } 1625 func (m *RequestStateSetter) XXX_DiscardUnknown() { 1626 xxx_messageInfo_RequestStateSetter.DiscardUnknown(m) 1627 } 1628 1629 var xxx_messageInfo_RequestStateSetter proto.InternalMessageInfo 1630 1631 func (m *RequestStateSetter) GetID() string { 1632 if m != nil { 1633 return m.ID 1634 } 1635 return "" 1636 } 1637 1638 func (m *RequestStateSetter) GetState() types.RequestState { 1639 if m != nil { 1640 return m.State 1641 } 1642 return types.RequestState_NONE 1643 } 1644 1645 func (m *RequestStateSetter) GetDelegator() string { 1646 if m != nil { 1647 return m.Delegator 1648 } 1649 return "" 1650 } 1651 1652 func (m *RequestStateSetter) GetReason() string { 1653 if m != nil { 1654 return m.Reason 1655 } 1656 return "" 1657 } 1658 1659 func (m *RequestStateSetter) GetRoles() []string { 1660 if m != nil { 1661 return m.Roles 1662 } 1663 return nil 1664 } 1665 1666 func (m *RequestStateSetter) GetAssumeStartTime() *time.Time { 1667 if m != nil { 1668 return m.AssumeStartTime 1669 } 1670 return nil 1671 } 1672 1673 // RequestID is the unique identifier of an access request. 1674 type RequestID struct { 1675 ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"id"` 1676 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1677 XXX_unrecognized []byte `json:"-"` 1678 XXX_sizecache int32 `json:"-"` 1679 } 1680 1681 func (m *RequestID) Reset() { *m = RequestID{} } 1682 func (m *RequestID) String() string { return proto.CompactTextString(m) } 1683 func (*RequestID) ProtoMessage() {} 1684 func (*RequestID) Descriptor() ([]byte, []int) { 1685 return fileDescriptor_0ffcffcda38ae159, []int{13} 1686 } 1687 func (m *RequestID) XXX_Unmarshal(b []byte) error { 1688 return m.Unmarshal(b) 1689 } 1690 func (m *RequestID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1691 if deterministic { 1692 return xxx_messageInfo_RequestID.Marshal(b, m, deterministic) 1693 } else { 1694 b = b[:cap(b)] 1695 n, err := m.MarshalToSizedBuffer(b) 1696 if err != nil { 1697 return nil, err 1698 } 1699 return b[:n], nil 1700 } 1701 } 1702 func (m *RequestID) XXX_Merge(src proto.Message) { 1703 xxx_messageInfo_RequestID.Merge(m, src) 1704 } 1705 func (m *RequestID) XXX_Size() int { 1706 return m.Size() 1707 } 1708 func (m *RequestID) XXX_DiscardUnknown() { 1709 xxx_messageInfo_RequestID.DiscardUnknown(m) 1710 } 1711 1712 var xxx_messageInfo_RequestID proto.InternalMessageInfo 1713 1714 func (m *RequestID) GetID() string { 1715 if m != nil { 1716 return m.ID 1717 } 1718 return "" 1719 } 1720 1721 // GetResetPasswordTokenRequest is a request to get a reset password token. 1722 type GetResetPasswordTokenRequest struct { 1723 TokenID string `protobuf:"bytes,1,opt,name=TokenID,proto3" json:"token"` 1724 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1725 XXX_unrecognized []byte `json:"-"` 1726 XXX_sizecache int32 `json:"-"` 1727 } 1728 1729 func (m *GetResetPasswordTokenRequest) Reset() { *m = GetResetPasswordTokenRequest{} } 1730 func (m *GetResetPasswordTokenRequest) String() string { return proto.CompactTextString(m) } 1731 func (*GetResetPasswordTokenRequest) ProtoMessage() {} 1732 func (*GetResetPasswordTokenRequest) Descriptor() ([]byte, []int) { 1733 return fileDescriptor_0ffcffcda38ae159, []int{14} 1734 } 1735 func (m *GetResetPasswordTokenRequest) XXX_Unmarshal(b []byte) error { 1736 return m.Unmarshal(b) 1737 } 1738 func (m *GetResetPasswordTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1739 if deterministic { 1740 return xxx_messageInfo_GetResetPasswordTokenRequest.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 *GetResetPasswordTokenRequest) XXX_Merge(src proto.Message) { 1751 xxx_messageInfo_GetResetPasswordTokenRequest.Merge(m, src) 1752 } 1753 func (m *GetResetPasswordTokenRequest) XXX_Size() int { 1754 return m.Size() 1755 } 1756 func (m *GetResetPasswordTokenRequest) XXX_DiscardUnknown() { 1757 xxx_messageInfo_GetResetPasswordTokenRequest.DiscardUnknown(m) 1758 } 1759 1760 var xxx_messageInfo_GetResetPasswordTokenRequest proto.InternalMessageInfo 1761 1762 func (m *GetResetPasswordTokenRequest) GetTokenID() string { 1763 if m != nil { 1764 return m.TokenID 1765 } 1766 return "" 1767 } 1768 1769 // CreateResetPasswordTokenRequest is a request to create a reset password token. 1770 type CreateResetPasswordTokenRequest struct { 1771 // Name is the user name. 1772 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 1773 // Type is a token type. 1774 Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"type"` 1775 // TTL specifies how long the generated token is valid for. 1776 TTL Duration `protobuf:"varint,3,opt,name=TTL,proto3,casttype=Duration" json:"ttl"` 1777 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1778 XXX_unrecognized []byte `json:"-"` 1779 XXX_sizecache int32 `json:"-"` 1780 } 1781 1782 func (m *CreateResetPasswordTokenRequest) Reset() { *m = CreateResetPasswordTokenRequest{} } 1783 func (m *CreateResetPasswordTokenRequest) String() string { return proto.CompactTextString(m) } 1784 func (*CreateResetPasswordTokenRequest) ProtoMessage() {} 1785 func (*CreateResetPasswordTokenRequest) Descriptor() ([]byte, []int) { 1786 return fileDescriptor_0ffcffcda38ae159, []int{15} 1787 } 1788 func (m *CreateResetPasswordTokenRequest) XXX_Unmarshal(b []byte) error { 1789 return m.Unmarshal(b) 1790 } 1791 func (m *CreateResetPasswordTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1792 if deterministic { 1793 return xxx_messageInfo_CreateResetPasswordTokenRequest.Marshal(b, m, deterministic) 1794 } else { 1795 b = b[:cap(b)] 1796 n, err := m.MarshalToSizedBuffer(b) 1797 if err != nil { 1798 return nil, err 1799 } 1800 return b[:n], nil 1801 } 1802 } 1803 func (m *CreateResetPasswordTokenRequest) XXX_Merge(src proto.Message) { 1804 xxx_messageInfo_CreateResetPasswordTokenRequest.Merge(m, src) 1805 } 1806 func (m *CreateResetPasswordTokenRequest) XXX_Size() int { 1807 return m.Size() 1808 } 1809 func (m *CreateResetPasswordTokenRequest) XXX_DiscardUnknown() { 1810 xxx_messageInfo_CreateResetPasswordTokenRequest.DiscardUnknown(m) 1811 } 1812 1813 var xxx_messageInfo_CreateResetPasswordTokenRequest proto.InternalMessageInfo 1814 1815 func (m *CreateResetPasswordTokenRequest) GetName() string { 1816 if m != nil { 1817 return m.Name 1818 } 1819 return "" 1820 } 1821 1822 func (m *CreateResetPasswordTokenRequest) GetType() string { 1823 if m != nil { 1824 return m.Type 1825 } 1826 return "" 1827 } 1828 1829 func (m *CreateResetPasswordTokenRequest) GetTTL() Duration { 1830 if m != nil { 1831 return m.TTL 1832 } 1833 return 0 1834 } 1835 1836 // RenewableCertsRequest is a request to generate a first set of renewable 1837 // certificates from a bot join token. 1838 type RenewableCertsRequest struct { 1839 // Token is a bot join token. 1840 Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"token"` 1841 // PublicKey is a public key to be signed. 1842 PublicKey []byte `protobuf:"bytes,2,opt,name=PublicKey,proto3" json:"public_key"` 1843 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1844 XXX_unrecognized []byte `json:"-"` 1845 XXX_sizecache int32 `json:"-"` 1846 } 1847 1848 func (m *RenewableCertsRequest) Reset() { *m = RenewableCertsRequest{} } 1849 func (m *RenewableCertsRequest) String() string { return proto.CompactTextString(m) } 1850 func (*RenewableCertsRequest) ProtoMessage() {} 1851 func (*RenewableCertsRequest) Descriptor() ([]byte, []int) { 1852 return fileDescriptor_0ffcffcda38ae159, []int{16} 1853 } 1854 func (m *RenewableCertsRequest) XXX_Unmarshal(b []byte) error { 1855 return m.Unmarshal(b) 1856 } 1857 func (m *RenewableCertsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1858 if deterministic { 1859 return xxx_messageInfo_RenewableCertsRequest.Marshal(b, m, deterministic) 1860 } else { 1861 b = b[:cap(b)] 1862 n, err := m.MarshalToSizedBuffer(b) 1863 if err != nil { 1864 return nil, err 1865 } 1866 return b[:n], nil 1867 } 1868 } 1869 func (m *RenewableCertsRequest) XXX_Merge(src proto.Message) { 1870 xxx_messageInfo_RenewableCertsRequest.Merge(m, src) 1871 } 1872 func (m *RenewableCertsRequest) XXX_Size() int { 1873 return m.Size() 1874 } 1875 func (m *RenewableCertsRequest) XXX_DiscardUnknown() { 1876 xxx_messageInfo_RenewableCertsRequest.DiscardUnknown(m) 1877 } 1878 1879 var xxx_messageInfo_RenewableCertsRequest proto.InternalMessageInfo 1880 1881 func (m *RenewableCertsRequest) GetToken() string { 1882 if m != nil { 1883 return m.Token 1884 } 1885 return "" 1886 } 1887 1888 func (m *RenewableCertsRequest) GetPublicKey() []byte { 1889 if m != nil { 1890 return m.PublicKey 1891 } 1892 return nil 1893 } 1894 1895 // PingRequest is the input value for the Ping method. 1896 type PingRequest struct { 1897 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1898 XXX_unrecognized []byte `json:"-"` 1899 XXX_sizecache int32 `json:"-"` 1900 } 1901 1902 func (m *PingRequest) Reset() { *m = PingRequest{} } 1903 func (m *PingRequest) String() string { return proto.CompactTextString(m) } 1904 func (*PingRequest) ProtoMessage() {} 1905 func (*PingRequest) Descriptor() ([]byte, []int) { 1906 return fileDescriptor_0ffcffcda38ae159, []int{17} 1907 } 1908 func (m *PingRequest) XXX_Unmarshal(b []byte) error { 1909 return m.Unmarshal(b) 1910 } 1911 func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1912 if deterministic { 1913 return xxx_messageInfo_PingRequest.Marshal(b, m, deterministic) 1914 } else { 1915 b = b[:cap(b)] 1916 n, err := m.MarshalToSizedBuffer(b) 1917 if err != nil { 1918 return nil, err 1919 } 1920 return b[:n], nil 1921 } 1922 } 1923 func (m *PingRequest) XXX_Merge(src proto.Message) { 1924 xxx_messageInfo_PingRequest.Merge(m, src) 1925 } 1926 func (m *PingRequest) XXX_Size() int { 1927 return m.Size() 1928 } 1929 func (m *PingRequest) XXX_DiscardUnknown() { 1930 xxx_messageInfo_PingRequest.DiscardUnknown(m) 1931 } 1932 1933 var xxx_messageInfo_PingRequest proto.InternalMessageInfo 1934 1935 // PingResponse contains data about the teleport auth server. 1936 type PingResponse struct { 1937 // ClusterName is the name of the teleport cluster. 1938 ClusterName string `protobuf:"bytes,1,opt,name=ClusterName,proto3" json:"cluster_name"` 1939 // ServerVersion is the version of the auth server. 1940 ServerVersion string `protobuf:"bytes,2,opt,name=ServerVersion,proto3" json:"server_version"` 1941 // ServerFeatures are the features supported by the auth server. 1942 ServerFeatures *Features `protobuf:"bytes,3,opt,name=ServerFeatures,proto3" json:"server_features"` 1943 // ProxyPublicAddr is the server's public proxy address. 1944 ProxyPublicAddr string `protobuf:"bytes,4,opt,name=ProxyPublicAddr,proto3" json:"proxy_public_addr"` 1945 // IsBoring signals whether or not the server was compiled with BoringCrypto. 1946 IsBoring bool `protobuf:"varint,5,opt,name=IsBoring,proto3" json:"is_boring"` 1947 // RemoteAddr is the client peer addr as seen from the auth server (used to assist 1948 // instances in guessing their external IP when none is configured). 1949 RemoteAddr string `protobuf:"bytes,7,opt,name=RemoteAddr,proto3" json:"remote_addr"` 1950 // LoadAllCAs signals whether or not tsh should load all CAs when trying 1951 // to ssh into a node. 1952 LoadAllCAs bool `protobuf:"varint,8,opt,name=LoadAllCAs,proto3" json:"load_all_cas"` 1953 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1954 XXX_unrecognized []byte `json:"-"` 1955 XXX_sizecache int32 `json:"-"` 1956 } 1957 1958 func (m *PingResponse) Reset() { *m = PingResponse{} } 1959 func (m *PingResponse) String() string { return proto.CompactTextString(m) } 1960 func (*PingResponse) ProtoMessage() {} 1961 func (*PingResponse) Descriptor() ([]byte, []int) { 1962 return fileDescriptor_0ffcffcda38ae159, []int{18} 1963 } 1964 func (m *PingResponse) XXX_Unmarshal(b []byte) error { 1965 return m.Unmarshal(b) 1966 } 1967 func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1968 if deterministic { 1969 return xxx_messageInfo_PingResponse.Marshal(b, m, deterministic) 1970 } else { 1971 b = b[:cap(b)] 1972 n, err := m.MarshalToSizedBuffer(b) 1973 if err != nil { 1974 return nil, err 1975 } 1976 return b[:n], nil 1977 } 1978 } 1979 func (m *PingResponse) XXX_Merge(src proto.Message) { 1980 xxx_messageInfo_PingResponse.Merge(m, src) 1981 } 1982 func (m *PingResponse) XXX_Size() int { 1983 return m.Size() 1984 } 1985 func (m *PingResponse) XXX_DiscardUnknown() { 1986 xxx_messageInfo_PingResponse.DiscardUnknown(m) 1987 } 1988 1989 var xxx_messageInfo_PingResponse proto.InternalMessageInfo 1990 1991 func (m *PingResponse) GetClusterName() string { 1992 if m != nil { 1993 return m.ClusterName 1994 } 1995 return "" 1996 } 1997 1998 func (m *PingResponse) GetServerVersion() string { 1999 if m != nil { 2000 return m.ServerVersion 2001 } 2002 return "" 2003 } 2004 2005 func (m *PingResponse) GetServerFeatures() *Features { 2006 if m != nil { 2007 return m.ServerFeatures 2008 } 2009 return nil 2010 } 2011 2012 func (m *PingResponse) GetProxyPublicAddr() string { 2013 if m != nil { 2014 return m.ProxyPublicAddr 2015 } 2016 return "" 2017 } 2018 2019 func (m *PingResponse) GetIsBoring() bool { 2020 if m != nil { 2021 return m.IsBoring 2022 } 2023 return false 2024 } 2025 2026 func (m *PingResponse) GetRemoteAddr() string { 2027 if m != nil { 2028 return m.RemoteAddr 2029 } 2030 return "" 2031 } 2032 2033 func (m *PingResponse) GetLoadAllCAs() bool { 2034 if m != nil { 2035 return m.LoadAllCAs 2036 } 2037 return false 2038 } 2039 2040 // Features are auth server features. 2041 type Features struct { 2042 // Kubernetes enables Kubernetes Access product 2043 Kubernetes bool `protobuf:"varint,1,opt,name=Kubernetes,proto3" json:"kubernetes"` 2044 // App enables Application Access product 2045 App bool `protobuf:"varint,2,opt,name=App,proto3" json:"app"` 2046 // DB enables database access product 2047 DB bool `protobuf:"varint,3,opt,name=DB,proto3" json:"db"` 2048 // OIDC enables OIDC connectors 2049 OIDC bool `protobuf:"varint,4,opt,name=OIDC,proto3" json:"oidc"` 2050 // SAML enables SAML connectors 2051 SAML bool `protobuf:"varint,5,opt,name=SAML,proto3" json:"saml"` 2052 // AccessControls enables FIPS access controls 2053 AccessControls bool `protobuf:"varint,6,opt,name=AccessControls,proto3" json:"access_controls"` 2054 // Currently this flag is to gate actions from OSS clusters. 2055 // 2056 // Determining support for access request is currently determined by: 2057 // 1) Enterprise + [Features.IdentityGovernanceSecurity] == true, new flag 2058 // introduced with Enterprise Usage Based (EUB) product. 2059 // 2) Enterprise + [Features.IsUsageBasedBilling] == false, legacy support 2060 // where before EUB, it was unlimited. 2061 // 2062 // AdvancedAccessWorkflows is currently set to true for all 2063 // enterprise editions (team, cloud, on-prem). Historically, access request 2064 // was only available for enterprise cloud and enterprise on-prem. 2065 AdvancedAccessWorkflows bool `protobuf:"varint,7,opt,name=AdvancedAccessWorkflows,proto3" json:"advanced_access_workflows"` 2066 // Cloud enables some cloud-related features 2067 Cloud bool `protobuf:"varint,8,opt,name=Cloud,proto3" json:"cloud"` 2068 // HSM enables PKCS#11 HSM support 2069 HSM bool `protobuf:"varint,9,opt,name=HSM,proto3" json:"hsm"` 2070 // Desktop enables desktop access product 2071 Desktop bool `protobuf:"varint,10,opt,name=Desktop,proto3" json:"desktop"` 2072 // RecoveryCodes enables recovery codes 2073 RecoveryCodes bool `protobuf:"varint,14,opt,name=RecoveryCodes,proto3" json:"recovery_codes"` 2074 // Plugins enables hosted plugins 2075 Plugins bool `protobuf:"varint,15,opt,name=Plugins,proto3" json:"plugins"` 2076 // AutomaticUpgrades enables Automatic Upgrades for the agents/services. 2077 AutomaticUpgrades bool `protobuf:"varint,16,opt,name=AutomaticUpgrades,proto3" json:"automatic_upgrades"` 2078 // IsUsageBased enables some usage-based billing features 2079 IsUsageBased bool `protobuf:"varint,17,opt,name=IsUsageBased,proto3" json:"is_usage_based"` 2080 // Assist enables the Assistant feature 2081 Assist bool `protobuf:"varint,18,opt,name=Assist,proto3" json:"assist"` 2082 // DeviceTrust holds its namesake feature settings. 2083 DeviceTrust *DeviceTrustFeature `protobuf:"bytes,19,opt,name=DeviceTrust,proto3" json:"device_trust,omitempty"` 2084 // FeatureHiding enables hiding features from being discoverable for users who don't have the necessary permissions. 2085 FeatureHiding bool `protobuf:"varint,20,opt,name=FeatureHiding,proto3" json:"feature_hiding,omitempty"` 2086 // AccessRequests holds its namesake feature settings. 2087 AccessRequests *AccessRequestsFeature `protobuf:"bytes,21,opt,name=AccessRequests,proto3" json:"access_requests,omitempty"` 2088 // CustomTheme holds the name of WebUI custom theme. 2089 CustomTheme string `protobuf:"bytes,22,opt,name=CustomTheme,proto3" json:"custom_theme,omitempty"` 2090 // IdentityGovernance indicates whether IGS related features are enabled: 2091 // access list, access request, access monitoring, device trust. 2092 IdentityGovernance bool `protobuf:"varint,23,opt,name=IdentityGovernance,proto3" json:"identity_governance,omitempty"` 2093 // AccessGraph enables the usage of access graph. 2094 // NOTE: this is a legacy flag that is currently used to signal 2095 // that Access Graph integration is *enabled* on a cluster. 2096 // *Access* to the feature is gated on the `Policy` flag. 2097 // TODO(justinas): remove this field once "TAG enabled" status is moved to a resource in the backend. 2098 AccessGraph bool `protobuf:"varint,24,opt,name=AccessGraph,proto3" json:"access_graph,omitempty"` 2099 // AccessListFeature holds its namesake feature settings. 2100 AccessList *AccessListFeature `protobuf:"bytes,25,opt,name=AccessList,proto3" json:"access_list,omitempty"` 2101 // AccessMonitoringFeature holds its namesake feature settings. 2102 AccessMonitoring *AccessMonitoringFeature `protobuf:"bytes,26,opt,name=AccessMonitoring,proto3" json:"access_monitoring,omitempty"` 2103 // ProductType describes the product being used. 2104 ProductType ProductType `protobuf:"varint,27,opt,name=ProductType,proto3,enum=proto.ProductType" json:"product_type,omitempty"` 2105 // Policy enables the Teleport Policy feature set. 2106 // At the time of writing, this includes Teleport Access Graph (TAG). 2107 Policy *PolicyFeature `protobuf:"bytes,28,opt,name=Policy,proto3" json:"policy,omitempty"` 2108 // Questionnaire indicates whether cluster users should get an onboarding questionnaire 2109 Questionnaire bool `protobuf:"varint,29,opt,name=Questionnaire,proto3" json:"questionnaire,omitempty"` 2110 // IsStripeManaged indicates if the cluster billing is managed via Stripe 2111 IsStripeManaged bool `protobuf:"varint,30,opt,name=IsStripeManaged,proto3" json:"is_stripe_managed,omitempty"` 2112 // ExternalAuditStorage indicates whether the EAS feature is enabled in the cluster. 2113 ExternalAuditStorage bool `protobuf:"varint,31,opt,name=ExternalAuditStorage,proto3" json:"external_audit_storage,omitempty"` 2114 // SupportType indicates the type of the customer's support 2115 SupportType SupportType `protobuf:"varint,32,opt,name=SupportType,proto3,enum=proto.SupportType" json:"support_type,omitempty"` 2116 // JoinActiveSessions indicates whether joining active sessions via web UI is enabled 2117 JoinActiveSessions bool `protobuf:"varint,33,opt,name=JoinActiveSessions,proto3" json:"join_active_sessions,omitempty"` 2118 // MobileDeviceManagement indicates whether endpoint management (like Jamf Plugin) can be used in the cluster 2119 MobileDeviceManagement bool `protobuf:"varint,34,opt,name=MobileDeviceManagement,proto3" json:"mobile_device_management,omitempty"` 2120 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2121 XXX_unrecognized []byte `json:"-"` 2122 XXX_sizecache int32 `json:"-"` 2123 } 2124 2125 func (m *Features) Reset() { *m = Features{} } 2126 func (m *Features) String() string { return proto.CompactTextString(m) } 2127 func (*Features) ProtoMessage() {} 2128 func (*Features) Descriptor() ([]byte, []int) { 2129 return fileDescriptor_0ffcffcda38ae159, []int{19} 2130 } 2131 func (m *Features) XXX_Unmarshal(b []byte) error { 2132 return m.Unmarshal(b) 2133 } 2134 func (m *Features) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2135 if deterministic { 2136 return xxx_messageInfo_Features.Marshal(b, m, deterministic) 2137 } else { 2138 b = b[:cap(b)] 2139 n, err := m.MarshalToSizedBuffer(b) 2140 if err != nil { 2141 return nil, err 2142 } 2143 return b[:n], nil 2144 } 2145 } 2146 func (m *Features) XXX_Merge(src proto.Message) { 2147 xxx_messageInfo_Features.Merge(m, src) 2148 } 2149 func (m *Features) XXX_Size() int { 2150 return m.Size() 2151 } 2152 func (m *Features) XXX_DiscardUnknown() { 2153 xxx_messageInfo_Features.DiscardUnknown(m) 2154 } 2155 2156 var xxx_messageInfo_Features proto.InternalMessageInfo 2157 2158 func (m *Features) GetKubernetes() bool { 2159 if m != nil { 2160 return m.Kubernetes 2161 } 2162 return false 2163 } 2164 2165 func (m *Features) GetApp() bool { 2166 if m != nil { 2167 return m.App 2168 } 2169 return false 2170 } 2171 2172 func (m *Features) GetDB() bool { 2173 if m != nil { 2174 return m.DB 2175 } 2176 return false 2177 } 2178 2179 func (m *Features) GetOIDC() bool { 2180 if m != nil { 2181 return m.OIDC 2182 } 2183 return false 2184 } 2185 2186 func (m *Features) GetSAML() bool { 2187 if m != nil { 2188 return m.SAML 2189 } 2190 return false 2191 } 2192 2193 func (m *Features) GetAccessControls() bool { 2194 if m != nil { 2195 return m.AccessControls 2196 } 2197 return false 2198 } 2199 2200 func (m *Features) GetAdvancedAccessWorkflows() bool { 2201 if m != nil { 2202 return m.AdvancedAccessWorkflows 2203 } 2204 return false 2205 } 2206 2207 func (m *Features) GetCloud() bool { 2208 if m != nil { 2209 return m.Cloud 2210 } 2211 return false 2212 } 2213 2214 func (m *Features) GetHSM() bool { 2215 if m != nil { 2216 return m.HSM 2217 } 2218 return false 2219 } 2220 2221 func (m *Features) GetDesktop() bool { 2222 if m != nil { 2223 return m.Desktop 2224 } 2225 return false 2226 } 2227 2228 func (m *Features) GetRecoveryCodes() bool { 2229 if m != nil { 2230 return m.RecoveryCodes 2231 } 2232 return false 2233 } 2234 2235 func (m *Features) GetPlugins() bool { 2236 if m != nil { 2237 return m.Plugins 2238 } 2239 return false 2240 } 2241 2242 func (m *Features) GetAutomaticUpgrades() bool { 2243 if m != nil { 2244 return m.AutomaticUpgrades 2245 } 2246 return false 2247 } 2248 2249 func (m *Features) GetIsUsageBased() bool { 2250 if m != nil { 2251 return m.IsUsageBased 2252 } 2253 return false 2254 } 2255 2256 func (m *Features) GetAssist() bool { 2257 if m != nil { 2258 return m.Assist 2259 } 2260 return false 2261 } 2262 2263 func (m *Features) GetDeviceTrust() *DeviceTrustFeature { 2264 if m != nil { 2265 return m.DeviceTrust 2266 } 2267 return nil 2268 } 2269 2270 func (m *Features) GetFeatureHiding() bool { 2271 if m != nil { 2272 return m.FeatureHiding 2273 } 2274 return false 2275 } 2276 2277 func (m *Features) GetAccessRequests() *AccessRequestsFeature { 2278 if m != nil { 2279 return m.AccessRequests 2280 } 2281 return nil 2282 } 2283 2284 func (m *Features) GetCustomTheme() string { 2285 if m != nil { 2286 return m.CustomTheme 2287 } 2288 return "" 2289 } 2290 2291 func (m *Features) GetIdentityGovernance() bool { 2292 if m != nil { 2293 return m.IdentityGovernance 2294 } 2295 return false 2296 } 2297 2298 func (m *Features) GetAccessGraph() bool { 2299 if m != nil { 2300 return m.AccessGraph 2301 } 2302 return false 2303 } 2304 2305 func (m *Features) GetAccessList() *AccessListFeature { 2306 if m != nil { 2307 return m.AccessList 2308 } 2309 return nil 2310 } 2311 2312 func (m *Features) GetAccessMonitoring() *AccessMonitoringFeature { 2313 if m != nil { 2314 return m.AccessMonitoring 2315 } 2316 return nil 2317 } 2318 2319 func (m *Features) GetProductType() ProductType { 2320 if m != nil { 2321 return m.ProductType 2322 } 2323 return ProductType_PRODUCT_TYPE_UNKNOWN 2324 } 2325 2326 func (m *Features) GetPolicy() *PolicyFeature { 2327 if m != nil { 2328 return m.Policy 2329 } 2330 return nil 2331 } 2332 2333 func (m *Features) GetQuestionnaire() bool { 2334 if m != nil { 2335 return m.Questionnaire 2336 } 2337 return false 2338 } 2339 2340 func (m *Features) GetIsStripeManaged() bool { 2341 if m != nil { 2342 return m.IsStripeManaged 2343 } 2344 return false 2345 } 2346 2347 func (m *Features) GetExternalAuditStorage() bool { 2348 if m != nil { 2349 return m.ExternalAuditStorage 2350 } 2351 return false 2352 } 2353 2354 func (m *Features) GetSupportType() SupportType { 2355 if m != nil { 2356 return m.SupportType 2357 } 2358 return SupportType_SUPPORT_TYPE_UNSPECIFIED 2359 } 2360 2361 func (m *Features) GetJoinActiveSessions() bool { 2362 if m != nil { 2363 return m.JoinActiveSessions 2364 } 2365 return false 2366 } 2367 2368 func (m *Features) GetMobileDeviceManagement() bool { 2369 if m != nil { 2370 return m.MobileDeviceManagement 2371 } 2372 return false 2373 } 2374 2375 // DeviceTrustFeature holds the Device Trust feature general and usage-based 2376 // settings. 2377 // Limits have no affect if [Features.IdentityGovernance] is enabled. 2378 type DeviceTrustFeature struct { 2379 // Currently this flag is to gate actions from OSS clusters. 2380 // 2381 // Determining support for device trust is currently determined by: 2382 // 1) Enterprise + [Features.IdentityGovernanceSecurity] == true, new flag 2383 // introduced with Enterprise Usage Based (EUB) product. 2384 // 2) Enterprise + [Features.IsUsageBasedBilling] == false, legacy support 2385 // where before EUB, it was unlimited. 2386 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` 2387 // Usage-based limit for the number of registered/enrolled devices, at the 2388 // implementation's discretion. 2389 DevicesUsageLimit int32 `protobuf:"varint,2,opt,name=devices_usage_limit,json=devicesUsageLimit,proto3" json:"devices_usage_limit,omitempty"` 2390 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2391 XXX_unrecognized []byte `json:"-"` 2392 XXX_sizecache int32 `json:"-"` 2393 } 2394 2395 func (m *DeviceTrustFeature) Reset() { *m = DeviceTrustFeature{} } 2396 func (m *DeviceTrustFeature) String() string { return proto.CompactTextString(m) } 2397 func (*DeviceTrustFeature) ProtoMessage() {} 2398 func (*DeviceTrustFeature) Descriptor() ([]byte, []int) { 2399 return fileDescriptor_0ffcffcda38ae159, []int{20} 2400 } 2401 func (m *DeviceTrustFeature) XXX_Unmarshal(b []byte) error { 2402 return m.Unmarshal(b) 2403 } 2404 func (m *DeviceTrustFeature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2405 if deterministic { 2406 return xxx_messageInfo_DeviceTrustFeature.Marshal(b, m, deterministic) 2407 } else { 2408 b = b[:cap(b)] 2409 n, err := m.MarshalToSizedBuffer(b) 2410 if err != nil { 2411 return nil, err 2412 } 2413 return b[:n], nil 2414 } 2415 } 2416 func (m *DeviceTrustFeature) XXX_Merge(src proto.Message) { 2417 xxx_messageInfo_DeviceTrustFeature.Merge(m, src) 2418 } 2419 func (m *DeviceTrustFeature) XXX_Size() int { 2420 return m.Size() 2421 } 2422 func (m *DeviceTrustFeature) XXX_DiscardUnknown() { 2423 xxx_messageInfo_DeviceTrustFeature.DiscardUnknown(m) 2424 } 2425 2426 var xxx_messageInfo_DeviceTrustFeature proto.InternalMessageInfo 2427 2428 func (m *DeviceTrustFeature) GetEnabled() bool { 2429 if m != nil { 2430 return m.Enabled 2431 } 2432 return false 2433 } 2434 2435 func (m *DeviceTrustFeature) GetDevicesUsageLimit() int32 { 2436 if m != nil { 2437 return m.DevicesUsageLimit 2438 } 2439 return 0 2440 } 2441 2442 // AccessRequestsFeature holds the AccessRequest feature general and usage-based 2443 // settings. 2444 // Limits have no affect if [Features.IdentityGovernance] is enabled. 2445 type AccessRequestsFeature struct { 2446 // Usage-based limit for the number of limit for the number of 2447 // access requests created in a calendar month. 2448 MonthlyRequestLimit int32 `protobuf:"varint,1,opt,name=monthly_request_limit,json=monthlyRequestLimit,proto3" json:"monthly_request_limit"` 2449 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2450 XXX_unrecognized []byte `json:"-"` 2451 XXX_sizecache int32 `json:"-"` 2452 } 2453 2454 func (m *AccessRequestsFeature) Reset() { *m = AccessRequestsFeature{} } 2455 func (m *AccessRequestsFeature) String() string { return proto.CompactTextString(m) } 2456 func (*AccessRequestsFeature) ProtoMessage() {} 2457 func (*AccessRequestsFeature) Descriptor() ([]byte, []int) { 2458 return fileDescriptor_0ffcffcda38ae159, []int{21} 2459 } 2460 func (m *AccessRequestsFeature) XXX_Unmarshal(b []byte) error { 2461 return m.Unmarshal(b) 2462 } 2463 func (m *AccessRequestsFeature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2464 if deterministic { 2465 return xxx_messageInfo_AccessRequestsFeature.Marshal(b, m, deterministic) 2466 } else { 2467 b = b[:cap(b)] 2468 n, err := m.MarshalToSizedBuffer(b) 2469 if err != nil { 2470 return nil, err 2471 } 2472 return b[:n], nil 2473 } 2474 } 2475 func (m *AccessRequestsFeature) XXX_Merge(src proto.Message) { 2476 xxx_messageInfo_AccessRequestsFeature.Merge(m, src) 2477 } 2478 func (m *AccessRequestsFeature) XXX_Size() int { 2479 return m.Size() 2480 } 2481 func (m *AccessRequestsFeature) XXX_DiscardUnknown() { 2482 xxx_messageInfo_AccessRequestsFeature.DiscardUnknown(m) 2483 } 2484 2485 var xxx_messageInfo_AccessRequestsFeature proto.InternalMessageInfo 2486 2487 func (m *AccessRequestsFeature) GetMonthlyRequestLimit() int32 { 2488 if m != nil { 2489 return m.MonthlyRequestLimit 2490 } 2491 return 0 2492 } 2493 2494 // AccessListFeature holds the Access List feature settings. 2495 // Limits have no affect if [Features.IdentityGovernance] is enabled. 2496 type AccessListFeature struct { 2497 // Limit for the number of access list creatable when feature is 2498 // not enabled. 2499 CreateLimit int32 `protobuf:"varint,1,opt,name=create_limit,json=createLimit,proto3" json:"create_limit,omitempty"` 2500 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2501 XXX_unrecognized []byte `json:"-"` 2502 XXX_sizecache int32 `json:"-"` 2503 } 2504 2505 func (m *AccessListFeature) Reset() { *m = AccessListFeature{} } 2506 func (m *AccessListFeature) String() string { return proto.CompactTextString(m) } 2507 func (*AccessListFeature) ProtoMessage() {} 2508 func (*AccessListFeature) Descriptor() ([]byte, []int) { 2509 return fileDescriptor_0ffcffcda38ae159, []int{22} 2510 } 2511 func (m *AccessListFeature) XXX_Unmarshal(b []byte) error { 2512 return m.Unmarshal(b) 2513 } 2514 func (m *AccessListFeature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2515 if deterministic { 2516 return xxx_messageInfo_AccessListFeature.Marshal(b, m, deterministic) 2517 } else { 2518 b = b[:cap(b)] 2519 n, err := m.MarshalToSizedBuffer(b) 2520 if err != nil { 2521 return nil, err 2522 } 2523 return b[:n], nil 2524 } 2525 } 2526 func (m *AccessListFeature) XXX_Merge(src proto.Message) { 2527 xxx_messageInfo_AccessListFeature.Merge(m, src) 2528 } 2529 func (m *AccessListFeature) XXX_Size() int { 2530 return m.Size() 2531 } 2532 func (m *AccessListFeature) XXX_DiscardUnknown() { 2533 xxx_messageInfo_AccessListFeature.DiscardUnknown(m) 2534 } 2535 2536 var xxx_messageInfo_AccessListFeature proto.InternalMessageInfo 2537 2538 func (m *AccessListFeature) GetCreateLimit() int32 { 2539 if m != nil { 2540 return m.CreateLimit 2541 } 2542 return 0 2543 } 2544 2545 // AccessMonitoringFeature holds the Access Monitoring feature settings. 2546 // Limits have no affect if [Features.IdentityGovernance] is enabled. 2547 type AccessMonitoringFeature struct { 2548 // True if enabled in the auth service config: [auth_service.access_monitoring.enabled]. 2549 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` 2550 // Defines the max number of days to include in an access report. 2551 MaxReportRangeLimit int32 `protobuf:"varint,2,opt,name=max_report_range_limit,json=maxReportRangeLimit,proto3" json:"max_report_range_limit,omitempty"` 2552 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2553 XXX_unrecognized []byte `json:"-"` 2554 XXX_sizecache int32 `json:"-"` 2555 } 2556 2557 func (m *AccessMonitoringFeature) Reset() { *m = AccessMonitoringFeature{} } 2558 func (m *AccessMonitoringFeature) String() string { return proto.CompactTextString(m) } 2559 func (*AccessMonitoringFeature) ProtoMessage() {} 2560 func (*AccessMonitoringFeature) Descriptor() ([]byte, []int) { 2561 return fileDescriptor_0ffcffcda38ae159, []int{23} 2562 } 2563 func (m *AccessMonitoringFeature) XXX_Unmarshal(b []byte) error { 2564 return m.Unmarshal(b) 2565 } 2566 func (m *AccessMonitoringFeature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2567 if deterministic { 2568 return xxx_messageInfo_AccessMonitoringFeature.Marshal(b, m, deterministic) 2569 } else { 2570 b = b[:cap(b)] 2571 n, err := m.MarshalToSizedBuffer(b) 2572 if err != nil { 2573 return nil, err 2574 } 2575 return b[:n], nil 2576 } 2577 } 2578 func (m *AccessMonitoringFeature) XXX_Merge(src proto.Message) { 2579 xxx_messageInfo_AccessMonitoringFeature.Merge(m, src) 2580 } 2581 func (m *AccessMonitoringFeature) XXX_Size() int { 2582 return m.Size() 2583 } 2584 func (m *AccessMonitoringFeature) XXX_DiscardUnknown() { 2585 xxx_messageInfo_AccessMonitoringFeature.DiscardUnknown(m) 2586 } 2587 2588 var xxx_messageInfo_AccessMonitoringFeature proto.InternalMessageInfo 2589 2590 func (m *AccessMonitoringFeature) GetEnabled() bool { 2591 if m != nil { 2592 return m.Enabled 2593 } 2594 return false 2595 } 2596 2597 func (m *AccessMonitoringFeature) GetMaxReportRangeLimit() int32 { 2598 if m != nil { 2599 return m.MaxReportRangeLimit 2600 } 2601 return 0 2602 } 2603 2604 // PolicyFeature holds the Teleport Policy feature set settings. 2605 type PolicyFeature struct { 2606 // True if Teleport Policy is enabled in the license. 2607 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` 2608 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2609 XXX_unrecognized []byte `json:"-"` 2610 XXX_sizecache int32 `json:"-"` 2611 } 2612 2613 func (m *PolicyFeature) Reset() { *m = PolicyFeature{} } 2614 func (m *PolicyFeature) String() string { return proto.CompactTextString(m) } 2615 func (*PolicyFeature) ProtoMessage() {} 2616 func (*PolicyFeature) Descriptor() ([]byte, []int) { 2617 return fileDescriptor_0ffcffcda38ae159, []int{24} 2618 } 2619 func (m *PolicyFeature) XXX_Unmarshal(b []byte) error { 2620 return m.Unmarshal(b) 2621 } 2622 func (m *PolicyFeature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2623 if deterministic { 2624 return xxx_messageInfo_PolicyFeature.Marshal(b, m, deterministic) 2625 } else { 2626 b = b[:cap(b)] 2627 n, err := m.MarshalToSizedBuffer(b) 2628 if err != nil { 2629 return nil, err 2630 } 2631 return b[:n], nil 2632 } 2633 } 2634 func (m *PolicyFeature) XXX_Merge(src proto.Message) { 2635 xxx_messageInfo_PolicyFeature.Merge(m, src) 2636 } 2637 func (m *PolicyFeature) XXX_Size() int { 2638 return m.Size() 2639 } 2640 func (m *PolicyFeature) XXX_DiscardUnknown() { 2641 xxx_messageInfo_PolicyFeature.DiscardUnknown(m) 2642 } 2643 2644 var xxx_messageInfo_PolicyFeature proto.InternalMessageInfo 2645 2646 func (m *PolicyFeature) GetEnabled() bool { 2647 if m != nil { 2648 return m.Enabled 2649 } 2650 return false 2651 } 2652 2653 // DeleteUserRequest is the input value for the DeleteUser method. 2654 type DeleteUserRequest struct { 2655 // Name is the user name to delete. 2656 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 2657 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2658 XXX_unrecognized []byte `json:"-"` 2659 XXX_sizecache int32 `json:"-"` 2660 } 2661 2662 func (m *DeleteUserRequest) Reset() { *m = DeleteUserRequest{} } 2663 func (m *DeleteUserRequest) String() string { return proto.CompactTextString(m) } 2664 func (*DeleteUserRequest) ProtoMessage() {} 2665 func (*DeleteUserRequest) Descriptor() ([]byte, []int) { 2666 return fileDescriptor_0ffcffcda38ae159, []int{25} 2667 } 2668 func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error { 2669 return m.Unmarshal(b) 2670 } 2671 func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2672 if deterministic { 2673 return xxx_messageInfo_DeleteUserRequest.Marshal(b, m, deterministic) 2674 } else { 2675 b = b[:cap(b)] 2676 n, err := m.MarshalToSizedBuffer(b) 2677 if err != nil { 2678 return nil, err 2679 } 2680 return b[:n], nil 2681 } 2682 } 2683 func (m *DeleteUserRequest) XXX_Merge(src proto.Message) { 2684 xxx_messageInfo_DeleteUserRequest.Merge(m, src) 2685 } 2686 func (m *DeleteUserRequest) XXX_Size() int { 2687 return m.Size() 2688 } 2689 func (m *DeleteUserRequest) XXX_DiscardUnknown() { 2690 xxx_messageInfo_DeleteUserRequest.DiscardUnknown(m) 2691 } 2692 2693 var xxx_messageInfo_DeleteUserRequest proto.InternalMessageInfo 2694 2695 func (m *DeleteUserRequest) GetName() string { 2696 if m != nil { 2697 return m.Name 2698 } 2699 return "" 2700 } 2701 2702 // Semaphores is a sequence of Semaphore resources. 2703 type Semaphores struct { 2704 Semaphores []*types.SemaphoreV3 `protobuf:"bytes,1,rep,name=Semaphores,proto3" json:"semaphores"` 2705 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2706 XXX_unrecognized []byte `json:"-"` 2707 XXX_sizecache int32 `json:"-"` 2708 } 2709 2710 func (m *Semaphores) Reset() { *m = Semaphores{} } 2711 func (m *Semaphores) String() string { return proto.CompactTextString(m) } 2712 func (*Semaphores) ProtoMessage() {} 2713 func (*Semaphores) Descriptor() ([]byte, []int) { 2714 return fileDescriptor_0ffcffcda38ae159, []int{26} 2715 } 2716 func (m *Semaphores) XXX_Unmarshal(b []byte) error { 2717 return m.Unmarshal(b) 2718 } 2719 func (m *Semaphores) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2720 if deterministic { 2721 return xxx_messageInfo_Semaphores.Marshal(b, m, deterministic) 2722 } else { 2723 b = b[:cap(b)] 2724 n, err := m.MarshalToSizedBuffer(b) 2725 if err != nil { 2726 return nil, err 2727 } 2728 return b[:n], nil 2729 } 2730 } 2731 func (m *Semaphores) XXX_Merge(src proto.Message) { 2732 xxx_messageInfo_Semaphores.Merge(m, src) 2733 } 2734 func (m *Semaphores) XXX_Size() int { 2735 return m.Size() 2736 } 2737 func (m *Semaphores) XXX_DiscardUnknown() { 2738 xxx_messageInfo_Semaphores.DiscardUnknown(m) 2739 } 2740 2741 var xxx_messageInfo_Semaphores proto.InternalMessageInfo 2742 2743 func (m *Semaphores) GetSemaphores() []*types.SemaphoreV3 { 2744 if m != nil { 2745 return m.Semaphores 2746 } 2747 return nil 2748 } 2749 2750 // AuditStreamRequest contains stream request - event or stream control request 2751 type AuditStreamRequest struct { 2752 // Request is either stream request - create, resume or complete stream 2753 // or event submitted as a part of the stream 2754 // 2755 // Types that are valid to be assigned to Request: 2756 // *AuditStreamRequest_CreateStream 2757 // *AuditStreamRequest_ResumeStream 2758 // *AuditStreamRequest_CompleteStream 2759 // *AuditStreamRequest_FlushAndCloseStream 2760 // *AuditStreamRequest_Event 2761 Request isAuditStreamRequest_Request `protobuf_oneof:"Request"` 2762 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2763 XXX_unrecognized []byte `json:"-"` 2764 XXX_sizecache int32 `json:"-"` 2765 } 2766 2767 func (m *AuditStreamRequest) Reset() { *m = AuditStreamRequest{} } 2768 func (m *AuditStreamRequest) String() string { return proto.CompactTextString(m) } 2769 func (*AuditStreamRequest) ProtoMessage() {} 2770 func (*AuditStreamRequest) Descriptor() ([]byte, []int) { 2771 return fileDescriptor_0ffcffcda38ae159, []int{27} 2772 } 2773 func (m *AuditStreamRequest) XXX_Unmarshal(b []byte) error { 2774 return m.Unmarshal(b) 2775 } 2776 func (m *AuditStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2777 if deterministic { 2778 return xxx_messageInfo_AuditStreamRequest.Marshal(b, m, deterministic) 2779 } else { 2780 b = b[:cap(b)] 2781 n, err := m.MarshalToSizedBuffer(b) 2782 if err != nil { 2783 return nil, err 2784 } 2785 return b[:n], nil 2786 } 2787 } 2788 func (m *AuditStreamRequest) XXX_Merge(src proto.Message) { 2789 xxx_messageInfo_AuditStreamRequest.Merge(m, src) 2790 } 2791 func (m *AuditStreamRequest) XXX_Size() int { 2792 return m.Size() 2793 } 2794 func (m *AuditStreamRequest) XXX_DiscardUnknown() { 2795 xxx_messageInfo_AuditStreamRequest.DiscardUnknown(m) 2796 } 2797 2798 var xxx_messageInfo_AuditStreamRequest proto.InternalMessageInfo 2799 2800 type isAuditStreamRequest_Request interface { 2801 isAuditStreamRequest_Request() 2802 MarshalTo([]byte) (int, error) 2803 Size() int 2804 } 2805 2806 type AuditStreamRequest_CreateStream struct { 2807 CreateStream *CreateStream `protobuf:"bytes,1,opt,name=CreateStream,proto3,oneof" json:"CreateStream,omitempty"` 2808 } 2809 type AuditStreamRequest_ResumeStream struct { 2810 ResumeStream *ResumeStream `protobuf:"bytes,2,opt,name=ResumeStream,proto3,oneof" json:"ResumeStream,omitempty"` 2811 } 2812 type AuditStreamRequest_CompleteStream struct { 2813 CompleteStream *CompleteStream `protobuf:"bytes,3,opt,name=CompleteStream,proto3,oneof" json:"CompleteStream,omitempty"` 2814 } 2815 type AuditStreamRequest_FlushAndCloseStream struct { 2816 FlushAndCloseStream *FlushAndCloseStream `protobuf:"bytes,4,opt,name=FlushAndCloseStream,proto3,oneof" json:"FlushAndCloseStream,omitempty"` 2817 } 2818 type AuditStreamRequest_Event struct { 2819 Event *events.OneOf `protobuf:"bytes,5,opt,name=Event,proto3,oneof" json:"Event,omitempty"` 2820 } 2821 2822 func (*AuditStreamRequest_CreateStream) isAuditStreamRequest_Request() {} 2823 func (*AuditStreamRequest_ResumeStream) isAuditStreamRequest_Request() {} 2824 func (*AuditStreamRequest_CompleteStream) isAuditStreamRequest_Request() {} 2825 func (*AuditStreamRequest_FlushAndCloseStream) isAuditStreamRequest_Request() {} 2826 func (*AuditStreamRequest_Event) isAuditStreamRequest_Request() {} 2827 2828 func (m *AuditStreamRequest) GetRequest() isAuditStreamRequest_Request { 2829 if m != nil { 2830 return m.Request 2831 } 2832 return nil 2833 } 2834 2835 func (m *AuditStreamRequest) GetCreateStream() *CreateStream { 2836 if x, ok := m.GetRequest().(*AuditStreamRequest_CreateStream); ok { 2837 return x.CreateStream 2838 } 2839 return nil 2840 } 2841 2842 func (m *AuditStreamRequest) GetResumeStream() *ResumeStream { 2843 if x, ok := m.GetRequest().(*AuditStreamRequest_ResumeStream); ok { 2844 return x.ResumeStream 2845 } 2846 return nil 2847 } 2848 2849 func (m *AuditStreamRequest) GetCompleteStream() *CompleteStream { 2850 if x, ok := m.GetRequest().(*AuditStreamRequest_CompleteStream); ok { 2851 return x.CompleteStream 2852 } 2853 return nil 2854 } 2855 2856 func (m *AuditStreamRequest) GetFlushAndCloseStream() *FlushAndCloseStream { 2857 if x, ok := m.GetRequest().(*AuditStreamRequest_FlushAndCloseStream); ok { 2858 return x.FlushAndCloseStream 2859 } 2860 return nil 2861 } 2862 2863 func (m *AuditStreamRequest) GetEvent() *events.OneOf { 2864 if x, ok := m.GetRequest().(*AuditStreamRequest_Event); ok { 2865 return x.Event 2866 } 2867 return nil 2868 } 2869 2870 // XXX_OneofWrappers is for the internal use of the proto package. 2871 func (*AuditStreamRequest) XXX_OneofWrappers() []interface{} { 2872 return []interface{}{ 2873 (*AuditStreamRequest_CreateStream)(nil), 2874 (*AuditStreamRequest_ResumeStream)(nil), 2875 (*AuditStreamRequest_CompleteStream)(nil), 2876 (*AuditStreamRequest_FlushAndCloseStream)(nil), 2877 (*AuditStreamRequest_Event)(nil), 2878 } 2879 } 2880 2881 // AuditStreamStatus returns audit stream status 2882 // with corresponding upload ID 2883 type AuditStreamStatus struct { 2884 // UploadID is upload ID associated with the stream, 2885 // can be used to resume the stream 2886 UploadID string `protobuf:"bytes,1,opt,name=UploadID,proto3" json:"UploadID,omitempty"` 2887 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2888 XXX_unrecognized []byte `json:"-"` 2889 XXX_sizecache int32 `json:"-"` 2890 } 2891 2892 func (m *AuditStreamStatus) Reset() { *m = AuditStreamStatus{} } 2893 func (m *AuditStreamStatus) String() string { return proto.CompactTextString(m) } 2894 func (*AuditStreamStatus) ProtoMessage() {} 2895 func (*AuditStreamStatus) Descriptor() ([]byte, []int) { 2896 return fileDescriptor_0ffcffcda38ae159, []int{28} 2897 } 2898 func (m *AuditStreamStatus) XXX_Unmarshal(b []byte) error { 2899 return m.Unmarshal(b) 2900 } 2901 func (m *AuditStreamStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2902 if deterministic { 2903 return xxx_messageInfo_AuditStreamStatus.Marshal(b, m, deterministic) 2904 } else { 2905 b = b[:cap(b)] 2906 n, err := m.MarshalToSizedBuffer(b) 2907 if err != nil { 2908 return nil, err 2909 } 2910 return b[:n], nil 2911 } 2912 } 2913 func (m *AuditStreamStatus) XXX_Merge(src proto.Message) { 2914 xxx_messageInfo_AuditStreamStatus.Merge(m, src) 2915 } 2916 func (m *AuditStreamStatus) XXX_Size() int { 2917 return m.Size() 2918 } 2919 func (m *AuditStreamStatus) XXX_DiscardUnknown() { 2920 xxx_messageInfo_AuditStreamStatus.DiscardUnknown(m) 2921 } 2922 2923 var xxx_messageInfo_AuditStreamStatus proto.InternalMessageInfo 2924 2925 func (m *AuditStreamStatus) GetUploadID() string { 2926 if m != nil { 2927 return m.UploadID 2928 } 2929 return "" 2930 } 2931 2932 // CreateStream creates stream for a new session ID 2933 type CreateStream struct { 2934 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"SessionID,omitempty"` 2935 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2936 XXX_unrecognized []byte `json:"-"` 2937 XXX_sizecache int32 `json:"-"` 2938 } 2939 2940 func (m *CreateStream) Reset() { *m = CreateStream{} } 2941 func (m *CreateStream) String() string { return proto.CompactTextString(m) } 2942 func (*CreateStream) ProtoMessage() {} 2943 func (*CreateStream) Descriptor() ([]byte, []int) { 2944 return fileDescriptor_0ffcffcda38ae159, []int{29} 2945 } 2946 func (m *CreateStream) XXX_Unmarshal(b []byte) error { 2947 return m.Unmarshal(b) 2948 } 2949 func (m *CreateStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2950 if deterministic { 2951 return xxx_messageInfo_CreateStream.Marshal(b, m, deterministic) 2952 } else { 2953 b = b[:cap(b)] 2954 n, err := m.MarshalToSizedBuffer(b) 2955 if err != nil { 2956 return nil, err 2957 } 2958 return b[:n], nil 2959 } 2960 } 2961 func (m *CreateStream) XXX_Merge(src proto.Message) { 2962 xxx_messageInfo_CreateStream.Merge(m, src) 2963 } 2964 func (m *CreateStream) XXX_Size() int { 2965 return m.Size() 2966 } 2967 func (m *CreateStream) XXX_DiscardUnknown() { 2968 xxx_messageInfo_CreateStream.DiscardUnknown(m) 2969 } 2970 2971 var xxx_messageInfo_CreateStream proto.InternalMessageInfo 2972 2973 func (m *CreateStream) GetSessionID() string { 2974 if m != nil { 2975 return m.SessionID 2976 } 2977 return "" 2978 } 2979 2980 // ResumeStream resumes stream that was previously created 2981 type ResumeStream struct { 2982 // SessionID is a session ID of the stream 2983 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"SessionID,omitempty"` 2984 // UploadID is upload ID to resume 2985 UploadID string `protobuf:"bytes,2,opt,name=UploadID,proto3" json:"UploadID,omitempty"` 2986 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2987 XXX_unrecognized []byte `json:"-"` 2988 XXX_sizecache int32 `json:"-"` 2989 } 2990 2991 func (m *ResumeStream) Reset() { *m = ResumeStream{} } 2992 func (m *ResumeStream) String() string { return proto.CompactTextString(m) } 2993 func (*ResumeStream) ProtoMessage() {} 2994 func (*ResumeStream) Descriptor() ([]byte, []int) { 2995 return fileDescriptor_0ffcffcda38ae159, []int{30} 2996 } 2997 func (m *ResumeStream) XXX_Unmarshal(b []byte) error { 2998 return m.Unmarshal(b) 2999 } 3000 func (m *ResumeStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3001 if deterministic { 3002 return xxx_messageInfo_ResumeStream.Marshal(b, m, deterministic) 3003 } else { 3004 b = b[:cap(b)] 3005 n, err := m.MarshalToSizedBuffer(b) 3006 if err != nil { 3007 return nil, err 3008 } 3009 return b[:n], nil 3010 } 3011 } 3012 func (m *ResumeStream) XXX_Merge(src proto.Message) { 3013 xxx_messageInfo_ResumeStream.Merge(m, src) 3014 } 3015 func (m *ResumeStream) XXX_Size() int { 3016 return m.Size() 3017 } 3018 func (m *ResumeStream) XXX_DiscardUnknown() { 3019 xxx_messageInfo_ResumeStream.DiscardUnknown(m) 3020 } 3021 3022 var xxx_messageInfo_ResumeStream proto.InternalMessageInfo 3023 3024 func (m *ResumeStream) GetSessionID() string { 3025 if m != nil { 3026 return m.SessionID 3027 } 3028 return "" 3029 } 3030 3031 func (m *ResumeStream) GetUploadID() string { 3032 if m != nil { 3033 return m.UploadID 3034 } 3035 return "" 3036 } 3037 3038 // CompleteStream completes the stream 3039 // and uploads it to the session server 3040 type CompleteStream struct { 3041 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3042 XXX_unrecognized []byte `json:"-"` 3043 XXX_sizecache int32 `json:"-"` 3044 } 3045 3046 func (m *CompleteStream) Reset() { *m = CompleteStream{} } 3047 func (m *CompleteStream) String() string { return proto.CompactTextString(m) } 3048 func (*CompleteStream) ProtoMessage() {} 3049 func (*CompleteStream) Descriptor() ([]byte, []int) { 3050 return fileDescriptor_0ffcffcda38ae159, []int{31} 3051 } 3052 func (m *CompleteStream) XXX_Unmarshal(b []byte) error { 3053 return m.Unmarshal(b) 3054 } 3055 func (m *CompleteStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3056 if deterministic { 3057 return xxx_messageInfo_CompleteStream.Marshal(b, m, deterministic) 3058 } else { 3059 b = b[:cap(b)] 3060 n, err := m.MarshalToSizedBuffer(b) 3061 if err != nil { 3062 return nil, err 3063 } 3064 return b[:n], nil 3065 } 3066 } 3067 func (m *CompleteStream) XXX_Merge(src proto.Message) { 3068 xxx_messageInfo_CompleteStream.Merge(m, src) 3069 } 3070 func (m *CompleteStream) XXX_Size() int { 3071 return m.Size() 3072 } 3073 func (m *CompleteStream) XXX_DiscardUnknown() { 3074 xxx_messageInfo_CompleteStream.DiscardUnknown(m) 3075 } 3076 3077 var xxx_messageInfo_CompleteStream proto.InternalMessageInfo 3078 3079 // FlushAndCloseStream flushes the stream data and closes the stream 3080 type FlushAndCloseStream struct { 3081 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3082 XXX_unrecognized []byte `json:"-"` 3083 XXX_sizecache int32 `json:"-"` 3084 } 3085 3086 func (m *FlushAndCloseStream) Reset() { *m = FlushAndCloseStream{} } 3087 func (m *FlushAndCloseStream) String() string { return proto.CompactTextString(m) } 3088 func (*FlushAndCloseStream) ProtoMessage() {} 3089 func (*FlushAndCloseStream) Descriptor() ([]byte, []int) { 3090 return fileDescriptor_0ffcffcda38ae159, []int{32} 3091 } 3092 func (m *FlushAndCloseStream) XXX_Unmarshal(b []byte) error { 3093 return m.Unmarshal(b) 3094 } 3095 func (m *FlushAndCloseStream) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3096 if deterministic { 3097 return xxx_messageInfo_FlushAndCloseStream.Marshal(b, m, deterministic) 3098 } else { 3099 b = b[:cap(b)] 3100 n, err := m.MarshalToSizedBuffer(b) 3101 if err != nil { 3102 return nil, err 3103 } 3104 return b[:n], nil 3105 } 3106 } 3107 func (m *FlushAndCloseStream) XXX_Merge(src proto.Message) { 3108 xxx_messageInfo_FlushAndCloseStream.Merge(m, src) 3109 } 3110 func (m *FlushAndCloseStream) XXX_Size() int { 3111 return m.Size() 3112 } 3113 func (m *FlushAndCloseStream) XXX_DiscardUnknown() { 3114 xxx_messageInfo_FlushAndCloseStream.DiscardUnknown(m) 3115 } 3116 3117 var xxx_messageInfo_FlushAndCloseStream proto.InternalMessageInfo 3118 3119 // UpsertApplicationServerRequest upserts an app server. 3120 type UpsertApplicationServerRequest struct { 3121 // Server is an app server resource to register. 3122 Server *types.AppServerV3 `protobuf:"bytes,1,opt,name=Server,proto3" json:"server"` 3123 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3124 XXX_unrecognized []byte `json:"-"` 3125 XXX_sizecache int32 `json:"-"` 3126 } 3127 3128 func (m *UpsertApplicationServerRequest) Reset() { *m = UpsertApplicationServerRequest{} } 3129 func (m *UpsertApplicationServerRequest) String() string { return proto.CompactTextString(m) } 3130 func (*UpsertApplicationServerRequest) ProtoMessage() {} 3131 func (*UpsertApplicationServerRequest) Descriptor() ([]byte, []int) { 3132 return fileDescriptor_0ffcffcda38ae159, []int{33} 3133 } 3134 func (m *UpsertApplicationServerRequest) XXX_Unmarshal(b []byte) error { 3135 return m.Unmarshal(b) 3136 } 3137 func (m *UpsertApplicationServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3138 if deterministic { 3139 return xxx_messageInfo_UpsertApplicationServerRequest.Marshal(b, m, deterministic) 3140 } else { 3141 b = b[:cap(b)] 3142 n, err := m.MarshalToSizedBuffer(b) 3143 if err != nil { 3144 return nil, err 3145 } 3146 return b[:n], nil 3147 } 3148 } 3149 func (m *UpsertApplicationServerRequest) XXX_Merge(src proto.Message) { 3150 xxx_messageInfo_UpsertApplicationServerRequest.Merge(m, src) 3151 } 3152 func (m *UpsertApplicationServerRequest) XXX_Size() int { 3153 return m.Size() 3154 } 3155 func (m *UpsertApplicationServerRequest) XXX_DiscardUnknown() { 3156 xxx_messageInfo_UpsertApplicationServerRequest.DiscardUnknown(m) 3157 } 3158 3159 var xxx_messageInfo_UpsertApplicationServerRequest proto.InternalMessageInfo 3160 3161 func (m *UpsertApplicationServerRequest) GetServer() *types.AppServerV3 { 3162 if m != nil { 3163 return m.Server 3164 } 3165 return nil 3166 } 3167 3168 // DeleteApplicationServerRequest is a request to delete an app server. 3169 type DeleteApplicationServerRequest struct { 3170 // Namespace is the app server namespace. 3171 Namespace string `protobuf:"bytes,1,opt,name=Namespace,proto3" json:"namespace"` 3172 // HostID is the app server host uuid. 3173 HostID string `protobuf:"bytes,2,opt,name=HostID,proto3" json:"host_id"` 3174 // Name is the name of the application to delete. 3175 Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"name"` 3176 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3177 XXX_unrecognized []byte `json:"-"` 3178 XXX_sizecache int32 `json:"-"` 3179 } 3180 3181 func (m *DeleteApplicationServerRequest) Reset() { *m = DeleteApplicationServerRequest{} } 3182 func (m *DeleteApplicationServerRequest) String() string { return proto.CompactTextString(m) } 3183 func (*DeleteApplicationServerRequest) ProtoMessage() {} 3184 func (*DeleteApplicationServerRequest) Descriptor() ([]byte, []int) { 3185 return fileDescriptor_0ffcffcda38ae159, []int{34} 3186 } 3187 func (m *DeleteApplicationServerRequest) XXX_Unmarshal(b []byte) error { 3188 return m.Unmarshal(b) 3189 } 3190 func (m *DeleteApplicationServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3191 if deterministic { 3192 return xxx_messageInfo_DeleteApplicationServerRequest.Marshal(b, m, deterministic) 3193 } else { 3194 b = b[:cap(b)] 3195 n, err := m.MarshalToSizedBuffer(b) 3196 if err != nil { 3197 return nil, err 3198 } 3199 return b[:n], nil 3200 } 3201 } 3202 func (m *DeleteApplicationServerRequest) XXX_Merge(src proto.Message) { 3203 xxx_messageInfo_DeleteApplicationServerRequest.Merge(m, src) 3204 } 3205 func (m *DeleteApplicationServerRequest) XXX_Size() int { 3206 return m.Size() 3207 } 3208 func (m *DeleteApplicationServerRequest) XXX_DiscardUnknown() { 3209 xxx_messageInfo_DeleteApplicationServerRequest.DiscardUnknown(m) 3210 } 3211 3212 var xxx_messageInfo_DeleteApplicationServerRequest proto.InternalMessageInfo 3213 3214 func (m *DeleteApplicationServerRequest) GetNamespace() string { 3215 if m != nil { 3216 return m.Namespace 3217 } 3218 return "" 3219 } 3220 3221 func (m *DeleteApplicationServerRequest) GetHostID() string { 3222 if m != nil { 3223 return m.HostID 3224 } 3225 return "" 3226 } 3227 3228 func (m *DeleteApplicationServerRequest) GetName() string { 3229 if m != nil { 3230 return m.Name 3231 } 3232 return "" 3233 } 3234 3235 // DeleteAllApplicationServersRequest are the parameters used to remove all applications. 3236 type DeleteAllApplicationServersRequest struct { 3237 // Namespace is the app servers namespace. 3238 Namespace string `protobuf:"bytes,1,opt,name=Namespace,proto3" json:"namespace"` 3239 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3240 XXX_unrecognized []byte `json:"-"` 3241 XXX_sizecache int32 `json:"-"` 3242 } 3243 3244 func (m *DeleteAllApplicationServersRequest) Reset() { *m = DeleteAllApplicationServersRequest{} } 3245 func (m *DeleteAllApplicationServersRequest) String() string { return proto.CompactTextString(m) } 3246 func (*DeleteAllApplicationServersRequest) ProtoMessage() {} 3247 func (*DeleteAllApplicationServersRequest) Descriptor() ([]byte, []int) { 3248 return fileDescriptor_0ffcffcda38ae159, []int{35} 3249 } 3250 func (m *DeleteAllApplicationServersRequest) XXX_Unmarshal(b []byte) error { 3251 return m.Unmarshal(b) 3252 } 3253 func (m *DeleteAllApplicationServersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3254 if deterministic { 3255 return xxx_messageInfo_DeleteAllApplicationServersRequest.Marshal(b, m, deterministic) 3256 } else { 3257 b = b[:cap(b)] 3258 n, err := m.MarshalToSizedBuffer(b) 3259 if err != nil { 3260 return nil, err 3261 } 3262 return b[:n], nil 3263 } 3264 } 3265 func (m *DeleteAllApplicationServersRequest) XXX_Merge(src proto.Message) { 3266 xxx_messageInfo_DeleteAllApplicationServersRequest.Merge(m, src) 3267 } 3268 func (m *DeleteAllApplicationServersRequest) XXX_Size() int { 3269 return m.Size() 3270 } 3271 func (m *DeleteAllApplicationServersRequest) XXX_DiscardUnknown() { 3272 xxx_messageInfo_DeleteAllApplicationServersRequest.DiscardUnknown(m) 3273 } 3274 3275 var xxx_messageInfo_DeleteAllApplicationServersRequest proto.InternalMessageInfo 3276 3277 func (m *DeleteAllApplicationServersRequest) GetNamespace() string { 3278 if m != nil { 3279 return m.Namespace 3280 } 3281 return "" 3282 } 3283 3284 // GenerateAppTokenRequest are the parameters used to request an application 3285 // token. 3286 type GenerateAppTokenRequest struct { 3287 // Username is the Teleport username. 3288 Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"username"` 3289 // Roles is a list of Teleport roles assigned to the user. 3290 Roles []string `protobuf:"bytes,2,rep,name=Roles,proto3" json:"roles"` 3291 // URI is the URI of the application this token is targeting. 3292 URI string `protobuf:"bytes,3,opt,name=URI,proto3" json:"uri"` 3293 // Expires is the time this token expires. 3294 Expires time.Time `protobuf:"bytes,4,opt,name=Expires,proto3,stdtime" json:"expires"` 3295 // Traits are the traits assigned to the user within Teleport. 3296 Traits map[string]*wrappers.StringValues `protobuf:"bytes,5,rep,name=Traits,proto3" json:"traits" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 3297 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3298 XXX_unrecognized []byte `json:"-"` 3299 XXX_sizecache int32 `json:"-"` 3300 } 3301 3302 func (m *GenerateAppTokenRequest) Reset() { *m = GenerateAppTokenRequest{} } 3303 func (m *GenerateAppTokenRequest) String() string { return proto.CompactTextString(m) } 3304 func (*GenerateAppTokenRequest) ProtoMessage() {} 3305 func (*GenerateAppTokenRequest) Descriptor() ([]byte, []int) { 3306 return fileDescriptor_0ffcffcda38ae159, []int{36} 3307 } 3308 func (m *GenerateAppTokenRequest) XXX_Unmarshal(b []byte) error { 3309 return m.Unmarshal(b) 3310 } 3311 func (m *GenerateAppTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3312 if deterministic { 3313 return xxx_messageInfo_GenerateAppTokenRequest.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 *GenerateAppTokenRequest) XXX_Merge(src proto.Message) { 3324 xxx_messageInfo_GenerateAppTokenRequest.Merge(m, src) 3325 } 3326 func (m *GenerateAppTokenRequest) XXX_Size() int { 3327 return m.Size() 3328 } 3329 func (m *GenerateAppTokenRequest) XXX_DiscardUnknown() { 3330 xxx_messageInfo_GenerateAppTokenRequest.DiscardUnknown(m) 3331 } 3332 3333 var xxx_messageInfo_GenerateAppTokenRequest proto.InternalMessageInfo 3334 3335 func (m *GenerateAppTokenRequest) GetUsername() string { 3336 if m != nil { 3337 return m.Username 3338 } 3339 return "" 3340 } 3341 3342 func (m *GenerateAppTokenRequest) GetRoles() []string { 3343 if m != nil { 3344 return m.Roles 3345 } 3346 return nil 3347 } 3348 3349 func (m *GenerateAppTokenRequest) GetURI() string { 3350 if m != nil { 3351 return m.URI 3352 } 3353 return "" 3354 } 3355 3356 func (m *GenerateAppTokenRequest) GetExpires() time.Time { 3357 if m != nil { 3358 return m.Expires 3359 } 3360 return time.Time{} 3361 } 3362 3363 func (m *GenerateAppTokenRequest) GetTraits() map[string]*wrappers.StringValues { 3364 if m != nil { 3365 return m.Traits 3366 } 3367 return nil 3368 } 3369 3370 // GenerateAppTokenResponse contains a signed application token. 3371 type GenerateAppTokenResponse struct { 3372 Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"token"` 3373 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3374 XXX_unrecognized []byte `json:"-"` 3375 XXX_sizecache int32 `json:"-"` 3376 } 3377 3378 func (m *GenerateAppTokenResponse) Reset() { *m = GenerateAppTokenResponse{} } 3379 func (m *GenerateAppTokenResponse) String() string { return proto.CompactTextString(m) } 3380 func (*GenerateAppTokenResponse) ProtoMessage() {} 3381 func (*GenerateAppTokenResponse) Descriptor() ([]byte, []int) { 3382 return fileDescriptor_0ffcffcda38ae159, []int{37} 3383 } 3384 func (m *GenerateAppTokenResponse) XXX_Unmarshal(b []byte) error { 3385 return m.Unmarshal(b) 3386 } 3387 func (m *GenerateAppTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3388 if deterministic { 3389 return xxx_messageInfo_GenerateAppTokenResponse.Marshal(b, m, deterministic) 3390 } else { 3391 b = b[:cap(b)] 3392 n, err := m.MarshalToSizedBuffer(b) 3393 if err != nil { 3394 return nil, err 3395 } 3396 return b[:n], nil 3397 } 3398 } 3399 func (m *GenerateAppTokenResponse) XXX_Merge(src proto.Message) { 3400 xxx_messageInfo_GenerateAppTokenResponse.Merge(m, src) 3401 } 3402 func (m *GenerateAppTokenResponse) XXX_Size() int { 3403 return m.Size() 3404 } 3405 func (m *GenerateAppTokenResponse) XXX_DiscardUnknown() { 3406 xxx_messageInfo_GenerateAppTokenResponse.DiscardUnknown(m) 3407 } 3408 3409 var xxx_messageInfo_GenerateAppTokenResponse proto.InternalMessageInfo 3410 3411 func (m *GenerateAppTokenResponse) GetToken() string { 3412 if m != nil { 3413 return m.Token 3414 } 3415 return "" 3416 } 3417 3418 // GetAppSessionRequest are the parameters used to request an application web session. 3419 type GetAppSessionRequest struct { 3420 // SessionID is the ID of the session being requested. 3421 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"session_id"` 3422 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3423 XXX_unrecognized []byte `json:"-"` 3424 XXX_sizecache int32 `json:"-"` 3425 } 3426 3427 func (m *GetAppSessionRequest) Reset() { *m = GetAppSessionRequest{} } 3428 func (m *GetAppSessionRequest) String() string { return proto.CompactTextString(m) } 3429 func (*GetAppSessionRequest) ProtoMessage() {} 3430 func (*GetAppSessionRequest) Descriptor() ([]byte, []int) { 3431 return fileDescriptor_0ffcffcda38ae159, []int{38} 3432 } 3433 func (m *GetAppSessionRequest) XXX_Unmarshal(b []byte) error { 3434 return m.Unmarshal(b) 3435 } 3436 func (m *GetAppSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3437 if deterministic { 3438 return xxx_messageInfo_GetAppSessionRequest.Marshal(b, m, deterministic) 3439 } else { 3440 b = b[:cap(b)] 3441 n, err := m.MarshalToSizedBuffer(b) 3442 if err != nil { 3443 return nil, err 3444 } 3445 return b[:n], nil 3446 } 3447 } 3448 func (m *GetAppSessionRequest) XXX_Merge(src proto.Message) { 3449 xxx_messageInfo_GetAppSessionRequest.Merge(m, src) 3450 } 3451 func (m *GetAppSessionRequest) XXX_Size() int { 3452 return m.Size() 3453 } 3454 func (m *GetAppSessionRequest) XXX_DiscardUnknown() { 3455 xxx_messageInfo_GetAppSessionRequest.DiscardUnknown(m) 3456 } 3457 3458 var xxx_messageInfo_GetAppSessionRequest proto.InternalMessageInfo 3459 3460 func (m *GetAppSessionRequest) GetSessionID() string { 3461 if m != nil { 3462 return m.SessionID 3463 } 3464 return "" 3465 } 3466 3467 // GetAppSessionResponse contains the requested application web session. 3468 type GetAppSessionResponse struct { 3469 // Session is the application web session. 3470 Session *types.WebSessionV2 `protobuf:"bytes,1,opt,name=Session,proto3" json:"session"` 3471 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3472 XXX_unrecognized []byte `json:"-"` 3473 XXX_sizecache int32 `json:"-"` 3474 } 3475 3476 func (m *GetAppSessionResponse) Reset() { *m = GetAppSessionResponse{} } 3477 func (m *GetAppSessionResponse) String() string { return proto.CompactTextString(m) } 3478 func (*GetAppSessionResponse) ProtoMessage() {} 3479 func (*GetAppSessionResponse) Descriptor() ([]byte, []int) { 3480 return fileDescriptor_0ffcffcda38ae159, []int{39} 3481 } 3482 func (m *GetAppSessionResponse) XXX_Unmarshal(b []byte) error { 3483 return m.Unmarshal(b) 3484 } 3485 func (m *GetAppSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3486 if deterministic { 3487 return xxx_messageInfo_GetAppSessionResponse.Marshal(b, m, deterministic) 3488 } else { 3489 b = b[:cap(b)] 3490 n, err := m.MarshalToSizedBuffer(b) 3491 if err != nil { 3492 return nil, err 3493 } 3494 return b[:n], nil 3495 } 3496 } 3497 func (m *GetAppSessionResponse) XXX_Merge(src proto.Message) { 3498 xxx_messageInfo_GetAppSessionResponse.Merge(m, src) 3499 } 3500 func (m *GetAppSessionResponse) XXX_Size() int { 3501 return m.Size() 3502 } 3503 func (m *GetAppSessionResponse) XXX_DiscardUnknown() { 3504 xxx_messageInfo_GetAppSessionResponse.DiscardUnknown(m) 3505 } 3506 3507 var xxx_messageInfo_GetAppSessionResponse proto.InternalMessageInfo 3508 3509 func (m *GetAppSessionResponse) GetSession() *types.WebSessionV2 { 3510 if m != nil { 3511 return m.Session 3512 } 3513 return nil 3514 } 3515 3516 // ListAppSessionRequest are the parameters used to request an application web session. 3517 // 3518 // Follows the pagination semantics of 3519 // https://cloud.google.com/apis/design/standard_methods#list. 3520 type ListAppSessionsRequest struct { 3521 // The maximum number of items to return. 3522 // The server may impose a different page size at its discretion. 3523 PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 3524 // The next_page_token value returned from a previous List request, if any. 3525 PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 3526 // Optional username which will filter the returned web sessions 3527 // to include only those for the given user. 3528 User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` 3529 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3530 XXX_unrecognized []byte `json:"-"` 3531 XXX_sizecache int32 `json:"-"` 3532 } 3533 3534 func (m *ListAppSessionsRequest) Reset() { *m = ListAppSessionsRequest{} } 3535 func (m *ListAppSessionsRequest) String() string { return proto.CompactTextString(m) } 3536 func (*ListAppSessionsRequest) ProtoMessage() {} 3537 func (*ListAppSessionsRequest) Descriptor() ([]byte, []int) { 3538 return fileDescriptor_0ffcffcda38ae159, []int{40} 3539 } 3540 func (m *ListAppSessionsRequest) XXX_Unmarshal(b []byte) error { 3541 return m.Unmarshal(b) 3542 } 3543 func (m *ListAppSessionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3544 if deterministic { 3545 return xxx_messageInfo_ListAppSessionsRequest.Marshal(b, m, deterministic) 3546 } else { 3547 b = b[:cap(b)] 3548 n, err := m.MarshalToSizedBuffer(b) 3549 if err != nil { 3550 return nil, err 3551 } 3552 return b[:n], nil 3553 } 3554 } 3555 func (m *ListAppSessionsRequest) XXX_Merge(src proto.Message) { 3556 xxx_messageInfo_ListAppSessionsRequest.Merge(m, src) 3557 } 3558 func (m *ListAppSessionsRequest) XXX_Size() int { 3559 return m.Size() 3560 } 3561 func (m *ListAppSessionsRequest) XXX_DiscardUnknown() { 3562 xxx_messageInfo_ListAppSessionsRequest.DiscardUnknown(m) 3563 } 3564 3565 var xxx_messageInfo_ListAppSessionsRequest proto.InternalMessageInfo 3566 3567 func (m *ListAppSessionsRequest) GetPageSize() int32 { 3568 if m != nil { 3569 return m.PageSize 3570 } 3571 return 0 3572 } 3573 3574 func (m *ListAppSessionsRequest) GetPageToken() string { 3575 if m != nil { 3576 return m.PageToken 3577 } 3578 return "" 3579 } 3580 3581 func (m *ListAppSessionsRequest) GetUser() string { 3582 if m != nil { 3583 return m.User 3584 } 3585 return "" 3586 } 3587 3588 // ListAppSessionResponse contains the requested application web session. 3589 type ListAppSessionsResponse struct { 3590 // Sessions for the retrieved page. 3591 Sessions []*types.WebSessionV2 `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"` 3592 // Token to retrieve the next page of results, or empty if there are no 3593 // more results in the list. 3594 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 3595 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3596 XXX_unrecognized []byte `json:"-"` 3597 XXX_sizecache int32 `json:"-"` 3598 } 3599 3600 func (m *ListAppSessionsResponse) Reset() { *m = ListAppSessionsResponse{} } 3601 func (m *ListAppSessionsResponse) String() string { return proto.CompactTextString(m) } 3602 func (*ListAppSessionsResponse) ProtoMessage() {} 3603 func (*ListAppSessionsResponse) Descriptor() ([]byte, []int) { 3604 return fileDescriptor_0ffcffcda38ae159, []int{41} 3605 } 3606 func (m *ListAppSessionsResponse) XXX_Unmarshal(b []byte) error { 3607 return m.Unmarshal(b) 3608 } 3609 func (m *ListAppSessionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3610 if deterministic { 3611 return xxx_messageInfo_ListAppSessionsResponse.Marshal(b, m, deterministic) 3612 } else { 3613 b = b[:cap(b)] 3614 n, err := m.MarshalToSizedBuffer(b) 3615 if err != nil { 3616 return nil, err 3617 } 3618 return b[:n], nil 3619 } 3620 } 3621 func (m *ListAppSessionsResponse) XXX_Merge(src proto.Message) { 3622 xxx_messageInfo_ListAppSessionsResponse.Merge(m, src) 3623 } 3624 func (m *ListAppSessionsResponse) XXX_Size() int { 3625 return m.Size() 3626 } 3627 func (m *ListAppSessionsResponse) XXX_DiscardUnknown() { 3628 xxx_messageInfo_ListAppSessionsResponse.DiscardUnknown(m) 3629 } 3630 3631 var xxx_messageInfo_ListAppSessionsResponse proto.InternalMessageInfo 3632 3633 func (m *ListAppSessionsResponse) GetSessions() []*types.WebSessionV2 { 3634 if m != nil { 3635 return m.Sessions 3636 } 3637 return nil 3638 } 3639 3640 func (m *ListAppSessionsResponse) GetNextPageToken() string { 3641 if m != nil { 3642 return m.NextPageToken 3643 } 3644 return "" 3645 } 3646 3647 // GetSnowflakeSessionsResponse contains all the requested Snowflake web sessions. 3648 type GetSnowflakeSessionsResponse struct { 3649 // Sessions is a list of Snowflake web sessions. 3650 Sessions []*types.WebSessionV2 `protobuf:"bytes,1,rep,name=Sessions,proto3" json:"sessions"` 3651 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3652 XXX_unrecognized []byte `json:"-"` 3653 XXX_sizecache int32 `json:"-"` 3654 } 3655 3656 func (m *GetSnowflakeSessionsResponse) Reset() { *m = GetSnowflakeSessionsResponse{} } 3657 func (m *GetSnowflakeSessionsResponse) String() string { return proto.CompactTextString(m) } 3658 func (*GetSnowflakeSessionsResponse) ProtoMessage() {} 3659 func (*GetSnowflakeSessionsResponse) Descriptor() ([]byte, []int) { 3660 return fileDescriptor_0ffcffcda38ae159, []int{42} 3661 } 3662 func (m *GetSnowflakeSessionsResponse) XXX_Unmarshal(b []byte) error { 3663 return m.Unmarshal(b) 3664 } 3665 func (m *GetSnowflakeSessionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3666 if deterministic { 3667 return xxx_messageInfo_GetSnowflakeSessionsResponse.Marshal(b, m, deterministic) 3668 } else { 3669 b = b[:cap(b)] 3670 n, err := m.MarshalToSizedBuffer(b) 3671 if err != nil { 3672 return nil, err 3673 } 3674 return b[:n], nil 3675 } 3676 } 3677 func (m *GetSnowflakeSessionsResponse) XXX_Merge(src proto.Message) { 3678 xxx_messageInfo_GetSnowflakeSessionsResponse.Merge(m, src) 3679 } 3680 func (m *GetSnowflakeSessionsResponse) XXX_Size() int { 3681 return m.Size() 3682 } 3683 func (m *GetSnowflakeSessionsResponse) XXX_DiscardUnknown() { 3684 xxx_messageInfo_GetSnowflakeSessionsResponse.DiscardUnknown(m) 3685 } 3686 3687 var xxx_messageInfo_GetSnowflakeSessionsResponse proto.InternalMessageInfo 3688 3689 func (m *GetSnowflakeSessionsResponse) GetSessions() []*types.WebSessionV2 { 3690 if m != nil { 3691 return m.Sessions 3692 } 3693 return nil 3694 } 3695 3696 // ListSAMLIdPSessionRequest are the parameters used to request a SAML IdP sessions. 3697 // 3698 // Follows the pagination semantics of 3699 // https://cloud.google.com/apis/design/standard_methods#list. 3700 type ListSAMLIdPSessionsRequest struct { 3701 // The maximum number of items to return. 3702 // The server may impose a different page size at its discretion. 3703 PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 3704 // The next_page_token value returned from a previous List request, if any. 3705 PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 3706 // Optional username which will filter the returned SAML IdP sessions 3707 // to include only those for the given user. 3708 User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` 3709 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3710 XXX_unrecognized []byte `json:"-"` 3711 XXX_sizecache int32 `json:"-"` 3712 } 3713 3714 func (m *ListSAMLIdPSessionsRequest) Reset() { *m = ListSAMLIdPSessionsRequest{} } 3715 func (m *ListSAMLIdPSessionsRequest) String() string { return proto.CompactTextString(m) } 3716 func (*ListSAMLIdPSessionsRequest) ProtoMessage() {} 3717 func (*ListSAMLIdPSessionsRequest) Descriptor() ([]byte, []int) { 3718 return fileDescriptor_0ffcffcda38ae159, []int{43} 3719 } 3720 func (m *ListSAMLIdPSessionsRequest) XXX_Unmarshal(b []byte) error { 3721 return m.Unmarshal(b) 3722 } 3723 func (m *ListSAMLIdPSessionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3724 if deterministic { 3725 return xxx_messageInfo_ListSAMLIdPSessionsRequest.Marshal(b, m, deterministic) 3726 } else { 3727 b = b[:cap(b)] 3728 n, err := m.MarshalToSizedBuffer(b) 3729 if err != nil { 3730 return nil, err 3731 } 3732 return b[:n], nil 3733 } 3734 } 3735 func (m *ListSAMLIdPSessionsRequest) XXX_Merge(src proto.Message) { 3736 xxx_messageInfo_ListSAMLIdPSessionsRequest.Merge(m, src) 3737 } 3738 func (m *ListSAMLIdPSessionsRequest) XXX_Size() int { 3739 return m.Size() 3740 } 3741 func (m *ListSAMLIdPSessionsRequest) XXX_DiscardUnknown() { 3742 xxx_messageInfo_ListSAMLIdPSessionsRequest.DiscardUnknown(m) 3743 } 3744 3745 var xxx_messageInfo_ListSAMLIdPSessionsRequest proto.InternalMessageInfo 3746 3747 func (m *ListSAMLIdPSessionsRequest) GetPageSize() int32 { 3748 if m != nil { 3749 return m.PageSize 3750 } 3751 return 0 3752 } 3753 3754 func (m *ListSAMLIdPSessionsRequest) GetPageToken() string { 3755 if m != nil { 3756 return m.PageToken 3757 } 3758 return "" 3759 } 3760 3761 func (m *ListSAMLIdPSessionsRequest) GetUser() string { 3762 if m != nil { 3763 return m.User 3764 } 3765 return "" 3766 } 3767 3768 // ListSAMLIdPSessionsResponse contains all the requested SAML IdP sessions. 3769 type ListSAMLIdPSessionsResponse struct { 3770 // Sessions for the retrieved page. 3771 Sessions []*types.WebSessionV2 `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"` 3772 // Token to retrieve the next page of results, or empty if there are no 3773 // more results in the list. 3774 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 3775 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3776 XXX_unrecognized []byte `json:"-"` 3777 XXX_sizecache int32 `json:"-"` 3778 } 3779 3780 func (m *ListSAMLIdPSessionsResponse) Reset() { *m = ListSAMLIdPSessionsResponse{} } 3781 func (m *ListSAMLIdPSessionsResponse) String() string { return proto.CompactTextString(m) } 3782 func (*ListSAMLIdPSessionsResponse) ProtoMessage() {} 3783 func (*ListSAMLIdPSessionsResponse) Descriptor() ([]byte, []int) { 3784 return fileDescriptor_0ffcffcda38ae159, []int{44} 3785 } 3786 func (m *ListSAMLIdPSessionsResponse) XXX_Unmarshal(b []byte) error { 3787 return m.Unmarshal(b) 3788 } 3789 func (m *ListSAMLIdPSessionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3790 if deterministic { 3791 return xxx_messageInfo_ListSAMLIdPSessionsResponse.Marshal(b, m, deterministic) 3792 } else { 3793 b = b[:cap(b)] 3794 n, err := m.MarshalToSizedBuffer(b) 3795 if err != nil { 3796 return nil, err 3797 } 3798 return b[:n], nil 3799 } 3800 } 3801 func (m *ListSAMLIdPSessionsResponse) XXX_Merge(src proto.Message) { 3802 xxx_messageInfo_ListSAMLIdPSessionsResponse.Merge(m, src) 3803 } 3804 func (m *ListSAMLIdPSessionsResponse) XXX_Size() int { 3805 return m.Size() 3806 } 3807 func (m *ListSAMLIdPSessionsResponse) XXX_DiscardUnknown() { 3808 xxx_messageInfo_ListSAMLIdPSessionsResponse.DiscardUnknown(m) 3809 } 3810 3811 var xxx_messageInfo_ListSAMLIdPSessionsResponse proto.InternalMessageInfo 3812 3813 func (m *ListSAMLIdPSessionsResponse) GetSessions() []*types.WebSessionV2 { 3814 if m != nil { 3815 return m.Sessions 3816 } 3817 return nil 3818 } 3819 3820 func (m *ListSAMLIdPSessionsResponse) GetNextPageToken() string { 3821 if m != nil { 3822 return m.NextPageToken 3823 } 3824 return "" 3825 } 3826 3827 // CreateAppSessionRequest contains the parameters to request a application web session. 3828 type CreateAppSessionRequest struct { 3829 // Username is the name of the user requesting the session. 3830 Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"username"` 3831 // PublicAddr is the public address the application. 3832 PublicAddr string `protobuf:"bytes,3,opt,name=PublicAddr,proto3" json:"public_addr"` 3833 // ClusterName is cluster within which the application is running. 3834 ClusterName string `protobuf:"bytes,4,opt,name=ClusterName,proto3" json:"cluster_name"` 3835 // AWSRoleARN is AWS role the user wants to assume. 3836 AWSRoleARN string `protobuf:"bytes,5,opt,name=AWSRoleARN,proto3" json:"aws_role_arn"` 3837 // AzureIdentity is Azure identity the user wants to assume. 3838 AzureIdentity string `protobuf:"bytes,6,opt,name=AzureIdentity,proto3" json:"azure_identity"` 3839 // GCPServiceAccount is the GCP service account the user wants to assume. 3840 GCPServiceAccount string `protobuf:"bytes,7,opt,name=GCPServiceAccount,proto3" json:"gcp_service_account"` 3841 // MFAResponse is a response to a challenge from a user's MFA device. 3842 // An optional field, that when provided, the response will be validated and 3843 // the ID of the validated MFA device will be stored in session's certificate. 3844 MFAResponse *MFAAuthenticateResponse `protobuf:"bytes,8,opt,name=MFAResponse,proto3" json:"mfa_response,omitempty"` 3845 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3846 XXX_unrecognized []byte `json:"-"` 3847 XXX_sizecache int32 `json:"-"` 3848 } 3849 3850 func (m *CreateAppSessionRequest) Reset() { *m = CreateAppSessionRequest{} } 3851 func (m *CreateAppSessionRequest) String() string { return proto.CompactTextString(m) } 3852 func (*CreateAppSessionRequest) ProtoMessage() {} 3853 func (*CreateAppSessionRequest) Descriptor() ([]byte, []int) { 3854 return fileDescriptor_0ffcffcda38ae159, []int{45} 3855 } 3856 func (m *CreateAppSessionRequest) XXX_Unmarshal(b []byte) error { 3857 return m.Unmarshal(b) 3858 } 3859 func (m *CreateAppSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3860 if deterministic { 3861 return xxx_messageInfo_CreateAppSessionRequest.Marshal(b, m, deterministic) 3862 } else { 3863 b = b[:cap(b)] 3864 n, err := m.MarshalToSizedBuffer(b) 3865 if err != nil { 3866 return nil, err 3867 } 3868 return b[:n], nil 3869 } 3870 } 3871 func (m *CreateAppSessionRequest) XXX_Merge(src proto.Message) { 3872 xxx_messageInfo_CreateAppSessionRequest.Merge(m, src) 3873 } 3874 func (m *CreateAppSessionRequest) XXX_Size() int { 3875 return m.Size() 3876 } 3877 func (m *CreateAppSessionRequest) XXX_DiscardUnknown() { 3878 xxx_messageInfo_CreateAppSessionRequest.DiscardUnknown(m) 3879 } 3880 3881 var xxx_messageInfo_CreateAppSessionRequest proto.InternalMessageInfo 3882 3883 func (m *CreateAppSessionRequest) GetUsername() string { 3884 if m != nil { 3885 return m.Username 3886 } 3887 return "" 3888 } 3889 3890 func (m *CreateAppSessionRequest) GetPublicAddr() string { 3891 if m != nil { 3892 return m.PublicAddr 3893 } 3894 return "" 3895 } 3896 3897 func (m *CreateAppSessionRequest) GetClusterName() string { 3898 if m != nil { 3899 return m.ClusterName 3900 } 3901 return "" 3902 } 3903 3904 func (m *CreateAppSessionRequest) GetAWSRoleARN() string { 3905 if m != nil { 3906 return m.AWSRoleARN 3907 } 3908 return "" 3909 } 3910 3911 func (m *CreateAppSessionRequest) GetAzureIdentity() string { 3912 if m != nil { 3913 return m.AzureIdentity 3914 } 3915 return "" 3916 } 3917 3918 func (m *CreateAppSessionRequest) GetGCPServiceAccount() string { 3919 if m != nil { 3920 return m.GCPServiceAccount 3921 } 3922 return "" 3923 } 3924 3925 func (m *CreateAppSessionRequest) GetMFAResponse() *MFAAuthenticateResponse { 3926 if m != nil { 3927 return m.MFAResponse 3928 } 3929 return nil 3930 } 3931 3932 // CreateAppSessionResponse contains the requested application web session. 3933 type CreateAppSessionResponse struct { 3934 // Session is the application web session. 3935 Session *types.WebSessionV2 `protobuf:"bytes,1,opt,name=Session,proto3" json:"session"` 3936 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3937 XXX_unrecognized []byte `json:"-"` 3938 XXX_sizecache int32 `json:"-"` 3939 } 3940 3941 func (m *CreateAppSessionResponse) Reset() { *m = CreateAppSessionResponse{} } 3942 func (m *CreateAppSessionResponse) String() string { return proto.CompactTextString(m) } 3943 func (*CreateAppSessionResponse) ProtoMessage() {} 3944 func (*CreateAppSessionResponse) Descriptor() ([]byte, []int) { 3945 return fileDescriptor_0ffcffcda38ae159, []int{46} 3946 } 3947 func (m *CreateAppSessionResponse) XXX_Unmarshal(b []byte) error { 3948 return m.Unmarshal(b) 3949 } 3950 func (m *CreateAppSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3951 if deterministic { 3952 return xxx_messageInfo_CreateAppSessionResponse.Marshal(b, m, deterministic) 3953 } else { 3954 b = b[:cap(b)] 3955 n, err := m.MarshalToSizedBuffer(b) 3956 if err != nil { 3957 return nil, err 3958 } 3959 return b[:n], nil 3960 } 3961 } 3962 func (m *CreateAppSessionResponse) XXX_Merge(src proto.Message) { 3963 xxx_messageInfo_CreateAppSessionResponse.Merge(m, src) 3964 } 3965 func (m *CreateAppSessionResponse) XXX_Size() int { 3966 return m.Size() 3967 } 3968 func (m *CreateAppSessionResponse) XXX_DiscardUnknown() { 3969 xxx_messageInfo_CreateAppSessionResponse.DiscardUnknown(m) 3970 } 3971 3972 var xxx_messageInfo_CreateAppSessionResponse proto.InternalMessageInfo 3973 3974 func (m *CreateAppSessionResponse) GetSession() *types.WebSessionV2 { 3975 if m != nil { 3976 return m.Session 3977 } 3978 return nil 3979 } 3980 3981 // CreateSnowflakeSessionRequest contains data required to create Snowflake web session. 3982 type CreateSnowflakeSessionRequest struct { 3983 // Username is the name of the user requesting the session. 3984 Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"username"` 3985 // SessionToken is the Snowflake server session token. 3986 SessionToken string `protobuf:"bytes,2,opt,name=SessionToken,proto3" json:"session_token"` 3987 // TokenTTL is the token validity period. 3988 TokenTTL Duration `protobuf:"varint,3,opt,name=TokenTTL,proto3,casttype=Duration" json:"token_ttl"` 3989 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3990 XXX_unrecognized []byte `json:"-"` 3991 XXX_sizecache int32 `json:"-"` 3992 } 3993 3994 func (m *CreateSnowflakeSessionRequest) Reset() { *m = CreateSnowflakeSessionRequest{} } 3995 func (m *CreateSnowflakeSessionRequest) String() string { return proto.CompactTextString(m) } 3996 func (*CreateSnowflakeSessionRequest) ProtoMessage() {} 3997 func (*CreateSnowflakeSessionRequest) Descriptor() ([]byte, []int) { 3998 return fileDescriptor_0ffcffcda38ae159, []int{47} 3999 } 4000 func (m *CreateSnowflakeSessionRequest) XXX_Unmarshal(b []byte) error { 4001 return m.Unmarshal(b) 4002 } 4003 func (m *CreateSnowflakeSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4004 if deterministic { 4005 return xxx_messageInfo_CreateSnowflakeSessionRequest.Marshal(b, m, deterministic) 4006 } else { 4007 b = b[:cap(b)] 4008 n, err := m.MarshalToSizedBuffer(b) 4009 if err != nil { 4010 return nil, err 4011 } 4012 return b[:n], nil 4013 } 4014 } 4015 func (m *CreateSnowflakeSessionRequest) XXX_Merge(src proto.Message) { 4016 xxx_messageInfo_CreateSnowflakeSessionRequest.Merge(m, src) 4017 } 4018 func (m *CreateSnowflakeSessionRequest) XXX_Size() int { 4019 return m.Size() 4020 } 4021 func (m *CreateSnowflakeSessionRequest) XXX_DiscardUnknown() { 4022 xxx_messageInfo_CreateSnowflakeSessionRequest.DiscardUnknown(m) 4023 } 4024 4025 var xxx_messageInfo_CreateSnowflakeSessionRequest proto.InternalMessageInfo 4026 4027 func (m *CreateSnowflakeSessionRequest) GetUsername() string { 4028 if m != nil { 4029 return m.Username 4030 } 4031 return "" 4032 } 4033 4034 func (m *CreateSnowflakeSessionRequest) GetSessionToken() string { 4035 if m != nil { 4036 return m.SessionToken 4037 } 4038 return "" 4039 } 4040 4041 func (m *CreateSnowflakeSessionRequest) GetTokenTTL() Duration { 4042 if m != nil { 4043 return m.TokenTTL 4044 } 4045 return 0 4046 } 4047 4048 // CreateSnowflakeSessionResponse contains Snowflake WebSession. 4049 type CreateSnowflakeSessionResponse struct { 4050 Session *types.WebSessionV2 `protobuf:"bytes,1,opt,name=Session,proto3" json:"session"` 4051 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4052 XXX_unrecognized []byte `json:"-"` 4053 XXX_sizecache int32 `json:"-"` 4054 } 4055 4056 func (m *CreateSnowflakeSessionResponse) Reset() { *m = CreateSnowflakeSessionResponse{} } 4057 func (m *CreateSnowflakeSessionResponse) String() string { return proto.CompactTextString(m) } 4058 func (*CreateSnowflakeSessionResponse) ProtoMessage() {} 4059 func (*CreateSnowflakeSessionResponse) Descriptor() ([]byte, []int) { 4060 return fileDescriptor_0ffcffcda38ae159, []int{48} 4061 } 4062 func (m *CreateSnowflakeSessionResponse) XXX_Unmarshal(b []byte) error { 4063 return m.Unmarshal(b) 4064 } 4065 func (m *CreateSnowflakeSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4066 if deterministic { 4067 return xxx_messageInfo_CreateSnowflakeSessionResponse.Marshal(b, m, deterministic) 4068 } else { 4069 b = b[:cap(b)] 4070 n, err := m.MarshalToSizedBuffer(b) 4071 if err != nil { 4072 return nil, err 4073 } 4074 return b[:n], nil 4075 } 4076 } 4077 func (m *CreateSnowflakeSessionResponse) XXX_Merge(src proto.Message) { 4078 xxx_messageInfo_CreateSnowflakeSessionResponse.Merge(m, src) 4079 } 4080 func (m *CreateSnowflakeSessionResponse) XXX_Size() int { 4081 return m.Size() 4082 } 4083 func (m *CreateSnowflakeSessionResponse) XXX_DiscardUnknown() { 4084 xxx_messageInfo_CreateSnowflakeSessionResponse.DiscardUnknown(m) 4085 } 4086 4087 var xxx_messageInfo_CreateSnowflakeSessionResponse proto.InternalMessageInfo 4088 4089 func (m *CreateSnowflakeSessionResponse) GetSession() *types.WebSessionV2 { 4090 if m != nil { 4091 return m.Session 4092 } 4093 return nil 4094 } 4095 4096 // CreateSAMLIdPSessionRequest contains data required to create a SAML IdP session. 4097 type CreateSAMLIdPSessionRequest struct { 4098 // SessionID is the identifier for the session. 4099 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"session_id"` 4100 // Username is the name of the user requesting the session. 4101 Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"username"` 4102 // SAMLSession is the session data associated with the SAML IdP session. 4103 SAMLSession *types.SAMLSessionData `protobuf:"bytes,3,opt,name=SAMLSession,proto3" json:"saml_session"` 4104 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4105 XXX_unrecognized []byte `json:"-"` 4106 XXX_sizecache int32 `json:"-"` 4107 } 4108 4109 func (m *CreateSAMLIdPSessionRequest) Reset() { *m = CreateSAMLIdPSessionRequest{} } 4110 func (m *CreateSAMLIdPSessionRequest) String() string { return proto.CompactTextString(m) } 4111 func (*CreateSAMLIdPSessionRequest) ProtoMessage() {} 4112 func (*CreateSAMLIdPSessionRequest) Descriptor() ([]byte, []int) { 4113 return fileDescriptor_0ffcffcda38ae159, []int{49} 4114 } 4115 func (m *CreateSAMLIdPSessionRequest) XXX_Unmarshal(b []byte) error { 4116 return m.Unmarshal(b) 4117 } 4118 func (m *CreateSAMLIdPSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4119 if deterministic { 4120 return xxx_messageInfo_CreateSAMLIdPSessionRequest.Marshal(b, m, deterministic) 4121 } else { 4122 b = b[:cap(b)] 4123 n, err := m.MarshalToSizedBuffer(b) 4124 if err != nil { 4125 return nil, err 4126 } 4127 return b[:n], nil 4128 } 4129 } 4130 func (m *CreateSAMLIdPSessionRequest) XXX_Merge(src proto.Message) { 4131 xxx_messageInfo_CreateSAMLIdPSessionRequest.Merge(m, src) 4132 } 4133 func (m *CreateSAMLIdPSessionRequest) XXX_Size() int { 4134 return m.Size() 4135 } 4136 func (m *CreateSAMLIdPSessionRequest) XXX_DiscardUnknown() { 4137 xxx_messageInfo_CreateSAMLIdPSessionRequest.DiscardUnknown(m) 4138 } 4139 4140 var xxx_messageInfo_CreateSAMLIdPSessionRequest proto.InternalMessageInfo 4141 4142 func (m *CreateSAMLIdPSessionRequest) GetSessionID() string { 4143 if m != nil { 4144 return m.SessionID 4145 } 4146 return "" 4147 } 4148 4149 func (m *CreateSAMLIdPSessionRequest) GetUsername() string { 4150 if m != nil { 4151 return m.Username 4152 } 4153 return "" 4154 } 4155 4156 func (m *CreateSAMLIdPSessionRequest) GetSAMLSession() *types.SAMLSessionData { 4157 if m != nil { 4158 return m.SAMLSession 4159 } 4160 return nil 4161 } 4162 4163 // CreateSAMLIdPSessionResponse contains a SAML IdP session. 4164 type CreateSAMLIdPSessionResponse struct { 4165 Session *types.WebSessionV2 `protobuf:"bytes,1,opt,name=Session,proto3" json:"session"` 4166 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4167 XXX_unrecognized []byte `json:"-"` 4168 XXX_sizecache int32 `json:"-"` 4169 } 4170 4171 func (m *CreateSAMLIdPSessionResponse) Reset() { *m = CreateSAMLIdPSessionResponse{} } 4172 func (m *CreateSAMLIdPSessionResponse) String() string { return proto.CompactTextString(m) } 4173 func (*CreateSAMLIdPSessionResponse) ProtoMessage() {} 4174 func (*CreateSAMLIdPSessionResponse) Descriptor() ([]byte, []int) { 4175 return fileDescriptor_0ffcffcda38ae159, []int{50} 4176 } 4177 func (m *CreateSAMLIdPSessionResponse) XXX_Unmarshal(b []byte) error { 4178 return m.Unmarshal(b) 4179 } 4180 func (m *CreateSAMLIdPSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4181 if deterministic { 4182 return xxx_messageInfo_CreateSAMLIdPSessionResponse.Marshal(b, m, deterministic) 4183 } else { 4184 b = b[:cap(b)] 4185 n, err := m.MarshalToSizedBuffer(b) 4186 if err != nil { 4187 return nil, err 4188 } 4189 return b[:n], nil 4190 } 4191 } 4192 func (m *CreateSAMLIdPSessionResponse) XXX_Merge(src proto.Message) { 4193 xxx_messageInfo_CreateSAMLIdPSessionResponse.Merge(m, src) 4194 } 4195 func (m *CreateSAMLIdPSessionResponse) XXX_Size() int { 4196 return m.Size() 4197 } 4198 func (m *CreateSAMLIdPSessionResponse) XXX_DiscardUnknown() { 4199 xxx_messageInfo_CreateSAMLIdPSessionResponse.DiscardUnknown(m) 4200 } 4201 4202 var xxx_messageInfo_CreateSAMLIdPSessionResponse proto.InternalMessageInfo 4203 4204 func (m *CreateSAMLIdPSessionResponse) GetSession() *types.WebSessionV2 { 4205 if m != nil { 4206 return m.Session 4207 } 4208 return nil 4209 } 4210 4211 // GetSnowflakeSessionRequest are the parameters used to request an Snowflake web session. 4212 type GetSnowflakeSessionRequest struct { 4213 // SessionID is the ID of the session being requested. 4214 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"session_id"` 4215 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4216 XXX_unrecognized []byte `json:"-"` 4217 XXX_sizecache int32 `json:"-"` 4218 } 4219 4220 func (m *GetSnowflakeSessionRequest) Reset() { *m = GetSnowflakeSessionRequest{} } 4221 func (m *GetSnowflakeSessionRequest) String() string { return proto.CompactTextString(m) } 4222 func (*GetSnowflakeSessionRequest) ProtoMessage() {} 4223 func (*GetSnowflakeSessionRequest) Descriptor() ([]byte, []int) { 4224 return fileDescriptor_0ffcffcda38ae159, []int{51} 4225 } 4226 func (m *GetSnowflakeSessionRequest) XXX_Unmarshal(b []byte) error { 4227 return m.Unmarshal(b) 4228 } 4229 func (m *GetSnowflakeSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4230 if deterministic { 4231 return xxx_messageInfo_GetSnowflakeSessionRequest.Marshal(b, m, deterministic) 4232 } else { 4233 b = b[:cap(b)] 4234 n, err := m.MarshalToSizedBuffer(b) 4235 if err != nil { 4236 return nil, err 4237 } 4238 return b[:n], nil 4239 } 4240 } 4241 func (m *GetSnowflakeSessionRequest) XXX_Merge(src proto.Message) { 4242 xxx_messageInfo_GetSnowflakeSessionRequest.Merge(m, src) 4243 } 4244 func (m *GetSnowflakeSessionRequest) XXX_Size() int { 4245 return m.Size() 4246 } 4247 func (m *GetSnowflakeSessionRequest) XXX_DiscardUnknown() { 4248 xxx_messageInfo_GetSnowflakeSessionRequest.DiscardUnknown(m) 4249 } 4250 4251 var xxx_messageInfo_GetSnowflakeSessionRequest proto.InternalMessageInfo 4252 4253 func (m *GetSnowflakeSessionRequest) GetSessionID() string { 4254 if m != nil { 4255 return m.SessionID 4256 } 4257 return "" 4258 } 4259 4260 // GetSnowflakeSessionResponse contains the requested Snowflake web session. 4261 type GetSnowflakeSessionResponse struct { 4262 // Session is the Snowflake web session. 4263 Session *types.WebSessionV2 `protobuf:"bytes,1,opt,name=Session,proto3" json:"session"` 4264 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4265 XXX_unrecognized []byte `json:"-"` 4266 XXX_sizecache int32 `json:"-"` 4267 } 4268 4269 func (m *GetSnowflakeSessionResponse) Reset() { *m = GetSnowflakeSessionResponse{} } 4270 func (m *GetSnowflakeSessionResponse) String() string { return proto.CompactTextString(m) } 4271 func (*GetSnowflakeSessionResponse) ProtoMessage() {} 4272 func (*GetSnowflakeSessionResponse) Descriptor() ([]byte, []int) { 4273 return fileDescriptor_0ffcffcda38ae159, []int{52} 4274 } 4275 func (m *GetSnowflakeSessionResponse) XXX_Unmarshal(b []byte) error { 4276 return m.Unmarshal(b) 4277 } 4278 func (m *GetSnowflakeSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4279 if deterministic { 4280 return xxx_messageInfo_GetSnowflakeSessionResponse.Marshal(b, m, deterministic) 4281 } else { 4282 b = b[:cap(b)] 4283 n, err := m.MarshalToSizedBuffer(b) 4284 if err != nil { 4285 return nil, err 4286 } 4287 return b[:n], nil 4288 } 4289 } 4290 func (m *GetSnowflakeSessionResponse) XXX_Merge(src proto.Message) { 4291 xxx_messageInfo_GetSnowflakeSessionResponse.Merge(m, src) 4292 } 4293 func (m *GetSnowflakeSessionResponse) XXX_Size() int { 4294 return m.Size() 4295 } 4296 func (m *GetSnowflakeSessionResponse) XXX_DiscardUnknown() { 4297 xxx_messageInfo_GetSnowflakeSessionResponse.DiscardUnknown(m) 4298 } 4299 4300 var xxx_messageInfo_GetSnowflakeSessionResponse proto.InternalMessageInfo 4301 4302 func (m *GetSnowflakeSessionResponse) GetSession() *types.WebSessionV2 { 4303 if m != nil { 4304 return m.Session 4305 } 4306 return nil 4307 } 4308 4309 // GetSAMLIdPSessionRequest are the parameters used to request a SAML IdP session. 4310 type GetSAMLIdPSessionRequest struct { 4311 // SessionID is the ID of the session being requested. 4312 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"session_id"` 4313 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4314 XXX_unrecognized []byte `json:"-"` 4315 XXX_sizecache int32 `json:"-"` 4316 } 4317 4318 func (m *GetSAMLIdPSessionRequest) Reset() { *m = GetSAMLIdPSessionRequest{} } 4319 func (m *GetSAMLIdPSessionRequest) String() string { return proto.CompactTextString(m) } 4320 func (*GetSAMLIdPSessionRequest) ProtoMessage() {} 4321 func (*GetSAMLIdPSessionRequest) Descriptor() ([]byte, []int) { 4322 return fileDescriptor_0ffcffcda38ae159, []int{53} 4323 } 4324 func (m *GetSAMLIdPSessionRequest) XXX_Unmarshal(b []byte) error { 4325 return m.Unmarshal(b) 4326 } 4327 func (m *GetSAMLIdPSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4328 if deterministic { 4329 return xxx_messageInfo_GetSAMLIdPSessionRequest.Marshal(b, m, deterministic) 4330 } else { 4331 b = b[:cap(b)] 4332 n, err := m.MarshalToSizedBuffer(b) 4333 if err != nil { 4334 return nil, err 4335 } 4336 return b[:n], nil 4337 } 4338 } 4339 func (m *GetSAMLIdPSessionRequest) XXX_Merge(src proto.Message) { 4340 xxx_messageInfo_GetSAMLIdPSessionRequest.Merge(m, src) 4341 } 4342 func (m *GetSAMLIdPSessionRequest) XXX_Size() int { 4343 return m.Size() 4344 } 4345 func (m *GetSAMLIdPSessionRequest) XXX_DiscardUnknown() { 4346 xxx_messageInfo_GetSAMLIdPSessionRequest.DiscardUnknown(m) 4347 } 4348 4349 var xxx_messageInfo_GetSAMLIdPSessionRequest proto.InternalMessageInfo 4350 4351 func (m *GetSAMLIdPSessionRequest) GetSessionID() string { 4352 if m != nil { 4353 return m.SessionID 4354 } 4355 return "" 4356 } 4357 4358 // GetSAMLIdPSessionResponse contains the requested SAML IdP session. 4359 type GetSAMLIdPSessionResponse struct { 4360 // Session is the SAML IdP web session. 4361 Session *types.WebSessionV2 `protobuf:"bytes,1,opt,name=Session,proto3" json:"session"` 4362 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4363 XXX_unrecognized []byte `json:"-"` 4364 XXX_sizecache int32 `json:"-"` 4365 } 4366 4367 func (m *GetSAMLIdPSessionResponse) Reset() { *m = GetSAMLIdPSessionResponse{} } 4368 func (m *GetSAMLIdPSessionResponse) String() string { return proto.CompactTextString(m) } 4369 func (*GetSAMLIdPSessionResponse) ProtoMessage() {} 4370 func (*GetSAMLIdPSessionResponse) Descriptor() ([]byte, []int) { 4371 return fileDescriptor_0ffcffcda38ae159, []int{54} 4372 } 4373 func (m *GetSAMLIdPSessionResponse) XXX_Unmarshal(b []byte) error { 4374 return m.Unmarshal(b) 4375 } 4376 func (m *GetSAMLIdPSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4377 if deterministic { 4378 return xxx_messageInfo_GetSAMLIdPSessionResponse.Marshal(b, m, deterministic) 4379 } else { 4380 b = b[:cap(b)] 4381 n, err := m.MarshalToSizedBuffer(b) 4382 if err != nil { 4383 return nil, err 4384 } 4385 return b[:n], nil 4386 } 4387 } 4388 func (m *GetSAMLIdPSessionResponse) XXX_Merge(src proto.Message) { 4389 xxx_messageInfo_GetSAMLIdPSessionResponse.Merge(m, src) 4390 } 4391 func (m *GetSAMLIdPSessionResponse) XXX_Size() int { 4392 return m.Size() 4393 } 4394 func (m *GetSAMLIdPSessionResponse) XXX_DiscardUnknown() { 4395 xxx_messageInfo_GetSAMLIdPSessionResponse.DiscardUnknown(m) 4396 } 4397 4398 var xxx_messageInfo_GetSAMLIdPSessionResponse proto.InternalMessageInfo 4399 4400 func (m *GetSAMLIdPSessionResponse) GetSession() *types.WebSessionV2 { 4401 if m != nil { 4402 return m.Session 4403 } 4404 return nil 4405 } 4406 4407 // DeleteAppSessionRequest contains the parameters used to remove an application web session. 4408 type DeleteAppSessionRequest struct { 4409 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"session_id"` 4410 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4411 XXX_unrecognized []byte `json:"-"` 4412 XXX_sizecache int32 `json:"-"` 4413 } 4414 4415 func (m *DeleteAppSessionRequest) Reset() { *m = DeleteAppSessionRequest{} } 4416 func (m *DeleteAppSessionRequest) String() string { return proto.CompactTextString(m) } 4417 func (*DeleteAppSessionRequest) ProtoMessage() {} 4418 func (*DeleteAppSessionRequest) Descriptor() ([]byte, []int) { 4419 return fileDescriptor_0ffcffcda38ae159, []int{55} 4420 } 4421 func (m *DeleteAppSessionRequest) XXX_Unmarshal(b []byte) error { 4422 return m.Unmarshal(b) 4423 } 4424 func (m *DeleteAppSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4425 if deterministic { 4426 return xxx_messageInfo_DeleteAppSessionRequest.Marshal(b, m, deterministic) 4427 } else { 4428 b = b[:cap(b)] 4429 n, err := m.MarshalToSizedBuffer(b) 4430 if err != nil { 4431 return nil, err 4432 } 4433 return b[:n], nil 4434 } 4435 } 4436 func (m *DeleteAppSessionRequest) XXX_Merge(src proto.Message) { 4437 xxx_messageInfo_DeleteAppSessionRequest.Merge(m, src) 4438 } 4439 func (m *DeleteAppSessionRequest) XXX_Size() int { 4440 return m.Size() 4441 } 4442 func (m *DeleteAppSessionRequest) XXX_DiscardUnknown() { 4443 xxx_messageInfo_DeleteAppSessionRequest.DiscardUnknown(m) 4444 } 4445 4446 var xxx_messageInfo_DeleteAppSessionRequest proto.InternalMessageInfo 4447 4448 func (m *DeleteAppSessionRequest) GetSessionID() string { 4449 if m != nil { 4450 return m.SessionID 4451 } 4452 return "" 4453 } 4454 4455 // DeleteSnowflakeSessionRequest contains the parameters used to remove a Snowflake web session. 4456 type DeleteSnowflakeSessionRequest struct { 4457 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"session_id"` 4458 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4459 XXX_unrecognized []byte `json:"-"` 4460 XXX_sizecache int32 `json:"-"` 4461 } 4462 4463 func (m *DeleteSnowflakeSessionRequest) Reset() { *m = DeleteSnowflakeSessionRequest{} } 4464 func (m *DeleteSnowflakeSessionRequest) String() string { return proto.CompactTextString(m) } 4465 func (*DeleteSnowflakeSessionRequest) ProtoMessage() {} 4466 func (*DeleteSnowflakeSessionRequest) Descriptor() ([]byte, []int) { 4467 return fileDescriptor_0ffcffcda38ae159, []int{56} 4468 } 4469 func (m *DeleteSnowflakeSessionRequest) XXX_Unmarshal(b []byte) error { 4470 return m.Unmarshal(b) 4471 } 4472 func (m *DeleteSnowflakeSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4473 if deterministic { 4474 return xxx_messageInfo_DeleteSnowflakeSessionRequest.Marshal(b, m, deterministic) 4475 } else { 4476 b = b[:cap(b)] 4477 n, err := m.MarshalToSizedBuffer(b) 4478 if err != nil { 4479 return nil, err 4480 } 4481 return b[:n], nil 4482 } 4483 } 4484 func (m *DeleteSnowflakeSessionRequest) XXX_Merge(src proto.Message) { 4485 xxx_messageInfo_DeleteSnowflakeSessionRequest.Merge(m, src) 4486 } 4487 func (m *DeleteSnowflakeSessionRequest) XXX_Size() int { 4488 return m.Size() 4489 } 4490 func (m *DeleteSnowflakeSessionRequest) XXX_DiscardUnknown() { 4491 xxx_messageInfo_DeleteSnowflakeSessionRequest.DiscardUnknown(m) 4492 } 4493 4494 var xxx_messageInfo_DeleteSnowflakeSessionRequest proto.InternalMessageInfo 4495 4496 func (m *DeleteSnowflakeSessionRequest) GetSessionID() string { 4497 if m != nil { 4498 return m.SessionID 4499 } 4500 return "" 4501 } 4502 4503 // DeleteSAMLIdPSessionRequest contains the parameters used to remove a SAML IdP session. 4504 type DeleteSAMLIdPSessionRequest struct { 4505 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"session_id"` 4506 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4507 XXX_unrecognized []byte `json:"-"` 4508 XXX_sizecache int32 `json:"-"` 4509 } 4510 4511 func (m *DeleteSAMLIdPSessionRequest) Reset() { *m = DeleteSAMLIdPSessionRequest{} } 4512 func (m *DeleteSAMLIdPSessionRequest) String() string { return proto.CompactTextString(m) } 4513 func (*DeleteSAMLIdPSessionRequest) ProtoMessage() {} 4514 func (*DeleteSAMLIdPSessionRequest) Descriptor() ([]byte, []int) { 4515 return fileDescriptor_0ffcffcda38ae159, []int{57} 4516 } 4517 func (m *DeleteSAMLIdPSessionRequest) XXX_Unmarshal(b []byte) error { 4518 return m.Unmarshal(b) 4519 } 4520 func (m *DeleteSAMLIdPSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4521 if deterministic { 4522 return xxx_messageInfo_DeleteSAMLIdPSessionRequest.Marshal(b, m, deterministic) 4523 } else { 4524 b = b[:cap(b)] 4525 n, err := m.MarshalToSizedBuffer(b) 4526 if err != nil { 4527 return nil, err 4528 } 4529 return b[:n], nil 4530 } 4531 } 4532 func (m *DeleteSAMLIdPSessionRequest) XXX_Merge(src proto.Message) { 4533 xxx_messageInfo_DeleteSAMLIdPSessionRequest.Merge(m, src) 4534 } 4535 func (m *DeleteSAMLIdPSessionRequest) XXX_Size() int { 4536 return m.Size() 4537 } 4538 func (m *DeleteSAMLIdPSessionRequest) XXX_DiscardUnknown() { 4539 xxx_messageInfo_DeleteSAMLIdPSessionRequest.DiscardUnknown(m) 4540 } 4541 4542 var xxx_messageInfo_DeleteSAMLIdPSessionRequest proto.InternalMessageInfo 4543 4544 func (m *DeleteSAMLIdPSessionRequest) GetSessionID() string { 4545 if m != nil { 4546 return m.SessionID 4547 } 4548 return "" 4549 } 4550 4551 // DeleteUserAppSessionsRequest contains the parameters used to remove the 4552 // user's application web sessions. 4553 type DeleteUserAppSessionsRequest struct { 4554 Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"username"` 4555 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4556 XXX_unrecognized []byte `json:"-"` 4557 XXX_sizecache int32 `json:"-"` 4558 } 4559 4560 func (m *DeleteUserAppSessionsRequest) Reset() { *m = DeleteUserAppSessionsRequest{} } 4561 func (m *DeleteUserAppSessionsRequest) String() string { return proto.CompactTextString(m) } 4562 func (*DeleteUserAppSessionsRequest) ProtoMessage() {} 4563 func (*DeleteUserAppSessionsRequest) Descriptor() ([]byte, []int) { 4564 return fileDescriptor_0ffcffcda38ae159, []int{58} 4565 } 4566 func (m *DeleteUserAppSessionsRequest) XXX_Unmarshal(b []byte) error { 4567 return m.Unmarshal(b) 4568 } 4569 func (m *DeleteUserAppSessionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4570 if deterministic { 4571 return xxx_messageInfo_DeleteUserAppSessionsRequest.Marshal(b, m, deterministic) 4572 } else { 4573 b = b[:cap(b)] 4574 n, err := m.MarshalToSizedBuffer(b) 4575 if err != nil { 4576 return nil, err 4577 } 4578 return b[:n], nil 4579 } 4580 } 4581 func (m *DeleteUserAppSessionsRequest) XXX_Merge(src proto.Message) { 4582 xxx_messageInfo_DeleteUserAppSessionsRequest.Merge(m, src) 4583 } 4584 func (m *DeleteUserAppSessionsRequest) XXX_Size() int { 4585 return m.Size() 4586 } 4587 func (m *DeleteUserAppSessionsRequest) XXX_DiscardUnknown() { 4588 xxx_messageInfo_DeleteUserAppSessionsRequest.DiscardUnknown(m) 4589 } 4590 4591 var xxx_messageInfo_DeleteUserAppSessionsRequest proto.InternalMessageInfo 4592 4593 func (m *DeleteUserAppSessionsRequest) GetUsername() string { 4594 if m != nil { 4595 return m.Username 4596 } 4597 return "" 4598 } 4599 4600 // DeleteUserAppSessionsRequest contains the parameters used to remove the 4601 // user's SAML IdP sessions. 4602 type DeleteUserSAMLIdPSessionsRequest struct { 4603 Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"username"` 4604 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4605 XXX_unrecognized []byte `json:"-"` 4606 XXX_sizecache int32 `json:"-"` 4607 } 4608 4609 func (m *DeleteUserSAMLIdPSessionsRequest) Reset() { *m = DeleteUserSAMLIdPSessionsRequest{} } 4610 func (m *DeleteUserSAMLIdPSessionsRequest) String() string { return proto.CompactTextString(m) } 4611 func (*DeleteUserSAMLIdPSessionsRequest) ProtoMessage() {} 4612 func (*DeleteUserSAMLIdPSessionsRequest) Descriptor() ([]byte, []int) { 4613 return fileDescriptor_0ffcffcda38ae159, []int{59} 4614 } 4615 func (m *DeleteUserSAMLIdPSessionsRequest) XXX_Unmarshal(b []byte) error { 4616 return m.Unmarshal(b) 4617 } 4618 func (m *DeleteUserSAMLIdPSessionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4619 if deterministic { 4620 return xxx_messageInfo_DeleteUserSAMLIdPSessionsRequest.Marshal(b, m, deterministic) 4621 } else { 4622 b = b[:cap(b)] 4623 n, err := m.MarshalToSizedBuffer(b) 4624 if err != nil { 4625 return nil, err 4626 } 4627 return b[:n], nil 4628 } 4629 } 4630 func (m *DeleteUserSAMLIdPSessionsRequest) XXX_Merge(src proto.Message) { 4631 xxx_messageInfo_DeleteUserSAMLIdPSessionsRequest.Merge(m, src) 4632 } 4633 func (m *DeleteUserSAMLIdPSessionsRequest) XXX_Size() int { 4634 return m.Size() 4635 } 4636 func (m *DeleteUserSAMLIdPSessionsRequest) XXX_DiscardUnknown() { 4637 xxx_messageInfo_DeleteUserSAMLIdPSessionsRequest.DiscardUnknown(m) 4638 } 4639 4640 var xxx_messageInfo_DeleteUserSAMLIdPSessionsRequest proto.InternalMessageInfo 4641 4642 func (m *DeleteUserSAMLIdPSessionsRequest) GetUsername() string { 4643 if m != nil { 4644 return m.Username 4645 } 4646 return "" 4647 } 4648 4649 // GetWebSessionResponse contains the requested web session. 4650 type GetWebSessionResponse struct { 4651 // Session is the web session. 4652 Session *types.WebSessionV2 `protobuf:"bytes,1,opt,name=Session,proto3" json:"session"` 4653 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4654 XXX_unrecognized []byte `json:"-"` 4655 XXX_sizecache int32 `json:"-"` 4656 } 4657 4658 func (m *GetWebSessionResponse) Reset() { *m = GetWebSessionResponse{} } 4659 func (m *GetWebSessionResponse) String() string { return proto.CompactTextString(m) } 4660 func (*GetWebSessionResponse) ProtoMessage() {} 4661 func (*GetWebSessionResponse) Descriptor() ([]byte, []int) { 4662 return fileDescriptor_0ffcffcda38ae159, []int{60} 4663 } 4664 func (m *GetWebSessionResponse) XXX_Unmarshal(b []byte) error { 4665 return m.Unmarshal(b) 4666 } 4667 func (m *GetWebSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4668 if deterministic { 4669 return xxx_messageInfo_GetWebSessionResponse.Marshal(b, m, deterministic) 4670 } else { 4671 b = b[:cap(b)] 4672 n, err := m.MarshalToSizedBuffer(b) 4673 if err != nil { 4674 return nil, err 4675 } 4676 return b[:n], nil 4677 } 4678 } 4679 func (m *GetWebSessionResponse) XXX_Merge(src proto.Message) { 4680 xxx_messageInfo_GetWebSessionResponse.Merge(m, src) 4681 } 4682 func (m *GetWebSessionResponse) XXX_Size() int { 4683 return m.Size() 4684 } 4685 func (m *GetWebSessionResponse) XXX_DiscardUnknown() { 4686 xxx_messageInfo_GetWebSessionResponse.DiscardUnknown(m) 4687 } 4688 4689 var xxx_messageInfo_GetWebSessionResponse proto.InternalMessageInfo 4690 4691 func (m *GetWebSessionResponse) GetSession() *types.WebSessionV2 { 4692 if m != nil { 4693 return m.Session 4694 } 4695 return nil 4696 } 4697 4698 // GetWebSessionsResponse contains all the requested web sessions. 4699 type GetWebSessionsResponse struct { 4700 // Sessions is a list of web sessions. 4701 Sessions []*types.WebSessionV2 `protobuf:"bytes,1,rep,name=Sessions,proto3" json:"sessions"` 4702 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4703 XXX_unrecognized []byte `json:"-"` 4704 XXX_sizecache int32 `json:"-"` 4705 } 4706 4707 func (m *GetWebSessionsResponse) Reset() { *m = GetWebSessionsResponse{} } 4708 func (m *GetWebSessionsResponse) String() string { return proto.CompactTextString(m) } 4709 func (*GetWebSessionsResponse) ProtoMessage() {} 4710 func (*GetWebSessionsResponse) Descriptor() ([]byte, []int) { 4711 return fileDescriptor_0ffcffcda38ae159, []int{61} 4712 } 4713 func (m *GetWebSessionsResponse) XXX_Unmarshal(b []byte) error { 4714 return m.Unmarshal(b) 4715 } 4716 func (m *GetWebSessionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4717 if deterministic { 4718 return xxx_messageInfo_GetWebSessionsResponse.Marshal(b, m, deterministic) 4719 } else { 4720 b = b[:cap(b)] 4721 n, err := m.MarshalToSizedBuffer(b) 4722 if err != nil { 4723 return nil, err 4724 } 4725 return b[:n], nil 4726 } 4727 } 4728 func (m *GetWebSessionsResponse) XXX_Merge(src proto.Message) { 4729 xxx_messageInfo_GetWebSessionsResponse.Merge(m, src) 4730 } 4731 func (m *GetWebSessionsResponse) XXX_Size() int { 4732 return m.Size() 4733 } 4734 func (m *GetWebSessionsResponse) XXX_DiscardUnknown() { 4735 xxx_messageInfo_GetWebSessionsResponse.DiscardUnknown(m) 4736 } 4737 4738 var xxx_messageInfo_GetWebSessionsResponse proto.InternalMessageInfo 4739 4740 func (m *GetWebSessionsResponse) GetSessions() []*types.WebSessionV2 { 4741 if m != nil { 4742 return m.Sessions 4743 } 4744 return nil 4745 } 4746 4747 // GetWebTokenResponse contains the requested web token. 4748 type GetWebTokenResponse struct { 4749 // Token is the web token being requested. 4750 Token *types.WebTokenV3 `protobuf:"bytes,1,opt,name=Token,proto3" json:"token"` 4751 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4752 XXX_unrecognized []byte `json:"-"` 4753 XXX_sizecache int32 `json:"-"` 4754 } 4755 4756 func (m *GetWebTokenResponse) Reset() { *m = GetWebTokenResponse{} } 4757 func (m *GetWebTokenResponse) String() string { return proto.CompactTextString(m) } 4758 func (*GetWebTokenResponse) ProtoMessage() {} 4759 func (*GetWebTokenResponse) Descriptor() ([]byte, []int) { 4760 return fileDescriptor_0ffcffcda38ae159, []int{62} 4761 } 4762 func (m *GetWebTokenResponse) XXX_Unmarshal(b []byte) error { 4763 return m.Unmarshal(b) 4764 } 4765 func (m *GetWebTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4766 if deterministic { 4767 return xxx_messageInfo_GetWebTokenResponse.Marshal(b, m, deterministic) 4768 } else { 4769 b = b[:cap(b)] 4770 n, err := m.MarshalToSizedBuffer(b) 4771 if err != nil { 4772 return nil, err 4773 } 4774 return b[:n], nil 4775 } 4776 } 4777 func (m *GetWebTokenResponse) XXX_Merge(src proto.Message) { 4778 xxx_messageInfo_GetWebTokenResponse.Merge(m, src) 4779 } 4780 func (m *GetWebTokenResponse) XXX_Size() int { 4781 return m.Size() 4782 } 4783 func (m *GetWebTokenResponse) XXX_DiscardUnknown() { 4784 xxx_messageInfo_GetWebTokenResponse.DiscardUnknown(m) 4785 } 4786 4787 var xxx_messageInfo_GetWebTokenResponse proto.InternalMessageInfo 4788 4789 func (m *GetWebTokenResponse) GetToken() *types.WebTokenV3 { 4790 if m != nil { 4791 return m.Token 4792 } 4793 return nil 4794 } 4795 4796 // GetWebTokensResponse contains all the requested web tokens. 4797 type GetWebTokensResponse struct { 4798 // Tokens is a list of web tokens. 4799 Tokens []*types.WebTokenV3 `protobuf:"bytes,1,rep,name=Tokens,proto3" json:"tokens"` 4800 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4801 XXX_unrecognized []byte `json:"-"` 4802 XXX_sizecache int32 `json:"-"` 4803 } 4804 4805 func (m *GetWebTokensResponse) Reset() { *m = GetWebTokensResponse{} } 4806 func (m *GetWebTokensResponse) String() string { return proto.CompactTextString(m) } 4807 func (*GetWebTokensResponse) ProtoMessage() {} 4808 func (*GetWebTokensResponse) Descriptor() ([]byte, []int) { 4809 return fileDescriptor_0ffcffcda38ae159, []int{63} 4810 } 4811 func (m *GetWebTokensResponse) XXX_Unmarshal(b []byte) error { 4812 return m.Unmarshal(b) 4813 } 4814 func (m *GetWebTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4815 if deterministic { 4816 return xxx_messageInfo_GetWebTokensResponse.Marshal(b, m, deterministic) 4817 } else { 4818 b = b[:cap(b)] 4819 n, err := m.MarshalToSizedBuffer(b) 4820 if err != nil { 4821 return nil, err 4822 } 4823 return b[:n], nil 4824 } 4825 } 4826 func (m *GetWebTokensResponse) XXX_Merge(src proto.Message) { 4827 xxx_messageInfo_GetWebTokensResponse.Merge(m, src) 4828 } 4829 func (m *GetWebTokensResponse) XXX_Size() int { 4830 return m.Size() 4831 } 4832 func (m *GetWebTokensResponse) XXX_DiscardUnknown() { 4833 xxx_messageInfo_GetWebTokensResponse.DiscardUnknown(m) 4834 } 4835 4836 var xxx_messageInfo_GetWebTokensResponse proto.InternalMessageInfo 4837 4838 func (m *GetWebTokensResponse) GetTokens() []*types.WebTokenV3 { 4839 if m != nil { 4840 return m.Tokens 4841 } 4842 return nil 4843 } 4844 4845 // UpsertKubernetesServerRequest are the parameters used to add or update a 4846 // kubernetes server. 4847 type UpsertKubernetesServerRequest struct { 4848 Server *types.KubernetesServerV3 `protobuf:"bytes,1,opt,name=Server,proto3" json:"server"` 4849 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4850 XXX_unrecognized []byte `json:"-"` 4851 XXX_sizecache int32 `json:"-"` 4852 } 4853 4854 func (m *UpsertKubernetesServerRequest) Reset() { *m = UpsertKubernetesServerRequest{} } 4855 func (m *UpsertKubernetesServerRequest) String() string { return proto.CompactTextString(m) } 4856 func (*UpsertKubernetesServerRequest) ProtoMessage() {} 4857 func (*UpsertKubernetesServerRequest) Descriptor() ([]byte, []int) { 4858 return fileDescriptor_0ffcffcda38ae159, []int{64} 4859 } 4860 func (m *UpsertKubernetesServerRequest) XXX_Unmarshal(b []byte) error { 4861 return m.Unmarshal(b) 4862 } 4863 func (m *UpsertKubernetesServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4864 if deterministic { 4865 return xxx_messageInfo_UpsertKubernetesServerRequest.Marshal(b, m, deterministic) 4866 } else { 4867 b = b[:cap(b)] 4868 n, err := m.MarshalToSizedBuffer(b) 4869 if err != nil { 4870 return nil, err 4871 } 4872 return b[:n], nil 4873 } 4874 } 4875 func (m *UpsertKubernetesServerRequest) XXX_Merge(src proto.Message) { 4876 xxx_messageInfo_UpsertKubernetesServerRequest.Merge(m, src) 4877 } 4878 func (m *UpsertKubernetesServerRequest) XXX_Size() int { 4879 return m.Size() 4880 } 4881 func (m *UpsertKubernetesServerRequest) XXX_DiscardUnknown() { 4882 xxx_messageInfo_UpsertKubernetesServerRequest.DiscardUnknown(m) 4883 } 4884 4885 var xxx_messageInfo_UpsertKubernetesServerRequest proto.InternalMessageInfo 4886 4887 func (m *UpsertKubernetesServerRequest) GetServer() *types.KubernetesServerV3 { 4888 if m != nil { 4889 return m.Server 4890 } 4891 return nil 4892 } 4893 4894 // DeleteKubernetesServerRequest are the parameters used to remove a kubernetes server. 4895 type DeleteKubernetesServerRequest struct { 4896 // HostID is the kube server host uuid. 4897 HostID string `protobuf:"bytes,1,opt,name=HostID,proto3" json:"host_id"` 4898 // Name is the name of the kubernetes service to delete. 4899 Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"name"` 4900 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4901 XXX_unrecognized []byte `json:"-"` 4902 XXX_sizecache int32 `json:"-"` 4903 } 4904 4905 func (m *DeleteKubernetesServerRequest) Reset() { *m = DeleteKubernetesServerRequest{} } 4906 func (m *DeleteKubernetesServerRequest) String() string { return proto.CompactTextString(m) } 4907 func (*DeleteKubernetesServerRequest) ProtoMessage() {} 4908 func (*DeleteKubernetesServerRequest) Descriptor() ([]byte, []int) { 4909 return fileDescriptor_0ffcffcda38ae159, []int{65} 4910 } 4911 func (m *DeleteKubernetesServerRequest) XXX_Unmarshal(b []byte) error { 4912 return m.Unmarshal(b) 4913 } 4914 func (m *DeleteKubernetesServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4915 if deterministic { 4916 return xxx_messageInfo_DeleteKubernetesServerRequest.Marshal(b, m, deterministic) 4917 } else { 4918 b = b[:cap(b)] 4919 n, err := m.MarshalToSizedBuffer(b) 4920 if err != nil { 4921 return nil, err 4922 } 4923 return b[:n], nil 4924 } 4925 } 4926 func (m *DeleteKubernetesServerRequest) XXX_Merge(src proto.Message) { 4927 xxx_messageInfo_DeleteKubernetesServerRequest.Merge(m, src) 4928 } 4929 func (m *DeleteKubernetesServerRequest) XXX_Size() int { 4930 return m.Size() 4931 } 4932 func (m *DeleteKubernetesServerRequest) XXX_DiscardUnknown() { 4933 xxx_messageInfo_DeleteKubernetesServerRequest.DiscardUnknown(m) 4934 } 4935 4936 var xxx_messageInfo_DeleteKubernetesServerRequest proto.InternalMessageInfo 4937 4938 func (m *DeleteKubernetesServerRequest) GetHostID() string { 4939 if m != nil { 4940 return m.HostID 4941 } 4942 return "" 4943 } 4944 4945 func (m *DeleteKubernetesServerRequest) GetName() string { 4946 if m != nil { 4947 return m.Name 4948 } 4949 return "" 4950 } 4951 4952 // DeleteAllKubernetesServersRequest are the parameters used to remove all kubernetes servers. 4953 type DeleteAllKubernetesServersRequest struct { 4954 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4955 XXX_unrecognized []byte `json:"-"` 4956 XXX_sizecache int32 `json:"-"` 4957 } 4958 4959 func (m *DeleteAllKubernetesServersRequest) Reset() { *m = DeleteAllKubernetesServersRequest{} } 4960 func (m *DeleteAllKubernetesServersRequest) String() string { return proto.CompactTextString(m) } 4961 func (*DeleteAllKubernetesServersRequest) ProtoMessage() {} 4962 func (*DeleteAllKubernetesServersRequest) Descriptor() ([]byte, []int) { 4963 return fileDescriptor_0ffcffcda38ae159, []int{66} 4964 } 4965 func (m *DeleteAllKubernetesServersRequest) XXX_Unmarshal(b []byte) error { 4966 return m.Unmarshal(b) 4967 } 4968 func (m *DeleteAllKubernetesServersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4969 if deterministic { 4970 return xxx_messageInfo_DeleteAllKubernetesServersRequest.Marshal(b, m, deterministic) 4971 } else { 4972 b = b[:cap(b)] 4973 n, err := m.MarshalToSizedBuffer(b) 4974 if err != nil { 4975 return nil, err 4976 } 4977 return b[:n], nil 4978 } 4979 } 4980 func (m *DeleteAllKubernetesServersRequest) XXX_Merge(src proto.Message) { 4981 xxx_messageInfo_DeleteAllKubernetesServersRequest.Merge(m, src) 4982 } 4983 func (m *DeleteAllKubernetesServersRequest) XXX_Size() int { 4984 return m.Size() 4985 } 4986 func (m *DeleteAllKubernetesServersRequest) XXX_DiscardUnknown() { 4987 xxx_messageInfo_DeleteAllKubernetesServersRequest.DiscardUnknown(m) 4988 } 4989 4990 var xxx_messageInfo_DeleteAllKubernetesServersRequest proto.InternalMessageInfo 4991 4992 // UpsertDatabaseServerRequest is a request to register database server. 4993 type UpsertDatabaseServerRequest struct { 4994 // Server is the database proxy server to register. 4995 Server *types.DatabaseServerV3 `protobuf:"bytes,1,opt,name=Server,proto3" json:"server"` 4996 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4997 XXX_unrecognized []byte `json:"-"` 4998 XXX_sizecache int32 `json:"-"` 4999 } 5000 5001 func (m *UpsertDatabaseServerRequest) Reset() { *m = UpsertDatabaseServerRequest{} } 5002 func (m *UpsertDatabaseServerRequest) String() string { return proto.CompactTextString(m) } 5003 func (*UpsertDatabaseServerRequest) ProtoMessage() {} 5004 func (*UpsertDatabaseServerRequest) Descriptor() ([]byte, []int) { 5005 return fileDescriptor_0ffcffcda38ae159, []int{67} 5006 } 5007 func (m *UpsertDatabaseServerRequest) XXX_Unmarshal(b []byte) error { 5008 return m.Unmarshal(b) 5009 } 5010 func (m *UpsertDatabaseServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5011 if deterministic { 5012 return xxx_messageInfo_UpsertDatabaseServerRequest.Marshal(b, m, deterministic) 5013 } else { 5014 b = b[:cap(b)] 5015 n, err := m.MarshalToSizedBuffer(b) 5016 if err != nil { 5017 return nil, err 5018 } 5019 return b[:n], nil 5020 } 5021 } 5022 func (m *UpsertDatabaseServerRequest) XXX_Merge(src proto.Message) { 5023 xxx_messageInfo_UpsertDatabaseServerRequest.Merge(m, src) 5024 } 5025 func (m *UpsertDatabaseServerRequest) XXX_Size() int { 5026 return m.Size() 5027 } 5028 func (m *UpsertDatabaseServerRequest) XXX_DiscardUnknown() { 5029 xxx_messageInfo_UpsertDatabaseServerRequest.DiscardUnknown(m) 5030 } 5031 5032 var xxx_messageInfo_UpsertDatabaseServerRequest proto.InternalMessageInfo 5033 5034 func (m *UpsertDatabaseServerRequest) GetServer() *types.DatabaseServerV3 { 5035 if m != nil { 5036 return m.Server 5037 } 5038 return nil 5039 } 5040 5041 // DeleteDatabaseServerRequest is a request to delete a database server. 5042 type DeleteDatabaseServerRequest struct { 5043 // Namespace is the database server namespace. 5044 Namespace string `protobuf:"bytes,1,opt,name=Namespace,proto3" json:"namespace"` 5045 // HostID is the ID of the host database server is running on. 5046 HostID string `protobuf:"bytes,2,opt,name=HostID,proto3" json:"host_id"` 5047 // Name is the database server name. 5048 Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"name"` 5049 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5050 XXX_unrecognized []byte `json:"-"` 5051 XXX_sizecache int32 `json:"-"` 5052 } 5053 5054 func (m *DeleteDatabaseServerRequest) Reset() { *m = DeleteDatabaseServerRequest{} } 5055 func (m *DeleteDatabaseServerRequest) String() string { return proto.CompactTextString(m) } 5056 func (*DeleteDatabaseServerRequest) ProtoMessage() {} 5057 func (*DeleteDatabaseServerRequest) Descriptor() ([]byte, []int) { 5058 return fileDescriptor_0ffcffcda38ae159, []int{68} 5059 } 5060 func (m *DeleteDatabaseServerRequest) XXX_Unmarshal(b []byte) error { 5061 return m.Unmarshal(b) 5062 } 5063 func (m *DeleteDatabaseServerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5064 if deterministic { 5065 return xxx_messageInfo_DeleteDatabaseServerRequest.Marshal(b, m, deterministic) 5066 } else { 5067 b = b[:cap(b)] 5068 n, err := m.MarshalToSizedBuffer(b) 5069 if err != nil { 5070 return nil, err 5071 } 5072 return b[:n], nil 5073 } 5074 } 5075 func (m *DeleteDatabaseServerRequest) XXX_Merge(src proto.Message) { 5076 xxx_messageInfo_DeleteDatabaseServerRequest.Merge(m, src) 5077 } 5078 func (m *DeleteDatabaseServerRequest) XXX_Size() int { 5079 return m.Size() 5080 } 5081 func (m *DeleteDatabaseServerRequest) XXX_DiscardUnknown() { 5082 xxx_messageInfo_DeleteDatabaseServerRequest.DiscardUnknown(m) 5083 } 5084 5085 var xxx_messageInfo_DeleteDatabaseServerRequest proto.InternalMessageInfo 5086 5087 func (m *DeleteDatabaseServerRequest) GetNamespace() string { 5088 if m != nil { 5089 return m.Namespace 5090 } 5091 return "" 5092 } 5093 5094 func (m *DeleteDatabaseServerRequest) GetHostID() string { 5095 if m != nil { 5096 return m.HostID 5097 } 5098 return "" 5099 } 5100 5101 func (m *DeleteDatabaseServerRequest) GetName() string { 5102 if m != nil { 5103 return m.Name 5104 } 5105 return "" 5106 } 5107 5108 // DeleteAllDatabaseServersRequest is a request to delete all database servers. 5109 type DeleteAllDatabaseServersRequest struct { 5110 // Namespace is the database servers namespace. 5111 Namespace string `protobuf:"bytes,1,opt,name=Namespace,proto3" json:"namespace"` 5112 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5113 XXX_unrecognized []byte `json:"-"` 5114 XXX_sizecache int32 `json:"-"` 5115 } 5116 5117 func (m *DeleteAllDatabaseServersRequest) Reset() { *m = DeleteAllDatabaseServersRequest{} } 5118 func (m *DeleteAllDatabaseServersRequest) String() string { return proto.CompactTextString(m) } 5119 func (*DeleteAllDatabaseServersRequest) ProtoMessage() {} 5120 func (*DeleteAllDatabaseServersRequest) Descriptor() ([]byte, []int) { 5121 return fileDescriptor_0ffcffcda38ae159, []int{69} 5122 } 5123 func (m *DeleteAllDatabaseServersRequest) XXX_Unmarshal(b []byte) error { 5124 return m.Unmarshal(b) 5125 } 5126 func (m *DeleteAllDatabaseServersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5127 if deterministic { 5128 return xxx_messageInfo_DeleteAllDatabaseServersRequest.Marshal(b, m, deterministic) 5129 } else { 5130 b = b[:cap(b)] 5131 n, err := m.MarshalToSizedBuffer(b) 5132 if err != nil { 5133 return nil, err 5134 } 5135 return b[:n], nil 5136 } 5137 } 5138 func (m *DeleteAllDatabaseServersRequest) XXX_Merge(src proto.Message) { 5139 xxx_messageInfo_DeleteAllDatabaseServersRequest.Merge(m, src) 5140 } 5141 func (m *DeleteAllDatabaseServersRequest) XXX_Size() int { 5142 return m.Size() 5143 } 5144 func (m *DeleteAllDatabaseServersRequest) XXX_DiscardUnknown() { 5145 xxx_messageInfo_DeleteAllDatabaseServersRequest.DiscardUnknown(m) 5146 } 5147 5148 var xxx_messageInfo_DeleteAllDatabaseServersRequest proto.InternalMessageInfo 5149 5150 func (m *DeleteAllDatabaseServersRequest) GetNamespace() string { 5151 if m != nil { 5152 return m.Namespace 5153 } 5154 return "" 5155 } 5156 5157 // DatabaseServiceV1List represents a list of DatabaseService resources. 5158 type DatabaseServiceV1List struct { 5159 // Services is a list of DatabaseService resources. 5160 Services []*types.DatabaseServiceV1 `protobuf:"bytes,1,rep,name=Services,proto3" json:"Services,omitempty"` 5161 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5162 XXX_unrecognized []byte `json:"-"` 5163 XXX_sizecache int32 `json:"-"` 5164 } 5165 5166 func (m *DatabaseServiceV1List) Reset() { *m = DatabaseServiceV1List{} } 5167 func (m *DatabaseServiceV1List) String() string { return proto.CompactTextString(m) } 5168 func (*DatabaseServiceV1List) ProtoMessage() {} 5169 func (*DatabaseServiceV1List) Descriptor() ([]byte, []int) { 5170 return fileDescriptor_0ffcffcda38ae159, []int{70} 5171 } 5172 func (m *DatabaseServiceV1List) XXX_Unmarshal(b []byte) error { 5173 return m.Unmarshal(b) 5174 } 5175 func (m *DatabaseServiceV1List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5176 if deterministic { 5177 return xxx_messageInfo_DatabaseServiceV1List.Marshal(b, m, deterministic) 5178 } else { 5179 b = b[:cap(b)] 5180 n, err := m.MarshalToSizedBuffer(b) 5181 if err != nil { 5182 return nil, err 5183 } 5184 return b[:n], nil 5185 } 5186 } 5187 func (m *DatabaseServiceV1List) XXX_Merge(src proto.Message) { 5188 xxx_messageInfo_DatabaseServiceV1List.Merge(m, src) 5189 } 5190 func (m *DatabaseServiceV1List) XXX_Size() int { 5191 return m.Size() 5192 } 5193 func (m *DatabaseServiceV1List) XXX_DiscardUnknown() { 5194 xxx_messageInfo_DatabaseServiceV1List.DiscardUnknown(m) 5195 } 5196 5197 var xxx_messageInfo_DatabaseServiceV1List proto.InternalMessageInfo 5198 5199 func (m *DatabaseServiceV1List) GetServices() []*types.DatabaseServiceV1 { 5200 if m != nil { 5201 return m.Services 5202 } 5203 return nil 5204 } 5205 5206 // UpsertDatabaseServiceRequest is a request to register DatabaseService. 5207 type UpsertDatabaseServiceRequest struct { 5208 // Service is the database service to register. 5209 Service *types.DatabaseServiceV1 `protobuf:"bytes,1,opt,name=Service,proto3" json:"service"` 5210 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5211 XXX_unrecognized []byte `json:"-"` 5212 XXX_sizecache int32 `json:"-"` 5213 } 5214 5215 func (m *UpsertDatabaseServiceRequest) Reset() { *m = UpsertDatabaseServiceRequest{} } 5216 func (m *UpsertDatabaseServiceRequest) String() string { return proto.CompactTextString(m) } 5217 func (*UpsertDatabaseServiceRequest) ProtoMessage() {} 5218 func (*UpsertDatabaseServiceRequest) Descriptor() ([]byte, []int) { 5219 return fileDescriptor_0ffcffcda38ae159, []int{71} 5220 } 5221 func (m *UpsertDatabaseServiceRequest) XXX_Unmarshal(b []byte) error { 5222 return m.Unmarshal(b) 5223 } 5224 func (m *UpsertDatabaseServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5225 if deterministic { 5226 return xxx_messageInfo_UpsertDatabaseServiceRequest.Marshal(b, m, deterministic) 5227 } else { 5228 b = b[:cap(b)] 5229 n, err := m.MarshalToSizedBuffer(b) 5230 if err != nil { 5231 return nil, err 5232 } 5233 return b[:n], nil 5234 } 5235 } 5236 func (m *UpsertDatabaseServiceRequest) XXX_Merge(src proto.Message) { 5237 xxx_messageInfo_UpsertDatabaseServiceRequest.Merge(m, src) 5238 } 5239 func (m *UpsertDatabaseServiceRequest) XXX_Size() int { 5240 return m.Size() 5241 } 5242 func (m *UpsertDatabaseServiceRequest) XXX_DiscardUnknown() { 5243 xxx_messageInfo_UpsertDatabaseServiceRequest.DiscardUnknown(m) 5244 } 5245 5246 var xxx_messageInfo_UpsertDatabaseServiceRequest proto.InternalMessageInfo 5247 5248 func (m *UpsertDatabaseServiceRequest) GetService() *types.DatabaseServiceV1 { 5249 if m != nil { 5250 return m.Service 5251 } 5252 return nil 5253 } 5254 5255 // DeleteAllDatabaseServicesRequest is a request to delete all DatabaseServices. 5256 type DeleteAllDatabaseServicesRequest struct { 5257 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5258 XXX_unrecognized []byte `json:"-"` 5259 XXX_sizecache int32 `json:"-"` 5260 } 5261 5262 func (m *DeleteAllDatabaseServicesRequest) Reset() { *m = DeleteAllDatabaseServicesRequest{} } 5263 func (m *DeleteAllDatabaseServicesRequest) String() string { return proto.CompactTextString(m) } 5264 func (*DeleteAllDatabaseServicesRequest) ProtoMessage() {} 5265 func (*DeleteAllDatabaseServicesRequest) Descriptor() ([]byte, []int) { 5266 return fileDescriptor_0ffcffcda38ae159, []int{72} 5267 } 5268 func (m *DeleteAllDatabaseServicesRequest) XXX_Unmarshal(b []byte) error { 5269 return m.Unmarshal(b) 5270 } 5271 func (m *DeleteAllDatabaseServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5272 if deterministic { 5273 return xxx_messageInfo_DeleteAllDatabaseServicesRequest.Marshal(b, m, deterministic) 5274 } else { 5275 b = b[:cap(b)] 5276 n, err := m.MarshalToSizedBuffer(b) 5277 if err != nil { 5278 return nil, err 5279 } 5280 return b[:n], nil 5281 } 5282 } 5283 func (m *DeleteAllDatabaseServicesRequest) XXX_Merge(src proto.Message) { 5284 xxx_messageInfo_DeleteAllDatabaseServicesRequest.Merge(m, src) 5285 } 5286 func (m *DeleteAllDatabaseServicesRequest) XXX_Size() int { 5287 return m.Size() 5288 } 5289 func (m *DeleteAllDatabaseServicesRequest) XXX_DiscardUnknown() { 5290 xxx_messageInfo_DeleteAllDatabaseServicesRequest.DiscardUnknown(m) 5291 } 5292 5293 var xxx_messageInfo_DeleteAllDatabaseServicesRequest proto.InternalMessageInfo 5294 5295 // DatabaseCSRRequest is a request to generate a client certificate used 5296 // by the proxy to authenticate with a remote database service. 5297 type DatabaseCSRRequest struct { 5298 // CSR is the request to sign. 5299 CSR []byte `protobuf:"bytes,1,opt,name=CSR,proto3" json:"csr"` 5300 // ClusterName is the name of the cluster the request is for. 5301 ClusterName string `protobuf:"bytes,2,opt,name=ClusterName,proto3" json:"cluster_name"` 5302 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5303 XXX_unrecognized []byte `json:"-"` 5304 XXX_sizecache int32 `json:"-"` 5305 } 5306 5307 func (m *DatabaseCSRRequest) Reset() { *m = DatabaseCSRRequest{} } 5308 func (m *DatabaseCSRRequest) String() string { return proto.CompactTextString(m) } 5309 func (*DatabaseCSRRequest) ProtoMessage() {} 5310 func (*DatabaseCSRRequest) Descriptor() ([]byte, []int) { 5311 return fileDescriptor_0ffcffcda38ae159, []int{73} 5312 } 5313 func (m *DatabaseCSRRequest) XXX_Unmarshal(b []byte) error { 5314 return m.Unmarshal(b) 5315 } 5316 func (m *DatabaseCSRRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5317 if deterministic { 5318 return xxx_messageInfo_DatabaseCSRRequest.Marshal(b, m, deterministic) 5319 } else { 5320 b = b[:cap(b)] 5321 n, err := m.MarshalToSizedBuffer(b) 5322 if err != nil { 5323 return nil, err 5324 } 5325 return b[:n], nil 5326 } 5327 } 5328 func (m *DatabaseCSRRequest) XXX_Merge(src proto.Message) { 5329 xxx_messageInfo_DatabaseCSRRequest.Merge(m, src) 5330 } 5331 func (m *DatabaseCSRRequest) XXX_Size() int { 5332 return m.Size() 5333 } 5334 func (m *DatabaseCSRRequest) XXX_DiscardUnknown() { 5335 xxx_messageInfo_DatabaseCSRRequest.DiscardUnknown(m) 5336 } 5337 5338 var xxx_messageInfo_DatabaseCSRRequest proto.InternalMessageInfo 5339 5340 func (m *DatabaseCSRRequest) GetCSR() []byte { 5341 if m != nil { 5342 return m.CSR 5343 } 5344 return nil 5345 } 5346 5347 func (m *DatabaseCSRRequest) GetClusterName() string { 5348 if m != nil { 5349 return m.ClusterName 5350 } 5351 return "" 5352 } 5353 5354 // DatabaseCSRResponse contains the signed database certificate. 5355 type DatabaseCSRResponse struct { 5356 // Cert is the signed certificate. 5357 Cert []byte `protobuf:"bytes,1,opt,name=Cert,proto3" json:"cert"` 5358 // CACerts is a list of certificate authorities. 5359 CACerts [][]byte `protobuf:"bytes,2,rep,name=CACerts,proto3" json:"ca_certs"` 5360 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5361 XXX_unrecognized []byte `json:"-"` 5362 XXX_sizecache int32 `json:"-"` 5363 } 5364 5365 func (m *DatabaseCSRResponse) Reset() { *m = DatabaseCSRResponse{} } 5366 func (m *DatabaseCSRResponse) String() string { return proto.CompactTextString(m) } 5367 func (*DatabaseCSRResponse) ProtoMessage() {} 5368 func (*DatabaseCSRResponse) Descriptor() ([]byte, []int) { 5369 return fileDescriptor_0ffcffcda38ae159, []int{74} 5370 } 5371 func (m *DatabaseCSRResponse) XXX_Unmarshal(b []byte) error { 5372 return m.Unmarshal(b) 5373 } 5374 func (m *DatabaseCSRResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5375 if deterministic { 5376 return xxx_messageInfo_DatabaseCSRResponse.Marshal(b, m, deterministic) 5377 } else { 5378 b = b[:cap(b)] 5379 n, err := m.MarshalToSizedBuffer(b) 5380 if err != nil { 5381 return nil, err 5382 } 5383 return b[:n], nil 5384 } 5385 } 5386 func (m *DatabaseCSRResponse) XXX_Merge(src proto.Message) { 5387 xxx_messageInfo_DatabaseCSRResponse.Merge(m, src) 5388 } 5389 func (m *DatabaseCSRResponse) XXX_Size() int { 5390 return m.Size() 5391 } 5392 func (m *DatabaseCSRResponse) XXX_DiscardUnknown() { 5393 xxx_messageInfo_DatabaseCSRResponse.DiscardUnknown(m) 5394 } 5395 5396 var xxx_messageInfo_DatabaseCSRResponse proto.InternalMessageInfo 5397 5398 func (m *DatabaseCSRResponse) GetCert() []byte { 5399 if m != nil { 5400 return m.Cert 5401 } 5402 return nil 5403 } 5404 5405 func (m *DatabaseCSRResponse) GetCACerts() [][]byte { 5406 if m != nil { 5407 return m.CACerts 5408 } 5409 return nil 5410 } 5411 5412 // DatabaseCertRequest is a request to generate a client certificate used 5413 // by a database service to authenticate with a database instance. 5414 type DatabaseCertRequest struct { 5415 // CSR is the request to sign. 5416 CSR []byte `protobuf:"bytes,1,opt,name=CSR,proto3" json:"csr"` 5417 // ServerName is the SAN to include in the certificate. 5418 // DEPRECATED: Replaced by ServerNames. 5419 ServerName string `protobuf:"bytes,2,opt,name=ServerName,proto3" json:"server_name"` // Deprecated: Do not use. 5420 // TTL is the certificate validity period. 5421 TTL Duration `protobuf:"varint,3,opt,name=TTL,proto3,casttype=Duration" json:"ttl"` 5422 // ServerNames are SANs to include in the certificate. 5423 ServerNames []string `protobuf:"bytes,4,rep,name=ServerNames,proto3" json:"server_names"` 5424 // RequesterName identifies who sent the request. 5425 RequesterName DatabaseCertRequest_Requester `protobuf:"varint,5,opt,name=RequesterName,proto3,enum=proto.DatabaseCertRequest_Requester" json:"requester_name"` 5426 // CertificateExtensions identifies which extensions, if any, should be added to the certificate. 5427 CertificateExtensions DatabaseCertRequest_Extensions `protobuf:"varint,6,opt,name=CertificateExtensions,proto3,enum=proto.DatabaseCertRequest_Extensions" json:"certificate_extensions"` 5428 // CRLEndpoint is a certificate revocation list distribution point. Required for Windows smartcard certs. 5429 CRLEndpoint string `protobuf:"bytes,7,opt,name=CRLEndpoint,proto3" json:"crl_endpoint"` 5430 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5431 XXX_unrecognized []byte `json:"-"` 5432 XXX_sizecache int32 `json:"-"` 5433 } 5434 5435 func (m *DatabaseCertRequest) Reset() { *m = DatabaseCertRequest{} } 5436 func (m *DatabaseCertRequest) String() string { return proto.CompactTextString(m) } 5437 func (*DatabaseCertRequest) ProtoMessage() {} 5438 func (*DatabaseCertRequest) Descriptor() ([]byte, []int) { 5439 return fileDescriptor_0ffcffcda38ae159, []int{75} 5440 } 5441 func (m *DatabaseCertRequest) XXX_Unmarshal(b []byte) error { 5442 return m.Unmarshal(b) 5443 } 5444 func (m *DatabaseCertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5445 if deterministic { 5446 return xxx_messageInfo_DatabaseCertRequest.Marshal(b, m, deterministic) 5447 } else { 5448 b = b[:cap(b)] 5449 n, err := m.MarshalToSizedBuffer(b) 5450 if err != nil { 5451 return nil, err 5452 } 5453 return b[:n], nil 5454 } 5455 } 5456 func (m *DatabaseCertRequest) XXX_Merge(src proto.Message) { 5457 xxx_messageInfo_DatabaseCertRequest.Merge(m, src) 5458 } 5459 func (m *DatabaseCertRequest) XXX_Size() int { 5460 return m.Size() 5461 } 5462 func (m *DatabaseCertRequest) XXX_DiscardUnknown() { 5463 xxx_messageInfo_DatabaseCertRequest.DiscardUnknown(m) 5464 } 5465 5466 var xxx_messageInfo_DatabaseCertRequest proto.InternalMessageInfo 5467 5468 func (m *DatabaseCertRequest) GetCSR() []byte { 5469 if m != nil { 5470 return m.CSR 5471 } 5472 return nil 5473 } 5474 5475 // Deprecated: Do not use. 5476 func (m *DatabaseCertRequest) GetServerName() string { 5477 if m != nil { 5478 return m.ServerName 5479 } 5480 return "" 5481 } 5482 5483 func (m *DatabaseCertRequest) GetTTL() Duration { 5484 if m != nil { 5485 return m.TTL 5486 } 5487 return 0 5488 } 5489 5490 func (m *DatabaseCertRequest) GetServerNames() []string { 5491 if m != nil { 5492 return m.ServerNames 5493 } 5494 return nil 5495 } 5496 5497 func (m *DatabaseCertRequest) GetRequesterName() DatabaseCertRequest_Requester { 5498 if m != nil { 5499 return m.RequesterName 5500 } 5501 return DatabaseCertRequest_UNSPECIFIED 5502 } 5503 5504 func (m *DatabaseCertRequest) GetCertificateExtensions() DatabaseCertRequest_Extensions { 5505 if m != nil { 5506 return m.CertificateExtensions 5507 } 5508 return DatabaseCertRequest_NORMAL 5509 } 5510 5511 func (m *DatabaseCertRequest) GetCRLEndpoint() string { 5512 if m != nil { 5513 return m.CRLEndpoint 5514 } 5515 return "" 5516 } 5517 5518 // DatabaseCertResponse contains the signed certificate. 5519 type DatabaseCertResponse struct { 5520 // Cert is the signed certificate. 5521 Cert []byte `protobuf:"bytes,1,opt,name=Cert,proto3" json:"cert"` 5522 // CACerts is a list of certificate authorities. 5523 CACerts [][]byte `protobuf:"bytes,2,rep,name=CACerts,proto3" json:"ca_certs"` 5524 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5525 XXX_unrecognized []byte `json:"-"` 5526 XXX_sizecache int32 `json:"-"` 5527 } 5528 5529 func (m *DatabaseCertResponse) Reset() { *m = DatabaseCertResponse{} } 5530 func (m *DatabaseCertResponse) String() string { return proto.CompactTextString(m) } 5531 func (*DatabaseCertResponse) ProtoMessage() {} 5532 func (*DatabaseCertResponse) Descriptor() ([]byte, []int) { 5533 return fileDescriptor_0ffcffcda38ae159, []int{76} 5534 } 5535 func (m *DatabaseCertResponse) XXX_Unmarshal(b []byte) error { 5536 return m.Unmarshal(b) 5537 } 5538 func (m *DatabaseCertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5539 if deterministic { 5540 return xxx_messageInfo_DatabaseCertResponse.Marshal(b, m, deterministic) 5541 } else { 5542 b = b[:cap(b)] 5543 n, err := m.MarshalToSizedBuffer(b) 5544 if err != nil { 5545 return nil, err 5546 } 5547 return b[:n], nil 5548 } 5549 } 5550 func (m *DatabaseCertResponse) XXX_Merge(src proto.Message) { 5551 xxx_messageInfo_DatabaseCertResponse.Merge(m, src) 5552 } 5553 func (m *DatabaseCertResponse) XXX_Size() int { 5554 return m.Size() 5555 } 5556 func (m *DatabaseCertResponse) XXX_DiscardUnknown() { 5557 xxx_messageInfo_DatabaseCertResponse.DiscardUnknown(m) 5558 } 5559 5560 var xxx_messageInfo_DatabaseCertResponse proto.InternalMessageInfo 5561 5562 func (m *DatabaseCertResponse) GetCert() []byte { 5563 if m != nil { 5564 return m.Cert 5565 } 5566 return nil 5567 } 5568 5569 func (m *DatabaseCertResponse) GetCACerts() [][]byte { 5570 if m != nil { 5571 return m.CACerts 5572 } 5573 return nil 5574 } 5575 5576 // SnowflakeJWTRequest contains data required to generate Snowflake JWT used for authorization. 5577 type SnowflakeJWTRequest struct { 5578 AccountName string `protobuf:"bytes,1,opt,name=AccountName,proto3" json:"account_name"` 5579 UserName string `protobuf:"bytes,2,opt,name=UserName,proto3" json:"user_name"` 5580 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5581 XXX_unrecognized []byte `json:"-"` 5582 XXX_sizecache int32 `json:"-"` 5583 } 5584 5585 func (m *SnowflakeJWTRequest) Reset() { *m = SnowflakeJWTRequest{} } 5586 func (m *SnowflakeJWTRequest) String() string { return proto.CompactTextString(m) } 5587 func (*SnowflakeJWTRequest) ProtoMessage() {} 5588 func (*SnowflakeJWTRequest) Descriptor() ([]byte, []int) { 5589 return fileDescriptor_0ffcffcda38ae159, []int{77} 5590 } 5591 func (m *SnowflakeJWTRequest) XXX_Unmarshal(b []byte) error { 5592 return m.Unmarshal(b) 5593 } 5594 func (m *SnowflakeJWTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5595 if deterministic { 5596 return xxx_messageInfo_SnowflakeJWTRequest.Marshal(b, m, deterministic) 5597 } else { 5598 b = b[:cap(b)] 5599 n, err := m.MarshalToSizedBuffer(b) 5600 if err != nil { 5601 return nil, err 5602 } 5603 return b[:n], nil 5604 } 5605 } 5606 func (m *SnowflakeJWTRequest) XXX_Merge(src proto.Message) { 5607 xxx_messageInfo_SnowflakeJWTRequest.Merge(m, src) 5608 } 5609 func (m *SnowflakeJWTRequest) XXX_Size() int { 5610 return m.Size() 5611 } 5612 func (m *SnowflakeJWTRequest) XXX_DiscardUnknown() { 5613 xxx_messageInfo_SnowflakeJWTRequest.DiscardUnknown(m) 5614 } 5615 5616 var xxx_messageInfo_SnowflakeJWTRequest proto.InternalMessageInfo 5617 5618 func (m *SnowflakeJWTRequest) GetAccountName() string { 5619 if m != nil { 5620 return m.AccountName 5621 } 5622 return "" 5623 } 5624 5625 func (m *SnowflakeJWTRequest) GetUserName() string { 5626 if m != nil { 5627 return m.UserName 5628 } 5629 return "" 5630 } 5631 5632 // SnowflakeJWTResponse contains signed JWT that can be used for Snowflake authentication. 5633 type SnowflakeJWTResponse struct { 5634 Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"token"` 5635 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5636 XXX_unrecognized []byte `json:"-"` 5637 XXX_sizecache int32 `json:"-"` 5638 } 5639 5640 func (m *SnowflakeJWTResponse) Reset() { *m = SnowflakeJWTResponse{} } 5641 func (m *SnowflakeJWTResponse) String() string { return proto.CompactTextString(m) } 5642 func (*SnowflakeJWTResponse) ProtoMessage() {} 5643 func (*SnowflakeJWTResponse) Descriptor() ([]byte, []int) { 5644 return fileDescriptor_0ffcffcda38ae159, []int{78} 5645 } 5646 func (m *SnowflakeJWTResponse) XXX_Unmarshal(b []byte) error { 5647 return m.Unmarshal(b) 5648 } 5649 func (m *SnowflakeJWTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5650 if deterministic { 5651 return xxx_messageInfo_SnowflakeJWTResponse.Marshal(b, m, deterministic) 5652 } else { 5653 b = b[:cap(b)] 5654 n, err := m.MarshalToSizedBuffer(b) 5655 if err != nil { 5656 return nil, err 5657 } 5658 return b[:n], nil 5659 } 5660 } 5661 func (m *SnowflakeJWTResponse) XXX_Merge(src proto.Message) { 5662 xxx_messageInfo_SnowflakeJWTResponse.Merge(m, src) 5663 } 5664 func (m *SnowflakeJWTResponse) XXX_Size() int { 5665 return m.Size() 5666 } 5667 func (m *SnowflakeJWTResponse) XXX_DiscardUnknown() { 5668 xxx_messageInfo_SnowflakeJWTResponse.DiscardUnknown(m) 5669 } 5670 5671 var xxx_messageInfo_SnowflakeJWTResponse proto.InternalMessageInfo 5672 5673 func (m *SnowflakeJWTResponse) GetToken() string { 5674 if m != nil { 5675 return m.Token 5676 } 5677 return "" 5678 } 5679 5680 // GetRoleRequest is a request to query a role. 5681 type GetRoleRequest struct { 5682 // Name is the name of the role to get. 5683 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` 5684 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5685 XXX_unrecognized []byte `json:"-"` 5686 XXX_sizecache int32 `json:"-"` 5687 } 5688 5689 func (m *GetRoleRequest) Reset() { *m = GetRoleRequest{} } 5690 func (m *GetRoleRequest) String() string { return proto.CompactTextString(m) } 5691 func (*GetRoleRequest) ProtoMessage() {} 5692 func (*GetRoleRequest) Descriptor() ([]byte, []int) { 5693 return fileDescriptor_0ffcffcda38ae159, []int{79} 5694 } 5695 func (m *GetRoleRequest) XXX_Unmarshal(b []byte) error { 5696 return m.Unmarshal(b) 5697 } 5698 func (m *GetRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5699 if deterministic { 5700 return xxx_messageInfo_GetRoleRequest.Marshal(b, m, deterministic) 5701 } else { 5702 b = b[:cap(b)] 5703 n, err := m.MarshalToSizedBuffer(b) 5704 if err != nil { 5705 return nil, err 5706 } 5707 return b[:n], nil 5708 } 5709 } 5710 func (m *GetRoleRequest) XXX_Merge(src proto.Message) { 5711 xxx_messageInfo_GetRoleRequest.Merge(m, src) 5712 } 5713 func (m *GetRoleRequest) XXX_Size() int { 5714 return m.Size() 5715 } 5716 func (m *GetRoleRequest) XXX_DiscardUnknown() { 5717 xxx_messageInfo_GetRoleRequest.DiscardUnknown(m) 5718 } 5719 5720 var xxx_messageInfo_GetRoleRequest proto.InternalMessageInfo 5721 5722 func (m *GetRoleRequest) GetName() string { 5723 if m != nil { 5724 return m.Name 5725 } 5726 return "" 5727 } 5728 5729 // GetRolesResponse is a response to querying for all roles. 5730 type GetRolesResponse struct { 5731 // Roles is a list of roles. 5732 Roles []*types.RoleV6 `protobuf:"bytes,1,rep,name=Roles,proto3" json:"Roles,omitempty"` 5733 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5734 XXX_unrecognized []byte `json:"-"` 5735 XXX_sizecache int32 `json:"-"` 5736 } 5737 5738 func (m *GetRolesResponse) Reset() { *m = GetRolesResponse{} } 5739 func (m *GetRolesResponse) String() string { return proto.CompactTextString(m) } 5740 func (*GetRolesResponse) ProtoMessage() {} 5741 func (*GetRolesResponse) Descriptor() ([]byte, []int) { 5742 return fileDescriptor_0ffcffcda38ae159, []int{80} 5743 } 5744 func (m *GetRolesResponse) XXX_Unmarshal(b []byte) error { 5745 return m.Unmarshal(b) 5746 } 5747 func (m *GetRolesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5748 if deterministic { 5749 return xxx_messageInfo_GetRolesResponse.Marshal(b, m, deterministic) 5750 } else { 5751 b = b[:cap(b)] 5752 n, err := m.MarshalToSizedBuffer(b) 5753 if err != nil { 5754 return nil, err 5755 } 5756 return b[:n], nil 5757 } 5758 } 5759 func (m *GetRolesResponse) XXX_Merge(src proto.Message) { 5760 xxx_messageInfo_GetRolesResponse.Merge(m, src) 5761 } 5762 func (m *GetRolesResponse) XXX_Size() int { 5763 return m.Size() 5764 } 5765 func (m *GetRolesResponse) XXX_DiscardUnknown() { 5766 xxx_messageInfo_GetRolesResponse.DiscardUnknown(m) 5767 } 5768 5769 var xxx_messageInfo_GetRolesResponse proto.InternalMessageInfo 5770 5771 func (m *GetRolesResponse) GetRoles() []*types.RoleV6 { 5772 if m != nil { 5773 return m.Roles 5774 } 5775 return nil 5776 } 5777 5778 // ListRolesRequest encodes parameters for paginated role lookup. 5779 type ListRolesRequest struct { 5780 // Limit is the maximum amount of roles per page. 5781 Limit int32 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"` 5782 // StartKey is used to resume a query in order to enable pagination. 5783 // If the previous response had LastKey set then this should be 5784 // set to its value. Otherwise leave empty. 5785 StartKey string `protobuf:"bytes,2,opt,name=StartKey,proto3" json:"StartKey,omitempty"` 5786 // Filter matches roles. 5787 Filter *types.RoleFilter `protobuf:"bytes,3,opt,name=Filter,proto3" json:"Filter,omitempty"` 5788 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5789 XXX_unrecognized []byte `json:"-"` 5790 XXX_sizecache int32 `json:"-"` 5791 } 5792 5793 func (m *ListRolesRequest) Reset() { *m = ListRolesRequest{} } 5794 func (m *ListRolesRequest) String() string { return proto.CompactTextString(m) } 5795 func (*ListRolesRequest) ProtoMessage() {} 5796 func (*ListRolesRequest) Descriptor() ([]byte, []int) { 5797 return fileDescriptor_0ffcffcda38ae159, []int{81} 5798 } 5799 func (m *ListRolesRequest) XXX_Unmarshal(b []byte) error { 5800 return m.Unmarshal(b) 5801 } 5802 func (m *ListRolesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5803 if deterministic { 5804 return xxx_messageInfo_ListRolesRequest.Marshal(b, m, deterministic) 5805 } else { 5806 b = b[:cap(b)] 5807 n, err := m.MarshalToSizedBuffer(b) 5808 if err != nil { 5809 return nil, err 5810 } 5811 return b[:n], nil 5812 } 5813 } 5814 func (m *ListRolesRequest) XXX_Merge(src proto.Message) { 5815 xxx_messageInfo_ListRolesRequest.Merge(m, src) 5816 } 5817 func (m *ListRolesRequest) XXX_Size() int { 5818 return m.Size() 5819 } 5820 func (m *ListRolesRequest) XXX_DiscardUnknown() { 5821 xxx_messageInfo_ListRolesRequest.DiscardUnknown(m) 5822 } 5823 5824 var xxx_messageInfo_ListRolesRequest proto.InternalMessageInfo 5825 5826 func (m *ListRolesRequest) GetLimit() int32 { 5827 if m != nil { 5828 return m.Limit 5829 } 5830 return 0 5831 } 5832 5833 func (m *ListRolesRequest) GetStartKey() string { 5834 if m != nil { 5835 return m.StartKey 5836 } 5837 return "" 5838 } 5839 5840 func (m *ListRolesRequest) GetFilter() *types.RoleFilter { 5841 if m != nil { 5842 return m.Filter 5843 } 5844 return nil 5845 } 5846 5847 // ListRolesResponse is a page of roles. 5848 type ListRolesResponse struct { 5849 // Roles is a page of roles. 5850 Roles []*types.RoleV6 `protobuf:"bytes,1,rep,name=Roles,proto3" json:"Roles,omitempty"` 5851 // NextKey will serve as the StartKey for the next page of roles. 5852 NextKey string `protobuf:"bytes,2,opt,name=NextKey,proto3" json:"NextKey,omitempty"` 5853 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5854 XXX_unrecognized []byte `json:"-"` 5855 XXX_sizecache int32 `json:"-"` 5856 } 5857 5858 func (m *ListRolesResponse) Reset() { *m = ListRolesResponse{} } 5859 func (m *ListRolesResponse) String() string { return proto.CompactTextString(m) } 5860 func (*ListRolesResponse) ProtoMessage() {} 5861 func (*ListRolesResponse) Descriptor() ([]byte, []int) { 5862 return fileDescriptor_0ffcffcda38ae159, []int{82} 5863 } 5864 func (m *ListRolesResponse) XXX_Unmarshal(b []byte) error { 5865 return m.Unmarshal(b) 5866 } 5867 func (m *ListRolesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5868 if deterministic { 5869 return xxx_messageInfo_ListRolesResponse.Marshal(b, m, deterministic) 5870 } else { 5871 b = b[:cap(b)] 5872 n, err := m.MarshalToSizedBuffer(b) 5873 if err != nil { 5874 return nil, err 5875 } 5876 return b[:n], nil 5877 } 5878 } 5879 func (m *ListRolesResponse) XXX_Merge(src proto.Message) { 5880 xxx_messageInfo_ListRolesResponse.Merge(m, src) 5881 } 5882 func (m *ListRolesResponse) XXX_Size() int { 5883 return m.Size() 5884 } 5885 func (m *ListRolesResponse) XXX_DiscardUnknown() { 5886 xxx_messageInfo_ListRolesResponse.DiscardUnknown(m) 5887 } 5888 5889 var xxx_messageInfo_ListRolesResponse proto.InternalMessageInfo 5890 5891 func (m *ListRolesResponse) GetRoles() []*types.RoleV6 { 5892 if m != nil { 5893 return m.Roles 5894 } 5895 return nil 5896 } 5897 5898 func (m *ListRolesResponse) GetNextKey() string { 5899 if m != nil { 5900 return m.NextKey 5901 } 5902 return "" 5903 } 5904 5905 // Request for CreateRole. 5906 type CreateRoleRequest struct { 5907 // Role to be created. 5908 Role *types.RoleV6 `protobuf:"bytes,1,opt,name=Role,proto3" json:"Role,omitempty"` 5909 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5910 XXX_unrecognized []byte `json:"-"` 5911 XXX_sizecache int32 `json:"-"` 5912 } 5913 5914 func (m *CreateRoleRequest) Reset() { *m = CreateRoleRequest{} } 5915 func (m *CreateRoleRequest) String() string { return proto.CompactTextString(m) } 5916 func (*CreateRoleRequest) ProtoMessage() {} 5917 func (*CreateRoleRequest) Descriptor() ([]byte, []int) { 5918 return fileDescriptor_0ffcffcda38ae159, []int{83} 5919 } 5920 func (m *CreateRoleRequest) XXX_Unmarshal(b []byte) error { 5921 return m.Unmarshal(b) 5922 } 5923 func (m *CreateRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5924 if deterministic { 5925 return xxx_messageInfo_CreateRoleRequest.Marshal(b, m, deterministic) 5926 } else { 5927 b = b[:cap(b)] 5928 n, err := m.MarshalToSizedBuffer(b) 5929 if err != nil { 5930 return nil, err 5931 } 5932 return b[:n], nil 5933 } 5934 } 5935 func (m *CreateRoleRequest) XXX_Merge(src proto.Message) { 5936 xxx_messageInfo_CreateRoleRequest.Merge(m, src) 5937 } 5938 func (m *CreateRoleRequest) XXX_Size() int { 5939 return m.Size() 5940 } 5941 func (m *CreateRoleRequest) XXX_DiscardUnknown() { 5942 xxx_messageInfo_CreateRoleRequest.DiscardUnknown(m) 5943 } 5944 5945 var xxx_messageInfo_CreateRoleRequest proto.InternalMessageInfo 5946 5947 func (m *CreateRoleRequest) GetRole() *types.RoleV6 { 5948 if m != nil { 5949 return m.Role 5950 } 5951 return nil 5952 } 5953 5954 // Request for UpdateRole. 5955 type UpdateRoleRequest struct { 5956 // Role to be updated. 5957 Role *types.RoleV6 `protobuf:"bytes,1,opt,name=Role,proto3" json:"Role,omitempty"` 5958 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5959 XXX_unrecognized []byte `json:"-"` 5960 XXX_sizecache int32 `json:"-"` 5961 } 5962 5963 func (m *UpdateRoleRequest) Reset() { *m = UpdateRoleRequest{} } 5964 func (m *UpdateRoleRequest) String() string { return proto.CompactTextString(m) } 5965 func (*UpdateRoleRequest) ProtoMessage() {} 5966 func (*UpdateRoleRequest) Descriptor() ([]byte, []int) { 5967 return fileDescriptor_0ffcffcda38ae159, []int{84} 5968 } 5969 func (m *UpdateRoleRequest) XXX_Unmarshal(b []byte) error { 5970 return m.Unmarshal(b) 5971 } 5972 func (m *UpdateRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5973 if deterministic { 5974 return xxx_messageInfo_UpdateRoleRequest.Marshal(b, m, deterministic) 5975 } else { 5976 b = b[:cap(b)] 5977 n, err := m.MarshalToSizedBuffer(b) 5978 if err != nil { 5979 return nil, err 5980 } 5981 return b[:n], nil 5982 } 5983 } 5984 func (m *UpdateRoleRequest) XXX_Merge(src proto.Message) { 5985 xxx_messageInfo_UpdateRoleRequest.Merge(m, src) 5986 } 5987 func (m *UpdateRoleRequest) XXX_Size() int { 5988 return m.Size() 5989 } 5990 func (m *UpdateRoleRequest) XXX_DiscardUnknown() { 5991 xxx_messageInfo_UpdateRoleRequest.DiscardUnknown(m) 5992 } 5993 5994 var xxx_messageInfo_UpdateRoleRequest proto.InternalMessageInfo 5995 5996 func (m *UpdateRoleRequest) GetRole() *types.RoleV6 { 5997 if m != nil { 5998 return m.Role 5999 } 6000 return nil 6001 } 6002 6003 // Request for UpsertRole. 6004 type UpsertRoleRequest struct { 6005 // Role to be upserted. 6006 Role *types.RoleV6 `protobuf:"bytes,1,opt,name=Role,proto3" json:"Role,omitempty"` 6007 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6008 XXX_unrecognized []byte `json:"-"` 6009 XXX_sizecache int32 `json:"-"` 6010 } 6011 6012 func (m *UpsertRoleRequest) Reset() { *m = UpsertRoleRequest{} } 6013 func (m *UpsertRoleRequest) String() string { return proto.CompactTextString(m) } 6014 func (*UpsertRoleRequest) ProtoMessage() {} 6015 func (*UpsertRoleRequest) Descriptor() ([]byte, []int) { 6016 return fileDescriptor_0ffcffcda38ae159, []int{85} 6017 } 6018 func (m *UpsertRoleRequest) XXX_Unmarshal(b []byte) error { 6019 return m.Unmarshal(b) 6020 } 6021 func (m *UpsertRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6022 if deterministic { 6023 return xxx_messageInfo_UpsertRoleRequest.Marshal(b, m, deterministic) 6024 } else { 6025 b = b[:cap(b)] 6026 n, err := m.MarshalToSizedBuffer(b) 6027 if err != nil { 6028 return nil, err 6029 } 6030 return b[:n], nil 6031 } 6032 } 6033 func (m *UpsertRoleRequest) XXX_Merge(src proto.Message) { 6034 xxx_messageInfo_UpsertRoleRequest.Merge(m, src) 6035 } 6036 func (m *UpsertRoleRequest) XXX_Size() int { 6037 return m.Size() 6038 } 6039 func (m *UpsertRoleRequest) XXX_DiscardUnknown() { 6040 xxx_messageInfo_UpsertRoleRequest.DiscardUnknown(m) 6041 } 6042 6043 var xxx_messageInfo_UpsertRoleRequest proto.InternalMessageInfo 6044 6045 func (m *UpsertRoleRequest) GetRole() *types.RoleV6 { 6046 if m != nil { 6047 return m.Role 6048 } 6049 return nil 6050 } 6051 6052 // DeleteRoleRequest is a request to delete a role. 6053 type DeleteRoleRequest struct { 6054 // Name is the role name to delete. 6055 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` 6056 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6057 XXX_unrecognized []byte `json:"-"` 6058 XXX_sizecache int32 `json:"-"` 6059 } 6060 6061 func (m *DeleteRoleRequest) Reset() { *m = DeleteRoleRequest{} } 6062 func (m *DeleteRoleRequest) String() string { return proto.CompactTextString(m) } 6063 func (*DeleteRoleRequest) ProtoMessage() {} 6064 func (*DeleteRoleRequest) Descriptor() ([]byte, []int) { 6065 return fileDescriptor_0ffcffcda38ae159, []int{86} 6066 } 6067 func (m *DeleteRoleRequest) XXX_Unmarshal(b []byte) error { 6068 return m.Unmarshal(b) 6069 } 6070 func (m *DeleteRoleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6071 if deterministic { 6072 return xxx_messageInfo_DeleteRoleRequest.Marshal(b, m, deterministic) 6073 } else { 6074 b = b[:cap(b)] 6075 n, err := m.MarshalToSizedBuffer(b) 6076 if err != nil { 6077 return nil, err 6078 } 6079 return b[:n], nil 6080 } 6081 } 6082 func (m *DeleteRoleRequest) XXX_Merge(src proto.Message) { 6083 xxx_messageInfo_DeleteRoleRequest.Merge(m, src) 6084 } 6085 func (m *DeleteRoleRequest) XXX_Size() int { 6086 return m.Size() 6087 } 6088 func (m *DeleteRoleRequest) XXX_DiscardUnknown() { 6089 xxx_messageInfo_DeleteRoleRequest.DiscardUnknown(m) 6090 } 6091 6092 var xxx_messageInfo_DeleteRoleRequest proto.InternalMessageInfo 6093 6094 func (m *DeleteRoleRequest) GetName() string { 6095 if m != nil { 6096 return m.Name 6097 } 6098 return "" 6099 } 6100 6101 // MFAAuthenticateChallenge is a challenge for all MFA devices registered for a 6102 // user. 6103 type MFAAuthenticateChallenge struct { 6104 // TOTP is a challenge for all TOTP devices registered for a user. When 6105 // this field is set, any TOTP device a user has registered can be used to 6106 // respond. 6107 TOTP *TOTPChallenge `protobuf:"bytes,2,opt,name=TOTP,proto3" json:"TOTP,omitempty"` 6108 // WebauthnChallenge contains a Webauthn credential assertion used for 6109 // login/authentication ceremonies. 6110 // Credential assertions hold, among other information, a list of allowed 6111 // credentials for the ceremony (one for each U2F or Webauthn device 6112 // registered by the user). 6113 WebauthnChallenge *webauthn.CredentialAssertion `protobuf:"bytes,3,opt,name=WebauthnChallenge,proto3" json:"WebauthnChallenge,omitempty"` 6114 // MFRequired indicates whether proceeding with the MFA ceremony will 6115 // grant access to the resource. 6116 // 6117 // If `MFA_REQUIRED_NO` is returned then the server may opt to end ongoing 6118 // communications, in case of streaming RPCs. It may also return empty 6119 // challenges for all other fields. 6120 MFARequired MFARequired `protobuf:"varint,4,opt,name=MFARequired,proto3,enum=proto.MFARequired" json:"MFARequired,omitempty"` 6121 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6122 XXX_unrecognized []byte `json:"-"` 6123 XXX_sizecache int32 `json:"-"` 6124 } 6125 6126 func (m *MFAAuthenticateChallenge) Reset() { *m = MFAAuthenticateChallenge{} } 6127 func (m *MFAAuthenticateChallenge) String() string { return proto.CompactTextString(m) } 6128 func (*MFAAuthenticateChallenge) ProtoMessage() {} 6129 func (*MFAAuthenticateChallenge) Descriptor() ([]byte, []int) { 6130 return fileDescriptor_0ffcffcda38ae159, []int{87} 6131 } 6132 func (m *MFAAuthenticateChallenge) XXX_Unmarshal(b []byte) error { 6133 return m.Unmarshal(b) 6134 } 6135 func (m *MFAAuthenticateChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6136 if deterministic { 6137 return xxx_messageInfo_MFAAuthenticateChallenge.Marshal(b, m, deterministic) 6138 } else { 6139 b = b[:cap(b)] 6140 n, err := m.MarshalToSizedBuffer(b) 6141 if err != nil { 6142 return nil, err 6143 } 6144 return b[:n], nil 6145 } 6146 } 6147 func (m *MFAAuthenticateChallenge) XXX_Merge(src proto.Message) { 6148 xxx_messageInfo_MFAAuthenticateChallenge.Merge(m, src) 6149 } 6150 func (m *MFAAuthenticateChallenge) XXX_Size() int { 6151 return m.Size() 6152 } 6153 func (m *MFAAuthenticateChallenge) XXX_DiscardUnknown() { 6154 xxx_messageInfo_MFAAuthenticateChallenge.DiscardUnknown(m) 6155 } 6156 6157 var xxx_messageInfo_MFAAuthenticateChallenge proto.InternalMessageInfo 6158 6159 func (m *MFAAuthenticateChallenge) GetTOTP() *TOTPChallenge { 6160 if m != nil { 6161 return m.TOTP 6162 } 6163 return nil 6164 } 6165 6166 func (m *MFAAuthenticateChallenge) GetWebauthnChallenge() *webauthn.CredentialAssertion { 6167 if m != nil { 6168 return m.WebauthnChallenge 6169 } 6170 return nil 6171 } 6172 6173 func (m *MFAAuthenticateChallenge) GetMFARequired() MFARequired { 6174 if m != nil { 6175 return m.MFARequired 6176 } 6177 return MFARequired_MFA_REQUIRED_UNSPECIFIED 6178 } 6179 6180 // MFAAuthenticateResponse is a response to MFAAuthenticateChallenge using one 6181 // of the MFA devices registered for a user. 6182 type MFAAuthenticateResponse struct { 6183 // Types that are valid to be assigned to Response: 6184 // *MFAAuthenticateResponse_TOTP 6185 // *MFAAuthenticateResponse_Webauthn 6186 Response isMFAAuthenticateResponse_Response `protobuf_oneof:"Response"` 6187 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6188 XXX_unrecognized []byte `json:"-"` 6189 XXX_sizecache int32 `json:"-"` 6190 } 6191 6192 func (m *MFAAuthenticateResponse) Reset() { *m = MFAAuthenticateResponse{} } 6193 func (m *MFAAuthenticateResponse) String() string { return proto.CompactTextString(m) } 6194 func (*MFAAuthenticateResponse) ProtoMessage() {} 6195 func (*MFAAuthenticateResponse) Descriptor() ([]byte, []int) { 6196 return fileDescriptor_0ffcffcda38ae159, []int{88} 6197 } 6198 func (m *MFAAuthenticateResponse) XXX_Unmarshal(b []byte) error { 6199 return m.Unmarshal(b) 6200 } 6201 func (m *MFAAuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6202 if deterministic { 6203 return xxx_messageInfo_MFAAuthenticateResponse.Marshal(b, m, deterministic) 6204 } else { 6205 b = b[:cap(b)] 6206 n, err := m.MarshalToSizedBuffer(b) 6207 if err != nil { 6208 return nil, err 6209 } 6210 return b[:n], nil 6211 } 6212 } 6213 func (m *MFAAuthenticateResponse) XXX_Merge(src proto.Message) { 6214 xxx_messageInfo_MFAAuthenticateResponse.Merge(m, src) 6215 } 6216 func (m *MFAAuthenticateResponse) XXX_Size() int { 6217 return m.Size() 6218 } 6219 func (m *MFAAuthenticateResponse) XXX_DiscardUnknown() { 6220 xxx_messageInfo_MFAAuthenticateResponse.DiscardUnknown(m) 6221 } 6222 6223 var xxx_messageInfo_MFAAuthenticateResponse proto.InternalMessageInfo 6224 6225 type isMFAAuthenticateResponse_Response interface { 6226 isMFAAuthenticateResponse_Response() 6227 MarshalTo([]byte) (int, error) 6228 Size() int 6229 } 6230 6231 type MFAAuthenticateResponse_TOTP struct { 6232 TOTP *TOTPResponse `protobuf:"bytes,2,opt,name=TOTP,proto3,oneof" json:"TOTP,omitempty"` 6233 } 6234 type MFAAuthenticateResponse_Webauthn struct { 6235 Webauthn *webauthn.CredentialAssertionResponse `protobuf:"bytes,3,opt,name=Webauthn,proto3,oneof" json:"Webauthn,omitempty"` 6236 } 6237 6238 func (*MFAAuthenticateResponse_TOTP) isMFAAuthenticateResponse_Response() {} 6239 func (*MFAAuthenticateResponse_Webauthn) isMFAAuthenticateResponse_Response() {} 6240 6241 func (m *MFAAuthenticateResponse) GetResponse() isMFAAuthenticateResponse_Response { 6242 if m != nil { 6243 return m.Response 6244 } 6245 return nil 6246 } 6247 6248 func (m *MFAAuthenticateResponse) GetTOTP() *TOTPResponse { 6249 if x, ok := m.GetResponse().(*MFAAuthenticateResponse_TOTP); ok { 6250 return x.TOTP 6251 } 6252 return nil 6253 } 6254 6255 func (m *MFAAuthenticateResponse) GetWebauthn() *webauthn.CredentialAssertionResponse { 6256 if x, ok := m.GetResponse().(*MFAAuthenticateResponse_Webauthn); ok { 6257 return x.Webauthn 6258 } 6259 return nil 6260 } 6261 6262 // XXX_OneofWrappers is for the internal use of the proto package. 6263 func (*MFAAuthenticateResponse) XXX_OneofWrappers() []interface{} { 6264 return []interface{}{ 6265 (*MFAAuthenticateResponse_TOTP)(nil), 6266 (*MFAAuthenticateResponse_Webauthn)(nil), 6267 } 6268 } 6269 6270 // TOTPChallenge is a challenge for all TOTP devices registered for a user. 6271 type TOTPChallenge struct { 6272 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6273 XXX_unrecognized []byte `json:"-"` 6274 XXX_sizecache int32 `json:"-"` 6275 } 6276 6277 func (m *TOTPChallenge) Reset() { *m = TOTPChallenge{} } 6278 func (m *TOTPChallenge) String() string { return proto.CompactTextString(m) } 6279 func (*TOTPChallenge) ProtoMessage() {} 6280 func (*TOTPChallenge) Descriptor() ([]byte, []int) { 6281 return fileDescriptor_0ffcffcda38ae159, []int{89} 6282 } 6283 func (m *TOTPChallenge) XXX_Unmarshal(b []byte) error { 6284 return m.Unmarshal(b) 6285 } 6286 func (m *TOTPChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6287 if deterministic { 6288 return xxx_messageInfo_TOTPChallenge.Marshal(b, m, deterministic) 6289 } else { 6290 b = b[:cap(b)] 6291 n, err := m.MarshalToSizedBuffer(b) 6292 if err != nil { 6293 return nil, err 6294 } 6295 return b[:n], nil 6296 } 6297 } 6298 func (m *TOTPChallenge) XXX_Merge(src proto.Message) { 6299 xxx_messageInfo_TOTPChallenge.Merge(m, src) 6300 } 6301 func (m *TOTPChallenge) XXX_Size() int { 6302 return m.Size() 6303 } 6304 func (m *TOTPChallenge) XXX_DiscardUnknown() { 6305 xxx_messageInfo_TOTPChallenge.DiscardUnknown(m) 6306 } 6307 6308 var xxx_messageInfo_TOTPChallenge proto.InternalMessageInfo 6309 6310 // TOTPResponse is a response to TOTPChallenge. 6311 type TOTPResponse struct { 6312 Code string `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"` 6313 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6314 XXX_unrecognized []byte `json:"-"` 6315 XXX_sizecache int32 `json:"-"` 6316 } 6317 6318 func (m *TOTPResponse) Reset() { *m = TOTPResponse{} } 6319 func (m *TOTPResponse) String() string { return proto.CompactTextString(m) } 6320 func (*TOTPResponse) ProtoMessage() {} 6321 func (*TOTPResponse) Descriptor() ([]byte, []int) { 6322 return fileDescriptor_0ffcffcda38ae159, []int{90} 6323 } 6324 func (m *TOTPResponse) XXX_Unmarshal(b []byte) error { 6325 return m.Unmarshal(b) 6326 } 6327 func (m *TOTPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6328 if deterministic { 6329 return xxx_messageInfo_TOTPResponse.Marshal(b, m, deterministic) 6330 } else { 6331 b = b[:cap(b)] 6332 n, err := m.MarshalToSizedBuffer(b) 6333 if err != nil { 6334 return nil, err 6335 } 6336 return b[:n], nil 6337 } 6338 } 6339 func (m *TOTPResponse) XXX_Merge(src proto.Message) { 6340 xxx_messageInfo_TOTPResponse.Merge(m, src) 6341 } 6342 func (m *TOTPResponse) XXX_Size() int { 6343 return m.Size() 6344 } 6345 func (m *TOTPResponse) XXX_DiscardUnknown() { 6346 xxx_messageInfo_TOTPResponse.DiscardUnknown(m) 6347 } 6348 6349 var xxx_messageInfo_TOTPResponse proto.InternalMessageInfo 6350 6351 func (m *TOTPResponse) GetCode() string { 6352 if m != nil { 6353 return m.Code 6354 } 6355 return "" 6356 } 6357 6358 // MFARegisterChallenge is a challenge for registering a new MFA device. 6359 type MFARegisterChallenge struct { 6360 // Request depends on the type of the MFA device being registered. 6361 // 6362 // Types that are valid to be assigned to Request: 6363 // *MFARegisterChallenge_TOTP 6364 // *MFARegisterChallenge_Webauthn 6365 Request isMFARegisterChallenge_Request `protobuf_oneof:"Request"` 6366 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6367 XXX_unrecognized []byte `json:"-"` 6368 XXX_sizecache int32 `json:"-"` 6369 } 6370 6371 func (m *MFARegisterChallenge) Reset() { *m = MFARegisterChallenge{} } 6372 func (m *MFARegisterChallenge) String() string { return proto.CompactTextString(m) } 6373 func (*MFARegisterChallenge) ProtoMessage() {} 6374 func (*MFARegisterChallenge) Descriptor() ([]byte, []int) { 6375 return fileDescriptor_0ffcffcda38ae159, []int{91} 6376 } 6377 func (m *MFARegisterChallenge) XXX_Unmarshal(b []byte) error { 6378 return m.Unmarshal(b) 6379 } 6380 func (m *MFARegisterChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6381 if deterministic { 6382 return xxx_messageInfo_MFARegisterChallenge.Marshal(b, m, deterministic) 6383 } else { 6384 b = b[:cap(b)] 6385 n, err := m.MarshalToSizedBuffer(b) 6386 if err != nil { 6387 return nil, err 6388 } 6389 return b[:n], nil 6390 } 6391 } 6392 func (m *MFARegisterChallenge) XXX_Merge(src proto.Message) { 6393 xxx_messageInfo_MFARegisterChallenge.Merge(m, src) 6394 } 6395 func (m *MFARegisterChallenge) XXX_Size() int { 6396 return m.Size() 6397 } 6398 func (m *MFARegisterChallenge) XXX_DiscardUnknown() { 6399 xxx_messageInfo_MFARegisterChallenge.DiscardUnknown(m) 6400 } 6401 6402 var xxx_messageInfo_MFARegisterChallenge proto.InternalMessageInfo 6403 6404 type isMFARegisterChallenge_Request interface { 6405 isMFARegisterChallenge_Request() 6406 MarshalTo([]byte) (int, error) 6407 Size() int 6408 } 6409 6410 type MFARegisterChallenge_TOTP struct { 6411 TOTP *TOTPRegisterChallenge `protobuf:"bytes,2,opt,name=TOTP,proto3,oneof" json:"TOTP,omitempty"` 6412 } 6413 type MFARegisterChallenge_Webauthn struct { 6414 Webauthn *webauthn.CredentialCreation `protobuf:"bytes,3,opt,name=Webauthn,proto3,oneof" json:"Webauthn,omitempty"` 6415 } 6416 6417 func (*MFARegisterChallenge_TOTP) isMFARegisterChallenge_Request() {} 6418 func (*MFARegisterChallenge_Webauthn) isMFARegisterChallenge_Request() {} 6419 6420 func (m *MFARegisterChallenge) GetRequest() isMFARegisterChallenge_Request { 6421 if m != nil { 6422 return m.Request 6423 } 6424 return nil 6425 } 6426 6427 func (m *MFARegisterChallenge) GetTOTP() *TOTPRegisterChallenge { 6428 if x, ok := m.GetRequest().(*MFARegisterChallenge_TOTP); ok { 6429 return x.TOTP 6430 } 6431 return nil 6432 } 6433 6434 func (m *MFARegisterChallenge) GetWebauthn() *webauthn.CredentialCreation { 6435 if x, ok := m.GetRequest().(*MFARegisterChallenge_Webauthn); ok { 6436 return x.Webauthn 6437 } 6438 return nil 6439 } 6440 6441 // XXX_OneofWrappers is for the internal use of the proto package. 6442 func (*MFARegisterChallenge) XXX_OneofWrappers() []interface{} { 6443 return []interface{}{ 6444 (*MFARegisterChallenge_TOTP)(nil), 6445 (*MFARegisterChallenge_Webauthn)(nil), 6446 } 6447 } 6448 6449 // MFARegisterResponse is a response to MFARegisterChallenge. 6450 type MFARegisterResponse struct { 6451 // Types that are valid to be assigned to Response: 6452 // *MFARegisterResponse_TOTP 6453 // *MFARegisterResponse_Webauthn 6454 Response isMFARegisterResponse_Response `protobuf_oneof:"Response"` 6455 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6456 XXX_unrecognized []byte `json:"-"` 6457 XXX_sizecache int32 `json:"-"` 6458 } 6459 6460 func (m *MFARegisterResponse) Reset() { *m = MFARegisterResponse{} } 6461 func (m *MFARegisterResponse) String() string { return proto.CompactTextString(m) } 6462 func (*MFARegisterResponse) ProtoMessage() {} 6463 func (*MFARegisterResponse) Descriptor() ([]byte, []int) { 6464 return fileDescriptor_0ffcffcda38ae159, []int{92} 6465 } 6466 func (m *MFARegisterResponse) XXX_Unmarshal(b []byte) error { 6467 return m.Unmarshal(b) 6468 } 6469 func (m *MFARegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6470 if deterministic { 6471 return xxx_messageInfo_MFARegisterResponse.Marshal(b, m, deterministic) 6472 } else { 6473 b = b[:cap(b)] 6474 n, err := m.MarshalToSizedBuffer(b) 6475 if err != nil { 6476 return nil, err 6477 } 6478 return b[:n], nil 6479 } 6480 } 6481 func (m *MFARegisterResponse) XXX_Merge(src proto.Message) { 6482 xxx_messageInfo_MFARegisterResponse.Merge(m, src) 6483 } 6484 func (m *MFARegisterResponse) XXX_Size() int { 6485 return m.Size() 6486 } 6487 func (m *MFARegisterResponse) XXX_DiscardUnknown() { 6488 xxx_messageInfo_MFARegisterResponse.DiscardUnknown(m) 6489 } 6490 6491 var xxx_messageInfo_MFARegisterResponse proto.InternalMessageInfo 6492 6493 type isMFARegisterResponse_Response interface { 6494 isMFARegisterResponse_Response() 6495 MarshalTo([]byte) (int, error) 6496 Size() int 6497 } 6498 6499 type MFARegisterResponse_TOTP struct { 6500 TOTP *TOTPRegisterResponse `protobuf:"bytes,2,opt,name=TOTP,proto3,oneof" json:"TOTP,omitempty"` 6501 } 6502 type MFARegisterResponse_Webauthn struct { 6503 Webauthn *webauthn.CredentialCreationResponse `protobuf:"bytes,3,opt,name=Webauthn,proto3,oneof" json:"Webauthn,omitempty"` 6504 } 6505 6506 func (*MFARegisterResponse_TOTP) isMFARegisterResponse_Response() {} 6507 func (*MFARegisterResponse_Webauthn) isMFARegisterResponse_Response() {} 6508 6509 func (m *MFARegisterResponse) GetResponse() isMFARegisterResponse_Response { 6510 if m != nil { 6511 return m.Response 6512 } 6513 return nil 6514 } 6515 6516 func (m *MFARegisterResponse) GetTOTP() *TOTPRegisterResponse { 6517 if x, ok := m.GetResponse().(*MFARegisterResponse_TOTP); ok { 6518 return x.TOTP 6519 } 6520 return nil 6521 } 6522 6523 func (m *MFARegisterResponse) GetWebauthn() *webauthn.CredentialCreationResponse { 6524 if x, ok := m.GetResponse().(*MFARegisterResponse_Webauthn); ok { 6525 return x.Webauthn 6526 } 6527 return nil 6528 } 6529 6530 // XXX_OneofWrappers is for the internal use of the proto package. 6531 func (*MFARegisterResponse) XXX_OneofWrappers() []interface{} { 6532 return []interface{}{ 6533 (*MFARegisterResponse_TOTP)(nil), 6534 (*MFARegisterResponse_Webauthn)(nil), 6535 } 6536 } 6537 6538 // TOTPRegisterChallenge is a challenge for registering a new TOTP device. 6539 type TOTPRegisterChallenge struct { 6540 // Secret is a secret shared by client and server to generate codes. 6541 Secret string `protobuf:"bytes,1,opt,name=Secret,proto3" json:"Secret,omitempty"` 6542 // Issuer is the name of the Teleport cluster. 6543 Issuer string `protobuf:"bytes,2,opt,name=Issuer,proto3" json:"Issuer,omitempty"` 6544 // PeriodSeconds is a period for TOTP code rotation, in seconds. 6545 PeriodSeconds uint32 `protobuf:"varint,3,opt,name=PeriodSeconds,proto3" json:"PeriodSeconds,omitempty"` 6546 // Algorithm is the TOTP hashing algorithm. 6547 Algorithm string `protobuf:"bytes,4,opt,name=Algorithm,proto3" json:"Algorithm,omitempty"` 6548 // Digits is the number of digits in the TOTP code. 6549 Digits uint32 `protobuf:"varint,5,opt,name=Digits,proto3" json:"Digits,omitempty"` 6550 // Account is the account name for this user. 6551 Account string `protobuf:"bytes,6,opt,name=Account,proto3" json:"Account,omitempty"` 6552 // QRCode is an optional field for the QR code in PNG format. Used to display a QR code 6553 // image in the UI. 6554 QRCode []byte `protobuf:"bytes,7,opt,name=QRCode,proto3" json:"QRCode,omitempty"` 6555 // ID of the TOTP challenge. 6556 // Send this back in the TOTPRegisterResponse. 6557 ID string `protobuf:"bytes,8,opt,name=ID,proto3" json:"ID,omitempty"` 6558 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6559 XXX_unrecognized []byte `json:"-"` 6560 XXX_sizecache int32 `json:"-"` 6561 } 6562 6563 func (m *TOTPRegisterChallenge) Reset() { *m = TOTPRegisterChallenge{} } 6564 func (m *TOTPRegisterChallenge) String() string { return proto.CompactTextString(m) } 6565 func (*TOTPRegisterChallenge) ProtoMessage() {} 6566 func (*TOTPRegisterChallenge) Descriptor() ([]byte, []int) { 6567 return fileDescriptor_0ffcffcda38ae159, []int{93} 6568 } 6569 func (m *TOTPRegisterChallenge) XXX_Unmarshal(b []byte) error { 6570 return m.Unmarshal(b) 6571 } 6572 func (m *TOTPRegisterChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6573 if deterministic { 6574 return xxx_messageInfo_TOTPRegisterChallenge.Marshal(b, m, deterministic) 6575 } else { 6576 b = b[:cap(b)] 6577 n, err := m.MarshalToSizedBuffer(b) 6578 if err != nil { 6579 return nil, err 6580 } 6581 return b[:n], nil 6582 } 6583 } 6584 func (m *TOTPRegisterChallenge) XXX_Merge(src proto.Message) { 6585 xxx_messageInfo_TOTPRegisterChallenge.Merge(m, src) 6586 } 6587 func (m *TOTPRegisterChallenge) XXX_Size() int { 6588 return m.Size() 6589 } 6590 func (m *TOTPRegisterChallenge) XXX_DiscardUnknown() { 6591 xxx_messageInfo_TOTPRegisterChallenge.DiscardUnknown(m) 6592 } 6593 6594 var xxx_messageInfo_TOTPRegisterChallenge proto.InternalMessageInfo 6595 6596 func (m *TOTPRegisterChallenge) GetSecret() string { 6597 if m != nil { 6598 return m.Secret 6599 } 6600 return "" 6601 } 6602 6603 func (m *TOTPRegisterChallenge) GetIssuer() string { 6604 if m != nil { 6605 return m.Issuer 6606 } 6607 return "" 6608 } 6609 6610 func (m *TOTPRegisterChallenge) GetPeriodSeconds() uint32 { 6611 if m != nil { 6612 return m.PeriodSeconds 6613 } 6614 return 0 6615 } 6616 6617 func (m *TOTPRegisterChallenge) GetAlgorithm() string { 6618 if m != nil { 6619 return m.Algorithm 6620 } 6621 return "" 6622 } 6623 6624 func (m *TOTPRegisterChallenge) GetDigits() uint32 { 6625 if m != nil { 6626 return m.Digits 6627 } 6628 return 0 6629 } 6630 6631 func (m *TOTPRegisterChallenge) GetAccount() string { 6632 if m != nil { 6633 return m.Account 6634 } 6635 return "" 6636 } 6637 6638 func (m *TOTPRegisterChallenge) GetQRCode() []byte { 6639 if m != nil { 6640 return m.QRCode 6641 } 6642 return nil 6643 } 6644 6645 func (m *TOTPRegisterChallenge) GetID() string { 6646 if m != nil { 6647 return m.ID 6648 } 6649 return "" 6650 } 6651 6652 // TOTPRegisterResponse is a response to TOTPRegisterChallenge. 6653 type TOTPRegisterResponse struct { 6654 Code string `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"` 6655 // ID of the TOTP challenge, as informed by the TOTPRegisterChallenge. 6656 ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"` 6657 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6658 XXX_unrecognized []byte `json:"-"` 6659 XXX_sizecache int32 `json:"-"` 6660 } 6661 6662 func (m *TOTPRegisterResponse) Reset() { *m = TOTPRegisterResponse{} } 6663 func (m *TOTPRegisterResponse) String() string { return proto.CompactTextString(m) } 6664 func (*TOTPRegisterResponse) ProtoMessage() {} 6665 func (*TOTPRegisterResponse) Descriptor() ([]byte, []int) { 6666 return fileDescriptor_0ffcffcda38ae159, []int{94} 6667 } 6668 func (m *TOTPRegisterResponse) XXX_Unmarshal(b []byte) error { 6669 return m.Unmarshal(b) 6670 } 6671 func (m *TOTPRegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6672 if deterministic { 6673 return xxx_messageInfo_TOTPRegisterResponse.Marshal(b, m, deterministic) 6674 } else { 6675 b = b[:cap(b)] 6676 n, err := m.MarshalToSizedBuffer(b) 6677 if err != nil { 6678 return nil, err 6679 } 6680 return b[:n], nil 6681 } 6682 } 6683 func (m *TOTPRegisterResponse) XXX_Merge(src proto.Message) { 6684 xxx_messageInfo_TOTPRegisterResponse.Merge(m, src) 6685 } 6686 func (m *TOTPRegisterResponse) XXX_Size() int { 6687 return m.Size() 6688 } 6689 func (m *TOTPRegisterResponse) XXX_DiscardUnknown() { 6690 xxx_messageInfo_TOTPRegisterResponse.DiscardUnknown(m) 6691 } 6692 6693 var xxx_messageInfo_TOTPRegisterResponse proto.InternalMessageInfo 6694 6695 func (m *TOTPRegisterResponse) GetCode() string { 6696 if m != nil { 6697 return m.Code 6698 } 6699 return "" 6700 } 6701 6702 func (m *TOTPRegisterResponse) GetID() string { 6703 if m != nil { 6704 return m.ID 6705 } 6706 return "" 6707 } 6708 6709 // Deprecated: Use [AuthService.AddMFADeviceSync] instead. 6710 type AddMFADeviceRequest struct { 6711 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6712 XXX_unrecognized []byte `json:"-"` 6713 XXX_sizecache int32 `json:"-"` 6714 } 6715 6716 func (m *AddMFADeviceRequest) Reset() { *m = AddMFADeviceRequest{} } 6717 func (m *AddMFADeviceRequest) String() string { return proto.CompactTextString(m) } 6718 func (*AddMFADeviceRequest) ProtoMessage() {} 6719 func (*AddMFADeviceRequest) Descriptor() ([]byte, []int) { 6720 return fileDescriptor_0ffcffcda38ae159, []int{95} 6721 } 6722 func (m *AddMFADeviceRequest) XXX_Unmarshal(b []byte) error { 6723 return m.Unmarshal(b) 6724 } 6725 func (m *AddMFADeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6726 if deterministic { 6727 return xxx_messageInfo_AddMFADeviceRequest.Marshal(b, m, deterministic) 6728 } else { 6729 b = b[:cap(b)] 6730 n, err := m.MarshalToSizedBuffer(b) 6731 if err != nil { 6732 return nil, err 6733 } 6734 return b[:n], nil 6735 } 6736 } 6737 func (m *AddMFADeviceRequest) XXX_Merge(src proto.Message) { 6738 xxx_messageInfo_AddMFADeviceRequest.Merge(m, src) 6739 } 6740 func (m *AddMFADeviceRequest) XXX_Size() int { 6741 return m.Size() 6742 } 6743 func (m *AddMFADeviceRequest) XXX_DiscardUnknown() { 6744 xxx_messageInfo_AddMFADeviceRequest.DiscardUnknown(m) 6745 } 6746 6747 var xxx_messageInfo_AddMFADeviceRequest proto.InternalMessageInfo 6748 6749 // Deprecated: Use [AuthService.AddMFADeviceSync] instead. 6750 type AddMFADeviceResponse struct { 6751 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6752 XXX_unrecognized []byte `json:"-"` 6753 XXX_sizecache int32 `json:"-"` 6754 } 6755 6756 func (m *AddMFADeviceResponse) Reset() { *m = AddMFADeviceResponse{} } 6757 func (m *AddMFADeviceResponse) String() string { return proto.CompactTextString(m) } 6758 func (*AddMFADeviceResponse) ProtoMessage() {} 6759 func (*AddMFADeviceResponse) Descriptor() ([]byte, []int) { 6760 return fileDescriptor_0ffcffcda38ae159, []int{96} 6761 } 6762 func (m *AddMFADeviceResponse) XXX_Unmarshal(b []byte) error { 6763 return m.Unmarshal(b) 6764 } 6765 func (m *AddMFADeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6766 if deterministic { 6767 return xxx_messageInfo_AddMFADeviceResponse.Marshal(b, m, deterministic) 6768 } else { 6769 b = b[:cap(b)] 6770 n, err := m.MarshalToSizedBuffer(b) 6771 if err != nil { 6772 return nil, err 6773 } 6774 return b[:n], nil 6775 } 6776 } 6777 func (m *AddMFADeviceResponse) XXX_Merge(src proto.Message) { 6778 xxx_messageInfo_AddMFADeviceResponse.Merge(m, src) 6779 } 6780 func (m *AddMFADeviceResponse) XXX_Size() int { 6781 return m.Size() 6782 } 6783 func (m *AddMFADeviceResponse) XXX_DiscardUnknown() { 6784 xxx_messageInfo_AddMFADeviceResponse.DiscardUnknown(m) 6785 } 6786 6787 var xxx_messageInfo_AddMFADeviceResponse proto.InternalMessageInfo 6788 6789 // Deprecated: Use [AuthService.DeleteMFADeviceSync] instead. 6790 type DeleteMFADeviceRequest struct { 6791 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6792 XXX_unrecognized []byte `json:"-"` 6793 XXX_sizecache int32 `json:"-"` 6794 } 6795 6796 func (m *DeleteMFADeviceRequest) Reset() { *m = DeleteMFADeviceRequest{} } 6797 func (m *DeleteMFADeviceRequest) String() string { return proto.CompactTextString(m) } 6798 func (*DeleteMFADeviceRequest) ProtoMessage() {} 6799 func (*DeleteMFADeviceRequest) Descriptor() ([]byte, []int) { 6800 return fileDescriptor_0ffcffcda38ae159, []int{97} 6801 } 6802 func (m *DeleteMFADeviceRequest) XXX_Unmarshal(b []byte) error { 6803 return m.Unmarshal(b) 6804 } 6805 func (m *DeleteMFADeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6806 if deterministic { 6807 return xxx_messageInfo_DeleteMFADeviceRequest.Marshal(b, m, deterministic) 6808 } else { 6809 b = b[:cap(b)] 6810 n, err := m.MarshalToSizedBuffer(b) 6811 if err != nil { 6812 return nil, err 6813 } 6814 return b[:n], nil 6815 } 6816 } 6817 func (m *DeleteMFADeviceRequest) XXX_Merge(src proto.Message) { 6818 xxx_messageInfo_DeleteMFADeviceRequest.Merge(m, src) 6819 } 6820 func (m *DeleteMFADeviceRequest) XXX_Size() int { 6821 return m.Size() 6822 } 6823 func (m *DeleteMFADeviceRequest) XXX_DiscardUnknown() { 6824 xxx_messageInfo_DeleteMFADeviceRequest.DiscardUnknown(m) 6825 } 6826 6827 var xxx_messageInfo_DeleteMFADeviceRequest proto.InternalMessageInfo 6828 6829 // Deprecated: Use [AuthService.DeleteMFADeviceSync] instead. 6830 type DeleteMFADeviceResponse struct { 6831 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6832 XXX_unrecognized []byte `json:"-"` 6833 XXX_sizecache int32 `json:"-"` 6834 } 6835 6836 func (m *DeleteMFADeviceResponse) Reset() { *m = DeleteMFADeviceResponse{} } 6837 func (m *DeleteMFADeviceResponse) String() string { return proto.CompactTextString(m) } 6838 func (*DeleteMFADeviceResponse) ProtoMessage() {} 6839 func (*DeleteMFADeviceResponse) Descriptor() ([]byte, []int) { 6840 return fileDescriptor_0ffcffcda38ae159, []int{98} 6841 } 6842 func (m *DeleteMFADeviceResponse) XXX_Unmarshal(b []byte) error { 6843 return m.Unmarshal(b) 6844 } 6845 func (m *DeleteMFADeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6846 if deterministic { 6847 return xxx_messageInfo_DeleteMFADeviceResponse.Marshal(b, m, deterministic) 6848 } else { 6849 b = b[:cap(b)] 6850 n, err := m.MarshalToSizedBuffer(b) 6851 if err != nil { 6852 return nil, err 6853 } 6854 return b[:n], nil 6855 } 6856 } 6857 func (m *DeleteMFADeviceResponse) XXX_Merge(src proto.Message) { 6858 xxx_messageInfo_DeleteMFADeviceResponse.Merge(m, src) 6859 } 6860 func (m *DeleteMFADeviceResponse) XXX_Size() int { 6861 return m.Size() 6862 } 6863 func (m *DeleteMFADeviceResponse) XXX_DiscardUnknown() { 6864 xxx_messageInfo_DeleteMFADeviceResponse.DiscardUnknown(m) 6865 } 6866 6867 var xxx_messageInfo_DeleteMFADeviceResponse proto.InternalMessageInfo 6868 6869 // DeleteMFADeviceSyncRequest is a request to delete a MFA device (nonstream). 6870 type DeleteMFADeviceSyncRequest struct { 6871 // TokenID is the ID of a user token that will be used to verify this request. 6872 // 6873 // Token types accepted are: 6874 // - Recovery approved token that is obtained with RPC VerifyAccountRecovery 6875 // - Privilege token that is obtained with RPC CreatePrivilegeToken 6876 // 6877 // Authenticated users can delete a device by providing an ExistingMFAResponse 6878 // instead. 6879 TokenID string `protobuf:"bytes,1,opt,name=TokenID,proto3" json:"token_id"` 6880 // DeviceName is the name of the device to delete. 6881 DeviceName string `protobuf:"bytes,2,opt,name=DeviceName,proto3" json:"device_name"` 6882 // ExistingMFAResponse is an MFA response from an existing device. 6883 // 6884 // May be provided as an alternative to TokenID. 6885 ExistingMFAResponse *MFAAuthenticateResponse `protobuf:"bytes,3,opt,name=ExistingMFAResponse,proto3" json:"existing_mfa_response,omitempty"` 6886 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6887 XXX_unrecognized []byte `json:"-"` 6888 XXX_sizecache int32 `json:"-"` 6889 } 6890 6891 func (m *DeleteMFADeviceSyncRequest) Reset() { *m = DeleteMFADeviceSyncRequest{} } 6892 func (m *DeleteMFADeviceSyncRequest) String() string { return proto.CompactTextString(m) } 6893 func (*DeleteMFADeviceSyncRequest) ProtoMessage() {} 6894 func (*DeleteMFADeviceSyncRequest) Descriptor() ([]byte, []int) { 6895 return fileDescriptor_0ffcffcda38ae159, []int{99} 6896 } 6897 func (m *DeleteMFADeviceSyncRequest) XXX_Unmarshal(b []byte) error { 6898 return m.Unmarshal(b) 6899 } 6900 func (m *DeleteMFADeviceSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6901 if deterministic { 6902 return xxx_messageInfo_DeleteMFADeviceSyncRequest.Marshal(b, m, deterministic) 6903 } else { 6904 b = b[:cap(b)] 6905 n, err := m.MarshalToSizedBuffer(b) 6906 if err != nil { 6907 return nil, err 6908 } 6909 return b[:n], nil 6910 } 6911 } 6912 func (m *DeleteMFADeviceSyncRequest) XXX_Merge(src proto.Message) { 6913 xxx_messageInfo_DeleteMFADeviceSyncRequest.Merge(m, src) 6914 } 6915 func (m *DeleteMFADeviceSyncRequest) XXX_Size() int { 6916 return m.Size() 6917 } 6918 func (m *DeleteMFADeviceSyncRequest) XXX_DiscardUnknown() { 6919 xxx_messageInfo_DeleteMFADeviceSyncRequest.DiscardUnknown(m) 6920 } 6921 6922 var xxx_messageInfo_DeleteMFADeviceSyncRequest proto.InternalMessageInfo 6923 6924 func (m *DeleteMFADeviceSyncRequest) GetTokenID() string { 6925 if m != nil { 6926 return m.TokenID 6927 } 6928 return "" 6929 } 6930 6931 func (m *DeleteMFADeviceSyncRequest) GetDeviceName() string { 6932 if m != nil { 6933 return m.DeviceName 6934 } 6935 return "" 6936 } 6937 6938 func (m *DeleteMFADeviceSyncRequest) GetExistingMFAResponse() *MFAAuthenticateResponse { 6939 if m != nil { 6940 return m.ExistingMFAResponse 6941 } 6942 return nil 6943 } 6944 6945 // AddMFADeviceSyncRequest is a request to add a MFA device (nonstream). 6946 type AddMFADeviceSyncRequest struct { 6947 // TokenID is the ID of a user token that will be used to verify this request. 6948 // 6949 // Token types accepted are: 6950 // - Privilege token that is obtained with RPC CreatePrivilegeToken 6951 // 6952 // An authenticated user can register a new device using only a 6953 // NewMFAResponse. See [ContextUser]. 6954 TokenID string `protobuf:"bytes,1,opt,name=TokenID,proto3" json:"token_id"` 6955 // ContextUser allows registering a device for the authenticated user. 6956 // 6957 // Default option if no other is provided. 6958 ContextUser *ContextUser `protobuf:"bytes,5,opt,name=ContextUser,proto3" json:"context_user,omitempty"` 6959 // NewDeviceName is the name of a new mfa device. 6960 NewDeviceName string `protobuf:"bytes,2,opt,name=NewDeviceName,proto3" json:"new_device_name,omitempty"` 6961 // NewMFAResponse is a user's new mfa response to a mfa register challenge. 6962 NewMFAResponse *MFARegisterResponse `protobuf:"bytes,3,opt,name=NewMFAResponse,proto3" json:"new_mfa_response,omitempty"` 6963 // DeviceUsage is the requested usage for the device. 6964 // Defaults to DEVICE_USAGE_MFA. 6965 DeviceUsage DeviceUsage `protobuf:"varint,4,opt,name=DeviceUsage,proto3,enum=proto.DeviceUsage" json:"device_usage,omitempty"` 6966 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6967 XXX_unrecognized []byte `json:"-"` 6968 XXX_sizecache int32 `json:"-"` 6969 } 6970 6971 func (m *AddMFADeviceSyncRequest) Reset() { *m = AddMFADeviceSyncRequest{} } 6972 func (m *AddMFADeviceSyncRequest) String() string { return proto.CompactTextString(m) } 6973 func (*AddMFADeviceSyncRequest) ProtoMessage() {} 6974 func (*AddMFADeviceSyncRequest) Descriptor() ([]byte, []int) { 6975 return fileDescriptor_0ffcffcda38ae159, []int{100} 6976 } 6977 func (m *AddMFADeviceSyncRequest) XXX_Unmarshal(b []byte) error { 6978 return m.Unmarshal(b) 6979 } 6980 func (m *AddMFADeviceSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6981 if deterministic { 6982 return xxx_messageInfo_AddMFADeviceSyncRequest.Marshal(b, m, deterministic) 6983 } else { 6984 b = b[:cap(b)] 6985 n, err := m.MarshalToSizedBuffer(b) 6986 if err != nil { 6987 return nil, err 6988 } 6989 return b[:n], nil 6990 } 6991 } 6992 func (m *AddMFADeviceSyncRequest) XXX_Merge(src proto.Message) { 6993 xxx_messageInfo_AddMFADeviceSyncRequest.Merge(m, src) 6994 } 6995 func (m *AddMFADeviceSyncRequest) XXX_Size() int { 6996 return m.Size() 6997 } 6998 func (m *AddMFADeviceSyncRequest) XXX_DiscardUnknown() { 6999 xxx_messageInfo_AddMFADeviceSyncRequest.DiscardUnknown(m) 7000 } 7001 7002 var xxx_messageInfo_AddMFADeviceSyncRequest proto.InternalMessageInfo 7003 7004 func (m *AddMFADeviceSyncRequest) GetTokenID() string { 7005 if m != nil { 7006 return m.TokenID 7007 } 7008 return "" 7009 } 7010 7011 func (m *AddMFADeviceSyncRequest) GetContextUser() *ContextUser { 7012 if m != nil { 7013 return m.ContextUser 7014 } 7015 return nil 7016 } 7017 7018 func (m *AddMFADeviceSyncRequest) GetNewDeviceName() string { 7019 if m != nil { 7020 return m.NewDeviceName 7021 } 7022 return "" 7023 } 7024 7025 func (m *AddMFADeviceSyncRequest) GetNewMFAResponse() *MFARegisterResponse { 7026 if m != nil { 7027 return m.NewMFAResponse 7028 } 7029 return nil 7030 } 7031 7032 func (m *AddMFADeviceSyncRequest) GetDeviceUsage() DeviceUsage { 7033 if m != nil { 7034 return m.DeviceUsage 7035 } 7036 return DeviceUsage_DEVICE_USAGE_UNSPECIFIED 7037 } 7038 7039 // AddMFADeviceSyncResponse is a response to AddMFADeviceSyncRequest. 7040 type AddMFADeviceSyncResponse struct { 7041 Device *types.MFADevice `protobuf:"bytes,1,opt,name=Device,proto3" json:"device"` 7042 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7043 XXX_unrecognized []byte `json:"-"` 7044 XXX_sizecache int32 `json:"-"` 7045 } 7046 7047 func (m *AddMFADeviceSyncResponse) Reset() { *m = AddMFADeviceSyncResponse{} } 7048 func (m *AddMFADeviceSyncResponse) String() string { return proto.CompactTextString(m) } 7049 func (*AddMFADeviceSyncResponse) ProtoMessage() {} 7050 func (*AddMFADeviceSyncResponse) Descriptor() ([]byte, []int) { 7051 return fileDescriptor_0ffcffcda38ae159, []int{101} 7052 } 7053 func (m *AddMFADeviceSyncResponse) XXX_Unmarshal(b []byte) error { 7054 return m.Unmarshal(b) 7055 } 7056 func (m *AddMFADeviceSyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7057 if deterministic { 7058 return xxx_messageInfo_AddMFADeviceSyncResponse.Marshal(b, m, deterministic) 7059 } else { 7060 b = b[:cap(b)] 7061 n, err := m.MarshalToSizedBuffer(b) 7062 if err != nil { 7063 return nil, err 7064 } 7065 return b[:n], nil 7066 } 7067 } 7068 func (m *AddMFADeviceSyncResponse) XXX_Merge(src proto.Message) { 7069 xxx_messageInfo_AddMFADeviceSyncResponse.Merge(m, src) 7070 } 7071 func (m *AddMFADeviceSyncResponse) XXX_Size() int { 7072 return m.Size() 7073 } 7074 func (m *AddMFADeviceSyncResponse) XXX_DiscardUnknown() { 7075 xxx_messageInfo_AddMFADeviceSyncResponse.DiscardUnknown(m) 7076 } 7077 7078 var xxx_messageInfo_AddMFADeviceSyncResponse proto.InternalMessageInfo 7079 7080 func (m *AddMFADeviceSyncResponse) GetDevice() *types.MFADevice { 7081 if m != nil { 7082 return m.Device 7083 } 7084 return nil 7085 } 7086 7087 // GetMFADeviceRequest is a request for MFA devices for the calling user. 7088 type GetMFADevicesRequest struct { 7089 // TokenID is an optional field for the ID of a user token that will be used to 7090 // verify this request. Token is only required if an unauthenticated user wants to view their 7091 // list of devices eg: during account recovery process. An empty field implies the logged in 7092 // user wants to view their devices. 7093 // Token types accepted are: 7094 // - Recovery approved token that is obtained after successful invocation of RPC 7095 // VerifyAccountRecovery 7096 TokenID string `protobuf:"bytes,1,opt,name=TokenID,proto3" json:"token_id,omitempty"` 7097 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7098 XXX_unrecognized []byte `json:"-"` 7099 XXX_sizecache int32 `json:"-"` 7100 } 7101 7102 func (m *GetMFADevicesRequest) Reset() { *m = GetMFADevicesRequest{} } 7103 func (m *GetMFADevicesRequest) String() string { return proto.CompactTextString(m) } 7104 func (*GetMFADevicesRequest) ProtoMessage() {} 7105 func (*GetMFADevicesRequest) Descriptor() ([]byte, []int) { 7106 return fileDescriptor_0ffcffcda38ae159, []int{102} 7107 } 7108 func (m *GetMFADevicesRequest) XXX_Unmarshal(b []byte) error { 7109 return m.Unmarshal(b) 7110 } 7111 func (m *GetMFADevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7112 if deterministic { 7113 return xxx_messageInfo_GetMFADevicesRequest.Marshal(b, m, deterministic) 7114 } else { 7115 b = b[:cap(b)] 7116 n, err := m.MarshalToSizedBuffer(b) 7117 if err != nil { 7118 return nil, err 7119 } 7120 return b[:n], nil 7121 } 7122 } 7123 func (m *GetMFADevicesRequest) XXX_Merge(src proto.Message) { 7124 xxx_messageInfo_GetMFADevicesRequest.Merge(m, src) 7125 } 7126 func (m *GetMFADevicesRequest) XXX_Size() int { 7127 return m.Size() 7128 } 7129 func (m *GetMFADevicesRequest) XXX_DiscardUnknown() { 7130 xxx_messageInfo_GetMFADevicesRequest.DiscardUnknown(m) 7131 } 7132 7133 var xxx_messageInfo_GetMFADevicesRequest proto.InternalMessageInfo 7134 7135 func (m *GetMFADevicesRequest) GetTokenID() string { 7136 if m != nil { 7137 return m.TokenID 7138 } 7139 return "" 7140 } 7141 7142 // GetMFADeviceResponse is a response for GetMFADevices RPC. 7143 type GetMFADevicesResponse struct { 7144 Devices []*types.MFADevice `protobuf:"bytes,1,rep,name=Devices,proto3" json:"Devices,omitempty"` 7145 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7146 XXX_unrecognized []byte `json:"-"` 7147 XXX_sizecache int32 `json:"-"` 7148 } 7149 7150 func (m *GetMFADevicesResponse) Reset() { *m = GetMFADevicesResponse{} } 7151 func (m *GetMFADevicesResponse) String() string { return proto.CompactTextString(m) } 7152 func (*GetMFADevicesResponse) ProtoMessage() {} 7153 func (*GetMFADevicesResponse) Descriptor() ([]byte, []int) { 7154 return fileDescriptor_0ffcffcda38ae159, []int{103} 7155 } 7156 func (m *GetMFADevicesResponse) XXX_Unmarshal(b []byte) error { 7157 return m.Unmarshal(b) 7158 } 7159 func (m *GetMFADevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7160 if deterministic { 7161 return xxx_messageInfo_GetMFADevicesResponse.Marshal(b, m, deterministic) 7162 } else { 7163 b = b[:cap(b)] 7164 n, err := m.MarshalToSizedBuffer(b) 7165 if err != nil { 7166 return nil, err 7167 } 7168 return b[:n], nil 7169 } 7170 } 7171 func (m *GetMFADevicesResponse) XXX_Merge(src proto.Message) { 7172 xxx_messageInfo_GetMFADevicesResponse.Merge(m, src) 7173 } 7174 func (m *GetMFADevicesResponse) XXX_Size() int { 7175 return m.Size() 7176 } 7177 func (m *GetMFADevicesResponse) XXX_DiscardUnknown() { 7178 xxx_messageInfo_GetMFADevicesResponse.DiscardUnknown(m) 7179 } 7180 7181 var xxx_messageInfo_GetMFADevicesResponse proto.InternalMessageInfo 7182 7183 func (m *GetMFADevicesResponse) GetDevices() []*types.MFADevice { 7184 if m != nil { 7185 return m.Devices 7186 } 7187 return nil 7188 } 7189 7190 // Deprecated: Use [AuthService.GenerateUserCerts] instead. 7191 type UserSingleUseCertsRequest struct { 7192 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7193 XXX_unrecognized []byte `json:"-"` 7194 XXX_sizecache int32 `json:"-"` 7195 } 7196 7197 func (m *UserSingleUseCertsRequest) Reset() { *m = UserSingleUseCertsRequest{} } 7198 func (m *UserSingleUseCertsRequest) String() string { return proto.CompactTextString(m) } 7199 func (*UserSingleUseCertsRequest) ProtoMessage() {} 7200 func (*UserSingleUseCertsRequest) Descriptor() ([]byte, []int) { 7201 return fileDescriptor_0ffcffcda38ae159, []int{104} 7202 } 7203 func (m *UserSingleUseCertsRequest) XXX_Unmarshal(b []byte) error { 7204 return m.Unmarshal(b) 7205 } 7206 func (m *UserSingleUseCertsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7207 if deterministic { 7208 return xxx_messageInfo_UserSingleUseCertsRequest.Marshal(b, m, deterministic) 7209 } else { 7210 b = b[:cap(b)] 7211 n, err := m.MarshalToSizedBuffer(b) 7212 if err != nil { 7213 return nil, err 7214 } 7215 return b[:n], nil 7216 } 7217 } 7218 func (m *UserSingleUseCertsRequest) XXX_Merge(src proto.Message) { 7219 xxx_messageInfo_UserSingleUseCertsRequest.Merge(m, src) 7220 } 7221 func (m *UserSingleUseCertsRequest) XXX_Size() int { 7222 return m.Size() 7223 } 7224 func (m *UserSingleUseCertsRequest) XXX_DiscardUnknown() { 7225 xxx_messageInfo_UserSingleUseCertsRequest.DiscardUnknown(m) 7226 } 7227 7228 var xxx_messageInfo_UserSingleUseCertsRequest proto.InternalMessageInfo 7229 7230 // Deprecated: Use [AuthService.GenerateUserCerts] instead. 7231 type UserSingleUseCertsResponse struct { 7232 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7233 XXX_unrecognized []byte `json:"-"` 7234 XXX_sizecache int32 `json:"-"` 7235 } 7236 7237 func (m *UserSingleUseCertsResponse) Reset() { *m = UserSingleUseCertsResponse{} } 7238 func (m *UserSingleUseCertsResponse) String() string { return proto.CompactTextString(m) } 7239 func (*UserSingleUseCertsResponse) ProtoMessage() {} 7240 func (*UserSingleUseCertsResponse) Descriptor() ([]byte, []int) { 7241 return fileDescriptor_0ffcffcda38ae159, []int{105} 7242 } 7243 func (m *UserSingleUseCertsResponse) XXX_Unmarshal(b []byte) error { 7244 return m.Unmarshal(b) 7245 } 7246 func (m *UserSingleUseCertsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7247 if deterministic { 7248 return xxx_messageInfo_UserSingleUseCertsResponse.Marshal(b, m, deterministic) 7249 } else { 7250 b = b[:cap(b)] 7251 n, err := m.MarshalToSizedBuffer(b) 7252 if err != nil { 7253 return nil, err 7254 } 7255 return b[:n], nil 7256 } 7257 } 7258 func (m *UserSingleUseCertsResponse) XXX_Merge(src proto.Message) { 7259 xxx_messageInfo_UserSingleUseCertsResponse.Merge(m, src) 7260 } 7261 func (m *UserSingleUseCertsResponse) XXX_Size() int { 7262 return m.Size() 7263 } 7264 func (m *UserSingleUseCertsResponse) XXX_DiscardUnknown() { 7265 xxx_messageInfo_UserSingleUseCertsResponse.DiscardUnknown(m) 7266 } 7267 7268 var xxx_messageInfo_UserSingleUseCertsResponse proto.InternalMessageInfo 7269 7270 // IsMFARequiredRequest is a request to check whether MFA is required to access 7271 // the Target. 7272 type IsMFARequiredRequest struct { 7273 // Types that are valid to be assigned to Target: 7274 // *IsMFARequiredRequest_KubernetesCluster 7275 // *IsMFARequiredRequest_Database 7276 // *IsMFARequiredRequest_Node 7277 // *IsMFARequiredRequest_WindowsDesktop 7278 // *IsMFARequiredRequest_AdminAction 7279 // *IsMFARequiredRequest_App 7280 Target isIsMFARequiredRequest_Target `protobuf_oneof:"Target"` 7281 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7282 XXX_unrecognized []byte `json:"-"` 7283 XXX_sizecache int32 `json:"-"` 7284 } 7285 7286 func (m *IsMFARequiredRequest) Reset() { *m = IsMFARequiredRequest{} } 7287 func (m *IsMFARequiredRequest) String() string { return proto.CompactTextString(m) } 7288 func (*IsMFARequiredRequest) ProtoMessage() {} 7289 func (*IsMFARequiredRequest) Descriptor() ([]byte, []int) { 7290 return fileDescriptor_0ffcffcda38ae159, []int{106} 7291 } 7292 func (m *IsMFARequiredRequest) XXX_Unmarshal(b []byte) error { 7293 return m.Unmarshal(b) 7294 } 7295 func (m *IsMFARequiredRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7296 if deterministic { 7297 return xxx_messageInfo_IsMFARequiredRequest.Marshal(b, m, deterministic) 7298 } else { 7299 b = b[:cap(b)] 7300 n, err := m.MarshalToSizedBuffer(b) 7301 if err != nil { 7302 return nil, err 7303 } 7304 return b[:n], nil 7305 } 7306 } 7307 func (m *IsMFARequiredRequest) XXX_Merge(src proto.Message) { 7308 xxx_messageInfo_IsMFARequiredRequest.Merge(m, src) 7309 } 7310 func (m *IsMFARequiredRequest) XXX_Size() int { 7311 return m.Size() 7312 } 7313 func (m *IsMFARequiredRequest) XXX_DiscardUnknown() { 7314 xxx_messageInfo_IsMFARequiredRequest.DiscardUnknown(m) 7315 } 7316 7317 var xxx_messageInfo_IsMFARequiredRequest proto.InternalMessageInfo 7318 7319 type isIsMFARequiredRequest_Target interface { 7320 isIsMFARequiredRequest_Target() 7321 MarshalTo([]byte) (int, error) 7322 Size() int 7323 } 7324 7325 type IsMFARequiredRequest_KubernetesCluster struct { 7326 KubernetesCluster string `protobuf:"bytes,1,opt,name=KubernetesCluster,proto3,oneof" json:"KubernetesCluster,omitempty"` 7327 } 7328 type IsMFARequiredRequest_Database struct { 7329 Database *RouteToDatabase `protobuf:"bytes,2,opt,name=Database,proto3,oneof" json:"Database,omitempty"` 7330 } 7331 type IsMFARequiredRequest_Node struct { 7332 Node *NodeLogin `protobuf:"bytes,3,opt,name=Node,proto3,oneof" json:"Node,omitempty"` 7333 } 7334 type IsMFARequiredRequest_WindowsDesktop struct { 7335 WindowsDesktop *RouteToWindowsDesktop `protobuf:"bytes,4,opt,name=WindowsDesktop,proto3,oneof" json:"WindowsDesktop,omitempty"` 7336 } 7337 type IsMFARequiredRequest_AdminAction struct { 7338 AdminAction *AdminAction `protobuf:"bytes,5,opt,name=AdminAction,proto3,oneof" json:"AdminAction,omitempty"` 7339 } 7340 type IsMFARequiredRequest_App struct { 7341 App *RouteToApp `protobuf:"bytes,6,opt,name=App,proto3,oneof" json:"App,omitempty"` 7342 } 7343 7344 func (*IsMFARequiredRequest_KubernetesCluster) isIsMFARequiredRequest_Target() {} 7345 func (*IsMFARequiredRequest_Database) isIsMFARequiredRequest_Target() {} 7346 func (*IsMFARequiredRequest_Node) isIsMFARequiredRequest_Target() {} 7347 func (*IsMFARequiredRequest_WindowsDesktop) isIsMFARequiredRequest_Target() {} 7348 func (*IsMFARequiredRequest_AdminAction) isIsMFARequiredRequest_Target() {} 7349 func (*IsMFARequiredRequest_App) isIsMFARequiredRequest_Target() {} 7350 7351 func (m *IsMFARequiredRequest) GetTarget() isIsMFARequiredRequest_Target { 7352 if m != nil { 7353 return m.Target 7354 } 7355 return nil 7356 } 7357 7358 func (m *IsMFARequiredRequest) GetKubernetesCluster() string { 7359 if x, ok := m.GetTarget().(*IsMFARequiredRequest_KubernetesCluster); ok { 7360 return x.KubernetesCluster 7361 } 7362 return "" 7363 } 7364 7365 func (m *IsMFARequiredRequest) GetDatabase() *RouteToDatabase { 7366 if x, ok := m.GetTarget().(*IsMFARequiredRequest_Database); ok { 7367 return x.Database 7368 } 7369 return nil 7370 } 7371 7372 func (m *IsMFARequiredRequest) GetNode() *NodeLogin { 7373 if x, ok := m.GetTarget().(*IsMFARequiredRequest_Node); ok { 7374 return x.Node 7375 } 7376 return nil 7377 } 7378 7379 func (m *IsMFARequiredRequest) GetWindowsDesktop() *RouteToWindowsDesktop { 7380 if x, ok := m.GetTarget().(*IsMFARequiredRequest_WindowsDesktop); ok { 7381 return x.WindowsDesktop 7382 } 7383 return nil 7384 } 7385 7386 func (m *IsMFARequiredRequest) GetAdminAction() *AdminAction { 7387 if x, ok := m.GetTarget().(*IsMFARequiredRequest_AdminAction); ok { 7388 return x.AdminAction 7389 } 7390 return nil 7391 } 7392 7393 func (m *IsMFARequiredRequest) GetApp() *RouteToApp { 7394 if x, ok := m.GetTarget().(*IsMFARequiredRequest_App); ok { 7395 return x.App 7396 } 7397 return nil 7398 } 7399 7400 // XXX_OneofWrappers is for the internal use of the proto package. 7401 func (*IsMFARequiredRequest) XXX_OneofWrappers() []interface{} { 7402 return []interface{}{ 7403 (*IsMFARequiredRequest_KubernetesCluster)(nil), 7404 (*IsMFARequiredRequest_Database)(nil), 7405 (*IsMFARequiredRequest_Node)(nil), 7406 (*IsMFARequiredRequest_WindowsDesktop)(nil), 7407 (*IsMFARequiredRequest_AdminAction)(nil), 7408 (*IsMFARequiredRequest_App)(nil), 7409 } 7410 } 7411 7412 // StreamSessionEventsRequest is a request containing needed data to fetch a session recording. 7413 type StreamSessionEventsRequest struct { 7414 // SessionID is the ID for a given session in an UUIDv4 format. 7415 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"SessionID,omitempty"` 7416 // StartIndex is the index of the event to resume the stream after. 7417 // A StartIndex of 0 creates a new stream. 7418 StartIndex int32 `protobuf:"varint,2,opt,name=StartIndex,proto3" json:"StartIndex,omitempty"` 7419 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7420 XXX_unrecognized []byte `json:"-"` 7421 XXX_sizecache int32 `json:"-"` 7422 } 7423 7424 func (m *StreamSessionEventsRequest) Reset() { *m = StreamSessionEventsRequest{} } 7425 func (m *StreamSessionEventsRequest) String() string { return proto.CompactTextString(m) } 7426 func (*StreamSessionEventsRequest) ProtoMessage() {} 7427 func (*StreamSessionEventsRequest) Descriptor() ([]byte, []int) { 7428 return fileDescriptor_0ffcffcda38ae159, []int{107} 7429 } 7430 func (m *StreamSessionEventsRequest) XXX_Unmarshal(b []byte) error { 7431 return m.Unmarshal(b) 7432 } 7433 func (m *StreamSessionEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7434 if deterministic { 7435 return xxx_messageInfo_StreamSessionEventsRequest.Marshal(b, m, deterministic) 7436 } else { 7437 b = b[:cap(b)] 7438 n, err := m.MarshalToSizedBuffer(b) 7439 if err != nil { 7440 return nil, err 7441 } 7442 return b[:n], nil 7443 } 7444 } 7445 func (m *StreamSessionEventsRequest) XXX_Merge(src proto.Message) { 7446 xxx_messageInfo_StreamSessionEventsRequest.Merge(m, src) 7447 } 7448 func (m *StreamSessionEventsRequest) XXX_Size() int { 7449 return m.Size() 7450 } 7451 func (m *StreamSessionEventsRequest) XXX_DiscardUnknown() { 7452 xxx_messageInfo_StreamSessionEventsRequest.DiscardUnknown(m) 7453 } 7454 7455 var xxx_messageInfo_StreamSessionEventsRequest proto.InternalMessageInfo 7456 7457 func (m *StreamSessionEventsRequest) GetSessionID() string { 7458 if m != nil { 7459 return m.SessionID 7460 } 7461 return "" 7462 } 7463 7464 func (m *StreamSessionEventsRequest) GetStartIndex() int32 { 7465 if m != nil { 7466 return m.StartIndex 7467 } 7468 return 0 7469 } 7470 7471 // NodeLogin specifies an SSH node and OS login. 7472 type NodeLogin struct { 7473 // Node can be node's hostname or UUID. 7474 Node string `protobuf:"bytes,1,opt,name=Node,proto3" json:"Node,omitempty"` 7475 // Login is the OS login name. 7476 Login string `protobuf:"bytes,2,opt,name=Login,proto3" json:"Login,omitempty"` 7477 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7478 XXX_unrecognized []byte `json:"-"` 7479 XXX_sizecache int32 `json:"-"` 7480 } 7481 7482 func (m *NodeLogin) Reset() { *m = NodeLogin{} } 7483 func (m *NodeLogin) String() string { return proto.CompactTextString(m) } 7484 func (*NodeLogin) ProtoMessage() {} 7485 func (*NodeLogin) Descriptor() ([]byte, []int) { 7486 return fileDescriptor_0ffcffcda38ae159, []int{108} 7487 } 7488 func (m *NodeLogin) XXX_Unmarshal(b []byte) error { 7489 return m.Unmarshal(b) 7490 } 7491 func (m *NodeLogin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7492 if deterministic { 7493 return xxx_messageInfo_NodeLogin.Marshal(b, m, deterministic) 7494 } else { 7495 b = b[:cap(b)] 7496 n, err := m.MarshalToSizedBuffer(b) 7497 if err != nil { 7498 return nil, err 7499 } 7500 return b[:n], nil 7501 } 7502 } 7503 func (m *NodeLogin) XXX_Merge(src proto.Message) { 7504 xxx_messageInfo_NodeLogin.Merge(m, src) 7505 } 7506 func (m *NodeLogin) XXX_Size() int { 7507 return m.Size() 7508 } 7509 func (m *NodeLogin) XXX_DiscardUnknown() { 7510 xxx_messageInfo_NodeLogin.DiscardUnknown(m) 7511 } 7512 7513 var xxx_messageInfo_NodeLogin proto.InternalMessageInfo 7514 7515 func (m *NodeLogin) GetNode() string { 7516 if m != nil { 7517 return m.Node 7518 } 7519 return "" 7520 } 7521 7522 func (m *NodeLogin) GetLogin() string { 7523 if m != nil { 7524 return m.Login 7525 } 7526 return "" 7527 } 7528 7529 // AdminAction specifies an admin action. 7530 type AdminAction struct { 7531 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7532 XXX_unrecognized []byte `json:"-"` 7533 XXX_sizecache int32 `json:"-"` 7534 } 7535 7536 func (m *AdminAction) Reset() { *m = AdminAction{} } 7537 func (m *AdminAction) String() string { return proto.CompactTextString(m) } 7538 func (*AdminAction) ProtoMessage() {} 7539 func (*AdminAction) Descriptor() ([]byte, []int) { 7540 return fileDescriptor_0ffcffcda38ae159, []int{109} 7541 } 7542 func (m *AdminAction) XXX_Unmarshal(b []byte) error { 7543 return m.Unmarshal(b) 7544 } 7545 func (m *AdminAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7546 if deterministic { 7547 return xxx_messageInfo_AdminAction.Marshal(b, m, deterministic) 7548 } else { 7549 b = b[:cap(b)] 7550 n, err := m.MarshalToSizedBuffer(b) 7551 if err != nil { 7552 return nil, err 7553 } 7554 return b[:n], nil 7555 } 7556 } 7557 func (m *AdminAction) XXX_Merge(src proto.Message) { 7558 xxx_messageInfo_AdminAction.Merge(m, src) 7559 } 7560 func (m *AdminAction) XXX_Size() int { 7561 return m.Size() 7562 } 7563 func (m *AdminAction) XXX_DiscardUnknown() { 7564 xxx_messageInfo_AdminAction.DiscardUnknown(m) 7565 } 7566 7567 var xxx_messageInfo_AdminAction proto.InternalMessageInfo 7568 7569 // IsMFARequiredResponse is a response for MFA requirement check. 7570 type IsMFARequiredResponse struct { 7571 // Required is a simplified view over [MFARequired]. 7572 Required bool `protobuf:"varint,1,opt,name=Required,proto3" json:"Required,omitempty"` 7573 // MFARequired informs whether MFA is required to access the corresponding 7574 // resource. 7575 MFARequired MFARequired `protobuf:"varint,2,opt,name=MFARequired,proto3,enum=proto.MFARequired" json:"MFARequired,omitempty"` 7576 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7577 XXX_unrecognized []byte `json:"-"` 7578 XXX_sizecache int32 `json:"-"` 7579 } 7580 7581 func (m *IsMFARequiredResponse) Reset() { *m = IsMFARequiredResponse{} } 7582 func (m *IsMFARequiredResponse) String() string { return proto.CompactTextString(m) } 7583 func (*IsMFARequiredResponse) ProtoMessage() {} 7584 func (*IsMFARequiredResponse) Descriptor() ([]byte, []int) { 7585 return fileDescriptor_0ffcffcda38ae159, []int{110} 7586 } 7587 func (m *IsMFARequiredResponse) XXX_Unmarshal(b []byte) error { 7588 return m.Unmarshal(b) 7589 } 7590 func (m *IsMFARequiredResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7591 if deterministic { 7592 return xxx_messageInfo_IsMFARequiredResponse.Marshal(b, m, deterministic) 7593 } else { 7594 b = b[:cap(b)] 7595 n, err := m.MarshalToSizedBuffer(b) 7596 if err != nil { 7597 return nil, err 7598 } 7599 return b[:n], nil 7600 } 7601 } 7602 func (m *IsMFARequiredResponse) XXX_Merge(src proto.Message) { 7603 xxx_messageInfo_IsMFARequiredResponse.Merge(m, src) 7604 } 7605 func (m *IsMFARequiredResponse) XXX_Size() int { 7606 return m.Size() 7607 } 7608 func (m *IsMFARequiredResponse) XXX_DiscardUnknown() { 7609 xxx_messageInfo_IsMFARequiredResponse.DiscardUnknown(m) 7610 } 7611 7612 var xxx_messageInfo_IsMFARequiredResponse proto.InternalMessageInfo 7613 7614 func (m *IsMFARequiredResponse) GetRequired() bool { 7615 if m != nil { 7616 return m.Required 7617 } 7618 return false 7619 } 7620 7621 func (m *IsMFARequiredResponse) GetMFARequired() MFARequired { 7622 if m != nil { 7623 return m.MFARequired 7624 } 7625 return MFARequired_MFA_REQUIRED_UNSPECIFIED 7626 } 7627 7628 type GetEventsRequest struct { 7629 // Namespace, if not set, defaults to 'default' 7630 Namespace string `protobuf:"bytes,1,opt,name=Namespace,proto3" json:"Namespace,omitempty"` 7631 // StartDate is the oldest date of returned events 7632 StartDate time.Time `protobuf:"bytes,2,opt,name=StartDate,proto3,stdtime" json:"StartDate"` 7633 // EndDate is the newest date of returned events 7634 EndDate time.Time `protobuf:"bytes,3,opt,name=EndDate,proto3,stdtime" json:"EndDate"` 7635 // EventTypes is optional, if not set, returns all events 7636 EventTypes []string `protobuf:"bytes,4,rep,name=EventTypes,proto3" json:"EventTypes,omitempty"` 7637 // Limit is the maximum amount of events returned 7638 Limit int32 `protobuf:"varint,5,opt,name=Limit,proto3" json:"Limit,omitempty"` 7639 // StartKey is used to resume a query in order to enable pagination. 7640 // If the previous response had LastKey set then this should be 7641 // set to its value. Otherwise leave empty. 7642 StartKey string `protobuf:"bytes,6,opt,name=StartKey,proto3" json:"StartKey,omitempty"` 7643 // Order specifies an ascending or descending order of events. 7644 // A value of 0 means a descending order and a value of 1 means an ascending order. 7645 Order Order `protobuf:"varint,7,opt,name=Order,proto3,enum=proto.Order" json:"Order,omitempty"` 7646 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7647 XXX_unrecognized []byte `json:"-"` 7648 XXX_sizecache int32 `json:"-"` 7649 } 7650 7651 func (m *GetEventsRequest) Reset() { *m = GetEventsRequest{} } 7652 func (m *GetEventsRequest) String() string { return proto.CompactTextString(m) } 7653 func (*GetEventsRequest) ProtoMessage() {} 7654 func (*GetEventsRequest) Descriptor() ([]byte, []int) { 7655 return fileDescriptor_0ffcffcda38ae159, []int{111} 7656 } 7657 func (m *GetEventsRequest) XXX_Unmarshal(b []byte) error { 7658 return m.Unmarshal(b) 7659 } 7660 func (m *GetEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7661 if deterministic { 7662 return xxx_messageInfo_GetEventsRequest.Marshal(b, m, deterministic) 7663 } else { 7664 b = b[:cap(b)] 7665 n, err := m.MarshalToSizedBuffer(b) 7666 if err != nil { 7667 return nil, err 7668 } 7669 return b[:n], nil 7670 } 7671 } 7672 func (m *GetEventsRequest) XXX_Merge(src proto.Message) { 7673 xxx_messageInfo_GetEventsRequest.Merge(m, src) 7674 } 7675 func (m *GetEventsRequest) XXX_Size() int { 7676 return m.Size() 7677 } 7678 func (m *GetEventsRequest) XXX_DiscardUnknown() { 7679 xxx_messageInfo_GetEventsRequest.DiscardUnknown(m) 7680 } 7681 7682 var xxx_messageInfo_GetEventsRequest proto.InternalMessageInfo 7683 7684 func (m *GetEventsRequest) GetNamespace() string { 7685 if m != nil { 7686 return m.Namespace 7687 } 7688 return "" 7689 } 7690 7691 func (m *GetEventsRequest) GetStartDate() time.Time { 7692 if m != nil { 7693 return m.StartDate 7694 } 7695 return time.Time{} 7696 } 7697 7698 func (m *GetEventsRequest) GetEndDate() time.Time { 7699 if m != nil { 7700 return m.EndDate 7701 } 7702 return time.Time{} 7703 } 7704 7705 func (m *GetEventsRequest) GetEventTypes() []string { 7706 if m != nil { 7707 return m.EventTypes 7708 } 7709 return nil 7710 } 7711 7712 func (m *GetEventsRequest) GetLimit() int32 { 7713 if m != nil { 7714 return m.Limit 7715 } 7716 return 0 7717 } 7718 7719 func (m *GetEventsRequest) GetStartKey() string { 7720 if m != nil { 7721 return m.StartKey 7722 } 7723 return "" 7724 } 7725 7726 func (m *GetEventsRequest) GetOrder() Order { 7727 if m != nil { 7728 return m.Order 7729 } 7730 return Order_DESCENDING 7731 } 7732 7733 type GetSessionEventsRequest struct { 7734 // StartDate is the oldest date of returned events 7735 StartDate time.Time `protobuf:"bytes,1,opt,name=StartDate,proto3,stdtime" json:"StartDate"` 7736 // EndDate is the newest date of returned events 7737 EndDate time.Time `protobuf:"bytes,2,opt,name=EndDate,proto3,stdtime" json:"EndDate"` 7738 // Limit is the maximum amount of events to retrieve. 7739 Limit int32 `protobuf:"varint,3,opt,name=Limit,proto3" json:"Limit,omitempty"` 7740 // StartKey is used to resume a query in order to enable pagination. 7741 // If the previous response had LastKey set then this should be 7742 // set to its value. Otherwise leave empty. 7743 StartKey string `protobuf:"bytes,4,opt,name=StartKey,proto3" json:"StartKey,omitempty"` 7744 // Order specifies an ascending or descending order of events. 7745 // A value of 0 means a descending order and a value of 1 means an ascending order. 7746 Order Order `protobuf:"varint,5,opt,name=Order,proto3,enum=proto.Order" json:"Order,omitempty"` 7747 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7748 XXX_unrecognized []byte `json:"-"` 7749 XXX_sizecache int32 `json:"-"` 7750 } 7751 7752 func (m *GetSessionEventsRequest) Reset() { *m = GetSessionEventsRequest{} } 7753 func (m *GetSessionEventsRequest) String() string { return proto.CompactTextString(m) } 7754 func (*GetSessionEventsRequest) ProtoMessage() {} 7755 func (*GetSessionEventsRequest) Descriptor() ([]byte, []int) { 7756 return fileDescriptor_0ffcffcda38ae159, []int{112} 7757 } 7758 func (m *GetSessionEventsRequest) XXX_Unmarshal(b []byte) error { 7759 return m.Unmarshal(b) 7760 } 7761 func (m *GetSessionEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7762 if deterministic { 7763 return xxx_messageInfo_GetSessionEventsRequest.Marshal(b, m, deterministic) 7764 } else { 7765 b = b[:cap(b)] 7766 n, err := m.MarshalToSizedBuffer(b) 7767 if err != nil { 7768 return nil, err 7769 } 7770 return b[:n], nil 7771 } 7772 } 7773 func (m *GetSessionEventsRequest) XXX_Merge(src proto.Message) { 7774 xxx_messageInfo_GetSessionEventsRequest.Merge(m, src) 7775 } 7776 func (m *GetSessionEventsRequest) XXX_Size() int { 7777 return m.Size() 7778 } 7779 func (m *GetSessionEventsRequest) XXX_DiscardUnknown() { 7780 xxx_messageInfo_GetSessionEventsRequest.DiscardUnknown(m) 7781 } 7782 7783 var xxx_messageInfo_GetSessionEventsRequest proto.InternalMessageInfo 7784 7785 func (m *GetSessionEventsRequest) GetStartDate() time.Time { 7786 if m != nil { 7787 return m.StartDate 7788 } 7789 return time.Time{} 7790 } 7791 7792 func (m *GetSessionEventsRequest) GetEndDate() time.Time { 7793 if m != nil { 7794 return m.EndDate 7795 } 7796 return time.Time{} 7797 } 7798 7799 func (m *GetSessionEventsRequest) GetLimit() int32 { 7800 if m != nil { 7801 return m.Limit 7802 } 7803 return 0 7804 } 7805 7806 func (m *GetSessionEventsRequest) GetStartKey() string { 7807 if m != nil { 7808 return m.StartKey 7809 } 7810 return "" 7811 } 7812 7813 func (m *GetSessionEventsRequest) GetOrder() Order { 7814 if m != nil { 7815 return m.Order 7816 } 7817 return Order_DESCENDING 7818 } 7819 7820 type Events struct { 7821 // Items is a list of typed gRPC formatted audit events. 7822 Items []*events.OneOf `protobuf:"bytes,1,rep,name=Items,proto3" json:"Items,omitempty"` 7823 // the key of the last event if the returned set did not contain all events found i.e limit < 7824 // actual amount. this is the key clients can supply in another API request to continue fetching 7825 // events from the previous last position 7826 LastKey string `protobuf:"bytes,2,opt,name=LastKey,proto3" json:"LastKey,omitempty"` 7827 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7828 XXX_unrecognized []byte `json:"-"` 7829 XXX_sizecache int32 `json:"-"` 7830 } 7831 7832 func (m *Events) Reset() { *m = Events{} } 7833 func (m *Events) String() string { return proto.CompactTextString(m) } 7834 func (*Events) ProtoMessage() {} 7835 func (*Events) Descriptor() ([]byte, []int) { 7836 return fileDescriptor_0ffcffcda38ae159, []int{113} 7837 } 7838 func (m *Events) XXX_Unmarshal(b []byte) error { 7839 return m.Unmarshal(b) 7840 } 7841 func (m *Events) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7842 if deterministic { 7843 return xxx_messageInfo_Events.Marshal(b, m, deterministic) 7844 } else { 7845 b = b[:cap(b)] 7846 n, err := m.MarshalToSizedBuffer(b) 7847 if err != nil { 7848 return nil, err 7849 } 7850 return b[:n], nil 7851 } 7852 } 7853 func (m *Events) XXX_Merge(src proto.Message) { 7854 xxx_messageInfo_Events.Merge(m, src) 7855 } 7856 func (m *Events) XXX_Size() int { 7857 return m.Size() 7858 } 7859 func (m *Events) XXX_DiscardUnknown() { 7860 xxx_messageInfo_Events.DiscardUnknown(m) 7861 } 7862 7863 var xxx_messageInfo_Events proto.InternalMessageInfo 7864 7865 func (m *Events) GetItems() []*events.OneOf { 7866 if m != nil { 7867 return m.Items 7868 } 7869 return nil 7870 } 7871 7872 func (m *Events) GetLastKey() string { 7873 if m != nil { 7874 return m.LastKey 7875 } 7876 return "" 7877 } 7878 7879 type GetLocksRequest struct { 7880 // Targets is a list of targets. Every returned lock must match at least 7881 // one of the targets. 7882 Targets []*types.LockTarget `protobuf:"bytes,1,rep,name=Targets,proto3" json:"Targets,omitempty"` 7883 // InForceOnly specifies whether to return only those locks that are in force. 7884 InForceOnly bool `protobuf:"varint,2,opt,name=InForceOnly,proto3" json:"InForceOnly,omitempty"` 7885 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7886 XXX_unrecognized []byte `json:"-"` 7887 XXX_sizecache int32 `json:"-"` 7888 } 7889 7890 func (m *GetLocksRequest) Reset() { *m = GetLocksRequest{} } 7891 func (m *GetLocksRequest) String() string { return proto.CompactTextString(m) } 7892 func (*GetLocksRequest) ProtoMessage() {} 7893 func (*GetLocksRequest) Descriptor() ([]byte, []int) { 7894 return fileDescriptor_0ffcffcda38ae159, []int{114} 7895 } 7896 func (m *GetLocksRequest) XXX_Unmarshal(b []byte) error { 7897 return m.Unmarshal(b) 7898 } 7899 func (m *GetLocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7900 if deterministic { 7901 return xxx_messageInfo_GetLocksRequest.Marshal(b, m, deterministic) 7902 } else { 7903 b = b[:cap(b)] 7904 n, err := m.MarshalToSizedBuffer(b) 7905 if err != nil { 7906 return nil, err 7907 } 7908 return b[:n], nil 7909 } 7910 } 7911 func (m *GetLocksRequest) XXX_Merge(src proto.Message) { 7912 xxx_messageInfo_GetLocksRequest.Merge(m, src) 7913 } 7914 func (m *GetLocksRequest) XXX_Size() int { 7915 return m.Size() 7916 } 7917 func (m *GetLocksRequest) XXX_DiscardUnknown() { 7918 xxx_messageInfo_GetLocksRequest.DiscardUnknown(m) 7919 } 7920 7921 var xxx_messageInfo_GetLocksRequest proto.InternalMessageInfo 7922 7923 func (m *GetLocksRequest) GetTargets() []*types.LockTarget { 7924 if m != nil { 7925 return m.Targets 7926 } 7927 return nil 7928 } 7929 7930 func (m *GetLocksRequest) GetInForceOnly() bool { 7931 if m != nil { 7932 return m.InForceOnly 7933 } 7934 return false 7935 } 7936 7937 type GetLocksResponse struct { 7938 // Locks is a list of locks. 7939 Locks []*types.LockV2 `protobuf:"bytes,1,rep,name=Locks,proto3" json:"Locks,omitempty"` 7940 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7941 XXX_unrecognized []byte `json:"-"` 7942 XXX_sizecache int32 `json:"-"` 7943 } 7944 7945 func (m *GetLocksResponse) Reset() { *m = GetLocksResponse{} } 7946 func (m *GetLocksResponse) String() string { return proto.CompactTextString(m) } 7947 func (*GetLocksResponse) ProtoMessage() {} 7948 func (*GetLocksResponse) Descriptor() ([]byte, []int) { 7949 return fileDescriptor_0ffcffcda38ae159, []int{115} 7950 } 7951 func (m *GetLocksResponse) XXX_Unmarshal(b []byte) error { 7952 return m.Unmarshal(b) 7953 } 7954 func (m *GetLocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7955 if deterministic { 7956 return xxx_messageInfo_GetLocksResponse.Marshal(b, m, deterministic) 7957 } else { 7958 b = b[:cap(b)] 7959 n, err := m.MarshalToSizedBuffer(b) 7960 if err != nil { 7961 return nil, err 7962 } 7963 return b[:n], nil 7964 } 7965 } 7966 func (m *GetLocksResponse) XXX_Merge(src proto.Message) { 7967 xxx_messageInfo_GetLocksResponse.Merge(m, src) 7968 } 7969 func (m *GetLocksResponse) XXX_Size() int { 7970 return m.Size() 7971 } 7972 func (m *GetLocksResponse) XXX_DiscardUnknown() { 7973 xxx_messageInfo_GetLocksResponse.DiscardUnknown(m) 7974 } 7975 7976 var xxx_messageInfo_GetLocksResponse proto.InternalMessageInfo 7977 7978 func (m *GetLocksResponse) GetLocks() []*types.LockV2 { 7979 if m != nil { 7980 return m.Locks 7981 } 7982 return nil 7983 } 7984 7985 type GetLockRequest struct { 7986 // Name is the name of the lock to get. 7987 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` 7988 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7989 XXX_unrecognized []byte `json:"-"` 7990 XXX_sizecache int32 `json:"-"` 7991 } 7992 7993 func (m *GetLockRequest) Reset() { *m = GetLockRequest{} } 7994 func (m *GetLockRequest) String() string { return proto.CompactTextString(m) } 7995 func (*GetLockRequest) ProtoMessage() {} 7996 func (*GetLockRequest) Descriptor() ([]byte, []int) { 7997 return fileDescriptor_0ffcffcda38ae159, []int{116} 7998 } 7999 func (m *GetLockRequest) XXX_Unmarshal(b []byte) error { 8000 return m.Unmarshal(b) 8001 } 8002 func (m *GetLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8003 if deterministic { 8004 return xxx_messageInfo_GetLockRequest.Marshal(b, m, deterministic) 8005 } else { 8006 b = b[:cap(b)] 8007 n, err := m.MarshalToSizedBuffer(b) 8008 if err != nil { 8009 return nil, err 8010 } 8011 return b[:n], nil 8012 } 8013 } 8014 func (m *GetLockRequest) XXX_Merge(src proto.Message) { 8015 xxx_messageInfo_GetLockRequest.Merge(m, src) 8016 } 8017 func (m *GetLockRequest) XXX_Size() int { 8018 return m.Size() 8019 } 8020 func (m *GetLockRequest) XXX_DiscardUnknown() { 8021 xxx_messageInfo_GetLockRequest.DiscardUnknown(m) 8022 } 8023 8024 var xxx_messageInfo_GetLockRequest proto.InternalMessageInfo 8025 8026 func (m *GetLockRequest) GetName() string { 8027 if m != nil { 8028 return m.Name 8029 } 8030 return "" 8031 } 8032 8033 type DeleteLockRequest struct { 8034 // Name is the name of the lock to delete. 8035 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` 8036 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8037 XXX_unrecognized []byte `json:"-"` 8038 XXX_sizecache int32 `json:"-"` 8039 } 8040 8041 func (m *DeleteLockRequest) Reset() { *m = DeleteLockRequest{} } 8042 func (m *DeleteLockRequest) String() string { return proto.CompactTextString(m) } 8043 func (*DeleteLockRequest) ProtoMessage() {} 8044 func (*DeleteLockRequest) Descriptor() ([]byte, []int) { 8045 return fileDescriptor_0ffcffcda38ae159, []int{117} 8046 } 8047 func (m *DeleteLockRequest) XXX_Unmarshal(b []byte) error { 8048 return m.Unmarshal(b) 8049 } 8050 func (m *DeleteLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8051 if deterministic { 8052 return xxx_messageInfo_DeleteLockRequest.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 *DeleteLockRequest) XXX_Merge(src proto.Message) { 8063 xxx_messageInfo_DeleteLockRequest.Merge(m, src) 8064 } 8065 func (m *DeleteLockRequest) XXX_Size() int { 8066 return m.Size() 8067 } 8068 func (m *DeleteLockRequest) XXX_DiscardUnknown() { 8069 xxx_messageInfo_DeleteLockRequest.DiscardUnknown(m) 8070 } 8071 8072 var xxx_messageInfo_DeleteLockRequest proto.InternalMessageInfo 8073 8074 func (m *DeleteLockRequest) GetName() string { 8075 if m != nil { 8076 return m.Name 8077 } 8078 return "" 8079 } 8080 8081 type ReplaceRemoteLocksRequest struct { 8082 // ClusterName identifies the cluster from which the locks originate. 8083 ClusterName string `protobuf:"bytes,1,opt,name=ClusterName,proto3" json:"ClusterName,omitempty"` 8084 // Locks is a list of new remote locks to store. 8085 Locks []*types.LockV2 `protobuf:"bytes,2,rep,name=Locks,proto3" json:"Locks,omitempty"` 8086 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8087 XXX_unrecognized []byte `json:"-"` 8088 XXX_sizecache int32 `json:"-"` 8089 } 8090 8091 func (m *ReplaceRemoteLocksRequest) Reset() { *m = ReplaceRemoteLocksRequest{} } 8092 func (m *ReplaceRemoteLocksRequest) String() string { return proto.CompactTextString(m) } 8093 func (*ReplaceRemoteLocksRequest) ProtoMessage() {} 8094 func (*ReplaceRemoteLocksRequest) Descriptor() ([]byte, []int) { 8095 return fileDescriptor_0ffcffcda38ae159, []int{118} 8096 } 8097 func (m *ReplaceRemoteLocksRequest) XXX_Unmarshal(b []byte) error { 8098 return m.Unmarshal(b) 8099 } 8100 func (m *ReplaceRemoteLocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8101 if deterministic { 8102 return xxx_messageInfo_ReplaceRemoteLocksRequest.Marshal(b, m, deterministic) 8103 } else { 8104 b = b[:cap(b)] 8105 n, err := m.MarshalToSizedBuffer(b) 8106 if err != nil { 8107 return nil, err 8108 } 8109 return b[:n], nil 8110 } 8111 } 8112 func (m *ReplaceRemoteLocksRequest) XXX_Merge(src proto.Message) { 8113 xxx_messageInfo_ReplaceRemoteLocksRequest.Merge(m, src) 8114 } 8115 func (m *ReplaceRemoteLocksRequest) XXX_Size() int { 8116 return m.Size() 8117 } 8118 func (m *ReplaceRemoteLocksRequest) XXX_DiscardUnknown() { 8119 xxx_messageInfo_ReplaceRemoteLocksRequest.DiscardUnknown(m) 8120 } 8121 8122 var xxx_messageInfo_ReplaceRemoteLocksRequest proto.InternalMessageInfo 8123 8124 func (m *ReplaceRemoteLocksRequest) GetClusterName() string { 8125 if m != nil { 8126 return m.ClusterName 8127 } 8128 return "" 8129 } 8130 8131 func (m *ReplaceRemoteLocksRequest) GetLocks() []*types.LockV2 { 8132 if m != nil { 8133 return m.Locks 8134 } 8135 return nil 8136 } 8137 8138 // GetWindowsDesktopServicesResponse contains all registered Windows desktop services. 8139 type GetWindowsDesktopServicesResponse struct { 8140 // Services is a list of Windows desktop services. 8141 Services []*types.WindowsDesktopServiceV3 `protobuf:"bytes,1,rep,name=services,proto3" json:"services"` 8142 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8143 XXX_unrecognized []byte `json:"-"` 8144 XXX_sizecache int32 `json:"-"` 8145 } 8146 8147 func (m *GetWindowsDesktopServicesResponse) Reset() { *m = GetWindowsDesktopServicesResponse{} } 8148 func (m *GetWindowsDesktopServicesResponse) String() string { return proto.CompactTextString(m) } 8149 func (*GetWindowsDesktopServicesResponse) ProtoMessage() {} 8150 func (*GetWindowsDesktopServicesResponse) Descriptor() ([]byte, []int) { 8151 return fileDescriptor_0ffcffcda38ae159, []int{119} 8152 } 8153 func (m *GetWindowsDesktopServicesResponse) XXX_Unmarshal(b []byte) error { 8154 return m.Unmarshal(b) 8155 } 8156 func (m *GetWindowsDesktopServicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8157 if deterministic { 8158 return xxx_messageInfo_GetWindowsDesktopServicesResponse.Marshal(b, m, deterministic) 8159 } else { 8160 b = b[:cap(b)] 8161 n, err := m.MarshalToSizedBuffer(b) 8162 if err != nil { 8163 return nil, err 8164 } 8165 return b[:n], nil 8166 } 8167 } 8168 func (m *GetWindowsDesktopServicesResponse) XXX_Merge(src proto.Message) { 8169 xxx_messageInfo_GetWindowsDesktopServicesResponse.Merge(m, src) 8170 } 8171 func (m *GetWindowsDesktopServicesResponse) XXX_Size() int { 8172 return m.Size() 8173 } 8174 func (m *GetWindowsDesktopServicesResponse) XXX_DiscardUnknown() { 8175 xxx_messageInfo_GetWindowsDesktopServicesResponse.DiscardUnknown(m) 8176 } 8177 8178 var xxx_messageInfo_GetWindowsDesktopServicesResponse proto.InternalMessageInfo 8179 8180 func (m *GetWindowsDesktopServicesResponse) GetServices() []*types.WindowsDesktopServiceV3 { 8181 if m != nil { 8182 return m.Services 8183 } 8184 return nil 8185 } 8186 8187 // GetWindowsDesktopServiceRequest is a request for a specific Windows Desktop Service. 8188 type GetWindowsDesktopServiceRequest struct { 8189 // Name is the name of the Windows Desktop Service to be requested. 8190 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 8191 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8192 XXX_unrecognized []byte `json:"-"` 8193 XXX_sizecache int32 `json:"-"` 8194 } 8195 8196 func (m *GetWindowsDesktopServiceRequest) Reset() { *m = GetWindowsDesktopServiceRequest{} } 8197 func (m *GetWindowsDesktopServiceRequest) String() string { return proto.CompactTextString(m) } 8198 func (*GetWindowsDesktopServiceRequest) ProtoMessage() {} 8199 func (*GetWindowsDesktopServiceRequest) Descriptor() ([]byte, []int) { 8200 return fileDescriptor_0ffcffcda38ae159, []int{120} 8201 } 8202 func (m *GetWindowsDesktopServiceRequest) XXX_Unmarshal(b []byte) error { 8203 return m.Unmarshal(b) 8204 } 8205 func (m *GetWindowsDesktopServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8206 if deterministic { 8207 return xxx_messageInfo_GetWindowsDesktopServiceRequest.Marshal(b, m, deterministic) 8208 } else { 8209 b = b[:cap(b)] 8210 n, err := m.MarshalToSizedBuffer(b) 8211 if err != nil { 8212 return nil, err 8213 } 8214 return b[:n], nil 8215 } 8216 } 8217 func (m *GetWindowsDesktopServiceRequest) XXX_Merge(src proto.Message) { 8218 xxx_messageInfo_GetWindowsDesktopServiceRequest.Merge(m, src) 8219 } 8220 func (m *GetWindowsDesktopServiceRequest) XXX_Size() int { 8221 return m.Size() 8222 } 8223 func (m *GetWindowsDesktopServiceRequest) XXX_DiscardUnknown() { 8224 xxx_messageInfo_GetWindowsDesktopServiceRequest.DiscardUnknown(m) 8225 } 8226 8227 var xxx_messageInfo_GetWindowsDesktopServiceRequest proto.InternalMessageInfo 8228 8229 func (m *GetWindowsDesktopServiceRequest) GetName() string { 8230 if m != nil { 8231 return m.Name 8232 } 8233 return "" 8234 } 8235 8236 // GetWindowsDesktopServiceResponse contains the requested WindowsDesktopService 8237 type GetWindowsDesktopServiceResponse struct { 8238 // Service is the requested Windows Desktop Service. 8239 Service *types.WindowsDesktopServiceV3 `protobuf:"bytes,1,opt,name=service,proto3" json:"service"` 8240 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8241 XXX_unrecognized []byte `json:"-"` 8242 XXX_sizecache int32 `json:"-"` 8243 } 8244 8245 func (m *GetWindowsDesktopServiceResponse) Reset() { *m = GetWindowsDesktopServiceResponse{} } 8246 func (m *GetWindowsDesktopServiceResponse) String() string { return proto.CompactTextString(m) } 8247 func (*GetWindowsDesktopServiceResponse) ProtoMessage() {} 8248 func (*GetWindowsDesktopServiceResponse) Descriptor() ([]byte, []int) { 8249 return fileDescriptor_0ffcffcda38ae159, []int{121} 8250 } 8251 func (m *GetWindowsDesktopServiceResponse) XXX_Unmarshal(b []byte) error { 8252 return m.Unmarshal(b) 8253 } 8254 func (m *GetWindowsDesktopServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8255 if deterministic { 8256 return xxx_messageInfo_GetWindowsDesktopServiceResponse.Marshal(b, m, deterministic) 8257 } else { 8258 b = b[:cap(b)] 8259 n, err := m.MarshalToSizedBuffer(b) 8260 if err != nil { 8261 return nil, err 8262 } 8263 return b[:n], nil 8264 } 8265 } 8266 func (m *GetWindowsDesktopServiceResponse) XXX_Merge(src proto.Message) { 8267 xxx_messageInfo_GetWindowsDesktopServiceResponse.Merge(m, src) 8268 } 8269 func (m *GetWindowsDesktopServiceResponse) XXX_Size() int { 8270 return m.Size() 8271 } 8272 func (m *GetWindowsDesktopServiceResponse) XXX_DiscardUnknown() { 8273 xxx_messageInfo_GetWindowsDesktopServiceResponse.DiscardUnknown(m) 8274 } 8275 8276 var xxx_messageInfo_GetWindowsDesktopServiceResponse proto.InternalMessageInfo 8277 8278 func (m *GetWindowsDesktopServiceResponse) GetService() *types.WindowsDesktopServiceV3 { 8279 if m != nil { 8280 return m.Service 8281 } 8282 return nil 8283 } 8284 8285 // DeleteWindowsDesktopServiceRequest is a request to delete a Windows desktop service. 8286 type DeleteWindowsDesktopServiceRequest struct { 8287 // Name is the Windows desktop service name. 8288 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 8289 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8290 XXX_unrecognized []byte `json:"-"` 8291 XXX_sizecache int32 `json:"-"` 8292 } 8293 8294 func (m *DeleteWindowsDesktopServiceRequest) Reset() { *m = DeleteWindowsDesktopServiceRequest{} } 8295 func (m *DeleteWindowsDesktopServiceRequest) String() string { return proto.CompactTextString(m) } 8296 func (*DeleteWindowsDesktopServiceRequest) ProtoMessage() {} 8297 func (*DeleteWindowsDesktopServiceRequest) Descriptor() ([]byte, []int) { 8298 return fileDescriptor_0ffcffcda38ae159, []int{122} 8299 } 8300 func (m *DeleteWindowsDesktopServiceRequest) XXX_Unmarshal(b []byte) error { 8301 return m.Unmarshal(b) 8302 } 8303 func (m *DeleteWindowsDesktopServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8304 if deterministic { 8305 return xxx_messageInfo_DeleteWindowsDesktopServiceRequest.Marshal(b, m, deterministic) 8306 } else { 8307 b = b[:cap(b)] 8308 n, err := m.MarshalToSizedBuffer(b) 8309 if err != nil { 8310 return nil, err 8311 } 8312 return b[:n], nil 8313 } 8314 } 8315 func (m *DeleteWindowsDesktopServiceRequest) XXX_Merge(src proto.Message) { 8316 xxx_messageInfo_DeleteWindowsDesktopServiceRequest.Merge(m, src) 8317 } 8318 func (m *DeleteWindowsDesktopServiceRequest) XXX_Size() int { 8319 return m.Size() 8320 } 8321 func (m *DeleteWindowsDesktopServiceRequest) XXX_DiscardUnknown() { 8322 xxx_messageInfo_DeleteWindowsDesktopServiceRequest.DiscardUnknown(m) 8323 } 8324 8325 var xxx_messageInfo_DeleteWindowsDesktopServiceRequest proto.InternalMessageInfo 8326 8327 func (m *DeleteWindowsDesktopServiceRequest) GetName() string { 8328 if m != nil { 8329 return m.Name 8330 } 8331 return "" 8332 } 8333 8334 // GetWindowsDesktopsResponse contains all registered Windows desktop hosts. 8335 type GetWindowsDesktopsResponse struct { 8336 // Servers is a list of Windows desktop hosts. 8337 Desktops []*types.WindowsDesktopV3 `protobuf:"bytes,1,rep,name=Desktops,proto3" json:"desktops"` 8338 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8339 XXX_unrecognized []byte `json:"-"` 8340 XXX_sizecache int32 `json:"-"` 8341 } 8342 8343 func (m *GetWindowsDesktopsResponse) Reset() { *m = GetWindowsDesktopsResponse{} } 8344 func (m *GetWindowsDesktopsResponse) String() string { return proto.CompactTextString(m) } 8345 func (*GetWindowsDesktopsResponse) ProtoMessage() {} 8346 func (*GetWindowsDesktopsResponse) Descriptor() ([]byte, []int) { 8347 return fileDescriptor_0ffcffcda38ae159, []int{123} 8348 } 8349 func (m *GetWindowsDesktopsResponse) XXX_Unmarshal(b []byte) error { 8350 return m.Unmarshal(b) 8351 } 8352 func (m *GetWindowsDesktopsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8353 if deterministic { 8354 return xxx_messageInfo_GetWindowsDesktopsResponse.Marshal(b, m, deterministic) 8355 } else { 8356 b = b[:cap(b)] 8357 n, err := m.MarshalToSizedBuffer(b) 8358 if err != nil { 8359 return nil, err 8360 } 8361 return b[:n], nil 8362 } 8363 } 8364 func (m *GetWindowsDesktopsResponse) XXX_Merge(src proto.Message) { 8365 xxx_messageInfo_GetWindowsDesktopsResponse.Merge(m, src) 8366 } 8367 func (m *GetWindowsDesktopsResponse) XXX_Size() int { 8368 return m.Size() 8369 } 8370 func (m *GetWindowsDesktopsResponse) XXX_DiscardUnknown() { 8371 xxx_messageInfo_GetWindowsDesktopsResponse.DiscardUnknown(m) 8372 } 8373 8374 var xxx_messageInfo_GetWindowsDesktopsResponse proto.InternalMessageInfo 8375 8376 func (m *GetWindowsDesktopsResponse) GetDesktops() []*types.WindowsDesktopV3 { 8377 if m != nil { 8378 return m.Desktops 8379 } 8380 return nil 8381 } 8382 8383 // DeleteWindowsDesktopRequest is a request to delete a Windows 8384 // desktop host. If HostID is not specified, all Windows desktops with 8385 // specified Name will be deleted 8386 type DeleteWindowsDesktopRequest struct { 8387 // Name is the name of the Windows desktop host. 8388 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 8389 // HostID is the ID of the Windows Desktop Service reporting the desktop. 8390 HostID string `protobuf:"bytes,2,opt,name=HostID,proto3" json:"host_id"` 8391 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8392 XXX_unrecognized []byte `json:"-"` 8393 XXX_sizecache int32 `json:"-"` 8394 } 8395 8396 func (m *DeleteWindowsDesktopRequest) Reset() { *m = DeleteWindowsDesktopRequest{} } 8397 func (m *DeleteWindowsDesktopRequest) String() string { return proto.CompactTextString(m) } 8398 func (*DeleteWindowsDesktopRequest) ProtoMessage() {} 8399 func (*DeleteWindowsDesktopRequest) Descriptor() ([]byte, []int) { 8400 return fileDescriptor_0ffcffcda38ae159, []int{124} 8401 } 8402 func (m *DeleteWindowsDesktopRequest) XXX_Unmarshal(b []byte) error { 8403 return m.Unmarshal(b) 8404 } 8405 func (m *DeleteWindowsDesktopRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8406 if deterministic { 8407 return xxx_messageInfo_DeleteWindowsDesktopRequest.Marshal(b, m, deterministic) 8408 } else { 8409 b = b[:cap(b)] 8410 n, err := m.MarshalToSizedBuffer(b) 8411 if err != nil { 8412 return nil, err 8413 } 8414 return b[:n], nil 8415 } 8416 } 8417 func (m *DeleteWindowsDesktopRequest) XXX_Merge(src proto.Message) { 8418 xxx_messageInfo_DeleteWindowsDesktopRequest.Merge(m, src) 8419 } 8420 func (m *DeleteWindowsDesktopRequest) XXX_Size() int { 8421 return m.Size() 8422 } 8423 func (m *DeleteWindowsDesktopRequest) XXX_DiscardUnknown() { 8424 xxx_messageInfo_DeleteWindowsDesktopRequest.DiscardUnknown(m) 8425 } 8426 8427 var xxx_messageInfo_DeleteWindowsDesktopRequest proto.InternalMessageInfo 8428 8429 func (m *DeleteWindowsDesktopRequest) GetName() string { 8430 if m != nil { 8431 return m.Name 8432 } 8433 return "" 8434 } 8435 8436 func (m *DeleteWindowsDesktopRequest) GetHostID() string { 8437 if m != nil { 8438 return m.HostID 8439 } 8440 return "" 8441 } 8442 8443 // WindowsDesktopCertRequest is a request to generate a client certificate used 8444 // for Windows RDP authentication. 8445 type WindowsDesktopCertRequest struct { 8446 // CSR is the request to sign in PEM format. 8447 CSR []byte `protobuf:"bytes,1,opt,name=CSR,proto3" json:"CSR,omitempty"` 8448 // CRLEndpoint is the address of the CRL for this certificate. 8449 CRLEndpoint string `protobuf:"bytes,2,opt,name=CRLEndpoint,proto3" json:"CRLEndpoint,omitempty"` 8450 // TTL is the certificate validity period. 8451 TTL Duration `protobuf:"varint,3,opt,name=TTL,proto3,casttype=Duration" json:"TTL,omitempty"` 8452 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8453 XXX_unrecognized []byte `json:"-"` 8454 XXX_sizecache int32 `json:"-"` 8455 } 8456 8457 func (m *WindowsDesktopCertRequest) Reset() { *m = WindowsDesktopCertRequest{} } 8458 func (m *WindowsDesktopCertRequest) String() string { return proto.CompactTextString(m) } 8459 func (*WindowsDesktopCertRequest) ProtoMessage() {} 8460 func (*WindowsDesktopCertRequest) Descriptor() ([]byte, []int) { 8461 return fileDescriptor_0ffcffcda38ae159, []int{125} 8462 } 8463 func (m *WindowsDesktopCertRequest) XXX_Unmarshal(b []byte) error { 8464 return m.Unmarshal(b) 8465 } 8466 func (m *WindowsDesktopCertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8467 if deterministic { 8468 return xxx_messageInfo_WindowsDesktopCertRequest.Marshal(b, m, deterministic) 8469 } else { 8470 b = b[:cap(b)] 8471 n, err := m.MarshalToSizedBuffer(b) 8472 if err != nil { 8473 return nil, err 8474 } 8475 return b[:n], nil 8476 } 8477 } 8478 func (m *WindowsDesktopCertRequest) XXX_Merge(src proto.Message) { 8479 xxx_messageInfo_WindowsDesktopCertRequest.Merge(m, src) 8480 } 8481 func (m *WindowsDesktopCertRequest) XXX_Size() int { 8482 return m.Size() 8483 } 8484 func (m *WindowsDesktopCertRequest) XXX_DiscardUnknown() { 8485 xxx_messageInfo_WindowsDesktopCertRequest.DiscardUnknown(m) 8486 } 8487 8488 var xxx_messageInfo_WindowsDesktopCertRequest proto.InternalMessageInfo 8489 8490 func (m *WindowsDesktopCertRequest) GetCSR() []byte { 8491 if m != nil { 8492 return m.CSR 8493 } 8494 return nil 8495 } 8496 8497 func (m *WindowsDesktopCertRequest) GetCRLEndpoint() string { 8498 if m != nil { 8499 return m.CRLEndpoint 8500 } 8501 return "" 8502 } 8503 8504 func (m *WindowsDesktopCertRequest) GetTTL() Duration { 8505 if m != nil { 8506 return m.TTL 8507 } 8508 return 0 8509 } 8510 8511 // WindowsDesktopCertResponse contains the signed Windows RDP certificate. 8512 type WindowsDesktopCertResponse struct { 8513 // Cert is the signed certificate in PEM format. 8514 Cert []byte `protobuf:"bytes,1,opt,name=Cert,proto3" json:"Cert,omitempty"` 8515 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8516 XXX_unrecognized []byte `json:"-"` 8517 XXX_sizecache int32 `json:"-"` 8518 } 8519 8520 func (m *WindowsDesktopCertResponse) Reset() { *m = WindowsDesktopCertResponse{} } 8521 func (m *WindowsDesktopCertResponse) String() string { return proto.CompactTextString(m) } 8522 func (*WindowsDesktopCertResponse) ProtoMessage() {} 8523 func (*WindowsDesktopCertResponse) Descriptor() ([]byte, []int) { 8524 return fileDescriptor_0ffcffcda38ae159, []int{126} 8525 } 8526 func (m *WindowsDesktopCertResponse) XXX_Unmarshal(b []byte) error { 8527 return m.Unmarshal(b) 8528 } 8529 func (m *WindowsDesktopCertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8530 if deterministic { 8531 return xxx_messageInfo_WindowsDesktopCertResponse.Marshal(b, m, deterministic) 8532 } else { 8533 b = b[:cap(b)] 8534 n, err := m.MarshalToSizedBuffer(b) 8535 if err != nil { 8536 return nil, err 8537 } 8538 return b[:n], nil 8539 } 8540 } 8541 func (m *WindowsDesktopCertResponse) XXX_Merge(src proto.Message) { 8542 xxx_messageInfo_WindowsDesktopCertResponse.Merge(m, src) 8543 } 8544 func (m *WindowsDesktopCertResponse) XXX_Size() int { 8545 return m.Size() 8546 } 8547 func (m *WindowsDesktopCertResponse) XXX_DiscardUnknown() { 8548 xxx_messageInfo_WindowsDesktopCertResponse.DiscardUnknown(m) 8549 } 8550 8551 var xxx_messageInfo_WindowsDesktopCertResponse proto.InternalMessageInfo 8552 8553 func (m *WindowsDesktopCertResponse) GetCert() []byte { 8554 if m != nil { 8555 return m.Cert 8556 } 8557 return nil 8558 } 8559 8560 // ListSAMLIdPServiceProvidersRequest is a request for a paginated list of SAML IdP service providers. 8561 type ListSAMLIdPServiceProvidersRequest struct { 8562 // Limit is the maximum amount of resources to retrieve. 8563 Limit int32 `protobuf:"varint,1,opt,name=Limit,proto3" json:"limit,omitempty"` 8564 // NextKey is the key for the next page of SAML IdP service providers. 8565 NextKey string `protobuf:"bytes,2,opt,name=NextKey,proto3" json:"next_key,omitempty"` 8566 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8567 XXX_unrecognized []byte `json:"-"` 8568 XXX_sizecache int32 `json:"-"` 8569 } 8570 8571 func (m *ListSAMLIdPServiceProvidersRequest) Reset() { *m = ListSAMLIdPServiceProvidersRequest{} } 8572 func (m *ListSAMLIdPServiceProvidersRequest) String() string { return proto.CompactTextString(m) } 8573 func (*ListSAMLIdPServiceProvidersRequest) ProtoMessage() {} 8574 func (*ListSAMLIdPServiceProvidersRequest) Descriptor() ([]byte, []int) { 8575 return fileDescriptor_0ffcffcda38ae159, []int{127} 8576 } 8577 func (m *ListSAMLIdPServiceProvidersRequest) XXX_Unmarshal(b []byte) error { 8578 return m.Unmarshal(b) 8579 } 8580 func (m *ListSAMLIdPServiceProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8581 if deterministic { 8582 return xxx_messageInfo_ListSAMLIdPServiceProvidersRequest.Marshal(b, m, deterministic) 8583 } else { 8584 b = b[:cap(b)] 8585 n, err := m.MarshalToSizedBuffer(b) 8586 if err != nil { 8587 return nil, err 8588 } 8589 return b[:n], nil 8590 } 8591 } 8592 func (m *ListSAMLIdPServiceProvidersRequest) XXX_Merge(src proto.Message) { 8593 xxx_messageInfo_ListSAMLIdPServiceProvidersRequest.Merge(m, src) 8594 } 8595 func (m *ListSAMLIdPServiceProvidersRequest) XXX_Size() int { 8596 return m.Size() 8597 } 8598 func (m *ListSAMLIdPServiceProvidersRequest) XXX_DiscardUnknown() { 8599 xxx_messageInfo_ListSAMLIdPServiceProvidersRequest.DiscardUnknown(m) 8600 } 8601 8602 var xxx_messageInfo_ListSAMLIdPServiceProvidersRequest proto.InternalMessageInfo 8603 8604 func (m *ListSAMLIdPServiceProvidersRequest) GetLimit() int32 { 8605 if m != nil { 8606 return m.Limit 8607 } 8608 return 0 8609 } 8610 8611 func (m *ListSAMLIdPServiceProvidersRequest) GetNextKey() string { 8612 if m != nil { 8613 return m.NextKey 8614 } 8615 return "" 8616 } 8617 8618 // ListSAMLIdPServiceProvidersResponse a paginated list of SAML IdP service providers. 8619 type ListSAMLIdPServiceProvidersResponse struct { 8620 // Servers is a list of SAML IdP service providers. 8621 ServiceProviders []*types.SAMLIdPServiceProviderV1 `protobuf:"bytes,1,rep,name=ServiceProviders,proto3" json:"service_providers"` 8622 // NextKey is the key for the next page of SAML IdP service providers. 8623 NextKey string `protobuf:"bytes,2,opt,name=NextKey,proto3" json:"next_key,omitempty"` 8624 // TotalCount is the total number of resources available after filter, if any. 8625 TotalCount int32 `protobuf:"varint,3,opt,name=TotalCount,proto3" json:"total_count,omitempty"` 8626 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8627 XXX_unrecognized []byte `json:"-"` 8628 XXX_sizecache int32 `json:"-"` 8629 } 8630 8631 func (m *ListSAMLIdPServiceProvidersResponse) Reset() { *m = ListSAMLIdPServiceProvidersResponse{} } 8632 func (m *ListSAMLIdPServiceProvidersResponse) String() string { return proto.CompactTextString(m) } 8633 func (*ListSAMLIdPServiceProvidersResponse) ProtoMessage() {} 8634 func (*ListSAMLIdPServiceProvidersResponse) Descriptor() ([]byte, []int) { 8635 return fileDescriptor_0ffcffcda38ae159, []int{128} 8636 } 8637 func (m *ListSAMLIdPServiceProvidersResponse) XXX_Unmarshal(b []byte) error { 8638 return m.Unmarshal(b) 8639 } 8640 func (m *ListSAMLIdPServiceProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8641 if deterministic { 8642 return xxx_messageInfo_ListSAMLIdPServiceProvidersResponse.Marshal(b, m, deterministic) 8643 } else { 8644 b = b[:cap(b)] 8645 n, err := m.MarshalToSizedBuffer(b) 8646 if err != nil { 8647 return nil, err 8648 } 8649 return b[:n], nil 8650 } 8651 } 8652 func (m *ListSAMLIdPServiceProvidersResponse) XXX_Merge(src proto.Message) { 8653 xxx_messageInfo_ListSAMLIdPServiceProvidersResponse.Merge(m, src) 8654 } 8655 func (m *ListSAMLIdPServiceProvidersResponse) XXX_Size() int { 8656 return m.Size() 8657 } 8658 func (m *ListSAMLIdPServiceProvidersResponse) XXX_DiscardUnknown() { 8659 xxx_messageInfo_ListSAMLIdPServiceProvidersResponse.DiscardUnknown(m) 8660 } 8661 8662 var xxx_messageInfo_ListSAMLIdPServiceProvidersResponse proto.InternalMessageInfo 8663 8664 func (m *ListSAMLIdPServiceProvidersResponse) GetServiceProviders() []*types.SAMLIdPServiceProviderV1 { 8665 if m != nil { 8666 return m.ServiceProviders 8667 } 8668 return nil 8669 } 8670 8671 func (m *ListSAMLIdPServiceProvidersResponse) GetNextKey() string { 8672 if m != nil { 8673 return m.NextKey 8674 } 8675 return "" 8676 } 8677 8678 func (m *ListSAMLIdPServiceProvidersResponse) GetTotalCount() int32 { 8679 if m != nil { 8680 return m.TotalCount 8681 } 8682 return 0 8683 } 8684 8685 // GetSAMLIdPServiceProviderRequest is a request for a specific SAML IdP service provider resource. 8686 type GetSAMLIdPServiceProviderRequest struct { 8687 // Name is the name of the SAML IdP sercice provider to be requested. 8688 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 8689 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8690 XXX_unrecognized []byte `json:"-"` 8691 XXX_sizecache int32 `json:"-"` 8692 } 8693 8694 func (m *GetSAMLIdPServiceProviderRequest) Reset() { *m = GetSAMLIdPServiceProviderRequest{} } 8695 func (m *GetSAMLIdPServiceProviderRequest) String() string { return proto.CompactTextString(m) } 8696 func (*GetSAMLIdPServiceProviderRequest) ProtoMessage() {} 8697 func (*GetSAMLIdPServiceProviderRequest) Descriptor() ([]byte, []int) { 8698 return fileDescriptor_0ffcffcda38ae159, []int{129} 8699 } 8700 func (m *GetSAMLIdPServiceProviderRequest) XXX_Unmarshal(b []byte) error { 8701 return m.Unmarshal(b) 8702 } 8703 func (m *GetSAMLIdPServiceProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8704 if deterministic { 8705 return xxx_messageInfo_GetSAMLIdPServiceProviderRequest.Marshal(b, m, deterministic) 8706 } else { 8707 b = b[:cap(b)] 8708 n, err := m.MarshalToSizedBuffer(b) 8709 if err != nil { 8710 return nil, err 8711 } 8712 return b[:n], nil 8713 } 8714 } 8715 func (m *GetSAMLIdPServiceProviderRequest) XXX_Merge(src proto.Message) { 8716 xxx_messageInfo_GetSAMLIdPServiceProviderRequest.Merge(m, src) 8717 } 8718 func (m *GetSAMLIdPServiceProviderRequest) XXX_Size() int { 8719 return m.Size() 8720 } 8721 func (m *GetSAMLIdPServiceProviderRequest) XXX_DiscardUnknown() { 8722 xxx_messageInfo_GetSAMLIdPServiceProviderRequest.DiscardUnknown(m) 8723 } 8724 8725 var xxx_messageInfo_GetSAMLIdPServiceProviderRequest proto.InternalMessageInfo 8726 8727 func (m *GetSAMLIdPServiceProviderRequest) GetName() string { 8728 if m != nil { 8729 return m.Name 8730 } 8731 return "" 8732 } 8733 8734 // DeleteSAMLIdPServiceProviderRequest is a request for deleting a specific SAML IdP service provider resource. 8735 type DeleteSAMLIdPServiceProviderRequest struct { 8736 // Name is the name of the SAML IdP sercice provider to be deleted. 8737 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 8738 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8739 XXX_unrecognized []byte `json:"-"` 8740 XXX_sizecache int32 `json:"-"` 8741 } 8742 8743 func (m *DeleteSAMLIdPServiceProviderRequest) Reset() { *m = DeleteSAMLIdPServiceProviderRequest{} } 8744 func (m *DeleteSAMLIdPServiceProviderRequest) String() string { return proto.CompactTextString(m) } 8745 func (*DeleteSAMLIdPServiceProviderRequest) ProtoMessage() {} 8746 func (*DeleteSAMLIdPServiceProviderRequest) Descriptor() ([]byte, []int) { 8747 return fileDescriptor_0ffcffcda38ae159, []int{130} 8748 } 8749 func (m *DeleteSAMLIdPServiceProviderRequest) XXX_Unmarshal(b []byte) error { 8750 return m.Unmarshal(b) 8751 } 8752 func (m *DeleteSAMLIdPServiceProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8753 if deterministic { 8754 return xxx_messageInfo_DeleteSAMLIdPServiceProviderRequest.Marshal(b, m, deterministic) 8755 } else { 8756 b = b[:cap(b)] 8757 n, err := m.MarshalToSizedBuffer(b) 8758 if err != nil { 8759 return nil, err 8760 } 8761 return b[:n], nil 8762 } 8763 } 8764 func (m *DeleteSAMLIdPServiceProviderRequest) XXX_Merge(src proto.Message) { 8765 xxx_messageInfo_DeleteSAMLIdPServiceProviderRequest.Merge(m, src) 8766 } 8767 func (m *DeleteSAMLIdPServiceProviderRequest) XXX_Size() int { 8768 return m.Size() 8769 } 8770 func (m *DeleteSAMLIdPServiceProviderRequest) XXX_DiscardUnknown() { 8771 xxx_messageInfo_DeleteSAMLIdPServiceProviderRequest.DiscardUnknown(m) 8772 } 8773 8774 var xxx_messageInfo_DeleteSAMLIdPServiceProviderRequest proto.InternalMessageInfo 8775 8776 func (m *DeleteSAMLIdPServiceProviderRequest) GetName() string { 8777 if m != nil { 8778 return m.Name 8779 } 8780 return "" 8781 } 8782 8783 // ListUserGroupsRequest is a request for a paginated list of user groups. 8784 type ListUserGroupsRequest struct { 8785 // Limit is the maximum amount of resources to retrieve. 8786 Limit int32 `protobuf:"varint,1,opt,name=Limit,proto3" json:"limit,omitempty"` 8787 // NextKey is the key for the next page of user groups. 8788 NextKey string `protobuf:"bytes,2,opt,name=NextKey,proto3" json:"next_key,omitempty"` 8789 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8790 XXX_unrecognized []byte `json:"-"` 8791 XXX_sizecache int32 `json:"-"` 8792 } 8793 8794 func (m *ListUserGroupsRequest) Reset() { *m = ListUserGroupsRequest{} } 8795 func (m *ListUserGroupsRequest) String() string { return proto.CompactTextString(m) } 8796 func (*ListUserGroupsRequest) ProtoMessage() {} 8797 func (*ListUserGroupsRequest) Descriptor() ([]byte, []int) { 8798 return fileDescriptor_0ffcffcda38ae159, []int{131} 8799 } 8800 func (m *ListUserGroupsRequest) XXX_Unmarshal(b []byte) error { 8801 return m.Unmarshal(b) 8802 } 8803 func (m *ListUserGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8804 if deterministic { 8805 return xxx_messageInfo_ListUserGroupsRequest.Marshal(b, m, deterministic) 8806 } else { 8807 b = b[:cap(b)] 8808 n, err := m.MarshalToSizedBuffer(b) 8809 if err != nil { 8810 return nil, err 8811 } 8812 return b[:n], nil 8813 } 8814 } 8815 func (m *ListUserGroupsRequest) XXX_Merge(src proto.Message) { 8816 xxx_messageInfo_ListUserGroupsRequest.Merge(m, src) 8817 } 8818 func (m *ListUserGroupsRequest) XXX_Size() int { 8819 return m.Size() 8820 } 8821 func (m *ListUserGroupsRequest) XXX_DiscardUnknown() { 8822 xxx_messageInfo_ListUserGroupsRequest.DiscardUnknown(m) 8823 } 8824 8825 var xxx_messageInfo_ListUserGroupsRequest proto.InternalMessageInfo 8826 8827 func (m *ListUserGroupsRequest) GetLimit() int32 { 8828 if m != nil { 8829 return m.Limit 8830 } 8831 return 0 8832 } 8833 8834 func (m *ListUserGroupsRequest) GetNextKey() string { 8835 if m != nil { 8836 return m.NextKey 8837 } 8838 return "" 8839 } 8840 8841 // ListUserGroupsResponse a paginated list of user groups. 8842 type ListUserGroupsResponse struct { 8843 // UserGroups is a list of user groups. 8844 UserGroups []*types.UserGroupV1 `protobuf:"bytes,1,rep,name=UserGroups,proto3" json:"user_groups"` 8845 // NextKey is the key for the next page of user groups. 8846 NextKey string `protobuf:"bytes,2,opt,name=NextKey,proto3" json:"next_key,omitempty"` 8847 // TotalCount is the total number of resources available after filter, if any. 8848 TotalCount int32 `protobuf:"varint,3,opt,name=TotalCount,proto3" json:"total_count,omitempty"` 8849 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8850 XXX_unrecognized []byte `json:"-"` 8851 XXX_sizecache int32 `json:"-"` 8852 } 8853 8854 func (m *ListUserGroupsResponse) Reset() { *m = ListUserGroupsResponse{} } 8855 func (m *ListUserGroupsResponse) String() string { return proto.CompactTextString(m) } 8856 func (*ListUserGroupsResponse) ProtoMessage() {} 8857 func (*ListUserGroupsResponse) Descriptor() ([]byte, []int) { 8858 return fileDescriptor_0ffcffcda38ae159, []int{132} 8859 } 8860 func (m *ListUserGroupsResponse) XXX_Unmarshal(b []byte) error { 8861 return m.Unmarshal(b) 8862 } 8863 func (m *ListUserGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8864 if deterministic { 8865 return xxx_messageInfo_ListUserGroupsResponse.Marshal(b, m, deterministic) 8866 } else { 8867 b = b[:cap(b)] 8868 n, err := m.MarshalToSizedBuffer(b) 8869 if err != nil { 8870 return nil, err 8871 } 8872 return b[:n], nil 8873 } 8874 } 8875 func (m *ListUserGroupsResponse) XXX_Merge(src proto.Message) { 8876 xxx_messageInfo_ListUserGroupsResponse.Merge(m, src) 8877 } 8878 func (m *ListUserGroupsResponse) XXX_Size() int { 8879 return m.Size() 8880 } 8881 func (m *ListUserGroupsResponse) XXX_DiscardUnknown() { 8882 xxx_messageInfo_ListUserGroupsResponse.DiscardUnknown(m) 8883 } 8884 8885 var xxx_messageInfo_ListUserGroupsResponse proto.InternalMessageInfo 8886 8887 func (m *ListUserGroupsResponse) GetUserGroups() []*types.UserGroupV1 { 8888 if m != nil { 8889 return m.UserGroups 8890 } 8891 return nil 8892 } 8893 8894 func (m *ListUserGroupsResponse) GetNextKey() string { 8895 if m != nil { 8896 return m.NextKey 8897 } 8898 return "" 8899 } 8900 8901 func (m *ListUserGroupsResponse) GetTotalCount() int32 { 8902 if m != nil { 8903 return m.TotalCount 8904 } 8905 return 0 8906 } 8907 8908 // GetUserGroupRequest is a request for a specific user group resource. 8909 type GetUserGroupRequest struct { 8910 // Name is the name of the user group to be requested. 8911 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 8912 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8913 XXX_unrecognized []byte `json:"-"` 8914 XXX_sizecache int32 `json:"-"` 8915 } 8916 8917 func (m *GetUserGroupRequest) Reset() { *m = GetUserGroupRequest{} } 8918 func (m *GetUserGroupRequest) String() string { return proto.CompactTextString(m) } 8919 func (*GetUserGroupRequest) ProtoMessage() {} 8920 func (*GetUserGroupRequest) Descriptor() ([]byte, []int) { 8921 return fileDescriptor_0ffcffcda38ae159, []int{133} 8922 } 8923 func (m *GetUserGroupRequest) XXX_Unmarshal(b []byte) error { 8924 return m.Unmarshal(b) 8925 } 8926 func (m *GetUserGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8927 if deterministic { 8928 return xxx_messageInfo_GetUserGroupRequest.Marshal(b, m, deterministic) 8929 } else { 8930 b = b[:cap(b)] 8931 n, err := m.MarshalToSizedBuffer(b) 8932 if err != nil { 8933 return nil, err 8934 } 8935 return b[:n], nil 8936 } 8937 } 8938 func (m *GetUserGroupRequest) XXX_Merge(src proto.Message) { 8939 xxx_messageInfo_GetUserGroupRequest.Merge(m, src) 8940 } 8941 func (m *GetUserGroupRequest) XXX_Size() int { 8942 return m.Size() 8943 } 8944 func (m *GetUserGroupRequest) XXX_DiscardUnknown() { 8945 xxx_messageInfo_GetUserGroupRequest.DiscardUnknown(m) 8946 } 8947 8948 var xxx_messageInfo_GetUserGroupRequest proto.InternalMessageInfo 8949 8950 func (m *GetUserGroupRequest) GetName() string { 8951 if m != nil { 8952 return m.Name 8953 } 8954 return "" 8955 } 8956 8957 // DeleteUserGroupRequest is a request for deleting a specific user group resource. 8958 type DeleteUserGroupRequest struct { 8959 // Name is the name of the user group to be deleted. 8960 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 8961 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8962 XXX_unrecognized []byte `json:"-"` 8963 XXX_sizecache int32 `json:"-"` 8964 } 8965 8966 func (m *DeleteUserGroupRequest) Reset() { *m = DeleteUserGroupRequest{} } 8967 func (m *DeleteUserGroupRequest) String() string { return proto.CompactTextString(m) } 8968 func (*DeleteUserGroupRequest) ProtoMessage() {} 8969 func (*DeleteUserGroupRequest) Descriptor() ([]byte, []int) { 8970 return fileDescriptor_0ffcffcda38ae159, []int{134} 8971 } 8972 func (m *DeleteUserGroupRequest) XXX_Unmarshal(b []byte) error { 8973 return m.Unmarshal(b) 8974 } 8975 func (m *DeleteUserGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8976 if deterministic { 8977 return xxx_messageInfo_DeleteUserGroupRequest.Marshal(b, m, deterministic) 8978 } else { 8979 b = b[:cap(b)] 8980 n, err := m.MarshalToSizedBuffer(b) 8981 if err != nil { 8982 return nil, err 8983 } 8984 return b[:n], nil 8985 } 8986 } 8987 func (m *DeleteUserGroupRequest) XXX_Merge(src proto.Message) { 8988 xxx_messageInfo_DeleteUserGroupRequest.Merge(m, src) 8989 } 8990 func (m *DeleteUserGroupRequest) XXX_Size() int { 8991 return m.Size() 8992 } 8993 func (m *DeleteUserGroupRequest) XXX_DiscardUnknown() { 8994 xxx_messageInfo_DeleteUserGroupRequest.DiscardUnknown(m) 8995 } 8996 8997 var xxx_messageInfo_DeleteUserGroupRequest proto.InternalMessageInfo 8998 8999 func (m *DeleteUserGroupRequest) GetName() string { 9000 if m != nil { 9001 return m.Name 9002 } 9003 return "" 9004 } 9005 9006 // CertAuthorityRequest is a request that identifies a Teleport CA. 9007 type CertAuthorityRequest struct { 9008 // Type is either user or host certificate authority. 9009 Type github_com_gravitational_teleport_api_types.CertAuthType `protobuf:"bytes,1,opt,name=Type,proto3,casttype=github.com/gravitational/teleport/api/types.CertAuthType" json:"Type,omitempty"` 9010 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9011 XXX_unrecognized []byte `json:"-"` 9012 XXX_sizecache int32 `json:"-"` 9013 } 9014 9015 func (m *CertAuthorityRequest) Reset() { *m = CertAuthorityRequest{} } 9016 func (m *CertAuthorityRequest) String() string { return proto.CompactTextString(m) } 9017 func (*CertAuthorityRequest) ProtoMessage() {} 9018 func (*CertAuthorityRequest) Descriptor() ([]byte, []int) { 9019 return fileDescriptor_0ffcffcda38ae159, []int{135} 9020 } 9021 func (m *CertAuthorityRequest) XXX_Unmarshal(b []byte) error { 9022 return m.Unmarshal(b) 9023 } 9024 func (m *CertAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9025 if deterministic { 9026 return xxx_messageInfo_CertAuthorityRequest.Marshal(b, m, deterministic) 9027 } else { 9028 b = b[:cap(b)] 9029 n, err := m.MarshalToSizedBuffer(b) 9030 if err != nil { 9031 return nil, err 9032 } 9033 return b[:n], nil 9034 } 9035 } 9036 func (m *CertAuthorityRequest) XXX_Merge(src proto.Message) { 9037 xxx_messageInfo_CertAuthorityRequest.Merge(m, src) 9038 } 9039 func (m *CertAuthorityRequest) XXX_Size() int { 9040 return m.Size() 9041 } 9042 func (m *CertAuthorityRequest) XXX_DiscardUnknown() { 9043 xxx_messageInfo_CertAuthorityRequest.DiscardUnknown(m) 9044 } 9045 9046 var xxx_messageInfo_CertAuthorityRequest proto.InternalMessageInfo 9047 9048 func (m *CertAuthorityRequest) GetType() github_com_gravitational_teleport_api_types.CertAuthType { 9049 if m != nil { 9050 return m.Type 9051 } 9052 return "" 9053 } 9054 9055 // CRL is the X.509 Certificate Revocation List. 9056 type CRL struct { 9057 // CRL is the Certificate Revocation List in DER format. 9058 CRL []byte `protobuf:"bytes,1,opt,name=CRL,proto3" json:"CRL,omitempty"` 9059 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9060 XXX_unrecognized []byte `json:"-"` 9061 XXX_sizecache int32 `json:"-"` 9062 } 9063 9064 func (m *CRL) Reset() { *m = CRL{} } 9065 func (m *CRL) String() string { return proto.CompactTextString(m) } 9066 func (*CRL) ProtoMessage() {} 9067 func (*CRL) Descriptor() ([]byte, []int) { 9068 return fileDescriptor_0ffcffcda38ae159, []int{136} 9069 } 9070 func (m *CRL) XXX_Unmarshal(b []byte) error { 9071 return m.Unmarshal(b) 9072 } 9073 func (m *CRL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9074 if deterministic { 9075 return xxx_messageInfo_CRL.Marshal(b, m, deterministic) 9076 } else { 9077 b = b[:cap(b)] 9078 n, err := m.MarshalToSizedBuffer(b) 9079 if err != nil { 9080 return nil, err 9081 } 9082 return b[:n], nil 9083 } 9084 } 9085 func (m *CRL) XXX_Merge(src proto.Message) { 9086 xxx_messageInfo_CRL.Merge(m, src) 9087 } 9088 func (m *CRL) XXX_Size() int { 9089 return m.Size() 9090 } 9091 func (m *CRL) XXX_DiscardUnknown() { 9092 xxx_messageInfo_CRL.DiscardUnknown(m) 9093 } 9094 9095 var xxx_messageInfo_CRL proto.InternalMessageInfo 9096 9097 func (m *CRL) GetCRL() []byte { 9098 if m != nil { 9099 return m.CRL 9100 } 9101 return nil 9102 } 9103 9104 // ChangeUserAuthenticationRequest defines a request to change a password and if enabled 9105 // also adds a new MFA device from a user reset or from a new user invite. User can also skip 9106 // setting a new password if passwordless is enabled and just provide a new webauthn register 9107 // response. 9108 // 9109 // After a successful request a new web session is created. 9110 // 9111 // Users may also receive new recovery codes if they meet the necessary requirements. If a user 9112 // previously had recovery codes, the previous codes become invalid as it is replaced with newly 9113 // generated ones. 9114 type ChangeUserAuthenticationRequest struct { 9115 // TokenID is the ID of a reset or invite token. 9116 // The token allows the user to change their credentials without being logged 9117 // in. 9118 TokenID string `protobuf:"bytes,1,opt,name=TokenID,proto3" json:"token_id"` 9119 // NewPassword is the new password in plain text. 9120 NewPassword []byte `protobuf:"bytes,2,opt,name=NewPassword,proto3" json:"new_password"` 9121 // NewMFARegisterResponse is a MFA response to a MFA authentication challenge. 9122 // This field can be empty which implies that user chose not to add a new device (allowable when 9123 // cluster settings enable optional second factor), or cluster settings disabled second factor. 9124 NewMFARegisterResponse *MFARegisterResponse `protobuf:"bytes,3,opt,name=NewMFARegisterResponse,proto3" json:"new_mfa_register_response,omitempty"` 9125 // NewDeviceName is the name of a new mfa or passwordless device. 9126 NewDeviceName string `protobuf:"bytes,4,opt,name=NewDeviceName,proto3" json:"new_device_name,omitempty"` 9127 // LoginIP is an IP that will be embedded in the new client's certificate for web session if successful. 9128 LoginIP string `protobuf:"bytes,5,opt,name=LoginIP,proto3" json:"login_ip,omitempty"` 9129 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9130 XXX_unrecognized []byte `json:"-"` 9131 XXX_sizecache int32 `json:"-"` 9132 } 9133 9134 func (m *ChangeUserAuthenticationRequest) Reset() { *m = ChangeUserAuthenticationRequest{} } 9135 func (m *ChangeUserAuthenticationRequest) String() string { return proto.CompactTextString(m) } 9136 func (*ChangeUserAuthenticationRequest) ProtoMessage() {} 9137 func (*ChangeUserAuthenticationRequest) Descriptor() ([]byte, []int) { 9138 return fileDescriptor_0ffcffcda38ae159, []int{137} 9139 } 9140 func (m *ChangeUserAuthenticationRequest) XXX_Unmarshal(b []byte) error { 9141 return m.Unmarshal(b) 9142 } 9143 func (m *ChangeUserAuthenticationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9144 if deterministic { 9145 return xxx_messageInfo_ChangeUserAuthenticationRequest.Marshal(b, m, deterministic) 9146 } else { 9147 b = b[:cap(b)] 9148 n, err := m.MarshalToSizedBuffer(b) 9149 if err != nil { 9150 return nil, err 9151 } 9152 return b[:n], nil 9153 } 9154 } 9155 func (m *ChangeUserAuthenticationRequest) XXX_Merge(src proto.Message) { 9156 xxx_messageInfo_ChangeUserAuthenticationRequest.Merge(m, src) 9157 } 9158 func (m *ChangeUserAuthenticationRequest) XXX_Size() int { 9159 return m.Size() 9160 } 9161 func (m *ChangeUserAuthenticationRequest) XXX_DiscardUnknown() { 9162 xxx_messageInfo_ChangeUserAuthenticationRequest.DiscardUnknown(m) 9163 } 9164 9165 var xxx_messageInfo_ChangeUserAuthenticationRequest proto.InternalMessageInfo 9166 9167 func (m *ChangeUserAuthenticationRequest) GetTokenID() string { 9168 if m != nil { 9169 return m.TokenID 9170 } 9171 return "" 9172 } 9173 9174 func (m *ChangeUserAuthenticationRequest) GetNewPassword() []byte { 9175 if m != nil { 9176 return m.NewPassword 9177 } 9178 return nil 9179 } 9180 9181 func (m *ChangeUserAuthenticationRequest) GetNewMFARegisterResponse() *MFARegisterResponse { 9182 if m != nil { 9183 return m.NewMFARegisterResponse 9184 } 9185 return nil 9186 } 9187 9188 func (m *ChangeUserAuthenticationRequest) GetNewDeviceName() string { 9189 if m != nil { 9190 return m.NewDeviceName 9191 } 9192 return "" 9193 } 9194 9195 func (m *ChangeUserAuthenticationRequest) GetLoginIP() string { 9196 if m != nil { 9197 return m.LoginIP 9198 } 9199 return "" 9200 } 9201 9202 // ChangeUserAuthenticationResponse is a response for ChangeUserAuthentication. 9203 type ChangeUserAuthenticationResponse struct { 9204 // WebSession is a user's web sesssion created from successful changing of password. 9205 WebSession *types.WebSessionV2 `protobuf:"bytes,1,opt,name=WebSession,proto3" json:"web_session"` 9206 // Recovery holds user's new recovery related fields. Previous recovery codes become invalid. 9207 // This field can be empty if a user does not meet the following 9208 // requirements to receive recovery codes: 9209 // - cloud feature is enabled 9210 // - username is in valid email format 9211 Recovery *RecoveryCodes `protobuf:"bytes,2,opt,name=Recovery,proto3" json:"recovery,omitempty"` 9212 // PrivateKeyPolicyEnabled is a flag that when true means one of the private key policy was 9213 // set in either through cluster config or through a user's assigned role. 9214 PrivateKeyPolicyEnabled bool `protobuf:"varint,3,opt,name=PrivateKeyPolicyEnabled,proto3" json:"private_key_policy_enabled,omitempty"` 9215 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9216 XXX_unrecognized []byte `json:"-"` 9217 XXX_sizecache int32 `json:"-"` 9218 } 9219 9220 func (m *ChangeUserAuthenticationResponse) Reset() { *m = ChangeUserAuthenticationResponse{} } 9221 func (m *ChangeUserAuthenticationResponse) String() string { return proto.CompactTextString(m) } 9222 func (*ChangeUserAuthenticationResponse) ProtoMessage() {} 9223 func (*ChangeUserAuthenticationResponse) Descriptor() ([]byte, []int) { 9224 return fileDescriptor_0ffcffcda38ae159, []int{138} 9225 } 9226 func (m *ChangeUserAuthenticationResponse) XXX_Unmarshal(b []byte) error { 9227 return m.Unmarshal(b) 9228 } 9229 func (m *ChangeUserAuthenticationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9230 if deterministic { 9231 return xxx_messageInfo_ChangeUserAuthenticationResponse.Marshal(b, m, deterministic) 9232 } else { 9233 b = b[:cap(b)] 9234 n, err := m.MarshalToSizedBuffer(b) 9235 if err != nil { 9236 return nil, err 9237 } 9238 return b[:n], nil 9239 } 9240 } 9241 func (m *ChangeUserAuthenticationResponse) XXX_Merge(src proto.Message) { 9242 xxx_messageInfo_ChangeUserAuthenticationResponse.Merge(m, src) 9243 } 9244 func (m *ChangeUserAuthenticationResponse) XXX_Size() int { 9245 return m.Size() 9246 } 9247 func (m *ChangeUserAuthenticationResponse) XXX_DiscardUnknown() { 9248 xxx_messageInfo_ChangeUserAuthenticationResponse.DiscardUnknown(m) 9249 } 9250 9251 var xxx_messageInfo_ChangeUserAuthenticationResponse proto.InternalMessageInfo 9252 9253 func (m *ChangeUserAuthenticationResponse) GetWebSession() *types.WebSessionV2 { 9254 if m != nil { 9255 return m.WebSession 9256 } 9257 return nil 9258 } 9259 9260 func (m *ChangeUserAuthenticationResponse) GetRecovery() *RecoveryCodes { 9261 if m != nil { 9262 return m.Recovery 9263 } 9264 return nil 9265 } 9266 9267 func (m *ChangeUserAuthenticationResponse) GetPrivateKeyPolicyEnabled() bool { 9268 if m != nil { 9269 return m.PrivateKeyPolicyEnabled 9270 } 9271 return false 9272 } 9273 9274 // StartAccountRecoveryRequest defines a request to create a recovery start token for a user who is 9275 // allowed to recover their account. The tokens ID is used as part of a URL that will be emailed to 9276 // the user (not done in this request). Represents step 1 of the account recovery process, next step 9277 // is RPC VerifyAccountRecovery. 9278 type StartAccountRecoveryRequest struct { 9279 // Username is the requesting user. The username must meet the following requirements to be 9280 // allowed to recover their account: 9281 // - cloud feature is enabled 9282 // - username is in valid email format 9283 Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"username"` 9284 // RecoveryCode is one of the user's recovery code in plain text. 9285 RecoveryCode []byte `protobuf:"bytes,2,opt,name=RecoveryCode,proto3" json:"recovery_code"` 9286 // RecoverType defines what type of authentication user needs to recover. 9287 RecoverType types.UserTokenUsage `protobuf:"varint,3,opt,name=RecoverType,proto3,enum=types.UserTokenUsage" json:"recover_type"` 9288 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9289 XXX_unrecognized []byte `json:"-"` 9290 XXX_sizecache int32 `json:"-"` 9291 } 9292 9293 func (m *StartAccountRecoveryRequest) Reset() { *m = StartAccountRecoveryRequest{} } 9294 func (m *StartAccountRecoveryRequest) String() string { return proto.CompactTextString(m) } 9295 func (*StartAccountRecoveryRequest) ProtoMessage() {} 9296 func (*StartAccountRecoveryRequest) Descriptor() ([]byte, []int) { 9297 return fileDescriptor_0ffcffcda38ae159, []int{139} 9298 } 9299 func (m *StartAccountRecoveryRequest) XXX_Unmarshal(b []byte) error { 9300 return m.Unmarshal(b) 9301 } 9302 func (m *StartAccountRecoveryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9303 if deterministic { 9304 return xxx_messageInfo_StartAccountRecoveryRequest.Marshal(b, m, deterministic) 9305 } else { 9306 b = b[:cap(b)] 9307 n, err := m.MarshalToSizedBuffer(b) 9308 if err != nil { 9309 return nil, err 9310 } 9311 return b[:n], nil 9312 } 9313 } 9314 func (m *StartAccountRecoveryRequest) XXX_Merge(src proto.Message) { 9315 xxx_messageInfo_StartAccountRecoveryRequest.Merge(m, src) 9316 } 9317 func (m *StartAccountRecoveryRequest) XXX_Size() int { 9318 return m.Size() 9319 } 9320 func (m *StartAccountRecoveryRequest) XXX_DiscardUnknown() { 9321 xxx_messageInfo_StartAccountRecoveryRequest.DiscardUnknown(m) 9322 } 9323 9324 var xxx_messageInfo_StartAccountRecoveryRequest proto.InternalMessageInfo 9325 9326 func (m *StartAccountRecoveryRequest) GetUsername() string { 9327 if m != nil { 9328 return m.Username 9329 } 9330 return "" 9331 } 9332 9333 func (m *StartAccountRecoveryRequest) GetRecoveryCode() []byte { 9334 if m != nil { 9335 return m.RecoveryCode 9336 } 9337 return nil 9338 } 9339 9340 func (m *StartAccountRecoveryRequest) GetRecoverType() types.UserTokenUsage { 9341 if m != nil { 9342 return m.RecoverType 9343 } 9344 return types.UserTokenUsage_USER_TOKEN_USAGE_UNSPECIFIED 9345 } 9346 9347 // VerifyAccountRecoveryRequest is a request to create a recovery approved token that allows users 9348 // to perform protected actions while not logged in. Represents step 2 of the account recovery 9349 // process after RPC StartAccountRecovery, next step is RPC CompleteAccountRecovery. 9350 type VerifyAccountRecoveryRequest struct { 9351 // RecoveryStartTokenID is the ID of a recovery start token that's required to verify this 9352 // request. 9353 RecoveryStartTokenID string `protobuf:"bytes,1,opt,name=RecoveryStartTokenID,proto3" json:"recovery_start_token_id"` 9354 // Username is the name of the user that the token belongs to, used to verify that this name 9355 // is the same as defined in token for use with emails. 9356 Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"username"` 9357 // AuthnCred is the authentication cred that needs to be verified. 9358 // 9359 // Types that are valid to be assigned to AuthnCred: 9360 // *VerifyAccountRecoveryRequest_Password 9361 // *VerifyAccountRecoveryRequest_MFAAuthenticateResponse 9362 AuthnCred isVerifyAccountRecoveryRequest_AuthnCred `protobuf_oneof:"AuthnCred"` 9363 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9364 XXX_unrecognized []byte `json:"-"` 9365 XXX_sizecache int32 `json:"-"` 9366 } 9367 9368 func (m *VerifyAccountRecoveryRequest) Reset() { *m = VerifyAccountRecoveryRequest{} } 9369 func (m *VerifyAccountRecoveryRequest) String() string { return proto.CompactTextString(m) } 9370 func (*VerifyAccountRecoveryRequest) ProtoMessage() {} 9371 func (*VerifyAccountRecoveryRequest) Descriptor() ([]byte, []int) { 9372 return fileDescriptor_0ffcffcda38ae159, []int{140} 9373 } 9374 func (m *VerifyAccountRecoveryRequest) XXX_Unmarshal(b []byte) error { 9375 return m.Unmarshal(b) 9376 } 9377 func (m *VerifyAccountRecoveryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9378 if deterministic { 9379 return xxx_messageInfo_VerifyAccountRecoveryRequest.Marshal(b, m, deterministic) 9380 } else { 9381 b = b[:cap(b)] 9382 n, err := m.MarshalToSizedBuffer(b) 9383 if err != nil { 9384 return nil, err 9385 } 9386 return b[:n], nil 9387 } 9388 } 9389 func (m *VerifyAccountRecoveryRequest) XXX_Merge(src proto.Message) { 9390 xxx_messageInfo_VerifyAccountRecoveryRequest.Merge(m, src) 9391 } 9392 func (m *VerifyAccountRecoveryRequest) XXX_Size() int { 9393 return m.Size() 9394 } 9395 func (m *VerifyAccountRecoveryRequest) XXX_DiscardUnknown() { 9396 xxx_messageInfo_VerifyAccountRecoveryRequest.DiscardUnknown(m) 9397 } 9398 9399 var xxx_messageInfo_VerifyAccountRecoveryRequest proto.InternalMessageInfo 9400 9401 type isVerifyAccountRecoveryRequest_AuthnCred interface { 9402 isVerifyAccountRecoveryRequest_AuthnCred() 9403 MarshalTo([]byte) (int, error) 9404 Size() int 9405 } 9406 9407 type VerifyAccountRecoveryRequest_Password struct { 9408 Password []byte `protobuf:"bytes,3,opt,name=Password,proto3,oneof" json:"password,omitempty"` 9409 } 9410 type VerifyAccountRecoveryRequest_MFAAuthenticateResponse struct { 9411 MFAAuthenticateResponse *MFAAuthenticateResponse `protobuf:"bytes,4,opt,name=MFAAuthenticateResponse,proto3,oneof" json:"mfa_authenticate_response,omitempty"` 9412 } 9413 9414 func (*VerifyAccountRecoveryRequest_Password) isVerifyAccountRecoveryRequest_AuthnCred() {} 9415 func (*VerifyAccountRecoveryRequest_MFAAuthenticateResponse) isVerifyAccountRecoveryRequest_AuthnCred() { 9416 } 9417 9418 func (m *VerifyAccountRecoveryRequest) GetAuthnCred() isVerifyAccountRecoveryRequest_AuthnCred { 9419 if m != nil { 9420 return m.AuthnCred 9421 } 9422 return nil 9423 } 9424 9425 func (m *VerifyAccountRecoveryRequest) GetRecoveryStartTokenID() string { 9426 if m != nil { 9427 return m.RecoveryStartTokenID 9428 } 9429 return "" 9430 } 9431 9432 func (m *VerifyAccountRecoveryRequest) GetUsername() string { 9433 if m != nil { 9434 return m.Username 9435 } 9436 return "" 9437 } 9438 9439 func (m *VerifyAccountRecoveryRequest) GetPassword() []byte { 9440 if x, ok := m.GetAuthnCred().(*VerifyAccountRecoveryRequest_Password); ok { 9441 return x.Password 9442 } 9443 return nil 9444 } 9445 9446 func (m *VerifyAccountRecoveryRequest) GetMFAAuthenticateResponse() *MFAAuthenticateResponse { 9447 if x, ok := m.GetAuthnCred().(*VerifyAccountRecoveryRequest_MFAAuthenticateResponse); ok { 9448 return x.MFAAuthenticateResponse 9449 } 9450 return nil 9451 } 9452 9453 // XXX_OneofWrappers is for the internal use of the proto package. 9454 func (*VerifyAccountRecoveryRequest) XXX_OneofWrappers() []interface{} { 9455 return []interface{}{ 9456 (*VerifyAccountRecoveryRequest_Password)(nil), 9457 (*VerifyAccountRecoveryRequest_MFAAuthenticateResponse)(nil), 9458 } 9459 } 9460 9461 // CompleteAccountRecoveryRequest is a request to set either a new password or 9462 // add a new mfa device, allowing the user to regain access to their account with the new 9463 // credentials. Represents the last step in the account recovery process after RPC's 9464 // StartAccountRecovery and VerifyAccountRecovery. 9465 type CompleteAccountRecoveryRequest struct { 9466 // RecoveryApprovedTokenID is the ID of a recovery approved token that's required to verify this 9467 // request. 9468 RecoveryApprovedTokenID string `protobuf:"bytes,1,opt,name=RecoveryApprovedTokenID,proto3" json:"recovery_approved_token_id"` 9469 // NewDeviceName is the name of a new mfa device. 9470 // Optional if NewPassword is used. 9471 NewDeviceName string `protobuf:"bytes,2,opt,name=NewDeviceName,proto3" json:"new_device_name,omitempty"` 9472 // NewAuthnCred contains the new authentication credential. 9473 // 9474 // Types that are valid to be assigned to NewAuthnCred: 9475 // *CompleteAccountRecoveryRequest_NewPassword 9476 // *CompleteAccountRecoveryRequest_NewMFAResponse 9477 NewAuthnCred isCompleteAccountRecoveryRequest_NewAuthnCred `protobuf_oneof:"NewAuthnCred"` 9478 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9479 XXX_unrecognized []byte `json:"-"` 9480 XXX_sizecache int32 `json:"-"` 9481 } 9482 9483 func (m *CompleteAccountRecoveryRequest) Reset() { *m = CompleteAccountRecoveryRequest{} } 9484 func (m *CompleteAccountRecoveryRequest) String() string { return proto.CompactTextString(m) } 9485 func (*CompleteAccountRecoveryRequest) ProtoMessage() {} 9486 func (*CompleteAccountRecoveryRequest) Descriptor() ([]byte, []int) { 9487 return fileDescriptor_0ffcffcda38ae159, []int{141} 9488 } 9489 func (m *CompleteAccountRecoveryRequest) XXX_Unmarshal(b []byte) error { 9490 return m.Unmarshal(b) 9491 } 9492 func (m *CompleteAccountRecoveryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9493 if deterministic { 9494 return xxx_messageInfo_CompleteAccountRecoveryRequest.Marshal(b, m, deterministic) 9495 } else { 9496 b = b[:cap(b)] 9497 n, err := m.MarshalToSizedBuffer(b) 9498 if err != nil { 9499 return nil, err 9500 } 9501 return b[:n], nil 9502 } 9503 } 9504 func (m *CompleteAccountRecoveryRequest) XXX_Merge(src proto.Message) { 9505 xxx_messageInfo_CompleteAccountRecoveryRequest.Merge(m, src) 9506 } 9507 func (m *CompleteAccountRecoveryRequest) XXX_Size() int { 9508 return m.Size() 9509 } 9510 func (m *CompleteAccountRecoveryRequest) XXX_DiscardUnknown() { 9511 xxx_messageInfo_CompleteAccountRecoveryRequest.DiscardUnknown(m) 9512 } 9513 9514 var xxx_messageInfo_CompleteAccountRecoveryRequest proto.InternalMessageInfo 9515 9516 type isCompleteAccountRecoveryRequest_NewAuthnCred interface { 9517 isCompleteAccountRecoveryRequest_NewAuthnCred() 9518 MarshalTo([]byte) (int, error) 9519 Size() int 9520 } 9521 9522 type CompleteAccountRecoveryRequest_NewPassword struct { 9523 NewPassword []byte `protobuf:"bytes,3,opt,name=NewPassword,proto3,oneof" json:"new_password,omitempty"` 9524 } 9525 type CompleteAccountRecoveryRequest_NewMFAResponse struct { 9526 NewMFAResponse *MFARegisterResponse `protobuf:"bytes,4,opt,name=NewMFAResponse,proto3,oneof" json:"new_mfa_response,omitempty"` 9527 } 9528 9529 func (*CompleteAccountRecoveryRequest_NewPassword) isCompleteAccountRecoveryRequest_NewAuthnCred() {} 9530 func (*CompleteAccountRecoveryRequest_NewMFAResponse) isCompleteAccountRecoveryRequest_NewAuthnCred() { 9531 } 9532 9533 func (m *CompleteAccountRecoveryRequest) GetNewAuthnCred() isCompleteAccountRecoveryRequest_NewAuthnCred { 9534 if m != nil { 9535 return m.NewAuthnCred 9536 } 9537 return nil 9538 } 9539 9540 func (m *CompleteAccountRecoveryRequest) GetRecoveryApprovedTokenID() string { 9541 if m != nil { 9542 return m.RecoveryApprovedTokenID 9543 } 9544 return "" 9545 } 9546 9547 func (m *CompleteAccountRecoveryRequest) GetNewDeviceName() string { 9548 if m != nil { 9549 return m.NewDeviceName 9550 } 9551 return "" 9552 } 9553 9554 func (m *CompleteAccountRecoveryRequest) GetNewPassword() []byte { 9555 if x, ok := m.GetNewAuthnCred().(*CompleteAccountRecoveryRequest_NewPassword); ok { 9556 return x.NewPassword 9557 } 9558 return nil 9559 } 9560 9561 func (m *CompleteAccountRecoveryRequest) GetNewMFAResponse() *MFARegisterResponse { 9562 if x, ok := m.GetNewAuthnCred().(*CompleteAccountRecoveryRequest_NewMFAResponse); ok { 9563 return x.NewMFAResponse 9564 } 9565 return nil 9566 } 9567 9568 // XXX_OneofWrappers is for the internal use of the proto package. 9569 func (*CompleteAccountRecoveryRequest) XXX_OneofWrappers() []interface{} { 9570 return []interface{}{ 9571 (*CompleteAccountRecoveryRequest_NewPassword)(nil), 9572 (*CompleteAccountRecoveryRequest_NewMFAResponse)(nil), 9573 } 9574 } 9575 9576 // RecoveryCodes describes account recovery fields. Used as a RPC 9577 // response or as part of a RPC response that requires any of these fields. 9578 type RecoveryCodes struct { 9579 // Codes holds the list of recovery phrase words. 9580 // Field is only used when new recovery codes are generated and returned to user. 9581 Codes []string `protobuf:"bytes,1,rep,name=Codes,proto3" json:"codes,omitempty"` 9582 // Created is the date the recovery codes were created. 9583 Created time.Time `protobuf:"bytes,2,opt,name=Created,proto3,stdtime" json:"created"` 9584 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9585 XXX_unrecognized []byte `json:"-"` 9586 XXX_sizecache int32 `json:"-"` 9587 } 9588 9589 func (m *RecoveryCodes) Reset() { *m = RecoveryCodes{} } 9590 func (m *RecoveryCodes) String() string { return proto.CompactTextString(m) } 9591 func (*RecoveryCodes) ProtoMessage() {} 9592 func (*RecoveryCodes) Descriptor() ([]byte, []int) { 9593 return fileDescriptor_0ffcffcda38ae159, []int{142} 9594 } 9595 func (m *RecoveryCodes) XXX_Unmarshal(b []byte) error { 9596 return m.Unmarshal(b) 9597 } 9598 func (m *RecoveryCodes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9599 if deterministic { 9600 return xxx_messageInfo_RecoveryCodes.Marshal(b, m, deterministic) 9601 } else { 9602 b = b[:cap(b)] 9603 n, err := m.MarshalToSizedBuffer(b) 9604 if err != nil { 9605 return nil, err 9606 } 9607 return b[:n], nil 9608 } 9609 } 9610 func (m *RecoveryCodes) XXX_Merge(src proto.Message) { 9611 xxx_messageInfo_RecoveryCodes.Merge(m, src) 9612 } 9613 func (m *RecoveryCodes) XXX_Size() int { 9614 return m.Size() 9615 } 9616 func (m *RecoveryCodes) XXX_DiscardUnknown() { 9617 xxx_messageInfo_RecoveryCodes.DiscardUnknown(m) 9618 } 9619 9620 var xxx_messageInfo_RecoveryCodes proto.InternalMessageInfo 9621 9622 func (m *RecoveryCodes) GetCodes() []string { 9623 if m != nil { 9624 return m.Codes 9625 } 9626 return nil 9627 } 9628 9629 func (m *RecoveryCodes) GetCreated() time.Time { 9630 if m != nil { 9631 return m.Created 9632 } 9633 return time.Time{} 9634 } 9635 9636 // CreateAccountRecoveryCodesRequest is a request to create new set of recovery codes for a user, 9637 // replacing and invalidating any previously existing codes. Recovery codes can only be given to 9638 // users who meet the following requirements: 9639 // - cloud feature is enabled 9640 // - username is in valid email format 9641 type CreateAccountRecoveryCodesRequest struct { 9642 // TokenID is the ID of a user token that will be used to verify this request. 9643 // Token types accepted are: 9644 // - Recovery approved token that is obtained with RPC VerifyAccountRecovery 9645 // - Privilege token that is obtained with RPC CreatePrivilegeToken 9646 TokenID string `protobuf:"bytes,1,opt,name=TokenID,proto3" json:"token_id"` 9647 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9648 XXX_unrecognized []byte `json:"-"` 9649 XXX_sizecache int32 `json:"-"` 9650 } 9651 9652 func (m *CreateAccountRecoveryCodesRequest) Reset() { *m = CreateAccountRecoveryCodesRequest{} } 9653 func (m *CreateAccountRecoveryCodesRequest) String() string { return proto.CompactTextString(m) } 9654 func (*CreateAccountRecoveryCodesRequest) ProtoMessage() {} 9655 func (*CreateAccountRecoveryCodesRequest) Descriptor() ([]byte, []int) { 9656 return fileDescriptor_0ffcffcda38ae159, []int{143} 9657 } 9658 func (m *CreateAccountRecoveryCodesRequest) XXX_Unmarshal(b []byte) error { 9659 return m.Unmarshal(b) 9660 } 9661 func (m *CreateAccountRecoveryCodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9662 if deterministic { 9663 return xxx_messageInfo_CreateAccountRecoveryCodesRequest.Marshal(b, m, deterministic) 9664 } else { 9665 b = b[:cap(b)] 9666 n, err := m.MarshalToSizedBuffer(b) 9667 if err != nil { 9668 return nil, err 9669 } 9670 return b[:n], nil 9671 } 9672 } 9673 func (m *CreateAccountRecoveryCodesRequest) XXX_Merge(src proto.Message) { 9674 xxx_messageInfo_CreateAccountRecoveryCodesRequest.Merge(m, src) 9675 } 9676 func (m *CreateAccountRecoveryCodesRequest) XXX_Size() int { 9677 return m.Size() 9678 } 9679 func (m *CreateAccountRecoveryCodesRequest) XXX_DiscardUnknown() { 9680 xxx_messageInfo_CreateAccountRecoveryCodesRequest.DiscardUnknown(m) 9681 } 9682 9683 var xxx_messageInfo_CreateAccountRecoveryCodesRequest proto.InternalMessageInfo 9684 9685 func (m *CreateAccountRecoveryCodesRequest) GetTokenID() string { 9686 if m != nil { 9687 return m.TokenID 9688 } 9689 return "" 9690 } 9691 9692 // GetAccountRecoveryTokenRequest is a request to return a user token resource after verifying that 9693 // the token in the request is not expired and is of the recovery kind. 9694 type GetAccountRecoveryTokenRequest struct { 9695 // RecoveryTokenID is the ID of a recovery token to verify. 9696 // Recovery tokens are obtained with RPC StartAccountRecovery or VerifyAccountRecovery. 9697 RecoveryTokenID string `protobuf:"bytes,1,opt,name=RecoveryTokenID,proto3" json:"recovery_token_id"` 9698 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9699 XXX_unrecognized []byte `json:"-"` 9700 XXX_sizecache int32 `json:"-"` 9701 } 9702 9703 func (m *GetAccountRecoveryTokenRequest) Reset() { *m = GetAccountRecoveryTokenRequest{} } 9704 func (m *GetAccountRecoveryTokenRequest) String() string { return proto.CompactTextString(m) } 9705 func (*GetAccountRecoveryTokenRequest) ProtoMessage() {} 9706 func (*GetAccountRecoveryTokenRequest) Descriptor() ([]byte, []int) { 9707 return fileDescriptor_0ffcffcda38ae159, []int{144} 9708 } 9709 func (m *GetAccountRecoveryTokenRequest) XXX_Unmarshal(b []byte) error { 9710 return m.Unmarshal(b) 9711 } 9712 func (m *GetAccountRecoveryTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9713 if deterministic { 9714 return xxx_messageInfo_GetAccountRecoveryTokenRequest.Marshal(b, m, deterministic) 9715 } else { 9716 b = b[:cap(b)] 9717 n, err := m.MarshalToSizedBuffer(b) 9718 if err != nil { 9719 return nil, err 9720 } 9721 return b[:n], nil 9722 } 9723 } 9724 func (m *GetAccountRecoveryTokenRequest) XXX_Merge(src proto.Message) { 9725 xxx_messageInfo_GetAccountRecoveryTokenRequest.Merge(m, src) 9726 } 9727 func (m *GetAccountRecoveryTokenRequest) XXX_Size() int { 9728 return m.Size() 9729 } 9730 func (m *GetAccountRecoveryTokenRequest) XXX_DiscardUnknown() { 9731 xxx_messageInfo_GetAccountRecoveryTokenRequest.DiscardUnknown(m) 9732 } 9733 9734 var xxx_messageInfo_GetAccountRecoveryTokenRequest proto.InternalMessageInfo 9735 9736 func (m *GetAccountRecoveryTokenRequest) GetRecoveryTokenID() string { 9737 if m != nil { 9738 return m.RecoveryTokenID 9739 } 9740 return "" 9741 } 9742 9743 // GetAccountRecoveryCodesRequest is a request to return the user in context their 9744 // recovery codes. This request will not return any secrets (the values of recovery codes). 9745 type GetAccountRecoveryCodesRequest struct { 9746 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9747 XXX_unrecognized []byte `json:"-"` 9748 XXX_sizecache int32 `json:"-"` 9749 } 9750 9751 func (m *GetAccountRecoveryCodesRequest) Reset() { *m = GetAccountRecoveryCodesRequest{} } 9752 func (m *GetAccountRecoveryCodesRequest) String() string { return proto.CompactTextString(m) } 9753 func (*GetAccountRecoveryCodesRequest) ProtoMessage() {} 9754 func (*GetAccountRecoveryCodesRequest) Descriptor() ([]byte, []int) { 9755 return fileDescriptor_0ffcffcda38ae159, []int{145} 9756 } 9757 func (m *GetAccountRecoveryCodesRequest) XXX_Unmarshal(b []byte) error { 9758 return m.Unmarshal(b) 9759 } 9760 func (m *GetAccountRecoveryCodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9761 if deterministic { 9762 return xxx_messageInfo_GetAccountRecoveryCodesRequest.Marshal(b, m, deterministic) 9763 } else { 9764 b = b[:cap(b)] 9765 n, err := m.MarshalToSizedBuffer(b) 9766 if err != nil { 9767 return nil, err 9768 } 9769 return b[:n], nil 9770 } 9771 } 9772 func (m *GetAccountRecoveryCodesRequest) XXX_Merge(src proto.Message) { 9773 xxx_messageInfo_GetAccountRecoveryCodesRequest.Merge(m, src) 9774 } 9775 func (m *GetAccountRecoveryCodesRequest) XXX_Size() int { 9776 return m.Size() 9777 } 9778 func (m *GetAccountRecoveryCodesRequest) XXX_DiscardUnknown() { 9779 xxx_messageInfo_GetAccountRecoveryCodesRequest.DiscardUnknown(m) 9780 } 9781 9782 var xxx_messageInfo_GetAccountRecoveryCodesRequest proto.InternalMessageInfo 9783 9784 // UserCredentials describes fields for a user's username and password. 9785 type UserCredentials struct { 9786 Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"username"` 9787 Password []byte `protobuf:"bytes,2,opt,name=Password,proto3" json:"password"` 9788 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9789 XXX_unrecognized []byte `json:"-"` 9790 XXX_sizecache int32 `json:"-"` 9791 } 9792 9793 func (m *UserCredentials) Reset() { *m = UserCredentials{} } 9794 func (m *UserCredentials) String() string { return proto.CompactTextString(m) } 9795 func (*UserCredentials) ProtoMessage() {} 9796 func (*UserCredentials) Descriptor() ([]byte, []int) { 9797 return fileDescriptor_0ffcffcda38ae159, []int{146} 9798 } 9799 func (m *UserCredentials) XXX_Unmarshal(b []byte) error { 9800 return m.Unmarshal(b) 9801 } 9802 func (m *UserCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9803 if deterministic { 9804 return xxx_messageInfo_UserCredentials.Marshal(b, m, deterministic) 9805 } else { 9806 b = b[:cap(b)] 9807 n, err := m.MarshalToSizedBuffer(b) 9808 if err != nil { 9809 return nil, err 9810 } 9811 return b[:n], nil 9812 } 9813 } 9814 func (m *UserCredentials) XXX_Merge(src proto.Message) { 9815 xxx_messageInfo_UserCredentials.Merge(m, src) 9816 } 9817 func (m *UserCredentials) XXX_Size() int { 9818 return m.Size() 9819 } 9820 func (m *UserCredentials) XXX_DiscardUnknown() { 9821 xxx_messageInfo_UserCredentials.DiscardUnknown(m) 9822 } 9823 9824 var xxx_messageInfo_UserCredentials proto.InternalMessageInfo 9825 9826 func (m *UserCredentials) GetUsername() string { 9827 if m != nil { 9828 return m.Username 9829 } 9830 return "" 9831 } 9832 9833 func (m *UserCredentials) GetPassword() []byte { 9834 if m != nil { 9835 return m.Password 9836 } 9837 return nil 9838 } 9839 9840 // ContextUser marks requests that rely in the currently authenticated user. 9841 type ContextUser struct { 9842 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9843 XXX_unrecognized []byte `json:"-"` 9844 XXX_sizecache int32 `json:"-"` 9845 } 9846 9847 func (m *ContextUser) Reset() { *m = ContextUser{} } 9848 func (m *ContextUser) String() string { return proto.CompactTextString(m) } 9849 func (*ContextUser) ProtoMessage() {} 9850 func (*ContextUser) Descriptor() ([]byte, []int) { 9851 return fileDescriptor_0ffcffcda38ae159, []int{147} 9852 } 9853 func (m *ContextUser) XXX_Unmarshal(b []byte) error { 9854 return m.Unmarshal(b) 9855 } 9856 func (m *ContextUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9857 if deterministic { 9858 return xxx_messageInfo_ContextUser.Marshal(b, m, deterministic) 9859 } else { 9860 b = b[:cap(b)] 9861 n, err := m.MarshalToSizedBuffer(b) 9862 if err != nil { 9863 return nil, err 9864 } 9865 return b[:n], nil 9866 } 9867 } 9868 func (m *ContextUser) XXX_Merge(src proto.Message) { 9869 xxx_messageInfo_ContextUser.Merge(m, src) 9870 } 9871 func (m *ContextUser) XXX_Size() int { 9872 return m.Size() 9873 } 9874 func (m *ContextUser) XXX_DiscardUnknown() { 9875 xxx_messageInfo_ContextUser.DiscardUnknown(m) 9876 } 9877 9878 var xxx_messageInfo_ContextUser proto.InternalMessageInfo 9879 9880 // Passwordless marks requests for passwordless challenges. 9881 type Passwordless struct { 9882 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9883 XXX_unrecognized []byte `json:"-"` 9884 XXX_sizecache int32 `json:"-"` 9885 } 9886 9887 func (m *Passwordless) Reset() { *m = Passwordless{} } 9888 func (m *Passwordless) String() string { return proto.CompactTextString(m) } 9889 func (*Passwordless) ProtoMessage() {} 9890 func (*Passwordless) Descriptor() ([]byte, []int) { 9891 return fileDescriptor_0ffcffcda38ae159, []int{148} 9892 } 9893 func (m *Passwordless) XXX_Unmarshal(b []byte) error { 9894 return m.Unmarshal(b) 9895 } 9896 func (m *Passwordless) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9897 if deterministic { 9898 return xxx_messageInfo_Passwordless.Marshal(b, m, deterministic) 9899 } else { 9900 b = b[:cap(b)] 9901 n, err := m.MarshalToSizedBuffer(b) 9902 if err != nil { 9903 return nil, err 9904 } 9905 return b[:n], nil 9906 } 9907 } 9908 func (m *Passwordless) XXX_Merge(src proto.Message) { 9909 xxx_messageInfo_Passwordless.Merge(m, src) 9910 } 9911 func (m *Passwordless) XXX_Size() int { 9912 return m.Size() 9913 } 9914 func (m *Passwordless) XXX_DiscardUnknown() { 9915 xxx_messageInfo_Passwordless.DiscardUnknown(m) 9916 } 9917 9918 var xxx_messageInfo_Passwordless proto.InternalMessageInfo 9919 9920 // CreateAuthenticateChallengeRequest is a request for creating MFA authentication challenges for a 9921 // users mfa devices. 9922 type CreateAuthenticateChallengeRequest struct { 9923 // Request defines how the request will be verified before creating challenges. 9924 // An empty Request is equivalent to context_user being set. 9925 // 9926 // Types that are valid to be assigned to Request: 9927 // *CreateAuthenticateChallengeRequest_UserCredentials 9928 // *CreateAuthenticateChallengeRequest_RecoveryStartTokenID 9929 // *CreateAuthenticateChallengeRequest_ContextUser 9930 // *CreateAuthenticateChallengeRequest_Passwordless 9931 Request isCreateAuthenticateChallengeRequest_Request `protobuf_oneof:"Request"` 9932 // MFARequiredCheck, if set, is used to verify if MFA is necessary for the 9933 // request. It's akin to a call to [AuthService.IsMFARequired]. 9934 // 9935 // If MFA is not required, then no challenges are issued in the 9936 // [MFAAuthenticateResponse]. 9937 // 9938 // MFA verification should run in the cluster that holds the target resource. 9939 // If you are issuing challenges from the root cluster, but accessing a leaf, 9940 // call [AuthService.IsMFARequired] in the leaf instead of setting this field. 9941 MFARequiredCheck *IsMFARequiredRequest `protobuf:"bytes,5,opt,name=MFARequiredCheck,proto3" json:"mfa_required_check,omitempty"` 9942 // ChallengeExtensions are extensions that will be apply to the issued MFA challenge. 9943 // ChallengeExtensions only apply to webauthn challenges currently. Required, except 9944 // for v15 clients and older. 9945 ChallengeExtensions *v11.ChallengeExtensions `protobuf:"bytes,6,opt,name=ChallengeExtensions,proto3" json:"challenge_extensions,omitempty"` 9946 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9947 XXX_unrecognized []byte `json:"-"` 9948 XXX_sizecache int32 `json:"-"` 9949 } 9950 9951 func (m *CreateAuthenticateChallengeRequest) Reset() { *m = CreateAuthenticateChallengeRequest{} } 9952 func (m *CreateAuthenticateChallengeRequest) String() string { return proto.CompactTextString(m) } 9953 func (*CreateAuthenticateChallengeRequest) ProtoMessage() {} 9954 func (*CreateAuthenticateChallengeRequest) Descriptor() ([]byte, []int) { 9955 return fileDescriptor_0ffcffcda38ae159, []int{149} 9956 } 9957 func (m *CreateAuthenticateChallengeRequest) XXX_Unmarshal(b []byte) error { 9958 return m.Unmarshal(b) 9959 } 9960 func (m *CreateAuthenticateChallengeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9961 if deterministic { 9962 return xxx_messageInfo_CreateAuthenticateChallengeRequest.Marshal(b, m, deterministic) 9963 } else { 9964 b = b[:cap(b)] 9965 n, err := m.MarshalToSizedBuffer(b) 9966 if err != nil { 9967 return nil, err 9968 } 9969 return b[:n], nil 9970 } 9971 } 9972 func (m *CreateAuthenticateChallengeRequest) XXX_Merge(src proto.Message) { 9973 xxx_messageInfo_CreateAuthenticateChallengeRequest.Merge(m, src) 9974 } 9975 func (m *CreateAuthenticateChallengeRequest) XXX_Size() int { 9976 return m.Size() 9977 } 9978 func (m *CreateAuthenticateChallengeRequest) XXX_DiscardUnknown() { 9979 xxx_messageInfo_CreateAuthenticateChallengeRequest.DiscardUnknown(m) 9980 } 9981 9982 var xxx_messageInfo_CreateAuthenticateChallengeRequest proto.InternalMessageInfo 9983 9984 type isCreateAuthenticateChallengeRequest_Request interface { 9985 isCreateAuthenticateChallengeRequest_Request() 9986 MarshalTo([]byte) (int, error) 9987 Size() int 9988 } 9989 9990 type CreateAuthenticateChallengeRequest_UserCredentials struct { 9991 UserCredentials *UserCredentials `protobuf:"bytes,1,opt,name=UserCredentials,proto3,oneof" json:"user_credentials,omitempty"` 9992 } 9993 type CreateAuthenticateChallengeRequest_RecoveryStartTokenID struct { 9994 RecoveryStartTokenID string `protobuf:"bytes,2,opt,name=RecoveryStartTokenID,proto3,oneof" json:"recovery_start_token_id,omitempty"` 9995 } 9996 type CreateAuthenticateChallengeRequest_ContextUser struct { 9997 ContextUser *ContextUser `protobuf:"bytes,3,opt,name=ContextUser,proto3,oneof" json:"context_user,omitempty"` 9998 } 9999 type CreateAuthenticateChallengeRequest_Passwordless struct { 10000 Passwordless *Passwordless `protobuf:"bytes,4,opt,name=Passwordless,proto3,oneof" json:"passwordless,omitempty"` 10001 } 10002 10003 func (*CreateAuthenticateChallengeRequest_UserCredentials) isCreateAuthenticateChallengeRequest_Request() { 10004 } 10005 func (*CreateAuthenticateChallengeRequest_RecoveryStartTokenID) isCreateAuthenticateChallengeRequest_Request() { 10006 } 10007 func (*CreateAuthenticateChallengeRequest_ContextUser) isCreateAuthenticateChallengeRequest_Request() { 10008 } 10009 func (*CreateAuthenticateChallengeRequest_Passwordless) isCreateAuthenticateChallengeRequest_Request() { 10010 } 10011 10012 func (m *CreateAuthenticateChallengeRequest) GetRequest() isCreateAuthenticateChallengeRequest_Request { 10013 if m != nil { 10014 return m.Request 10015 } 10016 return nil 10017 } 10018 10019 func (m *CreateAuthenticateChallengeRequest) GetUserCredentials() *UserCredentials { 10020 if x, ok := m.GetRequest().(*CreateAuthenticateChallengeRequest_UserCredentials); ok { 10021 return x.UserCredentials 10022 } 10023 return nil 10024 } 10025 10026 func (m *CreateAuthenticateChallengeRequest) GetRecoveryStartTokenID() string { 10027 if x, ok := m.GetRequest().(*CreateAuthenticateChallengeRequest_RecoveryStartTokenID); ok { 10028 return x.RecoveryStartTokenID 10029 } 10030 return "" 10031 } 10032 10033 func (m *CreateAuthenticateChallengeRequest) GetContextUser() *ContextUser { 10034 if x, ok := m.GetRequest().(*CreateAuthenticateChallengeRequest_ContextUser); ok { 10035 return x.ContextUser 10036 } 10037 return nil 10038 } 10039 10040 func (m *CreateAuthenticateChallengeRequest) GetPasswordless() *Passwordless { 10041 if x, ok := m.GetRequest().(*CreateAuthenticateChallengeRequest_Passwordless); ok { 10042 return x.Passwordless 10043 } 10044 return nil 10045 } 10046 10047 func (m *CreateAuthenticateChallengeRequest) GetMFARequiredCheck() *IsMFARequiredRequest { 10048 if m != nil { 10049 return m.MFARequiredCheck 10050 } 10051 return nil 10052 } 10053 10054 func (m *CreateAuthenticateChallengeRequest) GetChallengeExtensions() *v11.ChallengeExtensions { 10055 if m != nil { 10056 return m.ChallengeExtensions 10057 } 10058 return nil 10059 } 10060 10061 // XXX_OneofWrappers is for the internal use of the proto package. 10062 func (*CreateAuthenticateChallengeRequest) XXX_OneofWrappers() []interface{} { 10063 return []interface{}{ 10064 (*CreateAuthenticateChallengeRequest_UserCredentials)(nil), 10065 (*CreateAuthenticateChallengeRequest_RecoveryStartTokenID)(nil), 10066 (*CreateAuthenticateChallengeRequest_ContextUser)(nil), 10067 (*CreateAuthenticateChallengeRequest_Passwordless)(nil), 10068 } 10069 } 10070 10071 // CreatePrivilegeTokenRequest defines a request to obtain a privilege token. 10072 // Only logged in users are allowed to obtain privilege tokens after they have successfully 10073 // re-authenticated with their second factor. 10074 type CreatePrivilegeTokenRequest struct { 10075 // ExistingMFAResponse is a response to a challenge from the user's existing MFA devices. 10076 // This field can be empty to create a UserTokenTypePrivilegeException token that 10077 // allows a user to bypass second factor re-authentication eg: allowing a user 10078 // with no mfa devices to add a device without re-authenticating. 10079 ExistingMFAResponse *MFAAuthenticateResponse `protobuf:"bytes,1,opt,name=ExistingMFAResponse,proto3" json:"existing_mfa_response,omitempty"` 10080 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10081 XXX_unrecognized []byte `json:"-"` 10082 XXX_sizecache int32 `json:"-"` 10083 } 10084 10085 func (m *CreatePrivilegeTokenRequest) Reset() { *m = CreatePrivilegeTokenRequest{} } 10086 func (m *CreatePrivilegeTokenRequest) String() string { return proto.CompactTextString(m) } 10087 func (*CreatePrivilegeTokenRequest) ProtoMessage() {} 10088 func (*CreatePrivilegeTokenRequest) Descriptor() ([]byte, []int) { 10089 return fileDescriptor_0ffcffcda38ae159, []int{150} 10090 } 10091 func (m *CreatePrivilegeTokenRequest) XXX_Unmarshal(b []byte) error { 10092 return m.Unmarshal(b) 10093 } 10094 func (m *CreatePrivilegeTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10095 if deterministic { 10096 return xxx_messageInfo_CreatePrivilegeTokenRequest.Marshal(b, m, deterministic) 10097 } else { 10098 b = b[:cap(b)] 10099 n, err := m.MarshalToSizedBuffer(b) 10100 if err != nil { 10101 return nil, err 10102 } 10103 return b[:n], nil 10104 } 10105 } 10106 func (m *CreatePrivilegeTokenRequest) XXX_Merge(src proto.Message) { 10107 xxx_messageInfo_CreatePrivilegeTokenRequest.Merge(m, src) 10108 } 10109 func (m *CreatePrivilegeTokenRequest) XXX_Size() int { 10110 return m.Size() 10111 } 10112 func (m *CreatePrivilegeTokenRequest) XXX_DiscardUnknown() { 10113 xxx_messageInfo_CreatePrivilegeTokenRequest.DiscardUnknown(m) 10114 } 10115 10116 var xxx_messageInfo_CreatePrivilegeTokenRequest proto.InternalMessageInfo 10117 10118 func (m *CreatePrivilegeTokenRequest) GetExistingMFAResponse() *MFAAuthenticateResponse { 10119 if m != nil { 10120 return m.ExistingMFAResponse 10121 } 10122 return nil 10123 } 10124 10125 // CreateRegisterChallengeRequest is a request for creating MFA register challenge for a 10126 // new MFA device. 10127 type CreateRegisterChallengeRequest struct { 10128 // TokenID is the ID of a user token that will be used to verify this request. 10129 // Either TokenID or ExistingMFAResponse are required. 10130 // 10131 // All user token types are accepted except UserTokenTypeRecoveryStart. 10132 // 10133 // An authenticated user can create challenges without a token by supplying an 10134 // ExistingMFAResponse. 10135 TokenID string `protobuf:"bytes,1,opt,name=TokenID,proto3" json:"token_id"` 10136 // ExistingMFAResponse is a response to ExistingMFAChallenge auth challenge. 10137 // Either ExistingMFAResponse or TokenID are required. 10138 // 10139 // Note that a user with no devices can create the initial register challenge, 10140 // in the same manner that they could create a privilege token. 10141 // 10142 // See the [AuthService.CreateAuthenticateChallenge] RPC. 10143 ExistingMFAResponse *MFAAuthenticateResponse `protobuf:"bytes,4,opt,name=ExistingMFAResponse,proto3" json:"ExistingMFAResponse,omitempty"` 10144 // DeviceType is the type of MFA device to make a register challenge for. 10145 DeviceType DeviceType `protobuf:"varint,2,opt,name=DeviceType,proto3,enum=proto.DeviceType" json:"device_type"` 10146 // DeviceUsage is the requested usage for the device. 10147 // Defaults to DEVICE_USAGE_MFA. 10148 DeviceUsage DeviceUsage `protobuf:"varint,3,opt,name=DeviceUsage,proto3,enum=proto.DeviceUsage" json:"device_usage,omitempty"` 10149 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10150 XXX_unrecognized []byte `json:"-"` 10151 XXX_sizecache int32 `json:"-"` 10152 } 10153 10154 func (m *CreateRegisterChallengeRequest) Reset() { *m = CreateRegisterChallengeRequest{} } 10155 func (m *CreateRegisterChallengeRequest) String() string { return proto.CompactTextString(m) } 10156 func (*CreateRegisterChallengeRequest) ProtoMessage() {} 10157 func (*CreateRegisterChallengeRequest) Descriptor() ([]byte, []int) { 10158 return fileDescriptor_0ffcffcda38ae159, []int{151} 10159 } 10160 func (m *CreateRegisterChallengeRequest) XXX_Unmarshal(b []byte) error { 10161 return m.Unmarshal(b) 10162 } 10163 func (m *CreateRegisterChallengeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10164 if deterministic { 10165 return xxx_messageInfo_CreateRegisterChallengeRequest.Marshal(b, m, deterministic) 10166 } else { 10167 b = b[:cap(b)] 10168 n, err := m.MarshalToSizedBuffer(b) 10169 if err != nil { 10170 return nil, err 10171 } 10172 return b[:n], nil 10173 } 10174 } 10175 func (m *CreateRegisterChallengeRequest) XXX_Merge(src proto.Message) { 10176 xxx_messageInfo_CreateRegisterChallengeRequest.Merge(m, src) 10177 } 10178 func (m *CreateRegisterChallengeRequest) XXX_Size() int { 10179 return m.Size() 10180 } 10181 func (m *CreateRegisterChallengeRequest) XXX_DiscardUnknown() { 10182 xxx_messageInfo_CreateRegisterChallengeRequest.DiscardUnknown(m) 10183 } 10184 10185 var xxx_messageInfo_CreateRegisterChallengeRequest proto.InternalMessageInfo 10186 10187 func (m *CreateRegisterChallengeRequest) GetTokenID() string { 10188 if m != nil { 10189 return m.TokenID 10190 } 10191 return "" 10192 } 10193 10194 func (m *CreateRegisterChallengeRequest) GetExistingMFAResponse() *MFAAuthenticateResponse { 10195 if m != nil { 10196 return m.ExistingMFAResponse 10197 } 10198 return nil 10199 } 10200 10201 func (m *CreateRegisterChallengeRequest) GetDeviceType() DeviceType { 10202 if m != nil { 10203 return m.DeviceType 10204 } 10205 return DeviceType_DEVICE_TYPE_UNSPECIFIED 10206 } 10207 10208 func (m *CreateRegisterChallengeRequest) GetDeviceUsage() DeviceUsage { 10209 if m != nil { 10210 return m.DeviceUsage 10211 } 10212 return DeviceUsage_DEVICE_USAGE_UNSPECIFIED 10213 } 10214 10215 // PaginatedResource represents one of the supported resources. 10216 type PaginatedResource struct { 10217 // Resource is the resource itself. 10218 // 10219 // Types that are valid to be assigned to Resource: 10220 // *PaginatedResource_DatabaseServer 10221 // *PaginatedResource_AppServer 10222 // *PaginatedResource_Node 10223 // *PaginatedResource_WindowsDesktop 10224 // *PaginatedResource_KubeCluster 10225 // *PaginatedResource_KubernetesServer 10226 // *PaginatedResource_WindowsDesktopService 10227 // *PaginatedResource_DatabaseService 10228 // *PaginatedResource_UserGroup 10229 // *PaginatedResource_AppServerOrSAMLIdPServiceProvider 10230 // *PaginatedResource_SAMLIdPServiceProvider 10231 Resource isPaginatedResource_Resource `protobuf_oneof:"resource"` 10232 // Logins allowed for the included resource. Only to be populated for SSH and Desktops. 10233 Logins []string `protobuf:"bytes,13,rep,name=Logins,proto3" json:"logins,omitempty"` 10234 // RequiresRequest indicates if a resource requires an access request to access. Only populated with requests 10235 // that IncludeRequestable. 10236 RequiresRequest bool `protobuf:"varint,14,opt,name=RequiresRequest,proto3" json:"requires_request,omitempty"` 10237 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10238 XXX_unrecognized []byte `json:"-"` 10239 XXX_sizecache int32 `json:"-"` 10240 } 10241 10242 func (m *PaginatedResource) Reset() { *m = PaginatedResource{} } 10243 func (m *PaginatedResource) String() string { return proto.CompactTextString(m) } 10244 func (*PaginatedResource) ProtoMessage() {} 10245 func (*PaginatedResource) Descriptor() ([]byte, []int) { 10246 return fileDescriptor_0ffcffcda38ae159, []int{152} 10247 } 10248 func (m *PaginatedResource) XXX_Unmarshal(b []byte) error { 10249 return m.Unmarshal(b) 10250 } 10251 func (m *PaginatedResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10252 if deterministic { 10253 return xxx_messageInfo_PaginatedResource.Marshal(b, m, deterministic) 10254 } else { 10255 b = b[:cap(b)] 10256 n, err := m.MarshalToSizedBuffer(b) 10257 if err != nil { 10258 return nil, err 10259 } 10260 return b[:n], nil 10261 } 10262 } 10263 func (m *PaginatedResource) XXX_Merge(src proto.Message) { 10264 xxx_messageInfo_PaginatedResource.Merge(m, src) 10265 } 10266 func (m *PaginatedResource) XXX_Size() int { 10267 return m.Size() 10268 } 10269 func (m *PaginatedResource) XXX_DiscardUnknown() { 10270 xxx_messageInfo_PaginatedResource.DiscardUnknown(m) 10271 } 10272 10273 var xxx_messageInfo_PaginatedResource proto.InternalMessageInfo 10274 10275 type isPaginatedResource_Resource interface { 10276 isPaginatedResource_Resource() 10277 MarshalTo([]byte) (int, error) 10278 Size() int 10279 } 10280 10281 type PaginatedResource_DatabaseServer struct { 10282 DatabaseServer *types.DatabaseServerV3 `protobuf:"bytes,1,opt,name=DatabaseServer,proto3,oneof" json:"DatabaseServer,omitempty"` 10283 } 10284 type PaginatedResource_AppServer struct { 10285 AppServer *types.AppServerV3 `protobuf:"bytes,2,opt,name=AppServer,proto3,oneof" json:"AppServer,omitempty"` 10286 } 10287 type PaginatedResource_Node struct { 10288 Node *types.ServerV2 `protobuf:"bytes,3,opt,name=Node,proto3,oneof" json:"node,omitempty"` 10289 } 10290 type PaginatedResource_WindowsDesktop struct { 10291 WindowsDesktop *types.WindowsDesktopV3 `protobuf:"bytes,5,opt,name=WindowsDesktop,proto3,oneof" json:"windows_desktop,omitempty"` 10292 } 10293 type PaginatedResource_KubeCluster struct { 10294 KubeCluster *types.KubernetesClusterV3 `protobuf:"bytes,6,opt,name=KubeCluster,proto3,oneof" json:"kube_cluster,omitempty"` 10295 } 10296 type PaginatedResource_KubernetesServer struct { 10297 KubernetesServer *types.KubernetesServerV3 `protobuf:"bytes,7,opt,name=KubernetesServer,proto3,oneof" json:"kubernetes_server,omitempty"` 10298 } 10299 type PaginatedResource_WindowsDesktopService struct { 10300 WindowsDesktopService *types.WindowsDesktopServiceV3 `protobuf:"bytes,8,opt,name=WindowsDesktopService,proto3,oneof" json:"windows_desktop_service,omitempty"` 10301 } 10302 type PaginatedResource_DatabaseService struct { 10303 DatabaseService *types.DatabaseServiceV1 `protobuf:"bytes,9,opt,name=DatabaseService,proto3,oneof" json:"database_service,omitempty"` 10304 } 10305 type PaginatedResource_UserGroup struct { 10306 UserGroup *types.UserGroupV1 `protobuf:"bytes,10,opt,name=UserGroup,proto3,oneof" json:"user_group,omitempty"` 10307 } 10308 type PaginatedResource_AppServerOrSAMLIdPServiceProvider struct { 10309 AppServerOrSAMLIdPServiceProvider *types.AppServerOrSAMLIdPServiceProviderV1 `protobuf:"bytes,11,opt,name=AppServerOrSAMLIdPServiceProvider,proto3,oneof" json:"AppServerOrSAMLIdPServiceProvider,omitempty"` 10310 } 10311 type PaginatedResource_SAMLIdPServiceProvider struct { 10312 SAMLIdPServiceProvider *types.SAMLIdPServiceProviderV1 `protobuf:"bytes,12,opt,name=SAMLIdPServiceProvider,proto3,oneof" json:"saml_idp_service_provider,omitempty"` 10313 } 10314 10315 func (*PaginatedResource_DatabaseServer) isPaginatedResource_Resource() {} 10316 func (*PaginatedResource_AppServer) isPaginatedResource_Resource() {} 10317 func (*PaginatedResource_Node) isPaginatedResource_Resource() {} 10318 func (*PaginatedResource_WindowsDesktop) isPaginatedResource_Resource() {} 10319 func (*PaginatedResource_KubeCluster) isPaginatedResource_Resource() {} 10320 func (*PaginatedResource_KubernetesServer) isPaginatedResource_Resource() {} 10321 func (*PaginatedResource_WindowsDesktopService) isPaginatedResource_Resource() {} 10322 func (*PaginatedResource_DatabaseService) isPaginatedResource_Resource() {} 10323 func (*PaginatedResource_UserGroup) isPaginatedResource_Resource() {} 10324 func (*PaginatedResource_AppServerOrSAMLIdPServiceProvider) isPaginatedResource_Resource() {} 10325 func (*PaginatedResource_SAMLIdPServiceProvider) isPaginatedResource_Resource() {} 10326 10327 func (m *PaginatedResource) GetResource() isPaginatedResource_Resource { 10328 if m != nil { 10329 return m.Resource 10330 } 10331 return nil 10332 } 10333 10334 func (m *PaginatedResource) GetDatabaseServer() *types.DatabaseServerV3 { 10335 if x, ok := m.GetResource().(*PaginatedResource_DatabaseServer); ok { 10336 return x.DatabaseServer 10337 } 10338 return nil 10339 } 10340 10341 func (m *PaginatedResource) GetAppServer() *types.AppServerV3 { 10342 if x, ok := m.GetResource().(*PaginatedResource_AppServer); ok { 10343 return x.AppServer 10344 } 10345 return nil 10346 } 10347 10348 func (m *PaginatedResource) GetNode() *types.ServerV2 { 10349 if x, ok := m.GetResource().(*PaginatedResource_Node); ok { 10350 return x.Node 10351 } 10352 return nil 10353 } 10354 10355 func (m *PaginatedResource) GetWindowsDesktop() *types.WindowsDesktopV3 { 10356 if x, ok := m.GetResource().(*PaginatedResource_WindowsDesktop); ok { 10357 return x.WindowsDesktop 10358 } 10359 return nil 10360 } 10361 10362 func (m *PaginatedResource) GetKubeCluster() *types.KubernetesClusterV3 { 10363 if x, ok := m.GetResource().(*PaginatedResource_KubeCluster); ok { 10364 return x.KubeCluster 10365 } 10366 return nil 10367 } 10368 10369 func (m *PaginatedResource) GetKubernetesServer() *types.KubernetesServerV3 { 10370 if x, ok := m.GetResource().(*PaginatedResource_KubernetesServer); ok { 10371 return x.KubernetesServer 10372 } 10373 return nil 10374 } 10375 10376 func (m *PaginatedResource) GetWindowsDesktopService() *types.WindowsDesktopServiceV3 { 10377 if x, ok := m.GetResource().(*PaginatedResource_WindowsDesktopService); ok { 10378 return x.WindowsDesktopService 10379 } 10380 return nil 10381 } 10382 10383 func (m *PaginatedResource) GetDatabaseService() *types.DatabaseServiceV1 { 10384 if x, ok := m.GetResource().(*PaginatedResource_DatabaseService); ok { 10385 return x.DatabaseService 10386 } 10387 return nil 10388 } 10389 10390 func (m *PaginatedResource) GetUserGroup() *types.UserGroupV1 { 10391 if x, ok := m.GetResource().(*PaginatedResource_UserGroup); ok { 10392 return x.UserGroup 10393 } 10394 return nil 10395 } 10396 10397 // Deprecated: Do not use. 10398 func (m *PaginatedResource) GetAppServerOrSAMLIdPServiceProvider() *types.AppServerOrSAMLIdPServiceProviderV1 { 10399 if x, ok := m.GetResource().(*PaginatedResource_AppServerOrSAMLIdPServiceProvider); ok { 10400 return x.AppServerOrSAMLIdPServiceProvider 10401 } 10402 return nil 10403 } 10404 10405 func (m *PaginatedResource) GetSAMLIdPServiceProvider() *types.SAMLIdPServiceProviderV1 { 10406 if x, ok := m.GetResource().(*PaginatedResource_SAMLIdPServiceProvider); ok { 10407 return x.SAMLIdPServiceProvider 10408 } 10409 return nil 10410 } 10411 10412 func (m *PaginatedResource) GetLogins() []string { 10413 if m != nil { 10414 return m.Logins 10415 } 10416 return nil 10417 } 10418 10419 func (m *PaginatedResource) GetRequiresRequest() bool { 10420 if m != nil { 10421 return m.RequiresRequest 10422 } 10423 return false 10424 } 10425 10426 // XXX_OneofWrappers is for the internal use of the proto package. 10427 func (*PaginatedResource) XXX_OneofWrappers() []interface{} { 10428 return []interface{}{ 10429 (*PaginatedResource_DatabaseServer)(nil), 10430 (*PaginatedResource_AppServer)(nil), 10431 (*PaginatedResource_Node)(nil), 10432 (*PaginatedResource_WindowsDesktop)(nil), 10433 (*PaginatedResource_KubeCluster)(nil), 10434 (*PaginatedResource_KubernetesServer)(nil), 10435 (*PaginatedResource_WindowsDesktopService)(nil), 10436 (*PaginatedResource_DatabaseService)(nil), 10437 (*PaginatedResource_UserGroup)(nil), 10438 (*PaginatedResource_AppServerOrSAMLIdPServiceProvider)(nil), 10439 (*PaginatedResource_SAMLIdPServiceProvider)(nil), 10440 } 10441 } 10442 10443 // ListUnifiedResourcesRequest is a request to receive a paginated list of unified resources 10444 type ListUnifiedResourcesRequest struct { 10445 // Kinds is a list of kinds to match against a resource's kind. This can be used in a 10446 // unified resource request that can include multiple types. 10447 Kinds []string `protobuf:"bytes,1,rep,name=Kinds,proto3" json:"kinds,omitempty"` 10448 // Limit is the maximum amount of resources to retrieve. 10449 Limit int32 `protobuf:"varint,2,opt,name=Limit,proto3" json:"limit,omitempty"` 10450 // StartKey is used to start listing resources from a specific spot. It 10451 // should be set to the previous NextKey value if using pagination, or 10452 // left empty. 10453 StartKey string `protobuf:"bytes,3,opt,name=StartKey,proto3" json:"start_key,omitempty"` 10454 // Labels is a label-based matcher if non-empty. 10455 Labels map[string]string `protobuf:"bytes,4,rep,name=Labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 10456 // PredicateExpression defines boolean conditions that will be matched against the resource. 10457 PredicateExpression string `protobuf:"bytes,5,opt,name=PredicateExpression,proto3" json:"predicate_expression,omitempty"` 10458 // SearchKeywords is a list of search keywords to match against resource field values. 10459 SearchKeywords []string `protobuf:"bytes,6,rep,name=SearchKeywords,proto3" json:"search_keywords,omitempty"` 10460 // SortBy describes which resource field and which direction to sort by. 10461 SortBy types.SortBy `protobuf:"bytes,7,opt,name=SortBy,proto3" json:"sort_by,omitempty"` 10462 // WindowsDesktopFilter specifies windows desktop specific filters. 10463 WindowsDesktopFilter types.WindowsDesktopFilter `protobuf:"bytes,8,opt,name=WindowsDesktopFilter,proto3" json:"windows_desktop_filter,omitempty"` 10464 // UseSearchAsRoles indicates that the response should include all resources 10465 // the caller is able to request access to using search_as_roles 10466 UseSearchAsRoles bool `protobuf:"varint,9,opt,name=UseSearchAsRoles,proto3" json:"use_search_as_roles,omitempty"` 10467 // UsePreviewAsRoles indicates that the response should include all resources 10468 // the caller would be able to access with their preview_as_roles 10469 UsePreviewAsRoles bool `protobuf:"varint,10,opt,name=UsePreviewAsRoles,proto3" json:"use_preview_as_roles,omitempty"` 10470 // PinnedOnly indicates that the request will pull only the pinned resources 10471 // of the requesting user 10472 PinnedOnly bool `protobuf:"varint,11,opt,name=PinnedOnly,proto3" json:"pinned_only,omitempty"` 10473 // IncludeLogins indicates that the response should include a users allowed logins 10474 // for all returned resources. 10475 IncludeLogins bool `protobuf:"varint,12,opt,name=IncludeLogins,proto3" json:"include_logins,omitempty"` 10476 // IncludeRequestable indicates that the response should include resources that the user must request access to. 10477 IncludeRequestable bool `protobuf:"varint,14,opt,name=IncludeRequestable,proto3" json:"include_proto,omitempty"` 10478 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10479 XXX_unrecognized []byte `json:"-"` 10480 XXX_sizecache int32 `json:"-"` 10481 } 10482 10483 func (m *ListUnifiedResourcesRequest) Reset() { *m = ListUnifiedResourcesRequest{} } 10484 func (m *ListUnifiedResourcesRequest) String() string { return proto.CompactTextString(m) } 10485 func (*ListUnifiedResourcesRequest) ProtoMessage() {} 10486 func (*ListUnifiedResourcesRequest) Descriptor() ([]byte, []int) { 10487 return fileDescriptor_0ffcffcda38ae159, []int{153} 10488 } 10489 func (m *ListUnifiedResourcesRequest) XXX_Unmarshal(b []byte) error { 10490 return m.Unmarshal(b) 10491 } 10492 func (m *ListUnifiedResourcesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10493 if deterministic { 10494 return xxx_messageInfo_ListUnifiedResourcesRequest.Marshal(b, m, deterministic) 10495 } else { 10496 b = b[:cap(b)] 10497 n, err := m.MarshalToSizedBuffer(b) 10498 if err != nil { 10499 return nil, err 10500 } 10501 return b[:n], nil 10502 } 10503 } 10504 func (m *ListUnifiedResourcesRequest) XXX_Merge(src proto.Message) { 10505 xxx_messageInfo_ListUnifiedResourcesRequest.Merge(m, src) 10506 } 10507 func (m *ListUnifiedResourcesRequest) XXX_Size() int { 10508 return m.Size() 10509 } 10510 func (m *ListUnifiedResourcesRequest) XXX_DiscardUnknown() { 10511 xxx_messageInfo_ListUnifiedResourcesRequest.DiscardUnknown(m) 10512 } 10513 10514 var xxx_messageInfo_ListUnifiedResourcesRequest proto.InternalMessageInfo 10515 10516 func (m *ListUnifiedResourcesRequest) GetKinds() []string { 10517 if m != nil { 10518 return m.Kinds 10519 } 10520 return nil 10521 } 10522 10523 func (m *ListUnifiedResourcesRequest) GetLimit() int32 { 10524 if m != nil { 10525 return m.Limit 10526 } 10527 return 0 10528 } 10529 10530 func (m *ListUnifiedResourcesRequest) GetStartKey() string { 10531 if m != nil { 10532 return m.StartKey 10533 } 10534 return "" 10535 } 10536 10537 func (m *ListUnifiedResourcesRequest) GetLabels() map[string]string { 10538 if m != nil { 10539 return m.Labels 10540 } 10541 return nil 10542 } 10543 10544 func (m *ListUnifiedResourcesRequest) GetPredicateExpression() string { 10545 if m != nil { 10546 return m.PredicateExpression 10547 } 10548 return "" 10549 } 10550 10551 func (m *ListUnifiedResourcesRequest) GetSearchKeywords() []string { 10552 if m != nil { 10553 return m.SearchKeywords 10554 } 10555 return nil 10556 } 10557 10558 func (m *ListUnifiedResourcesRequest) GetSortBy() types.SortBy { 10559 if m != nil { 10560 return m.SortBy 10561 } 10562 return types.SortBy{} 10563 } 10564 10565 func (m *ListUnifiedResourcesRequest) GetWindowsDesktopFilter() types.WindowsDesktopFilter { 10566 if m != nil { 10567 return m.WindowsDesktopFilter 10568 } 10569 return types.WindowsDesktopFilter{} 10570 } 10571 10572 func (m *ListUnifiedResourcesRequest) GetUseSearchAsRoles() bool { 10573 if m != nil { 10574 return m.UseSearchAsRoles 10575 } 10576 return false 10577 } 10578 10579 func (m *ListUnifiedResourcesRequest) GetUsePreviewAsRoles() bool { 10580 if m != nil { 10581 return m.UsePreviewAsRoles 10582 } 10583 return false 10584 } 10585 10586 func (m *ListUnifiedResourcesRequest) GetPinnedOnly() bool { 10587 if m != nil { 10588 return m.PinnedOnly 10589 } 10590 return false 10591 } 10592 10593 func (m *ListUnifiedResourcesRequest) GetIncludeLogins() bool { 10594 if m != nil { 10595 return m.IncludeLogins 10596 } 10597 return false 10598 } 10599 10600 func (m *ListUnifiedResourcesRequest) GetIncludeRequestable() bool { 10601 if m != nil { 10602 return m.IncludeRequestable 10603 } 10604 return false 10605 } 10606 10607 // ListUnifiedResourceResponse response of ListUnifiedResources. 10608 type ListUnifiedResourcesResponse struct { 10609 // Resources is a list of resource. 10610 Resources []*PaginatedResource `protobuf:"bytes,1,rep,name=Resources,proto3" json:"resources,omitempty"` 10611 // NextKey is the next Key to use as StartKey in a ListResourcesRequest to 10612 // continue retrieving pages of resource. If NextKey is empty, there are no 10613 // more pages. 10614 NextKey string `protobuf:"bytes,2,opt,name=NextKey,proto3" json:"next_key,omitempty"` 10615 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10616 XXX_unrecognized []byte `json:"-"` 10617 XXX_sizecache int32 `json:"-"` 10618 } 10619 10620 func (m *ListUnifiedResourcesResponse) Reset() { *m = ListUnifiedResourcesResponse{} } 10621 func (m *ListUnifiedResourcesResponse) String() string { return proto.CompactTextString(m) } 10622 func (*ListUnifiedResourcesResponse) ProtoMessage() {} 10623 func (*ListUnifiedResourcesResponse) Descriptor() ([]byte, []int) { 10624 return fileDescriptor_0ffcffcda38ae159, []int{154} 10625 } 10626 func (m *ListUnifiedResourcesResponse) XXX_Unmarshal(b []byte) error { 10627 return m.Unmarshal(b) 10628 } 10629 func (m *ListUnifiedResourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10630 if deterministic { 10631 return xxx_messageInfo_ListUnifiedResourcesResponse.Marshal(b, m, deterministic) 10632 } else { 10633 b = b[:cap(b)] 10634 n, err := m.MarshalToSizedBuffer(b) 10635 if err != nil { 10636 return nil, err 10637 } 10638 return b[:n], nil 10639 } 10640 } 10641 func (m *ListUnifiedResourcesResponse) XXX_Merge(src proto.Message) { 10642 xxx_messageInfo_ListUnifiedResourcesResponse.Merge(m, src) 10643 } 10644 func (m *ListUnifiedResourcesResponse) XXX_Size() int { 10645 return m.Size() 10646 } 10647 func (m *ListUnifiedResourcesResponse) XXX_DiscardUnknown() { 10648 xxx_messageInfo_ListUnifiedResourcesResponse.DiscardUnknown(m) 10649 } 10650 10651 var xxx_messageInfo_ListUnifiedResourcesResponse proto.InternalMessageInfo 10652 10653 func (m *ListUnifiedResourcesResponse) GetResources() []*PaginatedResource { 10654 if m != nil { 10655 return m.Resources 10656 } 10657 return nil 10658 } 10659 10660 func (m *ListUnifiedResourcesResponse) GetNextKey() string { 10661 if m != nil { 10662 return m.NextKey 10663 } 10664 return "" 10665 } 10666 10667 // ListResourcesRequest defines a request to retrieve resources paginated. Only 10668 // one type of resource can be retrieved per request. 10669 // 10670 // NOTE: There are two paths this request can take: 10671 // 1. ListResources: the more efficient path that retrieves resources by subset 10672 // at a time defined by field 'Limit'. Does NOT de-duplicate matches. 10673 // 2. listResourcesWithSort: the less efficient path that retrieves all resources 10674 // upfront by falling back to the traditional GetXXX calls. Used when sorting (SortBy), 10675 // total count of resources (NeedTotalCount), or ResourceType `KindKubernetesCluster` 10676 // is requested. Matches are de-duplicated. 10677 type ListResourcesRequest struct { 10678 // ResourceType is the resource that is going to be retrieved. 10679 // This only needs to be set explicitly for the `ListResources` rpc. 10680 ResourceType string `protobuf:"bytes,1,opt,name=ResourceType,proto3" json:"resource_type,omitempty"` 10681 // Namespace is the namespace of resources. 10682 Namespace string `protobuf:"bytes,2,opt,name=Namespace,proto3" json:"namespace,omitempty"` 10683 // Limit is the maximum amount of resources to retrieve. 10684 Limit int32 `protobuf:"varint,3,opt,name=Limit,proto3" json:"limit,omitempty"` 10685 // StartKey is used to start listing resources from a specific spot. It 10686 // should be set to the previous NextKey value if using pagination, or 10687 // left empty. 10688 StartKey string `protobuf:"bytes,4,opt,name=StartKey,proto3" json:"start_key,omitempty"` 10689 // Labels is a label-based matcher if non-empty. 10690 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"` 10691 // PredicateExpression defines boolean conditions that will be matched against the resource. 10692 PredicateExpression string `protobuf:"bytes,6,opt,name=PredicateExpression,proto3" json:"predicate_expression,omitempty"` 10693 // SearchKeywords is a list of search keywords to match against resource field values. 10694 SearchKeywords []string `protobuf:"bytes,7,rep,name=SearchKeywords,proto3" json:"search_keywords,omitempty"` 10695 // SortBy describes which resource field and which direction to sort by. 10696 SortBy types.SortBy `protobuf:"bytes,8,opt,name=SortBy,proto3" json:"sort_by,omitempty"` 10697 // NeedTotalCount indicates whether or not the caller also wants the total number of resources 10698 // after filtering. 10699 NeedTotalCount bool `protobuf:"varint,9,opt,name=NeedTotalCount,proto3" json:"need_total_count,omitempty"` 10700 // WindowsDesktopFilter specifies windows desktop specific filters. 10701 WindowsDesktopFilter types.WindowsDesktopFilter `protobuf:"bytes,10,opt,name=WindowsDesktopFilter,proto3" json:"windows_desktop_filter,omitempty"` 10702 // UseSearchAsRoles indicates that the response should include all resources 10703 // the caller is able to request access to using search_as_roles 10704 UseSearchAsRoles bool `protobuf:"varint,11,opt,name=UseSearchAsRoles,proto3" json:"use_search_as_roles,omitempty"` 10705 // UsePreviewAsRoles indicates that the response should include all resources 10706 // the caller would be able to access with their preview_as_roles 10707 UsePreviewAsRoles bool `protobuf:"varint,12,opt,name=UsePreviewAsRoles,proto3" json:"use_preview_as_roles,omitempty"` 10708 // IncludeLogins indicates that the response should include a users allowed logins 10709 // for all returned resources. 10710 IncludeLogins bool `protobuf:"varint,13,opt,name=IncludeLogins,proto3" json:"include_logins,omitempty"` 10711 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10712 XXX_unrecognized []byte `json:"-"` 10713 XXX_sizecache int32 `json:"-"` 10714 } 10715 10716 func (m *ListResourcesRequest) Reset() { *m = ListResourcesRequest{} } 10717 func (m *ListResourcesRequest) String() string { return proto.CompactTextString(m) } 10718 func (*ListResourcesRequest) ProtoMessage() {} 10719 func (*ListResourcesRequest) Descriptor() ([]byte, []int) { 10720 return fileDescriptor_0ffcffcda38ae159, []int{155} 10721 } 10722 func (m *ListResourcesRequest) XXX_Unmarshal(b []byte) error { 10723 return m.Unmarshal(b) 10724 } 10725 func (m *ListResourcesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10726 if deterministic { 10727 return xxx_messageInfo_ListResourcesRequest.Marshal(b, m, deterministic) 10728 } else { 10729 b = b[:cap(b)] 10730 n, err := m.MarshalToSizedBuffer(b) 10731 if err != nil { 10732 return nil, err 10733 } 10734 return b[:n], nil 10735 } 10736 } 10737 func (m *ListResourcesRequest) XXX_Merge(src proto.Message) { 10738 xxx_messageInfo_ListResourcesRequest.Merge(m, src) 10739 } 10740 func (m *ListResourcesRequest) XXX_Size() int { 10741 return m.Size() 10742 } 10743 func (m *ListResourcesRequest) XXX_DiscardUnknown() { 10744 xxx_messageInfo_ListResourcesRequest.DiscardUnknown(m) 10745 } 10746 10747 var xxx_messageInfo_ListResourcesRequest proto.InternalMessageInfo 10748 10749 func (m *ListResourcesRequest) GetResourceType() string { 10750 if m != nil { 10751 return m.ResourceType 10752 } 10753 return "" 10754 } 10755 10756 func (m *ListResourcesRequest) GetNamespace() string { 10757 if m != nil { 10758 return m.Namespace 10759 } 10760 return "" 10761 } 10762 10763 func (m *ListResourcesRequest) GetLimit() int32 { 10764 if m != nil { 10765 return m.Limit 10766 } 10767 return 0 10768 } 10769 10770 func (m *ListResourcesRequest) GetStartKey() string { 10771 if m != nil { 10772 return m.StartKey 10773 } 10774 return "" 10775 } 10776 10777 func (m *ListResourcesRequest) GetLabels() map[string]string { 10778 if m != nil { 10779 return m.Labels 10780 } 10781 return nil 10782 } 10783 10784 func (m *ListResourcesRequest) GetPredicateExpression() string { 10785 if m != nil { 10786 return m.PredicateExpression 10787 } 10788 return "" 10789 } 10790 10791 func (m *ListResourcesRequest) GetSearchKeywords() []string { 10792 if m != nil { 10793 return m.SearchKeywords 10794 } 10795 return nil 10796 } 10797 10798 func (m *ListResourcesRequest) GetSortBy() types.SortBy { 10799 if m != nil { 10800 return m.SortBy 10801 } 10802 return types.SortBy{} 10803 } 10804 10805 func (m *ListResourcesRequest) GetNeedTotalCount() bool { 10806 if m != nil { 10807 return m.NeedTotalCount 10808 } 10809 return false 10810 } 10811 10812 func (m *ListResourcesRequest) GetWindowsDesktopFilter() types.WindowsDesktopFilter { 10813 if m != nil { 10814 return m.WindowsDesktopFilter 10815 } 10816 return types.WindowsDesktopFilter{} 10817 } 10818 10819 func (m *ListResourcesRequest) GetUseSearchAsRoles() bool { 10820 if m != nil { 10821 return m.UseSearchAsRoles 10822 } 10823 return false 10824 } 10825 10826 func (m *ListResourcesRequest) GetUsePreviewAsRoles() bool { 10827 if m != nil { 10828 return m.UsePreviewAsRoles 10829 } 10830 return false 10831 } 10832 10833 func (m *ListResourcesRequest) GetIncludeLogins() bool { 10834 if m != nil { 10835 return m.IncludeLogins 10836 } 10837 return false 10838 } 10839 10840 // GetSSHTargetsRequest gets all servers that might match an equivalent ssh dial request. 10841 type GetSSHTargetsRequest struct { 10842 // Host is the target host as would be sent to the proxy during a dial request. 10843 Host string `protobuf:"bytes,1,opt,name=Host,proto3" json:"Host,omitempty"` 10844 // Port is the ssh port. This value is optional, and both empty string and "0" are typically 10845 // treated as meaning that any port should match. 10846 Port string `protobuf:"bytes,2,opt,name=Port,proto3" json:"Port,omitempty"` 10847 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10848 XXX_unrecognized []byte `json:"-"` 10849 XXX_sizecache int32 `json:"-"` 10850 } 10851 10852 func (m *GetSSHTargetsRequest) Reset() { *m = GetSSHTargetsRequest{} } 10853 func (m *GetSSHTargetsRequest) String() string { return proto.CompactTextString(m) } 10854 func (*GetSSHTargetsRequest) ProtoMessage() {} 10855 func (*GetSSHTargetsRequest) Descriptor() ([]byte, []int) { 10856 return fileDescriptor_0ffcffcda38ae159, []int{156} 10857 } 10858 func (m *GetSSHTargetsRequest) XXX_Unmarshal(b []byte) error { 10859 return m.Unmarshal(b) 10860 } 10861 func (m *GetSSHTargetsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10862 if deterministic { 10863 return xxx_messageInfo_GetSSHTargetsRequest.Marshal(b, m, deterministic) 10864 } else { 10865 b = b[:cap(b)] 10866 n, err := m.MarshalToSizedBuffer(b) 10867 if err != nil { 10868 return nil, err 10869 } 10870 return b[:n], nil 10871 } 10872 } 10873 func (m *GetSSHTargetsRequest) XXX_Merge(src proto.Message) { 10874 xxx_messageInfo_GetSSHTargetsRequest.Merge(m, src) 10875 } 10876 func (m *GetSSHTargetsRequest) XXX_Size() int { 10877 return m.Size() 10878 } 10879 func (m *GetSSHTargetsRequest) XXX_DiscardUnknown() { 10880 xxx_messageInfo_GetSSHTargetsRequest.DiscardUnknown(m) 10881 } 10882 10883 var xxx_messageInfo_GetSSHTargetsRequest proto.InternalMessageInfo 10884 10885 func (m *GetSSHTargetsRequest) GetHost() string { 10886 if m != nil { 10887 return m.Host 10888 } 10889 return "" 10890 } 10891 10892 func (m *GetSSHTargetsRequest) GetPort() string { 10893 if m != nil { 10894 return m.Port 10895 } 10896 return "" 10897 } 10898 10899 // GetSSHTargetsResponse holds ssh servers that match an ssh targets request. 10900 type GetSSHTargetsResponse struct { 10901 // Servers is a list of servers matching the supplied request. 10902 Servers []*types.ServerV2 `protobuf:"bytes,1,rep,name=Servers,proto3" json:"Servers,omitempty"` 10903 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10904 XXX_unrecognized []byte `json:"-"` 10905 XXX_sizecache int32 `json:"-"` 10906 } 10907 10908 func (m *GetSSHTargetsResponse) Reset() { *m = GetSSHTargetsResponse{} } 10909 func (m *GetSSHTargetsResponse) String() string { return proto.CompactTextString(m) } 10910 func (*GetSSHTargetsResponse) ProtoMessage() {} 10911 func (*GetSSHTargetsResponse) Descriptor() ([]byte, []int) { 10912 return fileDescriptor_0ffcffcda38ae159, []int{157} 10913 } 10914 func (m *GetSSHTargetsResponse) XXX_Unmarshal(b []byte) error { 10915 return m.Unmarshal(b) 10916 } 10917 func (m *GetSSHTargetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10918 if deterministic { 10919 return xxx_messageInfo_GetSSHTargetsResponse.Marshal(b, m, deterministic) 10920 } else { 10921 b = b[:cap(b)] 10922 n, err := m.MarshalToSizedBuffer(b) 10923 if err != nil { 10924 return nil, err 10925 } 10926 return b[:n], nil 10927 } 10928 } 10929 func (m *GetSSHTargetsResponse) XXX_Merge(src proto.Message) { 10930 xxx_messageInfo_GetSSHTargetsResponse.Merge(m, src) 10931 } 10932 func (m *GetSSHTargetsResponse) XXX_Size() int { 10933 return m.Size() 10934 } 10935 func (m *GetSSHTargetsResponse) XXX_DiscardUnknown() { 10936 xxx_messageInfo_GetSSHTargetsResponse.DiscardUnknown(m) 10937 } 10938 10939 var xxx_messageInfo_GetSSHTargetsResponse proto.InternalMessageInfo 10940 10941 func (m *GetSSHTargetsResponse) GetServers() []*types.ServerV2 { 10942 if m != nil { 10943 return m.Servers 10944 } 10945 return nil 10946 } 10947 10948 // ListResourceResponse response of ListResources. 10949 type ListResourcesResponse struct { 10950 // Resources is a list of resource. 10951 Resources []*PaginatedResource `protobuf:"bytes,1,rep,name=Resources,proto3" json:"resources,omitempty"` 10952 // NextKey is the next Key to use as StartKey in a ListResourcesRequest to 10953 // continue retrieving pages of resource. If NextKey is empty, there are no 10954 // more pages. 10955 NextKey string `protobuf:"bytes,2,opt,name=NextKey,proto3" json:"next_key,omitempty"` 10956 // TotalCount is the total number of resources available after filter, if any. 10957 TotalCount int32 `protobuf:"varint,3,opt,name=TotalCount,proto3" json:"total_count,omitempty"` 10958 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10959 XXX_unrecognized []byte `json:"-"` 10960 XXX_sizecache int32 `json:"-"` 10961 } 10962 10963 func (m *ListResourcesResponse) Reset() { *m = ListResourcesResponse{} } 10964 func (m *ListResourcesResponse) String() string { return proto.CompactTextString(m) } 10965 func (*ListResourcesResponse) ProtoMessage() {} 10966 func (*ListResourcesResponse) Descriptor() ([]byte, []int) { 10967 return fileDescriptor_0ffcffcda38ae159, []int{158} 10968 } 10969 func (m *ListResourcesResponse) XXX_Unmarshal(b []byte) error { 10970 return m.Unmarshal(b) 10971 } 10972 func (m *ListResourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10973 if deterministic { 10974 return xxx_messageInfo_ListResourcesResponse.Marshal(b, m, deterministic) 10975 } else { 10976 b = b[:cap(b)] 10977 n, err := m.MarshalToSizedBuffer(b) 10978 if err != nil { 10979 return nil, err 10980 } 10981 return b[:n], nil 10982 } 10983 } 10984 func (m *ListResourcesResponse) XXX_Merge(src proto.Message) { 10985 xxx_messageInfo_ListResourcesResponse.Merge(m, src) 10986 } 10987 func (m *ListResourcesResponse) XXX_Size() int { 10988 return m.Size() 10989 } 10990 func (m *ListResourcesResponse) XXX_DiscardUnknown() { 10991 xxx_messageInfo_ListResourcesResponse.DiscardUnknown(m) 10992 } 10993 10994 var xxx_messageInfo_ListResourcesResponse proto.InternalMessageInfo 10995 10996 func (m *ListResourcesResponse) GetResources() []*PaginatedResource { 10997 if m != nil { 10998 return m.Resources 10999 } 11000 return nil 11001 } 11002 11003 func (m *ListResourcesResponse) GetNextKey() string { 11004 if m != nil { 11005 return m.NextKey 11006 } 11007 return "" 11008 } 11009 11010 func (m *ListResourcesResponse) GetTotalCount() int32 { 11011 if m != nil { 11012 return m.TotalCount 11013 } 11014 return 0 11015 } 11016 11017 // CreateSessionTrackerRequest is a request to create a new session. 11018 // 11019 // This is not specific to any session type. Relevant fields should be set for a given session type. 11020 type CreateSessionTrackerRequest struct { 11021 // SessionTracker is the session tracker to be created. 11022 SessionTracker *types.SessionTrackerV1 `protobuf:"bytes,15,opt,name=SessionTracker,proto3" json:"session_tracker,omitempty"` 11023 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11024 XXX_unrecognized []byte `json:"-"` 11025 XXX_sizecache int32 `json:"-"` 11026 } 11027 11028 func (m *CreateSessionTrackerRequest) Reset() { *m = CreateSessionTrackerRequest{} } 11029 func (m *CreateSessionTrackerRequest) String() string { return proto.CompactTextString(m) } 11030 func (*CreateSessionTrackerRequest) ProtoMessage() {} 11031 func (*CreateSessionTrackerRequest) Descriptor() ([]byte, []int) { 11032 return fileDescriptor_0ffcffcda38ae159, []int{159} 11033 } 11034 func (m *CreateSessionTrackerRequest) XXX_Unmarshal(b []byte) error { 11035 return m.Unmarshal(b) 11036 } 11037 func (m *CreateSessionTrackerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11038 if deterministic { 11039 return xxx_messageInfo_CreateSessionTrackerRequest.Marshal(b, m, deterministic) 11040 } else { 11041 b = b[:cap(b)] 11042 n, err := m.MarshalToSizedBuffer(b) 11043 if err != nil { 11044 return nil, err 11045 } 11046 return b[:n], nil 11047 } 11048 } 11049 func (m *CreateSessionTrackerRequest) XXX_Merge(src proto.Message) { 11050 xxx_messageInfo_CreateSessionTrackerRequest.Merge(m, src) 11051 } 11052 func (m *CreateSessionTrackerRequest) XXX_Size() int { 11053 return m.Size() 11054 } 11055 func (m *CreateSessionTrackerRequest) XXX_DiscardUnknown() { 11056 xxx_messageInfo_CreateSessionTrackerRequest.DiscardUnknown(m) 11057 } 11058 11059 var xxx_messageInfo_CreateSessionTrackerRequest proto.InternalMessageInfo 11060 11061 func (m *CreateSessionTrackerRequest) GetSessionTracker() *types.SessionTrackerV1 { 11062 if m != nil { 11063 return m.SessionTracker 11064 } 11065 return nil 11066 } 11067 11068 // GetSessionTrackerRequest is a request to fetch a session resource. 11069 type GetSessionTrackerRequest struct { 11070 // SessionID is unique identifier of this session. 11071 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"session_id,omitempty"` 11072 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11073 XXX_unrecognized []byte `json:"-"` 11074 XXX_sizecache int32 `json:"-"` 11075 } 11076 11077 func (m *GetSessionTrackerRequest) Reset() { *m = GetSessionTrackerRequest{} } 11078 func (m *GetSessionTrackerRequest) String() string { return proto.CompactTextString(m) } 11079 func (*GetSessionTrackerRequest) ProtoMessage() {} 11080 func (*GetSessionTrackerRequest) Descriptor() ([]byte, []int) { 11081 return fileDescriptor_0ffcffcda38ae159, []int{160} 11082 } 11083 func (m *GetSessionTrackerRequest) XXX_Unmarshal(b []byte) error { 11084 return m.Unmarshal(b) 11085 } 11086 func (m *GetSessionTrackerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11087 if deterministic { 11088 return xxx_messageInfo_GetSessionTrackerRequest.Marshal(b, m, deterministic) 11089 } else { 11090 b = b[:cap(b)] 11091 n, err := m.MarshalToSizedBuffer(b) 11092 if err != nil { 11093 return nil, err 11094 } 11095 return b[:n], nil 11096 } 11097 } 11098 func (m *GetSessionTrackerRequest) XXX_Merge(src proto.Message) { 11099 xxx_messageInfo_GetSessionTrackerRequest.Merge(m, src) 11100 } 11101 func (m *GetSessionTrackerRequest) XXX_Size() int { 11102 return m.Size() 11103 } 11104 func (m *GetSessionTrackerRequest) XXX_DiscardUnknown() { 11105 xxx_messageInfo_GetSessionTrackerRequest.DiscardUnknown(m) 11106 } 11107 11108 var xxx_messageInfo_GetSessionTrackerRequest proto.InternalMessageInfo 11109 11110 func (m *GetSessionTrackerRequest) GetSessionID() string { 11111 if m != nil { 11112 return m.SessionID 11113 } 11114 return "" 11115 } 11116 11117 // RemoveSessionTrackerRequest is a request to remove a session. 11118 type RemoveSessionTrackerRequest struct { 11119 // SessionID is unique identifier of this session. 11120 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"session_id,omitempty"` 11121 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11122 XXX_unrecognized []byte `json:"-"` 11123 XXX_sizecache int32 `json:"-"` 11124 } 11125 11126 func (m *RemoveSessionTrackerRequest) Reset() { *m = RemoveSessionTrackerRequest{} } 11127 func (m *RemoveSessionTrackerRequest) String() string { return proto.CompactTextString(m) } 11128 func (*RemoveSessionTrackerRequest) ProtoMessage() {} 11129 func (*RemoveSessionTrackerRequest) Descriptor() ([]byte, []int) { 11130 return fileDescriptor_0ffcffcda38ae159, []int{161} 11131 } 11132 func (m *RemoveSessionTrackerRequest) XXX_Unmarshal(b []byte) error { 11133 return m.Unmarshal(b) 11134 } 11135 func (m *RemoveSessionTrackerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11136 if deterministic { 11137 return xxx_messageInfo_RemoveSessionTrackerRequest.Marshal(b, m, deterministic) 11138 } else { 11139 b = b[:cap(b)] 11140 n, err := m.MarshalToSizedBuffer(b) 11141 if err != nil { 11142 return nil, err 11143 } 11144 return b[:n], nil 11145 } 11146 } 11147 func (m *RemoveSessionTrackerRequest) XXX_Merge(src proto.Message) { 11148 xxx_messageInfo_RemoveSessionTrackerRequest.Merge(m, src) 11149 } 11150 func (m *RemoveSessionTrackerRequest) XXX_Size() int { 11151 return m.Size() 11152 } 11153 func (m *RemoveSessionTrackerRequest) XXX_DiscardUnknown() { 11154 xxx_messageInfo_RemoveSessionTrackerRequest.DiscardUnknown(m) 11155 } 11156 11157 var xxx_messageInfo_RemoveSessionTrackerRequest proto.InternalMessageInfo 11158 11159 func (m *RemoveSessionTrackerRequest) GetSessionID() string { 11160 if m != nil { 11161 return m.SessionID 11162 } 11163 return "" 11164 } 11165 11166 type SessionTrackerUpdateState struct { 11167 // State is the new state of the session tracker. 11168 State types.SessionState `protobuf:"varint,2,opt,name=State,proto3,enum=types.SessionState" json:"state,omitempty"` 11169 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11170 XXX_unrecognized []byte `json:"-"` 11171 XXX_sizecache int32 `json:"-"` 11172 } 11173 11174 func (m *SessionTrackerUpdateState) Reset() { *m = SessionTrackerUpdateState{} } 11175 func (m *SessionTrackerUpdateState) String() string { return proto.CompactTextString(m) } 11176 func (*SessionTrackerUpdateState) ProtoMessage() {} 11177 func (*SessionTrackerUpdateState) Descriptor() ([]byte, []int) { 11178 return fileDescriptor_0ffcffcda38ae159, []int{162} 11179 } 11180 func (m *SessionTrackerUpdateState) XXX_Unmarshal(b []byte) error { 11181 return m.Unmarshal(b) 11182 } 11183 func (m *SessionTrackerUpdateState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11184 if deterministic { 11185 return xxx_messageInfo_SessionTrackerUpdateState.Marshal(b, m, deterministic) 11186 } else { 11187 b = b[:cap(b)] 11188 n, err := m.MarshalToSizedBuffer(b) 11189 if err != nil { 11190 return nil, err 11191 } 11192 return b[:n], nil 11193 } 11194 } 11195 func (m *SessionTrackerUpdateState) XXX_Merge(src proto.Message) { 11196 xxx_messageInfo_SessionTrackerUpdateState.Merge(m, src) 11197 } 11198 func (m *SessionTrackerUpdateState) XXX_Size() int { 11199 return m.Size() 11200 } 11201 func (m *SessionTrackerUpdateState) XXX_DiscardUnknown() { 11202 xxx_messageInfo_SessionTrackerUpdateState.DiscardUnknown(m) 11203 } 11204 11205 var xxx_messageInfo_SessionTrackerUpdateState proto.InternalMessageInfo 11206 11207 func (m *SessionTrackerUpdateState) GetState() types.SessionState { 11208 if m != nil { 11209 return m.State 11210 } 11211 return types.SessionState_SessionStatePending 11212 } 11213 11214 type SessionTrackerAddParticipant struct { 11215 // Participant is the participant to be added to the session. 11216 Participant *types.Participant `protobuf:"bytes,2,opt,name=Participant,proto3" json:"participant,omitempty"` 11217 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11218 XXX_unrecognized []byte `json:"-"` 11219 XXX_sizecache int32 `json:"-"` 11220 } 11221 11222 func (m *SessionTrackerAddParticipant) Reset() { *m = SessionTrackerAddParticipant{} } 11223 func (m *SessionTrackerAddParticipant) String() string { return proto.CompactTextString(m) } 11224 func (*SessionTrackerAddParticipant) ProtoMessage() {} 11225 func (*SessionTrackerAddParticipant) Descriptor() ([]byte, []int) { 11226 return fileDescriptor_0ffcffcda38ae159, []int{163} 11227 } 11228 func (m *SessionTrackerAddParticipant) XXX_Unmarshal(b []byte) error { 11229 return m.Unmarshal(b) 11230 } 11231 func (m *SessionTrackerAddParticipant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11232 if deterministic { 11233 return xxx_messageInfo_SessionTrackerAddParticipant.Marshal(b, m, deterministic) 11234 } else { 11235 b = b[:cap(b)] 11236 n, err := m.MarshalToSizedBuffer(b) 11237 if err != nil { 11238 return nil, err 11239 } 11240 return b[:n], nil 11241 } 11242 } 11243 func (m *SessionTrackerAddParticipant) XXX_Merge(src proto.Message) { 11244 xxx_messageInfo_SessionTrackerAddParticipant.Merge(m, src) 11245 } 11246 func (m *SessionTrackerAddParticipant) XXX_Size() int { 11247 return m.Size() 11248 } 11249 func (m *SessionTrackerAddParticipant) XXX_DiscardUnknown() { 11250 xxx_messageInfo_SessionTrackerAddParticipant.DiscardUnknown(m) 11251 } 11252 11253 var xxx_messageInfo_SessionTrackerAddParticipant proto.InternalMessageInfo 11254 11255 func (m *SessionTrackerAddParticipant) GetParticipant() *types.Participant { 11256 if m != nil { 11257 return m.Participant 11258 } 11259 return nil 11260 } 11261 11262 type SessionTrackerRemoveParticipant struct { 11263 // ParticipantID is unique identifier of the participant. 11264 ParticipantID string `protobuf:"bytes,2,opt,name=ParticipantID,proto3" json:"participant_id,omitempty"` 11265 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11266 XXX_unrecognized []byte `json:"-"` 11267 XXX_sizecache int32 `json:"-"` 11268 } 11269 11270 func (m *SessionTrackerRemoveParticipant) Reset() { *m = SessionTrackerRemoveParticipant{} } 11271 func (m *SessionTrackerRemoveParticipant) String() string { return proto.CompactTextString(m) } 11272 func (*SessionTrackerRemoveParticipant) ProtoMessage() {} 11273 func (*SessionTrackerRemoveParticipant) Descriptor() ([]byte, []int) { 11274 return fileDescriptor_0ffcffcda38ae159, []int{164} 11275 } 11276 func (m *SessionTrackerRemoveParticipant) XXX_Unmarshal(b []byte) error { 11277 return m.Unmarshal(b) 11278 } 11279 func (m *SessionTrackerRemoveParticipant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11280 if deterministic { 11281 return xxx_messageInfo_SessionTrackerRemoveParticipant.Marshal(b, m, deterministic) 11282 } else { 11283 b = b[:cap(b)] 11284 n, err := m.MarshalToSizedBuffer(b) 11285 if err != nil { 11286 return nil, err 11287 } 11288 return b[:n], nil 11289 } 11290 } 11291 func (m *SessionTrackerRemoveParticipant) XXX_Merge(src proto.Message) { 11292 xxx_messageInfo_SessionTrackerRemoveParticipant.Merge(m, src) 11293 } 11294 func (m *SessionTrackerRemoveParticipant) XXX_Size() int { 11295 return m.Size() 11296 } 11297 func (m *SessionTrackerRemoveParticipant) XXX_DiscardUnknown() { 11298 xxx_messageInfo_SessionTrackerRemoveParticipant.DiscardUnknown(m) 11299 } 11300 11301 var xxx_messageInfo_SessionTrackerRemoveParticipant proto.InternalMessageInfo 11302 11303 func (m *SessionTrackerRemoveParticipant) GetParticipantID() string { 11304 if m != nil { 11305 return m.ParticipantID 11306 } 11307 return "" 11308 } 11309 11310 // SessionTrackerUpdateExpiry is used to update the session tracker expiration time. 11311 type SessionTrackerUpdateExpiry struct { 11312 // Expires is when the session tracker will expire. 11313 Expires *time.Time `protobuf:"bytes,1,opt,name=Expires,proto3,stdtime" json:"expires"` 11314 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11315 XXX_unrecognized []byte `json:"-"` 11316 XXX_sizecache int32 `json:"-"` 11317 } 11318 11319 func (m *SessionTrackerUpdateExpiry) Reset() { *m = SessionTrackerUpdateExpiry{} } 11320 func (m *SessionTrackerUpdateExpiry) String() string { return proto.CompactTextString(m) } 11321 func (*SessionTrackerUpdateExpiry) ProtoMessage() {} 11322 func (*SessionTrackerUpdateExpiry) Descriptor() ([]byte, []int) { 11323 return fileDescriptor_0ffcffcda38ae159, []int{165} 11324 } 11325 func (m *SessionTrackerUpdateExpiry) XXX_Unmarshal(b []byte) error { 11326 return m.Unmarshal(b) 11327 } 11328 func (m *SessionTrackerUpdateExpiry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11329 if deterministic { 11330 return xxx_messageInfo_SessionTrackerUpdateExpiry.Marshal(b, m, deterministic) 11331 } else { 11332 b = b[:cap(b)] 11333 n, err := m.MarshalToSizedBuffer(b) 11334 if err != nil { 11335 return nil, err 11336 } 11337 return b[:n], nil 11338 } 11339 } 11340 func (m *SessionTrackerUpdateExpiry) XXX_Merge(src proto.Message) { 11341 xxx_messageInfo_SessionTrackerUpdateExpiry.Merge(m, src) 11342 } 11343 func (m *SessionTrackerUpdateExpiry) XXX_Size() int { 11344 return m.Size() 11345 } 11346 func (m *SessionTrackerUpdateExpiry) XXX_DiscardUnknown() { 11347 xxx_messageInfo_SessionTrackerUpdateExpiry.DiscardUnknown(m) 11348 } 11349 11350 var xxx_messageInfo_SessionTrackerUpdateExpiry proto.InternalMessageInfo 11351 11352 func (m *SessionTrackerUpdateExpiry) GetExpires() *time.Time { 11353 if m != nil { 11354 return m.Expires 11355 } 11356 return nil 11357 } 11358 11359 // UpdateSessionTrackerRequest is a request to update some state of a session. 11360 type UpdateSessionTrackerRequest struct { 11361 // SessionID is unique identifier of this session. 11362 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"session_id,omitempty"` 11363 // Types that are valid to be assigned to Update: 11364 // *UpdateSessionTrackerRequest_UpdateState 11365 // *UpdateSessionTrackerRequest_AddParticipant 11366 // *UpdateSessionTrackerRequest_RemoveParticipant 11367 // *UpdateSessionTrackerRequest_UpdateExpiry 11368 Update isUpdateSessionTrackerRequest_Update `protobuf_oneof:"Update"` 11369 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11370 XXX_unrecognized []byte `json:"-"` 11371 XXX_sizecache int32 `json:"-"` 11372 } 11373 11374 func (m *UpdateSessionTrackerRequest) Reset() { *m = UpdateSessionTrackerRequest{} } 11375 func (m *UpdateSessionTrackerRequest) String() string { return proto.CompactTextString(m) } 11376 func (*UpdateSessionTrackerRequest) ProtoMessage() {} 11377 func (*UpdateSessionTrackerRequest) Descriptor() ([]byte, []int) { 11378 return fileDescriptor_0ffcffcda38ae159, []int{166} 11379 } 11380 func (m *UpdateSessionTrackerRequest) XXX_Unmarshal(b []byte) error { 11381 return m.Unmarshal(b) 11382 } 11383 func (m *UpdateSessionTrackerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11384 if deterministic { 11385 return xxx_messageInfo_UpdateSessionTrackerRequest.Marshal(b, m, deterministic) 11386 } else { 11387 b = b[:cap(b)] 11388 n, err := m.MarshalToSizedBuffer(b) 11389 if err != nil { 11390 return nil, err 11391 } 11392 return b[:n], nil 11393 } 11394 } 11395 func (m *UpdateSessionTrackerRequest) XXX_Merge(src proto.Message) { 11396 xxx_messageInfo_UpdateSessionTrackerRequest.Merge(m, src) 11397 } 11398 func (m *UpdateSessionTrackerRequest) XXX_Size() int { 11399 return m.Size() 11400 } 11401 func (m *UpdateSessionTrackerRequest) XXX_DiscardUnknown() { 11402 xxx_messageInfo_UpdateSessionTrackerRequest.DiscardUnknown(m) 11403 } 11404 11405 var xxx_messageInfo_UpdateSessionTrackerRequest proto.InternalMessageInfo 11406 11407 type isUpdateSessionTrackerRequest_Update interface { 11408 isUpdateSessionTrackerRequest_Update() 11409 MarshalTo([]byte) (int, error) 11410 Size() int 11411 } 11412 11413 type UpdateSessionTrackerRequest_UpdateState struct { 11414 UpdateState *SessionTrackerUpdateState `protobuf:"bytes,2,opt,name=UpdateState,proto3,oneof" json:"update_state,omitempty"` 11415 } 11416 type UpdateSessionTrackerRequest_AddParticipant struct { 11417 AddParticipant *SessionTrackerAddParticipant `protobuf:"bytes,3,opt,name=AddParticipant,proto3,oneof" json:"add_participant,omitempty"` 11418 } 11419 type UpdateSessionTrackerRequest_RemoveParticipant struct { 11420 RemoveParticipant *SessionTrackerRemoveParticipant `protobuf:"bytes,4,opt,name=RemoveParticipant,proto3,oneof" json:"remove_participant,omitempty"` 11421 } 11422 type UpdateSessionTrackerRequest_UpdateExpiry struct { 11423 UpdateExpiry *SessionTrackerUpdateExpiry `protobuf:"bytes,5,opt,name=UpdateExpiry,proto3,oneof" json:"update_expiry,omitempty"` 11424 } 11425 11426 func (*UpdateSessionTrackerRequest_UpdateState) isUpdateSessionTrackerRequest_Update() {} 11427 func (*UpdateSessionTrackerRequest_AddParticipant) isUpdateSessionTrackerRequest_Update() {} 11428 func (*UpdateSessionTrackerRequest_RemoveParticipant) isUpdateSessionTrackerRequest_Update() {} 11429 func (*UpdateSessionTrackerRequest_UpdateExpiry) isUpdateSessionTrackerRequest_Update() {} 11430 11431 func (m *UpdateSessionTrackerRequest) GetUpdate() isUpdateSessionTrackerRequest_Update { 11432 if m != nil { 11433 return m.Update 11434 } 11435 return nil 11436 } 11437 11438 func (m *UpdateSessionTrackerRequest) GetSessionID() string { 11439 if m != nil { 11440 return m.SessionID 11441 } 11442 return "" 11443 } 11444 11445 func (m *UpdateSessionTrackerRequest) GetUpdateState() *SessionTrackerUpdateState { 11446 if x, ok := m.GetUpdate().(*UpdateSessionTrackerRequest_UpdateState); ok { 11447 return x.UpdateState 11448 } 11449 return nil 11450 } 11451 11452 func (m *UpdateSessionTrackerRequest) GetAddParticipant() *SessionTrackerAddParticipant { 11453 if x, ok := m.GetUpdate().(*UpdateSessionTrackerRequest_AddParticipant); ok { 11454 return x.AddParticipant 11455 } 11456 return nil 11457 } 11458 11459 func (m *UpdateSessionTrackerRequest) GetRemoveParticipant() *SessionTrackerRemoveParticipant { 11460 if x, ok := m.GetUpdate().(*UpdateSessionTrackerRequest_RemoveParticipant); ok { 11461 return x.RemoveParticipant 11462 } 11463 return nil 11464 } 11465 11466 func (m *UpdateSessionTrackerRequest) GetUpdateExpiry() *SessionTrackerUpdateExpiry { 11467 if x, ok := m.GetUpdate().(*UpdateSessionTrackerRequest_UpdateExpiry); ok { 11468 return x.UpdateExpiry 11469 } 11470 return nil 11471 } 11472 11473 // XXX_OneofWrappers is for the internal use of the proto package. 11474 func (*UpdateSessionTrackerRequest) XXX_OneofWrappers() []interface{} { 11475 return []interface{}{ 11476 (*UpdateSessionTrackerRequest_UpdateState)(nil), 11477 (*UpdateSessionTrackerRequest_AddParticipant)(nil), 11478 (*UpdateSessionTrackerRequest_RemoveParticipant)(nil), 11479 (*UpdateSessionTrackerRequest_UpdateExpiry)(nil), 11480 } 11481 } 11482 11483 // PresenceMFAChallengeRequest is a request for a presence MFA challenge. 11484 type PresenceMFAChallengeRequest struct { 11485 // SessionID is unique identifier of the session you want to request presence for. 11486 SessionID string `protobuf:"bytes,1,opt,name=SessionID,proto3" json:"session_id,omitempty"` 11487 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11488 XXX_unrecognized []byte `json:"-"` 11489 XXX_sizecache int32 `json:"-"` 11490 } 11491 11492 func (m *PresenceMFAChallengeRequest) Reset() { *m = PresenceMFAChallengeRequest{} } 11493 func (m *PresenceMFAChallengeRequest) String() string { return proto.CompactTextString(m) } 11494 func (*PresenceMFAChallengeRequest) ProtoMessage() {} 11495 func (*PresenceMFAChallengeRequest) Descriptor() ([]byte, []int) { 11496 return fileDescriptor_0ffcffcda38ae159, []int{167} 11497 } 11498 func (m *PresenceMFAChallengeRequest) XXX_Unmarshal(b []byte) error { 11499 return m.Unmarshal(b) 11500 } 11501 func (m *PresenceMFAChallengeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11502 if deterministic { 11503 return xxx_messageInfo_PresenceMFAChallengeRequest.Marshal(b, m, deterministic) 11504 } else { 11505 b = b[:cap(b)] 11506 n, err := m.MarshalToSizedBuffer(b) 11507 if err != nil { 11508 return nil, err 11509 } 11510 return b[:n], nil 11511 } 11512 } 11513 func (m *PresenceMFAChallengeRequest) XXX_Merge(src proto.Message) { 11514 xxx_messageInfo_PresenceMFAChallengeRequest.Merge(m, src) 11515 } 11516 func (m *PresenceMFAChallengeRequest) XXX_Size() int { 11517 return m.Size() 11518 } 11519 func (m *PresenceMFAChallengeRequest) XXX_DiscardUnknown() { 11520 xxx_messageInfo_PresenceMFAChallengeRequest.DiscardUnknown(m) 11521 } 11522 11523 var xxx_messageInfo_PresenceMFAChallengeRequest proto.InternalMessageInfo 11524 11525 func (m *PresenceMFAChallengeRequest) GetSessionID() string { 11526 if m != nil { 11527 return m.SessionID 11528 } 11529 return "" 11530 } 11531 11532 // PresenceMFAChallengeSend is a presence challenge request or response. 11533 type PresenceMFAChallengeSend struct { 11534 // Types that are valid to be assigned to Request: 11535 // *PresenceMFAChallengeSend_ChallengeRequest 11536 // *PresenceMFAChallengeSend_ChallengeResponse 11537 Request isPresenceMFAChallengeSend_Request `protobuf_oneof:"Request"` 11538 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11539 XXX_unrecognized []byte `json:"-"` 11540 XXX_sizecache int32 `json:"-"` 11541 } 11542 11543 func (m *PresenceMFAChallengeSend) Reset() { *m = PresenceMFAChallengeSend{} } 11544 func (m *PresenceMFAChallengeSend) String() string { return proto.CompactTextString(m) } 11545 func (*PresenceMFAChallengeSend) ProtoMessage() {} 11546 func (*PresenceMFAChallengeSend) Descriptor() ([]byte, []int) { 11547 return fileDescriptor_0ffcffcda38ae159, []int{168} 11548 } 11549 func (m *PresenceMFAChallengeSend) XXX_Unmarshal(b []byte) error { 11550 return m.Unmarshal(b) 11551 } 11552 func (m *PresenceMFAChallengeSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11553 if deterministic { 11554 return xxx_messageInfo_PresenceMFAChallengeSend.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 *PresenceMFAChallengeSend) XXX_Merge(src proto.Message) { 11565 xxx_messageInfo_PresenceMFAChallengeSend.Merge(m, src) 11566 } 11567 func (m *PresenceMFAChallengeSend) XXX_Size() int { 11568 return m.Size() 11569 } 11570 func (m *PresenceMFAChallengeSend) XXX_DiscardUnknown() { 11571 xxx_messageInfo_PresenceMFAChallengeSend.DiscardUnknown(m) 11572 } 11573 11574 var xxx_messageInfo_PresenceMFAChallengeSend proto.InternalMessageInfo 11575 11576 type isPresenceMFAChallengeSend_Request interface { 11577 isPresenceMFAChallengeSend_Request() 11578 MarshalTo([]byte) (int, error) 11579 Size() int 11580 } 11581 11582 type PresenceMFAChallengeSend_ChallengeRequest struct { 11583 ChallengeRequest *PresenceMFAChallengeRequest `protobuf:"bytes,1,opt,name=ChallengeRequest,proto3,oneof" json:"ChallengeRequest,omitempty"` 11584 } 11585 type PresenceMFAChallengeSend_ChallengeResponse struct { 11586 ChallengeResponse *MFAAuthenticateResponse `protobuf:"bytes,2,opt,name=ChallengeResponse,proto3,oneof" json:"ChallengeResponse,omitempty"` 11587 } 11588 11589 func (*PresenceMFAChallengeSend_ChallengeRequest) isPresenceMFAChallengeSend_Request() {} 11590 func (*PresenceMFAChallengeSend_ChallengeResponse) isPresenceMFAChallengeSend_Request() {} 11591 11592 func (m *PresenceMFAChallengeSend) GetRequest() isPresenceMFAChallengeSend_Request { 11593 if m != nil { 11594 return m.Request 11595 } 11596 return nil 11597 } 11598 11599 func (m *PresenceMFAChallengeSend) GetChallengeRequest() *PresenceMFAChallengeRequest { 11600 if x, ok := m.GetRequest().(*PresenceMFAChallengeSend_ChallengeRequest); ok { 11601 return x.ChallengeRequest 11602 } 11603 return nil 11604 } 11605 11606 func (m *PresenceMFAChallengeSend) GetChallengeResponse() *MFAAuthenticateResponse { 11607 if x, ok := m.GetRequest().(*PresenceMFAChallengeSend_ChallengeResponse); ok { 11608 return x.ChallengeResponse 11609 } 11610 return nil 11611 } 11612 11613 // XXX_OneofWrappers is for the internal use of the proto package. 11614 func (*PresenceMFAChallengeSend) XXX_OneofWrappers() []interface{} { 11615 return []interface{}{ 11616 (*PresenceMFAChallengeSend_ChallengeRequest)(nil), 11617 (*PresenceMFAChallengeSend_ChallengeResponse)(nil), 11618 } 11619 } 11620 11621 // GetDomainNameResponse is a response from GetDomainName. 11622 type GetDomainNameResponse struct { 11623 // DomainName is the local auth domain of the current auth server. 11624 DomainName string `protobuf:"bytes,1,opt,name=DomainName,proto3" json:"domain_name"` 11625 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11626 XXX_unrecognized []byte `json:"-"` 11627 XXX_sizecache int32 `json:"-"` 11628 } 11629 11630 func (m *GetDomainNameResponse) Reset() { *m = GetDomainNameResponse{} } 11631 func (m *GetDomainNameResponse) String() string { return proto.CompactTextString(m) } 11632 func (*GetDomainNameResponse) ProtoMessage() {} 11633 func (*GetDomainNameResponse) Descriptor() ([]byte, []int) { 11634 return fileDescriptor_0ffcffcda38ae159, []int{169} 11635 } 11636 func (m *GetDomainNameResponse) XXX_Unmarshal(b []byte) error { 11637 return m.Unmarshal(b) 11638 } 11639 func (m *GetDomainNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11640 if deterministic { 11641 return xxx_messageInfo_GetDomainNameResponse.Marshal(b, m, deterministic) 11642 } else { 11643 b = b[:cap(b)] 11644 n, err := m.MarshalToSizedBuffer(b) 11645 if err != nil { 11646 return nil, err 11647 } 11648 return b[:n], nil 11649 } 11650 } 11651 func (m *GetDomainNameResponse) XXX_Merge(src proto.Message) { 11652 xxx_messageInfo_GetDomainNameResponse.Merge(m, src) 11653 } 11654 func (m *GetDomainNameResponse) XXX_Size() int { 11655 return m.Size() 11656 } 11657 func (m *GetDomainNameResponse) XXX_DiscardUnknown() { 11658 xxx_messageInfo_GetDomainNameResponse.DiscardUnknown(m) 11659 } 11660 11661 var xxx_messageInfo_GetDomainNameResponse proto.InternalMessageInfo 11662 11663 func (m *GetDomainNameResponse) GetDomainName() string { 11664 if m != nil { 11665 return m.DomainName 11666 } 11667 return "" 11668 } 11669 11670 // GetClusterCACertResponse is a response from GetClusterCACert. 11671 type GetClusterCACertResponse struct { 11672 // TLSCA is a PEM-encoded TLS certificate authority. 11673 TLSCA []byte `protobuf:"bytes,1,opt,name=TLSCA,proto3" json:"tls_ca"` 11674 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11675 XXX_unrecognized []byte `json:"-"` 11676 XXX_sizecache int32 `json:"-"` 11677 } 11678 11679 func (m *GetClusterCACertResponse) Reset() { *m = GetClusterCACertResponse{} } 11680 func (m *GetClusterCACertResponse) String() string { return proto.CompactTextString(m) } 11681 func (*GetClusterCACertResponse) ProtoMessage() {} 11682 func (*GetClusterCACertResponse) Descriptor() ([]byte, []int) { 11683 return fileDescriptor_0ffcffcda38ae159, []int{170} 11684 } 11685 func (m *GetClusterCACertResponse) XXX_Unmarshal(b []byte) error { 11686 return m.Unmarshal(b) 11687 } 11688 func (m *GetClusterCACertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11689 if deterministic { 11690 return xxx_messageInfo_GetClusterCACertResponse.Marshal(b, m, deterministic) 11691 } else { 11692 b = b[:cap(b)] 11693 n, err := m.MarshalToSizedBuffer(b) 11694 if err != nil { 11695 return nil, err 11696 } 11697 return b[:n], nil 11698 } 11699 } 11700 func (m *GetClusterCACertResponse) XXX_Merge(src proto.Message) { 11701 xxx_messageInfo_GetClusterCACertResponse.Merge(m, src) 11702 } 11703 func (m *GetClusterCACertResponse) XXX_Size() int { 11704 return m.Size() 11705 } 11706 func (m *GetClusterCACertResponse) XXX_DiscardUnknown() { 11707 xxx_messageInfo_GetClusterCACertResponse.DiscardUnknown(m) 11708 } 11709 11710 var xxx_messageInfo_GetClusterCACertResponse proto.InternalMessageInfo 11711 11712 func (m *GetClusterCACertResponse) GetTLSCA() []byte { 11713 if m != nil { 11714 return m.TLSCA 11715 } 11716 return nil 11717 } 11718 11719 // GetLicenseResponse is a response from GetLicense 11720 type GetLicenseResponse struct { 11721 License []byte `protobuf:"bytes,1,opt,name=License,proto3" json:"license"` 11722 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11723 XXX_unrecognized []byte `json:"-"` 11724 XXX_sizecache int32 `json:"-"` 11725 } 11726 11727 func (m *GetLicenseResponse) Reset() { *m = GetLicenseResponse{} } 11728 func (m *GetLicenseResponse) String() string { return proto.CompactTextString(m) } 11729 func (*GetLicenseResponse) ProtoMessage() {} 11730 func (*GetLicenseResponse) Descriptor() ([]byte, []int) { 11731 return fileDescriptor_0ffcffcda38ae159, []int{171} 11732 } 11733 func (m *GetLicenseResponse) XXX_Unmarshal(b []byte) error { 11734 return m.Unmarshal(b) 11735 } 11736 func (m *GetLicenseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11737 if deterministic { 11738 return xxx_messageInfo_GetLicenseResponse.Marshal(b, m, deterministic) 11739 } else { 11740 b = b[:cap(b)] 11741 n, err := m.MarshalToSizedBuffer(b) 11742 if err != nil { 11743 return nil, err 11744 } 11745 return b[:n], nil 11746 } 11747 } 11748 func (m *GetLicenseResponse) XXX_Merge(src proto.Message) { 11749 xxx_messageInfo_GetLicenseResponse.Merge(m, src) 11750 } 11751 func (m *GetLicenseResponse) XXX_Size() int { 11752 return m.Size() 11753 } 11754 func (m *GetLicenseResponse) XXX_DiscardUnknown() { 11755 xxx_messageInfo_GetLicenseResponse.DiscardUnknown(m) 11756 } 11757 11758 var xxx_messageInfo_GetLicenseResponse proto.InternalMessageInfo 11759 11760 func (m *GetLicenseResponse) GetLicense() []byte { 11761 if m != nil { 11762 return m.License 11763 } 11764 return nil 11765 } 11766 11767 // ListReleasesResponse is a response from ListReleases 11768 type ListReleasesResponse struct { 11769 Releases []*types.Release `protobuf:"bytes,1,rep,name=releases,proto3" json:"releases"` 11770 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11771 XXX_unrecognized []byte `json:"-"` 11772 XXX_sizecache int32 `json:"-"` 11773 } 11774 11775 func (m *ListReleasesResponse) Reset() { *m = ListReleasesResponse{} } 11776 func (m *ListReleasesResponse) String() string { return proto.CompactTextString(m) } 11777 func (*ListReleasesResponse) ProtoMessage() {} 11778 func (*ListReleasesResponse) Descriptor() ([]byte, []int) { 11779 return fileDescriptor_0ffcffcda38ae159, []int{172} 11780 } 11781 func (m *ListReleasesResponse) XXX_Unmarshal(b []byte) error { 11782 return m.Unmarshal(b) 11783 } 11784 func (m *ListReleasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11785 if deterministic { 11786 return xxx_messageInfo_ListReleasesResponse.Marshal(b, m, deterministic) 11787 } else { 11788 b = b[:cap(b)] 11789 n, err := m.MarshalToSizedBuffer(b) 11790 if err != nil { 11791 return nil, err 11792 } 11793 return b[:n], nil 11794 } 11795 } 11796 func (m *ListReleasesResponse) XXX_Merge(src proto.Message) { 11797 xxx_messageInfo_ListReleasesResponse.Merge(m, src) 11798 } 11799 func (m *ListReleasesResponse) XXX_Size() int { 11800 return m.Size() 11801 } 11802 func (m *ListReleasesResponse) XXX_DiscardUnknown() { 11803 xxx_messageInfo_ListReleasesResponse.DiscardUnknown(m) 11804 } 11805 11806 var xxx_messageInfo_ListReleasesResponse proto.InternalMessageInfo 11807 11808 func (m *ListReleasesResponse) GetReleases() []*types.Release { 11809 if m != nil { 11810 return m.Releases 11811 } 11812 return nil 11813 } 11814 11815 // GetOIDCAuthRequestRequest is a request for GetOIDCAuthRequest. 11816 type GetOIDCAuthRequestRequest struct { 11817 // StateToken is an oidc auth request state token. 11818 StateToken string `protobuf:"bytes,1,opt,name=StateToken,proto3" json:"state_token"` 11819 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11820 XXX_unrecognized []byte `json:"-"` 11821 XXX_sizecache int32 `json:"-"` 11822 } 11823 11824 func (m *GetOIDCAuthRequestRequest) Reset() { *m = GetOIDCAuthRequestRequest{} } 11825 func (m *GetOIDCAuthRequestRequest) String() string { return proto.CompactTextString(m) } 11826 func (*GetOIDCAuthRequestRequest) ProtoMessage() {} 11827 func (*GetOIDCAuthRequestRequest) Descriptor() ([]byte, []int) { 11828 return fileDescriptor_0ffcffcda38ae159, []int{173} 11829 } 11830 func (m *GetOIDCAuthRequestRequest) XXX_Unmarshal(b []byte) error { 11831 return m.Unmarshal(b) 11832 } 11833 func (m *GetOIDCAuthRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11834 if deterministic { 11835 return xxx_messageInfo_GetOIDCAuthRequestRequest.Marshal(b, m, deterministic) 11836 } else { 11837 b = b[:cap(b)] 11838 n, err := m.MarshalToSizedBuffer(b) 11839 if err != nil { 11840 return nil, err 11841 } 11842 return b[:n], nil 11843 } 11844 } 11845 func (m *GetOIDCAuthRequestRequest) XXX_Merge(src proto.Message) { 11846 xxx_messageInfo_GetOIDCAuthRequestRequest.Merge(m, src) 11847 } 11848 func (m *GetOIDCAuthRequestRequest) XXX_Size() int { 11849 return m.Size() 11850 } 11851 func (m *GetOIDCAuthRequestRequest) XXX_DiscardUnknown() { 11852 xxx_messageInfo_GetOIDCAuthRequestRequest.DiscardUnknown(m) 11853 } 11854 11855 var xxx_messageInfo_GetOIDCAuthRequestRequest proto.InternalMessageInfo 11856 11857 func (m *GetOIDCAuthRequestRequest) GetStateToken() string { 11858 if m != nil { 11859 return m.StateToken 11860 } 11861 return "" 11862 } 11863 11864 // GetSAMLAuthRequestRequest is a request for GetSAMLAuthRequest. 11865 type GetSAMLAuthRequestRequest struct { 11866 // ID is a saml auth request unique id. 11867 ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"id"` 11868 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11869 XXX_unrecognized []byte `json:"-"` 11870 XXX_sizecache int32 `json:"-"` 11871 } 11872 11873 func (m *GetSAMLAuthRequestRequest) Reset() { *m = GetSAMLAuthRequestRequest{} } 11874 func (m *GetSAMLAuthRequestRequest) String() string { return proto.CompactTextString(m) } 11875 func (*GetSAMLAuthRequestRequest) ProtoMessage() {} 11876 func (*GetSAMLAuthRequestRequest) Descriptor() ([]byte, []int) { 11877 return fileDescriptor_0ffcffcda38ae159, []int{174} 11878 } 11879 func (m *GetSAMLAuthRequestRequest) XXX_Unmarshal(b []byte) error { 11880 return m.Unmarshal(b) 11881 } 11882 func (m *GetSAMLAuthRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11883 if deterministic { 11884 return xxx_messageInfo_GetSAMLAuthRequestRequest.Marshal(b, m, deterministic) 11885 } else { 11886 b = b[:cap(b)] 11887 n, err := m.MarshalToSizedBuffer(b) 11888 if err != nil { 11889 return nil, err 11890 } 11891 return b[:n], nil 11892 } 11893 } 11894 func (m *GetSAMLAuthRequestRequest) XXX_Merge(src proto.Message) { 11895 xxx_messageInfo_GetSAMLAuthRequestRequest.Merge(m, src) 11896 } 11897 func (m *GetSAMLAuthRequestRequest) XXX_Size() int { 11898 return m.Size() 11899 } 11900 func (m *GetSAMLAuthRequestRequest) XXX_DiscardUnknown() { 11901 xxx_messageInfo_GetSAMLAuthRequestRequest.DiscardUnknown(m) 11902 } 11903 11904 var xxx_messageInfo_GetSAMLAuthRequestRequest proto.InternalMessageInfo 11905 11906 func (m *GetSAMLAuthRequestRequest) GetID() string { 11907 if m != nil { 11908 return m.ID 11909 } 11910 return "" 11911 } 11912 11913 // GetGithubAuthRequestRequest is a request for GetGithubAuthRequest. 11914 type GetGithubAuthRequestRequest struct { 11915 // StateToken is a github auth request state token. 11916 StateToken string `protobuf:"bytes,1,opt,name=StateToken,proto3" json:"state_token"` 11917 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11918 XXX_unrecognized []byte `json:"-"` 11919 XXX_sizecache int32 `json:"-"` 11920 } 11921 11922 func (m *GetGithubAuthRequestRequest) Reset() { *m = GetGithubAuthRequestRequest{} } 11923 func (m *GetGithubAuthRequestRequest) String() string { return proto.CompactTextString(m) } 11924 func (*GetGithubAuthRequestRequest) ProtoMessage() {} 11925 func (*GetGithubAuthRequestRequest) Descriptor() ([]byte, []int) { 11926 return fileDescriptor_0ffcffcda38ae159, []int{175} 11927 } 11928 func (m *GetGithubAuthRequestRequest) XXX_Unmarshal(b []byte) error { 11929 return m.Unmarshal(b) 11930 } 11931 func (m *GetGithubAuthRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11932 if deterministic { 11933 return xxx_messageInfo_GetGithubAuthRequestRequest.Marshal(b, m, deterministic) 11934 } else { 11935 b = b[:cap(b)] 11936 n, err := m.MarshalToSizedBuffer(b) 11937 if err != nil { 11938 return nil, err 11939 } 11940 return b[:n], nil 11941 } 11942 } 11943 func (m *GetGithubAuthRequestRequest) XXX_Merge(src proto.Message) { 11944 xxx_messageInfo_GetGithubAuthRequestRequest.Merge(m, src) 11945 } 11946 func (m *GetGithubAuthRequestRequest) XXX_Size() int { 11947 return m.Size() 11948 } 11949 func (m *GetGithubAuthRequestRequest) XXX_DiscardUnknown() { 11950 xxx_messageInfo_GetGithubAuthRequestRequest.DiscardUnknown(m) 11951 } 11952 11953 var xxx_messageInfo_GetGithubAuthRequestRequest proto.InternalMessageInfo 11954 11955 func (m *GetGithubAuthRequestRequest) GetStateToken() string { 11956 if m != nil { 11957 return m.StateToken 11958 } 11959 return "" 11960 } 11961 11962 // CreateOIDCConnectorRequest is a request for CreateOIDCConnector. 11963 type CreateOIDCConnectorRequest struct { 11964 // Connector to be created. 11965 Connector *types.OIDCConnectorV3 `protobuf:"bytes,1,opt,name=Connector,proto3" json:"connector"` 11966 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11967 XXX_unrecognized []byte `json:"-"` 11968 XXX_sizecache int32 `json:"-"` 11969 } 11970 11971 func (m *CreateOIDCConnectorRequest) Reset() { *m = CreateOIDCConnectorRequest{} } 11972 func (m *CreateOIDCConnectorRequest) String() string { return proto.CompactTextString(m) } 11973 func (*CreateOIDCConnectorRequest) ProtoMessage() {} 11974 func (*CreateOIDCConnectorRequest) Descriptor() ([]byte, []int) { 11975 return fileDescriptor_0ffcffcda38ae159, []int{176} 11976 } 11977 func (m *CreateOIDCConnectorRequest) XXX_Unmarshal(b []byte) error { 11978 return m.Unmarshal(b) 11979 } 11980 func (m *CreateOIDCConnectorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11981 if deterministic { 11982 return xxx_messageInfo_CreateOIDCConnectorRequest.Marshal(b, m, deterministic) 11983 } else { 11984 b = b[:cap(b)] 11985 n, err := m.MarshalToSizedBuffer(b) 11986 if err != nil { 11987 return nil, err 11988 } 11989 return b[:n], nil 11990 } 11991 } 11992 func (m *CreateOIDCConnectorRequest) XXX_Merge(src proto.Message) { 11993 xxx_messageInfo_CreateOIDCConnectorRequest.Merge(m, src) 11994 } 11995 func (m *CreateOIDCConnectorRequest) XXX_Size() int { 11996 return m.Size() 11997 } 11998 func (m *CreateOIDCConnectorRequest) XXX_DiscardUnknown() { 11999 xxx_messageInfo_CreateOIDCConnectorRequest.DiscardUnknown(m) 12000 } 12001 12002 var xxx_messageInfo_CreateOIDCConnectorRequest proto.InternalMessageInfo 12003 12004 func (m *CreateOIDCConnectorRequest) GetConnector() *types.OIDCConnectorV3 { 12005 if m != nil { 12006 return m.Connector 12007 } 12008 return nil 12009 } 12010 12011 // UpdateOIDCConnectorRequest is a request for UpdateOIDCConnector. 12012 type UpdateOIDCConnectorRequest struct { 12013 // Connector to be updated. 12014 Connector *types.OIDCConnectorV3 `protobuf:"bytes,1,opt,name=Connector,proto3" json:"connector"` 12015 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12016 XXX_unrecognized []byte `json:"-"` 12017 XXX_sizecache int32 `json:"-"` 12018 } 12019 12020 func (m *UpdateOIDCConnectorRequest) Reset() { *m = UpdateOIDCConnectorRequest{} } 12021 func (m *UpdateOIDCConnectorRequest) String() string { return proto.CompactTextString(m) } 12022 func (*UpdateOIDCConnectorRequest) ProtoMessage() {} 12023 func (*UpdateOIDCConnectorRequest) Descriptor() ([]byte, []int) { 12024 return fileDescriptor_0ffcffcda38ae159, []int{177} 12025 } 12026 func (m *UpdateOIDCConnectorRequest) XXX_Unmarshal(b []byte) error { 12027 return m.Unmarshal(b) 12028 } 12029 func (m *UpdateOIDCConnectorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12030 if deterministic { 12031 return xxx_messageInfo_UpdateOIDCConnectorRequest.Marshal(b, m, deterministic) 12032 } else { 12033 b = b[:cap(b)] 12034 n, err := m.MarshalToSizedBuffer(b) 12035 if err != nil { 12036 return nil, err 12037 } 12038 return b[:n], nil 12039 } 12040 } 12041 func (m *UpdateOIDCConnectorRequest) XXX_Merge(src proto.Message) { 12042 xxx_messageInfo_UpdateOIDCConnectorRequest.Merge(m, src) 12043 } 12044 func (m *UpdateOIDCConnectorRequest) XXX_Size() int { 12045 return m.Size() 12046 } 12047 func (m *UpdateOIDCConnectorRequest) XXX_DiscardUnknown() { 12048 xxx_messageInfo_UpdateOIDCConnectorRequest.DiscardUnknown(m) 12049 } 12050 12051 var xxx_messageInfo_UpdateOIDCConnectorRequest proto.InternalMessageInfo 12052 12053 func (m *UpdateOIDCConnectorRequest) GetConnector() *types.OIDCConnectorV3 { 12054 if m != nil { 12055 return m.Connector 12056 } 12057 return nil 12058 } 12059 12060 // UpsertOIDCConnectorRequest is a request for UpsertOIDCConnector. 12061 type UpsertOIDCConnectorRequest struct { 12062 // Connector to be created or updated. 12063 Connector *types.OIDCConnectorV3 `protobuf:"bytes,1,opt,name=Connector,proto3" json:"connector"` 12064 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12065 XXX_unrecognized []byte `json:"-"` 12066 XXX_sizecache int32 `json:"-"` 12067 } 12068 12069 func (m *UpsertOIDCConnectorRequest) Reset() { *m = UpsertOIDCConnectorRequest{} } 12070 func (m *UpsertOIDCConnectorRequest) String() string { return proto.CompactTextString(m) } 12071 func (*UpsertOIDCConnectorRequest) ProtoMessage() {} 12072 func (*UpsertOIDCConnectorRequest) Descriptor() ([]byte, []int) { 12073 return fileDescriptor_0ffcffcda38ae159, []int{178} 12074 } 12075 func (m *UpsertOIDCConnectorRequest) XXX_Unmarshal(b []byte) error { 12076 return m.Unmarshal(b) 12077 } 12078 func (m *UpsertOIDCConnectorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12079 if deterministic { 12080 return xxx_messageInfo_UpsertOIDCConnectorRequest.Marshal(b, m, deterministic) 12081 } else { 12082 b = b[:cap(b)] 12083 n, err := m.MarshalToSizedBuffer(b) 12084 if err != nil { 12085 return nil, err 12086 } 12087 return b[:n], nil 12088 } 12089 } 12090 func (m *UpsertOIDCConnectorRequest) XXX_Merge(src proto.Message) { 12091 xxx_messageInfo_UpsertOIDCConnectorRequest.Merge(m, src) 12092 } 12093 func (m *UpsertOIDCConnectorRequest) XXX_Size() int { 12094 return m.Size() 12095 } 12096 func (m *UpsertOIDCConnectorRequest) XXX_DiscardUnknown() { 12097 xxx_messageInfo_UpsertOIDCConnectorRequest.DiscardUnknown(m) 12098 } 12099 12100 var xxx_messageInfo_UpsertOIDCConnectorRequest proto.InternalMessageInfo 12101 12102 func (m *UpsertOIDCConnectorRequest) GetConnector() *types.OIDCConnectorV3 { 12103 if m != nil { 12104 return m.Connector 12105 } 12106 return nil 12107 } 12108 12109 // CreateSAMLConnectorRequest is a request for CreateSAMLConnector. 12110 type CreateSAMLConnectorRequest struct { 12111 // Connector to be created. 12112 Connector *types.SAMLConnectorV2 `protobuf:"bytes,1,opt,name=Connector,proto3" json:"connector"` 12113 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12114 XXX_unrecognized []byte `json:"-"` 12115 XXX_sizecache int32 `json:"-"` 12116 } 12117 12118 func (m *CreateSAMLConnectorRequest) Reset() { *m = CreateSAMLConnectorRequest{} } 12119 func (m *CreateSAMLConnectorRequest) String() string { return proto.CompactTextString(m) } 12120 func (*CreateSAMLConnectorRequest) ProtoMessage() {} 12121 func (*CreateSAMLConnectorRequest) Descriptor() ([]byte, []int) { 12122 return fileDescriptor_0ffcffcda38ae159, []int{179} 12123 } 12124 func (m *CreateSAMLConnectorRequest) XXX_Unmarshal(b []byte) error { 12125 return m.Unmarshal(b) 12126 } 12127 func (m *CreateSAMLConnectorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12128 if deterministic { 12129 return xxx_messageInfo_CreateSAMLConnectorRequest.Marshal(b, m, deterministic) 12130 } else { 12131 b = b[:cap(b)] 12132 n, err := m.MarshalToSizedBuffer(b) 12133 if err != nil { 12134 return nil, err 12135 } 12136 return b[:n], nil 12137 } 12138 } 12139 func (m *CreateSAMLConnectorRequest) XXX_Merge(src proto.Message) { 12140 xxx_messageInfo_CreateSAMLConnectorRequest.Merge(m, src) 12141 } 12142 func (m *CreateSAMLConnectorRequest) XXX_Size() int { 12143 return m.Size() 12144 } 12145 func (m *CreateSAMLConnectorRequest) XXX_DiscardUnknown() { 12146 xxx_messageInfo_CreateSAMLConnectorRequest.DiscardUnknown(m) 12147 } 12148 12149 var xxx_messageInfo_CreateSAMLConnectorRequest proto.InternalMessageInfo 12150 12151 func (m *CreateSAMLConnectorRequest) GetConnector() *types.SAMLConnectorV2 { 12152 if m != nil { 12153 return m.Connector 12154 } 12155 return nil 12156 } 12157 12158 // UpdateSAMLConnectorRequest is a request for UpdateSAMLConnector. 12159 type UpdateSAMLConnectorRequest struct { 12160 // Connector to be updated. 12161 Connector *types.SAMLConnectorV2 `protobuf:"bytes,1,opt,name=Connector,proto3" json:"connector"` 12162 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12163 XXX_unrecognized []byte `json:"-"` 12164 XXX_sizecache int32 `json:"-"` 12165 } 12166 12167 func (m *UpdateSAMLConnectorRequest) Reset() { *m = UpdateSAMLConnectorRequest{} } 12168 func (m *UpdateSAMLConnectorRequest) String() string { return proto.CompactTextString(m) } 12169 func (*UpdateSAMLConnectorRequest) ProtoMessage() {} 12170 func (*UpdateSAMLConnectorRequest) Descriptor() ([]byte, []int) { 12171 return fileDescriptor_0ffcffcda38ae159, []int{180} 12172 } 12173 func (m *UpdateSAMLConnectorRequest) XXX_Unmarshal(b []byte) error { 12174 return m.Unmarshal(b) 12175 } 12176 func (m *UpdateSAMLConnectorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12177 if deterministic { 12178 return xxx_messageInfo_UpdateSAMLConnectorRequest.Marshal(b, m, deterministic) 12179 } else { 12180 b = b[:cap(b)] 12181 n, err := m.MarshalToSizedBuffer(b) 12182 if err != nil { 12183 return nil, err 12184 } 12185 return b[:n], nil 12186 } 12187 } 12188 func (m *UpdateSAMLConnectorRequest) XXX_Merge(src proto.Message) { 12189 xxx_messageInfo_UpdateSAMLConnectorRequest.Merge(m, src) 12190 } 12191 func (m *UpdateSAMLConnectorRequest) XXX_Size() int { 12192 return m.Size() 12193 } 12194 func (m *UpdateSAMLConnectorRequest) XXX_DiscardUnknown() { 12195 xxx_messageInfo_UpdateSAMLConnectorRequest.DiscardUnknown(m) 12196 } 12197 12198 var xxx_messageInfo_UpdateSAMLConnectorRequest proto.InternalMessageInfo 12199 12200 func (m *UpdateSAMLConnectorRequest) GetConnector() *types.SAMLConnectorV2 { 12201 if m != nil { 12202 return m.Connector 12203 } 12204 return nil 12205 } 12206 12207 // UpsertSAMLConnectorRequest is a request for UpsertSAMLConnector. 12208 type UpsertSAMLConnectorRequest struct { 12209 // Connector to be created or updated. 12210 Connector *types.SAMLConnectorV2 `protobuf:"bytes,1,opt,name=Connector,proto3" json:"connector"` 12211 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12212 XXX_unrecognized []byte `json:"-"` 12213 XXX_sizecache int32 `json:"-"` 12214 } 12215 12216 func (m *UpsertSAMLConnectorRequest) Reset() { *m = UpsertSAMLConnectorRequest{} } 12217 func (m *UpsertSAMLConnectorRequest) String() string { return proto.CompactTextString(m) } 12218 func (*UpsertSAMLConnectorRequest) ProtoMessage() {} 12219 func (*UpsertSAMLConnectorRequest) Descriptor() ([]byte, []int) { 12220 return fileDescriptor_0ffcffcda38ae159, []int{181} 12221 } 12222 func (m *UpsertSAMLConnectorRequest) XXX_Unmarshal(b []byte) error { 12223 return m.Unmarshal(b) 12224 } 12225 func (m *UpsertSAMLConnectorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12226 if deterministic { 12227 return xxx_messageInfo_UpsertSAMLConnectorRequest.Marshal(b, m, deterministic) 12228 } else { 12229 b = b[:cap(b)] 12230 n, err := m.MarshalToSizedBuffer(b) 12231 if err != nil { 12232 return nil, err 12233 } 12234 return b[:n], nil 12235 } 12236 } 12237 func (m *UpsertSAMLConnectorRequest) XXX_Merge(src proto.Message) { 12238 xxx_messageInfo_UpsertSAMLConnectorRequest.Merge(m, src) 12239 } 12240 func (m *UpsertSAMLConnectorRequest) XXX_Size() int { 12241 return m.Size() 12242 } 12243 func (m *UpsertSAMLConnectorRequest) XXX_DiscardUnknown() { 12244 xxx_messageInfo_UpsertSAMLConnectorRequest.DiscardUnknown(m) 12245 } 12246 12247 var xxx_messageInfo_UpsertSAMLConnectorRequest proto.InternalMessageInfo 12248 12249 func (m *UpsertSAMLConnectorRequest) GetConnector() *types.SAMLConnectorV2 { 12250 if m != nil { 12251 return m.Connector 12252 } 12253 return nil 12254 } 12255 12256 // CreateGithubConnectorRequest is a request for CreateGithubConnector. 12257 type CreateGithubConnectorRequest struct { 12258 // Connector to be created. 12259 Connector *types.GithubConnectorV3 `protobuf:"bytes,1,opt,name=Connector,proto3" json:"connector"` 12260 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12261 XXX_unrecognized []byte `json:"-"` 12262 XXX_sizecache int32 `json:"-"` 12263 } 12264 12265 func (m *CreateGithubConnectorRequest) Reset() { *m = CreateGithubConnectorRequest{} } 12266 func (m *CreateGithubConnectorRequest) String() string { return proto.CompactTextString(m) } 12267 func (*CreateGithubConnectorRequest) ProtoMessage() {} 12268 func (*CreateGithubConnectorRequest) Descriptor() ([]byte, []int) { 12269 return fileDescriptor_0ffcffcda38ae159, []int{182} 12270 } 12271 func (m *CreateGithubConnectorRequest) XXX_Unmarshal(b []byte) error { 12272 return m.Unmarshal(b) 12273 } 12274 func (m *CreateGithubConnectorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12275 if deterministic { 12276 return xxx_messageInfo_CreateGithubConnectorRequest.Marshal(b, m, deterministic) 12277 } else { 12278 b = b[:cap(b)] 12279 n, err := m.MarshalToSizedBuffer(b) 12280 if err != nil { 12281 return nil, err 12282 } 12283 return b[:n], nil 12284 } 12285 } 12286 func (m *CreateGithubConnectorRequest) XXX_Merge(src proto.Message) { 12287 xxx_messageInfo_CreateGithubConnectorRequest.Merge(m, src) 12288 } 12289 func (m *CreateGithubConnectorRequest) XXX_Size() int { 12290 return m.Size() 12291 } 12292 func (m *CreateGithubConnectorRequest) XXX_DiscardUnknown() { 12293 xxx_messageInfo_CreateGithubConnectorRequest.DiscardUnknown(m) 12294 } 12295 12296 var xxx_messageInfo_CreateGithubConnectorRequest proto.InternalMessageInfo 12297 12298 func (m *CreateGithubConnectorRequest) GetConnector() *types.GithubConnectorV3 { 12299 if m != nil { 12300 return m.Connector 12301 } 12302 return nil 12303 } 12304 12305 // UpdateGithubConnectorRequest is a request for UpdateGithubConnector. 12306 type UpdateGithubConnectorRequest struct { 12307 // Connector to be updated. 12308 Connector *types.GithubConnectorV3 `protobuf:"bytes,1,opt,name=Connector,proto3" json:"connector"` 12309 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12310 XXX_unrecognized []byte `json:"-"` 12311 XXX_sizecache int32 `json:"-"` 12312 } 12313 12314 func (m *UpdateGithubConnectorRequest) Reset() { *m = UpdateGithubConnectorRequest{} } 12315 func (m *UpdateGithubConnectorRequest) String() string { return proto.CompactTextString(m) } 12316 func (*UpdateGithubConnectorRequest) ProtoMessage() {} 12317 func (*UpdateGithubConnectorRequest) Descriptor() ([]byte, []int) { 12318 return fileDescriptor_0ffcffcda38ae159, []int{183} 12319 } 12320 func (m *UpdateGithubConnectorRequest) XXX_Unmarshal(b []byte) error { 12321 return m.Unmarshal(b) 12322 } 12323 func (m *UpdateGithubConnectorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12324 if deterministic { 12325 return xxx_messageInfo_UpdateGithubConnectorRequest.Marshal(b, m, deterministic) 12326 } else { 12327 b = b[:cap(b)] 12328 n, err := m.MarshalToSizedBuffer(b) 12329 if err != nil { 12330 return nil, err 12331 } 12332 return b[:n], nil 12333 } 12334 } 12335 func (m *UpdateGithubConnectorRequest) XXX_Merge(src proto.Message) { 12336 xxx_messageInfo_UpdateGithubConnectorRequest.Merge(m, src) 12337 } 12338 func (m *UpdateGithubConnectorRequest) XXX_Size() int { 12339 return m.Size() 12340 } 12341 func (m *UpdateGithubConnectorRequest) XXX_DiscardUnknown() { 12342 xxx_messageInfo_UpdateGithubConnectorRequest.DiscardUnknown(m) 12343 } 12344 12345 var xxx_messageInfo_UpdateGithubConnectorRequest proto.InternalMessageInfo 12346 12347 func (m *UpdateGithubConnectorRequest) GetConnector() *types.GithubConnectorV3 { 12348 if m != nil { 12349 return m.Connector 12350 } 12351 return nil 12352 } 12353 12354 // UpsertGithubConnectorRequest is a request for UpsertGithubConnector. 12355 type UpsertGithubConnectorRequest struct { 12356 // Connector to be created or updated. 12357 Connector *types.GithubConnectorV3 `protobuf:"bytes,1,opt,name=Connector,proto3" json:"connector"` 12358 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12359 XXX_unrecognized []byte `json:"-"` 12360 XXX_sizecache int32 `json:"-"` 12361 } 12362 12363 func (m *UpsertGithubConnectorRequest) Reset() { *m = UpsertGithubConnectorRequest{} } 12364 func (m *UpsertGithubConnectorRequest) String() string { return proto.CompactTextString(m) } 12365 func (*UpsertGithubConnectorRequest) ProtoMessage() {} 12366 func (*UpsertGithubConnectorRequest) Descriptor() ([]byte, []int) { 12367 return fileDescriptor_0ffcffcda38ae159, []int{184} 12368 } 12369 func (m *UpsertGithubConnectorRequest) XXX_Unmarshal(b []byte) error { 12370 return m.Unmarshal(b) 12371 } 12372 func (m *UpsertGithubConnectorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12373 if deterministic { 12374 return xxx_messageInfo_UpsertGithubConnectorRequest.Marshal(b, m, deterministic) 12375 } else { 12376 b = b[:cap(b)] 12377 n, err := m.MarshalToSizedBuffer(b) 12378 if err != nil { 12379 return nil, err 12380 } 12381 return b[:n], nil 12382 } 12383 } 12384 func (m *UpsertGithubConnectorRequest) XXX_Merge(src proto.Message) { 12385 xxx_messageInfo_UpsertGithubConnectorRequest.Merge(m, src) 12386 } 12387 func (m *UpsertGithubConnectorRequest) XXX_Size() int { 12388 return m.Size() 12389 } 12390 func (m *UpsertGithubConnectorRequest) XXX_DiscardUnknown() { 12391 xxx_messageInfo_UpsertGithubConnectorRequest.DiscardUnknown(m) 12392 } 12393 12394 var xxx_messageInfo_UpsertGithubConnectorRequest proto.InternalMessageInfo 12395 12396 func (m *UpsertGithubConnectorRequest) GetConnector() *types.GithubConnectorV3 { 12397 if m != nil { 12398 return m.Connector 12399 } 12400 return nil 12401 } 12402 12403 // GetSSODiagnosticInfoRequest is a request for GetSSODiagnosticInfo. 12404 type GetSSODiagnosticInfoRequest struct { 12405 // AuthRequestKind is the SSO Auth Request kind (oidc, saml, or github). 12406 AuthRequestKind string `protobuf:"bytes,1,opt,name=AuthRequestKind,proto3" json:"auth_request_kind"` 12407 // AuthRequestID is the SSO Auth Request id or state token. 12408 AuthRequestID string `protobuf:"bytes,2,opt,name=AuthRequestID,proto3" json:"auth_request_id"` 12409 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12410 XXX_unrecognized []byte `json:"-"` 12411 XXX_sizecache int32 `json:"-"` 12412 } 12413 12414 func (m *GetSSODiagnosticInfoRequest) Reset() { *m = GetSSODiagnosticInfoRequest{} } 12415 func (m *GetSSODiagnosticInfoRequest) String() string { return proto.CompactTextString(m) } 12416 func (*GetSSODiagnosticInfoRequest) ProtoMessage() {} 12417 func (*GetSSODiagnosticInfoRequest) Descriptor() ([]byte, []int) { 12418 return fileDescriptor_0ffcffcda38ae159, []int{185} 12419 } 12420 func (m *GetSSODiagnosticInfoRequest) XXX_Unmarshal(b []byte) error { 12421 return m.Unmarshal(b) 12422 } 12423 func (m *GetSSODiagnosticInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12424 if deterministic { 12425 return xxx_messageInfo_GetSSODiagnosticInfoRequest.Marshal(b, m, deterministic) 12426 } else { 12427 b = b[:cap(b)] 12428 n, err := m.MarshalToSizedBuffer(b) 12429 if err != nil { 12430 return nil, err 12431 } 12432 return b[:n], nil 12433 } 12434 } 12435 func (m *GetSSODiagnosticInfoRequest) XXX_Merge(src proto.Message) { 12436 xxx_messageInfo_GetSSODiagnosticInfoRequest.Merge(m, src) 12437 } 12438 func (m *GetSSODiagnosticInfoRequest) XXX_Size() int { 12439 return m.Size() 12440 } 12441 func (m *GetSSODiagnosticInfoRequest) XXX_DiscardUnknown() { 12442 xxx_messageInfo_GetSSODiagnosticInfoRequest.DiscardUnknown(m) 12443 } 12444 12445 var xxx_messageInfo_GetSSODiagnosticInfoRequest proto.InternalMessageInfo 12446 12447 func (m *GetSSODiagnosticInfoRequest) GetAuthRequestKind() string { 12448 if m != nil { 12449 return m.AuthRequestKind 12450 } 12451 return "" 12452 } 12453 12454 func (m *GetSSODiagnosticInfoRequest) GetAuthRequestID() string { 12455 if m != nil { 12456 return m.AuthRequestID 12457 } 12458 return "" 12459 } 12460 12461 // UpstreamInventoryOneOf is the upstream message for the inventory control stream, 12462 // sent from teleport instances to the auth server. 12463 type UpstreamInventoryOneOf struct { 12464 // Types that are valid to be assigned to Msg: 12465 // *UpstreamInventoryOneOf_Hello 12466 // *UpstreamInventoryOneOf_Heartbeat 12467 // *UpstreamInventoryOneOf_Pong 12468 // *UpstreamInventoryOneOf_AgentMetadata 12469 Msg isUpstreamInventoryOneOf_Msg `protobuf_oneof:"Msg"` 12470 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12471 XXX_unrecognized []byte `json:"-"` 12472 XXX_sizecache int32 `json:"-"` 12473 } 12474 12475 func (m *UpstreamInventoryOneOf) Reset() { *m = UpstreamInventoryOneOf{} } 12476 func (m *UpstreamInventoryOneOf) String() string { return proto.CompactTextString(m) } 12477 func (*UpstreamInventoryOneOf) ProtoMessage() {} 12478 func (*UpstreamInventoryOneOf) Descriptor() ([]byte, []int) { 12479 return fileDescriptor_0ffcffcda38ae159, []int{186} 12480 } 12481 func (m *UpstreamInventoryOneOf) XXX_Unmarshal(b []byte) error { 12482 return m.Unmarshal(b) 12483 } 12484 func (m *UpstreamInventoryOneOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12485 if deterministic { 12486 return xxx_messageInfo_UpstreamInventoryOneOf.Marshal(b, m, deterministic) 12487 } else { 12488 b = b[:cap(b)] 12489 n, err := m.MarshalToSizedBuffer(b) 12490 if err != nil { 12491 return nil, err 12492 } 12493 return b[:n], nil 12494 } 12495 } 12496 func (m *UpstreamInventoryOneOf) XXX_Merge(src proto.Message) { 12497 xxx_messageInfo_UpstreamInventoryOneOf.Merge(m, src) 12498 } 12499 func (m *UpstreamInventoryOneOf) XXX_Size() int { 12500 return m.Size() 12501 } 12502 func (m *UpstreamInventoryOneOf) XXX_DiscardUnknown() { 12503 xxx_messageInfo_UpstreamInventoryOneOf.DiscardUnknown(m) 12504 } 12505 12506 var xxx_messageInfo_UpstreamInventoryOneOf proto.InternalMessageInfo 12507 12508 type isUpstreamInventoryOneOf_Msg interface { 12509 isUpstreamInventoryOneOf_Msg() 12510 MarshalTo([]byte) (int, error) 12511 Size() int 12512 } 12513 12514 type UpstreamInventoryOneOf_Hello struct { 12515 Hello *UpstreamInventoryHello `protobuf:"bytes,1,opt,name=Hello,proto3,oneof" json:"Hello,omitempty"` 12516 } 12517 type UpstreamInventoryOneOf_Heartbeat struct { 12518 Heartbeat *InventoryHeartbeat `protobuf:"bytes,2,opt,name=Heartbeat,proto3,oneof" json:"Heartbeat,omitempty"` 12519 } 12520 type UpstreamInventoryOneOf_Pong struct { 12521 Pong *UpstreamInventoryPong `protobuf:"bytes,3,opt,name=Pong,proto3,oneof" json:"Pong,omitempty"` 12522 } 12523 type UpstreamInventoryOneOf_AgentMetadata struct { 12524 AgentMetadata *UpstreamInventoryAgentMetadata `protobuf:"bytes,4,opt,name=AgentMetadata,proto3,oneof" json:"AgentMetadata,omitempty"` 12525 } 12526 12527 func (*UpstreamInventoryOneOf_Hello) isUpstreamInventoryOneOf_Msg() {} 12528 func (*UpstreamInventoryOneOf_Heartbeat) isUpstreamInventoryOneOf_Msg() {} 12529 func (*UpstreamInventoryOneOf_Pong) isUpstreamInventoryOneOf_Msg() {} 12530 func (*UpstreamInventoryOneOf_AgentMetadata) isUpstreamInventoryOneOf_Msg() {} 12531 12532 func (m *UpstreamInventoryOneOf) GetMsg() isUpstreamInventoryOneOf_Msg { 12533 if m != nil { 12534 return m.Msg 12535 } 12536 return nil 12537 } 12538 12539 func (m *UpstreamInventoryOneOf) GetHello() *UpstreamInventoryHello { 12540 if x, ok := m.GetMsg().(*UpstreamInventoryOneOf_Hello); ok { 12541 return x.Hello 12542 } 12543 return nil 12544 } 12545 12546 func (m *UpstreamInventoryOneOf) GetHeartbeat() *InventoryHeartbeat { 12547 if x, ok := m.GetMsg().(*UpstreamInventoryOneOf_Heartbeat); ok { 12548 return x.Heartbeat 12549 } 12550 return nil 12551 } 12552 12553 func (m *UpstreamInventoryOneOf) GetPong() *UpstreamInventoryPong { 12554 if x, ok := m.GetMsg().(*UpstreamInventoryOneOf_Pong); ok { 12555 return x.Pong 12556 } 12557 return nil 12558 } 12559 12560 func (m *UpstreamInventoryOneOf) GetAgentMetadata() *UpstreamInventoryAgentMetadata { 12561 if x, ok := m.GetMsg().(*UpstreamInventoryOneOf_AgentMetadata); ok { 12562 return x.AgentMetadata 12563 } 12564 return nil 12565 } 12566 12567 // XXX_OneofWrappers is for the internal use of the proto package. 12568 func (*UpstreamInventoryOneOf) XXX_OneofWrappers() []interface{} { 12569 return []interface{}{ 12570 (*UpstreamInventoryOneOf_Hello)(nil), 12571 (*UpstreamInventoryOneOf_Heartbeat)(nil), 12572 (*UpstreamInventoryOneOf_Pong)(nil), 12573 (*UpstreamInventoryOneOf_AgentMetadata)(nil), 12574 } 12575 } 12576 12577 // DownstreamInventoryOneOf is the downstream message for the inventory control stream, 12578 // sent from auth servers to teleport instances. 12579 type DownstreamInventoryOneOf struct { 12580 // Types that are valid to be assigned to Msg: 12581 // *DownstreamInventoryOneOf_Hello 12582 // *DownstreamInventoryOneOf_Ping 12583 // *DownstreamInventoryOneOf_UpdateLabels 12584 Msg isDownstreamInventoryOneOf_Msg `protobuf_oneof:"Msg"` 12585 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12586 XXX_unrecognized []byte `json:"-"` 12587 XXX_sizecache int32 `json:"-"` 12588 } 12589 12590 func (m *DownstreamInventoryOneOf) Reset() { *m = DownstreamInventoryOneOf{} } 12591 func (m *DownstreamInventoryOneOf) String() string { return proto.CompactTextString(m) } 12592 func (*DownstreamInventoryOneOf) ProtoMessage() {} 12593 func (*DownstreamInventoryOneOf) Descriptor() ([]byte, []int) { 12594 return fileDescriptor_0ffcffcda38ae159, []int{187} 12595 } 12596 func (m *DownstreamInventoryOneOf) XXX_Unmarshal(b []byte) error { 12597 return m.Unmarshal(b) 12598 } 12599 func (m *DownstreamInventoryOneOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12600 if deterministic { 12601 return xxx_messageInfo_DownstreamInventoryOneOf.Marshal(b, m, deterministic) 12602 } else { 12603 b = b[:cap(b)] 12604 n, err := m.MarshalToSizedBuffer(b) 12605 if err != nil { 12606 return nil, err 12607 } 12608 return b[:n], nil 12609 } 12610 } 12611 func (m *DownstreamInventoryOneOf) XXX_Merge(src proto.Message) { 12612 xxx_messageInfo_DownstreamInventoryOneOf.Merge(m, src) 12613 } 12614 func (m *DownstreamInventoryOneOf) XXX_Size() int { 12615 return m.Size() 12616 } 12617 func (m *DownstreamInventoryOneOf) XXX_DiscardUnknown() { 12618 xxx_messageInfo_DownstreamInventoryOneOf.DiscardUnknown(m) 12619 } 12620 12621 var xxx_messageInfo_DownstreamInventoryOneOf proto.InternalMessageInfo 12622 12623 type isDownstreamInventoryOneOf_Msg interface { 12624 isDownstreamInventoryOneOf_Msg() 12625 MarshalTo([]byte) (int, error) 12626 Size() int 12627 } 12628 12629 type DownstreamInventoryOneOf_Hello struct { 12630 Hello *DownstreamInventoryHello `protobuf:"bytes,1,opt,name=Hello,proto3,oneof" json:"Hello,omitempty"` 12631 } 12632 type DownstreamInventoryOneOf_Ping struct { 12633 Ping *DownstreamInventoryPing `protobuf:"bytes,2,opt,name=Ping,proto3,oneof" json:"Ping,omitempty"` 12634 } 12635 type DownstreamInventoryOneOf_UpdateLabels struct { 12636 UpdateLabels *DownstreamInventoryUpdateLabels `protobuf:"bytes,3,opt,name=UpdateLabels,proto3,oneof" json:"UpdateLabels,omitempty"` 12637 } 12638 12639 func (*DownstreamInventoryOneOf_Hello) isDownstreamInventoryOneOf_Msg() {} 12640 func (*DownstreamInventoryOneOf_Ping) isDownstreamInventoryOneOf_Msg() {} 12641 func (*DownstreamInventoryOneOf_UpdateLabels) isDownstreamInventoryOneOf_Msg() {} 12642 12643 func (m *DownstreamInventoryOneOf) GetMsg() isDownstreamInventoryOneOf_Msg { 12644 if m != nil { 12645 return m.Msg 12646 } 12647 return nil 12648 } 12649 12650 func (m *DownstreamInventoryOneOf) GetHello() *DownstreamInventoryHello { 12651 if x, ok := m.GetMsg().(*DownstreamInventoryOneOf_Hello); ok { 12652 return x.Hello 12653 } 12654 return nil 12655 } 12656 12657 func (m *DownstreamInventoryOneOf) GetPing() *DownstreamInventoryPing { 12658 if x, ok := m.GetMsg().(*DownstreamInventoryOneOf_Ping); ok { 12659 return x.Ping 12660 } 12661 return nil 12662 } 12663 12664 func (m *DownstreamInventoryOneOf) GetUpdateLabels() *DownstreamInventoryUpdateLabels { 12665 if x, ok := m.GetMsg().(*DownstreamInventoryOneOf_UpdateLabels); ok { 12666 return x.UpdateLabels 12667 } 12668 return nil 12669 } 12670 12671 // XXX_OneofWrappers is for the internal use of the proto package. 12672 func (*DownstreamInventoryOneOf) XXX_OneofWrappers() []interface{} { 12673 return []interface{}{ 12674 (*DownstreamInventoryOneOf_Hello)(nil), 12675 (*DownstreamInventoryOneOf_Ping)(nil), 12676 (*DownstreamInventoryOneOf_UpdateLabels)(nil), 12677 } 12678 } 12679 12680 // DownstreamInventoryPing is sent down the inventory control stream for testing/debug 12681 // purposes. 12682 type DownstreamInventoryPing struct { 12683 ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` 12684 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12685 XXX_unrecognized []byte `json:"-"` 12686 XXX_sizecache int32 `json:"-"` 12687 } 12688 12689 func (m *DownstreamInventoryPing) Reset() { *m = DownstreamInventoryPing{} } 12690 func (m *DownstreamInventoryPing) String() string { return proto.CompactTextString(m) } 12691 func (*DownstreamInventoryPing) ProtoMessage() {} 12692 func (*DownstreamInventoryPing) Descriptor() ([]byte, []int) { 12693 return fileDescriptor_0ffcffcda38ae159, []int{188} 12694 } 12695 func (m *DownstreamInventoryPing) XXX_Unmarshal(b []byte) error { 12696 return m.Unmarshal(b) 12697 } 12698 func (m *DownstreamInventoryPing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12699 if deterministic { 12700 return xxx_messageInfo_DownstreamInventoryPing.Marshal(b, m, deterministic) 12701 } else { 12702 b = b[:cap(b)] 12703 n, err := m.MarshalToSizedBuffer(b) 12704 if err != nil { 12705 return nil, err 12706 } 12707 return b[:n], nil 12708 } 12709 } 12710 func (m *DownstreamInventoryPing) XXX_Merge(src proto.Message) { 12711 xxx_messageInfo_DownstreamInventoryPing.Merge(m, src) 12712 } 12713 func (m *DownstreamInventoryPing) XXX_Size() int { 12714 return m.Size() 12715 } 12716 func (m *DownstreamInventoryPing) XXX_DiscardUnknown() { 12717 xxx_messageInfo_DownstreamInventoryPing.DiscardUnknown(m) 12718 } 12719 12720 var xxx_messageInfo_DownstreamInventoryPing proto.InternalMessageInfo 12721 12722 func (m *DownstreamInventoryPing) GetID() uint64 { 12723 if m != nil { 12724 return m.ID 12725 } 12726 return 0 12727 } 12728 12729 // UpstreamInventoryPong is sent up the inventory control stream in response to a downstream 12730 // ping (used for testing/debug purposes). 12731 type UpstreamInventoryPong struct { 12732 ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` 12733 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12734 XXX_unrecognized []byte `json:"-"` 12735 XXX_sizecache int32 `json:"-"` 12736 } 12737 12738 func (m *UpstreamInventoryPong) Reset() { *m = UpstreamInventoryPong{} } 12739 func (m *UpstreamInventoryPong) String() string { return proto.CompactTextString(m) } 12740 func (*UpstreamInventoryPong) ProtoMessage() {} 12741 func (*UpstreamInventoryPong) Descriptor() ([]byte, []int) { 12742 return fileDescriptor_0ffcffcda38ae159, []int{189} 12743 } 12744 func (m *UpstreamInventoryPong) XXX_Unmarshal(b []byte) error { 12745 return m.Unmarshal(b) 12746 } 12747 func (m *UpstreamInventoryPong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12748 if deterministic { 12749 return xxx_messageInfo_UpstreamInventoryPong.Marshal(b, m, deterministic) 12750 } else { 12751 b = b[:cap(b)] 12752 n, err := m.MarshalToSizedBuffer(b) 12753 if err != nil { 12754 return nil, err 12755 } 12756 return b[:n], nil 12757 } 12758 } 12759 func (m *UpstreamInventoryPong) XXX_Merge(src proto.Message) { 12760 xxx_messageInfo_UpstreamInventoryPong.Merge(m, src) 12761 } 12762 func (m *UpstreamInventoryPong) XXX_Size() int { 12763 return m.Size() 12764 } 12765 func (m *UpstreamInventoryPong) XXX_DiscardUnknown() { 12766 xxx_messageInfo_UpstreamInventoryPong.DiscardUnknown(m) 12767 } 12768 12769 var xxx_messageInfo_UpstreamInventoryPong proto.InternalMessageInfo 12770 12771 func (m *UpstreamInventoryPong) GetID() uint64 { 12772 if m != nil { 12773 return m.ID 12774 } 12775 return 0 12776 } 12777 12778 // UpstreamInventoryHello is the hello message sent up the inventory control stream. 12779 type UpstreamInventoryHello struct { 12780 // Version advertises the teleport version of the instance. 12781 Version string `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"` 12782 // ServerID advertises the server ID of the instance. 12783 ServerID string `protobuf:"bytes,2,opt,name=ServerID,proto3" json:"ServerID,omitempty"` 12784 // Services advertises the currently live services of the instance. note: this is 12785 // distinct from the SystemRoles associated with a certificate in that a service may 12786 // hold a system role that is not currently in use if it was granted that role by 12787 // its auth token. i.e. Services is the subset of SystemRoles that are currently 12788 // active. 12789 Services []github_com_gravitational_teleport_api_types.SystemRole `protobuf:"bytes,3,rep,name=Services,proto3,casttype=github.com/gravitational/teleport/api/types.SystemRole" json:"Services,omitempty"` 12790 // Hostname is the hostname associated with the instance. This value is not required or guaranteed 12791 // to be unique and its validity is not enforceable (i.e. join tokens do not constrain what an 12792 // instance can claim its hostname to be). This value exists only to assist users in correlating 12793 // instance resources with hosts. 12794 Hostname string `protobuf:"bytes,4,opt,name=Hostname,proto3" json:"Hostname,omitempty"` 12795 // ExternalUpgrader identifies the external upgrader that the instance is configured to 12796 // export schedules to (e.g. 'kube'). Empty if no upgrader is defined. 12797 ExternalUpgrader string `protobuf:"bytes,5,opt,name=ExternalUpgrader,proto3" json:"ExternalUpgrader,omitempty"` 12798 // ExternalUpgraderVersion identifies the external upgrader version. Empty if no upgrader is defined. 12799 ExternalUpgraderVersion string `protobuf:"bytes,6,opt,name=ExternalUpgraderVersion,proto3" json:"ExternalUpgraderVersion,omitempty"` 12800 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12801 XXX_unrecognized []byte `json:"-"` 12802 XXX_sizecache int32 `json:"-"` 12803 } 12804 12805 func (m *UpstreamInventoryHello) Reset() { *m = UpstreamInventoryHello{} } 12806 func (m *UpstreamInventoryHello) String() string { return proto.CompactTextString(m) } 12807 func (*UpstreamInventoryHello) ProtoMessage() {} 12808 func (*UpstreamInventoryHello) Descriptor() ([]byte, []int) { 12809 return fileDescriptor_0ffcffcda38ae159, []int{190} 12810 } 12811 func (m *UpstreamInventoryHello) XXX_Unmarshal(b []byte) error { 12812 return m.Unmarshal(b) 12813 } 12814 func (m *UpstreamInventoryHello) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12815 if deterministic { 12816 return xxx_messageInfo_UpstreamInventoryHello.Marshal(b, m, deterministic) 12817 } else { 12818 b = b[:cap(b)] 12819 n, err := m.MarshalToSizedBuffer(b) 12820 if err != nil { 12821 return nil, err 12822 } 12823 return b[:n], nil 12824 } 12825 } 12826 func (m *UpstreamInventoryHello) XXX_Merge(src proto.Message) { 12827 xxx_messageInfo_UpstreamInventoryHello.Merge(m, src) 12828 } 12829 func (m *UpstreamInventoryHello) XXX_Size() int { 12830 return m.Size() 12831 } 12832 func (m *UpstreamInventoryHello) XXX_DiscardUnknown() { 12833 xxx_messageInfo_UpstreamInventoryHello.DiscardUnknown(m) 12834 } 12835 12836 var xxx_messageInfo_UpstreamInventoryHello proto.InternalMessageInfo 12837 12838 func (m *UpstreamInventoryHello) GetVersion() string { 12839 if m != nil { 12840 return m.Version 12841 } 12842 return "" 12843 } 12844 12845 func (m *UpstreamInventoryHello) GetServerID() string { 12846 if m != nil { 12847 return m.ServerID 12848 } 12849 return "" 12850 } 12851 12852 func (m *UpstreamInventoryHello) GetServices() []github_com_gravitational_teleport_api_types.SystemRole { 12853 if m != nil { 12854 return m.Services 12855 } 12856 return nil 12857 } 12858 12859 func (m *UpstreamInventoryHello) GetHostname() string { 12860 if m != nil { 12861 return m.Hostname 12862 } 12863 return "" 12864 } 12865 12866 func (m *UpstreamInventoryHello) GetExternalUpgrader() string { 12867 if m != nil { 12868 return m.ExternalUpgrader 12869 } 12870 return "" 12871 } 12872 12873 func (m *UpstreamInventoryHello) GetExternalUpgraderVersion() string { 12874 if m != nil { 12875 return m.ExternalUpgraderVersion 12876 } 12877 return "" 12878 } 12879 12880 // UpstreamInventoryAgentMetadata is the message sent up the inventory control stream containing 12881 // metadata about the instance. 12882 type UpstreamInventoryAgentMetadata struct { 12883 // OS advertises the instance OS ("darwin" or "linux"). 12884 OS string `protobuf:"bytes,1,opt,name=OS,proto3" json:"OS,omitempty"` 12885 // OSVersion advertises the instance OS version (e.g. "ubuntu 22.04"). 12886 OSVersion string `protobuf:"bytes,2,opt,name=OSVersion,proto3" json:"OSVersion,omitempty"` 12887 // HostArchitecture advertises the instance host architecture (e.g. "x86_64" or "arm64"). 12888 HostArchitecture string `protobuf:"bytes,3,opt,name=HostArchitecture,proto3" json:"HostArchitecture,omitempty"` 12889 // GlibcVersion advertises the instance glibc version of linux instances (e.g. "2.35"). 12890 GlibcVersion string `protobuf:"bytes,4,opt,name=GlibcVersion,proto3" json:"GlibcVersion,omitempty"` 12891 // InstallMethods advertises the install methods used for the instance (e.g. "dockerfile"). 12892 InstallMethods []string `protobuf:"bytes,5,rep,name=InstallMethods,proto3" json:"InstallMethods,omitempty"` 12893 // ContainerRuntime advertises the container runtime for the instance, if any (e.g. "docker"). 12894 ContainerRuntime string `protobuf:"bytes,6,opt,name=ContainerRuntime,proto3" json:"ContainerRuntime,omitempty"` 12895 // ContainerOrchestrator advertises the container orchestrator for the instance, if any 12896 // (e.g. "kubernetes-v1.24.8-eks-ffeb93d"). 12897 ContainerOrchestrator string `protobuf:"bytes,7,opt,name=ContainerOrchestrator,proto3" json:"ContainerOrchestrator,omitempty"` 12898 // CloudEnvironment advertises the cloud environment for the instance, if any (e.g. "aws"). 12899 CloudEnvironment string `protobuf:"bytes,8,opt,name=CloudEnvironment,proto3" json:"CloudEnvironment,omitempty"` 12900 XXX_NoUnkeyedLiteral struct{} `json:"-"` 12901 XXX_unrecognized []byte `json:"-"` 12902 XXX_sizecache int32 `json:"-"` 12903 } 12904 12905 func (m *UpstreamInventoryAgentMetadata) Reset() { *m = UpstreamInventoryAgentMetadata{} } 12906 func (m *UpstreamInventoryAgentMetadata) String() string { return proto.CompactTextString(m) } 12907 func (*UpstreamInventoryAgentMetadata) ProtoMessage() {} 12908 func (*UpstreamInventoryAgentMetadata) Descriptor() ([]byte, []int) { 12909 return fileDescriptor_0ffcffcda38ae159, []int{191} 12910 } 12911 func (m *UpstreamInventoryAgentMetadata) XXX_Unmarshal(b []byte) error { 12912 return m.Unmarshal(b) 12913 } 12914 func (m *UpstreamInventoryAgentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 12915 if deterministic { 12916 return xxx_messageInfo_UpstreamInventoryAgentMetadata.Marshal(b, m, deterministic) 12917 } else { 12918 b = b[:cap(b)] 12919 n, err := m.MarshalToSizedBuffer(b) 12920 if err != nil { 12921 return nil, err 12922 } 12923 return b[:n], nil 12924 } 12925 } 12926 func (m *UpstreamInventoryAgentMetadata) XXX_Merge(src proto.Message) { 12927 xxx_messageInfo_UpstreamInventoryAgentMetadata.Merge(m, src) 12928 } 12929 func (m *UpstreamInventoryAgentMetadata) XXX_Size() int { 12930 return m.Size() 12931 } 12932 func (m *UpstreamInventoryAgentMetadata) XXX_DiscardUnknown() { 12933 xxx_messageInfo_UpstreamInventoryAgentMetadata.DiscardUnknown(m) 12934 } 12935 12936 var xxx_messageInfo_UpstreamInventoryAgentMetadata proto.InternalMessageInfo 12937 12938 func (m *UpstreamInventoryAgentMetadata) GetOS() string { 12939 if m != nil { 12940 return m.OS 12941 } 12942 return "" 12943 } 12944 12945 func (m *UpstreamInventoryAgentMetadata) GetOSVersion() string { 12946 if m != nil { 12947 return m.OSVersion 12948 } 12949 return "" 12950 } 12951 12952 func (m *UpstreamInventoryAgentMetadata) GetHostArchitecture() string { 12953 if m != nil { 12954 return m.HostArchitecture 12955 } 12956 return "" 12957 } 12958 12959 func (m *UpstreamInventoryAgentMetadata) GetGlibcVersion() string { 12960 if m != nil { 12961 return m.GlibcVersion 12962 } 12963 return "" 12964 } 12965 12966 func (m *UpstreamInventoryAgentMetadata) GetInstallMethods() []string { 12967 if m != nil { 12968 return m.InstallMethods 12969 } 12970 return nil 12971 } 12972 12973 func (m *UpstreamInventoryAgentMetadata) GetContainerRuntime() string { 12974 if m != nil { 12975 return m.ContainerRuntime 12976 } 12977 return "" 12978 } 12979 12980 func (m *UpstreamInventoryAgentMetadata) GetContainerOrchestrator() string { 12981 if m != nil { 12982 return m.ContainerOrchestrator 12983 } 12984 return "" 12985 } 12986 12987 func (m *UpstreamInventoryAgentMetadata) GetCloudEnvironment() string { 12988 if m != nil { 12989 return m.CloudEnvironment 12990 } 12991 return "" 12992 } 12993 12994 // DownstreamInventoryHello is the hello message sent down the inventory control stream. 12995 type DownstreamInventoryHello struct { 12996 // Version advertises the version of the auth server. 12997 Version string `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"` 12998 // ServerID advertises the server ID of the auth server. 12999 ServerID string `protobuf:"bytes,2,opt,name=ServerID,proto3" json:"ServerID,omitempty"` 13000 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13001 XXX_unrecognized []byte `json:"-"` 13002 XXX_sizecache int32 `json:"-"` 13003 } 13004 13005 func (m *DownstreamInventoryHello) Reset() { *m = DownstreamInventoryHello{} } 13006 func (m *DownstreamInventoryHello) String() string { return proto.CompactTextString(m) } 13007 func (*DownstreamInventoryHello) ProtoMessage() {} 13008 func (*DownstreamInventoryHello) Descriptor() ([]byte, []int) { 13009 return fileDescriptor_0ffcffcda38ae159, []int{192} 13010 } 13011 func (m *DownstreamInventoryHello) XXX_Unmarshal(b []byte) error { 13012 return m.Unmarshal(b) 13013 } 13014 func (m *DownstreamInventoryHello) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13015 if deterministic { 13016 return xxx_messageInfo_DownstreamInventoryHello.Marshal(b, m, deterministic) 13017 } else { 13018 b = b[:cap(b)] 13019 n, err := m.MarshalToSizedBuffer(b) 13020 if err != nil { 13021 return nil, err 13022 } 13023 return b[:n], nil 13024 } 13025 } 13026 func (m *DownstreamInventoryHello) XXX_Merge(src proto.Message) { 13027 xxx_messageInfo_DownstreamInventoryHello.Merge(m, src) 13028 } 13029 func (m *DownstreamInventoryHello) XXX_Size() int { 13030 return m.Size() 13031 } 13032 func (m *DownstreamInventoryHello) XXX_DiscardUnknown() { 13033 xxx_messageInfo_DownstreamInventoryHello.DiscardUnknown(m) 13034 } 13035 13036 var xxx_messageInfo_DownstreamInventoryHello proto.InternalMessageInfo 13037 13038 func (m *DownstreamInventoryHello) GetVersion() string { 13039 if m != nil { 13040 return m.Version 13041 } 13042 return "" 13043 } 13044 13045 func (m *DownstreamInventoryHello) GetServerID() string { 13046 if m != nil { 13047 return m.ServerID 13048 } 13049 return "" 13050 } 13051 13052 // InventoryUpdateLabelsRequest is used to request that a specified instance 13053 // update its labels. 13054 type InventoryUpdateLabelsRequest struct { 13055 // ServerID advertises the server ID of the instance. 13056 ServerID string `protobuf:"bytes,1,opt,name=ServerID,proto3" json:"ServerID,omitempty"` 13057 // Kind is the type of service to update labels for. 13058 Kind LabelUpdateKind `protobuf:"varint,2,opt,name=Kind,proto3,enum=proto.LabelUpdateKind" json:"Kind,omitempty"` 13059 // Labels is the new set of labels for the instance. 13060 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"` 13061 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13062 XXX_unrecognized []byte `json:"-"` 13063 XXX_sizecache int32 `json:"-"` 13064 } 13065 13066 func (m *InventoryUpdateLabelsRequest) Reset() { *m = InventoryUpdateLabelsRequest{} } 13067 func (m *InventoryUpdateLabelsRequest) String() string { return proto.CompactTextString(m) } 13068 func (*InventoryUpdateLabelsRequest) ProtoMessage() {} 13069 func (*InventoryUpdateLabelsRequest) Descriptor() ([]byte, []int) { 13070 return fileDescriptor_0ffcffcda38ae159, []int{193} 13071 } 13072 func (m *InventoryUpdateLabelsRequest) XXX_Unmarshal(b []byte) error { 13073 return m.Unmarshal(b) 13074 } 13075 func (m *InventoryUpdateLabelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13076 if deterministic { 13077 return xxx_messageInfo_InventoryUpdateLabelsRequest.Marshal(b, m, deterministic) 13078 } else { 13079 b = b[:cap(b)] 13080 n, err := m.MarshalToSizedBuffer(b) 13081 if err != nil { 13082 return nil, err 13083 } 13084 return b[:n], nil 13085 } 13086 } 13087 func (m *InventoryUpdateLabelsRequest) XXX_Merge(src proto.Message) { 13088 xxx_messageInfo_InventoryUpdateLabelsRequest.Merge(m, src) 13089 } 13090 func (m *InventoryUpdateLabelsRequest) XXX_Size() int { 13091 return m.Size() 13092 } 13093 func (m *InventoryUpdateLabelsRequest) XXX_DiscardUnknown() { 13094 xxx_messageInfo_InventoryUpdateLabelsRequest.DiscardUnknown(m) 13095 } 13096 13097 var xxx_messageInfo_InventoryUpdateLabelsRequest proto.InternalMessageInfo 13098 13099 func (m *InventoryUpdateLabelsRequest) GetServerID() string { 13100 if m != nil { 13101 return m.ServerID 13102 } 13103 return "" 13104 } 13105 13106 func (m *InventoryUpdateLabelsRequest) GetKind() LabelUpdateKind { 13107 if m != nil { 13108 return m.Kind 13109 } 13110 return LabelUpdateKind_SSHServer 13111 } 13112 13113 func (m *InventoryUpdateLabelsRequest) GetLabels() map[string]string { 13114 if m != nil { 13115 return m.Labels 13116 } 13117 return nil 13118 } 13119 13120 // DownstreamInventoryUpdateLabels is the message sent down the inventory 13121 // control stream to update the instance's labels. 13122 type DownstreamInventoryUpdateLabels struct { 13123 // Kind is the type of service to update labels for. 13124 Kind LabelUpdateKind `protobuf:"varint,1,opt,name=Kind,proto3,enum=proto.LabelUpdateKind" json:"Kind,omitempty"` 13125 // Labels is the new set of labels for the instance. 13126 Labels map[string]string `protobuf:"bytes,2,rep,name=Labels,proto3" json:"Labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 13127 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13128 XXX_unrecognized []byte `json:"-"` 13129 XXX_sizecache int32 `json:"-"` 13130 } 13131 13132 func (m *DownstreamInventoryUpdateLabels) Reset() { *m = DownstreamInventoryUpdateLabels{} } 13133 func (m *DownstreamInventoryUpdateLabels) String() string { return proto.CompactTextString(m) } 13134 func (*DownstreamInventoryUpdateLabels) ProtoMessage() {} 13135 func (*DownstreamInventoryUpdateLabels) Descriptor() ([]byte, []int) { 13136 return fileDescriptor_0ffcffcda38ae159, []int{194} 13137 } 13138 func (m *DownstreamInventoryUpdateLabels) XXX_Unmarshal(b []byte) error { 13139 return m.Unmarshal(b) 13140 } 13141 func (m *DownstreamInventoryUpdateLabels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13142 if deterministic { 13143 return xxx_messageInfo_DownstreamInventoryUpdateLabels.Marshal(b, m, deterministic) 13144 } else { 13145 b = b[:cap(b)] 13146 n, err := m.MarshalToSizedBuffer(b) 13147 if err != nil { 13148 return nil, err 13149 } 13150 return b[:n], nil 13151 } 13152 } 13153 func (m *DownstreamInventoryUpdateLabels) XXX_Merge(src proto.Message) { 13154 xxx_messageInfo_DownstreamInventoryUpdateLabels.Merge(m, src) 13155 } 13156 func (m *DownstreamInventoryUpdateLabels) XXX_Size() int { 13157 return m.Size() 13158 } 13159 func (m *DownstreamInventoryUpdateLabels) XXX_DiscardUnknown() { 13160 xxx_messageInfo_DownstreamInventoryUpdateLabels.DiscardUnknown(m) 13161 } 13162 13163 var xxx_messageInfo_DownstreamInventoryUpdateLabels proto.InternalMessageInfo 13164 13165 func (m *DownstreamInventoryUpdateLabels) GetKind() LabelUpdateKind { 13166 if m != nil { 13167 return m.Kind 13168 } 13169 return LabelUpdateKind_SSHServer 13170 } 13171 13172 func (m *DownstreamInventoryUpdateLabels) GetLabels() map[string]string { 13173 if m != nil { 13174 return m.Labels 13175 } 13176 return nil 13177 } 13178 13179 // InventoryHeartbeat announces information about instance state. 13180 type InventoryHeartbeat struct { 13181 // SSHServer is a complete ssh server spec to be heartbeated (note: the full spec is heartbeated 13182 // in the interest of simple conversion from the old logic of heartbeating via UpsertNode, but 13183 // we should be able to cut down on network usage fairly significantly by moving static values 13184 // to the hello message and only heartbeating dynamic values here). 13185 SSHServer *types.ServerV2 `protobuf:"bytes,1,opt,name=SSHServer,proto3" json:"SSHServer,omitempty"` 13186 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13187 XXX_unrecognized []byte `json:"-"` 13188 XXX_sizecache int32 `json:"-"` 13189 } 13190 13191 func (m *InventoryHeartbeat) Reset() { *m = InventoryHeartbeat{} } 13192 func (m *InventoryHeartbeat) String() string { return proto.CompactTextString(m) } 13193 func (*InventoryHeartbeat) ProtoMessage() {} 13194 func (*InventoryHeartbeat) Descriptor() ([]byte, []int) { 13195 return fileDescriptor_0ffcffcda38ae159, []int{195} 13196 } 13197 func (m *InventoryHeartbeat) XXX_Unmarshal(b []byte) error { 13198 return m.Unmarshal(b) 13199 } 13200 func (m *InventoryHeartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13201 if deterministic { 13202 return xxx_messageInfo_InventoryHeartbeat.Marshal(b, m, deterministic) 13203 } else { 13204 b = b[:cap(b)] 13205 n, err := m.MarshalToSizedBuffer(b) 13206 if err != nil { 13207 return nil, err 13208 } 13209 return b[:n], nil 13210 } 13211 } 13212 func (m *InventoryHeartbeat) XXX_Merge(src proto.Message) { 13213 xxx_messageInfo_InventoryHeartbeat.Merge(m, src) 13214 } 13215 func (m *InventoryHeartbeat) XXX_Size() int { 13216 return m.Size() 13217 } 13218 func (m *InventoryHeartbeat) XXX_DiscardUnknown() { 13219 xxx_messageInfo_InventoryHeartbeat.DiscardUnknown(m) 13220 } 13221 13222 var xxx_messageInfo_InventoryHeartbeat proto.InternalMessageInfo 13223 13224 func (m *InventoryHeartbeat) GetSSHServer() *types.ServerV2 { 13225 if m != nil { 13226 return m.SSHServer 13227 } 13228 return nil 13229 } 13230 13231 // InventoryStatusRequest requests inventory status info. 13232 type InventoryStatusRequest struct { 13233 // Connected requests summary of the inventory control streams registered with 13234 // the auth server that handles the request. 13235 Connected bool `protobuf:"varint,1,opt,name=Connected,proto3" json:"Connected,omitempty"` 13236 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13237 XXX_unrecognized []byte `json:"-"` 13238 XXX_sizecache int32 `json:"-"` 13239 } 13240 13241 func (m *InventoryStatusRequest) Reset() { *m = InventoryStatusRequest{} } 13242 func (m *InventoryStatusRequest) String() string { return proto.CompactTextString(m) } 13243 func (*InventoryStatusRequest) ProtoMessage() {} 13244 func (*InventoryStatusRequest) Descriptor() ([]byte, []int) { 13245 return fileDescriptor_0ffcffcda38ae159, []int{196} 13246 } 13247 func (m *InventoryStatusRequest) XXX_Unmarshal(b []byte) error { 13248 return m.Unmarshal(b) 13249 } 13250 func (m *InventoryStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13251 if deterministic { 13252 return xxx_messageInfo_InventoryStatusRequest.Marshal(b, m, deterministic) 13253 } else { 13254 b = b[:cap(b)] 13255 n, err := m.MarshalToSizedBuffer(b) 13256 if err != nil { 13257 return nil, err 13258 } 13259 return b[:n], nil 13260 } 13261 } 13262 func (m *InventoryStatusRequest) XXX_Merge(src proto.Message) { 13263 xxx_messageInfo_InventoryStatusRequest.Merge(m, src) 13264 } 13265 func (m *InventoryStatusRequest) XXX_Size() int { 13266 return m.Size() 13267 } 13268 func (m *InventoryStatusRequest) XXX_DiscardUnknown() { 13269 xxx_messageInfo_InventoryStatusRequest.DiscardUnknown(m) 13270 } 13271 13272 var xxx_messageInfo_InventoryStatusRequest proto.InternalMessageInfo 13273 13274 func (m *InventoryStatusRequest) GetConnected() bool { 13275 if m != nil { 13276 return m.Connected 13277 } 13278 return false 13279 } 13280 13281 // InventoryStatusSummary is the status summary returned by the GetInventoryStatus rpc. 13282 type InventoryStatusSummary struct { 13283 // Connected is a summary of the instances connected to the current auth server. Only set if 13284 // the Connected flag in the status request is true. 13285 Connected []UpstreamInventoryHello `protobuf:"bytes,1,rep,name=Connected,proto3" json:"Connected"` 13286 // InstanceCount is the total number of instance resources aggregated. 13287 InstanceCount uint32 `protobuf:"varint,2,opt,name=InstanceCount,proto3" json:"InstanceCount,omitempty"` 13288 // VersionCounts aggregates unique version counts. 13289 VersionCounts map[string]uint32 `protobuf:"bytes,3,rep,name=VersionCounts,proto3" json:"VersionCounts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 13290 // UpgraderCounts aggregates the unique upgrader counts. 13291 UpgraderCounts map[string]uint32 `protobuf:"bytes,4,rep,name=UpgraderCounts,proto3" json:"UpgraderCounts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 13292 // ServiceCounts aggregates the number of services. 13293 ServiceCounts map[string]uint32 `protobuf:"bytes,5,rep,name=ServiceCounts,proto3" json:"ServiceCounts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 13294 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13295 XXX_unrecognized []byte `json:"-"` 13296 XXX_sizecache int32 `json:"-"` 13297 } 13298 13299 func (m *InventoryStatusSummary) Reset() { *m = InventoryStatusSummary{} } 13300 func (m *InventoryStatusSummary) String() string { return proto.CompactTextString(m) } 13301 func (*InventoryStatusSummary) ProtoMessage() {} 13302 func (*InventoryStatusSummary) Descriptor() ([]byte, []int) { 13303 return fileDescriptor_0ffcffcda38ae159, []int{197} 13304 } 13305 func (m *InventoryStatusSummary) XXX_Unmarshal(b []byte) error { 13306 return m.Unmarshal(b) 13307 } 13308 func (m *InventoryStatusSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13309 if deterministic { 13310 return xxx_messageInfo_InventoryStatusSummary.Marshal(b, m, deterministic) 13311 } else { 13312 b = b[:cap(b)] 13313 n, err := m.MarshalToSizedBuffer(b) 13314 if err != nil { 13315 return nil, err 13316 } 13317 return b[:n], nil 13318 } 13319 } 13320 func (m *InventoryStatusSummary) XXX_Merge(src proto.Message) { 13321 xxx_messageInfo_InventoryStatusSummary.Merge(m, src) 13322 } 13323 func (m *InventoryStatusSummary) XXX_Size() int { 13324 return m.Size() 13325 } 13326 func (m *InventoryStatusSummary) XXX_DiscardUnknown() { 13327 xxx_messageInfo_InventoryStatusSummary.DiscardUnknown(m) 13328 } 13329 13330 var xxx_messageInfo_InventoryStatusSummary proto.InternalMessageInfo 13331 13332 func (m *InventoryStatusSummary) GetConnected() []UpstreamInventoryHello { 13333 if m != nil { 13334 return m.Connected 13335 } 13336 return nil 13337 } 13338 13339 func (m *InventoryStatusSummary) GetInstanceCount() uint32 { 13340 if m != nil { 13341 return m.InstanceCount 13342 } 13343 return 0 13344 } 13345 13346 func (m *InventoryStatusSummary) GetVersionCounts() map[string]uint32 { 13347 if m != nil { 13348 return m.VersionCounts 13349 } 13350 return nil 13351 } 13352 13353 func (m *InventoryStatusSummary) GetUpgraderCounts() map[string]uint32 { 13354 if m != nil { 13355 return m.UpgraderCounts 13356 } 13357 return nil 13358 } 13359 13360 func (m *InventoryStatusSummary) GetServiceCounts() map[string]uint32 { 13361 if m != nil { 13362 return m.ServiceCounts 13363 } 13364 return nil 13365 } 13366 13367 // InventoryConnectedServiceCountsRequest requests inventory connected service counts. 13368 type InventoryConnectedServiceCountsRequest struct { 13369 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13370 XXX_unrecognized []byte `json:"-"` 13371 XXX_sizecache int32 `json:"-"` 13372 } 13373 13374 func (m *InventoryConnectedServiceCountsRequest) Reset() { 13375 *m = InventoryConnectedServiceCountsRequest{} 13376 } 13377 func (m *InventoryConnectedServiceCountsRequest) String() string { return proto.CompactTextString(m) } 13378 func (*InventoryConnectedServiceCountsRequest) ProtoMessage() {} 13379 func (*InventoryConnectedServiceCountsRequest) Descriptor() ([]byte, []int) { 13380 return fileDescriptor_0ffcffcda38ae159, []int{198} 13381 } 13382 func (m *InventoryConnectedServiceCountsRequest) XXX_Unmarshal(b []byte) error { 13383 return m.Unmarshal(b) 13384 } 13385 func (m *InventoryConnectedServiceCountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13386 if deterministic { 13387 return xxx_messageInfo_InventoryConnectedServiceCountsRequest.Marshal(b, m, deterministic) 13388 } else { 13389 b = b[:cap(b)] 13390 n, err := m.MarshalToSizedBuffer(b) 13391 if err != nil { 13392 return nil, err 13393 } 13394 return b[:n], nil 13395 } 13396 } 13397 func (m *InventoryConnectedServiceCountsRequest) XXX_Merge(src proto.Message) { 13398 xxx_messageInfo_InventoryConnectedServiceCountsRequest.Merge(m, src) 13399 } 13400 func (m *InventoryConnectedServiceCountsRequest) XXX_Size() int { 13401 return m.Size() 13402 } 13403 func (m *InventoryConnectedServiceCountsRequest) XXX_DiscardUnknown() { 13404 xxx_messageInfo_InventoryConnectedServiceCountsRequest.DiscardUnknown(m) 13405 } 13406 13407 var xxx_messageInfo_InventoryConnectedServiceCountsRequest proto.InternalMessageInfo 13408 13409 // InventoryConnectedServiceCounts is the connected service counts seen in the inventory. 13410 type InventoryConnectedServiceCounts struct { 13411 // ServiceCounts is the count of each connected service seen in the inventory. 13412 ServiceCounts map[github_com_gravitational_teleport_api_types.SystemRole]uint64 `protobuf:"bytes,1,rep,name=ServiceCounts,proto3,castkey=github.com/gravitational/teleport/api/types.SystemRole" json:"ServiceCounts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 13413 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13414 XXX_unrecognized []byte `json:"-"` 13415 XXX_sizecache int32 `json:"-"` 13416 } 13417 13418 func (m *InventoryConnectedServiceCounts) Reset() { *m = InventoryConnectedServiceCounts{} } 13419 func (m *InventoryConnectedServiceCounts) String() string { return proto.CompactTextString(m) } 13420 func (*InventoryConnectedServiceCounts) ProtoMessage() {} 13421 func (*InventoryConnectedServiceCounts) Descriptor() ([]byte, []int) { 13422 return fileDescriptor_0ffcffcda38ae159, []int{199} 13423 } 13424 func (m *InventoryConnectedServiceCounts) XXX_Unmarshal(b []byte) error { 13425 return m.Unmarshal(b) 13426 } 13427 func (m *InventoryConnectedServiceCounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13428 if deterministic { 13429 return xxx_messageInfo_InventoryConnectedServiceCounts.Marshal(b, m, deterministic) 13430 } else { 13431 b = b[:cap(b)] 13432 n, err := m.MarshalToSizedBuffer(b) 13433 if err != nil { 13434 return nil, err 13435 } 13436 return b[:n], nil 13437 } 13438 } 13439 func (m *InventoryConnectedServiceCounts) XXX_Merge(src proto.Message) { 13440 xxx_messageInfo_InventoryConnectedServiceCounts.Merge(m, src) 13441 } 13442 func (m *InventoryConnectedServiceCounts) XXX_Size() int { 13443 return m.Size() 13444 } 13445 func (m *InventoryConnectedServiceCounts) XXX_DiscardUnknown() { 13446 xxx_messageInfo_InventoryConnectedServiceCounts.DiscardUnknown(m) 13447 } 13448 13449 var xxx_messageInfo_InventoryConnectedServiceCounts proto.InternalMessageInfo 13450 13451 func (m *InventoryConnectedServiceCounts) GetServiceCounts() map[github_com_gravitational_teleport_api_types.SystemRole]uint64 { 13452 if m != nil { 13453 return m.ServiceCounts 13454 } 13455 return nil 13456 } 13457 13458 // InventoryPingRequest is used to request that the specified server be sent an inventory ping 13459 // if it has a control stream registered. 13460 type InventoryPingRequest struct { 13461 // ServerID is the ID of the instance to ping. 13462 ServerID string `protobuf:"bytes,1,opt,name=ServerID,proto3" json:"ServerID,omitempty"` 13463 // ControlLog forces the ping to use the standard "commit then act" model of control log synchronization 13464 // for the ping. This significantly increases the amount of time it takes for the ping request to 13465 // complete, but is useful for testing/debugging control log issues. 13466 ControlLog bool `protobuf:"varint,2,opt,name=ControlLog,proto3" json:"ControlLog,omitempty"` 13467 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13468 XXX_unrecognized []byte `json:"-"` 13469 XXX_sizecache int32 `json:"-"` 13470 } 13471 13472 func (m *InventoryPingRequest) Reset() { *m = InventoryPingRequest{} } 13473 func (m *InventoryPingRequest) String() string { return proto.CompactTextString(m) } 13474 func (*InventoryPingRequest) ProtoMessage() {} 13475 func (*InventoryPingRequest) Descriptor() ([]byte, []int) { 13476 return fileDescriptor_0ffcffcda38ae159, []int{200} 13477 } 13478 func (m *InventoryPingRequest) XXX_Unmarshal(b []byte) error { 13479 return m.Unmarshal(b) 13480 } 13481 func (m *InventoryPingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13482 if deterministic { 13483 return xxx_messageInfo_InventoryPingRequest.Marshal(b, m, deterministic) 13484 } else { 13485 b = b[:cap(b)] 13486 n, err := m.MarshalToSizedBuffer(b) 13487 if err != nil { 13488 return nil, err 13489 } 13490 return b[:n], nil 13491 } 13492 } 13493 func (m *InventoryPingRequest) XXX_Merge(src proto.Message) { 13494 xxx_messageInfo_InventoryPingRequest.Merge(m, src) 13495 } 13496 func (m *InventoryPingRequest) XXX_Size() int { 13497 return m.Size() 13498 } 13499 func (m *InventoryPingRequest) XXX_DiscardUnknown() { 13500 xxx_messageInfo_InventoryPingRequest.DiscardUnknown(m) 13501 } 13502 13503 var xxx_messageInfo_InventoryPingRequest proto.InternalMessageInfo 13504 13505 func (m *InventoryPingRequest) GetServerID() string { 13506 if m != nil { 13507 return m.ServerID 13508 } 13509 return "" 13510 } 13511 13512 func (m *InventoryPingRequest) GetControlLog() bool { 13513 if m != nil { 13514 return m.ControlLog 13515 } 13516 return false 13517 } 13518 13519 // InventoryPingResponse returns the result of an inventory ping initiated via an 13520 // inventory ping request. 13521 type InventoryPingResponse struct { 13522 Duration time.Duration `protobuf:"varint,1,opt,name=Duration,proto3,casttype=time.Duration" json:"Duration,omitempty"` 13523 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13524 XXX_unrecognized []byte `json:"-"` 13525 XXX_sizecache int32 `json:"-"` 13526 } 13527 13528 func (m *InventoryPingResponse) Reset() { *m = InventoryPingResponse{} } 13529 func (m *InventoryPingResponse) String() string { return proto.CompactTextString(m) } 13530 func (*InventoryPingResponse) ProtoMessage() {} 13531 func (*InventoryPingResponse) Descriptor() ([]byte, []int) { 13532 return fileDescriptor_0ffcffcda38ae159, []int{201} 13533 } 13534 func (m *InventoryPingResponse) XXX_Unmarshal(b []byte) error { 13535 return m.Unmarshal(b) 13536 } 13537 func (m *InventoryPingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13538 if deterministic { 13539 return xxx_messageInfo_InventoryPingResponse.Marshal(b, m, deterministic) 13540 } else { 13541 b = b[:cap(b)] 13542 n, err := m.MarshalToSizedBuffer(b) 13543 if err != nil { 13544 return nil, err 13545 } 13546 return b[:n], nil 13547 } 13548 } 13549 func (m *InventoryPingResponse) XXX_Merge(src proto.Message) { 13550 xxx_messageInfo_InventoryPingResponse.Merge(m, src) 13551 } 13552 func (m *InventoryPingResponse) XXX_Size() int { 13553 return m.Size() 13554 } 13555 func (m *InventoryPingResponse) XXX_DiscardUnknown() { 13556 xxx_messageInfo_InventoryPingResponse.DiscardUnknown(m) 13557 } 13558 13559 var xxx_messageInfo_InventoryPingResponse proto.InternalMessageInfo 13560 13561 func (m *InventoryPingResponse) GetDuration() time.Duration { 13562 if m != nil { 13563 return m.Duration 13564 } 13565 return 0 13566 } 13567 13568 // GetClusterAlertsResponse contains the result of a cluster alerts query. 13569 type GetClusterAlertsResponse struct { 13570 // Alerts is the list of matching alerts. 13571 Alerts []types.ClusterAlert `protobuf:"bytes,1,rep,name=Alerts,proto3" json:"Alerts"` 13572 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13573 XXX_unrecognized []byte `json:"-"` 13574 XXX_sizecache int32 `json:"-"` 13575 } 13576 13577 func (m *GetClusterAlertsResponse) Reset() { *m = GetClusterAlertsResponse{} } 13578 func (m *GetClusterAlertsResponse) String() string { return proto.CompactTextString(m) } 13579 func (*GetClusterAlertsResponse) ProtoMessage() {} 13580 func (*GetClusterAlertsResponse) Descriptor() ([]byte, []int) { 13581 return fileDescriptor_0ffcffcda38ae159, []int{202} 13582 } 13583 func (m *GetClusterAlertsResponse) XXX_Unmarshal(b []byte) error { 13584 return m.Unmarshal(b) 13585 } 13586 func (m *GetClusterAlertsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13587 if deterministic { 13588 return xxx_messageInfo_GetClusterAlertsResponse.Marshal(b, m, deterministic) 13589 } else { 13590 b = b[:cap(b)] 13591 n, err := m.MarshalToSizedBuffer(b) 13592 if err != nil { 13593 return nil, err 13594 } 13595 return b[:n], nil 13596 } 13597 } 13598 func (m *GetClusterAlertsResponse) XXX_Merge(src proto.Message) { 13599 xxx_messageInfo_GetClusterAlertsResponse.Merge(m, src) 13600 } 13601 func (m *GetClusterAlertsResponse) XXX_Size() int { 13602 return m.Size() 13603 } 13604 func (m *GetClusterAlertsResponse) XXX_DiscardUnknown() { 13605 xxx_messageInfo_GetClusterAlertsResponse.DiscardUnknown(m) 13606 } 13607 13608 var xxx_messageInfo_GetClusterAlertsResponse proto.InternalMessageInfo 13609 13610 func (m *GetClusterAlertsResponse) GetAlerts() []types.ClusterAlert { 13611 if m != nil { 13612 return m.Alerts 13613 } 13614 return nil 13615 } 13616 13617 // GetAlertAcksRequest returns the currently acknowledged alerts 13618 type GetAlertAcksRequest struct { 13619 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13620 XXX_unrecognized []byte `json:"-"` 13621 XXX_sizecache int32 `json:"-"` 13622 } 13623 13624 func (m *GetAlertAcksRequest) Reset() { *m = GetAlertAcksRequest{} } 13625 func (m *GetAlertAcksRequest) String() string { return proto.CompactTextString(m) } 13626 func (*GetAlertAcksRequest) ProtoMessage() {} 13627 func (*GetAlertAcksRequest) Descriptor() ([]byte, []int) { 13628 return fileDescriptor_0ffcffcda38ae159, []int{203} 13629 } 13630 func (m *GetAlertAcksRequest) XXX_Unmarshal(b []byte) error { 13631 return m.Unmarshal(b) 13632 } 13633 func (m *GetAlertAcksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13634 if deterministic { 13635 return xxx_messageInfo_GetAlertAcksRequest.Marshal(b, m, deterministic) 13636 } else { 13637 b = b[:cap(b)] 13638 n, err := m.MarshalToSizedBuffer(b) 13639 if err != nil { 13640 return nil, err 13641 } 13642 return b[:n], nil 13643 } 13644 } 13645 func (m *GetAlertAcksRequest) XXX_Merge(src proto.Message) { 13646 xxx_messageInfo_GetAlertAcksRequest.Merge(m, src) 13647 } 13648 func (m *GetAlertAcksRequest) XXX_Size() int { 13649 return m.Size() 13650 } 13651 func (m *GetAlertAcksRequest) XXX_DiscardUnknown() { 13652 xxx_messageInfo_GetAlertAcksRequest.DiscardUnknown(m) 13653 } 13654 13655 var xxx_messageInfo_GetAlertAcksRequest proto.InternalMessageInfo 13656 13657 // GetAlertAcksResponse contains the set of active cluster alert 13658 // acknowledgements for this cluster. 13659 type GetAlertAcksResponse struct { 13660 Acks []types.AlertAcknowledgement `protobuf:"bytes,1,rep,name=Acks,proto3" json:"acks"` 13661 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13662 XXX_unrecognized []byte `json:"-"` 13663 XXX_sizecache int32 `json:"-"` 13664 } 13665 13666 func (m *GetAlertAcksResponse) Reset() { *m = GetAlertAcksResponse{} } 13667 func (m *GetAlertAcksResponse) String() string { return proto.CompactTextString(m) } 13668 func (*GetAlertAcksResponse) ProtoMessage() {} 13669 func (*GetAlertAcksResponse) Descriptor() ([]byte, []int) { 13670 return fileDescriptor_0ffcffcda38ae159, []int{204} 13671 } 13672 func (m *GetAlertAcksResponse) XXX_Unmarshal(b []byte) error { 13673 return m.Unmarshal(b) 13674 } 13675 func (m *GetAlertAcksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13676 if deterministic { 13677 return xxx_messageInfo_GetAlertAcksResponse.Marshal(b, m, deterministic) 13678 } else { 13679 b = b[:cap(b)] 13680 n, err := m.MarshalToSizedBuffer(b) 13681 if err != nil { 13682 return nil, err 13683 } 13684 return b[:n], nil 13685 } 13686 } 13687 func (m *GetAlertAcksResponse) XXX_Merge(src proto.Message) { 13688 xxx_messageInfo_GetAlertAcksResponse.Merge(m, src) 13689 } 13690 func (m *GetAlertAcksResponse) XXX_Size() int { 13691 return m.Size() 13692 } 13693 func (m *GetAlertAcksResponse) XXX_DiscardUnknown() { 13694 xxx_messageInfo_GetAlertAcksResponse.DiscardUnknown(m) 13695 } 13696 13697 var xxx_messageInfo_GetAlertAcksResponse proto.InternalMessageInfo 13698 13699 func (m *GetAlertAcksResponse) GetAcks() []types.AlertAcknowledgement { 13700 if m != nil { 13701 return m.Acks 13702 } 13703 return nil 13704 } 13705 13706 // ClearAlertAcksRequest specifies alerts acknowledgements to clear. 13707 type ClearAlertAcksRequest struct { 13708 // AlertID deletes an acknowledgement by ID. Deletes all acknowledgements if 13709 // the id is '*'. 13710 AlertID string `protobuf:"bytes,1,opt,name=AlertID,proto3" json:"alert_id"` 13711 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13712 XXX_unrecognized []byte `json:"-"` 13713 XXX_sizecache int32 `json:"-"` 13714 } 13715 13716 func (m *ClearAlertAcksRequest) Reset() { *m = ClearAlertAcksRequest{} } 13717 func (m *ClearAlertAcksRequest) String() string { return proto.CompactTextString(m) } 13718 func (*ClearAlertAcksRequest) ProtoMessage() {} 13719 func (*ClearAlertAcksRequest) Descriptor() ([]byte, []int) { 13720 return fileDescriptor_0ffcffcda38ae159, []int{205} 13721 } 13722 func (m *ClearAlertAcksRequest) XXX_Unmarshal(b []byte) error { 13723 return m.Unmarshal(b) 13724 } 13725 func (m *ClearAlertAcksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13726 if deterministic { 13727 return xxx_messageInfo_ClearAlertAcksRequest.Marshal(b, m, deterministic) 13728 } else { 13729 b = b[:cap(b)] 13730 n, err := m.MarshalToSizedBuffer(b) 13731 if err != nil { 13732 return nil, err 13733 } 13734 return b[:n], nil 13735 } 13736 } 13737 func (m *ClearAlertAcksRequest) XXX_Merge(src proto.Message) { 13738 xxx_messageInfo_ClearAlertAcksRequest.Merge(m, src) 13739 } 13740 func (m *ClearAlertAcksRequest) XXX_Size() int { 13741 return m.Size() 13742 } 13743 func (m *ClearAlertAcksRequest) XXX_DiscardUnknown() { 13744 xxx_messageInfo_ClearAlertAcksRequest.DiscardUnknown(m) 13745 } 13746 13747 var xxx_messageInfo_ClearAlertAcksRequest proto.InternalMessageInfo 13748 13749 func (m *ClearAlertAcksRequest) GetAlertID() string { 13750 if m != nil { 13751 return m.AlertID 13752 } 13753 return "" 13754 } 13755 13756 // UpsertClusterAlertRequest is used to create a cluster alert. 13757 type UpsertClusterAlertRequest struct { 13758 // Alert is the alert being created. 13759 Alert types.ClusterAlert `protobuf:"bytes,1,opt,name=Alert,proto3" json:"Alert"` 13760 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13761 XXX_unrecognized []byte `json:"-"` 13762 XXX_sizecache int32 `json:"-"` 13763 } 13764 13765 func (m *UpsertClusterAlertRequest) Reset() { *m = UpsertClusterAlertRequest{} } 13766 func (m *UpsertClusterAlertRequest) String() string { return proto.CompactTextString(m) } 13767 func (*UpsertClusterAlertRequest) ProtoMessage() {} 13768 func (*UpsertClusterAlertRequest) Descriptor() ([]byte, []int) { 13769 return fileDescriptor_0ffcffcda38ae159, []int{206} 13770 } 13771 func (m *UpsertClusterAlertRequest) XXX_Unmarshal(b []byte) error { 13772 return m.Unmarshal(b) 13773 } 13774 func (m *UpsertClusterAlertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13775 if deterministic { 13776 return xxx_messageInfo_UpsertClusterAlertRequest.Marshal(b, m, deterministic) 13777 } else { 13778 b = b[:cap(b)] 13779 n, err := m.MarshalToSizedBuffer(b) 13780 if err != nil { 13781 return nil, err 13782 } 13783 return b[:n], nil 13784 } 13785 } 13786 func (m *UpsertClusterAlertRequest) XXX_Merge(src proto.Message) { 13787 xxx_messageInfo_UpsertClusterAlertRequest.Merge(m, src) 13788 } 13789 func (m *UpsertClusterAlertRequest) XXX_Size() int { 13790 return m.Size() 13791 } 13792 func (m *UpsertClusterAlertRequest) XXX_DiscardUnknown() { 13793 xxx_messageInfo_UpsertClusterAlertRequest.DiscardUnknown(m) 13794 } 13795 13796 var xxx_messageInfo_UpsertClusterAlertRequest proto.InternalMessageInfo 13797 13798 func (m *UpsertClusterAlertRequest) GetAlert() types.ClusterAlert { 13799 if m != nil { 13800 return m.Alert 13801 } 13802 return types.ClusterAlert{} 13803 } 13804 13805 // GetConnectionDiagnosticRequest is a request to return a connection diagnostic. 13806 type GetConnectionDiagnosticRequest struct { 13807 // Name is the name of the connection diagnostic. 13808 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 13809 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13810 XXX_unrecognized []byte `json:"-"` 13811 XXX_sizecache int32 `json:"-"` 13812 } 13813 13814 func (m *GetConnectionDiagnosticRequest) Reset() { *m = GetConnectionDiagnosticRequest{} } 13815 func (m *GetConnectionDiagnosticRequest) String() string { return proto.CompactTextString(m) } 13816 func (*GetConnectionDiagnosticRequest) ProtoMessage() {} 13817 func (*GetConnectionDiagnosticRequest) Descriptor() ([]byte, []int) { 13818 return fileDescriptor_0ffcffcda38ae159, []int{207} 13819 } 13820 func (m *GetConnectionDiagnosticRequest) XXX_Unmarshal(b []byte) error { 13821 return m.Unmarshal(b) 13822 } 13823 func (m *GetConnectionDiagnosticRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13824 if deterministic { 13825 return xxx_messageInfo_GetConnectionDiagnosticRequest.Marshal(b, m, deterministic) 13826 } else { 13827 b = b[:cap(b)] 13828 n, err := m.MarshalToSizedBuffer(b) 13829 if err != nil { 13830 return nil, err 13831 } 13832 return b[:n], nil 13833 } 13834 } 13835 func (m *GetConnectionDiagnosticRequest) XXX_Merge(src proto.Message) { 13836 xxx_messageInfo_GetConnectionDiagnosticRequest.Merge(m, src) 13837 } 13838 func (m *GetConnectionDiagnosticRequest) XXX_Size() int { 13839 return m.Size() 13840 } 13841 func (m *GetConnectionDiagnosticRequest) XXX_DiscardUnknown() { 13842 xxx_messageInfo_GetConnectionDiagnosticRequest.DiscardUnknown(m) 13843 } 13844 13845 var xxx_messageInfo_GetConnectionDiagnosticRequest proto.InternalMessageInfo 13846 13847 func (m *GetConnectionDiagnosticRequest) GetName() string { 13848 if m != nil { 13849 return m.Name 13850 } 13851 return "" 13852 } 13853 13854 // AppendDiagnosticTraceRequest is a request to append a trace into a DiagnosticConnection. 13855 type AppendDiagnosticTraceRequest struct { 13856 // Name is the name of the connection diagnostic. 13857 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"` 13858 // Trace is the ConnectionDiagnosticTrace to append into the DiagnosticConnection. 13859 Trace *types.ConnectionDiagnosticTrace `protobuf:"bytes,2,opt,name=Trace,proto3" json:"trace"` 13860 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13861 XXX_unrecognized []byte `json:"-"` 13862 XXX_sizecache int32 `json:"-"` 13863 } 13864 13865 func (m *AppendDiagnosticTraceRequest) Reset() { *m = AppendDiagnosticTraceRequest{} } 13866 func (m *AppendDiagnosticTraceRequest) String() string { return proto.CompactTextString(m) } 13867 func (*AppendDiagnosticTraceRequest) ProtoMessage() {} 13868 func (*AppendDiagnosticTraceRequest) Descriptor() ([]byte, []int) { 13869 return fileDescriptor_0ffcffcda38ae159, []int{208} 13870 } 13871 func (m *AppendDiagnosticTraceRequest) XXX_Unmarshal(b []byte) error { 13872 return m.Unmarshal(b) 13873 } 13874 func (m *AppendDiagnosticTraceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13875 if deterministic { 13876 return xxx_messageInfo_AppendDiagnosticTraceRequest.Marshal(b, m, deterministic) 13877 } else { 13878 b = b[:cap(b)] 13879 n, err := m.MarshalToSizedBuffer(b) 13880 if err != nil { 13881 return nil, err 13882 } 13883 return b[:n], nil 13884 } 13885 } 13886 func (m *AppendDiagnosticTraceRequest) XXX_Merge(src proto.Message) { 13887 xxx_messageInfo_AppendDiagnosticTraceRequest.Merge(m, src) 13888 } 13889 func (m *AppendDiagnosticTraceRequest) XXX_Size() int { 13890 return m.Size() 13891 } 13892 func (m *AppendDiagnosticTraceRequest) XXX_DiscardUnknown() { 13893 xxx_messageInfo_AppendDiagnosticTraceRequest.DiscardUnknown(m) 13894 } 13895 13896 var xxx_messageInfo_AppendDiagnosticTraceRequest proto.InternalMessageInfo 13897 13898 func (m *AppendDiagnosticTraceRequest) GetName() string { 13899 if m != nil { 13900 return m.Name 13901 } 13902 return "" 13903 } 13904 13905 func (m *AppendDiagnosticTraceRequest) GetTrace() *types.ConnectionDiagnosticTrace { 13906 if m != nil { 13907 return m.Trace 13908 } 13909 return nil 13910 } 13911 13912 // SubmitUsageEventRequest is used to submit an external usage event. 13913 type SubmitUsageEventRequest struct { 13914 Event *v12.UsageEventOneOf `protobuf:"bytes,1,opt,name=Event,proto3" json:"event"` 13915 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13916 XXX_unrecognized []byte `json:"-"` 13917 XXX_sizecache int32 `json:"-"` 13918 } 13919 13920 func (m *SubmitUsageEventRequest) Reset() { *m = SubmitUsageEventRequest{} } 13921 func (m *SubmitUsageEventRequest) String() string { return proto.CompactTextString(m) } 13922 func (*SubmitUsageEventRequest) ProtoMessage() {} 13923 func (*SubmitUsageEventRequest) Descriptor() ([]byte, []int) { 13924 return fileDescriptor_0ffcffcda38ae159, []int{209} 13925 } 13926 func (m *SubmitUsageEventRequest) XXX_Unmarshal(b []byte) error { 13927 return m.Unmarshal(b) 13928 } 13929 func (m *SubmitUsageEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13930 if deterministic { 13931 return xxx_messageInfo_SubmitUsageEventRequest.Marshal(b, m, deterministic) 13932 } else { 13933 b = b[:cap(b)] 13934 n, err := m.MarshalToSizedBuffer(b) 13935 if err != nil { 13936 return nil, err 13937 } 13938 return b[:n], nil 13939 } 13940 } 13941 func (m *SubmitUsageEventRequest) XXX_Merge(src proto.Message) { 13942 xxx_messageInfo_SubmitUsageEventRequest.Merge(m, src) 13943 } 13944 func (m *SubmitUsageEventRequest) XXX_Size() int { 13945 return m.Size() 13946 } 13947 func (m *SubmitUsageEventRequest) XXX_DiscardUnknown() { 13948 xxx_messageInfo_SubmitUsageEventRequest.DiscardUnknown(m) 13949 } 13950 13951 var xxx_messageInfo_SubmitUsageEventRequest proto.InternalMessageInfo 13952 13953 func (m *SubmitUsageEventRequest) GetEvent() *v12.UsageEventOneOf { 13954 if m != nil { 13955 return m.Event 13956 } 13957 return nil 13958 } 13959 13960 // GetLicenseEvent is used to submit an external usage event. 13961 type GetLicenseRequest struct { 13962 XXX_NoUnkeyedLiteral struct{} `json:"-"` 13963 XXX_unrecognized []byte `json:"-"` 13964 XXX_sizecache int32 `json:"-"` 13965 } 13966 13967 func (m *GetLicenseRequest) Reset() { *m = GetLicenseRequest{} } 13968 func (m *GetLicenseRequest) String() string { return proto.CompactTextString(m) } 13969 func (*GetLicenseRequest) ProtoMessage() {} 13970 func (*GetLicenseRequest) Descriptor() ([]byte, []int) { 13971 return fileDescriptor_0ffcffcda38ae159, []int{210} 13972 } 13973 func (m *GetLicenseRequest) XXX_Unmarshal(b []byte) error { 13974 return m.Unmarshal(b) 13975 } 13976 func (m *GetLicenseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 13977 if deterministic { 13978 return xxx_messageInfo_GetLicenseRequest.Marshal(b, m, deterministic) 13979 } else { 13980 b = b[:cap(b)] 13981 n, err := m.MarshalToSizedBuffer(b) 13982 if err != nil { 13983 return nil, err 13984 } 13985 return b[:n], nil 13986 } 13987 } 13988 func (m *GetLicenseRequest) XXX_Merge(src proto.Message) { 13989 xxx_messageInfo_GetLicenseRequest.Merge(m, src) 13990 } 13991 func (m *GetLicenseRequest) XXX_Size() int { 13992 return m.Size() 13993 } 13994 func (m *GetLicenseRequest) XXX_DiscardUnknown() { 13995 xxx_messageInfo_GetLicenseRequest.DiscardUnknown(m) 13996 } 13997 13998 var xxx_messageInfo_GetLicenseRequest proto.InternalMessageInfo 13999 14000 // GetLicenseEvent is used to submit an external usage event. 14001 type ListReleasesRequest struct { 14002 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14003 XXX_unrecognized []byte `json:"-"` 14004 XXX_sizecache int32 `json:"-"` 14005 } 14006 14007 func (m *ListReleasesRequest) Reset() { *m = ListReleasesRequest{} } 14008 func (m *ListReleasesRequest) String() string { return proto.CompactTextString(m) } 14009 func (*ListReleasesRequest) ProtoMessage() {} 14010 func (*ListReleasesRequest) Descriptor() ([]byte, []int) { 14011 return fileDescriptor_0ffcffcda38ae159, []int{211} 14012 } 14013 func (m *ListReleasesRequest) XXX_Unmarshal(b []byte) error { 14014 return m.Unmarshal(b) 14015 } 14016 func (m *ListReleasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14017 if deterministic { 14018 return xxx_messageInfo_ListReleasesRequest.Marshal(b, m, deterministic) 14019 } else { 14020 b = b[:cap(b)] 14021 n, err := m.MarshalToSizedBuffer(b) 14022 if err != nil { 14023 return nil, err 14024 } 14025 return b[:n], nil 14026 } 14027 } 14028 func (m *ListReleasesRequest) XXX_Merge(src proto.Message) { 14029 xxx_messageInfo_ListReleasesRequest.Merge(m, src) 14030 } 14031 func (m *ListReleasesRequest) XXX_Size() int { 14032 return m.Size() 14033 } 14034 func (m *ListReleasesRequest) XXX_DiscardUnknown() { 14035 xxx_messageInfo_ListReleasesRequest.DiscardUnknown(m) 14036 } 14037 14038 var xxx_messageInfo_ListReleasesRequest proto.InternalMessageInfo 14039 14040 // CreateTokenV2Request is used with CreateTokenV2 to create tokens in the 14041 // backend. 14042 type CreateTokenV2Request struct { 14043 // Types that are valid to be assigned to Token: 14044 // *CreateTokenV2Request_V2 14045 Token isCreateTokenV2Request_Token `protobuf_oneof:"Token"` 14046 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14047 XXX_unrecognized []byte `json:"-"` 14048 XXX_sizecache int32 `json:"-"` 14049 } 14050 14051 func (m *CreateTokenV2Request) Reset() { *m = CreateTokenV2Request{} } 14052 func (m *CreateTokenV2Request) String() string { return proto.CompactTextString(m) } 14053 func (*CreateTokenV2Request) ProtoMessage() {} 14054 func (*CreateTokenV2Request) Descriptor() ([]byte, []int) { 14055 return fileDescriptor_0ffcffcda38ae159, []int{212} 14056 } 14057 func (m *CreateTokenV2Request) XXX_Unmarshal(b []byte) error { 14058 return m.Unmarshal(b) 14059 } 14060 func (m *CreateTokenV2Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14061 if deterministic { 14062 return xxx_messageInfo_CreateTokenV2Request.Marshal(b, m, deterministic) 14063 } else { 14064 b = b[:cap(b)] 14065 n, err := m.MarshalToSizedBuffer(b) 14066 if err != nil { 14067 return nil, err 14068 } 14069 return b[:n], nil 14070 } 14071 } 14072 func (m *CreateTokenV2Request) XXX_Merge(src proto.Message) { 14073 xxx_messageInfo_CreateTokenV2Request.Merge(m, src) 14074 } 14075 func (m *CreateTokenV2Request) XXX_Size() int { 14076 return m.Size() 14077 } 14078 func (m *CreateTokenV2Request) XXX_DiscardUnknown() { 14079 xxx_messageInfo_CreateTokenV2Request.DiscardUnknown(m) 14080 } 14081 14082 var xxx_messageInfo_CreateTokenV2Request proto.InternalMessageInfo 14083 14084 type isCreateTokenV2Request_Token interface { 14085 isCreateTokenV2Request_Token() 14086 MarshalTo([]byte) (int, error) 14087 Size() int 14088 } 14089 14090 type CreateTokenV2Request_V2 struct { 14091 V2 *types.ProvisionTokenV2 `protobuf:"bytes,1,opt,name=V2,proto3,oneof" json:"v2,omitempty"` 14092 } 14093 14094 func (*CreateTokenV2Request_V2) isCreateTokenV2Request_Token() {} 14095 14096 func (m *CreateTokenV2Request) GetToken() isCreateTokenV2Request_Token { 14097 if m != nil { 14098 return m.Token 14099 } 14100 return nil 14101 } 14102 14103 func (m *CreateTokenV2Request) GetV2() *types.ProvisionTokenV2 { 14104 if x, ok := m.GetToken().(*CreateTokenV2Request_V2); ok { 14105 return x.V2 14106 } 14107 return nil 14108 } 14109 14110 // XXX_OneofWrappers is for the internal use of the proto package. 14111 func (*CreateTokenV2Request) XXX_OneofWrappers() []interface{} { 14112 return []interface{}{ 14113 (*CreateTokenV2Request_V2)(nil), 14114 } 14115 } 14116 14117 // UpsertTokenV2Request is used with UpsertTokenV2 to upsert tokens in the 14118 // backend. 14119 type UpsertTokenV2Request struct { 14120 // Types that are valid to be assigned to Token: 14121 // *UpsertTokenV2Request_V2 14122 Token isUpsertTokenV2Request_Token `protobuf_oneof:"Token"` 14123 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14124 XXX_unrecognized []byte `json:"-"` 14125 XXX_sizecache int32 `json:"-"` 14126 } 14127 14128 func (m *UpsertTokenV2Request) Reset() { *m = UpsertTokenV2Request{} } 14129 func (m *UpsertTokenV2Request) String() string { return proto.CompactTextString(m) } 14130 func (*UpsertTokenV2Request) ProtoMessage() {} 14131 func (*UpsertTokenV2Request) Descriptor() ([]byte, []int) { 14132 return fileDescriptor_0ffcffcda38ae159, []int{213} 14133 } 14134 func (m *UpsertTokenV2Request) XXX_Unmarshal(b []byte) error { 14135 return m.Unmarshal(b) 14136 } 14137 func (m *UpsertTokenV2Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14138 if deterministic { 14139 return xxx_messageInfo_UpsertTokenV2Request.Marshal(b, m, deterministic) 14140 } else { 14141 b = b[:cap(b)] 14142 n, err := m.MarshalToSizedBuffer(b) 14143 if err != nil { 14144 return nil, err 14145 } 14146 return b[:n], nil 14147 } 14148 } 14149 func (m *UpsertTokenV2Request) XXX_Merge(src proto.Message) { 14150 xxx_messageInfo_UpsertTokenV2Request.Merge(m, src) 14151 } 14152 func (m *UpsertTokenV2Request) XXX_Size() int { 14153 return m.Size() 14154 } 14155 func (m *UpsertTokenV2Request) XXX_DiscardUnknown() { 14156 xxx_messageInfo_UpsertTokenV2Request.DiscardUnknown(m) 14157 } 14158 14159 var xxx_messageInfo_UpsertTokenV2Request proto.InternalMessageInfo 14160 14161 type isUpsertTokenV2Request_Token interface { 14162 isUpsertTokenV2Request_Token() 14163 MarshalTo([]byte) (int, error) 14164 Size() int 14165 } 14166 14167 type UpsertTokenV2Request_V2 struct { 14168 V2 *types.ProvisionTokenV2 `protobuf:"bytes,1,opt,name=V2,proto3,oneof" json:"v2,omitempty"` 14169 } 14170 14171 func (*UpsertTokenV2Request_V2) isUpsertTokenV2Request_Token() {} 14172 14173 func (m *UpsertTokenV2Request) GetToken() isUpsertTokenV2Request_Token { 14174 if m != nil { 14175 return m.Token 14176 } 14177 return nil 14178 } 14179 14180 func (m *UpsertTokenV2Request) GetV2() *types.ProvisionTokenV2 { 14181 if x, ok := m.GetToken().(*UpsertTokenV2Request_V2); ok { 14182 return x.V2 14183 } 14184 return nil 14185 } 14186 14187 // XXX_OneofWrappers is for the internal use of the proto package. 14188 func (*UpsertTokenV2Request) XXX_OneofWrappers() []interface{} { 14189 return []interface{}{ 14190 (*UpsertTokenV2Request_V2)(nil), 14191 } 14192 } 14193 14194 // Request for GetHeadlessAuthentication. 14195 type GetHeadlessAuthenticationRequest struct { 14196 // ID is the headless authentication id. 14197 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 14198 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14199 XXX_unrecognized []byte `json:"-"` 14200 XXX_sizecache int32 `json:"-"` 14201 } 14202 14203 func (m *GetHeadlessAuthenticationRequest) Reset() { *m = GetHeadlessAuthenticationRequest{} } 14204 func (m *GetHeadlessAuthenticationRequest) String() string { return proto.CompactTextString(m) } 14205 func (*GetHeadlessAuthenticationRequest) ProtoMessage() {} 14206 func (*GetHeadlessAuthenticationRequest) Descriptor() ([]byte, []int) { 14207 return fileDescriptor_0ffcffcda38ae159, []int{214} 14208 } 14209 func (m *GetHeadlessAuthenticationRequest) XXX_Unmarshal(b []byte) error { 14210 return m.Unmarshal(b) 14211 } 14212 func (m *GetHeadlessAuthenticationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14213 if deterministic { 14214 return xxx_messageInfo_GetHeadlessAuthenticationRequest.Marshal(b, m, deterministic) 14215 } else { 14216 b = b[:cap(b)] 14217 n, err := m.MarshalToSizedBuffer(b) 14218 if err != nil { 14219 return nil, err 14220 } 14221 return b[:n], nil 14222 } 14223 } 14224 func (m *GetHeadlessAuthenticationRequest) XXX_Merge(src proto.Message) { 14225 xxx_messageInfo_GetHeadlessAuthenticationRequest.Merge(m, src) 14226 } 14227 func (m *GetHeadlessAuthenticationRequest) XXX_Size() int { 14228 return m.Size() 14229 } 14230 func (m *GetHeadlessAuthenticationRequest) XXX_DiscardUnknown() { 14231 xxx_messageInfo_GetHeadlessAuthenticationRequest.DiscardUnknown(m) 14232 } 14233 14234 var xxx_messageInfo_GetHeadlessAuthenticationRequest proto.InternalMessageInfo 14235 14236 func (m *GetHeadlessAuthenticationRequest) GetId() string { 14237 if m != nil { 14238 return m.Id 14239 } 14240 return "" 14241 } 14242 14243 // Request for UpdateHeadlessAuthenticationState. 14244 type UpdateHeadlessAuthenticationStateRequest struct { 14245 // ID is the headless authentication id. 14246 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 14247 // State is the state that the request will be updated to. 14248 // MFA verification is required if State=APPROVED. 14249 State types.HeadlessAuthenticationState `protobuf:"varint,2,opt,name=state,proto3,enum=types.HeadlessAuthenticationState" json:"state,omitempty"` 14250 // MFAResponse is an mfa challenge response used to verify the user. 14251 // MFA Auth Challenges can be created for a user with the 14252 // authservice.GenerateAuthenticateChallenge rpc. 14253 MfaResponse *MFAAuthenticateResponse `protobuf:"bytes,3,opt,name=mfa_response,json=mfaResponse,proto3" json:"mfa_response,omitempty"` 14254 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14255 XXX_unrecognized []byte `json:"-"` 14256 XXX_sizecache int32 `json:"-"` 14257 } 14258 14259 func (m *UpdateHeadlessAuthenticationStateRequest) Reset() { 14260 *m = UpdateHeadlessAuthenticationStateRequest{} 14261 } 14262 func (m *UpdateHeadlessAuthenticationStateRequest) String() string { return proto.CompactTextString(m) } 14263 func (*UpdateHeadlessAuthenticationStateRequest) ProtoMessage() {} 14264 func (*UpdateHeadlessAuthenticationStateRequest) Descriptor() ([]byte, []int) { 14265 return fileDescriptor_0ffcffcda38ae159, []int{215} 14266 } 14267 func (m *UpdateHeadlessAuthenticationStateRequest) XXX_Unmarshal(b []byte) error { 14268 return m.Unmarshal(b) 14269 } 14270 func (m *UpdateHeadlessAuthenticationStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14271 if deterministic { 14272 return xxx_messageInfo_UpdateHeadlessAuthenticationStateRequest.Marshal(b, m, deterministic) 14273 } else { 14274 b = b[:cap(b)] 14275 n, err := m.MarshalToSizedBuffer(b) 14276 if err != nil { 14277 return nil, err 14278 } 14279 return b[:n], nil 14280 } 14281 } 14282 func (m *UpdateHeadlessAuthenticationStateRequest) XXX_Merge(src proto.Message) { 14283 xxx_messageInfo_UpdateHeadlessAuthenticationStateRequest.Merge(m, src) 14284 } 14285 func (m *UpdateHeadlessAuthenticationStateRequest) XXX_Size() int { 14286 return m.Size() 14287 } 14288 func (m *UpdateHeadlessAuthenticationStateRequest) XXX_DiscardUnknown() { 14289 xxx_messageInfo_UpdateHeadlessAuthenticationStateRequest.DiscardUnknown(m) 14290 } 14291 14292 var xxx_messageInfo_UpdateHeadlessAuthenticationStateRequest proto.InternalMessageInfo 14293 14294 func (m *UpdateHeadlessAuthenticationStateRequest) GetId() string { 14295 if m != nil { 14296 return m.Id 14297 } 14298 return "" 14299 } 14300 14301 func (m *UpdateHeadlessAuthenticationStateRequest) GetState() types.HeadlessAuthenticationState { 14302 if m != nil { 14303 return m.State 14304 } 14305 return types.HeadlessAuthenticationState_HEADLESS_AUTHENTICATION_STATE_UNSPECIFIED 14306 } 14307 14308 func (m *UpdateHeadlessAuthenticationStateRequest) GetMfaResponse() *MFAAuthenticateResponse { 14309 if m != nil { 14310 return m.MfaResponse 14311 } 14312 return nil 14313 } 14314 14315 // ExportUpgradeWindowsRequest encodes parameters for loading the 14316 // upgrader-facing representations of upcoming agent maintenance windows. 14317 type ExportUpgradeWindowsRequest struct { 14318 // TeleportVersion is the version of the teleport client making the request. 14319 TeleportVersion string `protobuf:"bytes,1,opt,name=TeleportVersion,proto3" json:"TeleportVersion,omitempty"` 14320 // UpgraderKind represents the kind of upgrader the schedule is intended for. 14321 UpgraderKind string `protobuf:"bytes,2,opt,name=UpgraderKind,proto3" json:"UpgraderKind,omitempty"` 14322 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14323 XXX_unrecognized []byte `json:"-"` 14324 XXX_sizecache int32 `json:"-"` 14325 } 14326 14327 func (m *ExportUpgradeWindowsRequest) Reset() { *m = ExportUpgradeWindowsRequest{} } 14328 func (m *ExportUpgradeWindowsRequest) String() string { return proto.CompactTextString(m) } 14329 func (*ExportUpgradeWindowsRequest) ProtoMessage() {} 14330 func (*ExportUpgradeWindowsRequest) Descriptor() ([]byte, []int) { 14331 return fileDescriptor_0ffcffcda38ae159, []int{216} 14332 } 14333 func (m *ExportUpgradeWindowsRequest) XXX_Unmarshal(b []byte) error { 14334 return m.Unmarshal(b) 14335 } 14336 func (m *ExportUpgradeWindowsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14337 if deterministic { 14338 return xxx_messageInfo_ExportUpgradeWindowsRequest.Marshal(b, m, deterministic) 14339 } else { 14340 b = b[:cap(b)] 14341 n, err := m.MarshalToSizedBuffer(b) 14342 if err != nil { 14343 return nil, err 14344 } 14345 return b[:n], nil 14346 } 14347 } 14348 func (m *ExportUpgradeWindowsRequest) XXX_Merge(src proto.Message) { 14349 xxx_messageInfo_ExportUpgradeWindowsRequest.Merge(m, src) 14350 } 14351 func (m *ExportUpgradeWindowsRequest) XXX_Size() int { 14352 return m.Size() 14353 } 14354 func (m *ExportUpgradeWindowsRequest) XXX_DiscardUnknown() { 14355 xxx_messageInfo_ExportUpgradeWindowsRequest.DiscardUnknown(m) 14356 } 14357 14358 var xxx_messageInfo_ExportUpgradeWindowsRequest proto.InternalMessageInfo 14359 14360 func (m *ExportUpgradeWindowsRequest) GetTeleportVersion() string { 14361 if m != nil { 14362 return m.TeleportVersion 14363 } 14364 return "" 14365 } 14366 14367 func (m *ExportUpgradeWindowsRequest) GetUpgraderKind() string { 14368 if m != nil { 14369 return m.UpgraderKind 14370 } 14371 return "" 14372 } 14373 14374 // ExportUpgradeWindowsResponse encodes an upgrader-facing representation 14375 // of upcoming agent maintenance windows. Teleport agents periodically export these 14376 // schedules to external upgraders as part of the externally-managed upgrade system. 14377 type ExportUpgradeWindowsResponse struct { 14378 // CanonicalSchedule is the teleport-facing schedule repr. 14379 CanonicalSchedule *types.AgentUpgradeSchedule `protobuf:"bytes,1,opt,name=CanonicalSchedule,proto3" json:"CanonicalSchedule,omitempty"` 14380 // KubeControllerSchedule encodes upcoming upgrade upgrade windows in a format known 14381 // to the kube upgrade controller. Teleport agents should treat this value as an 14382 // opaque blob. 14383 KubeControllerSchedule string `protobuf:"bytes,2,opt,name=KubeControllerSchedule,proto3" json:"KubeControllerSchedule,omitempty"` 14384 // SystemdUnitSchedule encodes the upcoming upgrade windows in a format known to 14385 // the teleport-upgrade systemd unit. Teleport agents should treat this value as an 14386 // opaque blob. 14387 SystemdUnitSchedule string `protobuf:"bytes,3,opt,name=SystemdUnitSchedule,proto3" json:"SystemdUnitSchedule,omitempty"` 14388 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14389 XXX_unrecognized []byte `json:"-"` 14390 XXX_sizecache int32 `json:"-"` 14391 } 14392 14393 func (m *ExportUpgradeWindowsResponse) Reset() { *m = ExportUpgradeWindowsResponse{} } 14394 func (m *ExportUpgradeWindowsResponse) String() string { return proto.CompactTextString(m) } 14395 func (*ExportUpgradeWindowsResponse) ProtoMessage() {} 14396 func (*ExportUpgradeWindowsResponse) Descriptor() ([]byte, []int) { 14397 return fileDescriptor_0ffcffcda38ae159, []int{217} 14398 } 14399 func (m *ExportUpgradeWindowsResponse) XXX_Unmarshal(b []byte) error { 14400 return m.Unmarshal(b) 14401 } 14402 func (m *ExportUpgradeWindowsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14403 if deterministic { 14404 return xxx_messageInfo_ExportUpgradeWindowsResponse.Marshal(b, m, deterministic) 14405 } else { 14406 b = b[:cap(b)] 14407 n, err := m.MarshalToSizedBuffer(b) 14408 if err != nil { 14409 return nil, err 14410 } 14411 return b[:n], nil 14412 } 14413 } 14414 func (m *ExportUpgradeWindowsResponse) XXX_Merge(src proto.Message) { 14415 xxx_messageInfo_ExportUpgradeWindowsResponse.Merge(m, src) 14416 } 14417 func (m *ExportUpgradeWindowsResponse) XXX_Size() int { 14418 return m.Size() 14419 } 14420 func (m *ExportUpgradeWindowsResponse) XXX_DiscardUnknown() { 14421 xxx_messageInfo_ExportUpgradeWindowsResponse.DiscardUnknown(m) 14422 } 14423 14424 var xxx_messageInfo_ExportUpgradeWindowsResponse proto.InternalMessageInfo 14425 14426 func (m *ExportUpgradeWindowsResponse) GetCanonicalSchedule() *types.AgentUpgradeSchedule { 14427 if m != nil { 14428 return m.CanonicalSchedule 14429 } 14430 return nil 14431 } 14432 14433 func (m *ExportUpgradeWindowsResponse) GetKubeControllerSchedule() string { 14434 if m != nil { 14435 return m.KubeControllerSchedule 14436 } 14437 return "" 14438 } 14439 14440 func (m *ExportUpgradeWindowsResponse) GetSystemdUnitSchedule() string { 14441 if m != nil { 14442 return m.SystemdUnitSchedule 14443 } 14444 return "" 14445 } 14446 14447 // ListAccessRequestsRequest encodes the parameters for a paginated access request lookup. 14448 type ListAccessRequestsRequest struct { 14449 // Filter matches access requests. 14450 Filter *types.AccessRequestFilter `protobuf:"bytes,1,opt,name=Filter,proto3" json:"Filter,omitempty"` 14451 // Sort determines the sort order of returned access requests. 14452 Sort AccessRequestSort `protobuf:"varint,2,opt,name=Sort,proto3,enum=proto.AccessRequestSort" json:"Sort,omitempty"` 14453 // Descending requests descending sort order if true (teleport APIs generally always 14454 // defaults to ascending sort order since that is the native sort order used in the 14455 // teleport backend). 14456 Descending bool `protobuf:"varint,3,opt,name=Descending,proto3" json:"Descending,omitempty"` 14457 // Limit is the maximum amount of requests per page. 14458 Limit int32 `protobuf:"varint,4,opt,name=Limit,proto3" json:"Limit,omitempty"` 14459 // StartKey is used to resume a query in order to enable pagination. 14460 // If the previous response had NextKey set then this should be 14461 // set to its value. Otherwise leave empty. 14462 StartKey string `protobuf:"bytes,5,opt,name=StartKey,proto3" json:"StartKey,omitempty"` 14463 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14464 XXX_unrecognized []byte `json:"-"` 14465 XXX_sizecache int32 `json:"-"` 14466 } 14467 14468 func (m *ListAccessRequestsRequest) Reset() { *m = ListAccessRequestsRequest{} } 14469 func (m *ListAccessRequestsRequest) String() string { return proto.CompactTextString(m) } 14470 func (*ListAccessRequestsRequest) ProtoMessage() {} 14471 func (*ListAccessRequestsRequest) Descriptor() ([]byte, []int) { 14472 return fileDescriptor_0ffcffcda38ae159, []int{218} 14473 } 14474 func (m *ListAccessRequestsRequest) XXX_Unmarshal(b []byte) error { 14475 return m.Unmarshal(b) 14476 } 14477 func (m *ListAccessRequestsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14478 if deterministic { 14479 return xxx_messageInfo_ListAccessRequestsRequest.Marshal(b, m, deterministic) 14480 } else { 14481 b = b[:cap(b)] 14482 n, err := m.MarshalToSizedBuffer(b) 14483 if err != nil { 14484 return nil, err 14485 } 14486 return b[:n], nil 14487 } 14488 } 14489 func (m *ListAccessRequestsRequest) XXX_Merge(src proto.Message) { 14490 xxx_messageInfo_ListAccessRequestsRequest.Merge(m, src) 14491 } 14492 func (m *ListAccessRequestsRequest) XXX_Size() int { 14493 return m.Size() 14494 } 14495 func (m *ListAccessRequestsRequest) XXX_DiscardUnknown() { 14496 xxx_messageInfo_ListAccessRequestsRequest.DiscardUnknown(m) 14497 } 14498 14499 var xxx_messageInfo_ListAccessRequestsRequest proto.InternalMessageInfo 14500 14501 func (m *ListAccessRequestsRequest) GetFilter() *types.AccessRequestFilter { 14502 if m != nil { 14503 return m.Filter 14504 } 14505 return nil 14506 } 14507 14508 func (m *ListAccessRequestsRequest) GetSort() AccessRequestSort { 14509 if m != nil { 14510 return m.Sort 14511 } 14512 return AccessRequestSort_DEFAULT 14513 } 14514 14515 func (m *ListAccessRequestsRequest) GetDescending() bool { 14516 if m != nil { 14517 return m.Descending 14518 } 14519 return false 14520 } 14521 14522 func (m *ListAccessRequestsRequest) GetLimit() int32 { 14523 if m != nil { 14524 return m.Limit 14525 } 14526 return 0 14527 } 14528 14529 func (m *ListAccessRequestsRequest) GetStartKey() string { 14530 if m != nil { 14531 return m.StartKey 14532 } 14533 return "" 14534 } 14535 14536 // ListAccessRequestsResponse is a page of access requests. 14537 type ListAccessRequestsResponse struct { 14538 // AccessRequests is a page of access requests. 14539 AccessRequests []*types.AccessRequestV3 `protobuf:"bytes,1,rep,name=AccessRequests,proto3" json:"AccessRequests,omitempty"` 14540 // NextKey will serve as the StartKey for the next page of requests. 14541 NextKey string `protobuf:"bytes,2,opt,name=NextKey,proto3" json:"NextKey,omitempty"` 14542 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14543 XXX_unrecognized []byte `json:"-"` 14544 XXX_sizecache int32 `json:"-"` 14545 } 14546 14547 func (m *ListAccessRequestsResponse) Reset() { *m = ListAccessRequestsResponse{} } 14548 func (m *ListAccessRequestsResponse) String() string { return proto.CompactTextString(m) } 14549 func (*ListAccessRequestsResponse) ProtoMessage() {} 14550 func (*ListAccessRequestsResponse) Descriptor() ([]byte, []int) { 14551 return fileDescriptor_0ffcffcda38ae159, []int{219} 14552 } 14553 func (m *ListAccessRequestsResponse) XXX_Unmarshal(b []byte) error { 14554 return m.Unmarshal(b) 14555 } 14556 func (m *ListAccessRequestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14557 if deterministic { 14558 return xxx_messageInfo_ListAccessRequestsResponse.Marshal(b, m, deterministic) 14559 } else { 14560 b = b[:cap(b)] 14561 n, err := m.MarshalToSizedBuffer(b) 14562 if err != nil { 14563 return nil, err 14564 } 14565 return b[:n], nil 14566 } 14567 } 14568 func (m *ListAccessRequestsResponse) XXX_Merge(src proto.Message) { 14569 xxx_messageInfo_ListAccessRequestsResponse.Merge(m, src) 14570 } 14571 func (m *ListAccessRequestsResponse) XXX_Size() int { 14572 return m.Size() 14573 } 14574 func (m *ListAccessRequestsResponse) XXX_DiscardUnknown() { 14575 xxx_messageInfo_ListAccessRequestsResponse.DiscardUnknown(m) 14576 } 14577 14578 var xxx_messageInfo_ListAccessRequestsResponse proto.InternalMessageInfo 14579 14580 func (m *ListAccessRequestsResponse) GetAccessRequests() []*types.AccessRequestV3 { 14581 if m != nil { 14582 return m.AccessRequests 14583 } 14584 return nil 14585 } 14586 14587 func (m *ListAccessRequestsResponse) GetNextKey() string { 14588 if m != nil { 14589 return m.NextKey 14590 } 14591 return "" 14592 } 14593 14594 // AccessRequestAllowedPromotionRequest is the request to AccessRequestAllowedPromotion RPC call. 14595 type AccessRequestAllowedPromotionRequest struct { 14596 // AccessRequest is the access request to get promotions for. 14597 AccessRequestID string `protobuf:"bytes,1,opt,name=accessRequestID,proto3" json:"accessRequestID,omitempty"` 14598 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14599 XXX_unrecognized []byte `json:"-"` 14600 XXX_sizecache int32 `json:"-"` 14601 } 14602 14603 func (m *AccessRequestAllowedPromotionRequest) Reset() { *m = AccessRequestAllowedPromotionRequest{} } 14604 func (m *AccessRequestAllowedPromotionRequest) String() string { return proto.CompactTextString(m) } 14605 func (*AccessRequestAllowedPromotionRequest) ProtoMessage() {} 14606 func (*AccessRequestAllowedPromotionRequest) Descriptor() ([]byte, []int) { 14607 return fileDescriptor_0ffcffcda38ae159, []int{220} 14608 } 14609 func (m *AccessRequestAllowedPromotionRequest) XXX_Unmarshal(b []byte) error { 14610 return m.Unmarshal(b) 14611 } 14612 func (m *AccessRequestAllowedPromotionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14613 if deterministic { 14614 return xxx_messageInfo_AccessRequestAllowedPromotionRequest.Marshal(b, m, deterministic) 14615 } else { 14616 b = b[:cap(b)] 14617 n, err := m.MarshalToSizedBuffer(b) 14618 if err != nil { 14619 return nil, err 14620 } 14621 return b[:n], nil 14622 } 14623 } 14624 func (m *AccessRequestAllowedPromotionRequest) XXX_Merge(src proto.Message) { 14625 xxx_messageInfo_AccessRequestAllowedPromotionRequest.Merge(m, src) 14626 } 14627 func (m *AccessRequestAllowedPromotionRequest) XXX_Size() int { 14628 return m.Size() 14629 } 14630 func (m *AccessRequestAllowedPromotionRequest) XXX_DiscardUnknown() { 14631 xxx_messageInfo_AccessRequestAllowedPromotionRequest.DiscardUnknown(m) 14632 } 14633 14634 var xxx_messageInfo_AccessRequestAllowedPromotionRequest proto.InternalMessageInfo 14635 14636 func (m *AccessRequestAllowedPromotionRequest) GetAccessRequestID() string { 14637 if m != nil { 14638 return m.AccessRequestID 14639 } 14640 return "" 14641 } 14642 14643 // AccessRequestAllowedPromotionResponse is the response to AccessRequestAllowedPromotion RPC call. 14644 type AccessRequestAllowedPromotionResponse struct { 14645 // allowedPromotions is the list of allowed promotions for the access request. 14646 AllowedPromotions *types.AccessRequestAllowedPromotions `protobuf:"bytes,1,opt,name=allowedPromotions,proto3" json:"allowedPromotions,omitempty"` 14647 XXX_NoUnkeyedLiteral struct{} `json:"-"` 14648 XXX_unrecognized []byte `json:"-"` 14649 XXX_sizecache int32 `json:"-"` 14650 } 14651 14652 func (m *AccessRequestAllowedPromotionResponse) Reset() { *m = AccessRequestAllowedPromotionResponse{} } 14653 func (m *AccessRequestAllowedPromotionResponse) String() string { return proto.CompactTextString(m) } 14654 func (*AccessRequestAllowedPromotionResponse) ProtoMessage() {} 14655 func (*AccessRequestAllowedPromotionResponse) Descriptor() ([]byte, []int) { 14656 return fileDescriptor_0ffcffcda38ae159, []int{221} 14657 } 14658 func (m *AccessRequestAllowedPromotionResponse) XXX_Unmarshal(b []byte) error { 14659 return m.Unmarshal(b) 14660 } 14661 func (m *AccessRequestAllowedPromotionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 14662 if deterministic { 14663 return xxx_messageInfo_AccessRequestAllowedPromotionResponse.Marshal(b, m, deterministic) 14664 } else { 14665 b = b[:cap(b)] 14666 n, err := m.MarshalToSizedBuffer(b) 14667 if err != nil { 14668 return nil, err 14669 } 14670 return b[:n], nil 14671 } 14672 } 14673 func (m *AccessRequestAllowedPromotionResponse) XXX_Merge(src proto.Message) { 14674 xxx_messageInfo_AccessRequestAllowedPromotionResponse.Merge(m, src) 14675 } 14676 func (m *AccessRequestAllowedPromotionResponse) XXX_Size() int { 14677 return m.Size() 14678 } 14679 func (m *AccessRequestAllowedPromotionResponse) XXX_DiscardUnknown() { 14680 xxx_messageInfo_AccessRequestAllowedPromotionResponse.DiscardUnknown(m) 14681 } 14682 14683 var xxx_messageInfo_AccessRequestAllowedPromotionResponse proto.InternalMessageInfo 14684 14685 func (m *AccessRequestAllowedPromotionResponse) GetAllowedPromotions() *types.AccessRequestAllowedPromotions { 14686 if m != nil { 14687 return m.AllowedPromotions 14688 } 14689 return nil 14690 } 14691 14692 func init() { 14693 proto.RegisterEnum("proto.ProductType", ProductType_name, ProductType_value) 14694 proto.RegisterEnum("proto.SupportType", SupportType_name, SupportType_value) 14695 proto.RegisterEnum("proto.DeviceType", DeviceType_name, DeviceType_value) 14696 proto.RegisterEnum("proto.DeviceUsage", DeviceUsage_name, DeviceUsage_value) 14697 proto.RegisterEnum("proto.MFARequired", MFARequired_name, MFARequired_value) 14698 proto.RegisterEnum("proto.Order", Order_name, Order_value) 14699 proto.RegisterEnum("proto.LabelUpdateKind", LabelUpdateKind_name, LabelUpdateKind_value) 14700 proto.RegisterEnum("proto.AccessRequestSort", AccessRequestSort_name, AccessRequestSort_value) 14701 proto.RegisterEnum("proto.UserCertsRequest_CertUsage", UserCertsRequest_CertUsage_name, UserCertsRequest_CertUsage_value) 14702 proto.RegisterEnum("proto.UserCertsRequest_Requester", UserCertsRequest_Requester_name, UserCertsRequest_Requester_value) 14703 proto.RegisterEnum("proto.UserCertsRequest_CertPurpose", UserCertsRequest_CertPurpose_name, UserCertsRequest_CertPurpose_value) 14704 proto.RegisterEnum("proto.DatabaseCertRequest_Requester", DatabaseCertRequest_Requester_name, DatabaseCertRequest_Requester_value) 14705 proto.RegisterEnum("proto.DatabaseCertRequest_Extensions", DatabaseCertRequest_Extensions_name, DatabaseCertRequest_Extensions_value) 14706 proto.RegisterType((*Watch)(nil), "proto.Watch") 14707 proto.RegisterType((*HostCertsRequest)(nil), "proto.HostCertsRequest") 14708 proto.RegisterType((*OpenSSHCertRequest)(nil), "proto.OpenSSHCertRequest") 14709 proto.RegisterType((*OpenSSHCert)(nil), "proto.OpenSSHCert") 14710 proto.RegisterType((*UserCertsRequest)(nil), "proto.UserCertsRequest") 14711 proto.RegisterType((*RouteToDatabase)(nil), "proto.RouteToDatabase") 14712 proto.RegisterType((*RouteToWindowsDesktop)(nil), "proto.RouteToWindowsDesktop") 14713 proto.RegisterType((*RouteToApp)(nil), "proto.RouteToApp") 14714 proto.RegisterType((*GetUserRequest)(nil), "proto.GetUserRequest") 14715 proto.RegisterType((*GetUsersRequest)(nil), "proto.GetUsersRequest") 14716 proto.RegisterType((*ChangePasswordRequest)(nil), "proto.ChangePasswordRequest") 14717 proto.RegisterType((*PluginDataSeq)(nil), "proto.PluginDataSeq") 14718 proto.RegisterType((*RequestStateSetter)(nil), "proto.RequestStateSetter") 14719 proto.RegisterType((*RequestID)(nil), "proto.RequestID") 14720 proto.RegisterType((*GetResetPasswordTokenRequest)(nil), "proto.GetResetPasswordTokenRequest") 14721 proto.RegisterType((*CreateResetPasswordTokenRequest)(nil), "proto.CreateResetPasswordTokenRequest") 14722 proto.RegisterType((*RenewableCertsRequest)(nil), "proto.RenewableCertsRequest") 14723 proto.RegisterType((*PingRequest)(nil), "proto.PingRequest") 14724 proto.RegisterType((*PingResponse)(nil), "proto.PingResponse") 14725 proto.RegisterType((*Features)(nil), "proto.Features") 14726 proto.RegisterType((*DeviceTrustFeature)(nil), "proto.DeviceTrustFeature") 14727 proto.RegisterType((*AccessRequestsFeature)(nil), "proto.AccessRequestsFeature") 14728 proto.RegisterType((*AccessListFeature)(nil), "proto.AccessListFeature") 14729 proto.RegisterType((*AccessMonitoringFeature)(nil), "proto.AccessMonitoringFeature") 14730 proto.RegisterType((*PolicyFeature)(nil), "proto.PolicyFeature") 14731 proto.RegisterType((*DeleteUserRequest)(nil), "proto.DeleteUserRequest") 14732 proto.RegisterType((*Semaphores)(nil), "proto.Semaphores") 14733 proto.RegisterType((*AuditStreamRequest)(nil), "proto.AuditStreamRequest") 14734 proto.RegisterType((*AuditStreamStatus)(nil), "proto.AuditStreamStatus") 14735 proto.RegisterType((*CreateStream)(nil), "proto.CreateStream") 14736 proto.RegisterType((*ResumeStream)(nil), "proto.ResumeStream") 14737 proto.RegisterType((*CompleteStream)(nil), "proto.CompleteStream") 14738 proto.RegisterType((*FlushAndCloseStream)(nil), "proto.FlushAndCloseStream") 14739 proto.RegisterType((*UpsertApplicationServerRequest)(nil), "proto.UpsertApplicationServerRequest") 14740 proto.RegisterType((*DeleteApplicationServerRequest)(nil), "proto.DeleteApplicationServerRequest") 14741 proto.RegisterType((*DeleteAllApplicationServersRequest)(nil), "proto.DeleteAllApplicationServersRequest") 14742 proto.RegisterType((*GenerateAppTokenRequest)(nil), "proto.GenerateAppTokenRequest") 14743 proto.RegisterMapType((map[string]*wrappers.StringValues)(nil), "proto.GenerateAppTokenRequest.TraitsEntry") 14744 proto.RegisterType((*GenerateAppTokenResponse)(nil), "proto.GenerateAppTokenResponse") 14745 proto.RegisterType((*GetAppSessionRequest)(nil), "proto.GetAppSessionRequest") 14746 proto.RegisterType((*GetAppSessionResponse)(nil), "proto.GetAppSessionResponse") 14747 proto.RegisterType((*ListAppSessionsRequest)(nil), "proto.ListAppSessionsRequest") 14748 proto.RegisterType((*ListAppSessionsResponse)(nil), "proto.ListAppSessionsResponse") 14749 proto.RegisterType((*GetSnowflakeSessionsResponse)(nil), "proto.GetSnowflakeSessionsResponse") 14750 proto.RegisterType((*ListSAMLIdPSessionsRequest)(nil), "proto.ListSAMLIdPSessionsRequest") 14751 proto.RegisterType((*ListSAMLIdPSessionsResponse)(nil), "proto.ListSAMLIdPSessionsResponse") 14752 proto.RegisterType((*CreateAppSessionRequest)(nil), "proto.CreateAppSessionRequest") 14753 proto.RegisterType((*CreateAppSessionResponse)(nil), "proto.CreateAppSessionResponse") 14754 proto.RegisterType((*CreateSnowflakeSessionRequest)(nil), "proto.CreateSnowflakeSessionRequest") 14755 proto.RegisterType((*CreateSnowflakeSessionResponse)(nil), "proto.CreateSnowflakeSessionResponse") 14756 proto.RegisterType((*CreateSAMLIdPSessionRequest)(nil), "proto.CreateSAMLIdPSessionRequest") 14757 proto.RegisterType((*CreateSAMLIdPSessionResponse)(nil), "proto.CreateSAMLIdPSessionResponse") 14758 proto.RegisterType((*GetSnowflakeSessionRequest)(nil), "proto.GetSnowflakeSessionRequest") 14759 proto.RegisterType((*GetSnowflakeSessionResponse)(nil), "proto.GetSnowflakeSessionResponse") 14760 proto.RegisterType((*GetSAMLIdPSessionRequest)(nil), "proto.GetSAMLIdPSessionRequest") 14761 proto.RegisterType((*GetSAMLIdPSessionResponse)(nil), "proto.GetSAMLIdPSessionResponse") 14762 proto.RegisterType((*DeleteAppSessionRequest)(nil), "proto.DeleteAppSessionRequest") 14763 proto.RegisterType((*DeleteSnowflakeSessionRequest)(nil), "proto.DeleteSnowflakeSessionRequest") 14764 proto.RegisterType((*DeleteSAMLIdPSessionRequest)(nil), "proto.DeleteSAMLIdPSessionRequest") 14765 proto.RegisterType((*DeleteUserAppSessionsRequest)(nil), "proto.DeleteUserAppSessionsRequest") 14766 proto.RegisterType((*DeleteUserSAMLIdPSessionsRequest)(nil), "proto.DeleteUserSAMLIdPSessionsRequest") 14767 proto.RegisterType((*GetWebSessionResponse)(nil), "proto.GetWebSessionResponse") 14768 proto.RegisterType((*GetWebSessionsResponse)(nil), "proto.GetWebSessionsResponse") 14769 proto.RegisterType((*GetWebTokenResponse)(nil), "proto.GetWebTokenResponse") 14770 proto.RegisterType((*GetWebTokensResponse)(nil), "proto.GetWebTokensResponse") 14771 proto.RegisterType((*UpsertKubernetesServerRequest)(nil), "proto.UpsertKubernetesServerRequest") 14772 proto.RegisterType((*DeleteKubernetesServerRequest)(nil), "proto.DeleteKubernetesServerRequest") 14773 proto.RegisterType((*DeleteAllKubernetesServersRequest)(nil), "proto.DeleteAllKubernetesServersRequest") 14774 proto.RegisterType((*UpsertDatabaseServerRequest)(nil), "proto.UpsertDatabaseServerRequest") 14775 proto.RegisterType((*DeleteDatabaseServerRequest)(nil), "proto.DeleteDatabaseServerRequest") 14776 proto.RegisterType((*DeleteAllDatabaseServersRequest)(nil), "proto.DeleteAllDatabaseServersRequest") 14777 proto.RegisterType((*DatabaseServiceV1List)(nil), "proto.DatabaseServiceV1List") 14778 proto.RegisterType((*UpsertDatabaseServiceRequest)(nil), "proto.UpsertDatabaseServiceRequest") 14779 proto.RegisterType((*DeleteAllDatabaseServicesRequest)(nil), "proto.DeleteAllDatabaseServicesRequest") 14780 proto.RegisterType((*DatabaseCSRRequest)(nil), "proto.DatabaseCSRRequest") 14781 proto.RegisterType((*DatabaseCSRResponse)(nil), "proto.DatabaseCSRResponse") 14782 proto.RegisterType((*DatabaseCertRequest)(nil), "proto.DatabaseCertRequest") 14783 proto.RegisterType((*DatabaseCertResponse)(nil), "proto.DatabaseCertResponse") 14784 proto.RegisterType((*SnowflakeJWTRequest)(nil), "proto.SnowflakeJWTRequest") 14785 proto.RegisterType((*SnowflakeJWTResponse)(nil), "proto.SnowflakeJWTResponse") 14786 proto.RegisterType((*GetRoleRequest)(nil), "proto.GetRoleRequest") 14787 proto.RegisterType((*GetRolesResponse)(nil), "proto.GetRolesResponse") 14788 proto.RegisterType((*ListRolesRequest)(nil), "proto.ListRolesRequest") 14789 proto.RegisterType((*ListRolesResponse)(nil), "proto.ListRolesResponse") 14790 proto.RegisterType((*CreateRoleRequest)(nil), "proto.CreateRoleRequest") 14791 proto.RegisterType((*UpdateRoleRequest)(nil), "proto.UpdateRoleRequest") 14792 proto.RegisterType((*UpsertRoleRequest)(nil), "proto.UpsertRoleRequest") 14793 proto.RegisterType((*DeleteRoleRequest)(nil), "proto.DeleteRoleRequest") 14794 proto.RegisterType((*MFAAuthenticateChallenge)(nil), "proto.MFAAuthenticateChallenge") 14795 proto.RegisterType((*MFAAuthenticateResponse)(nil), "proto.MFAAuthenticateResponse") 14796 proto.RegisterType((*TOTPChallenge)(nil), "proto.TOTPChallenge") 14797 proto.RegisterType((*TOTPResponse)(nil), "proto.TOTPResponse") 14798 proto.RegisterType((*MFARegisterChallenge)(nil), "proto.MFARegisterChallenge") 14799 proto.RegisterType((*MFARegisterResponse)(nil), "proto.MFARegisterResponse") 14800 proto.RegisterType((*TOTPRegisterChallenge)(nil), "proto.TOTPRegisterChallenge") 14801 proto.RegisterType((*TOTPRegisterResponse)(nil), "proto.TOTPRegisterResponse") 14802 proto.RegisterType((*AddMFADeviceRequest)(nil), "proto.AddMFADeviceRequest") 14803 proto.RegisterType((*AddMFADeviceResponse)(nil), "proto.AddMFADeviceResponse") 14804 proto.RegisterType((*DeleteMFADeviceRequest)(nil), "proto.DeleteMFADeviceRequest") 14805 proto.RegisterType((*DeleteMFADeviceResponse)(nil), "proto.DeleteMFADeviceResponse") 14806 proto.RegisterType((*DeleteMFADeviceSyncRequest)(nil), "proto.DeleteMFADeviceSyncRequest") 14807 proto.RegisterType((*AddMFADeviceSyncRequest)(nil), "proto.AddMFADeviceSyncRequest") 14808 proto.RegisterType((*AddMFADeviceSyncResponse)(nil), "proto.AddMFADeviceSyncResponse") 14809 proto.RegisterType((*GetMFADevicesRequest)(nil), "proto.GetMFADevicesRequest") 14810 proto.RegisterType((*GetMFADevicesResponse)(nil), "proto.GetMFADevicesResponse") 14811 proto.RegisterType((*UserSingleUseCertsRequest)(nil), "proto.UserSingleUseCertsRequest") 14812 proto.RegisterType((*UserSingleUseCertsResponse)(nil), "proto.UserSingleUseCertsResponse") 14813 proto.RegisterType((*IsMFARequiredRequest)(nil), "proto.IsMFARequiredRequest") 14814 proto.RegisterType((*StreamSessionEventsRequest)(nil), "proto.StreamSessionEventsRequest") 14815 proto.RegisterType((*NodeLogin)(nil), "proto.NodeLogin") 14816 proto.RegisterType((*AdminAction)(nil), "proto.AdminAction") 14817 proto.RegisterType((*IsMFARequiredResponse)(nil), "proto.IsMFARequiredResponse") 14818 proto.RegisterType((*GetEventsRequest)(nil), "proto.GetEventsRequest") 14819 proto.RegisterType((*GetSessionEventsRequest)(nil), "proto.GetSessionEventsRequest") 14820 proto.RegisterType((*Events)(nil), "proto.Events") 14821 proto.RegisterType((*GetLocksRequest)(nil), "proto.GetLocksRequest") 14822 proto.RegisterType((*GetLocksResponse)(nil), "proto.GetLocksResponse") 14823 proto.RegisterType((*GetLockRequest)(nil), "proto.GetLockRequest") 14824 proto.RegisterType((*DeleteLockRequest)(nil), "proto.DeleteLockRequest") 14825 proto.RegisterType((*ReplaceRemoteLocksRequest)(nil), "proto.ReplaceRemoteLocksRequest") 14826 proto.RegisterType((*GetWindowsDesktopServicesResponse)(nil), "proto.GetWindowsDesktopServicesResponse") 14827 proto.RegisterType((*GetWindowsDesktopServiceRequest)(nil), "proto.GetWindowsDesktopServiceRequest") 14828 proto.RegisterType((*GetWindowsDesktopServiceResponse)(nil), "proto.GetWindowsDesktopServiceResponse") 14829 proto.RegisterType((*DeleteWindowsDesktopServiceRequest)(nil), "proto.DeleteWindowsDesktopServiceRequest") 14830 proto.RegisterType((*GetWindowsDesktopsResponse)(nil), "proto.GetWindowsDesktopsResponse") 14831 proto.RegisterType((*DeleteWindowsDesktopRequest)(nil), "proto.DeleteWindowsDesktopRequest") 14832 proto.RegisterType((*WindowsDesktopCertRequest)(nil), "proto.WindowsDesktopCertRequest") 14833 proto.RegisterType((*WindowsDesktopCertResponse)(nil), "proto.WindowsDesktopCertResponse") 14834 proto.RegisterType((*ListSAMLIdPServiceProvidersRequest)(nil), "proto.ListSAMLIdPServiceProvidersRequest") 14835 proto.RegisterType((*ListSAMLIdPServiceProvidersResponse)(nil), "proto.ListSAMLIdPServiceProvidersResponse") 14836 proto.RegisterType((*GetSAMLIdPServiceProviderRequest)(nil), "proto.GetSAMLIdPServiceProviderRequest") 14837 proto.RegisterType((*DeleteSAMLIdPServiceProviderRequest)(nil), "proto.DeleteSAMLIdPServiceProviderRequest") 14838 proto.RegisterType((*ListUserGroupsRequest)(nil), "proto.ListUserGroupsRequest") 14839 proto.RegisterType((*ListUserGroupsResponse)(nil), "proto.ListUserGroupsResponse") 14840 proto.RegisterType((*GetUserGroupRequest)(nil), "proto.GetUserGroupRequest") 14841 proto.RegisterType((*DeleteUserGroupRequest)(nil), "proto.DeleteUserGroupRequest") 14842 proto.RegisterType((*CertAuthorityRequest)(nil), "proto.CertAuthorityRequest") 14843 proto.RegisterType((*CRL)(nil), "proto.CRL") 14844 proto.RegisterType((*ChangeUserAuthenticationRequest)(nil), "proto.ChangeUserAuthenticationRequest") 14845 proto.RegisterType((*ChangeUserAuthenticationResponse)(nil), "proto.ChangeUserAuthenticationResponse") 14846 proto.RegisterType((*StartAccountRecoveryRequest)(nil), "proto.StartAccountRecoveryRequest") 14847 proto.RegisterType((*VerifyAccountRecoveryRequest)(nil), "proto.VerifyAccountRecoveryRequest") 14848 proto.RegisterType((*CompleteAccountRecoveryRequest)(nil), "proto.CompleteAccountRecoveryRequest") 14849 proto.RegisterType((*RecoveryCodes)(nil), "proto.RecoveryCodes") 14850 proto.RegisterType((*CreateAccountRecoveryCodesRequest)(nil), "proto.CreateAccountRecoveryCodesRequest") 14851 proto.RegisterType((*GetAccountRecoveryTokenRequest)(nil), "proto.GetAccountRecoveryTokenRequest") 14852 proto.RegisterType((*GetAccountRecoveryCodesRequest)(nil), "proto.GetAccountRecoveryCodesRequest") 14853 proto.RegisterType((*UserCredentials)(nil), "proto.UserCredentials") 14854 proto.RegisterType((*ContextUser)(nil), "proto.ContextUser") 14855 proto.RegisterType((*Passwordless)(nil), "proto.Passwordless") 14856 proto.RegisterType((*CreateAuthenticateChallengeRequest)(nil), "proto.CreateAuthenticateChallengeRequest") 14857 proto.RegisterType((*CreatePrivilegeTokenRequest)(nil), "proto.CreatePrivilegeTokenRequest") 14858 proto.RegisterType((*CreateRegisterChallengeRequest)(nil), "proto.CreateRegisterChallengeRequest") 14859 proto.RegisterType((*PaginatedResource)(nil), "proto.PaginatedResource") 14860 proto.RegisterType((*ListUnifiedResourcesRequest)(nil), "proto.ListUnifiedResourcesRequest") 14861 proto.RegisterMapType((map[string]string)(nil), "proto.ListUnifiedResourcesRequest.LabelsEntry") 14862 proto.RegisterType((*ListUnifiedResourcesResponse)(nil), "proto.ListUnifiedResourcesResponse") 14863 proto.RegisterType((*ListResourcesRequest)(nil), "proto.ListResourcesRequest") 14864 proto.RegisterMapType((map[string]string)(nil), "proto.ListResourcesRequest.LabelsEntry") 14865 proto.RegisterType((*GetSSHTargetsRequest)(nil), "proto.GetSSHTargetsRequest") 14866 proto.RegisterType((*GetSSHTargetsResponse)(nil), "proto.GetSSHTargetsResponse") 14867 proto.RegisterType((*ListResourcesResponse)(nil), "proto.ListResourcesResponse") 14868 proto.RegisterType((*CreateSessionTrackerRequest)(nil), "proto.CreateSessionTrackerRequest") 14869 proto.RegisterType((*GetSessionTrackerRequest)(nil), "proto.GetSessionTrackerRequest") 14870 proto.RegisterType((*RemoveSessionTrackerRequest)(nil), "proto.RemoveSessionTrackerRequest") 14871 proto.RegisterType((*SessionTrackerUpdateState)(nil), "proto.SessionTrackerUpdateState") 14872 proto.RegisterType((*SessionTrackerAddParticipant)(nil), "proto.SessionTrackerAddParticipant") 14873 proto.RegisterType((*SessionTrackerRemoveParticipant)(nil), "proto.SessionTrackerRemoveParticipant") 14874 proto.RegisterType((*SessionTrackerUpdateExpiry)(nil), "proto.SessionTrackerUpdateExpiry") 14875 proto.RegisterType((*UpdateSessionTrackerRequest)(nil), "proto.UpdateSessionTrackerRequest") 14876 proto.RegisterType((*PresenceMFAChallengeRequest)(nil), "proto.PresenceMFAChallengeRequest") 14877 proto.RegisterType((*PresenceMFAChallengeSend)(nil), "proto.PresenceMFAChallengeSend") 14878 proto.RegisterType((*GetDomainNameResponse)(nil), "proto.GetDomainNameResponse") 14879 proto.RegisterType((*GetClusterCACertResponse)(nil), "proto.GetClusterCACertResponse") 14880 proto.RegisterType((*GetLicenseResponse)(nil), "proto.GetLicenseResponse") 14881 proto.RegisterType((*ListReleasesResponse)(nil), "proto.ListReleasesResponse") 14882 proto.RegisterType((*GetOIDCAuthRequestRequest)(nil), "proto.GetOIDCAuthRequestRequest") 14883 proto.RegisterType((*GetSAMLAuthRequestRequest)(nil), "proto.GetSAMLAuthRequestRequest") 14884 proto.RegisterType((*GetGithubAuthRequestRequest)(nil), "proto.GetGithubAuthRequestRequest") 14885 proto.RegisterType((*CreateOIDCConnectorRequest)(nil), "proto.CreateOIDCConnectorRequest") 14886 proto.RegisterType((*UpdateOIDCConnectorRequest)(nil), "proto.UpdateOIDCConnectorRequest") 14887 proto.RegisterType((*UpsertOIDCConnectorRequest)(nil), "proto.UpsertOIDCConnectorRequest") 14888 proto.RegisterType((*CreateSAMLConnectorRequest)(nil), "proto.CreateSAMLConnectorRequest") 14889 proto.RegisterType((*UpdateSAMLConnectorRequest)(nil), "proto.UpdateSAMLConnectorRequest") 14890 proto.RegisterType((*UpsertSAMLConnectorRequest)(nil), "proto.UpsertSAMLConnectorRequest") 14891 proto.RegisterType((*CreateGithubConnectorRequest)(nil), "proto.CreateGithubConnectorRequest") 14892 proto.RegisterType((*UpdateGithubConnectorRequest)(nil), "proto.UpdateGithubConnectorRequest") 14893 proto.RegisterType((*UpsertGithubConnectorRequest)(nil), "proto.UpsertGithubConnectorRequest") 14894 proto.RegisterType((*GetSSODiagnosticInfoRequest)(nil), "proto.GetSSODiagnosticInfoRequest") 14895 proto.RegisterType((*UpstreamInventoryOneOf)(nil), "proto.UpstreamInventoryOneOf") 14896 proto.RegisterType((*DownstreamInventoryOneOf)(nil), "proto.DownstreamInventoryOneOf") 14897 proto.RegisterType((*DownstreamInventoryPing)(nil), "proto.DownstreamInventoryPing") 14898 proto.RegisterType((*UpstreamInventoryPong)(nil), "proto.UpstreamInventoryPong") 14899 proto.RegisterType((*UpstreamInventoryHello)(nil), "proto.UpstreamInventoryHello") 14900 proto.RegisterType((*UpstreamInventoryAgentMetadata)(nil), "proto.UpstreamInventoryAgentMetadata") 14901 proto.RegisterType((*DownstreamInventoryHello)(nil), "proto.DownstreamInventoryHello") 14902 proto.RegisterType((*InventoryUpdateLabelsRequest)(nil), "proto.InventoryUpdateLabelsRequest") 14903 proto.RegisterMapType((map[string]string)(nil), "proto.InventoryUpdateLabelsRequest.LabelsEntry") 14904 proto.RegisterType((*DownstreamInventoryUpdateLabels)(nil), "proto.DownstreamInventoryUpdateLabels") 14905 proto.RegisterMapType((map[string]string)(nil), "proto.DownstreamInventoryUpdateLabels.LabelsEntry") 14906 proto.RegisterType((*InventoryHeartbeat)(nil), "proto.InventoryHeartbeat") 14907 proto.RegisterType((*InventoryStatusRequest)(nil), "proto.InventoryStatusRequest") 14908 proto.RegisterType((*InventoryStatusSummary)(nil), "proto.InventoryStatusSummary") 14909 proto.RegisterMapType((map[string]uint32)(nil), "proto.InventoryStatusSummary.ServiceCountsEntry") 14910 proto.RegisterMapType((map[string]uint32)(nil), "proto.InventoryStatusSummary.UpgraderCountsEntry") 14911 proto.RegisterMapType((map[string]uint32)(nil), "proto.InventoryStatusSummary.VersionCountsEntry") 14912 proto.RegisterType((*InventoryConnectedServiceCountsRequest)(nil), "proto.InventoryConnectedServiceCountsRequest") 14913 proto.RegisterType((*InventoryConnectedServiceCounts)(nil), "proto.InventoryConnectedServiceCounts") 14914 proto.RegisterMapType((map[github_com_gravitational_teleport_api_types.SystemRole]uint64)(nil), "proto.InventoryConnectedServiceCounts.ServiceCountsEntry") 14915 proto.RegisterType((*InventoryPingRequest)(nil), "proto.InventoryPingRequest") 14916 proto.RegisterType((*InventoryPingResponse)(nil), "proto.InventoryPingResponse") 14917 proto.RegisterType((*GetClusterAlertsResponse)(nil), "proto.GetClusterAlertsResponse") 14918 proto.RegisterType((*GetAlertAcksRequest)(nil), "proto.GetAlertAcksRequest") 14919 proto.RegisterType((*GetAlertAcksResponse)(nil), "proto.GetAlertAcksResponse") 14920 proto.RegisterType((*ClearAlertAcksRequest)(nil), "proto.ClearAlertAcksRequest") 14921 proto.RegisterType((*UpsertClusterAlertRequest)(nil), "proto.UpsertClusterAlertRequest") 14922 proto.RegisterType((*GetConnectionDiagnosticRequest)(nil), "proto.GetConnectionDiagnosticRequest") 14923 proto.RegisterType((*AppendDiagnosticTraceRequest)(nil), "proto.AppendDiagnosticTraceRequest") 14924 proto.RegisterType((*SubmitUsageEventRequest)(nil), "proto.SubmitUsageEventRequest") 14925 proto.RegisterType((*GetLicenseRequest)(nil), "proto.GetLicenseRequest") 14926 proto.RegisterType((*ListReleasesRequest)(nil), "proto.ListReleasesRequest") 14927 proto.RegisterType((*CreateTokenV2Request)(nil), "proto.CreateTokenV2Request") 14928 proto.RegisterType((*UpsertTokenV2Request)(nil), "proto.UpsertTokenV2Request") 14929 proto.RegisterType((*GetHeadlessAuthenticationRequest)(nil), "proto.GetHeadlessAuthenticationRequest") 14930 proto.RegisterType((*UpdateHeadlessAuthenticationStateRequest)(nil), "proto.UpdateHeadlessAuthenticationStateRequest") 14931 proto.RegisterType((*ExportUpgradeWindowsRequest)(nil), "proto.ExportUpgradeWindowsRequest") 14932 proto.RegisterType((*ExportUpgradeWindowsResponse)(nil), "proto.ExportUpgradeWindowsResponse") 14933 proto.RegisterType((*ListAccessRequestsRequest)(nil), "proto.ListAccessRequestsRequest") 14934 proto.RegisterType((*ListAccessRequestsResponse)(nil), "proto.ListAccessRequestsResponse") 14935 proto.RegisterType((*AccessRequestAllowedPromotionRequest)(nil), "proto.AccessRequestAllowedPromotionRequest") 14936 proto.RegisterType((*AccessRequestAllowedPromotionResponse)(nil), "proto.AccessRequestAllowedPromotionResponse") 14937 } 14938 14939 func init() { 14940 proto.RegisterFile("teleport/legacy/client/proto/authservice.proto", fileDescriptor_0ffcffcda38ae159) 14941 } 14942 14943 var fileDescriptor_0ffcffcda38ae159 = []byte{ 14944 // 14097 bytes of a gzipped FileDescriptorProto 14945 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0xbd, 0x5d, 0x6c, 0x1c, 0x49, 14946 0x92, 0x18, 0xcc, 0xe6, 0x3f, 0x83, 0x7f, 0xad, 0x24, 0x29, 0x52, 0x14, 0xa5, 0x96, 0x6a, 0xfe, 14947 0x34, 0xda, 0x59, 0x69, 0x44, 0xcd, 0xcc, 0xce, 0xcf, 0xee, 0xcc, 0x36, 0x7f, 0x24, 0x52, 0xe2, 14948 0x4f, 0x4f, 0x35, 0x49, 0xcd, 0xec, 0xce, 0x6d, 0x6f, 0xb1, 0x3b, 0x45, 0xd6, 0xa9, 0x59, 0xd5, 14949 0x5b, 0x55, 0x94, 0x46, 0x7b, 0xdf, 0xdd, 0x87, 0xdb, 0xb3, 0xe1, 0x7b, 0xb1, 0x7d, 0x07, 0xdc, 14950 0x19, 0x67, 0xfb, 0xc1, 0x30, 0x60, 0x03, 0x86, 0x9f, 0xee, 0xc5, 0xbe, 0x17, 0x03, 0x86, 0x9f, 14951 0xbc, 0x36, 0x70, 0xb6, 0x81, 0xbb, 0x7b, 0xf1, 0x03, 0xcf, 0x5e, 0xc0, 0x2f, 0xc4, 0xf9, 0xc1, 14952 0x30, 0x6c, 0xc0, 0x0b, 0x18, 0x30, 0x32, 0xf2, 0xa7, 0x32, 0xeb, 0xaf, 0x49, 0x49, 0xb3, 0xf6, 14953 0x8b, 0xc4, 0xce, 0x8c, 0x88, 0xcc, 0x8c, 0xcc, 0x8a, 0x8c, 0x8c, 0x8c, 0x8c, 0x80, 0x5b, 0x11, 14954 0x6d, 0xd3, 0x8e, 0x1f, 0x44, 0xb7, 0xdb, 0xf4, 0xc0, 0x69, 0x3e, 0xbf, 0xdd, 0x6c, 0xbb, 0xd4, 14955 0x8b, 0x6e, 0x77, 0x02, 0x3f, 0xf2, 0x6f, 0x3b, 0xc7, 0xd1, 0x61, 0x48, 0x83, 0xa7, 0x6e, 0x93, 14956 0xde, 0xc2, 0x12, 0x32, 0x80, 0xff, 0xcd, 0x4f, 0x1f, 0xf8, 0x07, 0x3e, 0x87, 0x61, 0x7f, 0xf1, 14957 0xca, 0xf9, 0xcb, 0x07, 0xbe, 0x7f, 0xd0, 0xa6, 0x1c, 0x79, 0xff, 0xf8, 0xf1, 0x6d, 0x7a, 0xd4, 14958 0x89, 0x9e, 0x8b, 0xca, 0x4a, 0xb2, 0x32, 0x72, 0x8f, 0x68, 0x18, 0x39, 0x47, 0x1d, 0x01, 0xf0, 14959 0xb6, 0xea, 0x8a, 0x13, 0x45, 0xac, 0x26, 0x72, 0x7d, 0xef, 0xf6, 0xd3, 0x3b, 0xfa, 0x4f, 0x01, 14960 0x7a, 0xa3, 0xb0, 0xd7, 0x4d, 0x1a, 0x44, 0xe1, 0x99, 0x20, 0xe9, 0x53, 0xea, 0x45, 0xa9, 0xe6, 14961 0x05, 0x64, 0xf4, 0xbc, 0x43, 0x43, 0x0e, 0x22, 0xff, 0x13, 0xa0, 0xd7, 0xb3, 0x41, 0xf1, 0x5f, 14962 0x01, 0xf2, 0xed, 0x6c, 0x90, 0x67, 0x74, 0x9f, 0xf1, 0xd4, 0x53, 0x7f, 0x74, 0x01, 0x0f, 0x9c, 14963 0x4e, 0x87, 0x06, 0xf1, 0x1f, 0x02, 0xfc, 0x92, 0x02, 0x3f, 0x7a, 0xec, 0x30, 0x16, 0x1d, 0x3d, 14964 0x76, 0x52, 0xc3, 0x38, 0x0e, 0x9d, 0x03, 0x2a, 0xba, 0xff, 0xf4, 0x8e, 0xfe, 0x93, 0x83, 0x5a, 14965 0xff, 0xa0, 0x04, 0x03, 0x8f, 0x9c, 0xa8, 0x79, 0x48, 0x3e, 0x83, 0x81, 0x87, 0xae, 0xd7, 0x0a, 14966 0xe7, 0x4a, 0xd7, 0xfa, 0x6e, 0x8c, 0x2e, 0x96, 0x6f, 0xf1, 0xa1, 0x60, 0x25, 0xab, 0x58, 0x9a, 14967 0xfd, 0xf9, 0x49, 0xa5, 0xe7, 0xf4, 0xa4, 0x32, 0xf9, 0x84, 0x81, 0xbd, 0xe3, 0x1f, 0xb9, 0x11, 14968 0xce, 0xad, 0xcd, 0xf1, 0xc8, 0x2e, 0x4c, 0x55, 0xdb, 0x6d, 0xff, 0x59, 0xcd, 0x09, 0x22, 0xd7, 14969 0x69, 0xd7, 0x8f, 0x9b, 0x4d, 0x1a, 0x86, 0x73, 0xbd, 0xd7, 0x4a, 0x37, 0x86, 0x97, 0x5e, 0x3b, 14970 0x3d, 0xa9, 0x54, 0x1c, 0x56, 0xdd, 0xe8, 0xf0, 0xfa, 0x46, 0xc8, 0x01, 0x34, 0x42, 0x59, 0xf8, 14971 0xd6, 0x5f, 0x0d, 0x40, 0x79, 0xcd, 0x0f, 0xa3, 0x65, 0x36, 0xa3, 0x36, 0xfd, 0xc9, 0x31, 0x0d, 14972 0x23, 0xf2, 0x1a, 0x0c, 0xb2, 0xb2, 0xf5, 0x95, 0xb9, 0xd2, 0xb5, 0xd2, 0x8d, 0x91, 0xa5, 0xd1, 14973 0xd3, 0x93, 0xca, 0xd0, 0xa1, 0x1f, 0x46, 0x0d, 0xb7, 0x65, 0x8b, 0x2a, 0xf2, 0x36, 0x0c, 0x6f, 14974 0xf9, 0x2d, 0xba, 0xe5, 0x1c, 0x51, 0xec, 0xc5, 0xc8, 0xd2, 0xf8, 0xe9, 0x49, 0x65, 0xc4, 0xf3, 14975 0x5b, 0xb4, 0xe1, 0x39, 0x47, 0xd4, 0x56, 0xd5, 0x64, 0x0f, 0xfa, 0x6d, 0xbf, 0x4d, 0xe7, 0xfa, 14976 0x10, 0x6c, 0xe9, 0xf4, 0xa4, 0xd2, 0x1f, 0xf8, 0x6d, 0xfa, 0xcb, 0x93, 0xca, 0x07, 0x07, 0x6e, 14977 0x74, 0x78, 0xbc, 0x7f, 0xab, 0xe9, 0x1f, 0xdd, 0x3e, 0x08, 0x9c, 0xa7, 0x2e, 0x5f, 0x84, 0x4e, 14978 0xfb, 0x76, 0xbc, 0x54, 0x3b, 0xae, 0x98, 0xf7, 0xfa, 0xf3, 0x30, 0xa2, 0x47, 0x8c, 0x92, 0x8d, 14979 0xf4, 0xc8, 0x23, 0x98, 0xae, 0xb6, 0x5a, 0x2e, 0xc7, 0xa8, 0x05, 0xae, 0xd7, 0x74, 0x3b, 0x4e, 14980 0x3b, 0x9c, 0xeb, 0xbf, 0xd6, 0x77, 0x63, 0x44, 0x30, 0x45, 0xd5, 0x37, 0x3a, 0x0a, 0x40, 0x63, 14981 0x4a, 0x26, 0x01, 0x72, 0x17, 0x86, 0x57, 0xb6, 0xea, 0xac, 0xef, 0xe1, 0xdc, 0x00, 0x12, 0x9b, 14982 0x3d, 0x3d, 0xa9, 0x4c, 0xb5, 0xbc, 0x10, 0x87, 0xa6, 0x13, 0x50, 0x80, 0xe4, 0x03, 0x18, 0xab, 14983 0x1d, 0xef, 0xb7, 0xdd, 0xe6, 0xce, 0x46, 0xfd, 0x21, 0x7d, 0x3e, 0x37, 0x78, 0xad, 0x74, 0x63, 14984 0x6c, 0x89, 0x9c, 0x9e, 0x54, 0x26, 0x3a, 0x58, 0xde, 0x88, 0xda, 0x61, 0xe3, 0x09, 0x7d, 0x6e, 14985 0x1b, 0x70, 0x31, 0x5e, 0xbd, 0xbe, 0xc6, 0xf0, 0x86, 0x52, 0x78, 0x61, 0x78, 0xa8, 0xe3, 0x71, 14986 0x38, 0x72, 0x1b, 0xc0, 0xa6, 0x47, 0x7e, 0x44, 0xab, 0xad, 0x56, 0x30, 0x37, 0x8c, 0xbc, 0x9d, 14987 0x3c, 0x3d, 0xa9, 0x8c, 0x06, 0x58, 0xda, 0x70, 0x5a, 0xad, 0xc0, 0xd6, 0x40, 0xc8, 0x32, 0x0c, 14988 0xdb, 0x3e, 0x67, 0xf0, 0xdc, 0xc8, 0xb5, 0xd2, 0x8d, 0xd1, 0xc5, 0x49, 0xb1, 0x0c, 0x65, 0xf1, 14989 0xd2, 0xc5, 0xd3, 0x93, 0x0a, 0x09, 0xc4, 0x2f, 0x7d, 0x94, 0x12, 0x82, 0x54, 0x60, 0x68, 0xcb, 14990 0x5f, 0x76, 0x9a, 0x87, 0x74, 0x0e, 0x70, 0xed, 0x0d, 0x9c, 0x9e, 0x54, 0x4a, 0xdf, 0xb6, 0x65, 14991 0x29, 0x79, 0x0a, 0xa3, 0xf1, 0x44, 0x85, 0x73, 0xa3, 0xc8, 0xbe, 0x9d, 0xd3, 0x93, 0xca, 0xc5, 14992 0x10, 0x8b, 0x1b, 0x6c, 0xea, 0x35, 0x0e, 0xbe, 0xc4, 0x2a, 0xd0, 0x1b, 0x7a, 0xd0, 0x3f, 0x3c, 14993 0x56, 0x1e, 0xb7, 0xaf, 0xec, 0x7a, 0x61, 0xe4, 0xec, 0xb7, 0x69, 0x5c, 0x55, 0x0d, 0x43, 0x1a, 14994 0x30, 0x7a, 0xeb, 0x2b, 0xd6, 0xff, 0x2e, 0x01, 0xd9, 0xee, 0x50, 0xaf, 0x5e, 0x5f, 0x63, 0x2b, 14995 0x5e, 0x2e, 0xf8, 0x77, 0x60, 0x84, 0xb3, 0x96, 0xf1, 0xbf, 0x17, 0xf9, 0x3f, 0x71, 0x7a, 0x52, 14996 0x01, 0xc1, 0x7f, 0xc6, 0xfb, 0x18, 0x80, 0xbc, 0x01, 0x7d, 0x3b, 0x3b, 0x1b, 0xb8, 0x9a, 0xfb, 14997 0x96, 0xa6, 0x4e, 0x4f, 0x2a, 0x7d, 0x51, 0xd4, 0xfe, 0xe5, 0x49, 0x65, 0x78, 0xe5, 0x38, 0xc0, 14998 0x8e, 0xdb, 0xac, 0x9e, 0xbc, 0x01, 0x43, 0xcb, 0xed, 0xe3, 0x30, 0xa2, 0xc1, 0x5c, 0x7f, 0xfc, 14999 0x19, 0x35, 0x79, 0x91, 0x2d, 0xeb, 0xc8, 0xb7, 0xa0, 0x7f, 0x37, 0xa4, 0xc1, 0xdc, 0x00, 0xce, 15000 0xc8, 0xb8, 0x98, 0x11, 0x56, 0xb4, 0xb7, 0xb8, 0x34, 0xcc, 0xbe, 0x95, 0xe3, 0x90, 0x06, 0x36, 15001 0x02, 0x91, 0x5b, 0x30, 0xc0, 0xd9, 0x3a, 0x88, 0x62, 0x64, 0x5c, 0xcd, 0x5f, 0x9b, 0xee, 0x7d, 15002 0xb0, 0x34, 0x72, 0x7a, 0x52, 0x19, 0x40, 0xf6, 0xda, 0x03, 0x92, 0x29, 0xa5, 0x72, 0xaf, 0x3d, 15003 0xcc, 0x70, 0xd9, 0xc2, 0xb5, 0xbe, 0x05, 0xa3, 0xda, 0xf0, 0xc9, 0x02, 0xf4, 0xb3, 0xff, 0xf1, 15004 0x33, 0x1f, 0xe3, 0x8d, 0x31, 0xd1, 0x6e, 0x63, 0xa9, 0xf5, 0xcf, 0x27, 0xa1, 0xcc, 0x30, 0x0d, 15005 0xd9, 0x60, 0xb0, 0xaa, 0xd4, 0x8d, 0x55, 0x37, 0x40, 0xb5, 0x2d, 0x84, 0xc4, 0xd8, 0xe9, 0x49, 15006 0x65, 0xf8, 0x58, 0x94, 0xc5, 0x3d, 0x23, 0x75, 0x18, 0x5a, 0xfd, 0xba, 0xe3, 0x06, 0x34, 0x44, 15007 0xc6, 0x8e, 0x2e, 0xce, 0xdf, 0xe2, 0xdb, 0xd9, 0x2d, 0xb9, 0x9d, 0xdd, 0xda, 0x91, 0xdb, 0xd9, 15008 0xd2, 0x15, 0x21, 0x2c, 0x2f, 0x50, 0x8e, 0x12, 0xaf, 0xa6, 0xdf, 0xfb, 0xcb, 0x4a, 0xc9, 0x96, 15009 0x94, 0xc8, 0x3b, 0x30, 0x78, 0xcf, 0x0f, 0x8e, 0x9c, 0x48, 0xcc, 0xc0, 0xf4, 0xe9, 0x49, 0xa5, 15010 0xfc, 0x18, 0x4b, 0xb4, 0xc5, 0x2d, 0x60, 0xc8, 0x3d, 0x98, 0xb0, 0xfd, 0xe3, 0x88, 0xee, 0xf8, 15011 0x72, 0xde, 0x06, 0x10, 0xeb, 0xea, 0xe9, 0x49, 0x65, 0x3e, 0x60, 0x35, 0x8d, 0xc8, 0x6f, 0x88, 15012 0x09, 0xd4, 0xf0, 0x13, 0x58, 0x64, 0x15, 0x26, 0xaa, 0x28, 0x5d, 0x05, 0xcf, 0xf8, 0x6c, 0x8d, 15013 0x2c, 0x5d, 0x39, 0x3d, 0xa9, 0x5c, 0x72, 0xb0, 0xa6, 0x11, 0x88, 0x2a, 0x9d, 0x8c, 0x89, 0x44, 15014 0xb6, 0xe0, 0xc2, 0xc3, 0xe3, 0x7d, 0x1a, 0x78, 0x34, 0xa2, 0xa1, 0xec, 0xd1, 0x10, 0xf6, 0xe8, 15015 0xda, 0xe9, 0x49, 0x65, 0xe1, 0x89, 0xaa, 0xcc, 0xe8, 0x53, 0x1a, 0x95, 0x50, 0x98, 0x14, 0x1d, 15016 0x5d, 0x71, 0x22, 0x67, 0xdf, 0x09, 0x29, 0x0a, 0x8d, 0xd1, 0xc5, 0x8b, 0x9c, 0xc5, 0xb7, 0x12, 15017 0xb5, 0x4b, 0xaf, 0x09, 0x2e, 0x5f, 0x56, 0x63, 0x6f, 0x89, 0x2a, 0xad, 0xa1, 0x24, 0x4d, 0x26, 15018 0x3b, 0xd5, 0xbe, 0x30, 0x82, 0xbd, 0x45, 0xd9, 0xa9, 0xf6, 0x05, 0x5d, 0xaa, 0xa8, 0x1d, 0x62, 15019 0x03, 0x06, 0x76, 0xd9, 0xee, 0x89, 0x32, 0x65, 0x62, 0xf1, 0xba, 0xe8, 0x51, 0x72, 0xf5, 0xdd, 15020 0x62, 0x3f, 0x10, 0x10, 0xbf, 0xbb, 0x49, 0xdc, 0x71, 0xf5, 0xbd, 0x12, 0xeb, 0xc8, 0xe7, 0x00, 15021 0xa2, 0x57, 0xd5, 0x4e, 0x67, 0x6e, 0x14, 0x07, 0x79, 0xc1, 0x1c, 0x64, 0xb5, 0xd3, 0x59, 0xba, 15022 0x2a, 0xc6, 0x77, 0x51, 0x8d, 0xcf, 0xe9, 0x74, 0x34, 0x6a, 0x1a, 0x11, 0xf2, 0x19, 0x8c, 0xa1, 15023 0xc8, 0x91, 0x33, 0x3a, 0x86, 0x33, 0x7a, 0xf9, 0xf4, 0xa4, 0x32, 0xcb, 0x3e, 0xb8, 0xac, 0xf9, 15024 0x34, 0x10, 0xc8, 0x6f, 0xc1, 0x8c, 0x20, 0xf7, 0xc8, 0xf5, 0x5a, 0xfe, 0xb3, 0x70, 0x85, 0x86, 15025 0x4f, 0x22, 0xbf, 0x33, 0x37, 0x8e, 0xdd, 0x5b, 0x30, 0xbb, 0x67, 0xc2, 0x2c, 0xdd, 0x14, 0x3d, 15026 0xb5, 0x54, 0x4f, 0x9f, 0x71, 0x80, 0x46, 0x8b, 0x43, 0x68, 0xcd, 0x66, 0x37, 0x43, 0xd6, 0x61, 15027 0x72, 0x37, 0xa4, 0xc6, 0x18, 0x26, 0x50, 0x7e, 0x57, 0xd8, 0x0c, 0x1f, 0x87, 0xb4, 0x91, 0x37, 15028 0x8e, 0x24, 0x1e, 0xb1, 0x81, 0xac, 0x04, 0x7e, 0x27, 0xb1, 0xc6, 0x27, 0x91, 0x23, 0xd6, 0xe9, 15029 0x49, 0xe5, 0x6a, 0x2b, 0xf0, 0x3b, 0x8d, 0xfc, 0x85, 0x9e, 0x81, 0x4d, 0x7e, 0x04, 0x17, 0x97, 15030 0x7d, 0xcf, 0xa3, 0x4d, 0x26, 0x3f, 0x57, 0x5c, 0xe7, 0xc0, 0xf3, 0xc3, 0xc8, 0x6d, 0xae, 0xaf, 15031 0xcc, 0x95, 0x71, 0x0d, 0xbd, 0xc9, 0x46, 0xdf, 0x54, 0x10, 0x8d, 0x96, 0x02, 0x69, 0xb8, 0x2d, 15032 0x8d, 0x76, 0x0e, 0x15, 0xf2, 0x43, 0x18, 0x17, 0x6d, 0xd1, 0x00, 0x97, 0xe6, 0x85, 0xe2, 0x85, 15033 0xa6, 0x80, 0xf9, 0x46, 0x1c, 0xc8, 0x9f, 0x5c, 0xb5, 0x31, 0x69, 0x91, 0xaf, 0x60, 0x74, 0xf3, 15034 0x5e, 0xd5, 0xa6, 0x61, 0xc7, 0xf7, 0x42, 0x3a, 0x47, 0x70, 0x46, 0xaf, 0x0a, 0xd2, 0x9b, 0xf7, 15035 0xaa, 0xd5, 0xe3, 0xe8, 0x90, 0x7a, 0x91, 0xdb, 0x74, 0x22, 0x2a, 0xa1, 0x96, 0xe6, 0xd9, 0xca, 15036 0x3b, 0x7a, 0xec, 0x34, 0x02, 0x51, 0xa2, 0x8d, 0x42, 0x27, 0x47, 0xe6, 0x61, 0xb8, 0x5e, 0x5f, 15037 0xdb, 0xf0, 0x0f, 0x5c, 0x6f, 0x6e, 0x8a, 0x31, 0xc3, 0x56, 0xbf, 0xc9, 0x3e, 0xcc, 0x68, 0xba, 15038 0x7b, 0x83, 0xfd, 0x4f, 0x8f, 0xa8, 0x17, 0xcd, 0x4d, 0x63, 0x1f, 0xbe, 0xad, 0x0e, 0x1f, 0xb7, 15039 0x74, 0x15, 0xff, 0xe9, 0x9d, 0x5b, 0xd5, 0xf8, 0x67, 0x5d, 0x22, 0xd9, 0xd3, 0x4e, 0x46, 0x29, 15040 0xd9, 0x81, 0xa1, 0xda, 0x71, 0xd0, 0xf1, 0x43, 0x3a, 0x37, 0x83, 0x4c, 0x7b, 0xad, 0xe8, 0xeb, 15041 0x14, 0xa0, 0x4b, 0x33, 0x4c, 0x3c, 0x77, 0xf8, 0x0f, 0x6d, 0x64, 0x92, 0x94, 0xf5, 0x05, 0x8c, 15042 0xa8, 0x8f, 0x99, 0x0c, 0x41, 0x5f, 0xb5, 0xdd, 0x2e, 0xf7, 0xb0, 0x3f, 0xea, 0xf5, 0xb5, 0x72, 15043 0x89, 0x4c, 0x00, 0xc4, 0x12, 0xac, 0xdc, 0x4b, 0xc6, 0x60, 0x58, 0x4a, 0x98, 0x72, 0x1f, 0xc2, 15044 0x77, 0x3a, 0xe5, 0x7e, 0x42, 0x60, 0xc2, 0x5c, 0xe7, 0xe5, 0x01, 0xeb, 0xf7, 0x4b, 0x30, 0xa2, 15045 0xe6, 0x87, 0x4c, 0xc2, 0xe8, 0xee, 0x56, 0xbd, 0xb6, 0xba, 0xbc, 0x7e, 0x6f, 0x7d, 0x75, 0xa5, 15046 0xdc, 0x43, 0xae, 0xc0, 0xa5, 0x9d, 0xfa, 0x5a, 0x63, 0x65, 0xa9, 0xb1, 0xb1, 0xbd, 0x5c, 0xdd, 15047 0x68, 0xd4, 0xec, 0xed, 0x2f, 0xbe, 0x6c, 0xec, 0xec, 0x6e, 0x6d, 0xad, 0x6e, 0x94, 0x4b, 0x64, 15048 0x0e, 0xa6, 0x59, 0xf5, 0xc3, 0xdd, 0xa5, 0x55, 0x1d, 0xa0, 0xdc, 0x4b, 0xae, 0xc3, 0x95, 0xac, 15049 0x9a, 0xc6, 0xda, 0x6a, 0x75, 0x65, 0x63, 0xb5, 0x5e, 0x2f, 0xf7, 0x91, 0x59, 0x98, 0x62, 0x20, 15050 0xd5, 0x5a, 0xcd, 0xc0, 0xed, 0xb7, 0xda, 0x30, 0xaa, 0x31, 0x87, 0x2c, 0xc0, 0xdc, 0xf2, 0xaa, 15051 0xbd, 0xd3, 0xa8, 0xed, 0xda, 0xb5, 0xed, 0xfa, 0x6a, 0xc3, 0xec, 0x61, 0xb2, 0x76, 0x63, 0xfb, 15052 0xfe, 0xfa, 0x56, 0x83, 0x15, 0xd5, 0xcb, 0x25, 0xd6, 0x0d, 0xa3, 0xb6, 0xbe, 0xbe, 0x75, 0x7f, 15053 0x63, 0xb5, 0xb1, 0x5b, 0x5f, 0x15, 0x20, 0xbd, 0xd6, 0xcf, 0x7a, 0x53, 0xa2, 0x9e, 0x2c, 0xc2, 15054 0x68, 0x9d, 0x9f, 0x33, 0x71, 0xf9, 0x73, 0xc5, 0xbe, 0x7c, 0x7a, 0x52, 0x19, 0x13, 0xc7, 0x4f, 15055 0xbe, 0xb2, 0x75, 0x20, 0xb6, 0x7b, 0xd7, 0xd8, 0x4c, 0x37, 0xfd, 0xb6, 0xbe, 0x7b, 0x77, 0x44, 15056 0x99, 0xad, 0x6a, 0xc9, 0xa2, 0xb6, 0xcf, 0x73, 0x2d, 0x1f, 0x35, 0x49, 0xb9, 0xcf, 0xeb, 0x32, 15057 0x5f, 0xed, 0xf8, 0x8b, 0xf1, 0x94, 0x8a, 0xed, 0x19, 0x71, 0x32, 0xf6, 0x18, 0x05, 0x47, 0xde, 15058 0x96, 0xfa, 0x0f, 0xd7, 0xca, 0x71, 0x13, 0x48, 0xe8, 0x93, 0x42, 0xf5, 0xb1, 0x8e, 0x73, 0x04, 15059 0x2e, 0xf9, 0x24, 0xb9, 0x66, 0x04, 0x33, 0x90, 0x58, 0x42, 0xae, 0xda, 0x09, 0x50, 0x52, 0x81, 15060 0x01, 0xfe, 0x25, 0x72, 0x7e, 0xa0, 0xc6, 0xd5, 0x66, 0x05, 0x36, 0x2f, 0xb7, 0x7e, 0xaf, 0x4f, 15061 0xdf, 0x7c, 0x98, 0x86, 0xa5, 0xf1, 0x1b, 0x35, 0x2c, 0xe4, 0x33, 0x96, 0x92, 0x5b, 0x30, 0x52, 15062 0xa7, 0x61, 0x88, 0xba, 0xa9, 0xa0, 0xc8, 0xa6, 0x04, 0x42, 0x5e, 0xd8, 0x70, 0x5b, 0x73, 0x25, 15063 0x3b, 0x06, 0x61, 0x2a, 0x3f, 0xd7, 0xad, 0x50, 0xe5, 0xef, 0x8b, 0x55, 0x7e, 0xa1, 0x7d, 0x71, 15064 0x95, 0x3f, 0x06, 0x61, 0xb3, 0x2e, 0xb6, 0x7f, 0xec, 0x45, 0x7f, 0x3c, 0xeb, 0x42, 0x65, 0x10, 15065 0xb3, 0xae, 0x01, 0x91, 0x8f, 0x01, 0xaa, 0x8f, 0xea, 0xa8, 0x39, 0xdb, 0x5b, 0x42, 0x05, 0x42, 15066 0x61, 0xe5, 0x3c, 0x0b, 0xf9, 0x26, 0xe1, 0x04, 0xfa, 0xd9, 0x40, 0x83, 0x26, 0x4b, 0x30, 0x5e, 15067 0xfd, 0xe9, 0x71, 0x40, 0xd7, 0x5b, 0x4c, 0xde, 0x45, 0xfc, 0x10, 0x34, 0xb2, 0xb4, 0x70, 0x7a, 15068 0x52, 0x99, 0x73, 0x58, 0x45, 0xc3, 0x15, 0x35, 0x1a, 0x01, 0x13, 0x85, 0x6c, 0xc3, 0x85, 0xfb, 15069 0xcb, 0x35, 0xb1, 0x0e, 0xab, 0xcd, 0xa6, 0x7f, 0xec, 0x45, 0x42, 0xef, 0xb9, 0x7e, 0x7a, 0x52, 15070 0xb9, 0x72, 0xd0, 0xec, 0x34, 0xe4, 0x9a, 0x75, 0x78, 0xb5, 0xae, 0xf8, 0xa4, 0x70, 0xad, 0x36, 15071 0x4c, 0xdc, 0xa7, 0x11, 0x5b, 0x77, 0x52, 0x89, 0x2d, 0x9e, 0x95, 0xef, 0xc2, 0xe8, 0x23, 0x37, 15072 0x3a, 0xac, 0xd3, 0x66, 0x40, 0x23, 0x79, 0xc4, 0x46, 0x0e, 0x3c, 0x73, 0xa3, 0xc3, 0x46, 0xc8, 15073 0xcb, 0x75, 0x71, 0xad, 0x81, 0x5b, 0xab, 0x30, 0x29, 0x5a, 0x53, 0x3a, 0xf3, 0xa2, 0x49, 0xb0, 15074 0x84, 0x04, 0x71, 0x16, 0x74, 0x82, 0x26, 0x99, 0x7f, 0xd6, 0x0b, 0x33, 0xcb, 0x87, 0x8e, 0x77, 15075 0x40, 0x6b, 0x4e, 0x18, 0x3e, 0xf3, 0x83, 0x96, 0xd6, 0x79, 0x3c, 0x30, 0xa4, 0x3a, 0x8f, 0x27, 15076 0x84, 0x45, 0x18, 0xdd, 0x6e, 0xb7, 0x24, 0x8e, 0x38, 0xcc, 0x60, 0x5b, 0x7e, 0xbb, 0xd5, 0xe8, 15077 0x48, 0x5a, 0x3a, 0x10, 0xc3, 0xd9, 0xa2, 0xcf, 0x14, 0x4e, 0x5f, 0x8c, 0xe3, 0xd1, 0x67, 0x1a, 15078 0x8e, 0x06, 0x44, 0x56, 0xe1, 0x42, 0x9d, 0x36, 0x7d, 0xaf, 0x75, 0xcf, 0x69, 0x46, 0x7e, 0xb0, 15079 0xe3, 0x3f, 0xa1, 0x9e, 0x58, 0x5f, 0xa8, 0xef, 0x85, 0x58, 0xd9, 0x78, 0x8c, 0xb5, 0x8d, 0x88, 15080 0x55, 0xdb, 0x69, 0x0c, 0xb2, 0x0d, 0xc3, 0x8f, 0x84, 0xa1, 0x46, 0x9c, 0x80, 0xde, 0xb8, 0xa5, 15081 0x2c, 0x37, 0xcb, 0x01, 0xc5, 0x45, 0xe1, 0xb4, 0xd5, 0x19, 0x4e, 0x6d, 0x9f, 0x28, 0x89, 0x24, 15082 0xa4, 0xad, 0x88, 0x58, 0xbb, 0x30, 0x5e, 0x6b, 0x1f, 0x1f, 0xb8, 0x1e, 0x93, 0x19, 0x75, 0xfa, 15083 0x13, 0xb2, 0x02, 0x10, 0x17, 0x08, 0xf3, 0xcb, 0x94, 0x38, 0x37, 0xc5, 0x15, 0x7b, 0x77, 0xc5, 15084 0x87, 0x84, 0x25, 0xa8, 0xe8, 0xda, 0x1a, 0x9e, 0xf5, 0xbf, 0xfa, 0x80, 0x88, 0x09, 0xc0, 0x9d, 15085 0xb1, 0x4e, 0x23, 0xb6, 0xbb, 0x5c, 0x84, 0x5e, 0x65, 0x25, 0x19, 0x3c, 0x3d, 0xa9, 0xf4, 0xba, 15086 0x2d, 0xbb, 0x77, 0x7d, 0x85, 0xbc, 0x07, 0x03, 0x08, 0x86, 0xfc, 0x9f, 0x50, 0xed, 0xe9, 0x14, 15087 0xb8, 0xec, 0xc0, 0x1d, 0xdb, 0xe6, 0xc0, 0xe4, 0x7d, 0x18, 0x59, 0xa1, 0x6d, 0x7a, 0xe0, 0x44, 15088 0xbe, 0xfc, 0xba, 0xb9, 0xdd, 0x41, 0x16, 0x6a, 0x6b, 0x2e, 0x86, 0x64, 0xa7, 0x1c, 0x9b, 0x3a, 15089 0xa1, 0xef, 0xe9, 0xa7, 0x9c, 0x00, 0x4b, 0xf4, 0x53, 0x0e, 0x87, 0x21, 0x7f, 0x58, 0x82, 0xd1, 15090 0xaa, 0xe7, 0x89, 0xf3, 0x7c, 0x28, 0xb8, 0x3e, 0x73, 0x4b, 0x19, 0xc0, 0x36, 0x9c, 0x7d, 0xda, 15091 0xde, 0x73, 0xda, 0xc7, 0x34, 0x5c, 0xfa, 0x8a, 0x29, 0x9e, 0xff, 0xf1, 0xa4, 0xf2, 0xc9, 0x39, 15092 0x4e, 0xe8, 0xb1, 0x29, 0x6d, 0x27, 0x70, 0xdc, 0x28, 0x3c, 0x3d, 0xa9, 0xcc, 0x38, 0x71, 0x83, 15093 0xfa, 0x77, 0xa3, 0xf5, 0x23, 0x16, 0xed, 0x83, 0xdd, 0x44, 0x3b, 0x39, 0x82, 0xc9, 0x6a, 0x18, 15094 0x1e, 0x1f, 0xd1, 0x7a, 0xe4, 0x04, 0x11, 0x3b, 0x16, 0xa2, 0x7c, 0x28, 0x3e, 0x33, 0xbe, 0xf5, 15095 0xf3, 0x93, 0x4a, 0x89, 0xe9, 0xba, 0x0e, 0xa2, 0x32, 0x5d, 0x29, 0x88, 0x1a, 0x91, 0xab, 0xef, 15096 0x4e, 0x78, 0x7a, 0x4c, 0xd2, 0xb6, 0x5e, 0x53, 0xfa, 0xc4, 0xfa, 0x4a, 0xde, 0x8c, 0x5b, 0xcb, 15097 0xb0, 0x70, 0x9f, 0x46, 0x36, 0x0d, 0x69, 0x24, 0xbf, 0x11, 0x5c, 0xe1, 0xb1, 0x4d, 0x6d, 0x08, 15098 0x7f, 0x2b, 0x64, 0x9c, 0x7e, 0xfe, 0x5d, 0xc8, 0x1a, 0xeb, 0xaf, 0x95, 0xa0, 0xb2, 0x1c, 0x50, 15099 0xae, 0x26, 0xe6, 0x10, 0x2a, 0x96, 0x5d, 0x0b, 0xd0, 0xbf, 0xf3, 0xbc, 0x23, 0x0f, 0xdb, 0x58, 15100 0xcb, 0x26, 0xc5, 0xc6, 0xd2, 0x33, 0x5a, 0x2e, 0xac, 0xc7, 0x30, 0x63, 0x53, 0x8f, 0x3e, 0x73, 15101 0xf6, 0xdb, 0xd4, 0x38, 0xfc, 0x57, 0x60, 0x80, 0x7f, 0xe8, 0xa9, 0x21, 0xf0, 0xf2, 0xf3, 0x19, 15102 0x52, 0xac, 0x71, 0x18, 0xad, 0xb9, 0xde, 0x81, 0xa0, 0x6e, 0xfd, 0x71, 0x1f, 0x8c, 0xf1, 0xdf, 15103 0x42, 0xf3, 0x4d, 0xec, 0x5e, 0xa5, 0xb3, 0xec, 0x5e, 0x1f, 0xc2, 0x38, 0x13, 0xff, 0x34, 0xd8, 15104 0xa3, 0x01, 0xdb, 0x35, 0x05, 0x27, 0x50, 0x8b, 0x0f, 0xb1, 0xa2, 0xf1, 0x94, 0xd7, 0xd8, 0x26, 15105 0x20, 0xd9, 0x80, 0x09, 0x5e, 0x70, 0x8f, 0x3a, 0xd1, 0x71, 0x6c, 0x88, 0x98, 0x14, 0xea, 0xae, 15106 0x2c, 0xe6, 0x4b, 0x53, 0xd0, 0x7a, 0x2c, 0x0a, 0xed, 0x04, 0x2e, 0xf9, 0x0c, 0x26, 0x6b, 0x81, 15107 0xff, 0xf5, 0x73, 0x6d, 0xbf, 0xe6, 0x5f, 0x27, 0x57, 0x8c, 0x59, 0x55, 0x43, 0xdf, 0xb5, 0x93, 15108 0xd0, 0xe4, 0x6d, 0x18, 0x5e, 0x0f, 0x97, 0xfc, 0xc0, 0xf5, 0x0e, 0xf0, 0x1b, 0x1d, 0xe6, 0xf6, 15109 0x55, 0x37, 0x6c, 0xec, 0x63, 0xa1, 0xad, 0xaa, 0x13, 0x96, 0xc0, 0xa1, 0xee, 0x96, 0xc0, 0x77, 15110 0x01, 0x36, 0x7c, 0xa7, 0x55, 0x6d, 0xb7, 0x97, 0xab, 0x21, 0x5a, 0x01, 0xc4, 0x7e, 0xd4, 0xf6, 15111 0x9d, 0x56, 0xc3, 0x69, 0xb7, 0x1b, 0x4d, 0x27, 0xb4, 0x35, 0x98, 0x07, 0xfd, 0xc3, 0x83, 0xe5, 15112 0x21, 0x7b, 0x72, 0xc3, 0x6d, 0x52, 0x2f, 0xa4, 0x8f, 0x9c, 0xc0, 0x73, 0xbd, 0x83, 0xd0, 0xfa, 15113 0x77, 0x93, 0x30, 0xac, 0x86, 0x7c, 0x4b, 0xd7, 0xd9, 0xc5, 0x2e, 0x87, 0xb3, 0x1f, 0x5b, 0x2a, 15114 0x6c, 0x0d, 0x82, 0x5c, 0x42, 0x2d, 0x5e, 0xec, 0xaf, 0x43, 0x6c, 0x35, 0x3a, 0x9d, 0x8e, 0xcd, 15115 0xca, 0xd8, 0x57, 0xb6, 0xb2, 0x84, 0xfc, 0x1f, 0xe6, 0x5f, 0x59, 0x6b, 0xdf, 0xee, 0x5d, 0x59, 15116 0x62, 0xcb, 0x7b, 0x7b, 0x7d, 0x65, 0x19, 0x59, 0x39, 0xcc, 0x97, 0xb7, 0xef, 0xb6, 0x9a, 0x36, 15117 0x96, 0xb2, 0xda, 0x7a, 0x75, 0x73, 0x43, 0xb0, 0x0b, 0x6b, 0x43, 0xe7, 0xa8, 0x6d, 0x63, 0x29, 15118 0xd3, 0xfb, 0xf8, 0xa1, 0x73, 0xd9, 0xf7, 0xa2, 0xc0, 0x6f, 0x87, 0xa8, 0x9c, 0x0c, 0xf3, 0xe9, 15119 0x14, 0xa7, 0xd5, 0xa6, 0xa8, 0xb2, 0x13, 0xa0, 0xe4, 0x11, 0xcc, 0x56, 0x5b, 0x4f, 0x1d, 0xaf, 15120 0x49, 0x5b, 0xbc, 0xe6, 0x91, 0x1f, 0x3c, 0x79, 0xdc, 0xf6, 0x9f, 0x85, 0xc8, 0xef, 0x61, 0x61, 15121 0xdc, 0x11, 0x20, 0xf2, 0xf0, 0xfb, 0x4c, 0x02, 0xd9, 0x79, 0xd8, 0xec, 0x93, 0x5a, 0x6e, 0xfb, 15122 0xc7, 0x2d, 0x31, 0x0b, 0xf8, 0x49, 0x35, 0x59, 0x81, 0xcd, 0xcb, 0x19, 0x97, 0xd6, 0xea, 0x9b, 15123 0x68, 0x4a, 0x11, 0x5c, 0x3a, 0x0c, 0x8f, 0x6c, 0x56, 0x46, 0xde, 0x80, 0x21, 0xa9, 0xc2, 0x72, 15124 0x5b, 0x2c, 0x5a, 0x18, 0xa5, 0xea, 0x2a, 0xeb, 0xd8, 0x27, 0x61, 0xd3, 0xa6, 0xff, 0x94, 0x06, 15125 0xcf, 0x97, 0xfd, 0x16, 0x95, 0x07, 0x7f, 0x71, 0xb0, 0xe5, 0x15, 0x8d, 0x26, 0xab, 0xb1, 0x4d, 15126 0x40, 0xd6, 0x00, 0xdf, 0x03, 0xd9, 0xf1, 0x5e, 0x35, 0xc0, 0xf7, 0xc8, 0xd0, 0x96, 0x75, 0x64, 15127 0x05, 0x2e, 0x54, 0x8f, 0x23, 0xff, 0xc8, 0x89, 0xdc, 0xe6, 0x6e, 0xe7, 0x20, 0x70, 0x58, 0x23, 15128 0x65, 0x44, 0x40, 0x95, 0xde, 0x91, 0x95, 0x8d, 0x63, 0x51, 0x6b, 0xa7, 0x11, 0xc8, 0x07, 0x30, 15129 0xb6, 0x1e, 0x72, 0xe3, 0x8e, 0x13, 0xd2, 0x16, 0x9e, 0xd0, 0x45, 0x2f, 0xdd, 0xb0, 0x81, 0xa6, 15130 0x9e, 0x06, 0x3b, 0x04, 0xb4, 0x6c, 0x03, 0x8e, 0x58, 0x30, 0x58, 0x0d, 0x43, 0x37, 0x8c, 0xf0, 15131 0xe0, 0x3d, 0xbc, 0x04, 0xa7, 0x27, 0x95, 0x41, 0x07, 0x4b, 0x6c, 0x51, 0x43, 0x1e, 0xc1, 0xe8, 15132 0x0a, 0x65, 0x3a, 0xe1, 0x4e, 0x70, 0x1c, 0x46, 0x78, 0x8c, 0x1e, 0x5d, 0xbc, 0x24, 0x3e, 0x6c, 15133 0xad, 0x46, 0xac, 0x65, 0xae, 0xed, 0xb5, 0xb0, 0xbc, 0x11, 0xb1, 0x0a, 0x7d, 0xd7, 0xd2, 0xe0, 15134 0x99, 0xc2, 0x2b, 0x70, 0xd6, 0xdc, 0x16, 0xfb, 0x54, 0xa7, 0xb1, 0x0f, 0xa8, 0xf0, 0x0a, 0xd9, 15135 0xd0, 0x38, 0xc4, 0x1a, 0x5d, 0xe1, 0x35, 0x50, 0x48, 0x33, 0x65, 0x2f, 0x9c, 0x31, 0x6c, 0x42, 15136 0x66, 0xa5, 0xec, 0xe2, 0x39, 0xad, 0x89, 0xdf, 0x85, 0xd1, 0xe5, 0xe3, 0x30, 0xf2, 0x8f, 0x76, 15137 0x0e, 0xe9, 0x11, 0x9d, 0xbb, 0x18, 0xab, 0xf5, 0x4d, 0x2c, 0x6e, 0x44, 0xac, 0x5c, 0x1f, 0xa6, 15138 0x06, 0x4e, 0x3e, 0x07, 0x22, 0xf5, 0xf3, 0xfb, 0x6c, 0x7d, 0x78, 0x6c, 0x2d, 0xcf, 0xcd, 0xe2, 15139 0x58, 0x51, 0x29, 0x97, 0x6a, 0x7d, 0xe3, 0x40, 0x55, 0xeb, 0x16, 0x9f, 0x34, 0x32, 0xeb, 0x10, 15140 0xef, 0xe2, 0xfd, 0xc0, 0xe9, 0x1c, 0xce, 0xcd, 0xc5, 0x5a, 0xb6, 0x18, 0xd4, 0x01, 0x2b, 0x37, 15141 0xb4, 0x85, 0x18, 0x9c, 0xd4, 0x01, 0xf8, 0xcf, 0x0d, 0x36, 0xf1, 0x97, 0x90, 0x5f, 0x73, 0x06, 15142 0xbf, 0x58, 0x85, 0xe4, 0xd5, 0x25, 0xd4, 0x41, 0x38, 0xd9, 0xb6, 0x6b, 0xcc, 0xa6, 0x46, 0x86, 15143 0x3c, 0x81, 0x32, 0xff, 0xb5, 0xe9, 0x7b, 0x6e, 0xc4, 0x45, 0xef, 0xbc, 0x61, 0xcc, 0x49, 0x56, 15144 0xcb, 0x06, 0xd0, 0x88, 0x26, 0x1a, 0x38, 0x52, 0xb5, 0x5a, 0x33, 0x29, 0xc2, 0xa4, 0x06, 0xa3, 15145 0xb5, 0xc0, 0x6f, 0x1d, 0x37, 0x23, 0xdc, 0xb0, 0x2f, 0xa3, 0xa2, 0x48, 0x44, 0x3b, 0x5a, 0x0d, 15146 0xe7, 0x49, 0x87, 0x17, 0x34, 0xd8, 0x66, 0xae, 0xf3, 0x44, 0x03, 0x24, 0x4b, 0x30, 0x58, 0xf3, 15147 0xdb, 0x6e, 0xf3, 0xf9, 0xdc, 0x02, 0x76, 0x7a, 0x5a, 0x12, 0xc3, 0x42, 0xd9, 0x55, 0xd4, 0x0e, 15148 0x3b, 0x58, 0xa4, 0x6b, 0x87, 0x1c, 0x88, 0x54, 0x61, 0xfc, 0x73, 0xb6, 0x60, 0x5c, 0xdf, 0xf3, 15149 0x1c, 0x37, 0xa0, 0x73, 0x57, 0x70, 0x5e, 0xd0, 0xd0, 0xf9, 0x13, 0xbd, 0x42, 0x5f, 0xce, 0x06, 15150 0x06, 0x59, 0x87, 0xc9, 0xf5, 0xb0, 0x1e, 0x05, 0x6e, 0x87, 0x6e, 0x3a, 0x9e, 0x73, 0x40, 0x5b, 15151 0x73, 0x57, 0x63, 0x4b, 0xa3, 0x1b, 0x36, 0x42, 0xac, 0x6b, 0x1c, 0xf1, 0x4a, 0xdd, 0xd2, 0x98, 15152 0xc0, 0x23, 0x5f, 0xc0, 0xf4, 0xea, 0xd7, 0x11, 0x5b, 0x31, 0xed, 0xea, 0x71, 0xcb, 0x8d, 0xea, 15153 0x91, 0x1f, 0x38, 0x07, 0x74, 0xae, 0x82, 0xf4, 0x5e, 0x3f, 0x3d, 0xa9, 0x5c, 0xa3, 0xa2, 0xbe, 15154 0xe1, 0x30, 0x80, 0x46, 0xc8, 0x21, 0xf4, 0x1b, 0xbe, 0x2c, 0x0a, 0x8c, 0xfb, 0xf5, 0xe3, 0x0e, 15155 0x53, 0x5c, 0x91, 0xfb, 0xd7, 0x0c, 0xee, 0x6b, 0x35, 0x9c, 0xfb, 0x21, 0x2f, 0x48, 0x71, 0x5f, 15156 0x03, 0x24, 0x36, 0x90, 0x07, 0xbe, 0xeb, 0x55, 0x9b, 0x91, 0xfb, 0x94, 0x8a, 0x23, 0x7b, 0x38, 15157 0x77, 0x1d, 0x7b, 0x8a, 0x56, 0xd1, 0x5f, 0xf7, 0x5d, 0xaf, 0xe1, 0x60, 0x75, 0x43, 0x1c, 0xf0, 15158 0x0d, 0xab, 0x68, 0x1a, 0x9b, 0xfc, 0x08, 0x2e, 0x6e, 0xfa, 0xfb, 0x6e, 0x9b, 0x72, 0x91, 0xc3, 15159 0xd9, 0x82, 0xf6, 0x3d, 0x0b, 0xe9, 0xa2, 0x55, 0xf4, 0x08, 0x21, 0x1a, 0x42, 0x5a, 0x1d, 0x29, 15160 0x18, 0xdd, 0x2a, 0x9a, 0x4d, 0xe5, 0x41, 0xff, 0xf0, 0x68, 0x79, 0x8c, 0xdf, 0x9c, 0x3d, 0xe8, 15161 0x1f, 0x1e, 0x2f, 0x4f, 0x58, 0x7f, 0x54, 0x02, 0x92, 0x96, 0x87, 0xe4, 0x36, 0x0c, 0x51, 0x8f, 15162 0xa9, 0x83, 0x2d, 0xb1, 0xaf, 0xa3, 0x16, 0x23, 0x8a, 0x74, 0xf3, 0x9e, 0x28, 0x22, 0x9f, 0xc3, 15163 0x14, 0xef, 0x90, 0x94, 0xdc, 0x6d, 0xf7, 0xc8, 0x8d, 0x70, 0xaf, 0x1f, 0xe0, 0x12, 0x23, 0xa3, 15164 0x5a, 0x3f, 0xc6, 0x8b, 0x6a, 0x94, 0xf3, 0x1b, 0xac, 0xd2, 0x3a, 0x86, 0x99, 0x4c, 0x49, 0x48, 15165 0x36, 0x61, 0xe6, 0xc8, 0xf7, 0xa2, 0xc3, 0xf6, 0x73, 0x29, 0x08, 0x45, 0x6b, 0x25, 0x6c, 0x0d, 15166 0x3f, 0xfe, 0x4c, 0x00, 0x7b, 0x4a, 0x14, 0x0b, 0x8a, 0xd8, 0xce, 0x83, 0xfe, 0xe1, 0xde, 0x72, 15167 0x9f, 0x1a, 0x89, 0x65, 0xc3, 0x85, 0x94, 0x40, 0x21, 0xdf, 0x83, 0xb1, 0x26, 0xea, 0xe9, 0x46, 15168 0x4b, 0x5c, 0x9c, 0x6a, 0xe5, 0xfa, 0x5a, 0xe1, 0xe5, 0x7c, 0x28, 0xff, 0xb8, 0x04, 0xb3, 0x39, 15169 0xa2, 0xe4, 0xfc, 0xac, 0xfe, 0x12, 0x2e, 0x1e, 0x39, 0x5f, 0x37, 0x02, 0x3c, 0x86, 0x35, 0x02, 15170 0xc7, 0x4b, 0x70, 0x1b, 0x3f, 0x93, 0x6c, 0x08, 0xdd, 0x3b, 0xe0, 0xc8, 0xf9, 0xda, 0x46, 0x00, 15171 0x9b, 0xd5, 0xf3, 0x7e, 0x7e, 0x1f, 0xc6, 0x0d, 0xe1, 0x71, 0xee, 0xce, 0x59, 0x77, 0xe0, 0x02, 15172 0x3b, 0xa8, 0x46, 0xf4, 0xcc, 0xe6, 0x17, 0xab, 0x06, 0x50, 0xa7, 0x47, 0x4e, 0xe7, 0xd0, 0x67, 15173 0x4a, 0xe5, 0x92, 0xfe, 0x4b, 0x1c, 0xdf, 0x89, 0x38, 0x4e, 0xab, 0x8a, 0xbd, 0xbb, 0x5c, 0xd1, 15174 0x0c, 0x15, 0xa4, 0xad, 0x61, 0x59, 0x7f, 0xda, 0x0b, 0x44, 0x7c, 0xfd, 0x01, 0x75, 0x8e, 0x64, 15175 0x37, 0x3e, 0x82, 0x31, 0x7e, 0xd8, 0xe2, 0xc5, 0xd8, 0x9d, 0xd1, 0xc5, 0x29, 0x21, 0x04, 0xf4, 15176 0xaa, 0xb5, 0x1e, 0xdb, 0x00, 0x65, 0xa8, 0x36, 0xe5, 0xa7, 0x44, 0x44, 0xed, 0x35, 0x50, 0xf5, 15177 0x2a, 0x86, 0xaa, 0xff, 0x26, 0x9f, 0xc1, 0xc4, 0xb2, 0x7f, 0xd4, 0x61, 0x3c, 0x11, 0xc8, 0x7d, 15178 0xe2, 0x04, 0x2e, 0xda, 0x35, 0x2a, 0xd7, 0x7a, 0xec, 0x04, 0x38, 0xd9, 0x82, 0xa9, 0x7b, 0xed, 15179 0xe3, 0xf0, 0xb0, 0xea, 0xb5, 0x96, 0xdb, 0x7e, 0x28, 0xa9, 0xf4, 0x8b, 0x13, 0xb0, 0x38, 0xac, 15180 0xa4, 0x21, 0xd6, 0x7a, 0xec, 0x2c, 0x44, 0xf2, 0x06, 0x0c, 0xac, 0x3e, 0x65, 0x32, 0x45, 0xde, 15181 0x40, 0x0b, 0x17, 0x96, 0x6d, 0x8f, 0x6e, 0x3f, 0x5e, 0xeb, 0xb1, 0x79, 0xed, 0xd2, 0x08, 0x0c, 15182 0xc9, 0x83, 0xda, 0x6d, 0xa6, 0xef, 0x29, 0x76, 0xd6, 0x23, 0x27, 0x3a, 0x0e, 0xc9, 0x3c, 0x0c, 15183 0xef, 0x76, 0xd8, 0xf9, 0x41, 0x9e, 0x70, 0x6d, 0xf5, 0xdb, 0x7a, 0xc7, 0xe4, 0x34, 0x59, 0xd0, 15184 0xed, 0x9e, 0x1c, 0x38, 0x2e, 0xb0, 0xd6, 0x4c, 0xe6, 0x16, 0x43, 0x1b, 0xed, 0xf6, 0x26, 0xda, 15185 0x2d, 0x27, 0x79, 0x6d, 0xcd, 0x64, 0x32, 0xcf, 0xfa, 0x02, 0xae, 0xee, 0x76, 0x42, 0x1a, 0x44, 15186 0xd5, 0x4e, 0xa7, 0xed, 0x36, 0xf9, 0x0d, 0x08, 0x1e, 0xe8, 0xe4, 0x62, 0xf9, 0x00, 0x06, 0x79, 15187 0x81, 0x58, 0x26, 0x72, 0x0d, 0x56, 0x3b, 0x1d, 0x71, 0x8c, 0xbc, 0xcb, 0x35, 0x4f, 0x7e, 0x30, 15188 0xb4, 0x05, 0xb4, 0xf5, 0x7b, 0x25, 0xb8, 0xca, 0xbf, 0x80, 0x5c, 0xd2, 0xdf, 0x82, 0x11, 0xf4, 15189 0x20, 0xe9, 0x38, 0x4d, 0xf9, 0x4d, 0x70, 0x57, 0x1a, 0x59, 0x68, 0xc7, 0xf5, 0x9a, 0x6f, 0x4e, 15190 0x6f, 0xbe, 0x6f, 0x8e, 0xfc, 0xc0, 0xfa, 0x32, 0x3f, 0xb0, 0xcf, 0xc1, 0x12, 0x3d, 0x6a, 0xb7, 15191 0x53, 0x9d, 0x0a, 0x5f, 0xa4, 0x57, 0xd6, 0x7f, 0xed, 0x85, 0xd9, 0xfb, 0xd4, 0xa3, 0x81, 0x83, 15192 0xe3, 0x34, 0x0c, 0x16, 0xba, 0x0f, 0x40, 0xa9, 0xd0, 0x07, 0xa0, 0x22, 0x4d, 0x40, 0xbd, 0x68, 15193 0x02, 0x4a, 0xb9, 0x33, 0xb0, 0xb3, 0xd0, 0xae, 0xbd, 0x2e, 0x86, 0x85, 0x67, 0xa1, 0xe3, 0xc0, 15194 0xb5, 0x59, 0x19, 0x59, 0x8f, 0xfd, 0x07, 0xfa, 0xbb, 0xda, 0x82, 0xa6, 0xc4, 0x7d, 0xea, 0x90, 15195 0xf0, 0x1f, 0x30, 0xbd, 0x06, 0xb6, 0x60, 0x90, 0x5b, 0xae, 0xf0, 0x96, 0x61, 0x74, 0xf1, 0xa6, 15196 0xf8, 0xa6, 0x72, 0x06, 0x28, 0xcc, 0x5c, 0xab, 0x5e, 0x14, 0x3c, 0xe7, 0x4b, 0x20, 0xc2, 0x02, 15197 0x5b, 0x50, 0x99, 0xff, 0x1c, 0x46, 0x35, 0x10, 0x52, 0x86, 0xbe, 0x27, 0xc2, 0x77, 0x62, 0xc4, 15198 0x66, 0x7f, 0x92, 0x77, 0x60, 0xe0, 0xa9, 0xd3, 0x3e, 0xa6, 0x42, 0x8c, 0x5c, 0x8c, 0x6d, 0x71, 15199 0x4c, 0x1d, 0xf2, 0x0e, 0xb8, 0x31, 0xce, 0xe6, 0x40, 0x1f, 0xf7, 0x7e, 0x58, 0xb2, 0x3e, 0x81, 15200 0xb9, 0x74, 0x6f, 0x84, 0xd5, 0xa4, 0x9b, 0x91, 0xc6, 0x5a, 0x81, 0xe9, 0xfb, 0x34, 0xc2, 0x85, 15201 0x8b, 0x1f, 0x91, 0xe6, 0xda, 0x91, 0xf8, 0xce, 0xa4, 0x54, 0x95, 0xb7, 0x11, 0xfa, 0x57, 0x5a, 15202 0x87, 0x99, 0x04, 0x15, 0xd1, 0xfe, 0xc7, 0x30, 0x24, 0x8a, 0x94, 0x44, 0x15, 0xce, 0x6e, 0x74, 15203 0x5f, 0x54, 0xec, 0x2d, 0xf2, 0x75, 0x2b, 0x28, 0xdb, 0x12, 0xc1, 0x3a, 0x84, 0x8b, 0x6c, 0x9b, 15204 0x8d, 0xa9, 0xaa, 0xe5, 0x78, 0x19, 0x46, 0x3a, 0x4c, 0x51, 0x08, 0xdd, 0x9f, 0xf2, 0x65, 0x34, 15205 0x60, 0x0f, 0xb3, 0x82, 0xba, 0xfb, 0x53, 0x4a, 0xae, 0x00, 0x60, 0x25, 0x0e, 0x53, 0x48, 0x01, 15206 0x04, 0xe7, 0x56, 0x29, 0x02, 0xe8, 0x43, 0xc3, 0xd7, 0x8d, 0x8d, 0x7f, 0x5b, 0x01, 0xcc, 0xa6, 15207 0x5a, 0x12, 0x03, 0xb8, 0x0d, 0xc3, 0x52, 0x3f, 0x4b, 0xd8, 0x8b, 0xf5, 0x11, 0xd8, 0x0a, 0x88, 15208 0xbc, 0x09, 0x93, 0x1e, 0xfd, 0x3a, 0x6a, 0xa4, 0xfa, 0x30, 0xce, 0x8a, 0x6b, 0xb2, 0x1f, 0xd6, 15209 0xaf, 0xa1, 0x8d, 0xb0, 0xee, 0xf9, 0xcf, 0x1e, 0xb7, 0x9d, 0x27, 0x34, 0xd5, 0xf0, 0xf7, 0x60, 15210 0xb8, 0xde, 0xbd, 0x61, 0xfe, 0xf9, 0xc8, 0xc6, 0x6d, 0x85, 0x62, 0xb5, 0x61, 0x9e, 0x0d, 0xa9, 15211 0x5e, 0xdd, 0xdc, 0x58, 0x6f, 0xd5, 0xbe, 0x69, 0x06, 0x3e, 0x85, 0xcb, 0x99, 0xad, 0x7d, 0xd3, 15212 0x4c, 0xfc, 0x97, 0x7d, 0x30, 0xcb, 0x37, 0x93, 0xf4, 0x0a, 0x3e, 0xbb, 0xa8, 0xf9, 0x95, 0xdc, 15213 0xa4, 0xbd, 0x9b, 0x71, 0x93, 0x86, 0x28, 0xfa, 0x4d, 0x9a, 0x71, 0x7f, 0xf6, 0x61, 0xf6, 0xfd, 15214 0x19, 0x1a, 0x41, 0xcc, 0xfb, 0xb3, 0xe4, 0xad, 0xd9, 0x6a, 0xfe, 0xad, 0x19, 0xde, 0x21, 0x64, 15215 0xdc, 0x9a, 0x65, 0xdc, 0x95, 0x25, 0x5d, 0x19, 0x86, 0x5f, 0xa9, 0x2b, 0x03, 0x57, 0xad, 0xad, 15216 0x3d, 0x98, 0x4b, 0x4f, 0xe0, 0x2b, 0x10, 0x1e, 0x7f, 0x52, 0x82, 0x2b, 0x42, 0xcd, 0x48, 0x7c, 15217 0x62, 0xe7, 0x5f, 0x1f, 0xef, 0xc3, 0x98, 0xc0, 0xdd, 0x89, 0x97, 0xe2, 0xd2, 0x85, 0xd3, 0x93, 15218 0xca, 0xb8, 0x14, 0x87, 0x5c, 0xa6, 0x1a, 0x60, 0xe4, 0x7d, 0x18, 0xc6, 0x3f, 0x62, 0x2b, 0x3b, 15219 0x3b, 0x7d, 0x8c, 0x20, 0x68, 0x23, 0x69, 0x6b, 0x57, 0xa0, 0xd6, 0x57, 0x70, 0x35, 0xaf, 0xe3, 15220 0xaf, 0x80, 0x2f, 0xff, 0xaa, 0x04, 0x97, 0x05, 0x79, 0xe3, 0x63, 0x7d, 0x21, 0xb9, 0x7f, 0x0e, 15221 0x97, 0xbe, 0x07, 0x30, 0xca, 0x1a, 0x94, 0xfd, 0xee, 0x13, 0x9b, 0x9b, 0xd0, 0xdd, 0xe3, 0x9a, 15222 0x15, 0x27, 0x72, 0x84, 0x2b, 0x82, 0x73, 0xd4, 0x96, 0x67, 0x63, 0x5b, 0x47, 0xb6, 0x7e, 0x00, 15223 0x0b, 0xd9, 0x43, 0x78, 0x05, 0xfc, 0x79, 0x00, 0xf3, 0x19, 0x62, 0xf9, 0xc5, 0x76, 0xc5, 0x2f, 15224 0xe1, 0x72, 0x26, 0xad, 0x57, 0xd0, 0xcd, 0x35, 0xb6, 0xe7, 0x47, 0xaf, 0x60, 0x0a, 0xad, 0x47, 15225 0x70, 0x29, 0x83, 0xd2, 0x2b, 0xe8, 0xe2, 0x7d, 0x98, 0x55, 0xba, 0xee, 0x4b, 0xf5, 0x70, 0x13, 15226 0xae, 0x70, 0x42, 0xaf, 0x66, 0x56, 0x1e, 0xc2, 0x65, 0x41, 0xee, 0x15, 0x70, 0x6f, 0x0d, 0x16, 15227 0xe2, 0x23, 0x6d, 0x86, 0xa6, 0x72, 0x66, 0x21, 0x63, 0x6d, 0xc0, 0xb5, 0x98, 0x52, 0xce, 0xb6, 15228 0x7d, 0x76, 0x6a, 0x5c, 0x21, 0x8b, 0x67, 0xe9, 0x95, 0xcc, 0xe8, 0x23, 0xb8, 0x68, 0x10, 0x7d, 15229 0x65, 0xca, 0xca, 0x3a, 0x4c, 0x71, 0xc2, 0xa6, 0xf2, 0xba, 0xa8, 0x2b, 0xaf, 0xa3, 0x8b, 0x17, 15230 0x62, 0x92, 0x58, 0xbc, 0x77, 0x37, 0x43, 0x9f, 0xdd, 0x44, 0x7d, 0x56, 0x82, 0xc4, 0x3d, 0x7c, 15231 0x1f, 0x06, 0x79, 0x89, 0xe8, 0x5f, 0x06, 0x31, 0xae, 0xae, 0x73, 0x34, 0x01, 0x6c, 0xfd, 0x08, 15232 0xae, 0xf0, 0xb3, 0x60, 0x7c, 0x55, 0x65, 0x9e, 0xd7, 0xbe, 0x97, 0x38, 0x0a, 0x5e, 0x12, 0x74, 15233 0x93, 0xf0, 0x39, 0x27, 0xc2, 0x7d, 0xb9, 0xb6, 0xf3, 0xe8, 0x9f, 0xe9, 0xf9, 0x85, 0x3c, 0xe2, 15234 0xf5, 0x66, 0x1e, 0xf1, 0x5e, 0x83, 0xeb, 0xea, 0x88, 0x97, 0x6c, 0x46, 0x2e, 0x2d, 0xeb, 0x07, 15235 0x70, 0x99, 0x0f, 0x54, 0xba, 0x57, 0x99, 0xdd, 0xf8, 0x24, 0x31, 0xcc, 0x59, 0x31, 0x4c, 0x13, 15236 0x3a, 0x67, 0x90, 0x7f, 0xb3, 0x24, 0x3f, 0xb9, 0x6c, 0xe2, 0xbf, 0xea, 0x33, 0xef, 0x16, 0x54, 15237 0x14, 0x43, 0xcc, 0x1e, 0xbd, 0xd8, 0x81, 0x77, 0x13, 0x66, 0x74, 0x32, 0x6e, 0x93, 0xee, 0xdd, 15238 0xc1, 0x3b, 0x84, 0xf7, 0xd8, 0x67, 0x81, 0x05, 0x72, 0xd9, 0xcd, 0x65, 0xf0, 0x0d, 0xe1, 0x6d, 15239 0x05, 0x69, 0x35, 0x60, 0x21, 0x3d, 0x15, 0x6e, 0x53, 0xfa, 0xdc, 0x92, 0xcf, 0xd8, 0x27, 0x8c, 15240 0x25, 0x62, 0x32, 0x72, 0x89, 0xca, 0xef, 0x98, 0xa3, 0x4b, 0x2c, 0xcb, 0x92, 0xa2, 0x26, 0x31, 15241 0x7e, 0xd6, 0xba, 0x5c, 0x0f, 0xbf, 0x09, 0x44, 0x56, 0x2d, 0xd7, 0x6d, 0xd9, 0xf4, 0x25, 0xe8, 15242 0x5b, 0xae, 0xdb, 0xc2, 0xd5, 0x1f, 0xcf, 0xdc, 0xcd, 0x30, 0xb0, 0x59, 0x59, 0x52, 0x27, 0xee, 15243 0x3d, 0x83, 0x4e, 0xfc, 0xa0, 0x7f, 0xb8, 0xaf, 0xdc, 0x6f, 0x93, 0xba, 0x7b, 0xe0, 0x3d, 0x72, 15244 0xa3, 0x43, 0xd5, 0x60, 0xd5, 0xfa, 0x21, 0x4c, 0x19, 0xcd, 0x8b, 0xaf, 0xb8, 0xf0, 0x8d, 0x02, 15245 0x79, 0x13, 0x86, 0x96, 0xab, 0xe8, 0xa3, 0x80, 0x46, 0x83, 0x31, 0x2e, 0x6f, 0x9a, 0x4e, 0x03, 15246 0x9f, 0xa8, 0xd9, 0xb2, 0xd2, 0xfa, 0x47, 0xfd, 0x1a, 0x75, 0xed, 0xe5, 0x47, 0xc1, 0xe8, 0xee, 15247 0x00, 0xf0, 0x15, 0xa2, 0x0d, 0x8e, 0x29, 0x80, 0xa3, 0xe2, 0xea, 0x9f, 0x8b, 0x64, 0x5b, 0x03, 15248 0x3a, 0xeb, 0xcb, 0x10, 0xe1, 0x8b, 0xc9, 0x91, 0xe4, 0x73, 0x25, 0xe5, 0x8b, 0x29, 0x48, 0x87, 15249 0xb6, 0x0e, 0x44, 0x7e, 0x94, 0x74, 0x60, 0x1e, 0xc0, 0x2b, 0x8b, 0xd7, 0xe5, 0x1d, 0x66, 0x7a, 15250 0x6c, 0xe7, 0xf3, 0x61, 0x7e, 0x06, 0x33, 0x0c, 0xd7, 0x7d, 0x8c, 0xaa, 0xfd, 0xea, 0xd7, 0x11, 15251 0xf5, 0xb8, 0x6c, 0x1f, 0xc4, 0x76, 0xde, 0x28, 0x68, 0x27, 0x06, 0x16, 0x16, 0xf0, 0x98, 0x4e, 15252 0x83, 0xaa, 0x3a, 0x3b, 0x9b, 0x3e, 0x2e, 0x22, 0x7b, 0x63, 0xd5, 0x6b, 0x75, 0x7c, 0x57, 0x1d, 15253 0x59, 0xf8, 0x22, 0x0a, 0xda, 0x0d, 0x2a, 0xca, 0x6d, 0x1d, 0xc8, 0x7a, 0xb3, 0xd0, 0xc3, 0x77, 15254 0x18, 0xfa, 0x77, 0x96, 0x77, 0x36, 0xca, 0x25, 0xeb, 0x36, 0x80, 0xd6, 0x12, 0xc0, 0xe0, 0xd6, 15255 0xb6, 0xbd, 0x59, 0xdd, 0x28, 0xf7, 0x90, 0x19, 0xb8, 0xf0, 0x68, 0x7d, 0x6b, 0x65, 0xfb, 0x51, 15256 0xbd, 0x51, 0xdf, 0xac, 0xda, 0x3b, 0xcb, 0x55, 0x7b, 0xa5, 0x5c, 0xb2, 0xbe, 0x82, 0x69, 0x73, 15257 0x84, 0xaf, 0x74, 0x11, 0x46, 0x30, 0xa5, 0xf4, 0x99, 0x07, 0x8f, 0x76, 0x34, 0xf7, 0x40, 0x71, 15258 0xfc, 0x4a, 0xba, 0xb9, 0x88, 0x83, 0x9a, 0xf8, 0x8c, 0x34, 0x20, 0xf2, 0x36, 0x57, 0x0b, 0x92, 15259 0xaf, 0xef, 0x98, 0x5a, 0xd0, 0x88, 0xf5, 0x02, 0x14, 0x7d, 0xdf, 0x81, 0x69, 0xb3, 0xd5, 0xb3, 15260 0xda, 0x89, 0x5e, 0x47, 0xbf, 0x49, 0xcd, 0xf5, 0x9f, 0x10, 0xdd, 0x70, 0x2f, 0x24, 0xeb, 0x77, 15261 0xa0, 0x2c, 0xa0, 0xe2, 0x9d, 0xf7, 0x35, 0x69, 0xc8, 0x2b, 0x65, 0x3c, 0x53, 0x92, 0x0e, 0xba, 15262 0x3e, 0x94, 0x99, 0xc4, 0x14, 0x98, 0xbc, 0x81, 0x69, 0x18, 0xd8, 0x88, 0x2f, 0x54, 0x6c, 0xfe, 15263 0x03, 0x3d, 0xe0, 0x23, 0x27, 0x88, 0xa4, 0x53, 0xd1, 0x88, 0xad, 0x7e, 0x93, 0xb7, 0x61, 0xf0, 15264 0x9e, 0xdb, 0x8e, 0x84, 0x71, 0x22, 0xde, 0xe4, 0x19, 0x59, 0x5e, 0x61, 0x0b, 0x00, 0xcb, 0x86, 15265 0x0b, 0x5a, 0x83, 0xe7, 0xe8, 0x2a, 0x99, 0x83, 0xa1, 0x2d, 0xfa, 0xb5, 0xd6, 0xbe, 0xfc, 0x69, 15266 0x7d, 0x00, 0x17, 0x84, 0xc3, 0x96, 0xc6, 0xa6, 0xeb, 0xe2, 0xbd, 0x63, 0xc9, 0x78, 0xd2, 0x25, 15267 0x48, 0x62, 0x15, 0xc3, 0xdb, 0xed, 0xb4, 0x5e, 0x10, 0x8f, 0x6d, 0x14, 0xe7, 0xc4, 0x7b, 0x4b, 15268 0xde, 0xc3, 0x74, 0x9b, 0xce, 0x3f, 0x2d, 0xc1, 0x5c, 0xe2, 0x9c, 0xbf, 0x7c, 0xe8, 0xb4, 0xdb, 15269 0xd4, 0x3b, 0xa0, 0xe4, 0x06, 0xf4, 0xef, 0x6c, 0xef, 0xd4, 0x84, 0x9d, 0x52, 0xde, 0x2f, 0xb3, 15270 0x22, 0x05, 0x63, 0x23, 0x04, 0x79, 0x08, 0x17, 0xa4, 0x4b, 0xa6, 0xaa, 0x12, 0x33, 0x74, 0xa5, 15271 0xd8, 0xc1, 0x33, 0x8d, 0x47, 0xde, 0x13, 0x46, 0x89, 0x9f, 0x1c, 0xbb, 0x01, 0x6d, 0xa1, 0xed, 15272 0x25, 0xbe, 0xac, 0xd5, 0x6a, 0x6c, 0x1d, 0x8c, 0xbf, 0x7d, 0xb3, 0xfe, 0xb0, 0x04, 0xb3, 0x39, 15273 0x76, 0x0b, 0xf2, 0xb6, 0x31, 0x9c, 0x29, 0x6d, 0x38, 0x12, 0x64, 0xad, 0x47, 0x8c, 0x67, 0x59, 15274 0xf3, 0x53, 0xed, 0x3b, 0x87, 0x9f, 0xea, 0x5a, 0x4f, 0xec, 0x9b, 0xba, 0x04, 0x30, 0x2c, 0xcb, 15275 0xad, 0x49, 0x18, 0x37, 0xf8, 0x66, 0x59, 0x30, 0xa6, 0xb7, 0xcc, 0x26, 0x67, 0xd9, 0x6f, 0xa9, 15276 0xc9, 0x61, 0x7f, 0x5b, 0xbf, 0x5f, 0x82, 0x69, 0x1c, 0xe2, 0x81, 0xcb, 0x44, 0x5f, 0xcc, 0xa1, 15277 0x45, 0x63, 0x24, 0x0b, 0xc6, 0x48, 0x12, 0xb0, 0x6a, 0x48, 0x1f, 0xa7, 0x86, 0xb4, 0x90, 0x35, 15278 0x24, 0x5c, 0xde, 0xae, 0xef, 0x19, 0x23, 0xd1, 0x2e, 0x83, 0xfe, 0xa8, 0x04, 0x53, 0x5a, 0x9f, 15279 0x54, 0xff, 0xef, 0x18, 0x5d, 0xba, 0x9c, 0xd1, 0xa5, 0x14, 0x93, 0x97, 0x52, 0x3d, 0x7a, 0xbd, 15280 0xa8, 0x47, 0x5d, 0x79, 0xfc, 0x5f, 0x4a, 0x30, 0x93, 0xc9, 0x03, 0x72, 0x91, 0xe9, 0xb6, 0xcd, 15281 0x80, 0x46, 0x82, 0xbd, 0xe2, 0x17, 0x2b, 0x5f, 0x0f, 0xc3, 0x63, 0x1a, 0x88, 0xef, 0x5c, 0xfc, 15282 0x22, 0xaf, 0xc3, 0x78, 0x8d, 0x06, 0xae, 0xdf, 0xe2, 0x1e, 0xcc, 0xdc, 0x35, 0x70, 0xdc, 0x36, 15283 0x0b, 0xc9, 0x02, 0x8c, 0x54, 0xdb, 0x07, 0x7e, 0xe0, 0x46, 0x87, 0xfc, 0x3e, 0x6e, 0xc4, 0x8e, 15284 0x0b, 0x18, 0xed, 0x15, 0xf7, 0x80, 0x5f, 0x2b, 0x30, 0x64, 0xf1, 0x8b, 0x09, 0x17, 0x69, 0xaf, 15285 0x1b, 0xe4, 0xc2, 0x45, 0x1a, 0xe3, 0x2e, 0xc2, 0xe0, 0xe7, 0x36, 0x2e, 0x02, 0x7c, 0x13, 0x6c, 15286 0x8b, 0x5f, 0x64, 0x02, 0x7d, 0x50, 0xf1, 0xc5, 0x2f, 0xfa, 0x9e, 0x7e, 0x0c, 0xd3, 0x59, 0x7c, 15287 0xcd, 0x5a, 0x42, 0x02, 0xb7, 0x57, 0xe1, 0xfe, 0x00, 0xa6, 0xaa, 0xad, 0xd6, 0xe6, 0xbd, 0x2a, 15288 0xbf, 0xf5, 0x17, 0xb3, 0xca, 0x3f, 0x1e, 0x6e, 0xaf, 0x13, 0x2a, 0x5b, 0xff, 0xba, 0xe7, 0x46, 15289 0xf6, 0xd4, 0xea, 0xd7, 0x6e, 0x18, 0xb9, 0xde, 0x81, 0x66, 0xd6, 0xb3, 0x2f, 0x6e, 0xd1, 0x67, 15290 0x19, 0x4b, 0x80, 0xed, 0xa6, 0x26, 0x6d, 0x65, 0x06, 0x4c, 0x12, 0x9f, 0xd6, 0xc8, 0xc6, 0xa2, 15291 0x64, 0xd6, 0xa4, 0x1b, 0x57, 0xf4, 0x55, 0x9b, 0x4f, 0xac, 0xef, 0xc0, 0x45, 0x2e, 0xd2, 0x8a, 15292 0x3a, 0x2f, 0xba, 0xad, 0x5b, 0x21, 0xad, 0x0f, 0xa5, 0x95, 0xa2, 0xb0, 0x67, 0xf6, 0x98, 0xd1, 15293 0x17, 0x6c, 0xf2, 0xaf, 0x4a, 0x30, 0x9f, 0x40, 0xad, 0x3f, 0xf7, 0x9a, 0x52, 0x9e, 0xbe, 0x99, 15294 0xf4, 0xf1, 0x45, 0x3d, 0x80, 0x1b, 0xff, 0xdc, 0x96, 0x72, 0xf3, 0x25, 0xb7, 0x01, 0x38, 0xb2, 15295 0xb6, 0x7d, 0xa3, 0xf1, 0x59, 0xf8, 0x70, 0xe0, 0x06, 0xae, 0x81, 0x90, 0x63, 0xc8, 0xe2, 0xbb, 15296 0xf8, 0x46, 0xba, 0x59, 0x67, 0xf1, 0x1d, 0x3c, 0x15, 0xe8, 0x8d, 0x1c, 0x33, 0x6d, 0x16, 0x7d, 15297 0xeb, 0x6f, 0xf5, 0xc1, 0xac, 0x3e, 0x81, 0x2f, 0x32, 0xd6, 0x1a, 0x8c, 0x2e, 0xfb, 0x5e, 0x44, 15298 0xbf, 0x8e, 0xb4, 0x57, 0xce, 0x44, 0xdd, 0x75, 0xab, 0x1a, 0xa1, 0x3a, 0xf2, 0x82, 0x06, 0xd3, 15299 0x63, 0x0c, 0x5f, 0xb4, 0x18, 0x90, 0x2c, 0xc3, 0xf8, 0x16, 0x7d, 0x96, 0x62, 0x20, 0xfa, 0xc3, 15300 0x79, 0xf4, 0x59, 0x43, 0x63, 0xa2, 0xee, 0xa4, 0x64, 0xe0, 0x90, 0x7d, 0x98, 0x90, 0x8b, 0xcb, 15301 0x60, 0xe6, 0xbc, 0xbe, 0xab, 0x98, 0xcb, 0x99, 0xbf, 0x03, 0x66, 0x2d, 0xe4, 0xf0, 0x30, 0x41, 15302 0x91, 0x0d, 0x9d, 0xb7, 0xc8, 0x9f, 0xb6, 0x9a, 0xdb, 0x96, 0x56, 0x63, 0x78, 0x1b, 0x26, 0x9f, 15303 0xb4, 0xea, 0x24, 0xac, 0x1a, 0xcc, 0xa5, 0xe7, 0x43, 0xb4, 0xf6, 0x1e, 0x0c, 0xf2, 0x52, 0xa1, 15304 0x06, 0xc8, 0x10, 0x13, 0x0a, 0x9a, 0x9f, 0xd3, 0x79, 0x33, 0xb6, 0x80, 0xb5, 0xd6, 0xd0, 0x76, 15305 0xa2, 0x60, 0x94, 0x22, 0xf6, 0x6e, 0x72, 0x7a, 0xd1, 0x91, 0x53, 0x4e, 0xaf, 0xee, 0xe9, 0x21, 15306 0x7d, 0xd7, 0x97, 0xd1, 0xfc, 0xa4, 0x53, 0x12, 0x1d, 0xbb, 0x09, 0x43, 0xa2, 0x28, 0x11, 0xfc, 15307 0x22, 0xfe, 0xfc, 0x24, 0x80, 0xf5, 0x31, 0x5c, 0x42, 0x5b, 0x98, 0xeb, 0x1d, 0xb4, 0xe9, 0x6e, 15308 0x68, 0x78, 0x9f, 0x77, 0xfb, 0xac, 0xbf, 0x0b, 0xf3, 0x59, 0xb8, 0x5d, 0xbf, 0x6c, 0xfe, 0xd8, 15309 0xfd, 0x2f, 0x7a, 0x61, 0x7a, 0x3d, 0xd4, 0x95, 0x09, 0xc1, 0x89, 0x5b, 0x59, 0xcf, 0xb0, 0x91, 15310 0x27, 0x6b, 0x3d, 0x59, 0xcf, 0xac, 0xdf, 0xd3, 0x9e, 0xb5, 0xf5, 0x16, 0xbd, 0xaf, 0x66, 0xdb, 15311 0x96, 0x7a, 0xd8, 0xf6, 0x26, 0xf4, 0x6f, 0x31, 0x51, 0xdd, 0x27, 0xe6, 0x8e, 0x63, 0xb0, 0x22, 15312 0x7c, 0x56, 0xc6, 0xb6, 0x48, 0xf6, 0x83, 0xdc, 0x4b, 0x3d, 0x5e, 0xeb, 0xef, 0xfe, 0x7e, 0x78, 15313 0xad, 0x27, 0xf5, 0x8e, 0xed, 0x03, 0x18, 0xad, 0xb6, 0x8e, 0xb8, 0xc3, 0x99, 0xef, 0x25, 0x3e, 15314 0x4b, 0xad, 0x66, 0xad, 0xc7, 0xd6, 0x01, 0xd9, 0x09, 0xb7, 0xda, 0xe9, 0xe0, 0x46, 0x95, 0xf5, 15315 0xa6, 0x7a, 0xad, 0x07, 0xfd, 0xb7, 0x97, 0x86, 0x61, 0x70, 0xc7, 0x09, 0x0e, 0x68, 0x64, 0xfd, 15316 0x00, 0xe6, 0x85, 0x9b, 0x08, 0xb7, 0xfc, 0xa1, 0x33, 0x49, 0x18, 0x7b, 0x02, 0x15, 0xb9, 0x76, 15317 0x5c, 0x05, 0x40, 0x3d, 0x7f, 0xdd, 0x6b, 0xd1, 0xaf, 0xb9, 0x37, 0x93, 0xad, 0x95, 0x58, 0xef, 15318 0xc3, 0x88, 0xe2, 0x10, 0x2a, 0xb3, 0xda, 0x66, 0x87, 0xdc, 0x9a, 0x36, 0x5e, 0xeb, 0xc9, 0x27, 15319 0x7a, 0x97, 0x8c, 0xb1, 0x8b, 0x18, 0x09, 0x5c, 0xfb, 0x75, 0x61, 0x26, 0xb1, 0x08, 0xe2, 0x47, 15320 0xb8, 0x4a, 0xff, 0x44, 0xcf, 0x27, 0x5b, 0xfd, 0x4e, 0xaa, 0xa7, 0xbd, 0x67, 0x52, 0x4f, 0xad, 15321 0x7f, 0xda, 0x8b, 0x07, 0xa7, 0x14, 0x3f, 0x12, 0x36, 0x28, 0xdd, 0x0e, 0xb6, 0x04, 0x23, 0x38, 15322 0xfa, 0x15, 0xf9, 0xb2, 0xa8, 0xd8, 0xcb, 0x61, 0xf8, 0xe7, 0x27, 0x95, 0x1e, 0x74, 0x6d, 0x88, 15323 0xd1, 0xc8, 0xa7, 0x30, 0xb4, 0xea, 0xb5, 0x90, 0x42, 0xdf, 0x39, 0x28, 0x48, 0x24, 0x36, 0x27, 15324 0xd8, 0xe5, 0x1d, 0xf6, 0x09, 0x73, 0xd3, 0x85, 0xad, 0x95, 0xc4, 0x27, 0xb8, 0x81, 0xbc, 0x13, 15325 0xdc, 0x60, 0xe2, 0x04, 0x67, 0xc1, 0xc0, 0x76, 0xd0, 0x12, 0xb1, 0x0d, 0x26, 0x16, 0xc7, 0x04, 15326 0xe3, 0xb0, 0xcc, 0xe6, 0x55, 0xd6, 0x7f, 0x2f, 0xc1, 0xec, 0x7d, 0x1a, 0x65, 0xae, 0x21, 0x83, 15327 0x2b, 0xa5, 0x97, 0xe6, 0x4a, 0xef, 0x8b, 0x70, 0x45, 0x8d, 0xba, 0x2f, 0x6f, 0xd4, 0xfd, 0x79, 15328 0xa3, 0x1e, 0xc8, 0x1f, 0xf5, 0x7d, 0x18, 0xe4, 0x43, 0x65, 0xa7, 0xd4, 0xf5, 0x88, 0x1e, 0xc5, 15329 0xa7, 0x54, 0xdd, 0x47, 0xcb, 0xe6, 0x75, 0x4c, 0x91, 0xdc, 0x70, 0x42, 0xfd, 0x94, 0x2a, 0x7e, 15330 0x5a, 0x3f, 0xc6, 0x37, 0x89, 0x1b, 0x7e, 0xf3, 0x89, 0x66, 0xed, 0x1c, 0xe2, 0x5f, 0x68, 0xd2, 15331 0x3a, 0xce, 0xa0, 0x78, 0x8d, 0x2d, 0x21, 0xc8, 0x35, 0x18, 0x5d, 0xf7, 0xee, 0xf9, 0x41, 0x93, 15332 0x6e, 0x7b, 0x6d, 0x4e, 0x7d, 0xd8, 0xd6, 0x8b, 0x84, 0x15, 0x40, 0xb4, 0x10, 0x1f, 0xad, 0xb1, 15333 0x20, 0x71, 0xb4, 0x66, 0x65, 0x7b, 0x8b, 0x36, 0xaf, 0x13, 0x46, 0x06, 0xf6, 0x77, 0xd1, 0xa9, 15334 0x54, 0x1d, 0x5f, 0xbb, 0x01, 0xee, 0xc3, 0x25, 0x9b, 0x76, 0xda, 0x0e, 0xd3, 0xe9, 0x8e, 0x7c, 15335 0x0e, 0xaf, 0xc6, 0x7c, 0x2d, 0xe3, 0x3d, 0x91, 0x79, 0x63, 0xaf, 0xba, 0xdc, 0x5b, 0xd0, 0xe5, 15336 0x23, 0xb8, 0x7e, 0x9f, 0x46, 0xa6, 0x40, 0x8d, 0x6d, 0xa9, 0x62, 0xf0, 0x6b, 0x30, 0x1c, 0x9a, 15337 0x76, 0xe0, 0xab, 0xf2, 0xfa, 0x21, 0x0b, 0x71, 0xef, 0xae, 0xbc, 0x29, 0x11, 0x74, 0xd4, 0x5f, 15338 0xd6, 0x67, 0x50, 0xc9, 0x6b, 0xee, 0x6c, 0x0e, 0x95, 0x2e, 0x5c, 0xcb, 0x27, 0x20, 0xba, 0xbb, 15339 0x0a, 0xd2, 0x66, 0x2c, 0x3e, 0xa1, 0x6e, 0xbd, 0x35, 0xcd, 0xcc, 0xe2, 0x0f, 0x6b, 0x49, 0xba, 15340 0x96, 0xbd, 0x44, 0x77, 0x1b, 0x78, 0x1d, 0x6b, 0x12, 0x88, 0xf9, 0x5a, 0x85, 0x61, 0x59, 0x26, 15341 0xf8, 0x3a, 0x9b, 0xd9, 0x53, 0xc9, 0xd0, 0x96, 0x24, 0xa0, 0xd0, 0xac, 0x1f, 0xcb, 0xab, 0x09, 15342 0x13, 0xe3, 0x6c, 0x0f, 0xec, 0xce, 0x72, 0x17, 0x61, 0xf9, 0x70, 0xc9, 0xa4, 0xad, 0x9b, 0x9c, 15343 0xcb, 0x9a, 0xc9, 0x99, 0x5b, 0x9a, 0xaf, 0x99, 0x26, 0xd0, 0x5e, 0xb1, 0x2e, 0xe3, 0x22, 0x72, 15344 0x55, 0x37, 0x2c, 0x8f, 0xa5, 0x5f, 0xec, 0xbd, 0x0b, 0xf3, 0x59, 0x0d, 0x6a, 0xe7, 0x40, 0x65, 15345 0xbd, 0x14, 0xfa, 0xce, 0x6f, 0x97, 0xc0, 0x32, 0xfc, 0x77, 0x70, 0x86, 0x6a, 0x81, 0xff, 0xd4, 15346 0x6d, 0x69, 0x97, 0x22, 0x6f, 0x1b, 0x06, 0x39, 0xfe, 0x56, 0x2a, 0xe9, 0x3a, 0x2c, 0xa4, 0xdd, 15347 0xbb, 0x09, 0x23, 0x19, 0x57, 0x19, 0xd1, 0xa7, 0xe7, 0x09, 0xd5, 0xdf, 0x1a, 0x28, 0xe3, 0xd9, 15348 0xff, 0x2c, 0xc1, 0x6b, 0x85, 0x7d, 0x10, 0xfd, 0xdf, 0x87, 0x72, 0xb2, 0x4e, 0xcc, 0x7d, 0x45, 15349 0xf3, 0x26, 0x48, 0x53, 0xd8, 0xbb, 0xc3, 0xfd, 0x93, 0xa5, 0xdf, 0x4b, 0x47, 0x51, 0x4e, 0xd1, 15350 0x3b, 0x7f, 0xef, 0xc9, 0x47, 0x00, 0x3b, 0x7e, 0xe4, 0xb4, 0x97, 0xf1, 0xe8, 0xde, 0x17, 0xfb, 15351 0x9a, 0x47, 0xac, 0xb4, 0x91, 0x7c, 0x98, 0xae, 0x01, 0x5b, 0xdf, 0xc7, 0x2f, 0x32, 0xbb, 0xd3, 15352 0x67, 0xfb, 0x48, 0x96, 0xe1, 0xb5, 0xc4, 0x8d, 0xf6, 0x0b, 0x10, 0x89, 0x60, 0x86, 0xb1, 0x9f, 15353 0x69, 0xcd, 0xf7, 0x03, 0xff, 0xb8, 0xf3, 0xab, 0x99, 0xf5, 0x7f, 0x5b, 0xe2, 0x4e, 0x7e, 0x7a, 15354 0xb3, 0x62, 0xa2, 0x97, 0x01, 0xe2, 0xd2, 0x84, 0xb3, 0xb7, 0xaa, 0xd8, 0xbb, 0xc3, 0x0f, 0xcb, 15355 0x68, 0xeb, 0x3e, 0xe0, 0x04, 0x34, 0xb4, 0x5f, 0xed, 0x4c, 0xde, 0xc5, 0x6b, 0x6c, 0xd5, 0xfa, 15356 0xd9, 0xf8, 0xfe, 0x81, 0xb4, 0x5c, 0x9c, 0x13, 0xef, 0x10, 0xa6, 0xd9, 0xb7, 0xcb, 0x4e, 0xf9, 15357 0x7e, 0xe0, 0x46, 0xf2, 0xd9, 0x02, 0xa9, 0x89, 0x47, 0xbf, 0x1c, 0xeb, 0xbb, 0xbf, 0x3c, 0xa9, 15358 0x7c, 0x78, 0x9e, 0x88, 0x6a, 0x92, 0xe6, 0x8e, 0x7a, 0x28, 0x6c, 0xcd, 0x42, 0xdf, 0xb2, 0xbd, 15359 0x81, 0xa2, 0xca, 0xde, 0x50, 0xa2, 0xca, 0xde, 0xb0, 0xfe, 0x5b, 0x2f, 0x54, 0x78, 0x58, 0x02, 15360 0xf4, 0x7e, 0x88, 0xed, 0x0d, 0x9a, 0x3b, 0xc5, 0x59, 0x4d, 0x03, 0x89, 0xb0, 0x03, 0xbd, 0x67, 15361 0x09, 0x3b, 0xf0, 0x1b, 0x90, 0x63, 0x6c, 0x3a, 0xc3, 0xf9, 0xfd, 0xad, 0xd3, 0x93, 0xca, 0x6b, 15362 0xf1, 0xf9, 0x9d, 0xd7, 0x66, 0x1d, 0xe4, 0x73, 0x9a, 0x48, 0x5b, 0x1e, 0xfa, 0x5f, 0xc0, 0xf2, 15363 0xf0, 0x2e, 0x0c, 0xe1, 0x31, 0x64, 0xbd, 0x26, 0x3c, 0x02, 0x71, 0x79, 0x62, 0x0c, 0x91, 0x86, 15364 0xab, 0x07, 0x72, 0x92, 0x60, 0xd6, 0xdf, 0xe9, 0x85, 0x6b, 0xf9, 0x3c, 0x17, 0x7d, 0x5b, 0x01, 15365 0x88, 0xfd, 0x2e, 0x8a, 0xfc, 0x3c, 0xf0, 0xdb, 0x79, 0x46, 0xf7, 0x95, 0x9f, 0x95, 0x86, 0xc7, 15366 0xb4, 0x16, 0xf9, 0x02, 0x34, 0x61, 0xe4, 0x37, 0x1e, 0x86, 0x8a, 0x38, 0x81, 0xa2, 0xc8, 0x88, 15367 0x13, 0x28, 0xca, 0xc8, 0x3e, 0xcc, 0xd6, 0x02, 0xf7, 0xa9, 0x13, 0xd1, 0x87, 0xf4, 0x39, 0x7f, 15368 0x44, 0xb2, 0x2a, 0x5e, 0x8e, 0xf0, 0x67, 0xbd, 0x37, 0x4e, 0x4f, 0x2a, 0xaf, 0x77, 0x38, 0x08, 15369 0xfb, 0x30, 0x1b, 0xfc, 0x4d, 0x5a, 0x23, 0xfd, 0x98, 0x24, 0x8f, 0x90, 0xf5, 0x6f, 0x4a, 0x70, 15370 0x19, 0x15, 0x6a, 0x61, 0x30, 0x95, 0x8d, 0xbf, 0x90, 0xbb, 0x9f, 0x3e, 0x40, 0xb1, 0x16, 0xd1, 15371 0xdd, 0xcf, 0x78, 0x21, 0x6b, 0x1b, 0x60, 0x64, 0x1d, 0x46, 0xc5, 0x6f, 0xfc, 0xfe, 0xfa, 0x50, 15372 0x95, 0x9f, 0xd1, 0x04, 0x16, 0x2e, 0x75, 0x6e, 0xe4, 0xc1, 0x85, 0x2d, 0x88, 0xe1, 0x43, 0x32, 15373 0x5b, 0xc7, 0xb5, 0x7e, 0xd1, 0x0b, 0x0b, 0x7b, 0x34, 0x70, 0x1f, 0x3f, 0xcf, 0x19, 0xcc, 0x36, 15374 0x4c, 0xcb, 0x22, 0x1e, 0x9a, 0xc0, 0xf8, 0xc4, 0x78, 0x24, 0x32, 0xd9, 0x55, 0x11, 0xdb, 0x40, 15375 0x7e, 0x71, 0x99, 0x88, 0xe7, 0x70, 0xe4, 0x7b, 0x0f, 0x86, 0x13, 0xc1, 0x41, 0x70, 0xfe, 0xe5, 15376 0x17, 0x1a, 0x4f, 0xd5, 0x5a, 0x8f, 0xad, 0x20, 0xc9, 0xef, 0xe4, 0xdf, 0xbc, 0x08, 0xa3, 0x45, 15377 0x37, 0xcb, 0x25, 0x7e, 0xb0, 0xec, 0x63, 0x75, 0xb4, 0xda, 0x8c, 0x0f, 0x76, 0xad, 0xc7, 0xce, 15378 0x6b, 0x69, 0x69, 0x14, 0x46, 0xaa, 0x78, 0x9b, 0xc4, 0xce, 0xdc, 0xff, 0xa3, 0x17, 0xae, 0xca, 15379 0x07, 0x21, 0x39, 0x6c, 0xfe, 0x02, 0x66, 0x65, 0x51, 0xb5, 0xc3, 0x14, 0x06, 0xda, 0x32, 0x39, 15380 0xcd, 0xa3, 0x01, 0x4a, 0x4e, 0x3b, 0x02, 0x26, 0x66, 0x76, 0x1e, 0xfa, 0xab, 0xb1, 0x5b, 0x7e, 15381 0x9a, 0x15, 0xaa, 0x05, 0xed, 0x87, 0xba, 0xcc, 0x34, 0x58, 0x63, 0xc8, 0xcf, 0x56, 0xca, 0xee, 15382 0xd9, 0xff, 0xb2, 0x76, 0xcf, 0xb5, 0x9e, 0xa4, 0xe5, 0x73, 0x69, 0x02, 0xc6, 0xb6, 0xe8, 0xb3, 15383 0x98, 0xef, 0x7f, 0xbd, 0x94, 0x78, 0x82, 0xce, 0x34, 0x0c, 0xfe, 0x16, 0xbd, 0x14, 0x47, 0xfb, 15384 0xc0, 0x27, 0xe8, 0xba, 0x86, 0xc1, 0x41, 0xd7, 0x61, 0x88, 0x5f, 0xb1, 0xb6, 0xce, 0x70, 0x36, 15385 0x57, 0x2f, 0x3b, 0xf8, 0x73, 0xbb, 0x16, 0x3f, 0xa6, 0x0b, 0x7c, 0xeb, 0x21, 0x5c, 0x17, 0x9e, 15386 0xc7, 0xe6, 0xe4, 0x63, 0x43, 0xe7, 0xdc, 0xbe, 0x2c, 0x07, 0xae, 0xde, 0xa7, 0x49, 0xd1, 0x63, 15387 0xbc, 0x7c, 0xf9, 0x0c, 0x26, 0x8d, 0x72, 0x45, 0x11, 0xb5, 0x52, 0xb5, 0x86, 0x14, 0xe9, 0x24, 15388 0xb4, 0x75, 0x2d, 0xab, 0x09, 0xbd, 0xb3, 0x16, 0xc5, 0xb0, 0x7e, 0x41, 0x7c, 0x39, 0x16, 0x9e, 15389 0x43, 0xea, 0xdd, 0xd0, 0xbe, 0x6b, 0x2e, 0xf1, 0x78, 0x7c, 0x2f, 0xb9, 0xf3, 0xaa, 0x5a, 0x6b, 15390 0xdc, 0xb0, 0xe2, 0x5b, 0x13, 0x30, 0x26, 0xab, 0xda, 0x34, 0x0c, 0xad, 0x9f, 0x0d, 0x80, 0x25, 15391 0x18, 0x9b, 0x75, 0x6f, 0x2c, 0xf9, 0xb1, 0x9f, 0xea, 0xac, 0xd8, 0xa8, 0x2e, 0xea, 0x11, 0xe5, 15392 0xe2, 0x5a, 0xbe, 0xf2, 0x50, 0xcf, 0x6b, 0xc6, 0xa5, 0xc6, 0xca, 0x4b, 0x8d, 0xfe, 0x87, 0x39, 15393 0x62, 0x92, 0x7f, 0x6c, 0x6f, 0x9c, 0x9e, 0x54, 0xae, 0xe7, 0x88, 0x49, 0x83, 0x6e, 0xb6, 0xc8, 15394 0xb4, 0xcd, 0xcb, 0x8c, 0xbe, 0x17, 0xb9, 0xcc, 0x60, 0x5f, 0xa4, 0x7e, 0x9d, 0xb1, 0x6b, 0xf2, 15395 0x52, 0x7c, 0x8f, 0xf2, 0x32, 0x5a, 0xaf, 0x12, 0x2f, 0xc1, 0xb5, 0x12, 0x83, 0xaa, 0x41, 0x86, 15396 0xb8, 0x50, 0xd6, 0xac, 0x8d, 0xcb, 0x87, 0xb4, 0xf9, 0x44, 0x58, 0x79, 0xe5, 0x55, 0x6c, 0x96, 15397 0xb5, 0x9b, 0x47, 0x16, 0xe5, 0xdf, 0x39, 0xaf, 0x68, 0x34, 0x19, 0xaa, 0xfe, 0x92, 0x3d, 0x49, 15398 0x96, 0xfc, 0x14, 0xa6, 0xd4, 0x54, 0x27, 0x1c, 0x87, 0x46, 0x17, 0x5f, 0x8f, 0x43, 0x10, 0x1e, 15399 0x3d, 0x76, 0x6e, 0x3d, 0xbd, 0x73, 0x2b, 0x03, 0x96, 0x3f, 0x90, 0x6e, 0xca, 0x0a, 0xcd, 0x6b, 15400 0x48, 0xbf, 0xa2, 0xca, 0x42, 0xd4, 0x2e, 0xa2, 0xff, 0x40, 0xb9, 0xb9, 0x33, 0x7d, 0xc1, 0x6d, 15401 0x53, 0xf1, 0x62, 0x44, 0xae, 0xbe, 0x9c, 0x4b, 0xb4, 0xd2, 0x37, 0x7c, 0x89, 0xf6, 0xc7, 0xbd, 15402 0xd2, 0xb9, 0x3f, 0x7d, 0x8f, 0x79, 0xee, 0xbb, 0xb4, 0xcc, 0x11, 0x9c, 0x69, 0x33, 0xcd, 0xec, 15403 0x1c, 0x59, 0x92, 0x37, 0x91, 0x2a, 0x68, 0xd0, 0x84, 0xb2, 0xea, 0xc7, 0x15, 0xc6, 0xe5, 0x24, 15404 0xaa, 0x2e, 0x1a, 0x56, 0xf2, 0x9a, 0xab, 0xef, 0xe5, 0xaf, 0xb9, 0xfe, 0xc5, 0x08, 0x5c, 0xa8, 15405 0x39, 0x07, 0xae, 0xc7, 0x84, 0xb6, 0x4d, 0x43, 0xff, 0x38, 0x68, 0x52, 0x52, 0x85, 0x09, 0xd3, 15406 0x73, 0xb3, 0x8b, 0x5f, 0x2a, 0xdb, 0x97, 0xcc, 0x32, 0xb2, 0x08, 0x23, 0xea, 0xbd, 0xa6, 0xd8, 15407 0x4c, 0x32, 0xde, 0x71, 0xae, 0xf5, 0xd8, 0x31, 0x18, 0xf9, 0xc8, 0xb8, 0x99, 0x99, 0x54, 0x4f, 15408 0x8f, 0x11, 0x76, 0x91, 0xbb, 0xd6, 0x79, 0x7e, 0xcb, 0xdc, 0x10, 0xf9, 0xf5, 0xc3, 0x8f, 0x53, 15409 0x97, 0x35, 0x03, 0x46, 0x8f, 0x53, 0x16, 0x2b, 0xd4, 0x05, 0x72, 0x43, 0xbb, 0x66, 0x5c, 0xe3, 15410 0xfc, 0x00, 0x46, 0x1f, 0x1e, 0xef, 0x53, 0x79, 0x2d, 0x35, 0x28, 0xf6, 0xc7, 0xa4, 0x3f, 0xb2, 15411 0xa8, 0xdf, 0xbb, 0xcb, 0xe7, 0xe0, 0xc9, 0xf1, 0x3e, 0x4d, 0xc7, 0x0c, 0x66, 0x82, 0x49, 0x23, 15412 0x46, 0x0e, 0xa1, 0x9c, 0x74, 0x1d, 0x16, 0x61, 0xb6, 0x0a, 0x1c, 0x9e, 0x31, 0xc6, 0x83, 0x16, 15413 0x99, 0x98, 0x3b, 0x34, 0x1a, 0x8d, 0xa4, 0xa8, 0x92, 0xdf, 0x84, 0x99, 0x4c, 0x7b, 0xa1, 0x7a, 15414 0x7e, 0x54, 0x6c, 0x8a, 0x44, 0xa1, 0x9e, 0xe0, 0x9a, 0x7c, 0xeb, 0x64, 0xb4, 0x9c, 0xdd, 0x0a, 15415 0x69, 0xc1, 0x64, 0xc2, 0x25, 0x56, 0x84, 0x47, 0xcf, 0x77, 0xb2, 0xc5, 0x8d, 0x49, 0x46, 0xaa, 15416 0xcc, 0x6c, 0x2b, 0x49, 0x92, 0x6c, 0xc0, 0x88, 0x3a, 0xee, 0x63, 0xb8, 0x9e, 0x6c, 0xd3, 0xc6, 15417 0xdc, 0xe9, 0x49, 0x65, 0x3a, 0x36, 0x6d, 0x18, 0x34, 0x63, 0x02, 0xe4, 0xb7, 0xe0, 0xba, 0x5a, 15418 0xa2, 0xdb, 0x41, 0xb6, 0x11, 0x48, 0x44, 0x3e, 0xbe, 0x99, 0x5c, 0xe1, 0x79, 0xf0, 0x7b, 0x77, 15419 0x96, 0x7a, 0xe7, 0x4a, 0x6b, 0x3d, 0x76, 0x77, 0xd2, 0xe4, 0x67, 0x25, 0xb8, 0x98, 0xd3, 0xea, 15420 0x18, 0xb6, 0xda, 0xd5, 0x32, 0x87, 0xca, 0x3d, 0x3e, 0xf8, 0x71, 0x5b, 0xf1, 0xd3, 0x34, 0x69, 15421 0xa2, 0x33, 0xc6, 0x9d, 0xd3, 0x12, 0x79, 0x07, 0x06, 0xf1, 0x8c, 0x1c, 0xce, 0x8d, 0xa3, 0x16, 15422 0x89, 0xa1, 0x4d, 0xf0, 0x24, 0xad, 0xef, 0x1b, 0x02, 0x86, 0xac, 0x31, 0x6d, 0x0c, 0xf7, 0x2d, 15423 0xa9, 0x3d, 0x89, 0x40, 0x48, 0x42, 0xa3, 0xe7, 0x55, 0x32, 0x42, 0x84, 0x11, 0xe2, 0xda, 0x44, 15424 0x5b, 0x02, 0x18, 0x0e, 0x84, 0x54, 0x7a, 0xd0, 0x3f, 0xdc, 0x5f, 0x1e, 0xe0, 0x1f, 0x8e, 0xf4, 15425 0xb5, 0xfe, 0xdd, 0x61, 0xfe, 0x34, 0x72, 0xd7, 0x73, 0x1f, 0xbb, 0xb1, 0x00, 0xd3, 0xad, 0x6b, 15426 0x71, 0x2e, 0x08, 0xa1, 0xfb, 0xe6, 0x64, 0x7d, 0x50, 0x86, 0xb8, 0xde, 0xae, 0x86, 0xb8, 0xbb, 15427 0xda, 0x65, 0x93, 0x16, 0x3b, 0x90, 0xeb, 0x38, 0xa6, 0xe1, 0x2b, 0xbe, 0x85, 0xfa, 0x0a, 0x06, 15428 0x31, 0xdc, 0x1f, 0xbf, 0xc9, 0x1b, 0x5d, 0xbc, 0x25, 0xc4, 0x76, 0x41, 0xf7, 0x79, 0x7c, 0x40, 15429 0xf1, 0xdc, 0x99, 0x73, 0x1c, 0x0b, 0x0c, 0x8e, 0x63, 0x09, 0xd9, 0x81, 0xa9, 0x5a, 0x40, 0x5b, 15430 0xc2, 0xe3, 0xb7, 0x13, 0x08, 0xe3, 0x04, 0x37, 0x7b, 0xe0, 0x96, 0xdf, 0x91, 0xd5, 0x0d, 0xaa, 15431 0xea, 0xf5, 0x0d, 0x35, 0x03, 0x9d, 0xac, 0xc2, 0x44, 0x9d, 0x3a, 0x41, 0xf3, 0xf0, 0x21, 0x7d, 15432 0xce, 0xd4, 0x1d, 0x23, 0xbc, 0x7a, 0x88, 0x35, 0x6c, 0xbc, 0x58, 0xa5, 0x7b, 0x67, 0x98, 0x48, 15433 0xe4, 0xfb, 0x30, 0x58, 0xf7, 0x83, 0x68, 0xe9, 0xb9, 0x10, 0x6a, 0xf2, 0xae, 0x87, 0x17, 0x2e, 15434 0x5d, 0x92, 0x21, 0xe6, 0x43, 0x3f, 0x88, 0x1a, 0xfb, 0x46, 0xac, 0x1c, 0x0e, 0x42, 0x9e, 0xc3, 15435 0xb4, 0x29, 0x50, 0x84, 0x23, 0xea, 0xb0, 0x50, 0xb3, 0xb2, 0xa4, 0x16, 0x07, 0x59, 0xba, 0x21, 15436 0xa8, 0x5f, 0x4b, 0x8a, 0xad, 0xc7, 0x58, 0xaf, 0x87, 0xaf, 0xc9, 0xc2, 0x27, 0x9b, 0x18, 0x99, 15437 0x9f, 0x8f, 0xa8, 0x1a, 0x72, 0x07, 0xd6, 0x91, 0x38, 0x1a, 0xd3, 0x31, 0x0a, 0x25, 0xe4, 0x84, 15438 0x13, 0x26, 0x13, 0x2e, 0xd8, 0x29, 0x54, 0x52, 0x83, 0x0b, 0xbb, 0x21, 0xad, 0x05, 0xf4, 0xa9, 15439 0x4b, 0x9f, 0x49, 0x7a, 0x10, 0x87, 0xae, 0x61, 0xf4, 0x3a, 0xbc, 0x36, 0x8b, 0x60, 0x1a, 0x99, 15440 0x7c, 0x04, 0x50, 0x73, 0x3d, 0x8f, 0xb6, 0xf0, 0xc2, 0x70, 0x14, 0x49, 0xa1, 0x49, 0xb5, 0x83, 15441 0xa5, 0x0d, 0xdf, 0x6b, 0xeb, 0x2c, 0xd5, 0x80, 0xc9, 0x12, 0x8c, 0xaf, 0x7b, 0xcd, 0xf6, 0xb1, 15442 0xb8, 0xd8, 0x0f, 0x51, 0xa0, 0x88, 0x90, 0x5a, 0x2e, 0xaf, 0x68, 0xa4, 0x3e, 0x72, 0x13, 0x85, 15443 0x3c, 0x04, 0x22, 0x0a, 0xc4, 0xaa, 0x75, 0xf6, 0xdb, 0x54, 0x7c, 0xee, 0x68, 0x2a, 0x91, 0x84, 15444 0x70, 0xb9, 0x1b, 0x91, 0xaa, 0x52, 0x68, 0xf3, 0x1f, 0xc1, 0xa8, 0xb6, 0xe6, 0x33, 0xde, 0xef, 15445 0x4f, 0xeb, 0xef, 0xf7, 0x47, 0xf4, 0x77, 0xfa, 0xff, 0xb0, 0x04, 0x0b, 0xd9, 0xdf, 0x92, 0x50, 15446 0xc0, 0xb6, 0x61, 0x44, 0x15, 0xaa, 0xf7, 0x22, 0x52, 0xf5, 0x4f, 0x68, 0x40, 0xfc, 0x83, 0x96, 15447 0x92, 0x47, 0x1f, 0x7d, 0x4c, 0xe3, 0x05, 0xec, 0xf1, 0x7f, 0x63, 0x18, 0xa6, 0xd1, 0x2f, 0x3a, 15448 0x29, 0xa7, 0x3e, 0xc3, 0x38, 0x1c, 0x58, 0xa6, 0x99, 0x97, 0x85, 0xa5, 0x89, 0x97, 0x27, 0x23, 15449 0x22, 0x19, 0x08, 0xe4, 0x7d, 0xdd, 0x9b, 0xa1, 0x57, 0xcb, 0x05, 0x20, 0x0b, 0xf5, 0x21, 0xc4, 15450 0x6e, 0x0e, 0x6f, 0x1b, 0x97, 0xe9, 0x67, 0x16, 0x7a, 0xfd, 0x67, 0x15, 0x7a, 0xbb, 0x4a, 0xe8, 15451 0xf1, 0xf8, 0x0e, 0x6f, 0x69, 0x42, 0xef, 0xd5, 0x4b, 0xbb, 0xc1, 0x57, 0x2d, 0xed, 0x86, 0x5e, 15452 0x4e, 0xda, 0x0d, 0xbf, 0xa0, 0xb4, 0xbb, 0x07, 0x13, 0x5b, 0x94, 0xb6, 0xb4, 0x8b, 0x92, 0x91, 15453 0x78, 0xf7, 0xf4, 0x28, 0x9a, 0xc0, 0xb2, 0x6e, 0x4b, 0x12, 0x58, 0xb9, 0x52, 0x13, 0xfe, 0xef, 15454 0x48, 0xcd, 0xd1, 0x57, 0x2c, 0x35, 0xc7, 0x5e, 0x46, 0x6a, 0xa6, 0x44, 0xdf, 0xf8, 0xb9, 0x45, 15455 0xdf, 0xcb, 0x48, 0xab, 0x4f, 0xd1, 0x19, 0xb0, 0x5e, 0x5f, 0x13, 0x7e, 0x1f, 0x9a, 0xa3, 0xc5, 15456 0x9a, 0x1f, 0x4a, 0x5f, 0x69, 0xfc, 0x9b, 0x95, 0xd5, 0xfc, 0x40, 0x5e, 0x56, 0xe3, 0xdf, 0xd6, 15457 0x12, 0xba, 0x00, 0xea, 0xf8, 0xca, 0xd1, 0x7e, 0x48, 0x3c, 0xb6, 0x13, 0x32, 0x2e, 0x79, 0x8c, 15458 0xb2, 0x65, 0xbd, 0xf5, 0x17, 0x25, 0x7e, 0x29, 0xf9, 0xff, 0xa2, 0xa8, 0x7c, 0x99, 0x8b, 0xc2, 15459 0xdf, 0x89, 0x1f, 0xe1, 0x8b, 0x80, 0x01, 0x81, 0xd3, 0x7c, 0x12, 0xdf, 0xd4, 0xfe, 0x88, 0x7d, 15460 0xe7, 0x7a, 0x05, 0x46, 0xdc, 0x8c, 0xcf, 0x8a, 0x66, 0xe5, 0xde, 0x1d, 0x29, 0x00, 0x44, 0x2c, 15461 0x02, 0x5e, 0x6c, 0x0a, 0x00, 0x1d, 0x01, 0xbd, 0xdc, 0x26, 0x2d, 0x9b, 0xbf, 0x21, 0xcf, 0xec, 15462 0xc1, 0x07, 0xe9, 0x57, 0xd0, 0x78, 0x18, 0x89, 0x5f, 0x41, 0xeb, 0x6c, 0x8c, 0xdf, 0x43, 0xef, 15463 0xc2, 0x65, 0x9b, 0x1e, 0xf9, 0x4f, 0xe9, 0xab, 0x25, 0xfb, 0x43, 0xb8, 0x64, 0x12, 0xe4, 0xef, 15464 0x65, 0x78, 0xa4, 0xec, 0x4f, 0xb3, 0xe3, 0x6b, 0x0b, 0x04, 0x1e, 0x5f, 0x9b, 0x87, 0xe9, 0x65, 15465 0x7f, 0xea, 0xfb, 0x06, 0xd6, 0x59, 0x3e, 0x2c, 0x98, 0xc4, 0xab, 0xad, 0x16, 0x66, 0x46, 0x6b, 15466 0xba, 0x1d, 0xc7, 0x8b, 0xc8, 0x36, 0x8c, 0x6a, 0x3f, 0x13, 0xa6, 0x02, 0xad, 0x46, 0xe8, 0x34, 15467 0x71, 0x81, 0x11, 0x9b, 0x31, 0x2e, 0xb6, 0x28, 0x54, 0x92, 0xec, 0x61, 0x2c, 0xd3, 0xdb, 0x5c, 15468 0x82, 0x71, 0xed, 0xa7, 0x32, 0x59, 0xe2, 0xc7, 0xaf, 0xb5, 0x60, 0x32, 0xcc, 0x44, 0xb1, 0x9a, 15469 0x30, 0x9f, 0xc5, 0x34, 0x8c, 0x6c, 0xf4, 0x9c, 0xac, 0xc6, 0x31, 0x92, 0xba, 0xfb, 0xc9, 0x4d, 15470 0xe6, 0xc5, 0x47, 0xb2, 0xfe, 0x76, 0x3f, 0x5c, 0x16, 0x93, 0xf1, 0x2a, 0x67, 0x9c, 0xfc, 0x18, 15471 0x46, 0xb5, 0x39, 0x16, 0x4c, 0xbf, 0x26, 0x63, 0x32, 0xe6, 0xad, 0x05, 0x6e, 0xd2, 0x38, 0xc6, 15472 0x82, 0x46, 0x62, 0xba, 0xd7, 0x7a, 0x6c, 0x9d, 0x24, 0x69, 0xc3, 0x84, 0x39, 0xd1, 0xc2, 0xaa, 15473 0xf3, 0x5a, 0x66, 0x23, 0x26, 0xa8, 0x8c, 0xf0, 0xdb, 0x6a, 0x64, 0x4e, 0xf7, 0x5a, 0x8f, 0x9d, 15474 0xa0, 0x4d, 0xbe, 0x86, 0x0b, 0xa9, 0x59, 0x16, 0xc6, 0xba, 0x37, 0x33, 0x1b, 0x4c, 0x41, 0x73, 15475 0x73, 0x6c, 0x80, 0xc5, 0xb9, 0xcd, 0xa6, 0x1b, 0x21, 0x2d, 0x18, 0xd3, 0x27, 0x5e, 0x98, 0x9d, 15476 0xae, 0x17, 0xb0, 0x92, 0x03, 0x72, 0xe5, 0x4e, 0xf0, 0x12, 0xe7, 0xfe, 0xb9, 0x69, 0x62, 0x36, 15477 0x80, 0x87, 0x61, 0x90, 0xff, 0x66, 0x22, 0xa0, 0x16, 0xd0, 0x90, 0x7a, 0x4d, 0x6a, 0xb8, 0x56, 15478 0xbf, 0xa4, 0x08, 0xf8, 0xd7, 0x25, 0x98, 0xcb, 0xa2, 0x5b, 0xa7, 0x5e, 0x8b, 0xd4, 0xa0, 0x9c, 15479 0x6c, 0x48, 0xac, 0x6a, 0x4b, 0x05, 0x51, 0xcd, 0xed, 0xd2, 0x5a, 0x8f, 0x9d, 0xc2, 0x26, 0x5b, 15480 0x70, 0x41, 0x2b, 0x13, 0xc6, 0xd5, 0xde, 0xb3, 0x18, 0x57, 0xd9, 0x2c, 0xa4, 0x50, 0x75, 0xdb, 15481 0xf4, 0x1a, 0xee, 0x8c, 0x2b, 0xfe, 0x91, 0xe3, 0x7a, 0x4c, 0xd1, 0xd5, 0xc2, 0x24, 0x41, 0x5c, 15482 0x2a, 0x78, 0xc3, 0xad, 0xad, 0x58, 0x2a, 0x9f, 0x82, 0x28, 0x10, 0xeb, 0xbb, 0x28, 0xc1, 0x85, 15483 0x8d, 0x8e, 0x3f, 0x2c, 0x55, 0xc4, 0xae, 0xc1, 0xc0, 0xce, 0x46, 0x7d, 0xb9, 0x2a, 0x9e, 0xa9, 15484 0xf2, 0xe0, 0x06, 0xed, 0xb0, 0xd1, 0x74, 0x6c, 0x5e, 0x61, 0x7d, 0x02, 0xe4, 0x3e, 0x8d, 0x44, 15485 0x14, 0x6f, 0x85, 0xf7, 0x06, 0x0c, 0x89, 0x22, 0x81, 0x89, 0x4e, 0x6d, 0x6d, 0x01, 0x25, 0xeb, 15486 0xac, 0x9a, 0x3c, 0x27, 0xb4, 0xa9, 0x13, 0x6a, 0x1b, 0xf3, 0x87, 0x30, 0x1c, 0x88, 0x32, 0xb1, 15487 0x2f, 0x4f, 0xa8, 0x7c, 0x07, 0x58, 0xcc, 0xed, 0xd9, 0x12, 0xc6, 0x56, 0x7f, 0x59, 0x1b, 0x18, 15488 0x88, 0x64, 0x7b, 0x7d, 0x65, 0x99, 0x71, 0x55, 0x30, 0x4b, 0x4e, 0xc7, 0x6d, 0xf4, 0xfe, 0x8e, 15489 0xa8, 0xfe, 0x48, 0x15, 0x59, 0x83, 0x1f, 0xb9, 0x08, 0xbf, 0xa3, 0x81, 0x58, 0x77, 0x55, 0x58, 15490 0x93, 0x0c, 0x6a, 0x79, 0x71, 0xfb, 0xb7, 0x30, 0x60, 0xcb, 0x7d, 0x74, 0x97, 0x79, 0x15, 0x9d, 15491 0x70, 0x60, 0x9e, 0x6f, 0xf3, 0x6c, 0x54, 0x22, 0x19, 0x95, 0xaf, 0x44, 0xe3, 0x32, 0x8c, 0xa8, 15492 0x32, 0x75, 0xf7, 0xc5, 0x79, 0x65, 0xc0, 0xef, 0xdd, 0xe5, 0xef, 0x79, 0x9b, 0x8a, 0x40, 0x8c, 15493 0xc7, 0x9a, 0xe0, 0xdf, 0xdd, 0x37, 0xdc, 0x44, 0x48, 0x83, 0xe8, 0x1b, 0x6d, 0x22, 0x8e, 0xe8, 15494 0x73, 0x9e, 0x26, 0x0c, 0xf8, 0xbd, 0xc5, 0xb3, 0x30, 0xea, 0x1b, 0x6e, 0x82, 0x31, 0xea, 0x9b, 15495 0x6b, 0x82, 0xca, 0xd0, 0x47, 0x7c, 0x91, 0xa6, 0x1a, 0x59, 0x4d, 0x37, 0x22, 0x0d, 0xd7, 0x09, 15496 0x8c, 0xc2, 0xf9, 0xa0, 0xb0, 0xc0, 0x99, 0xf5, 0x2b, 0x68, 0x86, 0x31, 0xec, 0x9b, 0x6d, 0xe6, 15497 0xef, 0x96, 0x78, 0x20, 0xa6, 0xfa, 0xb6, 0x96, 0x06, 0xce, 0x7b, 0xec, 0x6b, 0x57, 0xf3, 0xda, 15498 0xd7, 0xfe, 0xd0, 0xf5, 0x5a, 0xfa, 0xd5, 0xbc, 0x73, 0x1c, 0x1d, 0xaa, 0x50, 0xc1, 0x4f, 0x5c, 15499 0xaf, 0x65, 0x27, 0xa1, 0xc9, 0x47, 0x30, 0xae, 0x15, 0x29, 0x6d, 0x8d, 0x27, 0x13, 0xd0, 0xd1, 15500 0xdd, 0x96, 0x6d, 0x42, 0x5a, 0x7f, 0xd0, 0x0b, 0x17, 0x77, 0x3b, 0x21, 0xbe, 0x8a, 0x59, 0xf7, 15501 0x9e, 0x52, 0x2f, 0xf2, 0x83, 0xe7, 0xe8, 0xc9, 0x4f, 0xde, 0x87, 0x81, 0x35, 0xda, 0x6e, 0xfb, 15502 0x62, 0xe4, 0x57, 0xe4, 0xbd, 0x78, 0x12, 0x1a, 0x81, 0xd6, 0x7a, 0x6c, 0x0e, 0x4d, 0x3e, 0x82, 15503 0x91, 0x35, 0xea, 0x04, 0xd1, 0x3e, 0x75, 0xa4, 0xb2, 0x2a, 0x83, 0xdb, 0x6b, 0x28, 0x02, 0x60, 15504 0xad, 0xc7, 0x8e, 0xa1, 0xc9, 0x22, 0x3b, 0xc7, 0x79, 0x07, 0xea, 0x05, 0x70, 0x4e, 0x83, 0x0c, 15505 0x66, 0xad, 0xc7, 0x46, 0x58, 0xb2, 0x09, 0xe3, 0xd5, 0x03, 0xea, 0x45, 0x9b, 0x34, 0x72, 0x5a, 15506 0x4e, 0xe4, 0x08, 0xa5, 0xe6, 0x8d, 0x3c, 0x64, 0x03, 0x78, 0xad, 0xc7, 0x36, 0xb1, 0x97, 0x06, 15507 0xa0, 0x6f, 0x33, 0x3c, 0xb0, 0x4e, 0x4a, 0x30, 0xb7, 0xe2, 0x3f, 0xf3, 0x32, 0x19, 0xf3, 0x1d, 15508 0x93, 0x31, 0x15, 0x79, 0xbd, 0x98, 0x86, 0x4f, 0xb0, 0xe6, 0x3d, 0xe8, 0xaf, 0xb9, 0xde, 0x41, 15509 0x62, 0x1f, 0xcf, 0xc0, 0x63, 0x50, 0x38, 0x42, 0xd7, 0x3b, 0x20, 0x1b, 0x52, 0x81, 0x12, 0x86, 15510 0xa2, 0x3e, 0x43, 0x6b, 0xcb, 0xc0, 0xd6, 0xa1, 0x63, 0x45, 0x89, 0xff, 0x96, 0x03, 0x7c, 0x1b, 15511 0x66, 0x73, 0xda, 0x15, 0xaf, 0x72, 0xd9, 0xd8, 0xfa, 0x71, 0x57, 0x7a, 0x0b, 0x66, 0x32, 0xa7, 15512 0x20, 0x05, 0xf8, 0x4f, 0xb2, 0xd6, 0x12, 0x1f, 0xf9, 0x1c, 0x0c, 0xc9, 0x1c, 0x28, 0xfc, 0xe0, 15513 0x2e, 0x7f, 0xe2, 0xbb, 0x14, 0x3c, 0x6e, 0xc7, 0x21, 0x73, 0xe5, 0x6f, 0xb2, 0xa7, 0xc5, 0xaf, 15514 0xe9, 0x43, 0x4b, 0xd3, 0xc7, 0x2f, 0x91, 0xa1, 0x57, 0xd1, 0x62, 0x6d, 0xae, 0xf9, 0x61, 0xe4, 15515 0x29, 0xb7, 0x49, 0x5b, 0xfd, 0x26, 0x37, 0xa1, 0x2c, 0x83, 0xb4, 0x8b, 0x6c, 0x10, 0x22, 0xf5, 15516 0xaa, 0x9d, 0x2a, 0x27, 0x1f, 0xc2, 0x6c, 0xb2, 0x4c, 0x8e, 0x92, 0x3f, 0x2c, 0xca, 0xab, 0xb6, 15517 0xfe, 0xbc, 0x17, 0x83, 0xfc, 0x16, 0x2c, 0x4d, 0xc6, 0xdd, 0xed, 0xba, 0xe0, 0x56, 0xef, 0x76, 15518 0x9d, 0x2c, 0xc0, 0xc8, 0x76, 0xdd, 0x48, 0x24, 0x63, 0xc7, 0x05, 0xac, 0xdb, 0x6c, 0x08, 0xd5, 15519 0xa0, 0x79, 0xe8, 0x46, 0xb4, 0x19, 0x1d, 0x07, 0x22, 0xfa, 0x90, 0x9d, 0x2a, 0x27, 0x16, 0x8c, 15520 0xdd, 0x6f, 0xbb, 0xfb, 0x4d, 0x49, 0x8c, 0xb3, 0xc0, 0x28, 0x23, 0x6f, 0xc2, 0xc4, 0xba, 0x17, 15521 0x46, 0x4e, 0xbb, 0xbd, 0x49, 0xa3, 0x43, 0xbf, 0x25, 0xb2, 0xdc, 0xd9, 0x89, 0x52, 0xd6, 0xee, 15522 0xb2, 0xef, 0x45, 0x8e, 0xeb, 0xd1, 0xc0, 0x3e, 0xf6, 0x22, 0xf7, 0x88, 0x8a, 0xb1, 0xa7, 0xca, 15523 0xc9, 0x7b, 0x30, 0xa3, 0xca, 0xb6, 0x83, 0xe6, 0x21, 0x0d, 0xa3, 0x00, 0xd3, 0x4b, 0x61, 0x9c, 15524 0x15, 0x3b, 0xbb, 0x12, 0x5b, 0x68, 0xfb, 0xc7, 0xad, 0x55, 0xef, 0xa9, 0x1b, 0xf8, 0x1e, 0x46, 15525 0x9c, 0x1f, 0x16, 0x2d, 0x24, 0xca, 0xad, 0x5a, 0xe6, 0x57, 0xfb, 0x12, 0x4b, 0xd0, 0x3a, 0x2d, 15526 0xc1, 0x42, 0xe6, 0x87, 0x25, 0x85, 0xb7, 0x8e, 0x5c, 0x4a, 0xac, 0xdf, 0x9b, 0xd0, 0x8f, 0xd2, 15527 0x9c, 0x1b, 0x06, 0xa4, 0x63, 0x11, 0xe2, 0x73, 0x52, 0xac, 0xd6, 0x46, 0x18, 0x72, 0x5f, 0x19, 15528 0x82, 0xfb, 0x50, 0x6d, 0xbd, 0x9d, 0x94, 0x99, 0x19, 0x8d, 0xeb, 0x06, 0x61, 0x69, 0xfa, 0x7d, 15529 0x19, 0x9b, 0xdb, 0x9f, 0x97, 0xa0, 0xd2, 0x45, 0x9e, 0xa8, 0x31, 0x95, 0xce, 0x30, 0xa6, 0x07, 15530 0x6a, 0x4c, 0xfc, 0x09, 0xd3, 0xe2, 0xd9, 0x64, 0xd6, 0xab, 0x1e, 0xd6, 0x32, 0x90, 0xf4, 0xce, 15531 0x43, 0xbe, 0x0d, 0x23, 0xf5, 0xfa, 0x9a, 0xe1, 0xbd, 0x91, 0xb2, 0x04, 0xc6, 0x10, 0xd6, 0x07, 15532 0x70, 0x51, 0x11, 0xe1, 0x51, 0xc6, 0xb5, 0x77, 0x92, 0x62, 0xaf, 0x57, 0xef, 0x31, 0xe3, 0x02, 15533 0xeb, 0xcf, 0xfa, 0x53, 0x88, 0xf5, 0xe3, 0xa3, 0x23, 0x27, 0x78, 0x4e, 0xaa, 0x26, 0x62, 0x5f, 15534 0xd7, 0x4d, 0x76, 0xa9, 0xff, 0xe7, 0x27, 0x95, 0x1e, 0x8d, 0x3a, 0x79, 0x1d, 0xc6, 0xf1, 0x83, 15535 0xf4, 0x9a, 0x94, 0xdb, 0x01, 0x7b, 0x79, 0x2c, 0x08, 0xa3, 0x90, 0xec, 0xc1, 0xb8, 0x58, 0xeb, 15536 0xf8, 0x5b, 0x2e, 0xb1, 0x77, 0x93, 0x4b, 0xcc, 0xe8, 0xde, 0x2d, 0x03, 0x85, 0x4f, 0x86, 0x49, 15537 0x86, 0x7c, 0x09, 0x13, 0x52, 0xb0, 0x09, 0xc2, 0xfc, 0xe6, 0xf6, 0x4e, 0x31, 0x61, 0x13, 0x87, 15538 0x53, 0x4e, 0x10, 0x62, 0x5d, 0x16, 0xe2, 0x5a, 0x50, 0x1e, 0x38, 0x4b, 0x97, 0x0d, 0x14, 0xd1, 15539 0x65, 0xa3, 0x6c, 0xfe, 0xfb, 0x40, 0xd2, 0xe3, 0xea, 0xb6, 0x9a, 0xc6, 0xb5, 0xd5, 0x34, 0x5f, 15540 0x85, 0xa9, 0x8c, 0x01, 0x9c, 0x8b, 0xc4, 0xf7, 0x81, 0xa4, 0x7b, 0x7a, 0x1e, 0x0a, 0xd6, 0x0d, 15541 0x78, 0x53, 0xb1, 0x40, 0xad, 0x06, 0x83, 0xa6, 0x3c, 0xed, 0xff, 0x76, 0x2f, 0x54, 0xba, 0x80, 15542 0x92, 0xbf, 0x5f, 0x4a, 0x72, 0x9b, 0xaf, 0xc6, 0x8f, 0x92, 0xdc, 0xce, 0xc6, 0xcf, 0x60, 0xfb, 15543 0xd2, 0xc7, 0x3f, 0xfb, 0xcb, 0x17, 0xde, 0xa8, 0xd3, 0x53, 0x76, 0x7e, 0x6e, 0xf5, 0xeb, 0xdc, 15544 0xb2, 0x61, 0xda, 0x50, 0x71, 0xce, 0x22, 0xbb, 0xaf, 0x02, 0x88, 0x84, 0x5b, 0x1b, 0xfe, 0x81, 15545 0x78, 0x65, 0xaa, 0x95, 0x58, 0xf7, 0x60, 0x26, 0x41, 0x53, 0x58, 0x20, 0xbe, 0x0d, 0xea, 0x3d, 15546 0x1c, 0x12, 0xed, 0x5b, 0xba, 0xf0, 0xcb, 0x93, 0xca, 0x38, 0xdb, 0x01, 0x6f, 0xc5, 0xe1, 0x76, 15547 0xe5, 0x5f, 0xd6, 0xa6, 0x6e, 0x43, 0xa9, 0xb6, 0xf5, 0x38, 0x01, 0xe4, 0x0e, 0x0c, 0xf2, 0x92, 15548 0x44, 0x50, 0x4b, 0x1d, 0x5a, 0xc8, 0x04, 0x01, 0x68, 0xcd, 0xe0, 0x1b, 0x20, 0xfc, 0x51, 0x8d, 15549 0x5f, 0x9b, 0x5a, 0xbb, 0x3c, 0xcc, 0x7a, 0x5c, 0xac, 0x02, 0x67, 0xf6, 0x57, 0xe3, 0x57, 0xb1, 15550 0xf2, 0xc2, 0x4b, 0xc2, 0x79, 0xfe, 0xb3, 0x36, 0x6d, 0xf1, 0xfc, 0x2c, 0x4b, 0x63, 0xe2, 0xc2, 15551 0xab, 0xdf, 0x61, 0x04, 0x10, 0xcd, 0xfa, 0x0c, 0x66, 0x96, 0xdb, 0xd4, 0x09, 0x92, 0xed, 0x91, 15552 0x37, 0x61, 0x08, 0xcb, 0x4c, 0x2f, 0x42, 0x87, 0x15, 0xa1, 0x17, 0xa1, 0xa8, 0xb4, 0x36, 0xe0, 15553 0x12, 0x3f, 0x81, 0xe9, 0x43, 0x8a, 0xed, 0x1d, 0x03, 0xf8, 0x3b, 0xf1, 0x82, 0x24, 0x63, 0xf4, 15554 0x1c, 0xce, 0xfa, 0x14, 0x5d, 0x94, 0xb3, 0xb2, 0x6e, 0x9f, 0xed, 0x4d, 0xd3, 0xff, 0x0f, 0x0b, 15555 0xd5, 0x4e, 0x87, 0x7a, 0xad, 0x18, 0x71, 0x27, 0x70, 0xce, 0xf8, 0x56, 0x94, 0x54, 0x61, 0x00, 15556 0xa1, 0x95, 0xb1, 0x58, 0x74, 0x37, 0xa3, 0x3b, 0x08, 0x27, 0xa2, 0x9c, 0x61, 0x03, 0x1c, 0xd3, 15557 0x6a, 0xc1, 0x6c, 0xfd, 0x78, 0xff, 0xc8, 0xe5, 0xa9, 0xa8, 0xf1, 0xbd, 0xb5, 0x6c, 0x7b, 0x5d, 15558 0x66, 0xc6, 0xe0, 0xcc, 0xb8, 0x11, 0xbb, 0xb2, 0xa2, 0xfb, 0xa2, 0x78, 0x83, 0xfd, 0xf4, 0xce, 15559 0xad, 0x18, 0x15, 0x4f, 0x2b, 0xbc, 0x15, 0xac, 0x16, 0xd9, 0x33, 0xac, 0x29, 0xb8, 0xa0, 0x1b, 15560 0xde, 0xf8, 0x0a, 0x99, 0x81, 0x29, 0xd3, 0xa0, 0xc6, 0x8b, 0xbf, 0x82, 0x69, 0x7e, 0xe0, 0xe7, 15561 0x51, 0x4a, 0x17, 0xe3, 0x80, 0x9c, 0xbd, 0x7b, 0x8b, 0x09, 0xa7, 0x47, 0xf4, 0x85, 0x52, 0xf1, 15562 0xa7, 0xf7, 0x16, 0xf9, 0x33, 0x93, 0xa7, 0x8b, 0x86, 0xd9, 0xb6, 0x77, 0x6f, 0x71, 0x69, 0x48, 15563 0x44, 0x7b, 0x63, 0xd4, 0xf9, 0xf4, 0x7f, 0x23, 0xd4, 0x17, 0xf1, 0x65, 0xe3, 0x1a, 0x75, 0xd0, 15564 0x0b, 0x39, 0xfb, 0x7d, 0xd8, 0x04, 0xf4, 0xba, 0x2d, 0xa9, 0x65, 0xbb, 0x2d, 0xeb, 0x4f, 0x4a, 15565 0x70, 0x83, 0xeb, 0x22, 0xd9, 0x78, 0x68, 0x5d, 0xcb, 0x41, 0x26, 0x1f, 0x02, 0xcf, 0xa1, 0x2a, 15566 0x14, 0x3e, 0x4b, 0xf4, 0xbc, 0x88, 0x12, 0x47, 0x20, 0x55, 0x18, 0xd3, 0xfd, 0x78, 0xcf, 0x16, 15567 0x4d, 0xc7, 0x1e, 0x3d, 0x7a, 0xec, 0x28, 0xdf, 0xde, 0x27, 0x70, 0x79, 0xf5, 0x6b, 0xb6, 0x20, 15568 0xc4, 0xee, 0x24, 0x6e, 0x9d, 0xe3, 0xf7, 0x47, 0x93, 0x3b, 0x62, 0xc5, 0x98, 0x6a, 0x70, 0xb2, 15569 0x98, 0x1d, 0x0f, 0xe4, 0x06, 0xa7, 0xb4, 0xd7, 0x11, 0xdb, 0x28, 0xb3, 0xfe, 0xac, 0x04, 0x0b, 15570 0xd9, 0xad, 0x09, 0xc1, 0xb2, 0x0e, 0x17, 0x96, 0x1d, 0xcf, 0xf7, 0xdc, 0xa6, 0xd3, 0xae, 0x37, 15571 0x0f, 0x69, 0xeb, 0x58, 0xc5, 0x84, 0x53, 0x52, 0x86, 0x1d, 0x77, 0x04, 0xba, 0x04, 0xb1, 0xd3, 15572 0x58, 0xe4, 0x03, 0xb8, 0x88, 0xae, 0xa0, 0x5c, 0xf6, 0xb6, 0x69, 0xa0, 0xe8, 0xf1, 0x9e, 0xe5, 15573 0xd4, 0x92, 0x77, 0x61, 0x8a, 0x6f, 0x2a, 0xad, 0x5d, 0xcf, 0x8d, 0x14, 0x12, 0x3f, 0x15, 0x65, 15574 0x55, 0x59, 0xff, 0xbe, 0x04, 0x97, 0x30, 0x11, 0x83, 0x91, 0xda, 0x29, 0x0e, 0x8d, 0x28, 0xa3, 15575 0xfb, 0x95, 0x0c, 0xd7, 0x56, 0x03, 0xda, 0x0c, 0xf3, 0x47, 0xde, 0x81, 0xfe, 0xba, 0xbc, 0x99, 15576 0x9e, 0x48, 0x24, 0x85, 0x93, 0x09, 0x78, 0xfd, 0x20, 0xb2, 0x11, 0x8a, 0xed, 0x39, 0x2b, 0x34, 15577 0x6c, 0x52, 0x0f, 0xb3, 0xf7, 0xf5, 0xf1, 0x3d, 0x27, 0x2e, 0x89, 0x23, 0x3b, 0xf4, 0xe7, 0x45, 15578 0x76, 0x18, 0x30, 0x23, 0x3b, 0x58, 0x4f, 0x79, 0x1a, 0x86, 0xe4, 0x80, 0xc4, 0x24, 0x7d, 0x9a, 15579 0x4a, 0xf6, 0xc7, 0xf7, 0x81, 0x8b, 0x59, 0x23, 0xdb, 0xbb, 0x9b, 0xca, 0xe3, 0x97, 0x1f, 0x8a, 15580 0xb0, 0x06, 0xaf, 0x1b, 0xb0, 0xd5, 0x76, 0xdb, 0x7f, 0x46, 0x5b, 0xb5, 0xc0, 0x3f, 0xf2, 0x23, 15581 0x23, 0x08, 0xbe, 0xc8, 0x76, 0x19, 0xdb, 0xae, 0xc4, 0xaa, 0x4c, 0x14, 0x5b, 0xff, 0x1f, 0xbc, 15582 0xd1, 0x85, 0xa2, 0x18, 0x54, 0x1d, 0x2e, 0x38, 0x89, 0x3a, 0x79, 0xc5, 0xf8, 0x46, 0xd6, 0xb8, 15583 0x92, 0x84, 0x42, 0x3b, 0x8d, 0x7f, 0x73, 0xc7, 0x48, 0x90, 0x47, 0xe6, 0x60, 0xba, 0x66, 0x6f, 15584 0xaf, 0xec, 0x2e, 0xef, 0x34, 0x76, 0xbe, 0xac, 0xad, 0x36, 0x76, 0xb7, 0x1e, 0x6e, 0x6d, 0x3f, 15585 0xda, 0xe2, 0xb1, 0x3c, 0x8d, 0x9a, 0x9d, 0xd5, 0xea, 0x66, 0xb9, 0x44, 0xa6, 0xa1, 0x6c, 0x14, 15586 0xaf, 0xee, 0x2e, 0x95, 0x7b, 0x6f, 0x7e, 0x65, 0x24, 0x7e, 0x23, 0x0b, 0x30, 0x57, 0xdf, 0xad, 15587 0xd5, 0xb6, 0x6d, 0x45, 0x55, 0x8f, 0x24, 0x3a, 0x03, 0x17, 0x8c, 0xda, 0x7b, 0xf6, 0xea, 0x6a, 15588 0xb9, 0xc4, 0xba, 0x62, 0x14, 0xd7, 0xec, 0xd5, 0xcd, 0xf5, 0xdd, 0xcd, 0x72, 0xef, 0xcd, 0x86, 15589 0xee, 0x4f, 0x4f, 0x2e, 0xc3, 0xec, 0xca, 0xea, 0xde, 0xfa, 0xf2, 0x6a, 0x16, 0xed, 0x69, 0x28, 15590 0xeb, 0x95, 0x3b, 0xdb, 0x3b, 0x35, 0x4e, 0x5a, 0x2f, 0x7d, 0xb4, 0xba, 0x54, 0xdd, 0xdd, 0x59, 15591 0xdb, 0x2a, 0xf7, 0x59, 0xfd, 0xc3, 0xbd, 0xe5, 0xde, 0x9b, 0x3f, 0x36, 0x9c, 0xed, 0x59, 0xf7, 15592 0x05, 0xf8, 0x6e, 0xbd, 0x7a, 0x3f, 0xbf, 0x09, 0x5e, 0xbb, 0x79, 0xaf, 0x5a, 0x2e, 0x91, 0x2b, 15593 0x70, 0xc9, 0x28, 0xad, 0x55, 0xeb, 0xf5, 0x47, 0xdb, 0xf6, 0xca, 0xc6, 0x6a, 0xbd, 0x5e, 0xee, 15594 0xbd, 0xb9, 0x67, 0x44, 0xb3, 0x61, 0x2d, 0x6c, 0xde, 0xab, 0x36, 0xec, 0xd5, 0xcf, 0x77, 0xd7, 15595 0xed, 0xd5, 0x95, 0x74, 0x0b, 0x46, 0xed, 0x97, 0xab, 0xf5, 0x72, 0x89, 0x4c, 0xc1, 0xa4, 0x51, 15596 0xba, 0xb5, 0x5d, 0xee, 0xbd, 0xf9, 0xa6, 0x08, 0x78, 0x42, 0x26, 0x00, 0x56, 0x56, 0xeb, 0xcb, 15597 0xab, 0x5b, 0x2b, 0xeb, 0x5b, 0xf7, 0xcb, 0x3d, 0x64, 0x1c, 0x46, 0xaa, 0xea, 0x67, 0xe9, 0xe6, 15598 0xc7, 0x30, 0x99, 0x38, 0xd9, 0x32, 0x08, 0x75, 0x28, 0x2c, 0xf7, 0x20, 0xfb, 0xe5, 0x4f, 0x34, 15599 0x47, 0xf0, 0x43, 0x6a, 0xb9, 0x74, 0x73, 0x49, 0xe6, 0x6a, 0xd3, 0xbe, 0x73, 0x32, 0x0a, 0x43, 15600 0x2b, 0xab, 0xf7, 0xaa, 0xbb, 0x1b, 0x3b, 0xe5, 0x1e, 0xf6, 0x63, 0xd9, 0x5e, 0xad, 0xee, 0xac, 15601 0xae, 0x94, 0x4b, 0x64, 0x04, 0x06, 0xea, 0x3b, 0xd5, 0x9d, 0xd5, 0x72, 0x2f, 0x19, 0x86, 0xfe, 15602 0xdd, 0xfa, 0xaa, 0x5d, 0xee, 0x5b, 0xfc, 0xed, 0xbf, 0x57, 0x82, 0x51, 0x26, 0xfa, 0xa5, 0xe3, 15603 0xf6, 0x57, 0xda, 0x61, 0x52, 0x88, 0x3c, 0x91, 0x98, 0x2a, 0xf7, 0xe4, 0x88, 0x5a, 0xc0, 0x7c, 15604 0x81, 0x91, 0x12, 0x01, 0x6e, 0x94, 0xde, 0x2d, 0x11, 0x1b, 0x6f, 0xe4, 0x12, 0x67, 0x2b, 0x45, 15605 0x39, 0xfb, 0xf8, 0x3b, 0x7f, 0xa5, 0xf0, 0x48, 0x46, 0x7e, 0x03, 0x2c, 0x9d, 0x66, 0xce, 0x09, 15606 0xe4, 0xdb, 0x67, 0x3b, 0x69, 0xc8, 0x36, 0xdf, 0x3c, 0x1b, 0x38, 0x79, 0x00, 0xe3, 0x4c, 0x37, 15607 0x57, 0x60, 0xe4, 0x72, 0x12, 0x51, 0x3b, 0x0e, 0xcc, 0x2f, 0x64, 0x57, 0xaa, 0xc8, 0xf5, 0x63, 15608 0x38, 0x10, 0x7e, 0xb0, 0x0e, 0x89, 0x7c, 0x5a, 0x2b, 0x4b, 0xb8, 0xc4, 0x9f, 0xbf, 0x90, 0x28, 15609 0xde, 0xbb, 0xf3, 0x6e, 0x89, 0xd4, 0x31, 0x22, 0x8d, 0xa1, 0xe4, 0x13, 0xf9, 0x92, 0x20, 0xad, 15610 0xfd, 0xf3, 0xde, 0x54, 0x54, 0xa6, 0xa7, 0x9c, 0xd3, 0xc1, 0x16, 0x90, 0xb4, 0xee, 0x4c, 0xae, 15611 0xc5, 0xeb, 0x20, 0x5b, 0xad, 0x9e, 0xbf, 0x98, 0x72, 0xb4, 0x58, 0x65, 0xda, 0x13, 0x59, 0x85, 15612 0x09, 0xf1, 0x6e, 0x4e, 0x68, 0xf3, 0xa4, 0xe8, 0x3c, 0x90, 0x4b, 0xe6, 0x3e, 0xf2, 0x49, 0x9d, 15613 0x08, 0xc8, 0x7c, 0x3c, 0x8e, 0xe4, 0x31, 0x61, 0xfe, 0x72, 0x66, 0x9d, 0x18, 0xdf, 0x3d, 0x98, 15614 0x30, 0x0f, 0x17, 0x44, 0x4e, 0x50, 0xe6, 0x99, 0x23, 0xb7, 0x43, 0x0d, 0x98, 0xdd, 0x74, 0x5c, 15615 0x34, 0x2d, 0x8a, 0xeb, 0x7c, 0x79, 0x19, 0x4f, 0x2a, 0x05, 0xb7, 0xf3, 0x75, 0xea, 0xb5, 0xd4, 15616 0x24, 0xe4, 0x45, 0xa1, 0xc5, 0xcf, 0xa6, 0x2e, 0x75, 0x64, 0xd3, 0x99, 0x81, 0x58, 0x66, 0xf6, 15617 0xbe, 0x2c, 0xff, 0x94, 0xf9, 0x3c, 0x97, 0x2a, 0xb2, 0x89, 0x4a, 0x7a, 0x82, 0xa2, 0xb6, 0x26, 15618 0xce, 0x4d, 0x6e, 0x0e, 0x5f, 0x6f, 0x6a, 0x29, 0x3d, 0x45, 0x65, 0x48, 0x72, 0x18, 0x97, 0x4b, 15619 0xec, 0xdd, 0x12, 0xf9, 0x0a, 0xbf, 0xea, 0x4c, 0x72, 0x8f, 0xdc, 0xe8, 0x50, 0x68, 0x3f, 0x97, 15620 0x33, 0x09, 0x88, 0x0f, 0xa5, 0x80, 0xba, 0x0d, 0xd3, 0x59, 0x5e, 0x5c, 0x8a, 0xa1, 0x05, 0x2e, 15621 0x5e, 0xb9, 0xab, 0xc0, 0x66, 0x47, 0x8d, 0x56, 0xfe, 0x24, 0x15, 0x38, 0x11, 0xe5, 0xd2, 0xfc, 15622 0x2e, 0x4c, 0xb0, 0x55, 0xf2, 0x90, 0xd2, 0x4e, 0xb5, 0xed, 0x3e, 0xa5, 0x21, 0x91, 0xe1, 0x04, 15623 0x55, 0x51, 0x1e, 0xee, 0x8d, 0x12, 0xf9, 0x16, 0x8c, 0x3e, 0x72, 0xa2, 0xe6, 0xa1, 0x08, 0xab, 15624 0x25, 0xa3, 0x6e, 0x61, 0xd9, 0xbc, 0xfc, 0x85, 0x95, 0xef, 0x96, 0xc8, 0xf7, 0x60, 0xe8, 0x3e, 15625 0x8d, 0xf0, 0x25, 0xd7, 0x75, 0xe5, 0xd0, 0xc0, 0x9d, 0x07, 0xd7, 0x3d, 0xe5, 0xae, 0x2c, 0x3b, 15626 0x9c, 0x34, 0x64, 0x92, 0xdb, 0x00, 0x5c, 0x20, 0x20, 0x85, 0x64, 0xf5, 0x7c, 0xaa, 0xdb, 0xe4, 15627 0x3e, 0x53, 0x1e, 0xda, 0x34, 0xa2, 0x67, 0x6d, 0x32, 0x8f, 0x47, 0x1b, 0x30, 0xa1, 0x82, 0xfd, 15628 0x6f, 0xe1, 0x1b, 0x6a, 0x2b, 0x41, 0x2c, 0x3c, 0x07, 0xb5, 0x8f, 0xd9, 0x57, 0xc1, 0x73, 0xcd, 15629 0xe1, 0x63, 0x5b, 0x94, 0xa4, 0xb3, 0xfa, 0x8b, 0x5d, 0x5d, 0x84, 0x4a, 0x26, 0x72, 0x30, 0x0d, 15630 0x77, 0xcd, 0x0f, 0x23, 0x13, 0x57, 0x95, 0x64, 0xe3, 0xfe, 0x3a, 0xcc, 0xeb, 0xed, 0x9a, 0x71, 15631 0x1d, 0x63, 0x99, 0x9b, 0x17, 0x2e, 0x72, 0xfe, 0x7a, 0x01, 0x84, 0x38, 0xbf, 0xf5, 0xfd, 0x6e, 15632 0x6f, 0x09, 0xc5, 0xc9, 0x0a, 0x4c, 0xc9, 0xb6, 0xb6, 0x3b, 0xd4, 0xab, 0xd7, 0xd7, 0x30, 0xb0, 15633 0xbb, 0xbc, 0x44, 0xd5, 0xca, 0x24, 0x75, 0x92, 0xae, 0x62, 0x5b, 0x9f, 0xf1, 0xa8, 0x96, 0x14, 15634 0x3d, 0xb5, 0x8d, 0xb7, 0xbe, 0xcc, 0x80, 0x83, 0x0f, 0xb9, 0x51, 0xc9, 0x50, 0xfe, 0xf7, 0x16, 15635 0x49, 0xc1, 0x01, 0x68, 0x3e, 0xe7, 0x08, 0xf1, 0x6e, 0x89, 0x7c, 0x09, 0x24, 0x7d, 0x24, 0x51, 15636 0x2c, 0xcc, 0x3d, 0x7e, 0x29, 0x16, 0x16, 0x9c, 0x67, 0x56, 0x61, 0x4a, 0x3d, 0xa9, 0x8f, 0xeb, 15637 0x49, 0x4e, 0x5f, 0x0a, 0x76, 0xb0, 0x99, 0x0c, 0x32, 0x7b, 0x8b, 0x05, 0x84, 0x32, 0xcb, 0xc9, 15638 0x67, 0x30, 0x25, 0xd6, 0xbe, 0xd1, 0x9f, 0xb2, 0x12, 0x63, 0xe2, 0x70, 0x93, 0xdb, 0x93, 0x07, 15639 0x30, 0x53, 0x4f, 0x30, 0x9e, 0x3b, 0x0f, 0x5e, 0x32, 0x49, 0x60, 0x61, 0x9d, 0x46, 0x9c, 0xf3, 15640 0xd9, 0xb4, 0x1e, 0x02, 0xe1, 0xb6, 0x25, 0x49, 0xee, 0xa9, 0x4b, 0x9f, 0x91, 0x2b, 0x89, 0xae, 15641 0xb3, 0x42, 0x04, 0x43, 0x39, 0x98, 0x3b, 0xb2, 0x1d, 0x9e, 0x70, 0x11, 0x4b, 0x97, 0x9d, 0x8e, 15642 0xb3, 0xef, 0xb6, 0xdd, 0xc8, 0xa5, 0x6c, 0x1e, 0x75, 0x04, 0xbd, 0x4a, 0xce, 0xe3, 0xa5, 0x5c, 15643 0x08, 0xf2, 0x5b, 0x18, 0xcc, 0xae, 0xf8, 0x74, 0x46, 0xbe, 0x95, 0x75, 0x88, 0xce, 0x39, 0x5f, 15644 0xce, 0xbf, 0x73, 0x36, 0x60, 0x75, 0x1e, 0x1e, 0xbf, 0x4f, 0xa3, 0x5a, 0xfb, 0xf8, 0xc0, 0xc5, 15645 0x44, 0x60, 0x44, 0xd9, 0x9e, 0x54, 0x91, 0x58, 0xde, 0x2a, 0x9d, 0xb9, 0xaa, 0xa8, 0xd3, 0x9f, 15646 0x90, 0x75, 0x28, 0xf3, 0x6d, 0x44, 0x23, 0x71, 0x25, 0x45, 0x42, 0x80, 0x38, 0x81, 0x73, 0x14, 15647 0xe6, 0xce, 0xd6, 0x6d, 0xee, 0x2a, 0x40, 0x54, 0x12, 0x76, 0x4d, 0x4f, 0x9d, 0x32, 0xca, 0x54, 15648 0x80, 0x5f, 0x36, 0x23, 0x36, 0x0d, 0x69, 0x24, 0xdf, 0xde, 0xf3, 0x34, 0x70, 0xaf, 0xc5, 0x3a, 15649 0x43, 0xba, 0x36, 0x96, 0x20, 0x89, 0x38, 0x31, 0x7b, 0x77, 0x89, 0x4a, 0x8d, 0x97, 0x41, 0xf4, 15650 0x4d, 0x43, 0xb5, 0x39, 0x1f, 0xdd, 0xf7, 0x70, 0x2b, 0xc3, 0x78, 0x03, 0x33, 0x71, 0xdf, 0xb4, 15651 0x9c, 0xcc, 0xf3, 0xe3, 0x1a, 0xd6, 0xde, 0x22, 0x4a, 0x46, 0xb6, 0xd7, 0x32, 0x4d, 0xf8, 0x38, 15652 0x08, 0xa8, 0xc7, 0x91, 0xf3, 0xd4, 0x96, 0x2c, 0xec, 0x4f, 0x51, 0x82, 0x69, 0xd8, 0xfc, 0x8d, 15653 0x43, 0x37, 0x12, 0x3c, 0x6d, 0xc1, 0xbb, 0x25, 0xf2, 0x21, 0x0c, 0x8b, 0x3e, 0x32, 0x24, 0xa3, 15654 0xd3, 0x61, 0x41, 0xaf, 0x11, 0x13, 0x38, 0x93, 0xb0, 0xcf, 0x26, 0x4c, 0xde, 0xec, 0xf3, 0x3e, 15655 0x7f, 0xc8, 0xf6, 0xec, 0xd6, 0x8b, 0x60, 0x2e, 0xcb, 0xcd, 0x1b, 0x31, 0xe7, 0xd4, 0xf3, 0xf7, 15656 0x44, 0xee, 0xeb, 0x62, 0x22, 0x4c, 0xfd, 0xc6, 0x40, 0x4f, 0x2a, 0x5e, 0x8b, 0x52, 0xbf, 0x8d, 15657 0xe2, 0x6e, 0x5b, 0xf6, 0x3a, 0x94, 0xab, 0x4d, 0xdc, 0x50, 0x54, 0x16, 0x6c, 0x75, 0xf6, 0x49, 15658 0x56, 0x48, 0x5a, 0x33, 0xc9, 0xa4, 0xda, 0x1b, 0xd4, 0xc1, 0x38, 0x96, 0xb3, 0x4a, 0x43, 0x49, 15659 0x54, 0x65, 0x63, 0x14, 0x9c, 0x75, 0xa6, 0x97, 0xd9, 0xe9, 0xac, 0xfd, 0x72, 0x64, 0x3e, 0x46, 15660 0x81, 0xa1, 0x65, 0x08, 0xbf, 0x98, 0xc4, 0x57, 0xa7, 0x42, 0xe9, 0xee, 0xac, 0x40, 0xab, 0x30, 15661 0x29, 0xa2, 0xe6, 0x29, 0xb6, 0xe4, 0x61, 0xe7, 0x35, 0xff, 0x1d, 0x98, 0x58, 0x65, 0x02, 0xfd, 15662 0xb8, 0xe5, 0xf2, 0xd8, 0xbd, 0xc4, 0x0c, 0xc6, 0x9a, 0x8b, 0xb8, 0x26, 0x33, 0x85, 0x68, 0xa9, 15663 0xb3, 0xd5, 0x9e, 0x92, 0xce, 0x4e, 0x3e, 0x3f, 0x2d, 0xc9, 0xea, 0x59, 0xb6, 0x85, 0xc9, 0x60, 15664 0x36, 0x27, 0x59, 0x35, 0x79, 0xc3, 0x38, 0x89, 0xe6, 0x65, 0x9c, 0xce, 0xd0, 0x3d, 0xbf, 0xd0, 15665 0x32, 0xf7, 0xe5, 0xd0, 0x2c, 0xce, 0x62, 0x9d, 0x3b, 0x6e, 0x15, 0x6d, 0x33, 0x33, 0xdb, 0x34, 15666 0x79, 0xdb, 0xa4, 0x5e, 0x90, 0x91, 0x3a, 0xb7, 0x05, 0x3c, 0xe9, 0x9b, 0xc9, 0x90, 0xc9, 0xd5, 15667 0xe2, 0x9c, 0xcd, 0xda, 0x49, 0x3f, 0x27, 0x8b, 0xf2, 0x03, 0x5c, 0x66, 0x71, 0x7a, 0x3f, 0xa2, 15668 0x9f, 0x9b, 0x93, 0xd9, 0x0d, 0x95, 0x2e, 0x97, 0x9d, 0x11, 0xb9, 0x06, 0x93, 0x89, 0x5c, 0xc3, 15669 0xca, 0xc0, 0x93, 0x9d, 0xed, 0x78, 0xfe, 0x6a, 0x5e, 0xb5, 0x32, 0xb8, 0x96, 0x93, 0x29, 0x54, 15670 0xd5, 0x90, 0x73, 0x92, 0xe3, 0xaa, 0x21, 0xe7, 0xe6, 0x5e, 0x7d, 0x00, 0xe5, 0x64, 0xf6, 0x46, 15671 0x45, 0x34, 0x27, 0xad, 0x63, 0xee, 0x9c, 0xdc, 0x83, 0x69, 0x7d, 0x46, 0xd5, 0xb8, 0xf3, 0xa4, 15672 0x7f, 0x1e, 0x9d, 0x1d, 0x98, 0xc9, 0x4c, 0xb6, 0xa8, 0xb6, 0xd8, 0xa2, 0x54, 0x8c, 0xb9, 0x54, 15673 0x29, 0x5c, 0xcc, 0xce, 0xb7, 0x4a, 0x5e, 0x37, 0xed, 0x07, 0xd9, 0xd9, 0x27, 0xe7, 0xdf, 0xe8, 15674 0x02, 0x25, 0x18, 0xfa, 0x15, 0xee, 0x80, 0xa9, 0x36, 0xae, 0x6b, 0x16, 0x85, 0x9c, 0x06, 0xac, 15675 0x22, 0x10, 0xb5, 0x06, 0xa6, 0xb3, 0xb2, 0x49, 0xe7, 0xb2, 0xf8, 0xb5, 0x7c, 0x9a, 0xf1, 0xc2, 15676 0xda, 0x93, 0xa1, 0x29, 0x73, 0x39, 0x53, 0x98, 0x97, 0xb3, 0xe0, 0x48, 0x3a, 0xaf, 0xd6, 0xc3, 15677 0xd9, 0xbb, 0x9c, 0x6f, 0x5e, 0x9a, 0xce, 0xca, 0x06, 0x9b, 0xb4, 0xfe, 0x64, 0x25, 0xfb, 0x54, 15678 0x6c, 0x28, 0x4c, 0x27, 0xbb, 0xc7, 0x2d, 0x41, 0x26, 0x75, 0xdd, 0x12, 0x94, 0x49, 0xfa, 0x5a, 15679 0x3e, 0x40, 0xbc, 0x22, 0x32, 0x92, 0x66, 0x13, 0xfd, 0x9c, 0x95, 0x9d, 0x07, 0x54, 0xad, 0x88, 15680 0xa2, 0x9c, 0xdb, 0xb6, 0xfc, 0xe8, 0x72, 0xd8, 0x52, 0x90, 0x03, 0xb5, 0xe0, 0x38, 0x34, 0x17, 15681 0x4f, 0x5c, 0xa2, 0xdb, 0xe7, 0x9d, 0xb6, 0xaf, 0xe0, 0x52, 0x6e, 0xbe, 0x53, 0xf2, 0x56, 0xea, 15682 0x83, 0xce, 0xe1, 0x44, 0x7e, 0x4f, 0xc7, 0x8d, 0x54, 0xa5, 0xca, 0x14, 0x96, 0xc8, 0x8a, 0x9a, 15683 0x92, 0xd8, 0x19, 0x29, 0x53, 0xef, 0xa3, 0xe6, 0xab, 0xa5, 0x3d, 0xcd, 0x1d, 0xeb, 0x95, 0x2c, 15684 0x3a, 0x61, 0x5a, 0xa6, 0x6a, 0xfd, 0x92, 0x9a, 0x58, 0xb2, 0xe2, 0x3c, 0x32, 0xf5, 0x2c, 0x5d, 15685 0xcb, 0xa3, 0xb3, 0x02, 0xa3, 0x5a, 0xbe, 0x54, 0x72, 0xc9, 0x60, 0x93, 0xb1, 0x4b, 0xce, 0x1b, 15686 0x83, 0x33, 0x37, 0xc8, 0x65, 0xb4, 0x39, 0xab, 0xac, 0xab, 0xb9, 0xbd, 0xb8, 0x9c, 0xa6, 0x61, 15687 0xd8, 0x9b, 0x15, 0x17, 0x78, 0x6f, 0x16, 0x92, 0xcc, 0x31, 0x3a, 0x94, 0x3f, 0x24, 0xa2, 0xb3, 15688 0xa6, 0x4b, 0x97, 0xf2, 0x35, 0xd4, 0x29, 0x91, 0x94, 0x0d, 0x63, 0xc7, 0xcb, 0x40, 0x48, 0x17, 15689 0x95, 0xf1, 0x4c, 0x2b, 0x2d, 0xb0, 0x65, 0xd4, 0xd0, 0x25, 0x3b, 0x23, 0x81, 0xac, 0x92, 0xa1, 15690 0x85, 0xf9, 0x65, 0x33, 0xb4, 0x33, 0x25, 0x95, 0x73, 0x29, 0x16, 0x66, 0x94, 0xcd, 0xed, 0xe9, 15691 0x8f, 0x34, 0xa9, 0x9c, 0x4a, 0x13, 0x4b, 0x6e, 0x24, 0x55, 0xb3, 0xbc, 0x4c, 0xb2, 0x05, 0x52, 15692 0x7f, 0x3a, 0x2b, 0xc3, 0xac, 0x66, 0x00, 0xce, 0x4d, 0x3f, 0x9b, 0xc1, 0x05, 0x25, 0xde, 0x72, 15693 0xa8, 0x15, 0xe4, 0x9b, 0xcd, 0xed, 0xe1, 0x0f, 0x34, 0xf1, 0x96, 0xc8, 0x0b, 0xab, 0x0e, 0xdc, 15694 0x5d, 0x12, 0xc7, 0xe6, 0xd2, 0xde, 0x42, 0x27, 0xfe, 0x74, 0x52, 0x57, 0xa5, 0xbb, 0x14, 0xa5, 15695 0x7c, 0xcd, 0xb4, 0x0f, 0xcf, 0xa4, 0x87, 0xc8, 0xe8, 0x5d, 0x4c, 0x58, 0x77, 0xbb, 0x75, 0x4c, 15696 0xc9, 0xe1, 0x8c, 0x64, 0xb0, 0x09, 0x39, 0x9c, 0x9f, 0x2e, 0xb6, 0xe0, 0xa0, 0x33, 0x59, 0x77, 15697 0x0f, 0x3c, 0x2d, 0x97, 0xab, 0x3a, 0xe6, 0xa4, 0xd3, 0xcb, 0x2a, 0x11, 0x93, 0x95, 0xfa, 0x75, 15698 0x9b, 0x69, 0x38, 0x5c, 0x3f, 0xd7, 0xb3, 0x72, 0x92, 0xf9, 0xfc, 0x64, 0xa4, 0x4a, 0xdc, 0x64, 15699 0xa6, 0xf1, 0xd4, 0x08, 0xea, 0x29, 0x31, 0x15, 0xc1, 0x8c, 0xec, 0x9c, 0x8a, 0x60, 0x66, 0x0e, 15700 0xcd, 0xdb, 0x68, 0x57, 0xb1, 0xfd, 0x36, 0xd5, 0xed, 0x2a, 0x5a, 0x8e, 0xc5, 0x84, 0x59, 0x83, 15701 0x7c, 0x82, 0x46, 0x8d, 0x62, 0x4b, 0xc8, 0xac, 0x49, 0x49, 0xf7, 0x1d, 0x19, 0x51, 0x09, 0x2c, 15702 0x95, 0x15, 0x3d, 0x99, 0x43, 0x73, 0x7e, 0x2e, 0x5d, 0xa1, 0x12, 0x62, 0x43, 0x9c, 0xac, 0x52, 15703 0xd9, 0x28, 0x52, 0xf9, 0x2b, 0x93, 0x7d, 0x7e, 0x5f, 0x1a, 0x45, 0x0c, 0xb4, 0x54, 0xfa, 0xca, 15704 0x24, 0xda, 0x77, 0x60, 0x2c, 0x4e, 0x55, 0xb9, 0xb7, 0xa8, 0x21, 0x26, 0xf2, 0x57, 0x26, 0x11, 15705 0x3f, 0x94, 0x17, 0x27, 0xd8, 0x9e, 0x59, 0x59, 0x6c, 0x3f, 0xf9, 0x54, 0x1a, 0x61, 0x8c, 0x9e, 15706 0xa6, 0x12, 0x5f, 0x16, 0x48, 0xee, 0x31, 0x3d, 0xbf, 0x96, 0x5a, 0x17, 0x19, 0x19, 0xf2, 0xd4, 15707 0xba, 0xc8, 0xca, 0x70, 0x17, 0x5f, 0x2c, 0x7c, 0x29, 0x2d, 0x0e, 0x31, 0xd1, 0x2b, 0x46, 0xb7, 15708 0x52, 0x74, 0xaf, 0xe6, 0x55, 0x27, 0x49, 0xd7, 0xa1, 0x9c, 0x4c, 0x06, 0xa6, 0x8e, 0x6b, 0x39, 15709 0x59, 0xdb, 0xd4, 0x19, 0x30, 0x37, 0x8b, 0x58, 0x4d, 0x9a, 0xcf, 0x4d, 0xba, 0xd7, 0xb3, 0x3b, 15710 0xa5, 0x93, 0x2e, 0x56, 0xcb, 0xe2, 0xbc, 0x60, 0xfa, 0x41, 0x3a, 0x95, 0x77, 0x4c, 0x57, 0xcb, 15711 0x32, 0x52, 0x89, 0xb9, 0x32, 0x86, 0x46, 0x76, 0x7a, 0xd2, 0xb7, 0xcd, 0x13, 0x6e, 0x41, 0x28, 15712 0xda, 0xae, 0x97, 0xcc, 0xe4, 0xd7, 0x60, 0x36, 0x27, 0x6a, 0x27, 0x79, 0x23, 0x61, 0x88, 0xcd, 15713 0x8e, 0xea, 0xa9, 0x16, 0x48, 0x66, 0xc2, 0xce, 0x4d, 0xf4, 0x4e, 0x30, 0x5e, 0xcb, 0xa6, 0x6e, 15714 0xfc, 0x1e, 0xb9, 0xd1, 0x21, 0xcf, 0x4b, 0xa9, 0xc9, 0xdc, 0xcc, 0x67, 0xb6, 0xa4, 0x8e, 0xe7, 15715 0x15, 0xa3, 0x34, 0xe3, 0xd2, 0x2f, 0x83, 0xe0, 0x7c, 0x36, 0x41, 0x4c, 0x65, 0x5e, 0x93, 0x57, 15716 0x3b, 0xc9, 0x6e, 0xea, 0xc3, 0xcf, 0x7a, 0x20, 0x9c, 0xdb, 0xcd, 0x9a, 0x54, 0xb0, 0xb2, 0x29, 15717 0xe6, 0xbf, 0x6a, 0xce, 0xa5, 0xf8, 0x80, 0x51, 0x4c, 0x3d, 0x54, 0x26, 0x39, 0xe0, 0xc5, 0xd2, 15718 0xc3, 0x96, 0xfb, 0xb5, 0x89, 0xb5, 0xa8, 0xf5, 0x2f, 0xef, 0x49, 0x74, 0x6e, 0xff, 0x56, 0xe5, 15719 0xf7, 0x94, 0xdd, 0xbf, 0xb3, 0xee, 0xd8, 0xea, 0x7a, 0x2c, 0xf1, 0x56, 0xde, 0x18, 0xa8, 0x56, 15720 0x3e, 0x9f, 0x53, 0x4e, 0xb6, 0xd0, 0xdd, 0x28, 0x59, 0xaa, 0x1d, 0x5c, 0xb3, 0x1f, 0xe3, 0xe7, 15721 0xd2, 0xe3, 0xeb, 0xd8, 0x78, 0xcc, 0x7c, 0x9e, 0x75, 0x9c, 0x78, 0x05, 0x2d, 0xd6, 0xb1, 0x51, 15722 0x7a, 0xbe, 0x75, 0x9c, 0x20, 0x68, 0xae, 0xe3, 0x64, 0x37, 0x93, 0x86, 0x80, 0xdc, 0x59, 0x4d, 15723 0x76, 0x53, 0xad, 0xe3, 0x6c, 0x8a, 0xf9, 0x8f, 0xce, 0x73, 0x29, 0xaa, 0x75, 0x6c, 0x52, 0xcc, 15724 0x01, 0x3f, 0xe3, 0x3a, 0x4e, 0x36, 0x62, 0xae, 0xe3, 0x73, 0xf5, 0x4f, 0xad, 0xe3, 0xec, 0xfe, 15725 0x9d, 0x7b, 0x1d, 0x27, 0xa2, 0x34, 0x18, 0x03, 0xcd, 0x5a, 0xc7, 0x49, 0x78, 0xbe, 0x8e, 0x93, 15726 0xa5, 0x09, 0x03, 0x4c, 0xc1, 0x3a, 0x4e, 0x62, 0x7e, 0x8e, 0xf4, 0x12, 0x2f, 0xcc, 0xcf, 0xb2, 15727 0x92, 0x73, 0x1f, 0xa7, 0x93, 0x47, 0x68, 0xfd, 0x4b, 0x94, 0x9f, 0x6d, 0x35, 0x2f, 0xe4, 0x11, 15728 0xc5, 0xf5, 0xbc, 0x27, 0x99, 0x98, 0xec, 0xae, 0x69, 0xda, 0xca, 0x7e, 0x60, 0x5f, 0xd0, 0xe1, 15729 0x3d, 0xb6, 0x6e, 0x5a, 0x05, 0x74, 0x8b, 0xe2, 0x03, 0x14, 0xd0, 0x55, 0xe7, 0xa0, 0x24, 0xdd, 15730 0x5c, 0x94, 0xe2, 0xf5, 0xfd, 0x85, 0xbc, 0xff, 0x48, 0xe2, 0x2d, 0x26, 0x4e, 0x56, 0xe7, 0xee, 15731 0xa9, 0x3a, 0x61, 0x25, 0x7b, 0x7a, 0xde, 0x75, 0xbe, 0x29, 0xb5, 0x87, 0x54, 0x60, 0x91, 0xc4, 15732 0xa0, 0xf5, 0xb5, 0x9e, 0x5b, 0x43, 0x76, 0xd0, 0xd4, 0x9b, 0x2e, 0xd7, 0xcc, 0xc4, 0x79, 0x11, 15733 0x4c, 0xba, 0x52, 0x4d, 0x85, 0x48, 0xd0, 0xa9, 0xe6, 0xc5, 0x4f, 0x50, 0x54, 0xd3, 0xd8, 0x9f, 15734 0xa1, 0xe9, 0x4c, 0xbc, 0xe9, 0xf2, 0x1e, 0xfb, 0xf9, 0xe7, 0x9c, 0x29, 0xc3, 0x25, 0x8a, 0xc1, 15735 0xa2, 0x27, 0xda, 0x77, 0xc5, 0x05, 0x9f, 0x2c, 0xcc, 0x65, 0x7e, 0x16, 0x3e, 0xf9, 0x0c, 0xca, 15736 0x42, 0xbc, 0xc5, 0x04, 0xb2, 0x00, 0x73, 0xa7, 0x6e, 0x49, 0x5a, 0xec, 0xce, 0xd0, 0x83, 0xb3, 15737 0x58, 0xea, 0xce, 0xc2, 0x89, 0x7c, 0xb3, 0x16, 0xdb, 0x0e, 0x77, 0x82, 0xe3, 0x30, 0xa2, 0xad, 15738 0xb4, 0x39, 0xca, 0xec, 0x8c, 0x74, 0x9c, 0x30, 0xc1, 0xf7, 0x16, 0xc9, 0x3a, 0xca, 0x36, 0xb3, 15739 0xb8, 0xc8, 0x5e, 0x97, 0x4d, 0x06, 0x45, 0xcf, 0x9a, 0x7a, 0x3c, 0x64, 0xf6, 0x29, 0xaf, 0xed, 15740 0xfc, 0x4e, 0x29, 0x16, 0x9d, 0x71, 0x74, 0x79, 0x2c, 0xe2, 0x07, 0x6a, 0x6e, 0x3b, 0xec, 0xc6, 15741 0x99, 0xe4, 0x73, 0x26, 0xf2, 0x7d, 0x18, 0x91, 0xc8, 0xdd, 0x19, 0x92, 0xc4, 0x46, 0x86, 0xac, 15742 0xc0, 0xb8, 0xf1, 0x56, 0x4b, 0x9d, 0x6e, 0xb2, 0x5e, 0x70, 0x15, 0xcc, 0xf3, 0xb8, 0xf1, 0x26, 15743 0x4b, 0x51, 0xc9, 0x7a, 0xa9, 0x95, 0x4b, 0xe5, 0x7b, 0x30, 0x2a, 0x58, 0x5a, 0xc8, 0x8d, 0x7c, 15744 0x63, 0xdd, 0x8c, 0xe6, 0xf7, 0x7c, 0xdc, 0x72, 0xa3, 0x65, 0xdf, 0x7b, 0xec, 0x1e, 0x74, 0x65, 15745 0x4c, 0x1a, 0x65, 0x6f, 0x91, 0xfc, 0x10, 0xb3, 0x38, 0xca, 0xdc, 0x9a, 0x34, 0x7a, 0xe6, 0x07, 15746 0x4f, 0x5c, 0xef, 0xa0, 0x0b, 0xc9, 0x6b, 0x26, 0xc9, 0x24, 0x9e, 0x74, 0x2d, 0xf9, 0x21, 0xcc, 15747 0xd7, 0xf3, 0x89, 0x77, 0x25, 0x52, 0xbc, 0xbd, 0xd4, 0x61, 0x01, 0x9d, 0x6b, 0xce, 0xdb, 0xf7, 15748 0x42, 0xa2, 0x5f, 0xf2, 0xd8, 0x54, 0xd2, 0xd0, 0xdf, 0xf4, 0x83, 0x56, 0x77, 0x8a, 0x15, 0xd3, 15749 0x5d, 0x37, 0x81, 0x26, 0x99, 0xf1, 0x25, 0x5c, 0xaa, 0xe7, 0x92, 0xee, 0x46, 0xa2, 0x9b, 0x26, 15750 0x79, 0x19, 0x59, 0x71, 0xce, 0x7e, 0x17, 0xd2, 0x5c, 0x47, 0x99, 0xc6, 0xf6, 0xa1, 0x5a, 0x40, 15751 0x1f, 0xd3, 0x00, 0x9d, 0xc2, 0xbb, 0xb9, 0x43, 0x9b, 0xe0, 0x72, 0xe4, 0xeb, 0x70, 0xa1, 0x9e, 15752 0x22, 0x95, 0x87, 0x52, 0xdc, 0xab, 0x07, 0x30, 0x85, 0x23, 0x3d, 0x63, 0xbf, 0xba, 0x38, 0x11, 15753 0x8d, 0xde, 0xa7, 0xd1, 0xee, 0x7a, 0x17, 0x2e, 0xc9, 0x57, 0x0b, 0x12, 0x70, 0xef, 0x0e, 0xc3, 15754 0xac, 0x6b, 0x98, 0x69, 0x88, 0xdc, 0x8f, 0xf7, 0xfb, 0xf2, 0x22, 0xa5, 0x6b, 0xb3, 0x79, 0x14, 15755 0xee, 0xa2, 0x2c, 0x14, 0x8e, 0xd1, 0x9a, 0x09, 0xd2, 0x48, 0xb6, 0x3c, 0x3f, 0xae, 0xfb, 0x48, 15756 0x87, 0xa4, 0xca, 0x8f, 0x7f, 0x7a, 0x5a, 0x66, 0xcd, 0xf5, 0x22, 0x33, 0x5f, 0x73, 0x92, 0x04, 15757 0x37, 0xa1, 0x6e, 0xf8, 0xcd, 0x27, 0xba, 0x09, 0x55, 0xcb, 0xf3, 0x3b, 0x6f, 0x66, 0xe1, 0x15, 15758 0x12, 0x1f, 0x53, 0xf1, 0xea, 0x7e, 0x61, 0x7a, 0xa6, 0x5f, 0xdd, 0x84, 0x6a, 0xe6, 0x24, 0xbe, 15759 0x2b, 0x6d, 0x8b, 0xd8, 0xa0, 0x49, 0x39, 0x97, 0x35, 0xca, 0xac, 0x88, 0x48, 0xa6, 0x59, 0x51, 15760 0xef, 0x68, 0xfe, 0x45, 0x00, 0x49, 0x27, 0x25, 0x56, 0x87, 0x95, 0xdc, 0x7c, 0xc5, 0x05, 0xee, 15761 0x5d, 0x53, 0x19, 0x39, 0xd5, 0xd5, 0xf1, 0x2e, 0x3f, 0xdf, 0xfa, 0xbc, 0xe9, 0xab, 0xf4, 0x6e, 15762 0x89, 0x6c, 0xc1, 0xc5, 0xfb, 0x34, 0x12, 0x32, 0xce, 0xa6, 0x61, 0x14, 0xb8, 0xcd, 0xa8, 0xf0, 15763 0x56, 0x51, 0x9e, 0x4d, 0x32, 0x70, 0xf6, 0xde, 0x63, 0xf4, 0xea, 0xd9, 0xf4, 0x0a, 0xf1, 0x0a, 15764 0x3c, 0x68, 0xc5, 0x55, 0xc5, 0x79, 0xba, 0x98, 0xbf, 0xc4, 0x87, 0xb8, 0x83, 0x4e, 0x3e, 0x6a, 15765 0x39, 0x4e, 0x96, 0x21, 0x4e, 0x5b, 0xb7, 0x60, 0x90, 0x23, 0xe5, 0x6e, 0xa8, 0x63, 0x3a, 0x0e, 15766 0xb9, 0x03, 0x23, 0xca, 0xc3, 0x86, 0x18, 0x55, 0xb9, 0xfd, 0xba, 0x03, 0x23, 0xfc, 0x68, 0x75, 15767 0x76, 0x94, 0x4f, 0x60, 0x44, 0xb9, 0xe4, 0x9c, 0x7b, 0xa7, 0xff, 0x0c, 0xc6, 0x75, 0xe7, 0x9c, 15768 0xf3, 0x33, 0xf2, 0x7b, 0x78, 0xf7, 0x2b, 0xaf, 0x58, 0xf2, 0xf1, 0x67, 0x12, 0x09, 0x54, 0x04, 15769 0x4b, 0xb9, 0x80, 0x94, 0x85, 0xb9, 0xdd, 0xbf, 0x90, 0xc2, 0x26, 0x9f, 0xc8, 0xf7, 0x52, 0x0a, 15770 0x39, 0x0d, 0x54, 0xc0, 0xb3, 0x09, 0xce, 0xe6, 0x17, 0x41, 0x56, 0x02, 0xb6, 0x6b, 0xb7, 0xcf, 15771 0x72, 0x47, 0xdd, 0x9d, 0x75, 0x79, 0x54, 0xb6, 0x51, 0x4b, 0x4b, 0xa5, 0xf6, 0xc9, 0x27, 0x74, 15772 0x35, 0x3f, 0x1b, 0x10, 0x4e, 0xc6, 0x03, 0x3c, 0x05, 0xa6, 0x6a, 0x73, 0x87, 0x57, 0x90, 0x5d, 15773 0x28, 0x3e, 0xf6, 0xa6, 0xc9, 0x15, 0xa0, 0x15, 0x9d, 0xa2, 0xc5, 0x2b, 0xd0, 0x57, 0x42, 0x6e, 15774 0x5d, 0xfa, 0x38, 0x9e, 0x7d, 0xb0, 0xf9, 0x3d, 0xbb, 0x9c, 0x71, 0x2b, 0xde, 0x75, 0x2e, 0xf2, 15775 0xc8, 0xfd, 0x1a, 0x6a, 0x87, 0xd9, 0x19, 0xe5, 0x73, 0x89, 0xdd, 0xd0, 0x1c, 0x2b, 0x8a, 0x73, 15776 0xd1, 0x3f, 0xc1, 0x87, 0x68, 0xd9, 0xc9, 0x8f, 0xde, 0xec, 0x42, 0x45, 0x72, 0xe2, 0xad, 0xae, 15777 0x70, 0xea, 0x8e, 0xf5, 0x32, 0xdf, 0x61, 0xb3, 0xdb, 0xeb, 0x92, 0xcc, 0x29, 0xe3, 0xda, 0x3b, 15778 0x27, 0x5d, 0xbb, 0x24, 0x68, 0x3a, 0x90, 0x16, 0x8e, 0x21, 0x8f, 0xfd, 0x9f, 0x43, 0x25, 0xf6, 15779 0x1e, 0x39, 0xdf, 0x24, 0xe4, 0xfb, 0x2d, 0x92, 0x74, 0x12, 0x7b, 0x52, 0x94, 0xdd, 0x60, 0xfe, 15780 0x7a, 0x1e, 0x87, 0x43, 0xcd, 0x2d, 0x49, 0xf8, 0xbd, 0x25, 0xd2, 0x80, 0xe5, 0x25, 0x14, 0x2b, 15781 0xb0, 0xc3, 0x8a, 0x97, 0x79, 0xaf, 0x84, 0x50, 0x7a, 0xb6, 0xcf, 0x4f, 0x48, 0x39, 0x77, 0x24, 15782 0x08, 0x59, 0x05, 0xd3, 0x7b, 0x1e, 0xdf, 0xb5, 0xe4, 0x54, 0x9c, 0x77, 0x42, 0x9d, 0xf8, 0x35, 15783 0x5a, 0x3a, 0xd3, 0xbe, 0xd2, 0xe5, 0x72, 0xb3, 0xfe, 0xab, 0xd9, 0x2d, 0x48, 0xd3, 0xbf, 0xcc, 15784 0x3e, 0x53, 0xde, 0x84, 0x91, 0xe6, 0x7b, 0xd9, 0xde, 0x88, 0xcd, 0x0a, 0x19, 0xf9, 0xbf, 0xe7, 15785 0x41, 0x56, 0xda, 0x1b, 0xa4, 0x2e, 0xc3, 0xea, 0x66, 0xc5, 0xc0, 0x51, 0x2f, 0x63, 0xb2, 0x2a, 15786 0x0b, 0x4e, 0x17, 0x75, 0x19, 0x48, 0xf7, 0x55, 0x12, 0x6d, 0xc0, 0x6c, 0x4e, 0xe4, 0x20, 0x75, 15787 0xc3, 0x5a, 0x1c, 0x59, 0x68, 0xbe, 0xb8, 0x61, 0xf2, 0x43, 0x98, 0xc9, 0x0c, 0x2d, 0xa4, 0xac, 15788 0xc4, 0x45, 0x81, 0x87, 0xba, 0x11, 0x7f, 0x02, 0x73, 0x79, 0x39, 0xb9, 0xe3, 0x97, 0x3a, 0xc5, 15789 0x89, 0xd2, 0x95, 0x4c, 0xed, 0x9a, 0xdc, 0x7b, 0x0b, 0xa6, 0xb3, 0xf2, 0x5c, 0xab, 0x8f, 0xa3, 15790 0x20, 0x09, 0x76, 0xe6, 0x73, 0xa0, 0x1a, 0xcc, 0x64, 0xe6, 0x9a, 0x56, 0x9c, 0x29, 0xca, 0x44, 15791 0x9d, 0x49, 0xf1, 0x0b, 0x98, 0xcd, 0x49, 0xac, 0x1c, 0x5f, 0x97, 0x17, 0x26, 0x5e, 0x2e, 0x70, 15792 0x56, 0x9a, 0xcf, 0xcf, 0xd9, 0xab, 0x7c, 0xd4, 0xba, 0xa6, 0xf5, 0x9d, 0xcf, 0x4c, 0x64, 0x4e, 15793 0x76, 0x70, 0x11, 0x66, 0x25, 0xf1, 0xd5, 0x17, 0x61, 0x41, 0x92, 0xdf, 0x9c, 0x67, 0x5c, 0xb3, 15794 0x39, 0x79, 0x7b, 0x0b, 0xa8, 0x9e, 0xa1, 0xb7, 0x5b, 0x52, 0xfe, 0x9b, 0x19, 0x4e, 0x13, 0x7e, 15795 0xcf, 0x99, 0xe9, 0x4f, 0x33, 0xfb, 0xa9, 0xc5, 0x57, 0x68, 0xb7, 0x0b, 0xd4, 0x20, 0xa2, 0x07, 15796 0x58, 0x60, 0x90, 0x68, 0x68, 0x1f, 0xd7, 0x71, 0x8b, 0x24, 0x6a, 0x0a, 0x19, 0x15, 0xcf, 0x8f, 15797 0x61, 0xac, 0xae, 0x37, 0x9e, 0xd1, 0x48, 0xee, 0xa2, 0x50, 0x0f, 0x79, 0xba, 0xf7, 0xbd, 0xc0, 15798 0xd9, 0x53, 0x6d, 0x0e, 0x67, 0x1a, 0x45, 0xae, 0x7b, 0x8b, 0x91, 0xae, 0x46, 0x49, 0xea, 0xac, 15799 0x6c, 0x52, 0xca, 0xbd, 0x25, 0x3b, 0xc3, 0x4d, 0x83, 0x07, 0xd8, 0x4f, 0x26, 0x0b, 0x23, 0x56, 15800 0xf7, 0xac, 0x7c, 0xca, 0xad, 0xbd, 0x30, 0xdb, 0x18, 0xf7, 0xc5, 0x89, 0x13, 0xf4, 0xe8, 0xbe, 15801 0x38, 0xa9, 0xb4, 0x3f, 0xba, 0x2f, 0x4e, 0x46, 0x4e, 0x9f, 0x55, 0xa4, 0x15, 0x67, 0x26, 0x28, 15802 0x30, 0x18, 0x28, 0x32, 0x19, 0x09, 0x10, 0x1e, 0xea, 0x61, 0x3a, 0x78, 0x3e, 0x83, 0x02, 0x7b, 15803 0x68, 0x32, 0x3c, 0x47, 0x22, 0x01, 0xc2, 0x03, 0x28, 0x27, 0x63, 0xb9, 0x29, 0x73, 0x54, 0x4e, 15804 0x90, 0xb7, 0x82, 0x25, 0x06, 0x71, 0xc4, 0x36, 0x65, 0xf4, 0x49, 0x05, 0x71, 0x9b, 0xbf, 0x94, 15805 0x51, 0xa3, 0xd4, 0xb5, 0x31, 0x3d, 0xbe, 0x9b, 0x72, 0x27, 0xcb, 0x08, 0xfa, 0x36, 0x7f, 0x39, 15806 0xb3, 0x4e, 0x10, 0x8a, 0x78, 0x42, 0xc9, 0xec, 0x34, 0x98, 0xf1, 0x1b, 0xaa, 0x02, 0x18, 0xd9, 15807 0xcc, 0xcd, 0xb3, 0x80, 0x8a, 0x56, 0xa9, 0xca, 0xa7, 0x90, 0x91, 0x7b, 0xf3, 0xad, 0x8c, 0xb7, 15808 0x0e, 0x06, 0x44, 0xec, 0x69, 0x55, 0x9c, 0x08, 0x94, 0x3c, 0x92, 0xf1, 0xed, 0x73, 0x5a, 0xea, 15809 0x46, 0x20, 0x77, 0x06, 0x1f, 0xc9, 0x88, 0xf6, 0xaf, 0x9a, 0xf0, 0x3e, 0x2c, 0x24, 0x9e, 0x52, 15810 0x98, 0x84, 0x6f, 0x66, 0xbf, 0xb7, 0xc8, 0x64, 0x4f, 0xbe, 0x3e, 0x7c, 0x2d, 0xfd, 0xee, 0x22, 15811 0x31, 0xef, 0xe7, 0x95, 0x55, 0x9b, 0x30, 0x81, 0xe2, 0x41, 0x66, 0x91, 0x8d, 0xa3, 0xbb, 0x98, 15812 0xc5, 0xc9, 0x30, 0x43, 0xc9, 0x5a, 0xe5, 0x8e, 0x3a, 0x26, 0xde, 0xe3, 0xf2, 0x9c, 0xb4, 0xf3, 15813 0xe6, 0x23, 0x5d, 0x2c, 0xcc, 0xda, 0x7d, 0x44, 0xaa, 0x5b, 0xf2, 0x3d, 0x98, 0x8c, 0x9f, 0xe9, 15814 0x72, 0x12, 0x19, 0x60, 0x05, 0x46, 0xa8, 0xc9, 0xf8, 0xad, 0xee, 0xf9, 0xd1, 0xd7, 0xe4, 0x16, 15815 0x12, 0xa3, 0x5f, 0x49, 0x3d, 0x41, 0x31, 0xc6, 0x70, 0x96, 0x9d, 0x44, 0xe3, 0xed, 0x79, 0x67, 15816 0xa7, 0x89, 0x9f, 0x5b, 0x76, 0xe0, 0x42, 0xfd, 0x73, 0x2b, 0x0c, 0xae, 0xa8, 0xd4, 0xd6, 0x1c, 15817 0x3a, 0x9b, 0xf0, 0x1a, 0x06, 0x3b, 0xa9, 0xf1, 0xf0, 0x76, 0xd9, 0x50, 0xf9, 0x7d, 0x4f, 0x86, 15818 0x48, 0x69, 0xc3, 0xf5, 0xae, 0x91, 0x1b, 0xc9, 0x6d, 0xc3, 0x7d, 0xa4, 0x7b, 0x8c, 0xc7, 0xa2, 15819 0x67, 0x5f, 0x59, 0x01, 0x10, 0xd5, 0xfe, 0x58, 0x10, 0x8b, 0x51, 0xed, 0x8f, 0x85, 0x11, 0x14, 15820 0xbf, 0xc0, 0xa4, 0x11, 0x62, 0x6f, 0xc1, 0x00, 0x46, 0xd4, 0xe3, 0x21, 0x9d, 0x0b, 0xaf, 0x54, 15821 0xae, 0x9b, 0x17, 0x8e, 0x29, 0x44, 0x3c, 0x8b, 0x5c, 0x15, 0x27, 0xa8, 0x3c, 0xe2, 0xdd, 0x89, 15822 0x14, 0xb8, 0x2d, 0x5f, 0xe5, 0x0b, 0xf0, 0xdc, 0x3d, 0xcf, 0x29, 0x5f, 0x5a, 0xf9, 0xf9, 0x7f, 15823 0xbe, 0x5a, 0xfa, 0xf9, 0x2f, 0xae, 0x96, 0xfe, 0xc3, 0x2f, 0xae, 0x96, 0xfe, 0xd3, 0x2f, 0xae, 15824 0x96, 0x7e, 0xb0, 0x78, 0xb6, 0xc0, 0xc2, 0xcd, 0xb6, 0x4b, 0xbd, 0xe8, 0x36, 0x27, 0x37, 0x88, 15825 0xff, 0xdd, 0xfd, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xaa, 0x93, 0x89, 0xf2, 0x03, 0xdd, 0x00, 15826 0x00, 15827 } 15828 15829 // Reference imports to suppress errors if they are not otherwise used. 15830 var _ context.Context 15831 var _ grpc.ClientConn 15832 15833 // This is a compile-time assertion to ensure that this generated file 15834 // is compatible with the grpc package it is being compiled against. 15835 const _ = grpc.SupportPackageIsVersion4 15836 15837 // AuthServiceClient is the client API for AuthService service. 15838 // 15839 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 15840 type AuthServiceClient interface { 15841 // InventoryControlStream is the per-instance stream used to advertise teleport instance 15842 // presence/version/etc to the auth server. 15843 InventoryControlStream(ctx context.Context, opts ...grpc.CallOption) (AuthService_InventoryControlStreamClient, error) 15844 // GetInventoryStatus gets information about current instance inventory. 15845 GetInventoryStatus(ctx context.Context, in *InventoryStatusRequest, opts ...grpc.CallOption) (*InventoryStatusSummary, error) 15846 // GetInventoryConnectedServiceCounts returns the counts of each connected service seen in the inventory. 15847 GetInventoryConnectedServiceCounts(ctx context.Context, in *InventoryConnectedServiceCountsRequest, opts ...grpc.CallOption) (*InventoryConnectedServiceCounts, error) 15848 // PingInventory attempts to trigger a downstream inventory ping (used in testing/debug). 15849 PingInventory(ctx context.Context, in *InventoryPingRequest, opts ...grpc.CallOption) (*InventoryPingResponse, error) 15850 // GetInstances streams all instances matching the specified filter. 15851 GetInstances(ctx context.Context, in *types.InstanceFilter, opts ...grpc.CallOption) (AuthService_GetInstancesClient, error) 15852 // GetClusterAlerts loads cluster-level alert messages. 15853 GetClusterAlerts(ctx context.Context, in *types.GetClusterAlertsRequest, opts ...grpc.CallOption) (*GetClusterAlertsResponse, error) 15854 // UpsertClusterAlert creates a cluster alert. 15855 UpsertClusterAlert(ctx context.Context, in *UpsertClusterAlertRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 15856 // CreateAlertAck marks a cluster alert as acknowledged. 15857 CreateAlertAck(ctx context.Context, in *types.AlertAcknowledgement, opts ...grpc.CallOption) (*emptypb.Empty, error) 15858 // GetAlertAcks gets active alert ackowledgements. 15859 GetAlertAcks(ctx context.Context, in *GetAlertAcksRequest, opts ...grpc.CallOption) (*GetAlertAcksResponse, error) 15860 // ClearAlertAcks clears alert acknowledgments. 15861 ClearAlertAcks(ctx context.Context, in *ClearAlertAcksRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 15862 // MaintainSessionPresence establishes a channel used to continously verify the presence for a 15863 // session. 15864 MaintainSessionPresence(ctx context.Context, opts ...grpc.CallOption) (AuthService_MaintainSessionPresenceClient, error) 15865 // CreateSessionTracker creates a new session tracker resource. 15866 CreateSessionTracker(ctx context.Context, in *CreateSessionTrackerRequest, opts ...grpc.CallOption) (*types.SessionTrackerV1, error) 15867 // GetSessionTracker fetches a session tracker resource. 15868 GetSessionTracker(ctx context.Context, in *GetSessionTrackerRequest, opts ...grpc.CallOption) (*types.SessionTrackerV1, error) 15869 // GetActiveSessionTrackers returns a list of active sessions. 15870 GetActiveSessionTrackers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (AuthService_GetActiveSessionTrackersClient, error) 15871 // GetActiveSessionTrackersWithFilter returns a list of active sessions filtered by a filter. 15872 GetActiveSessionTrackersWithFilter(ctx context.Context, in *types.SessionTrackerFilter, opts ...grpc.CallOption) (AuthService_GetActiveSessionTrackersWithFilterClient, error) 15873 // RemoveSessionTracker removes a session tracker resource. 15874 RemoveSessionTracker(ctx context.Context, in *RemoveSessionTrackerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 15875 // UpdateSessionTracker updates some state of a session tracker. 15876 UpdateSessionTracker(ctx context.Context, in *UpdateSessionTrackerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 15877 // SendKeepAlives allows node to send a stream of keep alive requests 15878 SendKeepAlives(ctx context.Context, opts ...grpc.CallOption) (AuthService_SendKeepAlivesClient, error) 15879 // WatchEvents returns a new stream of cluster events 15880 WatchEvents(ctx context.Context, in *Watch, opts ...grpc.CallOption) (AuthService_WatchEventsClient, error) 15881 // GetNode retrieves a node described by the given request. 15882 GetNode(ctx context.Context, in *types.ResourceInNamespaceRequest, opts ...grpc.CallOption) (*types.ServerV2, error) 15883 // UpsertNode upserts a node in a backend. 15884 UpsertNode(ctx context.Context, in *types.ServerV2, opts ...grpc.CallOption) (*types.KeepAlive, error) 15885 // DeleteNode deletes an existing node in a backend described by the given request. 15886 DeleteNode(ctx context.Context, in *types.ResourceInNamespaceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 15887 // DeleteAllNodes deletes all nodes. 15888 DeleteAllNodes(ctx context.Context, in *types.ResourcesInNamespaceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 15889 // GenerateUserCerts generates a set of user certificates. 15890 GenerateUserCerts(ctx context.Context, in *UserCertsRequest, opts ...grpc.CallOption) (*Certs, error) 15891 // GenerateHostCerts generates a set of host certificates. 15892 GenerateHostCerts(ctx context.Context, in *HostCertsRequest, opts ...grpc.CallOption) (*Certs, error) 15893 // Deprecated: Superseded by GenerateUserCerts. 15894 GenerateUserSingleUseCerts(ctx context.Context, opts ...grpc.CallOption) (AuthService_GenerateUserSingleUseCertsClient, error) 15895 // GenerateOpenSSHCert signs a SSH certificate that can be used 15896 // to connect to Agentless nodes. 15897 GenerateOpenSSHCert(ctx context.Context, in *OpenSSHCertRequest, opts ...grpc.CallOption) (*OpenSSHCert, error) 15898 // IsMFARequired checks whether MFA is required to access the specified 15899 // target. 15900 IsMFARequired(ctx context.Context, in *IsMFARequiredRequest, opts ...grpc.CallOption) (*IsMFARequiredResponse, error) 15901 // GetAccessRequestsV2 gets all pending access requests. 15902 GetAccessRequestsV2(ctx context.Context, in *types.AccessRequestFilter, opts ...grpc.CallOption) (AuthService_GetAccessRequestsV2Client, error) 15903 // ListAccessRequests gets access requests with pagination and sorting. 15904 ListAccessRequests(ctx context.Context, in *ListAccessRequestsRequest, opts ...grpc.CallOption) (*ListAccessRequestsResponse, error) 15905 // CreateAccessRequest creates a new access request. 15906 // Deprecated: use CreateAccessRequestV2 instead. 15907 // DELETE IN v15.0.0. 15908 CreateAccessRequest(ctx context.Context, in *types.AccessRequestV3, opts ...grpc.CallOption) (*emptypb.Empty, error) 15909 // CreateAccessRequestV2 creates a new access request. 15910 CreateAccessRequestV2(ctx context.Context, in *types.AccessRequestV3, opts ...grpc.CallOption) (*types.AccessRequestV3, error) 15911 // DeleteAccessRequest deletes an access request. 15912 DeleteAccessRequest(ctx context.Context, in *RequestID, opts ...grpc.CallOption) (*emptypb.Empty, error) 15913 // SetAccessRequestState sets the state of an access request. 15914 SetAccessRequestState(ctx context.Context, in *RequestStateSetter, opts ...grpc.CallOption) (*emptypb.Empty, error) 15915 // SubmitAccessReview applies a review to a request and returns the post-application state. 15916 SubmitAccessReview(ctx context.Context, in *types.AccessReviewSubmission, opts ...grpc.CallOption) (*types.AccessRequestV3, error) 15917 // GetAccessCapabilities requests the access capabilities of a user. 15918 GetAccessCapabilities(ctx context.Context, in *types.AccessCapabilitiesRequest, opts ...grpc.CallOption) (*types.AccessCapabilities, error) 15919 // GetAccessRequestAllowedPromotions returns a list of allowed promotions from an access request to an access list. 15920 GetAccessRequestAllowedPromotions(ctx context.Context, in *AccessRequestAllowedPromotionRequest, opts ...grpc.CallOption) (*AccessRequestAllowedPromotionResponse, error) 15921 // GetPluginData gets all plugin data matching the supplied filter. 15922 GetPluginData(ctx context.Context, in *types.PluginDataFilter, opts ...grpc.CallOption) (*PluginDataSeq, error) 15923 // UpdatePluginData updates a plugin's resource-specific datastore. 15924 UpdatePluginData(ctx context.Context, in *types.PluginDataUpdateParams, opts ...grpc.CallOption) (*emptypb.Empty, error) 15925 // Ping gets basic info about the auth server. This method is intended 15926 // to mimic the behavior of the proxy's Ping method, and may be used by 15927 // clients for verification or configuration on startup. 15928 Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) 15929 // GetResetPasswordToken returns a reset password token. 15930 GetResetPasswordToken(ctx context.Context, in *GetResetPasswordTokenRequest, opts ...grpc.CallOption) (*types.UserTokenV3, error) 15931 // CreateResetPasswordToken resets users current password and second factors and creates a reset 15932 // password token. 15933 // 15934 // Only local users may be reset. 15935 CreateResetPasswordToken(ctx context.Context, in *CreateResetPasswordTokenRequest, opts ...grpc.CallOption) (*types.UserTokenV3, error) 15936 // GetUser gets a user resource by name. 15937 // 15938 // Deprecated: Use [teleport.users.v1.UsersService] instead. 15939 GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*types.UserV2, error) 15940 // GetCurrentUser returns current user as seen by the server. 15941 // Useful especially in the context of remote clusters which perform role and trait mapping. 15942 // 15943 // Deprecated: Use [teleport.users.v1.UsersService] instead. 15944 GetCurrentUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.UserV2, error) 15945 // GetCurrentUserRoles returns current user's roles. 15946 GetCurrentUserRoles(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (AuthService_GetCurrentUserRolesClient, error) 15947 // GetUsers gets all current user resources. 15948 // 15949 // Deprecated: Use [teleport.users.v1.UsersService] instead. 15950 GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (AuthService_GetUsersClient, error) 15951 // CreateUser inserts a new user entry to a backend. 15952 // 15953 // Deprecated: Use [teleport.users.v1.UsersService] instead. 15954 CreateUser(ctx context.Context, in *types.UserV2, opts ...grpc.CallOption) (*emptypb.Empty, error) 15955 // UpdateUser updates an existing user in a backend. 15956 // 15957 // Deprecated: Use [teleport.users.v1.UsersService] instead. 15958 UpdateUser(ctx context.Context, in *types.UserV2, opts ...grpc.CallOption) (*emptypb.Empty, error) 15959 // DeleteUser deletes an existing user in a backend by username. 15960 // 15961 // Deprecated: Use [teleport.users.v1.UsersService] instead. 15962 DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 15963 // ChangePassword allows a user to change their own password. 15964 // 15965 // Only local users may change their password. 15966 ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 15967 // AcquireSemaphore acquires lease with requested resources from semaphore. 15968 AcquireSemaphore(ctx context.Context, in *types.AcquireSemaphoreRequest, opts ...grpc.CallOption) (*types.SemaphoreLease, error) 15969 // KeepAliveSemaphoreLease updates semaphore lease. 15970 KeepAliveSemaphoreLease(ctx context.Context, in *types.SemaphoreLease, opts ...grpc.CallOption) (*emptypb.Empty, error) 15971 // CancelSemaphoreLease cancels semaphore lease early. 15972 CancelSemaphoreLease(ctx context.Context, in *types.SemaphoreLease, opts ...grpc.CallOption) (*emptypb.Empty, error) 15973 // GetSemaphores returns a list of all semaphores matching the supplied filter. 15974 GetSemaphores(ctx context.Context, in *types.SemaphoreFilter, opts ...grpc.CallOption) (*Semaphores, error) 15975 // DeleteSemaphore deletes a semaphore matching the supplied filter. 15976 DeleteSemaphore(ctx context.Context, in *types.SemaphoreFilter, opts ...grpc.CallOption) (*emptypb.Empty, error) 15977 // EmitAuditEvent emits audit event 15978 EmitAuditEvent(ctx context.Context, in *events.OneOf, opts ...grpc.CallOption) (*emptypb.Empty, error) 15979 // CreateAuditStream creates or resumes audit events streams 15980 CreateAuditStream(ctx context.Context, opts ...grpc.CallOption) (AuthService_CreateAuditStreamClient, error) 15981 // UpsertApplicationServer adds an application server. 15982 UpsertApplicationServer(ctx context.Context, in *UpsertApplicationServerRequest, opts ...grpc.CallOption) (*types.KeepAlive, error) 15983 // DeleteApplicationServer removes an application server. 15984 DeleteApplicationServer(ctx context.Context, in *DeleteApplicationServerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 15985 // DeleteAllApplicationServers removes all application servers. 15986 DeleteAllApplicationServers(ctx context.Context, in *DeleteAllApplicationServersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 15987 // GenerateAppToken will generate a JWT token for application access. 15988 GenerateAppToken(ctx context.Context, in *GenerateAppTokenRequest, opts ...grpc.CallOption) (*GenerateAppTokenResponse, error) 15989 // GetAppSession gets an application web session. 15990 GetAppSession(ctx context.Context, in *GetAppSessionRequest, opts ...grpc.CallOption) (*GetAppSessionResponse, error) 15991 // ListAppSessions gets all application web sessions. 15992 ListAppSessions(ctx context.Context, in *ListAppSessionsRequest, opts ...grpc.CallOption) (*ListAppSessionsResponse, error) 15993 // CreateAppSession creates an application web session. Application web 15994 // sessions represent a browser session the client holds. 15995 CreateAppSession(ctx context.Context, in *CreateAppSessionRequest, opts ...grpc.CallOption) (*CreateAppSessionResponse, error) 15996 // DeleteAppSession removes an application web session. 15997 DeleteAppSession(ctx context.Context, in *DeleteAppSessionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 15998 // DeleteAllAppSessions removes all application web sessions. 15999 DeleteAllAppSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16000 // DeleteUserAppSessions deletes all user’s application sessions. 16001 DeleteUserAppSessions(ctx context.Context, in *DeleteUserAppSessionsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16002 // CreateSnowflakeSession creates web session with sub kind Snowflake used by Database access 16003 // Snowflake integration. 16004 CreateSnowflakeSession(ctx context.Context, in *CreateSnowflakeSessionRequest, opts ...grpc.CallOption) (*CreateSnowflakeSessionResponse, error) 16005 // GetSnowflakeSession returns a web session with sub kind Snowflake. 16006 GetSnowflakeSession(ctx context.Context, in *GetSnowflakeSessionRequest, opts ...grpc.CallOption) (*GetSnowflakeSessionResponse, error) 16007 // GetSnowflakeSessions gets all Snowflake web sessions. 16008 GetSnowflakeSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetSnowflakeSessionsResponse, error) 16009 // DeleteSnowflakeSession removes a Snowflake web session. 16010 DeleteSnowflakeSession(ctx context.Context, in *DeleteSnowflakeSessionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16011 // DeleteAllSnowflakeSessions removes all Snowflake web sessions. 16012 DeleteAllSnowflakeSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16013 // CreateSAMLIdPSession creates web session with sub kind saml_idp used by the SAML IdP. 16014 CreateSAMLIdPSession(ctx context.Context, in *CreateSAMLIdPSessionRequest, opts ...grpc.CallOption) (*CreateSAMLIdPSessionResponse, error) 16015 // GetSAMLIdPSession returns a SAML IdP session with sub kind saml_idp. 16016 GetSAMLIdPSession(ctx context.Context, in *GetSAMLIdPSessionRequest, opts ...grpc.CallOption) (*GetSAMLIdPSessionResponse, error) 16017 // ListSAMLIdPSessions gets all SAML IdP sessions. 16018 ListSAMLIdPSessions(ctx context.Context, in *ListSAMLIdPSessionsRequest, opts ...grpc.CallOption) (*ListSAMLIdPSessionsResponse, error) 16019 // DeleteSAMLIdPSession removes a SAML IdP session. 16020 DeleteSAMLIdPSession(ctx context.Context, in *DeleteSAMLIdPSessionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16021 // DeleteAllSAMLIdPSessions removes all SAML IdP sessions. 16022 DeleteAllSAMLIdPSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16023 // DeleteUserSAMLIdPSessions deletes all user’s SAML IdP sessions. 16024 DeleteUserSAMLIdPSessions(ctx context.Context, in *DeleteUserSAMLIdPSessionsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16025 // GetWebSession gets a web session. 16026 GetWebSession(ctx context.Context, in *types.GetWebSessionRequest, opts ...grpc.CallOption) (*GetWebSessionResponse, error) 16027 // GetWebSessions gets all web sessions. 16028 GetWebSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetWebSessionsResponse, error) 16029 // DeleteWebSession deletes a web session. 16030 DeleteWebSession(ctx context.Context, in *types.DeleteWebSessionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16031 // DeleteAllWebSessions deletes all web sessions. 16032 DeleteAllWebSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16033 // GetWebToken gets a web token. 16034 GetWebToken(ctx context.Context, in *types.GetWebTokenRequest, opts ...grpc.CallOption) (*GetWebTokenResponse, error) 16035 // GetWebTokens gets all web tokens. 16036 GetWebTokens(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetWebTokensResponse, error) 16037 // DeleteWebToken deletes a web token. 16038 DeleteWebToken(ctx context.Context, in *types.DeleteWebTokenRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16039 // DeleteAllWebTokens deletes all web tokens. 16040 DeleteAllWebTokens(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16041 // UpdateRemoteCluster updates remote cluster 16042 UpdateRemoteCluster(ctx context.Context, in *types.RemoteClusterV3, opts ...grpc.CallOption) (*emptypb.Empty, error) 16043 // UpsertKubernetesServer adds or updates a kubernetes server. 16044 UpsertKubernetesServer(ctx context.Context, in *UpsertKubernetesServerRequest, opts ...grpc.CallOption) (*types.KeepAlive, error) 16045 // DeleteKubernetesServer removes a kubernetes server. 16046 DeleteKubernetesServer(ctx context.Context, in *DeleteKubernetesServerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16047 // DeleteAllKubernetesServers removes all kubernetes servers. 16048 DeleteAllKubernetesServers(ctx context.Context, in *DeleteAllKubernetesServersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16049 // UpsertDatabaseServer registers a new database proxy server. 16050 UpsertDatabaseServer(ctx context.Context, in *UpsertDatabaseServerRequest, opts ...grpc.CallOption) (*types.KeepAlive, error) 16051 // DeleteDatabaseServer removes the specified database proxy server. 16052 DeleteDatabaseServer(ctx context.Context, in *DeleteDatabaseServerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16053 // DeleteAllDatabaseServers removes all registered database proxy servers. 16054 DeleteAllDatabaseServers(ctx context.Context, in *DeleteAllDatabaseServersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16055 // UpsertDatabaseService registers a new DatabaseService. 16056 UpsertDatabaseService(ctx context.Context, in *UpsertDatabaseServiceRequest, opts ...grpc.CallOption) (*types.KeepAlive, error) 16057 // DeleteDatabaseService removes the specified DatabaseService. 16058 DeleteDatabaseService(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16059 // DeleteAllDatabaseServices removes all registered DatabaseServices. 16060 // If there's an error deleting the resources, there's no guarantee of a rollback. 16061 // A subset of resources might be deleted while others still exist. 16062 DeleteAllDatabaseServices(ctx context.Context, in *DeleteAllDatabaseServicesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16063 // SignDatabaseCSR generates client certificate used by proxy to 16064 // authenticate with a remote database service. 16065 SignDatabaseCSR(ctx context.Context, in *DatabaseCSRRequest, opts ...grpc.CallOption) (*DatabaseCSRResponse, error) 16066 // GenerateDatabaseCert generates client certificate used by a database 16067 // service to authenticate with the database instance. 16068 GenerateDatabaseCert(ctx context.Context, in *DatabaseCertRequest, opts ...grpc.CallOption) (*DatabaseCertResponse, error) 16069 /// GenerateSnowflakeJWT generates JWT in the format required by Snowflake. 16070 GenerateSnowflakeJWT(ctx context.Context, in *SnowflakeJWTRequest, opts ...grpc.CallOption) (*SnowflakeJWTResponse, error) 16071 // GetRole retrieves a role described by the given request. 16072 GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*types.RoleV6, error) 16073 // GetRole retrieves all roles. 16074 // 16075 // DELETE IN 17.0 16076 GetRoles(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetRolesResponse, error) 16077 // ListRoles is a paginated role getter. 16078 ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, error) 16079 // CreateRole creates a new role. 16080 CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*types.RoleV6, error) 16081 // UpdateRole updates an existing role. 16082 UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*types.RoleV6, error) 16083 // UpsertRoleV2 creates or overwrites an existing role. 16084 UpsertRoleV2(ctx context.Context, in *UpsertRoleRequest, opts ...grpc.CallOption) (*types.RoleV6, error) 16085 // UpsertRole upserts a role in a backend. 16086 // 16087 // Deprecated: use UpsertRoleV2 instead. 16088 UpsertRole(ctx context.Context, in *types.RoleV6, opts ...grpc.CallOption) (*emptypb.Empty, error) 16089 // DeleteRole deletes an existing role in a backend described by the given request. 16090 DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16091 // AddMFADevice adds an MFA device for the user calling this RPC. 16092 // 16093 // The RPC is streaming both ways and the message sequence is: 16094 // (-> means client-to-server, <- means server-to-client) 16095 // -> Init 16096 // <- ExistingMFAChallenge 16097 // -> ExistingMFAResponse 16098 // <- NewMFARegisterChallenge 16099 // -> NewMFARegisterResponse 16100 // <- Ack 16101 // 16102 // Deprecated: Use [AddMFADeviceSync] instead. 16103 AddMFADevice(ctx context.Context, opts ...grpc.CallOption) (AuthService_AddMFADeviceClient, error) 16104 // DeleteMFADevice deletes an MFA device for the user calling this RPC. 16105 // 16106 // The RPC is streaming both ways and the message sequence is: 16107 // (-> means client-to-server, <- means server-to-client) 16108 // -> Init 16109 // <- MFAChallenge 16110 // -> MFAResponse 16111 // <- Ack 16112 // 16113 // Deprecated: Use [DeleteMFADeviceSync] instead. 16114 DeleteMFADevice(ctx context.Context, opts ...grpc.CallOption) (AuthService_DeleteMFADeviceClient, error) 16115 // AddMFADeviceSync adds a new MFA device. 16116 // 16117 // A typical MFA registration sequence calls the following RPCs: 16118 // 16119 // 1. CreateAuthenticateChallenge (necessary for registration challenge) 16120 // 2. (optional) CreatePrivilegeToken 16121 // 3. CreateRegisterChallenge (uses authn challenge and optionally a token) 16122 // 4. AddMFADeviceSync 16123 AddMFADeviceSync(ctx context.Context, in *AddMFADeviceSyncRequest, opts ...grpc.CallOption) (*AddMFADeviceSyncResponse, error) 16124 // DeleteMFADeviceSync deletes a users MFA device (nonstream). 16125 // 16126 // A typical MFA deletion sequence calls the following RPCs: 16127 // 16128 // 1. (optional) CreateAuthenticateChallenge 16129 // (may be skipped depending on the token used, but is usually called 16130 // regardless) 16131 // 2. (optional) CreatePrivilegeToken 16132 // 3. DeleteMFADeviceSync (using either authn challenge or token) 16133 DeleteMFADeviceSync(ctx context.Context, in *DeleteMFADeviceSyncRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16134 // GetMFADevices returns all MFA devices registered for the user calling 16135 // this RPC. 16136 GetMFADevices(ctx context.Context, in *GetMFADevicesRequest, opts ...grpc.CallOption) (*GetMFADevicesResponse, error) 16137 // CreateAuthenticateChallenge creates and returns MFA challenges for a users registered MFA 16138 // devices. 16139 CreateAuthenticateChallenge(ctx context.Context, in *CreateAuthenticateChallengeRequest, opts ...grpc.CallOption) (*MFAAuthenticateChallenge, error) 16140 // CreateRegisterChallenge creates and returns MFA register challenge for a new MFA device. 16141 CreateRegisterChallenge(ctx context.Context, in *CreateRegisterChallengeRequest, opts ...grpc.CallOption) (*MFARegisterChallenge, error) 16142 // GetOIDCConnector gets an OIDC connector resource by name. 16143 GetOIDCConnector(ctx context.Context, in *types.ResourceWithSecretsRequest, opts ...grpc.CallOption) (*types.OIDCConnectorV3, error) 16144 // GetOIDCConnectors gets all current OIDC connector resources. 16145 GetOIDCConnectors(ctx context.Context, in *types.ResourcesWithSecretsRequest, opts ...grpc.CallOption) (*types.OIDCConnectorV3List, error) 16146 // UpsertOIDCConnector creates a new OIDC connector in the backend. 16147 CreateOIDCConnector(ctx context.Context, in *CreateOIDCConnectorRequest, opts ...grpc.CallOption) (*types.OIDCConnectorV3, error) 16148 // UpsertOIDCConnector updates an existing OIDC connector in the backend. 16149 UpdateOIDCConnector(ctx context.Context, in *UpdateOIDCConnectorRequest, opts ...grpc.CallOption) (*types.OIDCConnectorV3, error) 16150 // UpsertOIDCConnector upserts an OIDC connector in a backend. 16151 // 16152 // Deprecated: Use UpsertOIDCConnectorV2 instead. 16153 UpsertOIDCConnector(ctx context.Context, in *types.OIDCConnectorV3, opts ...grpc.CallOption) (*emptypb.Empty, error) 16154 // UpsertOIDCConnectorV2 upserts an OIDC connector in the backend. 16155 UpsertOIDCConnectorV2(ctx context.Context, in *UpsertOIDCConnectorRequest, opts ...grpc.CallOption) (*types.OIDCConnectorV3, error) 16156 // DeleteOIDCConnector deletes an existing OIDC connector in a backend by name. 16157 DeleteOIDCConnector(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16158 // CreateOIDCAuthRequest creates OIDCAuthRequest. 16159 CreateOIDCAuthRequest(ctx context.Context, in *types.OIDCAuthRequest, opts ...grpc.CallOption) (*types.OIDCAuthRequest, error) 16160 // GetOIDCAuthRequest returns OIDC auth request if found. 16161 GetOIDCAuthRequest(ctx context.Context, in *GetOIDCAuthRequestRequest, opts ...grpc.CallOption) (*types.OIDCAuthRequest, error) 16162 // GetSAMLConnector gets a SAML connector resource by name. 16163 GetSAMLConnector(ctx context.Context, in *types.ResourceWithSecretsRequest, opts ...grpc.CallOption) (*types.SAMLConnectorV2, error) 16164 // GetSAMLConnectors gets all current SAML connector resources. 16165 GetSAMLConnectors(ctx context.Context, in *types.ResourcesWithSecretsRequest, opts ...grpc.CallOption) (*types.SAMLConnectorV2List, error) 16166 // CreateSAMLConnector creates a new SAML connector in the backend. 16167 CreateSAMLConnector(ctx context.Context, in *CreateSAMLConnectorRequest, opts ...grpc.CallOption) (*types.SAMLConnectorV2, error) 16168 // UpdateSAMLConnector updates an existing SAML connector in the backend. 16169 UpdateSAMLConnector(ctx context.Context, in *UpdateSAMLConnectorRequest, opts ...grpc.CallOption) (*types.SAMLConnectorV2, error) 16170 // UpsertSAMLConnector upserts a SAML connector in a backend. 16171 // 16172 // Deprecated: Use UpsertSAMLConnectorV2 instead. 16173 UpsertSAMLConnector(ctx context.Context, in *types.SAMLConnectorV2, opts ...grpc.CallOption) (*emptypb.Empty, error) 16174 // UpsertSAMLConnectorV2 upserts a SAML connector in a backend. 16175 UpsertSAMLConnectorV2(ctx context.Context, in *UpsertSAMLConnectorRequest, opts ...grpc.CallOption) (*types.SAMLConnectorV2, error) 16176 // DeleteSAMLConnector deletes an existing SAML connector in a backend by name. 16177 DeleteSAMLConnector(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16178 // CreateSAMLAuthRequest creates SAMLAuthRequest. 16179 CreateSAMLAuthRequest(ctx context.Context, in *types.SAMLAuthRequest, opts ...grpc.CallOption) (*types.SAMLAuthRequest, error) 16180 // GetSAMLAuthRequest returns SAML auth request if found. 16181 GetSAMLAuthRequest(ctx context.Context, in *GetSAMLAuthRequestRequest, opts ...grpc.CallOption) (*types.SAMLAuthRequest, error) 16182 // GetGithubConnector gets a Github connector resource by name. 16183 GetGithubConnector(ctx context.Context, in *types.ResourceWithSecretsRequest, opts ...grpc.CallOption) (*types.GithubConnectorV3, error) 16184 // GetGithubConnectors gets all current Github connector resources. 16185 GetGithubConnectors(ctx context.Context, in *types.ResourcesWithSecretsRequest, opts ...grpc.CallOption) (*types.GithubConnectorV3List, error) 16186 // CreateGithubConnector creates a new Github connector in the backend. 16187 CreateGithubConnector(ctx context.Context, in *CreateGithubConnectorRequest, opts ...grpc.CallOption) (*types.GithubConnectorV3, error) 16188 // UpdateGithubConnector updates an existing Github connector in the backend. 16189 UpdateGithubConnector(ctx context.Context, in *UpdateGithubConnectorRequest, opts ...grpc.CallOption) (*types.GithubConnectorV3, error) 16190 // UpsertGithubConnector upserts a Github connector in a backend. 16191 // 16192 // Deprecated: Use UpsertGithubConnectorV2 instead. 16193 UpsertGithubConnector(ctx context.Context, in *types.GithubConnectorV3, opts ...grpc.CallOption) (*emptypb.Empty, error) 16194 // UpsertGithubConnectorV2 upserts a Github connector in a backend. 16195 UpsertGithubConnectorV2(ctx context.Context, in *UpsertGithubConnectorRequest, opts ...grpc.CallOption) (*types.GithubConnectorV3, error) 16196 // DeleteGithubConnector deletes an existing Github connector in a backend by name. 16197 DeleteGithubConnector(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16198 // CreateGithubAuthRequest creates GithubAuthRequest. 16199 CreateGithubAuthRequest(ctx context.Context, in *types.GithubAuthRequest, opts ...grpc.CallOption) (*types.GithubAuthRequest, error) 16200 // GetGithubAuthRequest returns Github auth request if found. 16201 GetGithubAuthRequest(ctx context.Context, in *GetGithubAuthRequestRequest, opts ...grpc.CallOption) (*types.GithubAuthRequest, error) 16202 // GetSSODiagnosticInfo returns SSO diagnostic info records. 16203 GetSSODiagnosticInfo(ctx context.Context, in *GetSSODiagnosticInfoRequest, opts ...grpc.CallOption) (*types.SSODiagnosticInfo, error) 16204 // GetServerInfos returns a stream of ServerInfos. 16205 GetServerInfos(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (AuthService_GetServerInfosClient, error) 16206 // GetServerInfo returns a ServerInfo by name. 16207 GetServerInfo(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*types.ServerInfoV1, error) 16208 // UpsertServerInfo upserts a ServerInfo. 16209 UpsertServerInfo(ctx context.Context, in *types.ServerInfoV1, opts ...grpc.CallOption) (*emptypb.Empty, error) 16210 // DeleteServerInfo deletes a ServerInfo by name. 16211 DeleteServerInfo(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16212 // DeleteAllServerInfos deletes all ServerInfos. 16213 DeleteAllServerInfos(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16214 // GetTrustedCluster gets a Trusted Cluster resource by name. 16215 GetTrustedCluster(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*types.TrustedClusterV2, error) 16216 // GetTrustedClusters gets all current Trusted Cluster resources. 16217 GetTrustedClusters(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.TrustedClusterV2List, error) 16218 // UpsertTrustedCluster upserts a Trusted Cluster in a backend. 16219 UpsertTrustedCluster(ctx context.Context, in *types.TrustedClusterV2, opts ...grpc.CallOption) (*types.TrustedClusterV2, error) 16220 // DeleteTrustedCluster deletes an existing Trusted Cluster in a backend by name. 16221 DeleteTrustedCluster(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16222 // GetToken retrieves a token described by the given request. 16223 GetToken(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*types.ProvisionTokenV2, error) 16224 // GetToken retrieves all tokens. 16225 GetTokens(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.ProvisionTokenV2List, error) 16226 // CreateTokenV2 creates a token in a backend. 16227 CreateTokenV2(ctx context.Context, in *CreateTokenV2Request, opts ...grpc.CallOption) (*emptypb.Empty, error) 16228 // UpsertTokenV2 upserts a token in a backend. 16229 UpsertTokenV2(ctx context.Context, in *UpsertTokenV2Request, opts ...grpc.CallOption) (*emptypb.Empty, error) 16230 // DeleteToken deletes an existing token in a backend described by the given request. 16231 DeleteToken(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16232 // GetClusterAuditConfig gets cluster audit configuration. 16233 GetClusterAuditConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.ClusterAuditConfigV2, error) 16234 // GetClusterNetworkingConfig gets cluster networking configuration. 16235 // Deprecated: Use clusterconfigv1.Service.GetClusterNetworkingConfig instead. 16236 GetClusterNetworkingConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.ClusterNetworkingConfigV2, error) 16237 // SetClusterNetworkingConfig sets cluster networking configuration. 16238 // Deprecated: Use clusterconfigv1.Service.Update/UpsertClusterNetworkingConfig instead. 16239 SetClusterNetworkingConfig(ctx context.Context, in *types.ClusterNetworkingConfigV2, opts ...grpc.CallOption) (*emptypb.Empty, error) 16240 // ResetClusterNetworkingConfig resets cluster networking configuration to defaults. 16241 // Deprecated: Use clusterconfigv1.Service.ResetClusterNetworkingConfig instead. 16242 ResetClusterNetworkingConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16243 // GetSessionRecordingConfig gets session recording configuration. 16244 // Deprecated: Use clusterconfigv1.Service.GetSessionRecordingConfig instead. 16245 GetSessionRecordingConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.SessionRecordingConfigV2, error) 16246 // SetSessionRecordingConfig sets session recording configuration. 16247 // Deprecated: Use clusterconfigv1.Service.Upsert/UpdateSessionRecordingConfig instead. 16248 SetSessionRecordingConfig(ctx context.Context, in *types.SessionRecordingConfigV2, opts ...grpc.CallOption) (*emptypb.Empty, error) 16249 // ResetSessionRecordingConfig resets session recording configuration to defaults. 16250 // Deprecated: Use clusterconfigv1.Service.ResetSessionRecordingConfig instead. 16251 ResetSessionRecordingConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16252 // GetAuthPreference gets cluster auth preference. 16253 // Deprecated: Use clusterconfigv1.Service.GetAuthPreference instead. 16254 GetAuthPreference(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.AuthPreferenceV2, error) 16255 // SetAuthPreference sets cluster auth preference. 16256 // Deprecated: Use clusterconfigv1.Service.Create/Update/UpsertAuthPreference instead. 16257 SetAuthPreference(ctx context.Context, in *types.AuthPreferenceV2, opts ...grpc.CallOption) (*emptypb.Empty, error) 16258 // ResetAuthPreference resets cluster auth preference to defaults. 16259 // Deprecated: Use clusterconfigv1.Service.ResetAuthPreference instead. 16260 ResetAuthPreference(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16261 // GetUIConfig gets the configuration for the UI served by the proxy service 16262 GetUIConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.UIConfigV1, error) 16263 // SetUIConfig sets the configuration for the UI served by the proxy service 16264 SetUIConfig(ctx context.Context, in *types.UIConfigV1, opts ...grpc.CallOption) (*emptypb.Empty, error) 16265 // DeleteUIConfig deletes the custom configuration for the UI served by the proxy service 16266 DeleteUIConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16267 // GetEvents gets events from the audit log. 16268 GetEvents(ctx context.Context, in *GetEventsRequest, opts ...grpc.CallOption) (*Events, error) 16269 // GetSessionEvents gets completed session events from the audit log. 16270 GetSessionEvents(ctx context.Context, in *GetSessionEventsRequest, opts ...grpc.CallOption) (*Events, error) 16271 // GetLock gets a lock by name. 16272 GetLock(ctx context.Context, in *GetLockRequest, opts ...grpc.CallOption) (*types.LockV2, error) 16273 // GetLocks gets all/in-force locks that match at least one of the targets when specified. 16274 GetLocks(ctx context.Context, in *GetLocksRequest, opts ...grpc.CallOption) (*GetLocksResponse, error) 16275 // UpsertLock upserts a lock. 16276 UpsertLock(ctx context.Context, in *types.LockV2, opts ...grpc.CallOption) (*emptypb.Empty, error) 16277 // DeleteLock deletes a lock. 16278 DeleteLock(ctx context.Context, in *DeleteLockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16279 // ReplaceRemoteLocks replaces the set of locks associated with a remote cluster. 16280 ReplaceRemoteLocks(ctx context.Context, in *ReplaceRemoteLocksRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16281 // StreamSessionEvents streams audit events from a given session recording. 16282 StreamSessionEvents(ctx context.Context, in *StreamSessionEventsRequest, opts ...grpc.CallOption) (AuthService_StreamSessionEventsClient, error) 16283 // GetNetworkRestrictions retrieves all the network restrictions (allow/deny lists). 16284 GetNetworkRestrictions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.NetworkRestrictionsV4, error) 16285 // SetNetworkRestrictions updates the network restrictions. 16286 SetNetworkRestrictions(ctx context.Context, in *types.NetworkRestrictionsV4, opts ...grpc.CallOption) (*emptypb.Empty, error) 16287 // DeleteNetworkRestrictions delete the network restrictions. 16288 DeleteNetworkRestrictions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16289 // GetApps returns all registered applications. 16290 GetApps(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.AppV3List, error) 16291 // GetApp returns an application by name. 16292 GetApp(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*types.AppV3, error) 16293 // CreateApp creates a new application resource. 16294 CreateApp(ctx context.Context, in *types.AppV3, opts ...grpc.CallOption) (*emptypb.Empty, error) 16295 // UpdateApp updates existing application resource. 16296 UpdateApp(ctx context.Context, in *types.AppV3, opts ...grpc.CallOption) (*emptypb.Empty, error) 16297 // DeleteApp removes specified application resource. 16298 DeleteApp(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16299 // DeleteAllApps removes all application resources. 16300 DeleteAllApps(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16301 // GetDatabases returns all registered databases. 16302 GetDatabases(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.DatabaseV3List, error) 16303 // GetDatabase returns a database by name. 16304 GetDatabase(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*types.DatabaseV3, error) 16305 // CreateDatabase creates a new database resource. 16306 CreateDatabase(ctx context.Context, in *types.DatabaseV3, opts ...grpc.CallOption) (*emptypb.Empty, error) 16307 // UpdateDatabase updates existing database resource. 16308 UpdateDatabase(ctx context.Context, in *types.DatabaseV3, opts ...grpc.CallOption) (*emptypb.Empty, error) 16309 // DeleteDatabase removes specified database resource. 16310 DeleteDatabase(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16311 // DeleteAllDatabases removes all database resources. 16312 DeleteAllDatabases(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16313 // GetKubernetesClusters returns all registered kubernetes clusters. 16314 GetKubernetesClusters(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.KubernetesClusterV3List, error) 16315 // GetKubernetesCluster returns a kubernetes cluster by name. 16316 GetKubernetesCluster(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*types.KubernetesClusterV3, error) 16317 // CreateKubernetesCluster creates a new kubernetes cluster resource. 16318 CreateKubernetesCluster(ctx context.Context, in *types.KubernetesClusterV3, opts ...grpc.CallOption) (*emptypb.Empty, error) 16319 // UpdateKubernetesCluster updates existing kubernetes cluster resource. 16320 UpdateKubernetesCluster(ctx context.Context, in *types.KubernetesClusterV3, opts ...grpc.CallOption) (*emptypb.Empty, error) 16321 // DeleteKubernetesCluster removes specified kubernetes cluster resource. 16322 DeleteKubernetesCluster(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16323 // DeleteAllKubernetesClusters removes all kubernetes cluster resources. 16324 DeleteAllKubernetesClusters(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16325 // GetWindowsDesktopServices returns all registered Windows desktop services. 16326 GetWindowsDesktopServices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetWindowsDesktopServicesResponse, error) 16327 // GetWindowsDesktopService gets a Windows desktop service by name. 16328 GetWindowsDesktopService(ctx context.Context, in *GetWindowsDesktopServiceRequest, opts ...grpc.CallOption) (*GetWindowsDesktopServiceResponse, error) 16329 // UpsertWindowsDesktopService registers a new Windows desktop service. 16330 UpsertWindowsDesktopService(ctx context.Context, in *types.WindowsDesktopServiceV3, opts ...grpc.CallOption) (*types.KeepAlive, error) 16331 // DeleteWindowsDesktopService removes the specified Windows desktop service. 16332 DeleteWindowsDesktopService(ctx context.Context, in *DeleteWindowsDesktopServiceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16333 // DeleteAllWindowsDesktopServices removes all registered Windows desktop services. 16334 DeleteAllWindowsDesktopServices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16335 // GetWindowsDesktops returns all registered Windows desktop hosts matching the supplied filter. 16336 GetWindowsDesktops(ctx context.Context, in *types.WindowsDesktopFilter, opts ...grpc.CallOption) (*GetWindowsDesktopsResponse, error) 16337 // CreateWindowsDesktop registers a new Windows desktop host. 16338 CreateWindowsDesktop(ctx context.Context, in *types.WindowsDesktopV3, opts ...grpc.CallOption) (*emptypb.Empty, error) 16339 // UpdateWindowsDesktop updates an existing Windows desktop host. 16340 UpdateWindowsDesktop(ctx context.Context, in *types.WindowsDesktopV3, opts ...grpc.CallOption) (*emptypb.Empty, error) 16341 // UpsertWindowsDesktop updates a Windows desktop host, creating it if it doesn't exist. 16342 UpsertWindowsDesktop(ctx context.Context, in *types.WindowsDesktopV3, opts ...grpc.CallOption) (*emptypb.Empty, error) 16343 // DeleteWindowsDesktop removes the specified Windows desktop host. 16344 // Unlike GetWindowsDesktops, this call will delete at-most 1 desktop. 16345 // To delete all desktops, use DeleteAllWindowsDesktops. 16346 DeleteWindowsDesktop(ctx context.Context, in *DeleteWindowsDesktopRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16347 // DeleteAllWindowsDesktops removes all registered Windows desktop hosts. 16348 DeleteAllWindowsDesktops(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16349 // GenerateWindowsDesktopCert generates client smartcard certificate used 16350 // by an RDP client to authenticate with Windows. 16351 GenerateWindowsDesktopCert(ctx context.Context, in *WindowsDesktopCertRequest, opts ...grpc.CallOption) (*WindowsDesktopCertResponse, error) 16352 // GenerateCertAuthorityCRL creates an empty CRL for the specified CA. 16353 GenerateCertAuthorityCRL(ctx context.Context, in *CertAuthorityRequest, opts ...grpc.CallOption) (*CRL, error) 16354 // CreateConnectionDiagnostic creates a new connection diagnostic. 16355 CreateConnectionDiagnostic(ctx context.Context, in *types.ConnectionDiagnosticV1, opts ...grpc.CallOption) (*emptypb.Empty, error) 16356 // UpdateConnectionDiagnostic updates a connection diagnostic. 16357 UpdateConnectionDiagnostic(ctx context.Context, in *types.ConnectionDiagnosticV1, opts ...grpc.CallOption) (*emptypb.Empty, error) 16358 // GetConnectionDiagnostic reads a connection diagnostic. 16359 GetConnectionDiagnostic(ctx context.Context, in *GetConnectionDiagnosticRequest, opts ...grpc.CallOption) (*types.ConnectionDiagnosticV1, error) 16360 // AppendDiagnosticTrace appends a Trace to the ConnectionDiagnostic. 16361 AppendDiagnosticTrace(ctx context.Context, in *AppendDiagnosticTraceRequest, opts ...grpc.CallOption) (*types.ConnectionDiagnosticV1, error) 16362 // ChangeUserAuthentication allows a user to change their password and if enabled, 16363 // also adds a new MFA device. After successful invocation, a new web session is created as well 16364 // as a new set of recovery codes (if user meets the requirements to receive them), invalidating 16365 // any existing codes the user previously had. 16366 // 16367 // Only local users may be targeted by this RPC. 16368 ChangeUserAuthentication(ctx context.Context, in *ChangeUserAuthenticationRequest, opts ...grpc.CallOption) (*ChangeUserAuthenticationResponse, error) 16369 // StartAccountRecovery (exclusive to cloud users) is the first out of two step user 16370 // verification needed to allow a user to recover their account. The first form of verification 16371 // is a user's username and a recovery code. After successful verification, a recovery start 16372 // token is created for the user which its ID will be used as part of a URL that will be emailed 16373 // to the user (not done in this request). The user will be able to finish their second form of 16374 // verification by clicking on this URL and following the prompts. 16375 // 16376 // If a valid user fails to provide correct recovery code for MaxAccountRecoveryAttempts, 16377 // user account gets temporarily locked from further recovery attempts and from logging in. 16378 // 16379 // Start tokens last RecoveryStartTokenTTL. 16380 // 16381 // Only local users may perform account recovery 16382 StartAccountRecovery(ctx context.Context, in *StartAccountRecoveryRequest, opts ...grpc.CallOption) (*types.UserTokenV3, error) 16383 // VerifyAccountRecovery (exclusive to cloud users) is the second step of the two step 16384 // verification needed to allow a user to recover their account, after RPC StartAccountRecovery. 16385 // The second form of verification is a user's password or their second factor (depending on 16386 // what authentication they needed to recover). After successful verification, a recovery 16387 // approved token is created which allows a user to request protected actions while not logged 16388 // in e.g: setting a new password or a mfa device, viewing their MFA devices, deleting their MFA 16389 // devices, and generating new recovery codes. 16390 // 16391 // The recovery start token to verify this request becomes deleted before 16392 // creating a recovery approved token, which invalidates the recovery link users received 16393 // to finish their verification. 16394 // 16395 // If user fails to verify themselves for MaxAccountRecoveryAttempts 16396 // (combined attempts with RPC StartAccountRecovery), users account will be temporarily locked 16397 // from logging in. If users still have unused recovery codes left, they still have 16398 // opportunities to recover their account. To allow this, users recovery attempts are also 16399 // deleted along with all user tokens which will force the user to restart the recovery process 16400 // from step 1 (RPC StartAccountRecovery). 16401 // 16402 // Recovery approved tokens last RecoveryApprovedTokenTTL. 16403 VerifyAccountRecovery(ctx context.Context, in *VerifyAccountRecoveryRequest, opts ...grpc.CallOption) (*types.UserTokenV3, error) 16404 // CompleteAccountRecovery (exclusive to cloud users) is the last step in account 16405 // recovery, after RPC's StartAccountRecovery and VerifyAccountRecovery. This step sets a new 16406 // password or adds a new mfa device, allowing the user to regain access to their account with 16407 // the new credentials. When the new authentication is successfully set, any user lock is 16408 // removed so the user can login immediately afterwards. 16409 CompleteAccountRecovery(ctx context.Context, in *CompleteAccountRecoveryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16410 // CreateAccountRecoveryCodes (exclusive to cloud users) creates new set of recovery codes for a 16411 // user, replacing and invalidating any previously owned codes. Users can only get recovery 16412 // codes if their username is in a valid email format. 16413 CreateAccountRecoveryCodes(ctx context.Context, in *CreateAccountRecoveryCodesRequest, opts ...grpc.CallOption) (*RecoveryCodes, error) 16414 // GetAccountRecoveryToken (exclusive to cloud users) returns a user token resource after 16415 // verifying that the token requested has not expired and is of the correct recovery kind. 16416 // Besides checking for validity of a token ID, it is also used to get basic information from 16417 // the token e.g: username, state of recovery (started or approved) and the type of recovery 16418 // requested (password or second factor). 16419 GetAccountRecoveryToken(ctx context.Context, in *GetAccountRecoveryTokenRequest, opts ...grpc.CallOption) (*types.UserTokenV3, error) 16420 // GetAccountRecoveryCodes (exclusive to cloud users) is a request to return the user in context 16421 // their recovery codes. This request will not return any secrets (the values of recovery 16422 // codes), but instead returns non-sensitive data eg. when the recovery codes were created. 16423 GetAccountRecoveryCodes(ctx context.Context, in *GetAccountRecoveryCodesRequest, opts ...grpc.CallOption) (*RecoveryCodes, error) 16424 // CreatePrivilegeToken returns a new privilege token after a logged in user successfully 16425 // re-authenticates with their second factor device. Privilege token lasts PrivilegeTokenTTL and 16426 // is used to gain access to privileged actions eg: deleting/adding a MFA device. 16427 CreatePrivilegeToken(ctx context.Context, in *CreatePrivilegeTokenRequest, opts ...grpc.CallOption) (*types.UserTokenV3, error) 16428 // GetInstaller retrieves the installer script resource 16429 GetInstaller(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*types.InstallerV1, error) 16430 // GetInstallers retrieves all of installer script resources. 16431 GetInstallers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.InstallerV1List, error) 16432 // SetInstaller sets the installer script resource 16433 SetInstaller(ctx context.Context, in *types.InstallerV1, opts ...grpc.CallOption) (*emptypb.Empty, error) 16434 // DeleteInstaller removes the specified installer script resource 16435 DeleteInstaller(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16436 // DeleteAllInstallers removes all installer script resources 16437 DeleteAllInstallers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16438 // ListResources retrieves a paginated list of resources. 16439 ListResources(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error) 16440 // ListUnifiedResources retrieves a paginated list of all resource types displayable in the UI. 16441 ListUnifiedResources(ctx context.Context, in *ListUnifiedResourcesRequest, opts ...grpc.CallOption) (*ListUnifiedResourcesResponse, error) 16442 // GetSSHTargets gets all servers that would match an equivalent ssh dial request. Note that this method 16443 // returns all resources directly accessible to the user *and* all resources available via 'SearchAsRoles', 16444 // which is what we want when handling things like ambiguous host errors and resource-based access requests, 16445 // but may result in confusing behavior if it is used outside of those contexts. 16446 GetSSHTargets(ctx context.Context, in *GetSSHTargetsRequest, opts ...grpc.CallOption) (*GetSSHTargetsResponse, error) 16447 // GetDomainName returns local auth domain of the current auth server 16448 GetDomainName(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetDomainNameResponse, error) 16449 // GetClusterCACert returns the PEM-encoded TLS certs for the local cluster 16450 // without signing keys. If the cluster has multiple TLS certs, they will 16451 // all be appended. 16452 GetClusterCACert(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetClusterCACertResponse, error) 16453 // SubmitUsageEvent submits an external usage event. 16454 SubmitUsageEvent(ctx context.Context, in *SubmitUsageEventRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16455 // GetLicense returns the license used to start the auth server. 16456 GetLicense(ctx context.Context, in *GetLicenseRequest, opts ...grpc.CallOption) (*GetLicenseResponse, error) 16457 // ListReleases returns a list of Teleport Enterprise releases. 16458 ListReleases(ctx context.Context, in *ListReleasesRequest, opts ...grpc.CallOption) (*ListReleasesResponse, error) 16459 // ListSAMLIdPServiceProviders returns a paginated list of SAML IdP service provider resources. 16460 ListSAMLIdPServiceProviders(ctx context.Context, in *ListSAMLIdPServiceProvidersRequest, opts ...grpc.CallOption) (*ListSAMLIdPServiceProvidersResponse, error) 16461 // GetSAMLIdPServiceProvider returns the specified SAML IdP service provider resources. 16462 GetSAMLIdPServiceProvider(ctx context.Context, in *GetSAMLIdPServiceProviderRequest, opts ...grpc.CallOption) (*types.SAMLIdPServiceProviderV1, error) 16463 // CreateSAMLIdPServiceProvider creates a new SAML IdP service provider resource. 16464 CreateSAMLIdPServiceProvider(ctx context.Context, in *types.SAMLIdPServiceProviderV1, opts ...grpc.CallOption) (*emptypb.Empty, error) 16465 // UpdateSAMLIdPServiceProvider updates an existing SAML IdP service provider resource. 16466 UpdateSAMLIdPServiceProvider(ctx context.Context, in *types.SAMLIdPServiceProviderV1, opts ...grpc.CallOption) (*emptypb.Empty, error) 16467 // DeleteSAMLIdPServiceProvider removes the specified SAML IdP service provider resource. 16468 DeleteSAMLIdPServiceProvider(ctx context.Context, in *DeleteSAMLIdPServiceProviderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16469 // DeleteAllSAMLIdPServiceProviders removes all SAML IdP service providers. 16470 DeleteAllSAMLIdPServiceProviders(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16471 // ListUserGroups returns a paginated list of user group resources. 16472 ListUserGroups(ctx context.Context, in *ListUserGroupsRequest, opts ...grpc.CallOption) (*ListUserGroupsResponse, error) 16473 // GetUserGroup returns the specified user group resource. 16474 GetUserGroup(ctx context.Context, in *GetUserGroupRequest, opts ...grpc.CallOption) (*types.UserGroupV1, error) 16475 // CreateUserGroup creates a new user group resource. 16476 CreateUserGroup(ctx context.Context, in *types.UserGroupV1, opts ...grpc.CallOption) (*emptypb.Empty, error) 16477 // UpdateUserGroup updates an existing user group resource. 16478 UpdateUserGroup(ctx context.Context, in *types.UserGroupV1, opts ...grpc.CallOption) (*emptypb.Empty, error) 16479 // DeleteUserGroup removes the specified user group resource. 16480 DeleteUserGroup(ctx context.Context, in *DeleteUserGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16481 // DeleteAllUserGroups removes all user groups. 16482 DeleteAllUserGroups(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16483 // GetHeadlessAuthentication is a request to retrieve a headless authentication from the backend. 16484 GetHeadlessAuthentication(ctx context.Context, in *GetHeadlessAuthenticationRequest, opts ...grpc.CallOption) (*types.HeadlessAuthentication, error) 16485 // WatchPendingHeadlessAuthentications watches the backend for pending headless authentication requests for the user. 16486 WatchPendingHeadlessAuthentications(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (AuthService_WatchPendingHeadlessAuthenticationsClient, error) 16487 // UpdateHeadlessAuthenticationState is a request to update a headless authentication's state. 16488 UpdateHeadlessAuthenticationState(ctx context.Context, in *UpdateHeadlessAuthenticationStateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 16489 // ExportUpgradeWindows is used to load derived maintenance window values for agents that 16490 // need to export schedules to external upgraders. 16491 ExportUpgradeWindows(ctx context.Context, in *ExportUpgradeWindowsRequest, opts ...grpc.CallOption) (*ExportUpgradeWindowsResponse, error) 16492 // GetClusterMaintenanceConfig gets the current maintenance window config singleton. 16493 GetClusterMaintenanceConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.ClusterMaintenanceConfigV1, error) 16494 // UpdateClusterMaintenanceConfig updates the current maintenance window config singleton. 16495 UpdateClusterMaintenanceConfig(ctx context.Context, in *types.ClusterMaintenanceConfigV1, opts ...grpc.CallOption) (*emptypb.Empty, error) 16496 // DeleteClusterMaintenanceConfig deletes the current maintenance window config singleton. 16497 DeleteClusterMaintenanceConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) 16498 } 16499 16500 type authServiceClient struct { 16501 cc *grpc.ClientConn 16502 } 16503 16504 func NewAuthServiceClient(cc *grpc.ClientConn) AuthServiceClient { 16505 return &authServiceClient{cc} 16506 } 16507 16508 func (c *authServiceClient) InventoryControlStream(ctx context.Context, opts ...grpc.CallOption) (AuthService_InventoryControlStreamClient, error) { 16509 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[0], "/proto.AuthService/InventoryControlStream", opts...) 16510 if err != nil { 16511 return nil, err 16512 } 16513 x := &authServiceInventoryControlStreamClient{stream} 16514 return x, nil 16515 } 16516 16517 type AuthService_InventoryControlStreamClient interface { 16518 Send(*UpstreamInventoryOneOf) error 16519 Recv() (*DownstreamInventoryOneOf, error) 16520 grpc.ClientStream 16521 } 16522 16523 type authServiceInventoryControlStreamClient struct { 16524 grpc.ClientStream 16525 } 16526 16527 func (x *authServiceInventoryControlStreamClient) Send(m *UpstreamInventoryOneOf) error { 16528 return x.ClientStream.SendMsg(m) 16529 } 16530 16531 func (x *authServiceInventoryControlStreamClient) Recv() (*DownstreamInventoryOneOf, error) { 16532 m := new(DownstreamInventoryOneOf) 16533 if err := x.ClientStream.RecvMsg(m); err != nil { 16534 return nil, err 16535 } 16536 return m, nil 16537 } 16538 16539 func (c *authServiceClient) GetInventoryStatus(ctx context.Context, in *InventoryStatusRequest, opts ...grpc.CallOption) (*InventoryStatusSummary, error) { 16540 out := new(InventoryStatusSummary) 16541 err := c.cc.Invoke(ctx, "/proto.AuthService/GetInventoryStatus", in, out, opts...) 16542 if err != nil { 16543 return nil, err 16544 } 16545 return out, nil 16546 } 16547 16548 func (c *authServiceClient) GetInventoryConnectedServiceCounts(ctx context.Context, in *InventoryConnectedServiceCountsRequest, opts ...grpc.CallOption) (*InventoryConnectedServiceCounts, error) { 16549 out := new(InventoryConnectedServiceCounts) 16550 err := c.cc.Invoke(ctx, "/proto.AuthService/GetInventoryConnectedServiceCounts", in, out, opts...) 16551 if err != nil { 16552 return nil, err 16553 } 16554 return out, nil 16555 } 16556 16557 func (c *authServiceClient) PingInventory(ctx context.Context, in *InventoryPingRequest, opts ...grpc.CallOption) (*InventoryPingResponse, error) { 16558 out := new(InventoryPingResponse) 16559 err := c.cc.Invoke(ctx, "/proto.AuthService/PingInventory", in, out, opts...) 16560 if err != nil { 16561 return nil, err 16562 } 16563 return out, nil 16564 } 16565 16566 func (c *authServiceClient) GetInstances(ctx context.Context, in *types.InstanceFilter, opts ...grpc.CallOption) (AuthService_GetInstancesClient, error) { 16567 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[1], "/proto.AuthService/GetInstances", opts...) 16568 if err != nil { 16569 return nil, err 16570 } 16571 x := &authServiceGetInstancesClient{stream} 16572 if err := x.ClientStream.SendMsg(in); err != nil { 16573 return nil, err 16574 } 16575 if err := x.ClientStream.CloseSend(); err != nil { 16576 return nil, err 16577 } 16578 return x, nil 16579 } 16580 16581 type AuthService_GetInstancesClient interface { 16582 Recv() (*types.InstanceV1, error) 16583 grpc.ClientStream 16584 } 16585 16586 type authServiceGetInstancesClient struct { 16587 grpc.ClientStream 16588 } 16589 16590 func (x *authServiceGetInstancesClient) Recv() (*types.InstanceV1, error) { 16591 m := new(types.InstanceV1) 16592 if err := x.ClientStream.RecvMsg(m); err != nil { 16593 return nil, err 16594 } 16595 return m, nil 16596 } 16597 16598 func (c *authServiceClient) GetClusterAlerts(ctx context.Context, in *types.GetClusterAlertsRequest, opts ...grpc.CallOption) (*GetClusterAlertsResponse, error) { 16599 out := new(GetClusterAlertsResponse) 16600 err := c.cc.Invoke(ctx, "/proto.AuthService/GetClusterAlerts", in, out, opts...) 16601 if err != nil { 16602 return nil, err 16603 } 16604 return out, nil 16605 } 16606 16607 func (c *authServiceClient) UpsertClusterAlert(ctx context.Context, in *UpsertClusterAlertRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 16608 out := new(emptypb.Empty) 16609 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertClusterAlert", in, out, opts...) 16610 if err != nil { 16611 return nil, err 16612 } 16613 return out, nil 16614 } 16615 16616 func (c *authServiceClient) CreateAlertAck(ctx context.Context, in *types.AlertAcknowledgement, opts ...grpc.CallOption) (*emptypb.Empty, error) { 16617 out := new(emptypb.Empty) 16618 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateAlertAck", in, out, opts...) 16619 if err != nil { 16620 return nil, err 16621 } 16622 return out, nil 16623 } 16624 16625 func (c *authServiceClient) GetAlertAcks(ctx context.Context, in *GetAlertAcksRequest, opts ...grpc.CallOption) (*GetAlertAcksResponse, error) { 16626 out := new(GetAlertAcksResponse) 16627 err := c.cc.Invoke(ctx, "/proto.AuthService/GetAlertAcks", in, out, opts...) 16628 if err != nil { 16629 return nil, err 16630 } 16631 return out, nil 16632 } 16633 16634 func (c *authServiceClient) ClearAlertAcks(ctx context.Context, in *ClearAlertAcksRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 16635 out := new(emptypb.Empty) 16636 err := c.cc.Invoke(ctx, "/proto.AuthService/ClearAlertAcks", in, out, opts...) 16637 if err != nil { 16638 return nil, err 16639 } 16640 return out, nil 16641 } 16642 16643 func (c *authServiceClient) MaintainSessionPresence(ctx context.Context, opts ...grpc.CallOption) (AuthService_MaintainSessionPresenceClient, error) { 16644 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[2], "/proto.AuthService/MaintainSessionPresence", opts...) 16645 if err != nil { 16646 return nil, err 16647 } 16648 x := &authServiceMaintainSessionPresenceClient{stream} 16649 return x, nil 16650 } 16651 16652 type AuthService_MaintainSessionPresenceClient interface { 16653 Send(*PresenceMFAChallengeSend) error 16654 Recv() (*MFAAuthenticateChallenge, error) 16655 grpc.ClientStream 16656 } 16657 16658 type authServiceMaintainSessionPresenceClient struct { 16659 grpc.ClientStream 16660 } 16661 16662 func (x *authServiceMaintainSessionPresenceClient) Send(m *PresenceMFAChallengeSend) error { 16663 return x.ClientStream.SendMsg(m) 16664 } 16665 16666 func (x *authServiceMaintainSessionPresenceClient) Recv() (*MFAAuthenticateChallenge, error) { 16667 m := new(MFAAuthenticateChallenge) 16668 if err := x.ClientStream.RecvMsg(m); err != nil { 16669 return nil, err 16670 } 16671 return m, nil 16672 } 16673 16674 func (c *authServiceClient) CreateSessionTracker(ctx context.Context, in *CreateSessionTrackerRequest, opts ...grpc.CallOption) (*types.SessionTrackerV1, error) { 16675 out := new(types.SessionTrackerV1) 16676 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateSessionTracker", in, out, opts...) 16677 if err != nil { 16678 return nil, err 16679 } 16680 return out, nil 16681 } 16682 16683 func (c *authServiceClient) GetSessionTracker(ctx context.Context, in *GetSessionTrackerRequest, opts ...grpc.CallOption) (*types.SessionTrackerV1, error) { 16684 out := new(types.SessionTrackerV1) 16685 err := c.cc.Invoke(ctx, "/proto.AuthService/GetSessionTracker", in, out, opts...) 16686 if err != nil { 16687 return nil, err 16688 } 16689 return out, nil 16690 } 16691 16692 func (c *authServiceClient) GetActiveSessionTrackers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (AuthService_GetActiveSessionTrackersClient, error) { 16693 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[3], "/proto.AuthService/GetActiveSessionTrackers", opts...) 16694 if err != nil { 16695 return nil, err 16696 } 16697 x := &authServiceGetActiveSessionTrackersClient{stream} 16698 if err := x.ClientStream.SendMsg(in); err != nil { 16699 return nil, err 16700 } 16701 if err := x.ClientStream.CloseSend(); err != nil { 16702 return nil, err 16703 } 16704 return x, nil 16705 } 16706 16707 type AuthService_GetActiveSessionTrackersClient interface { 16708 Recv() (*types.SessionTrackerV1, error) 16709 grpc.ClientStream 16710 } 16711 16712 type authServiceGetActiveSessionTrackersClient struct { 16713 grpc.ClientStream 16714 } 16715 16716 func (x *authServiceGetActiveSessionTrackersClient) Recv() (*types.SessionTrackerV1, error) { 16717 m := new(types.SessionTrackerV1) 16718 if err := x.ClientStream.RecvMsg(m); err != nil { 16719 return nil, err 16720 } 16721 return m, nil 16722 } 16723 16724 func (c *authServiceClient) GetActiveSessionTrackersWithFilter(ctx context.Context, in *types.SessionTrackerFilter, opts ...grpc.CallOption) (AuthService_GetActiveSessionTrackersWithFilterClient, error) { 16725 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[4], "/proto.AuthService/GetActiveSessionTrackersWithFilter", opts...) 16726 if err != nil { 16727 return nil, err 16728 } 16729 x := &authServiceGetActiveSessionTrackersWithFilterClient{stream} 16730 if err := x.ClientStream.SendMsg(in); err != nil { 16731 return nil, err 16732 } 16733 if err := x.ClientStream.CloseSend(); err != nil { 16734 return nil, err 16735 } 16736 return x, nil 16737 } 16738 16739 type AuthService_GetActiveSessionTrackersWithFilterClient interface { 16740 Recv() (*types.SessionTrackerV1, error) 16741 grpc.ClientStream 16742 } 16743 16744 type authServiceGetActiveSessionTrackersWithFilterClient struct { 16745 grpc.ClientStream 16746 } 16747 16748 func (x *authServiceGetActiveSessionTrackersWithFilterClient) Recv() (*types.SessionTrackerV1, error) { 16749 m := new(types.SessionTrackerV1) 16750 if err := x.ClientStream.RecvMsg(m); err != nil { 16751 return nil, err 16752 } 16753 return m, nil 16754 } 16755 16756 func (c *authServiceClient) RemoveSessionTracker(ctx context.Context, in *RemoveSessionTrackerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 16757 out := new(emptypb.Empty) 16758 err := c.cc.Invoke(ctx, "/proto.AuthService/RemoveSessionTracker", in, out, opts...) 16759 if err != nil { 16760 return nil, err 16761 } 16762 return out, nil 16763 } 16764 16765 func (c *authServiceClient) UpdateSessionTracker(ctx context.Context, in *UpdateSessionTrackerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 16766 out := new(emptypb.Empty) 16767 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateSessionTracker", in, out, opts...) 16768 if err != nil { 16769 return nil, err 16770 } 16771 return out, nil 16772 } 16773 16774 func (c *authServiceClient) SendKeepAlives(ctx context.Context, opts ...grpc.CallOption) (AuthService_SendKeepAlivesClient, error) { 16775 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[5], "/proto.AuthService/SendKeepAlives", opts...) 16776 if err != nil { 16777 return nil, err 16778 } 16779 x := &authServiceSendKeepAlivesClient{stream} 16780 return x, nil 16781 } 16782 16783 type AuthService_SendKeepAlivesClient interface { 16784 Send(*types.KeepAlive) error 16785 CloseAndRecv() (*emptypb.Empty, error) 16786 grpc.ClientStream 16787 } 16788 16789 type authServiceSendKeepAlivesClient struct { 16790 grpc.ClientStream 16791 } 16792 16793 func (x *authServiceSendKeepAlivesClient) Send(m *types.KeepAlive) error { 16794 return x.ClientStream.SendMsg(m) 16795 } 16796 16797 func (x *authServiceSendKeepAlivesClient) CloseAndRecv() (*emptypb.Empty, error) { 16798 if err := x.ClientStream.CloseSend(); err != nil { 16799 return nil, err 16800 } 16801 m := new(emptypb.Empty) 16802 if err := x.ClientStream.RecvMsg(m); err != nil { 16803 return nil, err 16804 } 16805 return m, nil 16806 } 16807 16808 func (c *authServiceClient) WatchEvents(ctx context.Context, in *Watch, opts ...grpc.CallOption) (AuthService_WatchEventsClient, error) { 16809 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[6], "/proto.AuthService/WatchEvents", opts...) 16810 if err != nil { 16811 return nil, err 16812 } 16813 x := &authServiceWatchEventsClient{stream} 16814 if err := x.ClientStream.SendMsg(in); err != nil { 16815 return nil, err 16816 } 16817 if err := x.ClientStream.CloseSend(); err != nil { 16818 return nil, err 16819 } 16820 return x, nil 16821 } 16822 16823 type AuthService_WatchEventsClient interface { 16824 Recv() (*Event, error) 16825 grpc.ClientStream 16826 } 16827 16828 type authServiceWatchEventsClient struct { 16829 grpc.ClientStream 16830 } 16831 16832 func (x *authServiceWatchEventsClient) Recv() (*Event, error) { 16833 m := new(Event) 16834 if err := x.ClientStream.RecvMsg(m); err != nil { 16835 return nil, err 16836 } 16837 return m, nil 16838 } 16839 16840 func (c *authServiceClient) GetNode(ctx context.Context, in *types.ResourceInNamespaceRequest, opts ...grpc.CallOption) (*types.ServerV2, error) { 16841 out := new(types.ServerV2) 16842 err := c.cc.Invoke(ctx, "/proto.AuthService/GetNode", in, out, opts...) 16843 if err != nil { 16844 return nil, err 16845 } 16846 return out, nil 16847 } 16848 16849 func (c *authServiceClient) UpsertNode(ctx context.Context, in *types.ServerV2, opts ...grpc.CallOption) (*types.KeepAlive, error) { 16850 out := new(types.KeepAlive) 16851 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertNode", in, out, opts...) 16852 if err != nil { 16853 return nil, err 16854 } 16855 return out, nil 16856 } 16857 16858 func (c *authServiceClient) DeleteNode(ctx context.Context, in *types.ResourceInNamespaceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 16859 out := new(emptypb.Empty) 16860 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteNode", in, out, opts...) 16861 if err != nil { 16862 return nil, err 16863 } 16864 return out, nil 16865 } 16866 16867 func (c *authServiceClient) DeleteAllNodes(ctx context.Context, in *types.ResourcesInNamespaceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 16868 out := new(emptypb.Empty) 16869 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllNodes", in, out, opts...) 16870 if err != nil { 16871 return nil, err 16872 } 16873 return out, nil 16874 } 16875 16876 func (c *authServiceClient) GenerateUserCerts(ctx context.Context, in *UserCertsRequest, opts ...grpc.CallOption) (*Certs, error) { 16877 out := new(Certs) 16878 err := c.cc.Invoke(ctx, "/proto.AuthService/GenerateUserCerts", in, out, opts...) 16879 if err != nil { 16880 return nil, err 16881 } 16882 return out, nil 16883 } 16884 16885 func (c *authServiceClient) GenerateHostCerts(ctx context.Context, in *HostCertsRequest, opts ...grpc.CallOption) (*Certs, error) { 16886 out := new(Certs) 16887 err := c.cc.Invoke(ctx, "/proto.AuthService/GenerateHostCerts", in, out, opts...) 16888 if err != nil { 16889 return nil, err 16890 } 16891 return out, nil 16892 } 16893 16894 // Deprecated: Do not use. 16895 func (c *authServiceClient) GenerateUserSingleUseCerts(ctx context.Context, opts ...grpc.CallOption) (AuthService_GenerateUserSingleUseCertsClient, error) { 16896 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[7], "/proto.AuthService/GenerateUserSingleUseCerts", opts...) 16897 if err != nil { 16898 return nil, err 16899 } 16900 x := &authServiceGenerateUserSingleUseCertsClient{stream} 16901 return x, nil 16902 } 16903 16904 type AuthService_GenerateUserSingleUseCertsClient interface { 16905 Send(*UserSingleUseCertsRequest) error 16906 Recv() (*UserSingleUseCertsResponse, error) 16907 grpc.ClientStream 16908 } 16909 16910 type authServiceGenerateUserSingleUseCertsClient struct { 16911 grpc.ClientStream 16912 } 16913 16914 func (x *authServiceGenerateUserSingleUseCertsClient) Send(m *UserSingleUseCertsRequest) error { 16915 return x.ClientStream.SendMsg(m) 16916 } 16917 16918 func (x *authServiceGenerateUserSingleUseCertsClient) Recv() (*UserSingleUseCertsResponse, error) { 16919 m := new(UserSingleUseCertsResponse) 16920 if err := x.ClientStream.RecvMsg(m); err != nil { 16921 return nil, err 16922 } 16923 return m, nil 16924 } 16925 16926 func (c *authServiceClient) GenerateOpenSSHCert(ctx context.Context, in *OpenSSHCertRequest, opts ...grpc.CallOption) (*OpenSSHCert, error) { 16927 out := new(OpenSSHCert) 16928 err := c.cc.Invoke(ctx, "/proto.AuthService/GenerateOpenSSHCert", in, out, opts...) 16929 if err != nil { 16930 return nil, err 16931 } 16932 return out, nil 16933 } 16934 16935 func (c *authServiceClient) IsMFARequired(ctx context.Context, in *IsMFARequiredRequest, opts ...grpc.CallOption) (*IsMFARequiredResponse, error) { 16936 out := new(IsMFARequiredResponse) 16937 err := c.cc.Invoke(ctx, "/proto.AuthService/IsMFARequired", in, out, opts...) 16938 if err != nil { 16939 return nil, err 16940 } 16941 return out, nil 16942 } 16943 16944 func (c *authServiceClient) GetAccessRequestsV2(ctx context.Context, in *types.AccessRequestFilter, opts ...grpc.CallOption) (AuthService_GetAccessRequestsV2Client, error) { 16945 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[8], "/proto.AuthService/GetAccessRequestsV2", opts...) 16946 if err != nil { 16947 return nil, err 16948 } 16949 x := &authServiceGetAccessRequestsV2Client{stream} 16950 if err := x.ClientStream.SendMsg(in); err != nil { 16951 return nil, err 16952 } 16953 if err := x.ClientStream.CloseSend(); err != nil { 16954 return nil, err 16955 } 16956 return x, nil 16957 } 16958 16959 type AuthService_GetAccessRequestsV2Client interface { 16960 Recv() (*types.AccessRequestV3, error) 16961 grpc.ClientStream 16962 } 16963 16964 type authServiceGetAccessRequestsV2Client struct { 16965 grpc.ClientStream 16966 } 16967 16968 func (x *authServiceGetAccessRequestsV2Client) Recv() (*types.AccessRequestV3, error) { 16969 m := new(types.AccessRequestV3) 16970 if err := x.ClientStream.RecvMsg(m); err != nil { 16971 return nil, err 16972 } 16973 return m, nil 16974 } 16975 16976 func (c *authServiceClient) ListAccessRequests(ctx context.Context, in *ListAccessRequestsRequest, opts ...grpc.CallOption) (*ListAccessRequestsResponse, error) { 16977 out := new(ListAccessRequestsResponse) 16978 err := c.cc.Invoke(ctx, "/proto.AuthService/ListAccessRequests", in, out, opts...) 16979 if err != nil { 16980 return nil, err 16981 } 16982 return out, nil 16983 } 16984 16985 func (c *authServiceClient) CreateAccessRequest(ctx context.Context, in *types.AccessRequestV3, opts ...grpc.CallOption) (*emptypb.Empty, error) { 16986 out := new(emptypb.Empty) 16987 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateAccessRequest", in, out, opts...) 16988 if err != nil { 16989 return nil, err 16990 } 16991 return out, nil 16992 } 16993 16994 func (c *authServiceClient) CreateAccessRequestV2(ctx context.Context, in *types.AccessRequestV3, opts ...grpc.CallOption) (*types.AccessRequestV3, error) { 16995 out := new(types.AccessRequestV3) 16996 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateAccessRequestV2", in, out, opts...) 16997 if err != nil { 16998 return nil, err 16999 } 17000 return out, nil 17001 } 17002 17003 func (c *authServiceClient) DeleteAccessRequest(ctx context.Context, in *RequestID, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17004 out := new(emptypb.Empty) 17005 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAccessRequest", in, out, opts...) 17006 if err != nil { 17007 return nil, err 17008 } 17009 return out, nil 17010 } 17011 17012 func (c *authServiceClient) SetAccessRequestState(ctx context.Context, in *RequestStateSetter, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17013 out := new(emptypb.Empty) 17014 err := c.cc.Invoke(ctx, "/proto.AuthService/SetAccessRequestState", in, out, opts...) 17015 if err != nil { 17016 return nil, err 17017 } 17018 return out, nil 17019 } 17020 17021 func (c *authServiceClient) SubmitAccessReview(ctx context.Context, in *types.AccessReviewSubmission, opts ...grpc.CallOption) (*types.AccessRequestV3, error) { 17022 out := new(types.AccessRequestV3) 17023 err := c.cc.Invoke(ctx, "/proto.AuthService/SubmitAccessReview", in, out, opts...) 17024 if err != nil { 17025 return nil, err 17026 } 17027 return out, nil 17028 } 17029 17030 func (c *authServiceClient) GetAccessCapabilities(ctx context.Context, in *types.AccessCapabilitiesRequest, opts ...grpc.CallOption) (*types.AccessCapabilities, error) { 17031 out := new(types.AccessCapabilities) 17032 err := c.cc.Invoke(ctx, "/proto.AuthService/GetAccessCapabilities", in, out, opts...) 17033 if err != nil { 17034 return nil, err 17035 } 17036 return out, nil 17037 } 17038 17039 func (c *authServiceClient) GetAccessRequestAllowedPromotions(ctx context.Context, in *AccessRequestAllowedPromotionRequest, opts ...grpc.CallOption) (*AccessRequestAllowedPromotionResponse, error) { 17040 out := new(AccessRequestAllowedPromotionResponse) 17041 err := c.cc.Invoke(ctx, "/proto.AuthService/GetAccessRequestAllowedPromotions", in, out, opts...) 17042 if err != nil { 17043 return nil, err 17044 } 17045 return out, nil 17046 } 17047 17048 func (c *authServiceClient) GetPluginData(ctx context.Context, in *types.PluginDataFilter, opts ...grpc.CallOption) (*PluginDataSeq, error) { 17049 out := new(PluginDataSeq) 17050 err := c.cc.Invoke(ctx, "/proto.AuthService/GetPluginData", in, out, opts...) 17051 if err != nil { 17052 return nil, err 17053 } 17054 return out, nil 17055 } 17056 17057 func (c *authServiceClient) UpdatePluginData(ctx context.Context, in *types.PluginDataUpdateParams, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17058 out := new(emptypb.Empty) 17059 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdatePluginData", in, out, opts...) 17060 if err != nil { 17061 return nil, err 17062 } 17063 return out, nil 17064 } 17065 17066 func (c *authServiceClient) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) { 17067 out := new(PingResponse) 17068 err := c.cc.Invoke(ctx, "/proto.AuthService/Ping", in, out, opts...) 17069 if err != nil { 17070 return nil, err 17071 } 17072 return out, nil 17073 } 17074 17075 func (c *authServiceClient) GetResetPasswordToken(ctx context.Context, in *GetResetPasswordTokenRequest, opts ...grpc.CallOption) (*types.UserTokenV3, error) { 17076 out := new(types.UserTokenV3) 17077 err := c.cc.Invoke(ctx, "/proto.AuthService/GetResetPasswordToken", in, out, opts...) 17078 if err != nil { 17079 return nil, err 17080 } 17081 return out, nil 17082 } 17083 17084 func (c *authServiceClient) CreateResetPasswordToken(ctx context.Context, in *CreateResetPasswordTokenRequest, opts ...grpc.CallOption) (*types.UserTokenV3, error) { 17085 out := new(types.UserTokenV3) 17086 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateResetPasswordToken", in, out, opts...) 17087 if err != nil { 17088 return nil, err 17089 } 17090 return out, nil 17091 } 17092 17093 // Deprecated: Do not use. 17094 func (c *authServiceClient) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*types.UserV2, error) { 17095 out := new(types.UserV2) 17096 err := c.cc.Invoke(ctx, "/proto.AuthService/GetUser", in, out, opts...) 17097 if err != nil { 17098 return nil, err 17099 } 17100 return out, nil 17101 } 17102 17103 // Deprecated: Do not use. 17104 func (c *authServiceClient) GetCurrentUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.UserV2, error) { 17105 out := new(types.UserV2) 17106 err := c.cc.Invoke(ctx, "/proto.AuthService/GetCurrentUser", in, out, opts...) 17107 if err != nil { 17108 return nil, err 17109 } 17110 return out, nil 17111 } 17112 17113 func (c *authServiceClient) GetCurrentUserRoles(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (AuthService_GetCurrentUserRolesClient, error) { 17114 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[9], "/proto.AuthService/GetCurrentUserRoles", opts...) 17115 if err != nil { 17116 return nil, err 17117 } 17118 x := &authServiceGetCurrentUserRolesClient{stream} 17119 if err := x.ClientStream.SendMsg(in); err != nil { 17120 return nil, err 17121 } 17122 if err := x.ClientStream.CloseSend(); err != nil { 17123 return nil, err 17124 } 17125 return x, nil 17126 } 17127 17128 type AuthService_GetCurrentUserRolesClient interface { 17129 Recv() (*types.RoleV6, error) 17130 grpc.ClientStream 17131 } 17132 17133 type authServiceGetCurrentUserRolesClient struct { 17134 grpc.ClientStream 17135 } 17136 17137 func (x *authServiceGetCurrentUserRolesClient) Recv() (*types.RoleV6, error) { 17138 m := new(types.RoleV6) 17139 if err := x.ClientStream.RecvMsg(m); err != nil { 17140 return nil, err 17141 } 17142 return m, nil 17143 } 17144 17145 // Deprecated: Do not use. 17146 func (c *authServiceClient) GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (AuthService_GetUsersClient, error) { 17147 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[10], "/proto.AuthService/GetUsers", opts...) 17148 if err != nil { 17149 return nil, err 17150 } 17151 x := &authServiceGetUsersClient{stream} 17152 if err := x.ClientStream.SendMsg(in); err != nil { 17153 return nil, err 17154 } 17155 if err := x.ClientStream.CloseSend(); err != nil { 17156 return nil, err 17157 } 17158 return x, nil 17159 } 17160 17161 type AuthService_GetUsersClient interface { 17162 Recv() (*types.UserV2, error) 17163 grpc.ClientStream 17164 } 17165 17166 type authServiceGetUsersClient struct { 17167 grpc.ClientStream 17168 } 17169 17170 func (x *authServiceGetUsersClient) Recv() (*types.UserV2, error) { 17171 m := new(types.UserV2) 17172 if err := x.ClientStream.RecvMsg(m); err != nil { 17173 return nil, err 17174 } 17175 return m, nil 17176 } 17177 17178 // Deprecated: Do not use. 17179 func (c *authServiceClient) CreateUser(ctx context.Context, in *types.UserV2, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17180 out := new(emptypb.Empty) 17181 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateUser", in, out, opts...) 17182 if err != nil { 17183 return nil, err 17184 } 17185 return out, nil 17186 } 17187 17188 // Deprecated: Do not use. 17189 func (c *authServiceClient) UpdateUser(ctx context.Context, in *types.UserV2, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17190 out := new(emptypb.Empty) 17191 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateUser", in, out, opts...) 17192 if err != nil { 17193 return nil, err 17194 } 17195 return out, nil 17196 } 17197 17198 // Deprecated: Do not use. 17199 func (c *authServiceClient) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17200 out := new(emptypb.Empty) 17201 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteUser", in, out, opts...) 17202 if err != nil { 17203 return nil, err 17204 } 17205 return out, nil 17206 } 17207 17208 func (c *authServiceClient) ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17209 out := new(emptypb.Empty) 17210 err := c.cc.Invoke(ctx, "/proto.AuthService/ChangePassword", in, out, opts...) 17211 if err != nil { 17212 return nil, err 17213 } 17214 return out, nil 17215 } 17216 17217 func (c *authServiceClient) AcquireSemaphore(ctx context.Context, in *types.AcquireSemaphoreRequest, opts ...grpc.CallOption) (*types.SemaphoreLease, error) { 17218 out := new(types.SemaphoreLease) 17219 err := c.cc.Invoke(ctx, "/proto.AuthService/AcquireSemaphore", in, out, opts...) 17220 if err != nil { 17221 return nil, err 17222 } 17223 return out, nil 17224 } 17225 17226 func (c *authServiceClient) KeepAliveSemaphoreLease(ctx context.Context, in *types.SemaphoreLease, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17227 out := new(emptypb.Empty) 17228 err := c.cc.Invoke(ctx, "/proto.AuthService/KeepAliveSemaphoreLease", in, out, opts...) 17229 if err != nil { 17230 return nil, err 17231 } 17232 return out, nil 17233 } 17234 17235 func (c *authServiceClient) CancelSemaphoreLease(ctx context.Context, in *types.SemaphoreLease, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17236 out := new(emptypb.Empty) 17237 err := c.cc.Invoke(ctx, "/proto.AuthService/CancelSemaphoreLease", in, out, opts...) 17238 if err != nil { 17239 return nil, err 17240 } 17241 return out, nil 17242 } 17243 17244 func (c *authServiceClient) GetSemaphores(ctx context.Context, in *types.SemaphoreFilter, opts ...grpc.CallOption) (*Semaphores, error) { 17245 out := new(Semaphores) 17246 err := c.cc.Invoke(ctx, "/proto.AuthService/GetSemaphores", in, out, opts...) 17247 if err != nil { 17248 return nil, err 17249 } 17250 return out, nil 17251 } 17252 17253 func (c *authServiceClient) DeleteSemaphore(ctx context.Context, in *types.SemaphoreFilter, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17254 out := new(emptypb.Empty) 17255 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteSemaphore", in, out, opts...) 17256 if err != nil { 17257 return nil, err 17258 } 17259 return out, nil 17260 } 17261 17262 func (c *authServiceClient) EmitAuditEvent(ctx context.Context, in *events.OneOf, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17263 out := new(emptypb.Empty) 17264 err := c.cc.Invoke(ctx, "/proto.AuthService/EmitAuditEvent", in, out, opts...) 17265 if err != nil { 17266 return nil, err 17267 } 17268 return out, nil 17269 } 17270 17271 func (c *authServiceClient) CreateAuditStream(ctx context.Context, opts ...grpc.CallOption) (AuthService_CreateAuditStreamClient, error) { 17272 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[11], "/proto.AuthService/CreateAuditStream", opts...) 17273 if err != nil { 17274 return nil, err 17275 } 17276 x := &authServiceCreateAuditStreamClient{stream} 17277 return x, nil 17278 } 17279 17280 type AuthService_CreateAuditStreamClient interface { 17281 Send(*AuditStreamRequest) error 17282 Recv() (*events.StreamStatus, error) 17283 grpc.ClientStream 17284 } 17285 17286 type authServiceCreateAuditStreamClient struct { 17287 grpc.ClientStream 17288 } 17289 17290 func (x *authServiceCreateAuditStreamClient) Send(m *AuditStreamRequest) error { 17291 return x.ClientStream.SendMsg(m) 17292 } 17293 17294 func (x *authServiceCreateAuditStreamClient) Recv() (*events.StreamStatus, error) { 17295 m := new(events.StreamStatus) 17296 if err := x.ClientStream.RecvMsg(m); err != nil { 17297 return nil, err 17298 } 17299 return m, nil 17300 } 17301 17302 func (c *authServiceClient) UpsertApplicationServer(ctx context.Context, in *UpsertApplicationServerRequest, opts ...grpc.CallOption) (*types.KeepAlive, error) { 17303 out := new(types.KeepAlive) 17304 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertApplicationServer", in, out, opts...) 17305 if err != nil { 17306 return nil, err 17307 } 17308 return out, nil 17309 } 17310 17311 func (c *authServiceClient) DeleteApplicationServer(ctx context.Context, in *DeleteApplicationServerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17312 out := new(emptypb.Empty) 17313 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteApplicationServer", in, out, opts...) 17314 if err != nil { 17315 return nil, err 17316 } 17317 return out, nil 17318 } 17319 17320 func (c *authServiceClient) DeleteAllApplicationServers(ctx context.Context, in *DeleteAllApplicationServersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17321 out := new(emptypb.Empty) 17322 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllApplicationServers", in, out, opts...) 17323 if err != nil { 17324 return nil, err 17325 } 17326 return out, nil 17327 } 17328 17329 func (c *authServiceClient) GenerateAppToken(ctx context.Context, in *GenerateAppTokenRequest, opts ...grpc.CallOption) (*GenerateAppTokenResponse, error) { 17330 out := new(GenerateAppTokenResponse) 17331 err := c.cc.Invoke(ctx, "/proto.AuthService/GenerateAppToken", in, out, opts...) 17332 if err != nil { 17333 return nil, err 17334 } 17335 return out, nil 17336 } 17337 17338 func (c *authServiceClient) GetAppSession(ctx context.Context, in *GetAppSessionRequest, opts ...grpc.CallOption) (*GetAppSessionResponse, error) { 17339 out := new(GetAppSessionResponse) 17340 err := c.cc.Invoke(ctx, "/proto.AuthService/GetAppSession", in, out, opts...) 17341 if err != nil { 17342 return nil, err 17343 } 17344 return out, nil 17345 } 17346 17347 func (c *authServiceClient) ListAppSessions(ctx context.Context, in *ListAppSessionsRequest, opts ...grpc.CallOption) (*ListAppSessionsResponse, error) { 17348 out := new(ListAppSessionsResponse) 17349 err := c.cc.Invoke(ctx, "/proto.AuthService/ListAppSessions", in, out, opts...) 17350 if err != nil { 17351 return nil, err 17352 } 17353 return out, nil 17354 } 17355 17356 func (c *authServiceClient) CreateAppSession(ctx context.Context, in *CreateAppSessionRequest, opts ...grpc.CallOption) (*CreateAppSessionResponse, error) { 17357 out := new(CreateAppSessionResponse) 17358 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateAppSession", in, out, opts...) 17359 if err != nil { 17360 return nil, err 17361 } 17362 return out, nil 17363 } 17364 17365 func (c *authServiceClient) DeleteAppSession(ctx context.Context, in *DeleteAppSessionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17366 out := new(emptypb.Empty) 17367 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAppSession", in, out, opts...) 17368 if err != nil { 17369 return nil, err 17370 } 17371 return out, nil 17372 } 17373 17374 func (c *authServiceClient) DeleteAllAppSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17375 out := new(emptypb.Empty) 17376 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllAppSessions", in, out, opts...) 17377 if err != nil { 17378 return nil, err 17379 } 17380 return out, nil 17381 } 17382 17383 func (c *authServiceClient) DeleteUserAppSessions(ctx context.Context, in *DeleteUserAppSessionsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17384 out := new(emptypb.Empty) 17385 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteUserAppSessions", in, out, opts...) 17386 if err != nil { 17387 return nil, err 17388 } 17389 return out, nil 17390 } 17391 17392 func (c *authServiceClient) CreateSnowflakeSession(ctx context.Context, in *CreateSnowflakeSessionRequest, opts ...grpc.CallOption) (*CreateSnowflakeSessionResponse, error) { 17393 out := new(CreateSnowflakeSessionResponse) 17394 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateSnowflakeSession", in, out, opts...) 17395 if err != nil { 17396 return nil, err 17397 } 17398 return out, nil 17399 } 17400 17401 func (c *authServiceClient) GetSnowflakeSession(ctx context.Context, in *GetSnowflakeSessionRequest, opts ...grpc.CallOption) (*GetSnowflakeSessionResponse, error) { 17402 out := new(GetSnowflakeSessionResponse) 17403 err := c.cc.Invoke(ctx, "/proto.AuthService/GetSnowflakeSession", in, out, opts...) 17404 if err != nil { 17405 return nil, err 17406 } 17407 return out, nil 17408 } 17409 17410 func (c *authServiceClient) GetSnowflakeSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetSnowflakeSessionsResponse, error) { 17411 out := new(GetSnowflakeSessionsResponse) 17412 err := c.cc.Invoke(ctx, "/proto.AuthService/GetSnowflakeSessions", in, out, opts...) 17413 if err != nil { 17414 return nil, err 17415 } 17416 return out, nil 17417 } 17418 17419 func (c *authServiceClient) DeleteSnowflakeSession(ctx context.Context, in *DeleteSnowflakeSessionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17420 out := new(emptypb.Empty) 17421 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteSnowflakeSession", in, out, opts...) 17422 if err != nil { 17423 return nil, err 17424 } 17425 return out, nil 17426 } 17427 17428 func (c *authServiceClient) DeleteAllSnowflakeSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17429 out := new(emptypb.Empty) 17430 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllSnowflakeSessions", in, out, opts...) 17431 if err != nil { 17432 return nil, err 17433 } 17434 return out, nil 17435 } 17436 17437 func (c *authServiceClient) CreateSAMLIdPSession(ctx context.Context, in *CreateSAMLIdPSessionRequest, opts ...grpc.CallOption) (*CreateSAMLIdPSessionResponse, error) { 17438 out := new(CreateSAMLIdPSessionResponse) 17439 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateSAMLIdPSession", in, out, opts...) 17440 if err != nil { 17441 return nil, err 17442 } 17443 return out, nil 17444 } 17445 17446 func (c *authServiceClient) GetSAMLIdPSession(ctx context.Context, in *GetSAMLIdPSessionRequest, opts ...grpc.CallOption) (*GetSAMLIdPSessionResponse, error) { 17447 out := new(GetSAMLIdPSessionResponse) 17448 err := c.cc.Invoke(ctx, "/proto.AuthService/GetSAMLIdPSession", in, out, opts...) 17449 if err != nil { 17450 return nil, err 17451 } 17452 return out, nil 17453 } 17454 17455 func (c *authServiceClient) ListSAMLIdPSessions(ctx context.Context, in *ListSAMLIdPSessionsRequest, opts ...grpc.CallOption) (*ListSAMLIdPSessionsResponse, error) { 17456 out := new(ListSAMLIdPSessionsResponse) 17457 err := c.cc.Invoke(ctx, "/proto.AuthService/ListSAMLIdPSessions", in, out, opts...) 17458 if err != nil { 17459 return nil, err 17460 } 17461 return out, nil 17462 } 17463 17464 func (c *authServiceClient) DeleteSAMLIdPSession(ctx context.Context, in *DeleteSAMLIdPSessionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17465 out := new(emptypb.Empty) 17466 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteSAMLIdPSession", in, out, opts...) 17467 if err != nil { 17468 return nil, err 17469 } 17470 return out, nil 17471 } 17472 17473 func (c *authServiceClient) DeleteAllSAMLIdPSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17474 out := new(emptypb.Empty) 17475 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllSAMLIdPSessions", in, out, opts...) 17476 if err != nil { 17477 return nil, err 17478 } 17479 return out, nil 17480 } 17481 17482 func (c *authServiceClient) DeleteUserSAMLIdPSessions(ctx context.Context, in *DeleteUserSAMLIdPSessionsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17483 out := new(emptypb.Empty) 17484 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteUserSAMLIdPSessions", in, out, opts...) 17485 if err != nil { 17486 return nil, err 17487 } 17488 return out, nil 17489 } 17490 17491 func (c *authServiceClient) GetWebSession(ctx context.Context, in *types.GetWebSessionRequest, opts ...grpc.CallOption) (*GetWebSessionResponse, error) { 17492 out := new(GetWebSessionResponse) 17493 err := c.cc.Invoke(ctx, "/proto.AuthService/GetWebSession", in, out, opts...) 17494 if err != nil { 17495 return nil, err 17496 } 17497 return out, nil 17498 } 17499 17500 func (c *authServiceClient) GetWebSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetWebSessionsResponse, error) { 17501 out := new(GetWebSessionsResponse) 17502 err := c.cc.Invoke(ctx, "/proto.AuthService/GetWebSessions", in, out, opts...) 17503 if err != nil { 17504 return nil, err 17505 } 17506 return out, nil 17507 } 17508 17509 func (c *authServiceClient) DeleteWebSession(ctx context.Context, in *types.DeleteWebSessionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17510 out := new(emptypb.Empty) 17511 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteWebSession", in, out, opts...) 17512 if err != nil { 17513 return nil, err 17514 } 17515 return out, nil 17516 } 17517 17518 func (c *authServiceClient) DeleteAllWebSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17519 out := new(emptypb.Empty) 17520 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllWebSessions", in, out, opts...) 17521 if err != nil { 17522 return nil, err 17523 } 17524 return out, nil 17525 } 17526 17527 func (c *authServiceClient) GetWebToken(ctx context.Context, in *types.GetWebTokenRequest, opts ...grpc.CallOption) (*GetWebTokenResponse, error) { 17528 out := new(GetWebTokenResponse) 17529 err := c.cc.Invoke(ctx, "/proto.AuthService/GetWebToken", in, out, opts...) 17530 if err != nil { 17531 return nil, err 17532 } 17533 return out, nil 17534 } 17535 17536 func (c *authServiceClient) GetWebTokens(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetWebTokensResponse, error) { 17537 out := new(GetWebTokensResponse) 17538 err := c.cc.Invoke(ctx, "/proto.AuthService/GetWebTokens", in, out, opts...) 17539 if err != nil { 17540 return nil, err 17541 } 17542 return out, nil 17543 } 17544 17545 func (c *authServiceClient) DeleteWebToken(ctx context.Context, in *types.DeleteWebTokenRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17546 out := new(emptypb.Empty) 17547 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteWebToken", in, out, opts...) 17548 if err != nil { 17549 return nil, err 17550 } 17551 return out, nil 17552 } 17553 17554 func (c *authServiceClient) DeleteAllWebTokens(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17555 out := new(emptypb.Empty) 17556 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllWebTokens", in, out, opts...) 17557 if err != nil { 17558 return nil, err 17559 } 17560 return out, nil 17561 } 17562 17563 func (c *authServiceClient) UpdateRemoteCluster(ctx context.Context, in *types.RemoteClusterV3, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17564 out := new(emptypb.Empty) 17565 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateRemoteCluster", in, out, opts...) 17566 if err != nil { 17567 return nil, err 17568 } 17569 return out, nil 17570 } 17571 17572 func (c *authServiceClient) UpsertKubernetesServer(ctx context.Context, in *UpsertKubernetesServerRequest, opts ...grpc.CallOption) (*types.KeepAlive, error) { 17573 out := new(types.KeepAlive) 17574 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertKubernetesServer", in, out, opts...) 17575 if err != nil { 17576 return nil, err 17577 } 17578 return out, nil 17579 } 17580 17581 func (c *authServiceClient) DeleteKubernetesServer(ctx context.Context, in *DeleteKubernetesServerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17582 out := new(emptypb.Empty) 17583 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteKubernetesServer", in, out, opts...) 17584 if err != nil { 17585 return nil, err 17586 } 17587 return out, nil 17588 } 17589 17590 func (c *authServiceClient) DeleteAllKubernetesServers(ctx context.Context, in *DeleteAllKubernetesServersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17591 out := new(emptypb.Empty) 17592 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllKubernetesServers", in, out, opts...) 17593 if err != nil { 17594 return nil, err 17595 } 17596 return out, nil 17597 } 17598 17599 func (c *authServiceClient) UpsertDatabaseServer(ctx context.Context, in *UpsertDatabaseServerRequest, opts ...grpc.CallOption) (*types.KeepAlive, error) { 17600 out := new(types.KeepAlive) 17601 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertDatabaseServer", in, out, opts...) 17602 if err != nil { 17603 return nil, err 17604 } 17605 return out, nil 17606 } 17607 17608 func (c *authServiceClient) DeleteDatabaseServer(ctx context.Context, in *DeleteDatabaseServerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17609 out := new(emptypb.Empty) 17610 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteDatabaseServer", in, out, opts...) 17611 if err != nil { 17612 return nil, err 17613 } 17614 return out, nil 17615 } 17616 17617 func (c *authServiceClient) DeleteAllDatabaseServers(ctx context.Context, in *DeleteAllDatabaseServersRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17618 out := new(emptypb.Empty) 17619 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllDatabaseServers", in, out, opts...) 17620 if err != nil { 17621 return nil, err 17622 } 17623 return out, nil 17624 } 17625 17626 func (c *authServiceClient) UpsertDatabaseService(ctx context.Context, in *UpsertDatabaseServiceRequest, opts ...grpc.CallOption) (*types.KeepAlive, error) { 17627 out := new(types.KeepAlive) 17628 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertDatabaseService", in, out, opts...) 17629 if err != nil { 17630 return nil, err 17631 } 17632 return out, nil 17633 } 17634 17635 func (c *authServiceClient) DeleteDatabaseService(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17636 out := new(emptypb.Empty) 17637 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteDatabaseService", in, out, opts...) 17638 if err != nil { 17639 return nil, err 17640 } 17641 return out, nil 17642 } 17643 17644 func (c *authServiceClient) DeleteAllDatabaseServices(ctx context.Context, in *DeleteAllDatabaseServicesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17645 out := new(emptypb.Empty) 17646 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllDatabaseServices", in, out, opts...) 17647 if err != nil { 17648 return nil, err 17649 } 17650 return out, nil 17651 } 17652 17653 func (c *authServiceClient) SignDatabaseCSR(ctx context.Context, in *DatabaseCSRRequest, opts ...grpc.CallOption) (*DatabaseCSRResponse, error) { 17654 out := new(DatabaseCSRResponse) 17655 err := c.cc.Invoke(ctx, "/proto.AuthService/SignDatabaseCSR", in, out, opts...) 17656 if err != nil { 17657 return nil, err 17658 } 17659 return out, nil 17660 } 17661 17662 func (c *authServiceClient) GenerateDatabaseCert(ctx context.Context, in *DatabaseCertRequest, opts ...grpc.CallOption) (*DatabaseCertResponse, error) { 17663 out := new(DatabaseCertResponse) 17664 err := c.cc.Invoke(ctx, "/proto.AuthService/GenerateDatabaseCert", in, out, opts...) 17665 if err != nil { 17666 return nil, err 17667 } 17668 return out, nil 17669 } 17670 17671 func (c *authServiceClient) GenerateSnowflakeJWT(ctx context.Context, in *SnowflakeJWTRequest, opts ...grpc.CallOption) (*SnowflakeJWTResponse, error) { 17672 out := new(SnowflakeJWTResponse) 17673 err := c.cc.Invoke(ctx, "/proto.AuthService/GenerateSnowflakeJWT", in, out, opts...) 17674 if err != nil { 17675 return nil, err 17676 } 17677 return out, nil 17678 } 17679 17680 func (c *authServiceClient) GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*types.RoleV6, error) { 17681 out := new(types.RoleV6) 17682 err := c.cc.Invoke(ctx, "/proto.AuthService/GetRole", in, out, opts...) 17683 if err != nil { 17684 return nil, err 17685 } 17686 return out, nil 17687 } 17688 17689 func (c *authServiceClient) GetRoles(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetRolesResponse, error) { 17690 out := new(GetRolesResponse) 17691 err := c.cc.Invoke(ctx, "/proto.AuthService/GetRoles", in, out, opts...) 17692 if err != nil { 17693 return nil, err 17694 } 17695 return out, nil 17696 } 17697 17698 func (c *authServiceClient) ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, error) { 17699 out := new(ListRolesResponse) 17700 err := c.cc.Invoke(ctx, "/proto.AuthService/ListRoles", in, out, opts...) 17701 if err != nil { 17702 return nil, err 17703 } 17704 return out, nil 17705 } 17706 17707 func (c *authServiceClient) CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*types.RoleV6, error) { 17708 out := new(types.RoleV6) 17709 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateRole", in, out, opts...) 17710 if err != nil { 17711 return nil, err 17712 } 17713 return out, nil 17714 } 17715 17716 func (c *authServiceClient) UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*types.RoleV6, error) { 17717 out := new(types.RoleV6) 17718 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateRole", in, out, opts...) 17719 if err != nil { 17720 return nil, err 17721 } 17722 return out, nil 17723 } 17724 17725 func (c *authServiceClient) UpsertRoleV2(ctx context.Context, in *UpsertRoleRequest, opts ...grpc.CallOption) (*types.RoleV6, error) { 17726 out := new(types.RoleV6) 17727 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertRoleV2", in, out, opts...) 17728 if err != nil { 17729 return nil, err 17730 } 17731 return out, nil 17732 } 17733 17734 // Deprecated: Do not use. 17735 func (c *authServiceClient) UpsertRole(ctx context.Context, in *types.RoleV6, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17736 out := new(emptypb.Empty) 17737 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertRole", in, out, opts...) 17738 if err != nil { 17739 return nil, err 17740 } 17741 return out, nil 17742 } 17743 17744 func (c *authServiceClient) DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17745 out := new(emptypb.Empty) 17746 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteRole", in, out, opts...) 17747 if err != nil { 17748 return nil, err 17749 } 17750 return out, nil 17751 } 17752 17753 // Deprecated: Do not use. 17754 func (c *authServiceClient) AddMFADevice(ctx context.Context, opts ...grpc.CallOption) (AuthService_AddMFADeviceClient, error) { 17755 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[12], "/proto.AuthService/AddMFADevice", opts...) 17756 if err != nil { 17757 return nil, err 17758 } 17759 x := &authServiceAddMFADeviceClient{stream} 17760 return x, nil 17761 } 17762 17763 type AuthService_AddMFADeviceClient interface { 17764 Send(*AddMFADeviceRequest) error 17765 Recv() (*AddMFADeviceResponse, error) 17766 grpc.ClientStream 17767 } 17768 17769 type authServiceAddMFADeviceClient struct { 17770 grpc.ClientStream 17771 } 17772 17773 func (x *authServiceAddMFADeviceClient) Send(m *AddMFADeviceRequest) error { 17774 return x.ClientStream.SendMsg(m) 17775 } 17776 17777 func (x *authServiceAddMFADeviceClient) Recv() (*AddMFADeviceResponse, error) { 17778 m := new(AddMFADeviceResponse) 17779 if err := x.ClientStream.RecvMsg(m); err != nil { 17780 return nil, err 17781 } 17782 return m, nil 17783 } 17784 17785 // Deprecated: Do not use. 17786 func (c *authServiceClient) DeleteMFADevice(ctx context.Context, opts ...grpc.CallOption) (AuthService_DeleteMFADeviceClient, error) { 17787 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[13], "/proto.AuthService/DeleteMFADevice", opts...) 17788 if err != nil { 17789 return nil, err 17790 } 17791 x := &authServiceDeleteMFADeviceClient{stream} 17792 return x, nil 17793 } 17794 17795 type AuthService_DeleteMFADeviceClient interface { 17796 Send(*DeleteMFADeviceRequest) error 17797 Recv() (*DeleteMFADeviceResponse, error) 17798 grpc.ClientStream 17799 } 17800 17801 type authServiceDeleteMFADeviceClient struct { 17802 grpc.ClientStream 17803 } 17804 17805 func (x *authServiceDeleteMFADeviceClient) Send(m *DeleteMFADeviceRequest) error { 17806 return x.ClientStream.SendMsg(m) 17807 } 17808 17809 func (x *authServiceDeleteMFADeviceClient) Recv() (*DeleteMFADeviceResponse, error) { 17810 m := new(DeleteMFADeviceResponse) 17811 if err := x.ClientStream.RecvMsg(m); err != nil { 17812 return nil, err 17813 } 17814 return m, nil 17815 } 17816 17817 func (c *authServiceClient) AddMFADeviceSync(ctx context.Context, in *AddMFADeviceSyncRequest, opts ...grpc.CallOption) (*AddMFADeviceSyncResponse, error) { 17818 out := new(AddMFADeviceSyncResponse) 17819 err := c.cc.Invoke(ctx, "/proto.AuthService/AddMFADeviceSync", in, out, opts...) 17820 if err != nil { 17821 return nil, err 17822 } 17823 return out, nil 17824 } 17825 17826 func (c *authServiceClient) DeleteMFADeviceSync(ctx context.Context, in *DeleteMFADeviceSyncRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17827 out := new(emptypb.Empty) 17828 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteMFADeviceSync", in, out, opts...) 17829 if err != nil { 17830 return nil, err 17831 } 17832 return out, nil 17833 } 17834 17835 func (c *authServiceClient) GetMFADevices(ctx context.Context, in *GetMFADevicesRequest, opts ...grpc.CallOption) (*GetMFADevicesResponse, error) { 17836 out := new(GetMFADevicesResponse) 17837 err := c.cc.Invoke(ctx, "/proto.AuthService/GetMFADevices", in, out, opts...) 17838 if err != nil { 17839 return nil, err 17840 } 17841 return out, nil 17842 } 17843 17844 func (c *authServiceClient) CreateAuthenticateChallenge(ctx context.Context, in *CreateAuthenticateChallengeRequest, opts ...grpc.CallOption) (*MFAAuthenticateChallenge, error) { 17845 out := new(MFAAuthenticateChallenge) 17846 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateAuthenticateChallenge", in, out, opts...) 17847 if err != nil { 17848 return nil, err 17849 } 17850 return out, nil 17851 } 17852 17853 func (c *authServiceClient) CreateRegisterChallenge(ctx context.Context, in *CreateRegisterChallengeRequest, opts ...grpc.CallOption) (*MFARegisterChallenge, error) { 17854 out := new(MFARegisterChallenge) 17855 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateRegisterChallenge", in, out, opts...) 17856 if err != nil { 17857 return nil, err 17858 } 17859 return out, nil 17860 } 17861 17862 func (c *authServiceClient) GetOIDCConnector(ctx context.Context, in *types.ResourceWithSecretsRequest, opts ...grpc.CallOption) (*types.OIDCConnectorV3, error) { 17863 out := new(types.OIDCConnectorV3) 17864 err := c.cc.Invoke(ctx, "/proto.AuthService/GetOIDCConnector", in, out, opts...) 17865 if err != nil { 17866 return nil, err 17867 } 17868 return out, nil 17869 } 17870 17871 func (c *authServiceClient) GetOIDCConnectors(ctx context.Context, in *types.ResourcesWithSecretsRequest, opts ...grpc.CallOption) (*types.OIDCConnectorV3List, error) { 17872 out := new(types.OIDCConnectorV3List) 17873 err := c.cc.Invoke(ctx, "/proto.AuthService/GetOIDCConnectors", in, out, opts...) 17874 if err != nil { 17875 return nil, err 17876 } 17877 return out, nil 17878 } 17879 17880 func (c *authServiceClient) CreateOIDCConnector(ctx context.Context, in *CreateOIDCConnectorRequest, opts ...grpc.CallOption) (*types.OIDCConnectorV3, error) { 17881 out := new(types.OIDCConnectorV3) 17882 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateOIDCConnector", in, out, opts...) 17883 if err != nil { 17884 return nil, err 17885 } 17886 return out, nil 17887 } 17888 17889 func (c *authServiceClient) UpdateOIDCConnector(ctx context.Context, in *UpdateOIDCConnectorRequest, opts ...grpc.CallOption) (*types.OIDCConnectorV3, error) { 17890 out := new(types.OIDCConnectorV3) 17891 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateOIDCConnector", in, out, opts...) 17892 if err != nil { 17893 return nil, err 17894 } 17895 return out, nil 17896 } 17897 17898 // Deprecated: Do not use. 17899 func (c *authServiceClient) UpsertOIDCConnector(ctx context.Context, in *types.OIDCConnectorV3, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17900 out := new(emptypb.Empty) 17901 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertOIDCConnector", in, out, opts...) 17902 if err != nil { 17903 return nil, err 17904 } 17905 return out, nil 17906 } 17907 17908 func (c *authServiceClient) UpsertOIDCConnectorV2(ctx context.Context, in *UpsertOIDCConnectorRequest, opts ...grpc.CallOption) (*types.OIDCConnectorV3, error) { 17909 out := new(types.OIDCConnectorV3) 17910 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertOIDCConnectorV2", in, out, opts...) 17911 if err != nil { 17912 return nil, err 17913 } 17914 return out, nil 17915 } 17916 17917 func (c *authServiceClient) DeleteOIDCConnector(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17918 out := new(emptypb.Empty) 17919 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteOIDCConnector", in, out, opts...) 17920 if err != nil { 17921 return nil, err 17922 } 17923 return out, nil 17924 } 17925 17926 func (c *authServiceClient) CreateOIDCAuthRequest(ctx context.Context, in *types.OIDCAuthRequest, opts ...grpc.CallOption) (*types.OIDCAuthRequest, error) { 17927 out := new(types.OIDCAuthRequest) 17928 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateOIDCAuthRequest", in, out, opts...) 17929 if err != nil { 17930 return nil, err 17931 } 17932 return out, nil 17933 } 17934 17935 func (c *authServiceClient) GetOIDCAuthRequest(ctx context.Context, in *GetOIDCAuthRequestRequest, opts ...grpc.CallOption) (*types.OIDCAuthRequest, error) { 17936 out := new(types.OIDCAuthRequest) 17937 err := c.cc.Invoke(ctx, "/proto.AuthService/GetOIDCAuthRequest", in, out, opts...) 17938 if err != nil { 17939 return nil, err 17940 } 17941 return out, nil 17942 } 17943 17944 func (c *authServiceClient) GetSAMLConnector(ctx context.Context, in *types.ResourceWithSecretsRequest, opts ...grpc.CallOption) (*types.SAMLConnectorV2, error) { 17945 out := new(types.SAMLConnectorV2) 17946 err := c.cc.Invoke(ctx, "/proto.AuthService/GetSAMLConnector", in, out, opts...) 17947 if err != nil { 17948 return nil, err 17949 } 17950 return out, nil 17951 } 17952 17953 func (c *authServiceClient) GetSAMLConnectors(ctx context.Context, in *types.ResourcesWithSecretsRequest, opts ...grpc.CallOption) (*types.SAMLConnectorV2List, error) { 17954 out := new(types.SAMLConnectorV2List) 17955 err := c.cc.Invoke(ctx, "/proto.AuthService/GetSAMLConnectors", in, out, opts...) 17956 if err != nil { 17957 return nil, err 17958 } 17959 return out, nil 17960 } 17961 17962 func (c *authServiceClient) CreateSAMLConnector(ctx context.Context, in *CreateSAMLConnectorRequest, opts ...grpc.CallOption) (*types.SAMLConnectorV2, error) { 17963 out := new(types.SAMLConnectorV2) 17964 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateSAMLConnector", in, out, opts...) 17965 if err != nil { 17966 return nil, err 17967 } 17968 return out, nil 17969 } 17970 17971 func (c *authServiceClient) UpdateSAMLConnector(ctx context.Context, in *UpdateSAMLConnectorRequest, opts ...grpc.CallOption) (*types.SAMLConnectorV2, error) { 17972 out := new(types.SAMLConnectorV2) 17973 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateSAMLConnector", in, out, opts...) 17974 if err != nil { 17975 return nil, err 17976 } 17977 return out, nil 17978 } 17979 17980 // Deprecated: Do not use. 17981 func (c *authServiceClient) UpsertSAMLConnector(ctx context.Context, in *types.SAMLConnectorV2, opts ...grpc.CallOption) (*emptypb.Empty, error) { 17982 out := new(emptypb.Empty) 17983 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertSAMLConnector", in, out, opts...) 17984 if err != nil { 17985 return nil, err 17986 } 17987 return out, nil 17988 } 17989 17990 func (c *authServiceClient) UpsertSAMLConnectorV2(ctx context.Context, in *UpsertSAMLConnectorRequest, opts ...grpc.CallOption) (*types.SAMLConnectorV2, error) { 17991 out := new(types.SAMLConnectorV2) 17992 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertSAMLConnectorV2", in, out, opts...) 17993 if err != nil { 17994 return nil, err 17995 } 17996 return out, nil 17997 } 17998 17999 func (c *authServiceClient) DeleteSAMLConnector(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18000 out := new(emptypb.Empty) 18001 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteSAMLConnector", in, out, opts...) 18002 if err != nil { 18003 return nil, err 18004 } 18005 return out, nil 18006 } 18007 18008 func (c *authServiceClient) CreateSAMLAuthRequest(ctx context.Context, in *types.SAMLAuthRequest, opts ...grpc.CallOption) (*types.SAMLAuthRequest, error) { 18009 out := new(types.SAMLAuthRequest) 18010 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateSAMLAuthRequest", in, out, opts...) 18011 if err != nil { 18012 return nil, err 18013 } 18014 return out, nil 18015 } 18016 18017 func (c *authServiceClient) GetSAMLAuthRequest(ctx context.Context, in *GetSAMLAuthRequestRequest, opts ...grpc.CallOption) (*types.SAMLAuthRequest, error) { 18018 out := new(types.SAMLAuthRequest) 18019 err := c.cc.Invoke(ctx, "/proto.AuthService/GetSAMLAuthRequest", in, out, opts...) 18020 if err != nil { 18021 return nil, err 18022 } 18023 return out, nil 18024 } 18025 18026 func (c *authServiceClient) GetGithubConnector(ctx context.Context, in *types.ResourceWithSecretsRequest, opts ...grpc.CallOption) (*types.GithubConnectorV3, error) { 18027 out := new(types.GithubConnectorV3) 18028 err := c.cc.Invoke(ctx, "/proto.AuthService/GetGithubConnector", in, out, opts...) 18029 if err != nil { 18030 return nil, err 18031 } 18032 return out, nil 18033 } 18034 18035 func (c *authServiceClient) GetGithubConnectors(ctx context.Context, in *types.ResourcesWithSecretsRequest, opts ...grpc.CallOption) (*types.GithubConnectorV3List, error) { 18036 out := new(types.GithubConnectorV3List) 18037 err := c.cc.Invoke(ctx, "/proto.AuthService/GetGithubConnectors", in, out, opts...) 18038 if err != nil { 18039 return nil, err 18040 } 18041 return out, nil 18042 } 18043 18044 func (c *authServiceClient) CreateGithubConnector(ctx context.Context, in *CreateGithubConnectorRequest, opts ...grpc.CallOption) (*types.GithubConnectorV3, error) { 18045 out := new(types.GithubConnectorV3) 18046 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateGithubConnector", in, out, opts...) 18047 if err != nil { 18048 return nil, err 18049 } 18050 return out, nil 18051 } 18052 18053 func (c *authServiceClient) UpdateGithubConnector(ctx context.Context, in *UpdateGithubConnectorRequest, opts ...grpc.CallOption) (*types.GithubConnectorV3, error) { 18054 out := new(types.GithubConnectorV3) 18055 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateGithubConnector", in, out, opts...) 18056 if err != nil { 18057 return nil, err 18058 } 18059 return out, nil 18060 } 18061 18062 // Deprecated: Do not use. 18063 func (c *authServiceClient) UpsertGithubConnector(ctx context.Context, in *types.GithubConnectorV3, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18064 out := new(emptypb.Empty) 18065 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertGithubConnector", in, out, opts...) 18066 if err != nil { 18067 return nil, err 18068 } 18069 return out, nil 18070 } 18071 18072 func (c *authServiceClient) UpsertGithubConnectorV2(ctx context.Context, in *UpsertGithubConnectorRequest, opts ...grpc.CallOption) (*types.GithubConnectorV3, error) { 18073 out := new(types.GithubConnectorV3) 18074 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertGithubConnectorV2", in, out, opts...) 18075 if err != nil { 18076 return nil, err 18077 } 18078 return out, nil 18079 } 18080 18081 func (c *authServiceClient) DeleteGithubConnector(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18082 out := new(emptypb.Empty) 18083 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteGithubConnector", in, out, opts...) 18084 if err != nil { 18085 return nil, err 18086 } 18087 return out, nil 18088 } 18089 18090 func (c *authServiceClient) CreateGithubAuthRequest(ctx context.Context, in *types.GithubAuthRequest, opts ...grpc.CallOption) (*types.GithubAuthRequest, error) { 18091 out := new(types.GithubAuthRequest) 18092 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateGithubAuthRequest", in, out, opts...) 18093 if err != nil { 18094 return nil, err 18095 } 18096 return out, nil 18097 } 18098 18099 func (c *authServiceClient) GetGithubAuthRequest(ctx context.Context, in *GetGithubAuthRequestRequest, opts ...grpc.CallOption) (*types.GithubAuthRequest, error) { 18100 out := new(types.GithubAuthRequest) 18101 err := c.cc.Invoke(ctx, "/proto.AuthService/GetGithubAuthRequest", in, out, opts...) 18102 if err != nil { 18103 return nil, err 18104 } 18105 return out, nil 18106 } 18107 18108 func (c *authServiceClient) GetSSODiagnosticInfo(ctx context.Context, in *GetSSODiagnosticInfoRequest, opts ...grpc.CallOption) (*types.SSODiagnosticInfo, error) { 18109 out := new(types.SSODiagnosticInfo) 18110 err := c.cc.Invoke(ctx, "/proto.AuthService/GetSSODiagnosticInfo", in, out, opts...) 18111 if err != nil { 18112 return nil, err 18113 } 18114 return out, nil 18115 } 18116 18117 func (c *authServiceClient) GetServerInfos(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (AuthService_GetServerInfosClient, error) { 18118 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[14], "/proto.AuthService/GetServerInfos", opts...) 18119 if err != nil { 18120 return nil, err 18121 } 18122 x := &authServiceGetServerInfosClient{stream} 18123 if err := x.ClientStream.SendMsg(in); err != nil { 18124 return nil, err 18125 } 18126 if err := x.ClientStream.CloseSend(); err != nil { 18127 return nil, err 18128 } 18129 return x, nil 18130 } 18131 18132 type AuthService_GetServerInfosClient interface { 18133 Recv() (*types.ServerInfoV1, error) 18134 grpc.ClientStream 18135 } 18136 18137 type authServiceGetServerInfosClient struct { 18138 grpc.ClientStream 18139 } 18140 18141 func (x *authServiceGetServerInfosClient) Recv() (*types.ServerInfoV1, error) { 18142 m := new(types.ServerInfoV1) 18143 if err := x.ClientStream.RecvMsg(m); err != nil { 18144 return nil, err 18145 } 18146 return m, nil 18147 } 18148 18149 func (c *authServiceClient) GetServerInfo(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*types.ServerInfoV1, error) { 18150 out := new(types.ServerInfoV1) 18151 err := c.cc.Invoke(ctx, "/proto.AuthService/GetServerInfo", in, out, opts...) 18152 if err != nil { 18153 return nil, err 18154 } 18155 return out, nil 18156 } 18157 18158 func (c *authServiceClient) UpsertServerInfo(ctx context.Context, in *types.ServerInfoV1, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18159 out := new(emptypb.Empty) 18160 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertServerInfo", in, out, opts...) 18161 if err != nil { 18162 return nil, err 18163 } 18164 return out, nil 18165 } 18166 18167 func (c *authServiceClient) DeleteServerInfo(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18168 out := new(emptypb.Empty) 18169 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteServerInfo", in, out, opts...) 18170 if err != nil { 18171 return nil, err 18172 } 18173 return out, nil 18174 } 18175 18176 func (c *authServiceClient) DeleteAllServerInfos(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18177 out := new(emptypb.Empty) 18178 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllServerInfos", in, out, opts...) 18179 if err != nil { 18180 return nil, err 18181 } 18182 return out, nil 18183 } 18184 18185 func (c *authServiceClient) GetTrustedCluster(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*types.TrustedClusterV2, error) { 18186 out := new(types.TrustedClusterV2) 18187 err := c.cc.Invoke(ctx, "/proto.AuthService/GetTrustedCluster", in, out, opts...) 18188 if err != nil { 18189 return nil, err 18190 } 18191 return out, nil 18192 } 18193 18194 func (c *authServiceClient) GetTrustedClusters(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.TrustedClusterV2List, error) { 18195 out := new(types.TrustedClusterV2List) 18196 err := c.cc.Invoke(ctx, "/proto.AuthService/GetTrustedClusters", in, out, opts...) 18197 if err != nil { 18198 return nil, err 18199 } 18200 return out, nil 18201 } 18202 18203 func (c *authServiceClient) UpsertTrustedCluster(ctx context.Context, in *types.TrustedClusterV2, opts ...grpc.CallOption) (*types.TrustedClusterV2, error) { 18204 out := new(types.TrustedClusterV2) 18205 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertTrustedCluster", in, out, opts...) 18206 if err != nil { 18207 return nil, err 18208 } 18209 return out, nil 18210 } 18211 18212 func (c *authServiceClient) DeleteTrustedCluster(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18213 out := new(emptypb.Empty) 18214 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteTrustedCluster", in, out, opts...) 18215 if err != nil { 18216 return nil, err 18217 } 18218 return out, nil 18219 } 18220 18221 func (c *authServiceClient) GetToken(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*types.ProvisionTokenV2, error) { 18222 out := new(types.ProvisionTokenV2) 18223 err := c.cc.Invoke(ctx, "/proto.AuthService/GetToken", in, out, opts...) 18224 if err != nil { 18225 return nil, err 18226 } 18227 return out, nil 18228 } 18229 18230 func (c *authServiceClient) GetTokens(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.ProvisionTokenV2List, error) { 18231 out := new(types.ProvisionTokenV2List) 18232 err := c.cc.Invoke(ctx, "/proto.AuthService/GetTokens", in, out, opts...) 18233 if err != nil { 18234 return nil, err 18235 } 18236 return out, nil 18237 } 18238 18239 func (c *authServiceClient) CreateTokenV2(ctx context.Context, in *CreateTokenV2Request, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18240 out := new(emptypb.Empty) 18241 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateTokenV2", in, out, opts...) 18242 if err != nil { 18243 return nil, err 18244 } 18245 return out, nil 18246 } 18247 18248 func (c *authServiceClient) UpsertTokenV2(ctx context.Context, in *UpsertTokenV2Request, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18249 out := new(emptypb.Empty) 18250 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertTokenV2", in, out, opts...) 18251 if err != nil { 18252 return nil, err 18253 } 18254 return out, nil 18255 } 18256 18257 func (c *authServiceClient) DeleteToken(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18258 out := new(emptypb.Empty) 18259 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteToken", in, out, opts...) 18260 if err != nil { 18261 return nil, err 18262 } 18263 return out, nil 18264 } 18265 18266 func (c *authServiceClient) GetClusterAuditConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.ClusterAuditConfigV2, error) { 18267 out := new(types.ClusterAuditConfigV2) 18268 err := c.cc.Invoke(ctx, "/proto.AuthService/GetClusterAuditConfig", in, out, opts...) 18269 if err != nil { 18270 return nil, err 18271 } 18272 return out, nil 18273 } 18274 18275 // Deprecated: Do not use. 18276 func (c *authServiceClient) GetClusterNetworkingConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.ClusterNetworkingConfigV2, error) { 18277 out := new(types.ClusterNetworkingConfigV2) 18278 err := c.cc.Invoke(ctx, "/proto.AuthService/GetClusterNetworkingConfig", in, out, opts...) 18279 if err != nil { 18280 return nil, err 18281 } 18282 return out, nil 18283 } 18284 18285 // Deprecated: Do not use. 18286 func (c *authServiceClient) SetClusterNetworkingConfig(ctx context.Context, in *types.ClusterNetworkingConfigV2, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18287 out := new(emptypb.Empty) 18288 err := c.cc.Invoke(ctx, "/proto.AuthService/SetClusterNetworkingConfig", in, out, opts...) 18289 if err != nil { 18290 return nil, err 18291 } 18292 return out, nil 18293 } 18294 18295 // Deprecated: Do not use. 18296 func (c *authServiceClient) ResetClusterNetworkingConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18297 out := new(emptypb.Empty) 18298 err := c.cc.Invoke(ctx, "/proto.AuthService/ResetClusterNetworkingConfig", in, out, opts...) 18299 if err != nil { 18300 return nil, err 18301 } 18302 return out, nil 18303 } 18304 18305 // Deprecated: Do not use. 18306 func (c *authServiceClient) GetSessionRecordingConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.SessionRecordingConfigV2, error) { 18307 out := new(types.SessionRecordingConfigV2) 18308 err := c.cc.Invoke(ctx, "/proto.AuthService/GetSessionRecordingConfig", in, out, opts...) 18309 if err != nil { 18310 return nil, err 18311 } 18312 return out, nil 18313 } 18314 18315 // Deprecated: Do not use. 18316 func (c *authServiceClient) SetSessionRecordingConfig(ctx context.Context, in *types.SessionRecordingConfigV2, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18317 out := new(emptypb.Empty) 18318 err := c.cc.Invoke(ctx, "/proto.AuthService/SetSessionRecordingConfig", in, out, opts...) 18319 if err != nil { 18320 return nil, err 18321 } 18322 return out, nil 18323 } 18324 18325 // Deprecated: Do not use. 18326 func (c *authServiceClient) ResetSessionRecordingConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18327 out := new(emptypb.Empty) 18328 err := c.cc.Invoke(ctx, "/proto.AuthService/ResetSessionRecordingConfig", in, out, opts...) 18329 if err != nil { 18330 return nil, err 18331 } 18332 return out, nil 18333 } 18334 18335 // Deprecated: Do not use. 18336 func (c *authServiceClient) GetAuthPreference(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.AuthPreferenceV2, error) { 18337 out := new(types.AuthPreferenceV2) 18338 err := c.cc.Invoke(ctx, "/proto.AuthService/GetAuthPreference", in, out, opts...) 18339 if err != nil { 18340 return nil, err 18341 } 18342 return out, nil 18343 } 18344 18345 // Deprecated: Do not use. 18346 func (c *authServiceClient) SetAuthPreference(ctx context.Context, in *types.AuthPreferenceV2, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18347 out := new(emptypb.Empty) 18348 err := c.cc.Invoke(ctx, "/proto.AuthService/SetAuthPreference", in, out, opts...) 18349 if err != nil { 18350 return nil, err 18351 } 18352 return out, nil 18353 } 18354 18355 // Deprecated: Do not use. 18356 func (c *authServiceClient) ResetAuthPreference(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18357 out := new(emptypb.Empty) 18358 err := c.cc.Invoke(ctx, "/proto.AuthService/ResetAuthPreference", in, out, opts...) 18359 if err != nil { 18360 return nil, err 18361 } 18362 return out, nil 18363 } 18364 18365 func (c *authServiceClient) GetUIConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.UIConfigV1, error) { 18366 out := new(types.UIConfigV1) 18367 err := c.cc.Invoke(ctx, "/proto.AuthService/GetUIConfig", in, out, opts...) 18368 if err != nil { 18369 return nil, err 18370 } 18371 return out, nil 18372 } 18373 18374 func (c *authServiceClient) SetUIConfig(ctx context.Context, in *types.UIConfigV1, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18375 out := new(emptypb.Empty) 18376 err := c.cc.Invoke(ctx, "/proto.AuthService/SetUIConfig", in, out, opts...) 18377 if err != nil { 18378 return nil, err 18379 } 18380 return out, nil 18381 } 18382 18383 func (c *authServiceClient) DeleteUIConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18384 out := new(emptypb.Empty) 18385 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteUIConfig", in, out, opts...) 18386 if err != nil { 18387 return nil, err 18388 } 18389 return out, nil 18390 } 18391 18392 func (c *authServiceClient) GetEvents(ctx context.Context, in *GetEventsRequest, opts ...grpc.CallOption) (*Events, error) { 18393 out := new(Events) 18394 err := c.cc.Invoke(ctx, "/proto.AuthService/GetEvents", in, out, opts...) 18395 if err != nil { 18396 return nil, err 18397 } 18398 return out, nil 18399 } 18400 18401 func (c *authServiceClient) GetSessionEvents(ctx context.Context, in *GetSessionEventsRequest, opts ...grpc.CallOption) (*Events, error) { 18402 out := new(Events) 18403 err := c.cc.Invoke(ctx, "/proto.AuthService/GetSessionEvents", in, out, opts...) 18404 if err != nil { 18405 return nil, err 18406 } 18407 return out, nil 18408 } 18409 18410 func (c *authServiceClient) GetLock(ctx context.Context, in *GetLockRequest, opts ...grpc.CallOption) (*types.LockV2, error) { 18411 out := new(types.LockV2) 18412 err := c.cc.Invoke(ctx, "/proto.AuthService/GetLock", in, out, opts...) 18413 if err != nil { 18414 return nil, err 18415 } 18416 return out, nil 18417 } 18418 18419 func (c *authServiceClient) GetLocks(ctx context.Context, in *GetLocksRequest, opts ...grpc.CallOption) (*GetLocksResponse, error) { 18420 out := new(GetLocksResponse) 18421 err := c.cc.Invoke(ctx, "/proto.AuthService/GetLocks", in, out, opts...) 18422 if err != nil { 18423 return nil, err 18424 } 18425 return out, nil 18426 } 18427 18428 func (c *authServiceClient) UpsertLock(ctx context.Context, in *types.LockV2, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18429 out := new(emptypb.Empty) 18430 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertLock", in, out, opts...) 18431 if err != nil { 18432 return nil, err 18433 } 18434 return out, nil 18435 } 18436 18437 func (c *authServiceClient) DeleteLock(ctx context.Context, in *DeleteLockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18438 out := new(emptypb.Empty) 18439 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteLock", in, out, opts...) 18440 if err != nil { 18441 return nil, err 18442 } 18443 return out, nil 18444 } 18445 18446 func (c *authServiceClient) ReplaceRemoteLocks(ctx context.Context, in *ReplaceRemoteLocksRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18447 out := new(emptypb.Empty) 18448 err := c.cc.Invoke(ctx, "/proto.AuthService/ReplaceRemoteLocks", in, out, opts...) 18449 if err != nil { 18450 return nil, err 18451 } 18452 return out, nil 18453 } 18454 18455 func (c *authServiceClient) StreamSessionEvents(ctx context.Context, in *StreamSessionEventsRequest, opts ...grpc.CallOption) (AuthService_StreamSessionEventsClient, error) { 18456 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[15], "/proto.AuthService/StreamSessionEvents", opts...) 18457 if err != nil { 18458 return nil, err 18459 } 18460 x := &authServiceStreamSessionEventsClient{stream} 18461 if err := x.ClientStream.SendMsg(in); err != nil { 18462 return nil, err 18463 } 18464 if err := x.ClientStream.CloseSend(); err != nil { 18465 return nil, err 18466 } 18467 return x, nil 18468 } 18469 18470 type AuthService_StreamSessionEventsClient interface { 18471 Recv() (*events.OneOf, error) 18472 grpc.ClientStream 18473 } 18474 18475 type authServiceStreamSessionEventsClient struct { 18476 grpc.ClientStream 18477 } 18478 18479 func (x *authServiceStreamSessionEventsClient) Recv() (*events.OneOf, error) { 18480 m := new(events.OneOf) 18481 if err := x.ClientStream.RecvMsg(m); err != nil { 18482 return nil, err 18483 } 18484 return m, nil 18485 } 18486 18487 func (c *authServiceClient) GetNetworkRestrictions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.NetworkRestrictionsV4, error) { 18488 out := new(types.NetworkRestrictionsV4) 18489 err := c.cc.Invoke(ctx, "/proto.AuthService/GetNetworkRestrictions", in, out, opts...) 18490 if err != nil { 18491 return nil, err 18492 } 18493 return out, nil 18494 } 18495 18496 func (c *authServiceClient) SetNetworkRestrictions(ctx context.Context, in *types.NetworkRestrictionsV4, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18497 out := new(emptypb.Empty) 18498 err := c.cc.Invoke(ctx, "/proto.AuthService/SetNetworkRestrictions", in, out, opts...) 18499 if err != nil { 18500 return nil, err 18501 } 18502 return out, nil 18503 } 18504 18505 func (c *authServiceClient) DeleteNetworkRestrictions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18506 out := new(emptypb.Empty) 18507 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteNetworkRestrictions", in, out, opts...) 18508 if err != nil { 18509 return nil, err 18510 } 18511 return out, nil 18512 } 18513 18514 func (c *authServiceClient) GetApps(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.AppV3List, error) { 18515 out := new(types.AppV3List) 18516 err := c.cc.Invoke(ctx, "/proto.AuthService/GetApps", in, out, opts...) 18517 if err != nil { 18518 return nil, err 18519 } 18520 return out, nil 18521 } 18522 18523 func (c *authServiceClient) GetApp(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*types.AppV3, error) { 18524 out := new(types.AppV3) 18525 err := c.cc.Invoke(ctx, "/proto.AuthService/GetApp", in, out, opts...) 18526 if err != nil { 18527 return nil, err 18528 } 18529 return out, nil 18530 } 18531 18532 func (c *authServiceClient) CreateApp(ctx context.Context, in *types.AppV3, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18533 out := new(emptypb.Empty) 18534 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateApp", in, out, opts...) 18535 if err != nil { 18536 return nil, err 18537 } 18538 return out, nil 18539 } 18540 18541 func (c *authServiceClient) UpdateApp(ctx context.Context, in *types.AppV3, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18542 out := new(emptypb.Empty) 18543 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateApp", in, out, opts...) 18544 if err != nil { 18545 return nil, err 18546 } 18547 return out, nil 18548 } 18549 18550 func (c *authServiceClient) DeleteApp(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18551 out := new(emptypb.Empty) 18552 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteApp", in, out, opts...) 18553 if err != nil { 18554 return nil, err 18555 } 18556 return out, nil 18557 } 18558 18559 func (c *authServiceClient) DeleteAllApps(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18560 out := new(emptypb.Empty) 18561 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllApps", in, out, opts...) 18562 if err != nil { 18563 return nil, err 18564 } 18565 return out, nil 18566 } 18567 18568 func (c *authServiceClient) GetDatabases(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.DatabaseV3List, error) { 18569 out := new(types.DatabaseV3List) 18570 err := c.cc.Invoke(ctx, "/proto.AuthService/GetDatabases", in, out, opts...) 18571 if err != nil { 18572 return nil, err 18573 } 18574 return out, nil 18575 } 18576 18577 func (c *authServiceClient) GetDatabase(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*types.DatabaseV3, error) { 18578 out := new(types.DatabaseV3) 18579 err := c.cc.Invoke(ctx, "/proto.AuthService/GetDatabase", in, out, opts...) 18580 if err != nil { 18581 return nil, err 18582 } 18583 return out, nil 18584 } 18585 18586 func (c *authServiceClient) CreateDatabase(ctx context.Context, in *types.DatabaseV3, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18587 out := new(emptypb.Empty) 18588 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateDatabase", in, out, opts...) 18589 if err != nil { 18590 return nil, err 18591 } 18592 return out, nil 18593 } 18594 18595 func (c *authServiceClient) UpdateDatabase(ctx context.Context, in *types.DatabaseV3, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18596 out := new(emptypb.Empty) 18597 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateDatabase", in, out, opts...) 18598 if err != nil { 18599 return nil, err 18600 } 18601 return out, nil 18602 } 18603 18604 func (c *authServiceClient) DeleteDatabase(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18605 out := new(emptypb.Empty) 18606 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteDatabase", in, out, opts...) 18607 if err != nil { 18608 return nil, err 18609 } 18610 return out, nil 18611 } 18612 18613 func (c *authServiceClient) DeleteAllDatabases(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18614 out := new(emptypb.Empty) 18615 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllDatabases", in, out, opts...) 18616 if err != nil { 18617 return nil, err 18618 } 18619 return out, nil 18620 } 18621 18622 func (c *authServiceClient) GetKubernetesClusters(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.KubernetesClusterV3List, error) { 18623 out := new(types.KubernetesClusterV3List) 18624 err := c.cc.Invoke(ctx, "/proto.AuthService/GetKubernetesClusters", in, out, opts...) 18625 if err != nil { 18626 return nil, err 18627 } 18628 return out, nil 18629 } 18630 18631 func (c *authServiceClient) GetKubernetesCluster(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*types.KubernetesClusterV3, error) { 18632 out := new(types.KubernetesClusterV3) 18633 err := c.cc.Invoke(ctx, "/proto.AuthService/GetKubernetesCluster", in, out, opts...) 18634 if err != nil { 18635 return nil, err 18636 } 18637 return out, nil 18638 } 18639 18640 func (c *authServiceClient) CreateKubernetesCluster(ctx context.Context, in *types.KubernetesClusterV3, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18641 out := new(emptypb.Empty) 18642 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateKubernetesCluster", in, out, opts...) 18643 if err != nil { 18644 return nil, err 18645 } 18646 return out, nil 18647 } 18648 18649 func (c *authServiceClient) UpdateKubernetesCluster(ctx context.Context, in *types.KubernetesClusterV3, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18650 out := new(emptypb.Empty) 18651 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateKubernetesCluster", in, out, opts...) 18652 if err != nil { 18653 return nil, err 18654 } 18655 return out, nil 18656 } 18657 18658 func (c *authServiceClient) DeleteKubernetesCluster(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18659 out := new(emptypb.Empty) 18660 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteKubernetesCluster", in, out, opts...) 18661 if err != nil { 18662 return nil, err 18663 } 18664 return out, nil 18665 } 18666 18667 func (c *authServiceClient) DeleteAllKubernetesClusters(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18668 out := new(emptypb.Empty) 18669 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllKubernetesClusters", in, out, opts...) 18670 if err != nil { 18671 return nil, err 18672 } 18673 return out, nil 18674 } 18675 18676 func (c *authServiceClient) GetWindowsDesktopServices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetWindowsDesktopServicesResponse, error) { 18677 out := new(GetWindowsDesktopServicesResponse) 18678 err := c.cc.Invoke(ctx, "/proto.AuthService/GetWindowsDesktopServices", in, out, opts...) 18679 if err != nil { 18680 return nil, err 18681 } 18682 return out, nil 18683 } 18684 18685 func (c *authServiceClient) GetWindowsDesktopService(ctx context.Context, in *GetWindowsDesktopServiceRequest, opts ...grpc.CallOption) (*GetWindowsDesktopServiceResponse, error) { 18686 out := new(GetWindowsDesktopServiceResponse) 18687 err := c.cc.Invoke(ctx, "/proto.AuthService/GetWindowsDesktopService", in, out, opts...) 18688 if err != nil { 18689 return nil, err 18690 } 18691 return out, nil 18692 } 18693 18694 func (c *authServiceClient) UpsertWindowsDesktopService(ctx context.Context, in *types.WindowsDesktopServiceV3, opts ...grpc.CallOption) (*types.KeepAlive, error) { 18695 out := new(types.KeepAlive) 18696 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertWindowsDesktopService", in, out, opts...) 18697 if err != nil { 18698 return nil, err 18699 } 18700 return out, nil 18701 } 18702 18703 func (c *authServiceClient) DeleteWindowsDesktopService(ctx context.Context, in *DeleteWindowsDesktopServiceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18704 out := new(emptypb.Empty) 18705 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteWindowsDesktopService", in, out, opts...) 18706 if err != nil { 18707 return nil, err 18708 } 18709 return out, nil 18710 } 18711 18712 func (c *authServiceClient) DeleteAllWindowsDesktopServices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18713 out := new(emptypb.Empty) 18714 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllWindowsDesktopServices", in, out, opts...) 18715 if err != nil { 18716 return nil, err 18717 } 18718 return out, nil 18719 } 18720 18721 func (c *authServiceClient) GetWindowsDesktops(ctx context.Context, in *types.WindowsDesktopFilter, opts ...grpc.CallOption) (*GetWindowsDesktopsResponse, error) { 18722 out := new(GetWindowsDesktopsResponse) 18723 err := c.cc.Invoke(ctx, "/proto.AuthService/GetWindowsDesktops", in, out, opts...) 18724 if err != nil { 18725 return nil, err 18726 } 18727 return out, nil 18728 } 18729 18730 func (c *authServiceClient) CreateWindowsDesktop(ctx context.Context, in *types.WindowsDesktopV3, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18731 out := new(emptypb.Empty) 18732 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateWindowsDesktop", in, out, opts...) 18733 if err != nil { 18734 return nil, err 18735 } 18736 return out, nil 18737 } 18738 18739 func (c *authServiceClient) UpdateWindowsDesktop(ctx context.Context, in *types.WindowsDesktopV3, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18740 out := new(emptypb.Empty) 18741 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateWindowsDesktop", in, out, opts...) 18742 if err != nil { 18743 return nil, err 18744 } 18745 return out, nil 18746 } 18747 18748 func (c *authServiceClient) UpsertWindowsDesktop(ctx context.Context, in *types.WindowsDesktopV3, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18749 out := new(emptypb.Empty) 18750 err := c.cc.Invoke(ctx, "/proto.AuthService/UpsertWindowsDesktop", in, out, opts...) 18751 if err != nil { 18752 return nil, err 18753 } 18754 return out, nil 18755 } 18756 18757 func (c *authServiceClient) DeleteWindowsDesktop(ctx context.Context, in *DeleteWindowsDesktopRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18758 out := new(emptypb.Empty) 18759 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteWindowsDesktop", in, out, opts...) 18760 if err != nil { 18761 return nil, err 18762 } 18763 return out, nil 18764 } 18765 18766 func (c *authServiceClient) DeleteAllWindowsDesktops(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18767 out := new(emptypb.Empty) 18768 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllWindowsDesktops", in, out, opts...) 18769 if err != nil { 18770 return nil, err 18771 } 18772 return out, nil 18773 } 18774 18775 func (c *authServiceClient) GenerateWindowsDesktopCert(ctx context.Context, in *WindowsDesktopCertRequest, opts ...grpc.CallOption) (*WindowsDesktopCertResponse, error) { 18776 out := new(WindowsDesktopCertResponse) 18777 err := c.cc.Invoke(ctx, "/proto.AuthService/GenerateWindowsDesktopCert", in, out, opts...) 18778 if err != nil { 18779 return nil, err 18780 } 18781 return out, nil 18782 } 18783 18784 func (c *authServiceClient) GenerateCertAuthorityCRL(ctx context.Context, in *CertAuthorityRequest, opts ...grpc.CallOption) (*CRL, error) { 18785 out := new(CRL) 18786 err := c.cc.Invoke(ctx, "/proto.AuthService/GenerateCertAuthorityCRL", in, out, opts...) 18787 if err != nil { 18788 return nil, err 18789 } 18790 return out, nil 18791 } 18792 18793 func (c *authServiceClient) CreateConnectionDiagnostic(ctx context.Context, in *types.ConnectionDiagnosticV1, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18794 out := new(emptypb.Empty) 18795 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateConnectionDiagnostic", in, out, opts...) 18796 if err != nil { 18797 return nil, err 18798 } 18799 return out, nil 18800 } 18801 18802 func (c *authServiceClient) UpdateConnectionDiagnostic(ctx context.Context, in *types.ConnectionDiagnosticV1, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18803 out := new(emptypb.Empty) 18804 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateConnectionDiagnostic", in, out, opts...) 18805 if err != nil { 18806 return nil, err 18807 } 18808 return out, nil 18809 } 18810 18811 func (c *authServiceClient) GetConnectionDiagnostic(ctx context.Context, in *GetConnectionDiagnosticRequest, opts ...grpc.CallOption) (*types.ConnectionDiagnosticV1, error) { 18812 out := new(types.ConnectionDiagnosticV1) 18813 err := c.cc.Invoke(ctx, "/proto.AuthService/GetConnectionDiagnostic", in, out, opts...) 18814 if err != nil { 18815 return nil, err 18816 } 18817 return out, nil 18818 } 18819 18820 func (c *authServiceClient) AppendDiagnosticTrace(ctx context.Context, in *AppendDiagnosticTraceRequest, opts ...grpc.CallOption) (*types.ConnectionDiagnosticV1, error) { 18821 out := new(types.ConnectionDiagnosticV1) 18822 err := c.cc.Invoke(ctx, "/proto.AuthService/AppendDiagnosticTrace", in, out, opts...) 18823 if err != nil { 18824 return nil, err 18825 } 18826 return out, nil 18827 } 18828 18829 func (c *authServiceClient) ChangeUserAuthentication(ctx context.Context, in *ChangeUserAuthenticationRequest, opts ...grpc.CallOption) (*ChangeUserAuthenticationResponse, error) { 18830 out := new(ChangeUserAuthenticationResponse) 18831 err := c.cc.Invoke(ctx, "/proto.AuthService/ChangeUserAuthentication", in, out, opts...) 18832 if err != nil { 18833 return nil, err 18834 } 18835 return out, nil 18836 } 18837 18838 func (c *authServiceClient) StartAccountRecovery(ctx context.Context, in *StartAccountRecoveryRequest, opts ...grpc.CallOption) (*types.UserTokenV3, error) { 18839 out := new(types.UserTokenV3) 18840 err := c.cc.Invoke(ctx, "/proto.AuthService/StartAccountRecovery", in, out, opts...) 18841 if err != nil { 18842 return nil, err 18843 } 18844 return out, nil 18845 } 18846 18847 func (c *authServiceClient) VerifyAccountRecovery(ctx context.Context, in *VerifyAccountRecoveryRequest, opts ...grpc.CallOption) (*types.UserTokenV3, error) { 18848 out := new(types.UserTokenV3) 18849 err := c.cc.Invoke(ctx, "/proto.AuthService/VerifyAccountRecovery", in, out, opts...) 18850 if err != nil { 18851 return nil, err 18852 } 18853 return out, nil 18854 } 18855 18856 func (c *authServiceClient) CompleteAccountRecovery(ctx context.Context, in *CompleteAccountRecoveryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18857 out := new(emptypb.Empty) 18858 err := c.cc.Invoke(ctx, "/proto.AuthService/CompleteAccountRecovery", in, out, opts...) 18859 if err != nil { 18860 return nil, err 18861 } 18862 return out, nil 18863 } 18864 18865 func (c *authServiceClient) CreateAccountRecoveryCodes(ctx context.Context, in *CreateAccountRecoveryCodesRequest, opts ...grpc.CallOption) (*RecoveryCodes, error) { 18866 out := new(RecoveryCodes) 18867 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateAccountRecoveryCodes", in, out, opts...) 18868 if err != nil { 18869 return nil, err 18870 } 18871 return out, nil 18872 } 18873 18874 func (c *authServiceClient) GetAccountRecoveryToken(ctx context.Context, in *GetAccountRecoveryTokenRequest, opts ...grpc.CallOption) (*types.UserTokenV3, error) { 18875 out := new(types.UserTokenV3) 18876 err := c.cc.Invoke(ctx, "/proto.AuthService/GetAccountRecoveryToken", in, out, opts...) 18877 if err != nil { 18878 return nil, err 18879 } 18880 return out, nil 18881 } 18882 18883 func (c *authServiceClient) GetAccountRecoveryCodes(ctx context.Context, in *GetAccountRecoveryCodesRequest, opts ...grpc.CallOption) (*RecoveryCodes, error) { 18884 out := new(RecoveryCodes) 18885 err := c.cc.Invoke(ctx, "/proto.AuthService/GetAccountRecoveryCodes", in, out, opts...) 18886 if err != nil { 18887 return nil, err 18888 } 18889 return out, nil 18890 } 18891 18892 func (c *authServiceClient) CreatePrivilegeToken(ctx context.Context, in *CreatePrivilegeTokenRequest, opts ...grpc.CallOption) (*types.UserTokenV3, error) { 18893 out := new(types.UserTokenV3) 18894 err := c.cc.Invoke(ctx, "/proto.AuthService/CreatePrivilegeToken", in, out, opts...) 18895 if err != nil { 18896 return nil, err 18897 } 18898 return out, nil 18899 } 18900 18901 func (c *authServiceClient) GetInstaller(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*types.InstallerV1, error) { 18902 out := new(types.InstallerV1) 18903 err := c.cc.Invoke(ctx, "/proto.AuthService/GetInstaller", in, out, opts...) 18904 if err != nil { 18905 return nil, err 18906 } 18907 return out, nil 18908 } 18909 18910 func (c *authServiceClient) GetInstallers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.InstallerV1List, error) { 18911 out := new(types.InstallerV1List) 18912 err := c.cc.Invoke(ctx, "/proto.AuthService/GetInstallers", in, out, opts...) 18913 if err != nil { 18914 return nil, err 18915 } 18916 return out, nil 18917 } 18918 18919 func (c *authServiceClient) SetInstaller(ctx context.Context, in *types.InstallerV1, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18920 out := new(emptypb.Empty) 18921 err := c.cc.Invoke(ctx, "/proto.AuthService/SetInstaller", in, out, opts...) 18922 if err != nil { 18923 return nil, err 18924 } 18925 return out, nil 18926 } 18927 18928 func (c *authServiceClient) DeleteInstaller(ctx context.Context, in *types.ResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18929 out := new(emptypb.Empty) 18930 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteInstaller", in, out, opts...) 18931 if err != nil { 18932 return nil, err 18933 } 18934 return out, nil 18935 } 18936 18937 func (c *authServiceClient) DeleteAllInstallers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18938 out := new(emptypb.Empty) 18939 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllInstallers", in, out, opts...) 18940 if err != nil { 18941 return nil, err 18942 } 18943 return out, nil 18944 } 18945 18946 func (c *authServiceClient) ListResources(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error) { 18947 out := new(ListResourcesResponse) 18948 err := c.cc.Invoke(ctx, "/proto.AuthService/ListResources", in, out, opts...) 18949 if err != nil { 18950 return nil, err 18951 } 18952 return out, nil 18953 } 18954 18955 func (c *authServiceClient) ListUnifiedResources(ctx context.Context, in *ListUnifiedResourcesRequest, opts ...grpc.CallOption) (*ListUnifiedResourcesResponse, error) { 18956 out := new(ListUnifiedResourcesResponse) 18957 err := c.cc.Invoke(ctx, "/proto.AuthService/ListUnifiedResources", in, out, opts...) 18958 if err != nil { 18959 return nil, err 18960 } 18961 return out, nil 18962 } 18963 18964 func (c *authServiceClient) GetSSHTargets(ctx context.Context, in *GetSSHTargetsRequest, opts ...grpc.CallOption) (*GetSSHTargetsResponse, error) { 18965 out := new(GetSSHTargetsResponse) 18966 err := c.cc.Invoke(ctx, "/proto.AuthService/GetSSHTargets", in, out, opts...) 18967 if err != nil { 18968 return nil, err 18969 } 18970 return out, nil 18971 } 18972 18973 func (c *authServiceClient) GetDomainName(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetDomainNameResponse, error) { 18974 out := new(GetDomainNameResponse) 18975 err := c.cc.Invoke(ctx, "/proto.AuthService/GetDomainName", in, out, opts...) 18976 if err != nil { 18977 return nil, err 18978 } 18979 return out, nil 18980 } 18981 18982 func (c *authServiceClient) GetClusterCACert(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetClusterCACertResponse, error) { 18983 out := new(GetClusterCACertResponse) 18984 err := c.cc.Invoke(ctx, "/proto.AuthService/GetClusterCACert", in, out, opts...) 18985 if err != nil { 18986 return nil, err 18987 } 18988 return out, nil 18989 } 18990 18991 func (c *authServiceClient) SubmitUsageEvent(ctx context.Context, in *SubmitUsageEventRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 18992 out := new(emptypb.Empty) 18993 err := c.cc.Invoke(ctx, "/proto.AuthService/SubmitUsageEvent", in, out, opts...) 18994 if err != nil { 18995 return nil, err 18996 } 18997 return out, nil 18998 } 18999 19000 func (c *authServiceClient) GetLicense(ctx context.Context, in *GetLicenseRequest, opts ...grpc.CallOption) (*GetLicenseResponse, error) { 19001 out := new(GetLicenseResponse) 19002 err := c.cc.Invoke(ctx, "/proto.AuthService/GetLicense", in, out, opts...) 19003 if err != nil { 19004 return nil, err 19005 } 19006 return out, nil 19007 } 19008 19009 func (c *authServiceClient) ListReleases(ctx context.Context, in *ListReleasesRequest, opts ...grpc.CallOption) (*ListReleasesResponse, error) { 19010 out := new(ListReleasesResponse) 19011 err := c.cc.Invoke(ctx, "/proto.AuthService/ListReleases", in, out, opts...) 19012 if err != nil { 19013 return nil, err 19014 } 19015 return out, nil 19016 } 19017 19018 func (c *authServiceClient) ListSAMLIdPServiceProviders(ctx context.Context, in *ListSAMLIdPServiceProvidersRequest, opts ...grpc.CallOption) (*ListSAMLIdPServiceProvidersResponse, error) { 19019 out := new(ListSAMLIdPServiceProvidersResponse) 19020 err := c.cc.Invoke(ctx, "/proto.AuthService/ListSAMLIdPServiceProviders", in, out, opts...) 19021 if err != nil { 19022 return nil, err 19023 } 19024 return out, nil 19025 } 19026 19027 func (c *authServiceClient) GetSAMLIdPServiceProvider(ctx context.Context, in *GetSAMLIdPServiceProviderRequest, opts ...grpc.CallOption) (*types.SAMLIdPServiceProviderV1, error) { 19028 out := new(types.SAMLIdPServiceProviderV1) 19029 err := c.cc.Invoke(ctx, "/proto.AuthService/GetSAMLIdPServiceProvider", in, out, opts...) 19030 if err != nil { 19031 return nil, err 19032 } 19033 return out, nil 19034 } 19035 19036 func (c *authServiceClient) CreateSAMLIdPServiceProvider(ctx context.Context, in *types.SAMLIdPServiceProviderV1, opts ...grpc.CallOption) (*emptypb.Empty, error) { 19037 out := new(emptypb.Empty) 19038 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateSAMLIdPServiceProvider", in, out, opts...) 19039 if err != nil { 19040 return nil, err 19041 } 19042 return out, nil 19043 } 19044 19045 func (c *authServiceClient) UpdateSAMLIdPServiceProvider(ctx context.Context, in *types.SAMLIdPServiceProviderV1, opts ...grpc.CallOption) (*emptypb.Empty, error) { 19046 out := new(emptypb.Empty) 19047 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateSAMLIdPServiceProvider", in, out, opts...) 19048 if err != nil { 19049 return nil, err 19050 } 19051 return out, nil 19052 } 19053 19054 func (c *authServiceClient) DeleteSAMLIdPServiceProvider(ctx context.Context, in *DeleteSAMLIdPServiceProviderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 19055 out := new(emptypb.Empty) 19056 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteSAMLIdPServiceProvider", in, out, opts...) 19057 if err != nil { 19058 return nil, err 19059 } 19060 return out, nil 19061 } 19062 19063 func (c *authServiceClient) DeleteAllSAMLIdPServiceProviders(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 19064 out := new(emptypb.Empty) 19065 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllSAMLIdPServiceProviders", in, out, opts...) 19066 if err != nil { 19067 return nil, err 19068 } 19069 return out, nil 19070 } 19071 19072 func (c *authServiceClient) ListUserGroups(ctx context.Context, in *ListUserGroupsRequest, opts ...grpc.CallOption) (*ListUserGroupsResponse, error) { 19073 out := new(ListUserGroupsResponse) 19074 err := c.cc.Invoke(ctx, "/proto.AuthService/ListUserGroups", in, out, opts...) 19075 if err != nil { 19076 return nil, err 19077 } 19078 return out, nil 19079 } 19080 19081 func (c *authServiceClient) GetUserGroup(ctx context.Context, in *GetUserGroupRequest, opts ...grpc.CallOption) (*types.UserGroupV1, error) { 19082 out := new(types.UserGroupV1) 19083 err := c.cc.Invoke(ctx, "/proto.AuthService/GetUserGroup", in, out, opts...) 19084 if err != nil { 19085 return nil, err 19086 } 19087 return out, nil 19088 } 19089 19090 func (c *authServiceClient) CreateUserGroup(ctx context.Context, in *types.UserGroupV1, opts ...grpc.CallOption) (*emptypb.Empty, error) { 19091 out := new(emptypb.Empty) 19092 err := c.cc.Invoke(ctx, "/proto.AuthService/CreateUserGroup", in, out, opts...) 19093 if err != nil { 19094 return nil, err 19095 } 19096 return out, nil 19097 } 19098 19099 func (c *authServiceClient) UpdateUserGroup(ctx context.Context, in *types.UserGroupV1, opts ...grpc.CallOption) (*emptypb.Empty, error) { 19100 out := new(emptypb.Empty) 19101 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateUserGroup", in, out, opts...) 19102 if err != nil { 19103 return nil, err 19104 } 19105 return out, nil 19106 } 19107 19108 func (c *authServiceClient) DeleteUserGroup(ctx context.Context, in *DeleteUserGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 19109 out := new(emptypb.Empty) 19110 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteUserGroup", in, out, opts...) 19111 if err != nil { 19112 return nil, err 19113 } 19114 return out, nil 19115 } 19116 19117 func (c *authServiceClient) DeleteAllUserGroups(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 19118 out := new(emptypb.Empty) 19119 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteAllUserGroups", in, out, opts...) 19120 if err != nil { 19121 return nil, err 19122 } 19123 return out, nil 19124 } 19125 19126 func (c *authServiceClient) GetHeadlessAuthentication(ctx context.Context, in *GetHeadlessAuthenticationRequest, opts ...grpc.CallOption) (*types.HeadlessAuthentication, error) { 19127 out := new(types.HeadlessAuthentication) 19128 err := c.cc.Invoke(ctx, "/proto.AuthService/GetHeadlessAuthentication", in, out, opts...) 19129 if err != nil { 19130 return nil, err 19131 } 19132 return out, nil 19133 } 19134 19135 func (c *authServiceClient) WatchPendingHeadlessAuthentications(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (AuthService_WatchPendingHeadlessAuthenticationsClient, error) { 19136 stream, err := c.cc.NewStream(ctx, &_AuthService_serviceDesc.Streams[16], "/proto.AuthService/WatchPendingHeadlessAuthentications", opts...) 19137 if err != nil { 19138 return nil, err 19139 } 19140 x := &authServiceWatchPendingHeadlessAuthenticationsClient{stream} 19141 if err := x.ClientStream.SendMsg(in); err != nil { 19142 return nil, err 19143 } 19144 if err := x.ClientStream.CloseSend(); err != nil { 19145 return nil, err 19146 } 19147 return x, nil 19148 } 19149 19150 type AuthService_WatchPendingHeadlessAuthenticationsClient interface { 19151 Recv() (*Event, error) 19152 grpc.ClientStream 19153 } 19154 19155 type authServiceWatchPendingHeadlessAuthenticationsClient struct { 19156 grpc.ClientStream 19157 } 19158 19159 func (x *authServiceWatchPendingHeadlessAuthenticationsClient) Recv() (*Event, error) { 19160 m := new(Event) 19161 if err := x.ClientStream.RecvMsg(m); err != nil { 19162 return nil, err 19163 } 19164 return m, nil 19165 } 19166 19167 func (c *authServiceClient) UpdateHeadlessAuthenticationState(ctx context.Context, in *UpdateHeadlessAuthenticationStateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 19168 out := new(emptypb.Empty) 19169 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateHeadlessAuthenticationState", in, out, opts...) 19170 if err != nil { 19171 return nil, err 19172 } 19173 return out, nil 19174 } 19175 19176 func (c *authServiceClient) ExportUpgradeWindows(ctx context.Context, in *ExportUpgradeWindowsRequest, opts ...grpc.CallOption) (*ExportUpgradeWindowsResponse, error) { 19177 out := new(ExportUpgradeWindowsResponse) 19178 err := c.cc.Invoke(ctx, "/proto.AuthService/ExportUpgradeWindows", in, out, opts...) 19179 if err != nil { 19180 return nil, err 19181 } 19182 return out, nil 19183 } 19184 19185 func (c *authServiceClient) GetClusterMaintenanceConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*types.ClusterMaintenanceConfigV1, error) { 19186 out := new(types.ClusterMaintenanceConfigV1) 19187 err := c.cc.Invoke(ctx, "/proto.AuthService/GetClusterMaintenanceConfig", in, out, opts...) 19188 if err != nil { 19189 return nil, err 19190 } 19191 return out, nil 19192 } 19193 19194 func (c *authServiceClient) UpdateClusterMaintenanceConfig(ctx context.Context, in *types.ClusterMaintenanceConfigV1, opts ...grpc.CallOption) (*emptypb.Empty, error) { 19195 out := new(emptypb.Empty) 19196 err := c.cc.Invoke(ctx, "/proto.AuthService/UpdateClusterMaintenanceConfig", in, out, opts...) 19197 if err != nil { 19198 return nil, err 19199 } 19200 return out, nil 19201 } 19202 19203 func (c *authServiceClient) DeleteClusterMaintenanceConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) { 19204 out := new(emptypb.Empty) 19205 err := c.cc.Invoke(ctx, "/proto.AuthService/DeleteClusterMaintenanceConfig", in, out, opts...) 19206 if err != nil { 19207 return nil, err 19208 } 19209 return out, nil 19210 } 19211 19212 // AuthServiceServer is the server API for AuthService service. 19213 type AuthServiceServer interface { 19214 // InventoryControlStream is the per-instance stream used to advertise teleport instance 19215 // presence/version/etc to the auth server. 19216 InventoryControlStream(AuthService_InventoryControlStreamServer) error 19217 // GetInventoryStatus gets information about current instance inventory. 19218 GetInventoryStatus(context.Context, *InventoryStatusRequest) (*InventoryStatusSummary, error) 19219 // GetInventoryConnectedServiceCounts returns the counts of each connected service seen in the inventory. 19220 GetInventoryConnectedServiceCounts(context.Context, *InventoryConnectedServiceCountsRequest) (*InventoryConnectedServiceCounts, error) 19221 // PingInventory attempts to trigger a downstream inventory ping (used in testing/debug). 19222 PingInventory(context.Context, *InventoryPingRequest) (*InventoryPingResponse, error) 19223 // GetInstances streams all instances matching the specified filter. 19224 GetInstances(*types.InstanceFilter, AuthService_GetInstancesServer) error 19225 // GetClusterAlerts loads cluster-level alert messages. 19226 GetClusterAlerts(context.Context, *types.GetClusterAlertsRequest) (*GetClusterAlertsResponse, error) 19227 // UpsertClusterAlert creates a cluster alert. 19228 UpsertClusterAlert(context.Context, *UpsertClusterAlertRequest) (*emptypb.Empty, error) 19229 // CreateAlertAck marks a cluster alert as acknowledged. 19230 CreateAlertAck(context.Context, *types.AlertAcknowledgement) (*emptypb.Empty, error) 19231 // GetAlertAcks gets active alert ackowledgements. 19232 GetAlertAcks(context.Context, *GetAlertAcksRequest) (*GetAlertAcksResponse, error) 19233 // ClearAlertAcks clears alert acknowledgments. 19234 ClearAlertAcks(context.Context, *ClearAlertAcksRequest) (*emptypb.Empty, error) 19235 // MaintainSessionPresence establishes a channel used to continously verify the presence for a 19236 // session. 19237 MaintainSessionPresence(AuthService_MaintainSessionPresenceServer) error 19238 // CreateSessionTracker creates a new session tracker resource. 19239 CreateSessionTracker(context.Context, *CreateSessionTrackerRequest) (*types.SessionTrackerV1, error) 19240 // GetSessionTracker fetches a session tracker resource. 19241 GetSessionTracker(context.Context, *GetSessionTrackerRequest) (*types.SessionTrackerV1, error) 19242 // GetActiveSessionTrackers returns a list of active sessions. 19243 GetActiveSessionTrackers(*emptypb.Empty, AuthService_GetActiveSessionTrackersServer) error 19244 // GetActiveSessionTrackersWithFilter returns a list of active sessions filtered by a filter. 19245 GetActiveSessionTrackersWithFilter(*types.SessionTrackerFilter, AuthService_GetActiveSessionTrackersWithFilterServer) error 19246 // RemoveSessionTracker removes a session tracker resource. 19247 RemoveSessionTracker(context.Context, *RemoveSessionTrackerRequest) (*emptypb.Empty, error) 19248 // UpdateSessionTracker updates some state of a session tracker. 19249 UpdateSessionTracker(context.Context, *UpdateSessionTrackerRequest) (*emptypb.Empty, error) 19250 // SendKeepAlives allows node to send a stream of keep alive requests 19251 SendKeepAlives(AuthService_SendKeepAlivesServer) error 19252 // WatchEvents returns a new stream of cluster events 19253 WatchEvents(*Watch, AuthService_WatchEventsServer) error 19254 // GetNode retrieves a node described by the given request. 19255 GetNode(context.Context, *types.ResourceInNamespaceRequest) (*types.ServerV2, error) 19256 // UpsertNode upserts a node in a backend. 19257 UpsertNode(context.Context, *types.ServerV2) (*types.KeepAlive, error) 19258 // DeleteNode deletes an existing node in a backend described by the given request. 19259 DeleteNode(context.Context, *types.ResourceInNamespaceRequest) (*emptypb.Empty, error) 19260 // DeleteAllNodes deletes all nodes. 19261 DeleteAllNodes(context.Context, *types.ResourcesInNamespaceRequest) (*emptypb.Empty, error) 19262 // GenerateUserCerts generates a set of user certificates. 19263 GenerateUserCerts(context.Context, *UserCertsRequest) (*Certs, error) 19264 // GenerateHostCerts generates a set of host certificates. 19265 GenerateHostCerts(context.Context, *HostCertsRequest) (*Certs, error) 19266 // Deprecated: Superseded by GenerateUserCerts. 19267 GenerateUserSingleUseCerts(AuthService_GenerateUserSingleUseCertsServer) error 19268 // GenerateOpenSSHCert signs a SSH certificate that can be used 19269 // to connect to Agentless nodes. 19270 GenerateOpenSSHCert(context.Context, *OpenSSHCertRequest) (*OpenSSHCert, error) 19271 // IsMFARequired checks whether MFA is required to access the specified 19272 // target. 19273 IsMFARequired(context.Context, *IsMFARequiredRequest) (*IsMFARequiredResponse, error) 19274 // GetAccessRequestsV2 gets all pending access requests. 19275 GetAccessRequestsV2(*types.AccessRequestFilter, AuthService_GetAccessRequestsV2Server) error 19276 // ListAccessRequests gets access requests with pagination and sorting. 19277 ListAccessRequests(context.Context, *ListAccessRequestsRequest) (*ListAccessRequestsResponse, error) 19278 // CreateAccessRequest creates a new access request. 19279 // Deprecated: use CreateAccessRequestV2 instead. 19280 // DELETE IN v15.0.0. 19281 CreateAccessRequest(context.Context, *types.AccessRequestV3) (*emptypb.Empty, error) 19282 // CreateAccessRequestV2 creates a new access request. 19283 CreateAccessRequestV2(context.Context, *types.AccessRequestV3) (*types.AccessRequestV3, error) 19284 // DeleteAccessRequest deletes an access request. 19285 DeleteAccessRequest(context.Context, *RequestID) (*emptypb.Empty, error) 19286 // SetAccessRequestState sets the state of an access request. 19287 SetAccessRequestState(context.Context, *RequestStateSetter) (*emptypb.Empty, error) 19288 // SubmitAccessReview applies a review to a request and returns the post-application state. 19289 SubmitAccessReview(context.Context, *types.AccessReviewSubmission) (*types.AccessRequestV3, error) 19290 // GetAccessCapabilities requests the access capabilities of a user. 19291 GetAccessCapabilities(context.Context, *types.AccessCapabilitiesRequest) (*types.AccessCapabilities, error) 19292 // GetAccessRequestAllowedPromotions returns a list of allowed promotions from an access request to an access list. 19293 GetAccessRequestAllowedPromotions(context.Context, *AccessRequestAllowedPromotionRequest) (*AccessRequestAllowedPromotionResponse, error) 19294 // GetPluginData gets all plugin data matching the supplied filter. 19295 GetPluginData(context.Context, *types.PluginDataFilter) (*PluginDataSeq, error) 19296 // UpdatePluginData updates a plugin's resource-specific datastore. 19297 UpdatePluginData(context.Context, *types.PluginDataUpdateParams) (*emptypb.Empty, error) 19298 // Ping gets basic info about the auth server. This method is intended 19299 // to mimic the behavior of the proxy's Ping method, and may be used by 19300 // clients for verification or configuration on startup. 19301 Ping(context.Context, *PingRequest) (*PingResponse, error) 19302 // GetResetPasswordToken returns a reset password token. 19303 GetResetPasswordToken(context.Context, *GetResetPasswordTokenRequest) (*types.UserTokenV3, error) 19304 // CreateResetPasswordToken resets users current password and second factors and creates a reset 19305 // password token. 19306 // 19307 // Only local users may be reset. 19308 CreateResetPasswordToken(context.Context, *CreateResetPasswordTokenRequest) (*types.UserTokenV3, error) 19309 // GetUser gets a user resource by name. 19310 // 19311 // Deprecated: Use [teleport.users.v1.UsersService] instead. 19312 GetUser(context.Context, *GetUserRequest) (*types.UserV2, error) 19313 // GetCurrentUser returns current user as seen by the server. 19314 // Useful especially in the context of remote clusters which perform role and trait mapping. 19315 // 19316 // Deprecated: Use [teleport.users.v1.UsersService] instead. 19317 GetCurrentUser(context.Context, *emptypb.Empty) (*types.UserV2, error) 19318 // GetCurrentUserRoles returns current user's roles. 19319 GetCurrentUserRoles(*emptypb.Empty, AuthService_GetCurrentUserRolesServer) error 19320 // GetUsers gets all current user resources. 19321 // 19322 // Deprecated: Use [teleport.users.v1.UsersService] instead. 19323 GetUsers(*GetUsersRequest, AuthService_GetUsersServer) error 19324 // CreateUser inserts a new user entry to a backend. 19325 // 19326 // Deprecated: Use [teleport.users.v1.UsersService] instead. 19327 CreateUser(context.Context, *types.UserV2) (*emptypb.Empty, error) 19328 // UpdateUser updates an existing user in a backend. 19329 // 19330 // Deprecated: Use [teleport.users.v1.UsersService] instead. 19331 UpdateUser(context.Context, *types.UserV2) (*emptypb.Empty, error) 19332 // DeleteUser deletes an existing user in a backend by username. 19333 // 19334 // Deprecated: Use [teleport.users.v1.UsersService] instead. 19335 DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error) 19336 // ChangePassword allows a user to change their own password. 19337 // 19338 // Only local users may change their password. 19339 ChangePassword(context.Context, *ChangePasswordRequest) (*emptypb.Empty, error) 19340 // AcquireSemaphore acquires lease with requested resources from semaphore. 19341 AcquireSemaphore(context.Context, *types.AcquireSemaphoreRequest) (*types.SemaphoreLease, error) 19342 // KeepAliveSemaphoreLease updates semaphore lease. 19343 KeepAliveSemaphoreLease(context.Context, *types.SemaphoreLease) (*emptypb.Empty, error) 19344 // CancelSemaphoreLease cancels semaphore lease early. 19345 CancelSemaphoreLease(context.Context, *types.SemaphoreLease) (*emptypb.Empty, error) 19346 // GetSemaphores returns a list of all semaphores matching the supplied filter. 19347 GetSemaphores(context.Context, *types.SemaphoreFilter) (*Semaphores, error) 19348 // DeleteSemaphore deletes a semaphore matching the supplied filter. 19349 DeleteSemaphore(context.Context, *types.SemaphoreFilter) (*emptypb.Empty, error) 19350 // EmitAuditEvent emits audit event 19351 EmitAuditEvent(context.Context, *events.OneOf) (*emptypb.Empty, error) 19352 // CreateAuditStream creates or resumes audit events streams 19353 CreateAuditStream(AuthService_CreateAuditStreamServer) error 19354 // UpsertApplicationServer adds an application server. 19355 UpsertApplicationServer(context.Context, *UpsertApplicationServerRequest) (*types.KeepAlive, error) 19356 // DeleteApplicationServer removes an application server. 19357 DeleteApplicationServer(context.Context, *DeleteApplicationServerRequest) (*emptypb.Empty, error) 19358 // DeleteAllApplicationServers removes all application servers. 19359 DeleteAllApplicationServers(context.Context, *DeleteAllApplicationServersRequest) (*emptypb.Empty, error) 19360 // GenerateAppToken will generate a JWT token for application access. 19361 GenerateAppToken(context.Context, *GenerateAppTokenRequest) (*GenerateAppTokenResponse, error) 19362 // GetAppSession gets an application web session. 19363 GetAppSession(context.Context, *GetAppSessionRequest) (*GetAppSessionResponse, error) 19364 // ListAppSessions gets all application web sessions. 19365 ListAppSessions(context.Context, *ListAppSessionsRequest) (*ListAppSessionsResponse, error) 19366 // CreateAppSession creates an application web session. Application web 19367 // sessions represent a browser session the client holds. 19368 CreateAppSession(context.Context, *CreateAppSessionRequest) (*CreateAppSessionResponse, error) 19369 // DeleteAppSession removes an application web session. 19370 DeleteAppSession(context.Context, *DeleteAppSessionRequest) (*emptypb.Empty, error) 19371 // DeleteAllAppSessions removes all application web sessions. 19372 DeleteAllAppSessions(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19373 // DeleteUserAppSessions deletes all user’s application sessions. 19374 DeleteUserAppSessions(context.Context, *DeleteUserAppSessionsRequest) (*emptypb.Empty, error) 19375 // CreateSnowflakeSession creates web session with sub kind Snowflake used by Database access 19376 // Snowflake integration. 19377 CreateSnowflakeSession(context.Context, *CreateSnowflakeSessionRequest) (*CreateSnowflakeSessionResponse, error) 19378 // GetSnowflakeSession returns a web session with sub kind Snowflake. 19379 GetSnowflakeSession(context.Context, *GetSnowflakeSessionRequest) (*GetSnowflakeSessionResponse, error) 19380 // GetSnowflakeSessions gets all Snowflake web sessions. 19381 GetSnowflakeSessions(context.Context, *emptypb.Empty) (*GetSnowflakeSessionsResponse, error) 19382 // DeleteSnowflakeSession removes a Snowflake web session. 19383 DeleteSnowflakeSession(context.Context, *DeleteSnowflakeSessionRequest) (*emptypb.Empty, error) 19384 // DeleteAllSnowflakeSessions removes all Snowflake web sessions. 19385 DeleteAllSnowflakeSessions(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19386 // CreateSAMLIdPSession creates web session with sub kind saml_idp used by the SAML IdP. 19387 CreateSAMLIdPSession(context.Context, *CreateSAMLIdPSessionRequest) (*CreateSAMLIdPSessionResponse, error) 19388 // GetSAMLIdPSession returns a SAML IdP session with sub kind saml_idp. 19389 GetSAMLIdPSession(context.Context, *GetSAMLIdPSessionRequest) (*GetSAMLIdPSessionResponse, error) 19390 // ListSAMLIdPSessions gets all SAML IdP sessions. 19391 ListSAMLIdPSessions(context.Context, *ListSAMLIdPSessionsRequest) (*ListSAMLIdPSessionsResponse, error) 19392 // DeleteSAMLIdPSession removes a SAML IdP session. 19393 DeleteSAMLIdPSession(context.Context, *DeleteSAMLIdPSessionRequest) (*emptypb.Empty, error) 19394 // DeleteAllSAMLIdPSessions removes all SAML IdP sessions. 19395 DeleteAllSAMLIdPSessions(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19396 // DeleteUserSAMLIdPSessions deletes all user’s SAML IdP sessions. 19397 DeleteUserSAMLIdPSessions(context.Context, *DeleteUserSAMLIdPSessionsRequest) (*emptypb.Empty, error) 19398 // GetWebSession gets a web session. 19399 GetWebSession(context.Context, *types.GetWebSessionRequest) (*GetWebSessionResponse, error) 19400 // GetWebSessions gets all web sessions. 19401 GetWebSessions(context.Context, *emptypb.Empty) (*GetWebSessionsResponse, error) 19402 // DeleteWebSession deletes a web session. 19403 DeleteWebSession(context.Context, *types.DeleteWebSessionRequest) (*emptypb.Empty, error) 19404 // DeleteAllWebSessions deletes all web sessions. 19405 DeleteAllWebSessions(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19406 // GetWebToken gets a web token. 19407 GetWebToken(context.Context, *types.GetWebTokenRequest) (*GetWebTokenResponse, error) 19408 // GetWebTokens gets all web tokens. 19409 GetWebTokens(context.Context, *emptypb.Empty) (*GetWebTokensResponse, error) 19410 // DeleteWebToken deletes a web token. 19411 DeleteWebToken(context.Context, *types.DeleteWebTokenRequest) (*emptypb.Empty, error) 19412 // DeleteAllWebTokens deletes all web tokens. 19413 DeleteAllWebTokens(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19414 // UpdateRemoteCluster updates remote cluster 19415 UpdateRemoteCluster(context.Context, *types.RemoteClusterV3) (*emptypb.Empty, error) 19416 // UpsertKubernetesServer adds or updates a kubernetes server. 19417 UpsertKubernetesServer(context.Context, *UpsertKubernetesServerRequest) (*types.KeepAlive, error) 19418 // DeleteKubernetesServer removes a kubernetes server. 19419 DeleteKubernetesServer(context.Context, *DeleteKubernetesServerRequest) (*emptypb.Empty, error) 19420 // DeleteAllKubernetesServers removes all kubernetes servers. 19421 DeleteAllKubernetesServers(context.Context, *DeleteAllKubernetesServersRequest) (*emptypb.Empty, error) 19422 // UpsertDatabaseServer registers a new database proxy server. 19423 UpsertDatabaseServer(context.Context, *UpsertDatabaseServerRequest) (*types.KeepAlive, error) 19424 // DeleteDatabaseServer removes the specified database proxy server. 19425 DeleteDatabaseServer(context.Context, *DeleteDatabaseServerRequest) (*emptypb.Empty, error) 19426 // DeleteAllDatabaseServers removes all registered database proxy servers. 19427 DeleteAllDatabaseServers(context.Context, *DeleteAllDatabaseServersRequest) (*emptypb.Empty, error) 19428 // UpsertDatabaseService registers a new DatabaseService. 19429 UpsertDatabaseService(context.Context, *UpsertDatabaseServiceRequest) (*types.KeepAlive, error) 19430 // DeleteDatabaseService removes the specified DatabaseService. 19431 DeleteDatabaseService(context.Context, *types.ResourceRequest) (*emptypb.Empty, error) 19432 // DeleteAllDatabaseServices removes all registered DatabaseServices. 19433 // If there's an error deleting the resources, there's no guarantee of a rollback. 19434 // A subset of resources might be deleted while others still exist. 19435 DeleteAllDatabaseServices(context.Context, *DeleteAllDatabaseServicesRequest) (*emptypb.Empty, error) 19436 // SignDatabaseCSR generates client certificate used by proxy to 19437 // authenticate with a remote database service. 19438 SignDatabaseCSR(context.Context, *DatabaseCSRRequest) (*DatabaseCSRResponse, error) 19439 // GenerateDatabaseCert generates client certificate used by a database 19440 // service to authenticate with the database instance. 19441 GenerateDatabaseCert(context.Context, *DatabaseCertRequest) (*DatabaseCertResponse, error) 19442 /// GenerateSnowflakeJWT generates JWT in the format required by Snowflake. 19443 GenerateSnowflakeJWT(context.Context, *SnowflakeJWTRequest) (*SnowflakeJWTResponse, error) 19444 // GetRole retrieves a role described by the given request. 19445 GetRole(context.Context, *GetRoleRequest) (*types.RoleV6, error) 19446 // GetRole retrieves all roles. 19447 // 19448 // DELETE IN 17.0 19449 GetRoles(context.Context, *emptypb.Empty) (*GetRolesResponse, error) 19450 // ListRoles is a paginated role getter. 19451 ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error) 19452 // CreateRole creates a new role. 19453 CreateRole(context.Context, *CreateRoleRequest) (*types.RoleV6, error) 19454 // UpdateRole updates an existing role. 19455 UpdateRole(context.Context, *UpdateRoleRequest) (*types.RoleV6, error) 19456 // UpsertRoleV2 creates or overwrites an existing role. 19457 UpsertRoleV2(context.Context, *UpsertRoleRequest) (*types.RoleV6, error) 19458 // UpsertRole upserts a role in a backend. 19459 // 19460 // Deprecated: use UpsertRoleV2 instead. 19461 UpsertRole(context.Context, *types.RoleV6) (*emptypb.Empty, error) 19462 // DeleteRole deletes an existing role in a backend described by the given request. 19463 DeleteRole(context.Context, *DeleteRoleRequest) (*emptypb.Empty, error) 19464 // AddMFADevice adds an MFA device for the user calling this RPC. 19465 // 19466 // The RPC is streaming both ways and the message sequence is: 19467 // (-> means client-to-server, <- means server-to-client) 19468 // -> Init 19469 // <- ExistingMFAChallenge 19470 // -> ExistingMFAResponse 19471 // <- NewMFARegisterChallenge 19472 // -> NewMFARegisterResponse 19473 // <- Ack 19474 // 19475 // Deprecated: Use [AddMFADeviceSync] instead. 19476 AddMFADevice(AuthService_AddMFADeviceServer) error 19477 // DeleteMFADevice deletes an MFA device for the user calling this RPC. 19478 // 19479 // The RPC is streaming both ways and the message sequence is: 19480 // (-> means client-to-server, <- means server-to-client) 19481 // -> Init 19482 // <- MFAChallenge 19483 // -> MFAResponse 19484 // <- Ack 19485 // 19486 // Deprecated: Use [DeleteMFADeviceSync] instead. 19487 DeleteMFADevice(AuthService_DeleteMFADeviceServer) error 19488 // AddMFADeviceSync adds a new MFA device. 19489 // 19490 // A typical MFA registration sequence calls the following RPCs: 19491 // 19492 // 1. CreateAuthenticateChallenge (necessary for registration challenge) 19493 // 2. (optional) CreatePrivilegeToken 19494 // 3. CreateRegisterChallenge (uses authn challenge and optionally a token) 19495 // 4. AddMFADeviceSync 19496 AddMFADeviceSync(context.Context, *AddMFADeviceSyncRequest) (*AddMFADeviceSyncResponse, error) 19497 // DeleteMFADeviceSync deletes a users MFA device (nonstream). 19498 // 19499 // A typical MFA deletion sequence calls the following RPCs: 19500 // 19501 // 1. (optional) CreateAuthenticateChallenge 19502 // (may be skipped depending on the token used, but is usually called 19503 // regardless) 19504 // 2. (optional) CreatePrivilegeToken 19505 // 3. DeleteMFADeviceSync (using either authn challenge or token) 19506 DeleteMFADeviceSync(context.Context, *DeleteMFADeviceSyncRequest) (*emptypb.Empty, error) 19507 // GetMFADevices returns all MFA devices registered for the user calling 19508 // this RPC. 19509 GetMFADevices(context.Context, *GetMFADevicesRequest) (*GetMFADevicesResponse, error) 19510 // CreateAuthenticateChallenge creates and returns MFA challenges for a users registered MFA 19511 // devices. 19512 CreateAuthenticateChallenge(context.Context, *CreateAuthenticateChallengeRequest) (*MFAAuthenticateChallenge, error) 19513 // CreateRegisterChallenge creates and returns MFA register challenge for a new MFA device. 19514 CreateRegisterChallenge(context.Context, *CreateRegisterChallengeRequest) (*MFARegisterChallenge, error) 19515 // GetOIDCConnector gets an OIDC connector resource by name. 19516 GetOIDCConnector(context.Context, *types.ResourceWithSecretsRequest) (*types.OIDCConnectorV3, error) 19517 // GetOIDCConnectors gets all current OIDC connector resources. 19518 GetOIDCConnectors(context.Context, *types.ResourcesWithSecretsRequest) (*types.OIDCConnectorV3List, error) 19519 // UpsertOIDCConnector creates a new OIDC connector in the backend. 19520 CreateOIDCConnector(context.Context, *CreateOIDCConnectorRequest) (*types.OIDCConnectorV3, error) 19521 // UpsertOIDCConnector updates an existing OIDC connector in the backend. 19522 UpdateOIDCConnector(context.Context, *UpdateOIDCConnectorRequest) (*types.OIDCConnectorV3, error) 19523 // UpsertOIDCConnector upserts an OIDC connector in a backend. 19524 // 19525 // Deprecated: Use UpsertOIDCConnectorV2 instead. 19526 UpsertOIDCConnector(context.Context, *types.OIDCConnectorV3) (*emptypb.Empty, error) 19527 // UpsertOIDCConnectorV2 upserts an OIDC connector in the backend. 19528 UpsertOIDCConnectorV2(context.Context, *UpsertOIDCConnectorRequest) (*types.OIDCConnectorV3, error) 19529 // DeleteOIDCConnector deletes an existing OIDC connector in a backend by name. 19530 DeleteOIDCConnector(context.Context, *types.ResourceRequest) (*emptypb.Empty, error) 19531 // CreateOIDCAuthRequest creates OIDCAuthRequest. 19532 CreateOIDCAuthRequest(context.Context, *types.OIDCAuthRequest) (*types.OIDCAuthRequest, error) 19533 // GetOIDCAuthRequest returns OIDC auth request if found. 19534 GetOIDCAuthRequest(context.Context, *GetOIDCAuthRequestRequest) (*types.OIDCAuthRequest, error) 19535 // GetSAMLConnector gets a SAML connector resource by name. 19536 GetSAMLConnector(context.Context, *types.ResourceWithSecretsRequest) (*types.SAMLConnectorV2, error) 19537 // GetSAMLConnectors gets all current SAML connector resources. 19538 GetSAMLConnectors(context.Context, *types.ResourcesWithSecretsRequest) (*types.SAMLConnectorV2List, error) 19539 // CreateSAMLConnector creates a new SAML connector in the backend. 19540 CreateSAMLConnector(context.Context, *CreateSAMLConnectorRequest) (*types.SAMLConnectorV2, error) 19541 // UpdateSAMLConnector updates an existing SAML connector in the backend. 19542 UpdateSAMLConnector(context.Context, *UpdateSAMLConnectorRequest) (*types.SAMLConnectorV2, error) 19543 // UpsertSAMLConnector upserts a SAML connector in a backend. 19544 // 19545 // Deprecated: Use UpsertSAMLConnectorV2 instead. 19546 UpsertSAMLConnector(context.Context, *types.SAMLConnectorV2) (*emptypb.Empty, error) 19547 // UpsertSAMLConnectorV2 upserts a SAML connector in a backend. 19548 UpsertSAMLConnectorV2(context.Context, *UpsertSAMLConnectorRequest) (*types.SAMLConnectorV2, error) 19549 // DeleteSAMLConnector deletes an existing SAML connector in a backend by name. 19550 DeleteSAMLConnector(context.Context, *types.ResourceRequest) (*emptypb.Empty, error) 19551 // CreateSAMLAuthRequest creates SAMLAuthRequest. 19552 CreateSAMLAuthRequest(context.Context, *types.SAMLAuthRequest) (*types.SAMLAuthRequest, error) 19553 // GetSAMLAuthRequest returns SAML auth request if found. 19554 GetSAMLAuthRequest(context.Context, *GetSAMLAuthRequestRequest) (*types.SAMLAuthRequest, error) 19555 // GetGithubConnector gets a Github connector resource by name. 19556 GetGithubConnector(context.Context, *types.ResourceWithSecretsRequest) (*types.GithubConnectorV3, error) 19557 // GetGithubConnectors gets all current Github connector resources. 19558 GetGithubConnectors(context.Context, *types.ResourcesWithSecretsRequest) (*types.GithubConnectorV3List, error) 19559 // CreateGithubConnector creates a new Github connector in the backend. 19560 CreateGithubConnector(context.Context, *CreateGithubConnectorRequest) (*types.GithubConnectorV3, error) 19561 // UpdateGithubConnector updates an existing Github connector in the backend. 19562 UpdateGithubConnector(context.Context, *UpdateGithubConnectorRequest) (*types.GithubConnectorV3, error) 19563 // UpsertGithubConnector upserts a Github connector in a backend. 19564 // 19565 // Deprecated: Use UpsertGithubConnectorV2 instead. 19566 UpsertGithubConnector(context.Context, *types.GithubConnectorV3) (*emptypb.Empty, error) 19567 // UpsertGithubConnectorV2 upserts a Github connector in a backend. 19568 UpsertGithubConnectorV2(context.Context, *UpsertGithubConnectorRequest) (*types.GithubConnectorV3, error) 19569 // DeleteGithubConnector deletes an existing Github connector in a backend by name. 19570 DeleteGithubConnector(context.Context, *types.ResourceRequest) (*emptypb.Empty, error) 19571 // CreateGithubAuthRequest creates GithubAuthRequest. 19572 CreateGithubAuthRequest(context.Context, *types.GithubAuthRequest) (*types.GithubAuthRequest, error) 19573 // GetGithubAuthRequest returns Github auth request if found. 19574 GetGithubAuthRequest(context.Context, *GetGithubAuthRequestRequest) (*types.GithubAuthRequest, error) 19575 // GetSSODiagnosticInfo returns SSO diagnostic info records. 19576 GetSSODiagnosticInfo(context.Context, *GetSSODiagnosticInfoRequest) (*types.SSODiagnosticInfo, error) 19577 // GetServerInfos returns a stream of ServerInfos. 19578 GetServerInfos(*emptypb.Empty, AuthService_GetServerInfosServer) error 19579 // GetServerInfo returns a ServerInfo by name. 19580 GetServerInfo(context.Context, *types.ResourceRequest) (*types.ServerInfoV1, error) 19581 // UpsertServerInfo upserts a ServerInfo. 19582 UpsertServerInfo(context.Context, *types.ServerInfoV1) (*emptypb.Empty, error) 19583 // DeleteServerInfo deletes a ServerInfo by name. 19584 DeleteServerInfo(context.Context, *types.ResourceRequest) (*emptypb.Empty, error) 19585 // DeleteAllServerInfos deletes all ServerInfos. 19586 DeleteAllServerInfos(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19587 // GetTrustedCluster gets a Trusted Cluster resource by name. 19588 GetTrustedCluster(context.Context, *types.ResourceRequest) (*types.TrustedClusterV2, error) 19589 // GetTrustedClusters gets all current Trusted Cluster resources. 19590 GetTrustedClusters(context.Context, *emptypb.Empty) (*types.TrustedClusterV2List, error) 19591 // UpsertTrustedCluster upserts a Trusted Cluster in a backend. 19592 UpsertTrustedCluster(context.Context, *types.TrustedClusterV2) (*types.TrustedClusterV2, error) 19593 // DeleteTrustedCluster deletes an existing Trusted Cluster in a backend by name. 19594 DeleteTrustedCluster(context.Context, *types.ResourceRequest) (*emptypb.Empty, error) 19595 // GetToken retrieves a token described by the given request. 19596 GetToken(context.Context, *types.ResourceRequest) (*types.ProvisionTokenV2, error) 19597 // GetToken retrieves all tokens. 19598 GetTokens(context.Context, *emptypb.Empty) (*types.ProvisionTokenV2List, error) 19599 // CreateTokenV2 creates a token in a backend. 19600 CreateTokenV2(context.Context, *CreateTokenV2Request) (*emptypb.Empty, error) 19601 // UpsertTokenV2 upserts a token in a backend. 19602 UpsertTokenV2(context.Context, *UpsertTokenV2Request) (*emptypb.Empty, error) 19603 // DeleteToken deletes an existing token in a backend described by the given request. 19604 DeleteToken(context.Context, *types.ResourceRequest) (*emptypb.Empty, error) 19605 // GetClusterAuditConfig gets cluster audit configuration. 19606 GetClusterAuditConfig(context.Context, *emptypb.Empty) (*types.ClusterAuditConfigV2, error) 19607 // GetClusterNetworkingConfig gets cluster networking configuration. 19608 // Deprecated: Use clusterconfigv1.Service.GetClusterNetworkingConfig instead. 19609 GetClusterNetworkingConfig(context.Context, *emptypb.Empty) (*types.ClusterNetworkingConfigV2, error) 19610 // SetClusterNetworkingConfig sets cluster networking configuration. 19611 // Deprecated: Use clusterconfigv1.Service.Update/UpsertClusterNetworkingConfig instead. 19612 SetClusterNetworkingConfig(context.Context, *types.ClusterNetworkingConfigV2) (*emptypb.Empty, error) 19613 // ResetClusterNetworkingConfig resets cluster networking configuration to defaults. 19614 // Deprecated: Use clusterconfigv1.Service.ResetClusterNetworkingConfig instead. 19615 ResetClusterNetworkingConfig(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19616 // GetSessionRecordingConfig gets session recording configuration. 19617 // Deprecated: Use clusterconfigv1.Service.GetSessionRecordingConfig instead. 19618 GetSessionRecordingConfig(context.Context, *emptypb.Empty) (*types.SessionRecordingConfigV2, error) 19619 // SetSessionRecordingConfig sets session recording configuration. 19620 // Deprecated: Use clusterconfigv1.Service.Upsert/UpdateSessionRecordingConfig instead. 19621 SetSessionRecordingConfig(context.Context, *types.SessionRecordingConfigV2) (*emptypb.Empty, error) 19622 // ResetSessionRecordingConfig resets session recording configuration to defaults. 19623 // Deprecated: Use clusterconfigv1.Service.ResetSessionRecordingConfig instead. 19624 ResetSessionRecordingConfig(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19625 // GetAuthPreference gets cluster auth preference. 19626 // Deprecated: Use clusterconfigv1.Service.GetAuthPreference instead. 19627 GetAuthPreference(context.Context, *emptypb.Empty) (*types.AuthPreferenceV2, error) 19628 // SetAuthPreference sets cluster auth preference. 19629 // Deprecated: Use clusterconfigv1.Service.Create/Update/UpsertAuthPreference instead. 19630 SetAuthPreference(context.Context, *types.AuthPreferenceV2) (*emptypb.Empty, error) 19631 // ResetAuthPreference resets cluster auth preference to defaults. 19632 // Deprecated: Use clusterconfigv1.Service.ResetAuthPreference instead. 19633 ResetAuthPreference(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19634 // GetUIConfig gets the configuration for the UI served by the proxy service 19635 GetUIConfig(context.Context, *emptypb.Empty) (*types.UIConfigV1, error) 19636 // SetUIConfig sets the configuration for the UI served by the proxy service 19637 SetUIConfig(context.Context, *types.UIConfigV1) (*emptypb.Empty, error) 19638 // DeleteUIConfig deletes the custom configuration for the UI served by the proxy service 19639 DeleteUIConfig(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19640 // GetEvents gets events from the audit log. 19641 GetEvents(context.Context, *GetEventsRequest) (*Events, error) 19642 // GetSessionEvents gets completed session events from the audit log. 19643 GetSessionEvents(context.Context, *GetSessionEventsRequest) (*Events, error) 19644 // GetLock gets a lock by name. 19645 GetLock(context.Context, *GetLockRequest) (*types.LockV2, error) 19646 // GetLocks gets all/in-force locks that match at least one of the targets when specified. 19647 GetLocks(context.Context, *GetLocksRequest) (*GetLocksResponse, error) 19648 // UpsertLock upserts a lock. 19649 UpsertLock(context.Context, *types.LockV2) (*emptypb.Empty, error) 19650 // DeleteLock deletes a lock. 19651 DeleteLock(context.Context, *DeleteLockRequest) (*emptypb.Empty, error) 19652 // ReplaceRemoteLocks replaces the set of locks associated with a remote cluster. 19653 ReplaceRemoteLocks(context.Context, *ReplaceRemoteLocksRequest) (*emptypb.Empty, error) 19654 // StreamSessionEvents streams audit events from a given session recording. 19655 StreamSessionEvents(*StreamSessionEventsRequest, AuthService_StreamSessionEventsServer) error 19656 // GetNetworkRestrictions retrieves all the network restrictions (allow/deny lists). 19657 GetNetworkRestrictions(context.Context, *emptypb.Empty) (*types.NetworkRestrictionsV4, error) 19658 // SetNetworkRestrictions updates the network restrictions. 19659 SetNetworkRestrictions(context.Context, *types.NetworkRestrictionsV4) (*emptypb.Empty, error) 19660 // DeleteNetworkRestrictions delete the network restrictions. 19661 DeleteNetworkRestrictions(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19662 // GetApps returns all registered applications. 19663 GetApps(context.Context, *emptypb.Empty) (*types.AppV3List, error) 19664 // GetApp returns an application by name. 19665 GetApp(context.Context, *types.ResourceRequest) (*types.AppV3, error) 19666 // CreateApp creates a new application resource. 19667 CreateApp(context.Context, *types.AppV3) (*emptypb.Empty, error) 19668 // UpdateApp updates existing application resource. 19669 UpdateApp(context.Context, *types.AppV3) (*emptypb.Empty, error) 19670 // DeleteApp removes specified application resource. 19671 DeleteApp(context.Context, *types.ResourceRequest) (*emptypb.Empty, error) 19672 // DeleteAllApps removes all application resources. 19673 DeleteAllApps(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19674 // GetDatabases returns all registered databases. 19675 GetDatabases(context.Context, *emptypb.Empty) (*types.DatabaseV3List, error) 19676 // GetDatabase returns a database by name. 19677 GetDatabase(context.Context, *types.ResourceRequest) (*types.DatabaseV3, error) 19678 // CreateDatabase creates a new database resource. 19679 CreateDatabase(context.Context, *types.DatabaseV3) (*emptypb.Empty, error) 19680 // UpdateDatabase updates existing database resource. 19681 UpdateDatabase(context.Context, *types.DatabaseV3) (*emptypb.Empty, error) 19682 // DeleteDatabase removes specified database resource. 19683 DeleteDatabase(context.Context, *types.ResourceRequest) (*emptypb.Empty, error) 19684 // DeleteAllDatabases removes all database resources. 19685 DeleteAllDatabases(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19686 // GetKubernetesClusters returns all registered kubernetes clusters. 19687 GetKubernetesClusters(context.Context, *emptypb.Empty) (*types.KubernetesClusterV3List, error) 19688 // GetKubernetesCluster returns a kubernetes cluster by name. 19689 GetKubernetesCluster(context.Context, *types.ResourceRequest) (*types.KubernetesClusterV3, error) 19690 // CreateKubernetesCluster creates a new kubernetes cluster resource. 19691 CreateKubernetesCluster(context.Context, *types.KubernetesClusterV3) (*emptypb.Empty, error) 19692 // UpdateKubernetesCluster updates existing kubernetes cluster resource. 19693 UpdateKubernetesCluster(context.Context, *types.KubernetesClusterV3) (*emptypb.Empty, error) 19694 // DeleteKubernetesCluster removes specified kubernetes cluster resource. 19695 DeleteKubernetesCluster(context.Context, *types.ResourceRequest) (*emptypb.Empty, error) 19696 // DeleteAllKubernetesClusters removes all kubernetes cluster resources. 19697 DeleteAllKubernetesClusters(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19698 // GetWindowsDesktopServices returns all registered Windows desktop services. 19699 GetWindowsDesktopServices(context.Context, *emptypb.Empty) (*GetWindowsDesktopServicesResponse, error) 19700 // GetWindowsDesktopService gets a Windows desktop service by name. 19701 GetWindowsDesktopService(context.Context, *GetWindowsDesktopServiceRequest) (*GetWindowsDesktopServiceResponse, error) 19702 // UpsertWindowsDesktopService registers a new Windows desktop service. 19703 UpsertWindowsDesktopService(context.Context, *types.WindowsDesktopServiceV3) (*types.KeepAlive, error) 19704 // DeleteWindowsDesktopService removes the specified Windows desktop service. 19705 DeleteWindowsDesktopService(context.Context, *DeleteWindowsDesktopServiceRequest) (*emptypb.Empty, error) 19706 // DeleteAllWindowsDesktopServices removes all registered Windows desktop services. 19707 DeleteAllWindowsDesktopServices(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19708 // GetWindowsDesktops returns all registered Windows desktop hosts matching the supplied filter. 19709 GetWindowsDesktops(context.Context, *types.WindowsDesktopFilter) (*GetWindowsDesktopsResponse, error) 19710 // CreateWindowsDesktop registers a new Windows desktop host. 19711 CreateWindowsDesktop(context.Context, *types.WindowsDesktopV3) (*emptypb.Empty, error) 19712 // UpdateWindowsDesktop updates an existing Windows desktop host. 19713 UpdateWindowsDesktop(context.Context, *types.WindowsDesktopV3) (*emptypb.Empty, error) 19714 // UpsertWindowsDesktop updates a Windows desktop host, creating it if it doesn't exist. 19715 UpsertWindowsDesktop(context.Context, *types.WindowsDesktopV3) (*emptypb.Empty, error) 19716 // DeleteWindowsDesktop removes the specified Windows desktop host. 19717 // Unlike GetWindowsDesktops, this call will delete at-most 1 desktop. 19718 // To delete all desktops, use DeleteAllWindowsDesktops. 19719 DeleteWindowsDesktop(context.Context, *DeleteWindowsDesktopRequest) (*emptypb.Empty, error) 19720 // DeleteAllWindowsDesktops removes all registered Windows desktop hosts. 19721 DeleteAllWindowsDesktops(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19722 // GenerateWindowsDesktopCert generates client smartcard certificate used 19723 // by an RDP client to authenticate with Windows. 19724 GenerateWindowsDesktopCert(context.Context, *WindowsDesktopCertRequest) (*WindowsDesktopCertResponse, error) 19725 // GenerateCertAuthorityCRL creates an empty CRL for the specified CA. 19726 GenerateCertAuthorityCRL(context.Context, *CertAuthorityRequest) (*CRL, error) 19727 // CreateConnectionDiagnostic creates a new connection diagnostic. 19728 CreateConnectionDiagnostic(context.Context, *types.ConnectionDiagnosticV1) (*emptypb.Empty, error) 19729 // UpdateConnectionDiagnostic updates a connection diagnostic. 19730 UpdateConnectionDiagnostic(context.Context, *types.ConnectionDiagnosticV1) (*emptypb.Empty, error) 19731 // GetConnectionDiagnostic reads a connection diagnostic. 19732 GetConnectionDiagnostic(context.Context, *GetConnectionDiagnosticRequest) (*types.ConnectionDiagnosticV1, error) 19733 // AppendDiagnosticTrace appends a Trace to the ConnectionDiagnostic. 19734 AppendDiagnosticTrace(context.Context, *AppendDiagnosticTraceRequest) (*types.ConnectionDiagnosticV1, error) 19735 // ChangeUserAuthentication allows a user to change their password and if enabled, 19736 // also adds a new MFA device. After successful invocation, a new web session is created as well 19737 // as a new set of recovery codes (if user meets the requirements to receive them), invalidating 19738 // any existing codes the user previously had. 19739 // 19740 // Only local users may be targeted by this RPC. 19741 ChangeUserAuthentication(context.Context, *ChangeUserAuthenticationRequest) (*ChangeUserAuthenticationResponse, error) 19742 // StartAccountRecovery (exclusive to cloud users) is the first out of two step user 19743 // verification needed to allow a user to recover their account. The first form of verification 19744 // is a user's username and a recovery code. After successful verification, a recovery start 19745 // token is created for the user which its ID will be used as part of a URL that will be emailed 19746 // to the user (not done in this request). The user will be able to finish their second form of 19747 // verification by clicking on this URL and following the prompts. 19748 // 19749 // If a valid user fails to provide correct recovery code for MaxAccountRecoveryAttempts, 19750 // user account gets temporarily locked from further recovery attempts and from logging in. 19751 // 19752 // Start tokens last RecoveryStartTokenTTL. 19753 // 19754 // Only local users may perform account recovery 19755 StartAccountRecovery(context.Context, *StartAccountRecoveryRequest) (*types.UserTokenV3, error) 19756 // VerifyAccountRecovery (exclusive to cloud users) is the second step of the two step 19757 // verification needed to allow a user to recover their account, after RPC StartAccountRecovery. 19758 // The second form of verification is a user's password or their second factor (depending on 19759 // what authentication they needed to recover). After successful verification, a recovery 19760 // approved token is created which allows a user to request protected actions while not logged 19761 // in e.g: setting a new password or a mfa device, viewing their MFA devices, deleting their MFA 19762 // devices, and generating new recovery codes. 19763 // 19764 // The recovery start token to verify this request becomes deleted before 19765 // creating a recovery approved token, which invalidates the recovery link users received 19766 // to finish their verification. 19767 // 19768 // If user fails to verify themselves for MaxAccountRecoveryAttempts 19769 // (combined attempts with RPC StartAccountRecovery), users account will be temporarily locked 19770 // from logging in. If users still have unused recovery codes left, they still have 19771 // opportunities to recover their account. To allow this, users recovery attempts are also 19772 // deleted along with all user tokens which will force the user to restart the recovery process 19773 // from step 1 (RPC StartAccountRecovery). 19774 // 19775 // Recovery approved tokens last RecoveryApprovedTokenTTL. 19776 VerifyAccountRecovery(context.Context, *VerifyAccountRecoveryRequest) (*types.UserTokenV3, error) 19777 // CompleteAccountRecovery (exclusive to cloud users) is the last step in account 19778 // recovery, after RPC's StartAccountRecovery and VerifyAccountRecovery. This step sets a new 19779 // password or adds a new mfa device, allowing the user to regain access to their account with 19780 // the new credentials. When the new authentication is successfully set, any user lock is 19781 // removed so the user can login immediately afterwards. 19782 CompleteAccountRecovery(context.Context, *CompleteAccountRecoveryRequest) (*emptypb.Empty, error) 19783 // CreateAccountRecoveryCodes (exclusive to cloud users) creates new set of recovery codes for a 19784 // user, replacing and invalidating any previously owned codes. Users can only get recovery 19785 // codes if their username is in a valid email format. 19786 CreateAccountRecoveryCodes(context.Context, *CreateAccountRecoveryCodesRequest) (*RecoveryCodes, error) 19787 // GetAccountRecoveryToken (exclusive to cloud users) returns a user token resource after 19788 // verifying that the token requested has not expired and is of the correct recovery kind. 19789 // Besides checking for validity of a token ID, it is also used to get basic information from 19790 // the token e.g: username, state of recovery (started or approved) and the type of recovery 19791 // requested (password or second factor). 19792 GetAccountRecoveryToken(context.Context, *GetAccountRecoveryTokenRequest) (*types.UserTokenV3, error) 19793 // GetAccountRecoveryCodes (exclusive to cloud users) is a request to return the user in context 19794 // their recovery codes. This request will not return any secrets (the values of recovery 19795 // codes), but instead returns non-sensitive data eg. when the recovery codes were created. 19796 GetAccountRecoveryCodes(context.Context, *GetAccountRecoveryCodesRequest) (*RecoveryCodes, error) 19797 // CreatePrivilegeToken returns a new privilege token after a logged in user successfully 19798 // re-authenticates with their second factor device. Privilege token lasts PrivilegeTokenTTL and 19799 // is used to gain access to privileged actions eg: deleting/adding a MFA device. 19800 CreatePrivilegeToken(context.Context, *CreatePrivilegeTokenRequest) (*types.UserTokenV3, error) 19801 // GetInstaller retrieves the installer script resource 19802 GetInstaller(context.Context, *types.ResourceRequest) (*types.InstallerV1, error) 19803 // GetInstallers retrieves all of installer script resources. 19804 GetInstallers(context.Context, *emptypb.Empty) (*types.InstallerV1List, error) 19805 // SetInstaller sets the installer script resource 19806 SetInstaller(context.Context, *types.InstallerV1) (*emptypb.Empty, error) 19807 // DeleteInstaller removes the specified installer script resource 19808 DeleteInstaller(context.Context, *types.ResourceRequest) (*emptypb.Empty, error) 19809 // DeleteAllInstallers removes all installer script resources 19810 DeleteAllInstallers(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19811 // ListResources retrieves a paginated list of resources. 19812 ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error) 19813 // ListUnifiedResources retrieves a paginated list of all resource types displayable in the UI. 19814 ListUnifiedResources(context.Context, *ListUnifiedResourcesRequest) (*ListUnifiedResourcesResponse, error) 19815 // GetSSHTargets gets all servers that would match an equivalent ssh dial request. Note that this method 19816 // returns all resources directly accessible to the user *and* all resources available via 'SearchAsRoles', 19817 // which is what we want when handling things like ambiguous host errors and resource-based access requests, 19818 // but may result in confusing behavior if it is used outside of those contexts. 19819 GetSSHTargets(context.Context, *GetSSHTargetsRequest) (*GetSSHTargetsResponse, error) 19820 // GetDomainName returns local auth domain of the current auth server 19821 GetDomainName(context.Context, *emptypb.Empty) (*GetDomainNameResponse, error) 19822 // GetClusterCACert returns the PEM-encoded TLS certs for the local cluster 19823 // without signing keys. If the cluster has multiple TLS certs, they will 19824 // all be appended. 19825 GetClusterCACert(context.Context, *emptypb.Empty) (*GetClusterCACertResponse, error) 19826 // SubmitUsageEvent submits an external usage event. 19827 SubmitUsageEvent(context.Context, *SubmitUsageEventRequest) (*emptypb.Empty, error) 19828 // GetLicense returns the license used to start the auth server. 19829 GetLicense(context.Context, *GetLicenseRequest) (*GetLicenseResponse, error) 19830 // ListReleases returns a list of Teleport Enterprise releases. 19831 ListReleases(context.Context, *ListReleasesRequest) (*ListReleasesResponse, error) 19832 // ListSAMLIdPServiceProviders returns a paginated list of SAML IdP service provider resources. 19833 ListSAMLIdPServiceProviders(context.Context, *ListSAMLIdPServiceProvidersRequest) (*ListSAMLIdPServiceProvidersResponse, error) 19834 // GetSAMLIdPServiceProvider returns the specified SAML IdP service provider resources. 19835 GetSAMLIdPServiceProvider(context.Context, *GetSAMLIdPServiceProviderRequest) (*types.SAMLIdPServiceProviderV1, error) 19836 // CreateSAMLIdPServiceProvider creates a new SAML IdP service provider resource. 19837 CreateSAMLIdPServiceProvider(context.Context, *types.SAMLIdPServiceProviderV1) (*emptypb.Empty, error) 19838 // UpdateSAMLIdPServiceProvider updates an existing SAML IdP service provider resource. 19839 UpdateSAMLIdPServiceProvider(context.Context, *types.SAMLIdPServiceProviderV1) (*emptypb.Empty, error) 19840 // DeleteSAMLIdPServiceProvider removes the specified SAML IdP service provider resource. 19841 DeleteSAMLIdPServiceProvider(context.Context, *DeleteSAMLIdPServiceProviderRequest) (*emptypb.Empty, error) 19842 // DeleteAllSAMLIdPServiceProviders removes all SAML IdP service providers. 19843 DeleteAllSAMLIdPServiceProviders(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19844 // ListUserGroups returns a paginated list of user group resources. 19845 ListUserGroups(context.Context, *ListUserGroupsRequest) (*ListUserGroupsResponse, error) 19846 // GetUserGroup returns the specified user group resource. 19847 GetUserGroup(context.Context, *GetUserGroupRequest) (*types.UserGroupV1, error) 19848 // CreateUserGroup creates a new user group resource. 19849 CreateUserGroup(context.Context, *types.UserGroupV1) (*emptypb.Empty, error) 19850 // UpdateUserGroup updates an existing user group resource. 19851 UpdateUserGroup(context.Context, *types.UserGroupV1) (*emptypb.Empty, error) 19852 // DeleteUserGroup removes the specified user group resource. 19853 DeleteUserGroup(context.Context, *DeleteUserGroupRequest) (*emptypb.Empty, error) 19854 // DeleteAllUserGroups removes all user groups. 19855 DeleteAllUserGroups(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19856 // GetHeadlessAuthentication is a request to retrieve a headless authentication from the backend. 19857 GetHeadlessAuthentication(context.Context, *GetHeadlessAuthenticationRequest) (*types.HeadlessAuthentication, error) 19858 // WatchPendingHeadlessAuthentications watches the backend for pending headless authentication requests for the user. 19859 WatchPendingHeadlessAuthentications(*emptypb.Empty, AuthService_WatchPendingHeadlessAuthenticationsServer) error 19860 // UpdateHeadlessAuthenticationState is a request to update a headless authentication's state. 19861 UpdateHeadlessAuthenticationState(context.Context, *UpdateHeadlessAuthenticationStateRequest) (*emptypb.Empty, error) 19862 // ExportUpgradeWindows is used to load derived maintenance window values for agents that 19863 // need to export schedules to external upgraders. 19864 ExportUpgradeWindows(context.Context, *ExportUpgradeWindowsRequest) (*ExportUpgradeWindowsResponse, error) 19865 // GetClusterMaintenanceConfig gets the current maintenance window config singleton. 19866 GetClusterMaintenanceConfig(context.Context, *emptypb.Empty) (*types.ClusterMaintenanceConfigV1, error) 19867 // UpdateClusterMaintenanceConfig updates the current maintenance window config singleton. 19868 UpdateClusterMaintenanceConfig(context.Context, *types.ClusterMaintenanceConfigV1) (*emptypb.Empty, error) 19869 // DeleteClusterMaintenanceConfig deletes the current maintenance window config singleton. 19870 DeleteClusterMaintenanceConfig(context.Context, *emptypb.Empty) (*emptypb.Empty, error) 19871 } 19872 19873 // UnimplementedAuthServiceServer can be embedded to have forward compatible implementations. 19874 type UnimplementedAuthServiceServer struct { 19875 } 19876 19877 func (*UnimplementedAuthServiceServer) InventoryControlStream(srv AuthService_InventoryControlStreamServer) error { 19878 return status.Errorf(codes.Unimplemented, "method InventoryControlStream not implemented") 19879 } 19880 func (*UnimplementedAuthServiceServer) GetInventoryStatus(ctx context.Context, req *InventoryStatusRequest) (*InventoryStatusSummary, error) { 19881 return nil, status.Errorf(codes.Unimplemented, "method GetInventoryStatus not implemented") 19882 } 19883 func (*UnimplementedAuthServiceServer) GetInventoryConnectedServiceCounts(ctx context.Context, req *InventoryConnectedServiceCountsRequest) (*InventoryConnectedServiceCounts, error) { 19884 return nil, status.Errorf(codes.Unimplemented, "method GetInventoryConnectedServiceCounts not implemented") 19885 } 19886 func (*UnimplementedAuthServiceServer) PingInventory(ctx context.Context, req *InventoryPingRequest) (*InventoryPingResponse, error) { 19887 return nil, status.Errorf(codes.Unimplemented, "method PingInventory not implemented") 19888 } 19889 func (*UnimplementedAuthServiceServer) GetInstances(req *types.InstanceFilter, srv AuthService_GetInstancesServer) error { 19890 return status.Errorf(codes.Unimplemented, "method GetInstances not implemented") 19891 } 19892 func (*UnimplementedAuthServiceServer) GetClusterAlerts(ctx context.Context, req *types.GetClusterAlertsRequest) (*GetClusterAlertsResponse, error) { 19893 return nil, status.Errorf(codes.Unimplemented, "method GetClusterAlerts not implemented") 19894 } 19895 func (*UnimplementedAuthServiceServer) UpsertClusterAlert(ctx context.Context, req *UpsertClusterAlertRequest) (*emptypb.Empty, error) { 19896 return nil, status.Errorf(codes.Unimplemented, "method UpsertClusterAlert not implemented") 19897 } 19898 func (*UnimplementedAuthServiceServer) CreateAlertAck(ctx context.Context, req *types.AlertAcknowledgement) (*emptypb.Empty, error) { 19899 return nil, status.Errorf(codes.Unimplemented, "method CreateAlertAck not implemented") 19900 } 19901 func (*UnimplementedAuthServiceServer) GetAlertAcks(ctx context.Context, req *GetAlertAcksRequest) (*GetAlertAcksResponse, error) { 19902 return nil, status.Errorf(codes.Unimplemented, "method GetAlertAcks not implemented") 19903 } 19904 func (*UnimplementedAuthServiceServer) ClearAlertAcks(ctx context.Context, req *ClearAlertAcksRequest) (*emptypb.Empty, error) { 19905 return nil, status.Errorf(codes.Unimplemented, "method ClearAlertAcks not implemented") 19906 } 19907 func (*UnimplementedAuthServiceServer) MaintainSessionPresence(srv AuthService_MaintainSessionPresenceServer) error { 19908 return status.Errorf(codes.Unimplemented, "method MaintainSessionPresence not implemented") 19909 } 19910 func (*UnimplementedAuthServiceServer) CreateSessionTracker(ctx context.Context, req *CreateSessionTrackerRequest) (*types.SessionTrackerV1, error) { 19911 return nil, status.Errorf(codes.Unimplemented, "method CreateSessionTracker not implemented") 19912 } 19913 func (*UnimplementedAuthServiceServer) GetSessionTracker(ctx context.Context, req *GetSessionTrackerRequest) (*types.SessionTrackerV1, error) { 19914 return nil, status.Errorf(codes.Unimplemented, "method GetSessionTracker not implemented") 19915 } 19916 func (*UnimplementedAuthServiceServer) GetActiveSessionTrackers(req *emptypb.Empty, srv AuthService_GetActiveSessionTrackersServer) error { 19917 return status.Errorf(codes.Unimplemented, "method GetActiveSessionTrackers not implemented") 19918 } 19919 func (*UnimplementedAuthServiceServer) GetActiveSessionTrackersWithFilter(req *types.SessionTrackerFilter, srv AuthService_GetActiveSessionTrackersWithFilterServer) error { 19920 return status.Errorf(codes.Unimplemented, "method GetActiveSessionTrackersWithFilter not implemented") 19921 } 19922 func (*UnimplementedAuthServiceServer) RemoveSessionTracker(ctx context.Context, req *RemoveSessionTrackerRequest) (*emptypb.Empty, error) { 19923 return nil, status.Errorf(codes.Unimplemented, "method RemoveSessionTracker not implemented") 19924 } 19925 func (*UnimplementedAuthServiceServer) UpdateSessionTracker(ctx context.Context, req *UpdateSessionTrackerRequest) (*emptypb.Empty, error) { 19926 return nil, status.Errorf(codes.Unimplemented, "method UpdateSessionTracker not implemented") 19927 } 19928 func (*UnimplementedAuthServiceServer) SendKeepAlives(srv AuthService_SendKeepAlivesServer) error { 19929 return status.Errorf(codes.Unimplemented, "method SendKeepAlives not implemented") 19930 } 19931 func (*UnimplementedAuthServiceServer) WatchEvents(req *Watch, srv AuthService_WatchEventsServer) error { 19932 return status.Errorf(codes.Unimplemented, "method WatchEvents not implemented") 19933 } 19934 func (*UnimplementedAuthServiceServer) GetNode(ctx context.Context, req *types.ResourceInNamespaceRequest) (*types.ServerV2, error) { 19935 return nil, status.Errorf(codes.Unimplemented, "method GetNode not implemented") 19936 } 19937 func (*UnimplementedAuthServiceServer) UpsertNode(ctx context.Context, req *types.ServerV2) (*types.KeepAlive, error) { 19938 return nil, status.Errorf(codes.Unimplemented, "method UpsertNode not implemented") 19939 } 19940 func (*UnimplementedAuthServiceServer) DeleteNode(ctx context.Context, req *types.ResourceInNamespaceRequest) (*emptypb.Empty, error) { 19941 return nil, status.Errorf(codes.Unimplemented, "method DeleteNode not implemented") 19942 } 19943 func (*UnimplementedAuthServiceServer) DeleteAllNodes(ctx context.Context, req *types.ResourcesInNamespaceRequest) (*emptypb.Empty, error) { 19944 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllNodes not implemented") 19945 } 19946 func (*UnimplementedAuthServiceServer) GenerateUserCerts(ctx context.Context, req *UserCertsRequest) (*Certs, error) { 19947 return nil, status.Errorf(codes.Unimplemented, "method GenerateUserCerts not implemented") 19948 } 19949 func (*UnimplementedAuthServiceServer) GenerateHostCerts(ctx context.Context, req *HostCertsRequest) (*Certs, error) { 19950 return nil, status.Errorf(codes.Unimplemented, "method GenerateHostCerts not implemented") 19951 } 19952 func (*UnimplementedAuthServiceServer) GenerateUserSingleUseCerts(srv AuthService_GenerateUserSingleUseCertsServer) error { 19953 return status.Errorf(codes.Unimplemented, "method GenerateUserSingleUseCerts not implemented") 19954 } 19955 func (*UnimplementedAuthServiceServer) GenerateOpenSSHCert(ctx context.Context, req *OpenSSHCertRequest) (*OpenSSHCert, error) { 19956 return nil, status.Errorf(codes.Unimplemented, "method GenerateOpenSSHCert not implemented") 19957 } 19958 func (*UnimplementedAuthServiceServer) IsMFARequired(ctx context.Context, req *IsMFARequiredRequest) (*IsMFARequiredResponse, error) { 19959 return nil, status.Errorf(codes.Unimplemented, "method IsMFARequired not implemented") 19960 } 19961 func (*UnimplementedAuthServiceServer) GetAccessRequestsV2(req *types.AccessRequestFilter, srv AuthService_GetAccessRequestsV2Server) error { 19962 return status.Errorf(codes.Unimplemented, "method GetAccessRequestsV2 not implemented") 19963 } 19964 func (*UnimplementedAuthServiceServer) ListAccessRequests(ctx context.Context, req *ListAccessRequestsRequest) (*ListAccessRequestsResponse, error) { 19965 return nil, status.Errorf(codes.Unimplemented, "method ListAccessRequests not implemented") 19966 } 19967 func (*UnimplementedAuthServiceServer) CreateAccessRequest(ctx context.Context, req *types.AccessRequestV3) (*emptypb.Empty, error) { 19968 return nil, status.Errorf(codes.Unimplemented, "method CreateAccessRequest not implemented") 19969 } 19970 func (*UnimplementedAuthServiceServer) CreateAccessRequestV2(ctx context.Context, req *types.AccessRequestV3) (*types.AccessRequestV3, error) { 19971 return nil, status.Errorf(codes.Unimplemented, "method CreateAccessRequestV2 not implemented") 19972 } 19973 func (*UnimplementedAuthServiceServer) DeleteAccessRequest(ctx context.Context, req *RequestID) (*emptypb.Empty, error) { 19974 return nil, status.Errorf(codes.Unimplemented, "method DeleteAccessRequest not implemented") 19975 } 19976 func (*UnimplementedAuthServiceServer) SetAccessRequestState(ctx context.Context, req *RequestStateSetter) (*emptypb.Empty, error) { 19977 return nil, status.Errorf(codes.Unimplemented, "method SetAccessRequestState not implemented") 19978 } 19979 func (*UnimplementedAuthServiceServer) SubmitAccessReview(ctx context.Context, req *types.AccessReviewSubmission) (*types.AccessRequestV3, error) { 19980 return nil, status.Errorf(codes.Unimplemented, "method SubmitAccessReview not implemented") 19981 } 19982 func (*UnimplementedAuthServiceServer) GetAccessCapabilities(ctx context.Context, req *types.AccessCapabilitiesRequest) (*types.AccessCapabilities, error) { 19983 return nil, status.Errorf(codes.Unimplemented, "method GetAccessCapabilities not implemented") 19984 } 19985 func (*UnimplementedAuthServiceServer) GetAccessRequestAllowedPromotions(ctx context.Context, req *AccessRequestAllowedPromotionRequest) (*AccessRequestAllowedPromotionResponse, error) { 19986 return nil, status.Errorf(codes.Unimplemented, "method GetAccessRequestAllowedPromotions not implemented") 19987 } 19988 func (*UnimplementedAuthServiceServer) GetPluginData(ctx context.Context, req *types.PluginDataFilter) (*PluginDataSeq, error) { 19989 return nil, status.Errorf(codes.Unimplemented, "method GetPluginData not implemented") 19990 } 19991 func (*UnimplementedAuthServiceServer) UpdatePluginData(ctx context.Context, req *types.PluginDataUpdateParams) (*emptypb.Empty, error) { 19992 return nil, status.Errorf(codes.Unimplemented, "method UpdatePluginData not implemented") 19993 } 19994 func (*UnimplementedAuthServiceServer) Ping(ctx context.Context, req *PingRequest) (*PingResponse, error) { 19995 return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") 19996 } 19997 func (*UnimplementedAuthServiceServer) GetResetPasswordToken(ctx context.Context, req *GetResetPasswordTokenRequest) (*types.UserTokenV3, error) { 19998 return nil, status.Errorf(codes.Unimplemented, "method GetResetPasswordToken not implemented") 19999 } 20000 func (*UnimplementedAuthServiceServer) CreateResetPasswordToken(ctx context.Context, req *CreateResetPasswordTokenRequest) (*types.UserTokenV3, error) { 20001 return nil, status.Errorf(codes.Unimplemented, "method CreateResetPasswordToken not implemented") 20002 } 20003 func (*UnimplementedAuthServiceServer) GetUser(ctx context.Context, req *GetUserRequest) (*types.UserV2, error) { 20004 return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented") 20005 } 20006 func (*UnimplementedAuthServiceServer) GetCurrentUser(ctx context.Context, req *emptypb.Empty) (*types.UserV2, error) { 20007 return nil, status.Errorf(codes.Unimplemented, "method GetCurrentUser not implemented") 20008 } 20009 func (*UnimplementedAuthServiceServer) GetCurrentUserRoles(req *emptypb.Empty, srv AuthService_GetCurrentUserRolesServer) error { 20010 return status.Errorf(codes.Unimplemented, "method GetCurrentUserRoles not implemented") 20011 } 20012 func (*UnimplementedAuthServiceServer) GetUsers(req *GetUsersRequest, srv AuthService_GetUsersServer) error { 20013 return status.Errorf(codes.Unimplemented, "method GetUsers not implemented") 20014 } 20015 func (*UnimplementedAuthServiceServer) CreateUser(ctx context.Context, req *types.UserV2) (*emptypb.Empty, error) { 20016 return nil, status.Errorf(codes.Unimplemented, "method CreateUser not implemented") 20017 } 20018 func (*UnimplementedAuthServiceServer) UpdateUser(ctx context.Context, req *types.UserV2) (*emptypb.Empty, error) { 20019 return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented") 20020 } 20021 func (*UnimplementedAuthServiceServer) DeleteUser(ctx context.Context, req *DeleteUserRequest) (*emptypb.Empty, error) { 20022 return nil, status.Errorf(codes.Unimplemented, "method DeleteUser not implemented") 20023 } 20024 func (*UnimplementedAuthServiceServer) ChangePassword(ctx context.Context, req *ChangePasswordRequest) (*emptypb.Empty, error) { 20025 return nil, status.Errorf(codes.Unimplemented, "method ChangePassword not implemented") 20026 } 20027 func (*UnimplementedAuthServiceServer) AcquireSemaphore(ctx context.Context, req *types.AcquireSemaphoreRequest) (*types.SemaphoreLease, error) { 20028 return nil, status.Errorf(codes.Unimplemented, "method AcquireSemaphore not implemented") 20029 } 20030 func (*UnimplementedAuthServiceServer) KeepAliveSemaphoreLease(ctx context.Context, req *types.SemaphoreLease) (*emptypb.Empty, error) { 20031 return nil, status.Errorf(codes.Unimplemented, "method KeepAliveSemaphoreLease not implemented") 20032 } 20033 func (*UnimplementedAuthServiceServer) CancelSemaphoreLease(ctx context.Context, req *types.SemaphoreLease) (*emptypb.Empty, error) { 20034 return nil, status.Errorf(codes.Unimplemented, "method CancelSemaphoreLease not implemented") 20035 } 20036 func (*UnimplementedAuthServiceServer) GetSemaphores(ctx context.Context, req *types.SemaphoreFilter) (*Semaphores, error) { 20037 return nil, status.Errorf(codes.Unimplemented, "method GetSemaphores not implemented") 20038 } 20039 func (*UnimplementedAuthServiceServer) DeleteSemaphore(ctx context.Context, req *types.SemaphoreFilter) (*emptypb.Empty, error) { 20040 return nil, status.Errorf(codes.Unimplemented, "method DeleteSemaphore not implemented") 20041 } 20042 func (*UnimplementedAuthServiceServer) EmitAuditEvent(ctx context.Context, req *events.OneOf) (*emptypb.Empty, error) { 20043 return nil, status.Errorf(codes.Unimplemented, "method EmitAuditEvent not implemented") 20044 } 20045 func (*UnimplementedAuthServiceServer) CreateAuditStream(srv AuthService_CreateAuditStreamServer) error { 20046 return status.Errorf(codes.Unimplemented, "method CreateAuditStream not implemented") 20047 } 20048 func (*UnimplementedAuthServiceServer) UpsertApplicationServer(ctx context.Context, req *UpsertApplicationServerRequest) (*types.KeepAlive, error) { 20049 return nil, status.Errorf(codes.Unimplemented, "method UpsertApplicationServer not implemented") 20050 } 20051 func (*UnimplementedAuthServiceServer) DeleteApplicationServer(ctx context.Context, req *DeleteApplicationServerRequest) (*emptypb.Empty, error) { 20052 return nil, status.Errorf(codes.Unimplemented, "method DeleteApplicationServer not implemented") 20053 } 20054 func (*UnimplementedAuthServiceServer) DeleteAllApplicationServers(ctx context.Context, req *DeleteAllApplicationServersRequest) (*emptypb.Empty, error) { 20055 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllApplicationServers not implemented") 20056 } 20057 func (*UnimplementedAuthServiceServer) GenerateAppToken(ctx context.Context, req *GenerateAppTokenRequest) (*GenerateAppTokenResponse, error) { 20058 return nil, status.Errorf(codes.Unimplemented, "method GenerateAppToken not implemented") 20059 } 20060 func (*UnimplementedAuthServiceServer) GetAppSession(ctx context.Context, req *GetAppSessionRequest) (*GetAppSessionResponse, error) { 20061 return nil, status.Errorf(codes.Unimplemented, "method GetAppSession not implemented") 20062 } 20063 func (*UnimplementedAuthServiceServer) ListAppSessions(ctx context.Context, req *ListAppSessionsRequest) (*ListAppSessionsResponse, error) { 20064 return nil, status.Errorf(codes.Unimplemented, "method ListAppSessions not implemented") 20065 } 20066 func (*UnimplementedAuthServiceServer) CreateAppSession(ctx context.Context, req *CreateAppSessionRequest) (*CreateAppSessionResponse, error) { 20067 return nil, status.Errorf(codes.Unimplemented, "method CreateAppSession not implemented") 20068 } 20069 func (*UnimplementedAuthServiceServer) DeleteAppSession(ctx context.Context, req *DeleteAppSessionRequest) (*emptypb.Empty, error) { 20070 return nil, status.Errorf(codes.Unimplemented, "method DeleteAppSession not implemented") 20071 } 20072 func (*UnimplementedAuthServiceServer) DeleteAllAppSessions(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20073 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllAppSessions not implemented") 20074 } 20075 func (*UnimplementedAuthServiceServer) DeleteUserAppSessions(ctx context.Context, req *DeleteUserAppSessionsRequest) (*emptypb.Empty, error) { 20076 return nil, status.Errorf(codes.Unimplemented, "method DeleteUserAppSessions not implemented") 20077 } 20078 func (*UnimplementedAuthServiceServer) CreateSnowflakeSession(ctx context.Context, req *CreateSnowflakeSessionRequest) (*CreateSnowflakeSessionResponse, error) { 20079 return nil, status.Errorf(codes.Unimplemented, "method CreateSnowflakeSession not implemented") 20080 } 20081 func (*UnimplementedAuthServiceServer) GetSnowflakeSession(ctx context.Context, req *GetSnowflakeSessionRequest) (*GetSnowflakeSessionResponse, error) { 20082 return nil, status.Errorf(codes.Unimplemented, "method GetSnowflakeSession not implemented") 20083 } 20084 func (*UnimplementedAuthServiceServer) GetSnowflakeSessions(ctx context.Context, req *emptypb.Empty) (*GetSnowflakeSessionsResponse, error) { 20085 return nil, status.Errorf(codes.Unimplemented, "method GetSnowflakeSessions not implemented") 20086 } 20087 func (*UnimplementedAuthServiceServer) DeleteSnowflakeSession(ctx context.Context, req *DeleteSnowflakeSessionRequest) (*emptypb.Empty, error) { 20088 return nil, status.Errorf(codes.Unimplemented, "method DeleteSnowflakeSession not implemented") 20089 } 20090 func (*UnimplementedAuthServiceServer) DeleteAllSnowflakeSessions(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20091 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllSnowflakeSessions not implemented") 20092 } 20093 func (*UnimplementedAuthServiceServer) CreateSAMLIdPSession(ctx context.Context, req *CreateSAMLIdPSessionRequest) (*CreateSAMLIdPSessionResponse, error) { 20094 return nil, status.Errorf(codes.Unimplemented, "method CreateSAMLIdPSession not implemented") 20095 } 20096 func (*UnimplementedAuthServiceServer) GetSAMLIdPSession(ctx context.Context, req *GetSAMLIdPSessionRequest) (*GetSAMLIdPSessionResponse, error) { 20097 return nil, status.Errorf(codes.Unimplemented, "method GetSAMLIdPSession not implemented") 20098 } 20099 func (*UnimplementedAuthServiceServer) ListSAMLIdPSessions(ctx context.Context, req *ListSAMLIdPSessionsRequest) (*ListSAMLIdPSessionsResponse, error) { 20100 return nil, status.Errorf(codes.Unimplemented, "method ListSAMLIdPSessions not implemented") 20101 } 20102 func (*UnimplementedAuthServiceServer) DeleteSAMLIdPSession(ctx context.Context, req *DeleteSAMLIdPSessionRequest) (*emptypb.Empty, error) { 20103 return nil, status.Errorf(codes.Unimplemented, "method DeleteSAMLIdPSession not implemented") 20104 } 20105 func (*UnimplementedAuthServiceServer) DeleteAllSAMLIdPSessions(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20106 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllSAMLIdPSessions not implemented") 20107 } 20108 func (*UnimplementedAuthServiceServer) DeleteUserSAMLIdPSessions(ctx context.Context, req *DeleteUserSAMLIdPSessionsRequest) (*emptypb.Empty, error) { 20109 return nil, status.Errorf(codes.Unimplemented, "method DeleteUserSAMLIdPSessions not implemented") 20110 } 20111 func (*UnimplementedAuthServiceServer) GetWebSession(ctx context.Context, req *types.GetWebSessionRequest) (*GetWebSessionResponse, error) { 20112 return nil, status.Errorf(codes.Unimplemented, "method GetWebSession not implemented") 20113 } 20114 func (*UnimplementedAuthServiceServer) GetWebSessions(ctx context.Context, req *emptypb.Empty) (*GetWebSessionsResponse, error) { 20115 return nil, status.Errorf(codes.Unimplemented, "method GetWebSessions not implemented") 20116 } 20117 func (*UnimplementedAuthServiceServer) DeleteWebSession(ctx context.Context, req *types.DeleteWebSessionRequest) (*emptypb.Empty, error) { 20118 return nil, status.Errorf(codes.Unimplemented, "method DeleteWebSession not implemented") 20119 } 20120 func (*UnimplementedAuthServiceServer) DeleteAllWebSessions(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20121 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllWebSessions not implemented") 20122 } 20123 func (*UnimplementedAuthServiceServer) GetWebToken(ctx context.Context, req *types.GetWebTokenRequest) (*GetWebTokenResponse, error) { 20124 return nil, status.Errorf(codes.Unimplemented, "method GetWebToken not implemented") 20125 } 20126 func (*UnimplementedAuthServiceServer) GetWebTokens(ctx context.Context, req *emptypb.Empty) (*GetWebTokensResponse, error) { 20127 return nil, status.Errorf(codes.Unimplemented, "method GetWebTokens not implemented") 20128 } 20129 func (*UnimplementedAuthServiceServer) DeleteWebToken(ctx context.Context, req *types.DeleteWebTokenRequest) (*emptypb.Empty, error) { 20130 return nil, status.Errorf(codes.Unimplemented, "method DeleteWebToken not implemented") 20131 } 20132 func (*UnimplementedAuthServiceServer) DeleteAllWebTokens(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20133 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllWebTokens not implemented") 20134 } 20135 func (*UnimplementedAuthServiceServer) UpdateRemoteCluster(ctx context.Context, req *types.RemoteClusterV3) (*emptypb.Empty, error) { 20136 return nil, status.Errorf(codes.Unimplemented, "method UpdateRemoteCluster not implemented") 20137 } 20138 func (*UnimplementedAuthServiceServer) UpsertKubernetesServer(ctx context.Context, req *UpsertKubernetesServerRequest) (*types.KeepAlive, error) { 20139 return nil, status.Errorf(codes.Unimplemented, "method UpsertKubernetesServer not implemented") 20140 } 20141 func (*UnimplementedAuthServiceServer) DeleteKubernetesServer(ctx context.Context, req *DeleteKubernetesServerRequest) (*emptypb.Empty, error) { 20142 return nil, status.Errorf(codes.Unimplemented, "method DeleteKubernetesServer not implemented") 20143 } 20144 func (*UnimplementedAuthServiceServer) DeleteAllKubernetesServers(ctx context.Context, req *DeleteAllKubernetesServersRequest) (*emptypb.Empty, error) { 20145 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllKubernetesServers not implemented") 20146 } 20147 func (*UnimplementedAuthServiceServer) UpsertDatabaseServer(ctx context.Context, req *UpsertDatabaseServerRequest) (*types.KeepAlive, error) { 20148 return nil, status.Errorf(codes.Unimplemented, "method UpsertDatabaseServer not implemented") 20149 } 20150 func (*UnimplementedAuthServiceServer) DeleteDatabaseServer(ctx context.Context, req *DeleteDatabaseServerRequest) (*emptypb.Empty, error) { 20151 return nil, status.Errorf(codes.Unimplemented, "method DeleteDatabaseServer not implemented") 20152 } 20153 func (*UnimplementedAuthServiceServer) DeleteAllDatabaseServers(ctx context.Context, req *DeleteAllDatabaseServersRequest) (*emptypb.Empty, error) { 20154 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllDatabaseServers not implemented") 20155 } 20156 func (*UnimplementedAuthServiceServer) UpsertDatabaseService(ctx context.Context, req *UpsertDatabaseServiceRequest) (*types.KeepAlive, error) { 20157 return nil, status.Errorf(codes.Unimplemented, "method UpsertDatabaseService not implemented") 20158 } 20159 func (*UnimplementedAuthServiceServer) DeleteDatabaseService(ctx context.Context, req *types.ResourceRequest) (*emptypb.Empty, error) { 20160 return nil, status.Errorf(codes.Unimplemented, "method DeleteDatabaseService not implemented") 20161 } 20162 func (*UnimplementedAuthServiceServer) DeleteAllDatabaseServices(ctx context.Context, req *DeleteAllDatabaseServicesRequest) (*emptypb.Empty, error) { 20163 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllDatabaseServices not implemented") 20164 } 20165 func (*UnimplementedAuthServiceServer) SignDatabaseCSR(ctx context.Context, req *DatabaseCSRRequest) (*DatabaseCSRResponse, error) { 20166 return nil, status.Errorf(codes.Unimplemented, "method SignDatabaseCSR not implemented") 20167 } 20168 func (*UnimplementedAuthServiceServer) GenerateDatabaseCert(ctx context.Context, req *DatabaseCertRequest) (*DatabaseCertResponse, error) { 20169 return nil, status.Errorf(codes.Unimplemented, "method GenerateDatabaseCert not implemented") 20170 } 20171 func (*UnimplementedAuthServiceServer) GenerateSnowflakeJWT(ctx context.Context, req *SnowflakeJWTRequest) (*SnowflakeJWTResponse, error) { 20172 return nil, status.Errorf(codes.Unimplemented, "method GenerateSnowflakeJWT not implemented") 20173 } 20174 func (*UnimplementedAuthServiceServer) GetRole(ctx context.Context, req *GetRoleRequest) (*types.RoleV6, error) { 20175 return nil, status.Errorf(codes.Unimplemented, "method GetRole not implemented") 20176 } 20177 func (*UnimplementedAuthServiceServer) GetRoles(ctx context.Context, req *emptypb.Empty) (*GetRolesResponse, error) { 20178 return nil, status.Errorf(codes.Unimplemented, "method GetRoles not implemented") 20179 } 20180 func (*UnimplementedAuthServiceServer) ListRoles(ctx context.Context, req *ListRolesRequest) (*ListRolesResponse, error) { 20181 return nil, status.Errorf(codes.Unimplemented, "method ListRoles not implemented") 20182 } 20183 func (*UnimplementedAuthServiceServer) CreateRole(ctx context.Context, req *CreateRoleRequest) (*types.RoleV6, error) { 20184 return nil, status.Errorf(codes.Unimplemented, "method CreateRole not implemented") 20185 } 20186 func (*UnimplementedAuthServiceServer) UpdateRole(ctx context.Context, req *UpdateRoleRequest) (*types.RoleV6, error) { 20187 return nil, status.Errorf(codes.Unimplemented, "method UpdateRole not implemented") 20188 } 20189 func (*UnimplementedAuthServiceServer) UpsertRoleV2(ctx context.Context, req *UpsertRoleRequest) (*types.RoleV6, error) { 20190 return nil, status.Errorf(codes.Unimplemented, "method UpsertRoleV2 not implemented") 20191 } 20192 func (*UnimplementedAuthServiceServer) UpsertRole(ctx context.Context, req *types.RoleV6) (*emptypb.Empty, error) { 20193 return nil, status.Errorf(codes.Unimplemented, "method UpsertRole not implemented") 20194 } 20195 func (*UnimplementedAuthServiceServer) DeleteRole(ctx context.Context, req *DeleteRoleRequest) (*emptypb.Empty, error) { 20196 return nil, status.Errorf(codes.Unimplemented, "method DeleteRole not implemented") 20197 } 20198 func (*UnimplementedAuthServiceServer) AddMFADevice(srv AuthService_AddMFADeviceServer) error { 20199 return status.Errorf(codes.Unimplemented, "method AddMFADevice not implemented") 20200 } 20201 func (*UnimplementedAuthServiceServer) DeleteMFADevice(srv AuthService_DeleteMFADeviceServer) error { 20202 return status.Errorf(codes.Unimplemented, "method DeleteMFADevice not implemented") 20203 } 20204 func (*UnimplementedAuthServiceServer) AddMFADeviceSync(ctx context.Context, req *AddMFADeviceSyncRequest) (*AddMFADeviceSyncResponse, error) { 20205 return nil, status.Errorf(codes.Unimplemented, "method AddMFADeviceSync not implemented") 20206 } 20207 func (*UnimplementedAuthServiceServer) DeleteMFADeviceSync(ctx context.Context, req *DeleteMFADeviceSyncRequest) (*emptypb.Empty, error) { 20208 return nil, status.Errorf(codes.Unimplemented, "method DeleteMFADeviceSync not implemented") 20209 } 20210 func (*UnimplementedAuthServiceServer) GetMFADevices(ctx context.Context, req *GetMFADevicesRequest) (*GetMFADevicesResponse, error) { 20211 return nil, status.Errorf(codes.Unimplemented, "method GetMFADevices not implemented") 20212 } 20213 func (*UnimplementedAuthServiceServer) CreateAuthenticateChallenge(ctx context.Context, req *CreateAuthenticateChallengeRequest) (*MFAAuthenticateChallenge, error) { 20214 return nil, status.Errorf(codes.Unimplemented, "method CreateAuthenticateChallenge not implemented") 20215 } 20216 func (*UnimplementedAuthServiceServer) CreateRegisterChallenge(ctx context.Context, req *CreateRegisterChallengeRequest) (*MFARegisterChallenge, error) { 20217 return nil, status.Errorf(codes.Unimplemented, "method CreateRegisterChallenge not implemented") 20218 } 20219 func (*UnimplementedAuthServiceServer) GetOIDCConnector(ctx context.Context, req *types.ResourceWithSecretsRequest) (*types.OIDCConnectorV3, error) { 20220 return nil, status.Errorf(codes.Unimplemented, "method GetOIDCConnector not implemented") 20221 } 20222 func (*UnimplementedAuthServiceServer) GetOIDCConnectors(ctx context.Context, req *types.ResourcesWithSecretsRequest) (*types.OIDCConnectorV3List, error) { 20223 return nil, status.Errorf(codes.Unimplemented, "method GetOIDCConnectors not implemented") 20224 } 20225 func (*UnimplementedAuthServiceServer) CreateOIDCConnector(ctx context.Context, req *CreateOIDCConnectorRequest) (*types.OIDCConnectorV3, error) { 20226 return nil, status.Errorf(codes.Unimplemented, "method CreateOIDCConnector not implemented") 20227 } 20228 func (*UnimplementedAuthServiceServer) UpdateOIDCConnector(ctx context.Context, req *UpdateOIDCConnectorRequest) (*types.OIDCConnectorV3, error) { 20229 return nil, status.Errorf(codes.Unimplemented, "method UpdateOIDCConnector not implemented") 20230 } 20231 func (*UnimplementedAuthServiceServer) UpsertOIDCConnector(ctx context.Context, req *types.OIDCConnectorV3) (*emptypb.Empty, error) { 20232 return nil, status.Errorf(codes.Unimplemented, "method UpsertOIDCConnector not implemented") 20233 } 20234 func (*UnimplementedAuthServiceServer) UpsertOIDCConnectorV2(ctx context.Context, req *UpsertOIDCConnectorRequest) (*types.OIDCConnectorV3, error) { 20235 return nil, status.Errorf(codes.Unimplemented, "method UpsertOIDCConnectorV2 not implemented") 20236 } 20237 func (*UnimplementedAuthServiceServer) DeleteOIDCConnector(ctx context.Context, req *types.ResourceRequest) (*emptypb.Empty, error) { 20238 return nil, status.Errorf(codes.Unimplemented, "method DeleteOIDCConnector not implemented") 20239 } 20240 func (*UnimplementedAuthServiceServer) CreateOIDCAuthRequest(ctx context.Context, req *types.OIDCAuthRequest) (*types.OIDCAuthRequest, error) { 20241 return nil, status.Errorf(codes.Unimplemented, "method CreateOIDCAuthRequest not implemented") 20242 } 20243 func (*UnimplementedAuthServiceServer) GetOIDCAuthRequest(ctx context.Context, req *GetOIDCAuthRequestRequest) (*types.OIDCAuthRequest, error) { 20244 return nil, status.Errorf(codes.Unimplemented, "method GetOIDCAuthRequest not implemented") 20245 } 20246 func (*UnimplementedAuthServiceServer) GetSAMLConnector(ctx context.Context, req *types.ResourceWithSecretsRequest) (*types.SAMLConnectorV2, error) { 20247 return nil, status.Errorf(codes.Unimplemented, "method GetSAMLConnector not implemented") 20248 } 20249 func (*UnimplementedAuthServiceServer) GetSAMLConnectors(ctx context.Context, req *types.ResourcesWithSecretsRequest) (*types.SAMLConnectorV2List, error) { 20250 return nil, status.Errorf(codes.Unimplemented, "method GetSAMLConnectors not implemented") 20251 } 20252 func (*UnimplementedAuthServiceServer) CreateSAMLConnector(ctx context.Context, req *CreateSAMLConnectorRequest) (*types.SAMLConnectorV2, error) { 20253 return nil, status.Errorf(codes.Unimplemented, "method CreateSAMLConnector not implemented") 20254 } 20255 func (*UnimplementedAuthServiceServer) UpdateSAMLConnector(ctx context.Context, req *UpdateSAMLConnectorRequest) (*types.SAMLConnectorV2, error) { 20256 return nil, status.Errorf(codes.Unimplemented, "method UpdateSAMLConnector not implemented") 20257 } 20258 func (*UnimplementedAuthServiceServer) UpsertSAMLConnector(ctx context.Context, req *types.SAMLConnectorV2) (*emptypb.Empty, error) { 20259 return nil, status.Errorf(codes.Unimplemented, "method UpsertSAMLConnector not implemented") 20260 } 20261 func (*UnimplementedAuthServiceServer) UpsertSAMLConnectorV2(ctx context.Context, req *UpsertSAMLConnectorRequest) (*types.SAMLConnectorV2, error) { 20262 return nil, status.Errorf(codes.Unimplemented, "method UpsertSAMLConnectorV2 not implemented") 20263 } 20264 func (*UnimplementedAuthServiceServer) DeleteSAMLConnector(ctx context.Context, req *types.ResourceRequest) (*emptypb.Empty, error) { 20265 return nil, status.Errorf(codes.Unimplemented, "method DeleteSAMLConnector not implemented") 20266 } 20267 func (*UnimplementedAuthServiceServer) CreateSAMLAuthRequest(ctx context.Context, req *types.SAMLAuthRequest) (*types.SAMLAuthRequest, error) { 20268 return nil, status.Errorf(codes.Unimplemented, "method CreateSAMLAuthRequest not implemented") 20269 } 20270 func (*UnimplementedAuthServiceServer) GetSAMLAuthRequest(ctx context.Context, req *GetSAMLAuthRequestRequest) (*types.SAMLAuthRequest, error) { 20271 return nil, status.Errorf(codes.Unimplemented, "method GetSAMLAuthRequest not implemented") 20272 } 20273 func (*UnimplementedAuthServiceServer) GetGithubConnector(ctx context.Context, req *types.ResourceWithSecretsRequest) (*types.GithubConnectorV3, error) { 20274 return nil, status.Errorf(codes.Unimplemented, "method GetGithubConnector not implemented") 20275 } 20276 func (*UnimplementedAuthServiceServer) GetGithubConnectors(ctx context.Context, req *types.ResourcesWithSecretsRequest) (*types.GithubConnectorV3List, error) { 20277 return nil, status.Errorf(codes.Unimplemented, "method GetGithubConnectors not implemented") 20278 } 20279 func (*UnimplementedAuthServiceServer) CreateGithubConnector(ctx context.Context, req *CreateGithubConnectorRequest) (*types.GithubConnectorV3, error) { 20280 return nil, status.Errorf(codes.Unimplemented, "method CreateGithubConnector not implemented") 20281 } 20282 func (*UnimplementedAuthServiceServer) UpdateGithubConnector(ctx context.Context, req *UpdateGithubConnectorRequest) (*types.GithubConnectorV3, error) { 20283 return nil, status.Errorf(codes.Unimplemented, "method UpdateGithubConnector not implemented") 20284 } 20285 func (*UnimplementedAuthServiceServer) UpsertGithubConnector(ctx context.Context, req *types.GithubConnectorV3) (*emptypb.Empty, error) { 20286 return nil, status.Errorf(codes.Unimplemented, "method UpsertGithubConnector not implemented") 20287 } 20288 func (*UnimplementedAuthServiceServer) UpsertGithubConnectorV2(ctx context.Context, req *UpsertGithubConnectorRequest) (*types.GithubConnectorV3, error) { 20289 return nil, status.Errorf(codes.Unimplemented, "method UpsertGithubConnectorV2 not implemented") 20290 } 20291 func (*UnimplementedAuthServiceServer) DeleteGithubConnector(ctx context.Context, req *types.ResourceRequest) (*emptypb.Empty, error) { 20292 return nil, status.Errorf(codes.Unimplemented, "method DeleteGithubConnector not implemented") 20293 } 20294 func (*UnimplementedAuthServiceServer) CreateGithubAuthRequest(ctx context.Context, req *types.GithubAuthRequest) (*types.GithubAuthRequest, error) { 20295 return nil, status.Errorf(codes.Unimplemented, "method CreateGithubAuthRequest not implemented") 20296 } 20297 func (*UnimplementedAuthServiceServer) GetGithubAuthRequest(ctx context.Context, req *GetGithubAuthRequestRequest) (*types.GithubAuthRequest, error) { 20298 return nil, status.Errorf(codes.Unimplemented, "method GetGithubAuthRequest not implemented") 20299 } 20300 func (*UnimplementedAuthServiceServer) GetSSODiagnosticInfo(ctx context.Context, req *GetSSODiagnosticInfoRequest) (*types.SSODiagnosticInfo, error) { 20301 return nil, status.Errorf(codes.Unimplemented, "method GetSSODiagnosticInfo not implemented") 20302 } 20303 func (*UnimplementedAuthServiceServer) GetServerInfos(req *emptypb.Empty, srv AuthService_GetServerInfosServer) error { 20304 return status.Errorf(codes.Unimplemented, "method GetServerInfos not implemented") 20305 } 20306 func (*UnimplementedAuthServiceServer) GetServerInfo(ctx context.Context, req *types.ResourceRequest) (*types.ServerInfoV1, error) { 20307 return nil, status.Errorf(codes.Unimplemented, "method GetServerInfo not implemented") 20308 } 20309 func (*UnimplementedAuthServiceServer) UpsertServerInfo(ctx context.Context, req *types.ServerInfoV1) (*emptypb.Empty, error) { 20310 return nil, status.Errorf(codes.Unimplemented, "method UpsertServerInfo not implemented") 20311 } 20312 func (*UnimplementedAuthServiceServer) DeleteServerInfo(ctx context.Context, req *types.ResourceRequest) (*emptypb.Empty, error) { 20313 return nil, status.Errorf(codes.Unimplemented, "method DeleteServerInfo not implemented") 20314 } 20315 func (*UnimplementedAuthServiceServer) DeleteAllServerInfos(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20316 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllServerInfos not implemented") 20317 } 20318 func (*UnimplementedAuthServiceServer) GetTrustedCluster(ctx context.Context, req *types.ResourceRequest) (*types.TrustedClusterV2, error) { 20319 return nil, status.Errorf(codes.Unimplemented, "method GetTrustedCluster not implemented") 20320 } 20321 func (*UnimplementedAuthServiceServer) GetTrustedClusters(ctx context.Context, req *emptypb.Empty) (*types.TrustedClusterV2List, error) { 20322 return nil, status.Errorf(codes.Unimplemented, "method GetTrustedClusters not implemented") 20323 } 20324 func (*UnimplementedAuthServiceServer) UpsertTrustedCluster(ctx context.Context, req *types.TrustedClusterV2) (*types.TrustedClusterV2, error) { 20325 return nil, status.Errorf(codes.Unimplemented, "method UpsertTrustedCluster not implemented") 20326 } 20327 func (*UnimplementedAuthServiceServer) DeleteTrustedCluster(ctx context.Context, req *types.ResourceRequest) (*emptypb.Empty, error) { 20328 return nil, status.Errorf(codes.Unimplemented, "method DeleteTrustedCluster not implemented") 20329 } 20330 func (*UnimplementedAuthServiceServer) GetToken(ctx context.Context, req *types.ResourceRequest) (*types.ProvisionTokenV2, error) { 20331 return nil, status.Errorf(codes.Unimplemented, "method GetToken not implemented") 20332 } 20333 func (*UnimplementedAuthServiceServer) GetTokens(ctx context.Context, req *emptypb.Empty) (*types.ProvisionTokenV2List, error) { 20334 return nil, status.Errorf(codes.Unimplemented, "method GetTokens not implemented") 20335 } 20336 func (*UnimplementedAuthServiceServer) CreateTokenV2(ctx context.Context, req *CreateTokenV2Request) (*emptypb.Empty, error) { 20337 return nil, status.Errorf(codes.Unimplemented, "method CreateTokenV2 not implemented") 20338 } 20339 func (*UnimplementedAuthServiceServer) UpsertTokenV2(ctx context.Context, req *UpsertTokenV2Request) (*emptypb.Empty, error) { 20340 return nil, status.Errorf(codes.Unimplemented, "method UpsertTokenV2 not implemented") 20341 } 20342 func (*UnimplementedAuthServiceServer) DeleteToken(ctx context.Context, req *types.ResourceRequest) (*emptypb.Empty, error) { 20343 return nil, status.Errorf(codes.Unimplemented, "method DeleteToken not implemented") 20344 } 20345 func (*UnimplementedAuthServiceServer) GetClusterAuditConfig(ctx context.Context, req *emptypb.Empty) (*types.ClusterAuditConfigV2, error) { 20346 return nil, status.Errorf(codes.Unimplemented, "method GetClusterAuditConfig not implemented") 20347 } 20348 func (*UnimplementedAuthServiceServer) GetClusterNetworkingConfig(ctx context.Context, req *emptypb.Empty) (*types.ClusterNetworkingConfigV2, error) { 20349 return nil, status.Errorf(codes.Unimplemented, "method GetClusterNetworkingConfig not implemented") 20350 } 20351 func (*UnimplementedAuthServiceServer) SetClusterNetworkingConfig(ctx context.Context, req *types.ClusterNetworkingConfigV2) (*emptypb.Empty, error) { 20352 return nil, status.Errorf(codes.Unimplemented, "method SetClusterNetworkingConfig not implemented") 20353 } 20354 func (*UnimplementedAuthServiceServer) ResetClusterNetworkingConfig(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20355 return nil, status.Errorf(codes.Unimplemented, "method ResetClusterNetworkingConfig not implemented") 20356 } 20357 func (*UnimplementedAuthServiceServer) GetSessionRecordingConfig(ctx context.Context, req *emptypb.Empty) (*types.SessionRecordingConfigV2, error) { 20358 return nil, status.Errorf(codes.Unimplemented, "method GetSessionRecordingConfig not implemented") 20359 } 20360 func (*UnimplementedAuthServiceServer) SetSessionRecordingConfig(ctx context.Context, req *types.SessionRecordingConfigV2) (*emptypb.Empty, error) { 20361 return nil, status.Errorf(codes.Unimplemented, "method SetSessionRecordingConfig not implemented") 20362 } 20363 func (*UnimplementedAuthServiceServer) ResetSessionRecordingConfig(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20364 return nil, status.Errorf(codes.Unimplemented, "method ResetSessionRecordingConfig not implemented") 20365 } 20366 func (*UnimplementedAuthServiceServer) GetAuthPreference(ctx context.Context, req *emptypb.Empty) (*types.AuthPreferenceV2, error) { 20367 return nil, status.Errorf(codes.Unimplemented, "method GetAuthPreference not implemented") 20368 } 20369 func (*UnimplementedAuthServiceServer) SetAuthPreference(ctx context.Context, req *types.AuthPreferenceV2) (*emptypb.Empty, error) { 20370 return nil, status.Errorf(codes.Unimplemented, "method SetAuthPreference not implemented") 20371 } 20372 func (*UnimplementedAuthServiceServer) ResetAuthPreference(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20373 return nil, status.Errorf(codes.Unimplemented, "method ResetAuthPreference not implemented") 20374 } 20375 func (*UnimplementedAuthServiceServer) GetUIConfig(ctx context.Context, req *emptypb.Empty) (*types.UIConfigV1, error) { 20376 return nil, status.Errorf(codes.Unimplemented, "method GetUIConfig not implemented") 20377 } 20378 func (*UnimplementedAuthServiceServer) SetUIConfig(ctx context.Context, req *types.UIConfigV1) (*emptypb.Empty, error) { 20379 return nil, status.Errorf(codes.Unimplemented, "method SetUIConfig not implemented") 20380 } 20381 func (*UnimplementedAuthServiceServer) DeleteUIConfig(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20382 return nil, status.Errorf(codes.Unimplemented, "method DeleteUIConfig not implemented") 20383 } 20384 func (*UnimplementedAuthServiceServer) GetEvents(ctx context.Context, req *GetEventsRequest) (*Events, error) { 20385 return nil, status.Errorf(codes.Unimplemented, "method GetEvents not implemented") 20386 } 20387 func (*UnimplementedAuthServiceServer) GetSessionEvents(ctx context.Context, req *GetSessionEventsRequest) (*Events, error) { 20388 return nil, status.Errorf(codes.Unimplemented, "method GetSessionEvents not implemented") 20389 } 20390 func (*UnimplementedAuthServiceServer) GetLock(ctx context.Context, req *GetLockRequest) (*types.LockV2, error) { 20391 return nil, status.Errorf(codes.Unimplemented, "method GetLock not implemented") 20392 } 20393 func (*UnimplementedAuthServiceServer) GetLocks(ctx context.Context, req *GetLocksRequest) (*GetLocksResponse, error) { 20394 return nil, status.Errorf(codes.Unimplemented, "method GetLocks not implemented") 20395 } 20396 func (*UnimplementedAuthServiceServer) UpsertLock(ctx context.Context, req *types.LockV2) (*emptypb.Empty, error) { 20397 return nil, status.Errorf(codes.Unimplemented, "method UpsertLock not implemented") 20398 } 20399 func (*UnimplementedAuthServiceServer) DeleteLock(ctx context.Context, req *DeleteLockRequest) (*emptypb.Empty, error) { 20400 return nil, status.Errorf(codes.Unimplemented, "method DeleteLock not implemented") 20401 } 20402 func (*UnimplementedAuthServiceServer) ReplaceRemoteLocks(ctx context.Context, req *ReplaceRemoteLocksRequest) (*emptypb.Empty, error) { 20403 return nil, status.Errorf(codes.Unimplemented, "method ReplaceRemoteLocks not implemented") 20404 } 20405 func (*UnimplementedAuthServiceServer) StreamSessionEvents(req *StreamSessionEventsRequest, srv AuthService_StreamSessionEventsServer) error { 20406 return status.Errorf(codes.Unimplemented, "method StreamSessionEvents not implemented") 20407 } 20408 func (*UnimplementedAuthServiceServer) GetNetworkRestrictions(ctx context.Context, req *emptypb.Empty) (*types.NetworkRestrictionsV4, error) { 20409 return nil, status.Errorf(codes.Unimplemented, "method GetNetworkRestrictions not implemented") 20410 } 20411 func (*UnimplementedAuthServiceServer) SetNetworkRestrictions(ctx context.Context, req *types.NetworkRestrictionsV4) (*emptypb.Empty, error) { 20412 return nil, status.Errorf(codes.Unimplemented, "method SetNetworkRestrictions not implemented") 20413 } 20414 func (*UnimplementedAuthServiceServer) DeleteNetworkRestrictions(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20415 return nil, status.Errorf(codes.Unimplemented, "method DeleteNetworkRestrictions not implemented") 20416 } 20417 func (*UnimplementedAuthServiceServer) GetApps(ctx context.Context, req *emptypb.Empty) (*types.AppV3List, error) { 20418 return nil, status.Errorf(codes.Unimplemented, "method GetApps not implemented") 20419 } 20420 func (*UnimplementedAuthServiceServer) GetApp(ctx context.Context, req *types.ResourceRequest) (*types.AppV3, error) { 20421 return nil, status.Errorf(codes.Unimplemented, "method GetApp not implemented") 20422 } 20423 func (*UnimplementedAuthServiceServer) CreateApp(ctx context.Context, req *types.AppV3) (*emptypb.Empty, error) { 20424 return nil, status.Errorf(codes.Unimplemented, "method CreateApp not implemented") 20425 } 20426 func (*UnimplementedAuthServiceServer) UpdateApp(ctx context.Context, req *types.AppV3) (*emptypb.Empty, error) { 20427 return nil, status.Errorf(codes.Unimplemented, "method UpdateApp not implemented") 20428 } 20429 func (*UnimplementedAuthServiceServer) DeleteApp(ctx context.Context, req *types.ResourceRequest) (*emptypb.Empty, error) { 20430 return nil, status.Errorf(codes.Unimplemented, "method DeleteApp not implemented") 20431 } 20432 func (*UnimplementedAuthServiceServer) DeleteAllApps(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20433 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllApps not implemented") 20434 } 20435 func (*UnimplementedAuthServiceServer) GetDatabases(ctx context.Context, req *emptypb.Empty) (*types.DatabaseV3List, error) { 20436 return nil, status.Errorf(codes.Unimplemented, "method GetDatabases not implemented") 20437 } 20438 func (*UnimplementedAuthServiceServer) GetDatabase(ctx context.Context, req *types.ResourceRequest) (*types.DatabaseV3, error) { 20439 return nil, status.Errorf(codes.Unimplemented, "method GetDatabase not implemented") 20440 } 20441 func (*UnimplementedAuthServiceServer) CreateDatabase(ctx context.Context, req *types.DatabaseV3) (*emptypb.Empty, error) { 20442 return nil, status.Errorf(codes.Unimplemented, "method CreateDatabase not implemented") 20443 } 20444 func (*UnimplementedAuthServiceServer) UpdateDatabase(ctx context.Context, req *types.DatabaseV3) (*emptypb.Empty, error) { 20445 return nil, status.Errorf(codes.Unimplemented, "method UpdateDatabase not implemented") 20446 } 20447 func (*UnimplementedAuthServiceServer) DeleteDatabase(ctx context.Context, req *types.ResourceRequest) (*emptypb.Empty, error) { 20448 return nil, status.Errorf(codes.Unimplemented, "method DeleteDatabase not implemented") 20449 } 20450 func (*UnimplementedAuthServiceServer) DeleteAllDatabases(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20451 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllDatabases not implemented") 20452 } 20453 func (*UnimplementedAuthServiceServer) GetKubernetesClusters(ctx context.Context, req *emptypb.Empty) (*types.KubernetesClusterV3List, error) { 20454 return nil, status.Errorf(codes.Unimplemented, "method GetKubernetesClusters not implemented") 20455 } 20456 func (*UnimplementedAuthServiceServer) GetKubernetesCluster(ctx context.Context, req *types.ResourceRequest) (*types.KubernetesClusterV3, error) { 20457 return nil, status.Errorf(codes.Unimplemented, "method GetKubernetesCluster not implemented") 20458 } 20459 func (*UnimplementedAuthServiceServer) CreateKubernetesCluster(ctx context.Context, req *types.KubernetesClusterV3) (*emptypb.Empty, error) { 20460 return nil, status.Errorf(codes.Unimplemented, "method CreateKubernetesCluster not implemented") 20461 } 20462 func (*UnimplementedAuthServiceServer) UpdateKubernetesCluster(ctx context.Context, req *types.KubernetesClusterV3) (*emptypb.Empty, error) { 20463 return nil, status.Errorf(codes.Unimplemented, "method UpdateKubernetesCluster not implemented") 20464 } 20465 func (*UnimplementedAuthServiceServer) DeleteKubernetesCluster(ctx context.Context, req *types.ResourceRequest) (*emptypb.Empty, error) { 20466 return nil, status.Errorf(codes.Unimplemented, "method DeleteKubernetesCluster not implemented") 20467 } 20468 func (*UnimplementedAuthServiceServer) DeleteAllKubernetesClusters(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20469 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllKubernetesClusters not implemented") 20470 } 20471 func (*UnimplementedAuthServiceServer) GetWindowsDesktopServices(ctx context.Context, req *emptypb.Empty) (*GetWindowsDesktopServicesResponse, error) { 20472 return nil, status.Errorf(codes.Unimplemented, "method GetWindowsDesktopServices not implemented") 20473 } 20474 func (*UnimplementedAuthServiceServer) GetWindowsDesktopService(ctx context.Context, req *GetWindowsDesktopServiceRequest) (*GetWindowsDesktopServiceResponse, error) { 20475 return nil, status.Errorf(codes.Unimplemented, "method GetWindowsDesktopService not implemented") 20476 } 20477 func (*UnimplementedAuthServiceServer) UpsertWindowsDesktopService(ctx context.Context, req *types.WindowsDesktopServiceV3) (*types.KeepAlive, error) { 20478 return nil, status.Errorf(codes.Unimplemented, "method UpsertWindowsDesktopService not implemented") 20479 } 20480 func (*UnimplementedAuthServiceServer) DeleteWindowsDesktopService(ctx context.Context, req *DeleteWindowsDesktopServiceRequest) (*emptypb.Empty, error) { 20481 return nil, status.Errorf(codes.Unimplemented, "method DeleteWindowsDesktopService not implemented") 20482 } 20483 func (*UnimplementedAuthServiceServer) DeleteAllWindowsDesktopServices(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20484 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllWindowsDesktopServices not implemented") 20485 } 20486 func (*UnimplementedAuthServiceServer) GetWindowsDesktops(ctx context.Context, req *types.WindowsDesktopFilter) (*GetWindowsDesktopsResponse, error) { 20487 return nil, status.Errorf(codes.Unimplemented, "method GetWindowsDesktops not implemented") 20488 } 20489 func (*UnimplementedAuthServiceServer) CreateWindowsDesktop(ctx context.Context, req *types.WindowsDesktopV3) (*emptypb.Empty, error) { 20490 return nil, status.Errorf(codes.Unimplemented, "method CreateWindowsDesktop not implemented") 20491 } 20492 func (*UnimplementedAuthServiceServer) UpdateWindowsDesktop(ctx context.Context, req *types.WindowsDesktopV3) (*emptypb.Empty, error) { 20493 return nil, status.Errorf(codes.Unimplemented, "method UpdateWindowsDesktop not implemented") 20494 } 20495 func (*UnimplementedAuthServiceServer) UpsertWindowsDesktop(ctx context.Context, req *types.WindowsDesktopV3) (*emptypb.Empty, error) { 20496 return nil, status.Errorf(codes.Unimplemented, "method UpsertWindowsDesktop not implemented") 20497 } 20498 func (*UnimplementedAuthServiceServer) DeleteWindowsDesktop(ctx context.Context, req *DeleteWindowsDesktopRequest) (*emptypb.Empty, error) { 20499 return nil, status.Errorf(codes.Unimplemented, "method DeleteWindowsDesktop not implemented") 20500 } 20501 func (*UnimplementedAuthServiceServer) DeleteAllWindowsDesktops(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20502 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllWindowsDesktops not implemented") 20503 } 20504 func (*UnimplementedAuthServiceServer) GenerateWindowsDesktopCert(ctx context.Context, req *WindowsDesktopCertRequest) (*WindowsDesktopCertResponse, error) { 20505 return nil, status.Errorf(codes.Unimplemented, "method GenerateWindowsDesktopCert not implemented") 20506 } 20507 func (*UnimplementedAuthServiceServer) GenerateCertAuthorityCRL(ctx context.Context, req *CertAuthorityRequest) (*CRL, error) { 20508 return nil, status.Errorf(codes.Unimplemented, "method GenerateCertAuthorityCRL not implemented") 20509 } 20510 func (*UnimplementedAuthServiceServer) CreateConnectionDiagnostic(ctx context.Context, req *types.ConnectionDiagnosticV1) (*emptypb.Empty, error) { 20511 return nil, status.Errorf(codes.Unimplemented, "method CreateConnectionDiagnostic not implemented") 20512 } 20513 func (*UnimplementedAuthServiceServer) UpdateConnectionDiagnostic(ctx context.Context, req *types.ConnectionDiagnosticV1) (*emptypb.Empty, error) { 20514 return nil, status.Errorf(codes.Unimplemented, "method UpdateConnectionDiagnostic not implemented") 20515 } 20516 func (*UnimplementedAuthServiceServer) GetConnectionDiagnostic(ctx context.Context, req *GetConnectionDiagnosticRequest) (*types.ConnectionDiagnosticV1, error) { 20517 return nil, status.Errorf(codes.Unimplemented, "method GetConnectionDiagnostic not implemented") 20518 } 20519 func (*UnimplementedAuthServiceServer) AppendDiagnosticTrace(ctx context.Context, req *AppendDiagnosticTraceRequest) (*types.ConnectionDiagnosticV1, error) { 20520 return nil, status.Errorf(codes.Unimplemented, "method AppendDiagnosticTrace not implemented") 20521 } 20522 func (*UnimplementedAuthServiceServer) ChangeUserAuthentication(ctx context.Context, req *ChangeUserAuthenticationRequest) (*ChangeUserAuthenticationResponse, error) { 20523 return nil, status.Errorf(codes.Unimplemented, "method ChangeUserAuthentication not implemented") 20524 } 20525 func (*UnimplementedAuthServiceServer) StartAccountRecovery(ctx context.Context, req *StartAccountRecoveryRequest) (*types.UserTokenV3, error) { 20526 return nil, status.Errorf(codes.Unimplemented, "method StartAccountRecovery not implemented") 20527 } 20528 func (*UnimplementedAuthServiceServer) VerifyAccountRecovery(ctx context.Context, req *VerifyAccountRecoveryRequest) (*types.UserTokenV3, error) { 20529 return nil, status.Errorf(codes.Unimplemented, "method VerifyAccountRecovery not implemented") 20530 } 20531 func (*UnimplementedAuthServiceServer) CompleteAccountRecovery(ctx context.Context, req *CompleteAccountRecoveryRequest) (*emptypb.Empty, error) { 20532 return nil, status.Errorf(codes.Unimplemented, "method CompleteAccountRecovery not implemented") 20533 } 20534 func (*UnimplementedAuthServiceServer) CreateAccountRecoveryCodes(ctx context.Context, req *CreateAccountRecoveryCodesRequest) (*RecoveryCodes, error) { 20535 return nil, status.Errorf(codes.Unimplemented, "method CreateAccountRecoveryCodes not implemented") 20536 } 20537 func (*UnimplementedAuthServiceServer) GetAccountRecoveryToken(ctx context.Context, req *GetAccountRecoveryTokenRequest) (*types.UserTokenV3, error) { 20538 return nil, status.Errorf(codes.Unimplemented, "method GetAccountRecoveryToken not implemented") 20539 } 20540 func (*UnimplementedAuthServiceServer) GetAccountRecoveryCodes(ctx context.Context, req *GetAccountRecoveryCodesRequest) (*RecoveryCodes, error) { 20541 return nil, status.Errorf(codes.Unimplemented, "method GetAccountRecoveryCodes not implemented") 20542 } 20543 func (*UnimplementedAuthServiceServer) CreatePrivilegeToken(ctx context.Context, req *CreatePrivilegeTokenRequest) (*types.UserTokenV3, error) { 20544 return nil, status.Errorf(codes.Unimplemented, "method CreatePrivilegeToken not implemented") 20545 } 20546 func (*UnimplementedAuthServiceServer) GetInstaller(ctx context.Context, req *types.ResourceRequest) (*types.InstallerV1, error) { 20547 return nil, status.Errorf(codes.Unimplemented, "method GetInstaller not implemented") 20548 } 20549 func (*UnimplementedAuthServiceServer) GetInstallers(ctx context.Context, req *emptypb.Empty) (*types.InstallerV1List, error) { 20550 return nil, status.Errorf(codes.Unimplemented, "method GetInstallers not implemented") 20551 } 20552 func (*UnimplementedAuthServiceServer) SetInstaller(ctx context.Context, req *types.InstallerV1) (*emptypb.Empty, error) { 20553 return nil, status.Errorf(codes.Unimplemented, "method SetInstaller not implemented") 20554 } 20555 func (*UnimplementedAuthServiceServer) DeleteInstaller(ctx context.Context, req *types.ResourceRequest) (*emptypb.Empty, error) { 20556 return nil, status.Errorf(codes.Unimplemented, "method DeleteInstaller not implemented") 20557 } 20558 func (*UnimplementedAuthServiceServer) DeleteAllInstallers(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20559 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllInstallers not implemented") 20560 } 20561 func (*UnimplementedAuthServiceServer) ListResources(ctx context.Context, req *ListResourcesRequest) (*ListResourcesResponse, error) { 20562 return nil, status.Errorf(codes.Unimplemented, "method ListResources not implemented") 20563 } 20564 func (*UnimplementedAuthServiceServer) ListUnifiedResources(ctx context.Context, req *ListUnifiedResourcesRequest) (*ListUnifiedResourcesResponse, error) { 20565 return nil, status.Errorf(codes.Unimplemented, "method ListUnifiedResources not implemented") 20566 } 20567 func (*UnimplementedAuthServiceServer) GetSSHTargets(ctx context.Context, req *GetSSHTargetsRequest) (*GetSSHTargetsResponse, error) { 20568 return nil, status.Errorf(codes.Unimplemented, "method GetSSHTargets not implemented") 20569 } 20570 func (*UnimplementedAuthServiceServer) GetDomainName(ctx context.Context, req *emptypb.Empty) (*GetDomainNameResponse, error) { 20571 return nil, status.Errorf(codes.Unimplemented, "method GetDomainName not implemented") 20572 } 20573 func (*UnimplementedAuthServiceServer) GetClusterCACert(ctx context.Context, req *emptypb.Empty) (*GetClusterCACertResponse, error) { 20574 return nil, status.Errorf(codes.Unimplemented, "method GetClusterCACert not implemented") 20575 } 20576 func (*UnimplementedAuthServiceServer) SubmitUsageEvent(ctx context.Context, req *SubmitUsageEventRequest) (*emptypb.Empty, error) { 20577 return nil, status.Errorf(codes.Unimplemented, "method SubmitUsageEvent not implemented") 20578 } 20579 func (*UnimplementedAuthServiceServer) GetLicense(ctx context.Context, req *GetLicenseRequest) (*GetLicenseResponse, error) { 20580 return nil, status.Errorf(codes.Unimplemented, "method GetLicense not implemented") 20581 } 20582 func (*UnimplementedAuthServiceServer) ListReleases(ctx context.Context, req *ListReleasesRequest) (*ListReleasesResponse, error) { 20583 return nil, status.Errorf(codes.Unimplemented, "method ListReleases not implemented") 20584 } 20585 func (*UnimplementedAuthServiceServer) ListSAMLIdPServiceProviders(ctx context.Context, req *ListSAMLIdPServiceProvidersRequest) (*ListSAMLIdPServiceProvidersResponse, error) { 20586 return nil, status.Errorf(codes.Unimplemented, "method ListSAMLIdPServiceProviders not implemented") 20587 } 20588 func (*UnimplementedAuthServiceServer) GetSAMLIdPServiceProvider(ctx context.Context, req *GetSAMLIdPServiceProviderRequest) (*types.SAMLIdPServiceProviderV1, error) { 20589 return nil, status.Errorf(codes.Unimplemented, "method GetSAMLIdPServiceProvider not implemented") 20590 } 20591 func (*UnimplementedAuthServiceServer) CreateSAMLIdPServiceProvider(ctx context.Context, req *types.SAMLIdPServiceProviderV1) (*emptypb.Empty, error) { 20592 return nil, status.Errorf(codes.Unimplemented, "method CreateSAMLIdPServiceProvider not implemented") 20593 } 20594 func (*UnimplementedAuthServiceServer) UpdateSAMLIdPServiceProvider(ctx context.Context, req *types.SAMLIdPServiceProviderV1) (*emptypb.Empty, error) { 20595 return nil, status.Errorf(codes.Unimplemented, "method UpdateSAMLIdPServiceProvider not implemented") 20596 } 20597 func (*UnimplementedAuthServiceServer) DeleteSAMLIdPServiceProvider(ctx context.Context, req *DeleteSAMLIdPServiceProviderRequest) (*emptypb.Empty, error) { 20598 return nil, status.Errorf(codes.Unimplemented, "method DeleteSAMLIdPServiceProvider not implemented") 20599 } 20600 func (*UnimplementedAuthServiceServer) DeleteAllSAMLIdPServiceProviders(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20601 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllSAMLIdPServiceProviders not implemented") 20602 } 20603 func (*UnimplementedAuthServiceServer) ListUserGroups(ctx context.Context, req *ListUserGroupsRequest) (*ListUserGroupsResponse, error) { 20604 return nil, status.Errorf(codes.Unimplemented, "method ListUserGroups not implemented") 20605 } 20606 func (*UnimplementedAuthServiceServer) GetUserGroup(ctx context.Context, req *GetUserGroupRequest) (*types.UserGroupV1, error) { 20607 return nil, status.Errorf(codes.Unimplemented, "method GetUserGroup not implemented") 20608 } 20609 func (*UnimplementedAuthServiceServer) CreateUserGroup(ctx context.Context, req *types.UserGroupV1) (*emptypb.Empty, error) { 20610 return nil, status.Errorf(codes.Unimplemented, "method CreateUserGroup not implemented") 20611 } 20612 func (*UnimplementedAuthServiceServer) UpdateUserGroup(ctx context.Context, req *types.UserGroupV1) (*emptypb.Empty, error) { 20613 return nil, status.Errorf(codes.Unimplemented, "method UpdateUserGroup not implemented") 20614 } 20615 func (*UnimplementedAuthServiceServer) DeleteUserGroup(ctx context.Context, req *DeleteUserGroupRequest) (*emptypb.Empty, error) { 20616 return nil, status.Errorf(codes.Unimplemented, "method DeleteUserGroup not implemented") 20617 } 20618 func (*UnimplementedAuthServiceServer) DeleteAllUserGroups(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20619 return nil, status.Errorf(codes.Unimplemented, "method DeleteAllUserGroups not implemented") 20620 } 20621 func (*UnimplementedAuthServiceServer) GetHeadlessAuthentication(ctx context.Context, req *GetHeadlessAuthenticationRequest) (*types.HeadlessAuthentication, error) { 20622 return nil, status.Errorf(codes.Unimplemented, "method GetHeadlessAuthentication not implemented") 20623 } 20624 func (*UnimplementedAuthServiceServer) WatchPendingHeadlessAuthentications(req *emptypb.Empty, srv AuthService_WatchPendingHeadlessAuthenticationsServer) error { 20625 return status.Errorf(codes.Unimplemented, "method WatchPendingHeadlessAuthentications not implemented") 20626 } 20627 func (*UnimplementedAuthServiceServer) UpdateHeadlessAuthenticationState(ctx context.Context, req *UpdateHeadlessAuthenticationStateRequest) (*emptypb.Empty, error) { 20628 return nil, status.Errorf(codes.Unimplemented, "method UpdateHeadlessAuthenticationState not implemented") 20629 } 20630 func (*UnimplementedAuthServiceServer) ExportUpgradeWindows(ctx context.Context, req *ExportUpgradeWindowsRequest) (*ExportUpgradeWindowsResponse, error) { 20631 return nil, status.Errorf(codes.Unimplemented, "method ExportUpgradeWindows not implemented") 20632 } 20633 func (*UnimplementedAuthServiceServer) GetClusterMaintenanceConfig(ctx context.Context, req *emptypb.Empty) (*types.ClusterMaintenanceConfigV1, error) { 20634 return nil, status.Errorf(codes.Unimplemented, "method GetClusterMaintenanceConfig not implemented") 20635 } 20636 func (*UnimplementedAuthServiceServer) UpdateClusterMaintenanceConfig(ctx context.Context, req *types.ClusterMaintenanceConfigV1) (*emptypb.Empty, error) { 20637 return nil, status.Errorf(codes.Unimplemented, "method UpdateClusterMaintenanceConfig not implemented") 20638 } 20639 func (*UnimplementedAuthServiceServer) DeleteClusterMaintenanceConfig(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error) { 20640 return nil, status.Errorf(codes.Unimplemented, "method DeleteClusterMaintenanceConfig not implemented") 20641 } 20642 20643 func RegisterAuthServiceServer(s *grpc.Server, srv AuthServiceServer) { 20644 s.RegisterService(&_AuthService_serviceDesc, srv) 20645 } 20646 20647 func _AuthService_InventoryControlStream_Handler(srv interface{}, stream grpc.ServerStream) error { 20648 return srv.(AuthServiceServer).InventoryControlStream(&authServiceInventoryControlStreamServer{stream}) 20649 } 20650 20651 type AuthService_InventoryControlStreamServer interface { 20652 Send(*DownstreamInventoryOneOf) error 20653 Recv() (*UpstreamInventoryOneOf, error) 20654 grpc.ServerStream 20655 } 20656 20657 type authServiceInventoryControlStreamServer struct { 20658 grpc.ServerStream 20659 } 20660 20661 func (x *authServiceInventoryControlStreamServer) Send(m *DownstreamInventoryOneOf) error { 20662 return x.ServerStream.SendMsg(m) 20663 } 20664 20665 func (x *authServiceInventoryControlStreamServer) Recv() (*UpstreamInventoryOneOf, error) { 20666 m := new(UpstreamInventoryOneOf) 20667 if err := x.ServerStream.RecvMsg(m); err != nil { 20668 return nil, err 20669 } 20670 return m, nil 20671 } 20672 20673 func _AuthService_GetInventoryStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 20674 in := new(InventoryStatusRequest) 20675 if err := dec(in); err != nil { 20676 return nil, err 20677 } 20678 if interceptor == nil { 20679 return srv.(AuthServiceServer).GetInventoryStatus(ctx, in) 20680 } 20681 info := &grpc.UnaryServerInfo{ 20682 Server: srv, 20683 FullMethod: "/proto.AuthService/GetInventoryStatus", 20684 } 20685 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 20686 return srv.(AuthServiceServer).GetInventoryStatus(ctx, req.(*InventoryStatusRequest)) 20687 } 20688 return interceptor(ctx, in, info, handler) 20689 } 20690 20691 func _AuthService_GetInventoryConnectedServiceCounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 20692 in := new(InventoryConnectedServiceCountsRequest) 20693 if err := dec(in); err != nil { 20694 return nil, err 20695 } 20696 if interceptor == nil { 20697 return srv.(AuthServiceServer).GetInventoryConnectedServiceCounts(ctx, in) 20698 } 20699 info := &grpc.UnaryServerInfo{ 20700 Server: srv, 20701 FullMethod: "/proto.AuthService/GetInventoryConnectedServiceCounts", 20702 } 20703 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 20704 return srv.(AuthServiceServer).GetInventoryConnectedServiceCounts(ctx, req.(*InventoryConnectedServiceCountsRequest)) 20705 } 20706 return interceptor(ctx, in, info, handler) 20707 } 20708 20709 func _AuthService_PingInventory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 20710 in := new(InventoryPingRequest) 20711 if err := dec(in); err != nil { 20712 return nil, err 20713 } 20714 if interceptor == nil { 20715 return srv.(AuthServiceServer).PingInventory(ctx, in) 20716 } 20717 info := &grpc.UnaryServerInfo{ 20718 Server: srv, 20719 FullMethod: "/proto.AuthService/PingInventory", 20720 } 20721 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 20722 return srv.(AuthServiceServer).PingInventory(ctx, req.(*InventoryPingRequest)) 20723 } 20724 return interceptor(ctx, in, info, handler) 20725 } 20726 20727 func _AuthService_GetInstances_Handler(srv interface{}, stream grpc.ServerStream) error { 20728 m := new(types.InstanceFilter) 20729 if err := stream.RecvMsg(m); err != nil { 20730 return err 20731 } 20732 return srv.(AuthServiceServer).GetInstances(m, &authServiceGetInstancesServer{stream}) 20733 } 20734 20735 type AuthService_GetInstancesServer interface { 20736 Send(*types.InstanceV1) error 20737 grpc.ServerStream 20738 } 20739 20740 type authServiceGetInstancesServer struct { 20741 grpc.ServerStream 20742 } 20743 20744 func (x *authServiceGetInstancesServer) Send(m *types.InstanceV1) error { 20745 return x.ServerStream.SendMsg(m) 20746 } 20747 20748 func _AuthService_GetClusterAlerts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 20749 in := new(types.GetClusterAlertsRequest) 20750 if err := dec(in); err != nil { 20751 return nil, err 20752 } 20753 if interceptor == nil { 20754 return srv.(AuthServiceServer).GetClusterAlerts(ctx, in) 20755 } 20756 info := &grpc.UnaryServerInfo{ 20757 Server: srv, 20758 FullMethod: "/proto.AuthService/GetClusterAlerts", 20759 } 20760 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 20761 return srv.(AuthServiceServer).GetClusterAlerts(ctx, req.(*types.GetClusterAlertsRequest)) 20762 } 20763 return interceptor(ctx, in, info, handler) 20764 } 20765 20766 func _AuthService_UpsertClusterAlert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 20767 in := new(UpsertClusterAlertRequest) 20768 if err := dec(in); err != nil { 20769 return nil, err 20770 } 20771 if interceptor == nil { 20772 return srv.(AuthServiceServer).UpsertClusterAlert(ctx, in) 20773 } 20774 info := &grpc.UnaryServerInfo{ 20775 Server: srv, 20776 FullMethod: "/proto.AuthService/UpsertClusterAlert", 20777 } 20778 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 20779 return srv.(AuthServiceServer).UpsertClusterAlert(ctx, req.(*UpsertClusterAlertRequest)) 20780 } 20781 return interceptor(ctx, in, info, handler) 20782 } 20783 20784 func _AuthService_CreateAlertAck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 20785 in := new(types.AlertAcknowledgement) 20786 if err := dec(in); err != nil { 20787 return nil, err 20788 } 20789 if interceptor == nil { 20790 return srv.(AuthServiceServer).CreateAlertAck(ctx, in) 20791 } 20792 info := &grpc.UnaryServerInfo{ 20793 Server: srv, 20794 FullMethod: "/proto.AuthService/CreateAlertAck", 20795 } 20796 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 20797 return srv.(AuthServiceServer).CreateAlertAck(ctx, req.(*types.AlertAcknowledgement)) 20798 } 20799 return interceptor(ctx, in, info, handler) 20800 } 20801 20802 func _AuthService_GetAlertAcks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 20803 in := new(GetAlertAcksRequest) 20804 if err := dec(in); err != nil { 20805 return nil, err 20806 } 20807 if interceptor == nil { 20808 return srv.(AuthServiceServer).GetAlertAcks(ctx, in) 20809 } 20810 info := &grpc.UnaryServerInfo{ 20811 Server: srv, 20812 FullMethod: "/proto.AuthService/GetAlertAcks", 20813 } 20814 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 20815 return srv.(AuthServiceServer).GetAlertAcks(ctx, req.(*GetAlertAcksRequest)) 20816 } 20817 return interceptor(ctx, in, info, handler) 20818 } 20819 20820 func _AuthService_ClearAlertAcks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 20821 in := new(ClearAlertAcksRequest) 20822 if err := dec(in); err != nil { 20823 return nil, err 20824 } 20825 if interceptor == nil { 20826 return srv.(AuthServiceServer).ClearAlertAcks(ctx, in) 20827 } 20828 info := &grpc.UnaryServerInfo{ 20829 Server: srv, 20830 FullMethod: "/proto.AuthService/ClearAlertAcks", 20831 } 20832 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 20833 return srv.(AuthServiceServer).ClearAlertAcks(ctx, req.(*ClearAlertAcksRequest)) 20834 } 20835 return interceptor(ctx, in, info, handler) 20836 } 20837 20838 func _AuthService_MaintainSessionPresence_Handler(srv interface{}, stream grpc.ServerStream) error { 20839 return srv.(AuthServiceServer).MaintainSessionPresence(&authServiceMaintainSessionPresenceServer{stream}) 20840 } 20841 20842 type AuthService_MaintainSessionPresenceServer interface { 20843 Send(*MFAAuthenticateChallenge) error 20844 Recv() (*PresenceMFAChallengeSend, error) 20845 grpc.ServerStream 20846 } 20847 20848 type authServiceMaintainSessionPresenceServer struct { 20849 grpc.ServerStream 20850 } 20851 20852 func (x *authServiceMaintainSessionPresenceServer) Send(m *MFAAuthenticateChallenge) error { 20853 return x.ServerStream.SendMsg(m) 20854 } 20855 20856 func (x *authServiceMaintainSessionPresenceServer) Recv() (*PresenceMFAChallengeSend, error) { 20857 m := new(PresenceMFAChallengeSend) 20858 if err := x.ServerStream.RecvMsg(m); err != nil { 20859 return nil, err 20860 } 20861 return m, nil 20862 } 20863 20864 func _AuthService_CreateSessionTracker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 20865 in := new(CreateSessionTrackerRequest) 20866 if err := dec(in); err != nil { 20867 return nil, err 20868 } 20869 if interceptor == nil { 20870 return srv.(AuthServiceServer).CreateSessionTracker(ctx, in) 20871 } 20872 info := &grpc.UnaryServerInfo{ 20873 Server: srv, 20874 FullMethod: "/proto.AuthService/CreateSessionTracker", 20875 } 20876 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 20877 return srv.(AuthServiceServer).CreateSessionTracker(ctx, req.(*CreateSessionTrackerRequest)) 20878 } 20879 return interceptor(ctx, in, info, handler) 20880 } 20881 20882 func _AuthService_GetSessionTracker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 20883 in := new(GetSessionTrackerRequest) 20884 if err := dec(in); err != nil { 20885 return nil, err 20886 } 20887 if interceptor == nil { 20888 return srv.(AuthServiceServer).GetSessionTracker(ctx, in) 20889 } 20890 info := &grpc.UnaryServerInfo{ 20891 Server: srv, 20892 FullMethod: "/proto.AuthService/GetSessionTracker", 20893 } 20894 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 20895 return srv.(AuthServiceServer).GetSessionTracker(ctx, req.(*GetSessionTrackerRequest)) 20896 } 20897 return interceptor(ctx, in, info, handler) 20898 } 20899 20900 func _AuthService_GetActiveSessionTrackers_Handler(srv interface{}, stream grpc.ServerStream) error { 20901 m := new(emptypb.Empty) 20902 if err := stream.RecvMsg(m); err != nil { 20903 return err 20904 } 20905 return srv.(AuthServiceServer).GetActiveSessionTrackers(m, &authServiceGetActiveSessionTrackersServer{stream}) 20906 } 20907 20908 type AuthService_GetActiveSessionTrackersServer interface { 20909 Send(*types.SessionTrackerV1) error 20910 grpc.ServerStream 20911 } 20912 20913 type authServiceGetActiveSessionTrackersServer struct { 20914 grpc.ServerStream 20915 } 20916 20917 func (x *authServiceGetActiveSessionTrackersServer) Send(m *types.SessionTrackerV1) error { 20918 return x.ServerStream.SendMsg(m) 20919 } 20920 20921 func _AuthService_GetActiveSessionTrackersWithFilter_Handler(srv interface{}, stream grpc.ServerStream) error { 20922 m := new(types.SessionTrackerFilter) 20923 if err := stream.RecvMsg(m); err != nil { 20924 return err 20925 } 20926 return srv.(AuthServiceServer).GetActiveSessionTrackersWithFilter(m, &authServiceGetActiveSessionTrackersWithFilterServer{stream}) 20927 } 20928 20929 type AuthService_GetActiveSessionTrackersWithFilterServer interface { 20930 Send(*types.SessionTrackerV1) error 20931 grpc.ServerStream 20932 } 20933 20934 type authServiceGetActiveSessionTrackersWithFilterServer struct { 20935 grpc.ServerStream 20936 } 20937 20938 func (x *authServiceGetActiveSessionTrackersWithFilterServer) Send(m *types.SessionTrackerV1) error { 20939 return x.ServerStream.SendMsg(m) 20940 } 20941 20942 func _AuthService_RemoveSessionTracker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 20943 in := new(RemoveSessionTrackerRequest) 20944 if err := dec(in); err != nil { 20945 return nil, err 20946 } 20947 if interceptor == nil { 20948 return srv.(AuthServiceServer).RemoveSessionTracker(ctx, in) 20949 } 20950 info := &grpc.UnaryServerInfo{ 20951 Server: srv, 20952 FullMethod: "/proto.AuthService/RemoveSessionTracker", 20953 } 20954 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 20955 return srv.(AuthServiceServer).RemoveSessionTracker(ctx, req.(*RemoveSessionTrackerRequest)) 20956 } 20957 return interceptor(ctx, in, info, handler) 20958 } 20959 20960 func _AuthService_UpdateSessionTracker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 20961 in := new(UpdateSessionTrackerRequest) 20962 if err := dec(in); err != nil { 20963 return nil, err 20964 } 20965 if interceptor == nil { 20966 return srv.(AuthServiceServer).UpdateSessionTracker(ctx, in) 20967 } 20968 info := &grpc.UnaryServerInfo{ 20969 Server: srv, 20970 FullMethod: "/proto.AuthService/UpdateSessionTracker", 20971 } 20972 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 20973 return srv.(AuthServiceServer).UpdateSessionTracker(ctx, req.(*UpdateSessionTrackerRequest)) 20974 } 20975 return interceptor(ctx, in, info, handler) 20976 } 20977 20978 func _AuthService_SendKeepAlives_Handler(srv interface{}, stream grpc.ServerStream) error { 20979 return srv.(AuthServiceServer).SendKeepAlives(&authServiceSendKeepAlivesServer{stream}) 20980 } 20981 20982 type AuthService_SendKeepAlivesServer interface { 20983 SendAndClose(*emptypb.Empty) error 20984 Recv() (*types.KeepAlive, error) 20985 grpc.ServerStream 20986 } 20987 20988 type authServiceSendKeepAlivesServer struct { 20989 grpc.ServerStream 20990 } 20991 20992 func (x *authServiceSendKeepAlivesServer) SendAndClose(m *emptypb.Empty) error { 20993 return x.ServerStream.SendMsg(m) 20994 } 20995 20996 func (x *authServiceSendKeepAlivesServer) Recv() (*types.KeepAlive, error) { 20997 m := new(types.KeepAlive) 20998 if err := x.ServerStream.RecvMsg(m); err != nil { 20999 return nil, err 21000 } 21001 return m, nil 21002 } 21003 21004 func _AuthService_WatchEvents_Handler(srv interface{}, stream grpc.ServerStream) error { 21005 m := new(Watch) 21006 if err := stream.RecvMsg(m); err != nil { 21007 return err 21008 } 21009 return srv.(AuthServiceServer).WatchEvents(m, &authServiceWatchEventsServer{stream}) 21010 } 21011 21012 type AuthService_WatchEventsServer interface { 21013 Send(*Event) error 21014 grpc.ServerStream 21015 } 21016 21017 type authServiceWatchEventsServer struct { 21018 grpc.ServerStream 21019 } 21020 21021 func (x *authServiceWatchEventsServer) Send(m *Event) error { 21022 return x.ServerStream.SendMsg(m) 21023 } 21024 21025 func _AuthService_GetNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21026 in := new(types.ResourceInNamespaceRequest) 21027 if err := dec(in); err != nil { 21028 return nil, err 21029 } 21030 if interceptor == nil { 21031 return srv.(AuthServiceServer).GetNode(ctx, in) 21032 } 21033 info := &grpc.UnaryServerInfo{ 21034 Server: srv, 21035 FullMethod: "/proto.AuthService/GetNode", 21036 } 21037 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21038 return srv.(AuthServiceServer).GetNode(ctx, req.(*types.ResourceInNamespaceRequest)) 21039 } 21040 return interceptor(ctx, in, info, handler) 21041 } 21042 21043 func _AuthService_UpsertNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21044 in := new(types.ServerV2) 21045 if err := dec(in); err != nil { 21046 return nil, err 21047 } 21048 if interceptor == nil { 21049 return srv.(AuthServiceServer).UpsertNode(ctx, in) 21050 } 21051 info := &grpc.UnaryServerInfo{ 21052 Server: srv, 21053 FullMethod: "/proto.AuthService/UpsertNode", 21054 } 21055 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21056 return srv.(AuthServiceServer).UpsertNode(ctx, req.(*types.ServerV2)) 21057 } 21058 return interceptor(ctx, in, info, handler) 21059 } 21060 21061 func _AuthService_DeleteNode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21062 in := new(types.ResourceInNamespaceRequest) 21063 if err := dec(in); err != nil { 21064 return nil, err 21065 } 21066 if interceptor == nil { 21067 return srv.(AuthServiceServer).DeleteNode(ctx, in) 21068 } 21069 info := &grpc.UnaryServerInfo{ 21070 Server: srv, 21071 FullMethod: "/proto.AuthService/DeleteNode", 21072 } 21073 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21074 return srv.(AuthServiceServer).DeleteNode(ctx, req.(*types.ResourceInNamespaceRequest)) 21075 } 21076 return interceptor(ctx, in, info, handler) 21077 } 21078 21079 func _AuthService_DeleteAllNodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21080 in := new(types.ResourcesInNamespaceRequest) 21081 if err := dec(in); err != nil { 21082 return nil, err 21083 } 21084 if interceptor == nil { 21085 return srv.(AuthServiceServer).DeleteAllNodes(ctx, in) 21086 } 21087 info := &grpc.UnaryServerInfo{ 21088 Server: srv, 21089 FullMethod: "/proto.AuthService/DeleteAllNodes", 21090 } 21091 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21092 return srv.(AuthServiceServer).DeleteAllNodes(ctx, req.(*types.ResourcesInNamespaceRequest)) 21093 } 21094 return interceptor(ctx, in, info, handler) 21095 } 21096 21097 func _AuthService_GenerateUserCerts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21098 in := new(UserCertsRequest) 21099 if err := dec(in); err != nil { 21100 return nil, err 21101 } 21102 if interceptor == nil { 21103 return srv.(AuthServiceServer).GenerateUserCerts(ctx, in) 21104 } 21105 info := &grpc.UnaryServerInfo{ 21106 Server: srv, 21107 FullMethod: "/proto.AuthService/GenerateUserCerts", 21108 } 21109 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21110 return srv.(AuthServiceServer).GenerateUserCerts(ctx, req.(*UserCertsRequest)) 21111 } 21112 return interceptor(ctx, in, info, handler) 21113 } 21114 21115 func _AuthService_GenerateHostCerts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21116 in := new(HostCertsRequest) 21117 if err := dec(in); err != nil { 21118 return nil, err 21119 } 21120 if interceptor == nil { 21121 return srv.(AuthServiceServer).GenerateHostCerts(ctx, in) 21122 } 21123 info := &grpc.UnaryServerInfo{ 21124 Server: srv, 21125 FullMethod: "/proto.AuthService/GenerateHostCerts", 21126 } 21127 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21128 return srv.(AuthServiceServer).GenerateHostCerts(ctx, req.(*HostCertsRequest)) 21129 } 21130 return interceptor(ctx, in, info, handler) 21131 } 21132 21133 func _AuthService_GenerateUserSingleUseCerts_Handler(srv interface{}, stream grpc.ServerStream) error { 21134 return srv.(AuthServiceServer).GenerateUserSingleUseCerts(&authServiceGenerateUserSingleUseCertsServer{stream}) 21135 } 21136 21137 type AuthService_GenerateUserSingleUseCertsServer interface { 21138 Send(*UserSingleUseCertsResponse) error 21139 Recv() (*UserSingleUseCertsRequest, error) 21140 grpc.ServerStream 21141 } 21142 21143 type authServiceGenerateUserSingleUseCertsServer struct { 21144 grpc.ServerStream 21145 } 21146 21147 func (x *authServiceGenerateUserSingleUseCertsServer) Send(m *UserSingleUseCertsResponse) error { 21148 return x.ServerStream.SendMsg(m) 21149 } 21150 21151 func (x *authServiceGenerateUserSingleUseCertsServer) Recv() (*UserSingleUseCertsRequest, error) { 21152 m := new(UserSingleUseCertsRequest) 21153 if err := x.ServerStream.RecvMsg(m); err != nil { 21154 return nil, err 21155 } 21156 return m, nil 21157 } 21158 21159 func _AuthService_GenerateOpenSSHCert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21160 in := new(OpenSSHCertRequest) 21161 if err := dec(in); err != nil { 21162 return nil, err 21163 } 21164 if interceptor == nil { 21165 return srv.(AuthServiceServer).GenerateOpenSSHCert(ctx, in) 21166 } 21167 info := &grpc.UnaryServerInfo{ 21168 Server: srv, 21169 FullMethod: "/proto.AuthService/GenerateOpenSSHCert", 21170 } 21171 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21172 return srv.(AuthServiceServer).GenerateOpenSSHCert(ctx, req.(*OpenSSHCertRequest)) 21173 } 21174 return interceptor(ctx, in, info, handler) 21175 } 21176 21177 func _AuthService_IsMFARequired_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21178 in := new(IsMFARequiredRequest) 21179 if err := dec(in); err != nil { 21180 return nil, err 21181 } 21182 if interceptor == nil { 21183 return srv.(AuthServiceServer).IsMFARequired(ctx, in) 21184 } 21185 info := &grpc.UnaryServerInfo{ 21186 Server: srv, 21187 FullMethod: "/proto.AuthService/IsMFARequired", 21188 } 21189 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21190 return srv.(AuthServiceServer).IsMFARequired(ctx, req.(*IsMFARequiredRequest)) 21191 } 21192 return interceptor(ctx, in, info, handler) 21193 } 21194 21195 func _AuthService_GetAccessRequestsV2_Handler(srv interface{}, stream grpc.ServerStream) error { 21196 m := new(types.AccessRequestFilter) 21197 if err := stream.RecvMsg(m); err != nil { 21198 return err 21199 } 21200 return srv.(AuthServiceServer).GetAccessRequestsV2(m, &authServiceGetAccessRequestsV2Server{stream}) 21201 } 21202 21203 type AuthService_GetAccessRequestsV2Server interface { 21204 Send(*types.AccessRequestV3) error 21205 grpc.ServerStream 21206 } 21207 21208 type authServiceGetAccessRequestsV2Server struct { 21209 grpc.ServerStream 21210 } 21211 21212 func (x *authServiceGetAccessRequestsV2Server) Send(m *types.AccessRequestV3) error { 21213 return x.ServerStream.SendMsg(m) 21214 } 21215 21216 func _AuthService_ListAccessRequests_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21217 in := new(ListAccessRequestsRequest) 21218 if err := dec(in); err != nil { 21219 return nil, err 21220 } 21221 if interceptor == nil { 21222 return srv.(AuthServiceServer).ListAccessRequests(ctx, in) 21223 } 21224 info := &grpc.UnaryServerInfo{ 21225 Server: srv, 21226 FullMethod: "/proto.AuthService/ListAccessRequests", 21227 } 21228 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21229 return srv.(AuthServiceServer).ListAccessRequests(ctx, req.(*ListAccessRequestsRequest)) 21230 } 21231 return interceptor(ctx, in, info, handler) 21232 } 21233 21234 func _AuthService_CreateAccessRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21235 in := new(types.AccessRequestV3) 21236 if err := dec(in); err != nil { 21237 return nil, err 21238 } 21239 if interceptor == nil { 21240 return srv.(AuthServiceServer).CreateAccessRequest(ctx, in) 21241 } 21242 info := &grpc.UnaryServerInfo{ 21243 Server: srv, 21244 FullMethod: "/proto.AuthService/CreateAccessRequest", 21245 } 21246 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21247 return srv.(AuthServiceServer).CreateAccessRequest(ctx, req.(*types.AccessRequestV3)) 21248 } 21249 return interceptor(ctx, in, info, handler) 21250 } 21251 21252 func _AuthService_CreateAccessRequestV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21253 in := new(types.AccessRequestV3) 21254 if err := dec(in); err != nil { 21255 return nil, err 21256 } 21257 if interceptor == nil { 21258 return srv.(AuthServiceServer).CreateAccessRequestV2(ctx, in) 21259 } 21260 info := &grpc.UnaryServerInfo{ 21261 Server: srv, 21262 FullMethod: "/proto.AuthService/CreateAccessRequestV2", 21263 } 21264 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21265 return srv.(AuthServiceServer).CreateAccessRequestV2(ctx, req.(*types.AccessRequestV3)) 21266 } 21267 return interceptor(ctx, in, info, handler) 21268 } 21269 21270 func _AuthService_DeleteAccessRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21271 in := new(RequestID) 21272 if err := dec(in); err != nil { 21273 return nil, err 21274 } 21275 if interceptor == nil { 21276 return srv.(AuthServiceServer).DeleteAccessRequest(ctx, in) 21277 } 21278 info := &grpc.UnaryServerInfo{ 21279 Server: srv, 21280 FullMethod: "/proto.AuthService/DeleteAccessRequest", 21281 } 21282 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21283 return srv.(AuthServiceServer).DeleteAccessRequest(ctx, req.(*RequestID)) 21284 } 21285 return interceptor(ctx, in, info, handler) 21286 } 21287 21288 func _AuthService_SetAccessRequestState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21289 in := new(RequestStateSetter) 21290 if err := dec(in); err != nil { 21291 return nil, err 21292 } 21293 if interceptor == nil { 21294 return srv.(AuthServiceServer).SetAccessRequestState(ctx, in) 21295 } 21296 info := &grpc.UnaryServerInfo{ 21297 Server: srv, 21298 FullMethod: "/proto.AuthService/SetAccessRequestState", 21299 } 21300 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21301 return srv.(AuthServiceServer).SetAccessRequestState(ctx, req.(*RequestStateSetter)) 21302 } 21303 return interceptor(ctx, in, info, handler) 21304 } 21305 21306 func _AuthService_SubmitAccessReview_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21307 in := new(types.AccessReviewSubmission) 21308 if err := dec(in); err != nil { 21309 return nil, err 21310 } 21311 if interceptor == nil { 21312 return srv.(AuthServiceServer).SubmitAccessReview(ctx, in) 21313 } 21314 info := &grpc.UnaryServerInfo{ 21315 Server: srv, 21316 FullMethod: "/proto.AuthService/SubmitAccessReview", 21317 } 21318 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21319 return srv.(AuthServiceServer).SubmitAccessReview(ctx, req.(*types.AccessReviewSubmission)) 21320 } 21321 return interceptor(ctx, in, info, handler) 21322 } 21323 21324 func _AuthService_GetAccessCapabilities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21325 in := new(types.AccessCapabilitiesRequest) 21326 if err := dec(in); err != nil { 21327 return nil, err 21328 } 21329 if interceptor == nil { 21330 return srv.(AuthServiceServer).GetAccessCapabilities(ctx, in) 21331 } 21332 info := &grpc.UnaryServerInfo{ 21333 Server: srv, 21334 FullMethod: "/proto.AuthService/GetAccessCapabilities", 21335 } 21336 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21337 return srv.(AuthServiceServer).GetAccessCapabilities(ctx, req.(*types.AccessCapabilitiesRequest)) 21338 } 21339 return interceptor(ctx, in, info, handler) 21340 } 21341 21342 func _AuthService_GetAccessRequestAllowedPromotions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21343 in := new(AccessRequestAllowedPromotionRequest) 21344 if err := dec(in); err != nil { 21345 return nil, err 21346 } 21347 if interceptor == nil { 21348 return srv.(AuthServiceServer).GetAccessRequestAllowedPromotions(ctx, in) 21349 } 21350 info := &grpc.UnaryServerInfo{ 21351 Server: srv, 21352 FullMethod: "/proto.AuthService/GetAccessRequestAllowedPromotions", 21353 } 21354 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21355 return srv.(AuthServiceServer).GetAccessRequestAllowedPromotions(ctx, req.(*AccessRequestAllowedPromotionRequest)) 21356 } 21357 return interceptor(ctx, in, info, handler) 21358 } 21359 21360 func _AuthService_GetPluginData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21361 in := new(types.PluginDataFilter) 21362 if err := dec(in); err != nil { 21363 return nil, err 21364 } 21365 if interceptor == nil { 21366 return srv.(AuthServiceServer).GetPluginData(ctx, in) 21367 } 21368 info := &grpc.UnaryServerInfo{ 21369 Server: srv, 21370 FullMethod: "/proto.AuthService/GetPluginData", 21371 } 21372 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21373 return srv.(AuthServiceServer).GetPluginData(ctx, req.(*types.PluginDataFilter)) 21374 } 21375 return interceptor(ctx, in, info, handler) 21376 } 21377 21378 func _AuthService_UpdatePluginData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21379 in := new(types.PluginDataUpdateParams) 21380 if err := dec(in); err != nil { 21381 return nil, err 21382 } 21383 if interceptor == nil { 21384 return srv.(AuthServiceServer).UpdatePluginData(ctx, in) 21385 } 21386 info := &grpc.UnaryServerInfo{ 21387 Server: srv, 21388 FullMethod: "/proto.AuthService/UpdatePluginData", 21389 } 21390 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21391 return srv.(AuthServiceServer).UpdatePluginData(ctx, req.(*types.PluginDataUpdateParams)) 21392 } 21393 return interceptor(ctx, in, info, handler) 21394 } 21395 21396 func _AuthService_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21397 in := new(PingRequest) 21398 if err := dec(in); err != nil { 21399 return nil, err 21400 } 21401 if interceptor == nil { 21402 return srv.(AuthServiceServer).Ping(ctx, in) 21403 } 21404 info := &grpc.UnaryServerInfo{ 21405 Server: srv, 21406 FullMethod: "/proto.AuthService/Ping", 21407 } 21408 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21409 return srv.(AuthServiceServer).Ping(ctx, req.(*PingRequest)) 21410 } 21411 return interceptor(ctx, in, info, handler) 21412 } 21413 21414 func _AuthService_GetResetPasswordToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21415 in := new(GetResetPasswordTokenRequest) 21416 if err := dec(in); err != nil { 21417 return nil, err 21418 } 21419 if interceptor == nil { 21420 return srv.(AuthServiceServer).GetResetPasswordToken(ctx, in) 21421 } 21422 info := &grpc.UnaryServerInfo{ 21423 Server: srv, 21424 FullMethod: "/proto.AuthService/GetResetPasswordToken", 21425 } 21426 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21427 return srv.(AuthServiceServer).GetResetPasswordToken(ctx, req.(*GetResetPasswordTokenRequest)) 21428 } 21429 return interceptor(ctx, in, info, handler) 21430 } 21431 21432 func _AuthService_CreateResetPasswordToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21433 in := new(CreateResetPasswordTokenRequest) 21434 if err := dec(in); err != nil { 21435 return nil, err 21436 } 21437 if interceptor == nil { 21438 return srv.(AuthServiceServer).CreateResetPasswordToken(ctx, in) 21439 } 21440 info := &grpc.UnaryServerInfo{ 21441 Server: srv, 21442 FullMethod: "/proto.AuthService/CreateResetPasswordToken", 21443 } 21444 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21445 return srv.(AuthServiceServer).CreateResetPasswordToken(ctx, req.(*CreateResetPasswordTokenRequest)) 21446 } 21447 return interceptor(ctx, in, info, handler) 21448 } 21449 21450 func _AuthService_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21451 in := new(GetUserRequest) 21452 if err := dec(in); err != nil { 21453 return nil, err 21454 } 21455 if interceptor == nil { 21456 return srv.(AuthServiceServer).GetUser(ctx, in) 21457 } 21458 info := &grpc.UnaryServerInfo{ 21459 Server: srv, 21460 FullMethod: "/proto.AuthService/GetUser", 21461 } 21462 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21463 return srv.(AuthServiceServer).GetUser(ctx, req.(*GetUserRequest)) 21464 } 21465 return interceptor(ctx, in, info, handler) 21466 } 21467 21468 func _AuthService_GetCurrentUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21469 in := new(emptypb.Empty) 21470 if err := dec(in); err != nil { 21471 return nil, err 21472 } 21473 if interceptor == nil { 21474 return srv.(AuthServiceServer).GetCurrentUser(ctx, in) 21475 } 21476 info := &grpc.UnaryServerInfo{ 21477 Server: srv, 21478 FullMethod: "/proto.AuthService/GetCurrentUser", 21479 } 21480 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21481 return srv.(AuthServiceServer).GetCurrentUser(ctx, req.(*emptypb.Empty)) 21482 } 21483 return interceptor(ctx, in, info, handler) 21484 } 21485 21486 func _AuthService_GetCurrentUserRoles_Handler(srv interface{}, stream grpc.ServerStream) error { 21487 m := new(emptypb.Empty) 21488 if err := stream.RecvMsg(m); err != nil { 21489 return err 21490 } 21491 return srv.(AuthServiceServer).GetCurrentUserRoles(m, &authServiceGetCurrentUserRolesServer{stream}) 21492 } 21493 21494 type AuthService_GetCurrentUserRolesServer interface { 21495 Send(*types.RoleV6) error 21496 grpc.ServerStream 21497 } 21498 21499 type authServiceGetCurrentUserRolesServer struct { 21500 grpc.ServerStream 21501 } 21502 21503 func (x *authServiceGetCurrentUserRolesServer) Send(m *types.RoleV6) error { 21504 return x.ServerStream.SendMsg(m) 21505 } 21506 21507 func _AuthService_GetUsers_Handler(srv interface{}, stream grpc.ServerStream) error { 21508 m := new(GetUsersRequest) 21509 if err := stream.RecvMsg(m); err != nil { 21510 return err 21511 } 21512 return srv.(AuthServiceServer).GetUsers(m, &authServiceGetUsersServer{stream}) 21513 } 21514 21515 type AuthService_GetUsersServer interface { 21516 Send(*types.UserV2) error 21517 grpc.ServerStream 21518 } 21519 21520 type authServiceGetUsersServer struct { 21521 grpc.ServerStream 21522 } 21523 21524 func (x *authServiceGetUsersServer) Send(m *types.UserV2) error { 21525 return x.ServerStream.SendMsg(m) 21526 } 21527 21528 func _AuthService_CreateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21529 in := new(types.UserV2) 21530 if err := dec(in); err != nil { 21531 return nil, err 21532 } 21533 if interceptor == nil { 21534 return srv.(AuthServiceServer).CreateUser(ctx, in) 21535 } 21536 info := &grpc.UnaryServerInfo{ 21537 Server: srv, 21538 FullMethod: "/proto.AuthService/CreateUser", 21539 } 21540 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21541 return srv.(AuthServiceServer).CreateUser(ctx, req.(*types.UserV2)) 21542 } 21543 return interceptor(ctx, in, info, handler) 21544 } 21545 21546 func _AuthService_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21547 in := new(types.UserV2) 21548 if err := dec(in); err != nil { 21549 return nil, err 21550 } 21551 if interceptor == nil { 21552 return srv.(AuthServiceServer).UpdateUser(ctx, in) 21553 } 21554 info := &grpc.UnaryServerInfo{ 21555 Server: srv, 21556 FullMethod: "/proto.AuthService/UpdateUser", 21557 } 21558 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21559 return srv.(AuthServiceServer).UpdateUser(ctx, req.(*types.UserV2)) 21560 } 21561 return interceptor(ctx, in, info, handler) 21562 } 21563 21564 func _AuthService_DeleteUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21565 in := new(DeleteUserRequest) 21566 if err := dec(in); err != nil { 21567 return nil, err 21568 } 21569 if interceptor == nil { 21570 return srv.(AuthServiceServer).DeleteUser(ctx, in) 21571 } 21572 info := &grpc.UnaryServerInfo{ 21573 Server: srv, 21574 FullMethod: "/proto.AuthService/DeleteUser", 21575 } 21576 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21577 return srv.(AuthServiceServer).DeleteUser(ctx, req.(*DeleteUserRequest)) 21578 } 21579 return interceptor(ctx, in, info, handler) 21580 } 21581 21582 func _AuthService_ChangePassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21583 in := new(ChangePasswordRequest) 21584 if err := dec(in); err != nil { 21585 return nil, err 21586 } 21587 if interceptor == nil { 21588 return srv.(AuthServiceServer).ChangePassword(ctx, in) 21589 } 21590 info := &grpc.UnaryServerInfo{ 21591 Server: srv, 21592 FullMethod: "/proto.AuthService/ChangePassword", 21593 } 21594 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21595 return srv.(AuthServiceServer).ChangePassword(ctx, req.(*ChangePasswordRequest)) 21596 } 21597 return interceptor(ctx, in, info, handler) 21598 } 21599 21600 func _AuthService_AcquireSemaphore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21601 in := new(types.AcquireSemaphoreRequest) 21602 if err := dec(in); err != nil { 21603 return nil, err 21604 } 21605 if interceptor == nil { 21606 return srv.(AuthServiceServer).AcquireSemaphore(ctx, in) 21607 } 21608 info := &grpc.UnaryServerInfo{ 21609 Server: srv, 21610 FullMethod: "/proto.AuthService/AcquireSemaphore", 21611 } 21612 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21613 return srv.(AuthServiceServer).AcquireSemaphore(ctx, req.(*types.AcquireSemaphoreRequest)) 21614 } 21615 return interceptor(ctx, in, info, handler) 21616 } 21617 21618 func _AuthService_KeepAliveSemaphoreLease_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21619 in := new(types.SemaphoreLease) 21620 if err := dec(in); err != nil { 21621 return nil, err 21622 } 21623 if interceptor == nil { 21624 return srv.(AuthServiceServer).KeepAliveSemaphoreLease(ctx, in) 21625 } 21626 info := &grpc.UnaryServerInfo{ 21627 Server: srv, 21628 FullMethod: "/proto.AuthService/KeepAliveSemaphoreLease", 21629 } 21630 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21631 return srv.(AuthServiceServer).KeepAliveSemaphoreLease(ctx, req.(*types.SemaphoreLease)) 21632 } 21633 return interceptor(ctx, in, info, handler) 21634 } 21635 21636 func _AuthService_CancelSemaphoreLease_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21637 in := new(types.SemaphoreLease) 21638 if err := dec(in); err != nil { 21639 return nil, err 21640 } 21641 if interceptor == nil { 21642 return srv.(AuthServiceServer).CancelSemaphoreLease(ctx, in) 21643 } 21644 info := &grpc.UnaryServerInfo{ 21645 Server: srv, 21646 FullMethod: "/proto.AuthService/CancelSemaphoreLease", 21647 } 21648 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21649 return srv.(AuthServiceServer).CancelSemaphoreLease(ctx, req.(*types.SemaphoreLease)) 21650 } 21651 return interceptor(ctx, in, info, handler) 21652 } 21653 21654 func _AuthService_GetSemaphores_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21655 in := new(types.SemaphoreFilter) 21656 if err := dec(in); err != nil { 21657 return nil, err 21658 } 21659 if interceptor == nil { 21660 return srv.(AuthServiceServer).GetSemaphores(ctx, in) 21661 } 21662 info := &grpc.UnaryServerInfo{ 21663 Server: srv, 21664 FullMethod: "/proto.AuthService/GetSemaphores", 21665 } 21666 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21667 return srv.(AuthServiceServer).GetSemaphores(ctx, req.(*types.SemaphoreFilter)) 21668 } 21669 return interceptor(ctx, in, info, handler) 21670 } 21671 21672 func _AuthService_DeleteSemaphore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21673 in := new(types.SemaphoreFilter) 21674 if err := dec(in); err != nil { 21675 return nil, err 21676 } 21677 if interceptor == nil { 21678 return srv.(AuthServiceServer).DeleteSemaphore(ctx, in) 21679 } 21680 info := &grpc.UnaryServerInfo{ 21681 Server: srv, 21682 FullMethod: "/proto.AuthService/DeleteSemaphore", 21683 } 21684 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21685 return srv.(AuthServiceServer).DeleteSemaphore(ctx, req.(*types.SemaphoreFilter)) 21686 } 21687 return interceptor(ctx, in, info, handler) 21688 } 21689 21690 func _AuthService_EmitAuditEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21691 in := new(events.OneOf) 21692 if err := dec(in); err != nil { 21693 return nil, err 21694 } 21695 if interceptor == nil { 21696 return srv.(AuthServiceServer).EmitAuditEvent(ctx, in) 21697 } 21698 info := &grpc.UnaryServerInfo{ 21699 Server: srv, 21700 FullMethod: "/proto.AuthService/EmitAuditEvent", 21701 } 21702 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21703 return srv.(AuthServiceServer).EmitAuditEvent(ctx, req.(*events.OneOf)) 21704 } 21705 return interceptor(ctx, in, info, handler) 21706 } 21707 21708 func _AuthService_CreateAuditStream_Handler(srv interface{}, stream grpc.ServerStream) error { 21709 return srv.(AuthServiceServer).CreateAuditStream(&authServiceCreateAuditStreamServer{stream}) 21710 } 21711 21712 type AuthService_CreateAuditStreamServer interface { 21713 Send(*events.StreamStatus) error 21714 Recv() (*AuditStreamRequest, error) 21715 grpc.ServerStream 21716 } 21717 21718 type authServiceCreateAuditStreamServer struct { 21719 grpc.ServerStream 21720 } 21721 21722 func (x *authServiceCreateAuditStreamServer) Send(m *events.StreamStatus) error { 21723 return x.ServerStream.SendMsg(m) 21724 } 21725 21726 func (x *authServiceCreateAuditStreamServer) Recv() (*AuditStreamRequest, error) { 21727 m := new(AuditStreamRequest) 21728 if err := x.ServerStream.RecvMsg(m); err != nil { 21729 return nil, err 21730 } 21731 return m, nil 21732 } 21733 21734 func _AuthService_UpsertApplicationServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21735 in := new(UpsertApplicationServerRequest) 21736 if err := dec(in); err != nil { 21737 return nil, err 21738 } 21739 if interceptor == nil { 21740 return srv.(AuthServiceServer).UpsertApplicationServer(ctx, in) 21741 } 21742 info := &grpc.UnaryServerInfo{ 21743 Server: srv, 21744 FullMethod: "/proto.AuthService/UpsertApplicationServer", 21745 } 21746 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21747 return srv.(AuthServiceServer).UpsertApplicationServer(ctx, req.(*UpsertApplicationServerRequest)) 21748 } 21749 return interceptor(ctx, in, info, handler) 21750 } 21751 21752 func _AuthService_DeleteApplicationServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21753 in := new(DeleteApplicationServerRequest) 21754 if err := dec(in); err != nil { 21755 return nil, err 21756 } 21757 if interceptor == nil { 21758 return srv.(AuthServiceServer).DeleteApplicationServer(ctx, in) 21759 } 21760 info := &grpc.UnaryServerInfo{ 21761 Server: srv, 21762 FullMethod: "/proto.AuthService/DeleteApplicationServer", 21763 } 21764 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21765 return srv.(AuthServiceServer).DeleteApplicationServer(ctx, req.(*DeleteApplicationServerRequest)) 21766 } 21767 return interceptor(ctx, in, info, handler) 21768 } 21769 21770 func _AuthService_DeleteAllApplicationServers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21771 in := new(DeleteAllApplicationServersRequest) 21772 if err := dec(in); err != nil { 21773 return nil, err 21774 } 21775 if interceptor == nil { 21776 return srv.(AuthServiceServer).DeleteAllApplicationServers(ctx, in) 21777 } 21778 info := &grpc.UnaryServerInfo{ 21779 Server: srv, 21780 FullMethod: "/proto.AuthService/DeleteAllApplicationServers", 21781 } 21782 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21783 return srv.(AuthServiceServer).DeleteAllApplicationServers(ctx, req.(*DeleteAllApplicationServersRequest)) 21784 } 21785 return interceptor(ctx, in, info, handler) 21786 } 21787 21788 func _AuthService_GenerateAppToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21789 in := new(GenerateAppTokenRequest) 21790 if err := dec(in); err != nil { 21791 return nil, err 21792 } 21793 if interceptor == nil { 21794 return srv.(AuthServiceServer).GenerateAppToken(ctx, in) 21795 } 21796 info := &grpc.UnaryServerInfo{ 21797 Server: srv, 21798 FullMethod: "/proto.AuthService/GenerateAppToken", 21799 } 21800 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21801 return srv.(AuthServiceServer).GenerateAppToken(ctx, req.(*GenerateAppTokenRequest)) 21802 } 21803 return interceptor(ctx, in, info, handler) 21804 } 21805 21806 func _AuthService_GetAppSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21807 in := new(GetAppSessionRequest) 21808 if err := dec(in); err != nil { 21809 return nil, err 21810 } 21811 if interceptor == nil { 21812 return srv.(AuthServiceServer).GetAppSession(ctx, in) 21813 } 21814 info := &grpc.UnaryServerInfo{ 21815 Server: srv, 21816 FullMethod: "/proto.AuthService/GetAppSession", 21817 } 21818 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21819 return srv.(AuthServiceServer).GetAppSession(ctx, req.(*GetAppSessionRequest)) 21820 } 21821 return interceptor(ctx, in, info, handler) 21822 } 21823 21824 func _AuthService_ListAppSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21825 in := new(ListAppSessionsRequest) 21826 if err := dec(in); err != nil { 21827 return nil, err 21828 } 21829 if interceptor == nil { 21830 return srv.(AuthServiceServer).ListAppSessions(ctx, in) 21831 } 21832 info := &grpc.UnaryServerInfo{ 21833 Server: srv, 21834 FullMethod: "/proto.AuthService/ListAppSessions", 21835 } 21836 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21837 return srv.(AuthServiceServer).ListAppSessions(ctx, req.(*ListAppSessionsRequest)) 21838 } 21839 return interceptor(ctx, in, info, handler) 21840 } 21841 21842 func _AuthService_CreateAppSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21843 in := new(CreateAppSessionRequest) 21844 if err := dec(in); err != nil { 21845 return nil, err 21846 } 21847 if interceptor == nil { 21848 return srv.(AuthServiceServer).CreateAppSession(ctx, in) 21849 } 21850 info := &grpc.UnaryServerInfo{ 21851 Server: srv, 21852 FullMethod: "/proto.AuthService/CreateAppSession", 21853 } 21854 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21855 return srv.(AuthServiceServer).CreateAppSession(ctx, req.(*CreateAppSessionRequest)) 21856 } 21857 return interceptor(ctx, in, info, handler) 21858 } 21859 21860 func _AuthService_DeleteAppSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21861 in := new(DeleteAppSessionRequest) 21862 if err := dec(in); err != nil { 21863 return nil, err 21864 } 21865 if interceptor == nil { 21866 return srv.(AuthServiceServer).DeleteAppSession(ctx, in) 21867 } 21868 info := &grpc.UnaryServerInfo{ 21869 Server: srv, 21870 FullMethod: "/proto.AuthService/DeleteAppSession", 21871 } 21872 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21873 return srv.(AuthServiceServer).DeleteAppSession(ctx, req.(*DeleteAppSessionRequest)) 21874 } 21875 return interceptor(ctx, in, info, handler) 21876 } 21877 21878 func _AuthService_DeleteAllAppSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21879 in := new(emptypb.Empty) 21880 if err := dec(in); err != nil { 21881 return nil, err 21882 } 21883 if interceptor == nil { 21884 return srv.(AuthServiceServer).DeleteAllAppSessions(ctx, in) 21885 } 21886 info := &grpc.UnaryServerInfo{ 21887 Server: srv, 21888 FullMethod: "/proto.AuthService/DeleteAllAppSessions", 21889 } 21890 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21891 return srv.(AuthServiceServer).DeleteAllAppSessions(ctx, req.(*emptypb.Empty)) 21892 } 21893 return interceptor(ctx, in, info, handler) 21894 } 21895 21896 func _AuthService_DeleteUserAppSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21897 in := new(DeleteUserAppSessionsRequest) 21898 if err := dec(in); err != nil { 21899 return nil, err 21900 } 21901 if interceptor == nil { 21902 return srv.(AuthServiceServer).DeleteUserAppSessions(ctx, in) 21903 } 21904 info := &grpc.UnaryServerInfo{ 21905 Server: srv, 21906 FullMethod: "/proto.AuthService/DeleteUserAppSessions", 21907 } 21908 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21909 return srv.(AuthServiceServer).DeleteUserAppSessions(ctx, req.(*DeleteUserAppSessionsRequest)) 21910 } 21911 return interceptor(ctx, in, info, handler) 21912 } 21913 21914 func _AuthService_CreateSnowflakeSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21915 in := new(CreateSnowflakeSessionRequest) 21916 if err := dec(in); err != nil { 21917 return nil, err 21918 } 21919 if interceptor == nil { 21920 return srv.(AuthServiceServer).CreateSnowflakeSession(ctx, in) 21921 } 21922 info := &grpc.UnaryServerInfo{ 21923 Server: srv, 21924 FullMethod: "/proto.AuthService/CreateSnowflakeSession", 21925 } 21926 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21927 return srv.(AuthServiceServer).CreateSnowflakeSession(ctx, req.(*CreateSnowflakeSessionRequest)) 21928 } 21929 return interceptor(ctx, in, info, handler) 21930 } 21931 21932 func _AuthService_GetSnowflakeSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21933 in := new(GetSnowflakeSessionRequest) 21934 if err := dec(in); err != nil { 21935 return nil, err 21936 } 21937 if interceptor == nil { 21938 return srv.(AuthServiceServer).GetSnowflakeSession(ctx, in) 21939 } 21940 info := &grpc.UnaryServerInfo{ 21941 Server: srv, 21942 FullMethod: "/proto.AuthService/GetSnowflakeSession", 21943 } 21944 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21945 return srv.(AuthServiceServer).GetSnowflakeSession(ctx, req.(*GetSnowflakeSessionRequest)) 21946 } 21947 return interceptor(ctx, in, info, handler) 21948 } 21949 21950 func _AuthService_GetSnowflakeSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21951 in := new(emptypb.Empty) 21952 if err := dec(in); err != nil { 21953 return nil, err 21954 } 21955 if interceptor == nil { 21956 return srv.(AuthServiceServer).GetSnowflakeSessions(ctx, in) 21957 } 21958 info := &grpc.UnaryServerInfo{ 21959 Server: srv, 21960 FullMethod: "/proto.AuthService/GetSnowflakeSessions", 21961 } 21962 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21963 return srv.(AuthServiceServer).GetSnowflakeSessions(ctx, req.(*emptypb.Empty)) 21964 } 21965 return interceptor(ctx, in, info, handler) 21966 } 21967 21968 func _AuthService_DeleteSnowflakeSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21969 in := new(DeleteSnowflakeSessionRequest) 21970 if err := dec(in); err != nil { 21971 return nil, err 21972 } 21973 if interceptor == nil { 21974 return srv.(AuthServiceServer).DeleteSnowflakeSession(ctx, in) 21975 } 21976 info := &grpc.UnaryServerInfo{ 21977 Server: srv, 21978 FullMethod: "/proto.AuthService/DeleteSnowflakeSession", 21979 } 21980 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21981 return srv.(AuthServiceServer).DeleteSnowflakeSession(ctx, req.(*DeleteSnowflakeSessionRequest)) 21982 } 21983 return interceptor(ctx, in, info, handler) 21984 } 21985 21986 func _AuthService_DeleteAllSnowflakeSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 21987 in := new(emptypb.Empty) 21988 if err := dec(in); err != nil { 21989 return nil, err 21990 } 21991 if interceptor == nil { 21992 return srv.(AuthServiceServer).DeleteAllSnowflakeSessions(ctx, in) 21993 } 21994 info := &grpc.UnaryServerInfo{ 21995 Server: srv, 21996 FullMethod: "/proto.AuthService/DeleteAllSnowflakeSessions", 21997 } 21998 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 21999 return srv.(AuthServiceServer).DeleteAllSnowflakeSessions(ctx, req.(*emptypb.Empty)) 22000 } 22001 return interceptor(ctx, in, info, handler) 22002 } 22003 22004 func _AuthService_CreateSAMLIdPSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22005 in := new(CreateSAMLIdPSessionRequest) 22006 if err := dec(in); err != nil { 22007 return nil, err 22008 } 22009 if interceptor == nil { 22010 return srv.(AuthServiceServer).CreateSAMLIdPSession(ctx, in) 22011 } 22012 info := &grpc.UnaryServerInfo{ 22013 Server: srv, 22014 FullMethod: "/proto.AuthService/CreateSAMLIdPSession", 22015 } 22016 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22017 return srv.(AuthServiceServer).CreateSAMLIdPSession(ctx, req.(*CreateSAMLIdPSessionRequest)) 22018 } 22019 return interceptor(ctx, in, info, handler) 22020 } 22021 22022 func _AuthService_GetSAMLIdPSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22023 in := new(GetSAMLIdPSessionRequest) 22024 if err := dec(in); err != nil { 22025 return nil, err 22026 } 22027 if interceptor == nil { 22028 return srv.(AuthServiceServer).GetSAMLIdPSession(ctx, in) 22029 } 22030 info := &grpc.UnaryServerInfo{ 22031 Server: srv, 22032 FullMethod: "/proto.AuthService/GetSAMLIdPSession", 22033 } 22034 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22035 return srv.(AuthServiceServer).GetSAMLIdPSession(ctx, req.(*GetSAMLIdPSessionRequest)) 22036 } 22037 return interceptor(ctx, in, info, handler) 22038 } 22039 22040 func _AuthService_ListSAMLIdPSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22041 in := new(ListSAMLIdPSessionsRequest) 22042 if err := dec(in); err != nil { 22043 return nil, err 22044 } 22045 if interceptor == nil { 22046 return srv.(AuthServiceServer).ListSAMLIdPSessions(ctx, in) 22047 } 22048 info := &grpc.UnaryServerInfo{ 22049 Server: srv, 22050 FullMethod: "/proto.AuthService/ListSAMLIdPSessions", 22051 } 22052 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22053 return srv.(AuthServiceServer).ListSAMLIdPSessions(ctx, req.(*ListSAMLIdPSessionsRequest)) 22054 } 22055 return interceptor(ctx, in, info, handler) 22056 } 22057 22058 func _AuthService_DeleteSAMLIdPSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22059 in := new(DeleteSAMLIdPSessionRequest) 22060 if err := dec(in); err != nil { 22061 return nil, err 22062 } 22063 if interceptor == nil { 22064 return srv.(AuthServiceServer).DeleteSAMLIdPSession(ctx, in) 22065 } 22066 info := &grpc.UnaryServerInfo{ 22067 Server: srv, 22068 FullMethod: "/proto.AuthService/DeleteSAMLIdPSession", 22069 } 22070 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22071 return srv.(AuthServiceServer).DeleteSAMLIdPSession(ctx, req.(*DeleteSAMLIdPSessionRequest)) 22072 } 22073 return interceptor(ctx, in, info, handler) 22074 } 22075 22076 func _AuthService_DeleteAllSAMLIdPSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22077 in := new(emptypb.Empty) 22078 if err := dec(in); err != nil { 22079 return nil, err 22080 } 22081 if interceptor == nil { 22082 return srv.(AuthServiceServer).DeleteAllSAMLIdPSessions(ctx, in) 22083 } 22084 info := &grpc.UnaryServerInfo{ 22085 Server: srv, 22086 FullMethod: "/proto.AuthService/DeleteAllSAMLIdPSessions", 22087 } 22088 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22089 return srv.(AuthServiceServer).DeleteAllSAMLIdPSessions(ctx, req.(*emptypb.Empty)) 22090 } 22091 return interceptor(ctx, in, info, handler) 22092 } 22093 22094 func _AuthService_DeleteUserSAMLIdPSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22095 in := new(DeleteUserSAMLIdPSessionsRequest) 22096 if err := dec(in); err != nil { 22097 return nil, err 22098 } 22099 if interceptor == nil { 22100 return srv.(AuthServiceServer).DeleteUserSAMLIdPSessions(ctx, in) 22101 } 22102 info := &grpc.UnaryServerInfo{ 22103 Server: srv, 22104 FullMethod: "/proto.AuthService/DeleteUserSAMLIdPSessions", 22105 } 22106 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22107 return srv.(AuthServiceServer).DeleteUserSAMLIdPSessions(ctx, req.(*DeleteUserSAMLIdPSessionsRequest)) 22108 } 22109 return interceptor(ctx, in, info, handler) 22110 } 22111 22112 func _AuthService_GetWebSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22113 in := new(types.GetWebSessionRequest) 22114 if err := dec(in); err != nil { 22115 return nil, err 22116 } 22117 if interceptor == nil { 22118 return srv.(AuthServiceServer).GetWebSession(ctx, in) 22119 } 22120 info := &grpc.UnaryServerInfo{ 22121 Server: srv, 22122 FullMethod: "/proto.AuthService/GetWebSession", 22123 } 22124 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22125 return srv.(AuthServiceServer).GetWebSession(ctx, req.(*types.GetWebSessionRequest)) 22126 } 22127 return interceptor(ctx, in, info, handler) 22128 } 22129 22130 func _AuthService_GetWebSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22131 in := new(emptypb.Empty) 22132 if err := dec(in); err != nil { 22133 return nil, err 22134 } 22135 if interceptor == nil { 22136 return srv.(AuthServiceServer).GetWebSessions(ctx, in) 22137 } 22138 info := &grpc.UnaryServerInfo{ 22139 Server: srv, 22140 FullMethod: "/proto.AuthService/GetWebSessions", 22141 } 22142 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22143 return srv.(AuthServiceServer).GetWebSessions(ctx, req.(*emptypb.Empty)) 22144 } 22145 return interceptor(ctx, in, info, handler) 22146 } 22147 22148 func _AuthService_DeleteWebSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22149 in := new(types.DeleteWebSessionRequest) 22150 if err := dec(in); err != nil { 22151 return nil, err 22152 } 22153 if interceptor == nil { 22154 return srv.(AuthServiceServer).DeleteWebSession(ctx, in) 22155 } 22156 info := &grpc.UnaryServerInfo{ 22157 Server: srv, 22158 FullMethod: "/proto.AuthService/DeleteWebSession", 22159 } 22160 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22161 return srv.(AuthServiceServer).DeleteWebSession(ctx, req.(*types.DeleteWebSessionRequest)) 22162 } 22163 return interceptor(ctx, in, info, handler) 22164 } 22165 22166 func _AuthService_DeleteAllWebSessions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22167 in := new(emptypb.Empty) 22168 if err := dec(in); err != nil { 22169 return nil, err 22170 } 22171 if interceptor == nil { 22172 return srv.(AuthServiceServer).DeleteAllWebSessions(ctx, in) 22173 } 22174 info := &grpc.UnaryServerInfo{ 22175 Server: srv, 22176 FullMethod: "/proto.AuthService/DeleteAllWebSessions", 22177 } 22178 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22179 return srv.(AuthServiceServer).DeleteAllWebSessions(ctx, req.(*emptypb.Empty)) 22180 } 22181 return interceptor(ctx, in, info, handler) 22182 } 22183 22184 func _AuthService_GetWebToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22185 in := new(types.GetWebTokenRequest) 22186 if err := dec(in); err != nil { 22187 return nil, err 22188 } 22189 if interceptor == nil { 22190 return srv.(AuthServiceServer).GetWebToken(ctx, in) 22191 } 22192 info := &grpc.UnaryServerInfo{ 22193 Server: srv, 22194 FullMethod: "/proto.AuthService/GetWebToken", 22195 } 22196 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22197 return srv.(AuthServiceServer).GetWebToken(ctx, req.(*types.GetWebTokenRequest)) 22198 } 22199 return interceptor(ctx, in, info, handler) 22200 } 22201 22202 func _AuthService_GetWebTokens_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22203 in := new(emptypb.Empty) 22204 if err := dec(in); err != nil { 22205 return nil, err 22206 } 22207 if interceptor == nil { 22208 return srv.(AuthServiceServer).GetWebTokens(ctx, in) 22209 } 22210 info := &grpc.UnaryServerInfo{ 22211 Server: srv, 22212 FullMethod: "/proto.AuthService/GetWebTokens", 22213 } 22214 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22215 return srv.(AuthServiceServer).GetWebTokens(ctx, req.(*emptypb.Empty)) 22216 } 22217 return interceptor(ctx, in, info, handler) 22218 } 22219 22220 func _AuthService_DeleteWebToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22221 in := new(types.DeleteWebTokenRequest) 22222 if err := dec(in); err != nil { 22223 return nil, err 22224 } 22225 if interceptor == nil { 22226 return srv.(AuthServiceServer).DeleteWebToken(ctx, in) 22227 } 22228 info := &grpc.UnaryServerInfo{ 22229 Server: srv, 22230 FullMethod: "/proto.AuthService/DeleteWebToken", 22231 } 22232 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22233 return srv.(AuthServiceServer).DeleteWebToken(ctx, req.(*types.DeleteWebTokenRequest)) 22234 } 22235 return interceptor(ctx, in, info, handler) 22236 } 22237 22238 func _AuthService_DeleteAllWebTokens_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22239 in := new(emptypb.Empty) 22240 if err := dec(in); err != nil { 22241 return nil, err 22242 } 22243 if interceptor == nil { 22244 return srv.(AuthServiceServer).DeleteAllWebTokens(ctx, in) 22245 } 22246 info := &grpc.UnaryServerInfo{ 22247 Server: srv, 22248 FullMethod: "/proto.AuthService/DeleteAllWebTokens", 22249 } 22250 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22251 return srv.(AuthServiceServer).DeleteAllWebTokens(ctx, req.(*emptypb.Empty)) 22252 } 22253 return interceptor(ctx, in, info, handler) 22254 } 22255 22256 func _AuthService_UpdateRemoteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22257 in := new(types.RemoteClusterV3) 22258 if err := dec(in); err != nil { 22259 return nil, err 22260 } 22261 if interceptor == nil { 22262 return srv.(AuthServiceServer).UpdateRemoteCluster(ctx, in) 22263 } 22264 info := &grpc.UnaryServerInfo{ 22265 Server: srv, 22266 FullMethod: "/proto.AuthService/UpdateRemoteCluster", 22267 } 22268 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22269 return srv.(AuthServiceServer).UpdateRemoteCluster(ctx, req.(*types.RemoteClusterV3)) 22270 } 22271 return interceptor(ctx, in, info, handler) 22272 } 22273 22274 func _AuthService_UpsertKubernetesServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22275 in := new(UpsertKubernetesServerRequest) 22276 if err := dec(in); err != nil { 22277 return nil, err 22278 } 22279 if interceptor == nil { 22280 return srv.(AuthServiceServer).UpsertKubernetesServer(ctx, in) 22281 } 22282 info := &grpc.UnaryServerInfo{ 22283 Server: srv, 22284 FullMethod: "/proto.AuthService/UpsertKubernetesServer", 22285 } 22286 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22287 return srv.(AuthServiceServer).UpsertKubernetesServer(ctx, req.(*UpsertKubernetesServerRequest)) 22288 } 22289 return interceptor(ctx, in, info, handler) 22290 } 22291 22292 func _AuthService_DeleteKubernetesServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22293 in := new(DeleteKubernetesServerRequest) 22294 if err := dec(in); err != nil { 22295 return nil, err 22296 } 22297 if interceptor == nil { 22298 return srv.(AuthServiceServer).DeleteKubernetesServer(ctx, in) 22299 } 22300 info := &grpc.UnaryServerInfo{ 22301 Server: srv, 22302 FullMethod: "/proto.AuthService/DeleteKubernetesServer", 22303 } 22304 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22305 return srv.(AuthServiceServer).DeleteKubernetesServer(ctx, req.(*DeleteKubernetesServerRequest)) 22306 } 22307 return interceptor(ctx, in, info, handler) 22308 } 22309 22310 func _AuthService_DeleteAllKubernetesServers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22311 in := new(DeleteAllKubernetesServersRequest) 22312 if err := dec(in); err != nil { 22313 return nil, err 22314 } 22315 if interceptor == nil { 22316 return srv.(AuthServiceServer).DeleteAllKubernetesServers(ctx, in) 22317 } 22318 info := &grpc.UnaryServerInfo{ 22319 Server: srv, 22320 FullMethod: "/proto.AuthService/DeleteAllKubernetesServers", 22321 } 22322 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22323 return srv.(AuthServiceServer).DeleteAllKubernetesServers(ctx, req.(*DeleteAllKubernetesServersRequest)) 22324 } 22325 return interceptor(ctx, in, info, handler) 22326 } 22327 22328 func _AuthService_UpsertDatabaseServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22329 in := new(UpsertDatabaseServerRequest) 22330 if err := dec(in); err != nil { 22331 return nil, err 22332 } 22333 if interceptor == nil { 22334 return srv.(AuthServiceServer).UpsertDatabaseServer(ctx, in) 22335 } 22336 info := &grpc.UnaryServerInfo{ 22337 Server: srv, 22338 FullMethod: "/proto.AuthService/UpsertDatabaseServer", 22339 } 22340 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22341 return srv.(AuthServiceServer).UpsertDatabaseServer(ctx, req.(*UpsertDatabaseServerRequest)) 22342 } 22343 return interceptor(ctx, in, info, handler) 22344 } 22345 22346 func _AuthService_DeleteDatabaseServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22347 in := new(DeleteDatabaseServerRequest) 22348 if err := dec(in); err != nil { 22349 return nil, err 22350 } 22351 if interceptor == nil { 22352 return srv.(AuthServiceServer).DeleteDatabaseServer(ctx, in) 22353 } 22354 info := &grpc.UnaryServerInfo{ 22355 Server: srv, 22356 FullMethod: "/proto.AuthService/DeleteDatabaseServer", 22357 } 22358 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22359 return srv.(AuthServiceServer).DeleteDatabaseServer(ctx, req.(*DeleteDatabaseServerRequest)) 22360 } 22361 return interceptor(ctx, in, info, handler) 22362 } 22363 22364 func _AuthService_DeleteAllDatabaseServers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22365 in := new(DeleteAllDatabaseServersRequest) 22366 if err := dec(in); err != nil { 22367 return nil, err 22368 } 22369 if interceptor == nil { 22370 return srv.(AuthServiceServer).DeleteAllDatabaseServers(ctx, in) 22371 } 22372 info := &grpc.UnaryServerInfo{ 22373 Server: srv, 22374 FullMethod: "/proto.AuthService/DeleteAllDatabaseServers", 22375 } 22376 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22377 return srv.(AuthServiceServer).DeleteAllDatabaseServers(ctx, req.(*DeleteAllDatabaseServersRequest)) 22378 } 22379 return interceptor(ctx, in, info, handler) 22380 } 22381 22382 func _AuthService_UpsertDatabaseService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22383 in := new(UpsertDatabaseServiceRequest) 22384 if err := dec(in); err != nil { 22385 return nil, err 22386 } 22387 if interceptor == nil { 22388 return srv.(AuthServiceServer).UpsertDatabaseService(ctx, in) 22389 } 22390 info := &grpc.UnaryServerInfo{ 22391 Server: srv, 22392 FullMethod: "/proto.AuthService/UpsertDatabaseService", 22393 } 22394 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22395 return srv.(AuthServiceServer).UpsertDatabaseService(ctx, req.(*UpsertDatabaseServiceRequest)) 22396 } 22397 return interceptor(ctx, in, info, handler) 22398 } 22399 22400 func _AuthService_DeleteDatabaseService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22401 in := new(types.ResourceRequest) 22402 if err := dec(in); err != nil { 22403 return nil, err 22404 } 22405 if interceptor == nil { 22406 return srv.(AuthServiceServer).DeleteDatabaseService(ctx, in) 22407 } 22408 info := &grpc.UnaryServerInfo{ 22409 Server: srv, 22410 FullMethod: "/proto.AuthService/DeleteDatabaseService", 22411 } 22412 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22413 return srv.(AuthServiceServer).DeleteDatabaseService(ctx, req.(*types.ResourceRequest)) 22414 } 22415 return interceptor(ctx, in, info, handler) 22416 } 22417 22418 func _AuthService_DeleteAllDatabaseServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22419 in := new(DeleteAllDatabaseServicesRequest) 22420 if err := dec(in); err != nil { 22421 return nil, err 22422 } 22423 if interceptor == nil { 22424 return srv.(AuthServiceServer).DeleteAllDatabaseServices(ctx, in) 22425 } 22426 info := &grpc.UnaryServerInfo{ 22427 Server: srv, 22428 FullMethod: "/proto.AuthService/DeleteAllDatabaseServices", 22429 } 22430 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22431 return srv.(AuthServiceServer).DeleteAllDatabaseServices(ctx, req.(*DeleteAllDatabaseServicesRequest)) 22432 } 22433 return interceptor(ctx, in, info, handler) 22434 } 22435 22436 func _AuthService_SignDatabaseCSR_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22437 in := new(DatabaseCSRRequest) 22438 if err := dec(in); err != nil { 22439 return nil, err 22440 } 22441 if interceptor == nil { 22442 return srv.(AuthServiceServer).SignDatabaseCSR(ctx, in) 22443 } 22444 info := &grpc.UnaryServerInfo{ 22445 Server: srv, 22446 FullMethod: "/proto.AuthService/SignDatabaseCSR", 22447 } 22448 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22449 return srv.(AuthServiceServer).SignDatabaseCSR(ctx, req.(*DatabaseCSRRequest)) 22450 } 22451 return interceptor(ctx, in, info, handler) 22452 } 22453 22454 func _AuthService_GenerateDatabaseCert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22455 in := new(DatabaseCertRequest) 22456 if err := dec(in); err != nil { 22457 return nil, err 22458 } 22459 if interceptor == nil { 22460 return srv.(AuthServiceServer).GenerateDatabaseCert(ctx, in) 22461 } 22462 info := &grpc.UnaryServerInfo{ 22463 Server: srv, 22464 FullMethod: "/proto.AuthService/GenerateDatabaseCert", 22465 } 22466 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22467 return srv.(AuthServiceServer).GenerateDatabaseCert(ctx, req.(*DatabaseCertRequest)) 22468 } 22469 return interceptor(ctx, in, info, handler) 22470 } 22471 22472 func _AuthService_GenerateSnowflakeJWT_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22473 in := new(SnowflakeJWTRequest) 22474 if err := dec(in); err != nil { 22475 return nil, err 22476 } 22477 if interceptor == nil { 22478 return srv.(AuthServiceServer).GenerateSnowflakeJWT(ctx, in) 22479 } 22480 info := &grpc.UnaryServerInfo{ 22481 Server: srv, 22482 FullMethod: "/proto.AuthService/GenerateSnowflakeJWT", 22483 } 22484 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22485 return srv.(AuthServiceServer).GenerateSnowflakeJWT(ctx, req.(*SnowflakeJWTRequest)) 22486 } 22487 return interceptor(ctx, in, info, handler) 22488 } 22489 22490 func _AuthService_GetRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22491 in := new(GetRoleRequest) 22492 if err := dec(in); err != nil { 22493 return nil, err 22494 } 22495 if interceptor == nil { 22496 return srv.(AuthServiceServer).GetRole(ctx, in) 22497 } 22498 info := &grpc.UnaryServerInfo{ 22499 Server: srv, 22500 FullMethod: "/proto.AuthService/GetRole", 22501 } 22502 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22503 return srv.(AuthServiceServer).GetRole(ctx, req.(*GetRoleRequest)) 22504 } 22505 return interceptor(ctx, in, info, handler) 22506 } 22507 22508 func _AuthService_GetRoles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22509 in := new(emptypb.Empty) 22510 if err := dec(in); err != nil { 22511 return nil, err 22512 } 22513 if interceptor == nil { 22514 return srv.(AuthServiceServer).GetRoles(ctx, in) 22515 } 22516 info := &grpc.UnaryServerInfo{ 22517 Server: srv, 22518 FullMethod: "/proto.AuthService/GetRoles", 22519 } 22520 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22521 return srv.(AuthServiceServer).GetRoles(ctx, req.(*emptypb.Empty)) 22522 } 22523 return interceptor(ctx, in, info, handler) 22524 } 22525 22526 func _AuthService_ListRoles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22527 in := new(ListRolesRequest) 22528 if err := dec(in); err != nil { 22529 return nil, err 22530 } 22531 if interceptor == nil { 22532 return srv.(AuthServiceServer).ListRoles(ctx, in) 22533 } 22534 info := &grpc.UnaryServerInfo{ 22535 Server: srv, 22536 FullMethod: "/proto.AuthService/ListRoles", 22537 } 22538 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22539 return srv.(AuthServiceServer).ListRoles(ctx, req.(*ListRolesRequest)) 22540 } 22541 return interceptor(ctx, in, info, handler) 22542 } 22543 22544 func _AuthService_CreateRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22545 in := new(CreateRoleRequest) 22546 if err := dec(in); err != nil { 22547 return nil, err 22548 } 22549 if interceptor == nil { 22550 return srv.(AuthServiceServer).CreateRole(ctx, in) 22551 } 22552 info := &grpc.UnaryServerInfo{ 22553 Server: srv, 22554 FullMethod: "/proto.AuthService/CreateRole", 22555 } 22556 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22557 return srv.(AuthServiceServer).CreateRole(ctx, req.(*CreateRoleRequest)) 22558 } 22559 return interceptor(ctx, in, info, handler) 22560 } 22561 22562 func _AuthService_UpdateRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22563 in := new(UpdateRoleRequest) 22564 if err := dec(in); err != nil { 22565 return nil, err 22566 } 22567 if interceptor == nil { 22568 return srv.(AuthServiceServer).UpdateRole(ctx, in) 22569 } 22570 info := &grpc.UnaryServerInfo{ 22571 Server: srv, 22572 FullMethod: "/proto.AuthService/UpdateRole", 22573 } 22574 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22575 return srv.(AuthServiceServer).UpdateRole(ctx, req.(*UpdateRoleRequest)) 22576 } 22577 return interceptor(ctx, in, info, handler) 22578 } 22579 22580 func _AuthService_UpsertRoleV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22581 in := new(UpsertRoleRequest) 22582 if err := dec(in); err != nil { 22583 return nil, err 22584 } 22585 if interceptor == nil { 22586 return srv.(AuthServiceServer).UpsertRoleV2(ctx, in) 22587 } 22588 info := &grpc.UnaryServerInfo{ 22589 Server: srv, 22590 FullMethod: "/proto.AuthService/UpsertRoleV2", 22591 } 22592 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22593 return srv.(AuthServiceServer).UpsertRoleV2(ctx, req.(*UpsertRoleRequest)) 22594 } 22595 return interceptor(ctx, in, info, handler) 22596 } 22597 22598 func _AuthService_UpsertRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22599 in := new(types.RoleV6) 22600 if err := dec(in); err != nil { 22601 return nil, err 22602 } 22603 if interceptor == nil { 22604 return srv.(AuthServiceServer).UpsertRole(ctx, in) 22605 } 22606 info := &grpc.UnaryServerInfo{ 22607 Server: srv, 22608 FullMethod: "/proto.AuthService/UpsertRole", 22609 } 22610 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22611 return srv.(AuthServiceServer).UpsertRole(ctx, req.(*types.RoleV6)) 22612 } 22613 return interceptor(ctx, in, info, handler) 22614 } 22615 22616 func _AuthService_DeleteRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22617 in := new(DeleteRoleRequest) 22618 if err := dec(in); err != nil { 22619 return nil, err 22620 } 22621 if interceptor == nil { 22622 return srv.(AuthServiceServer).DeleteRole(ctx, in) 22623 } 22624 info := &grpc.UnaryServerInfo{ 22625 Server: srv, 22626 FullMethod: "/proto.AuthService/DeleteRole", 22627 } 22628 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22629 return srv.(AuthServiceServer).DeleteRole(ctx, req.(*DeleteRoleRequest)) 22630 } 22631 return interceptor(ctx, in, info, handler) 22632 } 22633 22634 func _AuthService_AddMFADevice_Handler(srv interface{}, stream grpc.ServerStream) error { 22635 return srv.(AuthServiceServer).AddMFADevice(&authServiceAddMFADeviceServer{stream}) 22636 } 22637 22638 type AuthService_AddMFADeviceServer interface { 22639 Send(*AddMFADeviceResponse) error 22640 Recv() (*AddMFADeviceRequest, error) 22641 grpc.ServerStream 22642 } 22643 22644 type authServiceAddMFADeviceServer struct { 22645 grpc.ServerStream 22646 } 22647 22648 func (x *authServiceAddMFADeviceServer) Send(m *AddMFADeviceResponse) error { 22649 return x.ServerStream.SendMsg(m) 22650 } 22651 22652 func (x *authServiceAddMFADeviceServer) Recv() (*AddMFADeviceRequest, error) { 22653 m := new(AddMFADeviceRequest) 22654 if err := x.ServerStream.RecvMsg(m); err != nil { 22655 return nil, err 22656 } 22657 return m, nil 22658 } 22659 22660 func _AuthService_DeleteMFADevice_Handler(srv interface{}, stream grpc.ServerStream) error { 22661 return srv.(AuthServiceServer).DeleteMFADevice(&authServiceDeleteMFADeviceServer{stream}) 22662 } 22663 22664 type AuthService_DeleteMFADeviceServer interface { 22665 Send(*DeleteMFADeviceResponse) error 22666 Recv() (*DeleteMFADeviceRequest, error) 22667 grpc.ServerStream 22668 } 22669 22670 type authServiceDeleteMFADeviceServer struct { 22671 grpc.ServerStream 22672 } 22673 22674 func (x *authServiceDeleteMFADeviceServer) Send(m *DeleteMFADeviceResponse) error { 22675 return x.ServerStream.SendMsg(m) 22676 } 22677 22678 func (x *authServiceDeleteMFADeviceServer) Recv() (*DeleteMFADeviceRequest, error) { 22679 m := new(DeleteMFADeviceRequest) 22680 if err := x.ServerStream.RecvMsg(m); err != nil { 22681 return nil, err 22682 } 22683 return m, nil 22684 } 22685 22686 func _AuthService_AddMFADeviceSync_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22687 in := new(AddMFADeviceSyncRequest) 22688 if err := dec(in); err != nil { 22689 return nil, err 22690 } 22691 if interceptor == nil { 22692 return srv.(AuthServiceServer).AddMFADeviceSync(ctx, in) 22693 } 22694 info := &grpc.UnaryServerInfo{ 22695 Server: srv, 22696 FullMethod: "/proto.AuthService/AddMFADeviceSync", 22697 } 22698 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22699 return srv.(AuthServiceServer).AddMFADeviceSync(ctx, req.(*AddMFADeviceSyncRequest)) 22700 } 22701 return interceptor(ctx, in, info, handler) 22702 } 22703 22704 func _AuthService_DeleteMFADeviceSync_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22705 in := new(DeleteMFADeviceSyncRequest) 22706 if err := dec(in); err != nil { 22707 return nil, err 22708 } 22709 if interceptor == nil { 22710 return srv.(AuthServiceServer).DeleteMFADeviceSync(ctx, in) 22711 } 22712 info := &grpc.UnaryServerInfo{ 22713 Server: srv, 22714 FullMethod: "/proto.AuthService/DeleteMFADeviceSync", 22715 } 22716 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22717 return srv.(AuthServiceServer).DeleteMFADeviceSync(ctx, req.(*DeleteMFADeviceSyncRequest)) 22718 } 22719 return interceptor(ctx, in, info, handler) 22720 } 22721 22722 func _AuthService_GetMFADevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22723 in := new(GetMFADevicesRequest) 22724 if err := dec(in); err != nil { 22725 return nil, err 22726 } 22727 if interceptor == nil { 22728 return srv.(AuthServiceServer).GetMFADevices(ctx, in) 22729 } 22730 info := &grpc.UnaryServerInfo{ 22731 Server: srv, 22732 FullMethod: "/proto.AuthService/GetMFADevices", 22733 } 22734 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22735 return srv.(AuthServiceServer).GetMFADevices(ctx, req.(*GetMFADevicesRequest)) 22736 } 22737 return interceptor(ctx, in, info, handler) 22738 } 22739 22740 func _AuthService_CreateAuthenticateChallenge_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22741 in := new(CreateAuthenticateChallengeRequest) 22742 if err := dec(in); err != nil { 22743 return nil, err 22744 } 22745 if interceptor == nil { 22746 return srv.(AuthServiceServer).CreateAuthenticateChallenge(ctx, in) 22747 } 22748 info := &grpc.UnaryServerInfo{ 22749 Server: srv, 22750 FullMethod: "/proto.AuthService/CreateAuthenticateChallenge", 22751 } 22752 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22753 return srv.(AuthServiceServer).CreateAuthenticateChallenge(ctx, req.(*CreateAuthenticateChallengeRequest)) 22754 } 22755 return interceptor(ctx, in, info, handler) 22756 } 22757 22758 func _AuthService_CreateRegisterChallenge_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22759 in := new(CreateRegisterChallengeRequest) 22760 if err := dec(in); err != nil { 22761 return nil, err 22762 } 22763 if interceptor == nil { 22764 return srv.(AuthServiceServer).CreateRegisterChallenge(ctx, in) 22765 } 22766 info := &grpc.UnaryServerInfo{ 22767 Server: srv, 22768 FullMethod: "/proto.AuthService/CreateRegisterChallenge", 22769 } 22770 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22771 return srv.(AuthServiceServer).CreateRegisterChallenge(ctx, req.(*CreateRegisterChallengeRequest)) 22772 } 22773 return interceptor(ctx, in, info, handler) 22774 } 22775 22776 func _AuthService_GetOIDCConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22777 in := new(types.ResourceWithSecretsRequest) 22778 if err := dec(in); err != nil { 22779 return nil, err 22780 } 22781 if interceptor == nil { 22782 return srv.(AuthServiceServer).GetOIDCConnector(ctx, in) 22783 } 22784 info := &grpc.UnaryServerInfo{ 22785 Server: srv, 22786 FullMethod: "/proto.AuthService/GetOIDCConnector", 22787 } 22788 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22789 return srv.(AuthServiceServer).GetOIDCConnector(ctx, req.(*types.ResourceWithSecretsRequest)) 22790 } 22791 return interceptor(ctx, in, info, handler) 22792 } 22793 22794 func _AuthService_GetOIDCConnectors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22795 in := new(types.ResourcesWithSecretsRequest) 22796 if err := dec(in); err != nil { 22797 return nil, err 22798 } 22799 if interceptor == nil { 22800 return srv.(AuthServiceServer).GetOIDCConnectors(ctx, in) 22801 } 22802 info := &grpc.UnaryServerInfo{ 22803 Server: srv, 22804 FullMethod: "/proto.AuthService/GetOIDCConnectors", 22805 } 22806 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22807 return srv.(AuthServiceServer).GetOIDCConnectors(ctx, req.(*types.ResourcesWithSecretsRequest)) 22808 } 22809 return interceptor(ctx, in, info, handler) 22810 } 22811 22812 func _AuthService_CreateOIDCConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22813 in := new(CreateOIDCConnectorRequest) 22814 if err := dec(in); err != nil { 22815 return nil, err 22816 } 22817 if interceptor == nil { 22818 return srv.(AuthServiceServer).CreateOIDCConnector(ctx, in) 22819 } 22820 info := &grpc.UnaryServerInfo{ 22821 Server: srv, 22822 FullMethod: "/proto.AuthService/CreateOIDCConnector", 22823 } 22824 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22825 return srv.(AuthServiceServer).CreateOIDCConnector(ctx, req.(*CreateOIDCConnectorRequest)) 22826 } 22827 return interceptor(ctx, in, info, handler) 22828 } 22829 22830 func _AuthService_UpdateOIDCConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22831 in := new(UpdateOIDCConnectorRequest) 22832 if err := dec(in); err != nil { 22833 return nil, err 22834 } 22835 if interceptor == nil { 22836 return srv.(AuthServiceServer).UpdateOIDCConnector(ctx, in) 22837 } 22838 info := &grpc.UnaryServerInfo{ 22839 Server: srv, 22840 FullMethod: "/proto.AuthService/UpdateOIDCConnector", 22841 } 22842 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22843 return srv.(AuthServiceServer).UpdateOIDCConnector(ctx, req.(*UpdateOIDCConnectorRequest)) 22844 } 22845 return interceptor(ctx, in, info, handler) 22846 } 22847 22848 func _AuthService_UpsertOIDCConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22849 in := new(types.OIDCConnectorV3) 22850 if err := dec(in); err != nil { 22851 return nil, err 22852 } 22853 if interceptor == nil { 22854 return srv.(AuthServiceServer).UpsertOIDCConnector(ctx, in) 22855 } 22856 info := &grpc.UnaryServerInfo{ 22857 Server: srv, 22858 FullMethod: "/proto.AuthService/UpsertOIDCConnector", 22859 } 22860 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22861 return srv.(AuthServiceServer).UpsertOIDCConnector(ctx, req.(*types.OIDCConnectorV3)) 22862 } 22863 return interceptor(ctx, in, info, handler) 22864 } 22865 22866 func _AuthService_UpsertOIDCConnectorV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22867 in := new(UpsertOIDCConnectorRequest) 22868 if err := dec(in); err != nil { 22869 return nil, err 22870 } 22871 if interceptor == nil { 22872 return srv.(AuthServiceServer).UpsertOIDCConnectorV2(ctx, in) 22873 } 22874 info := &grpc.UnaryServerInfo{ 22875 Server: srv, 22876 FullMethod: "/proto.AuthService/UpsertOIDCConnectorV2", 22877 } 22878 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22879 return srv.(AuthServiceServer).UpsertOIDCConnectorV2(ctx, req.(*UpsertOIDCConnectorRequest)) 22880 } 22881 return interceptor(ctx, in, info, handler) 22882 } 22883 22884 func _AuthService_DeleteOIDCConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22885 in := new(types.ResourceRequest) 22886 if err := dec(in); err != nil { 22887 return nil, err 22888 } 22889 if interceptor == nil { 22890 return srv.(AuthServiceServer).DeleteOIDCConnector(ctx, in) 22891 } 22892 info := &grpc.UnaryServerInfo{ 22893 Server: srv, 22894 FullMethod: "/proto.AuthService/DeleteOIDCConnector", 22895 } 22896 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22897 return srv.(AuthServiceServer).DeleteOIDCConnector(ctx, req.(*types.ResourceRequest)) 22898 } 22899 return interceptor(ctx, in, info, handler) 22900 } 22901 22902 func _AuthService_CreateOIDCAuthRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22903 in := new(types.OIDCAuthRequest) 22904 if err := dec(in); err != nil { 22905 return nil, err 22906 } 22907 if interceptor == nil { 22908 return srv.(AuthServiceServer).CreateOIDCAuthRequest(ctx, in) 22909 } 22910 info := &grpc.UnaryServerInfo{ 22911 Server: srv, 22912 FullMethod: "/proto.AuthService/CreateOIDCAuthRequest", 22913 } 22914 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22915 return srv.(AuthServiceServer).CreateOIDCAuthRequest(ctx, req.(*types.OIDCAuthRequest)) 22916 } 22917 return interceptor(ctx, in, info, handler) 22918 } 22919 22920 func _AuthService_GetOIDCAuthRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22921 in := new(GetOIDCAuthRequestRequest) 22922 if err := dec(in); err != nil { 22923 return nil, err 22924 } 22925 if interceptor == nil { 22926 return srv.(AuthServiceServer).GetOIDCAuthRequest(ctx, in) 22927 } 22928 info := &grpc.UnaryServerInfo{ 22929 Server: srv, 22930 FullMethod: "/proto.AuthService/GetOIDCAuthRequest", 22931 } 22932 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22933 return srv.(AuthServiceServer).GetOIDCAuthRequest(ctx, req.(*GetOIDCAuthRequestRequest)) 22934 } 22935 return interceptor(ctx, in, info, handler) 22936 } 22937 22938 func _AuthService_GetSAMLConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22939 in := new(types.ResourceWithSecretsRequest) 22940 if err := dec(in); err != nil { 22941 return nil, err 22942 } 22943 if interceptor == nil { 22944 return srv.(AuthServiceServer).GetSAMLConnector(ctx, in) 22945 } 22946 info := &grpc.UnaryServerInfo{ 22947 Server: srv, 22948 FullMethod: "/proto.AuthService/GetSAMLConnector", 22949 } 22950 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22951 return srv.(AuthServiceServer).GetSAMLConnector(ctx, req.(*types.ResourceWithSecretsRequest)) 22952 } 22953 return interceptor(ctx, in, info, handler) 22954 } 22955 22956 func _AuthService_GetSAMLConnectors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22957 in := new(types.ResourcesWithSecretsRequest) 22958 if err := dec(in); err != nil { 22959 return nil, err 22960 } 22961 if interceptor == nil { 22962 return srv.(AuthServiceServer).GetSAMLConnectors(ctx, in) 22963 } 22964 info := &grpc.UnaryServerInfo{ 22965 Server: srv, 22966 FullMethod: "/proto.AuthService/GetSAMLConnectors", 22967 } 22968 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22969 return srv.(AuthServiceServer).GetSAMLConnectors(ctx, req.(*types.ResourcesWithSecretsRequest)) 22970 } 22971 return interceptor(ctx, in, info, handler) 22972 } 22973 22974 func _AuthService_CreateSAMLConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22975 in := new(CreateSAMLConnectorRequest) 22976 if err := dec(in); err != nil { 22977 return nil, err 22978 } 22979 if interceptor == nil { 22980 return srv.(AuthServiceServer).CreateSAMLConnector(ctx, in) 22981 } 22982 info := &grpc.UnaryServerInfo{ 22983 Server: srv, 22984 FullMethod: "/proto.AuthService/CreateSAMLConnector", 22985 } 22986 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 22987 return srv.(AuthServiceServer).CreateSAMLConnector(ctx, req.(*CreateSAMLConnectorRequest)) 22988 } 22989 return interceptor(ctx, in, info, handler) 22990 } 22991 22992 func _AuthService_UpdateSAMLConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 22993 in := new(UpdateSAMLConnectorRequest) 22994 if err := dec(in); err != nil { 22995 return nil, err 22996 } 22997 if interceptor == nil { 22998 return srv.(AuthServiceServer).UpdateSAMLConnector(ctx, in) 22999 } 23000 info := &grpc.UnaryServerInfo{ 23001 Server: srv, 23002 FullMethod: "/proto.AuthService/UpdateSAMLConnector", 23003 } 23004 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23005 return srv.(AuthServiceServer).UpdateSAMLConnector(ctx, req.(*UpdateSAMLConnectorRequest)) 23006 } 23007 return interceptor(ctx, in, info, handler) 23008 } 23009 23010 func _AuthService_UpsertSAMLConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23011 in := new(types.SAMLConnectorV2) 23012 if err := dec(in); err != nil { 23013 return nil, err 23014 } 23015 if interceptor == nil { 23016 return srv.(AuthServiceServer).UpsertSAMLConnector(ctx, in) 23017 } 23018 info := &grpc.UnaryServerInfo{ 23019 Server: srv, 23020 FullMethod: "/proto.AuthService/UpsertSAMLConnector", 23021 } 23022 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23023 return srv.(AuthServiceServer).UpsertSAMLConnector(ctx, req.(*types.SAMLConnectorV2)) 23024 } 23025 return interceptor(ctx, in, info, handler) 23026 } 23027 23028 func _AuthService_UpsertSAMLConnectorV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23029 in := new(UpsertSAMLConnectorRequest) 23030 if err := dec(in); err != nil { 23031 return nil, err 23032 } 23033 if interceptor == nil { 23034 return srv.(AuthServiceServer).UpsertSAMLConnectorV2(ctx, in) 23035 } 23036 info := &grpc.UnaryServerInfo{ 23037 Server: srv, 23038 FullMethod: "/proto.AuthService/UpsertSAMLConnectorV2", 23039 } 23040 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23041 return srv.(AuthServiceServer).UpsertSAMLConnectorV2(ctx, req.(*UpsertSAMLConnectorRequest)) 23042 } 23043 return interceptor(ctx, in, info, handler) 23044 } 23045 23046 func _AuthService_DeleteSAMLConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23047 in := new(types.ResourceRequest) 23048 if err := dec(in); err != nil { 23049 return nil, err 23050 } 23051 if interceptor == nil { 23052 return srv.(AuthServiceServer).DeleteSAMLConnector(ctx, in) 23053 } 23054 info := &grpc.UnaryServerInfo{ 23055 Server: srv, 23056 FullMethod: "/proto.AuthService/DeleteSAMLConnector", 23057 } 23058 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23059 return srv.(AuthServiceServer).DeleteSAMLConnector(ctx, req.(*types.ResourceRequest)) 23060 } 23061 return interceptor(ctx, in, info, handler) 23062 } 23063 23064 func _AuthService_CreateSAMLAuthRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23065 in := new(types.SAMLAuthRequest) 23066 if err := dec(in); err != nil { 23067 return nil, err 23068 } 23069 if interceptor == nil { 23070 return srv.(AuthServiceServer).CreateSAMLAuthRequest(ctx, in) 23071 } 23072 info := &grpc.UnaryServerInfo{ 23073 Server: srv, 23074 FullMethod: "/proto.AuthService/CreateSAMLAuthRequest", 23075 } 23076 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23077 return srv.(AuthServiceServer).CreateSAMLAuthRequest(ctx, req.(*types.SAMLAuthRequest)) 23078 } 23079 return interceptor(ctx, in, info, handler) 23080 } 23081 23082 func _AuthService_GetSAMLAuthRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23083 in := new(GetSAMLAuthRequestRequest) 23084 if err := dec(in); err != nil { 23085 return nil, err 23086 } 23087 if interceptor == nil { 23088 return srv.(AuthServiceServer).GetSAMLAuthRequest(ctx, in) 23089 } 23090 info := &grpc.UnaryServerInfo{ 23091 Server: srv, 23092 FullMethod: "/proto.AuthService/GetSAMLAuthRequest", 23093 } 23094 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23095 return srv.(AuthServiceServer).GetSAMLAuthRequest(ctx, req.(*GetSAMLAuthRequestRequest)) 23096 } 23097 return interceptor(ctx, in, info, handler) 23098 } 23099 23100 func _AuthService_GetGithubConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23101 in := new(types.ResourceWithSecretsRequest) 23102 if err := dec(in); err != nil { 23103 return nil, err 23104 } 23105 if interceptor == nil { 23106 return srv.(AuthServiceServer).GetGithubConnector(ctx, in) 23107 } 23108 info := &grpc.UnaryServerInfo{ 23109 Server: srv, 23110 FullMethod: "/proto.AuthService/GetGithubConnector", 23111 } 23112 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23113 return srv.(AuthServiceServer).GetGithubConnector(ctx, req.(*types.ResourceWithSecretsRequest)) 23114 } 23115 return interceptor(ctx, in, info, handler) 23116 } 23117 23118 func _AuthService_GetGithubConnectors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23119 in := new(types.ResourcesWithSecretsRequest) 23120 if err := dec(in); err != nil { 23121 return nil, err 23122 } 23123 if interceptor == nil { 23124 return srv.(AuthServiceServer).GetGithubConnectors(ctx, in) 23125 } 23126 info := &grpc.UnaryServerInfo{ 23127 Server: srv, 23128 FullMethod: "/proto.AuthService/GetGithubConnectors", 23129 } 23130 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23131 return srv.(AuthServiceServer).GetGithubConnectors(ctx, req.(*types.ResourcesWithSecretsRequest)) 23132 } 23133 return interceptor(ctx, in, info, handler) 23134 } 23135 23136 func _AuthService_CreateGithubConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23137 in := new(CreateGithubConnectorRequest) 23138 if err := dec(in); err != nil { 23139 return nil, err 23140 } 23141 if interceptor == nil { 23142 return srv.(AuthServiceServer).CreateGithubConnector(ctx, in) 23143 } 23144 info := &grpc.UnaryServerInfo{ 23145 Server: srv, 23146 FullMethod: "/proto.AuthService/CreateGithubConnector", 23147 } 23148 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23149 return srv.(AuthServiceServer).CreateGithubConnector(ctx, req.(*CreateGithubConnectorRequest)) 23150 } 23151 return interceptor(ctx, in, info, handler) 23152 } 23153 23154 func _AuthService_UpdateGithubConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23155 in := new(UpdateGithubConnectorRequest) 23156 if err := dec(in); err != nil { 23157 return nil, err 23158 } 23159 if interceptor == nil { 23160 return srv.(AuthServiceServer).UpdateGithubConnector(ctx, in) 23161 } 23162 info := &grpc.UnaryServerInfo{ 23163 Server: srv, 23164 FullMethod: "/proto.AuthService/UpdateGithubConnector", 23165 } 23166 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23167 return srv.(AuthServiceServer).UpdateGithubConnector(ctx, req.(*UpdateGithubConnectorRequest)) 23168 } 23169 return interceptor(ctx, in, info, handler) 23170 } 23171 23172 func _AuthService_UpsertGithubConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23173 in := new(types.GithubConnectorV3) 23174 if err := dec(in); err != nil { 23175 return nil, err 23176 } 23177 if interceptor == nil { 23178 return srv.(AuthServiceServer).UpsertGithubConnector(ctx, in) 23179 } 23180 info := &grpc.UnaryServerInfo{ 23181 Server: srv, 23182 FullMethod: "/proto.AuthService/UpsertGithubConnector", 23183 } 23184 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23185 return srv.(AuthServiceServer).UpsertGithubConnector(ctx, req.(*types.GithubConnectorV3)) 23186 } 23187 return interceptor(ctx, in, info, handler) 23188 } 23189 23190 func _AuthService_UpsertGithubConnectorV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23191 in := new(UpsertGithubConnectorRequest) 23192 if err := dec(in); err != nil { 23193 return nil, err 23194 } 23195 if interceptor == nil { 23196 return srv.(AuthServiceServer).UpsertGithubConnectorV2(ctx, in) 23197 } 23198 info := &grpc.UnaryServerInfo{ 23199 Server: srv, 23200 FullMethod: "/proto.AuthService/UpsertGithubConnectorV2", 23201 } 23202 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23203 return srv.(AuthServiceServer).UpsertGithubConnectorV2(ctx, req.(*UpsertGithubConnectorRequest)) 23204 } 23205 return interceptor(ctx, in, info, handler) 23206 } 23207 23208 func _AuthService_DeleteGithubConnector_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23209 in := new(types.ResourceRequest) 23210 if err := dec(in); err != nil { 23211 return nil, err 23212 } 23213 if interceptor == nil { 23214 return srv.(AuthServiceServer).DeleteGithubConnector(ctx, in) 23215 } 23216 info := &grpc.UnaryServerInfo{ 23217 Server: srv, 23218 FullMethod: "/proto.AuthService/DeleteGithubConnector", 23219 } 23220 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23221 return srv.(AuthServiceServer).DeleteGithubConnector(ctx, req.(*types.ResourceRequest)) 23222 } 23223 return interceptor(ctx, in, info, handler) 23224 } 23225 23226 func _AuthService_CreateGithubAuthRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23227 in := new(types.GithubAuthRequest) 23228 if err := dec(in); err != nil { 23229 return nil, err 23230 } 23231 if interceptor == nil { 23232 return srv.(AuthServiceServer).CreateGithubAuthRequest(ctx, in) 23233 } 23234 info := &grpc.UnaryServerInfo{ 23235 Server: srv, 23236 FullMethod: "/proto.AuthService/CreateGithubAuthRequest", 23237 } 23238 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23239 return srv.(AuthServiceServer).CreateGithubAuthRequest(ctx, req.(*types.GithubAuthRequest)) 23240 } 23241 return interceptor(ctx, in, info, handler) 23242 } 23243 23244 func _AuthService_GetGithubAuthRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23245 in := new(GetGithubAuthRequestRequest) 23246 if err := dec(in); err != nil { 23247 return nil, err 23248 } 23249 if interceptor == nil { 23250 return srv.(AuthServiceServer).GetGithubAuthRequest(ctx, in) 23251 } 23252 info := &grpc.UnaryServerInfo{ 23253 Server: srv, 23254 FullMethod: "/proto.AuthService/GetGithubAuthRequest", 23255 } 23256 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23257 return srv.(AuthServiceServer).GetGithubAuthRequest(ctx, req.(*GetGithubAuthRequestRequest)) 23258 } 23259 return interceptor(ctx, in, info, handler) 23260 } 23261 23262 func _AuthService_GetSSODiagnosticInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23263 in := new(GetSSODiagnosticInfoRequest) 23264 if err := dec(in); err != nil { 23265 return nil, err 23266 } 23267 if interceptor == nil { 23268 return srv.(AuthServiceServer).GetSSODiagnosticInfo(ctx, in) 23269 } 23270 info := &grpc.UnaryServerInfo{ 23271 Server: srv, 23272 FullMethod: "/proto.AuthService/GetSSODiagnosticInfo", 23273 } 23274 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23275 return srv.(AuthServiceServer).GetSSODiagnosticInfo(ctx, req.(*GetSSODiagnosticInfoRequest)) 23276 } 23277 return interceptor(ctx, in, info, handler) 23278 } 23279 23280 func _AuthService_GetServerInfos_Handler(srv interface{}, stream grpc.ServerStream) error { 23281 m := new(emptypb.Empty) 23282 if err := stream.RecvMsg(m); err != nil { 23283 return err 23284 } 23285 return srv.(AuthServiceServer).GetServerInfos(m, &authServiceGetServerInfosServer{stream}) 23286 } 23287 23288 type AuthService_GetServerInfosServer interface { 23289 Send(*types.ServerInfoV1) error 23290 grpc.ServerStream 23291 } 23292 23293 type authServiceGetServerInfosServer struct { 23294 grpc.ServerStream 23295 } 23296 23297 func (x *authServiceGetServerInfosServer) Send(m *types.ServerInfoV1) error { 23298 return x.ServerStream.SendMsg(m) 23299 } 23300 23301 func _AuthService_GetServerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23302 in := new(types.ResourceRequest) 23303 if err := dec(in); err != nil { 23304 return nil, err 23305 } 23306 if interceptor == nil { 23307 return srv.(AuthServiceServer).GetServerInfo(ctx, in) 23308 } 23309 info := &grpc.UnaryServerInfo{ 23310 Server: srv, 23311 FullMethod: "/proto.AuthService/GetServerInfo", 23312 } 23313 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23314 return srv.(AuthServiceServer).GetServerInfo(ctx, req.(*types.ResourceRequest)) 23315 } 23316 return interceptor(ctx, in, info, handler) 23317 } 23318 23319 func _AuthService_UpsertServerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23320 in := new(types.ServerInfoV1) 23321 if err := dec(in); err != nil { 23322 return nil, err 23323 } 23324 if interceptor == nil { 23325 return srv.(AuthServiceServer).UpsertServerInfo(ctx, in) 23326 } 23327 info := &grpc.UnaryServerInfo{ 23328 Server: srv, 23329 FullMethod: "/proto.AuthService/UpsertServerInfo", 23330 } 23331 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23332 return srv.(AuthServiceServer).UpsertServerInfo(ctx, req.(*types.ServerInfoV1)) 23333 } 23334 return interceptor(ctx, in, info, handler) 23335 } 23336 23337 func _AuthService_DeleteServerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23338 in := new(types.ResourceRequest) 23339 if err := dec(in); err != nil { 23340 return nil, err 23341 } 23342 if interceptor == nil { 23343 return srv.(AuthServiceServer).DeleteServerInfo(ctx, in) 23344 } 23345 info := &grpc.UnaryServerInfo{ 23346 Server: srv, 23347 FullMethod: "/proto.AuthService/DeleteServerInfo", 23348 } 23349 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23350 return srv.(AuthServiceServer).DeleteServerInfo(ctx, req.(*types.ResourceRequest)) 23351 } 23352 return interceptor(ctx, in, info, handler) 23353 } 23354 23355 func _AuthService_DeleteAllServerInfos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23356 in := new(emptypb.Empty) 23357 if err := dec(in); err != nil { 23358 return nil, err 23359 } 23360 if interceptor == nil { 23361 return srv.(AuthServiceServer).DeleteAllServerInfos(ctx, in) 23362 } 23363 info := &grpc.UnaryServerInfo{ 23364 Server: srv, 23365 FullMethod: "/proto.AuthService/DeleteAllServerInfos", 23366 } 23367 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23368 return srv.(AuthServiceServer).DeleteAllServerInfos(ctx, req.(*emptypb.Empty)) 23369 } 23370 return interceptor(ctx, in, info, handler) 23371 } 23372 23373 func _AuthService_GetTrustedCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23374 in := new(types.ResourceRequest) 23375 if err := dec(in); err != nil { 23376 return nil, err 23377 } 23378 if interceptor == nil { 23379 return srv.(AuthServiceServer).GetTrustedCluster(ctx, in) 23380 } 23381 info := &grpc.UnaryServerInfo{ 23382 Server: srv, 23383 FullMethod: "/proto.AuthService/GetTrustedCluster", 23384 } 23385 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23386 return srv.(AuthServiceServer).GetTrustedCluster(ctx, req.(*types.ResourceRequest)) 23387 } 23388 return interceptor(ctx, in, info, handler) 23389 } 23390 23391 func _AuthService_GetTrustedClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23392 in := new(emptypb.Empty) 23393 if err := dec(in); err != nil { 23394 return nil, err 23395 } 23396 if interceptor == nil { 23397 return srv.(AuthServiceServer).GetTrustedClusters(ctx, in) 23398 } 23399 info := &grpc.UnaryServerInfo{ 23400 Server: srv, 23401 FullMethod: "/proto.AuthService/GetTrustedClusters", 23402 } 23403 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23404 return srv.(AuthServiceServer).GetTrustedClusters(ctx, req.(*emptypb.Empty)) 23405 } 23406 return interceptor(ctx, in, info, handler) 23407 } 23408 23409 func _AuthService_UpsertTrustedCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23410 in := new(types.TrustedClusterV2) 23411 if err := dec(in); err != nil { 23412 return nil, err 23413 } 23414 if interceptor == nil { 23415 return srv.(AuthServiceServer).UpsertTrustedCluster(ctx, in) 23416 } 23417 info := &grpc.UnaryServerInfo{ 23418 Server: srv, 23419 FullMethod: "/proto.AuthService/UpsertTrustedCluster", 23420 } 23421 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23422 return srv.(AuthServiceServer).UpsertTrustedCluster(ctx, req.(*types.TrustedClusterV2)) 23423 } 23424 return interceptor(ctx, in, info, handler) 23425 } 23426 23427 func _AuthService_DeleteTrustedCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23428 in := new(types.ResourceRequest) 23429 if err := dec(in); err != nil { 23430 return nil, err 23431 } 23432 if interceptor == nil { 23433 return srv.(AuthServiceServer).DeleteTrustedCluster(ctx, in) 23434 } 23435 info := &grpc.UnaryServerInfo{ 23436 Server: srv, 23437 FullMethod: "/proto.AuthService/DeleteTrustedCluster", 23438 } 23439 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23440 return srv.(AuthServiceServer).DeleteTrustedCluster(ctx, req.(*types.ResourceRequest)) 23441 } 23442 return interceptor(ctx, in, info, handler) 23443 } 23444 23445 func _AuthService_GetToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23446 in := new(types.ResourceRequest) 23447 if err := dec(in); err != nil { 23448 return nil, err 23449 } 23450 if interceptor == nil { 23451 return srv.(AuthServiceServer).GetToken(ctx, in) 23452 } 23453 info := &grpc.UnaryServerInfo{ 23454 Server: srv, 23455 FullMethod: "/proto.AuthService/GetToken", 23456 } 23457 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23458 return srv.(AuthServiceServer).GetToken(ctx, req.(*types.ResourceRequest)) 23459 } 23460 return interceptor(ctx, in, info, handler) 23461 } 23462 23463 func _AuthService_GetTokens_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23464 in := new(emptypb.Empty) 23465 if err := dec(in); err != nil { 23466 return nil, err 23467 } 23468 if interceptor == nil { 23469 return srv.(AuthServiceServer).GetTokens(ctx, in) 23470 } 23471 info := &grpc.UnaryServerInfo{ 23472 Server: srv, 23473 FullMethod: "/proto.AuthService/GetTokens", 23474 } 23475 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23476 return srv.(AuthServiceServer).GetTokens(ctx, req.(*emptypb.Empty)) 23477 } 23478 return interceptor(ctx, in, info, handler) 23479 } 23480 23481 func _AuthService_CreateTokenV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23482 in := new(CreateTokenV2Request) 23483 if err := dec(in); err != nil { 23484 return nil, err 23485 } 23486 if interceptor == nil { 23487 return srv.(AuthServiceServer).CreateTokenV2(ctx, in) 23488 } 23489 info := &grpc.UnaryServerInfo{ 23490 Server: srv, 23491 FullMethod: "/proto.AuthService/CreateTokenV2", 23492 } 23493 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23494 return srv.(AuthServiceServer).CreateTokenV2(ctx, req.(*CreateTokenV2Request)) 23495 } 23496 return interceptor(ctx, in, info, handler) 23497 } 23498 23499 func _AuthService_UpsertTokenV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23500 in := new(UpsertTokenV2Request) 23501 if err := dec(in); err != nil { 23502 return nil, err 23503 } 23504 if interceptor == nil { 23505 return srv.(AuthServiceServer).UpsertTokenV2(ctx, in) 23506 } 23507 info := &grpc.UnaryServerInfo{ 23508 Server: srv, 23509 FullMethod: "/proto.AuthService/UpsertTokenV2", 23510 } 23511 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23512 return srv.(AuthServiceServer).UpsertTokenV2(ctx, req.(*UpsertTokenV2Request)) 23513 } 23514 return interceptor(ctx, in, info, handler) 23515 } 23516 23517 func _AuthService_DeleteToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23518 in := new(types.ResourceRequest) 23519 if err := dec(in); err != nil { 23520 return nil, err 23521 } 23522 if interceptor == nil { 23523 return srv.(AuthServiceServer).DeleteToken(ctx, in) 23524 } 23525 info := &grpc.UnaryServerInfo{ 23526 Server: srv, 23527 FullMethod: "/proto.AuthService/DeleteToken", 23528 } 23529 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23530 return srv.(AuthServiceServer).DeleteToken(ctx, req.(*types.ResourceRequest)) 23531 } 23532 return interceptor(ctx, in, info, handler) 23533 } 23534 23535 func _AuthService_GetClusterAuditConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23536 in := new(emptypb.Empty) 23537 if err := dec(in); err != nil { 23538 return nil, err 23539 } 23540 if interceptor == nil { 23541 return srv.(AuthServiceServer).GetClusterAuditConfig(ctx, in) 23542 } 23543 info := &grpc.UnaryServerInfo{ 23544 Server: srv, 23545 FullMethod: "/proto.AuthService/GetClusterAuditConfig", 23546 } 23547 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23548 return srv.(AuthServiceServer).GetClusterAuditConfig(ctx, req.(*emptypb.Empty)) 23549 } 23550 return interceptor(ctx, in, info, handler) 23551 } 23552 23553 func _AuthService_GetClusterNetworkingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23554 in := new(emptypb.Empty) 23555 if err := dec(in); err != nil { 23556 return nil, err 23557 } 23558 if interceptor == nil { 23559 return srv.(AuthServiceServer).GetClusterNetworkingConfig(ctx, in) 23560 } 23561 info := &grpc.UnaryServerInfo{ 23562 Server: srv, 23563 FullMethod: "/proto.AuthService/GetClusterNetworkingConfig", 23564 } 23565 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23566 return srv.(AuthServiceServer).GetClusterNetworkingConfig(ctx, req.(*emptypb.Empty)) 23567 } 23568 return interceptor(ctx, in, info, handler) 23569 } 23570 23571 func _AuthService_SetClusterNetworkingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23572 in := new(types.ClusterNetworkingConfigV2) 23573 if err := dec(in); err != nil { 23574 return nil, err 23575 } 23576 if interceptor == nil { 23577 return srv.(AuthServiceServer).SetClusterNetworkingConfig(ctx, in) 23578 } 23579 info := &grpc.UnaryServerInfo{ 23580 Server: srv, 23581 FullMethod: "/proto.AuthService/SetClusterNetworkingConfig", 23582 } 23583 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23584 return srv.(AuthServiceServer).SetClusterNetworkingConfig(ctx, req.(*types.ClusterNetworkingConfigV2)) 23585 } 23586 return interceptor(ctx, in, info, handler) 23587 } 23588 23589 func _AuthService_ResetClusterNetworkingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23590 in := new(emptypb.Empty) 23591 if err := dec(in); err != nil { 23592 return nil, err 23593 } 23594 if interceptor == nil { 23595 return srv.(AuthServiceServer).ResetClusterNetworkingConfig(ctx, in) 23596 } 23597 info := &grpc.UnaryServerInfo{ 23598 Server: srv, 23599 FullMethod: "/proto.AuthService/ResetClusterNetworkingConfig", 23600 } 23601 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23602 return srv.(AuthServiceServer).ResetClusterNetworkingConfig(ctx, req.(*emptypb.Empty)) 23603 } 23604 return interceptor(ctx, in, info, handler) 23605 } 23606 23607 func _AuthService_GetSessionRecordingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23608 in := new(emptypb.Empty) 23609 if err := dec(in); err != nil { 23610 return nil, err 23611 } 23612 if interceptor == nil { 23613 return srv.(AuthServiceServer).GetSessionRecordingConfig(ctx, in) 23614 } 23615 info := &grpc.UnaryServerInfo{ 23616 Server: srv, 23617 FullMethod: "/proto.AuthService/GetSessionRecordingConfig", 23618 } 23619 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23620 return srv.(AuthServiceServer).GetSessionRecordingConfig(ctx, req.(*emptypb.Empty)) 23621 } 23622 return interceptor(ctx, in, info, handler) 23623 } 23624 23625 func _AuthService_SetSessionRecordingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23626 in := new(types.SessionRecordingConfigV2) 23627 if err := dec(in); err != nil { 23628 return nil, err 23629 } 23630 if interceptor == nil { 23631 return srv.(AuthServiceServer).SetSessionRecordingConfig(ctx, in) 23632 } 23633 info := &grpc.UnaryServerInfo{ 23634 Server: srv, 23635 FullMethod: "/proto.AuthService/SetSessionRecordingConfig", 23636 } 23637 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23638 return srv.(AuthServiceServer).SetSessionRecordingConfig(ctx, req.(*types.SessionRecordingConfigV2)) 23639 } 23640 return interceptor(ctx, in, info, handler) 23641 } 23642 23643 func _AuthService_ResetSessionRecordingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23644 in := new(emptypb.Empty) 23645 if err := dec(in); err != nil { 23646 return nil, err 23647 } 23648 if interceptor == nil { 23649 return srv.(AuthServiceServer).ResetSessionRecordingConfig(ctx, in) 23650 } 23651 info := &grpc.UnaryServerInfo{ 23652 Server: srv, 23653 FullMethod: "/proto.AuthService/ResetSessionRecordingConfig", 23654 } 23655 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23656 return srv.(AuthServiceServer).ResetSessionRecordingConfig(ctx, req.(*emptypb.Empty)) 23657 } 23658 return interceptor(ctx, in, info, handler) 23659 } 23660 23661 func _AuthService_GetAuthPreference_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23662 in := new(emptypb.Empty) 23663 if err := dec(in); err != nil { 23664 return nil, err 23665 } 23666 if interceptor == nil { 23667 return srv.(AuthServiceServer).GetAuthPreference(ctx, in) 23668 } 23669 info := &grpc.UnaryServerInfo{ 23670 Server: srv, 23671 FullMethod: "/proto.AuthService/GetAuthPreference", 23672 } 23673 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23674 return srv.(AuthServiceServer).GetAuthPreference(ctx, req.(*emptypb.Empty)) 23675 } 23676 return interceptor(ctx, in, info, handler) 23677 } 23678 23679 func _AuthService_SetAuthPreference_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23680 in := new(types.AuthPreferenceV2) 23681 if err := dec(in); err != nil { 23682 return nil, err 23683 } 23684 if interceptor == nil { 23685 return srv.(AuthServiceServer).SetAuthPreference(ctx, in) 23686 } 23687 info := &grpc.UnaryServerInfo{ 23688 Server: srv, 23689 FullMethod: "/proto.AuthService/SetAuthPreference", 23690 } 23691 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23692 return srv.(AuthServiceServer).SetAuthPreference(ctx, req.(*types.AuthPreferenceV2)) 23693 } 23694 return interceptor(ctx, in, info, handler) 23695 } 23696 23697 func _AuthService_ResetAuthPreference_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23698 in := new(emptypb.Empty) 23699 if err := dec(in); err != nil { 23700 return nil, err 23701 } 23702 if interceptor == nil { 23703 return srv.(AuthServiceServer).ResetAuthPreference(ctx, in) 23704 } 23705 info := &grpc.UnaryServerInfo{ 23706 Server: srv, 23707 FullMethod: "/proto.AuthService/ResetAuthPreference", 23708 } 23709 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23710 return srv.(AuthServiceServer).ResetAuthPreference(ctx, req.(*emptypb.Empty)) 23711 } 23712 return interceptor(ctx, in, info, handler) 23713 } 23714 23715 func _AuthService_GetUIConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23716 in := new(emptypb.Empty) 23717 if err := dec(in); err != nil { 23718 return nil, err 23719 } 23720 if interceptor == nil { 23721 return srv.(AuthServiceServer).GetUIConfig(ctx, in) 23722 } 23723 info := &grpc.UnaryServerInfo{ 23724 Server: srv, 23725 FullMethod: "/proto.AuthService/GetUIConfig", 23726 } 23727 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23728 return srv.(AuthServiceServer).GetUIConfig(ctx, req.(*emptypb.Empty)) 23729 } 23730 return interceptor(ctx, in, info, handler) 23731 } 23732 23733 func _AuthService_SetUIConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23734 in := new(types.UIConfigV1) 23735 if err := dec(in); err != nil { 23736 return nil, err 23737 } 23738 if interceptor == nil { 23739 return srv.(AuthServiceServer).SetUIConfig(ctx, in) 23740 } 23741 info := &grpc.UnaryServerInfo{ 23742 Server: srv, 23743 FullMethod: "/proto.AuthService/SetUIConfig", 23744 } 23745 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23746 return srv.(AuthServiceServer).SetUIConfig(ctx, req.(*types.UIConfigV1)) 23747 } 23748 return interceptor(ctx, in, info, handler) 23749 } 23750 23751 func _AuthService_DeleteUIConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23752 in := new(emptypb.Empty) 23753 if err := dec(in); err != nil { 23754 return nil, err 23755 } 23756 if interceptor == nil { 23757 return srv.(AuthServiceServer).DeleteUIConfig(ctx, in) 23758 } 23759 info := &grpc.UnaryServerInfo{ 23760 Server: srv, 23761 FullMethod: "/proto.AuthService/DeleteUIConfig", 23762 } 23763 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23764 return srv.(AuthServiceServer).DeleteUIConfig(ctx, req.(*emptypb.Empty)) 23765 } 23766 return interceptor(ctx, in, info, handler) 23767 } 23768 23769 func _AuthService_GetEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23770 in := new(GetEventsRequest) 23771 if err := dec(in); err != nil { 23772 return nil, err 23773 } 23774 if interceptor == nil { 23775 return srv.(AuthServiceServer).GetEvents(ctx, in) 23776 } 23777 info := &grpc.UnaryServerInfo{ 23778 Server: srv, 23779 FullMethod: "/proto.AuthService/GetEvents", 23780 } 23781 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23782 return srv.(AuthServiceServer).GetEvents(ctx, req.(*GetEventsRequest)) 23783 } 23784 return interceptor(ctx, in, info, handler) 23785 } 23786 23787 func _AuthService_GetSessionEvents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23788 in := new(GetSessionEventsRequest) 23789 if err := dec(in); err != nil { 23790 return nil, err 23791 } 23792 if interceptor == nil { 23793 return srv.(AuthServiceServer).GetSessionEvents(ctx, in) 23794 } 23795 info := &grpc.UnaryServerInfo{ 23796 Server: srv, 23797 FullMethod: "/proto.AuthService/GetSessionEvents", 23798 } 23799 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23800 return srv.(AuthServiceServer).GetSessionEvents(ctx, req.(*GetSessionEventsRequest)) 23801 } 23802 return interceptor(ctx, in, info, handler) 23803 } 23804 23805 func _AuthService_GetLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23806 in := new(GetLockRequest) 23807 if err := dec(in); err != nil { 23808 return nil, err 23809 } 23810 if interceptor == nil { 23811 return srv.(AuthServiceServer).GetLock(ctx, in) 23812 } 23813 info := &grpc.UnaryServerInfo{ 23814 Server: srv, 23815 FullMethod: "/proto.AuthService/GetLock", 23816 } 23817 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23818 return srv.(AuthServiceServer).GetLock(ctx, req.(*GetLockRequest)) 23819 } 23820 return interceptor(ctx, in, info, handler) 23821 } 23822 23823 func _AuthService_GetLocks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23824 in := new(GetLocksRequest) 23825 if err := dec(in); err != nil { 23826 return nil, err 23827 } 23828 if interceptor == nil { 23829 return srv.(AuthServiceServer).GetLocks(ctx, in) 23830 } 23831 info := &grpc.UnaryServerInfo{ 23832 Server: srv, 23833 FullMethod: "/proto.AuthService/GetLocks", 23834 } 23835 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23836 return srv.(AuthServiceServer).GetLocks(ctx, req.(*GetLocksRequest)) 23837 } 23838 return interceptor(ctx, in, info, handler) 23839 } 23840 23841 func _AuthService_UpsertLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23842 in := new(types.LockV2) 23843 if err := dec(in); err != nil { 23844 return nil, err 23845 } 23846 if interceptor == nil { 23847 return srv.(AuthServiceServer).UpsertLock(ctx, in) 23848 } 23849 info := &grpc.UnaryServerInfo{ 23850 Server: srv, 23851 FullMethod: "/proto.AuthService/UpsertLock", 23852 } 23853 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23854 return srv.(AuthServiceServer).UpsertLock(ctx, req.(*types.LockV2)) 23855 } 23856 return interceptor(ctx, in, info, handler) 23857 } 23858 23859 func _AuthService_DeleteLock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23860 in := new(DeleteLockRequest) 23861 if err := dec(in); err != nil { 23862 return nil, err 23863 } 23864 if interceptor == nil { 23865 return srv.(AuthServiceServer).DeleteLock(ctx, in) 23866 } 23867 info := &grpc.UnaryServerInfo{ 23868 Server: srv, 23869 FullMethod: "/proto.AuthService/DeleteLock", 23870 } 23871 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23872 return srv.(AuthServiceServer).DeleteLock(ctx, req.(*DeleteLockRequest)) 23873 } 23874 return interceptor(ctx, in, info, handler) 23875 } 23876 23877 func _AuthService_ReplaceRemoteLocks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23878 in := new(ReplaceRemoteLocksRequest) 23879 if err := dec(in); err != nil { 23880 return nil, err 23881 } 23882 if interceptor == nil { 23883 return srv.(AuthServiceServer).ReplaceRemoteLocks(ctx, in) 23884 } 23885 info := &grpc.UnaryServerInfo{ 23886 Server: srv, 23887 FullMethod: "/proto.AuthService/ReplaceRemoteLocks", 23888 } 23889 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23890 return srv.(AuthServiceServer).ReplaceRemoteLocks(ctx, req.(*ReplaceRemoteLocksRequest)) 23891 } 23892 return interceptor(ctx, in, info, handler) 23893 } 23894 23895 func _AuthService_StreamSessionEvents_Handler(srv interface{}, stream grpc.ServerStream) error { 23896 m := new(StreamSessionEventsRequest) 23897 if err := stream.RecvMsg(m); err != nil { 23898 return err 23899 } 23900 return srv.(AuthServiceServer).StreamSessionEvents(m, &authServiceStreamSessionEventsServer{stream}) 23901 } 23902 23903 type AuthService_StreamSessionEventsServer interface { 23904 Send(*events.OneOf) error 23905 grpc.ServerStream 23906 } 23907 23908 type authServiceStreamSessionEventsServer struct { 23909 grpc.ServerStream 23910 } 23911 23912 func (x *authServiceStreamSessionEventsServer) Send(m *events.OneOf) error { 23913 return x.ServerStream.SendMsg(m) 23914 } 23915 23916 func _AuthService_GetNetworkRestrictions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23917 in := new(emptypb.Empty) 23918 if err := dec(in); err != nil { 23919 return nil, err 23920 } 23921 if interceptor == nil { 23922 return srv.(AuthServiceServer).GetNetworkRestrictions(ctx, in) 23923 } 23924 info := &grpc.UnaryServerInfo{ 23925 Server: srv, 23926 FullMethod: "/proto.AuthService/GetNetworkRestrictions", 23927 } 23928 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23929 return srv.(AuthServiceServer).GetNetworkRestrictions(ctx, req.(*emptypb.Empty)) 23930 } 23931 return interceptor(ctx, in, info, handler) 23932 } 23933 23934 func _AuthService_SetNetworkRestrictions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23935 in := new(types.NetworkRestrictionsV4) 23936 if err := dec(in); err != nil { 23937 return nil, err 23938 } 23939 if interceptor == nil { 23940 return srv.(AuthServiceServer).SetNetworkRestrictions(ctx, in) 23941 } 23942 info := &grpc.UnaryServerInfo{ 23943 Server: srv, 23944 FullMethod: "/proto.AuthService/SetNetworkRestrictions", 23945 } 23946 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23947 return srv.(AuthServiceServer).SetNetworkRestrictions(ctx, req.(*types.NetworkRestrictionsV4)) 23948 } 23949 return interceptor(ctx, in, info, handler) 23950 } 23951 23952 func _AuthService_DeleteNetworkRestrictions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23953 in := new(emptypb.Empty) 23954 if err := dec(in); err != nil { 23955 return nil, err 23956 } 23957 if interceptor == nil { 23958 return srv.(AuthServiceServer).DeleteNetworkRestrictions(ctx, in) 23959 } 23960 info := &grpc.UnaryServerInfo{ 23961 Server: srv, 23962 FullMethod: "/proto.AuthService/DeleteNetworkRestrictions", 23963 } 23964 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23965 return srv.(AuthServiceServer).DeleteNetworkRestrictions(ctx, req.(*emptypb.Empty)) 23966 } 23967 return interceptor(ctx, in, info, handler) 23968 } 23969 23970 func _AuthService_GetApps_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23971 in := new(emptypb.Empty) 23972 if err := dec(in); err != nil { 23973 return nil, err 23974 } 23975 if interceptor == nil { 23976 return srv.(AuthServiceServer).GetApps(ctx, in) 23977 } 23978 info := &grpc.UnaryServerInfo{ 23979 Server: srv, 23980 FullMethod: "/proto.AuthService/GetApps", 23981 } 23982 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 23983 return srv.(AuthServiceServer).GetApps(ctx, req.(*emptypb.Empty)) 23984 } 23985 return interceptor(ctx, in, info, handler) 23986 } 23987 23988 func _AuthService_GetApp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 23989 in := new(types.ResourceRequest) 23990 if err := dec(in); err != nil { 23991 return nil, err 23992 } 23993 if interceptor == nil { 23994 return srv.(AuthServiceServer).GetApp(ctx, in) 23995 } 23996 info := &grpc.UnaryServerInfo{ 23997 Server: srv, 23998 FullMethod: "/proto.AuthService/GetApp", 23999 } 24000 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24001 return srv.(AuthServiceServer).GetApp(ctx, req.(*types.ResourceRequest)) 24002 } 24003 return interceptor(ctx, in, info, handler) 24004 } 24005 24006 func _AuthService_CreateApp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24007 in := new(types.AppV3) 24008 if err := dec(in); err != nil { 24009 return nil, err 24010 } 24011 if interceptor == nil { 24012 return srv.(AuthServiceServer).CreateApp(ctx, in) 24013 } 24014 info := &grpc.UnaryServerInfo{ 24015 Server: srv, 24016 FullMethod: "/proto.AuthService/CreateApp", 24017 } 24018 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24019 return srv.(AuthServiceServer).CreateApp(ctx, req.(*types.AppV3)) 24020 } 24021 return interceptor(ctx, in, info, handler) 24022 } 24023 24024 func _AuthService_UpdateApp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24025 in := new(types.AppV3) 24026 if err := dec(in); err != nil { 24027 return nil, err 24028 } 24029 if interceptor == nil { 24030 return srv.(AuthServiceServer).UpdateApp(ctx, in) 24031 } 24032 info := &grpc.UnaryServerInfo{ 24033 Server: srv, 24034 FullMethod: "/proto.AuthService/UpdateApp", 24035 } 24036 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24037 return srv.(AuthServiceServer).UpdateApp(ctx, req.(*types.AppV3)) 24038 } 24039 return interceptor(ctx, in, info, handler) 24040 } 24041 24042 func _AuthService_DeleteApp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24043 in := new(types.ResourceRequest) 24044 if err := dec(in); err != nil { 24045 return nil, err 24046 } 24047 if interceptor == nil { 24048 return srv.(AuthServiceServer).DeleteApp(ctx, in) 24049 } 24050 info := &grpc.UnaryServerInfo{ 24051 Server: srv, 24052 FullMethod: "/proto.AuthService/DeleteApp", 24053 } 24054 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24055 return srv.(AuthServiceServer).DeleteApp(ctx, req.(*types.ResourceRequest)) 24056 } 24057 return interceptor(ctx, in, info, handler) 24058 } 24059 24060 func _AuthService_DeleteAllApps_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24061 in := new(emptypb.Empty) 24062 if err := dec(in); err != nil { 24063 return nil, err 24064 } 24065 if interceptor == nil { 24066 return srv.(AuthServiceServer).DeleteAllApps(ctx, in) 24067 } 24068 info := &grpc.UnaryServerInfo{ 24069 Server: srv, 24070 FullMethod: "/proto.AuthService/DeleteAllApps", 24071 } 24072 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24073 return srv.(AuthServiceServer).DeleteAllApps(ctx, req.(*emptypb.Empty)) 24074 } 24075 return interceptor(ctx, in, info, handler) 24076 } 24077 24078 func _AuthService_GetDatabases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24079 in := new(emptypb.Empty) 24080 if err := dec(in); err != nil { 24081 return nil, err 24082 } 24083 if interceptor == nil { 24084 return srv.(AuthServiceServer).GetDatabases(ctx, in) 24085 } 24086 info := &grpc.UnaryServerInfo{ 24087 Server: srv, 24088 FullMethod: "/proto.AuthService/GetDatabases", 24089 } 24090 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24091 return srv.(AuthServiceServer).GetDatabases(ctx, req.(*emptypb.Empty)) 24092 } 24093 return interceptor(ctx, in, info, handler) 24094 } 24095 24096 func _AuthService_GetDatabase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24097 in := new(types.ResourceRequest) 24098 if err := dec(in); err != nil { 24099 return nil, err 24100 } 24101 if interceptor == nil { 24102 return srv.(AuthServiceServer).GetDatabase(ctx, in) 24103 } 24104 info := &grpc.UnaryServerInfo{ 24105 Server: srv, 24106 FullMethod: "/proto.AuthService/GetDatabase", 24107 } 24108 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24109 return srv.(AuthServiceServer).GetDatabase(ctx, req.(*types.ResourceRequest)) 24110 } 24111 return interceptor(ctx, in, info, handler) 24112 } 24113 24114 func _AuthService_CreateDatabase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24115 in := new(types.DatabaseV3) 24116 if err := dec(in); err != nil { 24117 return nil, err 24118 } 24119 if interceptor == nil { 24120 return srv.(AuthServiceServer).CreateDatabase(ctx, in) 24121 } 24122 info := &grpc.UnaryServerInfo{ 24123 Server: srv, 24124 FullMethod: "/proto.AuthService/CreateDatabase", 24125 } 24126 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24127 return srv.(AuthServiceServer).CreateDatabase(ctx, req.(*types.DatabaseV3)) 24128 } 24129 return interceptor(ctx, in, info, handler) 24130 } 24131 24132 func _AuthService_UpdateDatabase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24133 in := new(types.DatabaseV3) 24134 if err := dec(in); err != nil { 24135 return nil, err 24136 } 24137 if interceptor == nil { 24138 return srv.(AuthServiceServer).UpdateDatabase(ctx, in) 24139 } 24140 info := &grpc.UnaryServerInfo{ 24141 Server: srv, 24142 FullMethod: "/proto.AuthService/UpdateDatabase", 24143 } 24144 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24145 return srv.(AuthServiceServer).UpdateDatabase(ctx, req.(*types.DatabaseV3)) 24146 } 24147 return interceptor(ctx, in, info, handler) 24148 } 24149 24150 func _AuthService_DeleteDatabase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24151 in := new(types.ResourceRequest) 24152 if err := dec(in); err != nil { 24153 return nil, err 24154 } 24155 if interceptor == nil { 24156 return srv.(AuthServiceServer).DeleteDatabase(ctx, in) 24157 } 24158 info := &grpc.UnaryServerInfo{ 24159 Server: srv, 24160 FullMethod: "/proto.AuthService/DeleteDatabase", 24161 } 24162 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24163 return srv.(AuthServiceServer).DeleteDatabase(ctx, req.(*types.ResourceRequest)) 24164 } 24165 return interceptor(ctx, in, info, handler) 24166 } 24167 24168 func _AuthService_DeleteAllDatabases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24169 in := new(emptypb.Empty) 24170 if err := dec(in); err != nil { 24171 return nil, err 24172 } 24173 if interceptor == nil { 24174 return srv.(AuthServiceServer).DeleteAllDatabases(ctx, in) 24175 } 24176 info := &grpc.UnaryServerInfo{ 24177 Server: srv, 24178 FullMethod: "/proto.AuthService/DeleteAllDatabases", 24179 } 24180 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24181 return srv.(AuthServiceServer).DeleteAllDatabases(ctx, req.(*emptypb.Empty)) 24182 } 24183 return interceptor(ctx, in, info, handler) 24184 } 24185 24186 func _AuthService_GetKubernetesClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24187 in := new(emptypb.Empty) 24188 if err := dec(in); err != nil { 24189 return nil, err 24190 } 24191 if interceptor == nil { 24192 return srv.(AuthServiceServer).GetKubernetesClusters(ctx, in) 24193 } 24194 info := &grpc.UnaryServerInfo{ 24195 Server: srv, 24196 FullMethod: "/proto.AuthService/GetKubernetesClusters", 24197 } 24198 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24199 return srv.(AuthServiceServer).GetKubernetesClusters(ctx, req.(*emptypb.Empty)) 24200 } 24201 return interceptor(ctx, in, info, handler) 24202 } 24203 24204 func _AuthService_GetKubernetesCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24205 in := new(types.ResourceRequest) 24206 if err := dec(in); err != nil { 24207 return nil, err 24208 } 24209 if interceptor == nil { 24210 return srv.(AuthServiceServer).GetKubernetesCluster(ctx, in) 24211 } 24212 info := &grpc.UnaryServerInfo{ 24213 Server: srv, 24214 FullMethod: "/proto.AuthService/GetKubernetesCluster", 24215 } 24216 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24217 return srv.(AuthServiceServer).GetKubernetesCluster(ctx, req.(*types.ResourceRequest)) 24218 } 24219 return interceptor(ctx, in, info, handler) 24220 } 24221 24222 func _AuthService_CreateKubernetesCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24223 in := new(types.KubernetesClusterV3) 24224 if err := dec(in); err != nil { 24225 return nil, err 24226 } 24227 if interceptor == nil { 24228 return srv.(AuthServiceServer).CreateKubernetesCluster(ctx, in) 24229 } 24230 info := &grpc.UnaryServerInfo{ 24231 Server: srv, 24232 FullMethod: "/proto.AuthService/CreateKubernetesCluster", 24233 } 24234 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24235 return srv.(AuthServiceServer).CreateKubernetesCluster(ctx, req.(*types.KubernetesClusterV3)) 24236 } 24237 return interceptor(ctx, in, info, handler) 24238 } 24239 24240 func _AuthService_UpdateKubernetesCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24241 in := new(types.KubernetesClusterV3) 24242 if err := dec(in); err != nil { 24243 return nil, err 24244 } 24245 if interceptor == nil { 24246 return srv.(AuthServiceServer).UpdateKubernetesCluster(ctx, in) 24247 } 24248 info := &grpc.UnaryServerInfo{ 24249 Server: srv, 24250 FullMethod: "/proto.AuthService/UpdateKubernetesCluster", 24251 } 24252 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24253 return srv.(AuthServiceServer).UpdateKubernetesCluster(ctx, req.(*types.KubernetesClusterV3)) 24254 } 24255 return interceptor(ctx, in, info, handler) 24256 } 24257 24258 func _AuthService_DeleteKubernetesCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24259 in := new(types.ResourceRequest) 24260 if err := dec(in); err != nil { 24261 return nil, err 24262 } 24263 if interceptor == nil { 24264 return srv.(AuthServiceServer).DeleteKubernetesCluster(ctx, in) 24265 } 24266 info := &grpc.UnaryServerInfo{ 24267 Server: srv, 24268 FullMethod: "/proto.AuthService/DeleteKubernetesCluster", 24269 } 24270 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24271 return srv.(AuthServiceServer).DeleteKubernetesCluster(ctx, req.(*types.ResourceRequest)) 24272 } 24273 return interceptor(ctx, in, info, handler) 24274 } 24275 24276 func _AuthService_DeleteAllKubernetesClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24277 in := new(emptypb.Empty) 24278 if err := dec(in); err != nil { 24279 return nil, err 24280 } 24281 if interceptor == nil { 24282 return srv.(AuthServiceServer).DeleteAllKubernetesClusters(ctx, in) 24283 } 24284 info := &grpc.UnaryServerInfo{ 24285 Server: srv, 24286 FullMethod: "/proto.AuthService/DeleteAllKubernetesClusters", 24287 } 24288 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24289 return srv.(AuthServiceServer).DeleteAllKubernetesClusters(ctx, req.(*emptypb.Empty)) 24290 } 24291 return interceptor(ctx, in, info, handler) 24292 } 24293 24294 func _AuthService_GetWindowsDesktopServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24295 in := new(emptypb.Empty) 24296 if err := dec(in); err != nil { 24297 return nil, err 24298 } 24299 if interceptor == nil { 24300 return srv.(AuthServiceServer).GetWindowsDesktopServices(ctx, in) 24301 } 24302 info := &grpc.UnaryServerInfo{ 24303 Server: srv, 24304 FullMethod: "/proto.AuthService/GetWindowsDesktopServices", 24305 } 24306 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24307 return srv.(AuthServiceServer).GetWindowsDesktopServices(ctx, req.(*emptypb.Empty)) 24308 } 24309 return interceptor(ctx, in, info, handler) 24310 } 24311 24312 func _AuthService_GetWindowsDesktopService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24313 in := new(GetWindowsDesktopServiceRequest) 24314 if err := dec(in); err != nil { 24315 return nil, err 24316 } 24317 if interceptor == nil { 24318 return srv.(AuthServiceServer).GetWindowsDesktopService(ctx, in) 24319 } 24320 info := &grpc.UnaryServerInfo{ 24321 Server: srv, 24322 FullMethod: "/proto.AuthService/GetWindowsDesktopService", 24323 } 24324 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24325 return srv.(AuthServiceServer).GetWindowsDesktopService(ctx, req.(*GetWindowsDesktopServiceRequest)) 24326 } 24327 return interceptor(ctx, in, info, handler) 24328 } 24329 24330 func _AuthService_UpsertWindowsDesktopService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24331 in := new(types.WindowsDesktopServiceV3) 24332 if err := dec(in); err != nil { 24333 return nil, err 24334 } 24335 if interceptor == nil { 24336 return srv.(AuthServiceServer).UpsertWindowsDesktopService(ctx, in) 24337 } 24338 info := &grpc.UnaryServerInfo{ 24339 Server: srv, 24340 FullMethod: "/proto.AuthService/UpsertWindowsDesktopService", 24341 } 24342 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24343 return srv.(AuthServiceServer).UpsertWindowsDesktopService(ctx, req.(*types.WindowsDesktopServiceV3)) 24344 } 24345 return interceptor(ctx, in, info, handler) 24346 } 24347 24348 func _AuthService_DeleteWindowsDesktopService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24349 in := new(DeleteWindowsDesktopServiceRequest) 24350 if err := dec(in); err != nil { 24351 return nil, err 24352 } 24353 if interceptor == nil { 24354 return srv.(AuthServiceServer).DeleteWindowsDesktopService(ctx, in) 24355 } 24356 info := &grpc.UnaryServerInfo{ 24357 Server: srv, 24358 FullMethod: "/proto.AuthService/DeleteWindowsDesktopService", 24359 } 24360 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24361 return srv.(AuthServiceServer).DeleteWindowsDesktopService(ctx, req.(*DeleteWindowsDesktopServiceRequest)) 24362 } 24363 return interceptor(ctx, in, info, handler) 24364 } 24365 24366 func _AuthService_DeleteAllWindowsDesktopServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24367 in := new(emptypb.Empty) 24368 if err := dec(in); err != nil { 24369 return nil, err 24370 } 24371 if interceptor == nil { 24372 return srv.(AuthServiceServer).DeleteAllWindowsDesktopServices(ctx, in) 24373 } 24374 info := &grpc.UnaryServerInfo{ 24375 Server: srv, 24376 FullMethod: "/proto.AuthService/DeleteAllWindowsDesktopServices", 24377 } 24378 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24379 return srv.(AuthServiceServer).DeleteAllWindowsDesktopServices(ctx, req.(*emptypb.Empty)) 24380 } 24381 return interceptor(ctx, in, info, handler) 24382 } 24383 24384 func _AuthService_GetWindowsDesktops_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24385 in := new(types.WindowsDesktopFilter) 24386 if err := dec(in); err != nil { 24387 return nil, err 24388 } 24389 if interceptor == nil { 24390 return srv.(AuthServiceServer).GetWindowsDesktops(ctx, in) 24391 } 24392 info := &grpc.UnaryServerInfo{ 24393 Server: srv, 24394 FullMethod: "/proto.AuthService/GetWindowsDesktops", 24395 } 24396 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24397 return srv.(AuthServiceServer).GetWindowsDesktops(ctx, req.(*types.WindowsDesktopFilter)) 24398 } 24399 return interceptor(ctx, in, info, handler) 24400 } 24401 24402 func _AuthService_CreateWindowsDesktop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24403 in := new(types.WindowsDesktopV3) 24404 if err := dec(in); err != nil { 24405 return nil, err 24406 } 24407 if interceptor == nil { 24408 return srv.(AuthServiceServer).CreateWindowsDesktop(ctx, in) 24409 } 24410 info := &grpc.UnaryServerInfo{ 24411 Server: srv, 24412 FullMethod: "/proto.AuthService/CreateWindowsDesktop", 24413 } 24414 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24415 return srv.(AuthServiceServer).CreateWindowsDesktop(ctx, req.(*types.WindowsDesktopV3)) 24416 } 24417 return interceptor(ctx, in, info, handler) 24418 } 24419 24420 func _AuthService_UpdateWindowsDesktop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24421 in := new(types.WindowsDesktopV3) 24422 if err := dec(in); err != nil { 24423 return nil, err 24424 } 24425 if interceptor == nil { 24426 return srv.(AuthServiceServer).UpdateWindowsDesktop(ctx, in) 24427 } 24428 info := &grpc.UnaryServerInfo{ 24429 Server: srv, 24430 FullMethod: "/proto.AuthService/UpdateWindowsDesktop", 24431 } 24432 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24433 return srv.(AuthServiceServer).UpdateWindowsDesktop(ctx, req.(*types.WindowsDesktopV3)) 24434 } 24435 return interceptor(ctx, in, info, handler) 24436 } 24437 24438 func _AuthService_UpsertWindowsDesktop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24439 in := new(types.WindowsDesktopV3) 24440 if err := dec(in); err != nil { 24441 return nil, err 24442 } 24443 if interceptor == nil { 24444 return srv.(AuthServiceServer).UpsertWindowsDesktop(ctx, in) 24445 } 24446 info := &grpc.UnaryServerInfo{ 24447 Server: srv, 24448 FullMethod: "/proto.AuthService/UpsertWindowsDesktop", 24449 } 24450 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24451 return srv.(AuthServiceServer).UpsertWindowsDesktop(ctx, req.(*types.WindowsDesktopV3)) 24452 } 24453 return interceptor(ctx, in, info, handler) 24454 } 24455 24456 func _AuthService_DeleteWindowsDesktop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24457 in := new(DeleteWindowsDesktopRequest) 24458 if err := dec(in); err != nil { 24459 return nil, err 24460 } 24461 if interceptor == nil { 24462 return srv.(AuthServiceServer).DeleteWindowsDesktop(ctx, in) 24463 } 24464 info := &grpc.UnaryServerInfo{ 24465 Server: srv, 24466 FullMethod: "/proto.AuthService/DeleteWindowsDesktop", 24467 } 24468 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24469 return srv.(AuthServiceServer).DeleteWindowsDesktop(ctx, req.(*DeleteWindowsDesktopRequest)) 24470 } 24471 return interceptor(ctx, in, info, handler) 24472 } 24473 24474 func _AuthService_DeleteAllWindowsDesktops_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24475 in := new(emptypb.Empty) 24476 if err := dec(in); err != nil { 24477 return nil, err 24478 } 24479 if interceptor == nil { 24480 return srv.(AuthServiceServer).DeleteAllWindowsDesktops(ctx, in) 24481 } 24482 info := &grpc.UnaryServerInfo{ 24483 Server: srv, 24484 FullMethod: "/proto.AuthService/DeleteAllWindowsDesktops", 24485 } 24486 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24487 return srv.(AuthServiceServer).DeleteAllWindowsDesktops(ctx, req.(*emptypb.Empty)) 24488 } 24489 return interceptor(ctx, in, info, handler) 24490 } 24491 24492 func _AuthService_GenerateWindowsDesktopCert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24493 in := new(WindowsDesktopCertRequest) 24494 if err := dec(in); err != nil { 24495 return nil, err 24496 } 24497 if interceptor == nil { 24498 return srv.(AuthServiceServer).GenerateWindowsDesktopCert(ctx, in) 24499 } 24500 info := &grpc.UnaryServerInfo{ 24501 Server: srv, 24502 FullMethod: "/proto.AuthService/GenerateWindowsDesktopCert", 24503 } 24504 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24505 return srv.(AuthServiceServer).GenerateWindowsDesktopCert(ctx, req.(*WindowsDesktopCertRequest)) 24506 } 24507 return interceptor(ctx, in, info, handler) 24508 } 24509 24510 func _AuthService_GenerateCertAuthorityCRL_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24511 in := new(CertAuthorityRequest) 24512 if err := dec(in); err != nil { 24513 return nil, err 24514 } 24515 if interceptor == nil { 24516 return srv.(AuthServiceServer).GenerateCertAuthorityCRL(ctx, in) 24517 } 24518 info := &grpc.UnaryServerInfo{ 24519 Server: srv, 24520 FullMethod: "/proto.AuthService/GenerateCertAuthorityCRL", 24521 } 24522 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24523 return srv.(AuthServiceServer).GenerateCertAuthorityCRL(ctx, req.(*CertAuthorityRequest)) 24524 } 24525 return interceptor(ctx, in, info, handler) 24526 } 24527 24528 func _AuthService_CreateConnectionDiagnostic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24529 in := new(types.ConnectionDiagnosticV1) 24530 if err := dec(in); err != nil { 24531 return nil, err 24532 } 24533 if interceptor == nil { 24534 return srv.(AuthServiceServer).CreateConnectionDiagnostic(ctx, in) 24535 } 24536 info := &grpc.UnaryServerInfo{ 24537 Server: srv, 24538 FullMethod: "/proto.AuthService/CreateConnectionDiagnostic", 24539 } 24540 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24541 return srv.(AuthServiceServer).CreateConnectionDiagnostic(ctx, req.(*types.ConnectionDiagnosticV1)) 24542 } 24543 return interceptor(ctx, in, info, handler) 24544 } 24545 24546 func _AuthService_UpdateConnectionDiagnostic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24547 in := new(types.ConnectionDiagnosticV1) 24548 if err := dec(in); err != nil { 24549 return nil, err 24550 } 24551 if interceptor == nil { 24552 return srv.(AuthServiceServer).UpdateConnectionDiagnostic(ctx, in) 24553 } 24554 info := &grpc.UnaryServerInfo{ 24555 Server: srv, 24556 FullMethod: "/proto.AuthService/UpdateConnectionDiagnostic", 24557 } 24558 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24559 return srv.(AuthServiceServer).UpdateConnectionDiagnostic(ctx, req.(*types.ConnectionDiagnosticV1)) 24560 } 24561 return interceptor(ctx, in, info, handler) 24562 } 24563 24564 func _AuthService_GetConnectionDiagnostic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24565 in := new(GetConnectionDiagnosticRequest) 24566 if err := dec(in); err != nil { 24567 return nil, err 24568 } 24569 if interceptor == nil { 24570 return srv.(AuthServiceServer).GetConnectionDiagnostic(ctx, in) 24571 } 24572 info := &grpc.UnaryServerInfo{ 24573 Server: srv, 24574 FullMethod: "/proto.AuthService/GetConnectionDiagnostic", 24575 } 24576 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24577 return srv.(AuthServiceServer).GetConnectionDiagnostic(ctx, req.(*GetConnectionDiagnosticRequest)) 24578 } 24579 return interceptor(ctx, in, info, handler) 24580 } 24581 24582 func _AuthService_AppendDiagnosticTrace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24583 in := new(AppendDiagnosticTraceRequest) 24584 if err := dec(in); err != nil { 24585 return nil, err 24586 } 24587 if interceptor == nil { 24588 return srv.(AuthServiceServer).AppendDiagnosticTrace(ctx, in) 24589 } 24590 info := &grpc.UnaryServerInfo{ 24591 Server: srv, 24592 FullMethod: "/proto.AuthService/AppendDiagnosticTrace", 24593 } 24594 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24595 return srv.(AuthServiceServer).AppendDiagnosticTrace(ctx, req.(*AppendDiagnosticTraceRequest)) 24596 } 24597 return interceptor(ctx, in, info, handler) 24598 } 24599 24600 func _AuthService_ChangeUserAuthentication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24601 in := new(ChangeUserAuthenticationRequest) 24602 if err := dec(in); err != nil { 24603 return nil, err 24604 } 24605 if interceptor == nil { 24606 return srv.(AuthServiceServer).ChangeUserAuthentication(ctx, in) 24607 } 24608 info := &grpc.UnaryServerInfo{ 24609 Server: srv, 24610 FullMethod: "/proto.AuthService/ChangeUserAuthentication", 24611 } 24612 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24613 return srv.(AuthServiceServer).ChangeUserAuthentication(ctx, req.(*ChangeUserAuthenticationRequest)) 24614 } 24615 return interceptor(ctx, in, info, handler) 24616 } 24617 24618 func _AuthService_StartAccountRecovery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24619 in := new(StartAccountRecoveryRequest) 24620 if err := dec(in); err != nil { 24621 return nil, err 24622 } 24623 if interceptor == nil { 24624 return srv.(AuthServiceServer).StartAccountRecovery(ctx, in) 24625 } 24626 info := &grpc.UnaryServerInfo{ 24627 Server: srv, 24628 FullMethod: "/proto.AuthService/StartAccountRecovery", 24629 } 24630 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24631 return srv.(AuthServiceServer).StartAccountRecovery(ctx, req.(*StartAccountRecoveryRequest)) 24632 } 24633 return interceptor(ctx, in, info, handler) 24634 } 24635 24636 func _AuthService_VerifyAccountRecovery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24637 in := new(VerifyAccountRecoveryRequest) 24638 if err := dec(in); err != nil { 24639 return nil, err 24640 } 24641 if interceptor == nil { 24642 return srv.(AuthServiceServer).VerifyAccountRecovery(ctx, in) 24643 } 24644 info := &grpc.UnaryServerInfo{ 24645 Server: srv, 24646 FullMethod: "/proto.AuthService/VerifyAccountRecovery", 24647 } 24648 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24649 return srv.(AuthServiceServer).VerifyAccountRecovery(ctx, req.(*VerifyAccountRecoveryRequest)) 24650 } 24651 return interceptor(ctx, in, info, handler) 24652 } 24653 24654 func _AuthService_CompleteAccountRecovery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24655 in := new(CompleteAccountRecoveryRequest) 24656 if err := dec(in); err != nil { 24657 return nil, err 24658 } 24659 if interceptor == nil { 24660 return srv.(AuthServiceServer).CompleteAccountRecovery(ctx, in) 24661 } 24662 info := &grpc.UnaryServerInfo{ 24663 Server: srv, 24664 FullMethod: "/proto.AuthService/CompleteAccountRecovery", 24665 } 24666 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24667 return srv.(AuthServiceServer).CompleteAccountRecovery(ctx, req.(*CompleteAccountRecoveryRequest)) 24668 } 24669 return interceptor(ctx, in, info, handler) 24670 } 24671 24672 func _AuthService_CreateAccountRecoveryCodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24673 in := new(CreateAccountRecoveryCodesRequest) 24674 if err := dec(in); err != nil { 24675 return nil, err 24676 } 24677 if interceptor == nil { 24678 return srv.(AuthServiceServer).CreateAccountRecoveryCodes(ctx, in) 24679 } 24680 info := &grpc.UnaryServerInfo{ 24681 Server: srv, 24682 FullMethod: "/proto.AuthService/CreateAccountRecoveryCodes", 24683 } 24684 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24685 return srv.(AuthServiceServer).CreateAccountRecoveryCodes(ctx, req.(*CreateAccountRecoveryCodesRequest)) 24686 } 24687 return interceptor(ctx, in, info, handler) 24688 } 24689 24690 func _AuthService_GetAccountRecoveryToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24691 in := new(GetAccountRecoveryTokenRequest) 24692 if err := dec(in); err != nil { 24693 return nil, err 24694 } 24695 if interceptor == nil { 24696 return srv.(AuthServiceServer).GetAccountRecoveryToken(ctx, in) 24697 } 24698 info := &grpc.UnaryServerInfo{ 24699 Server: srv, 24700 FullMethod: "/proto.AuthService/GetAccountRecoveryToken", 24701 } 24702 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24703 return srv.(AuthServiceServer).GetAccountRecoveryToken(ctx, req.(*GetAccountRecoveryTokenRequest)) 24704 } 24705 return interceptor(ctx, in, info, handler) 24706 } 24707 24708 func _AuthService_GetAccountRecoveryCodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24709 in := new(GetAccountRecoveryCodesRequest) 24710 if err := dec(in); err != nil { 24711 return nil, err 24712 } 24713 if interceptor == nil { 24714 return srv.(AuthServiceServer).GetAccountRecoveryCodes(ctx, in) 24715 } 24716 info := &grpc.UnaryServerInfo{ 24717 Server: srv, 24718 FullMethod: "/proto.AuthService/GetAccountRecoveryCodes", 24719 } 24720 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24721 return srv.(AuthServiceServer).GetAccountRecoveryCodes(ctx, req.(*GetAccountRecoveryCodesRequest)) 24722 } 24723 return interceptor(ctx, in, info, handler) 24724 } 24725 24726 func _AuthService_CreatePrivilegeToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24727 in := new(CreatePrivilegeTokenRequest) 24728 if err := dec(in); err != nil { 24729 return nil, err 24730 } 24731 if interceptor == nil { 24732 return srv.(AuthServiceServer).CreatePrivilegeToken(ctx, in) 24733 } 24734 info := &grpc.UnaryServerInfo{ 24735 Server: srv, 24736 FullMethod: "/proto.AuthService/CreatePrivilegeToken", 24737 } 24738 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24739 return srv.(AuthServiceServer).CreatePrivilegeToken(ctx, req.(*CreatePrivilegeTokenRequest)) 24740 } 24741 return interceptor(ctx, in, info, handler) 24742 } 24743 24744 func _AuthService_GetInstaller_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24745 in := new(types.ResourceRequest) 24746 if err := dec(in); err != nil { 24747 return nil, err 24748 } 24749 if interceptor == nil { 24750 return srv.(AuthServiceServer).GetInstaller(ctx, in) 24751 } 24752 info := &grpc.UnaryServerInfo{ 24753 Server: srv, 24754 FullMethod: "/proto.AuthService/GetInstaller", 24755 } 24756 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24757 return srv.(AuthServiceServer).GetInstaller(ctx, req.(*types.ResourceRequest)) 24758 } 24759 return interceptor(ctx, in, info, handler) 24760 } 24761 24762 func _AuthService_GetInstallers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24763 in := new(emptypb.Empty) 24764 if err := dec(in); err != nil { 24765 return nil, err 24766 } 24767 if interceptor == nil { 24768 return srv.(AuthServiceServer).GetInstallers(ctx, in) 24769 } 24770 info := &grpc.UnaryServerInfo{ 24771 Server: srv, 24772 FullMethod: "/proto.AuthService/GetInstallers", 24773 } 24774 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24775 return srv.(AuthServiceServer).GetInstallers(ctx, req.(*emptypb.Empty)) 24776 } 24777 return interceptor(ctx, in, info, handler) 24778 } 24779 24780 func _AuthService_SetInstaller_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24781 in := new(types.InstallerV1) 24782 if err := dec(in); err != nil { 24783 return nil, err 24784 } 24785 if interceptor == nil { 24786 return srv.(AuthServiceServer).SetInstaller(ctx, in) 24787 } 24788 info := &grpc.UnaryServerInfo{ 24789 Server: srv, 24790 FullMethod: "/proto.AuthService/SetInstaller", 24791 } 24792 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24793 return srv.(AuthServiceServer).SetInstaller(ctx, req.(*types.InstallerV1)) 24794 } 24795 return interceptor(ctx, in, info, handler) 24796 } 24797 24798 func _AuthService_DeleteInstaller_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24799 in := new(types.ResourceRequest) 24800 if err := dec(in); err != nil { 24801 return nil, err 24802 } 24803 if interceptor == nil { 24804 return srv.(AuthServiceServer).DeleteInstaller(ctx, in) 24805 } 24806 info := &grpc.UnaryServerInfo{ 24807 Server: srv, 24808 FullMethod: "/proto.AuthService/DeleteInstaller", 24809 } 24810 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24811 return srv.(AuthServiceServer).DeleteInstaller(ctx, req.(*types.ResourceRequest)) 24812 } 24813 return interceptor(ctx, in, info, handler) 24814 } 24815 24816 func _AuthService_DeleteAllInstallers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24817 in := new(emptypb.Empty) 24818 if err := dec(in); err != nil { 24819 return nil, err 24820 } 24821 if interceptor == nil { 24822 return srv.(AuthServiceServer).DeleteAllInstallers(ctx, in) 24823 } 24824 info := &grpc.UnaryServerInfo{ 24825 Server: srv, 24826 FullMethod: "/proto.AuthService/DeleteAllInstallers", 24827 } 24828 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24829 return srv.(AuthServiceServer).DeleteAllInstallers(ctx, req.(*emptypb.Empty)) 24830 } 24831 return interceptor(ctx, in, info, handler) 24832 } 24833 24834 func _AuthService_ListResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24835 in := new(ListResourcesRequest) 24836 if err := dec(in); err != nil { 24837 return nil, err 24838 } 24839 if interceptor == nil { 24840 return srv.(AuthServiceServer).ListResources(ctx, in) 24841 } 24842 info := &grpc.UnaryServerInfo{ 24843 Server: srv, 24844 FullMethod: "/proto.AuthService/ListResources", 24845 } 24846 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24847 return srv.(AuthServiceServer).ListResources(ctx, req.(*ListResourcesRequest)) 24848 } 24849 return interceptor(ctx, in, info, handler) 24850 } 24851 24852 func _AuthService_ListUnifiedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24853 in := new(ListUnifiedResourcesRequest) 24854 if err := dec(in); err != nil { 24855 return nil, err 24856 } 24857 if interceptor == nil { 24858 return srv.(AuthServiceServer).ListUnifiedResources(ctx, in) 24859 } 24860 info := &grpc.UnaryServerInfo{ 24861 Server: srv, 24862 FullMethod: "/proto.AuthService/ListUnifiedResources", 24863 } 24864 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24865 return srv.(AuthServiceServer).ListUnifiedResources(ctx, req.(*ListUnifiedResourcesRequest)) 24866 } 24867 return interceptor(ctx, in, info, handler) 24868 } 24869 24870 func _AuthService_GetSSHTargets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24871 in := new(GetSSHTargetsRequest) 24872 if err := dec(in); err != nil { 24873 return nil, err 24874 } 24875 if interceptor == nil { 24876 return srv.(AuthServiceServer).GetSSHTargets(ctx, in) 24877 } 24878 info := &grpc.UnaryServerInfo{ 24879 Server: srv, 24880 FullMethod: "/proto.AuthService/GetSSHTargets", 24881 } 24882 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24883 return srv.(AuthServiceServer).GetSSHTargets(ctx, req.(*GetSSHTargetsRequest)) 24884 } 24885 return interceptor(ctx, in, info, handler) 24886 } 24887 24888 func _AuthService_GetDomainName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24889 in := new(emptypb.Empty) 24890 if err := dec(in); err != nil { 24891 return nil, err 24892 } 24893 if interceptor == nil { 24894 return srv.(AuthServiceServer).GetDomainName(ctx, in) 24895 } 24896 info := &grpc.UnaryServerInfo{ 24897 Server: srv, 24898 FullMethod: "/proto.AuthService/GetDomainName", 24899 } 24900 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24901 return srv.(AuthServiceServer).GetDomainName(ctx, req.(*emptypb.Empty)) 24902 } 24903 return interceptor(ctx, in, info, handler) 24904 } 24905 24906 func _AuthService_GetClusterCACert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24907 in := new(emptypb.Empty) 24908 if err := dec(in); err != nil { 24909 return nil, err 24910 } 24911 if interceptor == nil { 24912 return srv.(AuthServiceServer).GetClusterCACert(ctx, in) 24913 } 24914 info := &grpc.UnaryServerInfo{ 24915 Server: srv, 24916 FullMethod: "/proto.AuthService/GetClusterCACert", 24917 } 24918 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24919 return srv.(AuthServiceServer).GetClusterCACert(ctx, req.(*emptypb.Empty)) 24920 } 24921 return interceptor(ctx, in, info, handler) 24922 } 24923 24924 func _AuthService_SubmitUsageEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24925 in := new(SubmitUsageEventRequest) 24926 if err := dec(in); err != nil { 24927 return nil, err 24928 } 24929 if interceptor == nil { 24930 return srv.(AuthServiceServer).SubmitUsageEvent(ctx, in) 24931 } 24932 info := &grpc.UnaryServerInfo{ 24933 Server: srv, 24934 FullMethod: "/proto.AuthService/SubmitUsageEvent", 24935 } 24936 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24937 return srv.(AuthServiceServer).SubmitUsageEvent(ctx, req.(*SubmitUsageEventRequest)) 24938 } 24939 return interceptor(ctx, in, info, handler) 24940 } 24941 24942 func _AuthService_GetLicense_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24943 in := new(GetLicenseRequest) 24944 if err := dec(in); err != nil { 24945 return nil, err 24946 } 24947 if interceptor == nil { 24948 return srv.(AuthServiceServer).GetLicense(ctx, in) 24949 } 24950 info := &grpc.UnaryServerInfo{ 24951 Server: srv, 24952 FullMethod: "/proto.AuthService/GetLicense", 24953 } 24954 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24955 return srv.(AuthServiceServer).GetLicense(ctx, req.(*GetLicenseRequest)) 24956 } 24957 return interceptor(ctx, in, info, handler) 24958 } 24959 24960 func _AuthService_ListReleases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24961 in := new(ListReleasesRequest) 24962 if err := dec(in); err != nil { 24963 return nil, err 24964 } 24965 if interceptor == nil { 24966 return srv.(AuthServiceServer).ListReleases(ctx, in) 24967 } 24968 info := &grpc.UnaryServerInfo{ 24969 Server: srv, 24970 FullMethod: "/proto.AuthService/ListReleases", 24971 } 24972 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24973 return srv.(AuthServiceServer).ListReleases(ctx, req.(*ListReleasesRequest)) 24974 } 24975 return interceptor(ctx, in, info, handler) 24976 } 24977 24978 func _AuthService_ListSAMLIdPServiceProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24979 in := new(ListSAMLIdPServiceProvidersRequest) 24980 if err := dec(in); err != nil { 24981 return nil, err 24982 } 24983 if interceptor == nil { 24984 return srv.(AuthServiceServer).ListSAMLIdPServiceProviders(ctx, in) 24985 } 24986 info := &grpc.UnaryServerInfo{ 24987 Server: srv, 24988 FullMethod: "/proto.AuthService/ListSAMLIdPServiceProviders", 24989 } 24990 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 24991 return srv.(AuthServiceServer).ListSAMLIdPServiceProviders(ctx, req.(*ListSAMLIdPServiceProvidersRequest)) 24992 } 24993 return interceptor(ctx, in, info, handler) 24994 } 24995 24996 func _AuthService_GetSAMLIdPServiceProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 24997 in := new(GetSAMLIdPServiceProviderRequest) 24998 if err := dec(in); err != nil { 24999 return nil, err 25000 } 25001 if interceptor == nil { 25002 return srv.(AuthServiceServer).GetSAMLIdPServiceProvider(ctx, in) 25003 } 25004 info := &grpc.UnaryServerInfo{ 25005 Server: srv, 25006 FullMethod: "/proto.AuthService/GetSAMLIdPServiceProvider", 25007 } 25008 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25009 return srv.(AuthServiceServer).GetSAMLIdPServiceProvider(ctx, req.(*GetSAMLIdPServiceProviderRequest)) 25010 } 25011 return interceptor(ctx, in, info, handler) 25012 } 25013 25014 func _AuthService_CreateSAMLIdPServiceProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25015 in := new(types.SAMLIdPServiceProviderV1) 25016 if err := dec(in); err != nil { 25017 return nil, err 25018 } 25019 if interceptor == nil { 25020 return srv.(AuthServiceServer).CreateSAMLIdPServiceProvider(ctx, in) 25021 } 25022 info := &grpc.UnaryServerInfo{ 25023 Server: srv, 25024 FullMethod: "/proto.AuthService/CreateSAMLIdPServiceProvider", 25025 } 25026 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25027 return srv.(AuthServiceServer).CreateSAMLIdPServiceProvider(ctx, req.(*types.SAMLIdPServiceProviderV1)) 25028 } 25029 return interceptor(ctx, in, info, handler) 25030 } 25031 25032 func _AuthService_UpdateSAMLIdPServiceProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25033 in := new(types.SAMLIdPServiceProviderV1) 25034 if err := dec(in); err != nil { 25035 return nil, err 25036 } 25037 if interceptor == nil { 25038 return srv.(AuthServiceServer).UpdateSAMLIdPServiceProvider(ctx, in) 25039 } 25040 info := &grpc.UnaryServerInfo{ 25041 Server: srv, 25042 FullMethod: "/proto.AuthService/UpdateSAMLIdPServiceProvider", 25043 } 25044 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25045 return srv.(AuthServiceServer).UpdateSAMLIdPServiceProvider(ctx, req.(*types.SAMLIdPServiceProviderV1)) 25046 } 25047 return interceptor(ctx, in, info, handler) 25048 } 25049 25050 func _AuthService_DeleteSAMLIdPServiceProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25051 in := new(DeleteSAMLIdPServiceProviderRequest) 25052 if err := dec(in); err != nil { 25053 return nil, err 25054 } 25055 if interceptor == nil { 25056 return srv.(AuthServiceServer).DeleteSAMLIdPServiceProvider(ctx, in) 25057 } 25058 info := &grpc.UnaryServerInfo{ 25059 Server: srv, 25060 FullMethod: "/proto.AuthService/DeleteSAMLIdPServiceProvider", 25061 } 25062 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25063 return srv.(AuthServiceServer).DeleteSAMLIdPServiceProvider(ctx, req.(*DeleteSAMLIdPServiceProviderRequest)) 25064 } 25065 return interceptor(ctx, in, info, handler) 25066 } 25067 25068 func _AuthService_DeleteAllSAMLIdPServiceProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25069 in := new(emptypb.Empty) 25070 if err := dec(in); err != nil { 25071 return nil, err 25072 } 25073 if interceptor == nil { 25074 return srv.(AuthServiceServer).DeleteAllSAMLIdPServiceProviders(ctx, in) 25075 } 25076 info := &grpc.UnaryServerInfo{ 25077 Server: srv, 25078 FullMethod: "/proto.AuthService/DeleteAllSAMLIdPServiceProviders", 25079 } 25080 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25081 return srv.(AuthServiceServer).DeleteAllSAMLIdPServiceProviders(ctx, req.(*emptypb.Empty)) 25082 } 25083 return interceptor(ctx, in, info, handler) 25084 } 25085 25086 func _AuthService_ListUserGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25087 in := new(ListUserGroupsRequest) 25088 if err := dec(in); err != nil { 25089 return nil, err 25090 } 25091 if interceptor == nil { 25092 return srv.(AuthServiceServer).ListUserGroups(ctx, in) 25093 } 25094 info := &grpc.UnaryServerInfo{ 25095 Server: srv, 25096 FullMethod: "/proto.AuthService/ListUserGroups", 25097 } 25098 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25099 return srv.(AuthServiceServer).ListUserGroups(ctx, req.(*ListUserGroupsRequest)) 25100 } 25101 return interceptor(ctx, in, info, handler) 25102 } 25103 25104 func _AuthService_GetUserGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25105 in := new(GetUserGroupRequest) 25106 if err := dec(in); err != nil { 25107 return nil, err 25108 } 25109 if interceptor == nil { 25110 return srv.(AuthServiceServer).GetUserGroup(ctx, in) 25111 } 25112 info := &grpc.UnaryServerInfo{ 25113 Server: srv, 25114 FullMethod: "/proto.AuthService/GetUserGroup", 25115 } 25116 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25117 return srv.(AuthServiceServer).GetUserGroup(ctx, req.(*GetUserGroupRequest)) 25118 } 25119 return interceptor(ctx, in, info, handler) 25120 } 25121 25122 func _AuthService_CreateUserGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25123 in := new(types.UserGroupV1) 25124 if err := dec(in); err != nil { 25125 return nil, err 25126 } 25127 if interceptor == nil { 25128 return srv.(AuthServiceServer).CreateUserGroup(ctx, in) 25129 } 25130 info := &grpc.UnaryServerInfo{ 25131 Server: srv, 25132 FullMethod: "/proto.AuthService/CreateUserGroup", 25133 } 25134 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25135 return srv.(AuthServiceServer).CreateUserGroup(ctx, req.(*types.UserGroupV1)) 25136 } 25137 return interceptor(ctx, in, info, handler) 25138 } 25139 25140 func _AuthService_UpdateUserGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25141 in := new(types.UserGroupV1) 25142 if err := dec(in); err != nil { 25143 return nil, err 25144 } 25145 if interceptor == nil { 25146 return srv.(AuthServiceServer).UpdateUserGroup(ctx, in) 25147 } 25148 info := &grpc.UnaryServerInfo{ 25149 Server: srv, 25150 FullMethod: "/proto.AuthService/UpdateUserGroup", 25151 } 25152 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25153 return srv.(AuthServiceServer).UpdateUserGroup(ctx, req.(*types.UserGroupV1)) 25154 } 25155 return interceptor(ctx, in, info, handler) 25156 } 25157 25158 func _AuthService_DeleteUserGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25159 in := new(DeleteUserGroupRequest) 25160 if err := dec(in); err != nil { 25161 return nil, err 25162 } 25163 if interceptor == nil { 25164 return srv.(AuthServiceServer).DeleteUserGroup(ctx, in) 25165 } 25166 info := &grpc.UnaryServerInfo{ 25167 Server: srv, 25168 FullMethod: "/proto.AuthService/DeleteUserGroup", 25169 } 25170 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25171 return srv.(AuthServiceServer).DeleteUserGroup(ctx, req.(*DeleteUserGroupRequest)) 25172 } 25173 return interceptor(ctx, in, info, handler) 25174 } 25175 25176 func _AuthService_DeleteAllUserGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25177 in := new(emptypb.Empty) 25178 if err := dec(in); err != nil { 25179 return nil, err 25180 } 25181 if interceptor == nil { 25182 return srv.(AuthServiceServer).DeleteAllUserGroups(ctx, in) 25183 } 25184 info := &grpc.UnaryServerInfo{ 25185 Server: srv, 25186 FullMethod: "/proto.AuthService/DeleteAllUserGroups", 25187 } 25188 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25189 return srv.(AuthServiceServer).DeleteAllUserGroups(ctx, req.(*emptypb.Empty)) 25190 } 25191 return interceptor(ctx, in, info, handler) 25192 } 25193 25194 func _AuthService_GetHeadlessAuthentication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25195 in := new(GetHeadlessAuthenticationRequest) 25196 if err := dec(in); err != nil { 25197 return nil, err 25198 } 25199 if interceptor == nil { 25200 return srv.(AuthServiceServer).GetHeadlessAuthentication(ctx, in) 25201 } 25202 info := &grpc.UnaryServerInfo{ 25203 Server: srv, 25204 FullMethod: "/proto.AuthService/GetHeadlessAuthentication", 25205 } 25206 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25207 return srv.(AuthServiceServer).GetHeadlessAuthentication(ctx, req.(*GetHeadlessAuthenticationRequest)) 25208 } 25209 return interceptor(ctx, in, info, handler) 25210 } 25211 25212 func _AuthService_WatchPendingHeadlessAuthentications_Handler(srv interface{}, stream grpc.ServerStream) error { 25213 m := new(emptypb.Empty) 25214 if err := stream.RecvMsg(m); err != nil { 25215 return err 25216 } 25217 return srv.(AuthServiceServer).WatchPendingHeadlessAuthentications(m, &authServiceWatchPendingHeadlessAuthenticationsServer{stream}) 25218 } 25219 25220 type AuthService_WatchPendingHeadlessAuthenticationsServer interface { 25221 Send(*Event) error 25222 grpc.ServerStream 25223 } 25224 25225 type authServiceWatchPendingHeadlessAuthenticationsServer struct { 25226 grpc.ServerStream 25227 } 25228 25229 func (x *authServiceWatchPendingHeadlessAuthenticationsServer) Send(m *Event) error { 25230 return x.ServerStream.SendMsg(m) 25231 } 25232 25233 func _AuthService_UpdateHeadlessAuthenticationState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25234 in := new(UpdateHeadlessAuthenticationStateRequest) 25235 if err := dec(in); err != nil { 25236 return nil, err 25237 } 25238 if interceptor == nil { 25239 return srv.(AuthServiceServer).UpdateHeadlessAuthenticationState(ctx, in) 25240 } 25241 info := &grpc.UnaryServerInfo{ 25242 Server: srv, 25243 FullMethod: "/proto.AuthService/UpdateHeadlessAuthenticationState", 25244 } 25245 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25246 return srv.(AuthServiceServer).UpdateHeadlessAuthenticationState(ctx, req.(*UpdateHeadlessAuthenticationStateRequest)) 25247 } 25248 return interceptor(ctx, in, info, handler) 25249 } 25250 25251 func _AuthService_ExportUpgradeWindows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25252 in := new(ExportUpgradeWindowsRequest) 25253 if err := dec(in); err != nil { 25254 return nil, err 25255 } 25256 if interceptor == nil { 25257 return srv.(AuthServiceServer).ExportUpgradeWindows(ctx, in) 25258 } 25259 info := &grpc.UnaryServerInfo{ 25260 Server: srv, 25261 FullMethod: "/proto.AuthService/ExportUpgradeWindows", 25262 } 25263 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25264 return srv.(AuthServiceServer).ExportUpgradeWindows(ctx, req.(*ExportUpgradeWindowsRequest)) 25265 } 25266 return interceptor(ctx, in, info, handler) 25267 } 25268 25269 func _AuthService_GetClusterMaintenanceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25270 in := new(emptypb.Empty) 25271 if err := dec(in); err != nil { 25272 return nil, err 25273 } 25274 if interceptor == nil { 25275 return srv.(AuthServiceServer).GetClusterMaintenanceConfig(ctx, in) 25276 } 25277 info := &grpc.UnaryServerInfo{ 25278 Server: srv, 25279 FullMethod: "/proto.AuthService/GetClusterMaintenanceConfig", 25280 } 25281 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25282 return srv.(AuthServiceServer).GetClusterMaintenanceConfig(ctx, req.(*emptypb.Empty)) 25283 } 25284 return interceptor(ctx, in, info, handler) 25285 } 25286 25287 func _AuthService_UpdateClusterMaintenanceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25288 in := new(types.ClusterMaintenanceConfigV1) 25289 if err := dec(in); err != nil { 25290 return nil, err 25291 } 25292 if interceptor == nil { 25293 return srv.(AuthServiceServer).UpdateClusterMaintenanceConfig(ctx, in) 25294 } 25295 info := &grpc.UnaryServerInfo{ 25296 Server: srv, 25297 FullMethod: "/proto.AuthService/UpdateClusterMaintenanceConfig", 25298 } 25299 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25300 return srv.(AuthServiceServer).UpdateClusterMaintenanceConfig(ctx, req.(*types.ClusterMaintenanceConfigV1)) 25301 } 25302 return interceptor(ctx, in, info, handler) 25303 } 25304 25305 func _AuthService_DeleteClusterMaintenanceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 25306 in := new(emptypb.Empty) 25307 if err := dec(in); err != nil { 25308 return nil, err 25309 } 25310 if interceptor == nil { 25311 return srv.(AuthServiceServer).DeleteClusterMaintenanceConfig(ctx, in) 25312 } 25313 info := &grpc.UnaryServerInfo{ 25314 Server: srv, 25315 FullMethod: "/proto.AuthService/DeleteClusterMaintenanceConfig", 25316 } 25317 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 25318 return srv.(AuthServiceServer).DeleteClusterMaintenanceConfig(ctx, req.(*emptypb.Empty)) 25319 } 25320 return interceptor(ctx, in, info, handler) 25321 } 25322 25323 var _AuthService_serviceDesc = grpc.ServiceDesc{ 25324 ServiceName: "proto.AuthService", 25325 HandlerType: (*AuthServiceServer)(nil), 25326 Methods: []grpc.MethodDesc{ 25327 { 25328 MethodName: "GetInventoryStatus", 25329 Handler: _AuthService_GetInventoryStatus_Handler, 25330 }, 25331 { 25332 MethodName: "GetInventoryConnectedServiceCounts", 25333 Handler: _AuthService_GetInventoryConnectedServiceCounts_Handler, 25334 }, 25335 { 25336 MethodName: "PingInventory", 25337 Handler: _AuthService_PingInventory_Handler, 25338 }, 25339 { 25340 MethodName: "GetClusterAlerts", 25341 Handler: _AuthService_GetClusterAlerts_Handler, 25342 }, 25343 { 25344 MethodName: "UpsertClusterAlert", 25345 Handler: _AuthService_UpsertClusterAlert_Handler, 25346 }, 25347 { 25348 MethodName: "CreateAlertAck", 25349 Handler: _AuthService_CreateAlertAck_Handler, 25350 }, 25351 { 25352 MethodName: "GetAlertAcks", 25353 Handler: _AuthService_GetAlertAcks_Handler, 25354 }, 25355 { 25356 MethodName: "ClearAlertAcks", 25357 Handler: _AuthService_ClearAlertAcks_Handler, 25358 }, 25359 { 25360 MethodName: "CreateSessionTracker", 25361 Handler: _AuthService_CreateSessionTracker_Handler, 25362 }, 25363 { 25364 MethodName: "GetSessionTracker", 25365 Handler: _AuthService_GetSessionTracker_Handler, 25366 }, 25367 { 25368 MethodName: "RemoveSessionTracker", 25369 Handler: _AuthService_RemoveSessionTracker_Handler, 25370 }, 25371 { 25372 MethodName: "UpdateSessionTracker", 25373 Handler: _AuthService_UpdateSessionTracker_Handler, 25374 }, 25375 { 25376 MethodName: "GetNode", 25377 Handler: _AuthService_GetNode_Handler, 25378 }, 25379 { 25380 MethodName: "UpsertNode", 25381 Handler: _AuthService_UpsertNode_Handler, 25382 }, 25383 { 25384 MethodName: "DeleteNode", 25385 Handler: _AuthService_DeleteNode_Handler, 25386 }, 25387 { 25388 MethodName: "DeleteAllNodes", 25389 Handler: _AuthService_DeleteAllNodes_Handler, 25390 }, 25391 { 25392 MethodName: "GenerateUserCerts", 25393 Handler: _AuthService_GenerateUserCerts_Handler, 25394 }, 25395 { 25396 MethodName: "GenerateHostCerts", 25397 Handler: _AuthService_GenerateHostCerts_Handler, 25398 }, 25399 { 25400 MethodName: "GenerateOpenSSHCert", 25401 Handler: _AuthService_GenerateOpenSSHCert_Handler, 25402 }, 25403 { 25404 MethodName: "IsMFARequired", 25405 Handler: _AuthService_IsMFARequired_Handler, 25406 }, 25407 { 25408 MethodName: "ListAccessRequests", 25409 Handler: _AuthService_ListAccessRequests_Handler, 25410 }, 25411 { 25412 MethodName: "CreateAccessRequest", 25413 Handler: _AuthService_CreateAccessRequest_Handler, 25414 }, 25415 { 25416 MethodName: "CreateAccessRequestV2", 25417 Handler: _AuthService_CreateAccessRequestV2_Handler, 25418 }, 25419 { 25420 MethodName: "DeleteAccessRequest", 25421 Handler: _AuthService_DeleteAccessRequest_Handler, 25422 }, 25423 { 25424 MethodName: "SetAccessRequestState", 25425 Handler: _AuthService_SetAccessRequestState_Handler, 25426 }, 25427 { 25428 MethodName: "SubmitAccessReview", 25429 Handler: _AuthService_SubmitAccessReview_Handler, 25430 }, 25431 { 25432 MethodName: "GetAccessCapabilities", 25433 Handler: _AuthService_GetAccessCapabilities_Handler, 25434 }, 25435 { 25436 MethodName: "GetAccessRequestAllowedPromotions", 25437 Handler: _AuthService_GetAccessRequestAllowedPromotions_Handler, 25438 }, 25439 { 25440 MethodName: "GetPluginData", 25441 Handler: _AuthService_GetPluginData_Handler, 25442 }, 25443 { 25444 MethodName: "UpdatePluginData", 25445 Handler: _AuthService_UpdatePluginData_Handler, 25446 }, 25447 { 25448 MethodName: "Ping", 25449 Handler: _AuthService_Ping_Handler, 25450 }, 25451 { 25452 MethodName: "GetResetPasswordToken", 25453 Handler: _AuthService_GetResetPasswordToken_Handler, 25454 }, 25455 { 25456 MethodName: "CreateResetPasswordToken", 25457 Handler: _AuthService_CreateResetPasswordToken_Handler, 25458 }, 25459 { 25460 MethodName: "GetUser", 25461 Handler: _AuthService_GetUser_Handler, 25462 }, 25463 { 25464 MethodName: "GetCurrentUser", 25465 Handler: _AuthService_GetCurrentUser_Handler, 25466 }, 25467 { 25468 MethodName: "CreateUser", 25469 Handler: _AuthService_CreateUser_Handler, 25470 }, 25471 { 25472 MethodName: "UpdateUser", 25473 Handler: _AuthService_UpdateUser_Handler, 25474 }, 25475 { 25476 MethodName: "DeleteUser", 25477 Handler: _AuthService_DeleteUser_Handler, 25478 }, 25479 { 25480 MethodName: "ChangePassword", 25481 Handler: _AuthService_ChangePassword_Handler, 25482 }, 25483 { 25484 MethodName: "AcquireSemaphore", 25485 Handler: _AuthService_AcquireSemaphore_Handler, 25486 }, 25487 { 25488 MethodName: "KeepAliveSemaphoreLease", 25489 Handler: _AuthService_KeepAliveSemaphoreLease_Handler, 25490 }, 25491 { 25492 MethodName: "CancelSemaphoreLease", 25493 Handler: _AuthService_CancelSemaphoreLease_Handler, 25494 }, 25495 { 25496 MethodName: "GetSemaphores", 25497 Handler: _AuthService_GetSemaphores_Handler, 25498 }, 25499 { 25500 MethodName: "DeleteSemaphore", 25501 Handler: _AuthService_DeleteSemaphore_Handler, 25502 }, 25503 { 25504 MethodName: "EmitAuditEvent", 25505 Handler: _AuthService_EmitAuditEvent_Handler, 25506 }, 25507 { 25508 MethodName: "UpsertApplicationServer", 25509 Handler: _AuthService_UpsertApplicationServer_Handler, 25510 }, 25511 { 25512 MethodName: "DeleteApplicationServer", 25513 Handler: _AuthService_DeleteApplicationServer_Handler, 25514 }, 25515 { 25516 MethodName: "DeleteAllApplicationServers", 25517 Handler: _AuthService_DeleteAllApplicationServers_Handler, 25518 }, 25519 { 25520 MethodName: "GenerateAppToken", 25521 Handler: _AuthService_GenerateAppToken_Handler, 25522 }, 25523 { 25524 MethodName: "GetAppSession", 25525 Handler: _AuthService_GetAppSession_Handler, 25526 }, 25527 { 25528 MethodName: "ListAppSessions", 25529 Handler: _AuthService_ListAppSessions_Handler, 25530 }, 25531 { 25532 MethodName: "CreateAppSession", 25533 Handler: _AuthService_CreateAppSession_Handler, 25534 }, 25535 { 25536 MethodName: "DeleteAppSession", 25537 Handler: _AuthService_DeleteAppSession_Handler, 25538 }, 25539 { 25540 MethodName: "DeleteAllAppSessions", 25541 Handler: _AuthService_DeleteAllAppSessions_Handler, 25542 }, 25543 { 25544 MethodName: "DeleteUserAppSessions", 25545 Handler: _AuthService_DeleteUserAppSessions_Handler, 25546 }, 25547 { 25548 MethodName: "CreateSnowflakeSession", 25549 Handler: _AuthService_CreateSnowflakeSession_Handler, 25550 }, 25551 { 25552 MethodName: "GetSnowflakeSession", 25553 Handler: _AuthService_GetSnowflakeSession_Handler, 25554 }, 25555 { 25556 MethodName: "GetSnowflakeSessions", 25557 Handler: _AuthService_GetSnowflakeSessions_Handler, 25558 }, 25559 { 25560 MethodName: "DeleteSnowflakeSession", 25561 Handler: _AuthService_DeleteSnowflakeSession_Handler, 25562 }, 25563 { 25564 MethodName: "DeleteAllSnowflakeSessions", 25565 Handler: _AuthService_DeleteAllSnowflakeSessions_Handler, 25566 }, 25567 { 25568 MethodName: "CreateSAMLIdPSession", 25569 Handler: _AuthService_CreateSAMLIdPSession_Handler, 25570 }, 25571 { 25572 MethodName: "GetSAMLIdPSession", 25573 Handler: _AuthService_GetSAMLIdPSession_Handler, 25574 }, 25575 { 25576 MethodName: "ListSAMLIdPSessions", 25577 Handler: _AuthService_ListSAMLIdPSessions_Handler, 25578 }, 25579 { 25580 MethodName: "DeleteSAMLIdPSession", 25581 Handler: _AuthService_DeleteSAMLIdPSession_Handler, 25582 }, 25583 { 25584 MethodName: "DeleteAllSAMLIdPSessions", 25585 Handler: _AuthService_DeleteAllSAMLIdPSessions_Handler, 25586 }, 25587 { 25588 MethodName: "DeleteUserSAMLIdPSessions", 25589 Handler: _AuthService_DeleteUserSAMLIdPSessions_Handler, 25590 }, 25591 { 25592 MethodName: "GetWebSession", 25593 Handler: _AuthService_GetWebSession_Handler, 25594 }, 25595 { 25596 MethodName: "GetWebSessions", 25597 Handler: _AuthService_GetWebSessions_Handler, 25598 }, 25599 { 25600 MethodName: "DeleteWebSession", 25601 Handler: _AuthService_DeleteWebSession_Handler, 25602 }, 25603 { 25604 MethodName: "DeleteAllWebSessions", 25605 Handler: _AuthService_DeleteAllWebSessions_Handler, 25606 }, 25607 { 25608 MethodName: "GetWebToken", 25609 Handler: _AuthService_GetWebToken_Handler, 25610 }, 25611 { 25612 MethodName: "GetWebTokens", 25613 Handler: _AuthService_GetWebTokens_Handler, 25614 }, 25615 { 25616 MethodName: "DeleteWebToken", 25617 Handler: _AuthService_DeleteWebToken_Handler, 25618 }, 25619 { 25620 MethodName: "DeleteAllWebTokens", 25621 Handler: _AuthService_DeleteAllWebTokens_Handler, 25622 }, 25623 { 25624 MethodName: "UpdateRemoteCluster", 25625 Handler: _AuthService_UpdateRemoteCluster_Handler, 25626 }, 25627 { 25628 MethodName: "UpsertKubernetesServer", 25629 Handler: _AuthService_UpsertKubernetesServer_Handler, 25630 }, 25631 { 25632 MethodName: "DeleteKubernetesServer", 25633 Handler: _AuthService_DeleteKubernetesServer_Handler, 25634 }, 25635 { 25636 MethodName: "DeleteAllKubernetesServers", 25637 Handler: _AuthService_DeleteAllKubernetesServers_Handler, 25638 }, 25639 { 25640 MethodName: "UpsertDatabaseServer", 25641 Handler: _AuthService_UpsertDatabaseServer_Handler, 25642 }, 25643 { 25644 MethodName: "DeleteDatabaseServer", 25645 Handler: _AuthService_DeleteDatabaseServer_Handler, 25646 }, 25647 { 25648 MethodName: "DeleteAllDatabaseServers", 25649 Handler: _AuthService_DeleteAllDatabaseServers_Handler, 25650 }, 25651 { 25652 MethodName: "UpsertDatabaseService", 25653 Handler: _AuthService_UpsertDatabaseService_Handler, 25654 }, 25655 { 25656 MethodName: "DeleteDatabaseService", 25657 Handler: _AuthService_DeleteDatabaseService_Handler, 25658 }, 25659 { 25660 MethodName: "DeleteAllDatabaseServices", 25661 Handler: _AuthService_DeleteAllDatabaseServices_Handler, 25662 }, 25663 { 25664 MethodName: "SignDatabaseCSR", 25665 Handler: _AuthService_SignDatabaseCSR_Handler, 25666 }, 25667 { 25668 MethodName: "GenerateDatabaseCert", 25669 Handler: _AuthService_GenerateDatabaseCert_Handler, 25670 }, 25671 { 25672 MethodName: "GenerateSnowflakeJWT", 25673 Handler: _AuthService_GenerateSnowflakeJWT_Handler, 25674 }, 25675 { 25676 MethodName: "GetRole", 25677 Handler: _AuthService_GetRole_Handler, 25678 }, 25679 { 25680 MethodName: "GetRoles", 25681 Handler: _AuthService_GetRoles_Handler, 25682 }, 25683 { 25684 MethodName: "ListRoles", 25685 Handler: _AuthService_ListRoles_Handler, 25686 }, 25687 { 25688 MethodName: "CreateRole", 25689 Handler: _AuthService_CreateRole_Handler, 25690 }, 25691 { 25692 MethodName: "UpdateRole", 25693 Handler: _AuthService_UpdateRole_Handler, 25694 }, 25695 { 25696 MethodName: "UpsertRoleV2", 25697 Handler: _AuthService_UpsertRoleV2_Handler, 25698 }, 25699 { 25700 MethodName: "UpsertRole", 25701 Handler: _AuthService_UpsertRole_Handler, 25702 }, 25703 { 25704 MethodName: "DeleteRole", 25705 Handler: _AuthService_DeleteRole_Handler, 25706 }, 25707 { 25708 MethodName: "AddMFADeviceSync", 25709 Handler: _AuthService_AddMFADeviceSync_Handler, 25710 }, 25711 { 25712 MethodName: "DeleteMFADeviceSync", 25713 Handler: _AuthService_DeleteMFADeviceSync_Handler, 25714 }, 25715 { 25716 MethodName: "GetMFADevices", 25717 Handler: _AuthService_GetMFADevices_Handler, 25718 }, 25719 { 25720 MethodName: "CreateAuthenticateChallenge", 25721 Handler: _AuthService_CreateAuthenticateChallenge_Handler, 25722 }, 25723 { 25724 MethodName: "CreateRegisterChallenge", 25725 Handler: _AuthService_CreateRegisterChallenge_Handler, 25726 }, 25727 { 25728 MethodName: "GetOIDCConnector", 25729 Handler: _AuthService_GetOIDCConnector_Handler, 25730 }, 25731 { 25732 MethodName: "GetOIDCConnectors", 25733 Handler: _AuthService_GetOIDCConnectors_Handler, 25734 }, 25735 { 25736 MethodName: "CreateOIDCConnector", 25737 Handler: _AuthService_CreateOIDCConnector_Handler, 25738 }, 25739 { 25740 MethodName: "UpdateOIDCConnector", 25741 Handler: _AuthService_UpdateOIDCConnector_Handler, 25742 }, 25743 { 25744 MethodName: "UpsertOIDCConnector", 25745 Handler: _AuthService_UpsertOIDCConnector_Handler, 25746 }, 25747 { 25748 MethodName: "UpsertOIDCConnectorV2", 25749 Handler: _AuthService_UpsertOIDCConnectorV2_Handler, 25750 }, 25751 { 25752 MethodName: "DeleteOIDCConnector", 25753 Handler: _AuthService_DeleteOIDCConnector_Handler, 25754 }, 25755 { 25756 MethodName: "CreateOIDCAuthRequest", 25757 Handler: _AuthService_CreateOIDCAuthRequest_Handler, 25758 }, 25759 { 25760 MethodName: "GetOIDCAuthRequest", 25761 Handler: _AuthService_GetOIDCAuthRequest_Handler, 25762 }, 25763 { 25764 MethodName: "GetSAMLConnector", 25765 Handler: _AuthService_GetSAMLConnector_Handler, 25766 }, 25767 { 25768 MethodName: "GetSAMLConnectors", 25769 Handler: _AuthService_GetSAMLConnectors_Handler, 25770 }, 25771 { 25772 MethodName: "CreateSAMLConnector", 25773 Handler: _AuthService_CreateSAMLConnector_Handler, 25774 }, 25775 { 25776 MethodName: "UpdateSAMLConnector", 25777 Handler: _AuthService_UpdateSAMLConnector_Handler, 25778 }, 25779 { 25780 MethodName: "UpsertSAMLConnector", 25781 Handler: _AuthService_UpsertSAMLConnector_Handler, 25782 }, 25783 { 25784 MethodName: "UpsertSAMLConnectorV2", 25785 Handler: _AuthService_UpsertSAMLConnectorV2_Handler, 25786 }, 25787 { 25788 MethodName: "DeleteSAMLConnector", 25789 Handler: _AuthService_DeleteSAMLConnector_Handler, 25790 }, 25791 { 25792 MethodName: "CreateSAMLAuthRequest", 25793 Handler: _AuthService_CreateSAMLAuthRequest_Handler, 25794 }, 25795 { 25796 MethodName: "GetSAMLAuthRequest", 25797 Handler: _AuthService_GetSAMLAuthRequest_Handler, 25798 }, 25799 { 25800 MethodName: "GetGithubConnector", 25801 Handler: _AuthService_GetGithubConnector_Handler, 25802 }, 25803 { 25804 MethodName: "GetGithubConnectors", 25805 Handler: _AuthService_GetGithubConnectors_Handler, 25806 }, 25807 { 25808 MethodName: "CreateGithubConnector", 25809 Handler: _AuthService_CreateGithubConnector_Handler, 25810 }, 25811 { 25812 MethodName: "UpdateGithubConnector", 25813 Handler: _AuthService_UpdateGithubConnector_Handler, 25814 }, 25815 { 25816 MethodName: "UpsertGithubConnector", 25817 Handler: _AuthService_UpsertGithubConnector_Handler, 25818 }, 25819 { 25820 MethodName: "UpsertGithubConnectorV2", 25821 Handler: _AuthService_UpsertGithubConnectorV2_Handler, 25822 }, 25823 { 25824 MethodName: "DeleteGithubConnector", 25825 Handler: _AuthService_DeleteGithubConnector_Handler, 25826 }, 25827 { 25828 MethodName: "CreateGithubAuthRequest", 25829 Handler: _AuthService_CreateGithubAuthRequest_Handler, 25830 }, 25831 { 25832 MethodName: "GetGithubAuthRequest", 25833 Handler: _AuthService_GetGithubAuthRequest_Handler, 25834 }, 25835 { 25836 MethodName: "GetSSODiagnosticInfo", 25837 Handler: _AuthService_GetSSODiagnosticInfo_Handler, 25838 }, 25839 { 25840 MethodName: "GetServerInfo", 25841 Handler: _AuthService_GetServerInfo_Handler, 25842 }, 25843 { 25844 MethodName: "UpsertServerInfo", 25845 Handler: _AuthService_UpsertServerInfo_Handler, 25846 }, 25847 { 25848 MethodName: "DeleteServerInfo", 25849 Handler: _AuthService_DeleteServerInfo_Handler, 25850 }, 25851 { 25852 MethodName: "DeleteAllServerInfos", 25853 Handler: _AuthService_DeleteAllServerInfos_Handler, 25854 }, 25855 { 25856 MethodName: "GetTrustedCluster", 25857 Handler: _AuthService_GetTrustedCluster_Handler, 25858 }, 25859 { 25860 MethodName: "GetTrustedClusters", 25861 Handler: _AuthService_GetTrustedClusters_Handler, 25862 }, 25863 { 25864 MethodName: "UpsertTrustedCluster", 25865 Handler: _AuthService_UpsertTrustedCluster_Handler, 25866 }, 25867 { 25868 MethodName: "DeleteTrustedCluster", 25869 Handler: _AuthService_DeleteTrustedCluster_Handler, 25870 }, 25871 { 25872 MethodName: "GetToken", 25873 Handler: _AuthService_GetToken_Handler, 25874 }, 25875 { 25876 MethodName: "GetTokens", 25877 Handler: _AuthService_GetTokens_Handler, 25878 }, 25879 { 25880 MethodName: "CreateTokenV2", 25881 Handler: _AuthService_CreateTokenV2_Handler, 25882 }, 25883 { 25884 MethodName: "UpsertTokenV2", 25885 Handler: _AuthService_UpsertTokenV2_Handler, 25886 }, 25887 { 25888 MethodName: "DeleteToken", 25889 Handler: _AuthService_DeleteToken_Handler, 25890 }, 25891 { 25892 MethodName: "GetClusterAuditConfig", 25893 Handler: _AuthService_GetClusterAuditConfig_Handler, 25894 }, 25895 { 25896 MethodName: "GetClusterNetworkingConfig", 25897 Handler: _AuthService_GetClusterNetworkingConfig_Handler, 25898 }, 25899 { 25900 MethodName: "SetClusterNetworkingConfig", 25901 Handler: _AuthService_SetClusterNetworkingConfig_Handler, 25902 }, 25903 { 25904 MethodName: "ResetClusterNetworkingConfig", 25905 Handler: _AuthService_ResetClusterNetworkingConfig_Handler, 25906 }, 25907 { 25908 MethodName: "GetSessionRecordingConfig", 25909 Handler: _AuthService_GetSessionRecordingConfig_Handler, 25910 }, 25911 { 25912 MethodName: "SetSessionRecordingConfig", 25913 Handler: _AuthService_SetSessionRecordingConfig_Handler, 25914 }, 25915 { 25916 MethodName: "ResetSessionRecordingConfig", 25917 Handler: _AuthService_ResetSessionRecordingConfig_Handler, 25918 }, 25919 { 25920 MethodName: "GetAuthPreference", 25921 Handler: _AuthService_GetAuthPreference_Handler, 25922 }, 25923 { 25924 MethodName: "SetAuthPreference", 25925 Handler: _AuthService_SetAuthPreference_Handler, 25926 }, 25927 { 25928 MethodName: "ResetAuthPreference", 25929 Handler: _AuthService_ResetAuthPreference_Handler, 25930 }, 25931 { 25932 MethodName: "GetUIConfig", 25933 Handler: _AuthService_GetUIConfig_Handler, 25934 }, 25935 { 25936 MethodName: "SetUIConfig", 25937 Handler: _AuthService_SetUIConfig_Handler, 25938 }, 25939 { 25940 MethodName: "DeleteUIConfig", 25941 Handler: _AuthService_DeleteUIConfig_Handler, 25942 }, 25943 { 25944 MethodName: "GetEvents", 25945 Handler: _AuthService_GetEvents_Handler, 25946 }, 25947 { 25948 MethodName: "GetSessionEvents", 25949 Handler: _AuthService_GetSessionEvents_Handler, 25950 }, 25951 { 25952 MethodName: "GetLock", 25953 Handler: _AuthService_GetLock_Handler, 25954 }, 25955 { 25956 MethodName: "GetLocks", 25957 Handler: _AuthService_GetLocks_Handler, 25958 }, 25959 { 25960 MethodName: "UpsertLock", 25961 Handler: _AuthService_UpsertLock_Handler, 25962 }, 25963 { 25964 MethodName: "DeleteLock", 25965 Handler: _AuthService_DeleteLock_Handler, 25966 }, 25967 { 25968 MethodName: "ReplaceRemoteLocks", 25969 Handler: _AuthService_ReplaceRemoteLocks_Handler, 25970 }, 25971 { 25972 MethodName: "GetNetworkRestrictions", 25973 Handler: _AuthService_GetNetworkRestrictions_Handler, 25974 }, 25975 { 25976 MethodName: "SetNetworkRestrictions", 25977 Handler: _AuthService_SetNetworkRestrictions_Handler, 25978 }, 25979 { 25980 MethodName: "DeleteNetworkRestrictions", 25981 Handler: _AuthService_DeleteNetworkRestrictions_Handler, 25982 }, 25983 { 25984 MethodName: "GetApps", 25985 Handler: _AuthService_GetApps_Handler, 25986 }, 25987 { 25988 MethodName: "GetApp", 25989 Handler: _AuthService_GetApp_Handler, 25990 }, 25991 { 25992 MethodName: "CreateApp", 25993 Handler: _AuthService_CreateApp_Handler, 25994 }, 25995 { 25996 MethodName: "UpdateApp", 25997 Handler: _AuthService_UpdateApp_Handler, 25998 }, 25999 { 26000 MethodName: "DeleteApp", 26001 Handler: _AuthService_DeleteApp_Handler, 26002 }, 26003 { 26004 MethodName: "DeleteAllApps", 26005 Handler: _AuthService_DeleteAllApps_Handler, 26006 }, 26007 { 26008 MethodName: "GetDatabases", 26009 Handler: _AuthService_GetDatabases_Handler, 26010 }, 26011 { 26012 MethodName: "GetDatabase", 26013 Handler: _AuthService_GetDatabase_Handler, 26014 }, 26015 { 26016 MethodName: "CreateDatabase", 26017 Handler: _AuthService_CreateDatabase_Handler, 26018 }, 26019 { 26020 MethodName: "UpdateDatabase", 26021 Handler: _AuthService_UpdateDatabase_Handler, 26022 }, 26023 { 26024 MethodName: "DeleteDatabase", 26025 Handler: _AuthService_DeleteDatabase_Handler, 26026 }, 26027 { 26028 MethodName: "DeleteAllDatabases", 26029 Handler: _AuthService_DeleteAllDatabases_Handler, 26030 }, 26031 { 26032 MethodName: "GetKubernetesClusters", 26033 Handler: _AuthService_GetKubernetesClusters_Handler, 26034 }, 26035 { 26036 MethodName: "GetKubernetesCluster", 26037 Handler: _AuthService_GetKubernetesCluster_Handler, 26038 }, 26039 { 26040 MethodName: "CreateKubernetesCluster", 26041 Handler: _AuthService_CreateKubernetesCluster_Handler, 26042 }, 26043 { 26044 MethodName: "UpdateKubernetesCluster", 26045 Handler: _AuthService_UpdateKubernetesCluster_Handler, 26046 }, 26047 { 26048 MethodName: "DeleteKubernetesCluster", 26049 Handler: _AuthService_DeleteKubernetesCluster_Handler, 26050 }, 26051 { 26052 MethodName: "DeleteAllKubernetesClusters", 26053 Handler: _AuthService_DeleteAllKubernetesClusters_Handler, 26054 }, 26055 { 26056 MethodName: "GetWindowsDesktopServices", 26057 Handler: _AuthService_GetWindowsDesktopServices_Handler, 26058 }, 26059 { 26060 MethodName: "GetWindowsDesktopService", 26061 Handler: _AuthService_GetWindowsDesktopService_Handler, 26062 }, 26063 { 26064 MethodName: "UpsertWindowsDesktopService", 26065 Handler: _AuthService_UpsertWindowsDesktopService_Handler, 26066 }, 26067 { 26068 MethodName: "DeleteWindowsDesktopService", 26069 Handler: _AuthService_DeleteWindowsDesktopService_Handler, 26070 }, 26071 { 26072 MethodName: "DeleteAllWindowsDesktopServices", 26073 Handler: _AuthService_DeleteAllWindowsDesktopServices_Handler, 26074 }, 26075 { 26076 MethodName: "GetWindowsDesktops", 26077 Handler: _AuthService_GetWindowsDesktops_Handler, 26078 }, 26079 { 26080 MethodName: "CreateWindowsDesktop", 26081 Handler: _AuthService_CreateWindowsDesktop_Handler, 26082 }, 26083 { 26084 MethodName: "UpdateWindowsDesktop", 26085 Handler: _AuthService_UpdateWindowsDesktop_Handler, 26086 }, 26087 { 26088 MethodName: "UpsertWindowsDesktop", 26089 Handler: _AuthService_UpsertWindowsDesktop_Handler, 26090 }, 26091 { 26092 MethodName: "DeleteWindowsDesktop", 26093 Handler: _AuthService_DeleteWindowsDesktop_Handler, 26094 }, 26095 { 26096 MethodName: "DeleteAllWindowsDesktops", 26097 Handler: _AuthService_DeleteAllWindowsDesktops_Handler, 26098 }, 26099 { 26100 MethodName: "GenerateWindowsDesktopCert", 26101 Handler: _AuthService_GenerateWindowsDesktopCert_Handler, 26102 }, 26103 { 26104 MethodName: "GenerateCertAuthorityCRL", 26105 Handler: _AuthService_GenerateCertAuthorityCRL_Handler, 26106 }, 26107 { 26108 MethodName: "CreateConnectionDiagnostic", 26109 Handler: _AuthService_CreateConnectionDiagnostic_Handler, 26110 }, 26111 { 26112 MethodName: "UpdateConnectionDiagnostic", 26113 Handler: _AuthService_UpdateConnectionDiagnostic_Handler, 26114 }, 26115 { 26116 MethodName: "GetConnectionDiagnostic", 26117 Handler: _AuthService_GetConnectionDiagnostic_Handler, 26118 }, 26119 { 26120 MethodName: "AppendDiagnosticTrace", 26121 Handler: _AuthService_AppendDiagnosticTrace_Handler, 26122 }, 26123 { 26124 MethodName: "ChangeUserAuthentication", 26125 Handler: _AuthService_ChangeUserAuthentication_Handler, 26126 }, 26127 { 26128 MethodName: "StartAccountRecovery", 26129 Handler: _AuthService_StartAccountRecovery_Handler, 26130 }, 26131 { 26132 MethodName: "VerifyAccountRecovery", 26133 Handler: _AuthService_VerifyAccountRecovery_Handler, 26134 }, 26135 { 26136 MethodName: "CompleteAccountRecovery", 26137 Handler: _AuthService_CompleteAccountRecovery_Handler, 26138 }, 26139 { 26140 MethodName: "CreateAccountRecoveryCodes", 26141 Handler: _AuthService_CreateAccountRecoveryCodes_Handler, 26142 }, 26143 { 26144 MethodName: "GetAccountRecoveryToken", 26145 Handler: _AuthService_GetAccountRecoveryToken_Handler, 26146 }, 26147 { 26148 MethodName: "GetAccountRecoveryCodes", 26149 Handler: _AuthService_GetAccountRecoveryCodes_Handler, 26150 }, 26151 { 26152 MethodName: "CreatePrivilegeToken", 26153 Handler: _AuthService_CreatePrivilegeToken_Handler, 26154 }, 26155 { 26156 MethodName: "GetInstaller", 26157 Handler: _AuthService_GetInstaller_Handler, 26158 }, 26159 { 26160 MethodName: "GetInstallers", 26161 Handler: _AuthService_GetInstallers_Handler, 26162 }, 26163 { 26164 MethodName: "SetInstaller", 26165 Handler: _AuthService_SetInstaller_Handler, 26166 }, 26167 { 26168 MethodName: "DeleteInstaller", 26169 Handler: _AuthService_DeleteInstaller_Handler, 26170 }, 26171 { 26172 MethodName: "DeleteAllInstallers", 26173 Handler: _AuthService_DeleteAllInstallers_Handler, 26174 }, 26175 { 26176 MethodName: "ListResources", 26177 Handler: _AuthService_ListResources_Handler, 26178 }, 26179 { 26180 MethodName: "ListUnifiedResources", 26181 Handler: _AuthService_ListUnifiedResources_Handler, 26182 }, 26183 { 26184 MethodName: "GetSSHTargets", 26185 Handler: _AuthService_GetSSHTargets_Handler, 26186 }, 26187 { 26188 MethodName: "GetDomainName", 26189 Handler: _AuthService_GetDomainName_Handler, 26190 }, 26191 { 26192 MethodName: "GetClusterCACert", 26193 Handler: _AuthService_GetClusterCACert_Handler, 26194 }, 26195 { 26196 MethodName: "SubmitUsageEvent", 26197 Handler: _AuthService_SubmitUsageEvent_Handler, 26198 }, 26199 { 26200 MethodName: "GetLicense", 26201 Handler: _AuthService_GetLicense_Handler, 26202 }, 26203 { 26204 MethodName: "ListReleases", 26205 Handler: _AuthService_ListReleases_Handler, 26206 }, 26207 { 26208 MethodName: "ListSAMLIdPServiceProviders", 26209 Handler: _AuthService_ListSAMLIdPServiceProviders_Handler, 26210 }, 26211 { 26212 MethodName: "GetSAMLIdPServiceProvider", 26213 Handler: _AuthService_GetSAMLIdPServiceProvider_Handler, 26214 }, 26215 { 26216 MethodName: "CreateSAMLIdPServiceProvider", 26217 Handler: _AuthService_CreateSAMLIdPServiceProvider_Handler, 26218 }, 26219 { 26220 MethodName: "UpdateSAMLIdPServiceProvider", 26221 Handler: _AuthService_UpdateSAMLIdPServiceProvider_Handler, 26222 }, 26223 { 26224 MethodName: "DeleteSAMLIdPServiceProvider", 26225 Handler: _AuthService_DeleteSAMLIdPServiceProvider_Handler, 26226 }, 26227 { 26228 MethodName: "DeleteAllSAMLIdPServiceProviders", 26229 Handler: _AuthService_DeleteAllSAMLIdPServiceProviders_Handler, 26230 }, 26231 { 26232 MethodName: "ListUserGroups", 26233 Handler: _AuthService_ListUserGroups_Handler, 26234 }, 26235 { 26236 MethodName: "GetUserGroup", 26237 Handler: _AuthService_GetUserGroup_Handler, 26238 }, 26239 { 26240 MethodName: "CreateUserGroup", 26241 Handler: _AuthService_CreateUserGroup_Handler, 26242 }, 26243 { 26244 MethodName: "UpdateUserGroup", 26245 Handler: _AuthService_UpdateUserGroup_Handler, 26246 }, 26247 { 26248 MethodName: "DeleteUserGroup", 26249 Handler: _AuthService_DeleteUserGroup_Handler, 26250 }, 26251 { 26252 MethodName: "DeleteAllUserGroups", 26253 Handler: _AuthService_DeleteAllUserGroups_Handler, 26254 }, 26255 { 26256 MethodName: "GetHeadlessAuthentication", 26257 Handler: _AuthService_GetHeadlessAuthentication_Handler, 26258 }, 26259 { 26260 MethodName: "UpdateHeadlessAuthenticationState", 26261 Handler: _AuthService_UpdateHeadlessAuthenticationState_Handler, 26262 }, 26263 { 26264 MethodName: "ExportUpgradeWindows", 26265 Handler: _AuthService_ExportUpgradeWindows_Handler, 26266 }, 26267 { 26268 MethodName: "GetClusterMaintenanceConfig", 26269 Handler: _AuthService_GetClusterMaintenanceConfig_Handler, 26270 }, 26271 { 26272 MethodName: "UpdateClusterMaintenanceConfig", 26273 Handler: _AuthService_UpdateClusterMaintenanceConfig_Handler, 26274 }, 26275 { 26276 MethodName: "DeleteClusterMaintenanceConfig", 26277 Handler: _AuthService_DeleteClusterMaintenanceConfig_Handler, 26278 }, 26279 }, 26280 Streams: []grpc.StreamDesc{ 26281 { 26282 StreamName: "InventoryControlStream", 26283 Handler: _AuthService_InventoryControlStream_Handler, 26284 ServerStreams: true, 26285 ClientStreams: true, 26286 }, 26287 { 26288 StreamName: "GetInstances", 26289 Handler: _AuthService_GetInstances_Handler, 26290 ServerStreams: true, 26291 }, 26292 { 26293 StreamName: "MaintainSessionPresence", 26294 Handler: _AuthService_MaintainSessionPresence_Handler, 26295 ServerStreams: true, 26296 ClientStreams: true, 26297 }, 26298 { 26299 StreamName: "GetActiveSessionTrackers", 26300 Handler: _AuthService_GetActiveSessionTrackers_Handler, 26301 ServerStreams: true, 26302 }, 26303 { 26304 StreamName: "GetActiveSessionTrackersWithFilter", 26305 Handler: _AuthService_GetActiveSessionTrackersWithFilter_Handler, 26306 ServerStreams: true, 26307 }, 26308 { 26309 StreamName: "SendKeepAlives", 26310 Handler: _AuthService_SendKeepAlives_Handler, 26311 ClientStreams: true, 26312 }, 26313 { 26314 StreamName: "WatchEvents", 26315 Handler: _AuthService_WatchEvents_Handler, 26316 ServerStreams: true, 26317 }, 26318 { 26319 StreamName: "GenerateUserSingleUseCerts", 26320 Handler: _AuthService_GenerateUserSingleUseCerts_Handler, 26321 ServerStreams: true, 26322 ClientStreams: true, 26323 }, 26324 { 26325 StreamName: "GetAccessRequestsV2", 26326 Handler: _AuthService_GetAccessRequestsV2_Handler, 26327 ServerStreams: true, 26328 }, 26329 { 26330 StreamName: "GetCurrentUserRoles", 26331 Handler: _AuthService_GetCurrentUserRoles_Handler, 26332 ServerStreams: true, 26333 }, 26334 { 26335 StreamName: "GetUsers", 26336 Handler: _AuthService_GetUsers_Handler, 26337 ServerStreams: true, 26338 }, 26339 { 26340 StreamName: "CreateAuditStream", 26341 Handler: _AuthService_CreateAuditStream_Handler, 26342 ServerStreams: true, 26343 ClientStreams: true, 26344 }, 26345 { 26346 StreamName: "AddMFADevice", 26347 Handler: _AuthService_AddMFADevice_Handler, 26348 ServerStreams: true, 26349 ClientStreams: true, 26350 }, 26351 { 26352 StreamName: "DeleteMFADevice", 26353 Handler: _AuthService_DeleteMFADevice_Handler, 26354 ServerStreams: true, 26355 ClientStreams: true, 26356 }, 26357 { 26358 StreamName: "GetServerInfos", 26359 Handler: _AuthService_GetServerInfos_Handler, 26360 ServerStreams: true, 26361 }, 26362 { 26363 StreamName: "StreamSessionEvents", 26364 Handler: _AuthService_StreamSessionEvents_Handler, 26365 ServerStreams: true, 26366 }, 26367 { 26368 StreamName: "WatchPendingHeadlessAuthentications", 26369 Handler: _AuthService_WatchPendingHeadlessAuthentications_Handler, 26370 ServerStreams: true, 26371 }, 26372 }, 26373 Metadata: "teleport/legacy/client/proto/authservice.proto", 26374 } 26375 26376 func (m *Watch) Marshal() (dAtA []byte, err error) { 26377 size := m.Size() 26378 dAtA = make([]byte, size) 26379 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26380 if err != nil { 26381 return nil, err 26382 } 26383 return dAtA[:n], nil 26384 } 26385 26386 func (m *Watch) MarshalTo(dAtA []byte) (int, error) { 26387 size := m.Size() 26388 return m.MarshalToSizedBuffer(dAtA[:size]) 26389 } 26390 26391 func (m *Watch) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26392 i := len(dAtA) 26393 _ = i 26394 var l int 26395 _ = l 26396 if m.XXX_unrecognized != nil { 26397 i -= len(m.XXX_unrecognized) 26398 copy(dAtA[i:], m.XXX_unrecognized) 26399 } 26400 if m.AllowPartialSuccess { 26401 i-- 26402 if m.AllowPartialSuccess { 26403 dAtA[i] = 1 26404 } else { 26405 dAtA[i] = 0 26406 } 26407 i-- 26408 dAtA[i] = 0x10 26409 } 26410 if len(m.Kinds) > 0 { 26411 for iNdEx := len(m.Kinds) - 1; iNdEx >= 0; iNdEx-- { 26412 { 26413 size, err := m.Kinds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 26414 if err != nil { 26415 return 0, err 26416 } 26417 i -= size 26418 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 26419 } 26420 i-- 26421 dAtA[i] = 0xa 26422 } 26423 } 26424 return len(dAtA) - i, nil 26425 } 26426 26427 func (m *HostCertsRequest) Marshal() (dAtA []byte, err error) { 26428 size := m.Size() 26429 dAtA = make([]byte, size) 26430 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26431 if err != nil { 26432 return nil, err 26433 } 26434 return dAtA[:n], nil 26435 } 26436 26437 func (m *HostCertsRequest) MarshalTo(dAtA []byte) (int, error) { 26438 size := m.Size() 26439 return m.MarshalToSizedBuffer(dAtA[:size]) 26440 } 26441 26442 func (m *HostCertsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26443 i := len(dAtA) 26444 _ = i 26445 var l int 26446 _ = l 26447 if m.XXX_unrecognized != nil { 26448 i -= len(m.XXX_unrecognized) 26449 copy(dAtA[i:], m.XXX_unrecognized) 26450 } 26451 if len(m.SystemRoles) > 0 { 26452 for iNdEx := len(m.SystemRoles) - 1; iNdEx >= 0; iNdEx-- { 26453 i -= len(m.SystemRoles[iNdEx]) 26454 copy(dAtA[i:], m.SystemRoles[iNdEx]) 26455 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SystemRoles[iNdEx]))) 26456 i-- 26457 dAtA[i] = 0x5a 26458 } 26459 } 26460 if m.NoCache { 26461 i-- 26462 if m.NoCache { 26463 dAtA[i] = 1 26464 } else { 26465 dAtA[i] = 0 26466 } 26467 i-- 26468 dAtA[i] = 0x50 26469 } 26470 if m.Rotation != nil { 26471 { 26472 size, err := m.Rotation.MarshalToSizedBuffer(dAtA[:i]) 26473 if err != nil { 26474 return 0, err 26475 } 26476 i -= size 26477 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 26478 } 26479 i-- 26480 dAtA[i] = 0x4a 26481 } 26482 if len(m.RemoteAddr) > 0 { 26483 i -= len(m.RemoteAddr) 26484 copy(dAtA[i:], m.RemoteAddr) 26485 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.RemoteAddr))) 26486 i-- 26487 dAtA[i] = 0x42 26488 } 26489 if len(m.PublicSSHKey) > 0 { 26490 i -= len(m.PublicSSHKey) 26491 copy(dAtA[i:], m.PublicSSHKey) 26492 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.PublicSSHKey))) 26493 i-- 26494 dAtA[i] = 0x3a 26495 } 26496 if len(m.PublicTLSKey) > 0 { 26497 i -= len(m.PublicTLSKey) 26498 copy(dAtA[i:], m.PublicTLSKey) 26499 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.PublicTLSKey))) 26500 i-- 26501 dAtA[i] = 0x32 26502 } 26503 if len(m.DNSNames) > 0 { 26504 for iNdEx := len(m.DNSNames) - 1; iNdEx >= 0; iNdEx-- { 26505 i -= len(m.DNSNames[iNdEx]) 26506 copy(dAtA[i:], m.DNSNames[iNdEx]) 26507 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.DNSNames[iNdEx]))) 26508 i-- 26509 dAtA[i] = 0x2a 26510 } 26511 } 26512 if len(m.AdditionalPrincipals) > 0 { 26513 for iNdEx := len(m.AdditionalPrincipals) - 1; iNdEx >= 0; iNdEx-- { 26514 i -= len(m.AdditionalPrincipals[iNdEx]) 26515 copy(dAtA[i:], m.AdditionalPrincipals[iNdEx]) 26516 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.AdditionalPrincipals[iNdEx]))) 26517 i-- 26518 dAtA[i] = 0x22 26519 } 26520 } 26521 if len(m.Role) > 0 { 26522 i -= len(m.Role) 26523 copy(dAtA[i:], m.Role) 26524 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Role))) 26525 i-- 26526 dAtA[i] = 0x1a 26527 } 26528 if len(m.NodeName) > 0 { 26529 i -= len(m.NodeName) 26530 copy(dAtA[i:], m.NodeName) 26531 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NodeName))) 26532 i-- 26533 dAtA[i] = 0x12 26534 } 26535 if len(m.HostID) > 0 { 26536 i -= len(m.HostID) 26537 copy(dAtA[i:], m.HostID) 26538 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.HostID))) 26539 i-- 26540 dAtA[i] = 0xa 26541 } 26542 return len(dAtA) - i, nil 26543 } 26544 26545 func (m *OpenSSHCertRequest) Marshal() (dAtA []byte, err error) { 26546 size := m.Size() 26547 dAtA = make([]byte, size) 26548 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26549 if err != nil { 26550 return nil, err 26551 } 26552 return dAtA[:n], nil 26553 } 26554 26555 func (m *OpenSSHCertRequest) MarshalTo(dAtA []byte) (int, error) { 26556 size := m.Size() 26557 return m.MarshalToSizedBuffer(dAtA[:size]) 26558 } 26559 26560 func (m *OpenSSHCertRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26561 i := len(dAtA) 26562 _ = i 26563 var l int 26564 _ = l 26565 if m.XXX_unrecognized != nil { 26566 i -= len(m.XXX_unrecognized) 26567 copy(dAtA[i:], m.XXX_unrecognized) 26568 } 26569 if len(m.Roles) > 0 { 26570 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 26571 { 26572 size, err := m.Roles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 26573 if err != nil { 26574 return 0, err 26575 } 26576 i -= size 26577 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 26578 } 26579 i-- 26580 dAtA[i] = 0x32 26581 } 26582 } 26583 if m.User != nil { 26584 { 26585 size, err := m.User.MarshalToSizedBuffer(dAtA[:i]) 26586 if err != nil { 26587 return 0, err 26588 } 26589 i -= size 26590 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 26591 } 26592 i-- 26593 dAtA[i] = 0x2a 26594 } 26595 if len(m.Cluster) > 0 { 26596 i -= len(m.Cluster) 26597 copy(dAtA[i:], m.Cluster) 26598 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Cluster))) 26599 i-- 26600 dAtA[i] = 0x22 26601 } 26602 if m.TTL != 0 { 26603 i = encodeVarintAuthservice(dAtA, i, uint64(m.TTL)) 26604 i-- 26605 dAtA[i] = 0x18 26606 } 26607 if len(m.PublicKey) > 0 { 26608 i -= len(m.PublicKey) 26609 copy(dAtA[i:], m.PublicKey) 26610 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.PublicKey))) 26611 i-- 26612 dAtA[i] = 0x12 26613 } 26614 return len(dAtA) - i, nil 26615 } 26616 26617 func (m *OpenSSHCert) Marshal() (dAtA []byte, err error) { 26618 size := m.Size() 26619 dAtA = make([]byte, size) 26620 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26621 if err != nil { 26622 return nil, err 26623 } 26624 return dAtA[:n], nil 26625 } 26626 26627 func (m *OpenSSHCert) MarshalTo(dAtA []byte) (int, error) { 26628 size := m.Size() 26629 return m.MarshalToSizedBuffer(dAtA[:size]) 26630 } 26631 26632 func (m *OpenSSHCert) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26633 i := len(dAtA) 26634 _ = i 26635 var l int 26636 _ = l 26637 if m.XXX_unrecognized != nil { 26638 i -= len(m.XXX_unrecognized) 26639 copy(dAtA[i:], m.XXX_unrecognized) 26640 } 26641 if len(m.Cert) > 0 { 26642 i -= len(m.Cert) 26643 copy(dAtA[i:], m.Cert) 26644 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Cert))) 26645 i-- 26646 dAtA[i] = 0xa 26647 } 26648 return len(dAtA) - i, nil 26649 } 26650 26651 func (m *UserCertsRequest) Marshal() (dAtA []byte, err error) { 26652 size := m.Size() 26653 dAtA = make([]byte, size) 26654 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26655 if err != nil { 26656 return nil, err 26657 } 26658 return dAtA[:n], nil 26659 } 26660 26661 func (m *UserCertsRequest) MarshalTo(dAtA []byte) (int, error) { 26662 size := m.Size() 26663 return m.MarshalToSizedBuffer(dAtA[:size]) 26664 } 26665 26666 func (m *UserCertsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26667 i := len(dAtA) 26668 _ = i 26669 var l int 26670 _ = l 26671 if m.XXX_unrecognized != nil { 26672 i -= len(m.XXX_unrecognized) 26673 copy(dAtA[i:], m.XXX_unrecognized) 26674 } 26675 if m.Purpose != 0 { 26676 i = encodeVarintAuthservice(dAtA, i, uint64(m.Purpose)) 26677 i-- 26678 dAtA[i] = 0x1 26679 i-- 26680 dAtA[i] = 0xa8 26681 } 26682 if m.AttestationStatement != nil { 26683 { 26684 size, err := m.AttestationStatement.MarshalToSizedBuffer(dAtA[:i]) 26685 if err != nil { 26686 return 0, err 26687 } 26688 i -= size 26689 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 26690 } 26691 i-- 26692 dAtA[i] = 0x1 26693 i-- 26694 dAtA[i] = 0xa2 26695 } 26696 if len(m.SSHLogin) > 0 { 26697 i -= len(m.SSHLogin) 26698 copy(dAtA[i:], m.SSHLogin) 26699 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SSHLogin))) 26700 i-- 26701 dAtA[i] = 0x1 26702 i-- 26703 dAtA[i] = 0x9a 26704 } 26705 if m.MFAResponse != nil { 26706 { 26707 size, err := m.MFAResponse.MarshalToSizedBuffer(dAtA[:i]) 26708 if err != nil { 26709 return 0, err 26710 } 26711 i -= size 26712 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 26713 } 26714 i-- 26715 dAtA[i] = 0x1 26716 i-- 26717 dAtA[i] = 0x92 26718 } 26719 if m.RequesterName != 0 { 26720 i = encodeVarintAuthservice(dAtA, i, uint64(m.RequesterName)) 26721 i-- 26722 dAtA[i] = 0x1 26723 i-- 26724 dAtA[i] = 0x88 26725 } 26726 if len(m.ConnectionDiagnosticID) > 0 { 26727 i -= len(m.ConnectionDiagnosticID) 26728 copy(dAtA[i:], m.ConnectionDiagnosticID) 26729 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ConnectionDiagnosticID))) 26730 i-- 26731 dAtA[i] = 0x1 26732 i-- 26733 dAtA[i] = 0x82 26734 } 26735 if len(m.DropAccessRequests) > 0 { 26736 for iNdEx := len(m.DropAccessRequests) - 1; iNdEx >= 0; iNdEx-- { 26737 i -= len(m.DropAccessRequests[iNdEx]) 26738 copy(dAtA[i:], m.DropAccessRequests[iNdEx]) 26739 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.DropAccessRequests[iNdEx]))) 26740 i-- 26741 dAtA[i] = 0x7a 26742 } 26743 } 26744 if m.UseRoleRequests { 26745 i-- 26746 if m.UseRoleRequests { 26747 dAtA[i] = 1 26748 } else { 26749 dAtA[i] = 0 26750 } 26751 i-- 26752 dAtA[i] = 0x70 26753 } 26754 { 26755 size, err := m.RouteToWindowsDesktop.MarshalToSizedBuffer(dAtA[:i]) 26756 if err != nil { 26757 return 0, err 26758 } 26759 i -= size 26760 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 26761 } 26762 i-- 26763 dAtA[i] = 0x6a 26764 if len(m.RoleRequests) > 0 { 26765 for iNdEx := len(m.RoleRequests) - 1; iNdEx >= 0; iNdEx-- { 26766 i -= len(m.RoleRequests[iNdEx]) 26767 copy(dAtA[i:], m.RoleRequests[iNdEx]) 26768 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.RoleRequests[iNdEx]))) 26769 i-- 26770 dAtA[i] = 0x62 26771 } 26772 } 26773 { 26774 size, err := m.RouteToApp.MarshalToSizedBuffer(dAtA[:i]) 26775 if err != nil { 26776 return 0, err 26777 } 26778 i -= size 26779 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 26780 } 26781 i-- 26782 dAtA[i] = 0x5a 26783 if m.Usage != 0 { 26784 i = encodeVarintAuthservice(dAtA, i, uint64(m.Usage)) 26785 i-- 26786 dAtA[i] = 0x50 26787 } 26788 if len(m.NodeName) > 0 { 26789 i -= len(m.NodeName) 26790 copy(dAtA[i:], m.NodeName) 26791 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NodeName))) 26792 i-- 26793 dAtA[i] = 0x4a 26794 } 26795 { 26796 size, err := m.RouteToDatabase.MarshalToSizedBuffer(dAtA[:i]) 26797 if err != nil { 26798 return 0, err 26799 } 26800 i -= size 26801 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 26802 } 26803 i-- 26804 dAtA[i] = 0x42 26805 if len(m.KubernetesCluster) > 0 { 26806 i -= len(m.KubernetesCluster) 26807 copy(dAtA[i:], m.KubernetesCluster) 26808 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.KubernetesCluster))) 26809 i-- 26810 dAtA[i] = 0x3a 26811 } 26812 if len(m.AccessRequests) > 0 { 26813 for iNdEx := len(m.AccessRequests) - 1; iNdEx >= 0; iNdEx-- { 26814 i -= len(m.AccessRequests[iNdEx]) 26815 copy(dAtA[i:], m.AccessRequests[iNdEx]) 26816 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.AccessRequests[iNdEx]))) 26817 i-- 26818 dAtA[i] = 0x32 26819 } 26820 } 26821 if len(m.RouteToCluster) > 0 { 26822 i -= len(m.RouteToCluster) 26823 copy(dAtA[i:], m.RouteToCluster) 26824 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.RouteToCluster))) 26825 i-- 26826 dAtA[i] = 0x2a 26827 } 26828 if len(m.Format) > 0 { 26829 i -= len(m.Format) 26830 copy(dAtA[i:], m.Format) 26831 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Format))) 26832 i-- 26833 dAtA[i] = 0x22 26834 } 26835 n8, err8 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires):]) 26836 if err8 != nil { 26837 return 0, err8 26838 } 26839 i -= n8 26840 i = encodeVarintAuthservice(dAtA, i, uint64(n8)) 26841 i-- 26842 dAtA[i] = 0x1a 26843 if len(m.Username) > 0 { 26844 i -= len(m.Username) 26845 copy(dAtA[i:], m.Username) 26846 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Username))) 26847 i-- 26848 dAtA[i] = 0x12 26849 } 26850 if len(m.PublicKey) > 0 { 26851 i -= len(m.PublicKey) 26852 copy(dAtA[i:], m.PublicKey) 26853 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.PublicKey))) 26854 i-- 26855 dAtA[i] = 0xa 26856 } 26857 return len(dAtA) - i, nil 26858 } 26859 26860 func (m *RouteToDatabase) Marshal() (dAtA []byte, err error) { 26861 size := m.Size() 26862 dAtA = make([]byte, size) 26863 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26864 if err != nil { 26865 return nil, err 26866 } 26867 return dAtA[:n], nil 26868 } 26869 26870 func (m *RouteToDatabase) MarshalTo(dAtA []byte) (int, error) { 26871 size := m.Size() 26872 return m.MarshalToSizedBuffer(dAtA[:size]) 26873 } 26874 26875 func (m *RouteToDatabase) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26876 i := len(dAtA) 26877 _ = i 26878 var l int 26879 _ = l 26880 if m.XXX_unrecognized != nil { 26881 i -= len(m.XXX_unrecognized) 26882 copy(dAtA[i:], m.XXX_unrecognized) 26883 } 26884 if len(m.Roles) > 0 { 26885 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 26886 i -= len(m.Roles[iNdEx]) 26887 copy(dAtA[i:], m.Roles[iNdEx]) 26888 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Roles[iNdEx]))) 26889 i-- 26890 dAtA[i] = 0x2a 26891 } 26892 } 26893 if len(m.Database) > 0 { 26894 i -= len(m.Database) 26895 copy(dAtA[i:], m.Database) 26896 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Database))) 26897 i-- 26898 dAtA[i] = 0x22 26899 } 26900 if len(m.Username) > 0 { 26901 i -= len(m.Username) 26902 copy(dAtA[i:], m.Username) 26903 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Username))) 26904 i-- 26905 dAtA[i] = 0x1a 26906 } 26907 if len(m.Protocol) > 0 { 26908 i -= len(m.Protocol) 26909 copy(dAtA[i:], m.Protocol) 26910 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Protocol))) 26911 i-- 26912 dAtA[i] = 0x12 26913 } 26914 if len(m.ServiceName) > 0 { 26915 i -= len(m.ServiceName) 26916 copy(dAtA[i:], m.ServiceName) 26917 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ServiceName))) 26918 i-- 26919 dAtA[i] = 0xa 26920 } 26921 return len(dAtA) - i, nil 26922 } 26923 26924 func (m *RouteToWindowsDesktop) Marshal() (dAtA []byte, err error) { 26925 size := m.Size() 26926 dAtA = make([]byte, size) 26927 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26928 if err != nil { 26929 return nil, err 26930 } 26931 return dAtA[:n], nil 26932 } 26933 26934 func (m *RouteToWindowsDesktop) MarshalTo(dAtA []byte) (int, error) { 26935 size := m.Size() 26936 return m.MarshalToSizedBuffer(dAtA[:size]) 26937 } 26938 26939 func (m *RouteToWindowsDesktop) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26940 i := len(dAtA) 26941 _ = i 26942 var l int 26943 _ = l 26944 if m.XXX_unrecognized != nil { 26945 i -= len(m.XXX_unrecognized) 26946 copy(dAtA[i:], m.XXX_unrecognized) 26947 } 26948 if len(m.Login) > 0 { 26949 i -= len(m.Login) 26950 copy(dAtA[i:], m.Login) 26951 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Login))) 26952 i-- 26953 dAtA[i] = 0x12 26954 } 26955 if len(m.WindowsDesktop) > 0 { 26956 i -= len(m.WindowsDesktop) 26957 copy(dAtA[i:], m.WindowsDesktop) 26958 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.WindowsDesktop))) 26959 i-- 26960 dAtA[i] = 0xa 26961 } 26962 return len(dAtA) - i, nil 26963 } 26964 26965 func (m *RouteToApp) Marshal() (dAtA []byte, err error) { 26966 size := m.Size() 26967 dAtA = make([]byte, size) 26968 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 26969 if err != nil { 26970 return nil, err 26971 } 26972 return dAtA[:n], nil 26973 } 26974 26975 func (m *RouteToApp) MarshalTo(dAtA []byte) (int, error) { 26976 size := m.Size() 26977 return m.MarshalToSizedBuffer(dAtA[:size]) 26978 } 26979 26980 func (m *RouteToApp) MarshalToSizedBuffer(dAtA []byte) (int, error) { 26981 i := len(dAtA) 26982 _ = i 26983 var l int 26984 _ = l 26985 if m.XXX_unrecognized != nil { 26986 i -= len(m.XXX_unrecognized) 26987 copy(dAtA[i:], m.XXX_unrecognized) 26988 } 26989 if len(m.GCPServiceAccount) > 0 { 26990 i -= len(m.GCPServiceAccount) 26991 copy(dAtA[i:], m.GCPServiceAccount) 26992 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.GCPServiceAccount))) 26993 i-- 26994 dAtA[i] = 0x3a 26995 } 26996 if len(m.AzureIdentity) > 0 { 26997 i -= len(m.AzureIdentity) 26998 copy(dAtA[i:], m.AzureIdentity) 26999 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.AzureIdentity))) 27000 i-- 27001 dAtA[i] = 0x32 27002 } 27003 if len(m.AWSRoleARN) > 0 { 27004 i -= len(m.AWSRoleARN) 27005 copy(dAtA[i:], m.AWSRoleARN) 27006 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.AWSRoleARN))) 27007 i-- 27008 dAtA[i] = 0x2a 27009 } 27010 if len(m.ClusterName) > 0 { 27011 i -= len(m.ClusterName) 27012 copy(dAtA[i:], m.ClusterName) 27013 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ClusterName))) 27014 i-- 27015 dAtA[i] = 0x22 27016 } 27017 if len(m.PublicAddr) > 0 { 27018 i -= len(m.PublicAddr) 27019 copy(dAtA[i:], m.PublicAddr) 27020 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.PublicAddr))) 27021 i-- 27022 dAtA[i] = 0x1a 27023 } 27024 if len(m.SessionID) > 0 { 27025 i -= len(m.SessionID) 27026 copy(dAtA[i:], m.SessionID) 27027 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 27028 i-- 27029 dAtA[i] = 0x12 27030 } 27031 if len(m.Name) > 0 { 27032 i -= len(m.Name) 27033 copy(dAtA[i:], m.Name) 27034 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 27035 i-- 27036 dAtA[i] = 0xa 27037 } 27038 return len(dAtA) - i, nil 27039 } 27040 27041 func (m *GetUserRequest) Marshal() (dAtA []byte, err error) { 27042 size := m.Size() 27043 dAtA = make([]byte, size) 27044 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27045 if err != nil { 27046 return nil, err 27047 } 27048 return dAtA[:n], nil 27049 } 27050 27051 func (m *GetUserRequest) MarshalTo(dAtA []byte) (int, error) { 27052 size := m.Size() 27053 return m.MarshalToSizedBuffer(dAtA[:size]) 27054 } 27055 27056 func (m *GetUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27057 i := len(dAtA) 27058 _ = i 27059 var l int 27060 _ = l 27061 if m.XXX_unrecognized != nil { 27062 i -= len(m.XXX_unrecognized) 27063 copy(dAtA[i:], m.XXX_unrecognized) 27064 } 27065 if m.WithSecrets { 27066 i-- 27067 if m.WithSecrets { 27068 dAtA[i] = 1 27069 } else { 27070 dAtA[i] = 0 27071 } 27072 i-- 27073 dAtA[i] = 0x10 27074 } 27075 if len(m.Name) > 0 { 27076 i -= len(m.Name) 27077 copy(dAtA[i:], m.Name) 27078 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 27079 i-- 27080 dAtA[i] = 0xa 27081 } 27082 return len(dAtA) - i, nil 27083 } 27084 27085 func (m *GetUsersRequest) Marshal() (dAtA []byte, err error) { 27086 size := m.Size() 27087 dAtA = make([]byte, size) 27088 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27089 if err != nil { 27090 return nil, err 27091 } 27092 return dAtA[:n], nil 27093 } 27094 27095 func (m *GetUsersRequest) MarshalTo(dAtA []byte) (int, error) { 27096 size := m.Size() 27097 return m.MarshalToSizedBuffer(dAtA[:size]) 27098 } 27099 27100 func (m *GetUsersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27101 i := len(dAtA) 27102 _ = i 27103 var l int 27104 _ = l 27105 if m.XXX_unrecognized != nil { 27106 i -= len(m.XXX_unrecognized) 27107 copy(dAtA[i:], m.XXX_unrecognized) 27108 } 27109 if m.WithSecrets { 27110 i-- 27111 if m.WithSecrets { 27112 dAtA[i] = 1 27113 } else { 27114 dAtA[i] = 0 27115 } 27116 i-- 27117 dAtA[i] = 0x8 27118 } 27119 return len(dAtA) - i, nil 27120 } 27121 27122 func (m *ChangePasswordRequest) Marshal() (dAtA []byte, err error) { 27123 size := m.Size() 27124 dAtA = make([]byte, size) 27125 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27126 if err != nil { 27127 return nil, err 27128 } 27129 return dAtA[:n], nil 27130 } 27131 27132 func (m *ChangePasswordRequest) MarshalTo(dAtA []byte) (int, error) { 27133 size := m.Size() 27134 return m.MarshalToSizedBuffer(dAtA[:size]) 27135 } 27136 27137 func (m *ChangePasswordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27138 i := len(dAtA) 27139 _ = i 27140 var l int 27141 _ = l 27142 if m.XXX_unrecognized != nil { 27143 i -= len(m.XXX_unrecognized) 27144 copy(dAtA[i:], m.XXX_unrecognized) 27145 } 27146 if m.Webauthn != nil { 27147 { 27148 size, err := m.Webauthn.MarshalToSizedBuffer(dAtA[:i]) 27149 if err != nil { 27150 return 0, err 27151 } 27152 i -= size 27153 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 27154 } 27155 i-- 27156 dAtA[i] = 0x2a 27157 } 27158 if len(m.SecondFactorToken) > 0 { 27159 i -= len(m.SecondFactorToken) 27160 copy(dAtA[i:], m.SecondFactorToken) 27161 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SecondFactorToken))) 27162 i-- 27163 dAtA[i] = 0x22 27164 } 27165 if len(m.NewPassword) > 0 { 27166 i -= len(m.NewPassword) 27167 copy(dAtA[i:], m.NewPassword) 27168 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NewPassword))) 27169 i-- 27170 dAtA[i] = 0x1a 27171 } 27172 if len(m.OldPassword) > 0 { 27173 i -= len(m.OldPassword) 27174 copy(dAtA[i:], m.OldPassword) 27175 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.OldPassword))) 27176 i-- 27177 dAtA[i] = 0x12 27178 } 27179 if len(m.User) > 0 { 27180 i -= len(m.User) 27181 copy(dAtA[i:], m.User) 27182 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.User))) 27183 i-- 27184 dAtA[i] = 0xa 27185 } 27186 return len(dAtA) - i, nil 27187 } 27188 27189 func (m *PluginDataSeq) Marshal() (dAtA []byte, err error) { 27190 size := m.Size() 27191 dAtA = make([]byte, size) 27192 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27193 if err != nil { 27194 return nil, err 27195 } 27196 return dAtA[:n], nil 27197 } 27198 27199 func (m *PluginDataSeq) MarshalTo(dAtA []byte) (int, error) { 27200 size := m.Size() 27201 return m.MarshalToSizedBuffer(dAtA[:size]) 27202 } 27203 27204 func (m *PluginDataSeq) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27205 i := len(dAtA) 27206 _ = i 27207 var l int 27208 _ = l 27209 if m.XXX_unrecognized != nil { 27210 i -= len(m.XXX_unrecognized) 27211 copy(dAtA[i:], m.XXX_unrecognized) 27212 } 27213 if len(m.PluginData) > 0 { 27214 for iNdEx := len(m.PluginData) - 1; iNdEx >= 0; iNdEx-- { 27215 { 27216 size, err := m.PluginData[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 27217 if err != nil { 27218 return 0, err 27219 } 27220 i -= size 27221 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 27222 } 27223 i-- 27224 dAtA[i] = 0xa 27225 } 27226 } 27227 return len(dAtA) - i, nil 27228 } 27229 27230 func (m *RequestStateSetter) Marshal() (dAtA []byte, err error) { 27231 size := m.Size() 27232 dAtA = make([]byte, size) 27233 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27234 if err != nil { 27235 return nil, err 27236 } 27237 return dAtA[:n], nil 27238 } 27239 27240 func (m *RequestStateSetter) MarshalTo(dAtA []byte) (int, error) { 27241 size := m.Size() 27242 return m.MarshalToSizedBuffer(dAtA[:size]) 27243 } 27244 27245 func (m *RequestStateSetter) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27246 i := len(dAtA) 27247 _ = i 27248 var l int 27249 _ = l 27250 if m.XXX_unrecognized != nil { 27251 i -= len(m.XXX_unrecognized) 27252 copy(dAtA[i:], m.XXX_unrecognized) 27253 } 27254 if m.AssumeStartTime != nil { 27255 n10, err10 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.AssumeStartTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.AssumeStartTime):]) 27256 if err10 != nil { 27257 return 0, err10 27258 } 27259 i -= n10 27260 i = encodeVarintAuthservice(dAtA, i, uint64(n10)) 27261 i-- 27262 dAtA[i] = 0x3a 27263 } 27264 if len(m.Roles) > 0 { 27265 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 27266 i -= len(m.Roles[iNdEx]) 27267 copy(dAtA[i:], m.Roles[iNdEx]) 27268 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Roles[iNdEx]))) 27269 i-- 27270 dAtA[i] = 0x32 27271 } 27272 } 27273 { 27274 size := m.Annotations.Size() 27275 i -= size 27276 if _, err := m.Annotations.MarshalTo(dAtA[i:]); err != nil { 27277 return 0, err 27278 } 27279 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 27280 } 27281 i-- 27282 dAtA[i] = 0x2a 27283 if len(m.Reason) > 0 { 27284 i -= len(m.Reason) 27285 copy(dAtA[i:], m.Reason) 27286 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Reason))) 27287 i-- 27288 dAtA[i] = 0x22 27289 } 27290 if len(m.Delegator) > 0 { 27291 i -= len(m.Delegator) 27292 copy(dAtA[i:], m.Delegator) 27293 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Delegator))) 27294 i-- 27295 dAtA[i] = 0x1a 27296 } 27297 if m.State != 0 { 27298 i = encodeVarintAuthservice(dAtA, i, uint64(m.State)) 27299 i-- 27300 dAtA[i] = 0x10 27301 } 27302 if len(m.ID) > 0 { 27303 i -= len(m.ID) 27304 copy(dAtA[i:], m.ID) 27305 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ID))) 27306 i-- 27307 dAtA[i] = 0xa 27308 } 27309 return len(dAtA) - i, nil 27310 } 27311 27312 func (m *RequestID) Marshal() (dAtA []byte, err error) { 27313 size := m.Size() 27314 dAtA = make([]byte, size) 27315 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27316 if err != nil { 27317 return nil, err 27318 } 27319 return dAtA[:n], nil 27320 } 27321 27322 func (m *RequestID) MarshalTo(dAtA []byte) (int, error) { 27323 size := m.Size() 27324 return m.MarshalToSizedBuffer(dAtA[:size]) 27325 } 27326 27327 func (m *RequestID) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27328 i := len(dAtA) 27329 _ = i 27330 var l int 27331 _ = l 27332 if m.XXX_unrecognized != nil { 27333 i -= len(m.XXX_unrecognized) 27334 copy(dAtA[i:], m.XXX_unrecognized) 27335 } 27336 if len(m.ID) > 0 { 27337 i -= len(m.ID) 27338 copy(dAtA[i:], m.ID) 27339 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ID))) 27340 i-- 27341 dAtA[i] = 0xa 27342 } 27343 return len(dAtA) - i, nil 27344 } 27345 27346 func (m *GetResetPasswordTokenRequest) Marshal() (dAtA []byte, err error) { 27347 size := m.Size() 27348 dAtA = make([]byte, size) 27349 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27350 if err != nil { 27351 return nil, err 27352 } 27353 return dAtA[:n], nil 27354 } 27355 27356 func (m *GetResetPasswordTokenRequest) MarshalTo(dAtA []byte) (int, error) { 27357 size := m.Size() 27358 return m.MarshalToSizedBuffer(dAtA[:size]) 27359 } 27360 27361 func (m *GetResetPasswordTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27362 i := len(dAtA) 27363 _ = i 27364 var l int 27365 _ = l 27366 if m.XXX_unrecognized != nil { 27367 i -= len(m.XXX_unrecognized) 27368 copy(dAtA[i:], m.XXX_unrecognized) 27369 } 27370 if len(m.TokenID) > 0 { 27371 i -= len(m.TokenID) 27372 copy(dAtA[i:], m.TokenID) 27373 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.TokenID))) 27374 i-- 27375 dAtA[i] = 0xa 27376 } 27377 return len(dAtA) - i, nil 27378 } 27379 27380 func (m *CreateResetPasswordTokenRequest) Marshal() (dAtA []byte, err error) { 27381 size := m.Size() 27382 dAtA = make([]byte, size) 27383 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27384 if err != nil { 27385 return nil, err 27386 } 27387 return dAtA[:n], nil 27388 } 27389 27390 func (m *CreateResetPasswordTokenRequest) MarshalTo(dAtA []byte) (int, error) { 27391 size := m.Size() 27392 return m.MarshalToSizedBuffer(dAtA[:size]) 27393 } 27394 27395 func (m *CreateResetPasswordTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27396 i := len(dAtA) 27397 _ = i 27398 var l int 27399 _ = l 27400 if m.XXX_unrecognized != nil { 27401 i -= len(m.XXX_unrecognized) 27402 copy(dAtA[i:], m.XXX_unrecognized) 27403 } 27404 if m.TTL != 0 { 27405 i = encodeVarintAuthservice(dAtA, i, uint64(m.TTL)) 27406 i-- 27407 dAtA[i] = 0x18 27408 } 27409 if len(m.Type) > 0 { 27410 i -= len(m.Type) 27411 copy(dAtA[i:], m.Type) 27412 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Type))) 27413 i-- 27414 dAtA[i] = 0x12 27415 } 27416 if len(m.Name) > 0 { 27417 i -= len(m.Name) 27418 copy(dAtA[i:], m.Name) 27419 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 27420 i-- 27421 dAtA[i] = 0xa 27422 } 27423 return len(dAtA) - i, nil 27424 } 27425 27426 func (m *RenewableCertsRequest) Marshal() (dAtA []byte, err error) { 27427 size := m.Size() 27428 dAtA = make([]byte, size) 27429 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27430 if err != nil { 27431 return nil, err 27432 } 27433 return dAtA[:n], nil 27434 } 27435 27436 func (m *RenewableCertsRequest) MarshalTo(dAtA []byte) (int, error) { 27437 size := m.Size() 27438 return m.MarshalToSizedBuffer(dAtA[:size]) 27439 } 27440 27441 func (m *RenewableCertsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27442 i := len(dAtA) 27443 _ = i 27444 var l int 27445 _ = l 27446 if m.XXX_unrecognized != nil { 27447 i -= len(m.XXX_unrecognized) 27448 copy(dAtA[i:], m.XXX_unrecognized) 27449 } 27450 if len(m.PublicKey) > 0 { 27451 i -= len(m.PublicKey) 27452 copy(dAtA[i:], m.PublicKey) 27453 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.PublicKey))) 27454 i-- 27455 dAtA[i] = 0x12 27456 } 27457 if len(m.Token) > 0 { 27458 i -= len(m.Token) 27459 copy(dAtA[i:], m.Token) 27460 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Token))) 27461 i-- 27462 dAtA[i] = 0xa 27463 } 27464 return len(dAtA) - i, nil 27465 } 27466 27467 func (m *PingRequest) Marshal() (dAtA []byte, err error) { 27468 size := m.Size() 27469 dAtA = make([]byte, size) 27470 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27471 if err != nil { 27472 return nil, err 27473 } 27474 return dAtA[:n], nil 27475 } 27476 27477 func (m *PingRequest) MarshalTo(dAtA []byte) (int, error) { 27478 size := m.Size() 27479 return m.MarshalToSizedBuffer(dAtA[:size]) 27480 } 27481 27482 func (m *PingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27483 i := len(dAtA) 27484 _ = i 27485 var l int 27486 _ = l 27487 if m.XXX_unrecognized != nil { 27488 i -= len(m.XXX_unrecognized) 27489 copy(dAtA[i:], m.XXX_unrecognized) 27490 } 27491 return len(dAtA) - i, nil 27492 } 27493 27494 func (m *PingResponse) Marshal() (dAtA []byte, err error) { 27495 size := m.Size() 27496 dAtA = make([]byte, size) 27497 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27498 if err != nil { 27499 return nil, err 27500 } 27501 return dAtA[:n], nil 27502 } 27503 27504 func (m *PingResponse) MarshalTo(dAtA []byte) (int, error) { 27505 size := m.Size() 27506 return m.MarshalToSizedBuffer(dAtA[:size]) 27507 } 27508 27509 func (m *PingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27510 i := len(dAtA) 27511 _ = i 27512 var l int 27513 _ = l 27514 if m.XXX_unrecognized != nil { 27515 i -= len(m.XXX_unrecognized) 27516 copy(dAtA[i:], m.XXX_unrecognized) 27517 } 27518 if m.LoadAllCAs { 27519 i-- 27520 if m.LoadAllCAs { 27521 dAtA[i] = 1 27522 } else { 27523 dAtA[i] = 0 27524 } 27525 i-- 27526 dAtA[i] = 0x40 27527 } 27528 if len(m.RemoteAddr) > 0 { 27529 i -= len(m.RemoteAddr) 27530 copy(dAtA[i:], m.RemoteAddr) 27531 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.RemoteAddr))) 27532 i-- 27533 dAtA[i] = 0x3a 27534 } 27535 if m.IsBoring { 27536 i-- 27537 if m.IsBoring { 27538 dAtA[i] = 1 27539 } else { 27540 dAtA[i] = 0 27541 } 27542 i-- 27543 dAtA[i] = 0x28 27544 } 27545 if len(m.ProxyPublicAddr) > 0 { 27546 i -= len(m.ProxyPublicAddr) 27547 copy(dAtA[i:], m.ProxyPublicAddr) 27548 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ProxyPublicAddr))) 27549 i-- 27550 dAtA[i] = 0x22 27551 } 27552 if m.ServerFeatures != nil { 27553 { 27554 size, err := m.ServerFeatures.MarshalToSizedBuffer(dAtA[:i]) 27555 if err != nil { 27556 return 0, err 27557 } 27558 i -= size 27559 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 27560 } 27561 i-- 27562 dAtA[i] = 0x1a 27563 } 27564 if len(m.ServerVersion) > 0 { 27565 i -= len(m.ServerVersion) 27566 copy(dAtA[i:], m.ServerVersion) 27567 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ServerVersion))) 27568 i-- 27569 dAtA[i] = 0x12 27570 } 27571 if len(m.ClusterName) > 0 { 27572 i -= len(m.ClusterName) 27573 copy(dAtA[i:], m.ClusterName) 27574 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ClusterName))) 27575 i-- 27576 dAtA[i] = 0xa 27577 } 27578 return len(dAtA) - i, nil 27579 } 27580 27581 func (m *Features) Marshal() (dAtA []byte, err error) { 27582 size := m.Size() 27583 dAtA = make([]byte, size) 27584 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27585 if err != nil { 27586 return nil, err 27587 } 27588 return dAtA[:n], nil 27589 } 27590 27591 func (m *Features) MarshalTo(dAtA []byte) (int, error) { 27592 size := m.Size() 27593 return m.MarshalToSizedBuffer(dAtA[:size]) 27594 } 27595 27596 func (m *Features) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27597 i := len(dAtA) 27598 _ = i 27599 var l int 27600 _ = l 27601 if m.XXX_unrecognized != nil { 27602 i -= len(m.XXX_unrecognized) 27603 copy(dAtA[i:], m.XXX_unrecognized) 27604 } 27605 if m.MobileDeviceManagement { 27606 i-- 27607 if m.MobileDeviceManagement { 27608 dAtA[i] = 1 27609 } else { 27610 dAtA[i] = 0 27611 } 27612 i-- 27613 dAtA[i] = 0x2 27614 i-- 27615 dAtA[i] = 0x90 27616 } 27617 if m.JoinActiveSessions { 27618 i-- 27619 if m.JoinActiveSessions { 27620 dAtA[i] = 1 27621 } else { 27622 dAtA[i] = 0 27623 } 27624 i-- 27625 dAtA[i] = 0x2 27626 i-- 27627 dAtA[i] = 0x88 27628 } 27629 if m.SupportType != 0 { 27630 i = encodeVarintAuthservice(dAtA, i, uint64(m.SupportType)) 27631 i-- 27632 dAtA[i] = 0x2 27633 i-- 27634 dAtA[i] = 0x80 27635 } 27636 if m.ExternalAuditStorage { 27637 i-- 27638 if m.ExternalAuditStorage { 27639 dAtA[i] = 1 27640 } else { 27641 dAtA[i] = 0 27642 } 27643 i-- 27644 dAtA[i] = 0x1 27645 i-- 27646 dAtA[i] = 0xf8 27647 } 27648 if m.IsStripeManaged { 27649 i-- 27650 if m.IsStripeManaged { 27651 dAtA[i] = 1 27652 } else { 27653 dAtA[i] = 0 27654 } 27655 i-- 27656 dAtA[i] = 0x1 27657 i-- 27658 dAtA[i] = 0xf0 27659 } 27660 if m.Questionnaire { 27661 i-- 27662 if m.Questionnaire { 27663 dAtA[i] = 1 27664 } else { 27665 dAtA[i] = 0 27666 } 27667 i-- 27668 dAtA[i] = 0x1 27669 i-- 27670 dAtA[i] = 0xe8 27671 } 27672 if m.Policy != nil { 27673 { 27674 size, err := m.Policy.MarshalToSizedBuffer(dAtA[:i]) 27675 if err != nil { 27676 return 0, err 27677 } 27678 i -= size 27679 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 27680 } 27681 i-- 27682 dAtA[i] = 0x1 27683 i-- 27684 dAtA[i] = 0xe2 27685 } 27686 if m.ProductType != 0 { 27687 i = encodeVarintAuthservice(dAtA, i, uint64(m.ProductType)) 27688 i-- 27689 dAtA[i] = 0x1 27690 i-- 27691 dAtA[i] = 0xd8 27692 } 27693 if m.AccessMonitoring != nil { 27694 { 27695 size, err := m.AccessMonitoring.MarshalToSizedBuffer(dAtA[:i]) 27696 if err != nil { 27697 return 0, err 27698 } 27699 i -= size 27700 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 27701 } 27702 i-- 27703 dAtA[i] = 0x1 27704 i-- 27705 dAtA[i] = 0xd2 27706 } 27707 if m.AccessList != nil { 27708 { 27709 size, err := m.AccessList.MarshalToSizedBuffer(dAtA[:i]) 27710 if err != nil { 27711 return 0, err 27712 } 27713 i -= size 27714 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 27715 } 27716 i-- 27717 dAtA[i] = 0x1 27718 i-- 27719 dAtA[i] = 0xca 27720 } 27721 if m.AccessGraph { 27722 i-- 27723 if m.AccessGraph { 27724 dAtA[i] = 1 27725 } else { 27726 dAtA[i] = 0 27727 } 27728 i-- 27729 dAtA[i] = 0x1 27730 i-- 27731 dAtA[i] = 0xc0 27732 } 27733 if m.IdentityGovernance { 27734 i-- 27735 if m.IdentityGovernance { 27736 dAtA[i] = 1 27737 } else { 27738 dAtA[i] = 0 27739 } 27740 i-- 27741 dAtA[i] = 0x1 27742 i-- 27743 dAtA[i] = 0xb8 27744 } 27745 if len(m.CustomTheme) > 0 { 27746 i -= len(m.CustomTheme) 27747 copy(dAtA[i:], m.CustomTheme) 27748 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.CustomTheme))) 27749 i-- 27750 dAtA[i] = 0x1 27751 i-- 27752 dAtA[i] = 0xb2 27753 } 27754 if m.AccessRequests != nil { 27755 { 27756 size, err := m.AccessRequests.MarshalToSizedBuffer(dAtA[:i]) 27757 if err != nil { 27758 return 0, err 27759 } 27760 i -= size 27761 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 27762 } 27763 i-- 27764 dAtA[i] = 0x1 27765 i-- 27766 dAtA[i] = 0xaa 27767 } 27768 if m.FeatureHiding { 27769 i-- 27770 if m.FeatureHiding { 27771 dAtA[i] = 1 27772 } else { 27773 dAtA[i] = 0 27774 } 27775 i-- 27776 dAtA[i] = 0x1 27777 i-- 27778 dAtA[i] = 0xa0 27779 } 27780 if m.DeviceTrust != nil { 27781 { 27782 size, err := m.DeviceTrust.MarshalToSizedBuffer(dAtA[:i]) 27783 if err != nil { 27784 return 0, err 27785 } 27786 i -= size 27787 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 27788 } 27789 i-- 27790 dAtA[i] = 0x1 27791 i-- 27792 dAtA[i] = 0x9a 27793 } 27794 if m.Assist { 27795 i-- 27796 if m.Assist { 27797 dAtA[i] = 1 27798 } else { 27799 dAtA[i] = 0 27800 } 27801 i-- 27802 dAtA[i] = 0x1 27803 i-- 27804 dAtA[i] = 0x90 27805 } 27806 if m.IsUsageBased { 27807 i-- 27808 if m.IsUsageBased { 27809 dAtA[i] = 1 27810 } else { 27811 dAtA[i] = 0 27812 } 27813 i-- 27814 dAtA[i] = 0x1 27815 i-- 27816 dAtA[i] = 0x88 27817 } 27818 if m.AutomaticUpgrades { 27819 i-- 27820 if m.AutomaticUpgrades { 27821 dAtA[i] = 1 27822 } else { 27823 dAtA[i] = 0 27824 } 27825 i-- 27826 dAtA[i] = 0x1 27827 i-- 27828 dAtA[i] = 0x80 27829 } 27830 if m.Plugins { 27831 i-- 27832 if m.Plugins { 27833 dAtA[i] = 1 27834 } else { 27835 dAtA[i] = 0 27836 } 27837 i-- 27838 dAtA[i] = 0x78 27839 } 27840 if m.RecoveryCodes { 27841 i-- 27842 if m.RecoveryCodes { 27843 dAtA[i] = 1 27844 } else { 27845 dAtA[i] = 0 27846 } 27847 i-- 27848 dAtA[i] = 0x70 27849 } 27850 if m.Desktop { 27851 i-- 27852 if m.Desktop { 27853 dAtA[i] = 1 27854 } else { 27855 dAtA[i] = 0 27856 } 27857 i-- 27858 dAtA[i] = 0x50 27859 } 27860 if m.HSM { 27861 i-- 27862 if m.HSM { 27863 dAtA[i] = 1 27864 } else { 27865 dAtA[i] = 0 27866 } 27867 i-- 27868 dAtA[i] = 0x48 27869 } 27870 if m.Cloud { 27871 i-- 27872 if m.Cloud { 27873 dAtA[i] = 1 27874 } else { 27875 dAtA[i] = 0 27876 } 27877 i-- 27878 dAtA[i] = 0x40 27879 } 27880 if m.AdvancedAccessWorkflows { 27881 i-- 27882 if m.AdvancedAccessWorkflows { 27883 dAtA[i] = 1 27884 } else { 27885 dAtA[i] = 0 27886 } 27887 i-- 27888 dAtA[i] = 0x38 27889 } 27890 if m.AccessControls { 27891 i-- 27892 if m.AccessControls { 27893 dAtA[i] = 1 27894 } else { 27895 dAtA[i] = 0 27896 } 27897 i-- 27898 dAtA[i] = 0x30 27899 } 27900 if m.SAML { 27901 i-- 27902 if m.SAML { 27903 dAtA[i] = 1 27904 } else { 27905 dAtA[i] = 0 27906 } 27907 i-- 27908 dAtA[i] = 0x28 27909 } 27910 if m.OIDC { 27911 i-- 27912 if m.OIDC { 27913 dAtA[i] = 1 27914 } else { 27915 dAtA[i] = 0 27916 } 27917 i-- 27918 dAtA[i] = 0x20 27919 } 27920 if m.DB { 27921 i-- 27922 if m.DB { 27923 dAtA[i] = 1 27924 } else { 27925 dAtA[i] = 0 27926 } 27927 i-- 27928 dAtA[i] = 0x18 27929 } 27930 if m.App { 27931 i-- 27932 if m.App { 27933 dAtA[i] = 1 27934 } else { 27935 dAtA[i] = 0 27936 } 27937 i-- 27938 dAtA[i] = 0x10 27939 } 27940 if m.Kubernetes { 27941 i-- 27942 if m.Kubernetes { 27943 dAtA[i] = 1 27944 } else { 27945 dAtA[i] = 0 27946 } 27947 i-- 27948 dAtA[i] = 0x8 27949 } 27950 return len(dAtA) - i, nil 27951 } 27952 27953 func (m *DeviceTrustFeature) Marshal() (dAtA []byte, err error) { 27954 size := m.Size() 27955 dAtA = make([]byte, size) 27956 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27957 if err != nil { 27958 return nil, err 27959 } 27960 return dAtA[:n], nil 27961 } 27962 27963 func (m *DeviceTrustFeature) MarshalTo(dAtA []byte) (int, error) { 27964 size := m.Size() 27965 return m.MarshalToSizedBuffer(dAtA[:size]) 27966 } 27967 27968 func (m *DeviceTrustFeature) MarshalToSizedBuffer(dAtA []byte) (int, error) { 27969 i := len(dAtA) 27970 _ = i 27971 var l int 27972 _ = l 27973 if m.XXX_unrecognized != nil { 27974 i -= len(m.XXX_unrecognized) 27975 copy(dAtA[i:], m.XXX_unrecognized) 27976 } 27977 if m.DevicesUsageLimit != 0 { 27978 i = encodeVarintAuthservice(dAtA, i, uint64(m.DevicesUsageLimit)) 27979 i-- 27980 dAtA[i] = 0x10 27981 } 27982 if m.Enabled { 27983 i-- 27984 if m.Enabled { 27985 dAtA[i] = 1 27986 } else { 27987 dAtA[i] = 0 27988 } 27989 i-- 27990 dAtA[i] = 0x8 27991 } 27992 return len(dAtA) - i, nil 27993 } 27994 27995 func (m *AccessRequestsFeature) Marshal() (dAtA []byte, err error) { 27996 size := m.Size() 27997 dAtA = make([]byte, size) 27998 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 27999 if err != nil { 28000 return nil, err 28001 } 28002 return dAtA[:n], nil 28003 } 28004 28005 func (m *AccessRequestsFeature) MarshalTo(dAtA []byte) (int, error) { 28006 size := m.Size() 28007 return m.MarshalToSizedBuffer(dAtA[:size]) 28008 } 28009 28010 func (m *AccessRequestsFeature) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28011 i := len(dAtA) 28012 _ = i 28013 var l int 28014 _ = l 28015 if m.XXX_unrecognized != nil { 28016 i -= len(m.XXX_unrecognized) 28017 copy(dAtA[i:], m.XXX_unrecognized) 28018 } 28019 if m.MonthlyRequestLimit != 0 { 28020 i = encodeVarintAuthservice(dAtA, i, uint64(m.MonthlyRequestLimit)) 28021 i-- 28022 dAtA[i] = 0x8 28023 } 28024 return len(dAtA) - i, nil 28025 } 28026 28027 func (m *AccessListFeature) Marshal() (dAtA []byte, err error) { 28028 size := m.Size() 28029 dAtA = make([]byte, size) 28030 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28031 if err != nil { 28032 return nil, err 28033 } 28034 return dAtA[:n], nil 28035 } 28036 28037 func (m *AccessListFeature) MarshalTo(dAtA []byte) (int, error) { 28038 size := m.Size() 28039 return m.MarshalToSizedBuffer(dAtA[:size]) 28040 } 28041 28042 func (m *AccessListFeature) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28043 i := len(dAtA) 28044 _ = i 28045 var l int 28046 _ = l 28047 if m.XXX_unrecognized != nil { 28048 i -= len(m.XXX_unrecognized) 28049 copy(dAtA[i:], m.XXX_unrecognized) 28050 } 28051 if m.CreateLimit != 0 { 28052 i = encodeVarintAuthservice(dAtA, i, uint64(m.CreateLimit)) 28053 i-- 28054 dAtA[i] = 0x8 28055 } 28056 return len(dAtA) - i, nil 28057 } 28058 28059 func (m *AccessMonitoringFeature) Marshal() (dAtA []byte, err error) { 28060 size := m.Size() 28061 dAtA = make([]byte, size) 28062 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28063 if err != nil { 28064 return nil, err 28065 } 28066 return dAtA[:n], nil 28067 } 28068 28069 func (m *AccessMonitoringFeature) MarshalTo(dAtA []byte) (int, error) { 28070 size := m.Size() 28071 return m.MarshalToSizedBuffer(dAtA[:size]) 28072 } 28073 28074 func (m *AccessMonitoringFeature) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28075 i := len(dAtA) 28076 _ = i 28077 var l int 28078 _ = l 28079 if m.XXX_unrecognized != nil { 28080 i -= len(m.XXX_unrecognized) 28081 copy(dAtA[i:], m.XXX_unrecognized) 28082 } 28083 if m.MaxReportRangeLimit != 0 { 28084 i = encodeVarintAuthservice(dAtA, i, uint64(m.MaxReportRangeLimit)) 28085 i-- 28086 dAtA[i] = 0x10 28087 } 28088 if m.Enabled { 28089 i-- 28090 if m.Enabled { 28091 dAtA[i] = 1 28092 } else { 28093 dAtA[i] = 0 28094 } 28095 i-- 28096 dAtA[i] = 0x8 28097 } 28098 return len(dAtA) - i, nil 28099 } 28100 28101 func (m *PolicyFeature) Marshal() (dAtA []byte, err error) { 28102 size := m.Size() 28103 dAtA = make([]byte, size) 28104 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28105 if err != nil { 28106 return nil, err 28107 } 28108 return dAtA[:n], nil 28109 } 28110 28111 func (m *PolicyFeature) MarshalTo(dAtA []byte) (int, error) { 28112 size := m.Size() 28113 return m.MarshalToSizedBuffer(dAtA[:size]) 28114 } 28115 28116 func (m *PolicyFeature) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28117 i := len(dAtA) 28118 _ = i 28119 var l int 28120 _ = l 28121 if m.XXX_unrecognized != nil { 28122 i -= len(m.XXX_unrecognized) 28123 copy(dAtA[i:], m.XXX_unrecognized) 28124 } 28125 if m.Enabled { 28126 i-- 28127 if m.Enabled { 28128 dAtA[i] = 1 28129 } else { 28130 dAtA[i] = 0 28131 } 28132 i-- 28133 dAtA[i] = 0x8 28134 } 28135 return len(dAtA) - i, nil 28136 } 28137 28138 func (m *DeleteUserRequest) Marshal() (dAtA []byte, err error) { 28139 size := m.Size() 28140 dAtA = make([]byte, size) 28141 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28142 if err != nil { 28143 return nil, err 28144 } 28145 return dAtA[:n], nil 28146 } 28147 28148 func (m *DeleteUserRequest) MarshalTo(dAtA []byte) (int, error) { 28149 size := m.Size() 28150 return m.MarshalToSizedBuffer(dAtA[:size]) 28151 } 28152 28153 func (m *DeleteUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28154 i := len(dAtA) 28155 _ = i 28156 var l int 28157 _ = l 28158 if m.XXX_unrecognized != nil { 28159 i -= len(m.XXX_unrecognized) 28160 copy(dAtA[i:], m.XXX_unrecognized) 28161 } 28162 if len(m.Name) > 0 { 28163 i -= len(m.Name) 28164 copy(dAtA[i:], m.Name) 28165 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 28166 i-- 28167 dAtA[i] = 0xa 28168 } 28169 return len(dAtA) - i, nil 28170 } 28171 28172 func (m *Semaphores) Marshal() (dAtA []byte, err error) { 28173 size := m.Size() 28174 dAtA = make([]byte, size) 28175 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28176 if err != nil { 28177 return nil, err 28178 } 28179 return dAtA[:n], nil 28180 } 28181 28182 func (m *Semaphores) MarshalTo(dAtA []byte) (int, error) { 28183 size := m.Size() 28184 return m.MarshalToSizedBuffer(dAtA[:size]) 28185 } 28186 28187 func (m *Semaphores) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28188 i := len(dAtA) 28189 _ = i 28190 var l int 28191 _ = l 28192 if m.XXX_unrecognized != nil { 28193 i -= len(m.XXX_unrecognized) 28194 copy(dAtA[i:], m.XXX_unrecognized) 28195 } 28196 if len(m.Semaphores) > 0 { 28197 for iNdEx := len(m.Semaphores) - 1; iNdEx >= 0; iNdEx-- { 28198 { 28199 size, err := m.Semaphores[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 28200 if err != nil { 28201 return 0, err 28202 } 28203 i -= size 28204 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 28205 } 28206 i-- 28207 dAtA[i] = 0xa 28208 } 28209 } 28210 return len(dAtA) - i, nil 28211 } 28212 28213 func (m *AuditStreamRequest) Marshal() (dAtA []byte, err error) { 28214 size := m.Size() 28215 dAtA = make([]byte, size) 28216 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28217 if err != nil { 28218 return nil, err 28219 } 28220 return dAtA[:n], nil 28221 } 28222 28223 func (m *AuditStreamRequest) MarshalTo(dAtA []byte) (int, error) { 28224 size := m.Size() 28225 return m.MarshalToSizedBuffer(dAtA[:size]) 28226 } 28227 28228 func (m *AuditStreamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28229 i := len(dAtA) 28230 _ = i 28231 var l int 28232 _ = l 28233 if m.XXX_unrecognized != nil { 28234 i -= len(m.XXX_unrecognized) 28235 copy(dAtA[i:], m.XXX_unrecognized) 28236 } 28237 if m.Request != nil { 28238 { 28239 size := m.Request.Size() 28240 i -= size 28241 if _, err := m.Request.MarshalTo(dAtA[i:]); err != nil { 28242 return 0, err 28243 } 28244 } 28245 } 28246 return len(dAtA) - i, nil 28247 } 28248 28249 func (m *AuditStreamRequest_CreateStream) MarshalTo(dAtA []byte) (int, error) { 28250 size := m.Size() 28251 return m.MarshalToSizedBuffer(dAtA[:size]) 28252 } 28253 28254 func (m *AuditStreamRequest_CreateStream) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28255 i := len(dAtA) 28256 if m.CreateStream != nil { 28257 { 28258 size, err := m.CreateStream.MarshalToSizedBuffer(dAtA[:i]) 28259 if err != nil { 28260 return 0, err 28261 } 28262 i -= size 28263 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 28264 } 28265 i-- 28266 dAtA[i] = 0xa 28267 } 28268 return len(dAtA) - i, nil 28269 } 28270 func (m *AuditStreamRequest_ResumeStream) MarshalTo(dAtA []byte) (int, error) { 28271 size := m.Size() 28272 return m.MarshalToSizedBuffer(dAtA[:size]) 28273 } 28274 28275 func (m *AuditStreamRequest_ResumeStream) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28276 i := len(dAtA) 28277 if m.ResumeStream != nil { 28278 { 28279 size, err := m.ResumeStream.MarshalToSizedBuffer(dAtA[:i]) 28280 if err != nil { 28281 return 0, err 28282 } 28283 i -= size 28284 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 28285 } 28286 i-- 28287 dAtA[i] = 0x12 28288 } 28289 return len(dAtA) - i, nil 28290 } 28291 func (m *AuditStreamRequest_CompleteStream) MarshalTo(dAtA []byte) (int, error) { 28292 size := m.Size() 28293 return m.MarshalToSizedBuffer(dAtA[:size]) 28294 } 28295 28296 func (m *AuditStreamRequest_CompleteStream) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28297 i := len(dAtA) 28298 if m.CompleteStream != nil { 28299 { 28300 size, err := m.CompleteStream.MarshalToSizedBuffer(dAtA[:i]) 28301 if err != nil { 28302 return 0, err 28303 } 28304 i -= size 28305 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 28306 } 28307 i-- 28308 dAtA[i] = 0x1a 28309 } 28310 return len(dAtA) - i, nil 28311 } 28312 func (m *AuditStreamRequest_FlushAndCloseStream) MarshalTo(dAtA []byte) (int, error) { 28313 size := m.Size() 28314 return m.MarshalToSizedBuffer(dAtA[:size]) 28315 } 28316 28317 func (m *AuditStreamRequest_FlushAndCloseStream) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28318 i := len(dAtA) 28319 if m.FlushAndCloseStream != nil { 28320 { 28321 size, err := m.FlushAndCloseStream.MarshalToSizedBuffer(dAtA[:i]) 28322 if err != nil { 28323 return 0, err 28324 } 28325 i -= size 28326 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 28327 } 28328 i-- 28329 dAtA[i] = 0x22 28330 } 28331 return len(dAtA) - i, nil 28332 } 28333 func (m *AuditStreamRequest_Event) MarshalTo(dAtA []byte) (int, error) { 28334 size := m.Size() 28335 return m.MarshalToSizedBuffer(dAtA[:size]) 28336 } 28337 28338 func (m *AuditStreamRequest_Event) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28339 i := len(dAtA) 28340 if m.Event != nil { 28341 { 28342 size, err := m.Event.MarshalToSizedBuffer(dAtA[:i]) 28343 if err != nil { 28344 return 0, err 28345 } 28346 i -= size 28347 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 28348 } 28349 i-- 28350 dAtA[i] = 0x2a 28351 } 28352 return len(dAtA) - i, nil 28353 } 28354 func (m *AuditStreamStatus) Marshal() (dAtA []byte, err error) { 28355 size := m.Size() 28356 dAtA = make([]byte, size) 28357 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28358 if err != nil { 28359 return nil, err 28360 } 28361 return dAtA[:n], nil 28362 } 28363 28364 func (m *AuditStreamStatus) MarshalTo(dAtA []byte) (int, error) { 28365 size := m.Size() 28366 return m.MarshalToSizedBuffer(dAtA[:size]) 28367 } 28368 28369 func (m *AuditStreamStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28370 i := len(dAtA) 28371 _ = i 28372 var l int 28373 _ = l 28374 if m.XXX_unrecognized != nil { 28375 i -= len(m.XXX_unrecognized) 28376 copy(dAtA[i:], m.XXX_unrecognized) 28377 } 28378 if len(m.UploadID) > 0 { 28379 i -= len(m.UploadID) 28380 copy(dAtA[i:], m.UploadID) 28381 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.UploadID))) 28382 i-- 28383 dAtA[i] = 0xa 28384 } 28385 return len(dAtA) - i, nil 28386 } 28387 28388 func (m *CreateStream) Marshal() (dAtA []byte, err error) { 28389 size := m.Size() 28390 dAtA = make([]byte, size) 28391 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28392 if err != nil { 28393 return nil, err 28394 } 28395 return dAtA[:n], nil 28396 } 28397 28398 func (m *CreateStream) MarshalTo(dAtA []byte) (int, error) { 28399 size := m.Size() 28400 return m.MarshalToSizedBuffer(dAtA[:size]) 28401 } 28402 28403 func (m *CreateStream) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28404 i := len(dAtA) 28405 _ = i 28406 var l int 28407 _ = l 28408 if m.XXX_unrecognized != nil { 28409 i -= len(m.XXX_unrecognized) 28410 copy(dAtA[i:], m.XXX_unrecognized) 28411 } 28412 if len(m.SessionID) > 0 { 28413 i -= len(m.SessionID) 28414 copy(dAtA[i:], m.SessionID) 28415 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 28416 i-- 28417 dAtA[i] = 0xa 28418 } 28419 return len(dAtA) - i, nil 28420 } 28421 28422 func (m *ResumeStream) Marshal() (dAtA []byte, err error) { 28423 size := m.Size() 28424 dAtA = make([]byte, size) 28425 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28426 if err != nil { 28427 return nil, err 28428 } 28429 return dAtA[:n], nil 28430 } 28431 28432 func (m *ResumeStream) MarshalTo(dAtA []byte) (int, error) { 28433 size := m.Size() 28434 return m.MarshalToSizedBuffer(dAtA[:size]) 28435 } 28436 28437 func (m *ResumeStream) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28438 i := len(dAtA) 28439 _ = i 28440 var l int 28441 _ = l 28442 if m.XXX_unrecognized != nil { 28443 i -= len(m.XXX_unrecognized) 28444 copy(dAtA[i:], m.XXX_unrecognized) 28445 } 28446 if len(m.UploadID) > 0 { 28447 i -= len(m.UploadID) 28448 copy(dAtA[i:], m.UploadID) 28449 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.UploadID))) 28450 i-- 28451 dAtA[i] = 0x12 28452 } 28453 if len(m.SessionID) > 0 { 28454 i -= len(m.SessionID) 28455 copy(dAtA[i:], m.SessionID) 28456 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 28457 i-- 28458 dAtA[i] = 0xa 28459 } 28460 return len(dAtA) - i, nil 28461 } 28462 28463 func (m *CompleteStream) Marshal() (dAtA []byte, err error) { 28464 size := m.Size() 28465 dAtA = make([]byte, size) 28466 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28467 if err != nil { 28468 return nil, err 28469 } 28470 return dAtA[:n], nil 28471 } 28472 28473 func (m *CompleteStream) MarshalTo(dAtA []byte) (int, error) { 28474 size := m.Size() 28475 return m.MarshalToSizedBuffer(dAtA[:size]) 28476 } 28477 28478 func (m *CompleteStream) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28479 i := len(dAtA) 28480 _ = i 28481 var l int 28482 _ = l 28483 if m.XXX_unrecognized != nil { 28484 i -= len(m.XXX_unrecognized) 28485 copy(dAtA[i:], m.XXX_unrecognized) 28486 } 28487 return len(dAtA) - i, nil 28488 } 28489 28490 func (m *FlushAndCloseStream) Marshal() (dAtA []byte, err error) { 28491 size := m.Size() 28492 dAtA = make([]byte, size) 28493 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28494 if err != nil { 28495 return nil, err 28496 } 28497 return dAtA[:n], nil 28498 } 28499 28500 func (m *FlushAndCloseStream) MarshalTo(dAtA []byte) (int, error) { 28501 size := m.Size() 28502 return m.MarshalToSizedBuffer(dAtA[:size]) 28503 } 28504 28505 func (m *FlushAndCloseStream) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28506 i := len(dAtA) 28507 _ = i 28508 var l int 28509 _ = l 28510 if m.XXX_unrecognized != nil { 28511 i -= len(m.XXX_unrecognized) 28512 copy(dAtA[i:], m.XXX_unrecognized) 28513 } 28514 return len(dAtA) - i, nil 28515 } 28516 28517 func (m *UpsertApplicationServerRequest) Marshal() (dAtA []byte, err error) { 28518 size := m.Size() 28519 dAtA = make([]byte, size) 28520 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28521 if err != nil { 28522 return nil, err 28523 } 28524 return dAtA[:n], nil 28525 } 28526 28527 func (m *UpsertApplicationServerRequest) MarshalTo(dAtA []byte) (int, error) { 28528 size := m.Size() 28529 return m.MarshalToSizedBuffer(dAtA[:size]) 28530 } 28531 28532 func (m *UpsertApplicationServerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28533 i := len(dAtA) 28534 _ = i 28535 var l int 28536 _ = l 28537 if m.XXX_unrecognized != nil { 28538 i -= len(m.XXX_unrecognized) 28539 copy(dAtA[i:], m.XXX_unrecognized) 28540 } 28541 if m.Server != nil { 28542 { 28543 size, err := m.Server.MarshalToSizedBuffer(dAtA[:i]) 28544 if err != nil { 28545 return 0, err 28546 } 28547 i -= size 28548 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 28549 } 28550 i-- 28551 dAtA[i] = 0xa 28552 } 28553 return len(dAtA) - i, nil 28554 } 28555 28556 func (m *DeleteApplicationServerRequest) Marshal() (dAtA []byte, err error) { 28557 size := m.Size() 28558 dAtA = make([]byte, size) 28559 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28560 if err != nil { 28561 return nil, err 28562 } 28563 return dAtA[:n], nil 28564 } 28565 28566 func (m *DeleteApplicationServerRequest) MarshalTo(dAtA []byte) (int, error) { 28567 size := m.Size() 28568 return m.MarshalToSizedBuffer(dAtA[:size]) 28569 } 28570 28571 func (m *DeleteApplicationServerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28572 i := len(dAtA) 28573 _ = i 28574 var l int 28575 _ = l 28576 if m.XXX_unrecognized != nil { 28577 i -= len(m.XXX_unrecognized) 28578 copy(dAtA[i:], m.XXX_unrecognized) 28579 } 28580 if len(m.Name) > 0 { 28581 i -= len(m.Name) 28582 copy(dAtA[i:], m.Name) 28583 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 28584 i-- 28585 dAtA[i] = 0x1a 28586 } 28587 if len(m.HostID) > 0 { 28588 i -= len(m.HostID) 28589 copy(dAtA[i:], m.HostID) 28590 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.HostID))) 28591 i-- 28592 dAtA[i] = 0x12 28593 } 28594 if len(m.Namespace) > 0 { 28595 i -= len(m.Namespace) 28596 copy(dAtA[i:], m.Namespace) 28597 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Namespace))) 28598 i-- 28599 dAtA[i] = 0xa 28600 } 28601 return len(dAtA) - i, nil 28602 } 28603 28604 func (m *DeleteAllApplicationServersRequest) Marshal() (dAtA []byte, err error) { 28605 size := m.Size() 28606 dAtA = make([]byte, size) 28607 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28608 if err != nil { 28609 return nil, err 28610 } 28611 return dAtA[:n], nil 28612 } 28613 28614 func (m *DeleteAllApplicationServersRequest) MarshalTo(dAtA []byte) (int, error) { 28615 size := m.Size() 28616 return m.MarshalToSizedBuffer(dAtA[:size]) 28617 } 28618 28619 func (m *DeleteAllApplicationServersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28620 i := len(dAtA) 28621 _ = i 28622 var l int 28623 _ = l 28624 if m.XXX_unrecognized != nil { 28625 i -= len(m.XXX_unrecognized) 28626 copy(dAtA[i:], m.XXX_unrecognized) 28627 } 28628 if len(m.Namespace) > 0 { 28629 i -= len(m.Namespace) 28630 copy(dAtA[i:], m.Namespace) 28631 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Namespace))) 28632 i-- 28633 dAtA[i] = 0xa 28634 } 28635 return len(dAtA) - i, nil 28636 } 28637 28638 func (m *GenerateAppTokenRequest) Marshal() (dAtA []byte, err error) { 28639 size := m.Size() 28640 dAtA = make([]byte, size) 28641 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28642 if err != nil { 28643 return nil, err 28644 } 28645 return dAtA[:n], nil 28646 } 28647 28648 func (m *GenerateAppTokenRequest) MarshalTo(dAtA []byte) (int, error) { 28649 size := m.Size() 28650 return m.MarshalToSizedBuffer(dAtA[:size]) 28651 } 28652 28653 func (m *GenerateAppTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28654 i := len(dAtA) 28655 _ = i 28656 var l int 28657 _ = l 28658 if m.XXX_unrecognized != nil { 28659 i -= len(m.XXX_unrecognized) 28660 copy(dAtA[i:], m.XXX_unrecognized) 28661 } 28662 if len(m.Traits) > 0 { 28663 for k := range m.Traits { 28664 v := m.Traits[k] 28665 baseI := i 28666 if v != nil { 28667 { 28668 size, err := v.MarshalToSizedBuffer(dAtA[:i]) 28669 if err != nil { 28670 return 0, err 28671 } 28672 i -= size 28673 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 28674 } 28675 i-- 28676 dAtA[i] = 0x12 28677 } 28678 i -= len(k) 28679 copy(dAtA[i:], k) 28680 i = encodeVarintAuthservice(dAtA, i, uint64(len(k))) 28681 i-- 28682 dAtA[i] = 0xa 28683 i = encodeVarintAuthservice(dAtA, i, uint64(baseI-i)) 28684 i-- 28685 dAtA[i] = 0x2a 28686 } 28687 } 28688 n25, err25 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires):]) 28689 if err25 != nil { 28690 return 0, err25 28691 } 28692 i -= n25 28693 i = encodeVarintAuthservice(dAtA, i, uint64(n25)) 28694 i-- 28695 dAtA[i] = 0x22 28696 if len(m.URI) > 0 { 28697 i -= len(m.URI) 28698 copy(dAtA[i:], m.URI) 28699 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.URI))) 28700 i-- 28701 dAtA[i] = 0x1a 28702 } 28703 if len(m.Roles) > 0 { 28704 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 28705 i -= len(m.Roles[iNdEx]) 28706 copy(dAtA[i:], m.Roles[iNdEx]) 28707 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Roles[iNdEx]))) 28708 i-- 28709 dAtA[i] = 0x12 28710 } 28711 } 28712 if len(m.Username) > 0 { 28713 i -= len(m.Username) 28714 copy(dAtA[i:], m.Username) 28715 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Username))) 28716 i-- 28717 dAtA[i] = 0xa 28718 } 28719 return len(dAtA) - i, nil 28720 } 28721 28722 func (m *GenerateAppTokenResponse) Marshal() (dAtA []byte, err error) { 28723 size := m.Size() 28724 dAtA = make([]byte, size) 28725 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28726 if err != nil { 28727 return nil, err 28728 } 28729 return dAtA[:n], nil 28730 } 28731 28732 func (m *GenerateAppTokenResponse) MarshalTo(dAtA []byte) (int, error) { 28733 size := m.Size() 28734 return m.MarshalToSizedBuffer(dAtA[:size]) 28735 } 28736 28737 func (m *GenerateAppTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28738 i := len(dAtA) 28739 _ = i 28740 var l int 28741 _ = l 28742 if m.XXX_unrecognized != nil { 28743 i -= len(m.XXX_unrecognized) 28744 copy(dAtA[i:], m.XXX_unrecognized) 28745 } 28746 if len(m.Token) > 0 { 28747 i -= len(m.Token) 28748 copy(dAtA[i:], m.Token) 28749 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Token))) 28750 i-- 28751 dAtA[i] = 0xa 28752 } 28753 return len(dAtA) - i, nil 28754 } 28755 28756 func (m *GetAppSessionRequest) 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 *GetAppSessionRequest) MarshalTo(dAtA []byte) (int, error) { 28767 size := m.Size() 28768 return m.MarshalToSizedBuffer(dAtA[:size]) 28769 } 28770 28771 func (m *GetAppSessionRequest) 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 if len(m.SessionID) > 0 { 28781 i -= len(m.SessionID) 28782 copy(dAtA[i:], m.SessionID) 28783 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 28784 i-- 28785 dAtA[i] = 0xa 28786 } 28787 return len(dAtA) - i, nil 28788 } 28789 28790 func (m *GetAppSessionResponse) Marshal() (dAtA []byte, err error) { 28791 size := m.Size() 28792 dAtA = make([]byte, size) 28793 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28794 if err != nil { 28795 return nil, err 28796 } 28797 return dAtA[:n], nil 28798 } 28799 28800 func (m *GetAppSessionResponse) MarshalTo(dAtA []byte) (int, error) { 28801 size := m.Size() 28802 return m.MarshalToSizedBuffer(dAtA[:size]) 28803 } 28804 28805 func (m *GetAppSessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28806 i := len(dAtA) 28807 _ = i 28808 var l int 28809 _ = l 28810 if m.XXX_unrecognized != nil { 28811 i -= len(m.XXX_unrecognized) 28812 copy(dAtA[i:], m.XXX_unrecognized) 28813 } 28814 if m.Session != nil { 28815 { 28816 size, err := m.Session.MarshalToSizedBuffer(dAtA[:i]) 28817 if err != nil { 28818 return 0, err 28819 } 28820 i -= size 28821 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 28822 } 28823 i-- 28824 dAtA[i] = 0xa 28825 } 28826 return len(dAtA) - i, nil 28827 } 28828 28829 func (m *ListAppSessionsRequest) Marshal() (dAtA []byte, err error) { 28830 size := m.Size() 28831 dAtA = make([]byte, size) 28832 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28833 if err != nil { 28834 return nil, err 28835 } 28836 return dAtA[:n], nil 28837 } 28838 28839 func (m *ListAppSessionsRequest) MarshalTo(dAtA []byte) (int, error) { 28840 size := m.Size() 28841 return m.MarshalToSizedBuffer(dAtA[:size]) 28842 } 28843 28844 func (m *ListAppSessionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28845 i := len(dAtA) 28846 _ = i 28847 var l int 28848 _ = l 28849 if m.XXX_unrecognized != nil { 28850 i -= len(m.XXX_unrecognized) 28851 copy(dAtA[i:], m.XXX_unrecognized) 28852 } 28853 if len(m.User) > 0 { 28854 i -= len(m.User) 28855 copy(dAtA[i:], m.User) 28856 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.User))) 28857 i-- 28858 dAtA[i] = 0x1a 28859 } 28860 if len(m.PageToken) > 0 { 28861 i -= len(m.PageToken) 28862 copy(dAtA[i:], m.PageToken) 28863 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.PageToken))) 28864 i-- 28865 dAtA[i] = 0x12 28866 } 28867 if m.PageSize != 0 { 28868 i = encodeVarintAuthservice(dAtA, i, uint64(m.PageSize)) 28869 i-- 28870 dAtA[i] = 0x8 28871 } 28872 return len(dAtA) - i, nil 28873 } 28874 28875 func (m *ListAppSessionsResponse) Marshal() (dAtA []byte, err error) { 28876 size := m.Size() 28877 dAtA = make([]byte, size) 28878 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28879 if err != nil { 28880 return nil, err 28881 } 28882 return dAtA[:n], nil 28883 } 28884 28885 func (m *ListAppSessionsResponse) MarshalTo(dAtA []byte) (int, error) { 28886 size := m.Size() 28887 return m.MarshalToSizedBuffer(dAtA[:size]) 28888 } 28889 28890 func (m *ListAppSessionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28891 i := len(dAtA) 28892 _ = i 28893 var l int 28894 _ = l 28895 if m.XXX_unrecognized != nil { 28896 i -= len(m.XXX_unrecognized) 28897 copy(dAtA[i:], m.XXX_unrecognized) 28898 } 28899 if len(m.NextPageToken) > 0 { 28900 i -= len(m.NextPageToken) 28901 copy(dAtA[i:], m.NextPageToken) 28902 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NextPageToken))) 28903 i-- 28904 dAtA[i] = 0x12 28905 } 28906 if len(m.Sessions) > 0 { 28907 for iNdEx := len(m.Sessions) - 1; iNdEx >= 0; iNdEx-- { 28908 { 28909 size, err := m.Sessions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 28910 if err != nil { 28911 return 0, err 28912 } 28913 i -= size 28914 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 28915 } 28916 i-- 28917 dAtA[i] = 0xa 28918 } 28919 } 28920 return len(dAtA) - i, nil 28921 } 28922 28923 func (m *GetSnowflakeSessionsResponse) 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 *GetSnowflakeSessionsResponse) MarshalTo(dAtA []byte) (int, error) { 28934 size := m.Size() 28935 return m.MarshalToSizedBuffer(dAtA[:size]) 28936 } 28937 28938 func (m *GetSnowflakeSessionsResponse) 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.Sessions) > 0 { 28948 for iNdEx := len(m.Sessions) - 1; iNdEx >= 0; iNdEx-- { 28949 { 28950 size, err := m.Sessions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 28951 if err != nil { 28952 return 0, err 28953 } 28954 i -= size 28955 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 28956 } 28957 i-- 28958 dAtA[i] = 0xa 28959 } 28960 } 28961 return len(dAtA) - i, nil 28962 } 28963 28964 func (m *ListSAMLIdPSessionsRequest) Marshal() (dAtA []byte, err error) { 28965 size := m.Size() 28966 dAtA = make([]byte, size) 28967 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 28968 if err != nil { 28969 return nil, err 28970 } 28971 return dAtA[:n], nil 28972 } 28973 28974 func (m *ListSAMLIdPSessionsRequest) MarshalTo(dAtA []byte) (int, error) { 28975 size := m.Size() 28976 return m.MarshalToSizedBuffer(dAtA[:size]) 28977 } 28978 28979 func (m *ListSAMLIdPSessionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 28980 i := len(dAtA) 28981 _ = i 28982 var l int 28983 _ = l 28984 if m.XXX_unrecognized != nil { 28985 i -= len(m.XXX_unrecognized) 28986 copy(dAtA[i:], m.XXX_unrecognized) 28987 } 28988 if len(m.User) > 0 { 28989 i -= len(m.User) 28990 copy(dAtA[i:], m.User) 28991 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.User))) 28992 i-- 28993 dAtA[i] = 0x1a 28994 } 28995 if len(m.PageToken) > 0 { 28996 i -= len(m.PageToken) 28997 copy(dAtA[i:], m.PageToken) 28998 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.PageToken))) 28999 i-- 29000 dAtA[i] = 0x12 29001 } 29002 if m.PageSize != 0 { 29003 i = encodeVarintAuthservice(dAtA, i, uint64(m.PageSize)) 29004 i-- 29005 dAtA[i] = 0x8 29006 } 29007 return len(dAtA) - i, nil 29008 } 29009 29010 func (m *ListSAMLIdPSessionsResponse) Marshal() (dAtA []byte, err error) { 29011 size := m.Size() 29012 dAtA = make([]byte, size) 29013 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29014 if err != nil { 29015 return nil, err 29016 } 29017 return dAtA[:n], nil 29018 } 29019 29020 func (m *ListSAMLIdPSessionsResponse) MarshalTo(dAtA []byte) (int, error) { 29021 size := m.Size() 29022 return m.MarshalToSizedBuffer(dAtA[:size]) 29023 } 29024 29025 func (m *ListSAMLIdPSessionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29026 i := len(dAtA) 29027 _ = i 29028 var l int 29029 _ = l 29030 if m.XXX_unrecognized != nil { 29031 i -= len(m.XXX_unrecognized) 29032 copy(dAtA[i:], m.XXX_unrecognized) 29033 } 29034 if len(m.NextPageToken) > 0 { 29035 i -= len(m.NextPageToken) 29036 copy(dAtA[i:], m.NextPageToken) 29037 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NextPageToken))) 29038 i-- 29039 dAtA[i] = 0x12 29040 } 29041 if len(m.Sessions) > 0 { 29042 for iNdEx := len(m.Sessions) - 1; iNdEx >= 0; iNdEx-- { 29043 { 29044 size, err := m.Sessions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 29045 if err != nil { 29046 return 0, err 29047 } 29048 i -= size 29049 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 29050 } 29051 i-- 29052 dAtA[i] = 0xa 29053 } 29054 } 29055 return len(dAtA) - i, nil 29056 } 29057 29058 func (m *CreateAppSessionRequest) Marshal() (dAtA []byte, err error) { 29059 size := m.Size() 29060 dAtA = make([]byte, size) 29061 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29062 if err != nil { 29063 return nil, err 29064 } 29065 return dAtA[:n], nil 29066 } 29067 29068 func (m *CreateAppSessionRequest) MarshalTo(dAtA []byte) (int, error) { 29069 size := m.Size() 29070 return m.MarshalToSizedBuffer(dAtA[:size]) 29071 } 29072 29073 func (m *CreateAppSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29074 i := len(dAtA) 29075 _ = i 29076 var l int 29077 _ = l 29078 if m.XXX_unrecognized != nil { 29079 i -= len(m.XXX_unrecognized) 29080 copy(dAtA[i:], m.XXX_unrecognized) 29081 } 29082 if m.MFAResponse != nil { 29083 { 29084 size, err := m.MFAResponse.MarshalToSizedBuffer(dAtA[:i]) 29085 if err != nil { 29086 return 0, err 29087 } 29088 i -= size 29089 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 29090 } 29091 i-- 29092 dAtA[i] = 0x42 29093 } 29094 if len(m.GCPServiceAccount) > 0 { 29095 i -= len(m.GCPServiceAccount) 29096 copy(dAtA[i:], m.GCPServiceAccount) 29097 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.GCPServiceAccount))) 29098 i-- 29099 dAtA[i] = 0x3a 29100 } 29101 if len(m.AzureIdentity) > 0 { 29102 i -= len(m.AzureIdentity) 29103 copy(dAtA[i:], m.AzureIdentity) 29104 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.AzureIdentity))) 29105 i-- 29106 dAtA[i] = 0x32 29107 } 29108 if len(m.AWSRoleARN) > 0 { 29109 i -= len(m.AWSRoleARN) 29110 copy(dAtA[i:], m.AWSRoleARN) 29111 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.AWSRoleARN))) 29112 i-- 29113 dAtA[i] = 0x2a 29114 } 29115 if len(m.ClusterName) > 0 { 29116 i -= len(m.ClusterName) 29117 copy(dAtA[i:], m.ClusterName) 29118 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ClusterName))) 29119 i-- 29120 dAtA[i] = 0x22 29121 } 29122 if len(m.PublicAddr) > 0 { 29123 i -= len(m.PublicAddr) 29124 copy(dAtA[i:], m.PublicAddr) 29125 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.PublicAddr))) 29126 i-- 29127 dAtA[i] = 0x1a 29128 } 29129 if len(m.Username) > 0 { 29130 i -= len(m.Username) 29131 copy(dAtA[i:], m.Username) 29132 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Username))) 29133 i-- 29134 dAtA[i] = 0xa 29135 } 29136 return len(dAtA) - i, nil 29137 } 29138 29139 func (m *CreateAppSessionResponse) Marshal() (dAtA []byte, err error) { 29140 size := m.Size() 29141 dAtA = make([]byte, size) 29142 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29143 if err != nil { 29144 return nil, err 29145 } 29146 return dAtA[:n], nil 29147 } 29148 29149 func (m *CreateAppSessionResponse) MarshalTo(dAtA []byte) (int, error) { 29150 size := m.Size() 29151 return m.MarshalToSizedBuffer(dAtA[:size]) 29152 } 29153 29154 func (m *CreateAppSessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29155 i := len(dAtA) 29156 _ = i 29157 var l int 29158 _ = l 29159 if m.XXX_unrecognized != nil { 29160 i -= len(m.XXX_unrecognized) 29161 copy(dAtA[i:], m.XXX_unrecognized) 29162 } 29163 if m.Session != nil { 29164 { 29165 size, err := m.Session.MarshalToSizedBuffer(dAtA[:i]) 29166 if err != nil { 29167 return 0, err 29168 } 29169 i -= size 29170 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 29171 } 29172 i-- 29173 dAtA[i] = 0xa 29174 } 29175 return len(dAtA) - i, nil 29176 } 29177 29178 func (m *CreateSnowflakeSessionRequest) Marshal() (dAtA []byte, err error) { 29179 size := m.Size() 29180 dAtA = make([]byte, size) 29181 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29182 if err != nil { 29183 return nil, err 29184 } 29185 return dAtA[:n], nil 29186 } 29187 29188 func (m *CreateSnowflakeSessionRequest) MarshalTo(dAtA []byte) (int, error) { 29189 size := m.Size() 29190 return m.MarshalToSizedBuffer(dAtA[:size]) 29191 } 29192 29193 func (m *CreateSnowflakeSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29194 i := len(dAtA) 29195 _ = i 29196 var l int 29197 _ = l 29198 if m.XXX_unrecognized != nil { 29199 i -= len(m.XXX_unrecognized) 29200 copy(dAtA[i:], m.XXX_unrecognized) 29201 } 29202 if m.TokenTTL != 0 { 29203 i = encodeVarintAuthservice(dAtA, i, uint64(m.TokenTTL)) 29204 i-- 29205 dAtA[i] = 0x18 29206 } 29207 if len(m.SessionToken) > 0 { 29208 i -= len(m.SessionToken) 29209 copy(dAtA[i:], m.SessionToken) 29210 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionToken))) 29211 i-- 29212 dAtA[i] = 0x12 29213 } 29214 if len(m.Username) > 0 { 29215 i -= len(m.Username) 29216 copy(dAtA[i:], m.Username) 29217 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Username))) 29218 i-- 29219 dAtA[i] = 0xa 29220 } 29221 return len(dAtA) - i, nil 29222 } 29223 29224 func (m *CreateSnowflakeSessionResponse) Marshal() (dAtA []byte, err error) { 29225 size := m.Size() 29226 dAtA = make([]byte, size) 29227 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29228 if err != nil { 29229 return nil, err 29230 } 29231 return dAtA[:n], nil 29232 } 29233 29234 func (m *CreateSnowflakeSessionResponse) MarshalTo(dAtA []byte) (int, error) { 29235 size := m.Size() 29236 return m.MarshalToSizedBuffer(dAtA[:size]) 29237 } 29238 29239 func (m *CreateSnowflakeSessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29240 i := len(dAtA) 29241 _ = i 29242 var l int 29243 _ = l 29244 if m.XXX_unrecognized != nil { 29245 i -= len(m.XXX_unrecognized) 29246 copy(dAtA[i:], m.XXX_unrecognized) 29247 } 29248 if m.Session != nil { 29249 { 29250 size, err := m.Session.MarshalToSizedBuffer(dAtA[:i]) 29251 if err != nil { 29252 return 0, err 29253 } 29254 i -= size 29255 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 29256 } 29257 i-- 29258 dAtA[i] = 0xa 29259 } 29260 return len(dAtA) - i, nil 29261 } 29262 29263 func (m *CreateSAMLIdPSessionRequest) Marshal() (dAtA []byte, err error) { 29264 size := m.Size() 29265 dAtA = make([]byte, size) 29266 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29267 if err != nil { 29268 return nil, err 29269 } 29270 return dAtA[:n], nil 29271 } 29272 29273 func (m *CreateSAMLIdPSessionRequest) MarshalTo(dAtA []byte) (int, error) { 29274 size := m.Size() 29275 return m.MarshalToSizedBuffer(dAtA[:size]) 29276 } 29277 29278 func (m *CreateSAMLIdPSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29279 i := len(dAtA) 29280 _ = i 29281 var l int 29282 _ = l 29283 if m.XXX_unrecognized != nil { 29284 i -= len(m.XXX_unrecognized) 29285 copy(dAtA[i:], m.XXX_unrecognized) 29286 } 29287 if m.SAMLSession != nil { 29288 { 29289 size, err := m.SAMLSession.MarshalToSizedBuffer(dAtA[:i]) 29290 if err != nil { 29291 return 0, err 29292 } 29293 i -= size 29294 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 29295 } 29296 i-- 29297 dAtA[i] = 0x1a 29298 } 29299 if len(m.Username) > 0 { 29300 i -= len(m.Username) 29301 copy(dAtA[i:], m.Username) 29302 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Username))) 29303 i-- 29304 dAtA[i] = 0x12 29305 } 29306 if len(m.SessionID) > 0 { 29307 i -= len(m.SessionID) 29308 copy(dAtA[i:], m.SessionID) 29309 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 29310 i-- 29311 dAtA[i] = 0xa 29312 } 29313 return len(dAtA) - i, nil 29314 } 29315 29316 func (m *CreateSAMLIdPSessionResponse) Marshal() (dAtA []byte, err error) { 29317 size := m.Size() 29318 dAtA = make([]byte, size) 29319 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29320 if err != nil { 29321 return nil, err 29322 } 29323 return dAtA[:n], nil 29324 } 29325 29326 func (m *CreateSAMLIdPSessionResponse) MarshalTo(dAtA []byte) (int, error) { 29327 size := m.Size() 29328 return m.MarshalToSizedBuffer(dAtA[:size]) 29329 } 29330 29331 func (m *CreateSAMLIdPSessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29332 i := len(dAtA) 29333 _ = i 29334 var l int 29335 _ = l 29336 if m.XXX_unrecognized != nil { 29337 i -= len(m.XXX_unrecognized) 29338 copy(dAtA[i:], m.XXX_unrecognized) 29339 } 29340 if m.Session != nil { 29341 { 29342 size, err := m.Session.MarshalToSizedBuffer(dAtA[:i]) 29343 if err != nil { 29344 return 0, err 29345 } 29346 i -= size 29347 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 29348 } 29349 i-- 29350 dAtA[i] = 0xa 29351 } 29352 return len(dAtA) - i, nil 29353 } 29354 29355 func (m *GetSnowflakeSessionRequest) Marshal() (dAtA []byte, err error) { 29356 size := m.Size() 29357 dAtA = make([]byte, size) 29358 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29359 if err != nil { 29360 return nil, err 29361 } 29362 return dAtA[:n], nil 29363 } 29364 29365 func (m *GetSnowflakeSessionRequest) MarshalTo(dAtA []byte) (int, error) { 29366 size := m.Size() 29367 return m.MarshalToSizedBuffer(dAtA[:size]) 29368 } 29369 29370 func (m *GetSnowflakeSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29371 i := len(dAtA) 29372 _ = i 29373 var l int 29374 _ = l 29375 if m.XXX_unrecognized != nil { 29376 i -= len(m.XXX_unrecognized) 29377 copy(dAtA[i:], m.XXX_unrecognized) 29378 } 29379 if len(m.SessionID) > 0 { 29380 i -= len(m.SessionID) 29381 copy(dAtA[i:], m.SessionID) 29382 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 29383 i-- 29384 dAtA[i] = 0xa 29385 } 29386 return len(dAtA) - i, nil 29387 } 29388 29389 func (m *GetSnowflakeSessionResponse) Marshal() (dAtA []byte, err error) { 29390 size := m.Size() 29391 dAtA = make([]byte, size) 29392 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29393 if err != nil { 29394 return nil, err 29395 } 29396 return dAtA[:n], nil 29397 } 29398 29399 func (m *GetSnowflakeSessionResponse) MarshalTo(dAtA []byte) (int, error) { 29400 size := m.Size() 29401 return m.MarshalToSizedBuffer(dAtA[:size]) 29402 } 29403 29404 func (m *GetSnowflakeSessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29405 i := len(dAtA) 29406 _ = i 29407 var l int 29408 _ = l 29409 if m.XXX_unrecognized != nil { 29410 i -= len(m.XXX_unrecognized) 29411 copy(dAtA[i:], m.XXX_unrecognized) 29412 } 29413 if m.Session != nil { 29414 { 29415 size, err := m.Session.MarshalToSizedBuffer(dAtA[:i]) 29416 if err != nil { 29417 return 0, err 29418 } 29419 i -= size 29420 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 29421 } 29422 i-- 29423 dAtA[i] = 0xa 29424 } 29425 return len(dAtA) - i, nil 29426 } 29427 29428 func (m *GetSAMLIdPSessionRequest) Marshal() (dAtA []byte, err error) { 29429 size := m.Size() 29430 dAtA = make([]byte, size) 29431 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29432 if err != nil { 29433 return nil, err 29434 } 29435 return dAtA[:n], nil 29436 } 29437 29438 func (m *GetSAMLIdPSessionRequest) MarshalTo(dAtA []byte) (int, error) { 29439 size := m.Size() 29440 return m.MarshalToSizedBuffer(dAtA[:size]) 29441 } 29442 29443 func (m *GetSAMLIdPSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29444 i := len(dAtA) 29445 _ = i 29446 var l int 29447 _ = l 29448 if m.XXX_unrecognized != nil { 29449 i -= len(m.XXX_unrecognized) 29450 copy(dAtA[i:], m.XXX_unrecognized) 29451 } 29452 if len(m.SessionID) > 0 { 29453 i -= len(m.SessionID) 29454 copy(dAtA[i:], m.SessionID) 29455 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 29456 i-- 29457 dAtA[i] = 0xa 29458 } 29459 return len(dAtA) - i, nil 29460 } 29461 29462 func (m *GetSAMLIdPSessionResponse) Marshal() (dAtA []byte, err error) { 29463 size := m.Size() 29464 dAtA = make([]byte, size) 29465 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29466 if err != nil { 29467 return nil, err 29468 } 29469 return dAtA[:n], nil 29470 } 29471 29472 func (m *GetSAMLIdPSessionResponse) MarshalTo(dAtA []byte) (int, error) { 29473 size := m.Size() 29474 return m.MarshalToSizedBuffer(dAtA[:size]) 29475 } 29476 29477 func (m *GetSAMLIdPSessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29478 i := len(dAtA) 29479 _ = i 29480 var l int 29481 _ = l 29482 if m.XXX_unrecognized != nil { 29483 i -= len(m.XXX_unrecognized) 29484 copy(dAtA[i:], m.XXX_unrecognized) 29485 } 29486 if m.Session != nil { 29487 { 29488 size, err := m.Session.MarshalToSizedBuffer(dAtA[:i]) 29489 if err != nil { 29490 return 0, err 29491 } 29492 i -= size 29493 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 29494 } 29495 i-- 29496 dAtA[i] = 0xa 29497 } 29498 return len(dAtA) - i, nil 29499 } 29500 29501 func (m *DeleteAppSessionRequest) Marshal() (dAtA []byte, err error) { 29502 size := m.Size() 29503 dAtA = make([]byte, size) 29504 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29505 if err != nil { 29506 return nil, err 29507 } 29508 return dAtA[:n], nil 29509 } 29510 29511 func (m *DeleteAppSessionRequest) MarshalTo(dAtA []byte) (int, error) { 29512 size := m.Size() 29513 return m.MarshalToSizedBuffer(dAtA[:size]) 29514 } 29515 29516 func (m *DeleteAppSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29517 i := len(dAtA) 29518 _ = i 29519 var l int 29520 _ = l 29521 if m.XXX_unrecognized != nil { 29522 i -= len(m.XXX_unrecognized) 29523 copy(dAtA[i:], m.XXX_unrecognized) 29524 } 29525 if len(m.SessionID) > 0 { 29526 i -= len(m.SessionID) 29527 copy(dAtA[i:], m.SessionID) 29528 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 29529 i-- 29530 dAtA[i] = 0xa 29531 } 29532 return len(dAtA) - i, nil 29533 } 29534 29535 func (m *DeleteSnowflakeSessionRequest) Marshal() (dAtA []byte, err error) { 29536 size := m.Size() 29537 dAtA = make([]byte, size) 29538 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29539 if err != nil { 29540 return nil, err 29541 } 29542 return dAtA[:n], nil 29543 } 29544 29545 func (m *DeleteSnowflakeSessionRequest) MarshalTo(dAtA []byte) (int, error) { 29546 size := m.Size() 29547 return m.MarshalToSizedBuffer(dAtA[:size]) 29548 } 29549 29550 func (m *DeleteSnowflakeSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29551 i := len(dAtA) 29552 _ = i 29553 var l int 29554 _ = l 29555 if m.XXX_unrecognized != nil { 29556 i -= len(m.XXX_unrecognized) 29557 copy(dAtA[i:], m.XXX_unrecognized) 29558 } 29559 if len(m.SessionID) > 0 { 29560 i -= len(m.SessionID) 29561 copy(dAtA[i:], m.SessionID) 29562 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 29563 i-- 29564 dAtA[i] = 0xa 29565 } 29566 return len(dAtA) - i, nil 29567 } 29568 29569 func (m *DeleteSAMLIdPSessionRequest) Marshal() (dAtA []byte, err error) { 29570 size := m.Size() 29571 dAtA = make([]byte, size) 29572 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29573 if err != nil { 29574 return nil, err 29575 } 29576 return dAtA[:n], nil 29577 } 29578 29579 func (m *DeleteSAMLIdPSessionRequest) MarshalTo(dAtA []byte) (int, error) { 29580 size := m.Size() 29581 return m.MarshalToSizedBuffer(dAtA[:size]) 29582 } 29583 29584 func (m *DeleteSAMLIdPSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29585 i := len(dAtA) 29586 _ = i 29587 var l int 29588 _ = l 29589 if m.XXX_unrecognized != nil { 29590 i -= len(m.XXX_unrecognized) 29591 copy(dAtA[i:], m.XXX_unrecognized) 29592 } 29593 if len(m.SessionID) > 0 { 29594 i -= len(m.SessionID) 29595 copy(dAtA[i:], m.SessionID) 29596 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 29597 i-- 29598 dAtA[i] = 0xa 29599 } 29600 return len(dAtA) - i, nil 29601 } 29602 29603 func (m *DeleteUserAppSessionsRequest) Marshal() (dAtA []byte, err error) { 29604 size := m.Size() 29605 dAtA = make([]byte, size) 29606 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29607 if err != nil { 29608 return nil, err 29609 } 29610 return dAtA[:n], nil 29611 } 29612 29613 func (m *DeleteUserAppSessionsRequest) MarshalTo(dAtA []byte) (int, error) { 29614 size := m.Size() 29615 return m.MarshalToSizedBuffer(dAtA[:size]) 29616 } 29617 29618 func (m *DeleteUserAppSessionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29619 i := len(dAtA) 29620 _ = i 29621 var l int 29622 _ = l 29623 if m.XXX_unrecognized != nil { 29624 i -= len(m.XXX_unrecognized) 29625 copy(dAtA[i:], m.XXX_unrecognized) 29626 } 29627 if len(m.Username) > 0 { 29628 i -= len(m.Username) 29629 copy(dAtA[i:], m.Username) 29630 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Username))) 29631 i-- 29632 dAtA[i] = 0xa 29633 } 29634 return len(dAtA) - i, nil 29635 } 29636 29637 func (m *DeleteUserSAMLIdPSessionsRequest) Marshal() (dAtA []byte, err error) { 29638 size := m.Size() 29639 dAtA = make([]byte, size) 29640 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29641 if err != nil { 29642 return nil, err 29643 } 29644 return dAtA[:n], nil 29645 } 29646 29647 func (m *DeleteUserSAMLIdPSessionsRequest) MarshalTo(dAtA []byte) (int, error) { 29648 size := m.Size() 29649 return m.MarshalToSizedBuffer(dAtA[:size]) 29650 } 29651 29652 func (m *DeleteUserSAMLIdPSessionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29653 i := len(dAtA) 29654 _ = i 29655 var l int 29656 _ = l 29657 if m.XXX_unrecognized != nil { 29658 i -= len(m.XXX_unrecognized) 29659 copy(dAtA[i:], m.XXX_unrecognized) 29660 } 29661 if len(m.Username) > 0 { 29662 i -= len(m.Username) 29663 copy(dAtA[i:], m.Username) 29664 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Username))) 29665 i-- 29666 dAtA[i] = 0xa 29667 } 29668 return len(dAtA) - i, nil 29669 } 29670 29671 func (m *GetWebSessionResponse) Marshal() (dAtA []byte, err error) { 29672 size := m.Size() 29673 dAtA = make([]byte, size) 29674 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29675 if err != nil { 29676 return nil, err 29677 } 29678 return dAtA[:n], nil 29679 } 29680 29681 func (m *GetWebSessionResponse) MarshalTo(dAtA []byte) (int, error) { 29682 size := m.Size() 29683 return m.MarshalToSizedBuffer(dAtA[:size]) 29684 } 29685 29686 func (m *GetWebSessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29687 i := len(dAtA) 29688 _ = i 29689 var l int 29690 _ = l 29691 if m.XXX_unrecognized != nil { 29692 i -= len(m.XXX_unrecognized) 29693 copy(dAtA[i:], m.XXX_unrecognized) 29694 } 29695 if m.Session != nil { 29696 { 29697 size, err := m.Session.MarshalToSizedBuffer(dAtA[:i]) 29698 if err != nil { 29699 return 0, err 29700 } 29701 i -= size 29702 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 29703 } 29704 i-- 29705 dAtA[i] = 0xa 29706 } 29707 return len(dAtA) - i, nil 29708 } 29709 29710 func (m *GetWebSessionsResponse) Marshal() (dAtA []byte, err error) { 29711 size := m.Size() 29712 dAtA = make([]byte, size) 29713 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29714 if err != nil { 29715 return nil, err 29716 } 29717 return dAtA[:n], nil 29718 } 29719 29720 func (m *GetWebSessionsResponse) MarshalTo(dAtA []byte) (int, error) { 29721 size := m.Size() 29722 return m.MarshalToSizedBuffer(dAtA[:size]) 29723 } 29724 29725 func (m *GetWebSessionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29726 i := len(dAtA) 29727 _ = i 29728 var l int 29729 _ = l 29730 if m.XXX_unrecognized != nil { 29731 i -= len(m.XXX_unrecognized) 29732 copy(dAtA[i:], m.XXX_unrecognized) 29733 } 29734 if len(m.Sessions) > 0 { 29735 for iNdEx := len(m.Sessions) - 1; iNdEx >= 0; iNdEx-- { 29736 { 29737 size, err := m.Sessions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 29738 if err != nil { 29739 return 0, err 29740 } 29741 i -= size 29742 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 29743 } 29744 i-- 29745 dAtA[i] = 0xa 29746 } 29747 } 29748 return len(dAtA) - i, nil 29749 } 29750 29751 func (m *GetWebTokenResponse) Marshal() (dAtA []byte, err error) { 29752 size := m.Size() 29753 dAtA = make([]byte, size) 29754 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29755 if err != nil { 29756 return nil, err 29757 } 29758 return dAtA[:n], nil 29759 } 29760 29761 func (m *GetWebTokenResponse) MarshalTo(dAtA []byte) (int, error) { 29762 size := m.Size() 29763 return m.MarshalToSizedBuffer(dAtA[:size]) 29764 } 29765 29766 func (m *GetWebTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29767 i := len(dAtA) 29768 _ = i 29769 var l int 29770 _ = l 29771 if m.XXX_unrecognized != nil { 29772 i -= len(m.XXX_unrecognized) 29773 copy(dAtA[i:], m.XXX_unrecognized) 29774 } 29775 if m.Token != nil { 29776 { 29777 size, err := m.Token.MarshalToSizedBuffer(dAtA[:i]) 29778 if err != nil { 29779 return 0, err 29780 } 29781 i -= size 29782 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 29783 } 29784 i-- 29785 dAtA[i] = 0xa 29786 } 29787 return len(dAtA) - i, nil 29788 } 29789 29790 func (m *GetWebTokensResponse) Marshal() (dAtA []byte, err error) { 29791 size := m.Size() 29792 dAtA = make([]byte, size) 29793 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29794 if err != nil { 29795 return nil, err 29796 } 29797 return dAtA[:n], nil 29798 } 29799 29800 func (m *GetWebTokensResponse) MarshalTo(dAtA []byte) (int, error) { 29801 size := m.Size() 29802 return m.MarshalToSizedBuffer(dAtA[:size]) 29803 } 29804 29805 func (m *GetWebTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29806 i := len(dAtA) 29807 _ = i 29808 var l int 29809 _ = l 29810 if m.XXX_unrecognized != nil { 29811 i -= len(m.XXX_unrecognized) 29812 copy(dAtA[i:], m.XXX_unrecognized) 29813 } 29814 if len(m.Tokens) > 0 { 29815 for iNdEx := len(m.Tokens) - 1; iNdEx >= 0; iNdEx-- { 29816 { 29817 size, err := m.Tokens[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 29818 if err != nil { 29819 return 0, err 29820 } 29821 i -= size 29822 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 29823 } 29824 i-- 29825 dAtA[i] = 0xa 29826 } 29827 } 29828 return len(dAtA) - i, nil 29829 } 29830 29831 func (m *UpsertKubernetesServerRequest) Marshal() (dAtA []byte, err error) { 29832 size := m.Size() 29833 dAtA = make([]byte, size) 29834 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29835 if err != nil { 29836 return nil, err 29837 } 29838 return dAtA[:n], nil 29839 } 29840 29841 func (m *UpsertKubernetesServerRequest) MarshalTo(dAtA []byte) (int, error) { 29842 size := m.Size() 29843 return m.MarshalToSizedBuffer(dAtA[:size]) 29844 } 29845 29846 func (m *UpsertKubernetesServerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29847 i := len(dAtA) 29848 _ = i 29849 var l int 29850 _ = l 29851 if m.XXX_unrecognized != nil { 29852 i -= len(m.XXX_unrecognized) 29853 copy(dAtA[i:], m.XXX_unrecognized) 29854 } 29855 if m.Server != nil { 29856 { 29857 size, err := m.Server.MarshalToSizedBuffer(dAtA[:i]) 29858 if err != nil { 29859 return 0, err 29860 } 29861 i -= size 29862 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 29863 } 29864 i-- 29865 dAtA[i] = 0xa 29866 } 29867 return len(dAtA) - i, nil 29868 } 29869 29870 func (m *DeleteKubernetesServerRequest) Marshal() (dAtA []byte, err error) { 29871 size := m.Size() 29872 dAtA = make([]byte, size) 29873 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29874 if err != nil { 29875 return nil, err 29876 } 29877 return dAtA[:n], nil 29878 } 29879 29880 func (m *DeleteKubernetesServerRequest) MarshalTo(dAtA []byte) (int, error) { 29881 size := m.Size() 29882 return m.MarshalToSizedBuffer(dAtA[:size]) 29883 } 29884 29885 func (m *DeleteKubernetesServerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29886 i := len(dAtA) 29887 _ = i 29888 var l int 29889 _ = l 29890 if m.XXX_unrecognized != nil { 29891 i -= len(m.XXX_unrecognized) 29892 copy(dAtA[i:], m.XXX_unrecognized) 29893 } 29894 if len(m.Name) > 0 { 29895 i -= len(m.Name) 29896 copy(dAtA[i:], m.Name) 29897 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 29898 i-- 29899 dAtA[i] = 0x12 29900 } 29901 if len(m.HostID) > 0 { 29902 i -= len(m.HostID) 29903 copy(dAtA[i:], m.HostID) 29904 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.HostID))) 29905 i-- 29906 dAtA[i] = 0xa 29907 } 29908 return len(dAtA) - i, nil 29909 } 29910 29911 func (m *DeleteAllKubernetesServersRequest) Marshal() (dAtA []byte, err error) { 29912 size := m.Size() 29913 dAtA = make([]byte, size) 29914 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29915 if err != nil { 29916 return nil, err 29917 } 29918 return dAtA[:n], nil 29919 } 29920 29921 func (m *DeleteAllKubernetesServersRequest) MarshalTo(dAtA []byte) (int, error) { 29922 size := m.Size() 29923 return m.MarshalToSizedBuffer(dAtA[:size]) 29924 } 29925 29926 func (m *DeleteAllKubernetesServersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29927 i := len(dAtA) 29928 _ = i 29929 var l int 29930 _ = l 29931 if m.XXX_unrecognized != nil { 29932 i -= len(m.XXX_unrecognized) 29933 copy(dAtA[i:], m.XXX_unrecognized) 29934 } 29935 return len(dAtA) - i, nil 29936 } 29937 29938 func (m *UpsertDatabaseServerRequest) Marshal() (dAtA []byte, err error) { 29939 size := m.Size() 29940 dAtA = make([]byte, size) 29941 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29942 if err != nil { 29943 return nil, err 29944 } 29945 return dAtA[:n], nil 29946 } 29947 29948 func (m *UpsertDatabaseServerRequest) MarshalTo(dAtA []byte) (int, error) { 29949 size := m.Size() 29950 return m.MarshalToSizedBuffer(dAtA[:size]) 29951 } 29952 29953 func (m *UpsertDatabaseServerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29954 i := len(dAtA) 29955 _ = i 29956 var l int 29957 _ = l 29958 if m.XXX_unrecognized != nil { 29959 i -= len(m.XXX_unrecognized) 29960 copy(dAtA[i:], m.XXX_unrecognized) 29961 } 29962 if m.Server != nil { 29963 { 29964 size, err := m.Server.MarshalToSizedBuffer(dAtA[:i]) 29965 if err != nil { 29966 return 0, err 29967 } 29968 i -= size 29969 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 29970 } 29971 i-- 29972 dAtA[i] = 0xa 29973 } 29974 return len(dAtA) - i, nil 29975 } 29976 29977 func (m *DeleteDatabaseServerRequest) Marshal() (dAtA []byte, err error) { 29978 size := m.Size() 29979 dAtA = make([]byte, size) 29980 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 29981 if err != nil { 29982 return nil, err 29983 } 29984 return dAtA[:n], nil 29985 } 29986 29987 func (m *DeleteDatabaseServerRequest) MarshalTo(dAtA []byte) (int, error) { 29988 size := m.Size() 29989 return m.MarshalToSizedBuffer(dAtA[:size]) 29990 } 29991 29992 func (m *DeleteDatabaseServerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 29993 i := len(dAtA) 29994 _ = i 29995 var l int 29996 _ = l 29997 if m.XXX_unrecognized != nil { 29998 i -= len(m.XXX_unrecognized) 29999 copy(dAtA[i:], m.XXX_unrecognized) 30000 } 30001 if len(m.Name) > 0 { 30002 i -= len(m.Name) 30003 copy(dAtA[i:], m.Name) 30004 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 30005 i-- 30006 dAtA[i] = 0x1a 30007 } 30008 if len(m.HostID) > 0 { 30009 i -= len(m.HostID) 30010 copy(dAtA[i:], m.HostID) 30011 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.HostID))) 30012 i-- 30013 dAtA[i] = 0x12 30014 } 30015 if len(m.Namespace) > 0 { 30016 i -= len(m.Namespace) 30017 copy(dAtA[i:], m.Namespace) 30018 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Namespace))) 30019 i-- 30020 dAtA[i] = 0xa 30021 } 30022 return len(dAtA) - i, nil 30023 } 30024 30025 func (m *DeleteAllDatabaseServersRequest) Marshal() (dAtA []byte, err error) { 30026 size := m.Size() 30027 dAtA = make([]byte, size) 30028 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30029 if err != nil { 30030 return nil, err 30031 } 30032 return dAtA[:n], nil 30033 } 30034 30035 func (m *DeleteAllDatabaseServersRequest) MarshalTo(dAtA []byte) (int, error) { 30036 size := m.Size() 30037 return m.MarshalToSizedBuffer(dAtA[:size]) 30038 } 30039 30040 func (m *DeleteAllDatabaseServersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30041 i := len(dAtA) 30042 _ = i 30043 var l int 30044 _ = l 30045 if m.XXX_unrecognized != nil { 30046 i -= len(m.XXX_unrecognized) 30047 copy(dAtA[i:], m.XXX_unrecognized) 30048 } 30049 if len(m.Namespace) > 0 { 30050 i -= len(m.Namespace) 30051 copy(dAtA[i:], m.Namespace) 30052 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Namespace))) 30053 i-- 30054 dAtA[i] = 0xa 30055 } 30056 return len(dAtA) - i, nil 30057 } 30058 30059 func (m *DatabaseServiceV1List) Marshal() (dAtA []byte, err error) { 30060 size := m.Size() 30061 dAtA = make([]byte, size) 30062 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30063 if err != nil { 30064 return nil, err 30065 } 30066 return dAtA[:n], nil 30067 } 30068 30069 func (m *DatabaseServiceV1List) MarshalTo(dAtA []byte) (int, error) { 30070 size := m.Size() 30071 return m.MarshalToSizedBuffer(dAtA[:size]) 30072 } 30073 30074 func (m *DatabaseServiceV1List) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30075 i := len(dAtA) 30076 _ = i 30077 var l int 30078 _ = l 30079 if m.XXX_unrecognized != nil { 30080 i -= len(m.XXX_unrecognized) 30081 copy(dAtA[i:], m.XXX_unrecognized) 30082 } 30083 if len(m.Services) > 0 { 30084 for iNdEx := len(m.Services) - 1; iNdEx >= 0; iNdEx-- { 30085 { 30086 size, err := m.Services[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 30087 if err != nil { 30088 return 0, err 30089 } 30090 i -= size 30091 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 30092 } 30093 i-- 30094 dAtA[i] = 0xa 30095 } 30096 } 30097 return len(dAtA) - i, nil 30098 } 30099 30100 func (m *UpsertDatabaseServiceRequest) Marshal() (dAtA []byte, err error) { 30101 size := m.Size() 30102 dAtA = make([]byte, size) 30103 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30104 if err != nil { 30105 return nil, err 30106 } 30107 return dAtA[:n], nil 30108 } 30109 30110 func (m *UpsertDatabaseServiceRequest) MarshalTo(dAtA []byte) (int, error) { 30111 size := m.Size() 30112 return m.MarshalToSizedBuffer(dAtA[:size]) 30113 } 30114 30115 func (m *UpsertDatabaseServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30116 i := len(dAtA) 30117 _ = i 30118 var l int 30119 _ = l 30120 if m.XXX_unrecognized != nil { 30121 i -= len(m.XXX_unrecognized) 30122 copy(dAtA[i:], m.XXX_unrecognized) 30123 } 30124 if m.Service != nil { 30125 { 30126 size, err := m.Service.MarshalToSizedBuffer(dAtA[:i]) 30127 if err != nil { 30128 return 0, err 30129 } 30130 i -= size 30131 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 30132 } 30133 i-- 30134 dAtA[i] = 0xa 30135 } 30136 return len(dAtA) - i, nil 30137 } 30138 30139 func (m *DeleteAllDatabaseServicesRequest) Marshal() (dAtA []byte, err error) { 30140 size := m.Size() 30141 dAtA = make([]byte, size) 30142 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30143 if err != nil { 30144 return nil, err 30145 } 30146 return dAtA[:n], nil 30147 } 30148 30149 func (m *DeleteAllDatabaseServicesRequest) MarshalTo(dAtA []byte) (int, error) { 30150 size := m.Size() 30151 return m.MarshalToSizedBuffer(dAtA[:size]) 30152 } 30153 30154 func (m *DeleteAllDatabaseServicesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30155 i := len(dAtA) 30156 _ = i 30157 var l int 30158 _ = l 30159 if m.XXX_unrecognized != nil { 30160 i -= len(m.XXX_unrecognized) 30161 copy(dAtA[i:], m.XXX_unrecognized) 30162 } 30163 return len(dAtA) - i, nil 30164 } 30165 30166 func (m *DatabaseCSRRequest) Marshal() (dAtA []byte, err error) { 30167 size := m.Size() 30168 dAtA = make([]byte, size) 30169 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30170 if err != nil { 30171 return nil, err 30172 } 30173 return dAtA[:n], nil 30174 } 30175 30176 func (m *DatabaseCSRRequest) MarshalTo(dAtA []byte) (int, error) { 30177 size := m.Size() 30178 return m.MarshalToSizedBuffer(dAtA[:size]) 30179 } 30180 30181 func (m *DatabaseCSRRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30182 i := len(dAtA) 30183 _ = i 30184 var l int 30185 _ = l 30186 if m.XXX_unrecognized != nil { 30187 i -= len(m.XXX_unrecognized) 30188 copy(dAtA[i:], m.XXX_unrecognized) 30189 } 30190 if len(m.ClusterName) > 0 { 30191 i -= len(m.ClusterName) 30192 copy(dAtA[i:], m.ClusterName) 30193 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ClusterName))) 30194 i-- 30195 dAtA[i] = 0x12 30196 } 30197 if len(m.CSR) > 0 { 30198 i -= len(m.CSR) 30199 copy(dAtA[i:], m.CSR) 30200 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.CSR))) 30201 i-- 30202 dAtA[i] = 0xa 30203 } 30204 return len(dAtA) - i, nil 30205 } 30206 30207 func (m *DatabaseCSRResponse) Marshal() (dAtA []byte, err error) { 30208 size := m.Size() 30209 dAtA = make([]byte, size) 30210 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30211 if err != nil { 30212 return nil, err 30213 } 30214 return dAtA[:n], nil 30215 } 30216 30217 func (m *DatabaseCSRResponse) MarshalTo(dAtA []byte) (int, error) { 30218 size := m.Size() 30219 return m.MarshalToSizedBuffer(dAtA[:size]) 30220 } 30221 30222 func (m *DatabaseCSRResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30223 i := len(dAtA) 30224 _ = i 30225 var l int 30226 _ = l 30227 if m.XXX_unrecognized != nil { 30228 i -= len(m.XXX_unrecognized) 30229 copy(dAtA[i:], m.XXX_unrecognized) 30230 } 30231 if len(m.CACerts) > 0 { 30232 for iNdEx := len(m.CACerts) - 1; iNdEx >= 0; iNdEx-- { 30233 i -= len(m.CACerts[iNdEx]) 30234 copy(dAtA[i:], m.CACerts[iNdEx]) 30235 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.CACerts[iNdEx]))) 30236 i-- 30237 dAtA[i] = 0x12 30238 } 30239 } 30240 if len(m.Cert) > 0 { 30241 i -= len(m.Cert) 30242 copy(dAtA[i:], m.Cert) 30243 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Cert))) 30244 i-- 30245 dAtA[i] = 0xa 30246 } 30247 return len(dAtA) - i, nil 30248 } 30249 30250 func (m *DatabaseCertRequest) Marshal() (dAtA []byte, err error) { 30251 size := m.Size() 30252 dAtA = make([]byte, size) 30253 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30254 if err != nil { 30255 return nil, err 30256 } 30257 return dAtA[:n], nil 30258 } 30259 30260 func (m *DatabaseCertRequest) MarshalTo(dAtA []byte) (int, error) { 30261 size := m.Size() 30262 return m.MarshalToSizedBuffer(dAtA[:size]) 30263 } 30264 30265 func (m *DatabaseCertRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30266 i := len(dAtA) 30267 _ = i 30268 var l int 30269 _ = l 30270 if m.XXX_unrecognized != nil { 30271 i -= len(m.XXX_unrecognized) 30272 copy(dAtA[i:], m.XXX_unrecognized) 30273 } 30274 if len(m.CRLEndpoint) > 0 { 30275 i -= len(m.CRLEndpoint) 30276 copy(dAtA[i:], m.CRLEndpoint) 30277 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.CRLEndpoint))) 30278 i-- 30279 dAtA[i] = 0x3a 30280 } 30281 if m.CertificateExtensions != 0 { 30282 i = encodeVarintAuthservice(dAtA, i, uint64(m.CertificateExtensions)) 30283 i-- 30284 dAtA[i] = 0x30 30285 } 30286 if m.RequesterName != 0 { 30287 i = encodeVarintAuthservice(dAtA, i, uint64(m.RequesterName)) 30288 i-- 30289 dAtA[i] = 0x28 30290 } 30291 if len(m.ServerNames) > 0 { 30292 for iNdEx := len(m.ServerNames) - 1; iNdEx >= 0; iNdEx-- { 30293 i -= len(m.ServerNames[iNdEx]) 30294 copy(dAtA[i:], m.ServerNames[iNdEx]) 30295 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ServerNames[iNdEx]))) 30296 i-- 30297 dAtA[i] = 0x22 30298 } 30299 } 30300 if m.TTL != 0 { 30301 i = encodeVarintAuthservice(dAtA, i, uint64(m.TTL)) 30302 i-- 30303 dAtA[i] = 0x18 30304 } 30305 if len(m.ServerName) > 0 { 30306 i -= len(m.ServerName) 30307 copy(dAtA[i:], m.ServerName) 30308 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ServerName))) 30309 i-- 30310 dAtA[i] = 0x12 30311 } 30312 if len(m.CSR) > 0 { 30313 i -= len(m.CSR) 30314 copy(dAtA[i:], m.CSR) 30315 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.CSR))) 30316 i-- 30317 dAtA[i] = 0xa 30318 } 30319 return len(dAtA) - i, nil 30320 } 30321 30322 func (m *DatabaseCertResponse) Marshal() (dAtA []byte, err error) { 30323 size := m.Size() 30324 dAtA = make([]byte, size) 30325 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30326 if err != nil { 30327 return nil, err 30328 } 30329 return dAtA[:n], nil 30330 } 30331 30332 func (m *DatabaseCertResponse) MarshalTo(dAtA []byte) (int, error) { 30333 size := m.Size() 30334 return m.MarshalToSizedBuffer(dAtA[:size]) 30335 } 30336 30337 func (m *DatabaseCertResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30338 i := len(dAtA) 30339 _ = i 30340 var l int 30341 _ = l 30342 if m.XXX_unrecognized != nil { 30343 i -= len(m.XXX_unrecognized) 30344 copy(dAtA[i:], m.XXX_unrecognized) 30345 } 30346 if len(m.CACerts) > 0 { 30347 for iNdEx := len(m.CACerts) - 1; iNdEx >= 0; iNdEx-- { 30348 i -= len(m.CACerts[iNdEx]) 30349 copy(dAtA[i:], m.CACerts[iNdEx]) 30350 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.CACerts[iNdEx]))) 30351 i-- 30352 dAtA[i] = 0x12 30353 } 30354 } 30355 if len(m.Cert) > 0 { 30356 i -= len(m.Cert) 30357 copy(dAtA[i:], m.Cert) 30358 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Cert))) 30359 i-- 30360 dAtA[i] = 0xa 30361 } 30362 return len(dAtA) - i, nil 30363 } 30364 30365 func (m *SnowflakeJWTRequest) Marshal() (dAtA []byte, err error) { 30366 size := m.Size() 30367 dAtA = make([]byte, size) 30368 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30369 if err != nil { 30370 return nil, err 30371 } 30372 return dAtA[:n], nil 30373 } 30374 30375 func (m *SnowflakeJWTRequest) MarshalTo(dAtA []byte) (int, error) { 30376 size := m.Size() 30377 return m.MarshalToSizedBuffer(dAtA[:size]) 30378 } 30379 30380 func (m *SnowflakeJWTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30381 i := len(dAtA) 30382 _ = i 30383 var l int 30384 _ = l 30385 if m.XXX_unrecognized != nil { 30386 i -= len(m.XXX_unrecognized) 30387 copy(dAtA[i:], m.XXX_unrecognized) 30388 } 30389 if len(m.UserName) > 0 { 30390 i -= len(m.UserName) 30391 copy(dAtA[i:], m.UserName) 30392 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.UserName))) 30393 i-- 30394 dAtA[i] = 0x12 30395 } 30396 if len(m.AccountName) > 0 { 30397 i -= len(m.AccountName) 30398 copy(dAtA[i:], m.AccountName) 30399 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.AccountName))) 30400 i-- 30401 dAtA[i] = 0xa 30402 } 30403 return len(dAtA) - i, nil 30404 } 30405 30406 func (m *SnowflakeJWTResponse) Marshal() (dAtA []byte, err error) { 30407 size := m.Size() 30408 dAtA = make([]byte, size) 30409 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30410 if err != nil { 30411 return nil, err 30412 } 30413 return dAtA[:n], nil 30414 } 30415 30416 func (m *SnowflakeJWTResponse) MarshalTo(dAtA []byte) (int, error) { 30417 size := m.Size() 30418 return m.MarshalToSizedBuffer(dAtA[:size]) 30419 } 30420 30421 func (m *SnowflakeJWTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30422 i := len(dAtA) 30423 _ = i 30424 var l int 30425 _ = l 30426 if m.XXX_unrecognized != nil { 30427 i -= len(m.XXX_unrecognized) 30428 copy(dAtA[i:], m.XXX_unrecognized) 30429 } 30430 if len(m.Token) > 0 { 30431 i -= len(m.Token) 30432 copy(dAtA[i:], m.Token) 30433 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Token))) 30434 i-- 30435 dAtA[i] = 0xa 30436 } 30437 return len(dAtA) - i, nil 30438 } 30439 30440 func (m *GetRoleRequest) Marshal() (dAtA []byte, err error) { 30441 size := m.Size() 30442 dAtA = make([]byte, size) 30443 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30444 if err != nil { 30445 return nil, err 30446 } 30447 return dAtA[:n], nil 30448 } 30449 30450 func (m *GetRoleRequest) MarshalTo(dAtA []byte) (int, error) { 30451 size := m.Size() 30452 return m.MarshalToSizedBuffer(dAtA[:size]) 30453 } 30454 30455 func (m *GetRoleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30456 i := len(dAtA) 30457 _ = i 30458 var l int 30459 _ = l 30460 if m.XXX_unrecognized != nil { 30461 i -= len(m.XXX_unrecognized) 30462 copy(dAtA[i:], m.XXX_unrecognized) 30463 } 30464 if len(m.Name) > 0 { 30465 i -= len(m.Name) 30466 copy(dAtA[i:], m.Name) 30467 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 30468 i-- 30469 dAtA[i] = 0xa 30470 } 30471 return len(dAtA) - i, nil 30472 } 30473 30474 func (m *GetRolesResponse) 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 *GetRolesResponse) MarshalTo(dAtA []byte) (int, error) { 30485 size := m.Size() 30486 return m.MarshalToSizedBuffer(dAtA[:size]) 30487 } 30488 30489 func (m *GetRolesResponse) 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.Roles) > 0 { 30499 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 30500 { 30501 size, err := m.Roles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 30502 if err != nil { 30503 return 0, err 30504 } 30505 i -= size 30506 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 30507 } 30508 i-- 30509 dAtA[i] = 0xa 30510 } 30511 } 30512 return len(dAtA) - i, nil 30513 } 30514 30515 func (m *ListRolesRequest) Marshal() (dAtA []byte, err error) { 30516 size := m.Size() 30517 dAtA = make([]byte, size) 30518 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30519 if err != nil { 30520 return nil, err 30521 } 30522 return dAtA[:n], nil 30523 } 30524 30525 func (m *ListRolesRequest) MarshalTo(dAtA []byte) (int, error) { 30526 size := m.Size() 30527 return m.MarshalToSizedBuffer(dAtA[:size]) 30528 } 30529 30530 func (m *ListRolesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30531 i := len(dAtA) 30532 _ = i 30533 var l int 30534 _ = l 30535 if m.XXX_unrecognized != nil { 30536 i -= len(m.XXX_unrecognized) 30537 copy(dAtA[i:], m.XXX_unrecognized) 30538 } 30539 if m.Filter != nil { 30540 { 30541 size, err := m.Filter.MarshalToSizedBuffer(dAtA[:i]) 30542 if err != nil { 30543 return 0, err 30544 } 30545 i -= size 30546 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 30547 } 30548 i-- 30549 dAtA[i] = 0x1a 30550 } 30551 if len(m.StartKey) > 0 { 30552 i -= len(m.StartKey) 30553 copy(dAtA[i:], m.StartKey) 30554 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.StartKey))) 30555 i-- 30556 dAtA[i] = 0x12 30557 } 30558 if m.Limit != 0 { 30559 i = encodeVarintAuthservice(dAtA, i, uint64(m.Limit)) 30560 i-- 30561 dAtA[i] = 0x8 30562 } 30563 return len(dAtA) - i, nil 30564 } 30565 30566 func (m *ListRolesResponse) Marshal() (dAtA []byte, err error) { 30567 size := m.Size() 30568 dAtA = make([]byte, size) 30569 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30570 if err != nil { 30571 return nil, err 30572 } 30573 return dAtA[:n], nil 30574 } 30575 30576 func (m *ListRolesResponse) MarshalTo(dAtA []byte) (int, error) { 30577 size := m.Size() 30578 return m.MarshalToSizedBuffer(dAtA[:size]) 30579 } 30580 30581 func (m *ListRolesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30582 i := len(dAtA) 30583 _ = i 30584 var l int 30585 _ = l 30586 if m.XXX_unrecognized != nil { 30587 i -= len(m.XXX_unrecognized) 30588 copy(dAtA[i:], m.XXX_unrecognized) 30589 } 30590 if len(m.NextKey) > 0 { 30591 i -= len(m.NextKey) 30592 copy(dAtA[i:], m.NextKey) 30593 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NextKey))) 30594 i-- 30595 dAtA[i] = 0x12 30596 } 30597 if len(m.Roles) > 0 { 30598 for iNdEx := len(m.Roles) - 1; iNdEx >= 0; iNdEx-- { 30599 { 30600 size, err := m.Roles[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 30601 if err != nil { 30602 return 0, err 30603 } 30604 i -= size 30605 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 30606 } 30607 i-- 30608 dAtA[i] = 0xa 30609 } 30610 } 30611 return len(dAtA) - i, nil 30612 } 30613 30614 func (m *CreateRoleRequest) Marshal() (dAtA []byte, err error) { 30615 size := m.Size() 30616 dAtA = make([]byte, size) 30617 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30618 if err != nil { 30619 return nil, err 30620 } 30621 return dAtA[:n], nil 30622 } 30623 30624 func (m *CreateRoleRequest) MarshalTo(dAtA []byte) (int, error) { 30625 size := m.Size() 30626 return m.MarshalToSizedBuffer(dAtA[:size]) 30627 } 30628 30629 func (m *CreateRoleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30630 i := len(dAtA) 30631 _ = i 30632 var l int 30633 _ = l 30634 if m.XXX_unrecognized != nil { 30635 i -= len(m.XXX_unrecognized) 30636 copy(dAtA[i:], m.XXX_unrecognized) 30637 } 30638 if m.Role != nil { 30639 { 30640 size, err := m.Role.MarshalToSizedBuffer(dAtA[:i]) 30641 if err != nil { 30642 return 0, err 30643 } 30644 i -= size 30645 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 30646 } 30647 i-- 30648 dAtA[i] = 0xa 30649 } 30650 return len(dAtA) - i, nil 30651 } 30652 30653 func (m *UpdateRoleRequest) Marshal() (dAtA []byte, err error) { 30654 size := m.Size() 30655 dAtA = make([]byte, size) 30656 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30657 if err != nil { 30658 return nil, err 30659 } 30660 return dAtA[:n], nil 30661 } 30662 30663 func (m *UpdateRoleRequest) MarshalTo(dAtA []byte) (int, error) { 30664 size := m.Size() 30665 return m.MarshalToSizedBuffer(dAtA[:size]) 30666 } 30667 30668 func (m *UpdateRoleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30669 i := len(dAtA) 30670 _ = i 30671 var l int 30672 _ = l 30673 if m.XXX_unrecognized != nil { 30674 i -= len(m.XXX_unrecognized) 30675 copy(dAtA[i:], m.XXX_unrecognized) 30676 } 30677 if m.Role != nil { 30678 { 30679 size, err := m.Role.MarshalToSizedBuffer(dAtA[:i]) 30680 if err != nil { 30681 return 0, err 30682 } 30683 i -= size 30684 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 30685 } 30686 i-- 30687 dAtA[i] = 0xa 30688 } 30689 return len(dAtA) - i, nil 30690 } 30691 30692 func (m *UpsertRoleRequest) Marshal() (dAtA []byte, err error) { 30693 size := m.Size() 30694 dAtA = make([]byte, size) 30695 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30696 if err != nil { 30697 return nil, err 30698 } 30699 return dAtA[:n], nil 30700 } 30701 30702 func (m *UpsertRoleRequest) MarshalTo(dAtA []byte) (int, error) { 30703 size := m.Size() 30704 return m.MarshalToSizedBuffer(dAtA[:size]) 30705 } 30706 30707 func (m *UpsertRoleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30708 i := len(dAtA) 30709 _ = i 30710 var l int 30711 _ = l 30712 if m.XXX_unrecognized != nil { 30713 i -= len(m.XXX_unrecognized) 30714 copy(dAtA[i:], m.XXX_unrecognized) 30715 } 30716 if m.Role != nil { 30717 { 30718 size, err := m.Role.MarshalToSizedBuffer(dAtA[:i]) 30719 if err != nil { 30720 return 0, err 30721 } 30722 i -= size 30723 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 30724 } 30725 i-- 30726 dAtA[i] = 0xa 30727 } 30728 return len(dAtA) - i, nil 30729 } 30730 30731 func (m *DeleteRoleRequest) Marshal() (dAtA []byte, err error) { 30732 size := m.Size() 30733 dAtA = make([]byte, size) 30734 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30735 if err != nil { 30736 return nil, err 30737 } 30738 return dAtA[:n], nil 30739 } 30740 30741 func (m *DeleteRoleRequest) MarshalTo(dAtA []byte) (int, error) { 30742 size := m.Size() 30743 return m.MarshalToSizedBuffer(dAtA[:size]) 30744 } 30745 30746 func (m *DeleteRoleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30747 i := len(dAtA) 30748 _ = i 30749 var l int 30750 _ = l 30751 if m.XXX_unrecognized != nil { 30752 i -= len(m.XXX_unrecognized) 30753 copy(dAtA[i:], m.XXX_unrecognized) 30754 } 30755 if len(m.Name) > 0 { 30756 i -= len(m.Name) 30757 copy(dAtA[i:], m.Name) 30758 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 30759 i-- 30760 dAtA[i] = 0xa 30761 } 30762 return len(dAtA) - i, nil 30763 } 30764 30765 func (m *MFAAuthenticateChallenge) Marshal() (dAtA []byte, err error) { 30766 size := m.Size() 30767 dAtA = make([]byte, size) 30768 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30769 if err != nil { 30770 return nil, err 30771 } 30772 return dAtA[:n], nil 30773 } 30774 30775 func (m *MFAAuthenticateChallenge) MarshalTo(dAtA []byte) (int, error) { 30776 size := m.Size() 30777 return m.MarshalToSizedBuffer(dAtA[:size]) 30778 } 30779 30780 func (m *MFAAuthenticateChallenge) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30781 i := len(dAtA) 30782 _ = i 30783 var l int 30784 _ = l 30785 if m.XXX_unrecognized != nil { 30786 i -= len(m.XXX_unrecognized) 30787 copy(dAtA[i:], m.XXX_unrecognized) 30788 } 30789 if m.MFARequired != 0 { 30790 i = encodeVarintAuthservice(dAtA, i, uint64(m.MFARequired)) 30791 i-- 30792 dAtA[i] = 0x20 30793 } 30794 if m.WebauthnChallenge != nil { 30795 { 30796 size, err := m.WebauthnChallenge.MarshalToSizedBuffer(dAtA[:i]) 30797 if err != nil { 30798 return 0, err 30799 } 30800 i -= size 30801 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 30802 } 30803 i-- 30804 dAtA[i] = 0x1a 30805 } 30806 if m.TOTP != nil { 30807 { 30808 size, err := m.TOTP.MarshalToSizedBuffer(dAtA[:i]) 30809 if err != nil { 30810 return 0, err 30811 } 30812 i -= size 30813 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 30814 } 30815 i-- 30816 dAtA[i] = 0x12 30817 } 30818 return len(dAtA) - i, nil 30819 } 30820 30821 func (m *MFAAuthenticateResponse) Marshal() (dAtA []byte, err error) { 30822 size := m.Size() 30823 dAtA = make([]byte, size) 30824 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30825 if err != nil { 30826 return nil, err 30827 } 30828 return dAtA[:n], nil 30829 } 30830 30831 func (m *MFAAuthenticateResponse) MarshalTo(dAtA []byte) (int, error) { 30832 size := m.Size() 30833 return m.MarshalToSizedBuffer(dAtA[:size]) 30834 } 30835 30836 func (m *MFAAuthenticateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30837 i := len(dAtA) 30838 _ = i 30839 var l int 30840 _ = l 30841 if m.XXX_unrecognized != nil { 30842 i -= len(m.XXX_unrecognized) 30843 copy(dAtA[i:], m.XXX_unrecognized) 30844 } 30845 if m.Response != nil { 30846 { 30847 size := m.Response.Size() 30848 i -= size 30849 if _, err := m.Response.MarshalTo(dAtA[i:]); err != nil { 30850 return 0, err 30851 } 30852 } 30853 } 30854 return len(dAtA) - i, nil 30855 } 30856 30857 func (m *MFAAuthenticateResponse_TOTP) MarshalTo(dAtA []byte) (int, error) { 30858 size := m.Size() 30859 return m.MarshalToSizedBuffer(dAtA[:size]) 30860 } 30861 30862 func (m *MFAAuthenticateResponse_TOTP) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30863 i := len(dAtA) 30864 if m.TOTP != nil { 30865 { 30866 size, err := m.TOTP.MarshalToSizedBuffer(dAtA[:i]) 30867 if err != nil { 30868 return 0, err 30869 } 30870 i -= size 30871 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 30872 } 30873 i-- 30874 dAtA[i] = 0x12 30875 } 30876 return len(dAtA) - i, nil 30877 } 30878 func (m *MFAAuthenticateResponse_Webauthn) MarshalTo(dAtA []byte) (int, error) { 30879 size := m.Size() 30880 return m.MarshalToSizedBuffer(dAtA[:size]) 30881 } 30882 30883 func (m *MFAAuthenticateResponse_Webauthn) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30884 i := len(dAtA) 30885 if m.Webauthn != nil { 30886 { 30887 size, err := m.Webauthn.MarshalToSizedBuffer(dAtA[:i]) 30888 if err != nil { 30889 return 0, err 30890 } 30891 i -= size 30892 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 30893 } 30894 i-- 30895 dAtA[i] = 0x1a 30896 } 30897 return len(dAtA) - i, nil 30898 } 30899 func (m *TOTPChallenge) Marshal() (dAtA []byte, err error) { 30900 size := m.Size() 30901 dAtA = make([]byte, size) 30902 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30903 if err != nil { 30904 return nil, err 30905 } 30906 return dAtA[:n], nil 30907 } 30908 30909 func (m *TOTPChallenge) MarshalTo(dAtA []byte) (int, error) { 30910 size := m.Size() 30911 return m.MarshalToSizedBuffer(dAtA[:size]) 30912 } 30913 30914 func (m *TOTPChallenge) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30915 i := len(dAtA) 30916 _ = i 30917 var l int 30918 _ = l 30919 if m.XXX_unrecognized != nil { 30920 i -= len(m.XXX_unrecognized) 30921 copy(dAtA[i:], m.XXX_unrecognized) 30922 } 30923 return len(dAtA) - i, nil 30924 } 30925 30926 func (m *TOTPResponse) Marshal() (dAtA []byte, err error) { 30927 size := m.Size() 30928 dAtA = make([]byte, size) 30929 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30930 if err != nil { 30931 return nil, err 30932 } 30933 return dAtA[:n], nil 30934 } 30935 30936 func (m *TOTPResponse) MarshalTo(dAtA []byte) (int, error) { 30937 size := m.Size() 30938 return m.MarshalToSizedBuffer(dAtA[:size]) 30939 } 30940 30941 func (m *TOTPResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30942 i := len(dAtA) 30943 _ = i 30944 var l int 30945 _ = l 30946 if m.XXX_unrecognized != nil { 30947 i -= len(m.XXX_unrecognized) 30948 copy(dAtA[i:], m.XXX_unrecognized) 30949 } 30950 if len(m.Code) > 0 { 30951 i -= len(m.Code) 30952 copy(dAtA[i:], m.Code) 30953 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Code))) 30954 i-- 30955 dAtA[i] = 0xa 30956 } 30957 return len(dAtA) - i, nil 30958 } 30959 30960 func (m *MFARegisterChallenge) Marshal() (dAtA []byte, err error) { 30961 size := m.Size() 30962 dAtA = make([]byte, size) 30963 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 30964 if err != nil { 30965 return nil, err 30966 } 30967 return dAtA[:n], nil 30968 } 30969 30970 func (m *MFARegisterChallenge) MarshalTo(dAtA []byte) (int, error) { 30971 size := m.Size() 30972 return m.MarshalToSizedBuffer(dAtA[:size]) 30973 } 30974 30975 func (m *MFARegisterChallenge) MarshalToSizedBuffer(dAtA []byte) (int, error) { 30976 i := len(dAtA) 30977 _ = i 30978 var l int 30979 _ = l 30980 if m.XXX_unrecognized != nil { 30981 i -= len(m.XXX_unrecognized) 30982 copy(dAtA[i:], m.XXX_unrecognized) 30983 } 30984 if m.Request != nil { 30985 { 30986 size := m.Request.Size() 30987 i -= size 30988 if _, err := m.Request.MarshalTo(dAtA[i:]); err != nil { 30989 return 0, err 30990 } 30991 } 30992 } 30993 return len(dAtA) - i, nil 30994 } 30995 30996 func (m *MFARegisterChallenge_TOTP) MarshalTo(dAtA []byte) (int, error) { 30997 size := m.Size() 30998 return m.MarshalToSizedBuffer(dAtA[:size]) 30999 } 31000 31001 func (m *MFARegisterChallenge_TOTP) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31002 i := len(dAtA) 31003 if m.TOTP != nil { 31004 { 31005 size, err := m.TOTP.MarshalToSizedBuffer(dAtA[:i]) 31006 if err != nil { 31007 return 0, err 31008 } 31009 i -= size 31010 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 31011 } 31012 i-- 31013 dAtA[i] = 0x12 31014 } 31015 return len(dAtA) - i, nil 31016 } 31017 func (m *MFARegisterChallenge_Webauthn) MarshalTo(dAtA []byte) (int, error) { 31018 size := m.Size() 31019 return m.MarshalToSizedBuffer(dAtA[:size]) 31020 } 31021 31022 func (m *MFARegisterChallenge_Webauthn) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31023 i := len(dAtA) 31024 if m.Webauthn != nil { 31025 { 31026 size, err := m.Webauthn.MarshalToSizedBuffer(dAtA[:i]) 31027 if err != nil { 31028 return 0, err 31029 } 31030 i -= size 31031 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 31032 } 31033 i-- 31034 dAtA[i] = 0x1a 31035 } 31036 return len(dAtA) - i, nil 31037 } 31038 func (m *MFARegisterResponse) Marshal() (dAtA []byte, err error) { 31039 size := m.Size() 31040 dAtA = make([]byte, size) 31041 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31042 if err != nil { 31043 return nil, err 31044 } 31045 return dAtA[:n], nil 31046 } 31047 31048 func (m *MFARegisterResponse) MarshalTo(dAtA []byte) (int, error) { 31049 size := m.Size() 31050 return m.MarshalToSizedBuffer(dAtA[:size]) 31051 } 31052 31053 func (m *MFARegisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31054 i := len(dAtA) 31055 _ = i 31056 var l int 31057 _ = l 31058 if m.XXX_unrecognized != nil { 31059 i -= len(m.XXX_unrecognized) 31060 copy(dAtA[i:], m.XXX_unrecognized) 31061 } 31062 if m.Response != nil { 31063 { 31064 size := m.Response.Size() 31065 i -= size 31066 if _, err := m.Response.MarshalTo(dAtA[i:]); err != nil { 31067 return 0, err 31068 } 31069 } 31070 } 31071 return len(dAtA) - i, nil 31072 } 31073 31074 func (m *MFARegisterResponse_TOTP) MarshalTo(dAtA []byte) (int, error) { 31075 size := m.Size() 31076 return m.MarshalToSizedBuffer(dAtA[:size]) 31077 } 31078 31079 func (m *MFARegisterResponse_TOTP) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31080 i := len(dAtA) 31081 if m.TOTP != nil { 31082 { 31083 size, err := m.TOTP.MarshalToSizedBuffer(dAtA[:i]) 31084 if err != nil { 31085 return 0, err 31086 } 31087 i -= size 31088 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 31089 } 31090 i-- 31091 dAtA[i] = 0x12 31092 } 31093 return len(dAtA) - i, nil 31094 } 31095 func (m *MFARegisterResponse_Webauthn) MarshalTo(dAtA []byte) (int, error) { 31096 size := m.Size() 31097 return m.MarshalToSizedBuffer(dAtA[:size]) 31098 } 31099 31100 func (m *MFARegisterResponse_Webauthn) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31101 i := len(dAtA) 31102 if m.Webauthn != nil { 31103 { 31104 size, err := m.Webauthn.MarshalToSizedBuffer(dAtA[:i]) 31105 if err != nil { 31106 return 0, err 31107 } 31108 i -= size 31109 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 31110 } 31111 i-- 31112 dAtA[i] = 0x1a 31113 } 31114 return len(dAtA) - i, nil 31115 } 31116 func (m *TOTPRegisterChallenge) Marshal() (dAtA []byte, err error) { 31117 size := m.Size() 31118 dAtA = make([]byte, size) 31119 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31120 if err != nil { 31121 return nil, err 31122 } 31123 return dAtA[:n], nil 31124 } 31125 31126 func (m *TOTPRegisterChallenge) MarshalTo(dAtA []byte) (int, error) { 31127 size := m.Size() 31128 return m.MarshalToSizedBuffer(dAtA[:size]) 31129 } 31130 31131 func (m *TOTPRegisterChallenge) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31132 i := len(dAtA) 31133 _ = i 31134 var l int 31135 _ = l 31136 if m.XXX_unrecognized != nil { 31137 i -= len(m.XXX_unrecognized) 31138 copy(dAtA[i:], m.XXX_unrecognized) 31139 } 31140 if len(m.ID) > 0 { 31141 i -= len(m.ID) 31142 copy(dAtA[i:], m.ID) 31143 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ID))) 31144 i-- 31145 dAtA[i] = 0x42 31146 } 31147 if len(m.QRCode) > 0 { 31148 i -= len(m.QRCode) 31149 copy(dAtA[i:], m.QRCode) 31150 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.QRCode))) 31151 i-- 31152 dAtA[i] = 0x3a 31153 } 31154 if len(m.Account) > 0 { 31155 i -= len(m.Account) 31156 copy(dAtA[i:], m.Account) 31157 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Account))) 31158 i-- 31159 dAtA[i] = 0x32 31160 } 31161 if m.Digits != 0 { 31162 i = encodeVarintAuthservice(dAtA, i, uint64(m.Digits)) 31163 i-- 31164 dAtA[i] = 0x28 31165 } 31166 if len(m.Algorithm) > 0 { 31167 i -= len(m.Algorithm) 31168 copy(dAtA[i:], m.Algorithm) 31169 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Algorithm))) 31170 i-- 31171 dAtA[i] = 0x22 31172 } 31173 if m.PeriodSeconds != 0 { 31174 i = encodeVarintAuthservice(dAtA, i, uint64(m.PeriodSeconds)) 31175 i-- 31176 dAtA[i] = 0x18 31177 } 31178 if len(m.Issuer) > 0 { 31179 i -= len(m.Issuer) 31180 copy(dAtA[i:], m.Issuer) 31181 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Issuer))) 31182 i-- 31183 dAtA[i] = 0x12 31184 } 31185 if len(m.Secret) > 0 { 31186 i -= len(m.Secret) 31187 copy(dAtA[i:], m.Secret) 31188 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Secret))) 31189 i-- 31190 dAtA[i] = 0xa 31191 } 31192 return len(dAtA) - i, nil 31193 } 31194 31195 func (m *TOTPRegisterResponse) Marshal() (dAtA []byte, err error) { 31196 size := m.Size() 31197 dAtA = make([]byte, size) 31198 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31199 if err != nil { 31200 return nil, err 31201 } 31202 return dAtA[:n], nil 31203 } 31204 31205 func (m *TOTPRegisterResponse) MarshalTo(dAtA []byte) (int, error) { 31206 size := m.Size() 31207 return m.MarshalToSizedBuffer(dAtA[:size]) 31208 } 31209 31210 func (m *TOTPRegisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31211 i := len(dAtA) 31212 _ = i 31213 var l int 31214 _ = l 31215 if m.XXX_unrecognized != nil { 31216 i -= len(m.XXX_unrecognized) 31217 copy(dAtA[i:], m.XXX_unrecognized) 31218 } 31219 if len(m.ID) > 0 { 31220 i -= len(m.ID) 31221 copy(dAtA[i:], m.ID) 31222 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ID))) 31223 i-- 31224 dAtA[i] = 0x12 31225 } 31226 if len(m.Code) > 0 { 31227 i -= len(m.Code) 31228 copy(dAtA[i:], m.Code) 31229 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Code))) 31230 i-- 31231 dAtA[i] = 0xa 31232 } 31233 return len(dAtA) - i, nil 31234 } 31235 31236 func (m *AddMFADeviceRequest) Marshal() (dAtA []byte, err error) { 31237 size := m.Size() 31238 dAtA = make([]byte, size) 31239 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31240 if err != nil { 31241 return nil, err 31242 } 31243 return dAtA[:n], nil 31244 } 31245 31246 func (m *AddMFADeviceRequest) MarshalTo(dAtA []byte) (int, error) { 31247 size := m.Size() 31248 return m.MarshalToSizedBuffer(dAtA[:size]) 31249 } 31250 31251 func (m *AddMFADeviceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31252 i := len(dAtA) 31253 _ = i 31254 var l int 31255 _ = l 31256 if m.XXX_unrecognized != nil { 31257 i -= len(m.XXX_unrecognized) 31258 copy(dAtA[i:], m.XXX_unrecognized) 31259 } 31260 return len(dAtA) - i, nil 31261 } 31262 31263 func (m *AddMFADeviceResponse) Marshal() (dAtA []byte, err error) { 31264 size := m.Size() 31265 dAtA = make([]byte, size) 31266 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31267 if err != nil { 31268 return nil, err 31269 } 31270 return dAtA[:n], nil 31271 } 31272 31273 func (m *AddMFADeviceResponse) MarshalTo(dAtA []byte) (int, error) { 31274 size := m.Size() 31275 return m.MarshalToSizedBuffer(dAtA[:size]) 31276 } 31277 31278 func (m *AddMFADeviceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31279 i := len(dAtA) 31280 _ = i 31281 var l int 31282 _ = l 31283 if m.XXX_unrecognized != nil { 31284 i -= len(m.XXX_unrecognized) 31285 copy(dAtA[i:], m.XXX_unrecognized) 31286 } 31287 return len(dAtA) - i, nil 31288 } 31289 31290 func (m *DeleteMFADeviceRequest) Marshal() (dAtA []byte, err error) { 31291 size := m.Size() 31292 dAtA = make([]byte, size) 31293 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31294 if err != nil { 31295 return nil, err 31296 } 31297 return dAtA[:n], nil 31298 } 31299 31300 func (m *DeleteMFADeviceRequest) MarshalTo(dAtA []byte) (int, error) { 31301 size := m.Size() 31302 return m.MarshalToSizedBuffer(dAtA[:size]) 31303 } 31304 31305 func (m *DeleteMFADeviceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31306 i := len(dAtA) 31307 _ = i 31308 var l int 31309 _ = l 31310 if m.XXX_unrecognized != nil { 31311 i -= len(m.XXX_unrecognized) 31312 copy(dAtA[i:], m.XXX_unrecognized) 31313 } 31314 return len(dAtA) - i, nil 31315 } 31316 31317 func (m *DeleteMFADeviceResponse) Marshal() (dAtA []byte, err error) { 31318 size := m.Size() 31319 dAtA = make([]byte, size) 31320 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31321 if err != nil { 31322 return nil, err 31323 } 31324 return dAtA[:n], nil 31325 } 31326 31327 func (m *DeleteMFADeviceResponse) MarshalTo(dAtA []byte) (int, error) { 31328 size := m.Size() 31329 return m.MarshalToSizedBuffer(dAtA[:size]) 31330 } 31331 31332 func (m *DeleteMFADeviceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31333 i := len(dAtA) 31334 _ = i 31335 var l int 31336 _ = l 31337 if m.XXX_unrecognized != nil { 31338 i -= len(m.XXX_unrecognized) 31339 copy(dAtA[i:], m.XXX_unrecognized) 31340 } 31341 return len(dAtA) - i, nil 31342 } 31343 31344 func (m *DeleteMFADeviceSyncRequest) Marshal() (dAtA []byte, err error) { 31345 size := m.Size() 31346 dAtA = make([]byte, size) 31347 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31348 if err != nil { 31349 return nil, err 31350 } 31351 return dAtA[:n], nil 31352 } 31353 31354 func (m *DeleteMFADeviceSyncRequest) MarshalTo(dAtA []byte) (int, error) { 31355 size := m.Size() 31356 return m.MarshalToSizedBuffer(dAtA[:size]) 31357 } 31358 31359 func (m *DeleteMFADeviceSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31360 i := len(dAtA) 31361 _ = i 31362 var l int 31363 _ = l 31364 if m.XXX_unrecognized != nil { 31365 i -= len(m.XXX_unrecognized) 31366 copy(dAtA[i:], m.XXX_unrecognized) 31367 } 31368 if m.ExistingMFAResponse != nil { 31369 { 31370 size, err := m.ExistingMFAResponse.MarshalToSizedBuffer(dAtA[:i]) 31371 if err != nil { 31372 return 0, err 31373 } 31374 i -= size 31375 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 31376 } 31377 i-- 31378 dAtA[i] = 0x1a 31379 } 31380 if len(m.DeviceName) > 0 { 31381 i -= len(m.DeviceName) 31382 copy(dAtA[i:], m.DeviceName) 31383 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.DeviceName))) 31384 i-- 31385 dAtA[i] = 0x12 31386 } 31387 if len(m.TokenID) > 0 { 31388 i -= len(m.TokenID) 31389 copy(dAtA[i:], m.TokenID) 31390 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.TokenID))) 31391 i-- 31392 dAtA[i] = 0xa 31393 } 31394 return len(dAtA) - i, nil 31395 } 31396 31397 func (m *AddMFADeviceSyncRequest) Marshal() (dAtA []byte, err error) { 31398 size := m.Size() 31399 dAtA = make([]byte, size) 31400 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31401 if err != nil { 31402 return nil, err 31403 } 31404 return dAtA[:n], nil 31405 } 31406 31407 func (m *AddMFADeviceSyncRequest) MarshalTo(dAtA []byte) (int, error) { 31408 size := m.Size() 31409 return m.MarshalToSizedBuffer(dAtA[:size]) 31410 } 31411 31412 func (m *AddMFADeviceSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31413 i := len(dAtA) 31414 _ = i 31415 var l int 31416 _ = l 31417 if m.XXX_unrecognized != nil { 31418 i -= len(m.XXX_unrecognized) 31419 copy(dAtA[i:], m.XXX_unrecognized) 31420 } 31421 if m.ContextUser != nil { 31422 { 31423 size, err := m.ContextUser.MarshalToSizedBuffer(dAtA[:i]) 31424 if err != nil { 31425 return 0, err 31426 } 31427 i -= size 31428 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 31429 } 31430 i-- 31431 dAtA[i] = 0x2a 31432 } 31433 if m.DeviceUsage != 0 { 31434 i = encodeVarintAuthservice(dAtA, i, uint64(m.DeviceUsage)) 31435 i-- 31436 dAtA[i] = 0x20 31437 } 31438 if m.NewMFAResponse != nil { 31439 { 31440 size, err := m.NewMFAResponse.MarshalToSizedBuffer(dAtA[:i]) 31441 if err != nil { 31442 return 0, err 31443 } 31444 i -= size 31445 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 31446 } 31447 i-- 31448 dAtA[i] = 0x1a 31449 } 31450 if len(m.NewDeviceName) > 0 { 31451 i -= len(m.NewDeviceName) 31452 copy(dAtA[i:], m.NewDeviceName) 31453 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NewDeviceName))) 31454 i-- 31455 dAtA[i] = 0x12 31456 } 31457 if len(m.TokenID) > 0 { 31458 i -= len(m.TokenID) 31459 copy(dAtA[i:], m.TokenID) 31460 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.TokenID))) 31461 i-- 31462 dAtA[i] = 0xa 31463 } 31464 return len(dAtA) - i, nil 31465 } 31466 31467 func (m *AddMFADeviceSyncResponse) Marshal() (dAtA []byte, err error) { 31468 size := m.Size() 31469 dAtA = make([]byte, size) 31470 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31471 if err != nil { 31472 return nil, err 31473 } 31474 return dAtA[:n], nil 31475 } 31476 31477 func (m *AddMFADeviceSyncResponse) MarshalTo(dAtA []byte) (int, error) { 31478 size := m.Size() 31479 return m.MarshalToSizedBuffer(dAtA[:size]) 31480 } 31481 31482 func (m *AddMFADeviceSyncResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31483 i := len(dAtA) 31484 _ = i 31485 var l int 31486 _ = l 31487 if m.XXX_unrecognized != nil { 31488 i -= len(m.XXX_unrecognized) 31489 copy(dAtA[i:], m.XXX_unrecognized) 31490 } 31491 if m.Device != nil { 31492 { 31493 size, err := m.Device.MarshalToSizedBuffer(dAtA[:i]) 31494 if err != nil { 31495 return 0, err 31496 } 31497 i -= size 31498 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 31499 } 31500 i-- 31501 dAtA[i] = 0xa 31502 } 31503 return len(dAtA) - i, nil 31504 } 31505 31506 func (m *GetMFADevicesRequest) Marshal() (dAtA []byte, err error) { 31507 size := m.Size() 31508 dAtA = make([]byte, size) 31509 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31510 if err != nil { 31511 return nil, err 31512 } 31513 return dAtA[:n], nil 31514 } 31515 31516 func (m *GetMFADevicesRequest) MarshalTo(dAtA []byte) (int, error) { 31517 size := m.Size() 31518 return m.MarshalToSizedBuffer(dAtA[:size]) 31519 } 31520 31521 func (m *GetMFADevicesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31522 i := len(dAtA) 31523 _ = i 31524 var l int 31525 _ = l 31526 if m.XXX_unrecognized != nil { 31527 i -= len(m.XXX_unrecognized) 31528 copy(dAtA[i:], m.XXX_unrecognized) 31529 } 31530 if len(m.TokenID) > 0 { 31531 i -= len(m.TokenID) 31532 copy(dAtA[i:], m.TokenID) 31533 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.TokenID))) 31534 i-- 31535 dAtA[i] = 0xa 31536 } 31537 return len(dAtA) - i, nil 31538 } 31539 31540 func (m *GetMFADevicesResponse) Marshal() (dAtA []byte, err error) { 31541 size := m.Size() 31542 dAtA = make([]byte, size) 31543 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31544 if err != nil { 31545 return nil, err 31546 } 31547 return dAtA[:n], nil 31548 } 31549 31550 func (m *GetMFADevicesResponse) MarshalTo(dAtA []byte) (int, error) { 31551 size := m.Size() 31552 return m.MarshalToSizedBuffer(dAtA[:size]) 31553 } 31554 31555 func (m *GetMFADevicesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31556 i := len(dAtA) 31557 _ = i 31558 var l int 31559 _ = l 31560 if m.XXX_unrecognized != nil { 31561 i -= len(m.XXX_unrecognized) 31562 copy(dAtA[i:], m.XXX_unrecognized) 31563 } 31564 if len(m.Devices) > 0 { 31565 for iNdEx := len(m.Devices) - 1; iNdEx >= 0; iNdEx-- { 31566 { 31567 size, err := m.Devices[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 31568 if err != nil { 31569 return 0, err 31570 } 31571 i -= size 31572 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 31573 } 31574 i-- 31575 dAtA[i] = 0xa 31576 } 31577 } 31578 return len(dAtA) - i, nil 31579 } 31580 31581 func (m *UserSingleUseCertsRequest) Marshal() (dAtA []byte, err error) { 31582 size := m.Size() 31583 dAtA = make([]byte, size) 31584 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31585 if err != nil { 31586 return nil, err 31587 } 31588 return dAtA[:n], nil 31589 } 31590 31591 func (m *UserSingleUseCertsRequest) MarshalTo(dAtA []byte) (int, error) { 31592 size := m.Size() 31593 return m.MarshalToSizedBuffer(dAtA[:size]) 31594 } 31595 31596 func (m *UserSingleUseCertsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31597 i := len(dAtA) 31598 _ = i 31599 var l int 31600 _ = l 31601 if m.XXX_unrecognized != nil { 31602 i -= len(m.XXX_unrecognized) 31603 copy(dAtA[i:], m.XXX_unrecognized) 31604 } 31605 return len(dAtA) - i, nil 31606 } 31607 31608 func (m *UserSingleUseCertsResponse) Marshal() (dAtA []byte, err error) { 31609 size := m.Size() 31610 dAtA = make([]byte, size) 31611 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31612 if err != nil { 31613 return nil, err 31614 } 31615 return dAtA[:n], nil 31616 } 31617 31618 func (m *UserSingleUseCertsResponse) MarshalTo(dAtA []byte) (int, error) { 31619 size := m.Size() 31620 return m.MarshalToSizedBuffer(dAtA[:size]) 31621 } 31622 31623 func (m *UserSingleUseCertsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31624 i := len(dAtA) 31625 _ = i 31626 var l int 31627 _ = l 31628 if m.XXX_unrecognized != nil { 31629 i -= len(m.XXX_unrecognized) 31630 copy(dAtA[i:], m.XXX_unrecognized) 31631 } 31632 return len(dAtA) - i, nil 31633 } 31634 31635 func (m *IsMFARequiredRequest) Marshal() (dAtA []byte, err error) { 31636 size := m.Size() 31637 dAtA = make([]byte, size) 31638 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31639 if err != nil { 31640 return nil, err 31641 } 31642 return dAtA[:n], nil 31643 } 31644 31645 func (m *IsMFARequiredRequest) MarshalTo(dAtA []byte) (int, error) { 31646 size := m.Size() 31647 return m.MarshalToSizedBuffer(dAtA[:size]) 31648 } 31649 31650 func (m *IsMFARequiredRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31651 i := len(dAtA) 31652 _ = i 31653 var l int 31654 _ = l 31655 if m.XXX_unrecognized != nil { 31656 i -= len(m.XXX_unrecognized) 31657 copy(dAtA[i:], m.XXX_unrecognized) 31658 } 31659 if m.Target != nil { 31660 { 31661 size := m.Target.Size() 31662 i -= size 31663 if _, err := m.Target.MarshalTo(dAtA[i:]); err != nil { 31664 return 0, err 31665 } 31666 } 31667 } 31668 return len(dAtA) - i, nil 31669 } 31670 31671 func (m *IsMFARequiredRequest_KubernetesCluster) MarshalTo(dAtA []byte) (int, error) { 31672 size := m.Size() 31673 return m.MarshalToSizedBuffer(dAtA[:size]) 31674 } 31675 31676 func (m *IsMFARequiredRequest_KubernetesCluster) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31677 i := len(dAtA) 31678 i -= len(m.KubernetesCluster) 31679 copy(dAtA[i:], m.KubernetesCluster) 31680 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.KubernetesCluster))) 31681 i-- 31682 dAtA[i] = 0xa 31683 return len(dAtA) - i, nil 31684 } 31685 func (m *IsMFARequiredRequest_Database) MarshalTo(dAtA []byte) (int, error) { 31686 size := m.Size() 31687 return m.MarshalToSizedBuffer(dAtA[:size]) 31688 } 31689 31690 func (m *IsMFARequiredRequest_Database) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31691 i := len(dAtA) 31692 if m.Database != nil { 31693 { 31694 size, err := m.Database.MarshalToSizedBuffer(dAtA[:i]) 31695 if err != nil { 31696 return 0, err 31697 } 31698 i -= size 31699 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 31700 } 31701 i-- 31702 dAtA[i] = 0x12 31703 } 31704 return len(dAtA) - i, nil 31705 } 31706 func (m *IsMFARequiredRequest_Node) MarshalTo(dAtA []byte) (int, error) { 31707 size := m.Size() 31708 return m.MarshalToSizedBuffer(dAtA[:size]) 31709 } 31710 31711 func (m *IsMFARequiredRequest_Node) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31712 i := len(dAtA) 31713 if m.Node != nil { 31714 { 31715 size, err := m.Node.MarshalToSizedBuffer(dAtA[:i]) 31716 if err != nil { 31717 return 0, err 31718 } 31719 i -= size 31720 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 31721 } 31722 i-- 31723 dAtA[i] = 0x1a 31724 } 31725 return len(dAtA) - i, nil 31726 } 31727 func (m *IsMFARequiredRequest_WindowsDesktop) MarshalTo(dAtA []byte) (int, error) { 31728 size := m.Size() 31729 return m.MarshalToSizedBuffer(dAtA[:size]) 31730 } 31731 31732 func (m *IsMFARequiredRequest_WindowsDesktop) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31733 i := len(dAtA) 31734 if m.WindowsDesktop != nil { 31735 { 31736 size, err := m.WindowsDesktop.MarshalToSizedBuffer(dAtA[:i]) 31737 if err != nil { 31738 return 0, err 31739 } 31740 i -= size 31741 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 31742 } 31743 i-- 31744 dAtA[i] = 0x22 31745 } 31746 return len(dAtA) - i, nil 31747 } 31748 func (m *IsMFARequiredRequest_AdminAction) MarshalTo(dAtA []byte) (int, error) { 31749 size := m.Size() 31750 return m.MarshalToSizedBuffer(dAtA[:size]) 31751 } 31752 31753 func (m *IsMFARequiredRequest_AdminAction) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31754 i := len(dAtA) 31755 if m.AdminAction != nil { 31756 { 31757 size, err := m.AdminAction.MarshalToSizedBuffer(dAtA[:i]) 31758 if err != nil { 31759 return 0, err 31760 } 31761 i -= size 31762 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 31763 } 31764 i-- 31765 dAtA[i] = 0x2a 31766 } 31767 return len(dAtA) - i, nil 31768 } 31769 func (m *IsMFARequiredRequest_App) MarshalTo(dAtA []byte) (int, error) { 31770 size := m.Size() 31771 return m.MarshalToSizedBuffer(dAtA[:size]) 31772 } 31773 31774 func (m *IsMFARequiredRequest_App) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31775 i := len(dAtA) 31776 if m.App != nil { 31777 { 31778 size, err := m.App.MarshalToSizedBuffer(dAtA[:i]) 31779 if err != nil { 31780 return 0, err 31781 } 31782 i -= size 31783 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 31784 } 31785 i-- 31786 dAtA[i] = 0x32 31787 } 31788 return len(dAtA) - i, nil 31789 } 31790 func (m *StreamSessionEventsRequest) Marshal() (dAtA []byte, err error) { 31791 size := m.Size() 31792 dAtA = make([]byte, size) 31793 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31794 if err != nil { 31795 return nil, err 31796 } 31797 return dAtA[:n], nil 31798 } 31799 31800 func (m *StreamSessionEventsRequest) MarshalTo(dAtA []byte) (int, error) { 31801 size := m.Size() 31802 return m.MarshalToSizedBuffer(dAtA[:size]) 31803 } 31804 31805 func (m *StreamSessionEventsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31806 i := len(dAtA) 31807 _ = i 31808 var l int 31809 _ = l 31810 if m.XXX_unrecognized != nil { 31811 i -= len(m.XXX_unrecognized) 31812 copy(dAtA[i:], m.XXX_unrecognized) 31813 } 31814 if m.StartIndex != 0 { 31815 i = encodeVarintAuthservice(dAtA, i, uint64(m.StartIndex)) 31816 i-- 31817 dAtA[i] = 0x10 31818 } 31819 if len(m.SessionID) > 0 { 31820 i -= len(m.SessionID) 31821 copy(dAtA[i:], m.SessionID) 31822 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 31823 i-- 31824 dAtA[i] = 0xa 31825 } 31826 return len(dAtA) - i, nil 31827 } 31828 31829 func (m *NodeLogin) Marshal() (dAtA []byte, err error) { 31830 size := m.Size() 31831 dAtA = make([]byte, size) 31832 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31833 if err != nil { 31834 return nil, err 31835 } 31836 return dAtA[:n], nil 31837 } 31838 31839 func (m *NodeLogin) MarshalTo(dAtA []byte) (int, error) { 31840 size := m.Size() 31841 return m.MarshalToSizedBuffer(dAtA[:size]) 31842 } 31843 31844 func (m *NodeLogin) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31845 i := len(dAtA) 31846 _ = i 31847 var l int 31848 _ = l 31849 if m.XXX_unrecognized != nil { 31850 i -= len(m.XXX_unrecognized) 31851 copy(dAtA[i:], m.XXX_unrecognized) 31852 } 31853 if len(m.Login) > 0 { 31854 i -= len(m.Login) 31855 copy(dAtA[i:], m.Login) 31856 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Login))) 31857 i-- 31858 dAtA[i] = 0x12 31859 } 31860 if len(m.Node) > 0 { 31861 i -= len(m.Node) 31862 copy(dAtA[i:], m.Node) 31863 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Node))) 31864 i-- 31865 dAtA[i] = 0xa 31866 } 31867 return len(dAtA) - i, nil 31868 } 31869 31870 func (m *AdminAction) Marshal() (dAtA []byte, err error) { 31871 size := m.Size() 31872 dAtA = make([]byte, size) 31873 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31874 if err != nil { 31875 return nil, err 31876 } 31877 return dAtA[:n], nil 31878 } 31879 31880 func (m *AdminAction) MarshalTo(dAtA []byte) (int, error) { 31881 size := m.Size() 31882 return m.MarshalToSizedBuffer(dAtA[:size]) 31883 } 31884 31885 func (m *AdminAction) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31886 i := len(dAtA) 31887 _ = i 31888 var l int 31889 _ = l 31890 if m.XXX_unrecognized != nil { 31891 i -= len(m.XXX_unrecognized) 31892 copy(dAtA[i:], m.XXX_unrecognized) 31893 } 31894 return len(dAtA) - i, nil 31895 } 31896 31897 func (m *IsMFARequiredResponse) Marshal() (dAtA []byte, err error) { 31898 size := m.Size() 31899 dAtA = make([]byte, size) 31900 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31901 if err != nil { 31902 return nil, err 31903 } 31904 return dAtA[:n], nil 31905 } 31906 31907 func (m *IsMFARequiredResponse) MarshalTo(dAtA []byte) (int, error) { 31908 size := m.Size() 31909 return m.MarshalToSizedBuffer(dAtA[:size]) 31910 } 31911 31912 func (m *IsMFARequiredResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31913 i := len(dAtA) 31914 _ = i 31915 var l int 31916 _ = l 31917 if m.XXX_unrecognized != nil { 31918 i -= len(m.XXX_unrecognized) 31919 copy(dAtA[i:], m.XXX_unrecognized) 31920 } 31921 if m.MFARequired != 0 { 31922 i = encodeVarintAuthservice(dAtA, i, uint64(m.MFARequired)) 31923 i-- 31924 dAtA[i] = 0x10 31925 } 31926 if m.Required { 31927 i-- 31928 if m.Required { 31929 dAtA[i] = 1 31930 } else { 31931 dAtA[i] = 0 31932 } 31933 i-- 31934 dAtA[i] = 0x8 31935 } 31936 return len(dAtA) - i, nil 31937 } 31938 31939 func (m *GetEventsRequest) Marshal() (dAtA []byte, err error) { 31940 size := m.Size() 31941 dAtA = make([]byte, size) 31942 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 31943 if err != nil { 31944 return nil, err 31945 } 31946 return dAtA[:n], nil 31947 } 31948 31949 func (m *GetEventsRequest) MarshalTo(dAtA []byte) (int, error) { 31950 size := m.Size() 31951 return m.MarshalToSizedBuffer(dAtA[:size]) 31952 } 31953 31954 func (m *GetEventsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 31955 i := len(dAtA) 31956 _ = i 31957 var l int 31958 _ = l 31959 if m.XXX_unrecognized != nil { 31960 i -= len(m.XXX_unrecognized) 31961 copy(dAtA[i:], m.XXX_unrecognized) 31962 } 31963 if m.Order != 0 { 31964 i = encodeVarintAuthservice(dAtA, i, uint64(m.Order)) 31965 i-- 31966 dAtA[i] = 0x38 31967 } 31968 if len(m.StartKey) > 0 { 31969 i -= len(m.StartKey) 31970 copy(dAtA[i:], m.StartKey) 31971 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.StartKey))) 31972 i-- 31973 dAtA[i] = 0x32 31974 } 31975 if m.Limit != 0 { 31976 i = encodeVarintAuthservice(dAtA, i, uint64(m.Limit)) 31977 i-- 31978 dAtA[i] = 0x28 31979 } 31980 if len(m.EventTypes) > 0 { 31981 for iNdEx := len(m.EventTypes) - 1; iNdEx >= 0; iNdEx-- { 31982 i -= len(m.EventTypes[iNdEx]) 31983 copy(dAtA[i:], m.EventTypes[iNdEx]) 31984 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.EventTypes[iNdEx]))) 31985 i-- 31986 dAtA[i] = 0x22 31987 } 31988 } 31989 n60, err60 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.EndDate, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.EndDate):]) 31990 if err60 != nil { 31991 return 0, err60 31992 } 31993 i -= n60 31994 i = encodeVarintAuthservice(dAtA, i, uint64(n60)) 31995 i-- 31996 dAtA[i] = 0x1a 31997 n61, err61 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.StartDate, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.StartDate):]) 31998 if err61 != nil { 31999 return 0, err61 32000 } 32001 i -= n61 32002 i = encodeVarintAuthservice(dAtA, i, uint64(n61)) 32003 i-- 32004 dAtA[i] = 0x12 32005 if len(m.Namespace) > 0 { 32006 i -= len(m.Namespace) 32007 copy(dAtA[i:], m.Namespace) 32008 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Namespace))) 32009 i-- 32010 dAtA[i] = 0xa 32011 } 32012 return len(dAtA) - i, nil 32013 } 32014 32015 func (m *GetSessionEventsRequest) Marshal() (dAtA []byte, err error) { 32016 size := m.Size() 32017 dAtA = make([]byte, size) 32018 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32019 if err != nil { 32020 return nil, err 32021 } 32022 return dAtA[:n], nil 32023 } 32024 32025 func (m *GetSessionEventsRequest) MarshalTo(dAtA []byte) (int, error) { 32026 size := m.Size() 32027 return m.MarshalToSizedBuffer(dAtA[:size]) 32028 } 32029 32030 func (m *GetSessionEventsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32031 i := len(dAtA) 32032 _ = i 32033 var l int 32034 _ = l 32035 if m.XXX_unrecognized != nil { 32036 i -= len(m.XXX_unrecognized) 32037 copy(dAtA[i:], m.XXX_unrecognized) 32038 } 32039 if m.Order != 0 { 32040 i = encodeVarintAuthservice(dAtA, i, uint64(m.Order)) 32041 i-- 32042 dAtA[i] = 0x28 32043 } 32044 if len(m.StartKey) > 0 { 32045 i -= len(m.StartKey) 32046 copy(dAtA[i:], m.StartKey) 32047 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.StartKey))) 32048 i-- 32049 dAtA[i] = 0x22 32050 } 32051 if m.Limit != 0 { 32052 i = encodeVarintAuthservice(dAtA, i, uint64(m.Limit)) 32053 i-- 32054 dAtA[i] = 0x18 32055 } 32056 n62, err62 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.EndDate, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.EndDate):]) 32057 if err62 != nil { 32058 return 0, err62 32059 } 32060 i -= n62 32061 i = encodeVarintAuthservice(dAtA, i, uint64(n62)) 32062 i-- 32063 dAtA[i] = 0x12 32064 n63, err63 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.StartDate, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.StartDate):]) 32065 if err63 != nil { 32066 return 0, err63 32067 } 32068 i -= n63 32069 i = encodeVarintAuthservice(dAtA, i, uint64(n63)) 32070 i-- 32071 dAtA[i] = 0xa 32072 return len(dAtA) - i, nil 32073 } 32074 32075 func (m *Events) Marshal() (dAtA []byte, err error) { 32076 size := m.Size() 32077 dAtA = make([]byte, size) 32078 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32079 if err != nil { 32080 return nil, err 32081 } 32082 return dAtA[:n], nil 32083 } 32084 32085 func (m *Events) MarshalTo(dAtA []byte) (int, error) { 32086 size := m.Size() 32087 return m.MarshalToSizedBuffer(dAtA[:size]) 32088 } 32089 32090 func (m *Events) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32091 i := len(dAtA) 32092 _ = i 32093 var l int 32094 _ = l 32095 if m.XXX_unrecognized != nil { 32096 i -= len(m.XXX_unrecognized) 32097 copy(dAtA[i:], m.XXX_unrecognized) 32098 } 32099 if len(m.LastKey) > 0 { 32100 i -= len(m.LastKey) 32101 copy(dAtA[i:], m.LastKey) 32102 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.LastKey))) 32103 i-- 32104 dAtA[i] = 0x12 32105 } 32106 if len(m.Items) > 0 { 32107 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { 32108 { 32109 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 32110 if err != nil { 32111 return 0, err 32112 } 32113 i -= size 32114 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 32115 } 32116 i-- 32117 dAtA[i] = 0xa 32118 } 32119 } 32120 return len(dAtA) - i, nil 32121 } 32122 32123 func (m *GetLocksRequest) Marshal() (dAtA []byte, err error) { 32124 size := m.Size() 32125 dAtA = make([]byte, size) 32126 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32127 if err != nil { 32128 return nil, err 32129 } 32130 return dAtA[:n], nil 32131 } 32132 32133 func (m *GetLocksRequest) MarshalTo(dAtA []byte) (int, error) { 32134 size := m.Size() 32135 return m.MarshalToSizedBuffer(dAtA[:size]) 32136 } 32137 32138 func (m *GetLocksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32139 i := len(dAtA) 32140 _ = i 32141 var l int 32142 _ = l 32143 if m.XXX_unrecognized != nil { 32144 i -= len(m.XXX_unrecognized) 32145 copy(dAtA[i:], m.XXX_unrecognized) 32146 } 32147 if m.InForceOnly { 32148 i-- 32149 if m.InForceOnly { 32150 dAtA[i] = 1 32151 } else { 32152 dAtA[i] = 0 32153 } 32154 i-- 32155 dAtA[i] = 0x10 32156 } 32157 if len(m.Targets) > 0 { 32158 for iNdEx := len(m.Targets) - 1; iNdEx >= 0; iNdEx-- { 32159 { 32160 size, err := m.Targets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 32161 if err != nil { 32162 return 0, err 32163 } 32164 i -= size 32165 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 32166 } 32167 i-- 32168 dAtA[i] = 0xa 32169 } 32170 } 32171 return len(dAtA) - i, nil 32172 } 32173 32174 func (m *GetLocksResponse) Marshal() (dAtA []byte, err error) { 32175 size := m.Size() 32176 dAtA = make([]byte, size) 32177 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32178 if err != nil { 32179 return nil, err 32180 } 32181 return dAtA[:n], nil 32182 } 32183 32184 func (m *GetLocksResponse) MarshalTo(dAtA []byte) (int, error) { 32185 size := m.Size() 32186 return m.MarshalToSizedBuffer(dAtA[:size]) 32187 } 32188 32189 func (m *GetLocksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32190 i := len(dAtA) 32191 _ = i 32192 var l int 32193 _ = l 32194 if m.XXX_unrecognized != nil { 32195 i -= len(m.XXX_unrecognized) 32196 copy(dAtA[i:], m.XXX_unrecognized) 32197 } 32198 if len(m.Locks) > 0 { 32199 for iNdEx := len(m.Locks) - 1; iNdEx >= 0; iNdEx-- { 32200 { 32201 size, err := m.Locks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 32202 if err != nil { 32203 return 0, err 32204 } 32205 i -= size 32206 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 32207 } 32208 i-- 32209 dAtA[i] = 0xa 32210 } 32211 } 32212 return len(dAtA) - i, nil 32213 } 32214 32215 func (m *GetLockRequest) Marshal() (dAtA []byte, err error) { 32216 size := m.Size() 32217 dAtA = make([]byte, size) 32218 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32219 if err != nil { 32220 return nil, err 32221 } 32222 return dAtA[:n], nil 32223 } 32224 32225 func (m *GetLockRequest) MarshalTo(dAtA []byte) (int, error) { 32226 size := m.Size() 32227 return m.MarshalToSizedBuffer(dAtA[:size]) 32228 } 32229 32230 func (m *GetLockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32231 i := len(dAtA) 32232 _ = i 32233 var l int 32234 _ = l 32235 if m.XXX_unrecognized != nil { 32236 i -= len(m.XXX_unrecognized) 32237 copy(dAtA[i:], m.XXX_unrecognized) 32238 } 32239 if len(m.Name) > 0 { 32240 i -= len(m.Name) 32241 copy(dAtA[i:], m.Name) 32242 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 32243 i-- 32244 dAtA[i] = 0xa 32245 } 32246 return len(dAtA) - i, nil 32247 } 32248 32249 func (m *DeleteLockRequest) Marshal() (dAtA []byte, err error) { 32250 size := m.Size() 32251 dAtA = make([]byte, size) 32252 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32253 if err != nil { 32254 return nil, err 32255 } 32256 return dAtA[:n], nil 32257 } 32258 32259 func (m *DeleteLockRequest) MarshalTo(dAtA []byte) (int, error) { 32260 size := m.Size() 32261 return m.MarshalToSizedBuffer(dAtA[:size]) 32262 } 32263 32264 func (m *DeleteLockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32265 i := len(dAtA) 32266 _ = i 32267 var l int 32268 _ = l 32269 if m.XXX_unrecognized != nil { 32270 i -= len(m.XXX_unrecognized) 32271 copy(dAtA[i:], m.XXX_unrecognized) 32272 } 32273 if len(m.Name) > 0 { 32274 i -= len(m.Name) 32275 copy(dAtA[i:], m.Name) 32276 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 32277 i-- 32278 dAtA[i] = 0xa 32279 } 32280 return len(dAtA) - i, nil 32281 } 32282 32283 func (m *ReplaceRemoteLocksRequest) Marshal() (dAtA []byte, err error) { 32284 size := m.Size() 32285 dAtA = make([]byte, size) 32286 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32287 if err != nil { 32288 return nil, err 32289 } 32290 return dAtA[:n], nil 32291 } 32292 32293 func (m *ReplaceRemoteLocksRequest) MarshalTo(dAtA []byte) (int, error) { 32294 size := m.Size() 32295 return m.MarshalToSizedBuffer(dAtA[:size]) 32296 } 32297 32298 func (m *ReplaceRemoteLocksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32299 i := len(dAtA) 32300 _ = i 32301 var l int 32302 _ = l 32303 if m.XXX_unrecognized != nil { 32304 i -= len(m.XXX_unrecognized) 32305 copy(dAtA[i:], m.XXX_unrecognized) 32306 } 32307 if len(m.Locks) > 0 { 32308 for iNdEx := len(m.Locks) - 1; iNdEx >= 0; iNdEx-- { 32309 { 32310 size, err := m.Locks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 32311 if err != nil { 32312 return 0, err 32313 } 32314 i -= size 32315 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 32316 } 32317 i-- 32318 dAtA[i] = 0x12 32319 } 32320 } 32321 if len(m.ClusterName) > 0 { 32322 i -= len(m.ClusterName) 32323 copy(dAtA[i:], m.ClusterName) 32324 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ClusterName))) 32325 i-- 32326 dAtA[i] = 0xa 32327 } 32328 return len(dAtA) - i, nil 32329 } 32330 32331 func (m *GetWindowsDesktopServicesResponse) Marshal() (dAtA []byte, err error) { 32332 size := m.Size() 32333 dAtA = make([]byte, size) 32334 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32335 if err != nil { 32336 return nil, err 32337 } 32338 return dAtA[:n], nil 32339 } 32340 32341 func (m *GetWindowsDesktopServicesResponse) MarshalTo(dAtA []byte) (int, error) { 32342 size := m.Size() 32343 return m.MarshalToSizedBuffer(dAtA[:size]) 32344 } 32345 32346 func (m *GetWindowsDesktopServicesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32347 i := len(dAtA) 32348 _ = i 32349 var l int 32350 _ = l 32351 if m.XXX_unrecognized != nil { 32352 i -= len(m.XXX_unrecognized) 32353 copy(dAtA[i:], m.XXX_unrecognized) 32354 } 32355 if len(m.Services) > 0 { 32356 for iNdEx := len(m.Services) - 1; iNdEx >= 0; iNdEx-- { 32357 { 32358 size, err := m.Services[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 32359 if err != nil { 32360 return 0, err 32361 } 32362 i -= size 32363 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 32364 } 32365 i-- 32366 dAtA[i] = 0xa 32367 } 32368 } 32369 return len(dAtA) - i, nil 32370 } 32371 32372 func (m *GetWindowsDesktopServiceRequest) Marshal() (dAtA []byte, err error) { 32373 size := m.Size() 32374 dAtA = make([]byte, size) 32375 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32376 if err != nil { 32377 return nil, err 32378 } 32379 return dAtA[:n], nil 32380 } 32381 32382 func (m *GetWindowsDesktopServiceRequest) MarshalTo(dAtA []byte) (int, error) { 32383 size := m.Size() 32384 return m.MarshalToSizedBuffer(dAtA[:size]) 32385 } 32386 32387 func (m *GetWindowsDesktopServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32388 i := len(dAtA) 32389 _ = i 32390 var l int 32391 _ = l 32392 if m.XXX_unrecognized != nil { 32393 i -= len(m.XXX_unrecognized) 32394 copy(dAtA[i:], m.XXX_unrecognized) 32395 } 32396 if len(m.Name) > 0 { 32397 i -= len(m.Name) 32398 copy(dAtA[i:], m.Name) 32399 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 32400 i-- 32401 dAtA[i] = 0xa 32402 } 32403 return len(dAtA) - i, nil 32404 } 32405 32406 func (m *GetWindowsDesktopServiceResponse) Marshal() (dAtA []byte, err error) { 32407 size := m.Size() 32408 dAtA = make([]byte, size) 32409 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32410 if err != nil { 32411 return nil, err 32412 } 32413 return dAtA[:n], nil 32414 } 32415 32416 func (m *GetWindowsDesktopServiceResponse) MarshalTo(dAtA []byte) (int, error) { 32417 size := m.Size() 32418 return m.MarshalToSizedBuffer(dAtA[:size]) 32419 } 32420 32421 func (m *GetWindowsDesktopServiceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32422 i := len(dAtA) 32423 _ = i 32424 var l int 32425 _ = l 32426 if m.XXX_unrecognized != nil { 32427 i -= len(m.XXX_unrecognized) 32428 copy(dAtA[i:], m.XXX_unrecognized) 32429 } 32430 if m.Service != nil { 32431 { 32432 size, err := m.Service.MarshalToSizedBuffer(dAtA[:i]) 32433 if err != nil { 32434 return 0, err 32435 } 32436 i -= size 32437 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 32438 } 32439 i-- 32440 dAtA[i] = 0xa 32441 } 32442 return len(dAtA) - i, nil 32443 } 32444 32445 func (m *DeleteWindowsDesktopServiceRequest) Marshal() (dAtA []byte, err error) { 32446 size := m.Size() 32447 dAtA = make([]byte, size) 32448 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32449 if err != nil { 32450 return nil, err 32451 } 32452 return dAtA[:n], nil 32453 } 32454 32455 func (m *DeleteWindowsDesktopServiceRequest) MarshalTo(dAtA []byte) (int, error) { 32456 size := m.Size() 32457 return m.MarshalToSizedBuffer(dAtA[:size]) 32458 } 32459 32460 func (m *DeleteWindowsDesktopServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32461 i := len(dAtA) 32462 _ = i 32463 var l int 32464 _ = l 32465 if m.XXX_unrecognized != nil { 32466 i -= len(m.XXX_unrecognized) 32467 copy(dAtA[i:], m.XXX_unrecognized) 32468 } 32469 if len(m.Name) > 0 { 32470 i -= len(m.Name) 32471 copy(dAtA[i:], m.Name) 32472 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 32473 i-- 32474 dAtA[i] = 0xa 32475 } 32476 return len(dAtA) - i, nil 32477 } 32478 32479 func (m *GetWindowsDesktopsResponse) Marshal() (dAtA []byte, err error) { 32480 size := m.Size() 32481 dAtA = make([]byte, size) 32482 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32483 if err != nil { 32484 return nil, err 32485 } 32486 return dAtA[:n], nil 32487 } 32488 32489 func (m *GetWindowsDesktopsResponse) MarshalTo(dAtA []byte) (int, error) { 32490 size := m.Size() 32491 return m.MarshalToSizedBuffer(dAtA[:size]) 32492 } 32493 32494 func (m *GetWindowsDesktopsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32495 i := len(dAtA) 32496 _ = i 32497 var l int 32498 _ = l 32499 if m.XXX_unrecognized != nil { 32500 i -= len(m.XXX_unrecognized) 32501 copy(dAtA[i:], m.XXX_unrecognized) 32502 } 32503 if len(m.Desktops) > 0 { 32504 for iNdEx := len(m.Desktops) - 1; iNdEx >= 0; iNdEx-- { 32505 { 32506 size, err := m.Desktops[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 32507 if err != nil { 32508 return 0, err 32509 } 32510 i -= size 32511 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 32512 } 32513 i-- 32514 dAtA[i] = 0xa 32515 } 32516 } 32517 return len(dAtA) - i, nil 32518 } 32519 32520 func (m *DeleteWindowsDesktopRequest) Marshal() (dAtA []byte, err error) { 32521 size := m.Size() 32522 dAtA = make([]byte, size) 32523 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32524 if err != nil { 32525 return nil, err 32526 } 32527 return dAtA[:n], nil 32528 } 32529 32530 func (m *DeleteWindowsDesktopRequest) MarshalTo(dAtA []byte) (int, error) { 32531 size := m.Size() 32532 return m.MarshalToSizedBuffer(dAtA[:size]) 32533 } 32534 32535 func (m *DeleteWindowsDesktopRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32536 i := len(dAtA) 32537 _ = i 32538 var l int 32539 _ = l 32540 if m.XXX_unrecognized != nil { 32541 i -= len(m.XXX_unrecognized) 32542 copy(dAtA[i:], m.XXX_unrecognized) 32543 } 32544 if len(m.HostID) > 0 { 32545 i -= len(m.HostID) 32546 copy(dAtA[i:], m.HostID) 32547 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.HostID))) 32548 i-- 32549 dAtA[i] = 0x12 32550 } 32551 if len(m.Name) > 0 { 32552 i -= len(m.Name) 32553 copy(dAtA[i:], m.Name) 32554 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 32555 i-- 32556 dAtA[i] = 0xa 32557 } 32558 return len(dAtA) - i, nil 32559 } 32560 32561 func (m *WindowsDesktopCertRequest) Marshal() (dAtA []byte, err error) { 32562 size := m.Size() 32563 dAtA = make([]byte, size) 32564 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32565 if err != nil { 32566 return nil, err 32567 } 32568 return dAtA[:n], nil 32569 } 32570 32571 func (m *WindowsDesktopCertRequest) MarshalTo(dAtA []byte) (int, error) { 32572 size := m.Size() 32573 return m.MarshalToSizedBuffer(dAtA[:size]) 32574 } 32575 32576 func (m *WindowsDesktopCertRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32577 i := len(dAtA) 32578 _ = i 32579 var l int 32580 _ = l 32581 if m.XXX_unrecognized != nil { 32582 i -= len(m.XXX_unrecognized) 32583 copy(dAtA[i:], m.XXX_unrecognized) 32584 } 32585 if m.TTL != 0 { 32586 i = encodeVarintAuthservice(dAtA, i, uint64(m.TTL)) 32587 i-- 32588 dAtA[i] = 0x18 32589 } 32590 if len(m.CRLEndpoint) > 0 { 32591 i -= len(m.CRLEndpoint) 32592 copy(dAtA[i:], m.CRLEndpoint) 32593 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.CRLEndpoint))) 32594 i-- 32595 dAtA[i] = 0x12 32596 } 32597 if len(m.CSR) > 0 { 32598 i -= len(m.CSR) 32599 copy(dAtA[i:], m.CSR) 32600 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.CSR))) 32601 i-- 32602 dAtA[i] = 0xa 32603 } 32604 return len(dAtA) - i, nil 32605 } 32606 32607 func (m *WindowsDesktopCertResponse) Marshal() (dAtA []byte, err error) { 32608 size := m.Size() 32609 dAtA = make([]byte, size) 32610 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32611 if err != nil { 32612 return nil, err 32613 } 32614 return dAtA[:n], nil 32615 } 32616 32617 func (m *WindowsDesktopCertResponse) MarshalTo(dAtA []byte) (int, error) { 32618 size := m.Size() 32619 return m.MarshalToSizedBuffer(dAtA[:size]) 32620 } 32621 32622 func (m *WindowsDesktopCertResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32623 i := len(dAtA) 32624 _ = i 32625 var l int 32626 _ = l 32627 if m.XXX_unrecognized != nil { 32628 i -= len(m.XXX_unrecognized) 32629 copy(dAtA[i:], m.XXX_unrecognized) 32630 } 32631 if len(m.Cert) > 0 { 32632 i -= len(m.Cert) 32633 copy(dAtA[i:], m.Cert) 32634 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Cert))) 32635 i-- 32636 dAtA[i] = 0xa 32637 } 32638 return len(dAtA) - i, nil 32639 } 32640 32641 func (m *ListSAMLIdPServiceProvidersRequest) Marshal() (dAtA []byte, err error) { 32642 size := m.Size() 32643 dAtA = make([]byte, size) 32644 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32645 if err != nil { 32646 return nil, err 32647 } 32648 return dAtA[:n], nil 32649 } 32650 32651 func (m *ListSAMLIdPServiceProvidersRequest) MarshalTo(dAtA []byte) (int, error) { 32652 size := m.Size() 32653 return m.MarshalToSizedBuffer(dAtA[:size]) 32654 } 32655 32656 func (m *ListSAMLIdPServiceProvidersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32657 i := len(dAtA) 32658 _ = i 32659 var l int 32660 _ = l 32661 if m.XXX_unrecognized != nil { 32662 i -= len(m.XXX_unrecognized) 32663 copy(dAtA[i:], m.XXX_unrecognized) 32664 } 32665 if len(m.NextKey) > 0 { 32666 i -= len(m.NextKey) 32667 copy(dAtA[i:], m.NextKey) 32668 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NextKey))) 32669 i-- 32670 dAtA[i] = 0x12 32671 } 32672 if m.Limit != 0 { 32673 i = encodeVarintAuthservice(dAtA, i, uint64(m.Limit)) 32674 i-- 32675 dAtA[i] = 0x8 32676 } 32677 return len(dAtA) - i, nil 32678 } 32679 32680 func (m *ListSAMLIdPServiceProvidersResponse) Marshal() (dAtA []byte, err error) { 32681 size := m.Size() 32682 dAtA = make([]byte, size) 32683 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32684 if err != nil { 32685 return nil, err 32686 } 32687 return dAtA[:n], nil 32688 } 32689 32690 func (m *ListSAMLIdPServiceProvidersResponse) MarshalTo(dAtA []byte) (int, error) { 32691 size := m.Size() 32692 return m.MarshalToSizedBuffer(dAtA[:size]) 32693 } 32694 32695 func (m *ListSAMLIdPServiceProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32696 i := len(dAtA) 32697 _ = i 32698 var l int 32699 _ = l 32700 if m.XXX_unrecognized != nil { 32701 i -= len(m.XXX_unrecognized) 32702 copy(dAtA[i:], m.XXX_unrecognized) 32703 } 32704 if m.TotalCount != 0 { 32705 i = encodeVarintAuthservice(dAtA, i, uint64(m.TotalCount)) 32706 i-- 32707 dAtA[i] = 0x18 32708 } 32709 if len(m.NextKey) > 0 { 32710 i -= len(m.NextKey) 32711 copy(dAtA[i:], m.NextKey) 32712 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NextKey))) 32713 i-- 32714 dAtA[i] = 0x12 32715 } 32716 if len(m.ServiceProviders) > 0 { 32717 for iNdEx := len(m.ServiceProviders) - 1; iNdEx >= 0; iNdEx-- { 32718 { 32719 size, err := m.ServiceProviders[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 32720 if err != nil { 32721 return 0, err 32722 } 32723 i -= size 32724 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 32725 } 32726 i-- 32727 dAtA[i] = 0xa 32728 } 32729 } 32730 return len(dAtA) - i, nil 32731 } 32732 32733 func (m *GetSAMLIdPServiceProviderRequest) Marshal() (dAtA []byte, err error) { 32734 size := m.Size() 32735 dAtA = make([]byte, size) 32736 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32737 if err != nil { 32738 return nil, err 32739 } 32740 return dAtA[:n], nil 32741 } 32742 32743 func (m *GetSAMLIdPServiceProviderRequest) MarshalTo(dAtA []byte) (int, error) { 32744 size := m.Size() 32745 return m.MarshalToSizedBuffer(dAtA[:size]) 32746 } 32747 32748 func (m *GetSAMLIdPServiceProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32749 i := len(dAtA) 32750 _ = i 32751 var l int 32752 _ = l 32753 if m.XXX_unrecognized != nil { 32754 i -= len(m.XXX_unrecognized) 32755 copy(dAtA[i:], m.XXX_unrecognized) 32756 } 32757 if len(m.Name) > 0 { 32758 i -= len(m.Name) 32759 copy(dAtA[i:], m.Name) 32760 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 32761 i-- 32762 dAtA[i] = 0xa 32763 } 32764 return len(dAtA) - i, nil 32765 } 32766 32767 func (m *DeleteSAMLIdPServiceProviderRequest) Marshal() (dAtA []byte, err error) { 32768 size := m.Size() 32769 dAtA = make([]byte, size) 32770 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32771 if err != nil { 32772 return nil, err 32773 } 32774 return dAtA[:n], nil 32775 } 32776 32777 func (m *DeleteSAMLIdPServiceProviderRequest) MarshalTo(dAtA []byte) (int, error) { 32778 size := m.Size() 32779 return m.MarshalToSizedBuffer(dAtA[:size]) 32780 } 32781 32782 func (m *DeleteSAMLIdPServiceProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32783 i := len(dAtA) 32784 _ = i 32785 var l int 32786 _ = l 32787 if m.XXX_unrecognized != nil { 32788 i -= len(m.XXX_unrecognized) 32789 copy(dAtA[i:], m.XXX_unrecognized) 32790 } 32791 if len(m.Name) > 0 { 32792 i -= len(m.Name) 32793 copy(dAtA[i:], m.Name) 32794 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 32795 i-- 32796 dAtA[i] = 0xa 32797 } 32798 return len(dAtA) - i, nil 32799 } 32800 32801 func (m *ListUserGroupsRequest) Marshal() (dAtA []byte, err error) { 32802 size := m.Size() 32803 dAtA = make([]byte, size) 32804 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32805 if err != nil { 32806 return nil, err 32807 } 32808 return dAtA[:n], nil 32809 } 32810 32811 func (m *ListUserGroupsRequest) MarshalTo(dAtA []byte) (int, error) { 32812 size := m.Size() 32813 return m.MarshalToSizedBuffer(dAtA[:size]) 32814 } 32815 32816 func (m *ListUserGroupsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32817 i := len(dAtA) 32818 _ = i 32819 var l int 32820 _ = l 32821 if m.XXX_unrecognized != nil { 32822 i -= len(m.XXX_unrecognized) 32823 copy(dAtA[i:], m.XXX_unrecognized) 32824 } 32825 if len(m.NextKey) > 0 { 32826 i -= len(m.NextKey) 32827 copy(dAtA[i:], m.NextKey) 32828 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NextKey))) 32829 i-- 32830 dAtA[i] = 0x12 32831 } 32832 if m.Limit != 0 { 32833 i = encodeVarintAuthservice(dAtA, i, uint64(m.Limit)) 32834 i-- 32835 dAtA[i] = 0x8 32836 } 32837 return len(dAtA) - i, nil 32838 } 32839 32840 func (m *ListUserGroupsResponse) Marshal() (dAtA []byte, err error) { 32841 size := m.Size() 32842 dAtA = make([]byte, size) 32843 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32844 if err != nil { 32845 return nil, err 32846 } 32847 return dAtA[:n], nil 32848 } 32849 32850 func (m *ListUserGroupsResponse) MarshalTo(dAtA []byte) (int, error) { 32851 size := m.Size() 32852 return m.MarshalToSizedBuffer(dAtA[:size]) 32853 } 32854 32855 func (m *ListUserGroupsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32856 i := len(dAtA) 32857 _ = i 32858 var l int 32859 _ = l 32860 if m.XXX_unrecognized != nil { 32861 i -= len(m.XXX_unrecognized) 32862 copy(dAtA[i:], m.XXX_unrecognized) 32863 } 32864 if m.TotalCount != 0 { 32865 i = encodeVarintAuthservice(dAtA, i, uint64(m.TotalCount)) 32866 i-- 32867 dAtA[i] = 0x18 32868 } 32869 if len(m.NextKey) > 0 { 32870 i -= len(m.NextKey) 32871 copy(dAtA[i:], m.NextKey) 32872 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NextKey))) 32873 i-- 32874 dAtA[i] = 0x12 32875 } 32876 if len(m.UserGroups) > 0 { 32877 for iNdEx := len(m.UserGroups) - 1; iNdEx >= 0; iNdEx-- { 32878 { 32879 size, err := m.UserGroups[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 32880 if err != nil { 32881 return 0, err 32882 } 32883 i -= size 32884 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 32885 } 32886 i-- 32887 dAtA[i] = 0xa 32888 } 32889 } 32890 return len(dAtA) - i, nil 32891 } 32892 32893 func (m *GetUserGroupRequest) Marshal() (dAtA []byte, err error) { 32894 size := m.Size() 32895 dAtA = make([]byte, size) 32896 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32897 if err != nil { 32898 return nil, err 32899 } 32900 return dAtA[:n], nil 32901 } 32902 32903 func (m *GetUserGroupRequest) MarshalTo(dAtA []byte) (int, error) { 32904 size := m.Size() 32905 return m.MarshalToSizedBuffer(dAtA[:size]) 32906 } 32907 32908 func (m *GetUserGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32909 i := len(dAtA) 32910 _ = i 32911 var l int 32912 _ = l 32913 if m.XXX_unrecognized != nil { 32914 i -= len(m.XXX_unrecognized) 32915 copy(dAtA[i:], m.XXX_unrecognized) 32916 } 32917 if len(m.Name) > 0 { 32918 i -= len(m.Name) 32919 copy(dAtA[i:], m.Name) 32920 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 32921 i-- 32922 dAtA[i] = 0xa 32923 } 32924 return len(dAtA) - i, nil 32925 } 32926 32927 func (m *DeleteUserGroupRequest) Marshal() (dAtA []byte, err error) { 32928 size := m.Size() 32929 dAtA = make([]byte, size) 32930 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32931 if err != nil { 32932 return nil, err 32933 } 32934 return dAtA[:n], nil 32935 } 32936 32937 func (m *DeleteUserGroupRequest) MarshalTo(dAtA []byte) (int, error) { 32938 size := m.Size() 32939 return m.MarshalToSizedBuffer(dAtA[:size]) 32940 } 32941 32942 func (m *DeleteUserGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32943 i := len(dAtA) 32944 _ = i 32945 var l int 32946 _ = l 32947 if m.XXX_unrecognized != nil { 32948 i -= len(m.XXX_unrecognized) 32949 copy(dAtA[i:], m.XXX_unrecognized) 32950 } 32951 if len(m.Name) > 0 { 32952 i -= len(m.Name) 32953 copy(dAtA[i:], m.Name) 32954 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 32955 i-- 32956 dAtA[i] = 0xa 32957 } 32958 return len(dAtA) - i, nil 32959 } 32960 32961 func (m *CertAuthorityRequest) Marshal() (dAtA []byte, err error) { 32962 size := m.Size() 32963 dAtA = make([]byte, size) 32964 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32965 if err != nil { 32966 return nil, err 32967 } 32968 return dAtA[:n], nil 32969 } 32970 32971 func (m *CertAuthorityRequest) MarshalTo(dAtA []byte) (int, error) { 32972 size := m.Size() 32973 return m.MarshalToSizedBuffer(dAtA[:size]) 32974 } 32975 32976 func (m *CertAuthorityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 32977 i := len(dAtA) 32978 _ = i 32979 var l int 32980 _ = l 32981 if m.XXX_unrecognized != nil { 32982 i -= len(m.XXX_unrecognized) 32983 copy(dAtA[i:], m.XXX_unrecognized) 32984 } 32985 if len(m.Type) > 0 { 32986 i -= len(m.Type) 32987 copy(dAtA[i:], m.Type) 32988 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Type))) 32989 i-- 32990 dAtA[i] = 0xa 32991 } 32992 return len(dAtA) - i, nil 32993 } 32994 32995 func (m *CRL) Marshal() (dAtA []byte, err error) { 32996 size := m.Size() 32997 dAtA = make([]byte, size) 32998 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 32999 if err != nil { 33000 return nil, err 33001 } 33002 return dAtA[:n], nil 33003 } 33004 33005 func (m *CRL) MarshalTo(dAtA []byte) (int, error) { 33006 size := m.Size() 33007 return m.MarshalToSizedBuffer(dAtA[:size]) 33008 } 33009 33010 func (m *CRL) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33011 i := len(dAtA) 33012 _ = i 33013 var l int 33014 _ = l 33015 if m.XXX_unrecognized != nil { 33016 i -= len(m.XXX_unrecognized) 33017 copy(dAtA[i:], m.XXX_unrecognized) 33018 } 33019 if len(m.CRL) > 0 { 33020 i -= len(m.CRL) 33021 copy(dAtA[i:], m.CRL) 33022 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.CRL))) 33023 i-- 33024 dAtA[i] = 0xa 33025 } 33026 return len(dAtA) - i, nil 33027 } 33028 33029 func (m *ChangeUserAuthenticationRequest) Marshal() (dAtA []byte, err error) { 33030 size := m.Size() 33031 dAtA = make([]byte, size) 33032 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33033 if err != nil { 33034 return nil, err 33035 } 33036 return dAtA[:n], nil 33037 } 33038 33039 func (m *ChangeUserAuthenticationRequest) MarshalTo(dAtA []byte) (int, error) { 33040 size := m.Size() 33041 return m.MarshalToSizedBuffer(dAtA[:size]) 33042 } 33043 33044 func (m *ChangeUserAuthenticationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33045 i := len(dAtA) 33046 _ = i 33047 var l int 33048 _ = l 33049 if m.XXX_unrecognized != nil { 33050 i -= len(m.XXX_unrecognized) 33051 copy(dAtA[i:], m.XXX_unrecognized) 33052 } 33053 if len(m.LoginIP) > 0 { 33054 i -= len(m.LoginIP) 33055 copy(dAtA[i:], m.LoginIP) 33056 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.LoginIP))) 33057 i-- 33058 dAtA[i] = 0x2a 33059 } 33060 if len(m.NewDeviceName) > 0 { 33061 i -= len(m.NewDeviceName) 33062 copy(dAtA[i:], m.NewDeviceName) 33063 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NewDeviceName))) 33064 i-- 33065 dAtA[i] = 0x22 33066 } 33067 if m.NewMFARegisterResponse != nil { 33068 { 33069 size, err := m.NewMFARegisterResponse.MarshalToSizedBuffer(dAtA[:i]) 33070 if err != nil { 33071 return 0, err 33072 } 33073 i -= size 33074 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33075 } 33076 i-- 33077 dAtA[i] = 0x1a 33078 } 33079 if len(m.NewPassword) > 0 { 33080 i -= len(m.NewPassword) 33081 copy(dAtA[i:], m.NewPassword) 33082 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NewPassword))) 33083 i-- 33084 dAtA[i] = 0x12 33085 } 33086 if len(m.TokenID) > 0 { 33087 i -= len(m.TokenID) 33088 copy(dAtA[i:], m.TokenID) 33089 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.TokenID))) 33090 i-- 33091 dAtA[i] = 0xa 33092 } 33093 return len(dAtA) - i, nil 33094 } 33095 33096 func (m *ChangeUserAuthenticationResponse) Marshal() (dAtA []byte, err error) { 33097 size := m.Size() 33098 dAtA = make([]byte, size) 33099 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33100 if err != nil { 33101 return nil, err 33102 } 33103 return dAtA[:n], nil 33104 } 33105 33106 func (m *ChangeUserAuthenticationResponse) MarshalTo(dAtA []byte) (int, error) { 33107 size := m.Size() 33108 return m.MarshalToSizedBuffer(dAtA[:size]) 33109 } 33110 33111 func (m *ChangeUserAuthenticationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33112 i := len(dAtA) 33113 _ = i 33114 var l int 33115 _ = l 33116 if m.XXX_unrecognized != nil { 33117 i -= len(m.XXX_unrecognized) 33118 copy(dAtA[i:], m.XXX_unrecognized) 33119 } 33120 if m.PrivateKeyPolicyEnabled { 33121 i-- 33122 if m.PrivateKeyPolicyEnabled { 33123 dAtA[i] = 1 33124 } else { 33125 dAtA[i] = 0 33126 } 33127 i-- 33128 dAtA[i] = 0x18 33129 } 33130 if m.Recovery != nil { 33131 { 33132 size, err := m.Recovery.MarshalToSizedBuffer(dAtA[:i]) 33133 if err != nil { 33134 return 0, err 33135 } 33136 i -= size 33137 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33138 } 33139 i-- 33140 dAtA[i] = 0x12 33141 } 33142 if m.WebSession != nil { 33143 { 33144 size, err := m.WebSession.MarshalToSizedBuffer(dAtA[:i]) 33145 if err != nil { 33146 return 0, err 33147 } 33148 i -= size 33149 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33150 } 33151 i-- 33152 dAtA[i] = 0xa 33153 } 33154 return len(dAtA) - i, nil 33155 } 33156 33157 func (m *StartAccountRecoveryRequest) Marshal() (dAtA []byte, err error) { 33158 size := m.Size() 33159 dAtA = make([]byte, size) 33160 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33161 if err != nil { 33162 return nil, err 33163 } 33164 return dAtA[:n], nil 33165 } 33166 33167 func (m *StartAccountRecoveryRequest) MarshalTo(dAtA []byte) (int, error) { 33168 size := m.Size() 33169 return m.MarshalToSizedBuffer(dAtA[:size]) 33170 } 33171 33172 func (m *StartAccountRecoveryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33173 i := len(dAtA) 33174 _ = i 33175 var l int 33176 _ = l 33177 if m.XXX_unrecognized != nil { 33178 i -= len(m.XXX_unrecognized) 33179 copy(dAtA[i:], m.XXX_unrecognized) 33180 } 33181 if m.RecoverType != 0 { 33182 i = encodeVarintAuthservice(dAtA, i, uint64(m.RecoverType)) 33183 i-- 33184 dAtA[i] = 0x18 33185 } 33186 if len(m.RecoveryCode) > 0 { 33187 i -= len(m.RecoveryCode) 33188 copy(dAtA[i:], m.RecoveryCode) 33189 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.RecoveryCode))) 33190 i-- 33191 dAtA[i] = 0x12 33192 } 33193 if len(m.Username) > 0 { 33194 i -= len(m.Username) 33195 copy(dAtA[i:], m.Username) 33196 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Username))) 33197 i-- 33198 dAtA[i] = 0xa 33199 } 33200 return len(dAtA) - i, nil 33201 } 33202 33203 func (m *VerifyAccountRecoveryRequest) Marshal() (dAtA []byte, err error) { 33204 size := m.Size() 33205 dAtA = make([]byte, size) 33206 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33207 if err != nil { 33208 return nil, err 33209 } 33210 return dAtA[:n], nil 33211 } 33212 33213 func (m *VerifyAccountRecoveryRequest) MarshalTo(dAtA []byte) (int, error) { 33214 size := m.Size() 33215 return m.MarshalToSizedBuffer(dAtA[:size]) 33216 } 33217 33218 func (m *VerifyAccountRecoveryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33219 i := len(dAtA) 33220 _ = i 33221 var l int 33222 _ = l 33223 if m.XXX_unrecognized != nil { 33224 i -= len(m.XXX_unrecognized) 33225 copy(dAtA[i:], m.XXX_unrecognized) 33226 } 33227 if m.AuthnCred != nil { 33228 { 33229 size := m.AuthnCred.Size() 33230 i -= size 33231 if _, err := m.AuthnCred.MarshalTo(dAtA[i:]); err != nil { 33232 return 0, err 33233 } 33234 } 33235 } 33236 if len(m.Username) > 0 { 33237 i -= len(m.Username) 33238 copy(dAtA[i:], m.Username) 33239 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Username))) 33240 i-- 33241 dAtA[i] = 0x12 33242 } 33243 if len(m.RecoveryStartTokenID) > 0 { 33244 i -= len(m.RecoveryStartTokenID) 33245 copy(dAtA[i:], m.RecoveryStartTokenID) 33246 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.RecoveryStartTokenID))) 33247 i-- 33248 dAtA[i] = 0xa 33249 } 33250 return len(dAtA) - i, nil 33251 } 33252 33253 func (m *VerifyAccountRecoveryRequest_Password) MarshalTo(dAtA []byte) (int, error) { 33254 size := m.Size() 33255 return m.MarshalToSizedBuffer(dAtA[:size]) 33256 } 33257 33258 func (m *VerifyAccountRecoveryRequest_Password) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33259 i := len(dAtA) 33260 if m.Password != nil { 33261 i -= len(m.Password) 33262 copy(dAtA[i:], m.Password) 33263 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Password))) 33264 i-- 33265 dAtA[i] = 0x1a 33266 } 33267 return len(dAtA) - i, nil 33268 } 33269 func (m *VerifyAccountRecoveryRequest_MFAAuthenticateResponse) MarshalTo(dAtA []byte) (int, error) { 33270 size := m.Size() 33271 return m.MarshalToSizedBuffer(dAtA[:size]) 33272 } 33273 33274 func (m *VerifyAccountRecoveryRequest_MFAAuthenticateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33275 i := len(dAtA) 33276 if m.MFAAuthenticateResponse != nil { 33277 { 33278 size, err := m.MFAAuthenticateResponse.MarshalToSizedBuffer(dAtA[:i]) 33279 if err != nil { 33280 return 0, err 33281 } 33282 i -= size 33283 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33284 } 33285 i-- 33286 dAtA[i] = 0x22 33287 } 33288 return len(dAtA) - i, nil 33289 } 33290 func (m *CompleteAccountRecoveryRequest) Marshal() (dAtA []byte, err error) { 33291 size := m.Size() 33292 dAtA = make([]byte, size) 33293 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33294 if err != nil { 33295 return nil, err 33296 } 33297 return dAtA[:n], nil 33298 } 33299 33300 func (m *CompleteAccountRecoveryRequest) MarshalTo(dAtA []byte) (int, error) { 33301 size := m.Size() 33302 return m.MarshalToSizedBuffer(dAtA[:size]) 33303 } 33304 33305 func (m *CompleteAccountRecoveryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33306 i := len(dAtA) 33307 _ = i 33308 var l int 33309 _ = l 33310 if m.XXX_unrecognized != nil { 33311 i -= len(m.XXX_unrecognized) 33312 copy(dAtA[i:], m.XXX_unrecognized) 33313 } 33314 if m.NewAuthnCred != nil { 33315 { 33316 size := m.NewAuthnCred.Size() 33317 i -= size 33318 if _, err := m.NewAuthnCred.MarshalTo(dAtA[i:]); err != nil { 33319 return 0, err 33320 } 33321 } 33322 } 33323 if len(m.NewDeviceName) > 0 { 33324 i -= len(m.NewDeviceName) 33325 copy(dAtA[i:], m.NewDeviceName) 33326 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NewDeviceName))) 33327 i-- 33328 dAtA[i] = 0x12 33329 } 33330 if len(m.RecoveryApprovedTokenID) > 0 { 33331 i -= len(m.RecoveryApprovedTokenID) 33332 copy(dAtA[i:], m.RecoveryApprovedTokenID) 33333 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.RecoveryApprovedTokenID))) 33334 i-- 33335 dAtA[i] = 0xa 33336 } 33337 return len(dAtA) - i, nil 33338 } 33339 33340 func (m *CompleteAccountRecoveryRequest_NewPassword) MarshalTo(dAtA []byte) (int, error) { 33341 size := m.Size() 33342 return m.MarshalToSizedBuffer(dAtA[:size]) 33343 } 33344 33345 func (m *CompleteAccountRecoveryRequest_NewPassword) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33346 i := len(dAtA) 33347 if m.NewPassword != nil { 33348 i -= len(m.NewPassword) 33349 copy(dAtA[i:], m.NewPassword) 33350 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NewPassword))) 33351 i-- 33352 dAtA[i] = 0x1a 33353 } 33354 return len(dAtA) - i, nil 33355 } 33356 func (m *CompleteAccountRecoveryRequest_NewMFAResponse) MarshalTo(dAtA []byte) (int, error) { 33357 size := m.Size() 33358 return m.MarshalToSizedBuffer(dAtA[:size]) 33359 } 33360 33361 func (m *CompleteAccountRecoveryRequest_NewMFAResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33362 i := len(dAtA) 33363 if m.NewMFAResponse != nil { 33364 { 33365 size, err := m.NewMFAResponse.MarshalToSizedBuffer(dAtA[:i]) 33366 if err != nil { 33367 return 0, err 33368 } 33369 i -= size 33370 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33371 } 33372 i-- 33373 dAtA[i] = 0x22 33374 } 33375 return len(dAtA) - i, nil 33376 } 33377 func (m *RecoveryCodes) Marshal() (dAtA []byte, err error) { 33378 size := m.Size() 33379 dAtA = make([]byte, size) 33380 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33381 if err != nil { 33382 return nil, err 33383 } 33384 return dAtA[:n], nil 33385 } 33386 33387 func (m *RecoveryCodes) MarshalTo(dAtA []byte) (int, error) { 33388 size := m.Size() 33389 return m.MarshalToSizedBuffer(dAtA[:size]) 33390 } 33391 33392 func (m *RecoveryCodes) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33393 i := len(dAtA) 33394 _ = i 33395 var l int 33396 _ = l 33397 if m.XXX_unrecognized != nil { 33398 i -= len(m.XXX_unrecognized) 33399 copy(dAtA[i:], m.XXX_unrecognized) 33400 } 33401 n70, err70 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Created, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Created):]) 33402 if err70 != nil { 33403 return 0, err70 33404 } 33405 i -= n70 33406 i = encodeVarintAuthservice(dAtA, i, uint64(n70)) 33407 i-- 33408 dAtA[i] = 0x12 33409 if len(m.Codes) > 0 { 33410 for iNdEx := len(m.Codes) - 1; iNdEx >= 0; iNdEx-- { 33411 i -= len(m.Codes[iNdEx]) 33412 copy(dAtA[i:], m.Codes[iNdEx]) 33413 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Codes[iNdEx]))) 33414 i-- 33415 dAtA[i] = 0xa 33416 } 33417 } 33418 return len(dAtA) - i, nil 33419 } 33420 33421 func (m *CreateAccountRecoveryCodesRequest) Marshal() (dAtA []byte, err error) { 33422 size := m.Size() 33423 dAtA = make([]byte, size) 33424 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33425 if err != nil { 33426 return nil, err 33427 } 33428 return dAtA[:n], nil 33429 } 33430 33431 func (m *CreateAccountRecoveryCodesRequest) MarshalTo(dAtA []byte) (int, error) { 33432 size := m.Size() 33433 return m.MarshalToSizedBuffer(dAtA[:size]) 33434 } 33435 33436 func (m *CreateAccountRecoveryCodesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33437 i := len(dAtA) 33438 _ = i 33439 var l int 33440 _ = l 33441 if m.XXX_unrecognized != nil { 33442 i -= len(m.XXX_unrecognized) 33443 copy(dAtA[i:], m.XXX_unrecognized) 33444 } 33445 if len(m.TokenID) > 0 { 33446 i -= len(m.TokenID) 33447 copy(dAtA[i:], m.TokenID) 33448 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.TokenID))) 33449 i-- 33450 dAtA[i] = 0xa 33451 } 33452 return len(dAtA) - i, nil 33453 } 33454 33455 func (m *GetAccountRecoveryTokenRequest) Marshal() (dAtA []byte, err error) { 33456 size := m.Size() 33457 dAtA = make([]byte, size) 33458 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33459 if err != nil { 33460 return nil, err 33461 } 33462 return dAtA[:n], nil 33463 } 33464 33465 func (m *GetAccountRecoveryTokenRequest) MarshalTo(dAtA []byte) (int, error) { 33466 size := m.Size() 33467 return m.MarshalToSizedBuffer(dAtA[:size]) 33468 } 33469 33470 func (m *GetAccountRecoveryTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33471 i := len(dAtA) 33472 _ = i 33473 var l int 33474 _ = l 33475 if m.XXX_unrecognized != nil { 33476 i -= len(m.XXX_unrecognized) 33477 copy(dAtA[i:], m.XXX_unrecognized) 33478 } 33479 if len(m.RecoveryTokenID) > 0 { 33480 i -= len(m.RecoveryTokenID) 33481 copy(dAtA[i:], m.RecoveryTokenID) 33482 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.RecoveryTokenID))) 33483 i-- 33484 dAtA[i] = 0xa 33485 } 33486 return len(dAtA) - i, nil 33487 } 33488 33489 func (m *GetAccountRecoveryCodesRequest) Marshal() (dAtA []byte, err error) { 33490 size := m.Size() 33491 dAtA = make([]byte, size) 33492 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33493 if err != nil { 33494 return nil, err 33495 } 33496 return dAtA[:n], nil 33497 } 33498 33499 func (m *GetAccountRecoveryCodesRequest) MarshalTo(dAtA []byte) (int, error) { 33500 size := m.Size() 33501 return m.MarshalToSizedBuffer(dAtA[:size]) 33502 } 33503 33504 func (m *GetAccountRecoveryCodesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33505 i := len(dAtA) 33506 _ = i 33507 var l int 33508 _ = l 33509 if m.XXX_unrecognized != nil { 33510 i -= len(m.XXX_unrecognized) 33511 copy(dAtA[i:], m.XXX_unrecognized) 33512 } 33513 return len(dAtA) - i, nil 33514 } 33515 33516 func (m *UserCredentials) Marshal() (dAtA []byte, err error) { 33517 size := m.Size() 33518 dAtA = make([]byte, size) 33519 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33520 if err != nil { 33521 return nil, err 33522 } 33523 return dAtA[:n], nil 33524 } 33525 33526 func (m *UserCredentials) MarshalTo(dAtA []byte) (int, error) { 33527 size := m.Size() 33528 return m.MarshalToSizedBuffer(dAtA[:size]) 33529 } 33530 33531 func (m *UserCredentials) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33532 i := len(dAtA) 33533 _ = i 33534 var l int 33535 _ = l 33536 if m.XXX_unrecognized != nil { 33537 i -= len(m.XXX_unrecognized) 33538 copy(dAtA[i:], m.XXX_unrecognized) 33539 } 33540 if len(m.Password) > 0 { 33541 i -= len(m.Password) 33542 copy(dAtA[i:], m.Password) 33543 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Password))) 33544 i-- 33545 dAtA[i] = 0x12 33546 } 33547 if len(m.Username) > 0 { 33548 i -= len(m.Username) 33549 copy(dAtA[i:], m.Username) 33550 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Username))) 33551 i-- 33552 dAtA[i] = 0xa 33553 } 33554 return len(dAtA) - i, nil 33555 } 33556 33557 func (m *ContextUser) Marshal() (dAtA []byte, err error) { 33558 size := m.Size() 33559 dAtA = make([]byte, size) 33560 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33561 if err != nil { 33562 return nil, err 33563 } 33564 return dAtA[:n], nil 33565 } 33566 33567 func (m *ContextUser) MarshalTo(dAtA []byte) (int, error) { 33568 size := m.Size() 33569 return m.MarshalToSizedBuffer(dAtA[:size]) 33570 } 33571 33572 func (m *ContextUser) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33573 i := len(dAtA) 33574 _ = i 33575 var l int 33576 _ = l 33577 if m.XXX_unrecognized != nil { 33578 i -= len(m.XXX_unrecognized) 33579 copy(dAtA[i:], m.XXX_unrecognized) 33580 } 33581 return len(dAtA) - i, nil 33582 } 33583 33584 func (m *Passwordless) Marshal() (dAtA []byte, err error) { 33585 size := m.Size() 33586 dAtA = make([]byte, size) 33587 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33588 if err != nil { 33589 return nil, err 33590 } 33591 return dAtA[:n], nil 33592 } 33593 33594 func (m *Passwordless) MarshalTo(dAtA []byte) (int, error) { 33595 size := m.Size() 33596 return m.MarshalToSizedBuffer(dAtA[:size]) 33597 } 33598 33599 func (m *Passwordless) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33600 i := len(dAtA) 33601 _ = i 33602 var l int 33603 _ = l 33604 if m.XXX_unrecognized != nil { 33605 i -= len(m.XXX_unrecognized) 33606 copy(dAtA[i:], m.XXX_unrecognized) 33607 } 33608 return len(dAtA) - i, nil 33609 } 33610 33611 func (m *CreateAuthenticateChallengeRequest) Marshal() (dAtA []byte, err error) { 33612 size := m.Size() 33613 dAtA = make([]byte, size) 33614 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33615 if err != nil { 33616 return nil, err 33617 } 33618 return dAtA[:n], nil 33619 } 33620 33621 func (m *CreateAuthenticateChallengeRequest) MarshalTo(dAtA []byte) (int, error) { 33622 size := m.Size() 33623 return m.MarshalToSizedBuffer(dAtA[:size]) 33624 } 33625 33626 func (m *CreateAuthenticateChallengeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33627 i := len(dAtA) 33628 _ = i 33629 var l int 33630 _ = l 33631 if m.XXX_unrecognized != nil { 33632 i -= len(m.XXX_unrecognized) 33633 copy(dAtA[i:], m.XXX_unrecognized) 33634 } 33635 if m.ChallengeExtensions != nil { 33636 { 33637 size, err := m.ChallengeExtensions.MarshalToSizedBuffer(dAtA[:i]) 33638 if err != nil { 33639 return 0, err 33640 } 33641 i -= size 33642 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33643 } 33644 i-- 33645 dAtA[i] = 0x32 33646 } 33647 if m.MFARequiredCheck != nil { 33648 { 33649 size, err := m.MFARequiredCheck.MarshalToSizedBuffer(dAtA[:i]) 33650 if err != nil { 33651 return 0, err 33652 } 33653 i -= size 33654 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33655 } 33656 i-- 33657 dAtA[i] = 0x2a 33658 } 33659 if m.Request != nil { 33660 { 33661 size := m.Request.Size() 33662 i -= size 33663 if _, err := m.Request.MarshalTo(dAtA[i:]); err != nil { 33664 return 0, err 33665 } 33666 } 33667 } 33668 return len(dAtA) - i, nil 33669 } 33670 33671 func (m *CreateAuthenticateChallengeRequest_UserCredentials) MarshalTo(dAtA []byte) (int, error) { 33672 size := m.Size() 33673 return m.MarshalToSizedBuffer(dAtA[:size]) 33674 } 33675 33676 func (m *CreateAuthenticateChallengeRequest_UserCredentials) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33677 i := len(dAtA) 33678 if m.UserCredentials != nil { 33679 { 33680 size, err := m.UserCredentials.MarshalToSizedBuffer(dAtA[:i]) 33681 if err != nil { 33682 return 0, err 33683 } 33684 i -= size 33685 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33686 } 33687 i-- 33688 dAtA[i] = 0xa 33689 } 33690 return len(dAtA) - i, nil 33691 } 33692 func (m *CreateAuthenticateChallengeRequest_RecoveryStartTokenID) MarshalTo(dAtA []byte) (int, error) { 33693 size := m.Size() 33694 return m.MarshalToSizedBuffer(dAtA[:size]) 33695 } 33696 33697 func (m *CreateAuthenticateChallengeRequest_RecoveryStartTokenID) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33698 i := len(dAtA) 33699 i -= len(m.RecoveryStartTokenID) 33700 copy(dAtA[i:], m.RecoveryStartTokenID) 33701 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.RecoveryStartTokenID))) 33702 i-- 33703 dAtA[i] = 0x12 33704 return len(dAtA) - i, nil 33705 } 33706 func (m *CreateAuthenticateChallengeRequest_ContextUser) MarshalTo(dAtA []byte) (int, error) { 33707 size := m.Size() 33708 return m.MarshalToSizedBuffer(dAtA[:size]) 33709 } 33710 33711 func (m *CreateAuthenticateChallengeRequest_ContextUser) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33712 i := len(dAtA) 33713 if m.ContextUser != nil { 33714 { 33715 size, err := m.ContextUser.MarshalToSizedBuffer(dAtA[:i]) 33716 if err != nil { 33717 return 0, err 33718 } 33719 i -= size 33720 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33721 } 33722 i-- 33723 dAtA[i] = 0x1a 33724 } 33725 return len(dAtA) - i, nil 33726 } 33727 func (m *CreateAuthenticateChallengeRequest_Passwordless) MarshalTo(dAtA []byte) (int, error) { 33728 size := m.Size() 33729 return m.MarshalToSizedBuffer(dAtA[:size]) 33730 } 33731 33732 func (m *CreateAuthenticateChallengeRequest_Passwordless) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33733 i := len(dAtA) 33734 if m.Passwordless != nil { 33735 { 33736 size, err := m.Passwordless.MarshalToSizedBuffer(dAtA[:i]) 33737 if err != nil { 33738 return 0, err 33739 } 33740 i -= size 33741 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33742 } 33743 i-- 33744 dAtA[i] = 0x22 33745 } 33746 return len(dAtA) - i, nil 33747 } 33748 func (m *CreatePrivilegeTokenRequest) Marshal() (dAtA []byte, err error) { 33749 size := m.Size() 33750 dAtA = make([]byte, size) 33751 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33752 if err != nil { 33753 return nil, err 33754 } 33755 return dAtA[:n], nil 33756 } 33757 33758 func (m *CreatePrivilegeTokenRequest) MarshalTo(dAtA []byte) (int, error) { 33759 size := m.Size() 33760 return m.MarshalToSizedBuffer(dAtA[:size]) 33761 } 33762 33763 func (m *CreatePrivilegeTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33764 i := len(dAtA) 33765 _ = i 33766 var l int 33767 _ = l 33768 if m.XXX_unrecognized != nil { 33769 i -= len(m.XXX_unrecognized) 33770 copy(dAtA[i:], m.XXX_unrecognized) 33771 } 33772 if m.ExistingMFAResponse != nil { 33773 { 33774 size, err := m.ExistingMFAResponse.MarshalToSizedBuffer(dAtA[:i]) 33775 if err != nil { 33776 return 0, err 33777 } 33778 i -= size 33779 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33780 } 33781 i-- 33782 dAtA[i] = 0xa 33783 } 33784 return len(dAtA) - i, nil 33785 } 33786 33787 func (m *CreateRegisterChallengeRequest) Marshal() (dAtA []byte, err error) { 33788 size := m.Size() 33789 dAtA = make([]byte, size) 33790 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33791 if err != nil { 33792 return nil, err 33793 } 33794 return dAtA[:n], nil 33795 } 33796 33797 func (m *CreateRegisterChallengeRequest) MarshalTo(dAtA []byte) (int, error) { 33798 size := m.Size() 33799 return m.MarshalToSizedBuffer(dAtA[:size]) 33800 } 33801 33802 func (m *CreateRegisterChallengeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33803 i := len(dAtA) 33804 _ = i 33805 var l int 33806 _ = l 33807 if m.XXX_unrecognized != nil { 33808 i -= len(m.XXX_unrecognized) 33809 copy(dAtA[i:], m.XXX_unrecognized) 33810 } 33811 if m.ExistingMFAResponse != nil { 33812 { 33813 size, err := m.ExistingMFAResponse.MarshalToSizedBuffer(dAtA[:i]) 33814 if err != nil { 33815 return 0, err 33816 } 33817 i -= size 33818 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33819 } 33820 i-- 33821 dAtA[i] = 0x22 33822 } 33823 if m.DeviceUsage != 0 { 33824 i = encodeVarintAuthservice(dAtA, i, uint64(m.DeviceUsage)) 33825 i-- 33826 dAtA[i] = 0x18 33827 } 33828 if m.DeviceType != 0 { 33829 i = encodeVarintAuthservice(dAtA, i, uint64(m.DeviceType)) 33830 i-- 33831 dAtA[i] = 0x10 33832 } 33833 if len(m.TokenID) > 0 { 33834 i -= len(m.TokenID) 33835 copy(dAtA[i:], m.TokenID) 33836 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.TokenID))) 33837 i-- 33838 dAtA[i] = 0xa 33839 } 33840 return len(dAtA) - i, nil 33841 } 33842 33843 func (m *PaginatedResource) Marshal() (dAtA []byte, err error) { 33844 size := m.Size() 33845 dAtA = make([]byte, size) 33846 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 33847 if err != nil { 33848 return nil, err 33849 } 33850 return dAtA[:n], nil 33851 } 33852 33853 func (m *PaginatedResource) MarshalTo(dAtA []byte) (int, error) { 33854 size := m.Size() 33855 return m.MarshalToSizedBuffer(dAtA[:size]) 33856 } 33857 33858 func (m *PaginatedResource) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33859 i := len(dAtA) 33860 _ = i 33861 var l int 33862 _ = l 33863 if m.XXX_unrecognized != nil { 33864 i -= len(m.XXX_unrecognized) 33865 copy(dAtA[i:], m.XXX_unrecognized) 33866 } 33867 if m.RequiresRequest { 33868 i-- 33869 if m.RequiresRequest { 33870 dAtA[i] = 1 33871 } else { 33872 dAtA[i] = 0 33873 } 33874 i-- 33875 dAtA[i] = 0x70 33876 } 33877 if len(m.Logins) > 0 { 33878 for iNdEx := len(m.Logins) - 1; iNdEx >= 0; iNdEx-- { 33879 i -= len(m.Logins[iNdEx]) 33880 copy(dAtA[i:], m.Logins[iNdEx]) 33881 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Logins[iNdEx]))) 33882 i-- 33883 dAtA[i] = 0x6a 33884 } 33885 } 33886 if m.Resource != nil { 33887 { 33888 size := m.Resource.Size() 33889 i -= size 33890 if _, err := m.Resource.MarshalTo(dAtA[i:]); err != nil { 33891 return 0, err 33892 } 33893 } 33894 } 33895 return len(dAtA) - i, nil 33896 } 33897 33898 func (m *PaginatedResource_DatabaseServer) MarshalTo(dAtA []byte) (int, error) { 33899 size := m.Size() 33900 return m.MarshalToSizedBuffer(dAtA[:size]) 33901 } 33902 33903 func (m *PaginatedResource_DatabaseServer) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33904 i := len(dAtA) 33905 if m.DatabaseServer != nil { 33906 { 33907 size, err := m.DatabaseServer.MarshalToSizedBuffer(dAtA[:i]) 33908 if err != nil { 33909 return 0, err 33910 } 33911 i -= size 33912 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33913 } 33914 i-- 33915 dAtA[i] = 0xa 33916 } 33917 return len(dAtA) - i, nil 33918 } 33919 func (m *PaginatedResource_AppServer) MarshalTo(dAtA []byte) (int, error) { 33920 size := m.Size() 33921 return m.MarshalToSizedBuffer(dAtA[:size]) 33922 } 33923 33924 func (m *PaginatedResource_AppServer) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33925 i := len(dAtA) 33926 if m.AppServer != nil { 33927 { 33928 size, err := m.AppServer.MarshalToSizedBuffer(dAtA[:i]) 33929 if err != nil { 33930 return 0, err 33931 } 33932 i -= size 33933 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33934 } 33935 i-- 33936 dAtA[i] = 0x12 33937 } 33938 return len(dAtA) - i, nil 33939 } 33940 func (m *PaginatedResource_Node) MarshalTo(dAtA []byte) (int, error) { 33941 size := m.Size() 33942 return m.MarshalToSizedBuffer(dAtA[:size]) 33943 } 33944 33945 func (m *PaginatedResource_Node) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33946 i := len(dAtA) 33947 if m.Node != nil { 33948 { 33949 size, err := m.Node.MarshalToSizedBuffer(dAtA[:i]) 33950 if err != nil { 33951 return 0, err 33952 } 33953 i -= size 33954 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33955 } 33956 i-- 33957 dAtA[i] = 0x1a 33958 } 33959 return len(dAtA) - i, nil 33960 } 33961 func (m *PaginatedResource_WindowsDesktop) MarshalTo(dAtA []byte) (int, error) { 33962 size := m.Size() 33963 return m.MarshalToSizedBuffer(dAtA[:size]) 33964 } 33965 33966 func (m *PaginatedResource_WindowsDesktop) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33967 i := len(dAtA) 33968 if m.WindowsDesktop != nil { 33969 { 33970 size, err := m.WindowsDesktop.MarshalToSizedBuffer(dAtA[:i]) 33971 if err != nil { 33972 return 0, err 33973 } 33974 i -= size 33975 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33976 } 33977 i-- 33978 dAtA[i] = 0x2a 33979 } 33980 return len(dAtA) - i, nil 33981 } 33982 func (m *PaginatedResource_KubeCluster) MarshalTo(dAtA []byte) (int, error) { 33983 size := m.Size() 33984 return m.MarshalToSizedBuffer(dAtA[:size]) 33985 } 33986 33987 func (m *PaginatedResource_KubeCluster) MarshalToSizedBuffer(dAtA []byte) (int, error) { 33988 i := len(dAtA) 33989 if m.KubeCluster != nil { 33990 { 33991 size, err := m.KubeCluster.MarshalToSizedBuffer(dAtA[:i]) 33992 if err != nil { 33993 return 0, err 33994 } 33995 i -= size 33996 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 33997 } 33998 i-- 33999 dAtA[i] = 0x32 34000 } 34001 return len(dAtA) - i, nil 34002 } 34003 func (m *PaginatedResource_KubernetesServer) MarshalTo(dAtA []byte) (int, error) { 34004 size := m.Size() 34005 return m.MarshalToSizedBuffer(dAtA[:size]) 34006 } 34007 34008 func (m *PaginatedResource_KubernetesServer) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34009 i := len(dAtA) 34010 if m.KubernetesServer != nil { 34011 { 34012 size, err := m.KubernetesServer.MarshalToSizedBuffer(dAtA[:i]) 34013 if err != nil { 34014 return 0, err 34015 } 34016 i -= size 34017 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34018 } 34019 i-- 34020 dAtA[i] = 0x3a 34021 } 34022 return len(dAtA) - i, nil 34023 } 34024 func (m *PaginatedResource_WindowsDesktopService) MarshalTo(dAtA []byte) (int, error) { 34025 size := m.Size() 34026 return m.MarshalToSizedBuffer(dAtA[:size]) 34027 } 34028 34029 func (m *PaginatedResource_WindowsDesktopService) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34030 i := len(dAtA) 34031 if m.WindowsDesktopService != nil { 34032 { 34033 size, err := m.WindowsDesktopService.MarshalToSizedBuffer(dAtA[:i]) 34034 if err != nil { 34035 return 0, err 34036 } 34037 i -= size 34038 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34039 } 34040 i-- 34041 dAtA[i] = 0x42 34042 } 34043 return len(dAtA) - i, nil 34044 } 34045 func (m *PaginatedResource_DatabaseService) MarshalTo(dAtA []byte) (int, error) { 34046 size := m.Size() 34047 return m.MarshalToSizedBuffer(dAtA[:size]) 34048 } 34049 34050 func (m *PaginatedResource_DatabaseService) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34051 i := len(dAtA) 34052 if m.DatabaseService != nil { 34053 { 34054 size, err := m.DatabaseService.MarshalToSizedBuffer(dAtA[:i]) 34055 if err != nil { 34056 return 0, err 34057 } 34058 i -= size 34059 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34060 } 34061 i-- 34062 dAtA[i] = 0x4a 34063 } 34064 return len(dAtA) - i, nil 34065 } 34066 func (m *PaginatedResource_UserGroup) MarshalTo(dAtA []byte) (int, error) { 34067 size := m.Size() 34068 return m.MarshalToSizedBuffer(dAtA[:size]) 34069 } 34070 34071 func (m *PaginatedResource_UserGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34072 i := len(dAtA) 34073 if m.UserGroup != nil { 34074 { 34075 size, err := m.UserGroup.MarshalToSizedBuffer(dAtA[:i]) 34076 if err != nil { 34077 return 0, err 34078 } 34079 i -= size 34080 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34081 } 34082 i-- 34083 dAtA[i] = 0x52 34084 } 34085 return len(dAtA) - i, nil 34086 } 34087 func (m *PaginatedResource_AppServerOrSAMLIdPServiceProvider) MarshalTo(dAtA []byte) (int, error) { 34088 size := m.Size() 34089 return m.MarshalToSizedBuffer(dAtA[:size]) 34090 } 34091 34092 func (m *PaginatedResource_AppServerOrSAMLIdPServiceProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34093 i := len(dAtA) 34094 if m.AppServerOrSAMLIdPServiceProvider != nil { 34095 { 34096 size, err := m.AppServerOrSAMLIdPServiceProvider.MarshalToSizedBuffer(dAtA[:i]) 34097 if err != nil { 34098 return 0, err 34099 } 34100 i -= size 34101 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34102 } 34103 i-- 34104 dAtA[i] = 0x5a 34105 } 34106 return len(dAtA) - i, nil 34107 } 34108 func (m *PaginatedResource_SAMLIdPServiceProvider) MarshalTo(dAtA []byte) (int, error) { 34109 size := m.Size() 34110 return m.MarshalToSizedBuffer(dAtA[:size]) 34111 } 34112 34113 func (m *PaginatedResource_SAMLIdPServiceProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34114 i := len(dAtA) 34115 if m.SAMLIdPServiceProvider != nil { 34116 { 34117 size, err := m.SAMLIdPServiceProvider.MarshalToSizedBuffer(dAtA[:i]) 34118 if err != nil { 34119 return 0, err 34120 } 34121 i -= size 34122 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34123 } 34124 i-- 34125 dAtA[i] = 0x62 34126 } 34127 return len(dAtA) - i, nil 34128 } 34129 func (m *ListUnifiedResourcesRequest) Marshal() (dAtA []byte, err error) { 34130 size := m.Size() 34131 dAtA = make([]byte, size) 34132 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34133 if err != nil { 34134 return nil, err 34135 } 34136 return dAtA[:n], nil 34137 } 34138 34139 func (m *ListUnifiedResourcesRequest) MarshalTo(dAtA []byte) (int, error) { 34140 size := m.Size() 34141 return m.MarshalToSizedBuffer(dAtA[:size]) 34142 } 34143 34144 func (m *ListUnifiedResourcesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34145 i := len(dAtA) 34146 _ = i 34147 var l int 34148 _ = l 34149 if m.XXX_unrecognized != nil { 34150 i -= len(m.XXX_unrecognized) 34151 copy(dAtA[i:], m.XXX_unrecognized) 34152 } 34153 if m.IncludeRequestable { 34154 i-- 34155 if m.IncludeRequestable { 34156 dAtA[i] = 1 34157 } else { 34158 dAtA[i] = 0 34159 } 34160 i-- 34161 dAtA[i] = 0x70 34162 } 34163 if m.IncludeLogins { 34164 i-- 34165 if m.IncludeLogins { 34166 dAtA[i] = 1 34167 } else { 34168 dAtA[i] = 0 34169 } 34170 i-- 34171 dAtA[i] = 0x60 34172 } 34173 if m.PinnedOnly { 34174 i-- 34175 if m.PinnedOnly { 34176 dAtA[i] = 1 34177 } else { 34178 dAtA[i] = 0 34179 } 34180 i-- 34181 dAtA[i] = 0x58 34182 } 34183 if m.UsePreviewAsRoles { 34184 i-- 34185 if m.UsePreviewAsRoles { 34186 dAtA[i] = 1 34187 } else { 34188 dAtA[i] = 0 34189 } 34190 i-- 34191 dAtA[i] = 0x50 34192 } 34193 if m.UseSearchAsRoles { 34194 i-- 34195 if m.UseSearchAsRoles { 34196 dAtA[i] = 1 34197 } else { 34198 dAtA[i] = 0 34199 } 34200 i-- 34201 dAtA[i] = 0x48 34202 } 34203 { 34204 size, err := m.WindowsDesktopFilter.MarshalToSizedBuffer(dAtA[:i]) 34205 if err != nil { 34206 return 0, err 34207 } 34208 i -= size 34209 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34210 } 34211 i-- 34212 dAtA[i] = 0x42 34213 { 34214 size, err := m.SortBy.MarshalToSizedBuffer(dAtA[:i]) 34215 if err != nil { 34216 return 0, err 34217 } 34218 i -= size 34219 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34220 } 34221 i-- 34222 dAtA[i] = 0x3a 34223 if len(m.SearchKeywords) > 0 { 34224 for iNdEx := len(m.SearchKeywords) - 1; iNdEx >= 0; iNdEx-- { 34225 i -= len(m.SearchKeywords[iNdEx]) 34226 copy(dAtA[i:], m.SearchKeywords[iNdEx]) 34227 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SearchKeywords[iNdEx]))) 34228 i-- 34229 dAtA[i] = 0x32 34230 } 34231 } 34232 if len(m.PredicateExpression) > 0 { 34233 i -= len(m.PredicateExpression) 34234 copy(dAtA[i:], m.PredicateExpression) 34235 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.PredicateExpression))) 34236 i-- 34237 dAtA[i] = 0x2a 34238 } 34239 if len(m.Labels) > 0 { 34240 for k := range m.Labels { 34241 v := m.Labels[k] 34242 baseI := i 34243 i -= len(v) 34244 copy(dAtA[i:], v) 34245 i = encodeVarintAuthservice(dAtA, i, uint64(len(v))) 34246 i-- 34247 dAtA[i] = 0x12 34248 i -= len(k) 34249 copy(dAtA[i:], k) 34250 i = encodeVarintAuthservice(dAtA, i, uint64(len(k))) 34251 i-- 34252 dAtA[i] = 0xa 34253 i = encodeVarintAuthservice(dAtA, i, uint64(baseI-i)) 34254 i-- 34255 dAtA[i] = 0x22 34256 } 34257 } 34258 if len(m.StartKey) > 0 { 34259 i -= len(m.StartKey) 34260 copy(dAtA[i:], m.StartKey) 34261 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.StartKey))) 34262 i-- 34263 dAtA[i] = 0x1a 34264 } 34265 if m.Limit != 0 { 34266 i = encodeVarintAuthservice(dAtA, i, uint64(m.Limit)) 34267 i-- 34268 dAtA[i] = 0x10 34269 } 34270 if len(m.Kinds) > 0 { 34271 for iNdEx := len(m.Kinds) - 1; iNdEx >= 0; iNdEx-- { 34272 i -= len(m.Kinds[iNdEx]) 34273 copy(dAtA[i:], m.Kinds[iNdEx]) 34274 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Kinds[iNdEx]))) 34275 i-- 34276 dAtA[i] = 0xa 34277 } 34278 } 34279 return len(dAtA) - i, nil 34280 } 34281 34282 func (m *ListUnifiedResourcesResponse) Marshal() (dAtA []byte, err error) { 34283 size := m.Size() 34284 dAtA = make([]byte, size) 34285 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34286 if err != nil { 34287 return nil, err 34288 } 34289 return dAtA[:n], nil 34290 } 34291 34292 func (m *ListUnifiedResourcesResponse) MarshalTo(dAtA []byte) (int, error) { 34293 size := m.Size() 34294 return m.MarshalToSizedBuffer(dAtA[:size]) 34295 } 34296 34297 func (m *ListUnifiedResourcesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34298 i := len(dAtA) 34299 _ = i 34300 var l int 34301 _ = l 34302 if m.XXX_unrecognized != nil { 34303 i -= len(m.XXX_unrecognized) 34304 copy(dAtA[i:], m.XXX_unrecognized) 34305 } 34306 if len(m.NextKey) > 0 { 34307 i -= len(m.NextKey) 34308 copy(dAtA[i:], m.NextKey) 34309 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NextKey))) 34310 i-- 34311 dAtA[i] = 0x12 34312 } 34313 if len(m.Resources) > 0 { 34314 for iNdEx := len(m.Resources) - 1; iNdEx >= 0; iNdEx-- { 34315 { 34316 size, err := m.Resources[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 34317 if err != nil { 34318 return 0, err 34319 } 34320 i -= size 34321 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34322 } 34323 i-- 34324 dAtA[i] = 0xa 34325 } 34326 } 34327 return len(dAtA) - i, nil 34328 } 34329 34330 func (m *ListResourcesRequest) Marshal() (dAtA []byte, err error) { 34331 size := m.Size() 34332 dAtA = make([]byte, size) 34333 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34334 if err != nil { 34335 return nil, err 34336 } 34337 return dAtA[:n], nil 34338 } 34339 34340 func (m *ListResourcesRequest) MarshalTo(dAtA []byte) (int, error) { 34341 size := m.Size() 34342 return m.MarshalToSizedBuffer(dAtA[:size]) 34343 } 34344 34345 func (m *ListResourcesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34346 i := len(dAtA) 34347 _ = i 34348 var l int 34349 _ = l 34350 if m.XXX_unrecognized != nil { 34351 i -= len(m.XXX_unrecognized) 34352 copy(dAtA[i:], m.XXX_unrecognized) 34353 } 34354 if m.IncludeLogins { 34355 i-- 34356 if m.IncludeLogins { 34357 dAtA[i] = 1 34358 } else { 34359 dAtA[i] = 0 34360 } 34361 i-- 34362 dAtA[i] = 0x68 34363 } 34364 if m.UsePreviewAsRoles { 34365 i-- 34366 if m.UsePreviewAsRoles { 34367 dAtA[i] = 1 34368 } else { 34369 dAtA[i] = 0 34370 } 34371 i-- 34372 dAtA[i] = 0x60 34373 } 34374 if m.UseSearchAsRoles { 34375 i-- 34376 if m.UseSearchAsRoles { 34377 dAtA[i] = 1 34378 } else { 34379 dAtA[i] = 0 34380 } 34381 i-- 34382 dAtA[i] = 0x58 34383 } 34384 { 34385 size, err := m.WindowsDesktopFilter.MarshalToSizedBuffer(dAtA[:i]) 34386 if err != nil { 34387 return 0, err 34388 } 34389 i -= size 34390 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34391 } 34392 i-- 34393 dAtA[i] = 0x52 34394 if m.NeedTotalCount { 34395 i-- 34396 if m.NeedTotalCount { 34397 dAtA[i] = 1 34398 } else { 34399 dAtA[i] = 0 34400 } 34401 i-- 34402 dAtA[i] = 0x48 34403 } 34404 { 34405 size, err := m.SortBy.MarshalToSizedBuffer(dAtA[:i]) 34406 if err != nil { 34407 return 0, err 34408 } 34409 i -= size 34410 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34411 } 34412 i-- 34413 dAtA[i] = 0x42 34414 if len(m.SearchKeywords) > 0 { 34415 for iNdEx := len(m.SearchKeywords) - 1; iNdEx >= 0; iNdEx-- { 34416 i -= len(m.SearchKeywords[iNdEx]) 34417 copy(dAtA[i:], m.SearchKeywords[iNdEx]) 34418 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SearchKeywords[iNdEx]))) 34419 i-- 34420 dAtA[i] = 0x3a 34421 } 34422 } 34423 if len(m.PredicateExpression) > 0 { 34424 i -= len(m.PredicateExpression) 34425 copy(dAtA[i:], m.PredicateExpression) 34426 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.PredicateExpression))) 34427 i-- 34428 dAtA[i] = 0x32 34429 } 34430 if len(m.Labels) > 0 { 34431 for k := range m.Labels { 34432 v := m.Labels[k] 34433 baseI := i 34434 i -= len(v) 34435 copy(dAtA[i:], v) 34436 i = encodeVarintAuthservice(dAtA, i, uint64(len(v))) 34437 i-- 34438 dAtA[i] = 0x12 34439 i -= len(k) 34440 copy(dAtA[i:], k) 34441 i = encodeVarintAuthservice(dAtA, i, uint64(len(k))) 34442 i-- 34443 dAtA[i] = 0xa 34444 i = encodeVarintAuthservice(dAtA, i, uint64(baseI-i)) 34445 i-- 34446 dAtA[i] = 0x2a 34447 } 34448 } 34449 if len(m.StartKey) > 0 { 34450 i -= len(m.StartKey) 34451 copy(dAtA[i:], m.StartKey) 34452 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.StartKey))) 34453 i-- 34454 dAtA[i] = 0x22 34455 } 34456 if m.Limit != 0 { 34457 i = encodeVarintAuthservice(dAtA, i, uint64(m.Limit)) 34458 i-- 34459 dAtA[i] = 0x18 34460 } 34461 if len(m.Namespace) > 0 { 34462 i -= len(m.Namespace) 34463 copy(dAtA[i:], m.Namespace) 34464 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Namespace))) 34465 i-- 34466 dAtA[i] = 0x12 34467 } 34468 if len(m.ResourceType) > 0 { 34469 i -= len(m.ResourceType) 34470 copy(dAtA[i:], m.ResourceType) 34471 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ResourceType))) 34472 i-- 34473 dAtA[i] = 0xa 34474 } 34475 return len(dAtA) - i, nil 34476 } 34477 34478 func (m *GetSSHTargetsRequest) Marshal() (dAtA []byte, err error) { 34479 size := m.Size() 34480 dAtA = make([]byte, size) 34481 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34482 if err != nil { 34483 return nil, err 34484 } 34485 return dAtA[:n], nil 34486 } 34487 34488 func (m *GetSSHTargetsRequest) MarshalTo(dAtA []byte) (int, error) { 34489 size := m.Size() 34490 return m.MarshalToSizedBuffer(dAtA[:size]) 34491 } 34492 34493 func (m *GetSSHTargetsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34494 i := len(dAtA) 34495 _ = i 34496 var l int 34497 _ = l 34498 if m.XXX_unrecognized != nil { 34499 i -= len(m.XXX_unrecognized) 34500 copy(dAtA[i:], m.XXX_unrecognized) 34501 } 34502 if len(m.Port) > 0 { 34503 i -= len(m.Port) 34504 copy(dAtA[i:], m.Port) 34505 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Port))) 34506 i-- 34507 dAtA[i] = 0x12 34508 } 34509 if len(m.Host) > 0 { 34510 i -= len(m.Host) 34511 copy(dAtA[i:], m.Host) 34512 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Host))) 34513 i-- 34514 dAtA[i] = 0xa 34515 } 34516 return len(dAtA) - i, nil 34517 } 34518 34519 func (m *GetSSHTargetsResponse) Marshal() (dAtA []byte, err error) { 34520 size := m.Size() 34521 dAtA = make([]byte, size) 34522 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34523 if err != nil { 34524 return nil, err 34525 } 34526 return dAtA[:n], nil 34527 } 34528 34529 func (m *GetSSHTargetsResponse) MarshalTo(dAtA []byte) (int, error) { 34530 size := m.Size() 34531 return m.MarshalToSizedBuffer(dAtA[:size]) 34532 } 34533 34534 func (m *GetSSHTargetsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34535 i := len(dAtA) 34536 _ = i 34537 var l int 34538 _ = l 34539 if m.XXX_unrecognized != nil { 34540 i -= len(m.XXX_unrecognized) 34541 copy(dAtA[i:], m.XXX_unrecognized) 34542 } 34543 if len(m.Servers) > 0 { 34544 for iNdEx := len(m.Servers) - 1; iNdEx >= 0; iNdEx-- { 34545 { 34546 size, err := m.Servers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 34547 if err != nil { 34548 return 0, err 34549 } 34550 i -= size 34551 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34552 } 34553 i-- 34554 dAtA[i] = 0xa 34555 } 34556 } 34557 return len(dAtA) - i, nil 34558 } 34559 34560 func (m *ListResourcesResponse) Marshal() (dAtA []byte, err error) { 34561 size := m.Size() 34562 dAtA = make([]byte, size) 34563 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34564 if err != nil { 34565 return nil, err 34566 } 34567 return dAtA[:n], nil 34568 } 34569 34570 func (m *ListResourcesResponse) MarshalTo(dAtA []byte) (int, error) { 34571 size := m.Size() 34572 return m.MarshalToSizedBuffer(dAtA[:size]) 34573 } 34574 34575 func (m *ListResourcesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34576 i := len(dAtA) 34577 _ = i 34578 var l int 34579 _ = l 34580 if m.XXX_unrecognized != nil { 34581 i -= len(m.XXX_unrecognized) 34582 copy(dAtA[i:], m.XXX_unrecognized) 34583 } 34584 if m.TotalCount != 0 { 34585 i = encodeVarintAuthservice(dAtA, i, uint64(m.TotalCount)) 34586 i-- 34587 dAtA[i] = 0x18 34588 } 34589 if len(m.NextKey) > 0 { 34590 i -= len(m.NextKey) 34591 copy(dAtA[i:], m.NextKey) 34592 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NextKey))) 34593 i-- 34594 dAtA[i] = 0x12 34595 } 34596 if len(m.Resources) > 0 { 34597 for iNdEx := len(m.Resources) - 1; iNdEx >= 0; iNdEx-- { 34598 { 34599 size, err := m.Resources[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 34600 if err != nil { 34601 return 0, err 34602 } 34603 i -= size 34604 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34605 } 34606 i-- 34607 dAtA[i] = 0xa 34608 } 34609 } 34610 return len(dAtA) - i, nil 34611 } 34612 34613 func (m *CreateSessionTrackerRequest) Marshal() (dAtA []byte, err error) { 34614 size := m.Size() 34615 dAtA = make([]byte, size) 34616 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34617 if err != nil { 34618 return nil, err 34619 } 34620 return dAtA[:n], nil 34621 } 34622 34623 func (m *CreateSessionTrackerRequest) MarshalTo(dAtA []byte) (int, error) { 34624 size := m.Size() 34625 return m.MarshalToSizedBuffer(dAtA[:size]) 34626 } 34627 34628 func (m *CreateSessionTrackerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34629 i := len(dAtA) 34630 _ = i 34631 var l int 34632 _ = l 34633 if m.XXX_unrecognized != nil { 34634 i -= len(m.XXX_unrecognized) 34635 copy(dAtA[i:], m.XXX_unrecognized) 34636 } 34637 if m.SessionTracker != nil { 34638 { 34639 size, err := m.SessionTracker.MarshalToSizedBuffer(dAtA[:i]) 34640 if err != nil { 34641 return 0, err 34642 } 34643 i -= size 34644 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34645 } 34646 i-- 34647 dAtA[i] = 0x7a 34648 } 34649 return len(dAtA) - i, nil 34650 } 34651 34652 func (m *GetSessionTrackerRequest) 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 *GetSessionTrackerRequest) MarshalTo(dAtA []byte) (int, error) { 34663 size := m.Size() 34664 return m.MarshalToSizedBuffer(dAtA[:size]) 34665 } 34666 34667 func (m *GetSessionTrackerRequest) 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.SessionID) > 0 { 34677 i -= len(m.SessionID) 34678 copy(dAtA[i:], m.SessionID) 34679 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 34680 i-- 34681 dAtA[i] = 0xa 34682 } 34683 return len(dAtA) - i, nil 34684 } 34685 34686 func (m *RemoveSessionTrackerRequest) Marshal() (dAtA []byte, err error) { 34687 size := m.Size() 34688 dAtA = make([]byte, size) 34689 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34690 if err != nil { 34691 return nil, err 34692 } 34693 return dAtA[:n], nil 34694 } 34695 34696 func (m *RemoveSessionTrackerRequest) MarshalTo(dAtA []byte) (int, error) { 34697 size := m.Size() 34698 return m.MarshalToSizedBuffer(dAtA[:size]) 34699 } 34700 34701 func (m *RemoveSessionTrackerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34702 i := len(dAtA) 34703 _ = i 34704 var l int 34705 _ = l 34706 if m.XXX_unrecognized != nil { 34707 i -= len(m.XXX_unrecognized) 34708 copy(dAtA[i:], m.XXX_unrecognized) 34709 } 34710 if len(m.SessionID) > 0 { 34711 i -= len(m.SessionID) 34712 copy(dAtA[i:], m.SessionID) 34713 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 34714 i-- 34715 dAtA[i] = 0xa 34716 } 34717 return len(dAtA) - i, nil 34718 } 34719 34720 func (m *SessionTrackerUpdateState) Marshal() (dAtA []byte, err error) { 34721 size := m.Size() 34722 dAtA = make([]byte, size) 34723 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34724 if err != nil { 34725 return nil, err 34726 } 34727 return dAtA[:n], nil 34728 } 34729 34730 func (m *SessionTrackerUpdateState) MarshalTo(dAtA []byte) (int, error) { 34731 size := m.Size() 34732 return m.MarshalToSizedBuffer(dAtA[:size]) 34733 } 34734 34735 func (m *SessionTrackerUpdateState) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34736 i := len(dAtA) 34737 _ = i 34738 var l int 34739 _ = l 34740 if m.XXX_unrecognized != nil { 34741 i -= len(m.XXX_unrecognized) 34742 copy(dAtA[i:], m.XXX_unrecognized) 34743 } 34744 if m.State != 0 { 34745 i = encodeVarintAuthservice(dAtA, i, uint64(m.State)) 34746 i-- 34747 dAtA[i] = 0x10 34748 } 34749 return len(dAtA) - i, nil 34750 } 34751 34752 func (m *SessionTrackerAddParticipant) Marshal() (dAtA []byte, err error) { 34753 size := m.Size() 34754 dAtA = make([]byte, size) 34755 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34756 if err != nil { 34757 return nil, err 34758 } 34759 return dAtA[:n], nil 34760 } 34761 34762 func (m *SessionTrackerAddParticipant) MarshalTo(dAtA []byte) (int, error) { 34763 size := m.Size() 34764 return m.MarshalToSizedBuffer(dAtA[:size]) 34765 } 34766 34767 func (m *SessionTrackerAddParticipant) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34768 i := len(dAtA) 34769 _ = i 34770 var l int 34771 _ = l 34772 if m.XXX_unrecognized != nil { 34773 i -= len(m.XXX_unrecognized) 34774 copy(dAtA[i:], m.XXX_unrecognized) 34775 } 34776 if m.Participant != nil { 34777 { 34778 size, err := m.Participant.MarshalToSizedBuffer(dAtA[:i]) 34779 if err != nil { 34780 return 0, err 34781 } 34782 i -= size 34783 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34784 } 34785 i-- 34786 dAtA[i] = 0x12 34787 } 34788 return len(dAtA) - i, nil 34789 } 34790 34791 func (m *SessionTrackerRemoveParticipant) Marshal() (dAtA []byte, err error) { 34792 size := m.Size() 34793 dAtA = make([]byte, size) 34794 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34795 if err != nil { 34796 return nil, err 34797 } 34798 return dAtA[:n], nil 34799 } 34800 34801 func (m *SessionTrackerRemoveParticipant) MarshalTo(dAtA []byte) (int, error) { 34802 size := m.Size() 34803 return m.MarshalToSizedBuffer(dAtA[:size]) 34804 } 34805 34806 func (m *SessionTrackerRemoveParticipant) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34807 i := len(dAtA) 34808 _ = i 34809 var l int 34810 _ = l 34811 if m.XXX_unrecognized != nil { 34812 i -= len(m.XXX_unrecognized) 34813 copy(dAtA[i:], m.XXX_unrecognized) 34814 } 34815 if len(m.ParticipantID) > 0 { 34816 i -= len(m.ParticipantID) 34817 copy(dAtA[i:], m.ParticipantID) 34818 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ParticipantID))) 34819 i-- 34820 dAtA[i] = 0x12 34821 } 34822 return len(dAtA) - i, nil 34823 } 34824 34825 func (m *SessionTrackerUpdateExpiry) Marshal() (dAtA []byte, err error) { 34826 size := m.Size() 34827 dAtA = make([]byte, size) 34828 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34829 if err != nil { 34830 return nil, err 34831 } 34832 return dAtA[:n], nil 34833 } 34834 34835 func (m *SessionTrackerUpdateExpiry) MarshalTo(dAtA []byte) (int, error) { 34836 size := m.Size() 34837 return m.MarshalToSizedBuffer(dAtA[:size]) 34838 } 34839 34840 func (m *SessionTrackerUpdateExpiry) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34841 i := len(dAtA) 34842 _ = i 34843 var l int 34844 _ = l 34845 if m.XXX_unrecognized != nil { 34846 i -= len(m.XXX_unrecognized) 34847 copy(dAtA[i:], m.XXX_unrecognized) 34848 } 34849 if m.Expires != nil { 34850 n95, err95 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.Expires, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expires):]) 34851 if err95 != nil { 34852 return 0, err95 34853 } 34854 i -= n95 34855 i = encodeVarintAuthservice(dAtA, i, uint64(n95)) 34856 i-- 34857 dAtA[i] = 0xa 34858 } 34859 return len(dAtA) - i, nil 34860 } 34861 34862 func (m *UpdateSessionTrackerRequest) Marshal() (dAtA []byte, err error) { 34863 size := m.Size() 34864 dAtA = make([]byte, size) 34865 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34866 if err != nil { 34867 return nil, err 34868 } 34869 return dAtA[:n], nil 34870 } 34871 34872 func (m *UpdateSessionTrackerRequest) MarshalTo(dAtA []byte) (int, error) { 34873 size := m.Size() 34874 return m.MarshalToSizedBuffer(dAtA[:size]) 34875 } 34876 34877 func (m *UpdateSessionTrackerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34878 i := len(dAtA) 34879 _ = i 34880 var l int 34881 _ = l 34882 if m.XXX_unrecognized != nil { 34883 i -= len(m.XXX_unrecognized) 34884 copy(dAtA[i:], m.XXX_unrecognized) 34885 } 34886 if m.Update != nil { 34887 { 34888 size := m.Update.Size() 34889 i -= size 34890 if _, err := m.Update.MarshalTo(dAtA[i:]); err != nil { 34891 return 0, err 34892 } 34893 } 34894 } 34895 if len(m.SessionID) > 0 { 34896 i -= len(m.SessionID) 34897 copy(dAtA[i:], m.SessionID) 34898 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 34899 i-- 34900 dAtA[i] = 0xa 34901 } 34902 return len(dAtA) - i, nil 34903 } 34904 34905 func (m *UpdateSessionTrackerRequest_UpdateState) MarshalTo(dAtA []byte) (int, error) { 34906 size := m.Size() 34907 return m.MarshalToSizedBuffer(dAtA[:size]) 34908 } 34909 34910 func (m *UpdateSessionTrackerRequest_UpdateState) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34911 i := len(dAtA) 34912 if m.UpdateState != nil { 34913 { 34914 size, err := m.UpdateState.MarshalToSizedBuffer(dAtA[:i]) 34915 if err != nil { 34916 return 0, err 34917 } 34918 i -= size 34919 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34920 } 34921 i-- 34922 dAtA[i] = 0x12 34923 } 34924 return len(dAtA) - i, nil 34925 } 34926 func (m *UpdateSessionTrackerRequest_AddParticipant) MarshalTo(dAtA []byte) (int, error) { 34927 size := m.Size() 34928 return m.MarshalToSizedBuffer(dAtA[:size]) 34929 } 34930 34931 func (m *UpdateSessionTrackerRequest_AddParticipant) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34932 i := len(dAtA) 34933 if m.AddParticipant != nil { 34934 { 34935 size, err := m.AddParticipant.MarshalToSizedBuffer(dAtA[:i]) 34936 if err != nil { 34937 return 0, err 34938 } 34939 i -= size 34940 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34941 } 34942 i-- 34943 dAtA[i] = 0x1a 34944 } 34945 return len(dAtA) - i, nil 34946 } 34947 func (m *UpdateSessionTrackerRequest_RemoveParticipant) MarshalTo(dAtA []byte) (int, error) { 34948 size := m.Size() 34949 return m.MarshalToSizedBuffer(dAtA[:size]) 34950 } 34951 34952 func (m *UpdateSessionTrackerRequest_RemoveParticipant) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34953 i := len(dAtA) 34954 if m.RemoveParticipant != nil { 34955 { 34956 size, err := m.RemoveParticipant.MarshalToSizedBuffer(dAtA[:i]) 34957 if err != nil { 34958 return 0, err 34959 } 34960 i -= size 34961 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34962 } 34963 i-- 34964 dAtA[i] = 0x22 34965 } 34966 return len(dAtA) - i, nil 34967 } 34968 func (m *UpdateSessionTrackerRequest_UpdateExpiry) MarshalTo(dAtA []byte) (int, error) { 34969 size := m.Size() 34970 return m.MarshalToSizedBuffer(dAtA[:size]) 34971 } 34972 34973 func (m *UpdateSessionTrackerRequest_UpdateExpiry) MarshalToSizedBuffer(dAtA []byte) (int, error) { 34974 i := len(dAtA) 34975 if m.UpdateExpiry != nil { 34976 { 34977 size, err := m.UpdateExpiry.MarshalToSizedBuffer(dAtA[:i]) 34978 if err != nil { 34979 return 0, err 34980 } 34981 i -= size 34982 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 34983 } 34984 i-- 34985 dAtA[i] = 0x2a 34986 } 34987 return len(dAtA) - i, nil 34988 } 34989 func (m *PresenceMFAChallengeRequest) Marshal() (dAtA []byte, err error) { 34990 size := m.Size() 34991 dAtA = make([]byte, size) 34992 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 34993 if err != nil { 34994 return nil, err 34995 } 34996 return dAtA[:n], nil 34997 } 34998 34999 func (m *PresenceMFAChallengeRequest) MarshalTo(dAtA []byte) (int, error) { 35000 size := m.Size() 35001 return m.MarshalToSizedBuffer(dAtA[:size]) 35002 } 35003 35004 func (m *PresenceMFAChallengeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35005 i := len(dAtA) 35006 _ = i 35007 var l int 35008 _ = l 35009 if m.XXX_unrecognized != nil { 35010 i -= len(m.XXX_unrecognized) 35011 copy(dAtA[i:], m.XXX_unrecognized) 35012 } 35013 if len(m.SessionID) > 0 { 35014 i -= len(m.SessionID) 35015 copy(dAtA[i:], m.SessionID) 35016 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SessionID))) 35017 i-- 35018 dAtA[i] = 0xa 35019 } 35020 return len(dAtA) - i, nil 35021 } 35022 35023 func (m *PresenceMFAChallengeSend) Marshal() (dAtA []byte, err error) { 35024 size := m.Size() 35025 dAtA = make([]byte, size) 35026 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35027 if err != nil { 35028 return nil, err 35029 } 35030 return dAtA[:n], nil 35031 } 35032 35033 func (m *PresenceMFAChallengeSend) MarshalTo(dAtA []byte) (int, error) { 35034 size := m.Size() 35035 return m.MarshalToSizedBuffer(dAtA[:size]) 35036 } 35037 35038 func (m *PresenceMFAChallengeSend) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35039 i := len(dAtA) 35040 _ = i 35041 var l int 35042 _ = l 35043 if m.XXX_unrecognized != nil { 35044 i -= len(m.XXX_unrecognized) 35045 copy(dAtA[i:], m.XXX_unrecognized) 35046 } 35047 if m.Request != nil { 35048 { 35049 size := m.Request.Size() 35050 i -= size 35051 if _, err := m.Request.MarshalTo(dAtA[i:]); err != nil { 35052 return 0, err 35053 } 35054 } 35055 } 35056 return len(dAtA) - i, nil 35057 } 35058 35059 func (m *PresenceMFAChallengeSend_ChallengeRequest) MarshalTo(dAtA []byte) (int, error) { 35060 size := m.Size() 35061 return m.MarshalToSizedBuffer(dAtA[:size]) 35062 } 35063 35064 func (m *PresenceMFAChallengeSend_ChallengeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35065 i := len(dAtA) 35066 if m.ChallengeRequest != nil { 35067 { 35068 size, err := m.ChallengeRequest.MarshalToSizedBuffer(dAtA[:i]) 35069 if err != nil { 35070 return 0, err 35071 } 35072 i -= size 35073 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35074 } 35075 i-- 35076 dAtA[i] = 0xa 35077 } 35078 return len(dAtA) - i, nil 35079 } 35080 func (m *PresenceMFAChallengeSend_ChallengeResponse) MarshalTo(dAtA []byte) (int, error) { 35081 size := m.Size() 35082 return m.MarshalToSizedBuffer(dAtA[:size]) 35083 } 35084 35085 func (m *PresenceMFAChallengeSend_ChallengeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35086 i := len(dAtA) 35087 if m.ChallengeResponse != nil { 35088 { 35089 size, err := m.ChallengeResponse.MarshalToSizedBuffer(dAtA[:i]) 35090 if err != nil { 35091 return 0, err 35092 } 35093 i -= size 35094 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35095 } 35096 i-- 35097 dAtA[i] = 0x12 35098 } 35099 return len(dAtA) - i, nil 35100 } 35101 func (m *GetDomainNameResponse) Marshal() (dAtA []byte, err error) { 35102 size := m.Size() 35103 dAtA = make([]byte, size) 35104 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35105 if err != nil { 35106 return nil, err 35107 } 35108 return dAtA[:n], nil 35109 } 35110 35111 func (m *GetDomainNameResponse) MarshalTo(dAtA []byte) (int, error) { 35112 size := m.Size() 35113 return m.MarshalToSizedBuffer(dAtA[:size]) 35114 } 35115 35116 func (m *GetDomainNameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35117 i := len(dAtA) 35118 _ = i 35119 var l int 35120 _ = l 35121 if m.XXX_unrecognized != nil { 35122 i -= len(m.XXX_unrecognized) 35123 copy(dAtA[i:], m.XXX_unrecognized) 35124 } 35125 if len(m.DomainName) > 0 { 35126 i -= len(m.DomainName) 35127 copy(dAtA[i:], m.DomainName) 35128 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.DomainName))) 35129 i-- 35130 dAtA[i] = 0xa 35131 } 35132 return len(dAtA) - i, nil 35133 } 35134 35135 func (m *GetClusterCACertResponse) Marshal() (dAtA []byte, err error) { 35136 size := m.Size() 35137 dAtA = make([]byte, size) 35138 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35139 if err != nil { 35140 return nil, err 35141 } 35142 return dAtA[:n], nil 35143 } 35144 35145 func (m *GetClusterCACertResponse) MarshalTo(dAtA []byte) (int, error) { 35146 size := m.Size() 35147 return m.MarshalToSizedBuffer(dAtA[:size]) 35148 } 35149 35150 func (m *GetClusterCACertResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35151 i := len(dAtA) 35152 _ = i 35153 var l int 35154 _ = l 35155 if m.XXX_unrecognized != nil { 35156 i -= len(m.XXX_unrecognized) 35157 copy(dAtA[i:], m.XXX_unrecognized) 35158 } 35159 if len(m.TLSCA) > 0 { 35160 i -= len(m.TLSCA) 35161 copy(dAtA[i:], m.TLSCA) 35162 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.TLSCA))) 35163 i-- 35164 dAtA[i] = 0xa 35165 } 35166 return len(dAtA) - i, nil 35167 } 35168 35169 func (m *GetLicenseResponse) Marshal() (dAtA []byte, err error) { 35170 size := m.Size() 35171 dAtA = make([]byte, size) 35172 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35173 if err != nil { 35174 return nil, err 35175 } 35176 return dAtA[:n], nil 35177 } 35178 35179 func (m *GetLicenseResponse) MarshalTo(dAtA []byte) (int, error) { 35180 size := m.Size() 35181 return m.MarshalToSizedBuffer(dAtA[:size]) 35182 } 35183 35184 func (m *GetLicenseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35185 i := len(dAtA) 35186 _ = i 35187 var l int 35188 _ = l 35189 if m.XXX_unrecognized != nil { 35190 i -= len(m.XXX_unrecognized) 35191 copy(dAtA[i:], m.XXX_unrecognized) 35192 } 35193 if len(m.License) > 0 { 35194 i -= len(m.License) 35195 copy(dAtA[i:], m.License) 35196 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.License))) 35197 i-- 35198 dAtA[i] = 0xa 35199 } 35200 return len(dAtA) - i, nil 35201 } 35202 35203 func (m *ListReleasesResponse) Marshal() (dAtA []byte, err error) { 35204 size := m.Size() 35205 dAtA = make([]byte, size) 35206 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35207 if err != nil { 35208 return nil, err 35209 } 35210 return dAtA[:n], nil 35211 } 35212 35213 func (m *ListReleasesResponse) MarshalTo(dAtA []byte) (int, error) { 35214 size := m.Size() 35215 return m.MarshalToSizedBuffer(dAtA[:size]) 35216 } 35217 35218 func (m *ListReleasesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35219 i := len(dAtA) 35220 _ = i 35221 var l int 35222 _ = l 35223 if m.XXX_unrecognized != nil { 35224 i -= len(m.XXX_unrecognized) 35225 copy(dAtA[i:], m.XXX_unrecognized) 35226 } 35227 if len(m.Releases) > 0 { 35228 for iNdEx := len(m.Releases) - 1; iNdEx >= 0; iNdEx-- { 35229 { 35230 size, err := m.Releases[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 35231 if err != nil { 35232 return 0, err 35233 } 35234 i -= size 35235 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35236 } 35237 i-- 35238 dAtA[i] = 0xa 35239 } 35240 } 35241 return len(dAtA) - i, nil 35242 } 35243 35244 func (m *GetOIDCAuthRequestRequest) Marshal() (dAtA []byte, err error) { 35245 size := m.Size() 35246 dAtA = make([]byte, size) 35247 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35248 if err != nil { 35249 return nil, err 35250 } 35251 return dAtA[:n], nil 35252 } 35253 35254 func (m *GetOIDCAuthRequestRequest) MarshalTo(dAtA []byte) (int, error) { 35255 size := m.Size() 35256 return m.MarshalToSizedBuffer(dAtA[:size]) 35257 } 35258 35259 func (m *GetOIDCAuthRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35260 i := len(dAtA) 35261 _ = i 35262 var l int 35263 _ = l 35264 if m.XXX_unrecognized != nil { 35265 i -= len(m.XXX_unrecognized) 35266 copy(dAtA[i:], m.XXX_unrecognized) 35267 } 35268 if len(m.StateToken) > 0 { 35269 i -= len(m.StateToken) 35270 copy(dAtA[i:], m.StateToken) 35271 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.StateToken))) 35272 i-- 35273 dAtA[i] = 0xa 35274 } 35275 return len(dAtA) - i, nil 35276 } 35277 35278 func (m *GetSAMLAuthRequestRequest) Marshal() (dAtA []byte, err error) { 35279 size := m.Size() 35280 dAtA = make([]byte, size) 35281 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35282 if err != nil { 35283 return nil, err 35284 } 35285 return dAtA[:n], nil 35286 } 35287 35288 func (m *GetSAMLAuthRequestRequest) MarshalTo(dAtA []byte) (int, error) { 35289 size := m.Size() 35290 return m.MarshalToSizedBuffer(dAtA[:size]) 35291 } 35292 35293 func (m *GetSAMLAuthRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35294 i := len(dAtA) 35295 _ = i 35296 var l int 35297 _ = l 35298 if m.XXX_unrecognized != nil { 35299 i -= len(m.XXX_unrecognized) 35300 copy(dAtA[i:], m.XXX_unrecognized) 35301 } 35302 if len(m.ID) > 0 { 35303 i -= len(m.ID) 35304 copy(dAtA[i:], m.ID) 35305 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ID))) 35306 i-- 35307 dAtA[i] = 0xa 35308 } 35309 return len(dAtA) - i, nil 35310 } 35311 35312 func (m *GetGithubAuthRequestRequest) Marshal() (dAtA []byte, err error) { 35313 size := m.Size() 35314 dAtA = make([]byte, size) 35315 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35316 if err != nil { 35317 return nil, err 35318 } 35319 return dAtA[:n], nil 35320 } 35321 35322 func (m *GetGithubAuthRequestRequest) MarshalTo(dAtA []byte) (int, error) { 35323 size := m.Size() 35324 return m.MarshalToSizedBuffer(dAtA[:size]) 35325 } 35326 35327 func (m *GetGithubAuthRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35328 i := len(dAtA) 35329 _ = i 35330 var l int 35331 _ = l 35332 if m.XXX_unrecognized != nil { 35333 i -= len(m.XXX_unrecognized) 35334 copy(dAtA[i:], m.XXX_unrecognized) 35335 } 35336 if len(m.StateToken) > 0 { 35337 i -= len(m.StateToken) 35338 copy(dAtA[i:], m.StateToken) 35339 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.StateToken))) 35340 i-- 35341 dAtA[i] = 0xa 35342 } 35343 return len(dAtA) - i, nil 35344 } 35345 35346 func (m *CreateOIDCConnectorRequest) Marshal() (dAtA []byte, err error) { 35347 size := m.Size() 35348 dAtA = make([]byte, size) 35349 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35350 if err != nil { 35351 return nil, err 35352 } 35353 return dAtA[:n], nil 35354 } 35355 35356 func (m *CreateOIDCConnectorRequest) MarshalTo(dAtA []byte) (int, error) { 35357 size := m.Size() 35358 return m.MarshalToSizedBuffer(dAtA[:size]) 35359 } 35360 35361 func (m *CreateOIDCConnectorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35362 i := len(dAtA) 35363 _ = i 35364 var l int 35365 _ = l 35366 if m.XXX_unrecognized != nil { 35367 i -= len(m.XXX_unrecognized) 35368 copy(dAtA[i:], m.XXX_unrecognized) 35369 } 35370 if m.Connector != nil { 35371 { 35372 size, err := m.Connector.MarshalToSizedBuffer(dAtA[:i]) 35373 if err != nil { 35374 return 0, err 35375 } 35376 i -= size 35377 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35378 } 35379 i-- 35380 dAtA[i] = 0xa 35381 } 35382 return len(dAtA) - i, nil 35383 } 35384 35385 func (m *UpdateOIDCConnectorRequest) Marshal() (dAtA []byte, err error) { 35386 size := m.Size() 35387 dAtA = make([]byte, size) 35388 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35389 if err != nil { 35390 return nil, err 35391 } 35392 return dAtA[:n], nil 35393 } 35394 35395 func (m *UpdateOIDCConnectorRequest) MarshalTo(dAtA []byte) (int, error) { 35396 size := m.Size() 35397 return m.MarshalToSizedBuffer(dAtA[:size]) 35398 } 35399 35400 func (m *UpdateOIDCConnectorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35401 i := len(dAtA) 35402 _ = i 35403 var l int 35404 _ = l 35405 if m.XXX_unrecognized != nil { 35406 i -= len(m.XXX_unrecognized) 35407 copy(dAtA[i:], m.XXX_unrecognized) 35408 } 35409 if m.Connector != nil { 35410 { 35411 size, err := m.Connector.MarshalToSizedBuffer(dAtA[:i]) 35412 if err != nil { 35413 return 0, err 35414 } 35415 i -= size 35416 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35417 } 35418 i-- 35419 dAtA[i] = 0xa 35420 } 35421 return len(dAtA) - i, nil 35422 } 35423 35424 func (m *UpsertOIDCConnectorRequest) Marshal() (dAtA []byte, err error) { 35425 size := m.Size() 35426 dAtA = make([]byte, size) 35427 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35428 if err != nil { 35429 return nil, err 35430 } 35431 return dAtA[:n], nil 35432 } 35433 35434 func (m *UpsertOIDCConnectorRequest) MarshalTo(dAtA []byte) (int, error) { 35435 size := m.Size() 35436 return m.MarshalToSizedBuffer(dAtA[:size]) 35437 } 35438 35439 func (m *UpsertOIDCConnectorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35440 i := len(dAtA) 35441 _ = i 35442 var l int 35443 _ = l 35444 if m.XXX_unrecognized != nil { 35445 i -= len(m.XXX_unrecognized) 35446 copy(dAtA[i:], m.XXX_unrecognized) 35447 } 35448 if m.Connector != nil { 35449 { 35450 size, err := m.Connector.MarshalToSizedBuffer(dAtA[:i]) 35451 if err != nil { 35452 return 0, err 35453 } 35454 i -= size 35455 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35456 } 35457 i-- 35458 dAtA[i] = 0xa 35459 } 35460 return len(dAtA) - i, nil 35461 } 35462 35463 func (m *CreateSAMLConnectorRequest) Marshal() (dAtA []byte, err error) { 35464 size := m.Size() 35465 dAtA = make([]byte, size) 35466 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35467 if err != nil { 35468 return nil, err 35469 } 35470 return dAtA[:n], nil 35471 } 35472 35473 func (m *CreateSAMLConnectorRequest) MarshalTo(dAtA []byte) (int, error) { 35474 size := m.Size() 35475 return m.MarshalToSizedBuffer(dAtA[:size]) 35476 } 35477 35478 func (m *CreateSAMLConnectorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35479 i := len(dAtA) 35480 _ = i 35481 var l int 35482 _ = l 35483 if m.XXX_unrecognized != nil { 35484 i -= len(m.XXX_unrecognized) 35485 copy(dAtA[i:], m.XXX_unrecognized) 35486 } 35487 if m.Connector != nil { 35488 { 35489 size, err := m.Connector.MarshalToSizedBuffer(dAtA[:i]) 35490 if err != nil { 35491 return 0, err 35492 } 35493 i -= size 35494 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35495 } 35496 i-- 35497 dAtA[i] = 0xa 35498 } 35499 return len(dAtA) - i, nil 35500 } 35501 35502 func (m *UpdateSAMLConnectorRequest) Marshal() (dAtA []byte, err error) { 35503 size := m.Size() 35504 dAtA = make([]byte, size) 35505 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35506 if err != nil { 35507 return nil, err 35508 } 35509 return dAtA[:n], nil 35510 } 35511 35512 func (m *UpdateSAMLConnectorRequest) MarshalTo(dAtA []byte) (int, error) { 35513 size := m.Size() 35514 return m.MarshalToSizedBuffer(dAtA[:size]) 35515 } 35516 35517 func (m *UpdateSAMLConnectorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35518 i := len(dAtA) 35519 _ = i 35520 var l int 35521 _ = l 35522 if m.XXX_unrecognized != nil { 35523 i -= len(m.XXX_unrecognized) 35524 copy(dAtA[i:], m.XXX_unrecognized) 35525 } 35526 if m.Connector != nil { 35527 { 35528 size, err := m.Connector.MarshalToSizedBuffer(dAtA[:i]) 35529 if err != nil { 35530 return 0, err 35531 } 35532 i -= size 35533 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35534 } 35535 i-- 35536 dAtA[i] = 0xa 35537 } 35538 return len(dAtA) - i, nil 35539 } 35540 35541 func (m *UpsertSAMLConnectorRequest) Marshal() (dAtA []byte, err error) { 35542 size := m.Size() 35543 dAtA = make([]byte, size) 35544 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35545 if err != nil { 35546 return nil, err 35547 } 35548 return dAtA[:n], nil 35549 } 35550 35551 func (m *UpsertSAMLConnectorRequest) MarshalTo(dAtA []byte) (int, error) { 35552 size := m.Size() 35553 return m.MarshalToSizedBuffer(dAtA[:size]) 35554 } 35555 35556 func (m *UpsertSAMLConnectorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35557 i := len(dAtA) 35558 _ = i 35559 var l int 35560 _ = l 35561 if m.XXX_unrecognized != nil { 35562 i -= len(m.XXX_unrecognized) 35563 copy(dAtA[i:], m.XXX_unrecognized) 35564 } 35565 if m.Connector != nil { 35566 { 35567 size, err := m.Connector.MarshalToSizedBuffer(dAtA[:i]) 35568 if err != nil { 35569 return 0, err 35570 } 35571 i -= size 35572 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35573 } 35574 i-- 35575 dAtA[i] = 0xa 35576 } 35577 return len(dAtA) - i, nil 35578 } 35579 35580 func (m *CreateGithubConnectorRequest) Marshal() (dAtA []byte, err error) { 35581 size := m.Size() 35582 dAtA = make([]byte, size) 35583 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35584 if err != nil { 35585 return nil, err 35586 } 35587 return dAtA[:n], nil 35588 } 35589 35590 func (m *CreateGithubConnectorRequest) MarshalTo(dAtA []byte) (int, error) { 35591 size := m.Size() 35592 return m.MarshalToSizedBuffer(dAtA[:size]) 35593 } 35594 35595 func (m *CreateGithubConnectorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35596 i := len(dAtA) 35597 _ = i 35598 var l int 35599 _ = l 35600 if m.XXX_unrecognized != nil { 35601 i -= len(m.XXX_unrecognized) 35602 copy(dAtA[i:], m.XXX_unrecognized) 35603 } 35604 if m.Connector != nil { 35605 { 35606 size, err := m.Connector.MarshalToSizedBuffer(dAtA[:i]) 35607 if err != nil { 35608 return 0, err 35609 } 35610 i -= size 35611 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35612 } 35613 i-- 35614 dAtA[i] = 0xa 35615 } 35616 return len(dAtA) - i, nil 35617 } 35618 35619 func (m *UpdateGithubConnectorRequest) Marshal() (dAtA []byte, err error) { 35620 size := m.Size() 35621 dAtA = make([]byte, size) 35622 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35623 if err != nil { 35624 return nil, err 35625 } 35626 return dAtA[:n], nil 35627 } 35628 35629 func (m *UpdateGithubConnectorRequest) MarshalTo(dAtA []byte) (int, error) { 35630 size := m.Size() 35631 return m.MarshalToSizedBuffer(dAtA[:size]) 35632 } 35633 35634 func (m *UpdateGithubConnectorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35635 i := len(dAtA) 35636 _ = i 35637 var l int 35638 _ = l 35639 if m.XXX_unrecognized != nil { 35640 i -= len(m.XXX_unrecognized) 35641 copy(dAtA[i:], m.XXX_unrecognized) 35642 } 35643 if m.Connector != nil { 35644 { 35645 size, err := m.Connector.MarshalToSizedBuffer(dAtA[:i]) 35646 if err != nil { 35647 return 0, err 35648 } 35649 i -= size 35650 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35651 } 35652 i-- 35653 dAtA[i] = 0xa 35654 } 35655 return len(dAtA) - i, nil 35656 } 35657 35658 func (m *UpsertGithubConnectorRequest) Marshal() (dAtA []byte, err error) { 35659 size := m.Size() 35660 dAtA = make([]byte, size) 35661 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35662 if err != nil { 35663 return nil, err 35664 } 35665 return dAtA[:n], nil 35666 } 35667 35668 func (m *UpsertGithubConnectorRequest) MarshalTo(dAtA []byte) (int, error) { 35669 size := m.Size() 35670 return m.MarshalToSizedBuffer(dAtA[:size]) 35671 } 35672 35673 func (m *UpsertGithubConnectorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35674 i := len(dAtA) 35675 _ = i 35676 var l int 35677 _ = l 35678 if m.XXX_unrecognized != nil { 35679 i -= len(m.XXX_unrecognized) 35680 copy(dAtA[i:], m.XXX_unrecognized) 35681 } 35682 if m.Connector != nil { 35683 { 35684 size, err := m.Connector.MarshalToSizedBuffer(dAtA[:i]) 35685 if err != nil { 35686 return 0, err 35687 } 35688 i -= size 35689 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35690 } 35691 i-- 35692 dAtA[i] = 0xa 35693 } 35694 return len(dAtA) - i, nil 35695 } 35696 35697 func (m *GetSSODiagnosticInfoRequest) Marshal() (dAtA []byte, err error) { 35698 size := m.Size() 35699 dAtA = make([]byte, size) 35700 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35701 if err != nil { 35702 return nil, err 35703 } 35704 return dAtA[:n], nil 35705 } 35706 35707 func (m *GetSSODiagnosticInfoRequest) MarshalTo(dAtA []byte) (int, error) { 35708 size := m.Size() 35709 return m.MarshalToSizedBuffer(dAtA[:size]) 35710 } 35711 35712 func (m *GetSSODiagnosticInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35713 i := len(dAtA) 35714 _ = i 35715 var l int 35716 _ = l 35717 if m.XXX_unrecognized != nil { 35718 i -= len(m.XXX_unrecognized) 35719 copy(dAtA[i:], m.XXX_unrecognized) 35720 } 35721 if len(m.AuthRequestID) > 0 { 35722 i -= len(m.AuthRequestID) 35723 copy(dAtA[i:], m.AuthRequestID) 35724 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.AuthRequestID))) 35725 i-- 35726 dAtA[i] = 0x12 35727 } 35728 if len(m.AuthRequestKind) > 0 { 35729 i -= len(m.AuthRequestKind) 35730 copy(dAtA[i:], m.AuthRequestKind) 35731 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.AuthRequestKind))) 35732 i-- 35733 dAtA[i] = 0xa 35734 } 35735 return len(dAtA) - i, nil 35736 } 35737 35738 func (m *UpstreamInventoryOneOf) Marshal() (dAtA []byte, err error) { 35739 size := m.Size() 35740 dAtA = make([]byte, size) 35741 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35742 if err != nil { 35743 return nil, err 35744 } 35745 return dAtA[:n], nil 35746 } 35747 35748 func (m *UpstreamInventoryOneOf) MarshalTo(dAtA []byte) (int, error) { 35749 size := m.Size() 35750 return m.MarshalToSizedBuffer(dAtA[:size]) 35751 } 35752 35753 func (m *UpstreamInventoryOneOf) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35754 i := len(dAtA) 35755 _ = i 35756 var l int 35757 _ = l 35758 if m.XXX_unrecognized != nil { 35759 i -= len(m.XXX_unrecognized) 35760 copy(dAtA[i:], m.XXX_unrecognized) 35761 } 35762 if m.Msg != nil { 35763 { 35764 size := m.Msg.Size() 35765 i -= size 35766 if _, err := m.Msg.MarshalTo(dAtA[i:]); err != nil { 35767 return 0, err 35768 } 35769 } 35770 } 35771 return len(dAtA) - i, nil 35772 } 35773 35774 func (m *UpstreamInventoryOneOf_Hello) MarshalTo(dAtA []byte) (int, error) { 35775 size := m.Size() 35776 return m.MarshalToSizedBuffer(dAtA[:size]) 35777 } 35778 35779 func (m *UpstreamInventoryOneOf_Hello) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35780 i := len(dAtA) 35781 if m.Hello != nil { 35782 { 35783 size, err := m.Hello.MarshalToSizedBuffer(dAtA[:i]) 35784 if err != nil { 35785 return 0, err 35786 } 35787 i -= size 35788 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35789 } 35790 i-- 35791 dAtA[i] = 0xa 35792 } 35793 return len(dAtA) - i, nil 35794 } 35795 func (m *UpstreamInventoryOneOf_Heartbeat) MarshalTo(dAtA []byte) (int, error) { 35796 size := m.Size() 35797 return m.MarshalToSizedBuffer(dAtA[:size]) 35798 } 35799 35800 func (m *UpstreamInventoryOneOf_Heartbeat) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35801 i := len(dAtA) 35802 if m.Heartbeat != nil { 35803 { 35804 size, err := m.Heartbeat.MarshalToSizedBuffer(dAtA[:i]) 35805 if err != nil { 35806 return 0, err 35807 } 35808 i -= size 35809 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35810 } 35811 i-- 35812 dAtA[i] = 0x12 35813 } 35814 return len(dAtA) - i, nil 35815 } 35816 func (m *UpstreamInventoryOneOf_Pong) MarshalTo(dAtA []byte) (int, error) { 35817 size := m.Size() 35818 return m.MarshalToSizedBuffer(dAtA[:size]) 35819 } 35820 35821 func (m *UpstreamInventoryOneOf_Pong) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35822 i := len(dAtA) 35823 if m.Pong != nil { 35824 { 35825 size, err := m.Pong.MarshalToSizedBuffer(dAtA[:i]) 35826 if err != nil { 35827 return 0, err 35828 } 35829 i -= size 35830 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35831 } 35832 i-- 35833 dAtA[i] = 0x1a 35834 } 35835 return len(dAtA) - i, nil 35836 } 35837 func (m *UpstreamInventoryOneOf_AgentMetadata) MarshalTo(dAtA []byte) (int, error) { 35838 size := m.Size() 35839 return m.MarshalToSizedBuffer(dAtA[:size]) 35840 } 35841 35842 func (m *UpstreamInventoryOneOf_AgentMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35843 i := len(dAtA) 35844 if m.AgentMetadata != nil { 35845 { 35846 size, err := m.AgentMetadata.MarshalToSizedBuffer(dAtA[:i]) 35847 if err != nil { 35848 return 0, err 35849 } 35850 i -= size 35851 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35852 } 35853 i-- 35854 dAtA[i] = 0x22 35855 } 35856 return len(dAtA) - i, nil 35857 } 35858 func (m *DownstreamInventoryOneOf) Marshal() (dAtA []byte, err error) { 35859 size := m.Size() 35860 dAtA = make([]byte, size) 35861 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35862 if err != nil { 35863 return nil, err 35864 } 35865 return dAtA[:n], nil 35866 } 35867 35868 func (m *DownstreamInventoryOneOf) MarshalTo(dAtA []byte) (int, error) { 35869 size := m.Size() 35870 return m.MarshalToSizedBuffer(dAtA[:size]) 35871 } 35872 35873 func (m *DownstreamInventoryOneOf) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35874 i := len(dAtA) 35875 _ = i 35876 var l int 35877 _ = l 35878 if m.XXX_unrecognized != nil { 35879 i -= len(m.XXX_unrecognized) 35880 copy(dAtA[i:], m.XXX_unrecognized) 35881 } 35882 if m.Msg != nil { 35883 { 35884 size := m.Msg.Size() 35885 i -= size 35886 if _, err := m.Msg.MarshalTo(dAtA[i:]); err != nil { 35887 return 0, err 35888 } 35889 } 35890 } 35891 return len(dAtA) - i, nil 35892 } 35893 35894 func (m *DownstreamInventoryOneOf_Hello) MarshalTo(dAtA []byte) (int, error) { 35895 size := m.Size() 35896 return m.MarshalToSizedBuffer(dAtA[:size]) 35897 } 35898 35899 func (m *DownstreamInventoryOneOf_Hello) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35900 i := len(dAtA) 35901 if m.Hello != nil { 35902 { 35903 size, err := m.Hello.MarshalToSizedBuffer(dAtA[:i]) 35904 if err != nil { 35905 return 0, err 35906 } 35907 i -= size 35908 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35909 } 35910 i-- 35911 dAtA[i] = 0xa 35912 } 35913 return len(dAtA) - i, nil 35914 } 35915 func (m *DownstreamInventoryOneOf_Ping) MarshalTo(dAtA []byte) (int, error) { 35916 size := m.Size() 35917 return m.MarshalToSizedBuffer(dAtA[:size]) 35918 } 35919 35920 func (m *DownstreamInventoryOneOf_Ping) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35921 i := len(dAtA) 35922 if m.Ping != nil { 35923 { 35924 size, err := m.Ping.MarshalToSizedBuffer(dAtA[:i]) 35925 if err != nil { 35926 return 0, err 35927 } 35928 i -= size 35929 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35930 } 35931 i-- 35932 dAtA[i] = 0x12 35933 } 35934 return len(dAtA) - i, nil 35935 } 35936 func (m *DownstreamInventoryOneOf_UpdateLabels) MarshalTo(dAtA []byte) (int, error) { 35937 size := m.Size() 35938 return m.MarshalToSizedBuffer(dAtA[:size]) 35939 } 35940 35941 func (m *DownstreamInventoryOneOf_UpdateLabels) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35942 i := len(dAtA) 35943 if m.UpdateLabels != nil { 35944 { 35945 size, err := m.UpdateLabels.MarshalToSizedBuffer(dAtA[:i]) 35946 if err != nil { 35947 return 0, err 35948 } 35949 i -= size 35950 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 35951 } 35952 i-- 35953 dAtA[i] = 0x1a 35954 } 35955 return len(dAtA) - i, nil 35956 } 35957 func (m *DownstreamInventoryPing) Marshal() (dAtA []byte, err error) { 35958 size := m.Size() 35959 dAtA = make([]byte, size) 35960 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35961 if err != nil { 35962 return nil, err 35963 } 35964 return dAtA[:n], nil 35965 } 35966 35967 func (m *DownstreamInventoryPing) MarshalTo(dAtA []byte) (int, error) { 35968 size := m.Size() 35969 return m.MarshalToSizedBuffer(dAtA[:size]) 35970 } 35971 35972 func (m *DownstreamInventoryPing) MarshalToSizedBuffer(dAtA []byte) (int, error) { 35973 i := len(dAtA) 35974 _ = i 35975 var l int 35976 _ = l 35977 if m.XXX_unrecognized != nil { 35978 i -= len(m.XXX_unrecognized) 35979 copy(dAtA[i:], m.XXX_unrecognized) 35980 } 35981 if m.ID != 0 { 35982 i = encodeVarintAuthservice(dAtA, i, uint64(m.ID)) 35983 i-- 35984 dAtA[i] = 0x8 35985 } 35986 return len(dAtA) - i, nil 35987 } 35988 35989 func (m *UpstreamInventoryPong) Marshal() (dAtA []byte, err error) { 35990 size := m.Size() 35991 dAtA = make([]byte, size) 35992 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 35993 if err != nil { 35994 return nil, err 35995 } 35996 return dAtA[:n], nil 35997 } 35998 35999 func (m *UpstreamInventoryPong) MarshalTo(dAtA []byte) (int, error) { 36000 size := m.Size() 36001 return m.MarshalToSizedBuffer(dAtA[:size]) 36002 } 36003 36004 func (m *UpstreamInventoryPong) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36005 i := len(dAtA) 36006 _ = i 36007 var l int 36008 _ = l 36009 if m.XXX_unrecognized != nil { 36010 i -= len(m.XXX_unrecognized) 36011 copy(dAtA[i:], m.XXX_unrecognized) 36012 } 36013 if m.ID != 0 { 36014 i = encodeVarintAuthservice(dAtA, i, uint64(m.ID)) 36015 i-- 36016 dAtA[i] = 0x8 36017 } 36018 return len(dAtA) - i, nil 36019 } 36020 36021 func (m *UpstreamInventoryHello) Marshal() (dAtA []byte, err error) { 36022 size := m.Size() 36023 dAtA = make([]byte, size) 36024 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36025 if err != nil { 36026 return nil, err 36027 } 36028 return dAtA[:n], nil 36029 } 36030 36031 func (m *UpstreamInventoryHello) MarshalTo(dAtA []byte) (int, error) { 36032 size := m.Size() 36033 return m.MarshalToSizedBuffer(dAtA[:size]) 36034 } 36035 36036 func (m *UpstreamInventoryHello) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36037 i := len(dAtA) 36038 _ = i 36039 var l int 36040 _ = l 36041 if m.XXX_unrecognized != nil { 36042 i -= len(m.XXX_unrecognized) 36043 copy(dAtA[i:], m.XXX_unrecognized) 36044 } 36045 if len(m.ExternalUpgraderVersion) > 0 { 36046 i -= len(m.ExternalUpgraderVersion) 36047 copy(dAtA[i:], m.ExternalUpgraderVersion) 36048 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ExternalUpgraderVersion))) 36049 i-- 36050 dAtA[i] = 0x32 36051 } 36052 if len(m.ExternalUpgrader) > 0 { 36053 i -= len(m.ExternalUpgrader) 36054 copy(dAtA[i:], m.ExternalUpgrader) 36055 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ExternalUpgrader))) 36056 i-- 36057 dAtA[i] = 0x2a 36058 } 36059 if len(m.Hostname) > 0 { 36060 i -= len(m.Hostname) 36061 copy(dAtA[i:], m.Hostname) 36062 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Hostname))) 36063 i-- 36064 dAtA[i] = 0x22 36065 } 36066 if len(m.Services) > 0 { 36067 for iNdEx := len(m.Services) - 1; iNdEx >= 0; iNdEx-- { 36068 i -= len(m.Services[iNdEx]) 36069 copy(dAtA[i:], m.Services[iNdEx]) 36070 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Services[iNdEx]))) 36071 i-- 36072 dAtA[i] = 0x1a 36073 } 36074 } 36075 if len(m.ServerID) > 0 { 36076 i -= len(m.ServerID) 36077 copy(dAtA[i:], m.ServerID) 36078 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ServerID))) 36079 i-- 36080 dAtA[i] = 0x12 36081 } 36082 if len(m.Version) > 0 { 36083 i -= len(m.Version) 36084 copy(dAtA[i:], m.Version) 36085 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Version))) 36086 i-- 36087 dAtA[i] = 0xa 36088 } 36089 return len(dAtA) - i, nil 36090 } 36091 36092 func (m *UpstreamInventoryAgentMetadata) Marshal() (dAtA []byte, err error) { 36093 size := m.Size() 36094 dAtA = make([]byte, size) 36095 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36096 if err != nil { 36097 return nil, err 36098 } 36099 return dAtA[:n], nil 36100 } 36101 36102 func (m *UpstreamInventoryAgentMetadata) MarshalTo(dAtA []byte) (int, error) { 36103 size := m.Size() 36104 return m.MarshalToSizedBuffer(dAtA[:size]) 36105 } 36106 36107 func (m *UpstreamInventoryAgentMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36108 i := len(dAtA) 36109 _ = i 36110 var l int 36111 _ = l 36112 if m.XXX_unrecognized != nil { 36113 i -= len(m.XXX_unrecognized) 36114 copy(dAtA[i:], m.XXX_unrecognized) 36115 } 36116 if len(m.CloudEnvironment) > 0 { 36117 i -= len(m.CloudEnvironment) 36118 copy(dAtA[i:], m.CloudEnvironment) 36119 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.CloudEnvironment))) 36120 i-- 36121 dAtA[i] = 0x42 36122 } 36123 if len(m.ContainerOrchestrator) > 0 { 36124 i -= len(m.ContainerOrchestrator) 36125 copy(dAtA[i:], m.ContainerOrchestrator) 36126 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ContainerOrchestrator))) 36127 i-- 36128 dAtA[i] = 0x3a 36129 } 36130 if len(m.ContainerRuntime) > 0 { 36131 i -= len(m.ContainerRuntime) 36132 copy(dAtA[i:], m.ContainerRuntime) 36133 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ContainerRuntime))) 36134 i-- 36135 dAtA[i] = 0x32 36136 } 36137 if len(m.InstallMethods) > 0 { 36138 for iNdEx := len(m.InstallMethods) - 1; iNdEx >= 0; iNdEx-- { 36139 i -= len(m.InstallMethods[iNdEx]) 36140 copy(dAtA[i:], m.InstallMethods[iNdEx]) 36141 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.InstallMethods[iNdEx]))) 36142 i-- 36143 dAtA[i] = 0x2a 36144 } 36145 } 36146 if len(m.GlibcVersion) > 0 { 36147 i -= len(m.GlibcVersion) 36148 copy(dAtA[i:], m.GlibcVersion) 36149 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.GlibcVersion))) 36150 i-- 36151 dAtA[i] = 0x22 36152 } 36153 if len(m.HostArchitecture) > 0 { 36154 i -= len(m.HostArchitecture) 36155 copy(dAtA[i:], m.HostArchitecture) 36156 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.HostArchitecture))) 36157 i-- 36158 dAtA[i] = 0x1a 36159 } 36160 if len(m.OSVersion) > 0 { 36161 i -= len(m.OSVersion) 36162 copy(dAtA[i:], m.OSVersion) 36163 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.OSVersion))) 36164 i-- 36165 dAtA[i] = 0x12 36166 } 36167 if len(m.OS) > 0 { 36168 i -= len(m.OS) 36169 copy(dAtA[i:], m.OS) 36170 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.OS))) 36171 i-- 36172 dAtA[i] = 0xa 36173 } 36174 return len(dAtA) - i, nil 36175 } 36176 36177 func (m *DownstreamInventoryHello) Marshal() (dAtA []byte, err error) { 36178 size := m.Size() 36179 dAtA = make([]byte, size) 36180 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36181 if err != nil { 36182 return nil, err 36183 } 36184 return dAtA[:n], nil 36185 } 36186 36187 func (m *DownstreamInventoryHello) MarshalTo(dAtA []byte) (int, error) { 36188 size := m.Size() 36189 return m.MarshalToSizedBuffer(dAtA[:size]) 36190 } 36191 36192 func (m *DownstreamInventoryHello) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36193 i := len(dAtA) 36194 _ = i 36195 var l int 36196 _ = l 36197 if m.XXX_unrecognized != nil { 36198 i -= len(m.XXX_unrecognized) 36199 copy(dAtA[i:], m.XXX_unrecognized) 36200 } 36201 if len(m.ServerID) > 0 { 36202 i -= len(m.ServerID) 36203 copy(dAtA[i:], m.ServerID) 36204 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ServerID))) 36205 i-- 36206 dAtA[i] = 0x12 36207 } 36208 if len(m.Version) > 0 { 36209 i -= len(m.Version) 36210 copy(dAtA[i:], m.Version) 36211 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Version))) 36212 i-- 36213 dAtA[i] = 0xa 36214 } 36215 return len(dAtA) - i, nil 36216 } 36217 36218 func (m *InventoryUpdateLabelsRequest) Marshal() (dAtA []byte, err error) { 36219 size := m.Size() 36220 dAtA = make([]byte, size) 36221 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36222 if err != nil { 36223 return nil, err 36224 } 36225 return dAtA[:n], nil 36226 } 36227 36228 func (m *InventoryUpdateLabelsRequest) MarshalTo(dAtA []byte) (int, error) { 36229 size := m.Size() 36230 return m.MarshalToSizedBuffer(dAtA[:size]) 36231 } 36232 36233 func (m *InventoryUpdateLabelsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36234 i := len(dAtA) 36235 _ = i 36236 var l int 36237 _ = l 36238 if m.XXX_unrecognized != nil { 36239 i -= len(m.XXX_unrecognized) 36240 copy(dAtA[i:], m.XXX_unrecognized) 36241 } 36242 if len(m.Labels) > 0 { 36243 for k := range m.Labels { 36244 v := m.Labels[k] 36245 baseI := i 36246 i -= len(v) 36247 copy(dAtA[i:], v) 36248 i = encodeVarintAuthservice(dAtA, i, uint64(len(v))) 36249 i-- 36250 dAtA[i] = 0x12 36251 i -= len(k) 36252 copy(dAtA[i:], k) 36253 i = encodeVarintAuthservice(dAtA, i, uint64(len(k))) 36254 i-- 36255 dAtA[i] = 0xa 36256 i = encodeVarintAuthservice(dAtA, i, uint64(baseI-i)) 36257 i-- 36258 dAtA[i] = 0x1a 36259 } 36260 } 36261 if m.Kind != 0 { 36262 i = encodeVarintAuthservice(dAtA, i, uint64(m.Kind)) 36263 i-- 36264 dAtA[i] = 0x10 36265 } 36266 if len(m.ServerID) > 0 { 36267 i -= len(m.ServerID) 36268 copy(dAtA[i:], m.ServerID) 36269 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ServerID))) 36270 i-- 36271 dAtA[i] = 0xa 36272 } 36273 return len(dAtA) - i, nil 36274 } 36275 36276 func (m *DownstreamInventoryUpdateLabels) Marshal() (dAtA []byte, err error) { 36277 size := m.Size() 36278 dAtA = make([]byte, size) 36279 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36280 if err != nil { 36281 return nil, err 36282 } 36283 return dAtA[:n], nil 36284 } 36285 36286 func (m *DownstreamInventoryUpdateLabels) MarshalTo(dAtA []byte) (int, error) { 36287 size := m.Size() 36288 return m.MarshalToSizedBuffer(dAtA[:size]) 36289 } 36290 36291 func (m *DownstreamInventoryUpdateLabels) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36292 i := len(dAtA) 36293 _ = i 36294 var l int 36295 _ = l 36296 if m.XXX_unrecognized != nil { 36297 i -= len(m.XXX_unrecognized) 36298 copy(dAtA[i:], m.XXX_unrecognized) 36299 } 36300 if len(m.Labels) > 0 { 36301 for k := range m.Labels { 36302 v := m.Labels[k] 36303 baseI := i 36304 i -= len(v) 36305 copy(dAtA[i:], v) 36306 i = encodeVarintAuthservice(dAtA, i, uint64(len(v))) 36307 i-- 36308 dAtA[i] = 0x12 36309 i -= len(k) 36310 copy(dAtA[i:], k) 36311 i = encodeVarintAuthservice(dAtA, i, uint64(len(k))) 36312 i-- 36313 dAtA[i] = 0xa 36314 i = encodeVarintAuthservice(dAtA, i, uint64(baseI-i)) 36315 i-- 36316 dAtA[i] = 0x12 36317 } 36318 } 36319 if m.Kind != 0 { 36320 i = encodeVarintAuthservice(dAtA, i, uint64(m.Kind)) 36321 i-- 36322 dAtA[i] = 0x8 36323 } 36324 return len(dAtA) - i, nil 36325 } 36326 36327 func (m *InventoryHeartbeat) Marshal() (dAtA []byte, err error) { 36328 size := m.Size() 36329 dAtA = make([]byte, size) 36330 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36331 if err != nil { 36332 return nil, err 36333 } 36334 return dAtA[:n], nil 36335 } 36336 36337 func (m *InventoryHeartbeat) MarshalTo(dAtA []byte) (int, error) { 36338 size := m.Size() 36339 return m.MarshalToSizedBuffer(dAtA[:size]) 36340 } 36341 36342 func (m *InventoryHeartbeat) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36343 i := len(dAtA) 36344 _ = i 36345 var l int 36346 _ = l 36347 if m.XXX_unrecognized != nil { 36348 i -= len(m.XXX_unrecognized) 36349 copy(dAtA[i:], m.XXX_unrecognized) 36350 } 36351 if m.SSHServer != nil { 36352 { 36353 size, err := m.SSHServer.MarshalToSizedBuffer(dAtA[:i]) 36354 if err != nil { 36355 return 0, err 36356 } 36357 i -= size 36358 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 36359 } 36360 i-- 36361 dAtA[i] = 0xa 36362 } 36363 return len(dAtA) - i, nil 36364 } 36365 36366 func (m *InventoryStatusRequest) Marshal() (dAtA []byte, err error) { 36367 size := m.Size() 36368 dAtA = make([]byte, size) 36369 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36370 if err != nil { 36371 return nil, err 36372 } 36373 return dAtA[:n], nil 36374 } 36375 36376 func (m *InventoryStatusRequest) MarshalTo(dAtA []byte) (int, error) { 36377 size := m.Size() 36378 return m.MarshalToSizedBuffer(dAtA[:size]) 36379 } 36380 36381 func (m *InventoryStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36382 i := len(dAtA) 36383 _ = i 36384 var l int 36385 _ = l 36386 if m.XXX_unrecognized != nil { 36387 i -= len(m.XXX_unrecognized) 36388 copy(dAtA[i:], m.XXX_unrecognized) 36389 } 36390 if m.Connected { 36391 i-- 36392 if m.Connected { 36393 dAtA[i] = 1 36394 } else { 36395 dAtA[i] = 0 36396 } 36397 i-- 36398 dAtA[i] = 0x8 36399 } 36400 return len(dAtA) - i, nil 36401 } 36402 36403 func (m *InventoryStatusSummary) Marshal() (dAtA []byte, err error) { 36404 size := m.Size() 36405 dAtA = make([]byte, size) 36406 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36407 if err != nil { 36408 return nil, err 36409 } 36410 return dAtA[:n], nil 36411 } 36412 36413 func (m *InventoryStatusSummary) MarshalTo(dAtA []byte) (int, error) { 36414 size := m.Size() 36415 return m.MarshalToSizedBuffer(dAtA[:size]) 36416 } 36417 36418 func (m *InventoryStatusSummary) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36419 i := len(dAtA) 36420 _ = i 36421 var l int 36422 _ = l 36423 if m.XXX_unrecognized != nil { 36424 i -= len(m.XXX_unrecognized) 36425 copy(dAtA[i:], m.XXX_unrecognized) 36426 } 36427 if len(m.ServiceCounts) > 0 { 36428 for k := range m.ServiceCounts { 36429 v := m.ServiceCounts[k] 36430 baseI := i 36431 i = encodeVarintAuthservice(dAtA, i, uint64(v)) 36432 i-- 36433 dAtA[i] = 0x10 36434 i -= len(k) 36435 copy(dAtA[i:], k) 36436 i = encodeVarintAuthservice(dAtA, i, uint64(len(k))) 36437 i-- 36438 dAtA[i] = 0xa 36439 i = encodeVarintAuthservice(dAtA, i, uint64(baseI-i)) 36440 i-- 36441 dAtA[i] = 0x2a 36442 } 36443 } 36444 if len(m.UpgraderCounts) > 0 { 36445 for k := range m.UpgraderCounts { 36446 v := m.UpgraderCounts[k] 36447 baseI := i 36448 i = encodeVarintAuthservice(dAtA, i, uint64(v)) 36449 i-- 36450 dAtA[i] = 0x10 36451 i -= len(k) 36452 copy(dAtA[i:], k) 36453 i = encodeVarintAuthservice(dAtA, i, uint64(len(k))) 36454 i-- 36455 dAtA[i] = 0xa 36456 i = encodeVarintAuthservice(dAtA, i, uint64(baseI-i)) 36457 i-- 36458 dAtA[i] = 0x22 36459 } 36460 } 36461 if len(m.VersionCounts) > 0 { 36462 for k := range m.VersionCounts { 36463 v := m.VersionCounts[k] 36464 baseI := i 36465 i = encodeVarintAuthservice(dAtA, i, uint64(v)) 36466 i-- 36467 dAtA[i] = 0x10 36468 i -= len(k) 36469 copy(dAtA[i:], k) 36470 i = encodeVarintAuthservice(dAtA, i, uint64(len(k))) 36471 i-- 36472 dAtA[i] = 0xa 36473 i = encodeVarintAuthservice(dAtA, i, uint64(baseI-i)) 36474 i-- 36475 dAtA[i] = 0x1a 36476 } 36477 } 36478 if m.InstanceCount != 0 { 36479 i = encodeVarintAuthservice(dAtA, i, uint64(m.InstanceCount)) 36480 i-- 36481 dAtA[i] = 0x10 36482 } 36483 if len(m.Connected) > 0 { 36484 for iNdEx := len(m.Connected) - 1; iNdEx >= 0; iNdEx-- { 36485 { 36486 size, err := m.Connected[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 36487 if err != nil { 36488 return 0, err 36489 } 36490 i -= size 36491 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 36492 } 36493 i-- 36494 dAtA[i] = 0xa 36495 } 36496 } 36497 return len(dAtA) - i, nil 36498 } 36499 36500 func (m *InventoryConnectedServiceCountsRequest) Marshal() (dAtA []byte, err error) { 36501 size := m.Size() 36502 dAtA = make([]byte, size) 36503 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36504 if err != nil { 36505 return nil, err 36506 } 36507 return dAtA[:n], nil 36508 } 36509 36510 func (m *InventoryConnectedServiceCountsRequest) MarshalTo(dAtA []byte) (int, error) { 36511 size := m.Size() 36512 return m.MarshalToSizedBuffer(dAtA[:size]) 36513 } 36514 36515 func (m *InventoryConnectedServiceCountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36516 i := len(dAtA) 36517 _ = i 36518 var l int 36519 _ = l 36520 if m.XXX_unrecognized != nil { 36521 i -= len(m.XXX_unrecognized) 36522 copy(dAtA[i:], m.XXX_unrecognized) 36523 } 36524 return len(dAtA) - i, nil 36525 } 36526 36527 func (m *InventoryConnectedServiceCounts) Marshal() (dAtA []byte, err error) { 36528 size := m.Size() 36529 dAtA = make([]byte, size) 36530 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36531 if err != nil { 36532 return nil, err 36533 } 36534 return dAtA[:n], nil 36535 } 36536 36537 func (m *InventoryConnectedServiceCounts) MarshalTo(dAtA []byte) (int, error) { 36538 size := m.Size() 36539 return m.MarshalToSizedBuffer(dAtA[:size]) 36540 } 36541 36542 func (m *InventoryConnectedServiceCounts) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36543 i := len(dAtA) 36544 _ = i 36545 var l int 36546 _ = l 36547 if m.XXX_unrecognized != nil { 36548 i -= len(m.XXX_unrecognized) 36549 copy(dAtA[i:], m.XXX_unrecognized) 36550 } 36551 if len(m.ServiceCounts) > 0 { 36552 for k := range m.ServiceCounts { 36553 v := m.ServiceCounts[k] 36554 baseI := i 36555 i = encodeVarintAuthservice(dAtA, i, uint64(v)) 36556 i-- 36557 dAtA[i] = 0x10 36558 i -= len(k) 36559 copy(dAtA[i:], k) 36560 i = encodeVarintAuthservice(dAtA, i, uint64(len(k))) 36561 i-- 36562 dAtA[i] = 0xa 36563 i = encodeVarintAuthservice(dAtA, i, uint64(baseI-i)) 36564 i-- 36565 dAtA[i] = 0xa 36566 } 36567 } 36568 return len(dAtA) - i, nil 36569 } 36570 36571 func (m *InventoryPingRequest) Marshal() (dAtA []byte, err error) { 36572 size := m.Size() 36573 dAtA = make([]byte, size) 36574 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36575 if err != nil { 36576 return nil, err 36577 } 36578 return dAtA[:n], nil 36579 } 36580 36581 func (m *InventoryPingRequest) MarshalTo(dAtA []byte) (int, error) { 36582 size := m.Size() 36583 return m.MarshalToSizedBuffer(dAtA[:size]) 36584 } 36585 36586 func (m *InventoryPingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36587 i := len(dAtA) 36588 _ = i 36589 var l int 36590 _ = l 36591 if m.XXX_unrecognized != nil { 36592 i -= len(m.XXX_unrecognized) 36593 copy(dAtA[i:], m.XXX_unrecognized) 36594 } 36595 if m.ControlLog { 36596 i-- 36597 if m.ControlLog { 36598 dAtA[i] = 1 36599 } else { 36600 dAtA[i] = 0 36601 } 36602 i-- 36603 dAtA[i] = 0x10 36604 } 36605 if len(m.ServerID) > 0 { 36606 i -= len(m.ServerID) 36607 copy(dAtA[i:], m.ServerID) 36608 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.ServerID))) 36609 i-- 36610 dAtA[i] = 0xa 36611 } 36612 return len(dAtA) - i, nil 36613 } 36614 36615 func (m *InventoryPingResponse) Marshal() (dAtA []byte, err error) { 36616 size := m.Size() 36617 dAtA = make([]byte, size) 36618 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36619 if err != nil { 36620 return nil, err 36621 } 36622 return dAtA[:n], nil 36623 } 36624 36625 func (m *InventoryPingResponse) MarshalTo(dAtA []byte) (int, error) { 36626 size := m.Size() 36627 return m.MarshalToSizedBuffer(dAtA[:size]) 36628 } 36629 36630 func (m *InventoryPingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36631 i := len(dAtA) 36632 _ = i 36633 var l int 36634 _ = l 36635 if m.XXX_unrecognized != nil { 36636 i -= len(m.XXX_unrecognized) 36637 copy(dAtA[i:], m.XXX_unrecognized) 36638 } 36639 if m.Duration != 0 { 36640 i = encodeVarintAuthservice(dAtA, i, uint64(m.Duration)) 36641 i-- 36642 dAtA[i] = 0x8 36643 } 36644 return len(dAtA) - i, nil 36645 } 36646 36647 func (m *GetClusterAlertsResponse) Marshal() (dAtA []byte, err error) { 36648 size := m.Size() 36649 dAtA = make([]byte, size) 36650 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36651 if err != nil { 36652 return nil, err 36653 } 36654 return dAtA[:n], nil 36655 } 36656 36657 func (m *GetClusterAlertsResponse) MarshalTo(dAtA []byte) (int, error) { 36658 size := m.Size() 36659 return m.MarshalToSizedBuffer(dAtA[:size]) 36660 } 36661 36662 func (m *GetClusterAlertsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36663 i := len(dAtA) 36664 _ = i 36665 var l int 36666 _ = l 36667 if m.XXX_unrecognized != nil { 36668 i -= len(m.XXX_unrecognized) 36669 copy(dAtA[i:], m.XXX_unrecognized) 36670 } 36671 if len(m.Alerts) > 0 { 36672 for iNdEx := len(m.Alerts) - 1; iNdEx >= 0; iNdEx-- { 36673 { 36674 size, err := m.Alerts[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 36675 if err != nil { 36676 return 0, err 36677 } 36678 i -= size 36679 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 36680 } 36681 i-- 36682 dAtA[i] = 0xa 36683 } 36684 } 36685 return len(dAtA) - i, nil 36686 } 36687 36688 func (m *GetAlertAcksRequest) 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 *GetAlertAcksRequest) MarshalTo(dAtA []byte) (int, error) { 36699 size := m.Size() 36700 return m.MarshalToSizedBuffer(dAtA[:size]) 36701 } 36702 36703 func (m *GetAlertAcksRequest) 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 return len(dAtA) - i, nil 36713 } 36714 36715 func (m *GetAlertAcksResponse) Marshal() (dAtA []byte, err error) { 36716 size := m.Size() 36717 dAtA = make([]byte, size) 36718 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36719 if err != nil { 36720 return nil, err 36721 } 36722 return dAtA[:n], nil 36723 } 36724 36725 func (m *GetAlertAcksResponse) MarshalTo(dAtA []byte) (int, error) { 36726 size := m.Size() 36727 return m.MarshalToSizedBuffer(dAtA[:size]) 36728 } 36729 36730 func (m *GetAlertAcksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36731 i := len(dAtA) 36732 _ = i 36733 var l int 36734 _ = l 36735 if m.XXX_unrecognized != nil { 36736 i -= len(m.XXX_unrecognized) 36737 copy(dAtA[i:], m.XXX_unrecognized) 36738 } 36739 if len(m.Acks) > 0 { 36740 for iNdEx := len(m.Acks) - 1; iNdEx >= 0; iNdEx-- { 36741 { 36742 size, err := m.Acks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 36743 if err != nil { 36744 return 0, err 36745 } 36746 i -= size 36747 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 36748 } 36749 i-- 36750 dAtA[i] = 0xa 36751 } 36752 } 36753 return len(dAtA) - i, nil 36754 } 36755 36756 func (m *ClearAlertAcksRequest) Marshal() (dAtA []byte, err error) { 36757 size := m.Size() 36758 dAtA = make([]byte, size) 36759 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36760 if err != nil { 36761 return nil, err 36762 } 36763 return dAtA[:n], nil 36764 } 36765 36766 func (m *ClearAlertAcksRequest) MarshalTo(dAtA []byte) (int, error) { 36767 size := m.Size() 36768 return m.MarshalToSizedBuffer(dAtA[:size]) 36769 } 36770 36771 func (m *ClearAlertAcksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36772 i := len(dAtA) 36773 _ = i 36774 var l int 36775 _ = l 36776 if m.XXX_unrecognized != nil { 36777 i -= len(m.XXX_unrecognized) 36778 copy(dAtA[i:], m.XXX_unrecognized) 36779 } 36780 if len(m.AlertID) > 0 { 36781 i -= len(m.AlertID) 36782 copy(dAtA[i:], m.AlertID) 36783 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.AlertID))) 36784 i-- 36785 dAtA[i] = 0xa 36786 } 36787 return len(dAtA) - i, nil 36788 } 36789 36790 func (m *UpsertClusterAlertRequest) Marshal() (dAtA []byte, err error) { 36791 size := m.Size() 36792 dAtA = make([]byte, size) 36793 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36794 if err != nil { 36795 return nil, err 36796 } 36797 return dAtA[:n], nil 36798 } 36799 36800 func (m *UpsertClusterAlertRequest) MarshalTo(dAtA []byte) (int, error) { 36801 size := m.Size() 36802 return m.MarshalToSizedBuffer(dAtA[:size]) 36803 } 36804 36805 func (m *UpsertClusterAlertRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36806 i := len(dAtA) 36807 _ = i 36808 var l int 36809 _ = l 36810 if m.XXX_unrecognized != nil { 36811 i -= len(m.XXX_unrecognized) 36812 copy(dAtA[i:], m.XXX_unrecognized) 36813 } 36814 { 36815 size, err := m.Alert.MarshalToSizedBuffer(dAtA[:i]) 36816 if err != nil { 36817 return 0, err 36818 } 36819 i -= size 36820 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 36821 } 36822 i-- 36823 dAtA[i] = 0xa 36824 return len(dAtA) - i, nil 36825 } 36826 36827 func (m *GetConnectionDiagnosticRequest) Marshal() (dAtA []byte, err error) { 36828 size := m.Size() 36829 dAtA = make([]byte, size) 36830 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36831 if err != nil { 36832 return nil, err 36833 } 36834 return dAtA[:n], nil 36835 } 36836 36837 func (m *GetConnectionDiagnosticRequest) MarshalTo(dAtA []byte) (int, error) { 36838 size := m.Size() 36839 return m.MarshalToSizedBuffer(dAtA[:size]) 36840 } 36841 36842 func (m *GetConnectionDiagnosticRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36843 i := len(dAtA) 36844 _ = i 36845 var l int 36846 _ = l 36847 if m.XXX_unrecognized != nil { 36848 i -= len(m.XXX_unrecognized) 36849 copy(dAtA[i:], m.XXX_unrecognized) 36850 } 36851 if len(m.Name) > 0 { 36852 i -= len(m.Name) 36853 copy(dAtA[i:], m.Name) 36854 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 36855 i-- 36856 dAtA[i] = 0xa 36857 } 36858 return len(dAtA) - i, nil 36859 } 36860 36861 func (m *AppendDiagnosticTraceRequest) Marshal() (dAtA []byte, err error) { 36862 size := m.Size() 36863 dAtA = make([]byte, size) 36864 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36865 if err != nil { 36866 return nil, err 36867 } 36868 return dAtA[:n], nil 36869 } 36870 36871 func (m *AppendDiagnosticTraceRequest) MarshalTo(dAtA []byte) (int, error) { 36872 size := m.Size() 36873 return m.MarshalToSizedBuffer(dAtA[:size]) 36874 } 36875 36876 func (m *AppendDiagnosticTraceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36877 i := len(dAtA) 36878 _ = i 36879 var l int 36880 _ = l 36881 if m.XXX_unrecognized != nil { 36882 i -= len(m.XXX_unrecognized) 36883 copy(dAtA[i:], m.XXX_unrecognized) 36884 } 36885 if m.Trace != nil { 36886 { 36887 size, err := m.Trace.MarshalToSizedBuffer(dAtA[:i]) 36888 if err != nil { 36889 return 0, err 36890 } 36891 i -= size 36892 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 36893 } 36894 i-- 36895 dAtA[i] = 0x12 36896 } 36897 if len(m.Name) > 0 { 36898 i -= len(m.Name) 36899 copy(dAtA[i:], m.Name) 36900 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Name))) 36901 i-- 36902 dAtA[i] = 0xa 36903 } 36904 return len(dAtA) - i, nil 36905 } 36906 36907 func (m *SubmitUsageEventRequest) Marshal() (dAtA []byte, err error) { 36908 size := m.Size() 36909 dAtA = make([]byte, size) 36910 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36911 if err != nil { 36912 return nil, err 36913 } 36914 return dAtA[:n], nil 36915 } 36916 36917 func (m *SubmitUsageEventRequest) MarshalTo(dAtA []byte) (int, error) { 36918 size := m.Size() 36919 return m.MarshalToSizedBuffer(dAtA[:size]) 36920 } 36921 36922 func (m *SubmitUsageEventRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36923 i := len(dAtA) 36924 _ = i 36925 var l int 36926 _ = l 36927 if m.XXX_unrecognized != nil { 36928 i -= len(m.XXX_unrecognized) 36929 copy(dAtA[i:], m.XXX_unrecognized) 36930 } 36931 if m.Event != nil { 36932 { 36933 size, err := m.Event.MarshalToSizedBuffer(dAtA[:i]) 36934 if err != nil { 36935 return 0, err 36936 } 36937 i -= size 36938 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 36939 } 36940 i-- 36941 dAtA[i] = 0xa 36942 } 36943 return len(dAtA) - i, nil 36944 } 36945 36946 func (m *GetLicenseRequest) Marshal() (dAtA []byte, err error) { 36947 size := m.Size() 36948 dAtA = make([]byte, size) 36949 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36950 if err != nil { 36951 return nil, err 36952 } 36953 return dAtA[:n], nil 36954 } 36955 36956 func (m *GetLicenseRequest) MarshalTo(dAtA []byte) (int, error) { 36957 size := m.Size() 36958 return m.MarshalToSizedBuffer(dAtA[:size]) 36959 } 36960 36961 func (m *GetLicenseRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36962 i := len(dAtA) 36963 _ = i 36964 var l int 36965 _ = l 36966 if m.XXX_unrecognized != nil { 36967 i -= len(m.XXX_unrecognized) 36968 copy(dAtA[i:], m.XXX_unrecognized) 36969 } 36970 return len(dAtA) - i, nil 36971 } 36972 36973 func (m *ListReleasesRequest) Marshal() (dAtA []byte, err error) { 36974 size := m.Size() 36975 dAtA = make([]byte, size) 36976 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 36977 if err != nil { 36978 return nil, err 36979 } 36980 return dAtA[:n], nil 36981 } 36982 36983 func (m *ListReleasesRequest) MarshalTo(dAtA []byte) (int, error) { 36984 size := m.Size() 36985 return m.MarshalToSizedBuffer(dAtA[:size]) 36986 } 36987 36988 func (m *ListReleasesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 36989 i := len(dAtA) 36990 _ = i 36991 var l int 36992 _ = l 36993 if m.XXX_unrecognized != nil { 36994 i -= len(m.XXX_unrecognized) 36995 copy(dAtA[i:], m.XXX_unrecognized) 36996 } 36997 return len(dAtA) - i, nil 36998 } 36999 37000 func (m *CreateTokenV2Request) Marshal() (dAtA []byte, err error) { 37001 size := m.Size() 37002 dAtA = make([]byte, size) 37003 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37004 if err != nil { 37005 return nil, err 37006 } 37007 return dAtA[:n], nil 37008 } 37009 37010 func (m *CreateTokenV2Request) MarshalTo(dAtA []byte) (int, error) { 37011 size := m.Size() 37012 return m.MarshalToSizedBuffer(dAtA[:size]) 37013 } 37014 37015 func (m *CreateTokenV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37016 i := len(dAtA) 37017 _ = i 37018 var l int 37019 _ = l 37020 if m.XXX_unrecognized != nil { 37021 i -= len(m.XXX_unrecognized) 37022 copy(dAtA[i:], m.XXX_unrecognized) 37023 } 37024 if m.Token != nil { 37025 { 37026 size := m.Token.Size() 37027 i -= size 37028 if _, err := m.Token.MarshalTo(dAtA[i:]); err != nil { 37029 return 0, err 37030 } 37031 } 37032 } 37033 return len(dAtA) - i, nil 37034 } 37035 37036 func (m *CreateTokenV2Request_V2) MarshalTo(dAtA []byte) (int, error) { 37037 size := m.Size() 37038 return m.MarshalToSizedBuffer(dAtA[:size]) 37039 } 37040 37041 func (m *CreateTokenV2Request_V2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37042 i := len(dAtA) 37043 if m.V2 != nil { 37044 { 37045 size, err := m.V2.MarshalToSizedBuffer(dAtA[:i]) 37046 if err != nil { 37047 return 0, err 37048 } 37049 i -= size 37050 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 37051 } 37052 i-- 37053 dAtA[i] = 0xa 37054 } 37055 return len(dAtA) - i, nil 37056 } 37057 func (m *UpsertTokenV2Request) Marshal() (dAtA []byte, err error) { 37058 size := m.Size() 37059 dAtA = make([]byte, size) 37060 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37061 if err != nil { 37062 return nil, err 37063 } 37064 return dAtA[:n], nil 37065 } 37066 37067 func (m *UpsertTokenV2Request) MarshalTo(dAtA []byte) (int, error) { 37068 size := m.Size() 37069 return m.MarshalToSizedBuffer(dAtA[:size]) 37070 } 37071 37072 func (m *UpsertTokenV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37073 i := len(dAtA) 37074 _ = i 37075 var l int 37076 _ = l 37077 if m.XXX_unrecognized != nil { 37078 i -= len(m.XXX_unrecognized) 37079 copy(dAtA[i:], m.XXX_unrecognized) 37080 } 37081 if m.Token != nil { 37082 { 37083 size := m.Token.Size() 37084 i -= size 37085 if _, err := m.Token.MarshalTo(dAtA[i:]); err != nil { 37086 return 0, err 37087 } 37088 } 37089 } 37090 return len(dAtA) - i, nil 37091 } 37092 37093 func (m *UpsertTokenV2Request_V2) MarshalTo(dAtA []byte) (int, error) { 37094 size := m.Size() 37095 return m.MarshalToSizedBuffer(dAtA[:size]) 37096 } 37097 37098 func (m *UpsertTokenV2Request_V2) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37099 i := len(dAtA) 37100 if m.V2 != nil { 37101 { 37102 size, err := m.V2.MarshalToSizedBuffer(dAtA[:i]) 37103 if err != nil { 37104 return 0, err 37105 } 37106 i -= size 37107 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 37108 } 37109 i-- 37110 dAtA[i] = 0xa 37111 } 37112 return len(dAtA) - i, nil 37113 } 37114 func (m *GetHeadlessAuthenticationRequest) Marshal() (dAtA []byte, err error) { 37115 size := m.Size() 37116 dAtA = make([]byte, size) 37117 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37118 if err != nil { 37119 return nil, err 37120 } 37121 return dAtA[:n], nil 37122 } 37123 37124 func (m *GetHeadlessAuthenticationRequest) MarshalTo(dAtA []byte) (int, error) { 37125 size := m.Size() 37126 return m.MarshalToSizedBuffer(dAtA[:size]) 37127 } 37128 37129 func (m *GetHeadlessAuthenticationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37130 i := len(dAtA) 37131 _ = i 37132 var l int 37133 _ = l 37134 if m.XXX_unrecognized != nil { 37135 i -= len(m.XXX_unrecognized) 37136 copy(dAtA[i:], m.XXX_unrecognized) 37137 } 37138 if len(m.Id) > 0 { 37139 i -= len(m.Id) 37140 copy(dAtA[i:], m.Id) 37141 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Id))) 37142 i-- 37143 dAtA[i] = 0xa 37144 } 37145 return len(dAtA) - i, nil 37146 } 37147 37148 func (m *UpdateHeadlessAuthenticationStateRequest) Marshal() (dAtA []byte, err error) { 37149 size := m.Size() 37150 dAtA = make([]byte, size) 37151 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37152 if err != nil { 37153 return nil, err 37154 } 37155 return dAtA[:n], nil 37156 } 37157 37158 func (m *UpdateHeadlessAuthenticationStateRequest) MarshalTo(dAtA []byte) (int, error) { 37159 size := m.Size() 37160 return m.MarshalToSizedBuffer(dAtA[:size]) 37161 } 37162 37163 func (m *UpdateHeadlessAuthenticationStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37164 i := len(dAtA) 37165 _ = i 37166 var l int 37167 _ = l 37168 if m.XXX_unrecognized != nil { 37169 i -= len(m.XXX_unrecognized) 37170 copy(dAtA[i:], m.XXX_unrecognized) 37171 } 37172 if m.MfaResponse != nil { 37173 { 37174 size, err := m.MfaResponse.MarshalToSizedBuffer(dAtA[:i]) 37175 if err != nil { 37176 return 0, err 37177 } 37178 i -= size 37179 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 37180 } 37181 i-- 37182 dAtA[i] = 0x1a 37183 } 37184 if m.State != 0 { 37185 i = encodeVarintAuthservice(dAtA, i, uint64(m.State)) 37186 i-- 37187 dAtA[i] = 0x10 37188 } 37189 if len(m.Id) > 0 { 37190 i -= len(m.Id) 37191 copy(dAtA[i:], m.Id) 37192 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.Id))) 37193 i-- 37194 dAtA[i] = 0xa 37195 } 37196 return len(dAtA) - i, nil 37197 } 37198 37199 func (m *ExportUpgradeWindowsRequest) Marshal() (dAtA []byte, err error) { 37200 size := m.Size() 37201 dAtA = make([]byte, size) 37202 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37203 if err != nil { 37204 return nil, err 37205 } 37206 return dAtA[:n], nil 37207 } 37208 37209 func (m *ExportUpgradeWindowsRequest) MarshalTo(dAtA []byte) (int, error) { 37210 size := m.Size() 37211 return m.MarshalToSizedBuffer(dAtA[:size]) 37212 } 37213 37214 func (m *ExportUpgradeWindowsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37215 i := len(dAtA) 37216 _ = i 37217 var l int 37218 _ = l 37219 if m.XXX_unrecognized != nil { 37220 i -= len(m.XXX_unrecognized) 37221 copy(dAtA[i:], m.XXX_unrecognized) 37222 } 37223 if len(m.UpgraderKind) > 0 { 37224 i -= len(m.UpgraderKind) 37225 copy(dAtA[i:], m.UpgraderKind) 37226 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.UpgraderKind))) 37227 i-- 37228 dAtA[i] = 0x12 37229 } 37230 if len(m.TeleportVersion) > 0 { 37231 i -= len(m.TeleportVersion) 37232 copy(dAtA[i:], m.TeleportVersion) 37233 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.TeleportVersion))) 37234 i-- 37235 dAtA[i] = 0xa 37236 } 37237 return len(dAtA) - i, nil 37238 } 37239 37240 func (m *ExportUpgradeWindowsResponse) Marshal() (dAtA []byte, err error) { 37241 size := m.Size() 37242 dAtA = make([]byte, size) 37243 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37244 if err != nil { 37245 return nil, err 37246 } 37247 return dAtA[:n], nil 37248 } 37249 37250 func (m *ExportUpgradeWindowsResponse) MarshalTo(dAtA []byte) (int, error) { 37251 size := m.Size() 37252 return m.MarshalToSizedBuffer(dAtA[:size]) 37253 } 37254 37255 func (m *ExportUpgradeWindowsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37256 i := len(dAtA) 37257 _ = i 37258 var l int 37259 _ = l 37260 if m.XXX_unrecognized != nil { 37261 i -= len(m.XXX_unrecognized) 37262 copy(dAtA[i:], m.XXX_unrecognized) 37263 } 37264 if len(m.SystemdUnitSchedule) > 0 { 37265 i -= len(m.SystemdUnitSchedule) 37266 copy(dAtA[i:], m.SystemdUnitSchedule) 37267 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.SystemdUnitSchedule))) 37268 i-- 37269 dAtA[i] = 0x1a 37270 } 37271 if len(m.KubeControllerSchedule) > 0 { 37272 i -= len(m.KubeControllerSchedule) 37273 copy(dAtA[i:], m.KubeControllerSchedule) 37274 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.KubeControllerSchedule))) 37275 i-- 37276 dAtA[i] = 0x12 37277 } 37278 if m.CanonicalSchedule != nil { 37279 { 37280 size, err := m.CanonicalSchedule.MarshalToSizedBuffer(dAtA[:i]) 37281 if err != nil { 37282 return 0, err 37283 } 37284 i -= size 37285 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 37286 } 37287 i-- 37288 dAtA[i] = 0xa 37289 } 37290 return len(dAtA) - i, nil 37291 } 37292 37293 func (m *ListAccessRequestsRequest) Marshal() (dAtA []byte, err error) { 37294 size := m.Size() 37295 dAtA = make([]byte, size) 37296 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37297 if err != nil { 37298 return nil, err 37299 } 37300 return dAtA[:n], nil 37301 } 37302 37303 func (m *ListAccessRequestsRequest) MarshalTo(dAtA []byte) (int, error) { 37304 size := m.Size() 37305 return m.MarshalToSizedBuffer(dAtA[:size]) 37306 } 37307 37308 func (m *ListAccessRequestsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37309 i := len(dAtA) 37310 _ = i 37311 var l int 37312 _ = l 37313 if m.XXX_unrecognized != nil { 37314 i -= len(m.XXX_unrecognized) 37315 copy(dAtA[i:], m.XXX_unrecognized) 37316 } 37317 if len(m.StartKey) > 0 { 37318 i -= len(m.StartKey) 37319 copy(dAtA[i:], m.StartKey) 37320 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.StartKey))) 37321 i-- 37322 dAtA[i] = 0x2a 37323 } 37324 if m.Limit != 0 { 37325 i = encodeVarintAuthservice(dAtA, i, uint64(m.Limit)) 37326 i-- 37327 dAtA[i] = 0x20 37328 } 37329 if m.Descending { 37330 i-- 37331 if m.Descending { 37332 dAtA[i] = 1 37333 } else { 37334 dAtA[i] = 0 37335 } 37336 i-- 37337 dAtA[i] = 0x18 37338 } 37339 if m.Sort != 0 { 37340 i = encodeVarintAuthservice(dAtA, i, uint64(m.Sort)) 37341 i-- 37342 dAtA[i] = 0x10 37343 } 37344 if m.Filter != nil { 37345 { 37346 size, err := m.Filter.MarshalToSizedBuffer(dAtA[:i]) 37347 if err != nil { 37348 return 0, err 37349 } 37350 i -= size 37351 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 37352 } 37353 i-- 37354 dAtA[i] = 0xa 37355 } 37356 return len(dAtA) - i, nil 37357 } 37358 37359 func (m *ListAccessRequestsResponse) Marshal() (dAtA []byte, err error) { 37360 size := m.Size() 37361 dAtA = make([]byte, size) 37362 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37363 if err != nil { 37364 return nil, err 37365 } 37366 return dAtA[:n], nil 37367 } 37368 37369 func (m *ListAccessRequestsResponse) MarshalTo(dAtA []byte) (int, error) { 37370 size := m.Size() 37371 return m.MarshalToSizedBuffer(dAtA[:size]) 37372 } 37373 37374 func (m *ListAccessRequestsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37375 i := len(dAtA) 37376 _ = i 37377 var l int 37378 _ = l 37379 if m.XXX_unrecognized != nil { 37380 i -= len(m.XXX_unrecognized) 37381 copy(dAtA[i:], m.XXX_unrecognized) 37382 } 37383 if len(m.NextKey) > 0 { 37384 i -= len(m.NextKey) 37385 copy(dAtA[i:], m.NextKey) 37386 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.NextKey))) 37387 i-- 37388 dAtA[i] = 0x12 37389 } 37390 if len(m.AccessRequests) > 0 { 37391 for iNdEx := len(m.AccessRequests) - 1; iNdEx >= 0; iNdEx-- { 37392 { 37393 size, err := m.AccessRequests[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 37394 if err != nil { 37395 return 0, err 37396 } 37397 i -= size 37398 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 37399 } 37400 i-- 37401 dAtA[i] = 0xa 37402 } 37403 } 37404 return len(dAtA) - i, nil 37405 } 37406 37407 func (m *AccessRequestAllowedPromotionRequest) Marshal() (dAtA []byte, err error) { 37408 size := m.Size() 37409 dAtA = make([]byte, size) 37410 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37411 if err != nil { 37412 return nil, err 37413 } 37414 return dAtA[:n], nil 37415 } 37416 37417 func (m *AccessRequestAllowedPromotionRequest) MarshalTo(dAtA []byte) (int, error) { 37418 size := m.Size() 37419 return m.MarshalToSizedBuffer(dAtA[:size]) 37420 } 37421 37422 func (m *AccessRequestAllowedPromotionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37423 i := len(dAtA) 37424 _ = i 37425 var l int 37426 _ = l 37427 if m.XXX_unrecognized != nil { 37428 i -= len(m.XXX_unrecognized) 37429 copy(dAtA[i:], m.XXX_unrecognized) 37430 } 37431 if len(m.AccessRequestID) > 0 { 37432 i -= len(m.AccessRequestID) 37433 copy(dAtA[i:], m.AccessRequestID) 37434 i = encodeVarintAuthservice(dAtA, i, uint64(len(m.AccessRequestID))) 37435 i-- 37436 dAtA[i] = 0xa 37437 } 37438 return len(dAtA) - i, nil 37439 } 37440 37441 func (m *AccessRequestAllowedPromotionResponse) Marshal() (dAtA []byte, err error) { 37442 size := m.Size() 37443 dAtA = make([]byte, size) 37444 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 37445 if err != nil { 37446 return nil, err 37447 } 37448 return dAtA[:n], nil 37449 } 37450 37451 func (m *AccessRequestAllowedPromotionResponse) MarshalTo(dAtA []byte) (int, error) { 37452 size := m.Size() 37453 return m.MarshalToSizedBuffer(dAtA[:size]) 37454 } 37455 37456 func (m *AccessRequestAllowedPromotionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 37457 i := len(dAtA) 37458 _ = i 37459 var l int 37460 _ = l 37461 if m.XXX_unrecognized != nil { 37462 i -= len(m.XXX_unrecognized) 37463 copy(dAtA[i:], m.XXX_unrecognized) 37464 } 37465 if m.AllowedPromotions != nil { 37466 { 37467 size, err := m.AllowedPromotions.MarshalToSizedBuffer(dAtA[:i]) 37468 if err != nil { 37469 return 0, err 37470 } 37471 i -= size 37472 i = encodeVarintAuthservice(dAtA, i, uint64(size)) 37473 } 37474 i-- 37475 dAtA[i] = 0xa 37476 } 37477 return len(dAtA) - i, nil 37478 } 37479 37480 func encodeVarintAuthservice(dAtA []byte, offset int, v uint64) int { 37481 offset -= sovAuthservice(v) 37482 base := offset 37483 for v >= 1<<7 { 37484 dAtA[offset] = uint8(v&0x7f | 0x80) 37485 v >>= 7 37486 offset++ 37487 } 37488 dAtA[offset] = uint8(v) 37489 return base 37490 } 37491 func (m *Watch) Size() (n int) { 37492 if m == nil { 37493 return 0 37494 } 37495 var l int 37496 _ = l 37497 if len(m.Kinds) > 0 { 37498 for _, e := range m.Kinds { 37499 l = e.Size() 37500 n += 1 + l + sovAuthservice(uint64(l)) 37501 } 37502 } 37503 if m.AllowPartialSuccess { 37504 n += 2 37505 } 37506 if m.XXX_unrecognized != nil { 37507 n += len(m.XXX_unrecognized) 37508 } 37509 return n 37510 } 37511 37512 func (m *HostCertsRequest) Size() (n int) { 37513 if m == nil { 37514 return 0 37515 } 37516 var l int 37517 _ = l 37518 l = len(m.HostID) 37519 if l > 0 { 37520 n += 1 + l + sovAuthservice(uint64(l)) 37521 } 37522 l = len(m.NodeName) 37523 if l > 0 { 37524 n += 1 + l + sovAuthservice(uint64(l)) 37525 } 37526 l = len(m.Role) 37527 if l > 0 { 37528 n += 1 + l + sovAuthservice(uint64(l)) 37529 } 37530 if len(m.AdditionalPrincipals) > 0 { 37531 for _, s := range m.AdditionalPrincipals { 37532 l = len(s) 37533 n += 1 + l + sovAuthservice(uint64(l)) 37534 } 37535 } 37536 if len(m.DNSNames) > 0 { 37537 for _, s := range m.DNSNames { 37538 l = len(s) 37539 n += 1 + l + sovAuthservice(uint64(l)) 37540 } 37541 } 37542 l = len(m.PublicTLSKey) 37543 if l > 0 { 37544 n += 1 + l + sovAuthservice(uint64(l)) 37545 } 37546 l = len(m.PublicSSHKey) 37547 if l > 0 { 37548 n += 1 + l + sovAuthservice(uint64(l)) 37549 } 37550 l = len(m.RemoteAddr) 37551 if l > 0 { 37552 n += 1 + l + sovAuthservice(uint64(l)) 37553 } 37554 if m.Rotation != nil { 37555 l = m.Rotation.Size() 37556 n += 1 + l + sovAuthservice(uint64(l)) 37557 } 37558 if m.NoCache { 37559 n += 2 37560 } 37561 if len(m.SystemRoles) > 0 { 37562 for _, s := range m.SystemRoles { 37563 l = len(s) 37564 n += 1 + l + sovAuthservice(uint64(l)) 37565 } 37566 } 37567 if m.XXX_unrecognized != nil { 37568 n += len(m.XXX_unrecognized) 37569 } 37570 return n 37571 } 37572 37573 func (m *OpenSSHCertRequest) Size() (n int) { 37574 if m == nil { 37575 return 0 37576 } 37577 var l int 37578 _ = l 37579 l = len(m.PublicKey) 37580 if l > 0 { 37581 n += 1 + l + sovAuthservice(uint64(l)) 37582 } 37583 if m.TTL != 0 { 37584 n += 1 + sovAuthservice(uint64(m.TTL)) 37585 } 37586 l = len(m.Cluster) 37587 if l > 0 { 37588 n += 1 + l + sovAuthservice(uint64(l)) 37589 } 37590 if m.User != nil { 37591 l = m.User.Size() 37592 n += 1 + l + sovAuthservice(uint64(l)) 37593 } 37594 if len(m.Roles) > 0 { 37595 for _, e := range m.Roles { 37596 l = e.Size() 37597 n += 1 + l + sovAuthservice(uint64(l)) 37598 } 37599 } 37600 if m.XXX_unrecognized != nil { 37601 n += len(m.XXX_unrecognized) 37602 } 37603 return n 37604 } 37605 37606 func (m *OpenSSHCert) Size() (n int) { 37607 if m == nil { 37608 return 0 37609 } 37610 var l int 37611 _ = l 37612 l = len(m.Cert) 37613 if l > 0 { 37614 n += 1 + l + sovAuthservice(uint64(l)) 37615 } 37616 if m.XXX_unrecognized != nil { 37617 n += len(m.XXX_unrecognized) 37618 } 37619 return n 37620 } 37621 37622 func (m *UserCertsRequest) Size() (n int) { 37623 if m == nil { 37624 return 0 37625 } 37626 var l int 37627 _ = l 37628 l = len(m.PublicKey) 37629 if l > 0 { 37630 n += 1 + l + sovAuthservice(uint64(l)) 37631 } 37632 l = len(m.Username) 37633 if l > 0 { 37634 n += 1 + l + sovAuthservice(uint64(l)) 37635 } 37636 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires) 37637 n += 1 + l + sovAuthservice(uint64(l)) 37638 l = len(m.Format) 37639 if l > 0 { 37640 n += 1 + l + sovAuthservice(uint64(l)) 37641 } 37642 l = len(m.RouteToCluster) 37643 if l > 0 { 37644 n += 1 + l + sovAuthservice(uint64(l)) 37645 } 37646 if len(m.AccessRequests) > 0 { 37647 for _, s := range m.AccessRequests { 37648 l = len(s) 37649 n += 1 + l + sovAuthservice(uint64(l)) 37650 } 37651 } 37652 l = len(m.KubernetesCluster) 37653 if l > 0 { 37654 n += 1 + l + sovAuthservice(uint64(l)) 37655 } 37656 l = m.RouteToDatabase.Size() 37657 n += 1 + l + sovAuthservice(uint64(l)) 37658 l = len(m.NodeName) 37659 if l > 0 { 37660 n += 1 + l + sovAuthservice(uint64(l)) 37661 } 37662 if m.Usage != 0 { 37663 n += 1 + sovAuthservice(uint64(m.Usage)) 37664 } 37665 l = m.RouteToApp.Size() 37666 n += 1 + l + sovAuthservice(uint64(l)) 37667 if len(m.RoleRequests) > 0 { 37668 for _, s := range m.RoleRequests { 37669 l = len(s) 37670 n += 1 + l + sovAuthservice(uint64(l)) 37671 } 37672 } 37673 l = m.RouteToWindowsDesktop.Size() 37674 n += 1 + l + sovAuthservice(uint64(l)) 37675 if m.UseRoleRequests { 37676 n += 2 37677 } 37678 if len(m.DropAccessRequests) > 0 { 37679 for _, s := range m.DropAccessRequests { 37680 l = len(s) 37681 n += 1 + l + sovAuthservice(uint64(l)) 37682 } 37683 } 37684 l = len(m.ConnectionDiagnosticID) 37685 if l > 0 { 37686 n += 2 + l + sovAuthservice(uint64(l)) 37687 } 37688 if m.RequesterName != 0 { 37689 n += 2 + sovAuthservice(uint64(m.RequesterName)) 37690 } 37691 if m.MFAResponse != nil { 37692 l = m.MFAResponse.Size() 37693 n += 2 + l + sovAuthservice(uint64(l)) 37694 } 37695 l = len(m.SSHLogin) 37696 if l > 0 { 37697 n += 2 + l + sovAuthservice(uint64(l)) 37698 } 37699 if m.AttestationStatement != nil { 37700 l = m.AttestationStatement.Size() 37701 n += 2 + l + sovAuthservice(uint64(l)) 37702 } 37703 if m.Purpose != 0 { 37704 n += 2 + sovAuthservice(uint64(m.Purpose)) 37705 } 37706 if m.XXX_unrecognized != nil { 37707 n += len(m.XXX_unrecognized) 37708 } 37709 return n 37710 } 37711 37712 func (m *RouteToDatabase) Size() (n int) { 37713 if m == nil { 37714 return 0 37715 } 37716 var l int 37717 _ = l 37718 l = len(m.ServiceName) 37719 if l > 0 { 37720 n += 1 + l + sovAuthservice(uint64(l)) 37721 } 37722 l = len(m.Protocol) 37723 if l > 0 { 37724 n += 1 + l + sovAuthservice(uint64(l)) 37725 } 37726 l = len(m.Username) 37727 if l > 0 { 37728 n += 1 + l + sovAuthservice(uint64(l)) 37729 } 37730 l = len(m.Database) 37731 if l > 0 { 37732 n += 1 + l + sovAuthservice(uint64(l)) 37733 } 37734 if len(m.Roles) > 0 { 37735 for _, s := range m.Roles { 37736 l = len(s) 37737 n += 1 + l + sovAuthservice(uint64(l)) 37738 } 37739 } 37740 if m.XXX_unrecognized != nil { 37741 n += len(m.XXX_unrecognized) 37742 } 37743 return n 37744 } 37745 37746 func (m *RouteToWindowsDesktop) Size() (n int) { 37747 if m == nil { 37748 return 0 37749 } 37750 var l int 37751 _ = l 37752 l = len(m.WindowsDesktop) 37753 if l > 0 { 37754 n += 1 + l + sovAuthservice(uint64(l)) 37755 } 37756 l = len(m.Login) 37757 if l > 0 { 37758 n += 1 + l + sovAuthservice(uint64(l)) 37759 } 37760 if m.XXX_unrecognized != nil { 37761 n += len(m.XXX_unrecognized) 37762 } 37763 return n 37764 } 37765 37766 func (m *RouteToApp) Size() (n int) { 37767 if m == nil { 37768 return 0 37769 } 37770 var l int 37771 _ = l 37772 l = len(m.Name) 37773 if l > 0 { 37774 n += 1 + l + sovAuthservice(uint64(l)) 37775 } 37776 l = len(m.SessionID) 37777 if l > 0 { 37778 n += 1 + l + sovAuthservice(uint64(l)) 37779 } 37780 l = len(m.PublicAddr) 37781 if l > 0 { 37782 n += 1 + l + sovAuthservice(uint64(l)) 37783 } 37784 l = len(m.ClusterName) 37785 if l > 0 { 37786 n += 1 + l + sovAuthservice(uint64(l)) 37787 } 37788 l = len(m.AWSRoleARN) 37789 if l > 0 { 37790 n += 1 + l + sovAuthservice(uint64(l)) 37791 } 37792 l = len(m.AzureIdentity) 37793 if l > 0 { 37794 n += 1 + l + sovAuthservice(uint64(l)) 37795 } 37796 l = len(m.GCPServiceAccount) 37797 if l > 0 { 37798 n += 1 + l + sovAuthservice(uint64(l)) 37799 } 37800 if m.XXX_unrecognized != nil { 37801 n += len(m.XXX_unrecognized) 37802 } 37803 return n 37804 } 37805 37806 func (m *GetUserRequest) Size() (n int) { 37807 if m == nil { 37808 return 0 37809 } 37810 var l int 37811 _ = l 37812 l = len(m.Name) 37813 if l > 0 { 37814 n += 1 + l + sovAuthservice(uint64(l)) 37815 } 37816 if m.WithSecrets { 37817 n += 2 37818 } 37819 if m.XXX_unrecognized != nil { 37820 n += len(m.XXX_unrecognized) 37821 } 37822 return n 37823 } 37824 37825 func (m *GetUsersRequest) Size() (n int) { 37826 if m == nil { 37827 return 0 37828 } 37829 var l int 37830 _ = l 37831 if m.WithSecrets { 37832 n += 2 37833 } 37834 if m.XXX_unrecognized != nil { 37835 n += len(m.XXX_unrecognized) 37836 } 37837 return n 37838 } 37839 37840 func (m *ChangePasswordRequest) Size() (n int) { 37841 if m == nil { 37842 return 0 37843 } 37844 var l int 37845 _ = l 37846 l = len(m.User) 37847 if l > 0 { 37848 n += 1 + l + sovAuthservice(uint64(l)) 37849 } 37850 l = len(m.OldPassword) 37851 if l > 0 { 37852 n += 1 + l + sovAuthservice(uint64(l)) 37853 } 37854 l = len(m.NewPassword) 37855 if l > 0 { 37856 n += 1 + l + sovAuthservice(uint64(l)) 37857 } 37858 l = len(m.SecondFactorToken) 37859 if l > 0 { 37860 n += 1 + l + sovAuthservice(uint64(l)) 37861 } 37862 if m.Webauthn != nil { 37863 l = m.Webauthn.Size() 37864 n += 1 + l + sovAuthservice(uint64(l)) 37865 } 37866 if m.XXX_unrecognized != nil { 37867 n += len(m.XXX_unrecognized) 37868 } 37869 return n 37870 } 37871 37872 func (m *PluginDataSeq) Size() (n int) { 37873 if m == nil { 37874 return 0 37875 } 37876 var l int 37877 _ = l 37878 if len(m.PluginData) > 0 { 37879 for _, e := range m.PluginData { 37880 l = e.Size() 37881 n += 1 + l + sovAuthservice(uint64(l)) 37882 } 37883 } 37884 if m.XXX_unrecognized != nil { 37885 n += len(m.XXX_unrecognized) 37886 } 37887 return n 37888 } 37889 37890 func (m *RequestStateSetter) Size() (n int) { 37891 if m == nil { 37892 return 0 37893 } 37894 var l int 37895 _ = l 37896 l = len(m.ID) 37897 if l > 0 { 37898 n += 1 + l + sovAuthservice(uint64(l)) 37899 } 37900 if m.State != 0 { 37901 n += 1 + sovAuthservice(uint64(m.State)) 37902 } 37903 l = len(m.Delegator) 37904 if l > 0 { 37905 n += 1 + l + sovAuthservice(uint64(l)) 37906 } 37907 l = len(m.Reason) 37908 if l > 0 { 37909 n += 1 + l + sovAuthservice(uint64(l)) 37910 } 37911 l = m.Annotations.Size() 37912 n += 1 + l + sovAuthservice(uint64(l)) 37913 if len(m.Roles) > 0 { 37914 for _, s := range m.Roles { 37915 l = len(s) 37916 n += 1 + l + sovAuthservice(uint64(l)) 37917 } 37918 } 37919 if m.AssumeStartTime != nil { 37920 l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.AssumeStartTime) 37921 n += 1 + l + sovAuthservice(uint64(l)) 37922 } 37923 if m.XXX_unrecognized != nil { 37924 n += len(m.XXX_unrecognized) 37925 } 37926 return n 37927 } 37928 37929 func (m *RequestID) Size() (n int) { 37930 if m == nil { 37931 return 0 37932 } 37933 var l int 37934 _ = l 37935 l = len(m.ID) 37936 if l > 0 { 37937 n += 1 + l + sovAuthservice(uint64(l)) 37938 } 37939 if m.XXX_unrecognized != nil { 37940 n += len(m.XXX_unrecognized) 37941 } 37942 return n 37943 } 37944 37945 func (m *GetResetPasswordTokenRequest) Size() (n int) { 37946 if m == nil { 37947 return 0 37948 } 37949 var l int 37950 _ = l 37951 l = len(m.TokenID) 37952 if l > 0 { 37953 n += 1 + l + sovAuthservice(uint64(l)) 37954 } 37955 if m.XXX_unrecognized != nil { 37956 n += len(m.XXX_unrecognized) 37957 } 37958 return n 37959 } 37960 37961 func (m *CreateResetPasswordTokenRequest) Size() (n int) { 37962 if m == nil { 37963 return 0 37964 } 37965 var l int 37966 _ = l 37967 l = len(m.Name) 37968 if l > 0 { 37969 n += 1 + l + sovAuthservice(uint64(l)) 37970 } 37971 l = len(m.Type) 37972 if l > 0 { 37973 n += 1 + l + sovAuthservice(uint64(l)) 37974 } 37975 if m.TTL != 0 { 37976 n += 1 + sovAuthservice(uint64(m.TTL)) 37977 } 37978 if m.XXX_unrecognized != nil { 37979 n += len(m.XXX_unrecognized) 37980 } 37981 return n 37982 } 37983 37984 func (m *RenewableCertsRequest) Size() (n int) { 37985 if m == nil { 37986 return 0 37987 } 37988 var l int 37989 _ = l 37990 l = len(m.Token) 37991 if l > 0 { 37992 n += 1 + l + sovAuthservice(uint64(l)) 37993 } 37994 l = len(m.PublicKey) 37995 if l > 0 { 37996 n += 1 + l + sovAuthservice(uint64(l)) 37997 } 37998 if m.XXX_unrecognized != nil { 37999 n += len(m.XXX_unrecognized) 38000 } 38001 return n 38002 } 38003 38004 func (m *PingRequest) Size() (n int) { 38005 if m == nil { 38006 return 0 38007 } 38008 var l int 38009 _ = l 38010 if m.XXX_unrecognized != nil { 38011 n += len(m.XXX_unrecognized) 38012 } 38013 return n 38014 } 38015 38016 func (m *PingResponse) Size() (n int) { 38017 if m == nil { 38018 return 0 38019 } 38020 var l int 38021 _ = l 38022 l = len(m.ClusterName) 38023 if l > 0 { 38024 n += 1 + l + sovAuthservice(uint64(l)) 38025 } 38026 l = len(m.ServerVersion) 38027 if l > 0 { 38028 n += 1 + l + sovAuthservice(uint64(l)) 38029 } 38030 if m.ServerFeatures != nil { 38031 l = m.ServerFeatures.Size() 38032 n += 1 + l + sovAuthservice(uint64(l)) 38033 } 38034 l = len(m.ProxyPublicAddr) 38035 if l > 0 { 38036 n += 1 + l + sovAuthservice(uint64(l)) 38037 } 38038 if m.IsBoring { 38039 n += 2 38040 } 38041 l = len(m.RemoteAddr) 38042 if l > 0 { 38043 n += 1 + l + sovAuthservice(uint64(l)) 38044 } 38045 if m.LoadAllCAs { 38046 n += 2 38047 } 38048 if m.XXX_unrecognized != nil { 38049 n += len(m.XXX_unrecognized) 38050 } 38051 return n 38052 } 38053 38054 func (m *Features) Size() (n int) { 38055 if m == nil { 38056 return 0 38057 } 38058 var l int 38059 _ = l 38060 if m.Kubernetes { 38061 n += 2 38062 } 38063 if m.App { 38064 n += 2 38065 } 38066 if m.DB { 38067 n += 2 38068 } 38069 if m.OIDC { 38070 n += 2 38071 } 38072 if m.SAML { 38073 n += 2 38074 } 38075 if m.AccessControls { 38076 n += 2 38077 } 38078 if m.AdvancedAccessWorkflows { 38079 n += 2 38080 } 38081 if m.Cloud { 38082 n += 2 38083 } 38084 if m.HSM { 38085 n += 2 38086 } 38087 if m.Desktop { 38088 n += 2 38089 } 38090 if m.RecoveryCodes { 38091 n += 2 38092 } 38093 if m.Plugins { 38094 n += 2 38095 } 38096 if m.AutomaticUpgrades { 38097 n += 3 38098 } 38099 if m.IsUsageBased { 38100 n += 3 38101 } 38102 if m.Assist { 38103 n += 3 38104 } 38105 if m.DeviceTrust != nil { 38106 l = m.DeviceTrust.Size() 38107 n += 2 + l + sovAuthservice(uint64(l)) 38108 } 38109 if m.FeatureHiding { 38110 n += 3 38111 } 38112 if m.AccessRequests != nil { 38113 l = m.AccessRequests.Size() 38114 n += 2 + l + sovAuthservice(uint64(l)) 38115 } 38116 l = len(m.CustomTheme) 38117 if l > 0 { 38118 n += 2 + l + sovAuthservice(uint64(l)) 38119 } 38120 if m.IdentityGovernance { 38121 n += 3 38122 } 38123 if m.AccessGraph { 38124 n += 3 38125 } 38126 if m.AccessList != nil { 38127 l = m.AccessList.Size() 38128 n += 2 + l + sovAuthservice(uint64(l)) 38129 } 38130 if m.AccessMonitoring != nil { 38131 l = m.AccessMonitoring.Size() 38132 n += 2 + l + sovAuthservice(uint64(l)) 38133 } 38134 if m.ProductType != 0 { 38135 n += 2 + sovAuthservice(uint64(m.ProductType)) 38136 } 38137 if m.Policy != nil { 38138 l = m.Policy.Size() 38139 n += 2 + l + sovAuthservice(uint64(l)) 38140 } 38141 if m.Questionnaire { 38142 n += 3 38143 } 38144 if m.IsStripeManaged { 38145 n += 3 38146 } 38147 if m.ExternalAuditStorage { 38148 n += 3 38149 } 38150 if m.SupportType != 0 { 38151 n += 2 + sovAuthservice(uint64(m.SupportType)) 38152 } 38153 if m.JoinActiveSessions { 38154 n += 3 38155 } 38156 if m.MobileDeviceManagement { 38157 n += 3 38158 } 38159 if m.XXX_unrecognized != nil { 38160 n += len(m.XXX_unrecognized) 38161 } 38162 return n 38163 } 38164 38165 func (m *DeviceTrustFeature) Size() (n int) { 38166 if m == nil { 38167 return 0 38168 } 38169 var l int 38170 _ = l 38171 if m.Enabled { 38172 n += 2 38173 } 38174 if m.DevicesUsageLimit != 0 { 38175 n += 1 + sovAuthservice(uint64(m.DevicesUsageLimit)) 38176 } 38177 if m.XXX_unrecognized != nil { 38178 n += len(m.XXX_unrecognized) 38179 } 38180 return n 38181 } 38182 38183 func (m *AccessRequestsFeature) Size() (n int) { 38184 if m == nil { 38185 return 0 38186 } 38187 var l int 38188 _ = l 38189 if m.MonthlyRequestLimit != 0 { 38190 n += 1 + sovAuthservice(uint64(m.MonthlyRequestLimit)) 38191 } 38192 if m.XXX_unrecognized != nil { 38193 n += len(m.XXX_unrecognized) 38194 } 38195 return n 38196 } 38197 38198 func (m *AccessListFeature) Size() (n int) { 38199 if m == nil { 38200 return 0 38201 } 38202 var l int 38203 _ = l 38204 if m.CreateLimit != 0 { 38205 n += 1 + sovAuthservice(uint64(m.CreateLimit)) 38206 } 38207 if m.XXX_unrecognized != nil { 38208 n += len(m.XXX_unrecognized) 38209 } 38210 return n 38211 } 38212 38213 func (m *AccessMonitoringFeature) Size() (n int) { 38214 if m == nil { 38215 return 0 38216 } 38217 var l int 38218 _ = l 38219 if m.Enabled { 38220 n += 2 38221 } 38222 if m.MaxReportRangeLimit != 0 { 38223 n += 1 + sovAuthservice(uint64(m.MaxReportRangeLimit)) 38224 } 38225 if m.XXX_unrecognized != nil { 38226 n += len(m.XXX_unrecognized) 38227 } 38228 return n 38229 } 38230 38231 func (m *PolicyFeature) Size() (n int) { 38232 if m == nil { 38233 return 0 38234 } 38235 var l int 38236 _ = l 38237 if m.Enabled { 38238 n += 2 38239 } 38240 if m.XXX_unrecognized != nil { 38241 n += len(m.XXX_unrecognized) 38242 } 38243 return n 38244 } 38245 38246 func (m *DeleteUserRequest) Size() (n int) { 38247 if m == nil { 38248 return 0 38249 } 38250 var l int 38251 _ = l 38252 l = len(m.Name) 38253 if l > 0 { 38254 n += 1 + l + sovAuthservice(uint64(l)) 38255 } 38256 if m.XXX_unrecognized != nil { 38257 n += len(m.XXX_unrecognized) 38258 } 38259 return n 38260 } 38261 38262 func (m *Semaphores) Size() (n int) { 38263 if m == nil { 38264 return 0 38265 } 38266 var l int 38267 _ = l 38268 if len(m.Semaphores) > 0 { 38269 for _, e := range m.Semaphores { 38270 l = e.Size() 38271 n += 1 + l + sovAuthservice(uint64(l)) 38272 } 38273 } 38274 if m.XXX_unrecognized != nil { 38275 n += len(m.XXX_unrecognized) 38276 } 38277 return n 38278 } 38279 38280 func (m *AuditStreamRequest) Size() (n int) { 38281 if m == nil { 38282 return 0 38283 } 38284 var l int 38285 _ = l 38286 if m.Request != nil { 38287 n += m.Request.Size() 38288 } 38289 if m.XXX_unrecognized != nil { 38290 n += len(m.XXX_unrecognized) 38291 } 38292 return n 38293 } 38294 38295 func (m *AuditStreamRequest_CreateStream) Size() (n int) { 38296 if m == nil { 38297 return 0 38298 } 38299 var l int 38300 _ = l 38301 if m.CreateStream != nil { 38302 l = m.CreateStream.Size() 38303 n += 1 + l + sovAuthservice(uint64(l)) 38304 } 38305 return n 38306 } 38307 func (m *AuditStreamRequest_ResumeStream) Size() (n int) { 38308 if m == nil { 38309 return 0 38310 } 38311 var l int 38312 _ = l 38313 if m.ResumeStream != nil { 38314 l = m.ResumeStream.Size() 38315 n += 1 + l + sovAuthservice(uint64(l)) 38316 } 38317 return n 38318 } 38319 func (m *AuditStreamRequest_CompleteStream) Size() (n int) { 38320 if m == nil { 38321 return 0 38322 } 38323 var l int 38324 _ = l 38325 if m.CompleteStream != nil { 38326 l = m.CompleteStream.Size() 38327 n += 1 + l + sovAuthservice(uint64(l)) 38328 } 38329 return n 38330 } 38331 func (m *AuditStreamRequest_FlushAndCloseStream) Size() (n int) { 38332 if m == nil { 38333 return 0 38334 } 38335 var l int 38336 _ = l 38337 if m.FlushAndCloseStream != nil { 38338 l = m.FlushAndCloseStream.Size() 38339 n += 1 + l + sovAuthservice(uint64(l)) 38340 } 38341 return n 38342 } 38343 func (m *AuditStreamRequest_Event) Size() (n int) { 38344 if m == nil { 38345 return 0 38346 } 38347 var l int 38348 _ = l 38349 if m.Event != nil { 38350 l = m.Event.Size() 38351 n += 1 + l + sovAuthservice(uint64(l)) 38352 } 38353 return n 38354 } 38355 func (m *AuditStreamStatus) Size() (n int) { 38356 if m == nil { 38357 return 0 38358 } 38359 var l int 38360 _ = l 38361 l = len(m.UploadID) 38362 if l > 0 { 38363 n += 1 + l + sovAuthservice(uint64(l)) 38364 } 38365 if m.XXX_unrecognized != nil { 38366 n += len(m.XXX_unrecognized) 38367 } 38368 return n 38369 } 38370 38371 func (m *CreateStream) Size() (n int) { 38372 if m == nil { 38373 return 0 38374 } 38375 var l int 38376 _ = l 38377 l = len(m.SessionID) 38378 if l > 0 { 38379 n += 1 + l + sovAuthservice(uint64(l)) 38380 } 38381 if m.XXX_unrecognized != nil { 38382 n += len(m.XXX_unrecognized) 38383 } 38384 return n 38385 } 38386 38387 func (m *ResumeStream) Size() (n int) { 38388 if m == nil { 38389 return 0 38390 } 38391 var l int 38392 _ = l 38393 l = len(m.SessionID) 38394 if l > 0 { 38395 n += 1 + l + sovAuthservice(uint64(l)) 38396 } 38397 l = len(m.UploadID) 38398 if l > 0 { 38399 n += 1 + l + sovAuthservice(uint64(l)) 38400 } 38401 if m.XXX_unrecognized != nil { 38402 n += len(m.XXX_unrecognized) 38403 } 38404 return n 38405 } 38406 38407 func (m *CompleteStream) Size() (n int) { 38408 if m == nil { 38409 return 0 38410 } 38411 var l int 38412 _ = l 38413 if m.XXX_unrecognized != nil { 38414 n += len(m.XXX_unrecognized) 38415 } 38416 return n 38417 } 38418 38419 func (m *FlushAndCloseStream) Size() (n int) { 38420 if m == nil { 38421 return 0 38422 } 38423 var l int 38424 _ = l 38425 if m.XXX_unrecognized != nil { 38426 n += len(m.XXX_unrecognized) 38427 } 38428 return n 38429 } 38430 38431 func (m *UpsertApplicationServerRequest) Size() (n int) { 38432 if m == nil { 38433 return 0 38434 } 38435 var l int 38436 _ = l 38437 if m.Server != nil { 38438 l = m.Server.Size() 38439 n += 1 + l + sovAuthservice(uint64(l)) 38440 } 38441 if m.XXX_unrecognized != nil { 38442 n += len(m.XXX_unrecognized) 38443 } 38444 return n 38445 } 38446 38447 func (m *DeleteApplicationServerRequest) Size() (n int) { 38448 if m == nil { 38449 return 0 38450 } 38451 var l int 38452 _ = l 38453 l = len(m.Namespace) 38454 if l > 0 { 38455 n += 1 + l + sovAuthservice(uint64(l)) 38456 } 38457 l = len(m.HostID) 38458 if l > 0 { 38459 n += 1 + l + sovAuthservice(uint64(l)) 38460 } 38461 l = len(m.Name) 38462 if l > 0 { 38463 n += 1 + l + sovAuthservice(uint64(l)) 38464 } 38465 if m.XXX_unrecognized != nil { 38466 n += len(m.XXX_unrecognized) 38467 } 38468 return n 38469 } 38470 38471 func (m *DeleteAllApplicationServersRequest) Size() (n int) { 38472 if m == nil { 38473 return 0 38474 } 38475 var l int 38476 _ = l 38477 l = len(m.Namespace) 38478 if l > 0 { 38479 n += 1 + l + sovAuthservice(uint64(l)) 38480 } 38481 if m.XXX_unrecognized != nil { 38482 n += len(m.XXX_unrecognized) 38483 } 38484 return n 38485 } 38486 38487 func (m *GenerateAppTokenRequest) Size() (n int) { 38488 if m == nil { 38489 return 0 38490 } 38491 var l int 38492 _ = l 38493 l = len(m.Username) 38494 if l > 0 { 38495 n += 1 + l + sovAuthservice(uint64(l)) 38496 } 38497 if len(m.Roles) > 0 { 38498 for _, s := range m.Roles { 38499 l = len(s) 38500 n += 1 + l + sovAuthservice(uint64(l)) 38501 } 38502 } 38503 l = len(m.URI) 38504 if l > 0 { 38505 n += 1 + l + sovAuthservice(uint64(l)) 38506 } 38507 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Expires) 38508 n += 1 + l + sovAuthservice(uint64(l)) 38509 if len(m.Traits) > 0 { 38510 for k, v := range m.Traits { 38511 _ = k 38512 _ = v 38513 l = 0 38514 if v != nil { 38515 l = v.Size() 38516 l += 1 + sovAuthservice(uint64(l)) 38517 } 38518 mapEntrySize := 1 + len(k) + sovAuthservice(uint64(len(k))) + l 38519 n += mapEntrySize + 1 + sovAuthservice(uint64(mapEntrySize)) 38520 } 38521 } 38522 if m.XXX_unrecognized != nil { 38523 n += len(m.XXX_unrecognized) 38524 } 38525 return n 38526 } 38527 38528 func (m *GenerateAppTokenResponse) Size() (n int) { 38529 if m == nil { 38530 return 0 38531 } 38532 var l int 38533 _ = l 38534 l = len(m.Token) 38535 if l > 0 { 38536 n += 1 + l + sovAuthservice(uint64(l)) 38537 } 38538 if m.XXX_unrecognized != nil { 38539 n += len(m.XXX_unrecognized) 38540 } 38541 return n 38542 } 38543 38544 func (m *GetAppSessionRequest) Size() (n int) { 38545 if m == nil { 38546 return 0 38547 } 38548 var l int 38549 _ = l 38550 l = len(m.SessionID) 38551 if l > 0 { 38552 n += 1 + l + sovAuthservice(uint64(l)) 38553 } 38554 if m.XXX_unrecognized != nil { 38555 n += len(m.XXX_unrecognized) 38556 } 38557 return n 38558 } 38559 38560 func (m *GetAppSessionResponse) Size() (n int) { 38561 if m == nil { 38562 return 0 38563 } 38564 var l int 38565 _ = l 38566 if m.Session != nil { 38567 l = m.Session.Size() 38568 n += 1 + l + sovAuthservice(uint64(l)) 38569 } 38570 if m.XXX_unrecognized != nil { 38571 n += len(m.XXX_unrecognized) 38572 } 38573 return n 38574 } 38575 38576 func (m *ListAppSessionsRequest) Size() (n int) { 38577 if m == nil { 38578 return 0 38579 } 38580 var l int 38581 _ = l 38582 if m.PageSize != 0 { 38583 n += 1 + sovAuthservice(uint64(m.PageSize)) 38584 } 38585 l = len(m.PageToken) 38586 if l > 0 { 38587 n += 1 + l + sovAuthservice(uint64(l)) 38588 } 38589 l = len(m.User) 38590 if l > 0 { 38591 n += 1 + l + sovAuthservice(uint64(l)) 38592 } 38593 if m.XXX_unrecognized != nil { 38594 n += len(m.XXX_unrecognized) 38595 } 38596 return n 38597 } 38598 38599 func (m *ListAppSessionsResponse) Size() (n int) { 38600 if m == nil { 38601 return 0 38602 } 38603 var l int 38604 _ = l 38605 if len(m.Sessions) > 0 { 38606 for _, e := range m.Sessions { 38607 l = e.Size() 38608 n += 1 + l + sovAuthservice(uint64(l)) 38609 } 38610 } 38611 l = len(m.NextPageToken) 38612 if l > 0 { 38613 n += 1 + l + sovAuthservice(uint64(l)) 38614 } 38615 if m.XXX_unrecognized != nil { 38616 n += len(m.XXX_unrecognized) 38617 } 38618 return n 38619 } 38620 38621 func (m *GetSnowflakeSessionsResponse) Size() (n int) { 38622 if m == nil { 38623 return 0 38624 } 38625 var l int 38626 _ = l 38627 if len(m.Sessions) > 0 { 38628 for _, e := range m.Sessions { 38629 l = e.Size() 38630 n += 1 + l + sovAuthservice(uint64(l)) 38631 } 38632 } 38633 if m.XXX_unrecognized != nil { 38634 n += len(m.XXX_unrecognized) 38635 } 38636 return n 38637 } 38638 38639 func (m *ListSAMLIdPSessionsRequest) Size() (n int) { 38640 if m == nil { 38641 return 0 38642 } 38643 var l int 38644 _ = l 38645 if m.PageSize != 0 { 38646 n += 1 + sovAuthservice(uint64(m.PageSize)) 38647 } 38648 l = len(m.PageToken) 38649 if l > 0 { 38650 n += 1 + l + sovAuthservice(uint64(l)) 38651 } 38652 l = len(m.User) 38653 if l > 0 { 38654 n += 1 + l + sovAuthservice(uint64(l)) 38655 } 38656 if m.XXX_unrecognized != nil { 38657 n += len(m.XXX_unrecognized) 38658 } 38659 return n 38660 } 38661 38662 func (m *ListSAMLIdPSessionsResponse) Size() (n int) { 38663 if m == nil { 38664 return 0 38665 } 38666 var l int 38667 _ = l 38668 if len(m.Sessions) > 0 { 38669 for _, e := range m.Sessions { 38670 l = e.Size() 38671 n += 1 + l + sovAuthservice(uint64(l)) 38672 } 38673 } 38674 l = len(m.NextPageToken) 38675 if l > 0 { 38676 n += 1 + l + sovAuthservice(uint64(l)) 38677 } 38678 if m.XXX_unrecognized != nil { 38679 n += len(m.XXX_unrecognized) 38680 } 38681 return n 38682 } 38683 38684 func (m *CreateAppSessionRequest) Size() (n int) { 38685 if m == nil { 38686 return 0 38687 } 38688 var l int 38689 _ = l 38690 l = len(m.Username) 38691 if l > 0 { 38692 n += 1 + l + sovAuthservice(uint64(l)) 38693 } 38694 l = len(m.PublicAddr) 38695 if l > 0 { 38696 n += 1 + l + sovAuthservice(uint64(l)) 38697 } 38698 l = len(m.ClusterName) 38699 if l > 0 { 38700 n += 1 + l + sovAuthservice(uint64(l)) 38701 } 38702 l = len(m.AWSRoleARN) 38703 if l > 0 { 38704 n += 1 + l + sovAuthservice(uint64(l)) 38705 } 38706 l = len(m.AzureIdentity) 38707 if l > 0 { 38708 n += 1 + l + sovAuthservice(uint64(l)) 38709 } 38710 l = len(m.GCPServiceAccount) 38711 if l > 0 { 38712 n += 1 + l + sovAuthservice(uint64(l)) 38713 } 38714 if m.MFAResponse != nil { 38715 l = m.MFAResponse.Size() 38716 n += 1 + l + sovAuthservice(uint64(l)) 38717 } 38718 if m.XXX_unrecognized != nil { 38719 n += len(m.XXX_unrecognized) 38720 } 38721 return n 38722 } 38723 38724 func (m *CreateAppSessionResponse) Size() (n int) { 38725 if m == nil { 38726 return 0 38727 } 38728 var l int 38729 _ = l 38730 if m.Session != nil { 38731 l = m.Session.Size() 38732 n += 1 + l + sovAuthservice(uint64(l)) 38733 } 38734 if m.XXX_unrecognized != nil { 38735 n += len(m.XXX_unrecognized) 38736 } 38737 return n 38738 } 38739 38740 func (m *CreateSnowflakeSessionRequest) Size() (n int) { 38741 if m == nil { 38742 return 0 38743 } 38744 var l int 38745 _ = l 38746 l = len(m.Username) 38747 if l > 0 { 38748 n += 1 + l + sovAuthservice(uint64(l)) 38749 } 38750 l = len(m.SessionToken) 38751 if l > 0 { 38752 n += 1 + l + sovAuthservice(uint64(l)) 38753 } 38754 if m.TokenTTL != 0 { 38755 n += 1 + sovAuthservice(uint64(m.TokenTTL)) 38756 } 38757 if m.XXX_unrecognized != nil { 38758 n += len(m.XXX_unrecognized) 38759 } 38760 return n 38761 } 38762 38763 func (m *CreateSnowflakeSessionResponse) Size() (n int) { 38764 if m == nil { 38765 return 0 38766 } 38767 var l int 38768 _ = l 38769 if m.Session != nil { 38770 l = m.Session.Size() 38771 n += 1 + l + sovAuthservice(uint64(l)) 38772 } 38773 if m.XXX_unrecognized != nil { 38774 n += len(m.XXX_unrecognized) 38775 } 38776 return n 38777 } 38778 38779 func (m *CreateSAMLIdPSessionRequest) Size() (n int) { 38780 if m == nil { 38781 return 0 38782 } 38783 var l int 38784 _ = l 38785 l = len(m.SessionID) 38786 if l > 0 { 38787 n += 1 + l + sovAuthservice(uint64(l)) 38788 } 38789 l = len(m.Username) 38790 if l > 0 { 38791 n += 1 + l + sovAuthservice(uint64(l)) 38792 } 38793 if m.SAMLSession != nil { 38794 l = m.SAMLSession.Size() 38795 n += 1 + l + sovAuthservice(uint64(l)) 38796 } 38797 if m.XXX_unrecognized != nil { 38798 n += len(m.XXX_unrecognized) 38799 } 38800 return n 38801 } 38802 38803 func (m *CreateSAMLIdPSessionResponse) Size() (n int) { 38804 if m == nil { 38805 return 0 38806 } 38807 var l int 38808 _ = l 38809 if m.Session != nil { 38810 l = m.Session.Size() 38811 n += 1 + l + sovAuthservice(uint64(l)) 38812 } 38813 if m.XXX_unrecognized != nil { 38814 n += len(m.XXX_unrecognized) 38815 } 38816 return n 38817 } 38818 38819 func (m *GetSnowflakeSessionRequest) Size() (n int) { 38820 if m == nil { 38821 return 0 38822 } 38823 var l int 38824 _ = l 38825 l = len(m.SessionID) 38826 if l > 0 { 38827 n += 1 + l + sovAuthservice(uint64(l)) 38828 } 38829 if m.XXX_unrecognized != nil { 38830 n += len(m.XXX_unrecognized) 38831 } 38832 return n 38833 } 38834 38835 func (m *GetSnowflakeSessionResponse) Size() (n int) { 38836 if m == nil { 38837 return 0 38838 } 38839 var l int 38840 _ = l 38841 if m.Session != nil { 38842 l = m.Session.Size() 38843 n += 1 + l + sovAuthservice(uint64(l)) 38844 } 38845 if m.XXX_unrecognized != nil { 38846 n += len(m.XXX_unrecognized) 38847 } 38848 return n 38849 } 38850 38851 func (m *GetSAMLIdPSessionRequest) Size() (n int) { 38852 if m == nil { 38853 return 0 38854 } 38855 var l int 38856 _ = l 38857 l = len(m.SessionID) 38858 if l > 0 { 38859 n += 1 + l + sovAuthservice(uint64(l)) 38860 } 38861 if m.XXX_unrecognized != nil { 38862 n += len(m.XXX_unrecognized) 38863 } 38864 return n 38865 } 38866 38867 func (m *GetSAMLIdPSessionResponse) Size() (n int) { 38868 if m == nil { 38869 return 0 38870 } 38871 var l int 38872 _ = l 38873 if m.Session != nil { 38874 l = m.Session.Size() 38875 n += 1 + l + sovAuthservice(uint64(l)) 38876 } 38877 if m.XXX_unrecognized != nil { 38878 n += len(m.XXX_unrecognized) 38879 } 38880 return n 38881 } 38882 38883 func (m *DeleteAppSessionRequest) Size() (n int) { 38884 if m == nil { 38885 return 0 38886 } 38887 var l int 38888 _ = l 38889 l = len(m.SessionID) 38890 if l > 0 { 38891 n += 1 + l + sovAuthservice(uint64(l)) 38892 } 38893 if m.XXX_unrecognized != nil { 38894 n += len(m.XXX_unrecognized) 38895 } 38896 return n 38897 } 38898 38899 func (m *DeleteSnowflakeSessionRequest) Size() (n int) { 38900 if m == nil { 38901 return 0 38902 } 38903 var l int 38904 _ = l 38905 l = len(m.SessionID) 38906 if l > 0 { 38907 n += 1 + l + sovAuthservice(uint64(l)) 38908 } 38909 if m.XXX_unrecognized != nil { 38910 n += len(m.XXX_unrecognized) 38911 } 38912 return n 38913 } 38914 38915 func (m *DeleteSAMLIdPSessionRequest) Size() (n int) { 38916 if m == nil { 38917 return 0 38918 } 38919 var l int 38920 _ = l 38921 l = len(m.SessionID) 38922 if l > 0 { 38923 n += 1 + l + sovAuthservice(uint64(l)) 38924 } 38925 if m.XXX_unrecognized != nil { 38926 n += len(m.XXX_unrecognized) 38927 } 38928 return n 38929 } 38930 38931 func (m *DeleteUserAppSessionsRequest) Size() (n int) { 38932 if m == nil { 38933 return 0 38934 } 38935 var l int 38936 _ = l 38937 l = len(m.Username) 38938 if l > 0 { 38939 n += 1 + l + sovAuthservice(uint64(l)) 38940 } 38941 if m.XXX_unrecognized != nil { 38942 n += len(m.XXX_unrecognized) 38943 } 38944 return n 38945 } 38946 38947 func (m *DeleteUserSAMLIdPSessionsRequest) Size() (n int) { 38948 if m == nil { 38949 return 0 38950 } 38951 var l int 38952 _ = l 38953 l = len(m.Username) 38954 if l > 0 { 38955 n += 1 + l + sovAuthservice(uint64(l)) 38956 } 38957 if m.XXX_unrecognized != nil { 38958 n += len(m.XXX_unrecognized) 38959 } 38960 return n 38961 } 38962 38963 func (m *GetWebSessionResponse) Size() (n int) { 38964 if m == nil { 38965 return 0 38966 } 38967 var l int 38968 _ = l 38969 if m.Session != nil { 38970 l = m.Session.Size() 38971 n += 1 + l + sovAuthservice(uint64(l)) 38972 } 38973 if m.XXX_unrecognized != nil { 38974 n += len(m.XXX_unrecognized) 38975 } 38976 return n 38977 } 38978 38979 func (m *GetWebSessionsResponse) Size() (n int) { 38980 if m == nil { 38981 return 0 38982 } 38983 var l int 38984 _ = l 38985 if len(m.Sessions) > 0 { 38986 for _, e := range m.Sessions { 38987 l = e.Size() 38988 n += 1 + l + sovAuthservice(uint64(l)) 38989 } 38990 } 38991 if m.XXX_unrecognized != nil { 38992 n += len(m.XXX_unrecognized) 38993 } 38994 return n 38995 } 38996 38997 func (m *GetWebTokenResponse) Size() (n int) { 38998 if m == nil { 38999 return 0 39000 } 39001 var l int 39002 _ = l 39003 if m.Token != nil { 39004 l = m.Token.Size() 39005 n += 1 + l + sovAuthservice(uint64(l)) 39006 } 39007 if m.XXX_unrecognized != nil { 39008 n += len(m.XXX_unrecognized) 39009 } 39010 return n 39011 } 39012 39013 func (m *GetWebTokensResponse) Size() (n int) { 39014 if m == nil { 39015 return 0 39016 } 39017 var l int 39018 _ = l 39019 if len(m.Tokens) > 0 { 39020 for _, e := range m.Tokens { 39021 l = e.Size() 39022 n += 1 + l + sovAuthservice(uint64(l)) 39023 } 39024 } 39025 if m.XXX_unrecognized != nil { 39026 n += len(m.XXX_unrecognized) 39027 } 39028 return n 39029 } 39030 39031 func (m *UpsertKubernetesServerRequest) Size() (n int) { 39032 if m == nil { 39033 return 0 39034 } 39035 var l int 39036 _ = l 39037 if m.Server != nil { 39038 l = m.Server.Size() 39039 n += 1 + l + sovAuthservice(uint64(l)) 39040 } 39041 if m.XXX_unrecognized != nil { 39042 n += len(m.XXX_unrecognized) 39043 } 39044 return n 39045 } 39046 39047 func (m *DeleteKubernetesServerRequest) Size() (n int) { 39048 if m == nil { 39049 return 0 39050 } 39051 var l int 39052 _ = l 39053 l = len(m.HostID) 39054 if l > 0 { 39055 n += 1 + l + sovAuthservice(uint64(l)) 39056 } 39057 l = len(m.Name) 39058 if l > 0 { 39059 n += 1 + l + sovAuthservice(uint64(l)) 39060 } 39061 if m.XXX_unrecognized != nil { 39062 n += len(m.XXX_unrecognized) 39063 } 39064 return n 39065 } 39066 39067 func (m *DeleteAllKubernetesServersRequest) Size() (n int) { 39068 if m == nil { 39069 return 0 39070 } 39071 var l int 39072 _ = l 39073 if m.XXX_unrecognized != nil { 39074 n += len(m.XXX_unrecognized) 39075 } 39076 return n 39077 } 39078 39079 func (m *UpsertDatabaseServerRequest) Size() (n int) { 39080 if m == nil { 39081 return 0 39082 } 39083 var l int 39084 _ = l 39085 if m.Server != nil { 39086 l = m.Server.Size() 39087 n += 1 + l + sovAuthservice(uint64(l)) 39088 } 39089 if m.XXX_unrecognized != nil { 39090 n += len(m.XXX_unrecognized) 39091 } 39092 return n 39093 } 39094 39095 func (m *DeleteDatabaseServerRequest) Size() (n int) { 39096 if m == nil { 39097 return 0 39098 } 39099 var l int 39100 _ = l 39101 l = len(m.Namespace) 39102 if l > 0 { 39103 n += 1 + l + sovAuthservice(uint64(l)) 39104 } 39105 l = len(m.HostID) 39106 if l > 0 { 39107 n += 1 + l + sovAuthservice(uint64(l)) 39108 } 39109 l = len(m.Name) 39110 if l > 0 { 39111 n += 1 + l + sovAuthservice(uint64(l)) 39112 } 39113 if m.XXX_unrecognized != nil { 39114 n += len(m.XXX_unrecognized) 39115 } 39116 return n 39117 } 39118 39119 func (m *DeleteAllDatabaseServersRequest) Size() (n int) { 39120 if m == nil { 39121 return 0 39122 } 39123 var l int 39124 _ = l 39125 l = len(m.Namespace) 39126 if l > 0 { 39127 n += 1 + l + sovAuthservice(uint64(l)) 39128 } 39129 if m.XXX_unrecognized != nil { 39130 n += len(m.XXX_unrecognized) 39131 } 39132 return n 39133 } 39134 39135 func (m *DatabaseServiceV1List) Size() (n int) { 39136 if m == nil { 39137 return 0 39138 } 39139 var l int 39140 _ = l 39141 if len(m.Services) > 0 { 39142 for _, e := range m.Services { 39143 l = e.Size() 39144 n += 1 + l + sovAuthservice(uint64(l)) 39145 } 39146 } 39147 if m.XXX_unrecognized != nil { 39148 n += len(m.XXX_unrecognized) 39149 } 39150 return n 39151 } 39152 39153 func (m *UpsertDatabaseServiceRequest) Size() (n int) { 39154 if m == nil { 39155 return 0 39156 } 39157 var l int 39158 _ = l 39159 if m.Service != nil { 39160 l = m.Service.Size() 39161 n += 1 + l + sovAuthservice(uint64(l)) 39162 } 39163 if m.XXX_unrecognized != nil { 39164 n += len(m.XXX_unrecognized) 39165 } 39166 return n 39167 } 39168 39169 func (m *DeleteAllDatabaseServicesRequest) Size() (n int) { 39170 if m == nil { 39171 return 0 39172 } 39173 var l int 39174 _ = l 39175 if m.XXX_unrecognized != nil { 39176 n += len(m.XXX_unrecognized) 39177 } 39178 return n 39179 } 39180 39181 func (m *DatabaseCSRRequest) Size() (n int) { 39182 if m == nil { 39183 return 0 39184 } 39185 var l int 39186 _ = l 39187 l = len(m.CSR) 39188 if l > 0 { 39189 n += 1 + l + sovAuthservice(uint64(l)) 39190 } 39191 l = len(m.ClusterName) 39192 if l > 0 { 39193 n += 1 + l + sovAuthservice(uint64(l)) 39194 } 39195 if m.XXX_unrecognized != nil { 39196 n += len(m.XXX_unrecognized) 39197 } 39198 return n 39199 } 39200 39201 func (m *DatabaseCSRResponse) Size() (n int) { 39202 if m == nil { 39203 return 0 39204 } 39205 var l int 39206 _ = l 39207 l = len(m.Cert) 39208 if l > 0 { 39209 n += 1 + l + sovAuthservice(uint64(l)) 39210 } 39211 if len(m.CACerts) > 0 { 39212 for _, b := range m.CACerts { 39213 l = len(b) 39214 n += 1 + l + sovAuthservice(uint64(l)) 39215 } 39216 } 39217 if m.XXX_unrecognized != nil { 39218 n += len(m.XXX_unrecognized) 39219 } 39220 return n 39221 } 39222 39223 func (m *DatabaseCertRequest) Size() (n int) { 39224 if m == nil { 39225 return 0 39226 } 39227 var l int 39228 _ = l 39229 l = len(m.CSR) 39230 if l > 0 { 39231 n += 1 + l + sovAuthservice(uint64(l)) 39232 } 39233 l = len(m.ServerName) 39234 if l > 0 { 39235 n += 1 + l + sovAuthservice(uint64(l)) 39236 } 39237 if m.TTL != 0 { 39238 n += 1 + sovAuthservice(uint64(m.TTL)) 39239 } 39240 if len(m.ServerNames) > 0 { 39241 for _, s := range m.ServerNames { 39242 l = len(s) 39243 n += 1 + l + sovAuthservice(uint64(l)) 39244 } 39245 } 39246 if m.RequesterName != 0 { 39247 n += 1 + sovAuthservice(uint64(m.RequesterName)) 39248 } 39249 if m.CertificateExtensions != 0 { 39250 n += 1 + sovAuthservice(uint64(m.CertificateExtensions)) 39251 } 39252 l = len(m.CRLEndpoint) 39253 if l > 0 { 39254 n += 1 + l + sovAuthservice(uint64(l)) 39255 } 39256 if m.XXX_unrecognized != nil { 39257 n += len(m.XXX_unrecognized) 39258 } 39259 return n 39260 } 39261 39262 func (m *DatabaseCertResponse) Size() (n int) { 39263 if m == nil { 39264 return 0 39265 } 39266 var l int 39267 _ = l 39268 l = len(m.Cert) 39269 if l > 0 { 39270 n += 1 + l + sovAuthservice(uint64(l)) 39271 } 39272 if len(m.CACerts) > 0 { 39273 for _, b := range m.CACerts { 39274 l = len(b) 39275 n += 1 + l + sovAuthservice(uint64(l)) 39276 } 39277 } 39278 if m.XXX_unrecognized != nil { 39279 n += len(m.XXX_unrecognized) 39280 } 39281 return n 39282 } 39283 39284 func (m *SnowflakeJWTRequest) Size() (n int) { 39285 if m == nil { 39286 return 0 39287 } 39288 var l int 39289 _ = l 39290 l = len(m.AccountName) 39291 if l > 0 { 39292 n += 1 + l + sovAuthservice(uint64(l)) 39293 } 39294 l = len(m.UserName) 39295 if l > 0 { 39296 n += 1 + l + sovAuthservice(uint64(l)) 39297 } 39298 if m.XXX_unrecognized != nil { 39299 n += len(m.XXX_unrecognized) 39300 } 39301 return n 39302 } 39303 39304 func (m *SnowflakeJWTResponse) Size() (n int) { 39305 if m == nil { 39306 return 0 39307 } 39308 var l int 39309 _ = l 39310 l = len(m.Token) 39311 if l > 0 { 39312 n += 1 + l + sovAuthservice(uint64(l)) 39313 } 39314 if m.XXX_unrecognized != nil { 39315 n += len(m.XXX_unrecognized) 39316 } 39317 return n 39318 } 39319 39320 func (m *GetRoleRequest) Size() (n int) { 39321 if m == nil { 39322 return 0 39323 } 39324 var l int 39325 _ = l 39326 l = len(m.Name) 39327 if l > 0 { 39328 n += 1 + l + sovAuthservice(uint64(l)) 39329 } 39330 if m.XXX_unrecognized != nil { 39331 n += len(m.XXX_unrecognized) 39332 } 39333 return n 39334 } 39335 39336 func (m *GetRolesResponse) Size() (n int) { 39337 if m == nil { 39338 return 0 39339 } 39340 var l int 39341 _ = l 39342 if len(m.Roles) > 0 { 39343 for _, e := range m.Roles { 39344 l = e.Size() 39345 n += 1 + l + sovAuthservice(uint64(l)) 39346 } 39347 } 39348 if m.XXX_unrecognized != nil { 39349 n += len(m.XXX_unrecognized) 39350 } 39351 return n 39352 } 39353 39354 func (m *ListRolesRequest) Size() (n int) { 39355 if m == nil { 39356 return 0 39357 } 39358 var l int 39359 _ = l 39360 if m.Limit != 0 { 39361 n += 1 + sovAuthservice(uint64(m.Limit)) 39362 } 39363 l = len(m.StartKey) 39364 if l > 0 { 39365 n += 1 + l + sovAuthservice(uint64(l)) 39366 } 39367 if m.Filter != nil { 39368 l = m.Filter.Size() 39369 n += 1 + l + sovAuthservice(uint64(l)) 39370 } 39371 if m.XXX_unrecognized != nil { 39372 n += len(m.XXX_unrecognized) 39373 } 39374 return n 39375 } 39376 39377 func (m *ListRolesResponse) Size() (n int) { 39378 if m == nil { 39379 return 0 39380 } 39381 var l int 39382 _ = l 39383 if len(m.Roles) > 0 { 39384 for _, e := range m.Roles { 39385 l = e.Size() 39386 n += 1 + l + sovAuthservice(uint64(l)) 39387 } 39388 } 39389 l = len(m.NextKey) 39390 if l > 0 { 39391 n += 1 + l + sovAuthservice(uint64(l)) 39392 } 39393 if m.XXX_unrecognized != nil { 39394 n += len(m.XXX_unrecognized) 39395 } 39396 return n 39397 } 39398 39399 func (m *CreateRoleRequest) Size() (n int) { 39400 if m == nil { 39401 return 0 39402 } 39403 var l int 39404 _ = l 39405 if m.Role != nil { 39406 l = m.Role.Size() 39407 n += 1 + l + sovAuthservice(uint64(l)) 39408 } 39409 if m.XXX_unrecognized != nil { 39410 n += len(m.XXX_unrecognized) 39411 } 39412 return n 39413 } 39414 39415 func (m *UpdateRoleRequest) Size() (n int) { 39416 if m == nil { 39417 return 0 39418 } 39419 var l int 39420 _ = l 39421 if m.Role != nil { 39422 l = m.Role.Size() 39423 n += 1 + l + sovAuthservice(uint64(l)) 39424 } 39425 if m.XXX_unrecognized != nil { 39426 n += len(m.XXX_unrecognized) 39427 } 39428 return n 39429 } 39430 39431 func (m *UpsertRoleRequest) Size() (n int) { 39432 if m == nil { 39433 return 0 39434 } 39435 var l int 39436 _ = l 39437 if m.Role != nil { 39438 l = m.Role.Size() 39439 n += 1 + l + sovAuthservice(uint64(l)) 39440 } 39441 if m.XXX_unrecognized != nil { 39442 n += len(m.XXX_unrecognized) 39443 } 39444 return n 39445 } 39446 39447 func (m *DeleteRoleRequest) Size() (n int) { 39448 if m == nil { 39449 return 0 39450 } 39451 var l int 39452 _ = l 39453 l = len(m.Name) 39454 if l > 0 { 39455 n += 1 + l + sovAuthservice(uint64(l)) 39456 } 39457 if m.XXX_unrecognized != nil { 39458 n += len(m.XXX_unrecognized) 39459 } 39460 return n 39461 } 39462 39463 func (m *MFAAuthenticateChallenge) Size() (n int) { 39464 if m == nil { 39465 return 0 39466 } 39467 var l int 39468 _ = l 39469 if m.TOTP != nil { 39470 l = m.TOTP.Size() 39471 n += 1 + l + sovAuthservice(uint64(l)) 39472 } 39473 if m.WebauthnChallenge != nil { 39474 l = m.WebauthnChallenge.Size() 39475 n += 1 + l + sovAuthservice(uint64(l)) 39476 } 39477 if m.MFARequired != 0 { 39478 n += 1 + sovAuthservice(uint64(m.MFARequired)) 39479 } 39480 if m.XXX_unrecognized != nil { 39481 n += len(m.XXX_unrecognized) 39482 } 39483 return n 39484 } 39485 39486 func (m *MFAAuthenticateResponse) Size() (n int) { 39487 if m == nil { 39488 return 0 39489 } 39490 var l int 39491 _ = l 39492 if m.Response != nil { 39493 n += m.Response.Size() 39494 } 39495 if m.XXX_unrecognized != nil { 39496 n += len(m.XXX_unrecognized) 39497 } 39498 return n 39499 } 39500 39501 func (m *MFAAuthenticateResponse_TOTP) Size() (n int) { 39502 if m == nil { 39503 return 0 39504 } 39505 var l int 39506 _ = l 39507 if m.TOTP != nil { 39508 l = m.TOTP.Size() 39509 n += 1 + l + sovAuthservice(uint64(l)) 39510 } 39511 return n 39512 } 39513 func (m *MFAAuthenticateResponse_Webauthn) Size() (n int) { 39514 if m == nil { 39515 return 0 39516 } 39517 var l int 39518 _ = l 39519 if m.Webauthn != nil { 39520 l = m.Webauthn.Size() 39521 n += 1 + l + sovAuthservice(uint64(l)) 39522 } 39523 return n 39524 } 39525 func (m *TOTPChallenge) Size() (n int) { 39526 if m == nil { 39527 return 0 39528 } 39529 var l int 39530 _ = l 39531 if m.XXX_unrecognized != nil { 39532 n += len(m.XXX_unrecognized) 39533 } 39534 return n 39535 } 39536 39537 func (m *TOTPResponse) Size() (n int) { 39538 if m == nil { 39539 return 0 39540 } 39541 var l int 39542 _ = l 39543 l = len(m.Code) 39544 if l > 0 { 39545 n += 1 + l + sovAuthservice(uint64(l)) 39546 } 39547 if m.XXX_unrecognized != nil { 39548 n += len(m.XXX_unrecognized) 39549 } 39550 return n 39551 } 39552 39553 func (m *MFARegisterChallenge) Size() (n int) { 39554 if m == nil { 39555 return 0 39556 } 39557 var l int 39558 _ = l 39559 if m.Request != nil { 39560 n += m.Request.Size() 39561 } 39562 if m.XXX_unrecognized != nil { 39563 n += len(m.XXX_unrecognized) 39564 } 39565 return n 39566 } 39567 39568 func (m *MFARegisterChallenge_TOTP) Size() (n int) { 39569 if m == nil { 39570 return 0 39571 } 39572 var l int 39573 _ = l 39574 if m.TOTP != nil { 39575 l = m.TOTP.Size() 39576 n += 1 + l + sovAuthservice(uint64(l)) 39577 } 39578 return n 39579 } 39580 func (m *MFARegisterChallenge_Webauthn) Size() (n int) { 39581 if m == nil { 39582 return 0 39583 } 39584 var l int 39585 _ = l 39586 if m.Webauthn != nil { 39587 l = m.Webauthn.Size() 39588 n += 1 + l + sovAuthservice(uint64(l)) 39589 } 39590 return n 39591 } 39592 func (m *MFARegisterResponse) Size() (n int) { 39593 if m == nil { 39594 return 0 39595 } 39596 var l int 39597 _ = l 39598 if m.Response != nil { 39599 n += m.Response.Size() 39600 } 39601 if m.XXX_unrecognized != nil { 39602 n += len(m.XXX_unrecognized) 39603 } 39604 return n 39605 } 39606 39607 func (m *MFARegisterResponse_TOTP) Size() (n int) { 39608 if m == nil { 39609 return 0 39610 } 39611 var l int 39612 _ = l 39613 if m.TOTP != nil { 39614 l = m.TOTP.Size() 39615 n += 1 + l + sovAuthservice(uint64(l)) 39616 } 39617 return n 39618 } 39619 func (m *MFARegisterResponse_Webauthn) Size() (n int) { 39620 if m == nil { 39621 return 0 39622 } 39623 var l int 39624 _ = l 39625 if m.Webauthn != nil { 39626 l = m.Webauthn.Size() 39627 n += 1 + l + sovAuthservice(uint64(l)) 39628 } 39629 return n 39630 } 39631 func (m *TOTPRegisterChallenge) Size() (n int) { 39632 if m == nil { 39633 return 0 39634 } 39635 var l int 39636 _ = l 39637 l = len(m.Secret) 39638 if l > 0 { 39639 n += 1 + l + sovAuthservice(uint64(l)) 39640 } 39641 l = len(m.Issuer) 39642 if l > 0 { 39643 n += 1 + l + sovAuthservice(uint64(l)) 39644 } 39645 if m.PeriodSeconds != 0 { 39646 n += 1 + sovAuthservice(uint64(m.PeriodSeconds)) 39647 } 39648 l = len(m.Algorithm) 39649 if l > 0 { 39650 n += 1 + l + sovAuthservice(uint64(l)) 39651 } 39652 if m.Digits != 0 { 39653 n += 1 + sovAuthservice(uint64(m.Digits)) 39654 } 39655 l = len(m.Account) 39656 if l > 0 { 39657 n += 1 + l + sovAuthservice(uint64(l)) 39658 } 39659 l = len(m.QRCode) 39660 if l > 0 { 39661 n += 1 + l + sovAuthservice(uint64(l)) 39662 } 39663 l = len(m.ID) 39664 if l > 0 { 39665 n += 1 + l + sovAuthservice(uint64(l)) 39666 } 39667 if m.XXX_unrecognized != nil { 39668 n += len(m.XXX_unrecognized) 39669 } 39670 return n 39671 } 39672 39673 func (m *TOTPRegisterResponse) Size() (n int) { 39674 if m == nil { 39675 return 0 39676 } 39677 var l int 39678 _ = l 39679 l = len(m.Code) 39680 if l > 0 { 39681 n += 1 + l + sovAuthservice(uint64(l)) 39682 } 39683 l = len(m.ID) 39684 if l > 0 { 39685 n += 1 + l + sovAuthservice(uint64(l)) 39686 } 39687 if m.XXX_unrecognized != nil { 39688 n += len(m.XXX_unrecognized) 39689 } 39690 return n 39691 } 39692 39693 func (m *AddMFADeviceRequest) Size() (n int) { 39694 if m == nil { 39695 return 0 39696 } 39697 var l int 39698 _ = l 39699 if m.XXX_unrecognized != nil { 39700 n += len(m.XXX_unrecognized) 39701 } 39702 return n 39703 } 39704 39705 func (m *AddMFADeviceResponse) Size() (n int) { 39706 if m == nil { 39707 return 0 39708 } 39709 var l int 39710 _ = l 39711 if m.XXX_unrecognized != nil { 39712 n += len(m.XXX_unrecognized) 39713 } 39714 return n 39715 } 39716 39717 func (m *DeleteMFADeviceRequest) Size() (n int) { 39718 if m == nil { 39719 return 0 39720 } 39721 var l int 39722 _ = l 39723 if m.XXX_unrecognized != nil { 39724 n += len(m.XXX_unrecognized) 39725 } 39726 return n 39727 } 39728 39729 func (m *DeleteMFADeviceResponse) Size() (n int) { 39730 if m == nil { 39731 return 0 39732 } 39733 var l int 39734 _ = l 39735 if m.XXX_unrecognized != nil { 39736 n += len(m.XXX_unrecognized) 39737 } 39738 return n 39739 } 39740 39741 func (m *DeleteMFADeviceSyncRequest) Size() (n int) { 39742 if m == nil { 39743 return 0 39744 } 39745 var l int 39746 _ = l 39747 l = len(m.TokenID) 39748 if l > 0 { 39749 n += 1 + l + sovAuthservice(uint64(l)) 39750 } 39751 l = len(m.DeviceName) 39752 if l > 0 { 39753 n += 1 + l + sovAuthservice(uint64(l)) 39754 } 39755 if m.ExistingMFAResponse != nil { 39756 l = m.ExistingMFAResponse.Size() 39757 n += 1 + l + sovAuthservice(uint64(l)) 39758 } 39759 if m.XXX_unrecognized != nil { 39760 n += len(m.XXX_unrecognized) 39761 } 39762 return n 39763 } 39764 39765 func (m *AddMFADeviceSyncRequest) Size() (n int) { 39766 if m == nil { 39767 return 0 39768 } 39769 var l int 39770 _ = l 39771 l = len(m.TokenID) 39772 if l > 0 { 39773 n += 1 + l + sovAuthservice(uint64(l)) 39774 } 39775 l = len(m.NewDeviceName) 39776 if l > 0 { 39777 n += 1 + l + sovAuthservice(uint64(l)) 39778 } 39779 if m.NewMFAResponse != nil { 39780 l = m.NewMFAResponse.Size() 39781 n += 1 + l + sovAuthservice(uint64(l)) 39782 } 39783 if m.DeviceUsage != 0 { 39784 n += 1 + sovAuthservice(uint64(m.DeviceUsage)) 39785 } 39786 if m.ContextUser != nil { 39787 l = m.ContextUser.Size() 39788 n += 1 + l + sovAuthservice(uint64(l)) 39789 } 39790 if m.XXX_unrecognized != nil { 39791 n += len(m.XXX_unrecognized) 39792 } 39793 return n 39794 } 39795 39796 func (m *AddMFADeviceSyncResponse) Size() (n int) { 39797 if m == nil { 39798 return 0 39799 } 39800 var l int 39801 _ = l 39802 if m.Device != nil { 39803 l = m.Device.Size() 39804 n += 1 + l + sovAuthservice(uint64(l)) 39805 } 39806 if m.XXX_unrecognized != nil { 39807 n += len(m.XXX_unrecognized) 39808 } 39809 return n 39810 } 39811 39812 func (m *GetMFADevicesRequest) Size() (n int) { 39813 if m == nil { 39814 return 0 39815 } 39816 var l int 39817 _ = l 39818 l = len(m.TokenID) 39819 if l > 0 { 39820 n += 1 + l + sovAuthservice(uint64(l)) 39821 } 39822 if m.XXX_unrecognized != nil { 39823 n += len(m.XXX_unrecognized) 39824 } 39825 return n 39826 } 39827 39828 func (m *GetMFADevicesResponse) Size() (n int) { 39829 if m == nil { 39830 return 0 39831 } 39832 var l int 39833 _ = l 39834 if len(m.Devices) > 0 { 39835 for _, e := range m.Devices { 39836 l = e.Size() 39837 n += 1 + l + sovAuthservice(uint64(l)) 39838 } 39839 } 39840 if m.XXX_unrecognized != nil { 39841 n += len(m.XXX_unrecognized) 39842 } 39843 return n 39844 } 39845 39846 func (m *UserSingleUseCertsRequest) Size() (n int) { 39847 if m == nil { 39848 return 0 39849 } 39850 var l int 39851 _ = l 39852 if m.XXX_unrecognized != nil { 39853 n += len(m.XXX_unrecognized) 39854 } 39855 return n 39856 } 39857 39858 func (m *UserSingleUseCertsResponse) Size() (n int) { 39859 if m == nil { 39860 return 0 39861 } 39862 var l int 39863 _ = l 39864 if m.XXX_unrecognized != nil { 39865 n += len(m.XXX_unrecognized) 39866 } 39867 return n 39868 } 39869 39870 func (m *IsMFARequiredRequest) Size() (n int) { 39871 if m == nil { 39872 return 0 39873 } 39874 var l int 39875 _ = l 39876 if m.Target != nil { 39877 n += m.Target.Size() 39878 } 39879 if m.XXX_unrecognized != nil { 39880 n += len(m.XXX_unrecognized) 39881 } 39882 return n 39883 } 39884 39885 func (m *IsMFARequiredRequest_KubernetesCluster) Size() (n int) { 39886 if m == nil { 39887 return 0 39888 } 39889 var l int 39890 _ = l 39891 l = len(m.KubernetesCluster) 39892 n += 1 + l + sovAuthservice(uint64(l)) 39893 return n 39894 } 39895 func (m *IsMFARequiredRequest_Database) Size() (n int) { 39896 if m == nil { 39897 return 0 39898 } 39899 var l int 39900 _ = l 39901 if m.Database != nil { 39902 l = m.Database.Size() 39903 n += 1 + l + sovAuthservice(uint64(l)) 39904 } 39905 return n 39906 } 39907 func (m *IsMFARequiredRequest_Node) Size() (n int) { 39908 if m == nil { 39909 return 0 39910 } 39911 var l int 39912 _ = l 39913 if m.Node != nil { 39914 l = m.Node.Size() 39915 n += 1 + l + sovAuthservice(uint64(l)) 39916 } 39917 return n 39918 } 39919 func (m *IsMFARequiredRequest_WindowsDesktop) Size() (n int) { 39920 if m == nil { 39921 return 0 39922 } 39923 var l int 39924 _ = l 39925 if m.WindowsDesktop != nil { 39926 l = m.WindowsDesktop.Size() 39927 n += 1 + l + sovAuthservice(uint64(l)) 39928 } 39929 return n 39930 } 39931 func (m *IsMFARequiredRequest_AdminAction) Size() (n int) { 39932 if m == nil { 39933 return 0 39934 } 39935 var l int 39936 _ = l 39937 if m.AdminAction != nil { 39938 l = m.AdminAction.Size() 39939 n += 1 + l + sovAuthservice(uint64(l)) 39940 } 39941 return n 39942 } 39943 func (m *IsMFARequiredRequest_App) Size() (n int) { 39944 if m == nil { 39945 return 0 39946 } 39947 var l int 39948 _ = l 39949 if m.App != nil { 39950 l = m.App.Size() 39951 n += 1 + l + sovAuthservice(uint64(l)) 39952 } 39953 return n 39954 } 39955 func (m *StreamSessionEventsRequest) Size() (n int) { 39956 if m == nil { 39957 return 0 39958 } 39959 var l int 39960 _ = l 39961 l = len(m.SessionID) 39962 if l > 0 { 39963 n += 1 + l + sovAuthservice(uint64(l)) 39964 } 39965 if m.StartIndex != 0 { 39966 n += 1 + sovAuthservice(uint64(m.StartIndex)) 39967 } 39968 if m.XXX_unrecognized != nil { 39969 n += len(m.XXX_unrecognized) 39970 } 39971 return n 39972 } 39973 39974 func (m *NodeLogin) Size() (n int) { 39975 if m == nil { 39976 return 0 39977 } 39978 var l int 39979 _ = l 39980 l = len(m.Node) 39981 if l > 0 { 39982 n += 1 + l + sovAuthservice(uint64(l)) 39983 } 39984 l = len(m.Login) 39985 if l > 0 { 39986 n += 1 + l + sovAuthservice(uint64(l)) 39987 } 39988 if m.XXX_unrecognized != nil { 39989 n += len(m.XXX_unrecognized) 39990 } 39991 return n 39992 } 39993 39994 func (m *AdminAction) Size() (n int) { 39995 if m == nil { 39996 return 0 39997 } 39998 var l int 39999 _ = l 40000 if m.XXX_unrecognized != nil { 40001 n += len(m.XXX_unrecognized) 40002 } 40003 return n 40004 } 40005 40006 func (m *IsMFARequiredResponse) Size() (n int) { 40007 if m == nil { 40008 return 0 40009 } 40010 var l int 40011 _ = l 40012 if m.Required { 40013 n += 2 40014 } 40015 if m.MFARequired != 0 { 40016 n += 1 + sovAuthservice(uint64(m.MFARequired)) 40017 } 40018 if m.XXX_unrecognized != nil { 40019 n += len(m.XXX_unrecognized) 40020 } 40021 return n 40022 } 40023 40024 func (m *GetEventsRequest) Size() (n int) { 40025 if m == nil { 40026 return 0 40027 } 40028 var l int 40029 _ = l 40030 l = len(m.Namespace) 40031 if l > 0 { 40032 n += 1 + l + sovAuthservice(uint64(l)) 40033 } 40034 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.StartDate) 40035 n += 1 + l + sovAuthservice(uint64(l)) 40036 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.EndDate) 40037 n += 1 + l + sovAuthservice(uint64(l)) 40038 if len(m.EventTypes) > 0 { 40039 for _, s := range m.EventTypes { 40040 l = len(s) 40041 n += 1 + l + sovAuthservice(uint64(l)) 40042 } 40043 } 40044 if m.Limit != 0 { 40045 n += 1 + sovAuthservice(uint64(m.Limit)) 40046 } 40047 l = len(m.StartKey) 40048 if l > 0 { 40049 n += 1 + l + sovAuthservice(uint64(l)) 40050 } 40051 if m.Order != 0 { 40052 n += 1 + sovAuthservice(uint64(m.Order)) 40053 } 40054 if m.XXX_unrecognized != nil { 40055 n += len(m.XXX_unrecognized) 40056 } 40057 return n 40058 } 40059 40060 func (m *GetSessionEventsRequest) Size() (n int) { 40061 if m == nil { 40062 return 0 40063 } 40064 var l int 40065 _ = l 40066 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.StartDate) 40067 n += 1 + l + sovAuthservice(uint64(l)) 40068 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.EndDate) 40069 n += 1 + l + sovAuthservice(uint64(l)) 40070 if m.Limit != 0 { 40071 n += 1 + sovAuthservice(uint64(m.Limit)) 40072 } 40073 l = len(m.StartKey) 40074 if l > 0 { 40075 n += 1 + l + sovAuthservice(uint64(l)) 40076 } 40077 if m.Order != 0 { 40078 n += 1 + sovAuthservice(uint64(m.Order)) 40079 } 40080 if m.XXX_unrecognized != nil { 40081 n += len(m.XXX_unrecognized) 40082 } 40083 return n 40084 } 40085 40086 func (m *Events) Size() (n int) { 40087 if m == nil { 40088 return 0 40089 } 40090 var l int 40091 _ = l 40092 if len(m.Items) > 0 { 40093 for _, e := range m.Items { 40094 l = e.Size() 40095 n += 1 + l + sovAuthservice(uint64(l)) 40096 } 40097 } 40098 l = len(m.LastKey) 40099 if l > 0 { 40100 n += 1 + l + sovAuthservice(uint64(l)) 40101 } 40102 if m.XXX_unrecognized != nil { 40103 n += len(m.XXX_unrecognized) 40104 } 40105 return n 40106 } 40107 40108 func (m *GetLocksRequest) Size() (n int) { 40109 if m == nil { 40110 return 0 40111 } 40112 var l int 40113 _ = l 40114 if len(m.Targets) > 0 { 40115 for _, e := range m.Targets { 40116 l = e.Size() 40117 n += 1 + l + sovAuthservice(uint64(l)) 40118 } 40119 } 40120 if m.InForceOnly { 40121 n += 2 40122 } 40123 if m.XXX_unrecognized != nil { 40124 n += len(m.XXX_unrecognized) 40125 } 40126 return n 40127 } 40128 40129 func (m *GetLocksResponse) Size() (n int) { 40130 if m == nil { 40131 return 0 40132 } 40133 var l int 40134 _ = l 40135 if len(m.Locks) > 0 { 40136 for _, e := range m.Locks { 40137 l = e.Size() 40138 n += 1 + l + sovAuthservice(uint64(l)) 40139 } 40140 } 40141 if m.XXX_unrecognized != nil { 40142 n += len(m.XXX_unrecognized) 40143 } 40144 return n 40145 } 40146 40147 func (m *GetLockRequest) Size() (n int) { 40148 if m == nil { 40149 return 0 40150 } 40151 var l int 40152 _ = l 40153 l = len(m.Name) 40154 if l > 0 { 40155 n += 1 + l + sovAuthservice(uint64(l)) 40156 } 40157 if m.XXX_unrecognized != nil { 40158 n += len(m.XXX_unrecognized) 40159 } 40160 return n 40161 } 40162 40163 func (m *DeleteLockRequest) Size() (n int) { 40164 if m == nil { 40165 return 0 40166 } 40167 var l int 40168 _ = l 40169 l = len(m.Name) 40170 if l > 0 { 40171 n += 1 + l + sovAuthservice(uint64(l)) 40172 } 40173 if m.XXX_unrecognized != nil { 40174 n += len(m.XXX_unrecognized) 40175 } 40176 return n 40177 } 40178 40179 func (m *ReplaceRemoteLocksRequest) Size() (n int) { 40180 if m == nil { 40181 return 0 40182 } 40183 var l int 40184 _ = l 40185 l = len(m.ClusterName) 40186 if l > 0 { 40187 n += 1 + l + sovAuthservice(uint64(l)) 40188 } 40189 if len(m.Locks) > 0 { 40190 for _, e := range m.Locks { 40191 l = e.Size() 40192 n += 1 + l + sovAuthservice(uint64(l)) 40193 } 40194 } 40195 if m.XXX_unrecognized != nil { 40196 n += len(m.XXX_unrecognized) 40197 } 40198 return n 40199 } 40200 40201 func (m *GetWindowsDesktopServicesResponse) Size() (n int) { 40202 if m == nil { 40203 return 0 40204 } 40205 var l int 40206 _ = l 40207 if len(m.Services) > 0 { 40208 for _, e := range m.Services { 40209 l = e.Size() 40210 n += 1 + l + sovAuthservice(uint64(l)) 40211 } 40212 } 40213 if m.XXX_unrecognized != nil { 40214 n += len(m.XXX_unrecognized) 40215 } 40216 return n 40217 } 40218 40219 func (m *GetWindowsDesktopServiceRequest) Size() (n int) { 40220 if m == nil { 40221 return 0 40222 } 40223 var l int 40224 _ = l 40225 l = len(m.Name) 40226 if l > 0 { 40227 n += 1 + l + sovAuthservice(uint64(l)) 40228 } 40229 if m.XXX_unrecognized != nil { 40230 n += len(m.XXX_unrecognized) 40231 } 40232 return n 40233 } 40234 40235 func (m *GetWindowsDesktopServiceResponse) Size() (n int) { 40236 if m == nil { 40237 return 0 40238 } 40239 var l int 40240 _ = l 40241 if m.Service != nil { 40242 l = m.Service.Size() 40243 n += 1 + l + sovAuthservice(uint64(l)) 40244 } 40245 if m.XXX_unrecognized != nil { 40246 n += len(m.XXX_unrecognized) 40247 } 40248 return n 40249 } 40250 40251 func (m *DeleteWindowsDesktopServiceRequest) Size() (n int) { 40252 if m == nil { 40253 return 0 40254 } 40255 var l int 40256 _ = l 40257 l = len(m.Name) 40258 if l > 0 { 40259 n += 1 + l + sovAuthservice(uint64(l)) 40260 } 40261 if m.XXX_unrecognized != nil { 40262 n += len(m.XXX_unrecognized) 40263 } 40264 return n 40265 } 40266 40267 func (m *GetWindowsDesktopsResponse) Size() (n int) { 40268 if m == nil { 40269 return 0 40270 } 40271 var l int 40272 _ = l 40273 if len(m.Desktops) > 0 { 40274 for _, e := range m.Desktops { 40275 l = e.Size() 40276 n += 1 + l + sovAuthservice(uint64(l)) 40277 } 40278 } 40279 if m.XXX_unrecognized != nil { 40280 n += len(m.XXX_unrecognized) 40281 } 40282 return n 40283 } 40284 40285 func (m *DeleteWindowsDesktopRequest) Size() (n int) { 40286 if m == nil { 40287 return 0 40288 } 40289 var l int 40290 _ = l 40291 l = len(m.Name) 40292 if l > 0 { 40293 n += 1 + l + sovAuthservice(uint64(l)) 40294 } 40295 l = len(m.HostID) 40296 if l > 0 { 40297 n += 1 + l + sovAuthservice(uint64(l)) 40298 } 40299 if m.XXX_unrecognized != nil { 40300 n += len(m.XXX_unrecognized) 40301 } 40302 return n 40303 } 40304 40305 func (m *WindowsDesktopCertRequest) Size() (n int) { 40306 if m == nil { 40307 return 0 40308 } 40309 var l int 40310 _ = l 40311 l = len(m.CSR) 40312 if l > 0 { 40313 n += 1 + l + sovAuthservice(uint64(l)) 40314 } 40315 l = len(m.CRLEndpoint) 40316 if l > 0 { 40317 n += 1 + l + sovAuthservice(uint64(l)) 40318 } 40319 if m.TTL != 0 { 40320 n += 1 + sovAuthservice(uint64(m.TTL)) 40321 } 40322 if m.XXX_unrecognized != nil { 40323 n += len(m.XXX_unrecognized) 40324 } 40325 return n 40326 } 40327 40328 func (m *WindowsDesktopCertResponse) Size() (n int) { 40329 if m == nil { 40330 return 0 40331 } 40332 var l int 40333 _ = l 40334 l = len(m.Cert) 40335 if l > 0 { 40336 n += 1 + l + sovAuthservice(uint64(l)) 40337 } 40338 if m.XXX_unrecognized != nil { 40339 n += len(m.XXX_unrecognized) 40340 } 40341 return n 40342 } 40343 40344 func (m *ListSAMLIdPServiceProvidersRequest) Size() (n int) { 40345 if m == nil { 40346 return 0 40347 } 40348 var l int 40349 _ = l 40350 if m.Limit != 0 { 40351 n += 1 + sovAuthservice(uint64(m.Limit)) 40352 } 40353 l = len(m.NextKey) 40354 if l > 0 { 40355 n += 1 + l + sovAuthservice(uint64(l)) 40356 } 40357 if m.XXX_unrecognized != nil { 40358 n += len(m.XXX_unrecognized) 40359 } 40360 return n 40361 } 40362 40363 func (m *ListSAMLIdPServiceProvidersResponse) Size() (n int) { 40364 if m == nil { 40365 return 0 40366 } 40367 var l int 40368 _ = l 40369 if len(m.ServiceProviders) > 0 { 40370 for _, e := range m.ServiceProviders { 40371 l = e.Size() 40372 n += 1 + l + sovAuthservice(uint64(l)) 40373 } 40374 } 40375 l = len(m.NextKey) 40376 if l > 0 { 40377 n += 1 + l + sovAuthservice(uint64(l)) 40378 } 40379 if m.TotalCount != 0 { 40380 n += 1 + sovAuthservice(uint64(m.TotalCount)) 40381 } 40382 if m.XXX_unrecognized != nil { 40383 n += len(m.XXX_unrecognized) 40384 } 40385 return n 40386 } 40387 40388 func (m *GetSAMLIdPServiceProviderRequest) Size() (n int) { 40389 if m == nil { 40390 return 0 40391 } 40392 var l int 40393 _ = l 40394 l = len(m.Name) 40395 if l > 0 { 40396 n += 1 + l + sovAuthservice(uint64(l)) 40397 } 40398 if m.XXX_unrecognized != nil { 40399 n += len(m.XXX_unrecognized) 40400 } 40401 return n 40402 } 40403 40404 func (m *DeleteSAMLIdPServiceProviderRequest) Size() (n int) { 40405 if m == nil { 40406 return 0 40407 } 40408 var l int 40409 _ = l 40410 l = len(m.Name) 40411 if l > 0 { 40412 n += 1 + l + sovAuthservice(uint64(l)) 40413 } 40414 if m.XXX_unrecognized != nil { 40415 n += len(m.XXX_unrecognized) 40416 } 40417 return n 40418 } 40419 40420 func (m *ListUserGroupsRequest) Size() (n int) { 40421 if m == nil { 40422 return 0 40423 } 40424 var l int 40425 _ = l 40426 if m.Limit != 0 { 40427 n += 1 + sovAuthservice(uint64(m.Limit)) 40428 } 40429 l = len(m.NextKey) 40430 if l > 0 { 40431 n += 1 + l + sovAuthservice(uint64(l)) 40432 } 40433 if m.XXX_unrecognized != nil { 40434 n += len(m.XXX_unrecognized) 40435 } 40436 return n 40437 } 40438 40439 func (m *ListUserGroupsResponse) Size() (n int) { 40440 if m == nil { 40441 return 0 40442 } 40443 var l int 40444 _ = l 40445 if len(m.UserGroups) > 0 { 40446 for _, e := range m.UserGroups { 40447 l = e.Size() 40448 n += 1 + l + sovAuthservice(uint64(l)) 40449 } 40450 } 40451 l = len(m.NextKey) 40452 if l > 0 { 40453 n += 1 + l + sovAuthservice(uint64(l)) 40454 } 40455 if m.TotalCount != 0 { 40456 n += 1 + sovAuthservice(uint64(m.TotalCount)) 40457 } 40458 if m.XXX_unrecognized != nil { 40459 n += len(m.XXX_unrecognized) 40460 } 40461 return n 40462 } 40463 40464 func (m *GetUserGroupRequest) Size() (n int) { 40465 if m == nil { 40466 return 0 40467 } 40468 var l int 40469 _ = l 40470 l = len(m.Name) 40471 if l > 0 { 40472 n += 1 + l + sovAuthservice(uint64(l)) 40473 } 40474 if m.XXX_unrecognized != nil { 40475 n += len(m.XXX_unrecognized) 40476 } 40477 return n 40478 } 40479 40480 func (m *DeleteUserGroupRequest) Size() (n int) { 40481 if m == nil { 40482 return 0 40483 } 40484 var l int 40485 _ = l 40486 l = len(m.Name) 40487 if l > 0 { 40488 n += 1 + l + sovAuthservice(uint64(l)) 40489 } 40490 if m.XXX_unrecognized != nil { 40491 n += len(m.XXX_unrecognized) 40492 } 40493 return n 40494 } 40495 40496 func (m *CertAuthorityRequest) Size() (n int) { 40497 if m == nil { 40498 return 0 40499 } 40500 var l int 40501 _ = l 40502 l = len(m.Type) 40503 if l > 0 { 40504 n += 1 + l + sovAuthservice(uint64(l)) 40505 } 40506 if m.XXX_unrecognized != nil { 40507 n += len(m.XXX_unrecognized) 40508 } 40509 return n 40510 } 40511 40512 func (m *CRL) Size() (n int) { 40513 if m == nil { 40514 return 0 40515 } 40516 var l int 40517 _ = l 40518 l = len(m.CRL) 40519 if l > 0 { 40520 n += 1 + l + sovAuthservice(uint64(l)) 40521 } 40522 if m.XXX_unrecognized != nil { 40523 n += len(m.XXX_unrecognized) 40524 } 40525 return n 40526 } 40527 40528 func (m *ChangeUserAuthenticationRequest) Size() (n int) { 40529 if m == nil { 40530 return 0 40531 } 40532 var l int 40533 _ = l 40534 l = len(m.TokenID) 40535 if l > 0 { 40536 n += 1 + l + sovAuthservice(uint64(l)) 40537 } 40538 l = len(m.NewPassword) 40539 if l > 0 { 40540 n += 1 + l + sovAuthservice(uint64(l)) 40541 } 40542 if m.NewMFARegisterResponse != nil { 40543 l = m.NewMFARegisterResponse.Size() 40544 n += 1 + l + sovAuthservice(uint64(l)) 40545 } 40546 l = len(m.NewDeviceName) 40547 if l > 0 { 40548 n += 1 + l + sovAuthservice(uint64(l)) 40549 } 40550 l = len(m.LoginIP) 40551 if l > 0 { 40552 n += 1 + l + sovAuthservice(uint64(l)) 40553 } 40554 if m.XXX_unrecognized != nil { 40555 n += len(m.XXX_unrecognized) 40556 } 40557 return n 40558 } 40559 40560 func (m *ChangeUserAuthenticationResponse) Size() (n int) { 40561 if m == nil { 40562 return 0 40563 } 40564 var l int 40565 _ = l 40566 if m.WebSession != nil { 40567 l = m.WebSession.Size() 40568 n += 1 + l + sovAuthservice(uint64(l)) 40569 } 40570 if m.Recovery != nil { 40571 l = m.Recovery.Size() 40572 n += 1 + l + sovAuthservice(uint64(l)) 40573 } 40574 if m.PrivateKeyPolicyEnabled { 40575 n += 2 40576 } 40577 if m.XXX_unrecognized != nil { 40578 n += len(m.XXX_unrecognized) 40579 } 40580 return n 40581 } 40582 40583 func (m *StartAccountRecoveryRequest) Size() (n int) { 40584 if m == nil { 40585 return 0 40586 } 40587 var l int 40588 _ = l 40589 l = len(m.Username) 40590 if l > 0 { 40591 n += 1 + l + sovAuthservice(uint64(l)) 40592 } 40593 l = len(m.RecoveryCode) 40594 if l > 0 { 40595 n += 1 + l + sovAuthservice(uint64(l)) 40596 } 40597 if m.RecoverType != 0 { 40598 n += 1 + sovAuthservice(uint64(m.RecoverType)) 40599 } 40600 if m.XXX_unrecognized != nil { 40601 n += len(m.XXX_unrecognized) 40602 } 40603 return n 40604 } 40605 40606 func (m *VerifyAccountRecoveryRequest) Size() (n int) { 40607 if m == nil { 40608 return 0 40609 } 40610 var l int 40611 _ = l 40612 l = len(m.RecoveryStartTokenID) 40613 if l > 0 { 40614 n += 1 + l + sovAuthservice(uint64(l)) 40615 } 40616 l = len(m.Username) 40617 if l > 0 { 40618 n += 1 + l + sovAuthservice(uint64(l)) 40619 } 40620 if m.AuthnCred != nil { 40621 n += m.AuthnCred.Size() 40622 } 40623 if m.XXX_unrecognized != nil { 40624 n += len(m.XXX_unrecognized) 40625 } 40626 return n 40627 } 40628 40629 func (m *VerifyAccountRecoveryRequest_Password) Size() (n int) { 40630 if m == nil { 40631 return 0 40632 } 40633 var l int 40634 _ = l 40635 if m.Password != nil { 40636 l = len(m.Password) 40637 n += 1 + l + sovAuthservice(uint64(l)) 40638 } 40639 return n 40640 } 40641 func (m *VerifyAccountRecoveryRequest_MFAAuthenticateResponse) Size() (n int) { 40642 if m == nil { 40643 return 0 40644 } 40645 var l int 40646 _ = l 40647 if m.MFAAuthenticateResponse != nil { 40648 l = m.MFAAuthenticateResponse.Size() 40649 n += 1 + l + sovAuthservice(uint64(l)) 40650 } 40651 return n 40652 } 40653 func (m *CompleteAccountRecoveryRequest) Size() (n int) { 40654 if m == nil { 40655 return 0 40656 } 40657 var l int 40658 _ = l 40659 l = len(m.RecoveryApprovedTokenID) 40660 if l > 0 { 40661 n += 1 + l + sovAuthservice(uint64(l)) 40662 } 40663 l = len(m.NewDeviceName) 40664 if l > 0 { 40665 n += 1 + l + sovAuthservice(uint64(l)) 40666 } 40667 if m.NewAuthnCred != nil { 40668 n += m.NewAuthnCred.Size() 40669 } 40670 if m.XXX_unrecognized != nil { 40671 n += len(m.XXX_unrecognized) 40672 } 40673 return n 40674 } 40675 40676 func (m *CompleteAccountRecoveryRequest_NewPassword) Size() (n int) { 40677 if m == nil { 40678 return 0 40679 } 40680 var l int 40681 _ = l 40682 if m.NewPassword != nil { 40683 l = len(m.NewPassword) 40684 n += 1 + l + sovAuthservice(uint64(l)) 40685 } 40686 return n 40687 } 40688 func (m *CompleteAccountRecoveryRequest_NewMFAResponse) Size() (n int) { 40689 if m == nil { 40690 return 0 40691 } 40692 var l int 40693 _ = l 40694 if m.NewMFAResponse != nil { 40695 l = m.NewMFAResponse.Size() 40696 n += 1 + l + sovAuthservice(uint64(l)) 40697 } 40698 return n 40699 } 40700 func (m *RecoveryCodes) Size() (n int) { 40701 if m == nil { 40702 return 0 40703 } 40704 var l int 40705 _ = l 40706 if len(m.Codes) > 0 { 40707 for _, s := range m.Codes { 40708 l = len(s) 40709 n += 1 + l + sovAuthservice(uint64(l)) 40710 } 40711 } 40712 l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Created) 40713 n += 1 + l + sovAuthservice(uint64(l)) 40714 if m.XXX_unrecognized != nil { 40715 n += len(m.XXX_unrecognized) 40716 } 40717 return n 40718 } 40719 40720 func (m *CreateAccountRecoveryCodesRequest) Size() (n int) { 40721 if m == nil { 40722 return 0 40723 } 40724 var l int 40725 _ = l 40726 l = len(m.TokenID) 40727 if l > 0 { 40728 n += 1 + l + sovAuthservice(uint64(l)) 40729 } 40730 if m.XXX_unrecognized != nil { 40731 n += len(m.XXX_unrecognized) 40732 } 40733 return n 40734 } 40735 40736 func (m *GetAccountRecoveryTokenRequest) Size() (n int) { 40737 if m == nil { 40738 return 0 40739 } 40740 var l int 40741 _ = l 40742 l = len(m.RecoveryTokenID) 40743 if l > 0 { 40744 n += 1 + l + sovAuthservice(uint64(l)) 40745 } 40746 if m.XXX_unrecognized != nil { 40747 n += len(m.XXX_unrecognized) 40748 } 40749 return n 40750 } 40751 40752 func (m *GetAccountRecoveryCodesRequest) Size() (n int) { 40753 if m == nil { 40754 return 0 40755 } 40756 var l int 40757 _ = l 40758 if m.XXX_unrecognized != nil { 40759 n += len(m.XXX_unrecognized) 40760 } 40761 return n 40762 } 40763 40764 func (m *UserCredentials) Size() (n int) { 40765 if m == nil { 40766 return 0 40767 } 40768 var l int 40769 _ = l 40770 l = len(m.Username) 40771 if l > 0 { 40772 n += 1 + l + sovAuthservice(uint64(l)) 40773 } 40774 l = len(m.Password) 40775 if l > 0 { 40776 n += 1 + l + sovAuthservice(uint64(l)) 40777 } 40778 if m.XXX_unrecognized != nil { 40779 n += len(m.XXX_unrecognized) 40780 } 40781 return n 40782 } 40783 40784 func (m *ContextUser) Size() (n int) { 40785 if m == nil { 40786 return 0 40787 } 40788 var l int 40789 _ = l 40790 if m.XXX_unrecognized != nil { 40791 n += len(m.XXX_unrecognized) 40792 } 40793 return n 40794 } 40795 40796 func (m *Passwordless) Size() (n int) { 40797 if m == nil { 40798 return 0 40799 } 40800 var l int 40801 _ = l 40802 if m.XXX_unrecognized != nil { 40803 n += len(m.XXX_unrecognized) 40804 } 40805 return n 40806 } 40807 40808 func (m *CreateAuthenticateChallengeRequest) Size() (n int) { 40809 if m == nil { 40810 return 0 40811 } 40812 var l int 40813 _ = l 40814 if m.Request != nil { 40815 n += m.Request.Size() 40816 } 40817 if m.MFARequiredCheck != nil { 40818 l = m.MFARequiredCheck.Size() 40819 n += 1 + l + sovAuthservice(uint64(l)) 40820 } 40821 if m.ChallengeExtensions != nil { 40822 l = m.ChallengeExtensions.Size() 40823 n += 1 + l + sovAuthservice(uint64(l)) 40824 } 40825 if m.XXX_unrecognized != nil { 40826 n += len(m.XXX_unrecognized) 40827 } 40828 return n 40829 } 40830 40831 func (m *CreateAuthenticateChallengeRequest_UserCredentials) Size() (n int) { 40832 if m == nil { 40833 return 0 40834 } 40835 var l int 40836 _ = l 40837 if m.UserCredentials != nil { 40838 l = m.UserCredentials.Size() 40839 n += 1 + l + sovAuthservice(uint64(l)) 40840 } 40841 return n 40842 } 40843 func (m *CreateAuthenticateChallengeRequest_RecoveryStartTokenID) Size() (n int) { 40844 if m == nil { 40845 return 0 40846 } 40847 var l int 40848 _ = l 40849 l = len(m.RecoveryStartTokenID) 40850 n += 1 + l + sovAuthservice(uint64(l)) 40851 return n 40852 } 40853 func (m *CreateAuthenticateChallengeRequest_ContextUser) Size() (n int) { 40854 if m == nil { 40855 return 0 40856 } 40857 var l int 40858 _ = l 40859 if m.ContextUser != nil { 40860 l = m.ContextUser.Size() 40861 n += 1 + l + sovAuthservice(uint64(l)) 40862 } 40863 return n 40864 } 40865 func (m *CreateAuthenticateChallengeRequest_Passwordless) Size() (n int) { 40866 if m == nil { 40867 return 0 40868 } 40869 var l int 40870 _ = l 40871 if m.Passwordless != nil { 40872 l = m.Passwordless.Size() 40873 n += 1 + l + sovAuthservice(uint64(l)) 40874 } 40875 return n 40876 } 40877 func (m *CreatePrivilegeTokenRequest) Size() (n int) { 40878 if m == nil { 40879 return 0 40880 } 40881 var l int 40882 _ = l 40883 if m.ExistingMFAResponse != nil { 40884 l = m.ExistingMFAResponse.Size() 40885 n += 1 + l + sovAuthservice(uint64(l)) 40886 } 40887 if m.XXX_unrecognized != nil { 40888 n += len(m.XXX_unrecognized) 40889 } 40890 return n 40891 } 40892 40893 func (m *CreateRegisterChallengeRequest) Size() (n int) { 40894 if m == nil { 40895 return 0 40896 } 40897 var l int 40898 _ = l 40899 l = len(m.TokenID) 40900 if l > 0 { 40901 n += 1 + l + sovAuthservice(uint64(l)) 40902 } 40903 if m.DeviceType != 0 { 40904 n += 1 + sovAuthservice(uint64(m.DeviceType)) 40905 } 40906 if m.DeviceUsage != 0 { 40907 n += 1 + sovAuthservice(uint64(m.DeviceUsage)) 40908 } 40909 if m.ExistingMFAResponse != nil { 40910 l = m.ExistingMFAResponse.Size() 40911 n += 1 + l + sovAuthservice(uint64(l)) 40912 } 40913 if m.XXX_unrecognized != nil { 40914 n += len(m.XXX_unrecognized) 40915 } 40916 return n 40917 } 40918 40919 func (m *PaginatedResource) Size() (n int) { 40920 if m == nil { 40921 return 0 40922 } 40923 var l int 40924 _ = l 40925 if m.Resource != nil { 40926 n += m.Resource.Size() 40927 } 40928 if len(m.Logins) > 0 { 40929 for _, s := range m.Logins { 40930 l = len(s) 40931 n += 1 + l + sovAuthservice(uint64(l)) 40932 } 40933 } 40934 if m.RequiresRequest { 40935 n += 2 40936 } 40937 if m.XXX_unrecognized != nil { 40938 n += len(m.XXX_unrecognized) 40939 } 40940 return n 40941 } 40942 40943 func (m *PaginatedResource_DatabaseServer) Size() (n int) { 40944 if m == nil { 40945 return 0 40946 } 40947 var l int 40948 _ = l 40949 if m.DatabaseServer != nil { 40950 l = m.DatabaseServer.Size() 40951 n += 1 + l + sovAuthservice(uint64(l)) 40952 } 40953 return n 40954 } 40955 func (m *PaginatedResource_AppServer) Size() (n int) { 40956 if m == nil { 40957 return 0 40958 } 40959 var l int 40960 _ = l 40961 if m.AppServer != nil { 40962 l = m.AppServer.Size() 40963 n += 1 + l + sovAuthservice(uint64(l)) 40964 } 40965 return n 40966 } 40967 func (m *PaginatedResource_Node) Size() (n int) { 40968 if m == nil { 40969 return 0 40970 } 40971 var l int 40972 _ = l 40973 if m.Node != nil { 40974 l = m.Node.Size() 40975 n += 1 + l + sovAuthservice(uint64(l)) 40976 } 40977 return n 40978 } 40979 func (m *PaginatedResource_WindowsDesktop) Size() (n int) { 40980 if m == nil { 40981 return 0 40982 } 40983 var l int 40984 _ = l 40985 if m.WindowsDesktop != nil { 40986 l = m.WindowsDesktop.Size() 40987 n += 1 + l + sovAuthservice(uint64(l)) 40988 } 40989 return n 40990 } 40991 func (m *PaginatedResource_KubeCluster) Size() (n int) { 40992 if m == nil { 40993 return 0 40994 } 40995 var l int 40996 _ = l 40997 if m.KubeCluster != nil { 40998 l = m.KubeCluster.Size() 40999 n += 1 + l + sovAuthservice(uint64(l)) 41000 } 41001 return n 41002 } 41003 func (m *PaginatedResource_KubernetesServer) Size() (n int) { 41004 if m == nil { 41005 return 0 41006 } 41007 var l int 41008 _ = l 41009 if m.KubernetesServer != nil { 41010 l = m.KubernetesServer.Size() 41011 n += 1 + l + sovAuthservice(uint64(l)) 41012 } 41013 return n 41014 } 41015 func (m *PaginatedResource_WindowsDesktopService) Size() (n int) { 41016 if m == nil { 41017 return 0 41018 } 41019 var l int 41020 _ = l 41021 if m.WindowsDesktopService != nil { 41022 l = m.WindowsDesktopService.Size() 41023 n += 1 + l + sovAuthservice(uint64(l)) 41024 } 41025 return n 41026 } 41027 func (m *PaginatedResource_DatabaseService) Size() (n int) { 41028 if m == nil { 41029 return 0 41030 } 41031 var l int 41032 _ = l 41033 if m.DatabaseService != nil { 41034 l = m.DatabaseService.Size() 41035 n += 1 + l + sovAuthservice(uint64(l)) 41036 } 41037 return n 41038 } 41039 func (m *PaginatedResource_UserGroup) Size() (n int) { 41040 if m == nil { 41041 return 0 41042 } 41043 var l int 41044 _ = l 41045 if m.UserGroup != nil { 41046 l = m.UserGroup.Size() 41047 n += 1 + l + sovAuthservice(uint64(l)) 41048 } 41049 return n 41050 } 41051 func (m *PaginatedResource_AppServerOrSAMLIdPServiceProvider) Size() (n int) { 41052 if m == nil { 41053 return 0 41054 } 41055 var l int 41056 _ = l 41057 if m.AppServerOrSAMLIdPServiceProvider != nil { 41058 l = m.AppServerOrSAMLIdPServiceProvider.Size() 41059 n += 1 + l + sovAuthservice(uint64(l)) 41060 } 41061 return n 41062 } 41063 func (m *PaginatedResource_SAMLIdPServiceProvider) Size() (n int) { 41064 if m == nil { 41065 return 0 41066 } 41067 var l int 41068 _ = l 41069 if m.SAMLIdPServiceProvider != nil { 41070 l = m.SAMLIdPServiceProvider.Size() 41071 n += 1 + l + sovAuthservice(uint64(l)) 41072 } 41073 return n 41074 } 41075 func (m *ListUnifiedResourcesRequest) Size() (n int) { 41076 if m == nil { 41077 return 0 41078 } 41079 var l int 41080 _ = l 41081 if len(m.Kinds) > 0 { 41082 for _, s := range m.Kinds { 41083 l = len(s) 41084 n += 1 + l + sovAuthservice(uint64(l)) 41085 } 41086 } 41087 if m.Limit != 0 { 41088 n += 1 + sovAuthservice(uint64(m.Limit)) 41089 } 41090 l = len(m.StartKey) 41091 if l > 0 { 41092 n += 1 + l + sovAuthservice(uint64(l)) 41093 } 41094 if len(m.Labels) > 0 { 41095 for k, v := range m.Labels { 41096 _ = k 41097 _ = v 41098 mapEntrySize := 1 + len(k) + sovAuthservice(uint64(len(k))) + 1 + len(v) + sovAuthservice(uint64(len(v))) 41099 n += mapEntrySize + 1 + sovAuthservice(uint64(mapEntrySize)) 41100 } 41101 } 41102 l = len(m.PredicateExpression) 41103 if l > 0 { 41104 n += 1 + l + sovAuthservice(uint64(l)) 41105 } 41106 if len(m.SearchKeywords) > 0 { 41107 for _, s := range m.SearchKeywords { 41108 l = len(s) 41109 n += 1 + l + sovAuthservice(uint64(l)) 41110 } 41111 } 41112 l = m.SortBy.Size() 41113 n += 1 + l + sovAuthservice(uint64(l)) 41114 l = m.WindowsDesktopFilter.Size() 41115 n += 1 + l + sovAuthservice(uint64(l)) 41116 if m.UseSearchAsRoles { 41117 n += 2 41118 } 41119 if m.UsePreviewAsRoles { 41120 n += 2 41121 } 41122 if m.PinnedOnly { 41123 n += 2 41124 } 41125 if m.IncludeLogins { 41126 n += 2 41127 } 41128 if m.IncludeRequestable { 41129 n += 2 41130 } 41131 if m.XXX_unrecognized != nil { 41132 n += len(m.XXX_unrecognized) 41133 } 41134 return n 41135 } 41136 41137 func (m *ListUnifiedResourcesResponse) Size() (n int) { 41138 if m == nil { 41139 return 0 41140 } 41141 var l int 41142 _ = l 41143 if len(m.Resources) > 0 { 41144 for _, e := range m.Resources { 41145 l = e.Size() 41146 n += 1 + l + sovAuthservice(uint64(l)) 41147 } 41148 } 41149 l = len(m.NextKey) 41150 if l > 0 { 41151 n += 1 + l + sovAuthservice(uint64(l)) 41152 } 41153 if m.XXX_unrecognized != nil { 41154 n += len(m.XXX_unrecognized) 41155 } 41156 return n 41157 } 41158 41159 func (m *ListResourcesRequest) Size() (n int) { 41160 if m == nil { 41161 return 0 41162 } 41163 var l int 41164 _ = l 41165 l = len(m.ResourceType) 41166 if l > 0 { 41167 n += 1 + l + sovAuthservice(uint64(l)) 41168 } 41169 l = len(m.Namespace) 41170 if l > 0 { 41171 n += 1 + l + sovAuthservice(uint64(l)) 41172 } 41173 if m.Limit != 0 { 41174 n += 1 + sovAuthservice(uint64(m.Limit)) 41175 } 41176 l = len(m.StartKey) 41177 if l > 0 { 41178 n += 1 + l + sovAuthservice(uint64(l)) 41179 } 41180 if len(m.Labels) > 0 { 41181 for k, v := range m.Labels { 41182 _ = k 41183 _ = v 41184 mapEntrySize := 1 + len(k) + sovAuthservice(uint64(len(k))) + 1 + len(v) + sovAuthservice(uint64(len(v))) 41185 n += mapEntrySize + 1 + sovAuthservice(uint64(mapEntrySize)) 41186 } 41187 } 41188 l = len(m.PredicateExpression) 41189 if l > 0 { 41190 n += 1 + l + sovAuthservice(uint64(l)) 41191 } 41192 if len(m.SearchKeywords) > 0 { 41193 for _, s := range m.SearchKeywords { 41194 l = len(s) 41195 n += 1 + l + sovAuthservice(uint64(l)) 41196 } 41197 } 41198 l = m.SortBy.Size() 41199 n += 1 + l + sovAuthservice(uint64(l)) 41200 if m.NeedTotalCount { 41201 n += 2 41202 } 41203 l = m.WindowsDesktopFilter.Size() 41204 n += 1 + l + sovAuthservice(uint64(l)) 41205 if m.UseSearchAsRoles { 41206 n += 2 41207 } 41208 if m.UsePreviewAsRoles { 41209 n += 2 41210 } 41211 if m.IncludeLogins { 41212 n += 2 41213 } 41214 if m.XXX_unrecognized != nil { 41215 n += len(m.XXX_unrecognized) 41216 } 41217 return n 41218 } 41219 41220 func (m *GetSSHTargetsRequest) Size() (n int) { 41221 if m == nil { 41222 return 0 41223 } 41224 var l int 41225 _ = l 41226 l = len(m.Host) 41227 if l > 0 { 41228 n += 1 + l + sovAuthservice(uint64(l)) 41229 } 41230 l = len(m.Port) 41231 if l > 0 { 41232 n += 1 + l + sovAuthservice(uint64(l)) 41233 } 41234 if m.XXX_unrecognized != nil { 41235 n += len(m.XXX_unrecognized) 41236 } 41237 return n 41238 } 41239 41240 func (m *GetSSHTargetsResponse) Size() (n int) { 41241 if m == nil { 41242 return 0 41243 } 41244 var l int 41245 _ = l 41246 if len(m.Servers) > 0 { 41247 for _, e := range m.Servers { 41248 l = e.Size() 41249 n += 1 + l + sovAuthservice(uint64(l)) 41250 } 41251 } 41252 if m.XXX_unrecognized != nil { 41253 n += len(m.XXX_unrecognized) 41254 } 41255 return n 41256 } 41257 41258 func (m *ListResourcesResponse) Size() (n int) { 41259 if m == nil { 41260 return 0 41261 } 41262 var l int 41263 _ = l 41264 if len(m.Resources) > 0 { 41265 for _, e := range m.Resources { 41266 l = e.Size() 41267 n += 1 + l + sovAuthservice(uint64(l)) 41268 } 41269 } 41270 l = len(m.NextKey) 41271 if l > 0 { 41272 n += 1 + l + sovAuthservice(uint64(l)) 41273 } 41274 if m.TotalCount != 0 { 41275 n += 1 + sovAuthservice(uint64(m.TotalCount)) 41276 } 41277 if m.XXX_unrecognized != nil { 41278 n += len(m.XXX_unrecognized) 41279 } 41280 return n 41281 } 41282 41283 func (m *CreateSessionTrackerRequest) Size() (n int) { 41284 if m == nil { 41285 return 0 41286 } 41287 var l int 41288 _ = l 41289 if m.SessionTracker != nil { 41290 l = m.SessionTracker.Size() 41291 n += 1 + l + sovAuthservice(uint64(l)) 41292 } 41293 if m.XXX_unrecognized != nil { 41294 n += len(m.XXX_unrecognized) 41295 } 41296 return n 41297 } 41298 41299 func (m *GetSessionTrackerRequest) Size() (n int) { 41300 if m == nil { 41301 return 0 41302 } 41303 var l int 41304 _ = l 41305 l = len(m.SessionID) 41306 if l > 0 { 41307 n += 1 + l + sovAuthservice(uint64(l)) 41308 } 41309 if m.XXX_unrecognized != nil { 41310 n += len(m.XXX_unrecognized) 41311 } 41312 return n 41313 } 41314 41315 func (m *RemoveSessionTrackerRequest) Size() (n int) { 41316 if m == nil { 41317 return 0 41318 } 41319 var l int 41320 _ = l 41321 l = len(m.SessionID) 41322 if l > 0 { 41323 n += 1 + l + sovAuthservice(uint64(l)) 41324 } 41325 if m.XXX_unrecognized != nil { 41326 n += len(m.XXX_unrecognized) 41327 } 41328 return n 41329 } 41330 41331 func (m *SessionTrackerUpdateState) Size() (n int) { 41332 if m == nil { 41333 return 0 41334 } 41335 var l int 41336 _ = l 41337 if m.State != 0 { 41338 n += 1 + sovAuthservice(uint64(m.State)) 41339 } 41340 if m.XXX_unrecognized != nil { 41341 n += len(m.XXX_unrecognized) 41342 } 41343 return n 41344 } 41345 41346 func (m *SessionTrackerAddParticipant) Size() (n int) { 41347 if m == nil { 41348 return 0 41349 } 41350 var l int 41351 _ = l 41352 if m.Participant != nil { 41353 l = m.Participant.Size() 41354 n += 1 + l + sovAuthservice(uint64(l)) 41355 } 41356 if m.XXX_unrecognized != nil { 41357 n += len(m.XXX_unrecognized) 41358 } 41359 return n 41360 } 41361 41362 func (m *SessionTrackerRemoveParticipant) Size() (n int) { 41363 if m == nil { 41364 return 0 41365 } 41366 var l int 41367 _ = l 41368 l = len(m.ParticipantID) 41369 if l > 0 { 41370 n += 1 + l + sovAuthservice(uint64(l)) 41371 } 41372 if m.XXX_unrecognized != nil { 41373 n += len(m.XXX_unrecognized) 41374 } 41375 return n 41376 } 41377 41378 func (m *SessionTrackerUpdateExpiry) Size() (n int) { 41379 if m == nil { 41380 return 0 41381 } 41382 var l int 41383 _ = l 41384 if m.Expires != nil { 41385 l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.Expires) 41386 n += 1 + l + sovAuthservice(uint64(l)) 41387 } 41388 if m.XXX_unrecognized != nil { 41389 n += len(m.XXX_unrecognized) 41390 } 41391 return n 41392 } 41393 41394 func (m *UpdateSessionTrackerRequest) Size() (n int) { 41395 if m == nil { 41396 return 0 41397 } 41398 var l int 41399 _ = l 41400 l = len(m.SessionID) 41401 if l > 0 { 41402 n += 1 + l + sovAuthservice(uint64(l)) 41403 } 41404 if m.Update != nil { 41405 n += m.Update.Size() 41406 } 41407 if m.XXX_unrecognized != nil { 41408 n += len(m.XXX_unrecognized) 41409 } 41410 return n 41411 } 41412 41413 func (m *UpdateSessionTrackerRequest_UpdateState) Size() (n int) { 41414 if m == nil { 41415 return 0 41416 } 41417 var l int 41418 _ = l 41419 if m.UpdateState != nil { 41420 l = m.UpdateState.Size() 41421 n += 1 + l + sovAuthservice(uint64(l)) 41422 } 41423 return n 41424 } 41425 func (m *UpdateSessionTrackerRequest_AddParticipant) Size() (n int) { 41426 if m == nil { 41427 return 0 41428 } 41429 var l int 41430 _ = l 41431 if m.AddParticipant != nil { 41432 l = m.AddParticipant.Size() 41433 n += 1 + l + sovAuthservice(uint64(l)) 41434 } 41435 return n 41436 } 41437 func (m *UpdateSessionTrackerRequest_RemoveParticipant) Size() (n int) { 41438 if m == nil { 41439 return 0 41440 } 41441 var l int 41442 _ = l 41443 if m.RemoveParticipant != nil { 41444 l = m.RemoveParticipant.Size() 41445 n += 1 + l + sovAuthservice(uint64(l)) 41446 } 41447 return n 41448 } 41449 func (m *UpdateSessionTrackerRequest_UpdateExpiry) Size() (n int) { 41450 if m == nil { 41451 return 0 41452 } 41453 var l int 41454 _ = l 41455 if m.UpdateExpiry != nil { 41456 l = m.UpdateExpiry.Size() 41457 n += 1 + l + sovAuthservice(uint64(l)) 41458 } 41459 return n 41460 } 41461 func (m *PresenceMFAChallengeRequest) Size() (n int) { 41462 if m == nil { 41463 return 0 41464 } 41465 var l int 41466 _ = l 41467 l = len(m.SessionID) 41468 if l > 0 { 41469 n += 1 + l + sovAuthservice(uint64(l)) 41470 } 41471 if m.XXX_unrecognized != nil { 41472 n += len(m.XXX_unrecognized) 41473 } 41474 return n 41475 } 41476 41477 func (m *PresenceMFAChallengeSend) Size() (n int) { 41478 if m == nil { 41479 return 0 41480 } 41481 var l int 41482 _ = l 41483 if m.Request != nil { 41484 n += m.Request.Size() 41485 } 41486 if m.XXX_unrecognized != nil { 41487 n += len(m.XXX_unrecognized) 41488 } 41489 return n 41490 } 41491 41492 func (m *PresenceMFAChallengeSend_ChallengeRequest) Size() (n int) { 41493 if m == nil { 41494 return 0 41495 } 41496 var l int 41497 _ = l 41498 if m.ChallengeRequest != nil { 41499 l = m.ChallengeRequest.Size() 41500 n += 1 + l + sovAuthservice(uint64(l)) 41501 } 41502 return n 41503 } 41504 func (m *PresenceMFAChallengeSend_ChallengeResponse) Size() (n int) { 41505 if m == nil { 41506 return 0 41507 } 41508 var l int 41509 _ = l 41510 if m.ChallengeResponse != nil { 41511 l = m.ChallengeResponse.Size() 41512 n += 1 + l + sovAuthservice(uint64(l)) 41513 } 41514 return n 41515 } 41516 func (m *GetDomainNameResponse) Size() (n int) { 41517 if m == nil { 41518 return 0 41519 } 41520 var l int 41521 _ = l 41522 l = len(m.DomainName) 41523 if l > 0 { 41524 n += 1 + l + sovAuthservice(uint64(l)) 41525 } 41526 if m.XXX_unrecognized != nil { 41527 n += len(m.XXX_unrecognized) 41528 } 41529 return n 41530 } 41531 41532 func (m *GetClusterCACertResponse) Size() (n int) { 41533 if m == nil { 41534 return 0 41535 } 41536 var l int 41537 _ = l 41538 l = len(m.TLSCA) 41539 if l > 0 { 41540 n += 1 + l + sovAuthservice(uint64(l)) 41541 } 41542 if m.XXX_unrecognized != nil { 41543 n += len(m.XXX_unrecognized) 41544 } 41545 return n 41546 } 41547 41548 func (m *GetLicenseResponse) Size() (n int) { 41549 if m == nil { 41550 return 0 41551 } 41552 var l int 41553 _ = l 41554 l = len(m.License) 41555 if l > 0 { 41556 n += 1 + l + sovAuthservice(uint64(l)) 41557 } 41558 if m.XXX_unrecognized != nil { 41559 n += len(m.XXX_unrecognized) 41560 } 41561 return n 41562 } 41563 41564 func (m *ListReleasesResponse) Size() (n int) { 41565 if m == nil { 41566 return 0 41567 } 41568 var l int 41569 _ = l 41570 if len(m.Releases) > 0 { 41571 for _, e := range m.Releases { 41572 l = e.Size() 41573 n += 1 + l + sovAuthservice(uint64(l)) 41574 } 41575 } 41576 if m.XXX_unrecognized != nil { 41577 n += len(m.XXX_unrecognized) 41578 } 41579 return n 41580 } 41581 41582 func (m *GetOIDCAuthRequestRequest) Size() (n int) { 41583 if m == nil { 41584 return 0 41585 } 41586 var l int 41587 _ = l 41588 l = len(m.StateToken) 41589 if l > 0 { 41590 n += 1 + l + sovAuthservice(uint64(l)) 41591 } 41592 if m.XXX_unrecognized != nil { 41593 n += len(m.XXX_unrecognized) 41594 } 41595 return n 41596 } 41597 41598 func (m *GetSAMLAuthRequestRequest) Size() (n int) { 41599 if m == nil { 41600 return 0 41601 } 41602 var l int 41603 _ = l 41604 l = len(m.ID) 41605 if l > 0 { 41606 n += 1 + l + sovAuthservice(uint64(l)) 41607 } 41608 if m.XXX_unrecognized != nil { 41609 n += len(m.XXX_unrecognized) 41610 } 41611 return n 41612 } 41613 41614 func (m *GetGithubAuthRequestRequest) Size() (n int) { 41615 if m == nil { 41616 return 0 41617 } 41618 var l int 41619 _ = l 41620 l = len(m.StateToken) 41621 if l > 0 { 41622 n += 1 + l + sovAuthservice(uint64(l)) 41623 } 41624 if m.XXX_unrecognized != nil { 41625 n += len(m.XXX_unrecognized) 41626 } 41627 return n 41628 } 41629 41630 func (m *CreateOIDCConnectorRequest) Size() (n int) { 41631 if m == nil { 41632 return 0 41633 } 41634 var l int 41635 _ = l 41636 if m.Connector != nil { 41637 l = m.Connector.Size() 41638 n += 1 + l + sovAuthservice(uint64(l)) 41639 } 41640 if m.XXX_unrecognized != nil { 41641 n += len(m.XXX_unrecognized) 41642 } 41643 return n 41644 } 41645 41646 func (m *UpdateOIDCConnectorRequest) Size() (n int) { 41647 if m == nil { 41648 return 0 41649 } 41650 var l int 41651 _ = l 41652 if m.Connector != nil { 41653 l = m.Connector.Size() 41654 n += 1 + l + sovAuthservice(uint64(l)) 41655 } 41656 if m.XXX_unrecognized != nil { 41657 n += len(m.XXX_unrecognized) 41658 } 41659 return n 41660 } 41661 41662 func (m *UpsertOIDCConnectorRequest) Size() (n int) { 41663 if m == nil { 41664 return 0 41665 } 41666 var l int 41667 _ = l 41668 if m.Connector != nil { 41669 l = m.Connector.Size() 41670 n += 1 + l + sovAuthservice(uint64(l)) 41671 } 41672 if m.XXX_unrecognized != nil { 41673 n += len(m.XXX_unrecognized) 41674 } 41675 return n 41676 } 41677 41678 func (m *CreateSAMLConnectorRequest) Size() (n int) { 41679 if m == nil { 41680 return 0 41681 } 41682 var l int 41683 _ = l 41684 if m.Connector != nil { 41685 l = m.Connector.Size() 41686 n += 1 + l + sovAuthservice(uint64(l)) 41687 } 41688 if m.XXX_unrecognized != nil { 41689 n += len(m.XXX_unrecognized) 41690 } 41691 return n 41692 } 41693 41694 func (m *UpdateSAMLConnectorRequest) Size() (n int) { 41695 if m == nil { 41696 return 0 41697 } 41698 var l int 41699 _ = l 41700 if m.Connector != nil { 41701 l = m.Connector.Size() 41702 n += 1 + l + sovAuthservice(uint64(l)) 41703 } 41704 if m.XXX_unrecognized != nil { 41705 n += len(m.XXX_unrecognized) 41706 } 41707 return n 41708 } 41709 41710 func (m *UpsertSAMLConnectorRequest) Size() (n int) { 41711 if m == nil { 41712 return 0 41713 } 41714 var l int 41715 _ = l 41716 if m.Connector != nil { 41717 l = m.Connector.Size() 41718 n += 1 + l + sovAuthservice(uint64(l)) 41719 } 41720 if m.XXX_unrecognized != nil { 41721 n += len(m.XXX_unrecognized) 41722 } 41723 return n 41724 } 41725 41726 func (m *CreateGithubConnectorRequest) Size() (n int) { 41727 if m == nil { 41728 return 0 41729 } 41730 var l int 41731 _ = l 41732 if m.Connector != nil { 41733 l = m.Connector.Size() 41734 n += 1 + l + sovAuthservice(uint64(l)) 41735 } 41736 if m.XXX_unrecognized != nil { 41737 n += len(m.XXX_unrecognized) 41738 } 41739 return n 41740 } 41741 41742 func (m *UpdateGithubConnectorRequest) Size() (n int) { 41743 if m == nil { 41744 return 0 41745 } 41746 var l int 41747 _ = l 41748 if m.Connector != nil { 41749 l = m.Connector.Size() 41750 n += 1 + l + sovAuthservice(uint64(l)) 41751 } 41752 if m.XXX_unrecognized != nil { 41753 n += len(m.XXX_unrecognized) 41754 } 41755 return n 41756 } 41757 41758 func (m *UpsertGithubConnectorRequest) Size() (n int) { 41759 if m == nil { 41760 return 0 41761 } 41762 var l int 41763 _ = l 41764 if m.Connector != nil { 41765 l = m.Connector.Size() 41766 n += 1 + l + sovAuthservice(uint64(l)) 41767 } 41768 if m.XXX_unrecognized != nil { 41769 n += len(m.XXX_unrecognized) 41770 } 41771 return n 41772 } 41773 41774 func (m *GetSSODiagnosticInfoRequest) Size() (n int) { 41775 if m == nil { 41776 return 0 41777 } 41778 var l int 41779 _ = l 41780 l = len(m.AuthRequestKind) 41781 if l > 0 { 41782 n += 1 + l + sovAuthservice(uint64(l)) 41783 } 41784 l = len(m.AuthRequestID) 41785 if l > 0 { 41786 n += 1 + l + sovAuthservice(uint64(l)) 41787 } 41788 if m.XXX_unrecognized != nil { 41789 n += len(m.XXX_unrecognized) 41790 } 41791 return n 41792 } 41793 41794 func (m *UpstreamInventoryOneOf) Size() (n int) { 41795 if m == nil { 41796 return 0 41797 } 41798 var l int 41799 _ = l 41800 if m.Msg != nil { 41801 n += m.Msg.Size() 41802 } 41803 if m.XXX_unrecognized != nil { 41804 n += len(m.XXX_unrecognized) 41805 } 41806 return n 41807 } 41808 41809 func (m *UpstreamInventoryOneOf_Hello) Size() (n int) { 41810 if m == nil { 41811 return 0 41812 } 41813 var l int 41814 _ = l 41815 if m.Hello != nil { 41816 l = m.Hello.Size() 41817 n += 1 + l + sovAuthservice(uint64(l)) 41818 } 41819 return n 41820 } 41821 func (m *UpstreamInventoryOneOf_Heartbeat) Size() (n int) { 41822 if m == nil { 41823 return 0 41824 } 41825 var l int 41826 _ = l 41827 if m.Heartbeat != nil { 41828 l = m.Heartbeat.Size() 41829 n += 1 + l + sovAuthservice(uint64(l)) 41830 } 41831 return n 41832 } 41833 func (m *UpstreamInventoryOneOf_Pong) Size() (n int) { 41834 if m == nil { 41835 return 0 41836 } 41837 var l int 41838 _ = l 41839 if m.Pong != nil { 41840 l = m.Pong.Size() 41841 n += 1 + l + sovAuthservice(uint64(l)) 41842 } 41843 return n 41844 } 41845 func (m *UpstreamInventoryOneOf_AgentMetadata) Size() (n int) { 41846 if m == nil { 41847 return 0 41848 } 41849 var l int 41850 _ = l 41851 if m.AgentMetadata != nil { 41852 l = m.AgentMetadata.Size() 41853 n += 1 + l + sovAuthservice(uint64(l)) 41854 } 41855 return n 41856 } 41857 func (m *DownstreamInventoryOneOf) Size() (n int) { 41858 if m == nil { 41859 return 0 41860 } 41861 var l int 41862 _ = l 41863 if m.Msg != nil { 41864 n += m.Msg.Size() 41865 } 41866 if m.XXX_unrecognized != nil { 41867 n += len(m.XXX_unrecognized) 41868 } 41869 return n 41870 } 41871 41872 func (m *DownstreamInventoryOneOf_Hello) Size() (n int) { 41873 if m == nil { 41874 return 0 41875 } 41876 var l int 41877 _ = l 41878 if m.Hello != nil { 41879 l = m.Hello.Size() 41880 n += 1 + l + sovAuthservice(uint64(l)) 41881 } 41882 return n 41883 } 41884 func (m *DownstreamInventoryOneOf_Ping) Size() (n int) { 41885 if m == nil { 41886 return 0 41887 } 41888 var l int 41889 _ = l 41890 if m.Ping != nil { 41891 l = m.Ping.Size() 41892 n += 1 + l + sovAuthservice(uint64(l)) 41893 } 41894 return n 41895 } 41896 func (m *DownstreamInventoryOneOf_UpdateLabels) Size() (n int) { 41897 if m == nil { 41898 return 0 41899 } 41900 var l int 41901 _ = l 41902 if m.UpdateLabels != nil { 41903 l = m.UpdateLabels.Size() 41904 n += 1 + l + sovAuthservice(uint64(l)) 41905 } 41906 return n 41907 } 41908 func (m *DownstreamInventoryPing) Size() (n int) { 41909 if m == nil { 41910 return 0 41911 } 41912 var l int 41913 _ = l 41914 if m.ID != 0 { 41915 n += 1 + sovAuthservice(uint64(m.ID)) 41916 } 41917 if m.XXX_unrecognized != nil { 41918 n += len(m.XXX_unrecognized) 41919 } 41920 return n 41921 } 41922 41923 func (m *UpstreamInventoryPong) Size() (n int) { 41924 if m == nil { 41925 return 0 41926 } 41927 var l int 41928 _ = l 41929 if m.ID != 0 { 41930 n += 1 + sovAuthservice(uint64(m.ID)) 41931 } 41932 if m.XXX_unrecognized != nil { 41933 n += len(m.XXX_unrecognized) 41934 } 41935 return n 41936 } 41937 41938 func (m *UpstreamInventoryHello) Size() (n int) { 41939 if m == nil { 41940 return 0 41941 } 41942 var l int 41943 _ = l 41944 l = len(m.Version) 41945 if l > 0 { 41946 n += 1 + l + sovAuthservice(uint64(l)) 41947 } 41948 l = len(m.ServerID) 41949 if l > 0 { 41950 n += 1 + l + sovAuthservice(uint64(l)) 41951 } 41952 if len(m.Services) > 0 { 41953 for _, s := range m.Services { 41954 l = len(s) 41955 n += 1 + l + sovAuthservice(uint64(l)) 41956 } 41957 } 41958 l = len(m.Hostname) 41959 if l > 0 { 41960 n += 1 + l + sovAuthservice(uint64(l)) 41961 } 41962 l = len(m.ExternalUpgrader) 41963 if l > 0 { 41964 n += 1 + l + sovAuthservice(uint64(l)) 41965 } 41966 l = len(m.ExternalUpgraderVersion) 41967 if l > 0 { 41968 n += 1 + l + sovAuthservice(uint64(l)) 41969 } 41970 if m.XXX_unrecognized != nil { 41971 n += len(m.XXX_unrecognized) 41972 } 41973 return n 41974 } 41975 41976 func (m *UpstreamInventoryAgentMetadata) Size() (n int) { 41977 if m == nil { 41978 return 0 41979 } 41980 var l int 41981 _ = l 41982 l = len(m.OS) 41983 if l > 0 { 41984 n += 1 + l + sovAuthservice(uint64(l)) 41985 } 41986 l = len(m.OSVersion) 41987 if l > 0 { 41988 n += 1 + l + sovAuthservice(uint64(l)) 41989 } 41990 l = len(m.HostArchitecture) 41991 if l > 0 { 41992 n += 1 + l + sovAuthservice(uint64(l)) 41993 } 41994 l = len(m.GlibcVersion) 41995 if l > 0 { 41996 n += 1 + l + sovAuthservice(uint64(l)) 41997 } 41998 if len(m.InstallMethods) > 0 { 41999 for _, s := range m.InstallMethods { 42000 l = len(s) 42001 n += 1 + l + sovAuthservice(uint64(l)) 42002 } 42003 } 42004 l = len(m.ContainerRuntime) 42005 if l > 0 { 42006 n += 1 + l + sovAuthservice(uint64(l)) 42007 } 42008 l = len(m.ContainerOrchestrator) 42009 if l > 0 { 42010 n += 1 + l + sovAuthservice(uint64(l)) 42011 } 42012 l = len(m.CloudEnvironment) 42013 if l > 0 { 42014 n += 1 + l + sovAuthservice(uint64(l)) 42015 } 42016 if m.XXX_unrecognized != nil { 42017 n += len(m.XXX_unrecognized) 42018 } 42019 return n 42020 } 42021 42022 func (m *DownstreamInventoryHello) Size() (n int) { 42023 if m == nil { 42024 return 0 42025 } 42026 var l int 42027 _ = l 42028 l = len(m.Version) 42029 if l > 0 { 42030 n += 1 + l + sovAuthservice(uint64(l)) 42031 } 42032 l = len(m.ServerID) 42033 if l > 0 { 42034 n += 1 + l + sovAuthservice(uint64(l)) 42035 } 42036 if m.XXX_unrecognized != nil { 42037 n += len(m.XXX_unrecognized) 42038 } 42039 return n 42040 } 42041 42042 func (m *InventoryUpdateLabelsRequest) Size() (n int) { 42043 if m == nil { 42044 return 0 42045 } 42046 var l int 42047 _ = l 42048 l = len(m.ServerID) 42049 if l > 0 { 42050 n += 1 + l + sovAuthservice(uint64(l)) 42051 } 42052 if m.Kind != 0 { 42053 n += 1 + sovAuthservice(uint64(m.Kind)) 42054 } 42055 if len(m.Labels) > 0 { 42056 for k, v := range m.Labels { 42057 _ = k 42058 _ = v 42059 mapEntrySize := 1 + len(k) + sovAuthservice(uint64(len(k))) + 1 + len(v) + sovAuthservice(uint64(len(v))) 42060 n += mapEntrySize + 1 + sovAuthservice(uint64(mapEntrySize)) 42061 } 42062 } 42063 if m.XXX_unrecognized != nil { 42064 n += len(m.XXX_unrecognized) 42065 } 42066 return n 42067 } 42068 42069 func (m *DownstreamInventoryUpdateLabels) Size() (n int) { 42070 if m == nil { 42071 return 0 42072 } 42073 var l int 42074 _ = l 42075 if m.Kind != 0 { 42076 n += 1 + sovAuthservice(uint64(m.Kind)) 42077 } 42078 if len(m.Labels) > 0 { 42079 for k, v := range m.Labels { 42080 _ = k 42081 _ = v 42082 mapEntrySize := 1 + len(k) + sovAuthservice(uint64(len(k))) + 1 + len(v) + sovAuthservice(uint64(len(v))) 42083 n += mapEntrySize + 1 + sovAuthservice(uint64(mapEntrySize)) 42084 } 42085 } 42086 if m.XXX_unrecognized != nil { 42087 n += len(m.XXX_unrecognized) 42088 } 42089 return n 42090 } 42091 42092 func (m *InventoryHeartbeat) Size() (n int) { 42093 if m == nil { 42094 return 0 42095 } 42096 var l int 42097 _ = l 42098 if m.SSHServer != nil { 42099 l = m.SSHServer.Size() 42100 n += 1 + l + sovAuthservice(uint64(l)) 42101 } 42102 if m.XXX_unrecognized != nil { 42103 n += len(m.XXX_unrecognized) 42104 } 42105 return n 42106 } 42107 42108 func (m *InventoryStatusRequest) Size() (n int) { 42109 if m == nil { 42110 return 0 42111 } 42112 var l int 42113 _ = l 42114 if m.Connected { 42115 n += 2 42116 } 42117 if m.XXX_unrecognized != nil { 42118 n += len(m.XXX_unrecognized) 42119 } 42120 return n 42121 } 42122 42123 func (m *InventoryStatusSummary) Size() (n int) { 42124 if m == nil { 42125 return 0 42126 } 42127 var l int 42128 _ = l 42129 if len(m.Connected) > 0 { 42130 for _, e := range m.Connected { 42131 l = e.Size() 42132 n += 1 + l + sovAuthservice(uint64(l)) 42133 } 42134 } 42135 if m.InstanceCount != 0 { 42136 n += 1 + sovAuthservice(uint64(m.InstanceCount)) 42137 } 42138 if len(m.VersionCounts) > 0 { 42139 for k, v := range m.VersionCounts { 42140 _ = k 42141 _ = v 42142 mapEntrySize := 1 + len(k) + sovAuthservice(uint64(len(k))) + 1 + sovAuthservice(uint64(v)) 42143 n += mapEntrySize + 1 + sovAuthservice(uint64(mapEntrySize)) 42144 } 42145 } 42146 if len(m.UpgraderCounts) > 0 { 42147 for k, v := range m.UpgraderCounts { 42148 _ = k 42149 _ = v 42150 mapEntrySize := 1 + len(k) + sovAuthservice(uint64(len(k))) + 1 + sovAuthservice(uint64(v)) 42151 n += mapEntrySize + 1 + sovAuthservice(uint64(mapEntrySize)) 42152 } 42153 } 42154 if len(m.ServiceCounts) > 0 { 42155 for k, v := range m.ServiceCounts { 42156 _ = k 42157 _ = v 42158 mapEntrySize := 1 + len(k) + sovAuthservice(uint64(len(k))) + 1 + sovAuthservice(uint64(v)) 42159 n += mapEntrySize + 1 + sovAuthservice(uint64(mapEntrySize)) 42160 } 42161 } 42162 if m.XXX_unrecognized != nil { 42163 n += len(m.XXX_unrecognized) 42164 } 42165 return n 42166 } 42167 42168 func (m *InventoryConnectedServiceCountsRequest) Size() (n int) { 42169 if m == nil { 42170 return 0 42171 } 42172 var l int 42173 _ = l 42174 if m.XXX_unrecognized != nil { 42175 n += len(m.XXX_unrecognized) 42176 } 42177 return n 42178 } 42179 42180 func (m *InventoryConnectedServiceCounts) Size() (n int) { 42181 if m == nil { 42182 return 0 42183 } 42184 var l int 42185 _ = l 42186 if len(m.ServiceCounts) > 0 { 42187 for k, v := range m.ServiceCounts { 42188 _ = k 42189 _ = v 42190 mapEntrySize := 1 + len(k) + sovAuthservice(uint64(len(k))) + 1 + sovAuthservice(uint64(v)) 42191 n += mapEntrySize + 1 + sovAuthservice(uint64(mapEntrySize)) 42192 } 42193 } 42194 if m.XXX_unrecognized != nil { 42195 n += len(m.XXX_unrecognized) 42196 } 42197 return n 42198 } 42199 42200 func (m *InventoryPingRequest) Size() (n int) { 42201 if m == nil { 42202 return 0 42203 } 42204 var l int 42205 _ = l 42206 l = len(m.ServerID) 42207 if l > 0 { 42208 n += 1 + l + sovAuthservice(uint64(l)) 42209 } 42210 if m.ControlLog { 42211 n += 2 42212 } 42213 if m.XXX_unrecognized != nil { 42214 n += len(m.XXX_unrecognized) 42215 } 42216 return n 42217 } 42218 42219 func (m *InventoryPingResponse) Size() (n int) { 42220 if m == nil { 42221 return 0 42222 } 42223 var l int 42224 _ = l 42225 if m.Duration != 0 { 42226 n += 1 + sovAuthservice(uint64(m.Duration)) 42227 } 42228 if m.XXX_unrecognized != nil { 42229 n += len(m.XXX_unrecognized) 42230 } 42231 return n 42232 } 42233 42234 func (m *GetClusterAlertsResponse) Size() (n int) { 42235 if m == nil { 42236 return 0 42237 } 42238 var l int 42239 _ = l 42240 if len(m.Alerts) > 0 { 42241 for _, e := range m.Alerts { 42242 l = e.Size() 42243 n += 1 + l + sovAuthservice(uint64(l)) 42244 } 42245 } 42246 if m.XXX_unrecognized != nil { 42247 n += len(m.XXX_unrecognized) 42248 } 42249 return n 42250 } 42251 42252 func (m *GetAlertAcksRequest) Size() (n int) { 42253 if m == nil { 42254 return 0 42255 } 42256 var l int 42257 _ = l 42258 if m.XXX_unrecognized != nil { 42259 n += len(m.XXX_unrecognized) 42260 } 42261 return n 42262 } 42263 42264 func (m *GetAlertAcksResponse) Size() (n int) { 42265 if m == nil { 42266 return 0 42267 } 42268 var l int 42269 _ = l 42270 if len(m.Acks) > 0 { 42271 for _, e := range m.Acks { 42272 l = e.Size() 42273 n += 1 + l + sovAuthservice(uint64(l)) 42274 } 42275 } 42276 if m.XXX_unrecognized != nil { 42277 n += len(m.XXX_unrecognized) 42278 } 42279 return n 42280 } 42281 42282 func (m *ClearAlertAcksRequest) Size() (n int) { 42283 if m == nil { 42284 return 0 42285 } 42286 var l int 42287 _ = l 42288 l = len(m.AlertID) 42289 if l > 0 { 42290 n += 1 + l + sovAuthservice(uint64(l)) 42291 } 42292 if m.XXX_unrecognized != nil { 42293 n += len(m.XXX_unrecognized) 42294 } 42295 return n 42296 } 42297 42298 func (m *UpsertClusterAlertRequest) Size() (n int) { 42299 if m == nil { 42300 return 0 42301 } 42302 var l int 42303 _ = l 42304 l = m.Alert.Size() 42305 n += 1 + l + sovAuthservice(uint64(l)) 42306 if m.XXX_unrecognized != nil { 42307 n += len(m.XXX_unrecognized) 42308 } 42309 return n 42310 } 42311 42312 func (m *GetConnectionDiagnosticRequest) Size() (n int) { 42313 if m == nil { 42314 return 0 42315 } 42316 var l int 42317 _ = l 42318 l = len(m.Name) 42319 if l > 0 { 42320 n += 1 + l + sovAuthservice(uint64(l)) 42321 } 42322 if m.XXX_unrecognized != nil { 42323 n += len(m.XXX_unrecognized) 42324 } 42325 return n 42326 } 42327 42328 func (m *AppendDiagnosticTraceRequest) Size() (n int) { 42329 if m == nil { 42330 return 0 42331 } 42332 var l int 42333 _ = l 42334 l = len(m.Name) 42335 if l > 0 { 42336 n += 1 + l + sovAuthservice(uint64(l)) 42337 } 42338 if m.Trace != nil { 42339 l = m.Trace.Size() 42340 n += 1 + l + sovAuthservice(uint64(l)) 42341 } 42342 if m.XXX_unrecognized != nil { 42343 n += len(m.XXX_unrecognized) 42344 } 42345 return n 42346 } 42347 42348 func (m *SubmitUsageEventRequest) Size() (n int) { 42349 if m == nil { 42350 return 0 42351 } 42352 var l int 42353 _ = l 42354 if m.Event != nil { 42355 l = m.Event.Size() 42356 n += 1 + l + sovAuthservice(uint64(l)) 42357 } 42358 if m.XXX_unrecognized != nil { 42359 n += len(m.XXX_unrecognized) 42360 } 42361 return n 42362 } 42363 42364 func (m *GetLicenseRequest) Size() (n int) { 42365 if m == nil { 42366 return 0 42367 } 42368 var l int 42369 _ = l 42370 if m.XXX_unrecognized != nil { 42371 n += len(m.XXX_unrecognized) 42372 } 42373 return n 42374 } 42375 42376 func (m *ListReleasesRequest) Size() (n int) { 42377 if m == nil { 42378 return 0 42379 } 42380 var l int 42381 _ = l 42382 if m.XXX_unrecognized != nil { 42383 n += len(m.XXX_unrecognized) 42384 } 42385 return n 42386 } 42387 42388 func (m *CreateTokenV2Request) Size() (n int) { 42389 if m == nil { 42390 return 0 42391 } 42392 var l int 42393 _ = l 42394 if m.Token != nil { 42395 n += m.Token.Size() 42396 } 42397 if m.XXX_unrecognized != nil { 42398 n += len(m.XXX_unrecognized) 42399 } 42400 return n 42401 } 42402 42403 func (m *CreateTokenV2Request_V2) Size() (n int) { 42404 if m == nil { 42405 return 0 42406 } 42407 var l int 42408 _ = l 42409 if m.V2 != nil { 42410 l = m.V2.Size() 42411 n += 1 + l + sovAuthservice(uint64(l)) 42412 } 42413 return n 42414 } 42415 func (m *UpsertTokenV2Request) Size() (n int) { 42416 if m == nil { 42417 return 0 42418 } 42419 var l int 42420 _ = l 42421 if m.Token != nil { 42422 n += m.Token.Size() 42423 } 42424 if m.XXX_unrecognized != nil { 42425 n += len(m.XXX_unrecognized) 42426 } 42427 return n 42428 } 42429 42430 func (m *UpsertTokenV2Request_V2) Size() (n int) { 42431 if m == nil { 42432 return 0 42433 } 42434 var l int 42435 _ = l 42436 if m.V2 != nil { 42437 l = m.V2.Size() 42438 n += 1 + l + sovAuthservice(uint64(l)) 42439 } 42440 return n 42441 } 42442 func (m *GetHeadlessAuthenticationRequest) Size() (n int) { 42443 if m == nil { 42444 return 0 42445 } 42446 var l int 42447 _ = l 42448 l = len(m.Id) 42449 if l > 0 { 42450 n += 1 + l + sovAuthservice(uint64(l)) 42451 } 42452 if m.XXX_unrecognized != nil { 42453 n += len(m.XXX_unrecognized) 42454 } 42455 return n 42456 } 42457 42458 func (m *UpdateHeadlessAuthenticationStateRequest) Size() (n int) { 42459 if m == nil { 42460 return 0 42461 } 42462 var l int 42463 _ = l 42464 l = len(m.Id) 42465 if l > 0 { 42466 n += 1 + l + sovAuthservice(uint64(l)) 42467 } 42468 if m.State != 0 { 42469 n += 1 + sovAuthservice(uint64(m.State)) 42470 } 42471 if m.MfaResponse != nil { 42472 l = m.MfaResponse.Size() 42473 n += 1 + l + sovAuthservice(uint64(l)) 42474 } 42475 if m.XXX_unrecognized != nil { 42476 n += len(m.XXX_unrecognized) 42477 } 42478 return n 42479 } 42480 42481 func (m *ExportUpgradeWindowsRequest) Size() (n int) { 42482 if m == nil { 42483 return 0 42484 } 42485 var l int 42486 _ = l 42487 l = len(m.TeleportVersion) 42488 if l > 0 { 42489 n += 1 + l + sovAuthservice(uint64(l)) 42490 } 42491 l = len(m.UpgraderKind) 42492 if l > 0 { 42493 n += 1 + l + sovAuthservice(uint64(l)) 42494 } 42495 if m.XXX_unrecognized != nil { 42496 n += len(m.XXX_unrecognized) 42497 } 42498 return n 42499 } 42500 42501 func (m *ExportUpgradeWindowsResponse) Size() (n int) { 42502 if m == nil { 42503 return 0 42504 } 42505 var l int 42506 _ = l 42507 if m.CanonicalSchedule != nil { 42508 l = m.CanonicalSchedule.Size() 42509 n += 1 + l + sovAuthservice(uint64(l)) 42510 } 42511 l = len(m.KubeControllerSchedule) 42512 if l > 0 { 42513 n += 1 + l + sovAuthservice(uint64(l)) 42514 } 42515 l = len(m.SystemdUnitSchedule) 42516 if l > 0 { 42517 n += 1 + l + sovAuthservice(uint64(l)) 42518 } 42519 if m.XXX_unrecognized != nil { 42520 n += len(m.XXX_unrecognized) 42521 } 42522 return n 42523 } 42524 42525 func (m *ListAccessRequestsRequest) Size() (n int) { 42526 if m == nil { 42527 return 0 42528 } 42529 var l int 42530 _ = l 42531 if m.Filter != nil { 42532 l = m.Filter.Size() 42533 n += 1 + l + sovAuthservice(uint64(l)) 42534 } 42535 if m.Sort != 0 { 42536 n += 1 + sovAuthservice(uint64(m.Sort)) 42537 } 42538 if m.Descending { 42539 n += 2 42540 } 42541 if m.Limit != 0 { 42542 n += 1 + sovAuthservice(uint64(m.Limit)) 42543 } 42544 l = len(m.StartKey) 42545 if l > 0 { 42546 n += 1 + l + sovAuthservice(uint64(l)) 42547 } 42548 if m.XXX_unrecognized != nil { 42549 n += len(m.XXX_unrecognized) 42550 } 42551 return n 42552 } 42553 42554 func (m *ListAccessRequestsResponse) Size() (n int) { 42555 if m == nil { 42556 return 0 42557 } 42558 var l int 42559 _ = l 42560 if len(m.AccessRequests) > 0 { 42561 for _, e := range m.AccessRequests { 42562 l = e.Size() 42563 n += 1 + l + sovAuthservice(uint64(l)) 42564 } 42565 } 42566 l = len(m.NextKey) 42567 if l > 0 { 42568 n += 1 + l + sovAuthservice(uint64(l)) 42569 } 42570 if m.XXX_unrecognized != nil { 42571 n += len(m.XXX_unrecognized) 42572 } 42573 return n 42574 } 42575 42576 func (m *AccessRequestAllowedPromotionRequest) Size() (n int) { 42577 if m == nil { 42578 return 0 42579 } 42580 var l int 42581 _ = l 42582 l = len(m.AccessRequestID) 42583 if l > 0 { 42584 n += 1 + l + sovAuthservice(uint64(l)) 42585 } 42586 if m.XXX_unrecognized != nil { 42587 n += len(m.XXX_unrecognized) 42588 } 42589 return n 42590 } 42591 42592 func (m *AccessRequestAllowedPromotionResponse) Size() (n int) { 42593 if m == nil { 42594 return 0 42595 } 42596 var l int 42597 _ = l 42598 if m.AllowedPromotions != nil { 42599 l = m.AllowedPromotions.Size() 42600 n += 1 + l + sovAuthservice(uint64(l)) 42601 } 42602 if m.XXX_unrecognized != nil { 42603 n += len(m.XXX_unrecognized) 42604 } 42605 return n 42606 } 42607 42608 func sovAuthservice(x uint64) (n int) { 42609 return (math_bits.Len64(x|1) + 6) / 7 42610 } 42611 func sozAuthservice(x uint64) (n int) { 42612 return sovAuthservice(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 42613 } 42614 func (m *Watch) Unmarshal(dAtA []byte) error { 42615 l := len(dAtA) 42616 iNdEx := 0 42617 for iNdEx < l { 42618 preIndex := iNdEx 42619 var wire uint64 42620 for shift := uint(0); ; shift += 7 { 42621 if shift >= 64 { 42622 return ErrIntOverflowAuthservice 42623 } 42624 if iNdEx >= l { 42625 return io.ErrUnexpectedEOF 42626 } 42627 b := dAtA[iNdEx] 42628 iNdEx++ 42629 wire |= uint64(b&0x7F) << shift 42630 if b < 0x80 { 42631 break 42632 } 42633 } 42634 fieldNum := int32(wire >> 3) 42635 wireType := int(wire & 0x7) 42636 if wireType == 4 { 42637 return fmt.Errorf("proto: Watch: wiretype end group for non-group") 42638 } 42639 if fieldNum <= 0 { 42640 return fmt.Errorf("proto: Watch: illegal tag %d (wire type %d)", fieldNum, wire) 42641 } 42642 switch fieldNum { 42643 case 1: 42644 if wireType != 2 { 42645 return fmt.Errorf("proto: wrong wireType = %d for field Kinds", wireType) 42646 } 42647 var msglen int 42648 for shift := uint(0); ; shift += 7 { 42649 if shift >= 64 { 42650 return ErrIntOverflowAuthservice 42651 } 42652 if iNdEx >= l { 42653 return io.ErrUnexpectedEOF 42654 } 42655 b := dAtA[iNdEx] 42656 iNdEx++ 42657 msglen |= int(b&0x7F) << shift 42658 if b < 0x80 { 42659 break 42660 } 42661 } 42662 if msglen < 0 { 42663 return ErrInvalidLengthAuthservice 42664 } 42665 postIndex := iNdEx + msglen 42666 if postIndex < 0 { 42667 return ErrInvalidLengthAuthservice 42668 } 42669 if postIndex > l { 42670 return io.ErrUnexpectedEOF 42671 } 42672 m.Kinds = append(m.Kinds, types.WatchKind{}) 42673 if err := m.Kinds[len(m.Kinds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 42674 return err 42675 } 42676 iNdEx = postIndex 42677 case 2: 42678 if wireType != 0 { 42679 return fmt.Errorf("proto: wrong wireType = %d for field AllowPartialSuccess", wireType) 42680 } 42681 var v int 42682 for shift := uint(0); ; shift += 7 { 42683 if shift >= 64 { 42684 return ErrIntOverflowAuthservice 42685 } 42686 if iNdEx >= l { 42687 return io.ErrUnexpectedEOF 42688 } 42689 b := dAtA[iNdEx] 42690 iNdEx++ 42691 v |= int(b&0x7F) << shift 42692 if b < 0x80 { 42693 break 42694 } 42695 } 42696 m.AllowPartialSuccess = bool(v != 0) 42697 default: 42698 iNdEx = preIndex 42699 skippy, err := skipAuthservice(dAtA[iNdEx:]) 42700 if err != nil { 42701 return err 42702 } 42703 if (skippy < 0) || (iNdEx+skippy) < 0 { 42704 return ErrInvalidLengthAuthservice 42705 } 42706 if (iNdEx + skippy) > l { 42707 return io.ErrUnexpectedEOF 42708 } 42709 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 42710 iNdEx += skippy 42711 } 42712 } 42713 42714 if iNdEx > l { 42715 return io.ErrUnexpectedEOF 42716 } 42717 return nil 42718 } 42719 func (m *HostCertsRequest) Unmarshal(dAtA []byte) error { 42720 l := len(dAtA) 42721 iNdEx := 0 42722 for iNdEx < l { 42723 preIndex := iNdEx 42724 var wire uint64 42725 for shift := uint(0); ; shift += 7 { 42726 if shift >= 64 { 42727 return ErrIntOverflowAuthservice 42728 } 42729 if iNdEx >= l { 42730 return io.ErrUnexpectedEOF 42731 } 42732 b := dAtA[iNdEx] 42733 iNdEx++ 42734 wire |= uint64(b&0x7F) << shift 42735 if b < 0x80 { 42736 break 42737 } 42738 } 42739 fieldNum := int32(wire >> 3) 42740 wireType := int(wire & 0x7) 42741 if wireType == 4 { 42742 return fmt.Errorf("proto: HostCertsRequest: wiretype end group for non-group") 42743 } 42744 if fieldNum <= 0 { 42745 return fmt.Errorf("proto: HostCertsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 42746 } 42747 switch fieldNum { 42748 case 1: 42749 if wireType != 2 { 42750 return fmt.Errorf("proto: wrong wireType = %d for field HostID", wireType) 42751 } 42752 var stringLen uint64 42753 for shift := uint(0); ; shift += 7 { 42754 if shift >= 64 { 42755 return ErrIntOverflowAuthservice 42756 } 42757 if iNdEx >= l { 42758 return io.ErrUnexpectedEOF 42759 } 42760 b := dAtA[iNdEx] 42761 iNdEx++ 42762 stringLen |= uint64(b&0x7F) << shift 42763 if b < 0x80 { 42764 break 42765 } 42766 } 42767 intStringLen := int(stringLen) 42768 if intStringLen < 0 { 42769 return ErrInvalidLengthAuthservice 42770 } 42771 postIndex := iNdEx + intStringLen 42772 if postIndex < 0 { 42773 return ErrInvalidLengthAuthservice 42774 } 42775 if postIndex > l { 42776 return io.ErrUnexpectedEOF 42777 } 42778 m.HostID = string(dAtA[iNdEx:postIndex]) 42779 iNdEx = postIndex 42780 case 2: 42781 if wireType != 2 { 42782 return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType) 42783 } 42784 var stringLen uint64 42785 for shift := uint(0); ; shift += 7 { 42786 if shift >= 64 { 42787 return ErrIntOverflowAuthservice 42788 } 42789 if iNdEx >= l { 42790 return io.ErrUnexpectedEOF 42791 } 42792 b := dAtA[iNdEx] 42793 iNdEx++ 42794 stringLen |= uint64(b&0x7F) << shift 42795 if b < 0x80 { 42796 break 42797 } 42798 } 42799 intStringLen := int(stringLen) 42800 if intStringLen < 0 { 42801 return ErrInvalidLengthAuthservice 42802 } 42803 postIndex := iNdEx + intStringLen 42804 if postIndex < 0 { 42805 return ErrInvalidLengthAuthservice 42806 } 42807 if postIndex > l { 42808 return io.ErrUnexpectedEOF 42809 } 42810 m.NodeName = string(dAtA[iNdEx:postIndex]) 42811 iNdEx = postIndex 42812 case 3: 42813 if wireType != 2 { 42814 return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) 42815 } 42816 var stringLen uint64 42817 for shift := uint(0); ; shift += 7 { 42818 if shift >= 64 { 42819 return ErrIntOverflowAuthservice 42820 } 42821 if iNdEx >= l { 42822 return io.ErrUnexpectedEOF 42823 } 42824 b := dAtA[iNdEx] 42825 iNdEx++ 42826 stringLen |= uint64(b&0x7F) << shift 42827 if b < 0x80 { 42828 break 42829 } 42830 } 42831 intStringLen := int(stringLen) 42832 if intStringLen < 0 { 42833 return ErrInvalidLengthAuthservice 42834 } 42835 postIndex := iNdEx + intStringLen 42836 if postIndex < 0 { 42837 return ErrInvalidLengthAuthservice 42838 } 42839 if postIndex > l { 42840 return io.ErrUnexpectedEOF 42841 } 42842 m.Role = github_com_gravitational_teleport_api_types.SystemRole(dAtA[iNdEx:postIndex]) 42843 iNdEx = postIndex 42844 case 4: 42845 if wireType != 2 { 42846 return fmt.Errorf("proto: wrong wireType = %d for field AdditionalPrincipals", wireType) 42847 } 42848 var stringLen uint64 42849 for shift := uint(0); ; shift += 7 { 42850 if shift >= 64 { 42851 return ErrIntOverflowAuthservice 42852 } 42853 if iNdEx >= l { 42854 return io.ErrUnexpectedEOF 42855 } 42856 b := dAtA[iNdEx] 42857 iNdEx++ 42858 stringLen |= uint64(b&0x7F) << shift 42859 if b < 0x80 { 42860 break 42861 } 42862 } 42863 intStringLen := int(stringLen) 42864 if intStringLen < 0 { 42865 return ErrInvalidLengthAuthservice 42866 } 42867 postIndex := iNdEx + intStringLen 42868 if postIndex < 0 { 42869 return ErrInvalidLengthAuthservice 42870 } 42871 if postIndex > l { 42872 return io.ErrUnexpectedEOF 42873 } 42874 m.AdditionalPrincipals = append(m.AdditionalPrincipals, string(dAtA[iNdEx:postIndex])) 42875 iNdEx = postIndex 42876 case 5: 42877 if wireType != 2 { 42878 return fmt.Errorf("proto: wrong wireType = %d for field DNSNames", wireType) 42879 } 42880 var stringLen uint64 42881 for shift := uint(0); ; shift += 7 { 42882 if shift >= 64 { 42883 return ErrIntOverflowAuthservice 42884 } 42885 if iNdEx >= l { 42886 return io.ErrUnexpectedEOF 42887 } 42888 b := dAtA[iNdEx] 42889 iNdEx++ 42890 stringLen |= uint64(b&0x7F) << shift 42891 if b < 0x80 { 42892 break 42893 } 42894 } 42895 intStringLen := int(stringLen) 42896 if intStringLen < 0 { 42897 return ErrInvalidLengthAuthservice 42898 } 42899 postIndex := iNdEx + intStringLen 42900 if postIndex < 0 { 42901 return ErrInvalidLengthAuthservice 42902 } 42903 if postIndex > l { 42904 return io.ErrUnexpectedEOF 42905 } 42906 m.DNSNames = append(m.DNSNames, string(dAtA[iNdEx:postIndex])) 42907 iNdEx = postIndex 42908 case 6: 42909 if wireType != 2 { 42910 return fmt.Errorf("proto: wrong wireType = %d for field PublicTLSKey", wireType) 42911 } 42912 var byteLen int 42913 for shift := uint(0); ; shift += 7 { 42914 if shift >= 64 { 42915 return ErrIntOverflowAuthservice 42916 } 42917 if iNdEx >= l { 42918 return io.ErrUnexpectedEOF 42919 } 42920 b := dAtA[iNdEx] 42921 iNdEx++ 42922 byteLen |= int(b&0x7F) << shift 42923 if b < 0x80 { 42924 break 42925 } 42926 } 42927 if byteLen < 0 { 42928 return ErrInvalidLengthAuthservice 42929 } 42930 postIndex := iNdEx + byteLen 42931 if postIndex < 0 { 42932 return ErrInvalidLengthAuthservice 42933 } 42934 if postIndex > l { 42935 return io.ErrUnexpectedEOF 42936 } 42937 m.PublicTLSKey = append(m.PublicTLSKey[:0], dAtA[iNdEx:postIndex]...) 42938 if m.PublicTLSKey == nil { 42939 m.PublicTLSKey = []byte{} 42940 } 42941 iNdEx = postIndex 42942 case 7: 42943 if wireType != 2 { 42944 return fmt.Errorf("proto: wrong wireType = %d for field PublicSSHKey", wireType) 42945 } 42946 var byteLen int 42947 for shift := uint(0); ; shift += 7 { 42948 if shift >= 64 { 42949 return ErrIntOverflowAuthservice 42950 } 42951 if iNdEx >= l { 42952 return io.ErrUnexpectedEOF 42953 } 42954 b := dAtA[iNdEx] 42955 iNdEx++ 42956 byteLen |= int(b&0x7F) << shift 42957 if b < 0x80 { 42958 break 42959 } 42960 } 42961 if byteLen < 0 { 42962 return ErrInvalidLengthAuthservice 42963 } 42964 postIndex := iNdEx + byteLen 42965 if postIndex < 0 { 42966 return ErrInvalidLengthAuthservice 42967 } 42968 if postIndex > l { 42969 return io.ErrUnexpectedEOF 42970 } 42971 m.PublicSSHKey = append(m.PublicSSHKey[:0], dAtA[iNdEx:postIndex]...) 42972 if m.PublicSSHKey == nil { 42973 m.PublicSSHKey = []byte{} 42974 } 42975 iNdEx = postIndex 42976 case 8: 42977 if wireType != 2 { 42978 return fmt.Errorf("proto: wrong wireType = %d for field RemoteAddr", wireType) 42979 } 42980 var stringLen uint64 42981 for shift := uint(0); ; shift += 7 { 42982 if shift >= 64 { 42983 return ErrIntOverflowAuthservice 42984 } 42985 if iNdEx >= l { 42986 return io.ErrUnexpectedEOF 42987 } 42988 b := dAtA[iNdEx] 42989 iNdEx++ 42990 stringLen |= uint64(b&0x7F) << shift 42991 if b < 0x80 { 42992 break 42993 } 42994 } 42995 intStringLen := int(stringLen) 42996 if intStringLen < 0 { 42997 return ErrInvalidLengthAuthservice 42998 } 42999 postIndex := iNdEx + intStringLen 43000 if postIndex < 0 { 43001 return ErrInvalidLengthAuthservice 43002 } 43003 if postIndex > l { 43004 return io.ErrUnexpectedEOF 43005 } 43006 m.RemoteAddr = string(dAtA[iNdEx:postIndex]) 43007 iNdEx = postIndex 43008 case 9: 43009 if wireType != 2 { 43010 return fmt.Errorf("proto: wrong wireType = %d for field Rotation", wireType) 43011 } 43012 var msglen int 43013 for shift := uint(0); ; shift += 7 { 43014 if shift >= 64 { 43015 return ErrIntOverflowAuthservice 43016 } 43017 if iNdEx >= l { 43018 return io.ErrUnexpectedEOF 43019 } 43020 b := dAtA[iNdEx] 43021 iNdEx++ 43022 msglen |= int(b&0x7F) << shift 43023 if b < 0x80 { 43024 break 43025 } 43026 } 43027 if msglen < 0 { 43028 return ErrInvalidLengthAuthservice 43029 } 43030 postIndex := iNdEx + msglen 43031 if postIndex < 0 { 43032 return ErrInvalidLengthAuthservice 43033 } 43034 if postIndex > l { 43035 return io.ErrUnexpectedEOF 43036 } 43037 if m.Rotation == nil { 43038 m.Rotation = &types.Rotation{} 43039 } 43040 if err := m.Rotation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43041 return err 43042 } 43043 iNdEx = postIndex 43044 case 10: 43045 if wireType != 0 { 43046 return fmt.Errorf("proto: wrong wireType = %d for field NoCache", wireType) 43047 } 43048 var v int 43049 for shift := uint(0); ; shift += 7 { 43050 if shift >= 64 { 43051 return ErrIntOverflowAuthservice 43052 } 43053 if iNdEx >= l { 43054 return io.ErrUnexpectedEOF 43055 } 43056 b := dAtA[iNdEx] 43057 iNdEx++ 43058 v |= int(b&0x7F) << shift 43059 if b < 0x80 { 43060 break 43061 } 43062 } 43063 m.NoCache = bool(v != 0) 43064 case 11: 43065 if wireType != 2 { 43066 return fmt.Errorf("proto: wrong wireType = %d for field SystemRoles", wireType) 43067 } 43068 var stringLen uint64 43069 for shift := uint(0); ; shift += 7 { 43070 if shift >= 64 { 43071 return ErrIntOverflowAuthservice 43072 } 43073 if iNdEx >= l { 43074 return io.ErrUnexpectedEOF 43075 } 43076 b := dAtA[iNdEx] 43077 iNdEx++ 43078 stringLen |= uint64(b&0x7F) << shift 43079 if b < 0x80 { 43080 break 43081 } 43082 } 43083 intStringLen := int(stringLen) 43084 if intStringLen < 0 { 43085 return ErrInvalidLengthAuthservice 43086 } 43087 postIndex := iNdEx + intStringLen 43088 if postIndex < 0 { 43089 return ErrInvalidLengthAuthservice 43090 } 43091 if postIndex > l { 43092 return io.ErrUnexpectedEOF 43093 } 43094 m.SystemRoles = append(m.SystemRoles, github_com_gravitational_teleport_api_types.SystemRole(dAtA[iNdEx:postIndex])) 43095 iNdEx = postIndex 43096 default: 43097 iNdEx = preIndex 43098 skippy, err := skipAuthservice(dAtA[iNdEx:]) 43099 if err != nil { 43100 return err 43101 } 43102 if (skippy < 0) || (iNdEx+skippy) < 0 { 43103 return ErrInvalidLengthAuthservice 43104 } 43105 if (iNdEx + skippy) > l { 43106 return io.ErrUnexpectedEOF 43107 } 43108 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 43109 iNdEx += skippy 43110 } 43111 } 43112 43113 if iNdEx > l { 43114 return io.ErrUnexpectedEOF 43115 } 43116 return nil 43117 } 43118 func (m *OpenSSHCertRequest) Unmarshal(dAtA []byte) error { 43119 l := len(dAtA) 43120 iNdEx := 0 43121 for iNdEx < l { 43122 preIndex := iNdEx 43123 var wire uint64 43124 for shift := uint(0); ; shift += 7 { 43125 if shift >= 64 { 43126 return ErrIntOverflowAuthservice 43127 } 43128 if iNdEx >= l { 43129 return io.ErrUnexpectedEOF 43130 } 43131 b := dAtA[iNdEx] 43132 iNdEx++ 43133 wire |= uint64(b&0x7F) << shift 43134 if b < 0x80 { 43135 break 43136 } 43137 } 43138 fieldNum := int32(wire >> 3) 43139 wireType := int(wire & 0x7) 43140 if wireType == 4 { 43141 return fmt.Errorf("proto: OpenSSHCertRequest: wiretype end group for non-group") 43142 } 43143 if fieldNum <= 0 { 43144 return fmt.Errorf("proto: OpenSSHCertRequest: illegal tag %d (wire type %d)", fieldNum, wire) 43145 } 43146 switch fieldNum { 43147 case 2: 43148 if wireType != 2 { 43149 return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) 43150 } 43151 var byteLen int 43152 for shift := uint(0); ; shift += 7 { 43153 if shift >= 64 { 43154 return ErrIntOverflowAuthservice 43155 } 43156 if iNdEx >= l { 43157 return io.ErrUnexpectedEOF 43158 } 43159 b := dAtA[iNdEx] 43160 iNdEx++ 43161 byteLen |= int(b&0x7F) << shift 43162 if b < 0x80 { 43163 break 43164 } 43165 } 43166 if byteLen < 0 { 43167 return ErrInvalidLengthAuthservice 43168 } 43169 postIndex := iNdEx + byteLen 43170 if postIndex < 0 { 43171 return ErrInvalidLengthAuthservice 43172 } 43173 if postIndex > l { 43174 return io.ErrUnexpectedEOF 43175 } 43176 m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) 43177 if m.PublicKey == nil { 43178 m.PublicKey = []byte{} 43179 } 43180 iNdEx = postIndex 43181 case 3: 43182 if wireType != 0 { 43183 return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType) 43184 } 43185 m.TTL = 0 43186 for shift := uint(0); ; shift += 7 { 43187 if shift >= 64 { 43188 return ErrIntOverflowAuthservice 43189 } 43190 if iNdEx >= l { 43191 return io.ErrUnexpectedEOF 43192 } 43193 b := dAtA[iNdEx] 43194 iNdEx++ 43195 m.TTL |= Duration(b&0x7F) << shift 43196 if b < 0x80 { 43197 break 43198 } 43199 } 43200 case 4: 43201 if wireType != 2 { 43202 return fmt.Errorf("proto: wrong wireType = %d for field Cluster", wireType) 43203 } 43204 var stringLen uint64 43205 for shift := uint(0); ; shift += 7 { 43206 if shift >= 64 { 43207 return ErrIntOverflowAuthservice 43208 } 43209 if iNdEx >= l { 43210 return io.ErrUnexpectedEOF 43211 } 43212 b := dAtA[iNdEx] 43213 iNdEx++ 43214 stringLen |= uint64(b&0x7F) << shift 43215 if b < 0x80 { 43216 break 43217 } 43218 } 43219 intStringLen := int(stringLen) 43220 if intStringLen < 0 { 43221 return ErrInvalidLengthAuthservice 43222 } 43223 postIndex := iNdEx + intStringLen 43224 if postIndex < 0 { 43225 return ErrInvalidLengthAuthservice 43226 } 43227 if postIndex > l { 43228 return io.ErrUnexpectedEOF 43229 } 43230 m.Cluster = string(dAtA[iNdEx:postIndex]) 43231 iNdEx = postIndex 43232 case 5: 43233 if wireType != 2 { 43234 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 43235 } 43236 var msglen int 43237 for shift := uint(0); ; shift += 7 { 43238 if shift >= 64 { 43239 return ErrIntOverflowAuthservice 43240 } 43241 if iNdEx >= l { 43242 return io.ErrUnexpectedEOF 43243 } 43244 b := dAtA[iNdEx] 43245 iNdEx++ 43246 msglen |= int(b&0x7F) << shift 43247 if b < 0x80 { 43248 break 43249 } 43250 } 43251 if msglen < 0 { 43252 return ErrInvalidLengthAuthservice 43253 } 43254 postIndex := iNdEx + msglen 43255 if postIndex < 0 { 43256 return ErrInvalidLengthAuthservice 43257 } 43258 if postIndex > l { 43259 return io.ErrUnexpectedEOF 43260 } 43261 if m.User == nil { 43262 m.User = &types.UserV2{} 43263 } 43264 if err := m.User.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43265 return err 43266 } 43267 iNdEx = postIndex 43268 case 6: 43269 if wireType != 2 { 43270 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 43271 } 43272 var msglen int 43273 for shift := uint(0); ; shift += 7 { 43274 if shift >= 64 { 43275 return ErrIntOverflowAuthservice 43276 } 43277 if iNdEx >= l { 43278 return io.ErrUnexpectedEOF 43279 } 43280 b := dAtA[iNdEx] 43281 iNdEx++ 43282 msglen |= int(b&0x7F) << shift 43283 if b < 0x80 { 43284 break 43285 } 43286 } 43287 if msglen < 0 { 43288 return ErrInvalidLengthAuthservice 43289 } 43290 postIndex := iNdEx + msglen 43291 if postIndex < 0 { 43292 return ErrInvalidLengthAuthservice 43293 } 43294 if postIndex > l { 43295 return io.ErrUnexpectedEOF 43296 } 43297 m.Roles = append(m.Roles, &types.RoleV6{}) 43298 if err := m.Roles[len(m.Roles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43299 return err 43300 } 43301 iNdEx = postIndex 43302 default: 43303 iNdEx = preIndex 43304 skippy, err := skipAuthservice(dAtA[iNdEx:]) 43305 if err != nil { 43306 return err 43307 } 43308 if (skippy < 0) || (iNdEx+skippy) < 0 { 43309 return ErrInvalidLengthAuthservice 43310 } 43311 if (iNdEx + skippy) > l { 43312 return io.ErrUnexpectedEOF 43313 } 43314 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 43315 iNdEx += skippy 43316 } 43317 } 43318 43319 if iNdEx > l { 43320 return io.ErrUnexpectedEOF 43321 } 43322 return nil 43323 } 43324 func (m *OpenSSHCert) Unmarshal(dAtA []byte) error { 43325 l := len(dAtA) 43326 iNdEx := 0 43327 for iNdEx < l { 43328 preIndex := iNdEx 43329 var wire uint64 43330 for shift := uint(0); ; shift += 7 { 43331 if shift >= 64 { 43332 return ErrIntOverflowAuthservice 43333 } 43334 if iNdEx >= l { 43335 return io.ErrUnexpectedEOF 43336 } 43337 b := dAtA[iNdEx] 43338 iNdEx++ 43339 wire |= uint64(b&0x7F) << shift 43340 if b < 0x80 { 43341 break 43342 } 43343 } 43344 fieldNum := int32(wire >> 3) 43345 wireType := int(wire & 0x7) 43346 if wireType == 4 { 43347 return fmt.Errorf("proto: OpenSSHCert: wiretype end group for non-group") 43348 } 43349 if fieldNum <= 0 { 43350 return fmt.Errorf("proto: OpenSSHCert: illegal tag %d (wire type %d)", fieldNum, wire) 43351 } 43352 switch fieldNum { 43353 case 1: 43354 if wireType != 2 { 43355 return fmt.Errorf("proto: wrong wireType = %d for field Cert", wireType) 43356 } 43357 var byteLen int 43358 for shift := uint(0); ; shift += 7 { 43359 if shift >= 64 { 43360 return ErrIntOverflowAuthservice 43361 } 43362 if iNdEx >= l { 43363 return io.ErrUnexpectedEOF 43364 } 43365 b := dAtA[iNdEx] 43366 iNdEx++ 43367 byteLen |= int(b&0x7F) << shift 43368 if b < 0x80 { 43369 break 43370 } 43371 } 43372 if byteLen < 0 { 43373 return ErrInvalidLengthAuthservice 43374 } 43375 postIndex := iNdEx + byteLen 43376 if postIndex < 0 { 43377 return ErrInvalidLengthAuthservice 43378 } 43379 if postIndex > l { 43380 return io.ErrUnexpectedEOF 43381 } 43382 m.Cert = append(m.Cert[:0], dAtA[iNdEx:postIndex]...) 43383 if m.Cert == nil { 43384 m.Cert = []byte{} 43385 } 43386 iNdEx = postIndex 43387 default: 43388 iNdEx = preIndex 43389 skippy, err := skipAuthservice(dAtA[iNdEx:]) 43390 if err != nil { 43391 return err 43392 } 43393 if (skippy < 0) || (iNdEx+skippy) < 0 { 43394 return ErrInvalidLengthAuthservice 43395 } 43396 if (iNdEx + skippy) > l { 43397 return io.ErrUnexpectedEOF 43398 } 43399 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 43400 iNdEx += skippy 43401 } 43402 } 43403 43404 if iNdEx > l { 43405 return io.ErrUnexpectedEOF 43406 } 43407 return nil 43408 } 43409 func (m *UserCertsRequest) Unmarshal(dAtA []byte) error { 43410 l := len(dAtA) 43411 iNdEx := 0 43412 for iNdEx < l { 43413 preIndex := iNdEx 43414 var wire uint64 43415 for shift := uint(0); ; shift += 7 { 43416 if shift >= 64 { 43417 return ErrIntOverflowAuthservice 43418 } 43419 if iNdEx >= l { 43420 return io.ErrUnexpectedEOF 43421 } 43422 b := dAtA[iNdEx] 43423 iNdEx++ 43424 wire |= uint64(b&0x7F) << shift 43425 if b < 0x80 { 43426 break 43427 } 43428 } 43429 fieldNum := int32(wire >> 3) 43430 wireType := int(wire & 0x7) 43431 if wireType == 4 { 43432 return fmt.Errorf("proto: UserCertsRequest: wiretype end group for non-group") 43433 } 43434 if fieldNum <= 0 { 43435 return fmt.Errorf("proto: UserCertsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 43436 } 43437 switch fieldNum { 43438 case 1: 43439 if wireType != 2 { 43440 return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) 43441 } 43442 var byteLen int 43443 for shift := uint(0); ; shift += 7 { 43444 if shift >= 64 { 43445 return ErrIntOverflowAuthservice 43446 } 43447 if iNdEx >= l { 43448 return io.ErrUnexpectedEOF 43449 } 43450 b := dAtA[iNdEx] 43451 iNdEx++ 43452 byteLen |= int(b&0x7F) << shift 43453 if b < 0x80 { 43454 break 43455 } 43456 } 43457 if byteLen < 0 { 43458 return ErrInvalidLengthAuthservice 43459 } 43460 postIndex := iNdEx + byteLen 43461 if postIndex < 0 { 43462 return ErrInvalidLengthAuthservice 43463 } 43464 if postIndex > l { 43465 return io.ErrUnexpectedEOF 43466 } 43467 m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) 43468 if m.PublicKey == nil { 43469 m.PublicKey = []byte{} 43470 } 43471 iNdEx = postIndex 43472 case 2: 43473 if wireType != 2 { 43474 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 43475 } 43476 var stringLen uint64 43477 for shift := uint(0); ; shift += 7 { 43478 if shift >= 64 { 43479 return ErrIntOverflowAuthservice 43480 } 43481 if iNdEx >= l { 43482 return io.ErrUnexpectedEOF 43483 } 43484 b := dAtA[iNdEx] 43485 iNdEx++ 43486 stringLen |= uint64(b&0x7F) << shift 43487 if b < 0x80 { 43488 break 43489 } 43490 } 43491 intStringLen := int(stringLen) 43492 if intStringLen < 0 { 43493 return ErrInvalidLengthAuthservice 43494 } 43495 postIndex := iNdEx + intStringLen 43496 if postIndex < 0 { 43497 return ErrInvalidLengthAuthservice 43498 } 43499 if postIndex > l { 43500 return io.ErrUnexpectedEOF 43501 } 43502 m.Username = string(dAtA[iNdEx:postIndex]) 43503 iNdEx = postIndex 43504 case 3: 43505 if wireType != 2 { 43506 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 43507 } 43508 var msglen int 43509 for shift := uint(0); ; shift += 7 { 43510 if shift >= 64 { 43511 return ErrIntOverflowAuthservice 43512 } 43513 if iNdEx >= l { 43514 return io.ErrUnexpectedEOF 43515 } 43516 b := dAtA[iNdEx] 43517 iNdEx++ 43518 msglen |= int(b&0x7F) << shift 43519 if b < 0x80 { 43520 break 43521 } 43522 } 43523 if msglen < 0 { 43524 return ErrInvalidLengthAuthservice 43525 } 43526 postIndex := iNdEx + msglen 43527 if postIndex < 0 { 43528 return ErrInvalidLengthAuthservice 43529 } 43530 if postIndex > l { 43531 return io.ErrUnexpectedEOF 43532 } 43533 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Expires, dAtA[iNdEx:postIndex]); err != nil { 43534 return err 43535 } 43536 iNdEx = postIndex 43537 case 4: 43538 if wireType != 2 { 43539 return fmt.Errorf("proto: wrong wireType = %d for field Format", wireType) 43540 } 43541 var stringLen uint64 43542 for shift := uint(0); ; shift += 7 { 43543 if shift >= 64 { 43544 return ErrIntOverflowAuthservice 43545 } 43546 if iNdEx >= l { 43547 return io.ErrUnexpectedEOF 43548 } 43549 b := dAtA[iNdEx] 43550 iNdEx++ 43551 stringLen |= uint64(b&0x7F) << shift 43552 if b < 0x80 { 43553 break 43554 } 43555 } 43556 intStringLen := int(stringLen) 43557 if intStringLen < 0 { 43558 return ErrInvalidLengthAuthservice 43559 } 43560 postIndex := iNdEx + intStringLen 43561 if postIndex < 0 { 43562 return ErrInvalidLengthAuthservice 43563 } 43564 if postIndex > l { 43565 return io.ErrUnexpectedEOF 43566 } 43567 m.Format = string(dAtA[iNdEx:postIndex]) 43568 iNdEx = postIndex 43569 case 5: 43570 if wireType != 2 { 43571 return fmt.Errorf("proto: wrong wireType = %d for field RouteToCluster", wireType) 43572 } 43573 var stringLen uint64 43574 for shift := uint(0); ; shift += 7 { 43575 if shift >= 64 { 43576 return ErrIntOverflowAuthservice 43577 } 43578 if iNdEx >= l { 43579 return io.ErrUnexpectedEOF 43580 } 43581 b := dAtA[iNdEx] 43582 iNdEx++ 43583 stringLen |= uint64(b&0x7F) << shift 43584 if b < 0x80 { 43585 break 43586 } 43587 } 43588 intStringLen := int(stringLen) 43589 if intStringLen < 0 { 43590 return ErrInvalidLengthAuthservice 43591 } 43592 postIndex := iNdEx + intStringLen 43593 if postIndex < 0 { 43594 return ErrInvalidLengthAuthservice 43595 } 43596 if postIndex > l { 43597 return io.ErrUnexpectedEOF 43598 } 43599 m.RouteToCluster = string(dAtA[iNdEx:postIndex]) 43600 iNdEx = postIndex 43601 case 6: 43602 if wireType != 2 { 43603 return fmt.Errorf("proto: wrong wireType = %d for field AccessRequests", wireType) 43604 } 43605 var stringLen uint64 43606 for shift := uint(0); ; shift += 7 { 43607 if shift >= 64 { 43608 return ErrIntOverflowAuthservice 43609 } 43610 if iNdEx >= l { 43611 return io.ErrUnexpectedEOF 43612 } 43613 b := dAtA[iNdEx] 43614 iNdEx++ 43615 stringLen |= uint64(b&0x7F) << shift 43616 if b < 0x80 { 43617 break 43618 } 43619 } 43620 intStringLen := int(stringLen) 43621 if intStringLen < 0 { 43622 return ErrInvalidLengthAuthservice 43623 } 43624 postIndex := iNdEx + intStringLen 43625 if postIndex < 0 { 43626 return ErrInvalidLengthAuthservice 43627 } 43628 if postIndex > l { 43629 return io.ErrUnexpectedEOF 43630 } 43631 m.AccessRequests = append(m.AccessRequests, string(dAtA[iNdEx:postIndex])) 43632 iNdEx = postIndex 43633 case 7: 43634 if wireType != 2 { 43635 return fmt.Errorf("proto: wrong wireType = %d for field KubernetesCluster", wireType) 43636 } 43637 var stringLen uint64 43638 for shift := uint(0); ; shift += 7 { 43639 if shift >= 64 { 43640 return ErrIntOverflowAuthservice 43641 } 43642 if iNdEx >= l { 43643 return io.ErrUnexpectedEOF 43644 } 43645 b := dAtA[iNdEx] 43646 iNdEx++ 43647 stringLen |= uint64(b&0x7F) << shift 43648 if b < 0x80 { 43649 break 43650 } 43651 } 43652 intStringLen := int(stringLen) 43653 if intStringLen < 0 { 43654 return ErrInvalidLengthAuthservice 43655 } 43656 postIndex := iNdEx + intStringLen 43657 if postIndex < 0 { 43658 return ErrInvalidLengthAuthservice 43659 } 43660 if postIndex > l { 43661 return io.ErrUnexpectedEOF 43662 } 43663 m.KubernetesCluster = string(dAtA[iNdEx:postIndex]) 43664 iNdEx = postIndex 43665 case 8: 43666 if wireType != 2 { 43667 return fmt.Errorf("proto: wrong wireType = %d for field RouteToDatabase", wireType) 43668 } 43669 var msglen int 43670 for shift := uint(0); ; shift += 7 { 43671 if shift >= 64 { 43672 return ErrIntOverflowAuthservice 43673 } 43674 if iNdEx >= l { 43675 return io.ErrUnexpectedEOF 43676 } 43677 b := dAtA[iNdEx] 43678 iNdEx++ 43679 msglen |= int(b&0x7F) << shift 43680 if b < 0x80 { 43681 break 43682 } 43683 } 43684 if msglen < 0 { 43685 return ErrInvalidLengthAuthservice 43686 } 43687 postIndex := iNdEx + msglen 43688 if postIndex < 0 { 43689 return ErrInvalidLengthAuthservice 43690 } 43691 if postIndex > l { 43692 return io.ErrUnexpectedEOF 43693 } 43694 if err := m.RouteToDatabase.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43695 return err 43696 } 43697 iNdEx = postIndex 43698 case 9: 43699 if wireType != 2 { 43700 return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType) 43701 } 43702 var stringLen uint64 43703 for shift := uint(0); ; shift += 7 { 43704 if shift >= 64 { 43705 return ErrIntOverflowAuthservice 43706 } 43707 if iNdEx >= l { 43708 return io.ErrUnexpectedEOF 43709 } 43710 b := dAtA[iNdEx] 43711 iNdEx++ 43712 stringLen |= uint64(b&0x7F) << shift 43713 if b < 0x80 { 43714 break 43715 } 43716 } 43717 intStringLen := int(stringLen) 43718 if intStringLen < 0 { 43719 return ErrInvalidLengthAuthservice 43720 } 43721 postIndex := iNdEx + intStringLen 43722 if postIndex < 0 { 43723 return ErrInvalidLengthAuthservice 43724 } 43725 if postIndex > l { 43726 return io.ErrUnexpectedEOF 43727 } 43728 m.NodeName = string(dAtA[iNdEx:postIndex]) 43729 iNdEx = postIndex 43730 case 10: 43731 if wireType != 0 { 43732 return fmt.Errorf("proto: wrong wireType = %d for field Usage", wireType) 43733 } 43734 m.Usage = 0 43735 for shift := uint(0); ; shift += 7 { 43736 if shift >= 64 { 43737 return ErrIntOverflowAuthservice 43738 } 43739 if iNdEx >= l { 43740 return io.ErrUnexpectedEOF 43741 } 43742 b := dAtA[iNdEx] 43743 iNdEx++ 43744 m.Usage |= UserCertsRequest_CertUsage(b&0x7F) << shift 43745 if b < 0x80 { 43746 break 43747 } 43748 } 43749 case 11: 43750 if wireType != 2 { 43751 return fmt.Errorf("proto: wrong wireType = %d for field RouteToApp", wireType) 43752 } 43753 var msglen int 43754 for shift := uint(0); ; shift += 7 { 43755 if shift >= 64 { 43756 return ErrIntOverflowAuthservice 43757 } 43758 if iNdEx >= l { 43759 return io.ErrUnexpectedEOF 43760 } 43761 b := dAtA[iNdEx] 43762 iNdEx++ 43763 msglen |= int(b&0x7F) << shift 43764 if b < 0x80 { 43765 break 43766 } 43767 } 43768 if msglen < 0 { 43769 return ErrInvalidLengthAuthservice 43770 } 43771 postIndex := iNdEx + msglen 43772 if postIndex < 0 { 43773 return ErrInvalidLengthAuthservice 43774 } 43775 if postIndex > l { 43776 return io.ErrUnexpectedEOF 43777 } 43778 if err := m.RouteToApp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43779 return err 43780 } 43781 iNdEx = postIndex 43782 case 12: 43783 if wireType != 2 { 43784 return fmt.Errorf("proto: wrong wireType = %d for field RoleRequests", wireType) 43785 } 43786 var stringLen uint64 43787 for shift := uint(0); ; shift += 7 { 43788 if shift >= 64 { 43789 return ErrIntOverflowAuthservice 43790 } 43791 if iNdEx >= l { 43792 return io.ErrUnexpectedEOF 43793 } 43794 b := dAtA[iNdEx] 43795 iNdEx++ 43796 stringLen |= uint64(b&0x7F) << shift 43797 if b < 0x80 { 43798 break 43799 } 43800 } 43801 intStringLen := int(stringLen) 43802 if intStringLen < 0 { 43803 return ErrInvalidLengthAuthservice 43804 } 43805 postIndex := iNdEx + intStringLen 43806 if postIndex < 0 { 43807 return ErrInvalidLengthAuthservice 43808 } 43809 if postIndex > l { 43810 return io.ErrUnexpectedEOF 43811 } 43812 m.RoleRequests = append(m.RoleRequests, string(dAtA[iNdEx:postIndex])) 43813 iNdEx = postIndex 43814 case 13: 43815 if wireType != 2 { 43816 return fmt.Errorf("proto: wrong wireType = %d for field RouteToWindowsDesktop", wireType) 43817 } 43818 var msglen int 43819 for shift := uint(0); ; shift += 7 { 43820 if shift >= 64 { 43821 return ErrIntOverflowAuthservice 43822 } 43823 if iNdEx >= l { 43824 return io.ErrUnexpectedEOF 43825 } 43826 b := dAtA[iNdEx] 43827 iNdEx++ 43828 msglen |= int(b&0x7F) << shift 43829 if b < 0x80 { 43830 break 43831 } 43832 } 43833 if msglen < 0 { 43834 return ErrInvalidLengthAuthservice 43835 } 43836 postIndex := iNdEx + msglen 43837 if postIndex < 0 { 43838 return ErrInvalidLengthAuthservice 43839 } 43840 if postIndex > l { 43841 return io.ErrUnexpectedEOF 43842 } 43843 if err := m.RouteToWindowsDesktop.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43844 return err 43845 } 43846 iNdEx = postIndex 43847 case 14: 43848 if wireType != 0 { 43849 return fmt.Errorf("proto: wrong wireType = %d for field UseRoleRequests", wireType) 43850 } 43851 var v int 43852 for shift := uint(0); ; shift += 7 { 43853 if shift >= 64 { 43854 return ErrIntOverflowAuthservice 43855 } 43856 if iNdEx >= l { 43857 return io.ErrUnexpectedEOF 43858 } 43859 b := dAtA[iNdEx] 43860 iNdEx++ 43861 v |= int(b&0x7F) << shift 43862 if b < 0x80 { 43863 break 43864 } 43865 } 43866 m.UseRoleRequests = bool(v != 0) 43867 case 15: 43868 if wireType != 2 { 43869 return fmt.Errorf("proto: wrong wireType = %d for field DropAccessRequests", wireType) 43870 } 43871 var stringLen uint64 43872 for shift := uint(0); ; shift += 7 { 43873 if shift >= 64 { 43874 return ErrIntOverflowAuthservice 43875 } 43876 if iNdEx >= l { 43877 return io.ErrUnexpectedEOF 43878 } 43879 b := dAtA[iNdEx] 43880 iNdEx++ 43881 stringLen |= uint64(b&0x7F) << shift 43882 if b < 0x80 { 43883 break 43884 } 43885 } 43886 intStringLen := int(stringLen) 43887 if intStringLen < 0 { 43888 return ErrInvalidLengthAuthservice 43889 } 43890 postIndex := iNdEx + intStringLen 43891 if postIndex < 0 { 43892 return ErrInvalidLengthAuthservice 43893 } 43894 if postIndex > l { 43895 return io.ErrUnexpectedEOF 43896 } 43897 m.DropAccessRequests = append(m.DropAccessRequests, string(dAtA[iNdEx:postIndex])) 43898 iNdEx = postIndex 43899 case 16: 43900 if wireType != 2 { 43901 return fmt.Errorf("proto: wrong wireType = %d for field ConnectionDiagnosticID", wireType) 43902 } 43903 var stringLen uint64 43904 for shift := uint(0); ; shift += 7 { 43905 if shift >= 64 { 43906 return ErrIntOverflowAuthservice 43907 } 43908 if iNdEx >= l { 43909 return io.ErrUnexpectedEOF 43910 } 43911 b := dAtA[iNdEx] 43912 iNdEx++ 43913 stringLen |= uint64(b&0x7F) << shift 43914 if b < 0x80 { 43915 break 43916 } 43917 } 43918 intStringLen := int(stringLen) 43919 if intStringLen < 0 { 43920 return ErrInvalidLengthAuthservice 43921 } 43922 postIndex := iNdEx + intStringLen 43923 if postIndex < 0 { 43924 return ErrInvalidLengthAuthservice 43925 } 43926 if postIndex > l { 43927 return io.ErrUnexpectedEOF 43928 } 43929 m.ConnectionDiagnosticID = string(dAtA[iNdEx:postIndex]) 43930 iNdEx = postIndex 43931 case 17: 43932 if wireType != 0 { 43933 return fmt.Errorf("proto: wrong wireType = %d for field RequesterName", wireType) 43934 } 43935 m.RequesterName = 0 43936 for shift := uint(0); ; shift += 7 { 43937 if shift >= 64 { 43938 return ErrIntOverflowAuthservice 43939 } 43940 if iNdEx >= l { 43941 return io.ErrUnexpectedEOF 43942 } 43943 b := dAtA[iNdEx] 43944 iNdEx++ 43945 m.RequesterName |= UserCertsRequest_Requester(b&0x7F) << shift 43946 if b < 0x80 { 43947 break 43948 } 43949 } 43950 case 18: 43951 if wireType != 2 { 43952 return fmt.Errorf("proto: wrong wireType = %d for field MFAResponse", wireType) 43953 } 43954 var msglen int 43955 for shift := uint(0); ; shift += 7 { 43956 if shift >= 64 { 43957 return ErrIntOverflowAuthservice 43958 } 43959 if iNdEx >= l { 43960 return io.ErrUnexpectedEOF 43961 } 43962 b := dAtA[iNdEx] 43963 iNdEx++ 43964 msglen |= int(b&0x7F) << shift 43965 if b < 0x80 { 43966 break 43967 } 43968 } 43969 if msglen < 0 { 43970 return ErrInvalidLengthAuthservice 43971 } 43972 postIndex := iNdEx + msglen 43973 if postIndex < 0 { 43974 return ErrInvalidLengthAuthservice 43975 } 43976 if postIndex > l { 43977 return io.ErrUnexpectedEOF 43978 } 43979 if m.MFAResponse == nil { 43980 m.MFAResponse = &MFAAuthenticateResponse{} 43981 } 43982 if err := m.MFAResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43983 return err 43984 } 43985 iNdEx = postIndex 43986 case 19: 43987 if wireType != 2 { 43988 return fmt.Errorf("proto: wrong wireType = %d for field SSHLogin", wireType) 43989 } 43990 var stringLen uint64 43991 for shift := uint(0); ; shift += 7 { 43992 if shift >= 64 { 43993 return ErrIntOverflowAuthservice 43994 } 43995 if iNdEx >= l { 43996 return io.ErrUnexpectedEOF 43997 } 43998 b := dAtA[iNdEx] 43999 iNdEx++ 44000 stringLen |= uint64(b&0x7F) << shift 44001 if b < 0x80 { 44002 break 44003 } 44004 } 44005 intStringLen := int(stringLen) 44006 if intStringLen < 0 { 44007 return ErrInvalidLengthAuthservice 44008 } 44009 postIndex := iNdEx + intStringLen 44010 if postIndex < 0 { 44011 return ErrInvalidLengthAuthservice 44012 } 44013 if postIndex > l { 44014 return io.ErrUnexpectedEOF 44015 } 44016 m.SSHLogin = string(dAtA[iNdEx:postIndex]) 44017 iNdEx = postIndex 44018 case 20: 44019 if wireType != 2 { 44020 return fmt.Errorf("proto: wrong wireType = %d for field AttestationStatement", wireType) 44021 } 44022 var msglen int 44023 for shift := uint(0); ; shift += 7 { 44024 if shift >= 64 { 44025 return ErrIntOverflowAuthservice 44026 } 44027 if iNdEx >= l { 44028 return io.ErrUnexpectedEOF 44029 } 44030 b := dAtA[iNdEx] 44031 iNdEx++ 44032 msglen |= int(b&0x7F) << shift 44033 if b < 0x80 { 44034 break 44035 } 44036 } 44037 if msglen < 0 { 44038 return ErrInvalidLengthAuthservice 44039 } 44040 postIndex := iNdEx + msglen 44041 if postIndex < 0 { 44042 return ErrInvalidLengthAuthservice 44043 } 44044 if postIndex > l { 44045 return io.ErrUnexpectedEOF 44046 } 44047 if m.AttestationStatement == nil { 44048 m.AttestationStatement = &v1.AttestationStatement{} 44049 } 44050 if err := m.AttestationStatement.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 44051 return err 44052 } 44053 iNdEx = postIndex 44054 case 21: 44055 if wireType != 0 { 44056 return fmt.Errorf("proto: wrong wireType = %d for field Purpose", wireType) 44057 } 44058 m.Purpose = 0 44059 for shift := uint(0); ; shift += 7 { 44060 if shift >= 64 { 44061 return ErrIntOverflowAuthservice 44062 } 44063 if iNdEx >= l { 44064 return io.ErrUnexpectedEOF 44065 } 44066 b := dAtA[iNdEx] 44067 iNdEx++ 44068 m.Purpose |= UserCertsRequest_CertPurpose(b&0x7F) << shift 44069 if b < 0x80 { 44070 break 44071 } 44072 } 44073 default: 44074 iNdEx = preIndex 44075 skippy, err := skipAuthservice(dAtA[iNdEx:]) 44076 if err != nil { 44077 return err 44078 } 44079 if (skippy < 0) || (iNdEx+skippy) < 0 { 44080 return ErrInvalidLengthAuthservice 44081 } 44082 if (iNdEx + skippy) > l { 44083 return io.ErrUnexpectedEOF 44084 } 44085 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 44086 iNdEx += skippy 44087 } 44088 } 44089 44090 if iNdEx > l { 44091 return io.ErrUnexpectedEOF 44092 } 44093 return nil 44094 } 44095 func (m *RouteToDatabase) Unmarshal(dAtA []byte) error { 44096 l := len(dAtA) 44097 iNdEx := 0 44098 for iNdEx < l { 44099 preIndex := iNdEx 44100 var wire uint64 44101 for shift := uint(0); ; shift += 7 { 44102 if shift >= 64 { 44103 return ErrIntOverflowAuthservice 44104 } 44105 if iNdEx >= l { 44106 return io.ErrUnexpectedEOF 44107 } 44108 b := dAtA[iNdEx] 44109 iNdEx++ 44110 wire |= uint64(b&0x7F) << shift 44111 if b < 0x80 { 44112 break 44113 } 44114 } 44115 fieldNum := int32(wire >> 3) 44116 wireType := int(wire & 0x7) 44117 if wireType == 4 { 44118 return fmt.Errorf("proto: RouteToDatabase: wiretype end group for non-group") 44119 } 44120 if fieldNum <= 0 { 44121 return fmt.Errorf("proto: RouteToDatabase: illegal tag %d (wire type %d)", fieldNum, wire) 44122 } 44123 switch fieldNum { 44124 case 1: 44125 if wireType != 2 { 44126 return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType) 44127 } 44128 var stringLen uint64 44129 for shift := uint(0); ; shift += 7 { 44130 if shift >= 64 { 44131 return ErrIntOverflowAuthservice 44132 } 44133 if iNdEx >= l { 44134 return io.ErrUnexpectedEOF 44135 } 44136 b := dAtA[iNdEx] 44137 iNdEx++ 44138 stringLen |= uint64(b&0x7F) << shift 44139 if b < 0x80 { 44140 break 44141 } 44142 } 44143 intStringLen := int(stringLen) 44144 if intStringLen < 0 { 44145 return ErrInvalidLengthAuthservice 44146 } 44147 postIndex := iNdEx + intStringLen 44148 if postIndex < 0 { 44149 return ErrInvalidLengthAuthservice 44150 } 44151 if postIndex > l { 44152 return io.ErrUnexpectedEOF 44153 } 44154 m.ServiceName = string(dAtA[iNdEx:postIndex]) 44155 iNdEx = postIndex 44156 case 2: 44157 if wireType != 2 { 44158 return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType) 44159 } 44160 var stringLen uint64 44161 for shift := uint(0); ; shift += 7 { 44162 if shift >= 64 { 44163 return ErrIntOverflowAuthservice 44164 } 44165 if iNdEx >= l { 44166 return io.ErrUnexpectedEOF 44167 } 44168 b := dAtA[iNdEx] 44169 iNdEx++ 44170 stringLen |= uint64(b&0x7F) << shift 44171 if b < 0x80 { 44172 break 44173 } 44174 } 44175 intStringLen := int(stringLen) 44176 if intStringLen < 0 { 44177 return ErrInvalidLengthAuthservice 44178 } 44179 postIndex := iNdEx + intStringLen 44180 if postIndex < 0 { 44181 return ErrInvalidLengthAuthservice 44182 } 44183 if postIndex > l { 44184 return io.ErrUnexpectedEOF 44185 } 44186 m.Protocol = string(dAtA[iNdEx:postIndex]) 44187 iNdEx = postIndex 44188 case 3: 44189 if wireType != 2 { 44190 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 44191 } 44192 var stringLen uint64 44193 for shift := uint(0); ; shift += 7 { 44194 if shift >= 64 { 44195 return ErrIntOverflowAuthservice 44196 } 44197 if iNdEx >= l { 44198 return io.ErrUnexpectedEOF 44199 } 44200 b := dAtA[iNdEx] 44201 iNdEx++ 44202 stringLen |= uint64(b&0x7F) << shift 44203 if b < 0x80 { 44204 break 44205 } 44206 } 44207 intStringLen := int(stringLen) 44208 if intStringLen < 0 { 44209 return ErrInvalidLengthAuthservice 44210 } 44211 postIndex := iNdEx + intStringLen 44212 if postIndex < 0 { 44213 return ErrInvalidLengthAuthservice 44214 } 44215 if postIndex > l { 44216 return io.ErrUnexpectedEOF 44217 } 44218 m.Username = string(dAtA[iNdEx:postIndex]) 44219 iNdEx = postIndex 44220 case 4: 44221 if wireType != 2 { 44222 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 44223 } 44224 var stringLen uint64 44225 for shift := uint(0); ; shift += 7 { 44226 if shift >= 64 { 44227 return ErrIntOverflowAuthservice 44228 } 44229 if iNdEx >= l { 44230 return io.ErrUnexpectedEOF 44231 } 44232 b := dAtA[iNdEx] 44233 iNdEx++ 44234 stringLen |= uint64(b&0x7F) << shift 44235 if b < 0x80 { 44236 break 44237 } 44238 } 44239 intStringLen := int(stringLen) 44240 if intStringLen < 0 { 44241 return ErrInvalidLengthAuthservice 44242 } 44243 postIndex := iNdEx + intStringLen 44244 if postIndex < 0 { 44245 return ErrInvalidLengthAuthservice 44246 } 44247 if postIndex > l { 44248 return io.ErrUnexpectedEOF 44249 } 44250 m.Database = string(dAtA[iNdEx:postIndex]) 44251 iNdEx = postIndex 44252 case 5: 44253 if wireType != 2 { 44254 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 44255 } 44256 var stringLen uint64 44257 for shift := uint(0); ; shift += 7 { 44258 if shift >= 64 { 44259 return ErrIntOverflowAuthservice 44260 } 44261 if iNdEx >= l { 44262 return io.ErrUnexpectedEOF 44263 } 44264 b := dAtA[iNdEx] 44265 iNdEx++ 44266 stringLen |= uint64(b&0x7F) << shift 44267 if b < 0x80 { 44268 break 44269 } 44270 } 44271 intStringLen := int(stringLen) 44272 if intStringLen < 0 { 44273 return ErrInvalidLengthAuthservice 44274 } 44275 postIndex := iNdEx + intStringLen 44276 if postIndex < 0 { 44277 return ErrInvalidLengthAuthservice 44278 } 44279 if postIndex > l { 44280 return io.ErrUnexpectedEOF 44281 } 44282 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 44283 iNdEx = postIndex 44284 default: 44285 iNdEx = preIndex 44286 skippy, err := skipAuthservice(dAtA[iNdEx:]) 44287 if err != nil { 44288 return err 44289 } 44290 if (skippy < 0) || (iNdEx+skippy) < 0 { 44291 return ErrInvalidLengthAuthservice 44292 } 44293 if (iNdEx + skippy) > l { 44294 return io.ErrUnexpectedEOF 44295 } 44296 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 44297 iNdEx += skippy 44298 } 44299 } 44300 44301 if iNdEx > l { 44302 return io.ErrUnexpectedEOF 44303 } 44304 return nil 44305 } 44306 func (m *RouteToWindowsDesktop) Unmarshal(dAtA []byte) error { 44307 l := len(dAtA) 44308 iNdEx := 0 44309 for iNdEx < l { 44310 preIndex := iNdEx 44311 var wire uint64 44312 for shift := uint(0); ; shift += 7 { 44313 if shift >= 64 { 44314 return ErrIntOverflowAuthservice 44315 } 44316 if iNdEx >= l { 44317 return io.ErrUnexpectedEOF 44318 } 44319 b := dAtA[iNdEx] 44320 iNdEx++ 44321 wire |= uint64(b&0x7F) << shift 44322 if b < 0x80 { 44323 break 44324 } 44325 } 44326 fieldNum := int32(wire >> 3) 44327 wireType := int(wire & 0x7) 44328 if wireType == 4 { 44329 return fmt.Errorf("proto: RouteToWindowsDesktop: wiretype end group for non-group") 44330 } 44331 if fieldNum <= 0 { 44332 return fmt.Errorf("proto: RouteToWindowsDesktop: illegal tag %d (wire type %d)", fieldNum, wire) 44333 } 44334 switch fieldNum { 44335 case 1: 44336 if wireType != 2 { 44337 return fmt.Errorf("proto: wrong wireType = %d for field WindowsDesktop", wireType) 44338 } 44339 var stringLen uint64 44340 for shift := uint(0); ; shift += 7 { 44341 if shift >= 64 { 44342 return ErrIntOverflowAuthservice 44343 } 44344 if iNdEx >= l { 44345 return io.ErrUnexpectedEOF 44346 } 44347 b := dAtA[iNdEx] 44348 iNdEx++ 44349 stringLen |= uint64(b&0x7F) << shift 44350 if b < 0x80 { 44351 break 44352 } 44353 } 44354 intStringLen := int(stringLen) 44355 if intStringLen < 0 { 44356 return ErrInvalidLengthAuthservice 44357 } 44358 postIndex := iNdEx + intStringLen 44359 if postIndex < 0 { 44360 return ErrInvalidLengthAuthservice 44361 } 44362 if postIndex > l { 44363 return io.ErrUnexpectedEOF 44364 } 44365 m.WindowsDesktop = string(dAtA[iNdEx:postIndex]) 44366 iNdEx = postIndex 44367 case 2: 44368 if wireType != 2 { 44369 return fmt.Errorf("proto: wrong wireType = %d for field Login", wireType) 44370 } 44371 var stringLen uint64 44372 for shift := uint(0); ; shift += 7 { 44373 if shift >= 64 { 44374 return ErrIntOverflowAuthservice 44375 } 44376 if iNdEx >= l { 44377 return io.ErrUnexpectedEOF 44378 } 44379 b := dAtA[iNdEx] 44380 iNdEx++ 44381 stringLen |= uint64(b&0x7F) << shift 44382 if b < 0x80 { 44383 break 44384 } 44385 } 44386 intStringLen := int(stringLen) 44387 if intStringLen < 0 { 44388 return ErrInvalidLengthAuthservice 44389 } 44390 postIndex := iNdEx + intStringLen 44391 if postIndex < 0 { 44392 return ErrInvalidLengthAuthservice 44393 } 44394 if postIndex > l { 44395 return io.ErrUnexpectedEOF 44396 } 44397 m.Login = string(dAtA[iNdEx:postIndex]) 44398 iNdEx = postIndex 44399 default: 44400 iNdEx = preIndex 44401 skippy, err := skipAuthservice(dAtA[iNdEx:]) 44402 if err != nil { 44403 return err 44404 } 44405 if (skippy < 0) || (iNdEx+skippy) < 0 { 44406 return ErrInvalidLengthAuthservice 44407 } 44408 if (iNdEx + skippy) > l { 44409 return io.ErrUnexpectedEOF 44410 } 44411 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 44412 iNdEx += skippy 44413 } 44414 } 44415 44416 if iNdEx > l { 44417 return io.ErrUnexpectedEOF 44418 } 44419 return nil 44420 } 44421 func (m *RouteToApp) Unmarshal(dAtA []byte) error { 44422 l := len(dAtA) 44423 iNdEx := 0 44424 for iNdEx < l { 44425 preIndex := iNdEx 44426 var wire uint64 44427 for shift := uint(0); ; shift += 7 { 44428 if shift >= 64 { 44429 return ErrIntOverflowAuthservice 44430 } 44431 if iNdEx >= l { 44432 return io.ErrUnexpectedEOF 44433 } 44434 b := dAtA[iNdEx] 44435 iNdEx++ 44436 wire |= uint64(b&0x7F) << shift 44437 if b < 0x80 { 44438 break 44439 } 44440 } 44441 fieldNum := int32(wire >> 3) 44442 wireType := int(wire & 0x7) 44443 if wireType == 4 { 44444 return fmt.Errorf("proto: RouteToApp: wiretype end group for non-group") 44445 } 44446 if fieldNum <= 0 { 44447 return fmt.Errorf("proto: RouteToApp: illegal tag %d (wire type %d)", fieldNum, wire) 44448 } 44449 switch fieldNum { 44450 case 1: 44451 if wireType != 2 { 44452 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 44453 } 44454 var stringLen uint64 44455 for shift := uint(0); ; shift += 7 { 44456 if shift >= 64 { 44457 return ErrIntOverflowAuthservice 44458 } 44459 if iNdEx >= l { 44460 return io.ErrUnexpectedEOF 44461 } 44462 b := dAtA[iNdEx] 44463 iNdEx++ 44464 stringLen |= uint64(b&0x7F) << shift 44465 if b < 0x80 { 44466 break 44467 } 44468 } 44469 intStringLen := int(stringLen) 44470 if intStringLen < 0 { 44471 return ErrInvalidLengthAuthservice 44472 } 44473 postIndex := iNdEx + intStringLen 44474 if postIndex < 0 { 44475 return ErrInvalidLengthAuthservice 44476 } 44477 if postIndex > l { 44478 return io.ErrUnexpectedEOF 44479 } 44480 m.Name = string(dAtA[iNdEx:postIndex]) 44481 iNdEx = postIndex 44482 case 2: 44483 if wireType != 2 { 44484 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 44485 } 44486 var stringLen uint64 44487 for shift := uint(0); ; shift += 7 { 44488 if shift >= 64 { 44489 return ErrIntOverflowAuthservice 44490 } 44491 if iNdEx >= l { 44492 return io.ErrUnexpectedEOF 44493 } 44494 b := dAtA[iNdEx] 44495 iNdEx++ 44496 stringLen |= uint64(b&0x7F) << shift 44497 if b < 0x80 { 44498 break 44499 } 44500 } 44501 intStringLen := int(stringLen) 44502 if intStringLen < 0 { 44503 return ErrInvalidLengthAuthservice 44504 } 44505 postIndex := iNdEx + intStringLen 44506 if postIndex < 0 { 44507 return ErrInvalidLengthAuthservice 44508 } 44509 if postIndex > l { 44510 return io.ErrUnexpectedEOF 44511 } 44512 m.SessionID = string(dAtA[iNdEx:postIndex]) 44513 iNdEx = postIndex 44514 case 3: 44515 if wireType != 2 { 44516 return fmt.Errorf("proto: wrong wireType = %d for field PublicAddr", wireType) 44517 } 44518 var stringLen uint64 44519 for shift := uint(0); ; shift += 7 { 44520 if shift >= 64 { 44521 return ErrIntOverflowAuthservice 44522 } 44523 if iNdEx >= l { 44524 return io.ErrUnexpectedEOF 44525 } 44526 b := dAtA[iNdEx] 44527 iNdEx++ 44528 stringLen |= uint64(b&0x7F) << shift 44529 if b < 0x80 { 44530 break 44531 } 44532 } 44533 intStringLen := int(stringLen) 44534 if intStringLen < 0 { 44535 return ErrInvalidLengthAuthservice 44536 } 44537 postIndex := iNdEx + intStringLen 44538 if postIndex < 0 { 44539 return ErrInvalidLengthAuthservice 44540 } 44541 if postIndex > l { 44542 return io.ErrUnexpectedEOF 44543 } 44544 m.PublicAddr = string(dAtA[iNdEx:postIndex]) 44545 iNdEx = postIndex 44546 case 4: 44547 if wireType != 2 { 44548 return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) 44549 } 44550 var stringLen uint64 44551 for shift := uint(0); ; shift += 7 { 44552 if shift >= 64 { 44553 return ErrIntOverflowAuthservice 44554 } 44555 if iNdEx >= l { 44556 return io.ErrUnexpectedEOF 44557 } 44558 b := dAtA[iNdEx] 44559 iNdEx++ 44560 stringLen |= uint64(b&0x7F) << shift 44561 if b < 0x80 { 44562 break 44563 } 44564 } 44565 intStringLen := int(stringLen) 44566 if intStringLen < 0 { 44567 return ErrInvalidLengthAuthservice 44568 } 44569 postIndex := iNdEx + intStringLen 44570 if postIndex < 0 { 44571 return ErrInvalidLengthAuthservice 44572 } 44573 if postIndex > l { 44574 return io.ErrUnexpectedEOF 44575 } 44576 m.ClusterName = string(dAtA[iNdEx:postIndex]) 44577 iNdEx = postIndex 44578 case 5: 44579 if wireType != 2 { 44580 return fmt.Errorf("proto: wrong wireType = %d for field AWSRoleARN", wireType) 44581 } 44582 var stringLen uint64 44583 for shift := uint(0); ; shift += 7 { 44584 if shift >= 64 { 44585 return ErrIntOverflowAuthservice 44586 } 44587 if iNdEx >= l { 44588 return io.ErrUnexpectedEOF 44589 } 44590 b := dAtA[iNdEx] 44591 iNdEx++ 44592 stringLen |= uint64(b&0x7F) << shift 44593 if b < 0x80 { 44594 break 44595 } 44596 } 44597 intStringLen := int(stringLen) 44598 if intStringLen < 0 { 44599 return ErrInvalidLengthAuthservice 44600 } 44601 postIndex := iNdEx + intStringLen 44602 if postIndex < 0 { 44603 return ErrInvalidLengthAuthservice 44604 } 44605 if postIndex > l { 44606 return io.ErrUnexpectedEOF 44607 } 44608 m.AWSRoleARN = string(dAtA[iNdEx:postIndex]) 44609 iNdEx = postIndex 44610 case 6: 44611 if wireType != 2 { 44612 return fmt.Errorf("proto: wrong wireType = %d for field AzureIdentity", wireType) 44613 } 44614 var stringLen uint64 44615 for shift := uint(0); ; shift += 7 { 44616 if shift >= 64 { 44617 return ErrIntOverflowAuthservice 44618 } 44619 if iNdEx >= l { 44620 return io.ErrUnexpectedEOF 44621 } 44622 b := dAtA[iNdEx] 44623 iNdEx++ 44624 stringLen |= uint64(b&0x7F) << shift 44625 if b < 0x80 { 44626 break 44627 } 44628 } 44629 intStringLen := int(stringLen) 44630 if intStringLen < 0 { 44631 return ErrInvalidLengthAuthservice 44632 } 44633 postIndex := iNdEx + intStringLen 44634 if postIndex < 0 { 44635 return ErrInvalidLengthAuthservice 44636 } 44637 if postIndex > l { 44638 return io.ErrUnexpectedEOF 44639 } 44640 m.AzureIdentity = string(dAtA[iNdEx:postIndex]) 44641 iNdEx = postIndex 44642 case 7: 44643 if wireType != 2 { 44644 return fmt.Errorf("proto: wrong wireType = %d for field GCPServiceAccount", wireType) 44645 } 44646 var stringLen uint64 44647 for shift := uint(0); ; shift += 7 { 44648 if shift >= 64 { 44649 return ErrIntOverflowAuthservice 44650 } 44651 if iNdEx >= l { 44652 return io.ErrUnexpectedEOF 44653 } 44654 b := dAtA[iNdEx] 44655 iNdEx++ 44656 stringLen |= uint64(b&0x7F) << shift 44657 if b < 0x80 { 44658 break 44659 } 44660 } 44661 intStringLen := int(stringLen) 44662 if intStringLen < 0 { 44663 return ErrInvalidLengthAuthservice 44664 } 44665 postIndex := iNdEx + intStringLen 44666 if postIndex < 0 { 44667 return ErrInvalidLengthAuthservice 44668 } 44669 if postIndex > l { 44670 return io.ErrUnexpectedEOF 44671 } 44672 m.GCPServiceAccount = string(dAtA[iNdEx:postIndex]) 44673 iNdEx = postIndex 44674 default: 44675 iNdEx = preIndex 44676 skippy, err := skipAuthservice(dAtA[iNdEx:]) 44677 if err != nil { 44678 return err 44679 } 44680 if (skippy < 0) || (iNdEx+skippy) < 0 { 44681 return ErrInvalidLengthAuthservice 44682 } 44683 if (iNdEx + skippy) > l { 44684 return io.ErrUnexpectedEOF 44685 } 44686 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 44687 iNdEx += skippy 44688 } 44689 } 44690 44691 if iNdEx > l { 44692 return io.ErrUnexpectedEOF 44693 } 44694 return nil 44695 } 44696 func (m *GetUserRequest) Unmarshal(dAtA []byte) error { 44697 l := len(dAtA) 44698 iNdEx := 0 44699 for iNdEx < l { 44700 preIndex := iNdEx 44701 var wire uint64 44702 for shift := uint(0); ; shift += 7 { 44703 if shift >= 64 { 44704 return ErrIntOverflowAuthservice 44705 } 44706 if iNdEx >= l { 44707 return io.ErrUnexpectedEOF 44708 } 44709 b := dAtA[iNdEx] 44710 iNdEx++ 44711 wire |= uint64(b&0x7F) << shift 44712 if b < 0x80 { 44713 break 44714 } 44715 } 44716 fieldNum := int32(wire >> 3) 44717 wireType := int(wire & 0x7) 44718 if wireType == 4 { 44719 return fmt.Errorf("proto: GetUserRequest: wiretype end group for non-group") 44720 } 44721 if fieldNum <= 0 { 44722 return fmt.Errorf("proto: GetUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) 44723 } 44724 switch fieldNum { 44725 case 1: 44726 if wireType != 2 { 44727 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 44728 } 44729 var stringLen uint64 44730 for shift := uint(0); ; shift += 7 { 44731 if shift >= 64 { 44732 return ErrIntOverflowAuthservice 44733 } 44734 if iNdEx >= l { 44735 return io.ErrUnexpectedEOF 44736 } 44737 b := dAtA[iNdEx] 44738 iNdEx++ 44739 stringLen |= uint64(b&0x7F) << shift 44740 if b < 0x80 { 44741 break 44742 } 44743 } 44744 intStringLen := int(stringLen) 44745 if intStringLen < 0 { 44746 return ErrInvalidLengthAuthservice 44747 } 44748 postIndex := iNdEx + intStringLen 44749 if postIndex < 0 { 44750 return ErrInvalidLengthAuthservice 44751 } 44752 if postIndex > l { 44753 return io.ErrUnexpectedEOF 44754 } 44755 m.Name = string(dAtA[iNdEx:postIndex]) 44756 iNdEx = postIndex 44757 case 2: 44758 if wireType != 0 { 44759 return fmt.Errorf("proto: wrong wireType = %d for field WithSecrets", wireType) 44760 } 44761 var v int 44762 for shift := uint(0); ; shift += 7 { 44763 if shift >= 64 { 44764 return ErrIntOverflowAuthservice 44765 } 44766 if iNdEx >= l { 44767 return io.ErrUnexpectedEOF 44768 } 44769 b := dAtA[iNdEx] 44770 iNdEx++ 44771 v |= int(b&0x7F) << shift 44772 if b < 0x80 { 44773 break 44774 } 44775 } 44776 m.WithSecrets = bool(v != 0) 44777 default: 44778 iNdEx = preIndex 44779 skippy, err := skipAuthservice(dAtA[iNdEx:]) 44780 if err != nil { 44781 return err 44782 } 44783 if (skippy < 0) || (iNdEx+skippy) < 0 { 44784 return ErrInvalidLengthAuthservice 44785 } 44786 if (iNdEx + skippy) > l { 44787 return io.ErrUnexpectedEOF 44788 } 44789 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 44790 iNdEx += skippy 44791 } 44792 } 44793 44794 if iNdEx > l { 44795 return io.ErrUnexpectedEOF 44796 } 44797 return nil 44798 } 44799 func (m *GetUsersRequest) Unmarshal(dAtA []byte) error { 44800 l := len(dAtA) 44801 iNdEx := 0 44802 for iNdEx < l { 44803 preIndex := iNdEx 44804 var wire uint64 44805 for shift := uint(0); ; shift += 7 { 44806 if shift >= 64 { 44807 return ErrIntOverflowAuthservice 44808 } 44809 if iNdEx >= l { 44810 return io.ErrUnexpectedEOF 44811 } 44812 b := dAtA[iNdEx] 44813 iNdEx++ 44814 wire |= uint64(b&0x7F) << shift 44815 if b < 0x80 { 44816 break 44817 } 44818 } 44819 fieldNum := int32(wire >> 3) 44820 wireType := int(wire & 0x7) 44821 if wireType == 4 { 44822 return fmt.Errorf("proto: GetUsersRequest: wiretype end group for non-group") 44823 } 44824 if fieldNum <= 0 { 44825 return fmt.Errorf("proto: GetUsersRequest: illegal tag %d (wire type %d)", fieldNum, wire) 44826 } 44827 switch fieldNum { 44828 case 1: 44829 if wireType != 0 { 44830 return fmt.Errorf("proto: wrong wireType = %d for field WithSecrets", wireType) 44831 } 44832 var v int 44833 for shift := uint(0); ; shift += 7 { 44834 if shift >= 64 { 44835 return ErrIntOverflowAuthservice 44836 } 44837 if iNdEx >= l { 44838 return io.ErrUnexpectedEOF 44839 } 44840 b := dAtA[iNdEx] 44841 iNdEx++ 44842 v |= int(b&0x7F) << shift 44843 if b < 0x80 { 44844 break 44845 } 44846 } 44847 m.WithSecrets = bool(v != 0) 44848 default: 44849 iNdEx = preIndex 44850 skippy, err := skipAuthservice(dAtA[iNdEx:]) 44851 if err != nil { 44852 return err 44853 } 44854 if (skippy < 0) || (iNdEx+skippy) < 0 { 44855 return ErrInvalidLengthAuthservice 44856 } 44857 if (iNdEx + skippy) > l { 44858 return io.ErrUnexpectedEOF 44859 } 44860 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 44861 iNdEx += skippy 44862 } 44863 } 44864 44865 if iNdEx > l { 44866 return io.ErrUnexpectedEOF 44867 } 44868 return nil 44869 } 44870 func (m *ChangePasswordRequest) Unmarshal(dAtA []byte) error { 44871 l := len(dAtA) 44872 iNdEx := 0 44873 for iNdEx < l { 44874 preIndex := iNdEx 44875 var wire uint64 44876 for shift := uint(0); ; shift += 7 { 44877 if shift >= 64 { 44878 return ErrIntOverflowAuthservice 44879 } 44880 if iNdEx >= l { 44881 return io.ErrUnexpectedEOF 44882 } 44883 b := dAtA[iNdEx] 44884 iNdEx++ 44885 wire |= uint64(b&0x7F) << shift 44886 if b < 0x80 { 44887 break 44888 } 44889 } 44890 fieldNum := int32(wire >> 3) 44891 wireType := int(wire & 0x7) 44892 if wireType == 4 { 44893 return fmt.Errorf("proto: ChangePasswordRequest: wiretype end group for non-group") 44894 } 44895 if fieldNum <= 0 { 44896 return fmt.Errorf("proto: ChangePasswordRequest: illegal tag %d (wire type %d)", fieldNum, wire) 44897 } 44898 switch fieldNum { 44899 case 1: 44900 if wireType != 2 { 44901 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 44902 } 44903 var stringLen uint64 44904 for shift := uint(0); ; shift += 7 { 44905 if shift >= 64 { 44906 return ErrIntOverflowAuthservice 44907 } 44908 if iNdEx >= l { 44909 return io.ErrUnexpectedEOF 44910 } 44911 b := dAtA[iNdEx] 44912 iNdEx++ 44913 stringLen |= uint64(b&0x7F) << shift 44914 if b < 0x80 { 44915 break 44916 } 44917 } 44918 intStringLen := int(stringLen) 44919 if intStringLen < 0 { 44920 return ErrInvalidLengthAuthservice 44921 } 44922 postIndex := iNdEx + intStringLen 44923 if postIndex < 0 { 44924 return ErrInvalidLengthAuthservice 44925 } 44926 if postIndex > l { 44927 return io.ErrUnexpectedEOF 44928 } 44929 m.User = string(dAtA[iNdEx:postIndex]) 44930 iNdEx = postIndex 44931 case 2: 44932 if wireType != 2 { 44933 return fmt.Errorf("proto: wrong wireType = %d for field OldPassword", wireType) 44934 } 44935 var byteLen int 44936 for shift := uint(0); ; shift += 7 { 44937 if shift >= 64 { 44938 return ErrIntOverflowAuthservice 44939 } 44940 if iNdEx >= l { 44941 return io.ErrUnexpectedEOF 44942 } 44943 b := dAtA[iNdEx] 44944 iNdEx++ 44945 byteLen |= int(b&0x7F) << shift 44946 if b < 0x80 { 44947 break 44948 } 44949 } 44950 if byteLen < 0 { 44951 return ErrInvalidLengthAuthservice 44952 } 44953 postIndex := iNdEx + byteLen 44954 if postIndex < 0 { 44955 return ErrInvalidLengthAuthservice 44956 } 44957 if postIndex > l { 44958 return io.ErrUnexpectedEOF 44959 } 44960 m.OldPassword = append(m.OldPassword[:0], dAtA[iNdEx:postIndex]...) 44961 if m.OldPassword == nil { 44962 m.OldPassword = []byte{} 44963 } 44964 iNdEx = postIndex 44965 case 3: 44966 if wireType != 2 { 44967 return fmt.Errorf("proto: wrong wireType = %d for field NewPassword", wireType) 44968 } 44969 var byteLen int 44970 for shift := uint(0); ; shift += 7 { 44971 if shift >= 64 { 44972 return ErrIntOverflowAuthservice 44973 } 44974 if iNdEx >= l { 44975 return io.ErrUnexpectedEOF 44976 } 44977 b := dAtA[iNdEx] 44978 iNdEx++ 44979 byteLen |= int(b&0x7F) << shift 44980 if b < 0x80 { 44981 break 44982 } 44983 } 44984 if byteLen < 0 { 44985 return ErrInvalidLengthAuthservice 44986 } 44987 postIndex := iNdEx + byteLen 44988 if postIndex < 0 { 44989 return ErrInvalidLengthAuthservice 44990 } 44991 if postIndex > l { 44992 return io.ErrUnexpectedEOF 44993 } 44994 m.NewPassword = append(m.NewPassword[:0], dAtA[iNdEx:postIndex]...) 44995 if m.NewPassword == nil { 44996 m.NewPassword = []byte{} 44997 } 44998 iNdEx = postIndex 44999 case 4: 45000 if wireType != 2 { 45001 return fmt.Errorf("proto: wrong wireType = %d for field SecondFactorToken", wireType) 45002 } 45003 var stringLen uint64 45004 for shift := uint(0); ; shift += 7 { 45005 if shift >= 64 { 45006 return ErrIntOverflowAuthservice 45007 } 45008 if iNdEx >= l { 45009 return io.ErrUnexpectedEOF 45010 } 45011 b := dAtA[iNdEx] 45012 iNdEx++ 45013 stringLen |= uint64(b&0x7F) << shift 45014 if b < 0x80 { 45015 break 45016 } 45017 } 45018 intStringLen := int(stringLen) 45019 if intStringLen < 0 { 45020 return ErrInvalidLengthAuthservice 45021 } 45022 postIndex := iNdEx + intStringLen 45023 if postIndex < 0 { 45024 return ErrInvalidLengthAuthservice 45025 } 45026 if postIndex > l { 45027 return io.ErrUnexpectedEOF 45028 } 45029 m.SecondFactorToken = string(dAtA[iNdEx:postIndex]) 45030 iNdEx = postIndex 45031 case 5: 45032 if wireType != 2 { 45033 return fmt.Errorf("proto: wrong wireType = %d for field Webauthn", wireType) 45034 } 45035 var msglen int 45036 for shift := uint(0); ; shift += 7 { 45037 if shift >= 64 { 45038 return ErrIntOverflowAuthservice 45039 } 45040 if iNdEx >= l { 45041 return io.ErrUnexpectedEOF 45042 } 45043 b := dAtA[iNdEx] 45044 iNdEx++ 45045 msglen |= int(b&0x7F) << shift 45046 if b < 0x80 { 45047 break 45048 } 45049 } 45050 if msglen < 0 { 45051 return ErrInvalidLengthAuthservice 45052 } 45053 postIndex := iNdEx + msglen 45054 if postIndex < 0 { 45055 return ErrInvalidLengthAuthservice 45056 } 45057 if postIndex > l { 45058 return io.ErrUnexpectedEOF 45059 } 45060 if m.Webauthn == nil { 45061 m.Webauthn = &webauthn.CredentialAssertionResponse{} 45062 } 45063 if err := m.Webauthn.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 45064 return err 45065 } 45066 iNdEx = postIndex 45067 default: 45068 iNdEx = preIndex 45069 skippy, err := skipAuthservice(dAtA[iNdEx:]) 45070 if err != nil { 45071 return err 45072 } 45073 if (skippy < 0) || (iNdEx+skippy) < 0 { 45074 return ErrInvalidLengthAuthservice 45075 } 45076 if (iNdEx + skippy) > l { 45077 return io.ErrUnexpectedEOF 45078 } 45079 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 45080 iNdEx += skippy 45081 } 45082 } 45083 45084 if iNdEx > l { 45085 return io.ErrUnexpectedEOF 45086 } 45087 return nil 45088 } 45089 func (m *PluginDataSeq) Unmarshal(dAtA []byte) error { 45090 l := len(dAtA) 45091 iNdEx := 0 45092 for iNdEx < l { 45093 preIndex := iNdEx 45094 var wire uint64 45095 for shift := uint(0); ; shift += 7 { 45096 if shift >= 64 { 45097 return ErrIntOverflowAuthservice 45098 } 45099 if iNdEx >= l { 45100 return io.ErrUnexpectedEOF 45101 } 45102 b := dAtA[iNdEx] 45103 iNdEx++ 45104 wire |= uint64(b&0x7F) << shift 45105 if b < 0x80 { 45106 break 45107 } 45108 } 45109 fieldNum := int32(wire >> 3) 45110 wireType := int(wire & 0x7) 45111 if wireType == 4 { 45112 return fmt.Errorf("proto: PluginDataSeq: wiretype end group for non-group") 45113 } 45114 if fieldNum <= 0 { 45115 return fmt.Errorf("proto: PluginDataSeq: illegal tag %d (wire type %d)", fieldNum, wire) 45116 } 45117 switch fieldNum { 45118 case 1: 45119 if wireType != 2 { 45120 return fmt.Errorf("proto: wrong wireType = %d for field PluginData", wireType) 45121 } 45122 var msglen int 45123 for shift := uint(0); ; shift += 7 { 45124 if shift >= 64 { 45125 return ErrIntOverflowAuthservice 45126 } 45127 if iNdEx >= l { 45128 return io.ErrUnexpectedEOF 45129 } 45130 b := dAtA[iNdEx] 45131 iNdEx++ 45132 msglen |= int(b&0x7F) << shift 45133 if b < 0x80 { 45134 break 45135 } 45136 } 45137 if msglen < 0 { 45138 return ErrInvalidLengthAuthservice 45139 } 45140 postIndex := iNdEx + msglen 45141 if postIndex < 0 { 45142 return ErrInvalidLengthAuthservice 45143 } 45144 if postIndex > l { 45145 return io.ErrUnexpectedEOF 45146 } 45147 m.PluginData = append(m.PluginData, &types.PluginDataV3{}) 45148 if err := m.PluginData[len(m.PluginData)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 45149 return err 45150 } 45151 iNdEx = postIndex 45152 default: 45153 iNdEx = preIndex 45154 skippy, err := skipAuthservice(dAtA[iNdEx:]) 45155 if err != nil { 45156 return err 45157 } 45158 if (skippy < 0) || (iNdEx+skippy) < 0 { 45159 return ErrInvalidLengthAuthservice 45160 } 45161 if (iNdEx + skippy) > l { 45162 return io.ErrUnexpectedEOF 45163 } 45164 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 45165 iNdEx += skippy 45166 } 45167 } 45168 45169 if iNdEx > l { 45170 return io.ErrUnexpectedEOF 45171 } 45172 return nil 45173 } 45174 func (m *RequestStateSetter) Unmarshal(dAtA []byte) error { 45175 l := len(dAtA) 45176 iNdEx := 0 45177 for iNdEx < l { 45178 preIndex := iNdEx 45179 var wire uint64 45180 for shift := uint(0); ; shift += 7 { 45181 if shift >= 64 { 45182 return ErrIntOverflowAuthservice 45183 } 45184 if iNdEx >= l { 45185 return io.ErrUnexpectedEOF 45186 } 45187 b := dAtA[iNdEx] 45188 iNdEx++ 45189 wire |= uint64(b&0x7F) << shift 45190 if b < 0x80 { 45191 break 45192 } 45193 } 45194 fieldNum := int32(wire >> 3) 45195 wireType := int(wire & 0x7) 45196 if wireType == 4 { 45197 return fmt.Errorf("proto: RequestStateSetter: wiretype end group for non-group") 45198 } 45199 if fieldNum <= 0 { 45200 return fmt.Errorf("proto: RequestStateSetter: illegal tag %d (wire type %d)", fieldNum, wire) 45201 } 45202 switch fieldNum { 45203 case 1: 45204 if wireType != 2 { 45205 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 45206 } 45207 var stringLen uint64 45208 for shift := uint(0); ; shift += 7 { 45209 if shift >= 64 { 45210 return ErrIntOverflowAuthservice 45211 } 45212 if iNdEx >= l { 45213 return io.ErrUnexpectedEOF 45214 } 45215 b := dAtA[iNdEx] 45216 iNdEx++ 45217 stringLen |= uint64(b&0x7F) << shift 45218 if b < 0x80 { 45219 break 45220 } 45221 } 45222 intStringLen := int(stringLen) 45223 if intStringLen < 0 { 45224 return ErrInvalidLengthAuthservice 45225 } 45226 postIndex := iNdEx + intStringLen 45227 if postIndex < 0 { 45228 return ErrInvalidLengthAuthservice 45229 } 45230 if postIndex > l { 45231 return io.ErrUnexpectedEOF 45232 } 45233 m.ID = string(dAtA[iNdEx:postIndex]) 45234 iNdEx = postIndex 45235 case 2: 45236 if wireType != 0 { 45237 return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) 45238 } 45239 m.State = 0 45240 for shift := uint(0); ; shift += 7 { 45241 if shift >= 64 { 45242 return ErrIntOverflowAuthservice 45243 } 45244 if iNdEx >= l { 45245 return io.ErrUnexpectedEOF 45246 } 45247 b := dAtA[iNdEx] 45248 iNdEx++ 45249 m.State |= types.RequestState(b&0x7F) << shift 45250 if b < 0x80 { 45251 break 45252 } 45253 } 45254 case 3: 45255 if wireType != 2 { 45256 return fmt.Errorf("proto: wrong wireType = %d for field Delegator", wireType) 45257 } 45258 var stringLen uint64 45259 for shift := uint(0); ; shift += 7 { 45260 if shift >= 64 { 45261 return ErrIntOverflowAuthservice 45262 } 45263 if iNdEx >= l { 45264 return io.ErrUnexpectedEOF 45265 } 45266 b := dAtA[iNdEx] 45267 iNdEx++ 45268 stringLen |= uint64(b&0x7F) << shift 45269 if b < 0x80 { 45270 break 45271 } 45272 } 45273 intStringLen := int(stringLen) 45274 if intStringLen < 0 { 45275 return ErrInvalidLengthAuthservice 45276 } 45277 postIndex := iNdEx + intStringLen 45278 if postIndex < 0 { 45279 return ErrInvalidLengthAuthservice 45280 } 45281 if postIndex > l { 45282 return io.ErrUnexpectedEOF 45283 } 45284 m.Delegator = string(dAtA[iNdEx:postIndex]) 45285 iNdEx = postIndex 45286 case 4: 45287 if wireType != 2 { 45288 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) 45289 } 45290 var stringLen uint64 45291 for shift := uint(0); ; shift += 7 { 45292 if shift >= 64 { 45293 return ErrIntOverflowAuthservice 45294 } 45295 if iNdEx >= l { 45296 return io.ErrUnexpectedEOF 45297 } 45298 b := dAtA[iNdEx] 45299 iNdEx++ 45300 stringLen |= uint64(b&0x7F) << shift 45301 if b < 0x80 { 45302 break 45303 } 45304 } 45305 intStringLen := int(stringLen) 45306 if intStringLen < 0 { 45307 return ErrInvalidLengthAuthservice 45308 } 45309 postIndex := iNdEx + intStringLen 45310 if postIndex < 0 { 45311 return ErrInvalidLengthAuthservice 45312 } 45313 if postIndex > l { 45314 return io.ErrUnexpectedEOF 45315 } 45316 m.Reason = string(dAtA[iNdEx:postIndex]) 45317 iNdEx = postIndex 45318 case 5: 45319 if wireType != 2 { 45320 return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType) 45321 } 45322 var msglen int 45323 for shift := uint(0); ; shift += 7 { 45324 if shift >= 64 { 45325 return ErrIntOverflowAuthservice 45326 } 45327 if iNdEx >= l { 45328 return io.ErrUnexpectedEOF 45329 } 45330 b := dAtA[iNdEx] 45331 iNdEx++ 45332 msglen |= int(b&0x7F) << shift 45333 if b < 0x80 { 45334 break 45335 } 45336 } 45337 if msglen < 0 { 45338 return ErrInvalidLengthAuthservice 45339 } 45340 postIndex := iNdEx + msglen 45341 if postIndex < 0 { 45342 return ErrInvalidLengthAuthservice 45343 } 45344 if postIndex > l { 45345 return io.ErrUnexpectedEOF 45346 } 45347 if err := m.Annotations.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 45348 return err 45349 } 45350 iNdEx = postIndex 45351 case 6: 45352 if wireType != 2 { 45353 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 45354 } 45355 var stringLen uint64 45356 for shift := uint(0); ; shift += 7 { 45357 if shift >= 64 { 45358 return ErrIntOverflowAuthservice 45359 } 45360 if iNdEx >= l { 45361 return io.ErrUnexpectedEOF 45362 } 45363 b := dAtA[iNdEx] 45364 iNdEx++ 45365 stringLen |= uint64(b&0x7F) << shift 45366 if b < 0x80 { 45367 break 45368 } 45369 } 45370 intStringLen := int(stringLen) 45371 if intStringLen < 0 { 45372 return ErrInvalidLengthAuthservice 45373 } 45374 postIndex := iNdEx + intStringLen 45375 if postIndex < 0 { 45376 return ErrInvalidLengthAuthservice 45377 } 45378 if postIndex > l { 45379 return io.ErrUnexpectedEOF 45380 } 45381 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 45382 iNdEx = postIndex 45383 case 7: 45384 if wireType != 2 { 45385 return fmt.Errorf("proto: wrong wireType = %d for field AssumeStartTime", wireType) 45386 } 45387 var msglen int 45388 for shift := uint(0); ; shift += 7 { 45389 if shift >= 64 { 45390 return ErrIntOverflowAuthservice 45391 } 45392 if iNdEx >= l { 45393 return io.ErrUnexpectedEOF 45394 } 45395 b := dAtA[iNdEx] 45396 iNdEx++ 45397 msglen |= int(b&0x7F) << shift 45398 if b < 0x80 { 45399 break 45400 } 45401 } 45402 if msglen < 0 { 45403 return ErrInvalidLengthAuthservice 45404 } 45405 postIndex := iNdEx + msglen 45406 if postIndex < 0 { 45407 return ErrInvalidLengthAuthservice 45408 } 45409 if postIndex > l { 45410 return io.ErrUnexpectedEOF 45411 } 45412 if m.AssumeStartTime == nil { 45413 m.AssumeStartTime = new(time.Time) 45414 } 45415 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.AssumeStartTime, dAtA[iNdEx:postIndex]); err != nil { 45416 return err 45417 } 45418 iNdEx = postIndex 45419 default: 45420 iNdEx = preIndex 45421 skippy, err := skipAuthservice(dAtA[iNdEx:]) 45422 if err != nil { 45423 return err 45424 } 45425 if (skippy < 0) || (iNdEx+skippy) < 0 { 45426 return ErrInvalidLengthAuthservice 45427 } 45428 if (iNdEx + skippy) > l { 45429 return io.ErrUnexpectedEOF 45430 } 45431 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 45432 iNdEx += skippy 45433 } 45434 } 45435 45436 if iNdEx > l { 45437 return io.ErrUnexpectedEOF 45438 } 45439 return nil 45440 } 45441 func (m *RequestID) Unmarshal(dAtA []byte) error { 45442 l := len(dAtA) 45443 iNdEx := 0 45444 for iNdEx < l { 45445 preIndex := iNdEx 45446 var wire uint64 45447 for shift := uint(0); ; shift += 7 { 45448 if shift >= 64 { 45449 return ErrIntOverflowAuthservice 45450 } 45451 if iNdEx >= l { 45452 return io.ErrUnexpectedEOF 45453 } 45454 b := dAtA[iNdEx] 45455 iNdEx++ 45456 wire |= uint64(b&0x7F) << shift 45457 if b < 0x80 { 45458 break 45459 } 45460 } 45461 fieldNum := int32(wire >> 3) 45462 wireType := int(wire & 0x7) 45463 if wireType == 4 { 45464 return fmt.Errorf("proto: RequestID: wiretype end group for non-group") 45465 } 45466 if fieldNum <= 0 { 45467 return fmt.Errorf("proto: RequestID: illegal tag %d (wire type %d)", fieldNum, wire) 45468 } 45469 switch fieldNum { 45470 case 1: 45471 if wireType != 2 { 45472 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 45473 } 45474 var stringLen uint64 45475 for shift := uint(0); ; shift += 7 { 45476 if shift >= 64 { 45477 return ErrIntOverflowAuthservice 45478 } 45479 if iNdEx >= l { 45480 return io.ErrUnexpectedEOF 45481 } 45482 b := dAtA[iNdEx] 45483 iNdEx++ 45484 stringLen |= uint64(b&0x7F) << shift 45485 if b < 0x80 { 45486 break 45487 } 45488 } 45489 intStringLen := int(stringLen) 45490 if intStringLen < 0 { 45491 return ErrInvalidLengthAuthservice 45492 } 45493 postIndex := iNdEx + intStringLen 45494 if postIndex < 0 { 45495 return ErrInvalidLengthAuthservice 45496 } 45497 if postIndex > l { 45498 return io.ErrUnexpectedEOF 45499 } 45500 m.ID = string(dAtA[iNdEx:postIndex]) 45501 iNdEx = postIndex 45502 default: 45503 iNdEx = preIndex 45504 skippy, err := skipAuthservice(dAtA[iNdEx:]) 45505 if err != nil { 45506 return err 45507 } 45508 if (skippy < 0) || (iNdEx+skippy) < 0 { 45509 return ErrInvalidLengthAuthservice 45510 } 45511 if (iNdEx + skippy) > l { 45512 return io.ErrUnexpectedEOF 45513 } 45514 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 45515 iNdEx += skippy 45516 } 45517 } 45518 45519 if iNdEx > l { 45520 return io.ErrUnexpectedEOF 45521 } 45522 return nil 45523 } 45524 func (m *GetResetPasswordTokenRequest) Unmarshal(dAtA []byte) error { 45525 l := len(dAtA) 45526 iNdEx := 0 45527 for iNdEx < l { 45528 preIndex := iNdEx 45529 var wire uint64 45530 for shift := uint(0); ; shift += 7 { 45531 if shift >= 64 { 45532 return ErrIntOverflowAuthservice 45533 } 45534 if iNdEx >= l { 45535 return io.ErrUnexpectedEOF 45536 } 45537 b := dAtA[iNdEx] 45538 iNdEx++ 45539 wire |= uint64(b&0x7F) << shift 45540 if b < 0x80 { 45541 break 45542 } 45543 } 45544 fieldNum := int32(wire >> 3) 45545 wireType := int(wire & 0x7) 45546 if wireType == 4 { 45547 return fmt.Errorf("proto: GetResetPasswordTokenRequest: wiretype end group for non-group") 45548 } 45549 if fieldNum <= 0 { 45550 return fmt.Errorf("proto: GetResetPasswordTokenRequest: illegal tag %d (wire type %d)", fieldNum, wire) 45551 } 45552 switch fieldNum { 45553 case 1: 45554 if wireType != 2 { 45555 return fmt.Errorf("proto: wrong wireType = %d for field TokenID", wireType) 45556 } 45557 var stringLen uint64 45558 for shift := uint(0); ; shift += 7 { 45559 if shift >= 64 { 45560 return ErrIntOverflowAuthservice 45561 } 45562 if iNdEx >= l { 45563 return io.ErrUnexpectedEOF 45564 } 45565 b := dAtA[iNdEx] 45566 iNdEx++ 45567 stringLen |= uint64(b&0x7F) << shift 45568 if b < 0x80 { 45569 break 45570 } 45571 } 45572 intStringLen := int(stringLen) 45573 if intStringLen < 0 { 45574 return ErrInvalidLengthAuthservice 45575 } 45576 postIndex := iNdEx + intStringLen 45577 if postIndex < 0 { 45578 return ErrInvalidLengthAuthservice 45579 } 45580 if postIndex > l { 45581 return io.ErrUnexpectedEOF 45582 } 45583 m.TokenID = string(dAtA[iNdEx:postIndex]) 45584 iNdEx = postIndex 45585 default: 45586 iNdEx = preIndex 45587 skippy, err := skipAuthservice(dAtA[iNdEx:]) 45588 if err != nil { 45589 return err 45590 } 45591 if (skippy < 0) || (iNdEx+skippy) < 0 { 45592 return ErrInvalidLengthAuthservice 45593 } 45594 if (iNdEx + skippy) > l { 45595 return io.ErrUnexpectedEOF 45596 } 45597 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 45598 iNdEx += skippy 45599 } 45600 } 45601 45602 if iNdEx > l { 45603 return io.ErrUnexpectedEOF 45604 } 45605 return nil 45606 } 45607 func (m *CreateResetPasswordTokenRequest) Unmarshal(dAtA []byte) error { 45608 l := len(dAtA) 45609 iNdEx := 0 45610 for iNdEx < l { 45611 preIndex := iNdEx 45612 var wire uint64 45613 for shift := uint(0); ; shift += 7 { 45614 if shift >= 64 { 45615 return ErrIntOverflowAuthservice 45616 } 45617 if iNdEx >= l { 45618 return io.ErrUnexpectedEOF 45619 } 45620 b := dAtA[iNdEx] 45621 iNdEx++ 45622 wire |= uint64(b&0x7F) << shift 45623 if b < 0x80 { 45624 break 45625 } 45626 } 45627 fieldNum := int32(wire >> 3) 45628 wireType := int(wire & 0x7) 45629 if wireType == 4 { 45630 return fmt.Errorf("proto: CreateResetPasswordTokenRequest: wiretype end group for non-group") 45631 } 45632 if fieldNum <= 0 { 45633 return fmt.Errorf("proto: CreateResetPasswordTokenRequest: illegal tag %d (wire type %d)", fieldNum, wire) 45634 } 45635 switch fieldNum { 45636 case 1: 45637 if wireType != 2 { 45638 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 45639 } 45640 var stringLen uint64 45641 for shift := uint(0); ; shift += 7 { 45642 if shift >= 64 { 45643 return ErrIntOverflowAuthservice 45644 } 45645 if iNdEx >= l { 45646 return io.ErrUnexpectedEOF 45647 } 45648 b := dAtA[iNdEx] 45649 iNdEx++ 45650 stringLen |= uint64(b&0x7F) << shift 45651 if b < 0x80 { 45652 break 45653 } 45654 } 45655 intStringLen := int(stringLen) 45656 if intStringLen < 0 { 45657 return ErrInvalidLengthAuthservice 45658 } 45659 postIndex := iNdEx + intStringLen 45660 if postIndex < 0 { 45661 return ErrInvalidLengthAuthservice 45662 } 45663 if postIndex > l { 45664 return io.ErrUnexpectedEOF 45665 } 45666 m.Name = string(dAtA[iNdEx:postIndex]) 45667 iNdEx = postIndex 45668 case 2: 45669 if wireType != 2 { 45670 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 45671 } 45672 var stringLen uint64 45673 for shift := uint(0); ; shift += 7 { 45674 if shift >= 64 { 45675 return ErrIntOverflowAuthservice 45676 } 45677 if iNdEx >= l { 45678 return io.ErrUnexpectedEOF 45679 } 45680 b := dAtA[iNdEx] 45681 iNdEx++ 45682 stringLen |= uint64(b&0x7F) << shift 45683 if b < 0x80 { 45684 break 45685 } 45686 } 45687 intStringLen := int(stringLen) 45688 if intStringLen < 0 { 45689 return ErrInvalidLengthAuthservice 45690 } 45691 postIndex := iNdEx + intStringLen 45692 if postIndex < 0 { 45693 return ErrInvalidLengthAuthservice 45694 } 45695 if postIndex > l { 45696 return io.ErrUnexpectedEOF 45697 } 45698 m.Type = string(dAtA[iNdEx:postIndex]) 45699 iNdEx = postIndex 45700 case 3: 45701 if wireType != 0 { 45702 return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType) 45703 } 45704 m.TTL = 0 45705 for shift := uint(0); ; shift += 7 { 45706 if shift >= 64 { 45707 return ErrIntOverflowAuthservice 45708 } 45709 if iNdEx >= l { 45710 return io.ErrUnexpectedEOF 45711 } 45712 b := dAtA[iNdEx] 45713 iNdEx++ 45714 m.TTL |= Duration(b&0x7F) << shift 45715 if b < 0x80 { 45716 break 45717 } 45718 } 45719 default: 45720 iNdEx = preIndex 45721 skippy, err := skipAuthservice(dAtA[iNdEx:]) 45722 if err != nil { 45723 return err 45724 } 45725 if (skippy < 0) || (iNdEx+skippy) < 0 { 45726 return ErrInvalidLengthAuthservice 45727 } 45728 if (iNdEx + skippy) > l { 45729 return io.ErrUnexpectedEOF 45730 } 45731 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 45732 iNdEx += skippy 45733 } 45734 } 45735 45736 if iNdEx > l { 45737 return io.ErrUnexpectedEOF 45738 } 45739 return nil 45740 } 45741 func (m *RenewableCertsRequest) Unmarshal(dAtA []byte) error { 45742 l := len(dAtA) 45743 iNdEx := 0 45744 for iNdEx < l { 45745 preIndex := iNdEx 45746 var wire uint64 45747 for shift := uint(0); ; shift += 7 { 45748 if shift >= 64 { 45749 return ErrIntOverflowAuthservice 45750 } 45751 if iNdEx >= l { 45752 return io.ErrUnexpectedEOF 45753 } 45754 b := dAtA[iNdEx] 45755 iNdEx++ 45756 wire |= uint64(b&0x7F) << shift 45757 if b < 0x80 { 45758 break 45759 } 45760 } 45761 fieldNum := int32(wire >> 3) 45762 wireType := int(wire & 0x7) 45763 if wireType == 4 { 45764 return fmt.Errorf("proto: RenewableCertsRequest: wiretype end group for non-group") 45765 } 45766 if fieldNum <= 0 { 45767 return fmt.Errorf("proto: RenewableCertsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 45768 } 45769 switch fieldNum { 45770 case 1: 45771 if wireType != 2 { 45772 return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) 45773 } 45774 var stringLen uint64 45775 for shift := uint(0); ; shift += 7 { 45776 if shift >= 64 { 45777 return ErrIntOverflowAuthservice 45778 } 45779 if iNdEx >= l { 45780 return io.ErrUnexpectedEOF 45781 } 45782 b := dAtA[iNdEx] 45783 iNdEx++ 45784 stringLen |= uint64(b&0x7F) << shift 45785 if b < 0x80 { 45786 break 45787 } 45788 } 45789 intStringLen := int(stringLen) 45790 if intStringLen < 0 { 45791 return ErrInvalidLengthAuthservice 45792 } 45793 postIndex := iNdEx + intStringLen 45794 if postIndex < 0 { 45795 return ErrInvalidLengthAuthservice 45796 } 45797 if postIndex > l { 45798 return io.ErrUnexpectedEOF 45799 } 45800 m.Token = string(dAtA[iNdEx:postIndex]) 45801 iNdEx = postIndex 45802 case 2: 45803 if wireType != 2 { 45804 return fmt.Errorf("proto: wrong wireType = %d for field PublicKey", wireType) 45805 } 45806 var byteLen int 45807 for shift := uint(0); ; shift += 7 { 45808 if shift >= 64 { 45809 return ErrIntOverflowAuthservice 45810 } 45811 if iNdEx >= l { 45812 return io.ErrUnexpectedEOF 45813 } 45814 b := dAtA[iNdEx] 45815 iNdEx++ 45816 byteLen |= int(b&0x7F) << shift 45817 if b < 0x80 { 45818 break 45819 } 45820 } 45821 if byteLen < 0 { 45822 return ErrInvalidLengthAuthservice 45823 } 45824 postIndex := iNdEx + byteLen 45825 if postIndex < 0 { 45826 return ErrInvalidLengthAuthservice 45827 } 45828 if postIndex > l { 45829 return io.ErrUnexpectedEOF 45830 } 45831 m.PublicKey = append(m.PublicKey[:0], dAtA[iNdEx:postIndex]...) 45832 if m.PublicKey == nil { 45833 m.PublicKey = []byte{} 45834 } 45835 iNdEx = postIndex 45836 default: 45837 iNdEx = preIndex 45838 skippy, err := skipAuthservice(dAtA[iNdEx:]) 45839 if err != nil { 45840 return err 45841 } 45842 if (skippy < 0) || (iNdEx+skippy) < 0 { 45843 return ErrInvalidLengthAuthservice 45844 } 45845 if (iNdEx + skippy) > l { 45846 return io.ErrUnexpectedEOF 45847 } 45848 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 45849 iNdEx += skippy 45850 } 45851 } 45852 45853 if iNdEx > l { 45854 return io.ErrUnexpectedEOF 45855 } 45856 return nil 45857 } 45858 func (m *PingRequest) Unmarshal(dAtA []byte) error { 45859 l := len(dAtA) 45860 iNdEx := 0 45861 for iNdEx < l { 45862 preIndex := iNdEx 45863 var wire uint64 45864 for shift := uint(0); ; shift += 7 { 45865 if shift >= 64 { 45866 return ErrIntOverflowAuthservice 45867 } 45868 if iNdEx >= l { 45869 return io.ErrUnexpectedEOF 45870 } 45871 b := dAtA[iNdEx] 45872 iNdEx++ 45873 wire |= uint64(b&0x7F) << shift 45874 if b < 0x80 { 45875 break 45876 } 45877 } 45878 fieldNum := int32(wire >> 3) 45879 wireType := int(wire & 0x7) 45880 if wireType == 4 { 45881 return fmt.Errorf("proto: PingRequest: wiretype end group for non-group") 45882 } 45883 if fieldNum <= 0 { 45884 return fmt.Errorf("proto: PingRequest: illegal tag %d (wire type %d)", fieldNum, wire) 45885 } 45886 switch fieldNum { 45887 default: 45888 iNdEx = preIndex 45889 skippy, err := skipAuthservice(dAtA[iNdEx:]) 45890 if err != nil { 45891 return err 45892 } 45893 if (skippy < 0) || (iNdEx+skippy) < 0 { 45894 return ErrInvalidLengthAuthservice 45895 } 45896 if (iNdEx + skippy) > l { 45897 return io.ErrUnexpectedEOF 45898 } 45899 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 45900 iNdEx += skippy 45901 } 45902 } 45903 45904 if iNdEx > l { 45905 return io.ErrUnexpectedEOF 45906 } 45907 return nil 45908 } 45909 func (m *PingResponse) Unmarshal(dAtA []byte) error { 45910 l := len(dAtA) 45911 iNdEx := 0 45912 for iNdEx < l { 45913 preIndex := iNdEx 45914 var wire uint64 45915 for shift := uint(0); ; shift += 7 { 45916 if shift >= 64 { 45917 return ErrIntOverflowAuthservice 45918 } 45919 if iNdEx >= l { 45920 return io.ErrUnexpectedEOF 45921 } 45922 b := dAtA[iNdEx] 45923 iNdEx++ 45924 wire |= uint64(b&0x7F) << shift 45925 if b < 0x80 { 45926 break 45927 } 45928 } 45929 fieldNum := int32(wire >> 3) 45930 wireType := int(wire & 0x7) 45931 if wireType == 4 { 45932 return fmt.Errorf("proto: PingResponse: wiretype end group for non-group") 45933 } 45934 if fieldNum <= 0 { 45935 return fmt.Errorf("proto: PingResponse: illegal tag %d (wire type %d)", fieldNum, wire) 45936 } 45937 switch fieldNum { 45938 case 1: 45939 if wireType != 2 { 45940 return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) 45941 } 45942 var stringLen uint64 45943 for shift := uint(0); ; shift += 7 { 45944 if shift >= 64 { 45945 return ErrIntOverflowAuthservice 45946 } 45947 if iNdEx >= l { 45948 return io.ErrUnexpectedEOF 45949 } 45950 b := dAtA[iNdEx] 45951 iNdEx++ 45952 stringLen |= uint64(b&0x7F) << shift 45953 if b < 0x80 { 45954 break 45955 } 45956 } 45957 intStringLen := int(stringLen) 45958 if intStringLen < 0 { 45959 return ErrInvalidLengthAuthservice 45960 } 45961 postIndex := iNdEx + intStringLen 45962 if postIndex < 0 { 45963 return ErrInvalidLengthAuthservice 45964 } 45965 if postIndex > l { 45966 return io.ErrUnexpectedEOF 45967 } 45968 m.ClusterName = string(dAtA[iNdEx:postIndex]) 45969 iNdEx = postIndex 45970 case 2: 45971 if wireType != 2 { 45972 return fmt.Errorf("proto: wrong wireType = %d for field ServerVersion", wireType) 45973 } 45974 var stringLen uint64 45975 for shift := uint(0); ; shift += 7 { 45976 if shift >= 64 { 45977 return ErrIntOverflowAuthservice 45978 } 45979 if iNdEx >= l { 45980 return io.ErrUnexpectedEOF 45981 } 45982 b := dAtA[iNdEx] 45983 iNdEx++ 45984 stringLen |= uint64(b&0x7F) << shift 45985 if b < 0x80 { 45986 break 45987 } 45988 } 45989 intStringLen := int(stringLen) 45990 if intStringLen < 0 { 45991 return ErrInvalidLengthAuthservice 45992 } 45993 postIndex := iNdEx + intStringLen 45994 if postIndex < 0 { 45995 return ErrInvalidLengthAuthservice 45996 } 45997 if postIndex > l { 45998 return io.ErrUnexpectedEOF 45999 } 46000 m.ServerVersion = string(dAtA[iNdEx:postIndex]) 46001 iNdEx = postIndex 46002 case 3: 46003 if wireType != 2 { 46004 return fmt.Errorf("proto: wrong wireType = %d for field ServerFeatures", wireType) 46005 } 46006 var msglen int 46007 for shift := uint(0); ; shift += 7 { 46008 if shift >= 64 { 46009 return ErrIntOverflowAuthservice 46010 } 46011 if iNdEx >= l { 46012 return io.ErrUnexpectedEOF 46013 } 46014 b := dAtA[iNdEx] 46015 iNdEx++ 46016 msglen |= int(b&0x7F) << shift 46017 if b < 0x80 { 46018 break 46019 } 46020 } 46021 if msglen < 0 { 46022 return ErrInvalidLengthAuthservice 46023 } 46024 postIndex := iNdEx + msglen 46025 if postIndex < 0 { 46026 return ErrInvalidLengthAuthservice 46027 } 46028 if postIndex > l { 46029 return io.ErrUnexpectedEOF 46030 } 46031 if m.ServerFeatures == nil { 46032 m.ServerFeatures = &Features{} 46033 } 46034 if err := m.ServerFeatures.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 46035 return err 46036 } 46037 iNdEx = postIndex 46038 case 4: 46039 if wireType != 2 { 46040 return fmt.Errorf("proto: wrong wireType = %d for field ProxyPublicAddr", wireType) 46041 } 46042 var stringLen uint64 46043 for shift := uint(0); ; shift += 7 { 46044 if shift >= 64 { 46045 return ErrIntOverflowAuthservice 46046 } 46047 if iNdEx >= l { 46048 return io.ErrUnexpectedEOF 46049 } 46050 b := dAtA[iNdEx] 46051 iNdEx++ 46052 stringLen |= uint64(b&0x7F) << shift 46053 if b < 0x80 { 46054 break 46055 } 46056 } 46057 intStringLen := int(stringLen) 46058 if intStringLen < 0 { 46059 return ErrInvalidLengthAuthservice 46060 } 46061 postIndex := iNdEx + intStringLen 46062 if postIndex < 0 { 46063 return ErrInvalidLengthAuthservice 46064 } 46065 if postIndex > l { 46066 return io.ErrUnexpectedEOF 46067 } 46068 m.ProxyPublicAddr = string(dAtA[iNdEx:postIndex]) 46069 iNdEx = postIndex 46070 case 5: 46071 if wireType != 0 { 46072 return fmt.Errorf("proto: wrong wireType = %d for field IsBoring", wireType) 46073 } 46074 var v int 46075 for shift := uint(0); ; shift += 7 { 46076 if shift >= 64 { 46077 return ErrIntOverflowAuthservice 46078 } 46079 if iNdEx >= l { 46080 return io.ErrUnexpectedEOF 46081 } 46082 b := dAtA[iNdEx] 46083 iNdEx++ 46084 v |= int(b&0x7F) << shift 46085 if b < 0x80 { 46086 break 46087 } 46088 } 46089 m.IsBoring = bool(v != 0) 46090 case 7: 46091 if wireType != 2 { 46092 return fmt.Errorf("proto: wrong wireType = %d for field RemoteAddr", wireType) 46093 } 46094 var stringLen uint64 46095 for shift := uint(0); ; shift += 7 { 46096 if shift >= 64 { 46097 return ErrIntOverflowAuthservice 46098 } 46099 if iNdEx >= l { 46100 return io.ErrUnexpectedEOF 46101 } 46102 b := dAtA[iNdEx] 46103 iNdEx++ 46104 stringLen |= uint64(b&0x7F) << shift 46105 if b < 0x80 { 46106 break 46107 } 46108 } 46109 intStringLen := int(stringLen) 46110 if intStringLen < 0 { 46111 return ErrInvalidLengthAuthservice 46112 } 46113 postIndex := iNdEx + intStringLen 46114 if postIndex < 0 { 46115 return ErrInvalidLengthAuthservice 46116 } 46117 if postIndex > l { 46118 return io.ErrUnexpectedEOF 46119 } 46120 m.RemoteAddr = string(dAtA[iNdEx:postIndex]) 46121 iNdEx = postIndex 46122 case 8: 46123 if wireType != 0 { 46124 return fmt.Errorf("proto: wrong wireType = %d for field LoadAllCAs", wireType) 46125 } 46126 var v int 46127 for shift := uint(0); ; shift += 7 { 46128 if shift >= 64 { 46129 return ErrIntOverflowAuthservice 46130 } 46131 if iNdEx >= l { 46132 return io.ErrUnexpectedEOF 46133 } 46134 b := dAtA[iNdEx] 46135 iNdEx++ 46136 v |= int(b&0x7F) << shift 46137 if b < 0x80 { 46138 break 46139 } 46140 } 46141 m.LoadAllCAs = bool(v != 0) 46142 default: 46143 iNdEx = preIndex 46144 skippy, err := skipAuthservice(dAtA[iNdEx:]) 46145 if err != nil { 46146 return err 46147 } 46148 if (skippy < 0) || (iNdEx+skippy) < 0 { 46149 return ErrInvalidLengthAuthservice 46150 } 46151 if (iNdEx + skippy) > l { 46152 return io.ErrUnexpectedEOF 46153 } 46154 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 46155 iNdEx += skippy 46156 } 46157 } 46158 46159 if iNdEx > l { 46160 return io.ErrUnexpectedEOF 46161 } 46162 return nil 46163 } 46164 func (m *Features) Unmarshal(dAtA []byte) error { 46165 l := len(dAtA) 46166 iNdEx := 0 46167 for iNdEx < l { 46168 preIndex := iNdEx 46169 var wire uint64 46170 for shift := uint(0); ; shift += 7 { 46171 if shift >= 64 { 46172 return ErrIntOverflowAuthservice 46173 } 46174 if iNdEx >= l { 46175 return io.ErrUnexpectedEOF 46176 } 46177 b := dAtA[iNdEx] 46178 iNdEx++ 46179 wire |= uint64(b&0x7F) << shift 46180 if b < 0x80 { 46181 break 46182 } 46183 } 46184 fieldNum := int32(wire >> 3) 46185 wireType := int(wire & 0x7) 46186 if wireType == 4 { 46187 return fmt.Errorf("proto: Features: wiretype end group for non-group") 46188 } 46189 if fieldNum <= 0 { 46190 return fmt.Errorf("proto: Features: illegal tag %d (wire type %d)", fieldNum, wire) 46191 } 46192 switch fieldNum { 46193 case 1: 46194 if wireType != 0 { 46195 return fmt.Errorf("proto: wrong wireType = %d for field Kubernetes", wireType) 46196 } 46197 var v int 46198 for shift := uint(0); ; shift += 7 { 46199 if shift >= 64 { 46200 return ErrIntOverflowAuthservice 46201 } 46202 if iNdEx >= l { 46203 return io.ErrUnexpectedEOF 46204 } 46205 b := dAtA[iNdEx] 46206 iNdEx++ 46207 v |= int(b&0x7F) << shift 46208 if b < 0x80 { 46209 break 46210 } 46211 } 46212 m.Kubernetes = bool(v != 0) 46213 case 2: 46214 if wireType != 0 { 46215 return fmt.Errorf("proto: wrong wireType = %d for field App", wireType) 46216 } 46217 var v int 46218 for shift := uint(0); ; shift += 7 { 46219 if shift >= 64 { 46220 return ErrIntOverflowAuthservice 46221 } 46222 if iNdEx >= l { 46223 return io.ErrUnexpectedEOF 46224 } 46225 b := dAtA[iNdEx] 46226 iNdEx++ 46227 v |= int(b&0x7F) << shift 46228 if b < 0x80 { 46229 break 46230 } 46231 } 46232 m.App = bool(v != 0) 46233 case 3: 46234 if wireType != 0 { 46235 return fmt.Errorf("proto: wrong wireType = %d for field DB", wireType) 46236 } 46237 var v int 46238 for shift := uint(0); ; shift += 7 { 46239 if shift >= 64 { 46240 return ErrIntOverflowAuthservice 46241 } 46242 if iNdEx >= l { 46243 return io.ErrUnexpectedEOF 46244 } 46245 b := dAtA[iNdEx] 46246 iNdEx++ 46247 v |= int(b&0x7F) << shift 46248 if b < 0x80 { 46249 break 46250 } 46251 } 46252 m.DB = bool(v != 0) 46253 case 4: 46254 if wireType != 0 { 46255 return fmt.Errorf("proto: wrong wireType = %d for field OIDC", wireType) 46256 } 46257 var v int 46258 for shift := uint(0); ; shift += 7 { 46259 if shift >= 64 { 46260 return ErrIntOverflowAuthservice 46261 } 46262 if iNdEx >= l { 46263 return io.ErrUnexpectedEOF 46264 } 46265 b := dAtA[iNdEx] 46266 iNdEx++ 46267 v |= int(b&0x7F) << shift 46268 if b < 0x80 { 46269 break 46270 } 46271 } 46272 m.OIDC = bool(v != 0) 46273 case 5: 46274 if wireType != 0 { 46275 return fmt.Errorf("proto: wrong wireType = %d for field SAML", wireType) 46276 } 46277 var v int 46278 for shift := uint(0); ; shift += 7 { 46279 if shift >= 64 { 46280 return ErrIntOverflowAuthservice 46281 } 46282 if iNdEx >= l { 46283 return io.ErrUnexpectedEOF 46284 } 46285 b := dAtA[iNdEx] 46286 iNdEx++ 46287 v |= int(b&0x7F) << shift 46288 if b < 0x80 { 46289 break 46290 } 46291 } 46292 m.SAML = bool(v != 0) 46293 case 6: 46294 if wireType != 0 { 46295 return fmt.Errorf("proto: wrong wireType = %d for field AccessControls", wireType) 46296 } 46297 var v int 46298 for shift := uint(0); ; shift += 7 { 46299 if shift >= 64 { 46300 return ErrIntOverflowAuthservice 46301 } 46302 if iNdEx >= l { 46303 return io.ErrUnexpectedEOF 46304 } 46305 b := dAtA[iNdEx] 46306 iNdEx++ 46307 v |= int(b&0x7F) << shift 46308 if b < 0x80 { 46309 break 46310 } 46311 } 46312 m.AccessControls = bool(v != 0) 46313 case 7: 46314 if wireType != 0 { 46315 return fmt.Errorf("proto: wrong wireType = %d for field AdvancedAccessWorkflows", wireType) 46316 } 46317 var v int 46318 for shift := uint(0); ; shift += 7 { 46319 if shift >= 64 { 46320 return ErrIntOverflowAuthservice 46321 } 46322 if iNdEx >= l { 46323 return io.ErrUnexpectedEOF 46324 } 46325 b := dAtA[iNdEx] 46326 iNdEx++ 46327 v |= int(b&0x7F) << shift 46328 if b < 0x80 { 46329 break 46330 } 46331 } 46332 m.AdvancedAccessWorkflows = bool(v != 0) 46333 case 8: 46334 if wireType != 0 { 46335 return fmt.Errorf("proto: wrong wireType = %d for field Cloud", wireType) 46336 } 46337 var v int 46338 for shift := uint(0); ; shift += 7 { 46339 if shift >= 64 { 46340 return ErrIntOverflowAuthservice 46341 } 46342 if iNdEx >= l { 46343 return io.ErrUnexpectedEOF 46344 } 46345 b := dAtA[iNdEx] 46346 iNdEx++ 46347 v |= int(b&0x7F) << shift 46348 if b < 0x80 { 46349 break 46350 } 46351 } 46352 m.Cloud = bool(v != 0) 46353 case 9: 46354 if wireType != 0 { 46355 return fmt.Errorf("proto: wrong wireType = %d for field HSM", wireType) 46356 } 46357 var v int 46358 for shift := uint(0); ; shift += 7 { 46359 if shift >= 64 { 46360 return ErrIntOverflowAuthservice 46361 } 46362 if iNdEx >= l { 46363 return io.ErrUnexpectedEOF 46364 } 46365 b := dAtA[iNdEx] 46366 iNdEx++ 46367 v |= int(b&0x7F) << shift 46368 if b < 0x80 { 46369 break 46370 } 46371 } 46372 m.HSM = bool(v != 0) 46373 case 10: 46374 if wireType != 0 { 46375 return fmt.Errorf("proto: wrong wireType = %d for field Desktop", wireType) 46376 } 46377 var v int 46378 for shift := uint(0); ; shift += 7 { 46379 if shift >= 64 { 46380 return ErrIntOverflowAuthservice 46381 } 46382 if iNdEx >= l { 46383 return io.ErrUnexpectedEOF 46384 } 46385 b := dAtA[iNdEx] 46386 iNdEx++ 46387 v |= int(b&0x7F) << shift 46388 if b < 0x80 { 46389 break 46390 } 46391 } 46392 m.Desktop = bool(v != 0) 46393 case 14: 46394 if wireType != 0 { 46395 return fmt.Errorf("proto: wrong wireType = %d for field RecoveryCodes", wireType) 46396 } 46397 var v int 46398 for shift := uint(0); ; shift += 7 { 46399 if shift >= 64 { 46400 return ErrIntOverflowAuthservice 46401 } 46402 if iNdEx >= l { 46403 return io.ErrUnexpectedEOF 46404 } 46405 b := dAtA[iNdEx] 46406 iNdEx++ 46407 v |= int(b&0x7F) << shift 46408 if b < 0x80 { 46409 break 46410 } 46411 } 46412 m.RecoveryCodes = bool(v != 0) 46413 case 15: 46414 if wireType != 0 { 46415 return fmt.Errorf("proto: wrong wireType = %d for field Plugins", wireType) 46416 } 46417 var v int 46418 for shift := uint(0); ; shift += 7 { 46419 if shift >= 64 { 46420 return ErrIntOverflowAuthservice 46421 } 46422 if iNdEx >= l { 46423 return io.ErrUnexpectedEOF 46424 } 46425 b := dAtA[iNdEx] 46426 iNdEx++ 46427 v |= int(b&0x7F) << shift 46428 if b < 0x80 { 46429 break 46430 } 46431 } 46432 m.Plugins = bool(v != 0) 46433 case 16: 46434 if wireType != 0 { 46435 return fmt.Errorf("proto: wrong wireType = %d for field AutomaticUpgrades", wireType) 46436 } 46437 var v int 46438 for shift := uint(0); ; shift += 7 { 46439 if shift >= 64 { 46440 return ErrIntOverflowAuthservice 46441 } 46442 if iNdEx >= l { 46443 return io.ErrUnexpectedEOF 46444 } 46445 b := dAtA[iNdEx] 46446 iNdEx++ 46447 v |= int(b&0x7F) << shift 46448 if b < 0x80 { 46449 break 46450 } 46451 } 46452 m.AutomaticUpgrades = bool(v != 0) 46453 case 17: 46454 if wireType != 0 { 46455 return fmt.Errorf("proto: wrong wireType = %d for field IsUsageBased", wireType) 46456 } 46457 var v int 46458 for shift := uint(0); ; shift += 7 { 46459 if shift >= 64 { 46460 return ErrIntOverflowAuthservice 46461 } 46462 if iNdEx >= l { 46463 return io.ErrUnexpectedEOF 46464 } 46465 b := dAtA[iNdEx] 46466 iNdEx++ 46467 v |= int(b&0x7F) << shift 46468 if b < 0x80 { 46469 break 46470 } 46471 } 46472 m.IsUsageBased = bool(v != 0) 46473 case 18: 46474 if wireType != 0 { 46475 return fmt.Errorf("proto: wrong wireType = %d for field Assist", wireType) 46476 } 46477 var v int 46478 for shift := uint(0); ; shift += 7 { 46479 if shift >= 64 { 46480 return ErrIntOverflowAuthservice 46481 } 46482 if iNdEx >= l { 46483 return io.ErrUnexpectedEOF 46484 } 46485 b := dAtA[iNdEx] 46486 iNdEx++ 46487 v |= int(b&0x7F) << shift 46488 if b < 0x80 { 46489 break 46490 } 46491 } 46492 m.Assist = bool(v != 0) 46493 case 19: 46494 if wireType != 2 { 46495 return fmt.Errorf("proto: wrong wireType = %d for field DeviceTrust", wireType) 46496 } 46497 var msglen int 46498 for shift := uint(0); ; shift += 7 { 46499 if shift >= 64 { 46500 return ErrIntOverflowAuthservice 46501 } 46502 if iNdEx >= l { 46503 return io.ErrUnexpectedEOF 46504 } 46505 b := dAtA[iNdEx] 46506 iNdEx++ 46507 msglen |= int(b&0x7F) << shift 46508 if b < 0x80 { 46509 break 46510 } 46511 } 46512 if msglen < 0 { 46513 return ErrInvalidLengthAuthservice 46514 } 46515 postIndex := iNdEx + msglen 46516 if postIndex < 0 { 46517 return ErrInvalidLengthAuthservice 46518 } 46519 if postIndex > l { 46520 return io.ErrUnexpectedEOF 46521 } 46522 if m.DeviceTrust == nil { 46523 m.DeviceTrust = &DeviceTrustFeature{} 46524 } 46525 if err := m.DeviceTrust.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 46526 return err 46527 } 46528 iNdEx = postIndex 46529 case 20: 46530 if wireType != 0 { 46531 return fmt.Errorf("proto: wrong wireType = %d for field FeatureHiding", wireType) 46532 } 46533 var v int 46534 for shift := uint(0); ; shift += 7 { 46535 if shift >= 64 { 46536 return ErrIntOverflowAuthservice 46537 } 46538 if iNdEx >= l { 46539 return io.ErrUnexpectedEOF 46540 } 46541 b := dAtA[iNdEx] 46542 iNdEx++ 46543 v |= int(b&0x7F) << shift 46544 if b < 0x80 { 46545 break 46546 } 46547 } 46548 m.FeatureHiding = bool(v != 0) 46549 case 21: 46550 if wireType != 2 { 46551 return fmt.Errorf("proto: wrong wireType = %d for field AccessRequests", wireType) 46552 } 46553 var msglen int 46554 for shift := uint(0); ; shift += 7 { 46555 if shift >= 64 { 46556 return ErrIntOverflowAuthservice 46557 } 46558 if iNdEx >= l { 46559 return io.ErrUnexpectedEOF 46560 } 46561 b := dAtA[iNdEx] 46562 iNdEx++ 46563 msglen |= int(b&0x7F) << shift 46564 if b < 0x80 { 46565 break 46566 } 46567 } 46568 if msglen < 0 { 46569 return ErrInvalidLengthAuthservice 46570 } 46571 postIndex := iNdEx + msglen 46572 if postIndex < 0 { 46573 return ErrInvalidLengthAuthservice 46574 } 46575 if postIndex > l { 46576 return io.ErrUnexpectedEOF 46577 } 46578 if m.AccessRequests == nil { 46579 m.AccessRequests = &AccessRequestsFeature{} 46580 } 46581 if err := m.AccessRequests.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 46582 return err 46583 } 46584 iNdEx = postIndex 46585 case 22: 46586 if wireType != 2 { 46587 return fmt.Errorf("proto: wrong wireType = %d for field CustomTheme", wireType) 46588 } 46589 var stringLen uint64 46590 for shift := uint(0); ; shift += 7 { 46591 if shift >= 64 { 46592 return ErrIntOverflowAuthservice 46593 } 46594 if iNdEx >= l { 46595 return io.ErrUnexpectedEOF 46596 } 46597 b := dAtA[iNdEx] 46598 iNdEx++ 46599 stringLen |= uint64(b&0x7F) << shift 46600 if b < 0x80 { 46601 break 46602 } 46603 } 46604 intStringLen := int(stringLen) 46605 if intStringLen < 0 { 46606 return ErrInvalidLengthAuthservice 46607 } 46608 postIndex := iNdEx + intStringLen 46609 if postIndex < 0 { 46610 return ErrInvalidLengthAuthservice 46611 } 46612 if postIndex > l { 46613 return io.ErrUnexpectedEOF 46614 } 46615 m.CustomTheme = string(dAtA[iNdEx:postIndex]) 46616 iNdEx = postIndex 46617 case 23: 46618 if wireType != 0 { 46619 return fmt.Errorf("proto: wrong wireType = %d for field IdentityGovernance", wireType) 46620 } 46621 var v int 46622 for shift := uint(0); ; shift += 7 { 46623 if shift >= 64 { 46624 return ErrIntOverflowAuthservice 46625 } 46626 if iNdEx >= l { 46627 return io.ErrUnexpectedEOF 46628 } 46629 b := dAtA[iNdEx] 46630 iNdEx++ 46631 v |= int(b&0x7F) << shift 46632 if b < 0x80 { 46633 break 46634 } 46635 } 46636 m.IdentityGovernance = bool(v != 0) 46637 case 24: 46638 if wireType != 0 { 46639 return fmt.Errorf("proto: wrong wireType = %d for field AccessGraph", wireType) 46640 } 46641 var v int 46642 for shift := uint(0); ; shift += 7 { 46643 if shift >= 64 { 46644 return ErrIntOverflowAuthservice 46645 } 46646 if iNdEx >= l { 46647 return io.ErrUnexpectedEOF 46648 } 46649 b := dAtA[iNdEx] 46650 iNdEx++ 46651 v |= int(b&0x7F) << shift 46652 if b < 0x80 { 46653 break 46654 } 46655 } 46656 m.AccessGraph = bool(v != 0) 46657 case 25: 46658 if wireType != 2 { 46659 return fmt.Errorf("proto: wrong wireType = %d for field AccessList", wireType) 46660 } 46661 var msglen int 46662 for shift := uint(0); ; shift += 7 { 46663 if shift >= 64 { 46664 return ErrIntOverflowAuthservice 46665 } 46666 if iNdEx >= l { 46667 return io.ErrUnexpectedEOF 46668 } 46669 b := dAtA[iNdEx] 46670 iNdEx++ 46671 msglen |= int(b&0x7F) << shift 46672 if b < 0x80 { 46673 break 46674 } 46675 } 46676 if msglen < 0 { 46677 return ErrInvalidLengthAuthservice 46678 } 46679 postIndex := iNdEx + msglen 46680 if postIndex < 0 { 46681 return ErrInvalidLengthAuthservice 46682 } 46683 if postIndex > l { 46684 return io.ErrUnexpectedEOF 46685 } 46686 if m.AccessList == nil { 46687 m.AccessList = &AccessListFeature{} 46688 } 46689 if err := m.AccessList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 46690 return err 46691 } 46692 iNdEx = postIndex 46693 case 26: 46694 if wireType != 2 { 46695 return fmt.Errorf("proto: wrong wireType = %d for field AccessMonitoring", wireType) 46696 } 46697 var msglen int 46698 for shift := uint(0); ; shift += 7 { 46699 if shift >= 64 { 46700 return ErrIntOverflowAuthservice 46701 } 46702 if iNdEx >= l { 46703 return io.ErrUnexpectedEOF 46704 } 46705 b := dAtA[iNdEx] 46706 iNdEx++ 46707 msglen |= int(b&0x7F) << shift 46708 if b < 0x80 { 46709 break 46710 } 46711 } 46712 if msglen < 0 { 46713 return ErrInvalidLengthAuthservice 46714 } 46715 postIndex := iNdEx + msglen 46716 if postIndex < 0 { 46717 return ErrInvalidLengthAuthservice 46718 } 46719 if postIndex > l { 46720 return io.ErrUnexpectedEOF 46721 } 46722 if m.AccessMonitoring == nil { 46723 m.AccessMonitoring = &AccessMonitoringFeature{} 46724 } 46725 if err := m.AccessMonitoring.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 46726 return err 46727 } 46728 iNdEx = postIndex 46729 case 27: 46730 if wireType != 0 { 46731 return fmt.Errorf("proto: wrong wireType = %d for field ProductType", wireType) 46732 } 46733 m.ProductType = 0 46734 for shift := uint(0); ; shift += 7 { 46735 if shift >= 64 { 46736 return ErrIntOverflowAuthservice 46737 } 46738 if iNdEx >= l { 46739 return io.ErrUnexpectedEOF 46740 } 46741 b := dAtA[iNdEx] 46742 iNdEx++ 46743 m.ProductType |= ProductType(b&0x7F) << shift 46744 if b < 0x80 { 46745 break 46746 } 46747 } 46748 case 28: 46749 if wireType != 2 { 46750 return fmt.Errorf("proto: wrong wireType = %d for field Policy", wireType) 46751 } 46752 var msglen int 46753 for shift := uint(0); ; shift += 7 { 46754 if shift >= 64 { 46755 return ErrIntOverflowAuthservice 46756 } 46757 if iNdEx >= l { 46758 return io.ErrUnexpectedEOF 46759 } 46760 b := dAtA[iNdEx] 46761 iNdEx++ 46762 msglen |= int(b&0x7F) << shift 46763 if b < 0x80 { 46764 break 46765 } 46766 } 46767 if msglen < 0 { 46768 return ErrInvalidLengthAuthservice 46769 } 46770 postIndex := iNdEx + msglen 46771 if postIndex < 0 { 46772 return ErrInvalidLengthAuthservice 46773 } 46774 if postIndex > l { 46775 return io.ErrUnexpectedEOF 46776 } 46777 if m.Policy == nil { 46778 m.Policy = &PolicyFeature{} 46779 } 46780 if err := m.Policy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 46781 return err 46782 } 46783 iNdEx = postIndex 46784 case 29: 46785 if wireType != 0 { 46786 return fmt.Errorf("proto: wrong wireType = %d for field Questionnaire", wireType) 46787 } 46788 var v int 46789 for shift := uint(0); ; shift += 7 { 46790 if shift >= 64 { 46791 return ErrIntOverflowAuthservice 46792 } 46793 if iNdEx >= l { 46794 return io.ErrUnexpectedEOF 46795 } 46796 b := dAtA[iNdEx] 46797 iNdEx++ 46798 v |= int(b&0x7F) << shift 46799 if b < 0x80 { 46800 break 46801 } 46802 } 46803 m.Questionnaire = bool(v != 0) 46804 case 30: 46805 if wireType != 0 { 46806 return fmt.Errorf("proto: wrong wireType = %d for field IsStripeManaged", wireType) 46807 } 46808 var v int 46809 for shift := uint(0); ; shift += 7 { 46810 if shift >= 64 { 46811 return ErrIntOverflowAuthservice 46812 } 46813 if iNdEx >= l { 46814 return io.ErrUnexpectedEOF 46815 } 46816 b := dAtA[iNdEx] 46817 iNdEx++ 46818 v |= int(b&0x7F) << shift 46819 if b < 0x80 { 46820 break 46821 } 46822 } 46823 m.IsStripeManaged = bool(v != 0) 46824 case 31: 46825 if wireType != 0 { 46826 return fmt.Errorf("proto: wrong wireType = %d for field ExternalAuditStorage", wireType) 46827 } 46828 var v int 46829 for shift := uint(0); ; shift += 7 { 46830 if shift >= 64 { 46831 return ErrIntOverflowAuthservice 46832 } 46833 if iNdEx >= l { 46834 return io.ErrUnexpectedEOF 46835 } 46836 b := dAtA[iNdEx] 46837 iNdEx++ 46838 v |= int(b&0x7F) << shift 46839 if b < 0x80 { 46840 break 46841 } 46842 } 46843 m.ExternalAuditStorage = bool(v != 0) 46844 case 32: 46845 if wireType != 0 { 46846 return fmt.Errorf("proto: wrong wireType = %d for field SupportType", wireType) 46847 } 46848 m.SupportType = 0 46849 for shift := uint(0); ; shift += 7 { 46850 if shift >= 64 { 46851 return ErrIntOverflowAuthservice 46852 } 46853 if iNdEx >= l { 46854 return io.ErrUnexpectedEOF 46855 } 46856 b := dAtA[iNdEx] 46857 iNdEx++ 46858 m.SupportType |= SupportType(b&0x7F) << shift 46859 if b < 0x80 { 46860 break 46861 } 46862 } 46863 case 33: 46864 if wireType != 0 { 46865 return fmt.Errorf("proto: wrong wireType = %d for field JoinActiveSessions", wireType) 46866 } 46867 var v int 46868 for shift := uint(0); ; shift += 7 { 46869 if shift >= 64 { 46870 return ErrIntOverflowAuthservice 46871 } 46872 if iNdEx >= l { 46873 return io.ErrUnexpectedEOF 46874 } 46875 b := dAtA[iNdEx] 46876 iNdEx++ 46877 v |= int(b&0x7F) << shift 46878 if b < 0x80 { 46879 break 46880 } 46881 } 46882 m.JoinActiveSessions = bool(v != 0) 46883 case 34: 46884 if wireType != 0 { 46885 return fmt.Errorf("proto: wrong wireType = %d for field MobileDeviceManagement", wireType) 46886 } 46887 var v int 46888 for shift := uint(0); ; shift += 7 { 46889 if shift >= 64 { 46890 return ErrIntOverflowAuthservice 46891 } 46892 if iNdEx >= l { 46893 return io.ErrUnexpectedEOF 46894 } 46895 b := dAtA[iNdEx] 46896 iNdEx++ 46897 v |= int(b&0x7F) << shift 46898 if b < 0x80 { 46899 break 46900 } 46901 } 46902 m.MobileDeviceManagement = bool(v != 0) 46903 default: 46904 iNdEx = preIndex 46905 skippy, err := skipAuthservice(dAtA[iNdEx:]) 46906 if err != nil { 46907 return err 46908 } 46909 if (skippy < 0) || (iNdEx+skippy) < 0 { 46910 return ErrInvalidLengthAuthservice 46911 } 46912 if (iNdEx + skippy) > l { 46913 return io.ErrUnexpectedEOF 46914 } 46915 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 46916 iNdEx += skippy 46917 } 46918 } 46919 46920 if iNdEx > l { 46921 return io.ErrUnexpectedEOF 46922 } 46923 return nil 46924 } 46925 func (m *DeviceTrustFeature) Unmarshal(dAtA []byte) error { 46926 l := len(dAtA) 46927 iNdEx := 0 46928 for iNdEx < l { 46929 preIndex := iNdEx 46930 var wire uint64 46931 for shift := uint(0); ; shift += 7 { 46932 if shift >= 64 { 46933 return ErrIntOverflowAuthservice 46934 } 46935 if iNdEx >= l { 46936 return io.ErrUnexpectedEOF 46937 } 46938 b := dAtA[iNdEx] 46939 iNdEx++ 46940 wire |= uint64(b&0x7F) << shift 46941 if b < 0x80 { 46942 break 46943 } 46944 } 46945 fieldNum := int32(wire >> 3) 46946 wireType := int(wire & 0x7) 46947 if wireType == 4 { 46948 return fmt.Errorf("proto: DeviceTrustFeature: wiretype end group for non-group") 46949 } 46950 if fieldNum <= 0 { 46951 return fmt.Errorf("proto: DeviceTrustFeature: illegal tag %d (wire type %d)", fieldNum, wire) 46952 } 46953 switch fieldNum { 46954 case 1: 46955 if wireType != 0 { 46956 return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) 46957 } 46958 var v int 46959 for shift := uint(0); ; shift += 7 { 46960 if shift >= 64 { 46961 return ErrIntOverflowAuthservice 46962 } 46963 if iNdEx >= l { 46964 return io.ErrUnexpectedEOF 46965 } 46966 b := dAtA[iNdEx] 46967 iNdEx++ 46968 v |= int(b&0x7F) << shift 46969 if b < 0x80 { 46970 break 46971 } 46972 } 46973 m.Enabled = bool(v != 0) 46974 case 2: 46975 if wireType != 0 { 46976 return fmt.Errorf("proto: wrong wireType = %d for field DevicesUsageLimit", wireType) 46977 } 46978 m.DevicesUsageLimit = 0 46979 for shift := uint(0); ; shift += 7 { 46980 if shift >= 64 { 46981 return ErrIntOverflowAuthservice 46982 } 46983 if iNdEx >= l { 46984 return io.ErrUnexpectedEOF 46985 } 46986 b := dAtA[iNdEx] 46987 iNdEx++ 46988 m.DevicesUsageLimit |= int32(b&0x7F) << shift 46989 if b < 0x80 { 46990 break 46991 } 46992 } 46993 default: 46994 iNdEx = preIndex 46995 skippy, err := skipAuthservice(dAtA[iNdEx:]) 46996 if err != nil { 46997 return err 46998 } 46999 if (skippy < 0) || (iNdEx+skippy) < 0 { 47000 return ErrInvalidLengthAuthservice 47001 } 47002 if (iNdEx + skippy) > l { 47003 return io.ErrUnexpectedEOF 47004 } 47005 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 47006 iNdEx += skippy 47007 } 47008 } 47009 47010 if iNdEx > l { 47011 return io.ErrUnexpectedEOF 47012 } 47013 return nil 47014 } 47015 func (m *AccessRequestsFeature) Unmarshal(dAtA []byte) error { 47016 l := len(dAtA) 47017 iNdEx := 0 47018 for iNdEx < l { 47019 preIndex := iNdEx 47020 var wire uint64 47021 for shift := uint(0); ; shift += 7 { 47022 if shift >= 64 { 47023 return ErrIntOverflowAuthservice 47024 } 47025 if iNdEx >= l { 47026 return io.ErrUnexpectedEOF 47027 } 47028 b := dAtA[iNdEx] 47029 iNdEx++ 47030 wire |= uint64(b&0x7F) << shift 47031 if b < 0x80 { 47032 break 47033 } 47034 } 47035 fieldNum := int32(wire >> 3) 47036 wireType := int(wire & 0x7) 47037 if wireType == 4 { 47038 return fmt.Errorf("proto: AccessRequestsFeature: wiretype end group for non-group") 47039 } 47040 if fieldNum <= 0 { 47041 return fmt.Errorf("proto: AccessRequestsFeature: illegal tag %d (wire type %d)", fieldNum, wire) 47042 } 47043 switch fieldNum { 47044 case 1: 47045 if wireType != 0 { 47046 return fmt.Errorf("proto: wrong wireType = %d for field MonthlyRequestLimit", wireType) 47047 } 47048 m.MonthlyRequestLimit = 0 47049 for shift := uint(0); ; shift += 7 { 47050 if shift >= 64 { 47051 return ErrIntOverflowAuthservice 47052 } 47053 if iNdEx >= l { 47054 return io.ErrUnexpectedEOF 47055 } 47056 b := dAtA[iNdEx] 47057 iNdEx++ 47058 m.MonthlyRequestLimit |= int32(b&0x7F) << shift 47059 if b < 0x80 { 47060 break 47061 } 47062 } 47063 default: 47064 iNdEx = preIndex 47065 skippy, err := skipAuthservice(dAtA[iNdEx:]) 47066 if err != nil { 47067 return err 47068 } 47069 if (skippy < 0) || (iNdEx+skippy) < 0 { 47070 return ErrInvalidLengthAuthservice 47071 } 47072 if (iNdEx + skippy) > l { 47073 return io.ErrUnexpectedEOF 47074 } 47075 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 47076 iNdEx += skippy 47077 } 47078 } 47079 47080 if iNdEx > l { 47081 return io.ErrUnexpectedEOF 47082 } 47083 return nil 47084 } 47085 func (m *AccessListFeature) Unmarshal(dAtA []byte) error { 47086 l := len(dAtA) 47087 iNdEx := 0 47088 for iNdEx < l { 47089 preIndex := iNdEx 47090 var wire uint64 47091 for shift := uint(0); ; shift += 7 { 47092 if shift >= 64 { 47093 return ErrIntOverflowAuthservice 47094 } 47095 if iNdEx >= l { 47096 return io.ErrUnexpectedEOF 47097 } 47098 b := dAtA[iNdEx] 47099 iNdEx++ 47100 wire |= uint64(b&0x7F) << shift 47101 if b < 0x80 { 47102 break 47103 } 47104 } 47105 fieldNum := int32(wire >> 3) 47106 wireType := int(wire & 0x7) 47107 if wireType == 4 { 47108 return fmt.Errorf("proto: AccessListFeature: wiretype end group for non-group") 47109 } 47110 if fieldNum <= 0 { 47111 return fmt.Errorf("proto: AccessListFeature: illegal tag %d (wire type %d)", fieldNum, wire) 47112 } 47113 switch fieldNum { 47114 case 1: 47115 if wireType != 0 { 47116 return fmt.Errorf("proto: wrong wireType = %d for field CreateLimit", wireType) 47117 } 47118 m.CreateLimit = 0 47119 for shift := uint(0); ; shift += 7 { 47120 if shift >= 64 { 47121 return ErrIntOverflowAuthservice 47122 } 47123 if iNdEx >= l { 47124 return io.ErrUnexpectedEOF 47125 } 47126 b := dAtA[iNdEx] 47127 iNdEx++ 47128 m.CreateLimit |= int32(b&0x7F) << shift 47129 if b < 0x80 { 47130 break 47131 } 47132 } 47133 default: 47134 iNdEx = preIndex 47135 skippy, err := skipAuthservice(dAtA[iNdEx:]) 47136 if err != nil { 47137 return err 47138 } 47139 if (skippy < 0) || (iNdEx+skippy) < 0 { 47140 return ErrInvalidLengthAuthservice 47141 } 47142 if (iNdEx + skippy) > l { 47143 return io.ErrUnexpectedEOF 47144 } 47145 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 47146 iNdEx += skippy 47147 } 47148 } 47149 47150 if iNdEx > l { 47151 return io.ErrUnexpectedEOF 47152 } 47153 return nil 47154 } 47155 func (m *AccessMonitoringFeature) Unmarshal(dAtA []byte) error { 47156 l := len(dAtA) 47157 iNdEx := 0 47158 for iNdEx < l { 47159 preIndex := iNdEx 47160 var wire uint64 47161 for shift := uint(0); ; shift += 7 { 47162 if shift >= 64 { 47163 return ErrIntOverflowAuthservice 47164 } 47165 if iNdEx >= l { 47166 return io.ErrUnexpectedEOF 47167 } 47168 b := dAtA[iNdEx] 47169 iNdEx++ 47170 wire |= uint64(b&0x7F) << shift 47171 if b < 0x80 { 47172 break 47173 } 47174 } 47175 fieldNum := int32(wire >> 3) 47176 wireType := int(wire & 0x7) 47177 if wireType == 4 { 47178 return fmt.Errorf("proto: AccessMonitoringFeature: wiretype end group for non-group") 47179 } 47180 if fieldNum <= 0 { 47181 return fmt.Errorf("proto: AccessMonitoringFeature: illegal tag %d (wire type %d)", fieldNum, wire) 47182 } 47183 switch fieldNum { 47184 case 1: 47185 if wireType != 0 { 47186 return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) 47187 } 47188 var v int 47189 for shift := uint(0); ; shift += 7 { 47190 if shift >= 64 { 47191 return ErrIntOverflowAuthservice 47192 } 47193 if iNdEx >= l { 47194 return io.ErrUnexpectedEOF 47195 } 47196 b := dAtA[iNdEx] 47197 iNdEx++ 47198 v |= int(b&0x7F) << shift 47199 if b < 0x80 { 47200 break 47201 } 47202 } 47203 m.Enabled = bool(v != 0) 47204 case 2: 47205 if wireType != 0 { 47206 return fmt.Errorf("proto: wrong wireType = %d for field MaxReportRangeLimit", wireType) 47207 } 47208 m.MaxReportRangeLimit = 0 47209 for shift := uint(0); ; shift += 7 { 47210 if shift >= 64 { 47211 return ErrIntOverflowAuthservice 47212 } 47213 if iNdEx >= l { 47214 return io.ErrUnexpectedEOF 47215 } 47216 b := dAtA[iNdEx] 47217 iNdEx++ 47218 m.MaxReportRangeLimit |= int32(b&0x7F) << shift 47219 if b < 0x80 { 47220 break 47221 } 47222 } 47223 default: 47224 iNdEx = preIndex 47225 skippy, err := skipAuthservice(dAtA[iNdEx:]) 47226 if err != nil { 47227 return err 47228 } 47229 if (skippy < 0) || (iNdEx+skippy) < 0 { 47230 return ErrInvalidLengthAuthservice 47231 } 47232 if (iNdEx + skippy) > l { 47233 return io.ErrUnexpectedEOF 47234 } 47235 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 47236 iNdEx += skippy 47237 } 47238 } 47239 47240 if iNdEx > l { 47241 return io.ErrUnexpectedEOF 47242 } 47243 return nil 47244 } 47245 func (m *PolicyFeature) Unmarshal(dAtA []byte) error { 47246 l := len(dAtA) 47247 iNdEx := 0 47248 for iNdEx < l { 47249 preIndex := iNdEx 47250 var wire uint64 47251 for shift := uint(0); ; shift += 7 { 47252 if shift >= 64 { 47253 return ErrIntOverflowAuthservice 47254 } 47255 if iNdEx >= l { 47256 return io.ErrUnexpectedEOF 47257 } 47258 b := dAtA[iNdEx] 47259 iNdEx++ 47260 wire |= uint64(b&0x7F) << shift 47261 if b < 0x80 { 47262 break 47263 } 47264 } 47265 fieldNum := int32(wire >> 3) 47266 wireType := int(wire & 0x7) 47267 if wireType == 4 { 47268 return fmt.Errorf("proto: PolicyFeature: wiretype end group for non-group") 47269 } 47270 if fieldNum <= 0 { 47271 return fmt.Errorf("proto: PolicyFeature: illegal tag %d (wire type %d)", fieldNum, wire) 47272 } 47273 switch fieldNum { 47274 case 1: 47275 if wireType != 0 { 47276 return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) 47277 } 47278 var v int 47279 for shift := uint(0); ; shift += 7 { 47280 if shift >= 64 { 47281 return ErrIntOverflowAuthservice 47282 } 47283 if iNdEx >= l { 47284 return io.ErrUnexpectedEOF 47285 } 47286 b := dAtA[iNdEx] 47287 iNdEx++ 47288 v |= int(b&0x7F) << shift 47289 if b < 0x80 { 47290 break 47291 } 47292 } 47293 m.Enabled = bool(v != 0) 47294 default: 47295 iNdEx = preIndex 47296 skippy, err := skipAuthservice(dAtA[iNdEx:]) 47297 if err != nil { 47298 return err 47299 } 47300 if (skippy < 0) || (iNdEx+skippy) < 0 { 47301 return ErrInvalidLengthAuthservice 47302 } 47303 if (iNdEx + skippy) > l { 47304 return io.ErrUnexpectedEOF 47305 } 47306 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 47307 iNdEx += skippy 47308 } 47309 } 47310 47311 if iNdEx > l { 47312 return io.ErrUnexpectedEOF 47313 } 47314 return nil 47315 } 47316 func (m *DeleteUserRequest) Unmarshal(dAtA []byte) error { 47317 l := len(dAtA) 47318 iNdEx := 0 47319 for iNdEx < l { 47320 preIndex := iNdEx 47321 var wire uint64 47322 for shift := uint(0); ; shift += 7 { 47323 if shift >= 64 { 47324 return ErrIntOverflowAuthservice 47325 } 47326 if iNdEx >= l { 47327 return io.ErrUnexpectedEOF 47328 } 47329 b := dAtA[iNdEx] 47330 iNdEx++ 47331 wire |= uint64(b&0x7F) << shift 47332 if b < 0x80 { 47333 break 47334 } 47335 } 47336 fieldNum := int32(wire >> 3) 47337 wireType := int(wire & 0x7) 47338 if wireType == 4 { 47339 return fmt.Errorf("proto: DeleteUserRequest: wiretype end group for non-group") 47340 } 47341 if fieldNum <= 0 { 47342 return fmt.Errorf("proto: DeleteUserRequest: illegal tag %d (wire type %d)", fieldNum, wire) 47343 } 47344 switch fieldNum { 47345 case 1: 47346 if wireType != 2 { 47347 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 47348 } 47349 var stringLen uint64 47350 for shift := uint(0); ; shift += 7 { 47351 if shift >= 64 { 47352 return ErrIntOverflowAuthservice 47353 } 47354 if iNdEx >= l { 47355 return io.ErrUnexpectedEOF 47356 } 47357 b := dAtA[iNdEx] 47358 iNdEx++ 47359 stringLen |= uint64(b&0x7F) << shift 47360 if b < 0x80 { 47361 break 47362 } 47363 } 47364 intStringLen := int(stringLen) 47365 if intStringLen < 0 { 47366 return ErrInvalidLengthAuthservice 47367 } 47368 postIndex := iNdEx + intStringLen 47369 if postIndex < 0 { 47370 return ErrInvalidLengthAuthservice 47371 } 47372 if postIndex > l { 47373 return io.ErrUnexpectedEOF 47374 } 47375 m.Name = string(dAtA[iNdEx:postIndex]) 47376 iNdEx = postIndex 47377 default: 47378 iNdEx = preIndex 47379 skippy, err := skipAuthservice(dAtA[iNdEx:]) 47380 if err != nil { 47381 return err 47382 } 47383 if (skippy < 0) || (iNdEx+skippy) < 0 { 47384 return ErrInvalidLengthAuthservice 47385 } 47386 if (iNdEx + skippy) > l { 47387 return io.ErrUnexpectedEOF 47388 } 47389 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 47390 iNdEx += skippy 47391 } 47392 } 47393 47394 if iNdEx > l { 47395 return io.ErrUnexpectedEOF 47396 } 47397 return nil 47398 } 47399 func (m *Semaphores) Unmarshal(dAtA []byte) error { 47400 l := len(dAtA) 47401 iNdEx := 0 47402 for iNdEx < l { 47403 preIndex := iNdEx 47404 var wire uint64 47405 for shift := uint(0); ; shift += 7 { 47406 if shift >= 64 { 47407 return ErrIntOverflowAuthservice 47408 } 47409 if iNdEx >= l { 47410 return io.ErrUnexpectedEOF 47411 } 47412 b := dAtA[iNdEx] 47413 iNdEx++ 47414 wire |= uint64(b&0x7F) << shift 47415 if b < 0x80 { 47416 break 47417 } 47418 } 47419 fieldNum := int32(wire >> 3) 47420 wireType := int(wire & 0x7) 47421 if wireType == 4 { 47422 return fmt.Errorf("proto: Semaphores: wiretype end group for non-group") 47423 } 47424 if fieldNum <= 0 { 47425 return fmt.Errorf("proto: Semaphores: illegal tag %d (wire type %d)", fieldNum, wire) 47426 } 47427 switch fieldNum { 47428 case 1: 47429 if wireType != 2 { 47430 return fmt.Errorf("proto: wrong wireType = %d for field Semaphores", wireType) 47431 } 47432 var msglen int 47433 for shift := uint(0); ; shift += 7 { 47434 if shift >= 64 { 47435 return ErrIntOverflowAuthservice 47436 } 47437 if iNdEx >= l { 47438 return io.ErrUnexpectedEOF 47439 } 47440 b := dAtA[iNdEx] 47441 iNdEx++ 47442 msglen |= int(b&0x7F) << shift 47443 if b < 0x80 { 47444 break 47445 } 47446 } 47447 if msglen < 0 { 47448 return ErrInvalidLengthAuthservice 47449 } 47450 postIndex := iNdEx + msglen 47451 if postIndex < 0 { 47452 return ErrInvalidLengthAuthservice 47453 } 47454 if postIndex > l { 47455 return io.ErrUnexpectedEOF 47456 } 47457 m.Semaphores = append(m.Semaphores, &types.SemaphoreV3{}) 47458 if err := m.Semaphores[len(m.Semaphores)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47459 return err 47460 } 47461 iNdEx = postIndex 47462 default: 47463 iNdEx = preIndex 47464 skippy, err := skipAuthservice(dAtA[iNdEx:]) 47465 if err != nil { 47466 return err 47467 } 47468 if (skippy < 0) || (iNdEx+skippy) < 0 { 47469 return ErrInvalidLengthAuthservice 47470 } 47471 if (iNdEx + skippy) > l { 47472 return io.ErrUnexpectedEOF 47473 } 47474 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 47475 iNdEx += skippy 47476 } 47477 } 47478 47479 if iNdEx > l { 47480 return io.ErrUnexpectedEOF 47481 } 47482 return nil 47483 } 47484 func (m *AuditStreamRequest) Unmarshal(dAtA []byte) error { 47485 l := len(dAtA) 47486 iNdEx := 0 47487 for iNdEx < l { 47488 preIndex := iNdEx 47489 var wire uint64 47490 for shift := uint(0); ; shift += 7 { 47491 if shift >= 64 { 47492 return ErrIntOverflowAuthservice 47493 } 47494 if iNdEx >= l { 47495 return io.ErrUnexpectedEOF 47496 } 47497 b := dAtA[iNdEx] 47498 iNdEx++ 47499 wire |= uint64(b&0x7F) << shift 47500 if b < 0x80 { 47501 break 47502 } 47503 } 47504 fieldNum := int32(wire >> 3) 47505 wireType := int(wire & 0x7) 47506 if wireType == 4 { 47507 return fmt.Errorf("proto: AuditStreamRequest: wiretype end group for non-group") 47508 } 47509 if fieldNum <= 0 { 47510 return fmt.Errorf("proto: AuditStreamRequest: illegal tag %d (wire type %d)", fieldNum, wire) 47511 } 47512 switch fieldNum { 47513 case 1: 47514 if wireType != 2 { 47515 return fmt.Errorf("proto: wrong wireType = %d for field CreateStream", wireType) 47516 } 47517 var msglen int 47518 for shift := uint(0); ; shift += 7 { 47519 if shift >= 64 { 47520 return ErrIntOverflowAuthservice 47521 } 47522 if iNdEx >= l { 47523 return io.ErrUnexpectedEOF 47524 } 47525 b := dAtA[iNdEx] 47526 iNdEx++ 47527 msglen |= int(b&0x7F) << shift 47528 if b < 0x80 { 47529 break 47530 } 47531 } 47532 if msglen < 0 { 47533 return ErrInvalidLengthAuthservice 47534 } 47535 postIndex := iNdEx + msglen 47536 if postIndex < 0 { 47537 return ErrInvalidLengthAuthservice 47538 } 47539 if postIndex > l { 47540 return io.ErrUnexpectedEOF 47541 } 47542 v := &CreateStream{} 47543 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47544 return err 47545 } 47546 m.Request = &AuditStreamRequest_CreateStream{v} 47547 iNdEx = postIndex 47548 case 2: 47549 if wireType != 2 { 47550 return fmt.Errorf("proto: wrong wireType = %d for field ResumeStream", wireType) 47551 } 47552 var msglen int 47553 for shift := uint(0); ; shift += 7 { 47554 if shift >= 64 { 47555 return ErrIntOverflowAuthservice 47556 } 47557 if iNdEx >= l { 47558 return io.ErrUnexpectedEOF 47559 } 47560 b := dAtA[iNdEx] 47561 iNdEx++ 47562 msglen |= int(b&0x7F) << shift 47563 if b < 0x80 { 47564 break 47565 } 47566 } 47567 if msglen < 0 { 47568 return ErrInvalidLengthAuthservice 47569 } 47570 postIndex := iNdEx + msglen 47571 if postIndex < 0 { 47572 return ErrInvalidLengthAuthservice 47573 } 47574 if postIndex > l { 47575 return io.ErrUnexpectedEOF 47576 } 47577 v := &ResumeStream{} 47578 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47579 return err 47580 } 47581 m.Request = &AuditStreamRequest_ResumeStream{v} 47582 iNdEx = postIndex 47583 case 3: 47584 if wireType != 2 { 47585 return fmt.Errorf("proto: wrong wireType = %d for field CompleteStream", wireType) 47586 } 47587 var msglen int 47588 for shift := uint(0); ; shift += 7 { 47589 if shift >= 64 { 47590 return ErrIntOverflowAuthservice 47591 } 47592 if iNdEx >= l { 47593 return io.ErrUnexpectedEOF 47594 } 47595 b := dAtA[iNdEx] 47596 iNdEx++ 47597 msglen |= int(b&0x7F) << shift 47598 if b < 0x80 { 47599 break 47600 } 47601 } 47602 if msglen < 0 { 47603 return ErrInvalidLengthAuthservice 47604 } 47605 postIndex := iNdEx + msglen 47606 if postIndex < 0 { 47607 return ErrInvalidLengthAuthservice 47608 } 47609 if postIndex > l { 47610 return io.ErrUnexpectedEOF 47611 } 47612 v := &CompleteStream{} 47613 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47614 return err 47615 } 47616 m.Request = &AuditStreamRequest_CompleteStream{v} 47617 iNdEx = postIndex 47618 case 4: 47619 if wireType != 2 { 47620 return fmt.Errorf("proto: wrong wireType = %d for field FlushAndCloseStream", wireType) 47621 } 47622 var msglen int 47623 for shift := uint(0); ; shift += 7 { 47624 if shift >= 64 { 47625 return ErrIntOverflowAuthservice 47626 } 47627 if iNdEx >= l { 47628 return io.ErrUnexpectedEOF 47629 } 47630 b := dAtA[iNdEx] 47631 iNdEx++ 47632 msglen |= int(b&0x7F) << shift 47633 if b < 0x80 { 47634 break 47635 } 47636 } 47637 if msglen < 0 { 47638 return ErrInvalidLengthAuthservice 47639 } 47640 postIndex := iNdEx + msglen 47641 if postIndex < 0 { 47642 return ErrInvalidLengthAuthservice 47643 } 47644 if postIndex > l { 47645 return io.ErrUnexpectedEOF 47646 } 47647 v := &FlushAndCloseStream{} 47648 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47649 return err 47650 } 47651 m.Request = &AuditStreamRequest_FlushAndCloseStream{v} 47652 iNdEx = postIndex 47653 case 5: 47654 if wireType != 2 { 47655 return fmt.Errorf("proto: wrong wireType = %d for field Event", wireType) 47656 } 47657 var msglen int 47658 for shift := uint(0); ; shift += 7 { 47659 if shift >= 64 { 47660 return ErrIntOverflowAuthservice 47661 } 47662 if iNdEx >= l { 47663 return io.ErrUnexpectedEOF 47664 } 47665 b := dAtA[iNdEx] 47666 iNdEx++ 47667 msglen |= int(b&0x7F) << shift 47668 if b < 0x80 { 47669 break 47670 } 47671 } 47672 if msglen < 0 { 47673 return ErrInvalidLengthAuthservice 47674 } 47675 postIndex := iNdEx + msglen 47676 if postIndex < 0 { 47677 return ErrInvalidLengthAuthservice 47678 } 47679 if postIndex > l { 47680 return io.ErrUnexpectedEOF 47681 } 47682 v := &events.OneOf{} 47683 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47684 return err 47685 } 47686 m.Request = &AuditStreamRequest_Event{v} 47687 iNdEx = postIndex 47688 default: 47689 iNdEx = preIndex 47690 skippy, err := skipAuthservice(dAtA[iNdEx:]) 47691 if err != nil { 47692 return err 47693 } 47694 if (skippy < 0) || (iNdEx+skippy) < 0 { 47695 return ErrInvalidLengthAuthservice 47696 } 47697 if (iNdEx + skippy) > l { 47698 return io.ErrUnexpectedEOF 47699 } 47700 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 47701 iNdEx += skippy 47702 } 47703 } 47704 47705 if iNdEx > l { 47706 return io.ErrUnexpectedEOF 47707 } 47708 return nil 47709 } 47710 func (m *AuditStreamStatus) Unmarshal(dAtA []byte) error { 47711 l := len(dAtA) 47712 iNdEx := 0 47713 for iNdEx < l { 47714 preIndex := iNdEx 47715 var wire uint64 47716 for shift := uint(0); ; shift += 7 { 47717 if shift >= 64 { 47718 return ErrIntOverflowAuthservice 47719 } 47720 if iNdEx >= l { 47721 return io.ErrUnexpectedEOF 47722 } 47723 b := dAtA[iNdEx] 47724 iNdEx++ 47725 wire |= uint64(b&0x7F) << shift 47726 if b < 0x80 { 47727 break 47728 } 47729 } 47730 fieldNum := int32(wire >> 3) 47731 wireType := int(wire & 0x7) 47732 if wireType == 4 { 47733 return fmt.Errorf("proto: AuditStreamStatus: wiretype end group for non-group") 47734 } 47735 if fieldNum <= 0 { 47736 return fmt.Errorf("proto: AuditStreamStatus: illegal tag %d (wire type %d)", fieldNum, wire) 47737 } 47738 switch fieldNum { 47739 case 1: 47740 if wireType != 2 { 47741 return fmt.Errorf("proto: wrong wireType = %d for field UploadID", wireType) 47742 } 47743 var stringLen uint64 47744 for shift := uint(0); ; shift += 7 { 47745 if shift >= 64 { 47746 return ErrIntOverflowAuthservice 47747 } 47748 if iNdEx >= l { 47749 return io.ErrUnexpectedEOF 47750 } 47751 b := dAtA[iNdEx] 47752 iNdEx++ 47753 stringLen |= uint64(b&0x7F) << shift 47754 if b < 0x80 { 47755 break 47756 } 47757 } 47758 intStringLen := int(stringLen) 47759 if intStringLen < 0 { 47760 return ErrInvalidLengthAuthservice 47761 } 47762 postIndex := iNdEx + intStringLen 47763 if postIndex < 0 { 47764 return ErrInvalidLengthAuthservice 47765 } 47766 if postIndex > l { 47767 return io.ErrUnexpectedEOF 47768 } 47769 m.UploadID = string(dAtA[iNdEx:postIndex]) 47770 iNdEx = postIndex 47771 default: 47772 iNdEx = preIndex 47773 skippy, err := skipAuthservice(dAtA[iNdEx:]) 47774 if err != nil { 47775 return err 47776 } 47777 if (skippy < 0) || (iNdEx+skippy) < 0 { 47778 return ErrInvalidLengthAuthservice 47779 } 47780 if (iNdEx + skippy) > l { 47781 return io.ErrUnexpectedEOF 47782 } 47783 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 47784 iNdEx += skippy 47785 } 47786 } 47787 47788 if iNdEx > l { 47789 return io.ErrUnexpectedEOF 47790 } 47791 return nil 47792 } 47793 func (m *CreateStream) Unmarshal(dAtA []byte) error { 47794 l := len(dAtA) 47795 iNdEx := 0 47796 for iNdEx < l { 47797 preIndex := iNdEx 47798 var wire uint64 47799 for shift := uint(0); ; shift += 7 { 47800 if shift >= 64 { 47801 return ErrIntOverflowAuthservice 47802 } 47803 if iNdEx >= l { 47804 return io.ErrUnexpectedEOF 47805 } 47806 b := dAtA[iNdEx] 47807 iNdEx++ 47808 wire |= uint64(b&0x7F) << shift 47809 if b < 0x80 { 47810 break 47811 } 47812 } 47813 fieldNum := int32(wire >> 3) 47814 wireType := int(wire & 0x7) 47815 if wireType == 4 { 47816 return fmt.Errorf("proto: CreateStream: wiretype end group for non-group") 47817 } 47818 if fieldNum <= 0 { 47819 return fmt.Errorf("proto: CreateStream: illegal tag %d (wire type %d)", fieldNum, wire) 47820 } 47821 switch fieldNum { 47822 case 1: 47823 if wireType != 2 { 47824 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 47825 } 47826 var stringLen uint64 47827 for shift := uint(0); ; shift += 7 { 47828 if shift >= 64 { 47829 return ErrIntOverflowAuthservice 47830 } 47831 if iNdEx >= l { 47832 return io.ErrUnexpectedEOF 47833 } 47834 b := dAtA[iNdEx] 47835 iNdEx++ 47836 stringLen |= uint64(b&0x7F) << shift 47837 if b < 0x80 { 47838 break 47839 } 47840 } 47841 intStringLen := int(stringLen) 47842 if intStringLen < 0 { 47843 return ErrInvalidLengthAuthservice 47844 } 47845 postIndex := iNdEx + intStringLen 47846 if postIndex < 0 { 47847 return ErrInvalidLengthAuthservice 47848 } 47849 if postIndex > l { 47850 return io.ErrUnexpectedEOF 47851 } 47852 m.SessionID = string(dAtA[iNdEx:postIndex]) 47853 iNdEx = postIndex 47854 default: 47855 iNdEx = preIndex 47856 skippy, err := skipAuthservice(dAtA[iNdEx:]) 47857 if err != nil { 47858 return err 47859 } 47860 if (skippy < 0) || (iNdEx+skippy) < 0 { 47861 return ErrInvalidLengthAuthservice 47862 } 47863 if (iNdEx + skippy) > l { 47864 return io.ErrUnexpectedEOF 47865 } 47866 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 47867 iNdEx += skippy 47868 } 47869 } 47870 47871 if iNdEx > l { 47872 return io.ErrUnexpectedEOF 47873 } 47874 return nil 47875 } 47876 func (m *ResumeStream) Unmarshal(dAtA []byte) error { 47877 l := len(dAtA) 47878 iNdEx := 0 47879 for iNdEx < l { 47880 preIndex := iNdEx 47881 var wire uint64 47882 for shift := uint(0); ; shift += 7 { 47883 if shift >= 64 { 47884 return ErrIntOverflowAuthservice 47885 } 47886 if iNdEx >= l { 47887 return io.ErrUnexpectedEOF 47888 } 47889 b := dAtA[iNdEx] 47890 iNdEx++ 47891 wire |= uint64(b&0x7F) << shift 47892 if b < 0x80 { 47893 break 47894 } 47895 } 47896 fieldNum := int32(wire >> 3) 47897 wireType := int(wire & 0x7) 47898 if wireType == 4 { 47899 return fmt.Errorf("proto: ResumeStream: wiretype end group for non-group") 47900 } 47901 if fieldNum <= 0 { 47902 return fmt.Errorf("proto: ResumeStream: illegal tag %d (wire type %d)", fieldNum, wire) 47903 } 47904 switch fieldNum { 47905 case 1: 47906 if wireType != 2 { 47907 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 47908 } 47909 var stringLen uint64 47910 for shift := uint(0); ; shift += 7 { 47911 if shift >= 64 { 47912 return ErrIntOverflowAuthservice 47913 } 47914 if iNdEx >= l { 47915 return io.ErrUnexpectedEOF 47916 } 47917 b := dAtA[iNdEx] 47918 iNdEx++ 47919 stringLen |= uint64(b&0x7F) << shift 47920 if b < 0x80 { 47921 break 47922 } 47923 } 47924 intStringLen := int(stringLen) 47925 if intStringLen < 0 { 47926 return ErrInvalidLengthAuthservice 47927 } 47928 postIndex := iNdEx + intStringLen 47929 if postIndex < 0 { 47930 return ErrInvalidLengthAuthservice 47931 } 47932 if postIndex > l { 47933 return io.ErrUnexpectedEOF 47934 } 47935 m.SessionID = string(dAtA[iNdEx:postIndex]) 47936 iNdEx = postIndex 47937 case 2: 47938 if wireType != 2 { 47939 return fmt.Errorf("proto: wrong wireType = %d for field UploadID", wireType) 47940 } 47941 var stringLen uint64 47942 for shift := uint(0); ; shift += 7 { 47943 if shift >= 64 { 47944 return ErrIntOverflowAuthservice 47945 } 47946 if iNdEx >= l { 47947 return io.ErrUnexpectedEOF 47948 } 47949 b := dAtA[iNdEx] 47950 iNdEx++ 47951 stringLen |= uint64(b&0x7F) << shift 47952 if b < 0x80 { 47953 break 47954 } 47955 } 47956 intStringLen := int(stringLen) 47957 if intStringLen < 0 { 47958 return ErrInvalidLengthAuthservice 47959 } 47960 postIndex := iNdEx + intStringLen 47961 if postIndex < 0 { 47962 return ErrInvalidLengthAuthservice 47963 } 47964 if postIndex > l { 47965 return io.ErrUnexpectedEOF 47966 } 47967 m.UploadID = string(dAtA[iNdEx:postIndex]) 47968 iNdEx = postIndex 47969 default: 47970 iNdEx = preIndex 47971 skippy, err := skipAuthservice(dAtA[iNdEx:]) 47972 if err != nil { 47973 return err 47974 } 47975 if (skippy < 0) || (iNdEx+skippy) < 0 { 47976 return ErrInvalidLengthAuthservice 47977 } 47978 if (iNdEx + skippy) > l { 47979 return io.ErrUnexpectedEOF 47980 } 47981 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 47982 iNdEx += skippy 47983 } 47984 } 47985 47986 if iNdEx > l { 47987 return io.ErrUnexpectedEOF 47988 } 47989 return nil 47990 } 47991 func (m *CompleteStream) Unmarshal(dAtA []byte) error { 47992 l := len(dAtA) 47993 iNdEx := 0 47994 for iNdEx < l { 47995 preIndex := iNdEx 47996 var wire uint64 47997 for shift := uint(0); ; shift += 7 { 47998 if shift >= 64 { 47999 return ErrIntOverflowAuthservice 48000 } 48001 if iNdEx >= l { 48002 return io.ErrUnexpectedEOF 48003 } 48004 b := dAtA[iNdEx] 48005 iNdEx++ 48006 wire |= uint64(b&0x7F) << shift 48007 if b < 0x80 { 48008 break 48009 } 48010 } 48011 fieldNum := int32(wire >> 3) 48012 wireType := int(wire & 0x7) 48013 if wireType == 4 { 48014 return fmt.Errorf("proto: CompleteStream: wiretype end group for non-group") 48015 } 48016 if fieldNum <= 0 { 48017 return fmt.Errorf("proto: CompleteStream: illegal tag %d (wire type %d)", fieldNum, wire) 48018 } 48019 switch fieldNum { 48020 default: 48021 iNdEx = preIndex 48022 skippy, err := skipAuthservice(dAtA[iNdEx:]) 48023 if err != nil { 48024 return err 48025 } 48026 if (skippy < 0) || (iNdEx+skippy) < 0 { 48027 return ErrInvalidLengthAuthservice 48028 } 48029 if (iNdEx + skippy) > l { 48030 return io.ErrUnexpectedEOF 48031 } 48032 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48033 iNdEx += skippy 48034 } 48035 } 48036 48037 if iNdEx > l { 48038 return io.ErrUnexpectedEOF 48039 } 48040 return nil 48041 } 48042 func (m *FlushAndCloseStream) Unmarshal(dAtA []byte) error { 48043 l := len(dAtA) 48044 iNdEx := 0 48045 for iNdEx < l { 48046 preIndex := iNdEx 48047 var wire uint64 48048 for shift := uint(0); ; shift += 7 { 48049 if shift >= 64 { 48050 return ErrIntOverflowAuthservice 48051 } 48052 if iNdEx >= l { 48053 return io.ErrUnexpectedEOF 48054 } 48055 b := dAtA[iNdEx] 48056 iNdEx++ 48057 wire |= uint64(b&0x7F) << shift 48058 if b < 0x80 { 48059 break 48060 } 48061 } 48062 fieldNum := int32(wire >> 3) 48063 wireType := int(wire & 0x7) 48064 if wireType == 4 { 48065 return fmt.Errorf("proto: FlushAndCloseStream: wiretype end group for non-group") 48066 } 48067 if fieldNum <= 0 { 48068 return fmt.Errorf("proto: FlushAndCloseStream: illegal tag %d (wire type %d)", fieldNum, wire) 48069 } 48070 switch fieldNum { 48071 default: 48072 iNdEx = preIndex 48073 skippy, err := skipAuthservice(dAtA[iNdEx:]) 48074 if err != nil { 48075 return err 48076 } 48077 if (skippy < 0) || (iNdEx+skippy) < 0 { 48078 return ErrInvalidLengthAuthservice 48079 } 48080 if (iNdEx + skippy) > l { 48081 return io.ErrUnexpectedEOF 48082 } 48083 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48084 iNdEx += skippy 48085 } 48086 } 48087 48088 if iNdEx > l { 48089 return io.ErrUnexpectedEOF 48090 } 48091 return nil 48092 } 48093 func (m *UpsertApplicationServerRequest) Unmarshal(dAtA []byte) error { 48094 l := len(dAtA) 48095 iNdEx := 0 48096 for iNdEx < l { 48097 preIndex := iNdEx 48098 var wire uint64 48099 for shift := uint(0); ; shift += 7 { 48100 if shift >= 64 { 48101 return ErrIntOverflowAuthservice 48102 } 48103 if iNdEx >= l { 48104 return io.ErrUnexpectedEOF 48105 } 48106 b := dAtA[iNdEx] 48107 iNdEx++ 48108 wire |= uint64(b&0x7F) << shift 48109 if b < 0x80 { 48110 break 48111 } 48112 } 48113 fieldNum := int32(wire >> 3) 48114 wireType := int(wire & 0x7) 48115 if wireType == 4 { 48116 return fmt.Errorf("proto: UpsertApplicationServerRequest: wiretype end group for non-group") 48117 } 48118 if fieldNum <= 0 { 48119 return fmt.Errorf("proto: UpsertApplicationServerRequest: illegal tag %d (wire type %d)", fieldNum, wire) 48120 } 48121 switch fieldNum { 48122 case 1: 48123 if wireType != 2 { 48124 return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType) 48125 } 48126 var msglen int 48127 for shift := uint(0); ; shift += 7 { 48128 if shift >= 64 { 48129 return ErrIntOverflowAuthservice 48130 } 48131 if iNdEx >= l { 48132 return io.ErrUnexpectedEOF 48133 } 48134 b := dAtA[iNdEx] 48135 iNdEx++ 48136 msglen |= int(b&0x7F) << shift 48137 if b < 0x80 { 48138 break 48139 } 48140 } 48141 if msglen < 0 { 48142 return ErrInvalidLengthAuthservice 48143 } 48144 postIndex := iNdEx + msglen 48145 if postIndex < 0 { 48146 return ErrInvalidLengthAuthservice 48147 } 48148 if postIndex > l { 48149 return io.ErrUnexpectedEOF 48150 } 48151 if m.Server == nil { 48152 m.Server = &types.AppServerV3{} 48153 } 48154 if err := m.Server.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 48155 return err 48156 } 48157 iNdEx = postIndex 48158 default: 48159 iNdEx = preIndex 48160 skippy, err := skipAuthservice(dAtA[iNdEx:]) 48161 if err != nil { 48162 return err 48163 } 48164 if (skippy < 0) || (iNdEx+skippy) < 0 { 48165 return ErrInvalidLengthAuthservice 48166 } 48167 if (iNdEx + skippy) > l { 48168 return io.ErrUnexpectedEOF 48169 } 48170 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48171 iNdEx += skippy 48172 } 48173 } 48174 48175 if iNdEx > l { 48176 return io.ErrUnexpectedEOF 48177 } 48178 return nil 48179 } 48180 func (m *DeleteApplicationServerRequest) Unmarshal(dAtA []byte) error { 48181 l := len(dAtA) 48182 iNdEx := 0 48183 for iNdEx < l { 48184 preIndex := iNdEx 48185 var wire uint64 48186 for shift := uint(0); ; shift += 7 { 48187 if shift >= 64 { 48188 return ErrIntOverflowAuthservice 48189 } 48190 if iNdEx >= l { 48191 return io.ErrUnexpectedEOF 48192 } 48193 b := dAtA[iNdEx] 48194 iNdEx++ 48195 wire |= uint64(b&0x7F) << shift 48196 if b < 0x80 { 48197 break 48198 } 48199 } 48200 fieldNum := int32(wire >> 3) 48201 wireType := int(wire & 0x7) 48202 if wireType == 4 { 48203 return fmt.Errorf("proto: DeleteApplicationServerRequest: wiretype end group for non-group") 48204 } 48205 if fieldNum <= 0 { 48206 return fmt.Errorf("proto: DeleteApplicationServerRequest: illegal tag %d (wire type %d)", fieldNum, wire) 48207 } 48208 switch fieldNum { 48209 case 1: 48210 if wireType != 2 { 48211 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 48212 } 48213 var stringLen uint64 48214 for shift := uint(0); ; shift += 7 { 48215 if shift >= 64 { 48216 return ErrIntOverflowAuthservice 48217 } 48218 if iNdEx >= l { 48219 return io.ErrUnexpectedEOF 48220 } 48221 b := dAtA[iNdEx] 48222 iNdEx++ 48223 stringLen |= uint64(b&0x7F) << shift 48224 if b < 0x80 { 48225 break 48226 } 48227 } 48228 intStringLen := int(stringLen) 48229 if intStringLen < 0 { 48230 return ErrInvalidLengthAuthservice 48231 } 48232 postIndex := iNdEx + intStringLen 48233 if postIndex < 0 { 48234 return ErrInvalidLengthAuthservice 48235 } 48236 if postIndex > l { 48237 return io.ErrUnexpectedEOF 48238 } 48239 m.Namespace = string(dAtA[iNdEx:postIndex]) 48240 iNdEx = postIndex 48241 case 2: 48242 if wireType != 2 { 48243 return fmt.Errorf("proto: wrong wireType = %d for field HostID", wireType) 48244 } 48245 var stringLen uint64 48246 for shift := uint(0); ; shift += 7 { 48247 if shift >= 64 { 48248 return ErrIntOverflowAuthservice 48249 } 48250 if iNdEx >= l { 48251 return io.ErrUnexpectedEOF 48252 } 48253 b := dAtA[iNdEx] 48254 iNdEx++ 48255 stringLen |= uint64(b&0x7F) << shift 48256 if b < 0x80 { 48257 break 48258 } 48259 } 48260 intStringLen := int(stringLen) 48261 if intStringLen < 0 { 48262 return ErrInvalidLengthAuthservice 48263 } 48264 postIndex := iNdEx + intStringLen 48265 if postIndex < 0 { 48266 return ErrInvalidLengthAuthservice 48267 } 48268 if postIndex > l { 48269 return io.ErrUnexpectedEOF 48270 } 48271 m.HostID = string(dAtA[iNdEx:postIndex]) 48272 iNdEx = postIndex 48273 case 3: 48274 if wireType != 2 { 48275 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 48276 } 48277 var stringLen uint64 48278 for shift := uint(0); ; shift += 7 { 48279 if shift >= 64 { 48280 return ErrIntOverflowAuthservice 48281 } 48282 if iNdEx >= l { 48283 return io.ErrUnexpectedEOF 48284 } 48285 b := dAtA[iNdEx] 48286 iNdEx++ 48287 stringLen |= uint64(b&0x7F) << shift 48288 if b < 0x80 { 48289 break 48290 } 48291 } 48292 intStringLen := int(stringLen) 48293 if intStringLen < 0 { 48294 return ErrInvalidLengthAuthservice 48295 } 48296 postIndex := iNdEx + intStringLen 48297 if postIndex < 0 { 48298 return ErrInvalidLengthAuthservice 48299 } 48300 if postIndex > l { 48301 return io.ErrUnexpectedEOF 48302 } 48303 m.Name = string(dAtA[iNdEx:postIndex]) 48304 iNdEx = postIndex 48305 default: 48306 iNdEx = preIndex 48307 skippy, err := skipAuthservice(dAtA[iNdEx:]) 48308 if err != nil { 48309 return err 48310 } 48311 if (skippy < 0) || (iNdEx+skippy) < 0 { 48312 return ErrInvalidLengthAuthservice 48313 } 48314 if (iNdEx + skippy) > l { 48315 return io.ErrUnexpectedEOF 48316 } 48317 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48318 iNdEx += skippy 48319 } 48320 } 48321 48322 if iNdEx > l { 48323 return io.ErrUnexpectedEOF 48324 } 48325 return nil 48326 } 48327 func (m *DeleteAllApplicationServersRequest) Unmarshal(dAtA []byte) error { 48328 l := len(dAtA) 48329 iNdEx := 0 48330 for iNdEx < l { 48331 preIndex := iNdEx 48332 var wire uint64 48333 for shift := uint(0); ; shift += 7 { 48334 if shift >= 64 { 48335 return ErrIntOverflowAuthservice 48336 } 48337 if iNdEx >= l { 48338 return io.ErrUnexpectedEOF 48339 } 48340 b := dAtA[iNdEx] 48341 iNdEx++ 48342 wire |= uint64(b&0x7F) << shift 48343 if b < 0x80 { 48344 break 48345 } 48346 } 48347 fieldNum := int32(wire >> 3) 48348 wireType := int(wire & 0x7) 48349 if wireType == 4 { 48350 return fmt.Errorf("proto: DeleteAllApplicationServersRequest: wiretype end group for non-group") 48351 } 48352 if fieldNum <= 0 { 48353 return fmt.Errorf("proto: DeleteAllApplicationServersRequest: illegal tag %d (wire type %d)", fieldNum, wire) 48354 } 48355 switch fieldNum { 48356 case 1: 48357 if wireType != 2 { 48358 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 48359 } 48360 var stringLen uint64 48361 for shift := uint(0); ; shift += 7 { 48362 if shift >= 64 { 48363 return ErrIntOverflowAuthservice 48364 } 48365 if iNdEx >= l { 48366 return io.ErrUnexpectedEOF 48367 } 48368 b := dAtA[iNdEx] 48369 iNdEx++ 48370 stringLen |= uint64(b&0x7F) << shift 48371 if b < 0x80 { 48372 break 48373 } 48374 } 48375 intStringLen := int(stringLen) 48376 if intStringLen < 0 { 48377 return ErrInvalidLengthAuthservice 48378 } 48379 postIndex := iNdEx + intStringLen 48380 if postIndex < 0 { 48381 return ErrInvalidLengthAuthservice 48382 } 48383 if postIndex > l { 48384 return io.ErrUnexpectedEOF 48385 } 48386 m.Namespace = string(dAtA[iNdEx:postIndex]) 48387 iNdEx = postIndex 48388 default: 48389 iNdEx = preIndex 48390 skippy, err := skipAuthservice(dAtA[iNdEx:]) 48391 if err != nil { 48392 return err 48393 } 48394 if (skippy < 0) || (iNdEx+skippy) < 0 { 48395 return ErrInvalidLengthAuthservice 48396 } 48397 if (iNdEx + skippy) > l { 48398 return io.ErrUnexpectedEOF 48399 } 48400 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48401 iNdEx += skippy 48402 } 48403 } 48404 48405 if iNdEx > l { 48406 return io.ErrUnexpectedEOF 48407 } 48408 return nil 48409 } 48410 func (m *GenerateAppTokenRequest) Unmarshal(dAtA []byte) error { 48411 l := len(dAtA) 48412 iNdEx := 0 48413 for iNdEx < l { 48414 preIndex := iNdEx 48415 var wire uint64 48416 for shift := uint(0); ; shift += 7 { 48417 if shift >= 64 { 48418 return ErrIntOverflowAuthservice 48419 } 48420 if iNdEx >= l { 48421 return io.ErrUnexpectedEOF 48422 } 48423 b := dAtA[iNdEx] 48424 iNdEx++ 48425 wire |= uint64(b&0x7F) << shift 48426 if b < 0x80 { 48427 break 48428 } 48429 } 48430 fieldNum := int32(wire >> 3) 48431 wireType := int(wire & 0x7) 48432 if wireType == 4 { 48433 return fmt.Errorf("proto: GenerateAppTokenRequest: wiretype end group for non-group") 48434 } 48435 if fieldNum <= 0 { 48436 return fmt.Errorf("proto: GenerateAppTokenRequest: illegal tag %d (wire type %d)", fieldNum, wire) 48437 } 48438 switch fieldNum { 48439 case 1: 48440 if wireType != 2 { 48441 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 48442 } 48443 var stringLen uint64 48444 for shift := uint(0); ; shift += 7 { 48445 if shift >= 64 { 48446 return ErrIntOverflowAuthservice 48447 } 48448 if iNdEx >= l { 48449 return io.ErrUnexpectedEOF 48450 } 48451 b := dAtA[iNdEx] 48452 iNdEx++ 48453 stringLen |= uint64(b&0x7F) << shift 48454 if b < 0x80 { 48455 break 48456 } 48457 } 48458 intStringLen := int(stringLen) 48459 if intStringLen < 0 { 48460 return ErrInvalidLengthAuthservice 48461 } 48462 postIndex := iNdEx + intStringLen 48463 if postIndex < 0 { 48464 return ErrInvalidLengthAuthservice 48465 } 48466 if postIndex > l { 48467 return io.ErrUnexpectedEOF 48468 } 48469 m.Username = string(dAtA[iNdEx:postIndex]) 48470 iNdEx = postIndex 48471 case 2: 48472 if wireType != 2 { 48473 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 48474 } 48475 var stringLen uint64 48476 for shift := uint(0); ; shift += 7 { 48477 if shift >= 64 { 48478 return ErrIntOverflowAuthservice 48479 } 48480 if iNdEx >= l { 48481 return io.ErrUnexpectedEOF 48482 } 48483 b := dAtA[iNdEx] 48484 iNdEx++ 48485 stringLen |= uint64(b&0x7F) << shift 48486 if b < 0x80 { 48487 break 48488 } 48489 } 48490 intStringLen := int(stringLen) 48491 if intStringLen < 0 { 48492 return ErrInvalidLengthAuthservice 48493 } 48494 postIndex := iNdEx + intStringLen 48495 if postIndex < 0 { 48496 return ErrInvalidLengthAuthservice 48497 } 48498 if postIndex > l { 48499 return io.ErrUnexpectedEOF 48500 } 48501 m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) 48502 iNdEx = postIndex 48503 case 3: 48504 if wireType != 2 { 48505 return fmt.Errorf("proto: wrong wireType = %d for field URI", wireType) 48506 } 48507 var stringLen uint64 48508 for shift := uint(0); ; shift += 7 { 48509 if shift >= 64 { 48510 return ErrIntOverflowAuthservice 48511 } 48512 if iNdEx >= l { 48513 return io.ErrUnexpectedEOF 48514 } 48515 b := dAtA[iNdEx] 48516 iNdEx++ 48517 stringLen |= uint64(b&0x7F) << shift 48518 if b < 0x80 { 48519 break 48520 } 48521 } 48522 intStringLen := int(stringLen) 48523 if intStringLen < 0 { 48524 return ErrInvalidLengthAuthservice 48525 } 48526 postIndex := iNdEx + intStringLen 48527 if postIndex < 0 { 48528 return ErrInvalidLengthAuthservice 48529 } 48530 if postIndex > l { 48531 return io.ErrUnexpectedEOF 48532 } 48533 m.URI = string(dAtA[iNdEx:postIndex]) 48534 iNdEx = postIndex 48535 case 4: 48536 if wireType != 2 { 48537 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 48538 } 48539 var msglen int 48540 for shift := uint(0); ; shift += 7 { 48541 if shift >= 64 { 48542 return ErrIntOverflowAuthservice 48543 } 48544 if iNdEx >= l { 48545 return io.ErrUnexpectedEOF 48546 } 48547 b := dAtA[iNdEx] 48548 iNdEx++ 48549 msglen |= int(b&0x7F) << shift 48550 if b < 0x80 { 48551 break 48552 } 48553 } 48554 if msglen < 0 { 48555 return ErrInvalidLengthAuthservice 48556 } 48557 postIndex := iNdEx + msglen 48558 if postIndex < 0 { 48559 return ErrInvalidLengthAuthservice 48560 } 48561 if postIndex > l { 48562 return io.ErrUnexpectedEOF 48563 } 48564 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Expires, dAtA[iNdEx:postIndex]); err != nil { 48565 return err 48566 } 48567 iNdEx = postIndex 48568 case 5: 48569 if wireType != 2 { 48570 return fmt.Errorf("proto: wrong wireType = %d for field Traits", wireType) 48571 } 48572 var msglen int 48573 for shift := uint(0); ; shift += 7 { 48574 if shift >= 64 { 48575 return ErrIntOverflowAuthservice 48576 } 48577 if iNdEx >= l { 48578 return io.ErrUnexpectedEOF 48579 } 48580 b := dAtA[iNdEx] 48581 iNdEx++ 48582 msglen |= int(b&0x7F) << shift 48583 if b < 0x80 { 48584 break 48585 } 48586 } 48587 if msglen < 0 { 48588 return ErrInvalidLengthAuthservice 48589 } 48590 postIndex := iNdEx + msglen 48591 if postIndex < 0 { 48592 return ErrInvalidLengthAuthservice 48593 } 48594 if postIndex > l { 48595 return io.ErrUnexpectedEOF 48596 } 48597 if m.Traits == nil { 48598 m.Traits = make(map[string]*wrappers.StringValues) 48599 } 48600 var mapkey string 48601 var mapvalue *wrappers.StringValues 48602 for iNdEx < postIndex { 48603 entryPreIndex := iNdEx 48604 var wire uint64 48605 for shift := uint(0); ; shift += 7 { 48606 if shift >= 64 { 48607 return ErrIntOverflowAuthservice 48608 } 48609 if iNdEx >= l { 48610 return io.ErrUnexpectedEOF 48611 } 48612 b := dAtA[iNdEx] 48613 iNdEx++ 48614 wire |= uint64(b&0x7F) << shift 48615 if b < 0x80 { 48616 break 48617 } 48618 } 48619 fieldNum := int32(wire >> 3) 48620 if fieldNum == 1 { 48621 var stringLenmapkey uint64 48622 for shift := uint(0); ; shift += 7 { 48623 if shift >= 64 { 48624 return ErrIntOverflowAuthservice 48625 } 48626 if iNdEx >= l { 48627 return io.ErrUnexpectedEOF 48628 } 48629 b := dAtA[iNdEx] 48630 iNdEx++ 48631 stringLenmapkey |= uint64(b&0x7F) << shift 48632 if b < 0x80 { 48633 break 48634 } 48635 } 48636 intStringLenmapkey := int(stringLenmapkey) 48637 if intStringLenmapkey < 0 { 48638 return ErrInvalidLengthAuthservice 48639 } 48640 postStringIndexmapkey := iNdEx + intStringLenmapkey 48641 if postStringIndexmapkey < 0 { 48642 return ErrInvalidLengthAuthservice 48643 } 48644 if postStringIndexmapkey > l { 48645 return io.ErrUnexpectedEOF 48646 } 48647 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 48648 iNdEx = postStringIndexmapkey 48649 } else if fieldNum == 2 { 48650 var mapmsglen int 48651 for shift := uint(0); ; shift += 7 { 48652 if shift >= 64 { 48653 return ErrIntOverflowAuthservice 48654 } 48655 if iNdEx >= l { 48656 return io.ErrUnexpectedEOF 48657 } 48658 b := dAtA[iNdEx] 48659 iNdEx++ 48660 mapmsglen |= int(b&0x7F) << shift 48661 if b < 0x80 { 48662 break 48663 } 48664 } 48665 if mapmsglen < 0 { 48666 return ErrInvalidLengthAuthservice 48667 } 48668 postmsgIndex := iNdEx + mapmsglen 48669 if postmsgIndex < 0 { 48670 return ErrInvalidLengthAuthservice 48671 } 48672 if postmsgIndex > l { 48673 return io.ErrUnexpectedEOF 48674 } 48675 mapvalue = &wrappers.StringValues{} 48676 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 48677 return err 48678 } 48679 iNdEx = postmsgIndex 48680 } else { 48681 iNdEx = entryPreIndex 48682 skippy, err := skipAuthservice(dAtA[iNdEx:]) 48683 if err != nil { 48684 return err 48685 } 48686 if (skippy < 0) || (iNdEx+skippy) < 0 { 48687 return ErrInvalidLengthAuthservice 48688 } 48689 if (iNdEx + skippy) > postIndex { 48690 return io.ErrUnexpectedEOF 48691 } 48692 iNdEx += skippy 48693 } 48694 } 48695 m.Traits[mapkey] = mapvalue 48696 iNdEx = postIndex 48697 default: 48698 iNdEx = preIndex 48699 skippy, err := skipAuthservice(dAtA[iNdEx:]) 48700 if err != nil { 48701 return err 48702 } 48703 if (skippy < 0) || (iNdEx+skippy) < 0 { 48704 return ErrInvalidLengthAuthservice 48705 } 48706 if (iNdEx + skippy) > l { 48707 return io.ErrUnexpectedEOF 48708 } 48709 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48710 iNdEx += skippy 48711 } 48712 } 48713 48714 if iNdEx > l { 48715 return io.ErrUnexpectedEOF 48716 } 48717 return nil 48718 } 48719 func (m *GenerateAppTokenResponse) Unmarshal(dAtA []byte) error { 48720 l := len(dAtA) 48721 iNdEx := 0 48722 for iNdEx < l { 48723 preIndex := iNdEx 48724 var wire uint64 48725 for shift := uint(0); ; shift += 7 { 48726 if shift >= 64 { 48727 return ErrIntOverflowAuthservice 48728 } 48729 if iNdEx >= l { 48730 return io.ErrUnexpectedEOF 48731 } 48732 b := dAtA[iNdEx] 48733 iNdEx++ 48734 wire |= uint64(b&0x7F) << shift 48735 if b < 0x80 { 48736 break 48737 } 48738 } 48739 fieldNum := int32(wire >> 3) 48740 wireType := int(wire & 0x7) 48741 if wireType == 4 { 48742 return fmt.Errorf("proto: GenerateAppTokenResponse: wiretype end group for non-group") 48743 } 48744 if fieldNum <= 0 { 48745 return fmt.Errorf("proto: GenerateAppTokenResponse: illegal tag %d (wire type %d)", fieldNum, wire) 48746 } 48747 switch fieldNum { 48748 case 1: 48749 if wireType != 2 { 48750 return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) 48751 } 48752 var stringLen uint64 48753 for shift := uint(0); ; shift += 7 { 48754 if shift >= 64 { 48755 return ErrIntOverflowAuthservice 48756 } 48757 if iNdEx >= l { 48758 return io.ErrUnexpectedEOF 48759 } 48760 b := dAtA[iNdEx] 48761 iNdEx++ 48762 stringLen |= uint64(b&0x7F) << shift 48763 if b < 0x80 { 48764 break 48765 } 48766 } 48767 intStringLen := int(stringLen) 48768 if intStringLen < 0 { 48769 return ErrInvalidLengthAuthservice 48770 } 48771 postIndex := iNdEx + intStringLen 48772 if postIndex < 0 { 48773 return ErrInvalidLengthAuthservice 48774 } 48775 if postIndex > l { 48776 return io.ErrUnexpectedEOF 48777 } 48778 m.Token = string(dAtA[iNdEx:postIndex]) 48779 iNdEx = postIndex 48780 default: 48781 iNdEx = preIndex 48782 skippy, err := skipAuthservice(dAtA[iNdEx:]) 48783 if err != nil { 48784 return err 48785 } 48786 if (skippy < 0) || (iNdEx+skippy) < 0 { 48787 return ErrInvalidLengthAuthservice 48788 } 48789 if (iNdEx + skippy) > l { 48790 return io.ErrUnexpectedEOF 48791 } 48792 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48793 iNdEx += skippy 48794 } 48795 } 48796 48797 if iNdEx > l { 48798 return io.ErrUnexpectedEOF 48799 } 48800 return nil 48801 } 48802 func (m *GetAppSessionRequest) Unmarshal(dAtA []byte) error { 48803 l := len(dAtA) 48804 iNdEx := 0 48805 for iNdEx < l { 48806 preIndex := iNdEx 48807 var wire uint64 48808 for shift := uint(0); ; shift += 7 { 48809 if shift >= 64 { 48810 return ErrIntOverflowAuthservice 48811 } 48812 if iNdEx >= l { 48813 return io.ErrUnexpectedEOF 48814 } 48815 b := dAtA[iNdEx] 48816 iNdEx++ 48817 wire |= uint64(b&0x7F) << shift 48818 if b < 0x80 { 48819 break 48820 } 48821 } 48822 fieldNum := int32(wire >> 3) 48823 wireType := int(wire & 0x7) 48824 if wireType == 4 { 48825 return fmt.Errorf("proto: GetAppSessionRequest: wiretype end group for non-group") 48826 } 48827 if fieldNum <= 0 { 48828 return fmt.Errorf("proto: GetAppSessionRequest: illegal tag %d (wire type %d)", fieldNum, wire) 48829 } 48830 switch fieldNum { 48831 case 1: 48832 if wireType != 2 { 48833 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 48834 } 48835 var stringLen uint64 48836 for shift := uint(0); ; shift += 7 { 48837 if shift >= 64 { 48838 return ErrIntOverflowAuthservice 48839 } 48840 if iNdEx >= l { 48841 return io.ErrUnexpectedEOF 48842 } 48843 b := dAtA[iNdEx] 48844 iNdEx++ 48845 stringLen |= uint64(b&0x7F) << shift 48846 if b < 0x80 { 48847 break 48848 } 48849 } 48850 intStringLen := int(stringLen) 48851 if intStringLen < 0 { 48852 return ErrInvalidLengthAuthservice 48853 } 48854 postIndex := iNdEx + intStringLen 48855 if postIndex < 0 { 48856 return ErrInvalidLengthAuthservice 48857 } 48858 if postIndex > l { 48859 return io.ErrUnexpectedEOF 48860 } 48861 m.SessionID = string(dAtA[iNdEx:postIndex]) 48862 iNdEx = postIndex 48863 default: 48864 iNdEx = preIndex 48865 skippy, err := skipAuthservice(dAtA[iNdEx:]) 48866 if err != nil { 48867 return err 48868 } 48869 if (skippy < 0) || (iNdEx+skippy) < 0 { 48870 return ErrInvalidLengthAuthservice 48871 } 48872 if (iNdEx + skippy) > l { 48873 return io.ErrUnexpectedEOF 48874 } 48875 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48876 iNdEx += skippy 48877 } 48878 } 48879 48880 if iNdEx > l { 48881 return io.ErrUnexpectedEOF 48882 } 48883 return nil 48884 } 48885 func (m *GetAppSessionResponse) Unmarshal(dAtA []byte) error { 48886 l := len(dAtA) 48887 iNdEx := 0 48888 for iNdEx < l { 48889 preIndex := iNdEx 48890 var wire uint64 48891 for shift := uint(0); ; shift += 7 { 48892 if shift >= 64 { 48893 return ErrIntOverflowAuthservice 48894 } 48895 if iNdEx >= l { 48896 return io.ErrUnexpectedEOF 48897 } 48898 b := dAtA[iNdEx] 48899 iNdEx++ 48900 wire |= uint64(b&0x7F) << shift 48901 if b < 0x80 { 48902 break 48903 } 48904 } 48905 fieldNum := int32(wire >> 3) 48906 wireType := int(wire & 0x7) 48907 if wireType == 4 { 48908 return fmt.Errorf("proto: GetAppSessionResponse: wiretype end group for non-group") 48909 } 48910 if fieldNum <= 0 { 48911 return fmt.Errorf("proto: GetAppSessionResponse: illegal tag %d (wire type %d)", fieldNum, wire) 48912 } 48913 switch fieldNum { 48914 case 1: 48915 if wireType != 2 { 48916 return fmt.Errorf("proto: wrong wireType = %d for field Session", wireType) 48917 } 48918 var msglen int 48919 for shift := uint(0); ; shift += 7 { 48920 if shift >= 64 { 48921 return ErrIntOverflowAuthservice 48922 } 48923 if iNdEx >= l { 48924 return io.ErrUnexpectedEOF 48925 } 48926 b := dAtA[iNdEx] 48927 iNdEx++ 48928 msglen |= int(b&0x7F) << shift 48929 if b < 0x80 { 48930 break 48931 } 48932 } 48933 if msglen < 0 { 48934 return ErrInvalidLengthAuthservice 48935 } 48936 postIndex := iNdEx + msglen 48937 if postIndex < 0 { 48938 return ErrInvalidLengthAuthservice 48939 } 48940 if postIndex > l { 48941 return io.ErrUnexpectedEOF 48942 } 48943 if m.Session == nil { 48944 m.Session = &types.WebSessionV2{} 48945 } 48946 if err := m.Session.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 48947 return err 48948 } 48949 iNdEx = postIndex 48950 default: 48951 iNdEx = preIndex 48952 skippy, err := skipAuthservice(dAtA[iNdEx:]) 48953 if err != nil { 48954 return err 48955 } 48956 if (skippy < 0) || (iNdEx+skippy) < 0 { 48957 return ErrInvalidLengthAuthservice 48958 } 48959 if (iNdEx + skippy) > l { 48960 return io.ErrUnexpectedEOF 48961 } 48962 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48963 iNdEx += skippy 48964 } 48965 } 48966 48967 if iNdEx > l { 48968 return io.ErrUnexpectedEOF 48969 } 48970 return nil 48971 } 48972 func (m *ListAppSessionsRequest) Unmarshal(dAtA []byte) error { 48973 l := len(dAtA) 48974 iNdEx := 0 48975 for iNdEx < l { 48976 preIndex := iNdEx 48977 var wire uint64 48978 for shift := uint(0); ; shift += 7 { 48979 if shift >= 64 { 48980 return ErrIntOverflowAuthservice 48981 } 48982 if iNdEx >= l { 48983 return io.ErrUnexpectedEOF 48984 } 48985 b := dAtA[iNdEx] 48986 iNdEx++ 48987 wire |= uint64(b&0x7F) << shift 48988 if b < 0x80 { 48989 break 48990 } 48991 } 48992 fieldNum := int32(wire >> 3) 48993 wireType := int(wire & 0x7) 48994 if wireType == 4 { 48995 return fmt.Errorf("proto: ListAppSessionsRequest: wiretype end group for non-group") 48996 } 48997 if fieldNum <= 0 { 48998 return fmt.Errorf("proto: ListAppSessionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 48999 } 49000 switch fieldNum { 49001 case 1: 49002 if wireType != 0 { 49003 return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) 49004 } 49005 m.PageSize = 0 49006 for shift := uint(0); ; shift += 7 { 49007 if shift >= 64 { 49008 return ErrIntOverflowAuthservice 49009 } 49010 if iNdEx >= l { 49011 return io.ErrUnexpectedEOF 49012 } 49013 b := dAtA[iNdEx] 49014 iNdEx++ 49015 m.PageSize |= int32(b&0x7F) << shift 49016 if b < 0x80 { 49017 break 49018 } 49019 } 49020 case 2: 49021 if wireType != 2 { 49022 return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) 49023 } 49024 var stringLen uint64 49025 for shift := uint(0); ; shift += 7 { 49026 if shift >= 64 { 49027 return ErrIntOverflowAuthservice 49028 } 49029 if iNdEx >= l { 49030 return io.ErrUnexpectedEOF 49031 } 49032 b := dAtA[iNdEx] 49033 iNdEx++ 49034 stringLen |= uint64(b&0x7F) << shift 49035 if b < 0x80 { 49036 break 49037 } 49038 } 49039 intStringLen := int(stringLen) 49040 if intStringLen < 0 { 49041 return ErrInvalidLengthAuthservice 49042 } 49043 postIndex := iNdEx + intStringLen 49044 if postIndex < 0 { 49045 return ErrInvalidLengthAuthservice 49046 } 49047 if postIndex > l { 49048 return io.ErrUnexpectedEOF 49049 } 49050 m.PageToken = string(dAtA[iNdEx:postIndex]) 49051 iNdEx = postIndex 49052 case 3: 49053 if wireType != 2 { 49054 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 49055 } 49056 var stringLen uint64 49057 for shift := uint(0); ; shift += 7 { 49058 if shift >= 64 { 49059 return ErrIntOverflowAuthservice 49060 } 49061 if iNdEx >= l { 49062 return io.ErrUnexpectedEOF 49063 } 49064 b := dAtA[iNdEx] 49065 iNdEx++ 49066 stringLen |= uint64(b&0x7F) << shift 49067 if b < 0x80 { 49068 break 49069 } 49070 } 49071 intStringLen := int(stringLen) 49072 if intStringLen < 0 { 49073 return ErrInvalidLengthAuthservice 49074 } 49075 postIndex := iNdEx + intStringLen 49076 if postIndex < 0 { 49077 return ErrInvalidLengthAuthservice 49078 } 49079 if postIndex > l { 49080 return io.ErrUnexpectedEOF 49081 } 49082 m.User = string(dAtA[iNdEx:postIndex]) 49083 iNdEx = postIndex 49084 default: 49085 iNdEx = preIndex 49086 skippy, err := skipAuthservice(dAtA[iNdEx:]) 49087 if err != nil { 49088 return err 49089 } 49090 if (skippy < 0) || (iNdEx+skippy) < 0 { 49091 return ErrInvalidLengthAuthservice 49092 } 49093 if (iNdEx + skippy) > l { 49094 return io.ErrUnexpectedEOF 49095 } 49096 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 49097 iNdEx += skippy 49098 } 49099 } 49100 49101 if iNdEx > l { 49102 return io.ErrUnexpectedEOF 49103 } 49104 return nil 49105 } 49106 func (m *ListAppSessionsResponse) Unmarshal(dAtA []byte) error { 49107 l := len(dAtA) 49108 iNdEx := 0 49109 for iNdEx < l { 49110 preIndex := iNdEx 49111 var wire uint64 49112 for shift := uint(0); ; shift += 7 { 49113 if shift >= 64 { 49114 return ErrIntOverflowAuthservice 49115 } 49116 if iNdEx >= l { 49117 return io.ErrUnexpectedEOF 49118 } 49119 b := dAtA[iNdEx] 49120 iNdEx++ 49121 wire |= uint64(b&0x7F) << shift 49122 if b < 0x80 { 49123 break 49124 } 49125 } 49126 fieldNum := int32(wire >> 3) 49127 wireType := int(wire & 0x7) 49128 if wireType == 4 { 49129 return fmt.Errorf("proto: ListAppSessionsResponse: wiretype end group for non-group") 49130 } 49131 if fieldNum <= 0 { 49132 return fmt.Errorf("proto: ListAppSessionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 49133 } 49134 switch fieldNum { 49135 case 1: 49136 if wireType != 2 { 49137 return fmt.Errorf("proto: wrong wireType = %d for field Sessions", wireType) 49138 } 49139 var msglen int 49140 for shift := uint(0); ; shift += 7 { 49141 if shift >= 64 { 49142 return ErrIntOverflowAuthservice 49143 } 49144 if iNdEx >= l { 49145 return io.ErrUnexpectedEOF 49146 } 49147 b := dAtA[iNdEx] 49148 iNdEx++ 49149 msglen |= int(b&0x7F) << shift 49150 if b < 0x80 { 49151 break 49152 } 49153 } 49154 if msglen < 0 { 49155 return ErrInvalidLengthAuthservice 49156 } 49157 postIndex := iNdEx + msglen 49158 if postIndex < 0 { 49159 return ErrInvalidLengthAuthservice 49160 } 49161 if postIndex > l { 49162 return io.ErrUnexpectedEOF 49163 } 49164 m.Sessions = append(m.Sessions, &types.WebSessionV2{}) 49165 if err := m.Sessions[len(m.Sessions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 49166 return err 49167 } 49168 iNdEx = postIndex 49169 case 2: 49170 if wireType != 2 { 49171 return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) 49172 } 49173 var stringLen uint64 49174 for shift := uint(0); ; shift += 7 { 49175 if shift >= 64 { 49176 return ErrIntOverflowAuthservice 49177 } 49178 if iNdEx >= l { 49179 return io.ErrUnexpectedEOF 49180 } 49181 b := dAtA[iNdEx] 49182 iNdEx++ 49183 stringLen |= uint64(b&0x7F) << shift 49184 if b < 0x80 { 49185 break 49186 } 49187 } 49188 intStringLen := int(stringLen) 49189 if intStringLen < 0 { 49190 return ErrInvalidLengthAuthservice 49191 } 49192 postIndex := iNdEx + intStringLen 49193 if postIndex < 0 { 49194 return ErrInvalidLengthAuthservice 49195 } 49196 if postIndex > l { 49197 return io.ErrUnexpectedEOF 49198 } 49199 m.NextPageToken = string(dAtA[iNdEx:postIndex]) 49200 iNdEx = postIndex 49201 default: 49202 iNdEx = preIndex 49203 skippy, err := skipAuthservice(dAtA[iNdEx:]) 49204 if err != nil { 49205 return err 49206 } 49207 if (skippy < 0) || (iNdEx+skippy) < 0 { 49208 return ErrInvalidLengthAuthservice 49209 } 49210 if (iNdEx + skippy) > l { 49211 return io.ErrUnexpectedEOF 49212 } 49213 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 49214 iNdEx += skippy 49215 } 49216 } 49217 49218 if iNdEx > l { 49219 return io.ErrUnexpectedEOF 49220 } 49221 return nil 49222 } 49223 func (m *GetSnowflakeSessionsResponse) Unmarshal(dAtA []byte) error { 49224 l := len(dAtA) 49225 iNdEx := 0 49226 for iNdEx < l { 49227 preIndex := iNdEx 49228 var wire uint64 49229 for shift := uint(0); ; shift += 7 { 49230 if shift >= 64 { 49231 return ErrIntOverflowAuthservice 49232 } 49233 if iNdEx >= l { 49234 return io.ErrUnexpectedEOF 49235 } 49236 b := dAtA[iNdEx] 49237 iNdEx++ 49238 wire |= uint64(b&0x7F) << shift 49239 if b < 0x80 { 49240 break 49241 } 49242 } 49243 fieldNum := int32(wire >> 3) 49244 wireType := int(wire & 0x7) 49245 if wireType == 4 { 49246 return fmt.Errorf("proto: GetSnowflakeSessionsResponse: wiretype end group for non-group") 49247 } 49248 if fieldNum <= 0 { 49249 return fmt.Errorf("proto: GetSnowflakeSessionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 49250 } 49251 switch fieldNum { 49252 case 1: 49253 if wireType != 2 { 49254 return fmt.Errorf("proto: wrong wireType = %d for field Sessions", wireType) 49255 } 49256 var msglen int 49257 for shift := uint(0); ; shift += 7 { 49258 if shift >= 64 { 49259 return ErrIntOverflowAuthservice 49260 } 49261 if iNdEx >= l { 49262 return io.ErrUnexpectedEOF 49263 } 49264 b := dAtA[iNdEx] 49265 iNdEx++ 49266 msglen |= int(b&0x7F) << shift 49267 if b < 0x80 { 49268 break 49269 } 49270 } 49271 if msglen < 0 { 49272 return ErrInvalidLengthAuthservice 49273 } 49274 postIndex := iNdEx + msglen 49275 if postIndex < 0 { 49276 return ErrInvalidLengthAuthservice 49277 } 49278 if postIndex > l { 49279 return io.ErrUnexpectedEOF 49280 } 49281 m.Sessions = append(m.Sessions, &types.WebSessionV2{}) 49282 if err := m.Sessions[len(m.Sessions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 49283 return err 49284 } 49285 iNdEx = postIndex 49286 default: 49287 iNdEx = preIndex 49288 skippy, err := skipAuthservice(dAtA[iNdEx:]) 49289 if err != nil { 49290 return err 49291 } 49292 if (skippy < 0) || (iNdEx+skippy) < 0 { 49293 return ErrInvalidLengthAuthservice 49294 } 49295 if (iNdEx + skippy) > l { 49296 return io.ErrUnexpectedEOF 49297 } 49298 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 49299 iNdEx += skippy 49300 } 49301 } 49302 49303 if iNdEx > l { 49304 return io.ErrUnexpectedEOF 49305 } 49306 return nil 49307 } 49308 func (m *ListSAMLIdPSessionsRequest) Unmarshal(dAtA []byte) error { 49309 l := len(dAtA) 49310 iNdEx := 0 49311 for iNdEx < l { 49312 preIndex := iNdEx 49313 var wire uint64 49314 for shift := uint(0); ; shift += 7 { 49315 if shift >= 64 { 49316 return ErrIntOverflowAuthservice 49317 } 49318 if iNdEx >= l { 49319 return io.ErrUnexpectedEOF 49320 } 49321 b := dAtA[iNdEx] 49322 iNdEx++ 49323 wire |= uint64(b&0x7F) << shift 49324 if b < 0x80 { 49325 break 49326 } 49327 } 49328 fieldNum := int32(wire >> 3) 49329 wireType := int(wire & 0x7) 49330 if wireType == 4 { 49331 return fmt.Errorf("proto: ListSAMLIdPSessionsRequest: wiretype end group for non-group") 49332 } 49333 if fieldNum <= 0 { 49334 return fmt.Errorf("proto: ListSAMLIdPSessionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 49335 } 49336 switch fieldNum { 49337 case 1: 49338 if wireType != 0 { 49339 return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) 49340 } 49341 m.PageSize = 0 49342 for shift := uint(0); ; shift += 7 { 49343 if shift >= 64 { 49344 return ErrIntOverflowAuthservice 49345 } 49346 if iNdEx >= l { 49347 return io.ErrUnexpectedEOF 49348 } 49349 b := dAtA[iNdEx] 49350 iNdEx++ 49351 m.PageSize |= int32(b&0x7F) << shift 49352 if b < 0x80 { 49353 break 49354 } 49355 } 49356 case 2: 49357 if wireType != 2 { 49358 return fmt.Errorf("proto: wrong wireType = %d for field PageToken", wireType) 49359 } 49360 var stringLen uint64 49361 for shift := uint(0); ; shift += 7 { 49362 if shift >= 64 { 49363 return ErrIntOverflowAuthservice 49364 } 49365 if iNdEx >= l { 49366 return io.ErrUnexpectedEOF 49367 } 49368 b := dAtA[iNdEx] 49369 iNdEx++ 49370 stringLen |= uint64(b&0x7F) << shift 49371 if b < 0x80 { 49372 break 49373 } 49374 } 49375 intStringLen := int(stringLen) 49376 if intStringLen < 0 { 49377 return ErrInvalidLengthAuthservice 49378 } 49379 postIndex := iNdEx + intStringLen 49380 if postIndex < 0 { 49381 return ErrInvalidLengthAuthservice 49382 } 49383 if postIndex > l { 49384 return io.ErrUnexpectedEOF 49385 } 49386 m.PageToken = string(dAtA[iNdEx:postIndex]) 49387 iNdEx = postIndex 49388 case 3: 49389 if wireType != 2 { 49390 return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) 49391 } 49392 var stringLen uint64 49393 for shift := uint(0); ; shift += 7 { 49394 if shift >= 64 { 49395 return ErrIntOverflowAuthservice 49396 } 49397 if iNdEx >= l { 49398 return io.ErrUnexpectedEOF 49399 } 49400 b := dAtA[iNdEx] 49401 iNdEx++ 49402 stringLen |= uint64(b&0x7F) << shift 49403 if b < 0x80 { 49404 break 49405 } 49406 } 49407 intStringLen := int(stringLen) 49408 if intStringLen < 0 { 49409 return ErrInvalidLengthAuthservice 49410 } 49411 postIndex := iNdEx + intStringLen 49412 if postIndex < 0 { 49413 return ErrInvalidLengthAuthservice 49414 } 49415 if postIndex > l { 49416 return io.ErrUnexpectedEOF 49417 } 49418 m.User = string(dAtA[iNdEx:postIndex]) 49419 iNdEx = postIndex 49420 default: 49421 iNdEx = preIndex 49422 skippy, err := skipAuthservice(dAtA[iNdEx:]) 49423 if err != nil { 49424 return err 49425 } 49426 if (skippy < 0) || (iNdEx+skippy) < 0 { 49427 return ErrInvalidLengthAuthservice 49428 } 49429 if (iNdEx + skippy) > l { 49430 return io.ErrUnexpectedEOF 49431 } 49432 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 49433 iNdEx += skippy 49434 } 49435 } 49436 49437 if iNdEx > l { 49438 return io.ErrUnexpectedEOF 49439 } 49440 return nil 49441 } 49442 func (m *ListSAMLIdPSessionsResponse) Unmarshal(dAtA []byte) error { 49443 l := len(dAtA) 49444 iNdEx := 0 49445 for iNdEx < l { 49446 preIndex := iNdEx 49447 var wire uint64 49448 for shift := uint(0); ; shift += 7 { 49449 if shift >= 64 { 49450 return ErrIntOverflowAuthservice 49451 } 49452 if iNdEx >= l { 49453 return io.ErrUnexpectedEOF 49454 } 49455 b := dAtA[iNdEx] 49456 iNdEx++ 49457 wire |= uint64(b&0x7F) << shift 49458 if b < 0x80 { 49459 break 49460 } 49461 } 49462 fieldNum := int32(wire >> 3) 49463 wireType := int(wire & 0x7) 49464 if wireType == 4 { 49465 return fmt.Errorf("proto: ListSAMLIdPSessionsResponse: wiretype end group for non-group") 49466 } 49467 if fieldNum <= 0 { 49468 return fmt.Errorf("proto: ListSAMLIdPSessionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 49469 } 49470 switch fieldNum { 49471 case 1: 49472 if wireType != 2 { 49473 return fmt.Errorf("proto: wrong wireType = %d for field Sessions", wireType) 49474 } 49475 var msglen int 49476 for shift := uint(0); ; shift += 7 { 49477 if shift >= 64 { 49478 return ErrIntOverflowAuthservice 49479 } 49480 if iNdEx >= l { 49481 return io.ErrUnexpectedEOF 49482 } 49483 b := dAtA[iNdEx] 49484 iNdEx++ 49485 msglen |= int(b&0x7F) << shift 49486 if b < 0x80 { 49487 break 49488 } 49489 } 49490 if msglen < 0 { 49491 return ErrInvalidLengthAuthservice 49492 } 49493 postIndex := iNdEx + msglen 49494 if postIndex < 0 { 49495 return ErrInvalidLengthAuthservice 49496 } 49497 if postIndex > l { 49498 return io.ErrUnexpectedEOF 49499 } 49500 m.Sessions = append(m.Sessions, &types.WebSessionV2{}) 49501 if err := m.Sessions[len(m.Sessions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 49502 return err 49503 } 49504 iNdEx = postIndex 49505 case 2: 49506 if wireType != 2 { 49507 return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) 49508 } 49509 var stringLen uint64 49510 for shift := uint(0); ; shift += 7 { 49511 if shift >= 64 { 49512 return ErrIntOverflowAuthservice 49513 } 49514 if iNdEx >= l { 49515 return io.ErrUnexpectedEOF 49516 } 49517 b := dAtA[iNdEx] 49518 iNdEx++ 49519 stringLen |= uint64(b&0x7F) << shift 49520 if b < 0x80 { 49521 break 49522 } 49523 } 49524 intStringLen := int(stringLen) 49525 if intStringLen < 0 { 49526 return ErrInvalidLengthAuthservice 49527 } 49528 postIndex := iNdEx + intStringLen 49529 if postIndex < 0 { 49530 return ErrInvalidLengthAuthservice 49531 } 49532 if postIndex > l { 49533 return io.ErrUnexpectedEOF 49534 } 49535 m.NextPageToken = string(dAtA[iNdEx:postIndex]) 49536 iNdEx = postIndex 49537 default: 49538 iNdEx = preIndex 49539 skippy, err := skipAuthservice(dAtA[iNdEx:]) 49540 if err != nil { 49541 return err 49542 } 49543 if (skippy < 0) || (iNdEx+skippy) < 0 { 49544 return ErrInvalidLengthAuthservice 49545 } 49546 if (iNdEx + skippy) > l { 49547 return io.ErrUnexpectedEOF 49548 } 49549 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 49550 iNdEx += skippy 49551 } 49552 } 49553 49554 if iNdEx > l { 49555 return io.ErrUnexpectedEOF 49556 } 49557 return nil 49558 } 49559 func (m *CreateAppSessionRequest) Unmarshal(dAtA []byte) error { 49560 l := len(dAtA) 49561 iNdEx := 0 49562 for iNdEx < l { 49563 preIndex := iNdEx 49564 var wire uint64 49565 for shift := uint(0); ; shift += 7 { 49566 if shift >= 64 { 49567 return ErrIntOverflowAuthservice 49568 } 49569 if iNdEx >= l { 49570 return io.ErrUnexpectedEOF 49571 } 49572 b := dAtA[iNdEx] 49573 iNdEx++ 49574 wire |= uint64(b&0x7F) << shift 49575 if b < 0x80 { 49576 break 49577 } 49578 } 49579 fieldNum := int32(wire >> 3) 49580 wireType := int(wire & 0x7) 49581 if wireType == 4 { 49582 return fmt.Errorf("proto: CreateAppSessionRequest: wiretype end group for non-group") 49583 } 49584 if fieldNum <= 0 { 49585 return fmt.Errorf("proto: CreateAppSessionRequest: illegal tag %d (wire type %d)", fieldNum, wire) 49586 } 49587 switch fieldNum { 49588 case 1: 49589 if wireType != 2 { 49590 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 49591 } 49592 var stringLen uint64 49593 for shift := uint(0); ; shift += 7 { 49594 if shift >= 64 { 49595 return ErrIntOverflowAuthservice 49596 } 49597 if iNdEx >= l { 49598 return io.ErrUnexpectedEOF 49599 } 49600 b := dAtA[iNdEx] 49601 iNdEx++ 49602 stringLen |= uint64(b&0x7F) << shift 49603 if b < 0x80 { 49604 break 49605 } 49606 } 49607 intStringLen := int(stringLen) 49608 if intStringLen < 0 { 49609 return ErrInvalidLengthAuthservice 49610 } 49611 postIndex := iNdEx + intStringLen 49612 if postIndex < 0 { 49613 return ErrInvalidLengthAuthservice 49614 } 49615 if postIndex > l { 49616 return io.ErrUnexpectedEOF 49617 } 49618 m.Username = string(dAtA[iNdEx:postIndex]) 49619 iNdEx = postIndex 49620 case 3: 49621 if wireType != 2 { 49622 return fmt.Errorf("proto: wrong wireType = %d for field PublicAddr", wireType) 49623 } 49624 var stringLen uint64 49625 for shift := uint(0); ; shift += 7 { 49626 if shift >= 64 { 49627 return ErrIntOverflowAuthservice 49628 } 49629 if iNdEx >= l { 49630 return io.ErrUnexpectedEOF 49631 } 49632 b := dAtA[iNdEx] 49633 iNdEx++ 49634 stringLen |= uint64(b&0x7F) << shift 49635 if b < 0x80 { 49636 break 49637 } 49638 } 49639 intStringLen := int(stringLen) 49640 if intStringLen < 0 { 49641 return ErrInvalidLengthAuthservice 49642 } 49643 postIndex := iNdEx + intStringLen 49644 if postIndex < 0 { 49645 return ErrInvalidLengthAuthservice 49646 } 49647 if postIndex > l { 49648 return io.ErrUnexpectedEOF 49649 } 49650 m.PublicAddr = string(dAtA[iNdEx:postIndex]) 49651 iNdEx = postIndex 49652 case 4: 49653 if wireType != 2 { 49654 return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) 49655 } 49656 var stringLen uint64 49657 for shift := uint(0); ; shift += 7 { 49658 if shift >= 64 { 49659 return ErrIntOverflowAuthservice 49660 } 49661 if iNdEx >= l { 49662 return io.ErrUnexpectedEOF 49663 } 49664 b := dAtA[iNdEx] 49665 iNdEx++ 49666 stringLen |= uint64(b&0x7F) << shift 49667 if b < 0x80 { 49668 break 49669 } 49670 } 49671 intStringLen := int(stringLen) 49672 if intStringLen < 0 { 49673 return ErrInvalidLengthAuthservice 49674 } 49675 postIndex := iNdEx + intStringLen 49676 if postIndex < 0 { 49677 return ErrInvalidLengthAuthservice 49678 } 49679 if postIndex > l { 49680 return io.ErrUnexpectedEOF 49681 } 49682 m.ClusterName = string(dAtA[iNdEx:postIndex]) 49683 iNdEx = postIndex 49684 case 5: 49685 if wireType != 2 { 49686 return fmt.Errorf("proto: wrong wireType = %d for field AWSRoleARN", wireType) 49687 } 49688 var stringLen uint64 49689 for shift := uint(0); ; shift += 7 { 49690 if shift >= 64 { 49691 return ErrIntOverflowAuthservice 49692 } 49693 if iNdEx >= l { 49694 return io.ErrUnexpectedEOF 49695 } 49696 b := dAtA[iNdEx] 49697 iNdEx++ 49698 stringLen |= uint64(b&0x7F) << shift 49699 if b < 0x80 { 49700 break 49701 } 49702 } 49703 intStringLen := int(stringLen) 49704 if intStringLen < 0 { 49705 return ErrInvalidLengthAuthservice 49706 } 49707 postIndex := iNdEx + intStringLen 49708 if postIndex < 0 { 49709 return ErrInvalidLengthAuthservice 49710 } 49711 if postIndex > l { 49712 return io.ErrUnexpectedEOF 49713 } 49714 m.AWSRoleARN = string(dAtA[iNdEx:postIndex]) 49715 iNdEx = postIndex 49716 case 6: 49717 if wireType != 2 { 49718 return fmt.Errorf("proto: wrong wireType = %d for field AzureIdentity", wireType) 49719 } 49720 var stringLen uint64 49721 for shift := uint(0); ; shift += 7 { 49722 if shift >= 64 { 49723 return ErrIntOverflowAuthservice 49724 } 49725 if iNdEx >= l { 49726 return io.ErrUnexpectedEOF 49727 } 49728 b := dAtA[iNdEx] 49729 iNdEx++ 49730 stringLen |= uint64(b&0x7F) << shift 49731 if b < 0x80 { 49732 break 49733 } 49734 } 49735 intStringLen := int(stringLen) 49736 if intStringLen < 0 { 49737 return ErrInvalidLengthAuthservice 49738 } 49739 postIndex := iNdEx + intStringLen 49740 if postIndex < 0 { 49741 return ErrInvalidLengthAuthservice 49742 } 49743 if postIndex > l { 49744 return io.ErrUnexpectedEOF 49745 } 49746 m.AzureIdentity = string(dAtA[iNdEx:postIndex]) 49747 iNdEx = postIndex 49748 case 7: 49749 if wireType != 2 { 49750 return fmt.Errorf("proto: wrong wireType = %d for field GCPServiceAccount", wireType) 49751 } 49752 var stringLen uint64 49753 for shift := uint(0); ; shift += 7 { 49754 if shift >= 64 { 49755 return ErrIntOverflowAuthservice 49756 } 49757 if iNdEx >= l { 49758 return io.ErrUnexpectedEOF 49759 } 49760 b := dAtA[iNdEx] 49761 iNdEx++ 49762 stringLen |= uint64(b&0x7F) << shift 49763 if b < 0x80 { 49764 break 49765 } 49766 } 49767 intStringLen := int(stringLen) 49768 if intStringLen < 0 { 49769 return ErrInvalidLengthAuthservice 49770 } 49771 postIndex := iNdEx + intStringLen 49772 if postIndex < 0 { 49773 return ErrInvalidLengthAuthservice 49774 } 49775 if postIndex > l { 49776 return io.ErrUnexpectedEOF 49777 } 49778 m.GCPServiceAccount = string(dAtA[iNdEx:postIndex]) 49779 iNdEx = postIndex 49780 case 8: 49781 if wireType != 2 { 49782 return fmt.Errorf("proto: wrong wireType = %d for field MFAResponse", wireType) 49783 } 49784 var msglen int 49785 for shift := uint(0); ; shift += 7 { 49786 if shift >= 64 { 49787 return ErrIntOverflowAuthservice 49788 } 49789 if iNdEx >= l { 49790 return io.ErrUnexpectedEOF 49791 } 49792 b := dAtA[iNdEx] 49793 iNdEx++ 49794 msglen |= int(b&0x7F) << shift 49795 if b < 0x80 { 49796 break 49797 } 49798 } 49799 if msglen < 0 { 49800 return ErrInvalidLengthAuthservice 49801 } 49802 postIndex := iNdEx + msglen 49803 if postIndex < 0 { 49804 return ErrInvalidLengthAuthservice 49805 } 49806 if postIndex > l { 49807 return io.ErrUnexpectedEOF 49808 } 49809 if m.MFAResponse == nil { 49810 m.MFAResponse = &MFAAuthenticateResponse{} 49811 } 49812 if err := m.MFAResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 49813 return err 49814 } 49815 iNdEx = postIndex 49816 default: 49817 iNdEx = preIndex 49818 skippy, err := skipAuthservice(dAtA[iNdEx:]) 49819 if err != nil { 49820 return err 49821 } 49822 if (skippy < 0) || (iNdEx+skippy) < 0 { 49823 return ErrInvalidLengthAuthservice 49824 } 49825 if (iNdEx + skippy) > l { 49826 return io.ErrUnexpectedEOF 49827 } 49828 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 49829 iNdEx += skippy 49830 } 49831 } 49832 49833 if iNdEx > l { 49834 return io.ErrUnexpectedEOF 49835 } 49836 return nil 49837 } 49838 func (m *CreateAppSessionResponse) Unmarshal(dAtA []byte) error { 49839 l := len(dAtA) 49840 iNdEx := 0 49841 for iNdEx < l { 49842 preIndex := iNdEx 49843 var wire uint64 49844 for shift := uint(0); ; shift += 7 { 49845 if shift >= 64 { 49846 return ErrIntOverflowAuthservice 49847 } 49848 if iNdEx >= l { 49849 return io.ErrUnexpectedEOF 49850 } 49851 b := dAtA[iNdEx] 49852 iNdEx++ 49853 wire |= uint64(b&0x7F) << shift 49854 if b < 0x80 { 49855 break 49856 } 49857 } 49858 fieldNum := int32(wire >> 3) 49859 wireType := int(wire & 0x7) 49860 if wireType == 4 { 49861 return fmt.Errorf("proto: CreateAppSessionResponse: wiretype end group for non-group") 49862 } 49863 if fieldNum <= 0 { 49864 return fmt.Errorf("proto: CreateAppSessionResponse: illegal tag %d (wire type %d)", fieldNum, wire) 49865 } 49866 switch fieldNum { 49867 case 1: 49868 if wireType != 2 { 49869 return fmt.Errorf("proto: wrong wireType = %d for field Session", wireType) 49870 } 49871 var msglen int 49872 for shift := uint(0); ; shift += 7 { 49873 if shift >= 64 { 49874 return ErrIntOverflowAuthservice 49875 } 49876 if iNdEx >= l { 49877 return io.ErrUnexpectedEOF 49878 } 49879 b := dAtA[iNdEx] 49880 iNdEx++ 49881 msglen |= int(b&0x7F) << shift 49882 if b < 0x80 { 49883 break 49884 } 49885 } 49886 if msglen < 0 { 49887 return ErrInvalidLengthAuthservice 49888 } 49889 postIndex := iNdEx + msglen 49890 if postIndex < 0 { 49891 return ErrInvalidLengthAuthservice 49892 } 49893 if postIndex > l { 49894 return io.ErrUnexpectedEOF 49895 } 49896 if m.Session == nil { 49897 m.Session = &types.WebSessionV2{} 49898 } 49899 if err := m.Session.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 49900 return err 49901 } 49902 iNdEx = postIndex 49903 default: 49904 iNdEx = preIndex 49905 skippy, err := skipAuthservice(dAtA[iNdEx:]) 49906 if err != nil { 49907 return err 49908 } 49909 if (skippy < 0) || (iNdEx+skippy) < 0 { 49910 return ErrInvalidLengthAuthservice 49911 } 49912 if (iNdEx + skippy) > l { 49913 return io.ErrUnexpectedEOF 49914 } 49915 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 49916 iNdEx += skippy 49917 } 49918 } 49919 49920 if iNdEx > l { 49921 return io.ErrUnexpectedEOF 49922 } 49923 return nil 49924 } 49925 func (m *CreateSnowflakeSessionRequest) Unmarshal(dAtA []byte) error { 49926 l := len(dAtA) 49927 iNdEx := 0 49928 for iNdEx < l { 49929 preIndex := iNdEx 49930 var wire uint64 49931 for shift := uint(0); ; shift += 7 { 49932 if shift >= 64 { 49933 return ErrIntOverflowAuthservice 49934 } 49935 if iNdEx >= l { 49936 return io.ErrUnexpectedEOF 49937 } 49938 b := dAtA[iNdEx] 49939 iNdEx++ 49940 wire |= uint64(b&0x7F) << shift 49941 if b < 0x80 { 49942 break 49943 } 49944 } 49945 fieldNum := int32(wire >> 3) 49946 wireType := int(wire & 0x7) 49947 if wireType == 4 { 49948 return fmt.Errorf("proto: CreateSnowflakeSessionRequest: wiretype end group for non-group") 49949 } 49950 if fieldNum <= 0 { 49951 return fmt.Errorf("proto: CreateSnowflakeSessionRequest: illegal tag %d (wire type %d)", fieldNum, wire) 49952 } 49953 switch fieldNum { 49954 case 1: 49955 if wireType != 2 { 49956 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 49957 } 49958 var stringLen uint64 49959 for shift := uint(0); ; shift += 7 { 49960 if shift >= 64 { 49961 return ErrIntOverflowAuthservice 49962 } 49963 if iNdEx >= l { 49964 return io.ErrUnexpectedEOF 49965 } 49966 b := dAtA[iNdEx] 49967 iNdEx++ 49968 stringLen |= uint64(b&0x7F) << shift 49969 if b < 0x80 { 49970 break 49971 } 49972 } 49973 intStringLen := int(stringLen) 49974 if intStringLen < 0 { 49975 return ErrInvalidLengthAuthservice 49976 } 49977 postIndex := iNdEx + intStringLen 49978 if postIndex < 0 { 49979 return ErrInvalidLengthAuthservice 49980 } 49981 if postIndex > l { 49982 return io.ErrUnexpectedEOF 49983 } 49984 m.Username = string(dAtA[iNdEx:postIndex]) 49985 iNdEx = postIndex 49986 case 2: 49987 if wireType != 2 { 49988 return fmt.Errorf("proto: wrong wireType = %d for field SessionToken", wireType) 49989 } 49990 var stringLen uint64 49991 for shift := uint(0); ; shift += 7 { 49992 if shift >= 64 { 49993 return ErrIntOverflowAuthservice 49994 } 49995 if iNdEx >= l { 49996 return io.ErrUnexpectedEOF 49997 } 49998 b := dAtA[iNdEx] 49999 iNdEx++ 50000 stringLen |= uint64(b&0x7F) << shift 50001 if b < 0x80 { 50002 break 50003 } 50004 } 50005 intStringLen := int(stringLen) 50006 if intStringLen < 0 { 50007 return ErrInvalidLengthAuthservice 50008 } 50009 postIndex := iNdEx + intStringLen 50010 if postIndex < 0 { 50011 return ErrInvalidLengthAuthservice 50012 } 50013 if postIndex > l { 50014 return io.ErrUnexpectedEOF 50015 } 50016 m.SessionToken = string(dAtA[iNdEx:postIndex]) 50017 iNdEx = postIndex 50018 case 3: 50019 if wireType != 0 { 50020 return fmt.Errorf("proto: wrong wireType = %d for field TokenTTL", wireType) 50021 } 50022 m.TokenTTL = 0 50023 for shift := uint(0); ; shift += 7 { 50024 if shift >= 64 { 50025 return ErrIntOverflowAuthservice 50026 } 50027 if iNdEx >= l { 50028 return io.ErrUnexpectedEOF 50029 } 50030 b := dAtA[iNdEx] 50031 iNdEx++ 50032 m.TokenTTL |= Duration(b&0x7F) << shift 50033 if b < 0x80 { 50034 break 50035 } 50036 } 50037 default: 50038 iNdEx = preIndex 50039 skippy, err := skipAuthservice(dAtA[iNdEx:]) 50040 if err != nil { 50041 return err 50042 } 50043 if (skippy < 0) || (iNdEx+skippy) < 0 { 50044 return ErrInvalidLengthAuthservice 50045 } 50046 if (iNdEx + skippy) > l { 50047 return io.ErrUnexpectedEOF 50048 } 50049 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50050 iNdEx += skippy 50051 } 50052 } 50053 50054 if iNdEx > l { 50055 return io.ErrUnexpectedEOF 50056 } 50057 return nil 50058 } 50059 func (m *CreateSnowflakeSessionResponse) Unmarshal(dAtA []byte) error { 50060 l := len(dAtA) 50061 iNdEx := 0 50062 for iNdEx < l { 50063 preIndex := iNdEx 50064 var wire uint64 50065 for shift := uint(0); ; shift += 7 { 50066 if shift >= 64 { 50067 return ErrIntOverflowAuthservice 50068 } 50069 if iNdEx >= l { 50070 return io.ErrUnexpectedEOF 50071 } 50072 b := dAtA[iNdEx] 50073 iNdEx++ 50074 wire |= uint64(b&0x7F) << shift 50075 if b < 0x80 { 50076 break 50077 } 50078 } 50079 fieldNum := int32(wire >> 3) 50080 wireType := int(wire & 0x7) 50081 if wireType == 4 { 50082 return fmt.Errorf("proto: CreateSnowflakeSessionResponse: wiretype end group for non-group") 50083 } 50084 if fieldNum <= 0 { 50085 return fmt.Errorf("proto: CreateSnowflakeSessionResponse: illegal tag %d (wire type %d)", fieldNum, wire) 50086 } 50087 switch fieldNum { 50088 case 1: 50089 if wireType != 2 { 50090 return fmt.Errorf("proto: wrong wireType = %d for field Session", wireType) 50091 } 50092 var msglen int 50093 for shift := uint(0); ; shift += 7 { 50094 if shift >= 64 { 50095 return ErrIntOverflowAuthservice 50096 } 50097 if iNdEx >= l { 50098 return io.ErrUnexpectedEOF 50099 } 50100 b := dAtA[iNdEx] 50101 iNdEx++ 50102 msglen |= int(b&0x7F) << shift 50103 if b < 0x80 { 50104 break 50105 } 50106 } 50107 if msglen < 0 { 50108 return ErrInvalidLengthAuthservice 50109 } 50110 postIndex := iNdEx + msglen 50111 if postIndex < 0 { 50112 return ErrInvalidLengthAuthservice 50113 } 50114 if postIndex > l { 50115 return io.ErrUnexpectedEOF 50116 } 50117 if m.Session == nil { 50118 m.Session = &types.WebSessionV2{} 50119 } 50120 if err := m.Session.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 50121 return err 50122 } 50123 iNdEx = postIndex 50124 default: 50125 iNdEx = preIndex 50126 skippy, err := skipAuthservice(dAtA[iNdEx:]) 50127 if err != nil { 50128 return err 50129 } 50130 if (skippy < 0) || (iNdEx+skippy) < 0 { 50131 return ErrInvalidLengthAuthservice 50132 } 50133 if (iNdEx + skippy) > l { 50134 return io.ErrUnexpectedEOF 50135 } 50136 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50137 iNdEx += skippy 50138 } 50139 } 50140 50141 if iNdEx > l { 50142 return io.ErrUnexpectedEOF 50143 } 50144 return nil 50145 } 50146 func (m *CreateSAMLIdPSessionRequest) Unmarshal(dAtA []byte) error { 50147 l := len(dAtA) 50148 iNdEx := 0 50149 for iNdEx < l { 50150 preIndex := iNdEx 50151 var wire uint64 50152 for shift := uint(0); ; shift += 7 { 50153 if shift >= 64 { 50154 return ErrIntOverflowAuthservice 50155 } 50156 if iNdEx >= l { 50157 return io.ErrUnexpectedEOF 50158 } 50159 b := dAtA[iNdEx] 50160 iNdEx++ 50161 wire |= uint64(b&0x7F) << shift 50162 if b < 0x80 { 50163 break 50164 } 50165 } 50166 fieldNum := int32(wire >> 3) 50167 wireType := int(wire & 0x7) 50168 if wireType == 4 { 50169 return fmt.Errorf("proto: CreateSAMLIdPSessionRequest: wiretype end group for non-group") 50170 } 50171 if fieldNum <= 0 { 50172 return fmt.Errorf("proto: CreateSAMLIdPSessionRequest: illegal tag %d (wire type %d)", fieldNum, wire) 50173 } 50174 switch fieldNum { 50175 case 1: 50176 if wireType != 2 { 50177 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 50178 } 50179 var stringLen uint64 50180 for shift := uint(0); ; shift += 7 { 50181 if shift >= 64 { 50182 return ErrIntOverflowAuthservice 50183 } 50184 if iNdEx >= l { 50185 return io.ErrUnexpectedEOF 50186 } 50187 b := dAtA[iNdEx] 50188 iNdEx++ 50189 stringLen |= uint64(b&0x7F) << shift 50190 if b < 0x80 { 50191 break 50192 } 50193 } 50194 intStringLen := int(stringLen) 50195 if intStringLen < 0 { 50196 return ErrInvalidLengthAuthservice 50197 } 50198 postIndex := iNdEx + intStringLen 50199 if postIndex < 0 { 50200 return ErrInvalidLengthAuthservice 50201 } 50202 if postIndex > l { 50203 return io.ErrUnexpectedEOF 50204 } 50205 m.SessionID = string(dAtA[iNdEx:postIndex]) 50206 iNdEx = postIndex 50207 case 2: 50208 if wireType != 2 { 50209 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 50210 } 50211 var stringLen uint64 50212 for shift := uint(0); ; shift += 7 { 50213 if shift >= 64 { 50214 return ErrIntOverflowAuthservice 50215 } 50216 if iNdEx >= l { 50217 return io.ErrUnexpectedEOF 50218 } 50219 b := dAtA[iNdEx] 50220 iNdEx++ 50221 stringLen |= uint64(b&0x7F) << shift 50222 if b < 0x80 { 50223 break 50224 } 50225 } 50226 intStringLen := int(stringLen) 50227 if intStringLen < 0 { 50228 return ErrInvalidLengthAuthservice 50229 } 50230 postIndex := iNdEx + intStringLen 50231 if postIndex < 0 { 50232 return ErrInvalidLengthAuthservice 50233 } 50234 if postIndex > l { 50235 return io.ErrUnexpectedEOF 50236 } 50237 m.Username = string(dAtA[iNdEx:postIndex]) 50238 iNdEx = postIndex 50239 case 3: 50240 if wireType != 2 { 50241 return fmt.Errorf("proto: wrong wireType = %d for field SAMLSession", wireType) 50242 } 50243 var msglen int 50244 for shift := uint(0); ; shift += 7 { 50245 if shift >= 64 { 50246 return ErrIntOverflowAuthservice 50247 } 50248 if iNdEx >= l { 50249 return io.ErrUnexpectedEOF 50250 } 50251 b := dAtA[iNdEx] 50252 iNdEx++ 50253 msglen |= int(b&0x7F) << shift 50254 if b < 0x80 { 50255 break 50256 } 50257 } 50258 if msglen < 0 { 50259 return ErrInvalidLengthAuthservice 50260 } 50261 postIndex := iNdEx + msglen 50262 if postIndex < 0 { 50263 return ErrInvalidLengthAuthservice 50264 } 50265 if postIndex > l { 50266 return io.ErrUnexpectedEOF 50267 } 50268 if m.SAMLSession == nil { 50269 m.SAMLSession = &types.SAMLSessionData{} 50270 } 50271 if err := m.SAMLSession.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 50272 return err 50273 } 50274 iNdEx = postIndex 50275 default: 50276 iNdEx = preIndex 50277 skippy, err := skipAuthservice(dAtA[iNdEx:]) 50278 if err != nil { 50279 return err 50280 } 50281 if (skippy < 0) || (iNdEx+skippy) < 0 { 50282 return ErrInvalidLengthAuthservice 50283 } 50284 if (iNdEx + skippy) > l { 50285 return io.ErrUnexpectedEOF 50286 } 50287 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50288 iNdEx += skippy 50289 } 50290 } 50291 50292 if iNdEx > l { 50293 return io.ErrUnexpectedEOF 50294 } 50295 return nil 50296 } 50297 func (m *CreateSAMLIdPSessionResponse) Unmarshal(dAtA []byte) error { 50298 l := len(dAtA) 50299 iNdEx := 0 50300 for iNdEx < l { 50301 preIndex := iNdEx 50302 var wire uint64 50303 for shift := uint(0); ; shift += 7 { 50304 if shift >= 64 { 50305 return ErrIntOverflowAuthservice 50306 } 50307 if iNdEx >= l { 50308 return io.ErrUnexpectedEOF 50309 } 50310 b := dAtA[iNdEx] 50311 iNdEx++ 50312 wire |= uint64(b&0x7F) << shift 50313 if b < 0x80 { 50314 break 50315 } 50316 } 50317 fieldNum := int32(wire >> 3) 50318 wireType := int(wire & 0x7) 50319 if wireType == 4 { 50320 return fmt.Errorf("proto: CreateSAMLIdPSessionResponse: wiretype end group for non-group") 50321 } 50322 if fieldNum <= 0 { 50323 return fmt.Errorf("proto: CreateSAMLIdPSessionResponse: illegal tag %d (wire type %d)", fieldNum, wire) 50324 } 50325 switch fieldNum { 50326 case 1: 50327 if wireType != 2 { 50328 return fmt.Errorf("proto: wrong wireType = %d for field Session", wireType) 50329 } 50330 var msglen int 50331 for shift := uint(0); ; shift += 7 { 50332 if shift >= 64 { 50333 return ErrIntOverflowAuthservice 50334 } 50335 if iNdEx >= l { 50336 return io.ErrUnexpectedEOF 50337 } 50338 b := dAtA[iNdEx] 50339 iNdEx++ 50340 msglen |= int(b&0x7F) << shift 50341 if b < 0x80 { 50342 break 50343 } 50344 } 50345 if msglen < 0 { 50346 return ErrInvalidLengthAuthservice 50347 } 50348 postIndex := iNdEx + msglen 50349 if postIndex < 0 { 50350 return ErrInvalidLengthAuthservice 50351 } 50352 if postIndex > l { 50353 return io.ErrUnexpectedEOF 50354 } 50355 if m.Session == nil { 50356 m.Session = &types.WebSessionV2{} 50357 } 50358 if err := m.Session.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 50359 return err 50360 } 50361 iNdEx = postIndex 50362 default: 50363 iNdEx = preIndex 50364 skippy, err := skipAuthservice(dAtA[iNdEx:]) 50365 if err != nil { 50366 return err 50367 } 50368 if (skippy < 0) || (iNdEx+skippy) < 0 { 50369 return ErrInvalidLengthAuthservice 50370 } 50371 if (iNdEx + skippy) > l { 50372 return io.ErrUnexpectedEOF 50373 } 50374 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50375 iNdEx += skippy 50376 } 50377 } 50378 50379 if iNdEx > l { 50380 return io.ErrUnexpectedEOF 50381 } 50382 return nil 50383 } 50384 func (m *GetSnowflakeSessionRequest) Unmarshal(dAtA []byte) error { 50385 l := len(dAtA) 50386 iNdEx := 0 50387 for iNdEx < l { 50388 preIndex := iNdEx 50389 var wire uint64 50390 for shift := uint(0); ; shift += 7 { 50391 if shift >= 64 { 50392 return ErrIntOverflowAuthservice 50393 } 50394 if iNdEx >= l { 50395 return io.ErrUnexpectedEOF 50396 } 50397 b := dAtA[iNdEx] 50398 iNdEx++ 50399 wire |= uint64(b&0x7F) << shift 50400 if b < 0x80 { 50401 break 50402 } 50403 } 50404 fieldNum := int32(wire >> 3) 50405 wireType := int(wire & 0x7) 50406 if wireType == 4 { 50407 return fmt.Errorf("proto: GetSnowflakeSessionRequest: wiretype end group for non-group") 50408 } 50409 if fieldNum <= 0 { 50410 return fmt.Errorf("proto: GetSnowflakeSessionRequest: illegal tag %d (wire type %d)", fieldNum, wire) 50411 } 50412 switch fieldNum { 50413 case 1: 50414 if wireType != 2 { 50415 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 50416 } 50417 var stringLen uint64 50418 for shift := uint(0); ; shift += 7 { 50419 if shift >= 64 { 50420 return ErrIntOverflowAuthservice 50421 } 50422 if iNdEx >= l { 50423 return io.ErrUnexpectedEOF 50424 } 50425 b := dAtA[iNdEx] 50426 iNdEx++ 50427 stringLen |= uint64(b&0x7F) << shift 50428 if b < 0x80 { 50429 break 50430 } 50431 } 50432 intStringLen := int(stringLen) 50433 if intStringLen < 0 { 50434 return ErrInvalidLengthAuthservice 50435 } 50436 postIndex := iNdEx + intStringLen 50437 if postIndex < 0 { 50438 return ErrInvalidLengthAuthservice 50439 } 50440 if postIndex > l { 50441 return io.ErrUnexpectedEOF 50442 } 50443 m.SessionID = string(dAtA[iNdEx:postIndex]) 50444 iNdEx = postIndex 50445 default: 50446 iNdEx = preIndex 50447 skippy, err := skipAuthservice(dAtA[iNdEx:]) 50448 if err != nil { 50449 return err 50450 } 50451 if (skippy < 0) || (iNdEx+skippy) < 0 { 50452 return ErrInvalidLengthAuthservice 50453 } 50454 if (iNdEx + skippy) > l { 50455 return io.ErrUnexpectedEOF 50456 } 50457 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50458 iNdEx += skippy 50459 } 50460 } 50461 50462 if iNdEx > l { 50463 return io.ErrUnexpectedEOF 50464 } 50465 return nil 50466 } 50467 func (m *GetSnowflakeSessionResponse) Unmarshal(dAtA []byte) error { 50468 l := len(dAtA) 50469 iNdEx := 0 50470 for iNdEx < l { 50471 preIndex := iNdEx 50472 var wire uint64 50473 for shift := uint(0); ; shift += 7 { 50474 if shift >= 64 { 50475 return ErrIntOverflowAuthservice 50476 } 50477 if iNdEx >= l { 50478 return io.ErrUnexpectedEOF 50479 } 50480 b := dAtA[iNdEx] 50481 iNdEx++ 50482 wire |= uint64(b&0x7F) << shift 50483 if b < 0x80 { 50484 break 50485 } 50486 } 50487 fieldNum := int32(wire >> 3) 50488 wireType := int(wire & 0x7) 50489 if wireType == 4 { 50490 return fmt.Errorf("proto: GetSnowflakeSessionResponse: wiretype end group for non-group") 50491 } 50492 if fieldNum <= 0 { 50493 return fmt.Errorf("proto: GetSnowflakeSessionResponse: illegal tag %d (wire type %d)", fieldNum, wire) 50494 } 50495 switch fieldNum { 50496 case 1: 50497 if wireType != 2 { 50498 return fmt.Errorf("proto: wrong wireType = %d for field Session", wireType) 50499 } 50500 var msglen int 50501 for shift := uint(0); ; shift += 7 { 50502 if shift >= 64 { 50503 return ErrIntOverflowAuthservice 50504 } 50505 if iNdEx >= l { 50506 return io.ErrUnexpectedEOF 50507 } 50508 b := dAtA[iNdEx] 50509 iNdEx++ 50510 msglen |= int(b&0x7F) << shift 50511 if b < 0x80 { 50512 break 50513 } 50514 } 50515 if msglen < 0 { 50516 return ErrInvalidLengthAuthservice 50517 } 50518 postIndex := iNdEx + msglen 50519 if postIndex < 0 { 50520 return ErrInvalidLengthAuthservice 50521 } 50522 if postIndex > l { 50523 return io.ErrUnexpectedEOF 50524 } 50525 if m.Session == nil { 50526 m.Session = &types.WebSessionV2{} 50527 } 50528 if err := m.Session.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 50529 return err 50530 } 50531 iNdEx = postIndex 50532 default: 50533 iNdEx = preIndex 50534 skippy, err := skipAuthservice(dAtA[iNdEx:]) 50535 if err != nil { 50536 return err 50537 } 50538 if (skippy < 0) || (iNdEx+skippy) < 0 { 50539 return ErrInvalidLengthAuthservice 50540 } 50541 if (iNdEx + skippy) > l { 50542 return io.ErrUnexpectedEOF 50543 } 50544 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50545 iNdEx += skippy 50546 } 50547 } 50548 50549 if iNdEx > l { 50550 return io.ErrUnexpectedEOF 50551 } 50552 return nil 50553 } 50554 func (m *GetSAMLIdPSessionRequest) Unmarshal(dAtA []byte) error { 50555 l := len(dAtA) 50556 iNdEx := 0 50557 for iNdEx < l { 50558 preIndex := iNdEx 50559 var wire uint64 50560 for shift := uint(0); ; shift += 7 { 50561 if shift >= 64 { 50562 return ErrIntOverflowAuthservice 50563 } 50564 if iNdEx >= l { 50565 return io.ErrUnexpectedEOF 50566 } 50567 b := dAtA[iNdEx] 50568 iNdEx++ 50569 wire |= uint64(b&0x7F) << shift 50570 if b < 0x80 { 50571 break 50572 } 50573 } 50574 fieldNum := int32(wire >> 3) 50575 wireType := int(wire & 0x7) 50576 if wireType == 4 { 50577 return fmt.Errorf("proto: GetSAMLIdPSessionRequest: wiretype end group for non-group") 50578 } 50579 if fieldNum <= 0 { 50580 return fmt.Errorf("proto: GetSAMLIdPSessionRequest: illegal tag %d (wire type %d)", fieldNum, wire) 50581 } 50582 switch fieldNum { 50583 case 1: 50584 if wireType != 2 { 50585 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 50586 } 50587 var stringLen uint64 50588 for shift := uint(0); ; shift += 7 { 50589 if shift >= 64 { 50590 return ErrIntOverflowAuthservice 50591 } 50592 if iNdEx >= l { 50593 return io.ErrUnexpectedEOF 50594 } 50595 b := dAtA[iNdEx] 50596 iNdEx++ 50597 stringLen |= uint64(b&0x7F) << shift 50598 if b < 0x80 { 50599 break 50600 } 50601 } 50602 intStringLen := int(stringLen) 50603 if intStringLen < 0 { 50604 return ErrInvalidLengthAuthservice 50605 } 50606 postIndex := iNdEx + intStringLen 50607 if postIndex < 0 { 50608 return ErrInvalidLengthAuthservice 50609 } 50610 if postIndex > l { 50611 return io.ErrUnexpectedEOF 50612 } 50613 m.SessionID = string(dAtA[iNdEx:postIndex]) 50614 iNdEx = postIndex 50615 default: 50616 iNdEx = preIndex 50617 skippy, err := skipAuthservice(dAtA[iNdEx:]) 50618 if err != nil { 50619 return err 50620 } 50621 if (skippy < 0) || (iNdEx+skippy) < 0 { 50622 return ErrInvalidLengthAuthservice 50623 } 50624 if (iNdEx + skippy) > l { 50625 return io.ErrUnexpectedEOF 50626 } 50627 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50628 iNdEx += skippy 50629 } 50630 } 50631 50632 if iNdEx > l { 50633 return io.ErrUnexpectedEOF 50634 } 50635 return nil 50636 } 50637 func (m *GetSAMLIdPSessionResponse) Unmarshal(dAtA []byte) error { 50638 l := len(dAtA) 50639 iNdEx := 0 50640 for iNdEx < l { 50641 preIndex := iNdEx 50642 var wire uint64 50643 for shift := uint(0); ; shift += 7 { 50644 if shift >= 64 { 50645 return ErrIntOverflowAuthservice 50646 } 50647 if iNdEx >= l { 50648 return io.ErrUnexpectedEOF 50649 } 50650 b := dAtA[iNdEx] 50651 iNdEx++ 50652 wire |= uint64(b&0x7F) << shift 50653 if b < 0x80 { 50654 break 50655 } 50656 } 50657 fieldNum := int32(wire >> 3) 50658 wireType := int(wire & 0x7) 50659 if wireType == 4 { 50660 return fmt.Errorf("proto: GetSAMLIdPSessionResponse: wiretype end group for non-group") 50661 } 50662 if fieldNum <= 0 { 50663 return fmt.Errorf("proto: GetSAMLIdPSessionResponse: illegal tag %d (wire type %d)", fieldNum, wire) 50664 } 50665 switch fieldNum { 50666 case 1: 50667 if wireType != 2 { 50668 return fmt.Errorf("proto: wrong wireType = %d for field Session", wireType) 50669 } 50670 var msglen int 50671 for shift := uint(0); ; shift += 7 { 50672 if shift >= 64 { 50673 return ErrIntOverflowAuthservice 50674 } 50675 if iNdEx >= l { 50676 return io.ErrUnexpectedEOF 50677 } 50678 b := dAtA[iNdEx] 50679 iNdEx++ 50680 msglen |= int(b&0x7F) << shift 50681 if b < 0x80 { 50682 break 50683 } 50684 } 50685 if msglen < 0 { 50686 return ErrInvalidLengthAuthservice 50687 } 50688 postIndex := iNdEx + msglen 50689 if postIndex < 0 { 50690 return ErrInvalidLengthAuthservice 50691 } 50692 if postIndex > l { 50693 return io.ErrUnexpectedEOF 50694 } 50695 if m.Session == nil { 50696 m.Session = &types.WebSessionV2{} 50697 } 50698 if err := m.Session.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 50699 return err 50700 } 50701 iNdEx = postIndex 50702 default: 50703 iNdEx = preIndex 50704 skippy, err := skipAuthservice(dAtA[iNdEx:]) 50705 if err != nil { 50706 return err 50707 } 50708 if (skippy < 0) || (iNdEx+skippy) < 0 { 50709 return ErrInvalidLengthAuthservice 50710 } 50711 if (iNdEx + skippy) > l { 50712 return io.ErrUnexpectedEOF 50713 } 50714 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50715 iNdEx += skippy 50716 } 50717 } 50718 50719 if iNdEx > l { 50720 return io.ErrUnexpectedEOF 50721 } 50722 return nil 50723 } 50724 func (m *DeleteAppSessionRequest) Unmarshal(dAtA []byte) error { 50725 l := len(dAtA) 50726 iNdEx := 0 50727 for iNdEx < l { 50728 preIndex := iNdEx 50729 var wire uint64 50730 for shift := uint(0); ; shift += 7 { 50731 if shift >= 64 { 50732 return ErrIntOverflowAuthservice 50733 } 50734 if iNdEx >= l { 50735 return io.ErrUnexpectedEOF 50736 } 50737 b := dAtA[iNdEx] 50738 iNdEx++ 50739 wire |= uint64(b&0x7F) << shift 50740 if b < 0x80 { 50741 break 50742 } 50743 } 50744 fieldNum := int32(wire >> 3) 50745 wireType := int(wire & 0x7) 50746 if wireType == 4 { 50747 return fmt.Errorf("proto: DeleteAppSessionRequest: wiretype end group for non-group") 50748 } 50749 if fieldNum <= 0 { 50750 return fmt.Errorf("proto: DeleteAppSessionRequest: illegal tag %d (wire type %d)", fieldNum, wire) 50751 } 50752 switch fieldNum { 50753 case 1: 50754 if wireType != 2 { 50755 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 50756 } 50757 var stringLen uint64 50758 for shift := uint(0); ; shift += 7 { 50759 if shift >= 64 { 50760 return ErrIntOverflowAuthservice 50761 } 50762 if iNdEx >= l { 50763 return io.ErrUnexpectedEOF 50764 } 50765 b := dAtA[iNdEx] 50766 iNdEx++ 50767 stringLen |= uint64(b&0x7F) << shift 50768 if b < 0x80 { 50769 break 50770 } 50771 } 50772 intStringLen := int(stringLen) 50773 if intStringLen < 0 { 50774 return ErrInvalidLengthAuthservice 50775 } 50776 postIndex := iNdEx + intStringLen 50777 if postIndex < 0 { 50778 return ErrInvalidLengthAuthservice 50779 } 50780 if postIndex > l { 50781 return io.ErrUnexpectedEOF 50782 } 50783 m.SessionID = string(dAtA[iNdEx:postIndex]) 50784 iNdEx = postIndex 50785 default: 50786 iNdEx = preIndex 50787 skippy, err := skipAuthservice(dAtA[iNdEx:]) 50788 if err != nil { 50789 return err 50790 } 50791 if (skippy < 0) || (iNdEx+skippy) < 0 { 50792 return ErrInvalidLengthAuthservice 50793 } 50794 if (iNdEx + skippy) > l { 50795 return io.ErrUnexpectedEOF 50796 } 50797 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50798 iNdEx += skippy 50799 } 50800 } 50801 50802 if iNdEx > l { 50803 return io.ErrUnexpectedEOF 50804 } 50805 return nil 50806 } 50807 func (m *DeleteSnowflakeSessionRequest) Unmarshal(dAtA []byte) error { 50808 l := len(dAtA) 50809 iNdEx := 0 50810 for iNdEx < l { 50811 preIndex := iNdEx 50812 var wire uint64 50813 for shift := uint(0); ; shift += 7 { 50814 if shift >= 64 { 50815 return ErrIntOverflowAuthservice 50816 } 50817 if iNdEx >= l { 50818 return io.ErrUnexpectedEOF 50819 } 50820 b := dAtA[iNdEx] 50821 iNdEx++ 50822 wire |= uint64(b&0x7F) << shift 50823 if b < 0x80 { 50824 break 50825 } 50826 } 50827 fieldNum := int32(wire >> 3) 50828 wireType := int(wire & 0x7) 50829 if wireType == 4 { 50830 return fmt.Errorf("proto: DeleteSnowflakeSessionRequest: wiretype end group for non-group") 50831 } 50832 if fieldNum <= 0 { 50833 return fmt.Errorf("proto: DeleteSnowflakeSessionRequest: illegal tag %d (wire type %d)", fieldNum, wire) 50834 } 50835 switch fieldNum { 50836 case 1: 50837 if wireType != 2 { 50838 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 50839 } 50840 var stringLen uint64 50841 for shift := uint(0); ; shift += 7 { 50842 if shift >= 64 { 50843 return ErrIntOverflowAuthservice 50844 } 50845 if iNdEx >= l { 50846 return io.ErrUnexpectedEOF 50847 } 50848 b := dAtA[iNdEx] 50849 iNdEx++ 50850 stringLen |= uint64(b&0x7F) << shift 50851 if b < 0x80 { 50852 break 50853 } 50854 } 50855 intStringLen := int(stringLen) 50856 if intStringLen < 0 { 50857 return ErrInvalidLengthAuthservice 50858 } 50859 postIndex := iNdEx + intStringLen 50860 if postIndex < 0 { 50861 return ErrInvalidLengthAuthservice 50862 } 50863 if postIndex > l { 50864 return io.ErrUnexpectedEOF 50865 } 50866 m.SessionID = string(dAtA[iNdEx:postIndex]) 50867 iNdEx = postIndex 50868 default: 50869 iNdEx = preIndex 50870 skippy, err := skipAuthservice(dAtA[iNdEx:]) 50871 if err != nil { 50872 return err 50873 } 50874 if (skippy < 0) || (iNdEx+skippy) < 0 { 50875 return ErrInvalidLengthAuthservice 50876 } 50877 if (iNdEx + skippy) > l { 50878 return io.ErrUnexpectedEOF 50879 } 50880 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50881 iNdEx += skippy 50882 } 50883 } 50884 50885 if iNdEx > l { 50886 return io.ErrUnexpectedEOF 50887 } 50888 return nil 50889 } 50890 func (m *DeleteSAMLIdPSessionRequest) Unmarshal(dAtA []byte) error { 50891 l := len(dAtA) 50892 iNdEx := 0 50893 for iNdEx < l { 50894 preIndex := iNdEx 50895 var wire uint64 50896 for shift := uint(0); ; shift += 7 { 50897 if shift >= 64 { 50898 return ErrIntOverflowAuthservice 50899 } 50900 if iNdEx >= l { 50901 return io.ErrUnexpectedEOF 50902 } 50903 b := dAtA[iNdEx] 50904 iNdEx++ 50905 wire |= uint64(b&0x7F) << shift 50906 if b < 0x80 { 50907 break 50908 } 50909 } 50910 fieldNum := int32(wire >> 3) 50911 wireType := int(wire & 0x7) 50912 if wireType == 4 { 50913 return fmt.Errorf("proto: DeleteSAMLIdPSessionRequest: wiretype end group for non-group") 50914 } 50915 if fieldNum <= 0 { 50916 return fmt.Errorf("proto: DeleteSAMLIdPSessionRequest: illegal tag %d (wire type %d)", fieldNum, wire) 50917 } 50918 switch fieldNum { 50919 case 1: 50920 if wireType != 2 { 50921 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 50922 } 50923 var stringLen uint64 50924 for shift := uint(0); ; shift += 7 { 50925 if shift >= 64 { 50926 return ErrIntOverflowAuthservice 50927 } 50928 if iNdEx >= l { 50929 return io.ErrUnexpectedEOF 50930 } 50931 b := dAtA[iNdEx] 50932 iNdEx++ 50933 stringLen |= uint64(b&0x7F) << shift 50934 if b < 0x80 { 50935 break 50936 } 50937 } 50938 intStringLen := int(stringLen) 50939 if intStringLen < 0 { 50940 return ErrInvalidLengthAuthservice 50941 } 50942 postIndex := iNdEx + intStringLen 50943 if postIndex < 0 { 50944 return ErrInvalidLengthAuthservice 50945 } 50946 if postIndex > l { 50947 return io.ErrUnexpectedEOF 50948 } 50949 m.SessionID = string(dAtA[iNdEx:postIndex]) 50950 iNdEx = postIndex 50951 default: 50952 iNdEx = preIndex 50953 skippy, err := skipAuthservice(dAtA[iNdEx:]) 50954 if err != nil { 50955 return err 50956 } 50957 if (skippy < 0) || (iNdEx+skippy) < 0 { 50958 return ErrInvalidLengthAuthservice 50959 } 50960 if (iNdEx + skippy) > l { 50961 return io.ErrUnexpectedEOF 50962 } 50963 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50964 iNdEx += skippy 50965 } 50966 } 50967 50968 if iNdEx > l { 50969 return io.ErrUnexpectedEOF 50970 } 50971 return nil 50972 } 50973 func (m *DeleteUserAppSessionsRequest) Unmarshal(dAtA []byte) error { 50974 l := len(dAtA) 50975 iNdEx := 0 50976 for iNdEx < l { 50977 preIndex := iNdEx 50978 var wire uint64 50979 for shift := uint(0); ; shift += 7 { 50980 if shift >= 64 { 50981 return ErrIntOverflowAuthservice 50982 } 50983 if iNdEx >= l { 50984 return io.ErrUnexpectedEOF 50985 } 50986 b := dAtA[iNdEx] 50987 iNdEx++ 50988 wire |= uint64(b&0x7F) << shift 50989 if b < 0x80 { 50990 break 50991 } 50992 } 50993 fieldNum := int32(wire >> 3) 50994 wireType := int(wire & 0x7) 50995 if wireType == 4 { 50996 return fmt.Errorf("proto: DeleteUserAppSessionsRequest: wiretype end group for non-group") 50997 } 50998 if fieldNum <= 0 { 50999 return fmt.Errorf("proto: DeleteUserAppSessionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 51000 } 51001 switch fieldNum { 51002 case 1: 51003 if wireType != 2 { 51004 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 51005 } 51006 var stringLen uint64 51007 for shift := uint(0); ; shift += 7 { 51008 if shift >= 64 { 51009 return ErrIntOverflowAuthservice 51010 } 51011 if iNdEx >= l { 51012 return io.ErrUnexpectedEOF 51013 } 51014 b := dAtA[iNdEx] 51015 iNdEx++ 51016 stringLen |= uint64(b&0x7F) << shift 51017 if b < 0x80 { 51018 break 51019 } 51020 } 51021 intStringLen := int(stringLen) 51022 if intStringLen < 0 { 51023 return ErrInvalidLengthAuthservice 51024 } 51025 postIndex := iNdEx + intStringLen 51026 if postIndex < 0 { 51027 return ErrInvalidLengthAuthservice 51028 } 51029 if postIndex > l { 51030 return io.ErrUnexpectedEOF 51031 } 51032 m.Username = string(dAtA[iNdEx:postIndex]) 51033 iNdEx = postIndex 51034 default: 51035 iNdEx = preIndex 51036 skippy, err := skipAuthservice(dAtA[iNdEx:]) 51037 if err != nil { 51038 return err 51039 } 51040 if (skippy < 0) || (iNdEx+skippy) < 0 { 51041 return ErrInvalidLengthAuthservice 51042 } 51043 if (iNdEx + skippy) > l { 51044 return io.ErrUnexpectedEOF 51045 } 51046 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 51047 iNdEx += skippy 51048 } 51049 } 51050 51051 if iNdEx > l { 51052 return io.ErrUnexpectedEOF 51053 } 51054 return nil 51055 } 51056 func (m *DeleteUserSAMLIdPSessionsRequest) Unmarshal(dAtA []byte) error { 51057 l := len(dAtA) 51058 iNdEx := 0 51059 for iNdEx < l { 51060 preIndex := iNdEx 51061 var wire uint64 51062 for shift := uint(0); ; shift += 7 { 51063 if shift >= 64 { 51064 return ErrIntOverflowAuthservice 51065 } 51066 if iNdEx >= l { 51067 return io.ErrUnexpectedEOF 51068 } 51069 b := dAtA[iNdEx] 51070 iNdEx++ 51071 wire |= uint64(b&0x7F) << shift 51072 if b < 0x80 { 51073 break 51074 } 51075 } 51076 fieldNum := int32(wire >> 3) 51077 wireType := int(wire & 0x7) 51078 if wireType == 4 { 51079 return fmt.Errorf("proto: DeleteUserSAMLIdPSessionsRequest: wiretype end group for non-group") 51080 } 51081 if fieldNum <= 0 { 51082 return fmt.Errorf("proto: DeleteUserSAMLIdPSessionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 51083 } 51084 switch fieldNum { 51085 case 1: 51086 if wireType != 2 { 51087 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 51088 } 51089 var stringLen uint64 51090 for shift := uint(0); ; shift += 7 { 51091 if shift >= 64 { 51092 return ErrIntOverflowAuthservice 51093 } 51094 if iNdEx >= l { 51095 return io.ErrUnexpectedEOF 51096 } 51097 b := dAtA[iNdEx] 51098 iNdEx++ 51099 stringLen |= uint64(b&0x7F) << shift 51100 if b < 0x80 { 51101 break 51102 } 51103 } 51104 intStringLen := int(stringLen) 51105 if intStringLen < 0 { 51106 return ErrInvalidLengthAuthservice 51107 } 51108 postIndex := iNdEx + intStringLen 51109 if postIndex < 0 { 51110 return ErrInvalidLengthAuthservice 51111 } 51112 if postIndex > l { 51113 return io.ErrUnexpectedEOF 51114 } 51115 m.Username = string(dAtA[iNdEx:postIndex]) 51116 iNdEx = postIndex 51117 default: 51118 iNdEx = preIndex 51119 skippy, err := skipAuthservice(dAtA[iNdEx:]) 51120 if err != nil { 51121 return err 51122 } 51123 if (skippy < 0) || (iNdEx+skippy) < 0 { 51124 return ErrInvalidLengthAuthservice 51125 } 51126 if (iNdEx + skippy) > l { 51127 return io.ErrUnexpectedEOF 51128 } 51129 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 51130 iNdEx += skippy 51131 } 51132 } 51133 51134 if iNdEx > l { 51135 return io.ErrUnexpectedEOF 51136 } 51137 return nil 51138 } 51139 func (m *GetWebSessionResponse) Unmarshal(dAtA []byte) error { 51140 l := len(dAtA) 51141 iNdEx := 0 51142 for iNdEx < l { 51143 preIndex := iNdEx 51144 var wire uint64 51145 for shift := uint(0); ; shift += 7 { 51146 if shift >= 64 { 51147 return ErrIntOverflowAuthservice 51148 } 51149 if iNdEx >= l { 51150 return io.ErrUnexpectedEOF 51151 } 51152 b := dAtA[iNdEx] 51153 iNdEx++ 51154 wire |= uint64(b&0x7F) << shift 51155 if b < 0x80 { 51156 break 51157 } 51158 } 51159 fieldNum := int32(wire >> 3) 51160 wireType := int(wire & 0x7) 51161 if wireType == 4 { 51162 return fmt.Errorf("proto: GetWebSessionResponse: wiretype end group for non-group") 51163 } 51164 if fieldNum <= 0 { 51165 return fmt.Errorf("proto: GetWebSessionResponse: illegal tag %d (wire type %d)", fieldNum, wire) 51166 } 51167 switch fieldNum { 51168 case 1: 51169 if wireType != 2 { 51170 return fmt.Errorf("proto: wrong wireType = %d for field Session", wireType) 51171 } 51172 var msglen int 51173 for shift := uint(0); ; shift += 7 { 51174 if shift >= 64 { 51175 return ErrIntOverflowAuthservice 51176 } 51177 if iNdEx >= l { 51178 return io.ErrUnexpectedEOF 51179 } 51180 b := dAtA[iNdEx] 51181 iNdEx++ 51182 msglen |= int(b&0x7F) << shift 51183 if b < 0x80 { 51184 break 51185 } 51186 } 51187 if msglen < 0 { 51188 return ErrInvalidLengthAuthservice 51189 } 51190 postIndex := iNdEx + msglen 51191 if postIndex < 0 { 51192 return ErrInvalidLengthAuthservice 51193 } 51194 if postIndex > l { 51195 return io.ErrUnexpectedEOF 51196 } 51197 if m.Session == nil { 51198 m.Session = &types.WebSessionV2{} 51199 } 51200 if err := m.Session.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 51201 return err 51202 } 51203 iNdEx = postIndex 51204 default: 51205 iNdEx = preIndex 51206 skippy, err := skipAuthservice(dAtA[iNdEx:]) 51207 if err != nil { 51208 return err 51209 } 51210 if (skippy < 0) || (iNdEx+skippy) < 0 { 51211 return ErrInvalidLengthAuthservice 51212 } 51213 if (iNdEx + skippy) > l { 51214 return io.ErrUnexpectedEOF 51215 } 51216 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 51217 iNdEx += skippy 51218 } 51219 } 51220 51221 if iNdEx > l { 51222 return io.ErrUnexpectedEOF 51223 } 51224 return nil 51225 } 51226 func (m *GetWebSessionsResponse) Unmarshal(dAtA []byte) error { 51227 l := len(dAtA) 51228 iNdEx := 0 51229 for iNdEx < l { 51230 preIndex := iNdEx 51231 var wire uint64 51232 for shift := uint(0); ; shift += 7 { 51233 if shift >= 64 { 51234 return ErrIntOverflowAuthservice 51235 } 51236 if iNdEx >= l { 51237 return io.ErrUnexpectedEOF 51238 } 51239 b := dAtA[iNdEx] 51240 iNdEx++ 51241 wire |= uint64(b&0x7F) << shift 51242 if b < 0x80 { 51243 break 51244 } 51245 } 51246 fieldNum := int32(wire >> 3) 51247 wireType := int(wire & 0x7) 51248 if wireType == 4 { 51249 return fmt.Errorf("proto: GetWebSessionsResponse: wiretype end group for non-group") 51250 } 51251 if fieldNum <= 0 { 51252 return fmt.Errorf("proto: GetWebSessionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 51253 } 51254 switch fieldNum { 51255 case 1: 51256 if wireType != 2 { 51257 return fmt.Errorf("proto: wrong wireType = %d for field Sessions", wireType) 51258 } 51259 var msglen int 51260 for shift := uint(0); ; shift += 7 { 51261 if shift >= 64 { 51262 return ErrIntOverflowAuthservice 51263 } 51264 if iNdEx >= l { 51265 return io.ErrUnexpectedEOF 51266 } 51267 b := dAtA[iNdEx] 51268 iNdEx++ 51269 msglen |= int(b&0x7F) << shift 51270 if b < 0x80 { 51271 break 51272 } 51273 } 51274 if msglen < 0 { 51275 return ErrInvalidLengthAuthservice 51276 } 51277 postIndex := iNdEx + msglen 51278 if postIndex < 0 { 51279 return ErrInvalidLengthAuthservice 51280 } 51281 if postIndex > l { 51282 return io.ErrUnexpectedEOF 51283 } 51284 m.Sessions = append(m.Sessions, &types.WebSessionV2{}) 51285 if err := m.Sessions[len(m.Sessions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 51286 return err 51287 } 51288 iNdEx = postIndex 51289 default: 51290 iNdEx = preIndex 51291 skippy, err := skipAuthservice(dAtA[iNdEx:]) 51292 if err != nil { 51293 return err 51294 } 51295 if (skippy < 0) || (iNdEx+skippy) < 0 { 51296 return ErrInvalidLengthAuthservice 51297 } 51298 if (iNdEx + skippy) > l { 51299 return io.ErrUnexpectedEOF 51300 } 51301 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 51302 iNdEx += skippy 51303 } 51304 } 51305 51306 if iNdEx > l { 51307 return io.ErrUnexpectedEOF 51308 } 51309 return nil 51310 } 51311 func (m *GetWebTokenResponse) Unmarshal(dAtA []byte) error { 51312 l := len(dAtA) 51313 iNdEx := 0 51314 for iNdEx < l { 51315 preIndex := iNdEx 51316 var wire uint64 51317 for shift := uint(0); ; shift += 7 { 51318 if shift >= 64 { 51319 return ErrIntOverflowAuthservice 51320 } 51321 if iNdEx >= l { 51322 return io.ErrUnexpectedEOF 51323 } 51324 b := dAtA[iNdEx] 51325 iNdEx++ 51326 wire |= uint64(b&0x7F) << shift 51327 if b < 0x80 { 51328 break 51329 } 51330 } 51331 fieldNum := int32(wire >> 3) 51332 wireType := int(wire & 0x7) 51333 if wireType == 4 { 51334 return fmt.Errorf("proto: GetWebTokenResponse: wiretype end group for non-group") 51335 } 51336 if fieldNum <= 0 { 51337 return fmt.Errorf("proto: GetWebTokenResponse: illegal tag %d (wire type %d)", fieldNum, wire) 51338 } 51339 switch fieldNum { 51340 case 1: 51341 if wireType != 2 { 51342 return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) 51343 } 51344 var msglen int 51345 for shift := uint(0); ; shift += 7 { 51346 if shift >= 64 { 51347 return ErrIntOverflowAuthservice 51348 } 51349 if iNdEx >= l { 51350 return io.ErrUnexpectedEOF 51351 } 51352 b := dAtA[iNdEx] 51353 iNdEx++ 51354 msglen |= int(b&0x7F) << shift 51355 if b < 0x80 { 51356 break 51357 } 51358 } 51359 if msglen < 0 { 51360 return ErrInvalidLengthAuthservice 51361 } 51362 postIndex := iNdEx + msglen 51363 if postIndex < 0 { 51364 return ErrInvalidLengthAuthservice 51365 } 51366 if postIndex > l { 51367 return io.ErrUnexpectedEOF 51368 } 51369 if m.Token == nil { 51370 m.Token = &types.WebTokenV3{} 51371 } 51372 if err := m.Token.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 51373 return err 51374 } 51375 iNdEx = postIndex 51376 default: 51377 iNdEx = preIndex 51378 skippy, err := skipAuthservice(dAtA[iNdEx:]) 51379 if err != nil { 51380 return err 51381 } 51382 if (skippy < 0) || (iNdEx+skippy) < 0 { 51383 return ErrInvalidLengthAuthservice 51384 } 51385 if (iNdEx + skippy) > l { 51386 return io.ErrUnexpectedEOF 51387 } 51388 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 51389 iNdEx += skippy 51390 } 51391 } 51392 51393 if iNdEx > l { 51394 return io.ErrUnexpectedEOF 51395 } 51396 return nil 51397 } 51398 func (m *GetWebTokensResponse) Unmarshal(dAtA []byte) error { 51399 l := len(dAtA) 51400 iNdEx := 0 51401 for iNdEx < l { 51402 preIndex := iNdEx 51403 var wire uint64 51404 for shift := uint(0); ; shift += 7 { 51405 if shift >= 64 { 51406 return ErrIntOverflowAuthservice 51407 } 51408 if iNdEx >= l { 51409 return io.ErrUnexpectedEOF 51410 } 51411 b := dAtA[iNdEx] 51412 iNdEx++ 51413 wire |= uint64(b&0x7F) << shift 51414 if b < 0x80 { 51415 break 51416 } 51417 } 51418 fieldNum := int32(wire >> 3) 51419 wireType := int(wire & 0x7) 51420 if wireType == 4 { 51421 return fmt.Errorf("proto: GetWebTokensResponse: wiretype end group for non-group") 51422 } 51423 if fieldNum <= 0 { 51424 return fmt.Errorf("proto: GetWebTokensResponse: illegal tag %d (wire type %d)", fieldNum, wire) 51425 } 51426 switch fieldNum { 51427 case 1: 51428 if wireType != 2 { 51429 return fmt.Errorf("proto: wrong wireType = %d for field Tokens", wireType) 51430 } 51431 var msglen int 51432 for shift := uint(0); ; shift += 7 { 51433 if shift >= 64 { 51434 return ErrIntOverflowAuthservice 51435 } 51436 if iNdEx >= l { 51437 return io.ErrUnexpectedEOF 51438 } 51439 b := dAtA[iNdEx] 51440 iNdEx++ 51441 msglen |= int(b&0x7F) << shift 51442 if b < 0x80 { 51443 break 51444 } 51445 } 51446 if msglen < 0 { 51447 return ErrInvalidLengthAuthservice 51448 } 51449 postIndex := iNdEx + msglen 51450 if postIndex < 0 { 51451 return ErrInvalidLengthAuthservice 51452 } 51453 if postIndex > l { 51454 return io.ErrUnexpectedEOF 51455 } 51456 m.Tokens = append(m.Tokens, &types.WebTokenV3{}) 51457 if err := m.Tokens[len(m.Tokens)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 51458 return err 51459 } 51460 iNdEx = postIndex 51461 default: 51462 iNdEx = preIndex 51463 skippy, err := skipAuthservice(dAtA[iNdEx:]) 51464 if err != nil { 51465 return err 51466 } 51467 if (skippy < 0) || (iNdEx+skippy) < 0 { 51468 return ErrInvalidLengthAuthservice 51469 } 51470 if (iNdEx + skippy) > l { 51471 return io.ErrUnexpectedEOF 51472 } 51473 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 51474 iNdEx += skippy 51475 } 51476 } 51477 51478 if iNdEx > l { 51479 return io.ErrUnexpectedEOF 51480 } 51481 return nil 51482 } 51483 func (m *UpsertKubernetesServerRequest) Unmarshal(dAtA []byte) error { 51484 l := len(dAtA) 51485 iNdEx := 0 51486 for iNdEx < l { 51487 preIndex := iNdEx 51488 var wire uint64 51489 for shift := uint(0); ; shift += 7 { 51490 if shift >= 64 { 51491 return ErrIntOverflowAuthservice 51492 } 51493 if iNdEx >= l { 51494 return io.ErrUnexpectedEOF 51495 } 51496 b := dAtA[iNdEx] 51497 iNdEx++ 51498 wire |= uint64(b&0x7F) << shift 51499 if b < 0x80 { 51500 break 51501 } 51502 } 51503 fieldNum := int32(wire >> 3) 51504 wireType := int(wire & 0x7) 51505 if wireType == 4 { 51506 return fmt.Errorf("proto: UpsertKubernetesServerRequest: wiretype end group for non-group") 51507 } 51508 if fieldNum <= 0 { 51509 return fmt.Errorf("proto: UpsertKubernetesServerRequest: illegal tag %d (wire type %d)", fieldNum, wire) 51510 } 51511 switch fieldNum { 51512 case 1: 51513 if wireType != 2 { 51514 return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType) 51515 } 51516 var msglen int 51517 for shift := uint(0); ; shift += 7 { 51518 if shift >= 64 { 51519 return ErrIntOverflowAuthservice 51520 } 51521 if iNdEx >= l { 51522 return io.ErrUnexpectedEOF 51523 } 51524 b := dAtA[iNdEx] 51525 iNdEx++ 51526 msglen |= int(b&0x7F) << shift 51527 if b < 0x80 { 51528 break 51529 } 51530 } 51531 if msglen < 0 { 51532 return ErrInvalidLengthAuthservice 51533 } 51534 postIndex := iNdEx + msglen 51535 if postIndex < 0 { 51536 return ErrInvalidLengthAuthservice 51537 } 51538 if postIndex > l { 51539 return io.ErrUnexpectedEOF 51540 } 51541 if m.Server == nil { 51542 m.Server = &types.KubernetesServerV3{} 51543 } 51544 if err := m.Server.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 51545 return err 51546 } 51547 iNdEx = postIndex 51548 default: 51549 iNdEx = preIndex 51550 skippy, err := skipAuthservice(dAtA[iNdEx:]) 51551 if err != nil { 51552 return err 51553 } 51554 if (skippy < 0) || (iNdEx+skippy) < 0 { 51555 return ErrInvalidLengthAuthservice 51556 } 51557 if (iNdEx + skippy) > l { 51558 return io.ErrUnexpectedEOF 51559 } 51560 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 51561 iNdEx += skippy 51562 } 51563 } 51564 51565 if iNdEx > l { 51566 return io.ErrUnexpectedEOF 51567 } 51568 return nil 51569 } 51570 func (m *DeleteKubernetesServerRequest) Unmarshal(dAtA []byte) error { 51571 l := len(dAtA) 51572 iNdEx := 0 51573 for iNdEx < l { 51574 preIndex := iNdEx 51575 var wire uint64 51576 for shift := uint(0); ; shift += 7 { 51577 if shift >= 64 { 51578 return ErrIntOverflowAuthservice 51579 } 51580 if iNdEx >= l { 51581 return io.ErrUnexpectedEOF 51582 } 51583 b := dAtA[iNdEx] 51584 iNdEx++ 51585 wire |= uint64(b&0x7F) << shift 51586 if b < 0x80 { 51587 break 51588 } 51589 } 51590 fieldNum := int32(wire >> 3) 51591 wireType := int(wire & 0x7) 51592 if wireType == 4 { 51593 return fmt.Errorf("proto: DeleteKubernetesServerRequest: wiretype end group for non-group") 51594 } 51595 if fieldNum <= 0 { 51596 return fmt.Errorf("proto: DeleteKubernetesServerRequest: illegal tag %d (wire type %d)", fieldNum, wire) 51597 } 51598 switch fieldNum { 51599 case 1: 51600 if wireType != 2 { 51601 return fmt.Errorf("proto: wrong wireType = %d for field HostID", wireType) 51602 } 51603 var stringLen uint64 51604 for shift := uint(0); ; shift += 7 { 51605 if shift >= 64 { 51606 return ErrIntOverflowAuthservice 51607 } 51608 if iNdEx >= l { 51609 return io.ErrUnexpectedEOF 51610 } 51611 b := dAtA[iNdEx] 51612 iNdEx++ 51613 stringLen |= uint64(b&0x7F) << shift 51614 if b < 0x80 { 51615 break 51616 } 51617 } 51618 intStringLen := int(stringLen) 51619 if intStringLen < 0 { 51620 return ErrInvalidLengthAuthservice 51621 } 51622 postIndex := iNdEx + intStringLen 51623 if postIndex < 0 { 51624 return ErrInvalidLengthAuthservice 51625 } 51626 if postIndex > l { 51627 return io.ErrUnexpectedEOF 51628 } 51629 m.HostID = string(dAtA[iNdEx:postIndex]) 51630 iNdEx = postIndex 51631 case 2: 51632 if wireType != 2 { 51633 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 51634 } 51635 var stringLen uint64 51636 for shift := uint(0); ; shift += 7 { 51637 if shift >= 64 { 51638 return ErrIntOverflowAuthservice 51639 } 51640 if iNdEx >= l { 51641 return io.ErrUnexpectedEOF 51642 } 51643 b := dAtA[iNdEx] 51644 iNdEx++ 51645 stringLen |= uint64(b&0x7F) << shift 51646 if b < 0x80 { 51647 break 51648 } 51649 } 51650 intStringLen := int(stringLen) 51651 if intStringLen < 0 { 51652 return ErrInvalidLengthAuthservice 51653 } 51654 postIndex := iNdEx + intStringLen 51655 if postIndex < 0 { 51656 return ErrInvalidLengthAuthservice 51657 } 51658 if postIndex > l { 51659 return io.ErrUnexpectedEOF 51660 } 51661 m.Name = string(dAtA[iNdEx:postIndex]) 51662 iNdEx = postIndex 51663 default: 51664 iNdEx = preIndex 51665 skippy, err := skipAuthservice(dAtA[iNdEx:]) 51666 if err != nil { 51667 return err 51668 } 51669 if (skippy < 0) || (iNdEx+skippy) < 0 { 51670 return ErrInvalidLengthAuthservice 51671 } 51672 if (iNdEx + skippy) > l { 51673 return io.ErrUnexpectedEOF 51674 } 51675 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 51676 iNdEx += skippy 51677 } 51678 } 51679 51680 if iNdEx > l { 51681 return io.ErrUnexpectedEOF 51682 } 51683 return nil 51684 } 51685 func (m *DeleteAllKubernetesServersRequest) Unmarshal(dAtA []byte) error { 51686 l := len(dAtA) 51687 iNdEx := 0 51688 for iNdEx < l { 51689 preIndex := iNdEx 51690 var wire uint64 51691 for shift := uint(0); ; shift += 7 { 51692 if shift >= 64 { 51693 return ErrIntOverflowAuthservice 51694 } 51695 if iNdEx >= l { 51696 return io.ErrUnexpectedEOF 51697 } 51698 b := dAtA[iNdEx] 51699 iNdEx++ 51700 wire |= uint64(b&0x7F) << shift 51701 if b < 0x80 { 51702 break 51703 } 51704 } 51705 fieldNum := int32(wire >> 3) 51706 wireType := int(wire & 0x7) 51707 if wireType == 4 { 51708 return fmt.Errorf("proto: DeleteAllKubernetesServersRequest: wiretype end group for non-group") 51709 } 51710 if fieldNum <= 0 { 51711 return fmt.Errorf("proto: DeleteAllKubernetesServersRequest: illegal tag %d (wire type %d)", fieldNum, wire) 51712 } 51713 switch fieldNum { 51714 default: 51715 iNdEx = preIndex 51716 skippy, err := skipAuthservice(dAtA[iNdEx:]) 51717 if err != nil { 51718 return err 51719 } 51720 if (skippy < 0) || (iNdEx+skippy) < 0 { 51721 return ErrInvalidLengthAuthservice 51722 } 51723 if (iNdEx + skippy) > l { 51724 return io.ErrUnexpectedEOF 51725 } 51726 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 51727 iNdEx += skippy 51728 } 51729 } 51730 51731 if iNdEx > l { 51732 return io.ErrUnexpectedEOF 51733 } 51734 return nil 51735 } 51736 func (m *UpsertDatabaseServerRequest) Unmarshal(dAtA []byte) error { 51737 l := len(dAtA) 51738 iNdEx := 0 51739 for iNdEx < l { 51740 preIndex := iNdEx 51741 var wire uint64 51742 for shift := uint(0); ; shift += 7 { 51743 if shift >= 64 { 51744 return ErrIntOverflowAuthservice 51745 } 51746 if iNdEx >= l { 51747 return io.ErrUnexpectedEOF 51748 } 51749 b := dAtA[iNdEx] 51750 iNdEx++ 51751 wire |= uint64(b&0x7F) << shift 51752 if b < 0x80 { 51753 break 51754 } 51755 } 51756 fieldNum := int32(wire >> 3) 51757 wireType := int(wire & 0x7) 51758 if wireType == 4 { 51759 return fmt.Errorf("proto: UpsertDatabaseServerRequest: wiretype end group for non-group") 51760 } 51761 if fieldNum <= 0 { 51762 return fmt.Errorf("proto: UpsertDatabaseServerRequest: illegal tag %d (wire type %d)", fieldNum, wire) 51763 } 51764 switch fieldNum { 51765 case 1: 51766 if wireType != 2 { 51767 return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType) 51768 } 51769 var msglen int 51770 for shift := uint(0); ; shift += 7 { 51771 if shift >= 64 { 51772 return ErrIntOverflowAuthservice 51773 } 51774 if iNdEx >= l { 51775 return io.ErrUnexpectedEOF 51776 } 51777 b := dAtA[iNdEx] 51778 iNdEx++ 51779 msglen |= int(b&0x7F) << shift 51780 if b < 0x80 { 51781 break 51782 } 51783 } 51784 if msglen < 0 { 51785 return ErrInvalidLengthAuthservice 51786 } 51787 postIndex := iNdEx + msglen 51788 if postIndex < 0 { 51789 return ErrInvalidLengthAuthservice 51790 } 51791 if postIndex > l { 51792 return io.ErrUnexpectedEOF 51793 } 51794 if m.Server == nil { 51795 m.Server = &types.DatabaseServerV3{} 51796 } 51797 if err := m.Server.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 51798 return err 51799 } 51800 iNdEx = postIndex 51801 default: 51802 iNdEx = preIndex 51803 skippy, err := skipAuthservice(dAtA[iNdEx:]) 51804 if err != nil { 51805 return err 51806 } 51807 if (skippy < 0) || (iNdEx+skippy) < 0 { 51808 return ErrInvalidLengthAuthservice 51809 } 51810 if (iNdEx + skippy) > l { 51811 return io.ErrUnexpectedEOF 51812 } 51813 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 51814 iNdEx += skippy 51815 } 51816 } 51817 51818 if iNdEx > l { 51819 return io.ErrUnexpectedEOF 51820 } 51821 return nil 51822 } 51823 func (m *DeleteDatabaseServerRequest) Unmarshal(dAtA []byte) error { 51824 l := len(dAtA) 51825 iNdEx := 0 51826 for iNdEx < l { 51827 preIndex := iNdEx 51828 var wire uint64 51829 for shift := uint(0); ; shift += 7 { 51830 if shift >= 64 { 51831 return ErrIntOverflowAuthservice 51832 } 51833 if iNdEx >= l { 51834 return io.ErrUnexpectedEOF 51835 } 51836 b := dAtA[iNdEx] 51837 iNdEx++ 51838 wire |= uint64(b&0x7F) << shift 51839 if b < 0x80 { 51840 break 51841 } 51842 } 51843 fieldNum := int32(wire >> 3) 51844 wireType := int(wire & 0x7) 51845 if wireType == 4 { 51846 return fmt.Errorf("proto: DeleteDatabaseServerRequest: wiretype end group for non-group") 51847 } 51848 if fieldNum <= 0 { 51849 return fmt.Errorf("proto: DeleteDatabaseServerRequest: illegal tag %d (wire type %d)", fieldNum, wire) 51850 } 51851 switch fieldNum { 51852 case 1: 51853 if wireType != 2 { 51854 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 51855 } 51856 var stringLen uint64 51857 for shift := uint(0); ; shift += 7 { 51858 if shift >= 64 { 51859 return ErrIntOverflowAuthservice 51860 } 51861 if iNdEx >= l { 51862 return io.ErrUnexpectedEOF 51863 } 51864 b := dAtA[iNdEx] 51865 iNdEx++ 51866 stringLen |= uint64(b&0x7F) << shift 51867 if b < 0x80 { 51868 break 51869 } 51870 } 51871 intStringLen := int(stringLen) 51872 if intStringLen < 0 { 51873 return ErrInvalidLengthAuthservice 51874 } 51875 postIndex := iNdEx + intStringLen 51876 if postIndex < 0 { 51877 return ErrInvalidLengthAuthservice 51878 } 51879 if postIndex > l { 51880 return io.ErrUnexpectedEOF 51881 } 51882 m.Namespace = string(dAtA[iNdEx:postIndex]) 51883 iNdEx = postIndex 51884 case 2: 51885 if wireType != 2 { 51886 return fmt.Errorf("proto: wrong wireType = %d for field HostID", wireType) 51887 } 51888 var stringLen uint64 51889 for shift := uint(0); ; shift += 7 { 51890 if shift >= 64 { 51891 return ErrIntOverflowAuthservice 51892 } 51893 if iNdEx >= l { 51894 return io.ErrUnexpectedEOF 51895 } 51896 b := dAtA[iNdEx] 51897 iNdEx++ 51898 stringLen |= uint64(b&0x7F) << shift 51899 if b < 0x80 { 51900 break 51901 } 51902 } 51903 intStringLen := int(stringLen) 51904 if intStringLen < 0 { 51905 return ErrInvalidLengthAuthservice 51906 } 51907 postIndex := iNdEx + intStringLen 51908 if postIndex < 0 { 51909 return ErrInvalidLengthAuthservice 51910 } 51911 if postIndex > l { 51912 return io.ErrUnexpectedEOF 51913 } 51914 m.HostID = string(dAtA[iNdEx:postIndex]) 51915 iNdEx = postIndex 51916 case 3: 51917 if wireType != 2 { 51918 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 51919 } 51920 var stringLen uint64 51921 for shift := uint(0); ; shift += 7 { 51922 if shift >= 64 { 51923 return ErrIntOverflowAuthservice 51924 } 51925 if iNdEx >= l { 51926 return io.ErrUnexpectedEOF 51927 } 51928 b := dAtA[iNdEx] 51929 iNdEx++ 51930 stringLen |= uint64(b&0x7F) << shift 51931 if b < 0x80 { 51932 break 51933 } 51934 } 51935 intStringLen := int(stringLen) 51936 if intStringLen < 0 { 51937 return ErrInvalidLengthAuthservice 51938 } 51939 postIndex := iNdEx + intStringLen 51940 if postIndex < 0 { 51941 return ErrInvalidLengthAuthservice 51942 } 51943 if postIndex > l { 51944 return io.ErrUnexpectedEOF 51945 } 51946 m.Name = string(dAtA[iNdEx:postIndex]) 51947 iNdEx = postIndex 51948 default: 51949 iNdEx = preIndex 51950 skippy, err := skipAuthservice(dAtA[iNdEx:]) 51951 if err != nil { 51952 return err 51953 } 51954 if (skippy < 0) || (iNdEx+skippy) < 0 { 51955 return ErrInvalidLengthAuthservice 51956 } 51957 if (iNdEx + skippy) > l { 51958 return io.ErrUnexpectedEOF 51959 } 51960 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 51961 iNdEx += skippy 51962 } 51963 } 51964 51965 if iNdEx > l { 51966 return io.ErrUnexpectedEOF 51967 } 51968 return nil 51969 } 51970 func (m *DeleteAllDatabaseServersRequest) Unmarshal(dAtA []byte) error { 51971 l := len(dAtA) 51972 iNdEx := 0 51973 for iNdEx < l { 51974 preIndex := iNdEx 51975 var wire uint64 51976 for shift := uint(0); ; shift += 7 { 51977 if shift >= 64 { 51978 return ErrIntOverflowAuthservice 51979 } 51980 if iNdEx >= l { 51981 return io.ErrUnexpectedEOF 51982 } 51983 b := dAtA[iNdEx] 51984 iNdEx++ 51985 wire |= uint64(b&0x7F) << shift 51986 if b < 0x80 { 51987 break 51988 } 51989 } 51990 fieldNum := int32(wire >> 3) 51991 wireType := int(wire & 0x7) 51992 if wireType == 4 { 51993 return fmt.Errorf("proto: DeleteAllDatabaseServersRequest: wiretype end group for non-group") 51994 } 51995 if fieldNum <= 0 { 51996 return fmt.Errorf("proto: DeleteAllDatabaseServersRequest: illegal tag %d (wire type %d)", fieldNum, wire) 51997 } 51998 switch fieldNum { 51999 case 1: 52000 if wireType != 2 { 52001 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 52002 } 52003 var stringLen uint64 52004 for shift := uint(0); ; shift += 7 { 52005 if shift >= 64 { 52006 return ErrIntOverflowAuthservice 52007 } 52008 if iNdEx >= l { 52009 return io.ErrUnexpectedEOF 52010 } 52011 b := dAtA[iNdEx] 52012 iNdEx++ 52013 stringLen |= uint64(b&0x7F) << shift 52014 if b < 0x80 { 52015 break 52016 } 52017 } 52018 intStringLen := int(stringLen) 52019 if intStringLen < 0 { 52020 return ErrInvalidLengthAuthservice 52021 } 52022 postIndex := iNdEx + intStringLen 52023 if postIndex < 0 { 52024 return ErrInvalidLengthAuthservice 52025 } 52026 if postIndex > l { 52027 return io.ErrUnexpectedEOF 52028 } 52029 m.Namespace = string(dAtA[iNdEx:postIndex]) 52030 iNdEx = postIndex 52031 default: 52032 iNdEx = preIndex 52033 skippy, err := skipAuthservice(dAtA[iNdEx:]) 52034 if err != nil { 52035 return err 52036 } 52037 if (skippy < 0) || (iNdEx+skippy) < 0 { 52038 return ErrInvalidLengthAuthservice 52039 } 52040 if (iNdEx + skippy) > l { 52041 return io.ErrUnexpectedEOF 52042 } 52043 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 52044 iNdEx += skippy 52045 } 52046 } 52047 52048 if iNdEx > l { 52049 return io.ErrUnexpectedEOF 52050 } 52051 return nil 52052 } 52053 func (m *DatabaseServiceV1List) Unmarshal(dAtA []byte) error { 52054 l := len(dAtA) 52055 iNdEx := 0 52056 for iNdEx < l { 52057 preIndex := iNdEx 52058 var wire uint64 52059 for shift := uint(0); ; shift += 7 { 52060 if shift >= 64 { 52061 return ErrIntOverflowAuthservice 52062 } 52063 if iNdEx >= l { 52064 return io.ErrUnexpectedEOF 52065 } 52066 b := dAtA[iNdEx] 52067 iNdEx++ 52068 wire |= uint64(b&0x7F) << shift 52069 if b < 0x80 { 52070 break 52071 } 52072 } 52073 fieldNum := int32(wire >> 3) 52074 wireType := int(wire & 0x7) 52075 if wireType == 4 { 52076 return fmt.Errorf("proto: DatabaseServiceV1List: wiretype end group for non-group") 52077 } 52078 if fieldNum <= 0 { 52079 return fmt.Errorf("proto: DatabaseServiceV1List: illegal tag %d (wire type %d)", fieldNum, wire) 52080 } 52081 switch fieldNum { 52082 case 1: 52083 if wireType != 2 { 52084 return fmt.Errorf("proto: wrong wireType = %d for field Services", wireType) 52085 } 52086 var msglen int 52087 for shift := uint(0); ; shift += 7 { 52088 if shift >= 64 { 52089 return ErrIntOverflowAuthservice 52090 } 52091 if iNdEx >= l { 52092 return io.ErrUnexpectedEOF 52093 } 52094 b := dAtA[iNdEx] 52095 iNdEx++ 52096 msglen |= int(b&0x7F) << shift 52097 if b < 0x80 { 52098 break 52099 } 52100 } 52101 if msglen < 0 { 52102 return ErrInvalidLengthAuthservice 52103 } 52104 postIndex := iNdEx + msglen 52105 if postIndex < 0 { 52106 return ErrInvalidLengthAuthservice 52107 } 52108 if postIndex > l { 52109 return io.ErrUnexpectedEOF 52110 } 52111 m.Services = append(m.Services, &types.DatabaseServiceV1{}) 52112 if err := m.Services[len(m.Services)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 52113 return err 52114 } 52115 iNdEx = postIndex 52116 default: 52117 iNdEx = preIndex 52118 skippy, err := skipAuthservice(dAtA[iNdEx:]) 52119 if err != nil { 52120 return err 52121 } 52122 if (skippy < 0) || (iNdEx+skippy) < 0 { 52123 return ErrInvalidLengthAuthservice 52124 } 52125 if (iNdEx + skippy) > l { 52126 return io.ErrUnexpectedEOF 52127 } 52128 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 52129 iNdEx += skippy 52130 } 52131 } 52132 52133 if iNdEx > l { 52134 return io.ErrUnexpectedEOF 52135 } 52136 return nil 52137 } 52138 func (m *UpsertDatabaseServiceRequest) Unmarshal(dAtA []byte) error { 52139 l := len(dAtA) 52140 iNdEx := 0 52141 for iNdEx < l { 52142 preIndex := iNdEx 52143 var wire uint64 52144 for shift := uint(0); ; shift += 7 { 52145 if shift >= 64 { 52146 return ErrIntOverflowAuthservice 52147 } 52148 if iNdEx >= l { 52149 return io.ErrUnexpectedEOF 52150 } 52151 b := dAtA[iNdEx] 52152 iNdEx++ 52153 wire |= uint64(b&0x7F) << shift 52154 if b < 0x80 { 52155 break 52156 } 52157 } 52158 fieldNum := int32(wire >> 3) 52159 wireType := int(wire & 0x7) 52160 if wireType == 4 { 52161 return fmt.Errorf("proto: UpsertDatabaseServiceRequest: wiretype end group for non-group") 52162 } 52163 if fieldNum <= 0 { 52164 return fmt.Errorf("proto: UpsertDatabaseServiceRequest: illegal tag %d (wire type %d)", fieldNum, wire) 52165 } 52166 switch fieldNum { 52167 case 1: 52168 if wireType != 2 { 52169 return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) 52170 } 52171 var msglen int 52172 for shift := uint(0); ; shift += 7 { 52173 if shift >= 64 { 52174 return ErrIntOverflowAuthservice 52175 } 52176 if iNdEx >= l { 52177 return io.ErrUnexpectedEOF 52178 } 52179 b := dAtA[iNdEx] 52180 iNdEx++ 52181 msglen |= int(b&0x7F) << shift 52182 if b < 0x80 { 52183 break 52184 } 52185 } 52186 if msglen < 0 { 52187 return ErrInvalidLengthAuthservice 52188 } 52189 postIndex := iNdEx + msglen 52190 if postIndex < 0 { 52191 return ErrInvalidLengthAuthservice 52192 } 52193 if postIndex > l { 52194 return io.ErrUnexpectedEOF 52195 } 52196 if m.Service == nil { 52197 m.Service = &types.DatabaseServiceV1{} 52198 } 52199 if err := m.Service.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 52200 return err 52201 } 52202 iNdEx = postIndex 52203 default: 52204 iNdEx = preIndex 52205 skippy, err := skipAuthservice(dAtA[iNdEx:]) 52206 if err != nil { 52207 return err 52208 } 52209 if (skippy < 0) || (iNdEx+skippy) < 0 { 52210 return ErrInvalidLengthAuthservice 52211 } 52212 if (iNdEx + skippy) > l { 52213 return io.ErrUnexpectedEOF 52214 } 52215 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 52216 iNdEx += skippy 52217 } 52218 } 52219 52220 if iNdEx > l { 52221 return io.ErrUnexpectedEOF 52222 } 52223 return nil 52224 } 52225 func (m *DeleteAllDatabaseServicesRequest) Unmarshal(dAtA []byte) error { 52226 l := len(dAtA) 52227 iNdEx := 0 52228 for iNdEx < l { 52229 preIndex := iNdEx 52230 var wire uint64 52231 for shift := uint(0); ; shift += 7 { 52232 if shift >= 64 { 52233 return ErrIntOverflowAuthservice 52234 } 52235 if iNdEx >= l { 52236 return io.ErrUnexpectedEOF 52237 } 52238 b := dAtA[iNdEx] 52239 iNdEx++ 52240 wire |= uint64(b&0x7F) << shift 52241 if b < 0x80 { 52242 break 52243 } 52244 } 52245 fieldNum := int32(wire >> 3) 52246 wireType := int(wire & 0x7) 52247 if wireType == 4 { 52248 return fmt.Errorf("proto: DeleteAllDatabaseServicesRequest: wiretype end group for non-group") 52249 } 52250 if fieldNum <= 0 { 52251 return fmt.Errorf("proto: DeleteAllDatabaseServicesRequest: illegal tag %d (wire type %d)", fieldNum, wire) 52252 } 52253 switch fieldNum { 52254 default: 52255 iNdEx = preIndex 52256 skippy, err := skipAuthservice(dAtA[iNdEx:]) 52257 if err != nil { 52258 return err 52259 } 52260 if (skippy < 0) || (iNdEx+skippy) < 0 { 52261 return ErrInvalidLengthAuthservice 52262 } 52263 if (iNdEx + skippy) > l { 52264 return io.ErrUnexpectedEOF 52265 } 52266 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 52267 iNdEx += skippy 52268 } 52269 } 52270 52271 if iNdEx > l { 52272 return io.ErrUnexpectedEOF 52273 } 52274 return nil 52275 } 52276 func (m *DatabaseCSRRequest) Unmarshal(dAtA []byte) error { 52277 l := len(dAtA) 52278 iNdEx := 0 52279 for iNdEx < l { 52280 preIndex := iNdEx 52281 var wire uint64 52282 for shift := uint(0); ; shift += 7 { 52283 if shift >= 64 { 52284 return ErrIntOverflowAuthservice 52285 } 52286 if iNdEx >= l { 52287 return io.ErrUnexpectedEOF 52288 } 52289 b := dAtA[iNdEx] 52290 iNdEx++ 52291 wire |= uint64(b&0x7F) << shift 52292 if b < 0x80 { 52293 break 52294 } 52295 } 52296 fieldNum := int32(wire >> 3) 52297 wireType := int(wire & 0x7) 52298 if wireType == 4 { 52299 return fmt.Errorf("proto: DatabaseCSRRequest: wiretype end group for non-group") 52300 } 52301 if fieldNum <= 0 { 52302 return fmt.Errorf("proto: DatabaseCSRRequest: illegal tag %d (wire type %d)", fieldNum, wire) 52303 } 52304 switch fieldNum { 52305 case 1: 52306 if wireType != 2 { 52307 return fmt.Errorf("proto: wrong wireType = %d for field CSR", wireType) 52308 } 52309 var byteLen int 52310 for shift := uint(0); ; shift += 7 { 52311 if shift >= 64 { 52312 return ErrIntOverflowAuthservice 52313 } 52314 if iNdEx >= l { 52315 return io.ErrUnexpectedEOF 52316 } 52317 b := dAtA[iNdEx] 52318 iNdEx++ 52319 byteLen |= int(b&0x7F) << shift 52320 if b < 0x80 { 52321 break 52322 } 52323 } 52324 if byteLen < 0 { 52325 return ErrInvalidLengthAuthservice 52326 } 52327 postIndex := iNdEx + byteLen 52328 if postIndex < 0 { 52329 return ErrInvalidLengthAuthservice 52330 } 52331 if postIndex > l { 52332 return io.ErrUnexpectedEOF 52333 } 52334 m.CSR = append(m.CSR[:0], dAtA[iNdEx:postIndex]...) 52335 if m.CSR == nil { 52336 m.CSR = []byte{} 52337 } 52338 iNdEx = postIndex 52339 case 2: 52340 if wireType != 2 { 52341 return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) 52342 } 52343 var stringLen uint64 52344 for shift := uint(0); ; shift += 7 { 52345 if shift >= 64 { 52346 return ErrIntOverflowAuthservice 52347 } 52348 if iNdEx >= l { 52349 return io.ErrUnexpectedEOF 52350 } 52351 b := dAtA[iNdEx] 52352 iNdEx++ 52353 stringLen |= uint64(b&0x7F) << shift 52354 if b < 0x80 { 52355 break 52356 } 52357 } 52358 intStringLen := int(stringLen) 52359 if intStringLen < 0 { 52360 return ErrInvalidLengthAuthservice 52361 } 52362 postIndex := iNdEx + intStringLen 52363 if postIndex < 0 { 52364 return ErrInvalidLengthAuthservice 52365 } 52366 if postIndex > l { 52367 return io.ErrUnexpectedEOF 52368 } 52369 m.ClusterName = string(dAtA[iNdEx:postIndex]) 52370 iNdEx = postIndex 52371 default: 52372 iNdEx = preIndex 52373 skippy, err := skipAuthservice(dAtA[iNdEx:]) 52374 if err != nil { 52375 return err 52376 } 52377 if (skippy < 0) || (iNdEx+skippy) < 0 { 52378 return ErrInvalidLengthAuthservice 52379 } 52380 if (iNdEx + skippy) > l { 52381 return io.ErrUnexpectedEOF 52382 } 52383 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 52384 iNdEx += skippy 52385 } 52386 } 52387 52388 if iNdEx > l { 52389 return io.ErrUnexpectedEOF 52390 } 52391 return nil 52392 } 52393 func (m *DatabaseCSRResponse) Unmarshal(dAtA []byte) error { 52394 l := len(dAtA) 52395 iNdEx := 0 52396 for iNdEx < l { 52397 preIndex := iNdEx 52398 var wire uint64 52399 for shift := uint(0); ; shift += 7 { 52400 if shift >= 64 { 52401 return ErrIntOverflowAuthservice 52402 } 52403 if iNdEx >= l { 52404 return io.ErrUnexpectedEOF 52405 } 52406 b := dAtA[iNdEx] 52407 iNdEx++ 52408 wire |= uint64(b&0x7F) << shift 52409 if b < 0x80 { 52410 break 52411 } 52412 } 52413 fieldNum := int32(wire >> 3) 52414 wireType := int(wire & 0x7) 52415 if wireType == 4 { 52416 return fmt.Errorf("proto: DatabaseCSRResponse: wiretype end group for non-group") 52417 } 52418 if fieldNum <= 0 { 52419 return fmt.Errorf("proto: DatabaseCSRResponse: illegal tag %d (wire type %d)", fieldNum, wire) 52420 } 52421 switch fieldNum { 52422 case 1: 52423 if wireType != 2 { 52424 return fmt.Errorf("proto: wrong wireType = %d for field Cert", wireType) 52425 } 52426 var byteLen int 52427 for shift := uint(0); ; shift += 7 { 52428 if shift >= 64 { 52429 return ErrIntOverflowAuthservice 52430 } 52431 if iNdEx >= l { 52432 return io.ErrUnexpectedEOF 52433 } 52434 b := dAtA[iNdEx] 52435 iNdEx++ 52436 byteLen |= int(b&0x7F) << shift 52437 if b < 0x80 { 52438 break 52439 } 52440 } 52441 if byteLen < 0 { 52442 return ErrInvalidLengthAuthservice 52443 } 52444 postIndex := iNdEx + byteLen 52445 if postIndex < 0 { 52446 return ErrInvalidLengthAuthservice 52447 } 52448 if postIndex > l { 52449 return io.ErrUnexpectedEOF 52450 } 52451 m.Cert = append(m.Cert[:0], dAtA[iNdEx:postIndex]...) 52452 if m.Cert == nil { 52453 m.Cert = []byte{} 52454 } 52455 iNdEx = postIndex 52456 case 2: 52457 if wireType != 2 { 52458 return fmt.Errorf("proto: wrong wireType = %d for field CACerts", wireType) 52459 } 52460 var byteLen int 52461 for shift := uint(0); ; shift += 7 { 52462 if shift >= 64 { 52463 return ErrIntOverflowAuthservice 52464 } 52465 if iNdEx >= l { 52466 return io.ErrUnexpectedEOF 52467 } 52468 b := dAtA[iNdEx] 52469 iNdEx++ 52470 byteLen |= int(b&0x7F) << shift 52471 if b < 0x80 { 52472 break 52473 } 52474 } 52475 if byteLen < 0 { 52476 return ErrInvalidLengthAuthservice 52477 } 52478 postIndex := iNdEx + byteLen 52479 if postIndex < 0 { 52480 return ErrInvalidLengthAuthservice 52481 } 52482 if postIndex > l { 52483 return io.ErrUnexpectedEOF 52484 } 52485 m.CACerts = append(m.CACerts, make([]byte, postIndex-iNdEx)) 52486 copy(m.CACerts[len(m.CACerts)-1], dAtA[iNdEx:postIndex]) 52487 iNdEx = postIndex 52488 default: 52489 iNdEx = preIndex 52490 skippy, err := skipAuthservice(dAtA[iNdEx:]) 52491 if err != nil { 52492 return err 52493 } 52494 if (skippy < 0) || (iNdEx+skippy) < 0 { 52495 return ErrInvalidLengthAuthservice 52496 } 52497 if (iNdEx + skippy) > l { 52498 return io.ErrUnexpectedEOF 52499 } 52500 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 52501 iNdEx += skippy 52502 } 52503 } 52504 52505 if iNdEx > l { 52506 return io.ErrUnexpectedEOF 52507 } 52508 return nil 52509 } 52510 func (m *DatabaseCertRequest) Unmarshal(dAtA []byte) error { 52511 l := len(dAtA) 52512 iNdEx := 0 52513 for iNdEx < l { 52514 preIndex := iNdEx 52515 var wire uint64 52516 for shift := uint(0); ; shift += 7 { 52517 if shift >= 64 { 52518 return ErrIntOverflowAuthservice 52519 } 52520 if iNdEx >= l { 52521 return io.ErrUnexpectedEOF 52522 } 52523 b := dAtA[iNdEx] 52524 iNdEx++ 52525 wire |= uint64(b&0x7F) << shift 52526 if b < 0x80 { 52527 break 52528 } 52529 } 52530 fieldNum := int32(wire >> 3) 52531 wireType := int(wire & 0x7) 52532 if wireType == 4 { 52533 return fmt.Errorf("proto: DatabaseCertRequest: wiretype end group for non-group") 52534 } 52535 if fieldNum <= 0 { 52536 return fmt.Errorf("proto: DatabaseCertRequest: illegal tag %d (wire type %d)", fieldNum, wire) 52537 } 52538 switch fieldNum { 52539 case 1: 52540 if wireType != 2 { 52541 return fmt.Errorf("proto: wrong wireType = %d for field CSR", wireType) 52542 } 52543 var byteLen int 52544 for shift := uint(0); ; shift += 7 { 52545 if shift >= 64 { 52546 return ErrIntOverflowAuthservice 52547 } 52548 if iNdEx >= l { 52549 return io.ErrUnexpectedEOF 52550 } 52551 b := dAtA[iNdEx] 52552 iNdEx++ 52553 byteLen |= int(b&0x7F) << shift 52554 if b < 0x80 { 52555 break 52556 } 52557 } 52558 if byteLen < 0 { 52559 return ErrInvalidLengthAuthservice 52560 } 52561 postIndex := iNdEx + byteLen 52562 if postIndex < 0 { 52563 return ErrInvalidLengthAuthservice 52564 } 52565 if postIndex > l { 52566 return io.ErrUnexpectedEOF 52567 } 52568 m.CSR = append(m.CSR[:0], dAtA[iNdEx:postIndex]...) 52569 if m.CSR == nil { 52570 m.CSR = []byte{} 52571 } 52572 iNdEx = postIndex 52573 case 2: 52574 if wireType != 2 { 52575 return fmt.Errorf("proto: wrong wireType = %d for field ServerName", wireType) 52576 } 52577 var stringLen uint64 52578 for shift := uint(0); ; shift += 7 { 52579 if shift >= 64 { 52580 return ErrIntOverflowAuthservice 52581 } 52582 if iNdEx >= l { 52583 return io.ErrUnexpectedEOF 52584 } 52585 b := dAtA[iNdEx] 52586 iNdEx++ 52587 stringLen |= uint64(b&0x7F) << shift 52588 if b < 0x80 { 52589 break 52590 } 52591 } 52592 intStringLen := int(stringLen) 52593 if intStringLen < 0 { 52594 return ErrInvalidLengthAuthservice 52595 } 52596 postIndex := iNdEx + intStringLen 52597 if postIndex < 0 { 52598 return ErrInvalidLengthAuthservice 52599 } 52600 if postIndex > l { 52601 return io.ErrUnexpectedEOF 52602 } 52603 m.ServerName = string(dAtA[iNdEx:postIndex]) 52604 iNdEx = postIndex 52605 case 3: 52606 if wireType != 0 { 52607 return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType) 52608 } 52609 m.TTL = 0 52610 for shift := uint(0); ; shift += 7 { 52611 if shift >= 64 { 52612 return ErrIntOverflowAuthservice 52613 } 52614 if iNdEx >= l { 52615 return io.ErrUnexpectedEOF 52616 } 52617 b := dAtA[iNdEx] 52618 iNdEx++ 52619 m.TTL |= Duration(b&0x7F) << shift 52620 if b < 0x80 { 52621 break 52622 } 52623 } 52624 case 4: 52625 if wireType != 2 { 52626 return fmt.Errorf("proto: wrong wireType = %d for field ServerNames", wireType) 52627 } 52628 var stringLen uint64 52629 for shift := uint(0); ; shift += 7 { 52630 if shift >= 64 { 52631 return ErrIntOverflowAuthservice 52632 } 52633 if iNdEx >= l { 52634 return io.ErrUnexpectedEOF 52635 } 52636 b := dAtA[iNdEx] 52637 iNdEx++ 52638 stringLen |= uint64(b&0x7F) << shift 52639 if b < 0x80 { 52640 break 52641 } 52642 } 52643 intStringLen := int(stringLen) 52644 if intStringLen < 0 { 52645 return ErrInvalidLengthAuthservice 52646 } 52647 postIndex := iNdEx + intStringLen 52648 if postIndex < 0 { 52649 return ErrInvalidLengthAuthservice 52650 } 52651 if postIndex > l { 52652 return io.ErrUnexpectedEOF 52653 } 52654 m.ServerNames = append(m.ServerNames, string(dAtA[iNdEx:postIndex])) 52655 iNdEx = postIndex 52656 case 5: 52657 if wireType != 0 { 52658 return fmt.Errorf("proto: wrong wireType = %d for field RequesterName", wireType) 52659 } 52660 m.RequesterName = 0 52661 for shift := uint(0); ; shift += 7 { 52662 if shift >= 64 { 52663 return ErrIntOverflowAuthservice 52664 } 52665 if iNdEx >= l { 52666 return io.ErrUnexpectedEOF 52667 } 52668 b := dAtA[iNdEx] 52669 iNdEx++ 52670 m.RequesterName |= DatabaseCertRequest_Requester(b&0x7F) << shift 52671 if b < 0x80 { 52672 break 52673 } 52674 } 52675 case 6: 52676 if wireType != 0 { 52677 return fmt.Errorf("proto: wrong wireType = %d for field CertificateExtensions", wireType) 52678 } 52679 m.CertificateExtensions = 0 52680 for shift := uint(0); ; shift += 7 { 52681 if shift >= 64 { 52682 return ErrIntOverflowAuthservice 52683 } 52684 if iNdEx >= l { 52685 return io.ErrUnexpectedEOF 52686 } 52687 b := dAtA[iNdEx] 52688 iNdEx++ 52689 m.CertificateExtensions |= DatabaseCertRequest_Extensions(b&0x7F) << shift 52690 if b < 0x80 { 52691 break 52692 } 52693 } 52694 case 7: 52695 if wireType != 2 { 52696 return fmt.Errorf("proto: wrong wireType = %d for field CRLEndpoint", wireType) 52697 } 52698 var stringLen uint64 52699 for shift := uint(0); ; shift += 7 { 52700 if shift >= 64 { 52701 return ErrIntOverflowAuthservice 52702 } 52703 if iNdEx >= l { 52704 return io.ErrUnexpectedEOF 52705 } 52706 b := dAtA[iNdEx] 52707 iNdEx++ 52708 stringLen |= uint64(b&0x7F) << shift 52709 if b < 0x80 { 52710 break 52711 } 52712 } 52713 intStringLen := int(stringLen) 52714 if intStringLen < 0 { 52715 return ErrInvalidLengthAuthservice 52716 } 52717 postIndex := iNdEx + intStringLen 52718 if postIndex < 0 { 52719 return ErrInvalidLengthAuthservice 52720 } 52721 if postIndex > l { 52722 return io.ErrUnexpectedEOF 52723 } 52724 m.CRLEndpoint = string(dAtA[iNdEx:postIndex]) 52725 iNdEx = postIndex 52726 default: 52727 iNdEx = preIndex 52728 skippy, err := skipAuthservice(dAtA[iNdEx:]) 52729 if err != nil { 52730 return err 52731 } 52732 if (skippy < 0) || (iNdEx+skippy) < 0 { 52733 return ErrInvalidLengthAuthservice 52734 } 52735 if (iNdEx + skippy) > l { 52736 return io.ErrUnexpectedEOF 52737 } 52738 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 52739 iNdEx += skippy 52740 } 52741 } 52742 52743 if iNdEx > l { 52744 return io.ErrUnexpectedEOF 52745 } 52746 return nil 52747 } 52748 func (m *DatabaseCertResponse) Unmarshal(dAtA []byte) error { 52749 l := len(dAtA) 52750 iNdEx := 0 52751 for iNdEx < l { 52752 preIndex := iNdEx 52753 var wire uint64 52754 for shift := uint(0); ; shift += 7 { 52755 if shift >= 64 { 52756 return ErrIntOverflowAuthservice 52757 } 52758 if iNdEx >= l { 52759 return io.ErrUnexpectedEOF 52760 } 52761 b := dAtA[iNdEx] 52762 iNdEx++ 52763 wire |= uint64(b&0x7F) << shift 52764 if b < 0x80 { 52765 break 52766 } 52767 } 52768 fieldNum := int32(wire >> 3) 52769 wireType := int(wire & 0x7) 52770 if wireType == 4 { 52771 return fmt.Errorf("proto: DatabaseCertResponse: wiretype end group for non-group") 52772 } 52773 if fieldNum <= 0 { 52774 return fmt.Errorf("proto: DatabaseCertResponse: illegal tag %d (wire type %d)", fieldNum, wire) 52775 } 52776 switch fieldNum { 52777 case 1: 52778 if wireType != 2 { 52779 return fmt.Errorf("proto: wrong wireType = %d for field Cert", wireType) 52780 } 52781 var byteLen int 52782 for shift := uint(0); ; shift += 7 { 52783 if shift >= 64 { 52784 return ErrIntOverflowAuthservice 52785 } 52786 if iNdEx >= l { 52787 return io.ErrUnexpectedEOF 52788 } 52789 b := dAtA[iNdEx] 52790 iNdEx++ 52791 byteLen |= int(b&0x7F) << shift 52792 if b < 0x80 { 52793 break 52794 } 52795 } 52796 if byteLen < 0 { 52797 return ErrInvalidLengthAuthservice 52798 } 52799 postIndex := iNdEx + byteLen 52800 if postIndex < 0 { 52801 return ErrInvalidLengthAuthservice 52802 } 52803 if postIndex > l { 52804 return io.ErrUnexpectedEOF 52805 } 52806 m.Cert = append(m.Cert[:0], dAtA[iNdEx:postIndex]...) 52807 if m.Cert == nil { 52808 m.Cert = []byte{} 52809 } 52810 iNdEx = postIndex 52811 case 2: 52812 if wireType != 2 { 52813 return fmt.Errorf("proto: wrong wireType = %d for field CACerts", wireType) 52814 } 52815 var byteLen int 52816 for shift := uint(0); ; shift += 7 { 52817 if shift >= 64 { 52818 return ErrIntOverflowAuthservice 52819 } 52820 if iNdEx >= l { 52821 return io.ErrUnexpectedEOF 52822 } 52823 b := dAtA[iNdEx] 52824 iNdEx++ 52825 byteLen |= int(b&0x7F) << shift 52826 if b < 0x80 { 52827 break 52828 } 52829 } 52830 if byteLen < 0 { 52831 return ErrInvalidLengthAuthservice 52832 } 52833 postIndex := iNdEx + byteLen 52834 if postIndex < 0 { 52835 return ErrInvalidLengthAuthservice 52836 } 52837 if postIndex > l { 52838 return io.ErrUnexpectedEOF 52839 } 52840 m.CACerts = append(m.CACerts, make([]byte, postIndex-iNdEx)) 52841 copy(m.CACerts[len(m.CACerts)-1], dAtA[iNdEx:postIndex]) 52842 iNdEx = postIndex 52843 default: 52844 iNdEx = preIndex 52845 skippy, err := skipAuthservice(dAtA[iNdEx:]) 52846 if err != nil { 52847 return err 52848 } 52849 if (skippy < 0) || (iNdEx+skippy) < 0 { 52850 return ErrInvalidLengthAuthservice 52851 } 52852 if (iNdEx + skippy) > l { 52853 return io.ErrUnexpectedEOF 52854 } 52855 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 52856 iNdEx += skippy 52857 } 52858 } 52859 52860 if iNdEx > l { 52861 return io.ErrUnexpectedEOF 52862 } 52863 return nil 52864 } 52865 func (m *SnowflakeJWTRequest) Unmarshal(dAtA []byte) error { 52866 l := len(dAtA) 52867 iNdEx := 0 52868 for iNdEx < l { 52869 preIndex := iNdEx 52870 var wire uint64 52871 for shift := uint(0); ; shift += 7 { 52872 if shift >= 64 { 52873 return ErrIntOverflowAuthservice 52874 } 52875 if iNdEx >= l { 52876 return io.ErrUnexpectedEOF 52877 } 52878 b := dAtA[iNdEx] 52879 iNdEx++ 52880 wire |= uint64(b&0x7F) << shift 52881 if b < 0x80 { 52882 break 52883 } 52884 } 52885 fieldNum := int32(wire >> 3) 52886 wireType := int(wire & 0x7) 52887 if wireType == 4 { 52888 return fmt.Errorf("proto: SnowflakeJWTRequest: wiretype end group for non-group") 52889 } 52890 if fieldNum <= 0 { 52891 return fmt.Errorf("proto: SnowflakeJWTRequest: illegal tag %d (wire type %d)", fieldNum, wire) 52892 } 52893 switch fieldNum { 52894 case 1: 52895 if wireType != 2 { 52896 return fmt.Errorf("proto: wrong wireType = %d for field AccountName", wireType) 52897 } 52898 var stringLen uint64 52899 for shift := uint(0); ; shift += 7 { 52900 if shift >= 64 { 52901 return ErrIntOverflowAuthservice 52902 } 52903 if iNdEx >= l { 52904 return io.ErrUnexpectedEOF 52905 } 52906 b := dAtA[iNdEx] 52907 iNdEx++ 52908 stringLen |= uint64(b&0x7F) << shift 52909 if b < 0x80 { 52910 break 52911 } 52912 } 52913 intStringLen := int(stringLen) 52914 if intStringLen < 0 { 52915 return ErrInvalidLengthAuthservice 52916 } 52917 postIndex := iNdEx + intStringLen 52918 if postIndex < 0 { 52919 return ErrInvalidLengthAuthservice 52920 } 52921 if postIndex > l { 52922 return io.ErrUnexpectedEOF 52923 } 52924 m.AccountName = string(dAtA[iNdEx:postIndex]) 52925 iNdEx = postIndex 52926 case 2: 52927 if wireType != 2 { 52928 return fmt.Errorf("proto: wrong wireType = %d for field UserName", wireType) 52929 } 52930 var stringLen uint64 52931 for shift := uint(0); ; shift += 7 { 52932 if shift >= 64 { 52933 return ErrIntOverflowAuthservice 52934 } 52935 if iNdEx >= l { 52936 return io.ErrUnexpectedEOF 52937 } 52938 b := dAtA[iNdEx] 52939 iNdEx++ 52940 stringLen |= uint64(b&0x7F) << shift 52941 if b < 0x80 { 52942 break 52943 } 52944 } 52945 intStringLen := int(stringLen) 52946 if intStringLen < 0 { 52947 return ErrInvalidLengthAuthservice 52948 } 52949 postIndex := iNdEx + intStringLen 52950 if postIndex < 0 { 52951 return ErrInvalidLengthAuthservice 52952 } 52953 if postIndex > l { 52954 return io.ErrUnexpectedEOF 52955 } 52956 m.UserName = string(dAtA[iNdEx:postIndex]) 52957 iNdEx = postIndex 52958 default: 52959 iNdEx = preIndex 52960 skippy, err := skipAuthservice(dAtA[iNdEx:]) 52961 if err != nil { 52962 return err 52963 } 52964 if (skippy < 0) || (iNdEx+skippy) < 0 { 52965 return ErrInvalidLengthAuthservice 52966 } 52967 if (iNdEx + skippy) > l { 52968 return io.ErrUnexpectedEOF 52969 } 52970 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 52971 iNdEx += skippy 52972 } 52973 } 52974 52975 if iNdEx > l { 52976 return io.ErrUnexpectedEOF 52977 } 52978 return nil 52979 } 52980 func (m *SnowflakeJWTResponse) Unmarshal(dAtA []byte) error { 52981 l := len(dAtA) 52982 iNdEx := 0 52983 for iNdEx < l { 52984 preIndex := iNdEx 52985 var wire uint64 52986 for shift := uint(0); ; shift += 7 { 52987 if shift >= 64 { 52988 return ErrIntOverflowAuthservice 52989 } 52990 if iNdEx >= l { 52991 return io.ErrUnexpectedEOF 52992 } 52993 b := dAtA[iNdEx] 52994 iNdEx++ 52995 wire |= uint64(b&0x7F) << shift 52996 if b < 0x80 { 52997 break 52998 } 52999 } 53000 fieldNum := int32(wire >> 3) 53001 wireType := int(wire & 0x7) 53002 if wireType == 4 { 53003 return fmt.Errorf("proto: SnowflakeJWTResponse: wiretype end group for non-group") 53004 } 53005 if fieldNum <= 0 { 53006 return fmt.Errorf("proto: SnowflakeJWTResponse: illegal tag %d (wire type %d)", fieldNum, wire) 53007 } 53008 switch fieldNum { 53009 case 1: 53010 if wireType != 2 { 53011 return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) 53012 } 53013 var stringLen uint64 53014 for shift := uint(0); ; shift += 7 { 53015 if shift >= 64 { 53016 return ErrIntOverflowAuthservice 53017 } 53018 if iNdEx >= l { 53019 return io.ErrUnexpectedEOF 53020 } 53021 b := dAtA[iNdEx] 53022 iNdEx++ 53023 stringLen |= uint64(b&0x7F) << shift 53024 if b < 0x80 { 53025 break 53026 } 53027 } 53028 intStringLen := int(stringLen) 53029 if intStringLen < 0 { 53030 return ErrInvalidLengthAuthservice 53031 } 53032 postIndex := iNdEx + intStringLen 53033 if postIndex < 0 { 53034 return ErrInvalidLengthAuthservice 53035 } 53036 if postIndex > l { 53037 return io.ErrUnexpectedEOF 53038 } 53039 m.Token = string(dAtA[iNdEx:postIndex]) 53040 iNdEx = postIndex 53041 default: 53042 iNdEx = preIndex 53043 skippy, err := skipAuthservice(dAtA[iNdEx:]) 53044 if err != nil { 53045 return err 53046 } 53047 if (skippy < 0) || (iNdEx+skippy) < 0 { 53048 return ErrInvalidLengthAuthservice 53049 } 53050 if (iNdEx + skippy) > l { 53051 return io.ErrUnexpectedEOF 53052 } 53053 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 53054 iNdEx += skippy 53055 } 53056 } 53057 53058 if iNdEx > l { 53059 return io.ErrUnexpectedEOF 53060 } 53061 return nil 53062 } 53063 func (m *GetRoleRequest) Unmarshal(dAtA []byte) error { 53064 l := len(dAtA) 53065 iNdEx := 0 53066 for iNdEx < l { 53067 preIndex := iNdEx 53068 var wire uint64 53069 for shift := uint(0); ; shift += 7 { 53070 if shift >= 64 { 53071 return ErrIntOverflowAuthservice 53072 } 53073 if iNdEx >= l { 53074 return io.ErrUnexpectedEOF 53075 } 53076 b := dAtA[iNdEx] 53077 iNdEx++ 53078 wire |= uint64(b&0x7F) << shift 53079 if b < 0x80 { 53080 break 53081 } 53082 } 53083 fieldNum := int32(wire >> 3) 53084 wireType := int(wire & 0x7) 53085 if wireType == 4 { 53086 return fmt.Errorf("proto: GetRoleRequest: wiretype end group for non-group") 53087 } 53088 if fieldNum <= 0 { 53089 return fmt.Errorf("proto: GetRoleRequest: illegal tag %d (wire type %d)", fieldNum, wire) 53090 } 53091 switch fieldNum { 53092 case 1: 53093 if wireType != 2 { 53094 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 53095 } 53096 var stringLen uint64 53097 for shift := uint(0); ; shift += 7 { 53098 if shift >= 64 { 53099 return ErrIntOverflowAuthservice 53100 } 53101 if iNdEx >= l { 53102 return io.ErrUnexpectedEOF 53103 } 53104 b := dAtA[iNdEx] 53105 iNdEx++ 53106 stringLen |= uint64(b&0x7F) << shift 53107 if b < 0x80 { 53108 break 53109 } 53110 } 53111 intStringLen := int(stringLen) 53112 if intStringLen < 0 { 53113 return ErrInvalidLengthAuthservice 53114 } 53115 postIndex := iNdEx + intStringLen 53116 if postIndex < 0 { 53117 return ErrInvalidLengthAuthservice 53118 } 53119 if postIndex > l { 53120 return io.ErrUnexpectedEOF 53121 } 53122 m.Name = string(dAtA[iNdEx:postIndex]) 53123 iNdEx = postIndex 53124 default: 53125 iNdEx = preIndex 53126 skippy, err := skipAuthservice(dAtA[iNdEx:]) 53127 if err != nil { 53128 return err 53129 } 53130 if (skippy < 0) || (iNdEx+skippy) < 0 { 53131 return ErrInvalidLengthAuthservice 53132 } 53133 if (iNdEx + skippy) > l { 53134 return io.ErrUnexpectedEOF 53135 } 53136 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 53137 iNdEx += skippy 53138 } 53139 } 53140 53141 if iNdEx > l { 53142 return io.ErrUnexpectedEOF 53143 } 53144 return nil 53145 } 53146 func (m *GetRolesResponse) Unmarshal(dAtA []byte) error { 53147 l := len(dAtA) 53148 iNdEx := 0 53149 for iNdEx < l { 53150 preIndex := iNdEx 53151 var wire uint64 53152 for shift := uint(0); ; shift += 7 { 53153 if shift >= 64 { 53154 return ErrIntOverflowAuthservice 53155 } 53156 if iNdEx >= l { 53157 return io.ErrUnexpectedEOF 53158 } 53159 b := dAtA[iNdEx] 53160 iNdEx++ 53161 wire |= uint64(b&0x7F) << shift 53162 if b < 0x80 { 53163 break 53164 } 53165 } 53166 fieldNum := int32(wire >> 3) 53167 wireType := int(wire & 0x7) 53168 if wireType == 4 { 53169 return fmt.Errorf("proto: GetRolesResponse: wiretype end group for non-group") 53170 } 53171 if fieldNum <= 0 { 53172 return fmt.Errorf("proto: GetRolesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 53173 } 53174 switch fieldNum { 53175 case 1: 53176 if wireType != 2 { 53177 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 53178 } 53179 var msglen int 53180 for shift := uint(0); ; shift += 7 { 53181 if shift >= 64 { 53182 return ErrIntOverflowAuthservice 53183 } 53184 if iNdEx >= l { 53185 return io.ErrUnexpectedEOF 53186 } 53187 b := dAtA[iNdEx] 53188 iNdEx++ 53189 msglen |= int(b&0x7F) << shift 53190 if b < 0x80 { 53191 break 53192 } 53193 } 53194 if msglen < 0 { 53195 return ErrInvalidLengthAuthservice 53196 } 53197 postIndex := iNdEx + msglen 53198 if postIndex < 0 { 53199 return ErrInvalidLengthAuthservice 53200 } 53201 if postIndex > l { 53202 return io.ErrUnexpectedEOF 53203 } 53204 m.Roles = append(m.Roles, &types.RoleV6{}) 53205 if err := m.Roles[len(m.Roles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 53206 return err 53207 } 53208 iNdEx = postIndex 53209 default: 53210 iNdEx = preIndex 53211 skippy, err := skipAuthservice(dAtA[iNdEx:]) 53212 if err != nil { 53213 return err 53214 } 53215 if (skippy < 0) || (iNdEx+skippy) < 0 { 53216 return ErrInvalidLengthAuthservice 53217 } 53218 if (iNdEx + skippy) > l { 53219 return io.ErrUnexpectedEOF 53220 } 53221 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 53222 iNdEx += skippy 53223 } 53224 } 53225 53226 if iNdEx > l { 53227 return io.ErrUnexpectedEOF 53228 } 53229 return nil 53230 } 53231 func (m *ListRolesRequest) Unmarshal(dAtA []byte) error { 53232 l := len(dAtA) 53233 iNdEx := 0 53234 for iNdEx < l { 53235 preIndex := iNdEx 53236 var wire uint64 53237 for shift := uint(0); ; shift += 7 { 53238 if shift >= 64 { 53239 return ErrIntOverflowAuthservice 53240 } 53241 if iNdEx >= l { 53242 return io.ErrUnexpectedEOF 53243 } 53244 b := dAtA[iNdEx] 53245 iNdEx++ 53246 wire |= uint64(b&0x7F) << shift 53247 if b < 0x80 { 53248 break 53249 } 53250 } 53251 fieldNum := int32(wire >> 3) 53252 wireType := int(wire & 0x7) 53253 if wireType == 4 { 53254 return fmt.Errorf("proto: ListRolesRequest: wiretype end group for non-group") 53255 } 53256 if fieldNum <= 0 { 53257 return fmt.Errorf("proto: ListRolesRequest: illegal tag %d (wire type %d)", fieldNum, wire) 53258 } 53259 switch fieldNum { 53260 case 1: 53261 if wireType != 0 { 53262 return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) 53263 } 53264 m.Limit = 0 53265 for shift := uint(0); ; shift += 7 { 53266 if shift >= 64 { 53267 return ErrIntOverflowAuthservice 53268 } 53269 if iNdEx >= l { 53270 return io.ErrUnexpectedEOF 53271 } 53272 b := dAtA[iNdEx] 53273 iNdEx++ 53274 m.Limit |= int32(b&0x7F) << shift 53275 if b < 0x80 { 53276 break 53277 } 53278 } 53279 case 2: 53280 if wireType != 2 { 53281 return fmt.Errorf("proto: wrong wireType = %d for field StartKey", wireType) 53282 } 53283 var stringLen uint64 53284 for shift := uint(0); ; shift += 7 { 53285 if shift >= 64 { 53286 return ErrIntOverflowAuthservice 53287 } 53288 if iNdEx >= l { 53289 return io.ErrUnexpectedEOF 53290 } 53291 b := dAtA[iNdEx] 53292 iNdEx++ 53293 stringLen |= uint64(b&0x7F) << shift 53294 if b < 0x80 { 53295 break 53296 } 53297 } 53298 intStringLen := int(stringLen) 53299 if intStringLen < 0 { 53300 return ErrInvalidLengthAuthservice 53301 } 53302 postIndex := iNdEx + intStringLen 53303 if postIndex < 0 { 53304 return ErrInvalidLengthAuthservice 53305 } 53306 if postIndex > l { 53307 return io.ErrUnexpectedEOF 53308 } 53309 m.StartKey = string(dAtA[iNdEx:postIndex]) 53310 iNdEx = postIndex 53311 case 3: 53312 if wireType != 2 { 53313 return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType) 53314 } 53315 var msglen int 53316 for shift := uint(0); ; shift += 7 { 53317 if shift >= 64 { 53318 return ErrIntOverflowAuthservice 53319 } 53320 if iNdEx >= l { 53321 return io.ErrUnexpectedEOF 53322 } 53323 b := dAtA[iNdEx] 53324 iNdEx++ 53325 msglen |= int(b&0x7F) << shift 53326 if b < 0x80 { 53327 break 53328 } 53329 } 53330 if msglen < 0 { 53331 return ErrInvalidLengthAuthservice 53332 } 53333 postIndex := iNdEx + msglen 53334 if postIndex < 0 { 53335 return ErrInvalidLengthAuthservice 53336 } 53337 if postIndex > l { 53338 return io.ErrUnexpectedEOF 53339 } 53340 if m.Filter == nil { 53341 m.Filter = &types.RoleFilter{} 53342 } 53343 if err := m.Filter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 53344 return err 53345 } 53346 iNdEx = postIndex 53347 default: 53348 iNdEx = preIndex 53349 skippy, err := skipAuthservice(dAtA[iNdEx:]) 53350 if err != nil { 53351 return err 53352 } 53353 if (skippy < 0) || (iNdEx+skippy) < 0 { 53354 return ErrInvalidLengthAuthservice 53355 } 53356 if (iNdEx + skippy) > l { 53357 return io.ErrUnexpectedEOF 53358 } 53359 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 53360 iNdEx += skippy 53361 } 53362 } 53363 53364 if iNdEx > l { 53365 return io.ErrUnexpectedEOF 53366 } 53367 return nil 53368 } 53369 func (m *ListRolesResponse) Unmarshal(dAtA []byte) error { 53370 l := len(dAtA) 53371 iNdEx := 0 53372 for iNdEx < l { 53373 preIndex := iNdEx 53374 var wire uint64 53375 for shift := uint(0); ; shift += 7 { 53376 if shift >= 64 { 53377 return ErrIntOverflowAuthservice 53378 } 53379 if iNdEx >= l { 53380 return io.ErrUnexpectedEOF 53381 } 53382 b := dAtA[iNdEx] 53383 iNdEx++ 53384 wire |= uint64(b&0x7F) << shift 53385 if b < 0x80 { 53386 break 53387 } 53388 } 53389 fieldNum := int32(wire >> 3) 53390 wireType := int(wire & 0x7) 53391 if wireType == 4 { 53392 return fmt.Errorf("proto: ListRolesResponse: wiretype end group for non-group") 53393 } 53394 if fieldNum <= 0 { 53395 return fmt.Errorf("proto: ListRolesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 53396 } 53397 switch fieldNum { 53398 case 1: 53399 if wireType != 2 { 53400 return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) 53401 } 53402 var msglen int 53403 for shift := uint(0); ; shift += 7 { 53404 if shift >= 64 { 53405 return ErrIntOverflowAuthservice 53406 } 53407 if iNdEx >= l { 53408 return io.ErrUnexpectedEOF 53409 } 53410 b := dAtA[iNdEx] 53411 iNdEx++ 53412 msglen |= int(b&0x7F) << shift 53413 if b < 0x80 { 53414 break 53415 } 53416 } 53417 if msglen < 0 { 53418 return ErrInvalidLengthAuthservice 53419 } 53420 postIndex := iNdEx + msglen 53421 if postIndex < 0 { 53422 return ErrInvalidLengthAuthservice 53423 } 53424 if postIndex > l { 53425 return io.ErrUnexpectedEOF 53426 } 53427 m.Roles = append(m.Roles, &types.RoleV6{}) 53428 if err := m.Roles[len(m.Roles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 53429 return err 53430 } 53431 iNdEx = postIndex 53432 case 2: 53433 if wireType != 2 { 53434 return fmt.Errorf("proto: wrong wireType = %d for field NextKey", wireType) 53435 } 53436 var stringLen uint64 53437 for shift := uint(0); ; shift += 7 { 53438 if shift >= 64 { 53439 return ErrIntOverflowAuthservice 53440 } 53441 if iNdEx >= l { 53442 return io.ErrUnexpectedEOF 53443 } 53444 b := dAtA[iNdEx] 53445 iNdEx++ 53446 stringLen |= uint64(b&0x7F) << shift 53447 if b < 0x80 { 53448 break 53449 } 53450 } 53451 intStringLen := int(stringLen) 53452 if intStringLen < 0 { 53453 return ErrInvalidLengthAuthservice 53454 } 53455 postIndex := iNdEx + intStringLen 53456 if postIndex < 0 { 53457 return ErrInvalidLengthAuthservice 53458 } 53459 if postIndex > l { 53460 return io.ErrUnexpectedEOF 53461 } 53462 m.NextKey = string(dAtA[iNdEx:postIndex]) 53463 iNdEx = postIndex 53464 default: 53465 iNdEx = preIndex 53466 skippy, err := skipAuthservice(dAtA[iNdEx:]) 53467 if err != nil { 53468 return err 53469 } 53470 if (skippy < 0) || (iNdEx+skippy) < 0 { 53471 return ErrInvalidLengthAuthservice 53472 } 53473 if (iNdEx + skippy) > l { 53474 return io.ErrUnexpectedEOF 53475 } 53476 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 53477 iNdEx += skippy 53478 } 53479 } 53480 53481 if iNdEx > l { 53482 return io.ErrUnexpectedEOF 53483 } 53484 return nil 53485 } 53486 func (m *CreateRoleRequest) Unmarshal(dAtA []byte) error { 53487 l := len(dAtA) 53488 iNdEx := 0 53489 for iNdEx < l { 53490 preIndex := iNdEx 53491 var wire uint64 53492 for shift := uint(0); ; shift += 7 { 53493 if shift >= 64 { 53494 return ErrIntOverflowAuthservice 53495 } 53496 if iNdEx >= l { 53497 return io.ErrUnexpectedEOF 53498 } 53499 b := dAtA[iNdEx] 53500 iNdEx++ 53501 wire |= uint64(b&0x7F) << shift 53502 if b < 0x80 { 53503 break 53504 } 53505 } 53506 fieldNum := int32(wire >> 3) 53507 wireType := int(wire & 0x7) 53508 if wireType == 4 { 53509 return fmt.Errorf("proto: CreateRoleRequest: wiretype end group for non-group") 53510 } 53511 if fieldNum <= 0 { 53512 return fmt.Errorf("proto: CreateRoleRequest: illegal tag %d (wire type %d)", fieldNum, wire) 53513 } 53514 switch fieldNum { 53515 case 1: 53516 if wireType != 2 { 53517 return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) 53518 } 53519 var msglen int 53520 for shift := uint(0); ; shift += 7 { 53521 if shift >= 64 { 53522 return ErrIntOverflowAuthservice 53523 } 53524 if iNdEx >= l { 53525 return io.ErrUnexpectedEOF 53526 } 53527 b := dAtA[iNdEx] 53528 iNdEx++ 53529 msglen |= int(b&0x7F) << shift 53530 if b < 0x80 { 53531 break 53532 } 53533 } 53534 if msglen < 0 { 53535 return ErrInvalidLengthAuthservice 53536 } 53537 postIndex := iNdEx + msglen 53538 if postIndex < 0 { 53539 return ErrInvalidLengthAuthservice 53540 } 53541 if postIndex > l { 53542 return io.ErrUnexpectedEOF 53543 } 53544 if m.Role == nil { 53545 m.Role = &types.RoleV6{} 53546 } 53547 if err := m.Role.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 53548 return err 53549 } 53550 iNdEx = postIndex 53551 default: 53552 iNdEx = preIndex 53553 skippy, err := skipAuthservice(dAtA[iNdEx:]) 53554 if err != nil { 53555 return err 53556 } 53557 if (skippy < 0) || (iNdEx+skippy) < 0 { 53558 return ErrInvalidLengthAuthservice 53559 } 53560 if (iNdEx + skippy) > l { 53561 return io.ErrUnexpectedEOF 53562 } 53563 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 53564 iNdEx += skippy 53565 } 53566 } 53567 53568 if iNdEx > l { 53569 return io.ErrUnexpectedEOF 53570 } 53571 return nil 53572 } 53573 func (m *UpdateRoleRequest) Unmarshal(dAtA []byte) error { 53574 l := len(dAtA) 53575 iNdEx := 0 53576 for iNdEx < l { 53577 preIndex := iNdEx 53578 var wire uint64 53579 for shift := uint(0); ; shift += 7 { 53580 if shift >= 64 { 53581 return ErrIntOverflowAuthservice 53582 } 53583 if iNdEx >= l { 53584 return io.ErrUnexpectedEOF 53585 } 53586 b := dAtA[iNdEx] 53587 iNdEx++ 53588 wire |= uint64(b&0x7F) << shift 53589 if b < 0x80 { 53590 break 53591 } 53592 } 53593 fieldNum := int32(wire >> 3) 53594 wireType := int(wire & 0x7) 53595 if wireType == 4 { 53596 return fmt.Errorf("proto: UpdateRoleRequest: wiretype end group for non-group") 53597 } 53598 if fieldNum <= 0 { 53599 return fmt.Errorf("proto: UpdateRoleRequest: illegal tag %d (wire type %d)", fieldNum, wire) 53600 } 53601 switch fieldNum { 53602 case 1: 53603 if wireType != 2 { 53604 return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) 53605 } 53606 var msglen int 53607 for shift := uint(0); ; shift += 7 { 53608 if shift >= 64 { 53609 return ErrIntOverflowAuthservice 53610 } 53611 if iNdEx >= l { 53612 return io.ErrUnexpectedEOF 53613 } 53614 b := dAtA[iNdEx] 53615 iNdEx++ 53616 msglen |= int(b&0x7F) << shift 53617 if b < 0x80 { 53618 break 53619 } 53620 } 53621 if msglen < 0 { 53622 return ErrInvalidLengthAuthservice 53623 } 53624 postIndex := iNdEx + msglen 53625 if postIndex < 0 { 53626 return ErrInvalidLengthAuthservice 53627 } 53628 if postIndex > l { 53629 return io.ErrUnexpectedEOF 53630 } 53631 if m.Role == nil { 53632 m.Role = &types.RoleV6{} 53633 } 53634 if err := m.Role.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 53635 return err 53636 } 53637 iNdEx = postIndex 53638 default: 53639 iNdEx = preIndex 53640 skippy, err := skipAuthservice(dAtA[iNdEx:]) 53641 if err != nil { 53642 return err 53643 } 53644 if (skippy < 0) || (iNdEx+skippy) < 0 { 53645 return ErrInvalidLengthAuthservice 53646 } 53647 if (iNdEx + skippy) > l { 53648 return io.ErrUnexpectedEOF 53649 } 53650 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 53651 iNdEx += skippy 53652 } 53653 } 53654 53655 if iNdEx > l { 53656 return io.ErrUnexpectedEOF 53657 } 53658 return nil 53659 } 53660 func (m *UpsertRoleRequest) Unmarshal(dAtA []byte) error { 53661 l := len(dAtA) 53662 iNdEx := 0 53663 for iNdEx < l { 53664 preIndex := iNdEx 53665 var wire uint64 53666 for shift := uint(0); ; shift += 7 { 53667 if shift >= 64 { 53668 return ErrIntOverflowAuthservice 53669 } 53670 if iNdEx >= l { 53671 return io.ErrUnexpectedEOF 53672 } 53673 b := dAtA[iNdEx] 53674 iNdEx++ 53675 wire |= uint64(b&0x7F) << shift 53676 if b < 0x80 { 53677 break 53678 } 53679 } 53680 fieldNum := int32(wire >> 3) 53681 wireType := int(wire & 0x7) 53682 if wireType == 4 { 53683 return fmt.Errorf("proto: UpsertRoleRequest: wiretype end group for non-group") 53684 } 53685 if fieldNum <= 0 { 53686 return fmt.Errorf("proto: UpsertRoleRequest: illegal tag %d (wire type %d)", fieldNum, wire) 53687 } 53688 switch fieldNum { 53689 case 1: 53690 if wireType != 2 { 53691 return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) 53692 } 53693 var msglen int 53694 for shift := uint(0); ; shift += 7 { 53695 if shift >= 64 { 53696 return ErrIntOverflowAuthservice 53697 } 53698 if iNdEx >= l { 53699 return io.ErrUnexpectedEOF 53700 } 53701 b := dAtA[iNdEx] 53702 iNdEx++ 53703 msglen |= int(b&0x7F) << shift 53704 if b < 0x80 { 53705 break 53706 } 53707 } 53708 if msglen < 0 { 53709 return ErrInvalidLengthAuthservice 53710 } 53711 postIndex := iNdEx + msglen 53712 if postIndex < 0 { 53713 return ErrInvalidLengthAuthservice 53714 } 53715 if postIndex > l { 53716 return io.ErrUnexpectedEOF 53717 } 53718 if m.Role == nil { 53719 m.Role = &types.RoleV6{} 53720 } 53721 if err := m.Role.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 53722 return err 53723 } 53724 iNdEx = postIndex 53725 default: 53726 iNdEx = preIndex 53727 skippy, err := skipAuthservice(dAtA[iNdEx:]) 53728 if err != nil { 53729 return err 53730 } 53731 if (skippy < 0) || (iNdEx+skippy) < 0 { 53732 return ErrInvalidLengthAuthservice 53733 } 53734 if (iNdEx + skippy) > l { 53735 return io.ErrUnexpectedEOF 53736 } 53737 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 53738 iNdEx += skippy 53739 } 53740 } 53741 53742 if iNdEx > l { 53743 return io.ErrUnexpectedEOF 53744 } 53745 return nil 53746 } 53747 func (m *DeleteRoleRequest) Unmarshal(dAtA []byte) error { 53748 l := len(dAtA) 53749 iNdEx := 0 53750 for iNdEx < l { 53751 preIndex := iNdEx 53752 var wire uint64 53753 for shift := uint(0); ; shift += 7 { 53754 if shift >= 64 { 53755 return ErrIntOverflowAuthservice 53756 } 53757 if iNdEx >= l { 53758 return io.ErrUnexpectedEOF 53759 } 53760 b := dAtA[iNdEx] 53761 iNdEx++ 53762 wire |= uint64(b&0x7F) << shift 53763 if b < 0x80 { 53764 break 53765 } 53766 } 53767 fieldNum := int32(wire >> 3) 53768 wireType := int(wire & 0x7) 53769 if wireType == 4 { 53770 return fmt.Errorf("proto: DeleteRoleRequest: wiretype end group for non-group") 53771 } 53772 if fieldNum <= 0 { 53773 return fmt.Errorf("proto: DeleteRoleRequest: illegal tag %d (wire type %d)", fieldNum, wire) 53774 } 53775 switch fieldNum { 53776 case 1: 53777 if wireType != 2 { 53778 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 53779 } 53780 var stringLen uint64 53781 for shift := uint(0); ; shift += 7 { 53782 if shift >= 64 { 53783 return ErrIntOverflowAuthservice 53784 } 53785 if iNdEx >= l { 53786 return io.ErrUnexpectedEOF 53787 } 53788 b := dAtA[iNdEx] 53789 iNdEx++ 53790 stringLen |= uint64(b&0x7F) << shift 53791 if b < 0x80 { 53792 break 53793 } 53794 } 53795 intStringLen := int(stringLen) 53796 if intStringLen < 0 { 53797 return ErrInvalidLengthAuthservice 53798 } 53799 postIndex := iNdEx + intStringLen 53800 if postIndex < 0 { 53801 return ErrInvalidLengthAuthservice 53802 } 53803 if postIndex > l { 53804 return io.ErrUnexpectedEOF 53805 } 53806 m.Name = string(dAtA[iNdEx:postIndex]) 53807 iNdEx = postIndex 53808 default: 53809 iNdEx = preIndex 53810 skippy, err := skipAuthservice(dAtA[iNdEx:]) 53811 if err != nil { 53812 return err 53813 } 53814 if (skippy < 0) || (iNdEx+skippy) < 0 { 53815 return ErrInvalidLengthAuthservice 53816 } 53817 if (iNdEx + skippy) > l { 53818 return io.ErrUnexpectedEOF 53819 } 53820 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 53821 iNdEx += skippy 53822 } 53823 } 53824 53825 if iNdEx > l { 53826 return io.ErrUnexpectedEOF 53827 } 53828 return nil 53829 } 53830 func (m *MFAAuthenticateChallenge) Unmarshal(dAtA []byte) error { 53831 l := len(dAtA) 53832 iNdEx := 0 53833 for iNdEx < l { 53834 preIndex := iNdEx 53835 var wire uint64 53836 for shift := uint(0); ; shift += 7 { 53837 if shift >= 64 { 53838 return ErrIntOverflowAuthservice 53839 } 53840 if iNdEx >= l { 53841 return io.ErrUnexpectedEOF 53842 } 53843 b := dAtA[iNdEx] 53844 iNdEx++ 53845 wire |= uint64(b&0x7F) << shift 53846 if b < 0x80 { 53847 break 53848 } 53849 } 53850 fieldNum := int32(wire >> 3) 53851 wireType := int(wire & 0x7) 53852 if wireType == 4 { 53853 return fmt.Errorf("proto: MFAAuthenticateChallenge: wiretype end group for non-group") 53854 } 53855 if fieldNum <= 0 { 53856 return fmt.Errorf("proto: MFAAuthenticateChallenge: illegal tag %d (wire type %d)", fieldNum, wire) 53857 } 53858 switch fieldNum { 53859 case 2: 53860 if wireType != 2 { 53861 return fmt.Errorf("proto: wrong wireType = %d for field TOTP", wireType) 53862 } 53863 var msglen int 53864 for shift := uint(0); ; shift += 7 { 53865 if shift >= 64 { 53866 return ErrIntOverflowAuthservice 53867 } 53868 if iNdEx >= l { 53869 return io.ErrUnexpectedEOF 53870 } 53871 b := dAtA[iNdEx] 53872 iNdEx++ 53873 msglen |= int(b&0x7F) << shift 53874 if b < 0x80 { 53875 break 53876 } 53877 } 53878 if msglen < 0 { 53879 return ErrInvalidLengthAuthservice 53880 } 53881 postIndex := iNdEx + msglen 53882 if postIndex < 0 { 53883 return ErrInvalidLengthAuthservice 53884 } 53885 if postIndex > l { 53886 return io.ErrUnexpectedEOF 53887 } 53888 if m.TOTP == nil { 53889 m.TOTP = &TOTPChallenge{} 53890 } 53891 if err := m.TOTP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 53892 return err 53893 } 53894 iNdEx = postIndex 53895 case 3: 53896 if wireType != 2 { 53897 return fmt.Errorf("proto: wrong wireType = %d for field WebauthnChallenge", wireType) 53898 } 53899 var msglen int 53900 for shift := uint(0); ; shift += 7 { 53901 if shift >= 64 { 53902 return ErrIntOverflowAuthservice 53903 } 53904 if iNdEx >= l { 53905 return io.ErrUnexpectedEOF 53906 } 53907 b := dAtA[iNdEx] 53908 iNdEx++ 53909 msglen |= int(b&0x7F) << shift 53910 if b < 0x80 { 53911 break 53912 } 53913 } 53914 if msglen < 0 { 53915 return ErrInvalidLengthAuthservice 53916 } 53917 postIndex := iNdEx + msglen 53918 if postIndex < 0 { 53919 return ErrInvalidLengthAuthservice 53920 } 53921 if postIndex > l { 53922 return io.ErrUnexpectedEOF 53923 } 53924 if m.WebauthnChallenge == nil { 53925 m.WebauthnChallenge = &webauthn.CredentialAssertion{} 53926 } 53927 if err := m.WebauthnChallenge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 53928 return err 53929 } 53930 iNdEx = postIndex 53931 case 4: 53932 if wireType != 0 { 53933 return fmt.Errorf("proto: wrong wireType = %d for field MFARequired", wireType) 53934 } 53935 m.MFARequired = 0 53936 for shift := uint(0); ; shift += 7 { 53937 if shift >= 64 { 53938 return ErrIntOverflowAuthservice 53939 } 53940 if iNdEx >= l { 53941 return io.ErrUnexpectedEOF 53942 } 53943 b := dAtA[iNdEx] 53944 iNdEx++ 53945 m.MFARequired |= MFARequired(b&0x7F) << shift 53946 if b < 0x80 { 53947 break 53948 } 53949 } 53950 default: 53951 iNdEx = preIndex 53952 skippy, err := skipAuthservice(dAtA[iNdEx:]) 53953 if err != nil { 53954 return err 53955 } 53956 if (skippy < 0) || (iNdEx+skippy) < 0 { 53957 return ErrInvalidLengthAuthservice 53958 } 53959 if (iNdEx + skippy) > l { 53960 return io.ErrUnexpectedEOF 53961 } 53962 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 53963 iNdEx += skippy 53964 } 53965 } 53966 53967 if iNdEx > l { 53968 return io.ErrUnexpectedEOF 53969 } 53970 return nil 53971 } 53972 func (m *MFAAuthenticateResponse) Unmarshal(dAtA []byte) error { 53973 l := len(dAtA) 53974 iNdEx := 0 53975 for iNdEx < l { 53976 preIndex := iNdEx 53977 var wire uint64 53978 for shift := uint(0); ; shift += 7 { 53979 if shift >= 64 { 53980 return ErrIntOverflowAuthservice 53981 } 53982 if iNdEx >= l { 53983 return io.ErrUnexpectedEOF 53984 } 53985 b := dAtA[iNdEx] 53986 iNdEx++ 53987 wire |= uint64(b&0x7F) << shift 53988 if b < 0x80 { 53989 break 53990 } 53991 } 53992 fieldNum := int32(wire >> 3) 53993 wireType := int(wire & 0x7) 53994 if wireType == 4 { 53995 return fmt.Errorf("proto: MFAAuthenticateResponse: wiretype end group for non-group") 53996 } 53997 if fieldNum <= 0 { 53998 return fmt.Errorf("proto: MFAAuthenticateResponse: illegal tag %d (wire type %d)", fieldNum, wire) 53999 } 54000 switch fieldNum { 54001 case 2: 54002 if wireType != 2 { 54003 return fmt.Errorf("proto: wrong wireType = %d for field TOTP", wireType) 54004 } 54005 var msglen int 54006 for shift := uint(0); ; shift += 7 { 54007 if shift >= 64 { 54008 return ErrIntOverflowAuthservice 54009 } 54010 if iNdEx >= l { 54011 return io.ErrUnexpectedEOF 54012 } 54013 b := dAtA[iNdEx] 54014 iNdEx++ 54015 msglen |= int(b&0x7F) << shift 54016 if b < 0x80 { 54017 break 54018 } 54019 } 54020 if msglen < 0 { 54021 return ErrInvalidLengthAuthservice 54022 } 54023 postIndex := iNdEx + msglen 54024 if postIndex < 0 { 54025 return ErrInvalidLengthAuthservice 54026 } 54027 if postIndex > l { 54028 return io.ErrUnexpectedEOF 54029 } 54030 v := &TOTPResponse{} 54031 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54032 return err 54033 } 54034 m.Response = &MFAAuthenticateResponse_TOTP{v} 54035 iNdEx = postIndex 54036 case 3: 54037 if wireType != 2 { 54038 return fmt.Errorf("proto: wrong wireType = %d for field Webauthn", wireType) 54039 } 54040 var msglen int 54041 for shift := uint(0); ; shift += 7 { 54042 if shift >= 64 { 54043 return ErrIntOverflowAuthservice 54044 } 54045 if iNdEx >= l { 54046 return io.ErrUnexpectedEOF 54047 } 54048 b := dAtA[iNdEx] 54049 iNdEx++ 54050 msglen |= int(b&0x7F) << shift 54051 if b < 0x80 { 54052 break 54053 } 54054 } 54055 if msglen < 0 { 54056 return ErrInvalidLengthAuthservice 54057 } 54058 postIndex := iNdEx + msglen 54059 if postIndex < 0 { 54060 return ErrInvalidLengthAuthservice 54061 } 54062 if postIndex > l { 54063 return io.ErrUnexpectedEOF 54064 } 54065 v := &webauthn.CredentialAssertionResponse{} 54066 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54067 return err 54068 } 54069 m.Response = &MFAAuthenticateResponse_Webauthn{v} 54070 iNdEx = postIndex 54071 default: 54072 iNdEx = preIndex 54073 skippy, err := skipAuthservice(dAtA[iNdEx:]) 54074 if err != nil { 54075 return err 54076 } 54077 if (skippy < 0) || (iNdEx+skippy) < 0 { 54078 return ErrInvalidLengthAuthservice 54079 } 54080 if (iNdEx + skippy) > l { 54081 return io.ErrUnexpectedEOF 54082 } 54083 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 54084 iNdEx += skippy 54085 } 54086 } 54087 54088 if iNdEx > l { 54089 return io.ErrUnexpectedEOF 54090 } 54091 return nil 54092 } 54093 func (m *TOTPChallenge) Unmarshal(dAtA []byte) error { 54094 l := len(dAtA) 54095 iNdEx := 0 54096 for iNdEx < l { 54097 preIndex := iNdEx 54098 var wire uint64 54099 for shift := uint(0); ; shift += 7 { 54100 if shift >= 64 { 54101 return ErrIntOverflowAuthservice 54102 } 54103 if iNdEx >= l { 54104 return io.ErrUnexpectedEOF 54105 } 54106 b := dAtA[iNdEx] 54107 iNdEx++ 54108 wire |= uint64(b&0x7F) << shift 54109 if b < 0x80 { 54110 break 54111 } 54112 } 54113 fieldNum := int32(wire >> 3) 54114 wireType := int(wire & 0x7) 54115 if wireType == 4 { 54116 return fmt.Errorf("proto: TOTPChallenge: wiretype end group for non-group") 54117 } 54118 if fieldNum <= 0 { 54119 return fmt.Errorf("proto: TOTPChallenge: illegal tag %d (wire type %d)", fieldNum, wire) 54120 } 54121 switch fieldNum { 54122 default: 54123 iNdEx = preIndex 54124 skippy, err := skipAuthservice(dAtA[iNdEx:]) 54125 if err != nil { 54126 return err 54127 } 54128 if (skippy < 0) || (iNdEx+skippy) < 0 { 54129 return ErrInvalidLengthAuthservice 54130 } 54131 if (iNdEx + skippy) > l { 54132 return io.ErrUnexpectedEOF 54133 } 54134 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 54135 iNdEx += skippy 54136 } 54137 } 54138 54139 if iNdEx > l { 54140 return io.ErrUnexpectedEOF 54141 } 54142 return nil 54143 } 54144 func (m *TOTPResponse) Unmarshal(dAtA []byte) error { 54145 l := len(dAtA) 54146 iNdEx := 0 54147 for iNdEx < l { 54148 preIndex := iNdEx 54149 var wire uint64 54150 for shift := uint(0); ; shift += 7 { 54151 if shift >= 64 { 54152 return ErrIntOverflowAuthservice 54153 } 54154 if iNdEx >= l { 54155 return io.ErrUnexpectedEOF 54156 } 54157 b := dAtA[iNdEx] 54158 iNdEx++ 54159 wire |= uint64(b&0x7F) << shift 54160 if b < 0x80 { 54161 break 54162 } 54163 } 54164 fieldNum := int32(wire >> 3) 54165 wireType := int(wire & 0x7) 54166 if wireType == 4 { 54167 return fmt.Errorf("proto: TOTPResponse: wiretype end group for non-group") 54168 } 54169 if fieldNum <= 0 { 54170 return fmt.Errorf("proto: TOTPResponse: illegal tag %d (wire type %d)", fieldNum, wire) 54171 } 54172 switch fieldNum { 54173 case 1: 54174 if wireType != 2 { 54175 return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType) 54176 } 54177 var stringLen uint64 54178 for shift := uint(0); ; shift += 7 { 54179 if shift >= 64 { 54180 return ErrIntOverflowAuthservice 54181 } 54182 if iNdEx >= l { 54183 return io.ErrUnexpectedEOF 54184 } 54185 b := dAtA[iNdEx] 54186 iNdEx++ 54187 stringLen |= uint64(b&0x7F) << shift 54188 if b < 0x80 { 54189 break 54190 } 54191 } 54192 intStringLen := int(stringLen) 54193 if intStringLen < 0 { 54194 return ErrInvalidLengthAuthservice 54195 } 54196 postIndex := iNdEx + intStringLen 54197 if postIndex < 0 { 54198 return ErrInvalidLengthAuthservice 54199 } 54200 if postIndex > l { 54201 return io.ErrUnexpectedEOF 54202 } 54203 m.Code = string(dAtA[iNdEx:postIndex]) 54204 iNdEx = postIndex 54205 default: 54206 iNdEx = preIndex 54207 skippy, err := skipAuthservice(dAtA[iNdEx:]) 54208 if err != nil { 54209 return err 54210 } 54211 if (skippy < 0) || (iNdEx+skippy) < 0 { 54212 return ErrInvalidLengthAuthservice 54213 } 54214 if (iNdEx + skippy) > l { 54215 return io.ErrUnexpectedEOF 54216 } 54217 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 54218 iNdEx += skippy 54219 } 54220 } 54221 54222 if iNdEx > l { 54223 return io.ErrUnexpectedEOF 54224 } 54225 return nil 54226 } 54227 func (m *MFARegisterChallenge) Unmarshal(dAtA []byte) error { 54228 l := len(dAtA) 54229 iNdEx := 0 54230 for iNdEx < l { 54231 preIndex := iNdEx 54232 var wire uint64 54233 for shift := uint(0); ; shift += 7 { 54234 if shift >= 64 { 54235 return ErrIntOverflowAuthservice 54236 } 54237 if iNdEx >= l { 54238 return io.ErrUnexpectedEOF 54239 } 54240 b := dAtA[iNdEx] 54241 iNdEx++ 54242 wire |= uint64(b&0x7F) << shift 54243 if b < 0x80 { 54244 break 54245 } 54246 } 54247 fieldNum := int32(wire >> 3) 54248 wireType := int(wire & 0x7) 54249 if wireType == 4 { 54250 return fmt.Errorf("proto: MFARegisterChallenge: wiretype end group for non-group") 54251 } 54252 if fieldNum <= 0 { 54253 return fmt.Errorf("proto: MFARegisterChallenge: illegal tag %d (wire type %d)", fieldNum, wire) 54254 } 54255 switch fieldNum { 54256 case 2: 54257 if wireType != 2 { 54258 return fmt.Errorf("proto: wrong wireType = %d for field TOTP", wireType) 54259 } 54260 var msglen int 54261 for shift := uint(0); ; shift += 7 { 54262 if shift >= 64 { 54263 return ErrIntOverflowAuthservice 54264 } 54265 if iNdEx >= l { 54266 return io.ErrUnexpectedEOF 54267 } 54268 b := dAtA[iNdEx] 54269 iNdEx++ 54270 msglen |= int(b&0x7F) << shift 54271 if b < 0x80 { 54272 break 54273 } 54274 } 54275 if msglen < 0 { 54276 return ErrInvalidLengthAuthservice 54277 } 54278 postIndex := iNdEx + msglen 54279 if postIndex < 0 { 54280 return ErrInvalidLengthAuthservice 54281 } 54282 if postIndex > l { 54283 return io.ErrUnexpectedEOF 54284 } 54285 v := &TOTPRegisterChallenge{} 54286 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54287 return err 54288 } 54289 m.Request = &MFARegisterChallenge_TOTP{v} 54290 iNdEx = postIndex 54291 case 3: 54292 if wireType != 2 { 54293 return fmt.Errorf("proto: wrong wireType = %d for field Webauthn", wireType) 54294 } 54295 var msglen int 54296 for shift := uint(0); ; shift += 7 { 54297 if shift >= 64 { 54298 return ErrIntOverflowAuthservice 54299 } 54300 if iNdEx >= l { 54301 return io.ErrUnexpectedEOF 54302 } 54303 b := dAtA[iNdEx] 54304 iNdEx++ 54305 msglen |= int(b&0x7F) << shift 54306 if b < 0x80 { 54307 break 54308 } 54309 } 54310 if msglen < 0 { 54311 return ErrInvalidLengthAuthservice 54312 } 54313 postIndex := iNdEx + msglen 54314 if postIndex < 0 { 54315 return ErrInvalidLengthAuthservice 54316 } 54317 if postIndex > l { 54318 return io.ErrUnexpectedEOF 54319 } 54320 v := &webauthn.CredentialCreation{} 54321 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54322 return err 54323 } 54324 m.Request = &MFARegisterChallenge_Webauthn{v} 54325 iNdEx = postIndex 54326 default: 54327 iNdEx = preIndex 54328 skippy, err := skipAuthservice(dAtA[iNdEx:]) 54329 if err != nil { 54330 return err 54331 } 54332 if (skippy < 0) || (iNdEx+skippy) < 0 { 54333 return ErrInvalidLengthAuthservice 54334 } 54335 if (iNdEx + skippy) > l { 54336 return io.ErrUnexpectedEOF 54337 } 54338 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 54339 iNdEx += skippy 54340 } 54341 } 54342 54343 if iNdEx > l { 54344 return io.ErrUnexpectedEOF 54345 } 54346 return nil 54347 } 54348 func (m *MFARegisterResponse) Unmarshal(dAtA []byte) error { 54349 l := len(dAtA) 54350 iNdEx := 0 54351 for iNdEx < l { 54352 preIndex := iNdEx 54353 var wire uint64 54354 for shift := uint(0); ; shift += 7 { 54355 if shift >= 64 { 54356 return ErrIntOverflowAuthservice 54357 } 54358 if iNdEx >= l { 54359 return io.ErrUnexpectedEOF 54360 } 54361 b := dAtA[iNdEx] 54362 iNdEx++ 54363 wire |= uint64(b&0x7F) << shift 54364 if b < 0x80 { 54365 break 54366 } 54367 } 54368 fieldNum := int32(wire >> 3) 54369 wireType := int(wire & 0x7) 54370 if wireType == 4 { 54371 return fmt.Errorf("proto: MFARegisterResponse: wiretype end group for non-group") 54372 } 54373 if fieldNum <= 0 { 54374 return fmt.Errorf("proto: MFARegisterResponse: illegal tag %d (wire type %d)", fieldNum, wire) 54375 } 54376 switch fieldNum { 54377 case 2: 54378 if wireType != 2 { 54379 return fmt.Errorf("proto: wrong wireType = %d for field TOTP", wireType) 54380 } 54381 var msglen int 54382 for shift := uint(0); ; shift += 7 { 54383 if shift >= 64 { 54384 return ErrIntOverflowAuthservice 54385 } 54386 if iNdEx >= l { 54387 return io.ErrUnexpectedEOF 54388 } 54389 b := dAtA[iNdEx] 54390 iNdEx++ 54391 msglen |= int(b&0x7F) << shift 54392 if b < 0x80 { 54393 break 54394 } 54395 } 54396 if msglen < 0 { 54397 return ErrInvalidLengthAuthservice 54398 } 54399 postIndex := iNdEx + msglen 54400 if postIndex < 0 { 54401 return ErrInvalidLengthAuthservice 54402 } 54403 if postIndex > l { 54404 return io.ErrUnexpectedEOF 54405 } 54406 v := &TOTPRegisterResponse{} 54407 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54408 return err 54409 } 54410 m.Response = &MFARegisterResponse_TOTP{v} 54411 iNdEx = postIndex 54412 case 3: 54413 if wireType != 2 { 54414 return fmt.Errorf("proto: wrong wireType = %d for field Webauthn", wireType) 54415 } 54416 var msglen int 54417 for shift := uint(0); ; shift += 7 { 54418 if shift >= 64 { 54419 return ErrIntOverflowAuthservice 54420 } 54421 if iNdEx >= l { 54422 return io.ErrUnexpectedEOF 54423 } 54424 b := dAtA[iNdEx] 54425 iNdEx++ 54426 msglen |= int(b&0x7F) << shift 54427 if b < 0x80 { 54428 break 54429 } 54430 } 54431 if msglen < 0 { 54432 return ErrInvalidLengthAuthservice 54433 } 54434 postIndex := iNdEx + msglen 54435 if postIndex < 0 { 54436 return ErrInvalidLengthAuthservice 54437 } 54438 if postIndex > l { 54439 return io.ErrUnexpectedEOF 54440 } 54441 v := &webauthn.CredentialCreationResponse{} 54442 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 54443 return err 54444 } 54445 m.Response = &MFARegisterResponse_Webauthn{v} 54446 iNdEx = postIndex 54447 default: 54448 iNdEx = preIndex 54449 skippy, err := skipAuthservice(dAtA[iNdEx:]) 54450 if err != nil { 54451 return err 54452 } 54453 if (skippy < 0) || (iNdEx+skippy) < 0 { 54454 return ErrInvalidLengthAuthservice 54455 } 54456 if (iNdEx + skippy) > l { 54457 return io.ErrUnexpectedEOF 54458 } 54459 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 54460 iNdEx += skippy 54461 } 54462 } 54463 54464 if iNdEx > l { 54465 return io.ErrUnexpectedEOF 54466 } 54467 return nil 54468 } 54469 func (m *TOTPRegisterChallenge) Unmarshal(dAtA []byte) error { 54470 l := len(dAtA) 54471 iNdEx := 0 54472 for iNdEx < l { 54473 preIndex := iNdEx 54474 var wire uint64 54475 for shift := uint(0); ; shift += 7 { 54476 if shift >= 64 { 54477 return ErrIntOverflowAuthservice 54478 } 54479 if iNdEx >= l { 54480 return io.ErrUnexpectedEOF 54481 } 54482 b := dAtA[iNdEx] 54483 iNdEx++ 54484 wire |= uint64(b&0x7F) << shift 54485 if b < 0x80 { 54486 break 54487 } 54488 } 54489 fieldNum := int32(wire >> 3) 54490 wireType := int(wire & 0x7) 54491 if wireType == 4 { 54492 return fmt.Errorf("proto: TOTPRegisterChallenge: wiretype end group for non-group") 54493 } 54494 if fieldNum <= 0 { 54495 return fmt.Errorf("proto: TOTPRegisterChallenge: illegal tag %d (wire type %d)", fieldNum, wire) 54496 } 54497 switch fieldNum { 54498 case 1: 54499 if wireType != 2 { 54500 return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType) 54501 } 54502 var stringLen uint64 54503 for shift := uint(0); ; shift += 7 { 54504 if shift >= 64 { 54505 return ErrIntOverflowAuthservice 54506 } 54507 if iNdEx >= l { 54508 return io.ErrUnexpectedEOF 54509 } 54510 b := dAtA[iNdEx] 54511 iNdEx++ 54512 stringLen |= uint64(b&0x7F) << shift 54513 if b < 0x80 { 54514 break 54515 } 54516 } 54517 intStringLen := int(stringLen) 54518 if intStringLen < 0 { 54519 return ErrInvalidLengthAuthservice 54520 } 54521 postIndex := iNdEx + intStringLen 54522 if postIndex < 0 { 54523 return ErrInvalidLengthAuthservice 54524 } 54525 if postIndex > l { 54526 return io.ErrUnexpectedEOF 54527 } 54528 m.Secret = string(dAtA[iNdEx:postIndex]) 54529 iNdEx = postIndex 54530 case 2: 54531 if wireType != 2 { 54532 return fmt.Errorf("proto: wrong wireType = %d for field Issuer", wireType) 54533 } 54534 var stringLen uint64 54535 for shift := uint(0); ; shift += 7 { 54536 if shift >= 64 { 54537 return ErrIntOverflowAuthservice 54538 } 54539 if iNdEx >= l { 54540 return io.ErrUnexpectedEOF 54541 } 54542 b := dAtA[iNdEx] 54543 iNdEx++ 54544 stringLen |= uint64(b&0x7F) << shift 54545 if b < 0x80 { 54546 break 54547 } 54548 } 54549 intStringLen := int(stringLen) 54550 if intStringLen < 0 { 54551 return ErrInvalidLengthAuthservice 54552 } 54553 postIndex := iNdEx + intStringLen 54554 if postIndex < 0 { 54555 return ErrInvalidLengthAuthservice 54556 } 54557 if postIndex > l { 54558 return io.ErrUnexpectedEOF 54559 } 54560 m.Issuer = string(dAtA[iNdEx:postIndex]) 54561 iNdEx = postIndex 54562 case 3: 54563 if wireType != 0 { 54564 return fmt.Errorf("proto: wrong wireType = %d for field PeriodSeconds", wireType) 54565 } 54566 m.PeriodSeconds = 0 54567 for shift := uint(0); ; shift += 7 { 54568 if shift >= 64 { 54569 return ErrIntOverflowAuthservice 54570 } 54571 if iNdEx >= l { 54572 return io.ErrUnexpectedEOF 54573 } 54574 b := dAtA[iNdEx] 54575 iNdEx++ 54576 m.PeriodSeconds |= uint32(b&0x7F) << shift 54577 if b < 0x80 { 54578 break 54579 } 54580 } 54581 case 4: 54582 if wireType != 2 { 54583 return fmt.Errorf("proto: wrong wireType = %d for field Algorithm", wireType) 54584 } 54585 var stringLen uint64 54586 for shift := uint(0); ; shift += 7 { 54587 if shift >= 64 { 54588 return ErrIntOverflowAuthservice 54589 } 54590 if iNdEx >= l { 54591 return io.ErrUnexpectedEOF 54592 } 54593 b := dAtA[iNdEx] 54594 iNdEx++ 54595 stringLen |= uint64(b&0x7F) << shift 54596 if b < 0x80 { 54597 break 54598 } 54599 } 54600 intStringLen := int(stringLen) 54601 if intStringLen < 0 { 54602 return ErrInvalidLengthAuthservice 54603 } 54604 postIndex := iNdEx + intStringLen 54605 if postIndex < 0 { 54606 return ErrInvalidLengthAuthservice 54607 } 54608 if postIndex > l { 54609 return io.ErrUnexpectedEOF 54610 } 54611 m.Algorithm = string(dAtA[iNdEx:postIndex]) 54612 iNdEx = postIndex 54613 case 5: 54614 if wireType != 0 { 54615 return fmt.Errorf("proto: wrong wireType = %d for field Digits", wireType) 54616 } 54617 m.Digits = 0 54618 for shift := uint(0); ; shift += 7 { 54619 if shift >= 64 { 54620 return ErrIntOverflowAuthservice 54621 } 54622 if iNdEx >= l { 54623 return io.ErrUnexpectedEOF 54624 } 54625 b := dAtA[iNdEx] 54626 iNdEx++ 54627 m.Digits |= uint32(b&0x7F) << shift 54628 if b < 0x80 { 54629 break 54630 } 54631 } 54632 case 6: 54633 if wireType != 2 { 54634 return fmt.Errorf("proto: wrong wireType = %d for field Account", wireType) 54635 } 54636 var stringLen uint64 54637 for shift := uint(0); ; shift += 7 { 54638 if shift >= 64 { 54639 return ErrIntOverflowAuthservice 54640 } 54641 if iNdEx >= l { 54642 return io.ErrUnexpectedEOF 54643 } 54644 b := dAtA[iNdEx] 54645 iNdEx++ 54646 stringLen |= uint64(b&0x7F) << shift 54647 if b < 0x80 { 54648 break 54649 } 54650 } 54651 intStringLen := int(stringLen) 54652 if intStringLen < 0 { 54653 return ErrInvalidLengthAuthservice 54654 } 54655 postIndex := iNdEx + intStringLen 54656 if postIndex < 0 { 54657 return ErrInvalidLengthAuthservice 54658 } 54659 if postIndex > l { 54660 return io.ErrUnexpectedEOF 54661 } 54662 m.Account = string(dAtA[iNdEx:postIndex]) 54663 iNdEx = postIndex 54664 case 7: 54665 if wireType != 2 { 54666 return fmt.Errorf("proto: wrong wireType = %d for field QRCode", wireType) 54667 } 54668 var byteLen int 54669 for shift := uint(0); ; shift += 7 { 54670 if shift >= 64 { 54671 return ErrIntOverflowAuthservice 54672 } 54673 if iNdEx >= l { 54674 return io.ErrUnexpectedEOF 54675 } 54676 b := dAtA[iNdEx] 54677 iNdEx++ 54678 byteLen |= int(b&0x7F) << shift 54679 if b < 0x80 { 54680 break 54681 } 54682 } 54683 if byteLen < 0 { 54684 return ErrInvalidLengthAuthservice 54685 } 54686 postIndex := iNdEx + byteLen 54687 if postIndex < 0 { 54688 return ErrInvalidLengthAuthservice 54689 } 54690 if postIndex > l { 54691 return io.ErrUnexpectedEOF 54692 } 54693 m.QRCode = append(m.QRCode[:0], dAtA[iNdEx:postIndex]...) 54694 if m.QRCode == nil { 54695 m.QRCode = []byte{} 54696 } 54697 iNdEx = postIndex 54698 case 8: 54699 if wireType != 2 { 54700 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 54701 } 54702 var stringLen uint64 54703 for shift := uint(0); ; shift += 7 { 54704 if shift >= 64 { 54705 return ErrIntOverflowAuthservice 54706 } 54707 if iNdEx >= l { 54708 return io.ErrUnexpectedEOF 54709 } 54710 b := dAtA[iNdEx] 54711 iNdEx++ 54712 stringLen |= uint64(b&0x7F) << shift 54713 if b < 0x80 { 54714 break 54715 } 54716 } 54717 intStringLen := int(stringLen) 54718 if intStringLen < 0 { 54719 return ErrInvalidLengthAuthservice 54720 } 54721 postIndex := iNdEx + intStringLen 54722 if postIndex < 0 { 54723 return ErrInvalidLengthAuthservice 54724 } 54725 if postIndex > l { 54726 return io.ErrUnexpectedEOF 54727 } 54728 m.ID = string(dAtA[iNdEx:postIndex]) 54729 iNdEx = postIndex 54730 default: 54731 iNdEx = preIndex 54732 skippy, err := skipAuthservice(dAtA[iNdEx:]) 54733 if err != nil { 54734 return err 54735 } 54736 if (skippy < 0) || (iNdEx+skippy) < 0 { 54737 return ErrInvalidLengthAuthservice 54738 } 54739 if (iNdEx + skippy) > l { 54740 return io.ErrUnexpectedEOF 54741 } 54742 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 54743 iNdEx += skippy 54744 } 54745 } 54746 54747 if iNdEx > l { 54748 return io.ErrUnexpectedEOF 54749 } 54750 return nil 54751 } 54752 func (m *TOTPRegisterResponse) Unmarshal(dAtA []byte) error { 54753 l := len(dAtA) 54754 iNdEx := 0 54755 for iNdEx < l { 54756 preIndex := iNdEx 54757 var wire uint64 54758 for shift := uint(0); ; shift += 7 { 54759 if shift >= 64 { 54760 return ErrIntOverflowAuthservice 54761 } 54762 if iNdEx >= l { 54763 return io.ErrUnexpectedEOF 54764 } 54765 b := dAtA[iNdEx] 54766 iNdEx++ 54767 wire |= uint64(b&0x7F) << shift 54768 if b < 0x80 { 54769 break 54770 } 54771 } 54772 fieldNum := int32(wire >> 3) 54773 wireType := int(wire & 0x7) 54774 if wireType == 4 { 54775 return fmt.Errorf("proto: TOTPRegisterResponse: wiretype end group for non-group") 54776 } 54777 if fieldNum <= 0 { 54778 return fmt.Errorf("proto: TOTPRegisterResponse: illegal tag %d (wire type %d)", fieldNum, wire) 54779 } 54780 switch fieldNum { 54781 case 1: 54782 if wireType != 2 { 54783 return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType) 54784 } 54785 var stringLen uint64 54786 for shift := uint(0); ; shift += 7 { 54787 if shift >= 64 { 54788 return ErrIntOverflowAuthservice 54789 } 54790 if iNdEx >= l { 54791 return io.ErrUnexpectedEOF 54792 } 54793 b := dAtA[iNdEx] 54794 iNdEx++ 54795 stringLen |= uint64(b&0x7F) << shift 54796 if b < 0x80 { 54797 break 54798 } 54799 } 54800 intStringLen := int(stringLen) 54801 if intStringLen < 0 { 54802 return ErrInvalidLengthAuthservice 54803 } 54804 postIndex := iNdEx + intStringLen 54805 if postIndex < 0 { 54806 return ErrInvalidLengthAuthservice 54807 } 54808 if postIndex > l { 54809 return io.ErrUnexpectedEOF 54810 } 54811 m.Code = string(dAtA[iNdEx:postIndex]) 54812 iNdEx = postIndex 54813 case 2: 54814 if wireType != 2 { 54815 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 54816 } 54817 var stringLen uint64 54818 for shift := uint(0); ; shift += 7 { 54819 if shift >= 64 { 54820 return ErrIntOverflowAuthservice 54821 } 54822 if iNdEx >= l { 54823 return io.ErrUnexpectedEOF 54824 } 54825 b := dAtA[iNdEx] 54826 iNdEx++ 54827 stringLen |= uint64(b&0x7F) << shift 54828 if b < 0x80 { 54829 break 54830 } 54831 } 54832 intStringLen := int(stringLen) 54833 if intStringLen < 0 { 54834 return ErrInvalidLengthAuthservice 54835 } 54836 postIndex := iNdEx + intStringLen 54837 if postIndex < 0 { 54838 return ErrInvalidLengthAuthservice 54839 } 54840 if postIndex > l { 54841 return io.ErrUnexpectedEOF 54842 } 54843 m.ID = string(dAtA[iNdEx:postIndex]) 54844 iNdEx = postIndex 54845 default: 54846 iNdEx = preIndex 54847 skippy, err := skipAuthservice(dAtA[iNdEx:]) 54848 if err != nil { 54849 return err 54850 } 54851 if (skippy < 0) || (iNdEx+skippy) < 0 { 54852 return ErrInvalidLengthAuthservice 54853 } 54854 if (iNdEx + skippy) > l { 54855 return io.ErrUnexpectedEOF 54856 } 54857 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 54858 iNdEx += skippy 54859 } 54860 } 54861 54862 if iNdEx > l { 54863 return io.ErrUnexpectedEOF 54864 } 54865 return nil 54866 } 54867 func (m *AddMFADeviceRequest) Unmarshal(dAtA []byte) error { 54868 l := len(dAtA) 54869 iNdEx := 0 54870 for iNdEx < l { 54871 preIndex := iNdEx 54872 var wire uint64 54873 for shift := uint(0); ; shift += 7 { 54874 if shift >= 64 { 54875 return ErrIntOverflowAuthservice 54876 } 54877 if iNdEx >= l { 54878 return io.ErrUnexpectedEOF 54879 } 54880 b := dAtA[iNdEx] 54881 iNdEx++ 54882 wire |= uint64(b&0x7F) << shift 54883 if b < 0x80 { 54884 break 54885 } 54886 } 54887 fieldNum := int32(wire >> 3) 54888 wireType := int(wire & 0x7) 54889 if wireType == 4 { 54890 return fmt.Errorf("proto: AddMFADeviceRequest: wiretype end group for non-group") 54891 } 54892 if fieldNum <= 0 { 54893 return fmt.Errorf("proto: AddMFADeviceRequest: illegal tag %d (wire type %d)", fieldNum, wire) 54894 } 54895 switch fieldNum { 54896 default: 54897 iNdEx = preIndex 54898 skippy, err := skipAuthservice(dAtA[iNdEx:]) 54899 if err != nil { 54900 return err 54901 } 54902 if (skippy < 0) || (iNdEx+skippy) < 0 { 54903 return ErrInvalidLengthAuthservice 54904 } 54905 if (iNdEx + skippy) > l { 54906 return io.ErrUnexpectedEOF 54907 } 54908 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 54909 iNdEx += skippy 54910 } 54911 } 54912 54913 if iNdEx > l { 54914 return io.ErrUnexpectedEOF 54915 } 54916 return nil 54917 } 54918 func (m *AddMFADeviceResponse) Unmarshal(dAtA []byte) error { 54919 l := len(dAtA) 54920 iNdEx := 0 54921 for iNdEx < l { 54922 preIndex := iNdEx 54923 var wire uint64 54924 for shift := uint(0); ; shift += 7 { 54925 if shift >= 64 { 54926 return ErrIntOverflowAuthservice 54927 } 54928 if iNdEx >= l { 54929 return io.ErrUnexpectedEOF 54930 } 54931 b := dAtA[iNdEx] 54932 iNdEx++ 54933 wire |= uint64(b&0x7F) << shift 54934 if b < 0x80 { 54935 break 54936 } 54937 } 54938 fieldNum := int32(wire >> 3) 54939 wireType := int(wire & 0x7) 54940 if wireType == 4 { 54941 return fmt.Errorf("proto: AddMFADeviceResponse: wiretype end group for non-group") 54942 } 54943 if fieldNum <= 0 { 54944 return fmt.Errorf("proto: AddMFADeviceResponse: illegal tag %d (wire type %d)", fieldNum, wire) 54945 } 54946 switch fieldNum { 54947 default: 54948 iNdEx = preIndex 54949 skippy, err := skipAuthservice(dAtA[iNdEx:]) 54950 if err != nil { 54951 return err 54952 } 54953 if (skippy < 0) || (iNdEx+skippy) < 0 { 54954 return ErrInvalidLengthAuthservice 54955 } 54956 if (iNdEx + skippy) > l { 54957 return io.ErrUnexpectedEOF 54958 } 54959 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 54960 iNdEx += skippy 54961 } 54962 } 54963 54964 if iNdEx > l { 54965 return io.ErrUnexpectedEOF 54966 } 54967 return nil 54968 } 54969 func (m *DeleteMFADeviceRequest) Unmarshal(dAtA []byte) error { 54970 l := len(dAtA) 54971 iNdEx := 0 54972 for iNdEx < l { 54973 preIndex := iNdEx 54974 var wire uint64 54975 for shift := uint(0); ; shift += 7 { 54976 if shift >= 64 { 54977 return ErrIntOverflowAuthservice 54978 } 54979 if iNdEx >= l { 54980 return io.ErrUnexpectedEOF 54981 } 54982 b := dAtA[iNdEx] 54983 iNdEx++ 54984 wire |= uint64(b&0x7F) << shift 54985 if b < 0x80 { 54986 break 54987 } 54988 } 54989 fieldNum := int32(wire >> 3) 54990 wireType := int(wire & 0x7) 54991 if wireType == 4 { 54992 return fmt.Errorf("proto: DeleteMFADeviceRequest: wiretype end group for non-group") 54993 } 54994 if fieldNum <= 0 { 54995 return fmt.Errorf("proto: DeleteMFADeviceRequest: illegal tag %d (wire type %d)", fieldNum, wire) 54996 } 54997 switch fieldNum { 54998 default: 54999 iNdEx = preIndex 55000 skippy, err := skipAuthservice(dAtA[iNdEx:]) 55001 if err != nil { 55002 return err 55003 } 55004 if (skippy < 0) || (iNdEx+skippy) < 0 { 55005 return ErrInvalidLengthAuthservice 55006 } 55007 if (iNdEx + skippy) > l { 55008 return io.ErrUnexpectedEOF 55009 } 55010 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 55011 iNdEx += skippy 55012 } 55013 } 55014 55015 if iNdEx > l { 55016 return io.ErrUnexpectedEOF 55017 } 55018 return nil 55019 } 55020 func (m *DeleteMFADeviceResponse) Unmarshal(dAtA []byte) error { 55021 l := len(dAtA) 55022 iNdEx := 0 55023 for iNdEx < l { 55024 preIndex := iNdEx 55025 var wire uint64 55026 for shift := uint(0); ; shift += 7 { 55027 if shift >= 64 { 55028 return ErrIntOverflowAuthservice 55029 } 55030 if iNdEx >= l { 55031 return io.ErrUnexpectedEOF 55032 } 55033 b := dAtA[iNdEx] 55034 iNdEx++ 55035 wire |= uint64(b&0x7F) << shift 55036 if b < 0x80 { 55037 break 55038 } 55039 } 55040 fieldNum := int32(wire >> 3) 55041 wireType := int(wire & 0x7) 55042 if wireType == 4 { 55043 return fmt.Errorf("proto: DeleteMFADeviceResponse: wiretype end group for non-group") 55044 } 55045 if fieldNum <= 0 { 55046 return fmt.Errorf("proto: DeleteMFADeviceResponse: illegal tag %d (wire type %d)", fieldNum, wire) 55047 } 55048 switch fieldNum { 55049 default: 55050 iNdEx = preIndex 55051 skippy, err := skipAuthservice(dAtA[iNdEx:]) 55052 if err != nil { 55053 return err 55054 } 55055 if (skippy < 0) || (iNdEx+skippy) < 0 { 55056 return ErrInvalidLengthAuthservice 55057 } 55058 if (iNdEx + skippy) > l { 55059 return io.ErrUnexpectedEOF 55060 } 55061 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 55062 iNdEx += skippy 55063 } 55064 } 55065 55066 if iNdEx > l { 55067 return io.ErrUnexpectedEOF 55068 } 55069 return nil 55070 } 55071 func (m *DeleteMFADeviceSyncRequest) Unmarshal(dAtA []byte) error { 55072 l := len(dAtA) 55073 iNdEx := 0 55074 for iNdEx < l { 55075 preIndex := iNdEx 55076 var wire uint64 55077 for shift := uint(0); ; shift += 7 { 55078 if shift >= 64 { 55079 return ErrIntOverflowAuthservice 55080 } 55081 if iNdEx >= l { 55082 return io.ErrUnexpectedEOF 55083 } 55084 b := dAtA[iNdEx] 55085 iNdEx++ 55086 wire |= uint64(b&0x7F) << shift 55087 if b < 0x80 { 55088 break 55089 } 55090 } 55091 fieldNum := int32(wire >> 3) 55092 wireType := int(wire & 0x7) 55093 if wireType == 4 { 55094 return fmt.Errorf("proto: DeleteMFADeviceSyncRequest: wiretype end group for non-group") 55095 } 55096 if fieldNum <= 0 { 55097 return fmt.Errorf("proto: DeleteMFADeviceSyncRequest: illegal tag %d (wire type %d)", fieldNum, wire) 55098 } 55099 switch fieldNum { 55100 case 1: 55101 if wireType != 2 { 55102 return fmt.Errorf("proto: wrong wireType = %d for field TokenID", wireType) 55103 } 55104 var stringLen uint64 55105 for shift := uint(0); ; shift += 7 { 55106 if shift >= 64 { 55107 return ErrIntOverflowAuthservice 55108 } 55109 if iNdEx >= l { 55110 return io.ErrUnexpectedEOF 55111 } 55112 b := dAtA[iNdEx] 55113 iNdEx++ 55114 stringLen |= uint64(b&0x7F) << shift 55115 if b < 0x80 { 55116 break 55117 } 55118 } 55119 intStringLen := int(stringLen) 55120 if intStringLen < 0 { 55121 return ErrInvalidLengthAuthservice 55122 } 55123 postIndex := iNdEx + intStringLen 55124 if postIndex < 0 { 55125 return ErrInvalidLengthAuthservice 55126 } 55127 if postIndex > l { 55128 return io.ErrUnexpectedEOF 55129 } 55130 m.TokenID = string(dAtA[iNdEx:postIndex]) 55131 iNdEx = postIndex 55132 case 2: 55133 if wireType != 2 { 55134 return fmt.Errorf("proto: wrong wireType = %d for field DeviceName", wireType) 55135 } 55136 var stringLen uint64 55137 for shift := uint(0); ; shift += 7 { 55138 if shift >= 64 { 55139 return ErrIntOverflowAuthservice 55140 } 55141 if iNdEx >= l { 55142 return io.ErrUnexpectedEOF 55143 } 55144 b := dAtA[iNdEx] 55145 iNdEx++ 55146 stringLen |= uint64(b&0x7F) << shift 55147 if b < 0x80 { 55148 break 55149 } 55150 } 55151 intStringLen := int(stringLen) 55152 if intStringLen < 0 { 55153 return ErrInvalidLengthAuthservice 55154 } 55155 postIndex := iNdEx + intStringLen 55156 if postIndex < 0 { 55157 return ErrInvalidLengthAuthservice 55158 } 55159 if postIndex > l { 55160 return io.ErrUnexpectedEOF 55161 } 55162 m.DeviceName = string(dAtA[iNdEx:postIndex]) 55163 iNdEx = postIndex 55164 case 3: 55165 if wireType != 2 { 55166 return fmt.Errorf("proto: wrong wireType = %d for field ExistingMFAResponse", wireType) 55167 } 55168 var msglen int 55169 for shift := uint(0); ; shift += 7 { 55170 if shift >= 64 { 55171 return ErrIntOverflowAuthservice 55172 } 55173 if iNdEx >= l { 55174 return io.ErrUnexpectedEOF 55175 } 55176 b := dAtA[iNdEx] 55177 iNdEx++ 55178 msglen |= int(b&0x7F) << shift 55179 if b < 0x80 { 55180 break 55181 } 55182 } 55183 if msglen < 0 { 55184 return ErrInvalidLengthAuthservice 55185 } 55186 postIndex := iNdEx + msglen 55187 if postIndex < 0 { 55188 return ErrInvalidLengthAuthservice 55189 } 55190 if postIndex > l { 55191 return io.ErrUnexpectedEOF 55192 } 55193 if m.ExistingMFAResponse == nil { 55194 m.ExistingMFAResponse = &MFAAuthenticateResponse{} 55195 } 55196 if err := m.ExistingMFAResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55197 return err 55198 } 55199 iNdEx = postIndex 55200 default: 55201 iNdEx = preIndex 55202 skippy, err := skipAuthservice(dAtA[iNdEx:]) 55203 if err != nil { 55204 return err 55205 } 55206 if (skippy < 0) || (iNdEx+skippy) < 0 { 55207 return ErrInvalidLengthAuthservice 55208 } 55209 if (iNdEx + skippy) > l { 55210 return io.ErrUnexpectedEOF 55211 } 55212 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 55213 iNdEx += skippy 55214 } 55215 } 55216 55217 if iNdEx > l { 55218 return io.ErrUnexpectedEOF 55219 } 55220 return nil 55221 } 55222 func (m *AddMFADeviceSyncRequest) Unmarshal(dAtA []byte) error { 55223 l := len(dAtA) 55224 iNdEx := 0 55225 for iNdEx < l { 55226 preIndex := iNdEx 55227 var wire uint64 55228 for shift := uint(0); ; shift += 7 { 55229 if shift >= 64 { 55230 return ErrIntOverflowAuthservice 55231 } 55232 if iNdEx >= l { 55233 return io.ErrUnexpectedEOF 55234 } 55235 b := dAtA[iNdEx] 55236 iNdEx++ 55237 wire |= uint64(b&0x7F) << shift 55238 if b < 0x80 { 55239 break 55240 } 55241 } 55242 fieldNum := int32(wire >> 3) 55243 wireType := int(wire & 0x7) 55244 if wireType == 4 { 55245 return fmt.Errorf("proto: AddMFADeviceSyncRequest: wiretype end group for non-group") 55246 } 55247 if fieldNum <= 0 { 55248 return fmt.Errorf("proto: AddMFADeviceSyncRequest: illegal tag %d (wire type %d)", fieldNum, wire) 55249 } 55250 switch fieldNum { 55251 case 1: 55252 if wireType != 2 { 55253 return fmt.Errorf("proto: wrong wireType = %d for field TokenID", wireType) 55254 } 55255 var stringLen uint64 55256 for shift := uint(0); ; shift += 7 { 55257 if shift >= 64 { 55258 return ErrIntOverflowAuthservice 55259 } 55260 if iNdEx >= l { 55261 return io.ErrUnexpectedEOF 55262 } 55263 b := dAtA[iNdEx] 55264 iNdEx++ 55265 stringLen |= uint64(b&0x7F) << shift 55266 if b < 0x80 { 55267 break 55268 } 55269 } 55270 intStringLen := int(stringLen) 55271 if intStringLen < 0 { 55272 return ErrInvalidLengthAuthservice 55273 } 55274 postIndex := iNdEx + intStringLen 55275 if postIndex < 0 { 55276 return ErrInvalidLengthAuthservice 55277 } 55278 if postIndex > l { 55279 return io.ErrUnexpectedEOF 55280 } 55281 m.TokenID = string(dAtA[iNdEx:postIndex]) 55282 iNdEx = postIndex 55283 case 2: 55284 if wireType != 2 { 55285 return fmt.Errorf("proto: wrong wireType = %d for field NewDeviceName", wireType) 55286 } 55287 var stringLen uint64 55288 for shift := uint(0); ; shift += 7 { 55289 if shift >= 64 { 55290 return ErrIntOverflowAuthservice 55291 } 55292 if iNdEx >= l { 55293 return io.ErrUnexpectedEOF 55294 } 55295 b := dAtA[iNdEx] 55296 iNdEx++ 55297 stringLen |= uint64(b&0x7F) << shift 55298 if b < 0x80 { 55299 break 55300 } 55301 } 55302 intStringLen := int(stringLen) 55303 if intStringLen < 0 { 55304 return ErrInvalidLengthAuthservice 55305 } 55306 postIndex := iNdEx + intStringLen 55307 if postIndex < 0 { 55308 return ErrInvalidLengthAuthservice 55309 } 55310 if postIndex > l { 55311 return io.ErrUnexpectedEOF 55312 } 55313 m.NewDeviceName = string(dAtA[iNdEx:postIndex]) 55314 iNdEx = postIndex 55315 case 3: 55316 if wireType != 2 { 55317 return fmt.Errorf("proto: wrong wireType = %d for field NewMFAResponse", wireType) 55318 } 55319 var msglen int 55320 for shift := uint(0); ; shift += 7 { 55321 if shift >= 64 { 55322 return ErrIntOverflowAuthservice 55323 } 55324 if iNdEx >= l { 55325 return io.ErrUnexpectedEOF 55326 } 55327 b := dAtA[iNdEx] 55328 iNdEx++ 55329 msglen |= int(b&0x7F) << shift 55330 if b < 0x80 { 55331 break 55332 } 55333 } 55334 if msglen < 0 { 55335 return ErrInvalidLengthAuthservice 55336 } 55337 postIndex := iNdEx + msglen 55338 if postIndex < 0 { 55339 return ErrInvalidLengthAuthservice 55340 } 55341 if postIndex > l { 55342 return io.ErrUnexpectedEOF 55343 } 55344 if m.NewMFAResponse == nil { 55345 m.NewMFAResponse = &MFARegisterResponse{} 55346 } 55347 if err := m.NewMFAResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55348 return err 55349 } 55350 iNdEx = postIndex 55351 case 4: 55352 if wireType != 0 { 55353 return fmt.Errorf("proto: wrong wireType = %d for field DeviceUsage", wireType) 55354 } 55355 m.DeviceUsage = 0 55356 for shift := uint(0); ; shift += 7 { 55357 if shift >= 64 { 55358 return ErrIntOverflowAuthservice 55359 } 55360 if iNdEx >= l { 55361 return io.ErrUnexpectedEOF 55362 } 55363 b := dAtA[iNdEx] 55364 iNdEx++ 55365 m.DeviceUsage |= DeviceUsage(b&0x7F) << shift 55366 if b < 0x80 { 55367 break 55368 } 55369 } 55370 case 5: 55371 if wireType != 2 { 55372 return fmt.Errorf("proto: wrong wireType = %d for field ContextUser", wireType) 55373 } 55374 var msglen int 55375 for shift := uint(0); ; shift += 7 { 55376 if shift >= 64 { 55377 return ErrIntOverflowAuthservice 55378 } 55379 if iNdEx >= l { 55380 return io.ErrUnexpectedEOF 55381 } 55382 b := dAtA[iNdEx] 55383 iNdEx++ 55384 msglen |= int(b&0x7F) << shift 55385 if b < 0x80 { 55386 break 55387 } 55388 } 55389 if msglen < 0 { 55390 return ErrInvalidLengthAuthservice 55391 } 55392 postIndex := iNdEx + msglen 55393 if postIndex < 0 { 55394 return ErrInvalidLengthAuthservice 55395 } 55396 if postIndex > l { 55397 return io.ErrUnexpectedEOF 55398 } 55399 if m.ContextUser == nil { 55400 m.ContextUser = &ContextUser{} 55401 } 55402 if err := m.ContextUser.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55403 return err 55404 } 55405 iNdEx = postIndex 55406 default: 55407 iNdEx = preIndex 55408 skippy, err := skipAuthservice(dAtA[iNdEx:]) 55409 if err != nil { 55410 return err 55411 } 55412 if (skippy < 0) || (iNdEx+skippy) < 0 { 55413 return ErrInvalidLengthAuthservice 55414 } 55415 if (iNdEx + skippy) > l { 55416 return io.ErrUnexpectedEOF 55417 } 55418 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 55419 iNdEx += skippy 55420 } 55421 } 55422 55423 if iNdEx > l { 55424 return io.ErrUnexpectedEOF 55425 } 55426 return nil 55427 } 55428 func (m *AddMFADeviceSyncResponse) Unmarshal(dAtA []byte) error { 55429 l := len(dAtA) 55430 iNdEx := 0 55431 for iNdEx < l { 55432 preIndex := iNdEx 55433 var wire uint64 55434 for shift := uint(0); ; shift += 7 { 55435 if shift >= 64 { 55436 return ErrIntOverflowAuthservice 55437 } 55438 if iNdEx >= l { 55439 return io.ErrUnexpectedEOF 55440 } 55441 b := dAtA[iNdEx] 55442 iNdEx++ 55443 wire |= uint64(b&0x7F) << shift 55444 if b < 0x80 { 55445 break 55446 } 55447 } 55448 fieldNum := int32(wire >> 3) 55449 wireType := int(wire & 0x7) 55450 if wireType == 4 { 55451 return fmt.Errorf("proto: AddMFADeviceSyncResponse: wiretype end group for non-group") 55452 } 55453 if fieldNum <= 0 { 55454 return fmt.Errorf("proto: AddMFADeviceSyncResponse: illegal tag %d (wire type %d)", fieldNum, wire) 55455 } 55456 switch fieldNum { 55457 case 1: 55458 if wireType != 2 { 55459 return fmt.Errorf("proto: wrong wireType = %d for field Device", wireType) 55460 } 55461 var msglen int 55462 for shift := uint(0); ; shift += 7 { 55463 if shift >= 64 { 55464 return ErrIntOverflowAuthservice 55465 } 55466 if iNdEx >= l { 55467 return io.ErrUnexpectedEOF 55468 } 55469 b := dAtA[iNdEx] 55470 iNdEx++ 55471 msglen |= int(b&0x7F) << shift 55472 if b < 0x80 { 55473 break 55474 } 55475 } 55476 if msglen < 0 { 55477 return ErrInvalidLengthAuthservice 55478 } 55479 postIndex := iNdEx + msglen 55480 if postIndex < 0 { 55481 return ErrInvalidLengthAuthservice 55482 } 55483 if postIndex > l { 55484 return io.ErrUnexpectedEOF 55485 } 55486 if m.Device == nil { 55487 m.Device = &types.MFADevice{} 55488 } 55489 if err := m.Device.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55490 return err 55491 } 55492 iNdEx = postIndex 55493 default: 55494 iNdEx = preIndex 55495 skippy, err := skipAuthservice(dAtA[iNdEx:]) 55496 if err != nil { 55497 return err 55498 } 55499 if (skippy < 0) || (iNdEx+skippy) < 0 { 55500 return ErrInvalidLengthAuthservice 55501 } 55502 if (iNdEx + skippy) > l { 55503 return io.ErrUnexpectedEOF 55504 } 55505 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 55506 iNdEx += skippy 55507 } 55508 } 55509 55510 if iNdEx > l { 55511 return io.ErrUnexpectedEOF 55512 } 55513 return nil 55514 } 55515 func (m *GetMFADevicesRequest) Unmarshal(dAtA []byte) error { 55516 l := len(dAtA) 55517 iNdEx := 0 55518 for iNdEx < l { 55519 preIndex := iNdEx 55520 var wire uint64 55521 for shift := uint(0); ; shift += 7 { 55522 if shift >= 64 { 55523 return ErrIntOverflowAuthservice 55524 } 55525 if iNdEx >= l { 55526 return io.ErrUnexpectedEOF 55527 } 55528 b := dAtA[iNdEx] 55529 iNdEx++ 55530 wire |= uint64(b&0x7F) << shift 55531 if b < 0x80 { 55532 break 55533 } 55534 } 55535 fieldNum := int32(wire >> 3) 55536 wireType := int(wire & 0x7) 55537 if wireType == 4 { 55538 return fmt.Errorf("proto: GetMFADevicesRequest: wiretype end group for non-group") 55539 } 55540 if fieldNum <= 0 { 55541 return fmt.Errorf("proto: GetMFADevicesRequest: illegal tag %d (wire type %d)", fieldNum, wire) 55542 } 55543 switch fieldNum { 55544 case 1: 55545 if wireType != 2 { 55546 return fmt.Errorf("proto: wrong wireType = %d for field TokenID", wireType) 55547 } 55548 var stringLen uint64 55549 for shift := uint(0); ; shift += 7 { 55550 if shift >= 64 { 55551 return ErrIntOverflowAuthservice 55552 } 55553 if iNdEx >= l { 55554 return io.ErrUnexpectedEOF 55555 } 55556 b := dAtA[iNdEx] 55557 iNdEx++ 55558 stringLen |= uint64(b&0x7F) << shift 55559 if b < 0x80 { 55560 break 55561 } 55562 } 55563 intStringLen := int(stringLen) 55564 if intStringLen < 0 { 55565 return ErrInvalidLengthAuthservice 55566 } 55567 postIndex := iNdEx + intStringLen 55568 if postIndex < 0 { 55569 return ErrInvalidLengthAuthservice 55570 } 55571 if postIndex > l { 55572 return io.ErrUnexpectedEOF 55573 } 55574 m.TokenID = string(dAtA[iNdEx:postIndex]) 55575 iNdEx = postIndex 55576 default: 55577 iNdEx = preIndex 55578 skippy, err := skipAuthservice(dAtA[iNdEx:]) 55579 if err != nil { 55580 return err 55581 } 55582 if (skippy < 0) || (iNdEx+skippy) < 0 { 55583 return ErrInvalidLengthAuthservice 55584 } 55585 if (iNdEx + skippy) > l { 55586 return io.ErrUnexpectedEOF 55587 } 55588 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 55589 iNdEx += skippy 55590 } 55591 } 55592 55593 if iNdEx > l { 55594 return io.ErrUnexpectedEOF 55595 } 55596 return nil 55597 } 55598 func (m *GetMFADevicesResponse) Unmarshal(dAtA []byte) error { 55599 l := len(dAtA) 55600 iNdEx := 0 55601 for iNdEx < l { 55602 preIndex := iNdEx 55603 var wire uint64 55604 for shift := uint(0); ; shift += 7 { 55605 if shift >= 64 { 55606 return ErrIntOverflowAuthservice 55607 } 55608 if iNdEx >= l { 55609 return io.ErrUnexpectedEOF 55610 } 55611 b := dAtA[iNdEx] 55612 iNdEx++ 55613 wire |= uint64(b&0x7F) << shift 55614 if b < 0x80 { 55615 break 55616 } 55617 } 55618 fieldNum := int32(wire >> 3) 55619 wireType := int(wire & 0x7) 55620 if wireType == 4 { 55621 return fmt.Errorf("proto: GetMFADevicesResponse: wiretype end group for non-group") 55622 } 55623 if fieldNum <= 0 { 55624 return fmt.Errorf("proto: GetMFADevicesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 55625 } 55626 switch fieldNum { 55627 case 1: 55628 if wireType != 2 { 55629 return fmt.Errorf("proto: wrong wireType = %d for field Devices", wireType) 55630 } 55631 var msglen int 55632 for shift := uint(0); ; shift += 7 { 55633 if shift >= 64 { 55634 return ErrIntOverflowAuthservice 55635 } 55636 if iNdEx >= l { 55637 return io.ErrUnexpectedEOF 55638 } 55639 b := dAtA[iNdEx] 55640 iNdEx++ 55641 msglen |= int(b&0x7F) << shift 55642 if b < 0x80 { 55643 break 55644 } 55645 } 55646 if msglen < 0 { 55647 return ErrInvalidLengthAuthservice 55648 } 55649 postIndex := iNdEx + msglen 55650 if postIndex < 0 { 55651 return ErrInvalidLengthAuthservice 55652 } 55653 if postIndex > l { 55654 return io.ErrUnexpectedEOF 55655 } 55656 m.Devices = append(m.Devices, &types.MFADevice{}) 55657 if err := m.Devices[len(m.Devices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55658 return err 55659 } 55660 iNdEx = postIndex 55661 default: 55662 iNdEx = preIndex 55663 skippy, err := skipAuthservice(dAtA[iNdEx:]) 55664 if err != nil { 55665 return err 55666 } 55667 if (skippy < 0) || (iNdEx+skippy) < 0 { 55668 return ErrInvalidLengthAuthservice 55669 } 55670 if (iNdEx + skippy) > l { 55671 return io.ErrUnexpectedEOF 55672 } 55673 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 55674 iNdEx += skippy 55675 } 55676 } 55677 55678 if iNdEx > l { 55679 return io.ErrUnexpectedEOF 55680 } 55681 return nil 55682 } 55683 func (m *UserSingleUseCertsRequest) Unmarshal(dAtA []byte) error { 55684 l := len(dAtA) 55685 iNdEx := 0 55686 for iNdEx < l { 55687 preIndex := iNdEx 55688 var wire uint64 55689 for shift := uint(0); ; shift += 7 { 55690 if shift >= 64 { 55691 return ErrIntOverflowAuthservice 55692 } 55693 if iNdEx >= l { 55694 return io.ErrUnexpectedEOF 55695 } 55696 b := dAtA[iNdEx] 55697 iNdEx++ 55698 wire |= uint64(b&0x7F) << shift 55699 if b < 0x80 { 55700 break 55701 } 55702 } 55703 fieldNum := int32(wire >> 3) 55704 wireType := int(wire & 0x7) 55705 if wireType == 4 { 55706 return fmt.Errorf("proto: UserSingleUseCertsRequest: wiretype end group for non-group") 55707 } 55708 if fieldNum <= 0 { 55709 return fmt.Errorf("proto: UserSingleUseCertsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 55710 } 55711 switch fieldNum { 55712 default: 55713 iNdEx = preIndex 55714 skippy, err := skipAuthservice(dAtA[iNdEx:]) 55715 if err != nil { 55716 return err 55717 } 55718 if (skippy < 0) || (iNdEx+skippy) < 0 { 55719 return ErrInvalidLengthAuthservice 55720 } 55721 if (iNdEx + skippy) > l { 55722 return io.ErrUnexpectedEOF 55723 } 55724 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 55725 iNdEx += skippy 55726 } 55727 } 55728 55729 if iNdEx > l { 55730 return io.ErrUnexpectedEOF 55731 } 55732 return nil 55733 } 55734 func (m *UserSingleUseCertsResponse) Unmarshal(dAtA []byte) error { 55735 l := len(dAtA) 55736 iNdEx := 0 55737 for iNdEx < l { 55738 preIndex := iNdEx 55739 var wire uint64 55740 for shift := uint(0); ; shift += 7 { 55741 if shift >= 64 { 55742 return ErrIntOverflowAuthservice 55743 } 55744 if iNdEx >= l { 55745 return io.ErrUnexpectedEOF 55746 } 55747 b := dAtA[iNdEx] 55748 iNdEx++ 55749 wire |= uint64(b&0x7F) << shift 55750 if b < 0x80 { 55751 break 55752 } 55753 } 55754 fieldNum := int32(wire >> 3) 55755 wireType := int(wire & 0x7) 55756 if wireType == 4 { 55757 return fmt.Errorf("proto: UserSingleUseCertsResponse: wiretype end group for non-group") 55758 } 55759 if fieldNum <= 0 { 55760 return fmt.Errorf("proto: UserSingleUseCertsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 55761 } 55762 switch fieldNum { 55763 default: 55764 iNdEx = preIndex 55765 skippy, err := skipAuthservice(dAtA[iNdEx:]) 55766 if err != nil { 55767 return err 55768 } 55769 if (skippy < 0) || (iNdEx+skippy) < 0 { 55770 return ErrInvalidLengthAuthservice 55771 } 55772 if (iNdEx + skippy) > l { 55773 return io.ErrUnexpectedEOF 55774 } 55775 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 55776 iNdEx += skippy 55777 } 55778 } 55779 55780 if iNdEx > l { 55781 return io.ErrUnexpectedEOF 55782 } 55783 return nil 55784 } 55785 func (m *IsMFARequiredRequest) Unmarshal(dAtA []byte) error { 55786 l := len(dAtA) 55787 iNdEx := 0 55788 for iNdEx < l { 55789 preIndex := iNdEx 55790 var wire uint64 55791 for shift := uint(0); ; shift += 7 { 55792 if shift >= 64 { 55793 return ErrIntOverflowAuthservice 55794 } 55795 if iNdEx >= l { 55796 return io.ErrUnexpectedEOF 55797 } 55798 b := dAtA[iNdEx] 55799 iNdEx++ 55800 wire |= uint64(b&0x7F) << shift 55801 if b < 0x80 { 55802 break 55803 } 55804 } 55805 fieldNum := int32(wire >> 3) 55806 wireType := int(wire & 0x7) 55807 if wireType == 4 { 55808 return fmt.Errorf("proto: IsMFARequiredRequest: wiretype end group for non-group") 55809 } 55810 if fieldNum <= 0 { 55811 return fmt.Errorf("proto: IsMFARequiredRequest: illegal tag %d (wire type %d)", fieldNum, wire) 55812 } 55813 switch fieldNum { 55814 case 1: 55815 if wireType != 2 { 55816 return fmt.Errorf("proto: wrong wireType = %d for field KubernetesCluster", wireType) 55817 } 55818 var stringLen uint64 55819 for shift := uint(0); ; shift += 7 { 55820 if shift >= 64 { 55821 return ErrIntOverflowAuthservice 55822 } 55823 if iNdEx >= l { 55824 return io.ErrUnexpectedEOF 55825 } 55826 b := dAtA[iNdEx] 55827 iNdEx++ 55828 stringLen |= uint64(b&0x7F) << shift 55829 if b < 0x80 { 55830 break 55831 } 55832 } 55833 intStringLen := int(stringLen) 55834 if intStringLen < 0 { 55835 return ErrInvalidLengthAuthservice 55836 } 55837 postIndex := iNdEx + intStringLen 55838 if postIndex < 0 { 55839 return ErrInvalidLengthAuthservice 55840 } 55841 if postIndex > l { 55842 return io.ErrUnexpectedEOF 55843 } 55844 m.Target = &IsMFARequiredRequest_KubernetesCluster{string(dAtA[iNdEx:postIndex])} 55845 iNdEx = postIndex 55846 case 2: 55847 if wireType != 2 { 55848 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 55849 } 55850 var msglen int 55851 for shift := uint(0); ; shift += 7 { 55852 if shift >= 64 { 55853 return ErrIntOverflowAuthservice 55854 } 55855 if iNdEx >= l { 55856 return io.ErrUnexpectedEOF 55857 } 55858 b := dAtA[iNdEx] 55859 iNdEx++ 55860 msglen |= int(b&0x7F) << shift 55861 if b < 0x80 { 55862 break 55863 } 55864 } 55865 if msglen < 0 { 55866 return ErrInvalidLengthAuthservice 55867 } 55868 postIndex := iNdEx + msglen 55869 if postIndex < 0 { 55870 return ErrInvalidLengthAuthservice 55871 } 55872 if postIndex > l { 55873 return io.ErrUnexpectedEOF 55874 } 55875 v := &RouteToDatabase{} 55876 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55877 return err 55878 } 55879 m.Target = &IsMFARequiredRequest_Database{v} 55880 iNdEx = postIndex 55881 case 3: 55882 if wireType != 2 { 55883 return fmt.Errorf("proto: wrong wireType = %d for field Node", wireType) 55884 } 55885 var msglen int 55886 for shift := uint(0); ; shift += 7 { 55887 if shift >= 64 { 55888 return ErrIntOverflowAuthservice 55889 } 55890 if iNdEx >= l { 55891 return io.ErrUnexpectedEOF 55892 } 55893 b := dAtA[iNdEx] 55894 iNdEx++ 55895 msglen |= int(b&0x7F) << shift 55896 if b < 0x80 { 55897 break 55898 } 55899 } 55900 if msglen < 0 { 55901 return ErrInvalidLengthAuthservice 55902 } 55903 postIndex := iNdEx + msglen 55904 if postIndex < 0 { 55905 return ErrInvalidLengthAuthservice 55906 } 55907 if postIndex > l { 55908 return io.ErrUnexpectedEOF 55909 } 55910 v := &NodeLogin{} 55911 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55912 return err 55913 } 55914 m.Target = &IsMFARequiredRequest_Node{v} 55915 iNdEx = postIndex 55916 case 4: 55917 if wireType != 2 { 55918 return fmt.Errorf("proto: wrong wireType = %d for field WindowsDesktop", wireType) 55919 } 55920 var msglen int 55921 for shift := uint(0); ; shift += 7 { 55922 if shift >= 64 { 55923 return ErrIntOverflowAuthservice 55924 } 55925 if iNdEx >= l { 55926 return io.ErrUnexpectedEOF 55927 } 55928 b := dAtA[iNdEx] 55929 iNdEx++ 55930 msglen |= int(b&0x7F) << shift 55931 if b < 0x80 { 55932 break 55933 } 55934 } 55935 if msglen < 0 { 55936 return ErrInvalidLengthAuthservice 55937 } 55938 postIndex := iNdEx + msglen 55939 if postIndex < 0 { 55940 return ErrInvalidLengthAuthservice 55941 } 55942 if postIndex > l { 55943 return io.ErrUnexpectedEOF 55944 } 55945 v := &RouteToWindowsDesktop{} 55946 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55947 return err 55948 } 55949 m.Target = &IsMFARequiredRequest_WindowsDesktop{v} 55950 iNdEx = postIndex 55951 case 5: 55952 if wireType != 2 { 55953 return fmt.Errorf("proto: wrong wireType = %d for field AdminAction", wireType) 55954 } 55955 var msglen int 55956 for shift := uint(0); ; shift += 7 { 55957 if shift >= 64 { 55958 return ErrIntOverflowAuthservice 55959 } 55960 if iNdEx >= l { 55961 return io.ErrUnexpectedEOF 55962 } 55963 b := dAtA[iNdEx] 55964 iNdEx++ 55965 msglen |= int(b&0x7F) << shift 55966 if b < 0x80 { 55967 break 55968 } 55969 } 55970 if msglen < 0 { 55971 return ErrInvalidLengthAuthservice 55972 } 55973 postIndex := iNdEx + msglen 55974 if postIndex < 0 { 55975 return ErrInvalidLengthAuthservice 55976 } 55977 if postIndex > l { 55978 return io.ErrUnexpectedEOF 55979 } 55980 v := &AdminAction{} 55981 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 55982 return err 55983 } 55984 m.Target = &IsMFARequiredRequest_AdminAction{v} 55985 iNdEx = postIndex 55986 case 6: 55987 if wireType != 2 { 55988 return fmt.Errorf("proto: wrong wireType = %d for field App", wireType) 55989 } 55990 var msglen int 55991 for shift := uint(0); ; shift += 7 { 55992 if shift >= 64 { 55993 return ErrIntOverflowAuthservice 55994 } 55995 if iNdEx >= l { 55996 return io.ErrUnexpectedEOF 55997 } 55998 b := dAtA[iNdEx] 55999 iNdEx++ 56000 msglen |= int(b&0x7F) << shift 56001 if b < 0x80 { 56002 break 56003 } 56004 } 56005 if msglen < 0 { 56006 return ErrInvalidLengthAuthservice 56007 } 56008 postIndex := iNdEx + msglen 56009 if postIndex < 0 { 56010 return ErrInvalidLengthAuthservice 56011 } 56012 if postIndex > l { 56013 return io.ErrUnexpectedEOF 56014 } 56015 v := &RouteToApp{} 56016 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 56017 return err 56018 } 56019 m.Target = &IsMFARequiredRequest_App{v} 56020 iNdEx = postIndex 56021 default: 56022 iNdEx = preIndex 56023 skippy, err := skipAuthservice(dAtA[iNdEx:]) 56024 if err != nil { 56025 return err 56026 } 56027 if (skippy < 0) || (iNdEx+skippy) < 0 { 56028 return ErrInvalidLengthAuthservice 56029 } 56030 if (iNdEx + skippy) > l { 56031 return io.ErrUnexpectedEOF 56032 } 56033 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 56034 iNdEx += skippy 56035 } 56036 } 56037 56038 if iNdEx > l { 56039 return io.ErrUnexpectedEOF 56040 } 56041 return nil 56042 } 56043 func (m *StreamSessionEventsRequest) Unmarshal(dAtA []byte) error { 56044 l := len(dAtA) 56045 iNdEx := 0 56046 for iNdEx < l { 56047 preIndex := iNdEx 56048 var wire uint64 56049 for shift := uint(0); ; shift += 7 { 56050 if shift >= 64 { 56051 return ErrIntOverflowAuthservice 56052 } 56053 if iNdEx >= l { 56054 return io.ErrUnexpectedEOF 56055 } 56056 b := dAtA[iNdEx] 56057 iNdEx++ 56058 wire |= uint64(b&0x7F) << shift 56059 if b < 0x80 { 56060 break 56061 } 56062 } 56063 fieldNum := int32(wire >> 3) 56064 wireType := int(wire & 0x7) 56065 if wireType == 4 { 56066 return fmt.Errorf("proto: StreamSessionEventsRequest: wiretype end group for non-group") 56067 } 56068 if fieldNum <= 0 { 56069 return fmt.Errorf("proto: StreamSessionEventsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 56070 } 56071 switch fieldNum { 56072 case 1: 56073 if wireType != 2 { 56074 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 56075 } 56076 var stringLen uint64 56077 for shift := uint(0); ; shift += 7 { 56078 if shift >= 64 { 56079 return ErrIntOverflowAuthservice 56080 } 56081 if iNdEx >= l { 56082 return io.ErrUnexpectedEOF 56083 } 56084 b := dAtA[iNdEx] 56085 iNdEx++ 56086 stringLen |= uint64(b&0x7F) << shift 56087 if b < 0x80 { 56088 break 56089 } 56090 } 56091 intStringLen := int(stringLen) 56092 if intStringLen < 0 { 56093 return ErrInvalidLengthAuthservice 56094 } 56095 postIndex := iNdEx + intStringLen 56096 if postIndex < 0 { 56097 return ErrInvalidLengthAuthservice 56098 } 56099 if postIndex > l { 56100 return io.ErrUnexpectedEOF 56101 } 56102 m.SessionID = string(dAtA[iNdEx:postIndex]) 56103 iNdEx = postIndex 56104 case 2: 56105 if wireType != 0 { 56106 return fmt.Errorf("proto: wrong wireType = %d for field StartIndex", wireType) 56107 } 56108 m.StartIndex = 0 56109 for shift := uint(0); ; shift += 7 { 56110 if shift >= 64 { 56111 return ErrIntOverflowAuthservice 56112 } 56113 if iNdEx >= l { 56114 return io.ErrUnexpectedEOF 56115 } 56116 b := dAtA[iNdEx] 56117 iNdEx++ 56118 m.StartIndex |= int32(b&0x7F) << shift 56119 if b < 0x80 { 56120 break 56121 } 56122 } 56123 default: 56124 iNdEx = preIndex 56125 skippy, err := skipAuthservice(dAtA[iNdEx:]) 56126 if err != nil { 56127 return err 56128 } 56129 if (skippy < 0) || (iNdEx+skippy) < 0 { 56130 return ErrInvalidLengthAuthservice 56131 } 56132 if (iNdEx + skippy) > l { 56133 return io.ErrUnexpectedEOF 56134 } 56135 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 56136 iNdEx += skippy 56137 } 56138 } 56139 56140 if iNdEx > l { 56141 return io.ErrUnexpectedEOF 56142 } 56143 return nil 56144 } 56145 func (m *NodeLogin) Unmarshal(dAtA []byte) error { 56146 l := len(dAtA) 56147 iNdEx := 0 56148 for iNdEx < l { 56149 preIndex := iNdEx 56150 var wire uint64 56151 for shift := uint(0); ; shift += 7 { 56152 if shift >= 64 { 56153 return ErrIntOverflowAuthservice 56154 } 56155 if iNdEx >= l { 56156 return io.ErrUnexpectedEOF 56157 } 56158 b := dAtA[iNdEx] 56159 iNdEx++ 56160 wire |= uint64(b&0x7F) << shift 56161 if b < 0x80 { 56162 break 56163 } 56164 } 56165 fieldNum := int32(wire >> 3) 56166 wireType := int(wire & 0x7) 56167 if wireType == 4 { 56168 return fmt.Errorf("proto: NodeLogin: wiretype end group for non-group") 56169 } 56170 if fieldNum <= 0 { 56171 return fmt.Errorf("proto: NodeLogin: illegal tag %d (wire type %d)", fieldNum, wire) 56172 } 56173 switch fieldNum { 56174 case 1: 56175 if wireType != 2 { 56176 return fmt.Errorf("proto: wrong wireType = %d for field Node", wireType) 56177 } 56178 var stringLen uint64 56179 for shift := uint(0); ; shift += 7 { 56180 if shift >= 64 { 56181 return ErrIntOverflowAuthservice 56182 } 56183 if iNdEx >= l { 56184 return io.ErrUnexpectedEOF 56185 } 56186 b := dAtA[iNdEx] 56187 iNdEx++ 56188 stringLen |= uint64(b&0x7F) << shift 56189 if b < 0x80 { 56190 break 56191 } 56192 } 56193 intStringLen := int(stringLen) 56194 if intStringLen < 0 { 56195 return ErrInvalidLengthAuthservice 56196 } 56197 postIndex := iNdEx + intStringLen 56198 if postIndex < 0 { 56199 return ErrInvalidLengthAuthservice 56200 } 56201 if postIndex > l { 56202 return io.ErrUnexpectedEOF 56203 } 56204 m.Node = string(dAtA[iNdEx:postIndex]) 56205 iNdEx = postIndex 56206 case 2: 56207 if wireType != 2 { 56208 return fmt.Errorf("proto: wrong wireType = %d for field Login", wireType) 56209 } 56210 var stringLen uint64 56211 for shift := uint(0); ; shift += 7 { 56212 if shift >= 64 { 56213 return ErrIntOverflowAuthservice 56214 } 56215 if iNdEx >= l { 56216 return io.ErrUnexpectedEOF 56217 } 56218 b := dAtA[iNdEx] 56219 iNdEx++ 56220 stringLen |= uint64(b&0x7F) << shift 56221 if b < 0x80 { 56222 break 56223 } 56224 } 56225 intStringLen := int(stringLen) 56226 if intStringLen < 0 { 56227 return ErrInvalidLengthAuthservice 56228 } 56229 postIndex := iNdEx + intStringLen 56230 if postIndex < 0 { 56231 return ErrInvalidLengthAuthservice 56232 } 56233 if postIndex > l { 56234 return io.ErrUnexpectedEOF 56235 } 56236 m.Login = string(dAtA[iNdEx:postIndex]) 56237 iNdEx = postIndex 56238 default: 56239 iNdEx = preIndex 56240 skippy, err := skipAuthservice(dAtA[iNdEx:]) 56241 if err != nil { 56242 return err 56243 } 56244 if (skippy < 0) || (iNdEx+skippy) < 0 { 56245 return ErrInvalidLengthAuthservice 56246 } 56247 if (iNdEx + skippy) > l { 56248 return io.ErrUnexpectedEOF 56249 } 56250 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 56251 iNdEx += skippy 56252 } 56253 } 56254 56255 if iNdEx > l { 56256 return io.ErrUnexpectedEOF 56257 } 56258 return nil 56259 } 56260 func (m *AdminAction) Unmarshal(dAtA []byte) error { 56261 l := len(dAtA) 56262 iNdEx := 0 56263 for iNdEx < l { 56264 preIndex := iNdEx 56265 var wire uint64 56266 for shift := uint(0); ; shift += 7 { 56267 if shift >= 64 { 56268 return ErrIntOverflowAuthservice 56269 } 56270 if iNdEx >= l { 56271 return io.ErrUnexpectedEOF 56272 } 56273 b := dAtA[iNdEx] 56274 iNdEx++ 56275 wire |= uint64(b&0x7F) << shift 56276 if b < 0x80 { 56277 break 56278 } 56279 } 56280 fieldNum := int32(wire >> 3) 56281 wireType := int(wire & 0x7) 56282 if wireType == 4 { 56283 return fmt.Errorf("proto: AdminAction: wiretype end group for non-group") 56284 } 56285 if fieldNum <= 0 { 56286 return fmt.Errorf("proto: AdminAction: illegal tag %d (wire type %d)", fieldNum, wire) 56287 } 56288 switch fieldNum { 56289 default: 56290 iNdEx = preIndex 56291 skippy, err := skipAuthservice(dAtA[iNdEx:]) 56292 if err != nil { 56293 return err 56294 } 56295 if (skippy < 0) || (iNdEx+skippy) < 0 { 56296 return ErrInvalidLengthAuthservice 56297 } 56298 if (iNdEx + skippy) > l { 56299 return io.ErrUnexpectedEOF 56300 } 56301 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 56302 iNdEx += skippy 56303 } 56304 } 56305 56306 if iNdEx > l { 56307 return io.ErrUnexpectedEOF 56308 } 56309 return nil 56310 } 56311 func (m *IsMFARequiredResponse) Unmarshal(dAtA []byte) error { 56312 l := len(dAtA) 56313 iNdEx := 0 56314 for iNdEx < l { 56315 preIndex := iNdEx 56316 var wire uint64 56317 for shift := uint(0); ; shift += 7 { 56318 if shift >= 64 { 56319 return ErrIntOverflowAuthservice 56320 } 56321 if iNdEx >= l { 56322 return io.ErrUnexpectedEOF 56323 } 56324 b := dAtA[iNdEx] 56325 iNdEx++ 56326 wire |= uint64(b&0x7F) << shift 56327 if b < 0x80 { 56328 break 56329 } 56330 } 56331 fieldNum := int32(wire >> 3) 56332 wireType := int(wire & 0x7) 56333 if wireType == 4 { 56334 return fmt.Errorf("proto: IsMFARequiredResponse: wiretype end group for non-group") 56335 } 56336 if fieldNum <= 0 { 56337 return fmt.Errorf("proto: IsMFARequiredResponse: illegal tag %d (wire type %d)", fieldNum, wire) 56338 } 56339 switch fieldNum { 56340 case 1: 56341 if wireType != 0 { 56342 return fmt.Errorf("proto: wrong wireType = %d for field Required", wireType) 56343 } 56344 var v int 56345 for shift := uint(0); ; shift += 7 { 56346 if shift >= 64 { 56347 return ErrIntOverflowAuthservice 56348 } 56349 if iNdEx >= l { 56350 return io.ErrUnexpectedEOF 56351 } 56352 b := dAtA[iNdEx] 56353 iNdEx++ 56354 v |= int(b&0x7F) << shift 56355 if b < 0x80 { 56356 break 56357 } 56358 } 56359 m.Required = bool(v != 0) 56360 case 2: 56361 if wireType != 0 { 56362 return fmt.Errorf("proto: wrong wireType = %d for field MFARequired", wireType) 56363 } 56364 m.MFARequired = 0 56365 for shift := uint(0); ; shift += 7 { 56366 if shift >= 64 { 56367 return ErrIntOverflowAuthservice 56368 } 56369 if iNdEx >= l { 56370 return io.ErrUnexpectedEOF 56371 } 56372 b := dAtA[iNdEx] 56373 iNdEx++ 56374 m.MFARequired |= MFARequired(b&0x7F) << shift 56375 if b < 0x80 { 56376 break 56377 } 56378 } 56379 default: 56380 iNdEx = preIndex 56381 skippy, err := skipAuthservice(dAtA[iNdEx:]) 56382 if err != nil { 56383 return err 56384 } 56385 if (skippy < 0) || (iNdEx+skippy) < 0 { 56386 return ErrInvalidLengthAuthservice 56387 } 56388 if (iNdEx + skippy) > l { 56389 return io.ErrUnexpectedEOF 56390 } 56391 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 56392 iNdEx += skippy 56393 } 56394 } 56395 56396 if iNdEx > l { 56397 return io.ErrUnexpectedEOF 56398 } 56399 return nil 56400 } 56401 func (m *GetEventsRequest) Unmarshal(dAtA []byte) error { 56402 l := len(dAtA) 56403 iNdEx := 0 56404 for iNdEx < l { 56405 preIndex := iNdEx 56406 var wire uint64 56407 for shift := uint(0); ; shift += 7 { 56408 if shift >= 64 { 56409 return ErrIntOverflowAuthservice 56410 } 56411 if iNdEx >= l { 56412 return io.ErrUnexpectedEOF 56413 } 56414 b := dAtA[iNdEx] 56415 iNdEx++ 56416 wire |= uint64(b&0x7F) << shift 56417 if b < 0x80 { 56418 break 56419 } 56420 } 56421 fieldNum := int32(wire >> 3) 56422 wireType := int(wire & 0x7) 56423 if wireType == 4 { 56424 return fmt.Errorf("proto: GetEventsRequest: wiretype end group for non-group") 56425 } 56426 if fieldNum <= 0 { 56427 return fmt.Errorf("proto: GetEventsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 56428 } 56429 switch fieldNum { 56430 case 1: 56431 if wireType != 2 { 56432 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 56433 } 56434 var stringLen uint64 56435 for shift := uint(0); ; shift += 7 { 56436 if shift >= 64 { 56437 return ErrIntOverflowAuthservice 56438 } 56439 if iNdEx >= l { 56440 return io.ErrUnexpectedEOF 56441 } 56442 b := dAtA[iNdEx] 56443 iNdEx++ 56444 stringLen |= uint64(b&0x7F) << shift 56445 if b < 0x80 { 56446 break 56447 } 56448 } 56449 intStringLen := int(stringLen) 56450 if intStringLen < 0 { 56451 return ErrInvalidLengthAuthservice 56452 } 56453 postIndex := iNdEx + intStringLen 56454 if postIndex < 0 { 56455 return ErrInvalidLengthAuthservice 56456 } 56457 if postIndex > l { 56458 return io.ErrUnexpectedEOF 56459 } 56460 m.Namespace = string(dAtA[iNdEx:postIndex]) 56461 iNdEx = postIndex 56462 case 2: 56463 if wireType != 2 { 56464 return fmt.Errorf("proto: wrong wireType = %d for field StartDate", wireType) 56465 } 56466 var msglen int 56467 for shift := uint(0); ; shift += 7 { 56468 if shift >= 64 { 56469 return ErrIntOverflowAuthservice 56470 } 56471 if iNdEx >= l { 56472 return io.ErrUnexpectedEOF 56473 } 56474 b := dAtA[iNdEx] 56475 iNdEx++ 56476 msglen |= int(b&0x7F) << shift 56477 if b < 0x80 { 56478 break 56479 } 56480 } 56481 if msglen < 0 { 56482 return ErrInvalidLengthAuthservice 56483 } 56484 postIndex := iNdEx + msglen 56485 if postIndex < 0 { 56486 return ErrInvalidLengthAuthservice 56487 } 56488 if postIndex > l { 56489 return io.ErrUnexpectedEOF 56490 } 56491 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.StartDate, dAtA[iNdEx:postIndex]); err != nil { 56492 return err 56493 } 56494 iNdEx = postIndex 56495 case 3: 56496 if wireType != 2 { 56497 return fmt.Errorf("proto: wrong wireType = %d for field EndDate", wireType) 56498 } 56499 var msglen int 56500 for shift := uint(0); ; shift += 7 { 56501 if shift >= 64 { 56502 return ErrIntOverflowAuthservice 56503 } 56504 if iNdEx >= l { 56505 return io.ErrUnexpectedEOF 56506 } 56507 b := dAtA[iNdEx] 56508 iNdEx++ 56509 msglen |= int(b&0x7F) << shift 56510 if b < 0x80 { 56511 break 56512 } 56513 } 56514 if msglen < 0 { 56515 return ErrInvalidLengthAuthservice 56516 } 56517 postIndex := iNdEx + msglen 56518 if postIndex < 0 { 56519 return ErrInvalidLengthAuthservice 56520 } 56521 if postIndex > l { 56522 return io.ErrUnexpectedEOF 56523 } 56524 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.EndDate, dAtA[iNdEx:postIndex]); err != nil { 56525 return err 56526 } 56527 iNdEx = postIndex 56528 case 4: 56529 if wireType != 2 { 56530 return fmt.Errorf("proto: wrong wireType = %d for field EventTypes", wireType) 56531 } 56532 var stringLen uint64 56533 for shift := uint(0); ; shift += 7 { 56534 if shift >= 64 { 56535 return ErrIntOverflowAuthservice 56536 } 56537 if iNdEx >= l { 56538 return io.ErrUnexpectedEOF 56539 } 56540 b := dAtA[iNdEx] 56541 iNdEx++ 56542 stringLen |= uint64(b&0x7F) << shift 56543 if b < 0x80 { 56544 break 56545 } 56546 } 56547 intStringLen := int(stringLen) 56548 if intStringLen < 0 { 56549 return ErrInvalidLengthAuthservice 56550 } 56551 postIndex := iNdEx + intStringLen 56552 if postIndex < 0 { 56553 return ErrInvalidLengthAuthservice 56554 } 56555 if postIndex > l { 56556 return io.ErrUnexpectedEOF 56557 } 56558 m.EventTypes = append(m.EventTypes, string(dAtA[iNdEx:postIndex])) 56559 iNdEx = postIndex 56560 case 5: 56561 if wireType != 0 { 56562 return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) 56563 } 56564 m.Limit = 0 56565 for shift := uint(0); ; shift += 7 { 56566 if shift >= 64 { 56567 return ErrIntOverflowAuthservice 56568 } 56569 if iNdEx >= l { 56570 return io.ErrUnexpectedEOF 56571 } 56572 b := dAtA[iNdEx] 56573 iNdEx++ 56574 m.Limit |= int32(b&0x7F) << shift 56575 if b < 0x80 { 56576 break 56577 } 56578 } 56579 case 6: 56580 if wireType != 2 { 56581 return fmt.Errorf("proto: wrong wireType = %d for field StartKey", wireType) 56582 } 56583 var stringLen uint64 56584 for shift := uint(0); ; shift += 7 { 56585 if shift >= 64 { 56586 return ErrIntOverflowAuthservice 56587 } 56588 if iNdEx >= l { 56589 return io.ErrUnexpectedEOF 56590 } 56591 b := dAtA[iNdEx] 56592 iNdEx++ 56593 stringLen |= uint64(b&0x7F) << shift 56594 if b < 0x80 { 56595 break 56596 } 56597 } 56598 intStringLen := int(stringLen) 56599 if intStringLen < 0 { 56600 return ErrInvalidLengthAuthservice 56601 } 56602 postIndex := iNdEx + intStringLen 56603 if postIndex < 0 { 56604 return ErrInvalidLengthAuthservice 56605 } 56606 if postIndex > l { 56607 return io.ErrUnexpectedEOF 56608 } 56609 m.StartKey = string(dAtA[iNdEx:postIndex]) 56610 iNdEx = postIndex 56611 case 7: 56612 if wireType != 0 { 56613 return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType) 56614 } 56615 m.Order = 0 56616 for shift := uint(0); ; shift += 7 { 56617 if shift >= 64 { 56618 return ErrIntOverflowAuthservice 56619 } 56620 if iNdEx >= l { 56621 return io.ErrUnexpectedEOF 56622 } 56623 b := dAtA[iNdEx] 56624 iNdEx++ 56625 m.Order |= Order(b&0x7F) << shift 56626 if b < 0x80 { 56627 break 56628 } 56629 } 56630 default: 56631 iNdEx = preIndex 56632 skippy, err := skipAuthservice(dAtA[iNdEx:]) 56633 if err != nil { 56634 return err 56635 } 56636 if (skippy < 0) || (iNdEx+skippy) < 0 { 56637 return ErrInvalidLengthAuthservice 56638 } 56639 if (iNdEx + skippy) > l { 56640 return io.ErrUnexpectedEOF 56641 } 56642 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 56643 iNdEx += skippy 56644 } 56645 } 56646 56647 if iNdEx > l { 56648 return io.ErrUnexpectedEOF 56649 } 56650 return nil 56651 } 56652 func (m *GetSessionEventsRequest) Unmarshal(dAtA []byte) error { 56653 l := len(dAtA) 56654 iNdEx := 0 56655 for iNdEx < l { 56656 preIndex := iNdEx 56657 var wire uint64 56658 for shift := uint(0); ; shift += 7 { 56659 if shift >= 64 { 56660 return ErrIntOverflowAuthservice 56661 } 56662 if iNdEx >= l { 56663 return io.ErrUnexpectedEOF 56664 } 56665 b := dAtA[iNdEx] 56666 iNdEx++ 56667 wire |= uint64(b&0x7F) << shift 56668 if b < 0x80 { 56669 break 56670 } 56671 } 56672 fieldNum := int32(wire >> 3) 56673 wireType := int(wire & 0x7) 56674 if wireType == 4 { 56675 return fmt.Errorf("proto: GetSessionEventsRequest: wiretype end group for non-group") 56676 } 56677 if fieldNum <= 0 { 56678 return fmt.Errorf("proto: GetSessionEventsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 56679 } 56680 switch fieldNum { 56681 case 1: 56682 if wireType != 2 { 56683 return fmt.Errorf("proto: wrong wireType = %d for field StartDate", wireType) 56684 } 56685 var msglen int 56686 for shift := uint(0); ; shift += 7 { 56687 if shift >= 64 { 56688 return ErrIntOverflowAuthservice 56689 } 56690 if iNdEx >= l { 56691 return io.ErrUnexpectedEOF 56692 } 56693 b := dAtA[iNdEx] 56694 iNdEx++ 56695 msglen |= int(b&0x7F) << shift 56696 if b < 0x80 { 56697 break 56698 } 56699 } 56700 if msglen < 0 { 56701 return ErrInvalidLengthAuthservice 56702 } 56703 postIndex := iNdEx + msglen 56704 if postIndex < 0 { 56705 return ErrInvalidLengthAuthservice 56706 } 56707 if postIndex > l { 56708 return io.ErrUnexpectedEOF 56709 } 56710 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.StartDate, dAtA[iNdEx:postIndex]); err != nil { 56711 return err 56712 } 56713 iNdEx = postIndex 56714 case 2: 56715 if wireType != 2 { 56716 return fmt.Errorf("proto: wrong wireType = %d for field EndDate", wireType) 56717 } 56718 var msglen int 56719 for shift := uint(0); ; shift += 7 { 56720 if shift >= 64 { 56721 return ErrIntOverflowAuthservice 56722 } 56723 if iNdEx >= l { 56724 return io.ErrUnexpectedEOF 56725 } 56726 b := dAtA[iNdEx] 56727 iNdEx++ 56728 msglen |= int(b&0x7F) << shift 56729 if b < 0x80 { 56730 break 56731 } 56732 } 56733 if msglen < 0 { 56734 return ErrInvalidLengthAuthservice 56735 } 56736 postIndex := iNdEx + msglen 56737 if postIndex < 0 { 56738 return ErrInvalidLengthAuthservice 56739 } 56740 if postIndex > l { 56741 return io.ErrUnexpectedEOF 56742 } 56743 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.EndDate, dAtA[iNdEx:postIndex]); err != nil { 56744 return err 56745 } 56746 iNdEx = postIndex 56747 case 3: 56748 if wireType != 0 { 56749 return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) 56750 } 56751 m.Limit = 0 56752 for shift := uint(0); ; shift += 7 { 56753 if shift >= 64 { 56754 return ErrIntOverflowAuthservice 56755 } 56756 if iNdEx >= l { 56757 return io.ErrUnexpectedEOF 56758 } 56759 b := dAtA[iNdEx] 56760 iNdEx++ 56761 m.Limit |= int32(b&0x7F) << shift 56762 if b < 0x80 { 56763 break 56764 } 56765 } 56766 case 4: 56767 if wireType != 2 { 56768 return fmt.Errorf("proto: wrong wireType = %d for field StartKey", wireType) 56769 } 56770 var stringLen uint64 56771 for shift := uint(0); ; shift += 7 { 56772 if shift >= 64 { 56773 return ErrIntOverflowAuthservice 56774 } 56775 if iNdEx >= l { 56776 return io.ErrUnexpectedEOF 56777 } 56778 b := dAtA[iNdEx] 56779 iNdEx++ 56780 stringLen |= uint64(b&0x7F) << shift 56781 if b < 0x80 { 56782 break 56783 } 56784 } 56785 intStringLen := int(stringLen) 56786 if intStringLen < 0 { 56787 return ErrInvalidLengthAuthservice 56788 } 56789 postIndex := iNdEx + intStringLen 56790 if postIndex < 0 { 56791 return ErrInvalidLengthAuthservice 56792 } 56793 if postIndex > l { 56794 return io.ErrUnexpectedEOF 56795 } 56796 m.StartKey = string(dAtA[iNdEx:postIndex]) 56797 iNdEx = postIndex 56798 case 5: 56799 if wireType != 0 { 56800 return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType) 56801 } 56802 m.Order = 0 56803 for shift := uint(0); ; shift += 7 { 56804 if shift >= 64 { 56805 return ErrIntOverflowAuthservice 56806 } 56807 if iNdEx >= l { 56808 return io.ErrUnexpectedEOF 56809 } 56810 b := dAtA[iNdEx] 56811 iNdEx++ 56812 m.Order |= Order(b&0x7F) << shift 56813 if b < 0x80 { 56814 break 56815 } 56816 } 56817 default: 56818 iNdEx = preIndex 56819 skippy, err := skipAuthservice(dAtA[iNdEx:]) 56820 if err != nil { 56821 return err 56822 } 56823 if (skippy < 0) || (iNdEx+skippy) < 0 { 56824 return ErrInvalidLengthAuthservice 56825 } 56826 if (iNdEx + skippy) > l { 56827 return io.ErrUnexpectedEOF 56828 } 56829 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 56830 iNdEx += skippy 56831 } 56832 } 56833 56834 if iNdEx > l { 56835 return io.ErrUnexpectedEOF 56836 } 56837 return nil 56838 } 56839 func (m *Events) Unmarshal(dAtA []byte) error { 56840 l := len(dAtA) 56841 iNdEx := 0 56842 for iNdEx < l { 56843 preIndex := iNdEx 56844 var wire uint64 56845 for shift := uint(0); ; shift += 7 { 56846 if shift >= 64 { 56847 return ErrIntOverflowAuthservice 56848 } 56849 if iNdEx >= l { 56850 return io.ErrUnexpectedEOF 56851 } 56852 b := dAtA[iNdEx] 56853 iNdEx++ 56854 wire |= uint64(b&0x7F) << shift 56855 if b < 0x80 { 56856 break 56857 } 56858 } 56859 fieldNum := int32(wire >> 3) 56860 wireType := int(wire & 0x7) 56861 if wireType == 4 { 56862 return fmt.Errorf("proto: Events: wiretype end group for non-group") 56863 } 56864 if fieldNum <= 0 { 56865 return fmt.Errorf("proto: Events: illegal tag %d (wire type %d)", fieldNum, wire) 56866 } 56867 switch fieldNum { 56868 case 1: 56869 if wireType != 2 { 56870 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) 56871 } 56872 var msglen int 56873 for shift := uint(0); ; shift += 7 { 56874 if shift >= 64 { 56875 return ErrIntOverflowAuthservice 56876 } 56877 if iNdEx >= l { 56878 return io.ErrUnexpectedEOF 56879 } 56880 b := dAtA[iNdEx] 56881 iNdEx++ 56882 msglen |= int(b&0x7F) << shift 56883 if b < 0x80 { 56884 break 56885 } 56886 } 56887 if msglen < 0 { 56888 return ErrInvalidLengthAuthservice 56889 } 56890 postIndex := iNdEx + msglen 56891 if postIndex < 0 { 56892 return ErrInvalidLengthAuthservice 56893 } 56894 if postIndex > l { 56895 return io.ErrUnexpectedEOF 56896 } 56897 m.Items = append(m.Items, &events.OneOf{}) 56898 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 56899 return err 56900 } 56901 iNdEx = postIndex 56902 case 2: 56903 if wireType != 2 { 56904 return fmt.Errorf("proto: wrong wireType = %d for field LastKey", wireType) 56905 } 56906 var stringLen uint64 56907 for shift := uint(0); ; shift += 7 { 56908 if shift >= 64 { 56909 return ErrIntOverflowAuthservice 56910 } 56911 if iNdEx >= l { 56912 return io.ErrUnexpectedEOF 56913 } 56914 b := dAtA[iNdEx] 56915 iNdEx++ 56916 stringLen |= uint64(b&0x7F) << shift 56917 if b < 0x80 { 56918 break 56919 } 56920 } 56921 intStringLen := int(stringLen) 56922 if intStringLen < 0 { 56923 return ErrInvalidLengthAuthservice 56924 } 56925 postIndex := iNdEx + intStringLen 56926 if postIndex < 0 { 56927 return ErrInvalidLengthAuthservice 56928 } 56929 if postIndex > l { 56930 return io.ErrUnexpectedEOF 56931 } 56932 m.LastKey = string(dAtA[iNdEx:postIndex]) 56933 iNdEx = postIndex 56934 default: 56935 iNdEx = preIndex 56936 skippy, err := skipAuthservice(dAtA[iNdEx:]) 56937 if err != nil { 56938 return err 56939 } 56940 if (skippy < 0) || (iNdEx+skippy) < 0 { 56941 return ErrInvalidLengthAuthservice 56942 } 56943 if (iNdEx + skippy) > l { 56944 return io.ErrUnexpectedEOF 56945 } 56946 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 56947 iNdEx += skippy 56948 } 56949 } 56950 56951 if iNdEx > l { 56952 return io.ErrUnexpectedEOF 56953 } 56954 return nil 56955 } 56956 func (m *GetLocksRequest) Unmarshal(dAtA []byte) error { 56957 l := len(dAtA) 56958 iNdEx := 0 56959 for iNdEx < l { 56960 preIndex := iNdEx 56961 var wire uint64 56962 for shift := uint(0); ; shift += 7 { 56963 if shift >= 64 { 56964 return ErrIntOverflowAuthservice 56965 } 56966 if iNdEx >= l { 56967 return io.ErrUnexpectedEOF 56968 } 56969 b := dAtA[iNdEx] 56970 iNdEx++ 56971 wire |= uint64(b&0x7F) << shift 56972 if b < 0x80 { 56973 break 56974 } 56975 } 56976 fieldNum := int32(wire >> 3) 56977 wireType := int(wire & 0x7) 56978 if wireType == 4 { 56979 return fmt.Errorf("proto: GetLocksRequest: wiretype end group for non-group") 56980 } 56981 if fieldNum <= 0 { 56982 return fmt.Errorf("proto: GetLocksRequest: illegal tag %d (wire type %d)", fieldNum, wire) 56983 } 56984 switch fieldNum { 56985 case 1: 56986 if wireType != 2 { 56987 return fmt.Errorf("proto: wrong wireType = %d for field Targets", wireType) 56988 } 56989 var msglen int 56990 for shift := uint(0); ; shift += 7 { 56991 if shift >= 64 { 56992 return ErrIntOverflowAuthservice 56993 } 56994 if iNdEx >= l { 56995 return io.ErrUnexpectedEOF 56996 } 56997 b := dAtA[iNdEx] 56998 iNdEx++ 56999 msglen |= int(b&0x7F) << shift 57000 if b < 0x80 { 57001 break 57002 } 57003 } 57004 if msglen < 0 { 57005 return ErrInvalidLengthAuthservice 57006 } 57007 postIndex := iNdEx + msglen 57008 if postIndex < 0 { 57009 return ErrInvalidLengthAuthservice 57010 } 57011 if postIndex > l { 57012 return io.ErrUnexpectedEOF 57013 } 57014 m.Targets = append(m.Targets, &types.LockTarget{}) 57015 if err := m.Targets[len(m.Targets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 57016 return err 57017 } 57018 iNdEx = postIndex 57019 case 2: 57020 if wireType != 0 { 57021 return fmt.Errorf("proto: wrong wireType = %d for field InForceOnly", wireType) 57022 } 57023 var v int 57024 for shift := uint(0); ; shift += 7 { 57025 if shift >= 64 { 57026 return ErrIntOverflowAuthservice 57027 } 57028 if iNdEx >= l { 57029 return io.ErrUnexpectedEOF 57030 } 57031 b := dAtA[iNdEx] 57032 iNdEx++ 57033 v |= int(b&0x7F) << shift 57034 if b < 0x80 { 57035 break 57036 } 57037 } 57038 m.InForceOnly = bool(v != 0) 57039 default: 57040 iNdEx = preIndex 57041 skippy, err := skipAuthservice(dAtA[iNdEx:]) 57042 if err != nil { 57043 return err 57044 } 57045 if (skippy < 0) || (iNdEx+skippy) < 0 { 57046 return ErrInvalidLengthAuthservice 57047 } 57048 if (iNdEx + skippy) > l { 57049 return io.ErrUnexpectedEOF 57050 } 57051 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57052 iNdEx += skippy 57053 } 57054 } 57055 57056 if iNdEx > l { 57057 return io.ErrUnexpectedEOF 57058 } 57059 return nil 57060 } 57061 func (m *GetLocksResponse) Unmarshal(dAtA []byte) error { 57062 l := len(dAtA) 57063 iNdEx := 0 57064 for iNdEx < l { 57065 preIndex := iNdEx 57066 var wire uint64 57067 for shift := uint(0); ; shift += 7 { 57068 if shift >= 64 { 57069 return ErrIntOverflowAuthservice 57070 } 57071 if iNdEx >= l { 57072 return io.ErrUnexpectedEOF 57073 } 57074 b := dAtA[iNdEx] 57075 iNdEx++ 57076 wire |= uint64(b&0x7F) << shift 57077 if b < 0x80 { 57078 break 57079 } 57080 } 57081 fieldNum := int32(wire >> 3) 57082 wireType := int(wire & 0x7) 57083 if wireType == 4 { 57084 return fmt.Errorf("proto: GetLocksResponse: wiretype end group for non-group") 57085 } 57086 if fieldNum <= 0 { 57087 return fmt.Errorf("proto: GetLocksResponse: illegal tag %d (wire type %d)", fieldNum, wire) 57088 } 57089 switch fieldNum { 57090 case 1: 57091 if wireType != 2 { 57092 return fmt.Errorf("proto: wrong wireType = %d for field Locks", wireType) 57093 } 57094 var msglen int 57095 for shift := uint(0); ; shift += 7 { 57096 if shift >= 64 { 57097 return ErrIntOverflowAuthservice 57098 } 57099 if iNdEx >= l { 57100 return io.ErrUnexpectedEOF 57101 } 57102 b := dAtA[iNdEx] 57103 iNdEx++ 57104 msglen |= int(b&0x7F) << shift 57105 if b < 0x80 { 57106 break 57107 } 57108 } 57109 if msglen < 0 { 57110 return ErrInvalidLengthAuthservice 57111 } 57112 postIndex := iNdEx + msglen 57113 if postIndex < 0 { 57114 return ErrInvalidLengthAuthservice 57115 } 57116 if postIndex > l { 57117 return io.ErrUnexpectedEOF 57118 } 57119 m.Locks = append(m.Locks, &types.LockV2{}) 57120 if err := m.Locks[len(m.Locks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 57121 return err 57122 } 57123 iNdEx = postIndex 57124 default: 57125 iNdEx = preIndex 57126 skippy, err := skipAuthservice(dAtA[iNdEx:]) 57127 if err != nil { 57128 return err 57129 } 57130 if (skippy < 0) || (iNdEx+skippy) < 0 { 57131 return ErrInvalidLengthAuthservice 57132 } 57133 if (iNdEx + skippy) > l { 57134 return io.ErrUnexpectedEOF 57135 } 57136 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57137 iNdEx += skippy 57138 } 57139 } 57140 57141 if iNdEx > l { 57142 return io.ErrUnexpectedEOF 57143 } 57144 return nil 57145 } 57146 func (m *GetLockRequest) Unmarshal(dAtA []byte) error { 57147 l := len(dAtA) 57148 iNdEx := 0 57149 for iNdEx < l { 57150 preIndex := iNdEx 57151 var wire uint64 57152 for shift := uint(0); ; shift += 7 { 57153 if shift >= 64 { 57154 return ErrIntOverflowAuthservice 57155 } 57156 if iNdEx >= l { 57157 return io.ErrUnexpectedEOF 57158 } 57159 b := dAtA[iNdEx] 57160 iNdEx++ 57161 wire |= uint64(b&0x7F) << shift 57162 if b < 0x80 { 57163 break 57164 } 57165 } 57166 fieldNum := int32(wire >> 3) 57167 wireType := int(wire & 0x7) 57168 if wireType == 4 { 57169 return fmt.Errorf("proto: GetLockRequest: wiretype end group for non-group") 57170 } 57171 if fieldNum <= 0 { 57172 return fmt.Errorf("proto: GetLockRequest: illegal tag %d (wire type %d)", fieldNum, wire) 57173 } 57174 switch fieldNum { 57175 case 1: 57176 if wireType != 2 { 57177 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 57178 } 57179 var stringLen uint64 57180 for shift := uint(0); ; shift += 7 { 57181 if shift >= 64 { 57182 return ErrIntOverflowAuthservice 57183 } 57184 if iNdEx >= l { 57185 return io.ErrUnexpectedEOF 57186 } 57187 b := dAtA[iNdEx] 57188 iNdEx++ 57189 stringLen |= uint64(b&0x7F) << shift 57190 if b < 0x80 { 57191 break 57192 } 57193 } 57194 intStringLen := int(stringLen) 57195 if intStringLen < 0 { 57196 return ErrInvalidLengthAuthservice 57197 } 57198 postIndex := iNdEx + intStringLen 57199 if postIndex < 0 { 57200 return ErrInvalidLengthAuthservice 57201 } 57202 if postIndex > l { 57203 return io.ErrUnexpectedEOF 57204 } 57205 m.Name = string(dAtA[iNdEx:postIndex]) 57206 iNdEx = postIndex 57207 default: 57208 iNdEx = preIndex 57209 skippy, err := skipAuthservice(dAtA[iNdEx:]) 57210 if err != nil { 57211 return err 57212 } 57213 if (skippy < 0) || (iNdEx+skippy) < 0 { 57214 return ErrInvalidLengthAuthservice 57215 } 57216 if (iNdEx + skippy) > l { 57217 return io.ErrUnexpectedEOF 57218 } 57219 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57220 iNdEx += skippy 57221 } 57222 } 57223 57224 if iNdEx > l { 57225 return io.ErrUnexpectedEOF 57226 } 57227 return nil 57228 } 57229 func (m *DeleteLockRequest) Unmarshal(dAtA []byte) error { 57230 l := len(dAtA) 57231 iNdEx := 0 57232 for iNdEx < l { 57233 preIndex := iNdEx 57234 var wire uint64 57235 for shift := uint(0); ; shift += 7 { 57236 if shift >= 64 { 57237 return ErrIntOverflowAuthservice 57238 } 57239 if iNdEx >= l { 57240 return io.ErrUnexpectedEOF 57241 } 57242 b := dAtA[iNdEx] 57243 iNdEx++ 57244 wire |= uint64(b&0x7F) << shift 57245 if b < 0x80 { 57246 break 57247 } 57248 } 57249 fieldNum := int32(wire >> 3) 57250 wireType := int(wire & 0x7) 57251 if wireType == 4 { 57252 return fmt.Errorf("proto: DeleteLockRequest: wiretype end group for non-group") 57253 } 57254 if fieldNum <= 0 { 57255 return fmt.Errorf("proto: DeleteLockRequest: illegal tag %d (wire type %d)", fieldNum, wire) 57256 } 57257 switch fieldNum { 57258 case 1: 57259 if wireType != 2 { 57260 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 57261 } 57262 var stringLen uint64 57263 for shift := uint(0); ; shift += 7 { 57264 if shift >= 64 { 57265 return ErrIntOverflowAuthservice 57266 } 57267 if iNdEx >= l { 57268 return io.ErrUnexpectedEOF 57269 } 57270 b := dAtA[iNdEx] 57271 iNdEx++ 57272 stringLen |= uint64(b&0x7F) << shift 57273 if b < 0x80 { 57274 break 57275 } 57276 } 57277 intStringLen := int(stringLen) 57278 if intStringLen < 0 { 57279 return ErrInvalidLengthAuthservice 57280 } 57281 postIndex := iNdEx + intStringLen 57282 if postIndex < 0 { 57283 return ErrInvalidLengthAuthservice 57284 } 57285 if postIndex > l { 57286 return io.ErrUnexpectedEOF 57287 } 57288 m.Name = string(dAtA[iNdEx:postIndex]) 57289 iNdEx = postIndex 57290 default: 57291 iNdEx = preIndex 57292 skippy, err := skipAuthservice(dAtA[iNdEx:]) 57293 if err != nil { 57294 return err 57295 } 57296 if (skippy < 0) || (iNdEx+skippy) < 0 { 57297 return ErrInvalidLengthAuthservice 57298 } 57299 if (iNdEx + skippy) > l { 57300 return io.ErrUnexpectedEOF 57301 } 57302 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57303 iNdEx += skippy 57304 } 57305 } 57306 57307 if iNdEx > l { 57308 return io.ErrUnexpectedEOF 57309 } 57310 return nil 57311 } 57312 func (m *ReplaceRemoteLocksRequest) Unmarshal(dAtA []byte) error { 57313 l := len(dAtA) 57314 iNdEx := 0 57315 for iNdEx < l { 57316 preIndex := iNdEx 57317 var wire uint64 57318 for shift := uint(0); ; shift += 7 { 57319 if shift >= 64 { 57320 return ErrIntOverflowAuthservice 57321 } 57322 if iNdEx >= l { 57323 return io.ErrUnexpectedEOF 57324 } 57325 b := dAtA[iNdEx] 57326 iNdEx++ 57327 wire |= uint64(b&0x7F) << shift 57328 if b < 0x80 { 57329 break 57330 } 57331 } 57332 fieldNum := int32(wire >> 3) 57333 wireType := int(wire & 0x7) 57334 if wireType == 4 { 57335 return fmt.Errorf("proto: ReplaceRemoteLocksRequest: wiretype end group for non-group") 57336 } 57337 if fieldNum <= 0 { 57338 return fmt.Errorf("proto: ReplaceRemoteLocksRequest: illegal tag %d (wire type %d)", fieldNum, wire) 57339 } 57340 switch fieldNum { 57341 case 1: 57342 if wireType != 2 { 57343 return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) 57344 } 57345 var stringLen uint64 57346 for shift := uint(0); ; shift += 7 { 57347 if shift >= 64 { 57348 return ErrIntOverflowAuthservice 57349 } 57350 if iNdEx >= l { 57351 return io.ErrUnexpectedEOF 57352 } 57353 b := dAtA[iNdEx] 57354 iNdEx++ 57355 stringLen |= uint64(b&0x7F) << shift 57356 if b < 0x80 { 57357 break 57358 } 57359 } 57360 intStringLen := int(stringLen) 57361 if intStringLen < 0 { 57362 return ErrInvalidLengthAuthservice 57363 } 57364 postIndex := iNdEx + intStringLen 57365 if postIndex < 0 { 57366 return ErrInvalidLengthAuthservice 57367 } 57368 if postIndex > l { 57369 return io.ErrUnexpectedEOF 57370 } 57371 m.ClusterName = string(dAtA[iNdEx:postIndex]) 57372 iNdEx = postIndex 57373 case 2: 57374 if wireType != 2 { 57375 return fmt.Errorf("proto: wrong wireType = %d for field Locks", wireType) 57376 } 57377 var msglen int 57378 for shift := uint(0); ; shift += 7 { 57379 if shift >= 64 { 57380 return ErrIntOverflowAuthservice 57381 } 57382 if iNdEx >= l { 57383 return io.ErrUnexpectedEOF 57384 } 57385 b := dAtA[iNdEx] 57386 iNdEx++ 57387 msglen |= int(b&0x7F) << shift 57388 if b < 0x80 { 57389 break 57390 } 57391 } 57392 if msglen < 0 { 57393 return ErrInvalidLengthAuthservice 57394 } 57395 postIndex := iNdEx + msglen 57396 if postIndex < 0 { 57397 return ErrInvalidLengthAuthservice 57398 } 57399 if postIndex > l { 57400 return io.ErrUnexpectedEOF 57401 } 57402 m.Locks = append(m.Locks, &types.LockV2{}) 57403 if err := m.Locks[len(m.Locks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 57404 return err 57405 } 57406 iNdEx = postIndex 57407 default: 57408 iNdEx = preIndex 57409 skippy, err := skipAuthservice(dAtA[iNdEx:]) 57410 if err != nil { 57411 return err 57412 } 57413 if (skippy < 0) || (iNdEx+skippy) < 0 { 57414 return ErrInvalidLengthAuthservice 57415 } 57416 if (iNdEx + skippy) > l { 57417 return io.ErrUnexpectedEOF 57418 } 57419 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57420 iNdEx += skippy 57421 } 57422 } 57423 57424 if iNdEx > l { 57425 return io.ErrUnexpectedEOF 57426 } 57427 return nil 57428 } 57429 func (m *GetWindowsDesktopServicesResponse) Unmarshal(dAtA []byte) error { 57430 l := len(dAtA) 57431 iNdEx := 0 57432 for iNdEx < l { 57433 preIndex := iNdEx 57434 var wire uint64 57435 for shift := uint(0); ; shift += 7 { 57436 if shift >= 64 { 57437 return ErrIntOverflowAuthservice 57438 } 57439 if iNdEx >= l { 57440 return io.ErrUnexpectedEOF 57441 } 57442 b := dAtA[iNdEx] 57443 iNdEx++ 57444 wire |= uint64(b&0x7F) << shift 57445 if b < 0x80 { 57446 break 57447 } 57448 } 57449 fieldNum := int32(wire >> 3) 57450 wireType := int(wire & 0x7) 57451 if wireType == 4 { 57452 return fmt.Errorf("proto: GetWindowsDesktopServicesResponse: wiretype end group for non-group") 57453 } 57454 if fieldNum <= 0 { 57455 return fmt.Errorf("proto: GetWindowsDesktopServicesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 57456 } 57457 switch fieldNum { 57458 case 1: 57459 if wireType != 2 { 57460 return fmt.Errorf("proto: wrong wireType = %d for field Services", wireType) 57461 } 57462 var msglen int 57463 for shift := uint(0); ; shift += 7 { 57464 if shift >= 64 { 57465 return ErrIntOverflowAuthservice 57466 } 57467 if iNdEx >= l { 57468 return io.ErrUnexpectedEOF 57469 } 57470 b := dAtA[iNdEx] 57471 iNdEx++ 57472 msglen |= int(b&0x7F) << shift 57473 if b < 0x80 { 57474 break 57475 } 57476 } 57477 if msglen < 0 { 57478 return ErrInvalidLengthAuthservice 57479 } 57480 postIndex := iNdEx + msglen 57481 if postIndex < 0 { 57482 return ErrInvalidLengthAuthservice 57483 } 57484 if postIndex > l { 57485 return io.ErrUnexpectedEOF 57486 } 57487 m.Services = append(m.Services, &types.WindowsDesktopServiceV3{}) 57488 if err := m.Services[len(m.Services)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 57489 return err 57490 } 57491 iNdEx = postIndex 57492 default: 57493 iNdEx = preIndex 57494 skippy, err := skipAuthservice(dAtA[iNdEx:]) 57495 if err != nil { 57496 return err 57497 } 57498 if (skippy < 0) || (iNdEx+skippy) < 0 { 57499 return ErrInvalidLengthAuthservice 57500 } 57501 if (iNdEx + skippy) > l { 57502 return io.ErrUnexpectedEOF 57503 } 57504 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57505 iNdEx += skippy 57506 } 57507 } 57508 57509 if iNdEx > l { 57510 return io.ErrUnexpectedEOF 57511 } 57512 return nil 57513 } 57514 func (m *GetWindowsDesktopServiceRequest) Unmarshal(dAtA []byte) error { 57515 l := len(dAtA) 57516 iNdEx := 0 57517 for iNdEx < l { 57518 preIndex := iNdEx 57519 var wire uint64 57520 for shift := uint(0); ; shift += 7 { 57521 if shift >= 64 { 57522 return ErrIntOverflowAuthservice 57523 } 57524 if iNdEx >= l { 57525 return io.ErrUnexpectedEOF 57526 } 57527 b := dAtA[iNdEx] 57528 iNdEx++ 57529 wire |= uint64(b&0x7F) << shift 57530 if b < 0x80 { 57531 break 57532 } 57533 } 57534 fieldNum := int32(wire >> 3) 57535 wireType := int(wire & 0x7) 57536 if wireType == 4 { 57537 return fmt.Errorf("proto: GetWindowsDesktopServiceRequest: wiretype end group for non-group") 57538 } 57539 if fieldNum <= 0 { 57540 return fmt.Errorf("proto: GetWindowsDesktopServiceRequest: illegal tag %d (wire type %d)", fieldNum, wire) 57541 } 57542 switch fieldNum { 57543 case 1: 57544 if wireType != 2 { 57545 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 57546 } 57547 var stringLen uint64 57548 for shift := uint(0); ; shift += 7 { 57549 if shift >= 64 { 57550 return ErrIntOverflowAuthservice 57551 } 57552 if iNdEx >= l { 57553 return io.ErrUnexpectedEOF 57554 } 57555 b := dAtA[iNdEx] 57556 iNdEx++ 57557 stringLen |= uint64(b&0x7F) << shift 57558 if b < 0x80 { 57559 break 57560 } 57561 } 57562 intStringLen := int(stringLen) 57563 if intStringLen < 0 { 57564 return ErrInvalidLengthAuthservice 57565 } 57566 postIndex := iNdEx + intStringLen 57567 if postIndex < 0 { 57568 return ErrInvalidLengthAuthservice 57569 } 57570 if postIndex > l { 57571 return io.ErrUnexpectedEOF 57572 } 57573 m.Name = string(dAtA[iNdEx:postIndex]) 57574 iNdEx = postIndex 57575 default: 57576 iNdEx = preIndex 57577 skippy, err := skipAuthservice(dAtA[iNdEx:]) 57578 if err != nil { 57579 return err 57580 } 57581 if (skippy < 0) || (iNdEx+skippy) < 0 { 57582 return ErrInvalidLengthAuthservice 57583 } 57584 if (iNdEx + skippy) > l { 57585 return io.ErrUnexpectedEOF 57586 } 57587 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57588 iNdEx += skippy 57589 } 57590 } 57591 57592 if iNdEx > l { 57593 return io.ErrUnexpectedEOF 57594 } 57595 return nil 57596 } 57597 func (m *GetWindowsDesktopServiceResponse) Unmarshal(dAtA []byte) error { 57598 l := len(dAtA) 57599 iNdEx := 0 57600 for iNdEx < l { 57601 preIndex := iNdEx 57602 var wire uint64 57603 for shift := uint(0); ; shift += 7 { 57604 if shift >= 64 { 57605 return ErrIntOverflowAuthservice 57606 } 57607 if iNdEx >= l { 57608 return io.ErrUnexpectedEOF 57609 } 57610 b := dAtA[iNdEx] 57611 iNdEx++ 57612 wire |= uint64(b&0x7F) << shift 57613 if b < 0x80 { 57614 break 57615 } 57616 } 57617 fieldNum := int32(wire >> 3) 57618 wireType := int(wire & 0x7) 57619 if wireType == 4 { 57620 return fmt.Errorf("proto: GetWindowsDesktopServiceResponse: wiretype end group for non-group") 57621 } 57622 if fieldNum <= 0 { 57623 return fmt.Errorf("proto: GetWindowsDesktopServiceResponse: illegal tag %d (wire type %d)", fieldNum, wire) 57624 } 57625 switch fieldNum { 57626 case 1: 57627 if wireType != 2 { 57628 return fmt.Errorf("proto: wrong wireType = %d for field Service", wireType) 57629 } 57630 var msglen int 57631 for shift := uint(0); ; shift += 7 { 57632 if shift >= 64 { 57633 return ErrIntOverflowAuthservice 57634 } 57635 if iNdEx >= l { 57636 return io.ErrUnexpectedEOF 57637 } 57638 b := dAtA[iNdEx] 57639 iNdEx++ 57640 msglen |= int(b&0x7F) << shift 57641 if b < 0x80 { 57642 break 57643 } 57644 } 57645 if msglen < 0 { 57646 return ErrInvalidLengthAuthservice 57647 } 57648 postIndex := iNdEx + msglen 57649 if postIndex < 0 { 57650 return ErrInvalidLengthAuthservice 57651 } 57652 if postIndex > l { 57653 return io.ErrUnexpectedEOF 57654 } 57655 if m.Service == nil { 57656 m.Service = &types.WindowsDesktopServiceV3{} 57657 } 57658 if err := m.Service.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 57659 return err 57660 } 57661 iNdEx = postIndex 57662 default: 57663 iNdEx = preIndex 57664 skippy, err := skipAuthservice(dAtA[iNdEx:]) 57665 if err != nil { 57666 return err 57667 } 57668 if (skippy < 0) || (iNdEx+skippy) < 0 { 57669 return ErrInvalidLengthAuthservice 57670 } 57671 if (iNdEx + skippy) > l { 57672 return io.ErrUnexpectedEOF 57673 } 57674 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57675 iNdEx += skippy 57676 } 57677 } 57678 57679 if iNdEx > l { 57680 return io.ErrUnexpectedEOF 57681 } 57682 return nil 57683 } 57684 func (m *DeleteWindowsDesktopServiceRequest) Unmarshal(dAtA []byte) error { 57685 l := len(dAtA) 57686 iNdEx := 0 57687 for iNdEx < l { 57688 preIndex := iNdEx 57689 var wire uint64 57690 for shift := uint(0); ; shift += 7 { 57691 if shift >= 64 { 57692 return ErrIntOverflowAuthservice 57693 } 57694 if iNdEx >= l { 57695 return io.ErrUnexpectedEOF 57696 } 57697 b := dAtA[iNdEx] 57698 iNdEx++ 57699 wire |= uint64(b&0x7F) << shift 57700 if b < 0x80 { 57701 break 57702 } 57703 } 57704 fieldNum := int32(wire >> 3) 57705 wireType := int(wire & 0x7) 57706 if wireType == 4 { 57707 return fmt.Errorf("proto: DeleteWindowsDesktopServiceRequest: wiretype end group for non-group") 57708 } 57709 if fieldNum <= 0 { 57710 return fmt.Errorf("proto: DeleteWindowsDesktopServiceRequest: illegal tag %d (wire type %d)", fieldNum, wire) 57711 } 57712 switch fieldNum { 57713 case 1: 57714 if wireType != 2 { 57715 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 57716 } 57717 var stringLen uint64 57718 for shift := uint(0); ; shift += 7 { 57719 if shift >= 64 { 57720 return ErrIntOverflowAuthservice 57721 } 57722 if iNdEx >= l { 57723 return io.ErrUnexpectedEOF 57724 } 57725 b := dAtA[iNdEx] 57726 iNdEx++ 57727 stringLen |= uint64(b&0x7F) << shift 57728 if b < 0x80 { 57729 break 57730 } 57731 } 57732 intStringLen := int(stringLen) 57733 if intStringLen < 0 { 57734 return ErrInvalidLengthAuthservice 57735 } 57736 postIndex := iNdEx + intStringLen 57737 if postIndex < 0 { 57738 return ErrInvalidLengthAuthservice 57739 } 57740 if postIndex > l { 57741 return io.ErrUnexpectedEOF 57742 } 57743 m.Name = string(dAtA[iNdEx:postIndex]) 57744 iNdEx = postIndex 57745 default: 57746 iNdEx = preIndex 57747 skippy, err := skipAuthservice(dAtA[iNdEx:]) 57748 if err != nil { 57749 return err 57750 } 57751 if (skippy < 0) || (iNdEx+skippy) < 0 { 57752 return ErrInvalidLengthAuthservice 57753 } 57754 if (iNdEx + skippy) > l { 57755 return io.ErrUnexpectedEOF 57756 } 57757 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57758 iNdEx += skippy 57759 } 57760 } 57761 57762 if iNdEx > l { 57763 return io.ErrUnexpectedEOF 57764 } 57765 return nil 57766 } 57767 func (m *GetWindowsDesktopsResponse) Unmarshal(dAtA []byte) error { 57768 l := len(dAtA) 57769 iNdEx := 0 57770 for iNdEx < l { 57771 preIndex := iNdEx 57772 var wire uint64 57773 for shift := uint(0); ; shift += 7 { 57774 if shift >= 64 { 57775 return ErrIntOverflowAuthservice 57776 } 57777 if iNdEx >= l { 57778 return io.ErrUnexpectedEOF 57779 } 57780 b := dAtA[iNdEx] 57781 iNdEx++ 57782 wire |= uint64(b&0x7F) << shift 57783 if b < 0x80 { 57784 break 57785 } 57786 } 57787 fieldNum := int32(wire >> 3) 57788 wireType := int(wire & 0x7) 57789 if wireType == 4 { 57790 return fmt.Errorf("proto: GetWindowsDesktopsResponse: wiretype end group for non-group") 57791 } 57792 if fieldNum <= 0 { 57793 return fmt.Errorf("proto: GetWindowsDesktopsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 57794 } 57795 switch fieldNum { 57796 case 1: 57797 if wireType != 2 { 57798 return fmt.Errorf("proto: wrong wireType = %d for field Desktops", wireType) 57799 } 57800 var msglen int 57801 for shift := uint(0); ; shift += 7 { 57802 if shift >= 64 { 57803 return ErrIntOverflowAuthservice 57804 } 57805 if iNdEx >= l { 57806 return io.ErrUnexpectedEOF 57807 } 57808 b := dAtA[iNdEx] 57809 iNdEx++ 57810 msglen |= int(b&0x7F) << shift 57811 if b < 0x80 { 57812 break 57813 } 57814 } 57815 if msglen < 0 { 57816 return ErrInvalidLengthAuthservice 57817 } 57818 postIndex := iNdEx + msglen 57819 if postIndex < 0 { 57820 return ErrInvalidLengthAuthservice 57821 } 57822 if postIndex > l { 57823 return io.ErrUnexpectedEOF 57824 } 57825 m.Desktops = append(m.Desktops, &types.WindowsDesktopV3{}) 57826 if err := m.Desktops[len(m.Desktops)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 57827 return err 57828 } 57829 iNdEx = postIndex 57830 default: 57831 iNdEx = preIndex 57832 skippy, err := skipAuthservice(dAtA[iNdEx:]) 57833 if err != nil { 57834 return err 57835 } 57836 if (skippy < 0) || (iNdEx+skippy) < 0 { 57837 return ErrInvalidLengthAuthservice 57838 } 57839 if (iNdEx + skippy) > l { 57840 return io.ErrUnexpectedEOF 57841 } 57842 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57843 iNdEx += skippy 57844 } 57845 } 57846 57847 if iNdEx > l { 57848 return io.ErrUnexpectedEOF 57849 } 57850 return nil 57851 } 57852 func (m *DeleteWindowsDesktopRequest) Unmarshal(dAtA []byte) error { 57853 l := len(dAtA) 57854 iNdEx := 0 57855 for iNdEx < l { 57856 preIndex := iNdEx 57857 var wire uint64 57858 for shift := uint(0); ; shift += 7 { 57859 if shift >= 64 { 57860 return ErrIntOverflowAuthservice 57861 } 57862 if iNdEx >= l { 57863 return io.ErrUnexpectedEOF 57864 } 57865 b := dAtA[iNdEx] 57866 iNdEx++ 57867 wire |= uint64(b&0x7F) << shift 57868 if b < 0x80 { 57869 break 57870 } 57871 } 57872 fieldNum := int32(wire >> 3) 57873 wireType := int(wire & 0x7) 57874 if wireType == 4 { 57875 return fmt.Errorf("proto: DeleteWindowsDesktopRequest: wiretype end group for non-group") 57876 } 57877 if fieldNum <= 0 { 57878 return fmt.Errorf("proto: DeleteWindowsDesktopRequest: illegal tag %d (wire type %d)", fieldNum, wire) 57879 } 57880 switch fieldNum { 57881 case 1: 57882 if wireType != 2 { 57883 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 57884 } 57885 var stringLen uint64 57886 for shift := uint(0); ; shift += 7 { 57887 if shift >= 64 { 57888 return ErrIntOverflowAuthservice 57889 } 57890 if iNdEx >= l { 57891 return io.ErrUnexpectedEOF 57892 } 57893 b := dAtA[iNdEx] 57894 iNdEx++ 57895 stringLen |= uint64(b&0x7F) << shift 57896 if b < 0x80 { 57897 break 57898 } 57899 } 57900 intStringLen := int(stringLen) 57901 if intStringLen < 0 { 57902 return ErrInvalidLengthAuthservice 57903 } 57904 postIndex := iNdEx + intStringLen 57905 if postIndex < 0 { 57906 return ErrInvalidLengthAuthservice 57907 } 57908 if postIndex > l { 57909 return io.ErrUnexpectedEOF 57910 } 57911 m.Name = string(dAtA[iNdEx:postIndex]) 57912 iNdEx = postIndex 57913 case 2: 57914 if wireType != 2 { 57915 return fmt.Errorf("proto: wrong wireType = %d for field HostID", wireType) 57916 } 57917 var stringLen uint64 57918 for shift := uint(0); ; shift += 7 { 57919 if shift >= 64 { 57920 return ErrIntOverflowAuthservice 57921 } 57922 if iNdEx >= l { 57923 return io.ErrUnexpectedEOF 57924 } 57925 b := dAtA[iNdEx] 57926 iNdEx++ 57927 stringLen |= uint64(b&0x7F) << shift 57928 if b < 0x80 { 57929 break 57930 } 57931 } 57932 intStringLen := int(stringLen) 57933 if intStringLen < 0 { 57934 return ErrInvalidLengthAuthservice 57935 } 57936 postIndex := iNdEx + intStringLen 57937 if postIndex < 0 { 57938 return ErrInvalidLengthAuthservice 57939 } 57940 if postIndex > l { 57941 return io.ErrUnexpectedEOF 57942 } 57943 m.HostID = string(dAtA[iNdEx:postIndex]) 57944 iNdEx = postIndex 57945 default: 57946 iNdEx = preIndex 57947 skippy, err := skipAuthservice(dAtA[iNdEx:]) 57948 if err != nil { 57949 return err 57950 } 57951 if (skippy < 0) || (iNdEx+skippy) < 0 { 57952 return ErrInvalidLengthAuthservice 57953 } 57954 if (iNdEx + skippy) > l { 57955 return io.ErrUnexpectedEOF 57956 } 57957 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 57958 iNdEx += skippy 57959 } 57960 } 57961 57962 if iNdEx > l { 57963 return io.ErrUnexpectedEOF 57964 } 57965 return nil 57966 } 57967 func (m *WindowsDesktopCertRequest) Unmarshal(dAtA []byte) error { 57968 l := len(dAtA) 57969 iNdEx := 0 57970 for iNdEx < l { 57971 preIndex := iNdEx 57972 var wire uint64 57973 for shift := uint(0); ; shift += 7 { 57974 if shift >= 64 { 57975 return ErrIntOverflowAuthservice 57976 } 57977 if iNdEx >= l { 57978 return io.ErrUnexpectedEOF 57979 } 57980 b := dAtA[iNdEx] 57981 iNdEx++ 57982 wire |= uint64(b&0x7F) << shift 57983 if b < 0x80 { 57984 break 57985 } 57986 } 57987 fieldNum := int32(wire >> 3) 57988 wireType := int(wire & 0x7) 57989 if wireType == 4 { 57990 return fmt.Errorf("proto: WindowsDesktopCertRequest: wiretype end group for non-group") 57991 } 57992 if fieldNum <= 0 { 57993 return fmt.Errorf("proto: WindowsDesktopCertRequest: illegal tag %d (wire type %d)", fieldNum, wire) 57994 } 57995 switch fieldNum { 57996 case 1: 57997 if wireType != 2 { 57998 return fmt.Errorf("proto: wrong wireType = %d for field CSR", wireType) 57999 } 58000 var byteLen int 58001 for shift := uint(0); ; shift += 7 { 58002 if shift >= 64 { 58003 return ErrIntOverflowAuthservice 58004 } 58005 if iNdEx >= l { 58006 return io.ErrUnexpectedEOF 58007 } 58008 b := dAtA[iNdEx] 58009 iNdEx++ 58010 byteLen |= int(b&0x7F) << shift 58011 if b < 0x80 { 58012 break 58013 } 58014 } 58015 if byteLen < 0 { 58016 return ErrInvalidLengthAuthservice 58017 } 58018 postIndex := iNdEx + byteLen 58019 if postIndex < 0 { 58020 return ErrInvalidLengthAuthservice 58021 } 58022 if postIndex > l { 58023 return io.ErrUnexpectedEOF 58024 } 58025 m.CSR = append(m.CSR[:0], dAtA[iNdEx:postIndex]...) 58026 if m.CSR == nil { 58027 m.CSR = []byte{} 58028 } 58029 iNdEx = postIndex 58030 case 2: 58031 if wireType != 2 { 58032 return fmt.Errorf("proto: wrong wireType = %d for field CRLEndpoint", wireType) 58033 } 58034 var stringLen uint64 58035 for shift := uint(0); ; shift += 7 { 58036 if shift >= 64 { 58037 return ErrIntOverflowAuthservice 58038 } 58039 if iNdEx >= l { 58040 return io.ErrUnexpectedEOF 58041 } 58042 b := dAtA[iNdEx] 58043 iNdEx++ 58044 stringLen |= uint64(b&0x7F) << shift 58045 if b < 0x80 { 58046 break 58047 } 58048 } 58049 intStringLen := int(stringLen) 58050 if intStringLen < 0 { 58051 return ErrInvalidLengthAuthservice 58052 } 58053 postIndex := iNdEx + intStringLen 58054 if postIndex < 0 { 58055 return ErrInvalidLengthAuthservice 58056 } 58057 if postIndex > l { 58058 return io.ErrUnexpectedEOF 58059 } 58060 m.CRLEndpoint = string(dAtA[iNdEx:postIndex]) 58061 iNdEx = postIndex 58062 case 3: 58063 if wireType != 0 { 58064 return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType) 58065 } 58066 m.TTL = 0 58067 for shift := uint(0); ; shift += 7 { 58068 if shift >= 64 { 58069 return ErrIntOverflowAuthservice 58070 } 58071 if iNdEx >= l { 58072 return io.ErrUnexpectedEOF 58073 } 58074 b := dAtA[iNdEx] 58075 iNdEx++ 58076 m.TTL |= Duration(b&0x7F) << shift 58077 if b < 0x80 { 58078 break 58079 } 58080 } 58081 default: 58082 iNdEx = preIndex 58083 skippy, err := skipAuthservice(dAtA[iNdEx:]) 58084 if err != nil { 58085 return err 58086 } 58087 if (skippy < 0) || (iNdEx+skippy) < 0 { 58088 return ErrInvalidLengthAuthservice 58089 } 58090 if (iNdEx + skippy) > l { 58091 return io.ErrUnexpectedEOF 58092 } 58093 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58094 iNdEx += skippy 58095 } 58096 } 58097 58098 if iNdEx > l { 58099 return io.ErrUnexpectedEOF 58100 } 58101 return nil 58102 } 58103 func (m *WindowsDesktopCertResponse) Unmarshal(dAtA []byte) error { 58104 l := len(dAtA) 58105 iNdEx := 0 58106 for iNdEx < l { 58107 preIndex := iNdEx 58108 var wire uint64 58109 for shift := uint(0); ; shift += 7 { 58110 if shift >= 64 { 58111 return ErrIntOverflowAuthservice 58112 } 58113 if iNdEx >= l { 58114 return io.ErrUnexpectedEOF 58115 } 58116 b := dAtA[iNdEx] 58117 iNdEx++ 58118 wire |= uint64(b&0x7F) << shift 58119 if b < 0x80 { 58120 break 58121 } 58122 } 58123 fieldNum := int32(wire >> 3) 58124 wireType := int(wire & 0x7) 58125 if wireType == 4 { 58126 return fmt.Errorf("proto: WindowsDesktopCertResponse: wiretype end group for non-group") 58127 } 58128 if fieldNum <= 0 { 58129 return fmt.Errorf("proto: WindowsDesktopCertResponse: illegal tag %d (wire type %d)", fieldNum, wire) 58130 } 58131 switch fieldNum { 58132 case 1: 58133 if wireType != 2 { 58134 return fmt.Errorf("proto: wrong wireType = %d for field Cert", wireType) 58135 } 58136 var byteLen int 58137 for shift := uint(0); ; shift += 7 { 58138 if shift >= 64 { 58139 return ErrIntOverflowAuthservice 58140 } 58141 if iNdEx >= l { 58142 return io.ErrUnexpectedEOF 58143 } 58144 b := dAtA[iNdEx] 58145 iNdEx++ 58146 byteLen |= int(b&0x7F) << shift 58147 if b < 0x80 { 58148 break 58149 } 58150 } 58151 if byteLen < 0 { 58152 return ErrInvalidLengthAuthservice 58153 } 58154 postIndex := iNdEx + byteLen 58155 if postIndex < 0 { 58156 return ErrInvalidLengthAuthservice 58157 } 58158 if postIndex > l { 58159 return io.ErrUnexpectedEOF 58160 } 58161 m.Cert = append(m.Cert[:0], dAtA[iNdEx:postIndex]...) 58162 if m.Cert == nil { 58163 m.Cert = []byte{} 58164 } 58165 iNdEx = postIndex 58166 default: 58167 iNdEx = preIndex 58168 skippy, err := skipAuthservice(dAtA[iNdEx:]) 58169 if err != nil { 58170 return err 58171 } 58172 if (skippy < 0) || (iNdEx+skippy) < 0 { 58173 return ErrInvalidLengthAuthservice 58174 } 58175 if (iNdEx + skippy) > l { 58176 return io.ErrUnexpectedEOF 58177 } 58178 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58179 iNdEx += skippy 58180 } 58181 } 58182 58183 if iNdEx > l { 58184 return io.ErrUnexpectedEOF 58185 } 58186 return nil 58187 } 58188 func (m *ListSAMLIdPServiceProvidersRequest) Unmarshal(dAtA []byte) error { 58189 l := len(dAtA) 58190 iNdEx := 0 58191 for iNdEx < l { 58192 preIndex := iNdEx 58193 var wire uint64 58194 for shift := uint(0); ; shift += 7 { 58195 if shift >= 64 { 58196 return ErrIntOverflowAuthservice 58197 } 58198 if iNdEx >= l { 58199 return io.ErrUnexpectedEOF 58200 } 58201 b := dAtA[iNdEx] 58202 iNdEx++ 58203 wire |= uint64(b&0x7F) << shift 58204 if b < 0x80 { 58205 break 58206 } 58207 } 58208 fieldNum := int32(wire >> 3) 58209 wireType := int(wire & 0x7) 58210 if wireType == 4 { 58211 return fmt.Errorf("proto: ListSAMLIdPServiceProvidersRequest: wiretype end group for non-group") 58212 } 58213 if fieldNum <= 0 { 58214 return fmt.Errorf("proto: ListSAMLIdPServiceProvidersRequest: illegal tag %d (wire type %d)", fieldNum, wire) 58215 } 58216 switch fieldNum { 58217 case 1: 58218 if wireType != 0 { 58219 return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) 58220 } 58221 m.Limit = 0 58222 for shift := uint(0); ; shift += 7 { 58223 if shift >= 64 { 58224 return ErrIntOverflowAuthservice 58225 } 58226 if iNdEx >= l { 58227 return io.ErrUnexpectedEOF 58228 } 58229 b := dAtA[iNdEx] 58230 iNdEx++ 58231 m.Limit |= int32(b&0x7F) << shift 58232 if b < 0x80 { 58233 break 58234 } 58235 } 58236 case 2: 58237 if wireType != 2 { 58238 return fmt.Errorf("proto: wrong wireType = %d for field NextKey", wireType) 58239 } 58240 var stringLen uint64 58241 for shift := uint(0); ; shift += 7 { 58242 if shift >= 64 { 58243 return ErrIntOverflowAuthservice 58244 } 58245 if iNdEx >= l { 58246 return io.ErrUnexpectedEOF 58247 } 58248 b := dAtA[iNdEx] 58249 iNdEx++ 58250 stringLen |= uint64(b&0x7F) << shift 58251 if b < 0x80 { 58252 break 58253 } 58254 } 58255 intStringLen := int(stringLen) 58256 if intStringLen < 0 { 58257 return ErrInvalidLengthAuthservice 58258 } 58259 postIndex := iNdEx + intStringLen 58260 if postIndex < 0 { 58261 return ErrInvalidLengthAuthservice 58262 } 58263 if postIndex > l { 58264 return io.ErrUnexpectedEOF 58265 } 58266 m.NextKey = string(dAtA[iNdEx:postIndex]) 58267 iNdEx = postIndex 58268 default: 58269 iNdEx = preIndex 58270 skippy, err := skipAuthservice(dAtA[iNdEx:]) 58271 if err != nil { 58272 return err 58273 } 58274 if (skippy < 0) || (iNdEx+skippy) < 0 { 58275 return ErrInvalidLengthAuthservice 58276 } 58277 if (iNdEx + skippy) > l { 58278 return io.ErrUnexpectedEOF 58279 } 58280 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58281 iNdEx += skippy 58282 } 58283 } 58284 58285 if iNdEx > l { 58286 return io.ErrUnexpectedEOF 58287 } 58288 return nil 58289 } 58290 func (m *ListSAMLIdPServiceProvidersResponse) Unmarshal(dAtA []byte) error { 58291 l := len(dAtA) 58292 iNdEx := 0 58293 for iNdEx < l { 58294 preIndex := iNdEx 58295 var wire uint64 58296 for shift := uint(0); ; shift += 7 { 58297 if shift >= 64 { 58298 return ErrIntOverflowAuthservice 58299 } 58300 if iNdEx >= l { 58301 return io.ErrUnexpectedEOF 58302 } 58303 b := dAtA[iNdEx] 58304 iNdEx++ 58305 wire |= uint64(b&0x7F) << shift 58306 if b < 0x80 { 58307 break 58308 } 58309 } 58310 fieldNum := int32(wire >> 3) 58311 wireType := int(wire & 0x7) 58312 if wireType == 4 { 58313 return fmt.Errorf("proto: ListSAMLIdPServiceProvidersResponse: wiretype end group for non-group") 58314 } 58315 if fieldNum <= 0 { 58316 return fmt.Errorf("proto: ListSAMLIdPServiceProvidersResponse: illegal tag %d (wire type %d)", fieldNum, wire) 58317 } 58318 switch fieldNum { 58319 case 1: 58320 if wireType != 2 { 58321 return fmt.Errorf("proto: wrong wireType = %d for field ServiceProviders", wireType) 58322 } 58323 var msglen int 58324 for shift := uint(0); ; shift += 7 { 58325 if shift >= 64 { 58326 return ErrIntOverflowAuthservice 58327 } 58328 if iNdEx >= l { 58329 return io.ErrUnexpectedEOF 58330 } 58331 b := dAtA[iNdEx] 58332 iNdEx++ 58333 msglen |= int(b&0x7F) << shift 58334 if b < 0x80 { 58335 break 58336 } 58337 } 58338 if msglen < 0 { 58339 return ErrInvalidLengthAuthservice 58340 } 58341 postIndex := iNdEx + msglen 58342 if postIndex < 0 { 58343 return ErrInvalidLengthAuthservice 58344 } 58345 if postIndex > l { 58346 return io.ErrUnexpectedEOF 58347 } 58348 m.ServiceProviders = append(m.ServiceProviders, &types.SAMLIdPServiceProviderV1{}) 58349 if err := m.ServiceProviders[len(m.ServiceProviders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 58350 return err 58351 } 58352 iNdEx = postIndex 58353 case 2: 58354 if wireType != 2 { 58355 return fmt.Errorf("proto: wrong wireType = %d for field NextKey", wireType) 58356 } 58357 var stringLen uint64 58358 for shift := uint(0); ; shift += 7 { 58359 if shift >= 64 { 58360 return ErrIntOverflowAuthservice 58361 } 58362 if iNdEx >= l { 58363 return io.ErrUnexpectedEOF 58364 } 58365 b := dAtA[iNdEx] 58366 iNdEx++ 58367 stringLen |= uint64(b&0x7F) << shift 58368 if b < 0x80 { 58369 break 58370 } 58371 } 58372 intStringLen := int(stringLen) 58373 if intStringLen < 0 { 58374 return ErrInvalidLengthAuthservice 58375 } 58376 postIndex := iNdEx + intStringLen 58377 if postIndex < 0 { 58378 return ErrInvalidLengthAuthservice 58379 } 58380 if postIndex > l { 58381 return io.ErrUnexpectedEOF 58382 } 58383 m.NextKey = string(dAtA[iNdEx:postIndex]) 58384 iNdEx = postIndex 58385 case 3: 58386 if wireType != 0 { 58387 return fmt.Errorf("proto: wrong wireType = %d for field TotalCount", wireType) 58388 } 58389 m.TotalCount = 0 58390 for shift := uint(0); ; shift += 7 { 58391 if shift >= 64 { 58392 return ErrIntOverflowAuthservice 58393 } 58394 if iNdEx >= l { 58395 return io.ErrUnexpectedEOF 58396 } 58397 b := dAtA[iNdEx] 58398 iNdEx++ 58399 m.TotalCount |= int32(b&0x7F) << shift 58400 if b < 0x80 { 58401 break 58402 } 58403 } 58404 default: 58405 iNdEx = preIndex 58406 skippy, err := skipAuthservice(dAtA[iNdEx:]) 58407 if err != nil { 58408 return err 58409 } 58410 if (skippy < 0) || (iNdEx+skippy) < 0 { 58411 return ErrInvalidLengthAuthservice 58412 } 58413 if (iNdEx + skippy) > l { 58414 return io.ErrUnexpectedEOF 58415 } 58416 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58417 iNdEx += skippy 58418 } 58419 } 58420 58421 if iNdEx > l { 58422 return io.ErrUnexpectedEOF 58423 } 58424 return nil 58425 } 58426 func (m *GetSAMLIdPServiceProviderRequest) Unmarshal(dAtA []byte) error { 58427 l := len(dAtA) 58428 iNdEx := 0 58429 for iNdEx < l { 58430 preIndex := iNdEx 58431 var wire uint64 58432 for shift := uint(0); ; shift += 7 { 58433 if shift >= 64 { 58434 return ErrIntOverflowAuthservice 58435 } 58436 if iNdEx >= l { 58437 return io.ErrUnexpectedEOF 58438 } 58439 b := dAtA[iNdEx] 58440 iNdEx++ 58441 wire |= uint64(b&0x7F) << shift 58442 if b < 0x80 { 58443 break 58444 } 58445 } 58446 fieldNum := int32(wire >> 3) 58447 wireType := int(wire & 0x7) 58448 if wireType == 4 { 58449 return fmt.Errorf("proto: GetSAMLIdPServiceProviderRequest: wiretype end group for non-group") 58450 } 58451 if fieldNum <= 0 { 58452 return fmt.Errorf("proto: GetSAMLIdPServiceProviderRequest: illegal tag %d (wire type %d)", fieldNum, wire) 58453 } 58454 switch fieldNum { 58455 case 1: 58456 if wireType != 2 { 58457 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 58458 } 58459 var stringLen uint64 58460 for shift := uint(0); ; shift += 7 { 58461 if shift >= 64 { 58462 return ErrIntOverflowAuthservice 58463 } 58464 if iNdEx >= l { 58465 return io.ErrUnexpectedEOF 58466 } 58467 b := dAtA[iNdEx] 58468 iNdEx++ 58469 stringLen |= uint64(b&0x7F) << shift 58470 if b < 0x80 { 58471 break 58472 } 58473 } 58474 intStringLen := int(stringLen) 58475 if intStringLen < 0 { 58476 return ErrInvalidLengthAuthservice 58477 } 58478 postIndex := iNdEx + intStringLen 58479 if postIndex < 0 { 58480 return ErrInvalidLengthAuthservice 58481 } 58482 if postIndex > l { 58483 return io.ErrUnexpectedEOF 58484 } 58485 m.Name = string(dAtA[iNdEx:postIndex]) 58486 iNdEx = postIndex 58487 default: 58488 iNdEx = preIndex 58489 skippy, err := skipAuthservice(dAtA[iNdEx:]) 58490 if err != nil { 58491 return err 58492 } 58493 if (skippy < 0) || (iNdEx+skippy) < 0 { 58494 return ErrInvalidLengthAuthservice 58495 } 58496 if (iNdEx + skippy) > l { 58497 return io.ErrUnexpectedEOF 58498 } 58499 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58500 iNdEx += skippy 58501 } 58502 } 58503 58504 if iNdEx > l { 58505 return io.ErrUnexpectedEOF 58506 } 58507 return nil 58508 } 58509 func (m *DeleteSAMLIdPServiceProviderRequest) Unmarshal(dAtA []byte) error { 58510 l := len(dAtA) 58511 iNdEx := 0 58512 for iNdEx < l { 58513 preIndex := iNdEx 58514 var wire uint64 58515 for shift := uint(0); ; shift += 7 { 58516 if shift >= 64 { 58517 return ErrIntOverflowAuthservice 58518 } 58519 if iNdEx >= l { 58520 return io.ErrUnexpectedEOF 58521 } 58522 b := dAtA[iNdEx] 58523 iNdEx++ 58524 wire |= uint64(b&0x7F) << shift 58525 if b < 0x80 { 58526 break 58527 } 58528 } 58529 fieldNum := int32(wire >> 3) 58530 wireType := int(wire & 0x7) 58531 if wireType == 4 { 58532 return fmt.Errorf("proto: DeleteSAMLIdPServiceProviderRequest: wiretype end group for non-group") 58533 } 58534 if fieldNum <= 0 { 58535 return fmt.Errorf("proto: DeleteSAMLIdPServiceProviderRequest: illegal tag %d (wire type %d)", fieldNum, wire) 58536 } 58537 switch fieldNum { 58538 case 1: 58539 if wireType != 2 { 58540 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 58541 } 58542 var stringLen uint64 58543 for shift := uint(0); ; shift += 7 { 58544 if shift >= 64 { 58545 return ErrIntOverflowAuthservice 58546 } 58547 if iNdEx >= l { 58548 return io.ErrUnexpectedEOF 58549 } 58550 b := dAtA[iNdEx] 58551 iNdEx++ 58552 stringLen |= uint64(b&0x7F) << shift 58553 if b < 0x80 { 58554 break 58555 } 58556 } 58557 intStringLen := int(stringLen) 58558 if intStringLen < 0 { 58559 return ErrInvalidLengthAuthservice 58560 } 58561 postIndex := iNdEx + intStringLen 58562 if postIndex < 0 { 58563 return ErrInvalidLengthAuthservice 58564 } 58565 if postIndex > l { 58566 return io.ErrUnexpectedEOF 58567 } 58568 m.Name = string(dAtA[iNdEx:postIndex]) 58569 iNdEx = postIndex 58570 default: 58571 iNdEx = preIndex 58572 skippy, err := skipAuthservice(dAtA[iNdEx:]) 58573 if err != nil { 58574 return err 58575 } 58576 if (skippy < 0) || (iNdEx+skippy) < 0 { 58577 return ErrInvalidLengthAuthservice 58578 } 58579 if (iNdEx + skippy) > l { 58580 return io.ErrUnexpectedEOF 58581 } 58582 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58583 iNdEx += skippy 58584 } 58585 } 58586 58587 if iNdEx > l { 58588 return io.ErrUnexpectedEOF 58589 } 58590 return nil 58591 } 58592 func (m *ListUserGroupsRequest) Unmarshal(dAtA []byte) error { 58593 l := len(dAtA) 58594 iNdEx := 0 58595 for iNdEx < l { 58596 preIndex := iNdEx 58597 var wire uint64 58598 for shift := uint(0); ; shift += 7 { 58599 if shift >= 64 { 58600 return ErrIntOverflowAuthservice 58601 } 58602 if iNdEx >= l { 58603 return io.ErrUnexpectedEOF 58604 } 58605 b := dAtA[iNdEx] 58606 iNdEx++ 58607 wire |= uint64(b&0x7F) << shift 58608 if b < 0x80 { 58609 break 58610 } 58611 } 58612 fieldNum := int32(wire >> 3) 58613 wireType := int(wire & 0x7) 58614 if wireType == 4 { 58615 return fmt.Errorf("proto: ListUserGroupsRequest: wiretype end group for non-group") 58616 } 58617 if fieldNum <= 0 { 58618 return fmt.Errorf("proto: ListUserGroupsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 58619 } 58620 switch fieldNum { 58621 case 1: 58622 if wireType != 0 { 58623 return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) 58624 } 58625 m.Limit = 0 58626 for shift := uint(0); ; shift += 7 { 58627 if shift >= 64 { 58628 return ErrIntOverflowAuthservice 58629 } 58630 if iNdEx >= l { 58631 return io.ErrUnexpectedEOF 58632 } 58633 b := dAtA[iNdEx] 58634 iNdEx++ 58635 m.Limit |= int32(b&0x7F) << shift 58636 if b < 0x80 { 58637 break 58638 } 58639 } 58640 case 2: 58641 if wireType != 2 { 58642 return fmt.Errorf("proto: wrong wireType = %d for field NextKey", wireType) 58643 } 58644 var stringLen uint64 58645 for shift := uint(0); ; shift += 7 { 58646 if shift >= 64 { 58647 return ErrIntOverflowAuthservice 58648 } 58649 if iNdEx >= l { 58650 return io.ErrUnexpectedEOF 58651 } 58652 b := dAtA[iNdEx] 58653 iNdEx++ 58654 stringLen |= uint64(b&0x7F) << shift 58655 if b < 0x80 { 58656 break 58657 } 58658 } 58659 intStringLen := int(stringLen) 58660 if intStringLen < 0 { 58661 return ErrInvalidLengthAuthservice 58662 } 58663 postIndex := iNdEx + intStringLen 58664 if postIndex < 0 { 58665 return ErrInvalidLengthAuthservice 58666 } 58667 if postIndex > l { 58668 return io.ErrUnexpectedEOF 58669 } 58670 m.NextKey = string(dAtA[iNdEx:postIndex]) 58671 iNdEx = postIndex 58672 default: 58673 iNdEx = preIndex 58674 skippy, err := skipAuthservice(dAtA[iNdEx:]) 58675 if err != nil { 58676 return err 58677 } 58678 if (skippy < 0) || (iNdEx+skippy) < 0 { 58679 return ErrInvalidLengthAuthservice 58680 } 58681 if (iNdEx + skippy) > l { 58682 return io.ErrUnexpectedEOF 58683 } 58684 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58685 iNdEx += skippy 58686 } 58687 } 58688 58689 if iNdEx > l { 58690 return io.ErrUnexpectedEOF 58691 } 58692 return nil 58693 } 58694 func (m *ListUserGroupsResponse) Unmarshal(dAtA []byte) error { 58695 l := len(dAtA) 58696 iNdEx := 0 58697 for iNdEx < l { 58698 preIndex := iNdEx 58699 var wire uint64 58700 for shift := uint(0); ; shift += 7 { 58701 if shift >= 64 { 58702 return ErrIntOverflowAuthservice 58703 } 58704 if iNdEx >= l { 58705 return io.ErrUnexpectedEOF 58706 } 58707 b := dAtA[iNdEx] 58708 iNdEx++ 58709 wire |= uint64(b&0x7F) << shift 58710 if b < 0x80 { 58711 break 58712 } 58713 } 58714 fieldNum := int32(wire >> 3) 58715 wireType := int(wire & 0x7) 58716 if wireType == 4 { 58717 return fmt.Errorf("proto: ListUserGroupsResponse: wiretype end group for non-group") 58718 } 58719 if fieldNum <= 0 { 58720 return fmt.Errorf("proto: ListUserGroupsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 58721 } 58722 switch fieldNum { 58723 case 1: 58724 if wireType != 2 { 58725 return fmt.Errorf("proto: wrong wireType = %d for field UserGroups", wireType) 58726 } 58727 var msglen int 58728 for shift := uint(0); ; shift += 7 { 58729 if shift >= 64 { 58730 return ErrIntOverflowAuthservice 58731 } 58732 if iNdEx >= l { 58733 return io.ErrUnexpectedEOF 58734 } 58735 b := dAtA[iNdEx] 58736 iNdEx++ 58737 msglen |= int(b&0x7F) << shift 58738 if b < 0x80 { 58739 break 58740 } 58741 } 58742 if msglen < 0 { 58743 return ErrInvalidLengthAuthservice 58744 } 58745 postIndex := iNdEx + msglen 58746 if postIndex < 0 { 58747 return ErrInvalidLengthAuthservice 58748 } 58749 if postIndex > l { 58750 return io.ErrUnexpectedEOF 58751 } 58752 m.UserGroups = append(m.UserGroups, &types.UserGroupV1{}) 58753 if err := m.UserGroups[len(m.UserGroups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 58754 return err 58755 } 58756 iNdEx = postIndex 58757 case 2: 58758 if wireType != 2 { 58759 return fmt.Errorf("proto: wrong wireType = %d for field NextKey", wireType) 58760 } 58761 var stringLen uint64 58762 for shift := uint(0); ; shift += 7 { 58763 if shift >= 64 { 58764 return ErrIntOverflowAuthservice 58765 } 58766 if iNdEx >= l { 58767 return io.ErrUnexpectedEOF 58768 } 58769 b := dAtA[iNdEx] 58770 iNdEx++ 58771 stringLen |= uint64(b&0x7F) << shift 58772 if b < 0x80 { 58773 break 58774 } 58775 } 58776 intStringLen := int(stringLen) 58777 if intStringLen < 0 { 58778 return ErrInvalidLengthAuthservice 58779 } 58780 postIndex := iNdEx + intStringLen 58781 if postIndex < 0 { 58782 return ErrInvalidLengthAuthservice 58783 } 58784 if postIndex > l { 58785 return io.ErrUnexpectedEOF 58786 } 58787 m.NextKey = string(dAtA[iNdEx:postIndex]) 58788 iNdEx = postIndex 58789 case 3: 58790 if wireType != 0 { 58791 return fmt.Errorf("proto: wrong wireType = %d for field TotalCount", wireType) 58792 } 58793 m.TotalCount = 0 58794 for shift := uint(0); ; shift += 7 { 58795 if shift >= 64 { 58796 return ErrIntOverflowAuthservice 58797 } 58798 if iNdEx >= l { 58799 return io.ErrUnexpectedEOF 58800 } 58801 b := dAtA[iNdEx] 58802 iNdEx++ 58803 m.TotalCount |= int32(b&0x7F) << shift 58804 if b < 0x80 { 58805 break 58806 } 58807 } 58808 default: 58809 iNdEx = preIndex 58810 skippy, err := skipAuthservice(dAtA[iNdEx:]) 58811 if err != nil { 58812 return err 58813 } 58814 if (skippy < 0) || (iNdEx+skippy) < 0 { 58815 return ErrInvalidLengthAuthservice 58816 } 58817 if (iNdEx + skippy) > l { 58818 return io.ErrUnexpectedEOF 58819 } 58820 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58821 iNdEx += skippy 58822 } 58823 } 58824 58825 if iNdEx > l { 58826 return io.ErrUnexpectedEOF 58827 } 58828 return nil 58829 } 58830 func (m *GetUserGroupRequest) Unmarshal(dAtA []byte) error { 58831 l := len(dAtA) 58832 iNdEx := 0 58833 for iNdEx < l { 58834 preIndex := iNdEx 58835 var wire uint64 58836 for shift := uint(0); ; shift += 7 { 58837 if shift >= 64 { 58838 return ErrIntOverflowAuthservice 58839 } 58840 if iNdEx >= l { 58841 return io.ErrUnexpectedEOF 58842 } 58843 b := dAtA[iNdEx] 58844 iNdEx++ 58845 wire |= uint64(b&0x7F) << shift 58846 if b < 0x80 { 58847 break 58848 } 58849 } 58850 fieldNum := int32(wire >> 3) 58851 wireType := int(wire & 0x7) 58852 if wireType == 4 { 58853 return fmt.Errorf("proto: GetUserGroupRequest: wiretype end group for non-group") 58854 } 58855 if fieldNum <= 0 { 58856 return fmt.Errorf("proto: GetUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) 58857 } 58858 switch fieldNum { 58859 case 1: 58860 if wireType != 2 { 58861 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 58862 } 58863 var stringLen uint64 58864 for shift := uint(0); ; shift += 7 { 58865 if shift >= 64 { 58866 return ErrIntOverflowAuthservice 58867 } 58868 if iNdEx >= l { 58869 return io.ErrUnexpectedEOF 58870 } 58871 b := dAtA[iNdEx] 58872 iNdEx++ 58873 stringLen |= uint64(b&0x7F) << shift 58874 if b < 0x80 { 58875 break 58876 } 58877 } 58878 intStringLen := int(stringLen) 58879 if intStringLen < 0 { 58880 return ErrInvalidLengthAuthservice 58881 } 58882 postIndex := iNdEx + intStringLen 58883 if postIndex < 0 { 58884 return ErrInvalidLengthAuthservice 58885 } 58886 if postIndex > l { 58887 return io.ErrUnexpectedEOF 58888 } 58889 m.Name = string(dAtA[iNdEx:postIndex]) 58890 iNdEx = postIndex 58891 default: 58892 iNdEx = preIndex 58893 skippy, err := skipAuthservice(dAtA[iNdEx:]) 58894 if err != nil { 58895 return err 58896 } 58897 if (skippy < 0) || (iNdEx+skippy) < 0 { 58898 return ErrInvalidLengthAuthservice 58899 } 58900 if (iNdEx + skippy) > l { 58901 return io.ErrUnexpectedEOF 58902 } 58903 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58904 iNdEx += skippy 58905 } 58906 } 58907 58908 if iNdEx > l { 58909 return io.ErrUnexpectedEOF 58910 } 58911 return nil 58912 } 58913 func (m *DeleteUserGroupRequest) Unmarshal(dAtA []byte) error { 58914 l := len(dAtA) 58915 iNdEx := 0 58916 for iNdEx < l { 58917 preIndex := iNdEx 58918 var wire uint64 58919 for shift := uint(0); ; shift += 7 { 58920 if shift >= 64 { 58921 return ErrIntOverflowAuthservice 58922 } 58923 if iNdEx >= l { 58924 return io.ErrUnexpectedEOF 58925 } 58926 b := dAtA[iNdEx] 58927 iNdEx++ 58928 wire |= uint64(b&0x7F) << shift 58929 if b < 0x80 { 58930 break 58931 } 58932 } 58933 fieldNum := int32(wire >> 3) 58934 wireType := int(wire & 0x7) 58935 if wireType == 4 { 58936 return fmt.Errorf("proto: DeleteUserGroupRequest: wiretype end group for non-group") 58937 } 58938 if fieldNum <= 0 { 58939 return fmt.Errorf("proto: DeleteUserGroupRequest: illegal tag %d (wire type %d)", fieldNum, wire) 58940 } 58941 switch fieldNum { 58942 case 1: 58943 if wireType != 2 { 58944 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 58945 } 58946 var stringLen uint64 58947 for shift := uint(0); ; shift += 7 { 58948 if shift >= 64 { 58949 return ErrIntOverflowAuthservice 58950 } 58951 if iNdEx >= l { 58952 return io.ErrUnexpectedEOF 58953 } 58954 b := dAtA[iNdEx] 58955 iNdEx++ 58956 stringLen |= uint64(b&0x7F) << shift 58957 if b < 0x80 { 58958 break 58959 } 58960 } 58961 intStringLen := int(stringLen) 58962 if intStringLen < 0 { 58963 return ErrInvalidLengthAuthservice 58964 } 58965 postIndex := iNdEx + intStringLen 58966 if postIndex < 0 { 58967 return ErrInvalidLengthAuthservice 58968 } 58969 if postIndex > l { 58970 return io.ErrUnexpectedEOF 58971 } 58972 m.Name = string(dAtA[iNdEx:postIndex]) 58973 iNdEx = postIndex 58974 default: 58975 iNdEx = preIndex 58976 skippy, err := skipAuthservice(dAtA[iNdEx:]) 58977 if err != nil { 58978 return err 58979 } 58980 if (skippy < 0) || (iNdEx+skippy) < 0 { 58981 return ErrInvalidLengthAuthservice 58982 } 58983 if (iNdEx + skippy) > l { 58984 return io.ErrUnexpectedEOF 58985 } 58986 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 58987 iNdEx += skippy 58988 } 58989 } 58990 58991 if iNdEx > l { 58992 return io.ErrUnexpectedEOF 58993 } 58994 return nil 58995 } 58996 func (m *CertAuthorityRequest) Unmarshal(dAtA []byte) error { 58997 l := len(dAtA) 58998 iNdEx := 0 58999 for iNdEx < l { 59000 preIndex := iNdEx 59001 var wire uint64 59002 for shift := uint(0); ; shift += 7 { 59003 if shift >= 64 { 59004 return ErrIntOverflowAuthservice 59005 } 59006 if iNdEx >= l { 59007 return io.ErrUnexpectedEOF 59008 } 59009 b := dAtA[iNdEx] 59010 iNdEx++ 59011 wire |= uint64(b&0x7F) << shift 59012 if b < 0x80 { 59013 break 59014 } 59015 } 59016 fieldNum := int32(wire >> 3) 59017 wireType := int(wire & 0x7) 59018 if wireType == 4 { 59019 return fmt.Errorf("proto: CertAuthorityRequest: wiretype end group for non-group") 59020 } 59021 if fieldNum <= 0 { 59022 return fmt.Errorf("proto: CertAuthorityRequest: illegal tag %d (wire type %d)", fieldNum, wire) 59023 } 59024 switch fieldNum { 59025 case 1: 59026 if wireType != 2 { 59027 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 59028 } 59029 var stringLen uint64 59030 for shift := uint(0); ; shift += 7 { 59031 if shift >= 64 { 59032 return ErrIntOverflowAuthservice 59033 } 59034 if iNdEx >= l { 59035 return io.ErrUnexpectedEOF 59036 } 59037 b := dAtA[iNdEx] 59038 iNdEx++ 59039 stringLen |= uint64(b&0x7F) << shift 59040 if b < 0x80 { 59041 break 59042 } 59043 } 59044 intStringLen := int(stringLen) 59045 if intStringLen < 0 { 59046 return ErrInvalidLengthAuthservice 59047 } 59048 postIndex := iNdEx + intStringLen 59049 if postIndex < 0 { 59050 return ErrInvalidLengthAuthservice 59051 } 59052 if postIndex > l { 59053 return io.ErrUnexpectedEOF 59054 } 59055 m.Type = github_com_gravitational_teleport_api_types.CertAuthType(dAtA[iNdEx:postIndex]) 59056 iNdEx = postIndex 59057 default: 59058 iNdEx = preIndex 59059 skippy, err := skipAuthservice(dAtA[iNdEx:]) 59060 if err != nil { 59061 return err 59062 } 59063 if (skippy < 0) || (iNdEx+skippy) < 0 { 59064 return ErrInvalidLengthAuthservice 59065 } 59066 if (iNdEx + skippy) > l { 59067 return io.ErrUnexpectedEOF 59068 } 59069 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 59070 iNdEx += skippy 59071 } 59072 } 59073 59074 if iNdEx > l { 59075 return io.ErrUnexpectedEOF 59076 } 59077 return nil 59078 } 59079 func (m *CRL) Unmarshal(dAtA []byte) error { 59080 l := len(dAtA) 59081 iNdEx := 0 59082 for iNdEx < l { 59083 preIndex := iNdEx 59084 var wire uint64 59085 for shift := uint(0); ; shift += 7 { 59086 if shift >= 64 { 59087 return ErrIntOverflowAuthservice 59088 } 59089 if iNdEx >= l { 59090 return io.ErrUnexpectedEOF 59091 } 59092 b := dAtA[iNdEx] 59093 iNdEx++ 59094 wire |= uint64(b&0x7F) << shift 59095 if b < 0x80 { 59096 break 59097 } 59098 } 59099 fieldNum := int32(wire >> 3) 59100 wireType := int(wire & 0x7) 59101 if wireType == 4 { 59102 return fmt.Errorf("proto: CRL: wiretype end group for non-group") 59103 } 59104 if fieldNum <= 0 { 59105 return fmt.Errorf("proto: CRL: illegal tag %d (wire type %d)", fieldNum, wire) 59106 } 59107 switch fieldNum { 59108 case 1: 59109 if wireType != 2 { 59110 return fmt.Errorf("proto: wrong wireType = %d for field CRL", wireType) 59111 } 59112 var byteLen int 59113 for shift := uint(0); ; shift += 7 { 59114 if shift >= 64 { 59115 return ErrIntOverflowAuthservice 59116 } 59117 if iNdEx >= l { 59118 return io.ErrUnexpectedEOF 59119 } 59120 b := dAtA[iNdEx] 59121 iNdEx++ 59122 byteLen |= int(b&0x7F) << shift 59123 if b < 0x80 { 59124 break 59125 } 59126 } 59127 if byteLen < 0 { 59128 return ErrInvalidLengthAuthservice 59129 } 59130 postIndex := iNdEx + byteLen 59131 if postIndex < 0 { 59132 return ErrInvalidLengthAuthservice 59133 } 59134 if postIndex > l { 59135 return io.ErrUnexpectedEOF 59136 } 59137 m.CRL = append(m.CRL[:0], dAtA[iNdEx:postIndex]...) 59138 if m.CRL == nil { 59139 m.CRL = []byte{} 59140 } 59141 iNdEx = postIndex 59142 default: 59143 iNdEx = preIndex 59144 skippy, err := skipAuthservice(dAtA[iNdEx:]) 59145 if err != nil { 59146 return err 59147 } 59148 if (skippy < 0) || (iNdEx+skippy) < 0 { 59149 return ErrInvalidLengthAuthservice 59150 } 59151 if (iNdEx + skippy) > l { 59152 return io.ErrUnexpectedEOF 59153 } 59154 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 59155 iNdEx += skippy 59156 } 59157 } 59158 59159 if iNdEx > l { 59160 return io.ErrUnexpectedEOF 59161 } 59162 return nil 59163 } 59164 func (m *ChangeUserAuthenticationRequest) Unmarshal(dAtA []byte) error { 59165 l := len(dAtA) 59166 iNdEx := 0 59167 for iNdEx < l { 59168 preIndex := iNdEx 59169 var wire uint64 59170 for shift := uint(0); ; shift += 7 { 59171 if shift >= 64 { 59172 return ErrIntOverflowAuthservice 59173 } 59174 if iNdEx >= l { 59175 return io.ErrUnexpectedEOF 59176 } 59177 b := dAtA[iNdEx] 59178 iNdEx++ 59179 wire |= uint64(b&0x7F) << shift 59180 if b < 0x80 { 59181 break 59182 } 59183 } 59184 fieldNum := int32(wire >> 3) 59185 wireType := int(wire & 0x7) 59186 if wireType == 4 { 59187 return fmt.Errorf("proto: ChangeUserAuthenticationRequest: wiretype end group for non-group") 59188 } 59189 if fieldNum <= 0 { 59190 return fmt.Errorf("proto: ChangeUserAuthenticationRequest: illegal tag %d (wire type %d)", fieldNum, wire) 59191 } 59192 switch fieldNum { 59193 case 1: 59194 if wireType != 2 { 59195 return fmt.Errorf("proto: wrong wireType = %d for field TokenID", wireType) 59196 } 59197 var stringLen uint64 59198 for shift := uint(0); ; shift += 7 { 59199 if shift >= 64 { 59200 return ErrIntOverflowAuthservice 59201 } 59202 if iNdEx >= l { 59203 return io.ErrUnexpectedEOF 59204 } 59205 b := dAtA[iNdEx] 59206 iNdEx++ 59207 stringLen |= uint64(b&0x7F) << shift 59208 if b < 0x80 { 59209 break 59210 } 59211 } 59212 intStringLen := int(stringLen) 59213 if intStringLen < 0 { 59214 return ErrInvalidLengthAuthservice 59215 } 59216 postIndex := iNdEx + intStringLen 59217 if postIndex < 0 { 59218 return ErrInvalidLengthAuthservice 59219 } 59220 if postIndex > l { 59221 return io.ErrUnexpectedEOF 59222 } 59223 m.TokenID = string(dAtA[iNdEx:postIndex]) 59224 iNdEx = postIndex 59225 case 2: 59226 if wireType != 2 { 59227 return fmt.Errorf("proto: wrong wireType = %d for field NewPassword", wireType) 59228 } 59229 var byteLen int 59230 for shift := uint(0); ; shift += 7 { 59231 if shift >= 64 { 59232 return ErrIntOverflowAuthservice 59233 } 59234 if iNdEx >= l { 59235 return io.ErrUnexpectedEOF 59236 } 59237 b := dAtA[iNdEx] 59238 iNdEx++ 59239 byteLen |= int(b&0x7F) << shift 59240 if b < 0x80 { 59241 break 59242 } 59243 } 59244 if byteLen < 0 { 59245 return ErrInvalidLengthAuthservice 59246 } 59247 postIndex := iNdEx + byteLen 59248 if postIndex < 0 { 59249 return ErrInvalidLengthAuthservice 59250 } 59251 if postIndex > l { 59252 return io.ErrUnexpectedEOF 59253 } 59254 m.NewPassword = append(m.NewPassword[:0], dAtA[iNdEx:postIndex]...) 59255 if m.NewPassword == nil { 59256 m.NewPassword = []byte{} 59257 } 59258 iNdEx = postIndex 59259 case 3: 59260 if wireType != 2 { 59261 return fmt.Errorf("proto: wrong wireType = %d for field NewMFARegisterResponse", wireType) 59262 } 59263 var msglen int 59264 for shift := uint(0); ; shift += 7 { 59265 if shift >= 64 { 59266 return ErrIntOverflowAuthservice 59267 } 59268 if iNdEx >= l { 59269 return io.ErrUnexpectedEOF 59270 } 59271 b := dAtA[iNdEx] 59272 iNdEx++ 59273 msglen |= int(b&0x7F) << shift 59274 if b < 0x80 { 59275 break 59276 } 59277 } 59278 if msglen < 0 { 59279 return ErrInvalidLengthAuthservice 59280 } 59281 postIndex := iNdEx + msglen 59282 if postIndex < 0 { 59283 return ErrInvalidLengthAuthservice 59284 } 59285 if postIndex > l { 59286 return io.ErrUnexpectedEOF 59287 } 59288 if m.NewMFARegisterResponse == nil { 59289 m.NewMFARegisterResponse = &MFARegisterResponse{} 59290 } 59291 if err := m.NewMFARegisterResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 59292 return err 59293 } 59294 iNdEx = postIndex 59295 case 4: 59296 if wireType != 2 { 59297 return fmt.Errorf("proto: wrong wireType = %d for field NewDeviceName", wireType) 59298 } 59299 var stringLen uint64 59300 for shift := uint(0); ; shift += 7 { 59301 if shift >= 64 { 59302 return ErrIntOverflowAuthservice 59303 } 59304 if iNdEx >= l { 59305 return io.ErrUnexpectedEOF 59306 } 59307 b := dAtA[iNdEx] 59308 iNdEx++ 59309 stringLen |= uint64(b&0x7F) << shift 59310 if b < 0x80 { 59311 break 59312 } 59313 } 59314 intStringLen := int(stringLen) 59315 if intStringLen < 0 { 59316 return ErrInvalidLengthAuthservice 59317 } 59318 postIndex := iNdEx + intStringLen 59319 if postIndex < 0 { 59320 return ErrInvalidLengthAuthservice 59321 } 59322 if postIndex > l { 59323 return io.ErrUnexpectedEOF 59324 } 59325 m.NewDeviceName = string(dAtA[iNdEx:postIndex]) 59326 iNdEx = postIndex 59327 case 5: 59328 if wireType != 2 { 59329 return fmt.Errorf("proto: wrong wireType = %d for field LoginIP", wireType) 59330 } 59331 var stringLen uint64 59332 for shift := uint(0); ; shift += 7 { 59333 if shift >= 64 { 59334 return ErrIntOverflowAuthservice 59335 } 59336 if iNdEx >= l { 59337 return io.ErrUnexpectedEOF 59338 } 59339 b := dAtA[iNdEx] 59340 iNdEx++ 59341 stringLen |= uint64(b&0x7F) << shift 59342 if b < 0x80 { 59343 break 59344 } 59345 } 59346 intStringLen := int(stringLen) 59347 if intStringLen < 0 { 59348 return ErrInvalidLengthAuthservice 59349 } 59350 postIndex := iNdEx + intStringLen 59351 if postIndex < 0 { 59352 return ErrInvalidLengthAuthservice 59353 } 59354 if postIndex > l { 59355 return io.ErrUnexpectedEOF 59356 } 59357 m.LoginIP = string(dAtA[iNdEx:postIndex]) 59358 iNdEx = postIndex 59359 default: 59360 iNdEx = preIndex 59361 skippy, err := skipAuthservice(dAtA[iNdEx:]) 59362 if err != nil { 59363 return err 59364 } 59365 if (skippy < 0) || (iNdEx+skippy) < 0 { 59366 return ErrInvalidLengthAuthservice 59367 } 59368 if (iNdEx + skippy) > l { 59369 return io.ErrUnexpectedEOF 59370 } 59371 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 59372 iNdEx += skippy 59373 } 59374 } 59375 59376 if iNdEx > l { 59377 return io.ErrUnexpectedEOF 59378 } 59379 return nil 59380 } 59381 func (m *ChangeUserAuthenticationResponse) Unmarshal(dAtA []byte) error { 59382 l := len(dAtA) 59383 iNdEx := 0 59384 for iNdEx < l { 59385 preIndex := iNdEx 59386 var wire uint64 59387 for shift := uint(0); ; shift += 7 { 59388 if shift >= 64 { 59389 return ErrIntOverflowAuthservice 59390 } 59391 if iNdEx >= l { 59392 return io.ErrUnexpectedEOF 59393 } 59394 b := dAtA[iNdEx] 59395 iNdEx++ 59396 wire |= uint64(b&0x7F) << shift 59397 if b < 0x80 { 59398 break 59399 } 59400 } 59401 fieldNum := int32(wire >> 3) 59402 wireType := int(wire & 0x7) 59403 if wireType == 4 { 59404 return fmt.Errorf("proto: ChangeUserAuthenticationResponse: wiretype end group for non-group") 59405 } 59406 if fieldNum <= 0 { 59407 return fmt.Errorf("proto: ChangeUserAuthenticationResponse: illegal tag %d (wire type %d)", fieldNum, wire) 59408 } 59409 switch fieldNum { 59410 case 1: 59411 if wireType != 2 { 59412 return fmt.Errorf("proto: wrong wireType = %d for field WebSession", wireType) 59413 } 59414 var msglen int 59415 for shift := uint(0); ; shift += 7 { 59416 if shift >= 64 { 59417 return ErrIntOverflowAuthservice 59418 } 59419 if iNdEx >= l { 59420 return io.ErrUnexpectedEOF 59421 } 59422 b := dAtA[iNdEx] 59423 iNdEx++ 59424 msglen |= int(b&0x7F) << shift 59425 if b < 0x80 { 59426 break 59427 } 59428 } 59429 if msglen < 0 { 59430 return ErrInvalidLengthAuthservice 59431 } 59432 postIndex := iNdEx + msglen 59433 if postIndex < 0 { 59434 return ErrInvalidLengthAuthservice 59435 } 59436 if postIndex > l { 59437 return io.ErrUnexpectedEOF 59438 } 59439 if m.WebSession == nil { 59440 m.WebSession = &types.WebSessionV2{} 59441 } 59442 if err := m.WebSession.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 59443 return err 59444 } 59445 iNdEx = postIndex 59446 case 2: 59447 if wireType != 2 { 59448 return fmt.Errorf("proto: wrong wireType = %d for field Recovery", wireType) 59449 } 59450 var msglen int 59451 for shift := uint(0); ; shift += 7 { 59452 if shift >= 64 { 59453 return ErrIntOverflowAuthservice 59454 } 59455 if iNdEx >= l { 59456 return io.ErrUnexpectedEOF 59457 } 59458 b := dAtA[iNdEx] 59459 iNdEx++ 59460 msglen |= int(b&0x7F) << shift 59461 if b < 0x80 { 59462 break 59463 } 59464 } 59465 if msglen < 0 { 59466 return ErrInvalidLengthAuthservice 59467 } 59468 postIndex := iNdEx + msglen 59469 if postIndex < 0 { 59470 return ErrInvalidLengthAuthservice 59471 } 59472 if postIndex > l { 59473 return io.ErrUnexpectedEOF 59474 } 59475 if m.Recovery == nil { 59476 m.Recovery = &RecoveryCodes{} 59477 } 59478 if err := m.Recovery.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 59479 return err 59480 } 59481 iNdEx = postIndex 59482 case 3: 59483 if wireType != 0 { 59484 return fmt.Errorf("proto: wrong wireType = %d for field PrivateKeyPolicyEnabled", wireType) 59485 } 59486 var v int 59487 for shift := uint(0); ; shift += 7 { 59488 if shift >= 64 { 59489 return ErrIntOverflowAuthservice 59490 } 59491 if iNdEx >= l { 59492 return io.ErrUnexpectedEOF 59493 } 59494 b := dAtA[iNdEx] 59495 iNdEx++ 59496 v |= int(b&0x7F) << shift 59497 if b < 0x80 { 59498 break 59499 } 59500 } 59501 m.PrivateKeyPolicyEnabled = bool(v != 0) 59502 default: 59503 iNdEx = preIndex 59504 skippy, err := skipAuthservice(dAtA[iNdEx:]) 59505 if err != nil { 59506 return err 59507 } 59508 if (skippy < 0) || (iNdEx+skippy) < 0 { 59509 return ErrInvalidLengthAuthservice 59510 } 59511 if (iNdEx + skippy) > l { 59512 return io.ErrUnexpectedEOF 59513 } 59514 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 59515 iNdEx += skippy 59516 } 59517 } 59518 59519 if iNdEx > l { 59520 return io.ErrUnexpectedEOF 59521 } 59522 return nil 59523 } 59524 func (m *StartAccountRecoveryRequest) Unmarshal(dAtA []byte) error { 59525 l := len(dAtA) 59526 iNdEx := 0 59527 for iNdEx < l { 59528 preIndex := iNdEx 59529 var wire uint64 59530 for shift := uint(0); ; shift += 7 { 59531 if shift >= 64 { 59532 return ErrIntOverflowAuthservice 59533 } 59534 if iNdEx >= l { 59535 return io.ErrUnexpectedEOF 59536 } 59537 b := dAtA[iNdEx] 59538 iNdEx++ 59539 wire |= uint64(b&0x7F) << shift 59540 if b < 0x80 { 59541 break 59542 } 59543 } 59544 fieldNum := int32(wire >> 3) 59545 wireType := int(wire & 0x7) 59546 if wireType == 4 { 59547 return fmt.Errorf("proto: StartAccountRecoveryRequest: wiretype end group for non-group") 59548 } 59549 if fieldNum <= 0 { 59550 return fmt.Errorf("proto: StartAccountRecoveryRequest: illegal tag %d (wire type %d)", fieldNum, wire) 59551 } 59552 switch fieldNum { 59553 case 1: 59554 if wireType != 2 { 59555 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 59556 } 59557 var stringLen uint64 59558 for shift := uint(0); ; shift += 7 { 59559 if shift >= 64 { 59560 return ErrIntOverflowAuthservice 59561 } 59562 if iNdEx >= l { 59563 return io.ErrUnexpectedEOF 59564 } 59565 b := dAtA[iNdEx] 59566 iNdEx++ 59567 stringLen |= uint64(b&0x7F) << shift 59568 if b < 0x80 { 59569 break 59570 } 59571 } 59572 intStringLen := int(stringLen) 59573 if intStringLen < 0 { 59574 return ErrInvalidLengthAuthservice 59575 } 59576 postIndex := iNdEx + intStringLen 59577 if postIndex < 0 { 59578 return ErrInvalidLengthAuthservice 59579 } 59580 if postIndex > l { 59581 return io.ErrUnexpectedEOF 59582 } 59583 m.Username = string(dAtA[iNdEx:postIndex]) 59584 iNdEx = postIndex 59585 case 2: 59586 if wireType != 2 { 59587 return fmt.Errorf("proto: wrong wireType = %d for field RecoveryCode", wireType) 59588 } 59589 var byteLen int 59590 for shift := uint(0); ; shift += 7 { 59591 if shift >= 64 { 59592 return ErrIntOverflowAuthservice 59593 } 59594 if iNdEx >= l { 59595 return io.ErrUnexpectedEOF 59596 } 59597 b := dAtA[iNdEx] 59598 iNdEx++ 59599 byteLen |= int(b&0x7F) << shift 59600 if b < 0x80 { 59601 break 59602 } 59603 } 59604 if byteLen < 0 { 59605 return ErrInvalidLengthAuthservice 59606 } 59607 postIndex := iNdEx + byteLen 59608 if postIndex < 0 { 59609 return ErrInvalidLengthAuthservice 59610 } 59611 if postIndex > l { 59612 return io.ErrUnexpectedEOF 59613 } 59614 m.RecoveryCode = append(m.RecoveryCode[:0], dAtA[iNdEx:postIndex]...) 59615 if m.RecoveryCode == nil { 59616 m.RecoveryCode = []byte{} 59617 } 59618 iNdEx = postIndex 59619 case 3: 59620 if wireType != 0 { 59621 return fmt.Errorf("proto: wrong wireType = %d for field RecoverType", wireType) 59622 } 59623 m.RecoverType = 0 59624 for shift := uint(0); ; shift += 7 { 59625 if shift >= 64 { 59626 return ErrIntOverflowAuthservice 59627 } 59628 if iNdEx >= l { 59629 return io.ErrUnexpectedEOF 59630 } 59631 b := dAtA[iNdEx] 59632 iNdEx++ 59633 m.RecoverType |= types.UserTokenUsage(b&0x7F) << shift 59634 if b < 0x80 { 59635 break 59636 } 59637 } 59638 default: 59639 iNdEx = preIndex 59640 skippy, err := skipAuthservice(dAtA[iNdEx:]) 59641 if err != nil { 59642 return err 59643 } 59644 if (skippy < 0) || (iNdEx+skippy) < 0 { 59645 return ErrInvalidLengthAuthservice 59646 } 59647 if (iNdEx + skippy) > l { 59648 return io.ErrUnexpectedEOF 59649 } 59650 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 59651 iNdEx += skippy 59652 } 59653 } 59654 59655 if iNdEx > l { 59656 return io.ErrUnexpectedEOF 59657 } 59658 return nil 59659 } 59660 func (m *VerifyAccountRecoveryRequest) Unmarshal(dAtA []byte) error { 59661 l := len(dAtA) 59662 iNdEx := 0 59663 for iNdEx < l { 59664 preIndex := iNdEx 59665 var wire uint64 59666 for shift := uint(0); ; shift += 7 { 59667 if shift >= 64 { 59668 return ErrIntOverflowAuthservice 59669 } 59670 if iNdEx >= l { 59671 return io.ErrUnexpectedEOF 59672 } 59673 b := dAtA[iNdEx] 59674 iNdEx++ 59675 wire |= uint64(b&0x7F) << shift 59676 if b < 0x80 { 59677 break 59678 } 59679 } 59680 fieldNum := int32(wire >> 3) 59681 wireType := int(wire & 0x7) 59682 if wireType == 4 { 59683 return fmt.Errorf("proto: VerifyAccountRecoveryRequest: wiretype end group for non-group") 59684 } 59685 if fieldNum <= 0 { 59686 return fmt.Errorf("proto: VerifyAccountRecoveryRequest: illegal tag %d (wire type %d)", fieldNum, wire) 59687 } 59688 switch fieldNum { 59689 case 1: 59690 if wireType != 2 { 59691 return fmt.Errorf("proto: wrong wireType = %d for field RecoveryStartTokenID", wireType) 59692 } 59693 var stringLen uint64 59694 for shift := uint(0); ; shift += 7 { 59695 if shift >= 64 { 59696 return ErrIntOverflowAuthservice 59697 } 59698 if iNdEx >= l { 59699 return io.ErrUnexpectedEOF 59700 } 59701 b := dAtA[iNdEx] 59702 iNdEx++ 59703 stringLen |= uint64(b&0x7F) << shift 59704 if b < 0x80 { 59705 break 59706 } 59707 } 59708 intStringLen := int(stringLen) 59709 if intStringLen < 0 { 59710 return ErrInvalidLengthAuthservice 59711 } 59712 postIndex := iNdEx + intStringLen 59713 if postIndex < 0 { 59714 return ErrInvalidLengthAuthservice 59715 } 59716 if postIndex > l { 59717 return io.ErrUnexpectedEOF 59718 } 59719 m.RecoveryStartTokenID = string(dAtA[iNdEx:postIndex]) 59720 iNdEx = postIndex 59721 case 2: 59722 if wireType != 2 { 59723 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 59724 } 59725 var stringLen uint64 59726 for shift := uint(0); ; shift += 7 { 59727 if shift >= 64 { 59728 return ErrIntOverflowAuthservice 59729 } 59730 if iNdEx >= l { 59731 return io.ErrUnexpectedEOF 59732 } 59733 b := dAtA[iNdEx] 59734 iNdEx++ 59735 stringLen |= uint64(b&0x7F) << shift 59736 if b < 0x80 { 59737 break 59738 } 59739 } 59740 intStringLen := int(stringLen) 59741 if intStringLen < 0 { 59742 return ErrInvalidLengthAuthservice 59743 } 59744 postIndex := iNdEx + intStringLen 59745 if postIndex < 0 { 59746 return ErrInvalidLengthAuthservice 59747 } 59748 if postIndex > l { 59749 return io.ErrUnexpectedEOF 59750 } 59751 m.Username = string(dAtA[iNdEx:postIndex]) 59752 iNdEx = postIndex 59753 case 3: 59754 if wireType != 2 { 59755 return fmt.Errorf("proto: wrong wireType = %d for field Password", wireType) 59756 } 59757 var byteLen int 59758 for shift := uint(0); ; shift += 7 { 59759 if shift >= 64 { 59760 return ErrIntOverflowAuthservice 59761 } 59762 if iNdEx >= l { 59763 return io.ErrUnexpectedEOF 59764 } 59765 b := dAtA[iNdEx] 59766 iNdEx++ 59767 byteLen |= int(b&0x7F) << shift 59768 if b < 0x80 { 59769 break 59770 } 59771 } 59772 if byteLen < 0 { 59773 return ErrInvalidLengthAuthservice 59774 } 59775 postIndex := iNdEx + byteLen 59776 if postIndex < 0 { 59777 return ErrInvalidLengthAuthservice 59778 } 59779 if postIndex > l { 59780 return io.ErrUnexpectedEOF 59781 } 59782 v := make([]byte, postIndex-iNdEx) 59783 copy(v, dAtA[iNdEx:postIndex]) 59784 m.AuthnCred = &VerifyAccountRecoveryRequest_Password{v} 59785 iNdEx = postIndex 59786 case 4: 59787 if wireType != 2 { 59788 return fmt.Errorf("proto: wrong wireType = %d for field MFAAuthenticateResponse", wireType) 59789 } 59790 var msglen int 59791 for shift := uint(0); ; shift += 7 { 59792 if shift >= 64 { 59793 return ErrIntOverflowAuthservice 59794 } 59795 if iNdEx >= l { 59796 return io.ErrUnexpectedEOF 59797 } 59798 b := dAtA[iNdEx] 59799 iNdEx++ 59800 msglen |= int(b&0x7F) << shift 59801 if b < 0x80 { 59802 break 59803 } 59804 } 59805 if msglen < 0 { 59806 return ErrInvalidLengthAuthservice 59807 } 59808 postIndex := iNdEx + msglen 59809 if postIndex < 0 { 59810 return ErrInvalidLengthAuthservice 59811 } 59812 if postIndex > l { 59813 return io.ErrUnexpectedEOF 59814 } 59815 v := &MFAAuthenticateResponse{} 59816 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 59817 return err 59818 } 59819 m.AuthnCred = &VerifyAccountRecoveryRequest_MFAAuthenticateResponse{v} 59820 iNdEx = postIndex 59821 default: 59822 iNdEx = preIndex 59823 skippy, err := skipAuthservice(dAtA[iNdEx:]) 59824 if err != nil { 59825 return err 59826 } 59827 if (skippy < 0) || (iNdEx+skippy) < 0 { 59828 return ErrInvalidLengthAuthservice 59829 } 59830 if (iNdEx + skippy) > l { 59831 return io.ErrUnexpectedEOF 59832 } 59833 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 59834 iNdEx += skippy 59835 } 59836 } 59837 59838 if iNdEx > l { 59839 return io.ErrUnexpectedEOF 59840 } 59841 return nil 59842 } 59843 func (m *CompleteAccountRecoveryRequest) Unmarshal(dAtA []byte) error { 59844 l := len(dAtA) 59845 iNdEx := 0 59846 for iNdEx < l { 59847 preIndex := iNdEx 59848 var wire uint64 59849 for shift := uint(0); ; shift += 7 { 59850 if shift >= 64 { 59851 return ErrIntOverflowAuthservice 59852 } 59853 if iNdEx >= l { 59854 return io.ErrUnexpectedEOF 59855 } 59856 b := dAtA[iNdEx] 59857 iNdEx++ 59858 wire |= uint64(b&0x7F) << shift 59859 if b < 0x80 { 59860 break 59861 } 59862 } 59863 fieldNum := int32(wire >> 3) 59864 wireType := int(wire & 0x7) 59865 if wireType == 4 { 59866 return fmt.Errorf("proto: CompleteAccountRecoveryRequest: wiretype end group for non-group") 59867 } 59868 if fieldNum <= 0 { 59869 return fmt.Errorf("proto: CompleteAccountRecoveryRequest: illegal tag %d (wire type %d)", fieldNum, wire) 59870 } 59871 switch fieldNum { 59872 case 1: 59873 if wireType != 2 { 59874 return fmt.Errorf("proto: wrong wireType = %d for field RecoveryApprovedTokenID", wireType) 59875 } 59876 var stringLen uint64 59877 for shift := uint(0); ; shift += 7 { 59878 if shift >= 64 { 59879 return ErrIntOverflowAuthservice 59880 } 59881 if iNdEx >= l { 59882 return io.ErrUnexpectedEOF 59883 } 59884 b := dAtA[iNdEx] 59885 iNdEx++ 59886 stringLen |= uint64(b&0x7F) << shift 59887 if b < 0x80 { 59888 break 59889 } 59890 } 59891 intStringLen := int(stringLen) 59892 if intStringLen < 0 { 59893 return ErrInvalidLengthAuthservice 59894 } 59895 postIndex := iNdEx + intStringLen 59896 if postIndex < 0 { 59897 return ErrInvalidLengthAuthservice 59898 } 59899 if postIndex > l { 59900 return io.ErrUnexpectedEOF 59901 } 59902 m.RecoveryApprovedTokenID = string(dAtA[iNdEx:postIndex]) 59903 iNdEx = postIndex 59904 case 2: 59905 if wireType != 2 { 59906 return fmt.Errorf("proto: wrong wireType = %d for field NewDeviceName", wireType) 59907 } 59908 var stringLen uint64 59909 for shift := uint(0); ; shift += 7 { 59910 if shift >= 64 { 59911 return ErrIntOverflowAuthservice 59912 } 59913 if iNdEx >= l { 59914 return io.ErrUnexpectedEOF 59915 } 59916 b := dAtA[iNdEx] 59917 iNdEx++ 59918 stringLen |= uint64(b&0x7F) << shift 59919 if b < 0x80 { 59920 break 59921 } 59922 } 59923 intStringLen := int(stringLen) 59924 if intStringLen < 0 { 59925 return ErrInvalidLengthAuthservice 59926 } 59927 postIndex := iNdEx + intStringLen 59928 if postIndex < 0 { 59929 return ErrInvalidLengthAuthservice 59930 } 59931 if postIndex > l { 59932 return io.ErrUnexpectedEOF 59933 } 59934 m.NewDeviceName = string(dAtA[iNdEx:postIndex]) 59935 iNdEx = postIndex 59936 case 3: 59937 if wireType != 2 { 59938 return fmt.Errorf("proto: wrong wireType = %d for field NewPassword", wireType) 59939 } 59940 var byteLen int 59941 for shift := uint(0); ; shift += 7 { 59942 if shift >= 64 { 59943 return ErrIntOverflowAuthservice 59944 } 59945 if iNdEx >= l { 59946 return io.ErrUnexpectedEOF 59947 } 59948 b := dAtA[iNdEx] 59949 iNdEx++ 59950 byteLen |= int(b&0x7F) << shift 59951 if b < 0x80 { 59952 break 59953 } 59954 } 59955 if byteLen < 0 { 59956 return ErrInvalidLengthAuthservice 59957 } 59958 postIndex := iNdEx + byteLen 59959 if postIndex < 0 { 59960 return ErrInvalidLengthAuthservice 59961 } 59962 if postIndex > l { 59963 return io.ErrUnexpectedEOF 59964 } 59965 v := make([]byte, postIndex-iNdEx) 59966 copy(v, dAtA[iNdEx:postIndex]) 59967 m.NewAuthnCred = &CompleteAccountRecoveryRequest_NewPassword{v} 59968 iNdEx = postIndex 59969 case 4: 59970 if wireType != 2 { 59971 return fmt.Errorf("proto: wrong wireType = %d for field NewMFAResponse", wireType) 59972 } 59973 var msglen int 59974 for shift := uint(0); ; shift += 7 { 59975 if shift >= 64 { 59976 return ErrIntOverflowAuthservice 59977 } 59978 if iNdEx >= l { 59979 return io.ErrUnexpectedEOF 59980 } 59981 b := dAtA[iNdEx] 59982 iNdEx++ 59983 msglen |= int(b&0x7F) << shift 59984 if b < 0x80 { 59985 break 59986 } 59987 } 59988 if msglen < 0 { 59989 return ErrInvalidLengthAuthservice 59990 } 59991 postIndex := iNdEx + msglen 59992 if postIndex < 0 { 59993 return ErrInvalidLengthAuthservice 59994 } 59995 if postIndex > l { 59996 return io.ErrUnexpectedEOF 59997 } 59998 v := &MFARegisterResponse{} 59999 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 60000 return err 60001 } 60002 m.NewAuthnCred = &CompleteAccountRecoveryRequest_NewMFAResponse{v} 60003 iNdEx = postIndex 60004 default: 60005 iNdEx = preIndex 60006 skippy, err := skipAuthservice(dAtA[iNdEx:]) 60007 if err != nil { 60008 return err 60009 } 60010 if (skippy < 0) || (iNdEx+skippy) < 0 { 60011 return ErrInvalidLengthAuthservice 60012 } 60013 if (iNdEx + skippy) > l { 60014 return io.ErrUnexpectedEOF 60015 } 60016 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60017 iNdEx += skippy 60018 } 60019 } 60020 60021 if iNdEx > l { 60022 return io.ErrUnexpectedEOF 60023 } 60024 return nil 60025 } 60026 func (m *RecoveryCodes) Unmarshal(dAtA []byte) error { 60027 l := len(dAtA) 60028 iNdEx := 0 60029 for iNdEx < l { 60030 preIndex := iNdEx 60031 var wire uint64 60032 for shift := uint(0); ; shift += 7 { 60033 if shift >= 64 { 60034 return ErrIntOverflowAuthservice 60035 } 60036 if iNdEx >= l { 60037 return io.ErrUnexpectedEOF 60038 } 60039 b := dAtA[iNdEx] 60040 iNdEx++ 60041 wire |= uint64(b&0x7F) << shift 60042 if b < 0x80 { 60043 break 60044 } 60045 } 60046 fieldNum := int32(wire >> 3) 60047 wireType := int(wire & 0x7) 60048 if wireType == 4 { 60049 return fmt.Errorf("proto: RecoveryCodes: wiretype end group for non-group") 60050 } 60051 if fieldNum <= 0 { 60052 return fmt.Errorf("proto: RecoveryCodes: illegal tag %d (wire type %d)", fieldNum, wire) 60053 } 60054 switch fieldNum { 60055 case 1: 60056 if wireType != 2 { 60057 return fmt.Errorf("proto: wrong wireType = %d for field Codes", wireType) 60058 } 60059 var stringLen uint64 60060 for shift := uint(0); ; shift += 7 { 60061 if shift >= 64 { 60062 return ErrIntOverflowAuthservice 60063 } 60064 if iNdEx >= l { 60065 return io.ErrUnexpectedEOF 60066 } 60067 b := dAtA[iNdEx] 60068 iNdEx++ 60069 stringLen |= uint64(b&0x7F) << shift 60070 if b < 0x80 { 60071 break 60072 } 60073 } 60074 intStringLen := int(stringLen) 60075 if intStringLen < 0 { 60076 return ErrInvalidLengthAuthservice 60077 } 60078 postIndex := iNdEx + intStringLen 60079 if postIndex < 0 { 60080 return ErrInvalidLengthAuthservice 60081 } 60082 if postIndex > l { 60083 return io.ErrUnexpectedEOF 60084 } 60085 m.Codes = append(m.Codes, string(dAtA[iNdEx:postIndex])) 60086 iNdEx = postIndex 60087 case 2: 60088 if wireType != 2 { 60089 return fmt.Errorf("proto: wrong wireType = %d for field Created", wireType) 60090 } 60091 var msglen int 60092 for shift := uint(0); ; shift += 7 { 60093 if shift >= 64 { 60094 return ErrIntOverflowAuthservice 60095 } 60096 if iNdEx >= l { 60097 return io.ErrUnexpectedEOF 60098 } 60099 b := dAtA[iNdEx] 60100 iNdEx++ 60101 msglen |= int(b&0x7F) << shift 60102 if b < 0x80 { 60103 break 60104 } 60105 } 60106 if msglen < 0 { 60107 return ErrInvalidLengthAuthservice 60108 } 60109 postIndex := iNdEx + msglen 60110 if postIndex < 0 { 60111 return ErrInvalidLengthAuthservice 60112 } 60113 if postIndex > l { 60114 return io.ErrUnexpectedEOF 60115 } 60116 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Created, dAtA[iNdEx:postIndex]); err != nil { 60117 return err 60118 } 60119 iNdEx = postIndex 60120 default: 60121 iNdEx = preIndex 60122 skippy, err := skipAuthservice(dAtA[iNdEx:]) 60123 if err != nil { 60124 return err 60125 } 60126 if (skippy < 0) || (iNdEx+skippy) < 0 { 60127 return ErrInvalidLengthAuthservice 60128 } 60129 if (iNdEx + skippy) > l { 60130 return io.ErrUnexpectedEOF 60131 } 60132 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60133 iNdEx += skippy 60134 } 60135 } 60136 60137 if iNdEx > l { 60138 return io.ErrUnexpectedEOF 60139 } 60140 return nil 60141 } 60142 func (m *CreateAccountRecoveryCodesRequest) Unmarshal(dAtA []byte) error { 60143 l := len(dAtA) 60144 iNdEx := 0 60145 for iNdEx < l { 60146 preIndex := iNdEx 60147 var wire uint64 60148 for shift := uint(0); ; shift += 7 { 60149 if shift >= 64 { 60150 return ErrIntOverflowAuthservice 60151 } 60152 if iNdEx >= l { 60153 return io.ErrUnexpectedEOF 60154 } 60155 b := dAtA[iNdEx] 60156 iNdEx++ 60157 wire |= uint64(b&0x7F) << shift 60158 if b < 0x80 { 60159 break 60160 } 60161 } 60162 fieldNum := int32(wire >> 3) 60163 wireType := int(wire & 0x7) 60164 if wireType == 4 { 60165 return fmt.Errorf("proto: CreateAccountRecoveryCodesRequest: wiretype end group for non-group") 60166 } 60167 if fieldNum <= 0 { 60168 return fmt.Errorf("proto: CreateAccountRecoveryCodesRequest: illegal tag %d (wire type %d)", fieldNum, wire) 60169 } 60170 switch fieldNum { 60171 case 1: 60172 if wireType != 2 { 60173 return fmt.Errorf("proto: wrong wireType = %d for field TokenID", wireType) 60174 } 60175 var stringLen uint64 60176 for shift := uint(0); ; shift += 7 { 60177 if shift >= 64 { 60178 return ErrIntOverflowAuthservice 60179 } 60180 if iNdEx >= l { 60181 return io.ErrUnexpectedEOF 60182 } 60183 b := dAtA[iNdEx] 60184 iNdEx++ 60185 stringLen |= uint64(b&0x7F) << shift 60186 if b < 0x80 { 60187 break 60188 } 60189 } 60190 intStringLen := int(stringLen) 60191 if intStringLen < 0 { 60192 return ErrInvalidLengthAuthservice 60193 } 60194 postIndex := iNdEx + intStringLen 60195 if postIndex < 0 { 60196 return ErrInvalidLengthAuthservice 60197 } 60198 if postIndex > l { 60199 return io.ErrUnexpectedEOF 60200 } 60201 m.TokenID = string(dAtA[iNdEx:postIndex]) 60202 iNdEx = postIndex 60203 default: 60204 iNdEx = preIndex 60205 skippy, err := skipAuthservice(dAtA[iNdEx:]) 60206 if err != nil { 60207 return err 60208 } 60209 if (skippy < 0) || (iNdEx+skippy) < 0 { 60210 return ErrInvalidLengthAuthservice 60211 } 60212 if (iNdEx + skippy) > l { 60213 return io.ErrUnexpectedEOF 60214 } 60215 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60216 iNdEx += skippy 60217 } 60218 } 60219 60220 if iNdEx > l { 60221 return io.ErrUnexpectedEOF 60222 } 60223 return nil 60224 } 60225 func (m *GetAccountRecoveryTokenRequest) Unmarshal(dAtA []byte) error { 60226 l := len(dAtA) 60227 iNdEx := 0 60228 for iNdEx < l { 60229 preIndex := iNdEx 60230 var wire uint64 60231 for shift := uint(0); ; shift += 7 { 60232 if shift >= 64 { 60233 return ErrIntOverflowAuthservice 60234 } 60235 if iNdEx >= l { 60236 return io.ErrUnexpectedEOF 60237 } 60238 b := dAtA[iNdEx] 60239 iNdEx++ 60240 wire |= uint64(b&0x7F) << shift 60241 if b < 0x80 { 60242 break 60243 } 60244 } 60245 fieldNum := int32(wire >> 3) 60246 wireType := int(wire & 0x7) 60247 if wireType == 4 { 60248 return fmt.Errorf("proto: GetAccountRecoveryTokenRequest: wiretype end group for non-group") 60249 } 60250 if fieldNum <= 0 { 60251 return fmt.Errorf("proto: GetAccountRecoveryTokenRequest: illegal tag %d (wire type %d)", fieldNum, wire) 60252 } 60253 switch fieldNum { 60254 case 1: 60255 if wireType != 2 { 60256 return fmt.Errorf("proto: wrong wireType = %d for field RecoveryTokenID", wireType) 60257 } 60258 var stringLen uint64 60259 for shift := uint(0); ; shift += 7 { 60260 if shift >= 64 { 60261 return ErrIntOverflowAuthservice 60262 } 60263 if iNdEx >= l { 60264 return io.ErrUnexpectedEOF 60265 } 60266 b := dAtA[iNdEx] 60267 iNdEx++ 60268 stringLen |= uint64(b&0x7F) << shift 60269 if b < 0x80 { 60270 break 60271 } 60272 } 60273 intStringLen := int(stringLen) 60274 if intStringLen < 0 { 60275 return ErrInvalidLengthAuthservice 60276 } 60277 postIndex := iNdEx + intStringLen 60278 if postIndex < 0 { 60279 return ErrInvalidLengthAuthservice 60280 } 60281 if postIndex > l { 60282 return io.ErrUnexpectedEOF 60283 } 60284 m.RecoveryTokenID = string(dAtA[iNdEx:postIndex]) 60285 iNdEx = postIndex 60286 default: 60287 iNdEx = preIndex 60288 skippy, err := skipAuthservice(dAtA[iNdEx:]) 60289 if err != nil { 60290 return err 60291 } 60292 if (skippy < 0) || (iNdEx+skippy) < 0 { 60293 return ErrInvalidLengthAuthservice 60294 } 60295 if (iNdEx + skippy) > l { 60296 return io.ErrUnexpectedEOF 60297 } 60298 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60299 iNdEx += skippy 60300 } 60301 } 60302 60303 if iNdEx > l { 60304 return io.ErrUnexpectedEOF 60305 } 60306 return nil 60307 } 60308 func (m *GetAccountRecoveryCodesRequest) Unmarshal(dAtA []byte) error { 60309 l := len(dAtA) 60310 iNdEx := 0 60311 for iNdEx < l { 60312 preIndex := iNdEx 60313 var wire uint64 60314 for shift := uint(0); ; shift += 7 { 60315 if shift >= 64 { 60316 return ErrIntOverflowAuthservice 60317 } 60318 if iNdEx >= l { 60319 return io.ErrUnexpectedEOF 60320 } 60321 b := dAtA[iNdEx] 60322 iNdEx++ 60323 wire |= uint64(b&0x7F) << shift 60324 if b < 0x80 { 60325 break 60326 } 60327 } 60328 fieldNum := int32(wire >> 3) 60329 wireType := int(wire & 0x7) 60330 if wireType == 4 { 60331 return fmt.Errorf("proto: GetAccountRecoveryCodesRequest: wiretype end group for non-group") 60332 } 60333 if fieldNum <= 0 { 60334 return fmt.Errorf("proto: GetAccountRecoveryCodesRequest: illegal tag %d (wire type %d)", fieldNum, wire) 60335 } 60336 switch fieldNum { 60337 default: 60338 iNdEx = preIndex 60339 skippy, err := skipAuthservice(dAtA[iNdEx:]) 60340 if err != nil { 60341 return err 60342 } 60343 if (skippy < 0) || (iNdEx+skippy) < 0 { 60344 return ErrInvalidLengthAuthservice 60345 } 60346 if (iNdEx + skippy) > l { 60347 return io.ErrUnexpectedEOF 60348 } 60349 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60350 iNdEx += skippy 60351 } 60352 } 60353 60354 if iNdEx > l { 60355 return io.ErrUnexpectedEOF 60356 } 60357 return nil 60358 } 60359 func (m *UserCredentials) Unmarshal(dAtA []byte) error { 60360 l := len(dAtA) 60361 iNdEx := 0 60362 for iNdEx < l { 60363 preIndex := iNdEx 60364 var wire uint64 60365 for shift := uint(0); ; shift += 7 { 60366 if shift >= 64 { 60367 return ErrIntOverflowAuthservice 60368 } 60369 if iNdEx >= l { 60370 return io.ErrUnexpectedEOF 60371 } 60372 b := dAtA[iNdEx] 60373 iNdEx++ 60374 wire |= uint64(b&0x7F) << shift 60375 if b < 0x80 { 60376 break 60377 } 60378 } 60379 fieldNum := int32(wire >> 3) 60380 wireType := int(wire & 0x7) 60381 if wireType == 4 { 60382 return fmt.Errorf("proto: UserCredentials: wiretype end group for non-group") 60383 } 60384 if fieldNum <= 0 { 60385 return fmt.Errorf("proto: UserCredentials: illegal tag %d (wire type %d)", fieldNum, wire) 60386 } 60387 switch fieldNum { 60388 case 1: 60389 if wireType != 2 { 60390 return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType) 60391 } 60392 var stringLen uint64 60393 for shift := uint(0); ; shift += 7 { 60394 if shift >= 64 { 60395 return ErrIntOverflowAuthservice 60396 } 60397 if iNdEx >= l { 60398 return io.ErrUnexpectedEOF 60399 } 60400 b := dAtA[iNdEx] 60401 iNdEx++ 60402 stringLen |= uint64(b&0x7F) << shift 60403 if b < 0x80 { 60404 break 60405 } 60406 } 60407 intStringLen := int(stringLen) 60408 if intStringLen < 0 { 60409 return ErrInvalidLengthAuthservice 60410 } 60411 postIndex := iNdEx + intStringLen 60412 if postIndex < 0 { 60413 return ErrInvalidLengthAuthservice 60414 } 60415 if postIndex > l { 60416 return io.ErrUnexpectedEOF 60417 } 60418 m.Username = string(dAtA[iNdEx:postIndex]) 60419 iNdEx = postIndex 60420 case 2: 60421 if wireType != 2 { 60422 return fmt.Errorf("proto: wrong wireType = %d for field Password", wireType) 60423 } 60424 var byteLen int 60425 for shift := uint(0); ; shift += 7 { 60426 if shift >= 64 { 60427 return ErrIntOverflowAuthservice 60428 } 60429 if iNdEx >= l { 60430 return io.ErrUnexpectedEOF 60431 } 60432 b := dAtA[iNdEx] 60433 iNdEx++ 60434 byteLen |= int(b&0x7F) << shift 60435 if b < 0x80 { 60436 break 60437 } 60438 } 60439 if byteLen < 0 { 60440 return ErrInvalidLengthAuthservice 60441 } 60442 postIndex := iNdEx + byteLen 60443 if postIndex < 0 { 60444 return ErrInvalidLengthAuthservice 60445 } 60446 if postIndex > l { 60447 return io.ErrUnexpectedEOF 60448 } 60449 m.Password = append(m.Password[:0], dAtA[iNdEx:postIndex]...) 60450 if m.Password == nil { 60451 m.Password = []byte{} 60452 } 60453 iNdEx = postIndex 60454 default: 60455 iNdEx = preIndex 60456 skippy, err := skipAuthservice(dAtA[iNdEx:]) 60457 if err != nil { 60458 return err 60459 } 60460 if (skippy < 0) || (iNdEx+skippy) < 0 { 60461 return ErrInvalidLengthAuthservice 60462 } 60463 if (iNdEx + skippy) > l { 60464 return io.ErrUnexpectedEOF 60465 } 60466 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60467 iNdEx += skippy 60468 } 60469 } 60470 60471 if iNdEx > l { 60472 return io.ErrUnexpectedEOF 60473 } 60474 return nil 60475 } 60476 func (m *ContextUser) Unmarshal(dAtA []byte) error { 60477 l := len(dAtA) 60478 iNdEx := 0 60479 for iNdEx < l { 60480 preIndex := iNdEx 60481 var wire uint64 60482 for shift := uint(0); ; shift += 7 { 60483 if shift >= 64 { 60484 return ErrIntOverflowAuthservice 60485 } 60486 if iNdEx >= l { 60487 return io.ErrUnexpectedEOF 60488 } 60489 b := dAtA[iNdEx] 60490 iNdEx++ 60491 wire |= uint64(b&0x7F) << shift 60492 if b < 0x80 { 60493 break 60494 } 60495 } 60496 fieldNum := int32(wire >> 3) 60497 wireType := int(wire & 0x7) 60498 if wireType == 4 { 60499 return fmt.Errorf("proto: ContextUser: wiretype end group for non-group") 60500 } 60501 if fieldNum <= 0 { 60502 return fmt.Errorf("proto: ContextUser: illegal tag %d (wire type %d)", fieldNum, wire) 60503 } 60504 switch fieldNum { 60505 default: 60506 iNdEx = preIndex 60507 skippy, err := skipAuthservice(dAtA[iNdEx:]) 60508 if err != nil { 60509 return err 60510 } 60511 if (skippy < 0) || (iNdEx+skippy) < 0 { 60512 return ErrInvalidLengthAuthservice 60513 } 60514 if (iNdEx + skippy) > l { 60515 return io.ErrUnexpectedEOF 60516 } 60517 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60518 iNdEx += skippy 60519 } 60520 } 60521 60522 if iNdEx > l { 60523 return io.ErrUnexpectedEOF 60524 } 60525 return nil 60526 } 60527 func (m *Passwordless) Unmarshal(dAtA []byte) error { 60528 l := len(dAtA) 60529 iNdEx := 0 60530 for iNdEx < l { 60531 preIndex := iNdEx 60532 var wire uint64 60533 for shift := uint(0); ; shift += 7 { 60534 if shift >= 64 { 60535 return ErrIntOverflowAuthservice 60536 } 60537 if iNdEx >= l { 60538 return io.ErrUnexpectedEOF 60539 } 60540 b := dAtA[iNdEx] 60541 iNdEx++ 60542 wire |= uint64(b&0x7F) << shift 60543 if b < 0x80 { 60544 break 60545 } 60546 } 60547 fieldNum := int32(wire >> 3) 60548 wireType := int(wire & 0x7) 60549 if wireType == 4 { 60550 return fmt.Errorf("proto: Passwordless: wiretype end group for non-group") 60551 } 60552 if fieldNum <= 0 { 60553 return fmt.Errorf("proto: Passwordless: illegal tag %d (wire type %d)", fieldNum, wire) 60554 } 60555 switch fieldNum { 60556 default: 60557 iNdEx = preIndex 60558 skippy, err := skipAuthservice(dAtA[iNdEx:]) 60559 if err != nil { 60560 return err 60561 } 60562 if (skippy < 0) || (iNdEx+skippy) < 0 { 60563 return ErrInvalidLengthAuthservice 60564 } 60565 if (iNdEx + skippy) > l { 60566 return io.ErrUnexpectedEOF 60567 } 60568 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60569 iNdEx += skippy 60570 } 60571 } 60572 60573 if iNdEx > l { 60574 return io.ErrUnexpectedEOF 60575 } 60576 return nil 60577 } 60578 func (m *CreateAuthenticateChallengeRequest) Unmarshal(dAtA []byte) error { 60579 l := len(dAtA) 60580 iNdEx := 0 60581 for iNdEx < l { 60582 preIndex := iNdEx 60583 var wire uint64 60584 for shift := uint(0); ; shift += 7 { 60585 if shift >= 64 { 60586 return ErrIntOverflowAuthservice 60587 } 60588 if iNdEx >= l { 60589 return io.ErrUnexpectedEOF 60590 } 60591 b := dAtA[iNdEx] 60592 iNdEx++ 60593 wire |= uint64(b&0x7F) << shift 60594 if b < 0x80 { 60595 break 60596 } 60597 } 60598 fieldNum := int32(wire >> 3) 60599 wireType := int(wire & 0x7) 60600 if wireType == 4 { 60601 return fmt.Errorf("proto: CreateAuthenticateChallengeRequest: wiretype end group for non-group") 60602 } 60603 if fieldNum <= 0 { 60604 return fmt.Errorf("proto: CreateAuthenticateChallengeRequest: illegal tag %d (wire type %d)", fieldNum, wire) 60605 } 60606 switch fieldNum { 60607 case 1: 60608 if wireType != 2 { 60609 return fmt.Errorf("proto: wrong wireType = %d for field UserCredentials", wireType) 60610 } 60611 var msglen int 60612 for shift := uint(0); ; shift += 7 { 60613 if shift >= 64 { 60614 return ErrIntOverflowAuthservice 60615 } 60616 if iNdEx >= l { 60617 return io.ErrUnexpectedEOF 60618 } 60619 b := dAtA[iNdEx] 60620 iNdEx++ 60621 msglen |= int(b&0x7F) << shift 60622 if b < 0x80 { 60623 break 60624 } 60625 } 60626 if msglen < 0 { 60627 return ErrInvalidLengthAuthservice 60628 } 60629 postIndex := iNdEx + msglen 60630 if postIndex < 0 { 60631 return ErrInvalidLengthAuthservice 60632 } 60633 if postIndex > l { 60634 return io.ErrUnexpectedEOF 60635 } 60636 v := &UserCredentials{} 60637 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 60638 return err 60639 } 60640 m.Request = &CreateAuthenticateChallengeRequest_UserCredentials{v} 60641 iNdEx = postIndex 60642 case 2: 60643 if wireType != 2 { 60644 return fmt.Errorf("proto: wrong wireType = %d for field RecoveryStartTokenID", wireType) 60645 } 60646 var stringLen uint64 60647 for shift := uint(0); ; shift += 7 { 60648 if shift >= 64 { 60649 return ErrIntOverflowAuthservice 60650 } 60651 if iNdEx >= l { 60652 return io.ErrUnexpectedEOF 60653 } 60654 b := dAtA[iNdEx] 60655 iNdEx++ 60656 stringLen |= uint64(b&0x7F) << shift 60657 if b < 0x80 { 60658 break 60659 } 60660 } 60661 intStringLen := int(stringLen) 60662 if intStringLen < 0 { 60663 return ErrInvalidLengthAuthservice 60664 } 60665 postIndex := iNdEx + intStringLen 60666 if postIndex < 0 { 60667 return ErrInvalidLengthAuthservice 60668 } 60669 if postIndex > l { 60670 return io.ErrUnexpectedEOF 60671 } 60672 m.Request = &CreateAuthenticateChallengeRequest_RecoveryStartTokenID{string(dAtA[iNdEx:postIndex])} 60673 iNdEx = postIndex 60674 case 3: 60675 if wireType != 2 { 60676 return fmt.Errorf("proto: wrong wireType = %d for field ContextUser", wireType) 60677 } 60678 var msglen int 60679 for shift := uint(0); ; shift += 7 { 60680 if shift >= 64 { 60681 return ErrIntOverflowAuthservice 60682 } 60683 if iNdEx >= l { 60684 return io.ErrUnexpectedEOF 60685 } 60686 b := dAtA[iNdEx] 60687 iNdEx++ 60688 msglen |= int(b&0x7F) << shift 60689 if b < 0x80 { 60690 break 60691 } 60692 } 60693 if msglen < 0 { 60694 return ErrInvalidLengthAuthservice 60695 } 60696 postIndex := iNdEx + msglen 60697 if postIndex < 0 { 60698 return ErrInvalidLengthAuthservice 60699 } 60700 if postIndex > l { 60701 return io.ErrUnexpectedEOF 60702 } 60703 v := &ContextUser{} 60704 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 60705 return err 60706 } 60707 m.Request = &CreateAuthenticateChallengeRequest_ContextUser{v} 60708 iNdEx = postIndex 60709 case 4: 60710 if wireType != 2 { 60711 return fmt.Errorf("proto: wrong wireType = %d for field Passwordless", wireType) 60712 } 60713 var msglen int 60714 for shift := uint(0); ; shift += 7 { 60715 if shift >= 64 { 60716 return ErrIntOverflowAuthservice 60717 } 60718 if iNdEx >= l { 60719 return io.ErrUnexpectedEOF 60720 } 60721 b := dAtA[iNdEx] 60722 iNdEx++ 60723 msglen |= int(b&0x7F) << shift 60724 if b < 0x80 { 60725 break 60726 } 60727 } 60728 if msglen < 0 { 60729 return ErrInvalidLengthAuthservice 60730 } 60731 postIndex := iNdEx + msglen 60732 if postIndex < 0 { 60733 return ErrInvalidLengthAuthservice 60734 } 60735 if postIndex > l { 60736 return io.ErrUnexpectedEOF 60737 } 60738 v := &Passwordless{} 60739 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 60740 return err 60741 } 60742 m.Request = &CreateAuthenticateChallengeRequest_Passwordless{v} 60743 iNdEx = postIndex 60744 case 5: 60745 if wireType != 2 { 60746 return fmt.Errorf("proto: wrong wireType = %d for field MFARequiredCheck", wireType) 60747 } 60748 var msglen int 60749 for shift := uint(0); ; shift += 7 { 60750 if shift >= 64 { 60751 return ErrIntOverflowAuthservice 60752 } 60753 if iNdEx >= l { 60754 return io.ErrUnexpectedEOF 60755 } 60756 b := dAtA[iNdEx] 60757 iNdEx++ 60758 msglen |= int(b&0x7F) << shift 60759 if b < 0x80 { 60760 break 60761 } 60762 } 60763 if msglen < 0 { 60764 return ErrInvalidLengthAuthservice 60765 } 60766 postIndex := iNdEx + msglen 60767 if postIndex < 0 { 60768 return ErrInvalidLengthAuthservice 60769 } 60770 if postIndex > l { 60771 return io.ErrUnexpectedEOF 60772 } 60773 if m.MFARequiredCheck == nil { 60774 m.MFARequiredCheck = &IsMFARequiredRequest{} 60775 } 60776 if err := m.MFARequiredCheck.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 60777 return err 60778 } 60779 iNdEx = postIndex 60780 case 6: 60781 if wireType != 2 { 60782 return fmt.Errorf("proto: wrong wireType = %d for field ChallengeExtensions", wireType) 60783 } 60784 var msglen int 60785 for shift := uint(0); ; shift += 7 { 60786 if shift >= 64 { 60787 return ErrIntOverflowAuthservice 60788 } 60789 if iNdEx >= l { 60790 return io.ErrUnexpectedEOF 60791 } 60792 b := dAtA[iNdEx] 60793 iNdEx++ 60794 msglen |= int(b&0x7F) << shift 60795 if b < 0x80 { 60796 break 60797 } 60798 } 60799 if msglen < 0 { 60800 return ErrInvalidLengthAuthservice 60801 } 60802 postIndex := iNdEx + msglen 60803 if postIndex < 0 { 60804 return ErrInvalidLengthAuthservice 60805 } 60806 if postIndex > l { 60807 return io.ErrUnexpectedEOF 60808 } 60809 if m.ChallengeExtensions == nil { 60810 m.ChallengeExtensions = &v11.ChallengeExtensions{} 60811 } 60812 if err := m.ChallengeExtensions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 60813 return err 60814 } 60815 iNdEx = postIndex 60816 default: 60817 iNdEx = preIndex 60818 skippy, err := skipAuthservice(dAtA[iNdEx:]) 60819 if err != nil { 60820 return err 60821 } 60822 if (skippy < 0) || (iNdEx+skippy) < 0 { 60823 return ErrInvalidLengthAuthservice 60824 } 60825 if (iNdEx + skippy) > l { 60826 return io.ErrUnexpectedEOF 60827 } 60828 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60829 iNdEx += skippy 60830 } 60831 } 60832 60833 if iNdEx > l { 60834 return io.ErrUnexpectedEOF 60835 } 60836 return nil 60837 } 60838 func (m *CreatePrivilegeTokenRequest) Unmarshal(dAtA []byte) error { 60839 l := len(dAtA) 60840 iNdEx := 0 60841 for iNdEx < l { 60842 preIndex := iNdEx 60843 var wire uint64 60844 for shift := uint(0); ; shift += 7 { 60845 if shift >= 64 { 60846 return ErrIntOverflowAuthservice 60847 } 60848 if iNdEx >= l { 60849 return io.ErrUnexpectedEOF 60850 } 60851 b := dAtA[iNdEx] 60852 iNdEx++ 60853 wire |= uint64(b&0x7F) << shift 60854 if b < 0x80 { 60855 break 60856 } 60857 } 60858 fieldNum := int32(wire >> 3) 60859 wireType := int(wire & 0x7) 60860 if wireType == 4 { 60861 return fmt.Errorf("proto: CreatePrivilegeTokenRequest: wiretype end group for non-group") 60862 } 60863 if fieldNum <= 0 { 60864 return fmt.Errorf("proto: CreatePrivilegeTokenRequest: illegal tag %d (wire type %d)", fieldNum, wire) 60865 } 60866 switch fieldNum { 60867 case 1: 60868 if wireType != 2 { 60869 return fmt.Errorf("proto: wrong wireType = %d for field ExistingMFAResponse", wireType) 60870 } 60871 var msglen int 60872 for shift := uint(0); ; shift += 7 { 60873 if shift >= 64 { 60874 return ErrIntOverflowAuthservice 60875 } 60876 if iNdEx >= l { 60877 return io.ErrUnexpectedEOF 60878 } 60879 b := dAtA[iNdEx] 60880 iNdEx++ 60881 msglen |= int(b&0x7F) << shift 60882 if b < 0x80 { 60883 break 60884 } 60885 } 60886 if msglen < 0 { 60887 return ErrInvalidLengthAuthservice 60888 } 60889 postIndex := iNdEx + msglen 60890 if postIndex < 0 { 60891 return ErrInvalidLengthAuthservice 60892 } 60893 if postIndex > l { 60894 return io.ErrUnexpectedEOF 60895 } 60896 if m.ExistingMFAResponse == nil { 60897 m.ExistingMFAResponse = &MFAAuthenticateResponse{} 60898 } 60899 if err := m.ExistingMFAResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 60900 return err 60901 } 60902 iNdEx = postIndex 60903 default: 60904 iNdEx = preIndex 60905 skippy, err := skipAuthservice(dAtA[iNdEx:]) 60906 if err != nil { 60907 return err 60908 } 60909 if (skippy < 0) || (iNdEx+skippy) < 0 { 60910 return ErrInvalidLengthAuthservice 60911 } 60912 if (iNdEx + skippy) > l { 60913 return io.ErrUnexpectedEOF 60914 } 60915 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 60916 iNdEx += skippy 60917 } 60918 } 60919 60920 if iNdEx > l { 60921 return io.ErrUnexpectedEOF 60922 } 60923 return nil 60924 } 60925 func (m *CreateRegisterChallengeRequest) Unmarshal(dAtA []byte) error { 60926 l := len(dAtA) 60927 iNdEx := 0 60928 for iNdEx < l { 60929 preIndex := iNdEx 60930 var wire uint64 60931 for shift := uint(0); ; shift += 7 { 60932 if shift >= 64 { 60933 return ErrIntOverflowAuthservice 60934 } 60935 if iNdEx >= l { 60936 return io.ErrUnexpectedEOF 60937 } 60938 b := dAtA[iNdEx] 60939 iNdEx++ 60940 wire |= uint64(b&0x7F) << shift 60941 if b < 0x80 { 60942 break 60943 } 60944 } 60945 fieldNum := int32(wire >> 3) 60946 wireType := int(wire & 0x7) 60947 if wireType == 4 { 60948 return fmt.Errorf("proto: CreateRegisterChallengeRequest: wiretype end group for non-group") 60949 } 60950 if fieldNum <= 0 { 60951 return fmt.Errorf("proto: CreateRegisterChallengeRequest: illegal tag %d (wire type %d)", fieldNum, wire) 60952 } 60953 switch fieldNum { 60954 case 1: 60955 if wireType != 2 { 60956 return fmt.Errorf("proto: wrong wireType = %d for field TokenID", wireType) 60957 } 60958 var stringLen uint64 60959 for shift := uint(0); ; shift += 7 { 60960 if shift >= 64 { 60961 return ErrIntOverflowAuthservice 60962 } 60963 if iNdEx >= l { 60964 return io.ErrUnexpectedEOF 60965 } 60966 b := dAtA[iNdEx] 60967 iNdEx++ 60968 stringLen |= uint64(b&0x7F) << shift 60969 if b < 0x80 { 60970 break 60971 } 60972 } 60973 intStringLen := int(stringLen) 60974 if intStringLen < 0 { 60975 return ErrInvalidLengthAuthservice 60976 } 60977 postIndex := iNdEx + intStringLen 60978 if postIndex < 0 { 60979 return ErrInvalidLengthAuthservice 60980 } 60981 if postIndex > l { 60982 return io.ErrUnexpectedEOF 60983 } 60984 m.TokenID = string(dAtA[iNdEx:postIndex]) 60985 iNdEx = postIndex 60986 case 2: 60987 if wireType != 0 { 60988 return fmt.Errorf("proto: wrong wireType = %d for field DeviceType", wireType) 60989 } 60990 m.DeviceType = 0 60991 for shift := uint(0); ; shift += 7 { 60992 if shift >= 64 { 60993 return ErrIntOverflowAuthservice 60994 } 60995 if iNdEx >= l { 60996 return io.ErrUnexpectedEOF 60997 } 60998 b := dAtA[iNdEx] 60999 iNdEx++ 61000 m.DeviceType |= DeviceType(b&0x7F) << shift 61001 if b < 0x80 { 61002 break 61003 } 61004 } 61005 case 3: 61006 if wireType != 0 { 61007 return fmt.Errorf("proto: wrong wireType = %d for field DeviceUsage", wireType) 61008 } 61009 m.DeviceUsage = 0 61010 for shift := uint(0); ; shift += 7 { 61011 if shift >= 64 { 61012 return ErrIntOverflowAuthservice 61013 } 61014 if iNdEx >= l { 61015 return io.ErrUnexpectedEOF 61016 } 61017 b := dAtA[iNdEx] 61018 iNdEx++ 61019 m.DeviceUsage |= DeviceUsage(b&0x7F) << shift 61020 if b < 0x80 { 61021 break 61022 } 61023 } 61024 case 4: 61025 if wireType != 2 { 61026 return fmt.Errorf("proto: wrong wireType = %d for field ExistingMFAResponse", wireType) 61027 } 61028 var msglen int 61029 for shift := uint(0); ; shift += 7 { 61030 if shift >= 64 { 61031 return ErrIntOverflowAuthservice 61032 } 61033 if iNdEx >= l { 61034 return io.ErrUnexpectedEOF 61035 } 61036 b := dAtA[iNdEx] 61037 iNdEx++ 61038 msglen |= int(b&0x7F) << shift 61039 if b < 0x80 { 61040 break 61041 } 61042 } 61043 if msglen < 0 { 61044 return ErrInvalidLengthAuthservice 61045 } 61046 postIndex := iNdEx + msglen 61047 if postIndex < 0 { 61048 return ErrInvalidLengthAuthservice 61049 } 61050 if postIndex > l { 61051 return io.ErrUnexpectedEOF 61052 } 61053 if m.ExistingMFAResponse == nil { 61054 m.ExistingMFAResponse = &MFAAuthenticateResponse{} 61055 } 61056 if err := m.ExistingMFAResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61057 return err 61058 } 61059 iNdEx = postIndex 61060 default: 61061 iNdEx = preIndex 61062 skippy, err := skipAuthservice(dAtA[iNdEx:]) 61063 if err != nil { 61064 return err 61065 } 61066 if (skippy < 0) || (iNdEx+skippy) < 0 { 61067 return ErrInvalidLengthAuthservice 61068 } 61069 if (iNdEx + skippy) > l { 61070 return io.ErrUnexpectedEOF 61071 } 61072 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 61073 iNdEx += skippy 61074 } 61075 } 61076 61077 if iNdEx > l { 61078 return io.ErrUnexpectedEOF 61079 } 61080 return nil 61081 } 61082 func (m *PaginatedResource) Unmarshal(dAtA []byte) error { 61083 l := len(dAtA) 61084 iNdEx := 0 61085 for iNdEx < l { 61086 preIndex := iNdEx 61087 var wire uint64 61088 for shift := uint(0); ; shift += 7 { 61089 if shift >= 64 { 61090 return ErrIntOverflowAuthservice 61091 } 61092 if iNdEx >= l { 61093 return io.ErrUnexpectedEOF 61094 } 61095 b := dAtA[iNdEx] 61096 iNdEx++ 61097 wire |= uint64(b&0x7F) << shift 61098 if b < 0x80 { 61099 break 61100 } 61101 } 61102 fieldNum := int32(wire >> 3) 61103 wireType := int(wire & 0x7) 61104 if wireType == 4 { 61105 return fmt.Errorf("proto: PaginatedResource: wiretype end group for non-group") 61106 } 61107 if fieldNum <= 0 { 61108 return fmt.Errorf("proto: PaginatedResource: illegal tag %d (wire type %d)", fieldNum, wire) 61109 } 61110 switch fieldNum { 61111 case 1: 61112 if wireType != 2 { 61113 return fmt.Errorf("proto: wrong wireType = %d for field DatabaseServer", wireType) 61114 } 61115 var msglen int 61116 for shift := uint(0); ; shift += 7 { 61117 if shift >= 64 { 61118 return ErrIntOverflowAuthservice 61119 } 61120 if iNdEx >= l { 61121 return io.ErrUnexpectedEOF 61122 } 61123 b := dAtA[iNdEx] 61124 iNdEx++ 61125 msglen |= int(b&0x7F) << shift 61126 if b < 0x80 { 61127 break 61128 } 61129 } 61130 if msglen < 0 { 61131 return ErrInvalidLengthAuthservice 61132 } 61133 postIndex := iNdEx + msglen 61134 if postIndex < 0 { 61135 return ErrInvalidLengthAuthservice 61136 } 61137 if postIndex > l { 61138 return io.ErrUnexpectedEOF 61139 } 61140 v := &types.DatabaseServerV3{} 61141 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61142 return err 61143 } 61144 m.Resource = &PaginatedResource_DatabaseServer{v} 61145 iNdEx = postIndex 61146 case 2: 61147 if wireType != 2 { 61148 return fmt.Errorf("proto: wrong wireType = %d for field AppServer", wireType) 61149 } 61150 var msglen int 61151 for shift := uint(0); ; shift += 7 { 61152 if shift >= 64 { 61153 return ErrIntOverflowAuthservice 61154 } 61155 if iNdEx >= l { 61156 return io.ErrUnexpectedEOF 61157 } 61158 b := dAtA[iNdEx] 61159 iNdEx++ 61160 msglen |= int(b&0x7F) << shift 61161 if b < 0x80 { 61162 break 61163 } 61164 } 61165 if msglen < 0 { 61166 return ErrInvalidLengthAuthservice 61167 } 61168 postIndex := iNdEx + msglen 61169 if postIndex < 0 { 61170 return ErrInvalidLengthAuthservice 61171 } 61172 if postIndex > l { 61173 return io.ErrUnexpectedEOF 61174 } 61175 v := &types.AppServerV3{} 61176 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61177 return err 61178 } 61179 m.Resource = &PaginatedResource_AppServer{v} 61180 iNdEx = postIndex 61181 case 3: 61182 if wireType != 2 { 61183 return fmt.Errorf("proto: wrong wireType = %d for field Node", wireType) 61184 } 61185 var msglen int 61186 for shift := uint(0); ; shift += 7 { 61187 if shift >= 64 { 61188 return ErrIntOverflowAuthservice 61189 } 61190 if iNdEx >= l { 61191 return io.ErrUnexpectedEOF 61192 } 61193 b := dAtA[iNdEx] 61194 iNdEx++ 61195 msglen |= int(b&0x7F) << shift 61196 if b < 0x80 { 61197 break 61198 } 61199 } 61200 if msglen < 0 { 61201 return ErrInvalidLengthAuthservice 61202 } 61203 postIndex := iNdEx + msglen 61204 if postIndex < 0 { 61205 return ErrInvalidLengthAuthservice 61206 } 61207 if postIndex > l { 61208 return io.ErrUnexpectedEOF 61209 } 61210 v := &types.ServerV2{} 61211 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61212 return err 61213 } 61214 m.Resource = &PaginatedResource_Node{v} 61215 iNdEx = postIndex 61216 case 5: 61217 if wireType != 2 { 61218 return fmt.Errorf("proto: wrong wireType = %d for field WindowsDesktop", wireType) 61219 } 61220 var msglen int 61221 for shift := uint(0); ; shift += 7 { 61222 if shift >= 64 { 61223 return ErrIntOverflowAuthservice 61224 } 61225 if iNdEx >= l { 61226 return io.ErrUnexpectedEOF 61227 } 61228 b := dAtA[iNdEx] 61229 iNdEx++ 61230 msglen |= int(b&0x7F) << shift 61231 if b < 0x80 { 61232 break 61233 } 61234 } 61235 if msglen < 0 { 61236 return ErrInvalidLengthAuthservice 61237 } 61238 postIndex := iNdEx + msglen 61239 if postIndex < 0 { 61240 return ErrInvalidLengthAuthservice 61241 } 61242 if postIndex > l { 61243 return io.ErrUnexpectedEOF 61244 } 61245 v := &types.WindowsDesktopV3{} 61246 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61247 return err 61248 } 61249 m.Resource = &PaginatedResource_WindowsDesktop{v} 61250 iNdEx = postIndex 61251 case 6: 61252 if wireType != 2 { 61253 return fmt.Errorf("proto: wrong wireType = %d for field KubeCluster", wireType) 61254 } 61255 var msglen int 61256 for shift := uint(0); ; shift += 7 { 61257 if shift >= 64 { 61258 return ErrIntOverflowAuthservice 61259 } 61260 if iNdEx >= l { 61261 return io.ErrUnexpectedEOF 61262 } 61263 b := dAtA[iNdEx] 61264 iNdEx++ 61265 msglen |= int(b&0x7F) << shift 61266 if b < 0x80 { 61267 break 61268 } 61269 } 61270 if msglen < 0 { 61271 return ErrInvalidLengthAuthservice 61272 } 61273 postIndex := iNdEx + msglen 61274 if postIndex < 0 { 61275 return ErrInvalidLengthAuthservice 61276 } 61277 if postIndex > l { 61278 return io.ErrUnexpectedEOF 61279 } 61280 v := &types.KubernetesClusterV3{} 61281 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61282 return err 61283 } 61284 m.Resource = &PaginatedResource_KubeCluster{v} 61285 iNdEx = postIndex 61286 case 7: 61287 if wireType != 2 { 61288 return fmt.Errorf("proto: wrong wireType = %d for field KubernetesServer", wireType) 61289 } 61290 var msglen int 61291 for shift := uint(0); ; shift += 7 { 61292 if shift >= 64 { 61293 return ErrIntOverflowAuthservice 61294 } 61295 if iNdEx >= l { 61296 return io.ErrUnexpectedEOF 61297 } 61298 b := dAtA[iNdEx] 61299 iNdEx++ 61300 msglen |= int(b&0x7F) << shift 61301 if b < 0x80 { 61302 break 61303 } 61304 } 61305 if msglen < 0 { 61306 return ErrInvalidLengthAuthservice 61307 } 61308 postIndex := iNdEx + msglen 61309 if postIndex < 0 { 61310 return ErrInvalidLengthAuthservice 61311 } 61312 if postIndex > l { 61313 return io.ErrUnexpectedEOF 61314 } 61315 v := &types.KubernetesServerV3{} 61316 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61317 return err 61318 } 61319 m.Resource = &PaginatedResource_KubernetesServer{v} 61320 iNdEx = postIndex 61321 case 8: 61322 if wireType != 2 { 61323 return fmt.Errorf("proto: wrong wireType = %d for field WindowsDesktopService", wireType) 61324 } 61325 var msglen int 61326 for shift := uint(0); ; shift += 7 { 61327 if shift >= 64 { 61328 return ErrIntOverflowAuthservice 61329 } 61330 if iNdEx >= l { 61331 return io.ErrUnexpectedEOF 61332 } 61333 b := dAtA[iNdEx] 61334 iNdEx++ 61335 msglen |= int(b&0x7F) << shift 61336 if b < 0x80 { 61337 break 61338 } 61339 } 61340 if msglen < 0 { 61341 return ErrInvalidLengthAuthservice 61342 } 61343 postIndex := iNdEx + msglen 61344 if postIndex < 0 { 61345 return ErrInvalidLengthAuthservice 61346 } 61347 if postIndex > l { 61348 return io.ErrUnexpectedEOF 61349 } 61350 v := &types.WindowsDesktopServiceV3{} 61351 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61352 return err 61353 } 61354 m.Resource = &PaginatedResource_WindowsDesktopService{v} 61355 iNdEx = postIndex 61356 case 9: 61357 if wireType != 2 { 61358 return fmt.Errorf("proto: wrong wireType = %d for field DatabaseService", wireType) 61359 } 61360 var msglen int 61361 for shift := uint(0); ; shift += 7 { 61362 if shift >= 64 { 61363 return ErrIntOverflowAuthservice 61364 } 61365 if iNdEx >= l { 61366 return io.ErrUnexpectedEOF 61367 } 61368 b := dAtA[iNdEx] 61369 iNdEx++ 61370 msglen |= int(b&0x7F) << shift 61371 if b < 0x80 { 61372 break 61373 } 61374 } 61375 if msglen < 0 { 61376 return ErrInvalidLengthAuthservice 61377 } 61378 postIndex := iNdEx + msglen 61379 if postIndex < 0 { 61380 return ErrInvalidLengthAuthservice 61381 } 61382 if postIndex > l { 61383 return io.ErrUnexpectedEOF 61384 } 61385 v := &types.DatabaseServiceV1{} 61386 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61387 return err 61388 } 61389 m.Resource = &PaginatedResource_DatabaseService{v} 61390 iNdEx = postIndex 61391 case 10: 61392 if wireType != 2 { 61393 return fmt.Errorf("proto: wrong wireType = %d for field UserGroup", wireType) 61394 } 61395 var msglen int 61396 for shift := uint(0); ; shift += 7 { 61397 if shift >= 64 { 61398 return ErrIntOverflowAuthservice 61399 } 61400 if iNdEx >= l { 61401 return io.ErrUnexpectedEOF 61402 } 61403 b := dAtA[iNdEx] 61404 iNdEx++ 61405 msglen |= int(b&0x7F) << shift 61406 if b < 0x80 { 61407 break 61408 } 61409 } 61410 if msglen < 0 { 61411 return ErrInvalidLengthAuthservice 61412 } 61413 postIndex := iNdEx + msglen 61414 if postIndex < 0 { 61415 return ErrInvalidLengthAuthservice 61416 } 61417 if postIndex > l { 61418 return io.ErrUnexpectedEOF 61419 } 61420 v := &types.UserGroupV1{} 61421 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61422 return err 61423 } 61424 m.Resource = &PaginatedResource_UserGroup{v} 61425 iNdEx = postIndex 61426 case 11: 61427 if wireType != 2 { 61428 return fmt.Errorf("proto: wrong wireType = %d for field AppServerOrSAMLIdPServiceProvider", wireType) 61429 } 61430 var msglen int 61431 for shift := uint(0); ; shift += 7 { 61432 if shift >= 64 { 61433 return ErrIntOverflowAuthservice 61434 } 61435 if iNdEx >= l { 61436 return io.ErrUnexpectedEOF 61437 } 61438 b := dAtA[iNdEx] 61439 iNdEx++ 61440 msglen |= int(b&0x7F) << shift 61441 if b < 0x80 { 61442 break 61443 } 61444 } 61445 if msglen < 0 { 61446 return ErrInvalidLengthAuthservice 61447 } 61448 postIndex := iNdEx + msglen 61449 if postIndex < 0 { 61450 return ErrInvalidLengthAuthservice 61451 } 61452 if postIndex > l { 61453 return io.ErrUnexpectedEOF 61454 } 61455 v := &types.AppServerOrSAMLIdPServiceProviderV1{} 61456 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61457 return err 61458 } 61459 m.Resource = &PaginatedResource_AppServerOrSAMLIdPServiceProvider{v} 61460 iNdEx = postIndex 61461 case 12: 61462 if wireType != 2 { 61463 return fmt.Errorf("proto: wrong wireType = %d for field SAMLIdPServiceProvider", wireType) 61464 } 61465 var msglen int 61466 for shift := uint(0); ; shift += 7 { 61467 if shift >= 64 { 61468 return ErrIntOverflowAuthservice 61469 } 61470 if iNdEx >= l { 61471 return io.ErrUnexpectedEOF 61472 } 61473 b := dAtA[iNdEx] 61474 iNdEx++ 61475 msglen |= int(b&0x7F) << shift 61476 if b < 0x80 { 61477 break 61478 } 61479 } 61480 if msglen < 0 { 61481 return ErrInvalidLengthAuthservice 61482 } 61483 postIndex := iNdEx + msglen 61484 if postIndex < 0 { 61485 return ErrInvalidLengthAuthservice 61486 } 61487 if postIndex > l { 61488 return io.ErrUnexpectedEOF 61489 } 61490 v := &types.SAMLIdPServiceProviderV1{} 61491 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61492 return err 61493 } 61494 m.Resource = &PaginatedResource_SAMLIdPServiceProvider{v} 61495 iNdEx = postIndex 61496 case 13: 61497 if wireType != 2 { 61498 return fmt.Errorf("proto: wrong wireType = %d for field Logins", wireType) 61499 } 61500 var stringLen uint64 61501 for shift := uint(0); ; shift += 7 { 61502 if shift >= 64 { 61503 return ErrIntOverflowAuthservice 61504 } 61505 if iNdEx >= l { 61506 return io.ErrUnexpectedEOF 61507 } 61508 b := dAtA[iNdEx] 61509 iNdEx++ 61510 stringLen |= uint64(b&0x7F) << shift 61511 if b < 0x80 { 61512 break 61513 } 61514 } 61515 intStringLen := int(stringLen) 61516 if intStringLen < 0 { 61517 return ErrInvalidLengthAuthservice 61518 } 61519 postIndex := iNdEx + intStringLen 61520 if postIndex < 0 { 61521 return ErrInvalidLengthAuthservice 61522 } 61523 if postIndex > l { 61524 return io.ErrUnexpectedEOF 61525 } 61526 m.Logins = append(m.Logins, string(dAtA[iNdEx:postIndex])) 61527 iNdEx = postIndex 61528 case 14: 61529 if wireType != 0 { 61530 return fmt.Errorf("proto: wrong wireType = %d for field RequiresRequest", wireType) 61531 } 61532 var v int 61533 for shift := uint(0); ; shift += 7 { 61534 if shift >= 64 { 61535 return ErrIntOverflowAuthservice 61536 } 61537 if iNdEx >= l { 61538 return io.ErrUnexpectedEOF 61539 } 61540 b := dAtA[iNdEx] 61541 iNdEx++ 61542 v |= int(b&0x7F) << shift 61543 if b < 0x80 { 61544 break 61545 } 61546 } 61547 m.RequiresRequest = bool(v != 0) 61548 default: 61549 iNdEx = preIndex 61550 skippy, err := skipAuthservice(dAtA[iNdEx:]) 61551 if err != nil { 61552 return err 61553 } 61554 if (skippy < 0) || (iNdEx+skippy) < 0 { 61555 return ErrInvalidLengthAuthservice 61556 } 61557 if (iNdEx + skippy) > l { 61558 return io.ErrUnexpectedEOF 61559 } 61560 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 61561 iNdEx += skippy 61562 } 61563 } 61564 61565 if iNdEx > l { 61566 return io.ErrUnexpectedEOF 61567 } 61568 return nil 61569 } 61570 func (m *ListUnifiedResourcesRequest) Unmarshal(dAtA []byte) error { 61571 l := len(dAtA) 61572 iNdEx := 0 61573 for iNdEx < l { 61574 preIndex := iNdEx 61575 var wire uint64 61576 for shift := uint(0); ; shift += 7 { 61577 if shift >= 64 { 61578 return ErrIntOverflowAuthservice 61579 } 61580 if iNdEx >= l { 61581 return io.ErrUnexpectedEOF 61582 } 61583 b := dAtA[iNdEx] 61584 iNdEx++ 61585 wire |= uint64(b&0x7F) << shift 61586 if b < 0x80 { 61587 break 61588 } 61589 } 61590 fieldNum := int32(wire >> 3) 61591 wireType := int(wire & 0x7) 61592 if wireType == 4 { 61593 return fmt.Errorf("proto: ListUnifiedResourcesRequest: wiretype end group for non-group") 61594 } 61595 if fieldNum <= 0 { 61596 return fmt.Errorf("proto: ListUnifiedResourcesRequest: illegal tag %d (wire type %d)", fieldNum, wire) 61597 } 61598 switch fieldNum { 61599 case 1: 61600 if wireType != 2 { 61601 return fmt.Errorf("proto: wrong wireType = %d for field Kinds", wireType) 61602 } 61603 var stringLen uint64 61604 for shift := uint(0); ; shift += 7 { 61605 if shift >= 64 { 61606 return ErrIntOverflowAuthservice 61607 } 61608 if iNdEx >= l { 61609 return io.ErrUnexpectedEOF 61610 } 61611 b := dAtA[iNdEx] 61612 iNdEx++ 61613 stringLen |= uint64(b&0x7F) << shift 61614 if b < 0x80 { 61615 break 61616 } 61617 } 61618 intStringLen := int(stringLen) 61619 if intStringLen < 0 { 61620 return ErrInvalidLengthAuthservice 61621 } 61622 postIndex := iNdEx + intStringLen 61623 if postIndex < 0 { 61624 return ErrInvalidLengthAuthservice 61625 } 61626 if postIndex > l { 61627 return io.ErrUnexpectedEOF 61628 } 61629 m.Kinds = append(m.Kinds, string(dAtA[iNdEx:postIndex])) 61630 iNdEx = postIndex 61631 case 2: 61632 if wireType != 0 { 61633 return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) 61634 } 61635 m.Limit = 0 61636 for shift := uint(0); ; shift += 7 { 61637 if shift >= 64 { 61638 return ErrIntOverflowAuthservice 61639 } 61640 if iNdEx >= l { 61641 return io.ErrUnexpectedEOF 61642 } 61643 b := dAtA[iNdEx] 61644 iNdEx++ 61645 m.Limit |= int32(b&0x7F) << shift 61646 if b < 0x80 { 61647 break 61648 } 61649 } 61650 case 3: 61651 if wireType != 2 { 61652 return fmt.Errorf("proto: wrong wireType = %d for field StartKey", wireType) 61653 } 61654 var stringLen uint64 61655 for shift := uint(0); ; shift += 7 { 61656 if shift >= 64 { 61657 return ErrIntOverflowAuthservice 61658 } 61659 if iNdEx >= l { 61660 return io.ErrUnexpectedEOF 61661 } 61662 b := dAtA[iNdEx] 61663 iNdEx++ 61664 stringLen |= uint64(b&0x7F) << shift 61665 if b < 0x80 { 61666 break 61667 } 61668 } 61669 intStringLen := int(stringLen) 61670 if intStringLen < 0 { 61671 return ErrInvalidLengthAuthservice 61672 } 61673 postIndex := iNdEx + intStringLen 61674 if postIndex < 0 { 61675 return ErrInvalidLengthAuthservice 61676 } 61677 if postIndex > l { 61678 return io.ErrUnexpectedEOF 61679 } 61680 m.StartKey = string(dAtA[iNdEx:postIndex]) 61681 iNdEx = postIndex 61682 case 4: 61683 if wireType != 2 { 61684 return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) 61685 } 61686 var msglen int 61687 for shift := uint(0); ; shift += 7 { 61688 if shift >= 64 { 61689 return ErrIntOverflowAuthservice 61690 } 61691 if iNdEx >= l { 61692 return io.ErrUnexpectedEOF 61693 } 61694 b := dAtA[iNdEx] 61695 iNdEx++ 61696 msglen |= int(b&0x7F) << shift 61697 if b < 0x80 { 61698 break 61699 } 61700 } 61701 if msglen < 0 { 61702 return ErrInvalidLengthAuthservice 61703 } 61704 postIndex := iNdEx + msglen 61705 if postIndex < 0 { 61706 return ErrInvalidLengthAuthservice 61707 } 61708 if postIndex > l { 61709 return io.ErrUnexpectedEOF 61710 } 61711 if m.Labels == nil { 61712 m.Labels = make(map[string]string) 61713 } 61714 var mapkey string 61715 var mapvalue string 61716 for iNdEx < postIndex { 61717 entryPreIndex := iNdEx 61718 var wire uint64 61719 for shift := uint(0); ; shift += 7 { 61720 if shift >= 64 { 61721 return ErrIntOverflowAuthservice 61722 } 61723 if iNdEx >= l { 61724 return io.ErrUnexpectedEOF 61725 } 61726 b := dAtA[iNdEx] 61727 iNdEx++ 61728 wire |= uint64(b&0x7F) << shift 61729 if b < 0x80 { 61730 break 61731 } 61732 } 61733 fieldNum := int32(wire >> 3) 61734 if fieldNum == 1 { 61735 var stringLenmapkey uint64 61736 for shift := uint(0); ; shift += 7 { 61737 if shift >= 64 { 61738 return ErrIntOverflowAuthservice 61739 } 61740 if iNdEx >= l { 61741 return io.ErrUnexpectedEOF 61742 } 61743 b := dAtA[iNdEx] 61744 iNdEx++ 61745 stringLenmapkey |= uint64(b&0x7F) << shift 61746 if b < 0x80 { 61747 break 61748 } 61749 } 61750 intStringLenmapkey := int(stringLenmapkey) 61751 if intStringLenmapkey < 0 { 61752 return ErrInvalidLengthAuthservice 61753 } 61754 postStringIndexmapkey := iNdEx + intStringLenmapkey 61755 if postStringIndexmapkey < 0 { 61756 return ErrInvalidLengthAuthservice 61757 } 61758 if postStringIndexmapkey > l { 61759 return io.ErrUnexpectedEOF 61760 } 61761 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 61762 iNdEx = postStringIndexmapkey 61763 } else if fieldNum == 2 { 61764 var stringLenmapvalue uint64 61765 for shift := uint(0); ; shift += 7 { 61766 if shift >= 64 { 61767 return ErrIntOverflowAuthservice 61768 } 61769 if iNdEx >= l { 61770 return io.ErrUnexpectedEOF 61771 } 61772 b := dAtA[iNdEx] 61773 iNdEx++ 61774 stringLenmapvalue |= uint64(b&0x7F) << shift 61775 if b < 0x80 { 61776 break 61777 } 61778 } 61779 intStringLenmapvalue := int(stringLenmapvalue) 61780 if intStringLenmapvalue < 0 { 61781 return ErrInvalidLengthAuthservice 61782 } 61783 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 61784 if postStringIndexmapvalue < 0 { 61785 return ErrInvalidLengthAuthservice 61786 } 61787 if postStringIndexmapvalue > l { 61788 return io.ErrUnexpectedEOF 61789 } 61790 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 61791 iNdEx = postStringIndexmapvalue 61792 } else { 61793 iNdEx = entryPreIndex 61794 skippy, err := skipAuthservice(dAtA[iNdEx:]) 61795 if err != nil { 61796 return err 61797 } 61798 if (skippy < 0) || (iNdEx+skippy) < 0 { 61799 return ErrInvalidLengthAuthservice 61800 } 61801 if (iNdEx + skippy) > postIndex { 61802 return io.ErrUnexpectedEOF 61803 } 61804 iNdEx += skippy 61805 } 61806 } 61807 m.Labels[mapkey] = mapvalue 61808 iNdEx = postIndex 61809 case 5: 61810 if wireType != 2 { 61811 return fmt.Errorf("proto: wrong wireType = %d for field PredicateExpression", wireType) 61812 } 61813 var stringLen uint64 61814 for shift := uint(0); ; shift += 7 { 61815 if shift >= 64 { 61816 return ErrIntOverflowAuthservice 61817 } 61818 if iNdEx >= l { 61819 return io.ErrUnexpectedEOF 61820 } 61821 b := dAtA[iNdEx] 61822 iNdEx++ 61823 stringLen |= uint64(b&0x7F) << shift 61824 if b < 0x80 { 61825 break 61826 } 61827 } 61828 intStringLen := int(stringLen) 61829 if intStringLen < 0 { 61830 return ErrInvalidLengthAuthservice 61831 } 61832 postIndex := iNdEx + intStringLen 61833 if postIndex < 0 { 61834 return ErrInvalidLengthAuthservice 61835 } 61836 if postIndex > l { 61837 return io.ErrUnexpectedEOF 61838 } 61839 m.PredicateExpression = string(dAtA[iNdEx:postIndex]) 61840 iNdEx = postIndex 61841 case 6: 61842 if wireType != 2 { 61843 return fmt.Errorf("proto: wrong wireType = %d for field SearchKeywords", wireType) 61844 } 61845 var stringLen uint64 61846 for shift := uint(0); ; shift += 7 { 61847 if shift >= 64 { 61848 return ErrIntOverflowAuthservice 61849 } 61850 if iNdEx >= l { 61851 return io.ErrUnexpectedEOF 61852 } 61853 b := dAtA[iNdEx] 61854 iNdEx++ 61855 stringLen |= uint64(b&0x7F) << shift 61856 if b < 0x80 { 61857 break 61858 } 61859 } 61860 intStringLen := int(stringLen) 61861 if intStringLen < 0 { 61862 return ErrInvalidLengthAuthservice 61863 } 61864 postIndex := iNdEx + intStringLen 61865 if postIndex < 0 { 61866 return ErrInvalidLengthAuthservice 61867 } 61868 if postIndex > l { 61869 return io.ErrUnexpectedEOF 61870 } 61871 m.SearchKeywords = append(m.SearchKeywords, string(dAtA[iNdEx:postIndex])) 61872 iNdEx = postIndex 61873 case 7: 61874 if wireType != 2 { 61875 return fmt.Errorf("proto: wrong wireType = %d for field SortBy", wireType) 61876 } 61877 var msglen int 61878 for shift := uint(0); ; shift += 7 { 61879 if shift >= 64 { 61880 return ErrIntOverflowAuthservice 61881 } 61882 if iNdEx >= l { 61883 return io.ErrUnexpectedEOF 61884 } 61885 b := dAtA[iNdEx] 61886 iNdEx++ 61887 msglen |= int(b&0x7F) << shift 61888 if b < 0x80 { 61889 break 61890 } 61891 } 61892 if msglen < 0 { 61893 return ErrInvalidLengthAuthservice 61894 } 61895 postIndex := iNdEx + msglen 61896 if postIndex < 0 { 61897 return ErrInvalidLengthAuthservice 61898 } 61899 if postIndex > l { 61900 return io.ErrUnexpectedEOF 61901 } 61902 if err := m.SortBy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61903 return err 61904 } 61905 iNdEx = postIndex 61906 case 8: 61907 if wireType != 2 { 61908 return fmt.Errorf("proto: wrong wireType = %d for field WindowsDesktopFilter", wireType) 61909 } 61910 var msglen int 61911 for shift := uint(0); ; shift += 7 { 61912 if shift >= 64 { 61913 return ErrIntOverflowAuthservice 61914 } 61915 if iNdEx >= l { 61916 return io.ErrUnexpectedEOF 61917 } 61918 b := dAtA[iNdEx] 61919 iNdEx++ 61920 msglen |= int(b&0x7F) << shift 61921 if b < 0x80 { 61922 break 61923 } 61924 } 61925 if msglen < 0 { 61926 return ErrInvalidLengthAuthservice 61927 } 61928 postIndex := iNdEx + msglen 61929 if postIndex < 0 { 61930 return ErrInvalidLengthAuthservice 61931 } 61932 if postIndex > l { 61933 return io.ErrUnexpectedEOF 61934 } 61935 if err := m.WindowsDesktopFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 61936 return err 61937 } 61938 iNdEx = postIndex 61939 case 9: 61940 if wireType != 0 { 61941 return fmt.Errorf("proto: wrong wireType = %d for field UseSearchAsRoles", wireType) 61942 } 61943 var v int 61944 for shift := uint(0); ; shift += 7 { 61945 if shift >= 64 { 61946 return ErrIntOverflowAuthservice 61947 } 61948 if iNdEx >= l { 61949 return io.ErrUnexpectedEOF 61950 } 61951 b := dAtA[iNdEx] 61952 iNdEx++ 61953 v |= int(b&0x7F) << shift 61954 if b < 0x80 { 61955 break 61956 } 61957 } 61958 m.UseSearchAsRoles = bool(v != 0) 61959 case 10: 61960 if wireType != 0 { 61961 return fmt.Errorf("proto: wrong wireType = %d for field UsePreviewAsRoles", wireType) 61962 } 61963 var v int 61964 for shift := uint(0); ; shift += 7 { 61965 if shift >= 64 { 61966 return ErrIntOverflowAuthservice 61967 } 61968 if iNdEx >= l { 61969 return io.ErrUnexpectedEOF 61970 } 61971 b := dAtA[iNdEx] 61972 iNdEx++ 61973 v |= int(b&0x7F) << shift 61974 if b < 0x80 { 61975 break 61976 } 61977 } 61978 m.UsePreviewAsRoles = bool(v != 0) 61979 case 11: 61980 if wireType != 0 { 61981 return fmt.Errorf("proto: wrong wireType = %d for field PinnedOnly", wireType) 61982 } 61983 var v int 61984 for shift := uint(0); ; shift += 7 { 61985 if shift >= 64 { 61986 return ErrIntOverflowAuthservice 61987 } 61988 if iNdEx >= l { 61989 return io.ErrUnexpectedEOF 61990 } 61991 b := dAtA[iNdEx] 61992 iNdEx++ 61993 v |= int(b&0x7F) << shift 61994 if b < 0x80 { 61995 break 61996 } 61997 } 61998 m.PinnedOnly = bool(v != 0) 61999 case 12: 62000 if wireType != 0 { 62001 return fmt.Errorf("proto: wrong wireType = %d for field IncludeLogins", wireType) 62002 } 62003 var v int 62004 for shift := uint(0); ; shift += 7 { 62005 if shift >= 64 { 62006 return ErrIntOverflowAuthservice 62007 } 62008 if iNdEx >= l { 62009 return io.ErrUnexpectedEOF 62010 } 62011 b := dAtA[iNdEx] 62012 iNdEx++ 62013 v |= int(b&0x7F) << shift 62014 if b < 0x80 { 62015 break 62016 } 62017 } 62018 m.IncludeLogins = bool(v != 0) 62019 case 14: 62020 if wireType != 0 { 62021 return fmt.Errorf("proto: wrong wireType = %d for field IncludeRequestable", wireType) 62022 } 62023 var v int 62024 for shift := uint(0); ; shift += 7 { 62025 if shift >= 64 { 62026 return ErrIntOverflowAuthservice 62027 } 62028 if iNdEx >= l { 62029 return io.ErrUnexpectedEOF 62030 } 62031 b := dAtA[iNdEx] 62032 iNdEx++ 62033 v |= int(b&0x7F) << shift 62034 if b < 0x80 { 62035 break 62036 } 62037 } 62038 m.IncludeRequestable = bool(v != 0) 62039 default: 62040 iNdEx = preIndex 62041 skippy, err := skipAuthservice(dAtA[iNdEx:]) 62042 if err != nil { 62043 return err 62044 } 62045 if (skippy < 0) || (iNdEx+skippy) < 0 { 62046 return ErrInvalidLengthAuthservice 62047 } 62048 if (iNdEx + skippy) > l { 62049 return io.ErrUnexpectedEOF 62050 } 62051 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 62052 iNdEx += skippy 62053 } 62054 } 62055 62056 if iNdEx > l { 62057 return io.ErrUnexpectedEOF 62058 } 62059 return nil 62060 } 62061 func (m *ListUnifiedResourcesResponse) Unmarshal(dAtA []byte) error { 62062 l := len(dAtA) 62063 iNdEx := 0 62064 for iNdEx < l { 62065 preIndex := iNdEx 62066 var wire uint64 62067 for shift := uint(0); ; shift += 7 { 62068 if shift >= 64 { 62069 return ErrIntOverflowAuthservice 62070 } 62071 if iNdEx >= l { 62072 return io.ErrUnexpectedEOF 62073 } 62074 b := dAtA[iNdEx] 62075 iNdEx++ 62076 wire |= uint64(b&0x7F) << shift 62077 if b < 0x80 { 62078 break 62079 } 62080 } 62081 fieldNum := int32(wire >> 3) 62082 wireType := int(wire & 0x7) 62083 if wireType == 4 { 62084 return fmt.Errorf("proto: ListUnifiedResourcesResponse: wiretype end group for non-group") 62085 } 62086 if fieldNum <= 0 { 62087 return fmt.Errorf("proto: ListUnifiedResourcesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 62088 } 62089 switch fieldNum { 62090 case 1: 62091 if wireType != 2 { 62092 return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType) 62093 } 62094 var msglen int 62095 for shift := uint(0); ; shift += 7 { 62096 if shift >= 64 { 62097 return ErrIntOverflowAuthservice 62098 } 62099 if iNdEx >= l { 62100 return io.ErrUnexpectedEOF 62101 } 62102 b := dAtA[iNdEx] 62103 iNdEx++ 62104 msglen |= int(b&0x7F) << shift 62105 if b < 0x80 { 62106 break 62107 } 62108 } 62109 if msglen < 0 { 62110 return ErrInvalidLengthAuthservice 62111 } 62112 postIndex := iNdEx + msglen 62113 if postIndex < 0 { 62114 return ErrInvalidLengthAuthservice 62115 } 62116 if postIndex > l { 62117 return io.ErrUnexpectedEOF 62118 } 62119 m.Resources = append(m.Resources, &PaginatedResource{}) 62120 if err := m.Resources[len(m.Resources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 62121 return err 62122 } 62123 iNdEx = postIndex 62124 case 2: 62125 if wireType != 2 { 62126 return fmt.Errorf("proto: wrong wireType = %d for field NextKey", wireType) 62127 } 62128 var stringLen uint64 62129 for shift := uint(0); ; shift += 7 { 62130 if shift >= 64 { 62131 return ErrIntOverflowAuthservice 62132 } 62133 if iNdEx >= l { 62134 return io.ErrUnexpectedEOF 62135 } 62136 b := dAtA[iNdEx] 62137 iNdEx++ 62138 stringLen |= uint64(b&0x7F) << shift 62139 if b < 0x80 { 62140 break 62141 } 62142 } 62143 intStringLen := int(stringLen) 62144 if intStringLen < 0 { 62145 return ErrInvalidLengthAuthservice 62146 } 62147 postIndex := iNdEx + intStringLen 62148 if postIndex < 0 { 62149 return ErrInvalidLengthAuthservice 62150 } 62151 if postIndex > l { 62152 return io.ErrUnexpectedEOF 62153 } 62154 m.NextKey = string(dAtA[iNdEx:postIndex]) 62155 iNdEx = postIndex 62156 default: 62157 iNdEx = preIndex 62158 skippy, err := skipAuthservice(dAtA[iNdEx:]) 62159 if err != nil { 62160 return err 62161 } 62162 if (skippy < 0) || (iNdEx+skippy) < 0 { 62163 return ErrInvalidLengthAuthservice 62164 } 62165 if (iNdEx + skippy) > l { 62166 return io.ErrUnexpectedEOF 62167 } 62168 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 62169 iNdEx += skippy 62170 } 62171 } 62172 62173 if iNdEx > l { 62174 return io.ErrUnexpectedEOF 62175 } 62176 return nil 62177 } 62178 func (m *ListResourcesRequest) Unmarshal(dAtA []byte) error { 62179 l := len(dAtA) 62180 iNdEx := 0 62181 for iNdEx < l { 62182 preIndex := iNdEx 62183 var wire uint64 62184 for shift := uint(0); ; shift += 7 { 62185 if shift >= 64 { 62186 return ErrIntOverflowAuthservice 62187 } 62188 if iNdEx >= l { 62189 return io.ErrUnexpectedEOF 62190 } 62191 b := dAtA[iNdEx] 62192 iNdEx++ 62193 wire |= uint64(b&0x7F) << shift 62194 if b < 0x80 { 62195 break 62196 } 62197 } 62198 fieldNum := int32(wire >> 3) 62199 wireType := int(wire & 0x7) 62200 if wireType == 4 { 62201 return fmt.Errorf("proto: ListResourcesRequest: wiretype end group for non-group") 62202 } 62203 if fieldNum <= 0 { 62204 return fmt.Errorf("proto: ListResourcesRequest: illegal tag %d (wire type %d)", fieldNum, wire) 62205 } 62206 switch fieldNum { 62207 case 1: 62208 if wireType != 2 { 62209 return fmt.Errorf("proto: wrong wireType = %d for field ResourceType", wireType) 62210 } 62211 var stringLen uint64 62212 for shift := uint(0); ; shift += 7 { 62213 if shift >= 64 { 62214 return ErrIntOverflowAuthservice 62215 } 62216 if iNdEx >= l { 62217 return io.ErrUnexpectedEOF 62218 } 62219 b := dAtA[iNdEx] 62220 iNdEx++ 62221 stringLen |= uint64(b&0x7F) << shift 62222 if b < 0x80 { 62223 break 62224 } 62225 } 62226 intStringLen := int(stringLen) 62227 if intStringLen < 0 { 62228 return ErrInvalidLengthAuthservice 62229 } 62230 postIndex := iNdEx + intStringLen 62231 if postIndex < 0 { 62232 return ErrInvalidLengthAuthservice 62233 } 62234 if postIndex > l { 62235 return io.ErrUnexpectedEOF 62236 } 62237 m.ResourceType = string(dAtA[iNdEx:postIndex]) 62238 iNdEx = postIndex 62239 case 2: 62240 if wireType != 2 { 62241 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) 62242 } 62243 var stringLen uint64 62244 for shift := uint(0); ; shift += 7 { 62245 if shift >= 64 { 62246 return ErrIntOverflowAuthservice 62247 } 62248 if iNdEx >= l { 62249 return io.ErrUnexpectedEOF 62250 } 62251 b := dAtA[iNdEx] 62252 iNdEx++ 62253 stringLen |= uint64(b&0x7F) << shift 62254 if b < 0x80 { 62255 break 62256 } 62257 } 62258 intStringLen := int(stringLen) 62259 if intStringLen < 0 { 62260 return ErrInvalidLengthAuthservice 62261 } 62262 postIndex := iNdEx + intStringLen 62263 if postIndex < 0 { 62264 return ErrInvalidLengthAuthservice 62265 } 62266 if postIndex > l { 62267 return io.ErrUnexpectedEOF 62268 } 62269 m.Namespace = string(dAtA[iNdEx:postIndex]) 62270 iNdEx = postIndex 62271 case 3: 62272 if wireType != 0 { 62273 return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) 62274 } 62275 m.Limit = 0 62276 for shift := uint(0); ; shift += 7 { 62277 if shift >= 64 { 62278 return ErrIntOverflowAuthservice 62279 } 62280 if iNdEx >= l { 62281 return io.ErrUnexpectedEOF 62282 } 62283 b := dAtA[iNdEx] 62284 iNdEx++ 62285 m.Limit |= int32(b&0x7F) << shift 62286 if b < 0x80 { 62287 break 62288 } 62289 } 62290 case 4: 62291 if wireType != 2 { 62292 return fmt.Errorf("proto: wrong wireType = %d for field StartKey", wireType) 62293 } 62294 var stringLen uint64 62295 for shift := uint(0); ; shift += 7 { 62296 if shift >= 64 { 62297 return ErrIntOverflowAuthservice 62298 } 62299 if iNdEx >= l { 62300 return io.ErrUnexpectedEOF 62301 } 62302 b := dAtA[iNdEx] 62303 iNdEx++ 62304 stringLen |= uint64(b&0x7F) << shift 62305 if b < 0x80 { 62306 break 62307 } 62308 } 62309 intStringLen := int(stringLen) 62310 if intStringLen < 0 { 62311 return ErrInvalidLengthAuthservice 62312 } 62313 postIndex := iNdEx + intStringLen 62314 if postIndex < 0 { 62315 return ErrInvalidLengthAuthservice 62316 } 62317 if postIndex > l { 62318 return io.ErrUnexpectedEOF 62319 } 62320 m.StartKey = string(dAtA[iNdEx:postIndex]) 62321 iNdEx = postIndex 62322 case 5: 62323 if wireType != 2 { 62324 return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) 62325 } 62326 var msglen int 62327 for shift := uint(0); ; shift += 7 { 62328 if shift >= 64 { 62329 return ErrIntOverflowAuthservice 62330 } 62331 if iNdEx >= l { 62332 return io.ErrUnexpectedEOF 62333 } 62334 b := dAtA[iNdEx] 62335 iNdEx++ 62336 msglen |= int(b&0x7F) << shift 62337 if b < 0x80 { 62338 break 62339 } 62340 } 62341 if msglen < 0 { 62342 return ErrInvalidLengthAuthservice 62343 } 62344 postIndex := iNdEx + msglen 62345 if postIndex < 0 { 62346 return ErrInvalidLengthAuthservice 62347 } 62348 if postIndex > l { 62349 return io.ErrUnexpectedEOF 62350 } 62351 if m.Labels == nil { 62352 m.Labels = make(map[string]string) 62353 } 62354 var mapkey string 62355 var mapvalue string 62356 for iNdEx < postIndex { 62357 entryPreIndex := iNdEx 62358 var wire uint64 62359 for shift := uint(0); ; shift += 7 { 62360 if shift >= 64 { 62361 return ErrIntOverflowAuthservice 62362 } 62363 if iNdEx >= l { 62364 return io.ErrUnexpectedEOF 62365 } 62366 b := dAtA[iNdEx] 62367 iNdEx++ 62368 wire |= uint64(b&0x7F) << shift 62369 if b < 0x80 { 62370 break 62371 } 62372 } 62373 fieldNum := int32(wire >> 3) 62374 if fieldNum == 1 { 62375 var stringLenmapkey uint64 62376 for shift := uint(0); ; shift += 7 { 62377 if shift >= 64 { 62378 return ErrIntOverflowAuthservice 62379 } 62380 if iNdEx >= l { 62381 return io.ErrUnexpectedEOF 62382 } 62383 b := dAtA[iNdEx] 62384 iNdEx++ 62385 stringLenmapkey |= uint64(b&0x7F) << shift 62386 if b < 0x80 { 62387 break 62388 } 62389 } 62390 intStringLenmapkey := int(stringLenmapkey) 62391 if intStringLenmapkey < 0 { 62392 return ErrInvalidLengthAuthservice 62393 } 62394 postStringIndexmapkey := iNdEx + intStringLenmapkey 62395 if postStringIndexmapkey < 0 { 62396 return ErrInvalidLengthAuthservice 62397 } 62398 if postStringIndexmapkey > l { 62399 return io.ErrUnexpectedEOF 62400 } 62401 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 62402 iNdEx = postStringIndexmapkey 62403 } else if fieldNum == 2 { 62404 var stringLenmapvalue uint64 62405 for shift := uint(0); ; shift += 7 { 62406 if shift >= 64 { 62407 return ErrIntOverflowAuthservice 62408 } 62409 if iNdEx >= l { 62410 return io.ErrUnexpectedEOF 62411 } 62412 b := dAtA[iNdEx] 62413 iNdEx++ 62414 stringLenmapvalue |= uint64(b&0x7F) << shift 62415 if b < 0x80 { 62416 break 62417 } 62418 } 62419 intStringLenmapvalue := int(stringLenmapvalue) 62420 if intStringLenmapvalue < 0 { 62421 return ErrInvalidLengthAuthservice 62422 } 62423 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 62424 if postStringIndexmapvalue < 0 { 62425 return ErrInvalidLengthAuthservice 62426 } 62427 if postStringIndexmapvalue > l { 62428 return io.ErrUnexpectedEOF 62429 } 62430 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 62431 iNdEx = postStringIndexmapvalue 62432 } else { 62433 iNdEx = entryPreIndex 62434 skippy, err := skipAuthservice(dAtA[iNdEx:]) 62435 if err != nil { 62436 return err 62437 } 62438 if (skippy < 0) || (iNdEx+skippy) < 0 { 62439 return ErrInvalidLengthAuthservice 62440 } 62441 if (iNdEx + skippy) > postIndex { 62442 return io.ErrUnexpectedEOF 62443 } 62444 iNdEx += skippy 62445 } 62446 } 62447 m.Labels[mapkey] = mapvalue 62448 iNdEx = postIndex 62449 case 6: 62450 if wireType != 2 { 62451 return fmt.Errorf("proto: wrong wireType = %d for field PredicateExpression", wireType) 62452 } 62453 var stringLen uint64 62454 for shift := uint(0); ; shift += 7 { 62455 if shift >= 64 { 62456 return ErrIntOverflowAuthservice 62457 } 62458 if iNdEx >= l { 62459 return io.ErrUnexpectedEOF 62460 } 62461 b := dAtA[iNdEx] 62462 iNdEx++ 62463 stringLen |= uint64(b&0x7F) << shift 62464 if b < 0x80 { 62465 break 62466 } 62467 } 62468 intStringLen := int(stringLen) 62469 if intStringLen < 0 { 62470 return ErrInvalidLengthAuthservice 62471 } 62472 postIndex := iNdEx + intStringLen 62473 if postIndex < 0 { 62474 return ErrInvalidLengthAuthservice 62475 } 62476 if postIndex > l { 62477 return io.ErrUnexpectedEOF 62478 } 62479 m.PredicateExpression = string(dAtA[iNdEx:postIndex]) 62480 iNdEx = postIndex 62481 case 7: 62482 if wireType != 2 { 62483 return fmt.Errorf("proto: wrong wireType = %d for field SearchKeywords", wireType) 62484 } 62485 var stringLen uint64 62486 for shift := uint(0); ; shift += 7 { 62487 if shift >= 64 { 62488 return ErrIntOverflowAuthservice 62489 } 62490 if iNdEx >= l { 62491 return io.ErrUnexpectedEOF 62492 } 62493 b := dAtA[iNdEx] 62494 iNdEx++ 62495 stringLen |= uint64(b&0x7F) << shift 62496 if b < 0x80 { 62497 break 62498 } 62499 } 62500 intStringLen := int(stringLen) 62501 if intStringLen < 0 { 62502 return ErrInvalidLengthAuthservice 62503 } 62504 postIndex := iNdEx + intStringLen 62505 if postIndex < 0 { 62506 return ErrInvalidLengthAuthservice 62507 } 62508 if postIndex > l { 62509 return io.ErrUnexpectedEOF 62510 } 62511 m.SearchKeywords = append(m.SearchKeywords, string(dAtA[iNdEx:postIndex])) 62512 iNdEx = postIndex 62513 case 8: 62514 if wireType != 2 { 62515 return fmt.Errorf("proto: wrong wireType = %d for field SortBy", wireType) 62516 } 62517 var msglen int 62518 for shift := uint(0); ; shift += 7 { 62519 if shift >= 64 { 62520 return ErrIntOverflowAuthservice 62521 } 62522 if iNdEx >= l { 62523 return io.ErrUnexpectedEOF 62524 } 62525 b := dAtA[iNdEx] 62526 iNdEx++ 62527 msglen |= int(b&0x7F) << shift 62528 if b < 0x80 { 62529 break 62530 } 62531 } 62532 if msglen < 0 { 62533 return ErrInvalidLengthAuthservice 62534 } 62535 postIndex := iNdEx + msglen 62536 if postIndex < 0 { 62537 return ErrInvalidLengthAuthservice 62538 } 62539 if postIndex > l { 62540 return io.ErrUnexpectedEOF 62541 } 62542 if err := m.SortBy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 62543 return err 62544 } 62545 iNdEx = postIndex 62546 case 9: 62547 if wireType != 0 { 62548 return fmt.Errorf("proto: wrong wireType = %d for field NeedTotalCount", wireType) 62549 } 62550 var v int 62551 for shift := uint(0); ; shift += 7 { 62552 if shift >= 64 { 62553 return ErrIntOverflowAuthservice 62554 } 62555 if iNdEx >= l { 62556 return io.ErrUnexpectedEOF 62557 } 62558 b := dAtA[iNdEx] 62559 iNdEx++ 62560 v |= int(b&0x7F) << shift 62561 if b < 0x80 { 62562 break 62563 } 62564 } 62565 m.NeedTotalCount = bool(v != 0) 62566 case 10: 62567 if wireType != 2 { 62568 return fmt.Errorf("proto: wrong wireType = %d for field WindowsDesktopFilter", wireType) 62569 } 62570 var msglen int 62571 for shift := uint(0); ; shift += 7 { 62572 if shift >= 64 { 62573 return ErrIntOverflowAuthservice 62574 } 62575 if iNdEx >= l { 62576 return io.ErrUnexpectedEOF 62577 } 62578 b := dAtA[iNdEx] 62579 iNdEx++ 62580 msglen |= int(b&0x7F) << shift 62581 if b < 0x80 { 62582 break 62583 } 62584 } 62585 if msglen < 0 { 62586 return ErrInvalidLengthAuthservice 62587 } 62588 postIndex := iNdEx + msglen 62589 if postIndex < 0 { 62590 return ErrInvalidLengthAuthservice 62591 } 62592 if postIndex > l { 62593 return io.ErrUnexpectedEOF 62594 } 62595 if err := m.WindowsDesktopFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 62596 return err 62597 } 62598 iNdEx = postIndex 62599 case 11: 62600 if wireType != 0 { 62601 return fmt.Errorf("proto: wrong wireType = %d for field UseSearchAsRoles", wireType) 62602 } 62603 var v int 62604 for shift := uint(0); ; shift += 7 { 62605 if shift >= 64 { 62606 return ErrIntOverflowAuthservice 62607 } 62608 if iNdEx >= l { 62609 return io.ErrUnexpectedEOF 62610 } 62611 b := dAtA[iNdEx] 62612 iNdEx++ 62613 v |= int(b&0x7F) << shift 62614 if b < 0x80 { 62615 break 62616 } 62617 } 62618 m.UseSearchAsRoles = bool(v != 0) 62619 case 12: 62620 if wireType != 0 { 62621 return fmt.Errorf("proto: wrong wireType = %d for field UsePreviewAsRoles", wireType) 62622 } 62623 var v int 62624 for shift := uint(0); ; shift += 7 { 62625 if shift >= 64 { 62626 return ErrIntOverflowAuthservice 62627 } 62628 if iNdEx >= l { 62629 return io.ErrUnexpectedEOF 62630 } 62631 b := dAtA[iNdEx] 62632 iNdEx++ 62633 v |= int(b&0x7F) << shift 62634 if b < 0x80 { 62635 break 62636 } 62637 } 62638 m.UsePreviewAsRoles = bool(v != 0) 62639 case 13: 62640 if wireType != 0 { 62641 return fmt.Errorf("proto: wrong wireType = %d for field IncludeLogins", wireType) 62642 } 62643 var v int 62644 for shift := uint(0); ; shift += 7 { 62645 if shift >= 64 { 62646 return ErrIntOverflowAuthservice 62647 } 62648 if iNdEx >= l { 62649 return io.ErrUnexpectedEOF 62650 } 62651 b := dAtA[iNdEx] 62652 iNdEx++ 62653 v |= int(b&0x7F) << shift 62654 if b < 0x80 { 62655 break 62656 } 62657 } 62658 m.IncludeLogins = bool(v != 0) 62659 default: 62660 iNdEx = preIndex 62661 skippy, err := skipAuthservice(dAtA[iNdEx:]) 62662 if err != nil { 62663 return err 62664 } 62665 if (skippy < 0) || (iNdEx+skippy) < 0 { 62666 return ErrInvalidLengthAuthservice 62667 } 62668 if (iNdEx + skippy) > l { 62669 return io.ErrUnexpectedEOF 62670 } 62671 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 62672 iNdEx += skippy 62673 } 62674 } 62675 62676 if iNdEx > l { 62677 return io.ErrUnexpectedEOF 62678 } 62679 return nil 62680 } 62681 func (m *GetSSHTargetsRequest) Unmarshal(dAtA []byte) error { 62682 l := len(dAtA) 62683 iNdEx := 0 62684 for iNdEx < l { 62685 preIndex := iNdEx 62686 var wire uint64 62687 for shift := uint(0); ; shift += 7 { 62688 if shift >= 64 { 62689 return ErrIntOverflowAuthservice 62690 } 62691 if iNdEx >= l { 62692 return io.ErrUnexpectedEOF 62693 } 62694 b := dAtA[iNdEx] 62695 iNdEx++ 62696 wire |= uint64(b&0x7F) << shift 62697 if b < 0x80 { 62698 break 62699 } 62700 } 62701 fieldNum := int32(wire >> 3) 62702 wireType := int(wire & 0x7) 62703 if wireType == 4 { 62704 return fmt.Errorf("proto: GetSSHTargetsRequest: wiretype end group for non-group") 62705 } 62706 if fieldNum <= 0 { 62707 return fmt.Errorf("proto: GetSSHTargetsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 62708 } 62709 switch fieldNum { 62710 case 1: 62711 if wireType != 2 { 62712 return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) 62713 } 62714 var stringLen uint64 62715 for shift := uint(0); ; shift += 7 { 62716 if shift >= 64 { 62717 return ErrIntOverflowAuthservice 62718 } 62719 if iNdEx >= l { 62720 return io.ErrUnexpectedEOF 62721 } 62722 b := dAtA[iNdEx] 62723 iNdEx++ 62724 stringLen |= uint64(b&0x7F) << shift 62725 if b < 0x80 { 62726 break 62727 } 62728 } 62729 intStringLen := int(stringLen) 62730 if intStringLen < 0 { 62731 return ErrInvalidLengthAuthservice 62732 } 62733 postIndex := iNdEx + intStringLen 62734 if postIndex < 0 { 62735 return ErrInvalidLengthAuthservice 62736 } 62737 if postIndex > l { 62738 return io.ErrUnexpectedEOF 62739 } 62740 m.Host = string(dAtA[iNdEx:postIndex]) 62741 iNdEx = postIndex 62742 case 2: 62743 if wireType != 2 { 62744 return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) 62745 } 62746 var stringLen uint64 62747 for shift := uint(0); ; shift += 7 { 62748 if shift >= 64 { 62749 return ErrIntOverflowAuthservice 62750 } 62751 if iNdEx >= l { 62752 return io.ErrUnexpectedEOF 62753 } 62754 b := dAtA[iNdEx] 62755 iNdEx++ 62756 stringLen |= uint64(b&0x7F) << shift 62757 if b < 0x80 { 62758 break 62759 } 62760 } 62761 intStringLen := int(stringLen) 62762 if intStringLen < 0 { 62763 return ErrInvalidLengthAuthservice 62764 } 62765 postIndex := iNdEx + intStringLen 62766 if postIndex < 0 { 62767 return ErrInvalidLengthAuthservice 62768 } 62769 if postIndex > l { 62770 return io.ErrUnexpectedEOF 62771 } 62772 m.Port = string(dAtA[iNdEx:postIndex]) 62773 iNdEx = postIndex 62774 default: 62775 iNdEx = preIndex 62776 skippy, err := skipAuthservice(dAtA[iNdEx:]) 62777 if err != nil { 62778 return err 62779 } 62780 if (skippy < 0) || (iNdEx+skippy) < 0 { 62781 return ErrInvalidLengthAuthservice 62782 } 62783 if (iNdEx + skippy) > l { 62784 return io.ErrUnexpectedEOF 62785 } 62786 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 62787 iNdEx += skippy 62788 } 62789 } 62790 62791 if iNdEx > l { 62792 return io.ErrUnexpectedEOF 62793 } 62794 return nil 62795 } 62796 func (m *GetSSHTargetsResponse) Unmarshal(dAtA []byte) error { 62797 l := len(dAtA) 62798 iNdEx := 0 62799 for iNdEx < l { 62800 preIndex := iNdEx 62801 var wire uint64 62802 for shift := uint(0); ; shift += 7 { 62803 if shift >= 64 { 62804 return ErrIntOverflowAuthservice 62805 } 62806 if iNdEx >= l { 62807 return io.ErrUnexpectedEOF 62808 } 62809 b := dAtA[iNdEx] 62810 iNdEx++ 62811 wire |= uint64(b&0x7F) << shift 62812 if b < 0x80 { 62813 break 62814 } 62815 } 62816 fieldNum := int32(wire >> 3) 62817 wireType := int(wire & 0x7) 62818 if wireType == 4 { 62819 return fmt.Errorf("proto: GetSSHTargetsResponse: wiretype end group for non-group") 62820 } 62821 if fieldNum <= 0 { 62822 return fmt.Errorf("proto: GetSSHTargetsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 62823 } 62824 switch fieldNum { 62825 case 1: 62826 if wireType != 2 { 62827 return fmt.Errorf("proto: wrong wireType = %d for field Servers", wireType) 62828 } 62829 var msglen int 62830 for shift := uint(0); ; shift += 7 { 62831 if shift >= 64 { 62832 return ErrIntOverflowAuthservice 62833 } 62834 if iNdEx >= l { 62835 return io.ErrUnexpectedEOF 62836 } 62837 b := dAtA[iNdEx] 62838 iNdEx++ 62839 msglen |= int(b&0x7F) << shift 62840 if b < 0x80 { 62841 break 62842 } 62843 } 62844 if msglen < 0 { 62845 return ErrInvalidLengthAuthservice 62846 } 62847 postIndex := iNdEx + msglen 62848 if postIndex < 0 { 62849 return ErrInvalidLengthAuthservice 62850 } 62851 if postIndex > l { 62852 return io.ErrUnexpectedEOF 62853 } 62854 m.Servers = append(m.Servers, &types.ServerV2{}) 62855 if err := m.Servers[len(m.Servers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 62856 return err 62857 } 62858 iNdEx = postIndex 62859 default: 62860 iNdEx = preIndex 62861 skippy, err := skipAuthservice(dAtA[iNdEx:]) 62862 if err != nil { 62863 return err 62864 } 62865 if (skippy < 0) || (iNdEx+skippy) < 0 { 62866 return ErrInvalidLengthAuthservice 62867 } 62868 if (iNdEx + skippy) > l { 62869 return io.ErrUnexpectedEOF 62870 } 62871 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 62872 iNdEx += skippy 62873 } 62874 } 62875 62876 if iNdEx > l { 62877 return io.ErrUnexpectedEOF 62878 } 62879 return nil 62880 } 62881 func (m *ListResourcesResponse) Unmarshal(dAtA []byte) error { 62882 l := len(dAtA) 62883 iNdEx := 0 62884 for iNdEx < l { 62885 preIndex := iNdEx 62886 var wire uint64 62887 for shift := uint(0); ; shift += 7 { 62888 if shift >= 64 { 62889 return ErrIntOverflowAuthservice 62890 } 62891 if iNdEx >= l { 62892 return io.ErrUnexpectedEOF 62893 } 62894 b := dAtA[iNdEx] 62895 iNdEx++ 62896 wire |= uint64(b&0x7F) << shift 62897 if b < 0x80 { 62898 break 62899 } 62900 } 62901 fieldNum := int32(wire >> 3) 62902 wireType := int(wire & 0x7) 62903 if wireType == 4 { 62904 return fmt.Errorf("proto: ListResourcesResponse: wiretype end group for non-group") 62905 } 62906 if fieldNum <= 0 { 62907 return fmt.Errorf("proto: ListResourcesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 62908 } 62909 switch fieldNum { 62910 case 1: 62911 if wireType != 2 { 62912 return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType) 62913 } 62914 var msglen int 62915 for shift := uint(0); ; shift += 7 { 62916 if shift >= 64 { 62917 return ErrIntOverflowAuthservice 62918 } 62919 if iNdEx >= l { 62920 return io.ErrUnexpectedEOF 62921 } 62922 b := dAtA[iNdEx] 62923 iNdEx++ 62924 msglen |= int(b&0x7F) << shift 62925 if b < 0x80 { 62926 break 62927 } 62928 } 62929 if msglen < 0 { 62930 return ErrInvalidLengthAuthservice 62931 } 62932 postIndex := iNdEx + msglen 62933 if postIndex < 0 { 62934 return ErrInvalidLengthAuthservice 62935 } 62936 if postIndex > l { 62937 return io.ErrUnexpectedEOF 62938 } 62939 m.Resources = append(m.Resources, &PaginatedResource{}) 62940 if err := m.Resources[len(m.Resources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 62941 return err 62942 } 62943 iNdEx = postIndex 62944 case 2: 62945 if wireType != 2 { 62946 return fmt.Errorf("proto: wrong wireType = %d for field NextKey", wireType) 62947 } 62948 var stringLen uint64 62949 for shift := uint(0); ; shift += 7 { 62950 if shift >= 64 { 62951 return ErrIntOverflowAuthservice 62952 } 62953 if iNdEx >= l { 62954 return io.ErrUnexpectedEOF 62955 } 62956 b := dAtA[iNdEx] 62957 iNdEx++ 62958 stringLen |= uint64(b&0x7F) << shift 62959 if b < 0x80 { 62960 break 62961 } 62962 } 62963 intStringLen := int(stringLen) 62964 if intStringLen < 0 { 62965 return ErrInvalidLengthAuthservice 62966 } 62967 postIndex := iNdEx + intStringLen 62968 if postIndex < 0 { 62969 return ErrInvalidLengthAuthservice 62970 } 62971 if postIndex > l { 62972 return io.ErrUnexpectedEOF 62973 } 62974 m.NextKey = string(dAtA[iNdEx:postIndex]) 62975 iNdEx = postIndex 62976 case 3: 62977 if wireType != 0 { 62978 return fmt.Errorf("proto: wrong wireType = %d for field TotalCount", wireType) 62979 } 62980 m.TotalCount = 0 62981 for shift := uint(0); ; shift += 7 { 62982 if shift >= 64 { 62983 return ErrIntOverflowAuthservice 62984 } 62985 if iNdEx >= l { 62986 return io.ErrUnexpectedEOF 62987 } 62988 b := dAtA[iNdEx] 62989 iNdEx++ 62990 m.TotalCount |= int32(b&0x7F) << shift 62991 if b < 0x80 { 62992 break 62993 } 62994 } 62995 default: 62996 iNdEx = preIndex 62997 skippy, err := skipAuthservice(dAtA[iNdEx:]) 62998 if err != nil { 62999 return err 63000 } 63001 if (skippy < 0) || (iNdEx+skippy) < 0 { 63002 return ErrInvalidLengthAuthservice 63003 } 63004 if (iNdEx + skippy) > l { 63005 return io.ErrUnexpectedEOF 63006 } 63007 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63008 iNdEx += skippy 63009 } 63010 } 63011 63012 if iNdEx > l { 63013 return io.ErrUnexpectedEOF 63014 } 63015 return nil 63016 } 63017 func (m *CreateSessionTrackerRequest) Unmarshal(dAtA []byte) error { 63018 l := len(dAtA) 63019 iNdEx := 0 63020 for iNdEx < l { 63021 preIndex := iNdEx 63022 var wire uint64 63023 for shift := uint(0); ; shift += 7 { 63024 if shift >= 64 { 63025 return ErrIntOverflowAuthservice 63026 } 63027 if iNdEx >= l { 63028 return io.ErrUnexpectedEOF 63029 } 63030 b := dAtA[iNdEx] 63031 iNdEx++ 63032 wire |= uint64(b&0x7F) << shift 63033 if b < 0x80 { 63034 break 63035 } 63036 } 63037 fieldNum := int32(wire >> 3) 63038 wireType := int(wire & 0x7) 63039 if wireType == 4 { 63040 return fmt.Errorf("proto: CreateSessionTrackerRequest: wiretype end group for non-group") 63041 } 63042 if fieldNum <= 0 { 63043 return fmt.Errorf("proto: CreateSessionTrackerRequest: illegal tag %d (wire type %d)", fieldNum, wire) 63044 } 63045 switch fieldNum { 63046 case 15: 63047 if wireType != 2 { 63048 return fmt.Errorf("proto: wrong wireType = %d for field SessionTracker", wireType) 63049 } 63050 var msglen int 63051 for shift := uint(0); ; shift += 7 { 63052 if shift >= 64 { 63053 return ErrIntOverflowAuthservice 63054 } 63055 if iNdEx >= l { 63056 return io.ErrUnexpectedEOF 63057 } 63058 b := dAtA[iNdEx] 63059 iNdEx++ 63060 msglen |= int(b&0x7F) << shift 63061 if b < 0x80 { 63062 break 63063 } 63064 } 63065 if msglen < 0 { 63066 return ErrInvalidLengthAuthservice 63067 } 63068 postIndex := iNdEx + msglen 63069 if postIndex < 0 { 63070 return ErrInvalidLengthAuthservice 63071 } 63072 if postIndex > l { 63073 return io.ErrUnexpectedEOF 63074 } 63075 if m.SessionTracker == nil { 63076 m.SessionTracker = &types.SessionTrackerV1{} 63077 } 63078 if err := m.SessionTracker.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63079 return err 63080 } 63081 iNdEx = postIndex 63082 default: 63083 iNdEx = preIndex 63084 skippy, err := skipAuthservice(dAtA[iNdEx:]) 63085 if err != nil { 63086 return err 63087 } 63088 if (skippy < 0) || (iNdEx+skippy) < 0 { 63089 return ErrInvalidLengthAuthservice 63090 } 63091 if (iNdEx + skippy) > l { 63092 return io.ErrUnexpectedEOF 63093 } 63094 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63095 iNdEx += skippy 63096 } 63097 } 63098 63099 if iNdEx > l { 63100 return io.ErrUnexpectedEOF 63101 } 63102 return nil 63103 } 63104 func (m *GetSessionTrackerRequest) Unmarshal(dAtA []byte) error { 63105 l := len(dAtA) 63106 iNdEx := 0 63107 for iNdEx < l { 63108 preIndex := iNdEx 63109 var wire uint64 63110 for shift := uint(0); ; shift += 7 { 63111 if shift >= 64 { 63112 return ErrIntOverflowAuthservice 63113 } 63114 if iNdEx >= l { 63115 return io.ErrUnexpectedEOF 63116 } 63117 b := dAtA[iNdEx] 63118 iNdEx++ 63119 wire |= uint64(b&0x7F) << shift 63120 if b < 0x80 { 63121 break 63122 } 63123 } 63124 fieldNum := int32(wire >> 3) 63125 wireType := int(wire & 0x7) 63126 if wireType == 4 { 63127 return fmt.Errorf("proto: GetSessionTrackerRequest: wiretype end group for non-group") 63128 } 63129 if fieldNum <= 0 { 63130 return fmt.Errorf("proto: GetSessionTrackerRequest: illegal tag %d (wire type %d)", fieldNum, wire) 63131 } 63132 switch fieldNum { 63133 case 1: 63134 if wireType != 2 { 63135 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 63136 } 63137 var stringLen uint64 63138 for shift := uint(0); ; shift += 7 { 63139 if shift >= 64 { 63140 return ErrIntOverflowAuthservice 63141 } 63142 if iNdEx >= l { 63143 return io.ErrUnexpectedEOF 63144 } 63145 b := dAtA[iNdEx] 63146 iNdEx++ 63147 stringLen |= uint64(b&0x7F) << shift 63148 if b < 0x80 { 63149 break 63150 } 63151 } 63152 intStringLen := int(stringLen) 63153 if intStringLen < 0 { 63154 return ErrInvalidLengthAuthservice 63155 } 63156 postIndex := iNdEx + intStringLen 63157 if postIndex < 0 { 63158 return ErrInvalidLengthAuthservice 63159 } 63160 if postIndex > l { 63161 return io.ErrUnexpectedEOF 63162 } 63163 m.SessionID = string(dAtA[iNdEx:postIndex]) 63164 iNdEx = postIndex 63165 default: 63166 iNdEx = preIndex 63167 skippy, err := skipAuthservice(dAtA[iNdEx:]) 63168 if err != nil { 63169 return err 63170 } 63171 if (skippy < 0) || (iNdEx+skippy) < 0 { 63172 return ErrInvalidLengthAuthservice 63173 } 63174 if (iNdEx + skippy) > l { 63175 return io.ErrUnexpectedEOF 63176 } 63177 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63178 iNdEx += skippy 63179 } 63180 } 63181 63182 if iNdEx > l { 63183 return io.ErrUnexpectedEOF 63184 } 63185 return nil 63186 } 63187 func (m *RemoveSessionTrackerRequest) Unmarshal(dAtA []byte) error { 63188 l := len(dAtA) 63189 iNdEx := 0 63190 for iNdEx < l { 63191 preIndex := iNdEx 63192 var wire uint64 63193 for shift := uint(0); ; shift += 7 { 63194 if shift >= 64 { 63195 return ErrIntOverflowAuthservice 63196 } 63197 if iNdEx >= l { 63198 return io.ErrUnexpectedEOF 63199 } 63200 b := dAtA[iNdEx] 63201 iNdEx++ 63202 wire |= uint64(b&0x7F) << shift 63203 if b < 0x80 { 63204 break 63205 } 63206 } 63207 fieldNum := int32(wire >> 3) 63208 wireType := int(wire & 0x7) 63209 if wireType == 4 { 63210 return fmt.Errorf("proto: RemoveSessionTrackerRequest: wiretype end group for non-group") 63211 } 63212 if fieldNum <= 0 { 63213 return fmt.Errorf("proto: RemoveSessionTrackerRequest: illegal tag %d (wire type %d)", fieldNum, wire) 63214 } 63215 switch fieldNum { 63216 case 1: 63217 if wireType != 2 { 63218 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 63219 } 63220 var stringLen uint64 63221 for shift := uint(0); ; shift += 7 { 63222 if shift >= 64 { 63223 return ErrIntOverflowAuthservice 63224 } 63225 if iNdEx >= l { 63226 return io.ErrUnexpectedEOF 63227 } 63228 b := dAtA[iNdEx] 63229 iNdEx++ 63230 stringLen |= uint64(b&0x7F) << shift 63231 if b < 0x80 { 63232 break 63233 } 63234 } 63235 intStringLen := int(stringLen) 63236 if intStringLen < 0 { 63237 return ErrInvalidLengthAuthservice 63238 } 63239 postIndex := iNdEx + intStringLen 63240 if postIndex < 0 { 63241 return ErrInvalidLengthAuthservice 63242 } 63243 if postIndex > l { 63244 return io.ErrUnexpectedEOF 63245 } 63246 m.SessionID = string(dAtA[iNdEx:postIndex]) 63247 iNdEx = postIndex 63248 default: 63249 iNdEx = preIndex 63250 skippy, err := skipAuthservice(dAtA[iNdEx:]) 63251 if err != nil { 63252 return err 63253 } 63254 if (skippy < 0) || (iNdEx+skippy) < 0 { 63255 return ErrInvalidLengthAuthservice 63256 } 63257 if (iNdEx + skippy) > l { 63258 return io.ErrUnexpectedEOF 63259 } 63260 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63261 iNdEx += skippy 63262 } 63263 } 63264 63265 if iNdEx > l { 63266 return io.ErrUnexpectedEOF 63267 } 63268 return nil 63269 } 63270 func (m *SessionTrackerUpdateState) Unmarshal(dAtA []byte) error { 63271 l := len(dAtA) 63272 iNdEx := 0 63273 for iNdEx < l { 63274 preIndex := iNdEx 63275 var wire uint64 63276 for shift := uint(0); ; shift += 7 { 63277 if shift >= 64 { 63278 return ErrIntOverflowAuthservice 63279 } 63280 if iNdEx >= l { 63281 return io.ErrUnexpectedEOF 63282 } 63283 b := dAtA[iNdEx] 63284 iNdEx++ 63285 wire |= uint64(b&0x7F) << shift 63286 if b < 0x80 { 63287 break 63288 } 63289 } 63290 fieldNum := int32(wire >> 3) 63291 wireType := int(wire & 0x7) 63292 if wireType == 4 { 63293 return fmt.Errorf("proto: SessionTrackerUpdateState: wiretype end group for non-group") 63294 } 63295 if fieldNum <= 0 { 63296 return fmt.Errorf("proto: SessionTrackerUpdateState: illegal tag %d (wire type %d)", fieldNum, wire) 63297 } 63298 switch fieldNum { 63299 case 2: 63300 if wireType != 0 { 63301 return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) 63302 } 63303 m.State = 0 63304 for shift := uint(0); ; shift += 7 { 63305 if shift >= 64 { 63306 return ErrIntOverflowAuthservice 63307 } 63308 if iNdEx >= l { 63309 return io.ErrUnexpectedEOF 63310 } 63311 b := dAtA[iNdEx] 63312 iNdEx++ 63313 m.State |= types.SessionState(b&0x7F) << shift 63314 if b < 0x80 { 63315 break 63316 } 63317 } 63318 default: 63319 iNdEx = preIndex 63320 skippy, err := skipAuthservice(dAtA[iNdEx:]) 63321 if err != nil { 63322 return err 63323 } 63324 if (skippy < 0) || (iNdEx+skippy) < 0 { 63325 return ErrInvalidLengthAuthservice 63326 } 63327 if (iNdEx + skippy) > l { 63328 return io.ErrUnexpectedEOF 63329 } 63330 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63331 iNdEx += skippy 63332 } 63333 } 63334 63335 if iNdEx > l { 63336 return io.ErrUnexpectedEOF 63337 } 63338 return nil 63339 } 63340 func (m *SessionTrackerAddParticipant) Unmarshal(dAtA []byte) error { 63341 l := len(dAtA) 63342 iNdEx := 0 63343 for iNdEx < l { 63344 preIndex := iNdEx 63345 var wire uint64 63346 for shift := uint(0); ; shift += 7 { 63347 if shift >= 64 { 63348 return ErrIntOverflowAuthservice 63349 } 63350 if iNdEx >= l { 63351 return io.ErrUnexpectedEOF 63352 } 63353 b := dAtA[iNdEx] 63354 iNdEx++ 63355 wire |= uint64(b&0x7F) << shift 63356 if b < 0x80 { 63357 break 63358 } 63359 } 63360 fieldNum := int32(wire >> 3) 63361 wireType := int(wire & 0x7) 63362 if wireType == 4 { 63363 return fmt.Errorf("proto: SessionTrackerAddParticipant: wiretype end group for non-group") 63364 } 63365 if fieldNum <= 0 { 63366 return fmt.Errorf("proto: SessionTrackerAddParticipant: illegal tag %d (wire type %d)", fieldNum, wire) 63367 } 63368 switch fieldNum { 63369 case 2: 63370 if wireType != 2 { 63371 return fmt.Errorf("proto: wrong wireType = %d for field Participant", wireType) 63372 } 63373 var msglen int 63374 for shift := uint(0); ; shift += 7 { 63375 if shift >= 64 { 63376 return ErrIntOverflowAuthservice 63377 } 63378 if iNdEx >= l { 63379 return io.ErrUnexpectedEOF 63380 } 63381 b := dAtA[iNdEx] 63382 iNdEx++ 63383 msglen |= int(b&0x7F) << shift 63384 if b < 0x80 { 63385 break 63386 } 63387 } 63388 if msglen < 0 { 63389 return ErrInvalidLengthAuthservice 63390 } 63391 postIndex := iNdEx + msglen 63392 if postIndex < 0 { 63393 return ErrInvalidLengthAuthservice 63394 } 63395 if postIndex > l { 63396 return io.ErrUnexpectedEOF 63397 } 63398 if m.Participant == nil { 63399 m.Participant = &types.Participant{} 63400 } 63401 if err := m.Participant.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63402 return err 63403 } 63404 iNdEx = postIndex 63405 default: 63406 iNdEx = preIndex 63407 skippy, err := skipAuthservice(dAtA[iNdEx:]) 63408 if err != nil { 63409 return err 63410 } 63411 if (skippy < 0) || (iNdEx+skippy) < 0 { 63412 return ErrInvalidLengthAuthservice 63413 } 63414 if (iNdEx + skippy) > l { 63415 return io.ErrUnexpectedEOF 63416 } 63417 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63418 iNdEx += skippy 63419 } 63420 } 63421 63422 if iNdEx > l { 63423 return io.ErrUnexpectedEOF 63424 } 63425 return nil 63426 } 63427 func (m *SessionTrackerRemoveParticipant) Unmarshal(dAtA []byte) error { 63428 l := len(dAtA) 63429 iNdEx := 0 63430 for iNdEx < l { 63431 preIndex := iNdEx 63432 var wire uint64 63433 for shift := uint(0); ; shift += 7 { 63434 if shift >= 64 { 63435 return ErrIntOverflowAuthservice 63436 } 63437 if iNdEx >= l { 63438 return io.ErrUnexpectedEOF 63439 } 63440 b := dAtA[iNdEx] 63441 iNdEx++ 63442 wire |= uint64(b&0x7F) << shift 63443 if b < 0x80 { 63444 break 63445 } 63446 } 63447 fieldNum := int32(wire >> 3) 63448 wireType := int(wire & 0x7) 63449 if wireType == 4 { 63450 return fmt.Errorf("proto: SessionTrackerRemoveParticipant: wiretype end group for non-group") 63451 } 63452 if fieldNum <= 0 { 63453 return fmt.Errorf("proto: SessionTrackerRemoveParticipant: illegal tag %d (wire type %d)", fieldNum, wire) 63454 } 63455 switch fieldNum { 63456 case 2: 63457 if wireType != 2 { 63458 return fmt.Errorf("proto: wrong wireType = %d for field ParticipantID", wireType) 63459 } 63460 var stringLen uint64 63461 for shift := uint(0); ; shift += 7 { 63462 if shift >= 64 { 63463 return ErrIntOverflowAuthservice 63464 } 63465 if iNdEx >= l { 63466 return io.ErrUnexpectedEOF 63467 } 63468 b := dAtA[iNdEx] 63469 iNdEx++ 63470 stringLen |= uint64(b&0x7F) << shift 63471 if b < 0x80 { 63472 break 63473 } 63474 } 63475 intStringLen := int(stringLen) 63476 if intStringLen < 0 { 63477 return ErrInvalidLengthAuthservice 63478 } 63479 postIndex := iNdEx + intStringLen 63480 if postIndex < 0 { 63481 return ErrInvalidLengthAuthservice 63482 } 63483 if postIndex > l { 63484 return io.ErrUnexpectedEOF 63485 } 63486 m.ParticipantID = string(dAtA[iNdEx:postIndex]) 63487 iNdEx = postIndex 63488 default: 63489 iNdEx = preIndex 63490 skippy, err := skipAuthservice(dAtA[iNdEx:]) 63491 if err != nil { 63492 return err 63493 } 63494 if (skippy < 0) || (iNdEx+skippy) < 0 { 63495 return ErrInvalidLengthAuthservice 63496 } 63497 if (iNdEx + skippy) > l { 63498 return io.ErrUnexpectedEOF 63499 } 63500 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63501 iNdEx += skippy 63502 } 63503 } 63504 63505 if iNdEx > l { 63506 return io.ErrUnexpectedEOF 63507 } 63508 return nil 63509 } 63510 func (m *SessionTrackerUpdateExpiry) Unmarshal(dAtA []byte) error { 63511 l := len(dAtA) 63512 iNdEx := 0 63513 for iNdEx < l { 63514 preIndex := iNdEx 63515 var wire uint64 63516 for shift := uint(0); ; shift += 7 { 63517 if shift >= 64 { 63518 return ErrIntOverflowAuthservice 63519 } 63520 if iNdEx >= l { 63521 return io.ErrUnexpectedEOF 63522 } 63523 b := dAtA[iNdEx] 63524 iNdEx++ 63525 wire |= uint64(b&0x7F) << shift 63526 if b < 0x80 { 63527 break 63528 } 63529 } 63530 fieldNum := int32(wire >> 3) 63531 wireType := int(wire & 0x7) 63532 if wireType == 4 { 63533 return fmt.Errorf("proto: SessionTrackerUpdateExpiry: wiretype end group for non-group") 63534 } 63535 if fieldNum <= 0 { 63536 return fmt.Errorf("proto: SessionTrackerUpdateExpiry: illegal tag %d (wire type %d)", fieldNum, wire) 63537 } 63538 switch fieldNum { 63539 case 1: 63540 if wireType != 2 { 63541 return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType) 63542 } 63543 var msglen int 63544 for shift := uint(0); ; shift += 7 { 63545 if shift >= 64 { 63546 return ErrIntOverflowAuthservice 63547 } 63548 if iNdEx >= l { 63549 return io.ErrUnexpectedEOF 63550 } 63551 b := dAtA[iNdEx] 63552 iNdEx++ 63553 msglen |= int(b&0x7F) << shift 63554 if b < 0x80 { 63555 break 63556 } 63557 } 63558 if msglen < 0 { 63559 return ErrInvalidLengthAuthservice 63560 } 63561 postIndex := iNdEx + msglen 63562 if postIndex < 0 { 63563 return ErrInvalidLengthAuthservice 63564 } 63565 if postIndex > l { 63566 return io.ErrUnexpectedEOF 63567 } 63568 if m.Expires == nil { 63569 m.Expires = new(time.Time) 63570 } 63571 if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(m.Expires, dAtA[iNdEx:postIndex]); err != nil { 63572 return err 63573 } 63574 iNdEx = postIndex 63575 default: 63576 iNdEx = preIndex 63577 skippy, err := skipAuthservice(dAtA[iNdEx:]) 63578 if err != nil { 63579 return err 63580 } 63581 if (skippy < 0) || (iNdEx+skippy) < 0 { 63582 return ErrInvalidLengthAuthservice 63583 } 63584 if (iNdEx + skippy) > l { 63585 return io.ErrUnexpectedEOF 63586 } 63587 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63588 iNdEx += skippy 63589 } 63590 } 63591 63592 if iNdEx > l { 63593 return io.ErrUnexpectedEOF 63594 } 63595 return nil 63596 } 63597 func (m *UpdateSessionTrackerRequest) Unmarshal(dAtA []byte) error { 63598 l := len(dAtA) 63599 iNdEx := 0 63600 for iNdEx < l { 63601 preIndex := iNdEx 63602 var wire uint64 63603 for shift := uint(0); ; shift += 7 { 63604 if shift >= 64 { 63605 return ErrIntOverflowAuthservice 63606 } 63607 if iNdEx >= l { 63608 return io.ErrUnexpectedEOF 63609 } 63610 b := dAtA[iNdEx] 63611 iNdEx++ 63612 wire |= uint64(b&0x7F) << shift 63613 if b < 0x80 { 63614 break 63615 } 63616 } 63617 fieldNum := int32(wire >> 3) 63618 wireType := int(wire & 0x7) 63619 if wireType == 4 { 63620 return fmt.Errorf("proto: UpdateSessionTrackerRequest: wiretype end group for non-group") 63621 } 63622 if fieldNum <= 0 { 63623 return fmt.Errorf("proto: UpdateSessionTrackerRequest: illegal tag %d (wire type %d)", fieldNum, wire) 63624 } 63625 switch fieldNum { 63626 case 1: 63627 if wireType != 2 { 63628 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 63629 } 63630 var stringLen uint64 63631 for shift := uint(0); ; shift += 7 { 63632 if shift >= 64 { 63633 return ErrIntOverflowAuthservice 63634 } 63635 if iNdEx >= l { 63636 return io.ErrUnexpectedEOF 63637 } 63638 b := dAtA[iNdEx] 63639 iNdEx++ 63640 stringLen |= uint64(b&0x7F) << shift 63641 if b < 0x80 { 63642 break 63643 } 63644 } 63645 intStringLen := int(stringLen) 63646 if intStringLen < 0 { 63647 return ErrInvalidLengthAuthservice 63648 } 63649 postIndex := iNdEx + intStringLen 63650 if postIndex < 0 { 63651 return ErrInvalidLengthAuthservice 63652 } 63653 if postIndex > l { 63654 return io.ErrUnexpectedEOF 63655 } 63656 m.SessionID = string(dAtA[iNdEx:postIndex]) 63657 iNdEx = postIndex 63658 case 2: 63659 if wireType != 2 { 63660 return fmt.Errorf("proto: wrong wireType = %d for field UpdateState", wireType) 63661 } 63662 var msglen int 63663 for shift := uint(0); ; shift += 7 { 63664 if shift >= 64 { 63665 return ErrIntOverflowAuthservice 63666 } 63667 if iNdEx >= l { 63668 return io.ErrUnexpectedEOF 63669 } 63670 b := dAtA[iNdEx] 63671 iNdEx++ 63672 msglen |= int(b&0x7F) << shift 63673 if b < 0x80 { 63674 break 63675 } 63676 } 63677 if msglen < 0 { 63678 return ErrInvalidLengthAuthservice 63679 } 63680 postIndex := iNdEx + msglen 63681 if postIndex < 0 { 63682 return ErrInvalidLengthAuthservice 63683 } 63684 if postIndex > l { 63685 return io.ErrUnexpectedEOF 63686 } 63687 v := &SessionTrackerUpdateState{} 63688 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63689 return err 63690 } 63691 m.Update = &UpdateSessionTrackerRequest_UpdateState{v} 63692 iNdEx = postIndex 63693 case 3: 63694 if wireType != 2 { 63695 return fmt.Errorf("proto: wrong wireType = %d for field AddParticipant", wireType) 63696 } 63697 var msglen int 63698 for shift := uint(0); ; shift += 7 { 63699 if shift >= 64 { 63700 return ErrIntOverflowAuthservice 63701 } 63702 if iNdEx >= l { 63703 return io.ErrUnexpectedEOF 63704 } 63705 b := dAtA[iNdEx] 63706 iNdEx++ 63707 msglen |= int(b&0x7F) << shift 63708 if b < 0x80 { 63709 break 63710 } 63711 } 63712 if msglen < 0 { 63713 return ErrInvalidLengthAuthservice 63714 } 63715 postIndex := iNdEx + msglen 63716 if postIndex < 0 { 63717 return ErrInvalidLengthAuthservice 63718 } 63719 if postIndex > l { 63720 return io.ErrUnexpectedEOF 63721 } 63722 v := &SessionTrackerAddParticipant{} 63723 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63724 return err 63725 } 63726 m.Update = &UpdateSessionTrackerRequest_AddParticipant{v} 63727 iNdEx = postIndex 63728 case 4: 63729 if wireType != 2 { 63730 return fmt.Errorf("proto: wrong wireType = %d for field RemoveParticipant", wireType) 63731 } 63732 var msglen int 63733 for shift := uint(0); ; shift += 7 { 63734 if shift >= 64 { 63735 return ErrIntOverflowAuthservice 63736 } 63737 if iNdEx >= l { 63738 return io.ErrUnexpectedEOF 63739 } 63740 b := dAtA[iNdEx] 63741 iNdEx++ 63742 msglen |= int(b&0x7F) << shift 63743 if b < 0x80 { 63744 break 63745 } 63746 } 63747 if msglen < 0 { 63748 return ErrInvalidLengthAuthservice 63749 } 63750 postIndex := iNdEx + msglen 63751 if postIndex < 0 { 63752 return ErrInvalidLengthAuthservice 63753 } 63754 if postIndex > l { 63755 return io.ErrUnexpectedEOF 63756 } 63757 v := &SessionTrackerRemoveParticipant{} 63758 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63759 return err 63760 } 63761 m.Update = &UpdateSessionTrackerRequest_RemoveParticipant{v} 63762 iNdEx = postIndex 63763 case 5: 63764 if wireType != 2 { 63765 return fmt.Errorf("proto: wrong wireType = %d for field UpdateExpiry", wireType) 63766 } 63767 var msglen int 63768 for shift := uint(0); ; shift += 7 { 63769 if shift >= 64 { 63770 return ErrIntOverflowAuthservice 63771 } 63772 if iNdEx >= l { 63773 return io.ErrUnexpectedEOF 63774 } 63775 b := dAtA[iNdEx] 63776 iNdEx++ 63777 msglen |= int(b&0x7F) << shift 63778 if b < 0x80 { 63779 break 63780 } 63781 } 63782 if msglen < 0 { 63783 return ErrInvalidLengthAuthservice 63784 } 63785 postIndex := iNdEx + msglen 63786 if postIndex < 0 { 63787 return ErrInvalidLengthAuthservice 63788 } 63789 if postIndex > l { 63790 return io.ErrUnexpectedEOF 63791 } 63792 v := &SessionTrackerUpdateExpiry{} 63793 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63794 return err 63795 } 63796 m.Update = &UpdateSessionTrackerRequest_UpdateExpiry{v} 63797 iNdEx = postIndex 63798 default: 63799 iNdEx = preIndex 63800 skippy, err := skipAuthservice(dAtA[iNdEx:]) 63801 if err != nil { 63802 return err 63803 } 63804 if (skippy < 0) || (iNdEx+skippy) < 0 { 63805 return ErrInvalidLengthAuthservice 63806 } 63807 if (iNdEx + skippy) > l { 63808 return io.ErrUnexpectedEOF 63809 } 63810 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63811 iNdEx += skippy 63812 } 63813 } 63814 63815 if iNdEx > l { 63816 return io.ErrUnexpectedEOF 63817 } 63818 return nil 63819 } 63820 func (m *PresenceMFAChallengeRequest) Unmarshal(dAtA []byte) error { 63821 l := len(dAtA) 63822 iNdEx := 0 63823 for iNdEx < l { 63824 preIndex := iNdEx 63825 var wire uint64 63826 for shift := uint(0); ; shift += 7 { 63827 if shift >= 64 { 63828 return ErrIntOverflowAuthservice 63829 } 63830 if iNdEx >= l { 63831 return io.ErrUnexpectedEOF 63832 } 63833 b := dAtA[iNdEx] 63834 iNdEx++ 63835 wire |= uint64(b&0x7F) << shift 63836 if b < 0x80 { 63837 break 63838 } 63839 } 63840 fieldNum := int32(wire >> 3) 63841 wireType := int(wire & 0x7) 63842 if wireType == 4 { 63843 return fmt.Errorf("proto: PresenceMFAChallengeRequest: wiretype end group for non-group") 63844 } 63845 if fieldNum <= 0 { 63846 return fmt.Errorf("proto: PresenceMFAChallengeRequest: illegal tag %d (wire type %d)", fieldNum, wire) 63847 } 63848 switch fieldNum { 63849 case 1: 63850 if wireType != 2 { 63851 return fmt.Errorf("proto: wrong wireType = %d for field SessionID", wireType) 63852 } 63853 var stringLen uint64 63854 for shift := uint(0); ; shift += 7 { 63855 if shift >= 64 { 63856 return ErrIntOverflowAuthservice 63857 } 63858 if iNdEx >= l { 63859 return io.ErrUnexpectedEOF 63860 } 63861 b := dAtA[iNdEx] 63862 iNdEx++ 63863 stringLen |= uint64(b&0x7F) << shift 63864 if b < 0x80 { 63865 break 63866 } 63867 } 63868 intStringLen := int(stringLen) 63869 if intStringLen < 0 { 63870 return ErrInvalidLengthAuthservice 63871 } 63872 postIndex := iNdEx + intStringLen 63873 if postIndex < 0 { 63874 return ErrInvalidLengthAuthservice 63875 } 63876 if postIndex > l { 63877 return io.ErrUnexpectedEOF 63878 } 63879 m.SessionID = string(dAtA[iNdEx:postIndex]) 63880 iNdEx = postIndex 63881 default: 63882 iNdEx = preIndex 63883 skippy, err := skipAuthservice(dAtA[iNdEx:]) 63884 if err != nil { 63885 return err 63886 } 63887 if (skippy < 0) || (iNdEx+skippy) < 0 { 63888 return ErrInvalidLengthAuthservice 63889 } 63890 if (iNdEx + skippy) > l { 63891 return io.ErrUnexpectedEOF 63892 } 63893 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 63894 iNdEx += skippy 63895 } 63896 } 63897 63898 if iNdEx > l { 63899 return io.ErrUnexpectedEOF 63900 } 63901 return nil 63902 } 63903 func (m *PresenceMFAChallengeSend) Unmarshal(dAtA []byte) error { 63904 l := len(dAtA) 63905 iNdEx := 0 63906 for iNdEx < l { 63907 preIndex := iNdEx 63908 var wire uint64 63909 for shift := uint(0); ; shift += 7 { 63910 if shift >= 64 { 63911 return ErrIntOverflowAuthservice 63912 } 63913 if iNdEx >= l { 63914 return io.ErrUnexpectedEOF 63915 } 63916 b := dAtA[iNdEx] 63917 iNdEx++ 63918 wire |= uint64(b&0x7F) << shift 63919 if b < 0x80 { 63920 break 63921 } 63922 } 63923 fieldNum := int32(wire >> 3) 63924 wireType := int(wire & 0x7) 63925 if wireType == 4 { 63926 return fmt.Errorf("proto: PresenceMFAChallengeSend: wiretype end group for non-group") 63927 } 63928 if fieldNum <= 0 { 63929 return fmt.Errorf("proto: PresenceMFAChallengeSend: illegal tag %d (wire type %d)", fieldNum, wire) 63930 } 63931 switch fieldNum { 63932 case 1: 63933 if wireType != 2 { 63934 return fmt.Errorf("proto: wrong wireType = %d for field ChallengeRequest", wireType) 63935 } 63936 var msglen int 63937 for shift := uint(0); ; shift += 7 { 63938 if shift >= 64 { 63939 return ErrIntOverflowAuthservice 63940 } 63941 if iNdEx >= l { 63942 return io.ErrUnexpectedEOF 63943 } 63944 b := dAtA[iNdEx] 63945 iNdEx++ 63946 msglen |= int(b&0x7F) << shift 63947 if b < 0x80 { 63948 break 63949 } 63950 } 63951 if msglen < 0 { 63952 return ErrInvalidLengthAuthservice 63953 } 63954 postIndex := iNdEx + msglen 63955 if postIndex < 0 { 63956 return ErrInvalidLengthAuthservice 63957 } 63958 if postIndex > l { 63959 return io.ErrUnexpectedEOF 63960 } 63961 v := &PresenceMFAChallengeRequest{} 63962 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63963 return err 63964 } 63965 m.Request = &PresenceMFAChallengeSend_ChallengeRequest{v} 63966 iNdEx = postIndex 63967 case 2: 63968 if wireType != 2 { 63969 return fmt.Errorf("proto: wrong wireType = %d for field ChallengeResponse", wireType) 63970 } 63971 var msglen int 63972 for shift := uint(0); ; shift += 7 { 63973 if shift >= 64 { 63974 return ErrIntOverflowAuthservice 63975 } 63976 if iNdEx >= l { 63977 return io.ErrUnexpectedEOF 63978 } 63979 b := dAtA[iNdEx] 63980 iNdEx++ 63981 msglen |= int(b&0x7F) << shift 63982 if b < 0x80 { 63983 break 63984 } 63985 } 63986 if msglen < 0 { 63987 return ErrInvalidLengthAuthservice 63988 } 63989 postIndex := iNdEx + msglen 63990 if postIndex < 0 { 63991 return ErrInvalidLengthAuthservice 63992 } 63993 if postIndex > l { 63994 return io.ErrUnexpectedEOF 63995 } 63996 v := &MFAAuthenticateResponse{} 63997 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 63998 return err 63999 } 64000 m.Request = &PresenceMFAChallengeSend_ChallengeResponse{v} 64001 iNdEx = postIndex 64002 default: 64003 iNdEx = preIndex 64004 skippy, err := skipAuthservice(dAtA[iNdEx:]) 64005 if err != nil { 64006 return err 64007 } 64008 if (skippy < 0) || (iNdEx+skippy) < 0 { 64009 return ErrInvalidLengthAuthservice 64010 } 64011 if (iNdEx + skippy) > l { 64012 return io.ErrUnexpectedEOF 64013 } 64014 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64015 iNdEx += skippy 64016 } 64017 } 64018 64019 if iNdEx > l { 64020 return io.ErrUnexpectedEOF 64021 } 64022 return nil 64023 } 64024 func (m *GetDomainNameResponse) Unmarshal(dAtA []byte) error { 64025 l := len(dAtA) 64026 iNdEx := 0 64027 for iNdEx < l { 64028 preIndex := iNdEx 64029 var wire uint64 64030 for shift := uint(0); ; shift += 7 { 64031 if shift >= 64 { 64032 return ErrIntOverflowAuthservice 64033 } 64034 if iNdEx >= l { 64035 return io.ErrUnexpectedEOF 64036 } 64037 b := dAtA[iNdEx] 64038 iNdEx++ 64039 wire |= uint64(b&0x7F) << shift 64040 if b < 0x80 { 64041 break 64042 } 64043 } 64044 fieldNum := int32(wire >> 3) 64045 wireType := int(wire & 0x7) 64046 if wireType == 4 { 64047 return fmt.Errorf("proto: GetDomainNameResponse: wiretype end group for non-group") 64048 } 64049 if fieldNum <= 0 { 64050 return fmt.Errorf("proto: GetDomainNameResponse: illegal tag %d (wire type %d)", fieldNum, wire) 64051 } 64052 switch fieldNum { 64053 case 1: 64054 if wireType != 2 { 64055 return fmt.Errorf("proto: wrong wireType = %d for field DomainName", wireType) 64056 } 64057 var stringLen uint64 64058 for shift := uint(0); ; shift += 7 { 64059 if shift >= 64 { 64060 return ErrIntOverflowAuthservice 64061 } 64062 if iNdEx >= l { 64063 return io.ErrUnexpectedEOF 64064 } 64065 b := dAtA[iNdEx] 64066 iNdEx++ 64067 stringLen |= uint64(b&0x7F) << shift 64068 if b < 0x80 { 64069 break 64070 } 64071 } 64072 intStringLen := int(stringLen) 64073 if intStringLen < 0 { 64074 return ErrInvalidLengthAuthservice 64075 } 64076 postIndex := iNdEx + intStringLen 64077 if postIndex < 0 { 64078 return ErrInvalidLengthAuthservice 64079 } 64080 if postIndex > l { 64081 return io.ErrUnexpectedEOF 64082 } 64083 m.DomainName = string(dAtA[iNdEx:postIndex]) 64084 iNdEx = postIndex 64085 default: 64086 iNdEx = preIndex 64087 skippy, err := skipAuthservice(dAtA[iNdEx:]) 64088 if err != nil { 64089 return err 64090 } 64091 if (skippy < 0) || (iNdEx+skippy) < 0 { 64092 return ErrInvalidLengthAuthservice 64093 } 64094 if (iNdEx + skippy) > l { 64095 return io.ErrUnexpectedEOF 64096 } 64097 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64098 iNdEx += skippy 64099 } 64100 } 64101 64102 if iNdEx > l { 64103 return io.ErrUnexpectedEOF 64104 } 64105 return nil 64106 } 64107 func (m *GetClusterCACertResponse) Unmarshal(dAtA []byte) error { 64108 l := len(dAtA) 64109 iNdEx := 0 64110 for iNdEx < l { 64111 preIndex := iNdEx 64112 var wire uint64 64113 for shift := uint(0); ; shift += 7 { 64114 if shift >= 64 { 64115 return ErrIntOverflowAuthservice 64116 } 64117 if iNdEx >= l { 64118 return io.ErrUnexpectedEOF 64119 } 64120 b := dAtA[iNdEx] 64121 iNdEx++ 64122 wire |= uint64(b&0x7F) << shift 64123 if b < 0x80 { 64124 break 64125 } 64126 } 64127 fieldNum := int32(wire >> 3) 64128 wireType := int(wire & 0x7) 64129 if wireType == 4 { 64130 return fmt.Errorf("proto: GetClusterCACertResponse: wiretype end group for non-group") 64131 } 64132 if fieldNum <= 0 { 64133 return fmt.Errorf("proto: GetClusterCACertResponse: illegal tag %d (wire type %d)", fieldNum, wire) 64134 } 64135 switch fieldNum { 64136 case 1: 64137 if wireType != 2 { 64138 return fmt.Errorf("proto: wrong wireType = %d for field TLSCA", wireType) 64139 } 64140 var byteLen int 64141 for shift := uint(0); ; shift += 7 { 64142 if shift >= 64 { 64143 return ErrIntOverflowAuthservice 64144 } 64145 if iNdEx >= l { 64146 return io.ErrUnexpectedEOF 64147 } 64148 b := dAtA[iNdEx] 64149 iNdEx++ 64150 byteLen |= int(b&0x7F) << shift 64151 if b < 0x80 { 64152 break 64153 } 64154 } 64155 if byteLen < 0 { 64156 return ErrInvalidLengthAuthservice 64157 } 64158 postIndex := iNdEx + byteLen 64159 if postIndex < 0 { 64160 return ErrInvalidLengthAuthservice 64161 } 64162 if postIndex > l { 64163 return io.ErrUnexpectedEOF 64164 } 64165 m.TLSCA = append(m.TLSCA[:0], dAtA[iNdEx:postIndex]...) 64166 if m.TLSCA == nil { 64167 m.TLSCA = []byte{} 64168 } 64169 iNdEx = postIndex 64170 default: 64171 iNdEx = preIndex 64172 skippy, err := skipAuthservice(dAtA[iNdEx:]) 64173 if err != nil { 64174 return err 64175 } 64176 if (skippy < 0) || (iNdEx+skippy) < 0 { 64177 return ErrInvalidLengthAuthservice 64178 } 64179 if (iNdEx + skippy) > l { 64180 return io.ErrUnexpectedEOF 64181 } 64182 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64183 iNdEx += skippy 64184 } 64185 } 64186 64187 if iNdEx > l { 64188 return io.ErrUnexpectedEOF 64189 } 64190 return nil 64191 } 64192 func (m *GetLicenseResponse) Unmarshal(dAtA []byte) error { 64193 l := len(dAtA) 64194 iNdEx := 0 64195 for iNdEx < l { 64196 preIndex := iNdEx 64197 var wire uint64 64198 for shift := uint(0); ; shift += 7 { 64199 if shift >= 64 { 64200 return ErrIntOverflowAuthservice 64201 } 64202 if iNdEx >= l { 64203 return io.ErrUnexpectedEOF 64204 } 64205 b := dAtA[iNdEx] 64206 iNdEx++ 64207 wire |= uint64(b&0x7F) << shift 64208 if b < 0x80 { 64209 break 64210 } 64211 } 64212 fieldNum := int32(wire >> 3) 64213 wireType := int(wire & 0x7) 64214 if wireType == 4 { 64215 return fmt.Errorf("proto: GetLicenseResponse: wiretype end group for non-group") 64216 } 64217 if fieldNum <= 0 { 64218 return fmt.Errorf("proto: GetLicenseResponse: illegal tag %d (wire type %d)", fieldNum, wire) 64219 } 64220 switch fieldNum { 64221 case 1: 64222 if wireType != 2 { 64223 return fmt.Errorf("proto: wrong wireType = %d for field License", wireType) 64224 } 64225 var byteLen int 64226 for shift := uint(0); ; shift += 7 { 64227 if shift >= 64 { 64228 return ErrIntOverflowAuthservice 64229 } 64230 if iNdEx >= l { 64231 return io.ErrUnexpectedEOF 64232 } 64233 b := dAtA[iNdEx] 64234 iNdEx++ 64235 byteLen |= int(b&0x7F) << shift 64236 if b < 0x80 { 64237 break 64238 } 64239 } 64240 if byteLen < 0 { 64241 return ErrInvalidLengthAuthservice 64242 } 64243 postIndex := iNdEx + byteLen 64244 if postIndex < 0 { 64245 return ErrInvalidLengthAuthservice 64246 } 64247 if postIndex > l { 64248 return io.ErrUnexpectedEOF 64249 } 64250 m.License = append(m.License[:0], dAtA[iNdEx:postIndex]...) 64251 if m.License == nil { 64252 m.License = []byte{} 64253 } 64254 iNdEx = postIndex 64255 default: 64256 iNdEx = preIndex 64257 skippy, err := skipAuthservice(dAtA[iNdEx:]) 64258 if err != nil { 64259 return err 64260 } 64261 if (skippy < 0) || (iNdEx+skippy) < 0 { 64262 return ErrInvalidLengthAuthservice 64263 } 64264 if (iNdEx + skippy) > l { 64265 return io.ErrUnexpectedEOF 64266 } 64267 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64268 iNdEx += skippy 64269 } 64270 } 64271 64272 if iNdEx > l { 64273 return io.ErrUnexpectedEOF 64274 } 64275 return nil 64276 } 64277 func (m *ListReleasesResponse) Unmarshal(dAtA []byte) error { 64278 l := len(dAtA) 64279 iNdEx := 0 64280 for iNdEx < l { 64281 preIndex := iNdEx 64282 var wire uint64 64283 for shift := uint(0); ; shift += 7 { 64284 if shift >= 64 { 64285 return ErrIntOverflowAuthservice 64286 } 64287 if iNdEx >= l { 64288 return io.ErrUnexpectedEOF 64289 } 64290 b := dAtA[iNdEx] 64291 iNdEx++ 64292 wire |= uint64(b&0x7F) << shift 64293 if b < 0x80 { 64294 break 64295 } 64296 } 64297 fieldNum := int32(wire >> 3) 64298 wireType := int(wire & 0x7) 64299 if wireType == 4 { 64300 return fmt.Errorf("proto: ListReleasesResponse: wiretype end group for non-group") 64301 } 64302 if fieldNum <= 0 { 64303 return fmt.Errorf("proto: ListReleasesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 64304 } 64305 switch fieldNum { 64306 case 1: 64307 if wireType != 2 { 64308 return fmt.Errorf("proto: wrong wireType = %d for field Releases", wireType) 64309 } 64310 var msglen int 64311 for shift := uint(0); ; shift += 7 { 64312 if shift >= 64 { 64313 return ErrIntOverflowAuthservice 64314 } 64315 if iNdEx >= l { 64316 return io.ErrUnexpectedEOF 64317 } 64318 b := dAtA[iNdEx] 64319 iNdEx++ 64320 msglen |= int(b&0x7F) << shift 64321 if b < 0x80 { 64322 break 64323 } 64324 } 64325 if msglen < 0 { 64326 return ErrInvalidLengthAuthservice 64327 } 64328 postIndex := iNdEx + msglen 64329 if postIndex < 0 { 64330 return ErrInvalidLengthAuthservice 64331 } 64332 if postIndex > l { 64333 return io.ErrUnexpectedEOF 64334 } 64335 m.Releases = append(m.Releases, &types.Release{}) 64336 if err := m.Releases[len(m.Releases)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64337 return err 64338 } 64339 iNdEx = postIndex 64340 default: 64341 iNdEx = preIndex 64342 skippy, err := skipAuthservice(dAtA[iNdEx:]) 64343 if err != nil { 64344 return err 64345 } 64346 if (skippy < 0) || (iNdEx+skippy) < 0 { 64347 return ErrInvalidLengthAuthservice 64348 } 64349 if (iNdEx + skippy) > l { 64350 return io.ErrUnexpectedEOF 64351 } 64352 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64353 iNdEx += skippy 64354 } 64355 } 64356 64357 if iNdEx > l { 64358 return io.ErrUnexpectedEOF 64359 } 64360 return nil 64361 } 64362 func (m *GetOIDCAuthRequestRequest) Unmarshal(dAtA []byte) error { 64363 l := len(dAtA) 64364 iNdEx := 0 64365 for iNdEx < l { 64366 preIndex := iNdEx 64367 var wire uint64 64368 for shift := uint(0); ; shift += 7 { 64369 if shift >= 64 { 64370 return ErrIntOverflowAuthservice 64371 } 64372 if iNdEx >= l { 64373 return io.ErrUnexpectedEOF 64374 } 64375 b := dAtA[iNdEx] 64376 iNdEx++ 64377 wire |= uint64(b&0x7F) << shift 64378 if b < 0x80 { 64379 break 64380 } 64381 } 64382 fieldNum := int32(wire >> 3) 64383 wireType := int(wire & 0x7) 64384 if wireType == 4 { 64385 return fmt.Errorf("proto: GetOIDCAuthRequestRequest: wiretype end group for non-group") 64386 } 64387 if fieldNum <= 0 { 64388 return fmt.Errorf("proto: GetOIDCAuthRequestRequest: illegal tag %d (wire type %d)", fieldNum, wire) 64389 } 64390 switch fieldNum { 64391 case 1: 64392 if wireType != 2 { 64393 return fmt.Errorf("proto: wrong wireType = %d for field StateToken", wireType) 64394 } 64395 var stringLen uint64 64396 for shift := uint(0); ; shift += 7 { 64397 if shift >= 64 { 64398 return ErrIntOverflowAuthservice 64399 } 64400 if iNdEx >= l { 64401 return io.ErrUnexpectedEOF 64402 } 64403 b := dAtA[iNdEx] 64404 iNdEx++ 64405 stringLen |= uint64(b&0x7F) << shift 64406 if b < 0x80 { 64407 break 64408 } 64409 } 64410 intStringLen := int(stringLen) 64411 if intStringLen < 0 { 64412 return ErrInvalidLengthAuthservice 64413 } 64414 postIndex := iNdEx + intStringLen 64415 if postIndex < 0 { 64416 return ErrInvalidLengthAuthservice 64417 } 64418 if postIndex > l { 64419 return io.ErrUnexpectedEOF 64420 } 64421 m.StateToken = string(dAtA[iNdEx:postIndex]) 64422 iNdEx = postIndex 64423 default: 64424 iNdEx = preIndex 64425 skippy, err := skipAuthservice(dAtA[iNdEx:]) 64426 if err != nil { 64427 return err 64428 } 64429 if (skippy < 0) || (iNdEx+skippy) < 0 { 64430 return ErrInvalidLengthAuthservice 64431 } 64432 if (iNdEx + skippy) > l { 64433 return io.ErrUnexpectedEOF 64434 } 64435 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64436 iNdEx += skippy 64437 } 64438 } 64439 64440 if iNdEx > l { 64441 return io.ErrUnexpectedEOF 64442 } 64443 return nil 64444 } 64445 func (m *GetSAMLAuthRequestRequest) Unmarshal(dAtA []byte) error { 64446 l := len(dAtA) 64447 iNdEx := 0 64448 for iNdEx < l { 64449 preIndex := iNdEx 64450 var wire uint64 64451 for shift := uint(0); ; shift += 7 { 64452 if shift >= 64 { 64453 return ErrIntOverflowAuthservice 64454 } 64455 if iNdEx >= l { 64456 return io.ErrUnexpectedEOF 64457 } 64458 b := dAtA[iNdEx] 64459 iNdEx++ 64460 wire |= uint64(b&0x7F) << shift 64461 if b < 0x80 { 64462 break 64463 } 64464 } 64465 fieldNum := int32(wire >> 3) 64466 wireType := int(wire & 0x7) 64467 if wireType == 4 { 64468 return fmt.Errorf("proto: GetSAMLAuthRequestRequest: wiretype end group for non-group") 64469 } 64470 if fieldNum <= 0 { 64471 return fmt.Errorf("proto: GetSAMLAuthRequestRequest: illegal tag %d (wire type %d)", fieldNum, wire) 64472 } 64473 switch fieldNum { 64474 case 1: 64475 if wireType != 2 { 64476 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 64477 } 64478 var stringLen uint64 64479 for shift := uint(0); ; shift += 7 { 64480 if shift >= 64 { 64481 return ErrIntOverflowAuthservice 64482 } 64483 if iNdEx >= l { 64484 return io.ErrUnexpectedEOF 64485 } 64486 b := dAtA[iNdEx] 64487 iNdEx++ 64488 stringLen |= uint64(b&0x7F) << shift 64489 if b < 0x80 { 64490 break 64491 } 64492 } 64493 intStringLen := int(stringLen) 64494 if intStringLen < 0 { 64495 return ErrInvalidLengthAuthservice 64496 } 64497 postIndex := iNdEx + intStringLen 64498 if postIndex < 0 { 64499 return ErrInvalidLengthAuthservice 64500 } 64501 if postIndex > l { 64502 return io.ErrUnexpectedEOF 64503 } 64504 m.ID = string(dAtA[iNdEx:postIndex]) 64505 iNdEx = postIndex 64506 default: 64507 iNdEx = preIndex 64508 skippy, err := skipAuthservice(dAtA[iNdEx:]) 64509 if err != nil { 64510 return err 64511 } 64512 if (skippy < 0) || (iNdEx+skippy) < 0 { 64513 return ErrInvalidLengthAuthservice 64514 } 64515 if (iNdEx + skippy) > l { 64516 return io.ErrUnexpectedEOF 64517 } 64518 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64519 iNdEx += skippy 64520 } 64521 } 64522 64523 if iNdEx > l { 64524 return io.ErrUnexpectedEOF 64525 } 64526 return nil 64527 } 64528 func (m *GetGithubAuthRequestRequest) Unmarshal(dAtA []byte) error { 64529 l := len(dAtA) 64530 iNdEx := 0 64531 for iNdEx < l { 64532 preIndex := iNdEx 64533 var wire uint64 64534 for shift := uint(0); ; shift += 7 { 64535 if shift >= 64 { 64536 return ErrIntOverflowAuthservice 64537 } 64538 if iNdEx >= l { 64539 return io.ErrUnexpectedEOF 64540 } 64541 b := dAtA[iNdEx] 64542 iNdEx++ 64543 wire |= uint64(b&0x7F) << shift 64544 if b < 0x80 { 64545 break 64546 } 64547 } 64548 fieldNum := int32(wire >> 3) 64549 wireType := int(wire & 0x7) 64550 if wireType == 4 { 64551 return fmt.Errorf("proto: GetGithubAuthRequestRequest: wiretype end group for non-group") 64552 } 64553 if fieldNum <= 0 { 64554 return fmt.Errorf("proto: GetGithubAuthRequestRequest: illegal tag %d (wire type %d)", fieldNum, wire) 64555 } 64556 switch fieldNum { 64557 case 1: 64558 if wireType != 2 { 64559 return fmt.Errorf("proto: wrong wireType = %d for field StateToken", wireType) 64560 } 64561 var stringLen uint64 64562 for shift := uint(0); ; shift += 7 { 64563 if shift >= 64 { 64564 return ErrIntOverflowAuthservice 64565 } 64566 if iNdEx >= l { 64567 return io.ErrUnexpectedEOF 64568 } 64569 b := dAtA[iNdEx] 64570 iNdEx++ 64571 stringLen |= uint64(b&0x7F) << shift 64572 if b < 0x80 { 64573 break 64574 } 64575 } 64576 intStringLen := int(stringLen) 64577 if intStringLen < 0 { 64578 return ErrInvalidLengthAuthservice 64579 } 64580 postIndex := iNdEx + intStringLen 64581 if postIndex < 0 { 64582 return ErrInvalidLengthAuthservice 64583 } 64584 if postIndex > l { 64585 return io.ErrUnexpectedEOF 64586 } 64587 m.StateToken = string(dAtA[iNdEx:postIndex]) 64588 iNdEx = postIndex 64589 default: 64590 iNdEx = preIndex 64591 skippy, err := skipAuthservice(dAtA[iNdEx:]) 64592 if err != nil { 64593 return err 64594 } 64595 if (skippy < 0) || (iNdEx+skippy) < 0 { 64596 return ErrInvalidLengthAuthservice 64597 } 64598 if (iNdEx + skippy) > l { 64599 return io.ErrUnexpectedEOF 64600 } 64601 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64602 iNdEx += skippy 64603 } 64604 } 64605 64606 if iNdEx > l { 64607 return io.ErrUnexpectedEOF 64608 } 64609 return nil 64610 } 64611 func (m *CreateOIDCConnectorRequest) Unmarshal(dAtA []byte) error { 64612 l := len(dAtA) 64613 iNdEx := 0 64614 for iNdEx < l { 64615 preIndex := iNdEx 64616 var wire uint64 64617 for shift := uint(0); ; shift += 7 { 64618 if shift >= 64 { 64619 return ErrIntOverflowAuthservice 64620 } 64621 if iNdEx >= l { 64622 return io.ErrUnexpectedEOF 64623 } 64624 b := dAtA[iNdEx] 64625 iNdEx++ 64626 wire |= uint64(b&0x7F) << shift 64627 if b < 0x80 { 64628 break 64629 } 64630 } 64631 fieldNum := int32(wire >> 3) 64632 wireType := int(wire & 0x7) 64633 if wireType == 4 { 64634 return fmt.Errorf("proto: CreateOIDCConnectorRequest: wiretype end group for non-group") 64635 } 64636 if fieldNum <= 0 { 64637 return fmt.Errorf("proto: CreateOIDCConnectorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 64638 } 64639 switch fieldNum { 64640 case 1: 64641 if wireType != 2 { 64642 return fmt.Errorf("proto: wrong wireType = %d for field Connector", wireType) 64643 } 64644 var msglen int 64645 for shift := uint(0); ; shift += 7 { 64646 if shift >= 64 { 64647 return ErrIntOverflowAuthservice 64648 } 64649 if iNdEx >= l { 64650 return io.ErrUnexpectedEOF 64651 } 64652 b := dAtA[iNdEx] 64653 iNdEx++ 64654 msglen |= int(b&0x7F) << shift 64655 if b < 0x80 { 64656 break 64657 } 64658 } 64659 if msglen < 0 { 64660 return ErrInvalidLengthAuthservice 64661 } 64662 postIndex := iNdEx + msglen 64663 if postIndex < 0 { 64664 return ErrInvalidLengthAuthservice 64665 } 64666 if postIndex > l { 64667 return io.ErrUnexpectedEOF 64668 } 64669 if m.Connector == nil { 64670 m.Connector = &types.OIDCConnectorV3{} 64671 } 64672 if err := m.Connector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64673 return err 64674 } 64675 iNdEx = postIndex 64676 default: 64677 iNdEx = preIndex 64678 skippy, err := skipAuthservice(dAtA[iNdEx:]) 64679 if err != nil { 64680 return err 64681 } 64682 if (skippy < 0) || (iNdEx+skippy) < 0 { 64683 return ErrInvalidLengthAuthservice 64684 } 64685 if (iNdEx + skippy) > l { 64686 return io.ErrUnexpectedEOF 64687 } 64688 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64689 iNdEx += skippy 64690 } 64691 } 64692 64693 if iNdEx > l { 64694 return io.ErrUnexpectedEOF 64695 } 64696 return nil 64697 } 64698 func (m *UpdateOIDCConnectorRequest) Unmarshal(dAtA []byte) error { 64699 l := len(dAtA) 64700 iNdEx := 0 64701 for iNdEx < l { 64702 preIndex := iNdEx 64703 var wire uint64 64704 for shift := uint(0); ; shift += 7 { 64705 if shift >= 64 { 64706 return ErrIntOverflowAuthservice 64707 } 64708 if iNdEx >= l { 64709 return io.ErrUnexpectedEOF 64710 } 64711 b := dAtA[iNdEx] 64712 iNdEx++ 64713 wire |= uint64(b&0x7F) << shift 64714 if b < 0x80 { 64715 break 64716 } 64717 } 64718 fieldNum := int32(wire >> 3) 64719 wireType := int(wire & 0x7) 64720 if wireType == 4 { 64721 return fmt.Errorf("proto: UpdateOIDCConnectorRequest: wiretype end group for non-group") 64722 } 64723 if fieldNum <= 0 { 64724 return fmt.Errorf("proto: UpdateOIDCConnectorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 64725 } 64726 switch fieldNum { 64727 case 1: 64728 if wireType != 2 { 64729 return fmt.Errorf("proto: wrong wireType = %d for field Connector", wireType) 64730 } 64731 var msglen int 64732 for shift := uint(0); ; shift += 7 { 64733 if shift >= 64 { 64734 return ErrIntOverflowAuthservice 64735 } 64736 if iNdEx >= l { 64737 return io.ErrUnexpectedEOF 64738 } 64739 b := dAtA[iNdEx] 64740 iNdEx++ 64741 msglen |= int(b&0x7F) << shift 64742 if b < 0x80 { 64743 break 64744 } 64745 } 64746 if msglen < 0 { 64747 return ErrInvalidLengthAuthservice 64748 } 64749 postIndex := iNdEx + msglen 64750 if postIndex < 0 { 64751 return ErrInvalidLengthAuthservice 64752 } 64753 if postIndex > l { 64754 return io.ErrUnexpectedEOF 64755 } 64756 if m.Connector == nil { 64757 m.Connector = &types.OIDCConnectorV3{} 64758 } 64759 if err := m.Connector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64760 return err 64761 } 64762 iNdEx = postIndex 64763 default: 64764 iNdEx = preIndex 64765 skippy, err := skipAuthservice(dAtA[iNdEx:]) 64766 if err != nil { 64767 return err 64768 } 64769 if (skippy < 0) || (iNdEx+skippy) < 0 { 64770 return ErrInvalidLengthAuthservice 64771 } 64772 if (iNdEx + skippy) > l { 64773 return io.ErrUnexpectedEOF 64774 } 64775 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64776 iNdEx += skippy 64777 } 64778 } 64779 64780 if iNdEx > l { 64781 return io.ErrUnexpectedEOF 64782 } 64783 return nil 64784 } 64785 func (m *UpsertOIDCConnectorRequest) Unmarshal(dAtA []byte) error { 64786 l := len(dAtA) 64787 iNdEx := 0 64788 for iNdEx < l { 64789 preIndex := iNdEx 64790 var wire uint64 64791 for shift := uint(0); ; shift += 7 { 64792 if shift >= 64 { 64793 return ErrIntOverflowAuthservice 64794 } 64795 if iNdEx >= l { 64796 return io.ErrUnexpectedEOF 64797 } 64798 b := dAtA[iNdEx] 64799 iNdEx++ 64800 wire |= uint64(b&0x7F) << shift 64801 if b < 0x80 { 64802 break 64803 } 64804 } 64805 fieldNum := int32(wire >> 3) 64806 wireType := int(wire & 0x7) 64807 if wireType == 4 { 64808 return fmt.Errorf("proto: UpsertOIDCConnectorRequest: wiretype end group for non-group") 64809 } 64810 if fieldNum <= 0 { 64811 return fmt.Errorf("proto: UpsertOIDCConnectorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 64812 } 64813 switch fieldNum { 64814 case 1: 64815 if wireType != 2 { 64816 return fmt.Errorf("proto: wrong wireType = %d for field Connector", wireType) 64817 } 64818 var msglen int 64819 for shift := uint(0); ; shift += 7 { 64820 if shift >= 64 { 64821 return ErrIntOverflowAuthservice 64822 } 64823 if iNdEx >= l { 64824 return io.ErrUnexpectedEOF 64825 } 64826 b := dAtA[iNdEx] 64827 iNdEx++ 64828 msglen |= int(b&0x7F) << shift 64829 if b < 0x80 { 64830 break 64831 } 64832 } 64833 if msglen < 0 { 64834 return ErrInvalidLengthAuthservice 64835 } 64836 postIndex := iNdEx + msglen 64837 if postIndex < 0 { 64838 return ErrInvalidLengthAuthservice 64839 } 64840 if postIndex > l { 64841 return io.ErrUnexpectedEOF 64842 } 64843 if m.Connector == nil { 64844 m.Connector = &types.OIDCConnectorV3{} 64845 } 64846 if err := m.Connector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64847 return err 64848 } 64849 iNdEx = postIndex 64850 default: 64851 iNdEx = preIndex 64852 skippy, err := skipAuthservice(dAtA[iNdEx:]) 64853 if err != nil { 64854 return err 64855 } 64856 if (skippy < 0) || (iNdEx+skippy) < 0 { 64857 return ErrInvalidLengthAuthservice 64858 } 64859 if (iNdEx + skippy) > l { 64860 return io.ErrUnexpectedEOF 64861 } 64862 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64863 iNdEx += skippy 64864 } 64865 } 64866 64867 if iNdEx > l { 64868 return io.ErrUnexpectedEOF 64869 } 64870 return nil 64871 } 64872 func (m *CreateSAMLConnectorRequest) Unmarshal(dAtA []byte) error { 64873 l := len(dAtA) 64874 iNdEx := 0 64875 for iNdEx < l { 64876 preIndex := iNdEx 64877 var wire uint64 64878 for shift := uint(0); ; shift += 7 { 64879 if shift >= 64 { 64880 return ErrIntOverflowAuthservice 64881 } 64882 if iNdEx >= l { 64883 return io.ErrUnexpectedEOF 64884 } 64885 b := dAtA[iNdEx] 64886 iNdEx++ 64887 wire |= uint64(b&0x7F) << shift 64888 if b < 0x80 { 64889 break 64890 } 64891 } 64892 fieldNum := int32(wire >> 3) 64893 wireType := int(wire & 0x7) 64894 if wireType == 4 { 64895 return fmt.Errorf("proto: CreateSAMLConnectorRequest: wiretype end group for non-group") 64896 } 64897 if fieldNum <= 0 { 64898 return fmt.Errorf("proto: CreateSAMLConnectorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 64899 } 64900 switch fieldNum { 64901 case 1: 64902 if wireType != 2 { 64903 return fmt.Errorf("proto: wrong wireType = %d for field Connector", wireType) 64904 } 64905 var msglen int 64906 for shift := uint(0); ; shift += 7 { 64907 if shift >= 64 { 64908 return ErrIntOverflowAuthservice 64909 } 64910 if iNdEx >= l { 64911 return io.ErrUnexpectedEOF 64912 } 64913 b := dAtA[iNdEx] 64914 iNdEx++ 64915 msglen |= int(b&0x7F) << shift 64916 if b < 0x80 { 64917 break 64918 } 64919 } 64920 if msglen < 0 { 64921 return ErrInvalidLengthAuthservice 64922 } 64923 postIndex := iNdEx + msglen 64924 if postIndex < 0 { 64925 return ErrInvalidLengthAuthservice 64926 } 64927 if postIndex > l { 64928 return io.ErrUnexpectedEOF 64929 } 64930 if m.Connector == nil { 64931 m.Connector = &types.SAMLConnectorV2{} 64932 } 64933 if err := m.Connector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 64934 return err 64935 } 64936 iNdEx = postIndex 64937 default: 64938 iNdEx = preIndex 64939 skippy, err := skipAuthservice(dAtA[iNdEx:]) 64940 if err != nil { 64941 return err 64942 } 64943 if (skippy < 0) || (iNdEx+skippy) < 0 { 64944 return ErrInvalidLengthAuthservice 64945 } 64946 if (iNdEx + skippy) > l { 64947 return io.ErrUnexpectedEOF 64948 } 64949 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 64950 iNdEx += skippy 64951 } 64952 } 64953 64954 if iNdEx > l { 64955 return io.ErrUnexpectedEOF 64956 } 64957 return nil 64958 } 64959 func (m *UpdateSAMLConnectorRequest) Unmarshal(dAtA []byte) error { 64960 l := len(dAtA) 64961 iNdEx := 0 64962 for iNdEx < l { 64963 preIndex := iNdEx 64964 var wire uint64 64965 for shift := uint(0); ; shift += 7 { 64966 if shift >= 64 { 64967 return ErrIntOverflowAuthservice 64968 } 64969 if iNdEx >= l { 64970 return io.ErrUnexpectedEOF 64971 } 64972 b := dAtA[iNdEx] 64973 iNdEx++ 64974 wire |= uint64(b&0x7F) << shift 64975 if b < 0x80 { 64976 break 64977 } 64978 } 64979 fieldNum := int32(wire >> 3) 64980 wireType := int(wire & 0x7) 64981 if wireType == 4 { 64982 return fmt.Errorf("proto: UpdateSAMLConnectorRequest: wiretype end group for non-group") 64983 } 64984 if fieldNum <= 0 { 64985 return fmt.Errorf("proto: UpdateSAMLConnectorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 64986 } 64987 switch fieldNum { 64988 case 1: 64989 if wireType != 2 { 64990 return fmt.Errorf("proto: wrong wireType = %d for field Connector", wireType) 64991 } 64992 var msglen int 64993 for shift := uint(0); ; shift += 7 { 64994 if shift >= 64 { 64995 return ErrIntOverflowAuthservice 64996 } 64997 if iNdEx >= l { 64998 return io.ErrUnexpectedEOF 64999 } 65000 b := dAtA[iNdEx] 65001 iNdEx++ 65002 msglen |= int(b&0x7F) << shift 65003 if b < 0x80 { 65004 break 65005 } 65006 } 65007 if msglen < 0 { 65008 return ErrInvalidLengthAuthservice 65009 } 65010 postIndex := iNdEx + msglen 65011 if postIndex < 0 { 65012 return ErrInvalidLengthAuthservice 65013 } 65014 if postIndex > l { 65015 return io.ErrUnexpectedEOF 65016 } 65017 if m.Connector == nil { 65018 m.Connector = &types.SAMLConnectorV2{} 65019 } 65020 if err := m.Connector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65021 return err 65022 } 65023 iNdEx = postIndex 65024 default: 65025 iNdEx = preIndex 65026 skippy, err := skipAuthservice(dAtA[iNdEx:]) 65027 if err != nil { 65028 return err 65029 } 65030 if (skippy < 0) || (iNdEx+skippy) < 0 { 65031 return ErrInvalidLengthAuthservice 65032 } 65033 if (iNdEx + skippy) > l { 65034 return io.ErrUnexpectedEOF 65035 } 65036 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 65037 iNdEx += skippy 65038 } 65039 } 65040 65041 if iNdEx > l { 65042 return io.ErrUnexpectedEOF 65043 } 65044 return nil 65045 } 65046 func (m *UpsertSAMLConnectorRequest) Unmarshal(dAtA []byte) error { 65047 l := len(dAtA) 65048 iNdEx := 0 65049 for iNdEx < l { 65050 preIndex := iNdEx 65051 var wire uint64 65052 for shift := uint(0); ; shift += 7 { 65053 if shift >= 64 { 65054 return ErrIntOverflowAuthservice 65055 } 65056 if iNdEx >= l { 65057 return io.ErrUnexpectedEOF 65058 } 65059 b := dAtA[iNdEx] 65060 iNdEx++ 65061 wire |= uint64(b&0x7F) << shift 65062 if b < 0x80 { 65063 break 65064 } 65065 } 65066 fieldNum := int32(wire >> 3) 65067 wireType := int(wire & 0x7) 65068 if wireType == 4 { 65069 return fmt.Errorf("proto: UpsertSAMLConnectorRequest: wiretype end group for non-group") 65070 } 65071 if fieldNum <= 0 { 65072 return fmt.Errorf("proto: UpsertSAMLConnectorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 65073 } 65074 switch fieldNum { 65075 case 1: 65076 if wireType != 2 { 65077 return fmt.Errorf("proto: wrong wireType = %d for field Connector", wireType) 65078 } 65079 var msglen int 65080 for shift := uint(0); ; shift += 7 { 65081 if shift >= 64 { 65082 return ErrIntOverflowAuthservice 65083 } 65084 if iNdEx >= l { 65085 return io.ErrUnexpectedEOF 65086 } 65087 b := dAtA[iNdEx] 65088 iNdEx++ 65089 msglen |= int(b&0x7F) << shift 65090 if b < 0x80 { 65091 break 65092 } 65093 } 65094 if msglen < 0 { 65095 return ErrInvalidLengthAuthservice 65096 } 65097 postIndex := iNdEx + msglen 65098 if postIndex < 0 { 65099 return ErrInvalidLengthAuthservice 65100 } 65101 if postIndex > l { 65102 return io.ErrUnexpectedEOF 65103 } 65104 if m.Connector == nil { 65105 m.Connector = &types.SAMLConnectorV2{} 65106 } 65107 if err := m.Connector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65108 return err 65109 } 65110 iNdEx = postIndex 65111 default: 65112 iNdEx = preIndex 65113 skippy, err := skipAuthservice(dAtA[iNdEx:]) 65114 if err != nil { 65115 return err 65116 } 65117 if (skippy < 0) || (iNdEx+skippy) < 0 { 65118 return ErrInvalidLengthAuthservice 65119 } 65120 if (iNdEx + skippy) > l { 65121 return io.ErrUnexpectedEOF 65122 } 65123 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 65124 iNdEx += skippy 65125 } 65126 } 65127 65128 if iNdEx > l { 65129 return io.ErrUnexpectedEOF 65130 } 65131 return nil 65132 } 65133 func (m *CreateGithubConnectorRequest) Unmarshal(dAtA []byte) error { 65134 l := len(dAtA) 65135 iNdEx := 0 65136 for iNdEx < l { 65137 preIndex := iNdEx 65138 var wire uint64 65139 for shift := uint(0); ; shift += 7 { 65140 if shift >= 64 { 65141 return ErrIntOverflowAuthservice 65142 } 65143 if iNdEx >= l { 65144 return io.ErrUnexpectedEOF 65145 } 65146 b := dAtA[iNdEx] 65147 iNdEx++ 65148 wire |= uint64(b&0x7F) << shift 65149 if b < 0x80 { 65150 break 65151 } 65152 } 65153 fieldNum := int32(wire >> 3) 65154 wireType := int(wire & 0x7) 65155 if wireType == 4 { 65156 return fmt.Errorf("proto: CreateGithubConnectorRequest: wiretype end group for non-group") 65157 } 65158 if fieldNum <= 0 { 65159 return fmt.Errorf("proto: CreateGithubConnectorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 65160 } 65161 switch fieldNum { 65162 case 1: 65163 if wireType != 2 { 65164 return fmt.Errorf("proto: wrong wireType = %d for field Connector", wireType) 65165 } 65166 var msglen int 65167 for shift := uint(0); ; shift += 7 { 65168 if shift >= 64 { 65169 return ErrIntOverflowAuthservice 65170 } 65171 if iNdEx >= l { 65172 return io.ErrUnexpectedEOF 65173 } 65174 b := dAtA[iNdEx] 65175 iNdEx++ 65176 msglen |= int(b&0x7F) << shift 65177 if b < 0x80 { 65178 break 65179 } 65180 } 65181 if msglen < 0 { 65182 return ErrInvalidLengthAuthservice 65183 } 65184 postIndex := iNdEx + msglen 65185 if postIndex < 0 { 65186 return ErrInvalidLengthAuthservice 65187 } 65188 if postIndex > l { 65189 return io.ErrUnexpectedEOF 65190 } 65191 if m.Connector == nil { 65192 m.Connector = &types.GithubConnectorV3{} 65193 } 65194 if err := m.Connector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65195 return err 65196 } 65197 iNdEx = postIndex 65198 default: 65199 iNdEx = preIndex 65200 skippy, err := skipAuthservice(dAtA[iNdEx:]) 65201 if err != nil { 65202 return err 65203 } 65204 if (skippy < 0) || (iNdEx+skippy) < 0 { 65205 return ErrInvalidLengthAuthservice 65206 } 65207 if (iNdEx + skippy) > l { 65208 return io.ErrUnexpectedEOF 65209 } 65210 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 65211 iNdEx += skippy 65212 } 65213 } 65214 65215 if iNdEx > l { 65216 return io.ErrUnexpectedEOF 65217 } 65218 return nil 65219 } 65220 func (m *UpdateGithubConnectorRequest) Unmarshal(dAtA []byte) error { 65221 l := len(dAtA) 65222 iNdEx := 0 65223 for iNdEx < l { 65224 preIndex := iNdEx 65225 var wire uint64 65226 for shift := uint(0); ; shift += 7 { 65227 if shift >= 64 { 65228 return ErrIntOverflowAuthservice 65229 } 65230 if iNdEx >= l { 65231 return io.ErrUnexpectedEOF 65232 } 65233 b := dAtA[iNdEx] 65234 iNdEx++ 65235 wire |= uint64(b&0x7F) << shift 65236 if b < 0x80 { 65237 break 65238 } 65239 } 65240 fieldNum := int32(wire >> 3) 65241 wireType := int(wire & 0x7) 65242 if wireType == 4 { 65243 return fmt.Errorf("proto: UpdateGithubConnectorRequest: wiretype end group for non-group") 65244 } 65245 if fieldNum <= 0 { 65246 return fmt.Errorf("proto: UpdateGithubConnectorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 65247 } 65248 switch fieldNum { 65249 case 1: 65250 if wireType != 2 { 65251 return fmt.Errorf("proto: wrong wireType = %d for field Connector", wireType) 65252 } 65253 var msglen int 65254 for shift := uint(0); ; shift += 7 { 65255 if shift >= 64 { 65256 return ErrIntOverflowAuthservice 65257 } 65258 if iNdEx >= l { 65259 return io.ErrUnexpectedEOF 65260 } 65261 b := dAtA[iNdEx] 65262 iNdEx++ 65263 msglen |= int(b&0x7F) << shift 65264 if b < 0x80 { 65265 break 65266 } 65267 } 65268 if msglen < 0 { 65269 return ErrInvalidLengthAuthservice 65270 } 65271 postIndex := iNdEx + msglen 65272 if postIndex < 0 { 65273 return ErrInvalidLengthAuthservice 65274 } 65275 if postIndex > l { 65276 return io.ErrUnexpectedEOF 65277 } 65278 if m.Connector == nil { 65279 m.Connector = &types.GithubConnectorV3{} 65280 } 65281 if err := m.Connector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65282 return err 65283 } 65284 iNdEx = postIndex 65285 default: 65286 iNdEx = preIndex 65287 skippy, err := skipAuthservice(dAtA[iNdEx:]) 65288 if err != nil { 65289 return err 65290 } 65291 if (skippy < 0) || (iNdEx+skippy) < 0 { 65292 return ErrInvalidLengthAuthservice 65293 } 65294 if (iNdEx + skippy) > l { 65295 return io.ErrUnexpectedEOF 65296 } 65297 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 65298 iNdEx += skippy 65299 } 65300 } 65301 65302 if iNdEx > l { 65303 return io.ErrUnexpectedEOF 65304 } 65305 return nil 65306 } 65307 func (m *UpsertGithubConnectorRequest) Unmarshal(dAtA []byte) error { 65308 l := len(dAtA) 65309 iNdEx := 0 65310 for iNdEx < l { 65311 preIndex := iNdEx 65312 var wire uint64 65313 for shift := uint(0); ; shift += 7 { 65314 if shift >= 64 { 65315 return ErrIntOverflowAuthservice 65316 } 65317 if iNdEx >= l { 65318 return io.ErrUnexpectedEOF 65319 } 65320 b := dAtA[iNdEx] 65321 iNdEx++ 65322 wire |= uint64(b&0x7F) << shift 65323 if b < 0x80 { 65324 break 65325 } 65326 } 65327 fieldNum := int32(wire >> 3) 65328 wireType := int(wire & 0x7) 65329 if wireType == 4 { 65330 return fmt.Errorf("proto: UpsertGithubConnectorRequest: wiretype end group for non-group") 65331 } 65332 if fieldNum <= 0 { 65333 return fmt.Errorf("proto: UpsertGithubConnectorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 65334 } 65335 switch fieldNum { 65336 case 1: 65337 if wireType != 2 { 65338 return fmt.Errorf("proto: wrong wireType = %d for field Connector", wireType) 65339 } 65340 var msglen int 65341 for shift := uint(0); ; shift += 7 { 65342 if shift >= 64 { 65343 return ErrIntOverflowAuthservice 65344 } 65345 if iNdEx >= l { 65346 return io.ErrUnexpectedEOF 65347 } 65348 b := dAtA[iNdEx] 65349 iNdEx++ 65350 msglen |= int(b&0x7F) << shift 65351 if b < 0x80 { 65352 break 65353 } 65354 } 65355 if msglen < 0 { 65356 return ErrInvalidLengthAuthservice 65357 } 65358 postIndex := iNdEx + msglen 65359 if postIndex < 0 { 65360 return ErrInvalidLengthAuthservice 65361 } 65362 if postIndex > l { 65363 return io.ErrUnexpectedEOF 65364 } 65365 if m.Connector == nil { 65366 m.Connector = &types.GithubConnectorV3{} 65367 } 65368 if err := m.Connector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65369 return err 65370 } 65371 iNdEx = postIndex 65372 default: 65373 iNdEx = preIndex 65374 skippy, err := skipAuthservice(dAtA[iNdEx:]) 65375 if err != nil { 65376 return err 65377 } 65378 if (skippy < 0) || (iNdEx+skippy) < 0 { 65379 return ErrInvalidLengthAuthservice 65380 } 65381 if (iNdEx + skippy) > l { 65382 return io.ErrUnexpectedEOF 65383 } 65384 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 65385 iNdEx += skippy 65386 } 65387 } 65388 65389 if iNdEx > l { 65390 return io.ErrUnexpectedEOF 65391 } 65392 return nil 65393 } 65394 func (m *GetSSODiagnosticInfoRequest) Unmarshal(dAtA []byte) error { 65395 l := len(dAtA) 65396 iNdEx := 0 65397 for iNdEx < l { 65398 preIndex := iNdEx 65399 var wire uint64 65400 for shift := uint(0); ; shift += 7 { 65401 if shift >= 64 { 65402 return ErrIntOverflowAuthservice 65403 } 65404 if iNdEx >= l { 65405 return io.ErrUnexpectedEOF 65406 } 65407 b := dAtA[iNdEx] 65408 iNdEx++ 65409 wire |= uint64(b&0x7F) << shift 65410 if b < 0x80 { 65411 break 65412 } 65413 } 65414 fieldNum := int32(wire >> 3) 65415 wireType := int(wire & 0x7) 65416 if wireType == 4 { 65417 return fmt.Errorf("proto: GetSSODiagnosticInfoRequest: wiretype end group for non-group") 65418 } 65419 if fieldNum <= 0 { 65420 return fmt.Errorf("proto: GetSSODiagnosticInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) 65421 } 65422 switch fieldNum { 65423 case 1: 65424 if wireType != 2 { 65425 return fmt.Errorf("proto: wrong wireType = %d for field AuthRequestKind", wireType) 65426 } 65427 var stringLen uint64 65428 for shift := uint(0); ; shift += 7 { 65429 if shift >= 64 { 65430 return ErrIntOverflowAuthservice 65431 } 65432 if iNdEx >= l { 65433 return io.ErrUnexpectedEOF 65434 } 65435 b := dAtA[iNdEx] 65436 iNdEx++ 65437 stringLen |= uint64(b&0x7F) << shift 65438 if b < 0x80 { 65439 break 65440 } 65441 } 65442 intStringLen := int(stringLen) 65443 if intStringLen < 0 { 65444 return ErrInvalidLengthAuthservice 65445 } 65446 postIndex := iNdEx + intStringLen 65447 if postIndex < 0 { 65448 return ErrInvalidLengthAuthservice 65449 } 65450 if postIndex > l { 65451 return io.ErrUnexpectedEOF 65452 } 65453 m.AuthRequestKind = string(dAtA[iNdEx:postIndex]) 65454 iNdEx = postIndex 65455 case 2: 65456 if wireType != 2 { 65457 return fmt.Errorf("proto: wrong wireType = %d for field AuthRequestID", wireType) 65458 } 65459 var stringLen uint64 65460 for shift := uint(0); ; shift += 7 { 65461 if shift >= 64 { 65462 return ErrIntOverflowAuthservice 65463 } 65464 if iNdEx >= l { 65465 return io.ErrUnexpectedEOF 65466 } 65467 b := dAtA[iNdEx] 65468 iNdEx++ 65469 stringLen |= uint64(b&0x7F) << shift 65470 if b < 0x80 { 65471 break 65472 } 65473 } 65474 intStringLen := int(stringLen) 65475 if intStringLen < 0 { 65476 return ErrInvalidLengthAuthservice 65477 } 65478 postIndex := iNdEx + intStringLen 65479 if postIndex < 0 { 65480 return ErrInvalidLengthAuthservice 65481 } 65482 if postIndex > l { 65483 return io.ErrUnexpectedEOF 65484 } 65485 m.AuthRequestID = string(dAtA[iNdEx:postIndex]) 65486 iNdEx = postIndex 65487 default: 65488 iNdEx = preIndex 65489 skippy, err := skipAuthservice(dAtA[iNdEx:]) 65490 if err != nil { 65491 return err 65492 } 65493 if (skippy < 0) || (iNdEx+skippy) < 0 { 65494 return ErrInvalidLengthAuthservice 65495 } 65496 if (iNdEx + skippy) > l { 65497 return io.ErrUnexpectedEOF 65498 } 65499 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 65500 iNdEx += skippy 65501 } 65502 } 65503 65504 if iNdEx > l { 65505 return io.ErrUnexpectedEOF 65506 } 65507 return nil 65508 } 65509 func (m *UpstreamInventoryOneOf) Unmarshal(dAtA []byte) error { 65510 l := len(dAtA) 65511 iNdEx := 0 65512 for iNdEx < l { 65513 preIndex := iNdEx 65514 var wire uint64 65515 for shift := uint(0); ; shift += 7 { 65516 if shift >= 64 { 65517 return ErrIntOverflowAuthservice 65518 } 65519 if iNdEx >= l { 65520 return io.ErrUnexpectedEOF 65521 } 65522 b := dAtA[iNdEx] 65523 iNdEx++ 65524 wire |= uint64(b&0x7F) << shift 65525 if b < 0x80 { 65526 break 65527 } 65528 } 65529 fieldNum := int32(wire >> 3) 65530 wireType := int(wire & 0x7) 65531 if wireType == 4 { 65532 return fmt.Errorf("proto: UpstreamInventoryOneOf: wiretype end group for non-group") 65533 } 65534 if fieldNum <= 0 { 65535 return fmt.Errorf("proto: UpstreamInventoryOneOf: illegal tag %d (wire type %d)", fieldNum, wire) 65536 } 65537 switch fieldNum { 65538 case 1: 65539 if wireType != 2 { 65540 return fmt.Errorf("proto: wrong wireType = %d for field Hello", wireType) 65541 } 65542 var msglen int 65543 for shift := uint(0); ; shift += 7 { 65544 if shift >= 64 { 65545 return ErrIntOverflowAuthservice 65546 } 65547 if iNdEx >= l { 65548 return io.ErrUnexpectedEOF 65549 } 65550 b := dAtA[iNdEx] 65551 iNdEx++ 65552 msglen |= int(b&0x7F) << shift 65553 if b < 0x80 { 65554 break 65555 } 65556 } 65557 if msglen < 0 { 65558 return ErrInvalidLengthAuthservice 65559 } 65560 postIndex := iNdEx + msglen 65561 if postIndex < 0 { 65562 return ErrInvalidLengthAuthservice 65563 } 65564 if postIndex > l { 65565 return io.ErrUnexpectedEOF 65566 } 65567 v := &UpstreamInventoryHello{} 65568 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65569 return err 65570 } 65571 m.Msg = &UpstreamInventoryOneOf_Hello{v} 65572 iNdEx = postIndex 65573 case 2: 65574 if wireType != 2 { 65575 return fmt.Errorf("proto: wrong wireType = %d for field Heartbeat", wireType) 65576 } 65577 var msglen int 65578 for shift := uint(0); ; shift += 7 { 65579 if shift >= 64 { 65580 return ErrIntOverflowAuthservice 65581 } 65582 if iNdEx >= l { 65583 return io.ErrUnexpectedEOF 65584 } 65585 b := dAtA[iNdEx] 65586 iNdEx++ 65587 msglen |= int(b&0x7F) << shift 65588 if b < 0x80 { 65589 break 65590 } 65591 } 65592 if msglen < 0 { 65593 return ErrInvalidLengthAuthservice 65594 } 65595 postIndex := iNdEx + msglen 65596 if postIndex < 0 { 65597 return ErrInvalidLengthAuthservice 65598 } 65599 if postIndex > l { 65600 return io.ErrUnexpectedEOF 65601 } 65602 v := &InventoryHeartbeat{} 65603 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65604 return err 65605 } 65606 m.Msg = &UpstreamInventoryOneOf_Heartbeat{v} 65607 iNdEx = postIndex 65608 case 3: 65609 if wireType != 2 { 65610 return fmt.Errorf("proto: wrong wireType = %d for field Pong", wireType) 65611 } 65612 var msglen int 65613 for shift := uint(0); ; shift += 7 { 65614 if shift >= 64 { 65615 return ErrIntOverflowAuthservice 65616 } 65617 if iNdEx >= l { 65618 return io.ErrUnexpectedEOF 65619 } 65620 b := dAtA[iNdEx] 65621 iNdEx++ 65622 msglen |= int(b&0x7F) << shift 65623 if b < 0x80 { 65624 break 65625 } 65626 } 65627 if msglen < 0 { 65628 return ErrInvalidLengthAuthservice 65629 } 65630 postIndex := iNdEx + msglen 65631 if postIndex < 0 { 65632 return ErrInvalidLengthAuthservice 65633 } 65634 if postIndex > l { 65635 return io.ErrUnexpectedEOF 65636 } 65637 v := &UpstreamInventoryPong{} 65638 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65639 return err 65640 } 65641 m.Msg = &UpstreamInventoryOneOf_Pong{v} 65642 iNdEx = postIndex 65643 case 4: 65644 if wireType != 2 { 65645 return fmt.Errorf("proto: wrong wireType = %d for field AgentMetadata", wireType) 65646 } 65647 var msglen int 65648 for shift := uint(0); ; shift += 7 { 65649 if shift >= 64 { 65650 return ErrIntOverflowAuthservice 65651 } 65652 if iNdEx >= l { 65653 return io.ErrUnexpectedEOF 65654 } 65655 b := dAtA[iNdEx] 65656 iNdEx++ 65657 msglen |= int(b&0x7F) << shift 65658 if b < 0x80 { 65659 break 65660 } 65661 } 65662 if msglen < 0 { 65663 return ErrInvalidLengthAuthservice 65664 } 65665 postIndex := iNdEx + msglen 65666 if postIndex < 0 { 65667 return ErrInvalidLengthAuthservice 65668 } 65669 if postIndex > l { 65670 return io.ErrUnexpectedEOF 65671 } 65672 v := &UpstreamInventoryAgentMetadata{} 65673 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65674 return err 65675 } 65676 m.Msg = &UpstreamInventoryOneOf_AgentMetadata{v} 65677 iNdEx = postIndex 65678 default: 65679 iNdEx = preIndex 65680 skippy, err := skipAuthservice(dAtA[iNdEx:]) 65681 if err != nil { 65682 return err 65683 } 65684 if (skippy < 0) || (iNdEx+skippy) < 0 { 65685 return ErrInvalidLengthAuthservice 65686 } 65687 if (iNdEx + skippy) > l { 65688 return io.ErrUnexpectedEOF 65689 } 65690 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 65691 iNdEx += skippy 65692 } 65693 } 65694 65695 if iNdEx > l { 65696 return io.ErrUnexpectedEOF 65697 } 65698 return nil 65699 } 65700 func (m *DownstreamInventoryOneOf) Unmarshal(dAtA []byte) error { 65701 l := len(dAtA) 65702 iNdEx := 0 65703 for iNdEx < l { 65704 preIndex := iNdEx 65705 var wire uint64 65706 for shift := uint(0); ; shift += 7 { 65707 if shift >= 64 { 65708 return ErrIntOverflowAuthservice 65709 } 65710 if iNdEx >= l { 65711 return io.ErrUnexpectedEOF 65712 } 65713 b := dAtA[iNdEx] 65714 iNdEx++ 65715 wire |= uint64(b&0x7F) << shift 65716 if b < 0x80 { 65717 break 65718 } 65719 } 65720 fieldNum := int32(wire >> 3) 65721 wireType := int(wire & 0x7) 65722 if wireType == 4 { 65723 return fmt.Errorf("proto: DownstreamInventoryOneOf: wiretype end group for non-group") 65724 } 65725 if fieldNum <= 0 { 65726 return fmt.Errorf("proto: DownstreamInventoryOneOf: illegal tag %d (wire type %d)", fieldNum, wire) 65727 } 65728 switch fieldNum { 65729 case 1: 65730 if wireType != 2 { 65731 return fmt.Errorf("proto: wrong wireType = %d for field Hello", wireType) 65732 } 65733 var msglen int 65734 for shift := uint(0); ; shift += 7 { 65735 if shift >= 64 { 65736 return ErrIntOverflowAuthservice 65737 } 65738 if iNdEx >= l { 65739 return io.ErrUnexpectedEOF 65740 } 65741 b := dAtA[iNdEx] 65742 iNdEx++ 65743 msglen |= int(b&0x7F) << shift 65744 if b < 0x80 { 65745 break 65746 } 65747 } 65748 if msglen < 0 { 65749 return ErrInvalidLengthAuthservice 65750 } 65751 postIndex := iNdEx + msglen 65752 if postIndex < 0 { 65753 return ErrInvalidLengthAuthservice 65754 } 65755 if postIndex > l { 65756 return io.ErrUnexpectedEOF 65757 } 65758 v := &DownstreamInventoryHello{} 65759 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65760 return err 65761 } 65762 m.Msg = &DownstreamInventoryOneOf_Hello{v} 65763 iNdEx = postIndex 65764 case 2: 65765 if wireType != 2 { 65766 return fmt.Errorf("proto: wrong wireType = %d for field Ping", wireType) 65767 } 65768 var msglen int 65769 for shift := uint(0); ; shift += 7 { 65770 if shift >= 64 { 65771 return ErrIntOverflowAuthservice 65772 } 65773 if iNdEx >= l { 65774 return io.ErrUnexpectedEOF 65775 } 65776 b := dAtA[iNdEx] 65777 iNdEx++ 65778 msglen |= int(b&0x7F) << shift 65779 if b < 0x80 { 65780 break 65781 } 65782 } 65783 if msglen < 0 { 65784 return ErrInvalidLengthAuthservice 65785 } 65786 postIndex := iNdEx + msglen 65787 if postIndex < 0 { 65788 return ErrInvalidLengthAuthservice 65789 } 65790 if postIndex > l { 65791 return io.ErrUnexpectedEOF 65792 } 65793 v := &DownstreamInventoryPing{} 65794 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65795 return err 65796 } 65797 m.Msg = &DownstreamInventoryOneOf_Ping{v} 65798 iNdEx = postIndex 65799 case 3: 65800 if wireType != 2 { 65801 return fmt.Errorf("proto: wrong wireType = %d for field UpdateLabels", wireType) 65802 } 65803 var msglen int 65804 for shift := uint(0); ; shift += 7 { 65805 if shift >= 64 { 65806 return ErrIntOverflowAuthservice 65807 } 65808 if iNdEx >= l { 65809 return io.ErrUnexpectedEOF 65810 } 65811 b := dAtA[iNdEx] 65812 iNdEx++ 65813 msglen |= int(b&0x7F) << shift 65814 if b < 0x80 { 65815 break 65816 } 65817 } 65818 if msglen < 0 { 65819 return ErrInvalidLengthAuthservice 65820 } 65821 postIndex := iNdEx + msglen 65822 if postIndex < 0 { 65823 return ErrInvalidLengthAuthservice 65824 } 65825 if postIndex > l { 65826 return io.ErrUnexpectedEOF 65827 } 65828 v := &DownstreamInventoryUpdateLabels{} 65829 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 65830 return err 65831 } 65832 m.Msg = &DownstreamInventoryOneOf_UpdateLabels{v} 65833 iNdEx = postIndex 65834 default: 65835 iNdEx = preIndex 65836 skippy, err := skipAuthservice(dAtA[iNdEx:]) 65837 if err != nil { 65838 return err 65839 } 65840 if (skippy < 0) || (iNdEx+skippy) < 0 { 65841 return ErrInvalidLengthAuthservice 65842 } 65843 if (iNdEx + skippy) > l { 65844 return io.ErrUnexpectedEOF 65845 } 65846 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 65847 iNdEx += skippy 65848 } 65849 } 65850 65851 if iNdEx > l { 65852 return io.ErrUnexpectedEOF 65853 } 65854 return nil 65855 } 65856 func (m *DownstreamInventoryPing) Unmarshal(dAtA []byte) error { 65857 l := len(dAtA) 65858 iNdEx := 0 65859 for iNdEx < l { 65860 preIndex := iNdEx 65861 var wire uint64 65862 for shift := uint(0); ; shift += 7 { 65863 if shift >= 64 { 65864 return ErrIntOverflowAuthservice 65865 } 65866 if iNdEx >= l { 65867 return io.ErrUnexpectedEOF 65868 } 65869 b := dAtA[iNdEx] 65870 iNdEx++ 65871 wire |= uint64(b&0x7F) << shift 65872 if b < 0x80 { 65873 break 65874 } 65875 } 65876 fieldNum := int32(wire >> 3) 65877 wireType := int(wire & 0x7) 65878 if wireType == 4 { 65879 return fmt.Errorf("proto: DownstreamInventoryPing: wiretype end group for non-group") 65880 } 65881 if fieldNum <= 0 { 65882 return fmt.Errorf("proto: DownstreamInventoryPing: illegal tag %d (wire type %d)", fieldNum, wire) 65883 } 65884 switch fieldNum { 65885 case 1: 65886 if wireType != 0 { 65887 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 65888 } 65889 m.ID = 0 65890 for shift := uint(0); ; shift += 7 { 65891 if shift >= 64 { 65892 return ErrIntOverflowAuthservice 65893 } 65894 if iNdEx >= l { 65895 return io.ErrUnexpectedEOF 65896 } 65897 b := dAtA[iNdEx] 65898 iNdEx++ 65899 m.ID |= uint64(b&0x7F) << shift 65900 if b < 0x80 { 65901 break 65902 } 65903 } 65904 default: 65905 iNdEx = preIndex 65906 skippy, err := skipAuthservice(dAtA[iNdEx:]) 65907 if err != nil { 65908 return err 65909 } 65910 if (skippy < 0) || (iNdEx+skippy) < 0 { 65911 return ErrInvalidLengthAuthservice 65912 } 65913 if (iNdEx + skippy) > l { 65914 return io.ErrUnexpectedEOF 65915 } 65916 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 65917 iNdEx += skippy 65918 } 65919 } 65920 65921 if iNdEx > l { 65922 return io.ErrUnexpectedEOF 65923 } 65924 return nil 65925 } 65926 func (m *UpstreamInventoryPong) Unmarshal(dAtA []byte) error { 65927 l := len(dAtA) 65928 iNdEx := 0 65929 for iNdEx < l { 65930 preIndex := iNdEx 65931 var wire uint64 65932 for shift := uint(0); ; shift += 7 { 65933 if shift >= 64 { 65934 return ErrIntOverflowAuthservice 65935 } 65936 if iNdEx >= l { 65937 return io.ErrUnexpectedEOF 65938 } 65939 b := dAtA[iNdEx] 65940 iNdEx++ 65941 wire |= uint64(b&0x7F) << shift 65942 if b < 0x80 { 65943 break 65944 } 65945 } 65946 fieldNum := int32(wire >> 3) 65947 wireType := int(wire & 0x7) 65948 if wireType == 4 { 65949 return fmt.Errorf("proto: UpstreamInventoryPong: wiretype end group for non-group") 65950 } 65951 if fieldNum <= 0 { 65952 return fmt.Errorf("proto: UpstreamInventoryPong: illegal tag %d (wire type %d)", fieldNum, wire) 65953 } 65954 switch fieldNum { 65955 case 1: 65956 if wireType != 0 { 65957 return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) 65958 } 65959 m.ID = 0 65960 for shift := uint(0); ; shift += 7 { 65961 if shift >= 64 { 65962 return ErrIntOverflowAuthservice 65963 } 65964 if iNdEx >= l { 65965 return io.ErrUnexpectedEOF 65966 } 65967 b := dAtA[iNdEx] 65968 iNdEx++ 65969 m.ID |= uint64(b&0x7F) << shift 65970 if b < 0x80 { 65971 break 65972 } 65973 } 65974 default: 65975 iNdEx = preIndex 65976 skippy, err := skipAuthservice(dAtA[iNdEx:]) 65977 if err != nil { 65978 return err 65979 } 65980 if (skippy < 0) || (iNdEx+skippy) < 0 { 65981 return ErrInvalidLengthAuthservice 65982 } 65983 if (iNdEx + skippy) > l { 65984 return io.ErrUnexpectedEOF 65985 } 65986 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 65987 iNdEx += skippy 65988 } 65989 } 65990 65991 if iNdEx > l { 65992 return io.ErrUnexpectedEOF 65993 } 65994 return nil 65995 } 65996 func (m *UpstreamInventoryHello) Unmarshal(dAtA []byte) error { 65997 l := len(dAtA) 65998 iNdEx := 0 65999 for iNdEx < l { 66000 preIndex := iNdEx 66001 var wire uint64 66002 for shift := uint(0); ; shift += 7 { 66003 if shift >= 64 { 66004 return ErrIntOverflowAuthservice 66005 } 66006 if iNdEx >= l { 66007 return io.ErrUnexpectedEOF 66008 } 66009 b := dAtA[iNdEx] 66010 iNdEx++ 66011 wire |= uint64(b&0x7F) << shift 66012 if b < 0x80 { 66013 break 66014 } 66015 } 66016 fieldNum := int32(wire >> 3) 66017 wireType := int(wire & 0x7) 66018 if wireType == 4 { 66019 return fmt.Errorf("proto: UpstreamInventoryHello: wiretype end group for non-group") 66020 } 66021 if fieldNum <= 0 { 66022 return fmt.Errorf("proto: UpstreamInventoryHello: illegal tag %d (wire type %d)", fieldNum, wire) 66023 } 66024 switch fieldNum { 66025 case 1: 66026 if wireType != 2 { 66027 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 66028 } 66029 var stringLen uint64 66030 for shift := uint(0); ; shift += 7 { 66031 if shift >= 64 { 66032 return ErrIntOverflowAuthservice 66033 } 66034 if iNdEx >= l { 66035 return io.ErrUnexpectedEOF 66036 } 66037 b := dAtA[iNdEx] 66038 iNdEx++ 66039 stringLen |= uint64(b&0x7F) << shift 66040 if b < 0x80 { 66041 break 66042 } 66043 } 66044 intStringLen := int(stringLen) 66045 if intStringLen < 0 { 66046 return ErrInvalidLengthAuthservice 66047 } 66048 postIndex := iNdEx + intStringLen 66049 if postIndex < 0 { 66050 return ErrInvalidLengthAuthservice 66051 } 66052 if postIndex > l { 66053 return io.ErrUnexpectedEOF 66054 } 66055 m.Version = string(dAtA[iNdEx:postIndex]) 66056 iNdEx = postIndex 66057 case 2: 66058 if wireType != 2 { 66059 return fmt.Errorf("proto: wrong wireType = %d for field ServerID", wireType) 66060 } 66061 var stringLen uint64 66062 for shift := uint(0); ; shift += 7 { 66063 if shift >= 64 { 66064 return ErrIntOverflowAuthservice 66065 } 66066 if iNdEx >= l { 66067 return io.ErrUnexpectedEOF 66068 } 66069 b := dAtA[iNdEx] 66070 iNdEx++ 66071 stringLen |= uint64(b&0x7F) << shift 66072 if b < 0x80 { 66073 break 66074 } 66075 } 66076 intStringLen := int(stringLen) 66077 if intStringLen < 0 { 66078 return ErrInvalidLengthAuthservice 66079 } 66080 postIndex := iNdEx + intStringLen 66081 if postIndex < 0 { 66082 return ErrInvalidLengthAuthservice 66083 } 66084 if postIndex > l { 66085 return io.ErrUnexpectedEOF 66086 } 66087 m.ServerID = string(dAtA[iNdEx:postIndex]) 66088 iNdEx = postIndex 66089 case 3: 66090 if wireType != 2 { 66091 return fmt.Errorf("proto: wrong wireType = %d for field Services", wireType) 66092 } 66093 var stringLen uint64 66094 for shift := uint(0); ; shift += 7 { 66095 if shift >= 64 { 66096 return ErrIntOverflowAuthservice 66097 } 66098 if iNdEx >= l { 66099 return io.ErrUnexpectedEOF 66100 } 66101 b := dAtA[iNdEx] 66102 iNdEx++ 66103 stringLen |= uint64(b&0x7F) << shift 66104 if b < 0x80 { 66105 break 66106 } 66107 } 66108 intStringLen := int(stringLen) 66109 if intStringLen < 0 { 66110 return ErrInvalidLengthAuthservice 66111 } 66112 postIndex := iNdEx + intStringLen 66113 if postIndex < 0 { 66114 return ErrInvalidLengthAuthservice 66115 } 66116 if postIndex > l { 66117 return io.ErrUnexpectedEOF 66118 } 66119 m.Services = append(m.Services, github_com_gravitational_teleport_api_types.SystemRole(dAtA[iNdEx:postIndex])) 66120 iNdEx = postIndex 66121 case 4: 66122 if wireType != 2 { 66123 return fmt.Errorf("proto: wrong wireType = %d for field Hostname", wireType) 66124 } 66125 var stringLen uint64 66126 for shift := uint(0); ; shift += 7 { 66127 if shift >= 64 { 66128 return ErrIntOverflowAuthservice 66129 } 66130 if iNdEx >= l { 66131 return io.ErrUnexpectedEOF 66132 } 66133 b := dAtA[iNdEx] 66134 iNdEx++ 66135 stringLen |= uint64(b&0x7F) << shift 66136 if b < 0x80 { 66137 break 66138 } 66139 } 66140 intStringLen := int(stringLen) 66141 if intStringLen < 0 { 66142 return ErrInvalidLengthAuthservice 66143 } 66144 postIndex := iNdEx + intStringLen 66145 if postIndex < 0 { 66146 return ErrInvalidLengthAuthservice 66147 } 66148 if postIndex > l { 66149 return io.ErrUnexpectedEOF 66150 } 66151 m.Hostname = string(dAtA[iNdEx:postIndex]) 66152 iNdEx = postIndex 66153 case 5: 66154 if wireType != 2 { 66155 return fmt.Errorf("proto: wrong wireType = %d for field ExternalUpgrader", wireType) 66156 } 66157 var stringLen uint64 66158 for shift := uint(0); ; shift += 7 { 66159 if shift >= 64 { 66160 return ErrIntOverflowAuthservice 66161 } 66162 if iNdEx >= l { 66163 return io.ErrUnexpectedEOF 66164 } 66165 b := dAtA[iNdEx] 66166 iNdEx++ 66167 stringLen |= uint64(b&0x7F) << shift 66168 if b < 0x80 { 66169 break 66170 } 66171 } 66172 intStringLen := int(stringLen) 66173 if intStringLen < 0 { 66174 return ErrInvalidLengthAuthservice 66175 } 66176 postIndex := iNdEx + intStringLen 66177 if postIndex < 0 { 66178 return ErrInvalidLengthAuthservice 66179 } 66180 if postIndex > l { 66181 return io.ErrUnexpectedEOF 66182 } 66183 m.ExternalUpgrader = string(dAtA[iNdEx:postIndex]) 66184 iNdEx = postIndex 66185 case 6: 66186 if wireType != 2 { 66187 return fmt.Errorf("proto: wrong wireType = %d for field ExternalUpgraderVersion", wireType) 66188 } 66189 var stringLen uint64 66190 for shift := uint(0); ; shift += 7 { 66191 if shift >= 64 { 66192 return ErrIntOverflowAuthservice 66193 } 66194 if iNdEx >= l { 66195 return io.ErrUnexpectedEOF 66196 } 66197 b := dAtA[iNdEx] 66198 iNdEx++ 66199 stringLen |= uint64(b&0x7F) << shift 66200 if b < 0x80 { 66201 break 66202 } 66203 } 66204 intStringLen := int(stringLen) 66205 if intStringLen < 0 { 66206 return ErrInvalidLengthAuthservice 66207 } 66208 postIndex := iNdEx + intStringLen 66209 if postIndex < 0 { 66210 return ErrInvalidLengthAuthservice 66211 } 66212 if postIndex > l { 66213 return io.ErrUnexpectedEOF 66214 } 66215 m.ExternalUpgraderVersion = string(dAtA[iNdEx:postIndex]) 66216 iNdEx = postIndex 66217 default: 66218 iNdEx = preIndex 66219 skippy, err := skipAuthservice(dAtA[iNdEx:]) 66220 if err != nil { 66221 return err 66222 } 66223 if (skippy < 0) || (iNdEx+skippy) < 0 { 66224 return ErrInvalidLengthAuthservice 66225 } 66226 if (iNdEx + skippy) > l { 66227 return io.ErrUnexpectedEOF 66228 } 66229 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 66230 iNdEx += skippy 66231 } 66232 } 66233 66234 if iNdEx > l { 66235 return io.ErrUnexpectedEOF 66236 } 66237 return nil 66238 } 66239 func (m *UpstreamInventoryAgentMetadata) Unmarshal(dAtA []byte) error { 66240 l := len(dAtA) 66241 iNdEx := 0 66242 for iNdEx < l { 66243 preIndex := iNdEx 66244 var wire uint64 66245 for shift := uint(0); ; shift += 7 { 66246 if shift >= 64 { 66247 return ErrIntOverflowAuthservice 66248 } 66249 if iNdEx >= l { 66250 return io.ErrUnexpectedEOF 66251 } 66252 b := dAtA[iNdEx] 66253 iNdEx++ 66254 wire |= uint64(b&0x7F) << shift 66255 if b < 0x80 { 66256 break 66257 } 66258 } 66259 fieldNum := int32(wire >> 3) 66260 wireType := int(wire & 0x7) 66261 if wireType == 4 { 66262 return fmt.Errorf("proto: UpstreamInventoryAgentMetadata: wiretype end group for non-group") 66263 } 66264 if fieldNum <= 0 { 66265 return fmt.Errorf("proto: UpstreamInventoryAgentMetadata: illegal tag %d (wire type %d)", fieldNum, wire) 66266 } 66267 switch fieldNum { 66268 case 1: 66269 if wireType != 2 { 66270 return fmt.Errorf("proto: wrong wireType = %d for field OS", wireType) 66271 } 66272 var stringLen uint64 66273 for shift := uint(0); ; shift += 7 { 66274 if shift >= 64 { 66275 return ErrIntOverflowAuthservice 66276 } 66277 if iNdEx >= l { 66278 return io.ErrUnexpectedEOF 66279 } 66280 b := dAtA[iNdEx] 66281 iNdEx++ 66282 stringLen |= uint64(b&0x7F) << shift 66283 if b < 0x80 { 66284 break 66285 } 66286 } 66287 intStringLen := int(stringLen) 66288 if intStringLen < 0 { 66289 return ErrInvalidLengthAuthservice 66290 } 66291 postIndex := iNdEx + intStringLen 66292 if postIndex < 0 { 66293 return ErrInvalidLengthAuthservice 66294 } 66295 if postIndex > l { 66296 return io.ErrUnexpectedEOF 66297 } 66298 m.OS = string(dAtA[iNdEx:postIndex]) 66299 iNdEx = postIndex 66300 case 2: 66301 if wireType != 2 { 66302 return fmt.Errorf("proto: wrong wireType = %d for field OSVersion", wireType) 66303 } 66304 var stringLen uint64 66305 for shift := uint(0); ; shift += 7 { 66306 if shift >= 64 { 66307 return ErrIntOverflowAuthservice 66308 } 66309 if iNdEx >= l { 66310 return io.ErrUnexpectedEOF 66311 } 66312 b := dAtA[iNdEx] 66313 iNdEx++ 66314 stringLen |= uint64(b&0x7F) << shift 66315 if b < 0x80 { 66316 break 66317 } 66318 } 66319 intStringLen := int(stringLen) 66320 if intStringLen < 0 { 66321 return ErrInvalidLengthAuthservice 66322 } 66323 postIndex := iNdEx + intStringLen 66324 if postIndex < 0 { 66325 return ErrInvalidLengthAuthservice 66326 } 66327 if postIndex > l { 66328 return io.ErrUnexpectedEOF 66329 } 66330 m.OSVersion = string(dAtA[iNdEx:postIndex]) 66331 iNdEx = postIndex 66332 case 3: 66333 if wireType != 2 { 66334 return fmt.Errorf("proto: wrong wireType = %d for field HostArchitecture", wireType) 66335 } 66336 var stringLen uint64 66337 for shift := uint(0); ; shift += 7 { 66338 if shift >= 64 { 66339 return ErrIntOverflowAuthservice 66340 } 66341 if iNdEx >= l { 66342 return io.ErrUnexpectedEOF 66343 } 66344 b := dAtA[iNdEx] 66345 iNdEx++ 66346 stringLen |= uint64(b&0x7F) << shift 66347 if b < 0x80 { 66348 break 66349 } 66350 } 66351 intStringLen := int(stringLen) 66352 if intStringLen < 0 { 66353 return ErrInvalidLengthAuthservice 66354 } 66355 postIndex := iNdEx + intStringLen 66356 if postIndex < 0 { 66357 return ErrInvalidLengthAuthservice 66358 } 66359 if postIndex > l { 66360 return io.ErrUnexpectedEOF 66361 } 66362 m.HostArchitecture = string(dAtA[iNdEx:postIndex]) 66363 iNdEx = postIndex 66364 case 4: 66365 if wireType != 2 { 66366 return fmt.Errorf("proto: wrong wireType = %d for field GlibcVersion", wireType) 66367 } 66368 var stringLen uint64 66369 for shift := uint(0); ; shift += 7 { 66370 if shift >= 64 { 66371 return ErrIntOverflowAuthservice 66372 } 66373 if iNdEx >= l { 66374 return io.ErrUnexpectedEOF 66375 } 66376 b := dAtA[iNdEx] 66377 iNdEx++ 66378 stringLen |= uint64(b&0x7F) << shift 66379 if b < 0x80 { 66380 break 66381 } 66382 } 66383 intStringLen := int(stringLen) 66384 if intStringLen < 0 { 66385 return ErrInvalidLengthAuthservice 66386 } 66387 postIndex := iNdEx + intStringLen 66388 if postIndex < 0 { 66389 return ErrInvalidLengthAuthservice 66390 } 66391 if postIndex > l { 66392 return io.ErrUnexpectedEOF 66393 } 66394 m.GlibcVersion = string(dAtA[iNdEx:postIndex]) 66395 iNdEx = postIndex 66396 case 5: 66397 if wireType != 2 { 66398 return fmt.Errorf("proto: wrong wireType = %d for field InstallMethods", wireType) 66399 } 66400 var stringLen uint64 66401 for shift := uint(0); ; shift += 7 { 66402 if shift >= 64 { 66403 return ErrIntOverflowAuthservice 66404 } 66405 if iNdEx >= l { 66406 return io.ErrUnexpectedEOF 66407 } 66408 b := dAtA[iNdEx] 66409 iNdEx++ 66410 stringLen |= uint64(b&0x7F) << shift 66411 if b < 0x80 { 66412 break 66413 } 66414 } 66415 intStringLen := int(stringLen) 66416 if intStringLen < 0 { 66417 return ErrInvalidLengthAuthservice 66418 } 66419 postIndex := iNdEx + intStringLen 66420 if postIndex < 0 { 66421 return ErrInvalidLengthAuthservice 66422 } 66423 if postIndex > l { 66424 return io.ErrUnexpectedEOF 66425 } 66426 m.InstallMethods = append(m.InstallMethods, string(dAtA[iNdEx:postIndex])) 66427 iNdEx = postIndex 66428 case 6: 66429 if wireType != 2 { 66430 return fmt.Errorf("proto: wrong wireType = %d for field ContainerRuntime", wireType) 66431 } 66432 var stringLen uint64 66433 for shift := uint(0); ; shift += 7 { 66434 if shift >= 64 { 66435 return ErrIntOverflowAuthservice 66436 } 66437 if iNdEx >= l { 66438 return io.ErrUnexpectedEOF 66439 } 66440 b := dAtA[iNdEx] 66441 iNdEx++ 66442 stringLen |= uint64(b&0x7F) << shift 66443 if b < 0x80 { 66444 break 66445 } 66446 } 66447 intStringLen := int(stringLen) 66448 if intStringLen < 0 { 66449 return ErrInvalidLengthAuthservice 66450 } 66451 postIndex := iNdEx + intStringLen 66452 if postIndex < 0 { 66453 return ErrInvalidLengthAuthservice 66454 } 66455 if postIndex > l { 66456 return io.ErrUnexpectedEOF 66457 } 66458 m.ContainerRuntime = string(dAtA[iNdEx:postIndex]) 66459 iNdEx = postIndex 66460 case 7: 66461 if wireType != 2 { 66462 return fmt.Errorf("proto: wrong wireType = %d for field ContainerOrchestrator", wireType) 66463 } 66464 var stringLen uint64 66465 for shift := uint(0); ; shift += 7 { 66466 if shift >= 64 { 66467 return ErrIntOverflowAuthservice 66468 } 66469 if iNdEx >= l { 66470 return io.ErrUnexpectedEOF 66471 } 66472 b := dAtA[iNdEx] 66473 iNdEx++ 66474 stringLen |= uint64(b&0x7F) << shift 66475 if b < 0x80 { 66476 break 66477 } 66478 } 66479 intStringLen := int(stringLen) 66480 if intStringLen < 0 { 66481 return ErrInvalidLengthAuthservice 66482 } 66483 postIndex := iNdEx + intStringLen 66484 if postIndex < 0 { 66485 return ErrInvalidLengthAuthservice 66486 } 66487 if postIndex > l { 66488 return io.ErrUnexpectedEOF 66489 } 66490 m.ContainerOrchestrator = string(dAtA[iNdEx:postIndex]) 66491 iNdEx = postIndex 66492 case 8: 66493 if wireType != 2 { 66494 return fmt.Errorf("proto: wrong wireType = %d for field CloudEnvironment", wireType) 66495 } 66496 var stringLen uint64 66497 for shift := uint(0); ; shift += 7 { 66498 if shift >= 64 { 66499 return ErrIntOverflowAuthservice 66500 } 66501 if iNdEx >= l { 66502 return io.ErrUnexpectedEOF 66503 } 66504 b := dAtA[iNdEx] 66505 iNdEx++ 66506 stringLen |= uint64(b&0x7F) << shift 66507 if b < 0x80 { 66508 break 66509 } 66510 } 66511 intStringLen := int(stringLen) 66512 if intStringLen < 0 { 66513 return ErrInvalidLengthAuthservice 66514 } 66515 postIndex := iNdEx + intStringLen 66516 if postIndex < 0 { 66517 return ErrInvalidLengthAuthservice 66518 } 66519 if postIndex > l { 66520 return io.ErrUnexpectedEOF 66521 } 66522 m.CloudEnvironment = string(dAtA[iNdEx:postIndex]) 66523 iNdEx = postIndex 66524 default: 66525 iNdEx = preIndex 66526 skippy, err := skipAuthservice(dAtA[iNdEx:]) 66527 if err != nil { 66528 return err 66529 } 66530 if (skippy < 0) || (iNdEx+skippy) < 0 { 66531 return ErrInvalidLengthAuthservice 66532 } 66533 if (iNdEx + skippy) > l { 66534 return io.ErrUnexpectedEOF 66535 } 66536 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 66537 iNdEx += skippy 66538 } 66539 } 66540 66541 if iNdEx > l { 66542 return io.ErrUnexpectedEOF 66543 } 66544 return nil 66545 } 66546 func (m *DownstreamInventoryHello) Unmarshal(dAtA []byte) error { 66547 l := len(dAtA) 66548 iNdEx := 0 66549 for iNdEx < l { 66550 preIndex := iNdEx 66551 var wire uint64 66552 for shift := uint(0); ; shift += 7 { 66553 if shift >= 64 { 66554 return ErrIntOverflowAuthservice 66555 } 66556 if iNdEx >= l { 66557 return io.ErrUnexpectedEOF 66558 } 66559 b := dAtA[iNdEx] 66560 iNdEx++ 66561 wire |= uint64(b&0x7F) << shift 66562 if b < 0x80 { 66563 break 66564 } 66565 } 66566 fieldNum := int32(wire >> 3) 66567 wireType := int(wire & 0x7) 66568 if wireType == 4 { 66569 return fmt.Errorf("proto: DownstreamInventoryHello: wiretype end group for non-group") 66570 } 66571 if fieldNum <= 0 { 66572 return fmt.Errorf("proto: DownstreamInventoryHello: illegal tag %d (wire type %d)", fieldNum, wire) 66573 } 66574 switch fieldNum { 66575 case 1: 66576 if wireType != 2 { 66577 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 66578 } 66579 var stringLen uint64 66580 for shift := uint(0); ; shift += 7 { 66581 if shift >= 64 { 66582 return ErrIntOverflowAuthservice 66583 } 66584 if iNdEx >= l { 66585 return io.ErrUnexpectedEOF 66586 } 66587 b := dAtA[iNdEx] 66588 iNdEx++ 66589 stringLen |= uint64(b&0x7F) << shift 66590 if b < 0x80 { 66591 break 66592 } 66593 } 66594 intStringLen := int(stringLen) 66595 if intStringLen < 0 { 66596 return ErrInvalidLengthAuthservice 66597 } 66598 postIndex := iNdEx + intStringLen 66599 if postIndex < 0 { 66600 return ErrInvalidLengthAuthservice 66601 } 66602 if postIndex > l { 66603 return io.ErrUnexpectedEOF 66604 } 66605 m.Version = string(dAtA[iNdEx:postIndex]) 66606 iNdEx = postIndex 66607 case 2: 66608 if wireType != 2 { 66609 return fmt.Errorf("proto: wrong wireType = %d for field ServerID", wireType) 66610 } 66611 var stringLen uint64 66612 for shift := uint(0); ; shift += 7 { 66613 if shift >= 64 { 66614 return ErrIntOverflowAuthservice 66615 } 66616 if iNdEx >= l { 66617 return io.ErrUnexpectedEOF 66618 } 66619 b := dAtA[iNdEx] 66620 iNdEx++ 66621 stringLen |= uint64(b&0x7F) << shift 66622 if b < 0x80 { 66623 break 66624 } 66625 } 66626 intStringLen := int(stringLen) 66627 if intStringLen < 0 { 66628 return ErrInvalidLengthAuthservice 66629 } 66630 postIndex := iNdEx + intStringLen 66631 if postIndex < 0 { 66632 return ErrInvalidLengthAuthservice 66633 } 66634 if postIndex > l { 66635 return io.ErrUnexpectedEOF 66636 } 66637 m.ServerID = string(dAtA[iNdEx:postIndex]) 66638 iNdEx = postIndex 66639 default: 66640 iNdEx = preIndex 66641 skippy, err := skipAuthservice(dAtA[iNdEx:]) 66642 if err != nil { 66643 return err 66644 } 66645 if (skippy < 0) || (iNdEx+skippy) < 0 { 66646 return ErrInvalidLengthAuthservice 66647 } 66648 if (iNdEx + skippy) > l { 66649 return io.ErrUnexpectedEOF 66650 } 66651 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 66652 iNdEx += skippy 66653 } 66654 } 66655 66656 if iNdEx > l { 66657 return io.ErrUnexpectedEOF 66658 } 66659 return nil 66660 } 66661 func (m *InventoryUpdateLabelsRequest) Unmarshal(dAtA []byte) error { 66662 l := len(dAtA) 66663 iNdEx := 0 66664 for iNdEx < l { 66665 preIndex := iNdEx 66666 var wire uint64 66667 for shift := uint(0); ; shift += 7 { 66668 if shift >= 64 { 66669 return ErrIntOverflowAuthservice 66670 } 66671 if iNdEx >= l { 66672 return io.ErrUnexpectedEOF 66673 } 66674 b := dAtA[iNdEx] 66675 iNdEx++ 66676 wire |= uint64(b&0x7F) << shift 66677 if b < 0x80 { 66678 break 66679 } 66680 } 66681 fieldNum := int32(wire >> 3) 66682 wireType := int(wire & 0x7) 66683 if wireType == 4 { 66684 return fmt.Errorf("proto: InventoryUpdateLabelsRequest: wiretype end group for non-group") 66685 } 66686 if fieldNum <= 0 { 66687 return fmt.Errorf("proto: InventoryUpdateLabelsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 66688 } 66689 switch fieldNum { 66690 case 1: 66691 if wireType != 2 { 66692 return fmt.Errorf("proto: wrong wireType = %d for field ServerID", wireType) 66693 } 66694 var stringLen uint64 66695 for shift := uint(0); ; shift += 7 { 66696 if shift >= 64 { 66697 return ErrIntOverflowAuthservice 66698 } 66699 if iNdEx >= l { 66700 return io.ErrUnexpectedEOF 66701 } 66702 b := dAtA[iNdEx] 66703 iNdEx++ 66704 stringLen |= uint64(b&0x7F) << shift 66705 if b < 0x80 { 66706 break 66707 } 66708 } 66709 intStringLen := int(stringLen) 66710 if intStringLen < 0 { 66711 return ErrInvalidLengthAuthservice 66712 } 66713 postIndex := iNdEx + intStringLen 66714 if postIndex < 0 { 66715 return ErrInvalidLengthAuthservice 66716 } 66717 if postIndex > l { 66718 return io.ErrUnexpectedEOF 66719 } 66720 m.ServerID = string(dAtA[iNdEx:postIndex]) 66721 iNdEx = postIndex 66722 case 2: 66723 if wireType != 0 { 66724 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 66725 } 66726 m.Kind = 0 66727 for shift := uint(0); ; shift += 7 { 66728 if shift >= 64 { 66729 return ErrIntOverflowAuthservice 66730 } 66731 if iNdEx >= l { 66732 return io.ErrUnexpectedEOF 66733 } 66734 b := dAtA[iNdEx] 66735 iNdEx++ 66736 m.Kind |= LabelUpdateKind(b&0x7F) << shift 66737 if b < 0x80 { 66738 break 66739 } 66740 } 66741 case 3: 66742 if wireType != 2 { 66743 return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) 66744 } 66745 var msglen int 66746 for shift := uint(0); ; shift += 7 { 66747 if shift >= 64 { 66748 return ErrIntOverflowAuthservice 66749 } 66750 if iNdEx >= l { 66751 return io.ErrUnexpectedEOF 66752 } 66753 b := dAtA[iNdEx] 66754 iNdEx++ 66755 msglen |= int(b&0x7F) << shift 66756 if b < 0x80 { 66757 break 66758 } 66759 } 66760 if msglen < 0 { 66761 return ErrInvalidLengthAuthservice 66762 } 66763 postIndex := iNdEx + msglen 66764 if postIndex < 0 { 66765 return ErrInvalidLengthAuthservice 66766 } 66767 if postIndex > l { 66768 return io.ErrUnexpectedEOF 66769 } 66770 if m.Labels == nil { 66771 m.Labels = make(map[string]string) 66772 } 66773 var mapkey string 66774 var mapvalue string 66775 for iNdEx < postIndex { 66776 entryPreIndex := iNdEx 66777 var wire uint64 66778 for shift := uint(0); ; shift += 7 { 66779 if shift >= 64 { 66780 return ErrIntOverflowAuthservice 66781 } 66782 if iNdEx >= l { 66783 return io.ErrUnexpectedEOF 66784 } 66785 b := dAtA[iNdEx] 66786 iNdEx++ 66787 wire |= uint64(b&0x7F) << shift 66788 if b < 0x80 { 66789 break 66790 } 66791 } 66792 fieldNum := int32(wire >> 3) 66793 if fieldNum == 1 { 66794 var stringLenmapkey uint64 66795 for shift := uint(0); ; shift += 7 { 66796 if shift >= 64 { 66797 return ErrIntOverflowAuthservice 66798 } 66799 if iNdEx >= l { 66800 return io.ErrUnexpectedEOF 66801 } 66802 b := dAtA[iNdEx] 66803 iNdEx++ 66804 stringLenmapkey |= uint64(b&0x7F) << shift 66805 if b < 0x80 { 66806 break 66807 } 66808 } 66809 intStringLenmapkey := int(stringLenmapkey) 66810 if intStringLenmapkey < 0 { 66811 return ErrInvalidLengthAuthservice 66812 } 66813 postStringIndexmapkey := iNdEx + intStringLenmapkey 66814 if postStringIndexmapkey < 0 { 66815 return ErrInvalidLengthAuthservice 66816 } 66817 if postStringIndexmapkey > l { 66818 return io.ErrUnexpectedEOF 66819 } 66820 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 66821 iNdEx = postStringIndexmapkey 66822 } else if fieldNum == 2 { 66823 var stringLenmapvalue uint64 66824 for shift := uint(0); ; shift += 7 { 66825 if shift >= 64 { 66826 return ErrIntOverflowAuthservice 66827 } 66828 if iNdEx >= l { 66829 return io.ErrUnexpectedEOF 66830 } 66831 b := dAtA[iNdEx] 66832 iNdEx++ 66833 stringLenmapvalue |= uint64(b&0x7F) << shift 66834 if b < 0x80 { 66835 break 66836 } 66837 } 66838 intStringLenmapvalue := int(stringLenmapvalue) 66839 if intStringLenmapvalue < 0 { 66840 return ErrInvalidLengthAuthservice 66841 } 66842 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 66843 if postStringIndexmapvalue < 0 { 66844 return ErrInvalidLengthAuthservice 66845 } 66846 if postStringIndexmapvalue > l { 66847 return io.ErrUnexpectedEOF 66848 } 66849 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 66850 iNdEx = postStringIndexmapvalue 66851 } else { 66852 iNdEx = entryPreIndex 66853 skippy, err := skipAuthservice(dAtA[iNdEx:]) 66854 if err != nil { 66855 return err 66856 } 66857 if (skippy < 0) || (iNdEx+skippy) < 0 { 66858 return ErrInvalidLengthAuthservice 66859 } 66860 if (iNdEx + skippy) > postIndex { 66861 return io.ErrUnexpectedEOF 66862 } 66863 iNdEx += skippy 66864 } 66865 } 66866 m.Labels[mapkey] = mapvalue 66867 iNdEx = postIndex 66868 default: 66869 iNdEx = preIndex 66870 skippy, err := skipAuthservice(dAtA[iNdEx:]) 66871 if err != nil { 66872 return err 66873 } 66874 if (skippy < 0) || (iNdEx+skippy) < 0 { 66875 return ErrInvalidLengthAuthservice 66876 } 66877 if (iNdEx + skippy) > l { 66878 return io.ErrUnexpectedEOF 66879 } 66880 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 66881 iNdEx += skippy 66882 } 66883 } 66884 66885 if iNdEx > l { 66886 return io.ErrUnexpectedEOF 66887 } 66888 return nil 66889 } 66890 func (m *DownstreamInventoryUpdateLabels) Unmarshal(dAtA []byte) error { 66891 l := len(dAtA) 66892 iNdEx := 0 66893 for iNdEx < l { 66894 preIndex := iNdEx 66895 var wire uint64 66896 for shift := uint(0); ; shift += 7 { 66897 if shift >= 64 { 66898 return ErrIntOverflowAuthservice 66899 } 66900 if iNdEx >= l { 66901 return io.ErrUnexpectedEOF 66902 } 66903 b := dAtA[iNdEx] 66904 iNdEx++ 66905 wire |= uint64(b&0x7F) << shift 66906 if b < 0x80 { 66907 break 66908 } 66909 } 66910 fieldNum := int32(wire >> 3) 66911 wireType := int(wire & 0x7) 66912 if wireType == 4 { 66913 return fmt.Errorf("proto: DownstreamInventoryUpdateLabels: wiretype end group for non-group") 66914 } 66915 if fieldNum <= 0 { 66916 return fmt.Errorf("proto: DownstreamInventoryUpdateLabels: illegal tag %d (wire type %d)", fieldNum, wire) 66917 } 66918 switch fieldNum { 66919 case 1: 66920 if wireType != 0 { 66921 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) 66922 } 66923 m.Kind = 0 66924 for shift := uint(0); ; shift += 7 { 66925 if shift >= 64 { 66926 return ErrIntOverflowAuthservice 66927 } 66928 if iNdEx >= l { 66929 return io.ErrUnexpectedEOF 66930 } 66931 b := dAtA[iNdEx] 66932 iNdEx++ 66933 m.Kind |= LabelUpdateKind(b&0x7F) << shift 66934 if b < 0x80 { 66935 break 66936 } 66937 } 66938 case 2: 66939 if wireType != 2 { 66940 return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) 66941 } 66942 var msglen int 66943 for shift := uint(0); ; shift += 7 { 66944 if shift >= 64 { 66945 return ErrIntOverflowAuthservice 66946 } 66947 if iNdEx >= l { 66948 return io.ErrUnexpectedEOF 66949 } 66950 b := dAtA[iNdEx] 66951 iNdEx++ 66952 msglen |= int(b&0x7F) << shift 66953 if b < 0x80 { 66954 break 66955 } 66956 } 66957 if msglen < 0 { 66958 return ErrInvalidLengthAuthservice 66959 } 66960 postIndex := iNdEx + msglen 66961 if postIndex < 0 { 66962 return ErrInvalidLengthAuthservice 66963 } 66964 if postIndex > l { 66965 return io.ErrUnexpectedEOF 66966 } 66967 if m.Labels == nil { 66968 m.Labels = make(map[string]string) 66969 } 66970 var mapkey string 66971 var mapvalue string 66972 for iNdEx < postIndex { 66973 entryPreIndex := iNdEx 66974 var wire uint64 66975 for shift := uint(0); ; shift += 7 { 66976 if shift >= 64 { 66977 return ErrIntOverflowAuthservice 66978 } 66979 if iNdEx >= l { 66980 return io.ErrUnexpectedEOF 66981 } 66982 b := dAtA[iNdEx] 66983 iNdEx++ 66984 wire |= uint64(b&0x7F) << shift 66985 if b < 0x80 { 66986 break 66987 } 66988 } 66989 fieldNum := int32(wire >> 3) 66990 if fieldNum == 1 { 66991 var stringLenmapkey uint64 66992 for shift := uint(0); ; shift += 7 { 66993 if shift >= 64 { 66994 return ErrIntOverflowAuthservice 66995 } 66996 if iNdEx >= l { 66997 return io.ErrUnexpectedEOF 66998 } 66999 b := dAtA[iNdEx] 67000 iNdEx++ 67001 stringLenmapkey |= uint64(b&0x7F) << shift 67002 if b < 0x80 { 67003 break 67004 } 67005 } 67006 intStringLenmapkey := int(stringLenmapkey) 67007 if intStringLenmapkey < 0 { 67008 return ErrInvalidLengthAuthservice 67009 } 67010 postStringIndexmapkey := iNdEx + intStringLenmapkey 67011 if postStringIndexmapkey < 0 { 67012 return ErrInvalidLengthAuthservice 67013 } 67014 if postStringIndexmapkey > l { 67015 return io.ErrUnexpectedEOF 67016 } 67017 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 67018 iNdEx = postStringIndexmapkey 67019 } else if fieldNum == 2 { 67020 var stringLenmapvalue uint64 67021 for shift := uint(0); ; shift += 7 { 67022 if shift >= 64 { 67023 return ErrIntOverflowAuthservice 67024 } 67025 if iNdEx >= l { 67026 return io.ErrUnexpectedEOF 67027 } 67028 b := dAtA[iNdEx] 67029 iNdEx++ 67030 stringLenmapvalue |= uint64(b&0x7F) << shift 67031 if b < 0x80 { 67032 break 67033 } 67034 } 67035 intStringLenmapvalue := int(stringLenmapvalue) 67036 if intStringLenmapvalue < 0 { 67037 return ErrInvalidLengthAuthservice 67038 } 67039 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 67040 if postStringIndexmapvalue < 0 { 67041 return ErrInvalidLengthAuthservice 67042 } 67043 if postStringIndexmapvalue > l { 67044 return io.ErrUnexpectedEOF 67045 } 67046 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 67047 iNdEx = postStringIndexmapvalue 67048 } else { 67049 iNdEx = entryPreIndex 67050 skippy, err := skipAuthservice(dAtA[iNdEx:]) 67051 if err != nil { 67052 return err 67053 } 67054 if (skippy < 0) || (iNdEx+skippy) < 0 { 67055 return ErrInvalidLengthAuthservice 67056 } 67057 if (iNdEx + skippy) > postIndex { 67058 return io.ErrUnexpectedEOF 67059 } 67060 iNdEx += skippy 67061 } 67062 } 67063 m.Labels[mapkey] = mapvalue 67064 iNdEx = postIndex 67065 default: 67066 iNdEx = preIndex 67067 skippy, err := skipAuthservice(dAtA[iNdEx:]) 67068 if err != nil { 67069 return err 67070 } 67071 if (skippy < 0) || (iNdEx+skippy) < 0 { 67072 return ErrInvalidLengthAuthservice 67073 } 67074 if (iNdEx + skippy) > l { 67075 return io.ErrUnexpectedEOF 67076 } 67077 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 67078 iNdEx += skippy 67079 } 67080 } 67081 67082 if iNdEx > l { 67083 return io.ErrUnexpectedEOF 67084 } 67085 return nil 67086 } 67087 func (m *InventoryHeartbeat) Unmarshal(dAtA []byte) error { 67088 l := len(dAtA) 67089 iNdEx := 0 67090 for iNdEx < l { 67091 preIndex := iNdEx 67092 var wire uint64 67093 for shift := uint(0); ; shift += 7 { 67094 if shift >= 64 { 67095 return ErrIntOverflowAuthservice 67096 } 67097 if iNdEx >= l { 67098 return io.ErrUnexpectedEOF 67099 } 67100 b := dAtA[iNdEx] 67101 iNdEx++ 67102 wire |= uint64(b&0x7F) << shift 67103 if b < 0x80 { 67104 break 67105 } 67106 } 67107 fieldNum := int32(wire >> 3) 67108 wireType := int(wire & 0x7) 67109 if wireType == 4 { 67110 return fmt.Errorf("proto: InventoryHeartbeat: wiretype end group for non-group") 67111 } 67112 if fieldNum <= 0 { 67113 return fmt.Errorf("proto: InventoryHeartbeat: illegal tag %d (wire type %d)", fieldNum, wire) 67114 } 67115 switch fieldNum { 67116 case 1: 67117 if wireType != 2 { 67118 return fmt.Errorf("proto: wrong wireType = %d for field SSHServer", wireType) 67119 } 67120 var msglen int 67121 for shift := uint(0); ; shift += 7 { 67122 if shift >= 64 { 67123 return ErrIntOverflowAuthservice 67124 } 67125 if iNdEx >= l { 67126 return io.ErrUnexpectedEOF 67127 } 67128 b := dAtA[iNdEx] 67129 iNdEx++ 67130 msglen |= int(b&0x7F) << shift 67131 if b < 0x80 { 67132 break 67133 } 67134 } 67135 if msglen < 0 { 67136 return ErrInvalidLengthAuthservice 67137 } 67138 postIndex := iNdEx + msglen 67139 if postIndex < 0 { 67140 return ErrInvalidLengthAuthservice 67141 } 67142 if postIndex > l { 67143 return io.ErrUnexpectedEOF 67144 } 67145 if m.SSHServer == nil { 67146 m.SSHServer = &types.ServerV2{} 67147 } 67148 if err := m.SSHServer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 67149 return err 67150 } 67151 iNdEx = postIndex 67152 default: 67153 iNdEx = preIndex 67154 skippy, err := skipAuthservice(dAtA[iNdEx:]) 67155 if err != nil { 67156 return err 67157 } 67158 if (skippy < 0) || (iNdEx+skippy) < 0 { 67159 return ErrInvalidLengthAuthservice 67160 } 67161 if (iNdEx + skippy) > l { 67162 return io.ErrUnexpectedEOF 67163 } 67164 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 67165 iNdEx += skippy 67166 } 67167 } 67168 67169 if iNdEx > l { 67170 return io.ErrUnexpectedEOF 67171 } 67172 return nil 67173 } 67174 func (m *InventoryStatusRequest) Unmarshal(dAtA []byte) error { 67175 l := len(dAtA) 67176 iNdEx := 0 67177 for iNdEx < l { 67178 preIndex := iNdEx 67179 var wire uint64 67180 for shift := uint(0); ; shift += 7 { 67181 if shift >= 64 { 67182 return ErrIntOverflowAuthservice 67183 } 67184 if iNdEx >= l { 67185 return io.ErrUnexpectedEOF 67186 } 67187 b := dAtA[iNdEx] 67188 iNdEx++ 67189 wire |= uint64(b&0x7F) << shift 67190 if b < 0x80 { 67191 break 67192 } 67193 } 67194 fieldNum := int32(wire >> 3) 67195 wireType := int(wire & 0x7) 67196 if wireType == 4 { 67197 return fmt.Errorf("proto: InventoryStatusRequest: wiretype end group for non-group") 67198 } 67199 if fieldNum <= 0 { 67200 return fmt.Errorf("proto: InventoryStatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) 67201 } 67202 switch fieldNum { 67203 case 1: 67204 if wireType != 0 { 67205 return fmt.Errorf("proto: wrong wireType = %d for field Connected", wireType) 67206 } 67207 var v int 67208 for shift := uint(0); ; shift += 7 { 67209 if shift >= 64 { 67210 return ErrIntOverflowAuthservice 67211 } 67212 if iNdEx >= l { 67213 return io.ErrUnexpectedEOF 67214 } 67215 b := dAtA[iNdEx] 67216 iNdEx++ 67217 v |= int(b&0x7F) << shift 67218 if b < 0x80 { 67219 break 67220 } 67221 } 67222 m.Connected = bool(v != 0) 67223 default: 67224 iNdEx = preIndex 67225 skippy, err := skipAuthservice(dAtA[iNdEx:]) 67226 if err != nil { 67227 return err 67228 } 67229 if (skippy < 0) || (iNdEx+skippy) < 0 { 67230 return ErrInvalidLengthAuthservice 67231 } 67232 if (iNdEx + skippy) > l { 67233 return io.ErrUnexpectedEOF 67234 } 67235 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 67236 iNdEx += skippy 67237 } 67238 } 67239 67240 if iNdEx > l { 67241 return io.ErrUnexpectedEOF 67242 } 67243 return nil 67244 } 67245 func (m *InventoryStatusSummary) Unmarshal(dAtA []byte) error { 67246 l := len(dAtA) 67247 iNdEx := 0 67248 for iNdEx < l { 67249 preIndex := iNdEx 67250 var wire uint64 67251 for shift := uint(0); ; shift += 7 { 67252 if shift >= 64 { 67253 return ErrIntOverflowAuthservice 67254 } 67255 if iNdEx >= l { 67256 return io.ErrUnexpectedEOF 67257 } 67258 b := dAtA[iNdEx] 67259 iNdEx++ 67260 wire |= uint64(b&0x7F) << shift 67261 if b < 0x80 { 67262 break 67263 } 67264 } 67265 fieldNum := int32(wire >> 3) 67266 wireType := int(wire & 0x7) 67267 if wireType == 4 { 67268 return fmt.Errorf("proto: InventoryStatusSummary: wiretype end group for non-group") 67269 } 67270 if fieldNum <= 0 { 67271 return fmt.Errorf("proto: InventoryStatusSummary: illegal tag %d (wire type %d)", fieldNum, wire) 67272 } 67273 switch fieldNum { 67274 case 1: 67275 if wireType != 2 { 67276 return fmt.Errorf("proto: wrong wireType = %d for field Connected", wireType) 67277 } 67278 var msglen int 67279 for shift := uint(0); ; shift += 7 { 67280 if shift >= 64 { 67281 return ErrIntOverflowAuthservice 67282 } 67283 if iNdEx >= l { 67284 return io.ErrUnexpectedEOF 67285 } 67286 b := dAtA[iNdEx] 67287 iNdEx++ 67288 msglen |= int(b&0x7F) << shift 67289 if b < 0x80 { 67290 break 67291 } 67292 } 67293 if msglen < 0 { 67294 return ErrInvalidLengthAuthservice 67295 } 67296 postIndex := iNdEx + msglen 67297 if postIndex < 0 { 67298 return ErrInvalidLengthAuthservice 67299 } 67300 if postIndex > l { 67301 return io.ErrUnexpectedEOF 67302 } 67303 m.Connected = append(m.Connected, UpstreamInventoryHello{}) 67304 if err := m.Connected[len(m.Connected)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 67305 return err 67306 } 67307 iNdEx = postIndex 67308 case 2: 67309 if wireType != 0 { 67310 return fmt.Errorf("proto: wrong wireType = %d for field InstanceCount", wireType) 67311 } 67312 m.InstanceCount = 0 67313 for shift := uint(0); ; shift += 7 { 67314 if shift >= 64 { 67315 return ErrIntOverflowAuthservice 67316 } 67317 if iNdEx >= l { 67318 return io.ErrUnexpectedEOF 67319 } 67320 b := dAtA[iNdEx] 67321 iNdEx++ 67322 m.InstanceCount |= uint32(b&0x7F) << shift 67323 if b < 0x80 { 67324 break 67325 } 67326 } 67327 case 3: 67328 if wireType != 2 { 67329 return fmt.Errorf("proto: wrong wireType = %d for field VersionCounts", wireType) 67330 } 67331 var msglen int 67332 for shift := uint(0); ; shift += 7 { 67333 if shift >= 64 { 67334 return ErrIntOverflowAuthservice 67335 } 67336 if iNdEx >= l { 67337 return io.ErrUnexpectedEOF 67338 } 67339 b := dAtA[iNdEx] 67340 iNdEx++ 67341 msglen |= int(b&0x7F) << shift 67342 if b < 0x80 { 67343 break 67344 } 67345 } 67346 if msglen < 0 { 67347 return ErrInvalidLengthAuthservice 67348 } 67349 postIndex := iNdEx + msglen 67350 if postIndex < 0 { 67351 return ErrInvalidLengthAuthservice 67352 } 67353 if postIndex > l { 67354 return io.ErrUnexpectedEOF 67355 } 67356 if m.VersionCounts == nil { 67357 m.VersionCounts = make(map[string]uint32) 67358 } 67359 var mapkey string 67360 var mapvalue uint32 67361 for iNdEx < postIndex { 67362 entryPreIndex := iNdEx 67363 var wire uint64 67364 for shift := uint(0); ; shift += 7 { 67365 if shift >= 64 { 67366 return ErrIntOverflowAuthservice 67367 } 67368 if iNdEx >= l { 67369 return io.ErrUnexpectedEOF 67370 } 67371 b := dAtA[iNdEx] 67372 iNdEx++ 67373 wire |= uint64(b&0x7F) << shift 67374 if b < 0x80 { 67375 break 67376 } 67377 } 67378 fieldNum := int32(wire >> 3) 67379 if fieldNum == 1 { 67380 var stringLenmapkey uint64 67381 for shift := uint(0); ; shift += 7 { 67382 if shift >= 64 { 67383 return ErrIntOverflowAuthservice 67384 } 67385 if iNdEx >= l { 67386 return io.ErrUnexpectedEOF 67387 } 67388 b := dAtA[iNdEx] 67389 iNdEx++ 67390 stringLenmapkey |= uint64(b&0x7F) << shift 67391 if b < 0x80 { 67392 break 67393 } 67394 } 67395 intStringLenmapkey := int(stringLenmapkey) 67396 if intStringLenmapkey < 0 { 67397 return ErrInvalidLengthAuthservice 67398 } 67399 postStringIndexmapkey := iNdEx + intStringLenmapkey 67400 if postStringIndexmapkey < 0 { 67401 return ErrInvalidLengthAuthservice 67402 } 67403 if postStringIndexmapkey > l { 67404 return io.ErrUnexpectedEOF 67405 } 67406 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 67407 iNdEx = postStringIndexmapkey 67408 } else if fieldNum == 2 { 67409 for shift := uint(0); ; shift += 7 { 67410 if shift >= 64 { 67411 return ErrIntOverflowAuthservice 67412 } 67413 if iNdEx >= l { 67414 return io.ErrUnexpectedEOF 67415 } 67416 b := dAtA[iNdEx] 67417 iNdEx++ 67418 mapvalue |= uint32(b&0x7F) << shift 67419 if b < 0x80 { 67420 break 67421 } 67422 } 67423 } else { 67424 iNdEx = entryPreIndex 67425 skippy, err := skipAuthservice(dAtA[iNdEx:]) 67426 if err != nil { 67427 return err 67428 } 67429 if (skippy < 0) || (iNdEx+skippy) < 0 { 67430 return ErrInvalidLengthAuthservice 67431 } 67432 if (iNdEx + skippy) > postIndex { 67433 return io.ErrUnexpectedEOF 67434 } 67435 iNdEx += skippy 67436 } 67437 } 67438 m.VersionCounts[mapkey] = mapvalue 67439 iNdEx = postIndex 67440 case 4: 67441 if wireType != 2 { 67442 return fmt.Errorf("proto: wrong wireType = %d for field UpgraderCounts", wireType) 67443 } 67444 var msglen int 67445 for shift := uint(0); ; shift += 7 { 67446 if shift >= 64 { 67447 return ErrIntOverflowAuthservice 67448 } 67449 if iNdEx >= l { 67450 return io.ErrUnexpectedEOF 67451 } 67452 b := dAtA[iNdEx] 67453 iNdEx++ 67454 msglen |= int(b&0x7F) << shift 67455 if b < 0x80 { 67456 break 67457 } 67458 } 67459 if msglen < 0 { 67460 return ErrInvalidLengthAuthservice 67461 } 67462 postIndex := iNdEx + msglen 67463 if postIndex < 0 { 67464 return ErrInvalidLengthAuthservice 67465 } 67466 if postIndex > l { 67467 return io.ErrUnexpectedEOF 67468 } 67469 if m.UpgraderCounts == nil { 67470 m.UpgraderCounts = make(map[string]uint32) 67471 } 67472 var mapkey string 67473 var mapvalue uint32 67474 for iNdEx < postIndex { 67475 entryPreIndex := iNdEx 67476 var wire uint64 67477 for shift := uint(0); ; shift += 7 { 67478 if shift >= 64 { 67479 return ErrIntOverflowAuthservice 67480 } 67481 if iNdEx >= l { 67482 return io.ErrUnexpectedEOF 67483 } 67484 b := dAtA[iNdEx] 67485 iNdEx++ 67486 wire |= uint64(b&0x7F) << shift 67487 if b < 0x80 { 67488 break 67489 } 67490 } 67491 fieldNum := int32(wire >> 3) 67492 if fieldNum == 1 { 67493 var stringLenmapkey uint64 67494 for shift := uint(0); ; shift += 7 { 67495 if shift >= 64 { 67496 return ErrIntOverflowAuthservice 67497 } 67498 if iNdEx >= l { 67499 return io.ErrUnexpectedEOF 67500 } 67501 b := dAtA[iNdEx] 67502 iNdEx++ 67503 stringLenmapkey |= uint64(b&0x7F) << shift 67504 if b < 0x80 { 67505 break 67506 } 67507 } 67508 intStringLenmapkey := int(stringLenmapkey) 67509 if intStringLenmapkey < 0 { 67510 return ErrInvalidLengthAuthservice 67511 } 67512 postStringIndexmapkey := iNdEx + intStringLenmapkey 67513 if postStringIndexmapkey < 0 { 67514 return ErrInvalidLengthAuthservice 67515 } 67516 if postStringIndexmapkey > l { 67517 return io.ErrUnexpectedEOF 67518 } 67519 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 67520 iNdEx = postStringIndexmapkey 67521 } else if fieldNum == 2 { 67522 for shift := uint(0); ; shift += 7 { 67523 if shift >= 64 { 67524 return ErrIntOverflowAuthservice 67525 } 67526 if iNdEx >= l { 67527 return io.ErrUnexpectedEOF 67528 } 67529 b := dAtA[iNdEx] 67530 iNdEx++ 67531 mapvalue |= uint32(b&0x7F) << shift 67532 if b < 0x80 { 67533 break 67534 } 67535 } 67536 } else { 67537 iNdEx = entryPreIndex 67538 skippy, err := skipAuthservice(dAtA[iNdEx:]) 67539 if err != nil { 67540 return err 67541 } 67542 if (skippy < 0) || (iNdEx+skippy) < 0 { 67543 return ErrInvalidLengthAuthservice 67544 } 67545 if (iNdEx + skippy) > postIndex { 67546 return io.ErrUnexpectedEOF 67547 } 67548 iNdEx += skippy 67549 } 67550 } 67551 m.UpgraderCounts[mapkey] = mapvalue 67552 iNdEx = postIndex 67553 case 5: 67554 if wireType != 2 { 67555 return fmt.Errorf("proto: wrong wireType = %d for field ServiceCounts", wireType) 67556 } 67557 var msglen int 67558 for shift := uint(0); ; shift += 7 { 67559 if shift >= 64 { 67560 return ErrIntOverflowAuthservice 67561 } 67562 if iNdEx >= l { 67563 return io.ErrUnexpectedEOF 67564 } 67565 b := dAtA[iNdEx] 67566 iNdEx++ 67567 msglen |= int(b&0x7F) << shift 67568 if b < 0x80 { 67569 break 67570 } 67571 } 67572 if msglen < 0 { 67573 return ErrInvalidLengthAuthservice 67574 } 67575 postIndex := iNdEx + msglen 67576 if postIndex < 0 { 67577 return ErrInvalidLengthAuthservice 67578 } 67579 if postIndex > l { 67580 return io.ErrUnexpectedEOF 67581 } 67582 if m.ServiceCounts == nil { 67583 m.ServiceCounts = make(map[string]uint32) 67584 } 67585 var mapkey string 67586 var mapvalue uint32 67587 for iNdEx < postIndex { 67588 entryPreIndex := iNdEx 67589 var wire uint64 67590 for shift := uint(0); ; shift += 7 { 67591 if shift >= 64 { 67592 return ErrIntOverflowAuthservice 67593 } 67594 if iNdEx >= l { 67595 return io.ErrUnexpectedEOF 67596 } 67597 b := dAtA[iNdEx] 67598 iNdEx++ 67599 wire |= uint64(b&0x7F) << shift 67600 if b < 0x80 { 67601 break 67602 } 67603 } 67604 fieldNum := int32(wire >> 3) 67605 if fieldNum == 1 { 67606 var stringLenmapkey uint64 67607 for shift := uint(0); ; shift += 7 { 67608 if shift >= 64 { 67609 return ErrIntOverflowAuthservice 67610 } 67611 if iNdEx >= l { 67612 return io.ErrUnexpectedEOF 67613 } 67614 b := dAtA[iNdEx] 67615 iNdEx++ 67616 stringLenmapkey |= uint64(b&0x7F) << shift 67617 if b < 0x80 { 67618 break 67619 } 67620 } 67621 intStringLenmapkey := int(stringLenmapkey) 67622 if intStringLenmapkey < 0 { 67623 return ErrInvalidLengthAuthservice 67624 } 67625 postStringIndexmapkey := iNdEx + intStringLenmapkey 67626 if postStringIndexmapkey < 0 { 67627 return ErrInvalidLengthAuthservice 67628 } 67629 if postStringIndexmapkey > l { 67630 return io.ErrUnexpectedEOF 67631 } 67632 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 67633 iNdEx = postStringIndexmapkey 67634 } else if fieldNum == 2 { 67635 for shift := uint(0); ; shift += 7 { 67636 if shift >= 64 { 67637 return ErrIntOverflowAuthservice 67638 } 67639 if iNdEx >= l { 67640 return io.ErrUnexpectedEOF 67641 } 67642 b := dAtA[iNdEx] 67643 iNdEx++ 67644 mapvalue |= uint32(b&0x7F) << shift 67645 if b < 0x80 { 67646 break 67647 } 67648 } 67649 } else { 67650 iNdEx = entryPreIndex 67651 skippy, err := skipAuthservice(dAtA[iNdEx:]) 67652 if err != nil { 67653 return err 67654 } 67655 if (skippy < 0) || (iNdEx+skippy) < 0 { 67656 return ErrInvalidLengthAuthservice 67657 } 67658 if (iNdEx + skippy) > postIndex { 67659 return io.ErrUnexpectedEOF 67660 } 67661 iNdEx += skippy 67662 } 67663 } 67664 m.ServiceCounts[mapkey] = mapvalue 67665 iNdEx = postIndex 67666 default: 67667 iNdEx = preIndex 67668 skippy, err := skipAuthservice(dAtA[iNdEx:]) 67669 if err != nil { 67670 return err 67671 } 67672 if (skippy < 0) || (iNdEx+skippy) < 0 { 67673 return ErrInvalidLengthAuthservice 67674 } 67675 if (iNdEx + skippy) > l { 67676 return io.ErrUnexpectedEOF 67677 } 67678 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 67679 iNdEx += skippy 67680 } 67681 } 67682 67683 if iNdEx > l { 67684 return io.ErrUnexpectedEOF 67685 } 67686 return nil 67687 } 67688 func (m *InventoryConnectedServiceCountsRequest) Unmarshal(dAtA []byte) error { 67689 l := len(dAtA) 67690 iNdEx := 0 67691 for iNdEx < l { 67692 preIndex := iNdEx 67693 var wire uint64 67694 for shift := uint(0); ; shift += 7 { 67695 if shift >= 64 { 67696 return ErrIntOverflowAuthservice 67697 } 67698 if iNdEx >= l { 67699 return io.ErrUnexpectedEOF 67700 } 67701 b := dAtA[iNdEx] 67702 iNdEx++ 67703 wire |= uint64(b&0x7F) << shift 67704 if b < 0x80 { 67705 break 67706 } 67707 } 67708 fieldNum := int32(wire >> 3) 67709 wireType := int(wire & 0x7) 67710 if wireType == 4 { 67711 return fmt.Errorf("proto: InventoryConnectedServiceCountsRequest: wiretype end group for non-group") 67712 } 67713 if fieldNum <= 0 { 67714 return fmt.Errorf("proto: InventoryConnectedServiceCountsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 67715 } 67716 switch fieldNum { 67717 default: 67718 iNdEx = preIndex 67719 skippy, err := skipAuthservice(dAtA[iNdEx:]) 67720 if err != nil { 67721 return err 67722 } 67723 if (skippy < 0) || (iNdEx+skippy) < 0 { 67724 return ErrInvalidLengthAuthservice 67725 } 67726 if (iNdEx + skippy) > l { 67727 return io.ErrUnexpectedEOF 67728 } 67729 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 67730 iNdEx += skippy 67731 } 67732 } 67733 67734 if iNdEx > l { 67735 return io.ErrUnexpectedEOF 67736 } 67737 return nil 67738 } 67739 func (m *InventoryConnectedServiceCounts) Unmarshal(dAtA []byte) error { 67740 l := len(dAtA) 67741 iNdEx := 0 67742 for iNdEx < l { 67743 preIndex := iNdEx 67744 var wire uint64 67745 for shift := uint(0); ; shift += 7 { 67746 if shift >= 64 { 67747 return ErrIntOverflowAuthservice 67748 } 67749 if iNdEx >= l { 67750 return io.ErrUnexpectedEOF 67751 } 67752 b := dAtA[iNdEx] 67753 iNdEx++ 67754 wire |= uint64(b&0x7F) << shift 67755 if b < 0x80 { 67756 break 67757 } 67758 } 67759 fieldNum := int32(wire >> 3) 67760 wireType := int(wire & 0x7) 67761 if wireType == 4 { 67762 return fmt.Errorf("proto: InventoryConnectedServiceCounts: wiretype end group for non-group") 67763 } 67764 if fieldNum <= 0 { 67765 return fmt.Errorf("proto: InventoryConnectedServiceCounts: illegal tag %d (wire type %d)", fieldNum, wire) 67766 } 67767 switch fieldNum { 67768 case 1: 67769 if wireType != 2 { 67770 return fmt.Errorf("proto: wrong wireType = %d for field ServiceCounts", wireType) 67771 } 67772 var msglen int 67773 for shift := uint(0); ; shift += 7 { 67774 if shift >= 64 { 67775 return ErrIntOverflowAuthservice 67776 } 67777 if iNdEx >= l { 67778 return io.ErrUnexpectedEOF 67779 } 67780 b := dAtA[iNdEx] 67781 iNdEx++ 67782 msglen |= int(b&0x7F) << shift 67783 if b < 0x80 { 67784 break 67785 } 67786 } 67787 if msglen < 0 { 67788 return ErrInvalidLengthAuthservice 67789 } 67790 postIndex := iNdEx + msglen 67791 if postIndex < 0 { 67792 return ErrInvalidLengthAuthservice 67793 } 67794 if postIndex > l { 67795 return io.ErrUnexpectedEOF 67796 } 67797 if m.ServiceCounts == nil { 67798 m.ServiceCounts = make(map[github_com_gravitational_teleport_api_types.SystemRole]uint64) 67799 } 67800 var mapkey github_com_gravitational_teleport_api_types.SystemRole 67801 var mapvalue uint64 67802 for iNdEx < postIndex { 67803 entryPreIndex := iNdEx 67804 var wire uint64 67805 for shift := uint(0); ; shift += 7 { 67806 if shift >= 64 { 67807 return ErrIntOverflowAuthservice 67808 } 67809 if iNdEx >= l { 67810 return io.ErrUnexpectedEOF 67811 } 67812 b := dAtA[iNdEx] 67813 iNdEx++ 67814 wire |= uint64(b&0x7F) << shift 67815 if b < 0x80 { 67816 break 67817 } 67818 } 67819 fieldNum := int32(wire >> 3) 67820 if fieldNum == 1 { 67821 var stringLenmapkey uint64 67822 for shift := uint(0); ; shift += 7 { 67823 if shift >= 64 { 67824 return ErrIntOverflowAuthservice 67825 } 67826 if iNdEx >= l { 67827 return io.ErrUnexpectedEOF 67828 } 67829 b := dAtA[iNdEx] 67830 iNdEx++ 67831 stringLenmapkey |= uint64(b&0x7F) << shift 67832 if b < 0x80 { 67833 break 67834 } 67835 } 67836 intStringLenmapkey := int(stringLenmapkey) 67837 if intStringLenmapkey < 0 { 67838 return ErrInvalidLengthAuthservice 67839 } 67840 postStringIndexmapkey := iNdEx + intStringLenmapkey 67841 if postStringIndexmapkey < 0 { 67842 return ErrInvalidLengthAuthservice 67843 } 67844 if postStringIndexmapkey > l { 67845 return io.ErrUnexpectedEOF 67846 } 67847 mapkey = github_com_gravitational_teleport_api_types.SystemRole(dAtA[iNdEx:postStringIndexmapkey]) 67848 iNdEx = postStringIndexmapkey 67849 } else if fieldNum == 2 { 67850 for shift := uint(0); ; shift += 7 { 67851 if shift >= 64 { 67852 return ErrIntOverflowAuthservice 67853 } 67854 if iNdEx >= l { 67855 return io.ErrUnexpectedEOF 67856 } 67857 b := dAtA[iNdEx] 67858 iNdEx++ 67859 mapvalue |= uint64(b&0x7F) << shift 67860 if b < 0x80 { 67861 break 67862 } 67863 } 67864 } else { 67865 iNdEx = entryPreIndex 67866 skippy, err := skipAuthservice(dAtA[iNdEx:]) 67867 if err != nil { 67868 return err 67869 } 67870 if (skippy < 0) || (iNdEx+skippy) < 0 { 67871 return ErrInvalidLengthAuthservice 67872 } 67873 if (iNdEx + skippy) > postIndex { 67874 return io.ErrUnexpectedEOF 67875 } 67876 iNdEx += skippy 67877 } 67878 } 67879 m.ServiceCounts[github_com_gravitational_teleport_api_types.SystemRole(mapkey)] = mapvalue 67880 iNdEx = postIndex 67881 default: 67882 iNdEx = preIndex 67883 skippy, err := skipAuthservice(dAtA[iNdEx:]) 67884 if err != nil { 67885 return err 67886 } 67887 if (skippy < 0) || (iNdEx+skippy) < 0 { 67888 return ErrInvalidLengthAuthservice 67889 } 67890 if (iNdEx + skippy) > l { 67891 return io.ErrUnexpectedEOF 67892 } 67893 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 67894 iNdEx += skippy 67895 } 67896 } 67897 67898 if iNdEx > l { 67899 return io.ErrUnexpectedEOF 67900 } 67901 return nil 67902 } 67903 func (m *InventoryPingRequest) Unmarshal(dAtA []byte) error { 67904 l := len(dAtA) 67905 iNdEx := 0 67906 for iNdEx < l { 67907 preIndex := iNdEx 67908 var wire uint64 67909 for shift := uint(0); ; shift += 7 { 67910 if shift >= 64 { 67911 return ErrIntOverflowAuthservice 67912 } 67913 if iNdEx >= l { 67914 return io.ErrUnexpectedEOF 67915 } 67916 b := dAtA[iNdEx] 67917 iNdEx++ 67918 wire |= uint64(b&0x7F) << shift 67919 if b < 0x80 { 67920 break 67921 } 67922 } 67923 fieldNum := int32(wire >> 3) 67924 wireType := int(wire & 0x7) 67925 if wireType == 4 { 67926 return fmt.Errorf("proto: InventoryPingRequest: wiretype end group for non-group") 67927 } 67928 if fieldNum <= 0 { 67929 return fmt.Errorf("proto: InventoryPingRequest: illegal tag %d (wire type %d)", fieldNum, wire) 67930 } 67931 switch fieldNum { 67932 case 1: 67933 if wireType != 2 { 67934 return fmt.Errorf("proto: wrong wireType = %d for field ServerID", wireType) 67935 } 67936 var stringLen uint64 67937 for shift := uint(0); ; shift += 7 { 67938 if shift >= 64 { 67939 return ErrIntOverflowAuthservice 67940 } 67941 if iNdEx >= l { 67942 return io.ErrUnexpectedEOF 67943 } 67944 b := dAtA[iNdEx] 67945 iNdEx++ 67946 stringLen |= uint64(b&0x7F) << shift 67947 if b < 0x80 { 67948 break 67949 } 67950 } 67951 intStringLen := int(stringLen) 67952 if intStringLen < 0 { 67953 return ErrInvalidLengthAuthservice 67954 } 67955 postIndex := iNdEx + intStringLen 67956 if postIndex < 0 { 67957 return ErrInvalidLengthAuthservice 67958 } 67959 if postIndex > l { 67960 return io.ErrUnexpectedEOF 67961 } 67962 m.ServerID = string(dAtA[iNdEx:postIndex]) 67963 iNdEx = postIndex 67964 case 2: 67965 if wireType != 0 { 67966 return fmt.Errorf("proto: wrong wireType = %d for field ControlLog", wireType) 67967 } 67968 var v int 67969 for shift := uint(0); ; shift += 7 { 67970 if shift >= 64 { 67971 return ErrIntOverflowAuthservice 67972 } 67973 if iNdEx >= l { 67974 return io.ErrUnexpectedEOF 67975 } 67976 b := dAtA[iNdEx] 67977 iNdEx++ 67978 v |= int(b&0x7F) << shift 67979 if b < 0x80 { 67980 break 67981 } 67982 } 67983 m.ControlLog = bool(v != 0) 67984 default: 67985 iNdEx = preIndex 67986 skippy, err := skipAuthservice(dAtA[iNdEx:]) 67987 if err != nil { 67988 return err 67989 } 67990 if (skippy < 0) || (iNdEx+skippy) < 0 { 67991 return ErrInvalidLengthAuthservice 67992 } 67993 if (iNdEx + skippy) > l { 67994 return io.ErrUnexpectedEOF 67995 } 67996 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 67997 iNdEx += skippy 67998 } 67999 } 68000 68001 if iNdEx > l { 68002 return io.ErrUnexpectedEOF 68003 } 68004 return nil 68005 } 68006 func (m *InventoryPingResponse) Unmarshal(dAtA []byte) error { 68007 l := len(dAtA) 68008 iNdEx := 0 68009 for iNdEx < l { 68010 preIndex := iNdEx 68011 var wire uint64 68012 for shift := uint(0); ; shift += 7 { 68013 if shift >= 64 { 68014 return ErrIntOverflowAuthservice 68015 } 68016 if iNdEx >= l { 68017 return io.ErrUnexpectedEOF 68018 } 68019 b := dAtA[iNdEx] 68020 iNdEx++ 68021 wire |= uint64(b&0x7F) << shift 68022 if b < 0x80 { 68023 break 68024 } 68025 } 68026 fieldNum := int32(wire >> 3) 68027 wireType := int(wire & 0x7) 68028 if wireType == 4 { 68029 return fmt.Errorf("proto: InventoryPingResponse: wiretype end group for non-group") 68030 } 68031 if fieldNum <= 0 { 68032 return fmt.Errorf("proto: InventoryPingResponse: illegal tag %d (wire type %d)", fieldNum, wire) 68033 } 68034 switch fieldNum { 68035 case 1: 68036 if wireType != 0 { 68037 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) 68038 } 68039 m.Duration = 0 68040 for shift := uint(0); ; shift += 7 { 68041 if shift >= 64 { 68042 return ErrIntOverflowAuthservice 68043 } 68044 if iNdEx >= l { 68045 return io.ErrUnexpectedEOF 68046 } 68047 b := dAtA[iNdEx] 68048 iNdEx++ 68049 m.Duration |= time.Duration(b&0x7F) << shift 68050 if b < 0x80 { 68051 break 68052 } 68053 } 68054 default: 68055 iNdEx = preIndex 68056 skippy, err := skipAuthservice(dAtA[iNdEx:]) 68057 if err != nil { 68058 return err 68059 } 68060 if (skippy < 0) || (iNdEx+skippy) < 0 { 68061 return ErrInvalidLengthAuthservice 68062 } 68063 if (iNdEx + skippy) > l { 68064 return io.ErrUnexpectedEOF 68065 } 68066 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68067 iNdEx += skippy 68068 } 68069 } 68070 68071 if iNdEx > l { 68072 return io.ErrUnexpectedEOF 68073 } 68074 return nil 68075 } 68076 func (m *GetClusterAlertsResponse) Unmarshal(dAtA []byte) error { 68077 l := len(dAtA) 68078 iNdEx := 0 68079 for iNdEx < l { 68080 preIndex := iNdEx 68081 var wire uint64 68082 for shift := uint(0); ; shift += 7 { 68083 if shift >= 64 { 68084 return ErrIntOverflowAuthservice 68085 } 68086 if iNdEx >= l { 68087 return io.ErrUnexpectedEOF 68088 } 68089 b := dAtA[iNdEx] 68090 iNdEx++ 68091 wire |= uint64(b&0x7F) << shift 68092 if b < 0x80 { 68093 break 68094 } 68095 } 68096 fieldNum := int32(wire >> 3) 68097 wireType := int(wire & 0x7) 68098 if wireType == 4 { 68099 return fmt.Errorf("proto: GetClusterAlertsResponse: wiretype end group for non-group") 68100 } 68101 if fieldNum <= 0 { 68102 return fmt.Errorf("proto: GetClusterAlertsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 68103 } 68104 switch fieldNum { 68105 case 1: 68106 if wireType != 2 { 68107 return fmt.Errorf("proto: wrong wireType = %d for field Alerts", wireType) 68108 } 68109 var msglen int 68110 for shift := uint(0); ; shift += 7 { 68111 if shift >= 64 { 68112 return ErrIntOverflowAuthservice 68113 } 68114 if iNdEx >= l { 68115 return io.ErrUnexpectedEOF 68116 } 68117 b := dAtA[iNdEx] 68118 iNdEx++ 68119 msglen |= int(b&0x7F) << shift 68120 if b < 0x80 { 68121 break 68122 } 68123 } 68124 if msglen < 0 { 68125 return ErrInvalidLengthAuthservice 68126 } 68127 postIndex := iNdEx + msglen 68128 if postIndex < 0 { 68129 return ErrInvalidLengthAuthservice 68130 } 68131 if postIndex > l { 68132 return io.ErrUnexpectedEOF 68133 } 68134 m.Alerts = append(m.Alerts, types.ClusterAlert{}) 68135 if err := m.Alerts[len(m.Alerts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 68136 return err 68137 } 68138 iNdEx = postIndex 68139 default: 68140 iNdEx = preIndex 68141 skippy, err := skipAuthservice(dAtA[iNdEx:]) 68142 if err != nil { 68143 return err 68144 } 68145 if (skippy < 0) || (iNdEx+skippy) < 0 { 68146 return ErrInvalidLengthAuthservice 68147 } 68148 if (iNdEx + skippy) > l { 68149 return io.ErrUnexpectedEOF 68150 } 68151 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68152 iNdEx += skippy 68153 } 68154 } 68155 68156 if iNdEx > l { 68157 return io.ErrUnexpectedEOF 68158 } 68159 return nil 68160 } 68161 func (m *GetAlertAcksRequest) Unmarshal(dAtA []byte) error { 68162 l := len(dAtA) 68163 iNdEx := 0 68164 for iNdEx < l { 68165 preIndex := iNdEx 68166 var wire uint64 68167 for shift := uint(0); ; shift += 7 { 68168 if shift >= 64 { 68169 return ErrIntOverflowAuthservice 68170 } 68171 if iNdEx >= l { 68172 return io.ErrUnexpectedEOF 68173 } 68174 b := dAtA[iNdEx] 68175 iNdEx++ 68176 wire |= uint64(b&0x7F) << shift 68177 if b < 0x80 { 68178 break 68179 } 68180 } 68181 fieldNum := int32(wire >> 3) 68182 wireType := int(wire & 0x7) 68183 if wireType == 4 { 68184 return fmt.Errorf("proto: GetAlertAcksRequest: wiretype end group for non-group") 68185 } 68186 if fieldNum <= 0 { 68187 return fmt.Errorf("proto: GetAlertAcksRequest: illegal tag %d (wire type %d)", fieldNum, wire) 68188 } 68189 switch fieldNum { 68190 default: 68191 iNdEx = preIndex 68192 skippy, err := skipAuthservice(dAtA[iNdEx:]) 68193 if err != nil { 68194 return err 68195 } 68196 if (skippy < 0) || (iNdEx+skippy) < 0 { 68197 return ErrInvalidLengthAuthservice 68198 } 68199 if (iNdEx + skippy) > l { 68200 return io.ErrUnexpectedEOF 68201 } 68202 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68203 iNdEx += skippy 68204 } 68205 } 68206 68207 if iNdEx > l { 68208 return io.ErrUnexpectedEOF 68209 } 68210 return nil 68211 } 68212 func (m *GetAlertAcksResponse) Unmarshal(dAtA []byte) error { 68213 l := len(dAtA) 68214 iNdEx := 0 68215 for iNdEx < l { 68216 preIndex := iNdEx 68217 var wire uint64 68218 for shift := uint(0); ; shift += 7 { 68219 if shift >= 64 { 68220 return ErrIntOverflowAuthservice 68221 } 68222 if iNdEx >= l { 68223 return io.ErrUnexpectedEOF 68224 } 68225 b := dAtA[iNdEx] 68226 iNdEx++ 68227 wire |= uint64(b&0x7F) << shift 68228 if b < 0x80 { 68229 break 68230 } 68231 } 68232 fieldNum := int32(wire >> 3) 68233 wireType := int(wire & 0x7) 68234 if wireType == 4 { 68235 return fmt.Errorf("proto: GetAlertAcksResponse: wiretype end group for non-group") 68236 } 68237 if fieldNum <= 0 { 68238 return fmt.Errorf("proto: GetAlertAcksResponse: illegal tag %d (wire type %d)", fieldNum, wire) 68239 } 68240 switch fieldNum { 68241 case 1: 68242 if wireType != 2 { 68243 return fmt.Errorf("proto: wrong wireType = %d for field Acks", wireType) 68244 } 68245 var msglen int 68246 for shift := uint(0); ; shift += 7 { 68247 if shift >= 64 { 68248 return ErrIntOverflowAuthservice 68249 } 68250 if iNdEx >= l { 68251 return io.ErrUnexpectedEOF 68252 } 68253 b := dAtA[iNdEx] 68254 iNdEx++ 68255 msglen |= int(b&0x7F) << shift 68256 if b < 0x80 { 68257 break 68258 } 68259 } 68260 if msglen < 0 { 68261 return ErrInvalidLengthAuthservice 68262 } 68263 postIndex := iNdEx + msglen 68264 if postIndex < 0 { 68265 return ErrInvalidLengthAuthservice 68266 } 68267 if postIndex > l { 68268 return io.ErrUnexpectedEOF 68269 } 68270 m.Acks = append(m.Acks, types.AlertAcknowledgement{}) 68271 if err := m.Acks[len(m.Acks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 68272 return err 68273 } 68274 iNdEx = postIndex 68275 default: 68276 iNdEx = preIndex 68277 skippy, err := skipAuthservice(dAtA[iNdEx:]) 68278 if err != nil { 68279 return err 68280 } 68281 if (skippy < 0) || (iNdEx+skippy) < 0 { 68282 return ErrInvalidLengthAuthservice 68283 } 68284 if (iNdEx + skippy) > l { 68285 return io.ErrUnexpectedEOF 68286 } 68287 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68288 iNdEx += skippy 68289 } 68290 } 68291 68292 if iNdEx > l { 68293 return io.ErrUnexpectedEOF 68294 } 68295 return nil 68296 } 68297 func (m *ClearAlertAcksRequest) Unmarshal(dAtA []byte) error { 68298 l := len(dAtA) 68299 iNdEx := 0 68300 for iNdEx < l { 68301 preIndex := iNdEx 68302 var wire uint64 68303 for shift := uint(0); ; shift += 7 { 68304 if shift >= 64 { 68305 return ErrIntOverflowAuthservice 68306 } 68307 if iNdEx >= l { 68308 return io.ErrUnexpectedEOF 68309 } 68310 b := dAtA[iNdEx] 68311 iNdEx++ 68312 wire |= uint64(b&0x7F) << shift 68313 if b < 0x80 { 68314 break 68315 } 68316 } 68317 fieldNum := int32(wire >> 3) 68318 wireType := int(wire & 0x7) 68319 if wireType == 4 { 68320 return fmt.Errorf("proto: ClearAlertAcksRequest: wiretype end group for non-group") 68321 } 68322 if fieldNum <= 0 { 68323 return fmt.Errorf("proto: ClearAlertAcksRequest: illegal tag %d (wire type %d)", fieldNum, wire) 68324 } 68325 switch fieldNum { 68326 case 1: 68327 if wireType != 2 { 68328 return fmt.Errorf("proto: wrong wireType = %d for field AlertID", wireType) 68329 } 68330 var stringLen uint64 68331 for shift := uint(0); ; shift += 7 { 68332 if shift >= 64 { 68333 return ErrIntOverflowAuthservice 68334 } 68335 if iNdEx >= l { 68336 return io.ErrUnexpectedEOF 68337 } 68338 b := dAtA[iNdEx] 68339 iNdEx++ 68340 stringLen |= uint64(b&0x7F) << shift 68341 if b < 0x80 { 68342 break 68343 } 68344 } 68345 intStringLen := int(stringLen) 68346 if intStringLen < 0 { 68347 return ErrInvalidLengthAuthservice 68348 } 68349 postIndex := iNdEx + intStringLen 68350 if postIndex < 0 { 68351 return ErrInvalidLengthAuthservice 68352 } 68353 if postIndex > l { 68354 return io.ErrUnexpectedEOF 68355 } 68356 m.AlertID = string(dAtA[iNdEx:postIndex]) 68357 iNdEx = postIndex 68358 default: 68359 iNdEx = preIndex 68360 skippy, err := skipAuthservice(dAtA[iNdEx:]) 68361 if err != nil { 68362 return err 68363 } 68364 if (skippy < 0) || (iNdEx+skippy) < 0 { 68365 return ErrInvalidLengthAuthservice 68366 } 68367 if (iNdEx + skippy) > l { 68368 return io.ErrUnexpectedEOF 68369 } 68370 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68371 iNdEx += skippy 68372 } 68373 } 68374 68375 if iNdEx > l { 68376 return io.ErrUnexpectedEOF 68377 } 68378 return nil 68379 } 68380 func (m *UpsertClusterAlertRequest) Unmarshal(dAtA []byte) error { 68381 l := len(dAtA) 68382 iNdEx := 0 68383 for iNdEx < l { 68384 preIndex := iNdEx 68385 var wire uint64 68386 for shift := uint(0); ; shift += 7 { 68387 if shift >= 64 { 68388 return ErrIntOverflowAuthservice 68389 } 68390 if iNdEx >= l { 68391 return io.ErrUnexpectedEOF 68392 } 68393 b := dAtA[iNdEx] 68394 iNdEx++ 68395 wire |= uint64(b&0x7F) << shift 68396 if b < 0x80 { 68397 break 68398 } 68399 } 68400 fieldNum := int32(wire >> 3) 68401 wireType := int(wire & 0x7) 68402 if wireType == 4 { 68403 return fmt.Errorf("proto: UpsertClusterAlertRequest: wiretype end group for non-group") 68404 } 68405 if fieldNum <= 0 { 68406 return fmt.Errorf("proto: UpsertClusterAlertRequest: illegal tag %d (wire type %d)", fieldNum, wire) 68407 } 68408 switch fieldNum { 68409 case 1: 68410 if wireType != 2 { 68411 return fmt.Errorf("proto: wrong wireType = %d for field Alert", wireType) 68412 } 68413 var msglen int 68414 for shift := uint(0); ; shift += 7 { 68415 if shift >= 64 { 68416 return ErrIntOverflowAuthservice 68417 } 68418 if iNdEx >= l { 68419 return io.ErrUnexpectedEOF 68420 } 68421 b := dAtA[iNdEx] 68422 iNdEx++ 68423 msglen |= int(b&0x7F) << shift 68424 if b < 0x80 { 68425 break 68426 } 68427 } 68428 if msglen < 0 { 68429 return ErrInvalidLengthAuthservice 68430 } 68431 postIndex := iNdEx + msglen 68432 if postIndex < 0 { 68433 return ErrInvalidLengthAuthservice 68434 } 68435 if postIndex > l { 68436 return io.ErrUnexpectedEOF 68437 } 68438 if err := m.Alert.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 68439 return err 68440 } 68441 iNdEx = postIndex 68442 default: 68443 iNdEx = preIndex 68444 skippy, err := skipAuthservice(dAtA[iNdEx:]) 68445 if err != nil { 68446 return err 68447 } 68448 if (skippy < 0) || (iNdEx+skippy) < 0 { 68449 return ErrInvalidLengthAuthservice 68450 } 68451 if (iNdEx + skippy) > l { 68452 return io.ErrUnexpectedEOF 68453 } 68454 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68455 iNdEx += skippy 68456 } 68457 } 68458 68459 if iNdEx > l { 68460 return io.ErrUnexpectedEOF 68461 } 68462 return nil 68463 } 68464 func (m *GetConnectionDiagnosticRequest) Unmarshal(dAtA []byte) error { 68465 l := len(dAtA) 68466 iNdEx := 0 68467 for iNdEx < l { 68468 preIndex := iNdEx 68469 var wire uint64 68470 for shift := uint(0); ; shift += 7 { 68471 if shift >= 64 { 68472 return ErrIntOverflowAuthservice 68473 } 68474 if iNdEx >= l { 68475 return io.ErrUnexpectedEOF 68476 } 68477 b := dAtA[iNdEx] 68478 iNdEx++ 68479 wire |= uint64(b&0x7F) << shift 68480 if b < 0x80 { 68481 break 68482 } 68483 } 68484 fieldNum := int32(wire >> 3) 68485 wireType := int(wire & 0x7) 68486 if wireType == 4 { 68487 return fmt.Errorf("proto: GetConnectionDiagnosticRequest: wiretype end group for non-group") 68488 } 68489 if fieldNum <= 0 { 68490 return fmt.Errorf("proto: GetConnectionDiagnosticRequest: illegal tag %d (wire type %d)", fieldNum, wire) 68491 } 68492 switch fieldNum { 68493 case 1: 68494 if wireType != 2 { 68495 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 68496 } 68497 var stringLen uint64 68498 for shift := uint(0); ; shift += 7 { 68499 if shift >= 64 { 68500 return ErrIntOverflowAuthservice 68501 } 68502 if iNdEx >= l { 68503 return io.ErrUnexpectedEOF 68504 } 68505 b := dAtA[iNdEx] 68506 iNdEx++ 68507 stringLen |= uint64(b&0x7F) << shift 68508 if b < 0x80 { 68509 break 68510 } 68511 } 68512 intStringLen := int(stringLen) 68513 if intStringLen < 0 { 68514 return ErrInvalidLengthAuthservice 68515 } 68516 postIndex := iNdEx + intStringLen 68517 if postIndex < 0 { 68518 return ErrInvalidLengthAuthservice 68519 } 68520 if postIndex > l { 68521 return io.ErrUnexpectedEOF 68522 } 68523 m.Name = string(dAtA[iNdEx:postIndex]) 68524 iNdEx = postIndex 68525 default: 68526 iNdEx = preIndex 68527 skippy, err := skipAuthservice(dAtA[iNdEx:]) 68528 if err != nil { 68529 return err 68530 } 68531 if (skippy < 0) || (iNdEx+skippy) < 0 { 68532 return ErrInvalidLengthAuthservice 68533 } 68534 if (iNdEx + skippy) > l { 68535 return io.ErrUnexpectedEOF 68536 } 68537 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68538 iNdEx += skippy 68539 } 68540 } 68541 68542 if iNdEx > l { 68543 return io.ErrUnexpectedEOF 68544 } 68545 return nil 68546 } 68547 func (m *AppendDiagnosticTraceRequest) Unmarshal(dAtA []byte) error { 68548 l := len(dAtA) 68549 iNdEx := 0 68550 for iNdEx < l { 68551 preIndex := iNdEx 68552 var wire uint64 68553 for shift := uint(0); ; shift += 7 { 68554 if shift >= 64 { 68555 return ErrIntOverflowAuthservice 68556 } 68557 if iNdEx >= l { 68558 return io.ErrUnexpectedEOF 68559 } 68560 b := dAtA[iNdEx] 68561 iNdEx++ 68562 wire |= uint64(b&0x7F) << shift 68563 if b < 0x80 { 68564 break 68565 } 68566 } 68567 fieldNum := int32(wire >> 3) 68568 wireType := int(wire & 0x7) 68569 if wireType == 4 { 68570 return fmt.Errorf("proto: AppendDiagnosticTraceRequest: wiretype end group for non-group") 68571 } 68572 if fieldNum <= 0 { 68573 return fmt.Errorf("proto: AppendDiagnosticTraceRequest: illegal tag %d (wire type %d)", fieldNum, wire) 68574 } 68575 switch fieldNum { 68576 case 1: 68577 if wireType != 2 { 68578 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 68579 } 68580 var stringLen uint64 68581 for shift := uint(0); ; shift += 7 { 68582 if shift >= 64 { 68583 return ErrIntOverflowAuthservice 68584 } 68585 if iNdEx >= l { 68586 return io.ErrUnexpectedEOF 68587 } 68588 b := dAtA[iNdEx] 68589 iNdEx++ 68590 stringLen |= uint64(b&0x7F) << shift 68591 if b < 0x80 { 68592 break 68593 } 68594 } 68595 intStringLen := int(stringLen) 68596 if intStringLen < 0 { 68597 return ErrInvalidLengthAuthservice 68598 } 68599 postIndex := iNdEx + intStringLen 68600 if postIndex < 0 { 68601 return ErrInvalidLengthAuthservice 68602 } 68603 if postIndex > l { 68604 return io.ErrUnexpectedEOF 68605 } 68606 m.Name = string(dAtA[iNdEx:postIndex]) 68607 iNdEx = postIndex 68608 case 2: 68609 if wireType != 2 { 68610 return fmt.Errorf("proto: wrong wireType = %d for field Trace", wireType) 68611 } 68612 var msglen int 68613 for shift := uint(0); ; shift += 7 { 68614 if shift >= 64 { 68615 return ErrIntOverflowAuthservice 68616 } 68617 if iNdEx >= l { 68618 return io.ErrUnexpectedEOF 68619 } 68620 b := dAtA[iNdEx] 68621 iNdEx++ 68622 msglen |= int(b&0x7F) << shift 68623 if b < 0x80 { 68624 break 68625 } 68626 } 68627 if msglen < 0 { 68628 return ErrInvalidLengthAuthservice 68629 } 68630 postIndex := iNdEx + msglen 68631 if postIndex < 0 { 68632 return ErrInvalidLengthAuthservice 68633 } 68634 if postIndex > l { 68635 return io.ErrUnexpectedEOF 68636 } 68637 if m.Trace == nil { 68638 m.Trace = &types.ConnectionDiagnosticTrace{} 68639 } 68640 if err := m.Trace.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 68641 return err 68642 } 68643 iNdEx = postIndex 68644 default: 68645 iNdEx = preIndex 68646 skippy, err := skipAuthservice(dAtA[iNdEx:]) 68647 if err != nil { 68648 return err 68649 } 68650 if (skippy < 0) || (iNdEx+skippy) < 0 { 68651 return ErrInvalidLengthAuthservice 68652 } 68653 if (iNdEx + skippy) > l { 68654 return io.ErrUnexpectedEOF 68655 } 68656 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68657 iNdEx += skippy 68658 } 68659 } 68660 68661 if iNdEx > l { 68662 return io.ErrUnexpectedEOF 68663 } 68664 return nil 68665 } 68666 func (m *SubmitUsageEventRequest) Unmarshal(dAtA []byte) error { 68667 l := len(dAtA) 68668 iNdEx := 0 68669 for iNdEx < l { 68670 preIndex := iNdEx 68671 var wire uint64 68672 for shift := uint(0); ; shift += 7 { 68673 if shift >= 64 { 68674 return ErrIntOverflowAuthservice 68675 } 68676 if iNdEx >= l { 68677 return io.ErrUnexpectedEOF 68678 } 68679 b := dAtA[iNdEx] 68680 iNdEx++ 68681 wire |= uint64(b&0x7F) << shift 68682 if b < 0x80 { 68683 break 68684 } 68685 } 68686 fieldNum := int32(wire >> 3) 68687 wireType := int(wire & 0x7) 68688 if wireType == 4 { 68689 return fmt.Errorf("proto: SubmitUsageEventRequest: wiretype end group for non-group") 68690 } 68691 if fieldNum <= 0 { 68692 return fmt.Errorf("proto: SubmitUsageEventRequest: illegal tag %d (wire type %d)", fieldNum, wire) 68693 } 68694 switch fieldNum { 68695 case 1: 68696 if wireType != 2 { 68697 return fmt.Errorf("proto: wrong wireType = %d for field Event", wireType) 68698 } 68699 var msglen int 68700 for shift := uint(0); ; shift += 7 { 68701 if shift >= 64 { 68702 return ErrIntOverflowAuthservice 68703 } 68704 if iNdEx >= l { 68705 return io.ErrUnexpectedEOF 68706 } 68707 b := dAtA[iNdEx] 68708 iNdEx++ 68709 msglen |= int(b&0x7F) << shift 68710 if b < 0x80 { 68711 break 68712 } 68713 } 68714 if msglen < 0 { 68715 return ErrInvalidLengthAuthservice 68716 } 68717 postIndex := iNdEx + msglen 68718 if postIndex < 0 { 68719 return ErrInvalidLengthAuthservice 68720 } 68721 if postIndex > l { 68722 return io.ErrUnexpectedEOF 68723 } 68724 if m.Event == nil { 68725 m.Event = &v12.UsageEventOneOf{} 68726 } 68727 if err := m.Event.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 68728 return err 68729 } 68730 iNdEx = postIndex 68731 default: 68732 iNdEx = preIndex 68733 skippy, err := skipAuthservice(dAtA[iNdEx:]) 68734 if err != nil { 68735 return err 68736 } 68737 if (skippy < 0) || (iNdEx+skippy) < 0 { 68738 return ErrInvalidLengthAuthservice 68739 } 68740 if (iNdEx + skippy) > l { 68741 return io.ErrUnexpectedEOF 68742 } 68743 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68744 iNdEx += skippy 68745 } 68746 } 68747 68748 if iNdEx > l { 68749 return io.ErrUnexpectedEOF 68750 } 68751 return nil 68752 } 68753 func (m *GetLicenseRequest) Unmarshal(dAtA []byte) error { 68754 l := len(dAtA) 68755 iNdEx := 0 68756 for iNdEx < l { 68757 preIndex := iNdEx 68758 var wire uint64 68759 for shift := uint(0); ; shift += 7 { 68760 if shift >= 64 { 68761 return ErrIntOverflowAuthservice 68762 } 68763 if iNdEx >= l { 68764 return io.ErrUnexpectedEOF 68765 } 68766 b := dAtA[iNdEx] 68767 iNdEx++ 68768 wire |= uint64(b&0x7F) << shift 68769 if b < 0x80 { 68770 break 68771 } 68772 } 68773 fieldNum := int32(wire >> 3) 68774 wireType := int(wire & 0x7) 68775 if wireType == 4 { 68776 return fmt.Errorf("proto: GetLicenseRequest: wiretype end group for non-group") 68777 } 68778 if fieldNum <= 0 { 68779 return fmt.Errorf("proto: GetLicenseRequest: illegal tag %d (wire type %d)", fieldNum, wire) 68780 } 68781 switch fieldNum { 68782 default: 68783 iNdEx = preIndex 68784 skippy, err := skipAuthservice(dAtA[iNdEx:]) 68785 if err != nil { 68786 return err 68787 } 68788 if (skippy < 0) || (iNdEx+skippy) < 0 { 68789 return ErrInvalidLengthAuthservice 68790 } 68791 if (iNdEx + skippy) > l { 68792 return io.ErrUnexpectedEOF 68793 } 68794 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68795 iNdEx += skippy 68796 } 68797 } 68798 68799 if iNdEx > l { 68800 return io.ErrUnexpectedEOF 68801 } 68802 return nil 68803 } 68804 func (m *ListReleasesRequest) Unmarshal(dAtA []byte) error { 68805 l := len(dAtA) 68806 iNdEx := 0 68807 for iNdEx < l { 68808 preIndex := iNdEx 68809 var wire uint64 68810 for shift := uint(0); ; shift += 7 { 68811 if shift >= 64 { 68812 return ErrIntOverflowAuthservice 68813 } 68814 if iNdEx >= l { 68815 return io.ErrUnexpectedEOF 68816 } 68817 b := dAtA[iNdEx] 68818 iNdEx++ 68819 wire |= uint64(b&0x7F) << shift 68820 if b < 0x80 { 68821 break 68822 } 68823 } 68824 fieldNum := int32(wire >> 3) 68825 wireType := int(wire & 0x7) 68826 if wireType == 4 { 68827 return fmt.Errorf("proto: ListReleasesRequest: wiretype end group for non-group") 68828 } 68829 if fieldNum <= 0 { 68830 return fmt.Errorf("proto: ListReleasesRequest: illegal tag %d (wire type %d)", fieldNum, wire) 68831 } 68832 switch fieldNum { 68833 default: 68834 iNdEx = preIndex 68835 skippy, err := skipAuthservice(dAtA[iNdEx:]) 68836 if err != nil { 68837 return err 68838 } 68839 if (skippy < 0) || (iNdEx+skippy) < 0 { 68840 return ErrInvalidLengthAuthservice 68841 } 68842 if (iNdEx + skippy) > l { 68843 return io.ErrUnexpectedEOF 68844 } 68845 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68846 iNdEx += skippy 68847 } 68848 } 68849 68850 if iNdEx > l { 68851 return io.ErrUnexpectedEOF 68852 } 68853 return nil 68854 } 68855 func (m *CreateTokenV2Request) Unmarshal(dAtA []byte) error { 68856 l := len(dAtA) 68857 iNdEx := 0 68858 for iNdEx < l { 68859 preIndex := iNdEx 68860 var wire uint64 68861 for shift := uint(0); ; shift += 7 { 68862 if shift >= 64 { 68863 return ErrIntOverflowAuthservice 68864 } 68865 if iNdEx >= l { 68866 return io.ErrUnexpectedEOF 68867 } 68868 b := dAtA[iNdEx] 68869 iNdEx++ 68870 wire |= uint64(b&0x7F) << shift 68871 if b < 0x80 { 68872 break 68873 } 68874 } 68875 fieldNum := int32(wire >> 3) 68876 wireType := int(wire & 0x7) 68877 if wireType == 4 { 68878 return fmt.Errorf("proto: CreateTokenV2Request: wiretype end group for non-group") 68879 } 68880 if fieldNum <= 0 { 68881 return fmt.Errorf("proto: CreateTokenV2Request: illegal tag %d (wire type %d)", fieldNum, wire) 68882 } 68883 switch fieldNum { 68884 case 1: 68885 if wireType != 2 { 68886 return fmt.Errorf("proto: wrong wireType = %d for field V2", wireType) 68887 } 68888 var msglen int 68889 for shift := uint(0); ; shift += 7 { 68890 if shift >= 64 { 68891 return ErrIntOverflowAuthservice 68892 } 68893 if iNdEx >= l { 68894 return io.ErrUnexpectedEOF 68895 } 68896 b := dAtA[iNdEx] 68897 iNdEx++ 68898 msglen |= int(b&0x7F) << shift 68899 if b < 0x80 { 68900 break 68901 } 68902 } 68903 if msglen < 0 { 68904 return ErrInvalidLengthAuthservice 68905 } 68906 postIndex := iNdEx + msglen 68907 if postIndex < 0 { 68908 return ErrInvalidLengthAuthservice 68909 } 68910 if postIndex > l { 68911 return io.ErrUnexpectedEOF 68912 } 68913 v := &types.ProvisionTokenV2{} 68914 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 68915 return err 68916 } 68917 m.Token = &CreateTokenV2Request_V2{v} 68918 iNdEx = postIndex 68919 default: 68920 iNdEx = preIndex 68921 skippy, err := skipAuthservice(dAtA[iNdEx:]) 68922 if err != nil { 68923 return err 68924 } 68925 if (skippy < 0) || (iNdEx+skippy) < 0 { 68926 return ErrInvalidLengthAuthservice 68927 } 68928 if (iNdEx + skippy) > l { 68929 return io.ErrUnexpectedEOF 68930 } 68931 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 68932 iNdEx += skippy 68933 } 68934 } 68935 68936 if iNdEx > l { 68937 return io.ErrUnexpectedEOF 68938 } 68939 return nil 68940 } 68941 func (m *UpsertTokenV2Request) Unmarshal(dAtA []byte) error { 68942 l := len(dAtA) 68943 iNdEx := 0 68944 for iNdEx < l { 68945 preIndex := iNdEx 68946 var wire uint64 68947 for shift := uint(0); ; shift += 7 { 68948 if shift >= 64 { 68949 return ErrIntOverflowAuthservice 68950 } 68951 if iNdEx >= l { 68952 return io.ErrUnexpectedEOF 68953 } 68954 b := dAtA[iNdEx] 68955 iNdEx++ 68956 wire |= uint64(b&0x7F) << shift 68957 if b < 0x80 { 68958 break 68959 } 68960 } 68961 fieldNum := int32(wire >> 3) 68962 wireType := int(wire & 0x7) 68963 if wireType == 4 { 68964 return fmt.Errorf("proto: UpsertTokenV2Request: wiretype end group for non-group") 68965 } 68966 if fieldNum <= 0 { 68967 return fmt.Errorf("proto: UpsertTokenV2Request: illegal tag %d (wire type %d)", fieldNum, wire) 68968 } 68969 switch fieldNum { 68970 case 1: 68971 if wireType != 2 { 68972 return fmt.Errorf("proto: wrong wireType = %d for field V2", wireType) 68973 } 68974 var msglen int 68975 for shift := uint(0); ; shift += 7 { 68976 if shift >= 64 { 68977 return ErrIntOverflowAuthservice 68978 } 68979 if iNdEx >= l { 68980 return io.ErrUnexpectedEOF 68981 } 68982 b := dAtA[iNdEx] 68983 iNdEx++ 68984 msglen |= int(b&0x7F) << shift 68985 if b < 0x80 { 68986 break 68987 } 68988 } 68989 if msglen < 0 { 68990 return ErrInvalidLengthAuthservice 68991 } 68992 postIndex := iNdEx + msglen 68993 if postIndex < 0 { 68994 return ErrInvalidLengthAuthservice 68995 } 68996 if postIndex > l { 68997 return io.ErrUnexpectedEOF 68998 } 68999 v := &types.ProvisionTokenV2{} 69000 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 69001 return err 69002 } 69003 m.Token = &UpsertTokenV2Request_V2{v} 69004 iNdEx = postIndex 69005 default: 69006 iNdEx = preIndex 69007 skippy, err := skipAuthservice(dAtA[iNdEx:]) 69008 if err != nil { 69009 return err 69010 } 69011 if (skippy < 0) || (iNdEx+skippy) < 0 { 69012 return ErrInvalidLengthAuthservice 69013 } 69014 if (iNdEx + skippy) > l { 69015 return io.ErrUnexpectedEOF 69016 } 69017 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69018 iNdEx += skippy 69019 } 69020 } 69021 69022 if iNdEx > l { 69023 return io.ErrUnexpectedEOF 69024 } 69025 return nil 69026 } 69027 func (m *GetHeadlessAuthenticationRequest) Unmarshal(dAtA []byte) error { 69028 l := len(dAtA) 69029 iNdEx := 0 69030 for iNdEx < l { 69031 preIndex := iNdEx 69032 var wire uint64 69033 for shift := uint(0); ; shift += 7 { 69034 if shift >= 64 { 69035 return ErrIntOverflowAuthservice 69036 } 69037 if iNdEx >= l { 69038 return io.ErrUnexpectedEOF 69039 } 69040 b := dAtA[iNdEx] 69041 iNdEx++ 69042 wire |= uint64(b&0x7F) << shift 69043 if b < 0x80 { 69044 break 69045 } 69046 } 69047 fieldNum := int32(wire >> 3) 69048 wireType := int(wire & 0x7) 69049 if wireType == 4 { 69050 return fmt.Errorf("proto: GetHeadlessAuthenticationRequest: wiretype end group for non-group") 69051 } 69052 if fieldNum <= 0 { 69053 return fmt.Errorf("proto: GetHeadlessAuthenticationRequest: illegal tag %d (wire type %d)", fieldNum, wire) 69054 } 69055 switch fieldNum { 69056 case 1: 69057 if wireType != 2 { 69058 return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) 69059 } 69060 var stringLen uint64 69061 for shift := uint(0); ; shift += 7 { 69062 if shift >= 64 { 69063 return ErrIntOverflowAuthservice 69064 } 69065 if iNdEx >= l { 69066 return io.ErrUnexpectedEOF 69067 } 69068 b := dAtA[iNdEx] 69069 iNdEx++ 69070 stringLen |= uint64(b&0x7F) << shift 69071 if b < 0x80 { 69072 break 69073 } 69074 } 69075 intStringLen := int(stringLen) 69076 if intStringLen < 0 { 69077 return ErrInvalidLengthAuthservice 69078 } 69079 postIndex := iNdEx + intStringLen 69080 if postIndex < 0 { 69081 return ErrInvalidLengthAuthservice 69082 } 69083 if postIndex > l { 69084 return io.ErrUnexpectedEOF 69085 } 69086 m.Id = string(dAtA[iNdEx:postIndex]) 69087 iNdEx = postIndex 69088 default: 69089 iNdEx = preIndex 69090 skippy, err := skipAuthservice(dAtA[iNdEx:]) 69091 if err != nil { 69092 return err 69093 } 69094 if (skippy < 0) || (iNdEx+skippy) < 0 { 69095 return ErrInvalidLengthAuthservice 69096 } 69097 if (iNdEx + skippy) > l { 69098 return io.ErrUnexpectedEOF 69099 } 69100 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69101 iNdEx += skippy 69102 } 69103 } 69104 69105 if iNdEx > l { 69106 return io.ErrUnexpectedEOF 69107 } 69108 return nil 69109 } 69110 func (m *UpdateHeadlessAuthenticationStateRequest) Unmarshal(dAtA []byte) error { 69111 l := len(dAtA) 69112 iNdEx := 0 69113 for iNdEx < l { 69114 preIndex := iNdEx 69115 var wire uint64 69116 for shift := uint(0); ; shift += 7 { 69117 if shift >= 64 { 69118 return ErrIntOverflowAuthservice 69119 } 69120 if iNdEx >= l { 69121 return io.ErrUnexpectedEOF 69122 } 69123 b := dAtA[iNdEx] 69124 iNdEx++ 69125 wire |= uint64(b&0x7F) << shift 69126 if b < 0x80 { 69127 break 69128 } 69129 } 69130 fieldNum := int32(wire >> 3) 69131 wireType := int(wire & 0x7) 69132 if wireType == 4 { 69133 return fmt.Errorf("proto: UpdateHeadlessAuthenticationStateRequest: wiretype end group for non-group") 69134 } 69135 if fieldNum <= 0 { 69136 return fmt.Errorf("proto: UpdateHeadlessAuthenticationStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) 69137 } 69138 switch fieldNum { 69139 case 1: 69140 if wireType != 2 { 69141 return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) 69142 } 69143 var stringLen uint64 69144 for shift := uint(0); ; shift += 7 { 69145 if shift >= 64 { 69146 return ErrIntOverflowAuthservice 69147 } 69148 if iNdEx >= l { 69149 return io.ErrUnexpectedEOF 69150 } 69151 b := dAtA[iNdEx] 69152 iNdEx++ 69153 stringLen |= uint64(b&0x7F) << shift 69154 if b < 0x80 { 69155 break 69156 } 69157 } 69158 intStringLen := int(stringLen) 69159 if intStringLen < 0 { 69160 return ErrInvalidLengthAuthservice 69161 } 69162 postIndex := iNdEx + intStringLen 69163 if postIndex < 0 { 69164 return ErrInvalidLengthAuthservice 69165 } 69166 if postIndex > l { 69167 return io.ErrUnexpectedEOF 69168 } 69169 m.Id = string(dAtA[iNdEx:postIndex]) 69170 iNdEx = postIndex 69171 case 2: 69172 if wireType != 0 { 69173 return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) 69174 } 69175 m.State = 0 69176 for shift := uint(0); ; shift += 7 { 69177 if shift >= 64 { 69178 return ErrIntOverflowAuthservice 69179 } 69180 if iNdEx >= l { 69181 return io.ErrUnexpectedEOF 69182 } 69183 b := dAtA[iNdEx] 69184 iNdEx++ 69185 m.State |= types.HeadlessAuthenticationState(b&0x7F) << shift 69186 if b < 0x80 { 69187 break 69188 } 69189 } 69190 case 3: 69191 if wireType != 2 { 69192 return fmt.Errorf("proto: wrong wireType = %d for field MfaResponse", wireType) 69193 } 69194 var msglen int 69195 for shift := uint(0); ; shift += 7 { 69196 if shift >= 64 { 69197 return ErrIntOverflowAuthservice 69198 } 69199 if iNdEx >= l { 69200 return io.ErrUnexpectedEOF 69201 } 69202 b := dAtA[iNdEx] 69203 iNdEx++ 69204 msglen |= int(b&0x7F) << shift 69205 if b < 0x80 { 69206 break 69207 } 69208 } 69209 if msglen < 0 { 69210 return ErrInvalidLengthAuthservice 69211 } 69212 postIndex := iNdEx + msglen 69213 if postIndex < 0 { 69214 return ErrInvalidLengthAuthservice 69215 } 69216 if postIndex > l { 69217 return io.ErrUnexpectedEOF 69218 } 69219 if m.MfaResponse == nil { 69220 m.MfaResponse = &MFAAuthenticateResponse{} 69221 } 69222 if err := m.MfaResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 69223 return err 69224 } 69225 iNdEx = postIndex 69226 default: 69227 iNdEx = preIndex 69228 skippy, err := skipAuthservice(dAtA[iNdEx:]) 69229 if err != nil { 69230 return err 69231 } 69232 if (skippy < 0) || (iNdEx+skippy) < 0 { 69233 return ErrInvalidLengthAuthservice 69234 } 69235 if (iNdEx + skippy) > l { 69236 return io.ErrUnexpectedEOF 69237 } 69238 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69239 iNdEx += skippy 69240 } 69241 } 69242 69243 if iNdEx > l { 69244 return io.ErrUnexpectedEOF 69245 } 69246 return nil 69247 } 69248 func (m *ExportUpgradeWindowsRequest) Unmarshal(dAtA []byte) error { 69249 l := len(dAtA) 69250 iNdEx := 0 69251 for iNdEx < l { 69252 preIndex := iNdEx 69253 var wire uint64 69254 for shift := uint(0); ; shift += 7 { 69255 if shift >= 64 { 69256 return ErrIntOverflowAuthservice 69257 } 69258 if iNdEx >= l { 69259 return io.ErrUnexpectedEOF 69260 } 69261 b := dAtA[iNdEx] 69262 iNdEx++ 69263 wire |= uint64(b&0x7F) << shift 69264 if b < 0x80 { 69265 break 69266 } 69267 } 69268 fieldNum := int32(wire >> 3) 69269 wireType := int(wire & 0x7) 69270 if wireType == 4 { 69271 return fmt.Errorf("proto: ExportUpgradeWindowsRequest: wiretype end group for non-group") 69272 } 69273 if fieldNum <= 0 { 69274 return fmt.Errorf("proto: ExportUpgradeWindowsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 69275 } 69276 switch fieldNum { 69277 case 1: 69278 if wireType != 2 { 69279 return fmt.Errorf("proto: wrong wireType = %d for field TeleportVersion", wireType) 69280 } 69281 var stringLen uint64 69282 for shift := uint(0); ; shift += 7 { 69283 if shift >= 64 { 69284 return ErrIntOverflowAuthservice 69285 } 69286 if iNdEx >= l { 69287 return io.ErrUnexpectedEOF 69288 } 69289 b := dAtA[iNdEx] 69290 iNdEx++ 69291 stringLen |= uint64(b&0x7F) << shift 69292 if b < 0x80 { 69293 break 69294 } 69295 } 69296 intStringLen := int(stringLen) 69297 if intStringLen < 0 { 69298 return ErrInvalidLengthAuthservice 69299 } 69300 postIndex := iNdEx + intStringLen 69301 if postIndex < 0 { 69302 return ErrInvalidLengthAuthservice 69303 } 69304 if postIndex > l { 69305 return io.ErrUnexpectedEOF 69306 } 69307 m.TeleportVersion = string(dAtA[iNdEx:postIndex]) 69308 iNdEx = postIndex 69309 case 2: 69310 if wireType != 2 { 69311 return fmt.Errorf("proto: wrong wireType = %d for field UpgraderKind", wireType) 69312 } 69313 var stringLen uint64 69314 for shift := uint(0); ; shift += 7 { 69315 if shift >= 64 { 69316 return ErrIntOverflowAuthservice 69317 } 69318 if iNdEx >= l { 69319 return io.ErrUnexpectedEOF 69320 } 69321 b := dAtA[iNdEx] 69322 iNdEx++ 69323 stringLen |= uint64(b&0x7F) << shift 69324 if b < 0x80 { 69325 break 69326 } 69327 } 69328 intStringLen := int(stringLen) 69329 if intStringLen < 0 { 69330 return ErrInvalidLengthAuthservice 69331 } 69332 postIndex := iNdEx + intStringLen 69333 if postIndex < 0 { 69334 return ErrInvalidLengthAuthservice 69335 } 69336 if postIndex > l { 69337 return io.ErrUnexpectedEOF 69338 } 69339 m.UpgraderKind = string(dAtA[iNdEx:postIndex]) 69340 iNdEx = postIndex 69341 default: 69342 iNdEx = preIndex 69343 skippy, err := skipAuthservice(dAtA[iNdEx:]) 69344 if err != nil { 69345 return err 69346 } 69347 if (skippy < 0) || (iNdEx+skippy) < 0 { 69348 return ErrInvalidLengthAuthservice 69349 } 69350 if (iNdEx + skippy) > l { 69351 return io.ErrUnexpectedEOF 69352 } 69353 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69354 iNdEx += skippy 69355 } 69356 } 69357 69358 if iNdEx > l { 69359 return io.ErrUnexpectedEOF 69360 } 69361 return nil 69362 } 69363 func (m *ExportUpgradeWindowsResponse) Unmarshal(dAtA []byte) error { 69364 l := len(dAtA) 69365 iNdEx := 0 69366 for iNdEx < l { 69367 preIndex := iNdEx 69368 var wire uint64 69369 for shift := uint(0); ; shift += 7 { 69370 if shift >= 64 { 69371 return ErrIntOverflowAuthservice 69372 } 69373 if iNdEx >= l { 69374 return io.ErrUnexpectedEOF 69375 } 69376 b := dAtA[iNdEx] 69377 iNdEx++ 69378 wire |= uint64(b&0x7F) << shift 69379 if b < 0x80 { 69380 break 69381 } 69382 } 69383 fieldNum := int32(wire >> 3) 69384 wireType := int(wire & 0x7) 69385 if wireType == 4 { 69386 return fmt.Errorf("proto: ExportUpgradeWindowsResponse: wiretype end group for non-group") 69387 } 69388 if fieldNum <= 0 { 69389 return fmt.Errorf("proto: ExportUpgradeWindowsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 69390 } 69391 switch fieldNum { 69392 case 1: 69393 if wireType != 2 { 69394 return fmt.Errorf("proto: wrong wireType = %d for field CanonicalSchedule", wireType) 69395 } 69396 var msglen int 69397 for shift := uint(0); ; shift += 7 { 69398 if shift >= 64 { 69399 return ErrIntOverflowAuthservice 69400 } 69401 if iNdEx >= l { 69402 return io.ErrUnexpectedEOF 69403 } 69404 b := dAtA[iNdEx] 69405 iNdEx++ 69406 msglen |= int(b&0x7F) << shift 69407 if b < 0x80 { 69408 break 69409 } 69410 } 69411 if msglen < 0 { 69412 return ErrInvalidLengthAuthservice 69413 } 69414 postIndex := iNdEx + msglen 69415 if postIndex < 0 { 69416 return ErrInvalidLengthAuthservice 69417 } 69418 if postIndex > l { 69419 return io.ErrUnexpectedEOF 69420 } 69421 if m.CanonicalSchedule == nil { 69422 m.CanonicalSchedule = &types.AgentUpgradeSchedule{} 69423 } 69424 if err := m.CanonicalSchedule.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 69425 return err 69426 } 69427 iNdEx = postIndex 69428 case 2: 69429 if wireType != 2 { 69430 return fmt.Errorf("proto: wrong wireType = %d for field KubeControllerSchedule", wireType) 69431 } 69432 var stringLen uint64 69433 for shift := uint(0); ; shift += 7 { 69434 if shift >= 64 { 69435 return ErrIntOverflowAuthservice 69436 } 69437 if iNdEx >= l { 69438 return io.ErrUnexpectedEOF 69439 } 69440 b := dAtA[iNdEx] 69441 iNdEx++ 69442 stringLen |= uint64(b&0x7F) << shift 69443 if b < 0x80 { 69444 break 69445 } 69446 } 69447 intStringLen := int(stringLen) 69448 if intStringLen < 0 { 69449 return ErrInvalidLengthAuthservice 69450 } 69451 postIndex := iNdEx + intStringLen 69452 if postIndex < 0 { 69453 return ErrInvalidLengthAuthservice 69454 } 69455 if postIndex > l { 69456 return io.ErrUnexpectedEOF 69457 } 69458 m.KubeControllerSchedule = string(dAtA[iNdEx:postIndex]) 69459 iNdEx = postIndex 69460 case 3: 69461 if wireType != 2 { 69462 return fmt.Errorf("proto: wrong wireType = %d for field SystemdUnitSchedule", wireType) 69463 } 69464 var stringLen uint64 69465 for shift := uint(0); ; shift += 7 { 69466 if shift >= 64 { 69467 return ErrIntOverflowAuthservice 69468 } 69469 if iNdEx >= l { 69470 return io.ErrUnexpectedEOF 69471 } 69472 b := dAtA[iNdEx] 69473 iNdEx++ 69474 stringLen |= uint64(b&0x7F) << shift 69475 if b < 0x80 { 69476 break 69477 } 69478 } 69479 intStringLen := int(stringLen) 69480 if intStringLen < 0 { 69481 return ErrInvalidLengthAuthservice 69482 } 69483 postIndex := iNdEx + intStringLen 69484 if postIndex < 0 { 69485 return ErrInvalidLengthAuthservice 69486 } 69487 if postIndex > l { 69488 return io.ErrUnexpectedEOF 69489 } 69490 m.SystemdUnitSchedule = string(dAtA[iNdEx:postIndex]) 69491 iNdEx = postIndex 69492 default: 69493 iNdEx = preIndex 69494 skippy, err := skipAuthservice(dAtA[iNdEx:]) 69495 if err != nil { 69496 return err 69497 } 69498 if (skippy < 0) || (iNdEx+skippy) < 0 { 69499 return ErrInvalidLengthAuthservice 69500 } 69501 if (iNdEx + skippy) > l { 69502 return io.ErrUnexpectedEOF 69503 } 69504 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69505 iNdEx += skippy 69506 } 69507 } 69508 69509 if iNdEx > l { 69510 return io.ErrUnexpectedEOF 69511 } 69512 return nil 69513 } 69514 func (m *ListAccessRequestsRequest) Unmarshal(dAtA []byte) error { 69515 l := len(dAtA) 69516 iNdEx := 0 69517 for iNdEx < l { 69518 preIndex := iNdEx 69519 var wire uint64 69520 for shift := uint(0); ; shift += 7 { 69521 if shift >= 64 { 69522 return ErrIntOverflowAuthservice 69523 } 69524 if iNdEx >= l { 69525 return io.ErrUnexpectedEOF 69526 } 69527 b := dAtA[iNdEx] 69528 iNdEx++ 69529 wire |= uint64(b&0x7F) << shift 69530 if b < 0x80 { 69531 break 69532 } 69533 } 69534 fieldNum := int32(wire >> 3) 69535 wireType := int(wire & 0x7) 69536 if wireType == 4 { 69537 return fmt.Errorf("proto: ListAccessRequestsRequest: wiretype end group for non-group") 69538 } 69539 if fieldNum <= 0 { 69540 return fmt.Errorf("proto: ListAccessRequestsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 69541 } 69542 switch fieldNum { 69543 case 1: 69544 if wireType != 2 { 69545 return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType) 69546 } 69547 var msglen int 69548 for shift := uint(0); ; shift += 7 { 69549 if shift >= 64 { 69550 return ErrIntOverflowAuthservice 69551 } 69552 if iNdEx >= l { 69553 return io.ErrUnexpectedEOF 69554 } 69555 b := dAtA[iNdEx] 69556 iNdEx++ 69557 msglen |= int(b&0x7F) << shift 69558 if b < 0x80 { 69559 break 69560 } 69561 } 69562 if msglen < 0 { 69563 return ErrInvalidLengthAuthservice 69564 } 69565 postIndex := iNdEx + msglen 69566 if postIndex < 0 { 69567 return ErrInvalidLengthAuthservice 69568 } 69569 if postIndex > l { 69570 return io.ErrUnexpectedEOF 69571 } 69572 if m.Filter == nil { 69573 m.Filter = &types.AccessRequestFilter{} 69574 } 69575 if err := m.Filter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 69576 return err 69577 } 69578 iNdEx = postIndex 69579 case 2: 69580 if wireType != 0 { 69581 return fmt.Errorf("proto: wrong wireType = %d for field Sort", wireType) 69582 } 69583 m.Sort = 0 69584 for shift := uint(0); ; shift += 7 { 69585 if shift >= 64 { 69586 return ErrIntOverflowAuthservice 69587 } 69588 if iNdEx >= l { 69589 return io.ErrUnexpectedEOF 69590 } 69591 b := dAtA[iNdEx] 69592 iNdEx++ 69593 m.Sort |= AccessRequestSort(b&0x7F) << shift 69594 if b < 0x80 { 69595 break 69596 } 69597 } 69598 case 3: 69599 if wireType != 0 { 69600 return fmt.Errorf("proto: wrong wireType = %d for field Descending", wireType) 69601 } 69602 var v int 69603 for shift := uint(0); ; shift += 7 { 69604 if shift >= 64 { 69605 return ErrIntOverflowAuthservice 69606 } 69607 if iNdEx >= l { 69608 return io.ErrUnexpectedEOF 69609 } 69610 b := dAtA[iNdEx] 69611 iNdEx++ 69612 v |= int(b&0x7F) << shift 69613 if b < 0x80 { 69614 break 69615 } 69616 } 69617 m.Descending = bool(v != 0) 69618 case 4: 69619 if wireType != 0 { 69620 return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) 69621 } 69622 m.Limit = 0 69623 for shift := uint(0); ; shift += 7 { 69624 if shift >= 64 { 69625 return ErrIntOverflowAuthservice 69626 } 69627 if iNdEx >= l { 69628 return io.ErrUnexpectedEOF 69629 } 69630 b := dAtA[iNdEx] 69631 iNdEx++ 69632 m.Limit |= int32(b&0x7F) << shift 69633 if b < 0x80 { 69634 break 69635 } 69636 } 69637 case 5: 69638 if wireType != 2 { 69639 return fmt.Errorf("proto: wrong wireType = %d for field StartKey", wireType) 69640 } 69641 var stringLen uint64 69642 for shift := uint(0); ; shift += 7 { 69643 if shift >= 64 { 69644 return ErrIntOverflowAuthservice 69645 } 69646 if iNdEx >= l { 69647 return io.ErrUnexpectedEOF 69648 } 69649 b := dAtA[iNdEx] 69650 iNdEx++ 69651 stringLen |= uint64(b&0x7F) << shift 69652 if b < 0x80 { 69653 break 69654 } 69655 } 69656 intStringLen := int(stringLen) 69657 if intStringLen < 0 { 69658 return ErrInvalidLengthAuthservice 69659 } 69660 postIndex := iNdEx + intStringLen 69661 if postIndex < 0 { 69662 return ErrInvalidLengthAuthservice 69663 } 69664 if postIndex > l { 69665 return io.ErrUnexpectedEOF 69666 } 69667 m.StartKey = string(dAtA[iNdEx:postIndex]) 69668 iNdEx = postIndex 69669 default: 69670 iNdEx = preIndex 69671 skippy, err := skipAuthservice(dAtA[iNdEx:]) 69672 if err != nil { 69673 return err 69674 } 69675 if (skippy < 0) || (iNdEx+skippy) < 0 { 69676 return ErrInvalidLengthAuthservice 69677 } 69678 if (iNdEx + skippy) > l { 69679 return io.ErrUnexpectedEOF 69680 } 69681 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69682 iNdEx += skippy 69683 } 69684 } 69685 69686 if iNdEx > l { 69687 return io.ErrUnexpectedEOF 69688 } 69689 return nil 69690 } 69691 func (m *ListAccessRequestsResponse) Unmarshal(dAtA []byte) error { 69692 l := len(dAtA) 69693 iNdEx := 0 69694 for iNdEx < l { 69695 preIndex := iNdEx 69696 var wire uint64 69697 for shift := uint(0); ; shift += 7 { 69698 if shift >= 64 { 69699 return ErrIntOverflowAuthservice 69700 } 69701 if iNdEx >= l { 69702 return io.ErrUnexpectedEOF 69703 } 69704 b := dAtA[iNdEx] 69705 iNdEx++ 69706 wire |= uint64(b&0x7F) << shift 69707 if b < 0x80 { 69708 break 69709 } 69710 } 69711 fieldNum := int32(wire >> 3) 69712 wireType := int(wire & 0x7) 69713 if wireType == 4 { 69714 return fmt.Errorf("proto: ListAccessRequestsResponse: wiretype end group for non-group") 69715 } 69716 if fieldNum <= 0 { 69717 return fmt.Errorf("proto: ListAccessRequestsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 69718 } 69719 switch fieldNum { 69720 case 1: 69721 if wireType != 2 { 69722 return fmt.Errorf("proto: wrong wireType = %d for field AccessRequests", wireType) 69723 } 69724 var msglen int 69725 for shift := uint(0); ; shift += 7 { 69726 if shift >= 64 { 69727 return ErrIntOverflowAuthservice 69728 } 69729 if iNdEx >= l { 69730 return io.ErrUnexpectedEOF 69731 } 69732 b := dAtA[iNdEx] 69733 iNdEx++ 69734 msglen |= int(b&0x7F) << shift 69735 if b < 0x80 { 69736 break 69737 } 69738 } 69739 if msglen < 0 { 69740 return ErrInvalidLengthAuthservice 69741 } 69742 postIndex := iNdEx + msglen 69743 if postIndex < 0 { 69744 return ErrInvalidLengthAuthservice 69745 } 69746 if postIndex > l { 69747 return io.ErrUnexpectedEOF 69748 } 69749 m.AccessRequests = append(m.AccessRequests, &types.AccessRequestV3{}) 69750 if err := m.AccessRequests[len(m.AccessRequests)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 69751 return err 69752 } 69753 iNdEx = postIndex 69754 case 2: 69755 if wireType != 2 { 69756 return fmt.Errorf("proto: wrong wireType = %d for field NextKey", wireType) 69757 } 69758 var stringLen uint64 69759 for shift := uint(0); ; shift += 7 { 69760 if shift >= 64 { 69761 return ErrIntOverflowAuthservice 69762 } 69763 if iNdEx >= l { 69764 return io.ErrUnexpectedEOF 69765 } 69766 b := dAtA[iNdEx] 69767 iNdEx++ 69768 stringLen |= uint64(b&0x7F) << shift 69769 if b < 0x80 { 69770 break 69771 } 69772 } 69773 intStringLen := int(stringLen) 69774 if intStringLen < 0 { 69775 return ErrInvalidLengthAuthservice 69776 } 69777 postIndex := iNdEx + intStringLen 69778 if postIndex < 0 { 69779 return ErrInvalidLengthAuthservice 69780 } 69781 if postIndex > l { 69782 return io.ErrUnexpectedEOF 69783 } 69784 m.NextKey = string(dAtA[iNdEx:postIndex]) 69785 iNdEx = postIndex 69786 default: 69787 iNdEx = preIndex 69788 skippy, err := skipAuthservice(dAtA[iNdEx:]) 69789 if err != nil { 69790 return err 69791 } 69792 if (skippy < 0) || (iNdEx+skippy) < 0 { 69793 return ErrInvalidLengthAuthservice 69794 } 69795 if (iNdEx + skippy) > l { 69796 return io.ErrUnexpectedEOF 69797 } 69798 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69799 iNdEx += skippy 69800 } 69801 } 69802 69803 if iNdEx > l { 69804 return io.ErrUnexpectedEOF 69805 } 69806 return nil 69807 } 69808 func (m *AccessRequestAllowedPromotionRequest) Unmarshal(dAtA []byte) error { 69809 l := len(dAtA) 69810 iNdEx := 0 69811 for iNdEx < l { 69812 preIndex := iNdEx 69813 var wire uint64 69814 for shift := uint(0); ; shift += 7 { 69815 if shift >= 64 { 69816 return ErrIntOverflowAuthservice 69817 } 69818 if iNdEx >= l { 69819 return io.ErrUnexpectedEOF 69820 } 69821 b := dAtA[iNdEx] 69822 iNdEx++ 69823 wire |= uint64(b&0x7F) << shift 69824 if b < 0x80 { 69825 break 69826 } 69827 } 69828 fieldNum := int32(wire >> 3) 69829 wireType := int(wire & 0x7) 69830 if wireType == 4 { 69831 return fmt.Errorf("proto: AccessRequestAllowedPromotionRequest: wiretype end group for non-group") 69832 } 69833 if fieldNum <= 0 { 69834 return fmt.Errorf("proto: AccessRequestAllowedPromotionRequest: illegal tag %d (wire type %d)", fieldNum, wire) 69835 } 69836 switch fieldNum { 69837 case 1: 69838 if wireType != 2 { 69839 return fmt.Errorf("proto: wrong wireType = %d for field AccessRequestID", wireType) 69840 } 69841 var stringLen uint64 69842 for shift := uint(0); ; shift += 7 { 69843 if shift >= 64 { 69844 return ErrIntOverflowAuthservice 69845 } 69846 if iNdEx >= l { 69847 return io.ErrUnexpectedEOF 69848 } 69849 b := dAtA[iNdEx] 69850 iNdEx++ 69851 stringLen |= uint64(b&0x7F) << shift 69852 if b < 0x80 { 69853 break 69854 } 69855 } 69856 intStringLen := int(stringLen) 69857 if intStringLen < 0 { 69858 return ErrInvalidLengthAuthservice 69859 } 69860 postIndex := iNdEx + intStringLen 69861 if postIndex < 0 { 69862 return ErrInvalidLengthAuthservice 69863 } 69864 if postIndex > l { 69865 return io.ErrUnexpectedEOF 69866 } 69867 m.AccessRequestID = string(dAtA[iNdEx:postIndex]) 69868 iNdEx = postIndex 69869 default: 69870 iNdEx = preIndex 69871 skippy, err := skipAuthservice(dAtA[iNdEx:]) 69872 if err != nil { 69873 return err 69874 } 69875 if (skippy < 0) || (iNdEx+skippy) < 0 { 69876 return ErrInvalidLengthAuthservice 69877 } 69878 if (iNdEx + skippy) > l { 69879 return io.ErrUnexpectedEOF 69880 } 69881 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69882 iNdEx += skippy 69883 } 69884 } 69885 69886 if iNdEx > l { 69887 return io.ErrUnexpectedEOF 69888 } 69889 return nil 69890 } 69891 func (m *AccessRequestAllowedPromotionResponse) Unmarshal(dAtA []byte) error { 69892 l := len(dAtA) 69893 iNdEx := 0 69894 for iNdEx < l { 69895 preIndex := iNdEx 69896 var wire uint64 69897 for shift := uint(0); ; shift += 7 { 69898 if shift >= 64 { 69899 return ErrIntOverflowAuthservice 69900 } 69901 if iNdEx >= l { 69902 return io.ErrUnexpectedEOF 69903 } 69904 b := dAtA[iNdEx] 69905 iNdEx++ 69906 wire |= uint64(b&0x7F) << shift 69907 if b < 0x80 { 69908 break 69909 } 69910 } 69911 fieldNum := int32(wire >> 3) 69912 wireType := int(wire & 0x7) 69913 if wireType == 4 { 69914 return fmt.Errorf("proto: AccessRequestAllowedPromotionResponse: wiretype end group for non-group") 69915 } 69916 if fieldNum <= 0 { 69917 return fmt.Errorf("proto: AccessRequestAllowedPromotionResponse: illegal tag %d (wire type %d)", fieldNum, wire) 69918 } 69919 switch fieldNum { 69920 case 1: 69921 if wireType != 2 { 69922 return fmt.Errorf("proto: wrong wireType = %d for field AllowedPromotions", wireType) 69923 } 69924 var msglen int 69925 for shift := uint(0); ; shift += 7 { 69926 if shift >= 64 { 69927 return ErrIntOverflowAuthservice 69928 } 69929 if iNdEx >= l { 69930 return io.ErrUnexpectedEOF 69931 } 69932 b := dAtA[iNdEx] 69933 iNdEx++ 69934 msglen |= int(b&0x7F) << shift 69935 if b < 0x80 { 69936 break 69937 } 69938 } 69939 if msglen < 0 { 69940 return ErrInvalidLengthAuthservice 69941 } 69942 postIndex := iNdEx + msglen 69943 if postIndex < 0 { 69944 return ErrInvalidLengthAuthservice 69945 } 69946 if postIndex > l { 69947 return io.ErrUnexpectedEOF 69948 } 69949 if m.AllowedPromotions == nil { 69950 m.AllowedPromotions = &types.AccessRequestAllowedPromotions{} 69951 } 69952 if err := m.AllowedPromotions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 69953 return err 69954 } 69955 iNdEx = postIndex 69956 default: 69957 iNdEx = preIndex 69958 skippy, err := skipAuthservice(dAtA[iNdEx:]) 69959 if err != nil { 69960 return err 69961 } 69962 if (skippy < 0) || (iNdEx+skippy) < 0 { 69963 return ErrInvalidLengthAuthservice 69964 } 69965 if (iNdEx + skippy) > l { 69966 return io.ErrUnexpectedEOF 69967 } 69968 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 69969 iNdEx += skippy 69970 } 69971 } 69972 69973 if iNdEx > l { 69974 return io.ErrUnexpectedEOF 69975 } 69976 return nil 69977 } 69978 func skipAuthservice(dAtA []byte) (n int, err error) { 69979 l := len(dAtA) 69980 iNdEx := 0 69981 depth := 0 69982 for iNdEx < l { 69983 var wire uint64 69984 for shift := uint(0); ; shift += 7 { 69985 if shift >= 64 { 69986 return 0, ErrIntOverflowAuthservice 69987 } 69988 if iNdEx >= l { 69989 return 0, io.ErrUnexpectedEOF 69990 } 69991 b := dAtA[iNdEx] 69992 iNdEx++ 69993 wire |= (uint64(b) & 0x7F) << shift 69994 if b < 0x80 { 69995 break 69996 } 69997 } 69998 wireType := int(wire & 0x7) 69999 switch wireType { 70000 case 0: 70001 for shift := uint(0); ; shift += 7 { 70002 if shift >= 64 { 70003 return 0, ErrIntOverflowAuthservice 70004 } 70005 if iNdEx >= l { 70006 return 0, io.ErrUnexpectedEOF 70007 } 70008 iNdEx++ 70009 if dAtA[iNdEx-1] < 0x80 { 70010 break 70011 } 70012 } 70013 case 1: 70014 iNdEx += 8 70015 case 2: 70016 var length int 70017 for shift := uint(0); ; shift += 7 { 70018 if shift >= 64 { 70019 return 0, ErrIntOverflowAuthservice 70020 } 70021 if iNdEx >= l { 70022 return 0, io.ErrUnexpectedEOF 70023 } 70024 b := dAtA[iNdEx] 70025 iNdEx++ 70026 length |= (int(b) & 0x7F) << shift 70027 if b < 0x80 { 70028 break 70029 } 70030 } 70031 if length < 0 { 70032 return 0, ErrInvalidLengthAuthservice 70033 } 70034 iNdEx += length 70035 case 3: 70036 depth++ 70037 case 4: 70038 if depth == 0 { 70039 return 0, ErrUnexpectedEndOfGroupAuthservice 70040 } 70041 depth-- 70042 case 5: 70043 iNdEx += 4 70044 default: 70045 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 70046 } 70047 if iNdEx < 0 { 70048 return 0, ErrInvalidLengthAuthservice 70049 } 70050 if depth == 0 { 70051 return iNdEx, nil 70052 } 70053 } 70054 return 0, io.ErrUnexpectedEOF 70055 } 70056 70057 var ( 70058 ErrInvalidLengthAuthservice = fmt.Errorf("proto: negative length found during unmarshaling") 70059 ErrIntOverflowAuthservice = fmt.Errorf("proto: integer overflow") 70060 ErrUnexpectedEndOfGroupAuthservice = fmt.Errorf("proto: unexpected end of group") 70061 )