public static final class BoolValue.Builder extends GeneratedMessageLite.Builder<BoolValue,BoolValue.Builder> implements BoolValueOrBuilder
Wrapper message for bool
.
The JSON representation for BoolValue
is JSON true
and false
.
Protobuf type google.protobuf.BoolValue
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > GeneratedMessageLite.Builder > BoolValue.BuilderImplements
BoolValueOrBuilderMethods
clearValue()
public BoolValue.Builder clearValue()
The bool value.
bool value = 1;
Returns | |
---|---|
Type | Description |
BoolValue.Builder | This builder for chaining. |
getValue()
public boolean getValue()
The bool value.
bool value = 1;
Returns | |
---|---|
Type | Description |
boolean | The value. |
setValue(boolean value)
public BoolValue.Builder setValue(boolean value)
The bool value.
bool value = 1;
Parameter | |
---|---|
Name | Description |
value | boolean The value to set. |
Returns | |
---|---|
Type | Description |
BoolValue.Builder | This builder for chaining. |