Enum LoadBalancerInfo.BackendType
java.lang.Object
java.lang.Enum<LoadBalancerInfo.BackendType>
com.google.cloud.networkmanagement.v1beta1.LoadBalancerInfo.BackendType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<LoadBalancerInfo.BackendType>
- Enclosing class:
- LoadBalancerInfo
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 Summary
Enum ConstantsEnum ConstantDescriptionBackend Service as the load balancer's backend.Type is unspecified.Target Instance as the load balancer's backend.Target Pool as the load balancer's backend. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBackend Service as the load balancer's backend.static final intType is unspecified.static final intTarget Instance as the load balancer's backend.static final intTarget Pool as the load balancer's backend. -
Method Summary
Modifier and TypeMethodDescriptionstatic LoadBalancerInfo.BackendTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<LoadBalancerInfo.BackendType>static LoadBalancerInfo.BackendTypevalueOf(int value) Deprecated.static LoadBalancerInfo.BackendTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static LoadBalancerInfo.BackendTypeReturns 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.
-
Enum Constant Details
-
BACKEND_TYPE_UNSPECIFIED
Type is unspecified.
BACKEND_TYPE_UNSPECIFIED = 0; -
BACKEND_SERVICE
Backend Service as the load balancer's backend.
BACKEND_SERVICE = 1; -
TARGET_POOL
Target Pool as the load balancer's backend.
TARGET_POOL = 2; -
TARGET_INSTANCE
Target Instance as the load balancer's backend.
TARGET_INSTANCE = 3; -
UNRECOGNIZED
-
-
Field Details
-
BACKEND_TYPE_UNSPECIFIED_VALUE
public static final int BACKEND_TYPE_UNSPECIFIED_VALUEType is unspecified.
BACKEND_TYPE_UNSPECIFIED = 0;- See Also:
-
BACKEND_SERVICE_VALUE
public static final int BACKEND_SERVICE_VALUEBackend Service as the load balancer's backend.
BACKEND_SERVICE = 1;- See Also:
-
TARGET_POOL_VALUE
public static final int TARGET_POOL_VALUETarget Pool as the load balancer's backend.
TARGET_POOL = 2;- See Also:
-
TARGET_INSTANCE_VALUE
public static final int TARGET_INSTANCE_VALUETarget Instance as the load balancer's backend.
TARGET_INSTANCE = 3;- 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
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.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
- 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<LoadBalancerInfo.BackendType> 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 LoadBalancerInfo.BackendType 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
-