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 enumgoogle.cloud.osconfig.v1beta.Package.Manager
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
Apply this package config using the default system package manager.APT
Apply this package config only if Apt is available on the system.GOO
Apply this package config only if GooGet is available on the system.MANAGER_UNSPECIFIED
The default behavior is ANY.UNRECOGNIZED
YUM
Apply this package config only if Yum is available on the system.ZYPPER
Apply this package config only if Zypper is available on the system.
-
Field Summary
Fields Modifier and Type Field Description static int
ANY_VALUE
Apply this package config using the default system package manager.static int
APT_VALUE
Apply this package config only if Apt is available on the system.static int
GOO_VALUE
Apply this package config only if GooGet is available on the system.static int
MANAGER_UNSPECIFIED_VALUE
The default behavior is ANY.static int
YUM_VALUE
Apply this package config only if Yum is available on the system.static int
ZYPPER_VALUE
Apply this package config only if Zypper is available on the system.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GuestPolicies.Package.Manager
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<GuestPolicies.Package.Manager>
internalGetValueMap()
static GuestPolicies.Package.Manager
valueOf(int value)
Deprecated.static GuestPolicies.Package.Manager
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static GuestPolicies.Package.Manager
valueOf(String 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 Detail
-
MANAGER_UNSPECIFIED
public static final GuestPolicies.Package.Manager MANAGER_UNSPECIFIED
The default behavior is ANY.
MANAGER_UNSPECIFIED = 0;
-
ANY
public static final GuestPolicies.Package.Manager ANY
Apply this package config using the default system package manager.
ANY = 1;
-
APT
public static final GuestPolicies.Package.Manager APT
Apply this package config only if Apt is available on the system.
APT = 2;
-
YUM
public static final GuestPolicies.Package.Manager YUM
Apply this package config only if Yum is available on the system.
YUM = 3;
-
ZYPPER
public static final GuestPolicies.Package.Manager ZYPPER
Apply this package config only if Zypper is available on the system.
ZYPPER = 4;
-
GOO
public static final GuestPolicies.Package.Manager GOO
Apply this package config only if GooGet is available on the system.
GOO = 5;
-
UNRECOGNIZED
public static final GuestPolicies.Package.Manager UNRECOGNIZED
-
-
Field Detail
-
MANAGER_UNSPECIFIED_VALUE
public static final int MANAGER_UNSPECIFIED_VALUE
The default behavior is ANY.
MANAGER_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
ANY_VALUE
public static final int ANY_VALUE
Apply this package config using the default system package manager.
ANY = 1;
- See Also:
- Constant Field Values
-
APT_VALUE
public static final int APT_VALUE
Apply this package config only if Apt is available on the system.
APT = 2;
- See Also:
- Constant Field Values
-
YUM_VALUE
public static final int YUM_VALUE
Apply this package config only if Yum is available on the system.
YUM = 3;
- See Also:
- Constant Field Values
-
ZYPPER_VALUE
public static final int ZYPPER_VALUE
Apply this package config only if Zypper is available on the system.
ZYPPER = 4;
- See Also:
- Constant Field Values
-
GOO_VALUE
public static final int GOO_VALUE
Apply this package config only if GooGet is available on the system.
GOO = 5;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static GuestPolicies.Package.Manager[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GuestPolicies.Package.Manager c : GuestPolicies.Package.Manager.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GuestPolicies.Package.Manager 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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static GuestPolicies.Package.Manager 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 nameNullPointerException
- if the argument is null
-
forNumber
public static GuestPolicies.Package.Manager 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<GuestPolicies.Package.Manager> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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
-
-