Mensagemholoholo.rpc › Distribution
BucketOptions
| Nº | Campo | Tipo | Tag |
|---|---|---|---|
| oneof bucket_type · 3 opções, só uma de cada vez | |||
| 1 | linear_buckets | Distribution.BucketOptions.LinearBuckets | 0a |
| 2 | exponential_buckets | Distribution.BucketOptions.ExponentialBuckets | 12 |
| 3 | explicit_buckets | Distribution.BucketOptions.ExplicitBuckets | 1a |
Tipos aninhados
Usado em (1)
- Distribution.bucket_options
Código .proto
// holo_protos.proto · package holoholo.rpc message BucketOptions { oneof bucket_type { LinearBuckets linear_buckets = 1; ExponentialBuckets exponential_buckets = 2; ExplicitBuckets explicit_buckets = 3; } message ExplicitBuckets { repeated int64 bounds = 1; } message ExponentialBuckets { int64 num_finite_buckets = 1; float growth_factor = 2; float scale = 3; } message LinearBuckets { int64 num_finite_buckets = 1; int64 width = 2; int64 offset = 3; } }