Package io.opencensus.proto.metrics.v1
Interface SummaryValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SummaryValue,SummaryValue.Builder
public interface SummaryValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Int64ValuegetCount()The total number of recorded values since start_time.com.google.protobuf.Int64ValueOrBuildergetCountOrBuilder()The total number of recorded values since start_time.SummaryValue.SnapshotgetSnapshot()Values calculated over an arbitrary time window.SummaryValue.SnapshotOrBuildergetSnapshotOrBuilder()Values calculated over an arbitrary time window.com.google.protobuf.DoubleValuegetSum()The total sum of recorded values since start_time.com.google.protobuf.DoubleValueOrBuildergetSumOrBuilder()The total sum of recorded values since start_time.booleanhasCount()The total number of recorded values since start_time.booleanhasSnapshot()Values calculated over an arbitrary time window.booleanhasSum()The total sum of recorded values since start_time.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCount
boolean hasCount()
The total number of recorded values since start_time. Optional since some systems don't expose this.
.google.protobuf.Int64Value count = 1;- Returns:
- Whether the count field is set.
-
getCount
com.google.protobuf.Int64Value getCount()
The total number of recorded values since start_time. Optional since some systems don't expose this.
.google.protobuf.Int64Value count = 1;- Returns:
- The count.
-
getCountOrBuilder
com.google.protobuf.Int64ValueOrBuilder getCountOrBuilder()
The total number of recorded values since start_time. Optional since some systems don't expose this.
.google.protobuf.Int64Value count = 1;
-
hasSum
boolean hasSum()
The total sum of recorded values since start_time. Optional since some systems don't expose this. If count is zero then this field must be zero. This field must be unset if the sum is not available.
.google.protobuf.DoubleValue sum = 2;- Returns:
- Whether the sum field is set.
-
getSum
com.google.protobuf.DoubleValue getSum()
The total sum of recorded values since start_time. Optional since some systems don't expose this. If count is zero then this field must be zero. This field must be unset if the sum is not available.
.google.protobuf.DoubleValue sum = 2;- Returns:
- The sum.
-
getSumOrBuilder
com.google.protobuf.DoubleValueOrBuilder getSumOrBuilder()
The total sum of recorded values since start_time. Optional since some systems don't expose this. If count is zero then this field must be zero. This field must be unset if the sum is not available.
.google.protobuf.DoubleValue sum = 2;
-
hasSnapshot
boolean hasSnapshot()
Values calculated over an arbitrary time window.
.opencensus.proto.metrics.v1.SummaryValue.Snapshot snapshot = 3;- Returns:
- Whether the snapshot field is set.
-
getSnapshot
SummaryValue.Snapshot getSnapshot()
Values calculated over an arbitrary time window.
.opencensus.proto.metrics.v1.SummaryValue.Snapshot snapshot = 3;- Returns:
- The snapshot.
-
getSnapshotOrBuilder
SummaryValue.SnapshotOrBuilder getSnapshotOrBuilder()
Values calculated over an arbitrary time window.
.opencensus.proto.metrics.v1.SummaryValue.Snapshot snapshot = 3;
-
-