Navigation :
percent.proto
Package : envoy.type.v3
Top
percent.proto
Table of Contents
FractionalPercent
Field |
Type |
Label |
Description |
numerator |
uint32 |
|
Specifies the numerator. Defaults to 0. |
denominator |
envoy.type.v3.FractionalPercent.DenominatorType |
|
Specifies the denominator. If the denominator specified is less than the numerator, the final fractional percentage is capped at 1 (100%). |
Percent
Field |
Type |
Label |
Description |
value |
double |
|
|
FractionalPercent.DenominatorType
Name |
Number |
Description |
HUNDRED |
0 |
100. Example: 1/100 = 1%. |
TEN_THOUSAND |
1 |
10,000. Example: 1/10000 = 0.01%. |
MILLION |
2 |
1,000,000. Example: 1/1000000 = 0.0001%. |