public static enum Cluster.DiscoveryType extends Enum<Cluster.DiscoveryType> implements com.google.protobuf.ProtocolMessageEnum
Refer to :ref:`service discovery type <arch_overview_service_discovery_types>` for an explanation on each type.Protobuf enum
envoy.config.cluster.v3.Cluster.DiscoveryType| Enum Constant and Description |
|---|
EDS
Refer to the :ref:`service discovery type<arch_overview_service_discovery_types_eds>`
for an explanation.
|
LOGICAL_DNS
Refer to the :ref:`logical DNS discovery
type<arch_overview_service_discovery_types_logical_dns>`
for an explanation.
|
ORIGINAL_DST
Refer to the :ref:`original destination discovery
type<arch_overview_service_discovery_types_original_destination>`
for an explanation.
|
STATIC
Refer to the :ref:`static discovery type<arch_overview_service_discovery_types_static>`
for an explanation.
|
STRICT_DNS
Refer to the :ref:`strict DNS discovery
type<arch_overview_service_discovery_types_strict_dns>`
for an explanation.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EDS_VALUE
Refer to the :ref:`service discovery type<arch_overview_service_discovery_types_eds>`
for an explanation.
|
static int |
LOGICAL_DNS_VALUE
Refer to the :ref:`logical DNS discovery
type<arch_overview_service_discovery_types_logical_dns>`
for an explanation.
|
static int |
ORIGINAL_DST_VALUE
Refer to the :ref:`original destination discovery
type<arch_overview_service_discovery_types_original_destination>`
for an explanation.
|
static int |
STATIC_VALUE
Refer to the :ref:`static discovery type<arch_overview_service_discovery_types_static>`
for an explanation.
|
static int |
STRICT_DNS_VALUE
Refer to the :ref:`strict DNS discovery
type<arch_overview_service_discovery_types_strict_dns>`
for an explanation.
|
| Modifier and Type | Method and Description |
|---|---|
static Cluster.DiscoveryType |
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<Cluster.DiscoveryType> |
internalGetValueMap() |
static Cluster.DiscoveryType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Cluster.DiscoveryType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cluster.DiscoveryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cluster.DiscoveryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cluster.DiscoveryType STATIC
Refer to the :ref:`static discovery type<arch_overview_service_discovery_types_static>` for an explanation.
STATIC = 0;public static final Cluster.DiscoveryType STRICT_DNS
Refer to the :ref:`strict DNS discovery type<arch_overview_service_discovery_types_strict_dns>` for an explanation.
STRICT_DNS = 1;public static final Cluster.DiscoveryType LOGICAL_DNS
Refer to the :ref:`logical DNS discovery type<arch_overview_service_discovery_types_logical_dns>` for an explanation.
LOGICAL_DNS = 2;public static final Cluster.DiscoveryType EDS
Refer to the :ref:`service discovery type<arch_overview_service_discovery_types_eds>` for an explanation.
EDS = 3;public static final Cluster.DiscoveryType ORIGINAL_DST
Refer to the :ref:`original destination discovery type<arch_overview_service_discovery_types_original_destination>` for an explanation.
ORIGINAL_DST = 4;public static final Cluster.DiscoveryType UNRECOGNIZED
public static final int STATIC_VALUE
Refer to the :ref:`static discovery type<arch_overview_service_discovery_types_static>` for an explanation.
STATIC = 0;public static final int STRICT_DNS_VALUE
Refer to the :ref:`strict DNS discovery type<arch_overview_service_discovery_types_strict_dns>` for an explanation.
STRICT_DNS = 1;public static final int LOGICAL_DNS_VALUE
Refer to the :ref:`logical DNS discovery type<arch_overview_service_discovery_types_logical_dns>` for an explanation.
LOGICAL_DNS = 2;public static final int EDS_VALUE
Refer to the :ref:`service discovery type<arch_overview_service_discovery_types_eds>` for an explanation.
EDS = 3;public static final int ORIGINAL_DST_VALUE
Refer to the :ref:`original destination discovery type<arch_overview_service_discovery_types_original_destination>` for an explanation.
ORIGINAL_DST = 4;public static Cluster.DiscoveryType[] values()
for (Cluster.DiscoveryType c : Cluster.DiscoveryType.values()) System.out.println(c);
public static Cluster.DiscoveryType 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 Cluster.DiscoveryType valueOf(int value)
forNumber(int) instead.public static Cluster.DiscoveryType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Cluster.DiscoveryType> 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 Cluster.DiscoveryType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.