Interface PointOrBuilder (3.3.1)

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
TypeDescription
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
TypeDescription
TimeIntervalOrBuilder

getValue()

public abstract TypedValue getValue()

The value of the data point.

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

Returns
TypeDescription
TypedValue

The value.

getValueOrBuilder()

public abstract TypedValueOrBuilder getValueOrBuilder()

The value of the data point.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the value field is set.