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