public interface BoolValueOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAllowedValues(int index)
public abstract boolean getAllowedValues(int index)OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.
repeated bool allowed_values = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
boolean |
The allowedValues at the given index. |
getAllowedValuesCount()
public abstract int getAllowedValuesCount()OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.
repeated bool allowed_values = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of allowedValues. |
getAllowedValuesList()
public abstract List<Boolean> getAllowedValuesList()OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.
repeated bool allowed_values = 2;
| Returns | |
|---|---|
| Type | Description |
List<Boolean> |
A list containing the allowedValues. |
getRepeated()
public abstract boolean getRepeated()OPTIONAL Whether the property is repeated.
bool repeated = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The repeated. |