Interface SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder (1.45.0)

public interface SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Name of the user-defined field, as given in the definition.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the user-defined field, as given in the definition.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getValues(int index)

public abstract String getValues(int index)

Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").

repeated string values = 249928994;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The values at the given index.

getValuesBytes(int index)

public abstract ByteString getValuesBytes(int index)

Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").

repeated string values = 249928994;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the values at the given index.

getValuesCount()

public abstract int getValuesCount()

Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").

repeated string values = 249928994;

Returns
TypeDescription
int

The count of values.

getValuesList()

public abstract List<String> getValuesList()

Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").

repeated string values = 249928994;

Returns
TypeDescription
List<String>

A list containing the values.

hasName()

public abstract boolean hasName()

Name of the user-defined field, as given in the definition.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.