public static enum VirtualHost.TlsRequirementType extends Enum<VirtualHost.TlsRequirementType> implements com.google.protobuf.ProtocolMessageEnum
envoy.config.route.v4alpha.VirtualHost.TlsRequirementType| Enum Constant and Description |
|---|
ALL
All requests must use TLS.
|
EXTERNAL_ONLY
External requests must use TLS.
|
NONE
No TLS requirement for the virtual host.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_VALUE
All requests must use TLS.
|
static int |
EXTERNAL_ONLY_VALUE
External requests must use TLS.
|
static int |
NONE_VALUE
No TLS requirement for the virtual host.
|
| Modifier and Type | Method and Description |
|---|---|
static VirtualHost.TlsRequirementType |
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<VirtualHost.TlsRequirementType> |
internalGetValueMap() |
static VirtualHost.TlsRequirementType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static VirtualHost.TlsRequirementType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static VirtualHost.TlsRequirementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VirtualHost.TlsRequirementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VirtualHost.TlsRequirementType NONE
No TLS requirement for the virtual host.
NONE = 0;public static final VirtualHost.TlsRequirementType EXTERNAL_ONLY
External requests must use TLS. If a request is external and it is not using TLS, a 301 redirect will be sent telling the client to use HTTPS.
EXTERNAL_ONLY = 1;public static final VirtualHost.TlsRequirementType ALL
All requests must use TLS. If a request is not using TLS, a 301 redirect will be sent telling the client to use HTTPS.
ALL = 2;public static final VirtualHost.TlsRequirementType UNRECOGNIZED
public static final int NONE_VALUE
No TLS requirement for the virtual host.
NONE = 0;public static final int EXTERNAL_ONLY_VALUE
External requests must use TLS. If a request is external and it is not using TLS, a 301 redirect will be sent telling the client to use HTTPS.
EXTERNAL_ONLY = 1;public static final int ALL_VALUE
All requests must use TLS. If a request is not using TLS, a 301 redirect will be sent telling the client to use HTTPS.
ALL = 2;public static VirtualHost.TlsRequirementType[] values()
for (VirtualHost.TlsRequirementType c : VirtualHost.TlsRequirementType.values()) System.out.println(c);
public static VirtualHost.TlsRequirementType 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 VirtualHost.TlsRequirementType valueOf(int value)
forNumber(int) instead.public static VirtualHost.TlsRequirementType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<VirtualHost.TlsRequirementType> 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 VirtualHost.TlsRequirementType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.