Enum Spoke.StateReason.Code

java.lang.Object
java.lang.Enum<Spoke.StateReason.Code>
com.google.cloud.networkconnectivity.v1beta.Spoke.StateReason.Code
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Spoke.StateReason.Code>
Enclosing class:
Spoke.StateReason

public static enum Spoke.StateReason.Code extends Enum<Spoke.StateReason.Code> implements com.google.protobuf.ProtocolMessageEnum
 The Code enum represents the various reasons for the state of the spoke.
 
Protobuf enum google.cloud.networkconnectivity.v1beta.Spoke.StateReason.Code
  • Enum Constant Details

    • CODE_UNSPECIFIED

      public static final Spoke.StateReason.Code CODE_UNSPECIFIED
       No information available.
       
      CODE_UNSPECIFIED = 0;
    • PENDING_REVIEW

      public static final Spoke.StateReason.Code PENDING_REVIEW
       The proposed spoke is pending review.
       
      PENDING_REVIEW = 1;
    • REJECTED

      public static final Spoke.StateReason.Code REJECTED
       The proposed spoke has been rejected by the hub administrator.
       
      REJECTED = 2;
    • PAUSED

      public static final Spoke.StateReason.Code PAUSED
       The spoke has been deactivated internally.
       
      PAUSED = 3;
    • FAILED

      public static final Spoke.StateReason.Code FAILED
       Network Connectivity Center encountered errors while accepting
       the spoke.
       
      FAILED = 4;
    • UPDATE_PENDING_REVIEW

      public static final Spoke.StateReason.Code UPDATE_PENDING_REVIEW
       The proposed spoke update is pending review.
       
      UPDATE_PENDING_REVIEW = 5;
    • UPDATE_REJECTED

      public static final Spoke.StateReason.Code UPDATE_REJECTED
       The proposed spoke update has been rejected by the hub administrator.
       
      UPDATE_REJECTED = 6;
    • UPDATE_FAILED

      public static final Spoke.StateReason.Code UPDATE_FAILED
       Network Connectivity Center encountered errors while accepting
       the spoke update.
       
      UPDATE_FAILED = 7;
    • UNRECOGNIZED

      public static final Spoke.StateReason.Code UNRECOGNIZED
  • Field Details

    • CODE_UNSPECIFIED_VALUE

      public static final int CODE_UNSPECIFIED_VALUE
       No information available.
       
      CODE_UNSPECIFIED = 0;
      See Also:
    • PENDING_REVIEW_VALUE

      public static final int PENDING_REVIEW_VALUE
       The proposed spoke is pending review.
       
      PENDING_REVIEW = 1;
      See Also:
    • REJECTED_VALUE

      public static final int REJECTED_VALUE
       The proposed spoke has been rejected by the hub administrator.
       
      REJECTED = 2;
      See Also:
    • PAUSED_VALUE

      public static final int PAUSED_VALUE
       The spoke has been deactivated internally.
       
      PAUSED = 3;
      See Also:
    • FAILED_VALUE

      public static final int FAILED_VALUE
       Network Connectivity Center encountered errors while accepting
       the spoke.
       
      FAILED = 4;
      See Also:
    • UPDATE_PENDING_REVIEW_VALUE

      public static final int UPDATE_PENDING_REVIEW_VALUE
       The proposed spoke update is pending review.
       
      UPDATE_PENDING_REVIEW = 5;
      See Also:
    • UPDATE_REJECTED_VALUE

      public static final int UPDATE_REJECTED_VALUE
       The proposed spoke update has been rejected by the hub administrator.
       
      UPDATE_REJECTED = 6;
      See Also:
    • UPDATE_FAILED_VALUE

      public static final int UPDATE_FAILED_VALUE
       Network Connectivity Center encountered errors while accepting
       the spoke update.
       
      UPDATE_FAILED = 7;
      See Also:
  • Method Details

    • values

      public static Spoke.StateReason.Code[] 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 Spoke.StateReason.Code 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 Spoke.StateReason.Code 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 Spoke.StateReason.Code 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<Spoke.StateReason.Code> 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 Spoke.StateReason.Code 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