Package prometheus
Interface Types.MetricMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Types.MetricMetadata,Types.MetricMetadata.Builder
- Enclosing class:
- Types
public static interface Types.MetricMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetHelp()string help = 4;com.google.protobuf.ByteStringstring help = 4;string metric_family_name = 2;com.google.protobuf.ByteStringstring metric_family_name = 2;getType()Represents the metric type, these match the set from Prometheus.intRepresents the metric type, these match the set from Prometheus.getUnit()string unit = 5;com.google.protobuf.ByteStringstring unit = 5;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
-
getTypeValue
int getTypeValue()Represents the metric type, these match the set from Prometheus. Refer to github.com/prometheus/common/model/metadata.go for details.
.prometheus.MetricMetadata.MetricType type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
Types.MetricMetadata.MetricType getType()Represents the metric type, these match the set from Prometheus. Refer to github.com/prometheus/common/model/metadata.go for details.
.prometheus.MetricMetadata.MetricType type = 1;- Returns:
- The type.
-
getMetricFamilyName
String getMetricFamilyName()string metric_family_name = 2;- Returns:
- The metricFamilyName.
-
getMetricFamilyNameBytes
com.google.protobuf.ByteString getMetricFamilyNameBytes()string metric_family_name = 2;- Returns:
- The bytes for metricFamilyName.
-
getHelp
String getHelp()string help = 4;- Returns:
- The help.
-
getHelpBytes
com.google.protobuf.ByteString getHelpBytes()string help = 4;- Returns:
- The bytes for help.
-
getUnit
String getUnit()string unit = 5;- Returns:
- The unit.
-
getUnitBytes
com.google.protobuf.ByteString getUnitBytes()string unit = 5;- Returns:
- The bytes for unit.
-