Class Decimal (2.11.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class Decimal extends GeneratedMessageV3 implements DecimalOrBuilder

A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's [BigDecimal][] or Python's decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html

Protobuf type google.type.Decimal

Implements

DecimalOrBuilder

Static Fields

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Decimal getDefaultInstance()
Returns
TypeDescription
Decimal

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Decimal.Builder newBuilder()
Returns
TypeDescription
Decimal.Builder