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

namespace Google\Cloud\FinancialServices\V1;

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

/**
 * Response for adding/removing registered parties from BigQuery tables.
 *
 * Generated from protobuf message <code>google.cloud.financialservices.v1.ImportRegisteredPartiesResponse</code>
 */
class ImportRegisteredPartiesResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Number of parties added by this operation.
     *
     * Generated from protobuf field <code>int64 parties_added = 1;</code>
     */
    protected $parties_added = 0;
    /**
     * Number of parties removed by this operation.
     *
     * Generated from protobuf field <code>int64 parties_removed = 2;</code>
     */
    protected $parties_removed = 0;
    /**
     * Total number of parties that are registered in this instance, after the
     * update operation was completed.
     *
     * Generated from protobuf field <code>int64 parties_total = 3;</code>
     */
    protected $parties_total = 0;
    /**
     * Number of parties that failed to be removed by this operation.
     *
     * Generated from protobuf field <code>int64 parties_failed_to_remove = 4;</code>
     */
    protected $parties_failed_to_remove = 0;
    /**
     * Generated from protobuf field <code>int64 parties_uptiered = 5;</code>
     */
    protected $parties_uptiered = 0;
    /**
     * Total number of parties that are downtiered in this instance
     *
     * Generated from protobuf field <code>int64 parties_downtiered = 6;</code>
     */
    protected $parties_downtiered = 0;
    /**
     * Number of parties that failed to be downtiered
     *
     * Generated from protobuf field <code>int64 parties_failed_to_downtier = 7;</code>
     */
    protected $parties_failed_to_downtier = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $parties_added
     *           Number of parties added by this operation.
     *     @type int|string $parties_removed
     *           Number of parties removed by this operation.
     *     @type int|string $parties_total
     *           Total number of parties that are registered in this instance, after the
     *           update operation was completed.
     *     @type int|string $parties_failed_to_remove
     *           Number of parties that failed to be removed by this operation.
     *     @type int|string $parties_uptiered
     *     @type int|string $parties_downtiered
     *           Total number of parties that are downtiered in this instance
     *     @type int|string $parties_failed_to_downtier
     *           Number of parties that failed to be downtiered
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Financialservices\V1\Instance::initOnce();
        parent::__construct($data);
    }

    /**
     * Number of parties added by this operation.
     *
     * Generated from protobuf field <code>int64 parties_added = 1;</code>
     * @return int|string
     */
    public function getPartiesAdded()
    {
        return $this->parties_added;
    }

    /**
     * Number of parties added by this operation.
     *
     * Generated from protobuf field <code>int64 parties_added = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setPartiesAdded($var)
    {
        GPBUtil::checkInt64($var);
        $this->parties_added = $var;

        return $this;
    }

    /**
     * Number of parties removed by this operation.
     *
     * Generated from protobuf field <code>int64 parties_removed = 2;</code>
     * @return int|string
     */
    public function getPartiesRemoved()
    {
        return $this->parties_removed;
    }

    /**
     * Number of parties removed by this operation.
     *
     * Generated from protobuf field <code>int64 parties_removed = 2;</code>
     * @param int|string $var
     * @return $this
     */
    public function setPartiesRemoved($var)
    {
        GPBUtil::checkInt64($var);
        $this->parties_removed = $var;

        return $this;
    }

    /**
     * Total number of parties that are registered in this instance, after the
     * update operation was completed.
     *
     * Generated from protobuf field <code>int64 parties_total = 3;</code>
     * @return int|string
     */
    public function getPartiesTotal()
    {
        return $this->parties_total;
    }

    /**
     * Total number of parties that are registered in this instance, after the
     * update operation was completed.
     *
     * Generated from protobuf field <code>int64 parties_total = 3;</code>
     * @param int|string $var
     * @return $this
     */
    public function setPartiesTotal($var)
    {
        GPBUtil::checkInt64($var);
        $this->parties_total = $var;

        return $this;
    }

    /**
     * Number of parties that failed to be removed by this operation.
     *
     * Generated from protobuf field <code>int64 parties_failed_to_remove = 4;</code>
     * @return int|string
     */
    public function getPartiesFailedToRemove()
    {
        return $this->parties_failed_to_remove;
    }

    /**
     * Number of parties that failed to be removed by this operation.
     *
     * Generated from protobuf field <code>int64 parties_failed_to_remove = 4;</code>
     * @param int|string $var
     * @return $this
     */
    public function setPartiesFailedToRemove($var)
    {
        GPBUtil::checkInt64($var);
        $this->parties_failed_to_remove = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int64 parties_uptiered = 5;</code>
     * @return int|string
     */
    public function getPartiesUptiered()
    {
        return $this->parties_uptiered;
    }

    /**
     * Generated from protobuf field <code>int64 parties_uptiered = 5;</code>
     * @param int|string $var
     * @return $this
     */
    public function setPartiesUptiered($var)
    {
        GPBUtil::checkInt64($var);
        $this->parties_uptiered = $var;

        return $this;
    }

    /**
     * Total number of parties that are downtiered in this instance
     *
     * Generated from protobuf field <code>int64 parties_downtiered = 6;</code>
     * @return int|string
     */
    public function getPartiesDowntiered()
    {
        return $this->parties_downtiered;
    }

    /**
     * Total number of parties that are downtiered in this instance
     *
     * Generated from protobuf field <code>int64 parties_downtiered = 6;</code>
     * @param int|string $var
     * @return $this
     */
    public function setPartiesDowntiered($var)
    {
        GPBUtil::checkInt64($var);
        $this->parties_downtiered = $var;

        return $this;
    }

    /**
     * Number of parties that failed to be downtiered
     *
     * Generated from protobuf field <code>int64 parties_failed_to_downtier = 7;</code>
     * @return int|string
     */
    public function getPartiesFailedToDowntier()
    {
        return $this->parties_failed_to_downtier;
    }

    /**
     * Number of parties that failed to be downtiered
     *
     * Generated from protobuf field <code>int64 parties_failed_to_downtier = 7;</code>
     * @param int|string $var
     * @return $this
     */
    public function setPartiesFailedToDowntier($var)
    {
        GPBUtil::checkInt64($var);
        $this->parties_failed_to_downtier = $var;

        return $this;
    }

}

