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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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.
|
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.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomInfoType.Regex.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CustomInfoType.Regex build()
buildPartial()
public CustomInfoType.Regex buildPartial()
clear()
public CustomInfoType.Regex.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CustomInfoType.Regex.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomInfoType.Regex.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPattern()
public CustomInfoType.Regex.Builder clearPattern()
clone()
public CustomInfoType.Regex.Builder clone()
Overrides
getDefaultInstanceForType()
public CustomInfoType.Regex getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for pattern.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CustomInfoType.Regex other)
public CustomInfoType.Regex.Builder mergeFrom(CustomInfoType.Regex other)
public CustomInfoType.Regex.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CustomInfoType.Regex.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomInfoType.Regex.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CustomInfoType.Regex.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setPattern(String value)
public CustomInfoType.Regex.Builder setPattern(String value)
Parameter |
---|
Name | Description |
value | String
The pattern to set.
|
setPatternBytes(ByteString value)
public CustomInfoType.Regex.Builder setPatternBytes(ByteString value)
Parameter |
---|
Name | Description |
value | ByteString
The bytes for pattern to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomInfoType.Regex.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomInfoType.Regex.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides