Interface SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder (1.64.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
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

optional string name = 3373707;

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the name field is set.