public final class InterconnectRemoteLocationConstraints extends GeneratedMessageV3 implements InterconnectRemoteLocationConstraintsOrBuilder
Protobuf type google.cloud.compute.v1.InterconnectRemoteLocationConstraints
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PORT_PAIR_REMOTE_LOCATION_FIELD_NUMBER
public static final int PORT_PAIR_REMOTE_LOCATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PORT_PAIR_VLAN_FIELD_NUMBER
public static final int PORT_PAIR_VLAN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUBNET_LENGTH_RANGE_FIELD_NUMBER
public static final int SUBNET_LENGTH_RANGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static InterconnectRemoteLocationConstraints getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InterconnectRemoteLocationConstraints.Builder newBuilder()
newBuilder(InterconnectRemoteLocationConstraints prototype)
public static InterconnectRemoteLocationConstraints.Builder newBuilder(InterconnectRemoteLocationConstraints prototype)
public static InterconnectRemoteLocationConstraints parseDelimitedFrom(InputStream input)
public static InterconnectRemoteLocationConstraints parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InterconnectRemoteLocationConstraints parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InterconnectRemoteLocationConstraints parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InterconnectRemoteLocationConstraints parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InterconnectRemoteLocationConstraints parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InterconnectRemoteLocationConstraints parseFrom(CodedInputStream input)
public static InterconnectRemoteLocationConstraints parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InterconnectRemoteLocationConstraints parseFrom(InputStream input)
public static InterconnectRemoteLocationConstraints parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InterconnectRemoteLocationConstraints parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InterconnectRemoteLocationConstraints parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InterconnectRemoteLocationConstraints> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public InterconnectRemoteLocationConstraints getDefaultInstanceForType()
getParserForType()
public Parser<InterconnectRemoteLocationConstraints> getParserForType()
Overrides
getPortPairRemoteLocation()
public 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. 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.
Check the PortPairRemoteLocation enum for the list of possible values.
optional string port_pair_remote_location = 495917351;
Returns |
Type |
Description |
String |
The portPairRemoteLocation.
|
getPortPairRemoteLocationBytes()
public 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. 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.
Check the PortPairRemoteLocation enum for the list of possible values.
optional string port_pair_remote_location = 495917351;
Returns |
Type |
Description |
ByteString |
The bytes for portPairRemoteLocation.
|
getPortPairVlan()
public 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 |
Type |
Description |
String |
The portPairVlan.
|
getPortPairVlanBytes()
public 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 |
Type |
Description |
ByteString |
The bytes for portPairVlan.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSubnetLengthRange()
public 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;
getSubnetLengthRangeOrBuilder()
public 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;
hasPortPairRemoteLocation()
public 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. 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.
Check the PortPairRemoteLocation enum for the list of possible values.
optional string port_pair_remote_location = 495917351;
Returns |
Type |
Description |
boolean |
Whether the portPairRemoteLocation field is set.
|
hasPortPairVlan()
public 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 |
Type |
Description |
boolean |
Whether the portPairVlan field is set.
|
hasSubnetLengthRange()
public 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 |
Type |
Description |
boolean |
Whether the subnetLengthRange field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InterconnectRemoteLocationConstraints.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InterconnectRemoteLocationConstraints.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public InterconnectRemoteLocationConstraints.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides