Class Interconnect.Builder

  • All Implemented Interfaces:
    InterconnectOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Interconnect

    public static final class Interconnect.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Interconnect.Builder>
    implements InterconnectOrBuilder
     Represents an Interconnect resource. An Interconnect resource is a dedicated connection between the Google Cloud network and your on-premises network. For more information, read the Dedicated Interconnect Overview.
     
    Protobuf type google.cloud.compute.v1.Interconnect
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Interconnect.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Interconnect.Builder>
      • internalGetFieldAccessorTable

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

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

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

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

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

        public Interconnect.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Interconnect.Builder>
      • setField

        public Interconnect.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Interconnect.Builder>
      • clearField

        public Interconnect.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Interconnect.Builder>
      • clearOneof

        public Interconnect.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Interconnect.Builder>
      • setRepeatedField

        public Interconnect.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     int index,
                                                     Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Interconnect.Builder>
      • addRepeatedField

        public Interconnect.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Interconnect.Builder>
      • mergeFrom

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

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

        public Interconnect.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<Interconnect.Builder>
        Throws:
        IOException
      • hasAdminEnabled

        public boolean hasAdminEnabled()
         Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true.
         
        optional bool admin_enabled = 445675089;
        Specified by:
        hasAdminEnabled in interface InterconnectOrBuilder
        Returns:
        Whether the adminEnabled field is set.
      • getAdminEnabled

        public boolean getAdminEnabled()
         Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true.
         
        optional bool admin_enabled = 445675089;
        Specified by:
        getAdminEnabled in interface InterconnectOrBuilder
        Returns:
        The adminEnabled.
      • setAdminEnabled

        public Interconnect.Builder setAdminEnabled​(boolean value)
         Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true.
         
        optional bool admin_enabled = 445675089;
        Parameters:
        value - The adminEnabled to set.
        Returns:
        This builder for chaining.
      • clearAdminEnabled

        public Interconnect.Builder clearAdminEnabled()
         Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true.
         
        optional bool admin_enabled = 445675089;
        Returns:
        This builder for chaining.
      • getCircuitInfosCount

        public int getCircuitInfosCount()
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
        Specified by:
        getCircuitInfosCount in interface InterconnectOrBuilder
      • getCircuitInfos

        public InterconnectCircuitInfo getCircuitInfos​(int index)
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
        Specified by:
        getCircuitInfos in interface InterconnectOrBuilder
      • setCircuitInfos

        public Interconnect.Builder setCircuitInfos​(int index,
                                                    InterconnectCircuitInfo value)
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
      • setCircuitInfos

        public Interconnect.Builder setCircuitInfos​(int index,
                                                    InterconnectCircuitInfo.Builder builderForValue)
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
      • addCircuitInfos

        public Interconnect.Builder addCircuitInfos​(InterconnectCircuitInfo value)
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
      • addCircuitInfos

        public Interconnect.Builder addCircuitInfos​(int index,
                                                    InterconnectCircuitInfo value)
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
      • addCircuitInfos

        public Interconnect.Builder addCircuitInfos​(InterconnectCircuitInfo.Builder builderForValue)
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
      • addCircuitInfos

        public Interconnect.Builder addCircuitInfos​(int index,
                                                    InterconnectCircuitInfo.Builder builderForValue)
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
      • addAllCircuitInfos

        public Interconnect.Builder addAllCircuitInfos​(Iterable<? extends InterconnectCircuitInfo> values)
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
      • clearCircuitInfos

        public Interconnect.Builder clearCircuitInfos()
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
      • removeCircuitInfos

        public Interconnect.Builder removeCircuitInfos​(int index)
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
      • getCircuitInfosBuilder

        public InterconnectCircuitInfo.Builder getCircuitInfosBuilder​(int index)
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
      • addCircuitInfosBuilder

        public InterconnectCircuitInfo.Builder addCircuitInfosBuilder()
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
      • addCircuitInfosBuilder

        public InterconnectCircuitInfo.Builder addCircuitInfosBuilder​(int index)
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
      • getCircuitInfosBuilderList

        public List<InterconnectCircuitInfo.Builder> getCircuitInfosBuilderList()
         [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.
         
        repeated .google.cloud.compute.v1.InterconnectCircuitInfo circuit_infos = 164839855;
      • hasCreationTimestamp

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

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

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

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

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

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

        public boolean hasCustomerName()
         Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.
         
        optional string customer_name = 3665484;
        Specified by:
        hasCustomerName in interface InterconnectOrBuilder
        Returns:
        Whether the customerName field is set.
      • getCustomerName

        public String getCustomerName()
         Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.
         
        optional string customer_name = 3665484;
        Specified by:
        getCustomerName in interface InterconnectOrBuilder
        Returns:
        The customerName.
      • getCustomerNameBytes

        public com.google.protobuf.ByteString getCustomerNameBytes()
         Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.
         
        optional string customer_name = 3665484;
        Specified by:
        getCustomerNameBytes in interface InterconnectOrBuilder
        Returns:
        The bytes for customerName.
      • setCustomerName

        public Interconnect.Builder setCustomerName​(String value)
         Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.
         
        optional string customer_name = 3665484;
        Parameters:
        value - The customerName to set.
        Returns:
        This builder for chaining.
      • clearCustomerName

        public Interconnect.Builder clearCustomerName()
         Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.
         
        optional string customer_name = 3665484;
        Returns:
        This builder for chaining.
      • setCustomerNameBytes

        public Interconnect.Builder setCustomerNameBytes​(com.google.protobuf.ByteString value)
         Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.
         
        optional string customer_name = 3665484;
        Parameters:
        value - The bytes for customerName to set.
        Returns:
        This builder for chaining.
      • hasDescription

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

        public String getDescription()
         An optional description of this resource. Provide this property when you create the resource.
         
        optional string description = 422937596;
        Specified by:
        getDescription in interface InterconnectOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         An optional description of this resource. Provide this property when you create the resource.
         
        optional string description = 422937596;
        Specified by:
        getDescriptionBytes in interface InterconnectOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public Interconnect.Builder setDescription​(String value)
         An optional description of this resource. Provide this property when you create the resource.
         
        optional string description = 422937596;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public Interconnect.Builder clearDescription()
         An optional description of this resource. Provide this property when you create the resource.
         
        optional string description = 422937596;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public Interconnect.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         An optional description of this resource. Provide this property when you create the resource.
         
        optional string description = 422937596;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getExpectedOutagesCount

        public int getExpectedOutagesCount()
         [Output Only] A list of outages expected for this Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
        Specified by:
        getExpectedOutagesCount in interface InterconnectOrBuilder
      • setExpectedOutages

        public Interconnect.Builder setExpectedOutages​(int index,
                                                       InterconnectOutageNotification value)
         [Output Only] A list of outages expected for this Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
      • setExpectedOutages

        public Interconnect.Builder setExpectedOutages​(int index,
                                                       InterconnectOutageNotification.Builder builderForValue)
         [Output Only] A list of outages expected for this Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
      • addExpectedOutages

        public Interconnect.Builder addExpectedOutages​(InterconnectOutageNotification value)
         [Output Only] A list of outages expected for this Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
      • addExpectedOutages

        public Interconnect.Builder addExpectedOutages​(int index,
                                                       InterconnectOutageNotification value)
         [Output Only] A list of outages expected for this Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
      • addExpectedOutages

        public Interconnect.Builder addExpectedOutages​(int index,
                                                       InterconnectOutageNotification.Builder builderForValue)
         [Output Only] A list of outages expected for this Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
      • addAllExpectedOutages

        public Interconnect.Builder addAllExpectedOutages​(Iterable<? extends InterconnectOutageNotification> values)
         [Output Only] A list of outages expected for this Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
      • clearExpectedOutages

        public Interconnect.Builder clearExpectedOutages()
         [Output Only] A list of outages expected for this Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
      • removeExpectedOutages

        public Interconnect.Builder removeExpectedOutages​(int index)
         [Output Only] A list of outages expected for this Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
      • getExpectedOutagesBuilder

        public InterconnectOutageNotification.Builder getExpectedOutagesBuilder​(int index)
         [Output Only] A list of outages expected for this Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
      • addExpectedOutagesBuilder

        public InterconnectOutageNotification.Builder addExpectedOutagesBuilder()
         [Output Only] A list of outages expected for this Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
      • addExpectedOutagesBuilder

        public InterconnectOutageNotification.Builder addExpectedOutagesBuilder​(int index)
         [Output Only] A list of outages expected for this Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
      • getExpectedOutagesBuilderList

        public List<InterconnectOutageNotification.Builder> getExpectedOutagesBuilderList()
         [Output Only] A list of outages expected for this Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectOutageNotification expected_outages = 264484123;
      • hasGoogleIpAddress

        public boolean hasGoogleIpAddress()
         [Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.
         
        optional string google_ip_address = 443105954;
        Specified by:
        hasGoogleIpAddress in interface InterconnectOrBuilder
        Returns:
        Whether the googleIpAddress field is set.
      • getGoogleIpAddress

        public String getGoogleIpAddress()
         [Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.
         
        optional string google_ip_address = 443105954;
        Specified by:
        getGoogleIpAddress in interface InterconnectOrBuilder
        Returns:
        The googleIpAddress.
      • getGoogleIpAddressBytes

        public com.google.protobuf.ByteString getGoogleIpAddressBytes()
         [Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.
         
        optional string google_ip_address = 443105954;
        Specified by:
        getGoogleIpAddressBytes in interface InterconnectOrBuilder
        Returns:
        The bytes for googleIpAddress.
      • setGoogleIpAddress

        public Interconnect.Builder setGoogleIpAddress​(String value)
         [Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.
         
        optional string google_ip_address = 443105954;
        Parameters:
        value - The googleIpAddress to set.
        Returns:
        This builder for chaining.
      • clearGoogleIpAddress

        public Interconnect.Builder clearGoogleIpAddress()
         [Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.
         
        optional string google_ip_address = 443105954;
        Returns:
        This builder for chaining.
      • setGoogleIpAddressBytes

        public Interconnect.Builder setGoogleIpAddressBytes​(com.google.protobuf.ByteString value)
         [Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.
         
        optional string google_ip_address = 443105954;
        Parameters:
        value - The bytes for googleIpAddress to set.
        Returns:
        This builder for chaining.
      • hasGoogleReferenceId

        public boolean hasGoogleReferenceId()
         [Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.
         
        optional string google_reference_id = 534944469;
        Specified by:
        hasGoogleReferenceId in interface InterconnectOrBuilder
        Returns:
        Whether the googleReferenceId field is set.
      • getGoogleReferenceId

        public String getGoogleReferenceId()
         [Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.
         
        optional string google_reference_id = 534944469;
        Specified by:
        getGoogleReferenceId in interface InterconnectOrBuilder
        Returns:
        The googleReferenceId.
      • getGoogleReferenceIdBytes

        public com.google.protobuf.ByteString getGoogleReferenceIdBytes()
         [Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.
         
        optional string google_reference_id = 534944469;
        Specified by:
        getGoogleReferenceIdBytes in interface InterconnectOrBuilder
        Returns:
        The bytes for googleReferenceId.
      • setGoogleReferenceId

        public Interconnect.Builder setGoogleReferenceId​(String value)
         [Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.
         
        optional string google_reference_id = 534944469;
        Parameters:
        value - The googleReferenceId to set.
        Returns:
        This builder for chaining.
      • clearGoogleReferenceId

        public Interconnect.Builder clearGoogleReferenceId()
         [Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.
         
        optional string google_reference_id = 534944469;
        Returns:
        This builder for chaining.
      • setGoogleReferenceIdBytes

        public Interconnect.Builder setGoogleReferenceIdBytes​(com.google.protobuf.ByteString value)
         [Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.
         
        optional string google_reference_id = 534944469;
        Parameters:
        value - The bytes for googleReferenceId to set.
        Returns:
        This builder for chaining.
      • hasId

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

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

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

        public Interconnect.Builder clearId()
         [Output Only] The unique identifier for the resource. This identifier is defined by the server.
         
        optional uint64 id = 3355;
        Returns:
        This builder for chaining.
      • getInterconnectAttachmentsList

        public com.google.protobuf.ProtocolStringList getInterconnectAttachmentsList()
         [Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.
         
        repeated string interconnect_attachments = 425388415;
        Specified by:
        getInterconnectAttachmentsList in interface InterconnectOrBuilder
        Returns:
        A list containing the interconnectAttachments.
      • getInterconnectAttachmentsCount

        public int getInterconnectAttachmentsCount()
         [Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.
         
        repeated string interconnect_attachments = 425388415;
        Specified by:
        getInterconnectAttachmentsCount in interface InterconnectOrBuilder
        Returns:
        The count of interconnectAttachments.
      • getInterconnectAttachments

        public String getInterconnectAttachments​(int index)
         [Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.
         
        repeated string interconnect_attachments = 425388415;
        Specified by:
        getInterconnectAttachments in interface InterconnectOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The interconnectAttachments at the given index.
      • getInterconnectAttachmentsBytes

        public com.google.protobuf.ByteString getInterconnectAttachmentsBytes​(int index)
         [Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.
         
        repeated string interconnect_attachments = 425388415;
        Specified by:
        getInterconnectAttachmentsBytes in interface InterconnectOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the interconnectAttachments at the given index.
      • setInterconnectAttachments

        public Interconnect.Builder setInterconnectAttachments​(int index,
                                                               String value)
         [Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.
         
        repeated string interconnect_attachments = 425388415;
        Parameters:
        index - The index to set the value at.
        value - The interconnectAttachments to set.
        Returns:
        This builder for chaining.
      • addInterconnectAttachments

        public Interconnect.Builder addInterconnectAttachments​(String value)
         [Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.
         
        repeated string interconnect_attachments = 425388415;
        Parameters:
        value - The interconnectAttachments to add.
        Returns:
        This builder for chaining.
      • addAllInterconnectAttachments

        public Interconnect.Builder addAllInterconnectAttachments​(Iterable<String> values)
         [Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.
         
        repeated string interconnect_attachments = 425388415;
        Parameters:
        values - The interconnectAttachments to add.
        Returns:
        This builder for chaining.
      • clearInterconnectAttachments

        public Interconnect.Builder clearInterconnectAttachments()
         [Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.
         
        repeated string interconnect_attachments = 425388415;
        Returns:
        This builder for chaining.
      • addInterconnectAttachmentsBytes

        public Interconnect.Builder addInterconnectAttachmentsBytes​(com.google.protobuf.ByteString value)
         [Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.
         
        repeated string interconnect_attachments = 425388415;
        Parameters:
        value - The bytes of the interconnectAttachments to add.
        Returns:
        This builder for chaining.
      • hasInterconnectType

        public boolean hasInterconnectType()
         Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED.
         Check the InterconnectType enum for the list of possible values.
         
        optional string interconnect_type = 515165259;
        Specified by:
        hasInterconnectType in interface InterconnectOrBuilder
        Returns:
        Whether the interconnectType field is set.
      • getInterconnectType

        public String getInterconnectType()
         Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED.
         Check the InterconnectType enum for the list of possible values.
         
        optional string interconnect_type = 515165259;
        Specified by:
        getInterconnectType in interface InterconnectOrBuilder
        Returns:
        The interconnectType.
      • getInterconnectTypeBytes

        public com.google.protobuf.ByteString getInterconnectTypeBytes()
         Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED.
         Check the InterconnectType enum for the list of possible values.
         
        optional string interconnect_type = 515165259;
        Specified by:
        getInterconnectTypeBytes in interface InterconnectOrBuilder
        Returns:
        The bytes for interconnectType.
      • setInterconnectType

        public Interconnect.Builder setInterconnectType​(String value)
         Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED.
         Check the InterconnectType enum for the list of possible values.
         
        optional string interconnect_type = 515165259;
        Parameters:
        value - The interconnectType to set.
        Returns:
        This builder for chaining.
      • clearInterconnectType

        public Interconnect.Builder clearInterconnectType()
         Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED.
         Check the InterconnectType enum for the list of possible values.
         
        optional string interconnect_type = 515165259;
        Returns:
        This builder for chaining.
      • setInterconnectTypeBytes

        public Interconnect.Builder setInterconnectTypeBytes​(com.google.protobuf.ByteString value)
         Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED.
         Check the InterconnectType enum for the list of possible values.
         
        optional string interconnect_type = 515165259;
        Parameters:
        value - The bytes for interconnectType to set.
        Returns:
        This builder for chaining.
      • hasKind

        public boolean hasKind()
         [Output Only] Type of the resource. Always compute#interconnect for interconnects.
         
        optional string kind = 3292052;
        Specified by:
        hasKind in interface InterconnectOrBuilder
        Returns:
        Whether the kind field is set.
      • getKind

        public String getKind()
         [Output Only] Type of the resource. Always compute#interconnect for interconnects.
         
        optional string kind = 3292052;
        Specified by:
        getKind in interface InterconnectOrBuilder
        Returns:
        The kind.
      • getKindBytes

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

        public Interconnect.Builder setKind​(String value)
         [Output Only] Type of the resource. Always compute#interconnect for interconnects.
         
        optional string kind = 3292052;
        Parameters:
        value - The kind to set.
        Returns:
        This builder for chaining.
      • clearKind

        public Interconnect.Builder clearKind()
         [Output Only] Type of the resource. Always compute#interconnect for interconnects.
         
        optional string kind = 3292052;
        Returns:
        This builder for chaining.
      • setKindBytes

        public Interconnect.Builder setKindBytes​(com.google.protobuf.ByteString value)
         [Output Only] Type of the resource. Always compute#interconnect for interconnects.
         
        optional string kind = 3292052;
        Parameters:
        value - The bytes for kind to set.
        Returns:
        This builder for chaining.
      • hasLabelFingerprint

        public boolean hasLabelFingerprint()
         A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Interconnect.
         
        optional string label_fingerprint = 178124825;
        Specified by:
        hasLabelFingerprint in interface InterconnectOrBuilder
        Returns:
        Whether the labelFingerprint field is set.
      • getLabelFingerprint

        public String getLabelFingerprint()
         A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Interconnect.
         
        optional string label_fingerprint = 178124825;
        Specified by:
        getLabelFingerprint in interface InterconnectOrBuilder
        Returns:
        The labelFingerprint.
      • getLabelFingerprintBytes

        public com.google.protobuf.ByteString getLabelFingerprintBytes()
         A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Interconnect.
         
        optional string label_fingerprint = 178124825;
        Specified by:
        getLabelFingerprintBytes in interface InterconnectOrBuilder
        Returns:
        The bytes for labelFingerprint.
      • setLabelFingerprint

        public Interconnect.Builder setLabelFingerprint​(String value)
         A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Interconnect.
         
        optional string label_fingerprint = 178124825;
        Parameters:
        value - The labelFingerprint to set.
        Returns:
        This builder for chaining.
      • clearLabelFingerprint

        public Interconnect.Builder clearLabelFingerprint()
         A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Interconnect.
         
        optional string label_fingerprint = 178124825;
        Returns:
        This builder for chaining.
      • setLabelFingerprintBytes

        public Interconnect.Builder setLabelFingerprintBytes​(com.google.protobuf.ByteString value)
         A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Interconnect.
         
        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: InterconnectOrBuilder
         Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
         
        map<string, string> labels = 500195327;
        Specified by:
        getLabelsCount in interface InterconnectOrBuilder
      • containsLabels

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

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

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

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

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

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

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

        public Interconnect.Builder putAllLabels​(Map<String,​String> values)
         Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.
         
        map<string, string> labels = 500195327;
      • hasLinkType

        public boolean hasLinkType()
         Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle.
         Check the LinkType enum for the list of possible values.
         
        optional string link_type = 523207775;
        Specified by:
        hasLinkType in interface InterconnectOrBuilder
        Returns:
        Whether the linkType field is set.
      • getLinkType

        public String getLinkType()
         Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle.
         Check the LinkType enum for the list of possible values.
         
        optional string link_type = 523207775;
        Specified by:
        getLinkType in interface InterconnectOrBuilder
        Returns:
        The linkType.
      • getLinkTypeBytes

        public com.google.protobuf.ByteString getLinkTypeBytes()
         Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle.
         Check the LinkType enum for the list of possible values.
         
        optional string link_type = 523207775;
        Specified by:
        getLinkTypeBytes in interface InterconnectOrBuilder
        Returns:
        The bytes for linkType.
      • setLinkType

        public Interconnect.Builder setLinkType​(String value)
         Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle.
         Check the LinkType enum for the list of possible values.
         
        optional string link_type = 523207775;
        Parameters:
        value - The linkType to set.
        Returns:
        This builder for chaining.
      • clearLinkType

        public Interconnect.Builder clearLinkType()
         Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle.
         Check the LinkType enum for the list of possible values.
         
        optional string link_type = 523207775;
        Returns:
        This builder for chaining.
      • setLinkTypeBytes

        public Interconnect.Builder setLinkTypeBytes​(com.google.protobuf.ByteString value)
         Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle.
         Check the LinkType enum for the list of possible values.
         
        optional string link_type = 523207775;
        Parameters:
        value - The bytes for linkType to set.
        Returns:
        This builder for chaining.
      • hasLocation

        public boolean hasLocation()
         URL of the InterconnectLocation object that represents where this connection is to be provisioned.
         
        optional string location = 290430901;
        Specified by:
        hasLocation in interface InterconnectOrBuilder
        Returns:
        Whether the location field is set.
      • getLocation

        public String getLocation()
         URL of the InterconnectLocation object that represents where this connection is to be provisioned.
         
        optional string location = 290430901;
        Specified by:
        getLocation in interface InterconnectOrBuilder
        Returns:
        The location.
      • getLocationBytes

        public com.google.protobuf.ByteString getLocationBytes()
         URL of the InterconnectLocation object that represents where this connection is to be provisioned.
         
        optional string location = 290430901;
        Specified by:
        getLocationBytes in interface InterconnectOrBuilder
        Returns:
        The bytes for location.
      • setLocation

        public Interconnect.Builder setLocation​(String value)
         URL of the InterconnectLocation object that represents where this connection is to be provisioned.
         
        optional string location = 290430901;
        Parameters:
        value - The location to set.
        Returns:
        This builder for chaining.
      • clearLocation

        public Interconnect.Builder clearLocation()
         URL of the InterconnectLocation object that represents where this connection is to be provisioned.
         
        optional string location = 290430901;
        Returns:
        This builder for chaining.
      • setLocationBytes

        public Interconnect.Builder setLocationBytes​(com.google.protobuf.ByteString value)
         URL of the InterconnectLocation object that represents where this connection is to be provisioned.
         
        optional string location = 290430901;
        Parameters:
        value - The bytes for location to set.
        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 with RFC1035. 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 InterconnectOrBuilder
        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 with RFC1035. 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 InterconnectOrBuilder
        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 with RFC1035. 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 InterconnectOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Interconnect.Builder setName​(String value)
         Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-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 Interconnect.Builder clearName()
         Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-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 Interconnect.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 with RFC1035. 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.
      • hasNocContactEmail

        public boolean hasNocContactEmail()
         Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This field is required for users who sign up for Cloud Interconnect using workforce identity federation.
         
        optional string noc_contact_email = 14072832;
        Specified by:
        hasNocContactEmail in interface InterconnectOrBuilder
        Returns:
        Whether the nocContactEmail field is set.
      • getNocContactEmail

        public String getNocContactEmail()
         Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This field is required for users who sign up for Cloud Interconnect using workforce identity federation.
         
        optional string noc_contact_email = 14072832;
        Specified by:
        getNocContactEmail in interface InterconnectOrBuilder
        Returns:
        The nocContactEmail.
      • getNocContactEmailBytes

        public com.google.protobuf.ByteString getNocContactEmailBytes()
         Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This field is required for users who sign up for Cloud Interconnect using workforce identity federation.
         
        optional string noc_contact_email = 14072832;
        Specified by:
        getNocContactEmailBytes in interface InterconnectOrBuilder
        Returns:
        The bytes for nocContactEmail.
      • setNocContactEmail

        public Interconnect.Builder setNocContactEmail​(String value)
         Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This field is required for users who sign up for Cloud Interconnect using workforce identity federation.
         
        optional string noc_contact_email = 14072832;
        Parameters:
        value - The nocContactEmail to set.
        Returns:
        This builder for chaining.
      • clearNocContactEmail

        public Interconnect.Builder clearNocContactEmail()
         Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This field is required for users who sign up for Cloud Interconnect using workforce identity federation.
         
        optional string noc_contact_email = 14072832;
        Returns:
        This builder for chaining.
      • setNocContactEmailBytes

        public Interconnect.Builder setNocContactEmailBytes​(com.google.protobuf.ByteString value)
         Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This field is required for users who sign up for Cloud Interconnect using workforce identity federation.
         
        optional string noc_contact_email = 14072832;
        Parameters:
        value - The bytes for nocContactEmail to set.
        Returns:
        This builder for chaining.
      • hasOperationalStatus

        public boolean hasOperationalStatus()
         [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
         Check the OperationalStatus enum for the list of possible values.
         
        optional string operational_status = 201070847;
        Specified by:
        hasOperationalStatus in interface InterconnectOrBuilder
        Returns:
        Whether the operationalStatus field is set.
      • getOperationalStatus

        public String getOperationalStatus()
         [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
         Check the OperationalStatus enum for the list of possible values.
         
        optional string operational_status = 201070847;
        Specified by:
        getOperationalStatus in interface InterconnectOrBuilder
        Returns:
        The operationalStatus.
      • getOperationalStatusBytes

        public com.google.protobuf.ByteString getOperationalStatusBytes()
         [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
         Check the OperationalStatus enum for the list of possible values.
         
        optional string operational_status = 201070847;
        Specified by:
        getOperationalStatusBytes in interface InterconnectOrBuilder
        Returns:
        The bytes for operationalStatus.
      • setOperationalStatus

        public Interconnect.Builder setOperationalStatus​(String value)
         [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
         Check the OperationalStatus enum for the list of possible values.
         
        optional string operational_status = 201070847;
        Parameters:
        value - The operationalStatus to set.
        Returns:
        This builder for chaining.
      • clearOperationalStatus

        public Interconnect.Builder clearOperationalStatus()
         [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
         Check the OperationalStatus enum for the list of possible values.
         
        optional string operational_status = 201070847;
        Returns:
        This builder for chaining.
      • setOperationalStatusBytes

        public Interconnect.Builder setOperationalStatusBytes​(com.google.protobuf.ByteString value)
         [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
         Check the OperationalStatus enum for the list of possible values.
         
        optional string operational_status = 201070847;
        Parameters:
        value - The bytes for operationalStatus to set.
        Returns:
        This builder for chaining.
      • hasPeerIpAddress

        public boolean hasPeerIpAddress()
         [Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.
         
        optional string peer_ip_address = 207735769;
        Specified by:
        hasPeerIpAddress in interface InterconnectOrBuilder
        Returns:
        Whether the peerIpAddress field is set.
      • getPeerIpAddress

        public String getPeerIpAddress()
         [Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.
         
        optional string peer_ip_address = 207735769;
        Specified by:
        getPeerIpAddress in interface InterconnectOrBuilder
        Returns:
        The peerIpAddress.
      • getPeerIpAddressBytes

        public com.google.protobuf.ByteString getPeerIpAddressBytes()
         [Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.
         
        optional string peer_ip_address = 207735769;
        Specified by:
        getPeerIpAddressBytes in interface InterconnectOrBuilder
        Returns:
        The bytes for peerIpAddress.
      • setPeerIpAddress

        public Interconnect.Builder setPeerIpAddress​(String value)
         [Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.
         
        optional string peer_ip_address = 207735769;
        Parameters:
        value - The peerIpAddress to set.
        Returns:
        This builder for chaining.
      • clearPeerIpAddress

        public Interconnect.Builder clearPeerIpAddress()
         [Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.
         
        optional string peer_ip_address = 207735769;
        Returns:
        This builder for chaining.
      • setPeerIpAddressBytes

        public Interconnect.Builder setPeerIpAddressBytes​(com.google.protobuf.ByteString value)
         [Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.
         
        optional string peer_ip_address = 207735769;
        Parameters:
        value - The bytes for peerIpAddress to set.
        Returns:
        This builder for chaining.
      • hasProvisionedLinkCount

        public boolean hasProvisionedLinkCount()
         [Output Only] Number of links actually provisioned in this interconnect.
         
        optional int32 provisioned_link_count = 410888565;
        Specified by:
        hasProvisionedLinkCount in interface InterconnectOrBuilder
        Returns:
        Whether the provisionedLinkCount field is set.
      • getProvisionedLinkCount

        public int getProvisionedLinkCount()
         [Output Only] Number of links actually provisioned in this interconnect.
         
        optional int32 provisioned_link_count = 410888565;
        Specified by:
        getProvisionedLinkCount in interface InterconnectOrBuilder
        Returns:
        The provisionedLinkCount.
      • setProvisionedLinkCount

        public Interconnect.Builder setProvisionedLinkCount​(int value)
         [Output Only] Number of links actually provisioned in this interconnect.
         
        optional int32 provisioned_link_count = 410888565;
        Parameters:
        value - The provisionedLinkCount to set.
        Returns:
        This builder for chaining.
      • clearProvisionedLinkCount

        public Interconnect.Builder clearProvisionedLinkCount()
         [Output Only] Number of links actually provisioned in this interconnect.
         
        optional int32 provisioned_link_count = 410888565;
        Returns:
        This builder for chaining.
      • hasRemoteLocation

        public boolean hasRemoteLocation()
         Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of Google's network that the interconnect is connected to.
         
        optional string remote_location = 324388750;
        Specified by:
        hasRemoteLocation in interface InterconnectOrBuilder
        Returns:
        Whether the remoteLocation field is set.
      • getRemoteLocation

        public String getRemoteLocation()
         Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of Google's network that the interconnect is connected to.
         
        optional string remote_location = 324388750;
        Specified by:
        getRemoteLocation in interface InterconnectOrBuilder
        Returns:
        The remoteLocation.
      • getRemoteLocationBytes

        public com.google.protobuf.ByteString getRemoteLocationBytes()
         Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of Google's network that the interconnect is connected to.
         
        optional string remote_location = 324388750;
        Specified by:
        getRemoteLocationBytes in interface InterconnectOrBuilder
        Returns:
        The bytes for remoteLocation.
      • setRemoteLocation

        public Interconnect.Builder setRemoteLocation​(String value)
         Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of Google's network that the interconnect is connected to.
         
        optional string remote_location = 324388750;
        Parameters:
        value - The remoteLocation to set.
        Returns:
        This builder for chaining.
      • clearRemoteLocation

        public Interconnect.Builder clearRemoteLocation()
         Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of Google's network that the interconnect is connected to.
         
        optional string remote_location = 324388750;
        Returns:
        This builder for chaining.
      • setRemoteLocationBytes

        public Interconnect.Builder setRemoteLocationBytes​(com.google.protobuf.ByteString value)
         Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of Google's network that the interconnect is connected to.
         
        optional string remote_location = 324388750;
        Parameters:
        value - The bytes for remoteLocation to set.
        Returns:
        This builder for chaining.
      • hasRequestedLinkCount

        public boolean hasRequestedLinkCount()
         Target number of physical links in the link bundle, as requested by the customer.
         
        optional int32 requested_link_count = 45051387;
        Specified by:
        hasRequestedLinkCount in interface InterconnectOrBuilder
        Returns:
        Whether the requestedLinkCount field is set.
      • getRequestedLinkCount

        public int getRequestedLinkCount()
         Target number of physical links in the link bundle, as requested by the customer.
         
        optional int32 requested_link_count = 45051387;
        Specified by:
        getRequestedLinkCount in interface InterconnectOrBuilder
        Returns:
        The requestedLinkCount.
      • setRequestedLinkCount

        public Interconnect.Builder setRequestedLinkCount​(int value)
         Target number of physical links in the link bundle, as requested by the customer.
         
        optional int32 requested_link_count = 45051387;
        Parameters:
        value - The requestedLinkCount to set.
        Returns:
        This builder for chaining.
      • clearRequestedLinkCount

        public Interconnect.Builder clearRequestedLinkCount()
         Target number of physical links in the link bundle, as requested by the customer.
         
        optional int32 requested_link_count = 45051387;
        Returns:
        This builder for chaining.
      • hasSatisfiesPzs

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

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

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

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

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

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

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

        public Interconnect.Builder setSelfLink​(String value)
         [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 Interconnect.Builder clearSelfLink()
         [Output Only] Server-defined URL for the resource.
         
        optional string self_link = 456214797;
        Returns:
        This builder for chaining.
      • setSelfLinkBytes

        public Interconnect.Builder setSelfLinkBytes​(com.google.protobuf.ByteString value)
         [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.
      • hasState

        public boolean hasState()
         [Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
         Check the State enum for the list of possible values.
         
        optional string state = 109757585;
        Specified by:
        hasState in interface InterconnectOrBuilder
        Returns:
        Whether the state field is set.
      • getState

        public String getState()
         [Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
         Check the State enum for the list of possible values.
         
        optional string state = 109757585;
        Specified by:
        getState in interface InterconnectOrBuilder
        Returns:
        The state.
      • getStateBytes

        public com.google.protobuf.ByteString getStateBytes()
         [Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
         Check the State enum for the list of possible values.
         
        optional string state = 109757585;
        Specified by:
        getStateBytes in interface InterconnectOrBuilder
        Returns:
        The bytes for state.
      • setState

        public Interconnect.Builder setState​(String value)
         [Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
         Check the State enum for the list of possible values.
         
        optional string state = 109757585;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Interconnect.Builder clearState()
         [Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
         Check the State enum for the list of possible values.
         
        optional string state = 109757585;
        Returns:
        This builder for chaining.
      • setStateBytes

        public Interconnect.Builder setStateBytes​(com.google.protobuf.ByteString value)
         [Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
         Check the State enum for the list of possible values.
         
        optional string state = 109757585;
        Parameters:
        value - The bytes for state to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Interconnect.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Interconnect.Builder>
      • mergeUnknownFields

        public final Interconnect.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Interconnect.Builder>