Class Int32Value.Builder (3.19.4)

public static final class Int32Value.Builder extends GeneratedMessageLite.Builder<Int32Value,Int32Value.Builder> implements Int32ValueOrBuilder

Wrapper message for int32. The JSON representation for Int32Value is JSON number.

Protobuf type google.protobuf.Int32Value

Implements

Int32ValueOrBuilder

Methods

clearValue()

public Int32Value.Builder clearValue()

The int32 value.

int32 value = 1;

Returns
TypeDescription
Int32Value.Builder

This builder for chaining.

getValue()

public int getValue()

The int32 value.

int32 value = 1;

Returns
TypeDescription
int

The value.

setValue(int value)

public Int32Value.Builder setValue(int value)

The int32 value.

int32 value = 1;

Parameter
NameDescription
valueint

The value to set.

Returns
TypeDescription
Int32Value.Builder

This builder for chaining.