Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionUnspecified state.When a proposed blueprint is approved, it moves to APPROVED state.A blueprint starts in DRAFT state once it is created.When the edits are ready for review, blueprint can be proposed and moves to PROPOSED state. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUnspecified state.static final intWhen a proposed blueprint is approved, it moves to APPROVED state.static final intA blueprint starts in DRAFT state once it is created.static final intWhen the edits are ready for review, blueprint can be proposed and moves to PROPOSED state. -
Method Summary
Modifier and TypeMethodDescriptionstatic Blueprint.ApprovalStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Blueprint.ApprovalState>static Blueprint.ApprovalStatevalueOf(int value) Deprecated.static Blueprint.ApprovalStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Blueprint.ApprovalStateReturns the enum constant of this type with the specified name.static Blueprint.ApprovalState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
APPROVAL_STATE_UNSPECIFIED
Unspecified state.
APPROVAL_STATE_UNSPECIFIED = 0; -
DRAFT
A blueprint starts in DRAFT state once it is created. All edits are made to the blueprint in DRAFT state.
DRAFT = 1; -
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
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
-
-
Field Details
-
APPROVAL_STATE_UNSPECIFIED_VALUE
public static final int APPROVAL_STATE_UNSPECIFIED_VALUEUnspecified state.
APPROVAL_STATE_UNSPECIFIED = 0;- See Also:
-
DRAFT_VALUE
public static final int DRAFT_VALUEA 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_VALUEWhen 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_VALUEWhen 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
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-