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