public static enum LoadBalancerInfo.BackendType extends Enum<LoadBalancerInfo.BackendType> implements com.google.protobuf.ProtocolMessageEnum
The type definition for a load balancer backend configuration:Protobuf enum
google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType| Enum Constant and Description |
|---|
BACKEND_SERVICE
Backend Service as the load balancer's backend.
|
BACKEND_TYPE_UNSPECIFIED
Type is unspecified.
|
TARGET_POOL
Target Pool as the load balancer's backend.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BACKEND_SERVICE_VALUE
Backend Service as the load balancer's backend.
|
static int |
BACKEND_TYPE_UNSPECIFIED_VALUE
Type is unspecified.
|
static int |
TARGET_POOL_VALUE
Target Pool as the load balancer's backend.
|
| Modifier and Type | Method and Description |
|---|---|
static LoadBalancerInfo.BackendType |
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<LoadBalancerInfo.BackendType> |
internalGetValueMap() |
static LoadBalancerInfo.BackendType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LoadBalancerInfo.BackendType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LoadBalancerInfo.BackendType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadBalancerInfo.BackendType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadBalancerInfo.BackendType BACKEND_TYPE_UNSPECIFIED
Type is unspecified.
BACKEND_TYPE_UNSPECIFIED = 0;public static final LoadBalancerInfo.BackendType BACKEND_SERVICE
Backend Service as the load balancer's backend.
BACKEND_SERVICE = 1;public static final LoadBalancerInfo.BackendType TARGET_POOL
Target Pool as the load balancer's backend.
TARGET_POOL = 2;public static final LoadBalancerInfo.BackendType UNRECOGNIZED
public static final int BACKEND_TYPE_UNSPECIFIED_VALUE
Type is unspecified.
BACKEND_TYPE_UNSPECIFIED = 0;public static final int BACKEND_SERVICE_VALUE
Backend Service as the load balancer's backend.
BACKEND_SERVICE = 1;public static final int TARGET_POOL_VALUE
Target Pool as the load balancer's backend.
TARGET_POOL = 2;public static LoadBalancerInfo.BackendType[] values()
for (LoadBalancerInfo.BackendType c : LoadBalancerInfo.BackendType.values()) System.out.println(c);
public static LoadBalancerInfo.BackendType 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 LoadBalancerInfo.BackendType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static LoadBalancerInfo.BackendType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LoadBalancerInfo.BackendType> 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 LoadBalancerInfo.BackendType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.