Package io.grpc.xds
Enum EnvoyServerProtoData.ConnectionSourceType
- java.lang.Object
-
- java.lang.Enum<EnvoyServerProtoData.ConnectionSourceType>
-
- io.grpc.xds.EnvoyServerProtoData.ConnectionSourceType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EnvoyServerProtoData.ConnectionSourceType>
- Enclosing class:
- EnvoyServerProtoData
static enum EnvoyServerProtoData.ConnectionSourceType extends java.lang.Enum<EnvoyServerProtoData.ConnectionSourceType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
EXTERNAL
SAME_IP_OR_LOOPBACK
-
Constructor Summary
Constructors Modifier Constructor Description private
ConnectionSourceType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EnvoyServerProtoData.ConnectionSourceType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EnvoyServerProtoData.ConnectionSourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final EnvoyServerProtoData.ConnectionSourceType ANY
-
SAME_IP_OR_LOOPBACK
public static final EnvoyServerProtoData.ConnectionSourceType SAME_IP_OR_LOOPBACK
-
EXTERNAL
public static final EnvoyServerProtoData.ConnectionSourceType EXTERNAL
-
-
Method Detail
-
values
public static EnvoyServerProtoData.ConnectionSourceType[] 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 (EnvoyServerProtoData.ConnectionSourceType c : EnvoyServerProtoData.ConnectionSourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnvoyServerProtoData.ConnectionSourceType 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
-
-