Interface MetricDataOrBuilder (0.6.0)

public interface MetricDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getObservationTime()

public abstract Timestamp getObservationTime()

The time the metric was observed in the metric source service.

.google.protobuf.Timestamp observation_time = 2;

Returns
Type Description
Timestamp

The observationTime.

getObservationTimeOrBuilder()

public abstract TimestampOrBuilder getObservationTimeOrBuilder()

The time the metric was observed in the metric source service.

.google.protobuf.Timestamp observation_time = 2;

Returns
Type Description
TimestampOrBuilder

getValue()

public abstract TypedValue getValue()

The value associated with the metric.

.google.cloud.databasecenter.v1beta.TypedValue value = 1;

Returns
Type Description
TypedValue

The value.

getValueOrBuilder()

public abstract TypedValueOrBuilder getValueOrBuilder()

The value associated with the metric.

.google.cloud.databasecenter.v1beta.TypedValue value = 1;

Returns
Type Description
TypedValueOrBuilder

hasObservationTime()

public abstract boolean hasObservationTime()

The time the metric was observed in the metric source service.

.google.protobuf.Timestamp observation_time = 2;

Returns
Type Description
boolean

Whether the observationTime field is set.

hasValue()

public abstract boolean hasValue()

The value associated with the metric.

.google.cloud.databasecenter.v1beta.TypedValue value = 1;

Returns
Type Description
boolean

Whether the value field is set.