public static enum BackendServiceConnectionTrackingPolicy.TrackingMode extends Enum<BackendServiceConnectionTrackingPolicy.TrackingMode> implements com.google.protobuf.ProtocolMessageEnum
Specifies the key used for connection tracking. There are two options: - PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the Connection Key (default Hash Method) for the specific protocol. - PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It matches the configured Session Affinity. For more details, see [Tracking Mode for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode) and [Tracking Mode for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#tracking-mode).Protobuf enum
google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy.TrackingMode| Enum Constant and Description |
|---|
INVALID_TRACKING_MODE
INVALID_TRACKING_MODE = 49234371; |
PER_CONNECTION
PER_CONNECTION = 85162848; |
PER_SESSION
PER_SESSION = 182099252; |
UNDEFINED_TRACKING_MODE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
INVALID_TRACKING_MODE_VALUE
INVALID_TRACKING_MODE = 49234371; |
static int |
PER_CONNECTION_VALUE
PER_CONNECTION = 85162848; |
static int |
PER_SESSION_VALUE
PER_SESSION = 182099252; |
static int |
UNDEFINED_TRACKING_MODE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static BackendServiceConnectionTrackingPolicy.TrackingMode |
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<BackendServiceConnectionTrackingPolicy.TrackingMode> |
internalGetValueMap() |
static BackendServiceConnectionTrackingPolicy.TrackingMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BackendServiceConnectionTrackingPolicy.TrackingMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BackendServiceConnectionTrackingPolicy.TrackingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackendServiceConnectionTrackingPolicy.TrackingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackendServiceConnectionTrackingPolicy.TrackingMode UNDEFINED_TRACKING_MODE
A value indicating that the enum field is not set.
UNDEFINED_TRACKING_MODE = 0;public static final BackendServiceConnectionTrackingPolicy.TrackingMode INVALID_TRACKING_MODE
INVALID_TRACKING_MODE = 49234371;public static final BackendServiceConnectionTrackingPolicy.TrackingMode PER_CONNECTION
PER_CONNECTION = 85162848;public static final BackendServiceConnectionTrackingPolicy.TrackingMode PER_SESSION
PER_SESSION = 182099252;public static final BackendServiceConnectionTrackingPolicy.TrackingMode UNRECOGNIZED
public static final int UNDEFINED_TRACKING_MODE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_TRACKING_MODE = 0;public static final int INVALID_TRACKING_MODE_VALUE
INVALID_TRACKING_MODE = 49234371;public static final int PER_CONNECTION_VALUE
PER_CONNECTION = 85162848;public static final int PER_SESSION_VALUE
PER_SESSION = 182099252;public static BackendServiceConnectionTrackingPolicy.TrackingMode[] values()
for (BackendServiceConnectionTrackingPolicy.TrackingMode c : BackendServiceConnectionTrackingPolicy.TrackingMode.values()) System.out.println(c);
public static BackendServiceConnectionTrackingPolicy.TrackingMode 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 BackendServiceConnectionTrackingPolicy.TrackingMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BackendServiceConnectionTrackingPolicy.TrackingMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BackendServiceConnectionTrackingPolicy.TrackingMode> 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 BackendServiceConnectionTrackingPolicy.TrackingMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.