<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/devtools/clouddebugger/v2/debugger.proto

namespace Google\Cloud\Debugger\V2;

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

/**
 * Response for getting breakpoint information.
 *
 * Generated from protobuf message <code>google.devtools.clouddebugger.v2.GetBreakpointResponse</code>
 */
class GetBreakpointResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Complete breakpoint state.
     * The fields `id` and `location` are guaranteed to be set.
     *
     * Generated from protobuf field <code>.google.devtools.clouddebugger.v2.Breakpoint breakpoint = 1;</code>
     */
    private $breakpoint = null;

    public function __construct() {
        \GPBMetadata\Google\Devtools\Clouddebugger\V2\Debugger::initOnce();
        parent::__construct();
    }

    /**
     * Complete breakpoint state.
     * The fields `id` and `location` are guaranteed to be set.
     *
     * Generated from protobuf field <code>.google.devtools.clouddebugger.v2.Breakpoint breakpoint = 1;</code>
     * @return \Google\Cloud\Debugger\V2\Breakpoint
     */
    public function getBreakpoint()
    {
        return $this->breakpoint;
    }

    /**
     * Complete breakpoint state.
     * The fields `id` and `location` are guaranteed to be set.
     *
     * Generated from protobuf field <code>.google.devtools.clouddebugger.v2.Breakpoint breakpoint = 1;</code>
     * @param \Google\Cloud\Debugger\V2\Breakpoint $var
     * @return $this
     */
    public function setBreakpoint($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Debugger\V2\Breakpoint::class);
        $this->breakpoint = $var;

        return $this;
    }

}

