Package io.opencensus.proto.metrics.v1
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 DistributionValuegetDistributionValue()A distribution value.DistributionValueOrBuildergetDistributionValueOrBuilder()A distribution value.doublegetDoubleValue()A 64-bit double-precision floating-point number.longgetInt64Value()A 64-bit integer.SummaryValuegetSummaryValue()A summary value.SummaryValueOrBuildergetSummaryValueOrBuilder()A summary value.com.google.protobuf.TimestampgetTimestamp()The moment when this point was recorded.com.google.protobuf.TimestampOrBuildergetTimestampOrBuilder()The moment when this point was recorded.Point.ValueCasegetValueCase()booleanhasDistributionValue()A distribution value.booleanhasDoubleValue()A 64-bit double-precision floating-point number.booleanhasInt64Value()A 64-bit integer.booleanhasSummaryValue()A summary value.booleanhasTimestamp()The moment when this point was recorded.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTimestamp
boolean hasTimestamp()
The moment when this point was recorded. Inclusive. If not specified, the timestamp will be decided by the backend.
.google.protobuf.Timestamp timestamp = 1;- Returns:
- Whether the timestamp field is set.
-
getTimestamp
com.google.protobuf.Timestamp getTimestamp()
The moment when this point was recorded. Inclusive. If not specified, the timestamp will be decided by the backend.
.google.protobuf.Timestamp timestamp = 1;- Returns:
- The timestamp.
-
getTimestampOrBuilder
com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
The moment when this point was recorded. Inclusive. If not specified, the timestamp will be decided by the backend.
.google.protobuf.Timestamp timestamp = 1;
-
hasInt64Value
boolean hasInt64Value()
A 64-bit integer.
int64 int64_value = 2;- Returns:
- Whether the int64Value field is set.
-
getInt64Value
long getInt64Value()
A 64-bit integer.
int64 int64_value = 2;- Returns:
- The int64Value.
-
hasDoubleValue
boolean hasDoubleValue()
A 64-bit double-precision floating-point number.
double double_value = 3;- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
double getDoubleValue()
A 64-bit double-precision floating-point number.
double double_value = 3;- Returns:
- The doubleValue.
-
hasDistributionValue
boolean hasDistributionValue()
A distribution value.
.opencensus.proto.metrics.v1.DistributionValue distribution_value = 4;- Returns:
- Whether the distributionValue field is set.
-
getDistributionValue
DistributionValue getDistributionValue()
A distribution value.
.opencensus.proto.metrics.v1.DistributionValue distribution_value = 4;- Returns:
- The distributionValue.
-
getDistributionValueOrBuilder
DistributionValueOrBuilder getDistributionValueOrBuilder()
A distribution value.
.opencensus.proto.metrics.v1.DistributionValue distribution_value = 4;
-
hasSummaryValue
boolean hasSummaryValue()
A summary value. This is not recommended, since it cannot be aggregated.
.opencensus.proto.metrics.v1.SummaryValue summary_value = 5;- Returns:
- Whether the summaryValue field is set.
-
getSummaryValue
SummaryValue getSummaryValue()
A summary value. This is not recommended, since it cannot be aggregated.
.opencensus.proto.metrics.v1.SummaryValue summary_value = 5;- Returns:
- The summaryValue.
-
getSummaryValueOrBuilder
SummaryValueOrBuilder getSummaryValueOrBuilder()
A summary value. This is not recommended, since it cannot be aggregated.
.opencensus.proto.metrics.v1.SummaryValue summary_value = 5;
-
getValueCase
Point.ValueCase getValueCase()
-
-