public static enum Subsetting.Policy extends Enum<Subsetting.Policy> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
google.cloud.compute.v1.Subsetting.Policy| Enum Constant and Description |
|---|
CONSISTENT_HASH_SUBSETTING
Subsetting based on consistent hashing.
|
NONE
No Subsetting.
|
UNDEFINED_POLICY
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSISTENT_HASH_SUBSETTING_VALUE
Subsetting based on consistent hashing.
|
static int |
NONE_VALUE
No Subsetting.
|
static int |
UNDEFINED_POLICY_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Subsetting.Policy |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Subsetting.Policy> |
internalGetValueMap() |
static Subsetting.Policy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Subsetting.Policy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Subsetting.Policy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Subsetting.Policy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Subsetting.Policy UNDEFINED_POLICY
A value indicating that the enum field is not set.
UNDEFINED_POLICY = 0;public static final Subsetting.Policy CONSISTENT_HASH_SUBSETTING
Subsetting based on consistent hashing. For Traffic Director, the number of backends per backend group (the subset size) is based on the `subset_size` parameter. For Internal HTTP(S) load balancing, the number of backends per backend group (the subset size) is dynamically adjusted in two cases: - As the number of proxy instances participating in Internal HTTP(S) load balancing increases, the subset size decreases. - When the total number of backends in a network exceeds the capacity of a single proxy instance, subset sizes are reduced automatically for each service that has backend subsetting enabled.
CONSISTENT_HASH_SUBSETTING = 108989492;public static final Subsetting.Policy NONE
No Subsetting. Clients may open connections and send traffic to all backends of this backend service. This can lead to performance issues if there is substantial imbalance in the count of clients and backends.
NONE = 2402104;public static final Subsetting.Policy UNRECOGNIZED
public static final int UNDEFINED_POLICY_VALUE
A value indicating that the enum field is not set.
UNDEFINED_POLICY = 0;public static final int CONSISTENT_HASH_SUBSETTING_VALUE
Subsetting based on consistent hashing. For Traffic Director, the number of backends per backend group (the subset size) is based on the `subset_size` parameter. For Internal HTTP(S) load balancing, the number of backends per backend group (the subset size) is dynamically adjusted in two cases: - As the number of proxy instances participating in Internal HTTP(S) load balancing increases, the subset size decreases. - When the total number of backends in a network exceeds the capacity of a single proxy instance, subset sizes are reduced automatically for each service that has backend subsetting enabled.
CONSISTENT_HASH_SUBSETTING = 108989492;public static final int NONE_VALUE
No Subsetting. Clients may open connections and send traffic to all backends of this backend service. This can lead to performance issues if there is substantial imbalance in the count of clients and backends.
NONE = 2402104;public static Subsetting.Policy[] values()
for (Subsetting.Policy c : Subsetting.Policy.values()) System.out.println(c);
public static Subsetting.Policy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Subsetting.Policy valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Subsetting.Policy forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Subsetting.Policy> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Subsetting.Policy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.