github.com/cloudwan/edgelq-sdk@v1.15.4/limits/resources/v1/plan_assignment_request/plan_assignment_request.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/limits/proto/v1/plan_assignment_request.proto 3 // DO NOT EDIT!!! 4 5 package plan_assignment_request 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 plan_assignment "github.com/cloudwan/edgelq-sdk/limits/resources/v1/plan_assignment" 16 meta_common "github.com/cloudwan/goten-sdk/meta-service/resources/v1/common" 17 meta_resource "github.com/cloudwan/goten-sdk/meta-service/resources/v1/resource" 18 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 19 meta "github.com/cloudwan/goten-sdk/types/meta" 20 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 21 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 22 ) 23 24 // make sure we're using proto imports 25 var ( 26 _ = &iam_iam_common.PCR{} 27 _ = &iam_organization.Organization{} 28 _ = &iam_project.Project{} 29 _ = &accepted_plan.AcceptedPlan{} 30 _ = &common.RegionalPlanAssignment{} 31 _ = &plan.Plan{} 32 _ = &plan_assignment.PlanAssignment{} 33 _ = ×tamppb.Timestamp{} 34 _ = &meta_common.LabelledDomain{} 35 _ = &meta_resource.Resource{} 36 _ = &meta_service.Service{} 37 _ = &meta.Meta{} 38 _ = &multi_region_policy.MultiRegionPolicy{} 39 ) 40 41 type PlanAssignmentRequestFieldPathBuilder struct{} 42 43 func NewPlanAssignmentRequestFieldPathBuilder() PlanAssignmentRequestFieldPathBuilder { 44 return PlanAssignmentRequestFieldPathBuilder{} 45 } 46 func (PlanAssignmentRequestFieldPathBuilder) Name() PlanAssignmentRequestPathSelectorName { 47 return PlanAssignmentRequestPathSelectorName{} 48 } 49 func (PlanAssignmentRequestFieldPathBuilder) Metadata() PlanAssignmentRequestPathSelectorMetadata { 50 return PlanAssignmentRequestPathSelectorMetadata{} 51 } 52 func (PlanAssignmentRequestFieldPathBuilder) Request() PlanAssignmentRequestPathSelectorRequest { 53 return PlanAssignmentRequestPathSelectorRequest{} 54 } 55 func (PlanAssignmentRequestFieldPathBuilder) Service() PlanAssignmentRequestPathSelectorService { 56 return PlanAssignmentRequestPathSelectorService{} 57 } 58 func (PlanAssignmentRequestFieldPathBuilder) Approver() PlanAssignmentRequestPathSelectorApprover { 59 return PlanAssignmentRequestPathSelectorApprover{} 60 } 61 func (PlanAssignmentRequestFieldPathBuilder) Status() PlanAssignmentRequestPathSelectorStatus { 62 return PlanAssignmentRequestPathSelectorStatus{} 63 } 64 65 type PlanAssignmentRequestPathSelectorName struct{} 66 67 func (PlanAssignmentRequestPathSelectorName) FieldPath() *PlanAssignmentRequest_FieldTerminalPath { 68 return &PlanAssignmentRequest_FieldTerminalPath{selector: PlanAssignmentRequest_FieldPathSelectorName} 69 } 70 71 func (s PlanAssignmentRequestPathSelectorName) WithValue(value *Name) *PlanAssignmentRequest_FieldTerminalPathValue { 72 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldTerminalPathValue) 73 } 74 75 func (s PlanAssignmentRequestPathSelectorName) WithArrayOfValues(values []*Name) *PlanAssignmentRequest_FieldTerminalPathArrayOfValues { 76 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldTerminalPathArrayOfValues) 77 } 78 79 type PlanAssignmentRequestPathSelectorMetadata struct{} 80 81 func (PlanAssignmentRequestPathSelectorMetadata) FieldPath() *PlanAssignmentRequest_FieldTerminalPath { 82 return &PlanAssignmentRequest_FieldTerminalPath{selector: PlanAssignmentRequest_FieldPathSelectorMetadata} 83 } 84 85 func (s PlanAssignmentRequestPathSelectorMetadata) WithValue(value *meta.Meta) *PlanAssignmentRequest_FieldTerminalPathValue { 86 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldTerminalPathValue) 87 } 88 89 func (s PlanAssignmentRequestPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *PlanAssignmentRequest_FieldTerminalPathArrayOfValues { 90 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldTerminalPathArrayOfValues) 91 } 92 93 func (PlanAssignmentRequestPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *PlanAssignmentRequest_FieldSubPath { 94 return &PlanAssignmentRequest_FieldSubPath{selector: PlanAssignmentRequest_FieldPathSelectorMetadata, subPath: subPath} 95 } 96 97 func (s PlanAssignmentRequestPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *PlanAssignmentRequest_FieldSubPathValue { 98 return &PlanAssignmentRequest_FieldSubPathValue{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 99 } 100 101 func (s PlanAssignmentRequestPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 102 return &PlanAssignmentRequest_FieldSubPathArrayOfValues{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 103 } 104 105 func (s PlanAssignmentRequestPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 106 return &PlanAssignmentRequest_FieldSubPathArrayItemValue{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 107 } 108 109 func (PlanAssignmentRequestPathSelectorMetadata) CreateTime() PlanAssignmentRequestPathSelectorMetadataCreateTime { 110 return PlanAssignmentRequestPathSelectorMetadataCreateTime{} 111 } 112 113 func (PlanAssignmentRequestPathSelectorMetadata) UpdateTime() PlanAssignmentRequestPathSelectorMetadataUpdateTime { 114 return PlanAssignmentRequestPathSelectorMetadataUpdateTime{} 115 } 116 117 func (PlanAssignmentRequestPathSelectorMetadata) DeleteTime() PlanAssignmentRequestPathSelectorMetadataDeleteTime { 118 return PlanAssignmentRequestPathSelectorMetadataDeleteTime{} 119 } 120 121 func (PlanAssignmentRequestPathSelectorMetadata) Uuid() PlanAssignmentRequestPathSelectorMetadataUuid { 122 return PlanAssignmentRequestPathSelectorMetadataUuid{} 123 } 124 125 func (PlanAssignmentRequestPathSelectorMetadata) Tags() PlanAssignmentRequestPathSelectorMetadataTags { 126 return PlanAssignmentRequestPathSelectorMetadataTags{} 127 } 128 129 func (PlanAssignmentRequestPathSelectorMetadata) Labels() PlanAssignmentRequestPathSelectorMetadataLabels { 130 return PlanAssignmentRequestPathSelectorMetadataLabels{} 131 } 132 133 func (PlanAssignmentRequestPathSelectorMetadata) Annotations() PlanAssignmentRequestPathSelectorMetadataAnnotations { 134 return PlanAssignmentRequestPathSelectorMetadataAnnotations{} 135 } 136 137 func (PlanAssignmentRequestPathSelectorMetadata) Generation() PlanAssignmentRequestPathSelectorMetadataGeneration { 138 return PlanAssignmentRequestPathSelectorMetadataGeneration{} 139 } 140 141 func (PlanAssignmentRequestPathSelectorMetadata) ResourceVersion() PlanAssignmentRequestPathSelectorMetadataResourceVersion { 142 return PlanAssignmentRequestPathSelectorMetadataResourceVersion{} 143 } 144 145 func (PlanAssignmentRequestPathSelectorMetadata) OwnerReferences() PlanAssignmentRequestPathSelectorMetadataOwnerReferences { 146 return PlanAssignmentRequestPathSelectorMetadataOwnerReferences{} 147 } 148 149 func (PlanAssignmentRequestPathSelectorMetadata) Shards() PlanAssignmentRequestPathSelectorMetadataShards { 150 return PlanAssignmentRequestPathSelectorMetadataShards{} 151 } 152 153 func (PlanAssignmentRequestPathSelectorMetadata) Syncing() PlanAssignmentRequestPathSelectorMetadataSyncing { 154 return PlanAssignmentRequestPathSelectorMetadataSyncing{} 155 } 156 157 func (PlanAssignmentRequestPathSelectorMetadata) Lifecycle() PlanAssignmentRequestPathSelectorMetadataLifecycle { 158 return PlanAssignmentRequestPathSelectorMetadataLifecycle{} 159 } 160 161 func (PlanAssignmentRequestPathSelectorMetadata) Services() PlanAssignmentRequestPathSelectorMetadataServices { 162 return PlanAssignmentRequestPathSelectorMetadataServices{} 163 } 164 165 type PlanAssignmentRequestPathSelectorMetadataCreateTime struct{} 166 167 func (PlanAssignmentRequestPathSelectorMetadataCreateTime) FieldPath() *PlanAssignmentRequest_FieldSubPath { 168 return &PlanAssignmentRequest_FieldSubPath{ 169 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 170 subPath: meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(), 171 } 172 } 173 174 func (s PlanAssignmentRequestPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *PlanAssignmentRequest_FieldSubPathValue { 175 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 176 } 177 178 func (s PlanAssignmentRequestPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 179 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 180 } 181 182 type PlanAssignmentRequestPathSelectorMetadataUpdateTime struct{} 183 184 func (PlanAssignmentRequestPathSelectorMetadataUpdateTime) FieldPath() *PlanAssignmentRequest_FieldSubPath { 185 return &PlanAssignmentRequest_FieldSubPath{ 186 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 187 subPath: meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(), 188 } 189 } 190 191 func (s PlanAssignmentRequestPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *PlanAssignmentRequest_FieldSubPathValue { 192 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 193 } 194 195 func (s PlanAssignmentRequestPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 196 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 197 } 198 199 type PlanAssignmentRequestPathSelectorMetadataDeleteTime struct{} 200 201 func (PlanAssignmentRequestPathSelectorMetadataDeleteTime) FieldPath() *PlanAssignmentRequest_FieldSubPath { 202 return &PlanAssignmentRequest_FieldSubPath{ 203 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 204 subPath: meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(), 205 } 206 } 207 208 func (s PlanAssignmentRequestPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *PlanAssignmentRequest_FieldSubPathValue { 209 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 210 } 211 212 func (s PlanAssignmentRequestPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 213 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 214 } 215 216 type PlanAssignmentRequestPathSelectorMetadataUuid struct{} 217 218 func (PlanAssignmentRequestPathSelectorMetadataUuid) FieldPath() *PlanAssignmentRequest_FieldSubPath { 219 return &PlanAssignmentRequest_FieldSubPath{ 220 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 221 subPath: meta.NewMetaFieldPathBuilder().Uuid().FieldPath(), 222 } 223 } 224 225 func (s PlanAssignmentRequestPathSelectorMetadataUuid) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 226 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 227 } 228 229 func (s PlanAssignmentRequestPathSelectorMetadataUuid) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 230 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 231 } 232 233 type PlanAssignmentRequestPathSelectorMetadataTags struct{} 234 235 func (PlanAssignmentRequestPathSelectorMetadataTags) FieldPath() *PlanAssignmentRequest_FieldSubPath { 236 return &PlanAssignmentRequest_FieldSubPath{ 237 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 238 subPath: meta.NewMetaFieldPathBuilder().Tags().FieldPath(), 239 } 240 } 241 242 func (s PlanAssignmentRequestPathSelectorMetadataTags) WithValue(value []string) *PlanAssignmentRequest_FieldSubPathValue { 243 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 244 } 245 246 func (s PlanAssignmentRequestPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 247 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 248 } 249 250 func (s PlanAssignmentRequestPathSelectorMetadataTags) WithItemValue(value string) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 251 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 252 } 253 254 type PlanAssignmentRequestPathSelectorMetadataLabels struct{} 255 256 func (PlanAssignmentRequestPathSelectorMetadataLabels) FieldPath() *PlanAssignmentRequest_FieldSubPath { 257 return &PlanAssignmentRequest_FieldSubPath{ 258 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 259 subPath: meta.NewMetaFieldPathBuilder().Labels().FieldPath(), 260 } 261 } 262 263 func (s PlanAssignmentRequestPathSelectorMetadataLabels) WithValue(value map[string]string) *PlanAssignmentRequest_FieldSubPathValue { 264 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 265 } 266 267 func (s PlanAssignmentRequestPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 268 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 269 } 270 271 func (PlanAssignmentRequestPathSelectorMetadataLabels) WithKey(key string) PlanAssignmentRequestMapPathSelectorMetadataLabels { 272 return PlanAssignmentRequestMapPathSelectorMetadataLabels{key: key} 273 } 274 275 type PlanAssignmentRequestMapPathSelectorMetadataLabels struct { 276 key string 277 } 278 279 func (s PlanAssignmentRequestMapPathSelectorMetadataLabels) FieldPath() *PlanAssignmentRequest_FieldSubPath { 280 return &PlanAssignmentRequest_FieldSubPath{ 281 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 282 subPath: meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 283 } 284 } 285 286 func (s PlanAssignmentRequestMapPathSelectorMetadataLabels) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 287 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 288 } 289 290 func (s PlanAssignmentRequestMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 291 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 292 } 293 294 type PlanAssignmentRequestPathSelectorMetadataAnnotations struct{} 295 296 func (PlanAssignmentRequestPathSelectorMetadataAnnotations) FieldPath() *PlanAssignmentRequest_FieldSubPath { 297 return &PlanAssignmentRequest_FieldSubPath{ 298 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 299 subPath: meta.NewMetaFieldPathBuilder().Annotations().FieldPath(), 300 } 301 } 302 303 func (s PlanAssignmentRequestPathSelectorMetadataAnnotations) WithValue(value map[string]string) *PlanAssignmentRequest_FieldSubPathValue { 304 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 305 } 306 307 func (s PlanAssignmentRequestPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 308 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 309 } 310 311 func (PlanAssignmentRequestPathSelectorMetadataAnnotations) WithKey(key string) PlanAssignmentRequestMapPathSelectorMetadataAnnotations { 312 return PlanAssignmentRequestMapPathSelectorMetadataAnnotations{key: key} 313 } 314 315 type PlanAssignmentRequestMapPathSelectorMetadataAnnotations struct { 316 key string 317 } 318 319 func (s PlanAssignmentRequestMapPathSelectorMetadataAnnotations) FieldPath() *PlanAssignmentRequest_FieldSubPath { 320 return &PlanAssignmentRequest_FieldSubPath{ 321 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 322 subPath: meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(), 323 } 324 } 325 326 func (s PlanAssignmentRequestMapPathSelectorMetadataAnnotations) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 327 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 328 } 329 330 func (s PlanAssignmentRequestMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 331 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 332 } 333 334 type PlanAssignmentRequestPathSelectorMetadataGeneration struct{} 335 336 func (PlanAssignmentRequestPathSelectorMetadataGeneration) FieldPath() *PlanAssignmentRequest_FieldSubPath { 337 return &PlanAssignmentRequest_FieldSubPath{ 338 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 339 subPath: meta.NewMetaFieldPathBuilder().Generation().FieldPath(), 340 } 341 } 342 343 func (s PlanAssignmentRequestPathSelectorMetadataGeneration) WithValue(value int64) *PlanAssignmentRequest_FieldSubPathValue { 344 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 345 } 346 347 func (s PlanAssignmentRequestPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 348 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 349 } 350 351 type PlanAssignmentRequestPathSelectorMetadataResourceVersion struct{} 352 353 func (PlanAssignmentRequestPathSelectorMetadataResourceVersion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 354 return &PlanAssignmentRequest_FieldSubPath{ 355 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 356 subPath: meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(), 357 } 358 } 359 360 func (s PlanAssignmentRequestPathSelectorMetadataResourceVersion) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 361 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 362 } 363 364 func (s PlanAssignmentRequestPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 365 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 366 } 367 368 type PlanAssignmentRequestPathSelectorMetadataOwnerReferences struct{} 369 370 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) FieldPath() *PlanAssignmentRequest_FieldSubPath { 371 return &PlanAssignmentRequest_FieldSubPath{ 372 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 373 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(), 374 } 375 } 376 377 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *PlanAssignmentRequest_FieldSubPathValue { 378 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 379 } 380 381 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 382 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 383 } 384 385 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 386 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 387 } 388 389 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) Kind() PlanAssignmentRequestPathSelectorMetadataOwnerReferencesKind { 390 return PlanAssignmentRequestPathSelectorMetadataOwnerReferencesKind{} 391 } 392 393 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) Version() PlanAssignmentRequestPathSelectorMetadataOwnerReferencesVersion { 394 return PlanAssignmentRequestPathSelectorMetadataOwnerReferencesVersion{} 395 } 396 397 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) Name() PlanAssignmentRequestPathSelectorMetadataOwnerReferencesName { 398 return PlanAssignmentRequestPathSelectorMetadataOwnerReferencesName{} 399 } 400 401 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) Region() PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRegion { 402 return PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRegion{} 403 } 404 405 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) Controller() PlanAssignmentRequestPathSelectorMetadataOwnerReferencesController { 406 return PlanAssignmentRequestPathSelectorMetadataOwnerReferencesController{} 407 } 408 409 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) RequiresOwnerReference() PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRequiresOwnerReference { 410 return PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRequiresOwnerReference{} 411 } 412 413 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) UnsetOnDelete() PlanAssignmentRequestPathSelectorMetadataOwnerReferencesUnsetOnDelete { 414 return PlanAssignmentRequestPathSelectorMetadataOwnerReferencesUnsetOnDelete{} 415 } 416 417 type PlanAssignmentRequestPathSelectorMetadataOwnerReferencesKind struct{} 418 419 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferencesKind) FieldPath() *PlanAssignmentRequest_FieldSubPath { 420 return &PlanAssignmentRequest_FieldSubPath{ 421 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 422 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(), 423 } 424 } 425 426 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 427 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 428 } 429 430 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 431 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 432 } 433 434 type PlanAssignmentRequestPathSelectorMetadataOwnerReferencesVersion struct{} 435 436 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferencesVersion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 437 return &PlanAssignmentRequest_FieldSubPath{ 438 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 439 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(), 440 } 441 } 442 443 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 444 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 445 } 446 447 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 448 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 449 } 450 451 type PlanAssignmentRequestPathSelectorMetadataOwnerReferencesName struct{} 452 453 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferencesName) FieldPath() *PlanAssignmentRequest_FieldSubPath { 454 return &PlanAssignmentRequest_FieldSubPath{ 455 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 456 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(), 457 } 458 } 459 460 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesName) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 461 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 462 } 463 464 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 465 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 466 } 467 468 type PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRegion struct{} 469 470 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRegion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 471 return &PlanAssignmentRequest_FieldSubPath{ 472 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 473 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(), 474 } 475 } 476 477 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 478 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 479 } 480 481 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 482 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 483 } 484 485 type PlanAssignmentRequestPathSelectorMetadataOwnerReferencesController struct{} 486 487 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferencesController) FieldPath() *PlanAssignmentRequest_FieldSubPath { 488 return &PlanAssignmentRequest_FieldSubPath{ 489 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 490 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(), 491 } 492 } 493 494 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *PlanAssignmentRequest_FieldSubPathValue { 495 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 496 } 497 498 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 499 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 500 } 501 502 type PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{} 503 504 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *PlanAssignmentRequest_FieldSubPath { 505 return &PlanAssignmentRequest_FieldSubPath{ 506 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 507 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(), 508 } 509 } 510 511 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *PlanAssignmentRequest_FieldSubPathValue { 512 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 513 } 514 515 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 516 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 517 } 518 519 type PlanAssignmentRequestPathSelectorMetadataOwnerReferencesUnsetOnDelete struct{} 520 521 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *PlanAssignmentRequest_FieldSubPath { 522 return &PlanAssignmentRequest_FieldSubPath{ 523 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 524 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(), 525 } 526 } 527 528 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *PlanAssignmentRequest_FieldSubPathValue { 529 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 530 } 531 532 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 533 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 534 } 535 536 type PlanAssignmentRequestPathSelectorMetadataShards struct{} 537 538 func (PlanAssignmentRequestPathSelectorMetadataShards) FieldPath() *PlanAssignmentRequest_FieldSubPath { 539 return &PlanAssignmentRequest_FieldSubPath{ 540 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 541 subPath: meta.NewMetaFieldPathBuilder().Shards().FieldPath(), 542 } 543 } 544 545 func (s PlanAssignmentRequestPathSelectorMetadataShards) WithValue(value map[string]int64) *PlanAssignmentRequest_FieldSubPathValue { 546 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 547 } 548 549 func (s PlanAssignmentRequestPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 550 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 551 } 552 553 func (PlanAssignmentRequestPathSelectorMetadataShards) WithKey(key string) PlanAssignmentRequestMapPathSelectorMetadataShards { 554 return PlanAssignmentRequestMapPathSelectorMetadataShards{key: key} 555 } 556 557 type PlanAssignmentRequestMapPathSelectorMetadataShards struct { 558 key string 559 } 560 561 func (s PlanAssignmentRequestMapPathSelectorMetadataShards) FieldPath() *PlanAssignmentRequest_FieldSubPath { 562 return &PlanAssignmentRequest_FieldSubPath{ 563 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 564 subPath: meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(), 565 } 566 } 567 568 func (s PlanAssignmentRequestMapPathSelectorMetadataShards) WithValue(value int64) *PlanAssignmentRequest_FieldSubPathValue { 569 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 570 } 571 572 func (s PlanAssignmentRequestMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 573 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 574 } 575 576 type PlanAssignmentRequestPathSelectorMetadataSyncing struct{} 577 578 func (PlanAssignmentRequestPathSelectorMetadataSyncing) FieldPath() *PlanAssignmentRequest_FieldSubPath { 579 return &PlanAssignmentRequest_FieldSubPath{ 580 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 581 subPath: meta.NewMetaFieldPathBuilder().Syncing().FieldPath(), 582 } 583 } 584 585 func (s PlanAssignmentRequestPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *PlanAssignmentRequest_FieldSubPathValue { 586 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 587 } 588 589 func (s PlanAssignmentRequestPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 590 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 591 } 592 593 func (PlanAssignmentRequestPathSelectorMetadataSyncing) OwningRegion() PlanAssignmentRequestPathSelectorMetadataSyncingOwningRegion { 594 return PlanAssignmentRequestPathSelectorMetadataSyncingOwningRegion{} 595 } 596 597 func (PlanAssignmentRequestPathSelectorMetadataSyncing) Regions() PlanAssignmentRequestPathSelectorMetadataSyncingRegions { 598 return PlanAssignmentRequestPathSelectorMetadataSyncingRegions{} 599 } 600 601 type PlanAssignmentRequestPathSelectorMetadataSyncingOwningRegion struct{} 602 603 func (PlanAssignmentRequestPathSelectorMetadataSyncingOwningRegion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 604 return &PlanAssignmentRequest_FieldSubPath{ 605 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 606 subPath: meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(), 607 } 608 } 609 610 func (s PlanAssignmentRequestPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 611 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 612 } 613 614 func (s PlanAssignmentRequestPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 615 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 616 } 617 618 type PlanAssignmentRequestPathSelectorMetadataSyncingRegions struct{} 619 620 func (PlanAssignmentRequestPathSelectorMetadataSyncingRegions) FieldPath() *PlanAssignmentRequest_FieldSubPath { 621 return &PlanAssignmentRequest_FieldSubPath{ 622 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 623 subPath: meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(), 624 } 625 } 626 627 func (s PlanAssignmentRequestPathSelectorMetadataSyncingRegions) WithValue(value []string) *PlanAssignmentRequest_FieldSubPathValue { 628 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 629 } 630 631 func (s PlanAssignmentRequestPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 632 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 633 } 634 635 func (s PlanAssignmentRequestPathSelectorMetadataSyncingRegions) WithItemValue(value string) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 636 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 637 } 638 639 type PlanAssignmentRequestPathSelectorMetadataLifecycle struct{} 640 641 func (PlanAssignmentRequestPathSelectorMetadataLifecycle) FieldPath() *PlanAssignmentRequest_FieldSubPath { 642 return &PlanAssignmentRequest_FieldSubPath{ 643 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 644 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(), 645 } 646 } 647 648 func (s PlanAssignmentRequestPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *PlanAssignmentRequest_FieldSubPathValue { 649 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 650 } 651 652 func (s PlanAssignmentRequestPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 653 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 654 } 655 656 func (PlanAssignmentRequestPathSelectorMetadataLifecycle) State() PlanAssignmentRequestPathSelectorMetadataLifecycleState { 657 return PlanAssignmentRequestPathSelectorMetadataLifecycleState{} 658 } 659 660 func (PlanAssignmentRequestPathSelectorMetadataLifecycle) BlockDeletion() PlanAssignmentRequestPathSelectorMetadataLifecycleBlockDeletion { 661 return PlanAssignmentRequestPathSelectorMetadataLifecycleBlockDeletion{} 662 } 663 664 type PlanAssignmentRequestPathSelectorMetadataLifecycleState struct{} 665 666 func (PlanAssignmentRequestPathSelectorMetadataLifecycleState) FieldPath() *PlanAssignmentRequest_FieldSubPath { 667 return &PlanAssignmentRequest_FieldSubPath{ 668 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 669 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(), 670 } 671 } 672 673 func (s PlanAssignmentRequestPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *PlanAssignmentRequest_FieldSubPathValue { 674 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 675 } 676 677 func (s PlanAssignmentRequestPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 678 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 679 } 680 681 type PlanAssignmentRequestPathSelectorMetadataLifecycleBlockDeletion struct{} 682 683 func (PlanAssignmentRequestPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 684 return &PlanAssignmentRequest_FieldSubPath{ 685 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 686 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(), 687 } 688 } 689 690 func (s PlanAssignmentRequestPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *PlanAssignmentRequest_FieldSubPathValue { 691 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 692 } 693 694 func (s PlanAssignmentRequestPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 695 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 696 } 697 698 type PlanAssignmentRequestPathSelectorMetadataServices struct{} 699 700 func (PlanAssignmentRequestPathSelectorMetadataServices) FieldPath() *PlanAssignmentRequest_FieldSubPath { 701 return &PlanAssignmentRequest_FieldSubPath{ 702 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 703 subPath: meta.NewMetaFieldPathBuilder().Services().FieldPath(), 704 } 705 } 706 707 func (s PlanAssignmentRequestPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *PlanAssignmentRequest_FieldSubPathValue { 708 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 709 } 710 711 func (s PlanAssignmentRequestPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 712 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 713 } 714 715 func (PlanAssignmentRequestPathSelectorMetadataServices) OwningService() PlanAssignmentRequestPathSelectorMetadataServicesOwningService { 716 return PlanAssignmentRequestPathSelectorMetadataServicesOwningService{} 717 } 718 719 func (PlanAssignmentRequestPathSelectorMetadataServices) AllowedServices() PlanAssignmentRequestPathSelectorMetadataServicesAllowedServices { 720 return PlanAssignmentRequestPathSelectorMetadataServicesAllowedServices{} 721 } 722 723 type PlanAssignmentRequestPathSelectorMetadataServicesOwningService struct{} 724 725 func (PlanAssignmentRequestPathSelectorMetadataServicesOwningService) FieldPath() *PlanAssignmentRequest_FieldSubPath { 726 return &PlanAssignmentRequest_FieldSubPath{ 727 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 728 subPath: meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(), 729 } 730 } 731 732 func (s PlanAssignmentRequestPathSelectorMetadataServicesOwningService) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 733 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 734 } 735 736 func (s PlanAssignmentRequestPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 737 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 738 } 739 740 type PlanAssignmentRequestPathSelectorMetadataServicesAllowedServices struct{} 741 742 func (PlanAssignmentRequestPathSelectorMetadataServicesAllowedServices) FieldPath() *PlanAssignmentRequest_FieldSubPath { 743 return &PlanAssignmentRequest_FieldSubPath{ 744 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 745 subPath: meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(), 746 } 747 } 748 749 func (s PlanAssignmentRequestPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *PlanAssignmentRequest_FieldSubPathValue { 750 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 751 } 752 753 func (s PlanAssignmentRequestPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 754 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 755 } 756 757 func (s PlanAssignmentRequestPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 758 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 759 } 760 761 type PlanAssignmentRequestPathSelectorRequest struct{} 762 763 func (PlanAssignmentRequestPathSelectorRequest) FieldPath() *PlanAssignmentRequest_FieldTerminalPath { 764 return &PlanAssignmentRequest_FieldTerminalPath{selector: PlanAssignmentRequest_FieldPathSelectorRequest} 765 } 766 767 func (s PlanAssignmentRequestPathSelectorRequest) WithValue(value *PlanAssignmentRequest_RequestType) *PlanAssignmentRequest_FieldTerminalPathValue { 768 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldTerminalPathValue) 769 } 770 771 func (s PlanAssignmentRequestPathSelectorRequest) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType) *PlanAssignmentRequest_FieldTerminalPathArrayOfValues { 772 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldTerminalPathArrayOfValues) 773 } 774 775 func (PlanAssignmentRequestPathSelectorRequest) WithSubPath(subPath PlanAssignmentRequestRequestType_FieldPath) *PlanAssignmentRequest_FieldSubPath { 776 return &PlanAssignmentRequest_FieldSubPath{selector: PlanAssignmentRequest_FieldPathSelectorRequest, subPath: subPath} 777 } 778 779 func (s PlanAssignmentRequestPathSelectorRequest) WithSubValue(subPathValue PlanAssignmentRequestRequestType_FieldPathValue) *PlanAssignmentRequest_FieldSubPathValue { 780 return &PlanAssignmentRequest_FieldSubPathValue{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 781 } 782 783 func (s PlanAssignmentRequestPathSelectorRequest) WithSubArrayOfValues(subPathArrayOfValues PlanAssignmentRequestRequestType_FieldPathArrayOfValues) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 784 return &PlanAssignmentRequest_FieldSubPathArrayOfValues{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 785 } 786 787 func (s PlanAssignmentRequestPathSelectorRequest) WithSubArrayItemValue(subPathArrayItemValue PlanAssignmentRequestRequestType_FieldPathArrayItemValue) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 788 return &PlanAssignmentRequest_FieldSubPathArrayItemValue{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 789 } 790 791 func (PlanAssignmentRequestPathSelectorRequest) Assign() PlanAssignmentRequestPathSelectorRequestAssign { 792 return PlanAssignmentRequestPathSelectorRequestAssign{} 793 } 794 795 func (PlanAssignmentRequestPathSelectorRequest) Extend() PlanAssignmentRequestPathSelectorRequestExtend { 796 return PlanAssignmentRequestPathSelectorRequestExtend{} 797 } 798 799 func (PlanAssignmentRequestPathSelectorRequest) Unassign() PlanAssignmentRequestPathSelectorRequestUnassign { 800 return PlanAssignmentRequestPathSelectorRequestUnassign{} 801 } 802 803 type PlanAssignmentRequestPathSelectorRequestAssign struct{} 804 805 func (PlanAssignmentRequestPathSelectorRequestAssign) FieldPath() *PlanAssignmentRequest_FieldSubPath { 806 return &PlanAssignmentRequest_FieldSubPath{ 807 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 808 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().FieldPath(), 809 } 810 } 811 812 func (s PlanAssignmentRequestPathSelectorRequestAssign) WithValue(value *PlanAssignmentRequest_RequestType_Assign) *PlanAssignmentRequest_FieldSubPathValue { 813 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 814 } 815 816 func (s PlanAssignmentRequestPathSelectorRequestAssign) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType_Assign) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 817 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 818 } 819 820 func (PlanAssignmentRequestPathSelectorRequestAssign) Plan() PlanAssignmentRequestPathSelectorRequestAssignPlan { 821 return PlanAssignmentRequestPathSelectorRequestAssignPlan{} 822 } 823 824 func (PlanAssignmentRequestPathSelectorRequestAssign) Extensions() PlanAssignmentRequestPathSelectorRequestAssignExtensions { 825 return PlanAssignmentRequestPathSelectorRequestAssignExtensions{} 826 } 827 828 func (PlanAssignmentRequestPathSelectorRequestAssign) Region() PlanAssignmentRequestPathSelectorRequestAssignRegion { 829 return PlanAssignmentRequestPathSelectorRequestAssignRegion{} 830 } 831 832 type PlanAssignmentRequestPathSelectorRequestAssignPlan struct{} 833 834 func (PlanAssignmentRequestPathSelectorRequestAssignPlan) FieldPath() *PlanAssignmentRequest_FieldSubPath { 835 return &PlanAssignmentRequest_FieldSubPath{ 836 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 837 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().Plan().FieldPath(), 838 } 839 } 840 841 func (s PlanAssignmentRequestPathSelectorRequestAssignPlan) WithValue(value *plan.Reference) *PlanAssignmentRequest_FieldSubPathValue { 842 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 843 } 844 845 func (s PlanAssignmentRequestPathSelectorRequestAssignPlan) WithArrayOfValues(values []*plan.Reference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 846 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 847 } 848 849 type PlanAssignmentRequestPathSelectorRequestAssignExtensions struct{} 850 851 func (PlanAssignmentRequestPathSelectorRequestAssignExtensions) FieldPath() *PlanAssignmentRequest_FieldSubPath { 852 return &PlanAssignmentRequest_FieldSubPath{ 853 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 854 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().Extensions().FieldPath(), 855 } 856 } 857 858 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensions) WithValue(value []*common.Allowance) *PlanAssignmentRequest_FieldSubPathValue { 859 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 860 } 861 862 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensions) WithArrayOfValues(values [][]*common.Allowance) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 863 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 864 } 865 866 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensions) WithItemValue(value *common.Allowance) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 867 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 868 } 869 870 func (PlanAssignmentRequestPathSelectorRequestAssignExtensions) Resource() PlanAssignmentRequestPathSelectorRequestAssignExtensionsResource { 871 return PlanAssignmentRequestPathSelectorRequestAssignExtensionsResource{} 872 } 873 874 func (PlanAssignmentRequestPathSelectorRequestAssignExtensions) Value() PlanAssignmentRequestPathSelectorRequestAssignExtensionsValue { 875 return PlanAssignmentRequestPathSelectorRequestAssignExtensionsValue{} 876 } 877 878 func (PlanAssignmentRequestPathSelectorRequestAssignExtensions) Region() PlanAssignmentRequestPathSelectorRequestAssignExtensionsRegion { 879 return PlanAssignmentRequestPathSelectorRequestAssignExtensionsRegion{} 880 } 881 882 type PlanAssignmentRequestPathSelectorRequestAssignExtensionsResource struct{} 883 884 func (PlanAssignmentRequestPathSelectorRequestAssignExtensionsResource) FieldPath() *PlanAssignmentRequest_FieldSubPath { 885 return &PlanAssignmentRequest_FieldSubPath{ 886 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 887 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().Extensions().Resource().FieldPath(), 888 } 889 } 890 891 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequest_FieldSubPathValue { 892 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 893 } 894 895 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 896 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 897 } 898 899 type PlanAssignmentRequestPathSelectorRequestAssignExtensionsValue struct{} 900 901 func (PlanAssignmentRequestPathSelectorRequestAssignExtensionsValue) FieldPath() *PlanAssignmentRequest_FieldSubPath { 902 return &PlanAssignmentRequest_FieldSubPath{ 903 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 904 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().Extensions().Value().FieldPath(), 905 } 906 } 907 908 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensionsValue) WithValue(value int64) *PlanAssignmentRequest_FieldSubPathValue { 909 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 910 } 911 912 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensionsValue) WithArrayOfValues(values []int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 913 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 914 } 915 916 type PlanAssignmentRequestPathSelectorRequestAssignExtensionsRegion struct{} 917 918 func (PlanAssignmentRequestPathSelectorRequestAssignExtensionsRegion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 919 return &PlanAssignmentRequest_FieldSubPath{ 920 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 921 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().Extensions().Region().FieldPath(), 922 } 923 } 924 925 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensionsRegion) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 926 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 927 } 928 929 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensionsRegion) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 930 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 931 } 932 933 type PlanAssignmentRequestPathSelectorRequestAssignRegion struct{} 934 935 func (PlanAssignmentRequestPathSelectorRequestAssignRegion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 936 return &PlanAssignmentRequest_FieldSubPath{ 937 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 938 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().Region().FieldPath(), 939 } 940 } 941 942 func (s PlanAssignmentRequestPathSelectorRequestAssignRegion) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 943 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 944 } 945 946 func (s PlanAssignmentRequestPathSelectorRequestAssignRegion) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 947 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 948 } 949 950 type PlanAssignmentRequestPathSelectorRequestExtend struct{} 951 952 func (PlanAssignmentRequestPathSelectorRequestExtend) FieldPath() *PlanAssignmentRequest_FieldSubPath { 953 return &PlanAssignmentRequest_FieldSubPath{ 954 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 955 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().FieldPath(), 956 } 957 } 958 959 func (s PlanAssignmentRequestPathSelectorRequestExtend) WithValue(value *PlanAssignmentRequest_RequestType_Extend) *PlanAssignmentRequest_FieldSubPathValue { 960 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 961 } 962 963 func (s PlanAssignmentRequestPathSelectorRequestExtend) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType_Extend) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 964 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 965 } 966 967 func (PlanAssignmentRequestPathSelectorRequestExtend) Assignment() PlanAssignmentRequestPathSelectorRequestExtendAssignment { 968 return PlanAssignmentRequestPathSelectorRequestExtendAssignment{} 969 } 970 971 func (PlanAssignmentRequestPathSelectorRequestExtend) Additions() PlanAssignmentRequestPathSelectorRequestExtendAdditions { 972 return PlanAssignmentRequestPathSelectorRequestExtendAdditions{} 973 } 974 975 type PlanAssignmentRequestPathSelectorRequestExtendAssignment struct{} 976 977 func (PlanAssignmentRequestPathSelectorRequestExtendAssignment) FieldPath() *PlanAssignmentRequest_FieldSubPath { 978 return &PlanAssignmentRequest_FieldSubPath{ 979 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 980 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().Assignment().FieldPath(), 981 } 982 } 983 984 func (s PlanAssignmentRequestPathSelectorRequestExtendAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequest_FieldSubPathValue { 985 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 986 } 987 988 func (s PlanAssignmentRequestPathSelectorRequestExtendAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 989 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 990 } 991 992 type PlanAssignmentRequestPathSelectorRequestExtendAdditions struct{} 993 994 func (PlanAssignmentRequestPathSelectorRequestExtendAdditions) FieldPath() *PlanAssignmentRequest_FieldSubPath { 995 return &PlanAssignmentRequest_FieldSubPath{ 996 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 997 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().Additions().FieldPath(), 998 } 999 } 1000 1001 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditions) WithValue(value []*common.Allowance) *PlanAssignmentRequest_FieldSubPathValue { 1002 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1003 } 1004 1005 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditions) WithArrayOfValues(values [][]*common.Allowance) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1006 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1007 } 1008 1009 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditions) WithItemValue(value *common.Allowance) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 1010 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 1011 } 1012 1013 func (PlanAssignmentRequestPathSelectorRequestExtendAdditions) Resource() PlanAssignmentRequestPathSelectorRequestExtendAdditionsResource { 1014 return PlanAssignmentRequestPathSelectorRequestExtendAdditionsResource{} 1015 } 1016 1017 func (PlanAssignmentRequestPathSelectorRequestExtendAdditions) Value() PlanAssignmentRequestPathSelectorRequestExtendAdditionsValue { 1018 return PlanAssignmentRequestPathSelectorRequestExtendAdditionsValue{} 1019 } 1020 1021 func (PlanAssignmentRequestPathSelectorRequestExtendAdditions) Region() PlanAssignmentRequestPathSelectorRequestExtendAdditionsRegion { 1022 return PlanAssignmentRequestPathSelectorRequestExtendAdditionsRegion{} 1023 } 1024 1025 type PlanAssignmentRequestPathSelectorRequestExtendAdditionsResource struct{} 1026 1027 func (PlanAssignmentRequestPathSelectorRequestExtendAdditionsResource) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1028 return &PlanAssignmentRequest_FieldSubPath{ 1029 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 1030 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().Additions().Resource().FieldPath(), 1031 } 1032 } 1033 1034 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequest_FieldSubPathValue { 1035 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1036 } 1037 1038 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1039 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1040 } 1041 1042 type PlanAssignmentRequestPathSelectorRequestExtendAdditionsValue struct{} 1043 1044 func (PlanAssignmentRequestPathSelectorRequestExtendAdditionsValue) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1045 return &PlanAssignmentRequest_FieldSubPath{ 1046 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 1047 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().Additions().Value().FieldPath(), 1048 } 1049 } 1050 1051 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditionsValue) WithValue(value int64) *PlanAssignmentRequest_FieldSubPathValue { 1052 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1053 } 1054 1055 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditionsValue) WithArrayOfValues(values []int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1056 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1057 } 1058 1059 type PlanAssignmentRequestPathSelectorRequestExtendAdditionsRegion struct{} 1060 1061 func (PlanAssignmentRequestPathSelectorRequestExtendAdditionsRegion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1062 return &PlanAssignmentRequest_FieldSubPath{ 1063 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 1064 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().Additions().Region().FieldPath(), 1065 } 1066 } 1067 1068 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditionsRegion) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 1069 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1070 } 1071 1072 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditionsRegion) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1073 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1074 } 1075 1076 type PlanAssignmentRequestPathSelectorRequestUnassign struct{} 1077 1078 func (PlanAssignmentRequestPathSelectorRequestUnassign) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1079 return &PlanAssignmentRequest_FieldSubPath{ 1080 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 1081 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Unassign().FieldPath(), 1082 } 1083 } 1084 1085 func (s PlanAssignmentRequestPathSelectorRequestUnassign) WithValue(value *PlanAssignmentRequest_RequestType_Unassign) *PlanAssignmentRequest_FieldSubPathValue { 1086 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1087 } 1088 1089 func (s PlanAssignmentRequestPathSelectorRequestUnassign) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType_Unassign) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1090 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1091 } 1092 1093 func (PlanAssignmentRequestPathSelectorRequestUnassign) Assignment() PlanAssignmentRequestPathSelectorRequestUnassignAssignment { 1094 return PlanAssignmentRequestPathSelectorRequestUnassignAssignment{} 1095 } 1096 1097 func (PlanAssignmentRequestPathSelectorRequestUnassign) Region() PlanAssignmentRequestPathSelectorRequestUnassignRegion { 1098 return PlanAssignmentRequestPathSelectorRequestUnassignRegion{} 1099 } 1100 1101 type PlanAssignmentRequestPathSelectorRequestUnassignAssignment struct{} 1102 1103 func (PlanAssignmentRequestPathSelectorRequestUnassignAssignment) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1104 return &PlanAssignmentRequest_FieldSubPath{ 1105 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 1106 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Unassign().Assignment().FieldPath(), 1107 } 1108 } 1109 1110 func (s PlanAssignmentRequestPathSelectorRequestUnassignAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequest_FieldSubPathValue { 1111 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1112 } 1113 1114 func (s PlanAssignmentRequestPathSelectorRequestUnassignAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1115 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1116 } 1117 1118 type PlanAssignmentRequestPathSelectorRequestUnassignRegion struct{} 1119 1120 func (PlanAssignmentRequestPathSelectorRequestUnassignRegion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1121 return &PlanAssignmentRequest_FieldSubPath{ 1122 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 1123 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Unassign().Region().FieldPath(), 1124 } 1125 } 1126 1127 func (s PlanAssignmentRequestPathSelectorRequestUnassignRegion) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 1128 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1129 } 1130 1131 func (s PlanAssignmentRequestPathSelectorRequestUnassignRegion) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1132 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1133 } 1134 1135 type PlanAssignmentRequestPathSelectorService struct{} 1136 1137 func (PlanAssignmentRequestPathSelectorService) FieldPath() *PlanAssignmentRequest_FieldTerminalPath { 1138 return &PlanAssignmentRequest_FieldTerminalPath{selector: PlanAssignmentRequest_FieldPathSelectorService} 1139 } 1140 1141 func (s PlanAssignmentRequestPathSelectorService) WithValue(value *meta_service.Reference) *PlanAssignmentRequest_FieldTerminalPathValue { 1142 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldTerminalPathValue) 1143 } 1144 1145 func (s PlanAssignmentRequestPathSelectorService) WithArrayOfValues(values []*meta_service.Reference) *PlanAssignmentRequest_FieldTerminalPathArrayOfValues { 1146 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldTerminalPathArrayOfValues) 1147 } 1148 1149 type PlanAssignmentRequestPathSelectorApprover struct{} 1150 1151 func (PlanAssignmentRequestPathSelectorApprover) FieldPath() *PlanAssignmentRequest_FieldTerminalPath { 1152 return &PlanAssignmentRequest_FieldTerminalPath{selector: PlanAssignmentRequest_FieldPathSelectorApprover} 1153 } 1154 1155 func (s PlanAssignmentRequestPathSelectorApprover) WithValue(value *accepted_plan.ParentName) *PlanAssignmentRequest_FieldTerminalPathValue { 1156 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldTerminalPathValue) 1157 } 1158 1159 func (s PlanAssignmentRequestPathSelectorApprover) WithArrayOfValues(values []*accepted_plan.ParentName) *PlanAssignmentRequest_FieldTerminalPathArrayOfValues { 1160 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldTerminalPathArrayOfValues) 1161 } 1162 1163 type PlanAssignmentRequestPathSelectorStatus struct{} 1164 1165 func (PlanAssignmentRequestPathSelectorStatus) FieldPath() *PlanAssignmentRequest_FieldTerminalPath { 1166 return &PlanAssignmentRequest_FieldTerminalPath{selector: PlanAssignmentRequest_FieldPathSelectorStatus} 1167 } 1168 1169 func (s PlanAssignmentRequestPathSelectorStatus) WithValue(value *PlanAssignmentRequest_Status) *PlanAssignmentRequest_FieldTerminalPathValue { 1170 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldTerminalPathValue) 1171 } 1172 1173 func (s PlanAssignmentRequestPathSelectorStatus) WithArrayOfValues(values []*PlanAssignmentRequest_Status) *PlanAssignmentRequest_FieldTerminalPathArrayOfValues { 1174 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldTerminalPathArrayOfValues) 1175 } 1176 1177 func (PlanAssignmentRequestPathSelectorStatus) WithSubPath(subPath PlanAssignmentRequestStatus_FieldPath) *PlanAssignmentRequest_FieldSubPath { 1178 return &PlanAssignmentRequest_FieldSubPath{selector: PlanAssignmentRequest_FieldPathSelectorStatus, subPath: subPath} 1179 } 1180 1181 func (s PlanAssignmentRequestPathSelectorStatus) WithSubValue(subPathValue PlanAssignmentRequestStatus_FieldPathValue) *PlanAssignmentRequest_FieldSubPathValue { 1182 return &PlanAssignmentRequest_FieldSubPathValue{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1183 } 1184 1185 func (s PlanAssignmentRequestPathSelectorStatus) WithSubArrayOfValues(subPathArrayOfValues PlanAssignmentRequestStatus_FieldPathArrayOfValues) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1186 return &PlanAssignmentRequest_FieldSubPathArrayOfValues{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1187 } 1188 1189 func (s PlanAssignmentRequestPathSelectorStatus) WithSubArrayItemValue(subPathArrayItemValue PlanAssignmentRequestStatus_FieldPathArrayItemValue) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 1190 return &PlanAssignmentRequest_FieldSubPathArrayItemValue{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1191 } 1192 1193 func (PlanAssignmentRequestPathSelectorStatus) Conclusion() PlanAssignmentRequestPathSelectorStatusConclusion { 1194 return PlanAssignmentRequestPathSelectorStatusConclusion{} 1195 } 1196 1197 func (PlanAssignmentRequestPathSelectorStatus) Reason() PlanAssignmentRequestPathSelectorStatusReason { 1198 return PlanAssignmentRequestPathSelectorStatusReason{} 1199 } 1200 1201 type PlanAssignmentRequestPathSelectorStatusConclusion struct{} 1202 1203 func (PlanAssignmentRequestPathSelectorStatusConclusion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1204 return &PlanAssignmentRequest_FieldSubPath{ 1205 selector: PlanAssignmentRequest_FieldPathSelectorStatus, 1206 subPath: NewPlanAssignmentRequestStatusFieldPathBuilder().Conclusion().FieldPath(), 1207 } 1208 } 1209 1210 func (s PlanAssignmentRequestPathSelectorStatusConclusion) WithValue(value PlanAssignmentRequest_Status_Conclusion) *PlanAssignmentRequest_FieldSubPathValue { 1211 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1212 } 1213 1214 func (s PlanAssignmentRequestPathSelectorStatusConclusion) WithArrayOfValues(values []PlanAssignmentRequest_Status_Conclusion) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1215 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1216 } 1217 1218 type PlanAssignmentRequestPathSelectorStatusReason struct{} 1219 1220 func (PlanAssignmentRequestPathSelectorStatusReason) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1221 return &PlanAssignmentRequest_FieldSubPath{ 1222 selector: PlanAssignmentRequest_FieldPathSelectorStatus, 1223 subPath: NewPlanAssignmentRequestStatusFieldPathBuilder().Reason().FieldPath(), 1224 } 1225 } 1226 1227 func (s PlanAssignmentRequestPathSelectorStatusReason) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 1228 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1229 } 1230 1231 func (s PlanAssignmentRequestPathSelectorStatusReason) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1232 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1233 } 1234 1235 type PlanAssignmentRequestStatusFieldPathBuilder struct{} 1236 1237 func NewPlanAssignmentRequestStatusFieldPathBuilder() PlanAssignmentRequestStatusFieldPathBuilder { 1238 return PlanAssignmentRequestStatusFieldPathBuilder{} 1239 } 1240 func (PlanAssignmentRequestStatusFieldPathBuilder) Conclusion() PlanAssignmentRequest_StatusPathSelectorConclusion { 1241 return PlanAssignmentRequest_StatusPathSelectorConclusion{} 1242 } 1243 func (PlanAssignmentRequestStatusFieldPathBuilder) Reason() PlanAssignmentRequest_StatusPathSelectorReason { 1244 return PlanAssignmentRequest_StatusPathSelectorReason{} 1245 } 1246 1247 type PlanAssignmentRequest_StatusPathSelectorConclusion struct{} 1248 1249 func (PlanAssignmentRequest_StatusPathSelectorConclusion) FieldPath() *PlanAssignmentRequestStatus_FieldTerminalPath { 1250 return &PlanAssignmentRequestStatus_FieldTerminalPath{selector: PlanAssignmentRequestStatus_FieldPathSelectorConclusion} 1251 } 1252 1253 func (s PlanAssignmentRequest_StatusPathSelectorConclusion) WithValue(value PlanAssignmentRequest_Status_Conclusion) *PlanAssignmentRequestStatus_FieldTerminalPathValue { 1254 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestStatus_FieldTerminalPathValue) 1255 } 1256 1257 func (s PlanAssignmentRequest_StatusPathSelectorConclusion) WithArrayOfValues(values []PlanAssignmentRequest_Status_Conclusion) *PlanAssignmentRequestStatus_FieldTerminalPathArrayOfValues { 1258 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestStatus_FieldTerminalPathArrayOfValues) 1259 } 1260 1261 type PlanAssignmentRequest_StatusPathSelectorReason struct{} 1262 1263 func (PlanAssignmentRequest_StatusPathSelectorReason) FieldPath() *PlanAssignmentRequestStatus_FieldTerminalPath { 1264 return &PlanAssignmentRequestStatus_FieldTerminalPath{selector: PlanAssignmentRequestStatus_FieldPathSelectorReason} 1265 } 1266 1267 func (s PlanAssignmentRequest_StatusPathSelectorReason) WithValue(value string) *PlanAssignmentRequestStatus_FieldTerminalPathValue { 1268 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestStatus_FieldTerminalPathValue) 1269 } 1270 1271 func (s PlanAssignmentRequest_StatusPathSelectorReason) WithArrayOfValues(values []string) *PlanAssignmentRequestStatus_FieldTerminalPathArrayOfValues { 1272 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestStatus_FieldTerminalPathArrayOfValues) 1273 } 1274 1275 type PlanAssignmentRequestRequestTypeFieldPathBuilder struct{} 1276 1277 func NewPlanAssignmentRequestRequestTypeFieldPathBuilder() PlanAssignmentRequestRequestTypeFieldPathBuilder { 1278 return PlanAssignmentRequestRequestTypeFieldPathBuilder{} 1279 } 1280 func (PlanAssignmentRequestRequestTypeFieldPathBuilder) Assign() PlanAssignmentRequest_RequestTypePathSelectorAssign { 1281 return PlanAssignmentRequest_RequestTypePathSelectorAssign{} 1282 } 1283 func (PlanAssignmentRequestRequestTypeFieldPathBuilder) Extend() PlanAssignmentRequest_RequestTypePathSelectorExtend { 1284 return PlanAssignmentRequest_RequestTypePathSelectorExtend{} 1285 } 1286 func (PlanAssignmentRequestRequestTypeFieldPathBuilder) Unassign() PlanAssignmentRequest_RequestTypePathSelectorUnassign { 1287 return PlanAssignmentRequest_RequestTypePathSelectorUnassign{} 1288 } 1289 1290 type PlanAssignmentRequest_RequestTypePathSelectorAssign struct{} 1291 1292 func (PlanAssignmentRequest_RequestTypePathSelectorAssign) FieldPath() *PlanAssignmentRequestRequestType_FieldTerminalPath { 1293 return &PlanAssignmentRequestRequestType_FieldTerminalPath{selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign} 1294 } 1295 1296 func (s PlanAssignmentRequest_RequestTypePathSelectorAssign) WithValue(value *PlanAssignmentRequest_RequestType_Assign) *PlanAssignmentRequestRequestType_FieldTerminalPathValue { 1297 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldTerminalPathValue) 1298 } 1299 1300 func (s PlanAssignmentRequest_RequestTypePathSelectorAssign) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType_Assign) *PlanAssignmentRequestRequestType_FieldTerminalPathArrayOfValues { 1301 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldTerminalPathArrayOfValues) 1302 } 1303 1304 func (PlanAssignmentRequest_RequestTypePathSelectorAssign) WithSubPath(subPath PlanAssignmentRequestRequestTypeAssign_FieldPath) *PlanAssignmentRequestRequestType_FieldSubPath { 1305 return &PlanAssignmentRequestRequestType_FieldSubPath{selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, subPath: subPath} 1306 } 1307 1308 func (s PlanAssignmentRequest_RequestTypePathSelectorAssign) WithSubValue(subPathValue PlanAssignmentRequestRequestTypeAssign_FieldPathValue) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1309 return &PlanAssignmentRequestRequestType_FieldSubPathValue{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1310 } 1311 1312 func (s PlanAssignmentRequest_RequestTypePathSelectorAssign) WithSubArrayOfValues(subPathArrayOfValues PlanAssignmentRequestRequestTypeAssign_FieldPathArrayOfValues) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1313 return &PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1314 } 1315 1316 func (s PlanAssignmentRequest_RequestTypePathSelectorAssign) WithSubArrayItemValue(subPathArrayItemValue PlanAssignmentRequestRequestTypeAssign_FieldPathArrayItemValue) *PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue { 1317 return &PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1318 } 1319 1320 func (PlanAssignmentRequest_RequestTypePathSelectorAssign) Plan() PlanAssignmentRequest_RequestTypePathSelectorAssignPlan { 1321 return PlanAssignmentRequest_RequestTypePathSelectorAssignPlan{} 1322 } 1323 1324 func (PlanAssignmentRequest_RequestTypePathSelectorAssign) Extensions() PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions { 1325 return PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions{} 1326 } 1327 1328 func (PlanAssignmentRequest_RequestTypePathSelectorAssign) Region() PlanAssignmentRequest_RequestTypePathSelectorAssignRegion { 1329 return PlanAssignmentRequest_RequestTypePathSelectorAssignRegion{} 1330 } 1331 1332 type PlanAssignmentRequest_RequestTypePathSelectorAssignPlan struct{} 1333 1334 func (PlanAssignmentRequest_RequestTypePathSelectorAssignPlan) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1335 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1336 selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, 1337 subPath: NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder().Plan().FieldPath(), 1338 } 1339 } 1340 1341 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignPlan) WithValue(value *plan.Reference) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1342 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1343 } 1344 1345 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignPlan) WithArrayOfValues(values []*plan.Reference) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1346 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1347 } 1348 1349 type PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions struct{} 1350 1351 func (PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1352 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1353 selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, 1354 subPath: NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder().Extensions().FieldPath(), 1355 } 1356 } 1357 1358 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions) WithValue(value []*common.Allowance) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1359 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1360 } 1361 1362 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions) WithArrayOfValues(values [][]*common.Allowance) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1363 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1364 } 1365 1366 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions) WithItemValue(value *common.Allowance) *PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue { 1367 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue) 1368 } 1369 1370 func (PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions) Resource() PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsResource { 1371 return PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsResource{} 1372 } 1373 1374 func (PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions) Value() PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsValue { 1375 return PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsValue{} 1376 } 1377 1378 func (PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions) Region() PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsRegion { 1379 return PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsRegion{} 1380 } 1381 1382 type PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsResource struct{} 1383 1384 func (PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsResource) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1385 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1386 selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, 1387 subPath: NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder().Extensions().Resource().FieldPath(), 1388 } 1389 } 1390 1391 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1392 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1393 } 1394 1395 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1396 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1397 } 1398 1399 type PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsValue struct{} 1400 1401 func (PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsValue) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1402 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1403 selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, 1404 subPath: NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder().Extensions().Value().FieldPath(), 1405 } 1406 } 1407 1408 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsValue) WithValue(value int64) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1409 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1410 } 1411 1412 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsValue) WithArrayOfValues(values []int64) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1413 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1414 } 1415 1416 type PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsRegion struct{} 1417 1418 func (PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsRegion) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1419 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1420 selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, 1421 subPath: NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder().Extensions().Region().FieldPath(), 1422 } 1423 } 1424 1425 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsRegion) WithValue(value string) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1426 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1427 } 1428 1429 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsRegion) WithArrayOfValues(values []string) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1430 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1431 } 1432 1433 type PlanAssignmentRequest_RequestTypePathSelectorAssignRegion struct{} 1434 1435 func (PlanAssignmentRequest_RequestTypePathSelectorAssignRegion) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1436 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1437 selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, 1438 subPath: NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder().Region().FieldPath(), 1439 } 1440 } 1441 1442 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignRegion) WithValue(value string) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1443 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1444 } 1445 1446 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignRegion) WithArrayOfValues(values []string) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1447 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1448 } 1449 1450 type PlanAssignmentRequest_RequestTypePathSelectorExtend struct{} 1451 1452 func (PlanAssignmentRequest_RequestTypePathSelectorExtend) FieldPath() *PlanAssignmentRequestRequestType_FieldTerminalPath { 1453 return &PlanAssignmentRequestRequestType_FieldTerminalPath{selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend} 1454 } 1455 1456 func (s PlanAssignmentRequest_RequestTypePathSelectorExtend) WithValue(value *PlanAssignmentRequest_RequestType_Extend) *PlanAssignmentRequestRequestType_FieldTerminalPathValue { 1457 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldTerminalPathValue) 1458 } 1459 1460 func (s PlanAssignmentRequest_RequestTypePathSelectorExtend) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType_Extend) *PlanAssignmentRequestRequestType_FieldTerminalPathArrayOfValues { 1461 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldTerminalPathArrayOfValues) 1462 } 1463 1464 func (PlanAssignmentRequest_RequestTypePathSelectorExtend) WithSubPath(subPath PlanAssignmentRequestRequestTypeExtend_FieldPath) *PlanAssignmentRequestRequestType_FieldSubPath { 1465 return &PlanAssignmentRequestRequestType_FieldSubPath{selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, subPath: subPath} 1466 } 1467 1468 func (s PlanAssignmentRequest_RequestTypePathSelectorExtend) WithSubValue(subPathValue PlanAssignmentRequestRequestTypeExtend_FieldPathValue) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1469 return &PlanAssignmentRequestRequestType_FieldSubPathValue{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1470 } 1471 1472 func (s PlanAssignmentRequest_RequestTypePathSelectorExtend) WithSubArrayOfValues(subPathArrayOfValues PlanAssignmentRequestRequestTypeExtend_FieldPathArrayOfValues) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1473 return &PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1474 } 1475 1476 func (s PlanAssignmentRequest_RequestTypePathSelectorExtend) WithSubArrayItemValue(subPathArrayItemValue PlanAssignmentRequestRequestTypeExtend_FieldPathArrayItemValue) *PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue { 1477 return &PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1478 } 1479 1480 func (PlanAssignmentRequest_RequestTypePathSelectorExtend) Assignment() PlanAssignmentRequest_RequestTypePathSelectorExtendAssignment { 1481 return PlanAssignmentRequest_RequestTypePathSelectorExtendAssignment{} 1482 } 1483 1484 func (PlanAssignmentRequest_RequestTypePathSelectorExtend) Additions() PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions { 1485 return PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions{} 1486 } 1487 1488 type PlanAssignmentRequest_RequestTypePathSelectorExtendAssignment struct{} 1489 1490 func (PlanAssignmentRequest_RequestTypePathSelectorExtendAssignment) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1491 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1492 selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, 1493 subPath: NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder().Assignment().FieldPath(), 1494 } 1495 } 1496 1497 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1498 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1499 } 1500 1501 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1502 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1503 } 1504 1505 type PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions struct{} 1506 1507 func (PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1508 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1509 selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, 1510 subPath: NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder().Additions().FieldPath(), 1511 } 1512 } 1513 1514 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions) WithValue(value []*common.Allowance) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1515 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1516 } 1517 1518 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions) WithArrayOfValues(values [][]*common.Allowance) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1519 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1520 } 1521 1522 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions) WithItemValue(value *common.Allowance) *PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue { 1523 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue) 1524 } 1525 1526 func (PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions) Resource() PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsResource { 1527 return PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsResource{} 1528 } 1529 1530 func (PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions) Value() PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsValue { 1531 return PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsValue{} 1532 } 1533 1534 func (PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions) Region() PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsRegion { 1535 return PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsRegion{} 1536 } 1537 1538 type PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsResource struct{} 1539 1540 func (PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsResource) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1541 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1542 selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, 1543 subPath: NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder().Additions().Resource().FieldPath(), 1544 } 1545 } 1546 1547 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1548 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1549 } 1550 1551 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1552 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1553 } 1554 1555 type PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsValue struct{} 1556 1557 func (PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsValue) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1558 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1559 selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, 1560 subPath: NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder().Additions().Value().FieldPath(), 1561 } 1562 } 1563 1564 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsValue) WithValue(value int64) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1565 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1566 } 1567 1568 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsValue) WithArrayOfValues(values []int64) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1569 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1570 } 1571 1572 type PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsRegion struct{} 1573 1574 func (PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsRegion) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1575 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1576 selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, 1577 subPath: NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder().Additions().Region().FieldPath(), 1578 } 1579 } 1580 1581 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsRegion) WithValue(value string) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1582 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1583 } 1584 1585 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsRegion) WithArrayOfValues(values []string) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1586 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1587 } 1588 1589 type PlanAssignmentRequest_RequestTypePathSelectorUnassign struct{} 1590 1591 func (PlanAssignmentRequest_RequestTypePathSelectorUnassign) FieldPath() *PlanAssignmentRequestRequestType_FieldTerminalPath { 1592 return &PlanAssignmentRequestRequestType_FieldTerminalPath{selector: PlanAssignmentRequestRequestType_FieldPathSelectorUnassign} 1593 } 1594 1595 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassign) WithValue(value *PlanAssignmentRequest_RequestType_Unassign) *PlanAssignmentRequestRequestType_FieldTerminalPathValue { 1596 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldTerminalPathValue) 1597 } 1598 1599 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassign) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType_Unassign) *PlanAssignmentRequestRequestType_FieldTerminalPathArrayOfValues { 1600 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldTerminalPathArrayOfValues) 1601 } 1602 1603 func (PlanAssignmentRequest_RequestTypePathSelectorUnassign) WithSubPath(subPath PlanAssignmentRequestRequestTypeUnassign_FieldPath) *PlanAssignmentRequestRequestType_FieldSubPath { 1604 return &PlanAssignmentRequestRequestType_FieldSubPath{selector: PlanAssignmentRequestRequestType_FieldPathSelectorUnassign, subPath: subPath} 1605 } 1606 1607 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassign) WithSubValue(subPathValue PlanAssignmentRequestRequestTypeUnassign_FieldPathValue) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1608 return &PlanAssignmentRequestRequestType_FieldSubPathValue{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1609 } 1610 1611 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassign) WithSubArrayOfValues(subPathArrayOfValues PlanAssignmentRequestRequestTypeUnassign_FieldPathArrayOfValues) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1612 return &PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1613 } 1614 1615 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassign) WithSubArrayItemValue(subPathArrayItemValue PlanAssignmentRequestRequestTypeUnassign_FieldPathArrayItemValue) *PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue { 1616 return &PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1617 } 1618 1619 func (PlanAssignmentRequest_RequestTypePathSelectorUnassign) Assignment() PlanAssignmentRequest_RequestTypePathSelectorUnassignAssignment { 1620 return PlanAssignmentRequest_RequestTypePathSelectorUnassignAssignment{} 1621 } 1622 1623 func (PlanAssignmentRequest_RequestTypePathSelectorUnassign) Region() PlanAssignmentRequest_RequestTypePathSelectorUnassignRegion { 1624 return PlanAssignmentRequest_RequestTypePathSelectorUnassignRegion{} 1625 } 1626 1627 type PlanAssignmentRequest_RequestTypePathSelectorUnassignAssignment struct{} 1628 1629 func (PlanAssignmentRequest_RequestTypePathSelectorUnassignAssignment) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1630 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1631 selector: PlanAssignmentRequestRequestType_FieldPathSelectorUnassign, 1632 subPath: NewPlanAssignmentRequestRequestTypeUnassignFieldPathBuilder().Assignment().FieldPath(), 1633 } 1634 } 1635 1636 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassignAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1637 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1638 } 1639 1640 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassignAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1641 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1642 } 1643 1644 type PlanAssignmentRequest_RequestTypePathSelectorUnassignRegion struct{} 1645 1646 func (PlanAssignmentRequest_RequestTypePathSelectorUnassignRegion) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1647 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1648 selector: PlanAssignmentRequestRequestType_FieldPathSelectorUnassign, 1649 subPath: NewPlanAssignmentRequestRequestTypeUnassignFieldPathBuilder().Region().FieldPath(), 1650 } 1651 } 1652 1653 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassignRegion) WithValue(value string) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1654 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1655 } 1656 1657 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassignRegion) WithArrayOfValues(values []string) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1658 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1659 } 1660 1661 type PlanAssignmentRequestRequestTypeAssignFieldPathBuilder struct{} 1662 1663 func NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder() PlanAssignmentRequestRequestTypeAssignFieldPathBuilder { 1664 return PlanAssignmentRequestRequestTypeAssignFieldPathBuilder{} 1665 } 1666 func (PlanAssignmentRequestRequestTypeAssignFieldPathBuilder) Plan() PlanAssignmentRequest_RequestType_AssignPathSelectorPlan { 1667 return PlanAssignmentRequest_RequestType_AssignPathSelectorPlan{} 1668 } 1669 func (PlanAssignmentRequestRequestTypeAssignFieldPathBuilder) Extensions() PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions { 1670 return PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions{} 1671 } 1672 func (PlanAssignmentRequestRequestTypeAssignFieldPathBuilder) Region() PlanAssignmentRequest_RequestType_AssignPathSelectorRegion { 1673 return PlanAssignmentRequest_RequestType_AssignPathSelectorRegion{} 1674 } 1675 1676 type PlanAssignmentRequest_RequestType_AssignPathSelectorPlan struct{} 1677 1678 func (PlanAssignmentRequest_RequestType_AssignPathSelectorPlan) FieldPath() *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPath { 1679 return &PlanAssignmentRequestRequestTypeAssign_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorPlan} 1680 } 1681 1682 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorPlan) WithValue(value *plan.Reference) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathValue { 1683 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathValue) 1684 } 1685 1686 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorPlan) WithArrayOfValues(values []*plan.Reference) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayOfValues { 1687 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayOfValues) 1688 } 1689 1690 type PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions struct{} 1691 1692 func (PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) FieldPath() *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPath { 1693 return &PlanAssignmentRequestRequestTypeAssign_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorExtensions} 1694 } 1695 1696 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) WithValue(value []*common.Allowance) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathValue { 1697 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathValue) 1698 } 1699 1700 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) WithArrayOfValues(values [][]*common.Allowance) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayOfValues { 1701 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayOfValues) 1702 } 1703 1704 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) WithItemValue(value *common.Allowance) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayItemValue { 1705 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayItemValue) 1706 } 1707 func (PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) WithSubPath(subPath common.Allowance_FieldPath) *PlanAssignmentRequestRequestTypeAssign_FieldSubPath { 1708 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPath{selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorExtensions, subPath: subPath} 1709 } 1710 1711 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) WithSubValue(subPathValue common.Allowance_FieldPathValue) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue { 1712 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue{PlanAssignmentRequestRequestTypeAssign_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1713 } 1714 1715 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) WithSubArrayOfValues(subPathArrayOfValues common.Allowance_FieldPathArrayOfValues) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues { 1716 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues{PlanAssignmentRequestRequestTypeAssign_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1717 } 1718 1719 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) WithSubArrayItemValue(subPathArrayItemValue common.Allowance_FieldPathArrayItemValue) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayItemValue { 1720 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayItemValue{PlanAssignmentRequestRequestTypeAssign_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1721 } 1722 1723 func (PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) Resource() PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsResource { 1724 return PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsResource{} 1725 } 1726 1727 func (PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) Value() PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsValue { 1728 return PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsValue{} 1729 } 1730 1731 func (PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) Region() PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsRegion { 1732 return PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsRegion{} 1733 } 1734 1735 type PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsResource struct{} 1736 1737 func (PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsResource) FieldPath() *PlanAssignmentRequestRequestTypeAssign_FieldSubPath { 1738 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPath{ 1739 selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorExtensions, 1740 subPath: common.NewAllowanceFieldPathBuilder().Resource().FieldPath(), 1741 } 1742 } 1743 1744 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue { 1745 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue) 1746 } 1747 1748 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues { 1749 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues) 1750 } 1751 1752 type PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsValue struct{} 1753 1754 func (PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsValue) FieldPath() *PlanAssignmentRequestRequestTypeAssign_FieldSubPath { 1755 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPath{ 1756 selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorExtensions, 1757 subPath: common.NewAllowanceFieldPathBuilder().Value().FieldPath(), 1758 } 1759 } 1760 1761 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsValue) WithValue(value int64) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue { 1762 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue) 1763 } 1764 1765 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsValue) WithArrayOfValues(values []int64) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues { 1766 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues) 1767 } 1768 1769 type PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsRegion struct{} 1770 1771 func (PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsRegion) FieldPath() *PlanAssignmentRequestRequestTypeAssign_FieldSubPath { 1772 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPath{ 1773 selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorExtensions, 1774 subPath: common.NewAllowanceFieldPathBuilder().Region().FieldPath(), 1775 } 1776 } 1777 1778 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsRegion) WithValue(value string) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue { 1779 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue) 1780 } 1781 1782 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsRegion) WithArrayOfValues(values []string) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues { 1783 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues) 1784 } 1785 1786 type PlanAssignmentRequest_RequestType_AssignPathSelectorRegion struct{} 1787 1788 func (PlanAssignmentRequest_RequestType_AssignPathSelectorRegion) FieldPath() *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPath { 1789 return &PlanAssignmentRequestRequestTypeAssign_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorRegion} 1790 } 1791 1792 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorRegion) WithValue(value string) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathValue { 1793 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathValue) 1794 } 1795 1796 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorRegion) WithArrayOfValues(values []string) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayOfValues { 1797 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayOfValues) 1798 } 1799 1800 type PlanAssignmentRequestRequestTypeExtendFieldPathBuilder struct{} 1801 1802 func NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder() PlanAssignmentRequestRequestTypeExtendFieldPathBuilder { 1803 return PlanAssignmentRequestRequestTypeExtendFieldPathBuilder{} 1804 } 1805 func (PlanAssignmentRequestRequestTypeExtendFieldPathBuilder) Assignment() PlanAssignmentRequest_RequestType_ExtendPathSelectorAssignment { 1806 return PlanAssignmentRequest_RequestType_ExtendPathSelectorAssignment{} 1807 } 1808 func (PlanAssignmentRequestRequestTypeExtendFieldPathBuilder) Additions() PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions { 1809 return PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions{} 1810 } 1811 1812 type PlanAssignmentRequest_RequestType_ExtendPathSelectorAssignment struct{} 1813 1814 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAssignment) FieldPath() *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPath { 1815 return &PlanAssignmentRequestRequestTypeExtend_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorAssignment} 1816 } 1817 1818 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathValue { 1819 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathValue) 1820 } 1821 1822 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayOfValues { 1823 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayOfValues) 1824 } 1825 1826 type PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions struct{} 1827 1828 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) FieldPath() *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPath { 1829 return &PlanAssignmentRequestRequestTypeExtend_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorAdditions} 1830 } 1831 1832 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) WithValue(value []*common.Allowance) *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathValue { 1833 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathValue) 1834 } 1835 1836 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) WithArrayOfValues(values [][]*common.Allowance) *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayOfValues { 1837 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayOfValues) 1838 } 1839 1840 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) WithItemValue(value *common.Allowance) *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayItemValue { 1841 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayItemValue) 1842 } 1843 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) WithSubPath(subPath common.Allowance_FieldPath) *PlanAssignmentRequestRequestTypeExtend_FieldSubPath { 1844 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPath{selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorAdditions, subPath: subPath} 1845 } 1846 1847 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) WithSubValue(subPathValue common.Allowance_FieldPathValue) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue { 1848 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue{PlanAssignmentRequestRequestTypeExtend_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1849 } 1850 1851 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) WithSubArrayOfValues(subPathArrayOfValues common.Allowance_FieldPathArrayOfValues) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues { 1852 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues{PlanAssignmentRequestRequestTypeExtend_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1853 } 1854 1855 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) WithSubArrayItemValue(subPathArrayItemValue common.Allowance_FieldPathArrayItemValue) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayItemValue { 1856 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayItemValue{PlanAssignmentRequestRequestTypeExtend_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1857 } 1858 1859 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) Resource() PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsResource { 1860 return PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsResource{} 1861 } 1862 1863 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) Value() PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsValue { 1864 return PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsValue{} 1865 } 1866 1867 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) Region() PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsRegion { 1868 return PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsRegion{} 1869 } 1870 1871 type PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsResource struct{} 1872 1873 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsResource) FieldPath() *PlanAssignmentRequestRequestTypeExtend_FieldSubPath { 1874 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPath{ 1875 selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorAdditions, 1876 subPath: common.NewAllowanceFieldPathBuilder().Resource().FieldPath(), 1877 } 1878 } 1879 1880 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue { 1881 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue) 1882 } 1883 1884 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues { 1885 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues) 1886 } 1887 1888 type PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsValue struct{} 1889 1890 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsValue) FieldPath() *PlanAssignmentRequestRequestTypeExtend_FieldSubPath { 1891 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPath{ 1892 selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorAdditions, 1893 subPath: common.NewAllowanceFieldPathBuilder().Value().FieldPath(), 1894 } 1895 } 1896 1897 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsValue) WithValue(value int64) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue { 1898 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue) 1899 } 1900 1901 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsValue) WithArrayOfValues(values []int64) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues { 1902 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues) 1903 } 1904 1905 type PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsRegion struct{} 1906 1907 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsRegion) FieldPath() *PlanAssignmentRequestRequestTypeExtend_FieldSubPath { 1908 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPath{ 1909 selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorAdditions, 1910 subPath: common.NewAllowanceFieldPathBuilder().Region().FieldPath(), 1911 } 1912 } 1913 1914 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsRegion) WithValue(value string) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue { 1915 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue) 1916 } 1917 1918 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsRegion) WithArrayOfValues(values []string) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues { 1919 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues) 1920 } 1921 1922 type PlanAssignmentRequestRequestTypeUnassignFieldPathBuilder struct{} 1923 1924 func NewPlanAssignmentRequestRequestTypeUnassignFieldPathBuilder() PlanAssignmentRequestRequestTypeUnassignFieldPathBuilder { 1925 return PlanAssignmentRequestRequestTypeUnassignFieldPathBuilder{} 1926 } 1927 func (PlanAssignmentRequestRequestTypeUnassignFieldPathBuilder) Assignment() PlanAssignmentRequest_RequestType_UnassignPathSelectorAssignment { 1928 return PlanAssignmentRequest_RequestType_UnassignPathSelectorAssignment{} 1929 } 1930 func (PlanAssignmentRequestRequestTypeUnassignFieldPathBuilder) Region() PlanAssignmentRequest_RequestType_UnassignPathSelectorRegion { 1931 return PlanAssignmentRequest_RequestType_UnassignPathSelectorRegion{} 1932 } 1933 1934 type PlanAssignmentRequest_RequestType_UnassignPathSelectorAssignment struct{} 1935 1936 func (PlanAssignmentRequest_RequestType_UnassignPathSelectorAssignment) FieldPath() *PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPath { 1937 return &PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeUnassign_FieldPathSelectorAssignment} 1938 } 1939 1940 func (s PlanAssignmentRequest_RequestType_UnassignPathSelectorAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPathValue { 1941 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPathValue) 1942 } 1943 1944 func (s PlanAssignmentRequest_RequestType_UnassignPathSelectorAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPathArrayOfValues { 1945 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPathArrayOfValues) 1946 } 1947 1948 type PlanAssignmentRequest_RequestType_UnassignPathSelectorRegion struct{} 1949 1950 func (PlanAssignmentRequest_RequestType_UnassignPathSelectorRegion) FieldPath() *PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPath { 1951 return &PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeUnassign_FieldPathSelectorRegion} 1952 } 1953 1954 func (s PlanAssignmentRequest_RequestType_UnassignPathSelectorRegion) WithValue(value string) *PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPathValue { 1955 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPathValue) 1956 } 1957 1958 func (s PlanAssignmentRequest_RequestType_UnassignPathSelectorRegion) WithArrayOfValues(values []string) *PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPathArrayOfValues { 1959 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPathArrayOfValues) 1960 }