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
Type Description
DoubleValue.Builder

This builder for chaining.

getValue()

public double getValue()

The double value.

double value = 1;

Returns
Type Description
double

The value.

setValue(double value)

public DoubleValue.Builder setValue(double value)

The double value.

double value = 1;

Parameter
Name Description
value double

The value to set.

Returns
Type Description
DoubleValue.Builder

This builder for chaining.