Class InterconnectDiagnosticsARPEntry.Builder

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

public static final class InterconnectDiagnosticsARPEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<InterconnectDiagnosticsARPEntry.Builder> implements InterconnectDiagnosticsARPEntryOrBuilder
 Describing the ARP neighbor entries seen on this link
 
Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsARPEntry
  • 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<InterconnectDiagnosticsARPEntry.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<InterconnectDiagnosticsARPEntry.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<InterconnectDiagnosticsARPEntry.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public InterconnectDiagnosticsARPEntry.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<InterconnectDiagnosticsARPEntry.Builder>
      Throws:
      IOException
    • hasIpAddress

      public boolean hasIpAddress()
       The IP address of this ARP neighbor.
       
      optional string ip_address = 406272220;
      Specified by:
      hasIpAddress in interface InterconnectDiagnosticsARPEntryOrBuilder
      Returns:
      Whether the ipAddress field is set.
    • getIpAddress

      public String getIpAddress()
       The IP address of this ARP neighbor.
       
      optional string ip_address = 406272220;
      Specified by:
      getIpAddress in interface InterconnectDiagnosticsARPEntryOrBuilder
      Returns:
      The ipAddress.
    • getIpAddressBytes

      public com.google.protobuf.ByteString getIpAddressBytes()
       The IP address of this ARP neighbor.
       
      optional string ip_address = 406272220;
      Specified by:
      getIpAddressBytes in interface InterconnectDiagnosticsARPEntryOrBuilder
      Returns:
      The bytes for ipAddress.
    • setIpAddress

      public InterconnectDiagnosticsARPEntry.Builder setIpAddress(String value)
       The IP address of this ARP neighbor.
       
      optional string ip_address = 406272220;
      Parameters:
      value - The ipAddress to set.
      Returns:
      This builder for chaining.
    • clearIpAddress

      public InterconnectDiagnosticsARPEntry.Builder clearIpAddress()
       The IP address of this ARP neighbor.
       
      optional string ip_address = 406272220;
      Returns:
      This builder for chaining.
    • setIpAddressBytes

      public InterconnectDiagnosticsARPEntry.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
       The IP address of this ARP neighbor.
       
      optional string ip_address = 406272220;
      Parameters:
      value - The bytes for ipAddress to set.
      Returns:
      This builder for chaining.
    • hasMacAddress

      public boolean hasMacAddress()
       The MAC address of this ARP neighbor.
       
      optional string mac_address = 332540164;
      Specified by:
      hasMacAddress in interface InterconnectDiagnosticsARPEntryOrBuilder
      Returns:
      Whether the macAddress field is set.
    • getMacAddress

      public String getMacAddress()
       The MAC address of this ARP neighbor.
       
      optional string mac_address = 332540164;
      Specified by:
      getMacAddress in interface InterconnectDiagnosticsARPEntryOrBuilder
      Returns:
      The macAddress.
    • getMacAddressBytes

      public com.google.protobuf.ByteString getMacAddressBytes()
       The MAC address of this ARP neighbor.
       
      optional string mac_address = 332540164;
      Specified by:
      getMacAddressBytes in interface InterconnectDiagnosticsARPEntryOrBuilder
      Returns:
      The bytes for macAddress.
    • setMacAddress

      public InterconnectDiagnosticsARPEntry.Builder setMacAddress(String value)
       The MAC address of this ARP neighbor.
       
      optional string mac_address = 332540164;
      Parameters:
      value - The macAddress to set.
      Returns:
      This builder for chaining.
    • clearMacAddress

      public InterconnectDiagnosticsARPEntry.Builder clearMacAddress()
       The MAC address of this ARP neighbor.
       
      optional string mac_address = 332540164;
      Returns:
      This builder for chaining.
    • setMacAddressBytes

      public InterconnectDiagnosticsARPEntry.Builder setMacAddressBytes(com.google.protobuf.ByteString value)
       The MAC address of this ARP neighbor.
       
      optional string mac_address = 332540164;
      Parameters:
      value - The bytes for macAddress to set.
      Returns:
      This builder for chaining.