Class InterconnectLocation.Builder (1.65.0)

public static final class InterconnectLocation.Builder extends GeneratedMessageV3.Builder<InterconnectLocation.Builder> 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 Methods

getDescriptor()

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

Methods

addAllAvailableFeatures(Iterable<String> values)

public InterconnectLocation.Builder addAllAvailableFeatures(Iterable<String> values)

[Output only] List of features available at this InterconnectLocation, which can take one of the following values: - IF_MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameter
Name Description
values Iterable<String>

The availableFeatures to add.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

addAllAvailableLinkTypes(Iterable<String> values)

public InterconnectLocation.Builder addAllAvailableLinkTypes(Iterable<String> values)

[Output only] List of link types available at this InterconnectLocation, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR - LINK_TYPE_ETHERNET_100G_LR Check the AvailableLinkTypes enum for the list of possible values.

repeated string available_link_types = 509504298;

Parameter
Name Description
values Iterable<String>

The availableLinkTypes to add.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

addAllRegionInfos(Iterable<? extends InterconnectLocationRegionInfo> values)

public InterconnectLocation.Builder addAllRegionInfos(Iterable<? extends InterconnectLocationRegionInfo> values)

[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
Name Description
values Iterable<? extends com.google.cloud.compute.v1.InterconnectLocationRegionInfo>
Returns
Type Description
InterconnectLocation.Builder

addAvailableFeatures(String value)

public InterconnectLocation.Builder addAvailableFeatures(String value)

[Output only] List of features available at this InterconnectLocation, which can take one of the following values: - IF_MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameter
Name Description
value String

The availableFeatures to add.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

addAvailableFeaturesBytes(ByteString value)

public InterconnectLocation.Builder addAvailableFeaturesBytes(ByteString value)

[Output only] List of features available at this InterconnectLocation, which can take one of the following values: - IF_MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameter
Name Description
value ByteString

The bytes of the availableFeatures to add.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

addAvailableLinkTypes(String value)

public InterconnectLocation.Builder addAvailableLinkTypes(String value)

[Output only] List of link types available at this InterconnectLocation, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR - LINK_TYPE_ETHERNET_100G_LR Check the AvailableLinkTypes enum for the list of possible values.

repeated string available_link_types = 509504298;

Parameter
Name Description
value String

The availableLinkTypes to add.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

addAvailableLinkTypesBytes(ByteString value)

public InterconnectLocation.Builder addAvailableLinkTypesBytes(ByteString value)

[Output only] List of link types available at this InterconnectLocation, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR - LINK_TYPE_ETHERNET_100G_LR Check the AvailableLinkTypes enum for the list of possible values.

repeated string available_link_types = 509504298;

Parameter
Name Description
value ByteString

The bytes of the availableLinkTypes to add.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

addRegionInfos(InterconnectLocationRegionInfo value)

public InterconnectLocation.Builder addRegionInfos(InterconnectLocationRegionInfo value)

[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
Name Description
value InterconnectLocationRegionInfo
Returns
Type Description
InterconnectLocation.Builder

addRegionInfos(InterconnectLocationRegionInfo.Builder builderForValue)

public InterconnectLocation.Builder addRegionInfos(InterconnectLocationRegionInfo.Builder builderForValue)

[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
Name Description
builderForValue InterconnectLocationRegionInfo.Builder
Returns
Type Description
InterconnectLocation.Builder

addRegionInfos(int index, InterconnectLocationRegionInfo value)

public InterconnectLocation.Builder addRegionInfos(int index, InterconnectLocationRegionInfo value)

[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;

Parameters
Name Description
index int
value InterconnectLocationRegionInfo
Returns
Type Description
InterconnectLocation.Builder

addRegionInfos(int index, InterconnectLocationRegionInfo.Builder builderForValue)

public InterconnectLocation.Builder addRegionInfos(int index, InterconnectLocationRegionInfo.Builder builderForValue)

[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;

Parameters
Name Description
index int
builderForValue InterconnectLocationRegionInfo.Builder
Returns
Type Description
InterconnectLocation.Builder

addRegionInfosBuilder()

public InterconnectLocationRegionInfo.Builder addRegionInfosBuilder()

[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
Type Description
InterconnectLocationRegionInfo.Builder

addRegionInfosBuilder(int index)

public InterconnectLocationRegionInfo.Builder addRegionInfosBuilder(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
Name Description
index int
Returns
Type Description
InterconnectLocationRegionInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InterconnectLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InterconnectLocation.Builder
Overrides

build()

public InterconnectLocation build()
Returns
Type Description
InterconnectLocation

buildPartial()

public InterconnectLocation buildPartial()
Returns
Type Description
InterconnectLocation

clear()

public InterconnectLocation.Builder clear()
Returns
Type Description
InterconnectLocation.Builder
Overrides

clearAddress()

public InterconnectLocation.Builder clearAddress()

[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
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearAvailabilityZone()

public InterconnectLocation.Builder clearAvailabilityZone()

[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
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearAvailableFeatures()

public InterconnectLocation.Builder clearAvailableFeatures()

[Output only] List of features available at this InterconnectLocation, which can take one of the following values: - IF_MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearAvailableLinkTypes()

public InterconnectLocation.Builder clearAvailableLinkTypes()

[Output only] List of link types available at this InterconnectLocation, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR - LINK_TYPE_ETHERNET_100G_LR Check the AvailableLinkTypes enum for the list of possible values.

repeated string available_link_types = 509504298;

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearCity()

public InterconnectLocation.Builder clearCity()

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

optional string city = 3053931;

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearContinent()

public InterconnectLocation.Builder clearContinent()

[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
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearCreationTimestamp()

public InterconnectLocation.Builder clearCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearDescription()

public InterconnectLocation.Builder clearDescription()

[Output Only] An optional description of the resource.

optional string description = 422937596;

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearFacilityProvider()

public InterconnectLocation.Builder clearFacilityProvider()

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

optional string facility_provider = 533303309;

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearFacilityProviderFacilityId()

public InterconnectLocation.Builder clearFacilityProviderFacilityId()

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

optional string facility_provider_facility_id = 87269125;

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InterconnectLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InterconnectLocation.Builder
Overrides

clearId()

public InterconnectLocation.Builder clearId()

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

optional uint64 id = 3355;

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearKind()

public InterconnectLocation.Builder clearKind()

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

optional string kind = 3292052;

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearName()

public InterconnectLocation.Builder clearName()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InterconnectLocation.Builder
Overrides

clearPeeringdbFacilityId()

public InterconnectLocation.Builder clearPeeringdbFacilityId()

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

optional string peeringdb_facility_id = 536567094;

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearRegionInfos()

public InterconnectLocation.Builder clearRegionInfos()

[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
Type Description
InterconnectLocation.Builder
public InterconnectLocation.Builder clearSelfLink()

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

optional string self_link = 456214797;

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearStatus()

public InterconnectLocation.Builder clearStatus()

[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
Type Description
InterconnectLocation.Builder

This builder for chaining.

clearSupportsPzs()

public InterconnectLocation.Builder clearSupportsPzs()

[Output Only] Reserved for future use.

optional bool supports_pzs = 83983214;

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

clone()

public InterconnectLocation.Builder clone()
Returns
Type Description
InterconnectLocation.Builder
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for availabilityZone.

getAvailableFeatures(int index)

public String getAvailableFeatures(int index)

[Output only] List of features available at this InterconnectLocation, which can take one of the following values: - IF_MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The availableFeatures at the given index.

getAvailableFeaturesBytes(int index)

public ByteString getAvailableFeaturesBytes(int index)

[Output only] List of features available at this InterconnectLocation, which can take one of the following values: - IF_MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the availableFeatures at the given index.

getAvailableFeaturesCount()

public int getAvailableFeaturesCount()

[Output only] List of features available at this InterconnectLocation, which can take one of the following values: - IF_MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Returns
Type Description
int

The count of availableFeatures.

getAvailableFeaturesList()

public ProtocolStringList getAvailableFeaturesList()

[Output only] List of features available at this InterconnectLocation, which can take one of the following values: - IF_MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Returns
Type Description
ProtocolStringList

A list containing the availableFeatures.

getAvailableLinkTypes(int index)

public String getAvailableLinkTypes(int index)

[Output only] List of link types available at this InterconnectLocation, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR - LINK_TYPE_ETHERNET_100G_LR Check the AvailableLinkTypes enum for the list of possible values.

repeated string available_link_types = 509504298;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The availableLinkTypes at the given index.

getAvailableLinkTypesBytes(int index)

public ByteString getAvailableLinkTypesBytes(int index)

[Output only] List of link types available at this InterconnectLocation, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR - LINK_TYPE_ETHERNET_100G_LR Check the AvailableLinkTypes enum for the list of possible values.

repeated string available_link_types = 509504298;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the availableLinkTypes at the given index.

getAvailableLinkTypesCount()

public int getAvailableLinkTypesCount()

[Output only] List of link types available at this InterconnectLocation, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR - LINK_TYPE_ETHERNET_100G_LR Check the AvailableLinkTypes enum for the list of possible values.

repeated string available_link_types = 509504298;

Returns
Type Description
int

The count of availableLinkTypes.

getAvailableLinkTypesList()

public ProtocolStringList getAvailableLinkTypesList()

[Output only] List of link types available at this InterconnectLocation, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR - LINK_TYPE_ETHERNET_100G_LR Check the AvailableLinkTypes enum for the list of possible values.

repeated string available_link_types = 509504298;

Returns
Type Description
ProtocolStringList

A list containing the availableLinkTypes.

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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for continent.

getCreationTimestamp()

public String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getDefaultInstanceForType()

public InterconnectLocation getDefaultInstanceForType()
Returns
Type Description
InterconnectLocation

getDescription()

public String getDescription()

[Output Only] An optional description of the resource.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

[Output Only] An optional description of the resource.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFacilityProvider()

public String getFacilityProvider()

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

optional string facility_provider = 533303309;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
long

The id.

getKind()

public String getKind()

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

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

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

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getName()

public String getName()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
InterconnectLocationRegionInfo

getRegionInfosBuilder(int index)

public InterconnectLocationRegionInfo.Builder getRegionInfosBuilder(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
Name Description
index int
Returns
Type Description
InterconnectLocationRegionInfo.Builder

getRegionInfosBuilderList()

public List<InterconnectLocationRegionInfo.Builder> getRegionInfosBuilderList()

[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
Type Description
List<Builder>

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
String

The selfLink.

getSelfLinkBytes()

public ByteString getSelfLinkBytes()

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

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

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
Type Description
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
Type Description
ByteString

The bytes for status.

getSupportsPzs()

public boolean getSupportsPzs()

[Output Only] Reserved for future use.

optional bool supports_pzs = 83983214;

Returns
Type Description
boolean

The supportsPzs.

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the creationTimestamp field is set.

hasDescription()

public boolean hasDescription()

[Output Only] An optional description of the resource.

optional string description = 422937596;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the kind field is set.

hasName()

public boolean hasName()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
Type Description
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
Type Description
boolean

Whether the peeringdbFacilityId field is set.

public boolean hasSelfLink()

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

optional string self_link = 456214797;

Returns
Type Description
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
Type Description
boolean

Whether the status field is set.

hasSupportsPzs()

public boolean hasSupportsPzs()

[Output Only] Reserved for future use.

optional bool supports_pzs = 83983214;

Returns
Type Description
boolean

Whether the supportsPzs field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectLocation other)

public InterconnectLocation.Builder mergeFrom(InterconnectLocation other)
Parameter
Name Description
other InterconnectLocation
Returns
Type Description
InterconnectLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectLocation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InterconnectLocation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InterconnectLocation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InterconnectLocation.Builder
Overrides

removeRegionInfos(int index)

public InterconnectLocation.Builder removeRegionInfos(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
Name Description
index int
Returns
Type Description
InterconnectLocation.Builder

setAddress(String value)

public InterconnectLocation.Builder setAddress(String value)

[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;

Parameter
Name Description
value String

The address to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setAddressBytes(ByteString value)

public InterconnectLocation.Builder setAddressBytes(ByteString value)

[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;

Parameter
Name Description
value ByteString

The bytes for address to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setAvailabilityZone(String value)

public InterconnectLocation.Builder setAvailabilityZone(String value)

[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;

Parameter
Name Description
value String

The availabilityZone to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setAvailabilityZoneBytes(ByteString value)

public InterconnectLocation.Builder setAvailabilityZoneBytes(ByteString value)

[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;

Parameter
Name Description
value ByteString

The bytes for availabilityZone to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setAvailableFeatures(int index, String value)

public InterconnectLocation.Builder setAvailableFeatures(int index, String value)

[Output only] List of features available at this InterconnectLocation, which can take one of the following values: - IF_MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameters
Name Description
index int

The index to set the value at.

value String

The availableFeatures to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setAvailableLinkTypes(int index, String value)

public InterconnectLocation.Builder setAvailableLinkTypes(int index, String value)

[Output only] List of link types available at this InterconnectLocation, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR - LINK_TYPE_ETHERNET_100G_LR Check the AvailableLinkTypes enum for the list of possible values.

repeated string available_link_types = 509504298;

Parameters
Name Description
index int

The index to set the value at.

value String

The availableLinkTypes to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setCity(String value)

public InterconnectLocation.Builder setCity(String value)

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

optional string city = 3053931;

Parameter
Name Description
value String

The city to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setCityBytes(ByteString value)

public InterconnectLocation.Builder setCityBytes(ByteString value)

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

optional string city = 3053931;

Parameter
Name Description
value ByteString

The bytes for city to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setContinent(String value)

public InterconnectLocation.Builder setContinent(String value)

[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;

Parameter
Name Description
value String

The continent to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setContinentBytes(ByteString value)

public InterconnectLocation.Builder setContinentBytes(ByteString value)

[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;

Parameter
Name Description
value ByteString

The bytes for continent to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setCreationTimestamp(String value)

public InterconnectLocation.Builder setCreationTimestamp(String value)

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
Name Description
value String

The creationTimestamp to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setCreationTimestampBytes(ByteString value)

public InterconnectLocation.Builder setCreationTimestampBytes(ByteString value)

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
Name Description
value ByteString

The bytes for creationTimestamp to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setDescription(String value)

public InterconnectLocation.Builder setDescription(String value)

[Output Only] An optional description of the resource.

optional string description = 422937596;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public InterconnectLocation.Builder setDescriptionBytes(ByteString value)

[Output Only] An optional description of the resource.

optional string description = 422937596;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setFacilityProvider(String value)

public InterconnectLocation.Builder setFacilityProvider(String value)

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

optional string facility_provider = 533303309;

Parameter
Name Description
value String

The facilityProvider to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setFacilityProviderBytes(ByteString value)

public InterconnectLocation.Builder setFacilityProviderBytes(ByteString value)

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

optional string facility_provider = 533303309;

Parameter
Name Description
value ByteString

The bytes for facilityProvider to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setFacilityProviderFacilityId(String value)

public InterconnectLocation.Builder setFacilityProviderFacilityId(String value)

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

optional string facility_provider_facility_id = 87269125;

Parameter
Name Description
value String

The facilityProviderFacilityId to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setFacilityProviderFacilityIdBytes(ByteString value)

public InterconnectLocation.Builder setFacilityProviderFacilityIdBytes(ByteString value)

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

optional string facility_provider_facility_id = 87269125;

Parameter
Name Description
value ByteString

The bytes for facilityProviderFacilityId to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InterconnectLocation.Builder
Overrides

setId(long value)

public InterconnectLocation.Builder setId(long value)

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

optional uint64 id = 3355;

Parameter
Name Description
value long

The id to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setKind(String value)

public InterconnectLocation.Builder setKind(String value)

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

optional string kind = 3292052;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setKindBytes(ByteString value)

public InterconnectLocation.Builder setKindBytes(ByteString value)

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

optional string kind = 3292052;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setName(String value)

public InterconnectLocation.Builder setName(String value)

[Output Only] Name of the resource.

optional string name = 3373707;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setNameBytes(ByteString value)

public InterconnectLocation.Builder setNameBytes(ByteString value)

[Output Only] Name of the resource.

optional string name = 3373707;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setPeeringdbFacilityId(String value)

public InterconnectLocation.Builder setPeeringdbFacilityId(String value)

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

optional string peeringdb_facility_id = 536567094;

Parameter
Name Description
value String

The peeringdbFacilityId to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setPeeringdbFacilityIdBytes(ByteString value)

public InterconnectLocation.Builder setPeeringdbFacilityIdBytes(ByteString value)

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

optional string peeringdb_facility_id = 536567094;

Parameter
Name Description
value ByteString

The bytes for peeringdbFacilityId to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setRegionInfos(int index, InterconnectLocationRegionInfo value)

public InterconnectLocation.Builder setRegionInfos(int index, InterconnectLocationRegionInfo value)

[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;

Parameters
Name Description
index int
value InterconnectLocationRegionInfo
Returns
Type Description
InterconnectLocation.Builder

setRegionInfos(int index, InterconnectLocationRegionInfo.Builder builderForValue)

public InterconnectLocation.Builder setRegionInfos(int index, InterconnectLocationRegionInfo.Builder builderForValue)

[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;

Parameters
Name Description
index int
builderForValue InterconnectLocationRegionInfo.Builder
Returns
Type Description
InterconnectLocation.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InterconnectLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InterconnectLocation.Builder
Overrides
public InterconnectLocation.Builder setSelfLink(String value)

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

optional string self_link = 456214797;

Parameter
Name Description
value String

The selfLink to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setSelfLinkBytes(ByteString value)

public InterconnectLocation.Builder setSelfLinkBytes(ByteString value)

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

optional string self_link = 456214797;

Parameter
Name Description
value ByteString

The bytes for selfLink to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setStatus(String value)

public InterconnectLocation.Builder setStatus(String value)

[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;

Parameter
Name Description
value String

The status to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public InterconnectLocation.Builder setStatusBytes(ByteString value)

[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;

Parameter
Name Description
value ByteString

The bytes for status to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setSupportsPzs(boolean value)

public InterconnectLocation.Builder setSupportsPzs(boolean value)

[Output Only] Reserved for future use.

optional bool supports_pzs = 83983214;

Parameter
Name Description
value boolean

The supportsPzs to set.

Returns
Type Description
InterconnectLocation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InterconnectLocation.Builder
Overrides