public static enum Project.VmDnsSetting extends Enum<Project.VmDnsSetting> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] Default internal DNS setting used by VMs running in this project.Protobuf enum
google.cloud.compute.v1.Project.VmDnsSetting| Enum Constant and Description |
|---|
GLOBAL_DEFAULT
GLOBAL_DEFAULT = 345419141; |
UNDEFINED_VM_DNS_SETTING
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
UNSPECIFIED_VM_DNS_SETTING
UNSPECIFIED_VM_DNS_SETTING = 35691930; |
ZONAL_DEFAULT
ZONAL_DEFAULT = 368475782; |
ZONAL_ONLY
ZONAL_ONLY = 521198951; |
| Modifier and Type | Field and Description |
|---|---|
static int |
GLOBAL_DEFAULT_VALUE
GLOBAL_DEFAULT = 345419141; |
static int |
UNDEFINED_VM_DNS_SETTING_VALUE
A value indicating that the enum field is not set.
|
static int |
UNSPECIFIED_VM_DNS_SETTING_VALUE
UNSPECIFIED_VM_DNS_SETTING = 35691930; |
static int |
ZONAL_DEFAULT_VALUE
ZONAL_DEFAULT = 368475782; |
static int |
ZONAL_ONLY_VALUE
ZONAL_ONLY = 521198951; |
| Modifier and Type | Method and Description |
|---|---|
static Project.VmDnsSetting |
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<Project.VmDnsSetting> |
internalGetValueMap() |
static Project.VmDnsSetting |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Project.VmDnsSetting |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Project.VmDnsSetting |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Project.VmDnsSetting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Project.VmDnsSetting UNDEFINED_VM_DNS_SETTING
A value indicating that the enum field is not set.
UNDEFINED_VM_DNS_SETTING = 0;public static final Project.VmDnsSetting GLOBAL_DEFAULT
GLOBAL_DEFAULT = 345419141;public static final Project.VmDnsSetting UNSPECIFIED_VM_DNS_SETTING
UNSPECIFIED_VM_DNS_SETTING = 35691930;public static final Project.VmDnsSetting ZONAL_DEFAULT
ZONAL_DEFAULT = 368475782;public static final Project.VmDnsSetting ZONAL_ONLY
ZONAL_ONLY = 521198951;public static final Project.VmDnsSetting UNRECOGNIZED
public static final int UNDEFINED_VM_DNS_SETTING_VALUE
A value indicating that the enum field is not set.
UNDEFINED_VM_DNS_SETTING = 0;public static final int GLOBAL_DEFAULT_VALUE
GLOBAL_DEFAULT = 345419141;public static final int UNSPECIFIED_VM_DNS_SETTING_VALUE
UNSPECIFIED_VM_DNS_SETTING = 35691930;public static final int ZONAL_DEFAULT_VALUE
ZONAL_DEFAULT = 368475782;public static final int ZONAL_ONLY_VALUE
ZONAL_ONLY = 521198951;public static Project.VmDnsSetting[] values()
for (Project.VmDnsSetting c : Project.VmDnsSetting.values()) System.out.println(c);
public static Project.VmDnsSetting 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 Project.VmDnsSetting valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Project.VmDnsSetting forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Project.VmDnsSetting> 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 Project.VmDnsSetting valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.