github.com/cloudwan/edgelq-sdk@v1.15.4/devices/resources/v1/device_hardware/device_hardware.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/devices/proto/v1/device_hardware.proto 3 // DO NOT EDIT!!! 4 5 package device_hardware 6 7 // proto imports 8 import ( 9 carrier "github.com/cloudwan/edgelq-sdk/cellular-api/carrier" 10 cellular_api_contract "github.com/cloudwan/edgelq-sdk/cellular-api/resources/v1/contract" 11 cellular_api_sim_card "github.com/cloudwan/edgelq-sdk/cellular-api/resources/v1/sim_card" 12 api "github.com/cloudwan/edgelq-sdk/common/api" 13 device "github.com/cloudwan/edgelq-sdk/devices/resources/v1/device" 14 project "github.com/cloudwan/edgelq-sdk/devices/resources/v1/project" 15 provisioning_policy "github.com/cloudwan/edgelq-sdk/devices/resources/v1/provisioning_policy" 16 iam_attestation_domain "github.com/cloudwan/edgelq-sdk/iam/resources/v1/attestation_domain" 17 iam_iam_common "github.com/cloudwan/edgelq-sdk/iam/resources/v1/common" 18 iam_condition "github.com/cloudwan/edgelq-sdk/iam/resources/v1/condition" 19 iam_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization" 20 iam_permission "github.com/cloudwan/edgelq-sdk/iam/resources/v1/permission" 21 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 22 iam_role "github.com/cloudwan/edgelq-sdk/iam/resources/v1/role" 23 iam_service_account "github.com/cloudwan/edgelq-sdk/iam/resources/v1/service_account" 24 logging_bucket "github.com/cloudwan/edgelq-sdk/logging/resources/v1/bucket" 25 logging_common "github.com/cloudwan/edgelq-sdk/logging/resources/v1/common" 26 logging_log_descriptor "github.com/cloudwan/edgelq-sdk/logging/resources/v1/log_descriptor" 27 monitoring_bucket "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/bucket" 28 monitoring_project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/project" 29 secrets_project "github.com/cloudwan/edgelq-sdk/secrets/resources/v1/project" 30 secrets_secret "github.com/cloudwan/edgelq-sdk/secrets/resources/v1/secret" 31 meta_common "github.com/cloudwan/goten-sdk/meta-service/resources/v1/common" 32 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 33 meta "github.com/cloudwan/goten-sdk/types/meta" 34 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 35 latlng "google.golang.org/genproto/googleapis/type/latlng" 36 durationpb "google.golang.org/protobuf/types/known/durationpb" 37 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 38 structpb "google.golang.org/protobuf/types/known/structpb" 39 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 40 ) 41 42 // make sure we're using proto imports 43 var ( 44 _ = &carrier.TransatelAccount{} 45 _ = &cellular_api_contract.Contract{} 46 _ = &cellular_api_sim_card.SimCard{} 47 _ = &api.HealthCheckSpec{} 48 _ = &device.Device{} 49 _ = &project.Project{} 50 _ = &provisioning_policy.ProvisioningPolicy{} 51 _ = &iam_attestation_domain.AttestationDomain{} 52 _ = &iam_iam_common.PCR{} 53 _ = &iam_condition.Condition{} 54 _ = &iam_organization.Organization{} 55 _ = &iam_permission.Permission{} 56 _ = &iam_project.Project{} 57 _ = &iam_role.Role{} 58 _ = &iam_service_account.ServiceAccount{} 59 _ = &logging_bucket.Bucket{} 60 _ = &logging_common.LabelDescriptor{} 61 _ = &logging_log_descriptor.LogDescriptor{} 62 _ = &monitoring_bucket.Bucket{} 63 _ = &monitoring_project.Project{} 64 _ = &secrets_project.Project{} 65 _ = &secrets_secret.Secret{} 66 _ = &durationpb.Duration{} 67 _ = &fieldmaskpb.FieldMask{} 68 _ = &structpb.Struct{} 69 _ = ×tamppb.Timestamp{} 70 _ = &latlng.LatLng{} 71 _ = &meta_common.LabelledDomain{} 72 _ = &meta_service.Service{} 73 _ = &meta.Meta{} 74 _ = &multi_region_policy.MultiRegionPolicy{} 75 ) 76 77 type DeviceHardwareFieldPathBuilder struct{} 78 79 func NewDeviceHardwareFieldPathBuilder() DeviceHardwareFieldPathBuilder { 80 return DeviceHardwareFieldPathBuilder{} 81 } 82 func (DeviceHardwareFieldPathBuilder) Name() DeviceHardwarePathSelectorName { 83 return DeviceHardwarePathSelectorName{} 84 } 85 func (DeviceHardwareFieldPathBuilder) Metadata() DeviceHardwarePathSelectorMetadata { 86 return DeviceHardwarePathSelectorMetadata{} 87 } 88 func (DeviceHardwareFieldPathBuilder) DisplayName() DeviceHardwarePathSelectorDisplayName { 89 return DeviceHardwarePathSelectorDisplayName{} 90 } 91 func (DeviceHardwareFieldPathBuilder) SerialNumber() DeviceHardwarePathSelectorSerialNumber { 92 return DeviceHardwarePathSelectorSerialNumber{} 93 } 94 func (DeviceHardwareFieldPathBuilder) Manufacturer() DeviceHardwarePathSelectorManufacturer { 95 return DeviceHardwarePathSelectorManufacturer{} 96 } 97 func (DeviceHardwareFieldPathBuilder) ProductName() DeviceHardwarePathSelectorProductName { 98 return DeviceHardwarePathSelectorProductName{} 99 } 100 func (DeviceHardwareFieldPathBuilder) MacAddress() DeviceHardwarePathSelectorMacAddress { 101 return DeviceHardwarePathSelectorMacAddress{} 102 } 103 func (DeviceHardwareFieldPathBuilder) SimIccid() DeviceHardwarePathSelectorSimIccid { 104 return DeviceHardwarePathSelectorSimIccid{} 105 } 106 func (DeviceHardwareFieldPathBuilder) Imei() DeviceHardwarePathSelectorImei { 107 return DeviceHardwarePathSelectorImei{} 108 } 109 func (DeviceHardwareFieldPathBuilder) AssociatedProvisioningPolicyName() DeviceHardwarePathSelectorAssociatedProvisioningPolicyName { 110 return DeviceHardwarePathSelectorAssociatedProvisioningPolicyName{} 111 } 112 func (DeviceHardwareFieldPathBuilder) AssociatedDevice() DeviceHardwarePathSelectorAssociatedDevice { 113 return DeviceHardwarePathSelectorAssociatedDevice{} 114 } 115 func (DeviceHardwareFieldPathBuilder) AssociatedSimCard() DeviceHardwarePathSelectorAssociatedSimCard { 116 return DeviceHardwarePathSelectorAssociatedSimCard{} 117 } 118 func (DeviceHardwareFieldPathBuilder) Status() DeviceHardwarePathSelectorStatus { 119 return DeviceHardwarePathSelectorStatus{} 120 } 121 122 type DeviceHardwarePathSelectorName struct{} 123 124 func (DeviceHardwarePathSelectorName) FieldPath() *DeviceHardware_FieldTerminalPath { 125 return &DeviceHardware_FieldTerminalPath{selector: DeviceHardware_FieldPathSelectorName} 126 } 127 128 func (s DeviceHardwarePathSelectorName) WithValue(value *Name) *DeviceHardware_FieldTerminalPathValue { 129 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldTerminalPathValue) 130 } 131 132 func (s DeviceHardwarePathSelectorName) WithArrayOfValues(values []*Name) *DeviceHardware_FieldTerminalPathArrayOfValues { 133 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldTerminalPathArrayOfValues) 134 } 135 136 type DeviceHardwarePathSelectorMetadata struct{} 137 138 func (DeviceHardwarePathSelectorMetadata) FieldPath() *DeviceHardware_FieldTerminalPath { 139 return &DeviceHardware_FieldTerminalPath{selector: DeviceHardware_FieldPathSelectorMetadata} 140 } 141 142 func (s DeviceHardwarePathSelectorMetadata) WithValue(value *meta.Meta) *DeviceHardware_FieldTerminalPathValue { 143 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldTerminalPathValue) 144 } 145 146 func (s DeviceHardwarePathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *DeviceHardware_FieldTerminalPathArrayOfValues { 147 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldTerminalPathArrayOfValues) 148 } 149 150 func (DeviceHardwarePathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *DeviceHardware_FieldSubPath { 151 return &DeviceHardware_FieldSubPath{selector: DeviceHardware_FieldPathSelectorMetadata, subPath: subPath} 152 } 153 154 func (s DeviceHardwarePathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *DeviceHardware_FieldSubPathValue { 155 return &DeviceHardware_FieldSubPathValue{DeviceHardware_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 156 } 157 158 func (s DeviceHardwarePathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *DeviceHardware_FieldSubPathArrayOfValues { 159 return &DeviceHardware_FieldSubPathArrayOfValues{DeviceHardware_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 160 } 161 162 func (s DeviceHardwarePathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *DeviceHardware_FieldSubPathArrayItemValue { 163 return &DeviceHardware_FieldSubPathArrayItemValue{DeviceHardware_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 164 } 165 166 func (DeviceHardwarePathSelectorMetadata) CreateTime() DeviceHardwarePathSelectorMetadataCreateTime { 167 return DeviceHardwarePathSelectorMetadataCreateTime{} 168 } 169 170 func (DeviceHardwarePathSelectorMetadata) UpdateTime() DeviceHardwarePathSelectorMetadataUpdateTime { 171 return DeviceHardwarePathSelectorMetadataUpdateTime{} 172 } 173 174 func (DeviceHardwarePathSelectorMetadata) DeleteTime() DeviceHardwarePathSelectorMetadataDeleteTime { 175 return DeviceHardwarePathSelectorMetadataDeleteTime{} 176 } 177 178 func (DeviceHardwarePathSelectorMetadata) Uuid() DeviceHardwarePathSelectorMetadataUuid { 179 return DeviceHardwarePathSelectorMetadataUuid{} 180 } 181 182 func (DeviceHardwarePathSelectorMetadata) Tags() DeviceHardwarePathSelectorMetadataTags { 183 return DeviceHardwarePathSelectorMetadataTags{} 184 } 185 186 func (DeviceHardwarePathSelectorMetadata) Labels() DeviceHardwarePathSelectorMetadataLabels { 187 return DeviceHardwarePathSelectorMetadataLabels{} 188 } 189 190 func (DeviceHardwarePathSelectorMetadata) Annotations() DeviceHardwarePathSelectorMetadataAnnotations { 191 return DeviceHardwarePathSelectorMetadataAnnotations{} 192 } 193 194 func (DeviceHardwarePathSelectorMetadata) Generation() DeviceHardwarePathSelectorMetadataGeneration { 195 return DeviceHardwarePathSelectorMetadataGeneration{} 196 } 197 198 func (DeviceHardwarePathSelectorMetadata) ResourceVersion() DeviceHardwarePathSelectorMetadataResourceVersion { 199 return DeviceHardwarePathSelectorMetadataResourceVersion{} 200 } 201 202 func (DeviceHardwarePathSelectorMetadata) OwnerReferences() DeviceHardwarePathSelectorMetadataOwnerReferences { 203 return DeviceHardwarePathSelectorMetadataOwnerReferences{} 204 } 205 206 func (DeviceHardwarePathSelectorMetadata) Shards() DeviceHardwarePathSelectorMetadataShards { 207 return DeviceHardwarePathSelectorMetadataShards{} 208 } 209 210 func (DeviceHardwarePathSelectorMetadata) Syncing() DeviceHardwarePathSelectorMetadataSyncing { 211 return DeviceHardwarePathSelectorMetadataSyncing{} 212 } 213 214 func (DeviceHardwarePathSelectorMetadata) Lifecycle() DeviceHardwarePathSelectorMetadataLifecycle { 215 return DeviceHardwarePathSelectorMetadataLifecycle{} 216 } 217 218 func (DeviceHardwarePathSelectorMetadata) Services() DeviceHardwarePathSelectorMetadataServices { 219 return DeviceHardwarePathSelectorMetadataServices{} 220 } 221 222 type DeviceHardwarePathSelectorMetadataCreateTime struct{} 223 224 func (DeviceHardwarePathSelectorMetadataCreateTime) FieldPath() *DeviceHardware_FieldSubPath { 225 return &DeviceHardware_FieldSubPath{ 226 selector: DeviceHardware_FieldPathSelectorMetadata, 227 subPath: meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(), 228 } 229 } 230 231 func (s DeviceHardwarePathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *DeviceHardware_FieldSubPathValue { 232 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 233 } 234 235 func (s DeviceHardwarePathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *DeviceHardware_FieldSubPathArrayOfValues { 236 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 237 } 238 239 type DeviceHardwarePathSelectorMetadataUpdateTime struct{} 240 241 func (DeviceHardwarePathSelectorMetadataUpdateTime) FieldPath() *DeviceHardware_FieldSubPath { 242 return &DeviceHardware_FieldSubPath{ 243 selector: DeviceHardware_FieldPathSelectorMetadata, 244 subPath: meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(), 245 } 246 } 247 248 func (s DeviceHardwarePathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *DeviceHardware_FieldSubPathValue { 249 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 250 } 251 252 func (s DeviceHardwarePathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *DeviceHardware_FieldSubPathArrayOfValues { 253 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 254 } 255 256 type DeviceHardwarePathSelectorMetadataDeleteTime struct{} 257 258 func (DeviceHardwarePathSelectorMetadataDeleteTime) FieldPath() *DeviceHardware_FieldSubPath { 259 return &DeviceHardware_FieldSubPath{ 260 selector: DeviceHardware_FieldPathSelectorMetadata, 261 subPath: meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(), 262 } 263 } 264 265 func (s DeviceHardwarePathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *DeviceHardware_FieldSubPathValue { 266 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 267 } 268 269 func (s DeviceHardwarePathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *DeviceHardware_FieldSubPathArrayOfValues { 270 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 271 } 272 273 type DeviceHardwarePathSelectorMetadataUuid struct{} 274 275 func (DeviceHardwarePathSelectorMetadataUuid) FieldPath() *DeviceHardware_FieldSubPath { 276 return &DeviceHardware_FieldSubPath{ 277 selector: DeviceHardware_FieldPathSelectorMetadata, 278 subPath: meta.NewMetaFieldPathBuilder().Uuid().FieldPath(), 279 } 280 } 281 282 func (s DeviceHardwarePathSelectorMetadataUuid) WithValue(value string) *DeviceHardware_FieldSubPathValue { 283 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 284 } 285 286 func (s DeviceHardwarePathSelectorMetadataUuid) WithArrayOfValues(values []string) *DeviceHardware_FieldSubPathArrayOfValues { 287 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 288 } 289 290 type DeviceHardwarePathSelectorMetadataTags struct{} 291 292 func (DeviceHardwarePathSelectorMetadataTags) FieldPath() *DeviceHardware_FieldSubPath { 293 return &DeviceHardware_FieldSubPath{ 294 selector: DeviceHardware_FieldPathSelectorMetadata, 295 subPath: meta.NewMetaFieldPathBuilder().Tags().FieldPath(), 296 } 297 } 298 299 func (s DeviceHardwarePathSelectorMetadataTags) WithValue(value []string) *DeviceHardware_FieldSubPathValue { 300 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 301 } 302 303 func (s DeviceHardwarePathSelectorMetadataTags) WithArrayOfValues(values [][]string) *DeviceHardware_FieldSubPathArrayOfValues { 304 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 305 } 306 307 func (s DeviceHardwarePathSelectorMetadataTags) WithItemValue(value string) *DeviceHardware_FieldSubPathArrayItemValue { 308 return s.FieldPath().WithIArrayItemValue(value).(*DeviceHardware_FieldSubPathArrayItemValue) 309 } 310 311 type DeviceHardwarePathSelectorMetadataLabels struct{} 312 313 func (DeviceHardwarePathSelectorMetadataLabels) FieldPath() *DeviceHardware_FieldSubPath { 314 return &DeviceHardware_FieldSubPath{ 315 selector: DeviceHardware_FieldPathSelectorMetadata, 316 subPath: meta.NewMetaFieldPathBuilder().Labels().FieldPath(), 317 } 318 } 319 320 func (s DeviceHardwarePathSelectorMetadataLabels) WithValue(value map[string]string) *DeviceHardware_FieldSubPathValue { 321 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 322 } 323 324 func (s DeviceHardwarePathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *DeviceHardware_FieldSubPathArrayOfValues { 325 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 326 } 327 328 func (DeviceHardwarePathSelectorMetadataLabels) WithKey(key string) DeviceHardwareMapPathSelectorMetadataLabels { 329 return DeviceHardwareMapPathSelectorMetadataLabels{key: key} 330 } 331 332 type DeviceHardwareMapPathSelectorMetadataLabels struct { 333 key string 334 } 335 336 func (s DeviceHardwareMapPathSelectorMetadataLabels) FieldPath() *DeviceHardware_FieldSubPath { 337 return &DeviceHardware_FieldSubPath{ 338 selector: DeviceHardware_FieldPathSelectorMetadata, 339 subPath: meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 340 } 341 } 342 343 func (s DeviceHardwareMapPathSelectorMetadataLabels) WithValue(value string) *DeviceHardware_FieldSubPathValue { 344 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 345 } 346 347 func (s DeviceHardwareMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *DeviceHardware_FieldSubPathArrayOfValues { 348 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 349 } 350 351 type DeviceHardwarePathSelectorMetadataAnnotations struct{} 352 353 func (DeviceHardwarePathSelectorMetadataAnnotations) FieldPath() *DeviceHardware_FieldSubPath { 354 return &DeviceHardware_FieldSubPath{ 355 selector: DeviceHardware_FieldPathSelectorMetadata, 356 subPath: meta.NewMetaFieldPathBuilder().Annotations().FieldPath(), 357 } 358 } 359 360 func (s DeviceHardwarePathSelectorMetadataAnnotations) WithValue(value map[string]string) *DeviceHardware_FieldSubPathValue { 361 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 362 } 363 364 func (s DeviceHardwarePathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *DeviceHardware_FieldSubPathArrayOfValues { 365 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 366 } 367 368 func (DeviceHardwarePathSelectorMetadataAnnotations) WithKey(key string) DeviceHardwareMapPathSelectorMetadataAnnotations { 369 return DeviceHardwareMapPathSelectorMetadataAnnotations{key: key} 370 } 371 372 type DeviceHardwareMapPathSelectorMetadataAnnotations struct { 373 key string 374 } 375 376 func (s DeviceHardwareMapPathSelectorMetadataAnnotations) FieldPath() *DeviceHardware_FieldSubPath { 377 return &DeviceHardware_FieldSubPath{ 378 selector: DeviceHardware_FieldPathSelectorMetadata, 379 subPath: meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(), 380 } 381 } 382 383 func (s DeviceHardwareMapPathSelectorMetadataAnnotations) WithValue(value string) *DeviceHardware_FieldSubPathValue { 384 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 385 } 386 387 func (s DeviceHardwareMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *DeviceHardware_FieldSubPathArrayOfValues { 388 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 389 } 390 391 type DeviceHardwarePathSelectorMetadataGeneration struct{} 392 393 func (DeviceHardwarePathSelectorMetadataGeneration) FieldPath() *DeviceHardware_FieldSubPath { 394 return &DeviceHardware_FieldSubPath{ 395 selector: DeviceHardware_FieldPathSelectorMetadata, 396 subPath: meta.NewMetaFieldPathBuilder().Generation().FieldPath(), 397 } 398 } 399 400 func (s DeviceHardwarePathSelectorMetadataGeneration) WithValue(value int64) *DeviceHardware_FieldSubPathValue { 401 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 402 } 403 404 func (s DeviceHardwarePathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *DeviceHardware_FieldSubPathArrayOfValues { 405 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 406 } 407 408 type DeviceHardwarePathSelectorMetadataResourceVersion struct{} 409 410 func (DeviceHardwarePathSelectorMetadataResourceVersion) FieldPath() *DeviceHardware_FieldSubPath { 411 return &DeviceHardware_FieldSubPath{ 412 selector: DeviceHardware_FieldPathSelectorMetadata, 413 subPath: meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(), 414 } 415 } 416 417 func (s DeviceHardwarePathSelectorMetadataResourceVersion) WithValue(value string) *DeviceHardware_FieldSubPathValue { 418 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 419 } 420 421 func (s DeviceHardwarePathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *DeviceHardware_FieldSubPathArrayOfValues { 422 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 423 } 424 425 type DeviceHardwarePathSelectorMetadataOwnerReferences struct{} 426 427 func (DeviceHardwarePathSelectorMetadataOwnerReferences) FieldPath() *DeviceHardware_FieldSubPath { 428 return &DeviceHardware_FieldSubPath{ 429 selector: DeviceHardware_FieldPathSelectorMetadata, 430 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(), 431 } 432 } 433 434 func (s DeviceHardwarePathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *DeviceHardware_FieldSubPathValue { 435 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 436 } 437 438 func (s DeviceHardwarePathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *DeviceHardware_FieldSubPathArrayOfValues { 439 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 440 } 441 442 func (s DeviceHardwarePathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *DeviceHardware_FieldSubPathArrayItemValue { 443 return s.FieldPath().WithIArrayItemValue(value).(*DeviceHardware_FieldSubPathArrayItemValue) 444 } 445 446 func (DeviceHardwarePathSelectorMetadataOwnerReferences) Kind() DeviceHardwarePathSelectorMetadataOwnerReferencesKind { 447 return DeviceHardwarePathSelectorMetadataOwnerReferencesKind{} 448 } 449 450 func (DeviceHardwarePathSelectorMetadataOwnerReferences) Version() DeviceHardwarePathSelectorMetadataOwnerReferencesVersion { 451 return DeviceHardwarePathSelectorMetadataOwnerReferencesVersion{} 452 } 453 454 func (DeviceHardwarePathSelectorMetadataOwnerReferences) Name() DeviceHardwarePathSelectorMetadataOwnerReferencesName { 455 return DeviceHardwarePathSelectorMetadataOwnerReferencesName{} 456 } 457 458 func (DeviceHardwarePathSelectorMetadataOwnerReferences) Region() DeviceHardwarePathSelectorMetadataOwnerReferencesRegion { 459 return DeviceHardwarePathSelectorMetadataOwnerReferencesRegion{} 460 } 461 462 func (DeviceHardwarePathSelectorMetadataOwnerReferences) Controller() DeviceHardwarePathSelectorMetadataOwnerReferencesController { 463 return DeviceHardwarePathSelectorMetadataOwnerReferencesController{} 464 } 465 466 func (DeviceHardwarePathSelectorMetadataOwnerReferences) RequiresOwnerReference() DeviceHardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference { 467 return DeviceHardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference{} 468 } 469 470 func (DeviceHardwarePathSelectorMetadataOwnerReferences) UnsetOnDelete() DeviceHardwarePathSelectorMetadataOwnerReferencesUnsetOnDelete { 471 return DeviceHardwarePathSelectorMetadataOwnerReferencesUnsetOnDelete{} 472 } 473 474 type DeviceHardwarePathSelectorMetadataOwnerReferencesKind struct{} 475 476 func (DeviceHardwarePathSelectorMetadataOwnerReferencesKind) FieldPath() *DeviceHardware_FieldSubPath { 477 return &DeviceHardware_FieldSubPath{ 478 selector: DeviceHardware_FieldPathSelectorMetadata, 479 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(), 480 } 481 } 482 483 func (s DeviceHardwarePathSelectorMetadataOwnerReferencesKind) WithValue(value string) *DeviceHardware_FieldSubPathValue { 484 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 485 } 486 487 func (s DeviceHardwarePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *DeviceHardware_FieldSubPathArrayOfValues { 488 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 489 } 490 491 type DeviceHardwarePathSelectorMetadataOwnerReferencesVersion struct{} 492 493 func (DeviceHardwarePathSelectorMetadataOwnerReferencesVersion) FieldPath() *DeviceHardware_FieldSubPath { 494 return &DeviceHardware_FieldSubPath{ 495 selector: DeviceHardware_FieldPathSelectorMetadata, 496 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(), 497 } 498 } 499 500 func (s DeviceHardwarePathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *DeviceHardware_FieldSubPathValue { 501 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 502 } 503 504 func (s DeviceHardwarePathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *DeviceHardware_FieldSubPathArrayOfValues { 505 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 506 } 507 508 type DeviceHardwarePathSelectorMetadataOwnerReferencesName struct{} 509 510 func (DeviceHardwarePathSelectorMetadataOwnerReferencesName) FieldPath() *DeviceHardware_FieldSubPath { 511 return &DeviceHardware_FieldSubPath{ 512 selector: DeviceHardware_FieldPathSelectorMetadata, 513 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(), 514 } 515 } 516 517 func (s DeviceHardwarePathSelectorMetadataOwnerReferencesName) WithValue(value string) *DeviceHardware_FieldSubPathValue { 518 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 519 } 520 521 func (s DeviceHardwarePathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *DeviceHardware_FieldSubPathArrayOfValues { 522 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 523 } 524 525 type DeviceHardwarePathSelectorMetadataOwnerReferencesRegion struct{} 526 527 func (DeviceHardwarePathSelectorMetadataOwnerReferencesRegion) FieldPath() *DeviceHardware_FieldSubPath { 528 return &DeviceHardware_FieldSubPath{ 529 selector: DeviceHardware_FieldPathSelectorMetadata, 530 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(), 531 } 532 } 533 534 func (s DeviceHardwarePathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *DeviceHardware_FieldSubPathValue { 535 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 536 } 537 538 func (s DeviceHardwarePathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *DeviceHardware_FieldSubPathArrayOfValues { 539 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 540 } 541 542 type DeviceHardwarePathSelectorMetadataOwnerReferencesController struct{} 543 544 func (DeviceHardwarePathSelectorMetadataOwnerReferencesController) FieldPath() *DeviceHardware_FieldSubPath { 545 return &DeviceHardware_FieldSubPath{ 546 selector: DeviceHardware_FieldPathSelectorMetadata, 547 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(), 548 } 549 } 550 551 func (s DeviceHardwarePathSelectorMetadataOwnerReferencesController) WithValue(value bool) *DeviceHardware_FieldSubPathValue { 552 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 553 } 554 555 func (s DeviceHardwarePathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *DeviceHardware_FieldSubPathArrayOfValues { 556 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 557 } 558 559 type DeviceHardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{} 560 561 func (DeviceHardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *DeviceHardware_FieldSubPath { 562 return &DeviceHardware_FieldSubPath{ 563 selector: DeviceHardware_FieldPathSelectorMetadata, 564 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(), 565 } 566 } 567 568 func (s DeviceHardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *DeviceHardware_FieldSubPathValue { 569 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 570 } 571 572 func (s DeviceHardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *DeviceHardware_FieldSubPathArrayOfValues { 573 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 574 } 575 576 type DeviceHardwarePathSelectorMetadataOwnerReferencesUnsetOnDelete struct{} 577 578 func (DeviceHardwarePathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *DeviceHardware_FieldSubPath { 579 return &DeviceHardware_FieldSubPath{ 580 selector: DeviceHardware_FieldPathSelectorMetadata, 581 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(), 582 } 583 } 584 585 func (s DeviceHardwarePathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *DeviceHardware_FieldSubPathValue { 586 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 587 } 588 589 func (s DeviceHardwarePathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *DeviceHardware_FieldSubPathArrayOfValues { 590 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 591 } 592 593 type DeviceHardwarePathSelectorMetadataShards struct{} 594 595 func (DeviceHardwarePathSelectorMetadataShards) FieldPath() *DeviceHardware_FieldSubPath { 596 return &DeviceHardware_FieldSubPath{ 597 selector: DeviceHardware_FieldPathSelectorMetadata, 598 subPath: meta.NewMetaFieldPathBuilder().Shards().FieldPath(), 599 } 600 } 601 602 func (s DeviceHardwarePathSelectorMetadataShards) WithValue(value map[string]int64) *DeviceHardware_FieldSubPathValue { 603 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 604 } 605 606 func (s DeviceHardwarePathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *DeviceHardware_FieldSubPathArrayOfValues { 607 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 608 } 609 610 func (DeviceHardwarePathSelectorMetadataShards) WithKey(key string) DeviceHardwareMapPathSelectorMetadataShards { 611 return DeviceHardwareMapPathSelectorMetadataShards{key: key} 612 } 613 614 type DeviceHardwareMapPathSelectorMetadataShards struct { 615 key string 616 } 617 618 func (s DeviceHardwareMapPathSelectorMetadataShards) FieldPath() *DeviceHardware_FieldSubPath { 619 return &DeviceHardware_FieldSubPath{ 620 selector: DeviceHardware_FieldPathSelectorMetadata, 621 subPath: meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(), 622 } 623 } 624 625 func (s DeviceHardwareMapPathSelectorMetadataShards) WithValue(value int64) *DeviceHardware_FieldSubPathValue { 626 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 627 } 628 629 func (s DeviceHardwareMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *DeviceHardware_FieldSubPathArrayOfValues { 630 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 631 } 632 633 type DeviceHardwarePathSelectorMetadataSyncing struct{} 634 635 func (DeviceHardwarePathSelectorMetadataSyncing) FieldPath() *DeviceHardware_FieldSubPath { 636 return &DeviceHardware_FieldSubPath{ 637 selector: DeviceHardware_FieldPathSelectorMetadata, 638 subPath: meta.NewMetaFieldPathBuilder().Syncing().FieldPath(), 639 } 640 } 641 642 func (s DeviceHardwarePathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *DeviceHardware_FieldSubPathValue { 643 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 644 } 645 646 func (s DeviceHardwarePathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *DeviceHardware_FieldSubPathArrayOfValues { 647 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 648 } 649 650 func (DeviceHardwarePathSelectorMetadataSyncing) OwningRegion() DeviceHardwarePathSelectorMetadataSyncingOwningRegion { 651 return DeviceHardwarePathSelectorMetadataSyncingOwningRegion{} 652 } 653 654 func (DeviceHardwarePathSelectorMetadataSyncing) Regions() DeviceHardwarePathSelectorMetadataSyncingRegions { 655 return DeviceHardwarePathSelectorMetadataSyncingRegions{} 656 } 657 658 type DeviceHardwarePathSelectorMetadataSyncingOwningRegion struct{} 659 660 func (DeviceHardwarePathSelectorMetadataSyncingOwningRegion) FieldPath() *DeviceHardware_FieldSubPath { 661 return &DeviceHardware_FieldSubPath{ 662 selector: DeviceHardware_FieldPathSelectorMetadata, 663 subPath: meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(), 664 } 665 } 666 667 func (s DeviceHardwarePathSelectorMetadataSyncingOwningRegion) WithValue(value string) *DeviceHardware_FieldSubPathValue { 668 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 669 } 670 671 func (s DeviceHardwarePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *DeviceHardware_FieldSubPathArrayOfValues { 672 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 673 } 674 675 type DeviceHardwarePathSelectorMetadataSyncingRegions struct{} 676 677 func (DeviceHardwarePathSelectorMetadataSyncingRegions) FieldPath() *DeviceHardware_FieldSubPath { 678 return &DeviceHardware_FieldSubPath{ 679 selector: DeviceHardware_FieldPathSelectorMetadata, 680 subPath: meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(), 681 } 682 } 683 684 func (s DeviceHardwarePathSelectorMetadataSyncingRegions) WithValue(value []string) *DeviceHardware_FieldSubPathValue { 685 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 686 } 687 688 func (s DeviceHardwarePathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *DeviceHardware_FieldSubPathArrayOfValues { 689 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 690 } 691 692 func (s DeviceHardwarePathSelectorMetadataSyncingRegions) WithItemValue(value string) *DeviceHardware_FieldSubPathArrayItemValue { 693 return s.FieldPath().WithIArrayItemValue(value).(*DeviceHardware_FieldSubPathArrayItemValue) 694 } 695 696 type DeviceHardwarePathSelectorMetadataLifecycle struct{} 697 698 func (DeviceHardwarePathSelectorMetadataLifecycle) FieldPath() *DeviceHardware_FieldSubPath { 699 return &DeviceHardware_FieldSubPath{ 700 selector: DeviceHardware_FieldPathSelectorMetadata, 701 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(), 702 } 703 } 704 705 func (s DeviceHardwarePathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *DeviceHardware_FieldSubPathValue { 706 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 707 } 708 709 func (s DeviceHardwarePathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *DeviceHardware_FieldSubPathArrayOfValues { 710 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 711 } 712 713 func (DeviceHardwarePathSelectorMetadataLifecycle) State() DeviceHardwarePathSelectorMetadataLifecycleState { 714 return DeviceHardwarePathSelectorMetadataLifecycleState{} 715 } 716 717 func (DeviceHardwarePathSelectorMetadataLifecycle) BlockDeletion() DeviceHardwarePathSelectorMetadataLifecycleBlockDeletion { 718 return DeviceHardwarePathSelectorMetadataLifecycleBlockDeletion{} 719 } 720 721 type DeviceHardwarePathSelectorMetadataLifecycleState struct{} 722 723 func (DeviceHardwarePathSelectorMetadataLifecycleState) FieldPath() *DeviceHardware_FieldSubPath { 724 return &DeviceHardware_FieldSubPath{ 725 selector: DeviceHardware_FieldPathSelectorMetadata, 726 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(), 727 } 728 } 729 730 func (s DeviceHardwarePathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *DeviceHardware_FieldSubPathValue { 731 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 732 } 733 734 func (s DeviceHardwarePathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *DeviceHardware_FieldSubPathArrayOfValues { 735 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 736 } 737 738 type DeviceHardwarePathSelectorMetadataLifecycleBlockDeletion struct{} 739 740 func (DeviceHardwarePathSelectorMetadataLifecycleBlockDeletion) FieldPath() *DeviceHardware_FieldSubPath { 741 return &DeviceHardware_FieldSubPath{ 742 selector: DeviceHardware_FieldPathSelectorMetadata, 743 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(), 744 } 745 } 746 747 func (s DeviceHardwarePathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *DeviceHardware_FieldSubPathValue { 748 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 749 } 750 751 func (s DeviceHardwarePathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *DeviceHardware_FieldSubPathArrayOfValues { 752 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 753 } 754 755 type DeviceHardwarePathSelectorMetadataServices struct{} 756 757 func (DeviceHardwarePathSelectorMetadataServices) FieldPath() *DeviceHardware_FieldSubPath { 758 return &DeviceHardware_FieldSubPath{ 759 selector: DeviceHardware_FieldPathSelectorMetadata, 760 subPath: meta.NewMetaFieldPathBuilder().Services().FieldPath(), 761 } 762 } 763 764 func (s DeviceHardwarePathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *DeviceHardware_FieldSubPathValue { 765 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 766 } 767 768 func (s DeviceHardwarePathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *DeviceHardware_FieldSubPathArrayOfValues { 769 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 770 } 771 772 func (DeviceHardwarePathSelectorMetadataServices) OwningService() DeviceHardwarePathSelectorMetadataServicesOwningService { 773 return DeviceHardwarePathSelectorMetadataServicesOwningService{} 774 } 775 776 func (DeviceHardwarePathSelectorMetadataServices) AllowedServices() DeviceHardwarePathSelectorMetadataServicesAllowedServices { 777 return DeviceHardwarePathSelectorMetadataServicesAllowedServices{} 778 } 779 780 type DeviceHardwarePathSelectorMetadataServicesOwningService struct{} 781 782 func (DeviceHardwarePathSelectorMetadataServicesOwningService) FieldPath() *DeviceHardware_FieldSubPath { 783 return &DeviceHardware_FieldSubPath{ 784 selector: DeviceHardware_FieldPathSelectorMetadata, 785 subPath: meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(), 786 } 787 } 788 789 func (s DeviceHardwarePathSelectorMetadataServicesOwningService) WithValue(value string) *DeviceHardware_FieldSubPathValue { 790 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 791 } 792 793 func (s DeviceHardwarePathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *DeviceHardware_FieldSubPathArrayOfValues { 794 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 795 } 796 797 type DeviceHardwarePathSelectorMetadataServicesAllowedServices struct{} 798 799 func (DeviceHardwarePathSelectorMetadataServicesAllowedServices) FieldPath() *DeviceHardware_FieldSubPath { 800 return &DeviceHardware_FieldSubPath{ 801 selector: DeviceHardware_FieldPathSelectorMetadata, 802 subPath: meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(), 803 } 804 } 805 806 func (s DeviceHardwarePathSelectorMetadataServicesAllowedServices) WithValue(value []string) *DeviceHardware_FieldSubPathValue { 807 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 808 } 809 810 func (s DeviceHardwarePathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *DeviceHardware_FieldSubPathArrayOfValues { 811 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 812 } 813 814 func (s DeviceHardwarePathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *DeviceHardware_FieldSubPathArrayItemValue { 815 return s.FieldPath().WithIArrayItemValue(value).(*DeviceHardware_FieldSubPathArrayItemValue) 816 } 817 818 type DeviceHardwarePathSelectorDisplayName struct{} 819 820 func (DeviceHardwarePathSelectorDisplayName) FieldPath() *DeviceHardware_FieldTerminalPath { 821 return &DeviceHardware_FieldTerminalPath{selector: DeviceHardware_FieldPathSelectorDisplayName} 822 } 823 824 func (s DeviceHardwarePathSelectorDisplayName) WithValue(value string) *DeviceHardware_FieldTerminalPathValue { 825 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldTerminalPathValue) 826 } 827 828 func (s DeviceHardwarePathSelectorDisplayName) WithArrayOfValues(values []string) *DeviceHardware_FieldTerminalPathArrayOfValues { 829 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldTerminalPathArrayOfValues) 830 } 831 832 type DeviceHardwarePathSelectorSerialNumber struct{} 833 834 func (DeviceHardwarePathSelectorSerialNumber) FieldPath() *DeviceHardware_FieldTerminalPath { 835 return &DeviceHardware_FieldTerminalPath{selector: DeviceHardware_FieldPathSelectorSerialNumber} 836 } 837 838 func (s DeviceHardwarePathSelectorSerialNumber) WithValue(value string) *DeviceHardware_FieldTerminalPathValue { 839 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldTerminalPathValue) 840 } 841 842 func (s DeviceHardwarePathSelectorSerialNumber) WithArrayOfValues(values []string) *DeviceHardware_FieldTerminalPathArrayOfValues { 843 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldTerminalPathArrayOfValues) 844 } 845 846 type DeviceHardwarePathSelectorManufacturer struct{} 847 848 func (DeviceHardwarePathSelectorManufacturer) FieldPath() *DeviceHardware_FieldTerminalPath { 849 return &DeviceHardware_FieldTerminalPath{selector: DeviceHardware_FieldPathSelectorManufacturer} 850 } 851 852 func (s DeviceHardwarePathSelectorManufacturer) WithValue(value string) *DeviceHardware_FieldTerminalPathValue { 853 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldTerminalPathValue) 854 } 855 856 func (s DeviceHardwarePathSelectorManufacturer) WithArrayOfValues(values []string) *DeviceHardware_FieldTerminalPathArrayOfValues { 857 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldTerminalPathArrayOfValues) 858 } 859 860 type DeviceHardwarePathSelectorProductName struct{} 861 862 func (DeviceHardwarePathSelectorProductName) FieldPath() *DeviceHardware_FieldTerminalPath { 863 return &DeviceHardware_FieldTerminalPath{selector: DeviceHardware_FieldPathSelectorProductName} 864 } 865 866 func (s DeviceHardwarePathSelectorProductName) WithValue(value string) *DeviceHardware_FieldTerminalPathValue { 867 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldTerminalPathValue) 868 } 869 870 func (s DeviceHardwarePathSelectorProductName) WithArrayOfValues(values []string) *DeviceHardware_FieldTerminalPathArrayOfValues { 871 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldTerminalPathArrayOfValues) 872 } 873 874 type DeviceHardwarePathSelectorMacAddress struct{} 875 876 func (DeviceHardwarePathSelectorMacAddress) FieldPath() *DeviceHardware_FieldTerminalPath { 877 return &DeviceHardware_FieldTerminalPath{selector: DeviceHardware_FieldPathSelectorMacAddress} 878 } 879 880 func (s DeviceHardwarePathSelectorMacAddress) WithValue(value []string) *DeviceHardware_FieldTerminalPathValue { 881 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldTerminalPathValue) 882 } 883 884 func (s DeviceHardwarePathSelectorMacAddress) WithArrayOfValues(values [][]string) *DeviceHardware_FieldTerminalPathArrayOfValues { 885 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldTerminalPathArrayOfValues) 886 } 887 888 func (s DeviceHardwarePathSelectorMacAddress) WithItemValue(value string) *DeviceHardware_FieldTerminalPathArrayItemValue { 889 return s.FieldPath().WithIArrayItemValue(value).(*DeviceHardware_FieldTerminalPathArrayItemValue) 890 } 891 892 type DeviceHardwarePathSelectorSimIccid struct{} 893 894 func (DeviceHardwarePathSelectorSimIccid) FieldPath() *DeviceHardware_FieldTerminalPath { 895 return &DeviceHardware_FieldTerminalPath{selector: DeviceHardware_FieldPathSelectorSimIccid} 896 } 897 898 func (s DeviceHardwarePathSelectorSimIccid) WithValue(value string) *DeviceHardware_FieldTerminalPathValue { 899 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldTerminalPathValue) 900 } 901 902 func (s DeviceHardwarePathSelectorSimIccid) WithArrayOfValues(values []string) *DeviceHardware_FieldTerminalPathArrayOfValues { 903 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldTerminalPathArrayOfValues) 904 } 905 906 type DeviceHardwarePathSelectorImei struct{} 907 908 func (DeviceHardwarePathSelectorImei) FieldPath() *DeviceHardware_FieldTerminalPath { 909 return &DeviceHardware_FieldTerminalPath{selector: DeviceHardware_FieldPathSelectorImei} 910 } 911 912 func (s DeviceHardwarePathSelectorImei) WithValue(value string) *DeviceHardware_FieldTerminalPathValue { 913 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldTerminalPathValue) 914 } 915 916 func (s DeviceHardwarePathSelectorImei) WithArrayOfValues(values []string) *DeviceHardware_FieldTerminalPathArrayOfValues { 917 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldTerminalPathArrayOfValues) 918 } 919 920 type DeviceHardwarePathSelectorAssociatedProvisioningPolicyName struct{} 921 922 func (DeviceHardwarePathSelectorAssociatedProvisioningPolicyName) FieldPath() *DeviceHardware_FieldTerminalPath { 923 return &DeviceHardware_FieldTerminalPath{selector: DeviceHardware_FieldPathSelectorAssociatedProvisioningPolicyName} 924 } 925 926 func (s DeviceHardwarePathSelectorAssociatedProvisioningPolicyName) WithValue(value *provisioning_policy.Reference) *DeviceHardware_FieldTerminalPathValue { 927 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldTerminalPathValue) 928 } 929 930 func (s DeviceHardwarePathSelectorAssociatedProvisioningPolicyName) WithArrayOfValues(values []*provisioning_policy.Reference) *DeviceHardware_FieldTerminalPathArrayOfValues { 931 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldTerminalPathArrayOfValues) 932 } 933 934 type DeviceHardwarePathSelectorAssociatedDevice struct{} 935 936 func (DeviceHardwarePathSelectorAssociatedDevice) FieldPath() *DeviceHardware_FieldTerminalPath { 937 return &DeviceHardware_FieldTerminalPath{selector: DeviceHardware_FieldPathSelectorAssociatedDevice} 938 } 939 940 func (s DeviceHardwarePathSelectorAssociatedDevice) WithValue(value *device.Reference) *DeviceHardware_FieldTerminalPathValue { 941 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldTerminalPathValue) 942 } 943 944 func (s DeviceHardwarePathSelectorAssociatedDevice) WithArrayOfValues(values []*device.Reference) *DeviceHardware_FieldTerminalPathArrayOfValues { 945 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldTerminalPathArrayOfValues) 946 } 947 948 type DeviceHardwarePathSelectorAssociatedSimCard struct{} 949 950 func (DeviceHardwarePathSelectorAssociatedSimCard) FieldPath() *DeviceHardware_FieldTerminalPath { 951 return &DeviceHardware_FieldTerminalPath{selector: DeviceHardware_FieldPathSelectorAssociatedSimCard} 952 } 953 954 func (s DeviceHardwarePathSelectorAssociatedSimCard) WithValue(value *cellular_api_sim_card.Reference) *DeviceHardware_FieldTerminalPathValue { 955 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldTerminalPathValue) 956 } 957 958 func (s DeviceHardwarePathSelectorAssociatedSimCard) WithArrayOfValues(values []*cellular_api_sim_card.Reference) *DeviceHardware_FieldTerminalPathArrayOfValues { 959 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldTerminalPathArrayOfValues) 960 } 961 962 type DeviceHardwarePathSelectorStatus struct{} 963 964 func (DeviceHardwarePathSelectorStatus) FieldPath() *DeviceHardware_FieldTerminalPath { 965 return &DeviceHardware_FieldTerminalPath{selector: DeviceHardware_FieldPathSelectorStatus} 966 } 967 968 func (s DeviceHardwarePathSelectorStatus) WithValue(value *DeviceHardware_Status) *DeviceHardware_FieldTerminalPathValue { 969 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldTerminalPathValue) 970 } 971 972 func (s DeviceHardwarePathSelectorStatus) WithArrayOfValues(values []*DeviceHardware_Status) *DeviceHardware_FieldTerminalPathArrayOfValues { 973 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldTerminalPathArrayOfValues) 974 } 975 976 func (DeviceHardwarePathSelectorStatus) WithSubPath(subPath DeviceHardwareStatus_FieldPath) *DeviceHardware_FieldSubPath { 977 return &DeviceHardware_FieldSubPath{selector: DeviceHardware_FieldPathSelectorStatus, subPath: subPath} 978 } 979 980 func (s DeviceHardwarePathSelectorStatus) WithSubValue(subPathValue DeviceHardwareStatus_FieldPathValue) *DeviceHardware_FieldSubPathValue { 981 return &DeviceHardware_FieldSubPathValue{DeviceHardware_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 982 } 983 984 func (s DeviceHardwarePathSelectorStatus) WithSubArrayOfValues(subPathArrayOfValues DeviceHardwareStatus_FieldPathArrayOfValues) *DeviceHardware_FieldSubPathArrayOfValues { 985 return &DeviceHardware_FieldSubPathArrayOfValues{DeviceHardware_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 986 } 987 988 func (s DeviceHardwarePathSelectorStatus) WithSubArrayItemValue(subPathArrayItemValue DeviceHardwareStatus_FieldPathArrayItemValue) *DeviceHardware_FieldSubPathArrayItemValue { 989 return &DeviceHardware_FieldSubPathArrayItemValue{DeviceHardware_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 990 } 991 992 func (DeviceHardwarePathSelectorStatus) ProvisioningState() DeviceHardwarePathSelectorStatusProvisioningState { 993 return DeviceHardwarePathSelectorStatusProvisioningState{} 994 } 995 996 type DeviceHardwarePathSelectorStatusProvisioningState struct{} 997 998 func (DeviceHardwarePathSelectorStatusProvisioningState) FieldPath() *DeviceHardware_FieldSubPath { 999 return &DeviceHardware_FieldSubPath{ 1000 selector: DeviceHardware_FieldPathSelectorStatus, 1001 subPath: NewDeviceHardwareStatusFieldPathBuilder().ProvisioningState().FieldPath(), 1002 } 1003 } 1004 1005 func (s DeviceHardwarePathSelectorStatusProvisioningState) WithValue(value DeviceHardware_Status_PROVISIONING_STATE) *DeviceHardware_FieldSubPathValue { 1006 return s.FieldPath().WithIValue(value).(*DeviceHardware_FieldSubPathValue) 1007 } 1008 1009 func (s DeviceHardwarePathSelectorStatusProvisioningState) WithArrayOfValues(values []DeviceHardware_Status_PROVISIONING_STATE) *DeviceHardware_FieldSubPathArrayOfValues { 1010 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardware_FieldSubPathArrayOfValues) 1011 } 1012 1013 type DeviceHardwareStatusFieldPathBuilder struct{} 1014 1015 func NewDeviceHardwareStatusFieldPathBuilder() DeviceHardwareStatusFieldPathBuilder { 1016 return DeviceHardwareStatusFieldPathBuilder{} 1017 } 1018 func (DeviceHardwareStatusFieldPathBuilder) ProvisioningState() DeviceHardware_StatusPathSelectorProvisioningState { 1019 return DeviceHardware_StatusPathSelectorProvisioningState{} 1020 } 1021 1022 type DeviceHardware_StatusPathSelectorProvisioningState struct{} 1023 1024 func (DeviceHardware_StatusPathSelectorProvisioningState) FieldPath() *DeviceHardwareStatus_FieldTerminalPath { 1025 return &DeviceHardwareStatus_FieldTerminalPath{selector: DeviceHardwareStatus_FieldPathSelectorProvisioningState} 1026 } 1027 1028 func (s DeviceHardware_StatusPathSelectorProvisioningState) WithValue(value DeviceHardware_Status_PROVISIONING_STATE) *DeviceHardwareStatus_FieldTerminalPathValue { 1029 return s.FieldPath().WithIValue(value).(*DeviceHardwareStatus_FieldTerminalPathValue) 1030 } 1031 1032 func (s DeviceHardware_StatusPathSelectorProvisioningState) WithArrayOfValues(values []DeviceHardware_Status_PROVISIONING_STATE) *DeviceHardwareStatus_FieldTerminalPathArrayOfValues { 1033 return s.FieldPath().WithIArrayOfValues(values).(*DeviceHardwareStatus_FieldTerminalPathArrayOfValues) 1034 }