public static enum NetworkAddress.AddressAssignment extends Enum<NetworkAddress.AddressAssignment> implements com.google.protobuf.ProtocolMessageEnum
Network address assignment.Protobuf enum
google.cloud.migrationcenter.v1.NetworkAddress.AddressAssignment| Enum Constant and Description |
|---|
ADDRESS_ASSIGNMENT_DHCP
Dynamically assigned IP (DHCP).
|
ADDRESS_ASSIGNMENT_STATIC
Staticly assigned IP.
|
ADDRESS_ASSIGNMENT_UNSPECIFIED
Unknown (default value).
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADDRESS_ASSIGNMENT_DHCP_VALUE
Dynamically assigned IP (DHCP).
|
static int |
ADDRESS_ASSIGNMENT_STATIC_VALUE
Staticly assigned IP.
|
static int |
ADDRESS_ASSIGNMENT_UNSPECIFIED_VALUE
Unknown (default value).
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkAddress.AddressAssignment |
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<NetworkAddress.AddressAssignment> |
internalGetValueMap() |
static NetworkAddress.AddressAssignment |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NetworkAddress.AddressAssignment |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetworkAddress.AddressAssignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkAddress.AddressAssignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkAddress.AddressAssignment ADDRESS_ASSIGNMENT_UNSPECIFIED
Unknown (default value).
ADDRESS_ASSIGNMENT_UNSPECIFIED = 0;public static final NetworkAddress.AddressAssignment ADDRESS_ASSIGNMENT_STATIC
Staticly assigned IP.
ADDRESS_ASSIGNMENT_STATIC = 1;public static final NetworkAddress.AddressAssignment ADDRESS_ASSIGNMENT_DHCP
Dynamically assigned IP (DHCP).
ADDRESS_ASSIGNMENT_DHCP = 2;public static final NetworkAddress.AddressAssignment UNRECOGNIZED
public static final int ADDRESS_ASSIGNMENT_UNSPECIFIED_VALUE
Unknown (default value).
ADDRESS_ASSIGNMENT_UNSPECIFIED = 0;public static final int ADDRESS_ASSIGNMENT_STATIC_VALUE
Staticly assigned IP.
ADDRESS_ASSIGNMENT_STATIC = 1;public static final int ADDRESS_ASSIGNMENT_DHCP_VALUE
Dynamically assigned IP (DHCP).
ADDRESS_ASSIGNMENT_DHCP = 2;public static NetworkAddress.AddressAssignment[] values()
for (NetworkAddress.AddressAssignment c : NetworkAddress.AddressAssignment.values()) System.out.println(c);
public static NetworkAddress.AddressAssignment 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 NetworkAddress.AddressAssignment valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NetworkAddress.AddressAssignment forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NetworkAddress.AddressAssignment> 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 NetworkAddress.AddressAssignment valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.