public static interface Validate.StringRulesOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getConst()
Const specifies that this field must be exactly the specified value
|
com.google.protobuf.ByteString |
getConstBytes()
Const specifies that this field must be exactly the specified value
|
String |
getContains()
Contains specifies that this field must have the specified substring
anywhere in the string.
|
com.google.protobuf.ByteString |
getContainsBytes()
Contains specifies that this field must have the specified substring
anywhere in the string.
|
boolean |
getEmail()
Email specifies that the field must be a valid email address as
defined by RFC 5322
|
boolean |
getHostname()
Hostname specifies that the field must be a valid hostname as
defined by RFC 1034.
|
String |
getIn(int index)
In specifies that this field must be equal to one of the specified
values
|
com.google.protobuf.ByteString |
getInBytes(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<String> |
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.
|
boolean |
getIpv4()
Ipv4 specifies that the field must be a valid IPv4 address.
|
boolean |
getIpv6()
Ipv6 specifies that the field must be a valid IPv6 address.
|
long |
getMaxBytes()
MaxBytes specifies that this field must be the specified number of bytes
at a maximum
|
long |
getMaxLen()
MaxLen specifies that this field must be the specified number of
characters (Unicode code points) at a maximum.
|
long |
getMinBytes()
MinBytes specifies that this field must be the specified number of bytes
at a minimum
|
long |
getMinLen()
MinLen specifies that this field must be the specified number of
characters (Unicode code points) at a minimum.
|
String |
getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified
values
|
com.google.protobuf.ByteString |
getNotInBytes(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<String> |
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).
|
String |
getPrefix()
Prefix specifies that this field must have the specified substring at
the beginning of the string.
|
com.google.protobuf.ByteString |
getPrefixBytes()
Prefix specifies that this field must have the specified substring at
the beginning of the string.
|
String |
getSuffix()
Suffix specifies that this field must have the specified substring at
the end of the string.
|
com.google.protobuf.ByteString |
getSuffixBytes()
Suffix specifies that this field must have the specified substring at
the end of the string.
|
boolean |
getUri()
Uri specifies that the field must be a valid, absolute URI as defined
by RFC 3986
|
boolean |
getUriRef()
UriRef specifies that the field must be a valid URI as defined by RFC
3986 and may be relative or absolute.
|
Validate.StringRules.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 substring
anywhere in the string.
|
boolean |
hasEmail()
Email specifies that the field must be a valid email address as
defined by RFC 5322
|
boolean |
hasHostname()
Hostname specifies that the field must be a valid hostname as
defined by RFC 1034.
|
boolean |
hasIp()
Ip specifies that the field must be a valid IP (v4 or v6) address.
|
boolean |
hasIpv4()
Ipv4 specifies that the field must be a valid IPv4 address.
|
boolean |
hasIpv6()
Ipv6 specifies that the field must be a valid IPv6 address.
|
boolean |
hasMaxBytes()
MaxBytes specifies that this field must be the specified number of bytes
at a maximum
|
boolean |
hasMaxLen()
MaxLen specifies that this field must be the specified number of
characters (Unicode code points) at a maximum.
|
boolean |
hasMinBytes()
MinBytes specifies that this field must be the specified number of bytes
at a minimum
|
boolean |
hasMinLen()
MinLen specifies that this field must be the specified number of
characters (Unicode code points) 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 substring at
the beginning of the string.
|
boolean |
hasSuffix()
Suffix specifies that this field must have the specified substring at
the end of the string.
|
boolean |
hasUri()
Uri specifies that the field must be a valid, absolute URI as defined
by RFC 3986
|
boolean |
hasUriRef()
UriRef specifies that the field must be a valid URI as defined by RFC
3986 and may be relative or absolute.
|
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 string const = 1;String getConst()
Const specifies that this field must be exactly the specified value
optional string const = 1;com.google.protobuf.ByteString getConstBytes()
Const specifies that this field must be exactly the specified value
optional string const = 1;boolean hasMinLen()
MinLen specifies that this field must be the specified number of characters (Unicode code points) at a minimum. Note that the number of characters may differ from the number of bytes in the string.
optional uint64 min_len = 2;long getMinLen()
MinLen specifies that this field must be the specified number of characters (Unicode code points) at a minimum. Note that the number of characters may differ from the number of bytes in the string.
optional uint64 min_len = 2;boolean hasMaxLen()
MaxLen specifies that this field must be the specified number of characters (Unicode code points) at a maximum. Note that the number of characters may differ from the number of bytes in the string.
optional uint64 max_len = 3;long getMaxLen()
MaxLen specifies that this field must be the specified number of characters (Unicode code points) at a maximum. Note that the number of characters may differ from the number of bytes in the string.
optional uint64 max_len = 3;boolean hasMinBytes()
MinBytes specifies that this field must be the specified number of bytes at a minimum
optional uint64 min_bytes = 4;long getMinBytes()
MinBytes specifies that this field must be the specified number of bytes at a minimum
optional uint64 min_bytes = 4;boolean hasMaxBytes()
MaxBytes specifies that this field must be the specified number of bytes at a maximum
optional uint64 max_bytes = 5;long getMaxBytes()
MaxBytes specifies that this field must be the specified number of bytes at a maximum
optional uint64 max_bytes = 5;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 = 6;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 = 6;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 = 6;boolean hasPrefix()
Prefix specifies that this field must have the specified substring at the beginning of the string.
optional string prefix = 7;String getPrefix()
Prefix specifies that this field must have the specified substring at the beginning of the string.
optional string prefix = 7;com.google.protobuf.ByteString getPrefixBytes()
Prefix specifies that this field must have the specified substring at the beginning of the string.
optional string prefix = 7;boolean hasSuffix()
Suffix specifies that this field must have the specified substring at the end of the string.
optional string suffix = 8;String getSuffix()
Suffix specifies that this field must have the specified substring at the end of the string.
optional string suffix = 8;com.google.protobuf.ByteString getSuffixBytes()
Suffix specifies that this field must have the specified substring at the end of the string.
optional string suffix = 8;boolean hasContains()
Contains specifies that this field must have the specified substring anywhere in the string.
optional string contains = 9;String getContains()
Contains specifies that this field must have the specified substring anywhere in the string.
optional string contains = 9;com.google.protobuf.ByteString getContainsBytes()
Contains specifies that this field must have the specified substring anywhere in the string.
optional string contains = 9;List<String> getInList()
In specifies that this field must be equal to one of the specified values
repeated string in = 10;int getInCount()
In specifies that this field must be equal to one of the specified values
repeated string in = 10;String getIn(int index)
In specifies that this field must be equal to one of the specified values
repeated string in = 10;com.google.protobuf.ByteString getInBytes(int index)
In specifies that this field must be equal to one of the specified values
repeated string in = 10;List<String> getNotInList()
NotIn specifies that this field cannot be equal to one of the specified values
repeated string not_in = 11;int getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified values
repeated string not_in = 11;String getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified values
repeated string not_in = 11;com.google.protobuf.ByteString getNotInBytes(int index)
NotIn specifies that this field cannot be equal to one of the specified values
repeated string not_in = 11;boolean hasEmail()
Email specifies that the field must be a valid email address as defined by RFC 5322
optional bool email = 12;boolean getEmail()
Email specifies that the field must be a valid email address as defined by RFC 5322
optional bool email = 12;boolean hasHostname()
Hostname specifies that the field must be a valid hostname as defined by RFC 1034. This constraint does not support internationalized domain names (IDNs).
optional bool hostname = 13;boolean getHostname()
Hostname specifies that the field must be a valid hostname as defined by RFC 1034. This constraint does not support internationalized domain names (IDNs).
optional bool hostname = 13;boolean hasIp()
Ip specifies that the field must be a valid IP (v4 or v6) address. Valid IPv6 addresses should not include surrounding square brackets.
optional bool ip = 14;boolean getIp()
Ip specifies that the field must be a valid IP (v4 or v6) address. Valid IPv6 addresses should not include surrounding square brackets.
optional bool ip = 14;boolean hasIpv4()
Ipv4 specifies that the field must be a valid IPv4 address.
optional bool ipv4 = 15;boolean getIpv4()
Ipv4 specifies that the field must be a valid IPv4 address.
optional bool ipv4 = 15;boolean hasIpv6()
Ipv6 specifies that the field must be a valid IPv6 address. Valid IPv6 addresses should not include surrounding square brackets.
optional bool ipv6 = 16;boolean getIpv6()
Ipv6 specifies that the field must be a valid IPv6 address. Valid IPv6 addresses should not include surrounding square brackets.
optional bool ipv6 = 16;boolean hasUri()
Uri specifies that the field must be a valid, absolute URI as defined by RFC 3986
optional bool uri = 17;boolean getUri()
Uri specifies that the field must be a valid, absolute URI as defined by RFC 3986
optional bool uri = 17;boolean hasUriRef()
UriRef specifies that the field must be a valid URI as defined by RFC 3986 and may be relative or absolute.
optional bool uri_ref = 18;boolean getUriRef()
UriRef specifies that the field must be a valid URI as defined by RFC 3986 and may be relative or absolute.
optional bool uri_ref = 18;Validate.StringRules.WellKnownCase getWellKnownCase()
Copyright © 2019 WSO2. All rights reserved.