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
@Generated
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;intReference to the string value in ProfilesDictionary.string_table.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;booleanReference to the string value in ProfilesDictionary.string_table.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.
-
hasStringValueStrindex
boolean hasStringValueStrindex()Reference to the string value in ProfilesDictionary.string_table. Note: This is currently used exclusively in the Profiling signal. Implementers of OTLP receivers for signals other than Profiling should treat the presence of this value as a non-fatal issue. Log an error or warning indicating an unexpected field intended for the Profiling signal and process the data as if this value were absent or empty, ignoring its semantic content for the non-Profiling signal. Status: [Development]
int32 string_value_strindex = 8;- Returns:
- Whether the stringValueStrindex field is set.
-
getStringValueStrindex
int getStringValueStrindex()Reference to the string value in ProfilesDictionary.string_table. Note: This is currently used exclusively in the Profiling signal. Implementers of OTLP receivers for signals other than Profiling should treat the presence of this value as a non-fatal issue. Log an error or warning indicating an unexpected field intended for the Profiling signal and process the data as if this value were absent or empty, ignoring its semantic content for the non-Profiling signal. Status: [Development]
int32 string_value_strindex = 8;- Returns:
- The stringValueStrindex.
-
getValueCase
AnyValue.ValueCase getValueCase()
-