Class Interconnect.Builder (1.9.1)

public static final class Interconnect.Builder extends GeneratedMessageV3.Builder<Interconnect.Builder> implements InterconnectOrBuilder

Represents an Interconnect resource. An Interconnect resource is a dedicated connection between the GCP network and your on-premises network. For more information, read the Dedicated Interconnect Overview.

Protobuf type google.cloud.compute.v1.Interconnect

Static Methods

getDescriptor()

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

Methods

addAllCircuitInfos(Iterable<? extends InterconnectCircuitInfo> values)

public Interconnect.Builder addAllCircuitInfos(Iterable<? extends InterconnectCircuitInfo> values)

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.InterconnectCircuitInfo>
Returns
TypeDescription
Interconnect.Builder

addAllExpectedOutages(Iterable<? extends InterconnectOutageNotification> values)

public Interconnect.Builder addAllExpectedOutages(Iterable<? extends InterconnectOutageNotification> values)

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.InterconnectOutageNotification>
Returns
TypeDescription
Interconnect.Builder

addAllInterconnectAttachments(Iterable<String> values)

public Interconnect.Builder addAllInterconnectAttachments(Iterable<String> values)

[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.

repeated string interconnect_attachments = 425388415;

Parameter
NameDescription
valuesIterable<String>

The interconnectAttachments to add.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

addCircuitInfos(InterconnectCircuitInfo value)

public Interconnect.Builder addCircuitInfos(InterconnectCircuitInfo value)

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Parameter
NameDescription
valueInterconnectCircuitInfo
Returns
TypeDescription
Interconnect.Builder

addCircuitInfos(InterconnectCircuitInfo.Builder builderForValue)

public Interconnect.Builder addCircuitInfos(InterconnectCircuitInfo.Builder builderForValue)

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Parameter
NameDescription
builderForValueInterconnectCircuitInfo.Builder
Returns
TypeDescription
Interconnect.Builder

addCircuitInfos(int index, InterconnectCircuitInfo value)

public Interconnect.Builder addCircuitInfos(int index, InterconnectCircuitInfo value)

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Parameters
NameDescription
indexint
valueInterconnectCircuitInfo
Returns
TypeDescription
Interconnect.Builder

addCircuitInfos(int index, InterconnectCircuitInfo.Builder builderForValue)

public Interconnect.Builder addCircuitInfos(int index, InterconnectCircuitInfo.Builder builderForValue)

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Parameters
NameDescription
indexint
builderForValueInterconnectCircuitInfo.Builder
Returns
TypeDescription
Interconnect.Builder

addCircuitInfosBuilder()

public InterconnectCircuitInfo.Builder addCircuitInfosBuilder()

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Returns
TypeDescription
InterconnectCircuitInfo.Builder

addCircuitInfosBuilder(int index)

public InterconnectCircuitInfo.Builder addCircuitInfosBuilder(int index)

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectCircuitInfo.Builder

addExpectedOutages(InterconnectOutageNotification value)

public Interconnect.Builder addExpectedOutages(InterconnectOutageNotification value)

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Parameter
NameDescription
valueInterconnectOutageNotification
Returns
TypeDescription
Interconnect.Builder

addExpectedOutages(InterconnectOutageNotification.Builder builderForValue)

public Interconnect.Builder addExpectedOutages(InterconnectOutageNotification.Builder builderForValue)

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Parameter
NameDescription
builderForValueInterconnectOutageNotification.Builder
Returns
TypeDescription
Interconnect.Builder

addExpectedOutages(int index, InterconnectOutageNotification value)

public Interconnect.Builder addExpectedOutages(int index, InterconnectOutageNotification value)

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Parameters
NameDescription
indexint
valueInterconnectOutageNotification
Returns
TypeDescription
Interconnect.Builder

addExpectedOutages(int index, InterconnectOutageNotification.Builder builderForValue)

public Interconnect.Builder addExpectedOutages(int index, InterconnectOutageNotification.Builder builderForValue)

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Parameters
NameDescription
indexint
builderForValueInterconnectOutageNotification.Builder
Returns
TypeDescription
Interconnect.Builder

addExpectedOutagesBuilder()

public InterconnectOutageNotification.Builder addExpectedOutagesBuilder()

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Returns
TypeDescription
InterconnectOutageNotification.Builder

addExpectedOutagesBuilder(int index)

public InterconnectOutageNotification.Builder addExpectedOutagesBuilder(int index)

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectOutageNotification.Builder

addInterconnectAttachments(String value)

public Interconnect.Builder addInterconnectAttachments(String value)

[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.

repeated string interconnect_attachments = 425388415;

Parameter
NameDescription
valueString

The interconnectAttachments to add.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

addInterconnectAttachmentsBytes(ByteString value)

public Interconnect.Builder addInterconnectAttachmentsBytes(ByteString value)

[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.

repeated string interconnect_attachments = 425388415;

Parameter
NameDescription
valueByteString

The bytes of the interconnectAttachments to add.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Interconnect build()
Returns
TypeDescription
Interconnect

buildPartial()

public Interconnect buildPartial()
Returns
TypeDescription
Interconnect

clear()

public Interconnect.Builder clear()
Returns
TypeDescription
Interconnect.Builder
Overrides

clearAdminEnabled()

public Interconnect.Builder clearAdminEnabled()

Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true.

optional bool admin_enabled = 445675089;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearCircuitInfos()

public Interconnect.Builder clearCircuitInfos()

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Returns
TypeDescription
Interconnect.Builder

clearCreationTimestamp()

public Interconnect.Builder clearCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearCustomerName()

public Interconnect.Builder clearCustomerName()

Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.

optional string customer_name = 3665484;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearDescription()

public Interconnect.Builder clearDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearExpectedOutages()

public Interconnect.Builder clearExpectedOutages()

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Returns
TypeDescription
Interconnect.Builder

clearField(Descriptors.FieldDescriptor field)

public Interconnect.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Interconnect.Builder
Overrides

clearGoogleIpAddress()

public Interconnect.Builder clearGoogleIpAddress()

[Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.

optional string google_ip_address = 443105954;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearGoogleReferenceId()

public Interconnect.Builder clearGoogleReferenceId()

[Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.

optional string google_reference_id = 534944469;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearId()

public Interconnect.Builder clearId()

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

optional uint64 id = 3355;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearInterconnectAttachments()

public Interconnect.Builder clearInterconnectAttachments()

[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.

repeated string interconnect_attachments = 425388415;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearInterconnectType()

public Interconnect.Builder clearInterconnectType()

Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. Check the InterconnectType enum for the list of possible values.

optional string interconnect_type = 515165259;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearKind()

public Interconnect.Builder clearKind()

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

optional string kind = 3292052;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearLinkType()

public Interconnect.Builder clearLinkType()

Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. Check the LinkType enum for the list of possible values.

optional string link_type = 523207775;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearLocation()

public Interconnect.Builder clearLocation()

URL of the InterconnectLocation object that represents where this connection is to be provisioned.

optional string location = 290430901;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearName()

public Interconnect.Builder clearName()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearNocContactEmail()

public Interconnect.Builder clearNocContactEmail()

Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications.

optional string noc_contact_email = 14072832;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Interconnect.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Interconnect.Builder
Overrides

clearOperationalStatus()

public Interconnect.Builder clearOperationalStatus()

[Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the OperationalStatus enum for the list of possible values.

optional string operational_status = 201070847;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearPeerIpAddress()

public Interconnect.Builder clearPeerIpAddress()

[Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.

optional string peer_ip_address = 207735769;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearProvisionedLinkCount()

public Interconnect.Builder clearProvisionedLinkCount()

[Output Only] Number of links actually provisioned in this interconnect.

optional int32 provisioned_link_count = 410888565;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearRequestedLinkCount()

public Interconnect.Builder clearRequestedLinkCount()

Target number of physical links in the link bundle, as requested by the customer.

optional int32 requested_link_count = 45051387;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearSatisfiesPzs()

public Interconnect.Builder clearSatisfiesPzs()

[Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present.

optional bool satisfies_pzs = 480964267;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

public Interconnect.Builder clearSelfLink()

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

optional string self_link = 456214797;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clearState()

public Interconnect.Builder clearState()

[Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

clone()

public Interconnect.Builder clone()
Returns
TypeDescription
Interconnect.Builder
Overrides

getAdminEnabled()

public boolean getAdminEnabled()

Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true.

optional bool admin_enabled = 445675089;

Returns
TypeDescription
boolean

The adminEnabled.

getCircuitInfos(int index)

public InterconnectCircuitInfo getCircuitInfos(int index)

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectCircuitInfo

getCircuitInfosBuilder(int index)

public InterconnectCircuitInfo.Builder getCircuitInfosBuilder(int index)

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectCircuitInfo.Builder

getCircuitInfosBuilderList()

public List<InterconnectCircuitInfo.Builder> getCircuitInfosBuilderList()

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Returns
TypeDescription
List<Builder>

getCircuitInfosCount()

public int getCircuitInfosCount()

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Returns
TypeDescription
int

getCircuitInfosList()

public List<InterconnectCircuitInfo> getCircuitInfosList()

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Returns
TypeDescription
List<InterconnectCircuitInfo>

getCircuitInfosOrBuilder(int index)

public InterconnectCircuitInfoOrBuilder getCircuitInfosOrBuilder(int index)

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectCircuitInfoOrBuilder

getCircuitInfosOrBuilderList()

public List<? extends InterconnectCircuitInfoOrBuilder> getCircuitInfosOrBuilderList()

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.InterconnectCircuitInfoOrBuilder>

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.

getCustomerName()

public String getCustomerName()

Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.

optional string customer_name = 3665484;

Returns
TypeDescription
String

The customerName.

getCustomerNameBytes()

public ByteString getCustomerNameBytes()

Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.

optional string customer_name = 3665484;

Returns
TypeDescription
ByteString

The bytes for customerName.

getDefaultInstanceForType()

public Interconnect getDefaultInstanceForType()
Returns
TypeDescription
Interconnect

getDescription()

public String getDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExpectedOutages(int index)

public InterconnectOutageNotification getExpectedOutages(int index)

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectOutageNotification

getExpectedOutagesBuilder(int index)

public InterconnectOutageNotification.Builder getExpectedOutagesBuilder(int index)

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectOutageNotification.Builder

getExpectedOutagesBuilderList()

public List<InterconnectOutageNotification.Builder> getExpectedOutagesBuilderList()

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Returns
TypeDescription
List<Builder>

getExpectedOutagesCount()

public int getExpectedOutagesCount()

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Returns
TypeDescription
int

getExpectedOutagesList()

public List<InterconnectOutageNotification> getExpectedOutagesList()

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Returns
TypeDescription
List<InterconnectOutageNotification>

getExpectedOutagesOrBuilder(int index)

public InterconnectOutageNotificationOrBuilder getExpectedOutagesOrBuilder(int index)

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectOutageNotificationOrBuilder

getExpectedOutagesOrBuilderList()

public List<? extends InterconnectOutageNotificationOrBuilder> getExpectedOutagesOrBuilderList()

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.InterconnectOutageNotificationOrBuilder>

getGoogleIpAddress()

public String getGoogleIpAddress()

[Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.

optional string google_ip_address = 443105954;

Returns
TypeDescription
String

The googleIpAddress.

getGoogleIpAddressBytes()

public ByteString getGoogleIpAddressBytes()

[Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.

optional string google_ip_address = 443105954;

Returns
TypeDescription
ByteString

The bytes for googleIpAddress.

getGoogleReferenceId()

public String getGoogleReferenceId()

[Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.

optional string google_reference_id = 534944469;

Returns
TypeDescription
String

The googleReferenceId.

getGoogleReferenceIdBytes()

public ByteString getGoogleReferenceIdBytes()

[Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.

optional string google_reference_id = 534944469;

Returns
TypeDescription
ByteString

The bytes for googleReferenceId.

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.

getInterconnectAttachments(int index)

public String getInterconnectAttachments(int index)

[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.

repeated string interconnect_attachments = 425388415;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The interconnectAttachments at the given index.

getInterconnectAttachmentsBytes(int index)

public ByteString getInterconnectAttachmentsBytes(int index)

[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.

repeated string interconnect_attachments = 425388415;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the interconnectAttachments at the given index.

getInterconnectAttachmentsCount()

public int getInterconnectAttachmentsCount()

[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.

repeated string interconnect_attachments = 425388415;

Returns
TypeDescription
int

The count of interconnectAttachments.

getInterconnectAttachmentsList()

public ProtocolStringList getInterconnectAttachmentsList()

[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.

repeated string interconnect_attachments = 425388415;

Returns
TypeDescription
ProtocolStringList

A list containing the interconnectAttachments.

getInterconnectType()

public String getInterconnectType()

Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. Check the InterconnectType enum for the list of possible values.

optional string interconnect_type = 515165259;

Returns
TypeDescription
String

The interconnectType.

getInterconnectTypeBytes()

public ByteString getInterconnectTypeBytes()

Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. Check the InterconnectType enum for the list of possible values.

optional string interconnect_type = 515165259;

Returns
TypeDescription
ByteString

The bytes for interconnectType.

getKind()

public String getKind()

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

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public ByteString getKindBytes()

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

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

getLinkType()

public String getLinkType()

Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. Check the LinkType enum for the list of possible values.

optional string link_type = 523207775;

Returns
TypeDescription
String

The linkType.

getLinkTypeBytes()

public ByteString getLinkTypeBytes()

Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. Check the LinkType enum for the list of possible values.

optional string link_type = 523207775;

Returns
TypeDescription
ByteString

The bytes for linkType.

getLocation()

public String getLocation()

URL of the InterconnectLocation object that represents where this connection is to be provisioned.

optional string location = 290430901;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

URL of the InterconnectLocation object that represents where this connection is to be provisioned.

optional string location = 290430901;

Returns
TypeDescription
ByteString

The bytes for location.

getName()

public String getName()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getNocContactEmail()

public String getNocContactEmail()

Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications.

optional string noc_contact_email = 14072832;

Returns
TypeDescription
String

The nocContactEmail.

getNocContactEmailBytes()

public ByteString getNocContactEmailBytes()

Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications.

optional string noc_contact_email = 14072832;

Returns
TypeDescription
ByteString

The bytes for nocContactEmail.

getOperationalStatus()

public String getOperationalStatus()

[Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the OperationalStatus enum for the list of possible values.

optional string operational_status = 201070847;

Returns
TypeDescription
String

The operationalStatus.

getOperationalStatusBytes()

public ByteString getOperationalStatusBytes()

[Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the OperationalStatus enum for the list of possible values.

optional string operational_status = 201070847;

Returns
TypeDescription
ByteString

The bytes for operationalStatus.

getPeerIpAddress()

public String getPeerIpAddress()

[Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.

optional string peer_ip_address = 207735769;

Returns
TypeDescription
String

The peerIpAddress.

getPeerIpAddressBytes()

public ByteString getPeerIpAddressBytes()

[Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.

optional string peer_ip_address = 207735769;

Returns
TypeDescription
ByteString

The bytes for peerIpAddress.

getProvisionedLinkCount()

public int getProvisionedLinkCount()

[Output Only] Number of links actually provisioned in this interconnect.

optional int32 provisioned_link_count = 410888565;

Returns
TypeDescription
int

The provisionedLinkCount.

getRequestedLinkCount()

public int getRequestedLinkCount()

Target number of physical links in the link bundle, as requested by the customer.

optional int32 requested_link_count = 45051387;

Returns
TypeDescription
int

The requestedLinkCount.

getSatisfiesPzs()

public boolean getSatisfiesPzs()

[Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present.

optional bool satisfies_pzs = 480964267;

Returns
TypeDescription
boolean

The satisfiesPzs.

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.

getState()

public String getState()

[Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
TypeDescription
String

The state.

getStateBytes()

public ByteString getStateBytes()

[Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
TypeDescription
ByteString

The bytes for state.

hasAdminEnabled()

public boolean hasAdminEnabled()

Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true.

optional bool admin_enabled = 445675089;

Returns
TypeDescription
boolean

Whether the adminEnabled 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.

hasCustomerName()

public boolean hasCustomerName()

Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.

optional string customer_name = 3665484;

Returns
TypeDescription
boolean

Whether the customerName field is set.

hasDescription()

public boolean hasDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
boolean

Whether the description field is set.

hasGoogleIpAddress()

public boolean hasGoogleIpAddress()

[Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.

optional string google_ip_address = 443105954;

Returns
TypeDescription
boolean

Whether the googleIpAddress field is set.

hasGoogleReferenceId()

public boolean hasGoogleReferenceId()

[Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.

optional string google_reference_id = 534944469;

Returns
TypeDescription
boolean

Whether the googleReferenceId 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.

hasInterconnectType()

public boolean hasInterconnectType()

Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. Check the InterconnectType enum for the list of possible values.

optional string interconnect_type = 515165259;

Returns
TypeDescription
boolean

Whether the interconnectType field is set.

hasKind()

public boolean hasKind()

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

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind field is set.

hasLinkType()

public boolean hasLinkType()

Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. Check the LinkType enum for the list of possible values.

optional string link_type = 523207775;

Returns
TypeDescription
boolean

Whether the linkType field is set.

hasLocation()

public boolean hasLocation()

URL of the InterconnectLocation object that represents where this connection is to be provisioned.

optional string location = 290430901;

Returns
TypeDescription
boolean

Whether the location field is set.

hasName()

public boolean hasName()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasNocContactEmail()

public boolean hasNocContactEmail()

Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications.

optional string noc_contact_email = 14072832;

Returns
TypeDescription
boolean

Whether the nocContactEmail field is set.

hasOperationalStatus()

public boolean hasOperationalStatus()

[Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the OperationalStatus enum for the list of possible values.

optional string operational_status = 201070847;

Returns
TypeDescription
boolean

Whether the operationalStatus field is set.

hasPeerIpAddress()

public boolean hasPeerIpAddress()

[Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.

optional string peer_ip_address = 207735769;

Returns
TypeDescription
boolean

Whether the peerIpAddress field is set.

hasProvisionedLinkCount()

public boolean hasProvisionedLinkCount()

[Output Only] Number of links actually provisioned in this interconnect.

optional int32 provisioned_link_count = 410888565;

Returns
TypeDescription
boolean

Whether the provisionedLinkCount field is set.

hasRequestedLinkCount()

public boolean hasRequestedLinkCount()

Target number of physical links in the link bundle, as requested by the customer.

optional int32 requested_link_count = 45051387;

Returns
TypeDescription
boolean

Whether the requestedLinkCount field is set.

hasSatisfiesPzs()

public boolean hasSatisfiesPzs()

[Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present.

optional bool satisfies_pzs = 480964267;

Returns
TypeDescription
boolean

Whether the satisfiesPzs 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.

hasState()

public boolean hasState()

[Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
TypeDescription
boolean

Whether the state field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Interconnect other)

public Interconnect.Builder mergeFrom(Interconnect other)
Parameter
NameDescription
otherInterconnect
Returns
TypeDescription
Interconnect.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Interconnect.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Interconnect.Builder
Overrides

removeCircuitInfos(int index)

public Interconnect.Builder removeCircuitInfos(int index)

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Parameter
NameDescription
indexint
Returns
TypeDescription
Interconnect.Builder

removeExpectedOutages(int index)

public Interconnect.Builder removeExpectedOutages(int index)

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Parameter
NameDescription
indexint
Returns
TypeDescription
Interconnect.Builder

setAdminEnabled(boolean value)

public Interconnect.Builder setAdminEnabled(boolean value)

Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true.

optional bool admin_enabled = 445675089;

Parameter
NameDescription
valueboolean

The adminEnabled to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setCircuitInfos(int index, InterconnectCircuitInfo value)

public Interconnect.Builder setCircuitInfos(int index, InterconnectCircuitInfo value)

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Parameters
NameDescription
indexint
valueInterconnectCircuitInfo
Returns
TypeDescription
Interconnect.Builder

setCircuitInfos(int index, InterconnectCircuitInfo.Builder builderForValue)

public Interconnect.Builder setCircuitInfos(int index, InterconnectCircuitInfo.Builder builderForValue)

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;

Parameters
NameDescription
indexint
builderForValueInterconnectCircuitInfo.Builder
Returns
TypeDescription
Interconnect.Builder

setCreationTimestamp(String value)

public Interconnect.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
Interconnect.Builder

This builder for chaining.

setCreationTimestampBytes(ByteString value)

public Interconnect.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
Interconnect.Builder

This builder for chaining.

setCustomerName(String value)

public Interconnect.Builder setCustomerName(String value)

Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.

optional string customer_name = 3665484;

Parameter
NameDescription
valueString

The customerName to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setCustomerNameBytes(ByteString value)

public Interconnect.Builder setCustomerNameBytes(ByteString value)

Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.

optional string customer_name = 3665484;

Parameter
NameDescription
valueByteString

The bytes for customerName to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setDescription(String value)

public Interconnect.Builder setDescription(String value)

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Interconnect.Builder setDescriptionBytes(ByteString value)

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setExpectedOutages(int index, InterconnectOutageNotification value)

public Interconnect.Builder setExpectedOutages(int index, InterconnectOutageNotification value)

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Parameters
NameDescription
indexint
valueInterconnectOutageNotification
Returns
TypeDescription
Interconnect.Builder

setExpectedOutages(int index, InterconnectOutageNotification.Builder builderForValue)

public Interconnect.Builder setExpectedOutages(int index, InterconnectOutageNotification.Builder builderForValue)

[Output Only] A list of outages expected for this Interconnect.

repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;

Parameters
NameDescription
indexint
builderForValueInterconnectOutageNotification.Builder
Returns
TypeDescription
Interconnect.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGoogleIpAddress(String value)

public Interconnect.Builder setGoogleIpAddress(String value)

[Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.

optional string google_ip_address = 443105954;

Parameter
NameDescription
valueString

The googleIpAddress to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setGoogleIpAddressBytes(ByteString value)

public Interconnect.Builder setGoogleIpAddressBytes(ByteString value)

[Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.

optional string google_ip_address = 443105954;

Parameter
NameDescription
valueByteString

The bytes for googleIpAddress to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setGoogleReferenceId(String value)

public Interconnect.Builder setGoogleReferenceId(String value)

[Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.

optional string google_reference_id = 534944469;

Parameter
NameDescription
valueString

The googleReferenceId to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setGoogleReferenceIdBytes(ByteString value)

public Interconnect.Builder setGoogleReferenceIdBytes(ByteString value)

[Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.

optional string google_reference_id = 534944469;

Parameter
NameDescription
valueByteString

The bytes for googleReferenceId to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setId(long value)

public Interconnect.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
Interconnect.Builder

This builder for chaining.

setInterconnectAttachments(int index, String value)

public Interconnect.Builder setInterconnectAttachments(int index, String value)

[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.

repeated string interconnect_attachments = 425388415;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The interconnectAttachments to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setInterconnectType(String value)

public Interconnect.Builder setInterconnectType(String value)

Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. Check the InterconnectType enum for the list of possible values.

optional string interconnect_type = 515165259;

Parameter
NameDescription
valueString

The interconnectType to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setInterconnectTypeBytes(ByteString value)

public Interconnect.Builder setInterconnectTypeBytes(ByteString value)

Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. Check the InterconnectType enum for the list of possible values.

optional string interconnect_type = 515165259;

Parameter
NameDescription
valueByteString

The bytes for interconnectType to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setKind(String value)

public Interconnect.Builder setKind(String value)

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

optional string kind = 3292052;

Parameter
NameDescription
valueString

The kind to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setKindBytes(ByteString value)

public Interconnect.Builder setKindBytes(ByteString value)

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

optional string kind = 3292052;

Parameter
NameDescription
valueByteString

The bytes for kind to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setLinkType(String value)

public Interconnect.Builder setLinkType(String value)

Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. Check the LinkType enum for the list of possible values.

optional string link_type = 523207775;

Parameter
NameDescription
valueString

The linkType to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setLinkTypeBytes(ByteString value)

public Interconnect.Builder setLinkTypeBytes(ByteString value)

Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. Check the LinkType enum for the list of possible values.

optional string link_type = 523207775;

Parameter
NameDescription
valueByteString

The bytes for linkType to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setLocation(String value)

public Interconnect.Builder setLocation(String value)

URL of the InterconnectLocation object that represents where this connection is to be provisioned.

optional string location = 290430901;

Parameter
NameDescription
valueString

The location to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public Interconnect.Builder setLocationBytes(ByteString value)

URL of the InterconnectLocation object that represents where this connection is to be provisioned.

optional string location = 290430901;

Parameter
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setName(String value)

public Interconnect.Builder setName(String value)

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Interconnect.Builder setNameBytes(ByteString value)

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setNocContactEmail(String value)

public Interconnect.Builder setNocContactEmail(String value)

Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications.

optional string noc_contact_email = 14072832;

Parameter
NameDescription
valueString

The nocContactEmail to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setNocContactEmailBytes(ByteString value)

public Interconnect.Builder setNocContactEmailBytes(ByteString value)

Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications.

optional string noc_contact_email = 14072832;

Parameter
NameDescription
valueByteString

The bytes for nocContactEmail to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setOperationalStatus(String value)

public Interconnect.Builder setOperationalStatus(String value)

[Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the OperationalStatus enum for the list of possible values.

optional string operational_status = 201070847;

Parameter
NameDescription
valueString

The operationalStatus to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setOperationalStatusBytes(ByteString value)

public Interconnect.Builder setOperationalStatusBytes(ByteString value)

[Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the OperationalStatus enum for the list of possible values.

optional string operational_status = 201070847;

Parameter
NameDescription
valueByteString

The bytes for operationalStatus to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setPeerIpAddress(String value)

public Interconnect.Builder setPeerIpAddress(String value)

[Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.

optional string peer_ip_address = 207735769;

Parameter
NameDescription
valueString

The peerIpAddress to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setPeerIpAddressBytes(ByteString value)

public Interconnect.Builder setPeerIpAddressBytes(ByteString value)

[Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.

optional string peer_ip_address = 207735769;

Parameter
NameDescription
valueByteString

The bytes for peerIpAddress to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setProvisionedLinkCount(int value)

public Interconnect.Builder setProvisionedLinkCount(int value)

[Output Only] Number of links actually provisioned in this interconnect.

optional int32 provisioned_link_count = 410888565;

Parameter
NameDescription
valueint

The provisionedLinkCount to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

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

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

setRequestedLinkCount(int value)

public Interconnect.Builder setRequestedLinkCount(int value)

Target number of physical links in the link bundle, as requested by the customer.

optional int32 requested_link_count = 45051387;

Parameter
NameDescription
valueint

The requestedLinkCount to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setSatisfiesPzs(boolean value)

public Interconnect.Builder setSatisfiesPzs(boolean value)

[Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present.

optional bool satisfies_pzs = 480964267;

Parameter
NameDescription
valueboolean

The satisfiesPzs to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

public Interconnect.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
Interconnect.Builder

This builder for chaining.

setSelfLinkBytes(ByteString value)

public Interconnect.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
Interconnect.Builder

This builder for chaining.

setState(String value)

public Interconnect.Builder setState(String value)

[Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the State enum for the list of possible values.

optional string state = 109757585;

Parameter
NameDescription
valueString

The state to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setStateBytes(ByteString value)

public Interconnect.Builder setStateBytes(ByteString value)

[Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the State enum for the list of possible values.

optional string state = 109757585;

Parameter
NameDescription
valueByteString

The bytes for state to set.

Returns
TypeDescription
Interconnect.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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