key_service.pbext.go raw

   1  // Code generated by protoc-gen-goext. DO NOT EDIT.
   2  
   3  package iam
   4  
   5  import (
   6  	operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation"
   7  	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
   8  )
   9  
  10  func (m *GetKeyRequest) SetKeyId(v string) {
  11  	m.KeyId = v
  12  }
  13  
  14  func (m *GetKeyRequest) SetFormat(v KeyFormat) {
  15  	m.Format = v
  16  }
  17  
  18  func (m *ListKeysRequest) SetFormat(v KeyFormat) {
  19  	m.Format = v
  20  }
  21  
  22  func (m *ListKeysRequest) SetServiceAccountId(v string) {
  23  	m.ServiceAccountId = v
  24  }
  25  
  26  func (m *ListKeysRequest) SetPageSize(v int64) {
  27  	m.PageSize = v
  28  }
  29  
  30  func (m *ListKeysRequest) SetPageToken(v string) {
  31  	m.PageToken = v
  32  }
  33  
  34  func (m *ListKeysResponse) SetKeys(v []*Key) {
  35  	m.Keys = v
  36  }
  37  
  38  func (m *ListKeysResponse) SetNextPageToken(v string) {
  39  	m.NextPageToken = v
  40  }
  41  
  42  func (m *CreateKeyRequest) SetServiceAccountId(v string) {
  43  	m.ServiceAccountId = v
  44  }
  45  
  46  func (m *CreateKeyRequest) SetDescription(v string) {
  47  	m.Description = v
  48  }
  49  
  50  func (m *CreateKeyRequest) SetFormat(v KeyFormat) {
  51  	m.Format = v
  52  }
  53  
  54  func (m *CreateKeyRequest) SetKeyAlgorithm(v Key_Algorithm) {
  55  	m.KeyAlgorithm = v
  56  }
  57  
  58  func (m *CreateKeyResponse) SetKey(v *Key) {
  59  	m.Key = v
  60  }
  61  
  62  func (m *CreateKeyResponse) SetPrivateKey(v string) {
  63  	m.PrivateKey = v
  64  }
  65  
  66  func (m *UpdateKeyRequest) SetKeyId(v string) {
  67  	m.KeyId = v
  68  }
  69  
  70  func (m *UpdateKeyRequest) SetUpdateMask(v *fieldmaskpb.FieldMask) {
  71  	m.UpdateMask = v
  72  }
  73  
  74  func (m *UpdateKeyRequest) SetDescription(v string) {
  75  	m.Description = v
  76  }
  77  
  78  func (m *UpdateKeyMetadata) SetKeyId(v string) {
  79  	m.KeyId = v
  80  }
  81  
  82  func (m *DeleteKeyRequest) SetKeyId(v string) {
  83  	m.KeyId = v
  84  }
  85  
  86  func (m *DeleteKeyMetadata) SetKeyId(v string) {
  87  	m.KeyId = v
  88  }
  89  
  90  func (m *ListKeyOperationsRequest) SetKeyId(v string) {
  91  	m.KeyId = v
  92  }
  93  
  94  func (m *ListKeyOperationsRequest) SetPageSize(v int64) {
  95  	m.PageSize = v
  96  }
  97  
  98  func (m *ListKeyOperationsRequest) SetPageToken(v string) {
  99  	m.PageToken = v
 100  }
 101  
 102  func (m *ListKeyOperationsResponse) SetOperations(v []*operation.Operation) {
 103  	m.Operations = v
 104  }
 105  
 106  func (m *ListKeyOperationsResponse) SetNextPageToken(v string) {
 107  	m.NextPageToken = v
 108  }
 109