public static enum Validate.KnownRegex extends Enum<Validate.KnownRegex> implements com.google.protobuf.ProtocolMessageEnum
WellKnownRegex contain some well-known patterns.Protobuf enum
validate.KnownRegex| Enum Constant and Description |
|---|
HTTP_HEADER_NAME
HTTP header name as defined by RFC 7230.
|
HTTP_HEADER_VALUE
HTTP header value as defined by RFC 7230.
|
UNKNOWN
UNKNOWN = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP_HEADER_NAME_VALUE
HTTP header name as defined by RFC 7230.
|
static int |
HTTP_HEADER_VALUE_VALUE
HTTP header value as defined by RFC 7230.
|
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
| Modifier and Type | Method and Description |
|---|---|
static Validate.KnownRegex |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Validate.KnownRegex> |
internalGetValueMap() |
static Validate.KnownRegex |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Validate.KnownRegex |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Validate.KnownRegex |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Validate.KnownRegex[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Validate.KnownRegex UNKNOWN
UNKNOWN = 0;public static final Validate.KnownRegex HTTP_HEADER_NAME
HTTP header name as defined by RFC 7230.
HTTP_HEADER_NAME = 1;public static final Validate.KnownRegex HTTP_HEADER_VALUE
HTTP header value as defined by RFC 7230.
HTTP_HEADER_VALUE = 2;public static final int UNKNOWN_VALUE
UNKNOWN = 0;public static final int HTTP_HEADER_NAME_VALUE
HTTP header name as defined by RFC 7230.
HTTP_HEADER_NAME = 1;public static final int HTTP_HEADER_VALUE_VALUE
HTTP header value as defined by RFC 7230.
HTTP_HEADER_VALUE = 2;public static Validate.KnownRegex[] values()
for (Validate.KnownRegex c : Validate.KnownRegex.values()) System.out.println(c);
public static Validate.KnownRegex valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Validate.KnownRegex valueOf(int value)
forNumber(int) instead.public static Validate.KnownRegex forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Validate.KnownRegex> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Validate.KnownRegex valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.