This file was automatically generated by
protoc-gen-elm
3.3.4protoc
4.22.2google/protobuf/struct.proto
To run it, add a dependency via elm install
on elm-protocol-buffers
version latest or higher.
The kind of value.
Represents a null value.
Represents a double value.
Represents a string value.
Represents a boolean value.
Represents a structured value.
Represents a repeated Value
.
boolValue : Basics.Bool -> Proto.Google.Protobuf.Internals_.ProtoGoogleProtobufValueKind__Kind
Construct a BoolValue and immediately turn it into an Internals_ data type. This is just (BoolValue >> toInternalKind
fromInternalKind : Proto.Google.Protobuf.Internals_.ProtoGoogleProtobufValueKind__Kind -> Kind
Convert the internal type Proto__Google__Protobuf__Value__Kind__Kind
into a Kind
.
Using two different types is necessary to avoid recursive module references while having readable constructor names.
listValue : Proto.Google.Protobuf.Internals_.ProtoGoogleProtobufListValue -> Proto.Google.Protobuf.Internals_.ProtoGoogleProtobufValueKindKind
Construct a ListValue and immediately turn it into an Internals_ data type. This is just (ListValue >> toInternalKind
nullValue : Proto.Google.Protobuf.Internals_.ProtoGoogleProtobufNullValue -> Proto.Google.Protobuf.Internals_.ProtoGoogleProtobufValueKindKind
Construct a NullValue and immediately turn it into an Internals_ data type. This is just (NullValue >> toInternalKind
numberValue : Basics.Float -> Proto.Google.Protobuf.Internals_.ProtoGoogleProtobufValueKind__Kind
Construct a NumberValue and immediately turn it into an Internals_ data type. This is just (NumberValue >> toInternalKind
stringValue : String -> Proto.Google.Protobuf.Internals_.ProtoGoogleProtobufValueKind__Kind
Construct a StringValue and immediately turn it into an Internals_ data type. This is just (StringValue >> toInternalKind
structValue : Proto.Google.Protobuf.Internals_.ProtoGoogleProtobufStruct -> Proto.Google.Protobuf.Internals_.ProtoGoogleProtobufValueKindKind
Construct a StructValue and immediately turn it into an Internals_ data type. This is just (StructValue >> toInternalKind
toInternalKind : Kind -> Proto.Google.Protobuf.Internals_.ProtoGoogleProtobufValueKind__Kind
Convert a Kind
into its internal representation Proto__Google__Protobuf__Value__Kind__Kind
.
Using two different types is necessary to avoid recursive module references while having readable constructor names.