github.com/cloudwan/edgelq-sdk@v1.15.4/limits/resources/v1/plan_assignment/plan_assignment.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/limits/proto/v1/plan_assignment.proto 3 // DO NOT EDIT!!! 4 5 package plan_assignment 6 7 // proto imports 8 import ( 9 iam_iam_common "github.com/cloudwan/edgelq-sdk/iam/resources/v1/common" 10 iam_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization" 11 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 12 accepted_plan "github.com/cloudwan/edgelq-sdk/limits/resources/v1/accepted_plan" 13 common "github.com/cloudwan/edgelq-sdk/limits/resources/v1/common" 14 plan "github.com/cloudwan/edgelq-sdk/limits/resources/v1/plan" 15 meta_common "github.com/cloudwan/goten-sdk/meta-service/resources/v1/common" 16 meta_resource "github.com/cloudwan/goten-sdk/meta-service/resources/v1/resource" 17 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 18 meta "github.com/cloudwan/goten-sdk/types/meta" 19 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 20 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 21 ) 22 23 // make sure we're using proto imports 24 var ( 25 _ = &iam_iam_common.PCR{} 26 _ = &iam_organization.Organization{} 27 _ = &iam_project.Project{} 28 _ = &accepted_plan.AcceptedPlan{} 29 _ = &common.RegionalPlanAssignment{} 30 _ = &plan.Plan{} 31 _ = ×tamppb.Timestamp{} 32 _ = &meta_common.LabelledDomain{} 33 _ = &meta_resource.Resource{} 34 _ = &meta_service.Service{} 35 _ = &meta.Meta{} 36 _ = &multi_region_policy.MultiRegionPolicy{} 37 ) 38 39 type PlanAssignmentFieldPathBuilder struct{} 40 41 func NewPlanAssignmentFieldPathBuilder() PlanAssignmentFieldPathBuilder { 42 return PlanAssignmentFieldPathBuilder{} 43 } 44 func (PlanAssignmentFieldPathBuilder) Name() PlanAssignmentPathSelectorName { 45 return PlanAssignmentPathSelectorName{} 46 } 47 func (PlanAssignmentFieldPathBuilder) Metadata() PlanAssignmentPathSelectorMetadata { 48 return PlanAssignmentPathSelectorMetadata{} 49 } 50 func (PlanAssignmentFieldPathBuilder) DefaultRegionalPlan() PlanAssignmentPathSelectorDefaultRegionalPlan { 51 return PlanAssignmentPathSelectorDefaultRegionalPlan{} 52 } 53 func (PlanAssignmentFieldPathBuilder) Service() PlanAssignmentPathSelectorService { 54 return PlanAssignmentPathSelectorService{} 55 } 56 func (PlanAssignmentFieldPathBuilder) RegionalPlanOverrides() PlanAssignmentPathSelectorRegionalPlanOverrides { 57 return PlanAssignmentPathSelectorRegionalPlanOverrides{} 58 } 59 func (PlanAssignmentFieldPathBuilder) Extensions() PlanAssignmentPathSelectorExtensions { 60 return PlanAssignmentPathSelectorExtensions{} 61 } 62 func (PlanAssignmentFieldPathBuilder) Allowances() PlanAssignmentPathSelectorAllowances { 63 return PlanAssignmentPathSelectorAllowances{} 64 } 65 func (PlanAssignmentFieldPathBuilder) AppliedRegions() PlanAssignmentPathSelectorAppliedRegions { 66 return PlanAssignmentPathSelectorAppliedRegions{} 67 } 68 func (PlanAssignmentFieldPathBuilder) AppliedPlanSpecGeneration() PlanAssignmentPathSelectorAppliedPlanSpecGeneration { 69 return PlanAssignmentPathSelectorAppliedPlanSpecGeneration{} 70 } 71 func (PlanAssignmentFieldPathBuilder) Source() PlanAssignmentPathSelectorSource { 72 return PlanAssignmentPathSelectorSource{} 73 } 74 75 type PlanAssignmentPathSelectorName struct{} 76 77 func (PlanAssignmentPathSelectorName) FieldPath() *PlanAssignment_FieldTerminalPath { 78 return &PlanAssignment_FieldTerminalPath{selector: PlanAssignment_FieldPathSelectorName} 79 } 80 81 func (s PlanAssignmentPathSelectorName) WithValue(value *Name) *PlanAssignment_FieldTerminalPathValue { 82 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldTerminalPathValue) 83 } 84 85 func (s PlanAssignmentPathSelectorName) WithArrayOfValues(values []*Name) *PlanAssignment_FieldTerminalPathArrayOfValues { 86 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldTerminalPathArrayOfValues) 87 } 88 89 type PlanAssignmentPathSelectorMetadata struct{} 90 91 func (PlanAssignmentPathSelectorMetadata) FieldPath() *PlanAssignment_FieldTerminalPath { 92 return &PlanAssignment_FieldTerminalPath{selector: PlanAssignment_FieldPathSelectorMetadata} 93 } 94 95 func (s PlanAssignmentPathSelectorMetadata) WithValue(value *meta.Meta) *PlanAssignment_FieldTerminalPathValue { 96 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldTerminalPathValue) 97 } 98 99 func (s PlanAssignmentPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *PlanAssignment_FieldTerminalPathArrayOfValues { 100 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldTerminalPathArrayOfValues) 101 } 102 103 func (PlanAssignmentPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *PlanAssignment_FieldSubPath { 104 return &PlanAssignment_FieldSubPath{selector: PlanAssignment_FieldPathSelectorMetadata, subPath: subPath} 105 } 106 107 func (s PlanAssignmentPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *PlanAssignment_FieldSubPathValue { 108 return &PlanAssignment_FieldSubPathValue{PlanAssignment_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 109 } 110 111 func (s PlanAssignmentPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *PlanAssignment_FieldSubPathArrayOfValues { 112 return &PlanAssignment_FieldSubPathArrayOfValues{PlanAssignment_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 113 } 114 115 func (s PlanAssignmentPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *PlanAssignment_FieldSubPathArrayItemValue { 116 return &PlanAssignment_FieldSubPathArrayItemValue{PlanAssignment_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 117 } 118 119 func (PlanAssignmentPathSelectorMetadata) CreateTime() PlanAssignmentPathSelectorMetadataCreateTime { 120 return PlanAssignmentPathSelectorMetadataCreateTime{} 121 } 122 123 func (PlanAssignmentPathSelectorMetadata) UpdateTime() PlanAssignmentPathSelectorMetadataUpdateTime { 124 return PlanAssignmentPathSelectorMetadataUpdateTime{} 125 } 126 127 func (PlanAssignmentPathSelectorMetadata) DeleteTime() PlanAssignmentPathSelectorMetadataDeleteTime { 128 return PlanAssignmentPathSelectorMetadataDeleteTime{} 129 } 130 131 func (PlanAssignmentPathSelectorMetadata) Uuid() PlanAssignmentPathSelectorMetadataUuid { 132 return PlanAssignmentPathSelectorMetadataUuid{} 133 } 134 135 func (PlanAssignmentPathSelectorMetadata) Tags() PlanAssignmentPathSelectorMetadataTags { 136 return PlanAssignmentPathSelectorMetadataTags{} 137 } 138 139 func (PlanAssignmentPathSelectorMetadata) Labels() PlanAssignmentPathSelectorMetadataLabels { 140 return PlanAssignmentPathSelectorMetadataLabels{} 141 } 142 143 func (PlanAssignmentPathSelectorMetadata) Annotations() PlanAssignmentPathSelectorMetadataAnnotations { 144 return PlanAssignmentPathSelectorMetadataAnnotations{} 145 } 146 147 func (PlanAssignmentPathSelectorMetadata) Generation() PlanAssignmentPathSelectorMetadataGeneration { 148 return PlanAssignmentPathSelectorMetadataGeneration{} 149 } 150 151 func (PlanAssignmentPathSelectorMetadata) ResourceVersion() PlanAssignmentPathSelectorMetadataResourceVersion { 152 return PlanAssignmentPathSelectorMetadataResourceVersion{} 153 } 154 155 func (PlanAssignmentPathSelectorMetadata) OwnerReferences() PlanAssignmentPathSelectorMetadataOwnerReferences { 156 return PlanAssignmentPathSelectorMetadataOwnerReferences{} 157 } 158 159 func (PlanAssignmentPathSelectorMetadata) Shards() PlanAssignmentPathSelectorMetadataShards { 160 return PlanAssignmentPathSelectorMetadataShards{} 161 } 162 163 func (PlanAssignmentPathSelectorMetadata) Syncing() PlanAssignmentPathSelectorMetadataSyncing { 164 return PlanAssignmentPathSelectorMetadataSyncing{} 165 } 166 167 func (PlanAssignmentPathSelectorMetadata) Lifecycle() PlanAssignmentPathSelectorMetadataLifecycle { 168 return PlanAssignmentPathSelectorMetadataLifecycle{} 169 } 170 171 func (PlanAssignmentPathSelectorMetadata) Services() PlanAssignmentPathSelectorMetadataServices { 172 return PlanAssignmentPathSelectorMetadataServices{} 173 } 174 175 type PlanAssignmentPathSelectorMetadataCreateTime struct{} 176 177 func (PlanAssignmentPathSelectorMetadataCreateTime) FieldPath() *PlanAssignment_FieldSubPath { 178 return &PlanAssignment_FieldSubPath{ 179 selector: PlanAssignment_FieldPathSelectorMetadata, 180 subPath: meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(), 181 } 182 } 183 184 func (s PlanAssignmentPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *PlanAssignment_FieldSubPathValue { 185 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 186 } 187 188 func (s PlanAssignmentPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *PlanAssignment_FieldSubPathArrayOfValues { 189 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 190 } 191 192 type PlanAssignmentPathSelectorMetadataUpdateTime struct{} 193 194 func (PlanAssignmentPathSelectorMetadataUpdateTime) FieldPath() *PlanAssignment_FieldSubPath { 195 return &PlanAssignment_FieldSubPath{ 196 selector: PlanAssignment_FieldPathSelectorMetadata, 197 subPath: meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(), 198 } 199 } 200 201 func (s PlanAssignmentPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *PlanAssignment_FieldSubPathValue { 202 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 203 } 204 205 func (s PlanAssignmentPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *PlanAssignment_FieldSubPathArrayOfValues { 206 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 207 } 208 209 type PlanAssignmentPathSelectorMetadataDeleteTime struct{} 210 211 func (PlanAssignmentPathSelectorMetadataDeleteTime) FieldPath() *PlanAssignment_FieldSubPath { 212 return &PlanAssignment_FieldSubPath{ 213 selector: PlanAssignment_FieldPathSelectorMetadata, 214 subPath: meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(), 215 } 216 } 217 218 func (s PlanAssignmentPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *PlanAssignment_FieldSubPathValue { 219 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 220 } 221 222 func (s PlanAssignmentPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *PlanAssignment_FieldSubPathArrayOfValues { 223 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 224 } 225 226 type PlanAssignmentPathSelectorMetadataUuid struct{} 227 228 func (PlanAssignmentPathSelectorMetadataUuid) FieldPath() *PlanAssignment_FieldSubPath { 229 return &PlanAssignment_FieldSubPath{ 230 selector: PlanAssignment_FieldPathSelectorMetadata, 231 subPath: meta.NewMetaFieldPathBuilder().Uuid().FieldPath(), 232 } 233 } 234 235 func (s PlanAssignmentPathSelectorMetadataUuid) WithValue(value string) *PlanAssignment_FieldSubPathValue { 236 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 237 } 238 239 func (s PlanAssignmentPathSelectorMetadataUuid) WithArrayOfValues(values []string) *PlanAssignment_FieldSubPathArrayOfValues { 240 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 241 } 242 243 type PlanAssignmentPathSelectorMetadataTags struct{} 244 245 func (PlanAssignmentPathSelectorMetadataTags) FieldPath() *PlanAssignment_FieldSubPath { 246 return &PlanAssignment_FieldSubPath{ 247 selector: PlanAssignment_FieldPathSelectorMetadata, 248 subPath: meta.NewMetaFieldPathBuilder().Tags().FieldPath(), 249 } 250 } 251 252 func (s PlanAssignmentPathSelectorMetadataTags) WithValue(value []string) *PlanAssignment_FieldSubPathValue { 253 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 254 } 255 256 func (s PlanAssignmentPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *PlanAssignment_FieldSubPathArrayOfValues { 257 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 258 } 259 260 func (s PlanAssignmentPathSelectorMetadataTags) WithItemValue(value string) *PlanAssignment_FieldSubPathArrayItemValue { 261 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignment_FieldSubPathArrayItemValue) 262 } 263 264 type PlanAssignmentPathSelectorMetadataLabels struct{} 265 266 func (PlanAssignmentPathSelectorMetadataLabels) FieldPath() *PlanAssignment_FieldSubPath { 267 return &PlanAssignment_FieldSubPath{ 268 selector: PlanAssignment_FieldPathSelectorMetadata, 269 subPath: meta.NewMetaFieldPathBuilder().Labels().FieldPath(), 270 } 271 } 272 273 func (s PlanAssignmentPathSelectorMetadataLabels) WithValue(value map[string]string) *PlanAssignment_FieldSubPathValue { 274 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 275 } 276 277 func (s PlanAssignmentPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *PlanAssignment_FieldSubPathArrayOfValues { 278 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 279 } 280 281 func (PlanAssignmentPathSelectorMetadataLabels) WithKey(key string) PlanAssignmentMapPathSelectorMetadataLabels { 282 return PlanAssignmentMapPathSelectorMetadataLabels{key: key} 283 } 284 285 type PlanAssignmentMapPathSelectorMetadataLabels struct { 286 key string 287 } 288 289 func (s PlanAssignmentMapPathSelectorMetadataLabels) FieldPath() *PlanAssignment_FieldSubPath { 290 return &PlanAssignment_FieldSubPath{ 291 selector: PlanAssignment_FieldPathSelectorMetadata, 292 subPath: meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 293 } 294 } 295 296 func (s PlanAssignmentMapPathSelectorMetadataLabels) WithValue(value string) *PlanAssignment_FieldSubPathValue { 297 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 298 } 299 300 func (s PlanAssignmentMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *PlanAssignment_FieldSubPathArrayOfValues { 301 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 302 } 303 304 type PlanAssignmentPathSelectorMetadataAnnotations struct{} 305 306 func (PlanAssignmentPathSelectorMetadataAnnotations) FieldPath() *PlanAssignment_FieldSubPath { 307 return &PlanAssignment_FieldSubPath{ 308 selector: PlanAssignment_FieldPathSelectorMetadata, 309 subPath: meta.NewMetaFieldPathBuilder().Annotations().FieldPath(), 310 } 311 } 312 313 func (s PlanAssignmentPathSelectorMetadataAnnotations) WithValue(value map[string]string) *PlanAssignment_FieldSubPathValue { 314 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 315 } 316 317 func (s PlanAssignmentPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *PlanAssignment_FieldSubPathArrayOfValues { 318 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 319 } 320 321 func (PlanAssignmentPathSelectorMetadataAnnotations) WithKey(key string) PlanAssignmentMapPathSelectorMetadataAnnotations { 322 return PlanAssignmentMapPathSelectorMetadataAnnotations{key: key} 323 } 324 325 type PlanAssignmentMapPathSelectorMetadataAnnotations struct { 326 key string 327 } 328 329 func (s PlanAssignmentMapPathSelectorMetadataAnnotations) FieldPath() *PlanAssignment_FieldSubPath { 330 return &PlanAssignment_FieldSubPath{ 331 selector: PlanAssignment_FieldPathSelectorMetadata, 332 subPath: meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(), 333 } 334 } 335 336 func (s PlanAssignmentMapPathSelectorMetadataAnnotations) WithValue(value string) *PlanAssignment_FieldSubPathValue { 337 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 338 } 339 340 func (s PlanAssignmentMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *PlanAssignment_FieldSubPathArrayOfValues { 341 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 342 } 343 344 type PlanAssignmentPathSelectorMetadataGeneration struct{} 345 346 func (PlanAssignmentPathSelectorMetadataGeneration) FieldPath() *PlanAssignment_FieldSubPath { 347 return &PlanAssignment_FieldSubPath{ 348 selector: PlanAssignment_FieldPathSelectorMetadata, 349 subPath: meta.NewMetaFieldPathBuilder().Generation().FieldPath(), 350 } 351 } 352 353 func (s PlanAssignmentPathSelectorMetadataGeneration) WithValue(value int64) *PlanAssignment_FieldSubPathValue { 354 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 355 } 356 357 func (s PlanAssignmentPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *PlanAssignment_FieldSubPathArrayOfValues { 358 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 359 } 360 361 type PlanAssignmentPathSelectorMetadataResourceVersion struct{} 362 363 func (PlanAssignmentPathSelectorMetadataResourceVersion) FieldPath() *PlanAssignment_FieldSubPath { 364 return &PlanAssignment_FieldSubPath{ 365 selector: PlanAssignment_FieldPathSelectorMetadata, 366 subPath: meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(), 367 } 368 } 369 370 func (s PlanAssignmentPathSelectorMetadataResourceVersion) WithValue(value string) *PlanAssignment_FieldSubPathValue { 371 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 372 } 373 374 func (s PlanAssignmentPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *PlanAssignment_FieldSubPathArrayOfValues { 375 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 376 } 377 378 type PlanAssignmentPathSelectorMetadataOwnerReferences struct{} 379 380 func (PlanAssignmentPathSelectorMetadataOwnerReferences) FieldPath() *PlanAssignment_FieldSubPath { 381 return &PlanAssignment_FieldSubPath{ 382 selector: PlanAssignment_FieldPathSelectorMetadata, 383 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(), 384 } 385 } 386 387 func (s PlanAssignmentPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *PlanAssignment_FieldSubPathValue { 388 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 389 } 390 391 func (s PlanAssignmentPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *PlanAssignment_FieldSubPathArrayOfValues { 392 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 393 } 394 395 func (s PlanAssignmentPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *PlanAssignment_FieldSubPathArrayItemValue { 396 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignment_FieldSubPathArrayItemValue) 397 } 398 399 func (PlanAssignmentPathSelectorMetadataOwnerReferences) Kind() PlanAssignmentPathSelectorMetadataOwnerReferencesKind { 400 return PlanAssignmentPathSelectorMetadataOwnerReferencesKind{} 401 } 402 403 func (PlanAssignmentPathSelectorMetadataOwnerReferences) Version() PlanAssignmentPathSelectorMetadataOwnerReferencesVersion { 404 return PlanAssignmentPathSelectorMetadataOwnerReferencesVersion{} 405 } 406 407 func (PlanAssignmentPathSelectorMetadataOwnerReferences) Name() PlanAssignmentPathSelectorMetadataOwnerReferencesName { 408 return PlanAssignmentPathSelectorMetadataOwnerReferencesName{} 409 } 410 411 func (PlanAssignmentPathSelectorMetadataOwnerReferences) Region() PlanAssignmentPathSelectorMetadataOwnerReferencesRegion { 412 return PlanAssignmentPathSelectorMetadataOwnerReferencesRegion{} 413 } 414 415 func (PlanAssignmentPathSelectorMetadataOwnerReferences) Controller() PlanAssignmentPathSelectorMetadataOwnerReferencesController { 416 return PlanAssignmentPathSelectorMetadataOwnerReferencesController{} 417 } 418 419 func (PlanAssignmentPathSelectorMetadataOwnerReferences) RequiresOwnerReference() PlanAssignmentPathSelectorMetadataOwnerReferencesRequiresOwnerReference { 420 return PlanAssignmentPathSelectorMetadataOwnerReferencesRequiresOwnerReference{} 421 } 422 423 func (PlanAssignmentPathSelectorMetadataOwnerReferences) UnsetOnDelete() PlanAssignmentPathSelectorMetadataOwnerReferencesUnsetOnDelete { 424 return PlanAssignmentPathSelectorMetadataOwnerReferencesUnsetOnDelete{} 425 } 426 427 type PlanAssignmentPathSelectorMetadataOwnerReferencesKind struct{} 428 429 func (PlanAssignmentPathSelectorMetadataOwnerReferencesKind) FieldPath() *PlanAssignment_FieldSubPath { 430 return &PlanAssignment_FieldSubPath{ 431 selector: PlanAssignment_FieldPathSelectorMetadata, 432 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(), 433 } 434 } 435 436 func (s PlanAssignmentPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *PlanAssignment_FieldSubPathValue { 437 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 438 } 439 440 func (s PlanAssignmentPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *PlanAssignment_FieldSubPathArrayOfValues { 441 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 442 } 443 444 type PlanAssignmentPathSelectorMetadataOwnerReferencesVersion struct{} 445 446 func (PlanAssignmentPathSelectorMetadataOwnerReferencesVersion) FieldPath() *PlanAssignment_FieldSubPath { 447 return &PlanAssignment_FieldSubPath{ 448 selector: PlanAssignment_FieldPathSelectorMetadata, 449 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(), 450 } 451 } 452 453 func (s PlanAssignmentPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *PlanAssignment_FieldSubPathValue { 454 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 455 } 456 457 func (s PlanAssignmentPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *PlanAssignment_FieldSubPathArrayOfValues { 458 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 459 } 460 461 type PlanAssignmentPathSelectorMetadataOwnerReferencesName struct{} 462 463 func (PlanAssignmentPathSelectorMetadataOwnerReferencesName) FieldPath() *PlanAssignment_FieldSubPath { 464 return &PlanAssignment_FieldSubPath{ 465 selector: PlanAssignment_FieldPathSelectorMetadata, 466 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(), 467 } 468 } 469 470 func (s PlanAssignmentPathSelectorMetadataOwnerReferencesName) WithValue(value string) *PlanAssignment_FieldSubPathValue { 471 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 472 } 473 474 func (s PlanAssignmentPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *PlanAssignment_FieldSubPathArrayOfValues { 475 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 476 } 477 478 type PlanAssignmentPathSelectorMetadataOwnerReferencesRegion struct{} 479 480 func (PlanAssignmentPathSelectorMetadataOwnerReferencesRegion) FieldPath() *PlanAssignment_FieldSubPath { 481 return &PlanAssignment_FieldSubPath{ 482 selector: PlanAssignment_FieldPathSelectorMetadata, 483 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(), 484 } 485 } 486 487 func (s PlanAssignmentPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *PlanAssignment_FieldSubPathValue { 488 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 489 } 490 491 func (s PlanAssignmentPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *PlanAssignment_FieldSubPathArrayOfValues { 492 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 493 } 494 495 type PlanAssignmentPathSelectorMetadataOwnerReferencesController struct{} 496 497 func (PlanAssignmentPathSelectorMetadataOwnerReferencesController) FieldPath() *PlanAssignment_FieldSubPath { 498 return &PlanAssignment_FieldSubPath{ 499 selector: PlanAssignment_FieldPathSelectorMetadata, 500 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(), 501 } 502 } 503 504 func (s PlanAssignmentPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *PlanAssignment_FieldSubPathValue { 505 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 506 } 507 508 func (s PlanAssignmentPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *PlanAssignment_FieldSubPathArrayOfValues { 509 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 510 } 511 512 type PlanAssignmentPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{} 513 514 func (PlanAssignmentPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *PlanAssignment_FieldSubPath { 515 return &PlanAssignment_FieldSubPath{ 516 selector: PlanAssignment_FieldPathSelectorMetadata, 517 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(), 518 } 519 } 520 521 func (s PlanAssignmentPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *PlanAssignment_FieldSubPathValue { 522 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 523 } 524 525 func (s PlanAssignmentPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *PlanAssignment_FieldSubPathArrayOfValues { 526 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 527 } 528 529 type PlanAssignmentPathSelectorMetadataOwnerReferencesUnsetOnDelete struct{} 530 531 func (PlanAssignmentPathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *PlanAssignment_FieldSubPath { 532 return &PlanAssignment_FieldSubPath{ 533 selector: PlanAssignment_FieldPathSelectorMetadata, 534 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(), 535 } 536 } 537 538 func (s PlanAssignmentPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *PlanAssignment_FieldSubPathValue { 539 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 540 } 541 542 func (s PlanAssignmentPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *PlanAssignment_FieldSubPathArrayOfValues { 543 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 544 } 545 546 type PlanAssignmentPathSelectorMetadataShards struct{} 547 548 func (PlanAssignmentPathSelectorMetadataShards) FieldPath() *PlanAssignment_FieldSubPath { 549 return &PlanAssignment_FieldSubPath{ 550 selector: PlanAssignment_FieldPathSelectorMetadata, 551 subPath: meta.NewMetaFieldPathBuilder().Shards().FieldPath(), 552 } 553 } 554 555 func (s PlanAssignmentPathSelectorMetadataShards) WithValue(value map[string]int64) *PlanAssignment_FieldSubPathValue { 556 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 557 } 558 559 func (s PlanAssignmentPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *PlanAssignment_FieldSubPathArrayOfValues { 560 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 561 } 562 563 func (PlanAssignmentPathSelectorMetadataShards) WithKey(key string) PlanAssignmentMapPathSelectorMetadataShards { 564 return PlanAssignmentMapPathSelectorMetadataShards{key: key} 565 } 566 567 type PlanAssignmentMapPathSelectorMetadataShards struct { 568 key string 569 } 570 571 func (s PlanAssignmentMapPathSelectorMetadataShards) FieldPath() *PlanAssignment_FieldSubPath { 572 return &PlanAssignment_FieldSubPath{ 573 selector: PlanAssignment_FieldPathSelectorMetadata, 574 subPath: meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(), 575 } 576 } 577 578 func (s PlanAssignmentMapPathSelectorMetadataShards) WithValue(value int64) *PlanAssignment_FieldSubPathValue { 579 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 580 } 581 582 func (s PlanAssignmentMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *PlanAssignment_FieldSubPathArrayOfValues { 583 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 584 } 585 586 type PlanAssignmentPathSelectorMetadataSyncing struct{} 587 588 func (PlanAssignmentPathSelectorMetadataSyncing) FieldPath() *PlanAssignment_FieldSubPath { 589 return &PlanAssignment_FieldSubPath{ 590 selector: PlanAssignment_FieldPathSelectorMetadata, 591 subPath: meta.NewMetaFieldPathBuilder().Syncing().FieldPath(), 592 } 593 } 594 595 func (s PlanAssignmentPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *PlanAssignment_FieldSubPathValue { 596 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 597 } 598 599 func (s PlanAssignmentPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *PlanAssignment_FieldSubPathArrayOfValues { 600 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 601 } 602 603 func (PlanAssignmentPathSelectorMetadataSyncing) OwningRegion() PlanAssignmentPathSelectorMetadataSyncingOwningRegion { 604 return PlanAssignmentPathSelectorMetadataSyncingOwningRegion{} 605 } 606 607 func (PlanAssignmentPathSelectorMetadataSyncing) Regions() PlanAssignmentPathSelectorMetadataSyncingRegions { 608 return PlanAssignmentPathSelectorMetadataSyncingRegions{} 609 } 610 611 type PlanAssignmentPathSelectorMetadataSyncingOwningRegion struct{} 612 613 func (PlanAssignmentPathSelectorMetadataSyncingOwningRegion) FieldPath() *PlanAssignment_FieldSubPath { 614 return &PlanAssignment_FieldSubPath{ 615 selector: PlanAssignment_FieldPathSelectorMetadata, 616 subPath: meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(), 617 } 618 } 619 620 func (s PlanAssignmentPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *PlanAssignment_FieldSubPathValue { 621 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 622 } 623 624 func (s PlanAssignmentPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *PlanAssignment_FieldSubPathArrayOfValues { 625 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 626 } 627 628 type PlanAssignmentPathSelectorMetadataSyncingRegions struct{} 629 630 func (PlanAssignmentPathSelectorMetadataSyncingRegions) FieldPath() *PlanAssignment_FieldSubPath { 631 return &PlanAssignment_FieldSubPath{ 632 selector: PlanAssignment_FieldPathSelectorMetadata, 633 subPath: meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(), 634 } 635 } 636 637 func (s PlanAssignmentPathSelectorMetadataSyncingRegions) WithValue(value []string) *PlanAssignment_FieldSubPathValue { 638 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 639 } 640 641 func (s PlanAssignmentPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *PlanAssignment_FieldSubPathArrayOfValues { 642 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 643 } 644 645 func (s PlanAssignmentPathSelectorMetadataSyncingRegions) WithItemValue(value string) *PlanAssignment_FieldSubPathArrayItemValue { 646 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignment_FieldSubPathArrayItemValue) 647 } 648 649 type PlanAssignmentPathSelectorMetadataLifecycle struct{} 650 651 func (PlanAssignmentPathSelectorMetadataLifecycle) FieldPath() *PlanAssignment_FieldSubPath { 652 return &PlanAssignment_FieldSubPath{ 653 selector: PlanAssignment_FieldPathSelectorMetadata, 654 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(), 655 } 656 } 657 658 func (s PlanAssignmentPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *PlanAssignment_FieldSubPathValue { 659 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 660 } 661 662 func (s PlanAssignmentPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *PlanAssignment_FieldSubPathArrayOfValues { 663 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 664 } 665 666 func (PlanAssignmentPathSelectorMetadataLifecycle) State() PlanAssignmentPathSelectorMetadataLifecycleState { 667 return PlanAssignmentPathSelectorMetadataLifecycleState{} 668 } 669 670 func (PlanAssignmentPathSelectorMetadataLifecycle) BlockDeletion() PlanAssignmentPathSelectorMetadataLifecycleBlockDeletion { 671 return PlanAssignmentPathSelectorMetadataLifecycleBlockDeletion{} 672 } 673 674 type PlanAssignmentPathSelectorMetadataLifecycleState struct{} 675 676 func (PlanAssignmentPathSelectorMetadataLifecycleState) FieldPath() *PlanAssignment_FieldSubPath { 677 return &PlanAssignment_FieldSubPath{ 678 selector: PlanAssignment_FieldPathSelectorMetadata, 679 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(), 680 } 681 } 682 683 func (s PlanAssignmentPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *PlanAssignment_FieldSubPathValue { 684 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 685 } 686 687 func (s PlanAssignmentPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *PlanAssignment_FieldSubPathArrayOfValues { 688 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 689 } 690 691 type PlanAssignmentPathSelectorMetadataLifecycleBlockDeletion struct{} 692 693 func (PlanAssignmentPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *PlanAssignment_FieldSubPath { 694 return &PlanAssignment_FieldSubPath{ 695 selector: PlanAssignment_FieldPathSelectorMetadata, 696 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(), 697 } 698 } 699 700 func (s PlanAssignmentPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *PlanAssignment_FieldSubPathValue { 701 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 702 } 703 704 func (s PlanAssignmentPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *PlanAssignment_FieldSubPathArrayOfValues { 705 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 706 } 707 708 type PlanAssignmentPathSelectorMetadataServices struct{} 709 710 func (PlanAssignmentPathSelectorMetadataServices) FieldPath() *PlanAssignment_FieldSubPath { 711 return &PlanAssignment_FieldSubPath{ 712 selector: PlanAssignment_FieldPathSelectorMetadata, 713 subPath: meta.NewMetaFieldPathBuilder().Services().FieldPath(), 714 } 715 } 716 717 func (s PlanAssignmentPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *PlanAssignment_FieldSubPathValue { 718 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 719 } 720 721 func (s PlanAssignmentPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *PlanAssignment_FieldSubPathArrayOfValues { 722 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 723 } 724 725 func (PlanAssignmentPathSelectorMetadataServices) OwningService() PlanAssignmentPathSelectorMetadataServicesOwningService { 726 return PlanAssignmentPathSelectorMetadataServicesOwningService{} 727 } 728 729 func (PlanAssignmentPathSelectorMetadataServices) AllowedServices() PlanAssignmentPathSelectorMetadataServicesAllowedServices { 730 return PlanAssignmentPathSelectorMetadataServicesAllowedServices{} 731 } 732 733 type PlanAssignmentPathSelectorMetadataServicesOwningService struct{} 734 735 func (PlanAssignmentPathSelectorMetadataServicesOwningService) FieldPath() *PlanAssignment_FieldSubPath { 736 return &PlanAssignment_FieldSubPath{ 737 selector: PlanAssignment_FieldPathSelectorMetadata, 738 subPath: meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(), 739 } 740 } 741 742 func (s PlanAssignmentPathSelectorMetadataServicesOwningService) WithValue(value string) *PlanAssignment_FieldSubPathValue { 743 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 744 } 745 746 func (s PlanAssignmentPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *PlanAssignment_FieldSubPathArrayOfValues { 747 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 748 } 749 750 type PlanAssignmentPathSelectorMetadataServicesAllowedServices struct{} 751 752 func (PlanAssignmentPathSelectorMetadataServicesAllowedServices) FieldPath() *PlanAssignment_FieldSubPath { 753 return &PlanAssignment_FieldSubPath{ 754 selector: PlanAssignment_FieldPathSelectorMetadata, 755 subPath: meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(), 756 } 757 } 758 759 func (s PlanAssignmentPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *PlanAssignment_FieldSubPathValue { 760 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 761 } 762 763 func (s PlanAssignmentPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *PlanAssignment_FieldSubPathArrayOfValues { 764 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 765 } 766 767 func (s PlanAssignmentPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *PlanAssignment_FieldSubPathArrayItemValue { 768 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignment_FieldSubPathArrayItemValue) 769 } 770 771 type PlanAssignmentPathSelectorDefaultRegionalPlan struct{} 772 773 func (PlanAssignmentPathSelectorDefaultRegionalPlan) FieldPath() *PlanAssignment_FieldTerminalPath { 774 return &PlanAssignment_FieldTerminalPath{selector: PlanAssignment_FieldPathSelectorDefaultRegionalPlan} 775 } 776 777 func (s PlanAssignmentPathSelectorDefaultRegionalPlan) WithValue(value *plan.Reference) *PlanAssignment_FieldTerminalPathValue { 778 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldTerminalPathValue) 779 } 780 781 func (s PlanAssignmentPathSelectorDefaultRegionalPlan) WithArrayOfValues(values []*plan.Reference) *PlanAssignment_FieldTerminalPathArrayOfValues { 782 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldTerminalPathArrayOfValues) 783 } 784 785 type PlanAssignmentPathSelectorService struct{} 786 787 func (PlanAssignmentPathSelectorService) FieldPath() *PlanAssignment_FieldTerminalPath { 788 return &PlanAssignment_FieldTerminalPath{selector: PlanAssignment_FieldPathSelectorService} 789 } 790 791 func (s PlanAssignmentPathSelectorService) WithValue(value *meta_service.Reference) *PlanAssignment_FieldTerminalPathValue { 792 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldTerminalPathValue) 793 } 794 795 func (s PlanAssignmentPathSelectorService) WithArrayOfValues(values []*meta_service.Reference) *PlanAssignment_FieldTerminalPathArrayOfValues { 796 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldTerminalPathArrayOfValues) 797 } 798 799 type PlanAssignmentPathSelectorRegionalPlanOverrides struct{} 800 801 func (PlanAssignmentPathSelectorRegionalPlanOverrides) FieldPath() *PlanAssignment_FieldTerminalPath { 802 return &PlanAssignment_FieldTerminalPath{selector: PlanAssignment_FieldPathSelectorRegionalPlanOverrides} 803 } 804 805 func (s PlanAssignmentPathSelectorRegionalPlanOverrides) WithValue(value []*common.RegionalPlanAssignment) *PlanAssignment_FieldTerminalPathValue { 806 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldTerminalPathValue) 807 } 808 809 func (s PlanAssignmentPathSelectorRegionalPlanOverrides) WithArrayOfValues(values [][]*common.RegionalPlanAssignment) *PlanAssignment_FieldTerminalPathArrayOfValues { 810 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldTerminalPathArrayOfValues) 811 } 812 813 func (s PlanAssignmentPathSelectorRegionalPlanOverrides) WithItemValue(value *common.RegionalPlanAssignment) *PlanAssignment_FieldTerminalPathArrayItemValue { 814 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignment_FieldTerminalPathArrayItemValue) 815 } 816 func (PlanAssignmentPathSelectorRegionalPlanOverrides) WithSubPath(subPath common.RegionalPlanAssignment_FieldPath) *PlanAssignment_FieldSubPath { 817 return &PlanAssignment_FieldSubPath{selector: PlanAssignment_FieldPathSelectorRegionalPlanOverrides, subPath: subPath} 818 } 819 820 func (s PlanAssignmentPathSelectorRegionalPlanOverrides) WithSubValue(subPathValue common.RegionalPlanAssignment_FieldPathValue) *PlanAssignment_FieldSubPathValue { 821 return &PlanAssignment_FieldSubPathValue{PlanAssignment_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 822 } 823 824 func (s PlanAssignmentPathSelectorRegionalPlanOverrides) WithSubArrayOfValues(subPathArrayOfValues common.RegionalPlanAssignment_FieldPathArrayOfValues) *PlanAssignment_FieldSubPathArrayOfValues { 825 return &PlanAssignment_FieldSubPathArrayOfValues{PlanAssignment_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 826 } 827 828 func (s PlanAssignmentPathSelectorRegionalPlanOverrides) WithSubArrayItemValue(subPathArrayItemValue common.RegionalPlanAssignment_FieldPathArrayItemValue) *PlanAssignment_FieldSubPathArrayItemValue { 829 return &PlanAssignment_FieldSubPathArrayItemValue{PlanAssignment_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 830 } 831 832 func (PlanAssignmentPathSelectorRegionalPlanOverrides) Plan() PlanAssignmentPathSelectorRegionalPlanOverridesPlan { 833 return PlanAssignmentPathSelectorRegionalPlanOverridesPlan{} 834 } 835 836 func (PlanAssignmentPathSelectorRegionalPlanOverrides) Region() PlanAssignmentPathSelectorRegionalPlanOverridesRegion { 837 return PlanAssignmentPathSelectorRegionalPlanOverridesRegion{} 838 } 839 840 func (PlanAssignmentPathSelectorRegionalPlanOverrides) PlanGeneration() PlanAssignmentPathSelectorRegionalPlanOverridesPlanGeneration { 841 return PlanAssignmentPathSelectorRegionalPlanOverridesPlanGeneration{} 842 } 843 844 type PlanAssignmentPathSelectorRegionalPlanOverridesPlan struct{} 845 846 func (PlanAssignmentPathSelectorRegionalPlanOverridesPlan) FieldPath() *PlanAssignment_FieldSubPath { 847 return &PlanAssignment_FieldSubPath{ 848 selector: PlanAssignment_FieldPathSelectorRegionalPlanOverrides, 849 subPath: common.NewRegionalPlanAssignmentFieldPathBuilder().Plan().FieldPath(), 850 } 851 } 852 853 func (s PlanAssignmentPathSelectorRegionalPlanOverridesPlan) WithValue(value *plan.Reference) *PlanAssignment_FieldSubPathValue { 854 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 855 } 856 857 func (s PlanAssignmentPathSelectorRegionalPlanOverridesPlan) WithArrayOfValues(values []*plan.Reference) *PlanAssignment_FieldSubPathArrayOfValues { 858 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 859 } 860 861 type PlanAssignmentPathSelectorRegionalPlanOverridesRegion struct{} 862 863 func (PlanAssignmentPathSelectorRegionalPlanOverridesRegion) FieldPath() *PlanAssignment_FieldSubPath { 864 return &PlanAssignment_FieldSubPath{ 865 selector: PlanAssignment_FieldPathSelectorRegionalPlanOverrides, 866 subPath: common.NewRegionalPlanAssignmentFieldPathBuilder().Region().FieldPath(), 867 } 868 } 869 870 func (s PlanAssignmentPathSelectorRegionalPlanOverridesRegion) WithValue(value string) *PlanAssignment_FieldSubPathValue { 871 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 872 } 873 874 func (s PlanAssignmentPathSelectorRegionalPlanOverridesRegion) WithArrayOfValues(values []string) *PlanAssignment_FieldSubPathArrayOfValues { 875 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 876 } 877 878 type PlanAssignmentPathSelectorRegionalPlanOverridesPlanGeneration struct{} 879 880 func (PlanAssignmentPathSelectorRegionalPlanOverridesPlanGeneration) FieldPath() *PlanAssignment_FieldSubPath { 881 return &PlanAssignment_FieldSubPath{ 882 selector: PlanAssignment_FieldPathSelectorRegionalPlanOverrides, 883 subPath: common.NewRegionalPlanAssignmentFieldPathBuilder().PlanGeneration().FieldPath(), 884 } 885 } 886 887 func (s PlanAssignmentPathSelectorRegionalPlanOverridesPlanGeneration) WithValue(value int64) *PlanAssignment_FieldSubPathValue { 888 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 889 } 890 891 func (s PlanAssignmentPathSelectorRegionalPlanOverridesPlanGeneration) WithArrayOfValues(values []int64) *PlanAssignment_FieldSubPathArrayOfValues { 892 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 893 } 894 895 type PlanAssignmentPathSelectorExtensions struct{} 896 897 func (PlanAssignmentPathSelectorExtensions) FieldPath() *PlanAssignment_FieldTerminalPath { 898 return &PlanAssignment_FieldTerminalPath{selector: PlanAssignment_FieldPathSelectorExtensions} 899 } 900 901 func (s PlanAssignmentPathSelectorExtensions) WithValue(value []*common.Allowance) *PlanAssignment_FieldTerminalPathValue { 902 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldTerminalPathValue) 903 } 904 905 func (s PlanAssignmentPathSelectorExtensions) WithArrayOfValues(values [][]*common.Allowance) *PlanAssignment_FieldTerminalPathArrayOfValues { 906 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldTerminalPathArrayOfValues) 907 } 908 909 func (s PlanAssignmentPathSelectorExtensions) WithItemValue(value *common.Allowance) *PlanAssignment_FieldTerminalPathArrayItemValue { 910 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignment_FieldTerminalPathArrayItemValue) 911 } 912 func (PlanAssignmentPathSelectorExtensions) WithSubPath(subPath common.Allowance_FieldPath) *PlanAssignment_FieldSubPath { 913 return &PlanAssignment_FieldSubPath{selector: PlanAssignment_FieldPathSelectorExtensions, subPath: subPath} 914 } 915 916 func (s PlanAssignmentPathSelectorExtensions) WithSubValue(subPathValue common.Allowance_FieldPathValue) *PlanAssignment_FieldSubPathValue { 917 return &PlanAssignment_FieldSubPathValue{PlanAssignment_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 918 } 919 920 func (s PlanAssignmentPathSelectorExtensions) WithSubArrayOfValues(subPathArrayOfValues common.Allowance_FieldPathArrayOfValues) *PlanAssignment_FieldSubPathArrayOfValues { 921 return &PlanAssignment_FieldSubPathArrayOfValues{PlanAssignment_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 922 } 923 924 func (s PlanAssignmentPathSelectorExtensions) WithSubArrayItemValue(subPathArrayItemValue common.Allowance_FieldPathArrayItemValue) *PlanAssignment_FieldSubPathArrayItemValue { 925 return &PlanAssignment_FieldSubPathArrayItemValue{PlanAssignment_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 926 } 927 928 func (PlanAssignmentPathSelectorExtensions) Resource() PlanAssignmentPathSelectorExtensionsResource { 929 return PlanAssignmentPathSelectorExtensionsResource{} 930 } 931 932 func (PlanAssignmentPathSelectorExtensions) Value() PlanAssignmentPathSelectorExtensionsValue { 933 return PlanAssignmentPathSelectorExtensionsValue{} 934 } 935 936 func (PlanAssignmentPathSelectorExtensions) Region() PlanAssignmentPathSelectorExtensionsRegion { 937 return PlanAssignmentPathSelectorExtensionsRegion{} 938 } 939 940 type PlanAssignmentPathSelectorExtensionsResource struct{} 941 942 func (PlanAssignmentPathSelectorExtensionsResource) FieldPath() *PlanAssignment_FieldSubPath { 943 return &PlanAssignment_FieldSubPath{ 944 selector: PlanAssignment_FieldPathSelectorExtensions, 945 subPath: common.NewAllowanceFieldPathBuilder().Resource().FieldPath(), 946 } 947 } 948 949 func (s PlanAssignmentPathSelectorExtensionsResource) WithValue(value *meta_resource.Reference) *PlanAssignment_FieldSubPathValue { 950 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 951 } 952 953 func (s PlanAssignmentPathSelectorExtensionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignment_FieldSubPathArrayOfValues { 954 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 955 } 956 957 type PlanAssignmentPathSelectorExtensionsValue struct{} 958 959 func (PlanAssignmentPathSelectorExtensionsValue) FieldPath() *PlanAssignment_FieldSubPath { 960 return &PlanAssignment_FieldSubPath{ 961 selector: PlanAssignment_FieldPathSelectorExtensions, 962 subPath: common.NewAllowanceFieldPathBuilder().Value().FieldPath(), 963 } 964 } 965 966 func (s PlanAssignmentPathSelectorExtensionsValue) WithValue(value int64) *PlanAssignment_FieldSubPathValue { 967 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 968 } 969 970 func (s PlanAssignmentPathSelectorExtensionsValue) WithArrayOfValues(values []int64) *PlanAssignment_FieldSubPathArrayOfValues { 971 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 972 } 973 974 type PlanAssignmentPathSelectorExtensionsRegion struct{} 975 976 func (PlanAssignmentPathSelectorExtensionsRegion) FieldPath() *PlanAssignment_FieldSubPath { 977 return &PlanAssignment_FieldSubPath{ 978 selector: PlanAssignment_FieldPathSelectorExtensions, 979 subPath: common.NewAllowanceFieldPathBuilder().Region().FieldPath(), 980 } 981 } 982 983 func (s PlanAssignmentPathSelectorExtensionsRegion) WithValue(value string) *PlanAssignment_FieldSubPathValue { 984 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 985 } 986 987 func (s PlanAssignmentPathSelectorExtensionsRegion) WithArrayOfValues(values []string) *PlanAssignment_FieldSubPathArrayOfValues { 988 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 989 } 990 991 type PlanAssignmentPathSelectorAllowances struct{} 992 993 func (PlanAssignmentPathSelectorAllowances) FieldPath() *PlanAssignment_FieldTerminalPath { 994 return &PlanAssignment_FieldTerminalPath{selector: PlanAssignment_FieldPathSelectorAllowances} 995 } 996 997 func (s PlanAssignmentPathSelectorAllowances) WithValue(value []*common.Allowance) *PlanAssignment_FieldTerminalPathValue { 998 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldTerminalPathValue) 999 } 1000 1001 func (s PlanAssignmentPathSelectorAllowances) WithArrayOfValues(values [][]*common.Allowance) *PlanAssignment_FieldTerminalPathArrayOfValues { 1002 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldTerminalPathArrayOfValues) 1003 } 1004 1005 func (s PlanAssignmentPathSelectorAllowances) WithItemValue(value *common.Allowance) *PlanAssignment_FieldTerminalPathArrayItemValue { 1006 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignment_FieldTerminalPathArrayItemValue) 1007 } 1008 func (PlanAssignmentPathSelectorAllowances) WithSubPath(subPath common.Allowance_FieldPath) *PlanAssignment_FieldSubPath { 1009 return &PlanAssignment_FieldSubPath{selector: PlanAssignment_FieldPathSelectorAllowances, subPath: subPath} 1010 } 1011 1012 func (s PlanAssignmentPathSelectorAllowances) WithSubValue(subPathValue common.Allowance_FieldPathValue) *PlanAssignment_FieldSubPathValue { 1013 return &PlanAssignment_FieldSubPathValue{PlanAssignment_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1014 } 1015 1016 func (s PlanAssignmentPathSelectorAllowances) WithSubArrayOfValues(subPathArrayOfValues common.Allowance_FieldPathArrayOfValues) *PlanAssignment_FieldSubPathArrayOfValues { 1017 return &PlanAssignment_FieldSubPathArrayOfValues{PlanAssignment_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1018 } 1019 1020 func (s PlanAssignmentPathSelectorAllowances) WithSubArrayItemValue(subPathArrayItemValue common.Allowance_FieldPathArrayItemValue) *PlanAssignment_FieldSubPathArrayItemValue { 1021 return &PlanAssignment_FieldSubPathArrayItemValue{PlanAssignment_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1022 } 1023 1024 func (PlanAssignmentPathSelectorAllowances) Resource() PlanAssignmentPathSelectorAllowancesResource { 1025 return PlanAssignmentPathSelectorAllowancesResource{} 1026 } 1027 1028 func (PlanAssignmentPathSelectorAllowances) Value() PlanAssignmentPathSelectorAllowancesValue { 1029 return PlanAssignmentPathSelectorAllowancesValue{} 1030 } 1031 1032 func (PlanAssignmentPathSelectorAllowances) Region() PlanAssignmentPathSelectorAllowancesRegion { 1033 return PlanAssignmentPathSelectorAllowancesRegion{} 1034 } 1035 1036 type PlanAssignmentPathSelectorAllowancesResource struct{} 1037 1038 func (PlanAssignmentPathSelectorAllowancesResource) FieldPath() *PlanAssignment_FieldSubPath { 1039 return &PlanAssignment_FieldSubPath{ 1040 selector: PlanAssignment_FieldPathSelectorAllowances, 1041 subPath: common.NewAllowanceFieldPathBuilder().Resource().FieldPath(), 1042 } 1043 } 1044 1045 func (s PlanAssignmentPathSelectorAllowancesResource) WithValue(value *meta_resource.Reference) *PlanAssignment_FieldSubPathValue { 1046 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 1047 } 1048 1049 func (s PlanAssignmentPathSelectorAllowancesResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignment_FieldSubPathArrayOfValues { 1050 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 1051 } 1052 1053 type PlanAssignmentPathSelectorAllowancesValue struct{} 1054 1055 func (PlanAssignmentPathSelectorAllowancesValue) FieldPath() *PlanAssignment_FieldSubPath { 1056 return &PlanAssignment_FieldSubPath{ 1057 selector: PlanAssignment_FieldPathSelectorAllowances, 1058 subPath: common.NewAllowanceFieldPathBuilder().Value().FieldPath(), 1059 } 1060 } 1061 1062 func (s PlanAssignmentPathSelectorAllowancesValue) WithValue(value int64) *PlanAssignment_FieldSubPathValue { 1063 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 1064 } 1065 1066 func (s PlanAssignmentPathSelectorAllowancesValue) WithArrayOfValues(values []int64) *PlanAssignment_FieldSubPathArrayOfValues { 1067 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 1068 } 1069 1070 type PlanAssignmentPathSelectorAllowancesRegion struct{} 1071 1072 func (PlanAssignmentPathSelectorAllowancesRegion) FieldPath() *PlanAssignment_FieldSubPath { 1073 return &PlanAssignment_FieldSubPath{ 1074 selector: PlanAssignment_FieldPathSelectorAllowances, 1075 subPath: common.NewAllowanceFieldPathBuilder().Region().FieldPath(), 1076 } 1077 } 1078 1079 func (s PlanAssignmentPathSelectorAllowancesRegion) WithValue(value string) *PlanAssignment_FieldSubPathValue { 1080 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldSubPathValue) 1081 } 1082 1083 func (s PlanAssignmentPathSelectorAllowancesRegion) WithArrayOfValues(values []string) *PlanAssignment_FieldSubPathArrayOfValues { 1084 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldSubPathArrayOfValues) 1085 } 1086 1087 type PlanAssignmentPathSelectorAppliedRegions struct{} 1088 1089 func (PlanAssignmentPathSelectorAppliedRegions) FieldPath() *PlanAssignment_FieldTerminalPath { 1090 return &PlanAssignment_FieldTerminalPath{selector: PlanAssignment_FieldPathSelectorAppliedRegions} 1091 } 1092 1093 func (s PlanAssignmentPathSelectorAppliedRegions) WithValue(value []string) *PlanAssignment_FieldTerminalPathValue { 1094 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldTerminalPathValue) 1095 } 1096 1097 func (s PlanAssignmentPathSelectorAppliedRegions) WithArrayOfValues(values [][]string) *PlanAssignment_FieldTerminalPathArrayOfValues { 1098 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldTerminalPathArrayOfValues) 1099 } 1100 1101 func (s PlanAssignmentPathSelectorAppliedRegions) WithItemValue(value string) *PlanAssignment_FieldTerminalPathArrayItemValue { 1102 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignment_FieldTerminalPathArrayItemValue) 1103 } 1104 1105 type PlanAssignmentPathSelectorAppliedPlanSpecGeneration struct{} 1106 1107 func (PlanAssignmentPathSelectorAppliedPlanSpecGeneration) FieldPath() *PlanAssignment_FieldTerminalPath { 1108 return &PlanAssignment_FieldTerminalPath{selector: PlanAssignment_FieldPathSelectorAppliedPlanSpecGeneration} 1109 } 1110 1111 func (s PlanAssignmentPathSelectorAppliedPlanSpecGeneration) WithValue(value int64) *PlanAssignment_FieldTerminalPathValue { 1112 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldTerminalPathValue) 1113 } 1114 1115 func (s PlanAssignmentPathSelectorAppliedPlanSpecGeneration) WithArrayOfValues(values []int64) *PlanAssignment_FieldTerminalPathArrayOfValues { 1116 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldTerminalPathArrayOfValues) 1117 } 1118 1119 type PlanAssignmentPathSelectorSource struct{} 1120 1121 func (PlanAssignmentPathSelectorSource) FieldPath() *PlanAssignment_FieldTerminalPath { 1122 return &PlanAssignment_FieldTerminalPath{selector: PlanAssignment_FieldPathSelectorSource} 1123 } 1124 1125 func (s PlanAssignmentPathSelectorSource) WithValue(value *accepted_plan.Reference) *PlanAssignment_FieldTerminalPathValue { 1126 return s.FieldPath().WithIValue(value).(*PlanAssignment_FieldTerminalPathValue) 1127 } 1128 1129 func (s PlanAssignmentPathSelectorSource) WithArrayOfValues(values []*accepted_plan.Reference) *PlanAssignment_FieldTerminalPathArrayOfValues { 1130 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignment_FieldTerminalPathArrayOfValues) 1131 }