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 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;
    • 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
    • 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​(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