Interface CustomInfoType.RegexOrBuilder (3.52.0)

public static interface CustomInfoType.RegexOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGroupIndexes(int index)

public abstract int getGroupIndexes(int index)

The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.

repeated int32 group_indexes = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
int

The groupIndexes at the given index.

getGroupIndexesCount()

public abstract int getGroupIndexesCount()

The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.

repeated int32 group_indexes = 2;

Returns
Type Description
int

The count of groupIndexes.

getGroupIndexesList()

public abstract List<Integer> getGroupIndexesList()

The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.

repeated int32 group_indexes = 2;

Returns
Type Description
List<Integer>

A list containing the groupIndexes.

getPattern()

public abstract String getPattern()

Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.

string pattern = 1;

Returns
Type Description
String

The pattern.

getPatternBytes()

public abstract ByteString getPatternBytes()

Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.

string pattern = 1;

Returns
Type Description
ByteString

The bytes for pattern.