Enum ProbingDetails.ProbingResult
java.lang.Object
java.lang.Enum<ProbingDetails.ProbingResult>
com.google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ProbingDetails.ProbingResult>
- Enclosing class:
- ProbingDetails
public static enum ProbingDetails.ProbingResult
extends Enum<ProbingDetails.ProbingResult>
implements com.google.protobuf.ProtocolMessageEnum
Overall probing result of the test.Protobuf enum
google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo result was specified.Less than 95% of packets reached the destination.At least 95% of packets reached the destination.Reachability could not be determined.No packets reached the destination. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNo result was specified.static final intLess than 95% of packets reached the destination.static final intAt least 95% of packets reached the destination.static final intReachability could not be determined.static final intNo packets reached the destination. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProbingDetails.ProbingResultforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ProbingDetails.ProbingResult>static ProbingDetails.ProbingResultvalueOf(int value) Deprecated.static ProbingDetails.ProbingResultvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ProbingDetails.ProbingResultReturns the enum constant of this type with the specified name.static ProbingDetails.ProbingResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROBING_RESULT_UNSPECIFIED
No result was specified.
PROBING_RESULT_UNSPECIFIED = 0; -
REACHABLE
At least 95% of packets reached the destination.
REACHABLE = 1; -
UNREACHABLE
No packets reached the destination.
UNREACHABLE = 2; -
REACHABILITY_INCONSISTENT
Less than 95% of packets reached the destination.
REACHABILITY_INCONSISTENT = 3; -
UNDETERMINED
Reachability could not be determined. Possible reasons are: * The user lacks permission to access some of the network resources required to run the test. * No valid source endpoint could be derived from the request. * An internal error occurred.
UNDETERMINED = 4; -
UNRECOGNIZED
-
-
Field Details
-
PROBING_RESULT_UNSPECIFIED_VALUE
public static final int PROBING_RESULT_UNSPECIFIED_VALUENo result was specified.
PROBING_RESULT_UNSPECIFIED = 0;- See Also:
-
REACHABLE_VALUE
public static final int REACHABLE_VALUEAt least 95% of packets reached the destination.
REACHABLE = 1;- See Also:
-
UNREACHABLE_VALUE
public static final int UNREACHABLE_VALUENo packets reached the destination.
UNREACHABLE = 2;- See Also:
-
REACHABILITY_INCONSISTENT_VALUE
public static final int REACHABILITY_INCONSISTENT_VALUELess than 95% of packets reached the destination.
REACHABILITY_INCONSISTENT = 3;- See Also:
-
UNDETERMINED_VALUE
public static final int UNDETERMINED_VALUEReachability could not be determined. Possible reasons are: * The user lacks permission to access some of the network resources required to run the test. * No valid source endpoint could be derived from the request. * An internal error occurred.
UNDETERMINED = 4;- 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<ProbingDetails.ProbingResult> 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 ProbingDetails.ProbingResult 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
-