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 Type
    Method
    Description
    com.google.protobuf.Timestamp
    The time the metric was observed in the metric source service.
    com.google.protobuf.TimestampOrBuilder
    The time the metric was observed in the metric source service.
    The value associated with the metric.
    The value associated with the metric.
    boolean
    The time the metric was observed in the metric source service.
    boolean
    The value associated with the metric.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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;