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