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 enum
google.cloud.networkmanagement.v1beta1.Step.State| Enum Constant and Description |
|---|
ABORT
Final state: analysis is aborted.
|
APPLY_EGRESS_FIREWALL_RULE
Config checking state: verify egress firewall rule.
|
APPLY_FORWARDING_RULE
Config checking state: match forwarding rule.
|
APPLY_INGRESS_FIREWALL_RULE
Config checking state: verify ingress firewall rule.
|
APPLY_ROUTE
Config checking state: verify route.
|
ARRIVE_AT_EXTERNAL_LOAD_BALANCER
Forwarding state: arriving at a Compute Engine external load balancer.
|
ARRIVE_AT_INSTANCE
Forwarding state: arriving at a Compute Engine instance.
|
ARRIVE_AT_INTERNAL_LOAD_BALANCER
Forwarding state: arriving at a Compute Engine internal load balancer.
|
ARRIVE_AT_VPC_CONNECTOR
Forwarding state: arriving at a VPC connector.
|
ARRIVE_AT_VPN_GATEWAY
Forwarding state: arriving at a Cloud VPN gateway.
|
ARRIVE_AT_VPN_TUNNEL
Forwarding state: arriving at a Cloud VPN tunnel.
|
DELIVER
Final state: packet could be delivered.
|
DROP
Final state: packet could be dropped.
|
FORWARD
Final state: packet could be forwarded to a network with an unknown
configuration.
|
NAT
Transition state: packet header translated.
|
PROXY_CONNECTION
Transition state: original connection is terminated and a new proxied
connection is initiated.
|
SPOOFING_APPROVED
Config checking state: packet sent or received under foreign IP
address and allowed.
|
START_FROM_CLOUD_FUNCTION
Initial state: packet originating from a Cloud function.
|
START_FROM_CLOUD_SQL_INSTANCE
Initial state: packet originating from a Cloud SQL instance.
|
START_FROM_GKE_MASTER
Initial state: packet originating from a Google Kubernetes Engine cluster
master.
|
START_FROM_INSTANCE
Initial state: packet originating from a Compute Engine instance.
|
START_FROM_INTERNET
Initial state: packet originating from the internet.
|
START_FROM_PRIVATE_NETWORK
Initial state: packet originating from a VPC or on-premises network
with internal source IP.
|
STATE_UNSPECIFIED
Unspecified state.
|
UNRECOGNIZED |
VIEWER_PERMISSION_MISSING
Special state: viewer of the test result does not have permission to
see the configuration in this step.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ABORT_VALUE
Final state: analysis is aborted.
|
static int |
APPLY_EGRESS_FIREWALL_RULE_VALUE
Config checking state: verify egress firewall rule.
|
static int |
APPLY_FORWARDING_RULE_VALUE
Config checking state: match forwarding rule.
|
static int |
APPLY_INGRESS_FIREWALL_RULE_VALUE
Config checking state: verify ingress firewall rule.
|
static int |
APPLY_ROUTE_VALUE
Config checking state: verify route.
|
static int |
ARRIVE_AT_EXTERNAL_LOAD_BALANCER_VALUE
Forwarding state: arriving at a Compute Engine external load balancer.
|
static int |
ARRIVE_AT_INSTANCE_VALUE
Forwarding state: arriving at a Compute Engine instance.
|
static int |
ARRIVE_AT_INTERNAL_LOAD_BALANCER_VALUE
Forwarding state: arriving at a Compute Engine internal load balancer.
|
static int |
ARRIVE_AT_VPC_CONNECTOR_VALUE
Forwarding state: arriving at a VPC connector.
|
static int |
ARRIVE_AT_VPN_GATEWAY_VALUE
Forwarding state: arriving at a Cloud VPN gateway.
|
static int |
ARRIVE_AT_VPN_TUNNEL_VALUE
Forwarding state: arriving at a Cloud VPN tunnel.
|
static int |
DELIVER_VALUE
Final state: packet could be delivered.
|
static int |
DROP_VALUE
Final state: packet could be dropped.
|
static int |
FORWARD_VALUE
Final state: packet could be forwarded to a network with an unknown
configuration.
|
static int |
NAT_VALUE
Transition state: packet header translated.
|
static int |
PROXY_CONNECTION_VALUE
Transition state: original connection is terminated and a new proxied
connection is initiated.
|
static int |
SPOOFING_APPROVED_VALUE
Config checking state: packet sent or received under foreign IP
address and allowed.
|
static int |
START_FROM_CLOUD_FUNCTION_VALUE
Initial state: packet originating from a Cloud function.
|
static int |
START_FROM_CLOUD_SQL_INSTANCE_VALUE
Initial state: packet originating from a Cloud SQL instance.
|
static int |
START_FROM_GKE_MASTER_VALUE
Initial state: packet originating from a Google Kubernetes Engine cluster
master.
|
static int |
START_FROM_INSTANCE_VALUE
Initial state: packet originating from a Compute Engine instance.
|
static int |
START_FROM_INTERNET_VALUE
Initial state: packet originating from the internet.
|
static int |
START_FROM_PRIVATE_NETWORK_VALUE
Initial state: packet originating from a VPC or on-premises network
with internal source IP.
|
static int |
STATE_UNSPECIFIED_VALUE
Unspecified state.
|
static int |
VIEWER_PERMISSION_MISSING_VALUE
Special state: viewer of the test result does not have permission to
see the configuration in this step.
|
| Modifier and Type | Method and Description |
|---|---|
static Step.State |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Step.State> |
internalGetValueMap() |
static Step.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Step.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Step.State |
valueOf(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.
|
public static final Step.State STATE_UNSPECIFIED
Unspecified state.
STATE_UNSPECIFIED = 0;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;public static final Step.State START_FROM_INTERNET
Initial state: packet originating from the internet. The endpoint information is populated.
START_FROM_INTERNET = 2;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;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;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;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;public static final Step.State APPLY_INGRESS_FIREWALL_RULE
Config checking state: verify ingress firewall rule.
APPLY_INGRESS_FIREWALL_RULE = 4;public static final Step.State APPLY_EGRESS_FIREWALL_RULE
Config checking state: verify egress firewall rule.
APPLY_EGRESS_FIREWALL_RULE = 5;public static final Step.State APPLY_ROUTE
Config checking state: verify route.
APPLY_ROUTE = 6;public static final Step.State APPLY_FORWARDING_RULE
Config checking state: match forwarding rule.
APPLY_FORWARDING_RULE = 7;public static final Step.State SPOOFING_APPROVED
Config checking state: packet sent or received under foreign IP address and allowed.
SPOOFING_APPROVED = 8;public static final Step.State ARRIVE_AT_INSTANCE
Forwarding state: arriving at a Compute Engine instance.
ARRIVE_AT_INSTANCE = 9;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;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;public static final Step.State ARRIVE_AT_VPN_GATEWAY
Forwarding state: arriving at a Cloud VPN gateway.
ARRIVE_AT_VPN_GATEWAY = 12;public static final Step.State ARRIVE_AT_VPN_TUNNEL
Forwarding state: arriving at a Cloud VPN tunnel.
ARRIVE_AT_VPN_TUNNEL = 13;public static final Step.State ARRIVE_AT_VPC_CONNECTOR
Forwarding state: arriving at a VPC connector.
ARRIVE_AT_VPC_CONNECTOR = 24;public static final Step.State NAT
Transition state: packet header translated.
NAT = 14;public static final Step.State PROXY_CONNECTION
Transition state: original connection is terminated and a new proxied connection is initiated.
PROXY_CONNECTION = 15;public static final Step.State DELIVER
Final state: packet could be delivered.
DELIVER = 16;public static final Step.State DROP
Final state: packet could be dropped.
DROP = 17;public static final Step.State FORWARD
Final state: packet could be forwarded to a network with an unknown configuration.
FORWARD = 18;public static final Step.State ABORT
Final state: analysis is aborted.
ABORT = 19;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;public static final Step.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Unspecified state.
STATE_UNSPECIFIED = 0;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;public static final int START_FROM_INTERNET_VALUE
Initial state: packet originating from the internet. The endpoint information is populated.
START_FROM_INTERNET = 2;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;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;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;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;public static final int APPLY_INGRESS_FIREWALL_RULE_VALUE
Config checking state: verify ingress firewall rule.
APPLY_INGRESS_FIREWALL_RULE = 4;public static final int APPLY_EGRESS_FIREWALL_RULE_VALUE
Config checking state: verify egress firewall rule.
APPLY_EGRESS_FIREWALL_RULE = 5;public static final int APPLY_ROUTE_VALUE
Config checking state: verify route.
APPLY_ROUTE = 6;public static final int APPLY_FORWARDING_RULE_VALUE
Config checking state: match forwarding rule.
APPLY_FORWARDING_RULE = 7;public static final int SPOOFING_APPROVED_VALUE
Config checking state: packet sent or received under foreign IP address and allowed.
SPOOFING_APPROVED = 8;public static final int ARRIVE_AT_INSTANCE_VALUE
Forwarding state: arriving at a Compute Engine instance.
ARRIVE_AT_INSTANCE = 9;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;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;public static final int ARRIVE_AT_VPN_GATEWAY_VALUE
Forwarding state: arriving at a Cloud VPN gateway.
ARRIVE_AT_VPN_GATEWAY = 12;public static final int ARRIVE_AT_VPN_TUNNEL_VALUE
Forwarding state: arriving at a Cloud VPN tunnel.
ARRIVE_AT_VPN_TUNNEL = 13;public static final int ARRIVE_AT_VPC_CONNECTOR_VALUE
Forwarding state: arriving at a VPC connector.
ARRIVE_AT_VPC_CONNECTOR = 24;public static final int NAT_VALUE
Transition state: packet header translated.
NAT = 14;public static final int PROXY_CONNECTION_VALUE
Transition state: original connection is terminated and a new proxied connection is initiated.
PROXY_CONNECTION = 15;public static final int DELIVER_VALUE
Final state: packet could be delivered.
DELIVER = 16;public static final int DROP_VALUE
Final state: packet could be dropped.
DROP = 17;public static final int FORWARD_VALUE
Final state: packet could be forwarded to a network with an unknown configuration.
FORWARD = 18;public static final int ABORT_VALUE
Final state: analysis is aborted.
ABORT = 19;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;public static Step.State[] values()
for (Step.State c : Step.State.values()) System.out.println(c);
public static Step.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Step.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Step.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Step.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Step.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.