Class Interconnect.Builder (1.88.0)

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 Google Cloud 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
Type Description
Descriptor

Methods

addAllAvailableFeatures(Iterable<String> values)

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

[Output only] List of features available for this Interconnect connection, which can take one of the following values: - IF_MACSEC If present then the Interconnect connection is provisioned on MACsec capable hardware ports. If not present then the Interconnect connection is provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameter
Name Description
values Iterable<String>

The availableFeatures to add.

Returns
Type Description
Interconnect.Builder

This builder for chaining.

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
Name Description
values Iterable<? extends com.google.cloud.compute.v1.InterconnectCircuitInfo>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.compute.v1.InterconnectOutageNotification>
Returns
Type Description
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
Name Description
values Iterable<String>

The interconnectAttachments to add.

Returns
Type Description
Interconnect.Builder

This builder for chaining.

addAllInterconnectGroups(Iterable<String> values)

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

[Output Only] URLs of InterconnectGroups that include this Interconnect. Order is arbitrary and items are unique.

repeated string interconnect_groups = 237049509;

Parameter
Name Description
values Iterable<String>

The interconnectGroups to add.

Returns
Type Description
Interconnect.Builder

This builder for chaining.

addAllRequestedFeatures(Iterable<String> values)

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

Optional. List of features requested for this Interconnect connection, which can take one of the following values: - IF_MACSEC If specified then the connection is created on MACsec capable hardware ports. If not specified, the default value is false, which allocates non-MACsec capable ports first if available. This parameter can be provided only with Interconnect INSERT. It isn't valid for Interconnect PATCH. Check the RequestedFeatures enum for the list of possible values.

repeated string requested_features = 461240814;

Parameter
Name Description
values Iterable<String>

The requestedFeatures to add.

Returns
Type Description
Interconnect.Builder

This builder for chaining.

addAvailableFeatures(String value)

public Interconnect.Builder addAvailableFeatures(String value)

[Output only] List of features available for this Interconnect connection, which can take one of the following values: - IF_MACSEC If present then the Interconnect connection is provisioned on MACsec capable hardware ports. If not present then the Interconnect connection is provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameter
Name Description
value String

The availableFeatures to add.

Returns
Type Description
Interconnect.Builder

This builder for chaining.

addAvailableFeaturesBytes(ByteString value)

public Interconnect.Builder addAvailableFeaturesBytes(ByteString value)

[Output only] List of features available for this Interconnect connection, which can take one of the following values: - IF_MACSEC If present then the Interconnect connection is provisioned on MACsec capable hardware ports. If not present then the Interconnect connection is provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. Check the AvailableFeatures enum for the list of possible values.

repeated string available_features = 496344307;

Parameter
Name Description
value ByteString

The bytes of the availableFeatures to add.

Returns
Type Description
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
Name Description
value InterconnectCircuitInfo
Returns
Type Description
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
Name Description
builderForValue InterconnectCircuitInfo.Builder
Returns
Type Description
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
Name Description
index int
value InterconnectCircuitInfo
Returns
Type Description
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
Name Description
index int
builderForValue InterconnectCircuitInfo.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value InterconnectOutageNotification
Returns
Type Description
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
Name Description
builderForValue InterconnectOutageNotification.Builder
Returns
Type Description
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
Name Description
index int
value InterconnectOutageNotification
Returns
Type Description
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
Name Description
index int
builderForValue InterconnectOutageNotification.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value String

The interconnectAttachments to add.

Returns
Type Description
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
Name Description
value