github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/resources/v3/common/common.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/monitoring/proto/v3/common.proto 3 // DO NOT EDIT!!! 4 5 package common 6 7 // proto imports 8 import ( 9 durationpb "google.golang.org/protobuf/types/known/durationpb" 10 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 11 ) 12 13 // make sure we're using proto imports 14 var ( 15 _ = &durationpb.Duration{} 16 _ = ×tamppb.Timestamp{} 17 ) 18 19 type LabelDescriptorFieldPathBuilder struct{} 20 21 func NewLabelDescriptorFieldPathBuilder() LabelDescriptorFieldPathBuilder { 22 return LabelDescriptorFieldPathBuilder{} 23 } 24 func (LabelDescriptorFieldPathBuilder) Key() LabelDescriptorPathSelectorKey { 25 return LabelDescriptorPathSelectorKey{} 26 } 27 func (LabelDescriptorFieldPathBuilder) ValueType() LabelDescriptorPathSelectorValueType { 28 return LabelDescriptorPathSelectorValueType{} 29 } 30 func (LabelDescriptorFieldPathBuilder) Description() LabelDescriptorPathSelectorDescription { 31 return LabelDescriptorPathSelectorDescription{} 32 } 33 func (LabelDescriptorFieldPathBuilder) DefaultValue() LabelDescriptorPathSelectorDefaultValue { 34 return LabelDescriptorPathSelectorDefaultValue{} 35 } 36 func (LabelDescriptorFieldPathBuilder) Disabled() LabelDescriptorPathSelectorDisabled { 37 return LabelDescriptorPathSelectorDisabled{} 38 } 39 40 type LabelDescriptorPathSelectorKey struct{} 41 42 func (LabelDescriptorPathSelectorKey) FieldPath() *LabelDescriptor_FieldTerminalPath { 43 return &LabelDescriptor_FieldTerminalPath{selector: LabelDescriptor_FieldPathSelectorKey} 44 } 45 46 func (s LabelDescriptorPathSelectorKey) WithValue(value string) *LabelDescriptor_FieldTerminalPathValue { 47 return s.FieldPath().WithIValue(value).(*LabelDescriptor_FieldTerminalPathValue) 48 } 49 50 func (s LabelDescriptorPathSelectorKey) WithArrayOfValues(values []string) *LabelDescriptor_FieldTerminalPathArrayOfValues { 51 return s.FieldPath().WithIArrayOfValues(values).(*LabelDescriptor_FieldTerminalPathArrayOfValues) 52 } 53 54 type LabelDescriptorPathSelectorValueType struct{} 55 56 func (LabelDescriptorPathSelectorValueType) FieldPath() *LabelDescriptor_FieldTerminalPath { 57 return &LabelDescriptor_FieldTerminalPath{selector: LabelDescriptor_FieldPathSelectorValueType} 58 } 59 60 func (s LabelDescriptorPathSelectorValueType) WithValue(value LabelDescriptor_ValueType) *LabelDescriptor_FieldTerminalPathValue { 61 return s.FieldPath().WithIValue(value).(*LabelDescriptor_FieldTerminalPathValue) 62 } 63 64 func (s LabelDescriptorPathSelectorValueType) WithArrayOfValues(values []LabelDescriptor_ValueType) *LabelDescriptor_FieldTerminalPathArrayOfValues { 65 return s.FieldPath().WithIArrayOfValues(values).(*LabelDescriptor_FieldTerminalPathArrayOfValues) 66 } 67 68 type LabelDescriptorPathSelectorDescription struct{} 69 70 func (LabelDescriptorPathSelectorDescription) FieldPath() *LabelDescriptor_FieldTerminalPath { 71 return &LabelDescriptor_FieldTerminalPath{selector: LabelDescriptor_FieldPathSelectorDescription} 72 } 73 74 func (s LabelDescriptorPathSelectorDescription) WithValue(value string) *LabelDescriptor_FieldTerminalPathValue { 75 return s.FieldPath().WithIValue(value).(*LabelDescriptor_FieldTerminalPathValue) 76 } 77 78 func (s LabelDescriptorPathSelectorDescription) WithArrayOfValues(values []string) *LabelDescriptor_FieldTerminalPathArrayOfValues { 79 return s.FieldPath().WithIArrayOfValues(values).(*LabelDescriptor_FieldTerminalPathArrayOfValues) 80 } 81 82 type LabelDescriptorPathSelectorDefaultValue struct{} 83 84 func (LabelDescriptorPathSelectorDefaultValue) FieldPath() *LabelDescriptor_FieldTerminalPath { 85 return &LabelDescriptor_FieldTerminalPath{selector: LabelDescriptor_FieldPathSelectorDefaultValue} 86 } 87 88 func (s LabelDescriptorPathSelectorDefaultValue) WithValue(value string) *LabelDescriptor_FieldTerminalPathValue { 89 return s.FieldPath().WithIValue(value).(*LabelDescriptor_FieldTerminalPathValue) 90 } 91 92 func (s LabelDescriptorPathSelectorDefaultValue) WithArrayOfValues(values []string) *LabelDescriptor_FieldTerminalPathArrayOfValues { 93 return s.FieldPath().WithIArrayOfValues(values).(*LabelDescriptor_FieldTerminalPathArrayOfValues) 94 } 95 96 type LabelDescriptorPathSelectorDisabled struct{} 97 98 func (LabelDescriptorPathSelectorDisabled) FieldPath() *LabelDescriptor_FieldTerminalPath { 99 return &LabelDescriptor_FieldTerminalPath{selector: LabelDescriptor_FieldPathSelectorDisabled} 100 } 101 102 func (s LabelDescriptorPathSelectorDisabled) WithValue(value bool) *LabelDescriptor_FieldTerminalPathValue { 103 return s.FieldPath().WithIValue(value).(*LabelDescriptor_FieldTerminalPathValue) 104 } 105 106 func (s LabelDescriptorPathSelectorDisabled) WithArrayOfValues(values []bool) *LabelDescriptor_FieldTerminalPathArrayOfValues { 107 return s.FieldPath().WithIArrayOfValues(values).(*LabelDescriptor_FieldTerminalPathArrayOfValues) 108 } 109 110 type LabelKeySetFieldPathBuilder struct{} 111 112 func NewLabelKeySetFieldPathBuilder() LabelKeySetFieldPathBuilder { 113 return LabelKeySetFieldPathBuilder{} 114 } 115 func (LabelKeySetFieldPathBuilder) LabelKeys() LabelKeySetPathSelectorLabelKeys { 116 return LabelKeySetPathSelectorLabelKeys{} 117 } 118 func (LabelKeySetFieldPathBuilder) WriteOnly() LabelKeySetPathSelectorWriteOnly { 119 return LabelKeySetPathSelectorWriteOnly{} 120 } 121 122 type LabelKeySetPathSelectorLabelKeys struct{} 123 124 func (LabelKeySetPathSelectorLabelKeys) FieldPath() *LabelKeySet_FieldTerminalPath { 125 return &LabelKeySet_FieldTerminalPath{selector: LabelKeySet_FieldPathSelectorLabelKeys} 126 } 127 128 func (s LabelKeySetPathSelectorLabelKeys) WithValue(value []string) *LabelKeySet_FieldTerminalPathValue { 129 return s.FieldPath().WithIValue(value).(*LabelKeySet_FieldTerminalPathValue) 130 } 131 132 func (s LabelKeySetPathSelectorLabelKeys) WithArrayOfValues(values [][]string) *LabelKeySet_FieldTerminalPathArrayOfValues { 133 return s.FieldPath().WithIArrayOfValues(values).(*LabelKeySet_FieldTerminalPathArrayOfValues) 134 } 135 136 func (s LabelKeySetPathSelectorLabelKeys) WithItemValue(value string) *LabelKeySet_FieldTerminalPathArrayItemValue { 137 return s.FieldPath().WithIArrayItemValue(value).(*LabelKeySet_FieldTerminalPathArrayItemValue) 138 } 139 140 type LabelKeySetPathSelectorWriteOnly struct{} 141 142 func (LabelKeySetPathSelectorWriteOnly) FieldPath() *LabelKeySet_FieldTerminalPath { 143 return &LabelKeySet_FieldTerminalPath{selector: LabelKeySet_FieldPathSelectorWriteOnly} 144 } 145 146 func (s LabelKeySetPathSelectorWriteOnly) WithValue(value bool) *LabelKeySet_FieldTerminalPathValue { 147 return s.FieldPath().WithIValue(value).(*LabelKeySet_FieldTerminalPathValue) 148 } 149 150 func (s LabelKeySetPathSelectorWriteOnly) WithArrayOfValues(values []bool) *LabelKeySet_FieldTerminalPathArrayOfValues { 151 return s.FieldPath().WithIArrayOfValues(values).(*LabelKeySet_FieldTerminalPathArrayOfValues) 152 } 153 154 type DistributionFieldPathBuilder struct{} 155 156 func NewDistributionFieldPathBuilder() DistributionFieldPathBuilder { 157 return DistributionFieldPathBuilder{} 158 } 159 func (DistributionFieldPathBuilder) Count() DistributionPathSelectorCount { 160 return DistributionPathSelectorCount{} 161 } 162 func (DistributionFieldPathBuilder) Mean() DistributionPathSelectorMean { 163 return DistributionPathSelectorMean{} 164 } 165 func (DistributionFieldPathBuilder) SumOfSquaredDeviation() DistributionPathSelectorSumOfSquaredDeviation { 166 return DistributionPathSelectorSumOfSquaredDeviation{} 167 } 168 func (DistributionFieldPathBuilder) Range() DistributionPathSelectorRange { 169 return DistributionPathSelectorRange{} 170 } 171 func (DistributionFieldPathBuilder) BucketOptions() DistributionPathSelectorBucketOptions { 172 return DistributionPathSelectorBucketOptions{} 173 } 174 func (DistributionFieldPathBuilder) BucketCounts() DistributionPathSelectorBucketCounts { 175 return DistributionPathSelectorBucketCounts{} 176 } 177 178 type DistributionPathSelectorCount struct{} 179 180 func (DistributionPathSelectorCount) FieldPath() *Distribution_FieldTerminalPath { 181 return &Distribution_FieldTerminalPath{selector: Distribution_FieldPathSelectorCount} 182 } 183 184 func (s DistributionPathSelectorCount) WithValue(value int64) *Distribution_FieldTerminalPathValue { 185 return s.FieldPath().WithIValue(value).(*Distribution_FieldTerminalPathValue) 186 } 187 188 func (s DistributionPathSelectorCount) WithArrayOfValues(values []int64) *Distribution_FieldTerminalPathArrayOfValues { 189 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldTerminalPathArrayOfValues) 190 } 191 192 type DistributionPathSelectorMean struct{} 193 194 func (DistributionPathSelectorMean) FieldPath() *Distribution_FieldTerminalPath { 195 return &Distribution_FieldTerminalPath{selector: Distribution_FieldPathSelectorMean} 196 } 197 198 func (s DistributionPathSelectorMean) WithValue(value float64) *Distribution_FieldTerminalPathValue { 199 return s.FieldPath().WithIValue(value).(*Distribution_FieldTerminalPathValue) 200 } 201 202 func (s DistributionPathSelectorMean) WithArrayOfValues(values []float64) *Distribution_FieldTerminalPathArrayOfValues { 203 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldTerminalPathArrayOfValues) 204 } 205 206 type DistributionPathSelectorSumOfSquaredDeviation struct{} 207 208 func (DistributionPathSelectorSumOfSquaredDeviation) FieldPath() *Distribution_FieldTerminalPath { 209 return &Distribution_FieldTerminalPath{selector: Distribution_FieldPathSelectorSumOfSquaredDeviation} 210 } 211 212 func (s DistributionPathSelectorSumOfSquaredDeviation) WithValue(value float64) *Distribution_FieldTerminalPathValue { 213 return s.FieldPath().WithIValue(value).(*Distribution_FieldTerminalPathValue) 214 } 215 216 func (s DistributionPathSelectorSumOfSquaredDeviation) WithArrayOfValues(values []float64) *Distribution_FieldTerminalPathArrayOfValues { 217 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldTerminalPathArrayOfValues) 218 } 219 220 type DistributionPathSelectorRange struct{} 221 222 func (DistributionPathSelectorRange) FieldPath() *Distribution_FieldTerminalPath { 223 return &Distribution_FieldTerminalPath{selector: Distribution_FieldPathSelectorRange} 224 } 225 226 func (s DistributionPathSelectorRange) WithValue(value *Distribution_Range) *Distribution_FieldTerminalPathValue { 227 return s.FieldPath().WithIValue(value).(*Distribution_FieldTerminalPathValue) 228 } 229 230 func (s DistributionPathSelectorRange) WithArrayOfValues(values []*Distribution_Range) *Distribution_FieldTerminalPathArrayOfValues { 231 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldTerminalPathArrayOfValues) 232 } 233 234 func (DistributionPathSelectorRange) WithSubPath(subPath DistributionRange_FieldPath) *Distribution_FieldSubPath { 235 return &Distribution_FieldSubPath{selector: Distribution_FieldPathSelectorRange, subPath: subPath} 236 } 237 238 func (s DistributionPathSelectorRange) WithSubValue(subPathValue DistributionRange_FieldPathValue) *Distribution_FieldSubPathValue { 239 return &Distribution_FieldSubPathValue{Distribution_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 240 } 241 242 func (s DistributionPathSelectorRange) WithSubArrayOfValues(subPathArrayOfValues DistributionRange_FieldPathArrayOfValues) *Distribution_FieldSubPathArrayOfValues { 243 return &Distribution_FieldSubPathArrayOfValues{Distribution_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 244 } 245 246 func (s DistributionPathSelectorRange) WithSubArrayItemValue(subPathArrayItemValue DistributionRange_FieldPathArrayItemValue) *Distribution_FieldSubPathArrayItemValue { 247 return &Distribution_FieldSubPathArrayItemValue{Distribution_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 248 } 249 250 func (DistributionPathSelectorRange) Min() DistributionPathSelectorRangeMin { 251 return DistributionPathSelectorRangeMin{} 252 } 253 254 func (DistributionPathSelectorRange) Max() DistributionPathSelectorRangeMax { 255 return DistributionPathSelectorRangeMax{} 256 } 257 258 type DistributionPathSelectorRangeMin struct{} 259 260 func (DistributionPathSelectorRangeMin) FieldPath() *Distribution_FieldSubPath { 261 return &Distribution_FieldSubPath{ 262 selector: Distribution_FieldPathSelectorRange, 263 subPath: NewDistributionRangeFieldPathBuilder().Min().FieldPath(), 264 } 265 } 266 267 func (s DistributionPathSelectorRangeMin) WithValue(value float64) *Distribution_FieldSubPathValue { 268 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 269 } 270 271 func (s DistributionPathSelectorRangeMin) WithArrayOfValues(values []float64) *Distribution_FieldSubPathArrayOfValues { 272 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 273 } 274 275 type DistributionPathSelectorRangeMax struct{} 276 277 func (DistributionPathSelectorRangeMax) FieldPath() *Distribution_FieldSubPath { 278 return &Distribution_FieldSubPath{ 279 selector: Distribution_FieldPathSelectorRange, 280 subPath: NewDistributionRangeFieldPathBuilder().Max().FieldPath(), 281 } 282 } 283 284 func (s DistributionPathSelectorRangeMax) WithValue(value float64) *Distribution_FieldSubPathValue { 285 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 286 } 287 288 func (s DistributionPathSelectorRangeMax) WithArrayOfValues(values []float64) *Distribution_FieldSubPathArrayOfValues { 289 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 290 } 291 292 type DistributionPathSelectorBucketOptions struct{} 293 294 func (DistributionPathSelectorBucketOptions) FieldPath() *Distribution_FieldTerminalPath { 295 return &Distribution_FieldTerminalPath{selector: Distribution_FieldPathSelectorBucketOptions} 296 } 297 298 func (s DistributionPathSelectorBucketOptions) WithValue(value *Distribution_BucketOptions) *Distribution_FieldTerminalPathValue { 299 return s.FieldPath().WithIValue(value).(*Distribution_FieldTerminalPathValue) 300 } 301 302 func (s DistributionPathSelectorBucketOptions) WithArrayOfValues(values []*Distribution_BucketOptions) *Distribution_FieldTerminalPathArrayOfValues { 303 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldTerminalPathArrayOfValues) 304 } 305 306 func (DistributionPathSelectorBucketOptions) WithSubPath(subPath DistributionBucketOptions_FieldPath) *Distribution_FieldSubPath { 307 return &Distribution_FieldSubPath{selector: Distribution_FieldPathSelectorBucketOptions, subPath: subPath} 308 } 309 310 func (s DistributionPathSelectorBucketOptions) WithSubValue(subPathValue DistributionBucketOptions_FieldPathValue) *Distribution_FieldSubPathValue { 311 return &Distribution_FieldSubPathValue{Distribution_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 312 } 313 314 func (s DistributionPathSelectorBucketOptions) WithSubArrayOfValues(subPathArrayOfValues DistributionBucketOptions_FieldPathArrayOfValues) *Distribution_FieldSubPathArrayOfValues { 315 return &Distribution_FieldSubPathArrayOfValues{Distribution_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 316 } 317 318 func (s DistributionPathSelectorBucketOptions) WithSubArrayItemValue(subPathArrayItemValue DistributionBucketOptions_FieldPathArrayItemValue) *Distribution_FieldSubPathArrayItemValue { 319 return &Distribution_FieldSubPathArrayItemValue{Distribution_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 320 } 321 322 func (DistributionPathSelectorBucketOptions) LinearBuckets() DistributionPathSelectorBucketOptionsLinearBuckets { 323 return DistributionPathSelectorBucketOptionsLinearBuckets{} 324 } 325 326 func (DistributionPathSelectorBucketOptions) ExponentialBuckets() DistributionPathSelectorBucketOptionsExponentialBuckets { 327 return DistributionPathSelectorBucketOptionsExponentialBuckets{} 328 } 329 330 func (DistributionPathSelectorBucketOptions) ExplicitBuckets() DistributionPathSelectorBucketOptionsExplicitBuckets { 331 return DistributionPathSelectorBucketOptionsExplicitBuckets{} 332 } 333 334 func (DistributionPathSelectorBucketOptions) DynamicBuckets() DistributionPathSelectorBucketOptionsDynamicBuckets { 335 return DistributionPathSelectorBucketOptionsDynamicBuckets{} 336 } 337 338 type DistributionPathSelectorBucketOptionsLinearBuckets struct{} 339 340 func (DistributionPathSelectorBucketOptionsLinearBuckets) FieldPath() *Distribution_FieldSubPath { 341 return &Distribution_FieldSubPath{ 342 selector: Distribution_FieldPathSelectorBucketOptions, 343 subPath: NewDistributionBucketOptionsFieldPathBuilder().LinearBuckets().FieldPath(), 344 } 345 } 346 347 func (s DistributionPathSelectorBucketOptionsLinearBuckets) WithValue(value *Distribution_BucketOptions_Linear) *Distribution_FieldSubPathValue { 348 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 349 } 350 351 func (s DistributionPathSelectorBucketOptionsLinearBuckets) WithArrayOfValues(values []*Distribution_BucketOptions_Linear) *Distribution_FieldSubPathArrayOfValues { 352 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 353 } 354 355 func (DistributionPathSelectorBucketOptionsLinearBuckets) NumFiniteBuckets() DistributionPathSelectorBucketOptionsLinearBucketsNumFiniteBuckets { 356 return DistributionPathSelectorBucketOptionsLinearBucketsNumFiniteBuckets{} 357 } 358 359 func (DistributionPathSelectorBucketOptionsLinearBuckets) Width() DistributionPathSelectorBucketOptionsLinearBucketsWidth { 360 return DistributionPathSelectorBucketOptionsLinearBucketsWidth{} 361 } 362 363 func (DistributionPathSelectorBucketOptionsLinearBuckets) Offset() DistributionPathSelectorBucketOptionsLinearBucketsOffset { 364 return DistributionPathSelectorBucketOptionsLinearBucketsOffset{} 365 } 366 367 type DistributionPathSelectorBucketOptionsLinearBucketsNumFiniteBuckets struct{} 368 369 func (DistributionPathSelectorBucketOptionsLinearBucketsNumFiniteBuckets) FieldPath() *Distribution_FieldSubPath { 370 return &Distribution_FieldSubPath{ 371 selector: Distribution_FieldPathSelectorBucketOptions, 372 subPath: NewDistributionBucketOptionsFieldPathBuilder().LinearBuckets().NumFiniteBuckets().FieldPath(), 373 } 374 } 375 376 func (s DistributionPathSelectorBucketOptionsLinearBucketsNumFiniteBuckets) WithValue(value int32) *Distribution_FieldSubPathValue { 377 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 378 } 379 380 func (s DistributionPathSelectorBucketOptionsLinearBucketsNumFiniteBuckets) WithArrayOfValues(values []int32) *Distribution_FieldSubPathArrayOfValues { 381 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 382 } 383 384 type DistributionPathSelectorBucketOptionsLinearBucketsWidth struct{} 385 386 func (DistributionPathSelectorBucketOptionsLinearBucketsWidth) FieldPath() *Distribution_FieldSubPath { 387 return &Distribution_FieldSubPath{ 388 selector: Distribution_FieldPathSelectorBucketOptions, 389 subPath: NewDistributionBucketOptionsFieldPathBuilder().LinearBuckets().Width().FieldPath(), 390 } 391 } 392 393 func (s DistributionPathSelectorBucketOptionsLinearBucketsWidth) WithValue(value float64) *Distribution_FieldSubPathValue { 394 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 395 } 396 397 func (s DistributionPathSelectorBucketOptionsLinearBucketsWidth) WithArrayOfValues(values []float64) *Distribution_FieldSubPathArrayOfValues { 398 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 399 } 400 401 type DistributionPathSelectorBucketOptionsLinearBucketsOffset struct{} 402 403 func (DistributionPathSelectorBucketOptionsLinearBucketsOffset) FieldPath() *Distribution_FieldSubPath { 404 return &Distribution_FieldSubPath{ 405 selector: Distribution_FieldPathSelectorBucketOptions, 406 subPath: NewDistributionBucketOptionsFieldPathBuilder().LinearBuckets().Offset().FieldPath(), 407 } 408 } 409 410 func (s DistributionPathSelectorBucketOptionsLinearBucketsOffset) WithValue(value float64) *Distribution_FieldSubPathValue { 411 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 412 } 413 414 func (s DistributionPathSelectorBucketOptionsLinearBucketsOffset) WithArrayOfValues(values []float64) *Distribution_FieldSubPathArrayOfValues { 415 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 416 } 417 418 type DistributionPathSelectorBucketOptionsExponentialBuckets struct{} 419 420 func (DistributionPathSelectorBucketOptionsExponentialBuckets) FieldPath() *Distribution_FieldSubPath { 421 return &Distribution_FieldSubPath{ 422 selector: Distribution_FieldPathSelectorBucketOptions, 423 subPath: NewDistributionBucketOptionsFieldPathBuilder().ExponentialBuckets().FieldPath(), 424 } 425 } 426 427 func (s DistributionPathSelectorBucketOptionsExponentialBuckets) WithValue(value *Distribution_BucketOptions_Exponential) *Distribution_FieldSubPathValue { 428 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 429 } 430 431 func (s DistributionPathSelectorBucketOptionsExponentialBuckets) WithArrayOfValues(values []*Distribution_BucketOptions_Exponential) *Distribution_FieldSubPathArrayOfValues { 432 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 433 } 434 435 func (DistributionPathSelectorBucketOptionsExponentialBuckets) NumFiniteBuckets() DistributionPathSelectorBucketOptionsExponentialBucketsNumFiniteBuckets { 436 return DistributionPathSelectorBucketOptionsExponentialBucketsNumFiniteBuckets{} 437 } 438 439 func (DistributionPathSelectorBucketOptionsExponentialBuckets) GrowthFactor() DistributionPathSelectorBucketOptionsExponentialBucketsGrowthFactor { 440 return DistributionPathSelectorBucketOptionsExponentialBucketsGrowthFactor{} 441 } 442 443 func (DistributionPathSelectorBucketOptionsExponentialBuckets) Scale() DistributionPathSelectorBucketOptionsExponentialBucketsScale { 444 return DistributionPathSelectorBucketOptionsExponentialBucketsScale{} 445 } 446 447 type DistributionPathSelectorBucketOptionsExponentialBucketsNumFiniteBuckets struct{} 448 449 func (DistributionPathSelectorBucketOptionsExponentialBucketsNumFiniteBuckets) FieldPath() *Distribution_FieldSubPath { 450 return &Distribution_FieldSubPath{ 451 selector: Distribution_FieldPathSelectorBucketOptions, 452 subPath: NewDistributionBucketOptionsFieldPathBuilder().ExponentialBuckets().NumFiniteBuckets().FieldPath(), 453 } 454 } 455 456 func (s DistributionPathSelectorBucketOptionsExponentialBucketsNumFiniteBuckets) WithValue(value int32) *Distribution_FieldSubPathValue { 457 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 458 } 459 460 func (s DistributionPathSelectorBucketOptionsExponentialBucketsNumFiniteBuckets) WithArrayOfValues(values []int32) *Distribution_FieldSubPathArrayOfValues { 461 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 462 } 463 464 type DistributionPathSelectorBucketOptionsExponentialBucketsGrowthFactor struct{} 465 466 func (DistributionPathSelectorBucketOptionsExponentialBucketsGrowthFactor) FieldPath() *Distribution_FieldSubPath { 467 return &Distribution_FieldSubPath{ 468 selector: Distribution_FieldPathSelectorBucketOptions, 469 subPath: NewDistributionBucketOptionsFieldPathBuilder().ExponentialBuckets().GrowthFactor().FieldPath(), 470 } 471 } 472 473 func (s DistributionPathSelectorBucketOptionsExponentialBucketsGrowthFactor) WithValue(value float64) *Distribution_FieldSubPathValue { 474 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 475 } 476 477 func (s DistributionPathSelectorBucketOptionsExponentialBucketsGrowthFactor) WithArrayOfValues(values []float64) *Distribution_FieldSubPathArrayOfValues { 478 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 479 } 480 481 type DistributionPathSelectorBucketOptionsExponentialBucketsScale struct{} 482 483 func (DistributionPathSelectorBucketOptionsExponentialBucketsScale) FieldPath() *Distribution_FieldSubPath { 484 return &Distribution_FieldSubPath{ 485 selector: Distribution_FieldPathSelectorBucketOptions, 486 subPath: NewDistributionBucketOptionsFieldPathBuilder().ExponentialBuckets().Scale().FieldPath(), 487 } 488 } 489 490 func (s DistributionPathSelectorBucketOptionsExponentialBucketsScale) WithValue(value float64) *Distribution_FieldSubPathValue { 491 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 492 } 493 494 func (s DistributionPathSelectorBucketOptionsExponentialBucketsScale) WithArrayOfValues(values []float64) *Distribution_FieldSubPathArrayOfValues { 495 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 496 } 497 498 type DistributionPathSelectorBucketOptionsExplicitBuckets struct{} 499 500 func (DistributionPathSelectorBucketOptionsExplicitBuckets) FieldPath() *Distribution_FieldSubPath { 501 return &Distribution_FieldSubPath{ 502 selector: Distribution_FieldPathSelectorBucketOptions, 503 subPath: NewDistributionBucketOptionsFieldPathBuilder().ExplicitBuckets().FieldPath(), 504 } 505 } 506 507 func (s DistributionPathSelectorBucketOptionsExplicitBuckets) WithValue(value *Distribution_BucketOptions_Explicit) *Distribution_FieldSubPathValue { 508 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 509 } 510 511 func (s DistributionPathSelectorBucketOptionsExplicitBuckets) WithArrayOfValues(values []*Distribution_BucketOptions_Explicit) *Distribution_FieldSubPathArrayOfValues { 512 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 513 } 514 515 func (DistributionPathSelectorBucketOptionsExplicitBuckets) Bounds() DistributionPathSelectorBucketOptionsExplicitBucketsBounds { 516 return DistributionPathSelectorBucketOptionsExplicitBucketsBounds{} 517 } 518 519 type DistributionPathSelectorBucketOptionsExplicitBucketsBounds struct{} 520 521 func (DistributionPathSelectorBucketOptionsExplicitBucketsBounds) FieldPath() *Distribution_FieldSubPath { 522 return &Distribution_FieldSubPath{ 523 selector: Distribution_FieldPathSelectorBucketOptions, 524 subPath: NewDistributionBucketOptionsFieldPathBuilder().ExplicitBuckets().Bounds().FieldPath(), 525 } 526 } 527 528 func (s DistributionPathSelectorBucketOptionsExplicitBucketsBounds) WithValue(value []float64) *Distribution_FieldSubPathValue { 529 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 530 } 531 532 func (s DistributionPathSelectorBucketOptionsExplicitBucketsBounds) WithArrayOfValues(values [][]float64) *Distribution_FieldSubPathArrayOfValues { 533 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 534 } 535 536 func (s DistributionPathSelectorBucketOptionsExplicitBucketsBounds) WithItemValue(value float64) *Distribution_FieldSubPathArrayItemValue { 537 return s.FieldPath().WithIArrayItemValue(value).(*Distribution_FieldSubPathArrayItemValue) 538 } 539 540 type DistributionPathSelectorBucketOptionsDynamicBuckets struct{} 541 542 func (DistributionPathSelectorBucketOptionsDynamicBuckets) FieldPath() *Distribution_FieldSubPath { 543 return &Distribution_FieldSubPath{ 544 selector: Distribution_FieldPathSelectorBucketOptions, 545 subPath: NewDistributionBucketOptionsFieldPathBuilder().DynamicBuckets().FieldPath(), 546 } 547 } 548 549 func (s DistributionPathSelectorBucketOptionsDynamicBuckets) WithValue(value *Distribution_BucketOptions_Dynamic) *Distribution_FieldSubPathValue { 550 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 551 } 552 553 func (s DistributionPathSelectorBucketOptionsDynamicBuckets) WithArrayOfValues(values []*Distribution_BucketOptions_Dynamic) *Distribution_FieldSubPathArrayOfValues { 554 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 555 } 556 557 func (DistributionPathSelectorBucketOptionsDynamicBuckets) Compression() DistributionPathSelectorBucketOptionsDynamicBucketsCompression { 558 return DistributionPathSelectorBucketOptionsDynamicBucketsCompression{} 559 } 560 561 func (DistributionPathSelectorBucketOptionsDynamicBuckets) Means() DistributionPathSelectorBucketOptionsDynamicBucketsMeans { 562 return DistributionPathSelectorBucketOptionsDynamicBucketsMeans{} 563 } 564 565 type DistributionPathSelectorBucketOptionsDynamicBucketsCompression struct{} 566 567 func (DistributionPathSelectorBucketOptionsDynamicBucketsCompression) FieldPath() *Distribution_FieldSubPath { 568 return &Distribution_FieldSubPath{ 569 selector: Distribution_FieldPathSelectorBucketOptions, 570 subPath: NewDistributionBucketOptionsFieldPathBuilder().DynamicBuckets().Compression().FieldPath(), 571 } 572 } 573 574 func (s DistributionPathSelectorBucketOptionsDynamicBucketsCompression) WithValue(value float64) *Distribution_FieldSubPathValue { 575 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 576 } 577 578 func (s DistributionPathSelectorBucketOptionsDynamicBucketsCompression) WithArrayOfValues(values []float64) *Distribution_FieldSubPathArrayOfValues { 579 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 580 } 581 582 type DistributionPathSelectorBucketOptionsDynamicBucketsMeans struct{} 583 584 func (DistributionPathSelectorBucketOptionsDynamicBucketsMeans) FieldPath() *Distribution_FieldSubPath { 585 return &Distribution_FieldSubPath{ 586 selector: Distribution_FieldPathSelectorBucketOptions, 587 subPath: NewDistributionBucketOptionsFieldPathBuilder().DynamicBuckets().Means().FieldPath(), 588 } 589 } 590 591 func (s DistributionPathSelectorBucketOptionsDynamicBucketsMeans) WithValue(value []float64) *Distribution_FieldSubPathValue { 592 return s.FieldPath().WithIValue(value).(*Distribution_FieldSubPathValue) 593 } 594 595 func (s DistributionPathSelectorBucketOptionsDynamicBucketsMeans) WithArrayOfValues(values [][]float64) *Distribution_FieldSubPathArrayOfValues { 596 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldSubPathArrayOfValues) 597 } 598 599 func (s DistributionPathSelectorBucketOptionsDynamicBucketsMeans) WithItemValue(value float64) *Distribution_FieldSubPathArrayItemValue { 600 return s.FieldPath().WithIArrayItemValue(value).(*Distribution_FieldSubPathArrayItemValue) 601 } 602 603 type DistributionPathSelectorBucketCounts struct{} 604 605 func (DistributionPathSelectorBucketCounts) FieldPath() *Distribution_FieldTerminalPath { 606 return &Distribution_FieldTerminalPath{selector: Distribution_FieldPathSelectorBucketCounts} 607 } 608 609 func (s DistributionPathSelectorBucketCounts) WithValue(value []int64) *Distribution_FieldTerminalPathValue { 610 return s.FieldPath().WithIValue(value).(*Distribution_FieldTerminalPathValue) 611 } 612 613 func (s DistributionPathSelectorBucketCounts) WithArrayOfValues(values [][]int64) *Distribution_FieldTerminalPathArrayOfValues { 614 return s.FieldPath().WithIArrayOfValues(values).(*Distribution_FieldTerminalPathArrayOfValues) 615 } 616 617 func (s DistributionPathSelectorBucketCounts) WithItemValue(value int64) *Distribution_FieldTerminalPathArrayItemValue { 618 return s.FieldPath().WithIArrayItemValue(value).(*Distribution_FieldTerminalPathArrayItemValue) 619 } 620 621 type DistributionRangeFieldPathBuilder struct{} 622 623 func NewDistributionRangeFieldPathBuilder() DistributionRangeFieldPathBuilder { 624 return DistributionRangeFieldPathBuilder{} 625 } 626 func (DistributionRangeFieldPathBuilder) Min() Distribution_RangePathSelectorMin { 627 return Distribution_RangePathSelectorMin{} 628 } 629 func (DistributionRangeFieldPathBuilder) Max() Distribution_RangePathSelectorMax { 630 return Distribution_RangePathSelectorMax{} 631 } 632 633 type Distribution_RangePathSelectorMin struct{} 634 635 func (Distribution_RangePathSelectorMin) FieldPath() *DistributionRange_FieldTerminalPath { 636 return &DistributionRange_FieldTerminalPath{selector: DistributionRange_FieldPathSelectorMin} 637 } 638 639 func (s Distribution_RangePathSelectorMin) WithValue(value float64) *DistributionRange_FieldTerminalPathValue { 640 return s.FieldPath().WithIValue(value).(*DistributionRange_FieldTerminalPathValue) 641 } 642 643 func (s Distribution_RangePathSelectorMin) WithArrayOfValues(values []float64) *DistributionRange_FieldTerminalPathArrayOfValues { 644 return s.FieldPath().WithIArrayOfValues(values).(*DistributionRange_FieldTerminalPathArrayOfValues) 645 } 646 647 type Distribution_RangePathSelectorMax struct{} 648 649 func (Distribution_RangePathSelectorMax) FieldPath() *DistributionRange_FieldTerminalPath { 650 return &DistributionRange_FieldTerminalPath{selector: DistributionRange_FieldPathSelectorMax} 651 } 652 653 func (s Distribution_RangePathSelectorMax) WithValue(value float64) *DistributionRange_FieldTerminalPathValue { 654 return s.FieldPath().WithIValue(value).(*DistributionRange_FieldTerminalPathValue) 655 } 656 657 func (s Distribution_RangePathSelectorMax) WithArrayOfValues(values []float64) *DistributionRange_FieldTerminalPathArrayOfValues { 658 return s.FieldPath().WithIArrayOfValues(values).(*DistributionRange_FieldTerminalPathArrayOfValues) 659 } 660 661 type DistributionBucketOptionsFieldPathBuilder struct{} 662 663 func NewDistributionBucketOptionsFieldPathBuilder() DistributionBucketOptionsFieldPathBuilder { 664 return DistributionBucketOptionsFieldPathBuilder{} 665 } 666 func (DistributionBucketOptionsFieldPathBuilder) LinearBuckets() Distribution_BucketOptionsPathSelectorLinearBuckets { 667 return Distribution_BucketOptionsPathSelectorLinearBuckets{} 668 } 669 func (DistributionBucketOptionsFieldPathBuilder) ExponentialBuckets() Distribution_BucketOptionsPathSelectorExponentialBuckets { 670 return Distribution_BucketOptionsPathSelectorExponentialBuckets{} 671 } 672 func (DistributionBucketOptionsFieldPathBuilder) ExplicitBuckets() Distribution_BucketOptionsPathSelectorExplicitBuckets { 673 return Distribution_BucketOptionsPathSelectorExplicitBuckets{} 674 } 675 func (DistributionBucketOptionsFieldPathBuilder) DynamicBuckets() Distribution_BucketOptionsPathSelectorDynamicBuckets { 676 return Distribution_BucketOptionsPathSelectorDynamicBuckets{} 677 } 678 679 type Distribution_BucketOptionsPathSelectorLinearBuckets struct{} 680 681 func (Distribution_BucketOptionsPathSelectorLinearBuckets) FieldPath() *DistributionBucketOptions_FieldTerminalPath { 682 return &DistributionBucketOptions_FieldTerminalPath{selector: DistributionBucketOptions_FieldPathSelectorLinearBuckets} 683 } 684 685 func (s Distribution_BucketOptionsPathSelectorLinearBuckets) WithValue(value *Distribution_BucketOptions_Linear) *DistributionBucketOptions_FieldTerminalPathValue { 686 return s.FieldPath().WithIValue(value).(*DistributionBucketOptions_FieldTerminalPathValue) 687 } 688 689 func (s Distribution_BucketOptionsPathSelectorLinearBuckets) WithArrayOfValues(values []*Distribution_BucketOptions_Linear) *DistributionBucketOptions_FieldTerminalPathArrayOfValues { 690 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptions_FieldTerminalPathArrayOfValues) 691 } 692 693 func (Distribution_BucketOptionsPathSelectorLinearBuckets) WithSubPath(subPath DistributionBucketOptionsLinear_FieldPath) *DistributionBucketOptions_FieldSubPath { 694 return &DistributionBucketOptions_FieldSubPath{selector: DistributionBucketOptions_FieldPathSelectorLinearBuckets, subPath: subPath} 695 } 696 697 func (s Distribution_BucketOptionsPathSelectorLinearBuckets) WithSubValue(subPathValue DistributionBucketOptionsLinear_FieldPathValue) *DistributionBucketOptions_FieldSubPathValue { 698 return &DistributionBucketOptions_FieldSubPathValue{DistributionBucketOptions_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 699 } 700 701 func (s Distribution_BucketOptionsPathSelectorLinearBuckets) WithSubArrayOfValues(subPathArrayOfValues DistributionBucketOptionsLinear_FieldPathArrayOfValues) *DistributionBucketOptions_FieldSubPathArrayOfValues { 702 return &DistributionBucketOptions_FieldSubPathArrayOfValues{DistributionBucketOptions_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 703 } 704 705 func (s Distribution_BucketOptionsPathSelectorLinearBuckets) WithSubArrayItemValue(subPathArrayItemValue DistributionBucketOptionsLinear_FieldPathArrayItemValue) *DistributionBucketOptions_FieldSubPathArrayItemValue { 706 return &DistributionBucketOptions_FieldSubPathArrayItemValue{DistributionBucketOptions_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 707 } 708 709 func (Distribution_BucketOptionsPathSelectorLinearBuckets) NumFiniteBuckets() Distribution_BucketOptionsPathSelectorLinearBucketsNumFiniteBuckets { 710 return Distribution_BucketOptionsPathSelectorLinearBucketsNumFiniteBuckets{} 711 } 712 713 func (Distribution_BucketOptionsPathSelectorLinearBuckets) Width() Distribution_BucketOptionsPathSelectorLinearBucketsWidth { 714 return Distribution_BucketOptionsPathSelectorLinearBucketsWidth{} 715 } 716 717 func (Distribution_BucketOptionsPathSelectorLinearBuckets) Offset() Distribution_BucketOptionsPathSelectorLinearBucketsOffset { 718 return Distribution_BucketOptionsPathSelectorLinearBucketsOffset{} 719 } 720 721 type Distribution_BucketOptionsPathSelectorLinearBucketsNumFiniteBuckets struct{} 722 723 func (Distribution_BucketOptionsPathSelectorLinearBucketsNumFiniteBuckets) FieldPath() *DistributionBucketOptions_FieldSubPath { 724 return &DistributionBucketOptions_FieldSubPath{ 725 selector: DistributionBucketOptions_FieldPathSelectorLinearBuckets, 726 subPath: NewDistributionBucketOptionsLinearFieldPathBuilder().NumFiniteBuckets().FieldPath(), 727 } 728 } 729 730 func (s Distribution_BucketOptionsPathSelectorLinearBucketsNumFiniteBuckets) WithValue(value int32) *DistributionBucketOptions_FieldSubPathValue { 731 return s.FieldPath().WithIValue(value).(*DistributionBucketOptions_FieldSubPathValue) 732 } 733 734 func (s Distribution_BucketOptionsPathSelectorLinearBucketsNumFiniteBuckets) WithArrayOfValues(values []int32) *DistributionBucketOptions_FieldSubPathArrayOfValues { 735 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptions_FieldSubPathArrayOfValues) 736 } 737 738 type Distribution_BucketOptionsPathSelectorLinearBucketsWidth struct{} 739 740 func (Distribution_BucketOptionsPathSelectorLinearBucketsWidth) FieldPath() *DistributionBucketOptions_FieldSubPath { 741 return &DistributionBucketOptions_FieldSubPath{ 742 selector: DistributionBucketOptions_FieldPathSelectorLinearBuckets, 743 subPath: NewDistributionBucketOptionsLinearFieldPathBuilder().Width().FieldPath(), 744 } 745 } 746 747 func (s Distribution_BucketOptionsPathSelectorLinearBucketsWidth) WithValue(value float64) *DistributionBucketOptions_FieldSubPathValue { 748 return s.FieldPath().WithIValue(value).(*DistributionBucketOptions_FieldSubPathValue) 749 } 750 751 func (s Distribution_BucketOptionsPathSelectorLinearBucketsWidth) WithArrayOfValues(values []float64) *DistributionBucketOptions_FieldSubPathArrayOfValues { 752 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptions_FieldSubPathArrayOfValues) 753 } 754 755 type Distribution_BucketOptionsPathSelectorLinearBucketsOffset struct{} 756 757 func (Distribution_BucketOptionsPathSelectorLinearBucketsOffset) FieldPath() *DistributionBucketOptions_FieldSubPath { 758 return &DistributionBucketOptions_FieldSubPath{ 759 selector: DistributionBucketOptions_FieldPathSelectorLinearBuckets, 760 subPath: NewDistributionBucketOptionsLinearFieldPathBuilder().Offset().FieldPath(), 761 } 762 } 763 764 func (s Distribution_BucketOptionsPathSelectorLinearBucketsOffset) WithValue(value float64) *DistributionBucketOptions_FieldSubPathValue { 765 return s.FieldPath().WithIValue(value).(*DistributionBucketOptions_FieldSubPathValue) 766 } 767 768 func (s Distribution_BucketOptionsPathSelectorLinearBucketsOffset) WithArrayOfValues(values []float64) *DistributionBucketOptions_FieldSubPathArrayOfValues { 769 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptions_FieldSubPathArrayOfValues) 770 } 771 772 type Distribution_BucketOptionsPathSelectorExponentialBuckets struct{} 773 774 func (Distribution_BucketOptionsPathSelectorExponentialBuckets) FieldPath() *DistributionBucketOptions_FieldTerminalPath { 775 return &DistributionBucketOptions_FieldTerminalPath{selector: DistributionBucketOptions_FieldPathSelectorExponentialBuckets} 776 } 777 778 func (s Distribution_BucketOptionsPathSelectorExponentialBuckets) WithValue(value *Distribution_BucketOptions_Exponential) *DistributionBucketOptions_FieldTerminalPathValue { 779 return s.FieldPath().WithIValue(value).(*DistributionBucketOptions_FieldTerminalPathValue) 780 } 781 782 func (s Distribution_BucketOptionsPathSelectorExponentialBuckets) WithArrayOfValues(values []*Distribution_BucketOptions_Exponential) *DistributionBucketOptions_FieldTerminalPathArrayOfValues { 783 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptions_FieldTerminalPathArrayOfValues) 784 } 785 786 func (Distribution_BucketOptionsPathSelectorExponentialBuckets) WithSubPath(subPath DistributionBucketOptionsExponential_FieldPath) *DistributionBucketOptions_FieldSubPath { 787 return &DistributionBucketOptions_FieldSubPath{selector: DistributionBucketOptions_FieldPathSelectorExponentialBuckets, subPath: subPath} 788 } 789 790 func (s Distribution_BucketOptionsPathSelectorExponentialBuckets) WithSubValue(subPathValue DistributionBucketOptionsExponential_FieldPathValue) *DistributionBucketOptions_FieldSubPathValue { 791 return &DistributionBucketOptions_FieldSubPathValue{DistributionBucketOptions_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 792 } 793 794 func (s Distribution_BucketOptionsPathSelectorExponentialBuckets) WithSubArrayOfValues(subPathArrayOfValues DistributionBucketOptionsExponential_FieldPathArrayOfValues) *DistributionBucketOptions_FieldSubPathArrayOfValues { 795 return &DistributionBucketOptions_FieldSubPathArrayOfValues{DistributionBucketOptions_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 796 } 797 798 func (s Distribution_BucketOptionsPathSelectorExponentialBuckets) WithSubArrayItemValue(subPathArrayItemValue DistributionBucketOptionsExponential_FieldPathArrayItemValue) *DistributionBucketOptions_FieldSubPathArrayItemValue { 799 return &DistributionBucketOptions_FieldSubPathArrayItemValue{DistributionBucketOptions_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 800 } 801 802 func (Distribution_BucketOptionsPathSelectorExponentialBuckets) NumFiniteBuckets() Distribution_BucketOptionsPathSelectorExponentialBucketsNumFiniteBuckets { 803 return Distribution_BucketOptionsPathSelectorExponentialBucketsNumFiniteBuckets{} 804 } 805 806 func (Distribution_BucketOptionsPathSelectorExponentialBuckets) GrowthFactor() Distribution_BucketOptionsPathSelectorExponentialBucketsGrowthFactor { 807 return Distribution_BucketOptionsPathSelectorExponentialBucketsGrowthFactor{} 808 } 809 810 func (Distribution_BucketOptionsPathSelectorExponentialBuckets) Scale() Distribution_BucketOptionsPathSelectorExponentialBucketsScale { 811 return Distribution_BucketOptionsPathSelectorExponentialBucketsScale{} 812 } 813 814 type Distribution_BucketOptionsPathSelectorExponentialBucketsNumFiniteBuckets struct{} 815 816 func (Distribution_BucketOptionsPathSelectorExponentialBucketsNumFiniteBuckets) FieldPath() *DistributionBucketOptions_FieldSubPath { 817 return &DistributionBucketOptions_FieldSubPath{ 818 selector: DistributionBucketOptions_FieldPathSelectorExponentialBuckets, 819 subPath: NewDistributionBucketOptionsExponentialFieldPathBuilder().NumFiniteBuckets().FieldPath(), 820 } 821 } 822 823 func (s Distribution_BucketOptionsPathSelectorExponentialBucketsNumFiniteBuckets) WithValue(value int32) *DistributionBucketOptions_FieldSubPathValue { 824 return s.FieldPath().WithIValue(value).(*DistributionBucketOptions_FieldSubPathValue) 825 } 826 827 func (s Distribution_BucketOptionsPathSelectorExponentialBucketsNumFiniteBuckets) WithArrayOfValues(values []int32) *DistributionBucketOptions_FieldSubPathArrayOfValues { 828 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptions_FieldSubPathArrayOfValues) 829 } 830 831 type Distribution_BucketOptionsPathSelectorExponentialBucketsGrowthFactor struct{} 832 833 func (Distribution_BucketOptionsPathSelectorExponentialBucketsGrowthFactor) FieldPath() *DistributionBucketOptions_FieldSubPath { 834 return &DistributionBucketOptions_FieldSubPath{ 835 selector: DistributionBucketOptions_FieldPathSelectorExponentialBuckets, 836 subPath: NewDistributionBucketOptionsExponentialFieldPathBuilder().GrowthFactor().FieldPath(), 837 } 838 } 839 840 func (s Distribution_BucketOptionsPathSelectorExponentialBucketsGrowthFactor) WithValue(value float64) *DistributionBucketOptions_FieldSubPathValue { 841 return s.FieldPath().WithIValue(value).(*DistributionBucketOptions_FieldSubPathValue) 842 } 843 844 func (s Distribution_BucketOptionsPathSelectorExponentialBucketsGrowthFactor) WithArrayOfValues(values []float64) *DistributionBucketOptions_FieldSubPathArrayOfValues { 845 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptions_FieldSubPathArrayOfValues) 846 } 847 848 type Distribution_BucketOptionsPathSelectorExponentialBucketsScale struct{} 849 850 func (Distribution_BucketOptionsPathSelectorExponentialBucketsScale) FieldPath() *DistributionBucketOptions_FieldSubPath { 851 return &DistributionBucketOptions_FieldSubPath{ 852 selector: DistributionBucketOptions_FieldPathSelectorExponentialBuckets, 853 subPath: NewDistributionBucketOptionsExponentialFieldPathBuilder().Scale().FieldPath(), 854 } 855 } 856 857 func (s Distribution_BucketOptionsPathSelectorExponentialBucketsScale) WithValue(value float64) *DistributionBucketOptions_FieldSubPathValue { 858 return s.FieldPath().WithIValue(value).(*DistributionBucketOptions_FieldSubPathValue) 859 } 860 861 func (s Distribution_BucketOptionsPathSelectorExponentialBucketsScale) WithArrayOfValues(values []float64) *DistributionBucketOptions_FieldSubPathArrayOfValues { 862 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptions_FieldSubPathArrayOfValues) 863 } 864 865 type Distribution_BucketOptionsPathSelectorExplicitBuckets struct{} 866 867 func (Distribution_BucketOptionsPathSelectorExplicitBuckets) FieldPath() *DistributionBucketOptions_FieldTerminalPath { 868 return &DistributionBucketOptions_FieldTerminalPath{selector: DistributionBucketOptions_FieldPathSelectorExplicitBuckets} 869 } 870 871 func (s Distribution_BucketOptionsPathSelectorExplicitBuckets) WithValue(value *Distribution_BucketOptions_Explicit) *DistributionBucketOptions_FieldTerminalPathValue { 872 return s.FieldPath().WithIValue(value).(*DistributionBucketOptions_FieldTerminalPathValue) 873 } 874 875 func (s Distribution_BucketOptionsPathSelectorExplicitBuckets) WithArrayOfValues(values []*Distribution_BucketOptions_Explicit) *DistributionBucketOptions_FieldTerminalPathArrayOfValues { 876 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptions_FieldTerminalPathArrayOfValues) 877 } 878 879 func (Distribution_BucketOptionsPathSelectorExplicitBuckets) WithSubPath(subPath DistributionBucketOptionsExplicit_FieldPath) *DistributionBucketOptions_FieldSubPath { 880 return &DistributionBucketOptions_FieldSubPath{selector: DistributionBucketOptions_FieldPathSelectorExplicitBuckets, subPath: subPath} 881 } 882 883 func (s Distribution_BucketOptionsPathSelectorExplicitBuckets) WithSubValue(subPathValue DistributionBucketOptionsExplicit_FieldPathValue) *DistributionBucketOptions_FieldSubPathValue { 884 return &DistributionBucketOptions_FieldSubPathValue{DistributionBucketOptions_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 885 } 886 887 func (s Distribution_BucketOptionsPathSelectorExplicitBuckets) WithSubArrayOfValues(subPathArrayOfValues DistributionBucketOptionsExplicit_FieldPathArrayOfValues) *DistributionBucketOptions_FieldSubPathArrayOfValues { 888 return &DistributionBucketOptions_FieldSubPathArrayOfValues{DistributionBucketOptions_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 889 } 890 891 func (s Distribution_BucketOptionsPathSelectorExplicitBuckets) WithSubArrayItemValue(subPathArrayItemValue DistributionBucketOptionsExplicit_FieldPathArrayItemValue) *DistributionBucketOptions_FieldSubPathArrayItemValue { 892 return &DistributionBucketOptions_FieldSubPathArrayItemValue{DistributionBucketOptions_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 893 } 894 895 func (Distribution_BucketOptionsPathSelectorExplicitBuckets) Bounds() Distribution_BucketOptionsPathSelectorExplicitBucketsBounds { 896 return Distribution_BucketOptionsPathSelectorExplicitBucketsBounds{} 897 } 898 899 type Distribution_BucketOptionsPathSelectorExplicitBucketsBounds struct{} 900 901 func (Distribution_BucketOptionsPathSelectorExplicitBucketsBounds) FieldPath() *DistributionBucketOptions_FieldSubPath { 902 return &DistributionBucketOptions_FieldSubPath{ 903 selector: DistributionBucketOptions_FieldPathSelectorExplicitBuckets, 904 subPath: NewDistributionBucketOptionsExplicitFieldPathBuilder().Bounds().FieldPath(), 905 } 906 } 907 908 func (s Distribution_BucketOptionsPathSelectorExplicitBucketsBounds) WithValue(value []float64) *DistributionBucketOptions_FieldSubPathValue { 909 return s.FieldPath().WithIValue(value).(*DistributionBucketOptions_FieldSubPathValue) 910 } 911 912 func (s Distribution_BucketOptionsPathSelectorExplicitBucketsBounds) WithArrayOfValues(values [][]float64) *DistributionBucketOptions_FieldSubPathArrayOfValues { 913 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptions_FieldSubPathArrayOfValues) 914 } 915 916 func (s Distribution_BucketOptionsPathSelectorExplicitBucketsBounds) WithItemValue(value float64) *DistributionBucketOptions_FieldSubPathArrayItemValue { 917 return s.FieldPath().WithIArrayItemValue(value).(*DistributionBucketOptions_FieldSubPathArrayItemValue) 918 } 919 920 type Distribution_BucketOptionsPathSelectorDynamicBuckets struct{} 921 922 func (Distribution_BucketOptionsPathSelectorDynamicBuckets) FieldPath() *DistributionBucketOptions_FieldTerminalPath { 923 return &DistributionBucketOptions_FieldTerminalPath{selector: DistributionBucketOptions_FieldPathSelectorDynamicBuckets} 924 } 925 926 func (s Distribution_BucketOptionsPathSelectorDynamicBuckets) WithValue(value *Distribution_BucketOptions_Dynamic) *DistributionBucketOptions_FieldTerminalPathValue { 927 return s.FieldPath().WithIValue(value).(*DistributionBucketOptions_FieldTerminalPathValue) 928 } 929 930 func (s Distribution_BucketOptionsPathSelectorDynamicBuckets) WithArrayOfValues(values []*Distribution_BucketOptions_Dynamic) *DistributionBucketOptions_FieldTerminalPathArrayOfValues { 931 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptions_FieldTerminalPathArrayOfValues) 932 } 933 934 func (Distribution_BucketOptionsPathSelectorDynamicBuckets) WithSubPath(subPath DistributionBucketOptionsDynamic_FieldPath) *DistributionBucketOptions_FieldSubPath { 935 return &DistributionBucketOptions_FieldSubPath{selector: DistributionBucketOptions_FieldPathSelectorDynamicBuckets, subPath: subPath} 936 } 937 938 func (s Distribution_BucketOptionsPathSelectorDynamicBuckets) WithSubValue(subPathValue DistributionBucketOptionsDynamic_FieldPathValue) *DistributionBucketOptions_FieldSubPathValue { 939 return &DistributionBucketOptions_FieldSubPathValue{DistributionBucketOptions_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 940 } 941 942 func (s Distribution_BucketOptionsPathSelectorDynamicBuckets) WithSubArrayOfValues(subPathArrayOfValues DistributionBucketOptionsDynamic_FieldPathArrayOfValues) *DistributionBucketOptions_FieldSubPathArrayOfValues { 943 return &DistributionBucketOptions_FieldSubPathArrayOfValues{DistributionBucketOptions_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 944 } 945 946 func (s Distribution_BucketOptionsPathSelectorDynamicBuckets) WithSubArrayItemValue(subPathArrayItemValue DistributionBucketOptionsDynamic_FieldPathArrayItemValue) *DistributionBucketOptions_FieldSubPathArrayItemValue { 947 return &DistributionBucketOptions_FieldSubPathArrayItemValue{DistributionBucketOptions_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 948 } 949 950 func (Distribution_BucketOptionsPathSelectorDynamicBuckets) Compression() Distribution_BucketOptionsPathSelectorDynamicBucketsCompression { 951 return Distribution_BucketOptionsPathSelectorDynamicBucketsCompression{} 952 } 953 954 func (Distribution_BucketOptionsPathSelectorDynamicBuckets) Means() Distribution_BucketOptionsPathSelectorDynamicBucketsMeans { 955 return Distribution_BucketOptionsPathSelectorDynamicBucketsMeans{} 956 } 957 958 type Distribution_BucketOptionsPathSelectorDynamicBucketsCompression struct{} 959 960 func (Distribution_BucketOptionsPathSelectorDynamicBucketsCompression) FieldPath() *DistributionBucketOptions_FieldSubPath { 961 return &DistributionBucketOptions_FieldSubPath{ 962 selector: DistributionBucketOptions_FieldPathSelectorDynamicBuckets, 963 subPath: NewDistributionBucketOptionsDynamicFieldPathBuilder().Compression().FieldPath(), 964 } 965 } 966 967 func (s Distribution_BucketOptionsPathSelectorDynamicBucketsCompression) WithValue(value float64) *DistributionBucketOptions_FieldSubPathValue { 968 return s.FieldPath().WithIValue(value).(*DistributionBucketOptions_FieldSubPathValue) 969 } 970 971 func (s Distribution_BucketOptionsPathSelectorDynamicBucketsCompression) WithArrayOfValues(values []float64) *DistributionBucketOptions_FieldSubPathArrayOfValues { 972 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptions_FieldSubPathArrayOfValues) 973 } 974 975 type Distribution_BucketOptionsPathSelectorDynamicBucketsMeans struct{} 976 977 func (Distribution_BucketOptionsPathSelectorDynamicBucketsMeans) FieldPath() *DistributionBucketOptions_FieldSubPath { 978 return &DistributionBucketOptions_FieldSubPath{ 979 selector: DistributionBucketOptions_FieldPathSelectorDynamicBuckets, 980 subPath: NewDistributionBucketOptionsDynamicFieldPathBuilder().Means().FieldPath(), 981 } 982 } 983 984 func (s Distribution_BucketOptionsPathSelectorDynamicBucketsMeans) WithValue(value []float64) *DistributionBucketOptions_FieldSubPathValue { 985 return s.FieldPath().WithIValue(value).(*DistributionBucketOptions_FieldSubPathValue) 986 } 987 988 func (s Distribution_BucketOptionsPathSelectorDynamicBucketsMeans) WithArrayOfValues(values [][]float64) *DistributionBucketOptions_FieldSubPathArrayOfValues { 989 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptions_FieldSubPathArrayOfValues) 990 } 991 992 func (s Distribution_BucketOptionsPathSelectorDynamicBucketsMeans) WithItemValue(value float64) *DistributionBucketOptions_FieldSubPathArrayItemValue { 993 return s.FieldPath().WithIArrayItemValue(value).(*DistributionBucketOptions_FieldSubPathArrayItemValue) 994 } 995 996 type DistributionBucketOptionsLinearFieldPathBuilder struct{} 997 998 func NewDistributionBucketOptionsLinearFieldPathBuilder() DistributionBucketOptionsLinearFieldPathBuilder { 999 return DistributionBucketOptionsLinearFieldPathBuilder{} 1000 } 1001 func (DistributionBucketOptionsLinearFieldPathBuilder) NumFiniteBuckets() Distribution_BucketOptions_LinearPathSelectorNumFiniteBuckets { 1002 return Distribution_BucketOptions_LinearPathSelectorNumFiniteBuckets{} 1003 } 1004 func (DistributionBucketOptionsLinearFieldPathBuilder) Width() Distribution_BucketOptions_LinearPathSelectorWidth { 1005 return Distribution_BucketOptions_LinearPathSelectorWidth{} 1006 } 1007 func (DistributionBucketOptionsLinearFieldPathBuilder) Offset() Distribution_BucketOptions_LinearPathSelectorOffset { 1008 return Distribution_BucketOptions_LinearPathSelectorOffset{} 1009 } 1010 1011 type Distribution_BucketOptions_LinearPathSelectorNumFiniteBuckets struct{} 1012 1013 func (Distribution_BucketOptions_LinearPathSelectorNumFiniteBuckets) FieldPath() *DistributionBucketOptionsLinear_FieldTerminalPath { 1014 return &DistributionBucketOptionsLinear_FieldTerminalPath{selector: DistributionBucketOptionsLinear_FieldPathSelectorNumFiniteBuckets} 1015 } 1016 1017 func (s Distribution_BucketOptions_LinearPathSelectorNumFiniteBuckets) WithValue(value int32) *DistributionBucketOptionsLinear_FieldTerminalPathValue { 1018 return s.FieldPath().WithIValue(value).(*DistributionBucketOptionsLinear_FieldTerminalPathValue) 1019 } 1020 1021 func (s Distribution_BucketOptions_LinearPathSelectorNumFiniteBuckets) WithArrayOfValues(values []int32) *DistributionBucketOptionsLinear_FieldTerminalPathArrayOfValues { 1022 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptionsLinear_FieldTerminalPathArrayOfValues) 1023 } 1024 1025 type Distribution_BucketOptions_LinearPathSelectorWidth struct{} 1026 1027 func (Distribution_BucketOptions_LinearPathSelectorWidth) FieldPath() *DistributionBucketOptionsLinear_FieldTerminalPath { 1028 return &DistributionBucketOptionsLinear_FieldTerminalPath{selector: DistributionBucketOptionsLinear_FieldPathSelectorWidth} 1029 } 1030 1031 func (s Distribution_BucketOptions_LinearPathSelectorWidth) WithValue(value float64) *DistributionBucketOptionsLinear_FieldTerminalPathValue { 1032 return s.FieldPath().WithIValue(value).(*DistributionBucketOptionsLinear_FieldTerminalPathValue) 1033 } 1034 1035 func (s Distribution_BucketOptions_LinearPathSelectorWidth) WithArrayOfValues(values []float64) *DistributionBucketOptionsLinear_FieldTerminalPathArrayOfValues { 1036 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptionsLinear_FieldTerminalPathArrayOfValues) 1037 } 1038 1039 type Distribution_BucketOptions_LinearPathSelectorOffset struct{} 1040 1041 func (Distribution_BucketOptions_LinearPathSelectorOffset) FieldPath() *DistributionBucketOptionsLinear_FieldTerminalPath { 1042 return &DistributionBucketOptionsLinear_FieldTerminalPath{selector: DistributionBucketOptionsLinear_FieldPathSelectorOffset} 1043 } 1044 1045 func (s Distribution_BucketOptions_LinearPathSelectorOffset) WithValue(value float64) *DistributionBucketOptionsLinear_FieldTerminalPathValue { 1046 return s.FieldPath().WithIValue(value).(*DistributionBucketOptionsLinear_FieldTerminalPathValue) 1047 } 1048 1049 func (s Distribution_BucketOptions_LinearPathSelectorOffset) WithArrayOfValues(values []float64) *DistributionBucketOptionsLinear_FieldTerminalPathArrayOfValues { 1050 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptionsLinear_FieldTerminalPathArrayOfValues) 1051 } 1052 1053 type DistributionBucketOptionsExponentialFieldPathBuilder struct{} 1054 1055 func NewDistributionBucketOptionsExponentialFieldPathBuilder() DistributionBucketOptionsExponentialFieldPathBuilder { 1056 return DistributionBucketOptionsExponentialFieldPathBuilder{} 1057 } 1058 func (DistributionBucketOptionsExponentialFieldPathBuilder) NumFiniteBuckets() Distribution_BucketOptions_ExponentialPathSelectorNumFiniteBuckets { 1059 return Distribution_BucketOptions_ExponentialPathSelectorNumFiniteBuckets{} 1060 } 1061 func (DistributionBucketOptionsExponentialFieldPathBuilder) GrowthFactor() Distribution_BucketOptions_ExponentialPathSelectorGrowthFactor { 1062 return Distribution_BucketOptions_ExponentialPathSelectorGrowthFactor{} 1063 } 1064 func (DistributionBucketOptionsExponentialFieldPathBuilder) Scale() Distribution_BucketOptions_ExponentialPathSelectorScale { 1065 return Distribution_BucketOptions_ExponentialPathSelectorScale{} 1066 } 1067 1068 type Distribution_BucketOptions_ExponentialPathSelectorNumFiniteBuckets struct{} 1069 1070 func (Distribution_BucketOptions_ExponentialPathSelectorNumFiniteBuckets) FieldPath() *DistributionBucketOptionsExponential_FieldTerminalPath { 1071 return &DistributionBucketOptionsExponential_FieldTerminalPath{selector: DistributionBucketOptionsExponential_FieldPathSelectorNumFiniteBuckets} 1072 } 1073 1074 func (s Distribution_BucketOptions_ExponentialPathSelectorNumFiniteBuckets) WithValue(value int32) *DistributionBucketOptionsExponential_FieldTerminalPathValue { 1075 return s.FieldPath().WithIValue(value).(*DistributionBucketOptionsExponential_FieldTerminalPathValue) 1076 } 1077 1078 func (s Distribution_BucketOptions_ExponentialPathSelectorNumFiniteBuckets) WithArrayOfValues(values []int32) *DistributionBucketOptionsExponential_FieldTerminalPathArrayOfValues { 1079 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptionsExponential_FieldTerminalPathArrayOfValues) 1080 } 1081 1082 type Distribution_BucketOptions_ExponentialPathSelectorGrowthFactor struct{} 1083 1084 func (Distribution_BucketOptions_ExponentialPathSelectorGrowthFactor) FieldPath() *DistributionBucketOptionsExponential_FieldTerminalPath { 1085 return &DistributionBucketOptionsExponential_FieldTerminalPath{selector: DistributionBucketOptionsExponential_FieldPathSelectorGrowthFactor} 1086 } 1087 1088 func (s Distribution_BucketOptions_ExponentialPathSelectorGrowthFactor) WithValue(value float64) *DistributionBucketOptionsExponential_FieldTerminalPathValue { 1089 return s.FieldPath().WithIValue(value).(*DistributionBucketOptionsExponential_FieldTerminalPathValue) 1090 } 1091 1092 func (s Distribution_BucketOptions_ExponentialPathSelectorGrowthFactor) WithArrayOfValues(values []float64) *DistributionBucketOptionsExponential_FieldTerminalPathArrayOfValues { 1093 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptionsExponential_FieldTerminalPathArrayOfValues) 1094 } 1095 1096 type Distribution_BucketOptions_ExponentialPathSelectorScale struct{} 1097 1098 func (Distribution_BucketOptions_ExponentialPathSelectorScale) FieldPath() *DistributionBucketOptionsExponential_FieldTerminalPath { 1099 return &DistributionBucketOptionsExponential_FieldTerminalPath{selector: DistributionBucketOptionsExponential_FieldPathSelectorScale} 1100 } 1101 1102 func (s Distribution_BucketOptions_ExponentialPathSelectorScale) WithValue(value float64) *DistributionBucketOptionsExponential_FieldTerminalPathValue { 1103 return s.FieldPath().WithIValue(value).(*DistributionBucketOptionsExponential_FieldTerminalPathValue) 1104 } 1105 1106 func (s Distribution_BucketOptions_ExponentialPathSelectorScale) WithArrayOfValues(values []float64) *DistributionBucketOptionsExponential_FieldTerminalPathArrayOfValues { 1107 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptionsExponential_FieldTerminalPathArrayOfValues) 1108 } 1109 1110 type DistributionBucketOptionsExplicitFieldPathBuilder struct{} 1111 1112 func NewDistributionBucketOptionsExplicitFieldPathBuilder() DistributionBucketOptionsExplicitFieldPathBuilder { 1113 return DistributionBucketOptionsExplicitFieldPathBuilder{} 1114 } 1115 func (DistributionBucketOptionsExplicitFieldPathBuilder) Bounds() Distribution_BucketOptions_ExplicitPathSelectorBounds { 1116 return Distribution_BucketOptions_ExplicitPathSelectorBounds{} 1117 } 1118 1119 type Distribution_BucketOptions_ExplicitPathSelectorBounds struct{} 1120 1121 func (Distribution_BucketOptions_ExplicitPathSelectorBounds) FieldPath() *DistributionBucketOptionsExplicit_FieldTerminalPath { 1122 return &DistributionBucketOptionsExplicit_FieldTerminalPath{selector: DistributionBucketOptionsExplicit_FieldPathSelectorBounds} 1123 } 1124 1125 func (s Distribution_BucketOptions_ExplicitPathSelectorBounds) WithValue(value []float64) *DistributionBucketOptionsExplicit_FieldTerminalPathValue { 1126 return s.FieldPath().WithIValue(value).(*DistributionBucketOptionsExplicit_FieldTerminalPathValue) 1127 } 1128 1129 func (s Distribution_BucketOptions_ExplicitPathSelectorBounds) WithArrayOfValues(values [][]float64) *DistributionBucketOptionsExplicit_FieldTerminalPathArrayOfValues { 1130 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptionsExplicit_FieldTerminalPathArrayOfValues) 1131 } 1132 1133 func (s Distribution_BucketOptions_ExplicitPathSelectorBounds) WithItemValue(value float64) *DistributionBucketOptionsExplicit_FieldTerminalPathArrayItemValue { 1134 return s.FieldPath().WithIArrayItemValue(value).(*DistributionBucketOptionsExplicit_FieldTerminalPathArrayItemValue) 1135 } 1136 1137 type DistributionBucketOptionsDynamicFieldPathBuilder struct{} 1138 1139 func NewDistributionBucketOptionsDynamicFieldPathBuilder() DistributionBucketOptionsDynamicFieldPathBuilder { 1140 return DistributionBucketOptionsDynamicFieldPathBuilder{} 1141 } 1142 func (DistributionBucketOptionsDynamicFieldPathBuilder) Compression() Distribution_BucketOptions_DynamicPathSelectorCompression { 1143 return Distribution_BucketOptions_DynamicPathSelectorCompression{} 1144 } 1145 func (DistributionBucketOptionsDynamicFieldPathBuilder) Means() Distribution_BucketOptions_DynamicPathSelectorMeans { 1146 return Distribution_BucketOptions_DynamicPathSelectorMeans{} 1147 } 1148 1149 type Distribution_BucketOptions_DynamicPathSelectorCompression struct{} 1150 1151 func (Distribution_BucketOptions_DynamicPathSelectorCompression) FieldPath() *DistributionBucketOptionsDynamic_FieldTerminalPath { 1152 return &DistributionBucketOptionsDynamic_FieldTerminalPath{selector: DistributionBucketOptionsDynamic_FieldPathSelectorCompression} 1153 } 1154 1155 func (s Distribution_BucketOptions_DynamicPathSelectorCompression) WithValue(value float64) *DistributionBucketOptionsDynamic_FieldTerminalPathValue { 1156 return s.FieldPath().WithIValue(value).(*DistributionBucketOptionsDynamic_FieldTerminalPathValue) 1157 } 1158 1159 func (s Distribution_BucketOptions_DynamicPathSelectorCompression) WithArrayOfValues(values []float64) *DistributionBucketOptionsDynamic_FieldTerminalPathArrayOfValues { 1160 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptionsDynamic_FieldTerminalPathArrayOfValues) 1161 } 1162 1163 type Distribution_BucketOptions_DynamicPathSelectorMeans struct{} 1164 1165 func (Distribution_BucketOptions_DynamicPathSelectorMeans) FieldPath() *DistributionBucketOptionsDynamic_FieldTerminalPath { 1166 return &DistributionBucketOptionsDynamic_FieldTerminalPath{selector: DistributionBucketOptionsDynamic_FieldPathSelectorMeans} 1167 } 1168 1169 func (s Distribution_BucketOptions_DynamicPathSelectorMeans) WithValue(value []float64) *DistributionBucketOptionsDynamic_FieldTerminalPathValue { 1170 return s.FieldPath().WithIValue(value).(*DistributionBucketOptionsDynamic_FieldTerminalPathValue) 1171 } 1172 1173 func (s Distribution_BucketOptions_DynamicPathSelectorMeans) WithArrayOfValues(values [][]float64) *DistributionBucketOptionsDynamic_FieldTerminalPathArrayOfValues { 1174 return s.FieldPath().WithIArrayOfValues(values).(*DistributionBucketOptionsDynamic_FieldTerminalPathArrayOfValues) 1175 } 1176 1177 func (s Distribution_BucketOptions_DynamicPathSelectorMeans) WithItemValue(value float64) *DistributionBucketOptionsDynamic_FieldTerminalPathArrayItemValue { 1178 return s.FieldPath().WithIArrayItemValue(value).(*DistributionBucketOptionsDynamic_FieldTerminalPathArrayItemValue) 1179 } 1180 1181 type TypedValueFieldPathBuilder struct{} 1182 1183 func NewTypedValueFieldPathBuilder() TypedValueFieldPathBuilder { 1184 return TypedValueFieldPathBuilder{} 1185 } 1186 func (TypedValueFieldPathBuilder) BoolValue() TypedValuePathSelectorBoolValue { 1187 return TypedValuePathSelectorBoolValue{} 1188 } 1189 func (TypedValueFieldPathBuilder) Int64Value() TypedValuePathSelectorInt64Value { 1190 return TypedValuePathSelectorInt64Value{} 1191 } 1192 func (TypedValueFieldPathBuilder) DoubleValue() TypedValuePathSelectorDoubleValue { 1193 return TypedValuePathSelectorDoubleValue{} 1194 } 1195 func (TypedValueFieldPathBuilder) StringValue() TypedValuePathSelectorStringValue { 1196 return TypedValuePathSelectorStringValue{} 1197 } 1198 func (TypedValueFieldPathBuilder) DistributionValue() TypedValuePathSelectorDistributionValue { 1199 return TypedValuePathSelectorDistributionValue{} 1200 } 1201 1202 type TypedValuePathSelectorBoolValue struct{} 1203 1204 func (TypedValuePathSelectorBoolValue) FieldPath() *TypedValue_FieldTerminalPath { 1205 return &TypedValue_FieldTerminalPath{selector: TypedValue_FieldPathSelectorBoolValue} 1206 } 1207 1208 func (s TypedValuePathSelectorBoolValue) WithValue(value bool) *TypedValue_FieldTerminalPathValue { 1209 return s.FieldPath().WithIValue(value).(*TypedValue_FieldTerminalPathValue) 1210 } 1211 1212 func (s TypedValuePathSelectorBoolValue) WithArrayOfValues(values []bool) *TypedValue_FieldTerminalPathArrayOfValues { 1213 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldTerminalPathArrayOfValues) 1214 } 1215 1216 type TypedValuePathSelectorInt64Value struct{} 1217 1218 func (TypedValuePathSelectorInt64Value) FieldPath() *TypedValue_FieldTerminalPath { 1219 return &TypedValue_FieldTerminalPath{selector: TypedValue_FieldPathSelectorInt64Value} 1220 } 1221 1222 func (s TypedValuePathSelectorInt64Value) WithValue(value int64) *TypedValue_FieldTerminalPathValue { 1223 return s.FieldPath().WithIValue(value).(*TypedValue_FieldTerminalPathValue) 1224 } 1225 1226 func (s TypedValuePathSelectorInt64Value) WithArrayOfValues(values []int64) *TypedValue_FieldTerminalPathArrayOfValues { 1227 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldTerminalPathArrayOfValues) 1228 } 1229 1230 type TypedValuePathSelectorDoubleValue struct{} 1231 1232 func (TypedValuePathSelectorDoubleValue) FieldPath() *TypedValue_FieldTerminalPath { 1233 return &TypedValue_FieldTerminalPath{selector: TypedValue_FieldPathSelectorDoubleValue} 1234 } 1235 1236 func (s TypedValuePathSelectorDoubleValue) WithValue(value float64) *TypedValue_FieldTerminalPathValue { 1237 return s.FieldPath().WithIValue(value).(*TypedValue_FieldTerminalPathValue) 1238 } 1239 1240 func (s TypedValuePathSelectorDoubleValue) WithArrayOfValues(values []float64) *TypedValue_FieldTerminalPathArrayOfValues { 1241 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldTerminalPathArrayOfValues) 1242 } 1243 1244 type TypedValuePathSelectorStringValue struct{} 1245 1246 func (TypedValuePathSelectorStringValue) FieldPath() *TypedValue_FieldTerminalPath { 1247 return &TypedValue_FieldTerminalPath{selector: TypedValue_FieldPathSelectorStringValue} 1248 } 1249 1250 func (s TypedValuePathSelectorStringValue) WithValue(value string) *TypedValue_FieldTerminalPathValue { 1251 return s.FieldPath().WithIValue(value).(*TypedValue_FieldTerminalPathValue) 1252 } 1253 1254 func (s TypedValuePathSelectorStringValue) WithArrayOfValues(values []string) *TypedValue_FieldTerminalPathArrayOfValues { 1255 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldTerminalPathArrayOfValues) 1256 } 1257 1258 type TypedValuePathSelectorDistributionValue struct{} 1259 1260 func (TypedValuePathSelectorDistributionValue) FieldPath() *TypedValue_FieldTerminalPath { 1261 return &TypedValue_FieldTerminalPath{selector: TypedValue_FieldPathSelectorDistributionValue} 1262 } 1263 1264 func (s TypedValuePathSelectorDistributionValue) WithValue(value *Distribution) *TypedValue_FieldTerminalPathValue { 1265 return s.FieldPath().WithIValue(value).(*TypedValue_FieldTerminalPathValue) 1266 } 1267 1268 func (s TypedValuePathSelectorDistributionValue) WithArrayOfValues(values []*Distribution) *TypedValue_FieldTerminalPathArrayOfValues { 1269 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldTerminalPathArrayOfValues) 1270 } 1271 1272 func (TypedValuePathSelectorDistributionValue) WithSubPath(subPath Distribution_FieldPath) *TypedValue_FieldSubPath { 1273 return &TypedValue_FieldSubPath{selector: TypedValue_FieldPathSelectorDistributionValue, subPath: subPath} 1274 } 1275 1276 func (s TypedValuePathSelectorDistributionValue) WithSubValue(subPathValue Distribution_FieldPathValue) *TypedValue_FieldSubPathValue { 1277 return &TypedValue_FieldSubPathValue{TypedValue_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 1278 } 1279 1280 func (s TypedValuePathSelectorDistributionValue) WithSubArrayOfValues(subPathArrayOfValues Distribution_FieldPathArrayOfValues) *TypedValue_FieldSubPathArrayOfValues { 1281 return &TypedValue_FieldSubPathArrayOfValues{TypedValue_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 1282 } 1283 1284 func (s TypedValuePathSelectorDistributionValue) WithSubArrayItemValue(subPathArrayItemValue Distribution_FieldPathArrayItemValue) *TypedValue_FieldSubPathArrayItemValue { 1285 return &TypedValue_FieldSubPathArrayItemValue{TypedValue_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 1286 } 1287 1288 func (TypedValuePathSelectorDistributionValue) Count() TypedValuePathSelectorDistributionValueCount { 1289 return TypedValuePathSelectorDistributionValueCount{} 1290 } 1291 1292 func (TypedValuePathSelectorDistributionValue) Mean() TypedValuePathSelectorDistributionValueMean { 1293 return TypedValuePathSelectorDistributionValueMean{} 1294 } 1295 1296 func (TypedValuePathSelectorDistributionValue) SumOfSquaredDeviation() TypedValuePathSelectorDistributionValueSumOfSquaredDeviation { 1297 return TypedValuePathSelectorDistributionValueSumOfSquaredDeviation{} 1298 } 1299 1300 func (TypedValuePathSelectorDistributionValue) Range() TypedValuePathSelectorDistributionValueRange { 1301 return TypedValuePathSelectorDistributionValueRange{} 1302 } 1303 1304 func (TypedValuePathSelectorDistributionValue) BucketOptions() TypedValuePathSelectorDistributionValueBucketOptions { 1305 return TypedValuePathSelectorDistributionValueBucketOptions{} 1306 } 1307 1308 func (TypedValuePathSelectorDistributionValue) BucketCounts() TypedValuePathSelectorDistributionValueBucketCounts { 1309 return TypedValuePathSelectorDistributionValueBucketCounts{} 1310 } 1311 1312 type TypedValuePathSelectorDistributionValueCount struct{} 1313 1314 func (TypedValuePathSelectorDistributionValueCount) FieldPath() *TypedValue_FieldSubPath { 1315 return &TypedValue_FieldSubPath{ 1316 selector: TypedValue_FieldPathSelectorDistributionValue, 1317 subPath: NewDistributionFieldPathBuilder().Count().FieldPath(), 1318 } 1319 } 1320 1321 func (s TypedValuePathSelectorDistributionValueCount) WithValue(value int64) *TypedValue_FieldSubPathValue { 1322 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1323 } 1324 1325 func (s TypedValuePathSelectorDistributionValueCount) WithArrayOfValues(values []int64) *TypedValue_FieldSubPathArrayOfValues { 1326 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1327 } 1328 1329 type TypedValuePathSelectorDistributionValueMean struct{} 1330 1331 func (TypedValuePathSelectorDistributionValueMean) FieldPath() *TypedValue_FieldSubPath { 1332 return &TypedValue_FieldSubPath{ 1333 selector: TypedValue_FieldPathSelectorDistributionValue, 1334 subPath: NewDistributionFieldPathBuilder().Mean().FieldPath(), 1335 } 1336 } 1337 1338 func (s TypedValuePathSelectorDistributionValueMean) WithValue(value float64) *TypedValue_FieldSubPathValue { 1339 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1340 } 1341 1342 func (s TypedValuePathSelectorDistributionValueMean) WithArrayOfValues(values []float64) *TypedValue_FieldSubPathArrayOfValues { 1343 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1344 } 1345 1346 type TypedValuePathSelectorDistributionValueSumOfSquaredDeviation struct{} 1347 1348 func (TypedValuePathSelectorDistributionValueSumOfSquaredDeviation) FieldPath() *TypedValue_FieldSubPath { 1349 return &TypedValue_FieldSubPath{ 1350 selector: TypedValue_FieldPathSelectorDistributionValue, 1351 subPath: NewDistributionFieldPathBuilder().SumOfSquaredDeviation().FieldPath(), 1352 } 1353 } 1354 1355 func (s TypedValuePathSelectorDistributionValueSumOfSquaredDeviation) WithValue(value float64) *TypedValue_FieldSubPathValue { 1356 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1357 } 1358 1359 func (s TypedValuePathSelectorDistributionValueSumOfSquaredDeviation) WithArrayOfValues(values []float64) *TypedValue_FieldSubPathArrayOfValues { 1360 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1361 } 1362 1363 type TypedValuePathSelectorDistributionValueRange struct{} 1364 1365 func (TypedValuePathSelectorDistributionValueRange) FieldPath() *TypedValue_FieldSubPath { 1366 return &TypedValue_FieldSubPath{ 1367 selector: TypedValue_FieldPathSelectorDistributionValue, 1368 subPath: NewDistributionFieldPathBuilder().Range().FieldPath(), 1369 } 1370 } 1371 1372 func (s TypedValuePathSelectorDistributionValueRange) WithValue(value *Distribution_Range) *TypedValue_FieldSubPathValue { 1373 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1374 } 1375 1376 func (s TypedValuePathSelectorDistributionValueRange) WithArrayOfValues(values []*Distribution_Range) *TypedValue_FieldSubPathArrayOfValues { 1377 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1378 } 1379 1380 func (TypedValuePathSelectorDistributionValueRange) Min() TypedValuePathSelectorDistributionValueRangeMin { 1381 return TypedValuePathSelectorDistributionValueRangeMin{} 1382 } 1383 1384 func (TypedValuePathSelectorDistributionValueRange) Max() TypedValuePathSelectorDistributionValueRangeMax { 1385 return TypedValuePathSelectorDistributionValueRangeMax{} 1386 } 1387 1388 type TypedValuePathSelectorDistributionValueRangeMin struct{} 1389 1390 func (TypedValuePathSelectorDistributionValueRangeMin) FieldPath() *TypedValue_FieldSubPath { 1391 return &TypedValue_FieldSubPath{ 1392 selector: TypedValue_FieldPathSelectorDistributionValue, 1393 subPath: NewDistributionFieldPathBuilder().Range().Min().FieldPath(), 1394 } 1395 } 1396 1397 func (s TypedValuePathSelectorDistributionValueRangeMin) WithValue(value float64) *TypedValue_FieldSubPathValue { 1398 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1399 } 1400 1401 func (s TypedValuePathSelectorDistributionValueRangeMin) WithArrayOfValues(values []float64) *TypedValue_FieldSubPathArrayOfValues { 1402 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1403 } 1404 1405 type TypedValuePathSelectorDistributionValueRangeMax struct{} 1406 1407 func (TypedValuePathSelectorDistributionValueRangeMax) FieldPath() *TypedValue_FieldSubPath { 1408 return &TypedValue_FieldSubPath{ 1409 selector: TypedValue_FieldPathSelectorDistributionValue, 1410 subPath: NewDistributionFieldPathBuilder().Range().Max().FieldPath(), 1411 } 1412 } 1413 1414 func (s TypedValuePathSelectorDistributionValueRangeMax) WithValue(value float64) *TypedValue_FieldSubPathValue { 1415 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1416 } 1417 1418 func (s TypedValuePathSelectorDistributionValueRangeMax) WithArrayOfValues(values []float64) *TypedValue_FieldSubPathArrayOfValues { 1419 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1420 } 1421 1422 type TypedValuePathSelectorDistributionValueBucketOptions struct{} 1423 1424 func (TypedValuePathSelectorDistributionValueBucketOptions) FieldPath() *TypedValue_FieldSubPath { 1425 return &TypedValue_FieldSubPath{ 1426 selector: TypedValue_FieldPathSelectorDistributionValue, 1427 subPath: NewDistributionFieldPathBuilder().BucketOptions().FieldPath(), 1428 } 1429 } 1430 1431 func (s TypedValuePathSelectorDistributionValueBucketOptions) WithValue(value *Distribution_BucketOptions) *TypedValue_FieldSubPathValue { 1432 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1433 } 1434 1435 func (s TypedValuePathSelectorDistributionValueBucketOptions) WithArrayOfValues(values []*Distribution_BucketOptions) *TypedValue_FieldSubPathArrayOfValues { 1436 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1437 } 1438 1439 func (TypedValuePathSelectorDistributionValueBucketOptions) LinearBuckets() TypedValuePathSelectorDistributionValueBucketOptionsLinearBuckets { 1440 return TypedValuePathSelectorDistributionValueBucketOptionsLinearBuckets{} 1441 } 1442 1443 func (TypedValuePathSelectorDistributionValueBucketOptions) ExponentialBuckets() TypedValuePathSelectorDistributionValueBucketOptionsExponentialBuckets { 1444 return TypedValuePathSelectorDistributionValueBucketOptionsExponentialBuckets{} 1445 } 1446 1447 func (TypedValuePathSelectorDistributionValueBucketOptions) ExplicitBuckets() TypedValuePathSelectorDistributionValueBucketOptionsExplicitBuckets { 1448 return TypedValuePathSelectorDistributionValueBucketOptionsExplicitBuckets{} 1449 } 1450 1451 func (TypedValuePathSelectorDistributionValueBucketOptions) DynamicBuckets() TypedValuePathSelectorDistributionValueBucketOptionsDynamicBuckets { 1452 return TypedValuePathSelectorDistributionValueBucketOptionsDynamicBuckets{} 1453 } 1454 1455 type TypedValuePathSelectorDistributionValueBucketOptionsLinearBuckets struct{} 1456 1457 func (TypedValuePathSelectorDistributionValueBucketOptionsLinearBuckets) FieldPath() *TypedValue_FieldSubPath { 1458 return &TypedValue_FieldSubPath{ 1459 selector: TypedValue_FieldPathSelectorDistributionValue, 1460 subPath: NewDistributionFieldPathBuilder().BucketOptions().LinearBuckets().FieldPath(), 1461 } 1462 } 1463 1464 func (s TypedValuePathSelectorDistributionValueBucketOptionsLinearBuckets) WithValue(value *Distribution_BucketOptions_Linear) *TypedValue_FieldSubPathValue { 1465 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1466 } 1467 1468 func (s TypedValuePathSelectorDistributionValueBucketOptionsLinearBuckets) WithArrayOfValues(values []*Distribution_BucketOptions_Linear) *TypedValue_FieldSubPathArrayOfValues { 1469 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1470 } 1471 1472 func (TypedValuePathSelectorDistributionValueBucketOptionsLinearBuckets) NumFiniteBuckets() TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsNumFiniteBuckets { 1473 return TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsNumFiniteBuckets{} 1474 } 1475 1476 func (TypedValuePathSelectorDistributionValueBucketOptionsLinearBuckets) Width() TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsWidth { 1477 return TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsWidth{} 1478 } 1479 1480 func (TypedValuePathSelectorDistributionValueBucketOptionsLinearBuckets) Offset() TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsOffset { 1481 return TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsOffset{} 1482 } 1483 1484 type TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsNumFiniteBuckets struct{} 1485 1486 func (TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsNumFiniteBuckets) FieldPath() *TypedValue_FieldSubPath { 1487 return &TypedValue_FieldSubPath{ 1488 selector: TypedValue_FieldPathSelectorDistributionValue, 1489 subPath: NewDistributionFieldPathBuilder().BucketOptions().LinearBuckets().NumFiniteBuckets().FieldPath(), 1490 } 1491 } 1492 1493 func (s TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsNumFiniteBuckets) WithValue(value int32) *TypedValue_FieldSubPathValue { 1494 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1495 } 1496 1497 func (s TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsNumFiniteBuckets) WithArrayOfValues(values []int32) *TypedValue_FieldSubPathArrayOfValues { 1498 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1499 } 1500 1501 type TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsWidth struct{} 1502 1503 func (TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsWidth) FieldPath() *TypedValue_FieldSubPath { 1504 return &TypedValue_FieldSubPath{ 1505 selector: TypedValue_FieldPathSelectorDistributionValue, 1506 subPath: NewDistributionFieldPathBuilder().BucketOptions().LinearBuckets().Width().FieldPath(), 1507 } 1508 } 1509 1510 func (s TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsWidth) WithValue(value float64) *TypedValue_FieldSubPathValue { 1511 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1512 } 1513 1514 func (s TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsWidth) WithArrayOfValues(values []float64) *TypedValue_FieldSubPathArrayOfValues { 1515 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1516 } 1517 1518 type TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsOffset struct{} 1519 1520 func (TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsOffset) FieldPath() *TypedValue_FieldSubPath { 1521 return &TypedValue_FieldSubPath{ 1522 selector: TypedValue_FieldPathSelectorDistributionValue, 1523 subPath: NewDistributionFieldPathBuilder().BucketOptions().LinearBuckets().Offset().FieldPath(), 1524 } 1525 } 1526 1527 func (s TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsOffset) WithValue(value float64) *TypedValue_FieldSubPathValue { 1528 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1529 } 1530 1531 func (s TypedValuePathSelectorDistributionValueBucketOptionsLinearBucketsOffset) WithArrayOfValues(values []float64) *TypedValue_FieldSubPathArrayOfValues { 1532 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1533 } 1534 1535 type TypedValuePathSelectorDistributionValueBucketOptionsExponentialBuckets struct{} 1536 1537 func (TypedValuePathSelectorDistributionValueBucketOptionsExponentialBuckets) FieldPath() *TypedValue_FieldSubPath { 1538 return &TypedValue_FieldSubPath{ 1539 selector: TypedValue_FieldPathSelectorDistributionValue, 1540 subPath: NewDistributionFieldPathBuilder().BucketOptions().ExponentialBuckets().FieldPath(), 1541 } 1542 } 1543 1544 func (s TypedValuePathSelectorDistributionValueBucketOptionsExponentialBuckets) WithValue(value *Distribution_BucketOptions_Exponential) *TypedValue_FieldSubPathValue { 1545 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1546 } 1547 1548 func (s TypedValuePathSelectorDistributionValueBucketOptionsExponentialBuckets) WithArrayOfValues(values []*Distribution_BucketOptions_Exponential) *TypedValue_FieldSubPathArrayOfValues { 1549 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1550 } 1551 1552 func (TypedValuePathSelectorDistributionValueBucketOptionsExponentialBuckets) NumFiniteBuckets() TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsNumFiniteBuckets { 1553 return TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsNumFiniteBuckets{} 1554 } 1555 1556 func (TypedValuePathSelectorDistributionValueBucketOptionsExponentialBuckets) GrowthFactor() TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsGrowthFactor { 1557 return TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsGrowthFactor{} 1558 } 1559 1560 func (TypedValuePathSelectorDistributionValueBucketOptionsExponentialBuckets) Scale() TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsScale { 1561 return TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsScale{} 1562 } 1563 1564 type TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsNumFiniteBuckets struct{} 1565 1566 func (TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsNumFiniteBuckets) FieldPath() *TypedValue_FieldSubPath { 1567 return &TypedValue_FieldSubPath{ 1568 selector: TypedValue_FieldPathSelectorDistributionValue, 1569 subPath: NewDistributionFieldPathBuilder().BucketOptions().ExponentialBuckets().NumFiniteBuckets().FieldPath(), 1570 } 1571 } 1572 1573 func (s TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsNumFiniteBuckets) WithValue(value int32) *TypedValue_FieldSubPathValue { 1574 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1575 } 1576 1577 func (s TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsNumFiniteBuckets) WithArrayOfValues(values []int32) *TypedValue_FieldSubPathArrayOfValues { 1578 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1579 } 1580 1581 type TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsGrowthFactor struct{} 1582 1583 func (TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsGrowthFactor) FieldPath() *TypedValue_FieldSubPath { 1584 return &TypedValue_FieldSubPath{ 1585 selector: TypedValue_FieldPathSelectorDistributionValue, 1586 subPath: NewDistributionFieldPathBuilder().BucketOptions().ExponentialBuckets().GrowthFactor().FieldPath(), 1587 } 1588 } 1589 1590 func (s TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsGrowthFactor) WithValue(value float64) *TypedValue_FieldSubPathValue { 1591 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1592 } 1593 1594 func (s TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsGrowthFactor) WithArrayOfValues(values []float64) *TypedValue_FieldSubPathArrayOfValues { 1595 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1596 } 1597 1598 type TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsScale struct{} 1599 1600 func (TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsScale) FieldPath() *TypedValue_FieldSubPath { 1601 return &TypedValue_FieldSubPath{ 1602 selector: TypedValue_FieldPathSelectorDistributionValue, 1603 subPath: NewDistributionFieldPathBuilder().BucketOptions().ExponentialBuckets().Scale().FieldPath(), 1604 } 1605 } 1606 1607 func (s TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsScale) WithValue(value float64) *TypedValue_FieldSubPathValue { 1608 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1609 } 1610 1611 func (s TypedValuePathSelectorDistributionValueBucketOptionsExponentialBucketsScale) WithArrayOfValues(values []float64) *TypedValue_FieldSubPathArrayOfValues { 1612 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1613 } 1614 1615 type TypedValuePathSelectorDistributionValueBucketOptionsExplicitBuckets struct{} 1616 1617 func (TypedValuePathSelectorDistributionValueBucketOptionsExplicitBuckets) FieldPath() *TypedValue_FieldSubPath { 1618 return &TypedValue_FieldSubPath{ 1619 selector: TypedValue_FieldPathSelectorDistributionValue, 1620 subPath: NewDistributionFieldPathBuilder().BucketOptions().ExplicitBuckets().FieldPath(), 1621 } 1622 } 1623 1624 func (s TypedValuePathSelectorDistributionValueBucketOptionsExplicitBuckets) WithValue(value *Distribution_BucketOptions_Explicit) *TypedValue_FieldSubPathValue { 1625 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1626 } 1627 1628 func (s TypedValuePathSelectorDistributionValueBucketOptionsExplicitBuckets) WithArrayOfValues(values []*Distribution_BucketOptions_Explicit) *TypedValue_FieldSubPathArrayOfValues { 1629 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1630 } 1631 1632 func (TypedValuePathSelectorDistributionValueBucketOptionsExplicitBuckets) Bounds() TypedValuePathSelectorDistributionValueBucketOptionsExplicitBucketsBounds { 1633 return TypedValuePathSelectorDistributionValueBucketOptionsExplicitBucketsBounds{} 1634 } 1635 1636 type TypedValuePathSelectorDistributionValueBucketOptionsExplicitBucketsBounds struct{} 1637 1638 func (TypedValuePathSelectorDistributionValueBucketOptionsExplicitBucketsBounds) FieldPath() *TypedValue_FieldSubPath { 1639 return &TypedValue_FieldSubPath{ 1640 selector: TypedValue_FieldPathSelectorDistributionValue, 1641 subPath: NewDistributionFieldPathBuilder().BucketOptions().ExplicitBuckets().Bounds().FieldPath(), 1642 } 1643 } 1644 1645 func (s TypedValuePathSelectorDistributionValueBucketOptionsExplicitBucketsBounds) WithValue(value []float64) *TypedValue_FieldSubPathValue { 1646 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1647 } 1648 1649 func (s TypedValuePathSelectorDistributionValueBucketOptionsExplicitBucketsBounds) WithArrayOfValues(values [][]float64) *TypedValue_FieldSubPathArrayOfValues { 1650 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1651 } 1652 1653 func (s TypedValuePathSelectorDistributionValueBucketOptionsExplicitBucketsBounds) WithItemValue(value float64) *TypedValue_FieldSubPathArrayItemValue { 1654 return s.FieldPath().WithIArrayItemValue(value).(*TypedValue_FieldSubPathArrayItemValue) 1655 } 1656 1657 type TypedValuePathSelectorDistributionValueBucketOptionsDynamicBuckets struct{} 1658 1659 func (TypedValuePathSelectorDistributionValueBucketOptionsDynamicBuckets) FieldPath() *TypedValue_FieldSubPath { 1660 return &TypedValue_FieldSubPath{ 1661 selector: TypedValue_FieldPathSelectorDistributionValue, 1662 subPath: NewDistributionFieldPathBuilder().BucketOptions().DynamicBuckets().FieldPath(), 1663 } 1664 } 1665 1666 func (s TypedValuePathSelectorDistributionValueBucketOptionsDynamicBuckets) WithValue(value *Distribution_BucketOptions_Dynamic) *TypedValue_FieldSubPathValue { 1667 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1668 } 1669 1670 func (s TypedValuePathSelectorDistributionValueBucketOptionsDynamicBuckets) WithArrayOfValues(values []*Distribution_BucketOptions_Dynamic) *TypedValue_FieldSubPathArrayOfValues { 1671 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1672 } 1673 1674 func (TypedValuePathSelectorDistributionValueBucketOptionsDynamicBuckets) Compression() TypedValuePathSelectorDistributionValueBucketOptionsDynamicBucketsCompression { 1675 return TypedValuePathSelectorDistributionValueBucketOptionsDynamicBucketsCompression{} 1676 } 1677 1678 func (TypedValuePathSelectorDistributionValueBucketOptionsDynamicBuckets) Means() TypedValuePathSelectorDistributionValueBucketOptionsDynamicBucketsMeans { 1679 return TypedValuePathSelectorDistributionValueBucketOptionsDynamicBucketsMeans{} 1680 } 1681 1682 type TypedValuePathSelectorDistributionValueBucketOptionsDynamicBucketsCompression struct{} 1683 1684 func (TypedValuePathSelectorDistributionValueBucketOptionsDynamicBucketsCompression) FieldPath() *TypedValue_FieldSubPath { 1685 return &TypedValue_FieldSubPath{ 1686 selector: TypedValue_FieldPathSelectorDistributionValue, 1687 subPath: NewDistributionFieldPathBuilder().BucketOptions().DynamicBuckets().Compression().FieldPath(), 1688 } 1689 } 1690 1691 func (s TypedValuePathSelectorDistributionValueBucketOptionsDynamicBucketsCompression) WithValue(value float64) *TypedValue_FieldSubPathValue { 1692 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1693 } 1694 1695 func (s TypedValuePathSelectorDistributionValueBucketOptionsDynamicBucketsCompression) WithArrayOfValues(values []float64) *TypedValue_FieldSubPathArrayOfValues { 1696 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1697 } 1698 1699 type TypedValuePathSelectorDistributionValueBucketOptionsDynamicBucketsMeans struct{} 1700 1701 func (TypedValuePathSelectorDistributionValueBucketOptionsDynamicBucketsMeans) FieldPath() *TypedValue_FieldSubPath { 1702 return &TypedValue_FieldSubPath{ 1703 selector: TypedValue_FieldPathSelectorDistributionValue, 1704 subPath: NewDistributionFieldPathBuilder().BucketOptions().DynamicBuckets().Means().FieldPath(), 1705 } 1706 } 1707 1708 func (s TypedValuePathSelectorDistributionValueBucketOptionsDynamicBucketsMeans) WithValue(value []float64) *TypedValue_FieldSubPathValue { 1709 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1710 } 1711 1712 func (s TypedValuePathSelectorDistributionValueBucketOptionsDynamicBucketsMeans) WithArrayOfValues(values [][]float64) *TypedValue_FieldSubPathArrayOfValues { 1713 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1714 } 1715 1716 func (s TypedValuePathSelectorDistributionValueBucketOptionsDynamicBucketsMeans) WithItemValue(value float64) *TypedValue_FieldSubPathArrayItemValue { 1717 return s.FieldPath().WithIArrayItemValue(value).(*TypedValue_FieldSubPathArrayItemValue) 1718 } 1719 1720 type TypedValuePathSelectorDistributionValueBucketCounts struct{} 1721 1722 func (TypedValuePathSelectorDistributionValueBucketCounts) FieldPath() *TypedValue_FieldSubPath { 1723 return &TypedValue_FieldSubPath{ 1724 selector: TypedValue_FieldPathSelectorDistributionValue, 1725 subPath: NewDistributionFieldPathBuilder().BucketCounts().FieldPath(), 1726 } 1727 } 1728 1729 func (s TypedValuePathSelectorDistributionValueBucketCounts) WithValue(value []int64) *TypedValue_FieldSubPathValue { 1730 return s.FieldPath().WithIValue(value).(*TypedValue_FieldSubPathValue) 1731 } 1732 1733 func (s TypedValuePathSelectorDistributionValueBucketCounts) WithArrayOfValues(values [][]int64) *TypedValue_FieldSubPathArrayOfValues { 1734 return s.FieldPath().WithIArrayOfValues(values).(*TypedValue_FieldSubPathArrayOfValues) 1735 } 1736 1737 func (s TypedValuePathSelectorDistributionValueBucketCounts) WithItemValue(value int64) *TypedValue_FieldSubPathArrayItemValue { 1738 return s.FieldPath().WithIArrayItemValue(value).(*TypedValue_FieldSubPathArrayItemValue) 1739 } 1740 1741 type TimeIntervalFieldPathBuilder struct{} 1742 1743 func NewTimeIntervalFieldPathBuilder() TimeIntervalFieldPathBuilder { 1744 return TimeIntervalFieldPathBuilder{} 1745 } 1746 func (TimeIntervalFieldPathBuilder) EndTime() TimeIntervalPathSelectorEndTime { 1747 return TimeIntervalPathSelectorEndTime{} 1748 } 1749 func (TimeIntervalFieldPathBuilder) StartTime() TimeIntervalPathSelectorStartTime { 1750 return TimeIntervalPathSelectorStartTime{} 1751 } 1752 1753 type TimeIntervalPathSelectorEndTime struct{} 1754 1755 func (TimeIntervalPathSelectorEndTime) FieldPath() *TimeInterval_FieldTerminalPath { 1756 return &TimeInterval_FieldTerminalPath{selector: TimeInterval_FieldPathSelectorEndTime} 1757 } 1758 1759 func (s TimeIntervalPathSelectorEndTime) WithValue(value *timestamppb.Timestamp) *TimeInterval_FieldTerminalPathValue { 1760 return s.FieldPath().WithIValue(value).(*TimeInterval_FieldTerminalPathValue) 1761 } 1762 1763 func (s TimeIntervalPathSelectorEndTime) WithArrayOfValues(values []*timestamppb.Timestamp) *TimeInterval_FieldTerminalPathArrayOfValues { 1764 return s.FieldPath().WithIArrayOfValues(values).(*TimeInterval_FieldTerminalPathArrayOfValues) 1765 } 1766 1767 type TimeIntervalPathSelectorStartTime struct{} 1768 1769 func (TimeIntervalPathSelectorStartTime) FieldPath() *TimeInterval_FieldTerminalPath { 1770 return &TimeInterval_FieldTerminalPath{selector: TimeInterval_FieldPathSelectorStartTime} 1771 } 1772 1773 func (s TimeIntervalPathSelectorStartTime) WithValue(value *timestamppb.Timestamp) *TimeInterval_FieldTerminalPathValue { 1774 return s.FieldPath().WithIValue(value).(*TimeInterval_FieldTerminalPathValue) 1775 } 1776 1777 func (s TimeIntervalPathSelectorStartTime) WithArrayOfValues(values []*timestamppb.Timestamp) *TimeInterval_FieldTerminalPathArrayOfValues { 1778 return s.FieldPath().WithIArrayOfValues(values).(*TimeInterval_FieldTerminalPathArrayOfValues) 1779 } 1780 1781 type TimeRangeFieldPathBuilder struct{} 1782 1783 func NewTimeRangeFieldPathBuilder() TimeRangeFieldPathBuilder { 1784 return TimeRangeFieldPathBuilder{} 1785 } 1786 func (TimeRangeFieldPathBuilder) StartTime() TimeRangePathSelectorStartTime { 1787 return TimeRangePathSelectorStartTime{} 1788 } 1789 func (TimeRangeFieldPathBuilder) EndTime() TimeRangePathSelectorEndTime { 1790 return TimeRangePathSelectorEndTime{} 1791 } 1792 1793 type TimeRangePathSelectorStartTime struct{} 1794 1795 func (TimeRangePathSelectorStartTime) FieldPath() *TimeRange_FieldTerminalPath { 1796 return &TimeRange_FieldTerminalPath{selector: TimeRange_FieldPathSelectorStartTime} 1797 } 1798 1799 func (s TimeRangePathSelectorStartTime) WithValue(value *timestamppb.Timestamp) *TimeRange_FieldTerminalPathValue { 1800 return s.FieldPath().WithIValue(value).(*TimeRange_FieldTerminalPathValue) 1801 } 1802 1803 func (s TimeRangePathSelectorStartTime) WithArrayOfValues(values []*timestamppb.Timestamp) *TimeRange_FieldTerminalPathArrayOfValues { 1804 return s.FieldPath().WithIArrayOfValues(values).(*TimeRange_FieldTerminalPathArrayOfValues) 1805 } 1806 1807 type TimeRangePathSelectorEndTime struct{} 1808 1809 func (TimeRangePathSelectorEndTime) FieldPath() *TimeRange_FieldTerminalPath { 1810 return &TimeRange_FieldTerminalPath{selector: TimeRange_FieldPathSelectorEndTime} 1811 } 1812 1813 func (s TimeRangePathSelectorEndTime) WithValue(value *timestamppb.Timestamp) *TimeRange_FieldTerminalPathValue { 1814 return s.FieldPath().WithIValue(value).(*TimeRange_FieldTerminalPathValue) 1815 } 1816 1817 func (s TimeRangePathSelectorEndTime) WithArrayOfValues(values []*timestamppb.Timestamp) *TimeRange_FieldTerminalPathArrayOfValues { 1818 return s.FieldPath().WithIArrayOfValues(values).(*TimeRange_FieldTerminalPathArrayOfValues) 1819 } 1820 1821 type AggregationFieldPathBuilder struct{} 1822 1823 func NewAggregationFieldPathBuilder() AggregationFieldPathBuilder { 1824 return AggregationFieldPathBuilder{} 1825 } 1826 func (AggregationFieldPathBuilder) AlignmentPeriod() AggregationPathSelectorAlignmentPeriod { 1827 return AggregationPathSelectorAlignmentPeriod{} 1828 } 1829 func (AggregationFieldPathBuilder) PerSeriesAligner() AggregationPathSelectorPerSeriesAligner { 1830 return AggregationPathSelectorPerSeriesAligner{} 1831 } 1832 func (AggregationFieldPathBuilder) CrossSeriesReducer() AggregationPathSelectorCrossSeriesReducer { 1833 return AggregationPathSelectorCrossSeriesReducer{} 1834 } 1835 func (AggregationFieldPathBuilder) GroupByFields() AggregationPathSelectorGroupByFields { 1836 return AggregationPathSelectorGroupByFields{} 1837 } 1838 1839 type AggregationPathSelectorAlignmentPeriod struct{} 1840 1841 func (AggregationPathSelectorAlignmentPeriod) FieldPath() *Aggregation_FieldTerminalPath { 1842 return &Aggregation_FieldTerminalPath{selector: Aggregation_FieldPathSelectorAlignmentPeriod} 1843 } 1844 1845 func (s AggregationPathSelectorAlignmentPeriod) WithValue(value *durationpb.Duration) *Aggregation_FieldTerminalPathValue { 1846 return s.FieldPath().WithIValue(value).(*Aggregation_FieldTerminalPathValue) 1847 } 1848 1849 func (s AggregationPathSelectorAlignmentPeriod) WithArrayOfValues(values []*durationpb.Duration) *Aggregation_FieldTerminalPathArrayOfValues { 1850 return s.FieldPath().WithIArrayOfValues(values).(*Aggregation_FieldTerminalPathArrayOfValues) 1851 } 1852 1853 type AggregationPathSelectorPerSeriesAligner struct{} 1854 1855 func (AggregationPathSelectorPerSeriesAligner) FieldPath() *Aggregation_FieldTerminalPath { 1856 return &Aggregation_FieldTerminalPath{selector: Aggregation_FieldPathSelectorPerSeriesAligner} 1857 } 1858 1859 func (s AggregationPathSelectorPerSeriesAligner) WithValue(value Aggregation_Aligner) *Aggregation_FieldTerminalPathValue { 1860 return s.FieldPath().WithIValue(value).(*Aggregation_FieldTerminalPathValue) 1861 } 1862 1863 func (s AggregationPathSelectorPerSeriesAligner) WithArrayOfValues(values []Aggregation_Aligner) *Aggregation_FieldTerminalPathArrayOfValues { 1864 return s.FieldPath().WithIArrayOfValues(values).(*Aggregation_FieldTerminalPathArrayOfValues) 1865 } 1866 1867 type AggregationPathSelectorCrossSeriesReducer struct{} 1868 1869 func (AggregationPathSelectorCrossSeriesReducer) FieldPath() *Aggregation_FieldTerminalPath { 1870 return &Aggregation_FieldTerminalPath{selector: Aggregation_FieldPathSelectorCrossSeriesReducer} 1871 } 1872 1873 func (s AggregationPathSelectorCrossSeriesReducer) WithValue(value Aggregation_Reducer) *Aggregation_FieldTerminalPathValue { 1874 return s.FieldPath().WithIValue(value).(*Aggregation_FieldTerminalPathValue) 1875 } 1876 1877 func (s AggregationPathSelectorCrossSeriesReducer) WithArrayOfValues(values []Aggregation_Reducer) *Aggregation_FieldTerminalPathArrayOfValues { 1878 return s.FieldPath().WithIArrayOfValues(values).(*Aggregation_FieldTerminalPathArrayOfValues) 1879 } 1880 1881 type AggregationPathSelectorGroupByFields struct{} 1882 1883 func (AggregationPathSelectorGroupByFields) FieldPath() *Aggregation_FieldTerminalPath { 1884 return &Aggregation_FieldTerminalPath{selector: Aggregation_FieldPathSelectorGroupByFields} 1885 } 1886 1887 func (s AggregationPathSelectorGroupByFields) WithValue(value []string) *Aggregation_FieldTerminalPathValue { 1888 return s.FieldPath().WithIValue(value).(*Aggregation_FieldTerminalPathValue) 1889 } 1890 1891 func (s AggregationPathSelectorGroupByFields) WithArrayOfValues(values [][]string) *Aggregation_FieldTerminalPathArrayOfValues { 1892 return s.FieldPath().WithIArrayOfValues(values).(*Aggregation_FieldTerminalPathArrayOfValues) 1893 } 1894 1895 func (s AggregationPathSelectorGroupByFields) WithItemValue(value string) *Aggregation_FieldTerminalPathArrayItemValue { 1896 return s.FieldPath().WithIArrayItemValue(value).(*Aggregation_FieldTerminalPathArrayItemValue) 1897 } 1898 1899 type PaginationFieldPathBuilder struct{} 1900 1901 func NewPaginationFieldPathBuilder() PaginationFieldPathBuilder { 1902 return PaginationFieldPathBuilder{} 1903 } 1904 func (PaginationFieldPathBuilder) View() PaginationPathSelectorView { 1905 return PaginationPathSelectorView{} 1906 } 1907 func (PaginationFieldPathBuilder) Function() PaginationPathSelectorFunction { 1908 return PaginationPathSelectorFunction{} 1909 } 1910 func (PaginationFieldPathBuilder) AlignmentPeriod() PaginationPathSelectorAlignmentPeriod { 1911 return PaginationPathSelectorAlignmentPeriod{} 1912 } 1913 func (PaginationFieldPathBuilder) Limit() PaginationPathSelectorLimit { 1914 return PaginationPathSelectorLimit{} 1915 } 1916 func (PaginationFieldPathBuilder) Offset() PaginationPathSelectorOffset { 1917 return PaginationPathSelectorOffset{} 1918 } 1919 1920 type PaginationPathSelectorView struct{} 1921 1922 func (PaginationPathSelectorView) FieldPath() *Pagination_FieldTerminalPath { 1923 return &Pagination_FieldTerminalPath{selector: Pagination_FieldPathSelectorView} 1924 } 1925 1926 func (s PaginationPathSelectorView) WithValue(value string) *Pagination_FieldTerminalPathValue { 1927 return s.FieldPath().WithIValue(value).(*Pagination_FieldTerminalPathValue) 1928 } 1929 1930 func (s PaginationPathSelectorView) WithArrayOfValues(values []string) *Pagination_FieldTerminalPathArrayOfValues { 1931 return s.FieldPath().WithIArrayOfValues(values).(*Pagination_FieldTerminalPathArrayOfValues) 1932 } 1933 1934 type PaginationPathSelectorFunction struct{} 1935 1936 func (PaginationPathSelectorFunction) FieldPath() *Pagination_FieldTerminalPath { 1937 return &Pagination_FieldTerminalPath{selector: Pagination_FieldPathSelectorFunction} 1938 } 1939 1940 func (s PaginationPathSelectorFunction) WithValue(value string) *Pagination_FieldTerminalPathValue { 1941 return s.FieldPath().WithIValue(value).(*Pagination_FieldTerminalPathValue) 1942 } 1943 1944 func (s PaginationPathSelectorFunction) WithArrayOfValues(values []string) *Pagination_FieldTerminalPathArrayOfValues { 1945 return s.FieldPath().WithIArrayOfValues(values).(*Pagination_FieldTerminalPathArrayOfValues) 1946 } 1947 1948 type PaginationPathSelectorAlignmentPeriod struct{} 1949 1950 func (PaginationPathSelectorAlignmentPeriod) FieldPath() *Pagination_FieldTerminalPath { 1951 return &Pagination_FieldTerminalPath{selector: Pagination_FieldPathSelectorAlignmentPeriod} 1952 } 1953 1954 func (s PaginationPathSelectorAlignmentPeriod) WithValue(value *durationpb.Duration) *Pagination_FieldTerminalPathValue { 1955 return s.FieldPath().WithIValue(value).(*Pagination_FieldTerminalPathValue) 1956 } 1957 1958 func (s PaginationPathSelectorAlignmentPeriod) WithArrayOfValues(values []*durationpb.Duration) *Pagination_FieldTerminalPathArrayOfValues { 1959 return s.FieldPath().WithIArrayOfValues(values).(*Pagination_FieldTerminalPathArrayOfValues) 1960 } 1961 1962 type PaginationPathSelectorLimit struct{} 1963 1964 func (PaginationPathSelectorLimit) FieldPath() *Pagination_FieldTerminalPath { 1965 return &Pagination_FieldTerminalPath{selector: Pagination_FieldPathSelectorLimit} 1966 } 1967 1968 func (s PaginationPathSelectorLimit) WithValue(value int32) *Pagination_FieldTerminalPathValue { 1969 return s.FieldPath().WithIValue(value).(*Pagination_FieldTerminalPathValue) 1970 } 1971 1972 func (s PaginationPathSelectorLimit) WithArrayOfValues(values []int32) *Pagination_FieldTerminalPathArrayOfValues { 1973 return s.FieldPath().WithIArrayOfValues(values).(*Pagination_FieldTerminalPathArrayOfValues) 1974 } 1975 1976 type PaginationPathSelectorOffset struct{} 1977 1978 func (PaginationPathSelectorOffset) FieldPath() *Pagination_FieldTerminalPath { 1979 return &Pagination_FieldTerminalPath{selector: Pagination_FieldPathSelectorOffset} 1980 } 1981 1982 func (s PaginationPathSelectorOffset) WithValue(value int32) *Pagination_FieldTerminalPathValue { 1983 return s.FieldPath().WithIValue(value).(*Pagination_FieldTerminalPathValue) 1984 } 1985 1986 func (s PaginationPathSelectorOffset) WithArrayOfValues(values []int32) *Pagination_FieldTerminalPathArrayOfValues { 1987 return s.FieldPath().WithIArrayOfValues(values).(*Pagination_FieldTerminalPathArrayOfValues) 1988 } 1989 1990 type MetricFieldPathBuilder struct{} 1991 1992 func NewMetricFieldPathBuilder() MetricFieldPathBuilder { 1993 return MetricFieldPathBuilder{} 1994 } 1995 func (MetricFieldPathBuilder) Type() MetricPathSelectorType { 1996 return MetricPathSelectorType{} 1997 } 1998 func (MetricFieldPathBuilder) Labels() MetricPathSelectorLabels { 1999 return MetricPathSelectorLabels{} 2000 } 2001 func (MetricFieldPathBuilder) ReducedLabels() MetricPathSelectorReducedLabels { 2002 return MetricPathSelectorReducedLabels{} 2003 } 2004 2005 type MetricPathSelectorType struct{} 2006 2007 func (MetricPathSelectorType) FieldPath() *Metric_FieldTerminalPath { 2008 return &Metric_FieldTerminalPath{selector: Metric_FieldPathSelectorType} 2009 } 2010 2011 func (s MetricPathSelectorType) WithValue(value string) *Metric_FieldTerminalPathValue { 2012 return s.FieldPath().WithIValue(value).(*Metric_FieldTerminalPathValue) 2013 } 2014 2015 func (s MetricPathSelectorType) WithArrayOfValues(values []string) *Metric_FieldTerminalPathArrayOfValues { 2016 return s.FieldPath().WithIArrayOfValues(values).(*Metric_FieldTerminalPathArrayOfValues) 2017 } 2018 2019 type MetricPathSelectorLabels struct{} 2020 2021 func (MetricPathSelectorLabels) FieldPath() *Metric_FieldTerminalPath { 2022 return &Metric_FieldTerminalPath{selector: Metric_FieldPathSelectorLabels} 2023 } 2024 2025 func (s MetricPathSelectorLabels) WithValue(value map[string]string) *Metric_FieldTerminalPathValue { 2026 return s.FieldPath().WithIValue(value).(*Metric_FieldTerminalPathValue) 2027 } 2028 2029 func (s MetricPathSelectorLabels) WithArrayOfValues(values []map[string]string) *Metric_FieldTerminalPathArrayOfValues { 2030 return s.FieldPath().WithIArrayOfValues(values).(*Metric_FieldTerminalPathArrayOfValues) 2031 } 2032 2033 func (MetricPathSelectorLabels) WithKey(key string) MetricMapPathSelectorLabels { 2034 return MetricMapPathSelectorLabels{key: key} 2035 } 2036 2037 type MetricMapPathSelectorLabels struct { 2038 key string 2039 } 2040 2041 func (s MetricMapPathSelectorLabels) FieldPath() *Metric_FieldPathMap { 2042 return &Metric_FieldPathMap{selector: Metric_FieldPathSelectorLabels, key: s.key} 2043 } 2044 2045 func (s MetricMapPathSelectorLabels) WithValue(value string) *Metric_FieldPathMapValue { 2046 return s.FieldPath().WithIValue(value).(*Metric_FieldPathMapValue) 2047 } 2048 2049 func (s MetricMapPathSelectorLabels) WithArrayOfValues(values []string) *Metric_FieldPathMapArrayOfValues { 2050 return s.FieldPath().WithIArrayOfValues(values).(*Metric_FieldPathMapArrayOfValues) 2051 } 2052 2053 type MetricPathSelectorReducedLabels struct{} 2054 2055 func (MetricPathSelectorReducedLabels) FieldPath() *Metric_FieldTerminalPath { 2056 return &Metric_FieldTerminalPath{selector: Metric_FieldPathSelectorReducedLabels} 2057 } 2058 2059 func (s MetricPathSelectorReducedLabels) WithValue(value []string) *Metric_FieldTerminalPathValue { 2060 return s.FieldPath().WithIValue(value).(*Metric_FieldTerminalPathValue) 2061 } 2062 2063 func (s MetricPathSelectorReducedLabels) WithArrayOfValues(values [][]string) *Metric_FieldTerminalPathArrayOfValues { 2064 return s.FieldPath().WithIArrayOfValues(values).(*Metric_FieldTerminalPathArrayOfValues) 2065 } 2066 2067 func (s MetricPathSelectorReducedLabels) WithItemValue(value string) *Metric_FieldTerminalPathArrayItemValue { 2068 return s.FieldPath().WithIArrayItemValue(value).(*Metric_FieldTerminalPathArrayItemValue) 2069 } 2070 2071 type MonitoredResourceFieldPathBuilder struct{} 2072 2073 func NewMonitoredResourceFieldPathBuilder() MonitoredResourceFieldPathBuilder { 2074 return MonitoredResourceFieldPathBuilder{} 2075 } 2076 func (MonitoredResourceFieldPathBuilder) Type() MonitoredResourcePathSelectorType { 2077 return MonitoredResourcePathSelectorType{} 2078 } 2079 func (MonitoredResourceFieldPathBuilder) Labels() MonitoredResourcePathSelectorLabels { 2080 return MonitoredResourcePathSelectorLabels{} 2081 } 2082 func (MonitoredResourceFieldPathBuilder) ReducedLabels() MonitoredResourcePathSelectorReducedLabels { 2083 return MonitoredResourcePathSelectorReducedLabels{} 2084 } 2085 2086 type MonitoredResourcePathSelectorType struct{} 2087 2088 func (MonitoredResourcePathSelectorType) FieldPath() *MonitoredResource_FieldTerminalPath { 2089 return &MonitoredResource_FieldTerminalPath{selector: MonitoredResource_FieldPathSelectorType} 2090 } 2091 2092 func (s MonitoredResourcePathSelectorType) WithValue(value string) *MonitoredResource_FieldTerminalPathValue { 2093 return s.FieldPath().WithIValue(value).(*MonitoredResource_FieldTerminalPathValue) 2094 } 2095 2096 func (s MonitoredResourcePathSelectorType) WithArrayOfValues(values []string) *MonitoredResource_FieldTerminalPathArrayOfValues { 2097 return s.FieldPath().WithIArrayOfValues(values).(*MonitoredResource_FieldTerminalPathArrayOfValues) 2098 } 2099 2100 type MonitoredResourcePathSelectorLabels struct{} 2101 2102 func (MonitoredResourcePathSelectorLabels) FieldPath() *MonitoredResource_FieldTerminalPath { 2103 return &MonitoredResource_FieldTerminalPath{selector: MonitoredResource_FieldPathSelectorLabels} 2104 } 2105 2106 func (s MonitoredResourcePathSelectorLabels) WithValue(value map[string]string) *MonitoredResource_FieldTerminalPathValue { 2107 return s.FieldPath().WithIValue(value).(*MonitoredResource_FieldTerminalPathValue) 2108 } 2109 2110 func (s MonitoredResourcePathSelectorLabels) WithArrayOfValues(values []map[string]string) *MonitoredResource_FieldTerminalPathArrayOfValues { 2111 return s.FieldPath().WithIArrayOfValues(values).(*MonitoredResource_FieldTerminalPathArrayOfValues) 2112 } 2113 2114 func (MonitoredResourcePathSelectorLabels) WithKey(key string) MonitoredResourceMapPathSelectorLabels { 2115 return MonitoredResourceMapPathSelectorLabels{key: key} 2116 } 2117 2118 type MonitoredResourceMapPathSelectorLabels struct { 2119 key string 2120 } 2121 2122 func (s MonitoredResourceMapPathSelectorLabels) FieldPath() *MonitoredResource_FieldPathMap { 2123 return &MonitoredResource_FieldPathMap{selector: MonitoredResource_FieldPathSelectorLabels, key: s.key} 2124 } 2125 2126 func (s MonitoredResourceMapPathSelectorLabels) WithValue(value string) *MonitoredResource_FieldPathMapValue { 2127 return s.FieldPath().WithIValue(value).(*MonitoredResource_FieldPathMapValue) 2128 } 2129 2130 func (s MonitoredResourceMapPathSelectorLabels) WithArrayOfValues(values []string) *MonitoredResource_FieldPathMapArrayOfValues { 2131 return s.FieldPath().WithIArrayOfValues(values).(*MonitoredResource_FieldPathMapArrayOfValues) 2132 } 2133 2134 type MonitoredResourcePathSelectorReducedLabels struct{} 2135 2136 func (MonitoredResourcePathSelectorReducedLabels) FieldPath() *MonitoredResource_FieldTerminalPath { 2137 return &MonitoredResource_FieldTerminalPath{selector: MonitoredResource_FieldPathSelectorReducedLabels} 2138 } 2139 2140 func (s MonitoredResourcePathSelectorReducedLabels) WithValue(value []string) *MonitoredResource_FieldTerminalPathValue { 2141 return s.FieldPath().WithIValue(value).(*MonitoredResource_FieldTerminalPathValue) 2142 } 2143 2144 func (s MonitoredResourcePathSelectorReducedLabels) WithArrayOfValues(values [][]string) *MonitoredResource_FieldTerminalPathArrayOfValues { 2145 return s.FieldPath().WithIArrayOfValues(values).(*MonitoredResource_FieldTerminalPathArrayOfValues) 2146 } 2147 2148 func (s MonitoredResourcePathSelectorReducedLabels) WithItemValue(value string) *MonitoredResource_FieldTerminalPathArrayItemValue { 2149 return s.FieldPath().WithIArrayItemValue(value).(*MonitoredResource_FieldTerminalPathArrayItemValue) 2150 } 2151 2152 type StringsFieldPathBuilder struct{} 2153 2154 func NewStringsFieldPathBuilder() StringsFieldPathBuilder { 2155 return StringsFieldPathBuilder{} 2156 } 2157 func (StringsFieldPathBuilder) Values() StringsPathSelectorValues { 2158 return StringsPathSelectorValues{} 2159 } 2160 2161 type StringsPathSelectorValues struct{} 2162 2163 func (StringsPathSelectorValues) FieldPath() *Strings_FieldTerminalPath { 2164 return &Strings_FieldTerminalPath{selector: Strings_FieldPathSelectorValues} 2165 } 2166 2167 func (s StringsPathSelectorValues) WithValue(value []string) *Strings_FieldTerminalPathValue { 2168 return s.FieldPath().WithIValue(value).(*Strings_FieldTerminalPathValue) 2169 } 2170 2171 func (s StringsPathSelectorValues) WithArrayOfValues(values [][]string) *Strings_FieldTerminalPathArrayOfValues { 2172 return s.FieldPath().WithIArrayOfValues(values).(*Strings_FieldTerminalPathArrayOfValues) 2173 } 2174 2175 func (s StringsPathSelectorValues) WithItemValue(value string) *Strings_FieldTerminalPathArrayItemValue { 2176 return s.FieldPath().WithIArrayItemValue(value).(*Strings_FieldTerminalPathArrayItemValue) 2177 } 2178 2179 type MonitoredResourceSelectorFieldPathBuilder struct{} 2180 2181 func NewMonitoredResourceSelectorFieldPathBuilder() MonitoredResourceSelectorFieldPathBuilder { 2182 return MonitoredResourceSelectorFieldPathBuilder{} 2183 } 2184 func (MonitoredResourceSelectorFieldPathBuilder) Types() MonitoredResourceSelectorPathSelectorTypes { 2185 return MonitoredResourceSelectorPathSelectorTypes{} 2186 } 2187 func (MonitoredResourceSelectorFieldPathBuilder) Labels() MonitoredResourceSelectorPathSelectorLabels { 2188 return MonitoredResourceSelectorPathSelectorLabels{} 2189 } 2190 2191 type MonitoredResourceSelectorPathSelectorTypes struct{} 2192 2193 func (MonitoredResourceSelectorPathSelectorTypes) FieldPath() *MonitoredResourceSelector_FieldTerminalPath { 2194 return &MonitoredResourceSelector_FieldTerminalPath{selector: MonitoredResourceSelector_FieldPathSelectorTypes} 2195 } 2196 2197 func (s MonitoredResourceSelectorPathSelectorTypes) WithValue(value []string) *MonitoredResourceSelector_FieldTerminalPathValue { 2198 return s.FieldPath().WithIValue(value).(*MonitoredResourceSelector_FieldTerminalPathValue) 2199 } 2200 2201 func (s MonitoredResourceSelectorPathSelectorTypes) WithArrayOfValues(values [][]string) *MonitoredResourceSelector_FieldTerminalPathArrayOfValues { 2202 return s.FieldPath().WithIArrayOfValues(values).(*MonitoredResourceSelector_FieldTerminalPathArrayOfValues) 2203 } 2204 2205 func (s MonitoredResourceSelectorPathSelectorTypes) WithItemValue(value string) *MonitoredResourceSelector_FieldTerminalPathArrayItemValue { 2206 return s.FieldPath().WithIArrayItemValue(value).(*MonitoredResourceSelector_FieldTerminalPathArrayItemValue) 2207 } 2208 2209 type MonitoredResourceSelectorPathSelectorLabels struct{} 2210 2211 func (MonitoredResourceSelectorPathSelectorLabels) FieldPath() *MonitoredResourceSelector_FieldTerminalPath { 2212 return &MonitoredResourceSelector_FieldTerminalPath{selector: MonitoredResourceSelector_FieldPathSelectorLabels} 2213 } 2214 2215 func (s MonitoredResourceSelectorPathSelectorLabels) WithValue(value map[string]*Strings) *MonitoredResourceSelector_FieldTerminalPathValue { 2216 return s.FieldPath().WithIValue(value).(*MonitoredResourceSelector_FieldTerminalPathValue) 2217 } 2218 2219 func (s MonitoredResourceSelectorPathSelectorLabels) WithArrayOfValues(values []map[string]*Strings) *MonitoredResourceSelector_FieldTerminalPathArrayOfValues { 2220 return s.FieldPath().WithIArrayOfValues(values).(*MonitoredResourceSelector_FieldTerminalPathArrayOfValues) 2221 } 2222 2223 func (MonitoredResourceSelectorPathSelectorLabels) WithKey(key string) MonitoredResourceSelectorMapPathSelectorLabels { 2224 return MonitoredResourceSelectorMapPathSelectorLabels{key: key} 2225 } 2226 2227 type MonitoredResourceSelectorMapPathSelectorLabels struct { 2228 key string 2229 } 2230 2231 func (s MonitoredResourceSelectorMapPathSelectorLabels) FieldPath() *MonitoredResourceSelector_FieldPathMap { 2232 return &MonitoredResourceSelector_FieldPathMap{selector: MonitoredResourceSelector_FieldPathSelectorLabels, key: s.key} 2233 } 2234 2235 func (s MonitoredResourceSelectorMapPathSelectorLabels) WithValue(value *Strings) *MonitoredResourceSelector_FieldPathMapValue { 2236 return s.FieldPath().WithIValue(value).(*MonitoredResourceSelector_FieldPathMapValue) 2237 } 2238 2239 func (s MonitoredResourceSelectorMapPathSelectorLabels) WithArrayOfValues(values []*Strings) *MonitoredResourceSelector_FieldPathMapArrayOfValues { 2240 return s.FieldPath().WithIArrayOfValues(values).(*MonitoredResourceSelector_FieldPathMapArrayOfValues) 2241 } 2242 2243 type MetricSelectorFieldPathBuilder struct{} 2244 2245 func NewMetricSelectorFieldPathBuilder() MetricSelectorFieldPathBuilder { 2246 return MetricSelectorFieldPathBuilder{} 2247 } 2248 func (MetricSelectorFieldPathBuilder) Types() MetricSelectorPathSelectorTypes { 2249 return MetricSelectorPathSelectorTypes{} 2250 } 2251 func (MetricSelectorFieldPathBuilder) Labels() MetricSelectorPathSelectorLabels { 2252 return MetricSelectorPathSelectorLabels{} 2253 } 2254 2255 type MetricSelectorPathSelectorTypes struct{} 2256 2257 func (MetricSelectorPathSelectorTypes) FieldPath() *MetricSelector_FieldTerminalPath { 2258 return &MetricSelector_FieldTerminalPath{selector: MetricSelector_FieldPathSelectorTypes} 2259 } 2260 2261 func (s MetricSelectorPathSelectorTypes) WithValue(value []string) *MetricSelector_FieldTerminalPathValue { 2262 return s.FieldPath().WithIValue(value).(*MetricSelector_FieldTerminalPathValue) 2263 } 2264 2265 func (s MetricSelectorPathSelectorTypes) WithArrayOfValues(values [][]string) *MetricSelector_FieldTerminalPathArrayOfValues { 2266 return s.FieldPath().WithIArrayOfValues(values).(*MetricSelector_FieldTerminalPathArrayOfValues) 2267 } 2268 2269 func (s MetricSelectorPathSelectorTypes) WithItemValue(value string) *MetricSelector_FieldTerminalPathArrayItemValue { 2270 return s.FieldPath().WithIArrayItemValue(value).(*MetricSelector_FieldTerminalPathArrayItemValue) 2271 } 2272 2273 type MetricSelectorPathSelectorLabels struct{} 2274 2275 func (MetricSelectorPathSelectorLabels) FieldPath() *MetricSelector_FieldTerminalPath { 2276 return &MetricSelector_FieldTerminalPath{selector: MetricSelector_FieldPathSelectorLabels} 2277 } 2278 2279 func (s MetricSelectorPathSelectorLabels) WithValue(value map[string]*Strings) *MetricSelector_FieldTerminalPathValue { 2280 return s.FieldPath().WithIValue(value).(*MetricSelector_FieldTerminalPathValue) 2281 } 2282 2283 func (s MetricSelectorPathSelectorLabels) WithArrayOfValues(values []map[string]*Strings) *MetricSelector_FieldTerminalPathArrayOfValues { 2284 return s.FieldPath().WithIArrayOfValues(values).(*MetricSelector_FieldTerminalPathArrayOfValues) 2285 } 2286 2287 func (MetricSelectorPathSelectorLabels) WithKey(key string) MetricSelectorMapPathSelectorLabels { 2288 return MetricSelectorMapPathSelectorLabels{key: key} 2289 } 2290 2291 type MetricSelectorMapPathSelectorLabels struct { 2292 key string 2293 } 2294 2295 func (s MetricSelectorMapPathSelectorLabels) FieldPath() *MetricSelector_FieldPathMap { 2296 return &MetricSelector_FieldPathMap{selector: MetricSelector_FieldPathSelectorLabels, key: s.key} 2297 } 2298 2299 func (s MetricSelectorMapPathSelectorLabels) WithValue(value *Strings) *MetricSelector_FieldPathMapValue { 2300 return s.FieldPath().WithIValue(value).(*MetricSelector_FieldPathMapValue) 2301 } 2302 2303 func (s MetricSelectorMapPathSelectorLabels) WithArrayOfValues(values []*Strings) *MetricSelector_FieldPathMapArrayOfValues { 2304 return s.FieldPath().WithIArrayOfValues(values).(*MetricSelector_FieldPathMapArrayOfValues) 2305 } 2306 2307 type TimeSeriesSelectorFieldPathBuilder struct{} 2308 2309 func NewTimeSeriesSelectorFieldPathBuilder() TimeSeriesSelectorFieldPathBuilder { 2310 return TimeSeriesSelectorFieldPathBuilder{} 2311 } 2312 func (TimeSeriesSelectorFieldPathBuilder) Metric() TimeSeriesSelectorPathSelectorMetric { 2313 return TimeSeriesSelectorPathSelectorMetric{} 2314 } 2315 func (TimeSeriesSelectorFieldPathBuilder) Resource() TimeSeriesSelectorPathSelectorResource { 2316 return TimeSeriesSelectorPathSelectorResource{} 2317 } 2318 2319 type TimeSeriesSelectorPathSelectorMetric struct{} 2320 2321 func (TimeSeriesSelectorPathSelectorMetric) FieldPath() *TimeSeriesSelector_FieldTerminalPath { 2322 return &TimeSeriesSelector_FieldTerminalPath{selector: TimeSeriesSelector_FieldPathSelectorMetric} 2323 } 2324 2325 func (s TimeSeriesSelectorPathSelectorMetric) WithValue(value *MetricSelector) *TimeSeriesSelector_FieldTerminalPathValue { 2326 return s.FieldPath().WithIValue(value).(*TimeSeriesSelector_FieldTerminalPathValue) 2327 } 2328 2329 func (s TimeSeriesSelectorPathSelectorMetric) WithArrayOfValues(values []*MetricSelector) *TimeSeriesSelector_FieldTerminalPathArrayOfValues { 2330 return s.FieldPath().WithIArrayOfValues(values).(*TimeSeriesSelector_FieldTerminalPathArrayOfValues) 2331 } 2332 2333 func (TimeSeriesSelectorPathSelectorMetric) WithSubPath(subPath MetricSelector_FieldPath) *TimeSeriesSelector_FieldSubPath { 2334 return &TimeSeriesSelector_FieldSubPath{selector: TimeSeriesSelector_FieldPathSelectorMetric, subPath: subPath} 2335 } 2336 2337 func (s TimeSeriesSelectorPathSelectorMetric) WithSubValue(subPathValue MetricSelector_FieldPathValue) *TimeSeriesSelector_FieldSubPathValue { 2338 return &TimeSeriesSelector_FieldSubPathValue{TimeSeriesSelector_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2339 } 2340 2341 func (s TimeSeriesSelectorPathSelectorMetric) WithSubArrayOfValues(subPathArrayOfValues MetricSelector_FieldPathArrayOfValues) *TimeSeriesSelector_FieldSubPathArrayOfValues { 2342 return &TimeSeriesSelector_FieldSubPathArrayOfValues{TimeSeriesSelector_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2343 } 2344 2345 func (s TimeSeriesSelectorPathSelectorMetric) WithSubArrayItemValue(subPathArrayItemValue MetricSelector_FieldPathArrayItemValue) *TimeSeriesSelector_FieldSubPathArrayItemValue { 2346 return &TimeSeriesSelector_FieldSubPathArrayItemValue{TimeSeriesSelector_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2347 } 2348 2349 func (TimeSeriesSelectorPathSelectorMetric) Types() TimeSeriesSelectorPathSelectorMetricTypes { 2350 return TimeSeriesSelectorPathSelectorMetricTypes{} 2351 } 2352 2353 func (TimeSeriesSelectorPathSelectorMetric) Labels() TimeSeriesSelectorPathSelectorMetricLabels { 2354 return TimeSeriesSelectorPathSelectorMetricLabels{} 2355 } 2356 2357 type TimeSeriesSelectorPathSelectorMetricTypes struct{} 2358 2359 func (TimeSeriesSelectorPathSelectorMetricTypes) FieldPath() *TimeSeriesSelector_FieldSubPath { 2360 return &TimeSeriesSelector_FieldSubPath{ 2361 selector: TimeSeriesSelector_FieldPathSelectorMetric, 2362 subPath: NewMetricSelectorFieldPathBuilder().Types().FieldPath(), 2363 } 2364 } 2365 2366 func (s TimeSeriesSelectorPathSelectorMetricTypes) WithValue(value []string) *TimeSeriesSelector_FieldSubPathValue { 2367 return s.FieldPath().WithIValue(value).(*TimeSeriesSelector_FieldSubPathValue) 2368 } 2369 2370 func (s TimeSeriesSelectorPathSelectorMetricTypes) WithArrayOfValues(values [][]string) *TimeSeriesSelector_FieldSubPathArrayOfValues { 2371 return s.FieldPath().WithIArrayOfValues(values).(*TimeSeriesSelector_FieldSubPathArrayOfValues) 2372 } 2373 2374 func (s TimeSeriesSelectorPathSelectorMetricTypes) WithItemValue(value string) *TimeSeriesSelector_FieldSubPathArrayItemValue { 2375 return s.FieldPath().WithIArrayItemValue(value).(*TimeSeriesSelector_FieldSubPathArrayItemValue) 2376 } 2377 2378 type TimeSeriesSelectorPathSelectorMetricLabels struct{} 2379 2380 func (TimeSeriesSelectorPathSelectorMetricLabels) FieldPath() *TimeSeriesSelector_FieldSubPath { 2381 return &TimeSeriesSelector_FieldSubPath{ 2382 selector: TimeSeriesSelector_FieldPathSelectorMetric, 2383 subPath: NewMetricSelectorFieldPathBuilder().Labels().FieldPath(), 2384 } 2385 } 2386 2387 func (s TimeSeriesSelectorPathSelectorMetricLabels) WithValue(value map[string]*Strings) *TimeSeriesSelector_FieldSubPathValue { 2388 return s.FieldPath().WithIValue(value).(*TimeSeriesSelector_FieldSubPathValue) 2389 } 2390 2391 func (s TimeSeriesSelectorPathSelectorMetricLabels) WithArrayOfValues(values []map[string]*Strings) *TimeSeriesSelector_FieldSubPathArrayOfValues { 2392 return s.FieldPath().WithIArrayOfValues(values).(*TimeSeriesSelector_FieldSubPathArrayOfValues) 2393 } 2394 2395 func (TimeSeriesSelectorPathSelectorMetricLabels) WithKey(key string) TimeSeriesSelectorMapPathSelectorMetricLabels { 2396 return TimeSeriesSelectorMapPathSelectorMetricLabels{key: key} 2397 } 2398 2399 type TimeSeriesSelectorMapPathSelectorMetricLabels struct { 2400 key string 2401 } 2402 2403 func (s TimeSeriesSelectorMapPathSelectorMetricLabels) FieldPath() *TimeSeriesSelector_FieldSubPath { 2404 return &TimeSeriesSelector_FieldSubPath{ 2405 selector: TimeSeriesSelector_FieldPathSelectorMetric, 2406 subPath: NewMetricSelectorFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 2407 } 2408 } 2409 2410 func (s TimeSeriesSelectorMapPathSelectorMetricLabels) WithValue(value *Strings) *TimeSeriesSelector_FieldSubPathValue { 2411 return s.FieldPath().WithIValue(value).(*TimeSeriesSelector_FieldSubPathValue) 2412 } 2413 2414 func (s TimeSeriesSelectorMapPathSelectorMetricLabels) WithArrayOfValues(values []*Strings) *TimeSeriesSelector_FieldSubPathArrayOfValues { 2415 return s.FieldPath().WithIArrayOfValues(values).(*TimeSeriesSelector_FieldSubPathArrayOfValues) 2416 } 2417 2418 type TimeSeriesSelectorPathSelectorResource struct{} 2419 2420 func (TimeSeriesSelectorPathSelectorResource) FieldPath() *TimeSeriesSelector_FieldTerminalPath { 2421 return &TimeSeriesSelector_FieldTerminalPath{selector: TimeSeriesSelector_FieldPathSelectorResource} 2422 } 2423 2424 func (s TimeSeriesSelectorPathSelectorResource) WithValue(value *MonitoredResourceSelector) *TimeSeriesSelector_FieldTerminalPathValue { 2425 return s.FieldPath().WithIValue(value).(*TimeSeriesSelector_FieldTerminalPathValue) 2426 } 2427 2428 func (s TimeSeriesSelectorPathSelectorResource) WithArrayOfValues(values []*MonitoredResourceSelector) *TimeSeriesSelector_FieldTerminalPathArrayOfValues { 2429 return s.FieldPath().WithIArrayOfValues(values).(*TimeSeriesSelector_FieldTerminalPathArrayOfValues) 2430 } 2431 2432 func (TimeSeriesSelectorPathSelectorResource) WithSubPath(subPath MonitoredResourceSelector_FieldPath) *TimeSeriesSelector_FieldSubPath { 2433 return &TimeSeriesSelector_FieldSubPath{selector: TimeSeriesSelector_FieldPathSelectorResource, subPath: subPath} 2434 } 2435 2436 func (s TimeSeriesSelectorPathSelectorResource) WithSubValue(subPathValue MonitoredResourceSelector_FieldPathValue) *TimeSeriesSelector_FieldSubPathValue { 2437 return &TimeSeriesSelector_FieldSubPathValue{TimeSeriesSelector_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 2438 } 2439 2440 func (s TimeSeriesSelectorPathSelectorResource) WithSubArrayOfValues(subPathArrayOfValues MonitoredResourceSelector_FieldPathArrayOfValues) *TimeSeriesSelector_FieldSubPathArrayOfValues { 2441 return &TimeSeriesSelector_FieldSubPathArrayOfValues{TimeSeriesSelector_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 2442 } 2443 2444 func (s TimeSeriesSelectorPathSelectorResource) WithSubArrayItemValue(subPathArrayItemValue MonitoredResourceSelector_FieldPathArrayItemValue) *TimeSeriesSelector_FieldSubPathArrayItemValue { 2445 return &TimeSeriesSelector_FieldSubPathArrayItemValue{TimeSeriesSelector_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 2446 } 2447 2448 func (TimeSeriesSelectorPathSelectorResource) Types() TimeSeriesSelectorPathSelectorResourceTypes { 2449 return TimeSeriesSelectorPathSelectorResourceTypes{} 2450 } 2451 2452 func (TimeSeriesSelectorPathSelectorResource) Labels() TimeSeriesSelectorPathSelectorResourceLabels { 2453 return TimeSeriesSelectorPathSelectorResourceLabels{} 2454 } 2455 2456 type TimeSeriesSelectorPathSelectorResourceTypes struct{} 2457 2458 func (TimeSeriesSelectorPathSelectorResourceTypes) FieldPath() *TimeSeriesSelector_FieldSubPath { 2459 return &TimeSeriesSelector_FieldSubPath{ 2460 selector: TimeSeriesSelector_FieldPathSelectorResource, 2461 subPath: NewMonitoredResourceSelectorFieldPathBuilder().Types().FieldPath(), 2462 } 2463 } 2464 2465 func (s TimeSeriesSelectorPathSelectorResourceTypes) WithValue(value []string) *TimeSeriesSelector_FieldSubPathValue { 2466 return s.FieldPath().WithIValue(value).(*TimeSeriesSelector_FieldSubPathValue) 2467 } 2468 2469 func (s TimeSeriesSelectorPathSelectorResourceTypes) WithArrayOfValues(values [][]string) *TimeSeriesSelector_FieldSubPathArrayOfValues { 2470 return s.FieldPath().WithIArrayOfValues(values).(*TimeSeriesSelector_FieldSubPathArrayOfValues) 2471 } 2472 2473 func (s TimeSeriesSelectorPathSelectorResourceTypes) WithItemValue(value string) *TimeSeriesSelector_FieldSubPathArrayItemValue { 2474 return s.FieldPath().WithIArrayItemValue(value).(*TimeSeriesSelector_FieldSubPathArrayItemValue) 2475 } 2476 2477 type TimeSeriesSelectorPathSelectorResourceLabels struct{} 2478 2479 func (TimeSeriesSelectorPathSelectorResourceLabels) FieldPath() *TimeSeriesSelector_FieldSubPath { 2480 return &TimeSeriesSelector_FieldSubPath{ 2481 selector: TimeSeriesSelector_FieldPathSelectorResource, 2482 subPath: NewMonitoredResourceSelectorFieldPathBuilder().Labels().FieldPath(), 2483 } 2484 } 2485 2486 func (s TimeSeriesSelectorPathSelectorResourceLabels) WithValue(value map[string]*Strings) *TimeSeriesSelector_FieldSubPathValue { 2487 return s.FieldPath().WithIValue(value).(*TimeSeriesSelector_FieldSubPathValue) 2488 } 2489 2490 func (s TimeSeriesSelectorPathSelectorResourceLabels) WithArrayOfValues(values []map[string]*Strings) *TimeSeriesSelector_FieldSubPathArrayOfValues { 2491 return s.FieldPath().WithIArrayOfValues(values).(*TimeSeriesSelector_FieldSubPathArrayOfValues) 2492 } 2493 2494 func (TimeSeriesSelectorPathSelectorResourceLabels) WithKey(key string) TimeSeriesSelectorMapPathSelectorResourceLabels { 2495 return TimeSeriesSelectorMapPathSelectorResourceLabels{key: key} 2496 } 2497 2498 type TimeSeriesSelectorMapPathSelectorResourceLabels struct { 2499 key string 2500 } 2501 2502 func (s TimeSeriesSelectorMapPathSelectorResourceLabels) FieldPath() *TimeSeriesSelector_FieldSubPath { 2503 return &TimeSeriesSelector_FieldSubPath{ 2504 selector: TimeSeriesSelector_FieldPathSelectorResource, 2505 subPath: NewMonitoredResourceSelectorFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 2506 } 2507 } 2508 2509 func (s TimeSeriesSelectorMapPathSelectorResourceLabels) WithValue(value *Strings) *TimeSeriesSelector_FieldSubPathValue { 2510 return s.FieldPath().WithIValue(value).(*TimeSeriesSelector_FieldSubPathValue) 2511 } 2512 2513 func (s TimeSeriesSelectorMapPathSelectorResourceLabels) WithArrayOfValues(values []*Strings) *TimeSeriesSelector_FieldSubPathArrayOfValues { 2514 return s.FieldPath().WithIArrayOfValues(values).(*TimeSeriesSelector_FieldSubPathArrayOfValues) 2515 }