github.com/cloudwan/edgelq-sdk@v1.15.4/iam/resources/v1alpha2/service_account_key/service_account_key.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/iam/proto/v1alpha2/service_account_key.proto 3 // DO NOT EDIT!!! 4 5 package service_account_key 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 service_account "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/service_account" 21 meta "github.com/cloudwan/goten-sdk/types/meta" 22 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 23 ) 24 25 // Reference imports to suppress errors if they are not otherwise used. 26 var ( 27 _ = fmt.Errorf 28 _ = reflect.Method{} 29 _ = sync.Once{} 30 31 _ = protojson.MarshalOptions{} 32 _ = proto.MarshalOptions{} 33 _ = preflect.Value{} 34 _ = protoimpl.DescBuilder{} 35 ) 36 37 // make sure we're using proto imports 38 var ( 39 _ = &service_account.ServiceAccount{} 40 _ = ×tamppb.Timestamp{} 41 _ = &meta.Meta{} 42 ) 43 44 const ( 45 // Verify that this generated code is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 47 // Verify that runtime/protoimpl is sufficiently up-to-date. 48 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 49 ) 50 51 type ServiceAccountKey_Algorithm int32 52 53 const ( 54 ServiceAccountKey_KEY_ALGORITHM_UNSPECIFIED ServiceAccountKey_Algorithm = 0 55 ServiceAccountKey_RSA_1024 ServiceAccountKey_Algorithm = 1 56 ServiceAccountKey_RSA_2048 ServiceAccountKey_Algorithm = 2 57 ServiceAccountKey_RSA_4096 ServiceAccountKey_Algorithm = 3 58 ServiceAccountKey_API_KEY ServiceAccountKey_Algorithm = 4 59 ) 60 61 var ( 62 ServiceAccountKey_Algorithm_name = map[int32]string{ 63 0: "KEY_ALGORITHM_UNSPECIFIED", 64 1: "RSA_1024", 65 2: "RSA_2048", 66 3: "RSA_4096", 67 4: "API_KEY", 68 } 69 70 ServiceAccountKey_Algorithm_value = map[string]int32{ 71 "KEY_ALGORITHM_UNSPECIFIED": 0, 72 "RSA_1024": 1, 73 "RSA_2048": 2, 74 "RSA_4096": 3, 75 "API_KEY": 4, 76 } 77 ) 78 79 func (x ServiceAccountKey_Algorithm) Enum() *ServiceAccountKey_Algorithm { 80 p := new(ServiceAccountKey_Algorithm) 81 *p = x 82 return p 83 } 84 85 func (x ServiceAccountKey_Algorithm) String() string { 86 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 87 } 88 89 func (ServiceAccountKey_Algorithm) Descriptor() preflect.EnumDescriptor { 90 return edgelq_iam_proto_v1alpha2_service_account_key_proto_enumTypes[0].Descriptor() 91 } 92 93 func (ServiceAccountKey_Algorithm) Type() preflect.EnumType { 94 return &edgelq_iam_proto_v1alpha2_service_account_key_proto_enumTypes[0] 95 } 96 97 func (x ServiceAccountKey_Algorithm) Number() preflect.EnumNumber { 98 return preflect.EnumNumber(x) 99 } 100 101 // Deprecated, Use ServiceAccountKey_Algorithm.ProtoReflect.Descriptor instead. 102 func (ServiceAccountKey_Algorithm) EnumDescriptor() ([]byte, []int) { 103 return edgelq_iam_proto_v1alpha2_service_account_key_proto_rawDescGZIP(), []int{0, 0} 104 } 105 106 // Represents a key pair for the service account 107 type ServiceAccountKey struct { 108 state protoimpl.MessageState 109 sizeCache protoimpl.SizeCache 110 unknownFields protoimpl.UnknownFields 111 // Name of ServiceAccountKey 112 // When creating a new instance, this field is optional and if not provided, 113 // it will be generated automatically. Last ID segment must conform to the 114 // following regex: [a-z][a-z0-9\-]{0,28}[a-z0-9] 115 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 116 // Display name 117 DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 118 // Public key contents 119 PublicKeyData string `protobuf:"bytes,2,opt,name=public_key_data,json=publicKeyData,proto3" json:"public_key_data,omitempty"` 120 // The private key of the pair. This field is only provided in 121 // CreateServiceAccountKey responses. Private keys are NOT stored on the 122 // server. 123 PrivateKeyData string `protobuf:"bytes,3,opt,name=private_key_data,json=privateKeyData,proto3" json:"private_key_data,omitempty"` 124 // Api key is set if algorithm is equal to API_KEY and provided in 125 // CreateServiceAccountKey responses. They are not stored on the server, 126 // so caller is obliged to remember its value. If lost, its is necessary to 127 // create new key. Api key must be used in authorization header token when 128 // making request: 129 // - Authorization: "Bearer $API_KEY" 130 // Example for curl: 131 // $ curl -X GET -H "Authorization: Bearer $API_KEY" -s $URL 132 ApiKey string `protobuf:"bytes,9,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` 133 // The algorithm used to generate the key. 134 Algorithm ServiceAccountKey_Algorithm `protobuf:"varint,4,opt,name=algorithm,proto3,enum=ntt.iam.v1alpha2.ServiceAccountKey_Algorithm" json:"algorithm,omitempty"` 135 // The key is not valid before this timestamp. 136 ValidNotBefore *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=valid_not_before,json=validNotBefore,proto3" json:"valid_not_before,omitempty"` 137 // The key is not valid after this timestamp. 138 ValidNotAfter *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=valid_not_after,json=validNotAfter,proto3" json:"valid_not_after,omitempty"` 139 // Metadata 140 Metadata *meta.Meta `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` 141 } 142 143 func (m *ServiceAccountKey) Reset() { 144 *m = ServiceAccountKey{} 145 if protoimpl.UnsafeEnabled { 146 mi := &edgelq_iam_proto_v1alpha2_service_account_key_proto_msgTypes[0] 147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 148 ms.StoreMessageInfo(mi) 149 } 150 } 151 152 func (m *ServiceAccountKey) String() string { 153 return protoimpl.X.MessageStringOf(m) 154 } 155 156 func (*ServiceAccountKey) ProtoMessage() {} 157 158 func (m *ServiceAccountKey) ProtoReflect() preflect.Message { 159 mi := &edgelq_iam_proto_v1alpha2_service_account_key_proto_msgTypes[0] 160 if protoimpl.UnsafeEnabled && m != nil { 161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 162 if ms.LoadMessageInfo() == nil { 163 ms.StoreMessageInfo(mi) 164 } 165 return ms 166 } 167 return mi.MessageOf(m) 168 } 169 170 func (*ServiceAccountKey) GotenMessage() {} 171 172 // Deprecated, Use ServiceAccountKey.ProtoReflect.Descriptor instead. 173 func (*ServiceAccountKey) Descriptor() ([]byte, []int) { 174 return edgelq_iam_proto_v1alpha2_service_account_key_proto_rawDescGZIP(), []int{0} 175 } 176 177 func (m *ServiceAccountKey) Unmarshal(b []byte) error { 178 return proto.Unmarshal(b, m) 179 } 180 181 func (m *ServiceAccountKey) Marshal() ([]byte, error) { 182 return proto.Marshal(m) 183 } 184 185 func (m *ServiceAccountKey) MarshalJSON() ([]byte, error) { 186 return protojson.MarshalOptions{}.Marshal(m) 187 } 188 189 func (m *ServiceAccountKey) UnmarshalJSON(data []byte) error { 190 return protojson.Unmarshal(data, m) 191 } 192 193 func (m *ServiceAccountKey) GetName() *Name { 194 if m != nil { 195 return m.Name 196 } 197 return nil 198 } 199 200 func (m *ServiceAccountKey) GetDisplayName() string { 201 if m != nil { 202 return m.DisplayName 203 } 204 return "" 205 } 206 207 func (m *ServiceAccountKey) GetPublicKeyData() string { 208 if m != nil { 209 return m.PublicKeyData 210 } 211 return "" 212 } 213 214 func (m *ServiceAccountKey) GetPrivateKeyData() string { 215 if m != nil { 216 return m.PrivateKeyData 217 } 218 return "" 219 } 220 221 func (m *ServiceAccountKey) GetApiKey() string { 222 if m != nil { 223 return m.ApiKey 224 } 225 return "" 226 } 227 228 func (m *ServiceAccountKey) GetAlgorithm() ServiceAccountKey_Algorithm { 229 if m != nil { 230 return m.Algorithm 231 } 232 return ServiceAccountKey_KEY_ALGORITHM_UNSPECIFIED 233 } 234 235 func (m *ServiceAccountKey) GetValidNotBefore() *timestamppb.Timestamp { 236 if m != nil { 237 return m.ValidNotBefore 238 } 239 return nil 240 } 241 242 func (m *ServiceAccountKey) GetValidNotAfter() *timestamppb.Timestamp { 243 if m != nil { 244 return m.ValidNotAfter 245 } 246 return nil 247 } 248 249 func (m *ServiceAccountKey) GetMetadata() *meta.Meta { 250 if m != nil { 251 return m.Metadata 252 } 253 return nil 254 } 255 256 func (m *ServiceAccountKey) SetName(fv *Name) { 257 if m == nil { 258 panic(fmt.Errorf("can't set %s on nil %s", "Name", "ServiceAccountKey")) 259 } 260 m.Name = fv 261 } 262 263 func (m *ServiceAccountKey) SetDisplayName(fv string) { 264 if m == nil { 265 panic(fmt.Errorf("can't set %s on nil %s", "DisplayName", "ServiceAccountKey")) 266 } 267 m.DisplayName = fv 268 } 269 270 func (m *ServiceAccountKey) SetPublicKeyData(fv string) { 271 if m == nil { 272 panic(fmt.Errorf("can't set %s on nil %s", "PublicKeyData", "ServiceAccountKey")) 273 } 274 m.PublicKeyData = fv 275 } 276 277 func (m *ServiceAccountKey) SetPrivateKeyData(fv string) { 278 if m == nil { 279 panic(fmt.Errorf("can't set %s on nil %s", "PrivateKeyData", "ServiceAccountKey")) 280 } 281 m.PrivateKeyData = fv 282 } 283 284 func (m *ServiceAccountKey) SetApiKey(fv string) { 285 if m == nil { 286 panic(fmt.Errorf("can't set %s on nil %s", "ApiKey", "ServiceAccountKey")) 287 } 288 m.ApiKey = fv 289 } 290 291 func (m *ServiceAccountKey) SetAlgorithm(fv ServiceAccountKey_Algorithm) { 292 if m == nil { 293 panic(fmt.Errorf("can't set %s on nil %s", "Algorithm", "ServiceAccountKey")) 294 } 295 m.Algorithm = fv 296 } 297 298 func (m *ServiceAccountKey) SetValidNotBefore(fv *timestamppb.Timestamp) { 299 if m == nil { 300 panic(fmt.Errorf("can't set %s on nil %s", "ValidNotBefore", "ServiceAccountKey")) 301 } 302 m.ValidNotBefore = fv 303 } 304 305 func (m *ServiceAccountKey) SetValidNotAfter(fv *timestamppb.Timestamp) { 306 if m == nil { 307 panic(fmt.Errorf("can't set %s on nil %s", "ValidNotAfter", "ServiceAccountKey")) 308 } 309 m.ValidNotAfter = fv 310 } 311 312 func (m *ServiceAccountKey) SetMetadata(fv *meta.Meta) { 313 if m == nil { 314 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "ServiceAccountKey")) 315 } 316 m.Metadata = fv 317 } 318 319 var edgelq_iam_proto_v1alpha2_service_account_key_proto preflect.FileDescriptor 320 321 var edgelq_iam_proto_v1alpha2_service_account_key_proto_rawDesc = []byte{ 322 0x0a, 0x33, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 323 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x73, 0x65, 0x72, 0x76, 324 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x2e, 325 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 326 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 327 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 328 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 329 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 330 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 331 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 332 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 333 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 334 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 335 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 336 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 337 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 338 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 339 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 340 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 341 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 342 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 343 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 344 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 345 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 346 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x0a, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 347 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x04, 0x6e, 0x61, 348 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0xb2, 0xda, 0x21, 0x15, 0x0a, 0x13, 349 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 350 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x0c, 0x64, 0x69, 0x73, 351 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 352 0x0b, 0xca, 0xc6, 0x27, 0x07, 0x2a, 0x05, 0x3a, 0x03, 0x08, 0x80, 0x01, 0x52, 0x0b, 0x64, 0x69, 353 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x75, 0x62, 354 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 355 0x28, 0x09, 0x52, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x44, 0x61, 0x74, 356 0x61, 0x12, 0x2e, 0x0a, 0x10, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 357 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xf0, 0xd9, 0x21, 358 0x01, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x44, 0x61, 0x74, 359 0x61, 0x12, 0x1d, 0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x09, 0x20, 0x01, 360 0x28, 0x09, 0x42, 0x04, 0xf0, 0xd9, 0x21, 0x01, 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 361 0x12, 0x4b, 0x0a, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x04, 0x20, 362 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 363 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 364 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x2e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 365 0x68, 0x6d, 0x52, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x4a, 0x0a, 366 0x10, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x62, 0x65, 0x66, 0x6f, 0x72, 367 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 368 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 369 0x61, 0x6d, 0x70, 0x42, 0x04, 0xf0, 0xd9, 0x21, 0x01, 0x52, 0x0e, 0x76, 0x61, 0x6c, 0x69, 0x64, 370 0x4e, 0x6f, 0x74, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x48, 0x0a, 0x0f, 0x76, 0x61, 0x6c, 371 0x69, 0x64, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 372 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 373 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 374 0xf0, 0xd9, 0x21, 0x01, 0x52, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4e, 0x6f, 0x74, 0x41, 0x66, 375 0x74, 0x65, 0x72, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 376 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 377 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 378 0x74, 0x61, 0x22, 0x61, 0x0a, 0x09, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 379 0x1d, 0x0a, 0x19, 0x4b, 0x45, 0x59, 0x5f, 0x41, 0x4c, 0x47, 0x4f, 0x52, 0x49, 0x54, 0x48, 0x4d, 380 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 381 0x0a, 0x08, 0x52, 0x53, 0x41, 0x5f, 0x31, 0x30, 0x32, 0x34, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 382 0x52, 0x53, 0x41, 0x5f, 0x32, 0x30, 0x34, 0x38, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x53, 383 0x41, 0x5f, 0x34, 0x30, 0x39, 0x36, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x50, 0x49, 0x5f, 384 0x4b, 0x45, 0x59, 0x10, 0x04, 0x3a, 0xab, 0x05, 0xea, 0x41, 0x92, 0x01, 0x0a, 0x20, 0x69, 0x61, 385 0x6d, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 386 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x6e, 387 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 388 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 389 0x6f, 0x6e, 0x7d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 390 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 391 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 392 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 393 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x7d, 0x92, 0xd9, 394 0x21, 0x8a, 0x01, 0x0a, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 395 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 396 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x1a, 0x0e, 0x53, 0x65, 0x72, 397 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x38, 0x03, 0x42, 0x4e, 0x08, 398 0x02, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x0c, 0x64, 0x69, 0x73, 399 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0b, 0x0a, 0x09, 0x61, 0x6c, 0x67, 400 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x12, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 401 0x6e, 0x6f, 0x74, 0x5f, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x11, 0x0a, 0x0f, 0x76, 0x61, 402 0x6c, 0x69, 0x64, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0xb2, 0xdf, 0x21, 403 0xf9, 0x01, 0x0a, 0xf6, 0x01, 0x0a, 0x71, 0x0a, 0x06, 0x62, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 404 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x5a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 405 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 406 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 407 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 408 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x73, 0x65, 0x72, 409 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x2f, 410 0x2d, 0x2a, 0x05, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x0a, 0x80, 0x01, 0x0a, 0x0d, 0x62, 0x79, 0x44, 411 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x0c, 0x64, 0x69, 0x73, 0x70, 412 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x5a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 413 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x72, 0x65, 0x67, 414 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x73, 0x65, 415 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x73, 416 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 417 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 418 0x79, 0x73, 0x2f, 0x2d, 0x2a, 0x05, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0xda, 0x94, 0x23, 0x08, 0x12, 419 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xc2, 0x85, 0x2c, 0x78, 0x1a, 0x10, 0x70, 0x72, 0x69, 420 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x07, 0x61, 421 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x22, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0c, 0x64, 0x69, 422 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0f, 0x70, 0x75, 0x62, 0x6c, 423 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x22, 0x09, 0x61, 0x6c, 0x67, 424 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x22, 0x10, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x6e, 0x6f, 425 0x74, 0x5f, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x22, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 426 0x6e, 0x6f, 0x74, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x42, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 427 0x61, 0x74, 0x61, 0x42, 0xda, 0x02, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x5e, 0x0a, 428 0x19, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 429 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x41, 0x67, 0x69, 0x74, 0x68, 430 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 431 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 432 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 433 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0xa2, 0x80, 0xd1, 434 0x02, 0x60, 0x0a, 0x1a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 435 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x42, 436 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 437 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 438 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x73, 439 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, 440 0x65, 0x79, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 441 0x70, 0x62, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x42, 0x16, 0x53, 0x65, 0x72, 442 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x50, 0x72, 443 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 444 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 445 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 446 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 447 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x3b, 0x73, 0x65, 0x72, 448 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 449 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 450 } 451 452 var ( 453 edgelq_iam_proto_v1alpha2_service_account_key_proto_rawDescOnce sync.Once 454 edgelq_iam_proto_v1alpha2_service_account_key_proto_rawDescData = edgelq_iam_proto_v1alpha2_service_account_key_proto_rawDesc 455 ) 456 457 func edgelq_iam_proto_v1alpha2_service_account_key_proto_rawDescGZIP() []byte { 458 edgelq_iam_proto_v1alpha2_service_account_key_proto_rawDescOnce.Do(func() { 459 edgelq_iam_proto_v1alpha2_service_account_key_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_iam_proto_v1alpha2_service_account_key_proto_rawDescData) 460 }) 461 return edgelq_iam_proto_v1alpha2_service_account_key_proto_rawDescData 462 } 463 464 var edgelq_iam_proto_v1alpha2_service_account_key_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 465 var edgelq_iam_proto_v1alpha2_service_account_key_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 466 var edgelq_iam_proto_v1alpha2_service_account_key_proto_goTypes = []interface{}{ 467 (ServiceAccountKey_Algorithm)(0), // 0: ntt.iam.v1alpha2.ServiceAccountKey_Algorithm 468 (*ServiceAccountKey)(nil), // 1: ntt.iam.v1alpha2.ServiceAccountKey 469 (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp 470 (*meta.Meta)(nil), // 3: goten.types.Meta 471 } 472 var edgelq_iam_proto_v1alpha2_service_account_key_proto_depIdxs = []int32{ 473 0, // 0: ntt.iam.v1alpha2.ServiceAccountKey.algorithm:type_name -> ntt.iam.v1alpha2.ServiceAccountKey_Algorithm 474 2, // 1: ntt.iam.v1alpha2.ServiceAccountKey.valid_not_before:type_name -> google.protobuf.Timestamp 475 2, // 2: ntt.iam.v1alpha2.ServiceAccountKey.valid_not_after:type_name -> google.protobuf.Timestamp 476 3, // 3: ntt.iam.v1alpha2.ServiceAccountKey.metadata:type_name -> goten.types.Meta 477 4, // [4:4] is the sub-list for method output_type 478 4, // [4:4] is the sub-list for method input_type 479 4, // [4:4] is the sub-list for extension type_name 480 4, // [4:4] is the sub-list for extension extendee 481 0, // [0:4] is the sub-list for field type_name 482 } 483 484 func init() { edgelq_iam_proto_v1alpha2_service_account_key_proto_init() } 485 func edgelq_iam_proto_v1alpha2_service_account_key_proto_init() { 486 if edgelq_iam_proto_v1alpha2_service_account_key_proto != nil { 487 return 488 } 489 if !protoimpl.UnsafeEnabled { 490 491 edgelq_iam_proto_v1alpha2_service_account_key_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 492 switch v := v.(*ServiceAccountKey); i { 493 case 0: 494 return &v.state 495 case 1: 496 return &v.sizeCache 497 case 2: 498 return &v.unknownFields 499 default: 500 return nil 501 } 502 } 503 } 504 505 type x struct{} 506 out := protoimpl.TypeBuilder{ 507 File: protoimpl.DescBuilder{ 508 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 509 RawDescriptor: edgelq_iam_proto_v1alpha2_service_account_key_proto_rawDesc, 510 NumEnums: 1, 511 NumMessages: 1, 512 NumExtensions: 0, 513 NumServices: 0, 514 }, 515 GoTypes: edgelq_iam_proto_v1alpha2_service_account_key_proto_goTypes, 516 DependencyIndexes: edgelq_iam_proto_v1alpha2_service_account_key_proto_depIdxs, 517 EnumInfos: edgelq_iam_proto_v1alpha2_service_account_key_proto_enumTypes, 518 MessageInfos: edgelq_iam_proto_v1alpha2_service_account_key_proto_msgTypes, 519 }.Build() 520 edgelq_iam_proto_v1alpha2_service_account_key_proto = out.File 521 edgelq_iam_proto_v1alpha2_service_account_key_proto_rawDesc = nil 522 edgelq_iam_proto_v1alpha2_service_account_key_proto_goTypes = nil 523 edgelq_iam_proto_v1alpha2_service_account_key_proto_depIdxs = nil 524 }