Interface KeyValueAndUnitOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KeyValueAndUnit,KeyValueAndUnit.Builder
@Generated
public interface KeyValueAndUnitOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintint32 key_strindex = 1;intzero indicates implicit (by semconv) or non-defined unit.getValue().opentelemetry.proto.common.v1.AnyValue value = 2;.opentelemetry.proto.common.v1.AnyValue value = 2;booleanhasValue().opentelemetry.proto.common.v1.AnyValue value = 2;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
-
getKeyStrindex
int getKeyStrindex()int32 key_strindex = 1;- Returns:
- The keyStrindex.
-
hasValue
boolean hasValue().opentelemetry.proto.common.v1.AnyValue value = 2;- Returns:
- Whether the value field is set.
-
getValue
AnyValue getValue().opentelemetry.proto.common.v1.AnyValue value = 2;- Returns:
- The value.
-
getValueOrBuilder
AnyValueOrBuilder getValueOrBuilder().opentelemetry.proto.common.v1.AnyValue value = 2; -
getUnitStrindex
int getUnitStrindex()zero indicates implicit (by semconv) or non-defined unit.
int32 unit_strindex = 3;- Returns:
- The unitStrindex.
-