/** * <pre> * The metric kind of the time series. When listing time series, this metric * kind might be different from the metric kind of the associated metric if * this time series is an alignment or reduction of other time series. * When creating a time series, this field is optional. If present, it must be * the same as the metric kind of the associated metric. If the associated * metric's descriptor must be auto-created, then this field specifies the * metric kind of the new descriptor and must be either `GAUGE` (the default) * or `CUMULATIVE`. * </pre> * * <code>optional .google.api.MetricDescriptor.MetricKind metric_kind = 3;</code> */ public com.google.api.MetricDescriptor.MetricKind getMetricKind() { com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } /**
/** * <pre> * The metric kind of the time series. When listing time series, this metric * kind might be different from the metric kind of the associated metric if * this time series is an alignment or reduction of other time series. * When creating a time series, this field is optional. If present, it must be * the same as the metric kind of the associated metric. If the associated * metric's descriptor must be auto-created, then this field specifies the * metric kind of the new descriptor and must be either `GAUGE` (the default) * or `CUMULATIVE`. * </pre> * * <code>optional .google.api.MetricDescriptor.MetricKind metric_kind = 3;</code> */ public com.google.api.MetricDescriptor.MetricKind getMetricKind() { com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; }
/** * <pre> * Whether the metric records instantaneous values, changes to a value, etc. * Some combinations of `metric_kind` and `value_type` might not be supported. * </pre> * * <code>.google.api.MetricDescriptor.MetricKind metric_kind = 3;</code> */ public com.google.api.MetricDescriptor.MetricKind getMetricKind() { com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } /**
/** * <pre> * Whether the metric records instantaneous values, changes to a value, etc. * Some combinations of `metric_kind` and `value_type` might not be supported. * </pre> * * <code>.google.api.MetricDescriptor.MetricKind metric_kind = 3;</code> */ public com.google.api.MetricDescriptor.MetricKind getMetricKind() { com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; }
/** * * * <pre> * The metric kind of the time series. When listing time series, this metric * kind might be different from the metric kind of the associated metric if * this time series is an alignment or reduction of other time series. * When creating a time series, this field is optional. If present, it must be * the same as the metric kind of the associated metric. If the associated * metric's descriptor must be auto-created, then this field specifies the * metric kind of the new descriptor and must be either `GAUGE` (the default) * or `CUMULATIVE`. * </pre> * * <code>.google.api.MetricDescriptor.MetricKind metric_kind = 3;</code> */ public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; } /**
/** * * * <pre> * The metric kind of the time series. When listing time series, this metric * kind might be different from the metric kind of the associated metric if * this time series is an alignment or reduction of other time series. * When creating a time series, this field is optional. If present, it must be * the same as the metric kind of the associated metric. If the associated * metric's descriptor must be auto-created, then this field specifies the * metric kind of the new descriptor and must be either `GAUGE` (the default) * or `CUMULATIVE`. * </pre> * * <code>.google.api.MetricDescriptor.MetricKind metric_kind = 3;</code> */ public com.google.api.MetricDescriptor.MetricKind getMetricKind() { @SuppressWarnings("deprecation") com.google.api.MetricDescriptor.MetricKind result = com.google.api.MetricDescriptor.MetricKind.valueOf(metricKind_); return result == null ? com.google.api.MetricDescriptor.MetricKind.UNRECOGNIZED : result; }