java.lang.Object
java.lang.Enum<State>
com.google.cloud.networkconnectivity.v1beta.State
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<State>

@Generated public enum State extends Enum<State> implements com.google.protobuf.ProtocolMessageEnum
 The State enum represents the lifecycle stage of a Network Connectivity
 Center resource.
 
Protobuf enum google.cloud.networkconnectivity.v1beta.State
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The resource's accept operation is in progress.
    The resource is active
    The resource's create operation is in progress.
    The resource's delete operation is in progress.
    The resource is in an undefined state due to resource creation or deletion failure.
    The resource is inactive.
    The hub associated with this spoke resource has been deleted.
    The resource's reject operation is in progress.
    No state information available
     
    The resource's update operation is in progress.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The resource's accept operation is in progress.
    static final int
    The resource is active
    static final int
    The resource's create operation is in progress.
    static final int
    The resource's delete operation is in progress.
    static final int
    The resource is in an undefined state due to resource creation or deletion failure.
    static final int
    The resource is inactive.
    static final int
    The hub associated with this spoke resource has been deleted.
    static final int
    The resource's reject operation is in progress.
    static final int
    No state information available
    static final int
    The resource's update operation is in progress.
  • Method Summary

    Modifier and Type
    Method
    Description
    static State
    forNumber(int value)
     
    static com.google.protobuf.Descriptors.EnumDescriptor
     
    final com.google.protobuf.Descriptors.EnumDescriptor
     
    final int
     
    final com.google.protobuf.Descriptors.EnumValueDescriptor
     
    static com.google.protobuf.Internal.EnumLiteMap<State>
     
    static State
    valueOf(int value)
    Deprecated.
    static State
    valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
    Returns the enum constant of this type with the specified name.
    static State
    Returns the enum constant of this type with the specified name.
    static State[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • STATE_UNSPECIFIED

      public static final State STATE_UNSPECIFIED
       No state information available
       
      STATE_UNSPECIFIED = 0;
    • CREATING

      public static final State CREATING
       The resource's create operation is in progress.
       
      CREATING = 1;
    • ACTIVE

      public static final State ACTIVE
       The resource is active
       
      ACTIVE = 2;
    • DELETING

      public static final State DELETING
       The resource's delete operation is in progress.
       
      DELETING = 3;
    • ACCEPTING

      public static final State ACCEPTING
       The resource's accept operation is in progress.
       
      ACCEPTING = 8;
    • REJECTING

      public static final State REJECTING
       The resource's reject operation is in progress.
       
      REJECTING = 9;
    • UPDATING

      public static final State UPDATING
       The resource's update operation is in progress.
       
      UPDATING = 6;
    • INACTIVE

      public static final State INACTIVE
       The resource is inactive.
       
      INACTIVE = 7;
    • OBSOLETE

      public static final State OBSOLETE
       The hub associated with this spoke resource has been deleted.
       This state applies to spoke resources only.
       
      OBSOLETE = 10;
    • FAILED

      public static final State FAILED
       The resource is in an undefined state due to resource creation or deletion
       failure. You can try to delete the resource later or contact support for
       help.
       
      FAILED = 11;
    • UNRECOGNIZED

      public static final State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
       No state information available
       
      STATE_UNSPECIFIED = 0;
      See Also:
    • CREATING_VALUE

      public static final int CREATING_VALUE
       The resource's create operation is in progress.
       
      CREATING = 1;
      See Also:
    • ACTIVE_VALUE

      public static final int ACTIVE_VALUE
       The resource is active
       
      ACTIVE = 2;
      See Also:
    • DELETING_VALUE

      public static final int DELETING_VALUE
       The resource's delete operation is in progress.
       
      DELETING = 3;
      See Also:
    • ACCEPTING_VALUE

      public static final int ACCEPTING_VALUE
       The resource's accept operation is in progress.
       
      ACCEPTING = 8;
      See Also:
    • REJECTING_VALUE

      public static final int REJECTING_VALUE
       The resource's reject operation is in progress.
       
      REJECTING = 9;
      See Also:
    • UPDATING_VALUE

      public static final int UPDATING_VALUE
       The resource's update operation is in progress.
       
      UPDATING = 6;
      See Also:
    • INACTIVE_VALUE

      public static final int INACTIVE_VALUE
       The resource is inactive.
       
      INACTIVE = 7;
      See Also:
    • OBSOLETE_VALUE

      public static final int OBSOLETE_VALUE
       The hub associated with this spoke resource has been deleted.
       This state applies to spoke resources only.
       
      OBSOLETE = 10;
      See Also:
    • FAILED_VALUE

      public static final int FAILED_VALUE
       The resource is in an undefined state due to resource creation or deletion
       failure. You can try to delete the resource later or contact support for
       help.
       
      FAILED = 11;
      See Also:
  • Method Details

    • values

      public static State[] 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 State 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 State 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 State 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<State> 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 State 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