Interface CustomInfoType.RegexOrBuilder (3.7.2)

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pattern.