Interface ValueOrBuilder (3.38.0)

public interface ValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDoubleValue()

public abstract double getDoubleValue()

A double value.

double double_value = 2;

Returns
TypeDescription
double

The doubleValue.

getIntValue()

public abstract long getIntValue()

An integer value.

int64 int_value = 1;

Returns
TypeDescription
long

The intValue.

getStringValue()

public abstract String getStringValue()

A string value.

string string_value = 3;

Returns
TypeDescription
String

The stringValue.

getStringValueBytes()

public abstract ByteString getStringValueBytes()

A string value.

string string_value = 3;

Returns
TypeDescription
ByteString

The bytes for stringValue.

getValueCase()

public abstract Value.ValueCase getValueCase()
Returns
TypeDescription
Value.ValueCase

hasDoubleValue()

public abstract boolean hasDoubleValue()

A double value.

double double_value = 2;

Returns
TypeDescription
boolean

Whether the doubleValue field is set.

hasIntValue()

public abstract boolean hasIntValue()

An integer value.

int64 int_value = 1;

Returns
TypeDescription
boolean

Whether the intValue field is set.

hasStringValue()

public abstract boolean hasStringValue()

A string value.

string string_value = 3;

Returns
TypeDescription
boolean

Whether the stringValue field is set.