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