public static enum InterconnectRemoteLocationConstraints.PortPairRemoteLocation extends Enum<InterconnectRemoteLocationConstraints.PortPairRemoteLocation> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.Protobuf enum
google.cloud.compute.v1.InterconnectRemoteLocationConstraints.PortPairRemoteLocation| Enum Constant and Description |
|---|
PORT_PAIR_MATCHING_REMOTE_LOCATION
If PORT_PAIR_MATCHING_REMOTE_LOCATION, the remote cloud provider allocates ports in pairs, and the user should choose the same remote location for both ports.
|
PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION
If PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, a user may opt to provision a redundant pair of Cross-Cloud Interconnects using two different remote locations in the same city.
|
UNDEFINED_PORT_PAIR_REMOTE_LOCATION
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
PORT_PAIR_MATCHING_REMOTE_LOCATION_VALUE
If PORT_PAIR_MATCHING_REMOTE_LOCATION, the remote cloud provider allocates ports in pairs, and the user should choose the same remote location for both ports.
|
static int |
PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION_VALUE
If PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, a user may opt to provision a redundant pair of Cross-Cloud Interconnects using two different remote locations in the same city.
|
static int |
UNDEFINED_PORT_PAIR_REMOTE_LOCATION_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static InterconnectRemoteLocationConstraints.PortPairRemoteLocation |
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<InterconnectRemoteLocationConstraints.PortPairRemoteLocation> |
internalGetValueMap() |
static InterconnectRemoteLocationConstraints.PortPairRemoteLocation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InterconnectRemoteLocationConstraints.PortPairRemoteLocation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InterconnectRemoteLocationConstraints.PortPairRemoteLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterconnectRemoteLocationConstraints.PortPairRemoteLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterconnectRemoteLocationConstraints.PortPairRemoteLocation UNDEFINED_PORT_PAIR_REMOTE_LOCATION
A value indicating that the enum field is not set.
UNDEFINED_PORT_PAIR_REMOTE_LOCATION = 0;public static final InterconnectRemoteLocationConstraints.PortPairRemoteLocation PORT_PAIR_MATCHING_REMOTE_LOCATION
If PORT_PAIR_MATCHING_REMOTE_LOCATION, the remote cloud provider allocates ports in pairs, and the user should choose the same remote location for both ports.
PORT_PAIR_MATCHING_REMOTE_LOCATION = 207291859;public static final InterconnectRemoteLocationConstraints.PortPairRemoteLocation PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION
If PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, a user may opt to provision a redundant pair of Cross-Cloud Interconnects using two different remote locations in the same city.
PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION = 60609829;public static final InterconnectRemoteLocationConstraints.PortPairRemoteLocation UNRECOGNIZED
public static final int UNDEFINED_PORT_PAIR_REMOTE_LOCATION_VALUE
A value indicating that the enum field is not set.
UNDEFINED_PORT_PAIR_REMOTE_LOCATION = 0;public static final int PORT_PAIR_MATCHING_REMOTE_LOCATION_VALUE
If PORT_PAIR_MATCHING_REMOTE_LOCATION, the remote cloud provider allocates ports in pairs, and the user should choose the same remote location for both ports.
PORT_PAIR_MATCHING_REMOTE_LOCATION = 207291859;public static final int PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION_VALUE
If PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, a user may opt to provision a redundant pair of Cross-Cloud Interconnects using two different remote locations in the same city.
PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION = 60609829;public static InterconnectRemoteLocationConstraints.PortPairRemoteLocation[] values()
for (InterconnectRemoteLocationConstraints.PortPairRemoteLocation c : InterconnectRemoteLocationConstraints.PortPairRemoteLocation.values()) System.out.println(c);
public static InterconnectRemoteLocationConstraints.PortPairRemoteLocation 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 InterconnectRemoteLocationConstraints.PortPairRemoteLocation valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InterconnectRemoteLocationConstraints.PortPairRemoteLocation forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InterconnectRemoteLocationConstraints.PortPairRemoteLocation> 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 InterconnectRemoteLocationConstraints.PortPairRemoteLocation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.