Enum ReachabilityDetails.Result

    • 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;
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null