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 Details

    • 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. 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

      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 Details

    • RESULT_UNSPECIFIED_VALUE

      public static final int RESULT_UNSPECIFIED_VALUE
       No result was specified.
       
      RESULT_UNSPECIFIED = 0;
      See Also:
    • 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:
    • 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:
    • 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. 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_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:
  • Method Details

    • values

      public static ReachabilityDetails.Result[] 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

      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.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<ReachabilityDetails.Result> internalGetValueMap()
    • 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 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