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>

@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 Details

    • 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 Details

    • DATAPATH_PROVIDER_UNSPECIFIED_VALUE

      public static final int DATAPATH_PROVIDER_UNSPECIFIED_VALUE
       Default value.
       
      DATAPATH_PROVIDER_UNSPECIFIED = 0;
      See Also:
    • LEGACY_DATAPATH_VALUE

      public static final int LEGACY_DATAPATH_VALUE
       Use the IPTables implementation based on kube-proxy.
       
      LEGACY_DATAPATH = 1;
      See Also:
    • 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:
  • Method Details

    • values

      public static DatapathProvider[] 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

      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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 name
      NullPointerException - 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 interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static 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 name
      NullPointerException - if the argument is null