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