Enum Step.State
- java.lang.Object
-
- java.lang.Enum<Step.State>
-
- com.google.cloud.networkmanagement.v1.Step.State
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Step.State>
- Enclosing class:
- Step
public static enum Step.State extends Enum<Step.State> implements com.google.protobuf.ProtocolMessageEnum
Type of states that are defined in the network state machine. Each step in the packet trace is in a specific state.
Protobuf enumgoogle.cloud.networkmanagement.v1.Step.State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTFinal state: analysis is aborted.APPLY_EGRESS_FIREWALL_RULEConfig checking state: verify egress firewall rule.APPLY_FORWARDING_RULEConfig checking state: match forwarding rule.APPLY_INGRESS_FIREWALL_RULEConfig checking state: verify ingress firewall rule.APPLY_ROUTEConfig checking state: verify route.ARRIVE_AT_EXTERNAL_LOAD_BALANCERForwarding state: arriving at a Compute Engine external load balancer.ARRIVE_AT_INSTANCEForwarding state: arriving at a Compute Engine instance.ARRIVE_AT_INTERNAL_LOAD_BALANCERForwarding state: arriving at a Compute Engine internal load balancer.ARRIVE_AT_VPC_CONNECTORForwarding state: arriving at a VPC connector.ARRIVE_AT_VPN_GATEWAYForwarding state: arriving at a Cloud VPN gateway.ARRIVE_AT_VPN_TUNNELForwarding state: arriving at a Cloud VPN tunnel.DELIVERFinal state: packet could be delivered.DROPFinal state: packet could be dropped.FORWARDFinal state: packet could be forwarded to a network with an unknown configuration.NATTransition state: packet header translated.PROXY_CONNECTIONTransition state: original connection is terminated and a new proxied connection is initiated.SPOOFING_APPROVEDConfig checking state: packet sent or received under foreign IP address and allowed.START_FROM_APP_ENGINE_VERSIONInitial state: packet originating from an App Engine service version.START_FROM_CLOUD_FUNCTIONInitial state: packet originating from a Cloud Function.START_FROM_CLOUD_RUN_REVISIONInitial state: packet originating from a Cloud Run revision.START_FROM_CLOUD_SQL_INSTANCEInitial state: packet originating from a Cloud SQL instance.START_FROM_GKE_MASTERInitial state: packet originating from a Google Kubernetes Engine cluster master.START_FROM_GOOGLE_SERVICEInitial state: packet originating from a Google service.START_FROM_INSTANCEInitial state: packet originating from a Compute Engine instance.START_FROM_INTERNETInitial state: packet originating from the internet.START_FROM_PRIVATE_NETWORKInitial state: packet originating from a VPC or on-premises network with internal source IP.STATE_UNSPECIFIEDUnspecified state.UNRECOGNIZEDVIEWER_PERMISSION_MISSINGSpecial state: viewer of the test result does not have permission to see the configuration in this step.
-
Field Summary
Fields Modifier and Type Field Description static intABORT_VALUEFinal state: analysis is aborted.static intAPPLY_EGRESS_FIREWALL_RULE_VALUEConfig checking state: verify egress firewall rule.static intAPPLY_FORWARDING_RULE_VALUEConfig checking state: match forwarding rule.static intAPPLY_INGRESS_FIREWALL_RULE_VALUEConfig checking state: verify ingress firewall rule.static intAPPLY_ROUTE_VALUEConfig checking state: verify route.static intARRIVE_AT_EXTERNAL_LOAD_BALANCER_VALUEForwarding state: arriving at a Compute Engine external load balancer.static intARRIVE_AT_INSTANCE_VALUEForwarding state: arriving at a Compute Engine instance.static intARRIVE_AT_INTERNAL_LOAD_BALANCER_VALUEForwarding state: arriving at a Compute Engine internal load balancer.static intARRIVE_AT_VPC_CONNECTOR_VALUEForwarding state: arriving at a VPC connector.static intARRIVE_AT_VPN_GATEWAY_VALUEForwarding state: arriving at a Cloud VPN gateway.static intARRIVE_AT_VPN_TUNNEL_VALUEForwarding state: arriving at a Cloud VPN tunnel.static intDELIVER_VALUEFinal state: packet could be delivered.static intDROP_VALUEFinal state: packet could be dropped.static intFORWARD_VALUEFinal state: packet could be forwarded to a network with an unknown configuration.static intNAT_VALUETransition state: packet header translated.static intPROXY_CONNECTION_VALUETransition state: original connection is terminated and a new proxied connection is initiated.static intSPOOFING_APPROVED_VALUEConfig checking state: packet sent or received under foreign IP address and allowed.static intSTART_FROM_APP_ENGINE_VERSION_VALUEInitial state: packet originating from an App Engine service version.static intSTART_FROM_CLOUD_FUNCTION_VALUEInitial state: packet originating from a Cloud Function.static intSTART_FROM_CLOUD_RUN_REVISION_VALUEInitial state: packet originating from a Cloud Run revision.static intSTART_FROM_CLOUD_SQL_INSTANCE_VALUEInitial state: packet originating from a Cloud SQL instance.static intSTART_FROM_GKE_MASTER_VALUEInitial state: packet originating from a Google Kubernetes Engine cluster master.static intSTART_FROM_GOOGLE_SERVICE_VALUEInitial state: packet originating from a Google service.static intSTART_FROM_INSTANCE_VALUEInitial state: packet originating from a Compute Engine instance.static intSTART_FROM_INTERNET_VALUEInitial state: packet originating from the internet.static intSTART_FROM_PRIVATE_NETWORK_VALUEInitial state: packet originating from a VPC or on-premises network with internal source IP.static intSTATE_UNSPECIFIED_VALUEUnspecified state.static intVIEWER_PERMISSION_MISSING_VALUESpecial state: viewer of the test result does not have permission to see the configuration in this step.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Step.StateforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Step.State>internalGetValueMap()static Step.StatevalueOf(int value)Deprecated.static Step.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Step.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static Step.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATE_UNSPECIFIED
public static final Step.State STATE_UNSPECIFIED
Unspecified state.
STATE_UNSPECIFIED = 0;
-
START_FROM_INSTANCE
public static final Step.State START_FROM_INSTANCE
Initial state: packet originating from a Compute Engine instance. An InstanceInfo is populated with starting instance information.
START_FROM_INSTANCE = 1;
-
START_FROM_INTERNET
public static final Step.State START_FROM_INTERNET
Initial state: packet originating from the internet. The endpoint information is populated.
START_FROM_INTERNET = 2;
-
START_FROM_GOOGLE_SERVICE
public static final Step.State START_FROM_GOOGLE_SERVICE
Initial state: packet originating from a Google service. Some Google services, such as health check probers or Identity Aware Proxy use special routes, outside VPC routing configuration to reach Compute Engine Instances.
START_FROM_GOOGLE_SERVICE = 27;
-
START_FROM_PRIVATE_NETWORK
public static final Step.State START_FROM_PRIVATE_NETWORK
Initial state: packet originating from a VPC or on-premises network with internal source IP. If the source is a VPC network visible to the user, a NetworkInfo is populated with details of the network.
START_FROM_PRIVATE_NETWORK = 3;
-
START_FROM_GKE_MASTER
public static final Step.State START_FROM_GKE_MASTER
Initial state: packet originating from a Google Kubernetes Engine cluster master. A GKEMasterInfo is populated with starting instance information.
START_FROM_GKE_MASTER = 21;
-
START_FROM_CLOUD_SQL_INSTANCE
public static final Step.State START_FROM_CLOUD_SQL_INSTANCE
Initial state: packet originating from a Cloud SQL instance. A CloudSQLInstanceInfo is populated with starting instance information.
START_FROM_CLOUD_SQL_INSTANCE = 22;
-
START_FROM_CLOUD_FUNCTION
public static final Step.State START_FROM_CLOUD_FUNCTION
Initial state: packet originating from a Cloud Function. A CloudFunctionInfo is populated with starting function information.
START_FROM_CLOUD_FUNCTION = 23;
-
START_FROM_APP_ENGINE_VERSION
public static final Step.State START_FROM_APP_ENGINE_VERSION
Initial state: packet originating from an App Engine service version. An AppEngineVersionInfo is populated with starting version information.
START_FROM_APP_ENGINE_VERSION = 25;
-
START_FROM_CLOUD_RUN_REVISION
public static final Step.State START_FROM_CLOUD_RUN_REVISION
Initial state: packet originating from a Cloud Run revision. A CloudRunRevisionInfo is populated with starting revision information.
START_FROM_CLOUD_RUN_REVISION = 26;
-
APPLY_INGRESS_FIREWALL_RULE
public static final Step.State APPLY_INGRESS_FIREWALL_RULE
Config checking state: verify ingress firewall rule.
APPLY_INGRESS_FIREWALL_RULE = 4;
-
APPLY_EGRESS_FIREWALL_RULE
public static final Step.State APPLY_EGRESS_FIREWALL_RULE
Config checking state: verify egress firewall rule.
APPLY_EGRESS_FIREWALL_RULE = 5;
-
APPLY_ROUTE
public static final Step.State APPLY_ROUTE
Config checking state: verify route.
APPLY_ROUTE = 6;
-
APPLY_FORWARDING_RULE
public static final Step.State APPLY_FORWARDING_RULE
Config checking state: match forwarding rule.
APPLY_FORWARDING_RULE = 7;
-
SPOOFING_APPROVED
public static final Step.State SPOOFING_APPROVED
Config checking state: packet sent or received under foreign IP address and allowed.
SPOOFING_APPROVED = 8;
-
ARRIVE_AT_INSTANCE
public static final Step.State ARRIVE_AT_INSTANCE
Forwarding state: arriving at a Compute Engine instance.
ARRIVE_AT_INSTANCE = 9;
-
ARRIVE_AT_INTERNAL_LOAD_BALANCER
public static final Step.State ARRIVE_AT_INTERNAL_LOAD_BALANCER
Forwarding state: arriving at a Compute Engine internal load balancer.
ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10;
-
ARRIVE_AT_EXTERNAL_LOAD_BALANCER
public static final Step.State ARRIVE_AT_EXTERNAL_LOAD_BALANCER
Forwarding state: arriving at a Compute Engine external load balancer.
ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11;
-
ARRIVE_AT_VPN_GATEWAY
public static final Step.State ARRIVE_AT_VPN_GATEWAY
Forwarding state: arriving at a Cloud VPN gateway.
ARRIVE_AT_VPN_GATEWAY = 12;
-
ARRIVE_AT_VPN_TUNNEL
public static final Step.State ARRIVE_AT_VPN_TUNNEL
Forwarding state: arriving at a Cloud VPN tunnel.
ARRIVE_AT_VPN_TUNNEL = 13;
-
ARRIVE_AT_VPC_CONNECTOR
public static final Step.State ARRIVE_AT_VPC_CONNECTOR
Forwarding state: arriving at a VPC connector.
ARRIVE_AT_VPC_CONNECTOR = 24;
-
NAT
public static final Step.State NAT
Transition state: packet header translated.
NAT = 14;
-
PROXY_CONNECTION
public static final Step.State PROXY_CONNECTION
Transition state: original connection is terminated and a new proxied connection is initiated.
PROXY_CONNECTION = 15;
-
DELIVER
public static final Step.State DELIVER
Final state: packet could be delivered.
DELIVER = 16;
-
DROP
public static final Step.State DROP
Final state: packet could be dropped.
DROP = 17;
-
FORWARD
public static final Step.State FORWARD
Final state: packet could be forwarded to a network with an unknown configuration.
FORWARD = 18;
-
ABORT
public static final Step.State ABORT
Final state: analysis is aborted.
ABORT = 19;
-
VIEWER_PERMISSION_MISSING
public static final Step.State VIEWER_PERMISSION_MISSING
Special state: viewer of the test result does not have permission to see the configuration in this step.
VIEWER_PERMISSION_MISSING = 20;
-
UNRECOGNIZED
public static final Step.State UNRECOGNIZED
-
-
Field Detail
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUE
Unspecified state.
STATE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
START_FROM_INSTANCE_VALUE
public static final int START_FROM_INSTANCE_VALUE
Initial state: packet originating from a Compute Engine instance. An InstanceInfo is populated with starting instance information.
START_FROM_INSTANCE = 1;- See Also:
- Constant Field Values
-
START_FROM_INTERNET_VALUE
public static final int START_FROM_INTERNET_VALUE
Initial state: packet originating from the internet. The endpoint information is populated.
START_FROM_INTERNET = 2;- See Also:
- Constant Field Values
-
START_FROM_GOOGLE_SERVICE_VALUE
public static final int START_FROM_GOOGLE_SERVICE_VALUE
Initial state: packet originating from a Google service. Some Google services, such as health check probers or Identity Aware Proxy use special routes, outside VPC routing configuration to reach Compute Engine Instances.
START_FROM_GOOGLE_SERVICE = 27;- See Also:
- Constant Field Values
-
START_FROM_PRIVATE_NETWORK_VALUE
public static final int START_FROM_PRIVATE_NETWORK_VALUE
Initial state: packet originating from a VPC or on-premises network with internal source IP. If the source is a VPC network visible to the user, a NetworkInfo is populated with details of the network.
START_FROM_PRIVATE_NETWORK = 3;- See Also:
- Constant Field Values
-
START_FROM_GKE_MASTER_VALUE
public static final int START_FROM_GKE_MASTER_VALUE
Initial state: packet originating from a Google Kubernetes Engine cluster master. A GKEMasterInfo is populated with starting instance information.
START_FROM_GKE_MASTER = 21;- See Also:
- Constant Field Values
-
START_FROM_CLOUD_SQL_INSTANCE_VALUE
public static final int START_FROM_CLOUD_SQL_INSTANCE_VALUE
Initial state: packet originating from a Cloud SQL instance. A CloudSQLInstanceInfo is populated with starting instance information.
START_FROM_CLOUD_SQL_INSTANCE = 22;- See Also:
- Constant Field Values
-
START_FROM_CLOUD_FUNCTION_VALUE
public static final int START_FROM_CLOUD_FUNCTION_VALUE
Initial state: packet originating from a Cloud Function. A CloudFunctionInfo is populated with starting function information.
START_FROM_CLOUD_FUNCTION = 23;- See Also:
- Constant Field Values
-
START_FROM_APP_ENGINE_VERSION_VALUE
public static final int START_FROM_APP_ENGINE_VERSION_VALUE
Initial state: packet originating from an App Engine service version. An AppEngineVersionInfo is populated with starting version information.
START_FROM_APP_ENGINE_VERSION = 25;- See Also:
- Constant Field Values
-
START_FROM_CLOUD_RUN_REVISION_VALUE
public static final int START_FROM_CLOUD_RUN_REVISION_VALUE
Initial state: packet originating from a Cloud Run revision. A CloudRunRevisionInfo is populated with starting revision information.
START_FROM_CLOUD_RUN_REVISION = 26;- See Also:
- Constant Field Values
-
APPLY_INGRESS_FIREWALL_RULE_VALUE
public static final int APPLY_INGRESS_FIREWALL_RULE_VALUE
Config checking state: verify ingress firewall rule.
APPLY_INGRESS_FIREWALL_RULE = 4;- See Also:
- Constant Field Values
-
APPLY_EGRESS_FIREWALL_RULE_VALUE
public static final int APPLY_EGRESS_FIREWALL_RULE_VALUE
Config checking state: verify egress firewall rule.
APPLY_EGRESS_FIREWALL_RULE = 5;- See Also:
- Constant Field Values
-
APPLY_ROUTE_VALUE
public static final int APPLY_ROUTE_VALUE
Config checking state: verify route.
APPLY_ROUTE = 6;- See Also:
- Constant Field Values
-
APPLY_FORWARDING_RULE_VALUE
public static final int APPLY_FORWARDING_RULE_VALUE
Config checking state: match forwarding rule.
APPLY_FORWARDING_RULE = 7;- See Also:
- Constant Field Values
-
SPOOFING_APPROVED_VALUE
public static final int SPOOFING_APPROVED_VALUE
Config checking state: packet sent or received under foreign IP address and allowed.
SPOOFING_APPROVED = 8;- See Also:
- Constant Field Values
-
ARRIVE_AT_INSTANCE_VALUE
public static final int ARRIVE_AT_INSTANCE_VALUE
Forwarding state: arriving at a Compute Engine instance.
ARRIVE_AT_INSTANCE = 9;- See Also:
- Constant Field Values
-
ARRIVE_AT_INTERNAL_LOAD_BALANCER_VALUE
public static final int ARRIVE_AT_INTERNAL_LOAD_BALANCER_VALUE
Forwarding state: arriving at a Compute Engine internal load balancer.
ARRIVE_AT_INTERNAL_LOAD_BALANCER = 10;- See Also:
- Constant Field Values
-
ARRIVE_AT_EXTERNAL_LOAD_BALANCER_VALUE
public static final int ARRIVE_AT_EXTERNAL_LOAD_BALANCER_VALUE
Forwarding state: arriving at a Compute Engine external load balancer.
ARRIVE_AT_EXTERNAL_LOAD_BALANCER = 11;- See Also:
- Constant Field Values
-
ARRIVE_AT_VPN_GATEWAY_VALUE
public static final int ARRIVE_AT_VPN_GATEWAY_VALUE
Forwarding state: arriving at a Cloud VPN gateway.
ARRIVE_AT_VPN_GATEWAY = 12;- See Also:
- Constant Field Values
-
ARRIVE_AT_VPN_TUNNEL_VALUE
public static final int ARRIVE_AT_VPN_TUNNEL_VALUE
Forwarding state: arriving at a Cloud VPN tunnel.
ARRIVE_AT_VPN_TUNNEL = 13;- See Also:
- Constant Field Values
-
ARRIVE_AT_VPC_CONNECTOR_VALUE
public static final int ARRIVE_AT_VPC_CONNECTOR_VALUE
Forwarding state: arriving at a VPC connector.
ARRIVE_AT_VPC_CONNECTOR = 24;- See Also:
- Constant Field Values
-
NAT_VALUE
public static final int NAT_VALUE
Transition state: packet header translated.
NAT = 14;- See Also:
- Constant Field Values
-
PROXY_CONNECTION_VALUE
public static final int PROXY_CONNECTION_VALUE
Transition state: original connection is terminated and a new proxied connection is initiated.
PROXY_CONNECTION = 15;- See Also:
- Constant Field Values
-
DELIVER_VALUE
public static final int DELIVER_VALUE
Final state: packet could be delivered.
DELIVER = 16;- See Also:
- Constant Field Values
-
DROP_VALUE
public static final int DROP_VALUE
Final state: packet could be dropped.
DROP = 17;- See Also:
- Constant Field Values
-
FORWARD_VALUE
public static final int FORWARD_VALUE
Final state: packet could be forwarded to a network with an unknown configuration.
FORWARD = 18;- See Also:
- Constant Field Values
-
ABORT_VALUE
public static final int ABORT_VALUE
Final state: analysis is aborted.
ABORT = 19;- See Also:
- Constant Field Values
-
VIEWER_PERMISSION_MISSING_VALUE
public static final int VIEWER_PERMISSION_MISSING_VALUE
Special state: viewer of the test result does not have permission to see the configuration in this step.
VIEWER_PERMISSION_MISSING = 20;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Step.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Step.State c : Step.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Step.State 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 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 public static Step.State 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 nameNullPointerException- if the argument is null
-
forNumber
public static Step.State 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<Step.State> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Step.State 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
-
-