Enum IpMasqueradingSkippedInfo.Reason

java.lang.Object
java.lang.Enum<IpMasqueradingSkippedInfo.Reason>
com.google.cloud.networkmanagement.v1beta1.IpMasqueradingSkippedInfo.Reason
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<IpMasqueradingSkippedInfo.Reason>
Enclosing class:
IpMasqueradingSkippedInfo

public static enum IpMasqueradingSkippedInfo.Reason extends Enum<IpMasqueradingSkippedInfo.Reason> implements com.google.protobuf.ProtocolMessageEnum
 Reason why IP masquerading was skipped.
 
Protobuf enum google.cloud.networkmanagement.v1beta1.IpMasqueradingSkippedInfo.Reason
  • Enum Constant Details

    • REASON_UNSPECIFIED

      public static final IpMasqueradingSkippedInfo.Reason REASON_UNSPECIFIED
       Unused default value.
       
      REASON_UNSPECIFIED = 0;
    • DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE

      public static final IpMasqueradingSkippedInfo.Reason DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE
       Masquerading not applied because destination IP is in one of configured
       non-masquerade ranges.
       
      DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE = 1;
    • DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE

      public static final IpMasqueradingSkippedInfo.Reason DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE
       Masquerading not applied because destination IP is in one of default
       non-masquerade ranges.
       
      DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE = 2;
    • DESTINATION_ON_SAME_NODE

      public static final IpMasqueradingSkippedInfo.Reason DESTINATION_ON_SAME_NODE
       Masquerading not applied because destination is on the same Node.
       
      DESTINATION_ON_SAME_NODE = 3;
    • DEFAULT_SNAT_DISABLED

      public static final IpMasqueradingSkippedInfo.Reason DEFAULT_SNAT_DISABLED
       Masquerading not applied because ip-masq-agent doesn't exist and default
       SNAT is disabled.
       
      DEFAULT_SNAT_DISABLED = 4;
    • NO_MASQUERADING_FOR_IPV6

      public static final IpMasqueradingSkippedInfo.Reason NO_MASQUERADING_FOR_IPV6
       Masquerading not applied because the packet's IP version is IPv6.
       
      NO_MASQUERADING_FOR_IPV6 = 5;
    • POD_USES_NODE_NETWORK_NAMESPACE

      public static final IpMasqueradingSkippedInfo.Reason POD_USES_NODE_NETWORK_NAMESPACE
       Masquerading not applied because the source Pod uses the host Node's
       network namespace, including the Node's IP address.
       
      POD_USES_NODE_NETWORK_NAMESPACE = 6;
    • NO_MASQUERADING_FOR_RETURN_PACKET

      public static final IpMasqueradingSkippedInfo.Reason NO_MASQUERADING_FOR_RETURN_PACKET
       Masquerading not applied because the packet is a return packet.
       
      NO_MASQUERADING_FOR_RETURN_PACKET = 7;
    • UNRECOGNIZED

      public static final IpMasqueradingSkippedInfo.Reason UNRECOGNIZED
  • Field Details

    • REASON_UNSPECIFIED_VALUE

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

      public static final int DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE_VALUE
       Masquerading not applied because destination IP is in one of configured
       non-masquerade ranges.
       
      DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE = 1;
      See Also:
    • DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE_VALUE

      public static final int DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE_VALUE
       Masquerading not applied because destination IP is in one of default
       non-masquerade ranges.
       
      DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE = 2;
      See Also:
    • DESTINATION_ON_SAME_NODE_VALUE

      public static final int DESTINATION_ON_SAME_NODE_VALUE
       Masquerading not applied because destination is on the same Node.
       
      DESTINATION_ON_SAME_NODE = 3;
      See Also:
    • DEFAULT_SNAT_DISABLED_VALUE

      public static final int DEFAULT_SNAT_DISABLED_VALUE
       Masquerading not applied because ip-masq-agent doesn't exist and default
       SNAT is disabled.
       
      DEFAULT_SNAT_DISABLED = 4;
      See Also:
    • NO_MASQUERADING_FOR_IPV6_VALUE

      public static final int NO_MASQUERADING_FOR_IPV6_VALUE
       Masquerading not applied because the packet's IP version is IPv6.
       
      NO_MASQUERADING_FOR_IPV6 = 5;
      See Also:
    • POD_USES_NODE_NETWORK_NAMESPACE_VALUE

      public static final int POD_USES_NODE_NETWORK_NAMESPACE_VALUE
       Masquerading not applied because the source Pod uses the host Node's
       network namespace, including the Node's IP address.
       
      POD_USES_NODE_NETWORK_NAMESPACE = 6;
      See Also:
    • NO_MASQUERADING_FOR_RETURN_PACKET_VALUE

      public static final int NO_MASQUERADING_FOR_RETURN_PACKET_VALUE
       Masquerading not applied because the packet is a return packet.
       
      NO_MASQUERADING_FOR_RETURN_PACKET = 7;
      See Also:
  • Method Details

    • values

      public static IpMasqueradingSkippedInfo.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 IpMasqueradingSkippedInfo.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 IpMasqueradingSkippedInfo.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 IpMasqueradingSkippedInfo.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<IpMasqueradingSkippedInfo.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 IpMasqueradingSkippedInfo.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