local types = import 'types.libsonnet';
types.google.protobuf.Value
.withBoolValue(false)
.withListValue(types.google.protobuf.ListValue)
.withNullValue(types.google.protobuf.NullValue.NULL_VALUE)
.withNumberValue(1)
.withStringValue('string')
.withStructValue(types.google.protobuf.Struct)
._validate()
| Name | Type | One-of group | Required | Constraints |
|---|---|---|---|---|
| bool_value | bool | kind |
|
|
| list_value | google.protobuf.ListValue | kind |
|
|
| null_value | google.protobuf.NullValue | kind |
|
|
| number_value | double | kind |
|
|
| string_value | string | kind |
|
|
| struct_value | google.protobuf.Struct | kind |
|