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