github.com/cloudwan/edgelq-sdk@v1.15.4/iam/resources/v1alpha2/service_account_key/service_account_key.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/iam/proto/v1alpha2/service_account_key.proto 3 // DO NOT EDIT!!! 4 5 package service_account_key 6 7 // proto imports 8 import ( 9 iam_common "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/common" 10 organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/organization" 11 project "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/project" 12 service_account "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/service_account" 13 meta_service "github.com/cloudwan/edgelq-sdk/meta/resources/v1alpha2/service" 14 meta "github.com/cloudwan/goten-sdk/types/meta" 15 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 16 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 17 ) 18 19 // make sure we're using proto imports 20 var ( 21 _ = &iam_common.PCR{} 22 _ = &organization.Organization{} 23 _ = &project.Project{} 24 _ = &service_account.ServiceAccount{} 25 _ = &meta_service.Service{} 26 _ = ×tamppb.Timestamp{} 27 _ = &meta.Meta{} 28 _ = &multi_region_policy.MultiRegionPolicy{} 29 ) 30 31 type ServiceAccountKeyFieldPathBuilder struct{} 32 33 func NewServiceAccountKeyFieldPathBuilder() ServiceAccountKeyFieldPathBuilder { 34 return ServiceAccountKeyFieldPathBuilder{} 35 } 36 func (ServiceAccountKeyFieldPathBuilder) Name() ServiceAccountKeyPathSelectorName { 37 return ServiceAccountKeyPathSelectorName{} 38 } 39 func (ServiceAccountKeyFieldPathBuilder) DisplayName() ServiceAccountKeyPathSelectorDisplayName { 40 return ServiceAccountKeyPathSelectorDisplayName{} 41 } 42 func (ServiceAccountKeyFieldPathBuilder) PublicKeyData() ServiceAccountKeyPathSelectorPublicKeyData { 43 return ServiceAccountKeyPathSelectorPublicKeyData{} 44 } 45 func (ServiceAccountKeyFieldPathBuilder) PrivateKeyData() ServiceAccountKeyPathSelectorPrivateKeyData { 46 return ServiceAccountKeyPathSelectorPrivateKeyData{} 47 } 48 func (ServiceAccountKeyFieldPathBuilder) ApiKey() ServiceAccountKeyPathSelectorApiKey { 49 return ServiceAccountKeyPathSelectorApiKey{} 50 } 51 func (ServiceAccountKeyFieldPathBuilder) Algorithm() ServiceAccountKeyPathSelectorAlgorithm { 52 return ServiceAccountKeyPathSelectorAlgorithm{} 53 } 54 func (ServiceAccountKeyFieldPathBuilder) ValidNotBefore() ServiceAccountKeyPathSelectorValidNotBefore { 55 return ServiceAccountKeyPathSelectorValidNotBefore{} 56 } 57 func (ServiceAccountKeyFieldPathBuilder) ValidNotAfter() ServiceAccountKeyPathSelectorValidNotAfter { 58 return ServiceAccountKeyPathSelectorValidNotAfter{} 59 } 60 func (ServiceAccountKeyFieldPathBuilder) Metadata() ServiceAccountKeyPathSelectorMetadata { 61 return ServiceAccountKeyPathSelectorMetadata{} 62 } 63 64 type ServiceAccountKeyPathSelectorName struct{} 65 66 func (ServiceAccountKeyPathSelectorName) FieldPath() *ServiceAccountKey_FieldTerminalPath { 67 return &ServiceAccountKey_FieldTerminalPath{selector: ServiceAccountKey_FieldPathSelectorName} 68 } 69 70 func (s ServiceAccountKeyPathSelectorName) WithValue(value *Name) *ServiceAccountKey_FieldTerminalPathValue { 71 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldTerminalPathValue) 72 } 73 74 func (s ServiceAccountKeyPathSelectorName) WithArrayOfValues(values []*Name) *ServiceAccountKey_FieldTerminalPathArrayOfValues { 75 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldTerminalPathArrayOfValues) 76 } 77 78 type ServiceAccountKeyPathSelectorDisplayName struct{} 79 80 func (ServiceAccountKeyPathSelectorDisplayName) FieldPath() *ServiceAccountKey_FieldTerminalPath { 81 return &ServiceAccountKey_FieldTerminalPath{selector: ServiceAccountKey_FieldPathSelectorDisplayName} 82 } 83 84 func (s ServiceAccountKeyPathSelectorDisplayName) WithValue(value string) *ServiceAccountKey_FieldTerminalPathValue { 85 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldTerminalPathValue) 86 } 87 88 func (s ServiceAccountKeyPathSelectorDisplayName) WithArrayOfValues(values []string) *ServiceAccountKey_FieldTerminalPathArrayOfValues { 89 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldTerminalPathArrayOfValues) 90 } 91 92 type ServiceAccountKeyPathSelectorPublicKeyData struct{} 93 94 func (ServiceAccountKeyPathSelectorPublicKeyData) FieldPath() *ServiceAccountKey_FieldTerminalPath { 95 return &ServiceAccountKey_FieldTerminalPath{selector: ServiceAccountKey_FieldPathSelectorPublicKeyData} 96 } 97 98 func (s ServiceAccountKeyPathSelectorPublicKeyData) WithValue(value string) *ServiceAccountKey_FieldTerminalPathValue { 99 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldTerminalPathValue) 100 } 101 102 func (s ServiceAccountKeyPathSelectorPublicKeyData) WithArrayOfValues(values []string) *ServiceAccountKey_FieldTerminalPathArrayOfValues { 103 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldTerminalPathArrayOfValues) 104 } 105 106 type ServiceAccountKeyPathSelectorPrivateKeyData struct{} 107 108 func (ServiceAccountKeyPathSelectorPrivateKeyData) FieldPath() *ServiceAccountKey_FieldTerminalPath { 109 return &ServiceAccountKey_FieldTerminalPath{selector: ServiceAccountKey_FieldPathSelectorPrivateKeyData} 110 } 111 112 func (s ServiceAccountKeyPathSelectorPrivateKeyData) WithValue(value string) *ServiceAccountKey_FieldTerminalPathValue { 113 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldTerminalPathValue) 114 } 115 116 func (s ServiceAccountKeyPathSelectorPrivateKeyData) WithArrayOfValues(values []string) *ServiceAccountKey_FieldTerminalPathArrayOfValues { 117 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldTerminalPathArrayOfValues) 118 } 119 120 type ServiceAccountKeyPathSelectorApiKey struct{} 121 122 func (ServiceAccountKeyPathSelectorApiKey) FieldPath() *ServiceAccountKey_FieldTerminalPath { 123 return &ServiceAccountKey_FieldTerminalPath{selector: ServiceAccountKey_FieldPathSelectorApiKey} 124 } 125 126 func (s ServiceAccountKeyPathSelectorApiKey) WithValue(value string) *ServiceAccountKey_FieldTerminalPathValue { 127 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldTerminalPathValue) 128 } 129 130 func (s ServiceAccountKeyPathSelectorApiKey) WithArrayOfValues(values []string) *ServiceAccountKey_FieldTerminalPathArrayOfValues { 131 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldTerminalPathArrayOfValues) 132 } 133 134 type ServiceAccountKeyPathSelectorAlgorithm struct{} 135 136 func (ServiceAccountKeyPathSelectorAlgorithm) FieldPath() *ServiceAccountKey_FieldTerminalPath { 137 return &ServiceAccountKey_FieldTerminalPath{selector: ServiceAccountKey_FieldPathSelectorAlgorithm} 138 } 139 140 func (s ServiceAccountKeyPathSelectorAlgorithm) WithValue(value ServiceAccountKey_Algorithm) *ServiceAccountKey_FieldTerminalPathValue { 141 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldTerminalPathValue) 142 } 143 144 func (s ServiceAccountKeyPathSelectorAlgorithm) WithArrayOfValues(values []ServiceAccountKey_Algorithm) *ServiceAccountKey_FieldTerminalPathArrayOfValues { 145 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldTerminalPathArrayOfValues) 146 } 147 148 type ServiceAccountKeyPathSelectorValidNotBefore struct{} 149 150 func (ServiceAccountKeyPathSelectorValidNotBefore) FieldPath() *ServiceAccountKey_FieldTerminalPath { 151 return &ServiceAccountKey_FieldTerminalPath{selector: ServiceAccountKey_FieldPathSelectorValidNotBefore} 152 } 153 154 func (s ServiceAccountKeyPathSelectorValidNotBefore) WithValue(value *timestamppb.Timestamp) *ServiceAccountKey_FieldTerminalPathValue { 155 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldTerminalPathValue) 156 } 157 158 func (s ServiceAccountKeyPathSelectorValidNotBefore) WithArrayOfValues(values []*timestamppb.Timestamp) *ServiceAccountKey_FieldTerminalPathArrayOfValues { 159 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldTerminalPathArrayOfValues) 160 } 161 162 type ServiceAccountKeyPathSelectorValidNotAfter struct{} 163 164 func (ServiceAccountKeyPathSelectorValidNotAfter) FieldPath() *ServiceAccountKey_FieldTerminalPath { 165 return &ServiceAccountKey_FieldTerminalPath{selector: ServiceAccountKey_FieldPathSelectorValidNotAfter} 166 } 167 168 func (s ServiceAccountKeyPathSelectorValidNotAfter) WithValue(value *timestamppb.Timestamp) *ServiceAccountKey_FieldTerminalPathValue { 169 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldTerminalPathValue) 170 } 171 172 func (s ServiceAccountKeyPathSelectorValidNotAfter) WithArrayOfValues(values []*timestamppb.Timestamp) *ServiceAccountKey_FieldTerminalPathArrayOfValues { 173 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldTerminalPathArrayOfValues) 174 } 175 176 type ServiceAccountKeyPathSelectorMetadata struct{} 177 178 func (ServiceAccountKeyPathSelectorMetadata) FieldPath() *ServiceAccountKey_FieldTerminalPath { 179 return &ServiceAccountKey_FieldTerminalPath{selector: ServiceAccountKey_FieldPathSelectorMetadata} 180 } 181 182 func (s ServiceAccountKeyPathSelectorMetadata) WithValue(value *meta.Meta) *ServiceAccountKey_FieldTerminalPathValue { 183 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldTerminalPathValue) 184 } 185 186 func (s ServiceAccountKeyPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *ServiceAccountKey_FieldTerminalPathArrayOfValues { 187 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldTerminalPathArrayOfValues) 188 } 189 190 func (ServiceAccountKeyPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *ServiceAccountKey_FieldSubPath { 191 return &ServiceAccountKey_FieldSubPath{selector: ServiceAccountKey_FieldPathSelectorMetadata, subPath: subPath} 192 } 193 194 func (s ServiceAccountKeyPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *ServiceAccountKey_FieldSubPathValue { 195 return &ServiceAccountKey_FieldSubPathValue{ServiceAccountKey_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 196 } 197 198 func (s ServiceAccountKeyPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *ServiceAccountKey_FieldSubPathArrayOfValues { 199 return &ServiceAccountKey_FieldSubPathArrayOfValues{ServiceAccountKey_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 200 } 201 202 func (s ServiceAccountKeyPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *ServiceAccountKey_FieldSubPathArrayItemValue { 203 return &ServiceAccountKey_FieldSubPathArrayItemValue{ServiceAccountKey_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 204 } 205 206 func (ServiceAccountKeyPathSelectorMetadata) CreateTime() ServiceAccountKeyPathSelectorMetadataCreateTime { 207 return ServiceAccountKeyPathSelectorMetadataCreateTime{} 208 } 209 210 func (ServiceAccountKeyPathSelectorMetadata) UpdateTime() ServiceAccountKeyPathSelectorMetadataUpdateTime { 211 return ServiceAccountKeyPathSelectorMetadataUpdateTime{} 212 } 213 214 func (ServiceAccountKeyPathSelectorMetadata) DeleteTime() ServiceAccountKeyPathSelectorMetadataDeleteTime { 215 return ServiceAccountKeyPathSelectorMetadataDeleteTime{} 216 } 217 218 func (ServiceAccountKeyPathSelectorMetadata) Uuid() ServiceAccountKeyPathSelectorMetadataUuid { 219 return ServiceAccountKeyPathSelectorMetadataUuid{} 220 } 221 222 func (ServiceAccountKeyPathSelectorMetadata) Tags() ServiceAccountKeyPathSelectorMetadataTags { 223 return ServiceAccountKeyPathSelectorMetadataTags{} 224 } 225 226 func (ServiceAccountKeyPathSelectorMetadata) Labels() ServiceAccountKeyPathSelectorMetadataLabels { 227 return ServiceAccountKeyPathSelectorMetadataLabels{} 228 } 229 230 func (ServiceAccountKeyPathSelectorMetadata) Annotations() ServiceAccountKeyPathSelectorMetadataAnnotations { 231 return ServiceAccountKeyPathSelectorMetadataAnnotations{} 232 } 233 234 func (ServiceAccountKeyPathSelectorMetadata) Generation() ServiceAccountKeyPathSelectorMetadataGeneration { 235 return ServiceAccountKeyPathSelectorMetadataGeneration{} 236 } 237 238 func (ServiceAccountKeyPathSelectorMetadata) ResourceVersion() ServiceAccountKeyPathSelectorMetadataResourceVersion { 239 return ServiceAccountKeyPathSelectorMetadataResourceVersion{} 240 } 241 242 func (ServiceAccountKeyPathSelectorMetadata) OwnerReferences() ServiceAccountKeyPathSelectorMetadataOwnerReferences { 243 return ServiceAccountKeyPathSelectorMetadataOwnerReferences{} 244 } 245 246 func (ServiceAccountKeyPathSelectorMetadata) Shards() ServiceAccountKeyPathSelectorMetadataShards { 247 return ServiceAccountKeyPathSelectorMetadataShards{} 248 } 249 250 func (ServiceAccountKeyPathSelectorMetadata) Syncing() ServiceAccountKeyPathSelectorMetadataSyncing { 251 return ServiceAccountKeyPathSelectorMetadataSyncing{} 252 } 253 254 func (ServiceAccountKeyPathSelectorMetadata) Lifecycle() ServiceAccountKeyPathSelectorMetadataLifecycle { 255 return ServiceAccountKeyPathSelectorMetadataLifecycle{} 256 } 257 258 func (ServiceAccountKeyPathSelectorMetadata) Services() ServiceAccountKeyPathSelectorMetadataServices { 259 return ServiceAccountKeyPathSelectorMetadataServices{} 260 } 261 262 type ServiceAccountKeyPathSelectorMetadataCreateTime struct{} 263 264 func (ServiceAccountKeyPathSelectorMetadataCreateTime) FieldPath() *ServiceAccountKey_FieldSubPath { 265 return &ServiceAccountKey_FieldSubPath{ 266 selector: ServiceAccountKey_FieldPathSelectorMetadata, 267 subPath: meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(), 268 } 269 } 270 271 func (s ServiceAccountKeyPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *ServiceAccountKey_FieldSubPathValue { 272 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 273 } 274 275 func (s ServiceAccountKeyPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *ServiceAccountKey_FieldSubPathArrayOfValues { 276 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 277 } 278 279 type ServiceAccountKeyPathSelectorMetadataUpdateTime struct{} 280 281 func (ServiceAccountKeyPathSelectorMetadataUpdateTime) FieldPath() *ServiceAccountKey_FieldSubPath { 282 return &ServiceAccountKey_FieldSubPath{ 283 selector: ServiceAccountKey_FieldPathSelectorMetadata, 284 subPath: meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(), 285 } 286 } 287 288 func (s ServiceAccountKeyPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *ServiceAccountKey_FieldSubPathValue { 289 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 290 } 291 292 func (s ServiceAccountKeyPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *ServiceAccountKey_FieldSubPathArrayOfValues { 293 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 294 } 295 296 type ServiceAccountKeyPathSelectorMetadataDeleteTime struct{} 297 298 func (ServiceAccountKeyPathSelectorMetadataDeleteTime) FieldPath() *ServiceAccountKey_FieldSubPath { 299 return &ServiceAccountKey_FieldSubPath{ 300 selector: ServiceAccountKey_FieldPathSelectorMetadata, 301 subPath: meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(), 302 } 303 } 304 305 func (s ServiceAccountKeyPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *ServiceAccountKey_FieldSubPathValue { 306 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 307 } 308 309 func (s ServiceAccountKeyPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *ServiceAccountKey_FieldSubPathArrayOfValues { 310 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 311 } 312 313 type ServiceAccountKeyPathSelectorMetadataUuid struct{} 314 315 func (ServiceAccountKeyPathSelectorMetadataUuid) FieldPath() *ServiceAccountKey_FieldSubPath { 316 return &ServiceAccountKey_FieldSubPath{ 317 selector: ServiceAccountKey_FieldPathSelectorMetadata, 318 subPath: meta.NewMetaFieldPathBuilder().Uuid().FieldPath(), 319 } 320 } 321 322 func (s ServiceAccountKeyPathSelectorMetadataUuid) WithValue(value string) *ServiceAccountKey_FieldSubPathValue { 323 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 324 } 325 326 func (s ServiceAccountKeyPathSelectorMetadataUuid) WithArrayOfValues(values []string) *ServiceAccountKey_FieldSubPathArrayOfValues { 327 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 328 } 329 330 type ServiceAccountKeyPathSelectorMetadataTags struct{} 331 332 func (ServiceAccountKeyPathSelectorMetadataTags) FieldPath() *ServiceAccountKey_FieldSubPath { 333 return &ServiceAccountKey_FieldSubPath{ 334 selector: ServiceAccountKey_FieldPathSelectorMetadata, 335 subPath: meta.NewMetaFieldPathBuilder().Tags().FieldPath(), 336 } 337 } 338 339 func (s ServiceAccountKeyPathSelectorMetadataTags) WithValue(value []string) *ServiceAccountKey_FieldSubPathValue { 340 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 341 } 342 343 func (s ServiceAccountKeyPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *ServiceAccountKey_FieldSubPathArrayOfValues { 344 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 345 } 346 347 func (s ServiceAccountKeyPathSelectorMetadataTags) WithItemValue(value string) *ServiceAccountKey_FieldSubPathArrayItemValue { 348 return s.FieldPath().WithIArrayItemValue(value).(*ServiceAccountKey_FieldSubPathArrayItemValue) 349 } 350 351 type ServiceAccountKeyPathSelectorMetadataLabels struct{} 352 353 func (ServiceAccountKeyPathSelectorMetadataLabels) FieldPath() *ServiceAccountKey_FieldSubPath { 354 return &ServiceAccountKey_FieldSubPath{ 355 selector: ServiceAccountKey_FieldPathSelectorMetadata, 356 subPath: meta.NewMetaFieldPathBuilder().Labels().FieldPath(), 357 } 358 } 359 360 func (s ServiceAccountKeyPathSelectorMetadataLabels) WithValue(value map[string]string) *ServiceAccountKey_FieldSubPathValue { 361 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 362 } 363 364 func (s ServiceAccountKeyPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *ServiceAccountKey_FieldSubPathArrayOfValues { 365 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 366 } 367 368 func (ServiceAccountKeyPathSelectorMetadataLabels) WithKey(key string) ServiceAccountKeyMapPathSelectorMetadataLabels { 369 return ServiceAccountKeyMapPathSelectorMetadataLabels{key: key} 370 } 371 372 type ServiceAccountKeyMapPathSelectorMetadataLabels struct { 373 key string 374 } 375 376 func (s ServiceAccountKeyMapPathSelectorMetadataLabels) FieldPath() *ServiceAccountKey_FieldSubPath { 377 return &ServiceAccountKey_FieldSubPath{ 378 selector: ServiceAccountKey_FieldPathSelectorMetadata, 379 subPath: meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 380 } 381 } 382 383 func (s ServiceAccountKeyMapPathSelectorMetadataLabels) WithValue(value string) *ServiceAccountKey_FieldSubPathValue { 384 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 385 } 386 387 func (s ServiceAccountKeyMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *ServiceAccountKey_FieldSubPathArrayOfValues { 388 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 389 } 390 391 type ServiceAccountKeyPathSelectorMetadataAnnotations struct{} 392 393 func (ServiceAccountKeyPathSelectorMetadataAnnotations) FieldPath() *ServiceAccountKey_FieldSubPath { 394 return &ServiceAccountKey_FieldSubPath{ 395 selector: ServiceAccountKey_FieldPathSelectorMetadata, 396 subPath: meta.NewMetaFieldPathBuilder().Annotations().FieldPath(), 397 } 398 } 399 400 func (s ServiceAccountKeyPathSelectorMetadataAnnotations) WithValue(value map[string]string) *ServiceAccountKey_FieldSubPathValue { 401 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 402 } 403 404 func (s ServiceAccountKeyPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *ServiceAccountKey_FieldSubPathArrayOfValues { 405 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 406 } 407 408 func (ServiceAccountKeyPathSelectorMetadataAnnotations) WithKey(key string) ServiceAccountKeyMapPathSelectorMetadataAnnotations { 409 return ServiceAccountKeyMapPathSelectorMetadataAnnotations{key: key} 410 } 411 412 type ServiceAccountKeyMapPathSelectorMetadataAnnotations struct { 413 key string 414 } 415 416 func (s ServiceAccountKeyMapPathSelectorMetadataAnnotations) FieldPath() *ServiceAccountKey_FieldSubPath { 417 return &ServiceAccountKey_FieldSubPath{ 418 selector: ServiceAccountKey_FieldPathSelectorMetadata, 419 subPath: meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(), 420 } 421 } 422 423 func (s ServiceAccountKeyMapPathSelectorMetadataAnnotations) WithValue(value string) *ServiceAccountKey_FieldSubPathValue { 424 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 425 } 426 427 func (s ServiceAccountKeyMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *ServiceAccountKey_FieldSubPathArrayOfValues { 428 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 429 } 430 431 type ServiceAccountKeyPathSelectorMetadataGeneration struct{} 432 433 func (ServiceAccountKeyPathSelectorMetadataGeneration) FieldPath() *ServiceAccountKey_FieldSubPath { 434 return &ServiceAccountKey_FieldSubPath{ 435 selector: ServiceAccountKey_FieldPathSelectorMetadata, 436 subPath: meta.NewMetaFieldPathBuilder().Generation().FieldPath(), 437 } 438 } 439 440 func (s ServiceAccountKeyPathSelectorMetadataGeneration) WithValue(value int64) *ServiceAccountKey_FieldSubPathValue { 441 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 442 } 443 444 func (s ServiceAccountKeyPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *ServiceAccountKey_FieldSubPathArrayOfValues { 445 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 446 } 447 448 type ServiceAccountKeyPathSelectorMetadataResourceVersion struct{} 449 450 func (ServiceAccountKeyPathSelectorMetadataResourceVersion) FieldPath() *ServiceAccountKey_FieldSubPath { 451 return &ServiceAccountKey_FieldSubPath{ 452 selector: ServiceAccountKey_FieldPathSelectorMetadata, 453 subPath: meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(), 454 } 455 } 456 457 func (s ServiceAccountKeyPathSelectorMetadataResourceVersion) WithValue(value string) *ServiceAccountKey_FieldSubPathValue { 458 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 459 } 460 461 func (s ServiceAccountKeyPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *ServiceAccountKey_FieldSubPathArrayOfValues { 462 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 463 } 464 465 type ServiceAccountKeyPathSelectorMetadataOwnerReferences struct{} 466 467 func (ServiceAccountKeyPathSelectorMetadataOwnerReferences) FieldPath() *ServiceAccountKey_FieldSubPath { 468 return &ServiceAccountKey_FieldSubPath{ 469 selector: ServiceAccountKey_FieldPathSelectorMetadata, 470 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(), 471 } 472 } 473 474 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *ServiceAccountKey_FieldSubPathValue { 475 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 476 } 477 478 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *ServiceAccountKey_FieldSubPathArrayOfValues { 479 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 480 } 481 482 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *ServiceAccountKey_FieldSubPathArrayItemValue { 483 return s.FieldPath().WithIArrayItemValue(value).(*ServiceAccountKey_FieldSubPathArrayItemValue) 484 } 485 486 func (ServiceAccountKeyPathSelectorMetadataOwnerReferences) Kind() ServiceAccountKeyPathSelectorMetadataOwnerReferencesKind { 487 return ServiceAccountKeyPathSelectorMetadataOwnerReferencesKind{} 488 } 489 490 func (ServiceAccountKeyPathSelectorMetadataOwnerReferences) Version() ServiceAccountKeyPathSelectorMetadataOwnerReferencesVersion { 491 return ServiceAccountKeyPathSelectorMetadataOwnerReferencesVersion{} 492 } 493 494 func (ServiceAccountKeyPathSelectorMetadataOwnerReferences) Name() ServiceAccountKeyPathSelectorMetadataOwnerReferencesName { 495 return ServiceAccountKeyPathSelectorMetadataOwnerReferencesName{} 496 } 497 498 func (ServiceAccountKeyPathSelectorMetadataOwnerReferences) Region() ServiceAccountKeyPathSelectorMetadataOwnerReferencesRegion { 499 return ServiceAccountKeyPathSelectorMetadataOwnerReferencesRegion{} 500 } 501 502 func (ServiceAccountKeyPathSelectorMetadataOwnerReferences) Controller() ServiceAccountKeyPathSelectorMetadataOwnerReferencesController { 503 return ServiceAccountKeyPathSelectorMetadataOwnerReferencesController{} 504 } 505 506 func (ServiceAccountKeyPathSelectorMetadataOwnerReferences) RequiresOwnerReference() ServiceAccountKeyPathSelectorMetadataOwnerReferencesRequiresOwnerReference { 507 return ServiceAccountKeyPathSelectorMetadataOwnerReferencesRequiresOwnerReference{} 508 } 509 510 func (ServiceAccountKeyPathSelectorMetadataOwnerReferences) UnsetOnDelete() ServiceAccountKeyPathSelectorMetadataOwnerReferencesUnsetOnDelete { 511 return ServiceAccountKeyPathSelectorMetadataOwnerReferencesUnsetOnDelete{} 512 } 513 514 type ServiceAccountKeyPathSelectorMetadataOwnerReferencesKind struct{} 515 516 func (ServiceAccountKeyPathSelectorMetadataOwnerReferencesKind) FieldPath() *ServiceAccountKey_FieldSubPath { 517 return &ServiceAccountKey_FieldSubPath{ 518 selector: ServiceAccountKey_FieldPathSelectorMetadata, 519 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(), 520 } 521 } 522 523 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *ServiceAccountKey_FieldSubPathValue { 524 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 525 } 526 527 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *ServiceAccountKey_FieldSubPathArrayOfValues { 528 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 529 } 530 531 type ServiceAccountKeyPathSelectorMetadataOwnerReferencesVersion struct{} 532 533 func (ServiceAccountKeyPathSelectorMetadataOwnerReferencesVersion) FieldPath() *ServiceAccountKey_FieldSubPath { 534 return &ServiceAccountKey_FieldSubPath{ 535 selector: ServiceAccountKey_FieldPathSelectorMetadata, 536 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(), 537 } 538 } 539 540 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *ServiceAccountKey_FieldSubPathValue { 541 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 542 } 543 544 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *ServiceAccountKey_FieldSubPathArrayOfValues { 545 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 546 } 547 548 type ServiceAccountKeyPathSelectorMetadataOwnerReferencesName struct{} 549 550 func (ServiceAccountKeyPathSelectorMetadataOwnerReferencesName) FieldPath() *ServiceAccountKey_FieldSubPath { 551 return &ServiceAccountKey_FieldSubPath{ 552 selector: ServiceAccountKey_FieldPathSelectorMetadata, 553 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(), 554 } 555 } 556 557 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferencesName) WithValue(value string) *ServiceAccountKey_FieldSubPathValue { 558 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 559 } 560 561 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *ServiceAccountKey_FieldSubPathArrayOfValues { 562 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 563 } 564 565 type ServiceAccountKeyPathSelectorMetadataOwnerReferencesRegion struct{} 566 567 func (ServiceAccountKeyPathSelectorMetadataOwnerReferencesRegion) FieldPath() *ServiceAccountKey_FieldSubPath { 568 return &ServiceAccountKey_FieldSubPath{ 569 selector: ServiceAccountKey_FieldPathSelectorMetadata, 570 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(), 571 } 572 } 573 574 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *ServiceAccountKey_FieldSubPathValue { 575 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 576 } 577 578 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *ServiceAccountKey_FieldSubPathArrayOfValues { 579 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 580 } 581 582 type ServiceAccountKeyPathSelectorMetadataOwnerReferencesController struct{} 583 584 func (ServiceAccountKeyPathSelectorMetadataOwnerReferencesController) FieldPath() *ServiceAccountKey_FieldSubPath { 585 return &ServiceAccountKey_FieldSubPath{ 586 selector: ServiceAccountKey_FieldPathSelectorMetadata, 587 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(), 588 } 589 } 590 591 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *ServiceAccountKey_FieldSubPathValue { 592 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 593 } 594 595 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *ServiceAccountKey_FieldSubPathArrayOfValues { 596 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 597 } 598 599 type ServiceAccountKeyPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{} 600 601 func (ServiceAccountKeyPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *ServiceAccountKey_FieldSubPath { 602 return &ServiceAccountKey_FieldSubPath{ 603 selector: ServiceAccountKey_FieldPathSelectorMetadata, 604 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(), 605 } 606 } 607 608 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *ServiceAccountKey_FieldSubPathValue { 609 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 610 } 611 612 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *ServiceAccountKey_FieldSubPathArrayOfValues { 613 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 614 } 615 616 type ServiceAccountKeyPathSelectorMetadataOwnerReferencesUnsetOnDelete struct{} 617 618 func (ServiceAccountKeyPathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *ServiceAccountKey_FieldSubPath { 619 return &ServiceAccountKey_FieldSubPath{ 620 selector: ServiceAccountKey_FieldPathSelectorMetadata, 621 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(), 622 } 623 } 624 625 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *ServiceAccountKey_FieldSubPathValue { 626 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 627 } 628 629 func (s ServiceAccountKeyPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *ServiceAccountKey_FieldSubPathArrayOfValues { 630 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 631 } 632 633 type ServiceAccountKeyPathSelectorMetadataShards struct{} 634 635 func (ServiceAccountKeyPathSelectorMetadataShards) FieldPath() *ServiceAccountKey_FieldSubPath { 636 return &ServiceAccountKey_FieldSubPath{ 637 selector: ServiceAccountKey_FieldPathSelectorMetadata, 638 subPath: meta.NewMetaFieldPathBuilder().Shards().FieldPath(), 639 } 640 } 641 642 func (s ServiceAccountKeyPathSelectorMetadataShards) WithValue(value map[string]int64) *ServiceAccountKey_FieldSubPathValue { 643 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 644 } 645 646 func (s ServiceAccountKeyPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *ServiceAccountKey_FieldSubPathArrayOfValues { 647 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 648 } 649 650 func (ServiceAccountKeyPathSelectorMetadataShards) WithKey(key string) ServiceAccountKeyMapPathSelectorMetadataShards { 651 return ServiceAccountKeyMapPathSelectorMetadataShards{key: key} 652 } 653 654 type ServiceAccountKeyMapPathSelectorMetadataShards struct { 655 key string 656 } 657 658 func (s ServiceAccountKeyMapPathSelectorMetadataShards) FieldPath() *ServiceAccountKey_FieldSubPath { 659 return &ServiceAccountKey_FieldSubPath{ 660 selector: ServiceAccountKey_FieldPathSelectorMetadata, 661 subPath: meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(), 662 } 663 } 664 665 func (s ServiceAccountKeyMapPathSelectorMetadataShards) WithValue(value int64) *ServiceAccountKey_FieldSubPathValue { 666 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 667 } 668 669 func (s ServiceAccountKeyMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *ServiceAccountKey_FieldSubPathArrayOfValues { 670 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 671 } 672 673 type ServiceAccountKeyPathSelectorMetadataSyncing struct{} 674 675 func (ServiceAccountKeyPathSelectorMetadataSyncing) FieldPath() *ServiceAccountKey_FieldSubPath { 676 return &ServiceAccountKey_FieldSubPath{ 677 selector: ServiceAccountKey_FieldPathSelectorMetadata, 678 subPath: meta.NewMetaFieldPathBuilder().Syncing().FieldPath(), 679 } 680 } 681 682 func (s ServiceAccountKeyPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *ServiceAccountKey_FieldSubPathValue { 683 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 684 } 685 686 func (s ServiceAccountKeyPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *ServiceAccountKey_FieldSubPathArrayOfValues { 687 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 688 } 689 690 func (ServiceAccountKeyPathSelectorMetadataSyncing) OwningRegion() ServiceAccountKeyPathSelectorMetadataSyncingOwningRegion { 691 return ServiceAccountKeyPathSelectorMetadataSyncingOwningRegion{} 692 } 693 694 func (ServiceAccountKeyPathSelectorMetadataSyncing) Regions() ServiceAccountKeyPathSelectorMetadataSyncingRegions { 695 return ServiceAccountKeyPathSelectorMetadataSyncingRegions{} 696 } 697 698 type ServiceAccountKeyPathSelectorMetadataSyncingOwningRegion struct{} 699 700 func (ServiceAccountKeyPathSelectorMetadataSyncingOwningRegion) FieldPath() *ServiceAccountKey_FieldSubPath { 701 return &ServiceAccountKey_FieldSubPath{ 702 selector: ServiceAccountKey_FieldPathSelectorMetadata, 703 subPath: meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(), 704 } 705 } 706 707 func (s ServiceAccountKeyPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *ServiceAccountKey_FieldSubPathValue { 708 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 709 } 710 711 func (s ServiceAccountKeyPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *ServiceAccountKey_FieldSubPathArrayOfValues { 712 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 713 } 714 715 type ServiceAccountKeyPathSelectorMetadataSyncingRegions struct{} 716 717 func (ServiceAccountKeyPathSelectorMetadataSyncingRegions) FieldPath() *ServiceAccountKey_FieldSubPath { 718 return &ServiceAccountKey_FieldSubPath{ 719 selector: ServiceAccountKey_FieldPathSelectorMetadata, 720 subPath: meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(), 721 } 722 } 723 724 func (s ServiceAccountKeyPathSelectorMetadataSyncingRegions) WithValue(value []string) *ServiceAccountKey_FieldSubPathValue { 725 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 726 } 727 728 func (s ServiceAccountKeyPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *ServiceAccountKey_FieldSubPathArrayOfValues { 729 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 730 } 731 732 func (s ServiceAccountKeyPathSelectorMetadataSyncingRegions) WithItemValue(value string) *ServiceAccountKey_FieldSubPathArrayItemValue { 733 return s.FieldPath().WithIArrayItemValue(value).(*ServiceAccountKey_FieldSubPathArrayItemValue) 734 } 735 736 type ServiceAccountKeyPathSelectorMetadataLifecycle struct{} 737 738 func (ServiceAccountKeyPathSelectorMetadataLifecycle) FieldPath() *ServiceAccountKey_FieldSubPath { 739 return &ServiceAccountKey_FieldSubPath{ 740 selector: ServiceAccountKey_FieldPathSelectorMetadata, 741 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(), 742 } 743 } 744 745 func (s ServiceAccountKeyPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *ServiceAccountKey_FieldSubPathValue { 746 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 747 } 748 749 func (s ServiceAccountKeyPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *ServiceAccountKey_FieldSubPathArrayOfValues { 750 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 751 } 752 753 func (ServiceAccountKeyPathSelectorMetadataLifecycle) State() ServiceAccountKeyPathSelectorMetadataLifecycleState { 754 return ServiceAccountKeyPathSelectorMetadataLifecycleState{} 755 } 756 757 func (ServiceAccountKeyPathSelectorMetadataLifecycle) BlockDeletion() ServiceAccountKeyPathSelectorMetadataLifecycleBlockDeletion { 758 return ServiceAccountKeyPathSelectorMetadataLifecycleBlockDeletion{} 759 } 760 761 type ServiceAccountKeyPathSelectorMetadataLifecycleState struct{} 762 763 func (ServiceAccountKeyPathSelectorMetadataLifecycleState) FieldPath() *ServiceAccountKey_FieldSubPath { 764 return &ServiceAccountKey_FieldSubPath{ 765 selector: ServiceAccountKey_FieldPathSelectorMetadata, 766 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(), 767 } 768 } 769 770 func (s ServiceAccountKeyPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *ServiceAccountKey_FieldSubPathValue { 771 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 772 } 773 774 func (s ServiceAccountKeyPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *ServiceAccountKey_FieldSubPathArrayOfValues { 775 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 776 } 777 778 type ServiceAccountKeyPathSelectorMetadataLifecycleBlockDeletion struct{} 779 780 func (ServiceAccountKeyPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *ServiceAccountKey_FieldSubPath { 781 return &ServiceAccountKey_FieldSubPath{ 782 selector: ServiceAccountKey_FieldPathSelectorMetadata, 783 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(), 784 } 785 } 786 787 func (s ServiceAccountKeyPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *ServiceAccountKey_FieldSubPathValue { 788 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 789 } 790 791 func (s ServiceAccountKeyPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *ServiceAccountKey_FieldSubPathArrayOfValues { 792 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 793 } 794 795 type ServiceAccountKeyPathSelectorMetadataServices struct{} 796 797 func (ServiceAccountKeyPathSelectorMetadataServices) FieldPath() *ServiceAccountKey_FieldSubPath { 798 return &ServiceAccountKey_FieldSubPath{ 799 selector: ServiceAccountKey_FieldPathSelectorMetadata, 800 subPath: meta.NewMetaFieldPathBuilder().Services().FieldPath(), 801 } 802 } 803 804 func (s ServiceAccountKeyPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *ServiceAccountKey_FieldSubPathValue { 805 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 806 } 807 808 func (s ServiceAccountKeyPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *ServiceAccountKey_FieldSubPathArrayOfValues { 809 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 810 } 811 812 func (ServiceAccountKeyPathSelectorMetadataServices) OwningService() ServiceAccountKeyPathSelectorMetadataServicesOwningService { 813 return ServiceAccountKeyPathSelectorMetadataServicesOwningService{} 814 } 815 816 func (ServiceAccountKeyPathSelectorMetadataServices) AllowedServices() ServiceAccountKeyPathSelectorMetadataServicesAllowedServices { 817 return ServiceAccountKeyPathSelectorMetadataServicesAllowedServices{} 818 } 819 820 type ServiceAccountKeyPathSelectorMetadataServicesOwningService struct{} 821 822 func (ServiceAccountKeyPathSelectorMetadataServicesOwningService) FieldPath() *ServiceAccountKey_FieldSubPath { 823 return &ServiceAccountKey_FieldSubPath{ 824 selector: ServiceAccountKey_FieldPathSelectorMetadata, 825 subPath: meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(), 826 } 827 } 828 829 func (s ServiceAccountKeyPathSelectorMetadataServicesOwningService) WithValue(value string) *ServiceAccountKey_FieldSubPathValue { 830 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 831 } 832 833 func (s ServiceAccountKeyPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *ServiceAccountKey_FieldSubPathArrayOfValues { 834 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 835 } 836 837 type ServiceAccountKeyPathSelectorMetadataServicesAllowedServices struct{} 838 839 func (ServiceAccountKeyPathSelectorMetadataServicesAllowedServices) FieldPath() *ServiceAccountKey_FieldSubPath { 840 return &ServiceAccountKey_FieldSubPath{ 841 selector: ServiceAccountKey_FieldPathSelectorMetadata, 842 subPath: meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(), 843 } 844 } 845 846 func (s ServiceAccountKeyPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *ServiceAccountKey_FieldSubPathValue { 847 return s.FieldPath().WithIValue(value).(*ServiceAccountKey_FieldSubPathValue) 848 } 849 850 func (s ServiceAccountKeyPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *ServiceAccountKey_FieldSubPathArrayOfValues { 851 return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccountKey_FieldSubPathArrayOfValues) 852 } 853 854 func (s ServiceAccountKeyPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *ServiceAccountKey_FieldSubPathArrayItemValue { 855 return s.FieldPath().WithIArrayItemValue(value).(*ServiceAccountKey_FieldSubPathArrayItemValue) 856 }