lustering.wildfly-clustering-marshalling-protostream.4.0.0.Beta2.source-code.java.math.proto Maven / Gradle / Ivy
syntax = "proto3";
package java.math;
// IDs: 120 - 124
/**
* @TypeId(120)
*/
message BigDecimal {
bytes unscaledValue = 1;
uint32 scale = 2;
}
/**
* @TypeId(121)
*/
message BigInteger {
bytes bytes = 1;
}
/**
* @TypeId(122)
*/
message MathContext {
uint32 precision = 1;
RoundingMode mode = 2;
}
/**
* @TypeId(123)
*/
enum RoundingMode {
UP = 0;
DOWN = 1;
CEILING = 2;
FLOOR = 3;
HALF_UP = 4;
HALF_DOWN = 5;
HALF_EVEN = 6;
UNNECESSARY = 7;
}