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