<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: gradido/BasicTypes.proto

namespace Proto\Gradido;

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

/**
 * Generated from protobuf message <code>proto.gradido.SignatureMap</code>
 */
class SignatureMap extends \Google\Protobuf\Internal\Message
{
    /**
     * Each signature pair corresponds to a unique Key required to sign the transaction.
     *
     * Generated from protobuf field <code>repeated .proto.gradido.SignaturePair sigPair = 1;</code>
     */
    private $sigPair;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Proto\Gradido\SignaturePair[]|\Google\Protobuf\Internal\RepeatedField $sigPair
     *           Each signature pair corresponds to a unique Key required to sign the transaction.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Gradido\BasicTypes::initOnce();
        parent::__construct($data);
    }

    /**
     * Each signature pair corresponds to a unique Key required to sign the transaction.
     *
     * Generated from protobuf field <code>repeated .proto.gradido.SignaturePair sigPair = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getSigPair()
    {
        return $this->sigPair;
    }

    /**
     * Each signature pair corresponds to a unique Key required to sign the transaction.
     *
     * Generated from protobuf field <code>repeated .proto.gradido.SignaturePair sigPair = 1;</code>
     * @param \Proto\Gradido\SignaturePair[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setSigPair($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Proto\Gradido\SignaturePair::class);
        $this->sigPair = $arr;

        return $this;
    }

}

