Class InterconnectDiagnostics.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InterconnectDiagnostics.Builder>
com.google.cloud.compute.v1.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.GeneratedMessage.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 Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.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.GeneratedMessage.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
    • mergeFrom

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<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

       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

       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.
    • getLinksList

      public List<InterconnectDiagnosticsLinkStatus> getLinksList()
       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:
      getLinksList in interface InterconnectDiagnosticsOrBuilder
    • 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
    • getLinks

      public InterconnectDiagnosticsLinkStatus getLinks(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;
      Specified by:
      getLinks in interface InterconnectDiagnosticsOrBuilder
    • setLinks

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

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

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

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

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

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

       A list of InterconnectDiagnostics.LinkStatus objects,
       describing the status for each link on the Interconnect.
       
      repeated .google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus links = 102977465;
    • 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;
    • getLinksOrBuilder

      public InterconnectDiagnosticsLinkStatusOrBuilder getLinksOrBuilder(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;
      Specified by:
      getLinksOrBuilder in interface InterconnectDiagnosticsOrBuilder
    • getLinksOrBuilderList

      public List<? extends InterconnectDiagnosticsLinkStatusOrBuilder> getLinksOrBuilderList()
       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:
      getLinksOrBuilderList in interface InterconnectDiagnosticsOrBuilder
    • 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.
    • getMacAddress

      public String getMacAddress()
       The MAC address of the Interconnect's bundle interface.
       
      optional string mac_address = 332540164;
      Specified by:
      getMacAddress in interface InterconnectDiagnosticsOrBuilder
      Returns:
      The macAddress.
    • 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.