Interface TypedValueOrBuilder (3.28.0)

public interface TypedValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBoolValue()

public abstract boolean getBoolValue()

A Boolean value: true or false.

bool bool_value = 1;

Returns
TypeDescription
boolean

The boolValue.

getDistributionValue()

public abstract Distribution getDistributionValue()

A distribution value.

.google.api.Distribution distribution_value = 5;

Returns
TypeDescription
com.google.api.Distribution

The distributionValue.

getDistributionValueOrBuilder()

public abstract DistributionOrBuilder getDistributionValueOrBuilder()

A distribution value.

.google.api.Distribution distribution_value = 5;

Returns
TypeDescription
com.google.api.DistributionOrBuilder

getDoubleValue()

public abstract double getDoubleValue()

A 64-bit double-precision floating-point number. Its magnitude is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16 significant digits of precision.

double double_value = 3;

Returns
TypeDescription
double

The doubleValue.

getInt64Value()

public abstract long getInt64Value()

A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.

int64 int64_value = 2;

Returns
TypeDescription
long

The int64Value.

getStringValue()

public abstract String getStringValue()

A variable-length string value.

string string_value = 4;

Returns
TypeDescription
String

The stringValue.

getStringValueBytes()

public abstract ByteString getStringValueBytes()

A variable-length string value.

string string_value = 4;

Returns
TypeDescription
ByteString

The bytes for stringValue.

getValueCase()

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

hasBoolValue()

public abstract boolean hasBoolValue()

A Boolean value: true or false.

bool bool_value = 1;

Returns
TypeDescription
boolean

Whether the boolValue field is set.

hasDistributionValue()

public abstract boolean hasDistributionValue()

A distribution value.

.google.api.Distribution distribution_value = 5;

Returns
TypeDescription
boolean

Whether the distributionValue field is set.

hasDoubleValue()

public abstract boolean hasDoubleValue()

A 64-bit double-precision floating-point number. Its magnitude is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16 significant digits of precision.

double double_value = 3;

Returns
TypeDescription
boolean

Whether the doubleValue field is set.

hasInt64Value()

public abstract boolean hasInt64Value()

A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.

int64 int64_value = 2;

Returns
TypeDescription
boolean

Whether the int64Value field is set.

hasStringValue()

public abstract boolean hasStringValue()

A variable-length string value.

string string_value = 4;

Returns
TypeDescription
boolean

Whether the stringValue field is set.