Enum UnitOperationCondition.Type
java.lang.Object
java.lang.Enum<UnitOperationCondition.Type>
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Type
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<UnitOperationCondition.Type>
- Enclosing class:
- UnitOperationCondition
public static enum UnitOperationCondition.Type
extends Enum<UnitOperationCondition.Type>
implements com.google.protobuf.ProtocolMessageEnum
Enumeration of condition types.Protobuf enum
google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Type-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates if services and workloads have been registered with AppHub.Indicates if AppHub app has been created.Condition type is cancelled.Condition type is running.Condition type is scheduled.Condition type is succeeded.Condition type is unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates if services and workloads have been registered with AppHub.static final intIndicates if AppHub app has been created.static final intCondition type is cancelled.static final intCondition type is running.static final intCondition type is scheduled.static final intCondition type is succeeded.static final intCondition type is unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic UnitOperationCondition.TypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<UnitOperationCondition.Type>static UnitOperationCondition.TypevalueOf(int value) Deprecated.static UnitOperationCondition.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static UnitOperationCondition.TypeReturns the enum constant of this type with the specified name.static UnitOperationCondition.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TYPE_UNSPECIFIED
Condition type is unspecified.
TYPE_UNSPECIFIED = 0; -
TYPE_SCHEDULED
Condition type is scheduled.
TYPE_SCHEDULED = 2; -
TYPE_RUNNING
Condition type is running.
TYPE_RUNNING = 3; -
TYPE_SUCCEEDED
Condition type is succeeded.
TYPE_SUCCEEDED = 4; -
TYPE_CANCELLED
Condition type is cancelled.
TYPE_CANCELLED = 5; -
TYPE_APP_CREATED
Indicates if AppHub app has been created.
TYPE_APP_CREATED = 6; -
TYPE_APP_COMPONENTS_REGISTERED
Indicates if services and workloads have been registered with AppHub.
TYPE_APP_COMPONENTS_REGISTERED = 7; -
UNRECOGNIZED
-
-
Field Details
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUECondition type is unspecified.
TYPE_UNSPECIFIED = 0;- See Also:
-
TYPE_SCHEDULED_VALUE
public static final int TYPE_SCHEDULED_VALUECondition type is scheduled.
TYPE_SCHEDULED = 2;- See Also:
-
TYPE_RUNNING_VALUE
public static final int TYPE_RUNNING_VALUECondition type is running.
TYPE_RUNNING = 3;- See Also:
-
TYPE_SUCCEEDED_VALUE
public static final int TYPE_SUCCEEDED_VALUECondition type is succeeded.
TYPE_SUCCEEDED = 4;- See Also:
-
TYPE_CANCELLED_VALUE
public static final int TYPE_CANCELLED_VALUECondition type is cancelled.
TYPE_CANCELLED = 5;- See Also:
-
TYPE_APP_CREATED_VALUE
public static final int TYPE_APP_CREATED_VALUEIndicates if AppHub app has been created.
TYPE_APP_CREATED = 6;- See Also:
-
TYPE_APP_COMPONENTS_REGISTERED_VALUE
public static final int TYPE_APP_COMPONENTS_REGISTERED_VALUEIndicates if services and workloads have been registered with AppHub.
TYPE_APP_COMPONENTS_REGISTERED = 7;- 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<UnitOperationCondition.Type> 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 UnitOperationCondition.Type 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
-