Interface MetricDataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetricData,MetricData.Builder
@Generated
public interface MetricDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe time the metric was observed in the metric source service.com.google.protobuf.TimestampOrBuilderThe time the metric was observed in the metric source service.getValue()The value associated with the metric.The value associated with the metric.booleanThe time the metric was observed in the metric source service.booleanhasValue()The value associated with the metric.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasValue
boolean hasValue()The value associated with the metric.
.google.cloud.databasecenter.v1beta.TypedValue value = 1;- Returns:
- Whether the value field is set.
-
getValue
TypedValue getValue()The value associated with the metric.
.google.cloud.databasecenter.v1beta.TypedValue value = 1;- Returns:
- The value.
-
getValueOrBuilder
TypedValueOrBuilder getValueOrBuilder()The value associated with the metric.
.google.cloud.databasecenter.v1beta.TypedValue value = 1; -
hasObservationTime
boolean hasObservationTime()The time the metric was observed in the metric source service.
.google.protobuf.Timestamp observation_time = 2;- Returns:
- Whether the observationTime field is set.
-
getObservationTime
com.google.protobuf.Timestamp getObservationTime()The time the metric was observed in the metric source service.
.google.protobuf.Timestamp observation_time = 2;- Returns:
- The observationTime.
-
getObservationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getObservationTimeOrBuilder()The time the metric was observed in the metric source service.
.google.protobuf.Timestamp observation_time = 2;
-