/** * <pre> * The value type of the time series. When listing time series, this value * type might be different from the value type 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 type of the data in the `points` field. * </pre> * * <code>optional .google.api.MetricDescriptor.ValueType value_type = 4;</code> */ public com.google.api.MetricDescriptor.ValueType getValueType() { com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } /**
/** * <pre> * The value type of the time series. When listing time series, this value * type might be different from the value type 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 type of the data in the `points` field. * </pre> * * <code>optional .google.api.MetricDescriptor.ValueType value_type = 4;</code> */ public com.google.api.MetricDescriptor.ValueType getValueType() { com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; }
/** * <pre> * Whether the measurement is an integer, a floating-point number, etc. * Some combinations of `metric_kind` and `value_type` might not be supported. * </pre> * * <code>.google.api.MetricDescriptor.ValueType value_type = 4;</code> */ public com.google.api.MetricDescriptor.ValueType getValueType() { com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } /**
/** * <pre> * Whether the measurement is an integer, a floating-point number, etc. * Some combinations of `metric_kind` and `value_type` might not be supported. * </pre> * * <code>.google.api.MetricDescriptor.ValueType value_type = 4;</code> */ public com.google.api.MetricDescriptor.ValueType getValueType() { com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; }
/** * * * <pre> * The value type of the time series. When listing time series, this value * type might be different from the value type 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 type of the data in the `points` field. * </pre> * * <code>.google.api.MetricDescriptor.ValueType value_type = 4;</code> */ public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; } /**
/** * * * <pre> * The value type of the time series. When listing time series, this value * type might be different from the value type 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 type of the data in the `points` field. * </pre> * * <code>.google.api.MetricDescriptor.ValueType value_type = 4;</code> */ public com.google.api.MetricDescriptor.ValueType getValueType() { @SuppressWarnings("deprecation") com.google.api.MetricDescriptor.ValueType result = com.google.api.MetricDescriptor.ValueType.valueOf(valueType_); return result == null ? com.google.api.MetricDescriptor.ValueType.UNRECOGNIZED : result; }