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

namespace Google\Cloud\AIPlatform\V1;

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

/**
 * Response message for
 * [FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ImportFeatureValues].
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.ImportFeatureValuesResponse</code>
 */
class ImportFeatureValuesResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Number of entities that have been imported by the operation.
     *
     * Generated from protobuf field <code>int64 imported_entity_count = 1;</code>
     */
    private $imported_entity_count = 0;
    /**
     * Number of Feature values that have been imported by the operation.
     *
     * Generated from protobuf field <code>int64 imported_feature_value_count = 2;</code>
     */
    private $imported_feature_value_count = 0;
    /**
     * The number of rows in input source that weren't imported due to either
     * * Not having any featureValues.
     * * Having a null entityId.
     * * Having a null timestamp.
     * * Not being parsable (applicable for CSV sources).
     *
     * Generated from protobuf field <code>int64 invalid_row_count = 6;</code>
     */
    private $invalid_row_count = 0;
    /**
     * The number rows that weren't ingested due to having feature timestamps
     * outside the retention boundary.
     *
     * Generated from protobuf field <code>int64 timestamp_outside_retention_rows_count = 4;</code>
     */
    private $timestamp_outside_retention_rows_count = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $imported_entity_count
     *           Number of entities that have been imported by the operation.
     *     @type int|string $imported_feature_value_count
     *           Number of Feature values that have been imported by the operation.
     *     @type int|string $invalid_row_count
     *           The number of rows in input source that weren't imported due to either
     *           * Not having any featureValues.
     *           * Having a null entityId.
     *           * Having a null timestamp.
     *           * Not being parsable (applicable for CSV sources).
     *     @type int|string $timestamp_outside_retention_rows_count
     *           The number rows that weren't ingested due to having feature timestamps
     *           outside the retention boundary.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce();
        parent::__construct($data);
    }

    /**
     * Number of entities that have been imported by the operation.
     *
     * Generated from protobuf field <code>int64 imported_entity_count = 1;</code>
     * @return int|string
     */
    public function getImportedEntityCount()
    {
        return $this->imported_entity_count;
    }

    /**
     * Number of entities that have been imported by the operation.
     *
     * Generated from protobuf field <code>int64 imported_entity_count = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setImportedEntityCount($var)
    {
        GPBUtil::checkInt64($var);
        $this->imported_entity_count = $var;

        return $this;
    }

    /**
     * Number of Feature values that have been imported by the operation.
     *
     * Generated from protobuf field <code>int64 imported_feature_value_count = 2;</code>
     * @return int|string
     */
    public function getImportedFeatureValueCount()
    {
        return $this->imported_feature_value_count;
    }

    /**
     * Number of Feature values that have been imported by the operation.
     *
     * Generated from protobuf field <code>int64 imported_feature_value_count = 2;</code>
     * @param int|string $var
     * @return $this
     */
    public function setImportedFeatureValueCount($var)
    {
        GPBUtil::checkInt64($var);
        $this->imported_feature_value_count = $var;

        return $this;
    }

    /**
     * The number of rows in input source that weren't imported due to either
     * * Not having any featureValues.
     * * Having a null entityId.
     * * Having a null timestamp.
     * * Not being parsable (applicable for CSV sources).
     *
     * Generated from protobuf field <code>int64 invalid_row_count = 6;</code>
     * @return int|string
     */
    public function getInvalidRowCount()
    {
        return $this->invalid_row_count;
    }

    /**
     * The number of rows in input source that weren't imported due to either
     * * Not having any featureValues.
     * * Having a null entityId.
     * * Having a null timestamp.
     * * Not being parsable (applicable for CSV sources).
     *
     * Generated from protobuf field <code>int64 invalid_row_count = 6;</code>
     * @param int|string $var
     * @return $this
     */
    public function setInvalidRowCount($var)
    {
        GPBUtil::checkInt64($var);
        $this->invalid_row_count = $var;

        return $this;
    }

    /**
     * The number rows that weren't ingested due to having feature timestamps
     * outside the retention boundary.
     *
     * Generated from protobuf field <code>int64 timestamp_outside_retention_rows_count = 4;</code>
     * @return int|string
     */
    public function getTimestampOutsideRetentionRowsCount()
    {
        return $this->timestamp_outside_retention_rows_count;
    }

    /**
     * The number rows that weren't ingested due to having feature timestamps
     * outside the retention boundary.
     *
     * Generated from protobuf field <code>int64 timestamp_outside_retention_rows_count = 4;</code>
     * @param int|string $var
     * @return $this
     */
    public function setTimestampOutsideRetentionRowsCount($var)
    {
        GPBUtil::checkInt64($var);
        $this->timestamp_outside_retention_rows_count = $var;

        return $this;
    }

}

