Interface InterconnectRemoteLocationConstraintsOrBuilder (1.51.0)

public interface InterconnectRemoteLocationConstraintsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPortPairRemoteLocation()

public abstract String getPortPairRemoteLocation()

[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. GCP's 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. Check the PortPairRemoteLocation enum for the list of possible values.

optional string port_pair_remote_location = 495917351;

Returns
TypeDescription
String

The portPairRemoteLocation.

getPortPairRemoteLocationBytes()

public abstract ByteString getPortPairRemoteLocationBytes()

[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. GCP's 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. Check the PortPairRemoteLocation enum for the list of possible values.

optional string port_pair_remote_location = 495917351;

Returns
TypeDescription
ByteString

The bytes for portPairRemoteLocation.

getPortPairVlan()

public abstract String getPortPairVlan()

[Output Only] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN Check the PortPairVlan enum for the list of possible values.

optional string port_pair_vlan = 478214506;

Returns
TypeDescription
String

The portPairVlan.

getPortPairVlanBytes()

public abstract ByteString getPortPairVlanBytes()

[Output Only] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN Check the PortPairVlan enum for the list of possible values.

optional string port_pair_vlan = 478214506;

Returns
TypeDescription
ByteString

The bytes for portPairVlan.

getSubnetLengthRange()

public abstract InterconnectRemoteLocationConstraintsSubnetLengthRange getSubnetLengthRange()

[Output Only] [min-length, max-length] The minimum and maximum value (inclusive) for the IPv4 subnet length. For example, an interconnectRemoteLocation for Azure has {min: 30, max: 30} because Azure requires /30 subnets. This range specifies the values supported by both cloud providers. Interconnect currently supports /29 and /30 IPv4 subnet lengths. If a remote cloud has no constraint on IPv4 subnet length, the range would thus be {min: 29, max: 30}.

optional .google.cloud.compute.v1.InterconnectRemoteLocationConstraintsSubnetLengthRange subnet_length_range = 184473670;

Returns
TypeDescription
InterconnectRemoteLocationConstraintsSubnetLengthRange

The subnetLengthRange.

getSubnetLengthRangeOrBuilder()

public abstract InterconnectRemoteLocationConstraintsSubnetLengthRangeOrBuilder getSubnetLengthRangeOrBuilder()

[Output Only] [min-length, max-length] The minimum and maximum value (inclusive) for the IPv4 subnet length. For example, an interconnectRemoteLocation for Azure has {min: 30, max: 30} because Azure requires /30 subnets. This range specifies the values supported by both cloud providers. Interconnect currently supports /29 and /30 IPv4 subnet lengths. If a remote cloud has no constraint on IPv4 subnet length, the range would thus be {min: 29, max: 30}.

optional .google.cloud.compute.v1.InterconnectRemoteLocationConstraintsSubnetLengthRange subnet_length_range = 184473670;

Returns
TypeDescription
InterconnectRemoteLocationConstraintsSubnetLengthRangeOrBuilder

hasPortPairRemoteLocation()

public abstract boolean hasPortPairRemoteLocation()

[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. GCP's 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. Check the PortPairRemoteLocation enum for the list of possible values.

optional string port_pair_remote_location = 495917351;

Returns
TypeDescription
boolean

Whether the portPairRemoteLocation field is set.

hasPortPairVlan()

public abstract boolean hasPortPairVlan()

[Output Only] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN Check the PortPairVlan enum for the list of possible values.

optional string port_pair_vlan = 478214506;

Returns
TypeDescription
boolean

Whether the portPairVlan field is set.

hasSubnetLengthRange()

public abstract boolean hasSubnetLengthRange()

[Output Only] [min-length, max-length] The minimum and maximum value (inclusive) for the IPv4 subnet length. For example, an interconnectRemoteLocation for Azure has {min: 30, max: 30} because Azure requires /30 subnets. This range specifies the values supported by both cloud providers. Interconnect currently supports /29 and /30 IPv4 subnet lengths. If a remote cloud has no constraint on IPv4 subnet length, the range would thus be {min: 29, max: 30}.

optional .google.cloud.compute.v1.InterconnectRemoteLocationConstraintsSubnetLengthRange subnet_length_range = 184473670;

Returns
TypeDescription
boolean

Whether the subnetLengthRange field is set.