<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/compute/v1/compute.proto

namespace Google\Cloud\Compute\V1;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Describing the ARP neighbor entries seen on this link
 *
 * Generated from protobuf message <code>google.cloud.compute.v1.InterconnectDiagnosticsARPEntry</code>
 */
class InterconnectDiagnosticsARPEntry extends \Google\Protobuf\Internal\Message
{
    /**
     * The IP address of this ARP neighbor.
     *
     * Generated from protobuf field <code>string ip_address = 137836764;</code>
     */
    private $ip_address = '';
    /**
     * The MAC address of this ARP neighbor.
     *
     * Generated from protobuf field <code>string mac_address = 64104708;</code>
     */
    private $mac_address = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $ip_address
     *           The IP address of this ARP neighbor.
     *     @type string $mac_address
     *           The MAC address of this ARP neighbor.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce();
        parent::__construct($data);
    }

    /**
     * The IP address of this ARP neighbor.
     *
     * Generated from protobuf field <code>string ip_address = 137836764;</code>
     * @return string
     */
    public function getIpAddress()
    {
        return $this->ip_address;
    }

    /**
     * The IP address of this ARP neighbor.
     *
     * Generated from protobuf field <code>string ip_address = 137836764;</code>
     * @param string $var
     * @return $this
     */
    public function setIpAddress($var)
    {
        GPBUtil::checkString($var, True);
        $this->ip_address = $var;

        return $this;
    }

    /**
     * The MAC address of this ARP neighbor.
     *
     * Generated from protobuf field <code>string mac_address = 64104708;</code>
     * @return string
     */
    public function getMacAddress()
    {
        return $this->mac_address;
    }

    /**
     * The MAC address of this ARP neighbor.
     *
     * Generated from protobuf field <code>string mac_address = 64104708;</code>
     * @param string $var
     * @return $this
     */
    public function setMacAddress($var)
    {
        GPBUtil::checkString($var, True);
        $this->mac_address = $var;

        return $this;
    }

}

