Package io.grpc.serviceconfig
Enum LoadBalancingConfig.PolicyCase
- java.lang.Object
-
- java.lang.Enum<LoadBalancingConfig.PolicyCase>
-
- io.grpc.serviceconfig.LoadBalancingConfig.PolicyCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<LoadBalancingConfig.PolicyCase>
- Enclosing class:
- LoadBalancingConfig
public static enum LoadBalancingConfig.PolicyCase extends Enum<LoadBalancingConfig.PolicyCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CDS_EXPERIMENTALEDS_EXPERIMENTALDeprecated.GRPCLBLRS_EXPERIMENTALDeprecated.PICK_FIRSTPOLICY_NOT_SETPRIORITY_EXPERIMENTALRING_HASH_EXPERIMENTALROUND_ROBINWEIGHTED_TARGET_EXPERIMENTALXDSDeprecated.XDS_CLUSTER_IMPL_EXPERIMENTALXDS_CLUSTER_MANAGER_EXPERIMENTALXDS_CLUSTER_RESOLVER_EXPERIMENTALXDS_EXPERIMENTALDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LoadBalancingConfig.PolicyCaseforNumber(int value)intgetNumber()static LoadBalancingConfig.PolicyCasevalueOf(int value)Deprecated.static LoadBalancingConfig.PolicyCasevalueOf(String name)Returns the enum constant of this type with the specified name.static LoadBalancingConfig.PolicyCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PICK_FIRST
public static final LoadBalancingConfig.PolicyCase PICK_FIRST
-
ROUND_ROBIN
public static final LoadBalancingConfig.PolicyCase ROUND_ROBIN
-
GRPCLB
public static final LoadBalancingConfig.PolicyCase GRPCLB
-
PRIORITY_EXPERIMENTAL
public static final LoadBalancingConfig.PolicyCase PRIORITY_EXPERIMENTAL
-
WEIGHTED_TARGET_EXPERIMENTAL
public static final LoadBalancingConfig.PolicyCase WEIGHTED_TARGET_EXPERIMENTAL
-
XDS_CLUSTER_MANAGER_EXPERIMENTAL
public static final LoadBalancingConfig.PolicyCase XDS_CLUSTER_MANAGER_EXPERIMENTAL
-
CDS_EXPERIMENTAL
public static final LoadBalancingConfig.PolicyCase CDS_EXPERIMENTAL
-
XDS_CLUSTER_RESOLVER_EXPERIMENTAL
public static final LoadBalancingConfig.PolicyCase XDS_CLUSTER_RESOLVER_EXPERIMENTAL
-
XDS_CLUSTER_IMPL_EXPERIMENTAL
public static final LoadBalancingConfig.PolicyCase XDS_CLUSTER_IMPL_EXPERIMENTAL
-
RING_HASH_EXPERIMENTAL
public static final LoadBalancingConfig.PolicyCase RING_HASH_EXPERIMENTAL
-
LRS_EXPERIMENTAL
@Deprecated public static final LoadBalancingConfig.PolicyCase LRS_EXPERIMENTAL
Deprecated.
-
EDS_EXPERIMENTAL
@Deprecated public static final LoadBalancingConfig.PolicyCase EDS_EXPERIMENTAL
Deprecated.
-
XDS
@Deprecated public static final LoadBalancingConfig.PolicyCase XDS
Deprecated.
-
XDS_EXPERIMENTAL
@Deprecated public static final LoadBalancingConfig.PolicyCase XDS_EXPERIMENTAL
Deprecated.
-
POLICY_NOT_SET
public static final LoadBalancingConfig.PolicyCase POLICY_NOT_SET
-
-
Method Detail
-
values
public static LoadBalancingConfig.PolicyCase[] 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 (LoadBalancingConfig.PolicyCase c : LoadBalancingConfig.PolicyCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoadBalancingConfig.PolicyCase 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 nameNullPointerException- if the argument is null
-
valueOf
@Deprecated public static LoadBalancingConfig.PolicyCase 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 nameNullPointerException- if the argument is null
-
forNumber
public static LoadBalancingConfig.PolicyCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-