<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/api/metric.proto

namespace Google\Api\MetricDescriptor;

/**
 * The kind of measurement. It describes how the data is reported.
 *
 * Protobuf type <code>google.api.MetricDescriptor.MetricKind</code>
 */
class MetricKind
{
    /**
     * Do not use this default value.
     *
     * Generated from protobuf enum <code>METRIC_KIND_UNSPECIFIED = 0;</code>
     */
    const METRIC_KIND_UNSPECIFIED = 0;
    /**
     * An instantaneous measurement of a value.
     *
     * Generated from protobuf enum <code>GAUGE = 1;</code>
     */
    const GAUGE = 1;
    /**
     * The change in a value during a time interval.
     *
     * Generated from protobuf enum <code>DELTA = 2;</code>
     */
    const DELTA = 2;
    /**
     * A value accumulated over a time interval.  Cumulative
     * measurements in a time series should have the same start time
     * and increasing end times, until an event resets the cumulative
     * value to zero and sets a new start time for the following
     * points.
     *
     * Generated from protobuf enum <code>CUMULATIVE = 3;</code>
     */
    const CUMULATIVE = 3;
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MetricKind::class, \Google\Api\MetricDescriptor_MetricKind::class);

