public static enum Address.AddressType extends Enum<Address.AddressType> implements com.google.protobuf.ProtocolMessageEnum
The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.Protobuf enum
google.cloud.compute.v1.Address.AddressType| Enum Constant and Description |
|---|
EXTERNAL
A publicly visible external IP address.
|
INTERNAL
A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
|
UNDEFINED_ADDRESS_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
UNSPECIFIED_TYPE
UNSPECIFIED_TYPE = 53933922; |
| Modifier and Type | Field and Description |
|---|---|
static int |
EXTERNAL_VALUE
A publicly visible external IP address.
|
static int |
INTERNAL_VALUE
A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
|
static int |
UNDEFINED_ADDRESS_TYPE_VALUE
A value indicating that the enum field is not set.
|
static int |
UNSPECIFIED_TYPE_VALUE
UNSPECIFIED_TYPE = 53933922; |
| Modifier and Type | Method and Description |
|---|---|
static Address.AddressType |
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<Address.AddressType> |
internalGetValueMap() |
static Address.AddressType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Address.AddressType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Address.AddressType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Address.AddressType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Address.AddressType UNDEFINED_ADDRESS_TYPE
A value indicating that the enum field is not set.
UNDEFINED_ADDRESS_TYPE = 0;public static final Address.AddressType EXTERNAL
A publicly visible external IP address.
EXTERNAL = 35607499;public static final Address.AddressType INTERNAL
A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
INTERNAL = 279295677;public static final Address.AddressType UNSPECIFIED_TYPE
UNSPECIFIED_TYPE = 53933922;public static final Address.AddressType UNRECOGNIZED
public static final int UNDEFINED_ADDRESS_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ADDRESS_TYPE = 0;public static final int EXTERNAL_VALUE
A publicly visible external IP address.
EXTERNAL = 35607499;public static final int INTERNAL_VALUE
A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
INTERNAL = 279295677;public static final int UNSPECIFIED_TYPE_VALUE
UNSPECIFIED_TYPE = 53933922;public static Address.AddressType[] values()
for (Address.AddressType c : Address.AddressType.values()) System.out.println(c);
public static Address.AddressType 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 Address.AddressType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Address.AddressType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Address.AddressType> 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 Address.AddressType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.