Enum Cluster.DiscoveryType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Cluster.DiscoveryType>
- Enclosing class:
Cluster
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 Summary
Enum ConstantsEnum ConstantDescriptionRefer to the :ref:`service discovery type<arch_overview_service_discovery_types_eds>` for an explanation.Refer to the :ref:`logical DNS discovery type<arch_overview_service_discovery_types_logical_dns>` for an explanation.Refer to the :ref:`original destination discovery type<arch_overview_service_discovery_types_original_destination>` for an explanation.Refer to the :ref:`static discovery type<arch_overview_service_discovery_types_static>` for an explanation.Refer to the :ref:`strict DNS discovery type<arch_overview_service_discovery_types_strict_dns>` for an explanation. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Refer to the :ref:`service discovery type<arch_overview_service_discovery_types_eds>` for an explanation.private static final com.google.protobuf.Internal.EnumLiteMap
<Cluster.DiscoveryType> static final int
Refer to the :ref:`logical DNS discovery type<arch_overview_service_discovery_types_logical_dns>` for an explanation.static final int
Refer to the :ref:`original destination discovery type<arch_overview_service_discovery_types_original_destination>` for an explanation.static final int
Refer to the :ref:`static discovery type<arch_overview_service_discovery_types_static>` for an explanation.static final int
Refer to the :ref:`strict DNS discovery type<arch_overview_service_discovery_types_strict_dns>` for an explanation.private final int
private static final Cluster.DiscoveryType[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Cluster.DiscoveryType
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap
<Cluster.DiscoveryType> static Cluster.DiscoveryType
valueOf
(int value) Deprecated.static Cluster.DiscoveryType
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Cluster.DiscoveryType
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.
-
Enum Constant Details
-
STATIC
Refer to the :ref:`static discovery type<arch_overview_service_discovery_types_static>` for an explanation.
STATIC = 0;
-
STRICT_DNS
Refer to the :ref:`strict DNS discovery type<arch_overview_service_discovery_types_strict_dns>` for an explanation.
STRICT_DNS = 1;
-
LOGICAL_DNS
Refer to the :ref:`logical DNS discovery type<arch_overview_service_discovery_types_logical_dns>` for an explanation.
LOGICAL_DNS = 2;
-
EDS
Refer to the :ref:`service discovery type<arch_overview_service_discovery_types_eds>` for an explanation.
EDS = 3;
-
ORIGINAL_DST
Refer to the :ref:`original destination discovery type<arch_overview_service_discovery_types_original_destination>` for an explanation.
ORIGINAL_DST = 4;
-
UNRECOGNIZED
-
-
Field Details
-
STATIC_VALUE
public static final int STATIC_VALUERefer to the :ref:`static discovery type<arch_overview_service_discovery_types_static>` for an explanation.
STATIC = 0;
- See Also:
-
STRICT_DNS_VALUE
public static final int STRICT_DNS_VALUERefer to the :ref:`strict DNS discovery type<arch_overview_service_discovery_types_strict_dns>` for an explanation.
STRICT_DNS = 1;
- See Also:
-
LOGICAL_DNS_VALUE
public static final int LOGICAL_DNS_VALUERefer to the :ref:`logical DNS discovery type<arch_overview_service_discovery_types_logical_dns>` for an explanation.
LOGICAL_DNS = 2;
- See Also:
-
EDS_VALUE
public static final int EDS_VALUERefer to the :ref:`service discovery type<arch_overview_service_discovery_types_eds>` for an explanation.
EDS = 3;
- See Also:
-
ORIGINAL_DST_VALUE
public static final int ORIGINAL_DST_VALUERefer to the :ref:`original destination discovery type<arch_overview_service_discovery_types_original_destination>` for an explanation.
ORIGINAL_DST = 4;
- See Also:
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<Cluster.DiscoveryType> internalValueMap -
VALUES
-
value
private final int value
-
-
Constructor Details
-
DiscoveryType
private DiscoveryType(int value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Cluster.DiscoveryType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-