Home

opentelemetry.proto.common.v1.AnyValue

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.opentelemetry.proto.common.v1.AnyValue
.withArrayValue(types.opentelemetry.proto.common.v1.ArrayValue)
.withBoolValue(false)
.withBytesValue('c3RyaW5n')
.withDoubleValue(1)
.withIntValue(1)
.withKvlistValue(types.opentelemetry.proto.common.v1.KeyValueList)
.withStringValue('string')
._validate()

Fields

Name Type One-of group Required Constraints
array_value opentelemetry.proto.common.v1.ArrayValue value  
bool_value bool value  
bytes_value bytes value  
double_value double value  
int_value int64 value  
kvlist_value opentelemetry.proto.common.v1.KeyValueList value  
string_value string value