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