1// Copyright 2019 Google LLC. 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14// 15 16// Code generated by protoc-gen-go. DO NOT EDIT. 17// versions: 18// protoc-gen-go v1.26.0 19// protoc v3.12.2 20// source: google/cloud/oslogin/v1beta/oslogin.proto 21 22package oslogin 23 24import ( 25 context "context" 26 reflect "reflect" 27 sync "sync" 28 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 common "google.golang.org/genproto/googleapis/cloud/oslogin/common" 31 grpc "google.golang.org/grpc" 32 codes "google.golang.org/grpc/codes" 33 status "google.golang.org/grpc/status" 34 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 35 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 36 emptypb "google.golang.org/protobuf/types/known/emptypb" 37 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 38) 39 40const ( 41 // Verify that this generated code is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 43 // Verify that runtime/protoimpl is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 45) 46 47// The user profile information used for logging in to a virtual machine on 48// Google Compute Engine. 49type LoginProfile struct { 50 state protoimpl.MessageState 51 sizeCache protoimpl.SizeCache 52 unknownFields protoimpl.UnknownFields 53 54 // Required. A unique user ID. 55 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 56 // The list of POSIX accounts associated with the user. 57 PosixAccounts []*common.PosixAccount `protobuf:"bytes,2,rep,name=posix_accounts,json=posixAccounts,proto3" json:"posix_accounts,omitempty"` 58 // A map from SSH public key fingerprint to the associated key object. 59 SshPublicKeys map[string]*common.SshPublicKey `protobuf:"bytes,3,rep,name=ssh_public_keys,json=sshPublicKeys,proto3" json:"ssh_public_keys,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 60} 61 62func (x *LoginProfile) Reset() { 63 *x = LoginProfile{} 64 if protoimpl.UnsafeEnabled { 65 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[0] 66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 67 ms.StoreMessageInfo(mi) 68 } 69} 70 71func (x *LoginProfile) String() string { 72 return protoimpl.X.MessageStringOf(x) 73} 74 75func (*LoginProfile) ProtoMessage() {} 76 77func (x *LoginProfile) ProtoReflect() protoreflect.Message { 78 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[0] 79 if protoimpl.UnsafeEnabled && x != nil { 80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 81 if ms.LoadMessageInfo() == nil { 82 ms.StoreMessageInfo(mi) 83 } 84 return ms 85 } 86 return mi.MessageOf(x) 87} 88 89// Deprecated: Use LoginProfile.ProtoReflect.Descriptor instead. 90func (*LoginProfile) Descriptor() ([]byte, []int) { 91 return file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescGZIP(), []int{0} 92} 93 94func (x *LoginProfile) GetName() string { 95 if x != nil { 96 return x.Name 97 } 98 return "" 99} 100 101func (x *LoginProfile) GetPosixAccounts() []*common.PosixAccount { 102 if x != nil { 103 return x.PosixAccounts 104 } 105 return nil 106} 107 108func (x *LoginProfile) GetSshPublicKeys() map[string]*common.SshPublicKey { 109 if x != nil { 110 return x.SshPublicKeys 111 } 112 return nil 113} 114 115// A request message for deleting a POSIX account entry. 116type DeletePosixAccountRequest struct { 117 state protoimpl.MessageState 118 sizeCache protoimpl.SizeCache 119 unknownFields protoimpl.UnknownFields 120 121 // Required. A reference to the POSIX account to update. POSIX accounts are identified 122 // by the project ID they are associated with. A reference to the POSIX 123 // account is in format `users/{user}/projects/{project}`. 124 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 125} 126 127func (x *DeletePosixAccountRequest) Reset() { 128 *x = DeletePosixAccountRequest{} 129 if protoimpl.UnsafeEnabled { 130 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[1] 131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 132 ms.StoreMessageInfo(mi) 133 } 134} 135 136func (x *DeletePosixAccountRequest) String() string { 137 return protoimpl.X.MessageStringOf(x) 138} 139 140func (*DeletePosixAccountRequest) ProtoMessage() {} 141 142func (x *DeletePosixAccountRequest) ProtoReflect() protoreflect.Message { 143 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[1] 144 if protoimpl.UnsafeEnabled && x != nil { 145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 146 if ms.LoadMessageInfo() == nil { 147 ms.StoreMessageInfo(mi) 148 } 149 return ms 150 } 151 return mi.MessageOf(x) 152} 153 154// Deprecated: Use DeletePosixAccountRequest.ProtoReflect.Descriptor instead. 155func (*DeletePosixAccountRequest) Descriptor() ([]byte, []int) { 156 return file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescGZIP(), []int{1} 157} 158 159func (x *DeletePosixAccountRequest) GetName() string { 160 if x != nil { 161 return x.Name 162 } 163 return "" 164} 165 166// A request message for deleting an SSH public key. 167type DeleteSshPublicKeyRequest struct { 168 state protoimpl.MessageState 169 sizeCache protoimpl.SizeCache 170 unknownFields protoimpl.UnknownFields 171 172 // Required. The fingerprint of the public key to update. Public keys are identified by 173 // their SHA-256 fingerprint. The fingerprint of the public key is in format 174 // `users/{user}/sshPublicKeys/{fingerprint}`. 175 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 176} 177 178func (x *DeleteSshPublicKeyRequest) Reset() { 179 *x = DeleteSshPublicKeyRequest{} 180 if protoimpl.UnsafeEnabled { 181 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[2] 182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 183 ms.StoreMessageInfo(mi) 184 } 185} 186 187func (x *DeleteSshPublicKeyRequest) String() string { 188 return protoimpl.X.MessageStringOf(x) 189} 190 191func (*DeleteSshPublicKeyRequest) ProtoMessage() {} 192 193func (x *DeleteSshPublicKeyRequest) ProtoReflect() protoreflect.Message { 194 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[2] 195 if protoimpl.UnsafeEnabled && x != nil { 196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 197 if ms.LoadMessageInfo() == nil { 198 ms.StoreMessageInfo(mi) 199 } 200 return ms 201 } 202 return mi.MessageOf(x) 203} 204 205// Deprecated: Use DeleteSshPublicKeyRequest.ProtoReflect.Descriptor instead. 206func (*DeleteSshPublicKeyRequest) Descriptor() ([]byte, []int) { 207 return file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescGZIP(), []int{2} 208} 209 210func (x *DeleteSshPublicKeyRequest) GetName() string { 211 if x != nil { 212 return x.Name 213 } 214 return "" 215} 216 217// A request message for retrieving the login profile information for a user. 218type GetLoginProfileRequest struct { 219 state protoimpl.MessageState 220 sizeCache protoimpl.SizeCache 221 unknownFields protoimpl.UnknownFields 222 223 // Required. The unique ID for the user in format `users/{user}`. 224 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 225 // The project ID of the Google Cloud Platform project. 226 ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 227 // A system ID for filtering the results of the request. 228 SystemId string `protobuf:"bytes,3,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"` 229} 230 231func (x *GetLoginProfileRequest) Reset() { 232 *x = GetLoginProfileRequest{} 233 if protoimpl.UnsafeEnabled { 234 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[3] 235 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 236 ms.StoreMessageInfo(mi) 237 } 238} 239 240func (x *GetLoginProfileRequest) String() string { 241 return protoimpl.X.MessageStringOf(x) 242} 243 244func (*GetLoginProfileRequest) ProtoMessage() {} 245 246func (x *GetLoginProfileRequest) ProtoReflect() protoreflect.Message { 247 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[3] 248 if protoimpl.UnsafeEnabled && x != nil { 249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 250 if ms.LoadMessageInfo() == nil { 251 ms.StoreMessageInfo(mi) 252 } 253 return ms 254 } 255 return mi.MessageOf(x) 256} 257 258// Deprecated: Use GetLoginProfileRequest.ProtoReflect.Descriptor instead. 259func (*GetLoginProfileRequest) Descriptor() ([]byte, []int) { 260 return file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescGZIP(), []int{3} 261} 262 263func (x *GetLoginProfileRequest) GetName() string { 264 if x != nil { 265 return x.Name 266 } 267 return "" 268} 269 270func (x *GetLoginProfileRequest) GetProjectId() string { 271 if x != nil { 272 return x.ProjectId 273 } 274 return "" 275} 276 277func (x *GetLoginProfileRequest) GetSystemId() string { 278 if x != nil { 279 return x.SystemId 280 } 281 return "" 282} 283 284// A request message for retrieving an SSH public key. 285type GetSshPublicKeyRequest struct { 286 state protoimpl.MessageState 287 sizeCache protoimpl.SizeCache 288 unknownFields protoimpl.UnknownFields 289 290 // Required. The fingerprint of the public key to retrieve. Public keys are identified 291 // by their SHA-256 fingerprint. The fingerprint of the public key is in 292 // format `users/{user}/sshPublicKeys/{fingerprint}`. 293 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 294} 295 296func (x *GetSshPublicKeyRequest) Reset() { 297 *x = GetSshPublicKeyRequest{} 298 if protoimpl.UnsafeEnabled { 299 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[4] 300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 301 ms.StoreMessageInfo(mi) 302 } 303} 304 305func (x *GetSshPublicKeyRequest) String() string { 306 return protoimpl.X.MessageStringOf(x) 307} 308 309func (*GetSshPublicKeyRequest) ProtoMessage() {} 310 311func (x *GetSshPublicKeyRequest) ProtoReflect() protoreflect.Message { 312 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[4] 313 if protoimpl.UnsafeEnabled && x != nil { 314 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 315 if ms.LoadMessageInfo() == nil { 316 ms.StoreMessageInfo(mi) 317 } 318 return ms 319 } 320 return mi.MessageOf(x) 321} 322 323// Deprecated: Use GetSshPublicKeyRequest.ProtoReflect.Descriptor instead. 324func (*GetSshPublicKeyRequest) Descriptor() ([]byte, []int) { 325 return file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescGZIP(), []int{4} 326} 327 328func (x *GetSshPublicKeyRequest) GetName() string { 329 if x != nil { 330 return x.Name 331 } 332 return "" 333} 334 335// A request message for importing an SSH public key. 336type ImportSshPublicKeyRequest struct { 337 state protoimpl.MessageState 338 sizeCache protoimpl.SizeCache 339 unknownFields protoimpl.UnknownFields 340 341 // The unique ID for the user in format `users/{user}`. 342 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 343 // Required. The SSH public key and expiration time. 344 SshPublicKey *common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey,proto3" json:"ssh_public_key,omitempty"` 345 // The project ID of the Google Cloud Platform project. 346 ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` 347} 348 349func (x *ImportSshPublicKeyRequest) Reset() { 350 *x = ImportSshPublicKeyRequest{} 351 if protoimpl.UnsafeEnabled { 352 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[5] 353 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 354 ms.StoreMessageInfo(mi) 355 } 356} 357 358func (x *ImportSshPublicKeyRequest) String() string { 359 return protoimpl.X.MessageStringOf(x) 360} 361 362func (*ImportSshPublicKeyRequest) ProtoMessage() {} 363 364func (x *ImportSshPublicKeyRequest) ProtoReflect() protoreflect.Message { 365 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[5] 366 if protoimpl.UnsafeEnabled && x != nil { 367 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 368 if ms.LoadMessageInfo() == nil { 369 ms.StoreMessageInfo(mi) 370 } 371 return ms 372 } 373 return mi.MessageOf(x) 374} 375 376// Deprecated: Use ImportSshPublicKeyRequest.ProtoReflect.Descriptor instead. 377func (*ImportSshPublicKeyRequest) Descriptor() ([]byte, []int) { 378 return file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescGZIP(), []int{5} 379} 380 381func (x *ImportSshPublicKeyRequest) GetParent() string { 382 if x != nil { 383 return x.Parent 384 } 385 return "" 386} 387 388func (x *ImportSshPublicKeyRequest) GetSshPublicKey() *common.SshPublicKey { 389 if x != nil { 390 return x.SshPublicKey 391 } 392 return nil 393} 394 395func (x *ImportSshPublicKeyRequest) GetProjectId() string { 396 if x != nil { 397 return x.ProjectId 398 } 399 return "" 400} 401 402// A response message for importing an SSH public key. 403type ImportSshPublicKeyResponse struct { 404 state protoimpl.MessageState 405 sizeCache protoimpl.SizeCache 406 unknownFields protoimpl.UnknownFields 407 408 // The login profile information for the user. 409 LoginProfile *LoginProfile `protobuf:"bytes,1,opt,name=login_profile,json=loginProfile,proto3" json:"login_profile,omitempty"` 410} 411 412func (x *ImportSshPublicKeyResponse) Reset() { 413 *x = ImportSshPublicKeyResponse{} 414 if protoimpl.UnsafeEnabled { 415 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[6] 416 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 417 ms.StoreMessageInfo(mi) 418 } 419} 420 421func (x *ImportSshPublicKeyResponse) String() string { 422 return protoimpl.X.MessageStringOf(x) 423} 424 425func (*ImportSshPublicKeyResponse) ProtoMessage() {} 426 427func (x *ImportSshPublicKeyResponse) ProtoReflect() protoreflect.Message { 428 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[6] 429 if protoimpl.UnsafeEnabled && x != nil { 430 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 431 if ms.LoadMessageInfo() == nil { 432 ms.StoreMessageInfo(mi) 433 } 434 return ms 435 } 436 return mi.MessageOf(x) 437} 438 439// Deprecated: Use ImportSshPublicKeyResponse.ProtoReflect.Descriptor instead. 440func (*ImportSshPublicKeyResponse) Descriptor() ([]byte, []int) { 441 return file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescGZIP(), []int{6} 442} 443 444func (x *ImportSshPublicKeyResponse) GetLoginProfile() *LoginProfile { 445 if x != nil { 446 return x.LoginProfile 447 } 448 return nil 449} 450 451// A request message for updating an SSH public key. 452type UpdateSshPublicKeyRequest struct { 453 state protoimpl.MessageState 454 sizeCache protoimpl.SizeCache 455 unknownFields protoimpl.UnknownFields 456 457 // Required. The fingerprint of the public key to update. Public keys are identified by 458 // their SHA-256 fingerprint. The fingerprint of the public key is in format 459 // `users/{user}/sshPublicKeys/{fingerprint}`. 460 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 461 // Required. The SSH public key and expiration time. 462 SshPublicKey *common.SshPublicKey `protobuf:"bytes,2,opt,name=ssh_public_key,json=sshPublicKey,proto3" json:"ssh_public_key,omitempty"` 463 // Mask to control which fields get updated. Updates all if not present. 464 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 465} 466 467func (x *UpdateSshPublicKeyRequest) Reset() { 468 *x = UpdateSshPublicKeyRequest{} 469 if protoimpl.UnsafeEnabled { 470 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[7] 471 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 472 ms.StoreMessageInfo(mi) 473 } 474} 475 476func (x *UpdateSshPublicKeyRequest) String() string { 477 return protoimpl.X.MessageStringOf(x) 478} 479 480func (*UpdateSshPublicKeyRequest) ProtoMessage() {} 481 482func (x *UpdateSshPublicKeyRequest) ProtoReflect() protoreflect.Message { 483 mi := &file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[7] 484 if protoimpl.UnsafeEnabled && x != nil { 485 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 486 if ms.LoadMessageInfo() == nil { 487 ms.StoreMessageInfo(mi) 488 } 489 return ms 490 } 491 return mi.MessageOf(x) 492} 493 494// Deprecated: Use UpdateSshPublicKeyRequest.ProtoReflect.Descriptor instead. 495func (*UpdateSshPublicKeyRequest) Descriptor() ([]byte, []int) { 496 return file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescGZIP(), []int{7} 497} 498 499func (x *UpdateSshPublicKeyRequest) GetName() string { 500 if x != nil { 501 return x.Name 502 } 503 return "" 504} 505 506func (x *UpdateSshPublicKeyRequest) GetSshPublicKey() *common.SshPublicKey { 507 if x != nil { 508 return x.SshPublicKey 509 } 510 return nil 511} 512 513func (x *UpdateSshPublicKeyRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 514 if x != nil { 515 return x.UpdateMask 516 } 517 return nil 518} 519 520var File_google_cloud_oslogin_v1beta_oslogin_proto protoreflect.FileDescriptor 521 522var file_google_cloud_oslogin_v1beta_oslogin_proto_rawDesc = []byte{ 523 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 524 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6f, 0x73, 525 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 526 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 527 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 528 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 529 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 530 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 531 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 532 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 533 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 534 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x67, 0x6f, 0x6f, 535 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 536 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 537 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 538 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 539 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 540 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 541 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcc, 0x02, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x50, 0x72, 542 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 543 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x50, 544 0x0a, 0x0e, 0x70, 0x6f, 0x73, 0x69, 0x78, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 545 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 546 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x63, 0x6f, 547 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x78, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 548 0x74, 0x52, 0x0d, 0x70, 0x6f, 0x73, 0x69, 0x78, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 549 0x12, 0x64, 0x0a, 0x0f, 0x73, 0x73, 0x68, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 550 0x65, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 551 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 552 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f, 553 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 554 0x79, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 555 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x1a, 0x6b, 0x0a, 0x12, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 556 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 557 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3f, 558 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 559 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 560 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x73, 0x68, 0x50, 561 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 562 0x02, 0x38, 0x01, 0x22, 0x5c, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x73, 563 0x69, 0x78, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 564 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 565 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 566 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 567 0x6f, 0x73, 0x69, 0x78, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 568 0x65, 0x22, 0x5c, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x73, 0x68, 0x50, 0x75, 569 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 570 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 571 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x67, 0x6f, 572 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x73, 0x68, 573 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 574 0x8d, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x66, 575 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x6e, 0x61, 576 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1d, 577 0x0a, 0x1b, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 578 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x6e, 579 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 580 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 581 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 582 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 583 0x59, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 584 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 585 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 586 0x23, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 587 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 588 0x63, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xd2, 0x01, 0x0a, 0x19, 0x49, 589 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 590 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 591 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xfa, 0x41, 0x25, 0x12, 0x23, 0x6f, 592 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 593 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 594 0x65, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x54, 0x0a, 0x0e, 0x73, 0x73, 595 0x68, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 596 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 597 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 598 0x2e, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x42, 0x03, 0xe0, 599 0x41, 0x02, 0x52, 0x0c, 0x73, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 600 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 601 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 602 0x6c, 0x0a, 0x1a, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 603 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 604 0x0d, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 605 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 606 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 607 0x74, 0x61, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 608 0x0c, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0xef, 0x01, 609 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 610 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, 611 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 612 0x25, 0x0a, 0x23, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 613 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 614 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0e, 615 0x73, 0x73, 0x68, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 616 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 617 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 618 0x6f, 0x6e, 0x2e, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x42, 619 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x73, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 620 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 621 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 622 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 623 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x32, 624 0xf4, 0x0a, 0x0a, 0x0e, 0x4f, 0x73, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 625 0x63, 0x65, 0x12, 0x96, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x73, 626 0x69, 0x78, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 627 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 628 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 629 0x73, 0x69, 0x78, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 630 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 631 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 632 0x23, 0x2a, 0x21, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 633 0x3d, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 634 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x9b, 0x01, 0x0a, 0x12, 635 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 636 0x65, 0x79, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 637 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 638 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 639 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 640 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 641 0x74, 0x79, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x2a, 0x26, 0x2f, 0x76, 0x31, 0x62, 642 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 643 0x2a, 0x2f, 0x73, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x2f, 644 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xa5, 0x01, 0x0a, 0x0f, 0x47, 0x65, 645 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x33, 0x2e, 646 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 647 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4c, 648 0x6f, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 649 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 650 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 651 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x32, 0x82, 652 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 653 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6c, 0x6f, 654 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 655 0x65, 0x12, 0xa8, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 656 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 657 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 658 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 659 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 660 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 661 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 662 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 663 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x75, 0x73, 0x65, 664 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 665 0x79, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x85, 0x02, 0x0a, 666 0x12, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 667 0x4b, 0x65, 0x79, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 668 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 669 0x61, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 670 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x67, 0x6f, 671 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 672 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 673 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 674 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x2b, 0x2f, 0x76, 675 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x75, 0x73, 676 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x73, 0x68, 677 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x3a, 0x0e, 0x73, 0x73, 0x68, 0x5f, 0x70, 678 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0xda, 0x41, 0x15, 0x70, 0x61, 0x72, 0x65, 679 0x6e, 0x74, 0x2c, 0x73, 0x73, 0x68, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 680 0x79, 0xda, 0x41, 0x20, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x73, 0x73, 0x68, 0x5f, 0x70, 681 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x2c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 682 0x74, 0x5f, 0x69, 0x64, 0x12, 0xef, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 683 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x36, 0x2e, 0x67, 0x6f, 684 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 685 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 686 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 687 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 688 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 689 0x6e, 0x2e, 0x53, 0x73, 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0x76, 690 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x32, 0x26, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 691 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x73, 692 0x68, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x0e, 693 0x73, 0x73, 0x68, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0xda, 0x41, 694 0x13, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x73, 0x73, 0x68, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 695 0x5f, 0x6b, 0x65, 0x79, 0xda, 0x41, 0x1f, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x73, 0x73, 0x68, 0x5f, 696 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 697 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x1a, 0xdd, 0x01, 0xca, 0x41, 0x16, 0x6f, 0x73, 0x6c, 0x6f, 698 0x67, 0x69, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 699 0x6f, 0x6d, 0xd2, 0x41, 0xc0, 0x01, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 700 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 701 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 702 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 703 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 704 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 705 0x6f, 0x72, 0x6d, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x2d, 0x6f, 0x6e, 0x6c, 0x79, 0x2c, 0x68, 0x74, 706 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 707 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 708 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 709 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 710 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x2e, 0x72, 0x65, 711 0x61, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x42, 0xd2, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 712 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x73, 0x6c, 0x6f, 713 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x0c, 0x4f, 0x73, 0x4c, 0x6f, 714 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x6f, 0x6f, 0x67, 715 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 716 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 717 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 718 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x6f, 0x73, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0xaa, 0x02, 719 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4f, 0x73, 720 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1b, 0x47, 721 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4f, 0x73, 0x4c, 0x6f, 722 0x67, 0x69, 0x6e, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 723 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4f, 0x73, 0x4c, 0x6f, 724 0x67, 0x69, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 725 0x74, 0x6f, 0x33, 726} 727 728var ( 729 file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescOnce sync.Once 730 file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescData = file_google_cloud_oslogin_v1beta_oslogin_proto_rawDesc 731) 732 733func file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescGZIP() []byte { 734 file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescOnce.Do(func() { 735 file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescData) 736 }) 737 return file_google_cloud_oslogin_v1beta_oslogin_proto_rawDescData 738} 739 740var file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 741var file_google_cloud_oslogin_v1beta_oslogin_proto_goTypes = []interface{}{ 742 (*LoginProfile)(nil), // 0: google.cloud.oslogin.v1beta.LoginProfile 743 (*DeletePosixAccountRequest)(nil), // 1: google.cloud.oslogin.v1beta.DeletePosixAccountRequest 744 (*DeleteSshPublicKeyRequest)(nil), // 2: google.cloud.oslogin.v1beta.DeleteSshPublicKeyRequest 745 (*GetLoginProfileRequest)(nil), // 3: google.cloud.oslogin.v1beta.GetLoginProfileRequest 746 (*GetSshPublicKeyRequest)(nil), // 4: google.cloud.oslogin.v1beta.GetSshPublicKeyRequest 747 (*ImportSshPublicKeyRequest)(nil), // 5: google.cloud.oslogin.v1beta.ImportSshPublicKeyRequest 748 (*ImportSshPublicKeyResponse)(nil), // 6: google.cloud.oslogin.v1beta.ImportSshPublicKeyResponse 749 (*UpdateSshPublicKeyRequest)(nil), // 7: google.cloud.oslogin.v1beta.UpdateSshPublicKeyRequest 750 nil, // 8: google.cloud.oslogin.v1beta.LoginProfile.SshPublicKeysEntry 751 (*common.PosixAccount)(nil), // 9: google.cloud.oslogin.common.PosixAccount 752 (*common.SshPublicKey)(nil), // 10: google.cloud.oslogin.common.SshPublicKey 753 (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask 754 (*emptypb.Empty)(nil), // 12: google.protobuf.Empty 755} 756var file_google_cloud_oslogin_v1beta_oslogin_proto_depIdxs = []int32{ 757 9, // 0: google.cloud.oslogin.v1beta.LoginProfile.posix_accounts:type_name -> google.cloud.oslogin.common.PosixAccount 758 8, // 1: google.cloud.oslogin.v1beta.LoginProfile.ssh_public_keys:type_name -> google.cloud.oslogin.v1beta.LoginProfile.SshPublicKeysEntry 759 10, // 2: google.cloud.oslogin.v1beta.ImportSshPublicKeyRequest.ssh_public_key:type_name -> google.cloud.oslogin.common.SshPublicKey 760 0, // 3: google.cloud.oslogin.v1beta.ImportSshPublicKeyResponse.login_profile:type_name -> google.cloud.oslogin.v1beta.LoginProfile 761 10, // 4: google.cloud.oslogin.v1beta.UpdateSshPublicKeyRequest.ssh_public_key:type_name -> google.cloud.oslogin.common.SshPublicKey 762 11, // 5: google.cloud.oslogin.v1beta.UpdateSshPublicKeyRequest.update_mask:type_name -> google.protobuf.FieldMask 763 10, // 6: google.cloud.oslogin.v1beta.LoginProfile.SshPublicKeysEntry.value:type_name -> google.cloud.oslogin.common.SshPublicKey 764 1, // 7: google.cloud.oslogin.v1beta.OsLoginService.DeletePosixAccount:input_type -> google.cloud.oslogin.v1beta.DeletePosixAccountRequest 765 2, // 8: google.cloud.oslogin.v1beta.OsLoginService.DeleteSshPublicKey:input_type -> google.cloud.oslogin.v1beta.DeleteSshPublicKeyRequest 766 3, // 9: google.cloud.oslogin.v1beta.OsLoginService.GetLoginProfile:input_type -> google.cloud.oslogin.v1beta.GetLoginProfileRequest 767 4, // 10: google.cloud.oslogin.v1beta.OsLoginService.GetSshPublicKey:input_type -> google.cloud.oslogin.v1beta.GetSshPublicKeyRequest 768 5, // 11: google.cloud.oslogin.v1beta.OsLoginService.ImportSshPublicKey:input_type -> google.cloud.oslogin.v1beta.ImportSshPublicKeyRequest 769 7, // 12: google.cloud.oslogin.v1beta.OsLoginService.UpdateSshPublicKey:input_type -> google.cloud.oslogin.v1beta.UpdateSshPublicKeyRequest 770 12, // 13: google.cloud.oslogin.v1beta.OsLoginService.DeletePosixAccount:output_type -> google.protobuf.Empty 771 12, // 14: google.cloud.oslogin.v1beta.OsLoginService.DeleteSshPublicKey:output_type -> google.protobuf.Empty 772 0, // 15: google.cloud.oslogin.v1beta.OsLoginService.GetLoginProfile:output_type -> google.cloud.oslogin.v1beta.LoginProfile 773 10, // 16: google.cloud.oslogin.v1beta.OsLoginService.GetSshPublicKey:output_type -> google.cloud.oslogin.common.SshPublicKey 774 6, // 17: google.cloud.oslogin.v1beta.OsLoginService.ImportSshPublicKey:output_type -> google.cloud.oslogin.v1beta.ImportSshPublicKeyResponse 775 10, // 18: google.cloud.oslogin.v1beta.OsLoginService.UpdateSshPublicKey:output_type -> google.cloud.oslogin.common.SshPublicKey 776 13, // [13:19] is the sub-list for method output_type 777 7, // [7:13] is the sub-list for method input_type 778 7, // [7:7] is the sub-list for extension type_name 779 7, // [7:7] is the sub-list for extension extendee 780 0, // [0:7] is the sub-list for field type_name 781} 782 783func init() { file_google_cloud_oslogin_v1beta_oslogin_proto_init() } 784func file_google_cloud_oslogin_v1beta_oslogin_proto_init() { 785 if File_google_cloud_oslogin_v1beta_oslogin_proto != nil { 786 return 787 } 788 if !protoimpl.UnsafeEnabled { 789 file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 790 switch v := v.(*LoginProfile); i { 791 case 0: 792 return &v.state 793 case 1: 794 return &v.sizeCache 795 case 2: 796 return &v.unknownFields 797 default: 798 return nil 799 } 800 } 801 file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 802 switch v := v.(*DeletePosixAccountRequest); i { 803 case 0: 804 return &v.state 805 case 1: 806 return &v.sizeCache 807 case 2: 808 return &v.unknownFields 809 default: 810 return nil 811 } 812 } 813 file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 814 switch v := v.(*DeleteSshPublicKeyRequest); i { 815 case 0: 816 return &v.state 817 case 1: 818 return &v.sizeCache 819 case 2: 820 return &v.unknownFields 821 default: 822 return nil 823 } 824 } 825 file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 826 switch v := v.(*GetLoginProfileRequest); i { 827 case 0: 828 return &v.state 829 case 1: 830 return &v.sizeCache 831 case 2: 832 return &v.unknownFields 833 default: 834 return nil 835 } 836 } 837 file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 838 switch v := v.(*GetSshPublicKeyRequest); i { 839 case 0: 840 return &v.state 841 case 1: 842 return &v.sizeCache 843 case 2: 844 return &v.unknownFields 845 default: 846 return nil 847 } 848 } 849 file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 850 switch v := v.(*ImportSshPublicKeyRequest); i { 851 case 0: 852 return &v.state 853 case 1: 854 return &v.sizeCache 855 case 2: 856 return &v.unknownFields 857 default: 858 return nil 859 } 860 } 861 file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 862 switch v := v.(*ImportSshPublicKeyResponse); i { 863 case 0: 864 return &v.state 865 case 1: 866 return &v.sizeCache 867 case 2: 868 return &v.unknownFields 869 default: 870 return nil 871 } 872 } 873 file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 874 switch v := v.(*UpdateSshPublicKeyRequest); i { 875 case 0: 876 return &v.state 877 case 1: 878 return &v.sizeCache 879 case 2: 880 return &v.unknownFields 881 default: 882 return nil 883 } 884 } 885 } 886 type x struct{} 887 out := protoimpl.TypeBuilder{ 888 File: protoimpl.DescBuilder{ 889 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 890 RawDescriptor: file_google_cloud_oslogin_v1beta_oslogin_proto_rawDesc, 891 NumEnums: 0, 892 NumMessages: 9, 893 NumExtensions: 0, 894 NumServices: 1, 895 }, 896 GoTypes: file_google_cloud_oslogin_v1beta_oslogin_proto_goTypes, 897 DependencyIndexes: file_google_cloud_oslogin_v1beta_oslogin_proto_depIdxs, 898 MessageInfos: file_google_cloud_oslogin_v1beta_oslogin_proto_msgTypes, 899 }.Build() 900 File_google_cloud_oslogin_v1beta_oslogin_proto = out.File 901 file_google_cloud_oslogin_v1beta_oslogin_proto_rawDesc = nil 902 file_google_cloud_oslogin_v1beta_oslogin_proto_goTypes = nil 903 file_google_cloud_oslogin_v1beta_oslogin_proto_depIdxs = nil 904} 905 906// Reference imports to suppress errors if they are not otherwise used. 907var _ context.Context 908var _ grpc.ClientConnInterface 909 910// This is a compile-time assertion to ensure that this generated file 911// is compatible with the grpc package it is being compiled against. 912const _ = grpc.SupportPackageIsVersion6 913 914// OsLoginServiceClient is the client API for OsLoginService service. 915// 916// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 917type OsLoginServiceClient interface { 918 // Deletes a POSIX account. 919 DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 920 // Deletes an SSH public key. 921 DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 922 // Retrieves the profile information used for logging in to a virtual machine 923 // on Google Compute Engine. 924 GetLoginProfile(ctx context.Context, in *GetLoginProfileRequest, opts ...grpc.CallOption) (*LoginProfile, error) 925 // Retrieves an SSH public key. 926 GetSshPublicKey(ctx context.Context, in *GetSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) 927 // Adds an SSH public key and returns the profile information. Default POSIX 928 // account information is set when no username and UID exist as part of the 929 // login profile. 930 ImportSshPublicKey(ctx context.Context, in *ImportSshPublicKeyRequest, opts ...grpc.CallOption) (*ImportSshPublicKeyResponse, error) 931 // Updates an SSH public key and returns the profile information. This method 932 // supports patch semantics. 933 UpdateSshPublicKey(ctx context.Context, in *UpdateSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) 934} 935 936type osLoginServiceClient struct { 937 cc grpc.ClientConnInterface 938} 939 940func NewOsLoginServiceClient(cc grpc.ClientConnInterface) OsLoginServiceClient { 941 return &osLoginServiceClient{cc} 942} 943 944func (c *osLoginServiceClient) DeletePosixAccount(ctx context.Context, in *DeletePosixAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 945 out := new(emptypb.Empty) 946 err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1beta.OsLoginService/DeletePosixAccount", in, out, opts...) 947 if err != nil { 948 return nil, err 949 } 950 return out, nil 951} 952 953func (c *osLoginServiceClient) DeleteSshPublicKey(ctx context.Context, in *DeleteSshPublicKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 954 out := new(emptypb.Empty) 955 err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1beta.OsLoginService/DeleteSshPublicKey", in, out, opts...) 956 if err != nil { 957 return nil, err 958 } 959 return out, nil 960} 961 962func (c *osLoginServiceClient) GetLoginProfile(ctx context.Context, in *GetLoginProfileRequest, opts ...grpc.CallOption) (*LoginProfile, error) { 963 out := new(LoginProfile) 964 err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1beta.OsLoginService/GetLoginProfile", in, out, opts...) 965 if err != nil { 966 return nil, err 967 } 968 return out, nil 969} 970 971func (c *osLoginServiceClient) GetSshPublicKey(ctx context.Context, in *GetSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) { 972 out := new(common.SshPublicKey) 973 err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1beta.OsLoginService/GetSshPublicKey", in, out, opts...) 974 if err != nil { 975 return nil, err 976 } 977 return out, nil 978} 979 980func (c *osLoginServiceClient) ImportSshPublicKey(ctx context.Context, in *ImportSshPublicKeyRequest, opts ...grpc.CallOption) (*ImportSshPublicKeyResponse, error) { 981 out := new(ImportSshPublicKeyResponse) 982 err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1beta.OsLoginService/ImportSshPublicKey", in, out, opts...) 983 if err != nil { 984 return nil, err 985 } 986 return out, nil 987} 988 989func (c *osLoginServiceClient) UpdateSshPublicKey(ctx context.Context, in *UpdateSshPublicKeyRequest, opts ...grpc.CallOption) (*common.SshPublicKey, error) { 990 out := new(common.SshPublicKey) 991 err := c.cc.Invoke(ctx, "/google.cloud.oslogin.v1beta.OsLoginService/UpdateSshPublicKey", in, out, opts...) 992 if err != nil { 993 return nil, err 994 } 995 return out, nil 996} 997 998// OsLoginServiceServer is the server API for OsLoginService service. 999type OsLoginServiceServer interface { 1000 // Deletes a POSIX account. 1001 DeletePosixAccount(context.Context, *DeletePosixAccountRequest) (*emptypb.Empty, error) 1002 // Deletes an SSH public key. 1003 DeleteSshPublicKey(context.Context, *DeleteSshPublicKeyRequest) (*emptypb.Empty, error) 1004 // Retrieves the profile information used for logging in to a virtual machine 1005 // on Google Compute Engine. 1006 GetLoginProfile(context.Context, *GetLoginProfileRequest) (*LoginProfile, error) 1007 // Retrieves an SSH public key. 1008 GetSshPublicKey(context.Context, *GetSshPublicKeyRequest) (*common.SshPublicKey, error) 1009 // Adds an SSH public key and returns the profile information. Default POSIX 1010 // account information is set when no username and UID exist as part of the 1011 // login profile. 1012 ImportSshPublicKey(context.Context, *ImportSshPublicKeyRequest) (*ImportSshPublicKeyResponse, error) 1013 // Updates an SSH public key and returns the profile information. This method 1014 // supports patch semantics. 1015 UpdateSshPublicKey(context.Context, *UpdateSshPublicKeyRequest) (*common.SshPublicKey, error) 1016} 1017 1018// UnimplementedOsLoginServiceServer can be embedded to have forward compatible implementations. 1019type UnimplementedOsLoginServiceServer struct { 1020} 1021 1022func (*UnimplementedOsLoginServiceServer) DeletePosixAccount(context.Context, *DeletePosixAccountRequest) (*emptypb.Empty, error) { 1023 return nil, status.Errorf(codes.Unimplemented, "method DeletePosixAccount not implemented") 1024} 1025func (*UnimplementedOsLoginServiceServer) DeleteSshPublicKey(context.Context, *DeleteSshPublicKeyRequest) (*emptypb.Empty, error) { 1026 return nil, status.Errorf(codes.Unimplemented, "method DeleteSshPublicKey not implemented") 1027} 1028func (*UnimplementedOsLoginServiceServer) GetLoginProfile(context.Context, *GetLoginProfileRequest) (*LoginProfile, error) { 1029 return nil, status.Errorf(codes.Unimplemented, "method GetLoginProfile not implemented") 1030} 1031func (*UnimplementedOsLoginServiceServer) GetSshPublicKey(context.Context, *GetSshPublicKeyRequest) (*common.SshPublicKey, error) { 1032 return nil, status.Errorf(codes.Unimplemented, "method GetSshPublicKey not implemented") 1033} 1034func (*UnimplementedOsLoginServiceServer) ImportSshPublicKey(context.Context, *ImportSshPublicKeyRequest) (*ImportSshPublicKeyResponse, error) { 1035 return nil, status.Errorf(codes.Unimplemented, "method ImportSshPublicKey not implemented") 1036} 1037func (*UnimplementedOsLoginServiceServer) UpdateSshPublicKey(context.Context, *UpdateSshPublicKeyRequest) (*common.SshPublicKey, error) { 1038 return nil, status.Errorf(codes.Unimplemented, "method UpdateSshPublicKey not implemented") 1039} 1040 1041func RegisterOsLoginServiceServer(s *grpc.Server, srv OsLoginServiceServer) { 1042 s.RegisterService(&_OsLoginService_serviceDesc, srv) 1043} 1044 1045func _OsLoginService_DeletePosixAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1046 in := new(DeletePosixAccountRequest) 1047 if err := dec(in); err != nil { 1048 return nil, err 1049 } 1050 if interceptor == nil { 1051 return srv.(OsLoginServiceServer).DeletePosixAccount(ctx, in) 1052 } 1053 info := &grpc.UnaryServerInfo{ 1054 Server: srv, 1055 FullMethod: "/google.cloud.oslogin.v1beta.OsLoginService/DeletePosixAccount", 1056 } 1057 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1058 return srv.(OsLoginServiceServer).DeletePosixAccount(ctx, req.(*DeletePosixAccountRequest)) 1059 } 1060 return interceptor(ctx, in, info, handler) 1061} 1062 1063func _OsLoginService_DeleteSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1064 in := new(DeleteSshPublicKeyRequest) 1065 if err := dec(in); err != nil { 1066 return nil, err 1067 } 1068 if interceptor == nil { 1069 return srv.(OsLoginServiceServer).DeleteSshPublicKey(ctx, in) 1070 } 1071 info := &grpc.UnaryServerInfo{ 1072 Server: srv, 1073 FullMethod: "/google.cloud.oslogin.v1beta.OsLoginService/DeleteSshPublicKey", 1074 } 1075 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1076 return srv.(OsLoginServiceServer).DeleteSshPublicKey(ctx, req.(*DeleteSshPublicKeyRequest)) 1077 } 1078 return interceptor(ctx, in, info, handler) 1079} 1080 1081func _OsLoginService_GetLoginProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1082 in := new(GetLoginProfileRequest) 1083 if err := dec(in); err != nil { 1084 return nil, err 1085 } 1086 if interceptor == nil { 1087 return srv.(OsLoginServiceServer).GetLoginProfile(ctx, in) 1088 } 1089 info := &grpc.UnaryServerInfo{ 1090 Server: srv, 1091 FullMethod: "/google.cloud.oslogin.v1beta.OsLoginService/GetLoginProfile", 1092 } 1093 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1094 return srv.(OsLoginServiceServer).GetLoginProfile(ctx, req.(*GetLoginProfileRequest)) 1095 } 1096 return interceptor(ctx, in, info, handler) 1097} 1098 1099func _OsLoginService_GetSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1100 in := new(GetSshPublicKeyRequest) 1101 if err := dec(in); err != nil { 1102 return nil, err 1103 } 1104 if interceptor == nil { 1105 return srv.(OsLoginServiceServer).GetSshPublicKey(ctx, in) 1106 } 1107 info := &grpc.UnaryServerInfo{ 1108 Server: srv, 1109 FullMethod: "/google.cloud.oslogin.v1beta.OsLoginService/GetSshPublicKey", 1110 } 1111 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1112 return srv.(OsLoginServiceServer).GetSshPublicKey(ctx, req.(*GetSshPublicKeyRequest)) 1113 } 1114 return interceptor(ctx, in, info, handler) 1115} 1116 1117func _OsLoginService_ImportSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1118 in := new(ImportSshPublicKeyRequest) 1119 if err := dec(in); err != nil { 1120 return nil, err 1121 } 1122 if interceptor == nil { 1123 return srv.(OsLoginServiceServer).ImportSshPublicKey(ctx, in) 1124 } 1125 info := &grpc.UnaryServerInfo{ 1126 Server: srv, 1127 FullMethod: "/google.cloud.oslogin.v1beta.OsLoginService/ImportSshPublicKey", 1128 } 1129 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1130 return srv.(OsLoginServiceServer).ImportSshPublicKey(ctx, req.(*ImportSshPublicKeyRequest)) 1131 } 1132 return interceptor(ctx, in, info, handler) 1133} 1134 1135func _OsLoginService_UpdateSshPublicKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1136 in := new(UpdateSshPublicKeyRequest) 1137 if err := dec(in); err != nil { 1138 return nil, err 1139 } 1140 if interceptor == nil { 1141 return srv.(OsLoginServiceServer).UpdateSshPublicKey(ctx, in) 1142 } 1143 info := &grpc.UnaryServerInfo{ 1144 Server: srv, 1145 FullMethod: "/google.cloud.oslogin.v1beta.OsLoginService/UpdateSshPublicKey", 1146 } 1147 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1148 return srv.(OsLoginServiceServer).UpdateSshPublicKey(ctx, req.(*UpdateSshPublicKeyRequest)) 1149 } 1150 return interceptor(ctx, in, info, handler) 1151} 1152 1153var _OsLoginService_serviceDesc = grpc.ServiceDesc{ 1154 ServiceName: "google.cloud.oslogin.v1beta.OsLoginService", 1155 HandlerType: (*OsLoginServiceServer)(nil), 1156 Methods: []grpc.MethodDesc{ 1157 { 1158 MethodName: "DeletePosixAccount", 1159 Handler: _OsLoginService_DeletePosixAccount_Handler, 1160 }, 1161 { 1162 MethodName: "DeleteSshPublicKey", 1163 Handler: _OsLoginService_DeleteSshPublicKey_Handler, 1164 }, 1165 { 1166 MethodName: "GetLoginProfile", 1167 Handler: _OsLoginService_GetLoginProfile_Handler, 1168 }, 1169 { 1170 MethodName: "GetSshPublicKey", 1171 Handler: _OsLoginService_GetSshPublicKey_Handler, 1172 }, 1173 { 1174 MethodName: "ImportSshPublicKey", 1175 Handler: _OsLoginService_ImportSshPublicKey_Handler, 1176 }, 1177 { 1178 MethodName: "UpdateSshPublicKey", 1179 Handler: _OsLoginService_UpdateSshPublicKey_Handler, 1180 }, 1181 }, 1182 Streams: []grpc.StreamDesc{}, 1183 Metadata: "google/cloud/oslogin/v1beta/oslogin.proto", 1184} 1185