public static enum NetworkProfileNetworkFeatures.AllowNetworkMigration extends Enum<NetworkProfileNetworkFeatures.AllowNetworkMigration> implements com.google.protobuf.ProtocolMessageEnum
Specifies whether VM network migration is allowed.Protobuf enum
google.cloud.compute.v1.NetworkProfileNetworkFeatures.AllowNetworkMigration| Enum Constant and Description |
|---|
NETWORK_MIGRATION_ALLOWED
NETWORK_MIGRATION_ALLOWED = 14389766; |
NETWORK_MIGRATION_BLOCKED
NETWORK_MIGRATION_BLOCKED = 367424074; |
UNDEFINED_ALLOW_NETWORK_MIGRATION
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
NETWORK_MIGRATION_ALLOWED_VALUE
NETWORK_MIGRATION_ALLOWED = 14389766; |
static int |
NETWORK_MIGRATION_BLOCKED_VALUE
NETWORK_MIGRATION_BLOCKED = 367424074; |
static int |
UNDEFINED_ALLOW_NETWORK_MIGRATION_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkProfileNetworkFeatures.AllowNetworkMigration |
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<NetworkProfileNetworkFeatures.AllowNetworkMigration> |
internalGetValueMap() |
static NetworkProfileNetworkFeatures.AllowNetworkMigration |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NetworkProfileNetworkFeatures.AllowNetworkMigration |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetworkProfileNetworkFeatures.AllowNetworkMigration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkProfileNetworkFeatures.AllowNetworkMigration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkProfileNetworkFeatures.AllowNetworkMigration UNDEFINED_ALLOW_NETWORK_MIGRATION
A value indicating that the enum field is not set.
UNDEFINED_ALLOW_NETWORK_MIGRATION = 0;public static final NetworkProfileNetworkFeatures.AllowNetworkMigration NETWORK_MIGRATION_ALLOWED
NETWORK_MIGRATION_ALLOWED = 14389766;public static final NetworkProfileNetworkFeatures.AllowNetworkMigration NETWORK_MIGRATION_BLOCKED
NETWORK_MIGRATION_BLOCKED = 367424074;public static final NetworkProfileNetworkFeatures.AllowNetworkMigration UNRECOGNIZED
public static final int UNDEFINED_ALLOW_NETWORK_MIGRATION_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ALLOW_NETWORK_MIGRATION = 0;public static final int NETWORK_MIGRATION_ALLOWED_VALUE
NETWORK_MIGRATION_ALLOWED = 14389766;public static final int NETWORK_MIGRATION_BLOCKED_VALUE
NETWORK_MIGRATION_BLOCKED = 367424074;public static NetworkProfileNetworkFeatures.AllowNetworkMigration[] values()
for (NetworkProfileNetworkFeatures.AllowNetworkMigration c : NetworkProfileNetworkFeatures.AllowNetworkMigration.values()) System.out.println(c);
public static NetworkProfileNetworkFeatures.AllowNetworkMigration 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 NetworkProfileNetworkFeatures.AllowNetworkMigration valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NetworkProfileNetworkFeatures.AllowNetworkMigration forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NetworkProfileNetworkFeatures.AllowNetworkMigration> 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 NetworkProfileNetworkFeatures.AllowNetworkMigration valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.