Package com.google.privacy.dlp.v2
Interface CustomInfoType.RegexOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CustomInfoType.Regex
,CustomInfoType.Regex.Builder
- Enclosing class:
- CustomInfoType
public static interface CustomInfoType.RegexOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getGroupIndexes(int index)
The index of the submatch to extract as findings.int
getGroupIndexesCount()
The index of the submatch to extract as findings.List<Integer>
getGroupIndexesList()
The index of the submatch to extract as findings.String
getPattern()
Pattern defining the regular expression.com.google.protobuf.ByteString
getPatternBytes()
Pattern defining the regular expression.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPattern
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:
- The pattern.
-
getPatternBytes
com.google.protobuf.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:
- The bytes for pattern.
-
getGroupIndexesList
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:
- A list containing the groupIndexes.
-
getGroupIndexesCount
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:
- The count of groupIndexes.
-
getGroupIndexes
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The groupIndexes at the given index.
-
-