Package com.google.container.v1
Enum DatapathProvider
- java.lang.Object
-
- java.lang.Enum<DatapathProvider>
-
- com.google.container.v1.DatapathProvider
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<DatapathProvider>
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 enumgoogle.container.v1.DatapathProvider
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADVANCED_DATAPATH
Use the eBPF based GKE Dataplane V2 with additional features.DATAPATH_PROVIDER_UNSPECIFIED
Default value.LEGACY_DATAPATH
Use the IPTables implementation based on kube-proxy.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ADVANCED_DATAPATH_VALUE
Use the eBPF based GKE Dataplane V2 with additional features.static int
DATAPATH_PROVIDER_UNSPECIFIED_VALUE
Default value.static int
LEGACY_DATAPATH_VALUE
Use the IPTables implementation based on kube-proxy.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DatapathProvider
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<DatapathProvider>
internalGetValueMap()
static DatapathProvider
valueOf(int value)
Deprecated.static DatapathProvider
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static DatapathProvider
valueOf(String name)
Returns 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 Detail
-
DATAPATH_PROVIDER_UNSPECIFIED
public static final DatapathProvider DATAPATH_PROVIDER_UNSPECIFIED
Default value.
DATAPATH_PROVIDER_UNSPECIFIED = 0;
-
LEGACY_DATAPATH
public static final DatapathProvider LEGACY_DATAPATH
Use the IPTables implementation based on kube-proxy.
LEGACY_DATAPATH = 1;
-
ADVANCED_DATAPATH
public static final DatapathProvider 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
public static final DatapathProvider UNRECOGNIZED
-
-
Field Detail
-
DATAPATH_PROVIDER_UNSPECIFIED_VALUE
public static final int DATAPATH_PROVIDER_UNSPECIFIED_VALUE
Default value.
DATAPATH_PROVIDER_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
LEGACY_DATAPATH_VALUE
public static final int LEGACY_DATAPATH_VALUE
Use the IPTables implementation based on kube-proxy.
LEGACY_DATAPATH = 1;
- See Also:
- Constant Field Values
-
ADVANCED_DATAPATH_VALUE
public static final int ADVANCED_DATAPATH_VALUE
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;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static DatapathProvider[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DatapathProvider c : DatapathProvider.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatapathProvider valueOf(String name)
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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static DatapathProvider valueOf(int value)
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
public static DatapathProvider forNumber(int value)
- 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<DatapathProvider> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static DatapathProvider 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
-
-