public static enum NetworkPolicy.Provider extends java.lang.Enum<NetworkPolicy.Provider> implements ProtocolMessageEnum
Allowed Network Policy providers.Protobuf enum
google.container.v1.NetworkPolicy.Provider
Enum Constant and Description |
---|
CALICO
Tigera (Calico Felix).
|
PROVIDER_UNSPECIFIED
Not set
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CALICO_VALUE
Tigera (Calico Felix).
|
static int |
PROVIDER_UNSPECIFIED_VALUE
Not set
|
Modifier and Type | Method and Description |
---|---|
static NetworkPolicy.Provider |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<NetworkPolicy.Provider> |
internalGetValueMap() |
static NetworkPolicy.Provider |
valueOf(Descriptors.EnumValueDescriptor desc) |
static NetworkPolicy.Provider |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetworkPolicy.Provider |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetworkPolicy.Provider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkPolicy.Provider PROVIDER_UNSPECIFIED
Not set
PROVIDER_UNSPECIFIED = 0;
public static final NetworkPolicy.Provider CALICO
Tigera (Calico Felix).
CALICO = 1;
public static final NetworkPolicy.Provider UNRECOGNIZED
public static final int PROVIDER_UNSPECIFIED_VALUE
Not set
PROVIDER_UNSPECIFIED = 0;
public static final int CALICO_VALUE
Tigera (Calico Felix).
CALICO = 1;
public static NetworkPolicy.Provider[] values()
for (NetworkPolicy.Provider c : NetworkPolicy.Provider.values()) System.out.println(c);
public static NetworkPolicy.Provider valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static NetworkPolicy.Provider valueOf(int value)
forNumber(int)
instead.public static NetworkPolicy.Provider forNumber(int value)
public static Internal.EnumLiteMap<NetworkPolicy.Provider> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static NetworkPolicy.Provider valueOf(Descriptors.EnumValueDescriptor desc)