Class DoubleValue.Builder (3.19.4)

public static final class DoubleValue.Builder extends GeneratedMessageLite.Builder<DoubleValue,DoubleValue.Builder> implements DoubleValueOrBuilder

Wrapper message for double. The JSON representation for DoubleValue is JSON number.

Protobuf type google.protobuf.DoubleValue

Methods

clearValue()

public DoubleValue.Builder clearValue()

The double value.

double value = 1;

Returns
TypeDescription
DoubleValue.Builder

This builder for chaining.

getValue()

public double getValue()

The double value.

double value = 1;

Returns
TypeDescription
double

The value.

setValue(double value)

public DoubleValue.Builder setValue(double value)

The double value.

double value = 1;

Parameter
NameDescription
valuedouble

The value to set.

Returns
TypeDescription
DoubleValue.Builder

This builder for chaining.