public static enum DropInfo.Cause extends Enum<DropInfo.Cause> implements com.google.protobuf.ProtocolMessageEnum
Drop cause types:Protobuf enum
google.cloud.networkmanagement.v1beta1.DropInfo.Cause| Enum Constant and Description |
|---|
CAUSE_UNSPECIFIED
Cause is unspecified.
|
CLOUD_FUNCTION_NOT_ACTIVE
Packet could be dropped because the Cloud function is not in an active
status.
|
CLOUD_SQL_INSTANCE_NO_IP_ADDRESS
Packet was dropped because the Cloud SQL instance has neither a private
nor a public IP address.
|
CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS
Access to the Cloud SQL instance endpoint is not authorized.
|
DROPPED_INSIDE_CLOUD_SQL_SERVICE
Packet was dropped inside Cloud SQL Service.
|
DROPPED_INSIDE_GKE_SERVICE
Packet was dropped inside Google Kubernetes Engine Service.
|
FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK
Firewalls block the health check probes to the backends and cause
the backends to be unavailable for traffic from the load balancer.
|
FIREWALL_RULE
Dropped due to a firewall rule, unless allowed due to connection
tracking.
|
FOREIGN_IP_DISALLOWED
A Compute Engine instance can only send or receive a packet with a
foreign IP address if ip_forward is enabled.
|
FORWARDING_RULE_MISMATCH
Forwarding rule's protocol and ports do not match the packet header.
|
FORWARDING_RULE_NO_INSTANCES
Forwarding rule does not have backends configured.
|
FORWARDING_RULE_REGION_MISMATCH
Packet could be dropped because it was sent from a different region
to a regional forwarding without global access.
|
GKE_MASTER_UNAUTHORIZED_ACCESS
Access to Google Kubernetes Engine cluster master's endpoint is not
authorized.
|
GOOGLE_MANAGED_SERVICE_NO_PEERING
Packet was dropped because there is no peering between the originating
network and the Google Managed Services Network.
|
INSTANCE_NOT_RUNNING
Packet is sent from or to a Compute Engine instance that is not in a
running state.
|
NO_EXTERNAL_ADDRESS
Instance with only an internal IP address tries to access external hosts,
but Cloud NAT is not enabled in the subnet, unless special configurations
on a VM allow this connection.
|
NO_ROUTE
Dropped due to no routes.
|
PRIVATE_GOOGLE_ACCESS_DISALLOWED
Instance with only an internal IP address tries to access Google API and
services, but private Google access is not enabled.
|
PRIVATE_TRAFFIC_TO_INTERNET
Packet with internal destination address sent to the internet gateway.
|
PSC_CONNECTION_NOT_ACCEPTED
Privte Service Connect (PSC) connection is not in accepted state.
|
ROUTE_BLACKHOLE
Dropped due to invalid route.
|
ROUTE_WRONG_NETWORK
Packet is sent to a wrong (unintended) network.
|
TRAFFIC_TYPE_BLOCKED
The type of traffic is blocked and the user cannot configure a firewall
rule to enable it.
|
UNKNOWN_EXTERNAL_ADDRESS
Destination external address cannot be resolved to a known target.
|
UNKNOWN_INTERNAL_ADDRESS
Destination internal address cannot be resolved to a known target.
|
UNRECOGNIZED |
VPC_CONNECTOR_NOT_RUNNING
Packet could be dropped because the VPC connector is not in a running
state.
|
VPC_CONNECTOR_NOT_SET
Packet could be dropped because no VPC connector is set.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CAUSE_UNSPECIFIED_VALUE
Cause is unspecified.
|
static int |
CLOUD_FUNCTION_NOT_ACTIVE_VALUE
Packet could be dropped because the Cloud function is not in an active
status.
|
static int |
CLOUD_SQL_INSTANCE_NO_IP_ADDRESS_VALUE
Packet was dropped because the Cloud SQL instance has neither a private
nor a public IP address.
|
static int |
CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS_VALUE
Access to the Cloud SQL instance endpoint is not authorized.
|
static int |
DROPPED_INSIDE_CLOUD_SQL_SERVICE_VALUE
Packet was dropped inside Cloud SQL Service.
|
static int |
DROPPED_INSIDE_GKE_SERVICE_VALUE
Packet was dropped inside Google Kubernetes Engine Service.
|
static int |
FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK_VALUE
Firewalls block the health check probes to the backends and cause
the backends to be unavailable for traffic from the load balancer.
|
static int |
FIREWALL_RULE_VALUE
Dropped due to a firewall rule, unless allowed due to connection
tracking.
|
static int |
FOREIGN_IP_DISALLOWED_VALUE
A Compute Engine instance can only send or receive a packet with a
foreign IP address if ip_forward is enabled.
|
static int |
FORWARDING_RULE_MISMATCH_VALUE
Forwarding rule's protocol and ports do not match the packet header.
|
static int |
FORWARDING_RULE_NO_INSTANCES_VALUE
Forwarding rule does not have backends configured.
|
static int |
FORWARDING_RULE_REGION_MISMATCH_VALUE
Packet could be dropped because it was sent from a different region
to a regional forwarding without global access.
|
static int |
GKE_MASTER_UNAUTHORIZED_ACCESS_VALUE
Access to Google Kubernetes Engine cluster master's endpoint is not
authorized.
|
static int |
GOOGLE_MANAGED_SERVICE_NO_PEERING_VALUE
Packet was dropped because there is no peering between the originating
network and the Google Managed Services Network.
|
static int |
INSTANCE_NOT_RUNNING_VALUE
Packet is sent from or to a Compute Engine instance that is not in a
running state.
|
static int |
NO_EXTERNAL_ADDRESS_VALUE
Instance with only an internal IP address tries to access external hosts,
but Cloud NAT is not enabled in the subnet, unless special configurations
on a VM allow this connection.
|
static int |
NO_ROUTE_VALUE
Dropped due to no routes.
|
static int |
PRIVATE_GOOGLE_ACCESS_DISALLOWED_VALUE
Instance with only an internal IP address tries to access Google API and
services, but private Google access is not enabled.
|
static int |
PRIVATE_TRAFFIC_TO_INTERNET_VALUE
Packet with internal destination address sent to the internet gateway.
|
static int |
PSC_CONNECTION_NOT_ACCEPTED_VALUE
Privte Service Connect (PSC) connection is not in accepted state.
|
static int |
ROUTE_BLACKHOLE_VALUE
Dropped due to invalid route.
|
static int |
ROUTE_WRONG_NETWORK_VALUE
Packet is sent to a wrong (unintended) network.
|
static int |
TRAFFIC_TYPE_BLOCKED_VALUE
The type of traffic is blocked and the user cannot configure a firewall
rule to enable it.
|
static int |
UNKNOWN_EXTERNAL_ADDRESS_VALUE
Destination external address cannot be resolved to a known target.
|
static int |
UNKNOWN_INTERNAL_ADDRESS_VALUE
Destination internal address cannot be resolved to a known target.
|
static int |
VPC_CONNECTOR_NOT_RUNNING_VALUE
Packet could be dropped because the VPC connector is not in a running
state.
|
static int |
VPC_CONNECTOR_NOT_SET_VALUE
Packet could be dropped because no VPC connector is set.
|
| Modifier and Type | Method and Description |
|---|---|
static DropInfo.Cause |
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<DropInfo.Cause> |
internalGetValueMap() |
static DropInfo.Cause |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DropInfo.Cause |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DropInfo.Cause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DropInfo.Cause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DropInfo.Cause CAUSE_UNSPECIFIED
Cause is unspecified.
CAUSE_UNSPECIFIED = 0;public static final DropInfo.Cause UNKNOWN_EXTERNAL_ADDRESS
Destination external address cannot be resolved to a known target. If the address is used in a Google Cloud project, provide the project ID as test input.
UNKNOWN_EXTERNAL_ADDRESS = 1;public static final DropInfo.Cause FOREIGN_IP_DISALLOWED
A Compute Engine instance can only send or receive a packet with a foreign IP address if ip_forward is enabled.
FOREIGN_IP_DISALLOWED = 2;public static final DropInfo.Cause FIREWALL_RULE
Dropped due to a firewall rule, unless allowed due to connection tracking.
FIREWALL_RULE = 3;public static final DropInfo.Cause NO_ROUTE
Dropped due to no routes.
NO_ROUTE = 4;public static final DropInfo.Cause ROUTE_BLACKHOLE
Dropped due to invalid route. Route's next hop is a blackhole.
ROUTE_BLACKHOLE = 5;public static final DropInfo.Cause ROUTE_WRONG_NETWORK
Packet is sent to a wrong (unintended) network. Example: you trace a packet from VM1:Network1 to VM2:Network2, however, the route configured in Network1 sends the packet destined for VM2's IP addresss to Network3.
ROUTE_WRONG_NETWORK = 6;public static final DropInfo.Cause PRIVATE_TRAFFIC_TO_INTERNET
Packet with internal destination address sent to the internet gateway.
PRIVATE_TRAFFIC_TO_INTERNET = 7;public static final DropInfo.Cause PRIVATE_GOOGLE_ACCESS_DISALLOWED
Instance with only an internal IP address tries to access Google API and services, but private Google access is not enabled.
PRIVATE_GOOGLE_ACCESS_DISALLOWED = 8;public static final DropInfo.Cause NO_EXTERNAL_ADDRESS
Instance with only an internal IP address tries to access external hosts, but Cloud NAT is not enabled in the subnet, unless special configurations on a VM allow this connection.
NO_EXTERNAL_ADDRESS = 9;public static final DropInfo.Cause UNKNOWN_INTERNAL_ADDRESS
Destination internal address cannot be resolved to a known target. If this is a shared VPC scenario, verify if the service project ID is provided as test input. Otherwise, verify if the IP address is being used in the project.
UNKNOWN_INTERNAL_ADDRESS = 10;public static final DropInfo.Cause FORWARDING_RULE_MISMATCH
Forwarding rule's protocol and ports do not match the packet header.
FORWARDING_RULE_MISMATCH = 11;public static final DropInfo.Cause FORWARDING_RULE_NO_INSTANCES
Forwarding rule does not have backends configured.
FORWARDING_RULE_NO_INSTANCES = 12;public static final DropInfo.Cause FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK
Firewalls block the health check probes to the backends and cause the backends to be unavailable for traffic from the load balancer. For more details, see [Health check firewall rules](https://cloud.google.com/load-balancing/docs/health-checks#firewall_rules).
FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK = 13;public static final DropInfo.Cause INSTANCE_NOT_RUNNING
Packet is sent from or to a Compute Engine instance that is not in a running state.
INSTANCE_NOT_RUNNING = 14;public static final DropInfo.Cause TRAFFIC_TYPE_BLOCKED
The type of traffic is blocked and the user cannot configure a firewall rule to enable it. See [Always blocked traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for more details.
TRAFFIC_TYPE_BLOCKED = 15;public static final DropInfo.Cause GKE_MASTER_UNAUTHORIZED_ACCESS
Access to Google Kubernetes Engine cluster master's endpoint is not authorized. See [Access to the cluster endpoints](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#access_to_the_cluster_endpoints) for more details.
GKE_MASTER_UNAUTHORIZED_ACCESS = 16;public static final DropInfo.Cause CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS
Access to the Cloud SQL instance endpoint is not authorized. See [Authorizing with authorized networks](https://cloud.google.com/sql/docs/mysql/authorize-networks) for more details.
CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS = 17;public static final DropInfo.Cause DROPPED_INSIDE_GKE_SERVICE
Packet was dropped inside Google Kubernetes Engine Service.
DROPPED_INSIDE_GKE_SERVICE = 18;public static final DropInfo.Cause DROPPED_INSIDE_CLOUD_SQL_SERVICE
Packet was dropped inside Cloud SQL Service.
DROPPED_INSIDE_CLOUD_SQL_SERVICE = 19;public static final DropInfo.Cause GOOGLE_MANAGED_SERVICE_NO_PEERING
Packet was dropped because there is no peering between the originating network and the Google Managed Services Network.
GOOGLE_MANAGED_SERVICE_NO_PEERING = 20;public static final DropInfo.Cause CLOUD_SQL_INSTANCE_NO_IP_ADDRESS
Packet was dropped because the Cloud SQL instance has neither a private nor a public IP address.
CLOUD_SQL_INSTANCE_NO_IP_ADDRESS = 21;public static final DropInfo.Cause CLOUD_FUNCTION_NOT_ACTIVE
Packet could be dropped because the Cloud function is not in an active status.
CLOUD_FUNCTION_NOT_ACTIVE = 22;public static final DropInfo.Cause VPC_CONNECTOR_NOT_SET
Packet could be dropped because no VPC connector is set.
VPC_CONNECTOR_NOT_SET = 23;public static final DropInfo.Cause VPC_CONNECTOR_NOT_RUNNING
Packet could be dropped because the VPC connector is not in a running state.
VPC_CONNECTOR_NOT_RUNNING = 24;public static final DropInfo.Cause FORWARDING_RULE_REGION_MISMATCH
Packet could be dropped because it was sent from a different region to a regional forwarding without global access.
FORWARDING_RULE_REGION_MISMATCH = 25;public static final DropInfo.Cause PSC_CONNECTION_NOT_ACCEPTED
Privte Service Connect (PSC) connection is not in accepted state.
PSC_CONNECTION_NOT_ACCEPTED = 26;public static final DropInfo.Cause UNRECOGNIZED
public static final int CAUSE_UNSPECIFIED_VALUE
Cause is unspecified.
CAUSE_UNSPECIFIED = 0;public static final int UNKNOWN_EXTERNAL_ADDRESS_VALUE
Destination external address cannot be resolved to a known target. If the address is used in a Google Cloud project, provide the project ID as test input.
UNKNOWN_EXTERNAL_ADDRESS = 1;public static final int FOREIGN_IP_DISALLOWED_VALUE
A Compute Engine instance can only send or receive a packet with a foreign IP address if ip_forward is enabled.
FOREIGN_IP_DISALLOWED = 2;public static final int FIREWALL_RULE_VALUE
Dropped due to a firewall rule, unless allowed due to connection tracking.
FIREWALL_RULE = 3;public static final int NO_ROUTE_VALUE
Dropped due to no routes.
NO_ROUTE = 4;public static final int ROUTE_BLACKHOLE_VALUE
Dropped due to invalid route. Route's next hop is a blackhole.
ROUTE_BLACKHOLE = 5;public static final int ROUTE_WRONG_NETWORK_VALUE
Packet is sent to a wrong (unintended) network. Example: you trace a packet from VM1:Network1 to VM2:Network2, however, the route configured in Network1 sends the packet destined for VM2's IP addresss to Network3.
ROUTE_WRONG_NETWORK = 6;public static final int PRIVATE_TRAFFIC_TO_INTERNET_VALUE
Packet with internal destination address sent to the internet gateway.
PRIVATE_TRAFFIC_TO_INTERNET = 7;public static final int PRIVATE_GOOGLE_ACCESS_DISALLOWED_VALUE
Instance with only an internal IP address tries to access Google API and services, but private Google access is not enabled.
PRIVATE_GOOGLE_ACCESS_DISALLOWED = 8;public static final int NO_EXTERNAL_ADDRESS_VALUE
Instance with only an internal IP address tries to access external hosts, but Cloud NAT is not enabled in the subnet, unless special configurations on a VM allow this connection.
NO_EXTERNAL_ADDRESS = 9;public static final int UNKNOWN_INTERNAL_ADDRESS_VALUE
Destination internal address cannot be resolved to a known target. If this is a shared VPC scenario, verify if the service project ID is provided as test input. Otherwise, verify if the IP address is being used in the project.
UNKNOWN_INTERNAL_ADDRESS = 10;public static final int FORWARDING_RULE_MISMATCH_VALUE
Forwarding rule's protocol and ports do not match the packet header.
FORWARDING_RULE_MISMATCH = 11;public static final int FORWARDING_RULE_NO_INSTANCES_VALUE
Forwarding rule does not have backends configured.
FORWARDING_RULE_NO_INSTANCES = 12;public static final int FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK_VALUE
Firewalls block the health check probes to the backends and cause the backends to be unavailable for traffic from the load balancer. For more details, see [Health check firewall rules](https://cloud.google.com/load-balancing/docs/health-checks#firewall_rules).
FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK = 13;public static final int INSTANCE_NOT_RUNNING_VALUE
Packet is sent from or to a Compute Engine instance that is not in a running state.
INSTANCE_NOT_RUNNING = 14;public static final int TRAFFIC_TYPE_BLOCKED_VALUE
The type of traffic is blocked and the user cannot configure a firewall rule to enable it. See [Always blocked traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for more details.
TRAFFIC_TYPE_BLOCKED = 15;public static final int GKE_MASTER_UNAUTHORIZED_ACCESS_VALUE
Access to Google Kubernetes Engine cluster master's endpoint is not authorized. See [Access to the cluster endpoints](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#access_to_the_cluster_endpoints) for more details.
GKE_MASTER_UNAUTHORIZED_ACCESS = 16;public static final int CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS_VALUE
Access to the Cloud SQL instance endpoint is not authorized. See [Authorizing with authorized networks](https://cloud.google.com/sql/docs/mysql/authorize-networks) for more details.
CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS = 17;public static final int DROPPED_INSIDE_GKE_SERVICE_VALUE
Packet was dropped inside Google Kubernetes Engine Service.
DROPPED_INSIDE_GKE_SERVICE = 18;public static final int DROPPED_INSIDE_CLOUD_SQL_SERVICE_VALUE
Packet was dropped inside Cloud SQL Service.
DROPPED_INSIDE_CLOUD_SQL_SERVICE = 19;public static final int GOOGLE_MANAGED_SERVICE_NO_PEERING_VALUE
Packet was dropped because there is no peering between the originating network and the Google Managed Services Network.
GOOGLE_MANAGED_SERVICE_NO_PEERING = 20;public static final int CLOUD_SQL_INSTANCE_NO_IP_ADDRESS_VALUE
Packet was dropped because the Cloud SQL instance has neither a private nor a public IP address.
CLOUD_SQL_INSTANCE_NO_IP_ADDRESS = 21;public static final int CLOUD_FUNCTION_NOT_ACTIVE_VALUE
Packet could be dropped because the Cloud function is not in an active status.
CLOUD_FUNCTION_NOT_ACTIVE = 22;public static final int VPC_CONNECTOR_NOT_SET_VALUE
Packet could be dropped because no VPC connector is set.
VPC_CONNECTOR_NOT_SET = 23;public static final int VPC_CONNECTOR_NOT_RUNNING_VALUE
Packet could be dropped because the VPC connector is not in a running state.
VPC_CONNECTOR_NOT_RUNNING = 24;public static final int FORWARDING_RULE_REGION_MISMATCH_VALUE
Packet could be dropped because it was sent from a different region to a regional forwarding without global access.
FORWARDING_RULE_REGION_MISMATCH = 25;public static final int PSC_CONNECTION_NOT_ACCEPTED_VALUE
Privte Service Connect (PSC) connection is not in accepted state.
PSC_CONNECTION_NOT_ACCEPTED = 26;public static DropInfo.Cause[] values()
for (DropInfo.Cause c : DropInfo.Cause.values()) System.out.println(c);
public static DropInfo.Cause 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 DropInfo.Cause valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DropInfo.Cause forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DropInfo.Cause> 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 DropInfo.Cause valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.