...

Source file src/google.golang.org/genproto/googleapis/cloud/oslogin/v1alpha/oslogin.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/oslogin/v1alpha

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

View as plain text