Enum ReachabilityDetails.Result
java.lang.Object
java.lang.Enum<ReachabilityDetails.Result>
com.google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ReachabilityDetails.Result>
- Enclosing class:
- ReachabilityDetails
public static enum ReachabilityDetails.Result
extends Enum<ReachabilityDetails.Result>
implements com.google.protobuf.ProtocolMessageEnum
The overall result of the test's configuration analysis.Protobuf enum
google.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe source and destination endpoints do not uniquely identify the test location in the network, and the reachability result contains multiple traces.Possible scenarios are: * The configuration analysis determined that a packet originating from the source is expected to reach the destinationNo result was specified.The configuration analysis did not complete.A packet originating from the source is expected to be dropped before reaching the destination. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe source and destination endpoints do not uniquely identify the test location in the network, and the reachability result contains multiple traces.static final intPossible scenarios are: * The configuration analysis determined that a packet originating from the source is expected to reach the destinationstatic final intNo result was specified.static final intThe configuration analysis did not complete.static final intA packet originating from the source is expected to be dropped before reaching the destination. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReachabilityDetails.ResultforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ReachabilityDetails.Result>static ReachabilityDetails.ResultvalueOf(int value) Deprecated.static ReachabilityDetails.ResultvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ReachabilityDetails.ResultReturns the enum constant of this type with the specified name.static ReachabilityDetails.Result[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RESULT_UNSPECIFIED
No result was specified.
RESULT_UNSPECIFIED = 0; -
REACHABLE
Possible scenarios are: * The configuration analysis determined that a packet originating from the source is expected to reach the destination. * The analysis didn't complete because the user lacks permission for some of the resources in the trace. However, at the time the user's permission became insufficient, the trace had been successful so far.
REACHABLE = 1; -
UNREACHABLE
A packet originating from the source is expected to be dropped before reaching the destination.
UNREACHABLE = 2; -
AMBIGUOUS
The source and destination endpoints do not uniquely identify the test location in the network, and the reachability result contains multiple traces. For some traces, a packet could be delivered, and for others, it would not be. This result is also assigned to configuration analysis of return path if on its own it should be REACHABLE, but configuration analysis of forward path is AMBIGUOUS.
AMBIGUOUS = 4; -
UNDETERMINED
The configuration analysis did not complete. Possible reasons are: * A permissions error occurred--for example, the user might not have read permission for all of the resources named in the test. * An internal error occurred. * The analyzer received an invalid or unsupported argument or was unable to identify a known endpoint.
UNDETERMINED = 5; -
UNRECOGNIZED
-
-
Field Details
-
RESULT_UNSPECIFIED_VALUE
public static final int RESULT_UNSPECIFIED_VALUENo result was specified.
RESULT_UNSPECIFIED = 0;- See Also:
-
REACHABLE_VALUE
public static final int REACHABLE_VALUEPossible scenarios are: * The configuration analysis determined that a packet originating from the source is expected to reach the destination. * The analysis didn't complete because the user lacks permission for some of the resources in the trace. However, at the time the user's permission became insufficient, the trace had been successful so far.
REACHABLE = 1;- See Also:
-
UNREACHABLE_VALUE
public static final int UNREACHABLE_VALUEA packet originating from the source is expected to be dropped before reaching the destination.
UNREACHABLE = 2;- See Also:
-
AMBIGUOUS_VALUE
public static final int AMBIGUOUS_VALUEThe source and destination endpoints do not uniquely identify the test location in the network, and the reachability result contains multiple traces. For some traces, a packet could be delivered, and for others, it would not be. This result is also assigned to configuration analysis of return path if on its own it should be REACHABLE, but configuration analysis of forward path is AMBIGUOUS.
AMBIGUOUS = 4;- See Also:
-
UNDETERMINED_VALUE
public static final int UNDETERMINED_VALUEThe configuration analysis did not complete. Possible reasons are: * A permissions error occurred--for example, the user might not have read permission for all of the resources named in the test. * An internal error occurred. * The analyzer received an invalid or unsupported argument or was unable to identify a known endpoint.
UNDETERMINED = 5;- 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<ReachabilityDetails.Result> 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 ReachabilityDetails.Result 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
-