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 Summary
Enum ConstantsEnum ConstantDescriptionMasquerading not applied because ip-masq-agent doesn't exist and default SNAT is disabled.Masquerading not applied because destination IP is in one of configured non-masquerade ranges.Masquerading not applied because destination IP is in one of default non-masquerade ranges.Masquerading not applied because destination is on the same Node.Masquerading not applied because the packet's IP version is IPv6.Masquerading not applied because the packet is a return packet.Masquerading not applied because the source Pod uses the host Node's network namespace, including the Node's IP address.Unused default value. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMasquerading not applied because ip-masq-agent doesn't exist and default SNAT is disabled.static final intMasquerading not applied because destination IP is in one of configured non-masquerade ranges.static final intMasquerading not applied because destination IP is in one of default non-masquerade ranges.static final intMasquerading not applied because destination is on the same Node.static final intMasquerading not applied because the packet's IP version is IPv6.static final intMasquerading not applied because the packet is a return packet.static final intMasquerading not applied because the source Pod uses the host Node's network namespace, including the Node's IP address.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<IpMasqueradingSkippedInfo.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 IpMasqueradingSkippedInfo.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; -
DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE
public static final IpMasqueradingSkippedInfo.Reason DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGEMasquerading 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
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
Masquerading not applied because destination is on the same Node.
DESTINATION_ON_SAME_NODE = 3; -
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
Masquerading not applied because the packet's IP version is IPv6.
NO_MASQUERADING_FOR_IPV6 = 5; -
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
Masquerading not applied because the packet is a return packet.
NO_MASQUERADING_FOR_RETURN_PACKET = 7; -
UNRECOGNIZED
-
-
Field Details
-
REASON_UNSPECIFIED_VALUE
public static final int REASON_UNSPECIFIED_VALUEUnused 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_VALUEMasquerading 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_VALUEMasquerading 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_VALUEMasquerading 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_VALUEMasquerading 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_VALUEMasquerading 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_VALUEMasquerading 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_VALUEMasquerading not applied because the packet is a return packet.
NO_MASQUERADING_FOR_RETURN_PACKET = 7;- 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<IpMasqueradingSkippedInfo.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 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 nameNullPointerException- if the argument is null
-