public static enum Instance.DiskEncryption extends Enum<Instance.DiskEncryption> implements com.google.protobuf.ProtocolMessageEnum
Definition of the disk encryption options.Protobuf enum
google.cloud.notebooks.v1beta1.Instance.DiskEncryption| Enum Constant and Description |
|---|
CMEK
Use customer managed encryption keys to encrypt the boot disk.
|
DISK_ENCRYPTION_UNSPECIFIED
Disk encryption is not specified.
|
GMEK
Use Google managed encryption keys to encrypt the boot disk.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CMEK_VALUE
Use customer managed encryption keys to encrypt the boot disk.
|
static int |
DISK_ENCRYPTION_UNSPECIFIED_VALUE
Disk encryption is not specified.
|
static int |
GMEK_VALUE
Use Google managed encryption keys to encrypt the boot disk.
|
| Modifier and Type | Method and Description |
|---|---|
static Instance.DiskEncryption |
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<Instance.DiskEncryption> |
internalGetValueMap() |
static Instance.DiskEncryption |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Instance.DiskEncryption |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Instance.DiskEncryption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.DiskEncryption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.DiskEncryption DISK_ENCRYPTION_UNSPECIFIED
Disk encryption is not specified.
DISK_ENCRYPTION_UNSPECIFIED = 0;public static final Instance.DiskEncryption GMEK
Use Google managed encryption keys to encrypt the boot disk.
GMEK = 1;public static final Instance.DiskEncryption CMEK
Use customer managed encryption keys to encrypt the boot disk.
CMEK = 2;public static final Instance.DiskEncryption UNRECOGNIZED
public static final int DISK_ENCRYPTION_UNSPECIFIED_VALUE
Disk encryption is not specified.
DISK_ENCRYPTION_UNSPECIFIED = 0;public static final int GMEK_VALUE
Use Google managed encryption keys to encrypt the boot disk.
GMEK = 1;public static final int CMEK_VALUE
Use customer managed encryption keys to encrypt the boot disk.
CMEK = 2;public static Instance.DiskEncryption[] values()
for (Instance.DiskEncryption c : Instance.DiskEncryption.values()) System.out.println(c);
public static Instance.DiskEncryption valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Instance.DiskEncryption valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Instance.DiskEncryption forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Instance.DiskEncryption> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Instance.DiskEncryption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.