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 enumgoogle.cloud.networkmanagement.v1beta1.ReachabilityDetails.Result
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMBIGUOUS
The source and destination endpoints do not uniquely identify the test location in the network, and the reachability result contains multiple traces.REACHABLE
Possible scenarios are: * The configuration analysis determined that a packet originating from the source is expected to reach the destination.RESULT_UNSPECIFIED
No result was specified.UNDETERMINED
The configuration analysis did not complete.UNREACHABLE
A packet originating from the source is expected to be dropped before reaching the destination.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
AMBIGUOUS_VALUE
The source and destination endpoints do not uniquely identify the test location in the network, and the reachability result contains multiple traces.static int
REACHABLE_VALUE
Possible scenarios are: * The configuration analysis determined that a packet originating from the source is expected to reach the destination.static int
RESULT_UNSPECIFIED_VALUE
No result was specified.static int
UNDETERMINED_VALUE
The configuration analysis did not complete.static int
UNREACHABLE_VALUE
A packet originating from the source is expected to be dropped before reaching the destination.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ReachabilityDetails.Result
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<ReachabilityDetails.Result>
internalGetValueMap()
static ReachabilityDetails.Result
valueOf(int value)
Deprecated.static ReachabilityDetails.Result
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ReachabilityDetails.Result
valueOf(String name)
Returns 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 Detail
-
RESULT_UNSPECIFIED
public static final ReachabilityDetails.Result RESULT_UNSPECIFIED
No result was specified.
RESULT_UNSPECIFIED = 0;
-
REACHABLE
public static final ReachabilityDetails.Result 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
public static final ReachabilityDetails.Result UNREACHABLE
A packet originating from the source is expected to be dropped before reaching the destination.
UNREACHABLE = 2;
-
AMBIGUOUS
public static final ReachabilityDetails.Result 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.
AMBIGUOUS = 4;
-
UNDETERMINED
public static final ReachabilityDetails.Result 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
public static final ReachabilityDetails.Result UNRECOGNIZED
-
-
Field Detail
-
RESULT_UNSPECIFIED_VALUE
public static final int RESULT_UNSPECIFIED_VALUE
No result was specified.
RESULT_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
REACHABLE_VALUE
public static final int REACHABLE_VALUE
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;
- See Also:
- Constant Field Values
-
UNREACHABLE_VALUE
public static final int UNREACHABLE_VALUE
A packet originating from the source is expected to be dropped before reaching the destination.
UNREACHABLE = 2;
- See Also:
- Constant Field Values
-
AMBIGUOUS_VALUE
public static final int AMBIGUOUS_VALUE
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.
AMBIGUOUS = 4;
- See Also:
- Constant Field Values
-
UNDETERMINED_VALUE
public static final int UNDETERMINED_VALUE
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;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ReachabilityDetails.Result[] 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 (ReachabilityDetails.Result c : ReachabilityDetails.Result.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReachabilityDetails.Result 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ReachabilityDetails.Result 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 ReachabilityDetails.Result 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<ReachabilityDetails.Result> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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
-
-