Class InterconnectLocation.Builder (1.51.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
TypeDescription
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: - MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameter
NameDescription
valuesIterable<String>

The availableFeatures to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The availableLinkTypes to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.InterconnectLocationRegionInfo>
Returns
TypeDescription
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: - MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameter
NameDescription
valueString

The availableFeatures to add.

Returns
TypeDescription
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: - MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameter
NameDescription
valueByteString

The bytes of the availableFeatures to add.

Returns
TypeDescription
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
NameDescription
valueString

The availableLinkTypes to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the availableLinkTypes to add.

Returns
TypeDescription
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
NameDescription
valueInterconnectLocationRegionInfo
Returns
TypeDescription
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
NameDescription
builderForValueInterconnectLocationRegionInfo.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInterconnectLocationRegionInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInterconnectLocationRegionInfo.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InterconnectLocationRegionInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InterconnectLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InterconnectLocation.Builder
Overrides

build()

public InterconnectLocation build()
Returns
TypeDescription
InterconnectLocation

buildPartial()

public InterconnectLocation buildPartial()
Returns
TypeDescription
InterconnectLocation

clear()

public InterconnectLocation.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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: - MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InterconnectLocation.Builder

This builder for chaining.

clearDescription()

public InterconnectLocation.Builder clearDescription()

[Output Only] An optional description of the resource.

optional string description = 422937596;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
InterconnectLocation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InterconnectLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
InterconnectLocation.Builder

This builder for chaining.

clearName()

public InterconnectLocation.Builder clearName()

[Output Only] Name of the resource.

optional string name = 3373707;

Returns
TypeDescription
InterconnectLocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
InterconnectLocation.Builder
public InterconnectLocation.Builder clearSelfLink()

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

optional string self_link = 456214797;

Returns
TypeDescription
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
TypeDescription
InterconnectLocation.Builder

This builder for chaining.

clearSupportsPzs()

public InterconnectLocation.Builder clearSupportsPzs()

[Output Only] Reserved for future use.

optional bool supports_pzs = 83983214;

Returns
TypeDescription
InterconnectLocation.Builder

This builder for chaining.

clone()

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

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: - MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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: - MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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: - MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Returns
TypeDescription
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: - MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

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

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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.

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] Reserved for future use.

optional bool supports_pzs = 83983214;

Returns
TypeDescription
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
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] Reserved for future use.

optional bool supports_pzs = 83983214;

Returns
TypeDescription
boolean

Whether the supportsPzs field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectLocation other)

public InterconnectLocation.Builder mergeFrom(InterconnectLocation other)
Parameter
NameDescription
otherInterconnectLocation
Returns
TypeDescription
InterconnectLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectLocation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InterconnectLocation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InterconnectLocation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The address to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for address to set.

Returns
TypeDescription
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
NameDescription
valueString

The availabilityZone to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for availabilityZone to set.

Returns
TypeDescription
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: - MACSEC Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The availableFeatures to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The availableLinkTypes to set.

Returns
TypeDescription
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
NameDescription
valueString

The city to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for city to set.

Returns
TypeDescription
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
NameDescription
valueString

The continent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for continent to set.

Returns
TypeDescription
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
NameDescription
valueString

The creationTimestamp to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for creationTimestamp to set.

Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueString

The facilityProvider to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for facilityProvider to set.

Returns
TypeDescription
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
NameDescription
valueString

The facilityProviderFacilityId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for facilityProviderFacilityId to set.

Returns
TypeDescription
InterconnectLocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The id to set.

Returns
TypeDescription
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
NameDescription
valueString

The kind to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for kind to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The peeringdbFacilityId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for peeringdbFacilityId to set.

Returns
TypeDescription
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
NameDescription
indexint
valueInterconnectLocationRegionInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInterconnectLocationRegionInfo.Builder
Returns
TypeDescription
InterconnectLocation.Builder

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

public InterconnectLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InterconnectLocation.Builder
Overrides
public InterconnectLocation.Builder setSelfLink(String value)

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

optional string self_link = 456214797;

Parameter
NameDescription
valueString

The selfLink to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for selfLink to set.

Returns
TypeDescription
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
NameDescription
valueString

The status to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for status to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The supportsPzs to set.

Returns
TypeDescription
InterconnectLocation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InterconnectLocation.Builder
Overrides