package type
- Alphabetic
- Public
- All
Type Members
-
final
case class
FractionalPercent(numerator: Int = 0, denominator: DenominatorType = ...) extends GeneratedMessage with Message[FractionalPercent] with Updatable[FractionalPercent] with Product with Serializable
A fractional percentage is used in cases in which for performance reasons performing floating point to integer conversions during randomness calculations is undesirable.
A fractional percentage is used in cases in which for performance reasons performing floating point to integer conversions during randomness calculations is undesirable. The message includes both a numerator and denominator that together determine the final fractional value.
* **Example**: 1/100 = 1%. * **Example**: 3/10000 = 0.03%.
- numerator
Specifies the numerator. Defaults to 0.
- denominator
Specifies the denominator. If the denominator specified is less than the numerator, the final fractional percentage is capped at 1 (100%).
- Annotations
- @SerialVersionUID()
-
final
case class
Int64Range(start: Long = 0L, end: Long = 0L) extends GeneratedMessage with Message[Int64Range] with Updatable[Int64Range] with Product with Serializable
Specifies the int64 start and end of the range using half-open interval semantics [start, end).
Specifies the int64 start and end of the range using half-open interval semantics [start, end).
- start
start of the range (inclusive)
- end
end of the range (exclusive)
- Annotations
- @SerialVersionUID()
-
final
case class
Percent(value: Double = 0.0) extends GeneratedMessage with Message[Percent] with Updatable[Percent] with Product with Serializable
Identifies a percentage, in the range [0.0, 100.0].
Identifies a percentage, in the range [0.0, 100.0].
- Annotations
- @SerialVersionUID()
Value Members
- object FractionalPercent extends GeneratedMessageCompanion[FractionalPercent] with Serializable
- object Int64Range extends GeneratedMessageCompanion[Int64Range] with Serializable
- object Percent extends GeneratedMessageCompanion[Percent] with Serializable
- object PercentProto extends GeneratedFileObject
- object RangeProto extends GeneratedFileObject