Enum GkeNetworkPolicySkippedInfo.Reason
java.lang.Object
java.lang.Enum<GkeNetworkPolicySkippedInfo.Reason>
com.google.cloud.networkmanagement.v1beta1.GkeNetworkPolicySkippedInfo.Reason
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<GkeNetworkPolicySkippedInfo.Reason>
- Enclosing class:
- GkeNetworkPolicySkippedInfo
public static enum GkeNetworkPolicySkippedInfo.Reason
extends Enum<GkeNetworkPolicySkippedInfo.Reason>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
google.cloud.networkmanagement.v1beta1.GkeNetworkPolicySkippedInfo.Reason-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEgress traffic from a Pod that uses the Node's network namespace is not subject to Network Policy.Ingress traffic to a Pod from a source on the same Node is always allowed.Network Policy evaluation is currently not supported for clusters with FQDN Network Policies enabled.Network Policy is disabled on the cluster.Network Policy is not applied to response traffic.Unused default value. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEgress traffic from a Pod that uses the Node's network namespace is not subject to Network Policy.static final intIngress traffic to a Pod from a source on the same Node is always allowed.static final intNetwork Policy evaluation is currently not supported for clusters with FQDN Network Policies enabled.static final intNetwork Policy is disabled on the cluster.static final intNetwork Policy is not applied to response traffic.static final intUnused default value. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<GkeNetworkPolicySkippedInfo.Reason>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static GkeNetworkPolicySkippedInfo.Reason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REASON_UNSPECIFIED
Unused default value.
REASON_UNSPECIFIED = 0; -
NETWORK_POLICY_DISABLED
Network Policy is disabled on the cluster.
NETWORK_POLICY_DISABLED = 1; -
INGRESS_SOURCE_ON_SAME_NODE
Ingress traffic to a Pod from a source on the same Node is always allowed.
INGRESS_SOURCE_ON_SAME_NODE = 2; -
EGRESS_FROM_NODE_NETWORK_NAMESPACE_POD
Egress traffic from a Pod that uses the Node's network namespace is not subject to Network Policy.
EGRESS_FROM_NODE_NETWORK_NAMESPACE_POD = 3; -
NETWORK_POLICY_NOT_APPLIED_TO_RESPONSE_TRAFFIC
public static final GkeNetworkPolicySkippedInfo.Reason NETWORK_POLICY_NOT_APPLIED_TO_RESPONSE_TRAFFICNetwork Policy is not applied to response traffic. This is because GKE Network Policy evaluation is stateful in both GKE Dataplane V2 (eBPF) and legacy (iptables) implementations.
NETWORK_POLICY_NOT_APPLIED_TO_RESPONSE_TRAFFIC = 4; -
NETWORK_POLICY_ANALYSIS_UNSUPPORTED
Network Policy evaluation is currently not supported for clusters with FQDN Network Policies enabled.
NETWORK_POLICY_ANALYSIS_UNSUPPORTED = 100; -
UNRECOGNIZED
-
-
Field Details
-
REASON_UNSPECIFIED_VALUE
public static final int REASON_UNSPECIFIED_VALUEUnused default value.
REASON_UNSPECIFIED = 0;- See Also:
-
NETWORK_POLICY_DISABLED_VALUE
public static final int NETWORK_POLICY_DISABLED_VALUENetwork Policy is disabled on the cluster.
NETWORK_POLICY_DISABLED = 1;- See Also:
-
INGRESS_SOURCE_ON_SAME_NODE_VALUE
public static final int INGRESS_SOURCE_ON_SAME_NODE_VALUEIngress traffic to a Pod from a source on the same Node is always allowed.
INGRESS_SOURCE_ON_SAME_NODE = 2;- See Also:
-
EGRESS_FROM_NODE_NETWORK_NAMESPACE_POD_VALUE
public static final int EGRESS_FROM_NODE_NETWORK_NAMESPACE_POD_VALUEEgress traffic from a Pod that uses the Node's network namespace is not subject to Network Policy.
EGRESS_FROM_NODE_NETWORK_NAMESPACE_POD = 3;- See Also:
-
NETWORK_POLICY_NOT_APPLIED_TO_RESPONSE_TRAFFIC_VALUE
public static final int NETWORK_POLICY_NOT_APPLIED_TO_RESPONSE_TRAFFIC_VALUENetwork Policy is not applied to response traffic. This is because GKE Network Policy evaluation is stateful in both GKE Dataplane V2 (eBPF) and legacy (iptables) implementations.
NETWORK_POLICY_NOT_APPLIED_TO_RESPONSE_TRAFFIC = 4;- See Also:
-
NETWORK_POLICY_ANALYSIS_UNSUPPORTED_VALUE
public static final int NETWORK_POLICY_ANALYSIS_UNSUPPORTED_VALUENetwork Policy evaluation is currently not supported for clusters with FQDN Network Policies enabled.
NETWORK_POLICY_ANALYSIS_UNSUPPORTED = 100;- 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
public static com.google.protobuf.Internal.EnumLiteMap<GkeNetworkPolicySkippedInfo.Reason> 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
public static GkeNetworkPolicySkippedInfo.Reason 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
-