Enum Blueprint.ApprovalState

java.lang.Object
java.lang.Enum<Blueprint.ApprovalState>
com.google.cloud.telcoautomation.v1.Blueprint.ApprovalState
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Blueprint.ApprovalState>
Enclosing class:
Blueprint

public static enum Blueprint.ApprovalState extends Enum<Blueprint.ApprovalState> implements com.google.protobuf.ProtocolMessageEnum
 Approval state indicates the state of a Blueprint in its approval
 lifecycle.
 
Protobuf enum google.cloud.telcoautomation.v1.Blueprint.ApprovalState
  • Enum Constant Details

    • APPROVAL_STATE_UNSPECIFIED

      public static final Blueprint.ApprovalState APPROVAL_STATE_UNSPECIFIED
       Unspecified state.
       
      APPROVAL_STATE_UNSPECIFIED = 0;
    • DRAFT

      public static final Blueprint.ApprovalState DRAFT
       A blueprint starts in DRAFT state once it is created. All edits are made
       to the blueprint in DRAFT state.
       
      DRAFT = 1;
    • PROPOSED

      public static final Blueprint.ApprovalState PROPOSED
       When the edits are ready for review, blueprint can be proposed and moves
       to PROPOSED state. Edits cannot be made to a blueprint in PROPOSED state.
       
      PROPOSED = 2;
    • APPROVED

      public static final Blueprint.ApprovalState APPROVED
       When a proposed blueprint is approved, it moves to APPROVED state. A new
       revision is committed. The latest committed revision can be used to
       create a deployment on Orchestration or Workload Cluster. Edits to an
       APPROVED blueprint changes its state back to DRAFT. The last committed
       revision of a blueprint represents its latest APPROVED state.
       
      APPROVED = 3;
    • UNRECOGNIZED

      public static final Blueprint.ApprovalState UNRECOGNIZED
  • Field Details

    • APPROVAL_STATE_UNSPECIFIED_VALUE

      public static final int APPROVAL_STATE_UNSPECIFIED_VALUE
       Unspecified state.
       
      APPROVAL_STATE_UNSPECIFIED = 0;
      See Also:
    • DRAFT_VALUE

      public static final int DRAFT_VALUE
       A blueprint starts in DRAFT state once it is created. All edits are made
       to the blueprint in DRAFT state.
       
      DRAFT = 1;
      See Also:
    • PROPOSED_VALUE

      public static final int PROPOSED_VALUE
       When the edits are ready for review, blueprint can be proposed and moves
       to PROPOSED state. Edits cannot be made to a blueprint in PROPOSED state.
       
      PROPOSED = 2;
      See Also:
    • APPROVED_VALUE

      public static final int APPROVED_VALUE
       When a proposed blueprint is approved, it moves to APPROVED state. A new
       revision is committed. The latest committed revision can be used to
       create a deployment on Orchestration or Workload Cluster. Edits to an
       APPROVED blueprint changes its state back to DRAFT. The last committed
       revision of a blueprint represents its latest APPROVED state.
       
      APPROVED = 3;
      See Also:
  • Method Details

    • values

      public static Blueprint.ApprovalState[] 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 Blueprint.ApprovalState 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 Blueprint.ApprovalState 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 Blueprint.ApprovalState 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<Blueprint.ApprovalState> 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 Blueprint.ApprovalState 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