Package io.opentelemetry.proto.common.v1
Interface KeyValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KeyValue,KeyValue.Builder
public interface KeyValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()string key = 1;com.google.protobuf.ByteStringgetKeyBytes()string key = 1;AnyValuegetValue().opentelemetry.proto.common.v1.AnyValue value = 2;AnyValueOrBuildergetValueOrBuilder().opentelemetry.proto.common.v1.AnyValue value = 2;booleanhasValue().opentelemetry.proto.common.v1.AnyValue value = 2;-
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()
string key = 1;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
string key = 1;- Returns:
- The bytes for key.
-
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;
-
-