public static enum NetworkAttachment.ConnectionPreference extends Enum<NetworkAttachment.ConnectionPreference> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
google.cloud.compute.v1.NetworkAttachment.ConnectionPreference| Enum Constant and Description |
|---|
ACCEPT_AUTOMATIC
ACCEPT_AUTOMATIC = 75250580; |
ACCEPT_MANUAL
ACCEPT_MANUAL = 373061341; |
INVALID
INVALID = 530283991; |
UNDEFINED_CONNECTION_PREFERENCE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCEPT_AUTOMATIC_VALUE
ACCEPT_AUTOMATIC = 75250580; |
static int |
ACCEPT_MANUAL_VALUE
ACCEPT_MANUAL = 373061341; |
static int |
INVALID_VALUE
INVALID = 530283991; |
static int |
UNDEFINED_CONNECTION_PREFERENCE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkAttachment.ConnectionPreference |
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<NetworkAttachment.ConnectionPreference> |
internalGetValueMap() |
static NetworkAttachment.ConnectionPreference |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NetworkAttachment.ConnectionPreference |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetworkAttachment.ConnectionPreference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkAttachment.ConnectionPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkAttachment.ConnectionPreference UNDEFINED_CONNECTION_PREFERENCE
A value indicating that the enum field is not set.
UNDEFINED_CONNECTION_PREFERENCE = 0;public static final NetworkAttachment.ConnectionPreference ACCEPT_AUTOMATIC
ACCEPT_AUTOMATIC = 75250580;public static final NetworkAttachment.ConnectionPreference ACCEPT_MANUAL
ACCEPT_MANUAL = 373061341;public static final NetworkAttachment.ConnectionPreference INVALID
INVALID = 530283991;public static final NetworkAttachment.ConnectionPreference UNRECOGNIZED
public static final int UNDEFINED_CONNECTION_PREFERENCE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_CONNECTION_PREFERENCE = 0;public static final int ACCEPT_AUTOMATIC_VALUE
ACCEPT_AUTOMATIC = 75250580;public static final int ACCEPT_MANUAL_VALUE
ACCEPT_MANUAL = 373061341;public static final int INVALID_VALUE
INVALID = 530283991;public static NetworkAttachment.ConnectionPreference[] values()
for (NetworkAttachment.ConnectionPreference c : NetworkAttachment.ConnectionPreference.values()) System.out.println(c);
public static NetworkAttachment.ConnectionPreference 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 NetworkAttachment.ConnectionPreference valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NetworkAttachment.ConnectionPreference forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NetworkAttachment.ConnectionPreference> 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 NetworkAttachment.ConnectionPreference valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.