Class Int64Value.Builder

public static final class Int64Value.Builder extends GeneratedMessageLite.Builder<Int64Value,Int64Value.Builder> implements Int64ValueOrBuilder

Wrapper message for int64. The JSON representation for Int64Value is JSON string.

Protobuf type google.protobuf.Int64Value

Implements

Int64ValueOrBuilder

Methods

clearValue()

public Int64Value.Builder clearValue()

The int64 value.

int64 value = 1;

Returns
TypeDescription
Int64Value.Builder

This builder for chaining.

getValue()

public long getValue()

The int64 value.

int64 value = 1;

Returns
TypeDescription
long

The value.

setValue(long value)

public Int64Value.Builder setValue(long value)

The int64 value.

int64 value = 1;

Parameter
NameDescription
valuelong

The value to set.

Returns
TypeDescription
Int64Value.Builder

This builder for chaining.