public static interface Validate.BytesRulesOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getConst()
Const specifies that this field must be exactly the specified value
|
com.google.protobuf.ByteString |
getContains()
Contains specifies that this field must have the specified bytes
anywhere in the string.
|
com.google.protobuf.ByteString |
getIn(int index)
In specifies that this field must be equal to one of the specified
values
|
int |
getInCount()
In specifies that this field must be equal to one of the specified
values
|
List<com.google.protobuf.ByteString> |
getInList()
In specifies that this field must be equal to one of the specified
values
|
boolean |
getIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in
byte format
|
boolean |
getIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte
format
|
boolean |
getIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte
format
|
long |
getMaxLen()
MaxLen specifies that this field must be the specified number of bytes
at a maximum
|
long |
getMinLen()
MinLen specifies that this field must be the specified number of bytes
at a minimum
|
com.google.protobuf.ByteString |
getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified
values
|
int |
getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified
values
|
List<com.google.protobuf.ByteString> |
getNotInList()
NotIn specifies that this field cannot be equal to one of the specified
values
|
String |
getPattern()
Pattern specifes that this field must match against the specified
regular expression (RE2 syntax).
|
com.google.protobuf.ByteString |
getPatternBytes()
Pattern specifes that this field must match against the specified
regular expression (RE2 syntax).
|
com.google.protobuf.ByteString |
getPrefix()
Prefix specifies that this field must have the specified bytes at the
beginning of the string.
|
com.google.protobuf.ByteString |
getSuffix()
Suffix specifies that this field must have the specified bytes at the
end of the string.
|
Validate.BytesRules.WellKnownCase |
getWellKnownCase() |
boolean |
hasConst()
Const specifies that this field must be exactly the specified value
|
boolean |
hasContains()
Contains specifies that this field must have the specified bytes
anywhere in the string.
|
boolean |
hasIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in
byte format
|
boolean |
hasIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte
format
|
boolean |
hasIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte
format
|
boolean |
hasMaxLen()
MaxLen specifies that this field must be the specified number of bytes
at a maximum
|
boolean |
hasMinLen()
MinLen specifies that this field must be the specified number of bytes
at a minimum
|
boolean |
hasPattern()
Pattern specifes that this field must match against the specified
regular expression (RE2 syntax).
|
boolean |
hasPrefix()
Prefix specifies that this field must have the specified bytes at the
beginning of the string.
|
boolean |
hasSuffix()
Suffix specifies that this field must have the specified bytes at the
end of the string.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1;com.google.protobuf.ByteString getConst()
Const specifies that this field must be exactly the specified value
optional bytes const = 1;boolean hasMinLen()
MinLen specifies that this field must be the specified number of bytes at a minimum
optional uint64 min_len = 2;long getMinLen()
MinLen specifies that this field must be the specified number of bytes at a minimum
optional uint64 min_len = 2;boolean hasMaxLen()
MaxLen specifies that this field must be the specified number of bytes at a maximum
optional uint64 max_len = 3;long getMaxLen()
MaxLen specifies that this field must be the specified number of bytes at a maximum
optional uint64 max_len = 3;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;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;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;boolean hasPrefix()
Prefix specifies that this field must have the specified bytes at the beginning of the string.
optional bytes prefix = 5;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;boolean hasSuffix()
Suffix specifies that this field must have the specified bytes at the end of the string.
optional bytes suffix = 6;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;boolean hasContains()
Contains specifies that this field must have the specified bytes anywhere in the string.
optional bytes contains = 7;com.google.protobuf.ByteString getContains()
Contains specifies that this field must have the specified bytes anywhere in the string.
optional bytes contains = 7;List<com.google.protobuf.ByteString> getInList()
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;int getInCount()
In specifies that this field must be equal to one of the specified values
repeated bytes in = 8;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;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;int getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified values
repeated bytes not_in = 9;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;boolean hasIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
optional bool ip = 10;boolean getIp()
Ip specifies that the field must be a valid IP (v4 or v6) address in byte format
optional bool ip = 10;boolean hasIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte format
optional bool ipv4 = 11;boolean getIpv4()
Ipv4 specifies that the field must be a valid IPv4 address in byte format
optional bool ipv4 = 11;boolean hasIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte format
optional bool ipv6 = 12;boolean getIpv6()
Ipv6 specifies that the field must be a valid IPv6 address in byte format
optional bool ipv6 = 12;Validate.BytesRules.WellKnownCase getWellKnownCase()
Copyright © 2019 WSO2. All rights reserved.