Interface InterconnectAttachmentOrBuilder (1.88.0)

public interface InterconnectAttachmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.

map<string, string> labels = 500195327;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAdminEnabled()

public abstract boolean getAdminEnabled()

Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER.

optional bool admin_enabled = 445675089;

Returns
Type Description
boolean

The adminEnabled.

getAttachmentGroup()

public abstract String getAttachmentGroup()

[Output Only] URL of the AttachmentGroup that includes this Attachment.

optional string attachment_group = 63442019;

Returns
Type Description
String

The attachmentGroup.

getAttachmentGroupBytes()

public abstract ByteString getAttachmentGroupBytes()

[Output Only] URL of the AttachmentGroup that includes this Attachment.

optional string attachment_group = 63442019;

Returns
Type Description
ByteString

The bytes for attachmentGroup.

getBandwidth()

public abstract String getBandwidth()

Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s - BPS_100G: 100 Gbit/s Check the Bandwidth enum for the list of possible values.

optional string bandwidth = 181715121;

Returns
Type Description
String

The bandwidth.

getBandwidthBytes()

public abstract ByteString getBandwidthBytes()

Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s - BPS_100G: 100 Gbit/s Check the Bandwidth enum for the list of possible values.

optional string bandwidth = 181715121;

Returns
Type Description
ByteString

The bytes for bandwidth.

getCandidateIpv6Subnets(int index)

public abstract String getCandidateIpv6Subnets(int index)

This field is not available.

repeated string candidate_ipv6_subnets = 70682522;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The candidateIpv6Subnets at the given index.

getCandidateIpv6SubnetsBytes(int index)

public abstract ByteString getCandidateIpv6SubnetsBytes(int index)

This field is not available.

repeated string candidate_ipv6_subnets = 70682522;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the candidateIpv6Subnets at the given index.

getCandidateIpv6SubnetsCount()

public abstract int getCandidateIpv6SubnetsCount()

This field is not available.

repeated string candidate_ipv6_subnets = 70682522;

Returns
Type Description
int

The count of candidateIpv6Subnets.

getCandidateIpv6SubnetsList()

public abstract List<String> getCandidateIpv6SubnetsList()

This field is not available.

repeated string candidate_ipv6_subnets = 70682522;

Returns
Type Description
List<String>

A list containing the candidateIpv6Subnets.

getCandidateSubnets(int index)

public abstract String getCandidateSubnets(int index)

Input only. Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space.

repeated string candidate_subnets = 237842938;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The candidateSubnets at the given index.

getCandidateSubnetsBytes(int index)

public abstract ByteString getCandidateSubnetsBytes(int index)

Input only. Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space.

repeated string candidate_subnets = 237842938;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the candidateSubnets at the given index.

getCandidateSubnetsCount()

public abstract int getCandidateSubnetsCount()

Input only. Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space.

repeated string candidate_subnets = 237842938;

Returns
Type Description
int

The count of candidateSubnets.

getCandidateSubnetsList()

public abstract List<String> getCandidateSubnetsList()

Input only. Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space.

repeated string candidate_subnets = 237842938;

Returns
Type Description
List<String>

A list containing the candidateSubnets.

getCloudRouterIpAddress()

public abstract String getCloudRouterIpAddress()

[Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment.

optional string cloud_router_ip_address = 287392776;

Returns
Type Description
String

The cloudRouterIpAddress.

getCloudRouterIpAddressBytes()

public abstract ByteString getCloudRouterIpAddressBytes()

[Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment.

optional string cloud_router_ip_address = 287392776;

Returns
Type Description
ByteString

The bytes for cloudRouterIpAddress.

getCloudRouterIpv6Address()

public abstract String getCloudRouterIpv6Address()

[Output Only] IPv6 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment.

optional string cloud_router_ipv6_address = 451922376;

Returns
Type Description
String

The cloudRouterIpv6Address.

getCloudRouterIpv6AddressBytes()

public abstract ByteString getCloudRouterIpv6AddressBytes()

[Output Only] IPv6 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment.

optional string cloud_router_ipv6_address = 451922376;

Returns
Type Description
ByteString

The bytes for cloudRouterIpv6Address.

getCloudRouterIpv6InterfaceId()

public abstract String getCloudRouterIpv6InterfaceId()

This field is not available.

optional string cloud_router_ipv6_interface_id = 521282701;

Returns
Type Description
String

The cloudRouterIpv6InterfaceId.

getCloudRouterIpv6InterfaceIdBytes()

public abstract ByteString getCloudRouterIpv6InterfaceIdBytes()

This field is not available.

optional string cloud_router_ipv6_interface_id = 521282701;

Returns
Type Description
ByteString

The bytes for cloudRouterIpv6InterfaceId.

getConfigurationConstraints()

public abstract InterconnectAttachmentConfigurationConstraints getConfigurationConstraints()

[Output Only] Constraints for this attachment, if any. The attachment does not work if these constraints are not met.

optional .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints configuration_constraints = 179681389;

Returns
Type Description
InterconnectAttachmentConfigurationConstraints

The configurationConstraints.

getConfigurationConstraintsOrBuilder()

public abstract InterconnectAttachmentConfigurationConstraintsOrBuilder getConfigurationConstraintsOrBuilder()

[Output Only] Constraints for this attachment, if any. The attachment does not work if these constraints are not met.

optional .google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints configuration_constraints = 179681389;

Returns
Type Description
InterconnectAttachmentConfigurationConstraintsOrBuilder

getCreationTimestamp()

public abstract String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public abstract ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getCustomerRouterIpAddress()

public abstract String getCustomerRouterIpAddress()

[Output Only] IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment.

optional string customer_router_ip_address = 332475761;

Returns
Type Description
String

The customerRouterIpAddress.

getCustomerRouterIpAddressBytes()

public abstract ByteString getCustomerRouterIpAddressBytes()

[Output Only] IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment.

optional string customer_router_ip_address = 332475761;

Returns
Type Description
ByteString

The bytes for customerRouterIpAddress.

getCustomerRouterIpv6Address()

public abstract String getCustomerRouterIpv6Address()

[Output Only] IPv6 address + prefix length to be configured on the customer router subinterface for this interconnect attachment.

optional string customer_router_ipv6_address = 290127089;

Returns
Type Description
String

The customerRouterIpv6Address.

getCustomerRouterIpv6AddressBytes()

public abstract ByteString getCustomerRouterIpv6AddressBytes()

[Output Only] IPv6 address + prefix length to be configured on the customer router subinterface for this interconnect attachment.

optional string customer_router_ipv6_address = 290127089;

Returns
Type Description
ByteString

The bytes for customerRouterIpv6Address.

getCustomerRouterIpv6InterfaceId()

public abstract String getCustomerRouterIpv6InterfaceId()

This field is not available.

optional string customer_router_ipv6_interface_id = 380994308;

Returns
Type Description
String

The customerRouterIpv6InterfaceId.

getCustomerRouterIpv6InterfaceIdBytes()

public abstract ByteString getCustomerRouterIpv6InterfaceIdBytes()

This field is not available.

optional string customer_router_ipv6_interface_id = 380994308;

Returns
Type Description
ByteString

The bytes for customerRouterIpv6InterfaceId.

getDataplaneVersion()

public abstract int getDataplaneVersion()

[Output Only] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.

optional int32 dataplane_version = 34920075;

Returns
Type Description
int

The dataplaneVersion.

getDescription()

public abstract String getDescription()

An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getEdgeAvailabilityDomain()

public abstract String getEdgeAvailabilityDomain()

Input only. Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY. Check the EdgeAvailabilityDomain enum for the list of possible values.

optional string edge_availability_domain = 71289510;

Returns
Type Description
String

The edgeAvailabilityDomain.

getEdgeAvailabilityDomainBytes()

public abstract ByteString getEdgeAvailabilityDomainBytes()

Input only. Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY. Check the EdgeAvailabilityDomain enum for the list of possible values.

optional string edge_availability_domain = 71289510;

Returns
Type Description
ByteString

The bytes for edgeAvailabilityDomain.

getEncryption()

public abstract String getEncryption()

Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use HA VPN over Cloud Interconnect, the VLAN attachment must be created with this option. Check the Encryption enum for the list of possible values.

optional string encryption = 97980291;

Returns
Type Description
String

The encryption.

getEncryptionBytes()

public abstract ByteString getEncryptionBytes()

Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use HA VPN over Cloud Interconnect, the VLAN attachment must be created with this option. Check the Encryption enum for the list of possible values.

optional string encryption = 97980291;

Returns
Type Description
ByteString

The bytes for encryption.

getGoogleReferenceId()

public abstract String getGoogleReferenceId()

[Output Only] Google reference ID, to be used when raising support tickets with Google or otherwise to debug backend connectivity issues. [Deprecated] This field is not used.

optional string google_reference_id = 534944469;

Returns
Type Description
String

The googleReferenceId.

getGoogleReferenceIdBytes()

public abstract ByteString getGoogleReferenceIdBytes()

[Output Only] Google reference ID, to be used when raising support tickets with Google or otherwise to debug backend connectivity issues. [Deprecated] This field is not used.

optional string google_reference_id = 534944469;

Returns
Type Description
ByteString

The bytes for googleReferenceId.

getId()

public abstract long getId()

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

optional uint64 id = 3355;

Returns
Type Description
long

The id.

getInterconnect()

public abstract String getInterconnect()

URL of the underlying Interconnect object that this attachment's traffic will traverse through.

optional string interconnect = 224601230;

Returns
Type Description
String

The interconnect.

getInterconnectBytes()

public abstract ByteString getInterconnectBytes()

URL of the underlying Interconnect object that this attachment's traffic will traverse through.

optional string interconnect = 224601230;

Returns
Type Description
ByteString

The bytes for interconnect.

getIpsecInternalAddresses(int index)

public abstract String getIpsecInternalAddresses(int index)

A list of URLs of addresses that have been reserved for the VLAN attachment. Used only for the VLAN attachment that has the encryption option as IPSEC. The addresses must be regional internal IP address ranges. When creating an HA VPN gateway over the VLAN attachment, if the attachment is configured to use a regional internal IP address,