- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Pvalue.TimeSeries.Sample,Pvalue.TimeSeries.Sample.Builder
- Enclosing class:
- Pvalue.TimeSeries
public static interface Pvalue.TimeSeries.SampleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetAvg()Average numeric value during the sample interval.doublegetMax()Maximum numeric value during the sample interval.com.google.protobuf.TimestampGeneration time of the ``max`` value.com.google.protobuf.TimestampOrBuilderGeneration time of the ``max`` value.doublegetMin()Minimum numeric value during the sample interval.com.google.protobuf.TimestampGeneration time of the ``min`` value.com.google.protobuf.TimestampOrBuilderGeneration time of the ``min`` value.intgetN()Number of samples during the sample interval.com.google.protobuf.TimestampgetTime()Start time of the sample interval.com.google.protobuf.TimestampOrBuilderStart time of the sample interval.Deprecated.com.google.protobuf.ByteStringDeprecated.booleanhasAvg()Average numeric value during the sample interval.booleanhasMax()Maximum numeric value during the sample interval.booleanGeneration time of the ``max`` value.booleanhasMin()Minimum numeric value during the sample interval.booleanGeneration time of the ``min`` value.booleanhasN()Number of samples during the sample interval.booleanhasTime()Start time of the sample interval.booleanDeprecated.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
-
hasTimeString
Deprecated.Start time of the sample interval. Use ``time`` instead. The ``timeString`` field is temporarily kept for binary compatibility with protobuf-based clients.
optional string timeString = 1 [deprecated = true];- Returns:
- Whether the timeString field is set.
-
getTimeString
Deprecated.Start time of the sample interval. Use ``time`` instead. The ``timeString`` field is temporarily kept for binary compatibility with protobuf-based clients.
optional string timeString = 1 [deprecated = true];- Returns:
- The timeString.
-
getTimeStringBytes
Deprecated.Start time of the sample interval. Use ``time`` instead. The ``timeString`` field is temporarily kept for binary compatibility with protobuf-based clients.
optional string timeString = 1 [deprecated = true];- Returns:
- The bytes for timeString.
-
hasTime
boolean hasTime()Start time of the sample interval.
optional .google.protobuf.Timestamp time = 6;- Returns:
- Whether the time field is set.
-
getTime
com.google.protobuf.Timestamp getTime()Start time of the sample interval.
optional .google.protobuf.Timestamp time = 6;- Returns:
- The time.
-
getTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()Start time of the sample interval.
optional .google.protobuf.Timestamp time = 6; -
hasAvg
boolean hasAvg()Average numeric value during the sample interval.
optional double avg = 2;- Returns:
- Whether the avg field is set.
-
getAvg
double getAvg()Average numeric value during the sample interval.
optional double avg = 2;- Returns:
- The avg.
-
hasMin
boolean hasMin()Minimum numeric value during the sample interval.
optional double min = 3;- Returns:
- Whether the min field is set.
-
getMin
double getMin()Minimum numeric value during the sample interval.
optional double min = 3;- Returns:
- The min.
-
hasMax
boolean hasMax()Maximum numeric value during the sample interval.
optional double max = 4;- Returns:
- Whether the max field is set.
-
getMax
double getMax()Maximum numeric value during the sample interval.
optional double max = 4;- Returns:
- The max.
-
hasN
boolean hasN()Number of samples during the sample interval. If this value is zero, it indicates a gap.
optional int32 n = 5;- Returns:
- Whether the n field is set.
-
getN
int getN()Number of samples during the sample interval. If this value is zero, it indicates a gap.
optional int32 n = 5;- Returns:
- The n.
-
hasMinTime
boolean hasMinTime()Generation time of the ``min`` value.
optional .google.protobuf.Timestamp minTime = 7;- Returns:
- Whether the minTime field is set.
-
getMinTime
com.google.protobuf.Timestamp getMinTime()Generation time of the ``min`` value.
optional .google.protobuf.Timestamp minTime = 7;- Returns:
- The minTime.
-
getMinTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getMinTimeOrBuilder()Generation time of the ``min`` value.
optional .google.protobuf.Timestamp minTime = 7; -
hasMaxTime
boolean hasMaxTime()Generation time of the ``max`` value.
optional .google.protobuf.Timestamp maxTime = 8;- Returns:
- Whether the maxTime field is set.
-
getMaxTime
com.google.protobuf.Timestamp getMaxTime()Generation time of the ``max`` value.
optional .google.protobuf.Timestamp maxTime = 8;- Returns:
- The maxTime.
-
getMaxTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getMaxTimeOrBuilder()Generation time of the ``max`` value.
optional .google.protobuf.Timestamp maxTime = 8;
-