Package com.google.container.v1
Enum DatapathProvider
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DatapathProvider>
@Generated
public enum DatapathProvider
extends Enum<DatapathProvider>
implements com.google.protobuf.ProtocolMessageEnum
The datapath provider selects the implementation of the Kubernetes networking model for service resolution and network policy enforcement.Protobuf enum
google.container.v1.DatapathProvider-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse the eBPF based GKE Dataplane V2 with additional features.Default value.Use the IPTables implementation based on kube-proxy. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUse the eBPF based GKE Dataplane V2 with additional features.static final intDefault value.static final intUse the IPTables implementation based on kube-proxy. -
Method Summary
Modifier and TypeMethodDescriptionstatic DatapathProviderforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DatapathProvider>static DatapathProvidervalueOf(int value) Deprecated.static DatapathProvidervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DatapathProviderReturns the enum constant of this type with the specified name.static DatapathProvider[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DATAPATH_PROVIDER_UNSPECIFIED
Default value.
DATAPATH_PROVIDER_UNSPECIFIED = 0; -
LEGACY_DATAPATH
Use the IPTables implementation based on kube-proxy.
LEGACY_DATAPATH = 1; -
ADVANCED_DATAPATH
Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more.
ADVANCED_DATAPATH = 2; -
UNRECOGNIZED
-
-
Field Details
-
DATAPATH_PROVIDER_UNSPECIFIED_VALUE
public static final int DATAPATH_PROVIDER_UNSPECIFIED_VALUEDefault value.
DATAPATH_PROVIDER_UNSPECIFIED = 0;- See Also:
-
LEGACY_DATAPATH_VALUE
public static final int LEGACY_DATAPATH_VALUEUse the IPTables implementation based on kube-proxy.
LEGACY_DATAPATH = 1;- See Also:
-
ADVANCED_DATAPATH_VALUE
public static final int ADVANCED_DATAPATH_VALUEUse the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more.
ADVANCED_DATAPATH = 2;- 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
-