<?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;

/**
 * Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only.
 *
 * Generated from protobuf message <code>google.cloud.compute.v1.InterconnectCircuitInfo</code>
 */
class InterconnectCircuitInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * Customer-side demarc ID for this circuit.
     *
     * Generated from protobuf field <code>optional string customer_demarc_id = 28771859;</code>
     */
    private $customer_demarc_id = null;
    /**
     * Google-assigned unique ID for this circuit. Assigned at circuit turn-up.
     *
     * Generated from protobuf field <code>optional string google_circuit_id = 262014711;</code>
     */
    private $google_circuit_id = null;
    /**
     * Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA.
     *
     * Generated from protobuf field <code>optional string google_demarc_id = 448196270;</code>
     */
    private $google_demarc_id = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $customer_demarc_id
     *           Customer-side demarc ID for this circuit.
     *     @type string $google_circuit_id
     *           Google-assigned unique ID for this circuit. Assigned at circuit turn-up.
     *     @type string $google_demarc_id
     *           Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce();
        parent::__construct($data);
    }

    /**
     * Customer-side demarc ID for this circuit.
     *
     * Generated from protobuf field <code>optional string customer_demarc_id = 28771859;</code>
     * @return string
     */
    public function getCustomerDemarcId()
    {
        return isset($this->customer_demarc_id) ? $this->customer_demarc_id : '';
    }

    public function hasCustomerDemarcId()
    {
        return isset($this->customer_demarc_id);
    }

    public function clearCustomerDemarcId()
    {
        unset($this->customer_demarc_id);
    }

    /**
     * Customer-side demarc ID for this circuit.
     *
     * Generated from protobuf field <code>optional string customer_demarc_id = 28771859;</code>
     * @param string $var
     * @return $this
     */
    public function setCustomerDemarcId($var)
    {
        GPBUtil::checkString($var, True);
        $this->customer_demarc_id = $var;

        return $this;
    }

    /**
     * Google-assigned unique ID for this circuit. Assigned at circuit turn-up.
     *
     * Generated from protobuf field <code>optional string google_circuit_id = 262014711;</code>
     * @return string
     */
    public function getGoogleCircuitId()
    {
        return isset($this->google_circuit_id) ? $this->google_circuit_id : '';
    }

    public function hasGoogleCircuitId()
    {
        return isset($this->google_circuit_id);
    }

    public function clearGoogleCircuitId()
    {
        unset($this->google_circuit_id);
    }

    /**
     * Google-assigned unique ID for this circuit. Assigned at circuit turn-up.
     *
     * Generated from protobuf field <code>optional string google_circuit_id = 262014711;</code>
     * @param string $var
     * @return $this
     */
    public function setGoogleCircuitId($var)
    {
        GPBUtil::checkString($var, True);
        $this->google_circuit_id = $var;

        return $this;
    }

    /**
     * Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA.
     *
     * Generated from protobuf field <code>optional string google_demarc_id = 448196270;</code>
     * @return string
     */
    public function getGoogleDemarcId()
    {
        return isset($this->google_demarc_id) ? $this->google_demarc_id : '';
    }

    public function hasGoogleDemarcId()
    {
        return isset($this->google_demarc_id);
    }

    public function clearGoogleDemarcId()
    {
        unset($this->google_demarc_id);
    }

    /**
     * Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA.
     *
     * Generated from protobuf field <code>optional string google_demarc_id = 448196270;</code>
     * @param string $var
     * @return $this
     */
    public function setGoogleDemarcId($var)
    {
        GPBUtil::checkString($var, True);
        $this->google_demarc_id = $var;

        return $this;
    }

}

