Package com.google.cloud.osconfig.v1beta
Enum GuestPolicies.Package.Manager
java.lang.Object
java.lang.Enum<GuestPolicies.Package.Manager>
com.google.cloud.osconfig.v1beta.GuestPolicies.Package.Manager
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<GuestPolicies.Package.Manager>
- Enclosing class:
- GuestPolicies.Package
public static enum GuestPolicies.Package.Manager
extends Enum<GuestPolicies.Package.Manager>
implements com.google.protobuf.ProtocolMessageEnum
Types of package managers that may be used to manage this package.Protobuf enum
google.cloud.osconfig.v1beta.Package.Manager-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApply this package config using the default system package manager.Apply this package config only if Apt is available on the system.Apply this package config only if GooGet is available on the system.The default behavior is ANY.Apply this package config only if Yum is available on the system.Apply this package config only if Zypper is available on the system. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intApply this package config using the default system package manager.static final intApply this package config only if Apt is available on the system.static final intApply this package config only if GooGet is available on the system.static final intThe default behavior is ANY.static final intApply this package config only if Yum is available on the system.static final intApply this package config only if Zypper is available on the system. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<GuestPolicies.Package.Manager>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static GuestPolicies.Package.Manager[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MANAGER_UNSPECIFIED
The default behavior is ANY.
MANAGER_UNSPECIFIED = 0; -
ANY
Apply this package config using the default system package manager.
ANY = 1; -
APT
Apply this package config only if Apt is available on the system.
APT = 2; -
YUM
Apply this package config only if Yum is available on the system.
YUM = 3; -
ZYPPER
Apply this package config only if Zypper is available on the system.
ZYPPER = 4; -
GOO
Apply this package config only if GooGet is available on the system.
GOO = 5; -
UNRECOGNIZED
-
-
Field Details
-
MANAGER_UNSPECIFIED_VALUE
public static final int MANAGER_UNSPECIFIED_VALUEThe default behavior is ANY.
MANAGER_UNSPECIFIED = 0;- See Also:
-
ANY_VALUE
public static final int ANY_VALUEApply this package config using the default system package manager.
ANY = 1;- See Also:
-
APT_VALUE
public static final int APT_VALUEApply this package config only if Apt is available on the system.
APT = 2;- See Also:
-
YUM_VALUE
public static final int YUM_VALUEApply this package config only if Yum is available on the system.
YUM = 3;- See Also:
-
ZYPPER_VALUE
public static final int ZYPPER_VALUEApply this package config only if Zypper is available on the system.
ZYPPER = 4;- See Also:
-
GOO_VALUE
public static final int GOO_VALUEApply this package config only if GooGet is available on the system.
GOO = 5;- 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<GuestPolicies.Package.Manager> 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 GuestPolicies.Package.Manager 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
-