Package com.google.cloud.compute.v1
Enum BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover
java.lang.Object
java.lang.Enum<BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover>
com.google.cloud.compute.v1.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover>
- Enclosing class:
- BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity
public static enum BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover
extends Enum<BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover>
implements com.google.protobuf.ProtocolMessageEnum
This field indicates whether zonal affinity is enabled or not. The possible values are: - ZONAL_AFFINITY_DISABLED: Default Value. Zonal Affinity is disabled. The load balancer distributes new connections to all healthy backend endpoints across all zones. - ZONAL_AFFINITY_STAY_WITHIN_ZONE: Zonal Affinity is enabled. The load balancer distributes new connections to all healthy backend endpoints in the local zone only. If there are no healthy backend endpoints in the local zone, the load balancer distributes new connections to all backend endpoints in the local zone. - ZONAL_AFFINITY_SPILL_CROSS_ZONE: Zonal Affinity is enabled. The load balancer distributes new connections to all healthy backend endpoints in the local zone only. If there aren't enough healthy backend endpoints in the local zone, the load balancer distributes new connections to all healthy backend endpoints across all zones.Protobuf enum
google.cloud.compute.v1.BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA value indicating that the enum field is not set.ZONAL_AFFINITY_DISABLED = 230207960;ZONAL_AFFINITY_SPILL_CROSS_ZONE = 251048410;ZONAL_AFFINITY_STAY_WITHIN_ZONE = 12177782; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intA value indicating that the enum field is not set.static final intZONAL_AFFINITY_DISABLED = 230207960;static final intZONAL_AFFINITY_SPILL_CROSS_ZONE = 251048410;static final intZONAL_AFFINITY_STAY_WITHIN_ZONE = 12177782; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover>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.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_SPILLOVER
public static final BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover UNDEFINED_SPILLOVERA value indicating that the enum field is not set.
UNDEFINED_SPILLOVER = 0; -
ZONAL_AFFINITY_DISABLED
public static final BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover ZONAL_AFFINITY_DISABLEDZONAL_AFFINITY_DISABLED = 230207960; -
ZONAL_AFFINITY_SPILL_CROSS_ZONE
public static final BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover ZONAL_AFFINITY_SPILL_CROSS_ZONEZONAL_AFFINITY_SPILL_CROSS_ZONE = 251048410; -
ZONAL_AFFINITY_STAY_WITHIN_ZONE
public static final BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover ZONAL_AFFINITY_STAY_WITHIN_ZONEZONAL_AFFINITY_STAY_WITHIN_ZONE = 12177782; -
UNRECOGNIZED
public static final BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_SPILLOVER_VALUE
public static final int UNDEFINED_SPILLOVER_VALUEA value indicating that the enum field is not set.
UNDEFINED_SPILLOVER = 0;- See Also:
-
ZONAL_AFFINITY_DISABLED_VALUE
public static final int ZONAL_AFFINITY_DISABLED_VALUEZONAL_AFFINITY_DISABLED = 230207960;- See Also:
-
ZONAL_AFFINITY_SPILL_CROSS_ZONE_VALUE
public static final int ZONAL_AFFINITY_SPILL_CROSS_ZONE_VALUEZONAL_AFFINITY_SPILL_CROSS_ZONE = 251048410;- See Also:
-
ZONAL_AFFINITY_STAY_WITHIN_ZONE_VALUE
public static final int ZONAL_AFFINITY_STAY_WITHIN_ZONE_VALUEZONAL_AFFINITY_STAY_WITHIN_ZONE = 12177782;- See Also:
-
-
Method Details
-
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 BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover 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
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover 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 BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover 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<BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.Spillover 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 nameNullPointerException- if the argument is null
-