Class InterconnectDiagnostics.Builder

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

    public static final class InterconnectDiagnostics.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<InterconnectDiagnostics.Builder>
    implements InterconnectDiagnosticsOrBuilder
     Diagnostics information about the Interconnect connection, which contains detailed and current technical information about Google's side of the connection.
     
    Protobuf type google.cloud.compute.v1.InterconnectDiagnostics
    • 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<InterconnectDiagnostics.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

        public InterconnectDiagnostics.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<InterconnectDiagnostics.Builder>
        Throws:
        IOException
      • getArpCachesList

        public List<InterconnectDiagnosticsARPEntry> getArpCachesList()
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
        Specified by:
        getArpCachesList in interface InterconnectDiagnosticsOrBuilder
      • getArpCachesCount

        public int getArpCachesCount()
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
        Specified by:
        getArpCachesCount in interface InterconnectDiagnosticsOrBuilder
      • getArpCaches

        public InterconnectDiagnosticsARPEntry getArpCaches​(int index)
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
        Specified by:
        getArpCaches in interface InterconnectDiagnosticsOrBuilder
      • setArpCaches

        public InterconnectDiagnostics.Builder setArpCaches​(int index,
                                                            InterconnectDiagnosticsARPEntry value)
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
      • setArpCaches

        public InterconnectDiagnostics.Builder setArpCaches​(int index,
                                                            InterconnectDiagnosticsARPEntry.Builder builderForValue)
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
      • addArpCaches

        public InterconnectDiagnostics.Builder addArpCaches​(InterconnectDiagnosticsARPEntry value)
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
      • addArpCaches

        public InterconnectDiagnostics.Builder addArpCaches​(int index,
                                                            InterconnectDiagnosticsARPEntry value)
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
      • addArpCaches

        public InterconnectDiagnostics.Builder addArpCaches​(InterconnectDiagnosticsARPEntry.Builder builderForValue)
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
      • addArpCaches

        public InterconnectDiagnostics.Builder addArpCaches​(int index,
                                                            InterconnectDiagnosticsARPEntry.Builder builderForValue)
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
      • addAllArpCaches

        public InterconnectDiagnostics.Builder addAllArpCaches​(Iterable<? extends InterconnectDiagnosticsARPEntry> values)
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
      • clearArpCaches

        public InterconnectDiagnostics.Builder clearArpCaches()
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
      • removeArpCaches

        public InterconnectDiagnostics.Builder removeArpCaches​(int index)
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
      • getArpCachesBuilder

        public InterconnectDiagnosticsARPEntry.Builder getArpCachesBuilder​(int index)
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
      • getArpCachesOrBuilder

        public InterconnectDiagnosticsARPEntryOrBuilder getArpCachesOrBuilder​(int index)
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
        Specified by:
        getArpCachesOrBuilder in interface InterconnectDiagnosticsOrBuilder
      • getArpCachesOrBuilderList

        public List<? extends InterconnectDiagnosticsARPEntryOrBuilder> getArpCachesOrBuilderList()
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
        Specified by:
        getArpCachesOrBuilderList in interface InterconnectDiagnosticsOrBuilder
      • addArpCachesBuilder

        public InterconnectDiagnosticsARPEntry.Builder addArpCachesBuilder()
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
      • addArpCachesBuilder

        public InterconnectDiagnosticsARPEntry.Builder addArpCachesBuilder​(int index)
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
      • getArpCachesBuilderList

        public List<InterconnectDiagnosticsARPEntry.Builder> getArpCachesBuilderList()
         A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsARPEntry arp_caches = 414591761;
      • hasBundleAggregationType

        public boolean hasBundleAggregationType()
         The aggregation type of the bundle interface.
         Check the BundleAggregationType enum for the list of possible values.
         
        optional string bundle_aggregation_type = 434939028;
        Specified by:
        hasBundleAggregationType in interface InterconnectDiagnosticsOrBuilder
        Returns:
        Whether the bundleAggregationType field is set.
      • getBundleAggregationType

        public String getBundleAggregationType()
         The aggregation type of the bundle interface.
         Check the BundleAggregationType enum for the list of possible values.
         
        optional string bundle_aggregation_type = 434939028;
        Specified by:
        getBundleAggregationType in interface InterconnectDiagnosticsOrBuilder
        Returns:
        The bundleAggregationType.
      • getBundleAggregationTypeBytes

        public com.google.protobuf.ByteString getBundleAggregationTypeBytes()
         The aggregation type of the bundle interface.
         Check the BundleAggregationType enum for the list of possible values.
         
        optional string bundle_aggregation_type = 434939028;
        Specified by:
        getBundleAggregationTypeBytes in interface InterconnectDiagnosticsOrBuilder
        Returns:
        The bytes for bundleAggregationType.
      • setBundleAggregationType

        public InterconnectDiagnostics.Builder setBundleAggregationType​(String value)
         The aggregation type of the bundle interface.
         Check the BundleAggregationType enum for the list of possible values.
         
        optional string bundle_aggregation_type = 434939028;
        Parameters:
        value - The bundleAggregationType to set.
        Returns:
        This builder for chaining.
      • clearBundleAggregationType

        public InterconnectDiagnostics.Builder clearBundleAggregationType()
         The aggregation type of the bundle interface.
         Check the BundleAggregationType enum for the list of possible values.
         
        optional string bundle_aggregation_type = 434939028;
        Returns:
        This builder for chaining.
      • setBundleAggregationTypeBytes

        public InterconnectDiagnostics.Builder setBundleAggregationTypeBytes​(com.google.protobuf.ByteString value)
         The aggregation type of the bundle interface.
         Check the BundleAggregationType enum for the list of possible values.
         
        optional string bundle_aggregation_type = 434939028;
        Parameters:
        value - The bytes for bundleAggregationType to set.
        Returns:
        This builder for chaining.
      • hasBundleOperationalStatus

        public boolean hasBundleOperationalStatus()
         The operational status of the bundle interface.
         Check the BundleOperationalStatus enum for the list of possible values.
         
        optional string bundle_operational_status = 106433500;
        Specified by:
        hasBundleOperationalStatus in interface InterconnectDiagnosticsOrBuilder
        Returns:
        Whether the bundleOperationalStatus field is set.
      • getBundleOperationalStatus

        public String getBundleOperationalStatus()
         The operational status of the bundle interface.
         Check the BundleOperationalStatus enum for the list of possible values.
         
        optional string bundle_operational_status = 106433500;
        Specified by:
        getBundleOperationalStatus in interface InterconnectDiagnosticsOrBuilder
        Returns:
        The bundleOperationalStatus.
      • getBundleOperationalStatusBytes

        public com.google.protobuf.ByteString getBundleOperationalStatusBytes()
         The operational status of the bundle interface.
         Check the BundleOperationalStatus enum for the list of possible values.
         
        optional string bundle_operational_status = 106433500;
        Specified by:
        getBundleOperationalStatusBytes in interface InterconnectDiagnosticsOrBuilder
        Returns:
        The bytes for bundleOperationalStatus.
      • setBundleOperationalStatus

        public InterconnectDiagnostics.Builder setBundleOperationalStatus​(String value)
         The operational status of the bundle interface.
         Check the BundleOperationalStatus enum for the list of possible values.
         
        optional string bundle_operational_status = 106433500;
        Parameters:
        value - The bundleOperationalStatus to set.
        Returns:
        This builder for chaining.
      • clearBundleOperationalStatus

        public InterconnectDiagnostics.Builder clearBundleOperationalStatus()
         The operational status of the bundle interface.
         Check the BundleOperationalStatus enum for the list of possible values.
         
        optional string bundle_operational_status = 106433500;
        Returns:
        This builder for chaining.
      • setBundleOperationalStatusBytes

        public InterconnectDiagnostics.Builder setBundleOperationalStatusBytes​(com.google.protobuf.ByteString value)
         The operational status of the bundle interface.
         Check the BundleOperationalStatus enum for the list of possible values.
         
        optional string bundle_operational_status = 106433500;
        Parameters:
        value - The bytes for bundleOperationalStatus to set.
        Returns:
        This builder for chaining.
      • getLinksCount

        public int getLinksCount()
         A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;
        Specified by:
        getLinksCount in interface InterconnectDiagnosticsOrBuilder
      • clearLinks

        public InterconnectDiagnostics.Builder clearLinks()
         A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;
      • removeLinks

        public InterconnectDiagnostics.Builder removeLinks​(int index)
         A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;
      • getLinksBuilder

        public InterconnectDiagnosticsLinkStatus.Builder getLinksBuilder​(int index)
         A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;
      • addLinksBuilder

        public InterconnectDiagnosticsLinkStatus.Builder addLinksBuilder()
         A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;
      • addLinksBuilder

        public InterconnectDiagnosticsLinkStatus.Builder addLinksBuilder​(int index)
         A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;
      • getLinksBuilderList

        public List<InterconnectDiagnosticsLinkStatus.Builder> getLinksBuilderList()
         A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.
         
        repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;
      • hasMacAddress

        public boolean hasMacAddress()
         The MAC address of the Interconnect's bundle interface.
         
        optional string mac_address = 332540164;
        Specified by:
        hasMacAddress in interface InterconnectDiagnosticsOrBuilder
        Returns:
        Whether the macAddress field is set.
      • getMacAddressBytes

        public com.google.protobuf.ByteString getMacAddressBytes()
         The MAC address of the Interconnect's bundle interface.
         
        optional string mac_address = 332540164;
        Specified by:
        getMacAddressBytes in interface InterconnectDiagnosticsOrBuilder
        Returns:
        The bytes for macAddress.
      • setMacAddress

        public InterconnectDiagnostics.Builder setMacAddress​(String value)
         The MAC address of the Interconnect's bundle interface.
         
        optional string mac_address = 332540164;
        Parameters:
        value - The macAddress to set.
        Returns:
        This builder for chaining.
      • clearMacAddress

        public InterconnectDiagnostics.Builder clearMacAddress()
         The MAC address of the Interconnect's bundle interface.
         
        optional string mac_address = 332540164;
        Returns:
        This builder for chaining.
      • setMacAddressBytes

        public InterconnectDiagnostics.Builder setMacAddressBytes​(com.google.protobuf.ByteString value)
         The MAC address of the Interconnect's bundle interface.
         
        optional string mac_address = 332540164;
        Parameters:
        value - The bytes for macAddress to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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