public static final class CustomInfoType.Regex.Builder extends GeneratedMessageV3.Builder<CustomInfoType.Regex.Builder> implements CustomInfoType.RegexOrBuilder
Message defining a custom regular expression.
Protobuf type google.privacy.dlp.v2.CustomInfoType.Regex
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllGroupIndexes(Iterable<? extends Integer> values)
public CustomInfoType.Regex.Builder addAllGroupIndexes(Iterable<? extends Integer> values)
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 |
values | Iterable<? extends java.lang.Integer>
The groupIndexes to add.
|
Returns
addGroupIndexes(int value)
public CustomInfoType.Regex.Builder addGroupIndexes(int value)
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 |
value | int
The groupIndexes to add.
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomInfoType.Regex.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CustomInfoType.Regex build()
Returns
buildPartial()
public CustomInfoType.Regex buildPartial()
Returns
clear()
public CustomInfoType.Regex.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CustomInfoType.Regex.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGroupIndexes()
public CustomInfoType.Regex.Builder clearGroupIndexes()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomInfoType.Regex.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPattern()
public CustomInfoType.Regex.Builder clearPattern()
Returns
clone()
public CustomInfoType.Regex.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CustomInfoType.Regex getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGroupIndexes(int index)
public 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 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 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 String getPattern()
Returns
Type | Description |
String | The pattern.
|
getPatternBytes()
public ByteString getPatternBytes()
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CustomInfoType.Regex other)
public CustomInfoType.Regex.Builder mergeFrom(CustomInfoType.Regex other)
Parameter
Returns
public CustomInfoType.Regex.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CustomInfoType.Regex.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomInfoType.Regex.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CustomInfoType.Regex.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGroupIndexes(int index, int value)
public CustomInfoType.Regex.Builder setGroupIndexes(int index, int value)
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
Name | Description |
index | int
The index to set the value at.
|
value | int
The groupIndexes to set.
|
Returns
setPattern(String value)
public CustomInfoType.Regex.Builder setPattern(String value)
Parameter
Name | Description |
value | String
The pattern to set.
|
Returns
setPatternBytes(ByteString value)
public CustomInfoType.Regex.Builder setPatternBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for pattern to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomInfoType.Regex.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomInfoType.Regex.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides