Package io.opencensus.proto.stats.v1
Interface MeasurementOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Measurement,Measurement.Builder
public interface MeasurementOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetDoubleValue()double double_value = 3;longgetIntValue()int64 int_value = 4;StringgetMeasureName()The name of the measure to which the value is applied.com.google.protobuf.ByteStringgetMeasureNameBytes()The name of the measure to which the value is applied.TaggetTags(int index)repeated .opencensus.proto.stats.v1.Tag tags = 1;intgetTagsCount()repeated .opencensus.proto.stats.v1.Tag tags = 1;List<Tag>getTagsList()repeated .opencensus.proto.stats.v1.Tag tags = 1;TagOrBuildergetTagsOrBuilder(int index)repeated .opencensus.proto.stats.v1.Tag tags = 1;List<? extends TagOrBuilder>getTagsOrBuilderList()repeated .opencensus.proto.stats.v1.Tag tags = 1;com.google.protobuf.TimestampgetTime()The time when this measurement was recorded.com.google.protobuf.TimestampOrBuildergetTimeOrBuilder()The time when this measurement was recorded.Measurement.ValueCasegetValueCase()booleanhasDoubleValue()double double_value = 3;booleanhasIntValue()int64 int_value = 4;booleanhasTime()The time when this measurement was recorded.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTags
Tag getTags(int index)
repeated .opencensus.proto.stats.v1.Tag tags = 1;
-
getTagsCount
int getTagsCount()
repeated .opencensus.proto.stats.v1.Tag tags = 1;
-
getTagsOrBuilderList
List<? extends TagOrBuilder> getTagsOrBuilderList()
repeated .opencensus.proto.stats.v1.Tag tags = 1;
-
getTagsOrBuilder
TagOrBuilder getTagsOrBuilder(int index)
repeated .opencensus.proto.stats.v1.Tag tags = 1;
-
getMeasureName
String getMeasureName()
The name of the measure to which the value is applied.
string measure_name = 2;- Returns:
- The measureName.
-
getMeasureNameBytes
com.google.protobuf.ByteString getMeasureNameBytes()
The name of the measure to which the value is applied.
string measure_name = 2;- Returns:
- The bytes for measureName.
-
hasDoubleValue
boolean hasDoubleValue()
double double_value = 3;- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
double getDoubleValue()
double double_value = 3;- Returns:
- The doubleValue.
-
hasIntValue
boolean hasIntValue()
int64 int_value = 4;- Returns:
- Whether the intValue field is set.
-
getIntValue
long getIntValue()
int64 int_value = 4;- Returns:
- The intValue.
-
hasTime
boolean hasTime()
The time when this measurement was recorded. If the implementation uses a async buffer to record measurements this may be the time when the measurement was read from the buffer.
.google.protobuf.Timestamp time = 5;- Returns:
- Whether the time field is set.
-
getTime
com.google.protobuf.Timestamp getTime()
The time when this measurement was recorded. If the implementation uses a async buffer to record measurements this may be the time when the measurement was read from the buffer.
.google.protobuf.Timestamp time = 5;- Returns:
- The time.
-
getTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
The time when this measurement was recorded. If the implementation uses a async buffer to record measurements this may be the time when the measurement was read from the buffer.
.google.protobuf.Timestamp time = 5;
-
getValueCase
Measurement.ValueCase getValueCase()
-
-