public static final class FloatValue.Builder extends GeneratedMessageLite.Builder<FloatValue,FloatValue.Builder> implements FloatValueOrBuilder Wrapper message for float.
The JSON representation for FloatValue is JSON number.
Protobuf type google.protobuf.FloatValue
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > GeneratedMessageLite.Builder > FloatValue.BuilderImplements
FloatValueOrBuilderMethods
clearValue()
public FloatValue.Builder clearValue()The float value.
float value = 1;
| Returns | |
|---|---|
| Type | Description |
FloatValue.Builder |
This builder for chaining. |
getValue()
public float getValue()The float value.
float value = 1;
| Returns | |
|---|---|
| Type | Description |
float |
The value. |
setValue(float value)
public FloatValue.Builder setValue(float value)The float value.
float value = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe value to set. |
| Returns | |
|---|---|
| Type | Description |
FloatValue.Builder |
This builder for chaining. |