Enum Cluster.DiscoveryType
- java.lang.Object
-
- java.lang.Enum<Cluster.DiscoveryType>
-
- io.envoyproxy.envoy.config.cluster.v3.Cluster.DiscoveryType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<Cluster.DiscoveryType>
- Enclosing class:
- Cluster
public static enum Cluster.DiscoveryType extends java.lang.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 enumenvoy.config.cluster.v3.Cluster.DiscoveryType
-
-
Enum Constant Summary
Enum Constants Enum Constant 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
-
Field Summary
Fields Modifier and Type Field Description static int
EDS_VALUE
Refer to the :ref:`service discovery type<arch_overview_service_discovery_types_eds>` for an explanation.private static com.google.protobuf.Internal.EnumLiteMap<Cluster.DiscoveryType>
internalValueMap
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.private int
value
private static Cluster.DiscoveryType[]
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
DiscoveryType(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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(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
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
STATIC
public static final Cluster.DiscoveryType STATIC
Refer to the :ref:`static discovery type<arch_overview_service_discovery_types_static>` for an explanation.
STATIC = 0;
-
STRICT_DNS
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;
-
LOGICAL_DNS
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;
-
EDS
public static final Cluster.DiscoveryType EDS
Refer to the :ref:`service discovery type<arch_overview_service_discovery_types_eds>` for an explanation.
EDS = 3;
-
ORIGINAL_DST
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;
-
UNRECOGNIZED
public static final Cluster.DiscoveryType UNRECOGNIZED
-
-
Field Detail
-
STATIC_VALUE
public static final int STATIC_VALUE
Refer to the :ref:`static discovery type<arch_overview_service_discovery_types_static>` for an explanation.
STATIC = 0;
- See Also:
- Constant Field Values
-
STRICT_DNS_VALUE
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;
- See Also:
- Constant Field Values
-
LOGICAL_DNS_VALUE
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;
- See Also:
- Constant Field Values
-
EDS_VALUE
public static final int EDS_VALUE
Refer to the :ref:`service discovery type<arch_overview_service_discovery_types_eds>` for an explanation.
EDS = 3;
- See Also:
- Constant Field Values
-
ORIGINAL_DST_VALUE
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;
- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<Cluster.DiscoveryType> internalValueMap
-
VALUES
private static final Cluster.DiscoveryType[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static Cluster.DiscoveryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Cluster.DiscoveryType c : Cluster.DiscoveryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Cluster.DiscoveryType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- 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 public static Cluster.DiscoveryType valueOf(int value)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static Cluster.DiscoveryType forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Cluster.DiscoveryType> 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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-