Enum LoadBalancerType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<LoadBalancerType>
@Generated
public enum LoadBalancerType
extends Enum<LoadBalancerType>
implements com.google.protobuf.ProtocolMessageEnum
Type of a load balancer. For more information, see [Summary of Google Cloud load balancers](https://cloud.google.com/load-balancing/docs/load-balancing-overview#summary-of-google-cloud-load-balancers).Protobuf enum
google.cloud.networkmanagement.v1beta1.LoadBalancerType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGlobal external HTTP(S) load balancer.Global external HTTP(S) load balancer (classic)Internal HTTP(S) load balancer.Internal regional TCP proxy load balancer.Target-pool based external TCP/UDP Network load balancer.Forwarding rule points to a different target than a load balancer or a load balancer type is unknown.External TCP/UDP Network load balancer.Regional external HTTP(S) load balancer.External SSL proxy load balancer.External TCP proxy load balancer.Internal TCP/UDP load balancer. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intGlobal external HTTP(S) load balancer.static final intGlobal external HTTP(S) load balancer (classic)static final intInternal HTTP(S) load balancer.static final intInternal regional TCP proxy load balancer.static final intTarget-pool based external TCP/UDP Network load balancer.static final intForwarding rule points to a different target than a load balancer or a load balancer type is unknown.static final intExternal TCP/UDP Network load balancer.static final intRegional external HTTP(S) load balancer.static final intExternal SSL proxy load balancer.static final intExternal TCP proxy load balancer.static final intInternal TCP/UDP load balancer. -
Method Summary
Modifier and TypeMethodDescriptionstatic LoadBalancerTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<LoadBalancerType>static LoadBalancerTypevalueOf(int value) Deprecated.static LoadBalancerTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static LoadBalancerTypeReturns the enum constant of this type with the specified name.static LoadBalancerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOAD_BALANCER_TYPE_UNSPECIFIED
Forwarding rule points to a different target than a load balancer or a load balancer type is unknown.
LOAD_BALANCER_TYPE_UNSPECIFIED = 0; -
HTTPS_ADVANCED_LOAD_BALANCER
Global external HTTP(S) load balancer.
HTTPS_ADVANCED_LOAD_BALANCER = 1; -
HTTPS_LOAD_BALANCER
Global external HTTP(S) load balancer (classic)
HTTPS_LOAD_BALANCER = 2; -
REGIONAL_HTTPS_LOAD_BALANCER
Regional external HTTP(S) load balancer.
REGIONAL_HTTPS_LOAD_BALANCER = 3; -
INTERNAL_HTTPS_LOAD_BALANCER
Internal HTTP(S) load balancer.
INTERNAL_HTTPS_LOAD_BALANCER = 4; -
SSL_PROXY_LOAD_BALANCER
External SSL proxy load balancer.
SSL_PROXY_LOAD_BALANCER = 5; -
TCP_PROXY_LOAD_BALANCER
External TCP proxy load balancer.
TCP_PROXY_LOAD_BALANCER = 6; -
INTERNAL_TCP_PROXY_LOAD_BALANCER
Internal regional TCP proxy load balancer.
INTERNAL_TCP_PROXY_LOAD_BALANCER = 7; -
NETWORK_LOAD_BALANCER
External TCP/UDP Network load balancer.
NETWORK_LOAD_BALANCER = 8; -
LEGACY_NETWORK_LOAD_BALANCER
Target-pool based external TCP/UDP Network load balancer.
LEGACY_NETWORK_LOAD_BALANCER = 9; -
TCP_UDP_INTERNAL_LOAD_BALANCER
Internal TCP/UDP load balancer.
TCP_UDP_INTERNAL_LOAD_BALANCER = 10; -
UNRECOGNIZED
-
-
Field Details
-
LOAD_BALANCER_TYPE_UNSPECIFIED_VALUE
public static final int LOAD_BALANCER_TYPE_UNSPECIFIED_VALUEForwarding rule points to a different target than a load balancer or a load balancer type is unknown.
LOAD_BALANCER_TYPE_UNSPECIFIED = 0;- See Also:
-
HTTPS_ADVANCED_LOAD_BALANCER_VALUE
public static final int HTTPS_ADVANCED_LOAD_BALANCER_VALUEGlobal external HTTP(S) load balancer.
HTTPS_ADVANCED_LOAD_BALANCER = 1;- See Also:
-
HTTPS_LOAD_BALANCER_VALUE
public static final int HTTPS_LOAD_BALANCER_VALUEGlobal external HTTP(S) load balancer (classic)
HTTPS_LOAD_BALANCER = 2;- See Also:
-
REGIONAL_HTTPS_LOAD_BALANCER_VALUE
public static final int REGIONAL_HTTPS_LOAD_BALANCER_VALUERegional external HTTP(S) load balancer.
REGIONAL_HTTPS_LOAD_BALANCER = 3;- See Also:
-
INTERNAL_HTTPS_LOAD_BALANCER_VALUE
public static final int INTERNAL_HTTPS_LOAD_BALANCER_VALUEInternal HTTP(S) load balancer.
INTERNAL_HTTPS_LOAD_BALANCER = 4;- See Also:
-
SSL_PROXY_LOAD_BALANCER_VALUE
public static final int SSL_PROXY_LOAD_BALANCER_VALUEExternal SSL proxy load balancer.
SSL_PROXY_LOAD_BALANCER = 5;- See Also:
-
TCP_PROXY_LOAD_BALANCER_VALUE
public static final int TCP_PROXY_LOAD_BALANCER_VALUEExternal TCP proxy load balancer.
TCP_PROXY_LOAD_BALANCER = 6;- See Also:
-
INTERNAL_TCP_PROXY_LOAD_BALANCER_VALUE
public static final int INTERNAL_TCP_PROXY_LOAD_BALANCER_VALUEInternal regional TCP proxy load balancer.
INTERNAL_TCP_PROXY_LOAD_BALANCER = 7;- See Also:
-
NETWORK_LOAD_BALANCER_VALUE
public static final int NETWORK_LOAD_BALANCER_VALUEExternal TCP/UDP Network load balancer.
NETWORK_LOAD_BALANCER = 8;- See Also:
-
LEGACY_NETWORK_LOAD_BALANCER_VALUE
public static final int LEGACY_NETWORK_LOAD_BALANCER_VALUETarget-pool based external TCP/UDP Network load balancer.
LEGACY_NETWORK_LOAD_BALANCER = 9;- See Also:
-
TCP_UDP_INTERNAL_LOAD_BALANCER_VALUE
public static final int TCP_UDP_INTERNAL_LOAD_BALANCER_VALUEInternal TCP/UDP load balancer.
TCP_UDP_INTERNAL_LOAD_BALANCER = 10;- 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
-
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
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
-