Class InterconnectAttachment.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachment.Builder>
com.google.cloud.compute.v1.InterconnectAttachment.Builder
All Implemented Interfaces:
InterconnectAttachmentOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InterconnectAttachment

public static final class InterconnectAttachment.Builder extends com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachment.Builder> 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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachment.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachment.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachment.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachment.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachment.Builder>
    • getDefaultInstanceForType

      public InterconnectAttachment getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public InterconnectAttachment build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public InterconnectAttachment buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public InterconnectAttachment.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InterconnectAttachment.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<InterconnectAttachment.Builder>
    • mergeFrom

      public InterconnectAttachment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InterconnectAttachment.Builder>
      Throws:
      IOException
    • hasAdminEnabled

      public boolean hasAdminEnabled()
       Determines whether this Attachment will carry packets.
       Not present for PARTNER_PROVIDER.
       
      optional bool admin_enabled = 445675089;
      Specified by:
      hasAdminEnabled in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the adminEnabled field is set.
    • getAdminEnabled

      public boolean getAdminEnabled()
       Determines whether this Attachment will carry packets.
       Not present for PARTNER_PROVIDER.
       
      optional bool admin_enabled = 445675089;
      Specified by:
      getAdminEnabled in interface InterconnectAttachmentOrBuilder
      Returns:
      The adminEnabled.
    • setAdminEnabled

      public InterconnectAttachment.Builder setAdminEnabled(boolean value)
       Determines whether this Attachment will carry packets.
       Not present for PARTNER_PROVIDER.
       
      optional bool admin_enabled = 445675089;
      Parameters:
      value - The adminEnabled to set.
      Returns:
      This builder for chaining.
    • clearAdminEnabled

      public InterconnectAttachment.Builder clearAdminEnabled()
       Determines whether this Attachment will carry packets.
       Not present for PARTNER_PROVIDER.
       
      optional bool admin_enabled = 445675089;
      Returns:
      This builder for chaining.
    • hasAttachmentGroup

      public boolean hasAttachmentGroup()
       Output only. [Output Only] URL of the AttachmentGroup that includes this Attachment.
       
      optional string attachment_group = 63442019;
      Specified by:
      hasAttachmentGroup in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the attachmentGroup field is set.
    • getAttachmentGroup

      public String getAttachmentGroup()
       Output only. [Output Only] URL of the AttachmentGroup that includes this Attachment.
       
      optional string attachment_group = 63442019;
      Specified by:
      getAttachmentGroup in interface InterconnectAttachmentOrBuilder
      Returns:
      The attachmentGroup.
    • getAttachmentGroupBytes

      public com.google.protobuf.ByteString getAttachmentGroupBytes()
       Output only. [Output Only] URL of the AttachmentGroup that includes this Attachment.
       
      optional string attachment_group = 63442019;
      Specified by:
      getAttachmentGroupBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for attachmentGroup.
    • setAttachmentGroup

      public InterconnectAttachment.Builder setAttachmentGroup(String value)
       Output only. [Output Only] URL of the AttachmentGroup that includes this Attachment.
       
      optional string attachment_group = 63442019;
      Parameters:
      value - The attachmentGroup to set.
      Returns:
      This builder for chaining.
    • clearAttachmentGroup

      public InterconnectAttachment.Builder clearAttachmentGroup()
       Output only. [Output Only] URL of the AttachmentGroup that includes this Attachment.
       
      optional string attachment_group = 63442019;
      Returns:
      This builder for chaining.
    • setAttachmentGroupBytes

      public InterconnectAttachment.Builder setAttachmentGroupBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] URL of the AttachmentGroup that includes this Attachment.
       
      optional string attachment_group = 63442019;
      Parameters:
      value - The bytes for attachmentGroup to set.
      Returns:
      This builder for chaining.
    • 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
       - BPS_100G: 100 Gbit/s
       - BPS_400G: 400 Gbit/s
       Check the Bandwidth enum for the list of possible values.
       
      optional string bandwidth = 181715121;
      Specified by:
      hasBandwidth in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the bandwidth field is set.
    • 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
       - BPS_100G: 100 Gbit/s
       - BPS_400G: 400 Gbit/s
       Check the Bandwidth enum for the list of possible values.
       
      optional string bandwidth = 181715121;
      Specified by:
      getBandwidth in interface InterconnectAttachmentOrBuilder
      Returns:
      The bandwidth.
    • getBandwidthBytes

      public com.google.protobuf.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
       - BPS_400G: 400 Gbit/s
       Check the Bandwidth enum for the list of possible values.
       
      optional string bandwidth = 181715121;
      Specified by:
      getBandwidthBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for bandwidth.
    • setBandwidth

      public InterconnectAttachment.Builder setBandwidth(String value)
       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
       - BPS_400G: 400 Gbit/s
       Check the Bandwidth enum for the list of possible values.
       
      optional string bandwidth = 181715121;
      Parameters:
      value - The bandwidth to set.
      Returns:
      This builder for chaining.
    • clearBandwidth

      public InterconnectAttachment.Builder clearBandwidth()
       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
       - BPS_400G: 400 Gbit/s
       Check the Bandwidth enum for the list of possible values.
       
      optional string bandwidth = 181715121;
      Returns:
      This builder for chaining.
    • setBandwidthBytes

      public InterconnectAttachment.Builder setBandwidthBytes(com.google.protobuf.ByteString value)
       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
       - BPS_400G: 400 Gbit/s
       Check the Bandwidth enum for the list of possible values.
       
      optional string bandwidth = 181715121;
      Parameters:
      value - The bytes for bandwidth to set.
      Returns:
      This builder for chaining.
    • hasCandidateCloudRouterIpAddress

      public boolean hasCandidateCloudRouterIpAddress()
       Single IPv4 address + prefix length to be configured on the cloud router
       interface for this interconnect attachment.
      
       - Both candidate_cloud_router_ip_address and
       candidate_customer_router_ip_address fields must be set or both must be
       unset.
       - Prefix length of both candidate_cloud_router_ip_address and
       candidate_customer_router_ip_address must be the same.
       - Max prefix length is 31.
       
      optional string candidate_cloud_router_ip_address = 311379276;
      Specified by:
      hasCandidateCloudRouterIpAddress in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the candidateCloudRouterIpAddress field is set.
    • getCandidateCloudRouterIpAddress

      public String getCandidateCloudRouterIpAddress()
       Single IPv4 address + prefix length to be configured on the cloud router
       interface for this interconnect attachment.
      
       - Both candidate_cloud_router_ip_address and
       candidate_customer_router_ip_address fields must be set or both must be
       unset.
       - Prefix length of both candidate_cloud_router_ip_address and
       candidate_customer_router_ip_address must be the same.
       - Max prefix length is 31.
       
      optional string candidate_cloud_router_ip_address = 311379276;
      Specified by:
      getCandidateCloudRouterIpAddress in interface InterconnectAttachmentOrBuilder
      Returns:
      The candidateCloudRouterIpAddress.
    • getCandidateCloudRouterIpAddressBytes

      public com.google.protobuf.ByteString getCandidateCloudRouterIpAddressBytes()
       Single IPv4 address + prefix length to be configured on the cloud router
       interface for this interconnect attachment.
      
       - Both candidate_cloud_router_ip_address and
       candidate_customer_router_ip_address fields must be set or both must be
       unset.
       - Prefix length of both candidate_cloud_router_ip_address and
       candidate_customer_router_ip_address must be the same.
       - Max prefix length is 31.
       
      optional string candidate_cloud_router_ip_address = 311379276;
      Specified by:
      getCandidateCloudRouterIpAddressBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for candidateCloudRouterIpAddress.
    • setCandidateCloudRouterIpAddress

      public InterconnectAttachment.Builder setCandidateCloudRouterIpAddress(String value)
       Single IPv4 address + prefix length to be configured on the cloud router
       interface for this interconnect attachment.
      
       - Both candidate_cloud_router_ip_address and
       candidate_customer_router_ip_address fields must be set or both must be
       unset.
       - Prefix length of both candidate_cloud_router_ip_address and
       candidate_customer_router_ip_address must be the same.
       - Max prefix length is 31.
       
      optional string candidate_cloud_router_ip_address = 311379276;
      Parameters:
      value - The candidateCloudRouterIpAddress to set.
      Returns:
      This builder for chaining.
    • clearCandidateCloudRouterIpAddress

      public InterconnectAttachment.Builder clearCandidateCloudRouterIpAddress()
       Single IPv4 address + prefix length to be configured on the cloud router
       interface for this interconnect attachment.
      
       - Both candidate_cloud_router_ip_address and
       candidate_customer_router_ip_address fields must be set or both must be
       unset.
       - Prefix length of both candidate_cloud_router_ip_address and
       candidate_customer_router_ip_address must be the same.
       - Max prefix length is 31.
       
      optional string candidate_cloud_router_ip_address = 311379276;
      Returns:
      This builder for chaining.
    • setCandidateCloudRouterIpAddressBytes

      public InterconnectAttachment.Builder setCandidateCloudRouterIpAddressBytes(com.google.protobuf.ByteString value)
       Single IPv4 address + prefix length to be configured on the cloud router
       interface for this interconnect attachment.
      
       - Both candidate_cloud_router_ip_address and
       candidate_customer_router_ip_address fields must be set or both must be
       unset.
       - Prefix length of both candidate_cloud_router_ip_address and
       candidate_customer_router_ip_address must be the same.
       - Max prefix length is 31.
       
      optional string candidate_cloud_router_ip_address = 311379276;
      Parameters:
      value - The bytes for candidateCloudRouterIpAddress to set.
      Returns:
      This builder for chaining.
    • hasCandidateCloudRouterIpv6Address

      public boolean hasCandidateCloudRouterIpv6Address()
       Single IPv6 address + prefix length to be configured on the cloud router
       interface for this interconnect attachment.
      
       - Both candidate_cloud_router_ipv6_address and
       candidate_customer_router_ipv6_address fields must be set or both must be
       unset.
       - Prefix length of both candidate_cloud_router_ipv6_address and
       candidate_customer_router_ipv6_address must be the same.
       - Max prefix length is 126.
       
      optional string candidate_cloud_router_ipv6_address = 417499660;
      Specified by:
      hasCandidateCloudRouterIpv6Address in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the candidateCloudRouterIpv6Address field is set.
    • getCandidateCloudRouterIpv6Address

      public String getCandidateCloudRouterIpv6Address()
       Single IPv6 address + prefix length to be configured on the cloud router
       interface for this interconnect attachment.
      
       - Both candidate_cloud_router_ipv6_address and
       candidate_customer_router_ipv6_address fields must be set or both must be
       unset.
       - Prefix length of both candidate_cloud_router_ipv6_address and
       candidate_customer_router_ipv6_address must be the same.
       - Max prefix length is 126.
       
      optional string candidate_cloud_router_ipv6_address = 417499660;
      Specified by:
      getCandidateCloudRouterIpv6Address in interface InterconnectAttachmentOrBuilder
      Returns:
      The candidateCloudRouterIpv6Address.
    • getCandidateCloudRouterIpv6AddressBytes

      public com.google.protobuf.ByteString getCandidateCloudRouterIpv6AddressBytes()
       Single IPv6 address + prefix length to be configured on the cloud router
       interface for this interconnect attachment.
      
       - Both candidate_cloud_router_ipv6_address and
       candidate_customer_router_ipv6_address fields must be set or both must be
       unset.
       - Prefix length of both candidate_cloud_router_ipv6_address and
       candidate_customer_router_ipv6_address must be the same.
       - Max prefix length is 126.
       
      optional string candidate_cloud_router_ipv6_address = 417499660;
      Specified by:
      getCandidateCloudRouterIpv6AddressBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for candidateCloudRouterIpv6Address.
    • setCandidateCloudRouterIpv6Address

      public InterconnectAttachment.Builder setCandidateCloudRouterIpv6Address(String value)
       Single IPv6 address + prefix length to be configured on the cloud router
       interface for this interconnect attachment.
      
       - Both candidate_cloud_router_ipv6_address and
       candidate_customer_router_ipv6_address fields must be set or both must be
       unset.
       - Prefix length of both candidate_cloud_router_ipv6_address and
       candidate_customer_router_ipv6_address must be the same.
       - Max prefix length is 126.
       
      optional string candidate_cloud_router_ipv6_address = 417499660;
      Parameters:
      value - The candidateCloudRouterIpv6Address to set.
      Returns:
      This builder for chaining.
    • clearCandidateCloudRouterIpv6Address

      public InterconnectAttachment.Builder clearCandidateCloudRouterIpv6Address()
       Single IPv6 address + prefix length to be configured on the cloud router
       interface for this interconnect attachment.
      
       - Both candidate_cloud_router_ipv6_address and
       candidate_customer_router_ipv6_address fields must be set or both must be
       unset.
       - Prefix length of both candidate_cloud_router_ipv6_address and
       candidate_customer_router_ipv6_address must be the same.
       - Max prefix length is 126.
       
      optional string candidate_cloud_router_ipv6_address = 417499660;
      Returns:
      This builder for chaining.
    • setCandidateCloudRouterIpv6AddressBytes

      public InterconnectAttachment.Builder setCandidateCloudRouterIpv6AddressBytes(com.google.protobuf.ByteString value)
       Single IPv6 address + prefix length to be configured on the cloud router
       interface for this interconnect attachment.
      
       - Both candidate_cloud_router_ipv6_address and
       candidate_customer_router_ipv6_address fields must be set or both must be
       unset.
       - Prefix length of both candidate_cloud_router_ipv6_address and
       candidate_customer_router_ipv6_address must be the same.
       - Max prefix length is 126.
       
      optional string candidate_cloud_router_ipv6_address = 417499660;
      Parameters:
      value - The bytes for candidateCloudRouterIpv6Address to set.
      Returns:
      This builder for chaining.
    • hasCandidateCustomerRouterIpAddress

      public boolean hasCandidateCustomerRouterIpAddress()
       Single IPv4 address + prefix length to be configured on the customer router
       interface for this interconnect attachment.
       
      optional string candidate_customer_router_ip_address = 339113389;
      Specified by:
      hasCandidateCustomerRouterIpAddress in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the candidateCustomerRouterIpAddress field is set.
    • getCandidateCustomerRouterIpAddress

      public String getCandidateCustomerRouterIpAddress()
       Single IPv4 address + prefix length to be configured on the customer router
       interface for this interconnect attachment.
       
      optional string candidate_customer_router_ip_address = 339113389;
      Specified by:
      getCandidateCustomerRouterIpAddress in interface InterconnectAttachmentOrBuilder
      Returns:
      The candidateCustomerRouterIpAddress.
    • getCandidateCustomerRouterIpAddressBytes

      public com.google.protobuf.ByteString getCandidateCustomerRouterIpAddressBytes()
       Single IPv4 address + prefix length to be configured on the customer router
       interface for this interconnect attachment.
       
      optional string candidate_customer_router_ip_address = 339113389;
      Specified by:
      getCandidateCustomerRouterIpAddressBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for candidateCustomerRouterIpAddress.
    • setCandidateCustomerRouterIpAddress

      public InterconnectAttachment.Builder setCandidateCustomerRouterIpAddress(String value)
       Single IPv4 address + prefix length to be configured on the customer router
       interface for this interconnect attachment.
       
      optional string candidate_customer_router_ip_address = 339113389;
      Parameters:
      value - The candidateCustomerRouterIpAddress to set.
      Returns:
      This builder for chaining.
    • clearCandidateCustomerRouterIpAddress

      public InterconnectAttachment.Builder clearCandidateCustomerRouterIpAddress()
       Single IPv4 address + prefix length to be configured on the customer router
       interface for this interconnect attachment.
       
      optional string candidate_customer_router_ip_address = 339113389;
      Returns:
      This builder for chaining.
    • setCandidateCustomerRouterIpAddressBytes

      public InterconnectAttachment.Builder setCandidateCustomerRouterIpAddressBytes(com.google.protobuf.ByteString value)
       Single IPv4 address + prefix length to be configured on the customer router
       interface for this interconnect attachment.
       
      optional string candidate_customer_router_ip_address = 339113389;
      Parameters:
      value - The bytes for candidateCustomerRouterIpAddress to set.
      Returns:
      This builder for chaining.
    • hasCandidateCustomerRouterIpv6Address

      public boolean hasCandidateCustomerRouterIpv6Address()
       Single IPv6 address + prefix length to be configured on the customer router
       interface for this interconnect attachment.
       
      optional string candidate_customer_router_ipv6_address = 226436653;
      Specified by:
      hasCandidateCustomerRouterIpv6Address in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the candidateCustomerRouterIpv6Address field is set.
    • getCandidateCustomerRouterIpv6Address

      public String getCandidateCustomerRouterIpv6Address()
       Single IPv6 address + prefix length to be configured on the customer router
       interface for this interconnect attachment.
       
      optional string candidate_customer_router_ipv6_address = 226436653;
      Specified by:
      getCandidateCustomerRouterIpv6Address in interface InterconnectAttachmentOrBuilder
      Returns:
      The candidateCustomerRouterIpv6Address.
    • getCandidateCustomerRouterIpv6AddressBytes

      public com.google.protobuf.ByteString getCandidateCustomerRouterIpv6AddressBytes()
       Single IPv6 address + prefix length to be configured on the customer router
       interface for this interconnect attachment.
       
      optional string candidate_customer_router_ipv6_address = 226436653;
      Specified by:
      getCandidateCustomerRouterIpv6AddressBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for candidateCustomerRouterIpv6Address.
    • setCandidateCustomerRouterIpv6Address

      public InterconnectAttachment.Builder setCandidateCustomerRouterIpv6Address(String value)
       Single IPv6 address + prefix length to be configured on the customer router
       interface for this interconnect attachment.
       
      optional string candidate_customer_router_ipv6_address = 226436653;
      Parameters:
      value - The candidateCustomerRouterIpv6Address to set.
      Returns:
      This builder for chaining.
    • clearCandidateCustomerRouterIpv6Address

      public InterconnectAttachment.Builder clearCandidateCustomerRouterIpv6Address()
       Single IPv6 address + prefix length to be configured on the customer router
       interface for this interconnect attachment.
       
      optional string candidate_customer_router_ipv6_address = 226436653;
      Returns:
      This builder for chaining.
    • setCandidateCustomerRouterIpv6AddressBytes

      public InterconnectAttachment.Builder setCandidateCustomerRouterIpv6AddressBytes(com.google.protobuf.ByteString value)
       Single IPv6 address + prefix length to be configured on the customer router
       interface for this interconnect attachment.
       
      optional string candidate_customer_router_ipv6_address = 226436653;
      Parameters:
      value - The bytes for candidateCustomerRouterIpv6Address to set.
      Returns:
      This builder for chaining.
    • getCandidateIpv6SubnetsList

      public com.google.protobuf.ProtocolStringList getCandidateIpv6SubnetsList()
       This field is not available.
       
      repeated string candidate_ipv6_subnets = 70682522;
      Specified by:
      getCandidateIpv6SubnetsList in interface InterconnectAttachmentOrBuilder
      Returns:
      A list containing the candidateIpv6Subnets.
    • getCandidateIpv6SubnetsCount

      public int getCandidateIpv6SubnetsCount()
       This field is not available.
       
      repeated string candidate_ipv6_subnets = 70682522;
      Specified by:
      getCandidateIpv6SubnetsCount in interface InterconnectAttachmentOrBuilder
      Returns:
      The count of candidateIpv6Subnets.
    • getCandidateIpv6Subnets

      public String getCandidateIpv6Subnets(int index)
       This field is not available.
       
      repeated string candidate_ipv6_subnets = 70682522;
      Specified by:
      getCandidateIpv6Subnets in interface InterconnectAttachmentOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The candidateIpv6Subnets at the given index.
    • getCandidateIpv6SubnetsBytes

      public com.google.protobuf.ByteString getCandidateIpv6SubnetsBytes(int index)
       This field is not available.
       
      repeated string candidate_ipv6_subnets = 70682522;
      Specified by:
      getCandidateIpv6SubnetsBytes in interface InterconnectAttachmentOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the candidateIpv6Subnets at the given index.
    • setCandidateIpv6Subnets

      public InterconnectAttachment.Builder setCandidateIpv6Subnets(int index, String value)
       This field is not available.
       
      repeated string candidate_ipv6_subnets = 70682522;
      Parameters:
      index - The index to set the value at.
      value - The candidateIpv6Subnets to set.
      Returns:
      This builder for chaining.
    • addCandidateIpv6Subnets

      public InterconnectAttachment.Builder addCandidateIpv6Subnets(String value)
       This field is not available.
       
      repeated string candidate_ipv6_subnets = 70682522;
      Parameters:
      value - The candidateIpv6Subnets to add.
      Returns:
      This builder for chaining.
    • addAllCandidateIpv6Subnets

      public InterconnectAttachment.Builder addAllCandidateIpv6Subnets(Iterable<String> values)
       This field is not available.
       
      repeated string candidate_ipv6_subnets = 70682522;
      Parameters:
      values - The candidateIpv6Subnets to add.
      Returns:
      This builder for chaining.
    • clearCandidateIpv6Subnets

      public InterconnectAttachment.Builder clearCandidateIpv6Subnets()
       This field is not available.
       
      repeated string candidate_ipv6_subnets = 70682522;
      Returns:
      This builder for chaining.
    • addCandidateIpv6SubnetsBytes

      public InterconnectAttachment.Builder addCandidateIpv6SubnetsBytes(com.google.protobuf.ByteString value)
       This field is not available.
       
      repeated string candidate_ipv6_subnets = 70682522;
      Parameters:
      value - The bytes of the candidateIpv6Subnets to add.
      Returns:
      This builder for chaining.
    • getCandidateSubnetsList

      public com.google.protobuf.ProtocolStringList 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;
      Specified by:
      getCandidateSubnetsList in interface InterconnectAttachmentOrBuilder
      Returns:
      A list containing the candidateSubnets.
    • getCandidateSubnetsCount

      public 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;
      Specified by:
      getCandidateSubnetsCount in interface InterconnectAttachmentOrBuilder
      Returns:
      The count of candidateSubnets.
    • getCandidateSubnets

      public 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;
      Specified by:
      getCandidateSubnets in interface InterconnectAttachmentOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The candidateSubnets at the given index.
    • getCandidateSubnetsBytes

      public com.google.protobuf.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;
      Specified by:
      getCandidateSubnetsBytes in interface InterconnectAttachmentOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the candidateSubnets at the given index.
    • setCandidateSubnets

      public InterconnectAttachment.Builder setCandidateSubnets(int index, String value)
       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;
      Parameters:
      index - The index to set the value at.
      value - The candidateSubnets to set.
      Returns:
      This builder for chaining.
    • addCandidateSubnets

      public InterconnectAttachment.Builder addCandidateSubnets(String value)
       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;
      Parameters:
      value - The candidateSubnets to add.
      Returns:
      This builder for chaining.
    • addAllCandidateSubnets

      public InterconnectAttachment.Builder addAllCandidateSubnets(Iterable<String> values)
       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;
      Parameters:
      values - The candidateSubnets to add.
      Returns:
      This builder for chaining.
    • clearCandidateSubnets

      public InterconnectAttachment.Builder clearCandidateSubnets()
       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:
      This builder for chaining.
    • addCandidateSubnetsBytes

      public InterconnectAttachment.Builder addCandidateSubnetsBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes of the candidateSubnets to add.
      Returns:
      This builder for chaining.
    • hasCloudRouterIpAddress

      public boolean hasCloudRouterIpAddress()
       Output only. [Output Only] IPv4 address + prefix length to be configured on Cloud Router
       Interface for this interconnect attachment.
       
      optional string cloud_router_ip_address = 287392776;
      Specified by:
      hasCloudRouterIpAddress in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the cloudRouterIpAddress field is set.
    • getCloudRouterIpAddress

      public String getCloudRouterIpAddress()
       Output only. [Output Only] IPv4 address + prefix length to be configured on Cloud Router
       Interface for this interconnect attachment.
       
      optional string cloud_router_ip_address = 287392776;
      Specified by:
      getCloudRouterIpAddress in interface InterconnectAttachmentOrBuilder
      Returns:
      The cloudRouterIpAddress.
    • getCloudRouterIpAddressBytes

      public com.google.protobuf.ByteString getCloudRouterIpAddressBytes()
       Output only. [Output Only] IPv4 address + prefix length to be configured on Cloud Router
       Interface for this interconnect attachment.
       
      optional string cloud_router_ip_address = 287392776;
      Specified by:
      getCloudRouterIpAddressBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for cloudRouterIpAddress.
    • setCloudRouterIpAddress

      public InterconnectAttachment.Builder setCloudRouterIpAddress(String value)
       Output only. [Output Only] IPv4 address + prefix length to be configured on Cloud Router
       Interface for this interconnect attachment.
       
      optional string cloud_router_ip_address = 287392776;
      Parameters:
      value - The cloudRouterIpAddress to set.
      Returns:
      This builder for chaining.
    • clearCloudRouterIpAddress

      public InterconnectAttachment.Builder clearCloudRouterIpAddress()
       Output only. [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:
      This builder for chaining.
    • setCloudRouterIpAddressBytes

      public InterconnectAttachment.Builder setCloudRouterIpAddressBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] IPv4 address + prefix length to be configured on Cloud Router
       Interface for this interconnect attachment.
       
      optional string cloud_router_ip_address = 287392776;
      Parameters:
      value - The bytes for cloudRouterIpAddress to set.
      Returns:
      This builder for chaining.
    • hasCloudRouterIpv6Address

      public boolean hasCloudRouterIpv6Address()
       Output only. [Output Only] IPv6 address + prefix length to be configured on Cloud
       Router Interface for this interconnect attachment.
       
      optional string cloud_router_ipv6_address = 451922376;
      Specified by:
      hasCloudRouterIpv6Address in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the cloudRouterIpv6Address field is set.
    • getCloudRouterIpv6Address

      public String getCloudRouterIpv6Address()
       Output only. [Output Only] IPv6 address + prefix length to be configured on Cloud
       Router Interface for this interconnect attachment.
       
      optional string cloud_router_ipv6_address = 451922376;
      Specified by:
      getCloudRouterIpv6Address in interface InterconnectAttachmentOrBuilder
      Returns:
      The cloudRouterIpv6Address.
    • getCloudRouterIpv6AddressBytes

      public com.google.protobuf.ByteString getCloudRouterIpv6AddressBytes()
       Output only. [Output Only] IPv6 address + prefix length to be configured on Cloud
       Router Interface for this interconnect attachment.
       
      optional string cloud_router_ipv6_address = 451922376;
      Specified by:
      getCloudRouterIpv6AddressBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for cloudRouterIpv6Address.
    • setCloudRouterIpv6Address

      public InterconnectAttachment.Builder setCloudRouterIpv6Address(String value)
       Output only. [Output Only] IPv6 address + prefix length to be configured on Cloud
       Router Interface for this interconnect attachment.
       
      optional string cloud_router_ipv6_address = 451922376;
      Parameters:
      value - The cloudRouterIpv6Address to set.
      Returns:
      This builder for chaining.
    • clearCloudRouterIpv6Address

      public InterconnectAttachment.Builder clearCloudRouterIpv6Address()
       Output only. [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:
      This builder for chaining.
    • setCloudRouterIpv6AddressBytes

      public InterconnectAttachment.Builder setCloudRouterIpv6AddressBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] IPv6 address + prefix length to be configured on Cloud
       Router Interface for this interconnect attachment.
       
      optional string cloud_router_ipv6_address = 451922376;
      Parameters:
      value - The bytes for cloudRouterIpv6Address to set.
      Returns:
      This builder for chaining.
    • hasCloudRouterIpv6InterfaceId

      public boolean hasCloudRouterIpv6InterfaceId()
       This field is not available.
       
      optional string cloud_router_ipv6_interface_id = 521282701;
      Specified by:
      hasCloudRouterIpv6InterfaceId in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the cloudRouterIpv6InterfaceId field is set.
    • getCloudRouterIpv6InterfaceId

      public String getCloudRouterIpv6InterfaceId()
       This field is not available.
       
      optional string cloud_router_ipv6_interface_id = 521282701;
      Specified by:
      getCloudRouterIpv6InterfaceId in interface InterconnectAttachmentOrBuilder
      Returns:
      The cloudRouterIpv6InterfaceId.
    • getCloudRouterIpv6InterfaceIdBytes

      public com.google.protobuf.ByteString getCloudRouterIpv6InterfaceIdBytes()
       This field is not available.
       
      optional string cloud_router_ipv6_interface_id = 521282701;
      Specified by:
      getCloudRouterIpv6InterfaceIdBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for cloudRouterIpv6InterfaceId.
    • setCloudRouterIpv6InterfaceId

      public InterconnectAttachment.Builder setCloudRouterIpv6InterfaceId(String value)
       This field is not available.
       
      optional string cloud_router_ipv6_interface_id = 521282701;
      Parameters:
      value - The cloudRouterIpv6InterfaceId to set.
      Returns:
      This builder for chaining.
    • clearCloudRouterIpv6InterfaceId

      public InterconnectAttachment.Builder clearCloudRouterIpv6InterfaceId()
       This field is not available.
       
      optional string cloud_router_ipv6_interface_id = 521282701;
      Returns:
      This builder for chaining.
    • setCloudRouterIpv6InterfaceIdBytes

      public InterconnectAttachment.Builder setCloudRouterIpv6InterfaceIdBytes(com.google.protobuf.ByteString value)
       This field is not available.
       
      optional string cloud_router_ipv6_interface_id = 521282701;
      Parameters:
      value - The bytes for cloudRouterIpv6InterfaceId to set.
      Returns:
      This builder for chaining.
    • hasConfigurationConstraints

      public boolean hasConfigurationConstraints()
       Output only. [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;
      Specified by:
      hasConfigurationConstraints in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the configurationConstraints field is set.
    • getConfigurationConstraints

      public InterconnectAttachmentConfigurationConstraints getConfigurationConstraints()
       Output only. [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;
      Specified by:
      getConfigurationConstraints in interface InterconnectAttachmentOrBuilder
      Returns:
      The configurationConstraints.
    • setConfigurationConstraints

       Output only. [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;
    • setConfigurationConstraints

      public InterconnectAttachment.Builder setConfigurationConstraints(InterconnectAttachmentConfigurationConstraints.Builder builderForValue)
       Output only. [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;
    • mergeConfigurationConstraints

       Output only. [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;
    • clearConfigurationConstraints

      public InterconnectAttachment.Builder clearConfigurationConstraints()
       Output only. [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;
    • getConfigurationConstraintsBuilder

      public InterconnectAttachmentConfigurationConstraints.Builder getConfigurationConstraintsBuilder()
       Output only. [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;
    • getConfigurationConstraintsOrBuilder

      public InterconnectAttachmentConfigurationConstraintsOrBuilder getConfigurationConstraintsOrBuilder()
       Output only. [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;
      Specified by:
      getConfigurationConstraintsOrBuilder in interface InterconnectAttachmentOrBuilder
    • hasCreationTimestamp

      public boolean hasCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      hasCreationTimestamp in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      public String getCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestamp in interface InterconnectAttachmentOrBuilder
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      public com.google.protobuf.ByteString getCreationTimestampBytes()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestampBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for creationTimestamp.
    • setCreationTimestamp

      public InterconnectAttachment.Builder setCreationTimestamp(String value)
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Parameters:
      value - The creationTimestamp to set.
      Returns:
      This builder for chaining.
    • clearCreationTimestamp

      public InterconnectAttachment.Builder clearCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      This builder for chaining.
    • setCreationTimestampBytes

      public InterconnectAttachment.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Parameters:
      value - The bytes for creationTimestamp to set.
      Returns:
      This builder for chaining.
    • hasCustomerRouterIpAddress

      public boolean hasCustomerRouterIpAddress()
       Output only. [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;
      Specified by:
      hasCustomerRouterIpAddress in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the customerRouterIpAddress field is set.
    • getCustomerRouterIpAddress

      public String getCustomerRouterIpAddress()
       Output only. [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;
      Specified by:
      getCustomerRouterIpAddress in interface InterconnectAttachmentOrBuilder
      Returns:
      The customerRouterIpAddress.
    • getCustomerRouterIpAddressBytes

      public com.google.protobuf.ByteString getCustomerRouterIpAddressBytes()
       Output only. [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;
      Specified by:
      getCustomerRouterIpAddressBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for customerRouterIpAddress.
    • setCustomerRouterIpAddress

      public InterconnectAttachment.Builder setCustomerRouterIpAddress(String value)
       Output only. [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;
      Parameters:
      value - The customerRouterIpAddress to set.
      Returns:
      This builder for chaining.
    • clearCustomerRouterIpAddress

      public InterconnectAttachment.Builder clearCustomerRouterIpAddress()
       Output only. [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:
      This builder for chaining.
    • setCustomerRouterIpAddressBytes

      public InterconnectAttachment.Builder setCustomerRouterIpAddressBytes(com.google.protobuf.ByteString value)
       Output only. [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;
      Parameters:
      value - The bytes for customerRouterIpAddress to set.
      Returns:
      This builder for chaining.
    • hasCustomerRouterIpv6Address

      public boolean hasCustomerRouterIpv6Address()
       Output only. [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;
      Specified by:
      hasCustomerRouterIpv6Address in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the customerRouterIpv6Address field is set.
    • getCustomerRouterIpv6Address

      public String getCustomerRouterIpv6Address()
       Output only. [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;
      Specified by:
      getCustomerRouterIpv6Address in interface InterconnectAttachmentOrBuilder
      Returns:
      The customerRouterIpv6Address.
    • getCustomerRouterIpv6AddressBytes

      public com.google.protobuf.ByteString getCustomerRouterIpv6AddressBytes()
       Output only. [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;
      Specified by:
      getCustomerRouterIpv6AddressBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for customerRouterIpv6Address.
    • setCustomerRouterIpv6Address

      public InterconnectAttachment.Builder setCustomerRouterIpv6Address(String value)
       Output only. [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;
      Parameters:
      value - The customerRouterIpv6Address to set.
      Returns:
      This builder for chaining.
    • clearCustomerRouterIpv6Address

      public InterconnectAttachment.Builder clearCustomerRouterIpv6Address()
       Output only. [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:
      This builder for chaining.
    • setCustomerRouterIpv6AddressBytes

      public InterconnectAttachment.Builder setCustomerRouterIpv6AddressBytes(com.google.protobuf.ByteString value)
       Output only. [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;
      Parameters:
      value - The bytes for customerRouterIpv6Address to set.
      Returns:
      This builder for chaining.
    • hasCustomerRouterIpv6InterfaceId

      public boolean hasCustomerRouterIpv6InterfaceId()
       This field is not available.
       
      optional string customer_router_ipv6_interface_id = 380994308;
      Specified by:
      hasCustomerRouterIpv6InterfaceId in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the customerRouterIpv6InterfaceId field is set.
    • getCustomerRouterIpv6InterfaceId

      public String getCustomerRouterIpv6InterfaceId()
       This field is not available.
       
      optional string customer_router_ipv6_interface_id = 380994308;
      Specified by:
      getCustomerRouterIpv6InterfaceId in interface InterconnectAttachmentOrBuilder
      Returns:
      The customerRouterIpv6InterfaceId.
    • getCustomerRouterIpv6InterfaceIdBytes

      public com.google.protobuf.ByteString getCustomerRouterIpv6InterfaceIdBytes()
       This field is not available.
       
      optional string customer_router_ipv6_interface_id = 380994308;
      Specified by:
      getCustomerRouterIpv6InterfaceIdBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for customerRouterIpv6InterfaceId.
    • setCustomerRouterIpv6InterfaceId

      public InterconnectAttachment.Builder setCustomerRouterIpv6InterfaceId(String value)
       This field is not available.
       
      optional string customer_router_ipv6_interface_id = 380994308;
      Parameters:
      value - The customerRouterIpv6InterfaceId to set.
      Returns:
      This builder for chaining.
    • clearCustomerRouterIpv6InterfaceId

      public InterconnectAttachment.Builder clearCustomerRouterIpv6InterfaceId()
       This field is not available.
       
      optional string customer_router_ipv6_interface_id = 380994308;
      Returns:
      This builder for chaining.
    • setCustomerRouterIpv6InterfaceIdBytes

      public InterconnectAttachment.Builder setCustomerRouterIpv6InterfaceIdBytes(com.google.protobuf.ByteString value)
       This field is not available.
       
      optional string customer_router_ipv6_interface_id = 380994308;
      Parameters:
      value - The bytes for customerRouterIpv6InterfaceId to set.
      Returns:
      This builder for chaining.
    • hasDataplaneVersion

      public boolean hasDataplaneVersion()
       Output only. [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;
      Specified by:
      hasDataplaneVersion in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the dataplaneVersion field is set.
    • getDataplaneVersion

      public int getDataplaneVersion()
       Output only. [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;
      Specified by:
      getDataplaneVersion in interface InterconnectAttachmentOrBuilder
      Returns:
      The dataplaneVersion.
    • setDataplaneVersion

      public InterconnectAttachment.Builder setDataplaneVersion(int value)
       Output only. [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;
      Parameters:
      value - The dataplaneVersion to set.
      Returns:
      This builder for chaining.
    • clearDataplaneVersion

      public InterconnectAttachment.Builder clearDataplaneVersion()
       Output only. [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:
      This builder for chaining.
    • hasDescription

      public boolean hasDescription()
       An optional description of this resource.
       
      optional string description = 422937596;
      Specified by:
      hasDescription in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       An optional description of this resource.
       
      optional string description = 422937596;
      Specified by:
      getDescription in interface InterconnectAttachmentOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       An optional description of this resource.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public InterconnectAttachment.Builder setDescription(String value)
       An optional description of this resource.
       
      optional string description = 422937596;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public InterconnectAttachment.Builder clearDescription()
       An optional description of this resource.
       
      optional string description = 422937596;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public InterconnectAttachment.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       An optional description of this resource.
       
      optional string description = 422937596;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasEdgeAvailabilityDomain

      public boolean hasEdgeAvailabilityDomain()
       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;
      Specified by:
      hasEdgeAvailabilityDomain in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the edgeAvailabilityDomain field is set.
    • getEdgeAvailabilityDomain

      public 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;
      Specified by:
      getEdgeAvailabilityDomain in interface InterconnectAttachmentOrBuilder
      Returns:
      The edgeAvailabilityDomain.
    • getEdgeAvailabilityDomainBytes

      public com.google.protobuf.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;
      Specified by:
      getEdgeAvailabilityDomainBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for edgeAvailabilityDomain.
    • setEdgeAvailabilityDomain

      public InterconnectAttachment.Builder setEdgeAvailabilityDomain(String value)
       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;
      Parameters:
      value - The edgeAvailabilityDomain to set.
      Returns:
      This builder for chaining.
    • clearEdgeAvailabilityDomain

      public InterconnectAttachment.Builder clearEdgeAvailabilityDomain()
       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:
      This builder for chaining.
    • setEdgeAvailabilityDomainBytes

      public InterconnectAttachment.Builder setEdgeAvailabilityDomainBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for edgeAvailabilityDomain to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      hasEncryption in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the encryption field is set.
    • 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;
      Specified by:
      getEncryption in interface InterconnectAttachmentOrBuilder
      Returns:
      The encryption.
    • getEncryptionBytes

      public com.google.protobuf.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;
      Specified by:
      getEncryptionBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for encryption.
    • setEncryption

      public InterconnectAttachment.Builder setEncryption(String value)
       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;
      Parameters:
      value - The encryption to set.
      Returns:
      This builder for chaining.
    • clearEncryption

      public InterconnectAttachment.Builder clearEncryption()
       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:
      This builder for chaining.
    • setEncryptionBytes

      public InterconnectAttachment.Builder setEncryptionBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for encryption to set.
      Returns:
      This builder for chaining.
    • hasGoogleReferenceId

      public boolean hasGoogleReferenceId()
       Output only. [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;
      Specified by:
      hasGoogleReferenceId in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the googleReferenceId field is set.
    • getGoogleReferenceId

      public String getGoogleReferenceId()
       Output only. [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;
      Specified by:
      getGoogleReferenceId in interface InterconnectAttachmentOrBuilder
      Returns:
      The googleReferenceId.
    • getGoogleReferenceIdBytes

      public com.google.protobuf.ByteString getGoogleReferenceIdBytes()
       Output only. [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;
      Specified by:
      getGoogleReferenceIdBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for googleReferenceId.
    • setGoogleReferenceId

      public InterconnectAttachment.Builder setGoogleReferenceId(String value)
       Output only. [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;
      Parameters:
      value - The googleReferenceId to set.
      Returns:
      This builder for chaining.
    • clearGoogleReferenceId

      public InterconnectAttachment.Builder clearGoogleReferenceId()
       Output only. [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:
      This builder for chaining.
    • setGoogleReferenceIdBytes

      public InterconnectAttachment.Builder setGoogleReferenceIdBytes(com.google.protobuf.ByteString value)
       Output only. [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;
      Parameters:
      value - The bytes for googleReferenceId to set.
      Returns:
      This builder for chaining.
    • hasId

      public boolean hasId()
       Output only. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Specified by:
      hasId in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
       Output only. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Specified by:
      getId in interface InterconnectAttachmentOrBuilder
      Returns:
      The id.
    • setId

      public InterconnectAttachment.Builder setId(long value)
       Output only. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

       Output only. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Returns:
      This builder for chaining.
    • hasInterconnect

      public boolean hasInterconnect()
       URL of the underlying Interconnect object that this attachment's traffic
       will traverse through.
       
      optional string interconnect = 224601230;
      Specified by:
      hasInterconnect in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the interconnect field is set.
    • getInterconnect

      public String getInterconnect()
       URL of the underlying Interconnect object that this attachment's traffic
       will traverse through.
       
      optional string interconnect = 224601230;
      Specified by:
      getInterconnect in interface InterconnectAttachmentOrBuilder
      Returns:
      The interconnect.
    • getInterconnectBytes

      public com.google.protobuf.ByteString getInterconnectBytes()
       URL of the underlying Interconnect object that this attachment's traffic
       will traverse through.
       
      optional string interconnect = 224601230;
      Specified by:
      getInterconnectBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for interconnect.
    • setInterconnect

      public InterconnectAttachment.Builder setInterconnect(String value)
       URL of the underlying Interconnect object that this attachment's traffic
       will traverse through.
       
      optional string interconnect = 224601230;
      Parameters:
      value - The interconnect to set.
      Returns:
      This builder for chaining.
    • clearInterconnect

      public InterconnectAttachment.Builder clearInterconnect()
       URL of the underlying Interconnect object that this attachment's traffic
       will traverse through.
       
      optional string interconnect = 224601230;
      Returns:
      This builder for chaining.
    • setInterconnectBytes

      public InterconnectAttachment.Builder setInterconnectBytes(com.google.protobuf.ByteString value)
       URL of the underlying Interconnect object that this attachment's traffic
       will traverse through.
       
      optional string interconnect = 224601230;
      Parameters:
      value - The bytes for interconnect to set.
      Returns:
      This builder for chaining.
    • getIpsecInternalAddressesList

      public com.google.protobuf.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;
      Specified by:
      getIpsecInternalAddressesList in interface InterconnectAttachmentOrBuilder
      Returns:
      A list containing the ipsecInternalAddresses.
    • 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;
      Specified by:
      getIpsecInternalAddressesCount in interface InterconnectAttachmentOrBuilder
      Returns:
      The count of ipsecInternalAddresses.
    • getIpsecInternalAddresses

      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;
      Specified by:
      getIpsecInternalAddresses in interface InterconnectAttachmentOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The ipsecInternalAddresses at the given index.
    • getIpsecInternalAddressesBytes

      public com.google.protobuf.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;
      Specified by:
      getIpsecInternalAddressesBytes in interface InterconnectAttachmentOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ipsecInternalAddresses at the given index.
    • setIpsecInternalAddresses

      public InterconnectAttachment.Builder setIpsecInternalAddresses(int index, String value)
       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;
      Parameters:
      index - The index to set the value at.
      value - The ipsecInternalAddresses to set.
      Returns:
      This builder for chaining.
    • addIpsecInternalAddresses

      public InterconnectAttachment.Builder addIpsecInternalAddresses(String value)
       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;
      Parameters:
      value - The ipsecInternalAddresses to add.
      Returns:
      This builder for chaining.
    • addAllIpsecInternalAddresses

      public InterconnectAttachment.Builder addAllIpsecInternalAddresses(Iterable<String> values)
       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;
      Parameters:
      values - The ipsecInternalAddresses to add.
      Returns:
      This builder for chaining.
    • clearIpsecInternalAddresses

      public InterconnectAttachment.Builder clearIpsecInternalAddresses()
       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:
      This builder for chaining.
    • addIpsecInternalAddressesBytes

      public InterconnectAttachment.Builder addIpsecInternalAddressesBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes of the ipsecInternalAddresses to add.
      Returns:
      This builder for chaining.
    • hasKind

      public boolean hasKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#interconnectAttachment for interconnect attachments.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#interconnectAttachment for interconnect attachments.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface InterconnectAttachmentOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Alwayscompute#interconnectAttachment for interconnect attachments.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public InterconnectAttachment.Builder setKind(String value)
       Output only. [Output Only] Type of the resource. Alwayscompute#interconnectAttachment for interconnect attachments.
       
      optional string kind = 3292052;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public InterconnectAttachment.Builder clearKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#interconnectAttachment for interconnect attachments.
       
      optional string kind = 3292052;
      Returns:
      This builder for chaining.
    • setKindBytes

      public InterconnectAttachment.Builder setKindBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Type of the resource. Alwayscompute#interconnectAttachment for interconnect attachments.
       
      optional string kind = 3292052;
      Parameters:
      value - The bytes for kind to set.
      Returns:
      This builder for chaining.
    • hasL2Forwarding

      public boolean hasL2Forwarding()
       L2 Interconnect Attachment related config. This field is required if the
       type is L2_DEDICATED.
      
       The configuration specifies how VLAN tags (like dot1q, qinq, or dot1ad)
       within L2 packets are mapped to the destination appliances IP addresses.
       The packet is then encapsulated with the appliance IP address and sent to
       the edge appliance.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentL2Forwarding l2_forwarding = 84784022;
      Specified by:
      hasL2Forwarding in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the l2Forwarding field is set.
    • getL2Forwarding

      public InterconnectAttachmentL2Forwarding getL2Forwarding()
       L2 Interconnect Attachment related config. This field is required if the
       type is L2_DEDICATED.
      
       The configuration specifies how VLAN tags (like dot1q, qinq, or dot1ad)
       within L2 packets are mapped to the destination appliances IP addresses.
       The packet is then encapsulated with the appliance IP address and sent to
       the edge appliance.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentL2Forwarding l2_forwarding = 84784022;
      Specified by:
      getL2Forwarding in interface InterconnectAttachmentOrBuilder
      Returns:
      The l2Forwarding.
    • setL2Forwarding

       L2 Interconnect Attachment related config. This field is required if the
       type is L2_DEDICATED.
      
       The configuration specifies how VLAN tags (like dot1q, qinq, or dot1ad)
       within L2 packets are mapped to the destination appliances IP addresses.
       The packet is then encapsulated with the appliance IP address and sent to
       the edge appliance.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentL2Forwarding l2_forwarding = 84784022;
    • setL2Forwarding

       L2 Interconnect Attachment related config. This field is required if the
       type is L2_DEDICATED.
      
       The configuration specifies how VLAN tags (like dot1q, qinq, or dot1ad)
       within L2 packets are mapped to the destination appliances IP addresses.
       The packet is then encapsulated with the appliance IP address and sent to
       the edge appliance.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentL2Forwarding l2_forwarding = 84784022;
    • mergeL2Forwarding

       L2 Interconnect Attachment related config. This field is required if the
       type is L2_DEDICATED.
      
       The configuration specifies how VLAN tags (like dot1q, qinq, or dot1ad)
       within L2 packets are mapped to the destination appliances IP addresses.
       The packet is then encapsulated with the appliance IP address and sent to
       the edge appliance.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentL2Forwarding l2_forwarding = 84784022;
    • clearL2Forwarding

      public InterconnectAttachment.Builder clearL2Forwarding()
       L2 Interconnect Attachment related config. This field is required if the
       type is L2_DEDICATED.
      
       The configuration specifies how VLAN tags (like dot1q, qinq, or dot1ad)
       within L2 packets are mapped to the destination appliances IP addresses.
       The packet is then encapsulated with the appliance IP address and sent to
       the edge appliance.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentL2Forwarding l2_forwarding = 84784022;
    • getL2ForwardingBuilder

      public InterconnectAttachmentL2Forwarding.Builder getL2ForwardingBuilder()
       L2 Interconnect Attachment related config. This field is required if the
       type is L2_DEDICATED.
      
       The configuration specifies how VLAN tags (like dot1q, qinq, or dot1ad)
       within L2 packets are mapped to the destination appliances IP addresses.
       The packet is then encapsulated with the appliance IP address and sent to
       the edge appliance.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentL2Forwarding l2_forwarding = 84784022;
    • getL2ForwardingOrBuilder

      public InterconnectAttachmentL2ForwardingOrBuilder getL2ForwardingOrBuilder()
       L2 Interconnect Attachment related config. This field is required if the
       type is L2_DEDICATED.
      
       The configuration specifies how VLAN tags (like dot1q, qinq, or dot1ad)
       within L2 packets are mapped to the destination appliances IP addresses.
       The packet is then encapsulated with the appliance IP address and sent to
       the edge appliance.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentL2Forwarding l2_forwarding = 84784022;
      Specified by:
      getL2ForwardingOrBuilder in interface InterconnectAttachmentOrBuilder
    • 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 error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve an InterconnectAttachment.
       
      optional string label_fingerprint = 178124825;
      Specified by:
      hasLabelFingerprint in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the labelFingerprint field is set.
    • 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 error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve an InterconnectAttachment.
       
      optional string label_fingerprint = 178124825;
      Specified by:
      getLabelFingerprint in interface InterconnectAttachmentOrBuilder
      Returns:
      The labelFingerprint.
    • getLabelFingerprintBytes

      public com.google.protobuf.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 error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve an InterconnectAttachment.
       
      optional string label_fingerprint = 178124825;
      Specified by:
      getLabelFingerprintBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for labelFingerprint.
    • setLabelFingerprint

      public InterconnectAttachment.Builder setLabelFingerprint(String value)
       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 error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve an InterconnectAttachment.
       
      optional string label_fingerprint = 178124825;
      Parameters:
      value - The labelFingerprint to set.
      Returns:
      This builder for chaining.
    • clearLabelFingerprint

      public InterconnectAttachment.Builder clearLabelFingerprint()
       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 error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve an InterconnectAttachment.
       
      optional string label_fingerprint = 178124825;
      Returns:
      This builder for chaining.
    • setLabelFingerprintBytes

      public InterconnectAttachment.Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value)
       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 error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve an InterconnectAttachment.
       
      optional string label_fingerprint = 178124825;
      Parameters:
      value - The bytes for labelFingerprint to set.
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: InterconnectAttachmentOrBuilder
       Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
      Specified by:
      getLabelsCount in interface InterconnectAttachmentOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
      Specified by:
      containsLabels in interface InterconnectAttachmentOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface InterconnectAttachmentOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
      Specified by:
      getLabelsMap in interface InterconnectAttachmentOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
      Specified by:
      getLabelsOrDefault in interface InterconnectAttachmentOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
      Specified by:
      getLabelsOrThrow in interface InterconnectAttachmentOrBuilder
    • clearLabels

      public InterconnectAttachment.Builder clearLabels()
    • removeLabels

      public InterconnectAttachment.Builder removeLabels(String key)
       Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public InterconnectAttachment.Builder putLabels(String key, String value)
       Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
    • putAllLabels

      public InterconnectAttachment.Builder putAllLabels(Map<String,String> values)
       Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.
       Label values may be empty.
       
      map<string, string> labels = 500195327;
    • hasMtu

      public boolean hasMtu()
       Maximum Transmission Unit (MTU), in bytes, of packets passing through this
       interconnect attachment.
       Valid values are 1440, 1460, 1500, and 8896. If not specified,
       the value will default to 1440.
       
      optional int32 mtu = 108462;
      Specified by:
      hasMtu in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the mtu field is set.
    • getMtu

      public int getMtu()
       Maximum Transmission Unit (MTU), in bytes, of packets passing through this
       interconnect attachment.
       Valid values are 1440, 1460, 1500, and 8896. If not specified,
       the value will default to 1440.
       
      optional int32 mtu = 108462;
      Specified by:
      getMtu in interface InterconnectAttachmentOrBuilder
      Returns:
      The mtu.
    • setMtu

      public InterconnectAttachment.Builder setMtu(int value)
       Maximum Transmission Unit (MTU), in bytes, of packets passing through this
       interconnect attachment.
       Valid values are 1440, 1460, 1500, and 8896. If not specified,
       the value will default to 1440.
       
      optional int32 mtu = 108462;
      Parameters:
      value - The mtu to set.
      Returns:
      This builder for chaining.
    • clearMtu

      public InterconnectAttachment.Builder clearMtu()
       Maximum Transmission Unit (MTU), in bytes, of packets passing through this
       interconnect attachment.
       Valid values are 1440, 1460, 1500, and 8896. If not specified,
       the value will default to 1440.
       
      optional int32 mtu = 108462;
      Returns:
      This builder for chaining.
    • 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 withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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;
      Specified by:
      hasName in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the name field is set.
    • 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 withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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;
      Specified by:
      getName in interface InterconnectAttachmentOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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 withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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;
      Specified by:
      getNameBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for name.
    • setName

      public InterconnectAttachment.Builder setName(String value)
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public InterconnectAttachment.Builder clearName()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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:
      This builder for chaining.
    • setNameBytes

      public InterconnectAttachment.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasOperationalStatus

      public boolean hasOperationalStatus()
       Output only. [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;
      Specified by:
      hasOperationalStatus in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the operationalStatus field is set.
    • getOperationalStatus

      public String getOperationalStatus()
       Output only. [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;
      Specified by:
      getOperationalStatus in interface InterconnectAttachmentOrBuilder
      Returns:
      The operationalStatus.
    • getOperationalStatusBytes

      public com.google.protobuf.ByteString getOperationalStatusBytes()
       Output only. [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;
      Specified by:
      getOperationalStatusBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for operationalStatus.
    • setOperationalStatus

      public InterconnectAttachment.Builder setOperationalStatus(String value)
       Output only. [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;
      Parameters:
      value - The operationalStatus to set.
      Returns:
      This builder for chaining.
    • clearOperationalStatus

      public InterconnectAttachment.Builder clearOperationalStatus()
       Output only. [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:
      This builder for chaining.
    • setOperationalStatusBytes

      public InterconnectAttachment.Builder setOperationalStatusBytes(com.google.protobuf.ByteString value)
       Output only. [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;
      Parameters:
      value - The bytes for operationalStatus to set.
      Returns:
      This builder for chaining.
    • hasPairingKey

      public boolean hasPairingKey()
       [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not
       present for DEDICATED].
       The opaque identifier of a PARTNER attachment used to initiate
       provisioning with a selected partner.
       Of the form "XXXXX/region/domain"
       
      optional string pairing_key = 439695464;
      Specified by:
      hasPairingKey in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the pairingKey field is set.
    • getPairingKey

      public String getPairingKey()
       [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not
       present for DEDICATED].
       The opaque identifier of a PARTNER attachment used to initiate
       provisioning with a selected partner.
       Of the form "XXXXX/region/domain"
       
      optional string pairing_key = 439695464;
      Specified by:
      getPairingKey in interface InterconnectAttachmentOrBuilder
      Returns:
      The pairingKey.
    • getPairingKeyBytes

      public com.google.protobuf.ByteString getPairingKeyBytes()
       [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not
       present for DEDICATED].
       The opaque identifier of a PARTNER attachment used to initiate
       provisioning with a selected partner.
       Of the form "XXXXX/region/domain"
       
      optional string pairing_key = 439695464;
      Specified by:
      getPairingKeyBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for pairingKey.
    • setPairingKey

      public InterconnectAttachment.Builder setPairingKey(String value)
       [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not
       present for DEDICATED].
       The opaque identifier of a PARTNER attachment used to initiate
       provisioning with a selected partner.
       Of the form "XXXXX/region/domain"
       
      optional string pairing_key = 439695464;
      Parameters:
      value - The pairingKey to set.
      Returns:
      This builder for chaining.
    • clearPairingKey

      public InterconnectAttachment.Builder clearPairingKey()
       [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not
       present for DEDICATED].
       The opaque identifier of a PARTNER attachment used to initiate
       provisioning with a selected partner.
       Of the form "XXXXX/region/domain"
       
      optional string pairing_key = 439695464;
      Returns:
      This builder for chaining.
    • setPairingKeyBytes

      public InterconnectAttachment.Builder setPairingKeyBytes(com.google.protobuf.ByteString value)
       [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not
       present for DEDICATED].
       The opaque identifier of a PARTNER attachment used to initiate
       provisioning with a selected partner.
       Of the form "XXXXX/region/domain"
       
      optional string pairing_key = 439695464;
      Parameters:
      value - The bytes for pairingKey to set.
      Returns:
      This builder for chaining.
    • hasParams

      public boolean hasParams()
       Input only. [Input Only] Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentParams params = 78313862;
      Specified by:
      hasParams in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the params field is set.
    • getParams

      public InterconnectAttachmentParams getParams()
       Input only. [Input Only] Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentParams params = 78313862;
      Specified by:
      getParams in interface InterconnectAttachmentOrBuilder
      Returns:
      The params.
    • setParams

       Input only. [Input Only] Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentParams params = 78313862;
    • setParams

       Input only. [Input Only] Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentParams params = 78313862;
    • mergeParams

       Input only. [Input Only] Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentParams params = 78313862;
    • clearParams

      public InterconnectAttachment.Builder clearParams()
       Input only. [Input Only] Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentParams params = 78313862;
    • getParamsBuilder

      public InterconnectAttachmentParams.Builder getParamsBuilder()
       Input only. [Input Only] Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentParams params = 78313862;
    • getParamsOrBuilder

      public InterconnectAttachmentParamsOrBuilder getParamsOrBuilder()
       Input only. [Input Only] Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentParams params = 78313862;
      Specified by:
      getParamsOrBuilder in interface InterconnectAttachmentOrBuilder
    • 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;
      Specified by:
      hasPartnerAsn in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the partnerAsn field is set.
    • 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;
      Specified by:
      getPartnerAsn in interface InterconnectAttachmentOrBuilder
      Returns:
      The partnerAsn.
    • setPartnerAsn

      public InterconnectAttachment.Builder setPartnerAsn(long value)
       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;
      Parameters:
      value - The partnerAsn to set.
      Returns:
      This builder for chaining.
    • clearPartnerAsn

      public InterconnectAttachment.Builder clearPartnerAsn()
       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:
      This builder for chaining.
    • hasPartnerMetadata

      public boolean hasPartnerMetadata()
       Informational metadata about Partner attachments from Partners to display
       to customers.
       Output only for PARTNER type, mutable for PARTNER_PROVIDER, not
       available for DEDICATED.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata partner_metadata = 65908934;
      Specified by:
      hasPartnerMetadata in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the partnerMetadata field is set.
    • getPartnerMetadata

      public InterconnectAttachmentPartnerMetadata getPartnerMetadata()
       Informational metadata about Partner attachments from Partners to display
       to customers.
       Output only for PARTNER type, mutable for PARTNER_PROVIDER, not
       available for DEDICATED.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata partner_metadata = 65908934;
      Specified by:
      getPartnerMetadata in interface InterconnectAttachmentOrBuilder
      Returns:
      The partnerMetadata.
    • setPartnerMetadata

       Informational metadata about Partner attachments from Partners to display
       to customers.
       Output only for PARTNER type, mutable for PARTNER_PROVIDER, not
       available for DEDICATED.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata partner_metadata = 65908934;
    • setPartnerMetadata

       Informational metadata about Partner attachments from Partners to display
       to customers.
       Output only for PARTNER type, mutable for PARTNER_PROVIDER, not
       available for DEDICATED.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata partner_metadata = 65908934;
    • mergePartnerMetadata

       Informational metadata about Partner attachments from Partners to display
       to customers.
       Output only for PARTNER type, mutable for PARTNER_PROVIDER, not
       available for DEDICATED.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata partner_metadata = 65908934;
    • clearPartnerMetadata

      public InterconnectAttachment.Builder clearPartnerMetadata()
       Informational metadata about Partner attachments from Partners to display
       to customers.
       Output only for PARTNER type, mutable for PARTNER_PROVIDER, not
       available for DEDICATED.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata partner_metadata = 65908934;
    • getPartnerMetadataBuilder

      public InterconnectAttachmentPartnerMetadata.Builder getPartnerMetadataBuilder()
       Informational metadata about Partner attachments from Partners to display
       to customers.
       Output only for PARTNER type, mutable for PARTNER_PROVIDER, not
       available for DEDICATED.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata partner_metadata = 65908934;
    • getPartnerMetadataOrBuilder

      public InterconnectAttachmentPartnerMetadataOrBuilder getPartnerMetadataOrBuilder()
       Informational metadata about Partner attachments from Partners to display
       to customers.
       Output only for PARTNER type, mutable for PARTNER_PROVIDER, not
       available for DEDICATED.
       
      optional .google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata partner_metadata = 65908934;
      Specified by:
      getPartnerMetadataOrBuilder in interface InterconnectAttachmentOrBuilder
    • hasPrivateInterconnectInfo

      public boolean hasPrivateInterconnectInfo()
       Output only. [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;
      Specified by:
      hasPrivateInterconnectInfo in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the privateInterconnectInfo field is set.
    • getPrivateInterconnectInfo

      public InterconnectAttachmentPrivateInfo getPrivateInterconnectInfo()
       Output only. [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;
      Specified by:
      getPrivateInterconnectInfo in interface InterconnectAttachmentOrBuilder
      Returns:
      The privateInterconnectInfo.
    • setPrivateInterconnectInfo

      public InterconnectAttachment.Builder setPrivateInterconnectInfo(InterconnectAttachmentPrivateInfo value)
       Output only. [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;
    • setPrivateInterconnectInfo

      public InterconnectAttachment.Builder setPrivateInterconnectInfo(InterconnectAttachmentPrivateInfo.Builder builderForValue)
       Output only. [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;
    • mergePrivateInterconnectInfo

      public InterconnectAttachment.Builder mergePrivateInterconnectInfo(InterconnectAttachmentPrivateInfo value)
       Output only. [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;
    • clearPrivateInterconnectInfo

      public InterconnectAttachment.Builder clearPrivateInterconnectInfo()
       Output only. [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;
    • getPrivateInterconnectInfoBuilder

      public InterconnectAttachmentPrivateInfo.Builder getPrivateInterconnectInfoBuilder()
       Output only. [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;
    • getPrivateInterconnectInfoOrBuilder

      public InterconnectAttachmentPrivateInfoOrBuilder getPrivateInterconnectInfoOrBuilder()
       Output only. [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;
      Specified by:
      getPrivateInterconnectInfoOrBuilder in interface InterconnectAttachmentOrBuilder
    • hasRegion

      public boolean hasRegion()
       Output only. [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;
      Specified by:
      hasRegion in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the region field is set.
    • getRegion

      public String getRegion()
       Output only. [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;
      Specified by:
      getRegion in interface InterconnectAttachmentOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       Output only. [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;
      Specified by:
      getRegionBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for region.
    • setRegion

      public InterconnectAttachment.Builder setRegion(String value)
       Output only. [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;
      Parameters:
      value - The region to set.
      Returns:
      This builder for chaining.
    • clearRegion

      public InterconnectAttachment.Builder clearRegion()
       Output only. [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:
      This builder for chaining.
    • setRegionBytes

      public InterconnectAttachment.Builder setRegionBytes(com.google.protobuf.ByteString value)
       Output only. [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;
      Parameters:
      value - The bytes for region to set.
      Returns:
      This builder for chaining.
    • hasRemoteService

      public boolean hasRemoteService()
       Output only. [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;
      Specified by:
      hasRemoteService in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the remoteService field is set.
    • getRemoteService

      public String getRemoteService()
       Output only. [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;
      Specified by:
      getRemoteService in interface InterconnectAttachmentOrBuilder
      Returns:
      The remoteService.
    • getRemoteServiceBytes

      public com.google.protobuf.ByteString getRemoteServiceBytes()
       Output only. [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;
      Specified by:
      getRemoteServiceBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for remoteService.
    • setRemoteService

      public InterconnectAttachment.Builder setRemoteService(String value)
       Output only. [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;
      Parameters:
      value - The remoteService to set.
      Returns:
      This builder for chaining.
    • clearRemoteService

      public InterconnectAttachment.Builder clearRemoteService()
       Output only. [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:
      This builder for chaining.
    • setRemoteServiceBytes

      public InterconnectAttachment.Builder setRemoteServiceBytes(com.google.protobuf.ByteString value)
       Output only. [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;
      Parameters:
      value - The bytes for remoteService to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      hasRouter in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the router field is set.
    • 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;
      Specified by:
      getRouter in interface InterconnectAttachmentOrBuilder
      Returns:
      The router.
    • getRouterBytes

      public com.google.protobuf.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;
      Specified by:
      getRouterBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for router.
    • setRouter

      public InterconnectAttachment.Builder setRouter(String value)
       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;
      Parameters:
      value - The router to set.
      Returns:
      This builder for chaining.
    • clearRouter

      public InterconnectAttachment.Builder clearRouter()
       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:
      This builder for chaining.
    • setRouterBytes

      public InterconnectAttachment.Builder setRouterBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for router to set.
      Returns:
      This builder for chaining.
    • hasSatisfiesPzs

      public boolean hasSatisfiesPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzs = 480964267;
      Specified by:
      hasSatisfiesPzs in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the satisfiesPzs field is set.
    • getSatisfiesPzs

      public boolean getSatisfiesPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzs = 480964267;
      Specified by:
      getSatisfiesPzs in interface InterconnectAttachmentOrBuilder
      Returns:
      The satisfiesPzs.
    • setSatisfiesPzs

      public InterconnectAttachment.Builder setSatisfiesPzs(boolean value)
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzs = 480964267;
      Parameters:
      value - The satisfiesPzs to set.
      Returns:
      This builder for chaining.
    • clearSatisfiesPzs

      public InterconnectAttachment.Builder clearSatisfiesPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzs = 480964267;
      Returns:
      This builder for chaining.
    • hasSelfLink

      public boolean hasSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      hasSelfLink in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      public String getSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLink in interface InterconnectAttachmentOrBuilder
      Returns:
      The selfLink.
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLinkBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for selfLink.
    • setSelfLink

      public InterconnectAttachment.Builder setSelfLink(String value)
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Parameters:
      value - The selfLink to set.
      Returns:
      This builder for chaining.
    • clearSelfLink

      public InterconnectAttachment.Builder clearSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      This builder for chaining.
    • setSelfLinkBytes

      public InterconnectAttachment.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Parameters:
      value - The bytes for selfLink to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      hasStackType in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the stackType field is set.
    • 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;
      Specified by:
      getStackType in interface InterconnectAttachmentOrBuilder
      Returns:
      The stackType.
    • getStackTypeBytes

      public com.google.protobuf.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;
      Specified by:
      getStackTypeBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for stackType.
    • setStackType

      public InterconnectAttachment.Builder setStackType(String value)
       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;
      Parameters:
      value - The stackType to set.
      Returns:
      This builder for chaining.
    • clearStackType

      public InterconnectAttachment.Builder clearStackType()
       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:
      This builder for chaining.
    • setStackTypeBytes

      public InterconnectAttachment.Builder setStackTypeBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for stackType to set.
      Returns:
      This builder for chaining.
    • hasState

      public boolean hasState()
       Output only. [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;
      Specified by:
      hasState in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the state field is set.
    • getState

      public String getState()
       Output only. [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;
      Specified by:
      getState in interface InterconnectAttachmentOrBuilder
      Returns:
      The state.
    • getStateBytes

      public com.google.protobuf.ByteString getStateBytes()
       Output only. [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;
      Specified by:
      getStateBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for state.
    • setState

      public InterconnectAttachment.Builder setState(String value)
       Output only. [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;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public InterconnectAttachment.Builder clearState()
       Output only. [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:
      This builder for chaining.
    • setStateBytes

      public InterconnectAttachment.Builder setStateBytes(com.google.protobuf.ByteString value)
       Output only. [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;
      Parameters:
      value - The bytes for state to set.
      Returns:
      This builder for chaining.
    • hasSubnetLength

      public boolean hasSubnetLength()
       Input only. 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;
      Specified by:
      hasSubnetLength in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the subnetLength field is set.
    • getSubnetLength

      public int getSubnetLength()
       Input only. 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;
      Specified by:
      getSubnetLength in interface InterconnectAttachmentOrBuilder
      Returns:
      The subnetLength.
    • setSubnetLength

      public InterconnectAttachment.Builder setSubnetLength(int value)
       Input only. 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;
      Parameters:
      value - The subnetLength to set.
      Returns:
      This builder for chaining.
    • clearSubnetLength

      public InterconnectAttachment.Builder clearSubnetLength()
       Input only. 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:
      This builder for chaining.
    • 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.
      
       - L2_DEDICATED: a L2 attachment to a Dedicated Interconnect.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      hasType in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the type field is set.
    • 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.
      
       - L2_DEDICATED: a L2 attachment to a Dedicated Interconnect.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      getType in interface InterconnectAttachmentOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.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.
      
       - L2_DEDICATED: a L2 attachment to a Dedicated Interconnect.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Specified by:
      getTypeBytes in interface InterconnectAttachmentOrBuilder
      Returns:
      The bytes for type.
    • setType

      public InterconnectAttachment.Builder setType(String value)
       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.
      
       - L2_DEDICATED: a L2 attachment to a Dedicated Interconnect.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public InterconnectAttachment.Builder clearType()
       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.
      
       - L2_DEDICATED: a L2 attachment to a Dedicated Interconnect.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public InterconnectAttachment.Builder setTypeBytes(com.google.protobuf.ByteString value)
       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.
      
       - L2_DEDICATED: a L2 attachment to a Dedicated Interconnect.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      hasVlanTag8021Q in interface InterconnectAttachmentOrBuilder
      Returns:
      Whether the vlanTag8021q field is set.
    • 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;
      Specified by:
      getVlanTag8021Q in interface InterconnectAttachmentOrBuilder
      Returns:
      The vlanTag8021q.
    • setVlanTag8021Q

      public InterconnectAttachment.Builder setVlanTag8021Q(int value)
       The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4093.
       Only specified at creation time.
       
      optional int32 vlan_tag8021q = 119927836;
      Parameters:
      value - The vlanTag8021q to set.
      Returns:
      This builder for chaining.
    • clearVlanTag8021Q

      public InterconnectAttachment.Builder clearVlanTag8021Q()
       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:
      This builder for chaining.