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 Details

    • REASON_UNSPECIFIED

      public static final GkeNetworkPolicySkippedInfo.Reason REASON_UNSPECIFIED
       Unused default value.
       
      REASON_UNSPECIFIED = 0;
    • NETWORK_POLICY_DISABLED

      public static final GkeNetworkPolicySkippedInfo.Reason NETWORK_POLICY_DISABLED
       Network Policy is disabled on the cluster.
       
      NETWORK_POLICY_DISABLED = 1;
    • INGRESS_SOURCE_ON_SAME_NODE

      public static final GkeNetworkPolicySkippedInfo.Reason 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

      public static final GkeNetworkPolicySkippedInfo.Reason 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_TRAFFIC
       Network 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

      public static final GkeNetworkPolicySkippedInfo.Reason NETWORK_POLICY_ANALYSIS_UNSUPPORTED
       Network Policy evaluation is currently not supported for clusters with
       FQDN Network Policies enabled.
       
      NETWORK_POLICY_ANALYSIS_UNSUPPORTED = 100;
    • UNRECOGNIZED

      public static final GkeNetworkPolicySkippedInfo.Reason UNRECOGNIZED
  • Field Details

    • REASON_UNSPECIFIED_VALUE

      public static final int REASON_UNSPECIFIED_VALUE
       Unused default value.
       
      REASON_UNSPECIFIED = 0;
      See Also:
    • NETWORK_POLICY_DISABLED_VALUE

      public static final int NETWORK_POLICY_DISABLED_VALUE
       Network 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_VALUE
       Ingress 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_VALUE
       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;
      See Also:
    • NETWORK_POLICY_NOT_APPLIED_TO_RESPONSE_TRAFFIC_VALUE

      public static final int NETWORK_POLICY_NOT_APPLIED_TO_RESPONSE_TRAFFIC_VALUE
       Network 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_VALUE
       Network Policy evaluation is currently not supported for clusters with
       FQDN Network Policies enabled.
       
      NETWORK_POLICY_ANALYSIS_UNSUPPORTED = 100;
      See Also:
  • Method Details

    • values

      public static GkeNetworkPolicySkippedInfo.Reason[] 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 GkeNetworkPolicySkippedInfo.Reason 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 GkeNetworkPolicySkippedInfo.Reason 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 GkeNetworkPolicySkippedInfo.Reason 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<GkeNetworkPolicySkippedInfo.Reason> 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 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 name
      NullPointerException - if the argument is null