Interface PolicyRule.StringValuesOrBuilder (0.7.0)

public static interface PolicyRule.StringValuesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedValues(int index)

public abstract String getAllowedValues(int index)

List of values allowed at this resource.

repeated string allowed_values = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedValues at the given index.

getAllowedValuesBytes(int index)

public abstract ByteString getAllowedValuesBytes(int index)

List of values allowed at this resource.

repeated string allowed_values = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedValues at the given index.

getAllowedValuesCount()

public abstract int getAllowedValuesCount()

List of values allowed at this resource.

repeated string allowed_values = 1;

Returns
Type Description
int

The count of allowedValues.

getAllowedValuesList()

public abstract List<String> getAllowedValuesList()

List of values allowed at this resource.

repeated string allowed_values = 1;

Returns
Type Description
List<String>

A list containing the allowedValues.

getDeniedValues(int index)

public abstract String getDeniedValues(int index)

List of values denied at this resource.

repeated string denied_values = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The deniedValues at the given index.

getDeniedValuesBytes(int index)

public abstract ByteString getDeniedValuesBytes(int index)

List of values denied at this resource.

repeated string denied_values = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the deniedValues at the given index.

getDeniedValuesCount()

public abstract int getDeniedValuesCount()

List of values denied at this resource.

repeated string denied_values = 2;

Returns
Type Description
int

The count of deniedValues.

getDeniedValuesList()

public abstract List<String> getDeniedValuesList()

List of values denied at this resource.

repeated string denied_values = 2;

Returns
Type Description
List<String>

A list containing the deniedValues.