Enum Unit.ManagementMode
java.lang.Object
java.lang.Enum<Unit.ManagementMode>
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.ManagementMode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Unit.ManagementMode>
- Enclosing class:
- Unit
public static enum Unit.ManagementMode
extends Enum<Unit.ManagementMode>
implements com.google.protobuf.ProtocolMessageEnum
ManagementMode describes who is responsible for the management of the unit.Protobuf enum
google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.ManagementMode-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe system will decide when to deprovision and delete the unit.MANAGEMENT_MODE_UNSPECIFIED = 0;Unit's lifecycle is managed by the user. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe system will decide when to deprovision and delete the unit.static final intMANAGEMENT_MODE_UNSPECIFIED = 0;static final intUnit's lifecycle is managed by the user. -
Method Summary
Modifier and TypeMethodDescriptionstatic Unit.ManagementModeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Unit.ManagementMode>static Unit.ManagementModevalueOf(int value) Deprecated.static Unit.ManagementModevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Unit.ManagementModeReturns the enum constant of this type with the specified name.static Unit.ManagementMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MANAGEMENT_MODE_UNSPECIFIED
MANAGEMENT_MODE_UNSPECIFIED = 0; -
MANAGEMENT_MODE_USER
Unit's lifecycle is managed by the user.
MANAGEMENT_MODE_USER = 1; -
MANAGEMENT_MODE_SYSTEM
The system will decide when to deprovision and delete the unit. User still can deprovision or delete the unit manually.
MANAGEMENT_MODE_SYSTEM = 2; -
UNRECOGNIZED
-
-
Field Details
-
MANAGEMENT_MODE_UNSPECIFIED_VALUE
public static final int MANAGEMENT_MODE_UNSPECIFIED_VALUEMANAGEMENT_MODE_UNSPECIFIED = 0;- See Also:
-
MANAGEMENT_MODE_USER_VALUE
public static final int MANAGEMENT_MODE_USER_VALUEUnit's lifecycle is managed by the user.
MANAGEMENT_MODE_USER = 1;- See Also:
-
MANAGEMENT_MODE_SYSTEM_VALUE
public static final int MANAGEMENT_MODE_SYSTEM_VALUEThe system will decide when to deprovision and delete the unit. User still can deprovision or delete the unit manually.
MANAGEMENT_MODE_SYSTEM = 2;- 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
-
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
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
-