Class InterconnectRemoteLocationConstraints (1.64.0)

public final class InterconnectRemoteLocationConstraints extends GeneratedMessageV3 implements InterconnectRemoteLocationConstraintsOrBuilder

Protobuf type google.cloud.compute.v1.InterconnectRemoteLocationConstraints

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InterconnectRemoteLocationConstraints

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()
Returns
Type Description
InterconnectRemoteLocationConstraints

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static InterconnectRemoteLocationConstraints.Builder newBuilder()
Returns
Type Description
InterconnectRemoteLocationConstraints.Builder

newBuilder(InterconnectRemoteLocationConstraints prototype)

public static InterconnectRemoteLocationConstraints.Builder newBuilder(InterconnectRemoteLocationConstraints prototype)
Parameter
Name Description
prototype InterconnectRemoteLocationConstraints
Returns
Type Description
InterconnectRemoteLocationConstraints.Builder

parseDelimitedFrom(InputStream input)

public static InterconnectRemoteLocationConstraints parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectRemoteLocationConstraints
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectRemoteLocationConstraints parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectRemoteLocationConstraints
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InterconnectRemoteLocationConstraints parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InterconnectRemoteLocationConstraints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InterconnectRemoteLocationConstraints parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectRemoteLocationConstraints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InterconnectRemoteLocationConstraints parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InterconnectRemoteLocationConstraints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InterconnectRemoteLocationConstraints parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectRemoteLocationConstraints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InterconnectRemoteLocationConstraints parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InterconnectRemoteLocationConstraints
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectRemoteLocationConstraints parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectRemoteLocationConstraints
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InterconnectRemoteLocationConstraints parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectRemoteLocationConstraints
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectRemoteLocationConstraints parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectRemoteLocationConstraints
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InterconnectRemoteLocationConstraints parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InterconnectRemoteLocationConstraints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InterconnectRemoteLocationConstraints parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectRemoteLocationConstraints
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InterconnectRemoteLocationConstraints> parser()
Returns
Type Description
Parser<InterconnectRemoteLocationConstraints>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public InterconnectRemoteLocationConstraints getDefaultInstanceForType()
Returns
Type Description
InterconnectRemoteLocationConstraints

getParserForType()

public Parser<InterconnectRemoteLocationConstraints> getParserForType()
Returns
Type Description
Parser<InterconnectRemoteLocationConstraints>
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;

Returns
Type Description
InterconnectRemoteLocationConstraintsSubnetLengthRange

The subnetLengthRange.

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;

Returns
Type Description
InterconnectRemoteLocationConstraintsSubnetLengthRangeOrBuilder

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InterconnectRemoteLocationConstraints.Builder newBuilderForType()
Returns
Type Description
InterconnectRemoteLocationConstraints.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InterconnectRemoteLocationConstraints.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InterconnectRemoteLocationConstraints.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InterconnectRemoteLocationConstraints.Builder toBuilder()
Returns
Type Description
InterconnectRemoteLocationConstraints.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException