github.com/cloudwan/edgelq-sdk@v1.15.4/limits/resources/v1alpha2/plan_assignment_request/plan_assignment_request.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/limits/proto/v1alpha2/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/v1alpha2/common" 10 iam_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/organization" 11 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/project" 12 accepted_plan "github.com/cloudwan/edgelq-sdk/limits/resources/v1alpha2/accepted_plan" 13 common "github.com/cloudwan/edgelq-sdk/limits/resources/v1alpha2/common" 14 plan "github.com/cloudwan/edgelq-sdk/limits/resources/v1alpha2/plan" 15 plan_assignment "github.com/cloudwan/edgelq-sdk/limits/resources/v1alpha2/plan_assignment" 16 meta_resource "github.com/cloudwan/edgelq-sdk/meta/resources/v1alpha2/resource" 17 meta_service "github.com/cloudwan/edgelq-sdk/meta/resources/v1alpha2/service" 18 meta "github.com/cloudwan/goten-sdk/types/meta" 19 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 20 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 21 ) 22 23 // make sure we're using proto imports 24 var ( 25 _ = &iam_iam_common.PCR{} 26 _ = &iam_organization.Organization{} 27 _ = &iam_project.Project{} 28 _ = &accepted_plan.AcceptedPlan{} 29 _ = &common.Allowance{} 30 _ = &plan.Plan{} 31 _ = &plan_assignment.PlanAssignment{} 32 _ = &meta_resource.Resource{} 33 _ = &meta_service.Service{} 34 _ = ×tamppb.Timestamp{} 35 _ = &meta.Meta{} 36 _ = &multi_region_policy.MultiRegionPolicy{} 37 ) 38 39 type PlanAssignmentRequestFieldPathBuilder struct{} 40 41 func NewPlanAssignmentRequestFieldPathBuilder() PlanAssignmentRequestFieldPathBuilder { 42 return PlanAssignmentRequestFieldPathBuilder{} 43 } 44 func (PlanAssignmentRequestFieldPathBuilder) Name() PlanAssignmentRequestPathSelectorName { 45 return PlanAssignmentRequestPathSelectorName{} 46 } 47 func (PlanAssignmentRequestFieldPathBuilder) Request() PlanAssignmentRequestPathSelectorRequest { 48 return PlanAssignmentRequestPathSelectorRequest{} 49 } 50 func (PlanAssignmentRequestFieldPathBuilder) Service() PlanAssignmentRequestPathSelectorService { 51 return PlanAssignmentRequestPathSelectorService{} 52 } 53 func (PlanAssignmentRequestFieldPathBuilder) Approver() PlanAssignmentRequestPathSelectorApprover { 54 return PlanAssignmentRequestPathSelectorApprover{} 55 } 56 func (PlanAssignmentRequestFieldPathBuilder) Status() PlanAssignmentRequestPathSelectorStatus { 57 return PlanAssignmentRequestPathSelectorStatus{} 58 } 59 func (PlanAssignmentRequestFieldPathBuilder) Metadata() PlanAssignmentRequestPathSelectorMetadata { 60 return PlanAssignmentRequestPathSelectorMetadata{} 61 } 62 63 type PlanAssignmentRequestPathSelectorName struct{} 64 65 func (PlanAssignmentRequestPathSelectorName) FieldPath() *PlanAssignmentRequest_FieldTerminalPath { 66 return &PlanAssignmentRequest_FieldTerminalPath{selector: PlanAssignmentRequest_FieldPathSelectorName} 67 } 68 69 func (s PlanAssignmentRequestPathSelectorName) WithValue(value *Name) *PlanAssignmentRequest_FieldTerminalPathValue { 70 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldTerminalPathValue) 71 } 72 73 func (s PlanAssignmentRequestPathSelectorName) WithArrayOfValues(values []*Name) *PlanAssignmentRequest_FieldTerminalPathArrayOfValues { 74 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldTerminalPathArrayOfValues) 75 } 76 77 type PlanAssignmentRequestPathSelectorRequest struct{} 78 79 func (PlanAssignmentRequestPathSelectorRequest) FieldPath() *PlanAssignmentRequest_FieldTerminalPath { 80 return &PlanAssignmentRequest_FieldTerminalPath{selector: PlanAssignmentRequest_FieldPathSelectorRequest} 81 } 82 83 func (s PlanAssignmentRequestPathSelectorRequest) WithValue(value *PlanAssignmentRequest_RequestType) *PlanAssignmentRequest_FieldTerminalPathValue { 84 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldTerminalPathValue) 85 } 86 87 func (s PlanAssignmentRequestPathSelectorRequest) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType) *PlanAssignmentRequest_FieldTerminalPathArrayOfValues { 88 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldTerminalPathArrayOfValues) 89 } 90 91 func (PlanAssignmentRequestPathSelectorRequest) WithSubPath(subPath PlanAssignmentRequestRequestType_FieldPath) *PlanAssignmentRequest_FieldSubPath { 92 return &PlanAssignmentRequest_FieldSubPath{selector: PlanAssignmentRequest_FieldPathSelectorRequest, subPath: subPath} 93 } 94 95 func (s PlanAssignmentRequestPathSelectorRequest) WithSubValue(subPathValue PlanAssignmentRequestRequestType_FieldPathValue) *PlanAssignmentRequest_FieldSubPathValue { 96 return &PlanAssignmentRequest_FieldSubPathValue{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 97 } 98 99 func (s PlanAssignmentRequestPathSelectorRequest) WithSubArrayOfValues(subPathArrayOfValues PlanAssignmentRequestRequestType_FieldPathArrayOfValues) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 100 return &PlanAssignmentRequest_FieldSubPathArrayOfValues{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 101 } 102 103 func (s PlanAssignmentRequestPathSelectorRequest) WithSubArrayItemValue(subPathArrayItemValue PlanAssignmentRequestRequestType_FieldPathArrayItemValue) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 104 return &PlanAssignmentRequest_FieldSubPathArrayItemValue{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 105 } 106 107 func (PlanAssignmentRequestPathSelectorRequest) Assign() PlanAssignmentRequestPathSelectorRequestAssign { 108 return PlanAssignmentRequestPathSelectorRequestAssign{} 109 } 110 111 func (PlanAssignmentRequestPathSelectorRequest) Extend() PlanAssignmentRequestPathSelectorRequestExtend { 112 return PlanAssignmentRequestPathSelectorRequestExtend{} 113 } 114 115 func (PlanAssignmentRequestPathSelectorRequest) Redistribute() PlanAssignmentRequestPathSelectorRequestRedistribute { 116 return PlanAssignmentRequestPathSelectorRequestRedistribute{} 117 } 118 119 func (PlanAssignmentRequestPathSelectorRequest) Unassign() PlanAssignmentRequestPathSelectorRequestUnassign { 120 return PlanAssignmentRequestPathSelectorRequestUnassign{} 121 } 122 123 type PlanAssignmentRequestPathSelectorRequestAssign struct{} 124 125 func (PlanAssignmentRequestPathSelectorRequestAssign) FieldPath() *PlanAssignmentRequest_FieldSubPath { 126 return &PlanAssignmentRequest_FieldSubPath{ 127 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 128 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().FieldPath(), 129 } 130 } 131 132 func (s PlanAssignmentRequestPathSelectorRequestAssign) WithValue(value *PlanAssignmentRequest_RequestType_Assign) *PlanAssignmentRequest_FieldSubPathValue { 133 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 134 } 135 136 func (s PlanAssignmentRequestPathSelectorRequestAssign) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType_Assign) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 137 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 138 } 139 140 func (PlanAssignmentRequestPathSelectorRequestAssign) Plan() PlanAssignmentRequestPathSelectorRequestAssignPlan { 141 return PlanAssignmentRequestPathSelectorRequestAssignPlan{} 142 } 143 144 func (PlanAssignmentRequestPathSelectorRequestAssign) Extensions() PlanAssignmentRequestPathSelectorRequestAssignExtensions { 145 return PlanAssignmentRequestPathSelectorRequestAssignExtensions{} 146 } 147 148 func (PlanAssignmentRequestPathSelectorRequestAssign) RegionalDistributions() PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributions { 149 return PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributions{} 150 } 151 152 type PlanAssignmentRequestPathSelectorRequestAssignPlan struct{} 153 154 func (PlanAssignmentRequestPathSelectorRequestAssignPlan) FieldPath() *PlanAssignmentRequest_FieldSubPath { 155 return &PlanAssignmentRequest_FieldSubPath{ 156 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 157 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().Plan().FieldPath(), 158 } 159 } 160 161 func (s PlanAssignmentRequestPathSelectorRequestAssignPlan) WithValue(value *plan.Reference) *PlanAssignmentRequest_FieldSubPathValue { 162 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 163 } 164 165 func (s PlanAssignmentRequestPathSelectorRequestAssignPlan) WithArrayOfValues(values []*plan.Reference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 166 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 167 } 168 169 type PlanAssignmentRequestPathSelectorRequestAssignExtensions struct{} 170 171 func (PlanAssignmentRequestPathSelectorRequestAssignExtensions) FieldPath() *PlanAssignmentRequest_FieldSubPath { 172 return &PlanAssignmentRequest_FieldSubPath{ 173 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 174 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().Extensions().FieldPath(), 175 } 176 } 177 178 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensions) WithValue(value []*common.Allowance) *PlanAssignmentRequest_FieldSubPathValue { 179 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 180 } 181 182 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensions) WithArrayOfValues(values [][]*common.Allowance) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 183 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 184 } 185 186 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensions) WithItemValue(value *common.Allowance) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 187 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 188 } 189 190 func (PlanAssignmentRequestPathSelectorRequestAssignExtensions) Resource() PlanAssignmentRequestPathSelectorRequestAssignExtensionsResource { 191 return PlanAssignmentRequestPathSelectorRequestAssignExtensionsResource{} 192 } 193 194 func (PlanAssignmentRequestPathSelectorRequestAssignExtensions) Value() PlanAssignmentRequestPathSelectorRequestAssignExtensionsValue { 195 return PlanAssignmentRequestPathSelectorRequestAssignExtensionsValue{} 196 } 197 198 type PlanAssignmentRequestPathSelectorRequestAssignExtensionsResource struct{} 199 200 func (PlanAssignmentRequestPathSelectorRequestAssignExtensionsResource) FieldPath() *PlanAssignmentRequest_FieldSubPath { 201 return &PlanAssignmentRequest_FieldSubPath{ 202 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 203 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().Extensions().Resource().FieldPath(), 204 } 205 } 206 207 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequest_FieldSubPathValue { 208 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 209 } 210 211 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 212 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 213 } 214 215 type PlanAssignmentRequestPathSelectorRequestAssignExtensionsValue struct{} 216 217 func (PlanAssignmentRequestPathSelectorRequestAssignExtensionsValue) FieldPath() *PlanAssignmentRequest_FieldSubPath { 218 return &PlanAssignmentRequest_FieldSubPath{ 219 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 220 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().Extensions().Value().FieldPath(), 221 } 222 } 223 224 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensionsValue) WithValue(value int64) *PlanAssignmentRequest_FieldSubPathValue { 225 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 226 } 227 228 func (s PlanAssignmentRequestPathSelectorRequestAssignExtensionsValue) WithArrayOfValues(values []int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 229 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 230 } 231 232 type PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributions struct{} 233 234 func (PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributions) FieldPath() *PlanAssignmentRequest_FieldSubPath { 235 return &PlanAssignmentRequest_FieldSubPath{ 236 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 237 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().RegionalDistributions().FieldPath(), 238 } 239 } 240 241 func (s PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributions) WithValue(value []*common.RegionalDistribution) *PlanAssignmentRequest_FieldSubPathValue { 242 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 243 } 244 245 func (s PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributions) WithArrayOfValues(values [][]*common.RegionalDistribution) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 246 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 247 } 248 249 func (s PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributions) WithItemValue(value *common.RegionalDistribution) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 250 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 251 } 252 253 func (PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributions) Resource() PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributionsResource { 254 return PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributionsResource{} 255 } 256 257 func (PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributions) LimitsByRegion() PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributionsLimitsByRegion { 258 return PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributionsLimitsByRegion{} 259 } 260 261 type PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributionsResource struct{} 262 263 func (PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributionsResource) FieldPath() *PlanAssignmentRequest_FieldSubPath { 264 return &PlanAssignmentRequest_FieldSubPath{ 265 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 266 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().RegionalDistributions().Resource().FieldPath(), 267 } 268 } 269 270 func (s PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequest_FieldSubPathValue { 271 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 272 } 273 274 func (s PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 275 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 276 } 277 278 type PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributionsLimitsByRegion struct{} 279 280 func (PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 281 return &PlanAssignmentRequest_FieldSubPath{ 282 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 283 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().RegionalDistributions().LimitsByRegion().FieldPath(), 284 } 285 } 286 287 func (s PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributionsLimitsByRegion) WithValue(value map[string]int64) *PlanAssignmentRequest_FieldSubPathValue { 288 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 289 } 290 291 func (s PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []map[string]int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 292 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 293 } 294 295 func (PlanAssignmentRequestPathSelectorRequestAssignRegionalDistributionsLimitsByRegion) WithKey(key string) PlanAssignmentRequestMapPathSelectorRequestAssignRegionalDistributionsLimitsByRegion { 296 return PlanAssignmentRequestMapPathSelectorRequestAssignRegionalDistributionsLimitsByRegion{key: key} 297 } 298 299 type PlanAssignmentRequestMapPathSelectorRequestAssignRegionalDistributionsLimitsByRegion struct { 300 key string 301 } 302 303 func (s PlanAssignmentRequestMapPathSelectorRequestAssignRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 304 return &PlanAssignmentRequest_FieldSubPath{ 305 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 306 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Assign().RegionalDistributions().LimitsByRegion().WithKey(s.key).FieldPath(), 307 } 308 } 309 310 func (s PlanAssignmentRequestMapPathSelectorRequestAssignRegionalDistributionsLimitsByRegion) WithValue(value int64) *PlanAssignmentRequest_FieldSubPathValue { 311 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 312 } 313 314 func (s PlanAssignmentRequestMapPathSelectorRequestAssignRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 315 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 316 } 317 318 type PlanAssignmentRequestPathSelectorRequestExtend struct{} 319 320 func (PlanAssignmentRequestPathSelectorRequestExtend) FieldPath() *PlanAssignmentRequest_FieldSubPath { 321 return &PlanAssignmentRequest_FieldSubPath{ 322 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 323 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().FieldPath(), 324 } 325 } 326 327 func (s PlanAssignmentRequestPathSelectorRequestExtend) WithValue(value *PlanAssignmentRequest_RequestType_Extend) *PlanAssignmentRequest_FieldSubPathValue { 328 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 329 } 330 331 func (s PlanAssignmentRequestPathSelectorRequestExtend) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType_Extend) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 332 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 333 } 334 335 func (PlanAssignmentRequestPathSelectorRequestExtend) Assignment() PlanAssignmentRequestPathSelectorRequestExtendAssignment { 336 return PlanAssignmentRequestPathSelectorRequestExtendAssignment{} 337 } 338 339 func (PlanAssignmentRequestPathSelectorRequestExtend) Additions() PlanAssignmentRequestPathSelectorRequestExtendAdditions { 340 return PlanAssignmentRequestPathSelectorRequestExtendAdditions{} 341 } 342 343 func (PlanAssignmentRequestPathSelectorRequestExtend) RegionalDistributions() PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributions { 344 return PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributions{} 345 } 346 347 type PlanAssignmentRequestPathSelectorRequestExtendAssignment struct{} 348 349 func (PlanAssignmentRequestPathSelectorRequestExtendAssignment) FieldPath() *PlanAssignmentRequest_FieldSubPath { 350 return &PlanAssignmentRequest_FieldSubPath{ 351 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 352 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().Assignment().FieldPath(), 353 } 354 } 355 356 func (s PlanAssignmentRequestPathSelectorRequestExtendAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequest_FieldSubPathValue { 357 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 358 } 359 360 func (s PlanAssignmentRequestPathSelectorRequestExtendAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 361 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 362 } 363 364 type PlanAssignmentRequestPathSelectorRequestExtendAdditions struct{} 365 366 func (PlanAssignmentRequestPathSelectorRequestExtendAdditions) FieldPath() *PlanAssignmentRequest_FieldSubPath { 367 return &PlanAssignmentRequest_FieldSubPath{ 368 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 369 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().Additions().FieldPath(), 370 } 371 } 372 373 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditions) WithValue(value []*common.Allowance) *PlanAssignmentRequest_FieldSubPathValue { 374 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 375 } 376 377 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditions) WithArrayOfValues(values [][]*common.Allowance) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 378 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 379 } 380 381 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditions) WithItemValue(value *common.Allowance) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 382 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 383 } 384 385 func (PlanAssignmentRequestPathSelectorRequestExtendAdditions) Resource() PlanAssignmentRequestPathSelectorRequestExtendAdditionsResource { 386 return PlanAssignmentRequestPathSelectorRequestExtendAdditionsResource{} 387 } 388 389 func (PlanAssignmentRequestPathSelectorRequestExtendAdditions) Value() PlanAssignmentRequestPathSelectorRequestExtendAdditionsValue { 390 return PlanAssignmentRequestPathSelectorRequestExtendAdditionsValue{} 391 } 392 393 type PlanAssignmentRequestPathSelectorRequestExtendAdditionsResource struct{} 394 395 func (PlanAssignmentRequestPathSelectorRequestExtendAdditionsResource) FieldPath() *PlanAssignmentRequest_FieldSubPath { 396 return &PlanAssignmentRequest_FieldSubPath{ 397 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 398 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().Additions().Resource().FieldPath(), 399 } 400 } 401 402 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequest_FieldSubPathValue { 403 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 404 } 405 406 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 407 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 408 } 409 410 type PlanAssignmentRequestPathSelectorRequestExtendAdditionsValue struct{} 411 412 func (PlanAssignmentRequestPathSelectorRequestExtendAdditionsValue) FieldPath() *PlanAssignmentRequest_FieldSubPath { 413 return &PlanAssignmentRequest_FieldSubPath{ 414 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 415 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().Additions().Value().FieldPath(), 416 } 417 } 418 419 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditionsValue) WithValue(value int64) *PlanAssignmentRequest_FieldSubPathValue { 420 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 421 } 422 423 func (s PlanAssignmentRequestPathSelectorRequestExtendAdditionsValue) WithArrayOfValues(values []int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 424 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 425 } 426 427 type PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributions struct{} 428 429 func (PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributions) FieldPath() *PlanAssignmentRequest_FieldSubPath { 430 return &PlanAssignmentRequest_FieldSubPath{ 431 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 432 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().RegionalDistributions().FieldPath(), 433 } 434 } 435 436 func (s PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributions) WithValue(value []*common.RegionalDistribution) *PlanAssignmentRequest_FieldSubPathValue { 437 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 438 } 439 440 func (s PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributions) WithArrayOfValues(values [][]*common.RegionalDistribution) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 441 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 442 } 443 444 func (s PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributions) WithItemValue(value *common.RegionalDistribution) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 445 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 446 } 447 448 func (PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributions) Resource() PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributionsResource { 449 return PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributionsResource{} 450 } 451 452 func (PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributions) LimitsByRegion() PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributionsLimitsByRegion { 453 return PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributionsLimitsByRegion{} 454 } 455 456 type PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributionsResource struct{} 457 458 func (PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributionsResource) FieldPath() *PlanAssignmentRequest_FieldSubPath { 459 return &PlanAssignmentRequest_FieldSubPath{ 460 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 461 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().RegionalDistributions().Resource().FieldPath(), 462 } 463 } 464 465 func (s PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequest_FieldSubPathValue { 466 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 467 } 468 469 func (s PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 470 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 471 } 472 473 type PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributionsLimitsByRegion struct{} 474 475 func (PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 476 return &PlanAssignmentRequest_FieldSubPath{ 477 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 478 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().RegionalDistributions().LimitsByRegion().FieldPath(), 479 } 480 } 481 482 func (s PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributionsLimitsByRegion) WithValue(value map[string]int64) *PlanAssignmentRequest_FieldSubPathValue { 483 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 484 } 485 486 func (s PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []map[string]int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 487 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 488 } 489 490 func (PlanAssignmentRequestPathSelectorRequestExtendRegionalDistributionsLimitsByRegion) WithKey(key string) PlanAssignmentRequestMapPathSelectorRequestExtendRegionalDistributionsLimitsByRegion { 491 return PlanAssignmentRequestMapPathSelectorRequestExtendRegionalDistributionsLimitsByRegion{key: key} 492 } 493 494 type PlanAssignmentRequestMapPathSelectorRequestExtendRegionalDistributionsLimitsByRegion struct { 495 key string 496 } 497 498 func (s PlanAssignmentRequestMapPathSelectorRequestExtendRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 499 return &PlanAssignmentRequest_FieldSubPath{ 500 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 501 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Extend().RegionalDistributions().LimitsByRegion().WithKey(s.key).FieldPath(), 502 } 503 } 504 505 func (s PlanAssignmentRequestMapPathSelectorRequestExtendRegionalDistributionsLimitsByRegion) WithValue(value int64) *PlanAssignmentRequest_FieldSubPathValue { 506 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 507 } 508 509 func (s PlanAssignmentRequestMapPathSelectorRequestExtendRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 510 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 511 } 512 513 type PlanAssignmentRequestPathSelectorRequestRedistribute struct{} 514 515 func (PlanAssignmentRequestPathSelectorRequestRedistribute) FieldPath() *PlanAssignmentRequest_FieldSubPath { 516 return &PlanAssignmentRequest_FieldSubPath{ 517 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 518 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Redistribute().FieldPath(), 519 } 520 } 521 522 func (s PlanAssignmentRequestPathSelectorRequestRedistribute) WithValue(value *PlanAssignmentRequest_RequestType_Redistribute) *PlanAssignmentRequest_FieldSubPathValue { 523 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 524 } 525 526 func (s PlanAssignmentRequestPathSelectorRequestRedistribute) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType_Redistribute) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 527 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 528 } 529 530 func (PlanAssignmentRequestPathSelectorRequestRedistribute) Assignment() PlanAssignmentRequestPathSelectorRequestRedistributeAssignment { 531 return PlanAssignmentRequestPathSelectorRequestRedistributeAssignment{} 532 } 533 534 func (PlanAssignmentRequestPathSelectorRequestRedistribute) RegionalDistributions() PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributions { 535 return PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributions{} 536 } 537 538 type PlanAssignmentRequestPathSelectorRequestRedistributeAssignment struct{} 539 540 func (PlanAssignmentRequestPathSelectorRequestRedistributeAssignment) FieldPath() *PlanAssignmentRequest_FieldSubPath { 541 return &PlanAssignmentRequest_FieldSubPath{ 542 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 543 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Redistribute().Assignment().FieldPath(), 544 } 545 } 546 547 func (s PlanAssignmentRequestPathSelectorRequestRedistributeAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequest_FieldSubPathValue { 548 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 549 } 550 551 func (s PlanAssignmentRequestPathSelectorRequestRedistributeAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 552 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 553 } 554 555 type PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributions struct{} 556 557 func (PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributions) FieldPath() *PlanAssignmentRequest_FieldSubPath { 558 return &PlanAssignmentRequest_FieldSubPath{ 559 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 560 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Redistribute().RegionalDistributions().FieldPath(), 561 } 562 } 563 564 func (s PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributions) WithValue(value []*common.RegionalDistribution) *PlanAssignmentRequest_FieldSubPathValue { 565 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 566 } 567 568 func (s PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributions) WithArrayOfValues(values [][]*common.RegionalDistribution) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 569 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 570 } 571 572 func (s PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributions) WithItemValue(value *common.RegionalDistribution) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 573 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 574 } 575 576 func (PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributions) Resource() PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributionsResource { 577 return PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributionsResource{} 578 } 579 580 func (PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributions) LimitsByRegion() PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributionsLimitsByRegion { 581 return PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributionsLimitsByRegion{} 582 } 583 584 type PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributionsResource struct{} 585 586 func (PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributionsResource) FieldPath() *PlanAssignmentRequest_FieldSubPath { 587 return &PlanAssignmentRequest_FieldSubPath{ 588 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 589 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Redistribute().RegionalDistributions().Resource().FieldPath(), 590 } 591 } 592 593 func (s PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequest_FieldSubPathValue { 594 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 595 } 596 597 func (s PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 598 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 599 } 600 601 type PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributionsLimitsByRegion struct{} 602 603 func (PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 604 return &PlanAssignmentRequest_FieldSubPath{ 605 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 606 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Redistribute().RegionalDistributions().LimitsByRegion().FieldPath(), 607 } 608 } 609 610 func (s PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributionsLimitsByRegion) WithValue(value map[string]int64) *PlanAssignmentRequest_FieldSubPathValue { 611 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 612 } 613 614 func (s PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []map[string]int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 615 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 616 } 617 618 func (PlanAssignmentRequestPathSelectorRequestRedistributeRegionalDistributionsLimitsByRegion) WithKey(key string) PlanAssignmentRequestMapPathSelectorRequestRedistributeRegionalDistributionsLimitsByRegion { 619 return PlanAssignmentRequestMapPathSelectorRequestRedistributeRegionalDistributionsLimitsByRegion{key: key} 620 } 621 622 type PlanAssignmentRequestMapPathSelectorRequestRedistributeRegionalDistributionsLimitsByRegion struct { 623 key string 624 } 625 626 func (s PlanAssignmentRequestMapPathSelectorRequestRedistributeRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 627 return &PlanAssignmentRequest_FieldSubPath{ 628 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 629 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Redistribute().RegionalDistributions().LimitsByRegion().WithKey(s.key).FieldPath(), 630 } 631 } 632 633 func (s PlanAssignmentRequestMapPathSelectorRequestRedistributeRegionalDistributionsLimitsByRegion) WithValue(value int64) *PlanAssignmentRequest_FieldSubPathValue { 634 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 635 } 636 637 func (s PlanAssignmentRequestMapPathSelectorRequestRedistributeRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 638 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 639 } 640 641 type PlanAssignmentRequestPathSelectorRequestUnassign struct{} 642 643 func (PlanAssignmentRequestPathSelectorRequestUnassign) FieldPath() *PlanAssignmentRequest_FieldSubPath { 644 return &PlanAssignmentRequest_FieldSubPath{ 645 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 646 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Unassign().FieldPath(), 647 } 648 } 649 650 func (s PlanAssignmentRequestPathSelectorRequestUnassign) WithValue(value *PlanAssignmentRequest_RequestType_Unassign) *PlanAssignmentRequest_FieldSubPathValue { 651 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 652 } 653 654 func (s PlanAssignmentRequestPathSelectorRequestUnassign) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType_Unassign) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 655 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 656 } 657 658 func (PlanAssignmentRequestPathSelectorRequestUnassign) Assignment() PlanAssignmentRequestPathSelectorRequestUnassignAssignment { 659 return PlanAssignmentRequestPathSelectorRequestUnassignAssignment{} 660 } 661 662 type PlanAssignmentRequestPathSelectorRequestUnassignAssignment struct{} 663 664 func (PlanAssignmentRequestPathSelectorRequestUnassignAssignment) FieldPath() *PlanAssignmentRequest_FieldSubPath { 665 return &PlanAssignmentRequest_FieldSubPath{ 666 selector: PlanAssignmentRequest_FieldPathSelectorRequest, 667 subPath: NewPlanAssignmentRequestRequestTypeFieldPathBuilder().Unassign().Assignment().FieldPath(), 668 } 669 } 670 671 func (s PlanAssignmentRequestPathSelectorRequestUnassignAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequest_FieldSubPathValue { 672 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 673 } 674 675 func (s PlanAssignmentRequestPathSelectorRequestUnassignAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 676 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 677 } 678 679 type PlanAssignmentRequestPathSelectorService struct{} 680 681 func (PlanAssignmentRequestPathSelectorService) FieldPath() *PlanAssignmentRequest_FieldTerminalPath { 682 return &PlanAssignmentRequest_FieldTerminalPath{selector: PlanAssignmentRequest_FieldPathSelectorService} 683 } 684 685 func (s PlanAssignmentRequestPathSelectorService) WithValue(value *meta_service.Reference) *PlanAssignmentRequest_FieldTerminalPathValue { 686 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldTerminalPathValue) 687 } 688 689 func (s PlanAssignmentRequestPathSelectorService) WithArrayOfValues(values []*meta_service.Reference) *PlanAssignmentRequest_FieldTerminalPathArrayOfValues { 690 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldTerminalPathArrayOfValues) 691 } 692 693 type PlanAssignmentRequestPathSelectorApprover struct{} 694 695 func (PlanAssignmentRequestPathSelectorApprover) FieldPath() *PlanAssignmentRequest_FieldTerminalPath { 696 return &PlanAssignmentRequest_FieldTerminalPath{selector: PlanAssignmentRequest_FieldPathSelectorApprover} 697 } 698 699 func (s PlanAssignmentRequestPathSelectorApprover) WithValue(value *iam_organization.Reference) *PlanAssignmentRequest_FieldTerminalPathValue { 700 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldTerminalPathValue) 701 } 702 703 func (s PlanAssignmentRequestPathSelectorApprover) WithArrayOfValues(values []*iam_organization.Reference) *PlanAssignmentRequest_FieldTerminalPathArrayOfValues { 704 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldTerminalPathArrayOfValues) 705 } 706 707 type PlanAssignmentRequestPathSelectorStatus struct{} 708 709 func (PlanAssignmentRequestPathSelectorStatus) FieldPath() *PlanAssignmentRequest_FieldTerminalPath { 710 return &PlanAssignmentRequest_FieldTerminalPath{selector: PlanAssignmentRequest_FieldPathSelectorStatus} 711 } 712 713 func (s PlanAssignmentRequestPathSelectorStatus) WithValue(value *PlanAssignmentRequest_Status) *PlanAssignmentRequest_FieldTerminalPathValue { 714 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldTerminalPathValue) 715 } 716 717 func (s PlanAssignmentRequestPathSelectorStatus) WithArrayOfValues(values []*PlanAssignmentRequest_Status) *PlanAssignmentRequest_FieldTerminalPathArrayOfValues { 718 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldTerminalPathArrayOfValues) 719 } 720 721 func (PlanAssignmentRequestPathSelectorStatus) WithSubPath(subPath PlanAssignmentRequestStatus_FieldPath) *PlanAssignmentRequest_FieldSubPath { 722 return &PlanAssignmentRequest_FieldSubPath{selector: PlanAssignmentRequest_FieldPathSelectorStatus, subPath: subPath} 723 } 724 725 func (s PlanAssignmentRequestPathSelectorStatus) WithSubValue(subPathValue PlanAssignmentRequestStatus_FieldPathValue) *PlanAssignmentRequest_FieldSubPathValue { 726 return &PlanAssignmentRequest_FieldSubPathValue{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 727 } 728 729 func (s PlanAssignmentRequestPathSelectorStatus) WithSubArrayOfValues(subPathArrayOfValues PlanAssignmentRequestStatus_FieldPathArrayOfValues) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 730 return &PlanAssignmentRequest_FieldSubPathArrayOfValues{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 731 } 732 733 func (s PlanAssignmentRequestPathSelectorStatus) WithSubArrayItemValue(subPathArrayItemValue PlanAssignmentRequestStatus_FieldPathArrayItemValue) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 734 return &PlanAssignmentRequest_FieldSubPathArrayItemValue{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 735 } 736 737 func (PlanAssignmentRequestPathSelectorStatus) Conclusion() PlanAssignmentRequestPathSelectorStatusConclusion { 738 return PlanAssignmentRequestPathSelectorStatusConclusion{} 739 } 740 741 func (PlanAssignmentRequestPathSelectorStatus) Reason() PlanAssignmentRequestPathSelectorStatusReason { 742 return PlanAssignmentRequestPathSelectorStatusReason{} 743 } 744 745 type PlanAssignmentRequestPathSelectorStatusConclusion struct{} 746 747 func (PlanAssignmentRequestPathSelectorStatusConclusion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 748 return &PlanAssignmentRequest_FieldSubPath{ 749 selector: PlanAssignmentRequest_FieldPathSelectorStatus, 750 subPath: NewPlanAssignmentRequestStatusFieldPathBuilder().Conclusion().FieldPath(), 751 } 752 } 753 754 func (s PlanAssignmentRequestPathSelectorStatusConclusion) WithValue(value PlanAssignmentRequest_Status_Conclusion) *PlanAssignmentRequest_FieldSubPathValue { 755 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 756 } 757 758 func (s PlanAssignmentRequestPathSelectorStatusConclusion) WithArrayOfValues(values []PlanAssignmentRequest_Status_Conclusion) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 759 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 760 } 761 762 type PlanAssignmentRequestPathSelectorStatusReason struct{} 763 764 func (PlanAssignmentRequestPathSelectorStatusReason) FieldPath() *PlanAssignmentRequest_FieldSubPath { 765 return &PlanAssignmentRequest_FieldSubPath{ 766 selector: PlanAssignmentRequest_FieldPathSelectorStatus, 767 subPath: NewPlanAssignmentRequestStatusFieldPathBuilder().Reason().FieldPath(), 768 } 769 } 770 771 func (s PlanAssignmentRequestPathSelectorStatusReason) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 772 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 773 } 774 775 func (s PlanAssignmentRequestPathSelectorStatusReason) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 776 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 777 } 778 779 type PlanAssignmentRequestPathSelectorMetadata struct{} 780 781 func (PlanAssignmentRequestPathSelectorMetadata) FieldPath() *PlanAssignmentRequest_FieldTerminalPath { 782 return &PlanAssignmentRequest_FieldTerminalPath{selector: PlanAssignmentRequest_FieldPathSelectorMetadata} 783 } 784 785 func (s PlanAssignmentRequestPathSelectorMetadata) WithValue(value *meta.Meta) *PlanAssignmentRequest_FieldTerminalPathValue { 786 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldTerminalPathValue) 787 } 788 789 func (s PlanAssignmentRequestPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *PlanAssignmentRequest_FieldTerminalPathArrayOfValues { 790 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldTerminalPathArrayOfValues) 791 } 792 793 func (PlanAssignmentRequestPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *PlanAssignmentRequest_FieldSubPath { 794 return &PlanAssignmentRequest_FieldSubPath{selector: PlanAssignmentRequest_FieldPathSelectorMetadata, subPath: subPath} 795 } 796 797 func (s PlanAssignmentRequestPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *PlanAssignmentRequest_FieldSubPathValue { 798 return &PlanAssignmentRequest_FieldSubPathValue{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 799 } 800 801 func (s PlanAssignmentRequestPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 802 return &PlanAssignmentRequest_FieldSubPathArrayOfValues{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 803 } 804 805 func (s PlanAssignmentRequestPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 806 return &PlanAssignmentRequest_FieldSubPathArrayItemValue{PlanAssignmentRequest_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 807 } 808 809 func (PlanAssignmentRequestPathSelectorMetadata) CreateTime() PlanAssignmentRequestPathSelectorMetadataCreateTime { 810 return PlanAssignmentRequestPathSelectorMetadataCreateTime{} 811 } 812 813 func (PlanAssignmentRequestPathSelectorMetadata) UpdateTime() PlanAssignmentRequestPathSelectorMetadataUpdateTime { 814 return PlanAssignmentRequestPathSelectorMetadataUpdateTime{} 815 } 816 817 func (PlanAssignmentRequestPathSelectorMetadata) DeleteTime() PlanAssignmentRequestPathSelectorMetadataDeleteTime { 818 return PlanAssignmentRequestPathSelectorMetadataDeleteTime{} 819 } 820 821 func (PlanAssignmentRequestPathSelectorMetadata) Uuid() PlanAssignmentRequestPathSelectorMetadataUuid { 822 return PlanAssignmentRequestPathSelectorMetadataUuid{} 823 } 824 825 func (PlanAssignmentRequestPathSelectorMetadata) Tags() PlanAssignmentRequestPathSelectorMetadataTags { 826 return PlanAssignmentRequestPathSelectorMetadataTags{} 827 } 828 829 func (PlanAssignmentRequestPathSelectorMetadata) Labels() PlanAssignmentRequestPathSelectorMetadataLabels { 830 return PlanAssignmentRequestPathSelectorMetadataLabels{} 831 } 832 833 func (PlanAssignmentRequestPathSelectorMetadata) Annotations() PlanAssignmentRequestPathSelectorMetadataAnnotations { 834 return PlanAssignmentRequestPathSelectorMetadataAnnotations{} 835 } 836 837 func (PlanAssignmentRequestPathSelectorMetadata) Generation() PlanAssignmentRequestPathSelectorMetadataGeneration { 838 return PlanAssignmentRequestPathSelectorMetadataGeneration{} 839 } 840 841 func (PlanAssignmentRequestPathSelectorMetadata) ResourceVersion() PlanAssignmentRequestPathSelectorMetadataResourceVersion { 842 return PlanAssignmentRequestPathSelectorMetadataResourceVersion{} 843 } 844 845 func (PlanAssignmentRequestPathSelectorMetadata) OwnerReferences() PlanAssignmentRequestPathSelectorMetadataOwnerReferences { 846 return PlanAssignmentRequestPathSelectorMetadataOwnerReferences{} 847 } 848 849 func (PlanAssignmentRequestPathSelectorMetadata) Shards() PlanAssignmentRequestPathSelectorMetadataShards { 850 return PlanAssignmentRequestPathSelectorMetadataShards{} 851 } 852 853 func (PlanAssignmentRequestPathSelectorMetadata) Syncing() PlanAssignmentRequestPathSelectorMetadataSyncing { 854 return PlanAssignmentRequestPathSelectorMetadataSyncing{} 855 } 856 857 func (PlanAssignmentRequestPathSelectorMetadata) Lifecycle() PlanAssignmentRequestPathSelectorMetadataLifecycle { 858 return PlanAssignmentRequestPathSelectorMetadataLifecycle{} 859 } 860 861 func (PlanAssignmentRequestPathSelectorMetadata) Services() PlanAssignmentRequestPathSelectorMetadataServices { 862 return PlanAssignmentRequestPathSelectorMetadataServices{} 863 } 864 865 type PlanAssignmentRequestPathSelectorMetadataCreateTime struct{} 866 867 func (PlanAssignmentRequestPathSelectorMetadataCreateTime) FieldPath() *PlanAssignmentRequest_FieldSubPath { 868 return &PlanAssignmentRequest_FieldSubPath{ 869 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 870 subPath: meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(), 871 } 872 } 873 874 func (s PlanAssignmentRequestPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *PlanAssignmentRequest_FieldSubPathValue { 875 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 876 } 877 878 func (s PlanAssignmentRequestPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 879 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 880 } 881 882 type PlanAssignmentRequestPathSelectorMetadataUpdateTime struct{} 883 884 func (PlanAssignmentRequestPathSelectorMetadataUpdateTime) FieldPath() *PlanAssignmentRequest_FieldSubPath { 885 return &PlanAssignmentRequest_FieldSubPath{ 886 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 887 subPath: meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(), 888 } 889 } 890 891 func (s PlanAssignmentRequestPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *PlanAssignmentRequest_FieldSubPathValue { 892 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 893 } 894 895 func (s PlanAssignmentRequestPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 896 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 897 } 898 899 type PlanAssignmentRequestPathSelectorMetadataDeleteTime struct{} 900 901 func (PlanAssignmentRequestPathSelectorMetadataDeleteTime) FieldPath() *PlanAssignmentRequest_FieldSubPath { 902 return &PlanAssignmentRequest_FieldSubPath{ 903 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 904 subPath: meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(), 905 } 906 } 907 908 func (s PlanAssignmentRequestPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *PlanAssignmentRequest_FieldSubPathValue { 909 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 910 } 911 912 func (s PlanAssignmentRequestPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 913 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 914 } 915 916 type PlanAssignmentRequestPathSelectorMetadataUuid struct{} 917 918 func (PlanAssignmentRequestPathSelectorMetadataUuid) FieldPath() *PlanAssignmentRequest_FieldSubPath { 919 return &PlanAssignmentRequest_FieldSubPath{ 920 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 921 subPath: meta.NewMetaFieldPathBuilder().Uuid().FieldPath(), 922 } 923 } 924 925 func (s PlanAssignmentRequestPathSelectorMetadataUuid) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 926 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 927 } 928 929 func (s PlanAssignmentRequestPathSelectorMetadataUuid) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 930 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 931 } 932 933 type PlanAssignmentRequestPathSelectorMetadataTags struct{} 934 935 func (PlanAssignmentRequestPathSelectorMetadataTags) FieldPath() *PlanAssignmentRequest_FieldSubPath { 936 return &PlanAssignmentRequest_FieldSubPath{ 937 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 938 subPath: meta.NewMetaFieldPathBuilder().Tags().FieldPath(), 939 } 940 } 941 942 func (s PlanAssignmentRequestPathSelectorMetadataTags) WithValue(value []string) *PlanAssignmentRequest_FieldSubPathValue { 943 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 944 } 945 946 func (s PlanAssignmentRequestPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 947 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 948 } 949 950 func (s PlanAssignmentRequestPathSelectorMetadataTags) WithItemValue(value string) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 951 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 952 } 953 954 type PlanAssignmentRequestPathSelectorMetadataLabels struct{} 955 956 func (PlanAssignmentRequestPathSelectorMetadataLabels) FieldPath() *PlanAssignmentRequest_FieldSubPath { 957 return &PlanAssignmentRequest_FieldSubPath{ 958 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 959 subPath: meta.NewMetaFieldPathBuilder().Labels().FieldPath(), 960 } 961 } 962 963 func (s PlanAssignmentRequestPathSelectorMetadataLabels) WithValue(value map[string]string) *PlanAssignmentRequest_FieldSubPathValue { 964 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 965 } 966 967 func (s PlanAssignmentRequestPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 968 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 969 } 970 971 func (PlanAssignmentRequestPathSelectorMetadataLabels) WithKey(key string) PlanAssignmentRequestMapPathSelectorMetadataLabels { 972 return PlanAssignmentRequestMapPathSelectorMetadataLabels{key: key} 973 } 974 975 type PlanAssignmentRequestMapPathSelectorMetadataLabels struct { 976 key string 977 } 978 979 func (s PlanAssignmentRequestMapPathSelectorMetadataLabels) FieldPath() *PlanAssignmentRequest_FieldSubPath { 980 return &PlanAssignmentRequest_FieldSubPath{ 981 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 982 subPath: meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 983 } 984 } 985 986 func (s PlanAssignmentRequestMapPathSelectorMetadataLabels) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 987 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 988 } 989 990 func (s PlanAssignmentRequestMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 991 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 992 } 993 994 type PlanAssignmentRequestPathSelectorMetadataAnnotations struct{} 995 996 func (PlanAssignmentRequestPathSelectorMetadataAnnotations) FieldPath() *PlanAssignmentRequest_FieldSubPath { 997 return &PlanAssignmentRequest_FieldSubPath{ 998 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 999 subPath: meta.NewMetaFieldPathBuilder().Annotations().FieldPath(), 1000 } 1001 } 1002 1003 func (s PlanAssignmentRequestPathSelectorMetadataAnnotations) WithValue(value map[string]string) *PlanAssignmentRequest_FieldSubPathValue { 1004 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1005 } 1006 1007 func (s PlanAssignmentRequestPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1008 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1009 } 1010 1011 func (PlanAssignmentRequestPathSelectorMetadataAnnotations) WithKey(key string) PlanAssignmentRequestMapPathSelectorMetadataAnnotations { 1012 return PlanAssignmentRequestMapPathSelectorMetadataAnnotations{key: key} 1013 } 1014 1015 type PlanAssignmentRequestMapPathSelectorMetadataAnnotations struct { 1016 key string 1017 } 1018 1019 func (s PlanAssignmentRequestMapPathSelectorMetadataAnnotations) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1020 return &PlanAssignmentRequest_FieldSubPath{ 1021 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1022 subPath: meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(), 1023 } 1024 } 1025 1026 func (s PlanAssignmentRequestMapPathSelectorMetadataAnnotations) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 1027 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1028 } 1029 1030 func (s PlanAssignmentRequestMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1031 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1032 } 1033 1034 type PlanAssignmentRequestPathSelectorMetadataGeneration struct{} 1035 1036 func (PlanAssignmentRequestPathSelectorMetadataGeneration) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1037 return &PlanAssignmentRequest_FieldSubPath{ 1038 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1039 subPath: meta.NewMetaFieldPathBuilder().Generation().FieldPath(), 1040 } 1041 } 1042 1043 func (s PlanAssignmentRequestPathSelectorMetadataGeneration) WithValue(value int64) *PlanAssignmentRequest_FieldSubPathValue { 1044 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1045 } 1046 1047 func (s PlanAssignmentRequestPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1048 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1049 } 1050 1051 type PlanAssignmentRequestPathSelectorMetadataResourceVersion struct{} 1052 1053 func (PlanAssignmentRequestPathSelectorMetadataResourceVersion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1054 return &PlanAssignmentRequest_FieldSubPath{ 1055 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1056 subPath: meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(), 1057 } 1058 } 1059 1060 func (s PlanAssignmentRequestPathSelectorMetadataResourceVersion) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 1061 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1062 } 1063 1064 func (s PlanAssignmentRequestPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1065 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1066 } 1067 1068 type PlanAssignmentRequestPathSelectorMetadataOwnerReferences struct{} 1069 1070 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1071 return &PlanAssignmentRequest_FieldSubPath{ 1072 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1073 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(), 1074 } 1075 } 1076 1077 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *PlanAssignmentRequest_FieldSubPathValue { 1078 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1079 } 1080 1081 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1082 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1083 } 1084 1085 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 1086 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 1087 } 1088 1089 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) Kind() PlanAssignmentRequestPathSelectorMetadataOwnerReferencesKind { 1090 return PlanAssignmentRequestPathSelectorMetadataOwnerReferencesKind{} 1091 } 1092 1093 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) Version() PlanAssignmentRequestPathSelectorMetadataOwnerReferencesVersion { 1094 return PlanAssignmentRequestPathSelectorMetadataOwnerReferencesVersion{} 1095 } 1096 1097 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) Name() PlanAssignmentRequestPathSelectorMetadataOwnerReferencesName { 1098 return PlanAssignmentRequestPathSelectorMetadataOwnerReferencesName{} 1099 } 1100 1101 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) Region() PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRegion { 1102 return PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRegion{} 1103 } 1104 1105 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) Controller() PlanAssignmentRequestPathSelectorMetadataOwnerReferencesController { 1106 return PlanAssignmentRequestPathSelectorMetadataOwnerReferencesController{} 1107 } 1108 1109 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) RequiresOwnerReference() PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRequiresOwnerReference { 1110 return PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRequiresOwnerReference{} 1111 } 1112 1113 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferences) UnsetOnDelete() PlanAssignmentRequestPathSelectorMetadataOwnerReferencesUnsetOnDelete { 1114 return PlanAssignmentRequestPathSelectorMetadataOwnerReferencesUnsetOnDelete{} 1115 } 1116 1117 type PlanAssignmentRequestPathSelectorMetadataOwnerReferencesKind struct{} 1118 1119 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferencesKind) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1120 return &PlanAssignmentRequest_FieldSubPath{ 1121 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1122 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(), 1123 } 1124 } 1125 1126 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 1127 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1128 } 1129 1130 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1131 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1132 } 1133 1134 type PlanAssignmentRequestPathSelectorMetadataOwnerReferencesVersion struct{} 1135 1136 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferencesVersion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1137 return &PlanAssignmentRequest_FieldSubPath{ 1138 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1139 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(), 1140 } 1141 } 1142 1143 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 1144 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1145 } 1146 1147 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1148 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1149 } 1150 1151 type PlanAssignmentRequestPathSelectorMetadataOwnerReferencesName struct{} 1152 1153 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferencesName) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1154 return &PlanAssignmentRequest_FieldSubPath{ 1155 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1156 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(), 1157 } 1158 } 1159 1160 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesName) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 1161 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1162 } 1163 1164 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1165 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1166 } 1167 1168 type PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRegion struct{} 1169 1170 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRegion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1171 return &PlanAssignmentRequest_FieldSubPath{ 1172 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1173 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(), 1174 } 1175 } 1176 1177 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 1178 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1179 } 1180 1181 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1182 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1183 } 1184 1185 type PlanAssignmentRequestPathSelectorMetadataOwnerReferencesController struct{} 1186 1187 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferencesController) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1188 return &PlanAssignmentRequest_FieldSubPath{ 1189 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1190 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(), 1191 } 1192 } 1193 1194 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *PlanAssignmentRequest_FieldSubPathValue { 1195 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1196 } 1197 1198 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1199 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1200 } 1201 1202 type PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{} 1203 1204 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1205 return &PlanAssignmentRequest_FieldSubPath{ 1206 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1207 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(), 1208 } 1209 } 1210 1211 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *PlanAssignmentRequest_FieldSubPathValue { 1212 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1213 } 1214 1215 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1216 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1217 } 1218 1219 type PlanAssignmentRequestPathSelectorMetadataOwnerReferencesUnsetOnDelete struct{} 1220 1221 func (PlanAssignmentRequestPathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1222 return &PlanAssignmentRequest_FieldSubPath{ 1223 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1224 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(), 1225 } 1226 } 1227 1228 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *PlanAssignmentRequest_FieldSubPathValue { 1229 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1230 } 1231 1232 func (s PlanAssignmentRequestPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1233 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1234 } 1235 1236 type PlanAssignmentRequestPathSelectorMetadataShards struct{} 1237 1238 func (PlanAssignmentRequestPathSelectorMetadataShards) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1239 return &PlanAssignmentRequest_FieldSubPath{ 1240 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1241 subPath: meta.NewMetaFieldPathBuilder().Shards().FieldPath(), 1242 } 1243 } 1244 1245 func (s PlanAssignmentRequestPathSelectorMetadataShards) WithValue(value map[string]int64) *PlanAssignmentRequest_FieldSubPathValue { 1246 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1247 } 1248 1249 func (s PlanAssignmentRequestPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1250 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1251 } 1252 1253 func (PlanAssignmentRequestPathSelectorMetadataShards) WithKey(key string) PlanAssignmentRequestMapPathSelectorMetadataShards { 1254 return PlanAssignmentRequestMapPathSelectorMetadataShards{key: key} 1255 } 1256 1257 type PlanAssignmentRequestMapPathSelectorMetadataShards struct { 1258 key string 1259 } 1260 1261 func (s PlanAssignmentRequestMapPathSelectorMetadataShards) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1262 return &PlanAssignmentRequest_FieldSubPath{ 1263 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1264 subPath: meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(), 1265 } 1266 } 1267 1268 func (s PlanAssignmentRequestMapPathSelectorMetadataShards) WithValue(value int64) *PlanAssignmentRequest_FieldSubPathValue { 1269 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1270 } 1271 1272 func (s PlanAssignmentRequestMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1273 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1274 } 1275 1276 type PlanAssignmentRequestPathSelectorMetadataSyncing struct{} 1277 1278 func (PlanAssignmentRequestPathSelectorMetadataSyncing) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1279 return &PlanAssignmentRequest_FieldSubPath{ 1280 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1281 subPath: meta.NewMetaFieldPathBuilder().Syncing().FieldPath(), 1282 } 1283 } 1284 1285 func (s PlanAssignmentRequestPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *PlanAssignmentRequest_FieldSubPathValue { 1286 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1287 } 1288 1289 func (s PlanAssignmentRequestPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1290 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1291 } 1292 1293 func (PlanAssignmentRequestPathSelectorMetadataSyncing) OwningRegion() PlanAssignmentRequestPathSelectorMetadataSyncingOwningRegion { 1294 return PlanAssignmentRequestPathSelectorMetadataSyncingOwningRegion{} 1295 } 1296 1297 func (PlanAssignmentRequestPathSelectorMetadataSyncing) Regions() PlanAssignmentRequestPathSelectorMetadataSyncingRegions { 1298 return PlanAssignmentRequestPathSelectorMetadataSyncingRegions{} 1299 } 1300 1301 type PlanAssignmentRequestPathSelectorMetadataSyncingOwningRegion struct{} 1302 1303 func (PlanAssignmentRequestPathSelectorMetadataSyncingOwningRegion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1304 return &PlanAssignmentRequest_FieldSubPath{ 1305 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1306 subPath: meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(), 1307 } 1308 } 1309 1310 func (s PlanAssignmentRequestPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 1311 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1312 } 1313 1314 func (s PlanAssignmentRequestPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1315 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1316 } 1317 1318 type PlanAssignmentRequestPathSelectorMetadataSyncingRegions struct{} 1319 1320 func (PlanAssignmentRequestPathSelectorMetadataSyncingRegions) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1321 return &PlanAssignmentRequest_FieldSubPath{ 1322 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1323 subPath: meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(), 1324 } 1325 } 1326 1327 func (s PlanAssignmentRequestPathSelectorMetadataSyncingRegions) WithValue(value []string) *PlanAssignmentRequest_FieldSubPathValue { 1328 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1329 } 1330 1331 func (s PlanAssignmentRequestPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1332 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1333 } 1334 1335 func (s PlanAssignmentRequestPathSelectorMetadataSyncingRegions) WithItemValue(value string) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 1336 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 1337 } 1338 1339 type PlanAssignmentRequestPathSelectorMetadataLifecycle struct{} 1340 1341 func (PlanAssignmentRequestPathSelectorMetadataLifecycle) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1342 return &PlanAssignmentRequest_FieldSubPath{ 1343 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1344 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(), 1345 } 1346 } 1347 1348 func (s PlanAssignmentRequestPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *PlanAssignmentRequest_FieldSubPathValue { 1349 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1350 } 1351 1352 func (s PlanAssignmentRequestPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1353 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1354 } 1355 1356 func (PlanAssignmentRequestPathSelectorMetadataLifecycle) State() PlanAssignmentRequestPathSelectorMetadataLifecycleState { 1357 return PlanAssignmentRequestPathSelectorMetadataLifecycleState{} 1358 } 1359 1360 func (PlanAssignmentRequestPathSelectorMetadataLifecycle) BlockDeletion() PlanAssignmentRequestPathSelectorMetadataLifecycleBlockDeletion { 1361 return PlanAssignmentRequestPathSelectorMetadataLifecycleBlockDeletion{} 1362 } 1363 1364 type PlanAssignmentRequestPathSelectorMetadataLifecycleState struct{} 1365 1366 func (PlanAssignmentRequestPathSelectorMetadataLifecycleState) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1367 return &PlanAssignmentRequest_FieldSubPath{ 1368 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1369 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(), 1370 } 1371 } 1372 1373 func (s PlanAssignmentRequestPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *PlanAssignmentRequest_FieldSubPathValue { 1374 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1375 } 1376 1377 func (s PlanAssignmentRequestPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1378 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1379 } 1380 1381 type PlanAssignmentRequestPathSelectorMetadataLifecycleBlockDeletion struct{} 1382 1383 func (PlanAssignmentRequestPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1384 return &PlanAssignmentRequest_FieldSubPath{ 1385 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1386 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(), 1387 } 1388 } 1389 1390 func (s PlanAssignmentRequestPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *PlanAssignmentRequest_FieldSubPathValue { 1391 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1392 } 1393 1394 func (s PlanAssignmentRequestPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1395 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1396 } 1397 1398 type PlanAssignmentRequestPathSelectorMetadataServices struct{} 1399 1400 func (PlanAssignmentRequestPathSelectorMetadataServices) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1401 return &PlanAssignmentRequest_FieldSubPath{ 1402 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1403 subPath: meta.NewMetaFieldPathBuilder().Services().FieldPath(), 1404 } 1405 } 1406 1407 func (s PlanAssignmentRequestPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *PlanAssignmentRequest_FieldSubPathValue { 1408 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1409 } 1410 1411 func (s PlanAssignmentRequestPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1412 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1413 } 1414 1415 func (PlanAssignmentRequestPathSelectorMetadataServices) OwningService() PlanAssignmentRequestPathSelectorMetadataServicesOwningService { 1416 return PlanAssignmentRequestPathSelectorMetadataServicesOwningService{} 1417 } 1418 1419 func (PlanAssignmentRequestPathSelectorMetadataServices) AllowedServices() PlanAssignmentRequestPathSelectorMetadataServicesAllowedServices { 1420 return PlanAssignmentRequestPathSelectorMetadataServicesAllowedServices{} 1421 } 1422 1423 type PlanAssignmentRequestPathSelectorMetadataServicesOwningService struct{} 1424 1425 func (PlanAssignmentRequestPathSelectorMetadataServicesOwningService) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1426 return &PlanAssignmentRequest_FieldSubPath{ 1427 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1428 subPath: meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(), 1429 } 1430 } 1431 1432 func (s PlanAssignmentRequestPathSelectorMetadataServicesOwningService) WithValue(value string) *PlanAssignmentRequest_FieldSubPathValue { 1433 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1434 } 1435 1436 func (s PlanAssignmentRequestPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1437 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1438 } 1439 1440 type PlanAssignmentRequestPathSelectorMetadataServicesAllowedServices struct{} 1441 1442 func (PlanAssignmentRequestPathSelectorMetadataServicesAllowedServices) FieldPath() *PlanAssignmentRequest_FieldSubPath { 1443 return &PlanAssignmentRequest_FieldSubPath{ 1444 selector: PlanAssignmentRequest_FieldPathSelectorMetadata, 1445 subPath: meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(), 1446 } 1447 } 1448 1449 func (s PlanAssignmentRequestPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *PlanAssignmentRequest_FieldSubPathValue { 1450 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequest_FieldSubPathValue) 1451 } 1452 1453 func (s PlanAssignmentRequestPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *PlanAssignmentRequest_FieldSubPathArrayOfValues { 1454 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequest_FieldSubPathArrayOfValues) 1455 } 1456 1457 func (s PlanAssignmentRequestPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *PlanAssignmentRequest_FieldSubPathArrayItemValue { 1458 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequest_FieldSubPathArrayItemValue) 1459 } 1460 1461 type PlanAssignmentRequestStatusFieldPathBuilder struct{} 1462 1463 func NewPlanAssignmentRequestStatusFieldPathBuilder() PlanAssignmentRequestStatusFieldPathBuilder { 1464 return PlanAssignmentRequestStatusFieldPathBuilder{} 1465 } 1466 func (PlanAssignmentRequestStatusFieldPathBuilder) Conclusion() PlanAssignmentRequest_StatusPathSelectorConclusion { 1467 return PlanAssignmentRequest_StatusPathSelectorConclusion{} 1468 } 1469 func (PlanAssignmentRequestStatusFieldPathBuilder) Reason() PlanAssignmentRequest_StatusPathSelectorReason { 1470 return PlanAssignmentRequest_StatusPathSelectorReason{} 1471 } 1472 1473 type PlanAssignmentRequest_StatusPathSelectorConclusion struct{} 1474 1475 func (PlanAssignmentRequest_StatusPathSelectorConclusion) FieldPath() *PlanAssignmentRequestStatus_FieldTerminalPath { 1476 return &PlanAssignmentRequestStatus_FieldTerminalPath{selector: PlanAssignmentRequestStatus_FieldPathSelectorConclusion} 1477 } 1478 1479 func (s PlanAssignmentRequest_StatusPathSelectorConclusion) WithValue(value PlanAssignmentRequest_Status_Conclusion) *PlanAssignmentRequestStatus_FieldTerminalPathValue { 1480 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestStatus_FieldTerminalPathValue) 1481 } 1482 1483 func (s PlanAssignmentRequest_StatusPathSelectorConclusion) WithArrayOfValues(values []PlanAssignmentRequest_Status_Conclusion) *PlanAssignmentRequestStatus_FieldTerminalPathArrayOfValues { 1484 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestStatus_FieldTerminalPathArrayOfValues) 1485 } 1486 1487 type PlanAssignmentRequest_StatusPathSelectorReason struct{} 1488 1489 func (PlanAssignmentRequest_StatusPathSelectorReason) FieldPath() *PlanAssignmentRequestStatus_FieldTerminalPath { 1490 return &PlanAssignmentRequestStatus_FieldTerminalPath{selector: PlanAssignmentRequestStatus_FieldPathSelectorReason} 1491 } 1492 1493 func (s PlanAssignmentRequest_StatusPathSelectorReason) WithValue(value string) *PlanAssignmentRequestStatus_FieldTerminalPathValue { 1494 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestStatus_FieldTerminalPathValue) 1495 } 1496 1497 func (s PlanAssignmentRequest_StatusPathSelectorReason) WithArrayOfValues(values []string) *PlanAssignmentRequestStatus_FieldTerminalPathArrayOfValues { 1498 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestStatus_FieldTerminalPathArrayOfValues) 1499 } 1500 1501 type PlanAssignmentRequestRequestTypeFieldPathBuilder struct{} 1502 1503 func NewPlanAssignmentRequestRequestTypeFieldPathBuilder() PlanAssignmentRequestRequestTypeFieldPathBuilder { 1504 return PlanAssignmentRequestRequestTypeFieldPathBuilder{} 1505 } 1506 func (PlanAssignmentRequestRequestTypeFieldPathBuilder) Assign() PlanAssignmentRequest_RequestTypePathSelectorAssign { 1507 return PlanAssignmentRequest_RequestTypePathSelectorAssign{} 1508 } 1509 func (PlanAssignmentRequestRequestTypeFieldPathBuilder) Extend() PlanAssignmentRequest_RequestTypePathSelectorExtend { 1510 return PlanAssignmentRequest_RequestTypePathSelectorExtend{} 1511 } 1512 func (PlanAssignmentRequestRequestTypeFieldPathBuilder) Redistribute() PlanAssignmentRequest_RequestTypePathSelectorRedistribute { 1513 return PlanAssignmentRequest_RequestTypePathSelectorRedistribute{} 1514 } 1515 func (PlanAssignmentRequestRequestTypeFieldPathBuilder) Unassign() PlanAssignmentRequest_RequestTypePathSelectorUnassign { 1516 return PlanAssignmentRequest_RequestTypePathSelectorUnassign{} 1517 } 1518 1519 type PlanAssignmentRequest_RequestTypePathSelectorAssign struct{} 1520 1521 func (PlanAssignmentRequest_RequestTypePathSelectorAssign) FieldPath() *PlanAssignmentRequestRequestType_FieldTerminalPath { 1522 return &PlanAssignmentRequestRequestType_FieldTerminalPath{selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign} 1523 } 1524 1525 func (s PlanAssignmentRequest_RequestTypePathSelectorAssign) WithValue(value *PlanAssignmentRequest_RequestType_Assign) *PlanAssignmentRequestRequestType_FieldTerminalPathValue { 1526 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldTerminalPathValue) 1527 } 1528 1529 func (s PlanAssignmentRequest_RequestTypePathSelectorAssign) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType_Assign) *PlanAssignmentRequestRequestType_FieldTerminalPathArrayOfValues { 1530 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldTerminalPathArrayOfValues) 1531 } 1532 1533 func (PlanAssignmentRequest_RequestTypePathSelectorAssign) WithSubPath(subPath PlanAssignmentRequestRequestTypeAssign_FieldPath) *PlanAssignmentRequestRequestType_FieldSubPath { 1534 return &PlanAssignmentRequestRequestType_FieldSubPath{selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, subPath: subPath} 1535 } 1536 1537 func (s PlanAssignmentRequest_RequestTypePathSelectorAssign) WithSubValue(subPathValue PlanAssignmentRequestRequestTypeAssign_FieldPathValue) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1538 return &PlanAssignmentRequestRequestType_FieldSubPathValue{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1539 } 1540 1541 func (s PlanAssignmentRequest_RequestTypePathSelectorAssign) WithSubArrayOfValues(subPathArrayOfValues PlanAssignmentRequestRequestTypeAssign_FieldPathArrayOfValues) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1542 return &PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1543 } 1544 1545 func (s PlanAssignmentRequest_RequestTypePathSelectorAssign) WithSubArrayItemValue(subPathArrayItemValue PlanAssignmentRequestRequestTypeAssign_FieldPathArrayItemValue) *PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue { 1546 return &PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1547 } 1548 1549 func (PlanAssignmentRequest_RequestTypePathSelectorAssign) Plan() PlanAssignmentRequest_RequestTypePathSelectorAssignPlan { 1550 return PlanAssignmentRequest_RequestTypePathSelectorAssignPlan{} 1551 } 1552 1553 func (PlanAssignmentRequest_RequestTypePathSelectorAssign) Extensions() PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions { 1554 return PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions{} 1555 } 1556 1557 func (PlanAssignmentRequest_RequestTypePathSelectorAssign) RegionalDistributions() PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributions { 1558 return PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributions{} 1559 } 1560 1561 type PlanAssignmentRequest_RequestTypePathSelectorAssignPlan struct{} 1562 1563 func (PlanAssignmentRequest_RequestTypePathSelectorAssignPlan) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1564 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1565 selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, 1566 subPath: NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder().Plan().FieldPath(), 1567 } 1568 } 1569 1570 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignPlan) WithValue(value *plan.Reference) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1571 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1572 } 1573 1574 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignPlan) WithArrayOfValues(values []*plan.Reference) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1575 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1576 } 1577 1578 type PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions struct{} 1579 1580 func (PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1581 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1582 selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, 1583 subPath: NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder().Extensions().FieldPath(), 1584 } 1585 } 1586 1587 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions) WithValue(value []*common.Allowance) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1588 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1589 } 1590 1591 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions) WithArrayOfValues(values [][]*common.Allowance) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1592 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1593 } 1594 1595 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions) WithItemValue(value *common.Allowance) *PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue { 1596 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue) 1597 } 1598 1599 func (PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions) Resource() PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsResource { 1600 return PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsResource{} 1601 } 1602 1603 func (PlanAssignmentRequest_RequestTypePathSelectorAssignExtensions) Value() PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsValue { 1604 return PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsValue{} 1605 } 1606 1607 type PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsResource struct{} 1608 1609 func (PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsResource) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1610 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1611 selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, 1612 subPath: NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder().Extensions().Resource().FieldPath(), 1613 } 1614 } 1615 1616 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1617 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1618 } 1619 1620 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1621 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1622 } 1623 1624 type PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsValue struct{} 1625 1626 func (PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsValue) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1627 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1628 selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, 1629 subPath: NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder().Extensions().Value().FieldPath(), 1630 } 1631 } 1632 1633 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsValue) WithValue(value int64) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1634 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1635 } 1636 1637 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignExtensionsValue) WithArrayOfValues(values []int64) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1638 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1639 } 1640 1641 type PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributions struct{} 1642 1643 func (PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributions) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1644 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1645 selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, 1646 subPath: NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder().RegionalDistributions().FieldPath(), 1647 } 1648 } 1649 1650 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributions) WithValue(value []*common.RegionalDistribution) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1651 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1652 } 1653 1654 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributions) WithArrayOfValues(values [][]*common.RegionalDistribution) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1655 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1656 } 1657 1658 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributions) WithItemValue(value *common.RegionalDistribution) *PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue { 1659 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue) 1660 } 1661 1662 func (PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributions) Resource() PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributionsResource { 1663 return PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributionsResource{} 1664 } 1665 1666 func (PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributions) LimitsByRegion() PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributionsLimitsByRegion { 1667 return PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributionsLimitsByRegion{} 1668 } 1669 1670 type PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributionsResource struct{} 1671 1672 func (PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributionsResource) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1673 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1674 selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, 1675 subPath: NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder().RegionalDistributions().Resource().FieldPath(), 1676 } 1677 } 1678 1679 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1680 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1681 } 1682 1683 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1684 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1685 } 1686 1687 type PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributionsLimitsByRegion struct{} 1688 1689 func (PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1690 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1691 selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, 1692 subPath: NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder().RegionalDistributions().LimitsByRegion().FieldPath(), 1693 } 1694 } 1695 1696 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributionsLimitsByRegion) WithValue(value map[string]int64) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1697 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1698 } 1699 1700 func (s PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []map[string]int64) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1701 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1702 } 1703 1704 func (PlanAssignmentRequest_RequestTypePathSelectorAssignRegionalDistributionsLimitsByRegion) WithKey(key string) PlanAssignmentRequest_RequestTypeMapPathSelectorAssignRegionalDistributionsLimitsByRegion { 1705 return PlanAssignmentRequest_RequestTypeMapPathSelectorAssignRegionalDistributionsLimitsByRegion{key: key} 1706 } 1707 1708 type PlanAssignmentRequest_RequestTypeMapPathSelectorAssignRegionalDistributionsLimitsByRegion struct { 1709 key string 1710 } 1711 1712 func (s PlanAssignmentRequest_RequestTypeMapPathSelectorAssignRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1713 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1714 selector: PlanAssignmentRequestRequestType_FieldPathSelectorAssign, 1715 subPath: NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder().RegionalDistributions().LimitsByRegion().WithKey(s.key).FieldPath(), 1716 } 1717 } 1718 1719 func (s PlanAssignmentRequest_RequestTypeMapPathSelectorAssignRegionalDistributionsLimitsByRegion) WithValue(value int64) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1720 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1721 } 1722 1723 func (s PlanAssignmentRequest_RequestTypeMapPathSelectorAssignRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []int64) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1724 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1725 } 1726 1727 type PlanAssignmentRequest_RequestTypePathSelectorExtend struct{} 1728 1729 func (PlanAssignmentRequest_RequestTypePathSelectorExtend) FieldPath() *PlanAssignmentRequestRequestType_FieldTerminalPath { 1730 return &PlanAssignmentRequestRequestType_FieldTerminalPath{selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend} 1731 } 1732 1733 func (s PlanAssignmentRequest_RequestTypePathSelectorExtend) WithValue(value *PlanAssignmentRequest_RequestType_Extend) *PlanAssignmentRequestRequestType_FieldTerminalPathValue { 1734 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldTerminalPathValue) 1735 } 1736 1737 func (s PlanAssignmentRequest_RequestTypePathSelectorExtend) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType_Extend) *PlanAssignmentRequestRequestType_FieldTerminalPathArrayOfValues { 1738 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldTerminalPathArrayOfValues) 1739 } 1740 1741 func (PlanAssignmentRequest_RequestTypePathSelectorExtend) WithSubPath(subPath PlanAssignmentRequestRequestTypeExtend_FieldPath) *PlanAssignmentRequestRequestType_FieldSubPath { 1742 return &PlanAssignmentRequestRequestType_FieldSubPath{selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, subPath: subPath} 1743 } 1744 1745 func (s PlanAssignmentRequest_RequestTypePathSelectorExtend) WithSubValue(subPathValue PlanAssignmentRequestRequestTypeExtend_FieldPathValue) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1746 return &PlanAssignmentRequestRequestType_FieldSubPathValue{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1747 } 1748 1749 func (s PlanAssignmentRequest_RequestTypePathSelectorExtend) WithSubArrayOfValues(subPathArrayOfValues PlanAssignmentRequestRequestTypeExtend_FieldPathArrayOfValues) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1750 return &PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1751 } 1752 1753 func (s PlanAssignmentRequest_RequestTypePathSelectorExtend) WithSubArrayItemValue(subPathArrayItemValue PlanAssignmentRequestRequestTypeExtend_FieldPathArrayItemValue) *PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue { 1754 return &PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1755 } 1756 1757 func (PlanAssignmentRequest_RequestTypePathSelectorExtend) Assignment() PlanAssignmentRequest_RequestTypePathSelectorExtendAssignment { 1758 return PlanAssignmentRequest_RequestTypePathSelectorExtendAssignment{} 1759 } 1760 1761 func (PlanAssignmentRequest_RequestTypePathSelectorExtend) Additions() PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions { 1762 return PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions{} 1763 } 1764 1765 func (PlanAssignmentRequest_RequestTypePathSelectorExtend) RegionalDistributions() PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributions { 1766 return PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributions{} 1767 } 1768 1769 type PlanAssignmentRequest_RequestTypePathSelectorExtendAssignment struct{} 1770 1771 func (PlanAssignmentRequest_RequestTypePathSelectorExtendAssignment) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1772 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1773 selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, 1774 subPath: NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder().Assignment().FieldPath(), 1775 } 1776 } 1777 1778 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1779 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1780 } 1781 1782 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1783 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1784 } 1785 1786 type PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions struct{} 1787 1788 func (PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1789 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1790 selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, 1791 subPath: NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder().Additions().FieldPath(), 1792 } 1793 } 1794 1795 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions) WithValue(value []*common.Allowance) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1796 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1797 } 1798 1799 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions) WithArrayOfValues(values [][]*common.Allowance) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1800 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1801 } 1802 1803 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions) WithItemValue(value *common.Allowance) *PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue { 1804 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue) 1805 } 1806 1807 func (PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions) Resource() PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsResource { 1808 return PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsResource{} 1809 } 1810 1811 func (PlanAssignmentRequest_RequestTypePathSelectorExtendAdditions) Value() PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsValue { 1812 return PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsValue{} 1813 } 1814 1815 type PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsResource struct{} 1816 1817 func (PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsResource) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1818 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1819 selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, 1820 subPath: NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder().Additions().Resource().FieldPath(), 1821 } 1822 } 1823 1824 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1825 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1826 } 1827 1828 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1829 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1830 } 1831 1832 type PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsValue struct{} 1833 1834 func (PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsValue) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1835 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1836 selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, 1837 subPath: NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder().Additions().Value().FieldPath(), 1838 } 1839 } 1840 1841 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsValue) WithValue(value int64) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1842 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1843 } 1844 1845 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendAdditionsValue) WithArrayOfValues(values []int64) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1846 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1847 } 1848 1849 type PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributions struct{} 1850 1851 func (PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributions) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1852 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1853 selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, 1854 subPath: NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder().RegionalDistributions().FieldPath(), 1855 } 1856 } 1857 1858 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributions) WithValue(value []*common.RegionalDistribution) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1859 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1860 } 1861 1862 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributions) WithArrayOfValues(values [][]*common.RegionalDistribution) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1863 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1864 } 1865 1866 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributions) WithItemValue(value *common.RegionalDistribution) *PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue { 1867 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue) 1868 } 1869 1870 func (PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributions) Resource() PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributionsResource { 1871 return PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributionsResource{} 1872 } 1873 1874 func (PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributions) LimitsByRegion() PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributionsLimitsByRegion { 1875 return PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributionsLimitsByRegion{} 1876 } 1877 1878 type PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributionsResource struct{} 1879 1880 func (PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributionsResource) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1881 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1882 selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, 1883 subPath: NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder().RegionalDistributions().Resource().FieldPath(), 1884 } 1885 } 1886 1887 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1888 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1889 } 1890 1891 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1892 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1893 } 1894 1895 type PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributionsLimitsByRegion struct{} 1896 1897 func (PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1898 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1899 selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, 1900 subPath: NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder().RegionalDistributions().LimitsByRegion().FieldPath(), 1901 } 1902 } 1903 1904 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributionsLimitsByRegion) WithValue(value map[string]int64) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1905 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1906 } 1907 1908 func (s PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []map[string]int64) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1909 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1910 } 1911 1912 func (PlanAssignmentRequest_RequestTypePathSelectorExtendRegionalDistributionsLimitsByRegion) WithKey(key string) PlanAssignmentRequest_RequestTypeMapPathSelectorExtendRegionalDistributionsLimitsByRegion { 1913 return PlanAssignmentRequest_RequestTypeMapPathSelectorExtendRegionalDistributionsLimitsByRegion{key: key} 1914 } 1915 1916 type PlanAssignmentRequest_RequestTypeMapPathSelectorExtendRegionalDistributionsLimitsByRegion struct { 1917 key string 1918 } 1919 1920 func (s PlanAssignmentRequest_RequestTypeMapPathSelectorExtendRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1921 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1922 selector: PlanAssignmentRequestRequestType_FieldPathSelectorExtend, 1923 subPath: NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder().RegionalDistributions().LimitsByRegion().WithKey(s.key).FieldPath(), 1924 } 1925 } 1926 1927 func (s PlanAssignmentRequest_RequestTypeMapPathSelectorExtendRegionalDistributionsLimitsByRegion) WithValue(value int64) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1928 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1929 } 1930 1931 func (s PlanAssignmentRequest_RequestTypeMapPathSelectorExtendRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []int64) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1932 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1933 } 1934 1935 type PlanAssignmentRequest_RequestTypePathSelectorRedistribute struct{} 1936 1937 func (PlanAssignmentRequest_RequestTypePathSelectorRedistribute) FieldPath() *PlanAssignmentRequestRequestType_FieldTerminalPath { 1938 return &PlanAssignmentRequestRequestType_FieldTerminalPath{selector: PlanAssignmentRequestRequestType_FieldPathSelectorRedistribute} 1939 } 1940 1941 func (s PlanAssignmentRequest_RequestTypePathSelectorRedistribute) WithValue(value *PlanAssignmentRequest_RequestType_Redistribute) *PlanAssignmentRequestRequestType_FieldTerminalPathValue { 1942 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldTerminalPathValue) 1943 } 1944 1945 func (s PlanAssignmentRequest_RequestTypePathSelectorRedistribute) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType_Redistribute) *PlanAssignmentRequestRequestType_FieldTerminalPathArrayOfValues { 1946 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldTerminalPathArrayOfValues) 1947 } 1948 1949 func (PlanAssignmentRequest_RequestTypePathSelectorRedistribute) WithSubPath(subPath PlanAssignmentRequestRequestTypeRedistribute_FieldPath) *PlanAssignmentRequestRequestType_FieldSubPath { 1950 return &PlanAssignmentRequestRequestType_FieldSubPath{selector: PlanAssignmentRequestRequestType_FieldPathSelectorRedistribute, subPath: subPath} 1951 } 1952 1953 func (s PlanAssignmentRequest_RequestTypePathSelectorRedistribute) WithSubValue(subPathValue PlanAssignmentRequestRequestTypeRedistribute_FieldPathValue) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1954 return &PlanAssignmentRequestRequestType_FieldSubPathValue{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1955 } 1956 1957 func (s PlanAssignmentRequest_RequestTypePathSelectorRedistribute) WithSubArrayOfValues(subPathArrayOfValues PlanAssignmentRequestRequestTypeRedistribute_FieldPathArrayOfValues) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1958 return &PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1959 } 1960 1961 func (s PlanAssignmentRequest_RequestTypePathSelectorRedistribute) WithSubArrayItemValue(subPathArrayItemValue PlanAssignmentRequestRequestTypeRedistribute_FieldPathArrayItemValue) *PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue { 1962 return &PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1963 } 1964 1965 func (PlanAssignmentRequest_RequestTypePathSelectorRedistribute) Assignment() PlanAssignmentRequest_RequestTypePathSelectorRedistributeAssignment { 1966 return PlanAssignmentRequest_RequestTypePathSelectorRedistributeAssignment{} 1967 } 1968 1969 func (PlanAssignmentRequest_RequestTypePathSelectorRedistribute) RegionalDistributions() PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributions { 1970 return PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributions{} 1971 } 1972 1973 type PlanAssignmentRequest_RequestTypePathSelectorRedistributeAssignment struct{} 1974 1975 func (PlanAssignmentRequest_RequestTypePathSelectorRedistributeAssignment) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1976 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1977 selector: PlanAssignmentRequestRequestType_FieldPathSelectorRedistribute, 1978 subPath: NewPlanAssignmentRequestRequestTypeRedistributeFieldPathBuilder().Assignment().FieldPath(), 1979 } 1980 } 1981 1982 func (s PlanAssignmentRequest_RequestTypePathSelectorRedistributeAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequestRequestType_FieldSubPathValue { 1983 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 1984 } 1985 1986 func (s PlanAssignmentRequest_RequestTypePathSelectorRedistributeAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 1987 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 1988 } 1989 1990 type PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributions struct{} 1991 1992 func (PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributions) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 1993 return &PlanAssignmentRequestRequestType_FieldSubPath{ 1994 selector: PlanAssignmentRequestRequestType_FieldPathSelectorRedistribute, 1995 subPath: NewPlanAssignmentRequestRequestTypeRedistributeFieldPathBuilder().RegionalDistributions().FieldPath(), 1996 } 1997 } 1998 1999 func (s PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributions) WithValue(value []*common.RegionalDistribution) *PlanAssignmentRequestRequestType_FieldSubPathValue { 2000 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 2001 } 2002 2003 func (s PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributions) WithArrayOfValues(values [][]*common.RegionalDistribution) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 2004 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 2005 } 2006 2007 func (s PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributions) WithItemValue(value *common.RegionalDistribution) *PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue { 2008 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue) 2009 } 2010 2011 func (PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributions) Resource() PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributionsResource { 2012 return PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributionsResource{} 2013 } 2014 2015 func (PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributions) LimitsByRegion() PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributionsLimitsByRegion { 2016 return PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributionsLimitsByRegion{} 2017 } 2018 2019 type PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributionsResource struct{} 2020 2021 func (PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributionsResource) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 2022 return &PlanAssignmentRequestRequestType_FieldSubPath{ 2023 selector: PlanAssignmentRequestRequestType_FieldPathSelectorRedistribute, 2024 subPath: NewPlanAssignmentRequestRequestTypeRedistributeFieldPathBuilder().RegionalDistributions().Resource().FieldPath(), 2025 } 2026 } 2027 2028 func (s PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequestRequestType_FieldSubPathValue { 2029 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 2030 } 2031 2032 func (s PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 2033 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 2034 } 2035 2036 type PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributionsLimitsByRegion struct{} 2037 2038 func (PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 2039 return &PlanAssignmentRequestRequestType_FieldSubPath{ 2040 selector: PlanAssignmentRequestRequestType_FieldPathSelectorRedistribute, 2041 subPath: NewPlanAssignmentRequestRequestTypeRedistributeFieldPathBuilder().RegionalDistributions().LimitsByRegion().FieldPath(), 2042 } 2043 } 2044 2045 func (s PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributionsLimitsByRegion) WithValue(value map[string]int64) *PlanAssignmentRequestRequestType_FieldSubPathValue { 2046 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 2047 } 2048 2049 func (s PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []map[string]int64) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 2050 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 2051 } 2052 2053 func (PlanAssignmentRequest_RequestTypePathSelectorRedistributeRegionalDistributionsLimitsByRegion) WithKey(key string) PlanAssignmentRequest_RequestTypeMapPathSelectorRedistributeRegionalDistributionsLimitsByRegion { 2054 return PlanAssignmentRequest_RequestTypeMapPathSelectorRedistributeRegionalDistributionsLimitsByRegion{key: key} 2055 } 2056 2057 type PlanAssignmentRequest_RequestTypeMapPathSelectorRedistributeRegionalDistributionsLimitsByRegion struct { 2058 key string 2059 } 2060 2061 func (s PlanAssignmentRequest_RequestTypeMapPathSelectorRedistributeRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 2062 return &PlanAssignmentRequestRequestType_FieldSubPath{ 2063 selector: PlanAssignmentRequestRequestType_FieldPathSelectorRedistribute, 2064 subPath: NewPlanAssignmentRequestRequestTypeRedistributeFieldPathBuilder().RegionalDistributions().LimitsByRegion().WithKey(s.key).FieldPath(), 2065 } 2066 } 2067 2068 func (s PlanAssignmentRequest_RequestTypeMapPathSelectorRedistributeRegionalDistributionsLimitsByRegion) WithValue(value int64) *PlanAssignmentRequestRequestType_FieldSubPathValue { 2069 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 2070 } 2071 2072 func (s PlanAssignmentRequest_RequestTypeMapPathSelectorRedistributeRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []int64) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 2073 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 2074 } 2075 2076 type PlanAssignmentRequest_RequestTypePathSelectorUnassign struct{} 2077 2078 func (PlanAssignmentRequest_RequestTypePathSelectorUnassign) FieldPath() *PlanAssignmentRequestRequestType_FieldTerminalPath { 2079 return &PlanAssignmentRequestRequestType_FieldTerminalPath{selector: PlanAssignmentRequestRequestType_FieldPathSelectorUnassign} 2080 } 2081 2082 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassign) WithValue(value *PlanAssignmentRequest_RequestType_Unassign) *PlanAssignmentRequestRequestType_FieldTerminalPathValue { 2083 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldTerminalPathValue) 2084 } 2085 2086 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassign) WithArrayOfValues(values []*PlanAssignmentRequest_RequestType_Unassign) *PlanAssignmentRequestRequestType_FieldTerminalPathArrayOfValues { 2087 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldTerminalPathArrayOfValues) 2088 } 2089 2090 func (PlanAssignmentRequest_RequestTypePathSelectorUnassign) WithSubPath(subPath PlanAssignmentRequestRequestTypeUnassign_FieldPath) *PlanAssignmentRequestRequestType_FieldSubPath { 2091 return &PlanAssignmentRequestRequestType_FieldSubPath{selector: PlanAssignmentRequestRequestType_FieldPathSelectorUnassign, subPath: subPath} 2092 } 2093 2094 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassign) WithSubValue(subPathValue PlanAssignmentRequestRequestTypeUnassign_FieldPathValue) *PlanAssignmentRequestRequestType_FieldSubPathValue { 2095 return &PlanAssignmentRequestRequestType_FieldSubPathValue{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2096 } 2097 2098 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassign) WithSubArrayOfValues(subPathArrayOfValues PlanAssignmentRequestRequestTypeUnassign_FieldPathArrayOfValues) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 2099 return &PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2100 } 2101 2102 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassign) WithSubArrayItemValue(subPathArrayItemValue PlanAssignmentRequestRequestTypeUnassign_FieldPathArrayItemValue) *PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue { 2103 return &PlanAssignmentRequestRequestType_FieldSubPathArrayItemValue{PlanAssignmentRequestRequestType_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2104 } 2105 2106 func (PlanAssignmentRequest_RequestTypePathSelectorUnassign) Assignment() PlanAssignmentRequest_RequestTypePathSelectorUnassignAssignment { 2107 return PlanAssignmentRequest_RequestTypePathSelectorUnassignAssignment{} 2108 } 2109 2110 type PlanAssignmentRequest_RequestTypePathSelectorUnassignAssignment struct{} 2111 2112 func (PlanAssignmentRequest_RequestTypePathSelectorUnassignAssignment) FieldPath() *PlanAssignmentRequestRequestType_FieldSubPath { 2113 return &PlanAssignmentRequestRequestType_FieldSubPath{ 2114 selector: PlanAssignmentRequestRequestType_FieldPathSelectorUnassign, 2115 subPath: NewPlanAssignmentRequestRequestTypeUnassignFieldPathBuilder().Assignment().FieldPath(), 2116 } 2117 } 2118 2119 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassignAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequestRequestType_FieldSubPathValue { 2120 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestType_FieldSubPathValue) 2121 } 2122 2123 func (s PlanAssignmentRequest_RequestTypePathSelectorUnassignAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues { 2124 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestType_FieldSubPathArrayOfValues) 2125 } 2126 2127 type PlanAssignmentRequestRequestTypeAssignFieldPathBuilder struct{} 2128 2129 func NewPlanAssignmentRequestRequestTypeAssignFieldPathBuilder() PlanAssignmentRequestRequestTypeAssignFieldPathBuilder { 2130 return PlanAssignmentRequestRequestTypeAssignFieldPathBuilder{} 2131 } 2132 func (PlanAssignmentRequestRequestTypeAssignFieldPathBuilder) Plan() PlanAssignmentRequest_RequestType_AssignPathSelectorPlan { 2133 return PlanAssignmentRequest_RequestType_AssignPathSelectorPlan{} 2134 } 2135 func (PlanAssignmentRequestRequestTypeAssignFieldPathBuilder) Extensions() PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions { 2136 return PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions{} 2137 } 2138 func (PlanAssignmentRequestRequestTypeAssignFieldPathBuilder) RegionalDistributions() PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributions { 2139 return PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributions{} 2140 } 2141 2142 type PlanAssignmentRequest_RequestType_AssignPathSelectorPlan struct{} 2143 2144 func (PlanAssignmentRequest_RequestType_AssignPathSelectorPlan) FieldPath() *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPath { 2145 return &PlanAssignmentRequestRequestTypeAssign_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorPlan} 2146 } 2147 2148 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorPlan) WithValue(value *plan.Reference) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathValue { 2149 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathValue) 2150 } 2151 2152 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorPlan) WithArrayOfValues(values []*plan.Reference) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayOfValues { 2153 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayOfValues) 2154 } 2155 2156 type PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions struct{} 2157 2158 func (PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) FieldPath() *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPath { 2159 return &PlanAssignmentRequestRequestTypeAssign_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorExtensions} 2160 } 2161 2162 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) WithValue(value []*common.Allowance) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathValue { 2163 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathValue) 2164 } 2165 2166 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) WithArrayOfValues(values [][]*common.Allowance) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayOfValues { 2167 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayOfValues) 2168 } 2169 2170 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) WithItemValue(value *common.Allowance) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayItemValue { 2171 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayItemValue) 2172 } 2173 func (PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) WithSubPath(subPath common.Allowance_FieldPath) *PlanAssignmentRequestRequestTypeAssign_FieldSubPath { 2174 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPath{selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorExtensions, subPath: subPath} 2175 } 2176 2177 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) WithSubValue(subPathValue common.Allowance_FieldPathValue) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue { 2178 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue{PlanAssignmentRequestRequestTypeAssign_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2179 } 2180 2181 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) WithSubArrayOfValues(subPathArrayOfValues common.Allowance_FieldPathArrayOfValues) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues { 2182 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues{PlanAssignmentRequestRequestTypeAssign_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2183 } 2184 2185 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) WithSubArrayItemValue(subPathArrayItemValue common.Allowance_FieldPathArrayItemValue) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayItemValue { 2186 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayItemValue{PlanAssignmentRequestRequestTypeAssign_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2187 } 2188 2189 func (PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) Resource() PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsResource { 2190 return PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsResource{} 2191 } 2192 2193 func (PlanAssignmentRequest_RequestType_AssignPathSelectorExtensions) Value() PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsValue { 2194 return PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsValue{} 2195 } 2196 2197 type PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsResource struct{} 2198 2199 func (PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsResource) FieldPath() *PlanAssignmentRequestRequestTypeAssign_FieldSubPath { 2200 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPath{ 2201 selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorExtensions, 2202 subPath: common.NewAllowanceFieldPathBuilder().Resource().FieldPath(), 2203 } 2204 } 2205 2206 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue { 2207 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue) 2208 } 2209 2210 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues { 2211 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues) 2212 } 2213 2214 type PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsValue struct{} 2215 2216 func (PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsValue) FieldPath() *PlanAssignmentRequestRequestTypeAssign_FieldSubPath { 2217 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPath{ 2218 selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorExtensions, 2219 subPath: common.NewAllowanceFieldPathBuilder().Value().FieldPath(), 2220 } 2221 } 2222 2223 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsValue) WithValue(value int64) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue { 2224 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue) 2225 } 2226 2227 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorExtensionsValue) WithArrayOfValues(values []int64) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues { 2228 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues) 2229 } 2230 2231 type PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributions struct{} 2232 2233 func (PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributions) FieldPath() *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPath { 2234 return &PlanAssignmentRequestRequestTypeAssign_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorRegionalDistributions} 2235 } 2236 2237 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributions) WithValue(value []*common.RegionalDistribution) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathValue { 2238 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathValue) 2239 } 2240 2241 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributions) WithArrayOfValues(values [][]*common.RegionalDistribution) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayOfValues { 2242 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayOfValues) 2243 } 2244 2245 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributions) WithItemValue(value *common.RegionalDistribution) *PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayItemValue { 2246 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldTerminalPathArrayItemValue) 2247 } 2248 func (PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributions) WithSubPath(subPath common.RegionalDistribution_FieldPath) *PlanAssignmentRequestRequestTypeAssign_FieldSubPath { 2249 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPath{selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorRegionalDistributions, subPath: subPath} 2250 } 2251 2252 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributions) WithSubValue(subPathValue common.RegionalDistribution_FieldPathValue) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue { 2253 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue{PlanAssignmentRequestRequestTypeAssign_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2254 } 2255 2256 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributions) WithSubArrayOfValues(subPathArrayOfValues common.RegionalDistribution_FieldPathArrayOfValues) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues { 2257 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues{PlanAssignmentRequestRequestTypeAssign_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2258 } 2259 2260 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributions) WithSubArrayItemValue(subPathArrayItemValue common.RegionalDistribution_FieldPathArrayItemValue) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayItemValue { 2261 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayItemValue{PlanAssignmentRequestRequestTypeAssign_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2262 } 2263 2264 func (PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributions) Resource() PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributionsResource { 2265 return PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributionsResource{} 2266 } 2267 2268 func (PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributions) LimitsByRegion() PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributionsLimitsByRegion { 2269 return PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributionsLimitsByRegion{} 2270 } 2271 2272 type PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributionsResource struct{} 2273 2274 func (PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributionsResource) FieldPath() *PlanAssignmentRequestRequestTypeAssign_FieldSubPath { 2275 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPath{ 2276 selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorRegionalDistributions, 2277 subPath: common.NewRegionalDistributionFieldPathBuilder().Resource().FieldPath(), 2278 } 2279 } 2280 2281 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue { 2282 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue) 2283 } 2284 2285 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues { 2286 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues) 2287 } 2288 2289 type PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributionsLimitsByRegion struct{} 2290 2291 func (PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequestRequestTypeAssign_FieldSubPath { 2292 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPath{ 2293 selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorRegionalDistributions, 2294 subPath: common.NewRegionalDistributionFieldPathBuilder().LimitsByRegion().FieldPath(), 2295 } 2296 } 2297 2298 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributionsLimitsByRegion) WithValue(value map[string]int64) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue { 2299 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue) 2300 } 2301 2302 func (s PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []map[string]int64) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues { 2303 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues) 2304 } 2305 2306 func (PlanAssignmentRequest_RequestType_AssignPathSelectorRegionalDistributionsLimitsByRegion) WithKey(key string) PlanAssignmentRequest_RequestType_AssignMapPathSelectorRegionalDistributionsLimitsByRegion { 2307 return PlanAssignmentRequest_RequestType_AssignMapPathSelectorRegionalDistributionsLimitsByRegion{key: key} 2308 } 2309 2310 type PlanAssignmentRequest_RequestType_AssignMapPathSelectorRegionalDistributionsLimitsByRegion struct { 2311 key string 2312 } 2313 2314 func (s PlanAssignmentRequest_RequestType_AssignMapPathSelectorRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequestRequestTypeAssign_FieldSubPath { 2315 return &PlanAssignmentRequestRequestTypeAssign_FieldSubPath{ 2316 selector: PlanAssignmentRequestRequestTypeAssign_FieldPathSelectorRegionalDistributions, 2317 subPath: common.NewRegionalDistributionFieldPathBuilder().LimitsByRegion().WithKey(s.key).FieldPath(), 2318 } 2319 } 2320 2321 func (s PlanAssignmentRequest_RequestType_AssignMapPathSelectorRegionalDistributionsLimitsByRegion) WithValue(value int64) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue { 2322 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathValue) 2323 } 2324 2325 func (s PlanAssignmentRequest_RequestType_AssignMapPathSelectorRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []int64) *PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues { 2326 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeAssign_FieldSubPathArrayOfValues) 2327 } 2328 2329 type PlanAssignmentRequestRequestTypeExtendFieldPathBuilder struct{} 2330 2331 func NewPlanAssignmentRequestRequestTypeExtendFieldPathBuilder() PlanAssignmentRequestRequestTypeExtendFieldPathBuilder { 2332 return PlanAssignmentRequestRequestTypeExtendFieldPathBuilder{} 2333 } 2334 func (PlanAssignmentRequestRequestTypeExtendFieldPathBuilder) Assignment() PlanAssignmentRequest_RequestType_ExtendPathSelectorAssignment { 2335 return PlanAssignmentRequest_RequestType_ExtendPathSelectorAssignment{} 2336 } 2337 func (PlanAssignmentRequestRequestTypeExtendFieldPathBuilder) Additions() PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions { 2338 return PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions{} 2339 } 2340 func (PlanAssignmentRequestRequestTypeExtendFieldPathBuilder) RegionalDistributions() PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributions { 2341 return PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributions{} 2342 } 2343 2344 type PlanAssignmentRequest_RequestType_ExtendPathSelectorAssignment struct{} 2345 2346 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAssignment) FieldPath() *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPath { 2347 return &PlanAssignmentRequestRequestTypeExtend_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorAssignment} 2348 } 2349 2350 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathValue { 2351 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathValue) 2352 } 2353 2354 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayOfValues { 2355 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayOfValues) 2356 } 2357 2358 type PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions struct{} 2359 2360 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) FieldPath() *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPath { 2361 return &PlanAssignmentRequestRequestTypeExtend_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorAdditions} 2362 } 2363 2364 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) WithValue(value []*common.Allowance) *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathValue { 2365 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathValue) 2366 } 2367 2368 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) WithArrayOfValues(values [][]*common.Allowance) *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayOfValues { 2369 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayOfValues) 2370 } 2371 2372 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) WithItemValue(value *common.Allowance) *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayItemValue { 2373 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayItemValue) 2374 } 2375 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) WithSubPath(subPath common.Allowance_FieldPath) *PlanAssignmentRequestRequestTypeExtend_FieldSubPath { 2376 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPath{selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorAdditions, subPath: subPath} 2377 } 2378 2379 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) WithSubValue(subPathValue common.Allowance_FieldPathValue) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue { 2380 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue{PlanAssignmentRequestRequestTypeExtend_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2381 } 2382 2383 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) WithSubArrayOfValues(subPathArrayOfValues common.Allowance_FieldPathArrayOfValues) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues { 2384 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues{PlanAssignmentRequestRequestTypeExtend_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2385 } 2386 2387 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) WithSubArrayItemValue(subPathArrayItemValue common.Allowance_FieldPathArrayItemValue) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayItemValue { 2388 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayItemValue{PlanAssignmentRequestRequestTypeExtend_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2389 } 2390 2391 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) Resource() PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsResource { 2392 return PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsResource{} 2393 } 2394 2395 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditions) Value() PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsValue { 2396 return PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsValue{} 2397 } 2398 2399 type PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsResource struct{} 2400 2401 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsResource) FieldPath() *PlanAssignmentRequestRequestTypeExtend_FieldSubPath { 2402 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPath{ 2403 selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorAdditions, 2404 subPath: common.NewAllowanceFieldPathBuilder().Resource().FieldPath(), 2405 } 2406 } 2407 2408 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue { 2409 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue) 2410 } 2411 2412 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues { 2413 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues) 2414 } 2415 2416 type PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsValue struct{} 2417 2418 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsValue) FieldPath() *PlanAssignmentRequestRequestTypeExtend_FieldSubPath { 2419 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPath{ 2420 selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorAdditions, 2421 subPath: common.NewAllowanceFieldPathBuilder().Value().FieldPath(), 2422 } 2423 } 2424 2425 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsValue) WithValue(value int64) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue { 2426 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue) 2427 } 2428 2429 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorAdditionsValue) WithArrayOfValues(values []int64) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues { 2430 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues) 2431 } 2432 2433 type PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributions struct{} 2434 2435 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributions) FieldPath() *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPath { 2436 return &PlanAssignmentRequestRequestTypeExtend_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorRegionalDistributions} 2437 } 2438 2439 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributions) WithValue(value []*common.RegionalDistribution) *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathValue { 2440 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathValue) 2441 } 2442 2443 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributions) WithArrayOfValues(values [][]*common.RegionalDistribution) *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayOfValues { 2444 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayOfValues) 2445 } 2446 2447 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributions) WithItemValue(value *common.RegionalDistribution) *PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayItemValue { 2448 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldTerminalPathArrayItemValue) 2449 } 2450 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributions) WithSubPath(subPath common.RegionalDistribution_FieldPath) *PlanAssignmentRequestRequestTypeExtend_FieldSubPath { 2451 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPath{selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorRegionalDistributions, subPath: subPath} 2452 } 2453 2454 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributions) WithSubValue(subPathValue common.RegionalDistribution_FieldPathValue) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue { 2455 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue{PlanAssignmentRequestRequestTypeExtend_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2456 } 2457 2458 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributions) WithSubArrayOfValues(subPathArrayOfValues common.RegionalDistribution_FieldPathArrayOfValues) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues { 2459 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues{PlanAssignmentRequestRequestTypeExtend_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2460 } 2461 2462 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributions) WithSubArrayItemValue(subPathArrayItemValue common.RegionalDistribution_FieldPathArrayItemValue) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayItemValue { 2463 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayItemValue{PlanAssignmentRequestRequestTypeExtend_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2464 } 2465 2466 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributions) Resource() PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributionsResource { 2467 return PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributionsResource{} 2468 } 2469 2470 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributions) LimitsByRegion() PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributionsLimitsByRegion { 2471 return PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributionsLimitsByRegion{} 2472 } 2473 2474 type PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributionsResource struct{} 2475 2476 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributionsResource) FieldPath() *PlanAssignmentRequestRequestTypeExtend_FieldSubPath { 2477 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPath{ 2478 selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorRegionalDistributions, 2479 subPath: common.NewRegionalDistributionFieldPathBuilder().Resource().FieldPath(), 2480 } 2481 } 2482 2483 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue { 2484 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue) 2485 } 2486 2487 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues { 2488 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues) 2489 } 2490 2491 type PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributionsLimitsByRegion struct{} 2492 2493 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequestRequestTypeExtend_FieldSubPath { 2494 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPath{ 2495 selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorRegionalDistributions, 2496 subPath: common.NewRegionalDistributionFieldPathBuilder().LimitsByRegion().FieldPath(), 2497 } 2498 } 2499 2500 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributionsLimitsByRegion) WithValue(value map[string]int64) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue { 2501 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue) 2502 } 2503 2504 func (s PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []map[string]int64) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues { 2505 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues) 2506 } 2507 2508 func (PlanAssignmentRequest_RequestType_ExtendPathSelectorRegionalDistributionsLimitsByRegion) WithKey(key string) PlanAssignmentRequest_RequestType_ExtendMapPathSelectorRegionalDistributionsLimitsByRegion { 2509 return PlanAssignmentRequest_RequestType_ExtendMapPathSelectorRegionalDistributionsLimitsByRegion{key: key} 2510 } 2511 2512 type PlanAssignmentRequest_RequestType_ExtendMapPathSelectorRegionalDistributionsLimitsByRegion struct { 2513 key string 2514 } 2515 2516 func (s PlanAssignmentRequest_RequestType_ExtendMapPathSelectorRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequestRequestTypeExtend_FieldSubPath { 2517 return &PlanAssignmentRequestRequestTypeExtend_FieldSubPath{ 2518 selector: PlanAssignmentRequestRequestTypeExtend_FieldPathSelectorRegionalDistributions, 2519 subPath: common.NewRegionalDistributionFieldPathBuilder().LimitsByRegion().WithKey(s.key).FieldPath(), 2520 } 2521 } 2522 2523 func (s PlanAssignmentRequest_RequestType_ExtendMapPathSelectorRegionalDistributionsLimitsByRegion) WithValue(value int64) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue { 2524 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathValue) 2525 } 2526 2527 func (s PlanAssignmentRequest_RequestType_ExtendMapPathSelectorRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []int64) *PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues { 2528 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeExtend_FieldSubPathArrayOfValues) 2529 } 2530 2531 type PlanAssignmentRequestRequestTypeRedistributeFieldPathBuilder struct{} 2532 2533 func NewPlanAssignmentRequestRequestTypeRedistributeFieldPathBuilder() PlanAssignmentRequestRequestTypeRedistributeFieldPathBuilder { 2534 return PlanAssignmentRequestRequestTypeRedistributeFieldPathBuilder{} 2535 } 2536 func (PlanAssignmentRequestRequestTypeRedistributeFieldPathBuilder) Assignment() PlanAssignmentRequest_RequestType_RedistributePathSelectorAssignment { 2537 return PlanAssignmentRequest_RequestType_RedistributePathSelectorAssignment{} 2538 } 2539 func (PlanAssignmentRequestRequestTypeRedistributeFieldPathBuilder) RegionalDistributions() PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributions { 2540 return PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributions{} 2541 } 2542 2543 type PlanAssignmentRequest_RequestType_RedistributePathSelectorAssignment struct{} 2544 2545 func (PlanAssignmentRequest_RequestType_RedistributePathSelectorAssignment) FieldPath() *PlanAssignmentRequestRequestTypeRedistribute_FieldTerminalPath { 2546 return &PlanAssignmentRequestRequestTypeRedistribute_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeRedistribute_FieldPathSelectorAssignment} 2547 } 2548 2549 func (s PlanAssignmentRequest_RequestType_RedistributePathSelectorAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequestRequestTypeRedistribute_FieldTerminalPathValue { 2550 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeRedistribute_FieldTerminalPathValue) 2551 } 2552 2553 func (s PlanAssignmentRequest_RequestType_RedistributePathSelectorAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequestRequestTypeRedistribute_FieldTerminalPathArrayOfValues { 2554 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeRedistribute_FieldTerminalPathArrayOfValues) 2555 } 2556 2557 type PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributions struct{} 2558 2559 func (PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributions) FieldPath() *PlanAssignmentRequestRequestTypeRedistribute_FieldTerminalPath { 2560 return &PlanAssignmentRequestRequestTypeRedistribute_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeRedistribute_FieldPathSelectorRegionalDistributions} 2561 } 2562 2563 func (s PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributions) WithValue(value []*common.RegionalDistribution) *PlanAssignmentRequestRequestTypeRedistribute_FieldTerminalPathValue { 2564 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeRedistribute_FieldTerminalPathValue) 2565 } 2566 2567 func (s PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributions) WithArrayOfValues(values [][]*common.RegionalDistribution) *PlanAssignmentRequestRequestTypeRedistribute_FieldTerminalPathArrayOfValues { 2568 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeRedistribute_FieldTerminalPathArrayOfValues) 2569 } 2570 2571 func (s PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributions) WithItemValue(value *common.RegionalDistribution) *PlanAssignmentRequestRequestTypeRedistribute_FieldTerminalPathArrayItemValue { 2572 return s.FieldPath().WithIArrayItemValue(value).(*PlanAssignmentRequestRequestTypeRedistribute_FieldTerminalPathArrayItemValue) 2573 } 2574 func (PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributions) WithSubPath(subPath common.RegionalDistribution_FieldPath) *PlanAssignmentRequestRequestTypeRedistribute_FieldSubPath { 2575 return &PlanAssignmentRequestRequestTypeRedistribute_FieldSubPath{selector: PlanAssignmentRequestRequestTypeRedistribute_FieldPathSelectorRegionalDistributions, subPath: subPath} 2576 } 2577 2578 func (s PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributions) WithSubValue(subPathValue common.RegionalDistribution_FieldPathValue) *PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathValue { 2579 return &PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathValue{PlanAssignmentRequestRequestTypeRedistribute_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2580 } 2581 2582 func (s PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributions) WithSubArrayOfValues(subPathArrayOfValues common.RegionalDistribution_FieldPathArrayOfValues) *PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathArrayOfValues { 2583 return &PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathArrayOfValues{PlanAssignmentRequestRequestTypeRedistribute_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2584 } 2585 2586 func (s PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributions) WithSubArrayItemValue(subPathArrayItemValue common.RegionalDistribution_FieldPathArrayItemValue) *PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathArrayItemValue { 2587 return &PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathArrayItemValue{PlanAssignmentRequestRequestTypeRedistribute_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2588 } 2589 2590 func (PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributions) Resource() PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributionsResource { 2591 return PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributionsResource{} 2592 } 2593 2594 func (PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributions) LimitsByRegion() PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributionsLimitsByRegion { 2595 return PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributionsLimitsByRegion{} 2596 } 2597 2598 type PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributionsResource struct{} 2599 2600 func (PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributionsResource) FieldPath() *PlanAssignmentRequestRequestTypeRedistribute_FieldSubPath { 2601 return &PlanAssignmentRequestRequestTypeRedistribute_FieldSubPath{ 2602 selector: PlanAssignmentRequestRequestTypeRedistribute_FieldPathSelectorRegionalDistributions, 2603 subPath: common.NewRegionalDistributionFieldPathBuilder().Resource().FieldPath(), 2604 } 2605 } 2606 2607 func (s PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributionsResource) WithValue(value *meta_resource.Reference) *PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathValue { 2608 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathValue) 2609 } 2610 2611 func (s PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributionsResource) WithArrayOfValues(values []*meta_resource.Reference) *PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathArrayOfValues { 2612 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathArrayOfValues) 2613 } 2614 2615 type PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributionsLimitsByRegion struct{} 2616 2617 func (PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequestRequestTypeRedistribute_FieldSubPath { 2618 return &PlanAssignmentRequestRequestTypeRedistribute_FieldSubPath{ 2619 selector: PlanAssignmentRequestRequestTypeRedistribute_FieldPathSelectorRegionalDistributions, 2620 subPath: common.NewRegionalDistributionFieldPathBuilder().LimitsByRegion().FieldPath(), 2621 } 2622 } 2623 2624 func (s PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributionsLimitsByRegion) WithValue(value map[string]int64) *PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathValue { 2625 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathValue) 2626 } 2627 2628 func (s PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []map[string]int64) *PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathArrayOfValues { 2629 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathArrayOfValues) 2630 } 2631 2632 func (PlanAssignmentRequest_RequestType_RedistributePathSelectorRegionalDistributionsLimitsByRegion) WithKey(key string) PlanAssignmentRequest_RequestType_RedistributeMapPathSelectorRegionalDistributionsLimitsByRegion { 2633 return PlanAssignmentRequest_RequestType_RedistributeMapPathSelectorRegionalDistributionsLimitsByRegion{key: key} 2634 } 2635 2636 type PlanAssignmentRequest_RequestType_RedistributeMapPathSelectorRegionalDistributionsLimitsByRegion struct { 2637 key string 2638 } 2639 2640 func (s PlanAssignmentRequest_RequestType_RedistributeMapPathSelectorRegionalDistributionsLimitsByRegion) FieldPath() *PlanAssignmentRequestRequestTypeRedistribute_FieldSubPath { 2641 return &PlanAssignmentRequestRequestTypeRedistribute_FieldSubPath{ 2642 selector: PlanAssignmentRequestRequestTypeRedistribute_FieldPathSelectorRegionalDistributions, 2643 subPath: common.NewRegionalDistributionFieldPathBuilder().LimitsByRegion().WithKey(s.key).FieldPath(), 2644 } 2645 } 2646 2647 func (s PlanAssignmentRequest_RequestType_RedistributeMapPathSelectorRegionalDistributionsLimitsByRegion) WithValue(value int64) *PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathValue { 2648 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathValue) 2649 } 2650 2651 func (s PlanAssignmentRequest_RequestType_RedistributeMapPathSelectorRegionalDistributionsLimitsByRegion) WithArrayOfValues(values []int64) *PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathArrayOfValues { 2652 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeRedistribute_FieldSubPathArrayOfValues) 2653 } 2654 2655 type PlanAssignmentRequestRequestTypeUnassignFieldPathBuilder struct{} 2656 2657 func NewPlanAssignmentRequestRequestTypeUnassignFieldPathBuilder() PlanAssignmentRequestRequestTypeUnassignFieldPathBuilder { 2658 return PlanAssignmentRequestRequestTypeUnassignFieldPathBuilder{} 2659 } 2660 func (PlanAssignmentRequestRequestTypeUnassignFieldPathBuilder) Assignment() PlanAssignmentRequest_RequestType_UnassignPathSelectorAssignment { 2661 return PlanAssignmentRequest_RequestType_UnassignPathSelectorAssignment{} 2662 } 2663 2664 type PlanAssignmentRequest_RequestType_UnassignPathSelectorAssignment struct{} 2665 2666 func (PlanAssignmentRequest_RequestType_UnassignPathSelectorAssignment) FieldPath() *PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPath { 2667 return &PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPath{selector: PlanAssignmentRequestRequestTypeUnassign_FieldPathSelectorAssignment} 2668 } 2669 2670 func (s PlanAssignmentRequest_RequestType_UnassignPathSelectorAssignment) WithValue(value *plan_assignment.Reference) *PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPathValue { 2671 return s.FieldPath().WithIValue(value).(*PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPathValue) 2672 } 2673 2674 func (s PlanAssignmentRequest_RequestType_UnassignPathSelectorAssignment) WithArrayOfValues(values []*plan_assignment.Reference) *PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPathArrayOfValues { 2675 return s.FieldPath().WithIArrayOfValues(values).(*PlanAssignmentRequestRequestTypeUnassign_FieldTerminalPathArrayOfValues) 2676 }