Class InterconnectLocation (1.21.0)

public final class InterconnectLocation extends GeneratedMessageV3 implements InterconnectLocationOrBuilder

Represents an Interconnect Attachment (VLAN) Location resource. You can use this resource to find location details about an Interconnect attachment (VLAN). For more information about interconnect attachments, read Creating VLAN Attachments.

Protobuf type google.cloud.compute.v1.InterconnectLocation

Static Fields

ADDRESS_FIELD_NUMBER

public static final int ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

AVAILABILITY_ZONE_FIELD_NUMBER

public static final int AVAILABILITY_ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

CITY_FIELD_NUMBER

public static final int CITY_FIELD_NUMBER
Field Value
TypeDescription
int

CONTINENT_FIELD_NUMBER

public static final int CONTINENT_FIELD_NUMBER
Field Value
TypeDescription
int

CREATION_TIMESTAMP_FIELD_NUMBER

public static final int CREATION_TIMESTAMP_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

FACILITY_PROVIDER_FACILITY_ID_FIELD_NUMBER

public static final int FACILITY_PROVIDER_FACILITY_ID_FIELD_NUMBER
Field Value
TypeDescription
int

FACILITY_PROVIDER_FIELD_NUMBER

public static final int FACILITY_PROVIDER_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PEERINGDB_FACILITY_ID_FIELD_NUMBER

public static final int PEERINGDB_FACILITY_ID_FIELD_NUMBER
Field Value
TypeDescription
int

REGION_INFOS_FIELD_NUMBER

public static final int REGION_INFOS_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int SELF_LINK_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORTS_PZS_FIELD_NUMBER

public static final int SUPPORTS_PZS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InterconnectLocation getDefaultInstance()
Returns
TypeDescription
InterconnectLocation

getDescriptor()

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

newBuilder()

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

newBuilder(InterconnectLocation prototype)

public static InterconnectLocation.Builder newBuilder(InterconnectLocation prototype)
Parameter
NameDescription
prototypeInterconnectLocation
Returns
TypeDescription
InterconnectLocation.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAddress()

public String getAddress()

[Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.

optional string address = 462920692;

Returns
TypeDescription
String

The address.

getAddressBytes()

public ByteString getAddressBytes()

[Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.

optional string address = 462920692;

Returns
TypeDescription
ByteString

The bytes for address.

getAvailabilityZone()

public String getAvailabilityZone()

[Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2".

optional string availability_zone = 158459920;

Returns
TypeDescription
String

The availabilityZone.

getAvailabilityZoneBytes()

public ByteString getAvailabilityZoneBytes()

[Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2".

optional string availability_zone = 158459920;

Returns
TypeDescription
ByteString

The bytes for availabilityZone.

getCity()

public String getCity()

[Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".

optional string city = 3053931;

Returns
TypeDescription
String

The city.

getCityBytes()

public ByteString getCityBytes()

[Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".

optional string city = 3053931;

Returns
TypeDescription
ByteString

The bytes for city.

getContinent()

public String getContinent()

[Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA Check the Continent enum for the list of possible values.

optional string continent = 133442996;

Returns
TypeDescription
String

The continent.

getContinentBytes()

public ByteString getContinentBytes()

[Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA Check the Continent enum for the list of possible values.

optional string continent = 133442996;

Returns
TypeDescription
ByteString

The bytes for continent.

getCreationTimestamp()

public String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
String

The creationTimestamp.

getCreationTimestampBytes()

public ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
ByteString

The bytes for creationTimestamp.

getDefaultInstanceForType()

public InterconnectLocation getDefaultInstanceForType()
Returns
TypeDescription
InterconnectLocation

getDescription()

public String getDescription()

[Output Only] An optional description of the resource.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

[Output Only] An optional description of the resource.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getFacilityProvider()

public String getFacilityProvider()

[Output Only] The name of the provider for this facility (e.g., EQUINIX).

optional string facility_provider = 533303309;

Returns
TypeDescription
String

The facilityProvider.

getFacilityProviderBytes()

public ByteString getFacilityProviderBytes()

[Output Only] The name of the provider for this facility (e.g., EQUINIX).

optional string facility_provider = 533303309;

Returns
TypeDescription
ByteString

The bytes for facilityProvider.

getFacilityProviderFacilityId()

public String getFacilityProviderFacilityId()

[Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).

optional string facility_provider_facility_id = 87269125;

Returns
TypeDescription
String

The facilityProviderFacilityId.

getFacilityProviderFacilityIdBytes()

public ByteString getFacilityProviderFacilityIdBytes()

[Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).

optional string facility_provider_facility_id = 87269125;

Returns
TypeDescription
ByteString

The bytes for facilityProviderFacilityId.

getId()

public long getId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
TypeDescription
long

The id.

getKind()

public String getKind()

[Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations.

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public ByteString getKindBytes()

[Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations.

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

getName()

public String getName()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<InterconnectLocation> getParserForType()
Returns
TypeDescription
Parser<InterconnectLocation>
Overrides

getPeeringdbFacilityId()

public String getPeeringdbFacilityId()

[Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).

optional string peeringdb_facility_id = 536567094;

Returns
TypeDescription
String

The peeringdbFacilityId.

getPeeringdbFacilityIdBytes()

public ByteString getPeeringdbFacilityIdBytes()

[Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).

optional string peeringdb_facility_id = 536567094;

Returns
TypeDescription
ByteString

The bytes for peeringdbFacilityId.

getRegionInfos(int index)

public InterconnectLocationRegionInfo getRegionInfos(int index)

[Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.

repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectLocationRegionInfo

getRegionInfosCount()

public int getRegionInfosCount()

[Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.

repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;

Returns
TypeDescription
int

getRegionInfosList()

public List<InterconnectLocationRegionInfo> getRegionInfosList()

[Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.

repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;

Returns
TypeDescription
List<InterconnectLocationRegionInfo>

getRegionInfosOrBuilder(int index)

public InterconnectLocationRegionInfoOrBuilder getRegionInfosOrBuilder(int index)

[Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.

repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectLocationRegionInfoOrBuilder

getRegionInfosOrBuilderList()

public List<? extends InterconnectLocationRegionInfoOrBuilder> getRegionInfosOrBuilderList()

[Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.

repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.InterconnectLocationRegionInfoOrBuilder>
public String getSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
String

The selfLink.

getSelfLinkBytes()

public ByteString getSelfLinkBytes()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
ByteString

The bytes for selfLink.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatus()

public String getStatus()

[Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

[Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
ByteString

The bytes for status.

getSupportsPzs()

public boolean getSupportsPzs()

[Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present.

optional bool supports_pzs = 83983214;

Returns
TypeDescription
boolean

The supportsPzs.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAddress()

public boolean hasAddress()

[Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.

optional string address = 462920692;

Returns
TypeDescription
boolean

Whether the address field is set.

hasAvailabilityZone()

public boolean hasAvailabilityZone()

[Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2".

optional string availability_zone = 158459920;

Returns
TypeDescription
boolean

Whether the availabilityZone field is set.

hasCity()

public boolean hasCity()

[Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".

optional string city = 3053931;

Returns
TypeDescription
boolean

Whether the city field is set.

hasContinent()

public boolean hasContinent()

[Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA Check the Continent enum for the list of possible values.

optional string continent = 133442996;

Returns
TypeDescription
boolean

Whether the continent field is set.

hasCreationTimestamp()

public boolean hasCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
boolean

Whether the creationTimestamp field is set.

hasDescription()

public boolean hasDescription()

[Output Only] An optional description of the resource.

optional string description = 422937596;

Returns
TypeDescription
boolean

Whether the description field is set.

hasFacilityProvider()

public boolean hasFacilityProvider()

[Output Only] The name of the provider for this facility (e.g., EQUINIX).

optional string facility_provider = 533303309;

Returns
TypeDescription
boolean

Whether the facilityProvider field is set.

hasFacilityProviderFacilityId()

public boolean hasFacilityProviderFacilityId()

[Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).

optional string facility_provider_facility_id = 87269125;

Returns
TypeDescription
boolean

Whether the facilityProviderFacilityId field is set.

hasId()

public boolean hasId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
TypeDescription
boolean

Whether the id field is set.

hasKind()

public boolean hasKind()

[Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations.

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind field is set.

hasName()

public boolean hasName()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasPeeringdbFacilityId()

public boolean hasPeeringdbFacilityId()

[Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).

optional string peeringdb_facility_id = 536567094;

Returns
TypeDescription
boolean

Whether the peeringdbFacilityId field is set.

public boolean hasSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
boolean

Whether the selfLink field is set.

hasStatus()

public boolean hasStatus()

[Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
boolean

Whether the status field is set.

hasSupportsPzs()

public boolean hasSupportsPzs()

[Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present.

optional bool supports_pzs = 83983214;

Returns
TypeDescription
boolean

Whether the supportsPzs 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 InterconnectLocation.Builder newBuilderForType()
Returns
TypeDescription
InterconnectLocation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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