Interface CustomFieldValue.ValueOrBuilder (0.11.0)

public static interface CustomFieldValue.ValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDropdownValue()

public abstract long getDropdownValue()

The custom_field_option_id, if the CustomFieldDataType is DROPDOWN.

int64 dropdown_value = 1;

Returns
Type Description
long

The dropdownValue.

getNumberValue()

public abstract double getNumberValue()

The value, if the CustomFieldDataType is NUMBER.

double number_value = 3;

Returns
Type Description
double

The numberValue.

getStringValue()

public abstract String getStringValue()

The value, if the CustomFieldDataType is STRING.

string string_value = 2;

Returns
Type Description
String

The stringValue.

getStringValueBytes()

public abstract ByteString getStringValueBytes()

The value, if the CustomFieldDataType is STRING.

string string_value = 2;

Returns
Type Description
ByteString

The bytes for stringValue.

getToggleValue()

public abstract boolean getToggleValue()

The value, if the CustomFieldDataType is TOGGLE.

bool toggle_value = 4;

Returns
Type Description
boolean

The toggleValue.

getValueCase()

public abstract CustomFieldValue.Value.ValueCase getValueCase()
Returns
Type Description
CustomFieldValue.Value.ValueCase

hasDropdownValue()

public abstract boolean hasDropdownValue()

The custom_field_option_id, if the CustomFieldDataType is DROPDOWN.

int64 dropdown_value = 1;

Returns
Type Description
boolean

Whether the dropdownValue field is set.

hasNumberValue()

public abstract boolean hasNumberValue()

The value, if the CustomFieldDataType is NUMBER.

double number_value = 3;

Returns
Type Description
boolean

Whether the numberValue field is set.

hasStringValue()

public abstract boolean hasStringValue()

The value, if the CustomFieldDataType is STRING.

string string_value = 2;

Returns
Type Description
boolean

Whether the stringValue field is set.

hasToggleValue()

public abstract boolean hasToggleValue()

The value, if the CustomFieldDataType is TOGGLE.

bool toggle_value = 4;

Returns
Type Description
boolean

Whether the toggleValue field is set.