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, 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 Constants
    Enum Constant
    Description
    Refer 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

    Fields
    Modifier and Type
    Field
    Description
    static 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
    Modifier
    Constructor
    Description
    private
    DiscoveryType(int value)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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>
     
    valueOf(int value)
    Deprecated.
    valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
    Returns the enum constant of this type with the specified name.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • 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 Details

    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • internalValueMap

      private static final com.google.protobuf.Internal.EnumLiteMap<Cluster.DiscoveryType> internalValueMap
    • VALUES

      private static final Cluster.DiscoveryType[] VALUES
    • value

      private final int value
  • Constructor Details

    • DiscoveryType

      private DiscoveryType(int value)
  • Method Details

    • values

      public static Cluster.DiscoveryType[] 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

      public static Cluster.DiscoveryType valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      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 interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null