Class InterconnectLocation.Builder

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

    public static final class InterconnectLocation.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<InterconnectLocation.Builder>
    implements InterconnectLocationOrBuilder
     Represents an Interconnect Attachment (VLAN) Location resource. You can use this resource to find location details about an Interconnect attachment (VLAN). For more information about interconnect attachments, read Creating VLAN Attachments.
     
    Protobuf type google.cloud.compute.v1.InterconnectLocation
    • Method Detail

      • getDescriptor

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

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

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

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

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

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

        public InterconnectLocation.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<InterconnectLocation.Builder>
      • setField

        public InterconnectLocation.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<InterconnectLocation.Builder>
      • clearField

        public InterconnectLocation.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<InterconnectLocation.Builder>
      • clearOneof

        public InterconnectLocation.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<InterconnectLocation.Builder>
      • setRepeatedField

        public InterconnectLocation.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<InterconnectLocation.Builder>
      • addRepeatedField

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

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

        public InterconnectLocation.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<InterconnectLocation.Builder>
        Throws:
        IOException
      • hasAddress

        public boolean hasAddress()
         [Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.
         
        optional string address = 462920692;
        Specified by:
        hasAddress in interface InterconnectLocationOrBuilder
        Returns:
        Whether the address field is set.
      • getAddress

        public String getAddress()
         [Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.
         
        optional string address = 462920692;
        Specified by:
        getAddress in interface InterconnectLocationOrBuilder
        Returns:
        The address.
      • getAddressBytes

        public com.google.protobuf.ByteString getAddressBytes()
         [Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.
         
        optional string address = 462920692;
        Specified by:
        getAddressBytes in interface InterconnectLocationOrBuilder
        Returns:
        The bytes for address.
      • setAddress

        public InterconnectLocation.Builder setAddress​(String value)
         [Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.
         
        optional string address = 462920692;
        Parameters:
        value - The address to set.
        Returns:
        This builder for chaining.
      • clearAddress

        public InterconnectLocation.Builder clearAddress()
         [Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.
         
        optional string address = 462920692;
        Returns:
        This builder for chaining.
      • setAddressBytes

        public InterconnectLocation.Builder setAddressBytes​(com.google.protobuf.ByteString value)
         [Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.
         
        optional string address = 462920692;
        Parameters:
        value - The bytes for address to set.
        Returns:
        This builder for chaining.
      • hasAvailabilityZone

        public boolean hasAvailabilityZone()
         [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2".
         
        optional string availability_zone = 158459920;
        Specified by:
        hasAvailabilityZone in interface InterconnectLocationOrBuilder
        Returns:
        Whether the availabilityZone field is set.
      • getAvailabilityZone

        public String getAvailabilityZone()
         [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2".
         
        optional string availability_zone = 158459920;
        Specified by:
        getAvailabilityZone in interface InterconnectLocationOrBuilder
        Returns:
        The availabilityZone.
      • getAvailabilityZoneBytes

        public com.google.protobuf.ByteString getAvailabilityZoneBytes()
         [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2".
         
        optional string availability_zone = 158459920;
        Specified by:
        getAvailabilityZoneBytes in interface InterconnectLocationOrBuilder
        Returns:
        The bytes for availabilityZone.
      • setAvailabilityZone

        public InterconnectLocation.Builder setAvailabilityZone​(String value)
         [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2".
         
        optional string availability_zone = 158459920;
        Parameters:
        value - The availabilityZone to set.
        Returns:
        This builder for chaining.
      • clearAvailabilityZone

        public InterconnectLocation.Builder clearAvailabilityZone()
         [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2".
         
        optional string availability_zone = 158459920;
        Returns:
        This builder for chaining.
      • setAvailabilityZoneBytes

        public InterconnectLocation.Builder setAvailabilityZoneBytes​(com.google.protobuf.ByteString value)
         [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2".
         
        optional string availability_zone = 158459920;
        Parameters:
        value - The bytes for availabilityZone to set.
        Returns:
        This builder for chaining.
      • hasCity

        public boolean hasCity()
         [Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".
         
        optional string city = 3053931;
        Specified by:
        hasCity in interface InterconnectLocationOrBuilder
        Returns:
        Whether the city field is set.
      • getCity

        public String getCity()
         [Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".
         
        optional string city = 3053931;
        Specified by:
        getCity in interface InterconnectLocationOrBuilder
        Returns:
        The city.
      • getCityBytes

        public com.google.protobuf.ByteString getCityBytes()
         [Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".
         
        optional string city = 3053931;
        Specified by:
        getCityBytes in interface InterconnectLocationOrBuilder
        Returns:
        The bytes for city.
      • setCity

        public InterconnectLocation.Builder setCity​(String value)
         [Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".
         
        optional string city = 3053931;
        Parameters:
        value - The city to set.
        Returns:
        This builder for chaining.
      • clearCity

        public InterconnectLocation.Builder clearCity()
         [Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".
         
        optional string city = 3053931;
        Returns:
        This builder for chaining.
      • setCityBytes

        public InterconnectLocation.Builder setCityBytes​(com.google.protobuf.ByteString value)
         [Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".
         
        optional string city = 3053931;
        Parameters:
        value - The bytes for city to set.
        Returns:
        This builder for chaining.
      • hasContinent

        public boolean hasContinent()
         [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA
         Check the Continent enum for the list of possible values.
         
        optional string continent = 133442996;
        Specified by:
        hasContinent in interface InterconnectLocationOrBuilder
        Returns:
        Whether the continent field is set.
      • getContinent

        public String getContinent()
         [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA
         Check the Continent enum for the list of possible values.
         
        optional string continent = 133442996;
        Specified by:
        getContinent in interface InterconnectLocationOrBuilder
        Returns:
        The continent.
      • getContinentBytes

        public com.google.protobuf.ByteString getContinentBytes()
         [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA
         Check the Continent enum for the list of possible values.
         
        optional string continent = 133442996;
        Specified by:
        getContinentBytes in interface InterconnectLocationOrBuilder
        Returns:
        The bytes for continent.
      • setContinent

        public InterconnectLocation.Builder setContinent​(String value)
         [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA
         Check the Continent enum for the list of possible values.
         
        optional string continent = 133442996;
        Parameters:
        value - The continent to set.
        Returns:
        This builder for chaining.
      • clearContinent

        public InterconnectLocation.Builder clearContinent()
         [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA
         Check the Continent enum for the list of possible values.
         
        optional string continent = 133442996;
        Returns:
        This builder for chaining.
      • setContinentBytes

        public InterconnectLocation.Builder setContinentBytes​(com.google.protobuf.ByteString value)
         [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA
         Check the Continent enum for the list of possible values.
         
        optional string continent = 133442996;
        Parameters:
        value - The bytes for continent to set.
        Returns:
        This builder for chaining.
      • hasCreationTimestamp

        public boolean hasCreationTimestamp()
         [Output Only] Creation timestamp in RFC3339 text format.
         
        optional string creation_timestamp = 30525366;
        Specified by:
        hasCreationTimestamp in interface InterconnectLocationOrBuilder
        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 InterconnectLocationOrBuilder
        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 InterconnectLocationOrBuilder
        Returns:
        The bytes for creationTimestamp.
      • setCreationTimestamp

        public InterconnectLocation.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 InterconnectLocation.Builder clearCreationTimestamp()
         [Output Only] Creation timestamp in RFC3339 text format.
         
        optional string creation_timestamp = 30525366;
        Returns:
        This builder for chaining.
      • setCreationTimestampBytes

        public InterconnectLocation.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.
      • hasDescription

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

        public String getDescription()
         [Output Only] An optional description of the resource.
         
        optional string description = 422937596;
        Specified by:
        getDescription in interface InterconnectLocationOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         [Output Only] An optional description of the resource.
         
        optional string description = 422937596;
        Specified by:
        getDescriptionBytes in interface InterconnectLocationOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public InterconnectLocation.Builder setDescription​(String value)
         [Output Only] An optional description of the resource.
         
        optional string description = 422937596;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public InterconnectLocation.Builder clearDescription()
         [Output Only] An optional description of the resource.
         
        optional string description = 422937596;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public InterconnectLocation.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         [Output Only] An optional description of the resource.
         
        optional string description = 422937596;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • hasFacilityProvider

        public boolean hasFacilityProvider()
         [Output Only] The name of the provider for this facility (e.g., EQUINIX).
         
        optional string facility_provider = 533303309;
        Specified by:
        hasFacilityProvider in interface InterconnectLocationOrBuilder
        Returns:
        Whether the facilityProvider field is set.
      • getFacilityProvider

        public String getFacilityProvider()
         [Output Only] The name of the provider for this facility (e.g., EQUINIX).
         
        optional string facility_provider = 533303309;
        Specified by:
        getFacilityProvider in interface InterconnectLocationOrBuilder
        Returns:
        The facilityProvider.
      • getFacilityProviderBytes

        public com.google.protobuf.ByteString getFacilityProviderBytes()
         [Output Only] The name of the provider for this facility (e.g., EQUINIX).
         
        optional string facility_provider = 533303309;
        Specified by:
        getFacilityProviderBytes in interface InterconnectLocationOrBuilder
        Returns:
        The bytes for facilityProvider.
      • setFacilityProvider

        public InterconnectLocation.Builder setFacilityProvider​(String value)
         [Output Only] The name of the provider for this facility (e.g., EQUINIX).
         
        optional string facility_provider = 533303309;
        Parameters:
        value - The facilityProvider to set.
        Returns:
        This builder for chaining.
      • clearFacilityProvider

        public InterconnectLocation.Builder clearFacilityProvider()
         [Output Only] The name of the provider for this facility (e.g., EQUINIX).
         
        optional string facility_provider = 533303309;
        Returns:
        This builder for chaining.
      • setFacilityProviderBytes

        public InterconnectLocation.Builder setFacilityProviderBytes​(com.google.protobuf.ByteString value)
         [Output Only] The name of the provider for this facility (e.g., EQUINIX).
         
        optional string facility_provider = 533303309;
        Parameters:
        value - The bytes for facilityProvider to set.
        Returns:
        This builder for chaining.
      • hasFacilityProviderFacilityId

        public boolean hasFacilityProviderFacilityId()
         [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).
         
        optional string facility_provider_facility_id = 87269125;
        Specified by:
        hasFacilityProviderFacilityId in interface InterconnectLocationOrBuilder
        Returns:
        Whether the facilityProviderFacilityId field is set.
      • getFacilityProviderFacilityId

        public String getFacilityProviderFacilityId()
         [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).
         
        optional string facility_provider_facility_id = 87269125;
        Specified by:
        getFacilityProviderFacilityId in interface InterconnectLocationOrBuilder
        Returns:
        The facilityProviderFacilityId.
      • getFacilityProviderFacilityIdBytes

        public com.google.protobuf.ByteString getFacilityProviderFacilityIdBytes()
         [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).
         
        optional string facility_provider_facility_id = 87269125;
        Specified by:
        getFacilityProviderFacilityIdBytes in interface InterconnectLocationOrBuilder
        Returns:
        The bytes for facilityProviderFacilityId.
      • setFacilityProviderFacilityId

        public InterconnectLocation.Builder setFacilityProviderFacilityId​(String value)
         [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).
         
        optional string facility_provider_facility_id = 87269125;
        Parameters:
        value - The facilityProviderFacilityId to set.
        Returns:
        This builder for chaining.
      • clearFacilityProviderFacilityId

        public InterconnectLocation.Builder clearFacilityProviderFacilityId()
         [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).
         
        optional string facility_provider_facility_id = 87269125;
        Returns:
        This builder for chaining.
      • setFacilityProviderFacilityIdBytes

        public InterconnectLocation.Builder setFacilityProviderFacilityIdBytes​(com.google.protobuf.ByteString value)
         [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).
         
        optional string facility_provider_facility_id = 87269125;
        Parameters:
        value - The bytes for facilityProviderFacilityId 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 InterconnectLocationOrBuilder
        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 InterconnectLocationOrBuilder
        Returns:
        The id.
      • setId

        public InterconnectLocation.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 InterconnectLocation.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.
      • hasKind

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

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

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

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

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

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

        public boolean hasName()
         [Output Only] Name of the resource.
         
        optional string name = 3373707;
        Specified by:
        hasName in interface InterconnectLocationOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         [Output Only] Name of the resource.
         
        optional string name = 3373707;
        Specified by:
        getNameBytes in interface InterconnectLocationOrBuilder
        Returns:
        The bytes for name.
      • setName

        public InterconnectLocation.Builder setName​(String value)
         [Output Only] Name of the resource.
         
        optional string name = 3373707;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public InterconnectLocation.Builder clearName()
         [Output Only] Name of the resource.
         
        optional string name = 3373707;
        Returns:
        This builder for chaining.
      • setNameBytes

        public InterconnectLocation.Builder setNameBytes​(com.google.protobuf.ByteString value)
         [Output Only] Name of the resource.
         
        optional string name = 3373707;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasPeeringdbFacilityId

        public boolean hasPeeringdbFacilityId()
         [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).
         
        optional string peeringdb_facility_id = 536567094;
        Specified by:
        hasPeeringdbFacilityId in interface InterconnectLocationOrBuilder
        Returns:
        Whether the peeringdbFacilityId field is set.
      • getPeeringdbFacilityId

        public String getPeeringdbFacilityId()
         [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).
         
        optional string peeringdb_facility_id = 536567094;
        Specified by:
        getPeeringdbFacilityId in interface InterconnectLocationOrBuilder
        Returns:
        The peeringdbFacilityId.
      • getPeeringdbFacilityIdBytes

        public com.google.protobuf.ByteString getPeeringdbFacilityIdBytes()
         [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).
         
        optional string peeringdb_facility_id = 536567094;
        Specified by:
        getPeeringdbFacilityIdBytes in interface InterconnectLocationOrBuilder
        Returns:
        The bytes for peeringdbFacilityId.
      • setPeeringdbFacilityId

        public InterconnectLocation.Builder setPeeringdbFacilityId​(String value)
         [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).
         
        optional string peeringdb_facility_id = 536567094;
        Parameters:
        value - The peeringdbFacilityId to set.
        Returns:
        This builder for chaining.
      • clearPeeringdbFacilityId

        public InterconnectLocation.Builder clearPeeringdbFacilityId()
         [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).
         
        optional string peeringdb_facility_id = 536567094;
        Returns:
        This builder for chaining.
      • setPeeringdbFacilityIdBytes

        public InterconnectLocation.Builder setPeeringdbFacilityIdBytes​(com.google.protobuf.ByteString value)
         [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).
         
        optional string peeringdb_facility_id = 536567094;
        Parameters:
        value - The bytes for peeringdbFacilityId to set.
        Returns:
        This builder for chaining.
      • getRegionInfosList

        public List<InterconnectLocationRegionInfo> getRegionInfosList()
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
        Specified by:
        getRegionInfosList in interface InterconnectLocationOrBuilder
      • getRegionInfosCount

        public int getRegionInfosCount()
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
        Specified by:
        getRegionInfosCount in interface InterconnectLocationOrBuilder
      • getRegionInfos

        public InterconnectLocationRegionInfo getRegionInfos​(int index)
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
        Specified by:
        getRegionInfos in interface InterconnectLocationOrBuilder
      • setRegionInfos

        public InterconnectLocation.Builder setRegionInfos​(int index,
                                                           InterconnectLocationRegionInfo value)
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
      • setRegionInfos

        public InterconnectLocation.Builder setRegionInfos​(int index,
                                                           InterconnectLocationRegionInfo.Builder builderForValue)
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
      • addRegionInfos

        public InterconnectLocation.Builder addRegionInfos​(InterconnectLocationRegionInfo value)
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
      • addRegionInfos

        public InterconnectLocation.Builder addRegionInfos​(int index,
                                                           InterconnectLocationRegionInfo value)
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
      • addRegionInfos

        public InterconnectLocation.Builder addRegionInfos​(InterconnectLocationRegionInfo.Builder builderForValue)
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
      • addRegionInfos

        public InterconnectLocation.Builder addRegionInfos​(int index,
                                                           InterconnectLocationRegionInfo.Builder builderForValue)
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
      • addAllRegionInfos

        public InterconnectLocation.Builder addAllRegionInfos​(Iterable<? extends InterconnectLocationRegionInfo> values)
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
      • clearRegionInfos

        public InterconnectLocation.Builder clearRegionInfos()
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
      • removeRegionInfos

        public InterconnectLocation.Builder removeRegionInfos​(int index)
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
      • getRegionInfosBuilder

        public InterconnectLocationRegionInfo.Builder getRegionInfosBuilder​(int index)
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
      • getRegionInfosOrBuilder

        public InterconnectLocationRegionInfoOrBuilder getRegionInfosOrBuilder​(int index)
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
        Specified by:
        getRegionInfosOrBuilder in interface InterconnectLocationOrBuilder
      • addRegionInfosBuilder

        public InterconnectLocationRegionInfo.Builder addRegionInfosBuilder()
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
      • addRegionInfosBuilder

        public InterconnectLocationRegionInfo.Builder addRegionInfosBuilder​(int index)
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
      • getRegionInfosBuilderList

        public List<InterconnectLocationRegionInfo.Builder> getRegionInfosBuilderList()
         [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
         
        repeated .google.cloud.compute.v1.InterconnectLocationRegionInfo region_infos = 312194170;
      • hasSelfLink

        public boolean hasSelfLink()
         [Output Only] Server-defined URL for the resource.
         
        optional string self_link = 456214797;
        Specified by:
        hasSelfLink in interface InterconnectLocationOrBuilder
        Returns:
        Whether the selfLink field is set.
      • 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 InterconnectLocationOrBuilder
        Returns:
        The bytes for selfLink.
      • setSelfLink

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

        public InterconnectLocation.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.
      • hasStatus

        public boolean hasStatus()
         [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Specified by:
        hasStatus in interface InterconnectLocationOrBuilder
        Returns:
        Whether the status field is set.
      • getStatus

        public String getStatus()
         [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Specified by:
        getStatus in interface InterconnectLocationOrBuilder
        Returns:
        The status.
      • getStatusBytes

        public com.google.protobuf.ByteString getStatusBytes()
         [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Specified by:
        getStatusBytes in interface InterconnectLocationOrBuilder
        Returns:
        The bytes for status.
      • setStatus

        public InterconnectLocation.Builder setStatus​(String value)
         [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public InterconnectLocation.Builder clearStatus()
         [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Returns:
        This builder for chaining.
      • setStatusBytes

        public InterconnectLocation.Builder setStatusBytes​(com.google.protobuf.ByteString value)
         [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Parameters:
        value - The bytes for status to set.
        Returns:
        This builder for chaining.
      • hasSupportsPzs

        public boolean hasSupportsPzs()
         [Output Only] Reserved for future use.
         
        optional bool supports_pzs = 83983214;
        Specified by:
        hasSupportsPzs in interface InterconnectLocationOrBuilder
        Returns:
        Whether the supportsPzs field is set.
      • getSupportsPzs

        public boolean getSupportsPzs()
         [Output Only] Reserved for future use.
         
        optional bool supports_pzs = 83983214;
        Specified by:
        getSupportsPzs in interface InterconnectLocationOrBuilder
        Returns:
        The supportsPzs.
      • setSupportsPzs

        public InterconnectLocation.Builder setSupportsPzs​(boolean value)
         [Output Only] Reserved for future use.
         
        optional bool supports_pzs = 83983214;
        Parameters:
        value - The supportsPzs to set.
        Returns:
        This builder for chaining.
      • clearSupportsPzs

        public InterconnectLocation.Builder clearSupportsPzs()
         [Output Only] Reserved for future use.
         
        optional bool supports_pzs = 83983214;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final InterconnectLocation.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<InterconnectLocation.Builder>
      • mergeUnknownFields

        public final InterconnectLocation.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<InterconnectLocation.Builder>