Package com.google.cloud.oslogin.common
Enum OsLoginProto.OperatingSystemType
java.lang.Object
java.lang.Enum<OsLoginProto.OperatingSystemType>
com.google.cloud.oslogin.common.OsLoginProto.OperatingSystemType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OsLoginProto.OperatingSystemType>
- Enclosing class:
- OsLoginProto
public static enum OsLoginProto.OperatingSystemType
extends Enum<OsLoginProto.OperatingSystemType>
implements com.google.protobuf.ProtocolMessageEnum
The operating system options for account entries.Protobuf enum
google.cloud.oslogin.common.OperatingSystemType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLinux user account information.The operating system type associated with the user account information is unspecified.Windows user account information. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intLinux user account information.static final intThe operating system type associated with the user account information is unspecified.static final intWindows user account information. -
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<OsLoginProto.OperatingSystemType>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 OsLoginProto.OperatingSystemType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OPERATING_SYSTEM_TYPE_UNSPECIFIED
The operating system type associated with the user account information is unspecified.
OPERATING_SYSTEM_TYPE_UNSPECIFIED = 0; -
LINUX
Linux user account information.
LINUX = 1; -
WINDOWS
Windows user account information.
WINDOWS = 2; -
UNRECOGNIZED
-
-
Field Details
-
OPERATING_SYSTEM_TYPE_UNSPECIFIED_VALUE
public static final int OPERATING_SYSTEM_TYPE_UNSPECIFIED_VALUEThe operating system type associated with the user account information is unspecified.
OPERATING_SYSTEM_TYPE_UNSPECIFIED = 0;- See Also:
-
LINUX_VALUE
public static final int LINUX_VALUELinux user account information.
LINUX = 1;- See Also:
-
WINDOWS_VALUE
public static final int WINDOWS_VALUEWindows user account information.
WINDOWS = 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
public static com.google.protobuf.Internal.EnumLiteMap<OsLoginProto.OperatingSystemType> 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 OsLoginProto.OperatingSystemType 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
-