Package io.opencensus.proto.metrics.v1
Interface LabelKeyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LabelKey,LabelKey.Builder
public interface LabelKeyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()A human-readable description of what this label key represents.com.google.protobuf.ByteStringgetDescriptionBytes()A human-readable description of what this label key represents.StringgetKey()The key for the label.com.google.protobuf.ByteStringgetKeyBytes()The key for the label.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKey
String getKey()
The key for the label.
string key = 1;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
The key for the label.
string key = 1;- Returns:
- The bytes for key.
-
getDescription
String getDescription()
A human-readable description of what this label key represents.
string description = 2;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
A human-readable description of what this label key represents.
string description = 2;- Returns:
- The bytes for description.
-
-