Interface PointOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Point, Point.Builder

    public interface PointOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      TimeInterval getInterval()
      The time interval to which the data point applies.
      TimeIntervalOrBuilder getIntervalOrBuilder()
      The time interval to which the data point applies.
      TypedValue getValue()
      The value of the data point.
      TypedValueOrBuilder getValueOrBuilder()
      The value of the data point.
      boolean hasInterval()
      The time interval to which the data point applies.
      boolean hasValue()
      The value of the data point.
      • 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 Detail

      • hasInterval

        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:
        Whether the interval field is set.
      • getInterval

        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:
        The interval.
      • getIntervalOrBuilder

        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;
      • hasValue

        boolean hasValue()
         The value of the data point.
         
        .google.monitoring.v3.TypedValue value = 2;
        Returns:
        Whether the value field is set.
      • getValue

        TypedValue getValue()
         The value of the data point.
         
        .google.monitoring.v3.TypedValue value = 2;
        Returns:
        The value.
      • getValueOrBuilder

        TypedValueOrBuilder getValueOrBuilder()
         The value of the data point.
         
        .google.monitoring.v3.TypedValue value = 2;