- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public final class InterconnectAttachment extends GeneratedMessageV3 implements InterconnectAttachmentOrBuilder
Represents an Interconnect Attachment (VLAN) resource. You can use Interconnect attachments (VLANS) to connect your Virtual Private Cloud networks to your on-premises networks through an Interconnect. For more information, read Creating VLAN Attachments.
Protobuf type google.cloud.compute.v1.InterconnectAttachment
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InterconnectAttachmentImplements
InterconnectAttachmentOrBuilderStatic Fields
ADMIN_ENABLED_FIELD_NUMBER
public static final int ADMIN_ENABLED_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
BANDWIDTH_FIELD_NUMBER
public static final int BANDWIDTH_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CANDIDATE_IPV6_SUBNETS_FIELD_NUMBER
public static final int CANDIDATE_IPV6_SUBNETS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CANDIDATE_SUBNETS_FIELD_NUMBER
public static final int CANDIDATE_SUBNETS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CLOUD_ROUTER_IPV6_ADDRESS_FIELD_NUMBER
public static final int CLOUD_ROUTER_IPV6_ADDRESS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CLOUD_ROUTER_IPV6_INTERFACE_ID_FIELD_NUMBER
public static final int CLOUD_ROUTER_IPV6_INTERFACE_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CLOUD_ROUTER_IP_ADDRESS_FIELD_NUMBER
public static final int CLOUD_ROUTER_IP_ADDRESS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CONFIGURATION_CONSTRAINTS_FIELD_NUMBER
public static final int CONFIGURATION_CONSTRAINTS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CUSTOMER_ROUTER_IPV6_ADDRESS_FIELD_NUMBER
public static final int CUSTOMER_ROUTER_IPV6_ADDRESS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CUSTOMER_ROUTER_IPV6_INTERFACE_ID_FIELD_NUMBER
public static final int CUSTOMER_ROUTER_IPV6_INTERFACE_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CUSTOMER_ROUTER_IP_ADDRESS_FIELD_NUMBER
public static final int CUSTOMER_ROUTER_IP_ADDRESS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DATAPLANE_VERSION_FIELD_NUMBER
public static final int DATAPLANE_VERSION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
EDGE_AVAILABILITY_DOMAIN_FIELD_NUMBER
public static final int EDGE_AVAILABILITY_DOMAIN_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ENCRYPTION_FIELD_NUMBER
public static final int ENCRYPTION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
GOOGLE_REFERENCE_ID_FIELD_NUMBER
public static final int GOOGLE_REFERENCE_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
INTERCONNECT_FIELD_NUMBER
public static final int INTERCONNECT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
IPSEC_INTERNAL_ADDRESSES_FIELD_NUMBER
public static final int IPSEC_INTERNAL_ADDRESSES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
LABEL_FINGERPRINT_FIELD_NUMBER
public static final int LABEL_FINGERPRINT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
MTU_FIELD_NUMBER
public static final int MTU_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
OPERATIONAL_STATUS_FIELD_NUMBER
public static final int OPERATIONAL_STATUS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PAIRING_KEY_FIELD_NUMBER
public static final int PAIRING_KEY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PARTNER_ASN_FIELD_NUMBER
public static final int PARTNER_ASN_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PARTNER_METADATA_FIELD_NUMBER
public static final int PARTNER_METADATA_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PRIVATE_INTERCONNECT_INFO_FIELD_NUMBER
public static final int PRIVATE_INTERCONNECT_INFO_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
REMOTE_SERVICE_FIELD_NUMBER
public static final int REMOTE_SERVICE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ROUTER_FIELD_NUMBER
public static final int ROUTER_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SATISFIES_PZS_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
STACK_TYPE_FIELD_NUMBER
public static final int STACK_TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SUBNET_LENGTH_FIELD_NUMBER
public static final int SUBNET_LENGTH_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
VLAN_TAG8021Q_FIELD_NUMBER
public static final int VLAN_TAG8021Q_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static InterconnectAttachment getDefaultInstance()
Returns | |
---|---|
Type | Description |
InterconnectAttachment |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static InterconnectAttachment.Builder newBuilder()
Returns | |
---|---|
Type | Description |
InterconnectAttachment.Builder |
newBuilder(InterconnectAttachment prototype)
public static InterconnectAttachment.Builder newBuilder(InterconnectAttachment prototype)
Parameter | |
---|---|
Name | Description |
prototype | InterconnectAttachment |
Returns | |
---|---|
Type | Description |
InterconnectAttachment.Builder |
parseDelimitedFrom(InputStream input)
public static InterconnectAttachment parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
InterconnectAttachment |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InterconnectAttachment |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static InterconnectAttachment parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
InterconnectAttachment |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InterconnectAttachment |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static InterconnectAttachment parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
InterconnectAttachment |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InterconnectAttachment |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static InterconnectAttachment parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
InterconnectAttachment |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InterconnectAttachment |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static InterconnectAttachment parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
InterconnectAttachment |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InterconnectAttachment |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static InterconnectAttachment parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
InterconnectAttachment |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InterconnectAttachment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InterconnectAttachment |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<InterconnectAttachment> parser()
Returns | |
---|---|
Type | Description |
Parser<InterconnectAttachment> |
Methods
containsLabels(String key)
public 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 |
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getAdminEnabled()
public 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. |
getBandwidth()
public 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 Check the Bandwidth enum for the list of possible values.
optional string bandwidth = 181715121;
Returns | |
---|---|
Type | Description |
String | The bandwidth. |
getBandwidthBytes()
public 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 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 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 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 int getCandidateIpv6SubnetsCount()
This field is not available.
repeated string candidate_ipv6_subnets = 70682522;
Returns | |
---|---|
Type | Description |
int | The count of candidateIpv6Subnets. |
getCandidateIpv6SubnetsList()
public ProtocolStringList getCandidateIpv6SubnetsList()
This field is not available.
repeated string candidate_ipv6_subnets = 70682522;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the candidateIpv6Subnets. |
getCandidateSubnets(int index)
public String getCandidateSubnets(int index)
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 ByteString getCandidateSubnetsBytes(int index)
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 int getCandidateSubnetsCount()
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 ProtocolStringList getCandidateSubnetsList()
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 |
ProtocolStringList | A list containing the candidateSubnets. |
getCloudRouterIpAddress()
public 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 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 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 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 String getCloudRouterIpv6InterfaceId()
This field is not available.
optional string cloud_router_ipv6_interface_id = 521282701;
Returns | |
---|---|
Type | Description |
String | The cloudRouterIpv6InterfaceId. |
getCloudRouterIpv6InterfaceIdBytes()
public 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 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 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 String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Returns | |
---|---|
Type | Description |
String | The creationTimestamp. |
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for creationTimestamp. |
getCustomerRouterIpAddress()
public 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 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 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 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 String getCustomerRouterIpv6InterfaceId()
This field is not available.
optional string customer_router_ipv6_interface_id = 380994308;
Returns | |
---|---|
Type | Description |
String | The customerRouterIpv6InterfaceId. |
getCustomerRouterIpv6InterfaceIdBytes()
public 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 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. |
getDefaultInstanceForType()
public InterconnectAttachment getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InterconnectAttachment |
getDescription()
public String getDescription()
An optional description of this resource.
optional string description = 422937596;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
An optional description of this resource.
optional string description = 422937596;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getEdgeAvailabilityDomain()
public String getEdgeAvailabilityDomain()
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 ByteString getEdgeAvailabilityDomainBytes()
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 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 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 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 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 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 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 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 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, then the VPN gateway's IP address is allocated from the IP address range specified here. For example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment, then a regional internal IP address for the VPN gateway interface 0 will be allocated from the IP address specified for this VLAN attachment. If this field is not specified when creating the VLAN attachment, then later on when creating an HA VPN gateway on this VLAN attachment, the HA VPN gateway's IP address is allocated from the regional external IP address pool.
repeated string ipsec_internal_addresses = 407648565;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The ipsecInternalAddresses at the given index. |
getIpsecInternalAddressesBytes(int index)
public ByteString getIpsecInternalAddressesBytes(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, then the VPN gateway's IP address is allocated from the IP address range specified here. For example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment, then a regional internal IP address for the VPN gateway interface 0 will be allocated from the IP address specified for this VLAN attachment. If this field is not specified when creating the VLAN attachment, then later on when creating an HA VPN gateway on this VLAN attachment, the HA VPN gateway's IP address is allocated from the regional external IP address pool.
repeated string ipsec_internal_addresses = 407648565;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the ipsecInternalAddresses at the given index. |
getIpsecInternalAddressesCount()
public int getIpsecInternalAddressesCount()
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, then the VPN gateway's IP address is allocated from the IP address range specified here. For example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment, then a regional internal IP address for the VPN gateway interface 0 will be allocated from the IP address specified for this VLAN attachment. If this field is not specified when creating the VLAN attachment, then later on when creating an HA VPN gateway on this VLAN attachment, the HA VPN gateway's IP address is allocated from the regional external IP address pool.
repeated string ipsec_internal_addresses = 407648565;
Returns | |
---|---|
Type | Description |
int | The count of ipsecInternalAddresses. |
getIpsecInternalAddressesList()
public ProtocolStringList getIpsecInternalAddressesList()
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, then the VPN gateway's IP address is allocated from the IP address range specified here. For example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment, then a regional internal IP address for the VPN gateway interface 0 will be allocated from the IP address specified for this VLAN attachment. If this field is not specified when creating the VLAN attachment, then later on when creating an HA VPN gateway on this VLAN attachment, the HA VPN gateway's IP address is allocated from the regional external IP address pool.
repeated string ipsec_internal_addresses = 407648565;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the ipsecInternalAddresses. |
getKind()
public String getKind()
[Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect attachments.
optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
String | The kind. |
getKindBytes()
public ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect attachments.
optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for kind. |
getLabelFingerprint()
public String getLabelFingerprint()
A fingerprint for the labels being applied to this InterconnectAttachment, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InterconnectAttachment.
optional string label_fingerprint = 178124825;
Returns | |
---|---|
Type | Description |
String | The labelFingerprint. |
getLabelFingerprintBytes()
public ByteString getLabelFingerprintBytes()
A fingerprint for the labels being applied to this InterconnectAttachment, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InterconnectAttachment.
optional string label_fingerprint = 178124825;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for labelFingerprint. |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
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;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
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;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
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;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(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 |
String |
getMtu()
public int getMtu()
Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440.
optional int32 mtu = 108462;
Returns | |
---|---|
Type | Description |
int | The mtu. |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getOperationalStatus()
public String getOperationalStatus()
[Output Only] The current status of whether or not this interconnect attachment is functional, which can take one of the following values: - OS_ACTIVE: The attachment has been turned up and is ready to use. - OS_UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. Check the OperationalStatus enum for the list of possible values.
optional string operational_status = 201070847;
Returns | |
---|---|
Type | Description |
String | The operationalStatus. |
getOperationalStatusBytes()
public ByteString getOperationalStatusBytes()
[Output Only] The current status of whether or not this interconnect attachment is functional, which can take one of the following values: - OS_ACTIVE: The attachment has been turned up and is ready to use. - OS_UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. Check the OperationalStatus enum for the list of possible values.
optional string operational_status = 201070847;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for operationalStatus. |
getPairingKey()
public String getPairingKey()
[Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of an PARTNER attachment used to initiate provisioning with a selected partner. Of the form "XXXXX/region/domain"
optional string pairing_key = 439695464;
Returns | |
---|---|
Type | Description |
String | The pairingKey. |
getPairingKeyBytes()
public ByteString getPairingKeyBytes()
[Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of an PARTNER attachment used to initiate provisioning with a selected partner. Of the form "XXXXX/region/domain"
optional string pairing_key = 439695464;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for pairingKey. |
getParserForType()
public Parser<InterconnectAttachment> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<InterconnectAttachment> |
getPartnerAsn()
public long getPartnerAsn()
Optional BGP ASN for the router supplied by a Layer 3 Partner if they configured BGP on behalf of the customer. Output only for PARTNER type, input only for PARTNER_PROVIDER, not available for DEDICATED.
optional int64 partner_asn = 438166149;
Returns | |
---|---|
Type | Description |
long | The partnerAsn. |
getPartnerMetadata()
public InterconnectAttachmentPartnerMetadata getPartnerMetadata()
Informational metadata about Partner attachments from Partners to display to customers. Output only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED.
optional .google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata partner_metadata = 65908934;
Returns | |
---|---|
Type | Description |
InterconnectAttachmentPartnerMetadata | The partnerMetadata. |
getPartnerMetadataOrBuilder()
public InterconnectAttachmentPartnerMetadataOrBuilder getPartnerMetadataOrBuilder()
Informational metadata about Partner attachments from Partners to display to customers. Output only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED.
optional .google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata partner_metadata = 65908934;
Returns | |
---|---|
Type | Description |
InterconnectAttachmentPartnerMetadataOrBuilder |
getPrivateInterconnectInfo()
public InterconnectAttachmentPrivateInfo getPrivateInterconnectInfo()
[Output Only] Information specific to an InterconnectAttachment. This property is populated if the interconnect that this is attached to is of type DEDICATED.
optional .google.cloud.compute.v1.InterconnectAttachmentPrivateInfo private_interconnect_info = 237270531;
Returns | |
---|---|
Type | Description |
InterconnectAttachmentPrivateInfo | The privateInterconnectInfo. |
getPrivateInterconnectInfoOrBuilder()
public InterconnectAttachmentPrivateInfoOrBuilder getPrivateInterconnectInfoOrBuilder()
[Output Only] Information specific to an InterconnectAttachment. This property is populated if the interconnect that this is attached to is of type DEDICATED.
optional .google.cloud.compute.v1.InterconnectAttachmentPrivateInfo private_interconnect_info = 237270531;
Returns | |
---|---|
Type | Description |
InterconnectAttachmentPrivateInfoOrBuilder |
getRegion()
public String getRegion()
[Output Only] URL of the region where the regional interconnect attachment resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;
Returns | |
---|---|
Type | Description |
String | The region. |
getRegionBytes()
public ByteString getRegionBytes()
[Output Only] URL of the region where the regional interconnect attachment resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for region. |
getRemoteService()
public String getRemoteService()
[Output Only] If the attachment is on a Cross-Cloud Interconnect connection, this field contains the interconnect's remote location service provider. Example values: "Amazon Web Services" "Microsoft Azure". The field is set only for attachments on Cross-Cloud Interconnect connections. Its value is copied from the InterconnectRemoteLocation remoteService field.
optional string remote_service = 391954364;
Returns | |
---|---|
Type | Description |
String | The remoteService. |
getRemoteServiceBytes()
public ByteString getRemoteServiceBytes()
[Output Only] If the attachment is on a Cross-Cloud Interconnect connection, this field contains the interconnect's remote location service provider. Example values: "Amazon Web Services" "Microsoft Azure". The field is set only for attachments on Cross-Cloud Interconnect connections. Its value is copied from the InterconnectRemoteLocation remoteService field.
optional string remote_service = 391954364;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for remoteService. |
getRouter()
public String getRouter()
URL of the Cloud Router to be used for dynamic routing. This router must be in the same region as this InterconnectAttachment. The InterconnectAttachment will automatically connect the Interconnect to the network & region within which the Cloud Router is configured.
optional string router = 148608841;
Returns | |
---|---|
Type | Description |
String | The router. |
getRouterBytes()
public ByteString getRouterBytes()
URL of the Cloud Router to be used for dynamic routing. This router must be in the same region as this InterconnectAttachment. The InterconnectAttachment will automatically connect the Interconnect to the network & region within which the Cloud Router is configured.
optional string router = 148608841;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for router. |
getSatisfiesPzs()
public boolean getSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;
Returns | |
---|---|
Type | Description |
boolean | The satisfiesPzs. |
getSelfLink()
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Returns | |
---|---|
Type | Description |
String | The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for selfLink. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getStackType()
public String getStackType()
The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at interconnect attachments creation and update interconnect attachment operations. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;
Returns | |
---|---|
Type | Description |
String | The stackType. |
getStackTypeBytes()
public ByteString getStackTypeBytes()
The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at interconnect attachments creation and update interconnect attachment operations. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for stackType. |
getState()
public String getState()
[Output Only] The current state of this attachment's functionality. Enum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER and PARTNER_PROVIDER interconnect attachments. This state can take one of the following values: - ACTIVE: The attachment has been turned up and is ready to use. - UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it. - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER attachment that is waiting for a customer to activate it. - DEFUNCT: The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was removed, or because the other side of a Partner attachment was deleted. Check the State enum for the list of possible values.
optional string state = 109757585;
Returns | |
---|---|
Type | Description |
String | The state. |
getStateBytes()
public ByteString getStateBytes()
[Output Only] The current state of this attachment's functionality. Enum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER and PARTNER_PROVIDER interconnect attachments. This state can take one of the following values: - ACTIVE: The attachment has been turned up and is ready to use. - UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it. - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER attachment that is waiting for a customer to activate it. - DEFUNCT: The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was removed, or because the other side of a Partner attachment was deleted. Check the State enum for the list of possible values.
optional string state = 109757585;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for state. |
getSubnetLength()
public int getSubnetLength()
Length of the IPv4 subnet mask. Allowed values: - 29 (default) - 30 The default value is 29, except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure remote location fall into this category. In these cases, the default value is 30, and requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it gives Google Cloud Support more debugging visibility.
optional int32 subnet_length = 279831048;
Returns | |
---|---|
Type | Description |
int | The subnetLength. |
getType()
public String getType()
The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner. Check the Type enum for the list of possible values.
optional string type = 3575610;
Returns | |
---|---|
Type | Description |
String | The type. |
getTypeBytes()
public ByteString getTypeBytes()
The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner. Check the Type enum for the list of possible values.
optional string type = 3575610;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for type. |
getVlanTag8021Q()
public int getVlanTag8021Q()
The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4093. Only specified at creation time.
optional int32 vlan_tag8021q = 119927836;
Returns | |
---|---|
Type | Description |
int | The vlanTag8021q. |
hasAdminEnabled()
public boolean hasAdminEnabled()
Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER.
optional bool admin_enabled = 445675089;
Returns | |
---|---|
Type | Description |
boolean | Whether the adminEnabled field is set. |
hasBandwidth()
public boolean hasBandwidth()
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 Check the Bandwidth enum for the list of possible values.
optional string bandwidth = 181715121;
Returns | |
---|---|
Type | Description |
boolean | Whether the bandwidth field is set. |
hasCloudRouterIpAddress()
public boolean hasCloudRouterIpAddress()
[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 |
boolean | Whether the cloudRouterIpAddress field is set. |
hasCloudRouterIpv6Address()
public boolean hasCloudRouterIpv6Address()
[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 |
boolean | Whether the cloudRouterIpv6Address field is set. |
hasCloudRouterIpv6InterfaceId()
public boolean hasCloudRouterIpv6InterfaceId()
This field is not available.
optional string cloud_router_ipv6_interface_id = 521282701;
Returns | |
---|---|
Type | Description |
boolean | Whether the cloudRouterIpv6InterfaceId field is set. |
hasConfigurationConstraints()
public boolean hasConfigurationConstraints()
[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 |
boolean | Whether the configurationConstraints field is set. |
hasCreationTimestamp()
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Returns | |
---|---|
Type | Description |
boolean | Whether the creationTimestamp field is set. |
hasCustomerRouterIpAddress()
public boolean hasCustomerRouterIpAddress()
[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 |
boolean | Whether the customerRouterIpAddress field is set. |
hasCustomerRouterIpv6Address()
public boolean hasCustomerRouterIpv6Address()
[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 |
boolean | Whether the customerRouterIpv6Address field is set. |
hasCustomerRouterIpv6InterfaceId()
public boolean hasCustomerRouterIpv6InterfaceId()
This field is not available.
optional string customer_router_ipv6_interface_id = 380994308;
Returns | |
---|---|
Type | Description |
boolean | Whether the customerRouterIpv6InterfaceId field is set. |
hasDataplaneVersion()
public boolean hasDataplaneVersion()
[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 |
boolean | Whether the dataplaneVersion field is set. |
hasDescription()
public boolean hasDescription()
An optional description of this resource.
optional string description = 422937596;
Returns | |
---|---|
Type | Description |
boolean | Whether the description field is set. |
hasEdgeAvailabilityDomain()
public boolean hasEdgeAvailabilityDomain()
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 |
boolean | Whether the edgeAvailabilityDomain field is set. |
hasEncryption()
public boolean hasEncryption()
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 |
boolean | Whether the encryption 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. [Deprecated] This field is not used.
optional string google_reference_id = 534944469;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the id field is set. |
hasInterconnect()
public boolean hasInterconnect()
URL of the underlying Interconnect object that this attachment's traffic will traverse through.
optional string interconnect = 224601230;
Returns | |
---|---|
Type | Description |
boolean | Whether the interconnect field is set. |
hasKind()
public boolean hasKind()
[Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect attachments.
optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
boolean | Whether the kind field is set. |
hasLabelFingerprint()
public boolean hasLabelFingerprint()
A fingerprint for the labels being applied to this InterconnectAttachment, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InterconnectAttachment.
optional string label_fingerprint = 178124825;
Returns | |
---|---|
Type | Description |
boolean | Whether the labelFingerprint field is set. |
hasMtu()
public boolean hasMtu()
Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440.
optional int32 mtu = 108462;
Returns | |
---|---|
Type | Description |
boolean | Whether the mtu 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 | |
---|---|
Type | Description |
boolean | Whether the name field is set. |
hasOperationalStatus()
public boolean hasOperationalStatus()
[Output Only] The current status of whether or not this interconnect attachment is functional, which can take one of the following values: - OS_ACTIVE: The attachment has been turned up and is ready to use. - OS_UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. Check the OperationalStatus enum for the list of possible values.
optional string operational_status = 201070847;
Returns | |
---|---|
Type | Description |
boolean | Whether the operationalStatus field is set. |
hasPairingKey()
public boolean hasPairingKey()
[Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of an PARTNER attachment used to initiate provisioning with a selected partner. Of the form "XXXXX/region/domain"
optional string pairing_key = 439695464;
Returns | |
---|---|
Type | Description |
boolean | Whether the pairingKey field is set. |
hasPartnerAsn()
public boolean hasPartnerAsn()
Optional BGP ASN for the router supplied by a Layer 3 Partner if they configured BGP on behalf of the customer. Output only for PARTNER type, input only for PARTNER_PROVIDER, not available for DEDICATED.
optional int64 partner_asn = 438166149;
Returns | |
---|---|
Type | Description |
boolean | Whether the partnerAsn field is set. |
hasPartnerMetadata()
public boolean hasPartnerMetadata()
Informational metadata about Partner attachments from Partners to display to customers. Output only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED.
optional .google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata partner_metadata = 65908934;
Returns | |
---|---|
Type | Description |
boolean | Whether the partnerMetadata field is set. |
hasPrivateInterconnectInfo()
public boolean hasPrivateInterconnectInfo()
[Output Only] Information specific to an InterconnectAttachment. This property is populated if the interconnect that this is attached to is of type DEDICATED.
optional .google.cloud.compute.v1.InterconnectAttachmentPrivateInfo private_interconnect_info = 237270531;
Returns | |
---|---|
Type | Description |
boolean | Whether the privateInterconnectInfo field is set. |
hasRegion()
public boolean hasRegion()
[Output Only] URL of the region where the regional interconnect attachment resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;
Returns | |
---|---|
Type | Description |
boolean | Whether the region field is set. |
hasRemoteService()
public boolean hasRemoteService()
[Output Only] If the attachment is on a Cross-Cloud Interconnect connection, this field contains the interconnect's remote location service provider. Example values: "Amazon Web Services" "Microsoft Azure". The field is set only for attachments on Cross-Cloud Interconnect connections. Its value is copied from the InterconnectRemoteLocation remoteService field.
optional string remote_service = 391954364;
Returns | |
---|---|
Type | Description |
boolean | Whether the remoteService field is set. |
hasRouter()
public boolean hasRouter()
URL of the Cloud Router to be used for dynamic routing. This router must be in the same region as this InterconnectAttachment. The InterconnectAttachment will automatically connect the Interconnect to the network & region within which the Cloud Router is configured.
optional string router = 148608841;
Returns | |
---|---|
Type | Description |
boolean | Whether the router field is set. |
hasSatisfiesPzs()
public boolean hasSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;
Returns | |
---|---|
Type | Description |
boolean | Whether the satisfiesPzs field is set. |
hasSelfLink()
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Returns | |
---|---|
Type | Description |
boolean | Whether the selfLink field is set. |
hasStackType()
public boolean hasStackType()
The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at interconnect attachments creation and update interconnect attachment operations. Check the StackType enum for the list of possible values.
optional string stack_type = 425908881;
Returns | |
---|---|
Type | Description |
boolean | Whether the stackType field is set. |
hasState()
public boolean hasState()
[Output Only] The current state of this attachment's functionality. Enum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER and PARTNER_PROVIDER interconnect attachments. This state can take one of the following values: - ACTIVE: The attachment has been turned up and is ready to use. - UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it. - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER attachment that is waiting for a customer to activate it. - DEFUNCT: The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was removed, or because the other side of a Partner attachment was deleted. Check the State enum for the list of possible values.
optional string state = 109757585;
Returns | |
---|---|
Type | Description |
boolean | Whether the state field is set. |
hasSubnetLength()
public boolean hasSubnetLength()
Length of the IPv4 subnet mask. Allowed values: - 29 (default) - 30 The default value is 29, except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure remote location fall into this category. In these cases, the default value is 30, and requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it gives Google Cloud Support more debugging visibility.
optional int32 subnet_length = 279831048;
Returns | |
---|---|
Type | Description |
boolean | Whether the subnetLength field is set. |
hasType()
public boolean hasType()
The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner. Check the Type enum for the list of possible values.
optional string type = 3575610;
Returns | |
---|---|
Type | Description |
boolean | Whether the type field is set. |
hasVlanTag8021Q()
public boolean hasVlanTag8021Q()
The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4093. Only specified at creation time.
optional int32 vlan_tag8021q = 119927836;
Returns | |
---|---|
Type | Description |
boolean | Whether the vlanTag8021q field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public InterconnectAttachment.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
InterconnectAttachment.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InterconnectAttachment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
InterconnectAttachment.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public InterconnectAttachment.Builder toBuilder()
Returns | |
---|---|
Type | Description |
InterconnectAttachment.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |