Package io.opentelemetry.proto.common.v1
Interface AnyValueOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnyValue,AnyValue.Builder
public interface AnyValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.opentelemetry.proto.common.v1.ArrayValue array_value = 5;.opentelemetry.proto.common.v1.ArrayValue array_value = 5;booleanbool bool_value = 2;com.google.protobuf.ByteStringbytes bytes_value = 7;doubledouble double_value = 4;longint64 int_value = 3;.opentelemetry.proto.common.v1.KeyValueList kvlist_value = 6;.opentelemetry.proto.common.v1.KeyValueList kvlist_value = 6;string string_value = 1;com.google.protobuf.ByteStringstring string_value = 1;boolean.opentelemetry.proto.common.v1.ArrayValue array_value = 5;booleanbool bool_value = 2;booleanbytes bytes_value = 7;booleandouble double_value = 4;booleanint64 int_value = 3;boolean.opentelemetry.proto.common.v1.KeyValueList kvlist_value = 6;booleanstring string_value = 1;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
-
hasStringValue
boolean hasStringValue()string string_value = 1;- Returns:
- Whether the stringValue field is set.
-
getStringValue
String getStringValue()string string_value = 1;- Returns:
- The stringValue.
-
getStringValueBytes
com.google.protobuf.ByteString getStringValueBytes()string string_value = 1;- Returns:
- The bytes for stringValue.
-
hasBoolValue
boolean hasBoolValue()bool bool_value = 2;- Returns:
- Whether the boolValue field is set.
-
getBoolValue
boolean getBoolValue()bool bool_value = 2;- Returns:
- The boolValue.
-
hasIntValue
boolean hasIntValue()int64 int_value = 3;- Returns:
- Whether the intValue field is set.
-
getIntValue
long getIntValue()int64 int_value = 3;- Returns:
- The intValue.
-
hasDoubleValue
boolean hasDoubleValue()double double_value = 4;- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
double getDoubleValue()double double_value = 4;- Returns:
- The doubleValue.
-
hasArrayValue
boolean hasArrayValue().opentelemetry.proto.common.v1.ArrayValue array_value = 5;- Returns:
- Whether the arrayValue field is set.
-
getArrayValue
ArrayValue getArrayValue().opentelemetry.proto.common.v1.ArrayValue array_value = 5;- Returns:
- The arrayValue.
-
getArrayValueOrBuilder
ArrayValueOrBuilder getArrayValueOrBuilder().opentelemetry.proto.common.v1.ArrayValue array_value = 5; -
hasKvlistValue
boolean hasKvlistValue().opentelemetry.proto.common.v1.KeyValueList kvlist_value = 6;- Returns:
- Whether the kvlistValue field is set.
-
getKvlistValue
KeyValueList getKvlistValue().opentelemetry.proto.common.v1.KeyValueList kvlist_value = 6;- Returns:
- The kvlistValue.
-
getKvlistValueOrBuilder
KeyValueListOrBuilder getKvlistValueOrBuilder().opentelemetry.proto.common.v1.KeyValueList kvlist_value = 6; -
hasBytesValue
boolean hasBytesValue()bytes bytes_value = 7;- Returns:
- Whether the bytesValue field is set.
-
getBytesValue
com.google.protobuf.ByteString getBytesValue()bytes bytes_value = 7;- Returns:
- The bytesValue.
-
getValueCase
AnyValue.ValueCase getValueCase()
-