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

This builder for chaining.

getValue()

public int getValue()

The int32 value.

int32 value = 1;

Returns
Type Description
int

The value.

setValue(int value)

public Int32Value.Builder setValue(int value)

The int32 value.

int32 value = 1;

Parameter
Name Description
value int

The value to set.

Returns
Type Description
Int32Value.Builder

This builder for chaining.