Class InterconnectRemoteLocationConstraints (1.46.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
TypeDescription
int

PORT_PAIR_VLAN_FIELD_NUMBER

public static final int PORT_PAIR_VLAN_FIELD_NUMBER
Field Value
TypeDescription
int

SUBNET_LENGTH_RANGE_FIELD_NUMBER

public static final int SUBNET_LENGTH_RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InterconnectRemoteLocationConstraints getDefaultInstance()
Returns
TypeDescription
InterconnectRemoteLocationConstraints

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InterconnectRemoteLocationConstraints.Builder newBuilder()
Returns
TypeDescription
InterconnectRemoteLocationConstraints.Builder

newBuilder(InterconnectRemoteLocationConstraints prototype)

public static InterconnectRemoteLocationConstraints.Builder newBuilder(InterconnectRemoteLocationConstraints prototype)
Parameter
NameDescription
prototypeInterconnectRemoteLocationConstraints
Returns
TypeDescription
InterconnectRemoteLocationConstraints.Builder

parseDelimitedFrom(InputStream input)

public static InterconnectRemoteLocationConstraints parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InterconnectRemoteLocationConstraints
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectRemoteLocationConstraints parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectRemoteLocationConstraints
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InterconnectRemoteLocationConstraints parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InterconnectRemoteLocationConstraints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InterconnectRemoteLocationConstraints parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectRemoteLocationConstraints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InterconnectRemoteLocationConstraints parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InterconnectRemoteLocationConstraints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InterconnectRemoteLocationConstraints parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectRemoteLocationConstraints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InterconnectRemoteLocationConstraints parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InterconnectRemoteLocationConstraints
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectRemoteLocationConstraints parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectRemoteLocationConstraints
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InterconnectRemoteLocationConstraints parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InterconnectRemoteLocationConstraints
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectRemoteLocationConstraints parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectRemoteLocationConstraints
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InterconnectRemoteLocationConstraints parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InterconnectRemoteLocationConstraints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InterconnectRemoteLocationConstraints parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectRemoteLocationConstraints
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<InterconnectRemoteLocationConstraints> parser()
Returns
TypeDescription
Parser<InterconnectRemoteLocationConstraints>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public InterconnectRemoteLocationConstraints getDefaultInstanceForType()
Returns
TypeDescription
InterconnectRemoteLocationConstraints

getParserForType()

public Parser<InterconnectRemoteLocationConstraints> getParserForType()
Returns
TypeDescription
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. 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 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 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 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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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. 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 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 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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InterconnectRemoteLocationConstraints.Builder newBuilderForType()
Returns
TypeDescription
InterconnectRemoteLocationConstraints.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InterconnectRemoteLocationConstraints.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InterconnectRemoteLocationConstraints.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InterconnectRemoteLocationConstraints.Builder toBuilder()
Returns
TypeDescription
InterconnectRemoteLocationConstraints.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException