hydra-0.15.0: src/main/haskell/Hydra/Protobuf/Any.hs
-- Note: this is an automatically generated file. Do not edit.
-- | Based on https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/any.proto
module Hydra.Protobuf.Any where
import qualified Hydra.Core as Core
import Prelude hiding (Enum, Ordering, decodeFloat, encodeFloat, fail, map, pure, sum)
import qualified Data.Scientific as Sci
import qualified Data.ByteString as B
-- | `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
data Any =
Any {
-- | A URL/resource name that uniquely identifies the type of the serialized protocol buffer message.
anyTypeUrl :: String,
-- | Must be a valid serialized protocol buffer of the above specified type.
anyValue :: B.ByteString}
deriving (Eq, Ord, Read, Show)
_Any = Core.Name "hydra.protobuf.any.Any"
_Any_typeUrl = Core.Name "typeUrl"
_Any_value = Core.Name "value"