Enum AbortInfo.Cause
- java.lang.Object
-
- java.lang.Enum<AbortInfo.Cause>
-
- com.google.cloud.networkmanagement.v1.AbortInfo.Cause
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AbortInfo.Cause>
- Enclosing class:
- AbortInfo
public static enum AbortInfo.Cause extends Enum<AbortInfo.Cause> implements com.google.protobuf.ProtocolMessageEnum
Abort cause types:
Protobuf enumgoogle.cloud.networkmanagement.v1.AbortInfo.Cause
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAUSE_UNSPECIFIEDCause is unspecified.DESTINATION_ENDPOINT_NOT_FOUNDAborted because the destination endpoint could not be found.GKE_KONNECTIVITY_PROXY_UNSUPPORTEDAborted because the connection between the control plane and the node of the source cluster is initiated by the node and managed by the Konnectivity proxy.GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINTAborted because a PSC endpoint selection for the Google-managed service is ambiguous (several PSC endpoints satisfy test input).INTERNAL_ERRORAborted due to internal server error.INVALID_ARGUMENTAborted because the source and/or destination endpoint specified in the test are invalid.MISMATCHED_DESTINATION_NETWORKAborted because the destination network does not match the destination endpoint.MISMATCHED_IP_VERSIONAborted because the source and destination resources have no common IP version.MISMATCHED_SOURCE_NETWORKAborted because the source network does not match the source endpoint.NO_EXTERNAL_IPAborted because traffic is sent from a public IP to an instance without an external IP.NO_SOURCE_LOCATIONAborted because no valid source endpoint is derived from the input test request.PERMISSION_DENIEDAborted because the user lacks the permission to access all or part of the network configurations required to run the test.RESOURCE_CONFIG_NOT_FOUNDAborted because expected resource configuration was missing.SOURCE_ENDPOINT_NOT_FOUNDAborted because the source endpoint could not be found.SOURCE_FORWARDING_RULE_UNSUPPORTEDAborted because tests with a forwarding rule as a source are not supported.SOURCE_PSC_CLOUD_SQL_UNSUPPORTEDAborted because tests with a PSC-based Cloud SQL instance as a source are not supported.TRACE_TOO_LONGAborted because the number of steps in the trace exceeding a certain limit which may be caused by routing loop.UNINTENDED_DESTINATIONAborted because none of the traces matches destination information specified in the input test request.UNKNOWN_IPAborted because the IP address(es) are unknown.UNKNOWN_NETWORKAborted due to unknown network.UNKNOWN_PROJECTAborted because no project information can be derived from the test input.UNRECOGNIZEDUNSUPPORTEDAborted because the test scenario is not supported.
-
Field Summary
Fields Modifier and Type Field Description static intCAUSE_UNSPECIFIED_VALUECause is unspecified.static intDESTINATION_ENDPOINT_NOT_FOUND_VALUEAborted because the destination endpoint could not be found.static intGKE_KONNECTIVITY_PROXY_UNSUPPORTED_VALUEAborted because the connection between the control plane and the node of the source cluster is initiated by the node and managed by the Konnectivity proxy.static intGOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT_VALUEAborted because a PSC endpoint selection for the Google-managed service is ambiguous (several PSC endpoints satisfy test input).static intINTERNAL_ERROR_VALUEAborted due to internal server error.static intINVALID_ARGUMENT_VALUEAborted because the source and/or destination endpoint specified in the test are invalid.static intMISMATCHED_DESTINATION_NETWORK_VALUEAborted because the destination network does not match the destination endpoint.static intMISMATCHED_IP_VERSION_VALUEAborted because the source and destination resources have no common IP version.static intMISMATCHED_SOURCE_NETWORK_VALUEAborted because the source network does not match the source endpoint.static intNO_EXTERNAL_IP_VALUEAborted because traffic is sent from a public IP to an instance without an external IP.static intNO_SOURCE_LOCATION_VALUEAborted because no valid source endpoint is derived from the input test request.static intPERMISSION_DENIED_VALUEAborted because the user lacks the permission to access all or part of the network configurations required to run the test.static intRESOURCE_CONFIG_NOT_FOUND_VALUEAborted because expected resource configuration was missing.static intSOURCE_ENDPOINT_NOT_FOUND_VALUEAborted because the source endpoint could not be found.static intSOURCE_FORWARDING_RULE_UNSUPPORTED_VALUEAborted because tests with a forwarding rule as a source are not supported.static intSOURCE_PSC_CLOUD_SQL_UNSUPPORTED_VALUEAborted because tests with a PSC-based Cloud SQL instance as a source are not supported.static intTRACE_TOO_LONG_VALUEAborted because the number of steps in the trace exceeding a certain limit which may be caused by routing loop.static intUNINTENDED_DESTINATION_VALUEAborted because none of the traces matches destination information specified in the input test request.static intUNKNOWN_IP_VALUEAborted because the IP address(es) are unknown.static intUNKNOWN_NETWORK_VALUEAborted due to unknown network.static intUNKNOWN_PROJECT_VALUEAborted because no project information can be derived from the test input.static intUNSUPPORTED_VALUEAborted because the test scenario is not supported.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AbortInfo.CauseforNumber(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<AbortInfo.Cause>internalGetValueMap()static AbortInfo.CausevalueOf(int value)Deprecated.static AbortInfo.CausevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AbortInfo.CausevalueOf(String name)Returns the enum constant of this type with the specified name.static AbortInfo.Cause[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CAUSE_UNSPECIFIED
public static final AbortInfo.Cause CAUSE_UNSPECIFIED
Cause is unspecified.
CAUSE_UNSPECIFIED = 0;
-
UNKNOWN_NETWORK
public static final AbortInfo.Cause UNKNOWN_NETWORK
Aborted due to unknown network. The reachability analysis cannot proceed because the user does not have access to the host project's network configurations, including firewall rules and routes. This happens when the project is a service project and the endpoints being traced are in the host project's network.
UNKNOWN_NETWORK = 1;
-
UNKNOWN_IP
public static final AbortInfo.Cause UNKNOWN_IP
Aborted because the IP address(es) are unknown.
UNKNOWN_IP = 2;
-
UNKNOWN_PROJECT
public static final AbortInfo.Cause UNKNOWN_PROJECT
Aborted because no project information can be derived from the test input.
UNKNOWN_PROJECT = 3;
-
PERMISSION_DENIED
public static final AbortInfo.Cause PERMISSION_DENIED
Aborted because the user lacks the permission to access all or part of the network configurations required to run the test.
PERMISSION_DENIED = 4;
-
NO_SOURCE_LOCATION
public static final AbortInfo.Cause NO_SOURCE_LOCATION
Aborted because no valid source endpoint is derived from the input test request.
NO_SOURCE_LOCATION = 5;
-
INVALID_ARGUMENT
public static final AbortInfo.Cause INVALID_ARGUMENT
Aborted because the source and/or destination endpoint specified in the test are invalid. The possible reasons that an endpoint is invalid include: malformed IP address; nonexistent instance or network URI; IP address not in the range of specified network URI; and instance not owning the network interface in the specified network.
INVALID_ARGUMENT = 6;
-
NO_EXTERNAL_IP
public static final AbortInfo.Cause NO_EXTERNAL_IP
Aborted because traffic is sent from a public IP to an instance without an external IP.
NO_EXTERNAL_IP = 7;
-
UNINTENDED_DESTINATION
public static final AbortInfo.Cause UNINTENDED_DESTINATION
Aborted because none of the traces matches destination information specified in the input test request.
UNINTENDED_DESTINATION = 8;
-
TRACE_TOO_LONG
public static final AbortInfo.Cause TRACE_TOO_LONG
Aborted because the number of steps in the trace exceeding a certain limit which may be caused by routing loop.
TRACE_TOO_LONG = 9;
-
INTERNAL_ERROR
public static final AbortInfo.Cause INTERNAL_ERROR
Aborted due to internal server error.
INTERNAL_ERROR = 10;
-
SOURCE_ENDPOINT_NOT_FOUND
public static final AbortInfo.Cause SOURCE_ENDPOINT_NOT_FOUND
Aborted because the source endpoint could not be found.
SOURCE_ENDPOINT_NOT_FOUND = 11;
-
MISMATCHED_SOURCE_NETWORK
public static final AbortInfo.Cause MISMATCHED_SOURCE_NETWORK
Aborted because the source network does not match the source endpoint.
MISMATCHED_SOURCE_NETWORK = 12;
-
DESTINATION_ENDPOINT_NOT_FOUND
public static final AbortInfo.Cause DESTINATION_ENDPOINT_NOT_FOUND
Aborted because the destination endpoint could not be found.
DESTINATION_ENDPOINT_NOT_FOUND = 13;
-
MISMATCHED_DESTINATION_NETWORK
public static final AbortInfo.Cause MISMATCHED_DESTINATION_NETWORK
Aborted because the destination network does not match the destination endpoint.
MISMATCHED_DESTINATION_NETWORK = 14;
-
UNSUPPORTED
public static final AbortInfo.Cause UNSUPPORTED
Aborted because the test scenario is not supported.
UNSUPPORTED = 15;
-
MISMATCHED_IP_VERSION
public static final AbortInfo.Cause MISMATCHED_IP_VERSION
Aborted because the source and destination resources have no common IP version.
MISMATCHED_IP_VERSION = 16;
-
GKE_KONNECTIVITY_PROXY_UNSUPPORTED
public static final AbortInfo.Cause GKE_KONNECTIVITY_PROXY_UNSUPPORTED
Aborted because the connection between the control plane and the node of the source cluster is initiated by the node and managed by the Konnectivity proxy.
GKE_KONNECTIVITY_PROXY_UNSUPPORTED = 17;
-
RESOURCE_CONFIG_NOT_FOUND
public static final AbortInfo.Cause RESOURCE_CONFIG_NOT_FOUND
Aborted because expected resource configuration was missing.
RESOURCE_CONFIG_NOT_FOUND = 18;
-
GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT
public static final AbortInfo.Cause GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT
Aborted because a PSC endpoint selection for the Google-managed service is ambiguous (several PSC endpoints satisfy test input).
GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT = 19;
-
SOURCE_PSC_CLOUD_SQL_UNSUPPORTED
public static final AbortInfo.Cause SOURCE_PSC_CLOUD_SQL_UNSUPPORTED
Aborted because tests with a PSC-based Cloud SQL instance as a source are not supported.
SOURCE_PSC_CLOUD_SQL_UNSUPPORTED = 20;
-
SOURCE_FORWARDING_RULE_UNSUPPORTED
public static final AbortInfo.Cause SOURCE_FORWARDING_RULE_UNSUPPORTED
Aborted because tests with a forwarding rule as a source are not supported.
SOURCE_FORWARDING_RULE_UNSUPPORTED = 21;
-
UNRECOGNIZED
public static final AbortInfo.Cause UNRECOGNIZED
-
-
Field Detail
-
CAUSE_UNSPECIFIED_VALUE
public static final int CAUSE_UNSPECIFIED_VALUE
Cause is unspecified.
CAUSE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_NETWORK_VALUE
public static final int UNKNOWN_NETWORK_VALUE
Aborted due to unknown network. The reachability analysis cannot proceed because the user does not have access to the host project's network configurations, including firewall rules and routes. This happens when the project is a service project and the endpoints being traced are in the host project's network.
UNKNOWN_NETWORK = 1;- See Also:
- Constant Field Values
-
UNKNOWN_IP_VALUE
public static final int UNKNOWN_IP_VALUE
Aborted because the IP address(es) are unknown.
UNKNOWN_IP = 2;- See Also:
- Constant Field Values
-
UNKNOWN_PROJECT_VALUE
public static final int UNKNOWN_PROJECT_VALUE
Aborted because no project information can be derived from the test input.
UNKNOWN_PROJECT = 3;- See Also:
- Constant Field Values
-
PERMISSION_DENIED_VALUE
public static final int PERMISSION_DENIED_VALUE
Aborted because the user lacks the permission to access all or part of the network configurations required to run the test.
PERMISSION_DENIED = 4;- See Also:
- Constant Field Values
-
NO_SOURCE_LOCATION_VALUE
public static final int NO_SOURCE_LOCATION_VALUE
Aborted because no valid source endpoint is derived from the input test request.
NO_SOURCE_LOCATION = 5;- See Also:
- Constant Field Values
-
INVALID_ARGUMENT_VALUE
public static final int INVALID_ARGUMENT_VALUE
Aborted because the source and/or destination endpoint specified in the test are invalid. The possible reasons that an endpoint is invalid include: malformed IP address; nonexistent instance or network URI; IP address not in the range of specified network URI; and instance not owning the network interface in the specified network.
INVALID_ARGUMENT = 6;- See Also:
- Constant Field Values
-
NO_EXTERNAL_IP_VALUE
public static final int NO_EXTERNAL_IP_VALUE
Aborted because traffic is sent from a public IP to an instance without an external IP.
NO_EXTERNAL_IP = 7;- See Also:
- Constant Field Values
-
UNINTENDED_DESTINATION_VALUE
public static final int UNINTENDED_DESTINATION_VALUE
Aborted because none of the traces matches destination information specified in the input test request.
UNINTENDED_DESTINATION = 8;- See Also:
- Constant Field Values
-
TRACE_TOO_LONG_VALUE
public static final int TRACE_TOO_LONG_VALUE
Aborted because the number of steps in the trace exceeding a certain limit which may be caused by routing loop.
TRACE_TOO_LONG = 9;- See Also:
- Constant Field Values
-
INTERNAL_ERROR_VALUE
public static final int INTERNAL_ERROR_VALUE
Aborted due to internal server error.
INTERNAL_ERROR = 10;- See Also:
- Constant Field Values
-
SOURCE_ENDPOINT_NOT_FOUND_VALUE
public static final int SOURCE_ENDPOINT_NOT_FOUND_VALUE
Aborted because the source endpoint could not be found.
SOURCE_ENDPOINT_NOT_FOUND = 11;- See Also:
- Constant Field Values
-
MISMATCHED_SOURCE_NETWORK_VALUE
public static final int MISMATCHED_SOURCE_NETWORK_VALUE
Aborted because the source network does not match the source endpoint.
MISMATCHED_SOURCE_NETWORK = 12;- See Also:
- Constant Field Values
-
DESTINATION_ENDPOINT_NOT_FOUND_VALUE
public static final int DESTINATION_ENDPOINT_NOT_FOUND_VALUE
Aborted because the destination endpoint could not be found.
DESTINATION_ENDPOINT_NOT_FOUND = 13;- See Also:
- Constant Field Values
-
MISMATCHED_DESTINATION_NETWORK_VALUE
public static final int MISMATCHED_DESTINATION_NETWORK_VALUE
Aborted because the destination network does not match the destination endpoint.
MISMATCHED_DESTINATION_NETWORK = 14;- See Also:
- Constant Field Values
-
UNSUPPORTED_VALUE
public static final int UNSUPPORTED_VALUE
Aborted because the test scenario is not supported.
UNSUPPORTED = 15;- See Also:
- Constant Field Values
-
MISMATCHED_IP_VERSION_VALUE
public static final int MISMATCHED_IP_VERSION_VALUE
Aborted because the source and destination resources have no common IP version.
MISMATCHED_IP_VERSION = 16;- See Also:
- Constant Field Values
-
GKE_KONNECTIVITY_PROXY_UNSUPPORTED_VALUE
public static final int GKE_KONNECTIVITY_PROXY_UNSUPPORTED_VALUE
Aborted because the connection between the control plane and the node of the source cluster is initiated by the node and managed by the Konnectivity proxy.
GKE_KONNECTIVITY_PROXY_UNSUPPORTED = 17;- See Also:
- Constant Field Values
-
RESOURCE_CONFIG_NOT_FOUND_VALUE
public static final int RESOURCE_CONFIG_NOT_FOUND_VALUE
Aborted because expected resource configuration was missing.
RESOURCE_CONFIG_NOT_FOUND = 18;- See Also:
- Constant Field Values
-
GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT_VALUE
public static final int GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT_VALUE
Aborted because a PSC endpoint selection for the Google-managed service is ambiguous (several PSC endpoints satisfy test input).
GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT = 19;- See Also:
- Constant Field Values
-
SOURCE_PSC_CLOUD_SQL_UNSUPPORTED_VALUE
public static final int SOURCE_PSC_CLOUD_SQL_UNSUPPORTED_VALUE
Aborted because tests with a PSC-based Cloud SQL instance as a source are not supported.
SOURCE_PSC_CLOUD_SQL_UNSUPPORTED = 20;- See Also:
- Constant Field Values
-
SOURCE_FORWARDING_RULE_UNSUPPORTED_VALUE
public static final int SOURCE_FORWARDING_RULE_UNSUPPORTED_VALUE
Aborted because tests with a forwarding rule as a source are not supported.
SOURCE_FORWARDING_RULE_UNSUPPORTED = 21;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AbortInfo.Cause[] 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 (AbortInfo.Cause c : AbortInfo.Cause.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbortInfo.Cause 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 AbortInfo.Cause 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 AbortInfo.Cause 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<AbortInfo.Cause> 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 AbortInfo.Cause 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
-
-