Interface PointOrBuilder (3.46.0)

public interface PointOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInterval()

public abstract TimeInterval getInterval()

The time interval to which the data point applies. For GAUGE metrics, the start time is optional, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying 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.

.google.monitoring.v3.TimeInterval interval = 1;

Returns
Type Description
TimeInterval

The interval.

getIntervalOrBuilder()

public abstract TimeIntervalOrBuilder getIntervalOrBuilder()

The time interval to which the data point applies. For GAUGE metrics, the start time is optional, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying 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.

.google.monitoring.v3.TimeInterval interval = 1;

Returns
Type Description
TimeIntervalOrBuilder

getValue()

public abstract TypedValue getValue()

The value of the data point.

.google.monitoring.v3.TypedValue value = 2;

Returns
Type Description
TypedValue

The value.

getValueOrBuilder()

public abstract TypedValueOrBuilder getValueOrBuilder()

The value of the data point.

.google.monitoring.v3.TypedValue value = 2;

Returns
Type Description
TypedValueOrBuilder

hasInterval()

public abstract boolean hasInterval()

The time interval to which the data point applies. For GAUGE metrics, the start time is optional, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying 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.

.google.monitoring.v3.TimeInterval interval = 1;

Returns
Type Description
boolean

Whether the interval field is set.

hasValue()

public abstract boolean hasValue()

The value of the data point.

.google.monitoring.v3.TypedValue value = 2;

Returns
Type Description
boolean

Whether the value field is set.