Package io.envoyproxy.pgv.validate
Interface Validate.BytesRulesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Validate.BytesRules,Validate.BytesRules.Builder
- Enclosing class:
- Validate
public static interface Validate.BytesRulesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteStringgetConst()Const specifies that this field must be exactly the specified valuecom.google.protobuf.ByteStringgetContains()Contains specifies that this field must have the specified bytes anywhere in the string.booleangetIgnoreEmpty()IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptycom.google.protobuf.ByteStringgetIn(int index)In specifies that this field must be equal to one of the specified valuesintgetInCount()In specifies that this field must be equal to one of the specified valuesList<com.google.protobuf.ByteString>getInList()In specifies that this field must be equal to one of the specified valuesbooleangetIp()Ip specifies that the field must be a valid IP (v4 or v6) address in byte formatbooleangetIpv4()Ipv4 specifies that the field must be a valid IPv4 address in byte formatbooleangetIpv6()Ipv6 specifies that the field must be a valid IPv6 address in byte formatlonggetLen()Len specifies that this field must be the specified number of byteslonggetMaxLen()MaxLen specifies that this field must be the specified number of bytes at a maximumlonggetMinLen()MinLen specifies that this field must be the specified number of bytes at a minimumcom.google.protobuf.ByteStringgetNotIn(int index)NotIn specifies that this field cannot be equal to one of the specified valuesintgetNotInCount()NotIn specifies that this field cannot be equal to one of the specified valuesList<com.google.protobuf.ByteString>getNotInList()NotIn specifies that this field cannot be equal to one of the specified valuesStringgetPattern()Pattern specifes that this field must match against the specified regular expression (RE2 syntax).com.google.protobuf.ByteStringgetPatternBytes()Pattern specifes that this field must match against the specified regular expression (RE2 syntax).com.google.protobuf.ByteStringgetPrefix()Prefix specifies that this field must have the specified bytes at the beginning of the string.com.google.protobuf.ByteStringgetSuffix()Suffix specifies that this field must have the specified bytes at the end of the string.Validate.BytesRules.WellKnownCasegetWellKnownCase()booleanhasConst()Const specifies that this field must be exactly the specified valuebooleanhasContains()Contains specifies that this field must have the specified bytes anywhere in the string.booleanhasIgnoreEmpty()IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not emptybooleanhasIp()Ip specifies that the field must be a valid IP (v4 or v6) address in byte formatbooleanhasIpv4()Ipv4 specifies that the field must be a valid IPv4 address in byte formatbooleanhasIpv6()Ipv6 specifies that the field must be a valid IPv6 address in byte formatbooleanhasLen()Len specifies that this field must be the specified number of bytesbooleanhasMaxLen()MaxLen specifies that this field must be the specified number of bytes at a maximumbooleanhasMinLen()MinLen specifies that this field must be the specified number of bytes at a minimumbooleanhasPattern()Pattern specifes that this field must match against the specified regular expression (RE2 syntax).booleanhasPrefix()Prefix specifies that this field must have the specified bytes at the beginning of the string.booleanhasSuffix()Suffix specifies that this field must have the specified bytes at the end of the string.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasConst
boolean hasConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1;
-
getConst
com.google.protobuf.ByteString getConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1;
-
hasLen
boolean hasLen()
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13;
-
getLen
long getLen()
Len specifies that this field must be the specified number of bytes
optional uint64 len = 13;
-
hasMinLen
boolean hasMinLen()
MinLen specifies that this field must be the specified number of bytes at a minimum
optional uint64 min_len = 2;
-
getMinLen
long getMinLen()
MinLen specifies that this field must be the specified number of bytes at a minimum
optional uint64 min_len = 2;
-
hasMaxLen
boolean hasMaxLen()
MaxLen specifies that this field must be the specified number of bytes at a maximum
optional uint64 max_len = 3;
-
getMaxLen
long getMaxLen()
MaxLen specifies that this field must be the specified number of bytes at a maximum
optional uint64 max_len = 3;
-
hasPattern
boolean hasPattern()
Pattern specifes that this field must match against the specified regular expression (RE2 syntax). The included expression should elide any delimiters.
optional string pattern = 4;
-
getPattern
String getPattern()
Pattern specifes that this field must match against the specified regular expression (RE2 syntax). The included expression should elide any delimiters.
optional string pattern = 4;
-
getPatternBytes
com.google.protobuf.ByteString getPatternBytes()
Pattern specifes that this field must match against the specified regular expression (RE2 syntax). The included expression should elide any delimiters.
optional string pattern = 4;
-
hasPrefix
boolean hasPrefix()
Prefix specifies that this field must have the specified bytes at the beginning of the string.
optional bytes prefix = 5;
-
getPrefix
com.google.protobuf.ByteString getPrefix()
Prefix specifies that this field must have the specified bytes at the beginning of the string.
optional bytes prefix = 5;
-
hasSuffix
boolean hasSuffix()
Suffix specifies that this field must have the specified bytes at the end of the string.
optional bytes suffix = 6;
-
getSuffix
com.google.protobuf.ByteString getSuffix()
Suffix specifies that this field must have the specified bytes at the end of the string.
optional bytes suffix = 6;
-
hasContains
boolean hasContains()
Contains specifies that this field must have the specified bytes anywhere in the string.
optional bytes contains = 7;
-
getContains
com.google.protobuf.ByteString getContains()
Contains specifies that this field must have the specified bytes anywhere in the string.
optional bytes contains = 7;
-
getInList
List<com.google.protobuf.ByteString> getInList()
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;
-
getInCount
int getInCount()
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;
-
getIn
com.google.protobuf.ByteString getIn(int index)
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;
-
getNotInList
List<com.google.protobuf.ByteString> getNotInList()
NotIn specifies that this field cannot be equal to one of the specified values
repeated bytes not_in = 9;
-
getNotInCount
int getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified values
repeated bytes not_in = 9;
-
getNotIn
com.google.protobuf.ByteString getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified values
repeated bytes not_in = 9;
-
hasIp
boolean hasIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
optional bool ip = 10;
-
getIp
boolean getIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
optional bool ip = 10;
-
hasIpv4
boolean hasIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte format
optional bool ipv4 = 11;
-
getIpv4
boolean getIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte format
optional bool ipv4 = 11;
-
hasIpv6
boolean hasIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte format
optional bool ipv6 = 12;
-
getIpv6
boolean getIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte format
optional bool ipv6 = 12;
-
hasIgnoreEmpty
boolean hasIgnoreEmpty()
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
optional bool ignore_empty = 14;
-
getIgnoreEmpty
boolean getIgnoreEmpty()
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
optional bool ignore_empty = 14;
-
getWellKnownCase
Validate.BytesRules.WellKnownCase getWellKnownCase()
-
-